Commit Graph

68 Commits

Author SHA1 Message Date
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
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
Worros
49aa8921e3 Grapher: Update to support mutiple sites and players
Makes sites actually selectable via checkboxes.

Removed the sitename from the graph string for the moment - How that
string is generated needs a major overhaul
2008-12-19 16:52:32 +09:00
Worros
3a1ddad58f Fix crasher in Grapher if no hands returned.
Should alert user or at least draw something in right pane.
2008-12-11 23:55:03 +09:00
sqlcoder
4dc15bfd94 pulled and merged from fpdboz 2008-12-07 23:38:33 +00:00
Worros
998ab6eac3 Add start of graph export functionality
No function yet - just adds callback
2008-12-06 20:51:36 +09:00
Worros
fefbcfca65 Whitespace churn on Graph viewer 2008-12-04 16:15:38 +09:00
sqlcoder
a824814c0a sqlcoder initial updates 2008-12-02 00:15:50 +00:00
Worros
762ae46afb Merge branch 'master' of git://git.assembla.com/fpdb-eric
Conflicts:

	pyfpdb/GuiGraphViewer.py
2008-11-27 22:50:58 +09:00
Worros
7cc8ce7757 Clean up profit graph function 2008-11-27 10:29:41 +09:00
eblade
50938c4912 Merge branch 'master' of git://git.assembla.com/fpdboz 2008-11-17 14:38:01 -05:00
Worros
7aa0cff8d8 Make ftp kinda work 2008-11-16 13:43:24 +09:00
eblade
284955350a Merge branch 'master' of git://git.assembla.com/fpdboz.git 2008-11-14 15:46:02 -05:00
eblade
1ed20a5f70 Merge branch 'master' of git://git.assembla.com/fpdboz.git
Conflicts:
	pyfpdb/GuiGraphViewer.py
2008-11-14 15:45:56 -05:00
Worros
0059d20f8e Add callback for test entry so player name is changable. Still buggy but partially functional 2008-11-14 22:41:37 +10:00
Worros
ba52cb93d1 Actually implement sqlcoders query as intended.
Query running in about 30% of the time.
2008-11-14 19:27:37 +10:00
Worros
115c5d920d Text was annoying me. Turned into multiline string. 2008-11-14 14:58:35 +10:00
Worros
86ba757080 Major update to the layout of GuiGraphViewer.
Changes the structure to a left a left options pane and a right graph pane.

Starting to create the options dynamically, and use callbacks sanely.
2008-11-14 14:54:34 +10:00
eblade
05f3f5eee2 fix indentation typo 2008-11-13 19:42:35 -05:00
eblade
077cb70c79 Merge Carl's changes from sqlcoder to GuiGraph to mine from earlier 2008-11-13 19:41:20 -05:00