Commit Graph

4016 Commits

Author SHA1 Message Date
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