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

3014 Commits

Author SHA1 Message Date
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
Guillaume Ayoub
17cd8e9fe8 Use empty tuple as computed value of 'marks: none'
Using 'none' was causing the 'if bleed and marks' condition in
draw.draw_background to be always true, and thus always draw at least an empty
SVG file on the page background.

Fix #780.
2019-01-30 22:39:37 +01:00
Guillaume Ayoub
b81a669c74 Escape links and targets with quotes
Fix #774.
2019-01-23 16:05:01 +01:00
Guillaume Ayoub
19ea503078 Merge branch 'master' of github.com:Kozea/WeasyPrint 2019-01-23 00:13:42 +01:00
Guillaume Ayoub
48d4266b6d Fix API documentation of HTML and CSS classes 2019-01-23 00:12:01 +01:00
Guillaume Ayoub
4ce86e2312
Merge pull request #773 from NeroBurner/patch-1
better phrasing in hacking
2019-01-22 11:11:14 +01:00
NeroBurner
4eb9eb5a7d
better phrasing in hacking 2019-01-22 08:22:41 +01:00
Guillaume Ayoub
f67b7a6083 Update line width when splitting lines with glued inline children
Fix #637.
2019-01-22 00:28:37 +01:00
Guillaume Ayoub
89041e8030 Remove assert that is wrong when #770 appears
Related to #770.
2019-01-21 15:42:34 +01:00
Guillaume Ayoub
0083fce54c Set default values when guessing columns sizes
Fix #770.
2019-01-21 11:48:18 +01:00
Guillaume Ayoub
afc773a440 Merge branch 'master' of github.com:Kozea/WeasyPrint 2019-01-17 00:06:50 +01:00
Guillaume Ayoub
13971f64af Add a paragraph in documentation about fontconfig error
Fix #402.
2019-01-17 00:05:37 +01:00
Guillaume Ayoub
58562fcdbd
Merge pull request #764 from Ballrock/master
gdk-pixbuf Error on Alpine 3.8
2019-01-07 19:17:00 +01:00
Antoine Précigout
e5dec9f46b
Change Alpine install command
Use gdk-pixbuf-dev instead of gdk-pixbuf
2019-01-07 18:56:59 +01:00
Guillaume Ayoub
72e574ecb8
Merge pull request #763 from kevin-brown/travis-matrix
Update Travis CI matrix
2019-01-06 10:33:43 +01:00
Kevin Brown
d6d3cfacc2 Switch to running Python 3.7 on Xenial
Python 3.7 is not supprted within Travis CI when running on Trusty, which is the current default for Linux.
2019-01-05 17:39:19 -05:00
Kevin Brown
797ea79b05 Test on Python 3.7
Let's see what "os" gives us by default. We may need to force it to use Xenial if it still defaults to Trust, which it probably does.
2019-01-05 17:36:34 -05:00
Guillaume Ayoub
8f15640d73 Add a note about required setuptools version to build the package
Related to #762.
2019-01-05 18:59:37 +01:00