5811 Commits

Author SHA1 Message Date
Guillaume Ayoub bf29632ad3 Merge pull request #2233 from dhdaines/issue-2054
Keep auto margins on box in flex layout
2024-08-19 15:06:07 +02:00
David Huggins-Daines bb95cd0e83 fix: keep auto margins on box for a while (fixes: #2054) 2024-08-18 20:56:10 -04:00
David Huggins-Daines 4771c359d7 fix: calculate cross size and use calculated size (fixes: #1171) 2024-08-18 07:52:05 -04:00
David Huggins-Daines 0217f38ec8 test: test flex-dimension column for issue #2222 2024-08-18 07:52:05 -04:00
David Huggins-Daines e8ef883afc fix: use top/bottom margins in column layout (programming error) 2024-08-18 07:52:05 -04:00
David Huggins-Daines dd5dcca51c fix: clarify comments some more 2024-08-18 07:52:05 -04:00
David Huggins-Daines bfeefa41b7 fix: use main size of flex container to grow/shrink (fixes: #2222) 2024-08-18 07:52:05 -04:00
David Huggins-Daines ce6253f7f7 fix: use the *used main size* to compute cross size (fixes: #2222) 2024-08-18 07:52:05 -04:00
David Huggins-Daines 7019fe96dc refactor: remove redundant test/indentation 2024-08-18 07:52:05 -04:00
David Huggins-Daines 9e8eaae25d test: only assert on non-debug logs 2024-08-18 07:52:05 -04:00
David Huggins-Daines f262e8ddd5 feat: annotate flex_layout with flex algorithm and debug logs 2024-08-18 07:52:05 -04:00
David Huggins-Daines 4cd11c6243 feat: add id to repr if present (for debugging) 2024-08-17 10:45:44 -04:00
Guillaume Ayoub f17bd4bfca Avoid nested loops for intermediate intrinsic percentage widths
Fix #1155.
2024-08-11 14:04:49 +02:00
Guillaume Ayoub 1b8ac91004 Don’t crash with empty list marker strings
Fix #1883.
2024-08-10 21:10:46 +02:00
Guillaume Ayoub 9213f62f45 Fix vertical alignment of out-of-flow elements in tables
Fix #2216.
2024-08-10 09:59:24 +02:00
Guillaume Ayoub 50456dfa96 Improve speed of table layout 2024-08-02 19:03:18 +02:00
Guillaume Ayoub 3b6c8efa89 Merge pull request #2220 from dhdaines/debug_logs
Add extra information to debug logs
2024-08-02 15:53:04 +02:00
Guillaume Ayoub 992133aad0 Merge pull request #2219 from dhdaines/issue-996
Don't ignore absolutely positioned elements inside flex
2024-08-02 15:09:57 +02:00
Guillaume Ayoub 647adce840 Minor coding style modification 2024-08-02 14:33:30 +02:00
David Huggins-Daines 40d9afb460 feat: add extra information to debug logs 2024-08-01 15:44:08 -04:00
David Huggins-Daines b8a81a7462 fix: lint 2024-08-01 15:43:37 -04:00
David Huggins-Daines 95975b7679 test: test absolute in flex 2024-08-01 15:34:54 -04:00
David Huggins-Daines 2aa60d19e9 fix: handle absolutely positioned elements in flex (fixes: #996) 2024-08-01 15:23:19 -04:00
Guillaume Ayoub 3f07e03331 Don’t crash with normal column gap
Fix #2217.
2024-08-01 20:11:50 +02:00
Guillaume Ayoub 8b210bdbad Merge pull request #2208 from Kozea/forms
Submit PDF forms
2024-08-01 16:56:39 +02:00
Guillaume Ayoub e6bf69aae8 Merge pull request #2211 from gteti/patch-1
Fixing link to weasyprint.org/#samples/
2024-07-29 14:26:31 +02:00
Guillaume Ayoub 72c81659c6 Fix example link in documentation 2024-07-29 14:25:15 +02:00
Gianluca Teti 15772ba889 Fixing link to weasyprint.org/#samples/ 2024-07-26 08:49:45 +02:00
Guillaume Ayoub e438d22dba Clean and simplify PDF form generation 2024-07-21 17:07:42 +02:00
Guillaume Ayoub 7b85115dee Handle submit inputs and buttons 2024-07-21 15:19:49 +02:00
Guillaume Ayoub 1245d33a20 Use CSS instead of removing children to display PDF forms
This way, we’re more sure that the layout is the same with or without PDF
forms.
2024-07-21 14:05:27 +02:00
Guillaume Ayoub 5b98692029 Change homepage of the project on PyPI 2024-07-18 23:24:16 +02:00
Guillaume Ayoub c345629b33 Limit maximum version of dependencies
Fix #2200.
2024-07-12 18:06:46 +02:00
Guillaume Ayoub 071e73320c Don’t assume that lines break after spaces
Fix #1817.
2024-07-11 14:20:03 +02:00
Guillaume Ayoub 126abd3347 Don’t break rows with atomic cells
Fix #1868.
2024-07-11 08:49:12 +02:00
Guillaume Ayoub 3a1259fa91 Don’t display bottom border on cells in split rows
Fix #2166.
2024-07-10 20:36:35 +02:00
Guillaume Ayoub 4be6045bac Explain that users shouldn’t launch WeasyPrint as root
Related to github/advisory-database#4587.
2024-07-10 12:52:48 +02:00
Guillaume Ayoub 5c8b3a2433 Add option to include default sRGB profile for RGB colors 2024-07-10 07:21:01 +02:00
Guillaume Ayoub dd7cee28a0 Use new pydyf API 2024-07-06 16:40:27 +02:00
Guillaume Ayoub 61852c4098 Capture fontTools logs when subsetting fonts
Fix #2169.
2024-07-03 21:35:38 +02:00
Guillaume Ayoub e5fa17ec62 Merge pull request #2195 from OmeGak/patch-1
Update `cache` argument in docs
2024-07-03 11:00:35 +02:00
Guillaume Ayoub 1f41486af4 Log warning when unknown rendering option is given 2024-07-03 10:29:31 +02:00
Alejandro Avilés 5441f326dd Update cache argument in docs 2024-06-27 15:56:16 +02:00
Guillaume Ayoub b6b1543a09 Merge pull request #2190 from xavidotron/main
Don't use a pattern when drawing backgrounds for no-repeat background images
2024-06-22 13:05:23 +02:00
Xavid e30af661c7 Merge branch 'Kozea:main' into main 2024-06-21 16:53:06 -04:00
Xavid Pretzer 7fe4b06638 Use an image directly rather than via a pattern when the background is no-repeat. 2024-06-21 16:52:10 -04:00
Guillaume Ayoub 8818a30f58 Merge branch '62.x' 2024-06-21 17:50:44 +02:00
Guillaume Ayoub 56acbc422e Version 62.3 2024-06-21 17:46:31 +02:00
Guillaume Ayoub 6392aa71e9 Put weasyprint font in default CSS for tests
That’s much faster and avoids a useless duplicate declaration in tests.
2024-06-21 13:20:52 +02:00
Guillaume Ayoub 15f797c326 Remove x-* style from CSS for tests
This was done to avoid html5lib’s specific management of table tags. Let’s keep
the CSS clean.
2024-06-21 13:18:34 +02:00