Commit Graph

4491 Commits

Author SHA1 Message Date
Steffen Schaumburg
2f067d7945 a missed l10n string 2011-02-25 13:46:00 +01:00
Worros
7be88ef080 Hand: Sanitise number from Stud bring-in 2011-02-25 18:07:14 +08:00
Worros
890ebb4e02 Regression: FTP Razz tourney crasher
The line:

Villain brings in for 9, and is all in

Causes the import to crash.
2011-02-25 18:06:06 +08:00
Worros
3455b4ea69 Database: Make sqlite bool adapter use ints not strings
Scott Wolchok noted that the adapater was using strings, and possibly only working by luck.

Appears to give a 10-15% boost on a 10k hand import
2011-02-25 17:46:10 +08:00
Scott Wolchok
25799d01f2 Don't bother recompiling regexs for every hand when parsing Stars
HHs.
2011-02-25 04:19:00 -05:00
Worros
e41c0bc4e6 Merge branch 'master' of git://github.com/swolchok/fpdb 2011-02-25 16:52:01 +08:00
Scott Wolchok
6e3abbbb0a DerivedStats: build init dict for player stats only once. 2011-02-25 03:41:42 -05:00
Scott Wolchok
f64c28b1b4 small wrapper to use cdecimal library if available. 2011-02-25 03:14:28 -05:00
Worros
f006b7c253 Hand.py: Use sum(x) instead of reduce(operator.add, x, 0)
From: Scott Wolchok <scott@wolchok.org>

Make the code slightly more readable
2011-02-25 13:05:39 +08:00
Worros
f6351cef53 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2011-02-25 10:05:23 +08:00
gimick
27e69a1c0c filters: re-instate hide limits button, improve spacing of limits checkboxes 2011-02-24 23:25:35 +00:00
gimick
14053b9942 filters: fix traceback - declare self.num_limit_types when filters class is initialised 2011-02-24 22:24:37 +00:00
gimick
fb9f9df80e filters: clear all individual checkboxes when limits=none selected 2011-02-24 22:10:12 +00:00
gimick
7b9f9fb220 filters: add CAP category, and alter all/none to recognise cap(cn) games 2011-02-24 20:59:44 +00:00
Worros
0f54f3d80c Hand.py: Call Decimal ctor a lot less.
From: Scott Wolchok <scott@wolchok.org>
2011-02-24 22:51:40 +08:00
Worros
cf937285ea Hand.py: Use str.replace instead of re.sub for stripping commas.
From: Scott Wolchok <scott@wolchok.org>
2011-02-24 22:49:50 +08:00
Worros
1e482a8a37 FTP: Specify full filename in log when gametype not matched 2011-02-24 22:48:53 +08:00
Erki Ferenc
1f86ca0d40 l10n: updated Hungarian translation 2011-02-24 12:09:18 +01:00
Worros
ddb45ff8c3 Filters: Fix broken show/hide button for Graphing Options
Patch from scott@wolchok.org
2011-02-24 15:00:03 +08:00
Scott Wolchok
bf417f0569 Filters.py: Fix broken show/hide button for Graphing Options. 2011-02-24 00:27:43 -05:00
Scott Wolchok
cdf158cfae Hand.py: Call Decimal ctor a lot less. 2011-02-23 23:41:14 -05:00
Scott Wolchok
1227c5df74 Hand.py: Use sum(x) instead of reduce(operator.add, x, 0). 2011-02-23 23:31:46 -05:00
Scott Wolchok
00f98f0e12 Hand.py: Use str.replace instead of re.sub for stripping commas. 2011-02-23 23:28:37 -05:00
Worros
c409b717a9 Merge branch 'master' of git://git.assembla.com/fpdb
Conflicts:
	pyfpdb/XTables.py
2011-02-24 11:44:30 +08:00
Worros
5ce1fbaa5e Merge branch 'master' of git://git.assembla.com/free_poker_tools 2011-02-24 11:42:57 +08:00
Eratosthenes
d30fb9e72c Catch match error on new tables retry or fail gracefully. 2011-02-23 11:59:59 -05:00
Steffen Schaumburg
5b83580168 Merge branch 'gimick' 2011-02-23 17:01:04 +01:00
Steffen Schaumburg
0458bfe30c l10n: update pot/po/mo files 2011-02-23 16:59:14 +01:00
Steffen Schaumburg
63f074f00f Merge branch 'carl' 2011-02-23 16:55:49 +01:00
Steffen Schaumburg
346d0697cb restore french file to normal encoding 2011-02-23 16:51:39 +01:00
Steffen Schaumburg
c3b8e5affb a couple of l10n things 2011-02-23 16:48:05 +01:00
Steffen Schaumburg
104bc26da4 restore hotkeys in graph viewers 2011-02-23 16:47:50 +01:00
Eratosthenes
4744fe3b90 Merge branch 'master' of git://git.assembla.com/fpdboz 2011-02-23 09:22:35 -05:00
Worros
4b6b9e24de Filters: Init varible in constructor 2011-02-23 20:06:53 +08:00
Worros
cc1c90eade Regression: FTP Badugi sample hand 2011-02-23 19:21:45 +08:00
Worros
5c5520eaaa Regression: FTP 5 Card Draw PL 2011-02-23 19:09:05 +08:00
gimick
7926c88e48 Rushaux: fix tablenames (case sensitive in mySql) 2011-02-23 09:19:09 +00:00
Worros
e9f2f47726 Filters: L10n several strings
Part of patch from tribumarchal <boitemail25@aol.com>
2011-02-23 13:10:16 +08:00
Worros
67a36ead6c Revert "Signed-off-by: tribumarchal <boitemail25@aol.com>"
This reverts commit 91a312d34c.
2011-02-23 13:07:49 +08:00
Worros
39ddbb85c5 Merge branch 'master' of git.assembla.com:fpdboz 2011-02-23 13:05:56 +08:00
Worros
afb80457bb Revert "Signed-off-by: tribumarchal <boitemail25@aol.com>"
This reverts commit 91a312d34c.
2011-02-23 13:04:56 +08:00
Worros
2264e3b525 Regression: Winamax hh.
Hero wins the side pot and loses the main pot.
2011-02-23 12:53:53 +08:00
Worros
757170974e Filters: L10n several strings
Part of patch from tribumarchal <boitemail25@aol.com>
2011-02-23 12:32:30 +08:00
Worros
7d48f0223f Winamax: Adjust readCollectPot
Remove guard for returning money. Unsure if this is correct.

Passes the regression test suite, so committing for user test
2011-02-23 12:30:48 +08:00
Eratosthenes
0a9aed891f Merge branch 'master' of git://git.assembla.com/fpdboz 2011-02-22 19:07:20 -05:00
Eratosthenes
540b7369c4 More logging in XTables. 2011-02-22 19:05:48 -05:00
Eratosthenes
626fbf3986 More logging in XTables.py. 2011-02-22 18:58:37 -05:00
Eratosthenes
991cd088fd Add some logging for XTables.py. 2011-02-22 17:24:14 -05:00
Eratosthenes
3cf03719fd Extend timeout for dragging...help with slower PCs. 2011-02-22 17:22:44 -05:00
tribumarchal
91a312d34c Signed-off-by: tribumarchal <boitemail25@aol.com> 2011-02-22 21:41:30 +01:00
Worros
4b658b2e4e Regression: Verify and adjust test data for now stats 2011-02-22 20:39:10 +08:00
Worros
8a528a12ad Regression: Validate and fix .hp data 2011-02-21 17:36:12 +08:00
Worros
4698f9c227 THP: Comment out debug line 2011-02-21 14:08:53 +08:00
Worros
7444ffd20f Regression: Add in sessionId to .hands files 2011-02-21 14:07:29 +08:00
Worros
47c2a1d815 Regression: FTP 5 Card Draw - NL sample hand 2011-02-21 12:23:43 +08:00
Worros
04a49660bf Merge branch 'master' of git://git.assembla.com/donoban-fpdb 2011-02-21 10:36:54 +08:00
Worros
a73b86059d Merge branch 'master' of git://git.assembla.com/fpdb 2011-02-21 10:36:40 +08:00
Erki Ferenc
e1fbf655ff l10n: fixed typo in Hungarian translation 2011-02-20 21:35:37 +01:00
Erki Ferenc
e2b5a4cca6 l10n: updated Hungarian translation 2011-02-20 21:27:35 +01:00
DoNoBaN
8b4714ffcc Spanish translatoin mo file 2011-02-18 16:52:06 +01:00
DoNoBaN
2b716af46c Added Success Steal for detailed stats
Needs add it to gui_cash_stats
2011-02-18 16:17:21 +01:00
DoNoBaN
0e26d4f6ae Added more Spanish translation 2011-02-18 16:16:59 +01:00
DoNoBaN
52a97b9793 Merge branch 'master' of git://git.assembla.com/fpdboz 2011-02-18 15:14:10 +01:00
Worros
a5bcc977f3 TourneyFilters: Add into ScrollWondow. 2011-02-18 13:23:03 +08:00
DoNoBaN
cfa87c9870 Merge branch 'master' of git://git.assembla.com/fpdboz 2011-02-18 00:45:07 +01:00
DoNoBaN
aea40ab605 Add success steal for detailed stats 2011-02-18 00:42:59 +01:00
Worros
99b9cb1574 Filters: Put into a scroll window 2011-02-17 13:13:40 +08:00
Worros
c6b67dd1c8 Regression: Correct new .hands file 2011-02-17 12:25:35 +08:00
Worros
e4a3de1272 Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2011-02-17 11:28:44 +08:00
Worros
0585debcae Merge branch 'master' of git://git.assembla.com/fpdb 2011-02-16 16:38:33 +08:00
Worros
0a1ad69028 Regression: Update FTP 5 card test data after recent fix. 2011-02-16 16:33:11 +08:00
Worros
2b8b6ec626 FTP: Fix markStreets to correctly identify single draw 'DEAL'
This has the knock on effect of fixing pre/post deal stats and almost certainly the same bug that affected the stars parser fixed in e387593967
2011-02-16 16:14:32 +08:00
Worros
754a5dacf8 Regression: FTP 5 card draw sample file 2011-02-16 16:05:40 +08:00
Worros
cb99327fd9 AutoImport: Add hidden button for auto-detection
Discovered that I didn't have an easy way to report that info back to the gtk widget and got bored.

Maybe someone else will take it up.
2011-02-16 15:50:21 +08:00
Steffen Schaumburg
3399bae06d update l10n files, include es_ES into script 2011-02-16 08:44:56 +01:00
Steffen Schaumburg
ea1babdd46 Merge branch 'carl' 2011-02-16 08:40:49 +01:00
Steffen Schaumburg
c005ed2130 Merge branch 'master' of git://git.assembla.com/fpdboz into carl 2011-02-16 08:40:32 +01:00
Worros
e387593967 Stars: Fix accounting error in single draw games.
There is no indicator between 'streets' in single draw games on Stars.

Patch adds a new regex for single draw games to detect the draw and divide streets.
2011-02-16 15:10:48 +08:00
Steffen Schaumburg
a3e6019bfc Merge branch 'carl' 2011-02-15 08:35:37 +01:00
Steffen Schaumburg
19bc423da5 Merge branch 'master' of git://git.assembla.com/fpdboz into carl 2011-02-15 08:35:05 +01:00
Steffen Schaumburg
daafca8c2a fix sqlite version display in the about dialogue 2011-02-15 08:34:00 +01:00
Worros
9fe42f66de Ring Stats: Allow CAP (cn) games to be displayed 2011-02-15 15:33:18 +08:00
Worros
9376f3d8b5 Grapher: Allow CAP (cn) games to be graphed. 2011-02-15 15:02:15 +08:00
Steffen Schaumburg
f2f433e423 Merge branch 'carl' 2011-02-14 16:42:55 +01:00
Steffen Schaumburg
671dc1c7ca fix missing line in SQL 2011-02-14 16:42:25 +01:00
Steffen Schaumburg
2048bf394f minor string changes 2011-02-14 16:41:15 +01:00
Steffen Schaumburg
2e27c46b76 minor string changes 2011-02-14 16:12:07 +01:00
Worros
989d06548e Example config: Add 10 seat OnGame layout 2011-02-14 01:26:10 +08:00
Worros
cbfba53617 Regression: Add new stats to .hp files
street0_C4BChance
street0_C4BDone
street0_SqueezeChance
street0_SqueezeDone
success_Steal

All were set to false
2011-02-14 00:23:08 +08:00
Worros
582d202e33 AddStat script - Change commented out variable 2011-02-14 00:22:30 +08:00
Worros
eb1b758eb2 Script: Script to add a new stat to the regression test suite 2011-02-14 00:13:30 +08:00
Worros
3d168cee6e Merge branch 'master' of git://git.assembla.com/donoban-fpdb 2011-02-13 23:47:15 +08:00
Worros
960ce1f11b THP: Add ability to test a single file
Add -f <filename> options

./TestHandsPlayers.py -s Stars -f <filename>

Will run only the tests for that file.

Also added the tour directory for Absolute
2011-02-13 23:43:15 +08:00
Worros
e66456d7b1 OnGame: BWin speed table
TestHandsPlayers

Total Errors: 34

---------------------
Errors by stat:
---------------------
(  1) : street0_3BChance
(  1) : street1CBChance
(  1) : street1CBDone
(  2) : street0_FoldTo4BChance
(  2) : totalProfit
(  3) : rake
(  5) : street0_FoldTo3BChance
(  8) : Parse
( 11) : street0_4BChance
2011-02-13 22:30:53 +08:00
Worros
2da7dc8495 OnGame: Modify re_HandInfo to parse SPEED tables 2011-02-13 22:04:09 +08:00
Worros
e570e34f28 Options - add a -D option for directory 2011-02-13 21:59:36 +08:00
DoNoBaN
d6a034b183 DerivedStats.py with cold4bet, squeeze and success steal 2011-02-12 21:20:53 +01:00
DoNoBaN
0a1389244d Added cold 4bet, squeeze and success steal
4bet and foldto3/4bet enabled for Detailed Stats

Removed street0 other raises (they was unused)
2011-02-12 14:11:41 +01:00
DoNoBaN
6370fca9ec Added 4bet and fold to 3/4bet at detailed cash stats pages 2011-02-11 16:37:28 +01:00
DoNoBaN
0a21e472ba Revert "Revert "Turn on HUD dragging and autoclosing.""
This reverts commit 7c45c0b8d2.
2011-02-11 14:59:42 +01:00