Tim G L Lyons
c833073ba6
GEPS023: merge branch (changes 17960-18546) into trunk
...
svn: r18548
2011-12-04 17:09:17 +00:00
Tim G L Lyons
f0bb1205f3
Tidy up some comments
...
svn: r18497
2011-11-24 14:54:29 +00:00
Tim G L Lyons
9f29350da4
Fix bug that wasn't taking account of the fact that event references in Person and Family have attributes which themselves can have Citations.
...
* In Person, add event_ref_list to get_citation_child_list (therefore it is no longer needed in get_handle_referents)
* Similarly in Family, add event_ref_list to get_citation_child_list
* Enhance upgrade to add upgrade of event_ref_list for person and family
* Add has_citation_reference, replace_citation_references and remove_citation_references to EventRef
* Change name of remove_citation_refs to remove_citation_references to be consistent with has_citation_reference (singular) and replace_citation_references
Fix editcitation because it was displaying the wrong privacy button for sources.
Also remove FIXME for editcitation for db signal connect, because comment explains why it is not needed.
svn: r18469
2011-11-20 17:42:04 +00:00
Tim G L Lyons
f8f510d5f1
Delete remove_source_references and replace_source_references as they are no longer needed.
...
Rename remove_citation to remove_citation_refs and make it apply to a citation_handle_list.
Updated tool/Check.py to change check_source_references into check_citation_references
svn: r18433
2011-11-11 17:12:43 +00:00
Michiel Nauta
9dd5465216
5140: Import of Gramps XML file with cross table duplicate handles crashes
...
svn: r18036
2011-08-16 20:06:43 +00:00
Michiel Nauta
5badd6ca06
Store changed children during family deletion
...
svn: r16768
2011-03-06 18:59:10 +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
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
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
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
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
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
Benny Malengier
5e01687b73
3671: Asymmetric strings in Check plugin
...
svn: r14659
2010-03-07 09:18:12 +00:00
Peter Landgren
b2b889e39c
Fixed another three problems with string formatting using {}.
...
svn: r14616
2010-03-04 14:09:40 +00:00
Peter Landgren
3e907c7e85
Dix of issue 3645.
...
svn: r14551
2010-03-01 18:08:09 +00:00
Doug Blank
3fb9d1fcae
3639: Check and Repair tool fails with unsupported operand
...
svn: r14503
2010-02-27 12:12:55 +00:00
Doug Blank
ea86578163
3639: Check and Repair tool fails with unsupported operand
...
svn: r14493
2010-02-26 01:54:19 +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
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
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
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
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
c5f54d0cfc
Continued work on GEP008: Move src/BasicUtils/_NameDisplay.py to src/gen/display.
...
svn: r14072
2010-01-14 04:08:04 +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
Peter Landgren
0b711b211c
Third update for consistent use of Gramps. See issue 3355.
...
svn: r13633
2009-11-19 17:32:11 +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
Gerald Britton
1587cb8ad1
Implement restructured database objects
...
svn: r13139
2009-08-31 18:42:29 +00:00
Raphael Ackermann
9239780182
cleanup & pep8
...
svn: r13021
2009-08-15 14:37:14 +00:00
Benny Malengier
9d417e2cd6
Split Utils in a non GUI and GUI part
...
move GrampsCfg utils to Utils
improve import strategy
svn: r12680
2009-06-19 15:23:58 +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
bb83288883
Check.py: replace get..handles and map..keys calls with calls to new iterator functions
...
svn: r12662
2009-06-12 16:19:48 +00:00
Gerald Britton
021b754939
Bug 3011: change old-style classes to new-style classes
...
svn: r12559
2009-05-21 17:19:50 +00:00
Gerald Britton
21e96b0616
Bug 2888 - minor edits and cleanup
...
svn: r12529
2009-05-15 18:12:10 +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
a3f82400ef
Check.py - convert to use gtkbuilder instead of libglade
...
svn: r12409
2009-04-08 19:41:22 +00:00
Doug Blank
24102deb74
2803: 'Check & Repair Database' failed at stage: 'Checking families for proper date formats'
...
svn: r12303
2009-03-10 12:56:16 +00:00
Doug Blank
b1c5eaa9ee
2803: 'Check & Repair Database' failed at stage: 'Checking families for proper date formats'
...
svn: r12298
2009-03-10 12:25:17 +00:00
Doug Blank
baba8c7bd5
2792: Dates in sourcereferences in person_ref_list not upgraded; added repair for dates that were not converted
...
svn: r12287
2009-03-09 19:52:17 +00:00
Brian Matherly
bff93f186a
0002655: Directories and files with accents characters cause failures in Windows.
...
svn: r12106
2009-02-24 04:41:23 +00:00
Jérôme Rapinat
be6c00842d
#2657,#1718 use ngettext
...
svn: r11820
2009-02-03 10:33:19 +00:00
Jérôme Rapinat
1e6da8730c
#2657,#1718 use ngettext
...
svn: r11773
2009-01-31 11:29:44 +00:00