112 Commits

Author SHA1 Message Date
Alex Roitman
c0855147df * src/Report.py (parse_target_frame): Remove unneeded check; when
checking existing file/dir, make sure we requested file/dir,
correspondingly.
* src/plugins/NavWebPage (archive_toggle): Add/remove '.tar.gz'
to path when this options is turned on/off.


svn: r5520
2005-12-09 20:14:52 +00:00
Alex Roitman
7704cd4f54 Update
svn: r5518
2005-12-09 05:14:13 +00:00
Alex Roitman
d5547e337c Update
svn: r5517
2005-12-09 04:58:43 +00:00
Alex Roitman
65050b3a40 * src/Report.py (parse_target_frame): Check permissions for the
specified file.


svn: r5516
2005-12-09 04:49:49 +00:00
Alex Roitman
04a6ea1d21 Update
svn: r5500
2005-12-07 18:58:26 +00:00
Don Allingham
f357f5e607 * src/Report.py: change from gtk.FILE_CHOOSER_CREATE_FOLDER to
gtl.FILE_CHOOSER_SELECT_FOLDER. GTK documentation error.


svn: r5499
2005-12-07 18:37:24 +00:00
Alex Roitman
9642815c34 * src/Report.py: Better packing in vertical direction.
svn: r5417
2005-11-22 19:24:52 +00:00
Don Allingham
9c524ad869 * src/Report.py: shortened report dialog by making the Paper
Options a tab of the rest of the options
* src/plugins/AncestorReport.py: fix paragraph spacing
* src/plugins/Check.py: handle None for family
* src/plugins/DescendReport.py: fix paragraph spacing
* src/plugins/IndivComplete.py: fix paragraph spacing


svn: r5409
2005-11-20 23:17:37 +00:00
Alex Roitman
ebe0d065e6 * src/Report.py: Minor tweaks for file selection.
* src/docgen//OpenOfficeDoc.py: Correct output for spacing.


svn: r5385
2005-11-09 22:23:55 +00:00
Don Allingham
aaaed40342 * src/Report.py: use filechooser for report dialog
* src/ReportUtils.py: use a single photo for image display


svn: r5383
2005-11-09 21:45:24 +00:00
Alex Roitman
0b94abb585 * src/Report.py (parse_report_options_frame): Do not allow
negative-numbered selection in the filter menu.


svn: r5375
2005-11-08 19:43:30 +00:00
Don Allingham
cf616ebcfb * src/Report.py: bumped the maximum generations to 999 from 31
svn: r5334
2005-10-19 03:24:18 +00:00
Don Allingham
ad49a9e202 * src/GrampsDBCallback.py: doc changes
* src/NameDisplay.py: remove nickname support
* src/QuestionDialog.py: handle missing icons for pychecker
* src/Report.py: set a default size for the window (600)
* src/ReportUtils.py: doc changes, add common_name
* src/plugins/DetAncestralReport.py:


svn: r5300
2005-10-11 03:56:53 +00:00
Alex Roitman
c3b626c960 * doc/gramps-manual/C/cmdplug.xml: Add new section documenting
plugin options (Reports and Tools).
* src/build_cmdplug: Add script to refresh the new doc section.
* doc/gramps-manual/C/Makefile.am: Ship new file.
* doc/gramps-manual/C/gramps-manual.xml: Define new entity.
* doc/gramps-manual/C/cmdline.xml: Include new section.
* src/Makefile.am: Define new make target (cmdplug).
* src/PluginMgr.py: Include human-readable names in CLI plugins
registration.
* src/Report.py: Allow instantiation of command-line report
without adding item-specific options.
* src/Tool.py: Allow instantiation of command-line tool
without adding item-specific options.
* src/plugins/CmdRef.py: Add options for inclusion into the manual
and the target filename; Use human-readable names for titles; Add
section with common options; Add name option.


svn: r5288
2005-10-07 07:14:09 +00:00
Alex Roitman
4f86f7d28b * src/plugins/CmdRef.py: Work out Report docs.
* src/Report.py: Typo.


svn: r5285
2005-10-06 21:53:49 +00:00
Don Allingham
b8034741df * src/NameDisplay.py: Add display_formal
* src/Report.py: remove generation strings
* src/docgen/OpenOfficeDoc.py: Fix leading space after tab.
* src/plugins/AncestorReport.py: Use ReportUtils strings
instead of local strings


svn: r5250
2005-09-29 04:28:36 +00:00
Alex Roitman
3ba7eed3e9 Update
svn: r5244
2005-09-27 05:00:23 +00:00
Alex Roitman
4d3a6ffae7 * all reports: switch categories from const to Report module.
svn: r5243
2005-09-27 04:54:17 +00:00
Don Allingham
0ff17e104b * src/Report.py: Catch thrown Database error
* src/GraphLayout.py: catch database loops
* src/po/check_po: utility to look for problems in .po files


svn: r5160
2005-09-01 02:39:55 +00:00
Alex Roitman
4ac3779a96 * src/Report.py (parse_report_options_frame): Fallback to trivial
filter on filter failure.


svn: r5014
2005-08-04 18:05:43 +00:00
Don Allingham
b26b982274 update
svn: r4979
2005-07-29 22:14:56 +00:00
Don Allingham
f031f80287 privacy information
svn: r4978
2005-07-29 20:32:46 +00:00
Alex Roitman
88874cd212 * src/Report.py (ReportDialog.on_ok_clicked): Properly return on
correct/change filename choice.


svn: r4974
2005-07-28 21:26:57 +00:00
Alex Roitman
f5a5a3a55c * src/plugins/WebPage.py (WebReportOptions.set_new_options):
Define help dictionary to document options.
* src/Report.py (CommandLineReport.init_options): Typo.


svn: r4973
2005-07-28 17:56:25 +00:00
Don Allingham
2335612283 NameDisplay enhancements
svn: r4969
2005-07-26 23:02:53 +00:00
Don Allingham
58097e1a5c * src/plugins/NavWebPage.py: enhancements, almost usable
* src/Report.py: fixed spacing


svn: r4916
2005-07-11 03:54:31 +00:00
Alex Roitman
0df9e11ac2 * src/Report.py (CommandLineReport.parse_option_str): Fix indentation.
svn: r4857
2005-06-21 13:54:03 +00:00
Alex Roitman
5a1fb9bddf * src/Report.py (GrampsStyleComboBox): Use non-translated style name.
svn: r4423
2005-04-25 03:33:00 +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