84 Commits

Author SHA1 Message Date
Don Allingham
48283abac1 * various: pychecker fixes
svn: r5466
2005-12-02 05:08:01 +00:00
Don Allingham
070ce1bde1 * src/ReadGedcom.py: fix mixing note assignment
* src/PeopleModel.py: streamline display


svn: r5457
2005-12-01 04:52:16 +00:00
Julio Sánchez
df1ba0e69c * src/DateParser.py: match modifiers in reverse length order so that
multiword modifiers work even if other modifier matches the first
words of the longer modifier
* src/ReadGedcom.py: be more tolerant w.r.t. whitespace in input,
to parse the output from tools that try (incorrectly) to make
the GEDCOM easier to read.  Gedcom.pm is one example.
* src/WriteGedcom.py: make sure referenced family sources are output


svn: r5444
2005-11-28 09:10:47 +00:00
Don Allingham
15932243e8 * src/ReadGedcom.py: Fix handling of CONT
svn: r5418
2005-11-22 21:56:17 +00:00
Don Allingham
1db9fea574 * src/ReadGedcom.py: Properly handle TEXT field in SOUR instances when
undefined or unhandled fields are present


svn: r5412
2005-11-21 22:42:05 +00:00
Don Allingham
421cda654c * src/WriteGedcom.py: add space between given and surname in output.
* src/ReadGedcom.py: encoding list change
* src/DateParser.py: match end of string for regex matching


svn: r5407
2005-11-19 18:17:18 +00:00
Julio Sánchez
51e7041c5d * src/ReadGedcom.py: fix window object name
svn: r5393
2005-11-10 14:59:33 +00:00
Alex Roitman
b4237ed8df * src/ReadGedcom.py (parse_source_reference): Ignore empty QUAY.
svn: r5349
2005-10-25 22:33:12 +00:00
Don Allingham
8d466a146c * src/GrampsCfg.py: signal_autoconnect changes
* src/ImageSelect.py: signal_autoconnect changes
* src/ReadGedcom.py: signal_autoconnect changes
* src/WriteGedcom.py: signal_autoconnect changes
* src/gedcomimport.glade: signal_autoconnect changes
* src/gramps.glade: signal_autoconnect changes


svn: r5348
2005-10-25 02:29:12 +00:00
Don Allingham
3aab27ab99 * src/ReadGedcom.py: handle progress bar
* src/gedcomimport.glade: add progress bar and expanders


svn: r5345
2005-10-24 03:53:35 +00:00
Don Allingham
01fc24277b * src/gedcomimport.glade: use expanders for information and
warning windows.
refererencing notes, less obscure names


svn: r5329
2005-10-18 04:36:27 +00:00
Don Allingham
91645849db * src/AddSpouse.py: remove signal_autoconnect
* src/DisplayTrace.py: remove signal_autoconnect
* src/EditSource.py: remove signal_autoconnect
* src/ReadGedcom.py: two pass approach for handling forward
refererencing notes
* src/gramps.glade: remove signal mappings
* src/plugins.glade: remove signal mappings


svn: r5328
2005-10-18 03:02:19 +00:00
Don Allingham
1c60276c14 * src/latin_utf8.py: removed
* src/ReadGedcom.py: added latin_utf8 functions
* src/Spell.py: better error checking on import


svn: r5225
2005-09-24 16:41:17 +00:00
Don Allingham
f99f517f04 * src/ReadGedcom.py: fix forward referencing named notes
svn: r5192
2005-09-14 14:34:13 +00:00
Don Allingham
941418dffe * src/ReadGedcom.py: handle attributes if value is on the same line as the
keyword


svn: r5155
2005-08-31 14:45:17 +00:00
Don Allingham
40042df8f6 * src/ImgManip.py: convert to png instead of jpeg
* src/ReadGedcom.py: try to catch bad secondary index error.
* src/ReportUtils.py: provide privacy sanitation on a list
* src/NavWebPage.py: better handling of thumbnails, allow gallery
page to be disabled


svn: r5122
2005-08-25 01:42:58 +00:00
Don Allingham
335580cc90 * src/PeopleModel.py: provide a work around for the python 2.3 bug unicode
sorting problem with locale.strcoll. For a nul termination during sorting,
strip it off after sorting. Only used for python2.3, since this bug was
fixed in python 2.4.


svn: r5012
2005-08-04 15:53:38 +00:00
Don Allingham
886696e718 Family/Person event separation
svn: r5002
2005-08-02 19:39:53 +00:00
Don Allingham
b715342889 GEDCOM gender fix for PAF
svn: r4966
2005-07-25 21:00:39 +00:00
Don Allingham
2464adf714 GEDCOM place fix, EditPerson date parsing
svn: r4888
2005-06-28 15:39:39 +00:00
Don Allingham
53cc3c990d * src/ReadXML.py: prevent duplicate place names on import
* src/ReadGedcom.py: prevent duplicate place names on import


svn: r4879
2005-06-26 22:31:25 +00:00
Alex Roitman
aceb486b79 * src/ReadGedcom.py (get_next): Use single space to split the line
into level, tag, and the field contents; strip extra white space
off the tag name.


svn: r4758
2005-06-02 20:06:37 +00:00
Alex Roitman
ec654be45e * src/gramps_main.py (read_file): Remove set_resizable() calls.
* src/ReadGedcom.py (parse_person_object,parse_family_object):
Always add media references/objects, even if the files are not found
(keep the warnings); set the note for the media references.


svn: r4647
2005-05-20 21:27:03 +00:00
Don Allingham
1f25c6fd38 * src/ReadGedcom.py: grab description for birth and death events
* src/WriteGedcom.py: export description for birth and death events
* example/gedcom/sample.ged: add test case


svn: r4617
2005-05-18 20:27:02 +00:00
Martin Hawlisch
e4e817de57 * src/ReadGedcom.py (parse_trailer): Catch EOF to warn about premature EOF only once; Always close file;
(parse_record): Properly catch premature EOF instead of unknown level 0 records; Support single line SOUR records;
(parse_address): Support PHON and NOTE, ignore _NAME.


svn: r4601
2005-05-16 20:56:25 +00:00
Don Allingham
a4f66df140 * src/ReadGedcom.py: add a few more items to parse from Legacy
generated GEDCOM files


svn: r4596
2005-05-14 16:59:45 +00:00
Don Allingham
ca9d62b902 cleaner fix, convert everyting to unicode
svn: r4558
2005-05-12 00:33:59 +00:00
Don Allingham
baf80601af * src/ReadGedcom.py: coerce the name into a unicode value - if the wrong character
encoding is indicated in the file, the screen display can get corrupted due to keys
that aren't unicode values


svn: r4557
2005-05-12 00:28:36 +00:00
Don Allingham
0193504595 * src/ReadGedcomp.py: Handle inline sources better in GEDCOM files
svn: r4500
2005-05-07 04:04:18 +00:00
Don Allingham
5ff894307d readonly DB fixes, GEDCOM parsing fixes
svn: r4459
2005-05-02 22:27:12 +00:00
Martin Hawlisch
26538760c8 Some more witness support
svn: r4401
2005-04-21 18:12:51 +00:00
Martin Hawlisch
f4dd79c642 * src/ReadGedcom.py (parse_family_object): Support _WITN and _GODP; Ignore _LOC extended locations
svn: r4399
2005-04-21 14:20:26 +00:00
Martin Hawlisch
a391f7e96c * src/ReadGedcom.py (importData): Dont crash because of a short line;
svn: r4397
2005-04-21 12:25:35 +00:00
Martin Hawlisch
6fa55ea96b * src/ReadGedcom.py (parse_individual): Set Adoption event properly
svn: r4396
2005-04-21 11:52:08 +00:00
Martin Hawlisch
d43ec2d13c * src/ReadGedcom.py (parse_family_object): Set MediaRef properly
* src/Marriage.py (__init__): Properly get place title


svn: r4395
2005-04-21 09:54:53 +00:00
Don Allingham
2725773aa0 update
svn: r4386
2005-04-20 19:19:27 +00:00
Don Allingham
2603fb3c21 * src/ReadGedcom.py: handle FTM style of child/parent relationship
translation
* src/gedcomimport.py:


svn: r4385
2005-04-20 18:41:48 +00:00
Don Allingham
0dbc5c0341 * src/GrampsBSDDB.py: remove transaction.batch in favor of signal suppression
* src/GrampsDbBase.py: remove transaction.batch in favor of signal suppression
* src/GrampsInMemDB.py: remove transaction.batch in favor of signal suppression
* src/ReadGedcom.py: fix relation typo, enable/disable signals around import
* src/ReadXML.py: enable/disable signals around import
* src/gramps_main.py: disable signals before undo and exit


svn: r4295
2005-04-04 23:52:46 +00:00
Don Allingham
1504585907 * src/GrampsDbBase.py: add "request_rebuild" to encapsulate rebuild
requests in the database instance
* src/ReadXML.py: use request_rebuild instead of directly emitting s
ignals
* src/ReadGedCom.py: use request_rebuild instead of directly emitting
signals


svn: r4292
2005-04-04 16:41:01 +00:00
Don Allingham
94b27d450c * src/ReadGedcom.py: emit proper signals to notify of a database
rebuild, handle parent/child relationships better - eliminate
string types
* src/ReadXML.py: emit proper signals to notify of a database rebuild
* src/Sources.py: select just added handle after an addition


svn: r4286
2005-04-02 21:14:53 +00:00
Don Allingham
19fe252c4c * src/AddSpouse.py: new database callback scheme. This scheme
provides a registration mechanism to signal interested objects
when database commits occur. The eliminates most of all callback
functions tied to interface windows.
* src/AddrEdit.py: new database callback scheme
* src/AttrEdit.py: new database callback scheme
* src/ChooseParents.py: new database callback scheme
* src/EditPerson.py: new database callback scheme
* src/EditPlace.py: new database callback scheme
* src/EditSource.py: new database callback scheme
* src/EventEdit.py: new database callback scheme
* src/FamilyView.py: new database callback scheme
* src/GrampsBSDDB.py: new database callback scheme
* src/GrampsDbBase.py: new database callback scheme
* src/GrampsInMemDB.py: new database callback scheme
* src/Marriage.py: new database callback scheme
* src/NameEdit.py: new database callback scheme
* src/PeopleView.py: new database callback scheme
* src/PlaceView.py: new database callback scheme
* src/ReadGedcom.py: new database callback scheme
* src/ReadXML.py: new database callback scheme
* src/SourceView.py: new database callback scheme
* src/Sources.py: new database callback scheme
* src/gramps_main.py: new database callback scheme


svn: r4267
2005-04-01 05:33:22 +00:00
Alex Roitman
adfdc9c807 * src/RelLib.py (NoteBase,PlaceBase): Add new classes.
* src/ReadGedcom.py: Use get_note for comments.
* src/ReadXML.py: Use get_note for comments.
* src/Sources.py: Use get_note for comments.
* src/WriteGedcom.py: Use get_note for comments.
* src/WriteXML.py: Use get_note for comments.
* src/plugins/Ancestors.py: Use get_note for comments.
* src/plugins/FtmStyleAncestors.py: Use get_note for comments.
* src/plugins/FtmStyleDescendants.py: Use get_note for comments.
* src/plugins/NavWebPage.py: Use get_note for comments.
* src/plugins/ScratchPad.py: Use get_note for comments.
* src/plugins/WebPage.py: Use get_note for comments.


svn: r4246
2005-03-28 04:58:28 +00:00
Don Allingham
31f3958a1c * src/ChooseParents.py: use integers instead of strings for
relationship types
* src/PedView.py: use integers instead of strings for
relationship types
* src/ReadGedcom.py: use integers instead of strings for
relationship types
* src/ReadXML.py: use integers instead of strings for
relationship types
* src/RelLib.py: use integers instead of strings for
relationship types
* src/SelectChild.py: use integers instead of strings for
relationship types
* src/WriteXML.py: use integers instead of strings for
relationship types
* src/const.py.in: use integers instead of strings for
relationship types
* src/gramps_main.py: call database update function
* src/GrampsBSDDB.py: add database upgrade function
* src/GrampsDbBase.py: add database upgrade function


svn: r4113
2005-03-03 05:33:22 +00:00
Alex Roitman
c36385735a * src/DbPrompter.py (format_maker): Add mnemonic activation target
to the format selector label; Use new import format; don't treat
native formats as plugins anymore.
* src/PluginMgr.py: Add format name to import registration.
* src/ReadGedcom.py: Cleanups; Don't register already native import.
* src/ReadXML.py: Don't register already native import.
* src/data/gramps.xml: Add magic patterns for XML, GEDCOM, and GW.
* src/plugins/ImportGeneWeb.py: Register with format name.
* src/plugins/ReadNative.py: Remove obsolete file.
* src/plugins/ReadPkg.py: Lots of cleanups; Register with format name.


svn: r4105
2005-02-28 01:51:21 +00:00
Julio Sánchez
249bb2f461 * src/MergeData.py: preserve most data while merging families
* src/PeopleView.py: allow multiple selection in people list
* src/ReadGedcom.py: keep source information in families
* src/RelLib.py


svn: r4100
2005-02-27 18:56:31 +00:00
Don Allingham
f7df43643f * various: Change Person.male, Person.female, and Person.unkwown
to Person.MALE, Person.FEMALE and Person.UNKNOWN

* gramps.spec.in: bring up to date, support Fedora Core and Mandrake
* src/plugins/NavWebPage.py: Start of the Narrative Web Page plugin


svn: r4008
2005-02-01 03:46:29 +00:00
Don Allingham
a19bd386f4 * src/DbPrompter.py: gnome.vfs vs. gnomevfs, tolerence
* src/GrampsMime.py: gnome.vfs vs. gnomevfs tolerence
* src/ImageSelect.py: gnome.canvas vs. gnomecanvas tolerence
* src/NameDisplay.py: gnome.vfs vs. gnomevfs tolerence
* src/PedView.py: gnome.canvas vs. gnomecanvas tolerence
* src/Utils.py: remove mime handling, use GrampsMime
* src/plugins/WriteCD.py: gnome.vfs vs. gnomevfs tolerence


svn: r3971
2005-01-27 03:18:21 +00:00
Alex Roitman
82e6acd258 * src/ReadGedcom.py (parse_person_object,parse_family_object):
Use absolute path to work around what seems a gnomevfs issue.


svn: r3965
2005-01-25 23:08:37 +00:00
Alex Roitman
0d96ab6776 Update
svn: r3936
2005-01-19 03:40:16 +00:00
Alex Roitman
7b1c41a611 * src/ReadGedcom.py: Handle missing TRLR record.
svn: r3920
2005-01-17 18:05:50 +00:00