inkscape-extensions:master

Last commit made on 2024-04-09
Get this branch:
git clone -b master https://git.launchpad.net/inkscape-extensions

Branch merges

Branch information

Name:
master
Repository:
lp:inkscape-extensions

Recent commits

820170e... by Jan Winkler <email address hidden>

Doc update: New optional key show-stderr in inx file.

Related to https://gitlab.com/inkscape/inbox/-/issues/9679

c0d0875... by ManpreetXSingh <email address hidden>

Revert Vector2d changes

Revert Vector2d

Remove tests about numpy conversion

Readd complex as VectorLike and fix Typehints

Fix Vector2d __init__ and implement __eq__

Mark numpy conversion tests as xfail

This reverts commit b6d3a097e93d5fe61e8b7b550fbebb6be1fb381f.

Make path variables Union[complex, Vector2d]

Change end_point to cend_point in test_split_arc

Fix mypy errors

Add typedef ComplexLike = Union[complex, Vector2d]

Change signature of path function args to ComplexLike

Use _x, _y within Vector2d

raise NotImplementedError in empty body function reverse()

Ruff format

750301c... by Quentin Berthet <email address hidden>

Fix HPGL output issue #522

7afe248... by Pepijn de Vos

Don't draw Defs when exporting DXF

8b6328b... by t0b3 <email address hidden>

Polygon / Polyline: also accept string listing points

i.e. `path="1,2 3,4 5,6"`

d8bba30... by Jonathan Neuhauser <email address hidden>

Change formatter to ruff

b7cb381... by Jonathan Neuhauser <email address hidden>

Add unit test for #480

de96d1f... by Jonathan Neuhauser <email address hidden>

Allow lxml 5.0 and update poetry

1417b81... by Jonathan Neuhauser <email address hidden>

Update extensions to use get_specified_style

8827053... by Jonathan Neuhauser <email address hidden>

Refactor the internal style datastructure

What changed:
- Style now correctly deals with duplicate declarations of different
  !importance, also respecting the order of shorthands
- BaseStyleValue has been removed, it combined parsing and value
  storage in a bad way
- Instead of one big list of properties in properties.py, they are
  cleanly described using dataclasses
- The internal datastructure of styles is now based on tinycss2 tokens
- Style inference methods for single attributes have been added (faster
  than whole-style inference)

Breaking changes:
- Quotation delimiters inside style attributes are normalized to '"',
  and HTML-escaped as &quot;

Optional upgrades:
- Use element.get_computed_style(key) to get the computed value for
  a particular attribute. element.specified_style()(key) will also
  work, but unless you reuse the computed specified_style for many
  properties, that's inefficient.