Commit Graph

91 Commits

Author SHA1 Message Date
Richard Taylor
5a582d86ab replace DisplayTrace with logger
svn: r5702
2006-01-09 11:28:44 +00:00
Don Allingham
9eb8d4b069 * src/ArgHandler.py: remove DbPrompter dependency
* src/GrampsGconfKeys.py: Support for saving window size
* src/GrampsIniKeys.py: Support for saving window size
* src/GrampsKeys.py: more gracefully handling missing gconf
* src/Makefile.am: Fixed moved files
* src/Report.py: clean up
* src/ScratchPad.py: use GrampsDisplay instead of gnome.help_display
* src/StartupDialog.py: clean up
* src/ViewManager.py: save window size
* src/gramps_main.py: don't require gnome
* src/data/gramps.schemas: keys for saving window size


svn: r5640
2005-12-29 18:36:59 +00:00
Alex Roitman
8f6b51ccb2 * various: merge changes made in gramps20 up until R2_0_9 tag.
svn: r5544
2005-12-13 02:07:16 +00:00
Alex Roitman
97cdbe6af4 merge changes from gramps20
svn: r5482
2005-12-06 06:38:09 +00:00
Alex Roitman
fc2b33c116 Merge changes from gramps20 made since 2.0.5
svn: r5105
2005-08-18 05:58:28 +00:00
Alex Roitman
42534975c3 Merge changes made between 2.0.3 and 2.0.5
svn: r4911
2005-07-08 20:24:54 +00:00
Alex Roitman
9c92bf317f Merge changes made in gramps20 into HEAD
svn: r4431
2005-04-26 16:04:21 +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
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
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
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
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
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
b71df1c117 * src/Report.py: Typos.
* src/plugins/WebPage.py: Typos.


svn: r3910
2005-01-13 18:21:04 +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
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
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
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
04f0b2958c * 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
Alex Roitman
ad6261ae47 * 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
2c166c0dfd * 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
f39ce71b38 * src/Report.py: Typos.
svn: r3855
2005-01-01 20:04:13 +00:00
Don Allingham
63d7153857 * 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
2769b24e08 * 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
a73dfc50cb * src/Report.py: Change finish_report to end_report.
svn: r3847
2004-12-31 05:45:23 +00:00
Don Allingham
5b9f4d0427 * src/Report.py: change finish_report to end_report
* src/DateHandler.py: remove debugging statement


svn: r3845
2004-12-31 03:17:58 +00:00
Alex Roitman
346a5bfe7c * 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
309b2c4842 * 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
Don Allingham
ce6192ea46 * 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
5f062fccc9 * src/ReadGedcom.py: create GedcomDateParser class to handle
English requirements for GEDCOM


svn: r3838
2004-12-26 18:23:50 +00:00
Alex Roitman
09a8a4640b * 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
a4f9849e8f Merge REP_OPT branch
svn: r3827
2004-12-22 01:56:37 +00:00
Don Allingham
5eb387daaf * 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
83a24a918e * src/Report.py (on_center_person_change_clicked): Typo.
svn: r3775
2004-12-02 06:05:12 +00:00
Alex Roitman
983b5a248e * src/GrampsGconfKeys.py: Add to CVS -- split off key names.
* src/Makefile.am: Ship GrampsGconfKeys.
* src/ArgHandler.py: Use GrampsGconfKeys.
* src/DbPrompter.py: Use GrampsGconfKeys.
* src/EditPerson.py: Use GrampsGconfKeys.
* src/Exporter.py: Use GrampsGconfKeys.
* src/FamilyView.py: Use GrampsGconfKeys.
* src/GrampsDbBase.py: Use GrampsGconfKeys.
* src/ImageSelect.py: Use GrampsGconfKeys.
* src/MediaView.py: Use GrampsGconfKeys.
* src/Plugins.py: Use GrampsGconfKeys.
* src/Report.py: Use GrampsGconfKeys.
* src/StartupDialog.py: Use GrampsGconfKeys.
* src/TipOfDay.py: Use GrampsGconfKeys.
* src/Utils.py: Use GrampsGconfKeys.
* src/DateDisplay.py: Proper capitalization for _MONS.
* src/DateHandler.py: Use GrampsGconfKeys.
* src/GrampsCfg.py: Use GrampsGconfKeys.
* src/gramps_main.py: Use GrampsGconfKeys.


svn: r3573
2004-09-25 05:12:15 +00:00
Alex Roitman
c58f293b67 * src/ArgHandler.py: Convert to new gconf usage.
* src/Report.py: Convert to new gconf usage.


svn: r3275
2004-07-15 02:55:22 +00:00
Alex Roitman
8a68101d17 * src/Report.py (parse_report_options_frame): Use integer 1 and 0
instead of True and False for the pagebreak option.


svn: r3256
2004-07-09 20:28:30 +00:00
Don Allingham
5b81ee5c12 pychecker fixes
svn: r3166
2004-05-13 22:45:51 +00:00
Alex Roitman
253eb3ebfe Minor updates
svn: r3138
2004-05-07 04:27:16 +00:00
Don Allingham
7ed2f0551e Move from object references to IDs
svn: r2822
2004-02-14 05:40:30 +00:00
Alex Roitman
384357988e * src/Report.py: Mark translatable string.
* src/Witness.py: Mark translatable string.
* src/plugins/FamilyGroup.py: Mark translatable string.


svn: r2733
2004-02-01 00:34:36 +00:00
Don Allingham
730e6fc24a * src/docgen/AbiWord2Doc.py: pychecker fixes
* src/docgen/HtmlDoc.py: pychecker fixes
* src/docgen/KwordDoc.py: pychecker fixes
* src/docgen/LaTeXDoc.py: pychecker fixes
* src/docgen/OpenOfficeDoc.py: pychecker fixes
* src/docgen/OpenSpreadSheet.py: pychecker fixes
* src/docgen/PSDrawDoc.py: pychecker fixes
* src/docgen/PdfDoc.py: pychecker fixes
* src/docgen/SvgDrawDoc.py: pychecker fixes
* src/plugins/Ancestors.py: pychecker fixes
* src/plugins/BookReport.py: pychecker fixes
* src/plugins/CustomBookText.py: pychecker fixes
* src/plugins/DescendReport.py: pychecker fixes
* src/plugins/DetAncestralReport.py: pychecker fixes
* src/plugins/DetDescendantReport.py: pychecker fixes
* src/plugins/FtmStyleAncestors.py: pychecker fixes
* src/plugins/IndivComplete.py: pychecker fixes
* src/plugins/ReadPkg.py: pychecker fixes
* src/plugins/RelCalc.py: pychecker fixes
* src/plugins/SimpleBookTitle.py: pychecker fixes
* src/plugins/TimeLine.py: pychecker fixes
* src/plugins/WriteCD.py: pychecker fixes
* src/plugins/WriteFtree.py: pychecker fixes
* src/plugins/rel_de.py: pychecker fixes
* src/GenericFilter.py: pychecker fixes
* src/RelLib.py: pychecker fixes
* src/Report.py: pychecker fixes
* src/SelectPerson.py: pychecker fixes
* src/gramps_main.py: pychecker fixes


svn: r2634
2004-01-13 05:05:39 +00:00
Alex Roitman
9f84452198 * src/Sources.py: Unicode conversion from gtk.TextView.
* src/Witness.py: Unicode conversion from gtk.TextView.
* src/Report.py: Unicode conversion from gtk.TextView.
* src/NameEdit.py: Unicode conversion from gtk.TextView.
* src/Marriage.py: Unicode conversion from gtk.TextView.
* src/ImageSelect.py: Unicode conversion from gtk.TextView.
* src/EventEdit.py: Unicode conversion from gtk.TextView.
* src/EditSource.py: Unicode conversion from gtk.TextView.
* src/EditPlace.py: Unicode conversion from gtk.TextView.
* src/EditPerson.py: Unicode conversion from gtk.TextView.
* src/AutoComp.py: Unicode conversion from gtk.TextView.
* src/AttrEdit.py: Unicode conversion from gtk.TextView.
* src/AddrEdit.py: Unicode conversion from gtk.TextView.
* src/plugins/BookReport.py: Unicode conversion from gtk.Entry
and gtk.TextView.
* src/plugins/ChangeTypes.py: Unicode conversion.
* src/plugins/EventCmp.py: Unicode conversion.
* src/plugins/FilterEditor.py: Unicode conversion.
* src/plugins/SimpleBookTitle.py: Unicode conversion.
* src/plugins/TimeLine.py: Unicode conversion.
* src/plugins/WebPage.py: Unicode conversion.
* src/plugins/WriteGedcom.py: Unicode conversion.
* src/plugins/WritePkg.py: Unicode conversion.
* src/plugins/eval.py: Unicode conversion.
* src/plugins/soundgen.py: Unicode conversion.


svn: r2536
2003-12-17 16:06:36 +00:00
Don Allingham
0ae41e3ee8 * src/PlaceView.py: Make sure to add new place after edit
* src/AddMedia.py: unicode conversion from gtk.Entry
* src/AddSpouse.py: unicode conversion from gtk.Entry
* src/AddrEdit.py: unicode conversion from gtk.Entry
* src/AttrEdit.py: unicode conversion from gtk.Entry
* src/AutoComp.py: unicode conversion from gtk.Entry
* src/ChooseParents.py: unicode conversion from gtk.Entry
* src/DateEdit.py: unicode conversion from gtk.Entry
* src/EditPerson.py: unicode conversion from gtk.Entry
* src/EditPlace.py: unicode conversion from gtk.Entry
* src/EditSource.py: unicode conversion from gtk.Entry
* src/EventEdit.py: unicode conversion from gtk.Entry
* src/Find.py: unicode conversion from gtk.Entry
* src/GrampsCfg.py: unicode conversion from gtk.Entry
* src/ImageSelect.py: unicode conversion from gtk.Entry
* src/LocEdit.py: unicode conversion from gtk.Entry
* src/Marriage.py: unicode conversion from gtk.Entry
* src/MergeData.py: unicode conversion from gtk.Entry
* src/NameEdit.py: unicode conversion from gtk.Entry
* src/PeopleView.py: unicode conversion from gtk.Entry
* src/Report.py: unicode conversion from gtk.Entry
* src/SelectChild.py: unicode conversion from gtk.Entry
* src/Sources.py: unicode conversion from gtk.Entry
* src/StartupDialog.py: unicode conversion from gtk.Entry
* src/StyleEditor.py: unicode conversion from gtk.Entry
* src/UrlEdit.py: unicode conversion from gtk.Entry
* src/Utils.py: unicode conversion from gtk.Entry
* src/VersionControl.py: unicode conversion from gtk.Entry
* src/Witness.py: unicode conversion from gtk.Entry


svn: r2534
2003-12-17 05:23:16 +00:00
Don Allingham
b317d9ddbd * src/plugins/WebPage.py: support for keeping track of options
* src/plugins/TimeLine.py: support for keeping track of options
* src/plugins/RelGraph.py: support for keeping track of options
* src/plugins/IndivSummary.py: support for keeping track of options
* src/plugins/IndivComplete.py: support for keeping track of options
* src/plugins/GraphViz.py: support for keeping track of options
* src/plugins/FtmStyleDescendants.py: support for keeping track of options
* src/plugins/FtmStyleAncestors.py: support for keeping track of options
* src/plugins/FanChart.py: support for keeping track of options
* src/plugins/FamilyGroup.py: support for keeping track of options
* src/plugins/DetAncestralReport.py: support for keeping track of options
* src/plugins/Ancestors.py: support for keeping track of options
* src/plugins/AncestorReport.py: support for keeping track of options
* src/plugins/AncestorChart.py: support for keeping track of options
* src/plugins/AncestorChart.py: support for keeping track of options
* src/Utils.py: save key on style mappings
* src/GenericFilter.py: allow setting of default value for filter menu
* src/PaperMenu.py: allow setting of perferred paper and orientation, GrampsCfg
no longer needed
* src/Report.py: keep track of options across reports


svn: r2297
2003-10-31 01:26:58 +00:00
Alex Roitman
f9107a17f4 * src/plugins.glade: Switch from GtkDialog to GtkWindow (prevents it
from always being on top under metacity). Remove extra button.
* src/Plugins.py (PluginDialog.__init__): Provide custom labels and
tooltips for reports (Generate) and tools (Run);
(ReportPlugins.__init__, ToolPlugins.__init__): call PluginDialog
with appropriate labels and tooltips.
* src/Report.py (BareReportDialog.__init__): Change button back to OK.
* src/plugins/rel_ru.py (getallancestors): Replace with existing
apply_filter from Relationship.py.
* src/gramps.glade: Correct tooltips in Family Views (make parents an
active family).


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


svn: r2190
2003-10-04 20:02:38 +00:00