Commit Graph

24 Commits

Author SHA1 Message Date
Michiel Nauta
2b72a71a6e 4416: Adjust import ID to users ID format
svn: r16791
2011-03-09 16:22:05 +00:00
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
Doug Blank
d5f1a7e199 4418: CSV import/export doesn't deal with new surname structure, by MD Nauta
svn: r16233
2010-11-23 23:11:33 +00:00
Doug Blank
dc0d9511a3 Only use iter_items if you are sure it is used just once; fixed issue duplicating places
svn: r15673
2010-07-31 15:55:56 +00:00
Doug Blank
59dca4e3ea 3502: Extend CSV import to include additional fields; added source title to export
svn: r15671
2010-07-31 15:18:41 +00:00
Peter Landgren
7ad1b8563f Fixed another problem with string formatting using {}.
svn: r14611
2010-03-04 13:39:22 +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
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
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
54ac83e6ed 3420: Error in line 498 of importCSV.py during CSV import.
svn: r13740
2009-12-08 01:13:42 +00:00
Peter Landgren
c1c5a61266 Update for consistent use of Gramps. See issue 3355.
svn: r13621
2009-11-18 08:34:20 +00:00
Peter Landgren
900d1c57f4 Second update for consistent use of Gramps. See issue 3355.
svn: r13611
2009-11-17 20:45:58 +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
Doug Blank
acfb0c8344 Changed set_wife_handle to set_mother_handle
svn: r12821
2009-07-20 06:28:55 +00:00
Gerald Britton
181c0c9b41 Replace get_place_handles with iter_place_handles
svn: r12778
2009-07-08 18:11:02 +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
fc90d5fce2 Bug 3018: remove calls to keys() dictionary method where possible
svn: r12562
2009-05-22 18:43:40 +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
Jérôme Rapinat
a3d33aff16 2704: Translation problem word Title (contribution by jannek)
svn: r11970
2009-02-12 07:31:08 +00:00
Jérôme Rapinat
e4f5ad0142 #2657,#1718 use ngettext
svn: r11800
2009-02-02 17:13:02 +00:00
Jérôme Rapinat
1e6da8730c #2657,#1718 use ngettext
svn: r11773
2009-01-31 11:29:44 +00:00
Brian Matherly
6671a8f26e Plugins Restructure: Move import plugins into plugins/import.
svn: r11641
2009-01-17 03:36:19 +00:00