Commit Graph
100 Commits
Author SHA1 Message Date
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
sqlcoder c2f79ddc24 refine mysql index drop/creation, but redundant as have left Erics new commands in - mysql crawls with 10k hands! get postgres :-) 2009-07-29 07:57:18 +01:00
sqlcoder 38ee98e492 pass sql list from fpdb through guibulkimport to fpdb_import 2009-07-29 06:37:06 +01:00
sqlcoder 9c62ecb80e debug move to Database.py and move last part of mainparser into Database.py 2009-07-29 06:17:51 +01:00
sqlcoder 298de5dc15 move most stuff from fpdb_db.py to Database.py and simplify db connections in fpdb_import 2009-07-28 23:58:10 +01:00
sqlcoder 3cc5ed8024 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-07-28 21:25:07 +01:00
sqlcoder 12e1da0a5e add lock_for_insert routine but comment out for now (hangs) 2009-07-28 21:19:31 +01:00
sqlcoder 5d5a6ed39d comment out a debug message and 1 char change to output message 2009-07-27 22:02:37 +01:00
sqlcoder f45038673c more moves into Database.py, better exception handling, store hudcache stats for holdem tourneys (some maybe no use? it's a start anyway - need to add NL/FL switch on Filter) 2009-07-26 01:42:09 +01:00
sqlcoder 859d18734c minor corrections to output messages 2009-07-25 17:39:06 +01:00
sqlcoder 495885e49c _x (where x is a single digit) at the end of a stat name in hud_config.xml now indicates the number of decimal places to display in the HUD. Some stats renamed slightly to remove the _ before last character of name. 2009-07-23 23:15:02 +01:00
sqlcoder 9c9202b539 remove debug statement 2009-07-22 20:22:20 +01:00
sqlcoder ab004b8284 only update psycopg2 extensions when using it 2009-07-22 20:19:41 +01:00
sqlcoder f69281e2fd finish hudcache rebuild code which speeds up bulk imports nicely - turn off permanently via allow_hudcache_rebuild in fpdb_import.py. Also some more moves into Database.py and cosmetic stuff 2009-07-21 22:26:23 +01:00
sqlcoder ab413faab9 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2009-07-21 21:34:19 +01:00
sqlcoder 58957e78e6 fix typo that blew up when 2 side pots present 2009-07-20 22:31:24 +01:00
sqlcoder 0670637abc Merge branch 'master' of git://git.assembla.com/fpdboz 2009-07-20 22:26:40 +01:00
sqlcoder b9d462c175 make graphviewer use Database.py 2009-07-19 21:19:58 +01:00
sqlcoder 0fecdfb2d7 make positional stats use Database.py 2009-07-19 18:28:13 +01:00
sqlcoder ceaedebcd9 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2009-07-19 14:31:36 +01:00
sqlcoder fb4ad79803 use someone else's interprocess locking code instead of python locks/semaphores - needs testing in Linux 2009-07-19 12:28:17 +01:00
sqlcoder 3352f608cf take global lock while doing imports 2009-07-18 23:01:18 +01:00
sqlcoder 6a69bf512e use python locks instead of db locks for global lock 2009-07-18 22:21:29 +01:00
sqlcoder 9d9f850753 use Database.py in GuiPlayerStats 2009-07-18 20:46:50 +01:00
sqlcoder a1e0e0539a add queries for player stats 2009-07-18 20:41:20 +01:00
sqlcoder 96376e7421 fine tune player stats 2009-07-18 20:39:01 +01:00
sqlcoder cdd94d512f improve handling of hud_style options 2009-07-18 18:29:06 +01:00
sqlcoder b45fceac21 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2009-06-30 22:20:21 +01:00
sqlcoder 56ef131bed use 1 or 2 Database methods instead of the underlying fpdb_db methods (more to do) 2009-06-30 22:18:15 +01:00
sqlcoder cb1a4d2d0a add wrappers for fpdb_db methods (plan is to move the fpdb_db methods into Database) 2009-06-30 22:00:55 +01:00
sqlcoder 04b9dd9126 use Players table for global lock because Database.init() tries to access Hands 2009-06-30 21:58:59 +01:00
sqlcoder a3e6c2696f use Database instead of fpdb_db 2009-06-28 19:19:32 +01:00
sqlcoder dc7a3fb88e finish removal of store_board_cards() 2009-06-28 18:56:18 +01:00
sqlcoder cb323d2d63 remove unused queries 2009-06-28 17:20:41 +01:00
sqlcoder a2db28ebf2 create Database instance in import to pass into parser - will eventually replace fpdb_db 2009-06-25 23:14:32 +01:00
sqlcoder 9b4e47df9a comment out debug message 2009-06-25 23:10:37 +01:00
sqlcoder 9b50987d0c add sql param to Database constructor - aim is to have just one SQL instance passed around and to use Database for db connections and methods 2009-06-23 23:44:37 +01:00
sqlcoder 84cc951045 comment out database creation wrongly included from my dev code 2009-06-23 22:05:22 +01:00
sqlcoder 2f0c7e8167 make load_profile reload HUD_config.xml and update status bar 2009-06-23 20:45:11 +01:00
sqlcoder 0afd8e2e70 use do_connect() instead of connect() 2009-06-22 23:43:11 +01:00
sqlcoder 1456104382 make graph viewer use its own db connection 2009-06-22 23:30:54 +01:00
sqlcoder 456ddb3e91 use do_connect() instead of connect() and remove settings parameter (config includes them) 2009-06-22 23:19:03 +01:00
sqlcoder 45a9358cbd set defaults for unused params to allow new calls without needing to set them 2009-06-22 23:16:34 +01:00
sqlcoder 699f79722b add time print for positional stats tab 2009-06-22 22:05:28 +01:00
sqlcoder 45c78b8a5f Merge branch 'master' of git://git.assembla.com/fpdboz 2009-06-22 21:43:59 +01:00
sqlcoder 1fbb7d166c remove redundant code 2009-06-22 21:41:41 +01:00
sqlcoder ac30e912c7 smarten up positional stats tab (still needs configurable columns) 2009-06-22 21:39:14 +01:00
sqlcoder fdf4b65136 pass all settings through so that a new one can be used to skip updating hudcache (not used yet) 2009-06-20 03:21:24 +08:00
sqlcoder 2b240efd0a unimportant fix to storehudcache2 2009-06-18 20:29:02 +01:00
sqlcoder 8bbd21fa6a hide error when a window has non UTF-8 char in title 2009-06-17 23:05:20 +01:00
sqlcoder 7664373648 use fpdb_db for db connection 2009-06-17 23:03:43 +01:00
sqlcoder dcaf6fed27 apologies - looks like I missed this out of my last release :-( 2009-06-17 21:43:30 +01:00
sqlcoder b935a5ad67 pass all settings through so that a new one can be used to skip updating hudcache (not used yet) 2009-06-09 22:55:18 +01:00
sqlcoder 680e5c2f89 use new more flexible function to decide whether to drop indexes 2009-06-09 22:22:10 +01:00
sqlcoder 9d87e35082 fix quit option and postgres/windows connecting after last merges 2009-06-09 21:38:30 +01:00
sqlcoder fce9941b0c add position capability to playerstats tab 2009-06-08 00:17:48 +01:00
sqlcoder 0a7c340656 Added timing info for index drop/create. Some small mods to output during import (obviously just change any you don't like) 2009-06-07 22:21:58 +01:00
sqlcoder c6f3595b93 update with latest handsplayers/hudcache changes 2009-06-07 21:55:49 +01:00
sqlcoder e662279acd remove parameter to analyzeDB() (error in previous release) 2009-06-07 20:49:35 +01:00
sqlcoder 7e8b80948c move index etc functions from fpdb_simple.py into fpdb_db.py 2009-06-07 20:45:09 +01:00
sqlcoder 45a303eb25 make global lock work (do nothing) if hands table doesn't exist 2009-06-07 20:07:18 +01:00
sqlcoder 41a3e2ece7 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-06-07 18:55:24 +01:00
sqlcoder 401aca4c12 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-06-04 20:29:58 +01:00
sqlcoder b016c496f2 fix handling of global lock when re-creating tables 2009-06-04 20:27:15 +01:00
sqlcoder 5b96769de3 implement global lock by locking hands table 2009-05-31 21:59:01 +01:00
sqlcoder be61b2d253 change quit option to standard 'Quit' 2009-05-31 21:53:10 +01:00
sqlcoder de98ff67dd try to improve reliability of index/fk dropping in postgres and add warnings (not errors) when problems occur 2009-05-31 21:06:33 +01:00
sqlcoder c741d720a0 add date filter to player stats 2009-05-30 22:38:54 +01:00
sqlcoder 2eb86784fe change BB heading to bb (numbers are in big blinds not Big Bets) 2009-05-30 22:33:08 +01:00
sqlcoder d44b093144 put debug message back in, this point should not be reached 2009-05-28 22:40:58 +01:00
sqlcoder 91bb9fc65f Tidy up alignment and expanding of cells in Player Stats window 2009-05-28 20:45:25 +01:00
sqlcoder e0e4eb4c3c add date filter to positional stats 2009-05-28 19:54:32 +01:00
sqlcoder 060c102843 changes to store date in hudcache.stylekey and display all-time / session / n days stats in hud 2009-05-27 23:34:10 +01:00
sqlcoder afee4ddb8c minor cosmetic change to autoimport button 2009-05-27 22:25:29 +01:00
sqlcoder d41a8beacd add self. to variable reference and comment out debug message 2009-05-27 22:21:22 +01:00
sqlcoder 013bd0a4e3 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-05-25 22:46:25 +01:00
sqlcoder 90b886e77f another parameter fix to the fpdb.py gui update 2009-05-25 21:30:37 +01:00
sqlcoder e7532ea497 fix typos in control keys in last release 2009-05-23 22:06:41 +01:00
sqlcoder 061ff083a6 get rid of warning message when starting fpdb 2009-05-23 21:42:26 +01:00
sqlcoder f0b4d82fa5 always release locks when db work finished 2009-05-23 23:33:40 +08:00
sqlcoder d811c6b656 add rollback to release locks when db reads are finished 2009-05-23 23:31:56 +08:00
sqlcoder 0b29286c9d fix 3bet stat bug in storeHudCache2 2009-05-23 23:26:03 +08:00
sqlcoder 75221f0b6a oops, missed out the key change in previous commit 2009-05-23 23:24:29 +08:00
sqlcoder 06b1ce002f fix sql to work in postgres 2009-05-23 09:47:50 +01:00
sqlcoder 203dcb44ae copy storehudcache2 into storehudcache, keeping the extra copy for more changes ... 2009-05-21 23:29:34 +01:00
sqlcoder ee9d69ae5e more minor cosmetic changes 2009-05-21 23:09:11 +01:00
sqlcoder a9963a6a47 try to improve look of autoimport tab 2009-05-21 23:00:46 +01:00
sqlcoder 07247de030 changes to allow hud to use stylekey and aggregate stats query 2009-05-21 21:27:44 +01:00
sqlcoder d986966332 prevent error when trying to close HUD that has already gone 2009-05-21 20:30:18 +01:00
sqlcoder 985d2c28d4 add styleKey to hudcache 2009-05-21 18:43:32 +01:00
sqlcoder 0651e89e2e add try-except blocks and correct spelling 2009-05-21 18:02:42 +01:00
sqlcoder fcc6cf5d4f updated comment 2009-05-21 18:02:11 +01:00
sqlcoder eda23de609 stop storehudcache from breaking with hudcache changes (storehudcache2 is better) 2009-05-21 12:19:52 +01:00
sqlcoder 828b23510f add rollback to release locks (we should create a set transaction read_only method in fpdb_db) 2009-05-21 11:23:50 +01:00
sqlcoder 399bfd98c6 fix unimportant typo in print 2009-05-21 11:14:47 +01:00
sqlcoder cf8b6c7e92 several db changes and a fancy playerstats window, now to tidy the code up a bit .... 2009-05-21 04:26:00 +01:00
sqlcoder 93f643a958 fix error when choosing unimplemented menu option 2009-05-20 23:21:50 +01:00
sqlcoder cee4cade3e Add hotkeys for stats windows and pass main window into guiplayerstats 2009-05-20 09:58:38 +01:00