Commit Graph

82 Commits

Author SHA1 Message Date
Doug Blank
843fb89ba0 Plugins required to be correct version
svn: r14300
2010-02-10 12:13:47 +00:00
Peter Landgren
c6641878c2 Make use of new module constfunc.
svn: r14285
2010-02-08 17:24:43 +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
c9cb7e60c9 Move GEDCOM date functions into libgedcom.
svn: r14125
2010-01-25 04:54:22 +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
252ef6daee Continued work on GEP008: Move BasicUtils/UpdateCallback.py to gen/updatecallback.py.
svn: r14025
2010-01-10 20:21:10 +00:00
Peter Landgren
3de66d1b62 Fix of issue 3495.
svn: r13965
2010-01-03 11:31:19 +00:00
Doug Blank
eba1c9d264 A simple, conservative probably_alive
svn: r13951
2010-01-01 15:11:00 +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
Doug Blank
42ed2c3295 Added fields to Person to reduce queries; should be able to add/edit people and names tomorrow
svn: r13934
2009-12-29 03:22:03 +00:00
Brian Matherly
f12196cf80 Merge GedcomInfo.py and GedcomLex.py into GedcomParse.py.
svn: r13930
2009-12-28 05:07:21 +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
Doug Blank
699dcb13fe Fixed svn Id property
svn: r13881
2009-12-21 13:43:50 +00:00
Doug Blank
49bd78481a Removed as now unneeded with Django-supported interface
svn: r13815
2009-12-15 17:32:24 +00:00
Doug Blank
d05e98cbf6 Removed as now unneeded with Django-supported interface
svn: r13813
2009-12-15 17:11:05 +00:00
Doug Blank
b876023812 3413: Hidden export plugins still show in list; and rewrote eval() as getattr()
svn: r13708
2009-12-05 06:35:21 +00:00
Doug Blank
34ff80700b 3411: Exporters "Gramps XML" and "Gramps Package" names are asymmetric
svn: r13706
2009-12-05 05:52:19 +00:00
Doug Blank
4189b78df3 Protect crashing from malformed data; working on locale-based issues; fast flush; UI focus
svn: r13647
2009-11-21 23:18:35 +00:00
Doug Blank
281fa65cd7 Changes to allow large, fast exports
svn: r13646
2009-11-21 14:27:25 +00:00
Peter Landgren
0b711b211c Third update for consistent use of Gramps. See issue 3355.
svn: r13633
2009-11-19 17:32:11 +00:00
Jérôme Rapinat
34f27d5fa5 avoid _ on p (typo on key)
svn: r13627
2009-11-18 19:48:06 +00:00
Peter Landgren
33686fcf18 First update for consistent use of Gramps. See issue 3355.
svn: r13610
2009-11-17 20:14:53 +00:00
Doug Blank
f90c2db4cd Moved src/gen/web to src/web
svn: r13547
2009-11-10 14:23:19 +00:00
Doug Blank
b7327e679a UNSTABLE plugin for django export
svn: r13541
2009-11-10 05:21:35 +00:00
Peter Landgren
bd18302d69 Fix so that a copy is created, if new filename already exists. Works like normal XML export.
svn: r13494
2009-11-03 17:33:35 +00:00
Benny Malengier
53de46901e add license to gpr.py files
svn: r13424
2009-10-26 19:15:58 +00:00
Jérôme Rapinat
b63f7e6818 3308: Wrong position of export options (also geneweb dialog)
svn: r13423
2009-10-26 13:33:41 +00:00
Jérôme Rapinat
c67c22b6c0 3308: Wrong position of export options
svn: r13408
2009-10-25 15:04:06 +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
99282aa715 3272: Proposal for updating config settings
svn: r13346
2009-10-08 01:12:51 +00:00
Doug Blank
e8c72f766e #3194: fix to write gedcom output in GRAMPS order, and fix to have children in GEDCOM FAM order
svn: r13304
2009-10-04 21:38:52 +00:00
Doug Blank
0c856f59f5 Added get_gedcom_name formatter to Name to allow sharing
svn: r13251
2009-09-26 01:05:08 +00:00
Doug Blank
8883fe0f97 Moved gedcom date constants and functions to gen.lib.date so they can be shared
svn: r13249
2009-09-25 20:45:05 +00:00
Doug Blank
7da65b05c3 Fixed a bug on export null locations; added primary keys and an index
svn: r12940
2009-08-10 01:25:34 +00:00
Doug Blank
76d8c108b6 SQL import/export complete. Byte for Byte exact, excluding differences in True-False/1-0, []/(), and unicode/string
svn: r12936
2009-08-09 19:26:30 +00:00
Doug Blank
0a476e2a3c SQL update: two diffs left, in family and place
svn: r12935
2009-08-09 17:40:36 +00:00
Raphael Ackermann
65f72560d1 pep8 fixes
fixing typos


svn: r12934
2009-08-09 17:09:32 +00:00
Doug Blank
778cc935e9 SQL import/export complete except for source repos, and datamap
svn: r12932
2009-08-09 08:01:51 +00:00
Doug Blank
78530fae2e Very close to having the SQL import/export done
svn: r12930
2009-08-09 04:14:33 +00:00
Raphael Ackermann
e4495716a9 Removed broken Export to CD on Gnome. This was never working on KDE or Windows. And no developer seems to be able to get it to run on their gnome system. It is very easy now to burn a backup of gramps to a cd using e.g., K3b or Brasero.
svn: r12923
2009-08-08 16:35:36 +00:00
Raphael Ackermann
b7827030f5 0002978: ExportCd plug-in should not load if burn:// scheme is unsupported
applied patch by Brad Crittenden.

Patch goes in the right direction but still not far enough. On my ubuntu gnome system (9.04) it doesn't load the plugin, but I can burn a cd in nautilus using the burn:/// scheme.


svn: r12922
2009-08-08 16:21:57 +00:00
Doug Blank
24750e0272 Nearing completition; most data is pulled out of the SQL db, now I need to get the relations fixed
svn: r12918
2009-08-08 04:18:34 +00:00
Doug Blank
f3a7e259e5 SQL Export/Import about 30% done: Notes are complete. People and Events close. The rest still to check.
svn: r12917
2009-08-07 22:32:30 +00:00
Doug Blank
a2a8aad654 Fixed missing fields
svn: r12914
2009-08-07 13:00:53 +00:00
Doug Blank
18a5c276f3 Nearly complete, but untested SQL export
svn: r12913
2009-08-07 11:53:27 +00:00
Rob G. Healey
99e17ea98e Fixed two invalid syntax errors in ExportGeneWeb. Fixed padding issues in Nebraska with Navigation areas. Minor little changes to others.
svn: r12848
2009-07-29 07:58:22 +00:00
Doug Blank
8a7296920f Use Preferences -> Text -> Private Given name instead of hardcoded _('Living')
svn: r12847
2009-07-29 03:28:05 +00:00
Gerald Britton
d45f5970fb add missing iterator methods to filter.py, use get_family_handles instead of the iterator in ExportGedcom.py
svn: r12790
2009-07-11 20:11:37 +00:00
Gerald Britton
b601f4bdf2 Replace get_family_handles with iter_family_handles
svn: r12776
2009-07-08 16:11:20 +00:00