Commit Graph

4427 Commits

Author SHA1 Message Date
Worros
02204edc48 Give storeHands the ability to output test data
Will allow for regression testing of hand start time
2010-12-10 21:35:49 +08:00
Worros
8fa38a26cc GuiStove: Temporary commit - add 'changed' hooks
They dont actually do anything yet.
2010-12-10 20:02:24 +08:00
Worros
267bf93fa5 Database: Comment out unused 'printdata'
Writing documentation for THP at the moment, and HandsActions data doesn't curently having any tests.

Comment out to simplify documentation for the moment.
2010-12-10 18:59:52 +08:00
Worros
9a956e41b6 THP: Allow a single site to be specified on the cli
The normal mode for running THP is to run though all the tests for all sites:

./TestHandsPlayers.py

This is a bit noisy and slow when trying to fix issues in a single parser.

Added '-s' so that you can run the regression tests against a single site

eg.
./TestHandsPlayers.py -s "Full Tilt Poker"
./TestHandsPlayers.py -s PokerStars
./TestHandsPlayers.py -s Winamax
2010-12-10 18:21:21 +08:00
Worros
3db9cfa6a7 Options: Add -s --sitename option 2010-12-10 18:20:52 +08:00
Worros
bc59e12768 Everleaf: Make re_GameInfo error handling consistant with other sites.
When re_GameInfo fails to match now, the first 100 characters of the hand will be printed to the log. Makes it much easier to identify the offending hands.

Error now also throws an FpdbParseError for the importing process to catch
2010-12-10 17:53:59 +08:00
Worros
7721468c92 Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-12-10 02:33:14 +08:00
chaz@pokeit.co
95d14911f3 Fixed a variety of bugs in storeSessionsCache() and the corresponding SQL statements 2010-12-08 16:32:26 -05:00
Eratosthenes
a4dff38c9f Ensure table.key is always temp_key calculated in HUD_main. 2010-12-07 10:24:06 -05:00
Eratosthenes
3fbaa0b0fb Don't try to close HUD mw twice. 2010-12-07 10:20:20 -05:00
Eric Blade
aef3186cfb remove commented log that ray removed 2010-12-06 18:04:54 -05:00
Worros
cfab629779 Regression: New Stars LHE file
Adds a file with a hand where the big blind is also the button
2010-12-06 14:16:59 +08:00
Worros
9235d12d59 Stars: Fix issue where player collected pot
As both big blind and the button - something i wasn't sure was possible
2010-12-06 13:45:58 +08:00
Worros
51011380ba Stove: Start gettextification 2010-12-06 12:51:53 +08:00
Worros
96b55a5bff Stars: Fix regression.
New test file regression-test-files/cash/Stars/Flop/LHE-10max-USD-1.00-2.00-No_max_seats.txt crashed Stars.

Put guard to make sure MAX has a value
2010-12-06 12:48:25 +08:00
Worros
352c40baab Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz
Conflicts:
	pyfpdb/regression-test-files/cash/Stars/Flop/LHE-10max-USD-1.00-2.00-No_max_seats.txt
2010-12-06 11:51:16 +08:00
Worros
5fb23b3938 Move getSqlPlayerIDs next to the other version of the function 2010-12-06 11:49:28 +08:00
Worros
704bf06e19 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-12-06 11:45:26 +08:00
Worros
bc5cf4c92a Remove tracked .gitignore fix HUD_main permissions 2010-12-06 11:43:09 +08:00
Worros
b465a592de Move regression test file from old folder 2010-12-06 11:41:59 +08:00
chaz@pokeit.co
b37ebb9f4f Made the same 'Hero' changes for tour and summary files. Also made cacheSessions default in the test Config file 2010-12-05 18:24:45 -05:00
chaz@pokeit.co
1a1f9b504b Replaced 'YOUR SCREEN NAME HERE' with Hero in the test file 2010-12-05 17:30:56 -05:00
chaz@pokeit.co
a504fc211c Replaced all of the Hero names in the regression files with 'Hero' 2010-12-05 17:28:31 -05:00
Eric Blade
515557d45e fix merge error 2010-12-05 16:48:12 -05:00
Eric Blade
301348eb5e Merge branch 'master' of git://git.assembla.com/free_poker_tools.git
Conflicts:
	pyfpdb/HUD_main.pyw
2010-12-05 16:39:13 -05:00
Eratosthenes
78fdb37f38 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-12-05 12:53:28 -05:00
Eratosthenes
b80ff5c7f8 Merge branch 'master' of git://git.assembla.com/fpdb 2010-12-05 12:53:19 -05:00
Eratosthenes
f329d85ca7 Fixed table dectection on Ubuntu/KDE. 2010-12-05 12:52:02 -05:00
gimick
46022509de pypokereval: fixes to allow py2exe to compile. Also, place win32 dependencies
in pyfpdb (pyfpdb files can be deleted when there is a site-package on win)

This commit allows fpdb+pypokereval to work on win32 machines without having
 to manually install pypokereval files
2010-12-05 16:59:32 +00:00
Eric Blade
22cf70358f Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-12-05 01:19:18 -05:00
chaz@pokeit.co
50ac251f9a DB version 147 2010-12-05 00:53:38 -05:00
chaz@pokeit.co
6ea5432c2e Added a placeholder for rebuild_sessionscache() 2010-12-04 21:04:43 -05:00
chaz@pokeit.co
dd707fb0cb Updated the comments 2010-12-04 21:02:21 -05:00
Chaz
0c46965d98 Finished up code for creating and updating SessionsCache. Table includes fields for sessionStart, sessionEnd, ring hands, tournament hands, ring totalProfit, and ring bigBets won during each session. bigBets field is a python float stored as a REAL in the database (I am open to alternative suggestions). Also, storeSessions is currently set to False. 2010-12-04 17:40:48 -05:00
Chaz
c2cda3bf87 Added sessionTimeout Import field to Configuration.py and the Hud_config files. Default set to 30 minutes to start a new session 2010-12-04 17:33:57 -05:00
Eratosthenes
6bfb7df105 Fix file permissions. 2010-12-04 15:31:34 -05:00
Eratosthenes
d47d33587f Fix problem with multiple huds in tourneys at some sites. 2010-12-04 15:29:23 -05:00
Eratosthenes
dd542db59d Update Tables_Demo. Found/fixed bug in XTables. 2010-12-04 11:22:02 -05:00
Worros
c61598b7aa fpdb: Add menu calls for Replayer 2010-12-04 19:10:47 +08:00
Worros
96bf985697 GuiReplayer: Added by lastpoet <maxime@grandchamp.net>
1st Draft to get it in for comments
2010-12-04 18:27:03 +08:00
lastpoet
b4c2614f25 remove irrelevant comments from tooltips 2010-12-04 17:45:39 +08:00
Eric Blade
021fc50236 Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-12-03 16:32:30 -05:00
Eric Blade
8855530617 Merge branch 'master' of git://git.assembla.com/fpdboz.git
Conflicts:
	pyfpdb/Database.py
	pyfpdb/TableWindow.py
2010-12-03 16:14:10 -05:00
Worros
e032b32ea7 Regression: Repair (?) Party hh that seemed to be missing 2 lines 2010-12-04 03:47:23 +08:00
Worros
a4e708507f Stars: More useful exception message of currency match fails 2010-12-04 03:43:06 +08:00
Eratosthenes
94bdc43deb Tables_Demo to work with new Tables stuff. Find Tour tables better. 2010-12-03 11:51:18 -05:00
Worros
8d8f604d12 Party: Make Party Stud H/L partially recognised 2010-12-03 18:13:07 +08:00
Worros
89990628af Regression: Add NLHE Party.fr hand sample 2010-12-03 15:38:41 +08:00
Worros
1e749d3cf3 Tourney Player Viewer fix for Bugid 0000050
SQL case statements only divided by 100 if the currency was USD.

This is a temporary fix - what we probably want is WHEN tt.currency != PLAY or FPP
2010-12-03 12:34:58 +08:00
Worros
9b629a467a Stove: Rename range to h_range
range is a resvered word in Python.
2010-12-03 11:46:15 +08:00
Worros
b83242622a Stove: Fix card expansion, move a function or two 2010-12-03 11:14:51 +08:00
Eratosthenes
6f6d27d1fd Merge /home/reb402/workspace/free_poker_tools 2010-12-02 18:04:30 -05:00
Eratosthenes
8942778f8c Some cleanup. Minor refactor. Prep for some changes. 2010-12-02 18:04:13 -05:00
Worros
634d102325 Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-12-03 00:25:44 +08:00
Worros
a79dbd8f1b Party: First pass at Party.fr support
The USD regression test files show no change in parse problems - 3 files still fail
2010-12-02 17:40:24 +08:00
Chaz
925db93157 * Added 'cacheSessions' flag
* Added a cacheSessions update call to import_file_dict() in fpdb_import.py
* Added updateSessionsCache() method to Hands
* Added storeSessionsCache() to Database --- WORK IN PROGRESS and set to pass
TO DOs
- add sessions queries to SQL
- complete storeSessionsCache() so it works like we've discussed (save for adding sessionId to HP)
- add SessionsCache keys
- add SessionsCache to the default table creation and deletion methods in Database.py
- update storeSessionsCache() and all the relevant db & sql code so it writes a sessionId to HP
2010-12-02 01:58:02 -05:00
Chaz
a7f3b1326f Added some logic so the importer won't try to send hands to HUD when HudCache is generated from the command line 2010-12-02 00:40:31 -05:00
Chaz
cbd6aa242e Added the 'cacheSessions' config option 2010-12-02 00:35:18 -05:00
Chaz
5a2fcea9df turns out the the '+0' is for indexing and has nothing to do with NULLS so I put it back in 2010-12-02 00:27:03 -05:00
Worros
d48cf03aab Party: Remove reencoding to latin-1
This crashes the UTF files from Party.fr - removing
2010-12-02 13:23:10 +08:00
Worros
956182079f Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-12-02 11:35:47 +08:00
Worros
d2355c3ae8 FTPSummary: Add alternate Omaha label
Patch originally posted by patrask on IRC

http://hh.kallocain.se/FullTiltPokerSummary.py.patch
2010-12-02 11:27:06 +08:00
Chaz
5fd3dddf2b * update_hudcache wasn't updating existing cashgame records because it was trying to match a NULL tourneyTypeId with a %s None value. Changed the logic of the SQL to handle this situation. It appeared like someone had tried to handle this by adding '+0' to the NULL record but it doesn't work.
* Deleted the attempted '+0' NULL value handling for gametypeId. gametypeId should never be null as an error would have already been thrown before it was inserted
2010-12-01 16:35:38 -05:00
Chaz
68b92b5130 Incremented the db version up to 146 and fixed 1 bug 2010-12-01 16:18:30 -05:00
Erki Ferenc
f94408c881 l10n: updated Hungarian translation 2010-12-01 19:54:53 +01:00
Eratosthenes
ccb3e9edfe Merge /home/reb402/workspace/free_poker_tools 2010-12-01 01:55:03 -05:00
Eratosthenes
a80f18e2b1 Resize HUD when client is resized. Clean up idle functions. 2010-12-01 01:54:42 -05:00
Eratosthenes
62ea67aac5 Fix permissions on HUD_main.pyw, again. 2010-11-30 23:26:35 -05:00
Eratosthenes
fa32ed8c46 Fix problem with multiple tables from same tournament. 2010-11-30 18:33:44 -05:00
Chaz
e0f76a508c reverted HudCache styleKey to include only YYMMDD - however, it now stores the d000000 date based off the tz & offset 2010-11-30 14:05:28 -05:00
Eratosthenes
0d79fe8f09 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-11-30 12:14:58 -05:00
Eratosthenes
d8f36ba777 Add cheat sheet info. 2010-11-30 11:14:37 -05:00
Worros
07fc254cdb Stove: Remove unnecessary returns 2010-11-30 15:36:35 +08:00
Worros
775b19e7d5 Stove: shift content of parse_args into Stove object
Quick test - still functions correctly on the command line
2010-11-30 15:33:13 +08:00
Worros
e1b1d06ec7 Stove: Rename Holder to Stove
Remove some debug code, and structure cli interface in the same way as other fpdb modules
2010-11-30 15:16:01 +08:00
Worros
404cccb1d9 GuiStove: Add Stud and Draw tabs 2010-11-30 15:13:08 +08:00
Eratosthenes
3f2e1dc0ee Fixed intermittent hanging in foreign_new method. 2010-11-30 01:26:41 -05:00
Steffen Schaumburg
35b5794813 update version in GUI 2010-11-29 22:22:03 +01:00
Chaz
c6802484cb Updated init_hud_stat_vars() so that it no longer requires Filters.py for the offset calculations 2010-11-29 15:20:05 -06:00
Steffen Schaumburg
44557f5666 update l10n 2010-11-29 21:42:00 +01:00
Worros
5232cf4866 Carbon: Fix regression test parse 2010-11-29 21:34:47 +01:00
Worros
cbdfaf62a7 Session Viewer: Add a warning dialog on loading 2010-11-29 21:34:21 +01:00
Eric Blade
2d0ea89b9a comment 2010-11-28 20:24:39 -05:00
Eric Blade
99535cddbb cleanups 2010-11-28 20:15:09 -05:00
Eric Blade
7b1143a6ff make "source" argument to interlocks.acquire mandatory 2010-11-28 20:04:32 -05:00
Eric Blade
e5782dd736 some cleanups and comments 2010-11-28 20:00:56 -05:00
Eric Blade
336fee0f3d oops 2010-11-27 20:36:42 -05:00
Eric Blade
7402c57eb1 --hidden --minimized 2010-11-27 20:35:34 -05:00
Eric Blade
e2b86eb239 Add --autoimport command argument 2010-11-27 19:32:28 -05:00
Eric Blade
f94ad0126a add --xloc and --yloc options for specifying where to start windows at 2010-11-27 19:16:15 -05:00
Eric Blade
2990e5856d Button changes immediately after pressing it instead of waiting until the pipe is ready.
Terminates HUD process rather than asking it to close
2010-11-27 18:34:30 -05:00
Eric Blade
e5f4f5710d read_stdin: return if fail to find table, rather than continue along, also trap KeyError at end of func when checking tournament tables.
(maybe this'll finally fix the hud locking up on table close sometimes?)
2010-11-26 23:13:14 -05:00
Eratosthenes
e30989a852 Fix odd intermittent problem with HUD not opening. 2010-11-26 22:10:51 -05:00
Eratosthenes
a8f12db7f7 Clean up unused imports. 2010-11-26 21:01:34 -05:00
Eratosthenes
cdd987483f Don't put HUD on UB replayer window. 2010-11-26 21:01:01 -05:00
Eric Blade
bfa3cfc20c check for AttributeError at new window_foreign_new call 2010-11-26 18:51:25 -05:00
Eric Blade
c40312b98b Merge branch 'master' of git://git.assembla.com/fpdb-eric 2010-11-26 18:17:39 -05:00
Eric Blade
622b350795 Revert "Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz"
This reverts commit 61ac6be0fa, reversing
changes made to 18df2ef2c6.

Conflicts:

	pyfpdb/SQL.py
2010-11-26 18:15:28 -05:00
Eric Blade
7c4d08833b add strptime to Database 2010-11-26 16:57:47 -05:00
Eric Blade
5e04f32519 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-11-26 09:14:25 -05:00
Worros
9098c3ba03 Regression: Party PLO tourney 2010-11-26 13:38:39 +08:00
Worros
31da6ff170 Winamax: Pull in tournament support from Forrest
Also add tournament directory to regression test file
2010-11-26 12:45:41 +08:00
Worros
122b47e183 Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-11-25 20:45:35 +08:00
Worros
b017fa298d Carbon: Fix regression test parse 2010-11-25 20:11:19 +08:00
Chaz
21ac5229cb Fixed styleKey char length to 9 2010-11-25 02:36:34 -06:00
Chaz
872ea008dd Updated database version to 145 2010-11-25 02:35:50 -06:00
Worros
61ac6be0fa Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-11-25 11:31:15 +08:00
Chaz
9137347acb Just fixed a few bugs 2010-11-24 15:20:48 -06:00
Chaz
9bb58ca779 Adds the worker id command line option 2010-11-24 15:16:09 -06:00
Chaz
ead567c5cc * Added encoding error handling and the ability to identify the worker responsible for splitting a particular file if several were launched via threading 2010-11-24 15:13:26 -06:00
Chaz
92c8e68914 It's actually an OSError, not an IOError 2010-11-24 14:53:53 -06:00
Chaz
43ec9498e8 Just renamed the new regression file 2010-11-24 14:51:13 -06:00
Chaz
b820cd4895 * Old Stars HHs don't display max seats. Added regression-test-file showing this and handling in the Stars HHC 2010-11-24 14:49:39 -06:00
Chaz
8026ba256a It's %H, not %h 2010-11-24 14:41:12 -06:00
Chaz
ee926ac9ca * Modified init_hud_stat_vars() so that it uses the timezone & day_start offset from Filters.py 2010-11-24 14:18:42 -06:00
Chaz
ac4cae5abf * Updated the methods, variables, and SQL in Database.py and SQL.py to add Hours to the HudCache.styleKey field 2010-11-24 14:14:29 -06:00
Forrest
18df2ef2c6 add a regression test file for winamax tourney 2010-11-24 14:06:43 +08:00
Worros
d3f07aae45 Stove: Mockup interface for a Stovelike EV calculator page 2010-11-24 11:30:13 +08:00
Eratosthenes
674fda6911 Merge branch 'master' of git://git.assembla.com/fpdb 2010-11-23 16:57:07 -05:00
Eratosthenes
9d89f9807e Make HUD_main.pyw executable, again. 2010-11-23 16:56:41 -05:00
Worros
aa31a4d67b Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-11-23 13:00:58 +08:00
Worros
ea72ce8201 Merge branch 'master' of git://git.assembla.com/fpdb 2010-11-23 13:00:44 +08:00
Worros
ac2937dc78 Session Viewer: Add a warning dialog on loading 2010-11-23 12:59:23 +08:00
Eratosthenes
2f72f5416e Handle tourney table changes and closures. 2010-11-22 16:37:37 -05:00
Worros
ba1b15048b fpdb.pyw: Fix comment 2010-11-22 13:28:25 +08:00
Steffen Schaumburg
da800b7abb restore HUD executable flag 2010-11-22 04:25:31 +01:00
Steffen Schaumburg
a45a7fafe9 Merge branch 'carl' 2010-11-20 09:06:25 +01:00
Steffen Schaumburg
e53e386346 add TODO to gettextify stove 2010-11-20 09:05:52 +01:00
Worros
ca86a2c643 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-11-19 08:34:39 +08:00
Worros
8368a002ff Regression: TS file for FTP - Hero losing 2010-11-19 08:11:25 +08:00
Eric Blade
742347c5c7 undo my last change as it breaks merge 4.x 2010-11-18 17:54:19 -05:00
Eric Blade
eafbc2b2b8 Merge branch 'master' of git://git.assembla.com/free_poker_tools.git 2010-11-18 17:45:51 -05:00
Eric Blade
990e3d2ed1 remove spurious ( ) from carbon/merge hh detection 2010-11-18 17:44:56 -05:00
Worros
bccadd2a4d Stove.py: Command line pokerstove like application.
Build on top of pypoker-eval, grabbed unchanged from Bostiks other OS project 'pokerstats'

http://bostik.iki.fi/pokerstats/
2010-11-18 13:09:38 +08:00
Eratosthenes
3670050abe Reenable following of dragged client window. 2010-11-17 23:36:59 -05:00
Eric Blade
fa3883e955 Merge branch 'master' of git://git.assembla.com/free_poker_tools.git 2010-11-16 20:06:48 -05:00
Eric Blade
db467b5957 Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-11-16 20:06:07 -05:00
Eric Blade
75633bb5fb Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-11-16 20:04:45 -05:00
Worros
a33a947dee Absolute: Fix more ',' breakage 2010-11-16 12:59:00 +08:00
Worros
55aa2df1de Stars: Fix AAMS portion of GameInfo regex.
Somewhere along the line I removed the ? making it optional.
2010-11-16 12:50:36 +08:00
Worros
41da3e6f65 Absolute: Deal with ','s in Action, Antes and Collect 2010-11-16 12:07:08 +08:00
Worros
147cc6c950 Absolute: Deal with ','s in blinds 2010-11-16 11:57:09 +08:00
Worros
d69c9dc33f TSI: Add FTP support 2010-11-15 14:24:31 +08:00
Worros
9c2c18f5ca TourneySummary: Add alternate lookup for FTP 2010-11-15 13:40:57 +08:00
Worros
bc55042ed4 Configs: Add FTP summary parsing defaults 2010-11-15 13:40:10 +08:00
Worros
f7f8122af8 GTI: Add utf16 file handling 2010-11-15 13:39:36 +08:00
Worros
a4885243de Stars: Fix re_GameInfo to parse AAMS section of .it hands
Only have the one example from a Tournament hand:

PokerStars Game #52486342403: Tournament #324732603, €0.82+€0.18 EUR Hold'em No Limit - Level I (10/20) [AAMS ID: L284A006CB1E33ZO] - 2010/11/10 20:59:53 CET [2010/11/10 14:59:53 ET]

Hopefully the same for cash games
2010-11-13 12:04:13 +08:00
Eratosthenes
bb4b61a3d9 Comment old windows only Table moving function. 2010-11-12 15:08:04 -05:00
Steffen Schaumburg
9468bde50b Merge branch 'nuto' 2010-11-12 20:40:29 +01:00
Eratosthenes
50b7fd31a0 Comment out table watching due to bug under windows. 2010-11-12 14:37:47 -05:00
Steffen Schaumburg
c794be1b12 Merge branch 'nuto' 2010-11-12 18:53:18 +01:00
Eratosthenes
c7ce6c3745 Doh! Make executable. 2010-11-12 11:03:30 -05:00
Eratosthenes
790e26ff1d Fix for UC table names on Windows. 2010-11-12 11:02:21 -05:00
Eratosthenes
215ec63080 Test xlib on X systems to diagnose HUD problems. 2010-11-12 09:08:18 -05:00
Worros
d895ab0d21 Regression: PartyPoker NLHE cash hand and .hp 2010-11-12 11:12:18 +08:00
Worros
2fa08aa263 Regression: NLHE Sample file for Win2day 2010-11-12 10:41:54 +08:00
Steffen Schaumburg
032e25788a Merge branch 'carl' 2010-11-11 19:51:05 +01:00
Steffen Schaumburg
43a32ebd8f Merge branch 'nuto' 2010-11-11 15:56:03 +01:00
Worros
61d5ffec4b Regression: Remove UB file with modified filename.
File was already copied over to the original UB format
2010-11-11 18:31:24 +08:00
Worros
ee65248ff1 THP: Add Win2day support 2010-11-11 18:31:10 +08:00
Worros
adf380f22b Regression: Win2day .hp file + rename 2010-11-11 18:25:54 +08:00
Worros
323b0856b6 PSS: Fix Stars summary import to deal with slightly modified format
Stars now includes the currency (ie. USD) on two lines
2010-11-11 18:25:06 +08:00
Worros
8faeb49de2 Regression: Win2day PLO Sample 2010-11-11 18:22:14 +08:00
Worros
1f3855c717 Regression: Stars local summary file format for tourneys 2010-11-11 17:58:18 +08:00
Eric Blade
967e1ff2c4 Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-11-11 04:27:49 -05:00
Worros
1b375af181 TSI: Add a couple of lines of text to mark output more clearly 2010-11-11 15:09:09 +08:00
Worros
17bd4f3954 GTI: Cleanup
Remove a series of debug messages

Add some code to remove heading or trailing characters after the split
2010-11-11 14:59:18 +08:00
Worros
e8155123b2 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-11-11 14:02:01 +08:00
Worros
8c3e3b5795 New test script: TestSummaryImport
Almost a direct copy of THP to assist in regression testing summary import formats
2010-11-11 13:59:26 +08:00
Eratosthenes
b9f77e1bdb Fix table match for Winamax. 2010-11-10 23:26:55 -05:00
Eratosthenes
2dcc39cdfc Merge branch 'master' of git://git.assembla.com/fpdboz 2010-11-10 18:11:20 -05:00
Worros
c922f9cd2f Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-11-11 00:29:07 +08:00
Worros
e218e0c5c9 Absolute: Fix another tourney file name variant 2010-11-11 00:28:29 +08:00
Eratosthenes
ee58199742 UB U/C table names now match normal case title bars. 2010-11-10 11:12:09 -05:00
Worros
7e1fa36b3a GTI: Add command line interface for Tourney Sumary import 2010-11-10 19:23:03 +08:00
Erki Ferenc
373436822e l10n: updated Hungarian translation 2010-11-10 10:26:55 +01:00
Worros
31843deafe Revert "calendar displays current entry value"
This reverts commit f78044e4c1.

Conflicts:

	pyfpdb/Filters.py
2010-11-10 16:36:58 +08:00
Worros
8da12d91a8 Regression: Stars NLHE HU SnG 2010-11-10 15:20:40 +08:00
Worros
e085d4759b Regression: Add Stars MTT summary file 2010-11-10 15:05:11 +08:00
Worros
891731706e Regression: actually delete renamed Absolute NLHE file 2010-11-10 13:52:48 +08:00
Worros
574f864734 Absolute: Partial fix for Freeroll tourney 2010-11-10 13:52:24 +08:00
Worros
bf38593127 Regression: Rename Aboslute HHs to standard original
Absolute HHC requires the filename
2010-11-10 13:46:45 +08:00
Worros
a4facf0c2a Filters: Fix date defaults when no hands inserted 2010-11-10 12:46:48 +08:00
Worros
1a96892ec4 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2010-11-10 11:56:57 +08:00
Worros
e1d4e8fc6d Merge branch 'master' of git://git.assembla.com/fpdb 2010-11-10 11:56:35 +08:00
Worros
07e6816744 HUD_example: add summaryImporter to Stars 2010-11-10 11:54:33 +08:00
Worros
7e97eeedc2 HUD_test: add Stars summaryImport to test config 2010-11-10 11:51:17 +08:00
Worros
c0b1b8b8a7 Config: Add summaryImporter element to hhc 2010-11-10 11:50:29 +08:00
Worros
281aaf7545 fpdb.pyw: Update menu to call tourney import 2010-11-10 11:49:49 +08:00
Steffen Schaumburg
b258ae6258 activate PS draw tourneys (tested FL, assume PL/NL work since they apparently do in cash games) 2010-11-09 23:18:44 +01:00
Steffen Schaumburg
1dd52fb885 rename tourney player stats to tourney stats 2010-11-09 22:42:40 +01:00
Worros
1c81df21ce GuiTourneyImport: First pass at a 'Bulk Importer' for Tourney Summaries 2010-11-09 20:29:13 +08:00
Worros
a39b4704e6 TourneySummary: Add ability to create a db object if passed None 2010-11-09 20:08:15 +08:00
Worros
9dea6cc8e3 TourneySummary: Remove unused function 2010-11-09 17:53:10 +08:00
Worros
4916d65e7b UltimateBet: Rename files
Turns out the parser requires some filename information
2010-11-09 15:29:46 +08:00
Worros
60c5571068 Absolute: Partial fix for tourneys 2010-11-09 14:03:55 +08:00
Worros
f0cb9cf5a4 Absolute: Update some error handling
Fix so log file and stdout both get a descriptive error message
2010-11-09 13:45:27 +08:00
Eric Blade
aa0de0344d finish fix for 4-max 2010-11-07 20:12:21 -05:00
Eric Blade
50246d04ea Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-11-07 20:09:39 -05:00
Eric Blade
02fdcf307e reset AP/UB horse games to 8 seat
support Everleaf 4-seat (need a layout, i can't get into the games)
2010-11-07 20:08:56 -05:00
Steffen Schaumburg
0972e62e76 i10n: update pot/po/mo files 2010-11-07 14:36:30 +01:00
Steffen Schaumburg
ae418add15 Merge branch 'carl' 2010-11-07 14:34:48 +01:00
Steffen Schaumburg
8b01daac83 add a comment into Abs that it supports UB 2010-11-07 14:34:35 +01:00
Worros
58b111b7ed UB: Remove parser - Absolute is able to parse these files 2010-11-07 20:55:57 +08:00
Worros
ed6d21dbbf THP: Add Absolute to list of files tested 2010-11-07 20:00:34 +08:00
Worros
8a797bd0e6 Regression: Absolute NLHE cash hh + .hp 2010-11-07 18:39:13 +08:00
Worros
f4ea9778b8 Regression: UB NLHE hand and .hp 2010-11-07 18:29:28 +08:00
Worros
1b32760760 Absolute: Remove spurious return 2010-11-07 18:16:04 +08:00
Worros
4b15ca0cad FTP: Badugi support 2010-11-07 16:52:23 +08:00
Worros
55b272435d FTP: Add pl and nl support for 5 Card Draw 2010-11-07 16:48:04 +08:00
Worros
23799f25b1 HHC: Change log message from info to error 2010-11-07 16:44:17 +08:00
Worros
0a76ea545b Regression: FTP Limit 3 Draw sample 2010-11-07 16:27:28 +08:00
Worros
5b6997c097 Merge branch 'master' of git://github.com/grindi/fpdb-grindi 2010-11-07 15:24:02 +08:00
Worros
208db43266 FTP: Limit 5 Card Draw support. 2010-11-07 15:16:02 +08:00
Worros
616f84fddd FTP: Add support for 2-7 Triple draw (limit only) 2010-11-07 14:27:03 +08:00
grindi
709534060c Absolute hhc: fixes 2010-11-06 01:48:29 +03:00
Worros
86ded8ed23 Regression: Stars CAP NL, with .hp stats for regression 2010-11-05 17:19:26 +08:00
Worros
0ddd05562d Regression: Add Stars NLHE HUSnG 2010-11-05 16:11:52 +08:00
Worros
450a963371 HUD_Main; Remove some whitespace and fix permissions 2010-11-04 20:07:17 +08:00
Worros
ec8cd9f785 Merge branch 'master' of git://github.com/grindi/fpdb-grindi 2010-11-04 20:06:02 +08:00
Worros
bcc97636a6 Stars: Fix CAP lines where the cap is reached 2010-11-04 19:59:16 +08:00
Worros
a07eb96d3c Merge branch 'master' of git://git.assembla.com/fpdb 2010-11-04 18:33:07 +08:00
Worros
b3f9ae253f Stars: Make parser ignore Cap limit
Header looks like:

PokerStars Game #52129212872:  Hold'em No Limit ($0.25/$0.50 - $10 Cap -  USD) - 2010/11/03 23:45:32 CET [2010/11/03 18:45:32 ET]
2010-11-04 18:31:14 +08:00
grindi
79bfc8587e Absolute hhc: fixes, cleanups, basic trny support 2010-11-04 12:57:39 +03:00
grindi
d09aa716f4 Merge branch 'master' of git://git.assembla.com/fpdb
Conflicts:
	pyfpdb/PartyPokerToFpdb.py
2010-11-03 19:57:06 +03:00
grindi
f5b52190ab Make Party hhc to regonize non-english hh 2010-11-03 19:54:03 +03:00
steffen123
ce7b61bbd5 Merge branch 'eric' 2010-10-30 11:56:48 +02:00
Worros
c79c4027c8 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2010-10-29 15:49:58 +08:00
Eric Blade
25eeca1e48 Everleaf support for 8-max 2010-10-28 19:52:33 -04:00
Worros
346d657e55 Winamax: Regression test file.
NLHE - All-in where biggest stack wins
2010-10-25 14:18:03 +08:00
steffen123
68f7ae1347 Merge branch 'carl' 2010-10-24 22:01:45 +02:00
steffen123
4cb59175f7 add missed _() 2010-10-24 22:01:40 +02:00
steffen123
cc5aaa14aa change to support py25 2010-10-24 21:40:04 +02:00
Worros
2d52b8d815 Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-10-14 12:37:10 +08:00
Worros
83b1a41c6e Regression: Verify and fix Stars.hp file after raisedFirstIn fix
denny501 was the bringin - so no opportunity
s0rrow was 'utg' and limped (bad s0rrow *smack*)
2010-10-13 18:25:18 +08:00
Worros
ccb116ceda DerivedStats: Fix raiseFirstInChance and raisedFirstIn for stud
The previous calculation didn't correctly deal with the 'complete' and 'bringin' actions, with bringin being markes as raisedFirstIn = True

Reduced regression test errors, but triggered some in unverified file.

---------------------
Total Errors: 22
---------------------
Likely offenders:
(  2) : regression-test-files/cash/Stars/Stud/7-StudHL-USD-0.04-0.08-200911.Cardtest.txt

(  2) : raiseFirstInChance
(  1) : street1CBChance
(  1) : street1CBDone
2010-10-13 18:15:14 +08:00
Worros
f244f8a37d DerivedStats: Merge Flop and stud position calculation
No regressions using test suite

---------------------
Total Errors: 29
---------------------
No position errors in stat listing
2010-10-13 18:05:41 +08:00
Worros
cfc2be559e DerivedStats: Remove incorrect comment from positional calc 2010-10-13 17:53:23 +08:00
Worros
a71f682803 DerivedStats: adjust street0VPI for stud
Add complete as one of the actions that count as VPIP
2010-10-13 17:47:00 +08:00
Chaz
0f9709390e Replaced -i infile with -f file in Options.py and replaced options.infile with options.filename in SplitHandHistory.py, Anonymise.py, and ImapFetcher.py 2010-10-13 02:23:41 -04:00
Chaz
b0cf6d3cb0 removed -f filename from Options.py and replaced its use in SplitHandHistory.py with -i infile 2010-10-13 02:18:36 -04:00
Worros
921249af43 Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-10-13 14:15:32 +08:00
lastpoet
6e00ba9d78 add date boundaries in filters 2010-10-13 14:08:48 +08:00
lastpoet
f78044e4c1 calendar displays current entry value
calendar inits from db if empty
2010-10-13 14:07:16 +08:00
Chaz
fa3f878c3a * Migrated commandline options to Options.py
* Added a EOF exception
* Fixed a few error handling issues
2010-10-13 01:51:57 -04:00
Chaz
f97c1da3b9 Migrated SplitHandHistory.py commandline options to Options.py 2010-10-13 01:48:35 -04:00
Chaz
b08081e419 Added a FpdbEndOfFile error for use in SplitHandHistory.py 2010-10-13 01:47:28 -04:00
Chaz
6ce42df734 Fixed a re matching problem for sites (OnGame, Carbon) which include char after the newline in re_SplitHands 2010-10-12 22:47:22 -04:00
Chaz
d517606a59 Added SplitHandHistory module which can be used to split up hand histories (archive & non-archive) into smaller files of n hands each (useful in limitied memory situations). Module contains a SplitHandHistory class and a command line utility. 2010-10-12 21:00:08 -04:00
Eric Blade
970b88349b hud doesn't crash when mixing cash/tourney 2010-10-12 02:23:56 -04:00
Chaz
6202d02dbc Module containing a class that identifies the site a particular hand history, or directory of hand histories came from. Includes a main method which id's the regression files. 2010-10-12 01:08:32 -04:00
Eric Blade
5643aeca62 fix another bad debug log 2010-10-11 23:42:05 -04:00
Chaz
388bec04dd Removed Partouche from <hhcs> in the config files 2010-10-11 22:37:59 -04:00
Eric Blade
25e03489fe fix error in logging mechanism, remove a debug print 2010-10-11 22:23:06 -04:00
Eric Blade
fed287334a further fixing in WinTables for dealing with a window that has disappeared 2010-10-11 18:40:58 -04:00
Eric Blade
bad3fac16e Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-10-11 18:25:20 -04:00
Eric Blade
867a1526c5 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-10-11 18:24:32 -04:00
Eric Blade
fb206dfde6 actually import _mysql_exceptions before trying to test against it 2010-10-11 18:23:22 -04:00
Eric Blade
dc215a5d01 reflow get_geometry some, pep8 2010-10-11 18:22:55 -04:00
steffen123
2e39cb5546 try to fix eric's FT Tourney prob 2010-10-12 00:20:37 +02:00
Worros
746e4b4871 Stars: Make play money hands parse again 2010-10-11 16:40:15 +08:00
Worros
295cc25259 Merge branch 'master' of git://git.assembla.com/fpdb 2010-10-11 15:07:40 +08:00
lastpoet
487330fc57 remove tooltips on headers 2010-10-11 15:06:05 +08:00
steffen123
43a5fb0f74 Merge branch 'carl' 2010-10-10 17:48:54 +02:00
steffen123
6b0b9cbf51 gettextify treeviewtooltips and add fpdb notice 2010-10-10 17:48:23 +02:00
steffen123
f642a1cf03 gettextify new tooltips 2010-10-10 17:42:06 +02:00
steffen123
b0dd8cb36f l10n: some missing gettexts in winamax 2010-10-10 17:29:52 +02:00
steffen123
dfd47cfbfb unify some strings and remove misleading comment 2010-10-09 14:02:39 +02:00
Worros
19a32943d8 Hand: Move assemble() function up into select() 2010-10-09 15:27:58 +08:00
Worros
284021f207 Regressio: Stars PL 5 Card Draw Sample 2010-10-09 13:07:11 +08:00
Worros
e80045d4d2 Regression: Add Stars NL 5 Card Draw 2010-10-09 12:59:26 +08:00
Worros
98153e1dc0 Merge branch 'master' of git://github.com/lastpoet/fpdb-lastpoet 2010-10-08 21:42:04 +08:00
lastpoet
ced499afd0 Treeviwe Tooltips class 2010-10-08 14:16:11 +01:00
lastpoet
9d827ee3fd Add tooltips explaining stats 2010-10-08 14:15:29 +01:00
Worros
c5f7034bf3 HUD_config.test: saveActions to True 2010-10-08 18:18:25 +08:00
Worros
9821899add THP: Remove PKR from the list.
PKR converter is currently very broken, so switching it off in regression tester.

Current output from THP:

---------------------
Total Errors: 30
---------------------
PokerStars:
(  1) : regression-test-files/cash/Stars/Flop/LO8-6max-USD-0.05-0.10-20090315.Hand-cancelled.txt
(  8) : regression-test-files/cash/Stars/Flop/NLHE-6max-USD-0.05-0.10-200912.Allin-pre.txt
Full Tilt Poker:
(  1) : regression-test-files/cash/FTP/Flop/NLHE-USD-0.05-0.10-201006.Player.sitting.out.but.acting.txt
( 13) : regression-test-files/cash/FTP/Stud/7-Stud-USD-3-6-20106.Steal.from.Button.Failure.txt
Party Poker:
(  1) : regression-test-files/cash/PartyPoker/Flop/NLHE-USD-0.01-0.02-20100712.emailedHistory.txt
(  1) : regression-test-files/tour/PartyPoker/Flop/NLHE-USD-STT-unknownBuyIn-20100713.emailedHistory.txt
(  1) : regression-test-files/cash/PartyPoker/Stud/7-StudHL-USD-0.50-1.00-201008.txt
Betfair:
OnGame:
Absolute Poker:
(  1) : regression-test-files/cash/Absolute/Stud/7-StudHL-USD-0.02-0.04-200903.River.with.mucked.txt
Everleaf Poker:
Carbon:
(  1) : regression-test-files/cash/Carbon/Flop/NLHE-9max-USD-0.25-0.50.200810.All.Streets.txt
PKR:
iPoker:
Winamax:
(  2) : regression-test-files/cash/Winamax/Flop/PLO-FR-EUR-0.02-0.05-201009.Real.side.pot.with.bad.collected.txt

---------------------
Errors by stat:
---------------------
(  1) : foldSbToStealChance
(  1) : raisedFirstIn
(  1) : street0VPI
(  1) : street0_3BChance
(  1) : street0_4BChance
(  1) : street0_4BDone
(  1) : street1CBChance
(  1) : street1CBDone
(  1) : wonWhenSeenStreet3
(  2) : rake
(  2) : street1Seen
(  2) : street2Seen
(  2) : street3Seen
(  6) : Parse
(  7) : raiseFirstInChance
2010-10-08 16:18:23 +08:00
Worros
6b56ab056c Regression: wonWhenSeenStreet2/3 fix
cash/Carbon/Flop/NLHE-9max-USD-0.25-0.50.200810.All.Streets.txt

Hand is actually all-in on the Turn.

1 fix for wonWhenSeenStreet2
1 error for wonWhenSeenStreet3 (known issue with all-in hands)
2010-10-08 16:12:13 +08:00
Worros
372cebf84a Regressioa: wonWhenStreet2/3 fix
FTP/Flop/PLO-6max-USD-0.01-0.02.201003.River.Showdown.txt

Timoha777 won on the river. Verified.
2010-10-08 15:49:42 +08:00
Worros
0d88d0bd37 Regression: wonWhenSeenStreet2 fix
Stars/Flop/PLO8-9max-USD-0.01-0.02-20100829.No.VPIP.from.posted.bb.txt

verified toxic7 won the hand on the Turn
2010-10-08 15:43:32 +08:00
Worros
5e4e5a5342 Regression: wonWhenSeenStreet2/3/4 fix
Stars/Stud/7-StudHL-USD-0.04-0.08-200911.Cardtest.txt

    s0rrow verifed.
    Wins hand and sees all 4 stud streets (won the low)
2010-10-08 15:29:14 +08:00
Worros
943009c9f6 Regression: wonWhenSeenStreet2/3/4 fix
Stars/Stud/7-StudHL-USD-0.04-0.08-200911.Cardtest.txt

gashpor verifed.
Wins hand and sees all 4 stud streets
2010-10-08 15:24:43 +08:00
Worros
b49bf69823 Regression: wonWhenSeenStreet2/3 fix.
Winamax/Flop/PLO-FR-EUR-0.02-0.05-201009.Real.side.pot.with.bad.collected.txt
Player3 verified - wins hand and sees all streets
2010-10-08 15:16:47 +08:00
Worros
17e23c99d0 DerivedStats: Adjust wonWhenSeenStretX
Code looks trivial and correct.

Causes 13 regressions that need to be reviewed.

Total Errors: 48
(  7) : wonWhenSeenStreet2
(  4) : wonWhenSeenStreet3
(  2) : wonWhenSeenStreet4
2010-10-08 15:12:22 +08:00
Worros
018b806cf3 Winamax: Bring 90% in line with Forrest.
Still fails 2 regression tests for rake, but that is the fault of DerivedStats - not Winamax
2010-10-08 14:56:32 +08:00
Worros
717c1e61bc Winamax: Make my version much closer to Forrests 2010-10-08 12:26:24 +08:00
Worros
d8e3c1418e Merge branch 'master' of git://git.assembla.com/fpdb-eric 2010-10-07 22:12:08 +08:00
Eric Blade
120ebf4b40 readSupportedGames should return [ring/tour, base-type, limit-structure], not [ring/tour, category, limit-structure]
add PL holdem/omaha tourney support for everleaf
2010-10-07 08:34:36 -04:00
Eric Blade
7615f2429b Add Everleaf FLHE Tournament support 2010-10-07 08:13:21 -04:00
Eric Blade
4613f64f8b Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-10-07 07:41:19 -04:00
Worros
b9420f7066 THP: Add Winamax 2010-10-07 15:12:06 +08:00
Worros
b924c81ea0 Regression: Test data for Winamax PLO file.
Manually edited the file to correct rake and winnings
2010-10-07 14:34:53 +08:00
Worros
1e3e7e4bb4 Regression: Winamax with a real and problematic side pot
*** FLOP *** [Kc Jd 7h]
Player7 checks
Player10 bets 1.40€
Player22 folds
Player25 calls 1.18€ and is all-in
Player5 folds
Player7 calls 0.72€ and is all-in
*** TURN *** [Kc Jd 7h][9c]
*** RIVER *** [Kc Jd 7h 9c][Js]
*** SHOW DOWN ***
Player7 shows [Ad Jc Jh 6c] (Quads of Jack)
Player25 shows [9s Kh 3d Ks] (Full of King and Jack)
Player10 shows [7c 7d 6h 8s] (Full of 7 and Jack)
Player10 collected 0.22€ from side pot 2
Player25 collected 0.88€ from side pot 1
Player7 collected 3.38€ from main pot

Player10 actually lost the hand, but is marked as winning 0.22

Player25 and Player7 both won money
2010-10-07 14:21:37 +08:00
Worros
53afa4f98e Regression: .hp file for Winamax NLHE
Manually edited so that the rake for Player3 is correct, and Player8 doesn't actually 'win'
2010-10-07 13:43:00 +08:00
Worros
2a68fbf46e Winamax: NLHE regression test file 2010-10-07 13:37:06 +08:00
Worros
733b4f5594 AutoImport: Start refactor so it can run from the comand line 2010-10-07 13:02:36 +08:00
Worros
791ebba895 Database: Remove trainiling whitespace
Non functional patch. Brining the tree closer to Forrests
2010-10-07 11:45:31 +08:00
lastpoet
8b25c67ba9 basic optimisation in stats 2010-10-06 15:57:33 +01:00
lastpoet
a57483cfec remove stud from games list 2010-10-06 09:22:51 +01:00
Worros
1a80509bdf Config: Fix breakage from previous patch
PF3 was accidentally changed to PF9
2010-10-06 10:59:06 +08:00
Worros
3ecd014e0d Grapher, Configuration: Fix whitespace breakage. 2010-10-06 10:53:07 +08:00
Worros
2e2317d73f Merge branch 'master' of git://github.com/lastpoet/fpdb-lastpoet 2010-10-06 10:47:23 +08:00
Forrest
9645189ca8 add a longer regression file 2010-10-06 09:46:54 +08:00
Eric Blade
8f62b53891 Merge branch 'master' of git://repo.or.cz/fpbd-bostik.git 2010-10-05 20:24:05 -04:00
Eric Blade
c894e5e478 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-10-05 20:23:12 -04:00
lastpoet
f25bd33dcd merging refs/remotes/carl/master into HEAD 2010-10-05 18:38:58 +01:00
lastpoet
0469b80e44 Add name(s) and site(s) to the graph 2010-10-05 18:04:06 +01:00
lastpoet
e303123dfe explain defaults 2010-10-05 15:42:05 +01:00
Worros
a34b0fab18 Winamax: Fix markStreets regex 2010-10-05 17:17:39 +08:00
Worros
65d986d570 Winamax: Remove stud from supported list, remove debug 2010-10-05 16:44:34 +08:00
Worros
a4fedd22d8 Test config: add Winamax 2010-10-05 11:33:16 +08:00
lastpoet
88756b517b Add nice icon 2010-10-04 21:35:34 +01:00
lastpoet
21b6108345 Fix matplotlib warning
Harmonise matplotlib backend
2010-10-04 20:39:34 +01:00
steffen123
9ce2e8939b another change to guiautoimport 2010-10-04 16:23:21 +02:00
steffen123
e5a22b5188 remove parameter passed to a method that doesnt expect or need it (fix autoimport) 2010-10-04 16:11:17 +02:00
lastpoet
d69a2c4df4 fix main window and taskbar icon 2010-10-04 12:04:52 +01:00
lastpoet
0ef58bf367 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-10-04 11:12:11 +01:00
Eric Blade
e9de1a53cd Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-10-04 02:47:24 -04:00
Eric Blade
fa529e6e9e Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-10-04 02:46:48 -04:00
Worros
a125e77135 Grapher/Filters: Fix graph labels and whitespace
Remove some trailing whitespace from Antistffs patch.

Change format of Graph labels from:

Blah: $0.00 or Blah 0.00BB to
Blah($|BB): 0.00
2010-10-04 11:56:52 +08:00
danny
126eb0c0bc Added graphing improvements. 2010-10-04 08:54:20 +08:00
steffen123
c803619baa update l10n files 2010-10-03 10:00:16 +02:00
Erki Ferenc
03fcbce243 l10n: updated Hungarian translation 2010-10-03 01:26:52 +02:00
steffen123
aa2c8d3151 change default for saveActions to True as i consider the performance hit acceptable 2010-10-02 14:22:28 +02:00
steffen123
111a99f06b add french .mo file 2010-10-02 13:56:09 +02:00
steffen123
c961b49acb raise DB version for HA changes 2010-10-02 13:55:18 +02:00
steffen123
c818ee1479 update l10n files 2010-10-02 13:55:08 +02:00
steffen123
4bd5f3c23e Merge branch 'carl' 2010-10-02 13:40:13 +02:00
steffen123
9208f8ec28 activate french translation, update all l10n files 2010-10-02 13:33:25 +02:00
steffen123
1b272af2f7 add french translation from frederic prost 2010-10-02 13:13:20 +02:00
Eric Blade
fa3a9c54b8 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-10-01 22:20:32 -04:00
Worros
f4baaa42a7 HHC: Modify allHandsAsList() to remove trailing entry
Some HH formats leave dangling text after the split
ie. </game> (split) </session>EOL

Remove this dangler if less than 50 characters and warn in the log
2010-10-01 11:31:52 +08:00
Worros
56b268920d Betfair: Fix parse error from THP 2010-10-01 10:51:38 +08:00
Worros
9f64602338 Database, Importer: Convert print to log.info 2010-10-01 10:44:27 +08:00
Worros
1e0a1a6ad8 OnGame: Initial Draw support
No longer crashes on a Five Card draw hand
2010-09-30 18:01:47 +08:00
Worros
bbbf1ec4e6 OnGame: Initial stud support.
Added anough that it recognises the header and splits the streets correctly.
2010-09-30 17:53:52 +08:00
Worros
43edb615b0 SQL: Fix MySQL/Postgres Actions and HandsActions 2010-09-30 17:19:35 +08:00
Eric Blade
4de792a1eb Merge branch 'master' of git://git.assembla.com/fpdboz.git
Conflicts:
	pyfpdb/HUD_main.pyw
2010-09-30 01:46:48 -04:00
Worros
30e7c53f5c Winamax siteId change 2010-09-30 00:40:02 +08:00
Worros
9d712ba812 DerivedStats: Fix position calculation for holdem.
THP: Noted 65 additional issues with the position stat

Really need to merge the position calculation
2010-09-29 15:55:25 +08:00
Worros
dbbccc4ac6 Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-09-29 13:02:30 +08:00
Chaz
9c225a5b72 * Updated storeHandsPlayers() to insert via executemany() if 'saveActions' is False and via looped execute() to call get_last_insert_id() if 'saveActions' is True 2010-09-28 23:34:20 -04:00
Worros
a964b17de6 Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-09-29 10:11:16 +08:00
Chaz
76b2dec2b6 * updated _addRaise() so that it does in fact accept the action variable 2010-09-28 17:33:15 -04:00
Chaz
ae6a035834 * fixed a small issue in assembleHandsActions() 2010-09-28 17:23:44 -04:00
Chaz
0e9fb62b0d * added a call to the import_parameter 'saveActions' in Hand.py, saving it's value in the variable Hand.saveActions
* added logic to Hand.import() so that it only calls db.storeHandsActions if saveActions is true
* added logic to DetailedStats.getstats() so that it only calls assembleHandsActions() if saveActions is true
2010-09-28 17:17:15 -04:00
Chaz
030a15f041 * Filled assembleHandsActions() 2010-09-28 17:11:09 -04:00
Chaz
a76e34598d * Modified storeHandsPlayers() so it returns a dictionary of handId & playerId to handPlayerIds
* Filled storeHandsActions() with the required information
* Updated Hand.insert so that it calls storeHandsActions() and added the variable dbid_hpid to receive the new dictionary
2010-09-28 17:09:24 -04:00
Chaz
1b0db117ce * updated 'createHandsActionsTable' and 'store_hands_actions' in the SQL dictionary 2010-09-28 17:01:31 -04:00
Chaz
c1b2a0040c * Added HandsActions & Actions indexes & foreign keys to Database.py
* Added 'createActionsTable' to the SQL dictionary
* Updated create_tables so 'createActionsTable' would be called
* Updated dumpdatabase(), adding in u'Actions'
* Added action name & code info for filling the Actions table in FillDefaultData()
2010-09-28 16:59:37 -04:00
Chaz
94d4bf6ed5 * added ACTION dictionary for looking up actionId
* edited addAnte(), addBlind(), addCall(), addBet(), addBlind() (Draw), addDiscard() (Draw), 
addComplete() (Stud), and addBringIn() (Stud) to standardize element order and datatype
*  added a field to  _addRaise() which allows  addComplete() (Stud) to pass the 'compleates' action type
2010-09-28 16:50:33 -04:00
Worros
b14344aea6 Merge branch 'master' of git://ferki.hopto.org/fpdb 2010-09-28 22:47:34 +08:00
Worros
4f3f7570ab Party: Couple of mods to start support for Stud H/L 2010-09-28 22:47:04 +08:00
Erki Ferenc
bb0bb3c2dd l10n: fixed a typo 2010-09-28 15:56:02 +02:00
Erki Ferenc
d2f5633384 PartyPoker: improved handling of players with zero or unknown stacks 2010-09-28 15:46:51 +02:00
Worros
9e13930742 Hand: Whitespace changes from Forrest 2010-09-28 12:04:40 +08:00
Worros
f62201c8e9 HUD_main: L10n update 2010-09-28 11:59:10 +08:00
Worros
d299a19abc Merge branch 'master' of git://git.assembla.com/fpdb
Conflicts:
	pyfpdb/Hud.py
2010-09-28 11:43:42 +08:00
Worros
2d90fbf3b6 Winamax: L10n change 2010-09-28 11:41:27 +08:00
Worros
42067c0873 TableWindow: Remove whitespace breakage 2010-09-28 11:41:03 +08:00
Eric Blade
61d2c48da2 Merge branch 'master' of git://git.assembla.com/fpdb.git
Conflicts:
	pyfpdb/HUD_main.pyw
2010-09-27 16:15:54 -04:00
steffen123
2ecee26d99 Merge branch 'eric'
trivial conflict
2010-09-27 22:14:37 +02:00
Eric Blade
c325daf7f6 check_table_no deals with "None" passed to it 2010-09-27 07:34:25 -04:00
Eric Blade
df1cd4a15d fix syntactical issue in get_table_no 2010-09-27 07:29:34 -04:00
Eric Blade
ca967992b5 fix a comment 2010-09-27 07:11:16 -04:00
Eric Blade
b0056be03c further fixes to get stdout working in windows again 2010-09-27 07:10:13 -04:00
Eric Blade
baf47d476e fix for call to check_table_no now needing an argument 2010-09-27 05:56:52 -04:00
Eric Blade
bfec231b5d slight formatting changes to agree with PEP8 moar closely 2010-09-27 05:08:34 -04:00
Eric Blade
4b3fe3dfa2 fix conflicts between ray's new window move code and my old window move code
Ray: when you finish implementing yours, please adapt and/or disable Hud::update_table_position
2010-09-27 04:04:56 -04:00
steffen123
a29de2b533 Merge branch 'eric'
trivial conflict
2010-09-27 09:23:53 +02:00
steffen123
3509beb828 some missing _() 2010-09-27 09:22:07 +02:00
Eric Blade
a98e71ad24 semi-fix stdout for hud_main in windows when running from source 2010-09-27 03:14:10 -04:00
Gerko de Roo
ad2983a968 Detection system for table change during tourney's
The routine stores the actual seat.
When being reseated during tourney's the seat change is detected.
The HUD window adjust is recalculated.
2010-09-26 17:31:05 +02:00
Gerko de Roo
b9c63bd718 Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-09-26 17:19:17 +02:00
Gerko de Roo
ec8f8aff76 Merge 2010-09-26 17:19:05 +02:00
Eric Blade
e3113ae3a0 Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-09-26 02:21:04 -04:00
Worros
1ae01f1502 Database: Mark 27 Single draw as a lowball game 2010-09-24 13:47:24 +08:00
Worros
121e12023f Ring Player Stats: Support Razz start card list 2010-09-24 13:46:21 +08:00
Worros
6cfd884413 RSHG: Fix a coupl eof bugs 2010-09-24 13:30:16 +08:00
Worros
f470ae863d New: RazzStartHandGenerator 2010-09-24 13:11:44 +08:00
steffen123
1adf15e8af l10n: update pot/mo file 2010-09-23 21:59:11 +02:00
Worros
ca4da923d4 Regression: Winamax PLO file 2010-09-24 00:56:25 +08:00
Worros
b6182b419c Winamax plugin: Contributed by Forrest 2010-09-24 00:31:17 +08:00
Worros
b8e66ee954 Winamax setup 2010-09-23 23:02:00 +08:00
Erki Ferenc
89e402f3b0 l10n: updated Hungarian translation 2010-09-23 11:38:01 +02:00
Worros
8a2b051916 Card: make decodeRazzStartCard return a string 2010-09-23 17:30:59 +08:00
Worros
47ca83db84 Card: Lookup table for Razz start hand combos
Take Razz hand list table provided by gammoner of 2+2 and start the lookup table.

'(32)A':1 ... (KK)K:1193

'(00)A':-13 ... '(00)K':-1  Where 0 is unknown.
2010-09-23 16:42:54 +08:00
Worros
235a8baa5f L10n: Remaining files 2010-09-23 14:31:16 +08:00
Worros
dee17e8001 L10n: H->M updated 2010-09-23 14:10:30 +08:00
Worros
016172f78d L10n update: Gui* 2010-09-23 13:11:06 +08:00
Worros
eefad4a486 Card: Add complete Razz start card list.
Figure out how to use it later.

Maybe use tuple as a key to a dict?

card = { ('A', '2', '3') : 1 } ? - Might work
2010-09-23 11:36:13 +08:00
Worros
353a7d96eb Config: Fix import ordering
L10n change caused:
  File "/home/carlos/Projects/fpdb/fpdboz/pyfpdb/Charset.py", line 25, in <module>
    import Configuration
  File "/home/carlos/Projects/fpdb/fpdboz/pyfpdb/Configuration.py", line 30
    from __future__ import with_statement
SyntaxError: from __future__ imports must occur at the beginning of the file

Who knew?
2010-09-23 11:27:06 +08:00
Eratosthenes
8b68bb2137 Merge branch 'master' of git://git.assembla.com/fpdb 2010-09-22 21:57:47 -04:00
Eratosthenes
1dedbe2a45 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-09-22 21:57:22 -04:00
steffen123
1e4c835d96 l10n: update pot/po/mo 2010-09-22 20:12:26 +02:00
Worros
591543d468 L10n updates: C->F 2010-09-23 00:10:32 +08:00
Worros
1b15e665e0 L10n update - Absolute->Config 2010-09-22 23:51:56 +08:00
Worros
83900736f0 fpdb.py: Use L10n 2010-09-22 23:46:03 +08:00
Worros
692cd4e6e4 L10n.py: Make safer 2010-09-22 23:41:09 +08:00
Worros
02aa42a987 Merge branch 'master' of git://git.assembla.com/fpdb
Conflicts:
	pyfpdb/GuiBulkImport.py
2010-09-22 23:41:05 +08:00
steffen123
be39031f4f l10n: rename some things 2010-09-22 17:32:27 +02:00
steffen123
51f54f5444 refactor translation method into new file 2010-09-22 17:26:25 +02:00
Worros
0ce0c13dd0 Bug fixes: Make fpdb run after my previous patches damage 2010-09-22 23:18:36 +08:00
Worros
ee5e80894c Locale: Fix bug with last patch 2010-09-22 16:40:31 +08:00
Worros
2c8f219c50 Locale: Deal with locale initialisation more safely 2010-09-22 16:37:56 +08:00
Worros
0049cfbd3c Card.py: Adding random function and comment 2010-09-22 16:35:26 +08:00
Worros
c9f607f18b Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-09-22 15:33:21 +08:00
Chaz
5cf0cf58a1 Updated saveActions default to False 2010-09-22 02:57:51 -04:00
Eratosthenes
9ca3a02006 Add support for draw games to example config. 2010-09-21 23:30:57 -04:00
Worros
2b278b781e Stars: Apparently there is a PL 5 Card draw 2010-09-21 13:47:06 +08:00
Worros
255f29cfae Win2day: Make Omaha hands not crash
Looks like it is importing the hands - no idea of accuracy at the moment
2010-09-20 14:18:52 +08:00
Worros
57405e7483 Win2day: Update to parse NLHE
Hasn't been modified since contribution - used the 'old' set() interface for cards. This interface was dropped after we realised we needed ordering for stud cards
2010-09-20 14:08:41 +08:00
Worros
178afa4773 Win2day: Add locale header 2010-09-19 00:14:50 +08:00
Worros
2e6bec5c18 Hand: Add fake GBP symbol 2010-09-19 00:14:14 +08:00
steffen123
f540214e17 l10n: missed gettextify in various *ToFpdb files 2010-09-17 19:32:50 +02:00
steffen123
a6b679c7fb fix minor string typo in imapfetcher 2010-09-17 19:18:16 +02:00
Worros
a81910d7f1 iPoker: Large update for actions and antes
I think I have most of the action correct at the moment.
2010-09-17 17:39:04 +08:00
Worros
14ac685e30 FTP: Adjust SplitHands regex for 2 blank lines or more
Also add FpdbParseError() throe if GameInfo regex fails to match
2010-09-17 11:47:23 +08:00
Worros
14bd767603 Carbon/Merge: Fix blind reading
The new Merge network format has a timestamp in the blind line

Also made some of the error reporting more consistent with other parsers
2010-09-17 11:44:58 +08:00
Worros
fbfaf0176c Import: First step to making FTP archive files parse
Change regex to be explicit about the number of '*'s

Pass the ftpArchive flag to HHC init
2010-09-17 10:58:47 +08:00
Eratosthenes
7916f9e3ef Merge branch 'master' of git://git.assembla.com/fpdboz 2010-09-16 20:52:57 -04:00
Eratosthenes
2fc2cc9743 Integrate new table handling. 2010-09-16 20:29:58 -04:00
Worros
aae1ad082e OnGame: add dead blind detection 2010-09-15 13:25:44 +08:00
Worros
a7d450d384 Importer: Add command line option for FTP archive format.
To import

./GuiBulkImport -F -c "Full Tilt Poker" -f filename

Completely untested at the moment.
2010-09-15 13:23:32 +08:00
Worros
90e991dec8 Regression: Omaha limit OnGame hh 2010-09-14 18:58:05 +08:00
Worros
95dee0a8d3 Regression: OnGame 7 Card Stud Hi sample hand 2010-09-14 15:21:28 +08:00
Worros
960ce096a5 Regression: 5-Card Draw for OnGame 2010-09-14 15:04:54 +08:00
Worros
ebcd9f0b66 Hand: Remove error message 2010-09-14 14:15:23 +08:00
Worros
1a7b1caf48 Hand: Remove non-standard exception handler
That code should either crash or raise a FpdbParse* exception which will be caught at a higher level
2010-09-14 13:53:47 +08:00
Worros
ea5afdb14c Regression: OnGame dead small blind 2010-09-14 12:52:49 +08:00
Worros
5f8f5ffcda Merge branch 'master' of git://ferki.hopto.org/fpdb 2010-09-13 12:37:20 +08:00
Worros
662455d488 Carbon: Remove comment 2010-09-12 13:01:58 +08:00
Worros
de57731788 Merge branch 'master' of git://git.assembla.com/fpdb 2010-09-12 12:27:10 +08:00
Erki Ferenc
5c0bfa3bd0 PartyPoker fixes
- fix the "newly joined unseated active players are taking actions" problem
- fix the "newly joined seated active players with zero initial stacks" problem
2010-09-11 16:46:37 +02:00
Erki Ferenc
b1217b417f Added new regression test file
A newly joined  player has zero stack but having actions
2010-09-11 16:06:46 +02:00
Worros
1dce9d70b9 iPoker: Fix split hands 2010-09-11 17:07:23 +08:00
Worros
8911790408 iPoker: Update from initial Carbon template
determineGameType: partially functional
readHandInfo: partially functional
readPlayerStacks: Done
compilePlayerRegexes: Skipped
markStreets: done for Stud
readAntes: Needs doing
readBlinds: Needs doing
readBringIn: Needs doing
...
readAction: Partially complete
2010-09-11 16:11:16 +08:00
Worros
5a7c628dba OnGame: set maxseats to None, and let guessMaxSeats operate 2010-09-11 14:11:40 +08:00
Worros
55a0908675 Regression: OnGame LHE.hp file 2010-09-11 14:00:52 +08:00
Worros
07dc1fa9ec Regression: Everleaf FLO8 2010-09-11 13:25:03 +08:00
Worros
0729ee2d3f Regression: PLO8 for Everleaf 2010-09-11 13:13:31 +08:00
Worros
9dbe26fce6 OnGame: Fix BB regex 2010-09-11 11:56:00 +08:00
Eratosthenes
d176da93d4 Merge branch 'Xlib'
Conflicts:
	pyfpdb/TableWindow.py
	pyfpdb/Tables_Demo.py
	pyfpdb/WinTables.py
	pyfpdb/XTables.py
2010-09-10 23:01:21 -04:00
Eratosthenes
7314da8b38 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-09-10 21:24:01 -04:00
Eratosthenes
6a129695f4 Correct line removed by mistake. 2010-09-10 17:07:59 -04:00
Worros
8daa9cea9c ImapFetcher: Fix previous commit for actual IMAP 2010-09-10 18:09:01 +08:00
Worros
2514b424c8 Imap/PSSummary: Update and refactor
Primarily to make FTP summaries read from file.
2010-09-10 17:18:16 +08:00
Worros
d66ae965a1 FTSummary: First pass at a FTP summary importer
Definetly doesn't match 'Still playing' but seems to get almost everything else right
2010-09-10 17:16:09 +08:00
Worros
58de54560d ImapFetcher: refactor the import part from the IMAP connection 2010-09-10 14:07:09 +08:00
Worros
7f61fba314 PSS: Switch over to regex based parsing 2010-09-10 13:22:52 +08:00
Worros
7c8965486f THP: Allow sites to be manually switched off and on 2010-09-10 12:24:11 +08:00