Guillaume Ayoub
b8a5d118a8
Version 56.0b1
2022-06-17 11:50:32 +02:00
Guillaume Ayoub
3211163f8c
Add and fix tests for custom metadata
2022-05-27 11:26:24 +02:00
Guillaume Ayoub
bff1dd5b22
Add option to set PDF version
...
Related to #1131 .
2022-05-27 11:26:24 +02:00
Guillaume Ayoub
deda575a4e
Add options for PDF/A generation
...
Fix #630 .
2022-05-27 11:26:24 +02:00
Guillaume Ayoub
37bb6b5172
Merge branch '55.x'
2022-05-12 19:07:08 +02:00
Guillaume Ayoub
a1b5e51330
Version 55.0
2022-05-12 18:51:04 +02:00
Guillaume Ayoub
a4d52533ec
Add and improve tests for the "html" module
2022-05-05 15:47:43 +02:00
Guillaume Ayoub
1e4fde4ee0
Clean font management
2022-04-19 00:01:50 +02:00
Guillaume Ayoub
e9987fdbd7
Version 55.0b1
2022-04-15 17:03:51 +02:00
Guillaume Ayoub
4117caa4b7
Merge branch '54.x'
2022-04-14 17:09:36 +02:00
Guillaume Ayoub
2adfe066bd
Version 54.3
2022-04-04 16:21:34 +02:00
Guillaume Ayoub
50922b7ad4
Remove "versionadded" comments
2022-03-19 17:47:33 +01:00
Guillaume Ayoub
7034d67e07
Merge branch '54.x'
2022-03-02 21:07:31 +01:00
Guillaume Ayoub
0320c4fbee
Version 54.2
2022-02-27 17:50:52 +01:00
Guillaume Ayoub
e17e5368f7
Update and clean docstrings.
2022-02-14 07:11:30 +01:00
Guillaume Ayoub
e8690bd246
Allow Path in path2url
2022-02-14 05:59:23 +01:00
Guillaume Ayoub
7882ff1a25
Version 54.1
2022-01-31 19:47:15 +01:00
Guillaume Ayoub
a1ff9d414c
Version 54.0
2022-01-08 15:25:26 +01:00
Guillaume Ayoub
55c3d7371e
Version 54.0b1
2021-12-13 16:09:24 +01:00
Guillaume Ayoub
57da5c848a
Fix typo in documentation
...
Fix #1519 .
2021-12-11 18:39:58 +01:00
Guillaume Ayoub
dd783efaa9
Merge branch '53.x'
2021-11-14 10:27:11 +01:00
Guillaume Ayoub
8441685ee4
Version 53.4
2021-11-14 10:21:44 +01:00
Guillaume Ayoub
223e97d99a
Merge branch '53.x'
2021-09-10 14:26:02 +02:00
Guillaume Ayoub
d2e33977a6
Version 53.3
2021-09-10 14:23:32 +02:00
Guillaume Ayoub
d3e39055cf
Merge branch '53.x'
2021-08-27 14:48:59 +02:00
Guillaume Ayoub
d30faf3738
Version 53.2
2021-08-27 14:44:53 +02:00
Guillaume Ayoub
f7377610c8
Add the finisher option to HTML.write_pdf
2021-08-23 09:47:49 +02:00
Guillaume Ayoub
a5b97e3a2f
Version 53.1
2021-08-22 15:41:11 +02:00
Guillaume Ayoub
cf267ee43a
Version 53.0
2021-07-31 22:30:16 +02:00
Guillaume Ayoub
b24198df47
Version 53.0b2
2021-05-30 19:29:00 +02:00
Guillaume Ayoub
becd494f91
Add an option to optimize fonts
...
Fix #359 .
2021-04-28 14:55:52 +02:00
Guillaume Ayoub
c76e1a3ba6
Use pkgutil instead of manual ROOT to load data
...
It avoids useless code and should work with all the packagers.
2021-04-27 22:11:27 +02:00
Guillaume Ayoub
e983d88284
Version 53.0b1
2021-04-22 12:56:13 +02:00
Guillaume Ayoub
496ca5b14d
Update packaging information
2021-04-17 17:37:19 +02:00
Guillaume Ayoub
0eeb52160e
Follow PEP 621
...
The future is now.
2021-04-02 16:24:01 +02:00
Guillaume Ayoub
a5f5fe6fb8
Remove documentation strings about PNG export.
2021-04-02 16:23:28 +02:00
Guillaume Ayoub
212ccbab19
Update changelog and version
2021-03-13 13:55:09 +01:00
Guillaume Ayoub
03183fb312
Add a lot of documentation
2021-02-18 21:03:40 +01:00
Guillaume Ayoub
224f7b3e8f
Fix version
2021-02-18 11:39:44 +01:00
Guillaume Ayoub
2c919858c8
Split the "text" module into submodules
...
The module was too long, and the font management was split into two different
modules. We now have everything in the "text" module.
2021-02-08 00:53:27 +01:00
Guillaume Ayoub
431c11e7a0
Put write_png in testing suite for license considerations
2020-10-26 17:26:01 +01:00
Guillaume Ayoub
9d29716b91
Merge remote-tracking branch 'origin/master' into pydyf
2020-07-31 14:46:36 +02:00
Guillaume Ayoub
3d4cb04904
Add an image cache that can be shared between documents
...
Fix #969 .
2020-06-22 16:32:12 +02:00
Guillaume Ayoub
c56b96b3c1
Add an option to optimize embedded images size
2020-06-22 16:05:14 +02:00
Guillaume Ayoub
259d686aec
Clean __init__ and __main__
2020-05-30 01:27:13 +02:00
Guillaume Ayoub
11901bb9ea
Clean document.py
2020-05-30 01:11:30 +02:00
Guillaume Ayoub
e019278d9f
Don’t make write_png return size
2020-05-18 01:36:48 +02:00
Guillaume Ayoub
c422c1b77e
Disable antialiasing by default
2020-05-18 01:29:37 +02:00
Guillaume Ayoub
e711363490
Add an option to enable antialiasing for PNG generation
2020-05-17 15:06:17 +02:00
Guillaume Ayoub
5b4bbb22e7
Fix many tests
2020-05-13 01:02:43 +02:00
Guillaume Ayoub
bf2b21b6e0
First steps to replace cairo with pydyf
2020-04-18 00:19:35 +02:00
Bart Broere
9e90c91535
Try fixing a bug encountered when using weasyprint in Pyinstaller context
2020-03-25 18:43:05 +01:00
Guillaume Ayoub
ab47de3a27
Remove useless assert
...
Related to #1083 .
2020-03-22 11:18:27 +01:00
Felix Schwarz
dd48b5004c
HTML: prevent FutureWarning from xml.etree.ElementTree.Element
...
__bool__()/__nonzero__() is deprecated and raises a FutureWarning. This warning
is usually not visible with CPython. However it is highly irritating with
pypy3 (v7.1.1).
2020-03-22 08:31:25 +01:00
Guillaume Ayoub
620b17a9b3
Coverage
2020-01-09 23:33:07 +01:00
Guillaume Ayoub
b40ad461be
Remove repeated copyright assignments in files
...
Everything is replaced by a more explicit message in the COPYRIGHT file.
Inspired by rust-lang/rust#43498 and rust-lang/rust#57108 .
2020-01-02 14:10:09 +01:00
Guillaume Ayoub
647af0b228
Minor fixes
2020-01-02 13:27:11 +01:00
Guillaume Ayoub
47ec97bcaf
Remove useless explicit object inheritance
2020-01-02 12:06:58 +01:00
Guillaume Ayoub
5f28f83f36
Fix and clean some tests
2020-01-02 00:43:06 +01:00
Guillaume Ayoub
bb4b2d45e6
Update documentation for counters
2019-12-27 15:26:15 +01:00
Guillaume Ayoub
73244891f4
Add base code for @counter-style rules
2019-12-24 14:39:40 +01:00
Guillaume Ayoub
9831a1ba40
Remove and fix some TODOs
2019-07-11 16:48:53 +02:00
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