1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-04 16:07:57 +03:00
Commit Graph

3031 Commits

Author SHA1 Message Date
Guillaume Ayoub
b7a9fe7dcc Update copyright 2019-03-04 11:04:06 +01:00
Guillaume Ayoub
51dcbe36a5 Don't crash when removing trailing whitespaces on pre-line blocks
Fix #610.
2019-03-01 16:03:04 +01:00
Guillaume Ayoub
f79110c7da Copy replaced boxes during layout
Fix #808, fix #387.
2019-03-01 15:17:53 +01:00
Guillaume Ayoub
aeb8020d0d Fix a deprecation warning 2019-03-01 11:39:17 +01:00
Guillaume Ayoub
0cc5478252 Fix imports for isort 2019-03-01 11:38:03 +01:00
Guillaume Ayoub
a5ce96e8d7 Don't always set resume_at to None when the whole text fits
We want to keep resume_at for example when the text ends with a forced end of
line.

Fix #813.
2019-03-01 11:09:17 +01:00
Guillaume Ayoub
3ba1dcd836 More small fixes in documentation 2019-02-28 15:59:11 +01:00
Guillaume Ayoub
8d0f53ec1e Small fixes in documentation 2019-02-28 15:58:30 +01:00
Guillaume Ayoub
c294a65e17
Merge pull request #815 from SebCorbin/patch-1
Fix #814 Documentation about custom url_fetcher
2019-02-28 15:05:19 +01:00
Guillaume Ayoub
aacf769aba
Update default_url_fetcher documentation
Related to #814.
2019-02-27 18:38:14 +01:00
Sébastien Corbin
97476aaf73
Fix #814 Documentation about custom url_fetcher 2019-02-27 17:17:20 +01:00
Guillaume Ayoub
e5f7ec9756 Add a chapter about CSS fragmentation module 2019-02-27 10:38:21 +01:00
Guillaume Ayoub
4729eac0f7 Don't crash when layout is created with font fatures but no context 2019-02-27 10:25:51 +01:00
Guillaume Ayoub
bdd45475b6 Clean a lot of things in API documentation 2019-02-22 11:34:46 +01:00
Guillaume Ayoub
256ad86b12 Fix the install page of the documentation 2019-02-21 17:41:29 +01:00
Guillaume Ayoub
03f01e37ee Update and add some docstrings 2019-02-21 17:34:56 +01:00
Guillaume Ayoub
838e540576 Update description in README 2019-02-21 17:32:26 +01:00
Guillaume Ayoub
1d2da0908f Version 45 2019-02-20 17:34:03 +01:00
Guillaume Ayoub
9e08ca7f8e Fix setuptools upgrade on Travis-CI 2019-02-18 18:46:30 +01:00
Guillaume Ayoub
7cc56a28e9 Update setuptools before testing 2019-02-17 11:23:42 +01:00
Guillaume Ayoub
7e5860f4ca Merge branch 'master' of github.com:Kozea/WeasyPrint 2019-02-17 10:22:16 +01:00
Guillaume Ayoub
480291a0ac Add setuptools>=39.2 as dependency 2019-02-17 10:20:05 +01:00
Guillaume Ayoub
62d8f7ff46
Merge pull request #804 from vilamatica/v44-fix-logger
refs Kozea#412 Avoid default Logger
2019-02-15 15:56:26 +01:00
Xus
1112d25c00 refs Kozea#412 Avoid default Logger
If you want to use Weasyprint under django, you can configure
weasyprint's logger via django, but this setting never is set
2019-02-15 12:23:51 +01:00
Guillaume Ayoub
92c6a3c00a
Merge pull request #798 from Tontyna/repagination
Prevent endless loop and index out of range in pagination
2019-02-11 10:51:50 +01:00
Guillaume Ayoub
5b3b3ac457
Merge pull request #796 from PaperBag42/patch-1
Fix a small typo in the tutorial
2019-02-11 10:35:02 +01:00
Tontyna
486f8df573 Prevent endless loop and index out of range in pagination 2019-02-10 21:32:28 +01:00
Noam Ben-zichri
a95f2cfe6b
fix small typo in docs 2019-02-09 16:50:01 +02:00
Guillaume Ayoub
ce7999cf5c
Add a code of conduct 2019-02-08 14:42:16 +01:00
Guillaume Ayoub
5e0b904da3
Merge pull request #792 from Smylers/patch-2
Document no alignment character support
2019-02-08 13:55:12 +01:00
Smylers
aff1671ed2
Document no alignment character support
Make it clear that text-align: '.' and similar (in table cells) isn't supported.
2019-02-08 10:54:40 +00:00
Guillaume Ayoub
cade97c4ce Add a --quiet argument
Related to #767.
2019-02-07 17:10:45 +01:00
Guillaume Ayoub
4f0e018f77 Add project URLs 2019-02-07 14:20:35 +01:00
Guillaume Ayoub
ac61051f4a Set required version of Python in setup.cfg 2019-02-07 14:00:08 +01:00
Guillaume Ayoub
94b5f08b47 Drop Python 3.4 support
Python 3.4's end of life is 2019-03-16 and Debian stable provides 3.5.3.
2019-02-06 18:42:15 +01:00
Guillaume Ayoub
b1c144488f Use pathlib's syntax everywhere for ROOT 2019-02-06 18:38:16 +01:00
Guillaume Ayoub
de98470e02 Use pathlib for version 2019-02-06 18:23:41 +01:00
Guillaume Ayoub
adb2e3704d
Merge pull request #784 from cinatic/patch-1
note on alpine installation and ctypes.util
2019-02-06 11:52:01 +01:00
Guillaume Ayoub
26a15824ae
Merge pull request #791 from Tontyna/pytest
Windows requires path2url in test_assert_bookmarks
2019-02-06 11:49:54 +01:00
Tontyna
57a0a1df48 Windows requires path2url in test_assert_bookmarks 2019-02-06 11:25:00 +01:00
Guillaume Ayoub
0d22a3ca6c
Merge pull request #789 from kitterma/master
Add LICENSE to sdist
2019-02-05 20:02:25 +01:00
Scott Kitterman
91f4c43390
Mention setuptools needed for license_file 2019-02-05 13:37:42 -05:00
Scott Kitterman
95217c6c48
Add license_file to metadata
Now LICENSE will be included in dists.  Requires setuptools-40.8.0 to work correctly.  With older versions it will silently not be included.
2019-02-05 13:33:57 -05:00
Guillaume Ayoub
92a0d5ffec Follow the famous nonexistent guide of style 2019-02-05 13:50:45 +01:00
Guillaume Ayoub
1a2f541bde
Merge pull request #788 from Tontyna/cross-ref
Pending cross references
2019-02-05 13:49:20 +01:00
Tontyna
b041a0600f Resolve pending backward targeted references 2019-02-05 13:24:16 +01:00
Tontyna
cfc16c66af Fix remnant TargetCollecor.items 2019-02-05 13:09:47 +01:00
Florijan Hamzic
88b6ecd16f
note on alpine installation and ctypes.util 2019-02-01 19:15:34 +01:00
Guillaume Ayoub
0682f1ba41 Lint 2019-02-01 01:34:06 +01:00
Guillaume Ayoub
498c275942 Fix tests because of a bug in Cairo
Cairo doesn't add links on empty pages, so we need to draw something on each
page in tests. This bug shouldn't happen with real life documents.

This issue appeared while fixing #780. Before that, empty pages were not empty
as they had at least an empty SVG drawn on the background.

See https://gitlab.freedesktop.org/cairo/cairo/issues/357
2019-01-30 22:48:21 +01:00