Mika Bostrom 
							
						 
					 
					
						
						
						
						
							
						
						
							f6eb365b3c 
							
						 
					 
					
						
						
							
							Add the default box text to example config  
						
						... 
						
						
						
						Now that the text on HUD's box is configurable, move the default text
from code to default/sample config. 
						
					 
					
						2009-10-03 21:18:49 +03:00 
						 
				 
			
				
					
						
							
							
								Mika Bostrom 
							
						 
					 
					
						
						
						
						
							
						
						
							14122770ef 
							
						 
					 
					
						
						
							
							Make hud's menu-area text configurable  
						
						... 
						
						
						
						By default the hud positions a little box on top-left corner of each
table. Make the text in this box user-modifiable without touching the
source.
Most likely useful for active users and those who play with smaller
tables. On shrunk table the default box may cover some of the players'
cards. 
						
					 
					
						2009-10-03 21:18:39 +03:00 
						 
				 
			
				
					
						
							
							
								Mika Bostrom 
							
						 
					 
					
						
						
						
						
							
						
						
							6f536d29e7 
							
						 
					 
					
						
						
							
							Fix import on PostgreSQL  
						
						... 
						
						
						
						Database.py : fillDefaultData()
Remove manual 'id' from INSERT command. In database schema,
TourneyTypes.id is a primary key and thus autoincrement. In postgres,
autoincrements are implemented as sequences - inserting a value
"manually" bypasses the sequence generation, which resulted in a
remarkably weird error.
Namely, upon the first hand to import, the insert fails due to primary
key violation. The default value from an unused sequence is 1, but a
row with such an id already exists.
The solution is to create the single row of default data values with
unspecified TourneyTypes.id, hence allowing postgres to generate the
correct id from the sequence. This way the import works again. 
						
					 
					
						2009-09-24 07:08:32 +03:00 
						 
				 
			
				
					
						
							
							
								Mika Bostrom 
							
						 
					 
					
						
						
						
						
							
						
						
							df71dcf2c7 
							
						 
					 
					
						
						
							
							Fix knockout variable type  
						
						... 
						
						
						
						fpdb_parse_logic.py : recogniseTourneyTypeId()
The column in table is of type 'boolean' but the default value was
integer '0'; this triggered an error 
						
					 
					
						2009-09-23 23:44:57 +03:00 
						 
				 
			
				
					
						
							
							
								Mika Bostrom 
							
						 
					 
					
						
						
						
						
							
						
						
							00f8b34fff 
							
						 
					 
					
						
						
							
							Simplify database creation  
						
						... 
						
						
						
						Database.py : fillDefaultData()
Sql-coder had fixed the default data insert, and in the process changed
the default type ID. Since his works in general case, I can remove my
modifications. 
						
					 
					
						2009-09-23 23:36:17 +03:00 
						 
				 
			
				
					
						
							
							
								Worros 
							
						 
					 
					
						
						
						
						
							
						
						
							a20bfe0921 
							
						 
					 
					
						
						
							
							Merge branch 'master' of git://git.assembla.com/fpdb-sql  
						
						
						
					 
					
						2009-09-23 13:22:45 +08:00 
						 
				 
			
				
					
						
							
							
								Worros 
							
						 
					 
					
						
						
						
						
							
						
						
							4e361e383c 
							
						 
					 
					
						
						
							
							Merge branch 'master' of git://repo.or.cz/fpbd-bostik  
						
						
						
					 
					
						2009-09-23 13:22:35 +08:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							e080ec3fd1 
							
						 
					 
					
						
						
							
							further fix to tourneytypes insert for postgres  
						
						
						
					 
					
						2009-09-22 22:08:42 +01:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							455e92e6f6 
							
						 
					 
					
						
						
							
							fix tourneytypes insert for postgres  
						
						
						
					 
					
						2009-09-22 22:04:05 +01:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							b0677545e0 
							
						 
					 
					
						
						
							
							remove UNSIGNED from postgres create table statement  
						
						
						
					 
					
						2009-09-22 21:54:01 +01:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							5c92d6ac02 
							
						 
					 
					
						
						
							
							Merge branch 'master' of git://git.assembla.com/free_poker_tools  
						
						
						
					 
					
						2009-09-22 21:46:50 +01:00 
						 
				 
			
				
					
						
							
							
								Worros 
							
						 
					 
					
						
						
						
						
							
						
						
							89f86dd32b 
							
						 
					 
					
						
						
							
							Merge branch 'master' of git://git.assembla.com/fpdb-eric  
						
						
						
					 
					
						2009-09-22 12:35:11 +08:00 
						 
				 
			
				
					
						
							
							
								Mika Bostrom 
							
						 
					 
					
						
						
						
						
							
						
						
							1351cd6dd9 
							
						 
					 
					
						
						
							
							Use cleaner syntax in fillDefaultData  
						
						
						
					 
					
						2009-09-21 15:31:19 +03:00 
						 
				 
			
				
					
						
							
							
								sqlcoder 
							
						 
					 
					
						
						
						
						
							
						
						
							6357f22f11 
							
						 
					 
					
						
						
							
							Merge branch 'master' of git://git.assembla.com/fpdboz  
						
						
						
					 
					
						2009-09-20 22:52:05 +01:00 
						 
				 
			
				
					
						
							
							
								Worros 
							
						 
					 
					
						
						
						
						
							
						
						
							2cea6f01b9 
							
						 
					 
					
						
						
							
							Merge branch 'master' of git://repo.or.cz/fpbd-bostik  
						
						
						
					 
					
						2009-09-19 19:25:01 +08:00 
						 
				 
			
				
					
						
							
							
								Worros 
							
						 
					 
					
						
						
						
						
							
						
						
							577beed942 
							
						 
					 
					
						
						
							
							Prep new function - commented out for the moment  
						
						
						
					 
					
						2009-09-19 19:24:07 +08:00 
						 
				 
			
				
					
						
							
							
								Mika Bostrom 
							
						 
					 
					
						
						
						
						
							
						
						
							e54c45b7d1 
							
						 
					 
					
						
						
							
							Fix database creation with Postgres  
						
						... 
						
						
						
						* Database.py : fillDefaultData()
PostgreSQL has a rather annoying (mis)feature when dealing with boolean
data types: raw 1/0 input as integer is not automatically cast to
boolean values. Instead, one must use one of several other ways of
signifying true/false.
http://www.postgresql.org/docs/8.4/static/datatype-boolean.html 
documents the available and understood formatting.
Fix by special-casing PostgreSQL and making all boolean values fed as
strings, '1' for true and '0' for false. 
						
					 
					
						2009-09-19 11:44:06 +03:00 
						 
				 
			
				
					
						
							
							
								Mika Bostrom 
							
						 
					 
					
						
						
						
						
							
						
						
							84dc9652df 
							
						 
					 
					
						
						
							
							Fix table creation for Postgres  
						
						... 
						
						
						
						PostgreSQL does not have an UNSIGNED specifier in its language.
Mysql's "TINYINT UNSIGNED" is postgreSQL's "SMALLINT" which is a bit
inconvenient but apart from annoying, not a problem. 
						
					 
					
						2009-09-19 11:10:07 +03:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							3f0ede67ee 
							
						 
					 
					
						
						
							
							fix a small error that caused deletion of your hud_config when saving.. oopsie  
						
						
						
					 
					
						2009-09-17 05:26:06 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							226153f15f 
							
						 
					 
					
						
						
							
							Revert "FTtoFPDB: readBlinds: cleanup exception handler"  
						
						... 
						
						
						
						This reverts commit 0938afb882 
						
					 
					
						2009-09-16 01:40:43 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							05267db38a 
							
						 
					 
					
						
						
							
							i hate git, i hate git, yes i do  
						
						
						
					 
					
						2009-09-16 01:36:34 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							fbceb6d7af 
							
						 
					 
					
						
						
							
							bypass the changes made in readBlinds which somehow broke the hell out of stuff  
						
						
						
					 
					
						2009-09-16 01:28:28 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							7ed5d0972e 
							
						 
					 
					
						
						
							
							use with..as for file reading/writing, as we don't need 2.4 compat anyway right?  
						
						
						
					 
					
						2009-09-16 01:26:19 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							ded05cb290 
							
						 
					 
					
						
						
							
							put the regex search back into the try: in FT readBlinds() because it broke FL games somehow  
						
						
						
					 
					
						2009-09-16 00:54:29 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							2095f3c899 
							
						 
					 
					
						
						
							
							use with..as for file reading/writing, as we don't need 2.4 compat anyway right?  
						
						
						
					 
					
						2009-09-16 00:13:42 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							0938afb882 
							
						 
					 
					
						
						
							
							FTtoFPDB: readBlinds: cleanup exception handler  
						
						... 
						
						
						
						also deal with finishPositions not being accurate, by printing a message to that effect, instead of crashing an import 
						
					 
					
						2009-09-15 23:32:23 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							ba1513847b 
							
						 
					 
					
						
						
							
							clean up exception handling in Configuration and imports in GuiGraphViewer  
						
						
						
					 
					
						2009-09-15 23:30:59 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							bcecf643f2 
							
						 
					 
					
						
						
							
							cleanup imports section and spacing in fpdb_db  
						
						
						
					 
					
						2009-09-15 22:10:37 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							ba663c231c 
							
						 
					 
					
						
						
							
							cleanups  
						
						
						
					 
					
						2009-09-15 22:04:37 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							a566d52b9a 
							
						 
					 
					
						
						
							
							cleaning cleaning cleaning.. keep them coders cleaning.. cleaning cleaning cleaning..  
						
						
						
					 
					
						2009-09-15 21:26:10 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							23acfbd642 
							
						 
					 
					
						
						
							
							deal with KeyErrors in update() in a vaguely intelligent fashion  
						
						
						
					 
					
						2009-09-15 21:25:26 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							2790a623af 
							
						 
					 
					
						
						
							
							import, code, exception cleanups  
						
						
						
					 
					
						2009-09-15 21:07:31 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							e4772dcb74 
							
						 
					 
					
						
						
							
							init vars used in load_clicked, comment out the exception handler that was single handedly stopping virtually all errors in the import process from showing up  
						
						
						
					 
					
						2009-09-15 21:06:43 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							a1783a37cb 
							
						 
					 
					
						
						
							
							reflow init_hud_stat_vars exception handling  
						
						
						
					 
					
						2009-09-15 21:04:00 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							d6c5309aa3 
							
						 
					 
					
						
						
							
							clean up some module import code in fpdb_import  
						
						
						
					 
					
						2009-09-15 20:10:18 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							8b19750b1f 
							
						 
					 
					
						
						
							
							== None to is None (PEP 8, Style Guide for Python Code)  
						
						
						
					 
					
						2009-09-15 19:27:25 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							4374b6c810 
							
						 
					 
					
						
						
							
							remove Database:__init__ parameters for db_name and game, as there was a comment right next to them # db_name and game not used anymore  
						
						
						
					 
					
						2009-09-15 18:49:34 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							b0616a7d2c 
							
						 
					 
					
						
						
							
							as soon as a stat window is clicked on, with any button, bring it forward. this seems to almost completely solve the insane focus-wobbling in windows  
						
						
						
					 
					
						2009-09-13 15:08:23 -05:00 
						 
				 
			
				
					
						
							
							
								Ray 
							
						 
					 
					
						
						
						
						
							
						
						
							e69cbc30ea 
							
						 
					 
					
						
						
							
							Merge branch 'master' of git://git.assembla.com/fpt_fpdb  
						
						
						
					 
					
						2009-09-11 10:05:22 -04:00 
						 
				 
			
				
					
						
							
							
								Ray 
							
						 
					 
					
						
						
						
						
							
						
						
							bd3f73bd58 
							
						 
					 
					
						
						
							
							Merge branch 'master' of git://git.assembla.com/fpdb-eric  
						
						
						
					 
					
						2009-09-11 10:05:08 -04:00 
						 
				 
			
				
					
						
							
							
								Ray 
							
						 
					 
					
						
						
						
						
							
						
						
							2b0c59eee9 
							
						 
					 
					
						
						
							
							Merge branch 'master' of git://git.assembla.com/fpdboz  
						
						
						
					 
					
						2009-09-11 10:04:57 -04:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							7283d09b4d 
							
						 
					 
					
						
						
							
							replace "trying *codepage*" message to console with an error message only if none of our specified codepages is successful  
						
						
						
					 
					
						2009-09-11 00:38:20 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							715b14f81a 
							
						 
					 
					
						
						
							
							moved timeout_add that calls do_import outside of the for loop, so it's only created once per autoimport start, not once per site. fix addImportFile to ignore files that don't exist (not sure how they'd get there, but just in case), fixed exception looking for fpdb_simple.DuplicateError to look in it's actual location at Exceptions.DuplicateError  
						
						
						
					 
					
						2009-09-11 00:12:46 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							1f9dd8f8e9 
							
						 
					 
					
						
						
							
							HHC/fpdb_import: throw in some calls to gtk.main_iteration(False)  
						
						... 
						
						
						
						GuiBulkImport: replace "Importing" label with actual progressbar (does not use percentages, simply an activity bar) 
						
					 
					
						2009-09-09 22:10:55 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							993199c010 
							
						 
					 
					
						
						
							
							add sqlcoder to about  
						
						
						
					 
					
						2009-09-09 21:04:38 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							705210a96d 
							
						 
					 
					
						
						
							
							use the "proper" gtk.AboutDialog() for About ... meh  
						
						
						
					 
					
						2009-09-09 20:57:16 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							345e328795 
							
						 
					 
					
						
						
							
							Add Set HH Archive Directory option to Import menu on main, call it if user selects "no" on "create hh directory" prompt  
						
						
						
					 
					
						2009-09-09 20:26:44 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							ae04f5562a 
							
						 
					 
					
						
						
							
							Configuration::Import keeps track of it's node, added function to Configuration::Config to set the Import's hhArchiveBase  
						
						
						
					 
					
						2009-09-09 20:21:27 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							2bf3aaa1bc 
							
						 
					 
					
						
						
							
							most of the unimplemented stuff goes to warning_box() instead of to log/stdout. Implemented About (via warning_box, w/e)  
						
						
						
					 
					
						2009-09-09 18:36:55 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Blade 
							
						 
					 
					
						
						
						
						
							
						
						
							2397a59483 
							
						 
					 
					
						
						
							
							add warning_box func to fpdb, add validate_config func, checks existence of hhArchiveBase, pops up warnings if not present  
						
						... 
						
						
						
						hhc traps errors creating folders, need to learn how to make it fail properly afterwards. 
						
					 
					
						2009-09-09 18:20:50 -05:00