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

780 Commits

Author SHA1 Message Date
Simon Sapin
45f7751600 Next is 0.7 2012-02-29 20:47:10 +01:00
Simon Sapin
8466ffe065 Tag v0.6 2012-02-29 20:41:48 +01:00
Simon Sapin
e9ce896bb0 Remove --pyargs from tox.ini (This helps with our Jenkins configuration) 2012-02-29 20:30:27 +01:00
Simon Sapin
5c888817cf Add missing test images. 2012-02-29 20:20:32 +01:00
Simon Sapin
90d8bd459f Normalize case for --format Pdf 2012-02-29 20:17:44 +01:00
Simon Sapin
476732b81c Support images in <embed> or <object> 2012-02-29 17:38:30 +01:00
Simon Sapin
e6cee2f2ab Put block-level images on the next page when they would overflow. 2012-02-29 12:23:25 +01:00
Simon Sapin
3a4cf78c94 More tests for margin collapsing. 2012-02-28 16:33:54 +01:00
Simon Sapin
953493733f Margin collapsing: not on the root element. 2012-02-28 14:54:20 +01:00
Simon Sapin
b8fa396d53 Margin collapsing: through "empty" elements. 2012-02-28 14:54:20 +01:00
Simon Sapin
28a53ef307 More collapsing margins again. 2012-02-28 14:54:20 +01:00
Guillaume Ayoub
016befd1af Handle the combined selectors with pseudo-elements 2012-02-27 17:55:27 +01:00
Simon Sapin
7167c3e637 Be more defensive. 2012-02-27 16:48:27 +01:00
Simon Sapin
82e52815fa Allow a file object as a positional argument in the API. 2012-02-27 15:59:26 +01:00
Simon Sapin
4fce42bd47 Do not monkeypatch sys.stdout in test_api.py: fix print debugging 2012-02-27 14:51:10 +01:00
Simon Sapin
5c4f627d10 TableBox.translate should translate column boxes too 2012-02-23 19:31:15 +01:00
Simon Sapin
e66e1025b0 More cases for margin collapsing 2012-02-23 19:31:15 +01:00
Simon Sapin
ceb8d749f8 Fix stdio monkey-patching on Python 3. 2012-02-23 19:31:15 +01:00
Simon Sapin
650b23ada8 Basic margin collapsing
Only between two siblings for now.
2012-02-23 19:31:15 +01:00
Simon Sapin
555ccbbd4f Port the W3 test runners to the new API. 2012-02-23 19:31:15 +01:00
Simon Sapin
e82a6f635d Advertise Python 2.6 and 3.2 compat in setup.py 2012-02-23 19:31:15 +01:00
Simon Sapin
7ad1083e88 Rename weasyprint.logging to avoid conflicts the stdlib module. 2012-02-23 19:31:15 +01:00
Simon Sapin
f0e79cf99a Cleanups 2012-02-23 19:31:15 +01:00
Simon Sapin
7ca2499c77 Update the changelog
Pystacia does not support 3.1, so remove that.
2012-02-23 19:31:15 +01:00
Simon Sapin
f6133af390 Correctly reset the list-item counter on new lists. 2012-02-23 19:31:15 +01:00
Guillaume Ayoub
a479fb67a0 Typo fix 2012-02-23 13:26:45 +01:00
Guillaume Ayoub
c5836405e9 Merge branch 'master' of github.com:Kozea/WeasyPrint 2012-02-23 13:19:21 +01:00
Guillaume Ayoub
b62e2712e0 Import the pystacia exception from the util module 2012-02-23 13:18:51 +01:00
Simon Sapin
af4aeb9376 Use pystacia instead of pypng in tests. 2012-02-22 14:13:14 +01:00
Simon Sapin
1c2b9da6bf Forget the pattern for JPEG, use a solid blue image
Not only is JPEG lossy, but the results of decoding the same file depends
on the version of libjpeg. #0000ff blue still comes out as #0000fe
with quality=100, let’s hope that much will stay consistent...
2012-02-22 12:11:44 +01:00
Simon Sapin
f5f9fc729c Switch to pystacia instead of PIL for raster images 2012-02-21 14:34:07 +01:00
Simon Sapin
0ef3b35e90 Actual python 2.6 compatibility 2012-02-21 14:13:34 +01:00
Simon Sapin
a412924e92 Fix the test suite on pytest
(Do not swallow all exceptions!)
2012-02-21 12:59:06 +01:00
Simon Sapin
dc5360e130 Python 2.6 compat, fix tox.ini 2012-02-20 15:36:55 +01:00
Simon Sapin
5291ed7ed7 Don’t require pytest-cov 2012-02-20 14:06:29 +01:00
Simon Sapin
4bf9b2dce7 Switch to pytest 2012-02-20 13:04:35 +01:00
Simon Sapin
ff135aa285 Python 3 compat. All tests pass with the same code base! 2012-02-17 22:48:20 +01:00
Simon Sapin
0c0906b52a Fix the weasyprint.py script. 2012-02-17 15:00:55 +01:00
Simon Sapin
d5ee2ea509 Use the testing UA stylesheet in test_api.py 2012-02-16 18:52:36 +01:00
Simon Sapin
1337756504 Test the command line interface. 2012-02-16 18:28:18 +01:00
Simon Sapin
8a3dfa076f Fix --encoding and allow calling main(args) 2012-02-16 18:28:01 +01:00
Simon Sapin
38d687fa91 Nicer message on HTML parse error 2012-02-16 18:27:30 +01:00
Simon Sapin
6baad64044 Disable an assert that fails because of floating point errors. 2012-02-16 15:27:49 +01:00
Simon Sapin
af9c3e961e Test rendering with the Python API. 2012-02-16 14:42:08 +01:00
Simon Sapin
e63df09985 Test the HTML and CSS constructors. 2012-02-16 13:41:00 +01:00
Simon Sapin
cfb7bf4608 Take a base_url from file().name 2012-02-16 13:40:29 +01:00
Simon Sapin
6f9d5c068a Fix CSS(url=foo, base_url=bar) 2012-02-16 13:40:08 +01:00
Simon Sapin
7e728af99e Ooops 2012-02-15 19:01:09 +01:00
Simon Sapin
9cd1ac746d *Break the API*
The new API should be easier to use. Only what is directly
in the 'weasyprint' module (not in a sub-module) is public.
2012-02-15 18:49:37 +01:00
Simon Sapin
5fccd63885 CairoSVG supports these units now. 2012-02-15 18:41:48 +01:00