Commit Graph

18 Commits

Author SHA1 Message Date
Gerald Britton
52b136b305 In method collect_unused, replace dispatch dictionary with tuple
svn: r16604
2011-02-11 14:50:30 +00:00
Benny Malengier
6d596ad987 4198: Person view does not remove a row correctly when two people are merged.
This is a major patch by Michael Nauta. It means all writes happen immediately to bsddb, and the bsddb 
rollback is used on a crash. Transaction is no longer used to store changes and do them on commit.
Undo database is set on end. 
At the same time with statement is used throughout for transactions
At the same time, the original bug in merge code should be fixed
Still some issues, that will be ironed out


svn: r16523
2011-01-31 21:54:58 +00:00
Gerald Britton
fe5887626c Remove unnecessary line continuations and tidy up a bit
svn: r16458
2011-01-24 16:27:23 +00:00
Peter Landgren
9127018ca9 Some unnecessary unicode conversion cleanup after fix of issue 4078.
svn: r15605
2010-06-30 07:13:02 +00:00
Brian Matherly
df32be43de 0003796: Make export available when no GUI available. Patch from jmodule (Jakim Friant).
svn: r15294
2010-05-01 04:12:42 +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
252ef6daee Continued work on GEP008: Move BasicUtils/UpdateCallback.py to gen/updatecallback.py.
svn: r14025
2010-01-10 20:21:10 +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
bbe2b6da0c move src/Editors/* to src/gui/editors as part of GEP008
svn: r13807
2009-12-15 05:56:12 +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
Peter Landgren
f3931f0168 Slicing of strings must be with unicode strings.
svn: r13165
2009-09-07 20:07:05 +00:00
Raphael Ackermann
01e89f17f2 typo & pep8 fixes
svn: r12950
2009-08-10 21:23:38 +00:00
Gerald Britton
70a0c50fca Use GrampsCursor as a context manager using "with" statement
svn: r12672
2009-06-16 15:49:17 +00:00
Gerald Britton
110557c3c7 Add glade.py with Glade class and use instead of gtk.Builder throughout project
svn: r12528
2009-05-14 20:15:59 +00:00
Gerald Britton
82aac3836f plugins/tools: make file path build logic conform to Python standards
svn: r12450
2009-04-15 19:27:17 +00:00
Gerald Britton
39132b011a RemoveUnused.py: convert to use gtkbuilder instead of libglade
svn: r12422
2009-04-09 19:53:38 +00:00
Brian Matherly
7b47dc61ad Move all tools into plugins/tool.
svn: r11633
2009-01-16 19:54:58 +00:00