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

178 Commits

Author SHA1 Message Date
Guillaume Ayoub
b7a9fe7dcc Update copyright 2019-03-04 11:04:06 +01:00
Guillaume Ayoub
0cc5478252 Fix imports for isort 2019-03-01 11:38:03 +01:00
Guillaume Ayoub
bdd45475b6 Clean a lot of things in API documentation 2019-02-22 11:34:46 +01:00
Guillaume Ayoub
03f01e37ee Update and add some docstrings 2019-02-21 17:34:56 +01:00
Guillaume Ayoub
de98470e02 Use pathlib for version 2019-02-06 18:23:41 +01:00
Guillaume Ayoub
48d4266b6d Fix API documentation of HTML and CSS classes 2019-01-23 00:12:01 +01:00
Guillaume Ayoub
3513e95b41 Use a separate logger for generation progress 2019-01-03 23:02:44 +01:00
Richard Eames
d27964b962
Close version file after reading using context manager
fix #746
2018-12-04 15:16:28 -07:00
Guillaume Ayoub
56904baa79 Use the same copyright line everywhere 2018-09-20 18:46:27 +02:00
Guillaume Ayoub
0fe79762fa Use setup.cfg instead of setup.py for package metadata 2018-08-23 18:20:36 +02:00
Guillaume Ayoub
1dbe26af01 Allow pathlib.Path objects for HTML, CSS and Attachment instances
Fix #622.
2018-08-21 16:17:00 +02:00
Guillaume Ayoub
dc8ce2fa74 Raise an error when using Python 2
Also remove non-ascii characters from __init__.py to actually get the error
when importing the module.

Fix #564.
2018-01-28 00:02:13 +01:00
Guillaume Ayoub
16e8186568 Drop Python 2 support 2018-01-14 01:48:17 +01:00
Guillaume Ayoub
5bb4815844 Version 0.42 2017-12-26 15:44:49 +01:00
Guillaume Ayoub
3fb6747f61 Explicitely test that page_rules is None to create a new empty list
Fix #520.
2017-10-06 16:20:23 +02:00
Guillaume Ayoub
bcb198d717 Version 0.41 2017-10-05 11:43:43 +02:00
Guillaume Ayoub
0c27e94468 Add a font_config parameter to various render methods
Fix #506.
2017-10-01 15:17:32 +02:00
Guillaume Ayoub
4990ad9465 Fix _select_sources again 2017-09-06 18:24:56 +02:00
Guillaume Ayoub
ae0a1987d7 Fix _select_source cleanup 2017-09-06 16:55:21 +02:00
Pacu2
6440e2572d Improve readibility 2017-08-25 11:01:37 +02:00
Guillaume Ayoub
fbcd088c51 Version 0.40. 2017-08-17 11:20:36 +02:00
Guillaume Ayoub
fcd6bf7070 Clean and document the logging levels
Related to #488.
2017-07-25 13:59:56 +02:00
Guillaume Ayoub
f856edb3b4 Log the document generation steps
Related to #488.
2017-07-25 13:58:18 +02:00
Guillaume Ayoub
a0dba07b67 Don't store base_url in ElementWrappers 2017-07-07 11:14:07 +02:00
Guillaume Ayoub
ba26fa34a9 Use ElementTree's elements as much as possible 2017-07-03 15:19:05 +02:00
Guillaume Ayoub
07190e2fd9 Don't test 'tree' as a possible HTML source 2017-06-30 22:58:33 +02:00
Guillaume Ayoub
0f6647194b Get rid of lxml 2017-06-30 22:48:47 +02:00
Guillaume Ayoub
f349f8b276 Make HTML inherit from cssselect2.ElementWrapper 2017-06-30 20:12:53 +02:00
Guillaume Ayoub
4a5fa84f9f Use cssselect2 instead of cssselect 2017-06-30 17:54:02 +02:00
Guillaume Ayoub
baa698f473 Version 0.39 2017-06-24 14:17:13 +02:00
Guillaume Ayoub
5b65283a22 Version 0.38 2017-06-16 11:35:42 +02:00
Guillaume Ayoub
3151b5518a Version 0.37. 2017-06-15 08:21:40 +02:00
Guillaume Ayoub
3677929a5b Add a documentation paragraph about the font_config attribute 2017-05-03 09:22:19 +02:00
Guillaume Ayoub
b53d9d3b1f Cut long lines, remove an old note 2017-04-29 10:41:53 +02:00
Hugh Secker-Walker
9376c95071 Fix typos and awkward grammar on Tutorial and API pages. 2017-04-28 14:36:14 -04:00
Simon Sapin
0aa62e249e Switch to tinycss2 2017-03-26 18:44:21 +02:00
Guillaume Ayoub
c1accaa58e Use warnings instead of logs to advertise about old libraries 2017-03-25 15:57:06 +01:00
Guillaume Ayoub
210b73820d Log to stderr only with CLI
Fix #412.
2017-03-24 23:12:04 +01:00
Guillaume Ayoub
e1d7d090e9 Version 0.36 2017-02-25 22:11:03 +01:00
Guillaume Ayoub
2fe75815d1 Version 0.35 2017-02-25 22:03:46 +01:00
Guillaume Ayoub
f53e8d05ed Version 0.34 2016-12-21 01:11:23 +01:00
Guillaume Ayoub
12c297d7e7 Honor the presentational_hints option for PDFs
Related to #398.
2016-12-06 08:07:58 +01:00
Guillaume Ayoub
2614c48afc Version 0.33 2016-11-28 21:20:38 +01:00
Guillaume Ayoub
8bdb827e38 Version 0.32 2016-11-17 17:03:43 +01:00
Guillaume Ayoub
23b33f4311 Remove extra comma 2016-10-28 17:44:09 +02:00
Guillaume Ayoub
d7b89dbb68 Clean the font config after rendering the document 2016-10-27 11:41:34 +02:00
Guillaume Ayoub
dfbe409ae0 WIP: Support @font-face 2016-09-26 12:15:12 +02:00
Guillaume Ayoub
97acf10fb6 Don't keep CSS.stylesheet 2016-09-24 15:47:50 +02:00
Guillaume Ayoub
140275ad1d Split rules and descriptors in CSS 2016-09-24 15:36:26 +02:00
Guillaume Ayoub
207694ac14 Use a stylesheet for some presentational hints 2016-08-31 22:33:26 +02:00