Guillaume Ayoub
2ee4516786
Handle the ::marker pseudo-element
...
Fix #700 .
2019-08-07 23:01:41 +02:00
Guillaume Ayoub
ad8ab62280
Same optimization as previous commit for inline level boxes
2019-07-11 15:03:40 +02:00
Guillaume Ayoub
005d9a3c9f
Don't copy style when removing decorations if there's no need to
...
It saves a lot of memory for very long paragraphs with no decoration style.
2019-07-11 14:48:58 +02:00
Guillaume Ayoub
76c3a47607
Fix comment and remove useless attribute setting when copying boxes
2019-07-10 18:32:00 +02:00
Guillaume Ayoub
4e80f4cccf
Remove enumerate_skip
...
It used to be really slow, at least on large inline containers.
2019-07-09 17:58:20 +02:00
Guillaume Ayoub
6dcc17f151
Take care of text-overflow to set ellipsis
...
Fix #874 .
2019-07-04 12:00:03 +02:00
Guillaume Ayoub
d753b301a1
Always set outside_list_marker property on boxes
2019-05-31 07:18:25 +02:00
Guillaume Ayoub
2a4521099c
Merge branch 'master' into box-decoration-break
2019-03-15 15:10:13 +01:00
Guillaume Ayoub
b7a9fe7dcc
Update copyright
2019-03-04 11:04:06 +01:00
Guillaume Ayoub
e2b492fb35
Only remove box decorations when box-decoration-break: slice
2019-02-28 15:50:47 +01:00
Guillaume Ayoub
9f4d2c1501
Remove border radius when breaks happen in boxes
2019-02-27 11:45:23 +01:00
Guillaume Ayoub
56904baa79
Use the same copyright line everywhere
2018-09-20 18:46:27 +02:00
Guillaume Ayoub
092b03bac6
Don't translate rtl columns twice
...
Fix #574 .
2018-02-20 02:11:45 +01:00
Guillaume Ayoub
5341031162
Merge branch 'master' into flexbox
2018-02-19 14:32:19 +01:00
Guillaume Ayoub
c6e54d77f0
Remove pylint comments
2018-01-14 01:52:49 +01:00
Guillaume Ayoub
16e8186568
Drop Python 2 support
2018-01-14 01:48:17 +01:00
Guillaume Ayoub
ad11edfff2
Remove StyleDict objects
2018-01-13 17:41:08 +01:00
Guillaume Ayoub
724565f27a
Don't allow attribute access to StyleDict objects
2018-01-13 17:05:23 +01:00
Guillaume Ayoub
359d42c641
Remove style's anonymous attribute
2018-01-13 16:34:14 +01:00
Guillaume Ayoub
e9fdb0d843
Don't consider the flex container box as a block container box
2018-01-09 00:40:06 +01:00
Guillaume Ayoub
4f60ba9173
Initial support of baseline alignments for flex layout
2017-12-29 01:23:41 +01:00
Guillaume Ayoub
3027417f88
Merge branch 'master' into flexbox
2017-12-27 01:07:27 +01:00
Guillaume Ayoub
d62bfec60b
Keep track of removed collapsing spaces for wrap opportunities
2017-12-26 12:39:20 +01:00
Guillaume Ayoub
878cc41c51
Add a keywoard to translate boxes ignoring floating children
2017-12-12 18:20:00 +01:00
Guillaume Ayoub
ce70354488
Don't cross the whole tree when translating boxes by (0, 0)
2017-12-12 18:18:18 +01:00
lucien
34b825033d
WIP: Flexbox - Step 1 and 2 of flexbox layout
2017-12-07 17:34:28 +01:00
Guillaume Ayoub
d4357e5a4a
Copy styles for split boxes
...
This fixes blocks split between pages and inlines boxes split by block boxes.
Increases memory usage, related to #70 .
2017-08-17 07:54:14 +02:00
Guillaume Ayoub
86be0e9287
Return the next page value in block_level_page_break
2017-08-04 11:51:35 +02:00
Guillaume Ayoub
f7903925fd
Use a separate variable for justification spacing
2017-08-01 10:07:36 +02:00
Guillaume Ayoub
344cb08f60
Don't copy styles when copying boxes, improve memory management
...
Style is not copied anymore when boxes are duplicated. Style dicts are not
modified anymore during the layout, as it was before for some properties:
- margins, borders and paddings when the box was split between two
pages (useless as these computed values are stored directly in the box),
- top borders were changed in tables (useless for the same reason),
- bookmark labels and string sets are now stored in the box.
This commit can introduce very subtle bugs that are hard to debug. In the
future, we should try to freeze the style dicts before the layout.
Related to #70 .
2017-07-22 13:51:03 +02:00
Guillaume Ayoub
df50204f3e
Remove unsupported source lines
2017-07-01 00:28:14 +02:00
Guillaume Ayoub
b4a95c1fbe
Why did isort decide to become this intolerant?
2017-06-03 16:05:33 +02:00
Guillaume Ayoub
10ee68d432
Fix imports for this crazy nazisort
2017-06-03 15:46:37 +02:00
Hugh Secker-Walker
376bf0fd73
Fix mutable default-argument in MarginBox constructor
2017-05-01 17:54:03 -04:00
Guillaume Ayoub
05d5e7d726
Don't always copy boxes
2016-11-01 04:31:15 +01:00
Guillaume Ayoub
45c815870b
Don't always copy style when copying boxes
2016-11-01 03:35:36 +01:00
Guillaume Ayoub
8b5d426625
Remove useless copies
2016-11-01 02:38:34 +01:00
Guillaume Ayoub
a0dc9d9272
Support text-transform: full-witdh
2016-08-21 00:47:13 +02:00
Guillaume Ayoub
3f7c2fa109
Fix background drawing for table rows and columns
...
The background of table rows, rows groups, columns and columns groups
must only be draw behind cells.
Fix #151 .
2016-01-16 17:33:52 +01:00
Alex Eftimie
93f497bf11
Replace utf8 with utf-8 for gettext compatibility
2015-11-25 09:38:01 +02:00
Guillaume Ayoub
2d7f68e8a1
Use the same simple code for bookmark-labels and string-sets
2015-05-01 21:14:10 +02:00
Simon Sapin
c34221d215
2014.
2014-01-10 14:27:02 +00:00
Guillaume Ayoub
b0c7dd5e4e
Update columns posititions when tables are translated ( fix #82 )
2013-12-27 17:06:31 +01:00
Guillaume Ayoub
4f904a955e
Fix sign error for rounded content box
2013-12-10 18:29:58 +01:00
Simon Sapin
c346f8b061
border-radius: Fix overlapping curves with the used radii
2013-12-10 14:49:34 +00:00
Guillaume Ayoub
effb7d339a
Use any() instead of +/or mix (see #80 )
2013-12-10 15:09:43 +01:00
Guillaume Ayoub
0e02a170af
Fix rounded content box (see #80 )
2013-12-10 15:08:16 +01:00
Guillaume Ayoub
b850d613fe
Add TODOs
2013-12-10 13:33:17 +01:00
Guillaume Ayoub
e7687785fd
Fix background-clip for rounded corners (see #80 )
2013-12-10 13:17:18 +01:00
Guillaume Ayoub
eb22847dd2
Fix min and max calls
2013-06-07 19:21:02 +02:00