Commit Graph

2975 Commits

Author SHA1 Message Date
Gerko de Roo
b855b53918 Merge branch 'master' of git://git.assembla.com/fpdb-sql.git 2010-06-16 17:15:10 +02:00
Gerko de Roo
5fd4c2c443 import regression files 2010-06-16 17:13:05 +02:00
sqlcoder
d6f3bed1d4 fix comment error in example hud config and call sys.exit() if the error is still there instead of exit() 2010-06-14 22:52:23 +01:00
sqlcoder
9b59957a9b comment out new .close() calls to fix autoimport button 2010-06-12 11:15:55 +01:00
sqlcoder
92aab5e80b fix new call to get_site_parameters() 2010-06-12 11:15:02 +01:00
sqlcoder
7205ac78d3 change legend position in graph, 'best' seems to use top right for me sometimes when upper left seems the obvious place to put it 2010-06-11 21:09:04 +01:00
sqlcoder
bf5f24fb6b add xshift/yshift config to move menu window on hud 2010-06-11 21:03:53 +01:00
sqlcoder
fbefe1e611 try to wrap long lines in config file, attributes are still sorted into alpha order :-( 2010-06-09 22:46:17 +01:00
sqlcoder
5803933ba0 update py2exe instructions 2010-06-09 20:58:05 +01:00
Worros
5660d6cb5e Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-06-08 13:30:30 +08:00
Worros
5f1308688b Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-06-08 13:17:20 +08:00
Worros
523a70ebd8 Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2010-06-08 11:47:14 +08:00
gimick
a926f7b19f Histories updated with random hand numbers, to avoid duplicates. PLO example added with sidepots 2010-06-08 01:40:09 +01:00
sqlcoder
d26b0f3a9f another python -> pythonw change 2010-06-07 21:59:01 +01:00
sqlcoder
fb811ca388 minor heading change in Preferences dialog 2010-06-07 21:58:04 +01:00
sqlcoder
8e0fb78570 further refinements to .py -> .pyw and python -> pythonw change 2010-06-07 19:29:59 +01:00
gimick
1f9b7788ad add 8 example Stars hand histories to pyfpdb/regression-test-files 2010-06-07 00:44:08 +01:00
gimick
38ad49bf38 Write Anonymise output to .anon file, rather than the terminal 2010-06-06 21:06:04 +01:00
gimick
fb51ea03f7 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-06-06 21:05:01 +01:00
sqlcoder
1c897e54d5 rename HUD_main from .py to .pyw as well 2010-06-06 21:03:03 +01:00
sqlcoder
1aafe79b4a fix name of list indexes query 2010-06-06 13:21:21 +01:00
sqlcoder
b7a7af37d5 minor whitespace change 2010-06-06 13:20:39 +01:00
sqlcoder
da203fbe6c debug and refine fpdb.pyw changes for .exe version 2010-06-06 10:57:51 +01:00
sqlcoder
9421f045dd put output file from .exe startup in higher directory 2010-06-06 09:29:46 +01:00
sqlcoder
544a682891 rename fpdb.py to fpdb.pyw makes it run smoother from .exe (no dos window) 2010-06-06 09:01:26 +01:00
sqlcoder
30d5cf56ca Merge branch 'master' of git://git.assembla.com/fpdboz 2010-06-05 16:54:18 +01:00
sqlcoder
397ae8bbcd show site name in error message if match failed 2010-06-05 16:53:48 +01:00
Worros
3d7668bde5 Add required import 2010-06-05 18:00:41 +08:00
Worros
18a3af2e88 Fix HHC init and python 2.5 incompatibility 2010-06-05 17:58:00 +08:00
Mika Bostrom
d56d3009b6 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-06-05 10:13:04 +03:00
Worros
3b823574ab Bump version to 0.20 2010-06-05 00:44:40 +08:00
Worros
0c3cdb12f8 General cleanup - Exception messages and improved logging.
Stars HHC, HHC itself and Hand.

Should not get the first 100 characters of an failing hand in the log, which contains the handid for later reference.

Played around with the number of characters a while ago - 100 chars is about the sweet spot.
2010-06-04 15:59:47 +08:00
Worros
12ad272f91 SQL.py - Add functions for listing indexes.
Not used anywhere - may be a good reference at some point
2010-06-04 15:26:50 +08:00
Worros
212438a0c6 Database.py - Additional logging and comments 2010-06-04 15:25:56 +08:00
Worros
6b00311756 Make sqlite index deletion and creation work.
Also updated the coding style and logging in that area.
2010-06-04 14:37:46 +08:00
Mika Bostrom
18036fb2cc Merge branch 'master' of git://git.assembla.com/fpdboz 2010-06-04 06:43:58 +03:00
Gerko de Roo
3716f11f06 1970-01-01 in mktime generates overflow... 2010-06-04 05:55:46 +08:00
Gerko de Roo
1edf860760 Add support for post of dead small blind (PartyPoker) 2010-06-04 05:46:19 +08:00
Gerko de Roo
e41c63f6ee When small blind raises here the addRaiseBy was generating money.
One player on small blind with total $2.25, commited $2.27 to the pot.
2010-06-04 05:46:06 +08:00
Gerko de Roo
bdbcf19b06 Player stat fix for PartyPoker
When placing a uncalled bet (like all-in) the uncalled part is put in a sitepot
Therefore the player exist 2* in collected.
The uncalled part of the bet was subtracted twice for collected and collectees.
2010-06-04 05:45:55 +08:00
Worros
def398e0c2 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-06-04 05:42:28 +08:00
Worros
e17058953c Add preliminary functions and variables for hex encoding patch
Kangaderoo has a patch which potentially fixes storage and display issues for users who do not have their database text storage as utf8.

Functions and variables added to Charset to disect the patch
2010-06-04 05:36:59 +08:00
Worros
23ae26259b Steffen reported a FTP file in UTF-8 format.
Added it as the 3rd codec tested
2010-06-04 04:17:30 +08:00
Gerko de Roo
27e5bf8698 Moved Codec conversion to Charset
The TIP is using a codec conversion that doesn't handle error exeptions.
This could lock up the HUD....
2010-06-04 03:58:49 +08:00
Gerko de Roo
5a13e96b3b Auto close HUD support for closing tourney windows added.
Not neat but functional.
2010-06-04 03:48:43 +08:00
steffen123
f6fbf08250 moved fold stats so that the file no longer indicates that they're not done 2010-06-04 03:35:40 +08:00
Worros
994f0fdccc Modify recent patch from Steffen adding fold stats
- Remove added whitespace
- Reformatted debug strings in preferred printf style (and starting with DEBUG:)
- Swapped len(aggrers)>0 and i>0 for short circuit evaluation, and reformatted spacing for consistent coding style
-- (NOTE: for NLHE this will definitely be faster as less hands go to flop - may be slower for limit games)

Also added a couple of comments near enumerate() calls about 2.5 to 2.6 syntax
2010-06-04 03:02:07 +08:00
steffen123
c52767ea41 it now records and displays fold stats (not too thoroughly tested) 2010-06-04 02:29:31 +08:00
Mika Bostrom
b482148d2a Kill trailing whitespace 2010-05-24 09:26:19 +03:00
Mika Bostrom
2503cd1b6c Fix what looks like a thinko
The stat 'fold_f' probably should do a "float(foo)/float(bar)" division
because there is no function called "fold"
2010-05-13 06:57:59 +03:00