Commit Graph

3384 Commits

Author SHA1 Message Date
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
steffen123
f77e8ec714 update expected dump for empty db to new db version 2010-08-13 00:26:14 +02:00
sqlcoder
be7705226d improve handling of missing / unavailable db errors 2010-08-12 22:16:27 +01:00
sqlcoder
d6c7ccaeff get tourney stats working for sqlite and pg (pg display still dodgy, think gui is mangling some fields somehow, e.g. sitename) 2010-08-12 22:15:44 +01:00
steffen123
4a3869395c note that positional stats doesnt work on sqlite in menu 2010-08-12 20:30:22 +02:00
steffen123
4bcc622efa The commented out gettext in fpdb.pyw and HHC should work, but doesnt
I tried having those lines in a plain script but same problem - translation file not found
2010-08-12 20:23:36 +02:00
Worros
4e9c32ed84 Configuration: Make new gui_cash_stats have sane defaults when missing from config 2010-08-12 22:52:12 +08:00