Commit Graph

119 Commits

Author SHA1 Message Date
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
Doug Blank
514af57f3c Added help trans, and fixed .transaction issue
svn: r14154
2010-01-28 14:34:09 +00:00
Doug Blank
e16a75f449 Some bug fixes on Probably Alive
svn: r14147
2010-01-27 06:06:35 +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
Doug Blank
09b0e50d41 Added est date modifier type (about, or after/before)
svn: r14117
2010-01-24 16:19:55 +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
97c058af9b probably_alive and CalcEstDates now share same codebase; rewritten probably_alive
svn: r14102
2010-01-20 13:39:37 +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
Gary Burton
8e08e3199c Fix for tree model changes. See bug 3503
svn: r14081
2010-01-16 22:23:24 +00:00
Brian Matherly
d9a0ab8a90 Continued work on GEP008: Consolidate src/FilterEditor files into one file and move it to gui/filtereditor.py.
svn: r14074
2010-01-14 04:58:30 +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
Jérôme Rapinat
90b902fda3 Do not need to translate DEBUG tools (name, description)
svn: r14043
2010-01-12 13:01:22 +00:00
Doug Blank
f15f18056b Some minor refinements
svn: r14034
2010-01-11 19:42:35 +00:00
Doug Blank
44b940f07f 3511: Minor improvements on new 'Calculate Estimated dates' tool
svn: r14032
2010-01-11 16:31:22 +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
Doug Blank
4093c1060c Now searches spouse, and their familes, for evidence
svn: r14015
2010-01-10 07:45:10 +00:00
Doug Blank
2d60b8763a Enhanced Calculate Estimated Dates tool
svn: r14014
2010-01-10 04:06:44 +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
Gerald Britton
721f97459e Fix duplicate object ids in glade files
svn: r14009
2010-01-09 19:39:43 +00:00
Doug Blank
3664fbb913 Added on_delete_event signal handler to surpress RuntimeWarning: missing handler
svn: r13983
2010-01-07 14:10:26 +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
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
872e971fd3 gen.lib and gen.utils are independent; removed gen.utils.dbutils --- moved db methods to gen.db.base
svn: r13872
2009-12-21 04:18:31 +00:00
Brian Matherly
bbe2b6da0c move src/Editors/* to src/gui/editors as part of GEP008
svn: r13807
2009-12-15 05:56:12 +00:00
Brian Matherly
0001133eb8 move src/widgets/* to src/gui/widgets as part of GEP008
svn: r13791
2009-12-14 03:20:19 +00:00
Doug Blank
a547cc8658 RuntimeWarning: missing handler 'on_delete_event'
svn: r13768
2009-12-11 17:39:43 +00:00
Peter Landgren
0b711b211c Third update for consistent use of Gramps. See issue 3355.
svn: r13633
2009-11-19 17:32:11 +00:00
Peter Landgren
900d1c57f4 Second update for consistent use of Gramps. See issue 3355.
svn: r13611
2009-11-17 20:45:58 +00:00
Peter Landgren
33686fcf18 First update for consistent use of Gramps. See issue 3355.
svn: r13610
2009-11-17 20:14:53 +00:00
Benny Malengier
19522ec975 GEPS 014: Plugin registration and management
Also views are now plugins belonging to view category


svn: r13528
2009-11-08 16:41:49 +00:00
Benny Malengier
53de46901e add license to gpr.py files
svn: r13424
2009-10-26 19:15:58 +00:00
Benny Malengier
cad5461b2d 3282: Gramps should only display marriage event with role = family (or primary)
svn: r13411
2009-10-25 16:52:45 +00:00
Benny Malengier
d25cdc3958 3292: register plugins, load on need, not on start of GRAMPS - GEPS 014
Improvements: gen.plug only depends on gen, relationship default is moved
to Relationship.py, and config for hidden to a gui.pluginmanager


svn: r13405
2009-10-25 13:52:29 +00:00
Doug Blank
c10da3fec5 Fixed stderr traceback output; added dbstate to interact with the db; fixed missing on_delete_event signal
svn: r13404
2009-10-25 03:12:36 +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
Doug Blank
99282aa715 3272: Proposal for updating config settings
svn: r13346
2009-10-08 01:12:51 +00:00
Gerald Britton
bebba4b366 Bug 0003063: gtk.Tooltips is deprecated -- second batch of updates
svn: r13340
2009-10-07 20:01:39 +00:00
Gerald Britton
f845666899 remove debugging print statement and fix indentation
svn: r13284
2009-10-01 20:42:52 +00:00
Gerald Britton
53dd372508 Remove commented debugging code
svn: r13270
2009-09-28 15:49:01 +00:00
Gerald Britton
2cb36b4cb7 Go back to using list of handles until bsddb DBCursor.put method better understood
svn: r13269
2009-09-28 15:43:54 +00:00
Gerald Britton
9b586eaf4f 1. Enhance cursor.py to support updating records after reading them
2. Implement enhancement in write.py, get_cursor method
3. Exploit new capability in ChangeNames.py

svn: r13237
2009-09-23 20:07:58 +00:00
Doug Blank
9e66f354df #2073: Adds a warning (about turning off undo, rather than filling with bogus data), but this is only seen by developers, and at least gives a chance to cancel; probably not worth a special class just to provide proper message
svn: r13233
2009-09-23 00:40:14 +00:00
Gerald Britton
b3bca61535 Fix deadlock in ChangeNames
svn: r13207
2009-09-15 16:03:41 +00:00
Gerald Britton
966d2bcd42 Use new iter_objects methods
svn: r13203
2009-09-14 20:50:25 +00:00
Gerald Britton
941fff23ae Tweaks to use inplace arithmetic
svn: r13191
2009-09-10 18:49:48 +00:00
Jérôme Rapinat
e8033040bb #3182 Add an used singular form, avoid empty string on translation dict
svn: r13188
2009-09-10 13:49:58 +00:00
Peter Landgren
f3931f0168 Slicing of strings must be with unicode strings.
svn: r13165
2009-09-07 20:07:05 +00:00
Gerald Britton
3564b04584 1. Implement iter_<object> methods in proxybase.
2. Change include_object to include_media_object to avoid confusion
3. Make _validated_id_prefix method in read.py a staticmethod
4. Use new iter_<objects> methods in Records.py, StatsgGramplet.py, GivenNameGramplet.py, ExtractCity.py and _IsSiblingOfFilterMatch.py as examples

svn: r13151
2009-09-02 20:10:45 +00:00