Commit Graph

3071 Commits

Author SHA1 Message Date
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
steffen123
d84ff44875 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-06-07 03:31:00 +02:00
steffen123
e72b7364b8 Merge branch 'master' of git://git.assembla.com/fpdboz
Conflicts:
	pyfpdb/DerivedStats.py
2010-06-07 03:08:07 +02:00
steffen123
e349dad1b2 Revert "dirty but working patch to make it load utf8 files (specifically, FTP)"
This reverts commit 12e89306b5.
2010-06-07 03:03:52 +02: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
steffen123
30d7f0dc2a moved fold stats so that the file no longer indicates that they're not done 2010-05-28 19:12:02 +02:00
steffen123
300e5fbbed it now records and displays fold stats (not too thoroughly tested) 2010-05-28 02:31:04 +02:00
steffen123
12e89306b5 dirty but working patch to make it load utf8 files (specifically, FTP) 2010-05-27 22:01:17 +02:00
steffen123
150901cd6e merged carl's tree 2010-05-27 21:58:07 +02: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
Mika Bostrom
ed1b24a38f Merge branch 'master' of git://git.assembla.com/fpdboz 2010-05-04 20:13:59 +03:00
gimick
1cecbec4be Merge branch 'master' of git://git.assembla.com/fpdboz 2010-04-24 12:04:59 +01:00
Worros
9ac46c8c92 Add to Stars limit lookup table. 2010-04-23 17:09:08 +08:00
Worros
6e60314926 First part of making FTP archive files work 2010-04-23 11:49:57 +08:00
gimick
c871d7fc2f gimick - Do not set CBChance if there has been a donkbet 2010-04-23 11:49:31 +08:00