Tim G L Lyons
828060d2eb
0006529: Cancelling database upgrade can corrupt the database. Check whether the bsddb version has changed (or was originally unknown). If it is an upgrade, ask the user whether he has made a backup, and is ready to upgrade. If so, made a zip backup and open the database with the new bsddb version. Make messages on the dialogues more explicit with the version numbers mentioned.
...
svn: r21850
2013-04-02 16:01:50 +00:00
Paul Franklin
ba60ec4c07
missing or malformed SVN "Id" line
...
svn: r18361
2011-10-23 03:13:50 +00:00
Benny Malengier
b3beba53d8
Some bsddb changes
...
* allow to use bsddb3 as database via a config setting
* set async write to disk to improve speed, eg import * 40
svn: r16446
2011-01-23 21:25:51 +00:00
Benny Malengier
5013162ded
A new person editor
...
svn: r15951
2010-10-03 11:39:47 +00:00
Benny Malengier
a89e8d1d18
Remove column config from db, move to the plugins
...
Start with reuse of preferences for all configuration
Allow all view plugins to set configuration dialog
TODO: activate the column reorder in config of listviews
svn: r14176
2010-02-01 07:01:45 +00:00
Gerald Britton
8f0582df8a
Use built-in functions to replace for loops:
...
Old code:
for x in y:
f(x)
New Code:
map(f, y)
Also use defaultdict instead of simple dict when advantageous and use list comprehensions
instead of for loops where map() could be used but requires lambdas.
svn: r14135
2010-01-25 17:45:21 +00:00
Gerald Britton
1f2469b09f
Simplify with built-in functions where possible. e.g.
...
change [x for x in y if x] to filter(None, y)
change [f(x) for x in y] to map(f, x)
change [x for x in y] to list(y)
These changes reduce source code size and complexity and produce some minor performance gains
svn: r14104
2010-01-21 18:42:53 +00:00
Brian Matherly
f04880ec09
Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time.
...
svn: r14091
2010-01-18 04:42:17 +00:00
Brian Matherly
7aec8904ea
Remove gen.db.iterator.py - it is not used.
...
svn: r13979
2010-01-06 04:44:09 +00:00
Doug Blank
ab3dfe1415
3465: Create a new hierarchy of base classes for gramps cor databases (read, write) and add methods
...
svn: r13894
2009-12-23 15:55:58 +00:00
Rob G. Healey
603e20d36d
Added to files that were missing it.
...
svn: r13879
2009-12-21 07:58:08 +00:00
Brian Matherly
814d721f68
Remove QuestionDialog dependency from gen. The database now raises exceptions and the GUI generates the question dialog.
...
svn: r13865
2009-12-20 22:44:32 +00:00
Benny Malengier
ed619cfdd6
3292: register plugins, load on need, not on start of GRAMPS - GEPS 014
...
svn: r13400
2009-10-24 13:53:20 +00:00
Gerald Britton
ca3abff763
Add new plugin libraries:
...
libgrdb.py -- Used by ImportGrdb to read old databases
libmixin.py -- Used by Import plugins to add extra methods
svn: r13075
2009-08-19 15:38:00 +00:00