54 Commits

Author SHA1 Message Date
Tim G L Lyons
5a3cef062c * Implemented merge Citation
* Updated merge Sources
* Implemented undo-redo for citations (revision 18069 had only added citations to the undo-redo list, not acted on that types of element)
* Fixed embedded lists for some of the object type editors that were done in Rev 18069
* Modified EditCitation so the source parameter is optional
* Added svn properties for all /src/Merge/merge*.py modules
* Added support for EditCitation from backreflist.py

svn: r18085
2011-08-30 10:40:30 +00:00
Tim G L Lyons
d3dcbb1c12 Implemented database upgrade for all eligible remaining object types.
Added Citations to undo-redo feature.
Moved Citation view within navigation pane to below Sources.
Removed useless edit button from sourcebackreflist.
Fixed default bottombar gramplets for citations. 

svn: r18069
2011-08-26 23:18:11 +00:00
Tim G L Lyons
f9df3503b2 Added svn properties and improved some code layout (mainly long lines).
svn: r17977
2011-07-29 10:31:41 +00:00
Tim G L Lyons
9ff46d9eab Initial prototype.
* Changed database to introduce Citations
* Introduced new Citation Primary object and CitationBase (equivalent to CitationRef) child object
* Implemented CitationTreeModel and CitationListModel
* Implemented CitationTreeView and CitationListView for new citation views in the navigator
* Implemented EditCitation which is used both for the citation views in the navigator and for the citations of an object
* Implemented the CitationEmbedList to display the citations of an object
* Modified the bottom bar gramplets to support citations
* Implemented the citation selector.
* Modified Media object to include references to Citations
* Initial work on deleting citations


svn: r17960
2011-07-24 18:30:28 +00:00
Nick Hall
f34d60ad9d 5055: Issue warning when attempting to edit media reference when media object is already being edited
svn: r17873
2011-06-30 20:41:15 +00:00
Gary Burton
ae30ba66ad Improve alignment of gallery objects and their text labels
svn: r17721
2011-06-08 19:51:58 +00:00
Nick Hall
03a93790c0 4880: Ensure image rectangle is updated when editing a media reference from the gallery
svn: r17378
2011-05-02 18:42:51 +00:00
Nick Hall
50486bb909 3649: Relative media paths used when creating new media objetcs by drag-and-drop
svn: r17087
2011-04-09 16:25:35 +00:00
Vassilii Khachaturov
4a03503c98 4796: 'Primary' string needs l10n context
CR: Benny
* Created two strings with l10n context instead of the old one,
'Role|Primary' and 'Name|Primary'.
* While testing, GUI started showing the context when not localized, fixed
that with appropriate sgettext instead of gettext in surnametab.py.
* While at it, changed also changed 'Family' in the Role context to 'Role|Family'.
* ru.po: major translations in the area of name and name formats.
The new Primary[...] and Patronymic[...] concept along with Notpatronymic
still don't fit well when translated :-(



svn: r16986
2011-03-30 14:43:34 +00:00
Michiel Nauta
a7906886af undo revision 16673
svn: r16742
2011-03-02 11:31:57 +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
Michiel Nauta
756bd836a0 4657: The "sort as" name is ignored
svn: r16673
2011-02-19 14:06:21 +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
Gary Burton
375b843abb Make create_buttons method protected rather than private because it is overridden by BackRefList class. Bug #4576
svn: r16506
2011-01-30 16:43:36 +00:00
Serge Noiraud
bfa5309cd7 src/gui/editors/displaytabs/Makefile.am : typo : MOSTLYcLEANFILES instead of MOSTLYCLEANFILES
svn: r16480
2011-01-26 19:45:55 +00:00
Benny Malengier
c2e353a72b 4383: Error while attempt to edit family
2521: Problem with erroneous birth date in using the family editor.
We show validation error on date > next year, and don't crash on large year anymore



svn: r16468
2011-01-25 12:45:49 +00:00
Benny Malengier
a877138bcb Mult surname interface changes:
* buttons on line of label
 * configurable height surname table


svn: r16435
2011-01-22 15:07:29 +00:00
Benny Malengier
864b3b6ef7 4376: A different Edit Person dialog
svn: r16196
2010-11-16 20:12:26 +00:00
Benny Malengier
0e3e420c38 4341: Error when adding a new place
svn: r16119
2010-11-02 18:57:13 +00:00
Benny Malengier
11411b4885 4340: Error when adding source reference
svn: r16111
2010-11-02 13:19:27 +00:00
Benny Malengier
443fae3890 4333: memory leak in 3.2
svn: r16105
2010-11-01 20:48:29 +00:00
Benny Malengier
1fee4971f4 4333: memory leak in 3.2
svn: r16089
2010-10-31 07:33:17 +00:00
Nick Hall
9df5336fde GEPS 006: Add Locality to Address and GEDCOM Import/Export
svn: r16071
2010-10-28 17:55:15 +00:00
Nick Hall
298827d843 GEPS 006: Add Locality field to Location
svn: r16063
2010-10-27 18:13:53 +00:00
Benny Malengier
209b34f359 various fixes and additions for GEP 021'
svn: r16043
2010-10-24 21:38:56 +00:00
Nick Hall
7f0e1752c1 Correct typo
svn: r16036
2010-10-24 17:37:23 +00:00
Benny Malengier
7b66d246b8 improvement in GUI on expand of displaytabs
svn: r16011
2010-10-18 18:44:49 +00:00
Benny Malengier
ac5693c97f add toggle btn for primary to surname table
svn: r16010
2010-10-18 18:33:18 +00:00
Benny Malengier
3cfbd2482d Add origin type selector with autocompletion to surname table
svn: r16009
2010-10-18 15:49:39 +00:00
Benny Malengier
ada8c30955 usibility tweak on surname columns
svn: r16008
2010-10-18 13:32:19 +00:00
Benny Malengier
4e595d0cf3 improve tab movement on surname table
svn: r16002
2010-10-16 08:06:14 +00:00
Benny Malengier
90379b7b42 continue adding to the editname GUI
svn: r15999
2010-10-15 21:42:56 +00:00
Doug Blank
1b884b129d Protection from a bad child drop
svn: r15785
2010-08-21 20:18:42 +00:00
Peter Landgren
e2d3fca8d8 Fix of issue 4078, note.get() unicode now.
svn: r15597
2010-06-28 07:43:41 +00:00
Doug Blank
96c081bb6e Some ordering problems when readonly db
svn: r15463
2010-05-23 15:42:18 +00:00
Doug Blank
7c4d945da6 Backrefmodel will skip missing or inaccessible objects
svn: r15459
2010-05-23 14:59:04 +00:00
Benny Malengier
229cf5ccc0 3761: Error when editing family event
svn: r14924
2010-03-24 19:46:21 +00:00
Gary Burton
b99bcd2a89 Do not explicitly set an item width as it causes excessive whitespace around thumbnails when the image description becomes longer.
svn: r14589
2010-03-02 21:57:00 +00:00
Benny Malengier
4105b54984 Fix bug: allow drop from Nautilius/Dolphin
svn: r14542
2010-03-01 08:57:44 +00:00
Benny Malengier
699d0d9eb8 Fix bug: allow drop from Nautilius/Dolphin
svn: r14540
2010-03-01 08:51:48 +00:00
Peter Landgren
f98d049f20 Further improvments to drag and drop mult files in Windows.
svn: r14535
2010-02-28 21:29:24 +00:00
Benny Malengier
528ba93613 Fix drag/drop bug: allow multiple drop on gallery
svn: r14515
2010-02-28 14:02:45 +00:00
Peter Landgren
61ae6d87ec Fix of issue 3534.
svn: r14447
2010-02-23 13:47:09 +00:00
Benny Malengier
7392cac134 3513: Cannot move up an individual alone in the event tab (Person Editor)
svn: r14388
2010-02-15 13:18:49 +00:00
Jérôme Rapinat
c77515294c 3595: More confort for non-english users
svn: r14303
2010-02-10 17:02:26 +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
7a3732d6fa Fixed typo.
svn: r14132
2010-01-25 08:56:05 +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
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