Commit Graph
2724 Commits
Author SHA1 Message Date
Mika Bostrom da03de49dd Merge branch 'master' into good 2009-12-18 09:53:40 +02:00
Worros 9012c74db7 [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-18 13:33:56 +08:00
Worros 2b7d34c484 [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-18 13:32:09 +08:00
Worros a2947c8707 [NEWIMPORT] Add stubbed variable to insert 2009-12-18 10:28:28 +08:00
Worros 975eb360ef [NEWIMPORT] Add stubbed variable to insert 2009-12-18 10:27:43 +08:00
Worros 1093b1e43c Remove dead code 2009-12-18 10:27:09 +08:00
Worros ba8f61d14a Add ability to import Stars archive files.
PokerStars support can provide a HH archive. The format is similar but not the same as a a standard hh format as it contains an additional line "Hand #X" between each hand.

Patch adds an option -s to GuiBulkImport, which when specified will strip these lines out and continue parsing.
2009-12-17 18:50:40 +08:00
Worros 26fc0b5928 Add ability to import Stars archive files.
PokerStars support can provide a HH archive. The format is similar but not the same as a a standard hh format as it contains an additional line "Hand #X" between each hand.

Patch adds an option -s to GuiBulkImport, which when specified will strip these lines out and continue parsing.
2009-12-17 18:42:50 +08:00
Eric Blade b25dedbf5e Merge branch 'master' of git://git.assembla.com/fpdboz.git 2009-12-17 04:07:25 -05:00
Worros 22f98ab1c5 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-17 16:00:24 +08:00
Worros 1fb99e4595 Add test hand - Hand cancelled 2009-12-17 15:59:29 +08:00
Worros f03a9c287f 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-17 15:53:12 +08:00
Worros 209c4f94fa Merge branch 'master' into stats 2009-12-17 13:33:39 +08:00
Mika Bostrom 8189c5c7c3 Merge branch 'master' into good 2009-12-16 22:16:01 +02:00
Worros f7616c6ee8 [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-17 02:24:57 +08:00
sqlcoder c081726a42 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-12-16 18:18:03 +00:00
sqlcoder 97842c1be3 remove merge comment 2009-12-16 18:15:07 +00:00
Worros 1f70a9ad8a [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-17 01:55:48 +08:00
Worros 80c324c8e1 [NEWIMPORT] Add a commit at the end of the fpdb_import cycle 2009-12-17 00:40:36 +08:00
Worros 5c0323c842 Add PartyPoker 10 seat hud layout to example file 2009-12-17 00:12:53 +08:00
Worros 826ca4b2c7 [NEWIMPORT] 'correct' the type for wonWhenSeenStreet1 2009-12-16 23:11:08 +08:00
Worros 52d1ce1402 [NEWIMPOR] Fix insert type for wonAtSD 2009-12-16 22:58:54 +08:00
Worros c50addf867 [NEWIMPORT] Fix startCash fix 2009-12-16 22:48:38 +08:00
Worros 353fec235f [NEWIMPORT] Convert start stack to cents 2009-12-16 22:41:48 +08:00
Mika Bostrom 30e9bdb06d Merge branch 'master' into good 2009-12-16 14:25:44 +02:00
Worros 1d53196568 Fix loal variable scope bug
Never have been quite sure of local variable scope using python indentation, this didn't appear to affect anyone until a poster on 2+2
2009-12-16 20:04:10 +08:00
Mika Bostrom 8abdc6597d Merge branch 'master' into good 2009-12-16 09:25:29 +02:00
Worros be0cb6fc2a Fix a couple of typos 2009-12-15 22:56:18 +08:00
Eric Blade 7ca08899c5 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2009-12-15 06:08:30 -05:00
Mika Bostrom 0bf06122f4 Merge branch 'master' into good 2009-12-14 17:50:42 +02:00
Worros a18b3a9cfb Merge branch 'master' into stats 2009-12-14 19:03:23 +08:00
Worros 4746ddb33d Fix thinko in stub 2009-12-14 19:03:01 +08:00
Worros 2ca866398f Merge branch 'master' into stats 2009-12-14 18:02:08 +08:00
Worros 56c5521e6a [NEWIMPORT] Move HandsPlayers insert statement into SQL.py 2009-12-14 18:01:24 +08:00
Worros fb92ee2941 [NEWIMPORT] Stub remaining HandsPlayers stats 2009-12-14 17:52:08 +08:00
Carl Gherardi 7d45d40d16 Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2009-12-14 16:47:10 +08:00
Carl Gherardi 6b45723b09 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-12-14 16:46:57 +08:00
Carl Gherardi cf6e818ae5 [NEWIMPORT] Enable NEWIMPORT by defaul 2009-12-14 16:45:08 +08:00
Eratosthenes 0592b1c2c0 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-12-13 12:38:17 -05:00
Mika Bostrom 20de6fe730 Clean up about window
Remove duplicates
2009-12-13 16:12:29 +02:00
Mika Bostrom 6fa366bab6 Merge branch 'master' into good 2009-12-13 16:08:46 +02:00
sqlcoder 69168ff868 unwind change that stopped mysawshowdown being set unless all-in (which I hardly ever am, since I play limit ... so my WtSD was displaying as 0) 2009-12-13 12:57:46 +00:00
sqlcoder 05d0d02df4 reload profile after editing Prefs if no other tabs are open, otherwise suggest restart 2009-12-13 12:55:15 +00:00
Carl Gherardi e08afeecb1 [NEWIMPORT] Move database prep into prepInsert 2009-12-13 13:48:17 +08:00
Carl Gherardi 40cbb55f7f [NEWIMPORT] Enable printInsert, disable hud pipe 2009-12-13 13:47:14 +08:00
sqlcoder 4cc1c4cfe6 add name to nodes 2009-12-12 12:09:58 +00:00
sqlcoder c7e11a8cc3 default guiprefs window to larger size 2009-12-12 12:08:48 +00:00
sqlcoder ab89f9f603 show message dialog if pg connect fails 2009-12-12 09:51:07 +00:00
Mika Bostrom fcf14f9100 Merge own master 2009-12-10 06:47:13 +02:00
Mika Bostrom 835fc98f6f Cosmetic fix
About -> Credits takes a list of strings in .set_authors() as opposed to
a single string. Now the credit popup looks about right.
2009-12-10 06:41:15 +02:00