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
9476dd99b7
Add a warning when Pango is too old.
2012-07-29 16:37:13 +02:00
Simon Sapin
cf9f982ec5
Default to PyGTK instead of PyGObject introspection.
2012-07-29 16:25:43 +02:00
Simon Sapin
c39d4119c8
Fix MIME type registering: always use native strings.
2012-07-29 15:13:45 +02:00
Simon Sapin
4f4fc0ee8e
Make some drawing tests more robust ... maybe?
2012-07-29 15:13:16 +02:00
Simon Sapin
a02ebeff7e
Merge branch 'master' into pixbuf
2012-07-28 23:04:10 +02:00
Simon Sapin
e2a5a32663
Make drawing tests with text less strict.
2012-07-28 23:03:51 +02:00
Simon Sapin
50c175a5dc
Force the MIME types for the file extensions we care about.
2012-07-28 22:38:44 +02:00
Simon Sapin
67dc1c80e8
Start the changelog for 0.14
2012-07-28 22:33:20 +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
0095d080b8
Always pass a list as font-family
...
... otherwise ','.join() will take a string character-by-character …
2012-07-28 19:23:54 +02:00
Simon Sapin
78b365ccb3
Fiddle with the install docs again.
...
* Add lxml back to the packages to install with the distribution
* Put PyGTK first
* Only mention Pango and Pycairo in the PyGObject 3 alternative
2012-07-28 18:41:08 +02:00
Simon Sapin
9447363f69
Do not pass Unicode filenames to pycairo.
...
Older versions (1.8 on py2) do not like that.
2012-07-28 15:28:35 +02:00
Simon Sapin
d64a918964
ReST is still not Markdown.
2012-07-28 12:14:27 +03:00
Simon Sapin
d5d87f59cb
0.13 is broken on Windows.
2012-07-28 12:13:44 +03:00
Simon Sapin
c21c4597db
ReST is not Markdown.
2012-07-27 20:21:06 +03:00
Simon Sapin
a12cc0e127
Add a link for installation on Windows
2012-07-27 20:20:13 +03:00
Simon Sapin
b1f0959df5
Use the filesystem encoding for file:// URLs. This might help with #891
2012-07-27 18:55:19 +02:00
Simon Sapin
84b45b7021
Apparently lxml on Windows does not like encoding='utf32'.
...
Let’s try with UTF-16BE.
2012-07-27 18:36:13 +02:00
Simon Sapin
96748be086
Gotta learn to run *all* tests before pushing.
2012-07-27 18:08:05 +02:00
Simon Sapin
2cab7b9c68
Remove the PyGTK vs. PyGObject 3 test, it did not bring much.
2012-07-27 17:56:31 +02:00
Simon Sapin
6be1d8b7f4
Fix some tests on Windows ... maybe?
2012-07-27 17:52:35 +02:00
Simon Sapin
501f690d49
Require at least 2 characters in URL schemes.
...
This makes sure that Windows filenames like C:\foo\bar.html
are not considered as URLs.
2012-07-27 17:19:17 +02:00
Simon Sapin
e0b8161897
Also always read the testing UA stylesheet from a filename.
2012-07-27 17:15:59 +02:00
Simon Sapin
627053da62
Read the HTML5 stylesheet from a file.
...
Windows filenames C:\... may look like URLs.
Make sure that the HTML5 UA stylesheet is always read from a file.
2012-07-27 00:31:03 +03:00
Simon Sapin
fbfbdac032
Faster loading of non-PNG images.
2012-07-26 12:32:08 +02:00
Simon Sapin
ee7ceb7f9a
Recommend cairo 1.12
2012-07-24 11:43:40 +02:00
Simon Sapin
ffa88c1264
Use PyGObject 3 on MacPorts
2012-07-24 11:39:49 +02:00
Simon Sapin
097cf6f967
Add instruction to try WeasyPrint after installing.
2012-07-24 11:39:28 +02:00
Simon Sapin
81c10d0034
Adapt the website’s CSS somewhat to render with WeasyPrint itself.
2012-07-24 11:09:22 +02:00
Simon Sapin
4c977ce183
Install docs: links, details, OS X instructions
2012-07-24 08:13:44 +02:00
Simon Sapin
5b9a41c3d4
Mention Debian stable.
2012-07-23 20:37:41 +02:00
Simon Sapin
79157f15db
Add a News entry for 0.13
2012-07-23 20:06:38 +02:00
Simon Sapin
ca9e0c3803
Update for 0.13 (PyGTK)
2012-07-23 19:36:54 +02:00
Simon Sapin
1fa71a7036
Tag v0.13
2012-07-23 19:15:19 +02:00
Simon Sapin
4730e414ef
Add PyGTK compatiblity (vs. PyGObject 3.x)
...
First try to import Pango through PyGObject 3.x and introspection.
If that fails or if the WEASYPRINT_USE_PYGTK is set and non-empty,
fall back on PyGTK and the "old-style" bindings without introspection.
2012-07-23 19:01:23 +02:00
Simon Sapin
30533879b2
Fixed #2 : Crash in PDF outlines with malformed bookmark-level sequence.
2012-07-23 16:12:45 +02:00
Simon Sapin
47e1289472
Do not print logs on passing tests.
2012-07-23 16:07:52 +02:00
Simon Sapin
efdf1b4af5
Do not write any PNG in test_output unless a test fails
2012-07-23 16:07:32 +02:00
Simon Sapin
1f1af0ddf3
Typo fix
2012-07-19 15:17:48 +02:00
Simon Sapin
c727244ba9
Add a News entry for 0.12
2012-07-19 15:14:22 +02:00
Simon Sapin
b4e27220df
Mention Flask-WeasyPrint in the URL fetcher docs.
2012-07-19 14:59:58 +02:00
Simon Sapin
a15beccfbe
Fix the release date for 0.12
2012-07-19 14:38:33 +02:00
Simon Sapin
9a9b67b6e4
Update for 0.12
2012-07-19 12:46:00 +02:00
Simon Sapin
714fc401d0
Tag v0.12
2012-07-19 11:55:21 +02:00
Simon Sapin
60239da54d
Do not upgrade to cairo 1.12 on travis
2012-07-19 11:55:14 +02:00