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

49 Commits

Author SHA1 Message Date
Guillaume Ayoub
56904baa79 Use the same copyright line everywhere 2018-09-20 18:46:27 +02:00
Guillaume Ayoub
0fe79762fa Use setup.cfg instead of setup.py for package metadata 2018-08-23 18:20:36 +02:00
Guillaume Ayoub
16e8186568 Drop Python 2 support 2018-01-14 01:48:17 +01:00
Guillaume Ayoub
724565f27a Don't allow attribute access to StyleDict objects 2018-01-13 17:05:23 +01:00
Guillaume Ayoub
4e3cfb5b1d
Merge pull request #528 from Kozea/text
Fix the line breaking algorithm
2017-11-16 17:37:09 +01:00
Guillaume Ayoub
bed99daf65 Add some comments about frozen distribution 2017-11-16 17:34:39 +01:00
Jonathan Metz
99038fb395 Fix root when frozen with pyinstaller 2017-11-15 21:47:53 -08:00
Guillaume Ayoub
8f7069a2d2 Use HTML_WHITESPACE when possible 2017-10-21 21:11:03 +02:00
Guillaume Ayoub
fcd6bf7070 Clean and document the logging levels
Related to #488.
2017-07-25 13:59:56 +02:00
Guillaume Ayoub
a0dba07b67 Don't store base_url in ElementWrappers 2017-07-07 11:14:07 +02:00
Guillaume Ayoub
a11eeba00e Use ElementTree's element to get its tag 2017-07-03 15:31:17 +02:00
Guillaume Ayoub
ba26fa34a9 Use ElementTree's elements as much as possible 2017-07-03 15:19:05 +02:00
Guillaume Ayoub
df50204f3e Remove unsupported source lines 2017-07-01 00:28:14 +02:00
Guillaume Ayoub
4a5fa84f9f Use cssselect2 instead of cssselect 2017-06-30 17:54:02 +02:00
Guillaume Ayoub
4f4b4ed598 Use isort in tests 2017-03-25 00:33:36 +01:00
Guillaume Ayoub
05d5e7d726 Don't always copy boxes 2016-11-01 04:31:15 +01:00
Guillaume Ayoub
68ddba2213 Remove empty line at the beginning of a file 2016-09-04 20:40:23 +02:00
Guillaume Ayoub
207694ac14 Use a stylesheet for some presentational hints 2016-08-31 22:33:26 +02:00
Guillaume Ayoub
b94546079d Fix the embed and object links in docstrings 2016-08-04 19:20:37 +02:00
Alex Eftimie
93f497bf11 Replace utf8 with utf-8 for gettext compatibility 2015-11-25 09:38:01 +02:00
Andrew Leech
a145bd12f6 Fix formatting to satisfy flake8 2015-09-28 14:08:41 +10:00
Andrew Leech
f44ae6d85f Add support for use when frozen
Use appropriate path to find resource when frozen (using py2exe etc.)
2015-09-25 11:30:56 +10:00
Simon Sapin
dd9ff47c94 Fix code formatting 2014-04-27 18:16:14 +01:00
Simon Sapin
830598c30b Merge branch 'pdf-attachments' from PR #177 2014-04-27 17:56:02 +01:00
Simon Sapin
43d1e73e65 Fix code formatting. (Clean flake8!) 2014-04-27 12:29:55 +01:00
Colin Leitner
86e67e514a Use element_has_link_type for parsing the rel attribute in the HTML metadata. 2014-04-23 17:42:37 +02:00
Colin Leitner
8c06243c46 Use the new element_has_link_type instead of parsing the rel attribute manually. 2014-04-23 17:10:31 +02:00
Simon Sapin
a3ef9cce98 Fix parsing of <link rel> 2014-04-23 16:57:57 +02:00
Simon Sapin
e65b26f38b Fix parsing of <link rel> 2014-04-22 01:34:47 +01:00
Colin Leitner
a48d55a79c Replaced unnecessary call to setattr with direct assignment 2014-04-07 19:35:00 +02:00
Colin Leitner
7ac01f0519 Added support for PDF file annotations. 2014-04-04 18:46:00 +02:00
Colin Leitner
e458380190 Added support for PDF attachments (v2) 2014-04-04 12:32:21 +02:00
Simon Sapin
c34221d215 2014. 2014-01-10 14:27:02 +00:00
Florian Mounier
e3d7bad55b Be careful logging.warn is deprecated 2013-08-19 14:38:09 +02:00
Simon Sapin
eb08733938 Add PDF metadata parsed from HTML. Fix #77.
<title> → /Title
<meta name=author> → /Author
<meta name=description> → /Subject
<meta name=keywords> → /Keywords
<meta name=generator> → /Creator
<meta name=dcterms.created> → /CreationDate
<meta name=dcterms.modified> → /ModDate
"WeasyPrint vX.Y" → /Producer
2013-07-22 00:13:11 +01:00
Simon Sapin
171438f48e 2013 2013-04-03 16:23:48 +02:00
Simon Sapin
39b553fae7 Add support for font-stretch, fix #7
The value is passed to Pango as-is. It may have no effect if
(for example) the chosen font has no expanded variant.
2012-08-17 17:37:33 +02:00
Simon Sapin
2614821fa9 Add support for <base href="..."> element in HTML. 2012-08-03 15:22:26 +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
30a5708373 Kill Document in formatting_structure/build.py and html.py 2012-07-12 15:54:22 +02:00
Simon Sapin
d694a98350 Rename the utils module to 'urls' 2012-05-23 15:13:57 +02:00
Simon Sapin
52b6124e2e Pre-process stylesheet (do validation just after parsing) 2012-03-25 00:39:41 +01: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
869aac58c7 Ignore display: table-* values for inline elements
They end up as inline-level replaced boxes.
2012-03-14 13:34:08 +01:00
Simon Sapin
476732b81c Support images in <embed> or <object> 2012-02-29 17:38:30 +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