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
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
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
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
Simon Sapin
cf52aa3aaf
Move the whole 'weasy' package to 'weasyprint'
2012-02-14 12:49:33 +01:00