Commit Graph

203 Commits

Author SHA1 Message Date
Steffen Schaumburg
398a2609ef more string cleaning 2011-04-08 13:39:56 +02:00
Steffen Schaumburg
38832a84fb Merge branch 'carl' 2011-04-07 10:39:50 +02:00
Worros
d4c58fd23f FTP: Fix crasher with returned antes
FTP forces all players at a cash game table to post antes, but if they
are in the blinds they can timeout and have the ante returned to them,
listing them as sitting out.
2011-04-07 18:26:55 +10:00
Worros
4f4a905609 FTP: Fix issue with RIT hands.
RIT hands on FTP have two summary sections. If a player is sitting out
and needs to be removed from the player list, they were removed twice.

The second remove from a python dict is a crash. Patch avoids this
situation
2011-04-07 17:54:47 +10:00
Steffen Schaumburg
0f8f2099cc reduce translation word count about another 50 2011-04-05 03:03:39 +02:00
Worros
eec01083b1 FTP: Add high limit lookup
Clear the blind string of ,s and add 1k/2k and 1.5k/3k.
2011-04-02 23:22:56 +08:00
Worros
684689c9db Revert "changed all of the currency substitutions from byte stream (i.e. \xe2\x82\xac for EURO) to unicode (u'\u20AC') as it was throwing unicode errors when attempting to format the string in the various regex statements. I am aware that I may be the only one to encounter this problem."
This reverts commit d0ae2a155d.

Conflicts:

	pyfpdb/FulltiltToFpdb.py
2011-03-29 15:46:15 +08:00
Worros
59b65ca146 Merge branch 'chazdazzle' of git://github.com/ChazDazzle/fpdb-chaz
Conflicts:
	pyfpdb/FulltiltToFpdb.py
2011-03-29 13:52:08 +08:00
Worros
cf5e3878bd FTP: Allow '_' in tablename 2011-03-28 17:14:27 +08:00
Worros
b6ca0565ce FTP: Allow # in tablename 2011-03-25 13:14:26 +08:00
Chaz Littlejohn
a87f43f933 Updated the import process for Draw hands so that cards, along with additional draws can now be stored. HandsPlayers now includes 20 card fields to accomodate up to 4 five card hands for each player. The regex for the 'stands pat' action was also improved so that hero cards from those streets could be taken from that line of text 2011-03-24 06:00:10 +00:00
Chaz Littlejohn
5eeafc4503 Added regex & methods for picking up the 'discards' and 'stands pat' actions in FTP draw hands 2011-03-24 04:08:08 +00:00
Chaz Littlejohn
d0ae2a155d changed all of the currency substitutions from byte stream (i.e. \xe2\x82\xac for EURO) to unicode (u'\u20AC') as it was throwing unicode errors when attempting to format the string in the various regex statements. I am aware that I may be the only one to encounter this problem. 2011-03-23 19:27:55 +00:00
Chaz Littlejohn
ed1259fe30 It's not actually a big deal if there's no bring-in, like if the bring-in completes instead, so changed to debug. 2011-03-22 04:17:46 +00:00
Chaz Littlejohn
41e0042235 Added tracking for FTP 2-7 Single Draw 2011-03-22 04:16:23 +00:00
Steffen Schaumburg
bc7a5c55ff Merge branch 'carl'
Conflicts:
	pyfpdb/WinamaxToFpdb.py (just a comment and an output string
2011-03-16 09:37:44 +01:00
Steffen Schaumburg
d49d2e2220 few more string unifications (I know its too late, but I wanted them in so translators running non-source can try their translations better), update l10n files 2011-03-12 21:47:14 +01:00
Worros
eef755ac01 Merge branch 'master' of git://git.assembla.com/fpdb 2011-03-10 18:06:30 +08:00
Steffen Schaumburg
8a519699b5 update copyright year 2011-03-10 06:16:31 +01:00
Steffen Schaumburg
23818e0c6b more string unification 2011-03-10 04:36:20 +01:00
Steffen Schaumburg
4c71fd7baf unify a string 2011-03-10 04:29:16 +01:00
Steffen Schaumburg
5a0f2946a4 fix many strings that weren't being picked up by gettext's parser 2011-03-10 04:15:53 +01:00
Worros
e6df3cd809 FTP: Mod game regexes for older Hi/Lo format 2011-03-05 17:47:01 +08:00
Worros
e11e66c3e6 FTP: Minor updates.
Was sent an old file that has 'Omaha' instead of 'Omaha Hi' in the gametype line.

Was also sent a hand history that contain no player stack information at all.
2011-03-02 16:01:55 +08:00
Worros
1e482a8a37 FTP: Specify full filename in log when gametype not matched 2011-02-24 22:48:53 +08:00
Worros
2b8b6ec626 FTP: Fix markStreets to correctly identify single draw 'DEAL'
This has the knock on effect of fixing pre/post deal stats and almost certainly the same bug that affected the stars parser fixed in e387593967
2011-02-16 16:14:32 +08:00
Worros
005dc9ba4c FTP: Handle partial hhs in date function 2011-02-07 23:22:17 +08:00
Worros
7d1a54bf66 FTP: Add new blind for limit 2011-02-07 23:16:45 +08:00
Worros
7fe3ece235 FTP: Comment out debug line 2011-02-07 23:15:42 +08:00
Worros
9626812f89 FTP: Recommit accidentally reverted patch 2011-02-02 16:40:03 +08:00
Eratosthenes
543862629f recommit one of Carl's prev commits. 2011-01-31 09:59:11 -05:00
Eratosthenes
c8a9529ae4 Revert "Merge /home/reb402/workspace/free_poker_tools"
This reverts commit 64ebf9f6ae, reversing
changes made to d01951089b.
2011-01-30 17:14:57 -05:00
Worros
e26abfeb71 FTP: Make re_SummarySitout ungreedy
The line

Seat 5: evv888 (button) is sitting out

Was crashing as (button) was becoming part of the player name,

Made the name match ungreedy, and allowed (button) as optional.
2011-01-29 03:17:55 +08:00
Worros
25d0c36022 FTP: Add additional blind levels 2011-01-27 15:58:38 +08:00
Worros
db3df7b42e FTP: Make Summary split more careful
This prevents the import from crashing on Run It Twice hand histories.
2011-01-27 12:42:06 +08:00
Worros
de28aa7dc0 FTP: Add 1k/2k limit to lookup.
Also remove a noisy debug line
2011-01-27 12:12:27 +08:00
Worros
5a30d793c7 FTP: Update re_HandInfo
After last patch the regex was greedy when including space.

Fixes 7 issues noted by THP
2011-01-24 14:13:03 +08:00
Worros
e6be901cf3 FTP: Fixes for Multi entry rush and FTP archive files
- Minor fix for table name match
- Make the word 'Table|Match' optional as it isn't in the archive file
- Add optional section for 'Entry #id'
2011-01-24 14:00:25 +08:00
Worros
66247216a5 FTP: Introduce Lim_Blinds lookup table for Big Bets 2011-01-17 14:11:43 +08:00
Worros
acdd1aa507 FTP: Refine re_CollectPot
FTP Draw games do not necessarily have the ending ', mucked' or ' with blah' in the summary
2011-01-14 14:14:14 +08:00
Worros
bd5d848934 FTP: Refine how players are counted as playing.
Players can be noted as sitting out, but act within the hand.

The summary info contains more accurate information, so use that to cull the list.
2011-01-12 17:41:03 +08:00
Worros
70c4c5fada FTP: Add exception handler to readButton
Fix crasher in FTP (see 927184a3f2)
2011-01-12 11:47:42 +08:00
Worros
c979c172d8 FTP: Make FTP use clearMoneyString()
FTP Summary files have a slightly different format than those written my the client.

Also convert all tourney string munging to clearMoneyString
2010-12-20 14:25:58 +08:00
Worros
d97be04066 FTP: Change the way the number format is dealt with
Rather than define [.,0-9] multiple times thoughout the regexes, add it to the substitutions section.

Passes existing regression suite.
2010-12-20 13:18:05 +08:00
Worros
69a67f5c83 FTP: Make apostrophe a valid tablename character 2010-12-20 12:29:20 +08:00
Worros
3cd7eb881b FTP: Change date format handling
The new FTP date format contains local and ET time information, in almost the same way as Stars.

Tested against a new file, an old file, a EUR file and the weird date format that existed for about 3 days
2010-12-11 00:01:00 +08:00
Worros
4b15ca0cad FTP: Badugi support 2010-11-07 16:52:23 +08:00
Worros
55b272435d FTP: Add pl and nl support for 5 Card Draw 2010-11-07 16:48:04 +08:00
Worros
208db43266 FTP: Limit 5 Card Draw support. 2010-11-07 15:16:02 +08:00
Worros
616f84fddd FTP: Add support for 2-7 Triple draw (limit only) 2010-11-07 14:27:03 +08:00