Commit Graph

65 Commits

Author SHA1 Message Date
Jérôme Rapinat
c89daff4ae #2314: Detailed reports won't run - Reverted change r10874->r10873 #2289: Replace dict.has_keyx calls with x in dict
svn: r10976
2008-08-08 09:50:01 +00:00
Jérôme Rapinat
ef778d829f #2314: Detailed reports won't run - Reverted change r10874->r10873 #2289: Replace dict.has_keyx calls with x in dict
svn: r10973
2008-08-06 07:58:49 +00:00
Jérôme Rapinat
86e1a2f028 #2314: Detailed reports won't run - Reverted change r10874->r10873 #2289: Replace dict.has_keyx calls with x in dict
svn: r10969
2008-08-06 06:49:29 +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
Gerald Britton
4982292774 Code optimizations wrt handling of None - bug 2212
svn: r10811
2008-06-16 15:01:46 +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
c4024f91db Pylint updates for GraphvizReportDialog.
svn: r10625
2008-04-23 04:42:08 +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
Peter Landgren
afcac70792 Removal of debug print
svn: r10023
2008-02-13 08:39:18 +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
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
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
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
Stéphane Charette
55b9732662 new parms to GVDoc::add_link() and add_node()
svn: r9653
2007-12-31 07:33:19 +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
Doug Blank
f84b9c816c 2007-12-20 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/siblings.py: Quick Reports under construction...
	* src/Simple/_SimpleDoc.py: added table style defaults
	* src/Simple/__init__.py: added SimpleTable
	* src/BaseDoc.py: added doc.type = "standard"
	* src/docgen/TextBufDoc.py: added doc.type = "gtk"
	* src/Simple/_SimpleTable.py: new file defining table



svn: r9550
2007-12-21 00:18:39 +00:00
Brian Matherly
6af58e348b Various enhancements to the Graphviz report system. Added GVRelGraph.py - adapted GraphViz.py to use Graphviz report system.
svn: r9541
2007-12-20 06:26:38 +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
e0a79c5103 2007-09-25 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/glade/Makefile.am:
        * po/POTFILES.in:
        Add src/glade/paper_settings.glade.
        * src/BaseDoc.py: Fix $Revision$ svn property.


svn: r9004
2007-09-25 09:08:50 +00:00
Zsolt Foldvari
cd1d69fe12 2007-09-16 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/BaseDoc.py (PaperStyle): Allow custom margin setting in __init__.



svn: r8980
2007-09-16 10:56:01 +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
Alex Roitman
953f45ce51 2007-06-30 Alex Roitman <shura@gramps-project.org>
* src/ReportBase/_TemplateParser.py: Close file after parsing.
	* src/ReportBase/_ReportOptions.py (OptionListCollection.parse):
	Close file after parsing.
	* src/ReportBase/_PaperMenu.py: Close file after parsing.
	* src/plugins/BookReport.py (BookList.parse): Close file after parsing.
	* src/Filters/_FilterList.py (load): Close file after parsing.
	* src/BaseDoc.py (StyleSheetList.parse): Close file after parsing.



svn: r8687
2007-06-30 18:58:14 +00:00
Don Allingham
48c04f4798 2007-06-26 Don Allingham <don@gramps-project.org>
* src/Bookmarks.py: pylint
	* src/DateEdit.py: pylint
	* src/AutoComp.py: pylint
	* src/BaseDoc.py: pylint
	* src/DateHandler/_DateParser.py: pylint
	* src/DateHandler/_Date_fi.py: pylint
	* src/DateHandler/_DateUtils.py: pylint
	* src/DateHandler/__init__.py: pylint
	* src/DateHandler/_DateDisplay.py: pylint
	* src/DateHandler/_Date_fr.py: pylint
	* src/DateHandler/_Date_es.py: pylint
	* src/DateHandler/_Date_nl.py: pylint
	* src/DateHandler/_Date_sk.py: pylint
	* src/DateHandler/_DateHandler.py: pylint
	* src/DateHandler/_Date_lt.py: pylint
	* src/DateHandler/_Date_ru.py: pylint
	* src/DateHandler/_Date_sv.py: pylint
	* src/DateHandler/_Date_de.py: pylint



svn: r8675
2007-06-27 04:50:33 +00:00
Don Allingham
659814e22d 2007-05-19 Don Allingham <don@gramps-project.org>
* src/AutoComp.py: removal of unused functions
	* src/BaseDoc.py: clean up and add documentation



svn: r8497
2007-05-20 03:43:38 +00:00
Don Allingham
b884474407 svn: r8445 2007-05-08 04:35:14 +00:00
Don Allingham
87764d64c0 2007-05-07 Don Allingham <don@gramps-project.org>
* src/ReportBase/_SimpleDoc.py: add support for tabs
	* src/BaseDoc.py: add support for tabs	
	* src/docgen/TextBufDoc.py: add support for tabs



svn: r8443
2007-05-08 02:56:33 +00:00
Brian Matherly
d7423fff15 Divide BaseDoc into BaseDoc, TextDoc and DrawDoc. TextDoc and DrawDoc are abstract interfaces that must be implemented by the corresponding document generators.
svn: r8431
2007-04-30 01:56:34 +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
c71b782345 Remove "self.font" and "self.media_list" from the BaseDoc interface as they are only common to a couple of formats.
svn: r8342
2007-04-01 04:21:44 +00:00
Brian Matherly
d7d7ed340b * src/BaseDoc.py:
* src/docgen/PSDrawDoc.py:
* src/docgen/SvgDrawDoc.py:
* src/docgen/PdfDoc.py:
* src/docgen/OpenOfficeDoc.py:
* src/docgen/GtkPrint.py:
* src/docgen/LPRDoc.py:
* src/docgen/ODFDoc.py:
* src/plugins/StatisticsChart.py:
* src/plugins/Calendar.py:
* src/ReportBase/_ReportUtils.py:
Remove draw_bar function

svn: r8254
2007-02-27 04:10:43 +00:00
Brian Matherly
4b510b098c * src/BaseDoc.py:
* src/docgen/PSDrawDoc.py:
* src/docgen/SvgDrawDoc.py:
* src/docgen/PdfDoc.py:
* src/docgen/OpenOfficeDoc.py:
* src/docgen/GtkPrint.py:
* src/docgen/LPRDoc.py:
* src/docgen/ODFDoc.py:
* src/plugins/AncestorChart2.py:
* src/plugins/DescendChart.py:
* src/plugins/StatisticsChart.py:
* src/plugins/TimeLine.py:
Remove height and width from GraphicsStyle

svn: r8237
2007-02-25 21:53:38 +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
f53f1abc21 * src/ReportBase/_PaperMenu.py: rename PaperStyle to PaperSize
* src/docgen/HtmlDoc.py: rename PaperStyle to PaperSize
* src/BaseDoc.py: rename PaperStyle to PaperSize
* src/plugins/Calendar.py: don't use tmargin

svn: r8166
2007-02-19 04:13:41 +00:00
Brian Matherly
d5077d219a * src/docgen/PSDrawDoc.py: remove draw_wedge from BaseDoc
* src/ReportBase/_ReportUtils.py: remove draw_wedge from BaseDoc
* src/plugins/FanChart.py: remove draw_wedge from BaseDoc
* src/BaseDoc.py: remove draw_wedge from BaseDoc

svn: r8121
2007-02-15 04:07:53 +00:00
Brian Matherly
2a6e0cb197 Remove the write_at function. Use draw_text instead. Add center_text to SVGDoc
svn: r8089
2007-02-12 04:55:11 +00:00
Brian Matherly
92f4e58fc0 Remove unused functions from BaseDoc
svn: r8082
2007-02-11 03:51:43 +00:00
Don Allingham
736b549910 * src/ReportBase/_ReportOptions.py: (#877) escape XML constructs
* src/BaseDoc.py: escape XML constructs


svn: r8000
2007-01-28 05:08:49 +00:00
Don Allingham
10c75e48b6 * src/BaseDoc.py: save/load paragraph description (#850)
svn: r7945
2007-01-21 04:14:59 +00:00
Don Allingham
4bb46152db 2006-07-23 Manfred Paulus <manfred.paulus@gmx.de>
* src/BaseDoc.py: fix angle calculation
	* src/docgen/PSDrawDoc.py: fix angle calculation



svn: r7063
2006-07-23 23:16:21 +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
1d225c91db Add name keys for indexing in reports
svn: r6809
2006-05-29 02:52:14 +00:00
Don Allingham
a96333aa24 fix typo
svn: r6291
2006-04-08 00:53:44 +00:00
Don Allingham
ac9501eed4 Fix place selecton on LDS ords
svn: r6273
2006-04-05 21:30:27 +00:00
Don Allingham
6c0e2b86d6 handle to ref conversions
svn: r6239
2006-03-31 04:19:06 +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
0872a0d830 remove expanduser
svn: r6220
2006-03-29 04:46:26 +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
Don Allingham
389fa7263e scratchpad/drag-n-drop fixes
svn: r6194
2006-03-22 23:03:57 +00:00