Commit Graph

86 Commits

Author SHA1 Message Date
sqlcoder
a93562c229 make fpdb and hud write separate log files, refine py2exe some more 2010-02-10 23:33:50 +00:00
sqlcoder
264b75b5b0 fix some sqlite and unicode issues (thanks to Gerko) 2010-01-31 23:46:51 +00:00
Gerko de Roo
bacca69c49 Default graph created for empty data query 2010-01-29 12:33:15 +08:00
Worros
fb7aae9186 clean-up code to get playerId in gui-stats and gui-graphs
Conflicts:

	pyfpdb/GuiGraphViewer.py
2010-01-27 13:04:13 +08:00
Worros
9d6707f18f Fix Charset import got Grapher 2010-01-23 15:30:48 +08:00
Gerko de Roo
d3f17f3fb7 game selector for graphs added.
exception caught for games selector for player stats
2010-01-23 14:34:34 +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
sqlcoder
cd65aae374 allow legend box to work in python 2.5 2009-12-03 20:20:42 +00:00
Worros
8d95835afe Remove annotate from graph.
Legend box is smarter and looks better imho
2009-12-02 14:07:06 +08:00
Worros
395f19b5fb Add showdown/non-showdown winnings to Grapher 2009-12-02 14:02:06 +08:00
sqlcoder
9d754e5e4b make sure db locks are released 2009-11-25 20:55:58 +00:00
Worros
8d2b315fc8 Fix PL in Graph viewer
Grapher still doesn't support the cap games, that code could use some cleanout.
2009-11-21 11:11:31 +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
grindi
066cf12eb6 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-10-31 17:44:28 +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
grindi
faa95ca26e Merge branch 'master' of git://git.assembla.com/fpdboz 2009-10-29 11:49:09 +03:00
Worros
626ff49eb4 Print out actual exception when import fails 2009-10-29 13:17:17 +08:00
grindi
e18a1f2f93 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-10-28 18:48:20 +03:00
grindi
b4200f9f51 Tiny fix 2009-10-25 14:22:49 +03:00
Worros
a2309f704c More GuiSessionViewer updates
Getting closer to a decent layout
2009-10-23 13:50:06 +08:00
sqlcoder
4d92e3d2a0 update graph viewer to work with enhanced filter 2009-10-13 23:06:09 +01:00
Eric Blade
ba1513847b clean up exception handling in Configuration and imports in GuiGraphViewer 2009-09-15 23:30:59 -05:00
Worros
4ef4d22c94 Add back in sqlcoders changes for sqlite - fix Grapher 2009-08-08 13:56:53 +08:00
sqlcoder
0850721ecc fix problem when using more recent gtk libraries (each refresh was adding an extra chart to the existing one) 2009-08-06 20:36:11 +01:00
sqlcoder
b9d462c175 make graphviewer use Database.py 2009-07-19 21:19:58 +01:00
Worros
d8df3ea11a Possible fix for 2.6 versions of Matplotlib
Long standing issue with multiple plots being added to a single canvas.

Calling canvas.draw() appears to be the "correct" way to do this in pythin 2.6

Need someone to test if this still works in python 2.5
2009-07-16 11:46:52 +08:00
Worros
7351749b7a Merge branch 'master' of git://git.assembla.com/fpdb-sql
Conflicts:
	pyfpdb/Hand.py
2009-07-01 09:21:21 +08:00
Worros
3c438a9298 Make site selection behave like other options 2009-06-30 18:32:58 +08:00
sqlcoder
1456104382 make graph viewer use its own db connection 2009-06-22 23:30:54 +01:00
sqlcoder
456ddb3e91 use do_connect() instead of connect() and remove settings parameter (config includes them) 2009-06-22 23:19:03 +01:00
sqlcoder
a4302b61a9 make gui hide new seats part of filter, refine empty query test 2009-05-10 22:30:26 +01:00
sqlcoder
e60c254204 add rollback() to make sure db locks are released 2009-05-03 01:46:18 +01:00
Worros
ee1186bd57 Add ability for Filters to hide() panes
Also add ability to register a callback and name 2 buttons on hte left
panel
2009-04-17 12:44:43 +08:00
Worros
1939979e3c Make Grapher work with limits 2009-04-14 21:31:29 +08:00
Worros
d16bb0ac8b Make Grapher use new Filters object 2009-04-11 19:14:32 +08:00
Worros
cf637a4ce6 Make Grapher use get_supported_sites() properly 2009-04-11 14:41:48 +08:00
eblade
de60d51dcf some use of not instead of comparing to blank lists 2009-03-26 18:32:25 -04:00
Matt Turnbull
2c2d912c6e Merge branch 'master' of git://git.assembla.com/fpdboz
Conflicts:

	pyfpdb/EverleafToFpdb.py
	pyfpdb/Hand.py
	pyfpdb/HandHistoryConverter.py
2009-03-10 16:52:18 +00:00
Worros
e87118e9ae Make PLO work on Everleaf again 2009-03-11 00:14:23 +09:00
Matt Turnbull
250505f13b Merge commit 'carl/master' 2009-03-09 22:28:47 +00:00
Matt Turnbull
ddaf2575e0 git complaining have to commit 2009-03-09 22:28:35 +00:00
Worros
da88e1b20c Merge branch 'master' of git://git.assembla.com/mctfpdb
Conflicts:

	pyfpdb/EverleafToFpdb.py
	pyfpdb/FulltiltToFpdb.py
2009-03-08 14:09:16 +09:00
Worros
17609ce71b Minor mods to Grapher to try and resolve issue with multiple plots being
added
2009-03-07 18:23:30 +09:00
Matt Turnbull
1e047b6998 Don't error gruesomely when someone exports nonexistant graph
sys.path[0] to get basepath of fpdb script
2009-03-05 12:31:56 +00:00
Worros
c4ce2ea95a Make grapher export image file.
Currently dangerous with no error checking.

Exports a png file in the same dimensions as it appears on screen
2009-01-28 12:51:39 +09:00
Worros
e782fbd5f3 Comment out sample session detection code 2009-01-28 12:35:54 +09:00
Worros
30cd579131 Session detection code.
Possible use in showing sessions graphically on the plot
2009-01-22 01:40:05 +09:00
Worros
659f0bb508 Grapher: Fix Postgres to work again 2008-12-19 17:27:18 +09:00
Worros
db6a8c5b31 Grapher: Make date ranges work - MySQL 2008-12-19 17:21:58 +09:00