Commit Graph

4730 Commits

Author SHA1 Message Date
Eratosthenes
b4ef4bdecb SQL tokens with leading digits are not allowed. 2011-02-04 11:38:35 -05:00
Eratosthenes
970c98cae7 Revert "Revert "Database.py code rewroten""
This reverts commit d7fd513144.
2011-02-04 11:11:58 -05:00
Eratosthenes
d7fd513144 Revert "Database.py code rewroten"
This reverts commit b1f62de4e5.
2011-02-04 10:47:39 -05:00
Worros
3fa682e07f Revert "Database.py code rewroten"
This reverts commit b1f62de4e5.
2011-02-04 23:46:06 +08:00
Worros
5ff3e414eb Winamax: Major revision to readCollected
This should fix most issues with the way Winamax writes its hand histories.
2011-02-04 17:18:10 +08:00
Worros
d15ad3852c Merge branch 'master' of git://git.assembla.com/free_poker_tools 2011-02-04 14:56:09 +08:00
donoban
4b8a583659 Revert "Add support for specifying DB port"
This reverts commit 8d78e11a4f.
2011-02-04 07:49:17 +01:00
Worros
6b384634f8 Regression: Fix Stars foldto3/4bet for Allin-pre.txt 2011-02-04 13:00:59 +08:00
donoban
115d187ed1 calc34BetStreet0() rewritten
More efficient with use of break and continue
2011-02-04 05:23:52 +01:00
Worros
912a28511f Add Fold to 3/4bet to .hp files for FTP files 2011-02-04 11:51:30 +08:00
Worros
7dc6c95515 Regression: Add Fold to 3/4bet to .hp files for Absoilute, OnGame, Party 2011-02-04 11:17:07 +08:00
Worros
0dfbe63446 Regression: Add Fold to 3/4bet to .hp files for Everleaf and Carbon 2011-02-04 11:07:08 +08:00
Worros
27132b722a Regression: Add Fold to 3/4bet to .hp files for Winamax 2011-02-04 10:47:46 +08:00
gimick
5985d7eba5 Merge branch 'master' of git://git.assembla.com/fpdboz 2011-02-03 20:58:05 +00:00
Eratosthenes
09701c59f9 Merge branch 'master' of git://git.assembla.com/fpdboz 2011-02-03 10:24:00 -05:00
Eratosthenes
2dcb9fc13b Merge branch 'master' of git://git.assembla.com/fpdb 2011-02-03 10:23:54 -05:00
Eratosthenes
4539fe4d89 Change hand no back to approx the way Carl had it. 2011-02-03 10:19:39 -05:00
Worros
f267d85c54 Regression: Add Fold to 3/4bet to .hp files for Absolute 2011-02-03 17:02:02 +08:00
Worros
5b3d80fbcd Regression: Add Fold to 3/4bet to .hp files for Winamax 2011-02-03 13:21:54 +08:00
Worros
ae414f1bd6 Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2011-02-03 12:17:19 +08:00
Donoban
1a0d76686f Added 4bet and fold to 4bet stat 2011-02-03 05:04:12 +01:00
Donoban
da05252b2f Wrap GuiStove import on try/except 2011-02-03 04:55:52 +01:00
Donoban
b1f62de4e5 Database.py code rewroten
line[X] replaced by line.append(), easy to read and mantain
2011-02-03 02:50:51 +01:00
gimick
0450424b51 GUI: show 2dp for aggfac (sqlite only, fixed for other db's for code consistency) 2011-02-02 20:38:34 +00:00
Worros
615179e245 Regression: Add Fold to 3/4bet to .hp files for Stars 2011-02-02 17:27:18 +08:00
Worros
f10092d41b Regression: Add new stats to .hp file
Unverified
2011-02-02 17:07:45 +08:00
Worros
b0212301cb fpdb.pyw: reenable Stove 2011-02-02 16:40:42 +08:00
Worros
9626812f89 FTP: Recommit accidentally reverted patch 2011-02-02 16:40:03 +08:00
Donoban
5369661b01 Disabling DEBUG messages from Database.py 2011-02-02 08:51:06 +01:00
Donoban
13758dd45a Added fold to 3bet 2011-02-02 03:35:38 +01:00
Steffen Schaumburg
7234b74df1 some minor nitpicking 2011-02-01 02:04:47 +01:00
Eratosthenes
543862629f recommit one of Carl's prev commits. 2011-01-31 09:59:11 -05:00
Eratosthenes
2b13d49843 Merge branch 'master' of git://git.assembla.com/fpdboz 2011-01-31 09:54:17 -05:00
Worros
1e64ae599c Regression: FTP LHE 9max
HH where the button sits out - previous crasher.
2011-01-31 20:21:55 +08:00
Eratosthenes
cf7db92ba1 Revert "Make XTables happier with AW_HUD scheme."
This reverts commit d5ba947ede.
2011-01-30 17:19:24 -05:00
Eratosthenes
8477eb912b Revert "Begin integration of AW_HUD stuff."
This reverts commit 27f7921f6e.
2011-01-30 17:18:53 -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
Eratosthenes
36cdc9f35a Merge branch 'new_hud' of /home/reb402/workspace/free_poker_tools 2011-01-30 16:51:00 -05:00
Eratosthenes
27f7921f6e Begin integration of AW_HUD stuff. 2011-01-30 16:50:26 -05:00
Eratosthenes
d5ba947ede Make XTables happier with AW_HUD scheme. 2011-01-30 16:48:09 -05:00
Worros
3d948fd6e6 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2011-01-30 14:46:28 +08:00
Eratosthenes
64ebf9f6ae Merge /home/reb402/workspace/free_poker_tools 2011-01-29 23:43:00 -05:00
Eratosthenes
d01951089b New file Aux_Hud. Minor mods to Mucked.
Aux_Hud is the prototype of the new HUD that uses the AW interface.
This version works as a minimal HUD, but the default HUD from 
Hud.py is also displayed.
2011-01-29 23:41:37 -05:00
Eratosthenes
54146f7170 Merge branch 'master' of git://git.assembla.com/fpdboz 2011-01-28 15:07:21 -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
Eratosthenes
59c7985410 Add name attr to layout element in site element. 2011-01-27 19:42:55 -05:00
Eratosthenes
841226e544 Implement getting button position in Winamax. 2011-01-27 15:09:50 -05: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
Eratosthenes
5dc06c7ba7 Get correct hand# and max from HHs sent by user. 2011-01-26 21:45:12 -05:00
Eratosthenes
dfbd5446ec Merge branch 'master' of git://git.assembla.com/fpdboz 2011-01-26 17:13:55 -05:00
Eratosthenes
d862cd6bd2 Make executable. 2011-01-26 17:12:47 -05:00
Eratosthenes
010b153d9a Merge /home/reb402/workspace/free_poker_tools 2011-01-26 17:11:17 -05:00
Eratosthenes
a790ced223 Mika's modifications. Still probs with set_transient_(). 2011-01-26 17:10:24 -05:00
Worros
9685d46c38 Regression: Add previously failing hand.
As reported in: https://sourceforge.net/apps/mantisbt/fpdb/view.php?id=76
2011-01-25 13:12:56 +08:00
Worros
341f5198b8 Hand: Throw error when Draw hand has no deal section
Resolves: https://sourceforge.net/apps/mantisbt/fpdb/view.php?id=76
2011-01-25 13:10:50 +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
bd5b0769e8 HHC: FTP archive regex fix.
The number of '*'s in the FTP header changes as the handid gets higher.

Allow for between 20 and 25 '*'s
2011-01-24 13:16:38 +08:00
Worros
98347b21ad Regression: The Big Game data
A python based hand grabber for fetching the json data used on the website.

No intended use for this yet.
2011-01-21 13:54:03 +08:00
Worros
92357aef12 OnGame: Allow tablenames to contain a '-' 2011-01-21 13:25:41 +08:00
Worros
56f84f183f GuiBulkImport: Add Archive checkbox
Replaced non-functional 'Fail on error' checkbox with 'Archive'

Now sets importer flag for importing Stars or FTP archive files
2011-01-20 11:52:17 +08:00
Worros
dccc61013b FTPSummary: First pass at EUR summary.
Failing test now passes.
2011-01-19 16:34:12 +08:00
Worros
8f9552e778 GuiStove: Actually kinda make work for holdem 2011-01-19 16:04:22 +08:00
Worros
d5430b6bb5 Stove: Minor changes for GUI use 2011-01-19 16:02:19 +08:00
Worros
9c16365aac Regression: Add Stars EUR Tourney Summary 2011-01-19 11:55:06 +08:00
chaz@pokeit.co
ec477110cf fixed an import bug which prevented handsplayers and handsactions records from ever getting inserted 2011-01-18 03:53:35 -05:00
Worros
77f69881f0 THP: Add usage message 2011-01-18 14:31:13 +08:00
Worros
bba6d48c7d StarsSummary: Fix for EUR currencies 2011-01-18 11:12:39 +08:00
Worros
c212b4e7bc Merge branch 'master' of git://git.assembla.com/fpdb-eric 2011-01-17 15:10:10 +08:00
Worros
f647395b21 Regresion: FTP: Fix totalProfit value 2011-01-17 14:28:45 +08:00
Worros
a341570612 Regression: Fix .hands file for FTP 2011-01-17 14:28:08 +08:00
Eric Blade
939bb374a4 AP Freeroll tourney 2011-01-17 01:16:43 -05:00
Worros
0f48461c64 Regression: FTP: Fix winnings for Player5 2011-01-17 14:16:22 +08:00
Worros
66247216a5 FTP: Introduce Lim_Blinds lookup table for Big Bets 2011-01-17 14:11:43 +08:00
Mika Bostrom
8d78e11a4f Add support for specifying DB port
In case someone needs to connect to a DB engine in non-standard port,
defining the TCP port is required. This is a rare corner case which
should only arise when a given DB host runs multiple versions of the
same DB engine.

However, the support is relatively straightforward to implement and it
shouldn't conflict with any other options.
2011-01-16 10:43:36 +02:00
Worros
5ec9c41efb Hand: Refactor addBlind function
addBlind was separate for draw and flop games.

There should only be 2 lines difference between the functions, so merged them with appropriate changes.
2011-01-14 14:36:23 +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
97c4ce4d03 Revert "Grapher: Add 0th entry into winnings so graph starts at 0"
This reverts commit f4805746ae.
2011-01-13 18:50:20 +08:00
gimick
71dd221657 regresssion: FTP cleanup street-1 and street0 data in .hands 2011-01-13 18:07:11 +08:00
gimick
f9b39692af parser: stats > 100% tidy up DerivedStats, remove debug lines 2011-01-13 17:52:06 +08:00
gimick
e80f99e60c Parser: DerivedStats - work in progress - pushed for safe keeping 2011-01-13 17:51:51 +08:00
gimick
2ca4628a8c Parser: stats > 100% tweak to reduce TestHandsPlayers error count 2011-01-13 17:50:43 +08:00
gimick
52b40a7ee6 Parser: playersAtStreet and streetSeen mods to fix >100% stats (log66) 2011-01-13 17:50:28 +08:00
gimick
274d23e525 parser: stats > 100% tidy up DerivedStats, remove debug lines 2011-01-13 17:47:12 +08:00
gimick
6c31219d94 regression: FTP remove unused fields from .hands files 2011-01-13 16:50:59 +08:00
gimick
e126a7de9d regression: FTP streetXseen and wonWhenSeenStreetX test data 2011-01-13 16:50:38 +08:00
Worros
d8fc0ce4ed THP: Add ability to test Gametypes
Will now look for .gt files and compare.

Useful to test against limit blinds
2011-01-13 14:32:13 +08:00
Worros
2188bb7865 Hand.py: Add gametyperow variable
To be used for regression testing by THP
2011-01-13 14:28:51 +08:00
Worros
8dfc885a97 Regression: Correct .gt file.
sb, bb, SB, BB all incorrect for FTP limit game
2011-01-13 14:26:55 +08:00
Worros
ef4bc60ef0 Regression: Verify number of seats in .hands
Discovered test file with 8 players 'seated' but only 7 acting.
2011-01-13 13:50:19 +08:00
Worros
c2052fcd16 Remove test_Betfair.py.
File was barely used, and surpassed in functionality by THP
2011-01-13 12:21:45 +08:00
Worros
0c60cae5cf Regression: Add test data for FTP Triple draw file.
Hero.sitting.out.but.not.listed

Manually changed the .gt file (currently not test anyways)
2011-01-13 12:08:30 +08:00
Worros
96ceed9eed Regression: Add 2 Tripledraw hands with differing 'sit outs'
One hand shows the player listed as sitting out in the initial player stacks, the second shows the player as sitting in, but not acting. The summary section states the player was sitting out.
2011-01-13 11:41:54 +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
be83ab0713 Stars: Add 20/40 limit to table 2011-01-12 15:09:27 +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
927184a3f2 Regression: Add FTP crasher.
FTP hand that contains all the prelim information, but is actually a cancelled hand.

Crashes in readButton
2011-01-12 11:45:38 +08:00
Worros
0f40afe7a7 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2011-01-11 11:44:35 +08:00
gimick
ae7f983591 rushnotes: major update, show villain ranges in HUD + other tweaks 2011-01-08 23:39:14 +00:00
gimick
96275f9f1e rushnotes: more tweaks - add LF's and brackets for negative BB100 2011-01-08 23:38:57 +00:00
gimick
ba3883d0b7 rushnotes: tweaks + overcome "lf" bug in minidom + place HUD on multiline 2011-01-08 23:38:40 +00:00
gimick
afaaee1fcf rushnotes: fix typo, switch off debug mode 2011-01-08 23:38:15 +00:00
gimick
36e2ef3f35 rushnotes: initial commit (for testing and eval only) 2011-01-08 23:37:58 +00:00
Worros
503c00e1b0 Remove unused minPrint option 2011-01-07 16:08:31 +08:00
Worros
f12bc7bfaa Add printdata capability for Gametype info. 2011-01-07 13:58:15 +08:00
chaz@pokeit.co
6a7f175a60 Patched a small bug in storeSessionsCache() 2011-01-05 17:51:31 -05:00
Worros
b1703a95ec Regression: Stars wonWhenSeenStreetX test file fixes.
Adds 3 THP failures - Total 76
2011-01-05 15:55:17 +08:00
Worros
a9a1be2e09 Regression: Stars streetXseen and wonWhenSeenStreetX test data
Verified the file and fixed the values. Adds 9 THP failures.

Total 73
2011-01-05 15:42:34 +08:00
Worros
a5de1d6c61 Regression: Stars Cap streetXseen and wonWhenSeenStreetX values
Adds 9 new failures to THP - Total 64
2011-01-05 15:21:03 +08:00
Worros
b0faf02d28 Regression: Add FTP Rush rebuy MTT summary file 2011-01-05 14:52:35 +08:00
Worros
9330088e6a Regression: Add failing 'Daily Euro' Summary file 2011-01-05 14:33:44 +08:00
Worros
7f9f4c80cb Regression: Add FTP 'Daily Dollary' summary file 2011-01-05 14:27:44 +08:00
Worros
c2e553751e FTPSummary: Fix 'Daily Dollar' summary file
Also comment out some noisy debug
2011-01-05 14:26:49 +08:00
Worros
1dffbbc81a Win2day: Fix addBlind string for SBBB 2011-01-05 11:29:46 +08:00
Worros
0075d00020 Regression: Everleaf streetXseen and wonWhenSeenStreetX fixes
Verify and correct 3way aipf hand

Adds 12 new errors for Everleaf - Total 55
2011-01-04 14:48:18 +08:00
Worros
0ec976bc78 Regression: OnGame streetXseen and wonWhenSeenStreetX fixes
Verify and correct OnGame all-in pre/flop hand with Hero win.

Adds 9 new errors to THP - Total 43
2011-01-04 13:53:18 +08:00
Worros
de01acade9 Regression: Carbon streetXseen .hp values
Verify that both Player3 and Player8 saw the river (all-in on turn)

Increases THP count by 2 - Total 34
2011-01-04 13:17:57 +08:00
Worros
071a3715de Regression: Winamax PLO
Verify and correct Winamax all-in pre PLO hand with sidepots.

Adjusts street2/3seen and wonWhenSeenStreet2/3 in the .hp file.

This increases the number of errors in THP from 22 to 32
2011-01-04 12:57:08 +08:00
chaz@pokeit.co
38e6e15a26 Modified import_file_dict() so that it stores HandsPlayers and HandsActions inserts in a temprorary list. Once the end of the handlist is reached, an executemany() bulk insert is done. 2011-01-01 15:40:06 -05:00
chaz@pokeit.co
990e226254 storeSessionsCache() now adds a sessionId to the Hands table 2011-01-01 03:35:14 -05:00
chaz@pokeit.co
838c626bba Changed the HandsActions table join index from 'handsPlayersId' to 'handId' and 'playerId'. This allows us to use executemany(), which is faster, in storeHandsPlayers when storing actions. 2010-12-31 15:30:29 -05:00
Worros
65825a33b9 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-12-30 15:52:06 +08:00
Eratosthenes
eba9f6d28e Merge /home/reb402/workspace/free_poker_tools 2010-12-28 23:45:13 -05:00
Eratosthenes
7abcca345f Fix table finding for PokerStars.it tournaments. Still needs work. 2010-12-28 23:43:15 -05:00
Steffen Schaumburg
b80e11e269 add "plus git" to version string 2010-12-28 17:37:47 +01:00
Steffen Schaumburg
78874cdc01 Merge branch 'ferki' 2010-12-28 17:18:18 +01:00
Erki Ferenc
e859259db8 l10n: updated Hungarian translation 2010-12-28 17:16:23 +01:00
Steffen Schaumburg
55f5d7e02c change version string to 0.21_rc2 2010-12-28 17:16:01 +01:00
Steffen Schaumburg
aba82aded1 another l10n update 2010-12-28 16:54:42 +01:00
Steffen Schaumburg
72aae904b5 minor l10n 2010-12-28 16:35:09 +01:00
Steffen Schaumburg
8441c8c672 update l10n 2010-12-28 16:25:52 +01:00
Steffen Schaumburg
f9d2cecfe9 Merge branch 'ferki'
Conflicts:
	pyfpdb/locale/fpdb-hu_HU.po
2010-12-28 16:25:06 +01:00
Erki Ferenc
816e8cb30c Merge branch 'master' of git://git.assembla.com/fpdb 2010-12-28 16:19:00 +01:00
Steffen Schaumburg
acc214fdaa cola missed some of the l10n update *grr* 2010-12-28 16:13:48 +01:00
Steffen Schaumburg
9efd2dc6a2 note that stove is preview
update l10n
2010-12-28 16:12:52 +01:00
Steffen Schaumburg
b1f524ce44 note that hand replayer isnt working yet in the GUI 2010-12-28 16:11:46 +01:00
Erki Ferenc
dc669c421d l10n: updated Hungarian translation 2010-12-28 16:11:09 +01:00
Steffen Schaumburg
b3b17feb71 fix guistove warning string 2010-12-28 16:00:16 +01:00
Steffen Schaumburg
b861b7e8e9 update l10n 2010-12-28 15:34:08 +01:00
gimick
95b496e9f4 GUI: another w$sd description change 2010-12-28 13:35:24 +00:00
gimick
0acaa8cb6d GUI: RingPlayerStats correct the description of w$sd 2010-12-28 03:20:49 +00:00
Steffen Schaumburg
eb55e261ef Merge branch 'carl' 2010-12-27 20:08:06 +01:00
Steffen Schaumburg
1a7df330fe add some testfiles 2010-12-27 20:07:52 +01:00
Worros
4285237a48 Merge branch 'master' of git://git.assembla.com/fpdb 2010-12-27 19:36:59 +08:00
Worros
0e33f0f29b FTPSummary: Expand regex to deal with rebuy info
New fields:
ADDON - cost of addon
REBUYAMT - cost of rebuy
PNAME - Hero name
PREBUYS - No of Hero rebuys
ADDONCHIPS - How many chips the addon purchased
REBUYCHIPS - How many chips a rebuy purchased
ADDONS - Total # of tourney addons
REBUYS - Total # of tourney rebuys
2010-12-27 19:24:54 +08:00
Worros
3fdab4a8c3 FTPSummary: Minor regex change for failing summary file 2010-12-27 18:28:00 +08:00
Worros
bf18295eb7 HHC: Add timezone reference for CCT
Made it the same as Perth for the moment.
2010-12-27 17:51:15 +08:00
gimick
3437f99db7 HUD: First hand in database missing from HUD stats 2010-12-26 21:42:16 +00:00
Steffen Schaumburg
dc28c31e02 Revert "Database: Disable alchemy pools" as that breaks the HUD (on PS at least)
This reverts commit 797c126318.
2010-12-26 19:16:38 +01:00
Steffen Schaumburg
eaaa6feb78 make it repopulate config.sites after recreate 2010-12-26 17:55:41 +01:00
Steffen Schaumburg
93383d1006 Merge branch 'ferki' 2010-12-26 13:51:43 +01:00
Steffen Schaumburg
563efc0335 better fix for prevention of the crasher 2010-12-25 20:54:25 +01:00
Steffen Schaumburg
683d89389b Revert "prevent crasher when connecting to empty mysql (presumably this bug also applied to postgres)"
This reverts commit 2813bb7fe6.
2010-12-25 20:51:44 +01:00
Steffen Schaumburg
2813bb7fe6 prevent crasher when connecting to empty mysql (presumably this bug also applied to postgres) 2010-12-25 20:38:18 +01:00
Worros
54264bb263 Replayer: Refactor player code into its own class 2010-12-23 15:26:28 +08:00
Worros
18ccea9a67 fpdb_import: Correct mainline print 2010-12-23 14:18:27 +08:00
Worros
fc836ea902 Replayer: Move table hash creation into a class
Add several other classes too
2010-12-23 12:40:22 +08:00
Worros
cb037e7132 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-12-23 10:49:32 +08:00
gimick
e3f0e971e6 GuiRingPlayerStats: Fix > 100% CB stat, and clarify helptext for CB 2010-12-22 15:07:58 +00:00
Worros
da31ed2e5b Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-12-22 13:29:06 +08:00
Worros
6487691b69 Hand: Add pot calculations to select() 2010-12-22 13:26:41 +08:00
Worros
2382152cb8 Hand: select() update - Fix holecards for holdem 2010-12-22 13:20:43 +08:00
Worros
d94f7a68a2 Hand: Fix for stack print in writeHand 2010-12-22 13:08:41 +08:00
Worros
9cff165c3c Hand: select() updates
Fix SQL for seat order

Fix startTime formating

Add lots of commented out debug
2010-12-22 13:04:20 +08:00
Worros
f31d0cbfc8 Replayer: Switch over to Hand.select() 2010-12-22 13:03:45 +08:00
Worros
10fc52e96f Hand: First pass at select() for Hand 2010-12-22 12:13:58 +08:00
Worros
797c126318 Database: Disable alchemy pools
Want to use DBAPIs connection.row_factory so we can select() directly into a dict
2010-12-22 11:26:58 +08:00
chaz@pokeit.co
6d3e21756d * Commented out BB won in sessionsCache for the time being. Will add it back in once I resolve the errors. 2010-12-20 07:02:00 -05:00
Worros
8339ad1da6 Winamax: Reduce size of tourney hids
The max size of a MySQL unsigned bigint is 9223372036854775808

Winamax hand.handid was a lot larger than that.

Reduce the size if the nummber is 19 digits long.
2010-12-20 15:57:15 +08:00
Worros
b39637866c Database: Fix MySQL crasher
Tablename with an odd .fr character caused the insert in Hands to fail

Resolves: http://sourceforge.net/apps/mantisbt/fpdb/view.php?id=60
2010-12-20 15:21:43 +08:00
Worros
e705188dd2 HUD_Config.text.xml: Add MySQL option 2010-12-20 14:32:32 +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
0b02b05f67 HHC, Party: Move clearMoneyString into HHC
Make clearMoneyString available to all parsers and fix all calls within Party
2010-12-20 14:00:09 +08:00
Worros
d6dc0c535a Merge branch 'master' of git://git.assembla.com/fpdb-eric 2010-12-20 13:20:29 +08:00
Worros
238631aec7 Merge branch 'master' of git://git.assembla.com/fpdb 2010-12-20 13:20:01 +08:00
Worros
d858d10087 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-12-20 13:19:47 +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
02b3928581 Fix .hands file: s/<UTC>/pytz.utc/ 2010-12-20 12:40:45 +08:00
Worros
69a67f5c83 FTP: Make apostrophe a valid tablename character 2010-12-20 12:29:20 +08:00
Worros
31b068c3dc Regression: FTP Table with "'" in Table name 2010-12-20 12:09:40 +08:00
Erki Ferenc
bfe3325c9a Merge branch 'master' of git://git.assembla.com/fpdb 2010-12-19 22:15:01 +01:00
Steffen Schaumburg
e588a4606c Merge branch 'carl' 2010-12-19 20:13:29 +01:00
Worros
d4df513ce0 OnGame: Finish rest of OnGame EUR parsing 2010-12-19 16:30:11 +08:00
Steffen Schaumburg
7b10353682 Ongame: manually revert the regex change I made 2010-12-19 08:59:10 +01:00
Steffen Schaumburg
60b9b26651 Merge branch 'carl' 2010-12-19 08:53:03 +01:00
Worros
62e9e61fac OnGame: Fix crasher in OnGame EUR parsing 2010-12-19 15:38:26 +08:00
Steffen Schaumburg
573a2fad88 make ongame work with EUR 2010-12-19 04:29:00 +01:00
Steffen Schaumburg
2eb51d0607 change line ending on IdentifySite to unix and make it executable 2010-12-19 04:10:08 +01:00
Steffen Schaumburg
b3baea5a08 Merge branch 'nuto' 2010-12-18 21:39:02 +01:00
Steffen Schaumburg
73c9f1fc97 Merge branch 'master' of git://git.assembla.com/free_poker_tools into nuto 2010-12-18 21:35:13 +01:00
Steffen Schaumburg
b1d0943c91 Merge branch 'nuto' 2010-12-18 21:28:38 +01:00
Steffen Schaumburg
0205be410c Merge branch 'carl' 2010-12-18 21:28:10 +01:00
Steffen Schaumburg
86150294ec some gettextifications 2010-12-18 21:28:01 +01:00
Eric Blade
dd95c8626f license change 2010-12-18 14:58:43 -05:00
Steffen Schaumburg
51ff6d0bb0 another trivial cosmetic change to guireplayer 2010-12-18 20:33:22 +01:00
Steffen Schaumburg
185aa5af3e tiny cosmetic change to prints 2010-12-18 20:32:24 +01:00
Eratosthenes
c960a426ae Merge /home/reb402/workspace/free_poker_tools 2010-12-18 10:44:04 -05:00
Eratosthenes
d8cf53a2bd Don't fail on windows that don't have names. 2010-12-18 10:43:56 -05:00
Eratosthenes
530e479966 Merge /home/reb402/workspace/free_poker_tools 2010-12-18 10:04:50 -05:00
Eratosthenes
3b6867df29 Another try at sussing the Quartz bindings. 2010-12-18 10:04:34 -05:00
Worros
ba2b0e59d9 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-12-18 12:33:09 +08:00
Eratosthenes
2027c9b89f Maked executable. 2010-12-17 22:44:40 -05:00
Eratosthenes
9c8858fe0f Merge /home/reb402/workspace/free_poker_tools 2010-12-17 22:43:53 -05:00
Eratosthenes
16da7ceda7 Update to work with OSXTables changes. 2010-12-17 22:43:41 -05:00
Eratosthenes
efc2db9fca Make HUD_main.pyw executable. 2010-12-17 22:35:03 -05:00
Eratosthenes
9c73c0b791 New module for poker client window finding on OSX. 2010-12-17 22:33:55 -05:00
Eratosthenes
6696cab13c Use sys.platform to detect OS instead of os.system. 2010-12-17 22:16:19 -05:00
Eratosthenes
15eb78c0c8 Fix bug with translated text. 2010-12-17 22:14:56 -05:00
Steffen Schaumburg
3157cf3c15 correct comment 2010-12-17 19:18:52 +01:00
Steffen Schaumburg
43911a49e8 split warning into several strings for easier translation 2010-12-17 19:16:11 +01:00
Steffen Schaumburg
147a40bff9 gettextify warning 2010-12-17 19:13:33 +01:00
Steffen Schaumburg
9413e74e0c add +git to version string again 2010-12-17 19:09:28 +01:00
Worros
70c3480105 Hand: Start select() method
Can currently add the players in the hand. Still a long way to go, but a good start
2010-12-17 19:03:50 +08:00
Worros
20c5ecee82 Replayer: Add start of relacement importhand function 2010-12-17 19:02:01 +08:00
Worros
06978fb77b SQL: Add get_gameinfo_from_hid 2010-12-17 18:59:01 +08:00
Worros
caab83e6b6 Replayer: Add command line parsing for filename and site 2010-12-17 16:50:32 +08:00
Worros
fd28ad3987 Replayer: Add option to run from cli 2010-12-17 15:56:15 +08:00
Worros
2579f658e9 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-12-17 11:45:38 +08:00
Worros
e0987e67a6 Stars: Add new blind levels to lookup 2010-12-17 11:24:07 +08:00
Eratosthenes
1e28fd326d Merge /home/reb402/workspace/free_poker_tools 2010-12-15 13:02:29 -05:00
Eratosthenes
5e2d64744b See if I can quash HUD freeze bug. No resize, autofold. 2010-12-15 12:59:07 -05:00
Worros
c333bb7689 SessionViewer: A few updates
- Added a 0th hand to the start of the winnings array
- Miscalculating number of hands again

High/Low watermark values appear to be much more accurate, as do max/min values for the session.
2010-12-15 16:51:59 +08:00
Worros
f4805746ae Grapher: Add 0th entry into winnings so graph starts at 0 2010-12-15 15:05:41 +08:00
Worros
ec62b1911d SessionViewer: Fix total profit for single session
Bound to be lots more bugs, but the total profit for a single session is now being calculated correctly.
2010-12-15 14:27:50 +08:00
Worros
acf5e4a677 THP: Make THP use new Options.site_aliases function 2010-12-15 12:50:23 +08:00
Worros
e5b514cb55 Options: Modify site_alias so it returns False on failure 2010-12-15 12:49:52 +08:00
Worros
46dd6524ec Options: Add site_alias function
Function returns the FPDB name for a given site. Should make command line options a bit simpler
2010-12-15 12:44:12 +08:00
Worros
7269926d7b Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-12-14 12:58:29 +08:00
Worros
7165ea8d29 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-12-14 12:56:29 +08:00
Eratosthenes
f58af28779 Make executables executable. 2010-12-13 13:48:24 -05:00
Eratosthenes
6d8f1ca4f9 New window from id routine. 2010-12-13 13:45:04 -05:00
gimick
c6fbca1e37 pokereval: remove windows pypokereval files - these files now installed in site-packages 2010-12-12 19:48:10 +00:00
Eratosthenes
669fb58471 Make windows more nearly happy - adapt change from Eric. 2010-12-11 10:42:04 -05:00
Worros
aeaf64e469 Merge branch 'master' of git://git.assembla.com/free_poker_tools
Conflicts:
	pyfpdb/TableWindow.py
2010-12-11 09:16:37 +08:00
Eratosthenes
f023527595 Make HUD_main executable (again). 2010-12-10 19:35:43 -05:00
Eratosthenes
f0a5864bf4 Fix autoclose on tourney table change. 2010-12-10 13:41:04 -05:00
Worros
e113f56ac1 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2010-12-11 01:56:53 +08:00
Worros
df7bfedd89 Regression: add PLO .hands file
Appears I forgot to add this previously
2010-12-11 01:45:23 +08:00
Worros
caa2104fa9 Fix for FTP Razz crasher
When a player is listed as playing the hand and sits out between the listing and ante-up join_holecards returned only 2 cards causing Card.encodeRazzStartHand() to crash.

Make sure that join_holecards must return at least 3 cards for stud, and add an entry for this case in the lookup table
2010-12-11 01:26:56 +08:00
Worros
5a5ab451d1 Regression: Fix datetime format for eval() call 2010-12-11 01:19:49 +08:00
Worros
c47fc8b8c0 Regression: FTP Razz crasher
Player6 is listed as playing the hand and sits out between the listing and ante-up

Crashes in encodeRazzStartHand
2010-12-11 01:17:15 +08:00
Worros
ee0ed080ed DerivedStats: Remove erroneous comment 2010-12-11 00:34:27 +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
d922984b91 THP: Add support for Hands table
Will search for <filename>.hands in the same manner as it does for .hp files
2010-12-10 23:59:27 +08:00
Worros
702bbb4c71 Regression: Change validated date - July is the 7th month, not 6th 2010-12-10 23:57:28 +08:00
Worros
e26e219327 Regression: Change validated ET time as date during DLS 2010-12-10 23:56:04 +08:00
Worros
2d5580b7e6 Regression: Change validated CET time, as date is during DLS 2010-12-10 23:53:51 +08:00
Worros
f9ee1510b1 Regression: FTP Razz file, with .hp and .hands
We didn't have an FTP Razz file in the Regression test suite.

This is the new date format from FTP, like Stars contains both local and ET time
2010-12-10 22:59:26 +08:00
Worros
b966be8ec3 Regression: .hands file for FTP EUR file
By default EUR sites (.fr?) use CET in the HH file
2010-12-10 22:46:49 +08:00
Worros
7dd8b9de16 Rename gameTypeId to gametypeId
Go through and change all references to gameTypeId to gametypeId to make it consistent.

The database field is named with the lowercase version, and MySQL is case sensitive.

This may have been causing minor issues in multiple areas when attempting to join on gametype.
2010-12-10 22:31:12 +08:00
Worros
b543d08d80 Regression: .hands file for FTP with with funky date 2010-12-10 22:27:44 +08:00
Worros
02204edc48 Give storeHands the ability to output test data
Will allow for regression testing of hand start time
2010-12-10 21:35:49 +08:00
Worros
8fa38a26cc GuiStove: Temporary commit - add 'changed' hooks
They dont actually do anything yet.
2010-12-10 20:02:24 +08:00
Worros
267bf93fa5 Database: Comment out unused 'printdata'
Writing documentation for THP at the moment, and HandsActions data doesn't curently having any tests.

Comment out to simplify documentation for the moment.
2010-12-10 18:59:52 +08:00
Worros
9a956e41b6 THP: Allow a single site to be specified on the cli
The normal mode for running THP is to run though all the tests for all sites:

./TestHandsPlayers.py

This is a bit noisy and slow when trying to fix issues in a single parser.

Added '-s' so that you can run the regression tests against a single site

eg.
./TestHandsPlayers.py -s "Full Tilt Poker"
./TestHandsPlayers.py -s PokerStars
./TestHandsPlayers.py -s Winamax
2010-12-10 18:21:21 +08:00
Worros
3db9cfa6a7 Options: Add -s --sitename option 2010-12-10 18:20:52 +08:00
Worros
bc59e12768 Everleaf: Make re_GameInfo error handling consistant with other sites.
When re_GameInfo fails to match now, the first 100 characters of the hand will be printed to the log. Makes it much easier to identify the offending hands.

Error now also throws an FpdbParseError for the importing process to catch
2010-12-10 17:53:59 +08:00
Worros
7721468c92 Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-12-10 02:33:14 +08:00
chaz@pokeit.co
95d14911f3 Fixed a variety of bugs in storeSessionsCache() and the corresponding SQL statements 2010-12-08 16:32:26 -05:00
Eratosthenes
a4dff38c9f Ensure table.key is always temp_key calculated in HUD_main. 2010-12-07 10:24:06 -05:00
Eratosthenes
3fbaa0b0fb Don't try to close HUD mw twice. 2010-12-07 10:20:20 -05:00
Eric Blade
aef3186cfb remove commented log that ray removed 2010-12-06 18:04:54 -05:00
Worros
cfab629779 Regression: New Stars LHE file
Adds a file with a hand where the big blind is also the button
2010-12-06 14:16:59 +08:00
Worros
9235d12d59 Stars: Fix issue where player collected pot
As both big blind and the button - something i wasn't sure was possible
2010-12-06 13:45:58 +08:00
Worros
51011380ba Stove: Start gettextification 2010-12-06 12:51:53 +08:00
Worros
96b55a5bff Stars: Fix regression.
New test file regression-test-files/cash/Stars/Flop/LHE-10max-USD-1.00-2.00-No_max_seats.txt crashed Stars.

Put guard to make sure MAX has a value
2010-12-06 12:48:25 +08:00
Worros
352c40baab Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz
Conflicts:
	pyfpdb/regression-test-files/cash/Stars/Flop/LHE-10max-USD-1.00-2.00-No_max_seats.txt
2010-12-06 11:51:16 +08:00
Worros
5fb23b3938 Move getSqlPlayerIDs next to the other version of the function 2010-12-06 11:49:28 +08:00
Worros
704bf06e19 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-12-06 11:45:26 +08:00
Worros
bc5cf4c92a Remove tracked .gitignore fix HUD_main permissions 2010-12-06 11:43:09 +08:00
Worros
b465a592de Move regression test file from old folder 2010-12-06 11:41:59 +08:00
chaz@pokeit.co
b37ebb9f4f Made the same 'Hero' changes for tour and summary files. Also made cacheSessions default in the test Config file 2010-12-05 18:24:45 -05:00
chaz@pokeit.co
1a1f9b504b Replaced 'YOUR SCREEN NAME HERE' with Hero in the test file 2010-12-05 17:30:56 -05:00
chaz@pokeit.co
a504fc211c Replaced all of the Hero names in the regression files with 'Hero' 2010-12-05 17:28:31 -05:00
Eric Blade
515557d45e fix merge error 2010-12-05 16:48:12 -05:00
Eric Blade
301348eb5e Merge branch 'master' of git://git.assembla.com/free_poker_tools.git
Conflicts:
	pyfpdb/HUD_main.pyw
2010-12-05 16:39:13 -05:00
Eratosthenes
78fdb37f38 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-12-05 12:53:28 -05:00
Eratosthenes
b80ff5c7f8 Merge branch 'master' of git://git.assembla.com/fpdb 2010-12-05 12:53:19 -05:00
Eratosthenes
f329d85ca7 Fixed table dectection on Ubuntu/KDE. 2010-12-05 12:52:02 -05:00
gimick
46022509de pypokereval: fixes to allow py2exe to compile. Also, place win32 dependencies
in pyfpdb (pyfpdb files can be deleted when there is a site-package on win)

This commit allows fpdb+pypokereval to work on win32 machines without having
 to manually install pypokereval files
2010-12-05 16:59:32 +00:00
Eric Blade
22cf70358f Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-12-05 01:19:18 -05:00
chaz@pokeit.co
50ac251f9a DB version 147 2010-12-05 00:53:38 -05:00
chaz@pokeit.co
6ea5432c2e Added a placeholder for rebuild_sessionscache() 2010-12-04 21:04:43 -05:00
chaz@pokeit.co
dd707fb0cb Updated the comments 2010-12-04 21:02:21 -05:00
Chaz
0c46965d98 Finished up code for creating and updating SessionsCache. Table includes fields for sessionStart, sessionEnd, ring hands, tournament hands, ring totalProfit, and ring bigBets won during each session. bigBets field is a python float stored as a REAL in the database (I am open to alternative suggestions). Also, storeSessions is currently set to False. 2010-12-04 17:40:48 -05:00
Chaz
c2cda3bf87 Added sessionTimeout Import field to Configuration.py and the Hud_config files. Default set to 30 minutes to start a new session 2010-12-04 17:33:57 -05:00
Eratosthenes
6bfb7df105 Fix file permissions. 2010-12-04 15:31:34 -05:00
Eratosthenes
d47d33587f Fix problem with multiple huds in tourneys at some sites. 2010-12-04 15:29:23 -05:00
Eratosthenes
dd542db59d Update Tables_Demo. Found/fixed bug in XTables. 2010-12-04 11:22:02 -05:00
Worros
c61598b7aa fpdb: Add menu calls for Replayer 2010-12-04 19:10:47 +08:00
Worros
96bf985697 GuiReplayer: Added by lastpoet <maxime@grandchamp.net>
1st Draft to get it in for comments
2010-12-04 18:27:03 +08:00
lastpoet
b4c2614f25 remove irrelevant comments from tooltips 2010-12-04 17:45:39 +08:00
Eric Blade
021fc50236 Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-12-03 16:32:30 -05:00
Eric Blade
8855530617 Merge branch 'master' of git://git.assembla.com/fpdboz.git
Conflicts:
	pyfpdb/Database.py
	pyfpdb/TableWindow.py
2010-12-03 16:14:10 -05:00
Worros
e032b32ea7 Regression: Repair (?) Party hh that seemed to be missing 2 lines 2010-12-04 03:47:23 +08:00
Worros
a4e708507f Stars: More useful exception message of currency match fails 2010-12-04 03:43:06 +08:00
Eratosthenes
94bdc43deb Tables_Demo to work with new Tables stuff. Find Tour tables better. 2010-12-03 11:51:18 -05:00
Worros
8d8f604d12 Party: Make Party Stud H/L partially recognised 2010-12-03 18:13:07 +08:00
Worros
89990628af Regression: Add NLHE Party.fr hand sample 2010-12-03 15:38:41 +08:00
Worros
1e749d3cf3 Tourney Player Viewer fix for Bugid 0000050
SQL case statements only divided by 100 if the currency was USD.

This is a temporary fix - what we probably want is WHEN tt.currency != PLAY or FPP
2010-12-03 12:34:58 +08:00
Worros
9b629a467a Stove: Rename range to h_range
range is a resvered word in Python.
2010-12-03 11:46:15 +08:00
Worros
b83242622a Stove: Fix card expansion, move a function or two 2010-12-03 11:14:51 +08:00
Eratosthenes
6f6d27d1fd Merge /home/reb402/workspace/free_poker_tools 2010-12-02 18:04:30 -05:00
Eratosthenes
8942778f8c Some cleanup. Minor refactor. Prep for some changes. 2010-12-02 18:04:13 -05:00
Worros
634d102325 Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-12-03 00:25:44 +08:00
Worros
a79dbd8f1b Party: First pass at Party.fr support
The USD regression test files show no change in parse problems - 3 files still fail
2010-12-02 17:40:24 +08:00
Chaz
925db93157 * Added 'cacheSessions' flag
* Added a cacheSessions update call to import_file_dict() in fpdb_import.py
* Added updateSessionsCache() method to Hands
* Added storeSessionsCache() to Database --- WORK IN PROGRESS and set to pass
TO DOs
- add sessions queries to SQL
- complete storeSessionsCache() so it works like we've discussed (save for adding sessionId to HP)
- add SessionsCache keys
- add SessionsCache to the default table creation and deletion methods in Database.py
- update storeSessionsCache() and all the relevant db & sql code so it writes a sessionId to HP
2010-12-02 01:58:02 -05:00
Chaz
a7f3b1326f Added some logic so the importer won't try to send hands to HUD when HudCache is generated from the command line 2010-12-02 00:40:31 -05:00
Chaz
cbd6aa242e Added the 'cacheSessions' config option 2010-12-02 00:35:18 -05:00
Chaz
5a2fcea9df turns out the the '+0' is for indexing and has nothing to do with NULLS so I put it back in 2010-12-02 00:27:03 -05:00
Worros
d48cf03aab Party: Remove reencoding to latin-1
This crashes the UTF files from Party.fr - removing
2010-12-02 13:23:10 +08:00
Worros
956182079f Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-12-02 11:35:47 +08:00
Worros
d2355c3ae8 FTPSummary: Add alternate Omaha label
Patch originally posted by patrask on IRC

http://hh.kallocain.se/FullTiltPokerSummary.py.patch
2010-12-02 11:27:06 +08:00
Chaz
5fd3dddf2b * update_hudcache wasn't updating existing cashgame records because it was trying to match a NULL tourneyTypeId with a %s None value. Changed the logic of the SQL to handle this situation. It appeared like someone had tried to handle this by adding '+0' to the NULL record but it doesn't work.
* Deleted the attempted '+0' NULL value handling for gametypeId. gametypeId should never be null as an error would have already been thrown before it was inserted
2010-12-01 16:35:38 -05:00
Chaz
68b92b5130 Incremented the db version up to 146 and fixed 1 bug 2010-12-01 16:18:30 -05:00
Erki Ferenc
f94408c881 l10n: updated Hungarian translation 2010-12-01 19:54:53 +01:00
Eratosthenes
ccb3e9edfe Merge /home/reb402/workspace/free_poker_tools 2010-12-01 01:55:03 -05:00
Eratosthenes
a80f18e2b1 Resize HUD when client is resized. Clean up idle functions. 2010-12-01 01:54:42 -05:00
Eratosthenes
62ea67aac5 Fix permissions on HUD_main.pyw, again. 2010-11-30 23:26:35 -05:00
Eratosthenes
fa32ed8c46 Fix problem with multiple tables from same tournament. 2010-11-30 18:33:44 -05:00
Chaz
e0f76a508c reverted HudCache styleKey to include only YYMMDD - however, it now stores the d000000 date based off the tz & offset 2010-11-30 14:05:28 -05:00
Eratosthenes
0d79fe8f09 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-11-30 12:14:58 -05:00
Eratosthenes
d8f36ba777 Add cheat sheet info. 2010-11-30 11:14:37 -05:00
Worros
07fc254cdb Stove: Remove unnecessary returns 2010-11-30 15:36:35 +08:00
Worros
775b19e7d5 Stove: shift content of parse_args into Stove object
Quick test - still functions correctly on the command line
2010-11-30 15:33:13 +08:00
Worros
e1b1d06ec7 Stove: Rename Holder to Stove
Remove some debug code, and structure cli interface in the same way as other fpdb modules
2010-11-30 15:16:01 +08:00
Worros
404cccb1d9 GuiStove: Add Stud and Draw tabs 2010-11-30 15:13:08 +08:00
Eratosthenes
3f2e1dc0ee Fixed intermittent hanging in foreign_new method. 2010-11-30 01:26:41 -05:00
Steffen Schaumburg
35b5794813 update version in GUI 2010-11-29 22:22:03 +01:00
Chaz
c6802484cb Updated init_hud_stat_vars() so that it no longer requires Filters.py for the offset calculations 2010-11-29 15:20:05 -06:00
Steffen Schaumburg
44557f5666 update l10n 2010-11-29 21:42:00 +01:00
Worros
5232cf4866 Carbon: Fix regression test parse 2010-11-29 21:34:47 +01:00
Worros
cbdfaf62a7 Session Viewer: Add a warning dialog on loading 2010-11-29 21:34:21 +01:00
Eric Blade
2d0ea89b9a comment 2010-11-28 20:24:39 -05:00
Eric Blade
99535cddbb cleanups 2010-11-28 20:15:09 -05:00
Eric Blade
7b1143a6ff make "source" argument to interlocks.acquire mandatory 2010-11-28 20:04:32 -05:00
Eric Blade
e5782dd736 some cleanups and comments 2010-11-28 20:00:56 -05:00
Eric Blade
336fee0f3d oops 2010-11-27 20:36:42 -05:00
Eric Blade
7402c57eb1 --hidden --minimized 2010-11-27 20:35:34 -05:00
Eric Blade
e2b86eb239 Add --autoimport command argument 2010-11-27 19:32:28 -05:00
Eric Blade
f94ad0126a add --xloc and --yloc options for specifying where to start windows at 2010-11-27 19:16:15 -05:00
Eric Blade
2990e5856d Button changes immediately after pressing it instead of waiting until the pipe is ready.
Terminates HUD process rather than asking it to close
2010-11-27 18:34:30 -05:00
Eric Blade
e5f4f5710d read_stdin: return if fail to find table, rather than continue along, also trap KeyError at end of func when checking tournament tables.
(maybe this'll finally fix the hud locking up on table close sometimes?)
2010-11-26 23:13:14 -05:00
Eratosthenes
e30989a852 Fix odd intermittent problem with HUD not opening. 2010-11-26 22:10:51 -05:00
Eratosthenes
a8f12db7f7 Clean up unused imports. 2010-11-26 21:01:34 -05:00
Eratosthenes
cdd987483f Don't put HUD on UB replayer window. 2010-11-26 21:01:01 -05:00
Eric Blade
bfa3cfc20c check for AttributeError at new window_foreign_new call 2010-11-26 18:51:25 -05:00
Eric Blade
c40312b98b Merge branch 'master' of git://git.assembla.com/fpdb-eric 2010-11-26 18:17:39 -05:00
Eric Blade
622b350795 Revert "Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz"
This reverts commit 61ac6be0fa, reversing
changes made to 18df2ef2c6.

Conflicts:

	pyfpdb/SQL.py
2010-11-26 18:15:28 -05:00
Eric Blade
7c4d08833b add strptime to Database 2010-11-26 16:57:47 -05:00
Eric Blade
5e04f32519 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-11-26 09:14:25 -05:00
Worros
9098c3ba03 Regression: Party PLO tourney 2010-11-26 13:38:39 +08:00
Worros
31da6ff170 Winamax: Pull in tournament support from Forrest
Also add tournament directory to regression test file
2010-11-26 12:45:41 +08:00
Worros
122b47e183 Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-11-25 20:45:35 +08:00
Worros
b017fa298d Carbon: Fix regression test parse 2010-11-25 20:11:19 +08:00
Chaz
21ac5229cb Fixed styleKey char length to 9 2010-11-25 02:36:34 -06:00
Chaz
872ea008dd Updated database version to 145 2010-11-25 02:35:50 -06:00
Worros
61ac6be0fa Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-11-25 11:31:15 +08:00
Chaz
9137347acb Just fixed a few bugs 2010-11-24 15:20:48 -06:00
Chaz
9bb58ca779 Adds the worker id command line option 2010-11-24 15:16:09 -06:00
Chaz
ead567c5cc * Added encoding error handling and the ability to identify the worker responsible for splitting a particular file if several were launched via threading 2010-11-24 15:13:26 -06:00
Chaz
92c8e68914 It's actually an OSError, not an IOError 2010-11-24 14:53:53 -06:00
Chaz
43ec9498e8 Just renamed the new regression file 2010-11-24 14:51:13 -06:00
Chaz
b820cd4895 * Old Stars HHs don't display max seats. Added regression-test-file showing this and handling in the Stars HHC 2010-11-24 14:49:39 -06:00
Chaz
8026ba256a It's %H, not %h 2010-11-24 14:41:12 -06:00
Chaz
ee926ac9ca * Modified init_hud_stat_vars() so that it uses the timezone & day_start offset from Filters.py 2010-11-24 14:18:42 -06:00
Chaz
ac4cae5abf * Updated the methods, variables, and SQL in Database.py and SQL.py to add Hours to the HudCache.styleKey field 2010-11-24 14:14:29 -06:00
Forrest
18df2ef2c6 add a regression test file for winamax tourney 2010-11-24 14:06:43 +08:00
Worros
d3f07aae45 Stove: Mockup interface for a Stovelike EV calculator page 2010-11-24 11:30:13 +08:00
Eratosthenes
674fda6911 Merge branch 'master' of git://git.assembla.com/fpdb 2010-11-23 16:57:07 -05:00
Eratosthenes
9d89f9807e Make HUD_main.pyw executable, again. 2010-11-23 16:56:41 -05:00
Worros
aa31a4d67b Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-11-23 13:00:58 +08:00
Worros
ea72ce8201 Merge branch 'master' of git://git.assembla.com/fpdb 2010-11-23 13:00:44 +08:00
Worros
ac2937dc78 Session Viewer: Add a warning dialog on loading 2010-11-23 12:59:23 +08:00
Eratosthenes
2f72f5416e Handle tourney table changes and closures. 2010-11-22 16:37:37 -05:00
Worros
ba1b15048b fpdb.pyw: Fix comment 2010-11-22 13:28:25 +08:00
Steffen Schaumburg
da800b7abb restore HUD executable flag 2010-11-22 04:25:31 +01:00
Steffen Schaumburg
a45a7fafe9 Merge branch 'carl' 2010-11-20 09:06:25 +01:00
Steffen Schaumburg
e53e386346 add TODO to gettextify stove 2010-11-20 09:05:52 +01:00
Worros
ca86a2c643 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-11-19 08:34:39 +08:00
Worros
8368a002ff Regression: TS file for FTP - Hero losing 2010-11-19 08:11:25 +08:00
Eric Blade
742347c5c7 undo my last change as it breaks merge 4.x 2010-11-18 17:54:19 -05:00
Eric Blade
eafbc2b2b8 Merge branch 'master' of git://git.assembla.com/free_poker_tools.git 2010-11-18 17:45:51 -05:00
Eric Blade
990e3d2ed1 remove spurious ( ) from carbon/merge hh detection 2010-11-18 17:44:56 -05:00
Worros
bccadd2a4d Stove.py: Command line pokerstove like application.
Build on top of pypoker-eval, grabbed unchanged from Bostiks other OS project 'pokerstats'

http://bostik.iki.fi/pokerstats/
2010-11-18 13:09:38 +08:00
Eratosthenes
3670050abe Reenable following of dragged client window. 2010-11-17 23:36:59 -05:00
Eric Blade
fa3883e955 Merge branch 'master' of git://git.assembla.com/free_poker_tools.git 2010-11-16 20:06:48 -05:00
Eric Blade
db467b5957 Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-11-16 20:06:07 -05:00
Eric Blade
75633bb5fb Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-11-16 20:04:45 -05:00
Worros
a33a947dee Absolute: Fix more ',' breakage 2010-11-16 12:59:00 +08:00
Worros
55aa2df1de Stars: Fix AAMS portion of GameInfo regex.
Somewhere along the line I removed the ? making it optional.
2010-11-16 12:50:36 +08:00
Worros
41da3e6f65 Absolute: Deal with ','s in Action, Antes and Collect 2010-11-16 12:07:08 +08:00
Worros
147cc6c950 Absolute: Deal with ','s in blinds 2010-11-16 11:57:09 +08:00
Worros
d69c9dc33f TSI: Add FTP support 2010-11-15 14:24:31 +08:00
Worros
9c2c18f5ca TourneySummary: Add alternate lookup for FTP 2010-11-15 13:40:57 +08:00
Worros
bc55042ed4 Configs: Add FTP summary parsing defaults 2010-11-15 13:40:10 +08:00
Worros
f7f8122af8 GTI: Add utf16 file handling 2010-11-15 13:39:36 +08:00
Worros
a4885243de Stars: Fix re_GameInfo to parse AAMS section of .it hands
Only have the one example from a Tournament hand:

PokerStars Game #52486342403: Tournament #324732603, €0.82+€0.18 EUR Hold'em No Limit - Level I (10/20) [AAMS ID: L284A006CB1E33ZO] - 2010/11/10 20:59:53 CET [2010/11/10 14:59:53 ET]

Hopefully the same for cash games
2010-11-13 12:04:13 +08:00
Eratosthenes
bb4b61a3d9 Comment old windows only Table moving function. 2010-11-12 15:08:04 -05:00
Steffen Schaumburg
9468bde50b Merge branch 'nuto' 2010-11-12 20:40:29 +01:00
Eratosthenes
50b7fd31a0 Comment out table watching due to bug under windows. 2010-11-12 14:37:47 -05:00
Steffen Schaumburg
c794be1b12 Merge branch 'nuto' 2010-11-12 18:53:18 +01:00
Eratosthenes
c7ce6c3745 Doh! Make executable. 2010-11-12 11:03:30 -05:00
Eratosthenes
790e26ff1d Fix for UC table names on Windows. 2010-11-12 11:02:21 -05:00
Eratosthenes
215ec63080 Test xlib on X systems to diagnose HUD problems. 2010-11-12 09:08:18 -05:00
Worros
d895ab0d21 Regression: PartyPoker NLHE cash hand and .hp 2010-11-12 11:12:18 +08:00
Worros
2fa08aa263 Regression: NLHE Sample file for Win2day 2010-11-12 10:41:54 +08:00
Steffen Schaumburg
032e25788a Merge branch 'carl' 2010-11-11 19:51:05 +01:00
Steffen Schaumburg
43a32ebd8f Merge branch 'nuto' 2010-11-11 15:56:03 +01:00
Worros
61d5ffec4b Regression: Remove UB file with modified filename.
File was already copied over to the original UB format
2010-11-11 18:31:24 +08:00
Worros
ee65248ff1 THP: Add Win2day support 2010-11-11 18:31:10 +08:00
Worros
adf380f22b Regression: Win2day .hp file + rename 2010-11-11 18:25:54 +08:00
Worros
323b0856b6 PSS: Fix Stars summary import to deal with slightly modified format
Stars now includes the currency (ie. USD) on two lines
2010-11-11 18:25:06 +08:00
Worros
8faeb49de2 Regression: Win2day PLO Sample 2010-11-11 18:22:14 +08:00
Worros
1f3855c717 Regression: Stars local summary file format for tourneys 2010-11-11 17:58:18 +08:00
Eric Blade
967e1ff2c4 Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-11-11 04:27:49 -05:00
Worros
1b375af181 TSI: Add a couple of lines of text to mark output more clearly 2010-11-11 15:09:09 +08:00
Worros
17bd4f3954 GTI: Cleanup
Remove a series of debug messages

Add some code to remove heading or trailing characters after the split
2010-11-11 14:59:18 +08:00
Worros
e8155123b2 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-11-11 14:02:01 +08:00
Worros
8c3e3b5795 New test script: TestSummaryImport
Almost a direct copy of THP to assist in regression testing summary import formats
2010-11-11 13:59:26 +08:00
Eratosthenes
b9f77e1bdb Fix table match for Winamax. 2010-11-10 23:26:55 -05:00
Eratosthenes
2dcc39cdfc Merge branch 'master' of git://git.assembla.com/fpdboz 2010-11-10 18:11:20 -05:00
Worros
c922f9cd2f Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-11-11 00:29:07 +08:00
Worros
e218e0c5c9 Absolute: Fix another tourney file name variant 2010-11-11 00:28:29 +08:00
Eratosthenes
ee58199742 UB U/C table names now match normal case title bars. 2010-11-10 11:12:09 -05:00
Worros
7e1fa36b3a GTI: Add command line interface for Tourney Sumary import 2010-11-10 19:23:03 +08:00
Erki Ferenc
373436822e l10n: updated Hungarian translation 2010-11-10 10:26:55 +01:00
Worros
31843deafe Revert "calendar displays current entry value"
This reverts commit f78044e4c1.

Conflicts:

	pyfpdb/Filters.py
2010-11-10 16:36:58 +08:00
Worros
8da12d91a8 Regression: Stars NLHE HU SnG 2010-11-10 15:20:40 +08:00
Worros
e085d4759b Regression: Add Stars MTT summary file 2010-11-10 15:05:11 +08:00
Worros
891731706e Regression: actually delete renamed Absolute NLHE file 2010-11-10 13:52:48 +08:00
Worros
574f864734 Absolute: Partial fix for Freeroll tourney 2010-11-10 13:52:24 +08:00
Worros
bf38593127 Regression: Rename Aboslute HHs to standard original
Absolute HHC requires the filename
2010-11-10 13:46:45 +08:00
Worros
a4facf0c2a Filters: Fix date defaults when no hands inserted 2010-11-10 12:46:48 +08:00
Worros
1a96892ec4 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2010-11-10 11:56:57 +08:00
Worros
e1d4e8fc6d Merge branch 'master' of git://git.assembla.com/fpdb 2010-11-10 11:56:35 +08:00
Worros
07e6816744 HUD_example: add summaryImporter to Stars 2010-11-10 11:54:33 +08:00
Worros
7e97eeedc2 HUD_test: add Stars summaryImport to test config 2010-11-10 11:51:17 +08:00
Worros
c0b1b8b8a7 Config: Add summaryImporter element to hhc 2010-11-10 11:50:29 +08:00
Worros
281aaf7545 fpdb.pyw: Update menu to call tourney import 2010-11-10 11:49:49 +08:00
Steffen Schaumburg
b258ae6258 activate PS draw tourneys (tested FL, assume PL/NL work since they apparently do in cash games) 2010-11-09 23:18:44 +01:00
Steffen Schaumburg
1dd52fb885 rename tourney player stats to tourney stats 2010-11-09 22:42:40 +01:00
Worros
1c81df21ce GuiTourneyImport: First pass at a 'Bulk Importer' for Tourney Summaries 2010-11-09 20:29:13 +08:00
Worros
a39b4704e6 TourneySummary: Add ability to create a db object if passed None 2010-11-09 20:08:15 +08:00
Worros
9dea6cc8e3 TourneySummary: Remove unused function 2010-11-09 17:53:10 +08:00
Worros
4916d65e7b UltimateBet: Rename files
Turns out the parser requires some filename information
2010-11-09 15:29:46 +08:00
Worros
60c5571068 Absolute: Partial fix for tourneys 2010-11-09 14:03:55 +08:00
Worros
f0cb9cf5a4 Absolute: Update some error handling
Fix so log file and stdout both get a descriptive error message
2010-11-09 13:45:27 +08:00
Eric Blade
aa0de0344d finish fix for 4-max 2010-11-07 20:12:21 -05:00
Eric Blade
50246d04ea Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-11-07 20:09:39 -05:00
Eric Blade
02fdcf307e reset AP/UB horse games to 8 seat
support Everleaf 4-seat (need a layout, i can't get into the games)
2010-11-07 20:08:56 -05:00
Steffen Schaumburg
0972e62e76 i10n: update pot/po/mo files 2010-11-07 14:36:30 +01:00
Steffen Schaumburg
ae418add15 Merge branch 'carl' 2010-11-07 14:34:48 +01:00
Steffen Schaumburg
8b01daac83 add a comment into Abs that it supports UB 2010-11-07 14:34:35 +01:00
Worros
58b111b7ed UB: Remove parser - Absolute is able to parse these files 2010-11-07 20:55:57 +08:00
Worros
ed6d21dbbf THP: Add Absolute to list of files tested 2010-11-07 20:00:34 +08:00
Worros
8a797bd0e6 Regression: Absolute NLHE cash hh + .hp 2010-11-07 18:39:13 +08:00
Worros
f4ea9778b8 Regression: UB NLHE hand and .hp 2010-11-07 18:29:28 +08:00
Worros
1b32760760 Absolute: Remove spurious return 2010-11-07 18:16:04 +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
23799f25b1 HHC: Change log message from info to error 2010-11-07 16:44:17 +08:00
Worros
0a76ea545b Regression: FTP Limit 3 Draw sample 2010-11-07 16:27:28 +08:00
Worros
5b6997c097 Merge branch 'master' of git://github.com/grindi/fpdb-grindi 2010-11-07 15:24:02 +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
grindi
709534060c Absolute hhc: fixes 2010-11-06 01:48:29 +03:00
Worros
86ded8ed23 Regression: Stars CAP NL, with .hp stats for regression 2010-11-05 17:19:26 +08:00
Worros
0ddd05562d Regression: Add Stars NLHE HUSnG 2010-11-05 16:11:52 +08:00
Worros
450a963371 HUD_Main; Remove some whitespace and fix permissions 2010-11-04 20:07:17 +08:00
Worros
ec8cd9f785 Merge branch 'master' of git://github.com/grindi/fpdb-grindi 2010-11-04 20:06:02 +08:00
Worros
bcc97636a6 Stars: Fix CAP lines where the cap is reached 2010-11-04 19:59:16 +08:00
Worros
a07eb96d3c Merge branch 'master' of git://git.assembla.com/fpdb 2010-11-04 18:33:07 +08:00
Worros
b3f9ae253f Stars: Make parser ignore Cap limit
Header looks like:

PokerStars Game #52129212872:  Hold'em No Limit ($0.25/$0.50 - $10 Cap -  USD) - 2010/11/03 23:45:32 CET [2010/11/03 18:45:32 ET]
2010-11-04 18:31:14 +08:00
grindi
79bfc8587e Absolute hhc: fixes, cleanups, basic trny support 2010-11-04 12:57:39 +03:00
grindi
d09aa716f4 Merge branch 'master' of git://git.assembla.com/fpdb
Conflicts:
	pyfpdb/PartyPokerToFpdb.py
2010-11-03 19:57:06 +03:00
grindi
f5b52190ab Make Party hhc to regonize non-english hh 2010-11-03 19:54:03 +03:00
steffen123
ce7b61bbd5 Merge branch 'eric' 2010-10-30 11:56:48 +02:00
Worros
c79c4027c8 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2010-10-29 15:49:58 +08:00
Eric Blade
25eeca1e48 Everleaf support for 8-max 2010-10-28 19:52:33 -04:00
Worros
346d657e55 Winamax: Regression test file.
NLHE - All-in where biggest stack wins
2010-10-25 14:18:03 +08:00
steffen123
68f7ae1347 Merge branch 'carl' 2010-10-24 22:01:45 +02:00
steffen123
4cb59175f7 add missed _() 2010-10-24 22:01:40 +02:00
steffen123
cc5aaa14aa change to support py25 2010-10-24 21:40:04 +02:00
Worros
2d52b8d815 Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-10-14 12:37:10 +08:00
Worros
83b1a41c6e Regression: Verify and fix Stars.hp file after raisedFirstIn fix
denny501 was the bringin - so no opportunity
s0rrow was 'utg' and limped (bad s0rrow *smack*)
2010-10-13 18:25:18 +08:00
Worros
ccb116ceda DerivedStats: Fix raiseFirstInChance and raisedFirstIn for stud
The previous calculation didn't correctly deal with the 'complete' and 'bringin' actions, with bringin being markes as raisedFirstIn = True

Reduced regression test errors, but triggered some in unverified file.

---------------------
Total Errors: 22
---------------------
Likely offenders:
(  2) : regression-test-files/cash/Stars/Stud/7-StudHL-USD-0.04-0.08-200911.Cardtest.txt

(  2) : raiseFirstInChance
(  1) : street1CBChance
(  1) : street1CBDone
2010-10-13 18:15:14 +08:00
Worros
f244f8a37d DerivedStats: Merge Flop and stud position calculation
No regressions using test suite

---------------------
Total Errors: 29
---------------------
No position errors in stat listing
2010-10-13 18:05:41 +08:00
Worros
cfc2be559e DerivedStats: Remove incorrect comment from positional calc 2010-10-13 17:53:23 +08:00
Worros
a71f682803 DerivedStats: adjust street0VPI for stud
Add complete as one of the actions that count as VPIP
2010-10-13 17:47:00 +08:00
Chaz
0f9709390e Replaced -i infile with -f file in Options.py and replaced options.infile with options.filename in SplitHandHistory.py, Anonymise.py, and ImapFetcher.py 2010-10-13 02:23:41 -04:00
Chaz
b0cf6d3cb0 removed -f filename from Options.py and replaced its use in SplitHandHistory.py with -i infile 2010-10-13 02:18:36 -04:00
Worros
921249af43 Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-10-13 14:15:32 +08:00
lastpoet
6e00ba9d78 add date boundaries in filters 2010-10-13 14:08:48 +08:00
lastpoet
f78044e4c1 calendar displays current entry value
calendar inits from db if empty
2010-10-13 14:07:16 +08:00
Chaz
fa3f878c3a * Migrated commandline options to Options.py
* Added a EOF exception
* Fixed a few error handling issues
2010-10-13 01:51:57 -04:00
Chaz
f97c1da3b9 Migrated SplitHandHistory.py commandline options to Options.py 2010-10-13 01:48:35 -04:00
Chaz
b08081e419 Added a FpdbEndOfFile error for use in SplitHandHistory.py 2010-10-13 01:47:28 -04:00