Commit Graph

180 Commits

Author SHA1 Message Date
steffen123
de9d48cc6a remove menu entry for set handhistory archive directory 2010-08-25 14:55:37 +02:00
steffen123
fdfefc753f update GUI version string to git again 2010-08-25 11:50:36 +02:00
steffen123
f2fe4b0ce7 update version string in GUI 2010-08-25 08:06:12 +02:00
steffen123
abe5934e0c add note about viewers broken on pgsql to GUI 2010-08-25 06:46:52 +02:00
steffen123
fa6da55618 remove table viewer config handling from code 2010-08-22 04:18:00 +02:00
steffen123
96f547b3df fix typo in fpdb.iconify 2010-08-21 18:32:46 +02: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
steffen123
199929b2d0 a couple of l10n related fixes to fpdb.pyw 2010-08-17 23:30:15 +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
steffen123
d703d0ca7a Merge branch 'master' into l10n
Conflicts:
	pyfpdb/fpdb.pyw
2010-08-13 05:01:01 +02:00
steffen123
d601ecde5b add translators wanted notice to start screen 2010-08-13 04:36:22 +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
sqlcoder
be7705226d improve handling of missing / unavailable db errors 2010-08-12 22:16:27 +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
steffen123
6e654e5075 allow multiple email configs, start of nicer GUI for it 2010-08-10 03:28:57 +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
Eratosthenes
edce06c5cb Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-04 17:39:00 -04:00
steffen123
8b3131eb9e update GUI version to indicate git 2010-08-02 22:35:31 +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
841cb85f0b bump version numbers 2010-07-30 22:52:03 +01:00
steffen123
872bf2fa28 correct version number 2010-07-29 14:24:23 +02:00
steffen123
5b432bcd99 GUI: remove obselete and broken table viewer 2010-07-27 15:48:19 +02:00
steffen123
3759af4902 GUI: update version indicator to include "plus git" again 2010-07-22 22:59:53 +02:00
steffen123
4eefd15175 GUI: update version for snapshot 2010-07-22 21:18:55 +02:00
steffen123
61034680fe GUI: indicate that TPS is only for mysql right now 2010-07-22 21:18:20 +02:00
steffen123
b73ee36602 Merge branch 'sqlcoder' 2010-07-22 20:28:25 +02:00
Eratosthenes
902a4ad722 Merge branch 'master' of git://git.assembla.com/fpdb
Conflicts:
	pyfpdb/FulltiltToFpdb.py
2010-07-21 22:45:14 -04:00
steffen123
d169733adf GUI: update version display for -git 2010-07-22 02:23:07 +02:00
Eratosthenes
64d76855f1 Merge branch 'master' of git://git.assembla.com/fpdboz
Conflicts:
	pyfpdb/py2exe_setup.py
2010-07-21 18:46:34 -04:00
sqlcoder
61fb3df695 some work on guidatabase and turn it on 2010-07-19 21:36:45 +01:00
sqlcoder
2a0fbcca4c clear auto import player cache when re-creating db 2010-07-18 16:21:27 +01:00
sqlcoder
73b7729530 quit no longer needed now importer cache is being cleared (may need to clear auto import player cache as well?) 2010-07-18 16:17:40 +01:00
steffen123
dfacdbea7a Merge branch 'sqlcoder' 2010-07-18 02:03:40 +02:00
steffen123
139dfbafb5 CLEANUP: move dump db file saving stuff into fpdb.pyw 2010-07-17 05:11:09 +02:00
steffen123
7f2f630186 GUI: add some warnings and further info to HUD configurator 2010-07-17 03:09:55 +02:00
steffen123
c23a1388fc GUI: HUD configurator fully working, dont even need to restart fpdb 2010-07-17 00:23:48 +02:00
steffen123
5bf7937f9e CLEANUP: remove trivial commented out method 2010-07-16 21:57:32 +02:00
steffen123
ef91cb5ad1 GUI: HudConfigurator displays all stats now and reads selections 2010-07-16 21:56:44 +02:00
steffen123
d95fcfe5d0 GUI: HudConfigurator shows combo boxes for stats 2010-07-16 21:00:29 +02:00
steffen123
71f8fb5ef1 GUI: have default selections and fix locking in HudConfigurator 2010-07-16 20:32:01 +02:00
steffen123
a1f422cbe4 GUI: second HudConfigurator dia with grid for comboboxes 2010-07-16 20:27:43 +02:00
steffen123
f56a003242 GUI: start of HUD stat configurator: select parameters 2010-07-15 03:32:10 +02:00
steffen123
3d37006bbc rename ImapSummaries to ImapFetcher to better reflect its scope 2010-07-15 01:53:22 +02:00
sqlcoder
3657327566 clear player cache when recreating database 2010-07-14 21:07:20 +01:00
steffen123
2734dcb85a GUI: mention mailing lists on start page 2010-07-14 20:58:37 +02:00
steffen123
2bd11661e3 for now revert "comment out close of fpdb after db recreate, I don't see how it helps"
I could reproduce the bug so until its fixed I want to keep the quit-on-recreate
This reverts commit 45fa170758.
2010-07-14 18:54:31 +02:00
steffen123
79043988c2 Merge branch 'sqlcoder' 2010-07-14 18:52:33 +02:00
steffen123
35bb8a4490 POLISH: add notice about time to dump DB 2010-07-14 01:48:08 +02:00
steffen123
1329101794 POLISH: add notice about long time to recreate dialogue 2010-07-14 01:46:32 +02:00
sqlcoder
b07505d367 tidy up closedown 2010-07-13 21:23:32 +01:00
sqlcoder
c36e87a24d big merge from steffen 2010-07-13 20:20:46 +01:00
steffen123
d4e54e6aae POLISH: it can now quit when it wasn't able to connect to DB 2010-07-13 18:04:26 +02:00
steffen123
d208d627a4 stop sqlite&postgres from doing except _mysql....
sqlite gives another error on quit unfortunately
2010-07-12 16:48:12 +02:00
sqlcoder
b52110d45f change tabs to spaces 2010-07-11 19:00:27 +01:00
sqlcoder
45fa170758 comment out close of fpdb after db recreate, I don't see how it helps 2010-07-11 18:53:26 +01:00
sqlcoder
1d263c8139 fix call to db.connected() 2010-07-11 18:36:45 +01:00
steffen123
9283d7b579 some fixes for handStart rename, fixes for TT.category/limitType,
dumpDatabase method and menu entry
2010-07-11 09:47:05 +02:00
steffen123
d739773908 GUI: display config file location in about dialogue 2010-07-11 07:39:19 +02:00
steffen123
e526501384 rename GuiPlayerStats to GuiRingPlayerStats and Filters to RingFilters 2010-07-11 05:49:58 +02:00
steffen123
d3c57ee9fc repair playerstats 2010-07-11 03:13:30 +02:00
steffen123
b9762b0486 change remainder of fpdb.pyw to indicate source of lock 2010-07-10 21:11:59 +02:00
steffen123
e9346f6b82 make it record source of lock holding, print if required
this is mostly intended for devs
2010-07-10 20:10:04 +02:00
steffen123
ca61189706 added TourneyTypeCount to DB Stats window 2010-07-10 19:39:05 +02:00
steffen123
ec0db8b7cc change version indicator to sth more appropriate 2010-07-10 16:40:10 +02:00
steffen123
4c1b0e3f96 add extra enter to start screen 2010-07-10 16:24:32 +02:00
steffen123
25893c9610 GuiTourneyPlayerStats (mostly copied from GuiPlayerStats) works without data 2010-07-10 02:09:58 +02:00
steffen123
4c00ef19cc implement simple DB stats - Hand and tourney count 2010-07-10 02:07:47 +02:00
steffen123
00e156beba removed some unused stub methods 2010-07-09 22:09:33 +02:00
steffen123
bc85c7fe8d removed unimplemented menu entry abbreviations 2010-07-09 20:47:58 +02:00
steffen123
4d17bd65e1 remove unimplemented menu entry create/del DB user 2010-07-09 20:46:45 +02:00
steffen123
29d1120bf1 removed unimplemented menu entry session replayer 2010-07-09 20:43:01 +02:00
steffen123
ef98564d72 remove unimplemented hand replayer and player details menu entries 2010-07-09 20:32:49 +02:00
steffen123
36b90ba654 remove unimplemented auto rate menu entry 2010-07-09 20:30:57 +02:00
steffen123
a724102dbc remove unimplemented edit profile menu entry 2010-07-09 20:29:44 +02:00
steffen123
d138c3b4e1 create subclasses for guiplayerstats and filters 2010-07-09 04:47:33 +02:00
steffen123
5b64ad771a it now stores entries, prizepool and endTime into TT 2010-07-08 23:47:06 +02:00
steffen123
e815cc38db change version to 0.21 2010-07-08 23:43:43 +02:00
steffen123
3bff176970 Merge branch 'carl'
Conflicts:
	packaging/debian/changelog
	pyfpdb/PokerStarsToFpdb.py
	pyfpdb/TourneySummary.py
2010-07-08 22:33:09 +02:00
steffen123
178b528d3b change calls to python2 back to python 2010-07-08 20:01:03 +02:00
steffen123
c6b6f8a788 many not really separable changes for IMAP import and associated cleaning
- deactivated use of TourneySummary (short: TS) from HHC and subclasses
- menu entry for IMAP import
- converted ImapSummaries (short: IS) to use the config file
- IS now optionally supports non-SSL and can run on folders other than INBOX
- removed gametypes and getGameTypeAsString from TS method as identical one is in Hand
- some other stuff
2010-07-08 19:46:25 +02:00
Worros
52ae2e6b1f Merge branch 'master' of git://git.assembla.com/fpdb
Conflicts:
	pyfpdb/DatabaseManager.py
	pyfpdb/TourneySummary.py
	setup.py
2010-07-08 15:48:21 +08:00
Worros
4d4d6f297f Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-07-08 11:44:10 +08:00
gimick
084c7a5c58 Update help/about set version 0.20 2010-07-07 21:55:01 +01:00
Worros
4577cfbfa2 some cleanups:
- updated copyright notices
- added copyright notices that were missing
- changed python to python2
- added gpl-2/3 license texts
- removed THANKS.txt file as the wiki version is more up to date
- removed empty fpdb_db.py
- added GPL2 to debian license file

Conflicts:

	pyfpdb/Database.py
	pyfpdb/DerivedStats.py
	pyfpdb/SQL.py
	pyfpdb/SummaryEverleaf.py
	pyfpdb/TournamentTracker.py
	pyfpdb/Tourney.py
	run_fpdb.py
2010-07-05 12:17:08 +08:00
steffen123
ea1e136ae2 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-07-04 23:20:24 +02:00
steffen123
8c0395ef78 quit fpdb automatically after re-create. ppl tend to ignore msgboxes ;) 2010-07-04 23:19:57 +02:00
steffen123
3b24fd18b2 some cleanups:
- updated copyright notices
- added copyright notices that were missing
- changed python to python2
- added gpl-2/3 license texts
- removed THANKS.txt file as the wiki version is more up to date
- removed empty fpdb_db.py
- added GPL2 to debian license file
2010-07-04 03:05:16 +02:00