Commit Graph
1932 Commits
Author SHA1 Message Date
lotodore 6269b94db1 Properly restarting lobby timers. 2009-06-12 16:04:58 +00:00
lotodore 3b25e18fde Rewriting boost asio timer stuff. (Did I mention I dislike the asio "cancel" semantics?!). TimerManager is no longer used. Should be stable now, but might leak some memory (needs further testing). 2009-06-12 15:48:34 +00:00
lotodore a33d9b7c3b Trying to fix strange timer crashes. 2009-06-09 23:04:04 +00:00
lotodore 71e9c35ff2 Adding missing file. 2009-06-08 21:56:27 +00:00
lotodore 938d13e31a Send all available data in one chunk within the send handler. This improves speed. 2009-06-08 21:54:24 +00:00
lotodore e53c60c263 Creating a new asio timer instead of reusing the old one. Reusing leads to strange crashes. Whoever invented the semantics of the asio timer obviously did not consider the need to restart a timer within the handler. Oh well. The asio timer service also seems to sleep all the time (not using up 100% load if timeout of all timeouts are 0). Pending further tests, asio timers might be unsuitable. 2009-06-08 21:53:14 +00:00
lotodore c8594e8e7b Canceling asio timers has bad semantics, and causes loads of trouble. Therefore, cancelled timers are simply marked as such, and the asio callback is silently ignored. This fixes several crashes, if players were removed from a game due to an error, because some timers were not cancelled. *sigh* This one took a lot of nerve. 2009-06-07 23:25:13 +00:00
doitux a6146399d4 readd disable startsplash option 2009-06-07 20:23:06 +00:00
doitux 1aad2b7290 disable remove button for pokerth distributed styles 2009-06-07 12:01:47 +00:00
lotodore 5f3369432a Rewriting sender yet again to fit the new asio design. Polling for new send data is no longer needed, this also reduces lag. 2009-06-07 08:51:43 +00:00
doitux 9e50969bdc missing files fix 2009-06-05 20:18:20 +00:00
doitux c3f1654497 case insensitive sorting for style lists 2009-06-05 19:36:07 +00:00
doitux b88555ecd5 alphabetical order for styles lists 2009-06-05 15:41:06 +00:00
lotodore 55bd832955 Fixed network game termination. 2009-06-04 22:13:52 +00:00
lotodore 8005cc82c6 Fixed server termination crash. However, network games are still not properly terminated. 2009-06-04 20:37:18 +00:00
lotodore 47648392fb Use boost::asio timer callbacks instead of self-made ones. There are still some termination issues (terminating a network game will result in a crash). However, it should be quite effective now with a large number of users. 2009-06-01 19:49:16 +00:00
lotodore cee2d787d0 Adding some error handling. Some is still missing. 2009-06-01 10:23:44 +00:00
lotodore 24abedbbab Renaming class ServerGameThread to ServerGame. 2009-05-31 20:14:46 +00:00
lotodore f2bd0c6111 ServerGameThread is no longer a thread. 2009-05-31 19:45:20 +00:00
lotodore b48209a5e4 Termination of games is now working. Error handling is still missing in some cases, and it is very slow if there are a lot of players, but other than that all is fine :-). 2009-05-31 19:11:59 +00:00
lotodore fab224c8ad Fixing some timer problems. Starting an internet game now works again. There are still some issues: Games are never terminated, and error handling is not implemented (errors will terminate the server). 2009-05-31 13:47:10 +00:00
lotodore 59358bff0e Fixed server crash when trying to start a game. Server is still broken, though... 2009-05-31 13:17:02 +00:00
doitux ef04130999 closeable waitingforstartgame dialog under macosx 2009-05-31 13:13:29 +00:00
lotodore 2952f0b85d Fixing some compiler warnings and single-threaded game issues. Note: The server currently crashes when trying to start a game. 2009-05-31 11:00:33 +00:00
lotodore 08ed5e0496 Almost complete rewrite of server game state due to porting the network engine to asio. Server is still broken in a lot of ways. A game is no longer run in a separate thread (but this change is still incomplete). 2009-05-30 22:20:40 +00:00
doitux 1ac6d2cd23 0.7.1-svn string added 2009-05-30 21:23:22 +00:00
doitux a0d5cde591 removed the activate button in style settings. selected item in the
lists will be activated automatically
2009-05-30 21:06:03 +00:00
doitux 56130328e4 change some settings strings like mentioned in the forum 2009-05-26 22:30:46 +00:00
doitux 32d2528590 settingsdialog bugfix 2009-05-26 21:52:05 +00:00
doitux dd89b0ae21 settings dialog changes for better translation fitting 2009-05-26 17:37:41 +00:00
doitux 492939cccf qt 4.5.1 startwindow font-lenght fixes. localized cash value bugfix 2009-05-24 13:30:10 +00:00
doitux 97246d347e auto activate new styles after adding; new toolbox background for better
readable speed string
2009-05-21 22:40:16 +00:00
doitux c51e746579 qt background fixes 2009-05-19 10:43:54 +00:00
doitux b677da1ae6 gametable adjustments for 1.000.000 number style. transparent menubars. 2009-05-13 09:31:13 +00:00
lotodore 41ab1ff83d Clarifying the usage of banip. 2009-05-12 20:25:31 +00:00
lotodore 47a9fc9588 Typo fixes. 2009-05-12 20:23:47 +00:00
lotodore d68827c606 Updating server irc commands. 2009-05-12 20:19:39 +00:00
lotodore 22720a83f2 Small project file fixes. 2009-05-10 22:34:07 +00:00
lotodore 8ab2fed1a2 More restructuring. Still broken. 2009-05-10 22:21:20 +00:00
lotodore 2541f28ff2 Sender thread is no longer a thread (part of boost::asio integration). Warning: Network games are still broken! 2009-05-10 17:53:37 +00:00
lotodore d258bc25d0 Server accept thread is no longer a thread. 2009-05-10 14:57:51 +00:00
lotodore ac4c2e9aef Integrating precompiled headers support (might speed up compilation). Currently disabled (in .pro files). 2009-05-07 22:36:51 +00:00
lotodore e813c49fe5 Changing windows build to boost 1.39 with mingw gcc 4.4. Windows build system needs update. 2009-05-06 21:24:14 +00:00
lotodore d7ca4d67b5 Fixing compiler errors. Still broken in terms of network functionality. 2009-05-06 21:09:58 +00:00
lotodore 411ede3500 Updated windows build script, now using:
- tdm mingw gcc 4.4
- Qt 4.5.1
- boost 1.39
+ other minor updates.
Update of build tool still pending. The script will be changed to retrieve a stable revision instead of HEAD.
2009-05-04 23:14:07 +00:00
lotodore 60b5d45c53 Adopting changes from asio branch. Currently broken. 2009-05-04 21:11:29 +00:00
doitux a65934e2a5 macox fixes 2009-05-03 19:16:05 +00:00
doitux 5a3766aa75 macox fixes 2009-05-03 19:06:51 +00:00
doitux 3ad8bef2e0 changelog for 0.7 final. 2009-05-03 18:41:11 +00:00
doitux 3adca957a1 last translation update for 0.7 2009-05-03 18:20:29 +00:00