Commit Graph

105 Commits

Author SHA1 Message Date
Michiel Nauta
1794a5e500 4464: VCard import/export needs update to new surname and spec incompatibilities
svn: r16745
2011-03-02 16:35:23 +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
Michiel Nauta
0d99f3e5e4 4651: XML import of name with only display or sort format set fails
svn: r16634
2011-02-16 18:59:17 +00:00
Doug Blank
82d4f8cb54 4362: [XML] Cannot import url styled text on note
svn: r16600
2011-02-11 13:35:21 +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
Michiel Nauta
3e97bb9003 sort_as and display_as of a name was ignored on import if only one is specified.
svn: r16516
2011-01-31 18:59:46 +00:00
Michiel Nauta
2d3ecfb22f Fix errormessage on import of duplicate namemap value.
svn: r16515
2011-01-31 18:44:45 +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
Jérôme Rapinat
0809ec6723 4363: missing tag references on XML import
svn: r16350
2011-01-07 17:54:55 +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
Benny Malengier
3fbd09ad90 GEP 021: import new xml, primary not present means primary name
svn: r16122
2010-11-02 20:49:56 +00:00
Nick Hall
9f38cfaa21 Fix bug when importing researcher locality
svn: r16085
2010-10-30 14:34:46 +00:00
Nick Hall
9c14d3b487 GEPS 006: Add Locality to researcher
svn: r16082
2010-10-29 23:11:08 +00:00
Nick Hall
298827d843 GEPS 006: Add Locality field to Location
svn: r16063
2010-10-27 18:13:53 +00:00
Benny Malengier
e5f62ee933 fix import xml crash on patronymic
svn: r16041
2010-10-24 19:11:38 +00:00
Benny Malengier
e109e3d743 Merged geps21 branch, changes r15866-16034, into trunk
svn: r16035
2010-10-24 14:43:47 +00:00
Nick Hall
c3e527b4fb GEPS 011: Tagging - Extended to Family, Note and Media objects
svn: r16025
2010-10-22 23:22:33 +00:00
Jérôme Rapinat
18a97ac64d #4264: import ignores marriage and divorce dates (.gw file)
svn: r16006
2010-10-16 09:17:28 +00:00
Jérôme Rapinat
f90ce86320 #4264: import ignores marriage and divorce dates (.gw file)
svn: r15995
2010-10-15 17:47:10 +00:00
Benny Malengier
371205ec70 Fix surname index for autocompletion
Fix check tool and start with importgrdb upgrade


svn: r15949
2010-10-02 16:01:34 +00:00
Benny Malengier
043d35a354 Working XML import with new surnames
svn: r15947
2010-10-02 12:52:14 +00:00
Nick Hall
6b6da7dafe GEPS 011: Tagging - Add XML import and export
svn: r15938
2010-09-29 22:25:52 +00:00
Benny Malengier
f111dcbad9 add nick and famnick
svn: r15930
2010-09-25 15:11:54 +00:00
Doug Blank
791ab064f8 Renamed GrampsCursor to BsddbBaseCursor
svn: r15689
2010-08-08 22:06:54 +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
Doug Blank
7e5e5db27f 3798: tempfile wrongly used in Gramps: possible error 'Too many open files: ...'
svn: r15201
2010-04-17 23:20:01 +00:00
Doug Blank
c551d6beb1 Newyear import/export changes and fix
svn: r15027
2010-04-04 12:10:12 +00:00
Benny Malengier
aad74b8bb8 3690: Do not need to use underscore on text for file formats (import/export)
svn: r14889
2010-03-21 10:33:08 +00:00
Doug Blank
a13a0e1fcd 3728: Daterange with cformat doesn't XML-import
svn: r14866
2010-03-19 01:20:31 +00:00
Benny Malengier
585e0fa85d 3709: Typos and grammar mistakes
svn: r14841
2010-03-15 22:11:25 +00:00
Doug Blank
3ae0224e1a Removed Django import/export and CalcEstimateDates (moved to addons)
svn: r14685
2010-03-07 21:42:03 +00:00
Doug Blank
dcfb25abc4 Trunk is now version 3.3.0
svn: r14653
2010-03-06 22:47:25 +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
7ad1b8563f Fixed another problem with string formatting using {}.
svn: r14611
2010-03-04 13:39:22 +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
696b236777 Changes to allow distcheck to pass
svn: r14436
2010-02-22 12:05:37 +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
Doug Blank
843fb89ba0 Plugins required to be correct version
svn: r14300
2010-02-10 12:13: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
Brian Matherly
cd30f4db2f Continued work on GEP008: move src/Mime to src/gen/mime.
svn: r14118
2010-01-24 20:17:14 +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
c5f54d0cfc Continued work on GEP008: Move src/BasicUtils/_NameDisplay.py to src/gen/display.
svn: r14072
2010-01-14 04:08:04 +00:00
Brian Matherly
252ef6daee Continued work on GEP008: Move BasicUtils/UpdateCallback.py to gen/updatecallback.py.
svn: r14025
2010-01-10 20:21:10 +00:00
Brian Matherly
4838650df4 Move _GedcomParse.py to src/plugins/lib/libgedcom.py. Remove GrampsDbUtils.
svn: r13940
2009-12-29 19:20:16 +00:00