Commit Graph

102 Commits

Author SHA1 Message Date
Don Allingham
ffd5e3b265 * src/RelLib.py: Remove the personTable, since it is no longer needed
with the dropping of ZODB, and we don't have to worry about keeping
personTable and personMap in sync. Add sort field to Name class.
* src/GrampsParser.py: build the primary sort name
* src/GrampsXML.py: remove personTable references
* src/Find.py: don't user personTable


svn: r2595
2004-01-07 05:05:42 +00:00
Don Allingham
a75928f974 * src/RelLib.py: add sorting by source title, remove dependency on string
module
* src/PlaceView.py: do an initial sort, don't rely on "click" function
* src/SourceView.py: do an initial sort, don't rely on "click" function


svn: r2565
2003-12-29 18:37:44 +00:00
Alex Roitman
4c42ecc199 * src/edit_person.glade: Add notes format radiobuttons.
* src/EditPerson.py: Support format for the person's notes.
* src/RelLib.py: More support for the notes' format.


svn: r2496
2003-12-10 14:21:48 +00:00
Alex Roitman
0e61e5519a * src/const.py.in: Add notes_formats list.
* src/RelLib.py: Support format for the notes.
* src/WriteXML.py: Support format for the notes.
* src/GrampsParser.py: Support format for the notes.


svn: r2492
2003-12-10 03:49:53 +00:00
Don Allingham
1ef8e7a9e1 * src/edit_person.glade: Add postal code fields
* src/dialog.glade: Add postal code and phone fields
* src/places.glade: Add postal code
* src/WriteXML.py: Add support for new place and postal code fields
* src/GrampsParser.py: Add support for new place and postal code fields


svn: r2479
2003-12-09 06:00:51 +00:00
Alex Roitman
2670b8fb18 * doc/gramps-manual/ru/gramps-manual.xml: Translation.
* doc/gramps-manual/ru/getstart.xml: Translation.

* src/RelLib.py (Source.setCallNumber, Source.CallNumber): Remove
functions; (Source.callno): remove attribute.
* src/WriteXML.py (write_xml_data): Remove CallNumber output.
* src/GrampsParser.py (GrampsParser.stop_scallno): Remove function.
* src/gramps.glade (sourceEditor): Remove Call Number widgets.
* src/EditSource.py: Remove Call Number support.


svn: r2475
2003-12-09 04:21:39 +00:00
Alex Roitman
2ee7b98f18 * src/filters/Complete.py: Add filter matching people with the
complete flag.
* src/GenericFilter.py (HasCompleteRecord): Add rule matching people
with the complete records.
* src/RelLib.py (Source.setAbbrev, Source.getAbbrev): Add functions.
* src/WriteXML.py (write_xml_data): Save abbreviation info for sources.
* src/GrampsParser.py (GrampsParser.stop_sabbrev): Parse abbreviation.
* src/gramps.glade (sourceEditor): Add widgets for Call Number and
Abbreviation.
* src/EditSource.py: Support Call Number and Abbreviation.
* src/plugins/ReadGedcom.py (parse_source): Parse abbreviation.
* src/plugins/WriteGedcom.py (write_sources): Export abbreviation.
* NEWS: Update.


svn: r2463
2003-12-08 02:23:53 +00:00
Alex Roitman
65aef4214d * src/edit_person.glade: Add completeness check button.
* src/RelLib.py (Person.setComplete, Person.getComplete): Add functions.
* src/WriteXML.py (write_id): Save completeness info.
* src/GrampsParser.py (GrampsParser.start_person,
GrampsImportParser.start_person, GrampsImportParser.start_family):
Parse completeness.
* src/EditPerson.py: Add support for completeness.


svn: r2430
2003-12-03 03:49:39 +00:00
Don Allingham
f6a14dfe8a * src/EditPerson.py: handle LDS status setting properly
* src/RelLib.py: use LDS status for equality comparison


svn: r2344
2003-11-17 00:41:32 +00:00
Don Allingham
c688da8615 * src/FamilyView.py: delete unused code
* src/PeopleView.py: handle uncaught exception
* src/RelLib.py: rebuild person table
* src/gramps_main.py: rebuild display after preferences


svn: r2338
2003-11-14 05:12:38 +00:00
Don Allingham
4fecfc8f5b * src/plugins/WriteFtree.py: catch file open exception
* src/WriteXML.py: try to handle invalid IDs
* src/RelLib.py: minor organizational cleanup


svn: r2322
2003-11-10 22:31:07 +00:00
Don Allingham
dd56ad01a7 * src/PeopleView.py: rebuild after a filter is applied
* src/DbPrompter: remove ZODB option
* src/RelLib.py: remove ZODB option
* src/gramps.glade: remove ZODB option
* src/gramps_main.py: remove ZODB option


svn: r2306
2003-11-01 19:55:30 +00:00
Don Allingham
71632a3953 * src/RelLib.py: Person and Family now inherit from SourceNote
* src/EditPerson.py: Added source tab to apply generic sources
to a person
* src/Marriage.py: Added source tab to apply generic sources
to a person, add "complete" flag
* src/WriteXML.py: Store source information for Family and Person,
store complete flag for Family
* src/GrampsParser.py: Parse source information for Family and
Person, read complete flag for Famiy


svn: r2289
2003-10-29 05:04:43 +00:00
Don Allingham
f01d498dbc * src/GenericFilter.py: add a filter to return the path to the
common ancestor(s) of two people.
* src/RelLib.py: don't barf on ZODB sorting
*


svn: r2285
2003-10-23 21:53:53 +00:00
Don Allingham
0fe280dfc0 * src/GrampsParser.py: remove debugging statement
* src/RelLib.py: remove debugging statement
* src/gramps_main.py: If an invalid ID is found while attempting to
access the history, invalidate the history list (set to empty list).
This should only happen after a reordering of IDs.


svn: r2282
2003-10-23 03:02:52 +00:00
Don Allingham
329a660098 update
svn: r2271
2003-10-21 03:07:19 +00:00
Don Allingham
01237c99a0 * src/RelLib.py: Add a "sortbynames" to presort keys before adding to
the tables
* src/PeopleView.py: Presort names before adding, delay enabling of
autosorting until data has been added
* src/PeopleStore.py: Add enable sort task


svn: r2267
2003-10-18 02:39:55 +00:00
Don Allingham
32520be016 * src/RelLib.py : support for capitalized name formats
* src/EditPerson.py: eliminate capitilzing names, instead rely on
the display formats
* src/Utils.py: new display formats for names
* src/GrampsCfg.py: eliminate name only option in status line,
add support for capitalized name formats
* src/preferences.glade : eliminate name only option in status line,
drop capitalize in favor of expanded name format


svn: r2238
2003-10-12 04:26:00 +00:00
Don Allingham
c0ce4086ee * src/PeopleView.py: broken out of gramps_main.py
* src/PeopleStore.py: TreeStore wrapper for PeopleView
* src/gramps_main.py: people view removed
* src/RelLib.py: add surname to display info for each person,
allows grouping by name
* src/Report.py: Change button from Apply to
"Generate report"


svn: r2190
2003-10-04 20:02:38 +00:00
Don Allingham
7105782475 * src/RelLib.py: backout yesterday's change
svn: r2091
2003-09-05 03:34:44 +00:00
Don Allingham
4aba6b9fe6 * src/RelLib.py: select the lowest ID for the default person
if the default person is not set


svn: r2089
2003-09-04 03:51:58 +00:00
Don Allingham
9964ad1049 make Witness inherit from Persistent
svn: r2071
2003-09-01 15:46:09 +00:00
Alex Roitman
0933db5820 * src/RelLib.py (LdsOrd.are_equal): Correctly handle the case when
the new object is None and the old is empty.
(LdsOrd.isEmpty): Add function.


svn: r1945
2003-08-01 01:58:51 +00:00
Tim Waugh
f8f8f480f8 2003-07-22 Tim Waugh <twaugh@redhat.com>
* src/RelLib.py: Made Person.probablyAlive() take partners into
        consideration if all else fails.


svn: r1919
2003-07-22 10:52:55 +00:00
Tim Waugh
058c0d760b 2003-07-21 Tim Waugh <twaugh@redhat.com>
* src/RelLib.py: Made Person.probablyAlive() smarter.


svn: r1913
2003-07-21 11:20:31 +00:00
Don Allingham
fdc5bca6d5 * src/GrampsParser.py: use findFamilyNoConflicts
* src/RelLib.py: remove findFamilyNoConflict
* src/docgen/LaTeXDoc.py: Fixed typo in latex generated comment


svn: r1909
2003-07-21 02:49:25 +00:00
Tim Waugh
6c4cd0ca82 2003-07-10 Tim Waugh <twaugh@redhat.com>
* src/RelLib.py: Fix for probablyAlive().  If there is no date, but
        there is other information about the death, the person is not alive.


svn: r1855
2003-07-10 11:26:48 +00:00
Tim Waugh
c876640eaa 2003-06-24 Tim Waugh <twaugh@redhat.com>
* src/GrampsParser.py: Use access methods rather than poking directly.
        * src/RelLib.py: Keep statistics on gender distribution among first
        names so that it can be used for guessing.
        * src/edit_person.glade: More event handlers.
        * src/EditPerson.py: Guess gender when appropriate.


svn: r1769
2003-06-24 14:16:47 +00:00
Don Allingham
34c2b0332b * src/gramps.glade: Add a dialog to allow a child's relationships
to his/her parents to be altered.
* src/FamilyView.py: Add popup menu for childlist to allow the
enabling of the new child relationship editor dialog
* src/SelectChild.py: Child relationship editor
* src/RelLib.py: Allow for altering of relationships of the
AltFamilyList


svn: r1756
2003-06-17 04:15:58 +00:00
Don Allingham
059fbee03e * src/GenericFilter.py: rewrote IsAncestorOf and IsDescendantOf rules
to be more efficient and to properly handle loop detection.
* src/RelLib.py: Added the getValidDeath and getValidBirth methods to
the Person class


svn: r1710
2003-06-12 02:04:42 +00:00
Don Allingham
ea94d9a4fa * src/TextDoc.py: Added name property to style sheets
* src/StyleEditor.py: Add name property to edited style sheets
* src/RelLib.py: Fix for witness event under ZODB
* src/docgen/OpenDrawDoc.py: change name to OpenOffice.org
* src/docgen/OpenOfficeDoc.py: change name to OpenOffice.org


svn: r1677
2003-06-09 18:04:04 +00:00
Don Allingham
728e5b5360 * src/ImageSelect.py
Fixed typo in on_drag_begin

* src/RelLib.py
Check for the existance of the witness member of an Event. ZODB
stores an object, so elements read in from old databases may not
have the element, which can cause a traceback.


* src/AutoComp.py
Don't build popdown lists if the number of elements exceeds 250.
Otherwise, the menus will become unusable, and just consume
tons of memory.

* src/VersionControl.py
Sort revision numbers based on numerical value instead of ASCII value.
* src/VersionControl.py
Check return values of all subprocesses


svn: r1663
2003-06-07 14:11:52 +00:00
Don Allingham
8fd080f8c9 Handle image imports that are abandoned
svn: r1506
2003-05-08 17:12:10 +00:00
Don Allingham
1298a6d04d Fixed the place and family references on import
svn: r1501
2003-05-07 03:36:28 +00:00
Don Allingham
d70cf37db7 preserve full path for photos after import
svn: r1497
2003-05-06 02:55:54 +00:00
Alex Roitman
ef0fa63cf8 Typos
svn: r1491
2003-05-05 15:44:25 +00:00
Don Allingham
27f087be59 Gramps IMPORTING
svn: r1490
2003-05-05 01:36:21 +00:00
Don Allingham
c910c9c7fe Limit the number of characters in the description and source lists on the edit window
Prevent place duplication


svn: r1477
2003-04-26 23:17:51 +00:00
Don Allingham
5fd107adc8 Bug fixes
svn: r1466
2003-04-20 03:52:54 +00:00
Don Allingham
57df355849 Find support
svn: r1423
2003-04-04 05:48:25 +00:00
Don Allingham
5a289613e9 Faster initial display
svn: r1350
2003-03-15 18:51:30 +00:00
Don Allingham
f7900f4581 Hide main window until it is completely initialized.
svn: r1348
2003-03-14 05:46:02 +00:00
Don Allingham
cea94cbae5 Paragraph editor enhancements - styles have descriptions
svn: r1332
2003-03-08 05:03:18 +00:00
Don Allingham
9d178f4365 Updated dialogs
svn: r1314
2003-02-24 04:51:57 +00:00
Don Allingham
254ac30ed2 Capitalize last names
svn: r1271
2003-01-24 03:47:05 +00:00
Don Allingham
4d9f14f484 ansel/utf8 encodings
svn: r1258
2003-01-19 06:25:20 +00:00
Don Allingham
509800a470 Improved reporting for traceback dialog, attempts to determine the distribution
svn: r1220
2002-12-11 05:18:47 +00:00
Don Allingham
b1598c900f Surname prefix support
svn: r1217
2002-12-04 04:58:07 +00:00
Don Allingham
7700c1c1ac Fix bookmark handling
svn: r1195
2002-11-19 05:04:30 +00:00
Don Allingham
47f08c4eb2 GEDCOM/ANSEL handing, improved list access
svn: r1173
2002-11-09 18:44:58 +00:00
Don Allingham
aedf532a43 Fixed place editing
svn: r1146
2002-10-21 01:18:07 +00:00
Don Allingham
0ca0ae439e Initial revision
svn: r1140
2002-10-20 14:25:16 +00:00