Commit Graph
89 Commits
Author SHA1 Message Date
eblade 326805950b Merge branch 'master' of git://git.assembla.com/free_poker_tools.git
Conflicts:
	pyfpdb/Hud.py
2009-01-07 12:46:19 -05:00
eblade ff3d6c75b8 Merge branch 'master' of git://git.assembla.com/mctfpdb.git 2009-01-07 12:36:09 -05:00
eblade 3f782994a9 Merge branch 'master' of git@git.assembla.com:fpdb-eric 2009-01-06 08:40:10 -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
eblade 0f90d8a899 discover functions all return None, instead of False, fixing bool has_key() problem in hud 2008-12-31 13:14:28 -05:00
eblade 26a549d7d2 discover functions all return None, instead of False 2008-12-31 13:13:35 -05:00
eblade 9b6e18c2c0 Merge branch 'master' of git://git.assembla.com/mctfpdb.git 2008-12-31 12:08:25 -05:00
eblade 6276386aa8 Merge branch 'master' of git://git.assembla.com/free_poker_tools.git 2008-12-31 12:06:58 -05:00
eblade 9989a97c25 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2008-12-31 12:03:15 -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
eblade fc4671fc98 add NA for attempted steal % 2008-12-21 18:42:21 -05:00
eblade d4e16b9b05 code/comment cleanup 2008-12-21 17:14:57 -05:00
eblade 24069d607b code/comment cleanup in Hud 2008-12-21 06:49:34 -05:00
eblade c974864e13 Merge branch 'master' of git://git.assembla.com/mctfpdb.git 2008-12-21 06:11:33 -05:00
eblade 0cb5bc046a Merge branch 'master' of git://git.assembla.com/fpdboz.git
Conflicts:
	pyfpdb/Hud.py

stupid single blank line. wtf.
2008-12-20 01:42:38 -05:00
eblade aad02554ca (font size config) Merge branch 'master' of git://git.assembla.com/free_poker_tools.git 2008-12-19 15:13:33 -05:00
eblade bb3dee75e0 Merge branch 'master' of git://git.assembla.com/mctfpdb.git 2008-12-19 15:06:43 -05:00
eblade e9f9fa4111 Merge branch 'master' of git://git.assembla.com/fpdboz.git
Conflicts:
	pyfpdb/fpdb_simple.py

GIT is really, really pissing me off. These 'conflicts' were two identical lines, with no beginning/trailing whitespace.
2008-12-19 04:39:45 -05:00
eblade 653cf9847d allow position 8 in hud cache 2008-12-18 20:38:43 -05:00
eblade 685abee8b1 re-indent function 2008-12-18 17:39:43 -05:00
eblade 42113f301f finish conflict resolution on those patches to check/parsePositions .. git really sucks. 2008-12-18 15:45:13 -05:00
eblade 2ccd00d3fd redo changes to checkPositions, and such 2008-12-18 15:42:46 -05:00
eblade 9263aa998e redo changes to parsePositions 2008-12-18 15:40:28 -05:00
eblade 6e1499fb69 reposition_windows() after bringing one forward that has been hidden previously, even though they should already be relocating while hidden.. suspect gtk bug 2008-12-15 23:07:37 -05:00
eblade eec9c94342 merge from carl 2008-12-15 22:46:31 -05:00
eblade e50fbf4f21 timer runs only under windows, not only under unix, oops 2008-12-15 22:38:04 -05:00
eblade 691608b6ca update_table_position will kill huds that are closed, timer will not be called when under unix, currently, as this function only works in windows.
checkPositions() accepts position 9 again.
2008-12-15 02:04:35 -05:00
eblade 65e43a34e6 Merge branch 'master' of git://git.assembla.com/free_poker_tools.git
Conflicts:
	pyfpdb/fpdb_simple.py
2008-12-14 21:57:03 -05:00
eblade a6544f5d10 Merge branch 'master' of git://git.assembla.com/fpdboz.git
Conflicts:
	pyfpdb/fpdb_simple.py
2008-12-13 12:54:32 -05:00
eblade 84dfb0e967 looks like a whitespace churn, don't know why 2008-12-13 12:52:25 -05:00
eblade 2002da9fb7 Merge branch 'master' of git://git.assembla.com/fpdboz 2008-12-13 11:51:31 -05:00
eblade 10b8199315 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2008-12-13 11:11:53 -05:00
eblade 0dbcf0079c Merge branch 'master' of git://git.assembla.com/fpdboz 2008-12-12 09:56:13 -05:00
eblade 51b62392e1 Merge branch 'master' of git://git.assembla.com/fpdb.git 2008-12-11 02:57:08 -05:00
eblade efc3e591ea fix timeout callbacks for tracking table position 2008-12-10 13:35:15 -05:00
eblade 5e23b55361 specify right function name to timer, duh 2008-12-09 08:35:19 -05:00
eblade 7516d17a40 add 0.5 sec auto-timer to auto-run update_table_position 2008-12-09 08:21:50 -05:00
eblade 9dd6f36df6 add Hud::update_table_position(), tracks table.x and table.y, repositions all stat_windows within. triggered each update(), and when the Reposition Stats menu option is selected.
fix windows code to use same gdkhandle variables as unix code
2008-12-09 07:51:41 -05:00
eblade 7d4bded3d5 make sure we close each handle opened by ProcessOpen in the win32 calls 2008-12-09 01:43:13 -05:00
eblade 0186145065 remove no-longer-needed "topify_window" for Stat_Window, removed some lines that were commented out due to no longer being needed, etc. Seems to fix the windows randomly re-attaching in Win32. 2008-12-03 13:35:19 -05:00
eblade cd858d6ade add "debug stat windows" to hud menu .. doesn't do anything useful yet, as i'm trying to figure out what part to actually debug 2008-12-03 03:25:49 -05:00
eblade 703c2a1d12 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2008-12-03 03:25:02 -05:00
eblade 3f86c54b17 add "NA" to fold to steal stats for 0/0's 2008-12-02 10:14:38 -05:00
eblade 401bcc15cd remove debug code i accidently committed last time
account for dead seats between blinds
fix some improper position handling when BB in seat 2, with dead hand in seat 1, and SB on last seat
2008-11-27 11:27:23 -05:00
eblade 1de34462e3 remove spurious window realize from popup_window as well
printEmailErrorMessage also writes a traceback to the stderr, so we can more easily figure out -what part- it failed in
parsePositions will ignore a small blind if it appears to be coming from the same place as the big (does this mess with dead blinds? who knows)
2008-11-27 08:35:17 -05:00
eblade 274cecdc58 stat windows no longer call realize() as that is done automatically by gtk when needed
importer dumps bad hands to hand-errors.txt after printing the normal email message
parse_logic should ignore lines where small blind is found to be "$0", however, it's still causing errors
2008-11-27 05:12:07 -05:00
eblade 6e116f4b02 don't bother doing show_all on each stat_window, then hide, just hide first. (probably shouldn't need to even hide them first, but they seem to sometimes start hidden sometimes not) 2008-11-27 02:31:52 -05:00
eblade 49390940e3 add middle-click on stat_window to hide it (since we don't currently have a way to hide it when someone leaves) 2008-11-25 08:52:59 -05:00
eblade 2c00422f34 clean up some stat descriptions 2008-11-25 07:33:20 -05:00
eblade 53a95ccc80 stat windows are hidden by default, and only brought forward when there's a player in a seat that has recorded a hand 2008-11-25 07:03:33 -05:00
eblade f8749fe7fb Add "hudcolor" attribute to all <stat> definitions, drop font size to Sans 7, since i can't fit my stats in comfortably anymore 2008-11-25 06:47:58 -05:00
eblade c815edaa9b Merge branch 'master' of git://git.assembla.com/fpdboz 2008-11-22 18:16:55 -05:00
eblade 5642f4bafc Merge branch 'master' of git://git.assembla.com/free_poker_tools 2008-11-22 18:16:46 -05:00
eblade 50938c4912 Merge branch 'master' of git://git.assembla.com/fpdboz 2008-11-17 14:38:01 -05: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
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
eblade 5903988e38 merge with ray/carl
GuiGraphViewer: configure matplotlib to use GTK properly, add in error handling for graphing across a database with hands the player you've requested wasn't involved in. please see # todo note on that.
2008-11-12 06:30:49 -05:00
eblade 863c5be428 change text in hud main windows (smaller, indicates presence of menu and moveability), add opacity and move support (does not yet save it's position) 2008-11-11 04:36:44 -05:00
eblade 32b1d7fa86 add opacity to p4e/everleaf config example 2008-11-10 22:42:51 -05:00
eblade 2074d755aa Hud.py: fix typos in definitions of reposition_windows and kill_hud, eliminating errors when those functions are called
move pop-up window to button 3 when clicked on a stat window, added move/resize functionality to button 1 (hold shift to resize, or just click/drag to move)
restore opacity in windows (new window movement works with opacity set)
fix error in popup_window initilization referring to window instead of main_window, oops
2008-11-10 05:58:55 -05:00
eblade e713a9c654 fix weird error on windows? possibly just with p4e? trapping if we read 0 lines from history file 2008-11-10 03:46:37 -05:00
eblade 3325538c66 Merge branch 'master' of git://git.assembla.com/fpdb.git
Conflicts:
	docs/default.conf
2008-11-10 03:24:05 -05:00
eblade f767ec2207 windows git is buggy 2008-11-10 03:22:21 -05:00
eblade 27c6c4884e stat popups attach themselves to the stat window as children, have proper colors 2008-11-06 06:58:28 -05:00
eblade c330bd772b add .exe to PokerStars tablefinder in default config, change some things for the "everleaf" entry 2008-11-06 06:26:25 -05:00
eblade b2e32c2e15 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2008-11-05 23:46:40 -05:00
eblade 2ecfbf6c2d fpdb_import: auto-import bases it's decisions to check files on file-size changes rather than mtime - could you guys check it out in nix and other poker sites, and tell me if that breaks anything?
HUD: if update() errors due to not enough stat windows being available (ie, your broken site converter tells us we have a 6 max table, but there are people in seats 7-10), it will re-assess the table as a 10-max
add StatWindow.relocate(x,y)
2008-11-04 05:02:41 -05:00
eblade b5ec60f5fa forgot to commit configuration.py last time 2008-11-02 05:20:25 -05:00
eblade e154bdd8f4 Add "hudprefix" and "hudsuffix" properties to each of the "STAT" nodes in the config, will display them before/after stats on the HUD, as appropriate.
(note that due to the use of a table in the hud display, it can get a little.. ugly.. looking)

Add "playername" to list of available stats

MIGHT close huds when poker table is closed in Nix. It doesn't in Windows, but it should.
2008-10-31 14:34:41 -04:00
eblade 6eca3fdce7 merge in latest ray changes, replace excessive exception handling with a couple of if blocks in get_default_colors - there were definite errors in there not getting cauhgt due to the exception handling 2008-10-30 05:30:29 -04:00
eblade 3f7347d8f6 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2008-10-30 00:05:15 -04:00
eblade cf2c7e4267 add lines with "($0 in chips)" to list of things to ignore, as a player with no chips cannot possibly be in the hand, and the lines often contain blank usernames on p4e, which are breaking the parser. 2008-10-30 00:03:28 -04:00
eblade 0863a298ea Merge branch 'master' of git://git.assembla.com/free_poker_tools.git 2008-10-29 04:55:43 -04:00
eblade cdf7deffe7 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2008-10-29 04:54:28 -04:00
eblade 6f65f3eadb Merge branch 'master' of git://git.assembla.com/free_poker_tools.git
Conflicts:
	pyfpdb/Hud.py

Carl was right, the differences were trivial (comment markers mostly)
2008-10-28 07:30:22 -04:00
eblade 64dbe3237d add "hudopacity" to site config, valid settings are potentially from 0.00 to 1.00 2008-10-27 07:12:04 -04: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 2bde12a6cf remove set keep above on stat windows 2008-10-27 03:13:04 -04:00
eblade 70bdc0bcb4 fix for re-parenting to work in nix, remove decorations from table hud main window 2008-10-27 03:12:12 -04:00
eblade 051f04b69f trying to get parenting of stats windows to work in nix. 2008-10-26 15:51:12 -04:00
eblade 628f71cf3d fix return value for same function i just thought i fixed but didn't all the way 2008-10-26 06:49:47 -04:00
eblade a1c6fa1dc6 Fix posix discover by name typo/i'm a dummy error 2008-10-26 06:09:29 -04:00
eblade 103abdb961 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2008-10-26 05:43:01 -04:00
eblade d07fe6c5c6 move re-parenting code back into windows-only topify_window() function, as it is not 100% system independent (more like 99%) 2008-10-26 05:39:43 -04:00
eblade 7b604e3bec Table HUD window now child of poker table window 2008-10-26 05:34:36 -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 654b2e0ba9 trying to fix my repository 2008-10-24 16:30:08 -04:00