Commit Graph

169 Commits

Author SHA1 Message Date
Brian Matherly
92d5ba8dfd Remove the "tables" parameter for text and book document generators. All generators support tables, and if one didn't, it doesn't look like the code would work.
svn: r10745
2008-05-20 03:19:58 +00:00
Brian Matherly
007ba8dd49 Rename "_Plugins.py" to a more appropriate name: "_PluginDialogs.py". Same goes for the classes in the file.
svn: r10742
2008-05-19 04:14:11 +00:00
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
Zsolt Foldvari
05b39c5c15 Reorganize custom widgets into a new 'widgets' package.
1. moving existing widget modules under src/widgets/


svn: r10694
2008-05-08 19:40:56 +00:00
Brian Matherly
5181e073e9 Add StyleOption class for reports and use it in WebCal.
svn: r10651
2008-04-29 04:47:50 +00:00
Brian Matherly
141c38cde3 General cleanup in the plugin manager.
svn: r10638
2008-04-25 01:03:08 +00:00
Brian Matherly
26cdcd680e Merge BareReportDialog with ReportDialog. BareReportDialog is now gone.
svn: r10620
2008-04-22 03:45:09 +00:00
Jérôme Rapinat
0c1ec175f6 /PluginUtils/_PluginWindows.py : allow to translate reload button
svn: r10467
2008-04-04 16:39:03 +00:00
Brian Matherly
474d681011 Remove deprecated tooltip support from the report system.
svn: r10463
2008-04-04 03:33:15 +00:00
Brian Matherly
bfe3ee1590 0001981: Update plugin status when reloading plugins
Plus some cleanup.

svn: r10439
2008-04-01 03:12:08 +00:00
Doug Blank
4a283dd93f Changes to allow Menu Options to be used in other places
svn: r10369
2008-03-21 22:58:35 +00:00
Brian Matherly
68ad749f6a 0001908: BUG: running tools from command line
svn: r10303
2008-03-14 04:26:44 +00:00
Zsolt Foldvari
2642641b84 Changing the way of how formatted Notes are stored:
remove 'Markup' optional parameter from gen.lib.note.Note.get() method.


svn: r10288
2008-03-13 10:44:22 +00:00
Doug Blank
df33e354a5 2008-03-04 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/PluginUtils/_GuiOptions.py (make_gui_option): 
	new stand-alone function that takes Option, returns GuiOption
	(attempting to make Options useable in additional ways)



svn: r10179
2008-03-04 12:24:04 +00:00
Peter Landgren
fd349ec3f2 Author info update
svn: r10165
2008-03-02 19:41:48 +00:00
Brian Matherly
16799c2465 Improvements to CLI reports -
0001824: Bug in command line - gramps does not show right error.
0001821: A command "python src/gramps.py --open=DG1 --action=report" cause a crash
Fix help strings.

svn: r10122
2008-02-26 04:32:57 +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
Don Allingham
d45a676492 2008-02-20 Don Allingham <don@gramps-project.org>
* src/GrampsCfg.py: refactoring
	* src/gen/utils/test/callback_test.py: refactoring
	* src/gen/utils/callback.py: refactoring
	* src/gen/utils/longop.py: refactoring
	* src/gen/utils/__init__.py: refactoring
	* src/gen/db/base.py: refactoring
	* src/gen/Makefile.am: refactoring
	* src/DisplayState.py: refactoring
	* src/DbState.py: refactoring
	* src/PluginUtils/_MenuOptions.py: refactoring
	* src/ListModel.py: refactoring
	* src/BaseDoc.py: refactoring



svn: r10086
2008-02-21 04:58:56 +00:00
Raphael Ackermann
90f883e46d 2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/* 143 files
    * test/try_tree_model.py
    * windows/nsis/gcheck.py
    imports cleanup

svn: r10055
2008-02-18 20:07:09 +00:00
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