Commit Graph

2420 Commits

Author SHA1 Message Date
Don Allingham
43e5780992 * src/EditPerson.py: change sort mechanism to new Date sort value
* src/FamilyView.py: change sort mechanism to new Date sort valu
* src/Sort.py: remove unused sorting functions


svn: r3569
2004-09-23 02:25:07 +00:00
Alex Roitman
56b94d0998 * src/GrampsInMemDB.py: Remove unused modules.
svn: r3567
2004-09-21 04:32:18 +00:00
Don Allingham
3ab1e97227 * src/GrampsBSDDB.py: fix remove_person and count_person
* src/GrampsInMemDB.py: fix remove_person and count_person


svn: r3566
2004-09-21 03:17:07 +00:00
Alex Roitman
523a3b3943 * src/Date.py (get_high_year): Add method to return upper estimate.
* src/AddSpouse.py: Correctly use upper and lower date estimates.
* src/ChooseParents: Correctly use upper and lower date estimates.


svn: r3565
2004-09-21 02:10:23 +00:00
Alex Roitman
8902c3e35e Update
svn: r3564
2004-09-21 01:24:32 +00:00
Alex Roitman
ab54e0b1b1 * src/DateEdit.py: Use new Date's set() method. Enable help.
svn: r3563
2004-09-21 01:19:55 +00:00
Alex Roitman
7b09866289 * src/gramps_main.py: Remov unused module.
* src/DateDisplay.py (verify_format): Correct check.
* src/Date.py (is_regular): Add method to detect exact single
non-empty dates; (set): Add text string as an optional argument.
* src/DateEdit.py: Use DateHandler instead of low-level DateDisplay;
(check): Display yellow LED for anything other than regular dates.


svn: r3562
2004-09-21 00:58:39 +00:00
Alex Roitman
cffb5833a7 * src/gramps.glade: Add LED button widgets to the sourceref editor.
* src/Sources.py (SourceEditor.__init__): Use DateEdit to support
LED functionality; (SourceEditor.on_sourceok_clicked): Set date using
date object, instead of parsing text.


svn: r3561
2004-09-20 23:26:41 +00:00
Alex Roitman
a9141f7158 * src/DateEdit.py (DateEdit.invoke_date_editor):
Check the built date and display LED (closes # 1031065).
* src/Sources.py (draw): Properly display date for sourceref;
(on_sourceok_clicked): Properly parse date for sourceref
(closes # 1031156).


svn: r3560
2004-09-20 17:56:26 +00:00
Don Allingham
f0d19d0d5a * src/Date.py: remove comment field
* src/DateParser.py: add parsing of Month Day1-Day2, Year
* src/RelLib.py: make date parsers/displayers global to resolve
pickle-ing problem
* src/EditPerson.py: update lists before committing to database


svn: r3559
2004-09-20 03:12:51 +00:00
Alex Roitman
ffab4c0990 * src/Date.py (is_equal): Add method -- needed to compare dates
for being identical, since __cmp__ only compares the sorting value
and ignores the modifiers.
* src/RelLib.py (Event.are_equal, LdsOrd.are_equal):
Use is_equal() method to compare dates.
* src/AddrEdit.py: Use is_equal() method to compare dates.
* src/EventEdit.py: Use is_equal() method to compare dates.
* src/gramps.glade (date_edit): Re-order widgets, add hot keys;
(event_edit, addr_edit): Remove button relief as in editPerson.


svn: r3558
2004-09-20 01:53:59 +00:00
Don Allingham
030aa36011 * src/gramps.glade: remove button border for date editor button
* src/DateDisplay.py: fix quality prefix display


svn: r3557
2004-09-19 23:05:25 +00:00
Alex Roitman
894619e016 * src/DateEdit.py: Take date object as an argument and work with it.
* src/AddrEdit.py: Use date object instead of text.
* src/EditPerson.py: Use date object instead of text.
* src/EventEdit.py: Use date object instead of text.
* src/gramps.glade: Minor cleanup.
* src/Date.py (copy): Add method.
* src/RelLib.py (Address): Correct the use of dates.


svn: r3556
2004-09-19 15:17:57 +00:00
Don Allingham
4e43d89fe3 * src/GrampsInMemDB.py: new base class for in memory databases, such
as XML or GEDCOM
* src/GrampGEDDB.py: use new GrampsInMemDB base class
* src/GrampXMLDB.py: use new GrampsInMemDB base class
* src/Makefile.am: add GrampsInMemDB.py
* src/ReadGedcom.py: remove debug statements


svn: r3555
2004-09-19 04:11:34 +00:00
Alex Roitman
e809a69b41 * src/DateEdit.py (DateEdit): Take care of both the button and
the LED pixmap now; Invoke DateEditorDialog if the button is pressed;
(DateEditorDialog): Correct the use of constants; adjust the date
on the calendar change; preserve the old date unless OK was pressed;
* src/AddrEdit.py: Remove date editor callback in favor of DateEdit.
* src/EditPerson.py: Remove date editor callback in favor of DateEdit.
* src/EventEdit.py: Remove date editor callback in favor of DateEdit.
* src/gramps.glade: Minor cleanup; remove unused signal handlers.


svn: r3554
2004-09-18 23:39:40 +00:00
Alex Roitman
f50bde5d49 * src/DateParser.py: Minor cleanup.
svn: r3553
2004-09-18 04:11:48 +00:00
Alex Roitman
35ba39caf3 * src/gramps.glade: Add date_edit dialog.
* src/DateEdit.py (DateEditorDialog): Add class.
* src/Date.py (get_quality): Typo.
* src/AddrEdit.py: Use date editor callback.
* src/EditPerson.py: Use date editor callback.
* src/EventEdit.py: Use date editor callback.

* src/AddrEdit.py: Add date editor callback
* src/EditPerson.py: Add date editor callback
* src/EventEdit.py: Add date editor callback


svn: r3552
2004-09-18 03:58:30 +00:00
Don Allingham
b043f908da * src/gramps.glade: replace LED indicators with buttons
svn: r3551
2004-09-18 02:50:30 +00:00
Don Allingham
c3c613e278 * src/DateDisplay.py: use locale.nl_langinfo to get month
names without manual encoding
* src/DateParser.py: use locale.nl_langinfo to get month
names without manual encoding


svn: r3550
2004-09-17 23:52:09 +00:00
Don Allingham
ed495982a5 update
svn: r3549
2004-09-17 04:32:01 +00:00
Don Allingham
f19010baa9 update
svn: r3548
2004-09-17 04:26:25 +00:00
Don Allingham
71a227aed6 removed
svn: r3547
2004-09-17 04:25:16 +00:00
Don Allingham
bd16bbd244 * src/Calendar.py: removed
* src/Gregorian.py: removed
* src/Hebrew.py: removed
* src/Julian.py: removed
* src/calendars/Islamic.py: removed
* src/calendars/Persian.py: removed
* src/calendars/Makefile.am: removed
* src/Date.py: New, simpler date structure
* src/DateHandler.py: Start of a class to abstract and select
parser and display functions based off locale
* src/DateParser.py: base date parsing class (US English)
* src/DateDisplay.py: base date display class (US English)
* src/DateEdit.py: handle new date method
* src/EditPerson.py: handle new date method
* src/EventEdit.py: handle new date method
* src/GrampsCfg.py: removed redundant options due to new date class
* src/StartupDialog.py: removed redundant options due to new date class
* src/Makefile.am: handle file changes
* src/Sort.py: handle new date method
* src/ReadGedcom.py: handle new date method
* src/ReadXML.py: handle new date method
* src/WriteGedcom.py: handle new date method
* src/WriteXML.py: handle new date method
* src/RelLib.py: handle new date method
* src/gramps_main.py: handle new date method
* src/gramps.glade: handle new date method


svn: r3546
2004-09-17 03:30:04 +00:00
Tim Waugh
1816c3d20e 2004-09-14 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Fixed SF bug #1009695.


svn: r3543
2004-09-14 13:51:18 +00:00
Tim Waugh
dc9c4b26bc 2004-09-14 Tim Waugh <twaugh@redhat.com>
* src/docgen/PSDrawDoc.py (PSDrawDoc.__init__): Fixed base method
        call (missing parameter).
        * src/docgen/SvgDrawDoc.py (SvgDrawDoc.__init__): Likewise.


svn: r3542
2004-09-14 13:00:35 +00:00
Tim Waugh
3a66750eb5 2004-09-13 Tim Waugh <twaugh@redhat.com>
* src/GenericFilter.py (IsAncestorOfFilterMatch.apply): Fixed
        thinko.


svn: r3539
2004-09-13 18:08:04 +00:00
Tim Waugh
977e7b9a66 2004-09-13 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py (event_info): Prevent constructions like
        "died in before 1901" by playing safe if the mode is not exact.


svn: r3536
2004-09-13 15:46:00 +00:00
Alex Roitman
f3b80ac6b0 * src/ReadGedcom.py (parse_person_event): Use TYPE field as the description of the event, if the event already has a name.
svn: r3535
2004-09-11 23:24:08 +00:00
Alex Roitman
a8b3854d96 * src/GrampsDbBase.py: Fix assert statements.
svn: r3533
2004-09-10 22:40:00 +00:00
Alex Roitman
451d5b1773 * src/gramps.glade: Typo.
svn: r3532
2004-09-09 14:46:40 +00:00
Alex Roitman
2074bec9ce * src/plugins/FilterEditor.py (ShowResults.__init__):
Use gramps IDs instead of handles for display.


svn: r3530
2004-09-09 02:59:48 +00:00
Alex Roitman
4c3a6b9167 * src/EditPlace.py (on_web_go_clicked): Typo.
svn: r3528
2004-09-01 15:11:10 +00:00
Alex Roitman
bc74845212 * src/ReadXML.py (start_witness): Properly use handle of witness.
* src/Witness.py (WitnessTab.redraw): Use gramps ID for display;
(WitnessEditor.remove_itself_from_menu): Typo;
(WitnessEditor.ok_clicked): Catch exception and add error dialog.


svn: r3526
2004-09-01 04:57:44 +00:00
Don Allingham
de4853eeec * src/RelLib.py (GenderStats.guess_gender): back out
incorrect patch
* src/Witness.py: handle new_name error
* src/SelectPerson.py: remove unused crud left over from
1.0, grab handle instead of GRAMPS ID


svn: r3525
2004-09-01 03:47:10 +00:00
Alex Roitman
aab141fb5c * src/Sources.py (SourceTab.redraw, SourceSelector.redraw):
Use gramps ID instead of handle for display.
* src/ImageSelect.py (GlobalMediaProperties.display_refs):
Use gramps ID instead of handle for display.


svn: r3523
2004-08-31 18:27:57 +00:00
Tim Waugh
32de1842ed Update MIME database in scriptlets.
svn: r3522
2004-08-31 17:48:21 +00:00
Don Allingham
bc0e50c8f0 * src/AddMedia.py: use new MediaList update routine
* src/DisplayModels.py: new update list routine
* src/ImageSelect.py: use new MediaList update routine
* src/MediaView.py: use new MediaList update routine
* src/PlaceView.py: new update list routine
* src/SourceView.py: new update list routine


svn: r3521
2004-08-31 03:51:05 +00:00
Don Allingham
0e4693a675 * src/GrampsBSDDB.py: add remove_place function
* src/DisplayModels.py: added row deletion and updating
functions
* src/EditPlace.py: Make a distinction between update and
new
* src/EditSource.py: Make a distinction between update and
new
* src/PeopleModel.py: remove debugging code
* src/PlaceView.py: better handling of updating and deleiting
* src/SourceView.py: better handling of updating and deleiting


svn: r3520
2004-08-30 03:50:33 +00:00
Don Allingham
8ce99f9853 * src/DbPrompter.py: cleanup dialogs
* src/EditPerson.py: update screen properly
* src/PeopleModel.py: handle stored maps correctly
* src/PeopleView.py: handle stored maps correctly
* src/gramps_main.py: eliminate unnecessary rebuilds, display
loading dialog
* src/gramp.glade: loading dialog


svn: r3519
2004-08-29 05:45:40 +00:00
Don Allingham
684d47f512 * src/RelLib.py: guess_gender fix
* src/gramps_main.py: drop unused goto_active_person parameter


svn: r3518
2004-08-29 02:36:00 +00:00
Don Allingham
e27c787955 * src/EditPerson.py: make a distiction between adding a person
and editing a person.
* src/PeopleView.py: drop unused goto_active_person parameter
* srcgramps_main.py: drop unused goto_active_person parameter


svn: r3517
2004-08-28 19:49:34 +00:00
Tim Waugh
dda871049e 2004-08-27 Tim Waugh <twaugh@redhat.com>
* src/SelectObject.py (SelectObject.redraw): Use GRAMPS ID for
        user display.


svn: r3516
2004-08-27 13:35:24 +00:00
Don Allingham
2be6aaa660 * src/DisplayModels.py: fix place and source lists
* src/PlaceView.py: fix place lists
* src/SourceView.py: fix source lists


svn: r3515
2004-08-27 03:41:57 +00:00
Don Allingham
1dc536fd60 * src/Sort.py: use locale.strcoll for sorting
* src/RelLib.py: don't use accent for sort name
* src/EditPerson.py: compare edited ID value properly
* src/Marriage.py: compare edited ID value properly
* src/PeopleModel.py: use locale.strcoll for comparing
* src/GrampsBSDDB.py: use locale.strcoll for comparing/sorting
* src/GrampsDbBase.py: use locale.strcoll for comparing/sorting
* src/DbPrompter.py: handle bad filenames a bit better


svn: r3514
2004-08-26 21:54:14 +00:00
Don Allingham
e3f151a7a8 * src/gramps_main.py: update properly after an edit
* src/Utils.py: generate correct path name, using gramps id
instead of handle
* src/ImageSelect.py: select correct path name for thumbnail

* src/PeopleModel.py: move to a table driven format for
handling columns


svn: r3513
2004-08-26 04:03:11 +00:00
Matthieu Pupate
a85f871f8c Corrected some errors
svn: r3512
2004-08-25 20:28:42 +00:00
Tim Waugh
434181bd32 2004-08-25 Tim Waugh <twaugh@redhat.com>
* src/WriteGedcom.py (GedcomWriter.write_person): Removed
        debugging noise.


svn: r3511
2004-08-25 07:57:05 +00:00
Tim Waugh
2523c7abf8 2004-08-25 Tim Waugh <twaugh@redhat.com>
* src/RelLib.py (Person.parents_too_old): Fixed typo.


svn: r3510
2004-08-25 07:53:44 +00:00
Don Allingham
6223685b34 * src/DisplayModels.py: handle a closed database in on_get_value
* src/PeopleModel.py: handle a closed database in on_get_value


svn: r3509
2004-08-25 03:37:48 +00:00
Don Allingham
b85614c491 * src/ImageSelect.py: Display GRAMPS ID, not DB handle
* src/WriteGedcom.py: handle image file problems when exporting


svn: r3508
2004-08-25 03:25:23 +00:00
Don Allingham
3b7c81fbe7 * src/ReadXML.py: Fix file copy problem, handle copy failure
* src/src/ImageSelect.py: Display GRAMPS ID, not DB handle

* src/plugins/WebPage.py: web page enhancements, including
a place index.


svn: r3507
2004-08-25 03:02:25 +00:00
Tim Waugh
a0fd5337d7 2004-08-24 Tim Waugh <twaugh@redhat.com>
* src/MediaView.py (MediaView.on_select_row): Use the correct
        column for DB handle.
        (MediaView.on_select_row): Display GRAMPS ID, not DB handle.
        (MediaView.build_context_menu): Use the correct column for DB
        handle.
        (MediaView.on_edit_clicked): Likewise.
        (MediaView.on_delete_clicked): Likewise.


svn: r3506
2004-08-24 18:05:18 +00:00
Tim Waugh
6221d356e6 2004-08-24 Tim Waugh <twaugh@redhat.com>
* src/WriteXML.py: Write out 'default' tag on people node for
        compatibility with GRAMPS 1.0.x.


svn: r3505
2004-08-24 10:24:17 +00:00
Alex Roitman
ad7f65dec7 * src/GrampsDbBase.py (get_object_from_gramps_id,
get_source_from_gramps_id, get_place_from_gramps_id): Add placeholder
functions with assertions.


svn: r3503
2004-08-24 05:09:50 +00:00
Alex Roitman
000a12c2a2 * src/ArgHandler.py (auto_save_load): Remove new db creation for BSDDB.
svn: r3502
2004-08-24 04:55:32 +00:00
Alex Roitman
78f6625fee * src/EdirPerson.py (__init__): Typos.
svn: r3501
2004-08-24 04:51:11 +00:00
Don Allingham
680c93e6d9 a person is not alive.
svn: r3500
2004-08-24 04:15:23 +00:00
Don Allingham
f987964322 * src/PeopleModel.py: enhanced column_spouse
* src/RelLib.py: enhance probably_alive to check for "Cause
of Death", "Burial", and "Cremation" events to indicate that
a person is not alive.
* src/const.py.in: add support for "Marriage Banns"

* src/ReadXML.py: set last change time, support handles


svn: r3499
2004-08-24 04:14:08 +00:00
Don Allingham
fd8e92eae6 * src/Utils.py: produce less line noise when generating
handles
* src/WriteGedcom.py: save CHAN records
* src/WriteXML.py: save handles and time stamps
* src/GrampsDbBase.py: make the find_xxx_from_handle functions
consistent and correct (handle ids correctly)
* src/DisplayModels.py: add last change column
* src/PeopleModel.py: add last change column
* src/PeopleView.py: add last change column
* src/MediaView.py: add last change column
* src/SourceView.py: add last change column
* src/EditPerson.py: display last change timestamps
* src/EditPlace.py: display last change timestamps
* src/Marriage.py: display last change timestamps
* src/ReadXML.py: set last change time
* src/gramps.glade: updates for last change display


svn: r3498
2004-08-24 03:48:15 +00:00
Alex Roitman
9b6c27de8c * src/DbPrompter.py (ExistingDbPrompter.chooser,
ImportDbPrompter.chooser): Destroy file chooser on failure (#1014254).


svn: r3497
2004-08-23 22:50:35 +00:00
Alex Roitman
2437f85dcd * src/const.py.in: Add gramps-package mime type.
* src/ArgHandler.py (auto_save_load): Subclass database depending
on the format.


svn: r3496
2004-08-23 22:39:41 +00:00
Alex Roitman
b003d00a00 * src/data/Makefile.am: Kill gconfd using SIGTERM -- HUP did not work.
svn: r3495
2004-08-23 22:17:09 +00:00
Alex Roitman
7f5c4667c2 Add keys for last import and export dirs
svn: r3494
2004-08-23 22:07:23 +00:00
Alex Roitman
58a0a66508 * src/Plugins.py: Add native_format flag to import plugin registration.
* src/ReadXML.py, src/ReadGedcom.py: Register as native formats
to prevent loading twice on File->Open.
* src/data/gramps.schemas: Add keys for last import and export dirs.
* src/GrampsCfg.py (get_last_import_dir, save_last_import_dir,
get_last_export_dir, save_last_export_dir): Add functions.
* src/Exportder.py (suggest_filename): Try last export and last
import folders before falling back to Home; (save): Save export folder.
* src/Utils.py (get_new_filename): Add optional folder argument.
* src/DbPrompter.py (ExistingDbPrompter.chooser): Only add
importers for non-native formats, the rest is already taken care of;
Try last file, last import, last export, then home folders;
(ImportDbPrompter.chooser): Save import folder; Try last import,
last file, last export, then home folders.
(NewNativeDbPrompter): Try last file, last import, last export folders,
then fall back to home.


svn: r3493
2004-08-23 22:05:55 +00:00
Alex Roitman
ceec7ead2f * src/plugins/WebPage.py: Use gramps ID for naming the files
and creating links.


svn: r3492
2004-08-23 18:40:25 +00:00
Alex Roitman
f2d5d512d1 * src/docgen/AbiWord2Doc.py, src/docgen/AsciiDoc.py,
src/docgen/HtmlDoc.py, src/docgen/KwordDoc.py,
src/docgen/OpenOfficeDoc.py, src/docgen/PdfDoc.py,
src/docgen/RTFDoc.py: Translate type descriptions; correct print_label.


svn: r3491
2004-08-23 17:30:47 +00:00
Alex Roitman
a4f141484c Update
svn: r3490
2004-08-23 17:04:58 +00:00
Alex Roitman
72ca6d58da * src/plugins/Ancestors.py (event_info): Check whetehr place
exists before getting its title (#1014412).


svn: r3489
2004-08-23 17:04:14 +00:00
Alex Roitman
5789b1a54a * src/plugins/DetAncestralReport.py (write_children):
Check whether event exists (#1014414).
* src/plugins/IndivComplete.py (write_alt_names): Correct the
use of handle (#1014411); (write_fact, write_sources, write_person):
Use gramps id, not handle, for displaying source references.


svn: r3488
2004-08-23 16:59:13 +00:00
Alex Roitman
1481f535f1 * src/EdirPerson.py (__init__): Use handle instead of ID (#1014224).
svn: r3487
2004-08-23 16:27:02 +00:00
Alex Roitman
60c0d49fbb * src/NameEdit.py: Proper use of ComboBoxEntry widgets (#1014238).
svn: r3486
2004-08-23 16:22:38 +00:00
Alex Roitman
992ad8a02a * src/RelLib.py: (probably_alive): Fixed typo (bug #1014223).
svn: r3485
2004-08-23 16:05:22 +00:00
Tim Waugh
7e419c532f 2004-08-23 Tim Waugh <twaugh@redhat.com>
* install-sh: Removed this generated file.


svn: r3484
2004-08-23 15:43:27 +00:00
Tim Waugh
cf7a0649c1 2004-08-23 Tim Waugh <twaugh@redhat.com>
* src/WriteGedcom.py (GedcomWriter.write_sources): Write sources
        in ID order for easier change tracking.


svn: r3483
2004-08-23 11:26:24 +00:00
Tim Waugh
d13e98ce19 (XmlWriter.write_ref): Fixed typo.
svn: r3482
2004-08-23 11:14:38 +00:00
Tim Waugh
ab7c79cf86 2004-08-23 Tim Waugh <twaugh@redhat.com>
* src/GrampsDbBase.py (GrampsDbBase.find_source_from_handle): Set
        GRAMPS ID on new source (bug #1014246).


svn: r3481
2004-08-23 10:42:36 +00:00
Don Allingham
d6e46b07e4 * src/Marriage.py: pychecker fixes
* src/RelLib.py: pychecker fixes
* src/SelectChild.py: pychecker fixes
* src/SelectObject: pychecker fixes
* src/SourceView.py: pychecker fixes
* src/Sources.py: pychecker fixes
* src/StyleEditor.py: pychecker fixes
* src/TarFile.py: pychecker fixes
* src/TipOfDay.py: pychecker fixes
* src/Utils.py: pychecker fixes
* src/WriteXML.py: pychecker fixes


svn: r3480
2004-08-22 23:16:57 +00:00
Tim Waugh
d780de9098 2004-08-23 Tim Waugh <twaugh@redhat.com>
* src/WriteGedcom.py (GedcomWriter.write_families): Write families
        in GRAMPS ID order for easier change tracking.


svn: r3479
2004-08-22 23:11:30 +00:00
Matthieu Pupate
4a192145a1 Correcting forgotten articles
svn: r3478
2004-08-22 21:03:16 +00:00
Tim Waugh
d03264425b (GedcomWriter.fid): Use GRAMPS ID not DB handle.
svn: r3477
2004-08-22 16:33:31 +00:00
Tim Waugh
aeb4be6e99 * src/WriteGedcom.py (GedcomWriter.export_data): Write individuals
out in GRAMPS ID order.


svn: r3476
2004-08-22 16:30:43 +00:00
Tim Waugh
6221ef70fe (XmlWriter.write_object): Use GRAMPS ID not DB handle.
svn: r3475
2004-08-22 16:19:45 +00:00
Tim Waugh
3fbbd73f9b 2004-08-22 Tim Waugh <twaugh@redhat.com>
* src/ReadXML.py (GrampsParser.start_object): Set GRAMPS ID.


svn: r3474
2004-08-22 16:18:33 +00:00
Tim Waugh
ac5ac33f9d (XmlWriter.write_xml_data): Fixed families output by preventing
confusion between handles and GRAMPS IDs.


svn: r3473
2004-08-22 12:52:33 +00:00
Tim Waugh
20bf8f7799 (XmlWriter.write_family_handle): Use GRAMPS ID not DB handle.
(XmlWriter.write_xml_data): Sort family IDs before writing.


svn: r3472
2004-08-22 12:45:47 +00:00
Tim Waugh
049599ca95 (XmlWriter.write_xml_data): Fixed people output by preventing
confusion between handles and GRAMPS IDs.


svn: r3471
2004-08-22 12:37:44 +00:00
Tim Waugh
98fd53922f (XmlWriter.write_xml_data): Sort person handles before writing.
svn: r3470
2004-08-22 12:21:01 +00:00
Tim Waugh
fbeab25019 2004-08-22 Tim Waugh <twaugh@redhat.com>
* src/WriteXML.py (write_xml_data): Fixed typo causing XML export to
        omit all place definitions.


svn: r3469
2004-08-22 12:06:19 +00:00
Tim Waugh
5f413de986 2004-08-22 Tim Waugh <twaugh@redhat.com>
* src/RelLib.py (probably_alive): Fixed typo (bug #1012347).


svn: r3468
2004-08-22 09:15:26 +00:00
Alex Roitman
355c3865f5 * src/WriteGedcom.py (write_sources, write_person, write_ord):
Use gramps id instead of handle.
* src/GenericFilter.py: Check object for being not None.


svn: r3467
2004-08-22 05:33:37 +00:00
Alex Roitman
41e0ff14a8 * src/plugins/Check.py: Import const module.
* src/PedView.py: Add person to the list even if there are no parents.


svn: r3466
2004-08-22 01:41:53 +00:00
Alex Roitman
cb66941d56 * src/ReadGedcom.py (parse_record, parse_individual, parse_ord,
parse_adopt_event): Don't include "@" signs into family gramps id.
* src/PedView.py (find_tree): Correctly retrieve parents.


svn: r3465
2004-08-21 20:43:34 +00:00
Alex Roitman
9406b8fdcf * src/plugins/Verify.py (on_apply_clicked): Use gramps id for
display; (get_year): Corrections.


svn: r3464
2004-08-21 19:09:52 +00:00
Alex Roitman
e2359e9c19 * src/GrampsDbBase.py (find_event_from_handle):
Add transaction argument


svn: r3463
2004-08-21 18:58:19 +00:00
Alex Roitman
ca1c4fe042 * src/AddSpouse.py, src/ChooseParents.py, src/EditPerson.py,
src/EditPlace.py, src/EditSource.py, src/EventEdit.py,
src/FamilyView.py, src/GenericFilter.py,
src/Marriage.py, src/PedView.py, src/PeopleModel.py,
src/PlaceView.py, src/RelLib.py, src/SelectChild.py,
src/Sort.py, src/SourceView.py, src/SubstKeywords.py,
src/WriteGedcom.py, src/WriteXML.py, src/plugins/AncestorReport.py,
src/plugins/Ancestors.py, src/plugins/ChangeTypes.py,
src/plugins/DescendReport.py, src/plugins/DetDescendantReport.py,
src/plugins/EventCmp.py, src/plugins/FamilyGroup.py,
src/plugins/FanChart.py, src/plugins/FtmStyleAncestors.py,
src/plugins/FtmStyleDescendants.py, src/plugins/GraphViz.py,
src/plugins/IndivComplete.py, src/plugins/IndivSummary.py,
src/plugins/Merge.py, src/plugins/RelCalc.py, src/plugins/RelGraph.py,
src/plugins/Summary.py, src/plugins/TimeLine.py, src/plugins/Verify.py,
src/plugins/WebPage.py, src/plugins/WriteCD.py,
src/plugins/WritePkg.py, src/plugins/DetAncestralReport.py:
Use get_event_from_handle (not find_ ).


svn: r3462
2004-08-21 18:56:01 +00:00
Alex Roitman
e6a9800d80 * src/ReadGedcom.py (parse_record): Get objects from handles;
(handle_source): Refer to handle, not the object;
(parse_source): Use gramps id (not handle) to form the title.
* src/GrampsDbBase.py (get_person_from_handle): Typo;
(find_event_from_handle): Correctly create new event if not found.
* src/Sources.py (draw): Correctly sort, use gramps id when
displaying sources; (redraw): Use gramps id in the list view.


svn: r3461
2004-08-21 18:13:18 +00:00
Alex Roitman
831a3adb99 * src/data/gramps.schemas: Add /apps/gramps/interface/size-checked key.
* src/GrampsCfg.py (get_screen_size_checked,
save_screen_size_checked): Add functions.
* src/gramps_main.py: Enable sidebar depending on the screen
if the screen size has not been checked yet.
* src/ChooseParents.py: Set the size request depending on the screen.
* src/Marriage.py: Set the size request depending on the screen.
* src/gramps.glade (marriageEditor): Unset the height request
for the event list.


svn: r3459
2004-08-21 04:33:55 +00:00
Alex Roitman
e818e09ac0 * src/data/gramps.schemas: Add /apps/gramps/interface/size-checked key.
* src/GrampsCfg.py (get_screen_size_checked,
save_screen_size_checked): Add functions.
* src/gramps_main.py: Enable sidebar depending on the screen
if the screen size has not been checked yet.


svn: r3458
2004-08-21 04:05:51 +00:00
Alex Roitman
b14596a0a6 Update
svn: r3457
2004-08-21 04:00:53 +00:00
Don Allingham
06ec9ff7ee * src/gramps_main.py: update family display after EditPerson
* src/EditPerson.py: fix callback


svn: r3456
2004-08-21 03:36:00 +00:00
Alex Roitman
72b301338f Update
svn: r3455
2004-08-21 03:31:51 +00:00
Alex Roitman
400f7d51b2 * src/plugins/Verify.py (on_apply_clicked): Append warnings
to errors instead of overwriting; determine actual dates of burial
and baptism; (get_year): Correctly compare calendar names.
* src/plugins/rel_it.py: removed translatable strings (should be
already italian).
* src/plugins/IndivComplete.py (_get_report_filters):
Set both ancestor and descendant filters to be inclusive.
* src/plugins/RelGraph.py (get_report_filters):
Set both ancestor and descendant filters to be inclusive.
* src/plugins/TimeLine.py (_get_report_filters):
Set both ancestor and descendant filters to be inclusive.
* src/plugins/WebPage.py (get_report_filters):
Set both ancestor and descendant filters to be inclusive.
* src/plugins/WriteFtree.py (__init__):
Set both ancestor and descendant filters to be inclusive.
* src/plugins/Ancestors.py (person_name): Use translated name type.


svn: r3454
2004-08-20 21:55:29 +00:00
Alex Roitman
1ed75ccabe * src/WriteGedcom.py (get_option_box): Make filters inclusive.
* src/plugins/merge.glade: Switch button order to comply with HIG.
* src/mergedata.glade: Switch button order to comply with HIG.
* src/plugins/RelGraph.py (get_default_basename): Add function.
* src/plugins/AncestorReport.py (write_report): Translate
string properly.
* src/EventEdit.py (update_event): Use transtable.
* src/EditPerson.py (on_event_add_clicked, on_edit_birth_clicked,
on_edit_death_clicked, on_event_update_clicked):
Pass TransTable to the event editor.
* src/Marriage.py (on_add_clicked, on_event_update_clicked):
Pass TransTable to the event editor.
* src/plugins/FtmStyleAncestors.py,
src/plugins/FtmStyleDescendants.py:
Remove extra space between vars in "%(.*_place)s %(.*_notes)s"
* src/plugins/verify.glade: Translate button label.
* src/plugins/IndivSummary.py: Proper handling of translation.
* src/docgen/OpenOfficeDoc.py (pt2cm): Add function;
(draw_text): Convert points to cm for the box width;
 Use self.string_width() method.
* src/BaseDoc.py (string_width): Add a method to compute width.
* src/docgen/LPRDoc.py (string_width): Override method.
* src/docgen/PdfDoc.py: Use self.string_width() method.
* src/docgen/SvgDrawDoc.py: Use self.string_width() method.
* src/plugins/AncestorChart2.py: Use self.doc.string_width() method.
* src/plugins/AncestorChart.py: Use self.doc.string_width() method.
* src/plugins/DesGraph.py: Use self.doc.string_width() method.
* src/plugins/FanChart.py: Use self.doc.string_width() method.
* src/plugins/TimeLine.py: Use self.doc.string_width() method.
* src/plugins/eval.glade: HIG compliance.


svn: r3453
2004-08-20 21:26:51 +00:00
Alex Roitman
96ab4c4bdb * src/plugins/rel_da.py: Convert to new interface. Add to CVS.
* src/plugins/rel_fi.py: Convert to new interface. Add to CVS.
* src/plugins/rel_fr.py: Convert to new interface. Add to CVS.
* src/plugins/rel_no.py: Convert to new interface. Add to CVS.
* src/plugins/rel_sv.py: Convert to new interface. Add to CVS.
* src/plugins/Makefile.am: Ship new files.
* src/Relationship.py (apply_filter): Keep gender info of all
member in the relationship chain, not just number of generations;
(is_spouse): correctly compare handles; (get_relationship_distance,
get_relationship, get_grandparents_string): correctly use apply_filter.
* src/plugins/rel_it.py (get_relationship): Correctly use apply_filter.
* src/plugins/rel_hu.py (get_relationship): Correctly use apply_filter.
* src/plugins/rel_de.py (is_spouse): Remove function;
(get_relationship): Correctly use apply_filter.
* src/plugins/rel_ru.py (is_spouse): Remove function;
(get_relationship): Correctly use apply_filter.


svn: r3452
2004-08-20 19:10:01 +00:00
Tim Waugh
7d259a6349 2004-08-20 Tim Waugh <twaugh@redhat.com>
* src/RelLib.py (Event.are_equal): Fixed comparison with None.


svn: r3451
2004-08-20 13:44:48 +00:00
Don Allingham
0175cf1bbf * src/plugins/RelCalc.py: use empty string instead of None
* src/EditPerson.py: pychecker fixes
* src/EditPlace.py: pychecker fixes
* src/EditSource.py: pychecker fixes
* src/GenericFilter.py: pychecker fixes
* src/GrampsCfg.py: pychecker fixes
* src/ImageSelect.py: pychecker fixes
* src/ListModel.py: pychecker fixes
* src/MediaView.py; pychecker fixes
* src/MergeData.py: pychecker fixes
* src/PedView.py: pychecker fixes
* src/PeopleView.py: pychecker fixes
* src/PlaceView.py: pychecker fixes
* src/Plugins.py: pychecker fixes
* src/RelImage.py: pychecker fixes
* src/Relationship.py: pychecker fixes


svn: r3450
2004-08-20 12:11:56 +00:00
Tim Waugh
182bf44509 2004-08-20 Tim Waugh <twaugh@redhat.com>
* src/plugins/RelCalc.py (__init__): Handle unknown birth dates.


svn: r3449
2004-08-20 11:58:06 +00:00
Tim Waugh
024bc4dd01 2004-08-20 Tim Waugh <twaugh@redhat.com>
* src/Calendar.py (calendar_names): Fixed typo.


svn: r3448
2004-08-20 11:14:15 +00:00
Don Allingham
2433b52988 update
svn: r3447
2004-08-20 03:36:32 +00:00
Don Allingham
e50e33cba6 * src/AutoComp.py: remove double display of data
* src/FamilyView.py: remove unused check
* src/GrampsBSDDB.py: search by gramps_id
* src/GrampsDbBase.py: search by gramps_id, unicode/str conversions
* src/Marriage.py: handle gramps_id editing
* src/ReadXML.py: fix handle/gramps_id on import
* src/plugins/RelCalc.py: display date instead of event handle
* src/Relationship.py: family handles working
* src/PeopleModel.py: comment out unused functions
* src/PeopleModel.py: simplify model interface
* src/AddSpouse.py: get_family_from_handle fixes
* src/EditPerson.py: get_family_from_handle fixes
* src/EditSource.py: get_family_from_handle fixes
* src/GraphLayout.py: get_family_from_handle fixes
* src/ImageSelect.py: get_family_from_handle fixes
* src/MediaView.py: get_family_from_handle fixes
* src/MergeData.py: get_family_from_handle fixes
* src/PlaceView.py: get_family_from_handle fixes
* src/ReadXML.py: get_family_from_handle fixes
* src/RelLib.py: get_family_from_handle fixes
* src/Relationship.py: get_family_from_handle fixes
* src/SelectChild.py: get_family_from_handle fixes
* src/SourceView.py: get_family_from_handle fixes
* src/SubstKeywords.py: get_family_from_handle fixes
* src/WriteXML.py: get_family_from_handle fixes
* src/gramps_main.py: get_family_from_handle fixes


svn: r3446
2004-08-20 02:20:06 +00:00
Matthieu Pupate
9b427a6f64 Corrected typo
svn: r3445
2004-08-19 22:10:26 +00:00
Don Allingham
0eeb7d9511 remove print statements
svn: r3444
2004-08-19 21:47:26 +00:00
Don Allingham
79f7ff0cad * PeopleModel.py: simplify model interface
* EditPerson.py: get_family_from_handle fixes
* EditSource.py: get_family_from_handle fixes
* GraphLayout.py: get_family_from_handle fixes
* ImageSelect.py: get_family_from_handle fixes
* MediaView.py: get_family_from_handle fixes
* MergeData.py: get_family_from_handle fixes
* PlaceView.py: get_family_from_handle fixes
* ReadXML.py: get_family_from_handle fixes
* RelLib.py: get_family_from_handle fixes
* Relationship.py: get_family_from_handle fixes
* SelectChild.py: get_family_from_handle fixes
* SourceView.py: get_family_from_handle fixes
* SubstKeywords.py: get_family_from_handle fixes
* WriteXML.py: get_family_from_handle fixes
* gramps_main.py: get_family_from_handle fixes
* plugins/AncestorChart.py: get_family_from_handle fixes
* plugins/AncestorChart2.py: get_family_from_handle fixes
* plugins/AncestorReport.py: get_family_from_handle fixes
* plugins/Ancestors.py: get_family_from_handle fixes
* plugins/Check.py: get_family_from_handle fixes
* plugins/CountAncestors.py: get_family_from_handle fixes
* plugins/Desbrowser.py: get_family_from_handle fixes
* plugins/DescendReport.py: get_family_from_handle fixes
* plugins/DetAncestralReport.py: get_family_from_handle fixes
* plugins/DetDescendantReport.py: get_family_from_handle fixes
* plugins/FamilyGroup.py: get_family_from_handle fixes
* plugins/FanChart.py: get_family_from_handle fixes
* plugins/FtmStyleAncestors.py: get_family_from_handle fixes
* plugins/FtmStyleDescendants.py: get_family_from_handle fixes
* plugins/GraphViz.py: get_family_from_handle fixes
* plugins/IndivComplete.py: get_family_from_handle fixes
* plugins/IndivSummary.py: get_family_from_handle fixes
* plugins/Merge.py: get_family_from_handle fixes
* plugins/RelGraph.py: get_family_from_handle fixes
* plugins/Verify.py: get_family_from_handle fixes
* plugins/WebPage.py: get_family_from_handle fixes
* plugins/WriteCD.py: get_family_from_handle fixes
* plugins/WritePkg.py: get_family_from_handle fixes
* plugins/rel_de.py: get_family_from_handle fixes
* plugins/rel_hu.py: get_family_from_handle fixes
* plugins/rel_ru.py: get_family_from_handle fixes


svn: r3443
2004-08-19 21:35:16 +00:00
Matthieu Pupate
cb201c368a Moving from fr.po to fr_FR.po
svn: r3442
2004-08-19 20:09:23 +00:00
Tim Waugh
f813a0a774 2004-08-19 Tim Waugh <twaugh@redhat.com>
* src/RelLib.py (probably_alive): Use get_family_from_handle instead
        of find_family_from_handle.


svn: r3441
2004-08-19 17:07:37 +00:00
Tim Waugh
f8f3700c21 2004-08-19 Tim Waugh <twaugh@redhat.com>
* src/WriteGedcom.py (get_persons_sources): Remove extra calls to
        get_handle() to prevent traceback.


svn: r3440
2004-08-19 17:04:55 +00:00
Don Allingham
f69866a8b4 * src/DisplayModels.py: simplify internal iter handling.
Move to a single list instead of multiple dictionaries.


svn: r3439
2004-08-19 16:49:16 +00:00
Tim Waugh
27eaa233ab 2004-08-19 Tim Waugh <twaugh@redhat.com>
* src/gramps_main.py (import_tool_callback): Set home person.


svn: r3438
2004-08-19 16:35:07 +00:00
Don Allingham
c25812de5d * src/ChooseParents.py: use get_family_from_handle instead
of find_family_from_handle


svn: r3437
2004-08-19 16:00:40 +00:00
Alex Roitman
e2060f9e41 Update
svn: r3436
2004-08-19 13:24:17 +00:00
Don Allingham
e3c16d18ef * src/EditPerson.py: fix None gramps_id for new person
* src/PeopleModel.py: add sort_name back in


svn: r3435
2004-08-19 03:44:10 +00:00
Alex Roitman
1a44982ab0 * configure.in: Check for pygtk instead of pygtk-dev.
* src/accent.py: Replace unknown chars with "?".


svn: r3434
2004-08-19 03:33:11 +00:00
Don Allingham
a57fc7f25b * src/accent.py: provide sorting on i18n characters without
accents
* src/Makefile.am: add accent.py to list


svn: r3433
2004-08-19 02:37:35 +00:00
Alex Roitman
ea6798d860 Update
svn: r3431
2004-08-18 04:48:23 +00:00
Alex Roitman
5b8a6f2a53 Update .cvsignore files
svn: r3430
2004-08-18 04:46:30 +00:00
Alex Roitman
18d238a7bd Remove autogenerated files
svn: r3429
2004-08-18 04:35:25 +00:00
Don Allingham
bed73e4f7b * src/RelImage.py: remove PIL
* src/Imgmanip.py: remove PIL
* src/MediaView.py: remove PIL
* src/accent.py: support of unaccenting characters for comparison,
and sorting
* src/RelLib.py: build sort name using unaccented version
* src/PeopleView.py: get bold working again
* src/PeopleModel.py: sort using unaccented characters


svn: r3428
2004-08-18 03:55:55 +00:00
Tim Waugh
f41204f7c3 2004-08-17 Tim Waugh <twaugh@redhat.com>
* src/FamilyView.py (spouse_changed): Update display.


svn: r3418
2004-08-17 16:58:34 +00:00
Tim Waugh
9b461526c0 2004-08-16 Tim Waugh <twaugh@redhat.com>
* src/gramps_main.py (__init__): Update display after initialization.
        This fixes a display problem when family view is the default.


svn: r3409
2004-08-16 13:31:35 +00:00
Tim Waugh
cbab5461eb 2004-08-16 Tim Waugh <twaugh@redhat.com>
* src/RelLib.py: Fixed typo.


svn: r3408
2004-08-16 13:28:41 +00:00
Tim Waugh
54f4c3e277 Failing pkill is not fatal.
svn: r3407
2004-08-16 13:23:38 +00:00
Tim Waugh
57422cd1ed Fixed update-desktop-database invocation
svn: r3406
2004-08-16 13:05:52 +00:00
Tim Waugh
e2dfdcfb62 2004-08-16 Tim Waugh <twaugh@redhat.com>
* gramps.spec.in, gramps-mdk.spec.in: Fixed.


svn: r3405
2004-08-16 13:01:50 +00:00
Tim Waugh
b2a29434a8 2004-08-16 Tim Waugh <twaugh@redhat.com>
* gramps.spec.in, gramps-mdk.spec.in: Fixed.


svn: r3404
2004-08-16 11:12:22 +00:00
Tim Waugh
22f2538c56 2004-08-16 Tim Waugh <twaugh@redhat.com>
* src/data/gramps.desktop: Fixed.


svn: r3403
2004-08-16 11:11:15 +00:00
Tim Waugh
f9c009f123 2004-08-16 Tim Waugh <twaugh@redhat.com>
* src/data/Makefile.am: Fix 'distcheck' as much as possible.


svn: r3402
2004-08-16 09:32:07 +00:00
Tim Waugh
4f89f77201 2004-08-15 Tim Waugh <twaugh@redhat.com>
* src/data/Makefile.am: Make 'distcheck' get further.


svn: r3398
2004-08-15 21:31:28 +00:00
Tim Waugh
d4eab3595b 2004-08-15 Tim Waugh <twaugh@redhat.com>
* src/Makefile.am: Removed src/Find.py.


svn: r3395
2004-08-15 19:46:02 +00:00
Don Allingham
d05a83ecd1 * various: Updated cleaned up API
svn: r3388
2004-08-13 04:34:07 +00:00
Marcos Bedinelli
d36bc9d68a Updated Brazilian-Portuguese translation
svn: r3377
2004-08-12 00:28:24 +00:00
Don Allingham
0106660f10 * src/GenericFilter.py: fixed find/get_family_from_handle
* src/WriteGedcom.py: fixed find/get_family_from_handle


svn: r3375
2004-08-11 17:00:38 +00:00
Don Allingham
4b8a56bd90 * src/AddrEdit.py: setCountry -> set_country
* src/RelLib.py: Add concept of PrimaryObject
* src/GrampsDbBase.py: add local constants
* src/ReadGedcom.py: support new API


svn: r3374
2004-08-11 16:22:36 +00:00
Tim Waugh
2393a3d731 2004-08-11 Tim Waugh <twaugh@redhat.com>
* src/GrampsDbBase.py: Fixed some missed str()s.


svn: r3373
2004-08-11 16:12:08 +00:00
Alex Roitman
974e617ca5 * src/Makefile.am: Ship new files: GrampsDbBase.py, GrampsXMLDB.py,
and GrampsGEDDB.py.


svn: r3372
2004-08-11 05:06:28 +00:00
Don Allingham
fa4fe6d391 * src/RelLib.py: rework of the API
* src/*.py: rework of the api


svn: r3371
2004-08-11 03:42:38 +00:00
Don Allingham
4fd3c41ceb * various: change try_to_find_*_from_handle to
get_*_from_handle


svn: r3355
2004-08-07 05:16:57 +00:00
Don Allingham
cc03d489a2 update
svn: r3354
2004-08-07 03:11:04 +00:00
Don Allingham
4638ac2d0a * src/AutoComp.py: switch over entirely to ComboBox for
autocompletion
* src/GenericFilter.py: support ComboBox
* src/TransTable.py: sort items on getting keys
* src/plugins/FilterEditor.py: support ComboBox
* src/plugins/SoundGen.py: support ComboBox
* src/plugins/soundex.glade: support ComboBox


svn: r3346
2004-08-06 03:08:27 +00:00
Don Allingham
dcbc150d76 * src/AttrEdit.py: use ComboBox
* src/NameEdit.py: use ComboBox
* src/gramps.glade: use ComboBox
* src/plugins/ChangeTypes.py: use ComboBox
* src/plugins/changetype.glade: use ComboBox


svn: r3333
2004-08-05 04:14:21 +00:00
Frode Jemtland
4b025e438f Updated the Norwegian po files from the new template.po.... Can't see any new records, but the file has been changed.
svn: r3327
2004-08-04 08:07:22 +00:00
Don Allingham
e2526f32f3 * src/WriteXML.py: always write the default location for a place
* src/EditPerson.py: don't for write of multimedia objects if
not edited
* src/ImageSelect.py: don't for write of multimedia objects if
not edited
* src/AutoComp.py: build ListStore for ComboBox and Entry
* src/AddSpouse.py: use ComboBox
* src/Marriage.py: use ComboBox
* src/gramps.glade: Switch from gtk.Combo to gtk.ComboBox and
gtk.ComboxEntry
* src/EventEdit.py: handle autocompletion
* src/RelLib.py: remove cPickle import
* src/GrampsDbBase.py: fix has_handle functions


svn: r3325
2004-08-04 04:53:29 +00:00
Don Allingham
45ac1c79a0 added
svn: r3311
2004-08-01 21:39:22 +00:00
Don Allingham
842308a22a * src/WriteGedcom.py: move up from plugins directory
* src/ReadGedcom.py: move up from plugins directory
* src/gedcomimport.glade: move up from plugins directory
* src/gedcomexport.glade: move up from plugins directory


svn: r3310
2004-08-01 21:38:50 +00:00
Don Allingham
99ffd9cd52 * src/AddSpouse.py: fix gender selection
* src/DbPrompter.py: support other DB formats
* src/GrampsBSDDB.py: BSDDB format, derived from GrampsDbBase
* src/GrampsDbBase.py: base class for database classes
* src/GrampsGEDDB.py: GEDCOM format, derived from GrampsDbBase
* src/GrampsXMLDB.py: XML format, derived from GrampsDbBase
* src/PeopleModel.py: handle rebuilds better
* src/RelLib.py: use try_to_find_person_from_handle
* src/WriteXML.py: use gramps ids instead of handles
* src/const.py.in: handle family relations correctly
* src/gramps_main.py: remove prefix settings
* src/data/gnome-mime-application-x-gramps-xml.png: new icon
* src/data/gramps.applications: support for x-gramps-xml
* src/data/gramps.keys: support for x-gramps-xml
* src/data/gramps.mime: support for x-gramps-xml
* src/data/gramps.schemas: added event format
* src/data/gramps.xml: support for x-gramps-xml
* src/plugins/ReadGedcom.py: start of GEDDB support
* src/plugins/WriteGedcom.py: start of GEDDB support


svn: r3306
2004-08-01 04:21:31 +00:00
Don Allingham
acd9d9ccff Added GrampsBSDDB.py
svn: r3304
2004-07-31 04:34:11 +00:00
Don Allingham
09b81f00b5 * src/const.py.in: fix relationship types
svn: r3303
2004-07-31 03:51:34 +00:00
Don Allingham
da1ab5eef0 * src/GrampsBSDDB.py: broke out support for database class to
make it easier to support multiple backends in the future
* src/RelLib.py: broke out support for database class to
make it easier to support multiple backends in the future
* src/AddSpouse.py: better support for gay unions
* src/ChooseParents.py: better support for gay unions
* src/FamilyView.py: better support for gay unions
* src/Marriage.py: better support for gay unions
* src/ReadXML.py: better support for gay unions
* src/gramps.glade: better support for gay unions
* src/gramps_main.py: better support for gay unions
* src/Check.py: better support for gay unions
* src/ReadGedcom.py: better support for gay unions


svn: r3302
2004-07-30 18:56:49 +00:00
Alex Roitman
a02daf5282 * src/GrampsCfg.py: Remove unneeded id_edit widget.
* src/gramps.glade: Manually switch toolbar items from
to ToolButtons to buttons to work around libglade bug. Remove
unused id_edit widget and the label.
* src/mergedata.glade: Switch button order to comply with HIG.
* src/plugins/merge.glade: Switch button order to comply with HIG.


svn: r3294
2004-07-29 04:40:09 +00:00
Alex Roitman
56d2c0012b * src/data/Makefile.am: Uninstall everything that we install.
svn: r3291
2004-07-28 23:38:34 +00:00
Don Allingham
8df3fd12d4 * src/RelLib.py, etc.: convert get_id to get_handle
svn: r3290
2004-07-28 02:29:07 +00:00
Alex Roitman
10cd664ea8 * src/data/Makefile.am: Use HUP instead of default SIGTERM.
svn: r3284
2004-07-26 21:30:05 +00:00
Alex Roitman
19ba391540 * src/data/Makefile.am: Execute `pkill gconfd'.
svn: r3282
2004-07-26 04:10:05 +00:00
Frode Jemtland
2e1af87255 Translated some new strings. Changed the first character to lower case on month names.
svn: r3280
2004-07-21 08:02:41 +00:00
Alex Roitman
2e1bdee01b * src/GrampsCfg.py: More re-work of gconf usage.
* src/StartupDialog.py: Access keys through GrampsCfg methods.
* src/TipOfDay.py: Access keys through GrampsCfg methods.
* src/gramps_main.py: More re-work of gconf usage.
* src/data/gramps.schemas: More re-work of gconf usage.
* src/gramps.glade: Hotkey corrections.


svn: r3278
2004-07-20 02:27:55 +00:00
Alex Roitman
f85a459e05 Update
svn: r3277
2004-07-15 04:54:14 +00:00
Alex Roitman
e6fc19aafa Update
svn: r3276
2004-07-15 04:25:46 +00:00
Alex Roitman
c58f293b67 * src/ArgHandler.py: Convert to new gconf usage.
* src/Report.py: Convert to new gconf usage.


svn: r3275
2004-07-15 02:55:22 +00:00
Alex Roitman
f719ae6edb * src/data/gramps.schemas: Cleanup.
* src/data/Makefile.am: Clen up install rule. Add uninstall rule.
* src/StartupDialog.py: Correct use of keys.
* src/GrampsCfg.py: Correct usage of gconf.
* src/DbPrompter.py: Remove unused module.
* src/SelectChild.py: Remove unused module.
* src/SelectObject.py: Remove unused module.
* src/WriteXML.py: Remove unused module.
* src/gramps_main.py: Convert to new gconf usage.
* src/FamilyView.py: Convert to new gconf usage.
* src/AddSpouse.py: Convert to new gconf usage.
* src/ChooseParents.py: Convert to new gconf usage.
* src/EditPerson.py: Convert to new gconf usage.
* src/EditPlace.py: Convert to new gconf usage.
* src/EditSource.py: Convert to new gconf usage.
* src/EventEdit.py: Convert to new gconf usage.
* src/ImageSelect.py: Convert to new gconf usage.
* src/Marriage.py: Convert to new gconf usage.
* src/MediaView.py: Convert to new gconf usage.
* src/MergeData.py: Convert to new gconf usage.
* src/PedView.py: Convert to new gconf usage.
* src/Plugins.py: Convert to new gconf usage.
* src/RelLib.py: Convert to new gconf usage.
* src/TipOfDay.py: Convert to new gconf usage.
* src/plugins/AncestorChart2.py: Remove unused module.
* src/plugins/AncestorChart.py: Remove unused module.
* src/plugins/BookReport.py: Remove unused module.
* src/plugins/FanChart.py: Remove unused module.
* src/plugins/Partition.py: Remove unused module.
* src/plugins/Desbrowser.py: Convert to new gconf usage.
* src/plugins/Merge.py: Convert to new gconf usage.
* src/plugins/RelCalc.py: Convert to new gconf usage.
* src/plugins/WebPage.py: Convert to new gconf usage.


svn: r3274
2004-07-15 02:54:04 +00:00
Alex Roitman
f0d4576a57 * src/data/gramps.schemas: Add to CVS.
* src/data/Makefile.am: Install schemas.
* configure.in: Insert AM_GCONF_SOURCE_2 macro.


svn: r3273
2004-07-14 04:39:05 +00:00
Alex Roitman
a4badb4bd9 * src/plugins/WriteGedcom.py: Fix image path problem.
svn: r3272
2004-07-14 01:44:04 +00:00
Alex Roitman
e6780e09f2 * src/Exporter.py: Fix EXPAND/FILL state of the chooser widget.
* src/DbPrompter.py (SaveAsDbPrompter): Remove class.


svn: r3271
2004-07-13 13:47:37 +00:00
Don Allingham
748ff3b83c * src/plugins/WriteGedcom.py: use the correct id value
svn: r3270
2004-07-13 04:21:05 +00:00
Alex Roitman
d016cc5775 * src/plugins/ReadGedcom.py (GedcomParser.__init__): Use
universal newline mode to work with Mac newlines.


svn: r3269
2004-07-13 03:08:35 +00:00
Alex Roitman
7ff4d55037 * src/Exporter.py: Keep track of added extra pages.
* src/plugins/WriteGedcom.py: Switch from radiobuttons to menu
for the encoding choice.
* src/plugins/gedcomexport.glade: Clean up interface.


svn: r3267
2004-07-12 21:29:15 +00:00
Don Allingham
a156ad5cbd * src/FamilyView.py: handle deleting of parent properly
* src/plugins/WriteGedcom.py: revert to using GRAMPS ID values
* src/plugins/WriteXML.py: use proper ID values

* src/FamilyView.py: fix removal of parents


svn: r3265
2004-07-11 23:53:02 +00:00
Alex Roitman
c340a04e68 * src/WriteXML.py: Add person to the export function arugments.
svn: r3264
2004-07-11 06:08:35 +00:00
Alex Roitman
e2119b6992 * src/plugins/gedcomexport.glade: Update to work with the druid.
svn: r3263
2004-07-11 06:04:55 +00:00
Alex Roitman
156607d9af * src/plugins/WriteGedcom.py: Rewrite to enable passing the
options interface.
* src/Exporter.py: Use options if given by the plugin.


svn: r3262
2004-07-11 06:03:07 +00:00
Alex Roitman
91d89048e1 Update
svn: r3261
2004-07-11 06:01:19 +00:00
Alex Roitman
15a80062ea * NEWS: Update.
* src/Exporter.py: Clean up, add doc strings.
* src/plugins/WriteGedcom.py: Change registration.
Use command-line export for the time being (all defaults).


svn: r3259
2004-07-10 23:31:28 +00:00
Don Allingham
c5787e9e4e * src/AddMedia.py: Handle the new file selector
* src/MediaView.py: redraw list properly


svn: r3258
2004-07-10 04:49:53 +00:00
Alex Roitman
e8e2333f72 Update
svn: r3257
2004-07-09 23:01:19 +00:00
Alex Roitman
8a68101d17 * src/Report.py (parse_report_options_frame): Use integer 1 and 0
instead of True and False for the pagebreak option.


svn: r3256
2004-07-09 20:28:30 +00:00
Alex Roitman
b76bc6d42d * src/gramps_main.py (on_export_activate): Switch to new Exporter.
* src/WriteXML.py: Change registration. Return 1 on success and
0 when on failure.
* src/Utils.py (get_new_filename): Add function.
* src/DbPrompter.py (get_new_filename): Remove function.
* src/Exporter.py: Add to CVS.
* src/Makefile.am: Ship Exporter.py.
* src/Plugins.py (register_export): Change to the new scheme.


svn: r3254
2004-07-09 18:19:47 +00:00
Don Allingham
1333c80f7f * src/ChooseParents.py: build an exclusion list of those
obviously not the parents
* src/EditPerson.py: allow ID value to be edited
* src/RelLib.py: Add try_to_find_from_gramps_id
* src/ImageSelect.py: catch OSError


svn: r3253
2004-07-09 04:31:43 +00:00
Alex Roitman
3c108b27b7 * src/DbPrompter.py: Handle package export.
* src/plugins/WritePkg.py: Register with the new scheme.
* src/plugins/ReadPkg.py: Minor cleanups.
* src/WriteXML.py: Minor cleanups.


svn: r3249
2004-07-03 04:46:51 +00:00
Alex Roitman
bcbd65f783 * src/DbPrompter.py (SaveAsDbPrompter.change_suggested_name):
Add method; (SaveAsDbPrompter.chooser): Make dialog a class attribute.
Connect handler to the filter change event; (get_new_filename): Make
a module function (outside any class).


svn: r3248
2004-07-02 15:33:16 +00:00
Don Allingham
2924bb77c9 * src/gramps_main.py: disable find old "find" function
* src/gramps.glade: enable TreeView find function
* src/PeopleView.py: don't unselect a row if it isn't a valid person.


svn: r3247
2004-07-02 02:53:51 +00:00
Alex Roitman
99d6b38312 * src/gramps_main.py (on_export_activate): Delegate work
to DbPrompter.
* src/WriteXML.py: Register with the new scheme.
* src/DbPrompter.py (SaveAsDbPrompter): Add class.


svn: r3246
2004-07-01 04:09:55 +00:00
Don Allingham
7592aa4d62 * src/FamilyView.py: fix reordering of children
* src/ChooseParents.py: get filters working again
* src/AddSpouse.py: update display after addition of person
* src/Utils.py: new id generation algorithm


svn: r3245
2004-06-30 04:06:10 +00:00
Don Allingham
72a04eef03 * src/ChooseParents.py: fix parent selection
* src/FamilyView.py: fix update of parents after selction
* src/PeopleView.py: fix update of parents after selction
* src/gramps_main.py: fix update of parents after selction
* src/EditPerson.py: fix person id reference


svn: r3244
2004-06-29 03:51:49 +00:00
Alex Roitman
4a3b978f9e * src/RelLib.py: gramps id fixes.
* src/ReadXML.py: gramps id fixes.
* src/plugins/ReadGedcom.py: gramps id fixes.


svn: r3243
2004-06-29 02:33:25 +00:00
Alex Roitman
191312c95a * src/plugins/WebPage.py (IndividualPage.write_urls):
Add function; (IndividualPage.create_page): use write_urls().


svn: r3242
2004-06-28 19:08:15 +00:00
Alex Roitman
416310dc17 * src/DbPrompter.py: Add new class for new, existing, and import
prompters. Enable opening any format on the startup.
* src/gramps_main.py: Use new DbPrompter classes.
* src/ArgHandler.py: Use new DbPrompter classes.


svn: r3239
2004-06-28 18:16:42 +00:00
Alex Roitman
1fd413696d Typo
svn: r3238
2004-06-28 13:20:33 +00:00
Alex Roitman
a35aa9bcf7 * src/DbPrompter.py: Add NewNativeDbPrompter class for setting up
a native database. Enable opening any format on the startup.
* src/gramps_main.py: Use NewNativeDbPrompter when opening
non-native data.


svn: r3237
2004-06-28 13:19:06 +00:00
Don Allingham
fca58c0099 fix import
svn: r3236
2004-06-28 01:27:37 +00:00
Don Allingham
ca2b166f8f * src/gramps_main.py: fix import problem
svn: r3234
2004-06-27 18:08:19 +00:00
Don Allingham
673af70455 * src/gramps_main.py: dropped New Database message. After all, it should
be incredibly obvious.
* src/Utils.py: create_id to generate random internal ID
* src/RelLib.py: new internal ID support
* src/AddSpouse.py: bug fixes
* src/ChooseParents.py: bug fixes
* src/PeopleModel.py: bug fixes
* src/PeopleView.py: bug fixes
* src/FamilyView.py: bug fixes
* src/Bookmarks.py: support for new internal IDs
* src/EditPerson.py: support for new internal IDs
* src/plugins/ReadGedcom.py: handle new internal IDs


svn: r3233
2004-06-27 03:10:06 +00:00
Alex Roitman
e9a3377dda * src/gramps_main.py (on_import_activate,on_export_activate):
Add methods.
* src/Plugins.py (build_import_menu,build_export_menu): Remove;
(register_export): Change to the new scheme.
* src/gramps.glade: Add handlers to Import and Export menus.
Rename Export to Save As..., add icons.


svn: r3232
2004-06-26 05:39:43 +00:00
Alex Roitman
2137e803e4 * src/ArgHandler.py (handle_args): Add import callback call.
* src/gramps_main.py: Use open filters, mime types, and handlers
from import plugins.
* src/Plugins.py: Change import plugin registration.
* src/ReadXML.py: Change registration.
* src/plugins/ReadGedcom.py: Change registration.
* src/plugins/ReadPkg.py: Rewrite and change registration.


svn: r3231
2004-06-24 03:29:38 +00:00
Don Allingham
e8dd8dde0b * src/EditPerson,py: allow reordering of event columns
* src/TransTable.py: allow to be initialized with a list instead of a map
* src/gramps.glade: allow reordering of event columns
* src/gramps_main.py: catch program_init exception
* src/ListModel.py: allow reordering of columns


svn: r3230
2004-06-23 04:54:33 +00:00
Alex Roitman
6a06bf2c8a * doc/gramps.1.in, doc/gramps.1: Update.
svn: r3229
2004-06-23 02:59:29 +00:00
Alex Roitman
0ff408da30 * src/plugins/WriteCD.py (PackageWriter.on_ok_clicked):
Convert missing media handling to the database interface.


svn: r3228
2004-06-22 21:02:05 +00:00
Alex Roitman
3be97cd506 * src/ArgHandler.py (parse_args): Switch from 'tgz' to 'gpkg'
for Gramps package; (handle_args): Use separate dir for all
import-produced files; (cl_export): Convert media objects export
to the database interface.
* src/ReadXML.py (importData): Copy all local (with respect to
the old XML way) media object files into <database>.images dir
(created if did not previously exist). Change objects' paths
accordingly; (GrampsParser.start_object): Do not modify path
in the parser. This way we know that the objects are local.
* src/RelLib.py (get_event_keys): Add method to GrampsDB class.
* src/plugins/WritePkg.py (PackageWriter.export):
Convert missing media handling to the database interface.


svn: r3227
2004-06-22 20:49:22 +00:00
Don Allingham
623cec45ad add new images
svn: r3226
2004-06-22 03:05:28 +00:00
Alex Roitman
2a4a7a39cd Update
svn: r3225
2004-06-21 23:24:51 +00:00
Alex Roitman
86b78e5c3c * src/ArgHandler.py: Fixes.
* src/gramps_main.py: Don't show topWindow until ArgHandler is done.
* src/plugins/Summary.py: Fixes.


svn: r3224
2004-06-21 23:22:55 +00:00
Alex Roitman
274bce11b4 * NEWS: Update.
svn: r3223
2004-06-21 21:49:43 +00:00
Alex Roitman
8b4bbf154f Fixes to context menu
svn: r3222
2004-06-21 21:23:35 +00:00
Alex Roitman
900f1aaa79 Update
svn: r3221
2004-06-21 19:59:48 +00:00
Alex Roitman
445264275a * src/PedView.py: Fix anchors. Switch from storing person objects
to their IDs. Start on building Spouses and Siblings submenus
in the context menu.


svn: r3220
2004-06-21 17:08:51 +00:00
Alex Roitman
53ec8ad409 * src/data/gramps.keys, src/data/mime: Add package and GEDCOM.
svn: r3219
2004-06-21 13:56:58 +00:00
Alex Roitman
03cab9f9bd * configure.in: Bump up the version number.
* src/gramps.py: Pass complete argument string.
* src/gramps_main.py: Pass popt table to gnome_init().
Always enable argument handling. (read_xml,read_pkg): Add functions.
* src/const.py.in: Define popt table, add all gnome options.
* src/ArgHandler.py: Add long options for gramps-specific options.
Add handling for the first filename argument. Use 'gramps-xml'
to denote old gramps (XML) format.
* src/DbPrompter.py: Add hint for the filename.
* src/plugins/ReadNative.py: Cosmetic changes.
* src/plugins/ReadPkg.py: Cosmetic changes.
* src/plugins/WritePkg.py: Typo.
* src/data/gramps.xml: Add mime type for gramps package.
* src/data/gramps.applications: Add gramps package to the list.
* src/data/Makefile.am: Typo.

* src/gramps_main.py: removed new database info message
* src/plugins/ReadGedcom.py: Fixed typos preventing import.
(i.e. set_type instead of SetType, etc.)

* Release: Version 1.1.0 "And now for something completely different"
released.


svn: r3218
2004-06-21 05:10:27 +00:00
Don Allingham
ab131c3f0c * src/DisplayModels,py: faster sorting of places
* src/PlaceView,py: faster sorting of places
* src/RelLib,py: faster sorting of places
* src/gramp_main.py: removed new database info message


svn: r3217
2004-06-20 03:06:21 +00:00
Jason Salaz
18fecafb91 src/plugins/ReadGedcom.py: Fixed typos preventing import
svn: r3216
2004-06-19 03:50:52 +00:00
Don Allingham
bc97a8824b update
svn: r3214
2004-06-16 03:38:26 +00:00
Don Allingham
0ce0a50030 update
svn: r3213
2004-06-15 03:51:18 +00:00
Don Allingham
11aa47c41b * src/RelLib.py: fix index for place map
* src/FamilyView.py: include person ID's


svn: r3212
2004-06-15 03:43:33 +00:00
Alex Roitman
310f5b17dd * NEWS: Update.
svn: r3208
2004-06-14 22:35:14 +00:00
Alex Roitman
f5206ae5cd * src/gramps.glade: Typos.
* src/ImageSelect.py: Correctly update property editors on OK
and Cancel.
* src/EventEdit.py: Typo.
* src/Sources.py: Set change flag on deletion of the source reference.
* src/RelLib.py: Add media list into serialization and restore.


svn: r3206
2004-06-13 06:18:20 +00:00
Don Allingham
5d01154b88 * src/filters/*: removed
* src/plugins/WritePkg.py: brought up to date


svn: r3205
2004-06-12 04:39:45 +00:00
Don Allingham
6a8e8fa8d1 * src/plugins/WriteGedcom.py: brought up to date
* src/gramps_main.py: beta warning


svn: r3204
2004-06-09 23:59:03 +00:00
Alex Roitman
346801977b Update
svn: r3200
2004-06-03 05:36:16 +00:00
Alex Roitman
c5c4a151c2 * src/MediaView.py: Pass parent to GlobalMediaProperties; typos.
* src/SelectObject.py: Typos.
* src/ImageSelect.py (LocalMediaProperties.__init__,
GlobalMediaProperties.__init__): Handle source tab.
* src/EventEdit.py: Handle gallery tab.
* src/WriteXML.py (dump_my_event): Write object references;
* src/gramps.glade: Add gallery tab to Event Editor; add source
tab to media property editor.
* src/RelLib.py (Event): Add media_list and related methods;
(ObjectRef): Inherit from SourceNote, remove unnecessary functions;
(GrampsDB.get_media_attribute_types): Add method.
* src/ReadXML.py (start_sourceref): Check for attribute before
the object. Objects may have attributes; (start_objref): Parse media
object references for Event records.


svn: r3199
2004-06-03 05:35:30 +00:00
Don Allingham
6a25e86405 * src/DisplayModels.py: support for Spouse column
* src/MediaView.py: fix try_to_find_object_from_id
* src/PeopleModel.py:  support for Spouse column
* src/RelLib.py: handle expanding columns


svn: r3198
2004-06-03 03:28:46 +00:00
Don Allingham
9cb2a3afc3 * src/EditSource.py: try_to_find_person_from_id fix
* src/PedView.py: try_to_find_person_from_id fix
* src/Utils.py: try_to_find_person_from_id fix


svn: r3197
2004-05-31 03:50:06 +00:00
Don Allingham
affda15461 * various: installation fixes
svn: r3196
2004-05-28 04:04:04 +00:00
Don Allingham
4caf81273c * Makefiles: updated for installation
* src/data/gnome-mime-application-x-gramps.png: new icon
* src/data/gramps.svg: new icon
* src/data/gramps.xml: mime information


svn: r3195
2004-05-27 04:29:43 +00:00
Alex Roitman
8943c5e171 Update
svn: r3194
2004-05-26 03:29:00 +00:00
Alex Roitman
e7b77ccb83 * src/RelLib.py (Transaction.__len__): Redefine length.
* src/ChooseParents.py, src/EditPerson.py, src/EditSource.py,
src/EventEdit.py, src/FamilyView.py, src/gramps_main.py,
src/ImageSelect.py, src/Marriage.py, src/MediaView.py,
src/PedView.py, src/PeopleModel.py, src/PlaceView.py,
src/SelectChild.py, src/SelectObject.py, src/Sources.py,
src/SourceView.py, src/Utils.py, src/Witness.py,
src/WriteXML.py: Switch from find_* to try_to_find_* methods.


svn: r3193
2004-05-26 03:26:18 +00:00
Alex Roitman
0739dd2b6b * src/plugins/ChangeTypes.py: Correct transaction.
* src/plugins/changetype.glade: HIGify dialog.
* src/plugins/PatchNames.py: Correct transaction.


svn: r3192
2004-05-26 02:51:45 +00:00
Alex Roitman
055eabdb11 * src/RelLib.py (try_to_find_person_from_id): Remove transaction;
(try_to_find_source_from_id, try_to_find_object_from_id,
try_to_find_place_from_id): Add functions.
* src/plugins/WriteCD.py, src/plugins/WritePkg.py,
src/plugins/WebPage.py, src/plugins/Verify.py,
src/plugins/TimeLine.py, src/plugins/Summary.py,
src/plugins/SoundGen.py, src/plugins/RelGraph.py,
src/plugins/RelCalc.py, src/plugins/PatchNames.py,
src/plugins/Merge.py, src/plugins/IndivSummary.py,
src/plugins/IndivComplete.py, src/plugins/GraphViz.py,
src/plugins/FtmStyleDescendants.py,
src/plugins/FtmStyleAncestors.py, src/plugins/FilterEditor.py,
src/plugins/FanChart.py, src/plugins/FamilyGroup.py,
src/plugins/EventCmp.py, src/plugins/DetDescendantReport.py,
src/plugins/DetAncestralReport.py, src/plugins/DescendReport.py,
src/plugins/Desbrowser.py, src/plugins/CountAncestors.py,
src/plugins/Check.py, src/plugins/ChangeTypes.py,
src/plugins/BookReport.py, src/plugins/Ancestors.py,
src/plugins/AncestorReport.py, src/plugins/AncestorChart.py,
src/plugins/AncestorChart2.py, src/Relationship.py,
src/Sort.py, src/GenericFilter.py, src/SubstKeywords.py,
src/GraphLayout.py: Switch from find_* to try_to_find_* methods.


svn: r3191
2004-05-26 02:05:02 +00:00
Don Allingham
bb26f82775 * src/PeopleModel.py: temporary fix for add person update
* src/PeopleView.py: temporary fix for add person update


svn: r3190
2004-05-25 03:41:35 +00:00
Don Allingham
2439564ba2 * various: transactions are now required for commits
svn: r3186
2004-05-24 04:32:19 +00:00
Don Allingham
109fe90e97 * src/plugins/ReadGedcom.py: full support for undo
svn: r3183
2004-05-20 04:41:55 +00:00
Don Allingham
ec3156362a * src/ImageSelect.py: undo messages
* src/MediaView.py: undo messages
* src/RelLib.py: use db for undo status


svn: r3182
2004-05-20 00:12:14 +00:00
Don Allingham
e82f8d1bba * various: undo messages
svn: r3181
2004-05-19 06:13:36 +00:00
Don Allingham
351ae558dd * src/GrampsCfg.py: added support for tip of the day
* src/data/tips.xml: tip data
* src/TipOfDay.py: support for tip of the day
* src/gramps_main.py: support for tip of the day
* src/const.py: support for tip of the day
* src/gramps.glade: support for tip of the day


svn: r3178
2004-05-18 07:00:34 +00:00
Don Allingham
05edb76bbc update
svn: r3176
2004-05-17 03:00:48 +00:00
Don Allingham
68df0add5f update
svn: r3175
2004-05-17 02:59:44 +00:00
Alex Roitman
0a40ed1759 * src/plugins/ReorderIds.py: Display message and return.
svn: r3174
2004-05-17 01:06:09 +00:00
Alex Roitman
de0ee518ed * src/plugins/RelGraph.py (_get_event_label): Typo.
svn: r3173
2004-05-16 23:40:00 +00:00
Alex Roitman
f72dfd8625 * src/plugins/RelGraph.py: Menu for family options.
svn: r3172
2004-05-16 16:12:04 +00:00
Alex Roitman
284e3f50c0 * src/ReadXML.py: Typo.
svn: r3171
2004-05-16 05:34:20 +00:00
Alex Roitman
555ab4d22b * src/plugins/RelGraph.py (_write_graph_record): Bug fixes.
* src/docgen/RTFDoc.py: Typo.


svn: r3170
2004-05-16 03:04:17 +00:00
Don Allingham
626b453304 * src/plugins/ReadGedcom.py: handle mangled temple format
produced by some tools


svn: r3169
2004-05-15 14:24:38 +00:00
Don Allingham
372a82abf0 Fixed merging
svn: r3167
2004-05-13 23:48:40 +00:00
Don Allingham
5b81ee5c12 pychecker fixes
svn: r3166
2004-05-13 22:45:51 +00:00
Alex Roitman
5cbfb777a7 * src/SubstKeywords.py (__init__): Typo.
svn: r3165
2004-05-13 22:42:42 +00:00
Alex Roitman
9c8c00e237 Update
svn: r3164
2004-05-13 18:31:48 +00:00
Alex Roitman
cf90f85775 * src/Plugins.py: Do not pass parent to the reports.
svn: r3163
2004-05-13 18:24:38 +00:00
Alex Roitman
8ede703f9e * src/RelLib.py (probably_alive): Typos.
svn: r3162
2004-05-13 18:12:37 +00:00
Alex Roitman
a22fd16986 * src/plugins/ChangeTypes.py: Use transaction for commits.
svn: r3161
2004-05-13 04:21:27 +00:00
Alex Roitman
0fe415ecec * src/plugins/Check.py: Use transaction for commits.
* src/plugins/PatchNames.py: Use transaction for commits.


svn: r3160
2004-05-13 04:18:47 +00:00
Alex Roitman
a3e78435d4 * src/plugins/ChangeTypes.py: Remove Utils.modified() call.
* src/plugins/Check.py: Remove Utils.modified() call.
* src/plugins/PatchNames.py: Remove Utils.modified() call.
* src/plugins/ReadGedcom.py: Remove Utils.modified() call.
* src/plugins/ReorderIds.py: Remove Utils.modified() call.
* src/plugins/WriteCD.py: Remove Utils.modified() call.
* src/plugins/WritePkg.py: Remove Utils.modified() call.
* src/plugins/Merge.py: Typo.


svn: r3159
2004-05-13 00:49:17 +00:00
Don Allingham
d43745dc97 * src/GrampsCfg.py: remove unused options
* src/gramps.glade: remove unused panels in preferences
* src/Plugins.py: removed xpm images
* src/EventEdit.py: get full event list
* src/plugins/AncestorChart.py: remove xpm image
* src/plugins/AncestorChart2.py: remove xpm image
* src/plugins/AncestorReport.py: remove xpm image
* src/plugins/Ancestors.py: remove xpm image
* src/plugins/BookReport.py: remove xpm image
* src/plugins/CustomBookText.py: remove xpm image
* src/plugins/DesGraph.py: remove xpm image
* src/plugins/DescendReport.py: remove xpm image
* src/plugins/DetAncestralReport.py: remove xpm image
* src/plugins/DetDescendantReport.py: remove xpm image
* src/plugins/FamilyGroup.py: remove xpm image
* src/plugins/FtmStyleAncestors.py: remove xpm image
* src/plugins/FtmStyleDescendants.py: remove xpm image
* src/plugins/IndivComplete.py: remove xpm image
* src/plugins/IndivSummary.py: remove xpm image
* src/plugins/Makefile.in: remove xpm image
* src/plugins/SimpleBookTitle.py: remove xpm image
* src/plugins/WebPage.py: remove xpm image
* src/RelLib.py: secondary index for event names


svn: r3158
2004-05-12 03:58:14 +00:00
Alex Roitman
a0aaf83b0c * src/plugins/EventCmp.py: Remove extra code.
* src/plugins/eventcmp.glade: Remove extra widgets.


svn: r3157
2004-05-12 00:26:43 +00:00
Alex Roitman
54d4c339c5 Update
svn: r3156
2004-05-11 02:34:33 +00:00
Alex Roitman
a211dd41d1 * src/plugins/Eval.py: Window management. Replaces eval.py.
* src/plugins/eval.py: Remove from CVS.
* src/plugins/eval.glade: Define event handler.
* src/plugins/Leak.py: Window management. Replaces leak.py.
* src/plugins/leak.py: Remove from CVS.
* src/plugins/leak.glade: Define event handler.


svn: r3155
2004-05-11 02:21:09 +00:00
Alex Roitman
739729de97 * src/plugins/SoundGen.py: Window management. Replaces soundgen.py.
* src/plugins/soundgen.py: Remove from CVS.
* src/plugins/soundex.glade: Define event handler.
* src/plugins/RelCalc.py: Window management.
* src/plugins/relcalc.glade: Define event handler.
* src/plugins/Makefile.am: Ship SoundGen.py instead of soundgen.py.
* src/plugins/Verify.py: Window management.
* src/plugins/verify.glade: Define event handler.


svn: r3154
2004-05-11 01:51:56 +00:00
Alex Roitman
b54c253e6b Update
svn: r3153
2004-05-11 00:17:23 +00:00
Alex Roitman
d13881f428 * src/plugins/Desbrowser.py: Convert to db; window management.
* src/plugins/desbrowse.glade: Define event handler.
* src/plugins/EventCmp.py: Clean up window management.
* src/plugins/eventcmp.glade: Define event handler.
* src/plugins/Check.py: Clean up conversion to db.
* src/plugins/summary.glade: Make dialog modal.
* src/plugins/Merge.py: Window management.
* src/plugins/merge.glade: Define event handlers.
* src/plugins/ChangeTypes.py: Convert to db.


svn: r3152
2004-05-10 23:50:30 +00:00
Alex Roitman
00ef803ae4 * src/plugins/FilterEditor.py: Clean up window management.
* src/rule.glade: Define event handlers.


svn: r3151
2004-05-10 13:08:47 +00:00
Alex Roitman
8d4c034b86 * src/Plugins.py: Pass parent class to the tools.
* src/rule.glade: Define event handlers.
* src/gramps_main.py: Pass parent class to the tools.
* src/plugins/EventCmp.py: Window management.
* src/plugins/FilterEditor.py: Window management.
* src/plugins/PatchNames.py: Window management.
* src/plugins/eventcmp.glade: Define event handlers.
* src/plugins/patchnames.glade: Define event handlers.


svn: r3150
2004-05-10 04:54:10 +00:00
Don Allingham
9d1890dc84 * src/DbPrompter.py: added a .grdb if not specified.
svn: r3149
2004-05-10 03:13:43 +00:00
Alex Roitman
62be72e287 * src/plugins/PatchNames.py: Clean up conversion to db.
* src/plugins/patchnames.glade: HIGify dialog.
* src/plugins/Merge.py: Convert to db.
* src/plugins/merge.glade: HIGify dialogs.


svn: r3148
2004-05-09 16:32:13 +00:00
Alex Roitman
797ceddf6c Update
svn: r3147
2004-05-09 14:35:22 +00:00
Alex Roitman
b47a7b3cdc * src/plugins/Check.py: Clean up conversion to db.
svn: r3146
2004-05-09 04:02:26 +00:00
Alex Roitman
05c870d235 * src/plugins/EventCmp.py: Convert to db.
* src/plugins/eventcmp.glade: HIGify dialogs.


svn: r3145
2004-05-09 03:44:59 +00:00
Don Allingham
2d5e249839 * src/DbPrompter.py: handle open dialog in a clean manner
* src/gramps.py: handle open dialog in a clean manner
* src/gramps_main.py: handle open dialog in a clean manner
* src/gramps.glade: handle open dialog in a clean manner


svn: r3143
2004-05-08 04:48:59 +00:00
Alex Roitman
15ccb443a0 Update
svn: r3142
2004-05-08 04:26:09 +00:00
Alex Roitman
963ea4c80a * src/plugins/soundgen.py: Convert to db.
* src/plugins/GraphViz.py: Typo.
* src/plugins/Verify.py: Convert to db.


svn: r3141
2004-05-08 03:29:21 +00:00
Alex Roitman
d5f0618ac1 Update
svn: r3140
2004-05-07 23:34:53 +00:00
Alex Roitman
99e0ef5812 * src/SelectPerson.py: Resolve widget naming conflict.
* src/plugins/BookReport.py: Convert to db.


svn: r3139
2004-05-07 04:27:44 +00:00
Alex Roitman
253eb3ebfe Minor updates
svn: r3138
2004-05-07 04:27:16 +00:00
Alex Roitman
a0454e9ac8 * src/gramps.glade: Resolve widget naming conflict.
* src/SelectPerson: Resolve widget naming conflict.

* src/Sort.py (by_date): Add function.


svn: r3137
2004-05-07 04:11:31 +00:00
Don Allingham
350f5d5077 fix select person again
svn: r3136
2004-05-07 03:58:26 +00:00
Alex Roitman
4b52b0b83a * src/gramps.glade: Resolve widget naming conflict.
* src/SelectPerson: Resolve widget naming conflict.


svn: r3135
2004-05-07 02:58:29 +00:00
Alex Roitman
2e4f55908c * src/plugins/WebPage.py: Clean up conversion to db.
Switch to using Sort function.
* src/plugins/CountAncestors.py: Add file, convert to db.
* src/plugins/count_anc.py: Remove file.
* src/plugins/Summary.py: Convert to db.
* src/Makefile.am: Ship Sort.py instead of sort.py.
* src/plugins/Makefile.am: Ship CountAncestors.py
instead of count_anc.py.


svn: r3134
2004-05-07 02:20:39 +00:00
Don Allingham
1e9a1fc2cc * src/ImageSelect.py: handle new file chooser
svn: r3133
2004-05-06 04:26:47 +00:00
Don Allingham
a432f34e8f update
svn: r3132
2004-05-06 04:22:41 +00:00
Alex Roitman
ba3ef80f93 * src/plugins/RelGraph.py: Convert to db. Change coding style.
Use FreeSans as a TrueType font.


svn: r3131
2004-05-06 02:29:34 +00:00
Alex Roitman
cfcd50ab02 * src/EditPerson.py: Switch to Sort.py.
* src/FamilyView.py: Switch to Sort.py.
* src/RelLib.py: Remove unneeded import.
* src/plugins/DescendReport.py: Switch to Sort.py.

* src/plugins/GraphViz.py: Convert to db.


svn: r3130
2004-05-05 04:04:35 +00:00
Don Allingham
50131988cc * src/gramps_main.py: rebuild tree after importing
* src/plugins/ReadGedcom.py: destroy filechooser at proper time


svn: r3129
2004-05-05 03:54:02 +00:00
Alex Roitman
3adb17e2b1 * src/EditPerson.py: Switch to Sort.py.
* src/FamilyView.py: Switch to Sort.py.
* src/RelLib.py: Remove unneeded import.
* src/plugins/DescendReport.py: Switch to Sort.py.


svn: r3128
2004-05-05 02:21:47 +00:00
Alex Roitman
c7fa1403b3 * src/SubstKeywords.py (__init__): Convert to db.
* src/plugins/AncestorChart.py: Convert to db.
* src/plugins/AncestorChart2.py: Convert to db.
* src/GraphLayout.py: Convert to db.
* src/plugins/DesGraph.py: Convert to db.
* src/plugins/FanChart.py: Convert to db.
* src/Sort.py: Add converted sort.py to CVS.
* src/sort.py: Remove file (obsolete).
* src/plugins/TimeLine.py: Convert to db.


svn: r3127
2004-05-05 02:04:30 +00:00
Alex Roitman
1c2b7bce2c Update
svn: r3126
2004-05-04 21:43:50 +00:00
Alex Roitman
97b0fdf5b8 * src/plugins/DetDescendantReport.py (get_xpm_image): Remove
function, import it from Utils.py instead.
* src/plugins/DetAncestralReport.py (get_xpm_image): Remove
function, import it from Utils.py instead.
* src/plugins/FtmStyleDescendants.py (get_xpm_image): Remove
function, import it from Utils.py instead.
* src/plugins/FtmStyleAncestors.py (get_xpm_image): Remove
function, import it from Utils.py instead.
* src/plugins/FamilyGroup.py (get_xpm_image): Remove
function, import it from Utils.py instead.
* src/plugins/IndivComplete.py (get_xpm_image): Remove
function, import it from Utils.py instead.
* src/plugins/IndivSummary.py (get_xpm_image): Remove
function, import it from Utils.py instead; Convert to db.


svn: r3125
2004-05-04 21:35:19 +00:00
Don Allingham
a638ba9f41 update for GEDCOM memory usage
svn: r3123
2004-05-04 04:34:48 +00:00
Alex Roitman
258fca1347 * src/plugins/FamilyGroup.py: Convert to db interface.
svn: r3122
2004-05-04 03:32:37 +00:00
Alex Roitman
23953f0611 * src/plugins/FtmStyleDescendants.py: Convert to db interface.
svn: r3121
2004-05-04 02:31:52 +00:00
Alex Roitman
bf42139329 * src/plugins/DetDescendantReport.py: Convert to db interface.
* src/plugins/DetAncestralReport.py: Translate string.


svn: r3120
2004-05-04 01:20:21 +00:00
Don Allingham
ade23b0d05 update
svn: r3119
2004-05-03 04:27:56 +00:00
Don Allingham
ff2378b9a0 * src/DbPrompter.py: 2.4 filechooser
* src/gramps_main.py:  2.4 filechooser
* src/ReadXML.py:  2.4 filechooser
* src/Pluginsd.py: tooltip deprecation fix


svn: r3118
2004-05-03 03:47:29 +00:00
Don Allingham
e97365dedf update
svn: r3117
2004-05-02 04:10:33 +00:00
Don Allingham
21b8283302 * src/gramps.glade: rearranged filter apply
* src/gramps.py: update to gtk.main()
* src/gramps_main.py: goto active person after model built


svn: r3116
2004-05-01 14:08:36 +00:00
Don Allingham
bd599862d5 * src/GenericFilter.py: Add a generic filter that can take a
parameter
* src/PeopleModel.py: Support for top level visibility
* src/gramps.glade: clean up filtering widgets
* src/gramps_main.py: build basic filters


svn: r3115
2004-04-30 03:01:51 +00:00
Don Allingham
4407b69063 * src/DbPrompter.py: remove unused functions
* src/DisplayModels.py: filtering support
* src/GenericFilter.py: filtering support
* src/PeopleModel.py: support for filtering
* src/PeopleView.py: support for filtering
* src/RelLib.py: filtering support
* src/Utils.py: filtering support
* src/gramps.glade: remove invert for filters
* src/gramps_main.py: filtering support


svn: r3114
2004-04-28 04:06:25 +00:00
Alex Roitman
162ca85ba0 * src/plugins/IndivComplete.py: Convert to db interface.
* src/plugins/DescendReport.py: Convert to db interface.
* src/plugins/DetAncestralReport.py: Convert to db interface.


svn: r3110
2004-04-26 04:17:01 +00:00
Alex Roitman
3bcd45ccfc Update
svn: r3109
2004-04-26 03:53:08 +00:00
Alex Roitman
af9121590f * src/gramps.glade: Menu improvements.
svn: r3108
2004-04-25 06:10:10 +00:00
Alex Roitman
69ae97ea2c Update
svn: r3107
2004-04-25 05:38:17 +00:00
Alex Roitman
43c7b52b3d Update
svn: r3106
2004-04-25 05:37:51 +00:00
Alex Roitman
92340bcc1a * src/docgen/RTFDoc.py: Typo.
* src/Utils.py (get_xpm_image): Add function.
* src/plugins/AncestorReport.py (get_xpm_image): Remove
function, import it from Utils.py instead.
* src/plugins/Ancestors.py (get_xpm_image): Remove function;
Bring up to the database interface.


svn: r3105
2004-04-25 04:48:02 +00:00
Alex Roitman
a5ef796156 * src/docgen/HtmlDoc.py: Typo.
svn: r3104
2004-04-23 17:02:49 +00:00
Alex Roitman
ada183fad1 * src/docgen/RTFDoc.py: Completely switch from grampslib.
* src/docgen/PdfDoc.py: Typo.


svn: r3103
2004-04-23 16:55:24 +00:00
Alex Roitman
389732b8ea * src/SelectChild.py (on_save_child_clicked): Corrections.
svn: r3096
2004-04-22 01:48:47 +00:00
Alex Roitman
62567532d2 * src/ChooseParents.py: Disallow selecting self as a parent.
* src/SelectChild.py: Disallow selecting self as a child.


svn: r3093
2004-04-21 04:22:37 +00:00
Don Allingham
76102265db * src/DbPrompter.py: support for new GTK 2.4 file chooser
svn: r3090
2004-04-19 03:15:05 +00:00
Don Allingham
6b74af3368 Fixes for undo
svn: r3089
2004-04-16 19:15:02 +00:00
Don Allingham
358056716f update
svn: r3086
2004-04-11 02:39:27 +00:00
Don Allingham
245fa23f64 * src/Bookmarks.py: use IDs instead of person references
* src/ChooseParents.py: allow for NOSORT option
* src/GrampsParser.py: removed
* src/GrampsXML.py: removed
* src/MediaView.py: allow for NOSORT option
* src/PedView.py: double click to edit
* src/PeopleView.py: allow for NOSORT option
* src/PlaceView.py: allow for NOSORT option
* src/RelLib.py: handle bookmarks in metadata
* src/ReadXML.py: merge GrampsParser
* src/SourceView.py: allow for NOSORT option
* src/const.py.in: fix paths for xml files
* src/gramps_main.py: bookmark fixes
* src/papersize.xml : move to data subdirectory
* src/plugins/ReadGedcom.py: fix menu string
* src/plugins/ReadNative.py: fix menu string
* src/plugins/ReadPkg.py: fix menu string


svn: r3085
2004-04-11 02:37:13 +00:00
Don Allingham
98f5e48e37 Improved error handling
svn: r3083
2004-04-10 03:38:48 +00:00
Don Allingham
006843f5f1 export/import filters
svn: r3082
2004-04-09 04:05:48 +00:00
Don Allingham
d65abaf5af * src/choose.glade: merged into gramps.glade
* src/styles.glade: merged into gramps.glade
* src/dialog.glade: merged into gramps.glade
* src/styles.glade: merged into gramps.glade
* src/imagesel.glade: merged into gramps.glade
* src/errdialogs.glade: merged into gramps.glade
* src/gramps.glade: merged from other files


svn: r3081
2004-04-08 03:35:32 +00:00
Don Allingham
3adaa10212 * src/RelLib.py: add_source takes an transaction
* src/ReadGedcom.py: drop add_surname


svn: r3080
2004-04-07 18:00:49 +00:00
Don Allingham
b25c3a0d00 * src/DbPrompter.py: remove VersionControl reference
* src/Marriage.py: fix transaction handling
* src/const.py.in: new glade file names
* src/edit_person.glade: merged into gramps.glade
* src/edit_person.gladep: removed
* src/filelist: removed
* src/gramps.glade: additions from old glade files
* src/marriage.glade: merged into gramps.glade
* src/marriage.gladep: removed
* src/places.glade: merged into gramps.glade
* src/places.gladep: removed
* src/preferences.glade: merged into gramps.glade
* src/preferences.gladep: removed
* src/revision.glade: merged into gramps.glade
* src/revision.gladep: removed
* src/select_person.glade: merged into gramps.glade
* src/srcsel.glade: merged into gramps.glade
* src/srcsel.gladep: removed


svn: r3079
2004-04-07 03:26:35 +00:00
Don Allingham
a9cd2a75ac Remove VersionControl
svn: r3078
2004-04-07 02:11:32 +00:00
Don Allingham
932a2c5b4a * src/VersionControl.py: removed
* src/GrampsMime.py: added mime types
* src/grampslib_wrap.c: removed


svn: r3077
2004-04-06 03:20:04 +00:00
Don Allingham
efd152ac78 * GrampsMime.py: added mime types
* grampslib_wrap.c: removed
* various: more undo functionality


svn: r3074
2004-04-04 04:39:52 +00:00
Don Allingham
f58731f4ea * various: Add undo functionality
svn: r3065
2004-03-30 04:50:24 +00:00
Alex Roitman
2c6cb2d1da * src/plugins/rel_it.py: Convert to class.
svn: r3063
2004-03-28 07:32:26 +00:00
Alex Roitman
1d2fca439f * src/plugins/FtmStyleDescendants.py (_make_default_style,
print_children): Add new style for numbering children.


svn: r3062
2004-03-26 23:28:55 +00:00
Don Allingham
08f4675fd3 * src/gramps_main.py: remove unused functions, fix history
* src/FamilyView.py: improve reordering of children


svn: r3059
2004-03-25 15:05:56 +00:00
Don Allingham
13837efea8 * src/gramps_main.py: remove unused functions, fix history
* src/FamilyView.py: improve reordering of children


svn: r3058
2004-03-25 04:04:35 +00:00
Frode Jemtland
551215fb01 fixed type in header of po file
svn: r3056
2004-03-23 09:57:45 +00:00
Frode Jemtland
2f7e413e6d Updated translation
svn: r3055
2004-03-23 09:56:07 +00:00
Don Allingham
5ade7bac06 * src/SelectChild.py: use PersonModel
* src/plugins/FilterEditor.py: use new SelectPerson


svn: r3052
2004-03-23 05:01:19 +00:00
Don Allingham
f327a799e1 update
svn: r3051
2004-03-23 04:58:29 +00:00
Alex Roitman
6543465004 * src/docgen/PdfDoc.py (add_photo): Encode filename.
svn: r3049
2004-03-23 00:59:23 +00:00
Alex Roitman
748ae7fcc1 * src/EditPerson.py (draw_lds): Don't include main family twice.
svn: r3047
2004-03-22 23:59:37 +00:00
Alex Roitman
f824892648 * src/PedView.py (on_show_child_menu): Switch to id.
svn: r3045
2004-03-22 21:04:47 +00:00
Alex Roitman
ffce4f06d5 * src/docgen/LPRDoc.py: Fix colliding name.
svn: r3044
2004-03-22 16:29:38 +00:00
Don Allingham
bf49b58457 New file
svn: r3041
2004-03-22 04:42:43 +00:00
Don Allingham
aceaffcc97 Convert to new GenericTreeView models
svn: r3040
2004-03-22 04:41:35 +00:00
Alex Roitman
2c03888381 Update
svn: r3026
2004-03-17 03:05:48 +00:00
Alex Roitman
72ed0993e1 * src/docgen/Makefile.am, src/docgen/Makefile.in: Ship LPRDoc.py.
* src/plugins/GraphViz.py (dump_index): Remove utf8 to latin
conversion. Switch to FreeSans.
* src/docgen/PdfDoc.py (draw_text, rotate_text): Fix encoding.

* src/plugins/WebPage.py: Add option for using only birth date.
* src/Date.py: Switch over to lowercase function names.


svn: r3025
2004-03-17 03:04:10 +00:00
Alex Roitman
d30ee3086f * src/docgen/Makefile.am, src/docgen/Makefile.in: Ship LPRDoc.py.
* src/plugins/GraphViz.py (dump_index): Remove utf8 to latin
conversion. Switch to FreeSans.
* src/docgen/PdfDoc.py (draw_text, rotate_text): Fix encoding.


svn: r3024
2004-03-17 01:50:50 +00:00
Alex Roitman
e96e59c3b2 * src/docgen/LPRDoc.py: Typo.
* src/po/da_DK.po: Remove in favor of da.po file.
* src/po/da.po: Add (replaces da_DK.po).
* configure.in, configure: Switch from da_DK to da in languages.


svn: r3023
2004-03-17 01:44:10 +00:00
Frode Jemtland
4836ae66f9 Fixed typo
svn: r3021
2004-03-16 15:43:40 +00:00
Frode Jemtland
98d73a1d2e Fixed typo
svn: r3019
2004-03-16 06:21:08 +00:00
Alex Roitman
9ddadbd5b0 Change function name
svn: r3016
2004-03-16 02:22:37 +00:00
Alex Roitman
c5de08e957 * src/docgen/LPRDoc.py (do_print): Typos.
svn: r3012
2004-03-15 23:00:36 +00:00
Alex Roitman
faa757d704 Update
svn: r3008
2004-03-12 22:50:10 +00:00
Alex Roitman
ec13e85623 * src/docgen/LPRDoc.py: Add number of copies and page range
selection options to a dialog. Remove all these "__" from var names.


svn: r3007
2004-03-12 19:47:06 +00:00
Alex Roitman
04bb7a785e * src/plugins/WriteFtree.py: Typo.
* src/plugins/WriteGedcom.py: Typo.


svn: r3005
2004-03-11 23:14:55 +00:00
Alex Roitman
bedb9c6417 * src/plugins/WriteFtree.py: Call probably_alive with db.
* src/plugins/WriteGedcom.py: Call probably_alive with db.


svn: r3004
2004-03-11 04:28:17 +00:00
Alex Roitman
ef1928e972 * src/plugins/WebPage.py: Convert to ids. Call probably_alive
with db as an argument. Move by_date inside the class (needs db).
* src/RelLib.py: Correct probably_alive to ids.


svn: r3003
2004-03-11 04:24:03 +00:00
Alex Roitman
d2a9753e1c * src/GenericFilter.py: Convert to ids.
* src/plugins/FilterEditor.py: Convert to ids.
* src/plugins/WebPage.py: Convert to ids.


svn: r3002
2004-03-11 03:31:35 +00:00
Alex Roitman
64ce8b09ea * src/plugins/WebPage.py: Clean up mini tree. Add connecting lines.
Switch from list of 2^gen strings to a dict with only used entries.
Clean up generation SpinButton in the dialog.

* src/plugins/WebPage.py: Link main photo to the original.
Use alt strings. Mini tree for many generations.


svn: r3000
2004-03-10 23:40:13 +00:00
Don Allingham
7941db4449 update
svn: r2999
2004-03-10 05:16:28 +00:00
Don Allingham
dc7a5a6473 * src/PeopleModel.py: Column reordering/selection
* src/PeopleView.py: Column reordering/selection
* src/RelLib.py: Column reordering/selection
* src/gramps_main.py: Column reordering/selection
* src/gramps.glade: Column editor
* src/ColumnOrder.py: Column editor


svn: r2998
2004-03-10 05:15:06 +00:00
Alex Roitman
4a53c021e2 * src/docgen/HtmlDoc.py (add_photo): Enforce given image size.
Add optional alt argument.


svn: r2997
2004-03-10 04:56:20 +00:00
Alex Roitman
1833c28063 * src/MediaView.py (on_select_row): Mark translatable string;
(popup_convert_to_private): Call self.load before returning.
* src/ImageSelect.py (LocalMediaProperties.__init__,
GlobalMediaProperties.update_info): Mark translatable string.


svn: r2995
2004-03-10 02:29:29 +00:00
Alex Roitman
17077b01b3 Update
svn: r2993
2004-03-10 02:26:38 +00:00
Alex Roitman
93aa5a5d76 * src/plugins/AncestorChart.py: Add prefix (AC-) to styles.
* src/plugins/AncestorChart2.py: Add prefix (AC2-) to styles.


svn: r2992
2004-03-10 02:24:11 +00:00
Alex Roitman
1db260b72e * src/plugins/Ancestors.py: Use 1 instead of gtk.True.
svn: r2991
2004-03-10 02:14:00 +00:00
Alex Roitman
9d0aeb8fe1 * src/docgen/LPRDoc.py: Set and maintain self.brand_new_page.
Use constant factor for line spacing for given font size.


svn: r2989
2004-03-10 02:10:34 +00:00
Don Allingham
1e5e462fc2 update
svn: r2985
2004-03-09 05:12:26 +00:00
Don Allingham
c4a640394d * src/EditPerson.py: TreeView enhancements
* src/PeopleModel.py: TreeView enhancements
* src/PeopleView.py: TreeView enhancements
* src/gramps_main.py: TreeView enhancements


svn: r2984
2004-03-09 05:12:14 +00:00
Alex Roitman
07cbc8ec0a * src/docgen/LPRDoc.py: Font autodetection: trying freefont,
MS fonts, and then stock Gnome fonts.


svn: r2981
2004-03-08 22:32:13 +00:00
Alex Roitman
6daa84d6d0 * src/docgen/LPRDoc.py: Support for graphic reports.
svn: r2980
2004-03-08 02:22:41 +00:00
Don Allingham
693c21e655 update
svn: r2979
2004-03-07 22:00:43 +00:00
Don Allingham
d6c5b2746f * src/PeopleModel.py: New GenericTreeView based model
* src/RelLib.py: metadata/people model support
* src/gramps_main.py: PeopleModel support
* src/PeopleView.py: PeopleModel support


svn: r2978
2004-03-07 21:50:41 +00:00
Alex Roitman
3887f3480c * src/docgen/LPRDoc.py: Cell padding support. Images support
(requires CVS version of gnome-python).


svn: r2976
2004-03-07 06:28:00 +00:00
Don Allingham
8171f9a65f fix surname list
svn: r2975
2004-03-06 04:46:07 +00:00
Alex Roitman
20406b943c Padding in paragraphs.
svn: r2974
2004-03-06 02:29:20 +00:00
Alex Roitman
9b3a933ec4 Minor cleanups
svn: r2973
2004-03-06 00:08:09 +00:00
Alex Roitman
240a3f7ed3 * src/docgen/LPRDoc.py: Support for paragraph's margins and
the first indent properties. Font-specific line spacing.


svn: r2972
2004-03-06 00:00:39 +00:00
Alex Roitman
1a46d1430d Switch to utf8 capable fonts. Enable monospace for formatted notes.
svn: r2971
2004-03-05 05:11:07 +00:00
Alex Roitman
d263fe5de5 Found fonts
svn: r2970
2004-03-05 04:33:40 +00:00
Alex Roitman
0d8ab3f31f * src/docgen/LPRDoc.py: New paragraph formatting algorithm.
Proper alignment support (no implementation for justify yet).


svn: r2969
2004-03-05 03:01:21 +00:00
Alex Roitman
e00ab4b350 Some regression because of new algorithm
svn: r2968
2004-03-05 00:36:04 +00:00
Alex Roitman
bdb23830bf Update
svn: r2963
2004-03-04 15:47:00 +00:00
Alex Roitman
b6a877271e page breaks, paragraph leader, dirty alignment hack.
svn: r2962
2004-03-03 23:38:48 +00:00
Alex Roitman
a3725ce4ef * src/docgen/LPRDoc.py: Superscript support, line breaks,
page breaks, paragraph leader.


svn: r2961
2004-03-03 20:50:06 +00:00
Alex Roitman
d4c79ff3ac Paragraph leader
svn: r2960
2004-03-03 16:59:47 +00:00
Alex Roitman
7cefc87005 * src/docgen/LPRDoc.py: Superscript support.
svn: r2959
2004-03-03 16:12:26 +00:00
Alex Roitman
a8ab0442c4 * src/docgen/LPRDoc.py: Re-write using paragraph class.
svn: r2958
2004-03-03 05:54:26 +00:00
Don Allingham
a4ef859763 update
svn: r2957
2004-03-03 05:07:23 +00:00
Don Allingham
085b102a1f * src/plugins/FtmStyleAncestors.py: bring up to date with IDs
* src/plugins/AncestorReport.py: bring up to date with IDs


svn: r2956
2004-03-03 05:06:06 +00:00
Alex Roitman
1cc879a776 * src/docgen/AsciiDoc.py: Typo.
svn: r2953
2004-03-02 14:43:37 +00:00
Alex Roitman
cd9a2135db Update
svn: r2952
2004-03-02 04:57:00 +00:00
Alex Roitman
0680d6a4bc * configure.in, configure: Typo.
* src/plugins/FtmStyleAncestors.py (endnotes): Do not add
redundant references.
* src/plugins/FtmStyleDescendants.py (endnotes): Do not add
redundant references.
* src/plugins/DetAncestralReport.py (_make_default_style):
Remove unused table definition.
* src/plugins/DetDescendantReport.py (_make_default_style):
Remove unused table definition.


svn: r2950
2004-03-02 03:43:51 +00:00
Alex Roitman
8be09bc3e3 Oops
svn: r2948
2004-03-02 03:09:49 +00:00
Alex Roitman
13b1071281 Update
svn: r2947
2004-03-02 01:35:53 +00:00
Alex Roitman
23acb22c05 Update
svn: r2946
2004-03-02 00:36:53 +00:00
Alex Roitman
171e888544 * src/docgen/LPRDoc.py: Table support correction: transferring
row to the next page.


svn: r2944
2004-03-01 16:50:23 +00:00
Don Allingham
a3ebb97027 * src/gramps_main.py: remove local media concept
* src/RelLib.py: remove local media concept
* src/SelectObject.py: remove local media concept
* src/MediaView.py: remove local media concept
* src/EditSource.py: remove local media concept
* src/GrampsParser.py: remove local media concept
* src/AddMedia.py: remove local media concept
* src/GrampsZODB.py: delete


svn: r2943
2004-03-01 04:56:50 +00:00
Don Allingham
8a61451dcf * src/gramps_main.py: remove local media concept
* src/RelLib.py: remove local media concept
* src/SelectObject.py: remove local media concept
* src/MediaView.py: remove local media concept
* src/EditSource.py: remove local media concept
* src/GrampsParser.py: remove local media concept
* src/AddMedia.py: remove local media concept
* src/GrampsZODB.py: delete


svn: r2942
2004-03-01 04:38:39 +00:00
Don Allingham
1dc949b752 * src/gramps_main.py: remove local media concept
* src/RelLib.py: remove local media concept
* src/SelectObject.py: remove local media concept


svn: r2941
2004-03-01 04:33:36 +00:00
Alex Roitman
795884a4b9 * src/docgen/AsciiDoc.py: Correctly treat cells with span>1.
svn: r2939
2004-03-01 03:47:58 +00:00
Alex Roitman
f0ba622f1e Some additions
svn: r2938
2004-02-29 17:42:38 +00:00
Alex Roitman
50fa9c8f2a * src/docgen/LPRDoc.py: Add to CVS.
svn: r2937
2004-02-29 15:35:44 +00:00
Don Allingham
4c2c7c68f0 * src/ChooseParents.py: fix typo
* src/PedView.py: build child menu with IDs
* src/ReadGedcom.py: save birth/death events, handle FTM's broken
"_primary" junk


svn: r2936
2004-02-29 05:09:23 +00:00
Alex Roitman
967f956550 More
svn: r2935
2004-02-29 03:01:03 +00:00
Don Allingham
1a1c30d8d3 db updates
svn: r2934
2004-02-29 02:29:48 +00:00
Alex Roitman
8af8f42239 update
svn: r2932
2004-02-29 01:19:20 +00:00
Alex Roitman
b2e741eb0f Eureka
svn: r2931
2004-02-29 01:05:45 +00:00