Commit Graph

3655 Commits

Author SHA1 Message Date
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
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
Worros
ad4fcef2fd DerivedStats: re-fix (break?) sawShowdown again.
Comment from code:

hand.players includes people that are sitting out on some sites for cash games
actionStreets[1] is 'DEAL', 'THIRD', 'PREFLOP', so any player dealt cards
must act on this street if dealt cards. Almost certainly broken for the 'all-in blind' case
and right now i don't care - CG
2010-08-12 21:44:40 +08:00
Worros
acd80f7666 Fix Stars commit.
Forgot a ')'
2010-08-12 15:35:29 +08:00
Erki Ferenc
31d3c37224 Determine blind amounts from RINGLIMIT and max buyin
The previous method was giving wrong results in some cases (e.g. the preflop forced allin situation from blind positions), so here's an another enhancement. At
PartyPoker there's two types of buyins for a cashgame table: 20BB min and 100BB max. The former has a 40BB max, while the latter has 35BB min too. This patch
makes fpdb to determine if a ring table is a 20BB min or 100BB max table, then calculates the correct big blind amount from that. When big blind is ready then
halves it for the small blind (except when big blind is 0.25$ when small blind is 0.10$).
2010-08-12 14:59:45 +08:00
Worros
5c76ec77d6 Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-12 14:40:09 +08:00
Worros
a20bc801e8 Stars: Adjust limit blind lookup
The hash for limit values needed both 20.00 and 20.

Fixed for all values up to 1000
2010-08-12 12:23:22 +08:00
steffen123
b5e481412e fix session stats in pgsql 2010-08-11 06:11:11 +02:00
steffen123
f0b5b4063b fix session viewer in mysql 2010-08-11 05:53:02 +02:00
steffen123
19bcc60c6a missed a spot 2010-08-11 04:50:01 +02:00
steffen123
d1c1a0a0f4 correct Backings.tourneysPlayerId to tourneysPlayersId like it's used in HP 2010-08-11 04:43:17 +02:00
steffen123
f1ac0b1dfa record HC.TTid on pgsql 2010-08-11 04:39:34 +02:00
steffen123
02b5ea8d37 corrected sqlite table layout. this also fixes hudcache generation for tourneys on sqlite 2010-08-11 04:25:47 +02:00
steffen123
5cba225fb3 improve naming of replacement clauses 2010-08-11 04:23:16 +02:00
steffen123
b385f9f0da this caused it to create a new TourneyType for each Tourney
Revert "remove some default values - if we don't know, don't just assume no/normal"

This reverts commit 7f8243f19d.
2010-08-11 03:10:08 +02:00
steffen123
174aa4adfb hudcache is regenerated properly on mysql now 2010-08-11 00:10:10 +02:00
steffen123
36b212388d make rebuildHudCache act on cash hands only 2010-08-10 23:31:53 +02:00
steffen123
87d4549b67 renamed PP files to match existing scheme 2010-08-10 23:16:30 +02:00
steffen123
d7a7cca2ab Revert "GRAPH: Put legend in "best" position, not fixed in top left."
previous consensus that I wasn't aware was to have the old setting, since "best" is
only better in some cases so I'm reverting this
This reverts commit 2d8f9dcc78.
2010-08-10 20:50:19 +02:00
steffen123
f0ef6e7e8b add stub for query for positional stats on sqlite 2010-08-10 20:45:40 +02:00
steffen123
ced47999bb GuiImap: don't show email password 2010-08-10 06:14:15 +02:00
steffen123
9dff572385 GuiImap: more error handling 2010-08-10 05:19:54 +02:00
steffen123
4da521eadc GuiImap: pass on auth failed error to GUI 2010-08-10 05:10:39 +02:00
steffen123
d94254c9cd GuiImap: turn non-editable fields into labels 2010-08-10 04:50:27 +02:00
steffen123
59f8bb1a70 GuiImapFetcher can save config 2010-08-10 04:44:35 +02:00
steffen123
97f1f8b836 display existing configs in IMAP tab 2010-08-10 03:50:26 +02:00
steffen123
6e654e5075 allow multiple email configs, start of nicer GUI for it 2010-08-10 03:28:57 +02:00
Erki Ferenc
c7e86513c7 Added validation to blind detection
Included checks for any ring game hands if there's a blind could be
found and if either SB or BB detection fails then determineGameType will
return None. It's needed for handling some invalid ring hands (e.g.
table closed messages at the end of a HH file).

Signed-off-by: steffen123 <steffen@schaumburger.info>
2010-08-10 02:05:14 +02:00
gimick
a6d7f27f5b FullTilt fixup currency typo 2010-08-10 00:32:53 +01:00
gimick
792e66c2b5 Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-10 00:31:14 +01:00
steffen123
c5acd04bb6 This makes HUD Cache work again but without tourneytypeid - one of these lines breaks it 2010-08-10 01:27:25 +02:00
steffen123
4fbb26b4fa remove some 100% duplicates 2010-08-10 01:00:35 +02:00
steffen123
08451c77d5 handle player not found 2010-08-10 00:49:14 +02:00
steffen123
10fac81ef9 handle tourney not found 2010-08-10 00:46:55 +02:00
steffen123
391c42cdff add error handling for invalid entry into tourneNo field 2010-08-10 00:35:02 +02:00
steffen123
3467f757d3 refactor a bit in GuiTourneyViewer to reduce code duplication 2010-08-10 00:25:43 +02:00
steffen123
8a6fe1588c PP histories by email. note how it skips the lines about hero raising 2010-08-10 00:05:13 +02:00
steffen123
f72b45e8f0 PP corner case history from ferki 2010-08-10 00:03:24 +02:00
steffen123
bb743b4567 add button to display info from TP to tourneyviewer 2010-08-09 23:41:48 +02:00
steffen123
c5bd036b6e add tourney viewer that displays info from TT and T, but not yet TP 2010-08-09 23:22:58 +02:00
gimick
2d8f9dcc78 GRAPH: Put legend in "best" position, not fixed in top left. 2010-08-08 22:48:08 +01:00
steffen123
6ac8f410f6 Merge branch 'eric' 2010-08-08 20:13:07 +02:00
Eric Blade
16cd5e7505 update Everleaf config example, add bbper100/BBper100 stats to popup default, fix my last tweak to hhc 2010-08-05 12:31:37 -04:00
Eric Blade
e49beb7724 Hand: extreme terminal spam when something bad happens in readBlinds, stop crashing import
HHC: set obs when failing to open a file (ie, you've stored a zip file in your handhistory folder), stop crashing import
2010-08-05 12:12:18 -04:00
Worros
333c0bb716 Filters: fix SQL query to only return ring game blind levels 2010-08-05 17:18:43 +08:00
Worros
0c9e3e4973 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-08-05 16:55:18 +08:00
Worros
246c625fef FTP: Update regexes to support EUR games.
This touches on many Full Tilt regexes, and they appear to be functional.

I dont have a pristine FTP.fr hand history to test this with yet.

Buyer beware.
2010-08-05 16:43:24 +08:00
Eric Blade
7486095069 Merge branch 'master' of git://git.assembla.com/free_poker_tools.git 2010-08-05 04:11:36 -04:00
Eric Blade
381e8958d9 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-08-05 04:09:51 -04:00
Eric Blade
42d85abfa4 Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-08-05 04:08:17 -04:00
Eric Blade
28576d70f8 switch "0.00%" on ffreq1 to NA, need to update all the other percents with that sometime too 2010-08-05 04:07:37 -04:00
Worros
2859948c8a Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-05 12:04:14 +08:00
Worros
c8006dc468 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-08-05 12:03:54 +08:00
Worros
cb6be49c6a Merge branch 'master' of git://git.assembla.com/fpdb-eric 2010-08-05 12:03:21 +08:00
Worros
7449f11718 Fix HUD_config.xml.example 2010-08-05 12:03:04 +08:00
Worros
9c263f3c84 Bulk Import: Adjust usage text so i can actaully copy paste 2010-08-05 11:49:45 +08:00
Eratosthenes
8b1baa6593 Don't break stud and draw when counting players at street. 2010-08-04 20:52:37 -04:00
steffen123
9f52867bf6 add HP.wentAllInOnStreet field. explanation on wiki. 2010-08-04 23:41:50 +02:00
Eratosthenes
7d0b9ae505 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-08-04 17:39:35 -04:00
Eratosthenes
edce06c5cb Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-04 17:39:00 -04:00
sqlcoder
15f99ddfa7 add bbper100 and BBper100 stats for HUD 2010-08-04 22:23:28 +01:00
Worros
5362cd1f73 Merge branch 'master' of git://github.com/grindi/fpdb-grindi 2010-08-05 00:36:37 +08:00
steffen123
2f9ded5141 fix pgsql index rebuilding 2010-08-04 17:39:45 +02:00
grindi
bcccefe8cf Fix a bug with blinds' amount detection on PartyPoker ring games
Patch by Erki Ferenc <erkiferenc@gmail.com>
2010-08-04 19:31:52 +04:00
Eric Blade
618dcc0473 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-08-04 07:29:48 -04:00
Worros
8f596d11af Config: Add the hint of providing defaults for the new config element
Adds a new function to Config to provide a complete list of Gui stat cols.

Still needs test to see if the element actually exists in the config
2010-08-04 17:28:38 +08:00
Worros
c0f8f2be2a Config: Add default config for player stats columns 2010-08-04 16:18:22 +08:00
sqlcoder
e203c1321d add new section for ring stats to example hud_config 2010-08-04 08:54:16 +01:00
Worros
bc06e031fa Stars: Potention fix to Mixed PLH/PLO tourneys.
"PokerStars Game #47587046512: Tournament #294420919, $5.00+$0.50 USD Mixed PLH/PLO (Hold'em Pot Limit) - Level XVII (500/1000) - 2010/08/01 20:39:48 ET"

We already parsed up to 'Mixed' and accepted HORSE/HOSE and 8-Game previously. Added PLH/PLO to the list.
2010-08-04 13:16:34 +08:00
steffen123
bf33f0cef3 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2010-08-03 22:36:12 +02:00
steffen123
7f8243f19d remove some default values - if we don't know, don't just assume no/normal 2010-08-03 22:32:31 +02:00
steffen123
faee37e101 set isKO to false when we know it's not a KO 2010-08-03 22:25:49 +02:00
Worros
edd0d36aa7 Test file: NLHE-USD-MTT-1-KO.201008.txt
$1.40 KO SnG from Stars.

Worth noting that neither the HH nor the tournament summary contain any bounty information.

The only place it was noted was in the individual tourney mailout

"You have also received USD 1.25 in Knockout Bounties for this tournament. You won bounties for the following players: odotb, Yvbo, bumbastik7, gliberis, __DMN__54321"
2010-08-04 02:10:44 +08:00
Worros
dc2b315a9f Stars: Fix FPP tourneys (maybe...)
Also move hand.isKO to the correct place
2010-08-03 19:52:49 +08:00
Worros
53c796dddc Importer: Add excetion handler to hud call.
Had a report on the 2+2 thread that:

  File "C:\Documents and Settings\b\Desktop\fpdb\pyfpdb\GuiAutoImport.py", line 160, in do_import
    self.importer.runUpdated()
  File "C:\Documents and Settings\b\Desktop\fpdb\pyfpdb\fpdb_import.py", line 371, in runUpdated
    (stored, duplicates, partial, errors, ttime) = self.import_file_dict(self.database, file, self.filelist[file][0], self.filelist[file][1], None)
  File "C:\Documents and Settings\b\Desktop\fpdb\pyfpdb\fpdb_import.py", line 467, in import_file_dict
    print "fpdb_import: sending hand to hud", hand.dbid_hands, "pipe =", self.caller.pipe_to_hud
IOError: [Errno 9] Bad file descriptor

Was happening, which is a crash attempting to print self.caller.pipe_to_hud

This patch doesn't fix the problem, but should give some indication in the log that it happened.
2010-08-03 19:27:34 +08:00
Worros
9329475298 Stars: Take 42 on Tourney parsing
Hopefully fix parsing for bounty and cash tourneys for good.

FPP is probably still broken
2010-08-03 19:22:52 +08:00
Worros
2fd856d55b HHC: Shorten length of time hh file is open by 2 lines 2010-08-03 18:24:03 +08:00
Eric Blade
d20c82c296 add preflop actors to blindsantes for determining who was in hand for wtsd calcs 2010-08-03 00:24:14 -04:00
Eric Blade
0c318df8ea fix comment on cbet stat 2010-08-02 17:50:19 -04:00
Eric Blade
7cd9b767a7 add some missing stats to the default popup 2010-08-02 17:33:18 -04:00
Eric Blade
49d8e0055d tweak cards shown regex 2010-08-02 16:47:32 -04:00
steffen123
7d70386c7e remove two windows packaging files as they're superseded 2010-08-02 22:37:00 +02:00
steffen123
8b3131eb9e update GUI version to indicate git 2010-08-02 22:35:31 +02:00
steffen123
ed3d6ac15a fix so it works with old-style tourney header missing ISO currency code 2010-08-02 16:46:46 +02:00
steffen123
08959e3176 fix for 1FPP tourney 2010-08-02 16:36:25 +02:00
steffen123
9daadeb7f9 fix regex for FPP tourneys 2010-08-02 15:12:55 +02:00
steffen123
57d9cc5665 very dirty hack to work around bug in gameinfo regex missing last digit of second number 2010-08-02 14:56:20 +02:00
steffen123
1054bf028d Merge branch 'gimick' 2010-08-02 14:37:14 +02:00
steffen123
b10868347f Merge branch 'sqlcoder' 2010-08-02 14:34:35 +02:00
steffen123
102cfa5d88 Merge branch 'eric'
Conflicts:
	pyfpdb/DerivedStats.py - identical change was already pulled
2010-08-02 14:30:29 +02:00
steffen123
1b4b335b29 Merge branch 'carl' 2010-08-02 14:00:26 +02:00
steffen123
9ad275e11c recognise and store knockout and bounty 2010-08-02 13:53:50 +02:00
gimick
7b3bee9146 py2exe : include mit.txt licence file 2010-08-02 12:36:42 +01:00
steffen123
388097a412 fix import for non-KO tourneys 2010-08-02 13:35:20 +02:00
steffen123
0776b8ef25 Merge branch 'gimick' 2010-08-02 12:47:25 +02:00
steffen123
d3f7583174 correct license info in about dialogue 2010-08-02 12:05:49 +02:00
steffen123
ddf69015cb add MIT license and notice 2010-08-02 11:53:02 +02:00
steffen123
0c4ce1b655 remove license menu entry as that info is in the about dialogue 2010-08-02 11:18:44 +02:00
gimick
5f2acf9fe6 py2exe: get pytz working; make script more restartable; update walkthrough 2010-08-01 23:51:33 +01:00
gimick
f9b437c8d3 Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-01 22:51:47 +01:00
Eric Blade
d3f99eec9b call reposition_windows after doing a window move, so that the user doesn't need to hit the menu option to do it (reposition_windows manages to successfully move the hidden windows, whereas the original move doesn't, for some reason) 2010-08-01 03:05:35 -04:00
Eric Blade
8daee8da9b Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-08-01 02:42:48 -04:00
steffen123
ed239668c0 fix pgsql index and foreign key drops 2010-07-31 23:55:05 +02:00
Eric Blade
e8d39711dd fix from carl for wtsd, more tweaks to everleaf regexes 2010-07-31 17:24:06 -04:00
sqlcoder
a3e55ba3f5 smarten up names of displayed categories and settings 2010-07-31 21:38:52 +01:00
steffen123
b4ff46ec4f fix typo in pgsql raiseFirstInChance 2010-07-31 22:31:55 +02:00
steffen123
c136f7a2dc fix pgsql table creation 2010-07-31 22:27:24 +02:00
sqlcoder
09dba1001e Merge branch 'master' of git://git.assembla.com/fpdb 2010-07-31 20:55:50 +01:00
sqlcoder
66cbf49cdc store column info for cash stats in config. Can now enhance gui to let user change column choices 2010-07-31 20:55:29 +01:00
Worros
14588b3bf9 DerivedStats: Fix sawShowdown for sitting out players in cash games 2010-08-01 02:09:34 +08:00
Worros
832135054c Revert "DerivedStats: Fix sawShowdown for sitting out players in cash games"
This reverts commit 43de7a7141.
2010-08-01 02:07:12 +08:00
Worros
43de7a7141 DerivedStats: Fix sawShowdown for sitting out players in cash games 2010-08-01 01:17:33 +08:00
Eric Blade
0e4be93e50 further update regexes for accounting problems with euro games 2010-07-31 12:25:01 -04:00
Eric Blade
7289f79bba Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-07-31 11:51:24 -04:00
grindi
223f7441b6 Fixes for absolute poker
Note: previous xtables's re doesn't match java absolute client
2010-07-31 22:55:43 +08:00
grindi
37e098fce9 Fixes for absolute poker
Note: previous xtables's re doesn't match java absolute client
2010-07-31 14:38:24 +04:00
Worros
961ade9aff Stars: Make Knockout tourneys parse
Adjusted GameInfo regex to separately parse buyin, rake and knockout for tournamets
2010-07-31 16:57:25 +08:00
gimick
841cb85f0b bump version numbers 2010-07-30 22:52:03 +01:00
Eric Blade
638b0cc2c1 Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-07-30 16:10:08 -04:00
steffen123
a493e22c54 Merge branch 'carl' 2010-07-30 13:33:11 +02:00
steffen123
f407b70419 Merge branch 'sqlcoder' 2010-07-30 02:50:07 +02:00
sqlcoder
1688dfc991 add ability to display different columns in summary and position breakdown. Next job is to add this info to config and build a column config dialog. Also set height of top stat pane better. 2010-07-30 01:00:31 +01:00
steffen123
4510268bc8 teach windows how to handle non-ASCII usernames 2010-07-30 00:51:47 +02:00
unknown
c059fde3a9 remove derpy comment 2010-07-29 17:57:19 -04:00
unknown
981dcc632c everleaf euro support 2010-07-29 17:52:19 -04:00
unknown
4fa5ce2411 sql.py change for storing currency 2010-07-29 17:27:36 -04:00
unknown
a11f4f61cd store game currency 2010-07-29 17:27:07 -04:00
steffen123
216c9f2714 increase DB version for sqlcoder's recent DB change 2010-07-29 17:31:40 +02:00
Worros
de39d1cabf Add all Timezones that Stars supports to TZ function
All timezones outside of Australia I dodn't define for the moment.

Still requires support for actually getting said timezone, but were on our way.
2010-07-29 22:57:57 +08:00
steffen123
792a2aec4f finally fix the DST handling properly using pytz 2010-07-29 16:18:05 +02:00
steffen123
5721b5b23c Merge branch 'carl' 2010-07-29 14:39:34 +02:00
steffen123
872bf2fa28 correct version number 2010-07-29 14:24:23 +02:00