Commit Graph
100 Commits
Author SHA1 Message Date
sqlcoder e4c6419074 try to improve tourney handling in filter (now displays buyin, but this is not yet used by playerstats when fetching stats 2010-02-01 00:17:55 +00:00
sqlcoder 264b75b5b0 fix some sqlite and unicode issues (thanks to Gerko) 2010-01-31 23:46:51 +00:00
sqlcoder 002a84ba5a set rotating logs to max 5 files of 100MB each 2010-01-31 12:31:49 +00:00
sqlcoder 6f0ea2580b display dialog when .example config has been copied, this could work 'out-of-the-box' if the user already has gtk?? 2010-01-31 12:24:32 +00:00
sqlcoder bbc84fef14 comment out debug message 2010-01-31 12:22:24 +00:00
sqlcoder f7b402bcdb remove execute from permissions on some files in last commit 2010-01-31 11:27:37 +00:00
sqlcoder 5e9486aa3d config changes for logging: logs rotate and go to APPDATA, hud_config now goes in /fpdb/ if they must use it but logging.conf stays in /pyfpdb/. TODO: Some logging still into /fpdb/log/ 2010-01-31 11:25:24 +00:00
sqlcoder cc5f77e950 fix windows problem starting hud 2010-01-31 11:16:42 +00:00
sqlcoder e61fb7677c remove unicode test file as error seems to have gone away 2010-01-30 11:18:10 +00:00
sqlcoder e0c5f52d0f uncommented sqlite unicode fix (fix only tested on Windows XP, cp1252) 2010-01-30 11:11:21 +00:00
sqlcoder 9932025271 move sqlite charset fix to Configuration.py from Database.py, make separate not_needed variables in Charset.py in case we want to update them separately 2010-01-30 11:05:34 +00:00
sqlcoder d147187a71 add extra comment/suggestion 2010-01-29 23:36:39 +00:00
sqlcoder a7d4c6243a add assignment (but commented out) that fixes unicode probs for me with sqlite 2010-01-29 23:29:37 +00:00
sqlcoder 2e970baa82 remove sqlite specific test to skip unicode encoding 2010-01-29 22:29:14 +00:00
sqlcoder 5982df0b04 add test case that made me add special test for sqlite in insertplayers - can't repeat now so removing test. Error was that a unicode type (name) was encoded to UTF-8 by Charset.to_db_utf8() and then errored when passed to sqlite. sqlite3 can handle unicode types directly so I added a test to skip the to_db_utf8() if using sqlite. Perhaps problem was caused by moving hand history between machines (but shouldn't it still work anyway?) 2010-01-29 22:15:09 +00:00
sqlcoder 52a176fd0a tidy up filter, add ability to refresh (eg after importing more gametypes) 2010-01-29 09:12:08 +00:00
sqlcoder 1df418c8e4 create fpdb dir if required, improve sqlite performance :-) 2010-01-27 23:48:39 +00:00
sqlcoder e82d276cf9 pull and merge from carl (nothing changed) 2010-01-27 08:56:51 +00:00
sqlcoder 5a9836862f sqlite mods, made sqlite the default in HUD_config.xml.example - works (roughly) straight out of the box 2010-01-27 00:48:02 +00:00
sqlcoder 11bc48e126 merge fpdb_db.py into Database.py 2010-01-26 23:54:04 +00:00
sqlcoder 47baee65f9 add tourneyid to hands table (REQUIRES REIMPORT) and fix sqlite db access 2010-01-26 22:46:48 +00:00
sqlcoder de2b807c9b refine hud_config handling some more (copies .exmaple to proper dir) 2010-01-26 21:54:58 +00:00
sqlcoder 5c88c6b0ad put database directory next to HUD_config.xml file 2010-01-26 21:02:37 +00:00
sqlcoder 45397695d3 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-01-26 20:38:10 +00:00
sqlcoder 602d72d911 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-01-24 16:12:29 +00:00
sqlcoder 33ce957627 add run_fpdb.py file in top dir 2010-01-23 13:29:03 +00:00
sqlcoder 41877097c9 fix twostartcards to handle 22 and unknowns properly 2010-01-21 13:49:45 +08:00
sqlcoder 012b5bc72c fix twostartcards to handle 22 and unknowns properly 2010-01-13 23:40:25 +02:00
sqlcoder 6594431277 fix twostartcards to handle 22 and unknowns properly 2010-01-12 22:10:59 +00:00
sqlcoder 62935664c8 set stats color to fgcolor 2010-01-02 11:05:58 +08:00
sqlcoder 8cb73b822c set stats color to fgcolor 2010-01-01 22:57:25 +00:00
sqlcoder 378ad93f78 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-01-01 16:27:01 +00:00
sqlcoder 7f7d56c4c7 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-12-22 16:51:20 +00:00
sqlcoder c081726a42 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-12-16 18:18:03 +00:00
sqlcoder 97842c1be3 remove merge comment 2009-12-16 18:15:07 +00:00
sqlcoder 69168ff868 unwind change that stopped mysawshowdown being set unless all-in (which I hardly ever am, since I play limit ... so my WtSD was displaying as 0) 2009-12-13 12:57:46 +00:00
sqlcoder 05d0d02df4 reload profile after editing Prefs if no other tabs are open, otherwise suggest restart 2009-12-13 12:55:15 +00:00
sqlcoder 4cc1c4cfe6 add name to nodes 2009-12-12 12:09:58 +00:00
sqlcoder c7e11a8cc3 default guiprefs window to larger size 2009-12-12 12:08:48 +00:00
sqlcoder ab89f9f603 show message dialog if pg connect fails 2009-12-12 09:51:07 +00:00
sqlcoder fc95de82f4 logviewer: avoid memory-mapped files, make it work when opened a second time 2009-12-09 21:58:56 +00:00
sqlcoder bbaecc1697 add package version info to About dialog 2009-12-08 22:17:55 +00:00
sqlcoder 50e63a8131 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-12-07 22:55:32 +00:00
sqlcoder 68835dd9b8 tidy up log viewer some more 2009-12-07 22:55:12 +00:00
sqlcoder 63f04908be add simple test scripts for python and gtk 2009-12-06 14:17:22 +00:00
sqlcoder 66b4ed35e5 add refresh button to log viewer 2009-12-05 22:48:41 +00:00
sqlcoder 18b0a47555 move print message to log 2009-12-05 22:20:44 +00:00
sqlcoder 85242f13cb fix bug with hud stats, must use ORDER BY in the selects 2009-12-05 21:59:42 +00:00
sqlcoder 2934c32132 limit number of lines displayed in log viewer 2009-12-05 20:31:37 +00:00
sqlcoder 2d8c44110c refine log viewer 2009-12-05 20:10:00 +00:00
sqlcoder 72303bf900 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-12-05 15:55:06 +00:00
sqlcoder 6826d0157a create gui option to view the log 2009-12-05 15:54:49 +00:00
sqlcoder c9b9927315 fix new timing code so it actually works\! 2009-12-03 21:02:05 +00:00
sqlcoder cd65aae374 allow legend box to work in python 2.5 2009-12-03 20:20:42 +00:00
sqlcoder 9dd09fe8a1 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-12-03 20:14:12 +00:00
sqlcoder ffb59570d2 merge from carl 2009-12-02 15:23:05 +00:00
sqlcoder 5e3c920e16 add timing info to log 2009-12-02 15:17:31 +00:00
sqlcoder f7ed06d071 improve rebuild hudcache and indexes dialogs 2009-11-30 21:43:29 +00:00
sqlcoder 00c85aa62d add rebuild indexes option to Database menu (can we put tooltips over these menu options?) 2009-11-29 23:02:45 +00:00
sqlcoder 8221e86757 turn off hud seats restriction as default 2009-11-29 18:14:04 +00:00
sqlcoder 78004a2e76 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-11-29 17:37:19 +00:00
sqlcoder 65b372570f add some comments 2009-11-29 17:36:37 +00:00
sqlcoder 432a39b172 better icon for tab close buttons 2009-11-29 17:36:22 +00:00
sqlcoder c77ae39077 add close buttons to tabs 2009-11-28 23:36:54 +00:00
sqlcoder db3371a202 use notebook widget to show proper tabs 2009-11-28 22:00:44 +00:00
sqlcoder cce1545024 add gui stuff to test, stop crash if xml.dom.ext not present 2009-11-28 21:11:52 +00:00
sqlcoder 7f40d9dd3a change default for min_seats to 0 in case hc.activeSeats is zero 2009-11-28 11:48:06 +00:00
sqlcoder b60895a89f merge from carl 2009-11-26 22:35:50 +00:00
sqlcoder 6037f17fb9 added seats options to hud menu 2009-11-26 22:24:24 +00:00
sqlcoder 65fe163379 add ability to display hud stats by number of seats at table (All / Custom / Exact) 2009-11-26 21:28:05 +00:00
sqlcoder 9d754e5e4b make sure db locks are released 2009-11-25 20:55:58 +00:00
sqlcoder 339a0133a9 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-11-24 19:51:21 +00:00
sqlcoder 02fd6d6bd0 add Preferences option on File menu 2009-11-24 19:50:48 +00:00
sqlcoder c856824145 fix bug in save() and simplify it. Add get_doc() method 2009-11-24 19:46:57 +00:00
sqlcoder 6eba4a5544 fix a merge problem and replace to_char() for sqlite, player stats now working in sqlite :-) 2009-11-19 22:19:41 +00:00
sqlcoder 04c09af7b2 tidy up aggregation code, NOTE: renamed some aggregation config to try and make meaning clearer, updated aggregation description in .example 2009-11-17 21:47:43 +00:00
sqlcoder 289922e43a Merge branch 'master' of git://git.assembla.com/fpdboz 2009-11-17 20:48:06 +00:00
sqlcoder 9bbca552ea Merge branch 'master' of git://git.assembla.com/fpdboz 2009-11-09 20:44:05 +00:00
sqlcoder c02e6365e7 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-11-02 20:52:55 +00:00
sqlcoder 16eb0b1e1f small changes for sqlite 2009-10-28 20:12:03 +00:00
sqlcoder 998c80b7d0 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-10-27 08:45:58 +00:00
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