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

1707 Commits

Author SHA1 Message Date
Simon Sapin
05e1cb22b2 URL fetching: enforce closing sockets/files with a context manager. 2013-06-20 15:16:47 +01:00
Simon Sapin
711d5aa19b Small refactoring. 2013-06-20 12:40:21 +01:00
Simon Sapin
9c9fc1ae2d Do not get MIME types base on URLs. 2013-06-20 12:40:11 +01:00
Simon Sapin
9d5cebb5ce URL fetching: use an intermediate function rather than a wrapper 2013-06-20 12:17:03 +01:00
Simon Sapin
ae6764143c Fix a possible use-after-free. 2013-06-19 10:04:37 +01:00
Simon Sapin
36e3d2be3a Add Sergey Pikhovkin to AUTHORS. 2013-06-18 18:19:15 +01:00
Simon Sapin
1be520f1b0 Merge branch 'master' of git://github.com/pikhovkin/WeasyPrint 2013-06-18 18:18:19 +01:00
Simon Sapin
12966087ee Changelog for v0.19.2 2013-06-18 16:40:18 +01:00
Simon Sapin
bed4a41c41 Avoid duplicating the check for cairo MIME data support. 2013-06-18 15:18:05 +01:00
Sergey Pikhovkin
8b86643e0e Copy table.column_positions
Copy list if the element is inserted on each page (eg. as https://gist.github.com/pikhovkin/5642563), else expanding table.column_positions
2013-06-18 17:47:39 +04:00
Simon Sapin
64464ae937 Test in cairo 1.8 and 1.10 with tox 2013-06-18 12:48:48 +01:00
Simon Sapin
e8fac4b840 Fix #99: JPEG image not loading with cairo 1.8.x 2013-06-18 12:48:06 +01:00
Sergey Pikhovkin
697c52dc00 Copy list
Copy list if the element is inserted on each page (eg. as https://gist.github.com/pikhovkin/5642563), else expanding table.column_positions
2013-06-14 16:32:15 +04:00
Guillaume Ayoub
dccd562c6b Don't clip the border when overflow: hidden 2013-06-05 18:45:16 +02:00
Guillaume Ayoub
f4836b4a83 Merge branch 'master' of github.com:Kozea/WeasyPrint 2013-06-03 18:35:52 +02:00
Guillaume Ayoub
1930bb1ffe Cut long lines 2013-06-03 18:35:37 +02:00
Guillaume Ayoub
b766ffac22 Merge branch 'typographic-text-decorations' of git://github.com/ariofrio/WeasyPrint into ariofrio-typographic-text-decorations
Conflicts:
	weasyprint/draw.py
2013-06-03 18:26:08 +02:00
Simon Sapin
1e9f33ca7e Mess with ReST syntax to get the punctuation right. 2013-06-03 14:59:39 +09:00
Simon Sapin
2630ab130f Duplicate instructions for WeasyPrint Navigator into the install docs 2013-06-03 14:58:04 +09:00
Guillaume Ayoub
0eed4a088f Actually draw multiple lines when multiple values are given to text-decoration 2013-05-24 19:07:53 +02:00
Guillaume Ayoub
3a9fa3cb66 Fix encoding error when files are restored from saved HTML in test_web 2013-05-24 19:06:40 +02:00
Guillaume Ayoub
af3d964f44 Merge pull request #90 from ariofrio/test-web-unicode
Allow non-ascii characters to be used in the test_web app
2013-05-24 09:45:53 -07:00
Guillaume Ayoub
0ac3ba6db3 Merge pull request #88 from ariofrio/fix-overline
Fix overline not being drawn above the text
2013-05-24 09:21:40 -07:00
Le-Stagiaire
72c9c02b64 Typo in bookmark label 2013-05-24 16:27:11 +02:00
Andres Riofrio
3666b4d9f4 Allow non-ascii characters to be used in the test_web app 2013-05-17 10:21:30 -07:00
Andres Riofrio
1aea07a33f Read typographic hints from Pango for text decorations 2013-05-17 09:52:05 -07:00
Andres Riofrio
d2c69d09f0 Fix overline not being drawn above the text 2013-05-17 09:48:38 -07:00
Simon Sapin
ca156a37c0 Merge pull request #83 from ariofrio/docs-install-fedora
Add instructions for installing dependencies in Fedora
2013-05-17 00:00:44 -07:00
Andres Riofrio
3f68057391 Add instructions to install dependencies in Fedora 2013-05-16 23:43:56 -07:00
Guillaume Ayoub
f2e9fbb95e Make counter names case-sensitive 2013-05-10 12:13:21 +02:00
Le-Stagiaire
505be3c99c Fix background-size: cover/contain for image ratio ≠ 1 2013-05-02 19:46:36 +03:00
Simon Sapin
22b4a95406 Changelog for v0.19.1 2013-04-30 17:08:33 +02:00
Simon Sapin
b57a9e8e0e Use anti-aliasing for dotted borders. It looks better that way. 2013-04-30 11:50:32 +02:00
Simon Sapin
25bab1dc6c Fix #76: repeating <thead> and <tfoot> on every page with border-collapse. 2013-04-30 10:56:43 +02:00
Guillaume Ayoub
28822aff74 Fix a test relying on a bug of libxml2 2013-04-26 16:02:01 +02:00
Guillaume Ayoub
3a620db567 Fix trailing whitespaces in preferred widths 2013-04-26 15:42:15 +02:00
Simon Sapin
1533b9c2d4 Fix margin collapsing with tables.
The position of page breaks between table rows did not consider margin
collapsing.
2013-04-26 15:02:27 +02:00
Simon Sapin
4796fd138d Fix painting of inset/outset borders. 2013-04-26 15:00:58 +02:00
Simon Sapin
a69c242daf Allow line breaks before/after atomic inline elements
… in preferred minumum width calculation.

Revert test workarounds made in the previous commit.
2013-04-26 15:00:21 +02:00
Simon Sapin
9c0d74efc6 Refactor min-content, avoid dubious line breaks.
Layout still can break at any tag, but not min-content.
2013-04-23 19:55:21 +02:00
Simon Sapin
da3ded0e7b Fix max-content with forced line breaks and whitespace at start of line. 2013-04-23 18:49:44 +02:00
Simon Sapin
18aefe8a06 Remove unnecessary page breaks before tables. 2013-04-23 16:54:40 +02:00
Simon Sapin
1cd961fafc Use stroke rather than fill for solid borders. Looks better on PDF. 2013-04-23 16:24:33 +02:00
Simon Sapin
302eae25b0 Have position: fixed elements repeated on every page. 2013-04-23 15:32:08 +02:00
Simon Sapin
1e3e96a8bd Fix unnecessary line break in floats. 2013-04-22 17:26:41 +02:00
Simon Sapin
a32f5b2f06 Docs: Recommend virtualenv --system-site-packages 2013-04-18 12:25:42 +02:00
Simon Sapin
c5a90f09ac Changelog and docs for v0.19 2013-04-18 11:59:44 +02:00
Simon Sapin
77f8894ced Add pixel tests for gradients. 2013-04-17 18:02:19 +02:00
Simon Sapin
bf86113961 Python 3.1 compat
3.1’s range() objects do not support slicing.
2013-04-17 13:10:36 +02:00
Simon Sapin
86a3319f68 Remove the now empty png.py file. 2013-04-16 16:22:14 +02:00