Commit Graph
100 Commits
Author SHA1 Message Date
sqlcoder 9201364055 fix bugs in error reporting (not helpful if the error logging causes errors\!) 2010-02-07 11:21:50 +00:00
sqlcoder fbeaa5590f move run_fpdb.bat up a directory to /fpdb/ 2010-02-07 01:06:36 +00:00
sqlcoder ef26c05181 be more tolerant of errors when translating for gui, add encode exception handlers 2010-02-06 23:12:11 +00:00
sqlcoder 4ecd713dab forgot to add the new .bat file 2010-02-06 21:29:17 +00:00
sqlcoder f1d4f08d1c trivial change to output dir name 2010-02-06 19:00:30 +00:00
sqlcoder a3ec32b7b9 change print to log 2010-02-06 18:59:33 +00:00
sqlcoder 8b28427ff9 use log instead of print 2010-02-06 18:46:27 +00:00
sqlcoder d9fddd6595 miniscule print change 2010-02-06 18:07:48 +00:00
sqlcoder d25611dd38 get py2exe working better - nice :-) 2010-02-06 18:07:00 +00:00
sqlcoder 49e4a7db69 change a few prints to logs 2010-02-06 18:06:21 +00:00
sqlcoder 1e832952dd add newline in error reporting message 2010-02-06 15:55:32 +00:00
sqlcoder 752e5ad088 make sure fpdb icon works in py2exe 2010-02-06 12:27:15 +00:00
sqlcoder 4d74437845 run HUD_main.exe if running fpdb.exe (created by py2exe) 2010-02-06 10:33:00 +00:00
sqlcoder 4a0fcd62a0 sqlite seems to perform ok for me 2010-02-06 10:28:17 +00:00
sqlcoder ef2a8aca14 remove duplicate db calls which were slowing the hud down 2010-02-04 23:37:45 +00:00
sqlcoder 4d45bd39d3 make enabled sites come first in drop-down (i.e. more chance of the default being the one you want) 2010-02-04 23:08:09 +00:00
sqlcoder 864454f31c change 2 commits to 1, may help sqlite stop locking up 2010-02-03 01:03:36 +00:00
sqlcoder e3679a99fb fix steal calcs 2010-02-03 00:48:45 +00:00
sqlcoder fece7c9147 move fpdb-error-log and HUD-error to APPDATA, renamed as fpdb-errors.txt and HUD-errors.txt to be consistent 2010-02-02 21:53:03 +00:00
sqlcoder 96d0e0f181 fix key error and add filter to logging.conf 2010-02-01 22:56:40 +00:00
sqlcoder d4248706e4 remove surplus get_logger calls, tidy up log messages some more 2010-02-01 22:31:00 +00:00
sqlcoder 86330e536a tidy up logging so that log isn't created in /fpdb/log/ unless it is being used 2010-02-01 21:03:51 +00:00
sqlcoder 7e5f63ce89 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-02-01 19:49:57 +00:00
sqlcoder a06aac6da8 correct case in SQL 2010-02-01 08:22:14 +00:00
sqlcoder 9f3c5924b0 oops! missed out SQL.py from last release 2010-02-01 07:59:09 +00:00
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