Commit Graph

114 Commits

Author SHA1 Message Date
Gary Burton 6d96f92a00 Improve GEDCOM round trip by parsing SOUR and NOTE tokens for FACT attributes. Gramps was previously exporting this data but ignoring it on import.
svn: r14523
2010-02-28 16:18:47 +00:00
Gary Burton 24bf1c6434 Fix GEDCOM import of CHAN for SOUR, REPO, OBJE. Bug 3373.
svn: r14513
2010-02-28 12:28:49 +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
Peter Landgren 4f43bb4ce5 libnarrate.py was missing.
svn: r14391
2010-02-15 15:04:05 +00:00
Nick Hall 4ef3a10161 Extend markup column definition to a list of columns for listviews.
svn: r14327
2010-02-11 22:30:16 +00:00
Nick Hall bdcd760437 Fix error when deleting person
svn: r14324
2010-02-11 19:35:05 +00:00
Doug Blank 843fb89ba0 Plugins required to be correct version
svn: r14300
2010-02-10 12:13:47 +00:00
Benny Malengier 201a0103df base place view should be a plugin lib, only used in other plugins
svn: r14200
2010-02-03 20:44:00 +00:00
Benny Malengier 967f99bf7b Use the new view plugin structure to offer a flat list person view
svn: r14195
2010-02-03 13:01:04 +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
Peter Landgren f0cfe6c5e9 nantionaldagen -> Nationaldagen.
svn: r14175
2010-01-30 16:05:59 +00:00
Doug Blank add3145df5 Added Croatian (Josip) and standardized type names to lowercase
svn: r14174
2010-01-30 13:34:16 +00:00
Doug Blank 27c20ccaeb Renamed isodow to dow
svn: r14170
2010-01-29 21:56:13 +00:00
Nick Hall 07fac74e8f Tweaks to English holidays
svn: r14169
2010-01-29 18:55:38 +00:00
Nick Hall 1348340dc6 Add ISO day of week function
svn: r14168
2010-01-29 18:18:08 +00:00
Serge Noiraud 717572d6e3 Adding holidays for France.
svn: r14167
2010-01-29 17:33:29 +00:00
Peter Landgren c944f5ca15 Updated Swedish part.
svn: r14166
2010-01-29 15:25:53 +00:00
Peter Landgren 1652fe5382 Easier method (and correct) to calculate Midsommardagen.
svn: r14165
2010-01-29 14:28:19 +00:00
Doug Blank ba553eeba6 Polish on workday/weekend offset
svn: r14164
2010-01-29 14:27:25 +00:00
Doug Blank dd4be4b0e5 added 'workday' and 'weekend' to offset
svn: r14163
2010-01-29 13:57:04 +00:00
Doug Blank 2e00aaa5cf Added month names for year/MON/day form
svn: r14162
2010-01-29 13:15:28 +00:00
Peter Landgren ec414b933c Fix for Swedish Midsummer Day.
svn: r14160
2010-01-29 08:02:34 +00:00
Nick Hall 6b7f7c4684 Add English holidays
svn: r14159
2010-01-28 22:50:16 +00:00
Doug Blank 3cadd4b099 3537: Wrong easter calculation in birthday report, and updated holidays
svn: r14152
2010-01-28 13:36:41 +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
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 47ea087ab6 Continued work on GEP008: Move contents of ansel_utf8.py into libgedcom.py since that is the only place it is used.
svn: r14075
2010-01-14 05:45:51 +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
Peter Landgren 61360acb4e Fix of issue 2848.
svn: r14066
2010-01-13 18:47:34 +00:00
Brian Matherly 4f2f5f8986 Add ngettext, sgettext, sngettext to libtranslate.
svn: r14042
2010-01-12 12:54:59 +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
Gerald Britton 2b12f3df07 Use defaultdict type where possible for minor performance gain and source code simplification
svn: r14011
2010-01-09 19:54:32 +00:00
Brian Matherly 7aec8904ea Remove gen.db.iterator.py - it is not used.
svn: r13979
2010-01-06 04:44:09 +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 8c26c5ad64 3302: Detailed Descendant Report fallback for child-list birth/death strings and fixed a typo baptized -> baptised
svn: r13899
2009-12-23 20:16:16 +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 5a087bb88f svn propset svn:keywords Id
svn: r13880
2009-12-21 13:03:08 +00:00
Rob G. Healey 603e20d36d Added to files that were missing it.
svn: r13879
2009-12-21 07:58:08 +00:00
Doug Blank 3a8b4d7e40 Moved fallback functions from Db to gen.utils
svn: r13876
2009-12-21 05:58:55 +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
Rob G. Healey 224c8c1ffc Fixed error causing crash as per Nick Hall. Corrected tags on libhtmlconst and WebCal.
svn: r13805
2009-12-15 02:50:46 +00:00
Brian Matherly ec81292e52 Add translated language and country strings to the report transation option.
svn: r13790
2009-12-13 21:16:58 +00:00
Brian Matherly c3546880fc Fix translated dates in Ancestor Report. Currently, dates for other than the current locale will print in ISO format.
svn: r13758
2009-12-11 05:55:30 +00:00
Brian Matherly 03af2705e7 Fix translation problem in libnarrate.
svn: r13618
2009-11-18 06:14:19 +00:00
Brian Matherly adb18efb83 svn: r13617 2009-11-18 05:32:22 +00:00
Benny Malengier 7da5541920 Cleanup after making views plugins, remove last imports of DataView
svn: r13563
2009-11-12 22:32:52 +00:00