Commit Graph

2941 Commits

Author SHA1 Message Date
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
Mika Bostrom
17aae75f01 Merge branch 'stats' of git://git.assembla.com/fpdboz into newstats 2009-12-23 19:25:06 +02:00
Worros
0adf0a7b18 [NEWIMPORT] updateHudCache update.
Fix a couple of bugs:
    position != 2 its = 'M'
    actually commit changes to hud
2009-12-24 01:12:39 +08:00
Mika Bostrom
00305e34b6 Merge branch 'stats' of git://git.assembla.com/fpdboz into newstats 2009-12-23 17:30:54 +02:00
Worros
a0475aa4db [NEWIMPORT] Add function to update hudcache for Hand 2009-12-23 23:14:34 +08:00
Worros
a2d0657b3a [NEWIMPORT] Remove unused functions
Move old HudCache update over in preparation for fixing
2009-12-23 13:56:18 +08:00
Worros
6e9153c25c [NEWIMPORT] Copy Grigorij's code from Alchemy
Copied some of Grigorij's code verbatim for calculating additional stats, still needs adapting.

Also reorder some functions so the corresponding files are more mergeable in future.
2009-12-23 13:30:12 +08:00
Mika Bostrom
6f084e73da Merge branch 'stats' of git://git.assembla.com/fpdboz into newstats 2009-12-22 22:19:35 +02:00
Eric Blade
932695b40f Merge branch 'master' of git://git.assembla.com/fpdboz.git 2009-12-22 13:36:52 -05:00
sqlcoder
7f7d56c4c7 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-12-22 16:51:20 +00:00
Worros
355225fc25 [NEWIMPORT] Remove test_fpdb_simple 2009-12-22 23:03:05 +08:00
Worros
d8a87b92d4 [NEWIMPORT] Make hudcache rebuild only happen no call to hud 2009-12-22 22:15:27 +08:00
Worros
284693e95e [NEWIMPORT] Rebuild hudcache after hand is committed 2009-12-22 22:02:36 +08:00
Worros
4d8d678d64 [NEWIMPORT] Make seek into autoimport function
Now that the legacy import path is gone, enable the index for HHC
2009-12-22 21:40:37 +08:00
Worros
ae55a89d7f Remove reference to fpdb_simple 2009-12-22 20:22:05 +08:00
Worros
0898ddf8a1 [NEWIMPORT] HandsPlayers.startCards
Dodgy function just to get things kinda working again.
2009-12-22 17:30:49 +08:00
Worros
a3be99bcf6 [NEWIMPORT] HandsPlayers.startCards
Dodgy function just to get things kinda working again.
2009-12-22 17:20:07 +08:00
Worros
1b82f20411 [NEWIMPORT] Remove legacy code. 2009-12-22 14:44:35 +08:00