Worros 
							
						 
					 
					
						
						
						
						
							
						
						
							47595ecfef 
							
						 
					 
					
						
						
							
							Merge branch 'master' of git://git.assembla.com/fpdb-sql  
						
						
						
					 
					
						2009-08-03 09:35:37 +08:00 
						 
				 
			
				
					
						
							
							
								Worros 
							
						 
					 
					
						
						
						
						
							
						
						
							6781d97539 
							
						 
					 
					
						
						
							
							Remove debug message  
						
						
						
					 
					
						2009-08-03 09:35:22 +08:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							745baf139f 
							
						 
					 
					
						
						
							
							Sorry guys. Added some error checking and discovered a bug in the mysql index creation - I've fixed it and imports don't degrade anything like they used to now. I've just imported 15K hands at 20+/second when it used to be down at 5/sec after 10K hands or so.  
						
						
						
					 
					
						2009-08-03 01:30:51 +01:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							1a63c62cf1 
							
						 
					 
					
						
						
							
							Merge branch 'master' of git://git.assembla.com/fpdboz  
						
						
						
					 
					
						2009-08-02 22:50:31 +01:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							8e0519708e 
							
						 
					 
					
						
						
							
							fix bugs and move hud stat config to HUD_main.py so that GUI can set it  
						
						
						
					 
					
						2009-08-02 13:00:55 +01:00 
						 
				 
			
				
					
						
							
							
								Worros 
							
						 
					 
					
						
						
						
						
							
						
						
							ff2cca361c 
							
						 
					 
					
						
						
							
							New insert player function for HHC import  
						
						... 
						
						
						
						Added getSqlPlayerIDs to Database.py - returns a hash {playername:sqlid}
Function uses a caching hash in Database.py to reduce the number of round trips to the database needed just to fetch the player ids for later inserts.
Need to do a performance comparison on a larger import. 
						
					 
					
						2009-08-02 12:19:33 +08:00 
						 
				 
			
				
					
						
							
							
								Worros 
							
						 
					 
					
						
						
						
						
							
						
						
							40a0fe428b 
							
						 
					 
					
						
						
							
							Variable name change - hhc is better imho  
						
						
						
					 
					
						2009-08-02 11:03:35 +08:00 
						 
				 
			
				
					
						
							
							
								Worros 
							
						 
					 
					
						
						
						
						
							
						
						
							129d09796e 
							
						 
					 
					
						
						
							
							Fix HUD_config.xml.example to have correct stat names  
						
						
						
					 
					
						2009-08-02 10:19:45 +08:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							d04f0efe94 
							
						 
					 
					
						
						
							
							Merge branch 'master' of git://git.assembla.com/free_poker_tools  
						
						
						
					 
					
						2009-08-01 23:29:49 +01:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							cffe57dfa3 
							
						 
					 
					
						
						
							
							pass sql list through to importer from fpdb.py  
						
						
						
					 
					
						2009-08-01 23:29:00 +01:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							e2dde5c3e3 
							
						 
					 
					
						
						
							
							fix aggregate query and stop hud queries being executed whenever anything created a db connection  
						
						
						
					 
					
						2009-08-01 23:15:04 +01:00 
						 
				 
			
				
					
						
							
							
								Ray 
							
						 
					 
					
						
						
						
						
							
						
						
							83fbbc6332 
							
						 
					 
					
						
						
							
							Finished prep for Stars HH format change.  
						
						... 
						
						
						
						All currency symbols are maintained in dicts that are class
variables. The currency symbols are compiled in to the regexs.
I.e., "\$?" no longer appears in any of the regexs. Will have
to be updated with actual Euro symbol and tested against live
HHs when Stars makes the change. 
						
					 
					
						2009-08-01 11:51:37 -04:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							1d2df984de 
							
						 
					 
					
						
						
							
							New helper prog to create batch files in windows. Creates a separate .bat file for each GTK dir on PATH so that user can try each one out  
						
						
						
					 
					
						2009-08-01 12:47:07 +01:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							4dd9a8877d 
							
						 
					 
					
						
						
							
							restart python if running an old version and 2.5 or 2.6 is available on PATH (Windows)  
						
						
						
					 
					
						2009-08-01 12:45:10 +01:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							fed180d945 
							
						 
					 
					
						
						
							
							set allow threads option to false  
						
						
						
					 
					
						2009-08-01 00:37:13 +01:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							921812f5e4 
							
						 
					 
					
						
						
							
							add config var at top of file to allow threaded option  
						
						
						
					 
					
						2009-08-01 00:08:41 +01:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							fbab3c7e24 
							
						 
					 
					
						
						
							
							make sure handsid is always returned and show size of queue when threaded  
						
						
						
					 
					
						2009-08-01 00:07:31 +01:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							e9873d38a5 
							
						 
					 
					
						
						
							
							fix sleep() call  
						
						
						
					 
					
						2009-08-01 00:06:07 +01:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							0756345f3e 
							
						 
					 
					
						
						
							
							allow nulls in handsplayer fields so that stud can import (but most fields are missing)  
						
						
						
					 
					
						2009-07-31 22:49:46 +01:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							3b9fa3b177 
							
						 
					 
					
						
						
							
							add useful (hopefully) exception handler  
						
						
						
					 
					
						2009-07-31 22:34:26 +01:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							f3a4a8b0d0 
							
						 
					 
					
						
						
							
							fix previous merge  
						
						
						
					 
					
						2009-07-31 22:30:41 +01:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							8d77b961d7 
							
						 
					 
					
						
						
							
							merge from eric @6df03cb...  
						
						
						
					 
					
						2009-07-31 22:07:27 +01:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							36f09ebc82 
							
						 
					 
					
						
						
							
							merge from ray @f5ba0b5b7...  
						
						
						
					 
					
						2009-07-31 21:58:39 +01:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							70b1f5320b 
							
						 
					 
					
						
						
							
							Merge branch 'master' of git://git.assembla.com/fpdboz  
						
						
						
					 
					
						2009-07-31 21:30:20 +01:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							b503626c2b 
							
						 
					 
					
						
						
							
							add db writer threading  
						
						
						
					 
					
						2009-07-31 21:24:21 +01:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							36de79140c 
							
						 
					 
					
						
						
							
							round hands/sec and show some traceback info in exception handler (v useful)  
						
						
						
					 
					
						2009-07-31 20:12:29 +01:00 
						 
				 
			
				
					
						
							
							
								eblade 
							
						 
					 
					
						
						
						
						
							
						
						
							6df03cb234 
							
						 
					 
					
						
						
							
							HUD_main: if new hand id int is not available, we can't print it, so that generates a second error, double fault  
						
						... 
						
						
						
						fpdb_import: ok, we're keeping two lists now, one with updated st_size and one with m_time.  grrr. 
						
					 
					
						2009-07-31 01:15:28 -04:00 
						 
				 
			
				
					
						
							
							
								eblade 
							
						 
					 
					
						
						
						
						
							
						
						
							6e8232f623 
							
						 
					 
					
						
						
							
							Merge branch 'master' of git://git.assembla.com/free_poker_tools.git  
						
						
						
					 
					
						2009-07-31 00:40:46 -04:00 
						 
				 
			
				
					
						
							
							
								eblade 
							
						 
					 
					
						
						
						
						
							
						
						
							047b5d94d9 
							
						 
					 
					
						
						
							
							move constant dicts/lists from functions to global vars, so they aren't loaded every time the function is run  
						
						
						
					 
					
						2009-07-31 00:40:31 -04:00 
						 
				 
			
				
					
						
							
							
								eblade 
							
						 
					 
					
						
						
						
						
							
						
						
							21b859f244 
							
						 
					 
					
						
						
							
							remove error handler on hudcache rebuild menu, if it errors we should know about it  
						
						
						
					 
					
						2009-07-31 00:15:25 -04:00 
						 
				 
			
				
					
						
							
							
								eblade 
							
						 
					 
					
						
						
						
						
							
						
						
							85c635d1da 
							
						 
					 
					
						
						
							
							remove error handler on Load Profile menu opt (menu opt doesn't work anyway, so it doesn't error)  
						
						
						
					 
					
						2009-07-31 00:13:51 -04:00 
						 
				 
			
				
					
						
							
							
								Ray 
							
						 
					 
					
						
						
						
						
							
						
						
							fd2ad9b192 
							
						 
					 
					
						
						
							
							Merge branch 'master' of git://git.assembla.com/fpdb-eric  
						
						
						
					 
					
						2009-07-31 00:06:07 -04:00 
						 
				 
			
				
					
						
							
							
								Ray 
							
						 
					 
					
						
						
						
						
							
						
						
							5660b77355 
							
						 
					 
					
						
						
							
							Delete uneeded intermediate prints.  
						
						
						
					 
					
						2009-07-30 23:44:59 -04:00 
						 
				 
			
				
					
						
							
							
								Ray 
							
						 
					 
					
						
						
						
						
							
						
						
							29366d3bb6 
							
						 
					 
					
						
						
							
							Ugly fix to prevent importing from failing due to undef positions array.  
						
						
						
					 
					
						2009-07-30 23:42:57 -04:00 
						 
				 
			
				
					
						
							
							
								eblade 
							
						 
					 
					
						
						
						
						
							
						
						
							f5ba0b5b7f 
							
						 
					 
					
						
						
							
							Database: insert missing HandToWrite.payin_amounts var  
						
						... 
						
						
						
						EverleafToFpdb: remove DEBUG XXXXXXX line
FulltiltToFpdb: pass on converting tournament hands
Hand: add Hand.fee var that Database is looking for
fpdb_import: clean up file update scan code, queue files that have changed in the last 60 seconds for the next importer pass, instead of locking it up reading them now (not that this does anything since FT no longer updates the mtime until it closes the table, but maybe it works with Stars or others) 
						
					 
					
						2009-07-30 21:50:08 -04:00 
						 
				 
			
				
					
						
							
							
								eblade 
							
						 
					 
					
						
						
						
						
							
						
						
							c400fd9ba7 
							
						 
					 
					
						
						
							
							FTtoFpdb: default buyin to $0.00+$0.00 and level to 0, they don't seem to be in the FT hh  
						
						
						
					 
					
						2009-07-30 20:56:39 -04:00 
						 
				 
			
				
					
						
							
							
								eblade 
							
						 
					 
					
						
						
						
						
							
						
						
							3ce0f91b27 
							
						 
					 
					
						
						
							
							useless change of a comment just to test my rss output  
						
						
						
					 
					
						2009-07-30 19:53:44 -04:00 
						 
				 
			
				
					
						
							
							
								Ray 
							
						 
					 
					
						
						
						
						
							
						
						
							4cc3cc2272 
							
						 
					 
					
						
						
							
							Merge branch 'master' of git://git.assembla.com/fpdb-eric  
						
						
						
					 
					
						2009-07-30 18:11:14 -04:00 
						 
				 
			
				
					
						
							
							
								Ray 
							
						 
					 
					
						
						
						
						
							
						
						
							eafc77ff92 
							
						 
					 
					
						
						
							
							Merge branch 'master' of git://git.assembla.com/fpdboz  
						
						
						
					 
					
						2009-07-30 18:11:08 -04:00 
						 
				 
			
				
					
						
							
							
								Ray 
							
						 
					 
					
						
						
						
						
							
						
						
							1820e71054 
							
						 
					 
					
						
						
							
							Started on supporting expected HH change--rewrote GameType regex.  
						
						... 
						
						
						
						This version should work with the expected HH format for $ tables
only. I abstracted the ISO currency codes and currency symbols
out of the regex so they only need to be maintained in 1 place.
I didn't apply the change to everywhere "\$" appears, in case
comments are negative. 
						
					 
					
						2009-07-30 18:06:13 -04:00 
						 
				 
			
				
					
						
							
							
								eblade 
							
						 
					 
					
						
						
						
						
							
						
						
							2c7e00f02a 
							
						 
					 
					
						
						
							
							fpdb_import: use stat_info.st_size instead of stat_info.st_mtime to determine hh file updates  
						
						
						
					 
					
						2009-07-30 17:29:57 -04:00 
						 
				 
			
				
					
						
							
							
								eblade 
							
						 
					 
					
						
						
						
						
							
						
						
							98e376a956 
							
						 
					 
					
						
						
							
							Merge branch 'master' of git://git.assembla.com/free_poker_tools.git  
						
						
						
					 
					
						2009-07-30 15:28:41 -04:00 
						 
				 
			
				
					
						
							
							
								Worros 
							
						 
					 
					
						
						
						
						
							
						
						
							68ac5ff554 
							
						 
					 
					
						
						
							
							Q&D hack to fix FTP file reads after update  
						
						... 
						
						
						
						Contributed by grindi on 2+2 http://forumserver.twoplustwo.com/showpost.php?p=12156328&postcount=166 
Removes u'\xff\xfe' from the end of file if they exist. 
						
					 
					
						2009-07-30 12:13:45 +08:00 
						 
				 
			
				
					
						
							
							
								Worros 
							
						 
					 
					
						
						
						
						
							
						
						
							73e6666cbc 
							
						 
					 
					
						
						
							
							Add auto folder creation to HHC  
						
						... 
						
						
						
						Contributed by grindi on 2+2 http://forumserver.twoplustwo.com/showpost.php?p=12156328&postcount=1666 
Creates the sub folders of hhArchiveBase for placing the converted files in. 
						
					 
					
						2009-07-30 11:40:16 +08:00 
						 
				 
			
				
					
						
							
							
								Ray 
							
						 
					 
					
						
						
						
						
							
						
						
							e36b300271 
							
						 
					 
					
						
						
							
							Merge branch 'master' of git://git.assembla.com/fpdb-sql  
						
						
						
					 
					
						2009-07-29 10:35:01 -04:00 
						 
				 
			
				
					
						
							
							
								Ray 
							
						 
					 
					
						
						
						
						
							
						
						
							835c4ad0cf 
							
						 
					 
					
						
						
							
							Added encodeCard() to Card.py.  
						
						
						
					 
					
						2009-07-29 10:33:42 -04:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							c2f79ddc24 
							
						 
					 
					
						
						
							
							refine mysql index drop/creation, but redundant as have left Erics new commands in - mysql crawls with 10k hands! get postgres :-)  
						
						
						
					 
					
						2009-07-29 07:57:18 +01:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							38ee98e492 
							
						 
					 
					
						
						
							
							pass sql list from fpdb through guibulkimport to fpdb_import  
						
						
						
					 
					
						2009-07-29 06:37:06 +01:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							9c62ecb80e 
							
						 
					 
					
						
						
							
							debug move to Database.py and move last part of mainparser into Database.py  
						
						
						
					 
					
						2009-07-29 06:17:51 +01:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							298de5dc15 
							
						 
					 
					
						
						
							
							move most stuff from fpdb_db.py to Database.py and simplify db connections in fpdb_import  
						
						
						
					 
					
						2009-07-28 23:58:10 +01:00