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

471 Commits

Author SHA1 Message Date
Guillaume Ayoub
8b6a87da8c Fix the borders 2011-08-23 18:24:51 +02:00
Guillaume Ayoub
0f02ac6196 Clean weasy/formatting_structure/boxes a little bit 2011-08-23 17:57:23 +02:00
Guillaume Ayoub
7fbf300259 Ignore some *Box classes for attribute detection 2011-08-23 17:52:17 +02:00
Guillaume Ayoub
99c890f7e7 Fix a typo intoduced by the cleanup 2011-08-23 17:37:43 +02:00
Guillaume Ayoub
89de719186 Merge branch 'master' of github.com:Kozea/WeasyPrint 2011-08-23 17:35:28 +02:00
Guillaume Ayoub
496f0e2ead Clean weasy/css/* 2011-08-23 17:35:10 +02:00
Simon Sapin
0e61ad8b9d Do not validate the content property (not supported yet)
Also monkey-patch validation in tests that use it.
2011-08-23 16:54:01 +02:00
Simon Sapin
deb7d555c4 Fix some infinite loops in weasy.layout.inlines ... maybe. 2011-08-23 16:19:06 +02:00
Simon Sapin
a449b1130f Actually allow keyword arguments in PNGDocument and PDFDocument. 2011-08-23 16:18:42 +02:00
Guillaume Ayoub
39e1987408 Add Or to the list of classes to be ignored by pylint 2011-08-23 11:44:03 +02:00
Guillaume Ayoub
0afd621564 Clean weasy/draw/helpers 2011-08-23 11:42:40 +02:00
Salem Harrache
a4892f7c9d save linebox children in deque instead of list 2011-08-23 11:06:41 +02:00
Salem Harrache
733009ae90 Merge branch 'master' of github.com:Kozea/WeasyPrint 2011-08-23 10:42:14 +02:00
Salem Harrache
7d5e55d776 save linebox children instead of linebox itself in InlineContext 2011-08-23 10:42:07 +02:00
Simon Sapin
54542037b9 Merge branch 'master' of github.com:Kozea/WeasyPrint 2011-08-22 18:38:28 +02:00
Simon Sapin
da655393b9 Put back lines that are beyond the page, for use in the next page. 2011-08-22 18:38:15 +02:00
Guillaume Ayoub
53bdeeb1ef Merge branch 'master' of github.com:Kozea/WeasyPrint 2011-08-22 18:36:56 +02:00
Guillaume Ayoub
4f2fb4685c Clean weasy/css/__init__ 2011-08-22 18:33:54 +02:00
Salem Harrache
682a34006f Merge branch 'master' of github.com:Kozea/WeasyPrint
Conflicts:
	weasy/draw/helpers.py
	weasy/layout/__init__.py
	weasy/layout/blocks.py
	weasy/layout/inlines.py
2011-08-22 18:33:20 +02:00
Salem Harrache
c0e912876f add InlineContext object for backtracking linebreak 2011-08-22 18:20:23 +02:00
Simon Sapin
0e4b110b1e Very early support for pages breaking. 2011-08-22 18:14:37 +02:00
Simon Sapin
a6ebeb9314 Docstrings. 2011-08-22 17:55:30 +02:00
Simon Sapin
87c52957d6 Dispatch replaced element by a dict of functions instead of a list. 2011-08-22 17:51:35 +02:00
Guillaume Ayoub
d041826390 Clean weasy/draw/* 2011-08-22 17:36:07 +02:00
Guillaume Ayoub
a84c39d9f1 Add x* and y* in the list of pylint-friendly variables 2011-08-22 17:35:35 +02:00
Guillaume Ayoub
528d5e949e Add a weasy/layout/markers module, fixes the circular imports 2011-08-22 15:37:10 +02:00
Salem Harrache
6279250cd1 Merge branch 'master' of github.com:Kozea/WeasyPrint 2011-08-22 13:24:23 +02:00
Guillaume Ayoub
8928e76ba0 Clean weasy/layout/__init__ 2011-08-22 12:22:03 +02:00
Simon Sapin
cc0ec63bb8 Rename weasy.layout.*_formating_context to shorter names. 2011-08-22 11:48:11 +02:00
Simon Sapin
108f04dc78 Remove Multifunction and get some sanity back. 2011-08-22 11:41:36 +02:00
Salem Harrache
a1fa87233b Merge branch 'master' of github.com:Kozea/WeasyPrint 2011-08-22 10:17:43 +02:00
Salem Harrache
00dca74712 fix image render in draw helpers 2011-08-22 10:17:37 +02:00
Simon Sapin
6258097d2d Fix an infinite loop in a corner case of line breaking. 2011-08-21 11:08:33 +02:00
Simon Sapin
388a7a586a Remove calls to the CSS serializer in weasy.text 2011-08-21 00:28:10 +02:00
Simon Sapin
7e6e9fff1e Return early in draw_border when there is no border. 2011-08-21 00:14:49 +02:00
Simon Sapin
c709645a6f Fix inifinite loop on forced line beaks (ie. preserved '\n') 2011-08-20 23:44:22 +02:00
Simon Sapin
67ab13da56 Fix list-style-type: none on an element with display: list-item. 2011-08-20 22:59:27 +02:00
Simon Sapin
72dfa0ba9e Same sizing algorithm for inside and outside image markers. 2011-08-20 18:55:27 +02:00
Simon Sapin
695aaa03a8 Use a no-break space instead of a margin for inside list markers.
Margin did not work on text boxes.
2011-08-20 18:54:42 +02:00
Simon Sapin
2ce414e44c Merge test_draw with its expected results. 2011-08-20 18:25:16 +02:00
Simon Sapin
93061ce0b1 Add support for list-style-image. 2011-08-20 18:02:04 +02:00
Simon Sapin
ad3120087e Add support for glyph-based list markers. 2011-08-20 15:07:14 +02:00
Guillaume Ayoub
850abbda5d Fix the .pylintrc syntax 2011-08-19 17:50:03 +02:00
Guillaume Ayoub
7768798743 Disable some errors in pylint 2011-08-19 17:46:19 +02:00
Guillaume Ayoub
62baea011d Tweak the .pylintrc file 2011-08-19 17:13:31 +02:00
Guillaume Ayoub
59691a924e Merge branch 'master' of github.com:Kozea/WeasyPrint
Conflicts:
	weasy/text.py
2011-08-19 16:54:57 +02:00
Guillaume Ayoub
8b73a705b9 Clean weasy/utils 2011-08-19 16:53:05 +02:00
Guillaume Ayoub
dd65050279 Clean weasy/text 2011-08-19 16:52:56 +02:00
Guillaume Ayoub
daa8bf96fa Clean weasy/replaced 2011-08-19 16:52:46 +02:00
Guillaume Ayoub
7abb2d09ed Clean weasy/document 2011-08-19 16:52:37 +02:00