Commit Graph

5361 Commits

Author SHA1 Message Date
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
e27875fa67 Merge branch 'master' of git://git.assembla.com/fpdboz 2011-02-25 00:07:55 +00: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
gimick
0254381ab3 Merge branch 'master' of git://git.assembla.com/fpdb 2011-02-23 22:36:22 +00: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
2592159d8a Merge branch 'master' of git://git.assembla.com/fpdboz 2011-02-23 11:04:17 +00: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
gimick
ac5b9e12c8 Merge branch 'master' of git://git.assembla.com/fpdboz 2011-02-22 22:54:10 +00: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