Commit Graph
2346 Commits
Author SHA1 Message Date
floty 6ccd1d0d0e sqlite-log: transmitting some functions to cardsValue for logging hole cards 2011-03-20 22:16:57 +00:00
lotodore 16ca90621e Fixing template typo. 2011-03-14 20:08:10 +00:00
lotodore c877e0ef74 Remove libircclient from client (pokerth_game no longer depends on it). 2011-03-11 21:56:24 +00:00
lotodore c47e74d427 Removing libircclient from third_party. 2011-03-11 02:06:29 +00:00
lotodore 13c9517d98 Removing use of internal libircclient, use external lib. 2011-03-11 01:43:21 +00:00
lotodore 95305e7ba5 Each network session now has a weak ptr to its game, to prevent looking up the game id all the time. 2011-03-10 21:53:25 +00:00
lotodore 9b9a921867 Removing SessionWrapper to prepare rejoin. This also improves dispatching network packets. 2011-03-10 20:55:46 +00:00
lotodore 07b448cf34 Running astyle. 2011-03-10 19:27:15 +00:00
lotodore 5857f07309 Remove reference to network session from player objects. 2011-03-10 19:26:04 +00:00
lotodore 4ec5f4eae9 Removing dependency to gnutls, only gcrypt is required now. 2011-03-08 18:42:57 +00:00
lotodore 629ec5929d Limiting total number of sessions to prevent hitting the file descriptor ulimit. 2011-03-07 20:54:55 +00:00
floty e74d0fbf47 implementing pair for level-list 2011-03-06 15:22:13 +00:00
floty 2032ccaec9 fixing Ticket #61 by limiting small Blind; highestSet and minimumRaise should thus limited too 2011-03-06 13:22:52 +00:00
doitux bf687e924f add country flag name tooltip in lobby dialog (Ticket #9) 2011-03-05 22:08:57 +00:00
doitux df66625b96 Possible fix for Ticket #59 2011-03-05 21:42:52 +00:00
doitux 62da7257d5 implement new "open stats page" context menu (ticket #63) 2011-03-05 21:20:08 +00:00
lotodore 5122c26f8a Cleaning up compatibility stuff of very old boost versions. 2011-03-05 12:26:55 +00:00
doitux 9b8e250876 ticket #6 implemented (new filter for ranking games in the lobby). Testing needed 2011-03-04 21:03:42 +00:00
lotodore 5144690bee Hacking around memory leak. 2011-03-01 09:07:39 +00:00
lotodore 14d951243b Fixing more implicit memory leaks to make it easier to look for the serious ones. 2011-02-28 23:47:33 +00:00
lotodore beb18d32b9 Fixing implicit memory leaks. 2011-02-28 23:06:23 +00:00
lotodore 6f290be894 Removing several unnecessary allocations. 2011-02-28 22:05:44 +00:00
lotodore a87a12e8b0 Remove unnecessary allocation. 2011-02-28 21:19:04 +00:00
lotodore 2ad5f1cb40 Fixing possible memory leak and compiler warnings. 2011-02-28 19:59:14 +00:00
lotodore 2cd2ac57ca Fixing cppcheck issue and compiler warning. 2011-02-28 18:29:57 +00:00
lotodore b78dc5af75 Making list iterator standard conforming. 2011-02-28 17:12:55 +00:00
lotodore 3b3ca6339e Cosmetic changes. 2011-02-27 22:05:15 +00:00
lotodore 9e425136f1 Adding new types of random number generators: 1. shuffle a list non-deterministic (not the default shuffle) 2. get random numbers of a range 3. get random numbers of a range, without duplicates (the latest based on floty's idea). Note that the existing random number works quite well, the new approach uses boost::random and is more flexible if other distributions are needed for the AI.
The code is currently disabled due to link problems on debian/ubuntu (boost::random seems to be missing there).
2011-02-27 21:54:43 +00:00
floty 9c2dc64fbd sqlite-log: deleting unused parameters and implementing logging board cards 2011-02-27 16:34:39 +00:00
lotodore 22718fad46 Improving load test tool. 2011-02-27 13:40:55 +00:00
floty 1f833d106a sqlite-log: implementing action logging 2011-02-27 00:03:39 +00:00
lotodore 63b28d7167 Running astyle. 2011-02-26 10:09:45 +00:00
floty e17b5fa74e sqlite-log: complete new hand log 2011-02-25 21:21:36 +00:00
lotodore 9264aa86eb Fixing cppcheck issue. Adding parameter to set first player name. 2011-02-25 17:10:02 +00:00
lotodore b2e0d7c719 Adding load test tool. 2011-02-24 23:51:58 +00:00
lotodore 787f8d4d81 Fixing client error messages. 2011-02-23 09:53:01 +00:00
lotodore bbe0a19340 Preparing integration of SCTP support (again). Note that server error messages are currently broken. 2011-02-22 21:53:56 +00:00
lotodore 5730cd321d Rewriting network receive functions. This is still work in progress to make it more efficient. 2011-02-19 23:47:24 +00:00
lotodore 0618dbd74e Rename SendDataManager to SendBuffer, which is a clear and proper name. (Part 2: File names) 2011-02-19 18:18:00 +00:00
lotodore d3d16b8f4c Rename SendDataManager to SendBuffer, which is a clear and proper name. 2011-02-19 17:55:21 +00:00
lotodore b824b8beb7 Moving send buf limitation to its proper place. 2011-02-19 15:19:50 +00:00
lotodore f7315cd9e5 Improving possible multithreading in new send code. 2011-02-19 15:01:50 +00:00
lotodore 8279868417 Further simplifying sending network data. This improves performance, because sending sessions no longer need to be looked up in a map. 2011-02-19 13:56:49 +00:00
lotodore a69c248d1c Running astyle. 2011-02-18 20:14:16 +00:00
lotodore db3fa66ec5 Place new send code in a separate class, and use it also for the chat cleaner communication. Data class "encoded packet" is no longer used, it was overhead. 2011-02-18 19:22:44 +00:00
lotodore 46a136bc8b Tremendously improving the speed of the network send code (ticket #52). The code has also been simplified, and uses some kind of double buffering as in graphics programming. There are now a lot less memory allocations and a lot less copying. However, memory usage is also increased. 2011-02-18 18:36:30 +00:00
lotodore 84be9c62a8 Polishing chat and adding test cases for different chat messages. 2011-02-18 13:39:22 +00:00
lotodore e5b9b29564 Adding chat reject message if chat is tried to be sent in an invalid state. Otherwise testing won't work. 2011-02-17 23:57:58 +00:00
lotodore dafd78c578 Fixing player counter - only count sessions which are established (after login). Send number of players in announce message. (Bug found through test case.) 2011-02-13 17:24:40 +00:00
lotodore c4b8e567ed Implementing private messages in lobby chat, ticket #12. Some cosmetic improvements are still missing. 2011-02-11 23:02:29 +00:00