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
Brian Matherly
3141ed0e71
Cleanup libnarrate.
...
svn: r13487
2009-11-03 05:25:15 +00:00
Brian Matherly
c43c3beba0
Clean up ReportUtils: Move text strings into "Narrator" class in libnarrate. Remove unused functions. Move functions out that are only used once.
...
svn: r13474
2009-10-31 21:36:57 +00:00
Benny Malengier
53de46901e
add license to gpr.py files
...
svn: r13424
2009-10-26 19:15: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
Rob G. Healey
9b6d133e92
Returned libhtml.py back to its original code after my mistakingly gutting the code.
...
svn: r13298
2009-10-04 04:56:26 +00:00
Rob G. Healey
b66e7d1af1
Removed "<?xml ... ?>" from the top of every page as per Benny Malengier.
...
svn: r13293
2009-10-03 06:07:48 +00:00
Doug Blank
ce97f20ff8
Issue with super() and reload of plugins in Python 2.6.0
...
svn: r13252
2009-09-26 01:08:14 +00:00
Gerald Britton
2e3ba0d954
tweaks and optimizations
...
svn: r13230
2009-09-21 20:52:36 +00:00
Rob G. Healey
573c9fdc20
Fixed some holidays in holidays file.
...
svn: r13210
2009-09-16 01:27:23 +00:00
Rob G. Healey
b9553b1a5e
Fix for Labor Day in USA holidays.
...
svn: r13204
2009-09-15 08:00:34 +00:00
Mirko Leonhäuser
a7c69b41e6
German holidays depending to easter
...
svn: r13112
2009-08-23 12:21:48 +00:00
Jérôme Rapinat
ef08e419d1
update french translation
...
svn: r13092
2009-08-20 15:15:10 +00:00
Gerald Britton
76586fe8c3
Update makefile to include new plugin libraries
...
svn: r13076
2009-08-19 15:41:06 +00:00
Gerald Britton
ca3abff763
Add new plugin libraries:
...
libgrdb.py -- Used by ImportGrdb to read old databases
libmixin.py -- Used by Import plugins to add extra methods
svn: r13075
2009-08-19 15:38:00 +00:00
Serge Noiraud
2f41ff44c2
Added backend for ODFDoc and styled notes.
...
svn: r13055
2009-08-17 22:28:40 +00:00
Raphael Ackermann
eeac507a40
cleanup (typos, docs, indentation)
...
svn: r12921
2009-08-08 15:52:12 +00:00
Benny Malengier
a52bc62be9
2691: Create api documentation with sphinx
...
svn: r12704
2009-06-24 21:56:07 +00:00
Gerald Britton
44028cc47c
libhtml.py: add title=None default option to Html.page static method
...
svn: r12663
2009-06-12 16:36:31 +00:00
Benny Malengier
f78db6f418
2707: Add markup notes to html output. Finished
...
svn: r12654
2009-06-11 13:01:27 +00:00
Gerald Britton
75a7e04c4b
libhtml: add indent=None option and reference in docstring to wiki page
...
svn: r12648
2009-06-10 14:14:11 +00:00
Benny Malengier
e4de221227
2707: Add markup notes to html output: div and class elements
...
svn: r12647
2009-06-09 20:47:32 +00:00
Benny Malengier
a177da80b0
2707: Add markup notes to html output
...
Part 2: enable css, clean up code.
TODO: better output, support in default css files, test
svn: r12644
2009-06-08 23:19:37 +00:00
Benny Malengier
542b1e404d
02707: Add markup notes to html output
...
part 1: remove template from html output
svn: r12631
2009-06-06 09:49:40 +00:00