Commit Graph

1585 Commits

Author SHA1 Message Date
Don Allingham
82b719bddc * srcNameEdit.py: assign date on close
svn: r4145
2005-03-09 17:12:58 +00:00
Alex Roitman
7714274635 * src/data/gramps.schemas: Place dont-ask key into interface dir.
* src/Marriage.py (did_data_change): Compare gramps_id, not handle.


svn: r4144
2005-03-09 16:25:15 +00:00
Alex Roitman
4646ad519f * src/PedView.py: Import RelLib for accessing relationship constants.
* src/NameEdit.py: Use empty Date for newly created name.


svn: r4143
2005-03-09 16:06:22 +00:00
Alex Roitman
a6cf17065a * src/ChooseParents.py: Stop parent selection window from being
modal; fix child/parent relations from strings to integers.


svn: r4142
2005-03-09 04:50:10 +00:00
Don Allingham
d0f69b802b * src/ChooseParents.py: change _nsort to _model
* src/GrampsBSDDB.py: fix event secondary index function to that
the event name is used instead of the GRAMPS id.


svn: r4141
2005-03-09 03:58:44 +00:00
Alex Roitman
7cd4156a6b * src/plugins/FilterEditor.py (on_delete_event,close_filter_editor):
Update filter ComboBox in the main window.
* src/gramps_main.py (init_filters): Clear layout before rebuilding.


svn: r4140
2005-03-09 01:08:49 +00:00
Alex Roitman
c46dff68a2 * src/EditPerson.py (__init__): Only set update sources if possible
(calls from ChooseParents don't provide the correct parent, but then
the full update goes on anyway).
* src/ChooseParents.py (mother_list_select_row,
father_list_select_row): Comment out auto-selection of parents.


svn: r4139
2005-03-08 22:24:41 +00:00
Alex Roitman
00e0bdfff8 * src/Marriage.py (on_add_clicked,on_event_update_clicked): Typos.
* src/AddSpouse.py (select_spouse_clicked): Typo.


svn: r4138
2005-03-08 22:02:49 +00:00
Alex Roitman
e1f5b991ec * src/DbPrompter.py (ImportDbPrompter.chooser): Typo.
svn: r4137
2005-03-08 21:11:48 +00:00
Alex Roitman
c882cf1633 * src/EditPerson.py: Remove numerous multiple definitions.
* src/AttrEdit.py (__init__): Set text to translated attribute type.
* src/const.py.in (display_attr): Add function.


svn: r4132
2005-03-08 17:18:33 +00:00
Alex Roitman
ba1a7e55fe * src/AddrEdit.py: Typo.
* src/EditPerson.py (on_add_addr_clicked): Typos.
* src/EditSource.py (display_references): Add lots of missed
source references.
* src/ImageSelect.py: Use PluginsMgr instead of Plugins.


svn: r4131
2005-03-08 03:14:25 +00:00
Don Allingham
01eb6f63f2 * src/RelLib.py: more documentation
svn: r4130
2005-03-08 01:11:50 +00:00
Alex Roitman
734753c196 * src/gramps_main.py (post_load): Upgrade even if no callback.
svn: r4127
2005-03-07 13:49:14 +00:00
Alex Roitman
7c702ed2d3 Update
svn: r4126
2005-03-07 13:47:17 +00:00
Don Allingham
a10dff3414 * src/GrampsBSDDB.py: display upgrade messages to stdout
svn: r4125
2005-03-07 04:57:22 +00:00
Don Allingham
17dcd45d3c * src/GrampsBSDDB.py: add upgrade to version 3 for new Name type
* src/NameEdit.py: add date editor field
* src/ReadXML.py: read date field attached to a name
* src/WriteXML.py: write date field attached to a name
* src/RelLib.py: add date field to Name
* src/gramps.glade: add date editor field to Name Editor dialog


svn: r4121
2005-03-06 23:47:26 +00:00
Alex Roitman
49e549b5ae * src/EditSource.py (display_references): List source's references
from personal and family gallery objects.


svn: r4120
2005-03-06 18:32:14 +00:00
Alex Roitman
43ffb556fd * src/GenericFilter.py (HasAttribute.apply): Make work when no value
is given; (HasFamilyAttribute.apply): Make work when no value is given.


svn: r4117
2005-03-04 15:15:20 +00:00
Alex Roitman
e777c67ec1 * src/GenericFilter.py (HasAttribute.apply): Fix the rule.
(HasFamilyAttribute.apply): Fix the rule.
* src/Marriage.py (on_update_attr_clicked,on_add_attr_clicked):
Pass the window to the attribute editor.


svn: r4115
2005-03-03 15:00:55 +00:00
Alex Roitman
ae9fcaed52 * src/plugins/Makefile.am: Stop shipping ReadNative.py.
svn: r4114
2005-03-03 05:43:41 +00:00
Don Allingham
bf94c0f844 * src/ChooseParents.py: use integers instead of strings for
relationship types
* src/PedView.py: use integers instead of strings for
relationship types
* src/ReadGedcom.py: use integers instead of strings for
relationship types
* src/ReadXML.py: use integers instead of strings for
relationship types
* src/RelLib.py: use integers instead of strings for
relationship types
* src/SelectChild.py: use integers instead of strings for
relationship types
* src/WriteXML.py: use integers instead of strings for
relationship types
* src/const.py.in: use integers instead of strings for
relationship types
* src/gramps_main.py: call database update function
* src/GrampsBSDDB.py: add database upgrade function
* src/GrampsDbBase.py: add database upgrade function


svn: r4113
2005-03-03 05:33:22 +00:00
Alex Roitman
737e0acf71 * src/plugins/FilterEditor.py: Multiple fixes.
* src/GenericFilter.py: Multiple fixes.


svn: r4112
2005-03-03 05:13:47 +00:00
Don Allingham
fa418ea4a8 * src/Marriage.py: fix lds menu
svn: r4110
2005-03-03 01:42:17 +00:00
Don Allingham
01431cee86 * src/AddSpouse.py: use ComboBox instead of ComboBoxEntry for
handling child/parent relationships
* src/ChooseParents.py: use ComboBox instead of ComboBoxEntry for
handling child/parent relationships
* src/FamilyView.py: use ModifyParents instead of EditRel
* src/SelectChild.py: use ComboBox instead of ComboBoxEntry for
handling child/parent relationships. Remove EditRel class
* src/gramps.glade: use ComboBox instead of ComboBoxEntry for
handling child/parent relationships, delete editrel


svn: r4109
2005-03-02 20:48:58 +00:00
Alex Roitman
9a507d524c * src/DbPrompter.py (ImportDbPrompter.chooser): Explicitly
import XML and GEDCOM.
* src/plugins/FilterEditor.py (MySelect.get_text): Typo.


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


svn: r4105
2005-02-28 01:51:21 +00:00
Alex Roitman
017fe976b2 Update
svn: r4104
2005-02-28 01:25:12 +00:00
Don Allingham
d76557ed3a * src/plugins/NavWebPage.py: add the ability to have notes
attached to the Introduction and Home pages


svn: r4103
2005-02-27 23:43:20 +00:00
Julio Sánchez
ca8be6788b * src/MergeData.py: preserve most data while merging families
* src/PeopleView.py: allow multiple selection in people list
* src/ReadGedcom.py: keep source information in families
* src/RelLib.py


svn: r4102
2005-02-27 22:05:02 +00:00
Julio Sánchez
c24d8ba944 * src/MergeData.py: preserve most data while merging families
* src/PeopleView.py: allow multiple selection in people list
* src/ReadGedcom.py: keep source information in families
* src/RelLib.py


svn: r4100
2005-02-27 18:56:31 +00:00
Don Allingham
ca2f90e4d0 * src/AddrEdit.py: update main source list after source addition
* src/AttrEdit.py: update main source list after source addition
* src/EditPerson.py: update main source list after source addition
and place addition
* src/EventEdit.py: update main source list after source addition
and place addition
* src/FamilyView.py: update main source list after source addition
* src/Marriage.py: update main source list after source addition
* src/NameEdit.py: update main source list after source addition
* src/Sources.py: update main source list after source addition
* src/gramps_main.py: update main source list after source addition
* src/const.py.in: new constants


svn: r4099
2005-02-27 05:51:59 +00:00
Don Allingham
2de4da703c * src/gramps_main.py: update places and sources after edit
svn: r4098
2005-02-26 05:19:38 +00:00
Alex Roitman
d2885c1e67 * src/DbPrompter.py: Factory functions for file filters;
Support for explicit format selection for open and import dialogs.


svn: r4097
2005-02-26 02:34:11 +00:00
Alex Roitman
ddc45f65e2 * src/Sources.py (SourceEditor.draw): Do not discard reference
data when adding new source.


svn: r4096
2005-02-26 01:56:34 +00:00
Alex Roitman
d1e4b324ba * src/EditPerson.py (on_event_update_clicked): Pass callback.
* src/EventEdit.py (__init__): Typo.


svn: r4095
2005-02-25 17:29:39 +00:00
Alex Roitman
4c2ea76b9f * src/gramps_main.py (undo_callback): Enable underscore in a label.
* src/NameDisplay (display_name): Return empty string for None.
* src/NameEdit.py (__init__): Compare displayed name with empty string,
(update_group_as): Only query grouping for existing name.


svn: r4093
2005-02-25 17:06:04 +00:00
Alex Roitman
e67a66bf5a * src/EditPerson.py (EditPerson.__init__): Correct widget names.
svn: r4092
2005-02-25 16:36:47 +00:00
Alex Roitman
4448433851 * src/Sources.py (SourceEditor.update_display): Do not add source
for the second time.


svn: r4091
2005-02-25 16:26:26 +00:00
Alex Roitman
fcb6f84f4b * src/DbPrompter.py (GrampsFormatWidget): Add class;
(format_maker): Add_function; (NewSaveasDbPrompter.chooser): Support
for explicit format selection.


svn: r4090
2005-02-25 16:05:02 +00:00
Alex Roitman
61c34a406b * src/MediaView.py (on_select_row): Add garbage collection call.
svn: r4088
2005-02-25 01:13:27 +00:00
Don Allingham
cb8c02aea0 * src/DbPrompter.py: catch zero length filename
* src/FamilyView.py: fixed selection of spouse's parents
* src/gramps_main.py: update display after loading data


svn: r4086
2005-02-24 01:40:40 +00:00
Don Allingham
55a416f422 * src/AddMedia.py: use new find_mime_type_pixbuf instead of
find_icon
* src/ImageSelect.py: remove internal media widgets, use new
find_mime_type_pixbuf instead of find_icon
* src/ImgManip.py: catch pixbuf_new_from_file exception
* src/MediaView.py: use new find_mime_type_pixbuf instead of
find_icon
* src/SelectObject.py: use new find_mime_type_pixbuf instead of
find_icon
* various: replace the deprecated gtk.TRUE/gtk.FALSE with
True/False


svn: r4085
2005-02-24 00:25:34 +00:00
Alex Roitman
ff349b36e4 * src/gramps_main.py (on_new_clicked): Do not prematurely close db.
* src/DbPrompter.py (NewNativeDbPrompter.chooser): Close old db
if positively opening a new one.


svn: r4082
2005-02-23 04:46:51 +00:00
Alex Roitman
81a41b3d9a * src/Exporter.py (native_export): Use real export.
* src/WriteGrdb.py (exportData): Provide default cl value.


svn: r4081
2005-02-23 04:39:05 +00:00
Don Allingham
b4d54945d3 * src/gramps.glade: use ComboBox instead of ComboBoxEntry
for temple
* src/EditPerson.py: use ComboBox instead of ComboBoxEntry
for temple


svn: r4080
2005-02-23 04:30:08 +00:00
Alex Roitman
bd020c830a * src/docgen/PdfDoc.py (write_note): Attempt latin1 encoding.
svn: r4077
2005-02-22 18:38:35 +00:00
Alex Roitman
7983883e11 * configure.in: Bump up the version.
* Release: Version 1.1.90 "Successful encyclopedia salesman" released.


svn: r4076
2005-02-22 13:29:55 +00:00
Alex Roitman
bb03994a08 * src/ReportUtils.py (rgb_color): Add docs; (child_str): Fixes.
* src/plugins/Ancestors.py: Misc fixes.
* src/plugins/DetAncestralReport.py: Properly call child_str.
* src/plugins/DetDescendantReport.py: Properly call child_str.
* src/plugins/FtmStyleAncestors.py: Properly call child_str.
* src/plugins/FtmStyleDescendants.py: Properly call child_str.


svn: r4073
2005-02-22 03:43:53 +00:00
Alex Roitman
bdbbe239aa Update
svn: r4072
2005-02-22 02:34:19 +00:00
Alex Roitman
8ee891bee7 * src/docgen/PSDrawDoc.py (rgb_color): Remove function, import it
from ReportUtils instead.
* src/ReportUtils.py (rgb_color): Add function.
* src/docgen/PdfDoc.py: Use rgb_color from ReportUtils.
* src/docgen/LPRDoc.py: Use rgb_color from ReportUtils.


svn: r4070
2005-02-22 01:59:28 +00:00
Alex Roitman
60e01abcdd * src/docgen/PSDrawDoc.py (draw_text,write_at):
Attempt latin1 encoding.


svn: r4069
2005-02-22 01:45:52 +00:00
Eero Tamminen
df8fe46e4d Added notes about user visible GraphViz and StatisticsChart changes
svn: r4068
2005-02-21 19:48:29 +00:00
Alex Roitman
d5488d5052 * NEWS: Update.
svn: r4067
2005-02-21 16:18:25 +00:00
Alex Roitman
ad0d98bd81 * doc/gramps-manual/C/usage.xml: Update.
svn: r4066
2005-02-21 03:36:12 +00:00
Alex Roitman
0e14c45c5f * src/docgen/LPRDoc.py (draw_path,draw_bar): Set proper linewidth.
svn: r4065
2005-02-21 02:01:04 +00:00
Don Allingham
f8c349fc78 * src/ReportUtils.py: use today for age calculation if not
death date exists.
* src/plugins/NavWebPage.py: handle privacy if requested


svn: r4064
2005-02-20 23:27:55 +00:00
Don Allingham
f17e644a16 * src/ChooseParents.py: readonly fixes
* src/EditPerson.py: readonly fixes
* src/EditPlace.py: readonly fixes
* src/EditSource.py: readonly fixes
* src/FamilyView.py: readonly fixes
* src/ImageSelect.py: readonly fixes
* src/Marriage.py: readonly fixes


svn: r4062
2005-02-20 01:02:15 +00:00
Alex Roitman
baff1f7030 * src/ReportUtils.py (born_died_str): Find events to reference.
svn: r4061
2005-02-19 23:43:45 +00:00
Alex Roitman
4f3211bb19 * src/PaperMenu.py (GrampsPaperComboBox.set): Compare paper names.
svn: r4060
2005-02-19 23:37:35 +00:00
Alex Roitman
94abe8583c * doc/gramps-manual/C/usage.xml: Update.
* doc/gramps-manual/C/gramps-manual.xml: Chunk to depth 3.
* doc/gramps-manual/C/figures/gedcom-export.png: Update.
* doc/gramps-manual/C/figures/export-druid.png: Add figure.
* src/Exporter.py: Change labels, support CD export (lame).
* src/WriteGedcom.py: Correct label.
* src/WriteXML.py: Return status on success.
* src/plugins/WriteCD.py: Support for wizard (lame).
* src/plugins/WritePkg.py: Correct label.
* src/ArgHandler.py: Re-enable CD export.


svn: r4059
2005-02-19 22:33:24 +00:00
Alex Roitman
5771067c95 Update
svn: r4057
2005-02-19 22:16:32 +00:00
Alex Roitman
db067d2675 Update
svn: r4056
2005-02-19 22:14:35 +00:00
Don Allingham
326b8be88f * src/EditPerson.py: add privacy marker
* src/GrampBSDDB.py: record database version, handle person privacy flag
* src/RelLIb.py: Privacy flag for person (inherit from DataObj instead of SourceNote)
* src/ReportUtils.py: update to use person privacy flag
* src/gramps.glade: person privacy flag


svn: r4055
2005-02-19 22:11:51 +00:00
Alex Roitman
329e8b6f3d * src/ArgHandler.py: Command line support for geneweb import
and export; Fix command line exports for gedcom, XML, and package.
* src/Exporter.py (help): Point to correct manual section.
* src/const.py.in: Add a constant for geneweb mime type name.
* src/plugins/WriteFtree.py: Support wizard and fix command line mode.
* src/plugins/writeftree.glade: Support export wizard.
* src/plugins/WritePkg.py: Support wizard and fix command line mode.
* src/plugins/ImportGeneWeb.py: Comment out debugging messages.
* src/plugins/WriteGeneWeb.py: Support for command-line export.


svn: r4054
2005-02-19 19:05:48 +00:00
Don Allingham
c9f66dad82 * src/EditPerson.py: more readonly patches
* src/EventEdit.py: more readonly patches
* src/Marriage.py: more readonly patches
* src/gramps.glade: more readonly patches


svn: r4053
2005-02-19 04:41:59 +00:00
Alex Roitman
ca3766b005 * src/EditPerson.py: Readonly fix.
* src/gramps.glade: Typo.


svn: r4052
2005-02-19 03:29:56 +00:00
Alex Roitman
8b0aa1f633 * src/docgen/LPRDoc.py (draw_path,draw_bar): Fill, then stroke.
* src/DbPrompter.py: Change file filter name.

* src/Report.py (doc_type_changed): Deal with empty extensions.
* src/docgen/AsciiDoc.py (add_photo): Add method;
(end_row): Inlcude last cell into proper formatting.
* src/GedcomInfo.py: Properly import expat.ParserCreate class.
* src/TipOfDay.py: Properly import expat.ParserCreate class.
* src/RecentFiles.py: Properly import expat.ParserCreate class.
* src/ReadXML.py: Properly import expat.* classes.
* doc/gramps-manual/C/usage.xml: Update.
* doc/gramps-manual/C/usage.xml: Update.
* doc/xmldocs.make: Switch Makefile from CLEANFILES to DISTCLEANFILES.
* src/Makefile.am: Add const.pyc and const.pyo to CLEANFILES.


svn: r4051
2005-02-19 00:49:49 +00:00
Eero Tamminen
8b9747c7eb Fix StatisticsChart.py date object checking
svn: r4048
2005-02-18 19:22:06 +00:00
Alex Roitman
3e75d92a03 * src/docgen/OpenOfficeDoc.py: Typo.
svn: r4047
2005-02-18 05:17:48 +00:00
Don Allingham
3f1c9e6f08 * src/EditPerson.py: more readonly support
* src/NoteEdit.py: more readonly support
* src/Sources.py: more readonly support
* src/gramps_main.py: more readonly support
* src/gramps.glade: more readonly support


svn: r4046
2005-02-18 04:49:59 +00:00
Alex Roitman
e983226112 * src/docgen/LPRDoc.py (write_at): Correct vertical offset.
* src/docgen/PdfDoc.py (write_at,draw_bar): Add functions.
* src/docgen/PSDrawDoc.py (write_at): Add function;
(draw_bar): Support for filling with color.
* src/ReportUtils.py (draw_legend): Correct vertical offset.


svn: r4045
2005-02-18 01:10:25 +00:00
Don Allingham
08eadb1d9a * src/Marriage.py: disable buttons in readonly mode
* src/EditPerson.py: disable buttons in readonly mode
* src/Sources.py: disable buttons in readonly mode
* src/gramps.glade: name buttons


svn: r4044
2005-02-17 04:46:13 +00:00
Alex Roitman
9af5c6fbb4 * doc/gramps-manual/C/getstart.xml: Update.
* doc/gramps-manual/C/mainwin.xml: Update.
* doc/gramps-manual/C/preface.xml: Update.
* doc/gramps-manual/C/figures/family-alt.png: Update.
* doc/gramps-manual/C/figures/family.png: Update.
* doc/gramps-manual/C/figures/mainwin.png: Update.
* doc/gramps-manual/C/figures/media.png: Update.
* doc/gramps-manual/C/figures/noside-nofilt.png: Update.
* doc/gramps-manual/C/figures/pedigree-anchor.png: Update.
* doc/gramps-manual/C/figures/pedigree.png: Update.
* doc/gramps-manual/C/figures/places.png: Update.
* doc/gramps-manual/C/figures/side-filt.png: Update.
* doc/gramps-manual/C/figures/sources.png: Update.
* doc/gramps-manual/C/figures/column-editor.png: Add to CVS.
* doc/gramps-manual/C/figures/pedigree-siblings-cut.png: Add to CVS.


svn: r4043
2005-02-17 04:38:45 +00:00
Don Allingham
7d985fd276 * src/EditSource.py: commit events after deleting sources
svn: r4042
2005-02-17 02:24:23 +00:00
Don Allingham
5ce24ad90a * src/GrampsBSDDB.py: first pass of readonly support
* src/GrampsInMem.py: first pass of readonly support
* src/GrampsGEDDB.py: first pass of readonly support
* src/GrampsXMLDB.py: first pass of readonly support
* src/gramps.py: first pass of readonly support
* src/FamilyView.py: first pass of readonly support
* src/EditPerson.py: first pass of readonly support
* src/EditPlace.py: first pass of readonly support
* src/EditSource.py: first pass of readonly support
* src/gramps.glade: assign names to buttons


svn: r4041
2005-02-16 22:49:54 +00:00
Eero Tamminen
68a398d2a3 get option value from correct field
svn: r4039
2005-02-16 21:02:39 +00:00
Don Allingham
09d374c608 * src/DisplayModels.py: don't override on_row_deleted
svn: r4037
2005-02-16 18:05:20 +00:00
Alex Roitman
2b92aa151e * src/EditSource.py (DelSrcQuery.query_response): Typos.
* src/ImageSelect.py (DeleteMediaQuery.query_response): Typo.
* src/GrampsInMemDB.py (remove_place,remove_object): Add methods;
(remove_person,remove_source,remove_family): Correctly remove from
id_trans table.
* src/FamilyView.py (parent_deleter,really_remove_spouse):
Use get_ instead of find_ functions.


svn: r4036
2005-02-16 13:49:32 +00:00
Don Allingham
db6a32af63 * src/AddMedia.py: handle "note only" media object
* src/DisplayModels.py: handle media type of None
* src/ImageSelect.py: Add "internal note" check box
* src/MediaView.py: handle media type of None
* src/NoteEdit.py: use glade definition
* src/gramps.glade: add note editor
* src/plubins/NavWebPage.py: Add default pages


svn: r4035
2005-02-16 05:41:33 +00:00
Alex Roitman
ab8cabe655 * doc/gramps-manual/C/authors.xml: Add list of contributors.
* doc/gramps-manual/C/getstart.xml: Update.
* doc/gramps-manual/C/gramps-manual.xml: Update.
* doc/gramps-manual/C/legal.xml: Update.
* doc/gramps-manual/C/preface.xml: Update.
* doc/gramps-manual/C/figures/first-open.png: New shot.


svn: r4034
2005-02-16 05:19:17 +00:00
Alex Roitman
6566037cdd * doc/gramps-manual/C/authors.xml: Add file.
* doc/gramps-manual/C/bugs.xml: Add file.
* doc/gramps-manual/C/preface.xml: Add file.
* doc/gramps-manual/C/Makefile.am: Ship new files.
* doc/gramps-manual/C/cmdline.xml: Convert to book.
* doc/gramps-manual/C/custom.xml: Convert to book.
* doc/gramps-manual/C/faq.xml: Convert to book.
* doc/gramps-manual/C/filtref.xml: Convert to book.
* doc/gramps-manual/C/getstart.xml: Convert to book.
* doc/gramps-manual/C/gramps-manual.xml: Convert to book.
* doc/gramps-manual/C/keybind.xml: Convert to book.
* doc/gramps-manual/C/legal.xml: Change license to GPL.
* doc/gramps-manual/C/mainwin.xml: Convert to book.
* doc/gramps-manual/C/usage.xml: Convert to book.
* COPYING-DOCS: Change license to GPL.


svn: r4032
2005-02-15 02:35:26 +00:00
Alex Roitman
9860e05cc2 Update
svn: r4031
2005-02-14 22:33:58 +00:00
Alex Roitman
80ef59b353 * src/plugins/DetAncestralReport.py: Typos.
* src/plugins/DetDescendantReport.py: Typos.


svn: r4030
2005-02-14 21:39:59 +00:00
Alex Roitman
1843c8bc19 * src/ArgHandler (handle_args): Natively open XML and GEDCOM
when given a single filename argument.
* src/gramps_main.py (read_gedcom,read_xml): Remove ununsed functions.


svn: r4029
2005-02-14 03:09:22 +00:00
Alex Roitman
595404bcc3 * src/ReadGrdb.py: Check for overlapping handles prior to
modifying data.


svn: r4028
2005-02-14 01:32:07 +00:00
Don Allingham
030375a94d * src/plugins/NavWebPage.py: More enhancements
* src/Sort.py: sort places by title


svn: r4026
2005-02-13 03:54:47 +00:00
Don Allingham
e827b66bca * src/plugins/NavWebpage.py: Build template pages for unused
pages, add Surname List and Individual List pages.


svn: r4024
2005-02-10 01:44:05 +00:00
Alex Roitman
e9bfb2137d Update
svn: r4023
2005-02-04 13:55:54 +00:00
Alex Roitman
dfeb9fad77 * src/plugins/NavWebPage.py (display_relationships): Pass
another argument to display_spouse(); (display_spouse): Use spacers
for additional spouses. Use unique registration name
* src/ReportUtils.py (find_spouse): Typo.


svn: r4022
2005-02-04 13:54:02 +00:00
Don Allingham
cee3201c41 * src/plugins/NavWebPage.py: more progress
svn: r4020
2005-02-04 03:54:48 +00:00
Don Allingham
9e3318dc17 * src/plugins/GraphViz.py: fix MALE/FEMALE/UNKNOWN
svn: r4019
2005-02-03 00:32:20 +00:00
Eero Tamminen
670b90d3ab better colors for pies
svn: r4018
2005-02-02 20:50:14 +00:00
Alex Roitman
61530228c9 * src/Makefile.am: Ship ReadGrdb.py and WriteGrdb.py.
svn: r4017
2005-02-02 14:02:13 +00:00
Alex Roitman
2a5e0bc32c * src/Report.py: Proper translatable strings for generation numbers.
* src/ReportUtils.py: More report-related methods.
* src/plugins/DetAncestralReport.py: Use ReportUtils methods.
* src/plugins/DetDescendantReport.py: Use ReportUtils methods.


svn: r4016
2005-02-02 05:09:07 +00:00
Guillaume Pratte
e3f2a65411 Updated
svn: r4015
2005-02-02 05:07:09 +00:00
Alex Roitman
9fd0d9e355 * src/ReportUtils.py: More report-related methods.
* src/plugins/DetAncestralReport.py: Use ReportUtils methods.
* src/plugins/DetDescendantReport.py: Use ReportUtils methods.


svn: r4011
2005-02-01 05:08:16 +00:00
Alex Roitman
cdbe7a0ecc Update
svn: r4010
2005-02-01 04:18:12 +00:00
Alex Roitman
a6b36faaa8 * src/RelLib.py: Finish up with actual MALE, FEMALE, and UNKNOWN
svn: r4009
2005-02-01 04:16:02 +00:00
Don Allingham
6463227a6e * various: Change Person.male, Person.female, and Person.unkwown
to Person.MALE, Person.FEMALE and Person.UNKNOWN

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


svn: r4008
2005-02-01 03:46:29 +00:00
Alex Roitman
f7daf18f5d * src/ReportUtils.py (born_died_str,married_str): Use NameDisplay
to properly display names; (get_birth_death_strings, child_str,
born_str, died_str, buried_str): Add functions; (draw_legend): Use
correct style for the legend text, using write_at().
* src/docgen/OpenOffice.org (write_at): Accept paragraph style name.
* src/docgen/LPRDoc.org (draw_bar): Properly draw and use color
for the bar; (write_at): Correctly transform coordinates.
* src/plugins/StatisticsChart.py: Replace tabs with spaces.


svn: r4005
2005-01-31 05:31:30 +00:00
Alex Roitman
5fb5b7606b Update
svn: r4004
2005-01-31 02:31:11 +00:00
Alex Roitman
52e5137188 Update
svn: r4002
2005-01-31 01:20:43 +00:00
Alex Roitman
fb1c488604 * src/WriteGrdb.py: Copy metadata.
svn: r4001
2005-01-31 01:20:13 +00:00
Alex Roitman
a53baae751 * src/WriteGrdb.py: Add to CVS.
* src/gramps.glade: Add Save as item, switch former one to Export.
* src/gramps_main.py: Support for save as.
* src/DbPrompter.py: Support for save as.


svn: r4000
2005-01-30 23:53:47 +00:00
Alex Roitman
91b3c8beb3 * src/ArgHandler.py: Support for opening in the command-line mode.
* src/const.py.in: Add -O | --open option.


svn: r3991
2005-01-29 23:34:09 +00:00
Alex Roitman
a1b5e0d4a6 * src/plugins/GraphViz.py (GraphVizDialog.__init__):
Use proper response ID;  (GraphVizGraphics.__init__): set up self.doc;
(EmptyDoc.init): Add empty method.


svn: r3990
2005-01-29 22:05:21 +00:00
Eero Tamminen
19dd2dccb0 Added Pie chart support to StatisticsChart plugin
svn: r3989
2005-01-29 20:41:22 +00:00
Eero Tamminen
c4871857fe Add 5 new statistics to StatisticsChart.py plugin
svn: r3988
2005-01-29 17:11:02 +00:00
Alex Roitman
760b3561f1 * src/ArgHandler.py: Support for the native importer.
* NEWS: Update.


svn: r3986
2005-01-29 06:05:51 +00:00
Alex Roitman
5e6c9ffb37 * src/PedView.py: Fix remnants of gnome.canvas syntax.
* src/ReadGrdb.py: Add to CVS: native database importer.
* src/DbPrompter.py: Support for the native importer.
* src/Errors.py: Add HandleError exception for duplicate handles.


svn: r3984
2005-01-29 05:13:29 +00:00
Don Allingham
43bcff24ed * src/DbPrompter.py: gnome.vfs vs. gnomevfs, tolerence
* src/GrampsMime.py: gnome.vfs vs. gnomevfs tolerence
* src/ImageSelect.py: gnome.canvas vs. gnomecanvas tolerence
* src/NameDisplay.py: gnome.vfs vs. gnomevfs tolerence
* src/PedView.py: gnome.canvas vs. gnomecanvas tolerence
* src/Utils.py: remove mime handling, use GrampsMime
* src/plugins/WriteCD.py: gnome.vfs vs. gnomevfs tolerence


svn: r3971
2005-01-27 03:18:21 +00:00
Don Allingham
4cc40c0f34 * src/ReportUtils.py: allow start and stop event handle selection
for age estimation


svn: r3967
2005-01-26 04:21:38 +00:00
Alex Roitman
f875a3f8a8 * src/ReadGedcom.py (parse_person_object,parse_family_object):
Use absolute path to work around what seems a gnomevfs issue.


svn: r3965
2005-01-25 23:08:37 +00:00
Alex Roitman
91e111b8fc * src/TipOfDay.py (TipOfDay.__init__): Set transent property.
* src/gramps_main.py (Gramnps.__init__): Pass itself to TipOfDay;
(on_show_plugin_status,build_plugin_menus): Pass itself to PluginStatus.
* src/Plugins.py (PluginStatus.__init__): Set transent property.


svn: r3963
2005-01-25 21:25:15 +00:00
Eero Tamminen
fc4502f33d fix StatisticsChart.py chart output, improve code
svn: r3961
2005-01-25 19:56:23 +00:00
Alex Roitman
149e351665 * src/ReportUtils.py (born_died_str,married_str,child_str):
Add functions.
* src/plugins/FtmStyleDescendants.py,
src/plugins/FtmStyleAncestors.py: Use common strings from ReportUtils.


svn: r3960
2005-01-25 04:46:52 +00:00
Don Allingham
985746a408 * gramps.spec.in: pkill gconfd to fix settings
svn: r3959
2005-01-25 04:24:42 +00:00
Alex Roitman
9a35d9e662 * src/docgen/LPRDoc.py (LPRDoc.draw_box): Shadow support.
svn: r3957
2005-01-25 00:23:53 +00:00
Alex Roitman
6b74907d80 * src/Report.py (BareReportDialog.init_interface): Set up buttons
with proper response values; (report): Ignore everything except
RESPONSE_OK.
* src/plugins/BookReport.py (BookReportSelector.on_setup_clicked,
BookReportDialog.__init__): Ignore everything except RESPONSE_OK.


svn: r3956
2005-01-24 23:39:50 +00:00
Alex Roitman
c918e902db * src/StyleEditor.py (draw,save_paragraph): Swap SERIF and SANS_SERIF.
svn: r3954
2005-01-24 19:29:51 +00:00
Alex Roitman
61d3f10766 update
svn: r3952
2005-01-24 19:03:05 +00:00
Alex Roitman
73f958b915 * src/Report.py: Fix adding styles and calling doc.init().
* src/BaseDoc.py: Restructure header; Replace tabs with spaces.
* src/plugins/AncestorChart.py (calc): Remove doc.init() call.
* src/plugins/AncestorChart2.py (calc): Remove doc.init() call.
* src/plugins/Ancestors.py (define_table_styles): Add method.
* src/plugins/FamilyGroup.py (define_table_styles): Add method.
* src/plugins/FanChart.py (define_graphics_styles): Add method.
* src/plugins/FtmStyleDescendants.py (define_table_styles):
Add method.
* src/plugins/FtmStyleAncestors.py: Minor cleanups
* src/plugins/IndivComplete.py (define_table_styles): Add method.
* src/plugins/IndivSummary.py (define_table_styles): Add method.
* src/plugins/Partition.py: Remove from CVS.
* src/plugins/StatisticsChart.py (define_graphics_styles):
Add method.
* src/plugins/TimeLine.py (define_graphics_styles): Add method.


svn: r3948
2005-01-24 16:33:47 +00:00
Don Allingham
e70e6c6e68 * src/BaseDoc.py: don't check for init on table or cell addition
* src/Report.py: Call doc.init() before write_report


svn: r3947
2005-01-24 00:16:33 +00:00
Eero Tamminen
17fef1ebc6 Complete refactoring of the Extract class
svn: r3946
2005-01-22 21:46:55 +00:00
Eero Tamminen
a1509e8f81 preliminary multiple statistics chart support
svn: r3945
2005-01-21 21:55:10 +00:00
Eero Tamminen
da4184f1f8 use non-localized descriptions for cli help
svn: r3944
2005-01-21 21:46:11 +00:00
Don Allingham
c39b6ba091 * src/ReportUtils.py: added estimate_age and sanitize_person
* src/BaseDoc.py: Add checks attempting to add styles after initializing
the document
* src/docgen/OpenOfficeDoc.py: add init assertions
* src/docgen/PSDrawDoc.py: fix line style in boxes
* src/docgen/SvgDrawDoc.py: fix line style in boxes

* src/ReportUtils.py: added documentation


svn: r3942
2005-01-20 04:11:13 +00:00
Alex Roitman
69b77f46a8 * src/dates/Date_fr.py: Add formats and quality.
* src/dates/Date_es.py: Add formats and quality.


svn: r3938
2005-01-19 05:13:09 +00:00
Alex Roitman
660028889a * src/Utils.py (roman, pt2cm, cm2pt): Remove functions.
* src/ReportUtils.py (roman): Add function.
* src/docgen/OpenOfficeDoc.py (pt2cm): Remove function.
* src/docgen/PSDrawDoc.py (pt2cm): Remove function.
* src/plugins/AncestorChart2.py: Use ReportUtils.
* src/plugins/AncestorChart.py: Use ReportUtils.
* src/plugins/DesGraph.py: Use ReportUtils.
* src/plugins/FanChart.py: Use ReportUtils.
* src/plugins/StatisticsChart.py: Use ReportUtils.
* src/plugins/TimeLine.py: Use ReportUtils.


svn: r3937
2005-01-19 04:47:36 +00:00
Alex Roitman
9e51b4673b * src/RelLib.py (Event.are_equal): Only compare place handles if
at least one if them is non-empty.


svn: r3935
2005-01-19 03:31:48 +00:00
Alex Roitman
c410c21c7c * src/EditPerson.py (get_place): Use "" for empty place's handle.
svn: r3934
2005-01-19 03:24:33 +00:00
Alex Roitman
ccac3c9d2a * src/NameEdit.py: Fix patronymic show/save.
svn: r3933
2005-01-19 00:36:06 +00:00
Alex Roitman
06318c1da6 * src/DateDisplay.py: Move common objects back to DateDisplay class.
* src/dates/Date_ru.py: Add formats and quality.


svn: r3932
2005-01-19 00:13:57 +00:00
Eero Tamminen
40078d71aa numerous changes to GraphViz.py, see Changelog
svn: r3931
2005-01-18 21:00:58 +00:00
Alex Roitman
181a547791 Update
svn: r3928
2005-01-18 15:49:57 +00:00
Alex Roitman
556a7848ba * NEWS: Correct attribution of ini-backend.
* configure.in: bump up the version number.

* Release: Version 1.1.3 Splunge: this is a greate idea, but
possibly lousy, and I'm not being indecisive" released.


svn: r3927
2005-01-18 15:47:18 +00:00
Don Allingham
691db65cec * src/ReportUtils.py: Added
* src/BaseDoc.py: support for graphs
* src/docgen/OpenOfficeDoc.py: write_at support
* src/Makefile.am: added ReportUtils.py


svn: r3926
2005-01-18 05:42:08 +00:00
Alex Roitman
2ca62de9a5 * src/plugins/GraphViz.py: Remove bogus UI labels.
svn: r3921
2005-01-17 20:46:32 +00:00
Alex Roitman
3d87ce091c * src/ReadGedcom.py: Handle missing TRLR record.
svn: r3920
2005-01-17 18:05:50 +00:00
Alex Roitman
d8a76a4c6d * src/docgen/PdfDoc.py: Port table and image fixes from STABLE.
* src/plugins/Ancestors.py (person_name): Avoid overriding builtin.


svn: r3919
2005-01-17 05:12:34 +00:00
Alex Roitman
639602a2b8 * src/ReportOptions.py (OptionHandler.set_options):
svn: r3918
2005-01-16 19:14:14 +00:00
Alex Roitman
a91ea37f9c * src/plugins/FamilyGroup.py (dump_parent): Typo.
svn: r3917
2005-01-16 18:55:38 +00:00
Alex Roitman
de38bec406 * src/Plugins.py (reload_plugins): Check for status.
* src/Report.py: pychecker fixes


svn: r3916
2005-01-16 17:50:32 +00:00
Don Allingham
347ac96279 * src/EditPerson.py: don't use quote date
* src/PeopleModel.py: remove BOLD
* src/PeopleView.py: start of sorting support
* src/WriteXML.py: use hlink for Witness
* various: pychecker fixes
* configure.in: bump up to 1.1.3, the "Splunge: this is a
greate idea, but possibly lousy, and I'm not being indecisive"
release


svn: r3915
2005-01-16 04:00:35 +00:00
Alex Roitman
55c549de0a * src/docgen/KwordDoc.py: Register with paper capabilites.
* src/docgen/PdfDoc.py: Register with paper capabilites.
* src/docgen/RTFDoc.py: Register with paper capabilites.
* src/const.py.in: Update copyright year.
* NEWS: Update.


svn: r3914
2005-01-15 20:24:29 +00:00
Alex Roitman
f89ee71f28 * src/plugins/GraphViz.py: Restore "Place/cause when no date"
option that was available before in RelGraph; rename 'show
family nodes' into 'sfn'.
* src/plugins/StatisticsChart.py: Rename 'sort' into 'sortby'.


svn: r3913
2005-01-15 05:51:48 +00:00
Alex Roitman
0c525c8e3b * src/plugins/BookReport.py: Switch to saving/restoring/registering
items by the non-localized name.
* src/plugins/GraphViz.py: Many various fixes.


svn: r3911
2005-01-14 05:02:20 +00:00
Alex Roitman
173c687ec7 * src/Report.py: Typos.
* src/plugins/WebPage.py: Typos.


svn: r3910
2005-01-13 18:21:04 +00:00
Alex Roitman
72a25955d0 * src/plugins/Check.py: Typos.
svn: r3909
2005-01-13 18:00:49 +00:00
Don Allingham
5d61ffc49c * src/DateDisplay.py: Make DateDisplayEn inherit from DateDisplay, make
DateDisplay handle only ISO dates
* src/DateHandler.py: use DateDisplayEn for English languages, use
DateDisplay for CJK
* src/GrampsCfg.py: Don't do initial redisplay of Person List when
dialog comes up, update dates dynamically when date format changes


svn: r3908
2005-01-12 21:23:31 +00:00
Alex Roitman
2b583a8e6d * src/DisplayModels.py: Add Date and Place columns to Media model;
Zip to Place model.
* src/MediaView.py: Support for Date and Place columns.
* src/PlaceView.py: Support for Zil column.
* src/GrampsDbBase.py (get_place_column_order,
get_media_column_order): New column defaults.


svn: r3907
2005-01-12 13:41:54 +00:00
Alex Roitman
156b885b05 * src/plugins/WebPage.py: Fix templates.
svn: r3906
2005-01-12 04:16:22 +00:00
Alex Roitman
4e1f122272 * src/Report.py: Switch to using short format names. Fix templates.
* src/Plugins.py: Switch to using short format names.
* src/PluginMgr.py: Switch to using short format names.
* src/ReportOptions.py: Switch to using short format names.


svn: r3905
2005-01-12 03:29:02 +00:00
Alex Roitman
94a9a554de * src/plugins/GraphViz.py: Support for graphical report
if dot was found on the system.


svn: r3904
2005-01-12 00:48:42 +00:00
Alex Roitman
edfb524597 * src/Utils.py (for_each_ancestor): Switch from Person to handle.
* src/GenericFilter.py (for_each_ancestor): Pass db instance.


svn: r3902
2005-01-11 22:41:15 +00:00
Eero Tamminen
b4c0e9df90 fixes to StatisticsChart
svn: r3901
2005-01-11 20:31:51 +00:00
Alex Roitman
c920e6dfcc * src/GrampsGconfKeys.py (get_event_id_prefix): Typo.
* src/GrampsIniKeys.py (get_event_id_prefix): Typo.


svn: r3899
2005-01-11 16:55:15 +00:00
Alex Roitman
4d675bddb8 * src/WriteGedcom.py (write_source_ref): Use source, not handle.
svn: r3898
2005-01-11 04:32:26 +00:00
Alex Roitman
89bc901357 * src/EditPlace.py (EditPlace.display_references):
Fix event and object references.
* src/ImageSelect.py (GlobalMediaProperties.display_refs):
Add references for personal and family events.


svn: r3897
2005-01-11 04:17:53 +00:00
Don Allingham
32ad5f2823 * src/EditPlace.py: make reference lists work properly for places
svn: r3896
2005-01-11 04:09:52 +00:00
Alex Roitman
0a86499dbe * src/PluginMgr.py (reload_plugins): Remove function.
* src/Plugins.py (reload_plugins): Add function.


svn: r3895
2005-01-11 03:51:27 +00:00
Alex Roitman
5eeb9e9050 * src/plugins/StatisticsChart.py: Misc fixes.
svn: r3893
2005-01-11 02:19:29 +00:00
Eero Tamminen
b2628777c3 Initial port of StatisticsChart plugin to CVS HEAD
svn: r3891
2005-01-10 20:12:16 +00:00
Alex Roitman
36a9efd85a * src/PluginMgr.py: Minor fixes.
svn: r3890
2005-01-09 03:28:28 +00:00
Don Allingham
8ad3ba7456 * src/GrampsDbBase.py: remove thumbnailing routines, add
id creation. Removes gtk and Utils dependencies, making the
database routines independent of gtk and gnome.
* src/ImgManip.py: add thumbnailing routines.
* various: thumbnailing changes and pychecker fixes


svn: r3888
2005-01-09 02:18:49 +00:00
Alex Roitman
65b6bb34af * src/gramps.glade: Reorder toolbar style options.
* src/GrampsCfg.py (get_toolbar_style): Remove function;
(GrampsPreferences.build): Use correct values.
* src/GrampsGconfKeys.py (get_toolbar, save_toolbar):
Correct tuple of valid values.
* src/gramps_main.py (init_interface, toolbar_key_update):
Use function from GrampsKeys.
* src/data/gramps.schemas: Correct the default and the
description of the toolbar key.


svn: r3887
2005-01-08 22:35:04 +00:00
Alex Roitman
f797f398b2 * src/DbPrompter.py (NewNativeDbPrompter.chooser):
Initialize natvie database before attempting to load.


svn: r3886
2005-01-08 21:52:57 +00:00
Alex Roitman
8fecc70ba7 * src/GrampsInMemDB.py (get_person_from_gramps_id,
get_family_from_gramps_id,get_place_from_gramps_id,
get_source_from_gramps_id,get_object_from_gramps_id):
Unserialize tuple and return a proper GRAMPS object.


svn: r3885
2005-01-08 21:42:40 +00:00
Alex Roitman
6141ffb14b * src/Report.py (CommandLineReport.parse_option_str):
Fix PluginMgr lists.
* src/plugins/CustomBookText.py: Convert to new scheme.
* src/plugins/FamilyGroup.py: Switch from handle to id for spouse.
* src/plugins/SimpleBookTitle.py: Cleanups.


svn: r3884
2005-01-08 20:19:06 +00:00
Alex Roitman
41ef57a252 * src/plugins/SimpleBookTitle.py: Convert to new scheme.
* src/docgen/LPRDoc.py: Support photo alignments.
* src/Report.py: Fix interface creation order.


svn: r3883
2005-01-08 05:54:49 +00:00
Don Allingham
b5b5167e73 * src/gramps.glade: removal of more OptionMenus in favor
of ComboBoxes
* src/GrampsCfg.py: use new ComboBoxes
* src/DateHandler.py: fix set_format vs. formats bug


svn: r3882
2005-01-08 03:49:43 +00:00
Alex Roitman
bad8f0ba76 * src/Plugins.py: Use doc lists from PluginMgr.
* src/Exporter.py: Use exports list from PluginMgr.
* src/plugins/BookReport.py: Import Plugins module.
* src/NameEdit.py (NameEditor.__init__): Typos.


svn: r3881
2005-01-08 00:20:42 +00:00
Eero Tamminen
c47db9780f added missing py files to installation list
svn: r3879
2005-01-07 19:39:08 +00:00
Alex Roitman
ce8bc23927 * src/ArgeHandler.py: Support for WEB for CLI mode.
* src/Report.py: Support for WEB reports.
* src/plugins/GraphViz.py: Minor tweaks.
* src/plugins/WebPage.py: Convert to new scheme. Still rough.


svn: r3878
2005-01-07 04:53:43 +00:00
Don Allingham
44337dbe09 * src/EditPerson.py: switch to ComboBox from OptionMenu
* src/GenericFilter.py: switch to ComboBox from OptionMenu
* src/Marriage.py: switch to ComboBox from OptionMenu
* src/PeopleView.py: switch to ComboBox from OptionMenu
* src/gramps.glade:switch to ComboBox from OptionMenu
* src/gramps_main.py: switch to ComboBox from OptionMenu


svn: r3877
2005-01-07 04:34:02 +00:00
Alex Roitman
4ec74f675a Minor
svn: r3876
2005-01-06 20:08:27 +00:00
Alex Roitman
964eed538b Minor
svn: r3874
2005-01-06 18:38:42 +00:00
Don Allingham
09328f505b * src/GrampsIniKeys.py: provide support for the default schema
* src/GrampsKeys.py: select appropriate backend
* various: switch from GrampsGconfKeys to GrampsKeys for normal usage

* src/GrampsIniKeys.py: Alternate backend using .ini files instead
of gconf


svn: r3873
2005-01-06 17:28:31 +00:00
Don Allingham
78e338aeaa * src/gramps_main.py: detect pygtk_version before passing
False for markup on MenuItem


svn: r3871
2005-01-06 04:07:29 +00:00
Alex Roitman
a32b40187f * src/Utils.py (roman): Proper implementation.
svn: r3869
2005-01-06 03:15:25 +00:00
Don Allingham
6f0bc853e7 * src/EditSource.py: Patch to fix the list of References of a
Source, because currently the Source for a Person and Sources
of addresses are omitted.


svn: r3868
2005-01-06 03:08:52 +00:00
Alex Roitman
c0f3a10147 * src/ArgeHandler.py: Support for CODE for CLI mode.
* src/Plugins.py: Use 'text' instead of 'doc'.
* src/Report.py: Support for CODE reports.
* src/ReportOptions.py: Paper-setting methods for runtime.
* src/const.py.in: Label change.
* src/plugins/GraphViz.py: Convert to new scheme.


svn: r3867
2005-01-05 05:56:33 +00:00
Don Allingham
40559041d3 * src/Plugins.py: move non-gui functions to PluginMgr.py
* src/PluginMgr.py: Non-gui functions for plugins
* src/Makefile.am: Added PluginMgr.py
* various: switch from Plugins to PluginMgr


svn: r3866
2005-01-05 05:02:19 +00:00
Don Allingham
a161a842eb * src/DateHandler.py: Don't force English parser if problem with
config value, but LANG is set properly


svn: r3863
2005-01-03 19:43:22 +00:00
Don Allingham
66d77d7700 * src/GrampsDbBase.py: move all thumbnail creation here to have
a common thumbnail scheme.
* src/GrampsInMemDB.py: remove thumbnail handling, use base class


svn: r3862
2005-01-03 19:28:04 +00:00
Alex Roitman
da527e786e * src/plugins/Makefile.am: Stop shipping RelGraph.py.
svn: r3861
2005-01-02 23:55:21 +00:00
Alex Roitman
ad564ed43e * src/plugins/RelGraph.py: Remove from CVS.
* src/plugins/GraphViz.py: Minor fixes. Still not converted yet.


svn: r3860
2005-01-02 23:54:11 +00:00
Alex Roitman
9e394c9205 * src/Report.py (report): Support for VIEW reports.
* src/plugins/Summary.py: Convert to new scheme.
* src/plugins/CountAncestors.py: Convert to new scheme.


svn: r3859
2005-01-02 23:48:39 +00:00
Alex Roitman
b6098a2251 * src/Report.py: Add support for a semi-common 'dispf'.
* src/ReportOptions.py: Add support for a semi-common 'dispf'.
* src/Utils.py (cm2pt): Add function.
* src/plugins/AncestorChart.py: Convert to new scheme.
* src/plugins/AncestorChart2.py: Convert to new scheme.
* src/plugins/DesGraph.py: Convert to new scheme.


svn: r3858
2005-01-02 22:22:11 +00:00
Alex Roitman
0a3e608121 * src/plugins/FanChart.py: Convert to new scheme.
* src/SubstKeywords.py (SubstKeywords.__init__): Typo.
* src/plugins/TimeLine.py: Remove unneeded imports.
* src/plugins/FamilyGroup.py: Remove unneeded imports.
* src/plugins/Ancestors.py: Remove unneeded imports.


svn: r3857
2005-01-02 06:40:08 +00:00
Don Allingham
63b3c2e687 * src/EditPerson.py: move strip_id from Utils
* src/GrampsCfg.py: use ComboBox for toolbar selection
* src/Sources.py: switch to ComboBoxes from OptionMenus
* src/Utils.py: removed unused functions
* src/gramps.glade: switch to ComboBoxes


svn: r3856
2005-01-02 05:16:25 +00:00
Alex Roitman
12be7e620a * src/Report.py: Typos.
svn: r3855
2005-01-01 20:04:13 +00:00
Alex Roitman
1c7d6d60c5 * src/plugins/DetAncestralReport.py: Minor cleanup.
* src/plugins/DetDescendantReport.py: Convert to new scheme.
* src/plugins/FamilyGroup.py: Convert to new scheme.


svn: r3854
2005-01-01 19:58:53 +00:00
Don Allingham
6b2bf53b49 * src/gramps.glade: remove name display options
* src/GrampsCfg.py: remove name displaying functions
* src/Makefile.am: add NameDisplay.py to list
* src/NameDisplay.py: New name displaying class
* src/Utils.py: use new NameDisplay class
* src/AddSpouse.py: use new NameDisplay class
* src/AddrEdit.py: use new NameDisplay class
* src/Bookmarks.py: use new NameDisplay class
* src/ChooseParents.py: use new NameDisplay class
* src/DisplayModels.py: use new NameDisplay class
* src/EditPerson.py: use new NameDisplay class
* src/EditPlace.py: use new NameDisplay class
* src/EditSource.py: use new NameDisplay class
* src/FamilyView.py: use new NameDisplay class
* src/GenericFilter.py: use new NameDisplay class
* src/ImageSelect.py: use new NameDisplay class
* src/Marriage.py: use new NameDisplay class
* src/MergeData.py: use new NameDisplay class
* src/NameEdit.py: use new NameDisplay class
* src/PedView.py: use new NameDisplay class
* src/PeopleModel.py: use new NameDisplay class
* src/ReadGedcom.py: use new NameDisplay class
* src/Report.py: use new NameDisplay class
* src/SelectChild.py: use new NameDisplay class
* src/SubstKeywords.py: use new NameDisplay class
* src/Witness.py: use new NameDisplay class
* src/WriteGedcom.py: use new NameDisplay class
* src/gramps_main.py: use new NameDisplay class
* src/plugins/Desbrowser.py: use new NameDisplay class
* src/plugins/Merge.py: use new NameDisplay class
* src/plugins/RelCalc.py: use new NameDisplay class


svn: r3852
2005-01-01 04:27:15 +00:00
Alex Roitman
14c4a8a4c5 Update
svn: r3850
2005-01-01 02:20:35 +00:00
Alex Roitman
6494d8e7bb * src/RelLib.py (Family.set_mother_handle): Typo.
* src/Report.py: Use gen and pagebbg.
* src/ReportOptions.py: Use gen and pagebbg.
* src/plugins/Ancestors.py: Use gen and pagebbg.
* src/plugins/AncestorReport.py: Use gen and pagebbg.
* src/plugins/DescendReport.py: Use gen and pagebbg.
* src/plugins/FtmStyleDescendants.py: Use gen and pagebbg.
* src/plugins/FtmStyleAncestors.py: Use gen and pagebbg.
* src/plugins/IndivComplete.py: Convert to new scheme.
* src/plugins/TimeLine.py: Add custom filters to the pool.
* src/plugins/DetAncestralReport.py: Convert to new scheme.


svn: r3849
2005-01-01 02:17:17 +00:00
Alex Roitman
b932aefbf2 * src/plugins/BookReport.py (cl_report):
Use begin_report for each item.


svn: r3848
2004-12-31 05:48:34 +00:00
Alex Roitman
f89db811d6 * src/Report.py: Change finish_report to end_report.
svn: r3847
2004-12-31 05:45:23 +00:00
Don Allingham
399f88a927 * src/RelLib.py: documentation
* src/Report.py: change finish_report to end_report
* src/DateHandler.py: remove debugging statement


svn: r3846
2004-12-31 05:36:39 +00:00
Alex Roitman
26999e1e0c * src/Report.py (Report.__init__): Proper use of output;
(report): Typo; (cl_report): Use begin_report and finish_report.
* src/plugins/BookReport.py (BookReportDialog.make_report):
Use begin_report for each item.


svn: r3844
2004-12-30 04:12:01 +00:00
Don Allingham
1ffdd6a713 * src/Plugins.py: add GrampsBookFormatComboBox class
* src/Report.py: Roll common functions into Report class
* src/plugins/AncestorReport.py: Bring up to date with Report
* src/plugins/Ancestors.py: Bring up to date with Report
* src/plugins/BookReport.py: Bring up to date with Report,
incorporate new ComboBox
* src/plugins/DescendReport.py: Bring up to date with Report
* src/pulgins/FtmStyleAncestors.py: Bring up to date with Report
* src/pulgins/FtmStyleDescendants.py: Bring up to date
with Report
* src/plugins/IndivSummary.py: Bring up to date with Report
* src/plugins/TimeLine.py: Bring up to date with Report


svn: r3843
2004-12-30 00:21:49 +00:00
Alex Roitman
1357661bb5 * src/DisplayTrace.py: Typo in the debian version filename.
* src/plugins/Ancestors.py: Convert to new scheme.
* src/plugins/AncestorReport.py: New date handling.
* src/plugins/FtmStyleDescendants.py: New date handling.
* src/plugins/FtmStyleAncestors.py: New date handling.


svn: r3842
2004-12-29 21:19:18 +00:00
Don Allingham
e2c149f41e * src/DateEdit.py: use global date displayer/parser
* src/DateHandler.py: provide global date displayer/parser
instead of having a bunch of different classes have their
own handler that needs to be updated with the handlers change.
* src/EditPerson.py: use global date displayer/parser
* src/EventEdit.py: use global date displayer/parser
* src/FamilyView.py: use global date displayer/parser
* src/GenericFilter.py: use global date displayer/parser
* src/GrampsCfg.py: remove unused statements
* src/ImageSelect.py: use global date displayer/parser
* src/Marriage.py: use global date displayer/parser
* src/ReadXML.py: use global date displayer/parser
* src/RelLib.py: don't require get_display_info, eliminate
needed for importing const and GrampsCfg
* src/SelectChild.py: don't require get_display_info
* src/Sources.py: use global date displayer/parser
* src/plugins/RelCalc.py: don't require get_display_info


svn: r3841
2004-12-29 05:06:10 +00:00
Don Allingham
252d7dc6c8 * src/ChooseParents.py: remove TreeModelFilter stuff.
svn: r3840
2004-12-28 05:53:43 +00:00
Don Allingham
7e63d37361 * src/GenericFilter.py: Add a combobox that handles filter
selection
* src/PaperMenu.py: Add combobox classes to handle paper size
and paper orientation selection.
* src/Plugins.py: Add combobox classes to handle draw doc format
and text doc format selection
* src/Report.py: Use new comboboxes
* src/plugins/TimeLine.py: Use new comboboxes

* src/Filter.py: remove - no longer used


svn: r3839
2004-12-28 00:23:49 +00:00
Don Allingham
0f7d28ddfc * src/ReadGedcom.py: create GedcomDateParser class to handle
English requirements for GEDCOM


svn: r3838
2004-12-26 18:23:50 +00:00
Don Allingham
adf91f7efb * src/DateHandler.py: provide date handler registration function
* src/RelLib.py: more documentation
* src/dates/Date_es.py: use new registration function
* src/dates/Date_fr.py: use new registration function
* src/dates/Date_ru.py: use new registration function


svn: r3837
2004-12-26 17:43:22 +00:00
Don Allingham
2c7a46429f * src/RelLib.py: documentation improvements, move family
relations constants from const.py.in
* src/AddSpouse.py: relationship constant changes
* src/BaseDoc.py: documentation improvements
* src/ChooseParents.py: relationship constant changes
* src/Date.py: documentation changes
* src/ReadGedcom.py: relationship constant changes, remove
unused global
* src/ReadXML.py: relationship constant changes
* src/SelectChild.py: has_family to get_parent_family
* src/const.py.in: moved family relation constants to RelLib
* src/plugins/Check.py: relationship constant changes
* src/plugins/ImportGeneWeb.py: relationship constant changes
* src/plugins/WriteGeneWeb.py: relationship constant changes


svn: r3836
2004-12-24 18:46:34 +00:00
Alex Roitman
d0c3eb00e9 * src/ReportOptions.py (ReportOptions): Add wrappers to hide handler.
* src/plugins/BookReport.py: Use wrappers.
* src/plugins/TimeLine.py: Use wrappers.
* src/plugins/FtmStyleDescendants.py: Use wrappers.
* src/plugins/FtmStyleAncestors.py: Use wrappers.
* src/plugins/AncestorReport.py: Use wrappers.
* src/plugins/DescendReport.py: Use wrappers.
* src/plugins/IndivSummary.py: Use wrappers.


svn: r3834
2004-12-23 17:39:47 +00:00
Alex Roitman
b62e302af0 * src/Plugins.py: Fix Reports menu.
svn: r3833
2004-12-23 03:48:23 +00:00
Alex Roitman
fbe6380b09 * src/PeopleModel.py (PeopleModel.__init__): Make data_filter optional.
* src/plugins/FtmStyleAncestors.py: Convert to new scheme.
* src/plugins/AncestorReport.py: Convert to new scheme.
* src/plugins/DescendReport.py: Convert to new scheme.
* src/plugins/IndivSummary.py: Convert to new scheme.


svn: r3832
2004-12-23 01:48:00 +00:00
Alex Roitman
0ee41fb763 * src/ReportOptions.py (ReportOptions): Add base Options class.
* src/plugins/BookReport.py (BookOptions): Derive from base class.
* src/plugins/TimeLine.py (TimeLineOptions): Derive from base class.
* src/plugins/FtmStyleDescendants.py (FtmDescendantOptions):
Derive from base class.


svn: r3830
2004-12-23 00:57:56 +00:00
Alex Roitman
ddad91aac4 Update
svn: r3829
2004-12-22 06:12:26 +00:00
Alex Roitman
2898c30381 * src/Plugins.py: Use category to register cl report.
* src/Report.py: Handle showing options centrally.
* src/gramps_main.py: Remove name and category from options.
* src/plugins/BookReport.py: Handle showing options centrally.


svn: r3828
2004-12-22 04:55:12 +00:00
Alex Roitman
c8bfe2e8d3 Merge REP_OPT branch
svn: r3827
2004-12-22 01:56:37 +00:00
Alex Roitman
4dd9d443e2 * src/docgen/AsciiDoc.py (reformat_para): Correctly check for
empty paragraph.


svn: r3825
2004-12-21 17:04:52 +00:00
Don Allingham
224bef8af3 * src/DbPrompter.py: Add display messages during load
* src/GrampsBSDDB.py: Add display messages during load
* src/gramps_main.py: Add display messages during load


svn: r3820
2004-12-19 23:37:40 +00:00
Don Allingham
295e9a530f * src/DisplayModels.py: use a dictionary to handle reverse
indices instead of list.index function. Drastically reduces
time are larger lists.
* src/GrampsDbBase.py: use cursors to build sorted key lists
* src/PeopleModel.py: fetch sort names out of database first
instead of continuously fetching from database during sort
* src/PeopleView.py: remove unnecessary apply_filter
* src/PlaceView.py: remove commented-out code
* src/ReadXML.py: add gtk event handling to allow screen to
update
* src/gramps.glade: use gramps.png for loading message window
* src/gramps_main.py: remove delete_abandoned_photos calls

* src/PeopleModel.py: Fixed rebuild_display
* src/ReadXML.py: Fixed calendar handling


svn: r3819
2004-12-19 22:55:41 +00:00
Julio Sánchez
9c2c4ec4be * src/po/es.po: forward port of the Spanish translations in STABLE,
plus many new translations


svn: r3811
2004-12-16 08:49:45 +00:00
Julio Sánchez
69c25fdc74 Fix wrong dates in ChangeLog
svn: r3810
2004-12-16 08:43:50 +00:00
Julio Sánchez
c181f55636 * src/po/es.po: updated to the result of running msmerge against a
recent template.po with no other change


svn: r3807
2004-12-15 14:50:34 +00:00
Julio Sánchez
0571dd6749 * src/dates/Date_es.py: first version of date handler for Spanish
starting from the French version
* src/dates/Makefile.am: include Spanish date handler
Date_fr.py+	Date_es.py


svn: r3806
2004-12-15 14:34:34 +00:00
Don Allingham
5f8f50f667 update
svn: r3802
2004-12-14 02:57:37 +00:00
Tim Waugh
4f64dd0fea 2004-12-13 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py (generation): Avoid empty sections.


svn: r3801
2004-12-13 19:00:12 +00:00
Alex Roitman
e7122913f1 * src/PedView.py (get_distance): Remove function; use similar
from Relationship module.


svn: r3793
2004-12-10 00:22:05 +00:00
Don Allingham
5c1f204a1c * src/FamilyView.py: remove debug statement
* src/PeopleModel.py: abandon the attempt to use TreeFilter
* src/PeopleView.py: abandon the attempt to use TreeFilter


svn: r3792
2004-12-09 23:38:43 +00:00
Don Allingham
4a948c6178 * src/DbPrompter.py: destroy filechooser if open cancelled.
* src/Report.py: Use markup in dialog
* src/Utils.py: fix year handling
* src/plugins/Webpage.py: use markup


svn: r3791
2004-12-08 22:54:26 +00:00
Alex Roitman
9f7132db4c * src/data/Makefile.am: Replace dist_data_DATA with EXTRA_DIST.
svn: r3789
2004-12-07 21:38:30 +00:00
Alex Roitman
679c7c7390 * configure.in: bump up the version.
* Release: Version 1.1.2 "Confuse-a-cat" released.


svn: r3787
2004-12-07 04:30:38 +00:00
Don Allingham
84cdf16c10 * NEWS: minor update for 1.1.2 release
svn: r3784
2004-12-07 02:48:57 +00:00
Alex Roitman
ace2582416 * doc/Makefile.am: Remove unneeded CLEANFILES, they're defined below.
* doc/xmldocs.make: Add Makefile to CLEANFILES; Explictly clean
stuff in distclean-hook.
* src/Makefile.am: Remove gramps.desktop from GRAPHICS.
* src/data/Makefile.am: Remove EXTRA_DIST; split files that do not
need to be in $PREFIX/share/gramps into dist_data_DATA: they're
installed explicitly to the proper locations anyway, and this is
only needed for distribution.


svn: r3782
2004-12-06 04:24:12 +00:00
Don Allingham
851be10fd0 * src/DateParser.py: documenation enhancements
* src/GrampsBSDDB.py: Add cursor class
* src/GrampsDbBase.py: Add base cursor class
* src/GrampsGEDDB.py: documenation enhancements
* src/GrampsInMemDB.py: Add cursor class
* src/GrampsXMLDB.py: documenation enhancements


svn: r3781
2004-12-06 04:13:13 +00:00
Don Allingham
bd783405bf * src/ChooseParents.py: use new cursor for interation
* src/DbPrompter.py: reformat
* src/GenericFilter.py: add disconnected rule
* src/GrampsBSDDB.py: provide cursor access for iteration
* src/GrampsDbBase.py: provide cursor access for iteration
* src/GrampsInMemDB.py: provide cursor access for iteration
* src/Makefile.am: add gramps.desktop to install list
* src/PeopleModel.py: use new cursor for faster iteration
* src/PeopleView.py: reimplement filtering
* src/ReadGedcom.py: removed used source counting
* src/gedcomimport.glade: remove source field
* src/gramps.glade: fixed spacing in message
* src/gramps_main.py: add disconnected filter


svn: r3779
2004-12-05 04:15:48 +00:00
Don Allingham
e25236f85a * src/EditPerson.py: hide window while closing updating info
* src/FamilyView.py: Fix deleting of spouses and children
* src/GrampsDbBase.py: add remove_family, clear default person
if the person is deleted
* src/PeopleView.py: text clean up
* src/gramps_main.py: disable buttons while deleting a person


svn: r3776
2004-12-03 01:49:09 +00:00
Alex Roitman
7b7d9ddac8 * src/Report.py (on_center_person_change_clicked): Typo.
svn: r3775
2004-12-02 06:05:12 +00:00
Don Allingham
66cb1d05f6 * src/GenericFilter.py: use DateParser to parse dates.
svn: r3773
2004-12-01 13:02:22 +00:00
Alex Roitman
db2d142ab7 * src/gramps_main.py (init_interface): Work around gtk/libglade
bug by using horrible and ugly hack; (build_backhistmenu,
build_fwdhistmenu): Use gramps IDs instead of handles in menus.


svn: r3772
2004-12-01 05:25:16 +00:00
Don Allingham
a6cb348839 * src/EditPerson.py: use Steve Swales' method for handling
locale determination
* src/GrampsBSDDB.py: added remove_object task
* src/MediaView.py: Handle drag and drop better


svn: r3771
2004-12-01 04:15:08 +00:00
Alex Roitman
d9b76ee319 * NEWS: Update.
svn: r3769
2004-11-30 15:27:55 +00:00
Don Allingham
3db3d91c2d * src/EditPerson.py: simpler way of handling patronymic names
based of LANG
* src/FamilyView.py: clear childlist if no spouse exists


svn: r3768
2004-11-30 03:53:51 +00:00
Alex Roitman
35bc6fed1e * src/gramps_main.py: Support for re-building Open Recent submenu
and opening files from it.
* src/ArgHandler.py: Rebuild recent menu after adding to recent.
* src/DbPrompter.py (open_native): Add function.
* src/RecentFiles.py (remove_filename): Add function.


svn: r3767
2004-11-30 02:16:30 +00:00
Alex Roitman
de8c6d6308 * src/RecentFiles.py: Add support for Gramps' own recent items.
* src/DbPrompter.py: Support for Gramps' own recent items.
* src/ArgHandler.py: Support for Gramps' own recent items.
* src/gramps.glade: Add Open Recent submenu.
* src/gramps_main.py: Preliminary support for Open Recent submenu.


svn: r3766
2004-11-29 05:15:41 +00:00
Alex Roitman
df51c9b8a6 * src/plugins/PatchNames.py: Typo.
* src/plugins/ChangeNames.py: Correct description.


svn: r3765
2004-11-29 03:51:42 +00:00
Don Allingham
e499e58d00 * src/EditPerson.py: Allow the photo to accept events, allowing us
to display a popup menu similar to galleries
* src/gramps.glade: Add eventbox to the image, allowing events
* src/MediaView.py: use object handle instead of gramps ID when
getting value from the list.


svn: r3764
2004-11-29 03:24:02 +00:00
Don Allingham
fd56ea2ce1 * src/plugins/PatchNames.py: add the ability to detect
common surname prefixes
* src/plugins/patchnames.glade: clean up description
* src/plugins/TimeLine.py: detect invalid date range in
report to prevent divide by zero error.


svn: r3760
2004-11-28 05:03:29 +00:00
Don Allingham
60a27e0c63 * src/gramps.glade: add privacy fields and fix add/edit/remove
buttons
* src/Sources.py: add support for privacy flags
* src/Witness.py: add support for privacy flags
* src/RelLib.py: add support for privacy flags


svn: r3758
2004-11-27 19:48:25 +00:00
Don Allingham
2f2d616780 attach it to people and families with no attached sources.
svn: r3757
2004-11-27 02:54:31 +00:00
Don Allingham
cdaf281039 * src/DisplayModels.py: fix Source column display
* src/GrampsDbBase.py: change default display columns
* src/ReadGedcom.py: Add default source for a GEDCOM import,
attach it to a person that has no attached sources.


svn: r3756
2004-11-26 23:31:50 +00:00
Alex Roitman
b9efaad3bd * src/RecentFiles.py: Make robust to parse/save problems.
* src/DbPrompter.py: Support for recent-files on new db creation.


svn: r3754
2004-11-26 07:36:23 +00:00
Don Allingham
cd54e6ccf2 * src/FamilyView.py: Add check for empty family in
display_marriage


svn: r3753
2004-11-25 18:10:06 +00:00