Simon Sapin
c2a88cfafc
Fix saving of PNG images for failed tests.
2012-08-03 17:19:18 +02:00
Simon Sapin
ba8a55d5c0
Add support for outlines.
2012-08-03 16:22:32 +02:00
Simon Sapin
d1971b6e63
Remove unused imports.
2012-08-03 13:32:42 +02:00
Simon Sapin
feece3d3c7
Always close pixbufs.
2012-07-31 18:10:44 +02:00
Simon Sapin
cb659911d8
Add a specific error message for 0-byte images.
2012-07-31 15:08:01 +02:00
Simon Sapin
eca3e872a3
Fix the PyGTK version of gdkpixbuf_loader()
2012-07-29 18:23:53 +02:00
Simon Sapin
f522eac201
Use the same get_pixbuf() for both PyGTK and introspection.
2012-07-29 18:21:33 +02:00
Simon Sapin
1efd026ad0
Warn if gdk-pixbuf istoo old for introspection.
2012-07-29 18:13:33 +02:00
Simon Sapin
f46c334fa0
Remove the Pystacia dependency in tox.ini
2012-07-29 16:55:05 +02:00
Simon Sapin
abf256a810
Merge branch 'master' into pixbuf
2012-07-29 16:53:08 +02:00
Simon Sapin
62016d2587
Apparently UnixInputStream doesn’t work well on sockets...
2012-07-28 22:26:58 +02:00
Simon Sapin
b3c059bc08
Switch to gdk-pixbuf for raster images instead of Pystacia.
2012-07-28 22:11:28 +02:00
Simon Sapin
fbfbdac032
Faster loading of non-PNG images.
2012-07-26 12:32:08 +02:00
Simon Sapin
4a6fff4384
Make mime_type optional in custom URL fetchers
2012-07-18 14:34:43 +02:00
Simon Sapin
2768dea548
Add `url_fetcher
` to the public API
2012-07-13 12:24:55 +02:00
Simon Sapin
78461b81f1
Test the Navigator
2012-06-23 04:58:14 +02:00
Simon Sapin
a8efed1bf1
Do not crash on SVG images without an intrinsic size.
2012-06-04 09:02:47 +02:00
Simon Sapin
a394ab5762
Work around cairo to make sure SVG image stay vectors.
2012-05-29 19:11:10 +02:00
Simon Sapin
d694a98350
Rename the utils module to 'urls'
2012-05-23 15:13:57 +02:00
Simon Sapin
b6ea3821b8
Remove unused imports
2012-05-22 16:34:41 +02:00
Simon Sapin
dcacf9eed0
Switch the licence to BSD and rewrite module docstrings/headers
2012-03-21 23:26:58 +01:00
Simon Sapin
26de362b99
Add proper attribution in AUTHORS
2012-03-21 18:40:38 +01:00
Simon Sapin
9875f76995
Hello 2012
2012-03-21 18:40:38 +01:00
Simon Sapin
f46e01fddd
Simplify error handling in images.
...
Catch any non-sytem exception and consider that as an invalid image.
This may hide bugs, maintaining a growing list of invalid-image
exceptions was no fun either. The exception’s repr() is logged as usual.
2012-03-21 14:34:27 +01:00
Simon Sapin
476732b81c
Support images in <embed> or <object>
2012-02-29 17:38:30 +01:00
Simon Sapin
7167c3e637
Be more defensive.
2012-02-27 16:48:27 +01:00
Simon Sapin
7ad1083e88
Rename weasyprint.logging to avoid conflicts the stdlib module.
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
f5f9fc729c
Switch to pystacia instead of PIL for raster images
2012-02-21 14:34:07 +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
ff135aa285
Python 3 compat. All tests pass with the same code base!
2012-02-17 22:48:20 +01:00
Simon Sapin
cf52aa3aaf
Move the whole 'weasy' package to 'weasyprint'
2012-02-14 12:49:33 +01:00