Commit Graph

44 Commits

Author SHA1 Message Date
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
Jérôme Rapinat
c4f062c473 allow translations for page counter on preview dialog
svn: r10531
2008-04-09 14:08:54 +00:00
Doug Blank
7b8ed5ded7 0001232: Preview now allows Print; no more PRINT_OPERATION failure
svn: r10426
2008-03-30 15:06:34 +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
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
Zsolt Foldvari
291ea85269 Fix zooming problem in print preview.
svn: r9044
2007-09-30 18:52:57 +00:00
Zsolt Foldvari
6736044628 CairoDoc.py, GtkPrint.py and PdfDoc.py cleanup.
svn: r9028
2007-09-28 21:57:08 +00:00
Zsolt Foldvari
374b8ac050 2007-09-27 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/GtkPrint.py (paperstyle_to_pagesetup): Fix paper name and
        custom size conversion.


svn: r9022
2007-09-27 19:55:43 +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
2eea9723b9 2007-09-17 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/ReportBase/_MenuOptions.py: Set SVN properties.
        * src/docgen/GtkPrint.py: Round up paper size values received from
        GtkContext.



svn: r8984
2007-09-17 12:36:03 +00:00
Zsolt Foldvari
6d95bf3eba 2007-09-13 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/GtkPrint.py:
	* src/docgen/CairoDoc.py:
	Separate Cairo based document generation to be used with other outputs.



svn: r8973
2007-09-13 19:22:32 +00:00
Zsolt Foldvari
461e3c73ea 2007-09-09 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/GtkPrint.py: Use font color from paragraph style.



svn: r8953
2007-09-09 18:05:54 +00:00
Zsolt Foldvari
bbb6217da1 2007-09-07 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/GtkPrint.py: Small fixes. Enable graphical reports.



svn: r8941
2007-09-07 11:53:12 +00:00
Zsolt Foldvari
76bd52f0b7 2007-09-07 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/GtkPrint.py: Getting close to something useful.



svn: r8936
2007-09-06 23:53:18 +00:00
Zsolt Foldvari
07583963eb 2007-09-06 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/GtkPrint.py: More work on graphical reports.
	* src/docgen/PdfDoc.py (PdfDoc.draw_box): Fix vertical pos. of shadow.



svn: r8934
2007-09-06 21:31:33 +00:00
Benny Malengier
4efde19846 * src/images/16x16/gramps-zoom-fit-width.png: delete
* src/images/22x22/gramps-zoom-fit-width.png:
	* src/images/22x22/gramps-zoom-in.png:
	* src/images/22x22/gramps-zoom-out.png:
	* src/images/22x22/gramps-zoom-best-fit.png:
	* src/images/48x48/gramps-zoom-fit-width.png:
	* src/images/48x48/gramps-zoom-out.png:
	* src/images/48x48/gramps-zoom-in.png:
	* src/images/48x48/gramps-zoom-best-fit.png:
	* src/images/scalable/gramps-zoom-best-fit.svg:
	* src/images/scalable/gramps-zoom-fit-width.svg:
	* src/images/scalable/gramps-zoom-out.svg:
	* src/images/scalable/gramps-zoom-in.svg:
	* src/gramps_main.py:
	* src/docgen/GtkPrint.py:
	GUI consistency, all preview scaling icons equal style. When Tango icons
	are finished for this, we will use those, now based on Gnome icons.

2007-09-06  Benny Malengier <benny.malengier@gramps-project.org> 


svn: r8933
2007-09-06 21:01:48 +00:00
Zsolt Foldvari
4821bc4dea 2007-09-05 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/GtkPrint.py: Some work on graphical reports.



svn: r8928
2007-09-05 15:08:22 +00:00
Zsolt Foldvari
079fb3358d 2007-09-03 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/gtkprintpreview.glade: Hide Print button for now.
	* src/docgen/GtkPrint.py: Print dialog comes back after Preview is
	finished. Print settings properly saved and reapplied.



svn: r8924
2007-09-03 11:53:57 +00:00
Zsolt Foldvari
f61dfea6f9 2007-09-01 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/GtkPrint.py: Debugging disabled.



svn: r8911
2007-09-01 10:07:14 +00:00
Zsolt Foldvari
1cac9ae4b7 2007-09-01 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/images/16x16/gramps-zoom-fit-width.png:
	* src/images/16x16/Makefile.am:
	* src/images/22x22/gramps-zoom-fit-width.png;
	* src/images/22x22/Makefile.am:
	* src/images/48x48/gramps-zoom-fit-width.png:
	* src/images/48x48/Makefile.am:
	* src/images/scalable/gramps-zoom-fit-width.svg:
	* src/images/scalable/Makefile.am:
	* src/gramps_main.py:
	'Zoom to fit width' stock icon added. (Please draw a better one!!!)
	* src/docgen/gtkprintpreview.glade: 
	* src/docgen/GtkPrint.py:
	Print preview is 99.999% complete.	



svn: r8909
2007-08-31 22:08:39 +00:00
Zsolt Foldvari
9bc24a3cad 2007-08-29 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/glade/printpreview.glade: Renamed and moved to src/docgen/
	* src/glade/Makefile.am: printpreview.glade removed.
	* src/docgen/gtkprintpreview.glade: Added.
	* src/docgen/Makefile.am: gtkprintpreview.glade added.
	* po/POTFILES.in: /src/docgen/gtkprintpreview.glade added.
	* src/docgen/GtkPrint.py: Preview is getting close to be complete.



svn: r8885
2007-08-28 22:28:58 +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
Zsolt Foldvari
a7c8cc9a5e 2007-08-20 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/GtkPrint.py (fontstyle_to_fontdescription): Fix font size.



svn: r8841
2007-08-20 13:54:04 +00:00
Zsolt Foldvari
62facd3f5c 2007-08-19 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/GtkPrint.py: Fix deprecation warnings.



svn: r8837
2007-08-19 08:22:38 +00:00
Zsolt Foldvari
93e9651b1b 2007-08-18 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/GtkPrint.py: Text report generation done.



svn: r8832
2007-08-18 18:23:18 +00:00
Zsolt Foldvari
679bbcc469 2007-08-17 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/GtkPrint.py: Text report generation is almost ready...



svn: r8827
2007-08-17 19:15:05 +00:00
Zsolt Foldvari
90a9e4bd29 2007-08-14 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/GtkPrint.py: Even more work in progress.



svn: r8817
2007-08-14 20:57:26 +00:00
Zsolt Foldvari
1efee294a7 2007-08-12 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/GtkPrint.py: More work in progress.



svn: r8813
2007-08-12 10:37:11 +00:00
Zsolt Foldvari
aaae97ca86 2007-08-11 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/GtkPrint.py: Work in progress.



svn: r8807
2007-08-10 23:14:12 +00:00
Zsolt Foldvari
b13baceed6 * src/Spell.py: (__sort_languages): typo
* src/docgen/GtkPrint.py (paperstyle_to_pagesetup): typo

2007-07-27  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r8779
2007-07-27 19:11:15 +00:00
Zsolt Foldvari
a033ed0856 2007-07-27 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/Spell.py: pylint
	* src/docgen/GtkPrint.py (paperstyle_to_pagesetup): fix conversion



svn: r8778
2007-07-27 10:24:09 +00:00
Zsolt Foldvari
7ce0cc4eef 2007-07-18 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/MarkupText.py: improved xml generator
	* src/docgen/GtkPrint.py: fix svn proplist



svn: r8740
2007-07-18 21:39:56 +00:00
Alex Roitman
41ca2a1090 * src/docgen/GtkPrint.py: Minor fix.
svn: r8685
2007-06-29 04:54:01 +00:00
Don Allingham
e05e6b4edd 2007-06-11 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: Improve backup strategy
	* src/GrampsDb/_GrampsDBDir.py: Improve backup strategy
	* src/DbManager.py: Improve backup strategy
	* src/glade/gramps.glade: Improve backup strategy
	* src/Errors.py: Improve backup strategy
	* src/GrampsDbUtils/_Backup.py: Improve backup strategy



svn: r8538
2007-06-12 04:29:15 +00:00
Don Allingham
9fd30ff3f9 2007-05-01 Don Allingham <don@gramps-project.org>
* src/ReportBase/_SimpleAccess.py: simplifed database access routines



svn: r8433
2007-05-02 04:05:41 +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
51d7922473 * src/docgen/GtkPrint.py: Fix 0000908: GtkPrint doesn't parse if you don't have pygtk version 2.10
svn: r8270
2007-03-06 03:01:43 +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
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
Richard Taylor
aa1a8d08a1 minor tweeks to gtkprint
svn: r7871
2007-01-05 16:36:44 +00:00
Richard Taylor
00cf9559b3 minor tweeks to gtkprint
svn: r7870
2007-01-05 16:10:08 +00:00
Richard Taylor
6054e6f7b9 Add initial stab at GtkPrint.
svn: r7869
2007-01-05 11:58:16 +00:00