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

761 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
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
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
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
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
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
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
Simon Sapin
1681891f55 Add radial gradient layout tests. 2013-04-16 16:22:14 +02:00
Simon Sapin
b6f6d348bd Add linear gradient layout tests. 2013-04-16 16:22:14 +02:00
Guillaume Ayoub
d406ad6eee Simplify 'white-space: nowrap' handling, fix corner cases. 2013-04-16 14:27:14 +02:00
Guillaume Ayoub
cdf7e6dc8d Fix line-height calcalation of inline boxes. 2013-04-16 14:01:12 +02:00
Guillaume Ayoub
c84469daa1 Fix position of rtl blocks with left margins 2013-04-15 01:30:05 +02:00
Guillaume Ayoub
cae9f8cc00 Don't keep leading and trailing spaces in nowrap texts 2013-04-15 01:29:18 +02:00
Guillaume Ayoub
052f70aceb Fix a crash caused by missing margins on phantom lines containers 2013-04-15 00:22:07 +02:00
Guillaume Ayoub
77a69ec900 Merge branch 'master' of github.com:Kozea/WeasyPrint 2013-04-12 20:47:59 +02:00