Merge branch 'master' of git://git.assembla.com/fpdb
This commit is contained in:
		
						commit
						02e6ead5f8
					
				|  | @ -464,6 +464,7 @@ class Database: | |||
|                     log.warning(_("Some database functions will not work without NumPy support")) | ||||
|                 self.cursor = self.connection.cursor() | ||||
|                 self.cursor.execute('PRAGMA temp_store=2')  # use memory for temp tables/indexes | ||||
|                 self.cursor.execute('PRAGMA journal_mode=WAL')  # use memory for temp tables/indexes | ||||
|                 self.cursor.execute('PRAGMA synchronous=0') # don't wait for file writes to finish | ||||
|             else: | ||||
|                 raise FpdbError("sqlite database "+database+" does not exist") | ||||
|  |  | |||
|  | @ -160,7 +160,6 @@ class Filters(threading.Thread): | |||
|         self.types = {}  # list of all ring/tour values | ||||
|         self.num_limit_types = 0 | ||||
| 
 | ||||
|         self.num_limit_types = 0 | ||||
|         self.fillLimitsFrame(vbox, self.display) | ||||
|         limitsFrame.add(vbox) | ||||
| 
 | ||||
|  |  | |||
|  | @ -542,7 +542,7 @@ Left-Drag to Move" | |||
|             </layout> | ||||
|         </site> | ||||
| 
 | ||||
|         <site HH_path="C:/Program Files/PKR/HandHistory/YOUR SCREEN NAME HERE/" converter="PkrToFpdb" decoder="everleaf_decode_table" enabled="True" screen_name="YOUR SCREEN NAME HERE" site_name="PKR" site_path="C:/Program Files/PKR/" supported_games="holdem" table_finder="PKR.exe"> | ||||
|         <site HH_path="C:/Program Files/PKR/HandHistory/YOUR SCREEN NAME HERE/" converter="PkrToFpdb" decoder="everleaf_decode_table" enabled="False" screen_name="YOUR SCREEN NAME HERE" site_name="PKR" site_path="C:/Program Files/PKR/" supported_games="holdem" table_finder="PKR.exe"> | ||||
|             <layout fav_seat="0" height="547" max="8" width="794"> | ||||
|                 <location seat="1" x="640" y="64">  </location> | ||||
|                 <location seat="2" x="650" y="230"> </location> | ||||
|  |  | |||
|  | @ -266,7 +266,7 @@ class HUD_main(object): | |||
|                 cards = self.get_cards(new_hand_id) | ||||
|                 table_kwargs = dict(table_name=table_name, tournament=tour_number, table_number=tab_number) | ||||
|                 tablewindow = Tables.Table(self.config, site_name, **table_kwargs) | ||||
|                 if tablewindow is None: | ||||
|                 if tablewindow.number is None: | ||||
| #        If no client window is found on the screen, complain and continue | ||||
|                     if type == "tour": | ||||
|                         table_name = "%s %s" % (tour_number, tab_number) | ||||
|  |  | |||
|  | @ -73,7 +73,7 @@ class OnGame(HandHistoryConverter): | |||
|     re_HandInfo = re.compile(u""" | ||||
|             \*\*\*\*\*\sHistory\sfor\shand\s(?P<HID>[-A-Z\d]+).* | ||||
|             Start\shand:\s(?P<DATETIME>.*) | ||||
|             Table:\s(\[SPEED\]\s)?(?P<TABLE>[-\'\w\s]+)\s\[\d+\]\s\( | ||||
|             Table:\s(\[SPEED\]\s)?(?P<TABLE>[-\'\w\s\.]+)\s\[\d+\]\s\( | ||||
|             ( | ||||
|             (?P<LIMIT>NO_LIMIT|Limit|LIMIT|Pot\sLimit|POT_LIMIT)\s | ||||
|             (?P<GAME>TEXAS_HOLDEM|OMAHA_HI|SEVEN_CARD_STUD|SEVEN_CARD_STUD_HI_LO|RAZZ|FIVE_CARD_DRAW)\s | ||||
|  |  | |||
|  | @ -34,9 +34,13 @@ import gtk | |||
| import gobject | ||||
| 
 | ||||
| #    FreePokerTools modules | ||||
| import Configuration | ||||
| from HandHistoryConverter import getTableTitleRe | ||||
| from HandHistoryConverter import getTableNoRe | ||||
| 
 | ||||
| c = Configuration.Config() | ||||
| log = Configuration.get_logger("logging.conf", "hud", log_dir=c.dir_log, log_file='HUD-log.txt') | ||||
| 
 | ||||
| #    Global used for figuring out the current game being played from the title. | ||||
| #    The dict key is a tuple of (limit type, category) for the game.  | ||||
| #    The list is the names for those games used by the supported poker sites | ||||
|  |  | |||
|  | @ -128,7 +128,7 @@ class Table(Table_Window): | |||
|         des_re = 'No such window with id' | ||||
| 
 | ||||
|         listing = os.popen("xwininfo -id %d -stats" % (self.number)).read() | ||||
| 
 | ||||
|         if listing == "": return | ||||
|         mo = re.search(des_re, listing) | ||||
|         if mo is not None: | ||||
|             return None      # table has been destroyed | ||||
|  |  | |||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							|  | @ -3,7 +3,7 @@ | |||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: 0.20.905 plus git\n" | ||||
| "POT-Creation-Date: 2011-02-27 05:51+CET\n" | ||||
| "POT-Creation-Date: 2011-02-27 23:57+CET\n" | ||||
| "PO-Revision-Date: 2010-08-30 00:57+0200\n" | ||||
| "Last-Translator: Steffen Schaumburg <steffen@schaumburger.info>\n" | ||||
| "Language-Team: Fpdb\n" | ||||
|  | @ -3099,7 +3099,7 @@ msgstr "" | |||
| 
 | ||||
| #: fpdb.pyw:38 | ||||
| msgid " - press return to continue\n" | ||||
| msgstr " - drücken Sie Enter um fortzufahren" | ||||
| msgstr " - drücken Sie Enter um fortzufahren\n" | ||||
| 
 | ||||
| #: fpdb.pyw:45 | ||||
| msgid "" | ||||
|  | @ -3133,8 +3133,9 @@ msgid "GuiStove not found. If you want to use it please install pypoker-eval." | |||
| msgstr "" | ||||
| 
 | ||||
| #: fpdb.pyw:244 | ||||
| #, fuzzy | ||||
| msgid "" | ||||
| "Copyright 2008-2010, Steffen, Eratosthenes, Carl Gherardi, Eric Blade, _mt, " | ||||
| "Copyright 2008-2011, Steffen, Eratosthenes, Carl Gherardi, Eric Blade, _mt, " | ||||
| "sqlcoder, Bostik, and others" | ||||
| msgstr "" | ||||
| "Copyright 2008-2010, Steffen, Eratosthenes, Carl Gherardi, Eric Blade, _mt, " | ||||
|  |  | |||
|  | @ -5,7 +5,7 @@ | |||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: PACKAGE VERSION\n" | ||||
| "POT-Creation-Date: 2011-02-27 05:51+CET\n" | ||||
| "POT-Creation-Date: 2011-02-27 23:57+CET\n" | ||||
| "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||||
| "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
| "Language-Team: LANGUAGE <LL@li.org>\n" | ||||
|  | @ -2990,7 +2990,7 @@ msgid "GuiStove not found. If you want to use it please install pypoker-eval." | |||
| msgstr "" | ||||
| 
 | ||||
| #: fpdb.pyw:244 | ||||
| msgid "Copyright 2008-2010, Steffen, Eratosthenes, Carl Gherardi, Eric Blade, _mt, sqlcoder, Bostik, and others" | ||||
| msgid "Copyright 2008-2011, Steffen, Eratosthenes, Carl Gherardi, Eric Blade, _mt, sqlcoder, Bostik, and others" | ||||
| msgstr "" | ||||
| 
 | ||||
| #: fpdb.pyw:245 | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: fpdb\n" | ||||
| "POT-Creation-Date: 2011-02-27 05:51+CET\n" | ||||
| "POT-Creation-Date: 2011-02-27 23:57+CET\n" | ||||
| "PO-Revision-Date: \n" | ||||
| "Last-Translator: Javier Sánchez <donoban@gmail.com>\n" | ||||
| "Language-Team: \n" | ||||
|  | @ -3042,7 +3042,7 @@ msgstr "" | |||
| 
 | ||||
| #: fpdb.pyw:244 | ||||
| msgid "" | ||||
| "Copyright 2008-2010, Steffen, Eratosthenes, Carl Gherardi, Eric Blade, _mt, " | ||||
| "Copyright 2008-2011, Steffen, Eratosthenes, Carl Gherardi, Eric Blade, _mt, " | ||||
| "sqlcoder, Bostik, and others" | ||||
| msgstr "" | ||||
| 
 | ||||
|  |  | |||
|  | @ -5,7 +5,7 @@ | |||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: PACKAGE VERSION\n" | ||||
| "POT-Creation-Date: 2011-02-27 05:51+CET\n" | ||||
| "POT-Creation-Date: 2011-02-27 23:57+CET\n" | ||||
| "PO-Revision-Date: 2010-09-09 13:33+0100\n" | ||||
| "Last-Translator: \n" | ||||
| "Language-Team: LANGUAGE <LL@li.org>\n" | ||||
|  | @ -3195,7 +3195,7 @@ msgstr "" | |||
| 
 | ||||
| #: fpdb.pyw:244 | ||||
| msgid "" | ||||
| "Copyright 2008-2010, Steffen, Eratosthenes, Carl Gherardi, Eric Blade, _mt, " | ||||
| "Copyright 2008-2011, Steffen, Eratosthenes, Carl Gherardi, Eric Blade, _mt, " | ||||
| "sqlcoder, Bostik, and others" | ||||
| msgstr "" | ||||
| 
 | ||||
|  |  | |||
|  | @ -5,7 +5,7 @@ | |||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: 0.20.905 plus git\n" | ||||
| "POT-Creation-Date: 2011-02-27 05:51+CET\n" | ||||
| "POT-Creation-Date: 2011-02-27 23:57+CET\n" | ||||
| "PO-Revision-Date: 2011-02-27 18:23+0100\n" | ||||
| "Last-Translator: Ferenc Erki <erkiferenc@gmail.com>\n" | ||||
| "Language-Team: Hungarian <erkiferenc@gmail.com>\n" | ||||
|  | @ -3183,8 +3183,9 @@ msgstr "" | |||
| "eval-t." | ||||
| 
 | ||||
| #: fpdb.pyw:244 | ||||
| #, fuzzy | ||||
| msgid "" | ||||
| "Copyright 2008-2010, Steffen, Eratosthenes, Carl Gherardi, Eric Blade, _mt, " | ||||
| "Copyright 2008-2011, Steffen, Eratosthenes, Carl Gherardi, Eric Blade, _mt, " | ||||
| "sqlcoder, Bostik, and others" | ||||
| msgstr "" | ||||
| "Copyright 2008-2010, Steffen, Eratosthenes, Carl Gherardi, Eric Blade, _mt, " | ||||
|  |  | |||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
		Loading…
	
		Reference in New Issue
	
	Block a user