55 Commits

Author SHA1 Message Date
Benny Malengier
8dd7adc607 part 2 basedoc: move BaseDoc.py to /gen/plug/docgen and add /gen/plug/docbackend
that was missing in part 1 
 Still to come: makefiles and splitting new basedoc.py in small files


svn: r12591
2009-05-29 22:25:44 +00:00
Gerald Britton
021b754939 Bug 3011: change old-style classes to new-style classes
svn: r12559
2009-05-21 17:19:50 +00:00
Brian Matherly
125266878d FileEntry clean up.
svn: r12423
2009-04-10 02:24:13 +00:00
Peter Landgren
8dc14d8106 Fix of issue 2851.
svn: r12378
2009-03-22 08:27:19 +00:00
Peter Landgren
aa25958623 Wrong Help reference for reports.
svn: r12343
2009-03-14 14:40:18 +00:00
Gerald Britton
882199f1c2 Replace dict.has_key(x) with x in dict for performance gain
svn: r10874
2008-07-17 18:10:32 +00:00
Zsolt Foldvari
998908175f Issue #0002175: Change type() expressions to isinstance() expressions.
Patch from Gerald Britton <gerald.britton@gmail.com>


svn: r10762
2008-05-25 19:55:47 +00:00
Brian Matherly
26cdcd680e Merge BareReportDialog with ReportDialog. BareReportDialog is now gone.
svn: r10620
2008-04-22 03:45:09 +00:00
Brian Matherly
cf6073a4ba Remove support for "View" reports. In the future, use either tools, gramplets, or quick views.
svn: r10424
2008-03-30 04:38:37 +00:00
Doug Blank
6ab09e3d39 2008-03-09 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/ReportBase/_WebReportDialog.py:
	* src/ReportBase/_ReportDialog.py:
	* src/ReportBase/_GraphvizReportDialog.py:
	* src/ReportBase/_DocReportDialog.py:
	* src/ReportBase/_BareReportDialog.py:
	0001814: Applied patch to move print options below option tabs



svn: r10240
2008-03-09 19:39:56 +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
5ad4dcee22 0001788: Book report crash
svn: r10057
2008-02-19 04:24: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
610ac774fa Web Calendar and Narrative Web report now use Menu Options.
svn: r10010
2008-02-10 04:09:09 +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
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
05575ad026 Refactor various aspects of the report system.
svn: r9496
2007-12-13 01:52:03 +00:00
Brian Matherly
b3fcd5a4f5 Remove unused funtions setup_output_notebook and setup_post_process from the ReportDialog class.
svn: r9224
2007-10-21 04:23:54 +00:00
Brian Matherly
d05b0e142e 0001253: Calendar report crashes without margins entered.
svn: r9048
2007-10-01 02:24:36 +00:00
Brian Matherly
152a452b2e Added support for new GVDoc interface which makes it easier to write reports that user Graphviz for layout.
svn: r9042
2007-09-30 04:56:56 +00:00
Zsolt Foldvari
8108c3a59e 2007-09-17 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/ReportBase/_ReportDialog.py: Paper settings better handling.
        * src/docgen/GtkPrint.py: Custom size paper name translatable.



svn: r8986
2007-09-17 18:48:29 +00:00
Zsolt Foldvari
99777f16b4 2007-09-16 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/ReportBase/_ReportDialog.py:
        * src/glade/paper_settings.glade:
        Enable paper margin entries on report dialog. Still not saved.



svn: r8983
2007-09-16 18:58:24 +00:00
Zsolt Foldvari
b5d073c25c 2007-09-16 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/ReportBase/_ReportDialog.py: Cleanup.
	* src/glade/paper_settings.glade: Remove frames.



svn: r8979
2007-09-16 09:20:23 +00:00
Zsolt Foldvari
0788ce0479 * src/ReportBase/_ReportDialog.py:
* src/glade/paper_settings.glade:
	Add paper margins to report dialog. (Only GUI is implemented for
	feedback.)
 
2007-09-15  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r8977
2007-09-15 21:51:44 +00:00
Zsolt Foldvari
4dab575005 2007-09-15 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/ReportBase/_ReportDialog.py (parse_paper_frame): Fix paper size
	default value in case of exception.



svn: r8976
2007-09-15 21:34:12 +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
Zsolt Foldvari
e693f56091 2007-08-26 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/ReportBase/_ReportDialog.py (report): Report dialog window is
	closed before report is run.
	* src/glade/printpreview.glade: Added.
	* src/glade/Makefile.am: printpreview.glade added.
	* src/docgen/GtkPrint.py: Preview is getting shape.



svn: r8872
2007-08-26 14:05:34 +00:00
Brian Matherly
698934ce67 Translate "Custom Size" string for reports.
svn: r8691
2007-07-03 04:23:21 +00:00
Brian Matherly
bee9c3319c src/ReportBase/_ReportDialog.py: Fix attribute error exceptions.
svn: r8636
2007-06-23 14:28:13 +00:00
Brian Matherly
da83135ac2 src/ReportBase/_ReportDialog.py: Still let REAL exceptions pass through.
svn: r8626
2007-06-22 13:19:52 +00:00
Brian Matherly
c020882e40 0001043: Dropdown list in htmloptions in Family Group Report has very large size
svn: r8479
2007-05-16 02:09:04 +00:00
Don Allingham
247e0020ed 2007-05-14 Don Allingham <don@gramps-project.org>
* src/DataViews/_PedigreeView.py: catch errors
	* src/DataViews/_RelationView.py: catch errors
	* src/ReportBase/_ReportDialog.py: catch errors
	* src/ReportBase/_SimpleAccess.py: fix marriage place/date values
	* src/Editors/_EditFamily.py: catch errors
	* src/DisplayTabs/_EmbeddedList.py: catch errors
	* src/plugins/FindDupes.py: catch errors
	* src/plugins/Verify.py: catch errors
	* src/AddMedia.py: fix scale_simple types
	* src/AutoComp.py: pylint fixes
	* src/ImgManip.py: pylint fixes
	* src/LdsUtils.py: new temple types
	* src/DbLoader.py: error types



svn: r8473
2007-05-15 04:17:12 +00:00
Brian Matherly
58b1e800ca Remove "parse_report_options_frame()" and "parse_other_frames()" from the report interface. They are not used.
svn: r8330
2007-03-28 03:17:13 +00:00
Brian Matherly
2151ad9780 Remove the "pagecount" option from the paper menu in the reports. It is not used.
svn: r8325
2007-03-27 12:04:07 +00:00
Brian Matherly
7593dbfe69 src/ReportBase/_ReportDialog.py: don't catch all exceptions - we won't get a traceback.
svn: r8291
2007-03-11 22:21:19 +00:00
Brian Matherly
5aa3a0f4b0 * src/BaseDoc.py:
* src/ReportBase/_CommandLineReport.py:
* src/ReportBase/_ReportDialgo.py:
* src/docgen/PdfDoc.py:
* src/docgen/OpenOfficeDoc.py:
* src/docgen/ODFDoc.py:
* src/docgen/RDFDoc.py:
* src/docgen/KwordDoc.py:
* src/docgen/PSDrawDoc.py:
* src/docgen/SvgDrawDoc.py:
* src/docgen/HtmlDoc.py:
* src/docgen/AbiWord2Doc.py:
* src/docgen/LaTeXDoc.py:
* src/plugins/BookReport.py:
Add PaperStyle to BaseDoc

svn: r8229
2007-02-24 21:15:21 +00:00
Brian Matherly
5b457e10bd * src/docgen/HtmlDoc.py: fix html template loading.
* src/ReportBase/_ReportDialog.py: fix html template loading.

svn: r8119
2007-02-15 03:14:03 +00:00
Brian Matherly
2461850cbc * src/ReportBase/_ReportDialog.py: 0000905: Typo in catching exceptions in buggy reports
svn: r8066
2007-02-07 03:59:43 +00:00
Don Allingham
a5676edc5f 2007-01-30 Don Allingham <don@gramps-project.org>
* src/ReportBase/_ReportDialog.py: error reporting
	* src/plugins/NarrativeWeb.py: error reporting

	* src/Filters/_SearchBar.py: numlock handling
	* src/Filters/SideBar/_SidebarFilter.py: numlock handling


svn: r8016
2007-01-31 00:02:15 +00:00
Brian Matherly
00765912ee src/ReportBase/_ReportDialog.py: 0000832: Please enable cm/inch toggle in custom size for relationship graph
svn: r7926
2007-01-18 03:05:26 +00:00
Don Allingham
5493631d19 2006-12-31 Don Allingham <don@gramps-project.org>
* src/ReportBase/_ReportDialog.py: add HELP button support
	* src/ReportBase/_BareReportDialog.py: add HELP button support
	* src/plugins/NarrativeWeb.py: add HELP button support



svn: r7862
2006-12-31 23:56:14 +00:00
Alex Roitman
72403bcdb5 2006-11-03 Alex Roitman <shura@gramps-project.org>
* configure.in: Bump up the version.
	* src/Editors/_EditLdsOrd.py (update_parent_label): Spurious
	translation.
	* src/DataViews/_RelationView.py (write_event_ref): Spurious
	translation.
	* src/ReportBase/_ReportDialog.py (get_header): Spurious
	translation.
	* RELEASE: version 2.2.2 is released.



svn: r7547
2006-11-03 17:05:24 +00:00
Alex Roitman
82f2d2d69d * src/ReportBase/_BareReportDialog.py (setup_title): Set name to
empty string if no person is available.
	* src/ReportBase/_ReportDialog.py (get_header): Make meaningful
	title for the header when name is empty.


svn: r7381
2006-10-10 00:09:24 +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
Don Allingham
60d21403a7 * src/ReportBase/_ReportDialog.py (report): catch IOError
svn: r6969
2006-06-27 05:12:21 +00:00
Alex Roitman
a734940c05 2006-06-24 Alex Roitman <shura@gramps-project.org>
* src/ReportBase/_ReportDialog.py (report): Handle wm closing.
	* src/plugins/GraphViz.py (GraphVizDialog.__init__): Handle wm
	closing. 
	* src/plugins/NarrativeWeb.py (WebReportDialog.__init__): Handle
	wm closing.



svn: r6964
2006-06-25 02:26:29 +00:00
Don Allingham
2f86415842 svn: r6903 2006-06-16 21:26:44 +00:00
Alex Roitman
c1c7e1359a * src/ReportBase/_ReportDialog.py (report): Use new report modules
for oddball reports.
	* src/plugins/GraphViz.py: Use new report modules.
	* src/plugins/NarrativeWeb.py: Use new report modules.
	* src/plugins/CountAncestors.py: Use wm and new report modules.
	* src/plugins/Summary.py: Use wm and new report modules.


svn: r6842
2006-06-02 00:40:54 +00:00
Alex Roitman
196ca399f2 Update
svn: r6834
2006-05-31 23:00:22 +00:00