Commit Graph

412 Commits

Author SHA1 Message Date
Doug Blank
cf4748ecaf Gramplets only update when active, detached, or forced
svn: r14138
2010-01-26 12:00:01 +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
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
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
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
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
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
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
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
c689013025 Added two additional cases for date matches: <=, >=
svn: r14101
2010-01-20 13:37:24 +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
e2bbd220bb Bug in comparing defaults if no deepcopy
svn: r14087
2010-01-17 20:23:56 +00:00
Doug Blank
b66e96b8d9 Plugin Manager refinements, part 1: refactored plugin lists, renamed Plugin Status to Plugin Manager, added functionality on loaded plugin page
svn: r14086
2010-01-17 16:24:56 +00:00
Doug Blank
bd15fa674a Refined API: better arg names, and better docstring; allow config to get path implicitly, ala our Glade API
svn: r14085
2010-01-17 13:47:26 +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
5d1ac53678 Fix of issue 2848.
svn: r14063
2010-01-13 18:39:40 +00:00
Gerald Britton
a4b22193c2 Use defaultdict instead of dict to simplify code and improve performance
svn: r14060
2010-01-13 15:46:12 +00:00
Doug Blank
f415159d6f Revised iterable table interface; removed DbEngine and DbTable
svn: r14048
2010-01-12 18:38:39 +00:00
Doug Blank
95bb81a54c Missing underscore
svn: r14036
2010-01-11 20:34:47 +00:00
Doug Blank
bdefba55ca Towards an DbEngine, for a variety of reasons
svn: r14035
2010-01-11 19:45:17 +00:00
Doug Blank
8830a4c762 3506: Allow third-party plugins (addons) to have their own config.ini file
svn: r14030
2010-01-11 14:29:29 +00:00
Doug Blank
8fdfd69951 Added get_active_object
svn: r14029
2010-01-11 13:50:32 +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
Nick Hall
b503fa2e25 Extend history functionality (back/forward) and active-changed signals to all primary objects
svn: r14023
2010-01-10 19:19:33 +00:00
Gerald Britton
afe85ad0d5 Tweaks and simplifications
svn: r14001
2010-01-08 21:47:02 +00:00
Peter Landgren
e4dfdb9190 Fix of issue 3480.
svn: r13996
2010-01-08 15:57:54 +00:00
Doug Blank
68e9b27265 Added method to make dates non-specific
svn: r13990
2010-01-07 21:41:07 +00:00
Gerald Britton
6726952bcc tweaks to reduce source and object code and run-time lookups
svn: r13981
2010-01-06 17:53:17 +00:00
Brian Matherly
1fa4e8d66c Continued work on GEP008: move gen/utils/longop.py, gen/utils/progressmon.py, ProgressDialog.py into gui/widgets/progressdialog.py.
svn: r13980
2010-01-06 05:27:28 +00:00
Brian Matherly
7aec8904ea Remove gen.db.iterator.py - it is not used.
svn: r13979
2010-01-06 04:44:09 +00:00
Gerald Britton
57ac58b67e Bug 3499: Referenced proxy not filtering out unreferenced sources
svn: r13974
2010-01-05 16:56:56 +00:00
Doug Blank
205b3beadd Enabled Quickviews on all list views; enabled References Quickview for all views
svn: r13947
2009-12-31 14:59:44 +00:00
Doug Blank
4f3d8f3675 Added missing 'return self' at end of unserialize to match the rest of the classes in lib.gen
svn: r13935
2009-12-29 03:24:38 +00:00
Doug Blank
a61a472668 Missing gettext
svn: r13927
2009-12-27 13:49:15 +00:00
Doug Blank
06d0291ff4 Refinements on database hierarchy
svn: r13907
2009-12-24 14:38:39 +00:00
Doug Blank
302781a6b3 Event types know how to abbreviate themselves
svn: r13898
2009-12-23 19:35:18 +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
eb23cfd76f 3467: Exporter returns an error, but it exports fine if we try once more during session
svn: r13892
2009-12-23 11:42:05 +00:00
Doug Blank
172988ff36 Apparently gen.proxy.dbbase and gen.db.dbdir are not needed anymore; edited support files too
svn: r13888
2009-12-22 22:53:25 +00:00
Doug Blank
699dcb13fe Fixed svn Id property
svn: r13881
2009-12-21 13:43:50 +00:00
Doug Blank
3edeee83f2 Moved fallback functions from Db to gen.utils
svn: r13877
2009-12-21 05:59:47 +00:00
Doug Blank
3a8b4d7e40 Moved fallback functions from Db to gen.utils
svn: r13876
2009-12-21 05:58:55 +00:00