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

191 Commits

Author SHA1 Message Date
Simon Sapin
fc2fdb622c Add get_png_pages to the public API 2012-06-21 11:33:19 +02:00
Simon Sapin
a83ff7b0ee Fix #772: Use redirected URLs as base URLs 2012-06-14 22:08:34 +02:00
Simon Sapin
61c335766a Next is 0.10 2012-06-06 11:21:06 +02:00
Simon Sapin
4ec6757077 Tag v0.9 2012-06-04 18:57:50 +02:00
Simon Sapin
4f4c99e35c Remove unused imports. 2012-05-31 14:41:01 +02:00
Simon Sapin
b7cf69dc66 Download HTML URLs with the same mechanism as everything else.
Previously we passed the URLs to lxml.
lxml does not support as many protocols, and did not send
any User-Agent HTTP header.
2012-05-31 14:38:34 +02:00
Simon Sapin
76430b5269 Also accept a parsed lxml tree for the HTML class. 2012-05-24 17:41:05 +02:00
Simon Sapin
d694a98350 Rename the utils module to 'urls' 2012-05-23 15:13:57 +02:00
Simon Sapin
b6ea3821b8 Remove unused imports 2012-05-22 16:34:41 +02:00
Simon Sapin
61dc177573 Refactor the PNG/PDF differences into a new 'backends' module. 2012-05-22 16:19:09 +02:00
Simon Sapin
d7676f8081 Test hyperlinks, fix internal hyperlink parsing. 2012-05-21 18:43:08 +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
e1040a8d66 Next is 0.9 2012-05-07 18:32:07 +02:00
Simon Sapin
2435e50a48 Tag v0.8 2012-05-07 18:31:33 +02:00
Simon Sapin
fb37336f7a Catch up with tinycss changes. 2012-03-28 18:42:47 +02:00
Simon Sapin
1446fccb33 Also pre-proccess @import and @media 2012-03-25 01:41:02 +01:00
Simon Sapin
52b6124e2e Pre-process stylesheet (do validation just after parsing) 2012-03-25 00:39:41 +01:00
Simon Sapin
b78f939ee7 Remove remaining references to cssutils. 2012-03-24 22:10:38 +01:00
Simon Sapin
96feb96574 Switch from cssutils to tinycss as the CSS parser 2012-03-24 21:32:15 +01:00
Simon Sapin
58f3d2a1ac Merge branch 'v0.7.x' 2012-03-21 23:27:38 +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
e40067102c Next is 0.8 2012-03-21 19:03:05 +01:00
Simon Sapin
d7843b2231 Tag v0.7 2012-03-21 19:01:28 +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
248e843a40 Port fireweasy to the new API 2012-03-15 20:00:23 +01:00
Simon Sapin
45f7751600 Next is 0.7 2012-02-29 20:47:10 +01:00
Simon Sapin
8466ffe065 Tag v0.6 2012-02-29 20:41:48 +01:00
Simon Sapin
90d8bd459f Normalize case for --format Pdf 2012-02-29 20:17:44 +01:00
Simon Sapin
82e52815fa Allow a file object as a positional argument in the API. 2012-02-27 15:59:26 +01:00
Simon Sapin
555ccbbd4f Port the W3 test runners to the new API. 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
Simon Sapin
d5ee2ea509 Use the testing UA stylesheet in test_api.py 2012-02-16 18:52:36 +01:00
Simon Sapin
38d687fa91 Nicer message on HTML parse error 2012-02-16 18:27:30 +01:00
Simon Sapin
af9c3e961e Test rendering with the Python API. 2012-02-16 14:42:08 +01:00
Simon Sapin
cfb7bf4608 Take a base_url from file().name 2012-02-16 13:40:29 +01:00
Simon Sapin
6f9d5c068a Fix CSS(url=foo, base_url=bar) 2012-02-16 13:40:08 +01:00
Simon Sapin
7e728af99e Ooops 2012-02-15 19:01:09 +01:00
Simon Sapin
9cd1ac746d *Break the API*
The new API should be easier to use. Only what is directly
in the 'weasyprint' module (not in a sub-module) is public.
2012-02-15 18:49:37 +01:00
Simon Sapin
cf52aa3aaf Move the whole 'weasy' package to 'weasyprint' 2012-02-14 12:49:33 +01:00