Commit Graph

16265 Commits

Author SHA1 Message Date
Doug Blank
f5fe747716 Renamed for_gramps to gramps_target_version; added newplugin function to work on additional register style
svn: r14137
2010-01-25 23:58:42 +00:00
Doug Blank
1cfeea3701 Renamed for_gramps to gramps_target_version
svn: r14136
2010-01-25 23:56: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
Gerald Britton
fbb8fa2a52 Use list comprehensions and built-in functions
svn: r14134
2010-01-25 17:40:15 +00:00
Peter Landgren
d4117408e6 Fixed typo.
svn: r14133
2010-01-25 08:56:46 +00:00
Peter Landgren
7a3732d6fa Fixed typo.
svn: r14132
2010-01-25 08:56:05 +00:00
Jérôme Rapinat
ffad78bb1b Update Chinese translation (by Honeyword)
svn: r14131
2010-01-25 08:51:14 +00:00
Peter Landgren
9b1109a99a Added missed file.
svn: r14130
2010-01-25 08:44:59 +00:00
Peter Landgren
1631ae7de1 Added missed files.
svn: r14129
2010-01-25 08:41:28 +00:00
Peter Landgren
00e7bf53d7 Added missed file.
svn: r14127
2010-01-25 08:31:24 +00:00
Peter Landgren
b367e43165 Fixed a typo.
svn: r14126
2010-01-25 08:26:34 +00:00
Brian Matherly
c9cb7e60c9 Move GEDCOM date functions into libgedcom.
svn: r14125
2010-01-25 04:54:22 +00:00
Brian Matherly
1f4043b37a Remove redundant calendar function from DateHandler.
svn: r14124
2010-01-25 04:53:45 +00:00
Doug Blank
7fefcaead5 Install plugins from wiki, Part 2. Last remaining part is to give feedback and check for proper plugin version
svn: r14123
2010-01-25 03:20:36 +00:00
Doug Blank
6fd1c70dfd Added a make_environment function for evaluating gpr.py envs
svn: r14122
2010-01-25 03:18:34 +00:00
Doug Blank
62a2d1672c Support for plugin.for_gramps = '3.2' in registry
svn: r14121
2010-01-24 23:36:25 +00:00
Doug Blank
01f470db16 Make const.py.in work for Windows, too
svn: r14120
2010-01-24 21:27:46 +00:00
Brian Matherly
dfa56ecc72 Fix comment description in gen module.
svn: r14119
2010-01-24 20:24:40 +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
Doug Blank
09b0e50d41 Added est date modifier type (about, or after/before)
svn: r14117
2010-01-24 16:19:55 +00:00
Doug Blank
ca35196f49 Cleanup, removed old functions
svn: r14116
2010-01-24 16:18:37 +00:00
Doug Blank
1830a44505 Had to allow links now that plugins is a dir inside gramps32 to allow flexibility in addons
svn: r14115
2010-01-24 15:24:36 +00:00
Doug Blank
d3e57f4932 Moved djangodb.py to dbdjango.py
svn: r14114
2010-01-24 14:19:45 +00:00
Doug Blank
ddecec588d Renamed djangodb.DjangoDb to dbdjango.DbDjango
svn: r14113
2010-01-24 14:01:36 +00:00
Doug Blank
e5d14f59c1 Fixed DbDjango's
svn: r14112
2010-01-24 13:55:39 +00:00
Doug Blank
2d36aea65a Added doc notes on new database hierarchy
svn: r14111
2010-01-24 13:47:48 +00:00
Doug Blank
4fd46fe669 Moved plugins to ~/.gramps/gramps32/plugins and ini to ~/.gramps/gramps32/
svn: r14110
2010-01-24 12:18:30 +00:00
Brian Matherly
2e9a4c27d0 Move find_mime_type_pixbuf from the Mime module to ThumbNails. It is more closely related to thumbnails than mime.
svn: r14109
2010-01-24 04:52:22 +00:00
Nick Hall
4a529d0c28 Fix selected handles for merge operations
svn: r14108
2010-01-23 15:31:50 +00:00
Peter Landgren
6ce240ff43 Something forgotten.
svn: r14107
2010-01-22 17:59:54 +00:00
Peter Landgren
f6ecab76c0 Something forgotten.
svn: r14106
2010-01-22 17:59:07 +00:00
Erik De Richter
f39a61819d update nl translation
svn: r14105
2010-01-22 16:14: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
Doug Blank
fdfb1b48b0 3527: People View sometimes skips items because of LRU key error
svn: r14103
2010-01-21 01:55:48 +00:00
Doug Blank
97c058af9b probably_alive and CalcEstDates now share same codebase; rewritten probably_alive
svn: r14102
2010-01-20 13:39:37 +00:00
Doug Blank
c689013025 Added two additional cases for date matches: <=, >=
svn: r14101
2010-01-20 13:37:24 +00:00
Serge Noiraud
f06acae4b1 GeoView : issue 3497 adds filters.
javascript errors when switching between maps.


svn: r14100
2010-01-19 19:34:47 +00:00
Erik De Richter
a44e685559 update nl translation
svn: r14099
2010-01-19 15:41:17 +00:00
Peter Landgren
418618d856 Better output of pre- and unformatted notes and of end notes references.
svn: r14098
2010-01-19 12:47:48 +00:00
Peter Landgren
e18dd1d560 Better output of pre- and unformatted notes and of end notes references.
svn: r14097
2010-01-19 12:47:17 +00:00
Gerald Britton
517a5e3c90 Tweaks and minor refactoring
svn: r14096
2010-01-18 20:14:59 +00:00
Peter Landgren
bf0d4a5123 More info in tooltip text about formatting.
svn: r14095
2010-01-18 17:59:28 +00:00
Jérôme Rapinat
659c51a011 2384: KinshipReport use hard to translate sentences (by Josip)
svn: r14094
2010-01-18 15:46:32 +00:00
Jérôme Rapinat
d9ad7798bc 3105: general base objects
svn: r14093
2010-01-18 14:57:54 +00:00
Peter Landgren
c207134fe4 Just an update.
svn: r14092
2010-01-18 12:29:00 +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
1b8706eaf1 Plugin Manager part 3: can now install plugins
svn: r14090
2010-01-18 04:09:04 +00:00
Doug Blank
92fcd30650 Removed src/FilterEditor/ and src/BasicUtils/ from config
svn: r14089
2010-01-17 23:05:47 +00:00
Doug Blank
9e3ebf46b4 Plugin Manager, part 2 of 3: updates trunk for using 3.2 manual, Plugin Manager gets addon list from wiki
svn: r14088
2010-01-17 21:45:37 +00:00
Doug Blank
e2bbd220bb Bug in comparing defaults if no deepcopy
svn: r14087
2010-01-17 20:23:56 +00:00