Commit Graph

29 Commits

Author SHA1 Message Date
Worros
ac2937dc78 Session Viewer: Add a warning dialog on loading 2010-11-23 12:59:23 +08:00
lastpoet
21b6108345 Fix matplotlib warning
Harmonise matplotlib backend
2010-10-04 20:39:34 +01:00
Worros
016172f78d L10n update: Gui* 2010-09-23 13:11:06 +08:00
steffen123
acfc110d03 remove remaining calls to removed config section 2010-08-23 07:28:30 +02:00
steffen123
2a69e927d2 add more missing imports and one _() 2010-08-16 01:41:25 +02:00
steffen123
755b19af4f gettext-ify GuiSessionViewer.py 2010-08-14 16:54:30 +02:00
steffen123
337fc353c8 rename RingFilters back to Filters 2010-07-17 03:39:31 +02:00
steffen123
519c49904a CLEANUP: remove FpdbSQLQueries as its been migrated elsewhere 2010-07-11 14:49:19 +02:00
steffen123
e526501384 rename GuiPlayerStats to GuiRingPlayerStats and Filters to RingFilters 2010-07-11 05:49:58 +02:00
steffen123
178b528d3b change calls to python2 back to python 2010-07-08 20:01:03 +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
Worros
d11623c736 Update Session viewer based on Socratic comments 2010-04-23 11:39:52 +08:00
Worros
c0ebc4b7cf Update to Session viewer
Fix a couple of crashers

- Make sure last session in list is displayed correctly
- Actually calculate hands/hour (Thanks Socratic)
- Make graph display the correct number of sessions
2010-04-22 23:22:28 +08:00
Mika Bostrom
a841603460 Some character set improvements
The strings (names) as stored in database should always be UTF-8;
whatever the display locale is, we then need to convert from the storage
encoding to session encoding. When making database queries with players
names in them, the names must be reconverted to UTF-8.
2010-01-21 21:24:55 +02:00
unknown
a6b7292943 mostly None checkings fixed (== to is != to is not) 2009-11-03 14:30:52 -05:00
Worros
28ca49d592 Fix GuiSessionStats.py for sqlite
Fix based on solution from Eleatic Stranger on 2+2
2009-11-02 17:23:50 +08:00
grindi
5e6899a29e Print out actual exception when import fails. Python 2.5 compatible 2009-10-31 17:48:48 +03:00
grindi
19b46e8444 Revert "Revert "Print out actual exception when import fails""
This reverts commit ce0e2c139b.
2009-10-31 17:46:11 +03:00
Worros
ce0e2c139b Revert "Print out actual exception when import fails"
This reverts commit 626ff49eb4.

Turns out this commit is python 2.6 syntax
2009-10-31 08:55:54 +08:00
Worros
626ff49eb4 Print out actual exception when import fails 2009-10-29 13:17:17 +08:00
sqlcoder
fabec1604a stop warnings when importing from fpdb.py 2009-10-26 21:59:41 +00:00
Worros
115c44e7b1 Move session stats query into SQL.py 2009-10-26 16:39:37 +08:00
Worros
914f930c5b GuiSessionViewer update.
Getting closer - added player and date tests. Not convinced the data coming back is koshur though - got a $3600 day in the middle of my data
2009-10-23 15:01:02 +08:00
Worros
a2309f704c More GuiSessionViewer updates
Getting closer to a decent layout
2009-10-23 13:50:06 +08:00
Worros
397f654789 GuiSession viewer update.
Still broken, got the math right in preparation for candlestick graph
2009-10-22 14:09:36 +08:00
Worros
58707d2022 Update GuiSessionViewer.
Still horribly broken, but on its way
2009-10-21 17:22:47 +08:00
Worros
b4ccc7f45c Add guards around numpy in GuiSessionViewer for windows users 2009-09-03 11:29:30 +08:00
sqlcoder
b9d462c175 make graphviewer use Database.py 2009-07-19 21:19:58 +01:00
Worros
3892b3789d Session breakdown Proof of Concept
Only prints some of the session breakdown to stdout at the moment,
otherwise is a copy of PlayerStats with a bunch of stuff commented out.

Looks like:

DEBUG: len(times) 337
DEBUG: len(diffs) 336
DEBUG: len(index[0]) 2
DEBUG: index [54 88]
DEBUG: index[0][0] 54
Hands in session    0:   54  Start: 22/03/2009 07:04 End: 22/03/2009
07:49 Total: 2669
Hands in session    1:   33  Start: 24/03/2009 17:10 End: 24/03/2009
17:35 Total: 1482

I think the Total number has an index incorrect at the moment.
2009-05-26 16:10:27 +08:00