Commit Graph

33 Commits

Author SHA1 Message Date
Matt Turnbull
a76442f67e Poll if HUD window is already terminated before attempting to
communicate the \n character to tell it to terminate.
2008-12-22 20:17:29 +00:00
Matt Turnbull
7803f52307 autoimport a bit better, no? 2008-12-18 17:49:17 +00:00
Worros
764ef1b286 Merge branch 'master' of git://git.assembla.com/mctfpdb
Merge execution fixes from Ray with toggle button code from Matt.

Conflicts:

	pyfpdb/GuiAutoImport.py
2008-12-15 17:22:49 +09:00
Ray
094f176c5d Moved execution_path() to Configuration.py. 2008-12-13 17:37:23 -05:00
Ray
3994d3bb94 Get and use path for HUD_main.py to prevent some crashes. 2008-12-13 14:57:08 -05:00
Matt Turnbull
24805700da StopAutoImport kills HUD 2008-12-13 01:06:26 +00:00
Matt Turnbull
cbac52ccbb Autoimport toggle button 2008-12-13 00:52:31 +00:00
Worros
6de1ac1c82 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2008-11-10 22:55:24 +10:00
eblade
f767ec2207 windows git is buggy 2008-11-10 03:22:21 -05:00
Worros
d4038c3f19 Lots of changes. Fixes the hud for auto-import - at least for me.
Does configer Importer to use the Config class.
2008-11-09 21:57:58 +10:00
Worros
d0218363c6 Fix GuiAutoImport startup after I deleted the default setting in a previous patch.
Setting now comes from config
2008-11-09 20:57:42 +10:00
Worros
68344b5ec0 Modified Auto import GUI to allow n-sites based on config file. Added filter option to display. Added option to enable or disable sites in Config 2008-11-06 18:39:49 +13:00
Worros
92381254e8 Change the filelist and dirlist type to be a hash of lists, delete postgres sql schema
dirlist is in the form:
{'Site': [ "/path/to/dir", "filter" ] }

Where filter will be the plugin to convert to stars/fpdb hand history file.

filelist is in the form:
{'file': [ "site", "filter" ] }
2008-11-06 00:36:24 +13:00
Worros
0c8acc5ad4 Fix typo so Full Tilt default HH_path is read 2008-10-25 14:05:01 +08:00
Ray
2f78304185 cleanup of config file consolidation 2008-10-21 21:46:30 -04:00
Worros
d338a7c2f5 First draft of multi-site AutoImport.
GUI looks ugly, but appears to be working

Changed TextView widget to Entry because it look neater on my system
2008-10-18 00:28:33 +08:00
Worros
7fd517d76e Replace multiline TBuffer with an Entry widget and rename 2008-10-17 20:31:36 +08:00
Worros
ee2017bb05 Fix comment - no mtime set at that point 2008-10-17 20:23:28 +08:00
Worros
5a085a6d23 Draft fix to mtime detection for files 2008-10-17 01:36:02 +08:00
Worros
9a60cf84c8 Real fix this time, modify GuiAutoImport to actually tell importer to monitor the directory 2008-10-13 02:06:28 +08:00
Worros
c2c37dc5ee Fix mtime time detection 2008-10-12 18:21:42 +08:00
Worros
6c4e2f3eb9 Changes import_file_dict interface to Importer internal.
Users of Importer should now addImportFile and addImportDirectory, set paramaters, then run either runImport - all files or runUpdated - modified files.

Comments out postgres regression test until fixed

Adds initial code for importing regression test files.
2008-10-12 15:49:09 +08:00
Worros
638a6d6dab Move more "options" from calling class into settings has of fpdb_import and fix all callers 2008-10-12 02:14:06 +08:00
Worros
1e8333ec5d Move minPrint variable from callling class to setting in Importer class 2008-10-12 01:42:08 +08:00
Worros
27ca82ca48 Change api so object and settings are passed in at creation time. 2008-10-12 01:12:30 +08:00
Worros
ed7122ca31 Move callHud to class attribute and remove from function parameters
Fix all callers
2008-10-10 01:21:01 +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
steffen123
7b13331331 p80 - a great many updates from Ray 2008-09-15 21:31:55 +01:00
steffen123
d73a4614f3 p60 - patches from ray - autoimport now doesnt block GUI and calls HUD. 2008-08-19 23:38:01 +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
steffen123
928e7262f4 p57 - added optional call to hud into importer
changed config file to windows line endings
started updating print_hand to new tables
2008-08-18 15:41:34 +01:00
steffen123
5a462037c3 p46 - auto-importer kinda works - it does what its supposed to, but freezes the interface. you can however just start the interface a second time. anyone know how to fix this? 2008-08-17 05:28:26 +01:00
steffen123
e9d8b685ec p42 - started implementing autoimport.
renamed some files to match the future more precise splitting of processing and frontend code
changing from gitX to pX to match Gentoo portage's convention.

changed table design on feedback from ray but not yet the actual code - more coming shortly
2008-08-17 01:48:03 +01:00