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
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
7b56b5b542
minor ebuild updates
2010-08-17 21:30:40 +02:00
steffen123
c7a471e41f
update gentoo ebuild dev readme
2010-08-17 21:27:08 +02:00
steffen123
88570e5c66
ebuild: add ChangeLog and readme for deps, update metadata description, updated manifest
2010-08-17 21:24:52 +02:00
steffen123
4e83734703
remove keywords from live ebuild as required by gentoo policy
2010-08-17 21:15:22 +02:00
steffen123
81d3f40b5b
ebuild: add metadata.xml, add Manifest to version tracking
2010-08-17 21:07:33 +02:00
steffen123
4a457b7ab1
ebuild: move EAPI declaration to beginning as required by repoman
2010-08-17 20:59:51 +02:00
steffen123
437a725e6a
ebuilds: change spaces to tabs as required by repoman
2010-08-17 20:56:36 +02:00