Commit Graph

108 Commits

Author SHA1 Message Date
Brian Matherly
3afbd461c0 Put all the plugin management and registration stuff into a class. This new class is named PluginManager. It is a Singleton so that everyone gets access to the same plugin information.
svn: r10741
2008-05-18 19:24:28 +00:00
Peter Landgren
42c1086ae3 Author info update
svn: r10162
2008-03-02 19:20:55 +00:00
Brian Matherly
e2bc58fe63 0001711: Inconsistant names for graphical reports
svn: r10152
2008-03-01 22:47:48 +00:00
Raphael Ackermann
c962d5e6e1 2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>
* various (294 files)
	pep8 doc fixes & pylint fixes

svn: r10103
2008-02-24 13:55:55 +00:00
Brian Matherly
cc6654ddab Remove the "person" option from reports, report options, and report dialogs. Person is selected by the user for all reports.
svn: r10074
2008-02-20 04:52:10 +00:00
Brian Matherly
1adcd57028 0001731: Wrong dot in Ancestral Report
svn: r10015
2008-02-10 22:09:35 +00:00
Raphael Ackermann
9d11c72ca2 2008-01-28 Duncan Lithgow <dlithgow@gmail.com>
Raphael Ackermann <raphael.ackermann@gmail.com>
	*  src/plugins/Summary.py
	*  src/plugins/WebCal.py
	*  src/plugins/KinshipReport.py
	*  src/plugins/DescendReport.py
	*  src/plugins/DetDescendantReport.py
	*  src/plugins/ExtractCity.py
	*  src/plugins/EventNames.py
	*  src/plugins/DumpGenderStats.py
	*  src/plugins/Desbrowser.py
	*  src/plugins/Checkpoint.py
	*  src/plugins/OwnerEditor.py
	*  src/plugins/ChangeNames.py
	*  src/plugins/AncestorReport.py
	*  src/plugins/MarkerReport.py
	*  src/plugins/DateParserDisplayTest.py
	*  src/plugins/FindDupes.py
	*  src/plugins/SoundGen.py
	*  src/plugins/TestcaseGenerator.py
	*  src/plugins/Rebuild.py
	*  src/plugins/DescendChart.py
	*  src/plugins/EndOfLineReport.py
	*  src/plugins/AncestorChart.py
	*  src/plugins/DetAncestralReport.py
	*  src/plugins/CountAncestors.py
	*  src/plugins/Check.py
	*  src/plugins/EventCmp.py
	*  src/plugins/FamilyGroup.py
	*  src/plugins/RelCalc.py
	*  src/plugins/MediaManager.py
	*  src/plugins/ChangeTypes.py
	*  src/plugins/StatisticsChart.py
	*  src/plugins/FamilyLines.py
	*  src/plugins/PatchNames.py

svn: r9953
2008-01-29 07:40:35 +00:00
Raphael Ackermann
ebf12e3106 2008-01-28 Duncan Lithgow <dlithgow@gmail.com>
* various: add capitalization fixes according to HIG (plus ellipsis ...)
	http://library.gnome.org/devel/hig-book/stable/design-text-labels.html.en

svn: r9951
2008-01-28 21:22:06 +00:00
Brian Matherly
77af7ed092 Refactoring the report system: reports no longer require dbstate.
svn: r9924
2008-01-24 12:50:33 +00:00
Brian Matherly
2f0d587bec More refactoring in the report system. Book report should work again.
svn: r9916
2008-01-23 05:41:46 +00:00
Brian Matherly
07e1529f27 Refactoring the report system. Decouple MenuOptions from the code that displays them. (Book Report is broken and needs to be fixed.)
svn: r9875
2008-01-18 05:39:50 +00:00
Brian Matherly
5c8214c843 0001408: Low Verbosity / Succinct option for the Detailed Ancestral/Descendant Reports (patch from James Friedmann <jfriedmannj@gmail.com> modified by Raphael Ackermann <raphael.ackermann@gmail.com> and Brian Matherly)
svn: r9716
2008-01-06 06:13:37 +00:00
Brian Matherly
81e521c53b More refactoring in the report system. More reports use MenuOptions now. BareReportDialog no longer has "center person".
svn: r9714
2008-01-05 20:42:05 +00:00
Brian Matherly
e0543b0644 More updates to better support MenuOptions. FamilyLines seems to work now.
svn: r9634
2007-12-30 05:41:16 +00:00
Brian Matherly
455a481dc6 Convert DetDescendantReport and DetAncestralReport to use MenuOption.
svn: r9606
2007-12-28 05:12:30 +00:00
Brian Matherly
4a77cfdd79 Add fields to translation strings in DetAncestralReport.py, DetDescendantReport.py, FanChart.py.
svn: r9567
2007-12-23 21:34:36 +00:00
Gary Burton
29a40f4bca 2007-12-18 Gary Burton <gary.burton@zen.co.uk>
* src/plugins/DetAncestralReport.py: Remove some test code



svn: r9529
2007-12-18 19:10:39 +00:00
Brian Matherly
05575ad026 Refactor various aspects of the report system.
svn: r9496
2007-12-13 01:52:03 +00:00
Gary Burton
bdd2c23393 2007-11-03 Gary Burton <gary.burton@zen.co.uk>
* src/plugins/DetDescendantReport.py
	* src/plugins/DetAncestralReport.py
	Added functionality to print event and event reference notes. issue #1335



svn: r9292
2007-11-03 22:08:34 +00:00
Don Allingham
d58641415d 2007-10-08 Don Allingham <don@gramps-project.org>
* various: gen.lib integration. probably touches almost every file

	* various: gen.utils integration


svn: r9101
2007-10-08 16:41:39 +00:00
Brian Matherly
95ceb4e904 Patch from Robert Cawley. 0001121: Output relationshipo type correctly in Detailed descendant and ancestor reports
svn: r8839
2007-08-20 02:28:41 +00:00
Brian Matherly
d3f3b050ce Add attributes to the detailed ancestral report.
svn: r8811
2007-08-12 03:34:28 +00:00
Brian Matherly
0960410443 Improve Bibliography and use it in Narrative Web report as well.
svn: r8760
2007-07-23 12:22:03 +00:00
Brian Matherly
0b54846df9 Move superscript from Endnotes to each individual report.
svn: r8751
2007-07-21 13:23:32 +00:00
Alex Roitman
74ad7b95a4 * src/TreeViews/_PersonTreeView.py: Use name_displayer.
* src/ReportBase/_ReportUtils.py: Use name_displayer.
	* src/ReportBase/_CommandLineReport.py: Use name_displayer.
	* src/ReportBase/_BareReportDialog.py: Use name_displayer.
	* src/PluginUtils/_Tool.py: Use name_displayer.
	* src/plugins/TimeLine.py: Use name_displayer.
	* src/plugins/RelCalc.py: Use name_displayer.
	* src/plugins/ReadGrdb.py: Use name_displayer.
	* src/plugins/NarrativeWeb.py: Use name_displayer.
	* src/plugins/IndivComplete.py: Use name_displayer.
	* src/plugins/GraphViz.py: Use name_displayer.
	* src/plugins/FindDupes.py: Use name_displayer.
	* src/plugins/FamilyGroup.py: Use name_displayer.
	* src/plugins/DetDescendantReport.py: Use name_displayer.
	* src/plugins/DetAncestralReport.py: Use name_displayer.
	* src/plugins/DesGraph.py: Use name_displayer.
	* src/plugins/DescendReport.py: Use name_displayer.
	* src/plugins/DescendChart.py: Use name_displayer.
	* src/plugins/Check.py: Use name_displayer.
	* src/plugins/Ancestors.py: Use name_displayer.
	* src/plugins/AncestorReport.py: Use name_displayer.
	* src/plugins/AncestorChart2.py: Use name_displayer.
	* src/ObjectSelector/_PersonTreeFrame.py: Use name_displayer.
	* src/ObjectSelector/_PersonFrame.py: Use name_displayer.
	* src/Merge/_MergePerson.py: Use name_displayer.
	* src/GrampsDbUtils/_WriteGedcom.py: Use name_displayer.
	* src/GrampsDbUtils/_ReadXML.py: Use name_displayer.
	* src/GrampsDbUtils/_GedcomParse.py: Use name_displayer.
	* src/FilterEditor/_ShowResults.py: Use name_displayer.
	* src/FilterEditor/_EditRule.py: Use name_displayer.
	* src/Editors/_EditPrimary.py: Use name_displayer.
	* src/Editors/_EditPersonRef.py: Use name_displayer.
	* src/Editors/_EditPerson.py: Use name_displayer.
	* src/Editors/_EditName.py: Use name_displayer.
	* src/Editors/_EditLdsOrd.py: Use name_displayer.
	* src/Editors/_EditFamily.py: Use name_displayer.
	* src/DisplayTabs/_PersonRefModel.py: Use name_displayer.
	* src/DisplayTabs/_NameModel.py: Use name_displayer.
	* src/DisplayTabs/_ChildModel.py: Use name_displayer.
	* src/DisplayTabs/_BackRefModel.py: Use name_displayer.
	* src/DisplayModels/_PeopleModel.py: Use name_displayer.
	* src/DisplayModels/_FamilyModel.py: Use name_displayer.
	* src/DataViews/_PersonView.py: Use name_displayer.
	* src/DataViews/_RelationView.py: Use name_displayer.
	* src/DataViews/_PedigreeView.py: Use name_displayer.
	* src/Utils.py: Use name_displayer.
	* src/SubstKeywords.py: Use name_displayer.
	* src/Sort.py: Use name_displayer.
	* src/Reorder.py: Use name_displayer.
	* src/PageView.py (BookMarkView.add_bookmark): Use name_displayer.
	* src/Navigation.py: Use name_displayer.
	* src/DisplayState.py: Use name_displayer.
	* src/GrampsCfg.py: Use name_displayer.
	* src/Bookmarks.py (Bookmarks.make_label): Use name_displayer.
	* src/GrampsDb/Makefile.am (pkgdata_PYTHON): Ship new files.
	* src/Makefile.am (gdir_PYTHON): Ship ProgressDialog.py


svn: r8680
2007-06-28 05:41:40 +00:00
Brian Matherly
5d4434fda0 Fix death source references in DDR and DAR.
svn: r8590
2007-06-19 04:32:06 +00:00
Brian Matherly
dae8c99230 Enhance source endnotes in some text reports.
svn: r8541
2007-06-13 04:13:00 +00:00
Brian Matherly
3eebd910d5 Move Graphic Styles, Table Styles and Cell Styles into the StyleSheet class. All report styles are now defined in the "get_default_style()" function.
svn: r8421
2007-04-23 11:46:26 +00:00
Brian Matherly
4a6b730259 Remove "get_generations()" from the report options base classes. It was
forcing some reports to have the "page break between generations" options
even though they weren't using it. All reports now define all of their own
options.

svn: r8323
2007-03-27 11:50:26 +00:00
Brian Matherly
86fe9d11a8 fix for multiple notes.
svn: r8321
2007-03-27 04:18:14 +00:00
Richard Taylor
70e12c490e Moved NameDisplay into BasicUtils.
svn: r8197
2007-02-20 20:56:48 +00:00
Brian Matherly
1a57769135 * src/ReportBase/_ReportUtils.py: Add function "get_address_str"
* src/plugins/DetDescendantReport.py: Add addresses (0000791)
* src/plugins/DetAncestralReport.py: Add addresses (0000791)
* src/plugins/IndivComplete.py: Add addresses (0000791)
* src/plugins/NarrativeWeb.py: use "get_address_str"
* src/plugins/FamilyGroup.py: use "get_address_str"

svn: r7956
2007-01-23 01:51:33 +00:00
Stefan Bjork
48e499c88e Small fixes. Changes in swedish date parser.
svn: r7832
2006-12-21 13:04:02 +00:00
Brian Matherly
e113412801 * src/plugins/DetDescendantReport.py: 0000558: Print only primary events
* src/plugins/DetAncestralReport.py: 0000558: Print only primary events
* src/plugins/GraphViz.py: 0000558: Print only primary events
* src/plugins/FamilyGroup.py: 0000558: Print only primary events
* src/plugins/IndivComplete.py: 0000558: Print only primary events
* src/plugins/NarrativeWeb.py: 0000558: Print only primary events

svn: r7666
2006-11-22 04:43:33 +00:00
Brian Matherly
e6edf76240 * src/plugins/DetDescendantReport.py: Use callname instead of nickname (#0000557)
* src/plugins/DetAncestralReport.py: Use callname instead of nickname (#0000557)
	* src/ReportBase/_ReportUtils.py: Use callname instead of nickname (#0000557)

svn: r7657
2006-11-20 13:16:22 +00:00
Brian Matherly
8330e8dad0 * src/plugins/DetAncestralReport.py: Add family Events
* src/plugins/DetDescendantReport.py: Add family Events

svn: r7625
2006-11-14 04:39:55 +00:00
Brian Matherly
3b6ed87d0c * src/plugins/DetAncestralReport.py: fix DAR-Endnotes indent
* src/plugins/DetDescendantReport.py: fix DDR-Endnotes indent

svn: r7374
2006-10-09 03:29:34 +00:00
Brian Matherly
174fe82e52 * src/plugins/DetDescendantReport.py: fix spouse name printing
* src/plugins/DetAncestralReport.py: fix spouse name printing

svn: r7156
2006-08-12 03:37:05 +00:00
Brian Matherly
693a413471 src/plugins/DetAncestralReport.py: print children when no mother exists
svn: r7143
2006-08-07 02:53:28 +00:00
Brian Matherly
7ce909d3b5 remove duplicate birth and death events in reports (fixes bug #235)
svn: r6971
2006-06-28 04:01:14 +00:00
Brian Matherly
5b88e0a716 add Table of Contents marks
svn: r6855
2006-06-04 04:26:28 +00:00
Brian Matherly
0c008ceb78 various: enhance indexing with IndexMark
svn: r6850
2006-06-03 03:32:26 +00:00
Brian Matherly
f99fbb9fda * src/plugins/vaious: upgrade to new report interface
svn: r6838
2006-06-01 04:39:40 +00:00
Brian Matherly
8ebd09eabb insert name keys for indexing
svn: r6817
2006-05-30 01:18:41 +00:00
Alex Roitman
cb0b034e70 * src/GrampsDb/_WriteGedcom.py: Multiple improvements.
* various: Replace get/set_base_handle with get/set_reference_handle.
	* src/RelLib/_SourceRef.py (get_base_handle,set_base_handle):
	Remove redundant methods.


svn: r6750
2006-05-22 23:56:57 +00:00
Brian Matherly
99c3ae0e44 misc reports: keep up with RelLib changes
svn: r6414
2006-04-22 06:56:48 +00:00
Alex Roitman
b9371e2e08 2006-04-21 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_ReportUtils.py (buried_str): Typo.
	* src/plugins/DetDescendantReport.py (write_children): Use child_refs.
	* src/plugins/DetAncestralReport.py (write_children): Use child_refs.
	* src/plugins/IndivComplete.py (write_fact): Use new event type.
	* src/docgen/KwordDoc.py (KwordDoc.close): Use tarile.



svn: r6413
2006-04-22 05:13:21 +00:00
Alex Roitman
57d6df04c9 * various: Revert back to using gettext except for the modules that need context -- those will use TransUtils.sgettext
svn: r6282
2006-04-06 22:02:46 +00:00
Brian Matherly
8a4302a1af Remove use of deprecated functions. Supported text reports now work.
svn: r6229
2006-03-30 03:17:33 +00:00
Alex Roitman
93add4967a * various: Use TransUtils.sgettext instead of gettext.gettext to work out stripping the context.
svn: r6155
2006-03-16 20:24:27 +00:00