Commit Graph

4392 Commits

Author SHA1 Message Date
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
steffen123
b6e865ff84 Merge branch 'ferki' 2010-09-09 12:56:32 +02:00
steffen123
69872b9638 PS summaries import skipped digits of tourney no 2010-09-09 12:35:05 +02:00
steffen123
c103203880 conflict in pyfpdb/PokerStarsSummary.py 2010-09-09 12:13:38 +02:00
Worros
d0df1b6e44 SQL: Iport tourneyResults query 2010-09-09 18:08:03 +08:00
steffen123
acd512d9c3 make imapfetcher work on imap again 2010-09-09 12:00:28 +02:00
Worros
3158c85d4f PSSummary: make space in Player regex optional again 2010-09-09 17:48:19 +08:00
Erki Ferenc
a927517229 Merge branch 'master' of git://git.assembla.com/fpdb 2010-09-09 11:21:28 +02:00
steffen123
c48242c219 Merge branch 'eric' 2010-09-09 10:48:36 +02:00
steffen123
3c60c8d68d Merge branch 'master' of git://git.assembla.com/fpdboz into carl 2010-09-09 10:44:27 +02:00
Worros
f9e4eef2d3 Add copyright notice 2010-09-09 16:37:18 +08:00
Worros
6f0c94a119 Revert "FTP: Fix re_PlayerInfo to find ', is sitting out' for cash games"
This reverts commit bc4a53d754.
2010-09-09 16:36:37 +08:00
steffen123
5cfd693668 Merge branch 'master' of git://git.assembla.com/fpdboz into carl 2010-09-09 10:30:12 +02:00
Worros
ef99f7026f Regression: Add new FTP test file 2010-09-09 16:28:18 +08:00
Worros
ccfc55eec3 iPoker: Another minot update to determineGameType 2010-09-09 16:27:31 +08:00
steffen123
f0616a708d l10n: couple of missing gettextifies in imapfetcher 2010-09-09 10:27:21 +02:00
Worros
cb90147303 iPoker: Minor update to determineGameType 2010-09-09 16:26:37 +08:00
Worros
bc4a53d754 FTP: Fix re_PlayerInfo to find ', is sitting out' for cash games
Turns out that a player sitting out at the start of a cash game hand can (in what i hope is a small set of hands) be dealt cards and act in a hand
2010-09-09 15:14:54 +08:00
Worros
e1bb9a602b Stars/Hand: Fix issue produced by last regression test file
7-Stud-USD-0.04-0.08-200907.Missing.Showdown.Card.txt only contains 6 showdown cards.

Put filthy hack in addShownCards to guard against this condition, and add a commented out debug print in the HHC
2010-09-09 13:19:19 +08:00
Worros
34f0c93351 Regression: Add Stars Stud crasher.
This hand contains only 6 of the 7 cards for 'shown' and 'mucked'
2010-09-09 13:14:19 +08:00
Worros
bdb0bda3a0 OnGame: remove non-digits from hand id
Fixing email reported error with MySQL:

fpdb starting ...Traceback (most recent call last):
  File "GuiBulkImport.pyc", line 107, in load_clicked
  File "fpdb_import.pyc", line 251, in runImport
  File "fpdb_import.pyc", line 314, in importFiles
  File "fpdb_import.pyc", line 482, in import_file_dict
  File "Hand.pyc", line 273, in insert
  File "Database.pyc", line 1651, in storeHand
  File "MySQLdb\cursors.pyc", line 174, in execute
  File "MySQLdb\connections.pyc", line 36, in defaulterrorhandler
_mysql_exceptions.OperationalError: (1366, "Incorrect integer value: 'R5-79731715-280' for column 'siteHandNo' at row 1")
2010-09-09 10:31:40 +08:00
Eratosthenes
582377f519 Catch up WinTables.py to recent changes in TableWindow.py. 2010-09-08 20:35:59 -04:00
Worros
3b55bd19db OnGame: Fix date regex
Previously assumed that the day was 2 characters, and failed on:

'Fri Sep 3 05:01:22 GMT+0100 2010'

Doh
2010-09-08 16:05:04 +08:00
Worros
c3b2e56614 OnGame: Debugging Betfair skin date format with user 2010-09-08 16:02:18 +08:00
Worros
74a0c3d7da HHReplayer: Add file for Hud testing
Uses pygame, was playing around with the idea of using this library to create a replayer with sprite animations.
2010-09-08 15:43:20 +08:00
Worros
3759751fe4 HHC: Raise exception when game isn't supported. 2010-09-08 15:11:55 +08:00
Worros
d605f89564 OnGame: Make sure time can't fail and report erro 2010-09-08 01:08:23 +08:00
steffen123
aa22ca8df9 l10n: gettextify graph buttons 2010-09-07 19:03:15 +02:00
Eratosthenes
9772129f30 Rewrite of XTables to use Xlib. Considerable cleanup in TableWindow. 2010-09-07 09:50:29 -04:00
Worros
1acbe15b34 PKR: Make note about actions 2010-09-06 17:50:42 +08:00
Worros
e24e722141 Betfair: Fix some error handling in legacy parser 2010-09-06 17:25:17 +08:00
Worros
c7072bdd84 THP: Add iPoker testing 2010-09-06 17:24:08 +08:00
Worros
fd9c90c908 Test Config: Add iPoker 2010-09-06 17:23:38 +08:00
Worros
9a6de0476e Stars: Make readHandInfo() failure log an error not info 2010-09-06 17:22:36 +08:00
Worros
581b58e0c7 Party: Add exception for when determineGameType fails 2010-09-06 16:44:08 +08:00
Worros
c6d4661740 Regression: iPoker Stud H/L sample hand 2010-09-06 12:10:56 +08:00
Worros
89b20b1dba iPoker: initial commit - same as Carbon poker for the moment 2010-09-06 11:23:07 +08:00
Worros
2e99fc38bc Update files to prepare iPoker 2010-09-06 11:21:22 +08:00
Erki Ferenc
ab20e28dc4 Anonymised players in a sample file 2010-09-06 00:34:02 +02:00
Worros
21043d5445 Regression: PKR updates 2010-09-06 00:39:51 +08:00
Worros
631d2361aa Regression: PKR fix rake 2010-09-05 23:28:29 +08:00
Worros
d59663773b Regression: Correct shown card values in test files 2010-09-05 23:23:41 +08:00
Worros
b3633120ef Regression: Add Stars Badugi file 2010-09-05 22:44:29 +08:00
Worros
673afc0663 Regression: .hp: Fix and verify error - missing seatNo 2010-09-05 22:21:34 +08:00
Worros
23d73c5675 PSSummary.py: Fix winnings for Step tickets 2010-09-05 22:08:27 +08:00
Worros
c169ccedf4 Regression: Party Stud H/L 2010-09-05 21:18:02 +08:00
Worros
c1a512435b Fix Importer call for CLI usage 2010-09-05 18:30:22 +08:00
Worros
50ffeea3ec PSSummary: Add comment for Stars step satellites 2010-09-05 17:08:15 +08:00
Worros
5460a9d8b2 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-09-05 11:56:37 +08:00
gimick
9e3df066f5 import: cli mode, don't display progress bar; tweak progress bar 2010-09-04 23:12:29 +01:00
Worros
025b491c40 OnGame: tart prep for Stud parsing 2010-09-05 01:14:57 +08:00
Worros
edefd3ffb9 ImapFetcher: Give some more meaningful output 2010-09-05 01:14:08 +08:00
Worros
7ac652c12e THP: Fix Importer call 2010-09-05 01:12:31 +08:00
Worros
3bd8f3d352 PSSummary: *mutters abaout \r\n* 2010-09-05 00:55:55 +08:00
Worros
ff8147390a OnGame: Betfair Stud H/L test file 2010-09-04 22:18:23 +08:00
Worros
6ce19d70dc Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-09-04 20:40:00 +08:00
Worros
b982658446 PSSummary: identify step tickets 2010-09-04 20:36:31 +08:00
gimick
e44f48871a Merge branch 'master' of git://git.assembla.com/fpdboz 2010-09-04 13:30:37 +01:00
gimick
c4203c87b1 import: fix error in progress bar 2010-09-04 13:08:58 +01:00
Worros
016b0ed48f Tourney Graphing and Summary import update
It now gets through my 200 tourney torture test.
2010-09-04 20:06:24 +08:00
gimick
177b5768ae Merge branch 'master' of git://git.assembla.com/fpdboz 2010-09-04 12:35:48 +01:00
gimick
3fd2b2f838 Import: Show progress bar during bulk import 2010-09-04 12:30:43 +01:00
Worros
e66b98b345 PSSummary: add function parseSummaryFile
This parses the summary file without requiring state.

Hope to merge parseSummary and parseSummaryFile at some point soon
2010-09-04 18:10:25 +08:00
Worros
1dda0848d3 ImapFetcher: Make it run from command line with -i 2010-09-04 16:33:16 +08:00
Worros
04849775d7 TS: add new builtFrom option 2010-09-04 16:32:46 +08:00
Worros
10a48240db PSSummary: Add new parseSummary method 2010-09-04 16:31:39 +08:00
Worros
20bb51145b Options: add generic usage option 2010-09-04 16:30:43 +08:00
Eric Blade
b77500cc12 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-09-04 03:17:39 -04:00
Worros
cf2629b290 New: Tournament Results Viewer
Decided to see how hard it would be to get the tournament results using the existing schema.

Turns out the cash graph query is pretty similar and not much thought was required.

Created a new tab based on the existing cash game viewer for profit.

This is probably the idea page for multiple axis to be added.
- Distributions for position
- distributions by buy-in level
- ROI per buy-in level

Lots of stuff like that.
2010-09-04 14:16:46 +08:00
Worros
b7c94781ef THP: Give 'Errors by stat' output 2010-09-04 13:11:35 +08:00
Worros
c0eb686971 StarsSummary: Fix gettextify problem 2010-09-04 13:08:36 +08:00
Worros
7731e830f7 PKR: Fix re_CollectPot 2010-09-03 19:27:17 +08:00
Worros
f1adfde26c Regression: .hp file for button steal
thebear brings in, arjun attempt to steal from the button position and fails.

Went through and modified/verified:
- raiseFirstIn for all players
- raisedFirstIn for arjun
- foldSbToStealChance for thebear
- foldedSbToSteal for thebear
2010-09-03 18:31:50 +08:00
Worros
f1616957d3 Regression: 5 hands for various Stud steal situations 2010-09-03 18:19:37 +08:00
Worros
aa0e24fb9f THP: Add PKR to test 2010-09-03 18:01:16 +08:00
Worros
cd23d1dcbe HUD_config.test: Add PKR converter 2010-09-03 16:57:41 +08:00
Worros
2f5c4df1c5 PKR: Fix reading of player stacks 2010-09-03 16:40:40 +08:00
Worros
7038af303c HUD_Config.example: Add PKR 2010-09-03 16:32:30 +08:00
Worros
6585c5eb7b Regression: PKR .hp file 2010-09-03 16:31:47 +08:00
Worros
25c1e1c0e2 Regression: PKR NLHE 2010-09-03 15:43:48 +08:00
Worros
c5412caa14 THP + test config: Add suppor for Carbon
Make THP script more robust when testing stats
2010-09-03 14:31:52 +08:00
Worros
08c8315cd0 Regression: Carbon NLHE hand 2010-09-03 14:24:59 +08:00
Worros
d22dbb1238 Carbon: Make carbon crash less. 2010-09-03 14:05:50 +08:00
Worros
ad714519a9 THP: Add everleaf to list, fix totalerrors 2010-09-03 13:56:57 +08:00
Worros
dca0c0ffda Regression: Actually remove file mv in previous commit 2010-09-03 13:07:54 +08:00
Worros
f1ffb4c6eb Regression: Everleaf NLHE - 3 way all in preflop 2010-09-03 13:06:04 +08:00
Worros
1290ea3a67 Regression: Add OnGame Limit Holdem File 2010-09-03 12:25:35 +08:00
Worros
1a4c618df3 Regression: Move OnGame HH file 2010-09-03 12:22:39 +08:00
Worros
1622d9e56c THP: Add Absolute to testing list 2010-09-03 12:05:22 +08:00
Worros
d5f230e4e8 Absolute: a couple of cleanups and some prep work for AP
I've changed re_GameInfo to be a verbose regex, so I may have broken working hand histories.

No test files at the moment so it is hard to tell.
2010-09-03 11:49:41 +08:00
Worros
3f0cdfbaa5 Regression: Add Absolute Stud Hi/Lo hand 2010-09-03 02:29:34 +08:00
Worros
cc3197b5d1 Grapher: commit patch to allow showdown lines to be removed
But only in source for the moment.

Need to add a Filter for the different graph types
2010-09-02 15:24:30 +08:00
Worros
742dec8b15 THP: Re-enable Party cash parsing 2010-09-02 14:04:34 +08:00
Worros
304c9e71a2 Hand: Wrap Pot.end() section in exception handler
If Hand.end() fails in that section, then something is seriously wrong with either action parsing or stack parsing.

Throw a parse error in the hopes we can continue on.
2010-09-02 14:02:19 +08:00
Worros
376894bba3 THP: Add remaining directories for test coverage 2010-09-02 13:52:54 +08:00
Worros
bd6e227662 Test Config: Add OnGame to parser list 2010-09-02 13:52:18 +08:00
Worros
72e3867383 THP: Report parse errors properly 2010-09-02 13:42:40 +08:00
Eric Blade
9ed44c0c54 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-09-02 01:33:39 -04:00
Worros
64cbfb4e4b Regression: New test file 2010-09-02 09:12:12 +08:00
Worros
befcbba8f2 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-09-02 09:07:26 +08:00
sqlcoder
e02f2e61ef make sure new variables are set 2010-09-01 21:20:22 +01:00
sqlcoder
57aefb06e8 Merge branch 'master' of git://git.assembla.com/fpdb 2010-09-01 21:08:52 +01:00
sqlcoder
25cbc0da30 add logging 2010-09-01 21:08:13 +01:00
Worros
d4400b9f48 Stars: add part support for NL Single Draw 2010-09-02 00:40:36 +08:00
Worros
26eca40b31 More HandsActions stubbing 2010-09-02 00:19:31 +08:00
Worros
b8a8a7217c Regression: OnGame hand history 2010-09-01 23:43:23 +08:00
Worros
dd469e9ca3 Regression: Stars: NL Single Draw 2010-09-01 21:58:58 +08:00
Worros
188201025f Database: rename storeHandsPlayers to storeHandsActions
As the stub function was supposed to be called
2010-09-01 20:51:23 +08:00
Worros
3f2edd2c6d Regression: FTP PLO additional hand with showdown cards for multiple players 2010-09-01 14:05:59 +08:00
Worros
f993fb05b2 Regression: Add FTP PLO cash game HH 2010-09-01 13:53:48 +08:00
Worros
a2e25457c9 Merge branch 'master' of git://git.assembla.com/fpdb 2010-09-01 11:08:17 +08:00
Worros
7aeb5e4531 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-09-01 11:08:04 +08:00
Worros
9a3d60e0b3 HandsActions: Stub in the remaining calls for HandsActions 2010-09-01 10:47:13 +08:00
Worros
a03e836044 DerivedStats: Stub in HandsActions calculation 2010-09-01 10:38:54 +08:00
sqlcoder
06b34e8648 clarify difference between site and filter to allow 2 sites from same network, prompt to add site to db if missing 2010-08-31 22:44:41 +01:00
sqlcoder
9704cd7fe5 routines to store site list in config 2010-08-31 22:34:48 +01:00
Eric Blade
2ab01fa9d9 some code and comment cleanups and clarifications, mo betta fasta. 2010-08-31 04:56:28 -04:00
Eric Blade
80b98da6fc Merge branch 'master' of git://repo.or.cz/fpbd-bostik.git 2010-08-31 04:42:32 -04:00
Mika Bostrom
1a515534b4 Try to fix profit/100 2010-08-31 11:40:21 +03:00
Worros
243a140aa4 Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-31 15:50:16 +08:00
Worros
bb41c2906b THP: Add .hp file for FTP wierd date format 2010-08-31 15:46:11 +08:00
Worros
87b6f834c3 FTP: Rename test file 2010-08-31 15:43:31 +08:00
Worros
bfe4c225e5 THP: Add NLHE FTP.fr .hp file 2010-08-31 15:16:37 +08:00
Eric Blade
c710499be1 Merge branch 'master' of git://repo.or.cz/fpbd-bostik.git 2010-08-30 17:07:49 -04:00
Eric Blade
e38edced85 Add FTP Summary for a complete tournament, freeroll satellite, with multiple winners. 2010-08-30 15:54:26 -04:00
Eratosthenes
cc4f8e2bea added some intermediate output. 2010-08-30 11:55:34 -04:00
steffen123
b434759037 Merge branch 'mika' 2010-08-30 17:25:44 +02:00
steffen123
dadeb82b4b l10n: add french to localise script 2010-08-30 17:25:08 +02:00
steffen123
099db5e7d0 THP: add header 2010-08-30 17:24:28 +02:00
Eric Blade
39f81e7bc0 Merge branch 'master' of git://repo.or.cz/fpbd-bostik.git
Conflicts:
	pyfpdb/Stats.py
2010-08-30 05:40:38 -04:00
Mika Bostrom
2b97d938f1 Fix HUD bug with specified decimals
If any stat in HUD had manually specified number of decimal places, the
entire hand processing stopped when the first such stat was encountered.

Now really do the decimal place formatting as it was supposed to work.
Also, for future reference: tuples are immutable - you can't overwrite
any tuple member. Hence the need for new routine, __stat_override()
2010-08-30 12:38:08 +03:00
Eric Blade
54279cafef Revert "Remove trailing percent symbols from HUD values"
This reverts commit b4a08af2b1.

Conflicts:

	pyfpdb/Stats.py
2010-08-29 23:05:05 -04:00
Eric Blade
978464e7c6 Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-08-29 23:01:26 -04:00
Eric Blade
65642e37df cherry picking around a patch that didn't work for me 2010-08-29 22:56:00 -04:00
Erki Ferenc
e4c8b0d5ac l10n: updated Hungarian translation 2010-08-30 01:33:44 +02:00
steffen123
54f7410e49 l10n: update pot/po/mo files 2010-08-30 01:31:14 +02:00
steffen123
856af8a7da Merge branch 'ferki' 2010-08-30 01:30:21 +02:00
Erki Ferenc
05220f1c6f l10n: updated Hungarian translation 2010-08-30 01:21:55 +02:00
steffen123
1f2c320fd2 l10n: add missing gettextifications in GuiDatabase 2010-08-30 01:19:23 +02:00
steffen123
f52e311632 Merge branch 'gimick' 2010-08-29 23:59:13 +02:00
Eric Blade
82d96b43ee add Everleaf HH per Steffen's request 2010-08-29 16:44:29 -04:00
steffen123
af0aff530d l10n: update pot/po/mo files 2010-08-29 22:09:22 +02:00
steffen123
9a3782c64d l10n: last file gettextified: UltimateBetToFpdb 2010-08-29 22:07:58 +02:00
gimick
717968e8bf Logging: Relocate info message from hud-errors to hud-log 2010-08-29 20:55:40 +01:00
steffen123
7a4eeba3c7 l10n: gettexify Win2dayToFpdb 2010-08-29 21:33:03 +02:00
steffen123
2eb3d18b86 l10n: gettextify AbsoluteToFpdb 2010-08-29 21:31:34 +02:00
steffen123
3c645b0e43 l10n: gettextify carbontofpdb 2010-08-29 21:29:18 +02:00
steffen123
62fb2f9186 l10n: missed a gettextify in everleaftofpdb 2010-08-29 21:24:28 +02:00
steffen123
4cae54a086 l10n: another missed gettextify in betfairtofpdb 2010-08-29 21:22:46 +02:00
steffen123
772f124a29 l10n: gettextify everleaftofpdb 2010-08-29 21:22:34 +02:00
steffen123
21c1e33405 l10n: missed gettextifying a string in betfairtofpdb 2010-08-29 21:17:58 +02:00
steffen123
82dcefc1d6 Revert "Revert "gettextify FulltiltToFpdb.py""
This reverts commit a1f079e447.
2010-08-29 21:10:57 +02:00
steffen123
d53b0f7f2a l10n: german now 1/3 complete, update pot/po/mo files 2010-08-29 20:46:21 +02:00
steffen123
8efa4d5a9c slightly improve error message 2010-08-29 20:46:01 +02:00
steffen123
f6d5d2f9fc fpdb.pyw: remove unneeded unused method 2010-08-29 20:35:33 +02:00
steffen123
3990b40e3d Some string changes, mostly consistency to make translation easier 2010-08-29 20:35:16 +02:00
Gerko de Roo
9b9fbaa236 Merge branch 'master' of git://git.assembla.com/fpdb-sql.git 2010-08-29 20:02:10 +02:00
Mika Bostrom
cf1d8fb5e8 Add comment on decimal place override 2010-08-29 20:00:16 +02:00
Mika Bostrom
a75ba5a288 Return "hard" NA for missing/incalculable stats
It makes very little sense to do a format string for nothing but zeroes
in case of unknown values. Simply return a set of 'NA' strings in place
of usual stats. This makes the error cases consistent throughout
Stats.py
2010-08-29 20:00:06 +02:00
Mika Bostrom
8265d9fc6e Remove trailing percent symbols from HUD values
The values that are displayed in the HUD box included the '%' symbol if
these values were percentages. This clutters the HUD for those who don't
need such extra characters.

This patch removes the trailing '%' from result[1]. The default
formatting for HUD values is '%3.1f' and if decimal places need to be
changed, the code for those is now simpler. A user who wishes to show a
percent symbol after any given stat value, can edit HUD_config.xml and
assign such stats the hudsuffix="%" attribute.

This patch also changes the way the tooltip strings are constructed.
Instead of appending the percent symbol to generated string, the '%' is
now generated in place by the format-string stanza '%%'.
2010-08-29 19:59:58 +02:00
steffen123
14ea4714b9 l10n: rename template po file to .pot, merge scripts 2010-08-29 19:17:13 +02:00
steffen123
168b114646 l10n: some minor string changes 2010-08-29 19:12:48 +02:00
steffen123
641b863cbf l10n: update mo files 2010-08-29 14:37:29 +02:00
steffen123
86f90cd310 Merge branch 'ferki' 2010-08-29 14:37:04 +02:00
steffen123
59c1e9ed5c Merge branch 'sqlcoder' 2010-08-29 14:33:57 +02:00
steffen123
4c2941cdaa Merge branch 'carl' 2010-08-29 14:30:25 +02:00
steffen123
461c9fa268 Merge branch 'nuto' 2010-08-29 14:29:28 +02:00
steffen123
bbf8219465 Merge branch 'mika' 2010-08-29 14:26:56 +02:00
Erki Ferenc
a81dd66f22 l10n: updated Hungarian translation 2010-08-29 14:26:38 +02:00
steffen123
693dfb4e19 update GUI version string to 0.20.906 plus git 2010-08-29 14:25:44 +02:00
steffen123
219180822f l10n: improve create script, update PO files, some german translation 2010-08-29 14:24:04 +02:00
steffen123
ee20cbbcc1 some small GUI string improvements 2010-08-29 14:21:49 +02:00
sqlcoder
bf8b826bbc copy any missing parts of config from .example 2010-08-29 12:46:22 +01:00
sqlcoder
8f91adc513 add log definition 2010-08-29 12:39:54 +01:00
Worros
93be69858a Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-08-29 14:05:06 +08:00
sqlcoder
536adad477 merge from Steffen/Carl 2010-08-29 00:05:22 +01:00
sqlcoder
6e3953e774 add hand ID to warning message 2010-08-28 23:57:04 +01:00
sqlcoder
593006318a more refinements to OnGame parser 2010-08-28 23:49:37 +01:00
steffen123
ff2a9fcc5a move gettext import to the right place in GuiGraphViewer 2010-08-28 22:49:59 +02:00
sqlcoder
01c7e37bae implement Add button in Database dialog (sqlite only) 2010-08-28 18:11:35 +01:00
Gerko de Roo
f5fd58a554 Merge branch 'master' of git://git.assembla.com/free_poker_tools.git 2010-08-28 18:18:44 +02:00
Gerko de Roo
0716b866a5 Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-08-28 18:16:04 +02:00
Gerko de Roo
62892c80dc Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-08-28 18:14:41 +02:00
Eratosthenes
ad3c6516cd PartyPokerToFpdb: Try again to fix STT HUD. 2010-08-28 09:25:41 -04:00
Erki Ferenc
861edf954e l10n: updated Hungarian translation
This includes
1. a fix for a missing %s in a translated string which makes HUD failing to start when Hungarian locale is active
2. another potential string formatting mistake
3. various minor fixes, mainly typos
2010-08-28 12:58:17 +02:00
Worros
42497bf27a THP: Fix parser name call chain
Also comment out Party for the moment, as there is a hh file that crashes the parser
2010-08-28 17:20:50 +08:00
Worros
3eb4f057bc THP: Add 'support' for other sites 2010-08-28 16:43:05 +08:00
Eratosthenes
004dd80fc2 PartyPokerToFpdb: Allow HUD to find STTs. 2010-08-27 10:53:33 -04:00
Mika Bostrom
bd842f9b1b Merge branch 'master' into hudstatview 2010-08-27 12:34:36 +03:00
Worros
de9c0d9ba6 Stars: Minor refactor to readHandInfo
Make the readHandInfo function throw an exception if either of the regexes used fails to match
2010-08-27 14:44:19 +08:00
Eratosthenes
6b978b8290 Remove obsolete and unused Tables.py. 2010-08-27 11:14:36 +08:00
Eratosthenes
f5db60f23b Get rid of obsolete import of obsolete Tables.py. 2010-08-27 11:14:22 +08:00
Eratosthenes
bbb21b4b4d FulltiltToFpdb: Throw exception when HandInfo reg ex doesn't match. 2010-08-27 11:14:02 +08:00
Eratosthenes
eef5fd28e8 FulltiltToFpdb: Throw exception when HandInfo reg ex doesn't match. 2010-08-26 22:52:16 -04:00
Eratosthenes
96d1ffe4fa Remove obsolete and unused Tables.py. 2010-08-26 22:48:06 -04:00
Eratosthenes
c664dfbbe3 Get rid of obsolete import of obsolete Tables.py. 2010-08-26 22:47:30 -04:00
steffen123
ef576cf213 update version to 0.20.906 2010-08-27 00:00:42 +02:00
gimick
a28b0d8dbb py2exe: restructure - .906 locale changes, now builds in packaging/windows 2010-08-26 22:11:42 +01:00
sqlcoder
4954299061 add default attribute to appropriate database element if missing 2010-08-26 21:24:40 +01:00
steffen123
62bd04661a fix typo in config example and .py 2010-08-26 20:08:34 +02:00
steffen123
1e998f4780 l10n: cola skipped this mo file 2010-08-26 18:54:43 +02:00
steffen123
8222fa9328 l10n: update all po/mo files, scripts 2010-08-26 18:54:15 +02:00
Erki Ferenc
cd4880ec80 Merge branch 'l10n' 2010-08-26 18:36:43 +02:00
Erki Ferenc
46354a37e7 Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-26 18:32:26 +02:00
steffen123
76f60e3592 include fpdb version in GUI version listing 2010-08-26 18:32:01 +02:00
steffen123
6505334ac6 Merge branch 'carl' 2010-08-26 18:20:38 +02:00
steffen123
93573ac519 start of german translation 2010-08-26 18:19:58 +02:00
steffen123
28aaa5366d revert recent change of Hand.py to fix FTP 2010-08-26 18:17:22 +02:00
Worros
6d2de998c8 FTP: fix type hand.maxSeats to maxseats 2010-08-27 00:09:18 +08:00
Erki Ferenc
264f4da365 l10n: cleaned up Hungarian menu shortcuts 2010-08-26 16:16:34 +02:00
Worros
94ab295804 PKR: Fix some regexes 2010-08-26 11:25:21 +08:00
Worros
159384db17 PKR: Add a PKR HHC
Doesn't actualy work as yet, but the primary regexes are done.
2010-08-26 10:28:37 +08:00
Worros
6a823a430c Hand: Add PKR to sites lookup 2010-08-26 10:27:40 +08:00
Erki Ferenc
3272d0c7a9 Anonymised and cleaned up regression test files for PartyPoker
The "blind is forced allin" situation file has been splitted into two files as the sample hands were played on different days and on different limits.
2010-08-25 23:56:02 +02:00
steffen123
de9d48cc6a remove menu entry for set handhistory archive directory 2010-08-25 14:55:37 +02:00
Erki Ferenc
b8ad153f91 l10n: updated Hungarian translation 2010-08-25 14:25:53 +02:00
steffen123
cd70d491c6 remove duplicate example config section 2010-08-25 13:42:00 +02:00
steffen123
73f50fff12 l10n: update PO/MO files 2010-08-25 13:36:12 +02:00
Erki Ferenc
1821e16eb1 l10n: revised Hungarian translation file
Just replaced some words and expressions here and there to a more fitting one.
2010-08-25 13:21:31 +02:00
steffen123
fdfefc753f update GUI version string to git again 2010-08-25 11:50:36 +02:00
steffen123
56c3de7072 make git always store HUD_config.xml.example with windows line ending 2010-08-25 11:49:08 +02:00
steffen123
f2fe4b0ce7 update version string in GUI 2010-08-25 08:06:12 +02:00
steffen123
abe5934e0c add note about viewers broken on pgsql to GUI 2010-08-25 06:46:52 +02:00
steffen123
b6e59b54de fix that it creates a new TT for each tourney when maxseats is unknown. 2010-08-25 06:37:22 +02:00
steffen123
c73e5b6d9b add locale import to interlocks 2010-08-25 06:14:26 +02:00
steffen123
33621aab48 Merge branch 'carl' 2010-08-25 06:10:47 +02:00
Worros
afa41229c8 Revert "Betfair: Fix for Betfair 2.0"
This reverts commit 5d2e7cb320.
2010-08-25 12:01:17 +08:00
Worros
59ed2ea113 Regression: Add .hp for 7-StudHL-USD-0.04-0.08-200911.Cardtest.txt
Verified that the positions were correct for that hand
2010-08-25 11:59:31 +08:00
steffen123
f6aaaa7b85 Merge branch 'carl' 2010-08-24 06:48:03 +02:00
Worros
fb9d0c85c7 THP: Make THP print a better error message 2010-08-24 11:55:30 +08:00
steffen123
d6dd16bc9e Merge branch 'carl' 2010-08-24 05:23:32 +02:00
Worros
edae36d108 THP: Create Error class for recording and reporting errors usefully 2010-08-24 11:09:13 +08:00
steffen123
c21966af4b Merge branch 'carl' 2010-08-24 03:28:34 +02:00
Worros
66da700df8 HUD_Config.example: Add OnGame section, remove Betfair 2010-08-23 14:42:58 +08:00
Worros
137cadd491 OnGame: Remove copied function 2010-08-23 14:17:30 +08:00
Worros
ce93c2f7fe OnGame: Parse herocards 2010-08-23 13:50:04 +08:00
steffen123
30bf3b2c43 Merge branch 'carl' 2010-08-23 07:44:24 +02:00
steffen123
ccb62b4c80 enter character encoding in english PO file 2010-08-23 07:43:02 +02:00
Worros
ce5d029d0b OnGame: Make NLHE parse 2010-08-23 13:29:41 +08:00
steffen123
acfc110d03 remove remaining calls to removed config section 2010-08-23 07:28:30 +02:00
Worros
6da5522965 Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-23 13:25:01 +08:00
Worros
bc755f3e5f OnGame: Fix re_CollectPot
So that it actually finds the player that has won money
2010-08-23 13:23:39 +08:00
Worros
3a6b0002bd Remove Table viewer options from settings hash 2010-08-23 13:22:40 +08:00
steffen123
4170e33b35 update PO file 2010-08-23 05:28:45 +02:00
steffen123
994fea2e22 move localisation scripts into locale folder 2010-08-23 05:21:07 +02:00
steffen123
0cc5865ba1 config: expand general section as discussed on ML, add defaults for it 2010-08-23 03:56:07 +02:00
steffen123
b41e385979 improve error reporting in Hand.checkPlayerExists 2010-08-23 02:16:44 +02:00
sqlcoder
08eaed1e5d refine layout and create an 'add' button (no code behind the button yet) 2010-08-22 12:35:51 +01:00
Mika Bostrom
d2483b8866 Add comment on decimal place override 2010-08-22 14:12:29 +03:00
Mika Bostrom
4a92638941 Return "hard" NA for missing/incalculable stats
It makes very little sense to do a format string for nothing but zeroes
in case of unknown values. Simply return a set of 'NA' strings in place
of usual stats. This makes the error cases consistent throughout
Stats.py
2010-08-22 13:57:01 +03:00
Mika Bostrom
b4a08af2b1 Remove trailing percent symbols from HUD values
The values that are displayed in the HUD box included the '%' symbol if
these values were percentages. This clutters the HUD for those who don't
need such extra characters.

This patch removes the trailing '%' from result[1]. The default
formatting for HUD values is '%3.1f' and if decimal places need to be
changed, the code for those is now simpler. A user who wishes to show a
percent symbol after any given stat value, can edit HUD_config.xml and
assign such stats the hudsuffix="%" attribute.

This patch also changes the way the tooltip strings are constructed.
Instead of appending the percent symbol to generated string, the '%' is
now generated in place by the format-string stanza '%%'.
2010-08-22 13:09:26 +03:00
steffen123
e0a2c4e0b4 more dump data updates 2010-08-22 07:54:37 +02:00
steffen123
b06c7763d8 dumpDB stores ignore for importTime and styleKey as those are runtime-dependant and outside of its scope 2010-08-22 07:54:03 +02:00
steffen123
4e01892fcb Merge branch 'sqlcoder' 2010-08-22 07:42:56 +02:00
steffen123
79c81ee997 fix HHC for PS/FT 2010-08-22 07:39:49 +02:00
steffen123
6ba7f36a0e fix import of tourneys 2010-08-22 07:32:10 +02:00
steffen123
4fcc157ff8 update empty and 0001 dump for DB v143 2010-08-22 07:25:07 +02:00
steffen123
aabc9d2006 actually store TT.maxSeats 2010-08-22 06:46:47 +02:00
steffen123
fb6c5c7ec6 fix to recognise different spelling of FT headsup 2010-08-22 06:46:29 +02:00
steffen123
a4e3d0c514 a missing gettextification from a recent patch 2010-08-22 05:02:22 +02:00
steffen123
ccec828867 add config sections for RawHands/Tourneys 2010-08-22 04:36:23 +02:00
steffen123
fa6da55618 remove table viewer config handling from code 2010-08-22 04:18:00 +02:00
steffen123
09f3205e77 update email config section as discussed on ML 2010-08-22 01:30:33 +02:00
sqlcoder
fd9a132acb fine tune OnGame parser, hud working now 2010-08-21 23:24:58 +01:00
sqlcoder
2ae2d0d277 define _ func 2010-08-21 23:24:25 +01:00
Gerko de Roo
770ba309da Handling table change in tourney.
Though I pushed this ages ago, was triggered by the mailing list.
must have been in a different tree.
2010-08-22 00:02:04 +02:00
sqlcoder
c8f25ad162 merge from steffen 2010-08-21 22:43:14 +01:00
sqlcoder
dff67e8e69 add hot key to button 2010-08-21 22:39:25 +01:00
Gerko de Roo
4f85c13f58 merge issue 2010-08-21 23:35:06 +02:00
sqlcoder
53b15898ce more fixes to OnGame import 2010-08-21 21:10:21 +01:00
steffen123
96f547b3df fix typo in fpdb.iconify 2010-08-21 18:32:46 +02:00
steffen123
52d38020d2 fix update hud cache/auto import 2010-08-21 18:30:10 +02:00
steffen123
ee7fc47dc1 Merge branch 'carl' 2010-08-21 18:00:33 +02:00
Worros
ee1ccd1097 OnGame: Fix for NL 2010-08-21 22:26:08 +08:00
Worros
0131ec9a09 OnGame: Fix hand splitting regex 2010-08-21 22:24:23 +08:00
Worros
488eb8433c HHC: Cleanup unused function 2010-08-21 22:19:08 +08:00
Worros
b93e0ab8a8 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-08-21 22:10:24 +08:00
Worros
66e22e45f5 Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2010-08-21 22:08:16 +08:00
sqlcoder
683f6cee20 get OnGame parser working 2010-08-21 13:44:01 +01:00
Mika Bostrom
bf2eaa772c Fix window visibility
This fixes the FPDB main window visibility with window managers that use
workspaces instead of virtual desktop(s). On such a system the
application receives WINDOW_STATE_ICONIFIED event when the workspace is
switched. This hides the window.

It wouldn't be too big a problem if the window wouldn't occasionally get
stuck in a "hide-me-loop", where any attempt to unhide/present the
window again triggers the hide routine. The two state events, _ICONIFIED
and _WITHDRAWN are not the same or even mutually exclusive. As such the
old event mask test simply did not cover all the possibilities.

Also, the property 'visible' does not necessarily match reality. It can
be set to true for iconified windows, and false to a visible window. So
a better solution is to not rely on the property, but just track the
wanted visibility state in our own code.

After this simple refactoring, the application window finally seems to
behave properly. [Also, widget.present() automatically calls .show(), so
we can kill one redundant operation.]
2010-08-21 14:24:34 +03:00
Worros
9cc43b7424 HHC: doco for readAnte and readBlind 2010-08-21 17:35:32 +08:00
steffen123
6474f92dd1 add new tables RawHands/RawTourneys 2010-08-21 04:29:29 +02:00
steffen123
62ad7bcdb7 remove if loop that i mustve left from debugging. 2010-08-21 04:28:18 +02:00
sqlcoder
f250fec935 getting closer - still breaks 2010-08-20 22:32:14 +01:00
Worros
92e2e0ca95 HHC: Update doco on markStreets 2010-08-20 21:05:33 +08:00
Worros
5d2e7cb320 Betfair: Fix for Betfair 2.0
The Betfair poker site has changed hands/software and now has a
completely different hand history coverter.

Starting the process of making it work
2010-08-20 20:26:53 +08:00
Worros
7c5f4645f2 OnGame: More updates, primarily to readHandInfo 2010-08-20 20:10:52 +08:00
Worros
d04e5e1a23 HHC: doco for compilePlayerRegexes 2010-08-20 20:09:44 +08:00
Worros
803f0fcaf8 HHC: Documentation on readHandInfo() 2010-08-20 19:48:37 +08:00
Worros
8ffb984d25 HHC: Better doco for readHandInfo 2010-08-20 18:52:00 +08:00
Worros
c77cf55104 OnGame: Fix readSupprtedGames and currency 2010-08-20 18:05:25 +08:00
Worros
5f425e0910 OnGame: Fix determineGameType
Assumes that its a cash game at the moment, and needs some love for non-limit holdem
2010-08-20 17:59:52 +08:00
steffen123
6c62ba94f6 Merge branch 'carl' 2010-08-20 11:24:31 +02:00
Worros
dd3cd4fad4 OnGame: gettextify and add an error handler 2010-08-20 17:10:38 +08:00
Worros
08462884cf OnGame: Significant updates.
This parser hasn't been updated/completed since a very early version of HHC

File is updated to the point where it will now run and just crashes on a regex
2010-08-20 16:51:41 +08:00
steffen123
48e0cbe8cd HUD: add error handler for error reported by phenixrising 2010-08-19 23:17:58 +02:00
steffen123
b3691add7b Merge branch 'carl' 2010-08-19 22:35:40 +02:00
steffen123
c959e244ad rename dump files to match carl's scheme, add a partially verified second dump
plenty of bugs to be fixed in this one!
2010-08-19 19:22:56 +02:00
Worros
568eba84ad Test: 4 Bet Pre test - curently fails.
s0rrow raises, is 3bet by AAALISAAAA, then 4bets pre-flop
2010-08-19 19:42:41 +08:00
Worros
8225b9a3f6 Test: Add failing test for streetXSeen
All in preflop hand currently fails as all streets are seen, but the 2 all-in players are incorrectly recorded.
2010-08-19 19:32:45 +08:00
Worros
3c5908224c TestHP: Pass name to print function 2010-08-19 19:31:23 +08:00
Worros
1236460e09 TestHP: Hopefully useful debug messages 2010-08-19 19:11:46 +08:00
Worros
3d6a0e5040 RTF: Oops - appear to have accidentally deleted the field 2010-08-19 19:10:52 +08:00
Worros
041c9c8527 Regression test file: Handsplayers data 2010-08-19 18:40:37 +08:00
Worros
75e1dbbfba Importer; Add missing default option 2010-08-19 18:33:43 +08:00
Worros
bb6225f80c NEW: Add regression test utility for HandsPlayers 2010-08-19 18:30:12 +08:00
Worros
fbcf987d97 BulkImport: Add command line option to generate test data 2010-08-19 18:29:10 +08:00
Worros
109ad292c0 Hand: Add optional argument for printing test data
And pass the argument on too Database
2010-08-19 18:28:10 +08:00
Worros
0fab203a53 Importer: Add utility functions for regression testing
setPrintTestData: Indicate you would like to print test data when importing
setFakeCacheHHC: Indicate you want to access the HHC after an import run
getCachedHHC: Retrieve HHC

Also modified the main import loop to pass self.settings['testData'] to the database insert and records the HHC if requested
2010-08-19 18:25:26 +08:00
Worros
924e155b45 Database: Add optional argument for pprinting the player data. 2010-08-19 18:23:26 +08:00
steffen123
4f854c5c35 add comment about non-standard structures for sbet/bbet 2010-08-19 07:34:37 +02:00
steffen123
f191e5d77c Revert "remove useless ongametofpdb file"
its not actually useless

This reverts commit a0f9d0ddee.
2010-08-19 07:23:42 +02:00
steffen123
26df39c469 checked hudcache dump 2010-08-19 06:37:59 +02:00
steffen123
0c93963378 add these to HudCache storing: street0_4BChance/Done, other3/4BStreet0 2010-08-19 06:14:12 +02:00
steffen123
97dcc4561b add (foldTo)otherRaisedStreet0 storing to HudCache 2010-08-19 06:05:59 +02:00
steffen123
13ce5117c8 add wonWhenSeenStreet2-4 storing to HudCache 2010-08-19 05:59:00 +02:00
steffen123
9dafddff49 add another test file 2010-08-19 05:58:22 +02:00
steffen123
2a673b8975 assume bb=SB and BB=2*SB and store accordingly 2010-08-19 04:24:38 +02:00
steffen123
69c1c41b36 add these stats to DB/DerivedStats/SQL: street0_4BChance/Done, other3/4BStreet0 2010-08-19 04:09:24 +02:00
steffen123
8aecf117bb add otherRaisedStreet0 and foldToOtherRaisedStreet0 with defualt false 2010-08-19 04:01:44 +02:00
steffen123
d5fb0b3c36 add wonWhenSeenStreet2-4 to DerivedStats' unimplemented section, store 0.0 by default 2010-08-19 03:55:12 +02:00
steffen123
8669c3b821 Merge branch 'carl' 2010-08-19 03:22:34 +02:00
steffen123
c618034055 add new testfile, with expected dumpdiff from empty db 2010-08-19 02:26:55 +02:00
steffen123
f19afd656d rename dump result folder 2010-08-19 02:22:42 +02:00
Worros
4d0e438de1 Regression: Add FTP.fr hand history for testing. 2010-08-18 16:36:16 +08:00
steffen123
1fb4098945 Merge branch 'carl' 2010-08-18 07:34:04 +02:00
Worros
37d1a10d73 Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-18 13:25:45 +08:00
Worros
8b49f46d1c HHC: Correct error count for unmatched gametype regex 2010-08-18 13:17:42 +08:00
Worros
3f0f421c0d FTP: Make FTP.fr hand histories parse.
Had to adjust the currency character match, and the tablename which required \u2013 or 'En Dash'

Works for the 5 hand sample provided.
2010-08-18 13:12:11 +08:00
steffen123
508958f89d Merge branch 'mika' 2010-08-18 04:22:59 +02:00
steffen123
351d58b757 update HU .mo file 2010-08-18 00:27:06 +02:00
steffen123
886d44edd2 Merge branch 'ferki' 2010-08-18 00:26:55 +02:00
Erki Ferenc
9494cf95c0 l10n: fixes some typos in Hungarian translation 2010-08-17 23:49:30 +02:00
steffen123
199929b2d0 a couple of l10n related fixes to fpdb.pyw 2010-08-17 23:30:15 +02:00
steffen123
eb65a0775c update hungarian mo file 2010-08-17 23:01:47 +02:00
Erki Ferenc
3fa87d7443 l10n: updated Hungarian translation 2010-08-17 22:51:04 +02:00
steffen123
0e8c9af16f remove log entry that's over 90% of my log 2010-08-17 21:49:55 +02:00
steffen123
32d24b147e update hungarian mo file 2010-08-17 20:32:17 +02:00
steffen123
1d66730158 update po files, add script for that 2010-08-17 20:13:56 +02:00
steffen123
5b042b1820 fix gettextification of Hud.py 2010-08-17 20:05:12 +02:00
steffen123
f24011a58e re-revert "Revert "gettext-ify Hud.py" as it breaks HUD -> err32, broken pipe"
This reverts commit 270657aeb0.
2010-08-17 19:53:08 +02:00
steffen123
bde9a40163 gettextify pyfpdb/Stats.py 2010-08-17 19:50:22 +02:00
Mika Bostrom
f18cc00c0d Move sample copying after fallback test
Only try to copy the example HUD_config.xml after fallback has been
tested against, and even then only on platform where the debian path can
exist
2010-08-17 08:18:46 +03:00
Mika Bostrom
c49565fcb1 Fix config file copying for debian package
If there is no config file in ~/.fpdb/ copy it from the package's
/usr/share path
2010-08-17 07:56:00 +03:00
gimick
7c0358dc20 Test: resave test HH's as UTF-8/unix 2010-08-16 23:00:08 +01:00
steffen123
e8d0c42566 gettext import for guiprefs 2010-08-16 23:49:50 +02:00
steffen123
c203136877 update english po 2010-08-16 07:49:24 +02:00
steffen123
69564d2b6b gettextify GuiRingPlayerStats.py 2010-08-16 04:22:51 +02:00
steffen123
a1f079e447 Revert "gettextify FulltiltToFpdb.py"
This reverts commit 41621c5610.

Conflicts:

	pyfpdb/FulltiltToFpdb.py
2010-08-16 04:14:25 +02:00
steffen123
80bee24969 insignificant bracketing change 2010-08-16 03:56:36 +02:00
steffen123
d2553a8b58 gettextify PartyPokerToFpdb.py 2010-08-16 03:28:17 +02:00
steffen123
41621c5610 gettextify FulltiltToFpdb.py 2010-08-16 03:05:27 +02:00
steffen123
7a5340f2d8 gettextify fpdb_import.py 2010-08-16 02:57:03 +02:00
steffen123
2115b57142 finish gettextifying database 2010-08-16 02:50:17 +02:00
steffen123
ba3fdd4656 gettextify Database up to line 1500 2010-08-16 02:40:58 +02:00
steffen123
4f3e4ab7d4 gettextify database to line 1000 2010-08-16 02:28:31 +02:00
steffen123
cff0206e4d gettext-ify tournesummary and interlocks 2010-08-16 01:58:05 +02:00
steffen123
2a69e927d2 add more missing imports and one _() 2010-08-16 01:41:25 +02:00
steffen123
a60e715138 update compiled hungarian file 2010-08-16 01:01:37 +02:00
Erki Ferenc
969fb8c7ae l10n: fixed plural form settings and fixed some Hungarian translations 2010-08-16 00:49:42 +02:00
Erki Ferenc
d86f973d3f Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-16 00:49:33 +02:00
steffen123
54805e8771 add 8$ limit support, make list look nicer 2010-08-16 00:31:17 +02:00
steffen123
270657aeb0 Revert "gettext-ify Hud.py" as it breaks HUD -> err32, broken pipe
This reverts commit 908936fc25.
2010-08-15 23:49:22 +02:00
Erki Ferenc
c9044a0c2b Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-15 23:44:40 +02:00
steffen123
4696c7afaf add missing gettext import 2010-08-15 23:38:13 +02:00
steffen123
027afaa5e1 change mo file creation script, add hungarian mo file 2010-08-15 23:28:22 +02:00
Erki Ferenc
e7f02339df Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-15 23:25:55 +02:00
steffen123
aacfb61d3b add missing gettext imports, gettextify TournamentTracker.py 2010-08-15 23:23:17 +02:00
Erki Ferenc
f6a1881ba7 Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-15 22:55:51 +02:00
steffen123
b08cb18c0e remove debug print; add import to Config; gettextify tables 2010-08-15 21:09:18 +02:00
steffen123
b4317bba2a auto-detect language 2010-08-15 20:50:49 +02:00
Erki Ferenc
3ec334e93c l10n: updated Hungarian translation 2010-08-15 20:46:50 +02:00
steffen123
21211a7669 update po files 2010-08-15 20:34:36 +02:00
Erki Ferenc
98822806d9 Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-15 20:09:54 +02:00
steffen123
787ea15c01 gettextify GuiDatabase 2010-08-15 20:06:30 +02:00
steffen123
a0f9d0ddee remove useless ongametofpdb file 2010-08-15 19:55:51 +02:00
steffen123
8abfff4cc0 gettextify PS Summary, add note about py2exe 2010-08-15 19:46:10 +02:00
steffen123
9ba2c5cdc4 add example file for microgaming 2010-08-15 19:08:28 +02:00
steffen123
33257f5a3f gettextify pyfpdb/GuiLogView.py 2010-08-15 18:43:30 +02:00
Erki Ferenc
a948458e07 l10n: Updated Hungarian translation 2010-08-15 15:25:51 +02:00
steffen123
680f735007 gettextify some small files 2010-08-15 07:38:44 +02:00
steffen123
6ee12769ae add gettext import to card 2010-08-15 07:32:23 +02:00
steffen123
e60cd2a75f gettextify card, add note about it to alchemy* 2010-08-15 07:31:32 +02:00
steffen123
80d00dbde6 gettextify charset 2010-08-15 07:27:53 +02:00
steffen123
3486320b6a gettextify and add codepage for P5sResultsParser 2010-08-15 06:28:43 +02:00
steffen123
919b915ffa update hungarian PO with newly gettextified strings 2010-08-15 06:10:27 +02:00
steffen123
e36eb70706 update english PO 2010-08-15 06:02:53 +02:00
steffen123
7dafc12206 gettextify hand 2010-08-15 05:59:05 +02:00
steffen123
fd03cb6560 gettextify options 2010-08-15 05:38:00 +02:00
steffen123
b360628583 gettextify filters 2010-08-15 05:36:32 +02:00
steffen123
d8993ea0ec add missing import to guibulkimport 2010-08-15 04:15:08 +02:00
steffen123
80c965d09f gettext-ify Mucked 2010-08-15 04:07:34 +02:00
steffen123
215bc5b0f3 gettext-ify GuiPositionalStats.py 2010-08-14 18:56:28 +02:00
steffen123
c87c0f0f9d gettext-ify HandHistoryConverter.py 2010-08-14 18:51:42 +02:00
steffen123
fd5e2156b5 gettext-ify HUD_run_me.py 2010-08-14 17:52:07 +02:00
steffen123
908936fc25 gettext-ify Hud.py 2010-08-14 17:46:10 +02:00
steffen123
66d8efb4c5 gettext-ify Hello.py 2010-08-14 17:38:18 +02:00
steffen123
6914c90341 gettext-ify GuiPrefs.py 2010-08-14 17:36:19 +02:00
steffen123
755b19af4f gettext-ify GuiSessionViewer.py 2010-08-14 16:54:30 +02:00
steffen123
fa0c3d82ce gettext-ify PokerStarsToFpdb.py 2010-08-14 16:27:23 +02:00
steffen123
3e50bd4a6d gettext-ify GuiGraphViewer.py 2010-08-14 06:23:30 +02:00
steffen123
df891ac6cc gettext-ify GuiTourneyViewer.py 2010-08-14 05:24:55 +02:00
steffen123
11a6122f43 updated po file 2010-08-14 02:59:40 +02:00
steffen123
beb69d84bc Merge branch 'ferki' 2010-08-14 02:40:31 +02:00
steffen123
d6d3d8f0ce gettext-ify Configuration 2010-08-14 02:16:34 +02:00
steffen123
bd1729d5df gettext-ify betfair2fpdb 2010-08-14 02:10:13 +02:00
Erki Ferenc
2c2f1e5cbe Merge branch 'l10n' 2010-08-14 02:04:07 +02:00
Erki Ferenc
d061c89715 Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-14 02:03:48 +02:00
steffen123
5e91c6037b Merge branch 'l10n' 2010-08-14 02:00:04 +02:00
Erki Ferenc
91ab7d46a3 Merge branch 'ferki' 2010-08-14 01:28:21 +02:00
Erki Ferenc
2994acd39a l10n: added Hungarian translation 2010-08-14 01:20:05 +02:00
gimick
4a6075fb04 Regression test: FTP post BB out of turn, fold and leave table 2010-08-13 20:03:41 +01:00
gimick
75b2828126 Regression test: add file with FTP short lived date-format change 2010-08-13 20:02:27 +01:00
Erki Ferenc
3c28779d01 Example hand: unseated player taking actions
At PartyPoker if a player sits down to a table after a small blind has
been posted but every possible big blinds still not posted (e.g. by new
players at the table) then it is possible to not have the player's name
in the seat list but he/she can take actions during the hand.
2010-08-13 08:35:29 +02:00
steffen123
b1724437ac gettext-ify Anonymise 2010-08-13 06:03:15 +02:00
steffen123
0f9e35d1fc set charset in po file 2010-08-13 05:43:51 +02:00
steffen123
12104b3c52 update .po file 2010-08-13 05:40:02 +02:00
steffen123
5bde812b85 gettext-ify HUD_main.pyw 2010-08-13 05:32:09 +02:00
steffen123
d703d0ca7a Merge branch 'master' into l10n
Conflicts:
	pyfpdb/fpdb.pyw
2010-08-13 05:01:01 +02:00
steffen123
f03b295b0b gettext-ify GuiBulkImport 2010-08-13 04:59:17 +02:00
steffen123
3dac606b4f gettext-ify ImapFetcher and GuiImapFetcher 2010-08-13 04:48:06 +02:00
steffen123
d601ecde5b add translators wanted notice to start screen 2010-08-13 04:36:22 +02:00
steffen123
d1bb8defc8 gettext-ify GuiTourneyPlayerStats and remove untranslated fpdb-de_DE.po 2010-08-13 04:30:42 +02:00
steffen123
d876c250a4 gettext-ify GuiAutoImport.py 2010-08-13 04:23:11 +02:00
steffen123
1b802d0d8a update .po and .mo files 2010-08-13 04:12:38 +02:00
steffen123
4aba116b9a allow py27 on windows 2010-08-13 04:10:13 +02:00
steffen123
69dba72040 final _() for fpdb.pyw 2010-08-13 04:09:28 +02:00
steffen123
fe1c9aed70 remove another useless method from fpdb.pyw 2010-08-13 03:51:51 +02:00
steffen123
8b0d1d28bc more _() in fpdb.pyw 2010-08-13 03:51:03 +02:00
steffen123
bfac6f9985 remove unimplemented and unneeded dia_licensing 2010-08-13 03:47:48 +02:00
steffen123
d1942218d6 more _() for fpdb.pyw 2010-08-13 03:47:00 +02:00
steffen123
9c60a7f8b9 remove now useless method not_implemented 2010-08-13 03:39:50 +02:00
steffen123
05500cf4bd more _() markings for l10n 2010-08-13 03:28:27 +02:00
steffen123
92435dd714 the first translation in fpdb! i did a few strings and hardcoded the language to de_DE just for testing.
this is more a proof of concept
2010-08-13 02:49:01 +02:00
steffen123
ac3387c85e Merge branch 'carl' 2010-08-13 00:47:11 +02:00
steffen123
471726d450 make it run with pgsql (gives pretty strange results tho) 2010-08-13 00:34:56 +02:00