Commit Graph

3408 Commits

Author SHA1 Message Date
sqlcoder
dff67e8e69 add hot key to button 2010-08-21 22:39:25 +01: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