Commit Graph

4004 Commits

Author SHA1 Message Date
steffen123
c21966af4b Merge branch 'carl' 2010-08-24 03:28:34 +02:00
steffen123
c982f3d100 Merge branch 'mika' 2010-08-24 03:26:40 +02:00
Mika Bostrom
9949185214 Modify build script to install locales
When fpdb is built, the prebuilt .mo files from locale/$LANG/$TYPE/ are
now automatically copied to target directory. For debian builds this
means that all locales are placed in $INSTROOT/usr/share/locale and
should be instantly usable for inclusion.
2010-08-23 23:39:01 +03: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
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
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