4
********************************************************************************
5
"I would like to thank the people mentioned in brackets in this change log
6
very much for their help and support!" - Dirk
7
********************************************************************************
9
Version 3.0.32, 2009-05-08
11
- NEW: New command line option '--base' to specify base path if input comes
13
- FIX: The 'keep in frame' feature for tables did not work inside of static
14
frames (Arun Shanker Prasad)
17
Version 3.0.31, 2009-05-04
19
- NEW: Support for Style "list-style-image", also supports "zoom"
20
- NEW: Temporary files internally are written to disk if they exceed a certain size
21
- NEW: Font names can now also read from external URL
22
- UPD: Modified pdfjoiner.py demo
23
- FIX: Custom font image problem still appeared
24
- FIX: Single image in a block issue
25
- FIX: Randomly used wrong images is fixed using a workaround for the bug
26
in Reportlab _digester routine
27
- FIX: Empty tables error (Davide Moro)
28
- FIX: Fallback to urllib2 if httpdlib fails
30
Version 3.0.30, 2009-03-27
32
- NEW: Default CSS now hides content of <noscript>
33
- UPD: Better whitespace handling in RL Paragraph
34
- FIX: Fixed RL Paragraph.split to work with autoleading and images
35
- FIX: Small bug fix for show_error_as_pdf
36
- FIX: Demos used os.startfile which is not supported on non Windows OSes
37
- FIX: Table available height threw exceptions
38
- FIX: Switched from urllib2 to httplib for loading external sources
39
- FIX: Correct homepage and download page in setup.py
40
- FIX: Paragraphs in lists repeated the bullet
41
- FIX: Tables now support -pdf-keep-with-next
43
- FIX: Add missing table columns to avoid error in Reportlab table
44
- FIX: Fix for background images sizing
45
- FIX: Empty documents now create one blank page
46
- FIX: Imported fonts caused an error if used together with images
48
Version 3.0.29, 2008-12-01
50
- NEW: Warning if Reportlab 2.2 is not installed
51
- UPD: Better support for named colors
52
- UPD: Modifed frame handling to better support relative values
53
- FIX: Splitting paragraph threw errors some times; also had problems with
54
line breaks on the second page, fix for RL 2.2 paragraph was needed
55
- FIX: Added margins to <blockquote> default CSS
56
- FIX: Inline images in static frames did not work
57
- FIX: Link anchors and non internal fonts caused a strange error
59
Version 3.0.28, 2008-11-21
61
- NEW: Requires Reportlab 2.2 now!
62
- NEW: Background colors for inline elements like <span>
63
- NEW: Inline images and left and right aligned images implemented
64
- NEW: Possibility to handle table cells that are to large via CSS option
65
-pdf-keep-in-frame-mode
66
- NEW: Option "--system" for command line tool to dump system version infos
67
- NEW: CSS attribute -pdf-line-spacing for fix space between lines
68
- NEW: Creation and handling of data URI with base64 encoding (others to come)
69
- NEW: New general file loader that is also able to load remote data and data URI
70
- NEW: PDF Joiner to concatenate many PDF and pisa documents
71
- NEW: Page backgrounds can now be images or PDF
72
- NEW: Visual Unittests based on ImageMagick and TortoiseIDiff (for Windows)
73
- NEW: Pisa raises execptions now if errors occure; with
74
pisaDocument(..., raise_execeptions=False) you can turn them off
75
- UPD: Paragraphs now use the maximum leading to avoid overlapping text
76
- UPD: Removed "Keep with next" from H1 to H6
77
- FIX: Sizing of images is now handled better; should better work with PIL
78
- FIX: Border handling of paragraphs optimized and fixed
79
- FIX: Images that are higher than the page frame are scaled down to fit
80
- FIX: Paragraphs only containing are rendered
81
- FIX: Problem regarding the order of border style definitions
82
- FIX: Single <br> between two blocks now creates a new line
83
- FIX: Set table attribute "repeat" to "0"
84
- FIX: Some <font> attributes did not work as expected
85
- FIX: Font sizes reworked to behave like browser implmentations
86
- FIX: Like in most HTML browser table cells now have "valign=middle" and
87
table headers have font weight bold
88
- FIX: Little fix in CSS parsing
89
- FIX: Default of <link media=""> was "screen", changed to "all"
90
- FIX: Command line tools did not install with "easy_install"
92
Version 3.0.27, 2008-10-04
94
- INF: License changed from Qt to GPLv2
95
- INF: Not yet completely combatible with Reportlab 2.2 ( errors and borders)
96
- NEW: Command line tool called "xhtml" ("pisa" still available but will
97
be deprecatedwith pisa 3.1)
98
- NEW: EGG for Python 2.6
99
- NEW: Basic support for Data URI
100
- NEW: New style -pdf-keep-with-next (does not work with pdf:toc for now)
101
- UPD: Setup now exclusively works with SetupTools
103
Version 3.0.26, 2008-08-28
105
- FIX: Python <2.5 didn't work because of a syntax error
107
Version 3.0.25, 2008-08-15
109
- UPD: Made imports more explicit to avoid import recursions
110
- FIX: <pdf:pagenumber/> didn't work in tables (Roman Lisagor)
111
- FIX: Images without suffixes have been ignored by pisa (Henning von Bargen)
112
- INF: Preparations for support of HTML FORM using INPUT, TEXTAREA, SELECT
114
Version 3.0.24, 2008-07-14
116
- NEW: Support for separate borders on each side of a paragraph has
117
been added (Robin Dunn)
118
- NEW: Support for font tag (color, face, size)
119
- UPD: Handling of margin and padding in paragraphs is improved (Robin Dunn)
120
- UPD: Updated documentation (CreatePDF, Images)
121
- FIX: A typo in margin-left has been fixed (Robin Dunn)
123
Version 3.0.23, 2008-06-26
125
- UPD: getColor() now understands colors like rgb(255,0,0) (Darryl Dixon)
126
- FIX: c.warning threw errors if no arguments where passed (Searle)
127
- FIX: pisa now works with html5lib 0.11.1
128
http://code.google.com/p/html5lib/issues/detail?id=74
130
Version 3.0.22, 2008-06-06
132
- UPD: Updated documentation
133
- UPD: Speed optimizations by removing copy.deepcopy (Darryl Dixon)
134
- FIX: Small fix in CSS parser
136
Version 3.0.21, 2008-06-05
138
- FIX: Used a parameter for html5lib that was not supported by html5lib 0.10
139
- FIX: Now tested against the latest third party packages:
144
Version 3.0.20, 2008-06-02
146
- NEW: New parameter "encoding" to explicitly set an encoding for the source data
147
- UPD: Added a programming example to documentation
148
- FIX: If a Unicode string is passed it will automatically be converted to UTF8
149
- FIX: Fixes for Google AppEngine support
150
- FIX: If possible cStringIO will be used instead of StringIO
151
- FIX: An exception in psaDocument was not handled the right way because
152
a context object was expected
154
Version 3.0.19, 2008-05-31
156
- NEW: Support for Google AppEngine
157
- NEW: Support for page break before and after [not yet tested] (Luka Frelih)
158
- UPD: Reworked parts of the documentation but not yet completed
159
- UPD: Optimized the command line tool "pisa"
160
- FIX: TOC bugs regarding entities and additional tags inside the TOC
161
entry definitions (Luka Frelih)
162
- FIX: Default logging didn't work with Python<2.5 (Anders J. Munch)
163
- FIX: StringIO is used instead of cStringIO to avoid encoding problems
164
like the ones we had with GoogleAppEngine
166
Version 3.0.18, 2008-04-19
168
- WIN: Updated the windows command line version
169
- NEW: WSGI support and demo
170
- NEW: Added simple ASPN Cookbook example
171
- UPD: Unified setup.py and setup_egg.py (Andreas Gabriel)
172
- UPD: Better handling of XML and HTML parsing
173
- UPD: Cleanup of Django sample
174
- UPD: Cleanup of command line tool options
175
- UPD: Command line tool doesn't stop batch if error occurred any more
176
- FIX: 'style' attribute was not evaluated!
177
- FIX: If a string was passed to pisaDocument it had been converted to StringIO,
178
which was not necessary
179
- FIX: c.addPara(force=True) works again e.g. for forcing empty pages
180
- FIX: Better handling of CDATA and Comments
181
- FIX: Better handling of
182
- FIX: Removed rsplit() for backward compatibility with Python 2.3
183
- FIX: Handling of inconsistent HTML anchors
184
- FIX: TurboGears Demo
186
Version 3.0.17, 2008-03-23
188
- NEW: Added CSS support for TOC and updated documentation (Jean Baltus)
189
- UPD: Added "render_to_pdf" to Django demo (Diego Firmenich)
190
- UPD: Did some refactoring to make CSS parsing more flexible
191
- UPD: Removed log.exception for warnings
192
- FIX: Empty entries in TOC (Jean Baltus)
193
- FIX: Use correct font for <li> now (reported by Gabor Farkas)
195
Version 3.0.16, 2008-03-16
197
- Did some researches about support for languages like Farsi, Arabic and Asian
198
languages. The dir='rtl' feature seems to be quite time intensive to be
199
implemented, maybe I will do it in a later version or on request
200
- Switched back to HTML parsing by default, but use of XHTML is recommended. Use
201
the option "xhtml" in pisaDocument or "-x" in the command line tool
202
- Added a decorator for use in Turbogears and CherryPy
203
- Completely switched to Python logging system
204
- Created a separate download for the fonts in the "test" directory to
205
reduce the size of the package
206
- Just use multiBuild if needed e.g. using pdf:toc
207
- Bugfix: @font-face threw always a warning about font-weight
208
- Bugfix: List points have to be always in "Helvetica" (Gabor Farkas)
209
- Bugfix: Obligatory attributes for tag had not been handle the right way
210
- Bugfix: Marked some old tag based functionalities like pdf:font, pdf:frame and
211
pdf:template as deprecated
213
Version 3.0.15, 2008-03-13
215
- Added new package and namespace "ho". With pisa 3.1. we will move away form "sx"
216
- Added version testing (2.1) for Reportlab Toolkit (Diego Firmenich)
217
- Added new command <pdf:toc> for support of table of contents, stiling per CSS
218
has not been implemented yet (Jean Baltus)
219
- Added simple barcode support via command <pdf:barcode> (Diego Firmenich)
220
- Added Python logging. Name of logger "ho.pisa" and "ho.css". Set debugging
221
level in command line tool by using "-d" for debugging and "-w" for warnings
222
- Added complete support for CSS "font"
223
- Modified the version handling and setup system for pisa distributions (had to
224
do with the import errors that where not thrown, reported by Schmitte)
225
- Updated documentation and added a CSS for HTML version
226
- Bugfix: CSS "background" URL handling was broken (Luis Bruno)
227
- Bugfix: CSS "border" now works more standard conform
228
- Bugfix for compatibility problems with Python 2.3 because of reversed() function
229
- Bugfix: No exception was thrown if a third party module was missing (Kai Schmitte)
230
- Bugfix: Changed HTML5 parser from HTMLParser to XHTMLParser so that the
231
custom tags of the "pdf" namespace are handled like expected
232
- Bugfix: Switched from urllib to urllib2 because status errors (like 404) where
233
not handled (Kees Hink)
234
- A lot of smaller bugfixes and testings
236
Version 3.0.14, 2008-02-13
238
- Added a sample for Unicode support in exotic languages like "farsi" using
239
DejaSans font (Adam Hyde)
240
- Command line tool generation integrated into setup.py (Andreas Gabriel)
241
- Bugfix if no path had been set to pisaDocument()
242
- Bugfix for calculating @frame dimensions
243
- Bugfix: CSS comments like "//" where allowed (Andreas Gabriel)
245
Version 3.0.13, 2008-01-22
247
- Added a demo using cherrypy web server and kid
248
- Added a demo using django framework
249
- Modified test-background.html to work with CSS
250
- Added suport for bold and italic TTF fonts to the @font-face
251
CSS section (Robert Klep)
252
- Added suport for bold and italic Postscript fonts to the @font-face CSS section
253
- The @-rules are not need a trailing space after ident any more (Robert Klep)
254
- Fixed the Windows standalone version to work
255
- Made the 'sx' folder more sharable by modifying __init__.py
256
- Changed font-weight so that only values starting with '400'are
257
considered 'bold' (Robert Klep)
258
- Added "text-indent" style (Robert Klep)
259
- Added "-pdf-keep-with-next" style to avoid page break between
260
certain elements (Robert Klep)
261
- Added "-pdf-outline", "-pdf-outline-level" and "-pdf-outline-open" styles to
262
create PDF bookmarks. Per default this is defined for
263
the tags H1 to H6 (Robert Klep)
264
- New option to overwrite the default CSS definitions of pisa
265
- New command line options --css
266
- New command line options --css-dump to get the default CSS definitions.
267
A dump of the recent CSS default may also be found in test/default.css
269
- Added EGG installation file support
271
Version 3.0.12, 2008-01-09
273
- Moved SVN repository to Holtwick
274
- Modified copyright notes and links to http://www.htmltopdf.org/
275
- Added new table attributes "border", "bordercolor", "cellpadding"
276
- Added support for
278
Version 3.0.11, 2007-11-13
280
- New example for loading a page form the web via Python
281
- New example "test-invoice.html"
282
- Added support for "align" attribute to <td> and <th>
283
- Fixed that more than one static frame can use the same named element
284
- Added -pdf-next-page to specify next page template
285
- Added -pdf-frame-break: after, before
286
- Fixed bug for @page without declarations
287
- Added option for output of errors as PDF (e.g. useful in web applications)
288
- Set "producer" to "pisa"
289
- Set author, subject and keywords with <meta>
291
Version 3.0.10, 2007-11-02
293
- Fixed some problems with wrong @page and @frame definitions
294
- New property -pdf-frame-box
295
- Implemented a pre parser for CSS that cleans up the code with some
296
regular expression, like stripping illegal url(http://...)
297
- Improved online demo
298
- First release of binary Windows command line version or pisa
299
- Fixed some issues with named anchors
300
- Empty documents are now delivered correctly
301
- Fixed error on list types
302
- Fixed problem with debugging infos
304
Version 3.0.9, 2007-10-31
306
- Modified setup.py for Chesse Shop
307
- Added bdist_wininst to setup
308
- Moved w3c into sx package and added license text
309
- Modified simple.py demo script
310
- Clean up for first public release
312
Version 3.0.8, 2007-10-31
314
- Added <a name> and a bugfix for ReportLab anchors
316
- More documentation about fonts and new font aliases
317
- Fixed some bugs in tables
318
- <hr> now uses ReportLabs implementation
319
- Margin collapse by using spaceBefore and spaceAfter
320
- Renamed -pdf-page-size to size (CSS3)
322
Version 3.0.7, 2007-10-30
324
- Static frames in @frame
325
- Wrote layout section in documentation
326
- Updated the documentation CSS
327
- Renamed @box to @frame
328
- Added -pdf-page-size and -pdf-page-orientation
329
- Added @page and @box
330
- Fixed some problems with font definitions and Unicode
331
- Font "Times" does not exist, changed default to "Times-Roman"
332
- Margins, paddings and borders are only applied in display:block elements
334
Version 3.0.6, 2007-10-29
336
- Implemented @font-face
337
- "font-family" can now handle comma separated font names
338
- Implemented <pdf:font> for embedding TTF and PS fonts
339
- <link> looks for rel="stylesheet"
340
- Style "white-space" and support for PRE
341
- Nested lists and ordered lists, Style "list-style-type"
342
- Prepared parser for @page and @box
344
Version 3.0.5, 2007-10-25
346
- Initial implementation of @font-face
347
- Warnings are only shown if flag -w is set
348
- Relative @import implementations
349
- Workaround for styles beginning with asterics like "*font: small"
350
- Support for color=transparent (threw Exceptions before)
351
- For @import with now media, is now set media=all
352
- Fixed the .1 CSS parser problem
353
- Removed cssutils again because of problems with @import
354
- Ignore CDATA in style definitions
355
- New method c.debug and command line option --debug
357
- CSS attributes may now start with hyphen for vendor
358
specific styles e.g. "-pdf-page-break"
359
- Implemented @import
361
- Images are now recalculated to 96DPI too
362
- 1px = 1/96inch (96dpi) instead of 1px = 1pt = 1/72inch
363
- Added some new tests like test-css-media.html
367
- Initial versions of pisa rewrite