Doug Blank
25830e2325
Added missing has_data interface for QuickViews
...
svn: r17124
2011-04-15 15:50:38 +00:00
Gerald Britton
da1abaa31d
Optimize by replacing multiple calls to .write methods with one call where possible
...
svn: r15558
2010-06-11 14:29:44 +00:00
Gerald Britton
1f2469b09f
Simplify with built-in functions where possible. e.g.
...
change [x for x in y if x] to filter(None, y)
change [f(x) for x in y] to map(f, x)
change [x for x in y] to list(y)
These changes reduce source code size and complexity and produce some minor performance gains
svn: r14104
2010-01-21 18:42:53 +00:00
Brian Matherly
f04880ec09
Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time.
...
svn: r14091
2010-01-18 04:42:17 +00:00
Brian Matherly
3f4c9b31ed
Remove unused "SpreadSheet" document generators.
...
svn: r13942
2009-12-29 19:38:07 +00:00
Brian Matherly
c2d99c34b3
Clean up someone's copy-paste errors.
...
svn: r13941
2009-12-29 19:28:40 +00:00
Gerald Britton
941fff23ae
Tweaks to use inplace arithmetic
...
svn: r13191
2009-09-10 18:49:48 +00:00
Gerald Britton
fdfacd972c
Minor tweaks to use slices instead of lists of items
...
svn: r12705
2009-06-25 13:41:16 +00:00
Benny Malengier
a177da80b0
2707: Add markup notes to html output
...
Part 2: enable css, clean up code.
TODO: better output, support in default css files, test
svn: r12644
2009-06-08 23:19:37 +00:00
Benny Malengier
fb3ec68c6a
part 3 : split basedoc in files, remove Utils dependance, move fontscale in gen,
...
update build system
svn: r12603
2009-05-31 14:59:56 +00:00
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
5eb7e18dc6
Bug 3018: ImportGrdb: remove calls to keys() dictionary method where possible
...
svn: r12572
2009-05-26 20:48:09 +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
Rob G. Healey
f84804150f
Added more files that Brian had previously listed.
...
svn: r12109
2009-02-24 08:42:25 +00:00
Brian Matherly
3f95d8ddb7
Plugins Restructure: Move docgen plugins into plugins/docgen.
...
svn: r11652
2009-01-18 04:59:14 +00:00
Doug Blank
6244a0c033
Added a Gramplet that can run a Quick View
...
svn: r11466
2008-12-13 16:59:14 +00:00
Benny Malengier
4bf3182972
002503: Change md5 module by hashlib.
...
Fallback to md5 on importerror (python 2.4 users)
svn: r11420
2008-12-04 21:44:12 +00:00
Jérôme Rapinat
d57f55389d
2499: Using quotes for font-weight (bold) and font-style (italic) on Style Editor will generate a not well formed SVG file
...
svn: r11302
2008-11-15 10:16:31 +00:00
Benny Malengier
4fdec00c90
#2454 Johan Vromans <jvromans AT squirrel DOT nl>, HtmlDoc crashes when template
...
does not have <TITLE> elements
svn: r11189
2008-10-23 13:29:51 +00:00
Peter Landgren
8783bd8dbf
Fix of issue #2449
...
svn: r11183
2008-10-21 20:05:11 +00:00
Konstantin Dorichev
0882ffa8c2
A typo in LaTeX fixed.
...
svn: r11152
2008-10-16 12:57:09 +00:00
Brian Matherly
9c364490ce
Move PluginUtils/_PluginMgr.py to gen/plug/_manager.py. Now, instead of "from PluginUtils import PluginManager", use "from gen.plug import PluginManager".
...
svn: r11100
2008-10-02 04:02:10 +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
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
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
Brian Matherly
a79a82faf5
0001945: Book report, title page, adding a image - do not work when output is ODF
...
svn: r10493
2008-04-06 03:41:22 +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
7579825843
0001986: export view to CSV --> does not add .csv filetype ending to file
...
svn: r10407
2008-03-28 07:36:17 +00:00
Brian Matherly
c247caa5e9
0001917: UI font gets small when creating PDF documents.
...
svn: r10233
2008-03-09 03:33:11 +00:00
Doug Blank
a32cd288f0
2008-03-05 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/docgen/TextBufDoc.py: fixed translations of Quick View
* src/plugins/References.py: fixed translations of ref types
svn: r10194
2008-03-05 12:02:22 +00:00
Doug Blank
bfa0ec0853
2008-03-04 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/docgen/HtmlDoc.py (HtmlDoc.page_break):
Fixed indentation issue
svn: r10187
2008-03-04 23:23:08 +00:00
Peter Landgren
5cb9cdebcc
Issues #1875 and #1879
...
svn: r10184
2008-03-04 19:47:52 +00:00
Brian Matherly
afa4d05227
0001882: Reports->Text Reports->Kinship Report output to "Text buffer" causes an error
...
No longer use Text Buffer for reports because TextBufDoc does not conform to the report interface.
svn: r10175
2008-03-03 04:19:45 +00:00
Brian Matherly
af21e396d9
Fix page_break() in AsciiDoc
...
svn: r10112
2008-02-24 23:21:19 +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
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
de5edf9f29
2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/DataViews/PersonView.py
* src/ViewManager.py
* src/GrampsCfg.py
* src/plugins/WriteCD.py
* src/plugins/FindDupes.py
* src/Merge/_MergePerson.py
* src/DbManager.py
* src/ArgHandler.py
* src/docgen/HtmlDoc.py
* src/DbLoader.py
use from QuestionDialog import ErrorDialog etc to bring in line with
rest of gramps
* src/Editors/_EditPrimary.py: EditPrimary._uses_duplicate_id() check
for duplicates and give error dialog if id is already used. #0001347
* src/Editors/_EditFamily.py: EditFamily.__do_save(), add call to
_uses_duplicate_id(). #0001347
svn: r10046
2008-02-18 10:09:50 +00:00
Brian Matherly
bccd2fc07d
Escape characters in image names for ODF output.
...
svn: r9961
2008-01-30 05:11:44 +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
Brian Matherly
7e56dfb1c7
0001321: Ancester Graph SVG Export dosn't show text
...
svn: r9899
2008-01-21 04:22:51 +00:00
Raphael Ackermann
ca3f6a935b
2008-01-15 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/docgen/Makefile.am: added line to copy gtkprintpreview.glade
on distcheck.
svn: r9832
2008-01-16 06:45:28 +00:00
Brian Matherly
5d70be92d4
0001541: Box size too small - Descendant Chart
...
svn: r9773
2008-01-10 04:00:41 +00:00
Raphael Ackermann
204accb85b
fixed previously changed import
...
svn: r9765
2008-01-09 16:16:47 +00:00
Raphael Ackermann
7ebbb7825e
tabs and spaces fix
...
svn: r9754
2008-01-08 20:13:16 +00:00
Raphael Ackermann
db5f123fd0
2008-01-07 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/docgen/ODFDoc.py: remove duplicate import
* src/docgen/LaTeXDoc.py :added support for opening latex editor
0001536: not possible to select latex editor like kile to open a latex file
automatically
svn: r9738
2008-01-07 08:04:45 +00:00
Jérôme Rapinat
248e96dff8
2008-01-06 Jerome Rapinat <romjerome@yahoo.fr>
...
* src/docgen/Makefile.am: gtkprintpreview.glade was not pasted on install
svn: r9724
2008-01-06 13:14:25 +00:00
Benny Malengier
d003fd55a7
2008-01-06 Benny Malengier <benny.malengier@gramps-project.org>
...
Raphael Ackermann <raphael.ackermann@gmail.com>
* src/docgen/LaTeXDoc.py: wrong indent on write, bug #1506
svn: r9718
2008-01-06 08:58:27 +00:00