Commit Graph

85 Commits

Author SHA1 Message Date
Don Allingham
49e2ef5267 2007-04-18 Don Allingham <don@gramps-project.org>
* src/plugins/BookReport.py: escape xml constructs (bug 877)
	* src/PluginUtils/_Options.py: escape xml constructs (bug 877)



svn: r8403
2007-04-19 02:03:29 +00:00
Brian Matherly
d3e6bf5b63 * 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
ae1ec18797 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
e310b304c5 Update
svn: r7828
2006-12-20 07:23:10 +00:00
Alex Roitman
7f7c4335e2 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
4f8f6c0651 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
706d07fd00 Update
svn: r7819
2006-12-19 07:42:43 +00:00
Alex Roitman
f37005c706 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
61c3c2d3de * 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
6c4d70bf2a * 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
f16dfca225 * src/PluginUtils/_Tool.py (BatchTool.run): Remove redundant method.
svn: r7205
2006-08-19 00:48:01 +00:00
Don Allingham
835329191f 2006-07-04 Don Allingham <don@gramps-project.org>
* various: pyflakes fixes



svn: r6992
2006-07-04 23:38:51 +00:00
Alex Roitman
75457c4650 * 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
59573b0529 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
460a8ca0bd svn: r6903 2006-06-16 21:26:44 +00:00
Brian Matherly
8187877ce6 pass dbstate to report
svn: r6888
2006-06-14 01:36:23 +00:00
Alex Roitman
b42f24a983 * 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
7214376f42 Update
svn: r6824
2006-05-31 02:41:46 +00:00
Alex Roitman
8c8982b395 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
ee437c6bb8 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
f69f9f0865 * src/PluginUtils/_ReportUtils.py: handle no person error
svn: r6818
2006-05-30 02:36:25 +00:00
Brian Matherly
e086d75254 Add name keys for indexing in reports
svn: r6809
2006-05-29 02:52:14 +00:00
Alex Roitman
e2330971df 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
8cb771c5d1 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
44a902aeff src/PluginUtils/_Report.py: Fix custom paper size bug (bug #0000084)
svn: r6651
2006-05-14 06:34:18 +00:00
Don Allingham
7c9539ca4c * 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
4ea2ca6a28 * 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
e5dffce271 * src/Filters/Rules/*: Add object-specific rules.
svn: r6529
2006-05-03 06:29:07 +00:00
Alex Roitman
daedc4961b * src/GenericFilters.py: Remove.
* src/Filters: Move filtering to its own package.
	


svn: r6521
2006-05-03 01:02:54 +00:00
Brian Matherly
139bfe5b1e Fix style editor color picker (Bug #0000065)
svn: r6495
2006-04-29 15:44:44 +00:00
Alex Roitman
1e88f042b8 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
abfb1ec422 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
0f6e4ff82a 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
4340fa7bd7 * 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
05b7e26cf7 * 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
9f04f55701 Config method changed
svn: r6429
2006-04-24 21:04:01 +00:00
Alex Roitman
0f1dd36ca3 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
acde4393f8 Keep reports up with RelLib changes
svn: r6417
2006-04-23 02:58:53 +00:00
Brian Matherly
6651f17ace misc reports: keep up with RelLib changes
svn: r6414
2006-04-22 06:56:48 +00:00
Alex Roitman
6f6d2f5ad2 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
527d01a583 * 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
0158575672 close button fixes
svn: r6408
2006-04-22 03:31:29 +00:00
Don Allingham
d894db5ce8 pychecker fixes
svn: r6407
2006-04-22 03:23:57 +00:00
Alex Roitman
33decd724d svn: r6406 2006-04-21 23:32:22 +00:00
Don Allingham
0b35225daa fix typos on XML import
svn: r6405
2006-04-21 22:24:54 +00:00
Don Allingham
280606f458 Fix warnboxes
svn: r6401
2006-04-21 20:34:26 +00:00
Alex Roitman
335eb157fe Set properties.
svn: r6400
2006-04-21 20:13:13 +00:00
Don Allingham
2fda127d99 Fix warnboxes
svn: r6396
2006-04-21 19:56:16 +00:00
Alex Roitman
409b235eab 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
7494dbe642 updated PluginStatus dialog
svn: r6391
2006-04-21 17:11:54 +00:00