Commit Graph
100 Commits
Author SHA1 Message Date
sqlcoder d2cf8e9bc9 attempt at making system tray icon go away when quitting 2009-10-26 22:26:22 +00:00
sqlcoder fabec1604a stop warnings when importing from fpdb.py 2009-10-26 21:59:41 +00:00
sqlcoder 6b280d7db9 stop warning message from set_cell_data_func 2009-10-26 21:38:04 +00:00
sqlcoder da64e336d7 allow sorts on both grids 2009-10-26 21:12:57 +00:00
sqlcoder a87bcbb43a allow sort on all cols, tidy up some more details 2009-10-26 08:38:45 +00:00
sqlcoder 69b3c5a339 improve sorting but still not quite working right 2009-10-26 00:33:33 +00:00
sqlcoder b1d65dbadd default all values in hud_params when not passed into get_stats_from_hand 2009-10-24 20:01:24 +01:00
sqlcoder d39a34686e tidy up main() output 2009-10-24 12:41:51 +01:00
sqlcoder 11f50765c9 fix main 2009-10-24 12:16:26 +01:00
sqlcoder 6a029ccfa7 comment out debug statement 2009-10-19 00:36:31 +01:00
sqlcoder 2c7a853b3f keep heading on screen when scrolling stats windows 2009-10-19 00:36:08 +01:00
sqlcoder 35cc1b1314 fix mysql code for new stats options 2009-10-19 00:15:11 +01:00
sqlcoder 4b7aadd325 fix starting hand order 2009-10-18 23:19:26 +01:00
sqlcoder c1a998b7d8 add all player (and min hands) ability to stats window 2009-10-18 22:56:10 +01:00
sqlcoder 6453154ef6 prepare for all players display 2009-10-18 17:18:07 +01:00
sqlcoder 0ccc204c89 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-10-18 12:19:42 +01:00
sqlcoder 5beb033547 debug session stats 2009-10-18 12:19:22 +01:00
sqlcoder 7bd388613d Merge branch 'master' of git://git.assembla.com/fpdboz 2009-10-15 23:02:57 +01:00
sqlcoder ac50cf85ca update comments on aggregation 2009-10-15 23:02:50 +01:00
sqlcoder 4d92e3d2a0 update graph viewer to work with enhanced filter 2009-10-13 23:06:09 +01:00
sqlcoder 4b0a399ffd stop fpdb.py accessing fpdb_db directly 2009-10-13 21:53:51 +01:00
sqlcoder 785e3d63a2 add 'is db running' printed message when pg db connect fails 2009-10-13 21:52:13 +01:00
sqlcoder aaba84de19 Add ring/tourney radio button to filter 2009-10-12 23:02:20 +01:00
sqlcoder 181294ddf4 tidy up Filters and PlayerStats layout a bit 2009-10-11 23:36:26 +01:00
sqlcoder b14fd2553c add some debug for session stats - I think there is a bug in here somewhere that makes it include too many hands sometimes ... 2009-10-11 23:34:05 +01:00
sqlcoder b8be20f551 show nl and fl limits separately in filter 2009-10-11 22:44:52 +01:00
sqlcoder 7d708a327c try to fix aggBBmultItemAll error 2009-10-07 23:45:59 +01:00
sqlcoder 8851b141a2 add dropdown to player name in filter 2009-10-05 22:12:35 +01:00
sqlcoder 7149de3aa2 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2009-10-05 20:41:10 +01:00
sqlcoder 7900ebcebe Tell user what is happening on startup 2009-10-04 17:46:04 +01:00
sqlcoder 5e3644d8d9 make separate hud menus for player and opponents stats 2009-10-04 12:26:37 +01:00
sqlcoder 5a0c83b60a debug session stats 2009-10-03 23:11:45 +01:00
sqlcoder 61f384a886 improve stats menu in HUD some more 2009-10-01 23:16:20 +01:00
sqlcoder b0037e545a improve stats menu on hud 2009-10-01 21:40:14 +01:00
sqlcoder 2b7a42bf1d fix bug for tourneys in new code, modify part of hud menu to use checkmenuitems 2009-09-29 23:34:52 +01:00
sqlcoder 16f8fffd68 add separate hud config for user and allow some user config in HUD menu (opponents still only via editing HUD_main.py) 2009-09-28 23:59:17 +01:00
sqlcoder cb9a972eda add aggregation options to hud menu 2009-09-28 00:51:09 +01:00
sqlcoder b6ea02fd43 improve tourney importing 2009-09-28 00:44:55 +01:00
sqlcoder db861292a5 use False for boolean so it works in postgres as well as mysql 2009-09-27 23:42:00 +01:00
sqlcoder d6414d211b allow separate hud options on each table and add aggregate options to main table menu 2009-09-27 21:23:00 +01:00
sqlcoder 7f47a753db cosmetic change to comment 2009-09-27 21:21:26 +01:00
sqlcoder 8353d0739b improve hudcache recalc when db is empty and avoid mysql long int problem 2009-09-27 13:36:45 +01:00
sqlcoder 01c33c26f8 fix tourneytypes insert for postgres again 2009-09-27 12:47:21 +01:00
sqlcoder 8d01caa30f try to work around Everleaf problem where winning hole cards not always shown - derive from winning hand where possible 2009-09-27 12:21:22 +01:00
sqlcoder d5a1523e59 fix startCard calcs 2009-09-27 11:40:39 +01:00
sqlcoder 9a7d7267ff remove print 2009-09-27 10:42:33 +01:00
sqlcoder 6f75719ffe refine hero's player id derivation in empty db's 2009-09-27 02:06:07 +01:00
sqlcoder c1711c4e2e refine new date option on hudcache rebuild 2009-09-27 01:42:26 +01:00
sqlcoder b054a9c09a fix params when creating Database instance 2009-09-27 00:06:06 +01:00
sqlcoder e75d915120 allow hudcache rebuild to only start Hero's stats from chosen date :-) 2009-09-26 23:32:44 +01:00
sqlcoder 518fd9e039 merge from Eric 2009-09-26 11:45:05 +01:00
sqlcoder ea74862a5a start changes to allow different hud choices for hero and opponents 2009-09-26 11:30:12 +01:00
sqlcoder 3d301718ae create/alter unique indexes and change inserts into tourneytypes and tourneysplayers 2009-09-25 23:10:58 +01:00
sqlcoder c519756a49 look for sqlite db in 'database' dir, create dir first if required 2009-09-25 20:18:13 +01:00
sqlcoder a67830d92e 2 changes: move recognisePlayerIDs from fpdb_simple into Database, and make index on siteTourneyNo on Tourneys table unique and refine store_tourneys function to handle this 2009-09-24 02:12:04 -04:00
sqlcoder daeefd7d8a hide regular exception when closing hud 2009-09-23 23:04:38 +01:00
sqlcoder 23f56ea2ae 2 changes: move recognisePlayerIDs from fpdb_simple into Database, and make index on siteTourneyNo on Tourneys table unique and refine store_tourneys function to handle this 2009-09-23 23:03:34 +01:00
sqlcoder e080ec3fd1 further fix to tourneytypes insert for postgres 2009-09-22 22:08:42 +01:00
sqlcoder 455e92e6f6 fix tourneytypes insert for postgres 2009-09-22 22:04:05 +01:00
sqlcoder b0677545e0 remove UNSIGNED from postgres create table statement 2009-09-22 21:54:01 +01:00
sqlcoder 5c92d6ac02 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2009-09-22 21:46:50 +01:00
sqlcoder 6357f22f11 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-09-20 22:52:05 +01:00
sqlcoder 1640ab3cfc attempt to stop a KeyError problem (problem patching up the symptoms rather than fixing the cause) 2009-08-17 21:51:13 +01:00
sqlcoder d905b6e780 revert a line of code to avoid unicode name mangling problems until there's time to fix it properly ... 2009-08-07 21:18:44 +01:00
sqlcoder d292cd18d4 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-08-07 00:12:22 +01:00
sqlcoder 59cfcea95d Merge branch 'master' of git://git.assembla.com/free_poker_tools 2009-08-07 00:07:32 +01:00
sqlcoder 16319ea039 stop error when switching back from threads to 0 threads 2009-08-07 00:06:11 +01:00
sqlcoder 126dfd7331 get hudcache update to work for sqlite - hud now working! 2009-08-07 00:04:44 +01:00
sqlcoder c0ddaad2e5 remove test for msql drivers 2009-08-06 21:12:50 +01:00
sqlcoder 0850721ecc fix problem when using more recent gtk libraries (each refresh was adding an extra chart to the existing one) 2009-08-06 20:36:11 +01:00
sqlcoder 6de41be9c9 mainly sqlite fixes, also removed not null on many hudcache columns 2009-08-06 20:31:46 +01:00
sqlcoder 736e94609f display importing message, and make it blue 2009-08-05 22:57:13 +01:00
sqlcoder cc9992509c some more refinements on drop option handling, still can't get 'importing' message to display 2009-08-04 23:18:37 +01:00
sqlcoder b7a718d786 some more sqlite work 2009-08-04 23:17:31 +01:00
sqlcoder fe62e78c5b mods for sqlite 2009-08-04 22:06:03 +01:00
sqlcoder fb695098ea remove unused getLastInsertId function 2009-08-04 21:50:53 +01:00
sqlcoder dde35fa65b implement getlastrowid for sqlite 2009-08-04 21:48:03 +01:00
sqlcoder 61d2a83779 add hudcache option to Bulk Import tab 2009-08-04 21:41:04 +01:00
sqlcoder 4e72f476f3 one line change to enable the number of threads choice 2009-08-04 20:00:59 +01:00
sqlcoder 5a94f16d16 fix typo in column name 2009-08-03 19:15:36 +01:00
sqlcoder 745baf139f Sorry guys. Added some error checking and discovered a bug in the mysql index creation - I've fixed it and imports don't degrade anything like they used to now. I've just imported 15K hands at 20+/second when it used to be down at 5/sec after 10K hands or so. 2009-08-03 01:30:51 +01:00
sqlcoder 1a63c62cf1 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-08-02 22:50:31 +01:00
sqlcoder 8e0519708e fix bugs and move hud stat config to HUD_main.py so that GUI can set it 2009-08-02 13:00:55 +01:00
sqlcoder d04f0efe94 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2009-08-01 23:29:49 +01:00
sqlcoder cffe57dfa3 pass sql list through to importer from fpdb.py 2009-08-01 23:29:00 +01:00
sqlcoder e2dde5c3e3 fix aggregate query and stop hud queries being executed whenever anything created a db connection 2009-08-01 23:15:04 +01:00
sqlcoder 1d2df984de New helper prog to create batch files in windows. Creates a separate .bat file for each GTK dir on PATH so that user can try each one out 2009-08-01 12:47:07 +01:00
sqlcoder 4dd9a8877d restart python if running an old version and 2.5 or 2.6 is available on PATH (Windows) 2009-08-01 12:45:10 +01:00
sqlcoder fed180d945 set allow threads option to false 2009-08-01 00:37:13 +01:00
sqlcoder 921812f5e4 add config var at top of file to allow threaded option 2009-08-01 00:08:41 +01:00
sqlcoder fbab3c7e24 make sure handsid is always returned and show size of queue when threaded 2009-08-01 00:07:31 +01:00
sqlcoder e9873d38a5 fix sleep() call 2009-08-01 00:06:07 +01:00
sqlcoder 0756345f3e allow nulls in handsplayer fields so that stud can import (but most fields are missing) 2009-07-31 22:49:46 +01:00
sqlcoder 3b9fa3b177 add useful (hopefully) exception handler 2009-07-31 22:34:26 +01:00
sqlcoder f3a4a8b0d0 fix previous merge 2009-07-31 22:30:41 +01:00
sqlcoder 8d77b961d7 merge from eric @6df03cb... 2009-07-31 22:07:27 +01:00
sqlcoder 36f09ebc82 merge from ray @f5ba0b5b7... 2009-07-31 21:58:39 +01:00
sqlcoder 70b1f5320b Merge branch 'master' of git://git.assembla.com/fpdboz 2009-07-31 21:30:20 +01:00
sqlcoder b503626c2b add db writer threading 2009-07-31 21:24:21 +01:00
sqlcoder 36de79140c round hands/sec and show some traceback info in exception handler (v useful) 2009-07-31 20:12:29 +01:00