Commit Graph

430 Commits

Author SHA1 Message Date
Gerald Britton
cd90261ff0 Bug 003611: delete/undo/delete sequence causes crash
svn: r14389
2010-02-15 14:14:35 +00:00
Benny Malengier
c76159ab9d 3580: People list (private handlers) and display Name format
in reality: associations are not removed on delete person


svn: r14384
2010-02-15 12:13:43 +00:00
Doug Blank
6cf43dd3d8 Track options
svn: r14353
2010-02-13 16:22:35 +00:00
Doug Blank
b1354d2009 Regenerate gui options because previous configdialog may have deleted them; draw a frame around options that need 'save'.
svn: r14349
2010-02-13 06:37:50 +00:00
Doug Blank
06bc6a8a8f Every plugin needs a gramps_target_version for 3.2+
svn: r14341
2010-02-12 20:23:05 +00:00
Doug Blank
f342323d6a Fixed 2-point versions; did allow any 2-point less that gramps to load-- now must match 1-point parts (3.2)
svn: r14318
2010-02-11 13:45:51 +00:00
Doug Blank
49823df7fe Allow 2-point versions <= gramps version; added ERROR to print statements
svn: r14315
2010-02-11 13:26:28 +00:00
Doug Blank
d7c2e39492 Still need to build the non-gui options
svn: r14308
2010-02-10 23:25:08 +00:00
Doug Blank
843fb89ba0 Plugins required to be correct version
svn: r14300
2010-02-10 12:13:47 +00:00
Doug Blank
ea627392e8 Don't build options
svn: r14295
2010-02-09 13:15:31 +00:00
Benny Malengier
1a5f1720c0 Allow plugins to register their icons, new icons for geoview
svn: r14289
2010-02-09 00:07:43 +00:00
Gerald Britton
7975d5c3c4 Revert some map calls to list comps to correct bug introduced in rev. 14104
svn: r14191
2010-02-02 13:56:15 +00:00
Gerald Britton
4268634b1f Remove method that is now unused as a result of changes in rev. 14179
svn: r14183
2010-02-01 18:30:16 +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
Doug Blank
30c5030ebe A method for comparing person == person
svn: r14146
2010-01-27 06:05:24 +00:00
Brian Matherly
ac820cb8df PEP8 Improvements. Remove dependency on DateHandler.
svn: r14145
2010-01-27 03:38:30 +00:00
Doug Blank
81bb97e2df Refinements on statusbar update; only updated when really necessary; fixed bug in updating when db is closed
svn: r14141
2010-01-26 13:38:05 +00:00
Doug Blank
e7c5d7a207 Start out dirty and not active; removed debugging stuff
svn: r14140
2010-01-26 13:04:01 +00:00
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