Commit Graph

50 Commits

Author SHA1 Message Date
Ray
e9861e18c8 Fix error when no aux_windows are specified. 2009-03-05 10:12:31 -05:00
Ray
6667f4cddb Merge branch 'master' of git://git.assembla.com/fpdboz 2009-03-04 20:08:20 -05:00
Ray
a6d70e6e13 More tuning of the aux_window interface. 2009-03-04 20:04:23 -05:00
eblade
4d09686309 hud_main window resizes to smallest possible size whenever a hud is removed from the list (pls test in nix guys tnx) 2009-03-04 08:17:23 -05:00
Ray
d44c90aec7 Temp fix to HUD crashing when closed table is updated.
Also fixes popups not closing correctly.
General cleanup in the HUD closing code. Closing a HUD
is now managed by the HUD_Main object--this should ensure
that no objects are left dangling.
2009-02-27 19:47:52 -05:00
Ray
167ea98b8b Eliminate erronious multi huds on same table in some cases. 2009-02-27 12:42:49 -05:00
Ray
e45c42b172 Correct mistaken removal of stderr redirect. 2009-02-27 10:36:45 -05:00
Ray
333cbdbf6d Speed and reliability changes (+cleanup) to aux window interface. 2009-02-25 23:35:15 -05:00
Ray
f1530860d2 Fixed problem with unreliable fav_seat placement.
Eliminated special query to get actual seat by
incorporating in to stat_dict query. Provided for
graceful skipping of hands when there is an error
in a query in the read_stdin() thread. Left
intermediate prints for use of others.
2009-02-23 21:33:23 -05:00
Ray
2ebb026543 Cleanup in HUD_main and HUD.py to simplify.
HUD_run_me no longer needed but not removed.
2009-02-21 18:19:49 -05:00
Ray
58ccf0327c Complete prev commit by deleting intermed output. 2009-01-27 14:13:54 -05:00
Ray
9ddce0b016 Remove some comments that didn't get removed with its code. 2009-01-27 14:11:53 -05:00
eblade
cd1d4df96d HUD_main:
Add site name to list of windows being HUDed,
	fix weird call convention to the "del" operator, which is not a function.
	call clean_title() on hud titles being killed, so we actually kill (deep) tables and such

HUD:
	Add function "kill_hud_menu", which is now called from the Kill This HUD menu option, to avoid a potential loop in kill_hud()
	Record the handle of the HUD's destroy signal, use it to un-register, before performing a kill, also avoiding potential loop there
	Do not allow kill_hud() to be called twice in the same HUD object, return doing nothing if deleted is already set on it (that should totally solve the loop problem)
2009-01-14 23:05:08 -05:00
eblade
ff3d6c75b8 Merge branch 'master' of git://git.assembla.com/mctfpdb.git 2009-01-07 12:36:09 -05:00
Matt Turnbull
d14dddca90 Break from thread loop instead of continuing. Fixes a bug where
we'd be looking up a new_hand_id of ""
2009-01-06 23:13:12 +00: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
eblade
6de2607505 create_hud adds to the main_hud window, a list of tables that are being monitored (it is culled in read_stdin(), so i'll need to do some thinking on that to remove lag time between removal of hud and removal from list)
i can see using this for table info, debug info, buy-in info maybe, but i wanted some place i could write to directly and see things in real time rather than depending on the logs
2008-12-24 07:56:32 -05:00
Ray
e0105c5ed1 Clean up db connection in aux window. Hole cards to stud mucked list. 2008-12-17 13:24:37 -05:00
Ray
2f88818eb9 Minor changes to aux-window support. 2008-12-11 10:24:37 -05:00
sqlcoder
4dc15bfd94 pulled and merged from fpdboz 2008-12-07 23:38:33 +00:00
sqlcoder
a824814c0a sqlcoder initial updates 2008-12-02 00:15:50 +00:00
Ray
17ad796917 More changes to support mucked/aux windows. 2008-11-16 17:53:31 -05:00
Ray
461c870690 Fine tuning tournament support. 2008-11-11 14:25:56 -05:00
Ray
036729b8c2 Support tournaments 2008-11-11 09:50:20 -05:00
Ray
e26fdd79a4 possible fix to wrong window positioning seen by Elaetic 2008-11-07 12:22:37 -05:00
Ray
cf1efb8d27 transaction isolation code suggested by sql_coder on the forums 2008-11-05 22:44:29 -05:00
Worros
5809f28daf Merge branch 'master' of git://git.assembla.com/fpdb-eric 2008-10-27 20:14:38 +09:00
Worros
56d80d785c HUD chmod 2008-10-27 20:14:08 +09:00
eblade
5f15a4f928 Configuration.py: add "bgcolor" and "fgcolor" to <site> node
HUD: table hud and stat windows respect "bgcolor" and "fgcolor" on a per site basis
Tables: force tw.number to be an int in Unix
2008-10-27 06:29:39 -04:00
eblade
0cd57facda Merge branch 'master' of git://git.assembla.com/fpdboz.git
Fix accessing the decoder from the wrong object, causing the hud to not work, it should work again. yay.
2008-10-25 05:36:18 -04:00
unknown
2bd4932a77 Tables discovered via process name, then window name, only going through two nested loops, instead of two nested loops followed by another loop.
(can someone test to make sure this actually doesn't break stuff on *nix?)

Windows HUD Stats Windows no longer appear in Windows taskbar (now gtk transients for table hud window)
2008-10-24 15:44:53 -04:00
Ray
2f78304185 cleanup of config file consolidation 2008-10-21 21:46:30 -04:00
Ray
a449e1948b one last tipo in HUD_main.py thread stuff 2008-10-18 15:41:26 -04:00
Ray
5c8cf5760d minor cleanups to HUD_main.py thread stuff 2008-10-18 14:05:38 -04:00
Ray
3c4d05148b error in HUD_main threads 2008-10-18 12:00:29 -04:00
Ray
93a167b64d cleanup of threads in HUD_main.py 2008-10-18 11:48:24 -04:00
Ray
fe2554ce35 handle new hands in a thread, minimize stat windows on demand 2008-10-17 21:28:33 -04:00
Worros
eeef0a079b Fix from Ray - fix typo in producer function 2008-10-17 10:59:56 +08:00
Ray
b35e0e4880 various changes with threaded HUD_main.py 2008-10-16 15:15:28 -04:00
Ray
43cd552466 threaded the hudcache query, update to install in windows web page 2008-10-14 10:33:32 -04:00
Ray
6832234cfb get rid of some useless intermediate output 2008-10-09 10:03:04 -04:00
Ray
90a0e4103f Merge git://trac-git.assembla.com/fpdb
Conflicts:

	pyfpdb/Database.py  --fixed conflict = we both fixed same problem differnt ways
2008-10-06 23:06:40 -04: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
Ray
31d40a6274 debugging output in read_stdin function, remove later!! 2008-09-29 20:14:55 -05:00
Ray
053b3a9b10 default db name should be fpdb 2008-09-29 19:42:27 -05:00
Ray
968e9e3c5a Close when stdin get eof 2008-09-29 19:40:42 -05:00
steffen123
b549aa2605 p107 - HUD updates from ray, FTP now supported 2008-09-26 14:18:47 +01:00
steffen123
7b13331331 p80 - a great many updates from Ray 2008-09-15 21:31:55 +01:00
steffen123
eff5c9cc6e p59 - hud update from ray 2008-08-19 00:18:17 +01:00
steffen123
c716dfd35e p58 - added HUD from ray
fpdb_parse now returns hand id rather than site hand no
2008-08-18 23:53:25 +01:00