eblade
47f27cf31f
fpdb.py: Add "Recreate HUD Cache" to Database menu
...
fpdb_db.py: Junk the dropping of indexes/FKs for MySQL INNODB in favor of just telling MySQL to ignore them. Not sure if that works for other MySQL engines or other Database softwares.
2009-07-27 17:28:06 -04:00
sqlcoder
b9d462c175
make graphviewer use Database.py
2009-07-19 21:19:58 +01:00
sqlcoder
0fecdfb2d7
make positional stats use Database.py
2009-07-19 18:28:13 +01:00
sqlcoder
fb4ad79803
use someone else's interprocess locking code instead of python locks/semaphores - needs testing in Linux
2009-07-19 12:28:17 +01:00
sqlcoder
6a69bf512e
use python locks instead of db locks for global lock
2009-07-18 22:21:29 +01:00
sqlcoder
9d9f850753
use Database.py in GuiPlayerStats
2009-07-18 20:46:50 +01:00
Matt Turnbull
79ca83c95a
Merge from ray, minor conflicts
2009-07-15 00:20:26 +01:00
Matt Turnbull
dc6a1c45f9
sqlite - connecting and (re)creating some tables
2009-07-14 00:04:10 +01:00
sqlcoder
56ef131bed
use 1 or 2 Database methods instead of the underlying fpdb_db methods (more to do)
2009-06-30 22:18:15 +01:00
sqlcoder
a3e6c2696f
use Database instead of fpdb_db
2009-06-28 19:19:32 +01:00
sqlcoder
9b50987d0c
add sql param to Database constructor - aim is to have just one SQL instance passed around and to use Database for db connections and methods
2009-06-23 23:44:37 +01:00
sqlcoder
84cc951045
comment out database creation wrongly included from my dev code
2009-06-23 22:05:22 +01:00
sqlcoder
2f0c7e8167
make load_profile reload HUD_config.xml and update status bar
2009-06-23 20:45:11 +01:00
sqlcoder
0afd8e2e70
use do_connect() instead of connect()
2009-06-22 23:43:11 +01:00
sqlcoder
1456104382
make graph viewer use its own db connection
2009-06-22 23:30:54 +01:00
Ray
b1ea38bea9
Add -c config cl option. Fpdb passes cl options to HUD.
2009-06-14 23:14:53 -04:00
sqlcoder
9d87e35082
fix quit option and postgres/windows connecting after last merges
2009-06-09 21:38:30 +01:00
Worros
d8dffb193f
Merge branch 'master' of git://git.assembla.com/mctfpdb
...
Conflicts:
pyfpdb/fpdb.py
2009-06-08 19:20:01 +08:00
Matt Turnbull
95a7ab8e48
Merge branch 'master' of git://git.assembla.com/fpdboz
2009-06-07 21:58:00 +01:00
Matt Turnbull
c1e4c083fe
premerge
2009-06-07 21:57:56 +01:00
sqlcoder
45a303eb25
make global lock work (do nothing) if hands table doesn't exist
2009-06-07 20:07:18 +01:00
Worros
9091efa230
Merge branch 'master' of git://git.assembla.com/fpdb-sql
2009-06-05 09:11:25 +08:00
sqlcoder
401aca4c12
Merge branch 'master' of git://git.assembla.com/fpdboz
2009-06-04 20:29:58 +01:00
sqlcoder
b016c496f2
fix handling of global lock when re-creating tables
2009-06-04 20:27:15 +01:00
Worros
21e7e010bd
Merge branch 'master' of git://git.assembla.com/fpdb-sql
2009-06-01 07:51:04 +08:00
sqlcoder
5b96769de3
implement global lock by locking hands table
2009-05-31 21:59:01 +01:00
sqlcoder
be61b2d253
change quit option to standard 'Quit'
2009-05-31 21:53:10 +01:00
Matt Turnbull
94370a653c
fix conflicts
2009-05-30 16:40:27 +01:00
Worros
a9dac26381
Merge branch 'master' of git://git.assembla.com/fpdb-sql
2009-05-28 22:32:34 +08: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
sqlcoder
90b886e77f
another parameter fix to the fpdb.py gui update
2009-05-25 21:30:37 +01:00
sqlcoder
e7532ea497
fix typos in control keys in last release
2009-05-23 22:06:41 +01:00
sqlcoder
061ff083a6
get rid of warning message when starting fpdb
2009-05-23 21:42:26 +01:00
sqlcoder
d811c6b656
add rollback to release locks when db reads are finished
2009-05-23 23:31:56 +08:00
sqlcoder
ee9d69ae5e
more minor cosmetic changes
2009-05-21 23:09:11 +01:00
sqlcoder
93f643a958
fix error when choosing unimplemented menu option
2009-05-20 23:21:50 +01:00
sqlcoder
cee4cade3e
Add hotkeys for stats windows and pass main window into guiplayerstats
2009-05-20 09:58:38 +01:00
sqlcoder
de98d5dd15
remove surplus db variable and debug mysql problem in previous commit
2009-05-04 20:36:11 +01:00
sqlcoder
5111eb1a8f
remove redundant db variable
2009-05-02 21:39:48 +01:00
sqlcoder
882f19a34d
removed redundant db variable
2009-05-02 21:07:52 +01:00
Worros
f6311276a7
Remove some merge noise
2009-04-28 14:50:50 +08:00
sqlcoder
d9d8043888
add rollback to release locks when db reads are finished
2009-04-27 10:45:49 +08:00
Worros
b1aade624f
Change default window size because it bugged me
2009-04-11 04:28:54 +08:00
Ray
460102c3f5
Version 0.11
2009-04-07 10:44:06 -04:00
Worros
b92022fecd
Fix call to get_db_parameters
2009-03-27 23:53:44 +09:00
Worros
1be81ced66
Allow dbname to be something other than fpdb
...
Patch from Rune Nesheim to allow the dbname to be specified on the
command line
2009-03-27 22:53:01 +09:00
Worros
5e5e79f08a
Fix typo
2009-03-23 22:18:22 +09:00
eblade
80c3922bc0
remove pyc, merge with everyone else
...
remove some useless junk in fpdb.display_tab()
2009-03-16 18:35:56 -04:00
Worros
86101c522c
GuiPositionalStats.py
...
New tab, output cols aren't labelled properly but we appear to have
something sane
2009-03-03 20:32:01 +09:00
Ray
5f290ace56
Updated version to 0.10 via new VERSION variable.
2009-01-30 13:00:29 -05:00
eblade
fb9d7c0af2
Add file HUD_run_me, to be run by GuiAutoImport
...
GuiAutoImport: run HUD_run_me instead of HUD_main
HUD_main: Add HUD_removed() function, called by HUD when an individual HUD is closed, eliminates polling them every update; use 'in' operator instead of has_key
HUD: clean up code that deals with lack of font descriptor in config, and notification of what font was selected
HUD: clean up unnecessary use of keys() functions, and 'in' vs has_key
HUD: restore previous definition of reposition_windows(), although i can't make it error at will anymore
Tables: cleanup with keys() and in operator
fpdb: no longer raise an error on duplicate tab, since we currently depend on that, it's not an error, right?
2009-01-06 05:18:45 -05:00
steffen123
c8d12cfe61
p144 - updated table design after comments on draw tables
2008-12-10 03:55:12 +00:00
sqlcoder
4dc15bfd94
pulled and merged from fpdboz
2008-12-07 23:38:33 +00:00
Worros
425997d66a
Merge branch 'master' of git://repo.or.cz/fpbd-bostik
2008-12-07 14:17:05 +09:00
Mika Bostrom
6070066f8a
obtain_global_lock() is a method, not top-level function
2008-12-06 15:16:55 +02:00
Mika Bostrom
c9700fc1a7
Some debugs
2008-12-06 14:34:44 +02:00
Worros
1576387d61
Add GuiPlayerStats to menu
2008-12-06 19:09:18 +09:00
sqlcoder
a824814c0a
sqlcoder initial updates
2008-12-02 00:15:50 +00:00
steffen123
f38cdab8e0
p143 - update title
2008-11-10 02:21:47 +00:00
steffen123
49151a92bf
p142 - commented tourney summary parsing as it fails on me. this is alpha9
2008-11-10 02:02:12 +00:00
steffen123
c739395189
p140 - added CLI option to fpdb.py to control redirection of stderr
2008-11-07 00:14:25 +00:00
Worros
389d9361b9
Update Graph Viewer to use config file, fill Entry with player_name field from the config.
2008-10-25 14:57:29 +08:00
Worros
c48b2f3057
Remove load_default_profile function.
...
All references to load default profile were removed when Ray merged the config files.
Deletes function and all references to it.
2008-10-25 14:45:39 +08:00
Worros
81a6d5f972
Revert label from Ray - Alpha6+ back to Alpha8+
2008-10-25 14:24:10 +08:00
Ray
bc834a9d79
more cleanup of config file consolidation
2008-10-22 10:14:25 -04:00
Ray
6d449b9a2e
more cleanup of config file consolidation
2008-10-21 21:49:17 -04:00
Ray
a719efc6dc
consolidate config files--default.conf no longer needed
2008-10-21 10:22:01 -04:00
steffen123
7833c0c5cd
p136 - title update - alpha7
2008-10-17 05:59:50 +01:00
steffen123
5c73bd7f3b
p136 - title update - alpha7
2008-10-15 18:26:24 +01:00
steffen123
bc15025be5
p135 - updated tv
2008-10-15 18:20:33 +01:00
steffen123
acb4160969
Merge git://git.assembla.com/fpdboz
2008-10-09 21:22:28 +01:00
steffen123
35625f6d29
p131 - insignificant changes to fpdb.py
2008-10-09 21:21:40 +01:00
Worros
5389244f71
Merge git://git.assembla.com/fpdb
2008-10-09 21:13:53 +08:00
Worros
98b556f42c
Turn fpdb_import functions into class Importer
...
Fix all callers of fpdb_import
2008-10-09 01:36:08 +08:00
Worros
79651706f6
Make GuiGraphViewer use the query file.
...
Make minor adjustment to Graph
2008-10-08 19:53:25 +08:00
steffen123
e23ae25d00
p124 - renamed categories for 27 single/tripple draw. updated abbreviations.
2008-10-08 06:28:09 +01:00
steffen123
9e819f3ad2
p122 - started on table design for draw games
2008-10-08 05:47:47 +01:00
steffen123
31ab863b47
p120 - minor tv fix, renamed fpdb error, added notice about it to output. fixed tourney and stud to run again.
2008-10-07 02:21:43 +01:00
steffen123
2a90030982
p118 - added all in field to HandsActions and parsing to importer. still need to update hudCache generation to use this tho
...
expanded some todo prints and the graph missing lib error to clarify for users
2008-10-06 04:26:59 +01:00
steffen123
f9f58f88e6
p112 - fix from ray that Hud sometimes didn't save positions
2008-10-05 02:30:16 +01:00
steffen123
f1947bb6cb
p111 - Database.py now works without unnecessary db libs. Configuration.py made executable. stderr now unbuffered.
2008-10-04 19:03:02 +01:00
steffen123
3e61bb1729
p109 - change of window title. this is alpha5
2008-09-26 20:06:27 +01:00
steffen123
b549aa2605
p107 - HUD updates from ray, FTP now supported
2008-09-26 14:18:47 +01:00
steffen123
ce3187667c
p106 - fixed small blind reading
2008-09-26 13:01:57 +01:00
steffen123
c19c933942
p102 - moved initial data INSERTs for mysql to separate method for future unification with pgsql table creation code
2008-09-24 05:22:17 +01:00
steffen123
6304790f38
p98b - redirect stderr
2008-09-24 03:58:14 +01:00
steffen123
541164e378
p98 - redirect stderr
2008-09-24 03:56:44 +01:00
steffen123
4e8a09ff84
p93 - unbet now stores a negative amount since that's what it is
2008-09-22 22:12:03 +01:00
steffen123
7ed7db3791
p89 - graph now sorts by siteHandNo rather than handId and takes into account expenditure.
2008-09-21 22:21:09 +01:00
steffen123
8117193b4f
p88 - graph viewer now takes player name from GUI rather than hardcoded player id
2008-09-21 14:24:43 +01:00
steffen123
009161d55b
p87 - added profit graph kindly sent by Carl Gherardi, it's got fixed player id and is using the wrong table fields right now, will fix that tomorrow or so. note that this adds a new dependency, matplotlib, but I put it into a try except loop to avoid load failure
...
added subfolder gentoo to packaging folder and added it to release script
2008-09-20 05:56:16 +01:00
steffen123
672d2d70af
p86 - ftp: read maxSeats rather than making an assumption. included new ebuild this time but obviously untried (can only try it after making the file release..). removed old ebuilds.
2008-09-18 01:23:38 +01:00
steffen123
656356d299
p84 - included updated HUD_config.xml.example (was in the last commit actually)
2008-09-17 01:44:40 +01:00
steffen123
092f68e259
p81 - fixed create release script, updated ebuild
2008-09-16 03:14:59 +01:00
steffen123
7b13331331
p80 - a great many updates from Ray
2008-09-15 21:31:55 +01:00
steffen123
2c251d94f2
p78 - implemented stud HudCache generation and storing
2008-09-02 01:00:43 +01:00
steffen123
4976dc742c
p77 - make windows use correct language version of Appdata folder, e.g. Anwendungdaten in german
2008-09-01 17:54:48 +01:00
steffen123
54ff7b71f1
p76 - specify NOT NULL on almost all table columns to increase DB resilience against importer errors
...
little bugfix to make omaha work again
2008-09-01 17:32:18 +01:00
steffen123
c963599b76
p75 - show database version error in GUI
2008-09-01 16:18:01 +01:00
steffen123
37e111067b
p72 - redid foldToCB, this might be correct now but havent verified
2008-08-31 23:37:40 +01:00