1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-05 00:21:15 +03:00
Commit Graph

35 Commits

Author SHA1 Message Date
Simon Sapin
830598c30b Merge branch 'pdf-attachments' from PR #177 2014-04-27 17:56:02 +01:00
Simon Sapin
09b2a4def0 Correctly close StreamingGzipFile, and log this kind of error
… rather than silence them. Logs make tests fail.
2014-04-27 11:00:02 +01:00
Colin Leitner
2be5945864 Replaced urlopen_contenttype with urllib_get_content_type, urllib_get_charset and urllib_get_filename. 2014-04-23 16:24:14 +02:00
Colin Leitner
b7a5c46626 Moved the UTF-8 decoding logic from compat.py to pdf.py, where it's actually necessary to special case the unquoted result 2014-04-22 21:48:11 +02:00
Simon Sapin
a4dbe241dc Add link to the Python bug for gzip streaming. 2014-04-21 23:58:37 +01:00
Simon Sapin
9404375d3e Fix #86: Support gzip and deflate encoding in HTTP responses 2014-04-21 23:52:58 +01:00
Colin Leitner
e458380190 Added support for PDF attachments (v2) 2014-04-04 12:32:21 +02:00
Simon Sapin
c34221d215 2014. 2014-01-10 14:27:02 +00:00
Simon Sapin
1d1bf9cdc9 Flake8. 2013-04-11 12:08:53 +02:00
Simon Sapin
171438f48e 2013 2013-04-03 16:23:48 +02:00
Simon Sapin
4290b55d71 Remove a zip() pathologically slow on Py2.6
The Acid2 test used to take ~14 seconds on 2.6 vs. ~3 seconds in other
versions. Most of that time was in a zip() creating a list of millions
of tuples (one for each pixels.)

Switching to izip() removed the problem.
2012-07-31 18:13:25 +02:00
Simon Sapin
a34fd1a616 Remove a deprecation warning. 2012-07-29 18:38:59 +02:00
Simon Sapin
a0cf7c7617 Test url_fetcher, make it work on stylesheets 2012-07-13 13:21:59 +02:00
Guillaume Ayoub
19d0a6aff5 Merge branch 'master' into float 2012-06-25 23:55:54 +02:00
Simon Sapin
6eee86dadf Fix Navigator tests on Py2.6 2012-06-25 16:09:40 +02:00
Guillaume Ayoub
f15cb85d1d Merge branch 'master' into float 2012-06-25 12:48:11 +02:00
Simon Sapin
c2375d2f5c Do not require JavaScript in Navigator
And other niceties.
2012-06-25 10:57:38 +02:00
Guillaume Ayoub
7cc8be2f90 Merge branch 'master' into float
Conflicts:
	weasyprint/layout/blocks.py
2012-06-20 13:47:28 +02:00
Simon Sapin
d4399ee269 Add support for page-break-{before,after}: avoid 2012-06-20 12:53:22 +02:00
Guillaume Ayoub
d71ad36580 Merge branch 'master' into float 2012-06-19 14:53:40 +02:00
Simon Sapin
a83ff7b0ee Fix #772: Use redirected URLs as base URLs 2012-06-14 22:08:34 +02:00
Simon Sapin
d4409e8f46 Add the Acid2 test (marked as expected failure). 2012-06-05 13:52:57 +02:00
Simon Sapin
972045c63f Accept both unicode and bytes filenames. 2012-06-02 08:04:24 +02:00
Simon Sapin
b6ea3821b8 Remove unused imports 2012-05-22 16:34:41 +02:00
Simon Sapin
d7676f8081 Test hyperlinks, fix internal hyperlink parsing. 2012-05-21 18:43:08 +02:00
Simon Sapin
1ea79c9e9e Fix importing urllib.quote on Py 2.x 2012-05-15 18:16:25 +02:00
Simon Sapin
1ff949b888 Have the PDF post-process run on Python3 (links are broken) 2012-05-15 13:40:36 +02:00
Simon Sapin
96feb96574 Switch from cssutils to tinycss as the CSS parser 2012-03-24 21:32:15 +01:00
Simon Sapin
dcacf9eed0 Switch the licence to BSD and rewrite module docstrings/headers 2012-03-21 23:26:58 +01:00
Simon Sapin
26de362b99 Add proper attribution in AUTHORS 2012-03-21 18:40:38 +01:00
Simon Sapin
9875f76995 Hello 2012 2012-03-21 18:40:38 +01:00
Simon Sapin
e6cee2f2ab Put block-level images on the next page when they would overflow. 2012-02-29 12:23:25 +01:00
Simon Sapin
ceb8d749f8 Fix stdio monkey-patching on Python 3. 2012-02-23 19:31:15 +01:00
Simon Sapin
f0e79cf99a Cleanups 2012-02-23 19:31:15 +01:00
Simon Sapin
ff135aa285 Python 3 compat. All tests pass with the same code base! 2012-02-17 22:48:20 +01:00