246 Commits

Author SHA1 Message Date
Tim G L Lyons
bb854ec772 Modifications as suggested by Nick Hall:
* Remove inheritance of Citation from RefBase, using source_handle filed instead (similar to  the way Family objects store mother and father handles) (also use the set_ and get_reference_handle functions more consistently)
* Use get_citation_list instead of get_citation_references (more consistent with the way notes are handled)

svn: r18100
2011-09-02 10:40:53 +00:00
Tim G L Lyons
29cc4ee6e9 * various updates to CitationView, CitationEmbedView and CitationEditor to take account of Rev 17973 for two different object types in selectors
* updates to citationviews to support all the functionality (add source etc.) provided by sourceview (including different tooltips for tree view and list view)
* moved registration of citationtreeview into view.grp.py
* removed citationtreeview.grp.py module
* fixed update to citation when note is deleted
* fixed update to citation when media object is deleted
* re-enabled edit button in sourcebackreflist
* improved date display in mergecitation
* changed default note type for citation notes
* changed backref in citation editor to CitationBackRefList
* fixed removal of citation handles from the list in primary objects when a citation is deleted
* fixes for pylint

svn: r18095
2011-09-01 18:13:42 +00:00
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
165625715d Various enhancements:
* Modified Event object to include references to Citations
* Implemented database upgrade for Events (upgrade for Media had already been done)
* Enhanced database upgrade to do backlinks
* Modified Media object to remove sourceref
* Implemented citations bottombar gramplet
* Some minor fixes and improvements

svn: r18054
2011-08-23 16:54:03 +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
Michiel Nauta
2a10453af0 5046: GEDCOM import fails on aka name
svn: r17838
2011-06-27 15:20:56 +00:00
Benny Malengier
75e6b38fbc Allow modifier % on styledtext
svn: r17579
2011-05-27 09:06:48 +00:00
Doug Blank
521b8fa98d Made NextYear use Today() + 1
svn: r17547
2011-05-21 22:06:40 +00:00
Jérôme Rapinat
1ab2656517 2521, 4923 'after' and validation (partial fix); typo on NextYear()
svn: r17545
2011-05-21 08:38:22 +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
d1a8593f7f Add merge unittests
svn: r16952
2011-03-27 21:15:07 +00:00
Benny Malengier
3c9fa2c1d4 4598: (trunk 3.3) new name format copies patronymic into surname as well as leaving it as a patronymic when importing
This extends what name display can be


svn: r16848
2011-03-18 10:42:03 +00:00
Michiel Nauta
12a01f6700 4759: Make setting a grampstype only assign a string when type is CUSTOM
svn: r16837
2011-03-16 22:06:28 +00:00
Michiel Nauta
3e76c9d3b5 4758: Copy constructor of gen.lib objects uses shallow copy instead of deep copy
svn: r16825
2011-03-15 21:52:08 +00:00
Michiel Nauta
959bea3507 4041: Filter rule people with records containing <substring> fails on street name
svn: r16760
2011-03-05 10:47:07 +00:00
Peter Landgren
dbfd4c9e35 Further improvment for Swedish Calendar.
svn: r16675
2011-02-19 14:13:46 +00:00
Peter Landgren
e3557e3008 Improved Swedish Calendar.
svn: r16643
2011-02-17 08:36:40 +00:00
Gerald Britton
a19e65073c Use built-in map function to simplify some list comprehensions
svn: r16636
2011-02-16 20:06:40 +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
Peter Landgren
8aec0756a8 Better abbreviations, thanks to Paul Franklin.
svn: r16568
2011-02-04 15:43:36 +00:00
Michiel Nauta
a34d022cae Restore person-place replace_handle_reference.
svn: r16555
2011-02-03 18:17:00 +00:00
Peter Landgren
35d8b00993 Added a comment.
svn: r16528
2011-02-01 12:11:51 +00:00
Peter Landgren
7716c7cbdd Issue 4425: Abbreviation algorithm does not work for all languages.
svn: r16518
2011-01-31 19:40:27 +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
Gerald Britton
0b0913bac1 Remove unneeded line continuations
svn: r16450
2011-01-23 23:01:50 +00:00
Benny Malengier
1e119f93c3 location as predifined name origin type
svn: r16436
2011-01-22 15:09:38 +00:00
Gerald Britton
680a780a8c Remove redundant line continuations
svn: r16425
2011-01-21 16:27:54 +00:00
Benny Malengier
2667c4262f 4336: Generate a set of filters matching Alternate names, Nickname attribute and a NameType() selector
svn: r16420
2011-01-21 12:10:10 +00:00
Nick Hall
bb41511fc4 Add get_divorce_or_fallback function
svn: r16352
2011-01-09 00:05:38 +00:00
Doug Blank
4daf72f8d8 Assert to make sure method is called correctly
svn: r16317
2010-12-27 18:22:54 +00:00
Jérôme Rapinat
205b1f107b 4463: Forgotten return statement in get_surnames/get_prefixes/get_connectors (contribution by MD Nauta)
svn: r16286
2010-12-15 16:51:31 +00:00
Doug Blank
67cb93a28c 3719: Pedigree View: should display engagement date if no marriage known; added markup dates to family view to show fallback dates, and invalid dates; pedigreeview shows abbrev. date with markup, and tooltip details
svn: r16250
2010-12-05 17:58:56 +00:00
Benny Malengier
482f2d112e extend nameorigin with 3 extra types: coming from father, from mother, and from occupation.
Adding surname to the generated docs


svn: r16197
2010-11-16 20:29:45 +00:00
Jérôme Rapinat
bb5ad700e3 New event role type: 'Informant' (UK, FR)
svn: r16191
2010-11-14 12:58:40 +00:00
Jérôme Rapinat
b43e13d6c4 4345: custom TIME on eventdate
svn: r16178
2010-11-11 14:55:36 +00:00
Doug Blank
02db3c69af 4122: feature request: have Relationship View optionally show divorces
svn: r16108
2010-11-02 11:45:49 +00:00
Nick Hall
fd73514004 Update is_empty method with street and locality
svn: r16088
2010-10-30 22:17:21 +00:00
Nick Hall
9c14d3b487 GEPS 006: Add Locality to researcher
svn: r16082
2010-10-29 23:11:08 +00:00
Nick Hall
298827d843 GEPS 006: Add Locality field to Location
svn: r16063
2010-10-27 18:13:53 +00:00
Benny Malengier
9608af29a1 allow no surname list to be created when needed
svn: r16044
2010-10-24 21:57:05 +00:00
Benny Malengier
e109e3d743 Merged geps21 branch, changes r15866-16034, into trunk
svn: r16035
2010-10-24 14:43:47 +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
920535e3f6 fix in name object and quickview for names
svn: r16020
2010-10-20 20:26:23 +00:00
Benny Malengier
0ca48dd811 Working xml export
svn: r15948
2010-10-02 13:38:36 +00:00
Benny Malengier
e9599d762d Working namedisplay
Working display section in preferences


svn: r15946
2010-10-01 21:22:25 +00:00
Benny Malengier
f111dcbad9 add nick and famnick
svn: r15930
2010-09-25 15:11:54 +00:00
Doug Blank
90f23818c4 4256: r15645 Created gen/lib/const.py, didn't add it to Makefile.am
svn: r15928
2010-09-24 23:40:15 +00:00