Commit Graph
27 Commits
Author SHA1 Message Date
Worros 3e9ef61fc8 Fix bug: incorrect use of set function to remove duplicates
Now detects new tables without issues
2008-10-13 23:34:18 +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 8ca5a5c965 Should fix detection of new hh files. 2008-10-13 01:26:04 +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 ae9b70ea5d Change variable name to indicate what it actually is. 2008-10-12 01:19:57 +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 ac551f6535 Merge branch 'master' of git://git.assembla.com/fpdb 2008-10-11 13:36:25 +08:00
Worros cd78d375fe Merge branch 'master' of git://git.assembla.com/free_poker_tools 2008-10-11 03:15:56 +08:00
Worros 60b97582e5 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2008-10-11 01:46:34 +08:00
Worros 8b22981ac6 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2008-10-10 19:37:37 +08:00
Worros 54f0eee984 Syntax - Fix last commit 2008-10-10 02:53:57 +08:00
Worros 0743114c75 Factor out multiple instances of "email steffen" error message into a function 2008-10-10 02:36:12 +08:00
Worros 5e1362abf9 Read file in one hit then close. Make lines of for a class member
Add timing code
2008-10-10 02:18:54 +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 037178ead3 Shift db connection code to its own function
Add class vars for db and cursor
2008-10-10 00:13:56 +08:00
Worros 5389244f71 Merge git://git.assembla.com/fpdb 2008-10-09 21:13:53 +08:00
Worros 14ab9f6814 Kill command line interface to fpdb_import until restructured 2008-10-09 01:48:16 +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
Worros 6aca36b564 Moved SHOW TABLES query to query dict as list_tables
Added failing tests for Postgres until table deletion and table listing is fixed.
2008-10-08 03:12:38 +08:00
Worros 5dd9dbc86f Fix residual bugs in table droping and creation
Add Regression test for recreating_tables in mysql
2008-10-08 02:28:18 +08:00
Worros dc81ca854a Indentation fixes 2008-10-08 01:50:43 +08:00
Worros 3d43e8167c Make drop_tables generic for mysql so we dont end up with a function that has 20 if(dbversion ==) statements within 2008-10-08 01:41:06 +08:00
Worros 3018cc660b Move create tables code into its own function.
Remove Postgres specific code
2008-10-08 01:16:26 +08:00