50bafadcb1
we throw an exception now if the user supplies an unsupported database backend
fpdb-mme2009-11-03 15:17:48 +01:00
62c915928d
- added a global const to config to point to "database" directory - adjusted fpdb_db.py to make use use of this const
fpdb-mme2009-11-03 10:50:13 +01:00
f276ad4dfa
Merge branch 'master' of git://git.assembla.com/fpdb-mme
Worros2009-11-03 17:25:54 +08:00
c02e6365e7
Merge branch 'master' of git://git.assembla.com/fpdboz
sqlcoder2009-11-02 20:52:55 +00:00
27d5ea6e6a
Merge branch 'master' of git://git.assembla.com/fpdboz
Mika Bostrom2009-11-02 19:07:10 +02:00
42f56d678f
Merge branch 'master' of git://git.assembla.com/free_poker_tools.git
unknown2009-11-02 04:29:13 -05:00
a18091161a
added a note and some thoughts for review
fpdb-mme2009-11-02 10:29:10 +01:00
2589d2ecd3
Merge branch 'master' of git://git.assembla.com/fpdboz.git
unknown2009-11-02 04:28:24 -05:00
28ca49d592
Fix GuiSessionStats.py for sqlite
Worros2009-11-02 17:23:50 +08:00
9e94f44fa7
started defining some application wide consts. these consts (more to come if my approach is accepted) are used all over the fpdb and should always be taken from one place
fpdb-mme2009-11-02 10:06:54 +01:00
fb76540df6
added a TODO: if the user may passes '' (empty string) as database name via command line, his choice is ignored when we parse the xml we allow for ''. there has to be a decission if to allow '' or not
fpdb-mme2009-11-02 09:54:16 +01:00
d3eeeef2e8
fpdb can not handle the case where no database is defined in xml, so throw a ValueError for now
fpdb-mme2009-11-02 09:45:53 +01:00
612d6607a1
fix: FpdbError is not defined, use ValueError instead
fpdb-mme2009-11-02 09:40:16 +01:00
3a7d159d52
sorry, whitespace was messed up, have to find a better way to convert
fpdb-mme2009-11-02 09:38:27 +01:00
8f2a2c20cc
tried my best to write a clearer comment + simplified finding out of what the selected database is
fpdb-mme2009-11-02 09:29:58 +01:00
10343c0ef4
fixed Database.db_selected attribute. it was always be boolean True if the attribute was not set in the <database> tag
fpdb-mme2009-11-02 09:14:57 +01:00
75b8c4943a
rewrote fix_tf() helper function to string_to_bool(). this represents better is what it actually does. comments stated that the function was some kind of fix for xml.dom, but XML is unaware of python types by intention ;-)
fpdb-mme2009-11-02 09:09:23 +01:00
d59f1eb720
added a comment what Config.supported_databases holds for readability
fpdb-mme2009-11-02 08:52:46 +01:00
d9a120a2c6
removed superfluous try ..except clause. Database.__init__() was not doing any sanity checks, so the try ..except clause was only covering exceptions we are actually interested in
fpdb-mme2009-11-02 08:48:07 +01:00
01b56919ca
we take all <database> tags from xml instead of taking all <database> tags contained in <supported_databases>
fpdb-mme2009-11-02 08:40:34 +01:00
62ee67c071
under certain circumstances attribute Config.db_selected could end up being undefined. this could cause later code relying on it failing in strange ways.
fpdb-mme2009-11-02 08:30:24 +01:00
f4aa5f1fe1
First fix for sqlite in PlayerStats
Worros2009-11-02 13:38:36 +08:00
a4c605bb92
Merge branch 'master' of git://git.assembla.com/free_poker_tools
Mika Bostrom2009-11-01 21:41:06 +02:00
0225987826
added basic support to add databases present in *.xml to our manager
fpdb-mme2009-11-01 20:07:41 +01:00
27d570818e
Merge branch 'master' of git://github.com/grindi/fpdb-grindi
Eratosthenes2009-11-01 10:01:52 -05:00
8bb5d53d7e
Merge branch 'master' of git://git.assembla.com/fpdb-eric
Mika Bostrom2009-11-01 14:20:03 +02:00
2b0d360c44
Merge branch 'master' of git://git.assembla.com/free_poker_tools
Mika Bostrom2009-11-01 14:19:54 +02:00
f5d2f5a2dc
fix: according to doctests os_independend_kill() is supposed to return None
fpdb-mme2009-11-01 09:58:14 +01:00
6fcf81e566
bugfix: InterProcessLock.locked() was broken cause InterProcessLock.aquire() no longer raises SingleInstanceError
fpdb-mme2009-11-01 09:51:00 +01:00
bcbafc160d
millions of changes, highlights:
fpdb-mme2009-11-01 07:36:18 +01:00
cb0c7430e6
add comment at point in Configuration where we would need to add support for saving new table layouts.
unknown2009-11-01 01:54:59 -04:00
cdc310dcb6
if HUD is told to create for a layout that doesn't exist in the config file, it will pick a 9 or 10 max layout and use it's positions, which you can then move the windows around, and save, and it should be saved in the right spot.
unknown2009-11-01 01:23:07 -04:00
64ee502239
here's the HHC patch i forgot to add on last commit
unknown2009-10-31 21:25:27 -04:00
868a0b5bf0
getting stud tourney to not crash import:
unknown2009-10-31 21:25:13 -04:00
2bb35fc802
Merge branch 'master' of git://git.assembla.com/fpdboz.git
unknown2009-10-31 20:19:19 -04:00