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

52 Commits

Author SHA1 Message Date
Guillaume Ayoub
bf2b21b6e0 First steps to replace cairo with pydyf 2020-04-18 00:19:35 +02:00
Guillaume Ayoub
10a7863332 Fully test __main__
Related to #1023.
2020-01-11 18:33:59 +01:00
Guillaume Ayoub
b40ad461be Remove repeated copyright assignments in files
Everything is replaced by a more explicit message in the COPYRIGHT file.

Inspired by rust-lang/rust#43498 and rust-lang/rust#57108.
2020-01-02 14:10:09 +01:00
Guillaume Ayoub
c43a2188d5 Add CLI argument printing system information 2019-09-13 10:01:45 +02:00
Guillaume Ayoub
b7a9fe7dcc Update copyright 2019-03-04 11:04:06 +01:00
Guillaume Ayoub
bdd45475b6 Clean a lot of things in API documentation 2019-02-22 11:34:46 +01:00
Guillaume Ayoub
cade97c4ce Add a --quiet argument
Related to #767.
2019-02-07 17:10:45 +01:00
Guillaume Ayoub
74f56f7102 Add a --debug option and set debug level for prefixed CSS properties 2019-01-04 01:22:49 +01:00
Guillaume Ayoub
56904baa79 Use the same copyright line everywhere 2018-09-20 18:46:27 +02:00
Guillaume Ayoub
16e8186568 Drop Python 2 support 2018-01-14 01:48:17 +01:00
Guillaume Ayoub
3961774c32 Set base_url to None when --base-url CLI parameter is empty string
Fix #532.
2017-11-16 17:41:27 +01:00
Guillaume Ayoub
437a079542 Add a verbose option
Related to #488.
2017-07-25 14:00:35 +02:00
Guillaume Ayoub
fcd6bf7070 Clean and document the logging levels
Related to #488.
2017-07-25 13:59:56 +02:00
Hugh Secker-Walker
9376c95071 Fix typos and awkward grammar on Tutorial and API pages. 2017-04-28 14:36:14 -04:00
Guillaume Ayoub
4f4b4ed598 Use isort in tests 2017-03-25 00:33:36 +01:00
Guillaume Ayoub
210b73820d Log to stderr only with CLI
Fix #412.
2017-03-24 23:12:04 +01:00
Kyle Gibson
8983d96acd Fixed typos 2017-01-15 19:55:12 -05:00
Guillaume Ayoub
8810f82841 Add an option to follow presentational hints 2016-08-30 19:10:53 +02:00
Guillaume Ayoub
b2a5d7a98f Add a presentational-hints option 2016-08-30 18:15:30 +02:00
Guillaume Ayoub
d09ba47ac2 Fix attachments support for command line
How about quality control and unit tests? Well, tests have been added,
wow, such hope they are many helpful.

Oh, and it probably fixes #286.
2015-12-31 13:22:30 +01:00
Alex Eftimie
93f497bf11 Replace utf8 with utf-8 for gettext compatibility 2015-11-25 09:38:01 +02:00
Simon Sapin
dd9ff47c94 Fix code formatting 2014-04-27 18:16:14 +01:00
Colin Leitner
da916a32a6 Added an Attachment class for attachments provided through the API instead of the URL/description tuples 2014-04-25 23:35:43 +02:00
Colin Leitner
a084a5b517 Refactored attachments attribute from the HTML class to an argument for write_pdf 2014-04-22 20:40:46 +02:00
Colin Leitner
5f16ac536e Clarified attachment documentation 2014-04-07 19:32:48 +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
Simon Sapin
4b69eaf5f8 Make --help ASCII only, fix #127 2013-10-14 15:07:05 +01:00
Simon Sapin
1d1bf9cdc9 Flake8. 2013-04-11 12:08:53 +02:00
Simon Sapin
171438f48e 2013 2013-04-03 16:23:48 +02:00
Simon Sapin
3072fff2e5 Docs docs docs.
But no ducks.
2012-10-08 19:51:18 +02:00
Simon Sapin
085d16cebf Use the Sphinx syntax for command-line options. 2012-10-07 14:54:39 +02:00
Simon Sapin
1de2a00ecb Use native strings in __main__.py, fix --help on 2.6 2012-09-25 16:37:18 +02:00
Simon Sapin
b066fcf4e8 Doc details. 2012-09-24 12:46:07 +02:00
Simon Sapin
87d5741376 Integrate the sphinx docs with docstrings. 2012-09-19 17:37:52 +02:00
Simon Sapin
a19c02f7b1 Add --resolution and --base-url to the command-line API. 2012-08-02 17:19:52 +02:00
Simon Sapin
1864d3365a s/medium/media_type/ s/user_agent_stylesheets/ua_stylesheets/ 2012-08-02 13:04:31 +02:00
Chung Wu
a51562149c Can specify the @media medium to use (defaults to print) 2012-08-01 19:09:48 -07:00
Simon Sapin
1f6ba609ba Bind to sys.stdin/stdout later. 2012-06-02 06:28:44 +02:00
Simon Sapin
46b1d225c7 Tests n’ fixes. Lots of them. 2012-04-03 11:34:29 +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
90d8bd459f Normalize case for --format Pdf 2012-02-29 20:17:44 +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
ceb8d749f8 Fix stdio monkey-patching on Python 3. 2012-02-23 19:31:15 +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
8a3dfa076f Fix --encoding and allow calling main(args) 2012-02-16 18:28:01 +01:00