Commit Graph

2612 Commits

Author SHA1 Message Date
Alex Roitman
91bcc33a22 * 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
b99f1b4019 * src/plugins/Makefile.am: Stop shipping ReadNative.py.
svn: r4114
2005-03-03 05:43:41 +00:00
Don Allingham
31f3958a1c * src/ChooseParents.py: use integers instead of strings for
relationship types
* src/PedView.py: use integers instead of strings for
relationship types
* src/ReadGedcom.py: use integers instead of strings for
relationship types
* src/ReadXML.py: use integers instead of strings for
relationship types
* src/RelLib.py: use integers instead of strings for
relationship types
* src/SelectChild.py: use integers instead of strings for
relationship types
* src/WriteXML.py: use integers instead of strings for
relationship types
* src/const.py.in: use integers instead of strings for
relationship types
* src/gramps_main.py: call database update function
* src/GrampsBSDDB.py: add database upgrade function
* src/GrampsDbBase.py: add database upgrade function


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


svn: r4112
2005-03-03 05:13:47 +00:00
Don Allingham
4069b80066 fix for older glade
svn: r4111
2005-03-03 01:44:56 +00:00
Don Allingham
bcee9aa364 * src/Marriage.py: fix lds menu
svn: r4110
2005-03-03 01:42:17 +00:00
Don Allingham
3f12ec9563 * 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
028ed21efc * 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
693c5988f0 Update
svn: r4106
2005-02-28 01:53:49 +00:00
Alex Roitman
c36385735a * src/DbPrompter.py (format_maker): Add mnemonic activation target
to the format selector label; Use new import format; don't treat
native formats as plugins anymore.
* src/PluginMgr.py: Add format name to import registration.
* src/ReadGedcom.py: Cleanups; Don't register already native import.
* src/ReadXML.py: Don't register already native import.
* src/data/gramps.xml: Add magic patterns for XML, GEDCOM, and GW.
* src/plugins/ImportGeneWeb.py: Register with format name.
* src/plugins/ReadNative.py: Remove obsolete file.
* src/plugins/ReadPkg.py: Lots of cleanups; Register with format name.


svn: r4105
2005-02-28 01:51:21 +00:00
Alex Roitman
b93465e70e Update
svn: r4104
2005-02-28 01:25:12 +00:00
Don Allingham
572e90a270 * 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
7dbcd4c421 * 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
249bb2f461 * src/MergeData.py: preserve most data while merging families
* src/PeopleView.py: allow multiple selection in people list
* src/ReadGedcom.py: keep source information in families
* src/RelLib.py


svn: r4100
2005-02-27 18:56:31 +00:00
Don Allingham
3b7952f7fc * 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
ddc6690752 * src/gramps_main.py: update places and sources after edit
svn: r4098
2005-02-26 05:19:38 +00:00
Alex Roitman
7e981442b0 * 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
a813772ede * 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
08e17293a7 * 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
363c1c1941 Update
svn: r4094
2005-02-25 17:07:26 +00:00
Alex Roitman
6f290afb24 * 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
b44960ff77 * src/EditPerson.py (EditPerson.__init__): Correct widget names.
svn: r4092
2005-02-25 16:36:47 +00:00
Alex Roitman
168ae08f73 * 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
3ef8e12f42 * 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
91fab71a7f Update
svn: r4089
2005-02-25 01:16:18 +00:00
Alex Roitman
f0317a95be * src/MediaView.py (on_select_row): Add garbage collection call.
svn: r4088
2005-02-25 01:13:27 +00:00
Don Allingham
740c22832c update
svn: r4087
2005-02-24 04:46:45 +00:00
Don Allingham
d920d5f78c * 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
3731aad2b3 * 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
3c3cff6ae2 Update
svn: r4084
2005-02-23 13:30:47 +00:00
Alex Roitman
cef0189ef4 Update
svn: r4083
2005-02-23 04:53:11 +00:00
Alex Roitman
ab4ece1950 * 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
6eb7518698 * 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
1a44b71e26 * 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
4bc1ddd667 * src/docgen/PdfDoc.py (write_note): Attempt latin1 encoding.
svn: r4077
2005-02-22 18:38:35 +00:00
Alex Roitman
03715f00c8 * 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
Don Allingham
2d0d34bd95 1.1.90 release
svn: r4074
2005-02-22 03:55:34 +00:00
Alex Roitman
6755b7e04e * 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
4d89c53ccc Update
svn: r4072
2005-02-22 02:34:19 +00:00
Alex Roitman
f6f36bb221 Update
svn: r4071
2005-02-22 02:26:14 +00:00
Alex Roitman
ac6ccd0adc * 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
33a41ef87f * src/docgen/PSDrawDoc.py (draw_text,write_at):
Attempt latin1 encoding.


svn: r4069
2005-02-22 01:45:52 +00:00
Eero Tamminen
e5925d8b77 Added notes about user visible GraphViz and StatisticsChart changes
svn: r4068
2005-02-21 19:48:29 +00:00
Alex Roitman
b00a9ad021 * NEWS: Update.
svn: r4067
2005-02-21 16:18:25 +00:00
Alex Roitman
4f9798a5e9 * doc/gramps-manual/C/usage.xml: Update.
svn: r4066
2005-02-21 03:36:12 +00:00
Alex Roitman
054b618a73 * src/docgen/LPRDoc.py (draw_path,draw_bar): Set proper linewidth.
svn: r4065
2005-02-21 02:01:04 +00:00
Don Allingham
352d7d4196 * 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
25c2598147 * 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
1ea0356d99 * src/ReportUtils.py (born_died_str): Find events to reference.
svn: r4061
2005-02-19 23:43:45 +00:00
Alex Roitman
22275dcd42 * src/PaperMenu.py (GrampsPaperComboBox.set): Compare paper names.
svn: r4060
2005-02-19 23:37:35 +00:00
Alex Roitman
acd05b555d * 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
Don Allingham
157e792487 fix typo
svn: r4058
2005-02-19 22:17:07 +00:00
Alex Roitman
a5290540b6 Update
svn: r4057
2005-02-19 22:16:32 +00:00
Alex Roitman
eccc20a12a Update
svn: r4056
2005-02-19 22:14:35 +00:00
Don Allingham
d382675562 * 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
14052b42db * 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
3ca70aac2d * 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
c3abb66292 * src/EditPerson.py: Readonly fix.
* src/gramps.glade: Typo.


svn: r4052
2005-02-19 03:29:56 +00:00
Alex Roitman
694c982800 * 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
Alex Roitman
76e78eda94 * src/docgen/LPRDoc.py (draw_path,draw_bar): Fill, then stroke.
* src/DbPrompter.py: Change file filter name.


svn: r4049
2005-02-18 20:02:00 +00:00
Eero Tamminen
0faaae0201 Fix StatisticsChart.py date object checking
svn: r4048
2005-02-18 19:22:06 +00:00
Alex Roitman
746e10295b * src/docgen/OpenOfficeDoc.py: Typo.
svn: r4047
2005-02-18 05:17:48 +00:00
Don Allingham
37e3d0d2e3 * 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
9ba1e69000 * 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
d75e6a198e * 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
a7897625fe * 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
f33cc35550 * src/EditSource.py: commit events after deleting sources
svn: r4042
2005-02-17 02:24:23 +00:00
Don Allingham
5576d07516 * 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
Alex Roitman
6df53a5833 Update
svn: r4040
2005-02-16 21:40:25 +00:00
Eero Tamminen
88cf2f9227 get option value from correct field
svn: r4039
2005-02-16 21:02:39 +00:00
Don Allingham
0335fa592a * src/DisplayModels.py: don't override on_row_deleted
svn: r4037
2005-02-16 18:05:20 +00:00
Alex Roitman
6c22a6ed62 * 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
064311fc73 * 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
d38cf31a31 * 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
4f7c8731f0 Update
svn: r4033
2005-02-15 05:05:23 +00:00
Alex Roitman
3fd0b1406d * 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
79eb2c6897 Update
svn: r4031
2005-02-14 22:33:58 +00:00
Alex Roitman
7a2a3d401d * src/plugins/DetAncestralReport.py: Typos.
* src/plugins/DetDescendantReport.py: Typos.


svn: r4030
2005-02-14 21:39:59 +00:00
Alex Roitman
21da722351 * 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
358f4a592f * src/ReadGrdb.py: Check for overlapping handles prior to
modifying data.


svn: r4028
2005-02-14 01:32:07 +00:00
Don Allingham
f47f7b0d7f * 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
2db8fad3cd * 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
74e3d942bb Update
svn: r4023
2005-02-04 13:55:54 +00:00
Alex Roitman
094c52c13f * 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
8f2d56c922 * src/plugins/NavWebPage.py: more progress
svn: r4020
2005-02-04 03:54:48 +00:00
Don Allingham
dd093aacfc * src/plugins/GraphViz.py: fix MALE/FEMALE/UNKNOWN
svn: r4019
2005-02-03 00:32:20 +00:00
Eero Tamminen
2581aa31fb better colors for pies
svn: r4018
2005-02-02 20:50:14 +00:00
Alex Roitman
e315d52b52 * src/Makefile.am: Ship ReadGrdb.py and WriteGrdb.py.
svn: r4017
2005-02-02 14:02:13 +00:00
Alex Roitman
aa41d93ec1 * 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
6b9380044c Updated
svn: r4015
2005-02-02 05:07:09 +00:00
Guillaume Pratte
2f397545f2 Update from STABLE branch
svn: r4014
2005-02-02 05:05:05 +00:00
Alex Roitman
7c272cbb34 * 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
966e045bfc Update
svn: r4010
2005-02-01 04:18:12 +00:00
Alex Roitman
778aa84846 * src/RelLib.py: Finish up with actual MALE, FEMALE, and UNKNOWN
svn: r4009
2005-02-01 04:16:02 +00:00
Don Allingham
f7df43643f * various: Change Person.male, Person.female, and Person.unkwown
to Person.MALE, Person.FEMALE and Person.UNKNOWN

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


svn: r4008
2005-02-01 03:46:29 +00:00
Alex Roitman
724e5b89ca Update
svn: r4006
2005-01-31 05:33:10 +00:00
Alex Roitman
4385ae0b7c * 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
7b139057ea Update
svn: r4004
2005-01-31 02:31:11 +00:00
Alex Roitman
445c1db888 Remove unneeded str conversion
svn: r4003
2005-01-31 02:20:40 +00:00
Alex Roitman
94a2ed9de4 Update
svn: r4002
2005-01-31 01:20:43 +00:00
Alex Roitman
0db65bd17d * src/WriteGrdb.py: Copy metadata.
svn: r4001
2005-01-31 01:20:13 +00:00
Alex Roitman
29a10a3bf8 * 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
7228eb98bc * 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
2d626f508b * 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
3a8dfc04bf Added Pie chart support to StatisticsChart plugin
svn: r3989
2005-01-29 20:41:22 +00:00
Eero Tamminen
5bcbb04bb8 Add 5 new statistics to StatisticsChart.py plugin
svn: r3988
2005-01-29 17:11:02 +00:00
Alex Roitman
3b7b70d606 * src/ArgHandler.py: Support for the native importer.
* NEWS: Update.


svn: r3986
2005-01-29 06:05:51 +00:00
Alex Roitman
7f19d06b36 Update
svn: r3985
2005-01-29 05:14:47 +00:00
Alex Roitman
ffd374025f * 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
Alex Roitman
5358395685 Typo
svn: r3979
2005-01-28 06:02:33 +00:00
Guillaume Pratte
d5dccabcfe Updated French translation from STABLE
svn: r3977
2005-01-28 00:44:26 +00:00
Guillaume Pratte
520e7f74e9 Modified Files:
* configure.in : changed fr_FR to fr.
 * src/plugins/rel_fr.py : added fr_CA and fr_CA.UTF-8 to the locale list.
Added Files:
 * src/po/fr.po : version from the STABLE branch.
Removed Files:
 * src/po/fr_FR.po


svn: r3973
2005-01-27 05:17:12 +00:00
Don Allingham
a19bd386f4 * src/DbPrompter.py: gnome.vfs vs. gnomevfs, tolerence
* src/GrampsMime.py: gnome.vfs vs. gnomevfs tolerence
* src/ImageSelect.py: gnome.canvas vs. gnomecanvas tolerence
* src/NameDisplay.py: gnome.vfs vs. gnomevfs tolerence
* src/PedView.py: gnome.canvas vs. gnomecanvas tolerence
* src/Utils.py: remove mime handling, use GrampsMime
* src/plugins/WriteCD.py: gnome.vfs vs. gnomevfs tolerence


svn: r3971
2005-01-27 03:18:21 +00:00
Don Allingham
23e620f2b5 * 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
82e6acd258 * src/ReadGedcom.py (parse_person_object,parse_family_object):
Use absolute path to work around what seems a gnomevfs issue.


svn: r3965
2005-01-25 23:08:37 +00:00
Alex Roitman
74730bbff7 * 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
a1edfc1fbc made cli report name consistent with naming of other reports
svn: r3962
2005-01-25 20:24:25 +00:00
Eero Tamminen
98dbcea73d fix StatisticsChart.py chart output, improve code
svn: r3961
2005-01-25 19:56:23 +00:00
Alex Roitman
e9cee32736 * 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
dceb6c2851 * gramps.spec.in: pkill gconfd to fix settings
svn: r3959
2005-01-25 04:24:42 +00:00
Alex Roitman
0ca604ac37 Update
svn: r3958
2005-01-25 00:25:11 +00:00
Alex Roitman
8e5fdc2f3b * src/docgen/LPRDoc.py (LPRDoc.draw_box): Shadow support.
svn: r3957
2005-01-25 00:23:53 +00:00
Alex Roitman
f05004329e * 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
d8993a0861 * src/StyleEditor.py (draw,save_paragraph): Swap SERIF and SANS_SERIF.
svn: r3954
2005-01-24 19:29:51 +00:00
Alex Roitman
8dd05e8392 update
svn: r3952
2005-01-24 19:03:05 +00:00
Alex Roitman
da2668c07a Update
svn: r3949
2005-01-24 16:40:36 +00:00
Alex Roitman
159c0eb08f * 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
b5ba21b5e4 * 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
961426c030 Complete refactoring of the Extract class
svn: r3946
2005-01-22 21:46:55 +00:00
Eero Tamminen
cd047ba03a preliminary multiple statistics chart support
svn: r3945
2005-01-21 21:55:10 +00:00
Eero Tamminen
7c2adb8e19 use non-localized descriptions for cli help
svn: r3944
2005-01-21 21:46:11 +00:00
Eero Tamminen
65e574a7d6 added a few TODOs
svn: r3943
2005-01-21 19:05:37 +00:00
Don Allingham
8e813388e5 * 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
1a1df8a3e3 Minor
svn: r3939
2005-01-19 05:15:30 +00:00
Alex Roitman
d47d5e7f5a * 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
ff42dac0d1 * 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
0d96ab6776 Update
svn: r3936
2005-01-19 03:40:16 +00:00
Alex Roitman
15491e3ad5 * 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
114ee7f12e * src/EditPerson.py (get_place): Use "" for empty place's handle.
svn: r3934
2005-01-19 03:24:33 +00:00
Alex Roitman
71cf749a45 * src/NameEdit.py: Fix patronymic show/save.
svn: r3933
2005-01-19 00:36:06 +00:00
Alex Roitman
ff00451646 * 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
6694f7e139 numerous changes to GraphViz.py, see Changelog
svn: r3931
2005-01-18 21:00:58 +00:00
Matthieu Pupate
5cfa94a7de Update according to template.po
svn: r3930
2005-01-18 20:44:24 +00:00
Matthieu Pupate
9b07c287e6 Ajout des modifications de Guillaume Pratte
svn: r3929
2005-01-18 20:37:47 +00:00
Alex Roitman
4a81557fe4 Update
svn: r3928
2005-01-18 15:49:57 +00:00
Alex Roitman
d7de60f379 * 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
26fcdca9f4 * 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
Don Allingham
414a154e78 update
svn: r3925
2005-01-18 03:15:40 +00:00
Alex Roitman
8418fe110e Update
svn: r3923
2005-01-18 01:03:59 +00:00
Alex Roitman
4d8158d041 update
svn: r3922
2005-01-17 20:50:41 +00:00
Alex Roitman
ece2cf7d42 * src/plugins/GraphViz.py: Remove bogus UI labels.
svn: r3921
2005-01-17 20:46:32 +00:00
Alex Roitman
7b1c41a611 * src/ReadGedcom.py: Handle missing TRLR record.
svn: r3920
2005-01-17 18:05:50 +00:00
Alex Roitman
e5dc04dc55 * 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
be850a40c6 * src/ReportOptions.py (OptionHandler.set_options):
svn: r3918
2005-01-16 19:14:14 +00:00
Alex Roitman
5c08a9cb9a * src/plugins/FamilyGroup.py (dump_parent): Typo.
svn: r3917
2005-01-16 18:55:38 +00:00
Alex Roitman
2444226acc * 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
effa5fd442 * 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
1f127db0a5 * 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
82edf5a99d * 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
c29f7d3122 * 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
b71df1c117 * src/Report.py: Typos.
* src/plugins/WebPage.py: Typos.


svn: r3910
2005-01-13 18:21:04 +00:00
Alex Roitman
1ec6ff4afa * src/plugins/Check.py: Typos.
svn: r3909
2005-01-13 18:00:49 +00:00
Don Allingham
f770f8b329 * 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
b4c04498fc * 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
6e4e9a73b1 * src/plugins/WebPage.py: Fix templates.
svn: r3906
2005-01-12 04:16:22 +00:00
Alex Roitman
8f4bbbe0b1 * 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
979ef1a6bc * 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
52bc1dbacc Update
svn: r3903
2005-01-11 23:01:54 +00:00
Alex Roitman
414a2c80d6 * 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
083192ce53 fixes to StatisticsChart
svn: r3901
2005-01-11 20:31:51 +00:00
Alex Roitman
c695745a4b Update
svn: r3900
2005-01-11 16:56:51 +00:00
Alex Roitman
75bbe738cf * 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
9e10f6e634 * src/WriteGedcom.py (write_source_ref): Use source, not handle.
svn: r3898
2005-01-11 04:32:26 +00:00
Alex Roitman
43bb968621 * 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
7e47d6b026 * src/EditPlace.py: make reference lists work properly for places
svn: r3896
2005-01-11 04:09:52 +00:00
Alex Roitman
264ed5e63c * 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
c76e7fa59a More fixes
svn: r3894
2005-01-11 03:17:56 +00:00
Alex Roitman
7987f99536 * src/plugins/StatisticsChart.py: Misc fixes.
svn: r3893
2005-01-11 02:19:29 +00:00
Alex Roitman
a7e4980555 Some fixes
svn: r3892
2005-01-11 00:28:53 +00:00
Eero Tamminen
ebcc451308 Initial port of StatisticsChart plugin to CVS HEAD
svn: r3891
2005-01-10 20:12:16 +00:00
Alex Roitman
d6fe13f596 * src/PluginMgr.py: Minor fixes.
svn: r3890
2005-01-09 03:28:28 +00:00
Alex Roitman
5acb5d08e4 Remove unneeded import
svn: r3889
2005-01-09 02:39:19 +00:00
Don Allingham
0d647c59c7 * 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
6565f54e8f * 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
06ffc847e9 * src/DbPrompter.py (NewNativeDbPrompter.chooser):
Initialize natvie database before attempting to load.


svn: r3886
2005-01-08 21:52:57 +00:00
Alex Roitman
894aa1d810 * 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
5ec30eb388 * 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
5b5d4d4094 * 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
d9291bb183 * 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
7ce6260675 * 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
0decbd0858 added missing py files to installation list
svn: r3879
2005-01-07 19:39:08 +00:00
Alex Roitman
a88a436a33 * 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
cf5ddaf1c8 * 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
cfa560f7b1 Minor
svn: r3876
2005-01-06 20:08:27 +00:00
Don Allingham
1c8f125ba5 added
svn: r3875
2005-01-06 19:26:54 +00:00
Alex Roitman
a348a97e4c Minor
svn: r3874
2005-01-06 18:38:42 +00:00
Don Allingham
5cb6bd08d5 * 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
Alex Roitman
f0032a4c59 Minor update
svn: r3872
2005-01-06 04:47:57 +00:00
Don Allingham
abb53ed2a3 * 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
e50684ce31 * src/Utils.py (roman): Proper implementation.
svn: r3869
2005-01-06 03:15:25 +00:00