Commit Graph

1102 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Alex Roitman
5cbfb777a7 * src/SubstKeywords.py (__init__): Typo.
svn: r3165
2004-05-13 22:42:42 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Alex Roitman
2c03888381 Update
svn: r3026
2004-03-17 03:05:48 +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
Alex Roitman
c5de08e957 * src/docgen/LPRDoc.py (do_print): Typos.
svn: r3012
2004-03-15 23:00:36 +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
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