Commit Graph

18 Commits

Author SHA1 Message Date
Benny Malengier
752d594571 4198: Person view does not remove a row correctly when two people are merged.
This patch improves on the context changes:
 * avoid use of transaction_xx methods
 * force an abort in case of unclean transaction

Backward compatibility is broken to achieve this.


svn: r16680
2011-02-20 10:52:06 +00:00
Benny Malengier
6d596ad987 4198: Person view does not remove a row correctly when two people are merged.
This is a major patch by Michael Nauta. It means all writes happen immediately to bsddb, and the bsddb 
rollback is used on a crash. Transaction is no longer used to store changes and do them on commit.
Undo database is set on end. 
At the same time with statement is used throughout for transactions
At the same time, the original bug in merge code should be fixed
Still some issues, that will be ironed out


svn: r16523
2011-01-31 21:54:58 +00:00
Peter Landgren
244b8621fc Fixed another two problems with string formatting using {}.
svn: r14614
2010-03-04 13:56:26 +00:00
Peter Landgren
8636acda8e Fixed another problem with string formatting using {}.
svn: r14612
2010-03-04 13:48:49 +00:00
Peter Landgren
3b1e7d5a36 Typo.
svn: r14596
2010-03-03 15:37:30 +00:00
Rob G. Healey
bcedebba64 Fixed an error on line 691-- named variables. Thanks Peter for pointing it out.
svn: r14486
2010-02-25 16:53:31 +00:00
Rob G. Healey
36a91b6cb9 Changed some formatted strings to named variables for 'make distcheck' to work properly.
svn: r14483
2010-02-25 15:52:32 +00:00
Doug Blank
7f5e91d9ea 3428: When running with pythonw.exe, Windows may crash if you write to stdout
svn: r14396
2010-02-16 02:18:24 +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
Doug Blank
699dcb13fe Fixed svn Id property
svn: r13881
2009-12-21 13:43:50 +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
941fff23ae Tweaks to use inplace arithmetic
svn: r13191
2009-09-10 18:49:48 +00:00
Benny Malengier
9d417e2cd6 Split Utils in a non GUI and GUI part
move GrampsCfg utils to Utils
improve import strategy


svn: r12680
2009-06-19 15:23:58 +00:00
Gerald Britton
021b754939 Bug 3011: change old-style classes to new-style classes
svn: r12559
2009-05-21 17:19:50 +00:00
Kees Bakker
e04fe91f53 A few more entries in the list of possible month spellings
svn: r11977
2009-02-12 20:49:59 +00:00
Kees Bakker
0b0253f6ef Apply same patch as in branches/gramps30.
Process most common (Dutch) surname prefixes.
Date conversion improvement (Dutch month names, etc).
Store patroniem in Patronymic field.
        * src/plugins/import/ImportProGen.py


svn: r11735
2009-01-26 20:02:30 +00:00
Brian Matherly
6671a8f26e Plugins Restructure: Move import plugins into plugins/import.
svn: r11641
2009-01-17 03:36:19 +00:00