Commit Graph

211 Commits

Author SHA1 Message Date
Steffen Schaumburg
8a519699b5 update copyright year 2011-03-10 06:16:31 +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
3d7f75c933 Merge branch 'master' of git://git.assembla.com/fpdb 2011-02-28 10:00:45 +08:00
atinm
644b2d7849 replaced /usr/bin/python with /usr/bin/env python 2011-02-27 21:17:07 +08:00
Eric Blade
393b51971a Merge branch 'master' of git://git.assembla.com/fpdb.git 2011-02-25 21:00:39 -05:00
Eric Blade
84dc935f1a Merge branch 'master' of git://git.assembla.com/fpdboz.git 2011-02-25 20:57:11 -05:00
Eric Blade
25734c1514 add error for missing pytz 2011-02-25 20:40:04 -05:00
Scott Wolchok
fc46b70c41 Rename decimal.py to decimal_wrapper.py so we don't break when
cdecimal is not installed.
2011-02-25 14:18:12 -05: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
65825a33b9 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-12-30 15:52:06 +08:00
Eratosthenes
7abcca345f Fix table finding for PokerStars.it tournaments. Still needs work. 2010-12-28 23:43:15 -05: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
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
Eratosthenes
94bdc43deb Tables_Demo to work with new Tables stuff. Find Tour tables better. 2010-12-03 11:51:18 -05:00
Worros
23799f25b1 HHC: Change log message from info to error 2010-11-07 16:44:17 +08:00
Worros
f4baaa42a7 HHC: Modify allHandsAsList() to remove trailing entry
Some HH formats leave dangling text after the split
ie. </game> (split) </session>EOL

Remove this dangler if less than 50 characters and warn in the log
2010-10-01 11:31:52 +08:00
Worros
dee17e8001 L10n: H->M updated 2010-09-23 14:10:30 +08:00
Eratosthenes
1dedbe2a45 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-09-22 21:57:22 -04:00
Worros
fbfaf0176c Import: First step to making FTP archive files parse
Change regex to be explicit about the number of '*'s

Pass the ftpArchive flag to HHC init
2010-09-17 10:58:47 +08:00
Eratosthenes
d176da93d4 Merge branch 'Xlib'
Conflicts:
	pyfpdb/TableWindow.py
	pyfpdb/Tables_Demo.py
	pyfpdb/WinTables.py
	pyfpdb/XTables.py
2010-09-10 23:01:21 -04:00
Worros
3759751fe4 HHC: Raise exception when game isn't supported. 2010-09-08 15:11:55 +08:00
Eratosthenes
9772129f30 Rewrite of XTables to use Xlib. Considerable cleanup in TableWindow. 2010-09-07 09:50:29 -04:00
sqlcoder
06b34e8648 clarify difference between site and filter to allow 2 sites from same network, prompt to add site to db if missing 2010-08-31 22:44:41 +01:00
steffen123
79c81ee997 fix HHC for PS/FT 2010-08-22 07:39:49 +02:00
sqlcoder
c8f25ad162 merge from steffen 2010-08-21 22:43:14 +01:00
sqlcoder
53b15898ce more fixes to OnGame import 2010-08-21 21:10:21 +01:00
Worros
488eb8433c HHC: Cleanup unused function 2010-08-21 22:19:08 +08:00
sqlcoder
683f6cee20 get OnGame parser working 2010-08-21 13:44:01 +01:00
Worros
9cc43b7424 HHC: doco for readAnte and readBlind 2010-08-21 17:35:32 +08:00
Worros
92e2e0ca95 HHC: Update doco on markStreets 2010-08-20 21:05:33 +08:00
Worros
d04e5e1a23 HHC: doco for compilePlayerRegexes 2010-08-20 20:09:44 +08:00
Worros
803f0fcaf8 HHC: Documentation on readHandInfo() 2010-08-20 19:48:37 +08:00
Worros
8ffb984d25 HHC: Better doco for readHandInfo 2010-08-20 18:52:00 +08:00
Worros
8b49f46d1c HHC: Correct error count for unmatched gametype regex 2010-08-18 13:17:42 +08:00
steffen123
b08cb18c0e remove debug print; add import to Config; gettextify tables 2010-08-15 21:09:18 +02:00
steffen123
b4317bba2a auto-detect language 2010-08-15 20:50:49 +02:00
steffen123
c87c0f0f9d gettext-ify HandHistoryConverter.py 2010-08-14 18:51:42 +02:00
steffen123
05500cf4bd more _() markings for l10n 2010-08-13 03:28:27 +02:00
steffen123
92435dd714 the first translation in fpdb! i did a few strings and hardcoded the language to de_DE just for testing.
this is more a proof of concept
2010-08-13 02:49:01 +02:00
steffen123
4bcc622efa The commented out gettext in fpdb.pyw and HHC should work, but doesnt
I tried having those lines in a plain script but same problem - translation file not found
2010-08-12 20:23:36 +02:00
Eric Blade
16cd5e7505 update Everleaf config example, add bbper100/BBper100 stats to popup default, fix my last tweak to hhc 2010-08-05 12:31:37 -04:00
Eric Blade
e49beb7724 Hand: extreme terminal spam when something bad happens in readBlinds, stop crashing import
HHC: set obs when failing to open a file (ie, you've stored a zip file in your handhistory folder), stop crashing import
2010-08-05 12:12:18 -04:00
Worros
2fd856d55b HHC: Shorten length of time hh file is open by 2 lines 2010-08-03 18:24:03 +08:00
Worros
de39d1cabf Add all Timezones that Stars supports to TZ function
All timezones outside of Australia I dodn't define for the moment.

Still requires support for actually getting said timezone, but were on our way.
2010-07-29 22:57:57 +08:00
steffen123
792a2aec4f finally fix the DST handling properly using pytz 2010-07-29 16:18:05 +02:00
Worros
ac728fffb2 FTP and Timezone fix.
Error reported with the following hand hostory from FTP France:

Full Tilt Poker.fr Game #22632637058: Daily Euro (174599326), Table 3 - 10/20 - No Limit Hold'em - 20:15:39 CET - 2010/07/27

The existing FTP parser crashed on CET times.

1) Fixed parser to accept CET
2) Added timezone offset into HHC

Not happy with TZ1/TZ2 solution.
2010-07-29 19:59:45 +08:00
steffen123
522a745ead REFACTOR: move timezone changing method to HHC so it can used by other parsers 2010-07-13 20:37:06 +02:00
steffen123
178b528d3b change calls to python2 back to python 2010-07-08 20:01:03 +02:00
steffen123
c6b6f8a788 many not really separable changes for IMAP import and associated cleaning
- deactivated use of TourneySummary (short: TS) from HHC and subclasses
- menu entry for IMAP import
- converted ImapSummaries (short: IS) to use the config file
- IS now optionally supports non-SSL and can run on folders other than INBOX
- removed gametypes and getGameTypeAsString from TS method as identical one is in Hand
- some other stuff
2010-07-08 19:46:25 +02:00
steffen123
3b24fd18b2 some cleanups:
- updated copyright notices
- added copyright notices that were missing
- changed python to python2
- added gpl-2/3 license texts
- removed THANKS.txt file as the wiki version is more up to date
- removed empty fpdb_db.py
- added GPL2 to debian license file
2010-07-04 03:05:16 +02:00