Commit Graph

250 Commits

Author SHA1 Message Date
Brian Matherly
1f783f6545 0001750: Some problems with web pages
svn: r10012
2008-02-10 21:17:43 +00:00
Brian Matherly
610ac774fa Web Calendar and Narrative Web report now use Menu Options.
svn: r10010
2008-02-10 04:09:09 +00:00
Brian Matherly
08c54e0d2e 0001702: invoking family group reports crashes gramps
svn: r9986
2008-02-02 21:23:08 +00:00
Brian Matherly
060dbd4119 Intelligent selection of default family for family option in reports.
svn: r9966
2008-01-31 02:55:59 +00:00
Raphael Ackermann
fc1554acaa 2008-01-30 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/FilterEditor/_EditFilter.py: self.space --> self.namespace
	* src/FilterEditor/_FilterEditor.py: self.space --> self.namespace
	* src/FilterEditor/_EditRule.py: self.space --> self.namespace
	* src/FilterEditor/_ShowResults.py: self.space --> self.namespace
	* src/plugins/ExportVCalendar.py: pylint fixes
	* src/PluginUtils/_Tool.py: pylint fixes
	* src/Filters/_FilterParser.py: cleanup
	* src/Filters/_GenericFilter.py: doc fix
	* src/Filters/Rules/Person/_Everyone.py
	* src/ManagedWindow.py: doc fix

svn: r9963
2008-01-30 09:03:20 +00:00
Brian Matherly
6dbc6c3348 Default GuiOptions to use active person.
svn: r9962
2008-01-30 05:12:51 +00:00
Raphael Ackermann
3bd5ea1f35 2008-01-29 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/ViewManager.py: 0001641: add ... ellipsis to menu items. 
	* src/plugins/Calendar.py: 0001641: add ... ellipsis to menu items. 
	* src/PluginUtils/__init__.py: pep8 fixes
	* src/PluginUtils/_PluginMgr.py: pylint and doc fixes

svn: r9960
2008-01-29 21:48:19 +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
a25fb9bdd6 Change the availability of some options in FamilyLines depending on the value of other options.
svn: r9945
2008-01-28 13:25:22 +00:00
Brian Matherly
ced194780a Remove the use of dbstate for GuiMenuOptions in tools.
svn: r9942
2008-01-28 05:17:29 +00:00
Brian Matherly
79174e7114 Fix 0001659: NumberOption fields on report dialogs
svn: r9941
2008-01-28 05:12:09 +00:00
Brian Matherly
c2a6656f0e Removed the use of dbstate in report options.
svn: r9930
2008-01-25 01:23:21 +00:00
Raphael Ackermann
506eb32637 2008-01-24 Raphael Ackermann <raphael.ackermann@gmail.com>
Removed all the __author__, __revision__ and __version__ statements

svn: r9928
2008-01-24 20:38:10 +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
Raphael Ackermann
bbe2cc6d4e 2008-01-22 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/* Everything but src/images/* and src/data/* add correct svn 
	properties with the commands:
	svn propset -R svn:mime-type text/plain src/
	svn propset -R svn:eol-style native src/
	svn propset -R svn:keywords Id src/
	See below why the Id keyword is enough. From svn help propset
	svn:keywords   - Keywords to be expanded.  Valid keywords are:
      URL, HeadURL             - The URL for the head version of the object.
      Author, LastChangedBy    - The last person to modify the file.
      Date, LastChangedDate    - The date/time the object was last modified.
      Rev, Revision,           - The last revision the object changed.
      LastChangedRevision
      Id                       - A compressed summary of the previous
                                   4 keywords.

svn: r9912
2008-01-22 09:17:46 +00:00
Raphael Ackermann
4261e46bf9 2008-01-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/FilterEditor/_ShowResults.py
	* src/GrampsCfg.py
	* src/ReportBase/_StyleComboBox.py
	* src/ReportBase/_PaperMenu.py
	* src/ReportBase/_BookFormatComboBox.py
	* src/ReportBase/_DrawFormatComboBox.py
	* src/ReportBase/_GraphvizReportDialog.py
	* src/ReportBase/_TextFormatComboBox.py
	* src/DisplayTabs/_GalleryTab.py
	* src/ColumnOrder.py
	* src/plugins/WebCal.py
	* src/plugins/RemoveUnused.py
	* src/plugins/Verify.py
	* src/plugins/PatchNames.py
 	* src/ObjectSelector/_FamilyFilterFrame.py
	* src/ObjectSelector/_PersonFilterFrame.py
	* src/GrampsWidgets.py
	* src/ExportOptions.py
	* src/DdTargets.py
	* src/AutoComp.py
	* src/UndoHistory.py
	* src/PluginUtils/_PluginWindows.py
	* src/DbLoader.py
	* src/Filters/_FilterMenu.py
	pylint fixes + init gtk.ListStore() with gobject.TYPE_BOOLEAN types 
	instead of str, int, bool etc + Documentation fixes 

svn: r9905
2008-01-21 22:03:43 +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
Doug Blank
e304069be8 2008-01-15 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/PluginUtils/_Tool.py (Tool.__init__): pass in dbstate
	* src/PluginUtils/__init__.py (MenuToolOptions.__init__): 
	pass in dbstate
	* src/plugins/Calendar.py (CalendarOptions.add_menu_options): 
	standard defaults
	


svn: r9830
2008-01-15 21:08:32 +00:00
Raphael Ackermann
2225ac3d78 2008-01-15 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/GrampsDbUtils/_GrampsDbWriteXML.py
    * src/GrampsDbUtils/_WriteGedcom.py
    * src/plugins/ExportCSV.py
    * src/plugins/ExportVCalendar.py
    * src/plugins/ExportVCard.py
    * src/plugins/WriteCD.py
    * src/plugins/WriteFtree.py
    * src/plugins/WriteGeneWeb.py
    * src/plugins/WritePkg.py
    * src/PluginUtils/_PluginMgr.py: pylint fixes
    pylint fixes and work on 0001597 

svn: r9812
2008-01-15 09:16:45 +00:00
Brian Matherly
f3ea893102 Code cleanup in _MenuOptions.py
svn: r9799
2008-01-14 00:24:15 +00:00
Stéphane Charette
7c37b80716 more report changes
svn: r9781
2008-01-12 03:26:44 +00:00
Brian Matherly
0af382cf1e 0001539: Tab order incorrect - Statistics Chart configuration
svn: r9759
2008-01-09 05:36: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
Stéphane Charette
95496e6449 add_comment() and work in progress for the new GraphViz framework
svn: r9679
2008-01-02 08:43:19 +00:00
Brian Matherly
22359b81c4 Refinement of "Center Person" selection for reports. Now only use one dialog.
svn: r9670
2008-01-01 06:44:58 +00:00
Brian Matherly
1f4fc8e662 Selection of center person for reports can now be one of: A person from the database, a bookmarked person, the active person, or the home person.
svn: r9666
2007-12-31 22:24:23 +00:00
Brian Matherly
f002f65c41 Proof of concept: adding a center person option instead of using active person in reports.
svn: r9652
2007-12-31 06:21:58 +00:00
Brian Matherly
e364f891d5 Rename "PeoplePickerOption" to "PersonListOption".
svn: r9646
2007-12-30 22:32:02 +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
Stéphane Charette
5ea0cd4b3e work in progress converting FamilyLines to new GraphViz plugin
svn: r9612
2007-12-28 10:08:19 +00:00
Doug Blank
c3bda4cb4c 2007-12-27 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/PluginUtils/_Options.py: Bug #1486, type error on option read



svn: r9605
2007-12-28 02:20:39 +00:00
Stéphane Charette
5f077e4795 more generic changes to the GraphViz base class
svn: r9579
2007-12-25 01:57:45 +00:00
Stéphane Charette
e9ebd454cc more graphviz based options
svn: r9562
2007-12-23 07:52:01 +00:00
Doug Blank
ca186628c7 2007-12-17 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/CalculateEstimatedDates.py: Give good defaults for Filter 
	and Enumerated Lists
	* src/plugins/Calendar.py: Give good defaults for Filter and Enumerated
	lists
	* src/PluginUtils/_MenuOptions.py: added a get_filter() method to return
	filter object; added a param to constructor to set default filter



svn: r9526
2007-12-17 05:09:34 +00:00
Brian Matherly
f5393d7d3a Properly initialize Filter option.
svn: r9525
2007-12-17 04:12:01 +00:00
Brian Matherly
71be179625 Fix TextOption and EnumeratedListOption in MenuOptions.py.
svn: r9514
2007-12-16 03:48:59 +00:00
Doug Blank
8712649b7d * src/plugins/Calendar.py: Added relationships (feature #1086)
* src/PluginUtils/_MenuOptions.py: added get_center_person to filter option

2007-12-15  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r9510
2007-12-15 17:09:44 +00:00
Brian Matherly
6bf7737025 Fix MenuToolOptions.
svn: r9498
2007-12-13 05:31:13 +00:00
Brian Matherly
05575ad026 Refactor various aspects of the report system.
svn: r9496
2007-12-13 01:52:03 +00:00
Doug Blank
b12d33db45 2007-12-09 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/CalculateEstimatedDates.py: define set_title
	* src/plugins/OwnerEditor.py: define build_menu_names
	* src/PluginUtils/_PluginWindows.py: Fixed layer window issues



svn: r9467
2007-12-09 16:25:28 +00:00
Doug Blank
9f04eaad48 Fixed window on top issue, self.show() vs self.window.show()
svn: r9465
2007-12-09 15:53:47 +00:00
Doug Blank
e58d354a14 2007-12-07 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/PluginUtils/Makefile.am: Missing _PluginsWindows.py
	* po/test: new unittest dir
	* po/test/po_test.py: new unittest suite for POTFILES
	  and Makefiles
	* po/POTFILES.in: Missing CalculateEstimatedDates.py



svn: r9458
2007-12-08 05:02:09 +00:00
Doug Blank
824622f77a Added double-click, testing Window show variations
svn: r9456
2007-12-07 17:19:22 +00:00
Doug Blank
865404ced6 2007-12-06 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/PluginUtils/_MenuOptions.py: Fixed boolean option double label



svn: r9455
2007-12-07 03:45:08 +00:00
Doug Blank
dca7b6cc27 * src/PluginUtils/_PluginWindows.py: Removed unnecessary code
* src/PluginUtils/_MenuOptions.py: Added "Change" button for filter option

2007-12-06  Douglas S.Blank  <dblank@cs.brynmawr.edu>


svn: r9454
2007-12-07 03:09:58 +00:00
Doug Blank
4742947510 2007-12-06 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/PluginUtils/_PluginMgr.py: return values on load_plugins was 
	reversed: return True if errors.



svn: r9453
2007-12-07 01:05:32 +00:00
Doug Blank
bd63b3db14 Refinements
svn: r9450
2007-12-06 17:32:40 +00:00
Doug Blank
095a4e3172 * src/plugins/CalculateEstimatedDates.py: pass in handle to link
* src/PluginUtils/_PluginWindows.py: New clickable text tests

2007-12-06  Douglas S.Blank  <dblank@cs.brynmawr.edu>


svn: r9449
2007-12-06 15:56:22 +00:00
Doug Blank
8be73592d6 2007-12-06 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/plugins/CalculateEstimatedDates.py: experimental click in text
	* src/PluginUtils/_PluginWindows.py: experimental write_results_link()



svn: r9448
2007-12-06 06:33:21 +00:00
Doug Blank
69fff5654a 2007-12-05 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/plugins/CalculateEstimatedDates.py: set quality CALCULATED on
	  added dates
	* src/PluginUtils/_PluginWindows.py: buttons are now Close and Apply
	* src/PluginUtils/_MenuOptions.py: 2 bugs: xml load; help/dict typo



svn: r9447
2007-12-06 04:23:12 +00:00
Doug Blank
a303f53386 2007-12-03 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/plugins/CalculateEstimatedDates.py: Refinements, use results tab
	* src/PluginUtils/_PluginWindows.py: Tool support for a results tab



svn: r9441
2007-12-04 02:54:39 +00:00
Doug Blank
ea61a85402 2007-12-02 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/gen/lib/date.py: added new method copy_ymd()
	* src/plugins/CalculateEstimatedDates.py: new tool based on 
	  MenuOptions: calculates estimated dates
	* src/PluginUtils/_PluginWindows.py: refactoring, cleanup

	* po/POTFILES.in: renamed PluginStatus.py -> PluginWindows.py


svn: r9438
2007-12-02 18:41:21 +00:00
Doug Blank
56905cedd8 2007-11-29 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/ReportBase/__init__.py: import MenuReportOptions
	* src/ReportBase/_ReportOptions.py: import MenuOptions and
	  define MenuReportOptions
	* src/plugins/Calendar.py: get MenuReportOptions from ReportOptions
	* src/plugins/DescendChart.py: ditto
	* src/plugins/AncestorChart.py: ditto
	* src/plugins/GVHourGlass.py: ditto
	* src/plugins/FanChart.py: ditto
	* src/PluginUtils/__init__.py: define MenuToolOptions
	* src/PluginUtils/_MenuOptions.py: Remove circular dependancies



svn: r9433
2007-11-29 15:02:40 +00:00
Doug Blank
15f4b137da 2007-11-29 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/ViewManager.py: use PluginsWindows
	* src/PluginUtils/_PluginStatus.py: moved from
	* src/PluginUtils/_PluginWindows.py: moved to
	* src/PluginUtils/__init__.py: use PluginsWindows
	* src/PluginUtils/_Plugins.py: use PluginsWindows



svn: r9429
2007-11-29 06:32:59 +00:00
Doug Blank
a6247edf67 2007-11-28 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/PluginUtils/_MenuOptions.py: added comments
	* src/PluginUtils/_PluginStatus.py: added ToolManagedWindowBatch



svn: r9428
2007-11-29 03:08:07 +00:00
Doug Blank
d9e043c69b 2007-11-28 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/ReportBase/Makefile.am: removed _MenuOptions.py
	* src/PluginUtils/Makefile.am: added _MenuOptions.py



svn: r9426
2007-11-29 02:00:50 +00:00
Doug Blank
8d5e473a01 New
svn: r9425
2007-11-29 00:19:25 +00:00
Doug Blank
d2be7227f5 * src/ReportBase/_MenuOptions.py: removed/moved to PluginUtils
* src/ReportBase/__init__.py: removed Menu items
	* src/plugins/Calendar.py: uses MenuReportOptions
	* src/plugins/DescendChart.py: uses MenuReportOptions
	* src/plugins/AncestorChart.py: uses MenuReportOptions
	* src/plugins/GVHourGlass.py: uses MenuReportOptions
	* src/plugins/FanChart.py: uses MenuReportOptions
	* src/PluginUtils/__init__.py: imports Menu items

2007-11-28  Douglas S.Blank  <dblank@cs.brynmawr.edu>


svn: r9424
2007-11-28 23:33:40 +00:00
Don Allingham
a65a73d1d7 * various: const.py changes
2007-09-07  Don Allingham  <don@gramps-project.org>
	* src/DateHandler/_Date_fr.py: fix indentation errors

2007-09-07  Don Allingham  <don@gramps-project.org>


svn: r8948
2007-09-08 05:54:02 +00:00
Benny Malengier
9ce50cee93 Quick reports general functionality
svn: r8889
2007-08-29 19:37:58 +00:00
Brian Matherly
7a72009239 Remove db requirement from constructor and add get_plural_relationship_string to relationship class.
svn: r8831
2007-08-18 13:31:50 +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
adbf4b1dac Remove "enable_options()" from the report interface. All reports define all their own options. So it is not used.
svn: r8329
2007-03-28 02:47:03 +00:00
Brian Matherly
7ee6b12070 Remove get_report_filters() function. Let reports define the filter options themselves.
svn: r8315
2007-03-25 20:35:33 +00:00
Richard Taylor
70e12c490e Moved NameDisplay into BasicUtils.
svn: r8197
2007-02-20 20:56:48 +00:00
Brian Matherly
c6c5c8be50 * src/docgen/ODFDoc.py: Add "open with" option for book reports
* src/docgen/OpenOfficeDoc.py: Add "open with" option for book reports
* src/plugins/BookReport.py: Add "open with" option for book reports
* src/PluginUtils/_PluginMgr.py: Add "open with" option for book reports

svn: r7976
2007-01-25 03:22:46 +00:00
Alex Roitman
ae213a633b 2006-12-20 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_Plugins.py (PluginDialog.__init__): Connect to
	signal in the parent class.



svn: r7831
2006-12-21 04:42:37 +00:00
Alex Roitman
8a2e1b5ad6 Update
svn: r7828
2006-12-20 07:23:10 +00:00
Alex Roitman
43a14bfa74 2006-12-19 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_Plugins.py: Emit signal on rebuild, rebuild
	open plugin dialogs on rebuild.
	* src/ViewManager.py: Use signal to rebuild plugin menus.
	* src/DisplayState.py (DisplayState.__signals__): Register signal
	to indicate plugin reloading.



svn: r7827
2006-12-20 07:22:19 +00:00
Alex Roitman
982c4cf9a6 2006-12-19 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_Options.py (save): Use unicode, not str.



svn: r7822
2006-12-19 17:53:54 +00:00
Alex Roitman
997be179b9 Update
svn: r7819
2006-12-19 07:42:43 +00:00
Alex Roitman
740a436e76 2006-12-18 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_Options.py (save): Escape special characters.



svn: r7818
2006-12-19 04:53:42 +00:00
Alex Roitman
4987b9b9b4 * src/ArgHandler.py (cl_action): Properly call CLI tool.
* src/plugins/DumpGenderStats.py (__init__): Fix CLI mode.
	* src/PluginUtils/_Tool.py (cli_tool): Fix CLI tools.


svn: r7741
2006-12-01 15:48:25 +00:00
Martin Hawlisch
1845a32618 * src/PluginUtils/_Plugins.py: ignore pressing apply without a plugin being selected
* src/plugins/SoundGen.py: Dont fail with empty database



svn: r7359
2006-10-06 19:10:15 +00:00
Alex Roitman
754000d00c * src/PluginUtils/_Tool.py (BatchTool.run): Remove redundant method.
svn: r7205
2006-08-19 00:48:01 +00:00
Don Allingham
051f992afb 2006-07-04 Don Allingham <don@gramps-project.org>
* various: pyflakes fixes



svn: r6992
2006-07-04 23:38:51 +00:00
Alex Roitman
c67eb071d7 * src/PluginUtils/_Plugins.py (PluginDialog.on_apply_clicked,
PluginDialog.on_node_selected): Pass and use require_active flag.


svn: r6940
2006-06-21 19:39:43 +00:00
Alex Roitman
7585b5e47d 2006-06-16 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_PluginMgr.py (register_report): Add
	require_active argument to _register_cl_report call.



svn: r6904
2006-06-17 01:32:58 +00:00
Don Allingham
2f86415842 svn: r6903 2006-06-16 21:26:44 +00:00
Brian Matherly
18aa102799 pass dbstate to report
svn: r6888
2006-06-14 01:36:23 +00:00
Alex Roitman
0addd2c59c * src/PluginUtils/_PluginMgr.py: Import MODE_CLI.
* src/ReportBase/_BookFormatComboBox.py: Adapt to changes.


svn: r6831
2006-05-31 19:26:34 +00:00
Alex Roitman
99acb9d02f Update
svn: r6824
2006-05-31 02:41:46 +00:00
Alex Roitman
f8eb3a2ebb 2006-05-30 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Change files due to module split.



svn: r6821
2006-05-31 00:57:54 +00:00
Alex Roitman
0ab5eb9a0d 2006-05-30 Alex Roitman <shura@gramps-project.org>
* various: break Report into a package.



svn: r6820
2006-05-31 00:48:07 +00:00
Brian Matherly
57d09536b5 * src/PluginUtils/_ReportUtils.py: handle no person error
svn: r6818
2006-05-30 02:36:25 +00:00
Brian Matherly
1d225c91db Add name keys for indexing in reports
svn: r6809
2006-05-29 02:52:14 +00:00
Alex Roitman
e0b3dc141d In .:
2006-05-15  Alex Roitman  <shura@gramps-project.org>
	* configure.in: Generate new Makefile.
	* src/Makefile.am: adapt to new module.
	* src/Selectors: separate selectors in their own module.
	* src/Select*.py: move to Selectors.
	* src/DataViews/_FamilyView.py: Use new module.
	* src/Editors/_EditLdsOrd.py: Use new module.
	* src/Editors/_EditPersonRef.py: Use new module.
	* src/Editors/_EditFamily.py: Use new module.
	* src/DisplayTabs/_SourceEmbedList.py: Use new module.
	* src/DisplayTabs/_RepoEmbedList.py: Use new module.
	* src/DisplayTabs/_EventEmbedList.py: Use new module.
	* src/DisplayTabs/_GalleryTab.py: Use new module.
	* src/plugins/FilterEditor.py: Use new module.
	* src/plugins/SimpleBookTitle.py: Use new module.
	* src/PluginUtils/_Report.py: Use new module.

In po:
2006-05-15  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new files.



svn: r6669
2006-05-15 15:53:42 +00:00
Brian Matherly
e87756fb08 src/PluginUtils/_ReportUtils.py: Change strings to include gender instead of "child of"
svn: r6660
2006-05-15 00:43:41 +00:00
Brian Matherly
85a4d328c9 src/PluginUtils/_Report.py: Fix custom paper size bug (bug #0000084)
svn: r6651
2006-05-14 06:34:18 +00:00
Don Allingham
064c8ce061 * src/PluginUtils/_ReportUtils.py: fix set_nick_name
* src/RelLib/_MediaRef.py: handle initialization of Ref object


svn: r6568
2006-05-07 04:24:23 +00:00
Alex Roitman
25ada65064 * src/PluginUtils/_Tool.py (BatchTool): Add class taking care of
tools with batch transactions.
	(ActivePersonTool.pass): Remove method.
	* src/plugins/Check.py (Check): Derive from BatchTool.
	* src/plugins/ReorderIds.py (ReorderIds): Use batch transactions;
	derive from BatchTool.
	* src/plugins/ChangeTypes.py (ChangeTypes): Use batch
	transactions; derive from BatchTool. 
	* src/plugins/ChangeNames.py (ChangeNames): Derive from BatchTool.
	* src/plugins/PatchNames.py (PatchNames): Use batch transactions;
	derive from BatchTool.
	* src/glade/gramps.glade: Make both buttons' lables in
	questiondialog use underline property.
	(ViewManager.import_data): Add undo warning for imports.


svn: r6540
2006-05-04 02:05:50 +00:00
Alex Roitman
2dd9893045 * src/Filters/Rules/*: Add object-specific rules.
svn: r6529
2006-05-03 06:29:07 +00:00
Alex Roitman
ba42a155b1 * src/GenericFilters.py: Remove.
* src/Filters: Move filtering to its own package.
	


svn: r6521
2006-05-03 01:02:54 +00:00
Brian Matherly
1c5bd0e1b3 Fix style editor color picker (Bug #0000065)
svn: r6495
2006-04-29 15:44:44 +00:00
Alex Roitman
d2698f566a 2006-04-27 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py (ViewManager.build_plugin_menu): Use unique
	command-line name for action menu.
	* src/plugins/GraphViz.py: Fix report.
	* src/PluginUtils/_PluginMgr.py (_register_standalone): Remove
	unneeded import.
	* src/PluginUtils/_Plugins.py (build_tools_menu, build_report_menu,
	build_plugin_menu, by_menu_name): Remove functions already
	re-implemented in ViewManager.
	* src/plugins/EventCmp.py: Correct button label.
	* src/plugins/StatisticsChart.py: Fix report.



svn: r6481
2006-04-28 04:33:28 +00:00
Alex Roitman
513f6706bf 2006-04-27 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py (reports_clicked, tools_clicked): handle
	exception.
	* src/PluginUtils/_Plugins.py (PluginDialog.on_apply_clicked):
	Correctly call gui_tool, fix wm.	



svn: r6475
2006-04-27 21:32:44 +00:00
Alex Roitman
5505dc12d3 2006-04-27 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_PluginStatus.py: Fix wm.
	* src/PluginUtils/_Plugins.py: Fix Reload tool. The re-building of
	the menus still needs to be fixed.
	* src/plugins/Leak.py: Fix wm.
	* src/docgen/LPRDoc.py: Import Errors module before it is called.
	* src/plugins/DumpGenderStats.py: Fix wm.



svn: r6468
2006-04-27 19:19:10 +00:00
Alex Roitman
bdf5731502 * src/plugins/PatchNames.py: Adapt to new wm.
* src/PluginUtils/_Tool.py (gui_tool): handle exception.


svn: r6449
2006-04-26 05:09:44 +00:00
Alex Roitman
77b40742b4 * src/plugins/EventCmp.py: Adapt to RelLib changes.
* src/GenericFilter.py (GenericFilter.check_and): Correct logic.
	* src/PluginUtils/_PluginStatus.py: Use new set_window.



svn: r6435
2006-04-25 18:36:52 +00:00
Don Allingham
5afa945819 Config method changed
svn: r6429
2006-04-24 21:04:01 +00:00
Alex Roitman
e1085b42f8 2006-04-23 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_PluginStatus.py (PluginTrace.__init__): Set
	scrolling policy to auto;
	(PluginTrace.close_window): Add method.



svn: r6420
2006-04-23 20:59:21 +00:00
Brian Matherly
e275aef029 Keep reports up with RelLib changes
svn: r6417
2006-04-23 02:58:53 +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
Don Allingham
3ee48954ea * src/StartupDialog.py: fix close
* src/plugins/Desbrowser.py: Use ActivPersonTool
	* src/PluginUtils/_Tool.py: active person tool added


svn: r6412
2006-04-22 04:48:40 +00:00
Don Allingham
8a0b43dc26 close button fixes
svn: r6408
2006-04-22 03:31:29 +00:00
Don Allingham
d384497dd9 pychecker fixes
svn: r6407
2006-04-22 03:23:57 +00:00
Alex Roitman
489c2c5c63 svn: r6406 2006-04-21 23:32:22 +00:00
Don Allingham
768a1356aa fix typos on XML import
svn: r6405
2006-04-21 22:24:54 +00:00
Don Allingham
a78ca88de8 Fix warnboxes
svn: r6401
2006-04-21 20:34:26 +00:00
Alex Roitman
abdbd6be5e Set properties.
svn: r6400
2006-04-21 20:13:13 +00:00
Don Allingham
7e88c6c037 Fix warnboxes
svn: r6396
2006-04-21 19:56:16 +00:00
Alex Roitman
9d4fdf1bb2 2006-04-21 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_PluginStatus.py: Many small fixes.
	* src/ManagedWindow.py (GrampsWindowManager.display_menu_list):
	Fix building the menu for child-less windows.



svn: r6395
2006-04-21 19:37:09 +00:00
Don Allingham
340bfa0056 updated PluginStatus dialog
svn: r6391
2006-04-21 17:11:54 +00:00
Don Allingham
dcfc832ca3 updated PluginStatus dialog
svn: r6390
2006-04-21 17:08:34 +00:00
Don Allingham
41a9e9205c GrampsType support for FamilyRelations, Events
svn: r6371
2006-04-19 22:59:33 +00:00
Alex Roitman
90832a683e In .:
* src/RelLib/Makefile.am: Ship new file.
	* src/PluginUtils/_ReportUtils.py: Use fam relations from new module.
	* src/Relationship.py: Use family relations from new module.
	* src/Utils.py: Remove family relations.
	* src/RelLib/__init__.py: Expose new module.
	* src/RelLib/_Family.py: Adapt to new types.
	* src/GrampsDb/_ReadXML.py: Adapt to new types.
	* src/GrampsDb/_ConstXML.py: Remove family relations.
	* src/RelLib/_FamilyRelType.py: Add new class
In po:
2006-04-19  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new files.



svn: r6369
2006-04-19 18:27:51 +00:00
Alex Roitman
dc434a5736 * src/Makefile.am: Clean byte-compiled files.
* src/DataViews/Makefile.am: Clean byte-compiled files.
	* src/GrampsDb/Makefile.am: Clean byte-compiled files.
	* src/Config/Makefile.am: Clean byte-compiled files.
	* src/RelLib/Makefile.am: Clean byte-compiled files.
	* src/Editors/Makefile.am: Clean byte-compiled files.
	* src/plugins/Makefile.am: Clean byte-compiled files.
	* src/ObjectSelector/Makefile.am: Clean byte-compiled files.
	* src/TreeViews/Makefile.am: Clean byte-compiled files.
	* src/Models/Makefile.am: Clean byte-compiled files.
	* src/Mime/Makefile.am: Clean byte-compiled files.
	* src/GrampsLogger/Makefile.am: Clean byte-compiled files.
	* src/PluginUtils/Makefile.am: Clean byte-compiled files.
	* src/docgen/Makefile.am: Clean byte-compiled files.
	* src/DateHandler/Makefile.am: Clean byte-compiled files.


svn: r6295
2006-04-10 01:02:50 +00:00
Don Allingham
fb27b07fc1 Start of migrating tools to Managed Windows
svn: r6294
2006-04-09 22:53:53 +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
Don Allingham
ae2486081d dbstate.active fixes
svn: r6255
2006-04-02 04:15:11 +00:00
Brian Matherly
9653c3e6de Narrative Web Page should work now
svn: r6254
2006-04-01 17:38:34 +00:00
Don Allingham
96c6a2b9b3 ManagedWindow
svn: r6249
2006-04-01 03:59:42 +00:00
Don Allingham
6c0e2b86d6 handle to ref conversions
svn: r6239
2006-03-31 04:19:06 +00:00
Don Allingham
0813d57df6 check and repair fixes
svn: r6235
2006-03-30 17:29:30 +00:00
Brian Matherly
d9277db7ee Remove use of deprecated functions. Supported graphical reports should work now.
svn: r6232
2006-03-30 05:15:54 +00:00
Brian Matherly
938096dfca src/PluginUtils/_Plugins.py: remove statbox
svn: r6231
2006-03-30 03:29:18 +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
Don Allingham
4c3e96b163 remove expanduser
svn: r6219
2006-03-29 04:24:39 +00:00
Don Allingham
dcec2c11c9 remove expanduser
svn: r6218
2006-03-29 04:11:17 +00:00
Brian Matherly
4813ce09d7 Use filename instead of URI for XML parser (works on Windows and Linux)
svn: r6215
2006-03-29 02:25:04 +00:00
Martin Hawlisch
d6a44469e0 Add wrappers for displaying the tuple types to unify their usage.
svn: r6193
2006-03-22 21:19:32 +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
Alex Roitman
c6ea05e24d * various: intltoolize and gettextize properly.
svn: r6144
2006-03-15 23:58:23 +00:00
Alex Roitman
4da2ebca24 * src/PluginUtils/_ReportOptions.py: Use correct namespace for the base clases from _Options module.
svn: r6139
2006-03-12 04:13:23 +00:00
Alex Roitman
596894f4f7 Update
svn: r6138
2006-03-11 05:11:41 +00:00
Alex Roitman
44040b095a Remove dependency on load_plugins
svn: r6136
2006-03-11 04:58:58 +00:00
Alex Roitman
51dd733478 Update
svn: r6134
2006-03-11 01:18:37 +00:00
Alex Roitman
6b9d4207ce * src/Plugins.py, src/PluginMgr.py: Move to ReportUtils.
svn: r6133
2006-03-11 01:12:06 +00:00
Alex Roitman
c7b1781575 Update
svn: r6123
2006-03-09 21:57:09 +00:00
Alex Roitman
bd67a5ec84 * PluginUtils: Add module with Report and Tool utils.
svn: r6121
2006-03-09 20:49:29 +00:00
Alex Roitman
1359e602d2 Update
svn: r6120
2006-03-09 20:21:32 +00:00
Alex Roitman
f3ba0044c3 Update
svn: r6119
2006-03-09 19:42:56 +00:00
Alex Roitman
5e84a41178 update
svn: r6118
2006-03-09 19:42:48 +00:00
Alex Roitman
09e612a812 update
svn: r6117
2006-03-09 19:42:41 +00:00
Alex Roitman
4d2ec05362 Update
svn: r6116
2006-03-09 19:39:55 +00:00
Alex Roitman
ded2411217 Update
svn: r6115
2006-03-09 19:37:53 +00:00
Alex Roitman
5184524646 update
svn: r6114
2006-03-09 19:13:12 +00:00
Alex Roitman
afc13676c6 Update
svn: r6113
2006-03-09 19:11:33 +00:00