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
Nick Hall
f748668c89
GEPS 011: Tagging - Converted to use new database table object
...
svn: r15921
2010-09-21 17:52:37 +00:00
Benny Malengier
bb248fadce
Good progress: * name displayer updated to new structure
...
* person view coded updated
* small change in dbloader so errors can be seen
svn: r15914
2010-09-17 22:13:31 +00:00
Benny Malengier
84edfee57b
updated Name object to new structure
...
svn: r15913
2010-09-17 13:26:36 +00:00
Benny Malengier
6011cb3ec9
some administrative cleanup
...
svn: r15912
2010-09-17 12:18:41 +00:00
Benny Malengier
fa41e63f5a
Surnamebase, surname and nameorigintype finished
...
svn: r15901
2010-09-14 22:07:51 +00:00
Benny Malengier
86ed7108d2
surnamebase class to inherit surname lists
...
svn: r15866
2010-09-09 16:54:34 +00:00
Nick Hall
bf8146b9d1
GEPS 011: Tagging
...
svn: r15830
2010-08-29 18:36:42 +00:00
Doug Blank
e4bb905303
Added is_type('Name'), is_burial(), and is_baptism()
...
svn: r15670
2010-07-31 15:17:23 +00:00
Doug Blank
3e28ee67ec
2059: need a way to compare and merge all objects, by MD Nauta
...
svn: r15645
2010-07-22 02:16:32 +00:00
Peter Landgren
8900ce7f6d
Fix of issue 4078, note.get() unicode now.
...
svn: r15599
2010-06-28 07:45:05 +00:00
Doug Blank
943cfd07e2
4037: get_full_path method of gen.lib.url uses undefined variable
...
svn: r15517
2010-05-31 12:56:19 +00:00
Doug Blank
40b8c2d9a2
3914: Add a new markup for creating links to URLs and for gramps objects
...
svn: r15340
2010-05-06 15:54:33 +00:00
Benny Malengier
56c85f0255
3815: Notes with html show verbatim in narrative web
...
svn: r15169
2010-04-16 20:59:10 +00:00
Doug Blank
3e7ae3aeb5
Protect from unknown types---just mark as unknown
...
svn: r15162
2010-04-16 15:35:40 +00:00
Doug Blank
2842f8e8a5
3131: sibling quickview doesn't reflect person view
...
svn: r15033
2010-04-05 02:53:32 +00:00
Raphael Ackermann
e371599df4
docstring typo fixes
...
svn: r15030
2010-04-04 18:55:58 +00:00
Doug Blank
c551d6beb1
Newyear import/export changes and fix
...
svn: r15027
2010-04-04 12:10:12 +00:00
Doug Blank
cc843399a6
Typo on newyear fix
...
svn: r15024
2010-04-04 11:32:10 +00:00
Doug Blank
7047015603
3756: Cannot set new year value different than default (first January)
...
svn: r15010
2010-04-03 23:33:17 +00:00
Benny Malengier
9ab5decb47
3667: Addings a new person and changing the name grouping results in frozen window
...
svn: r14662
2010-03-07 15:33:38 +00:00
Doug Blank
993a5c2fcd
Unoptimized to work
...
svn: r14407
2010-02-17 11:53:19 +00:00
Gerald Britton
7975d5c3c4
Revert some map calls to list comps to correct bug introduced in rev. 14104
...
svn: r14191
2010-02-02 13:56:15 +00:00
Doug Blank
30c5030ebe
A method for comparing person == person
...
svn: r14146
2010-01-27 06:05:24 +00:00
Brian Matherly
ac820cb8df
PEP8 Improvements. Remove dependency on DateHandler.
...
svn: r14145
2010-01-27 03:38:30 +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
c9cb7e60c9
Move GEDCOM date functions into libgedcom.
...
svn: r14125
2010-01-25 04:54:22 +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
c689013025
Added two additional cases for date matches: <=, >=
...
svn: r14101
2010-01-20 13:37:24 +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
Peter Landgren
e4dfdb9190
Fix of issue 3480.
...
svn: r13996
2010-01-08 15:57:54 +00:00
Doug Blank
68e9b27265
Added method to make dates non-specific
...
svn: r13990
2010-01-07 21:41:07 +00:00
Doug Blank
4f3d8f3675
Added missing 'return self' at end of unserialize to match the rest of the classes in lib.gen
...
svn: r13935
2009-12-29 03:24:38 +00:00
Doug Blank
302781a6b3
Event types know how to abbreviate themselves
...
svn: r13898
2009-12-23 19:35:18 +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
Doug Blank
dcb926bf87
Cleaning up Utils and refactoring common functionality
...
svn: r13860
2009-12-20 22:12:29 +00:00
Doug Blank
7f55894f26
Added is_primary method to EventRoleType
...
svn: r13859
2009-12-20 19:59:21 +00:00
Rob G. Healey
224c8c1ffc
Fixed error causing crash as per Nick Hall. Corrected tags on libhtmlconst and WebCal.
...
svn: r13805
2009-12-15 02:50:46 +00:00
Rob G. Healey
426691a2ac
Not ready yet and I am out of time for now.
...
svn: r13801
2009-12-14 12:31:34 +00:00
Rob G. Healey
057e8504c0
Finished exiftype.py Will add it to POTFILES.IN in the afternoon.
...
svn: r13799
2009-12-14 12:22:17 +00:00
Rob G. Healey
8c5c6a428e
Continuation of exiftype. Variables have been completed.
...
svn: r13798
2009-12-14 10:52:57 +00:00
Rob G. Healey
42d45dfa5c
Beginning of extending the media exif tags section.
...
svn: r13797
2009-12-14 10:01:57 +00:00
Doug Blank
cc768b3d36
Proper default value for lookup_calendar
...
svn: r13769
2009-12-11 23:09:02 +00:00
Doug Blank
966ecbf20c
Convieniences: get_year_calendar(int) or get_year_calendar(name); date.to_calendar(int) or to_calendar(name)
...
svn: r13764
2009-12-11 15:17:39 +00:00
Doug Blank
b1e51013e6
Updated date_test to test swedish dates more
...
svn: r13763
2009-12-11 15:06:21 +00:00
Doug Blank
96737bf442
Refined calendar lookup
...
svn: r13762
2009-12-11 15:05:29 +00:00
Doug Blank
6d245db5fc
Fixed error in get_year_calendar
...
svn: r13761
2009-12-11 14:27:50 +00:00
Rob G. Healey
c544e79b22
Fixed event types not being translated in IndividualPages, Events section. Made some spacial alignment in eventtypes.py for better visual aid.
...
svn: r13748
2009-12-10 00:01:20 +00:00
Doug Blank
f271154b59
Fixes for get_year_calendar
...
svn: r13743
2009-12-08 12:32:10 +00:00
Doug Blank
4434fd6542
Added convienience method for getting year in the calendar of a date
...
svn: r13731
2009-12-06 17:34:27 +00:00
Doug Blank
0c10d47a90
Added a == to match to check more exact matches
...
svn: r13717
2009-12-05 20:07:53 +00:00
Doug Blank
d004430882
Fixed error in computing days of a date diff span
...
svn: r13661
2009-11-23 01:54:44 +00:00
Benny Malengier
1846c513cf
2799: in GEDCOM export, changed timestamp for every single record is 31 DEC 1969
...
svn: r13630
2009-11-18 22:45:54 +00:00
Benny Malengier
61130b11ef
03288: [XML import] Custom family event role type is ignored on Family Events
...
svn: r13447
2009-10-28 16:15:48 +00:00
Doug Blank
c8fc4d20dd
Added = and == to match for similar and exact text_only date matches
...
svn: r13417
2009-10-25 21:05:45 +00:00
Doug Blank
40b9c7a7ca
Fixed three errors in date conversions: set_slash didn't work; set_slash2 was missing; and convert_to calendar needed to clear NEWYEAR and SLASHES
...
svn: r13395
2009-10-23 00:06:14 +00:00