Commit Graph

2192 Commits

Author SHA1 Message Date
Worros
ff88823c1a [NEWIMPORT] Fix syntax to be 2.5 compatible.
Python 2.6 enumerate() function contains a useful 'start' paramater,
apparently this did not exist in 2.5.

Patch frim Mika Bostrom
2009-12-24 03:09:13 +08:00
Worros
9650fe7a0d [NEWIMPORT] Add stubbed variable to insert 2009-12-24 03:09:13 +08:00
Worros
ff0872f8de Add some code to kinda detect hand cancellation
hhc.readHandInfo(self)
hhc.readPlayerStacks(self)
hhc.compilePlayerRegexs(self)
hhc.markStreets(self)

Is the order, the first correctly failing regex is markStreets
2009-12-24 03:09:12 +08:00
Worros
e18af681cb Add test hand - Hand cancelled 2009-12-24 03:09:12 +08:00
Worros
f829ed937e [NEWIMPORT] Move hud call to after database commit
HUD still doesn't quite work, but getting closer - suspect hud_cache rebuild isn't happening
2009-12-24 03:09:11 +08:00
Worros
03deefc1a3 [NEWIMPORT] Fix thinko on insertPlayer
Was returning the player name instead of id in the case where the player exists in the database, but wasn't cached already

Removing some merge gunge too
2009-12-24 03:09:11 +08:00
Worros
72cf9a61ca [NEWIMPORT] Add a commit at the end of the fpdb_import cycle 2009-12-24 03:09:10 +08:00
Worros
5e4cc1c5eb [NEWIMPORT] 'correct' the type for wonWhenSeenStreet1 2009-12-24 03:09:10 +08:00
Worros
a717eb437c [NEWIMPOR] Fix insert type for wonAtSD 2009-12-24 03:09:10 +08:00
Worros
c1464d64ff [NEWIMPORT] Fix startCash fix 2009-12-24 03:09:09 +08:00
Worros
b3d6da8339 [NEWIMPORT] Convert start stack to cents 2009-12-24 03:09:09 +08:00
Worros
f527fe60a8 Fix a couple of typos 2009-12-24 03:09:08 +08:00
Worros
22a0c75adf Fix thinko in stub 2009-12-24 03:09:08 +08:00
Worros
318cd10551 [NEWIMPORT] Move HandsPlayers insert statement into SQL.py 2009-12-24 03:09:08 +08:00
Worros
0b711628f9 [NEWIMPORT] Stub remaining HandsPlayers stats 2009-12-24 03:09:04 +08:00
sqlcoder
d0725f8787 reload profile after editing Prefs if no other tabs are open, otherwise suggest restart 2009-12-24 03:09:03 +08:00
Carl Gherardi
e62c47f963 [NEWIMPORT] Move database prep into prepInsert 2009-12-24 03:09:03 +08:00
Carl Gherardi
c8734604c7 [NEWIMPORT] Enable printInsert, disable hud pipe 2009-12-24 03:09:02 +08:00
sqlcoder
2470b9a292 add name to nodes 2009-12-24 03:09:02 +08:00
sqlcoder
eaa698eb1a default guiprefs window to larger size 2009-12-24 03:09:02 +08:00
Worros
3584e6dcc1 [NEWIMPORT] Add call to HUD for auto import
Make sure the matching db_handid is recorded in the Hand object for later use
2009-12-24 03:09:00 +08:00
Worros
135a6eaf20 Add test for Stars sawShowdown.
Test currently fails in the old import code and passes on NEWIMPORT

Tests for uncalled allin bet on river, which has been erronously marked as showdown previously
2009-12-24 03:08:59 +08:00
Worros
d4989fcd11 Make test file use real database.
Please note this could be destructive
2009-12-24 03:08:56 +08:00
Worros
68b4ebdb57 [NEWIMPORT] Fix sawShowdown stat 2009-12-24 03:08:55 +08:00
Mika Bostrom
1d53e32f1e Enclose dict key lookup in try-except block
Some recent changes moved the dictionary access outside try-except block
again. Widen the block enough again.
2009-12-24 03:08:55 +08:00
sqlcoder
9cade44472 move print message to log 2009-12-24 03:08:53 +08:00
Worros
b3f1fc2f8c Add beginings of test for sawShowdown - unfinished.
Some sort of weird commit problem going on. Conmmitiing to work on htat
2009-12-24 03:08:52 +08:00
Worros
7212760c67 Newimport - comments for a getPosition function.
Decided that I needed some test functions before I kick on
2009-12-24 03:08:51 +08:00
Worros
3f30878bbd [NEWIMPORT] Partially fix number of hands parsed reporting 2009-12-24 03:08:51 +08:00
Eric Blade
a6429957fe comment out some prints, apparently mysqlcoder and my editors do not agree well with each other on spacing. 2009-12-24 03:08:50 +08:00
Eric Blade
5913c9092a Add some basic error handling at the very beginning of startup, to deal with missing imports and such, update about box 2009-12-24 03:08:50 +08:00
Worros
117c377fff Repair recent damage to Options 2009-12-24 03:08:49 +08:00
sqlcoder
48c36c319b improve rebuild hudcache and indexes dialogs 2009-12-24 03:08:48 +08:00
Eric Blade
c38efd61ef trap IOError on hud pipe write when hud closed without autoimport stopping, turn off hud 2009-12-24 03:08:48 +08:00
Eric Blade
d3d8b4afbb ttime = float with us to ms resolution 2009-12-24 03:08:47 +08:00
Eric Blade
b3d2a95796 fix return tuple in import_file_dict, fix text from autoimport to actually show up in autoimport window 2009-12-24 03:08:44 +08:00
unknown
3a742148ef Close stat window with double-click 2009-12-19 11:02:45 +01:00
unknown
545d4f37fb Add freeroll support to Pokerstars 2009-12-19 10:57:07 +01:00
unknown
bb446ad955 Stakes added for limit games.
blinds now supported for > 1000
Freerolls supported --> buyin fixed to $0+$0
Table indentification for tourney and ring games supported --> HUD
2009-12-18 20:25:20 +01:00
grindi
45eccb0697 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-12-01 11:11:34 +03:00
Worros
fc20330f2b [NEWIMPORT] Don't actually writeHand on NEWIMPORT 2009-11-30 15:11:00 +08:00
Worros
f30b3a6117 Oops - actually add NEWIMPORT const to Configuration 2009-11-30 14:41:07 +08:00
Worros
36dda2174b Move NEWIMPORT into config
Fix test_PokerStars test to catch exception when importing with the legacy importer
2009-11-30 14:33:32 +08:00
Worros
152933ed49 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-11-30 14:23:37 +08:00
Worros
71c2fea1ca Add query object to test 2009-11-30 14:22:58 +08:00
Worros
bb38d7e1dd [NEWIMPORT] Clean up HandsPlayers.cardX fetching 2009-11-30 14:20:48 +08:00
Eric Blade
67beb4bd9f add textview to autoimport window for dropping status/info messages on, just call it's AddText func to get it there 2009-11-29 23:52:36 -05:00
Eric Blade
3439523de8 Merge branch 'master' of git://git.assembla.com/fpdb-sql.git 2009-11-29 22:02:49 -05:00
Worros
db5e321fe0 Fix obvious typo 2009-11-30 10:53:15 +08:00
Worros
aed892139d Add -i option for input file 2009-11-30 10:52:28 +08:00