Commit Graph

236 Commits

Author SHA1 Message Date
Michiel Nauta
a73699e6da Update TestcaseGenerator to work with new transaction code
svn: r16705
2011-02-23 19:34:59 +00:00
Benny Malengier
752d594571 4198: Person view does not remove a row correctly when two people are merged.
This patch improves on the context changes:
 * avoid use of transaction_xx methods
 * force an abort in case of unclean transaction

Backward compatibility is broken to achieve this.


svn: r16680
2011-02-20 10:52:06 +00:00
Gerald Britton
52b136b305 In method collect_unused, replace dispatch dictionary with tuple
svn: r16604
2011-02-11 14:50:30 +00:00
Gerald Britton
a8375c02df Rearrange comments for added clarity
svn: r16601
2011-02-11 14:03:02 +00:00
Gerald Britton
6bfc9224d8 In method cleanup_empty_objects, replace dispatch dictionary with tuple
svn: r16598
2011-02-10 17:46:21 +00:00
Michiel Nauta
1231b1cac8 4590: Error on access of LDS editor when sealed to family has been removed.
svn: r16592
2011-02-09 16:03:52 +00:00
Jérôme Rapinat
c67d02847b 4326: typos (by PaulFranklin); part I
svn: r16543
2011-02-02 18:33:16 +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
Jérôme Rapinat
2b24b1210d typo
svn: r16497
2011-01-28 15:33:20 +00:00
Gerald Britton
7c3bcc5f06 Remove redundant line continuations
svn: r16459
2011-01-24 18:55:52 +00:00
Gerald Britton
fe5887626c Remove unnecessary line continuations and tidy up a bit
svn: r16458
2011-01-24 16:27:23 +00:00
Benny Malengier
b3beba53d8 Some bsddb changes
* allow to use bsddb3 as database via a config setting
  * set async write to disk to improve speed, eg import * 40


svn: r16446
2011-01-23 21:25:51 +00:00
Benny Malengier
710726f259 correct tab errors given by tabnanny
svn: r16439
2011-01-22 16:47:26 +00:00
Peter Landgren
7dfa50b602 Issue 4515, Check and Repair replaces illegal cntrl char with space.
svn: r16342
2011-01-06 12:12:23 +00:00
Peter Landgren
099f28ad59 Issue 4460. Fixed by changing =+ to +=.
svn: r16300
2010-12-19 12:04:21 +00:00
Doug Blank
0f2c2b5108 4436: FindDuplicated tool uses merging
svn: r16283
2010-12-15 12:21:46 +00:00
Doug Blank
84c07b3f56 Added batch media tool to sync directories of images with Gramps media database files
svn: r16273
2010-12-12 18:15:24 +00:00
Jérôme Rapinat
a92ee1341f 3930: Verify data tool ignores role on burial event
svn: r16257
2010-12-07 13:44:18 +00:00
Jérôme Rapinat
325bb5086e 4436: FindDuplicated tool uses merging (fix by MD Nauta)
svn: r16254
2010-12-06 09:02:01 +00:00
Nick Hall
9c14d3b487 GEPS 006: Add Locality to researcher
svn: r16082
2010-10-29 23:11:08 +00:00
Benny Malengier
833759d3dd correct errors introduced by allowing no gtk loading plugins for CLI
svn: r16076
2010-10-29 13:01:46 +00:00
Benny Malengier
4f52aa63e4 Don't use database in tool description
svn: r16040
2010-10-24 19:07:10 +00:00
Benny Malengier
e109e3d743 Merged geps21 branch, changes r15866-16034, into trunk
svn: r16035
2010-10-24 14:43:47 +00:00
Benny Malengier
cf943afcd5 Finish patchname tool
svn: r16033
2010-10-24 13:06:55 +00:00
Benny Malengier
d7178e96d7 new patch names tool version 1
svn: r16028
2010-10-23 14:50:25 +00:00
Nick Hall
c3e527b4fb GEPS 011: Tagging - Extended to Family, Note and Media objects
svn: r16025
2010-10-22 23:22:33 +00:00
Benny Malengier
ee91b33a43 gedcom import export for new name structure
svn: r16022
2010-10-22 14:20:01 +00:00
Benny Malengier
a3556d839b fix the finddupes tool for surnames
svn: r16019
2010-10-20 20:07:05 +00:00
Benny Malengier
4d89c9da3b fix name capitilization tool for surnames
svn: r16017
2010-10-20 19:50:00 +00:00
Doug Blank
07a999f555 4273: Error during execution of CLI command (part 2, TestcaseGenerator)
svn: r15991
2010-10-15 17:03:57 +00:00
Doug Blank
a84b54901a 4273: Error during execution of CLI command (part 1, Verify)
svn: r15990
2010-10-15 16:58:41 +00:00
Peter Landgren
ed6f4a0080 Issue 4276: Gramps cli interface for user with non latin characters in name. Mostly Windows.
svn: r15984
2010-10-14 11:46:05 +00:00
Doug Blank
3af98c256f 4285: Check and Repair, check_dates gives an error
svn: r15980
2010-10-13 11:10:24 +00:00
Peter Landgren
1d8a776cd3 Part 1 of issue 4276. I principle same patch as for branch, but adapeted to trunk.
svn: r15959
2010-10-09 12:33:47 +00:00
Benny Malengier
371205ec70 Fix surname index for autocompletion
Fix check tool and start with importgrdb upgrade


svn: r15949
2010-10-02 16:01:34 +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
Igal Shapira
9e99065877 Merge hebrew translations to trunk (67%)
svn: r15536
2010-06-06 18:17:48 +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
Nick Hall
e090d8d250 3731: Add place name column to place tree view
svn: r14951
2010-03-27 23:00:41 +00:00
Benny Malengier
86238994bb 3721: RuntimeWarning on Event comparison tool
svn: r14839
2010-03-15 22:05:26 +00:00
Benny Malengier
4aca1a8a3f make notrelated ok in glade designer
svn: r14723
2010-03-09 21:00:13 +00:00
Benny Malengier
ada5e33c08 add help button to changenames as it is assumed in the code
svn: r14720
2010-03-09 20:53:45 +00:00
Doug Blank
3ae0224e1a Removed Django import/export and CalcEstimateDates (moved to addons)
svn: r14685
2010-03-07 21:42:03 +00:00
Benny Malengier
5e01687b73 3671: Asymmetric strings in Check plugin
svn: r14659
2010-03-07 09:18:12 +00:00
Doug Blank
dcfb25abc4 Trunk is now version 3.3.0
svn: r14653
2010-03-06 22:47:25 +00:00
Benny Malengier
c6f071e43b 3441: Need to connect on_result_delete_event on glade dialogs - part 2
svn: r14641
2010-03-05 22:52:12 +00:00
Benny Malengier
4df36b23d3 3441: Need to connect on_result_delete_event on glade dialogs
svn: r14640
2010-03-05 22:36:04 +00:00
Benny Malengier
d7e9b5a9da 3271: Verify tool glade file needs to have elements renamed
svn: r14629
2010-03-05 15:43:50 +00:00
Peter Landgren
b2b889e39c Fixed another three problems with string formatting using {}.
svn: r14616
2010-03-04 14:09:40 +00:00
Jérôme Rapinat
7e0cfce9f7 3659: unable to load MediaManager
svn: r14609
2010-03-04 13:26:43 +00:00
Benny Malengier
045a787ad1 03650: Cannot execute changes proposed by Calculate Estimated Date
svn: r14577
2010-03-02 11:20:17 +00:00
Peter Landgren
3e907c7e85 Dix of issue 3645.
svn: r14551
2010-03-01 18:08:09 +00:00
Gary Burton
20105369fd Fix for 0003629: Cannot set entry on marker field into NotRelated tool
svn: r14533
2010-02-28 21:13:37 +00:00
Doug Blank
3fb9d1fcae 3639: Check and Repair tool fails with unsupported operand
svn: r14503
2010-02-27 12:12:55 +00:00
Jérôme Rapinat
e5ee70c94b typo
svn: r14502
2010-02-27 09:30:42 +00:00
Doug Blank
ea86578163 3639: Check and Repair tool fails with unsupported operand
svn: r14493
2010-02-26 01:54:19 +00:00
Jérôme Rapinat
5d2c817048 typo
svn: r14488
2010-02-25 17:19:12 +00:00
Rob G. Healey
36a91b6cb9 Changed some formatted strings to named variables for 'make distcheck' to work properly.
svn: r14483
2010-02-25 15:52:32 +00:00
Doug Blank
5868bd6c21 3628: Frames not set on CalcToolManagedWindow class
svn: r14472
2010-02-25 01:05:46 +00:00
Rob G. Healey
a23786bb26 Fixed two errors incurred from r14448.
svn: r14449
2010-02-24 07:10:40 +00:00
Rob G. Healey
a4bc9b6d2b Added formatted strings for distcheck.
svn: r14448
2010-02-24 06:37:21 +00:00
Peter Landgren
db8c3c9304 Separate gpr file for non-debug tools. Part of Makefile.am
svn: r14394
2010-02-15 15:13:25 +00:00
Peter Landgren
618e69e065 Separate gpr file for debug tools. Not part of Makefile.am
svn: r14393
2010-02-15 15:12:08 +00:00
Benny Malengier
89c4ee887c fix papercut: OKDialogs which are modal but can hide behind gramps are very
annoying: fix 6 of them in often used tools


svn: r14387
2010-02-15 12:45:33 +00:00
Doug Blank
843fb89ba0 Plugins required to be correct version
svn: r14300
2010-02-10 12:13:47 +00:00
Jérôme Rapinat
f2394a3018 typo
svn: r14229
2010-02-05 18:09:15 +00:00
Gerald Britton
457231110f fix some duplicate gtk object ids causing crashes on recent versions of gtk
svn: r14201
2010-02-03 21:08:18 +00:00
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