Commit Graph

31 Commits

Author SHA256 Message Date
Ana Guerrero
4fecdcb105 Accepting request 1109250 from devel:languages:python
- Update to 2.7.1:
  * Don't draw clipPath when defined after reference
  * Handle evenodd fill rule with gradients and patterns
  * Fix ratio and clip for "image" tags with no size
  * Handle data-URLs in safe mode
  * Use f-strings
- Update to 2.7.0 (bsc#1209538, CVE-2023-27586):
  WARNING: this is a security update.
  When processing SVG files, CairoSVG could access other files online,
  possibly leading to very long renderings or other security problems.
  This feature is now disabled by default. External resources can still be
  accessed using the "unsafe" or the "url_fetcher" parameter.
- add sle15_python_module_pythons (jsc#PED-68)
- Make calling of %{sle15modernpython} optional.
- update to 2.6.0:
  * Drop support of Python 3.5 and 3.6, add support of Python 3.9,
    3.10 and 3.11
  * Support crispEdges value for text antialiasing
  * Don’t crash when including CMYK images
  * Only update docstrings when not optimized
  * Don’t restore current point after empty paths
  * Assume that 1ch equals 0.5em
  * Fix various deprecation warnings 
- Update to version 2.5.2
  * Fix marker path scale
- Update to version 2.5.1 (bsc#1180648, CVE-2021-21236):
  * Security fix: When processing SVG files, CairoSVG was using two
    regular expressions which are vulnerable to Regular Expression 
    Denial of Service (REDoS). If an attacker provided a malicious 
    SVG, it could make CairoSVG get stuck processing the file for a 
    very long time.
  * Fix marker positions for unclosed paths
  * Follow hint when only output_width or output_height is set
  * Handle opacity on raster images
  * Don’t crash when use tags reference unknown tags
  * Take care of the next letter when A/a is replaced by l
  * Fix misalignment in node.vertices
- Updates for version 2.5.0.
  * Drop support of Python 3.5, add support of Python 3.9.
  * Add EPS export
  * Add background-color, negate-colors, and invert-images options
  * Improve support for font weights
  * Fix opacity of patterns and gradients
  * Support auto-start-reverse value for orient
  * Draw images contained in defs
  * Add Exif transposition support
  * Handle dominant-baseline
  * Support transform-origin
- Add _service file to fetch required submodule.
- Update to 2.4.2:
  * Fix race condition in tests
  * Fix scale for images with no viewBox
- Update to 2.4.1:
  * Fix the scale parameter
  * Allow href attributes with no namespace
  * Fix the tree root detection
- Update to 2.4.0:
  * Fix aspect and position when resizing root SVG tag
  * Follow aspect and position hints when using forced output size
- Update to 2.3.1:
  * Fix relative paths on Windows
- Update to 2.3.0:
  * Drop Python 3.4 support
  * Make text selectable on generated PDF files
  * Don't inherit dx and dy attributes
  * Fix support of alignment-baseline="hanging"
  * Fix backslashes in docstrings and comments
  * Fix local anchors with files with no given URL
  * Close VERSION's file descriptor
  * Fix T commands used with previous relative commands in paths
  * Use real functions for svg2* commands, improving IDE integration
  * Handle image-rendering property
  * Fix crash with some text samples
  * Fix position of embedded svg tags with a viewbox not at position (0, 0)
  * Add output-width and output-height options
  * Handle references to inner document tags defined after the anchor
  * Fix offsets for texts on paths
- Run tests manualy reducing the test dependencies a bit
- Ensure neutrality of description.
- Remove superfluous devel dependency for noarch package
- Update to version 2.1.3
  * Fix T commands following q or t in paths
- Update to version 2.1.2
  * Fix font-size
- Update to version 2.1.1
  * Use http://www.w3.org/2000/svg as default namespace
- Update to version 2.1.0
  * Use cssselect2 and tinycss2 instead of cssselect and tinycss
  * Don't require lxml anymore
  * Rely on defusedxml to detect unsafe SVG files
- Implement single-spec version.
- Split Python2 version into separate package due to upstream
  dropping Python2 support.
- Update to Version 2.0.3
  * Add ``python_requires`` in ``setup.py``
- Update to Version 2.0.2
  * Handle ``text-align`` in textPath tags
  * Test with Python 3.6
- Update to Version 2.0.1
  * Don't crash on relative refs with no input URL
- Update to Version 2.0.0
  * Drop Python 2 support
  * Drop pycairo support
  * Rely on cairocffi, lxml, cssselect, pillow and tinycss
  * Fix markers
  * Fix URL/id handling
  * Use bounding boxes for gradients
  * Split deployment and development tests
  * Add a scale option
  * Add a parent size option
  * Test with Travis
- Update to Version 1.0.22
  * Fix crash when lxml is not installed
- Update to Version 1.0.21
  **WARNING:** this is a security update.
  CairoSVG was vulnerable to XML eXternal Entity (XXE) attacks, this release
  fixes this vulnerability by not resolving the XML entities anymore.
  The ``--unsafe`` option has been added to force the resolution of XML
  entities. Obviously, this option is not safe and should only be used with
  trusted SVG files.
- Update to Version 1.0.20
  * Allow the user to give parent size
- Update to Version 1.0.19
  * Drastically improve the performance of ``Node()``
- Update to Version 1.0.18
  * Use cairo groups to apply filters
- Update to Version 1.0.17
  * Fix scale and position of markers
- Update to Version 1.0.16
  * Support the text-rendering property
- Update to Version 1.0.15
  * Use xMidYMid as default preserveAspectRatio value
- Update to Version 1.0.14
  * Support the shape-rendering property
- Update to Version 1.0.13
  * Fix end markers
- Update to Version 1.0.12
  * Don't crash when paths with markers end with a move_to action
- Update to Version 1.0.11
  * Allow commas in viewboxes
- Update to Version 1.0.10
  * Allow quotes around font names
- Update to Version 1.0.9
  * Don't crash when gradients are applied to paths
- Update to Version 1.0.8
  * Don't create an atomic layer for transparent tags with no children
- Update to Version 1.0.7
  * Fix scaling with negative viewBox origin
  * Automatically detect size and position of circles and ellipses for gradients
- Update to Version 1.0.6
  * Fall back to pycairo if cairocffi is unable to find the cairo library
- Update to Version 1.0.5
  * Don't inherit clip* and overflow properties
  * Don't transform the root svg tag according to the PreservAspectRatio attribute
  * Add simple support for alignment-baseline
  * Add cairocffi into setup.py deps
- Update to Version 1.0.4
  * Clear relative coordinates when absolute coordinates are set in tspan tags
- Update to Version 1.0.3
  * Fix clips and viewboxes
  * Don't draw an empty image when locale is not set
- Update to Version 1.0.2
  * Don't crash when locale is not set
  * Get the xml_tree from the root parent when creating nodes from string
- Update to Version 1.0.1
  * Don't crash when svg tag has no width or height
- Update to Version 1.0
  * CairoCFFI support
  * Support of more external CSS stylesheets
  * Handle more filters
  * Use pillow instead of pystacia
  * Fix a lot of bugs with text (whitespaces, text on a path, etc.)
  * Inherit attributes in ``use`` tags
  * Cache trees for ``use`` tags
  * Handle conditional structures
- Initial version (0.5) for openSUSE.

OBS-URL: https://build.opensuse.org/request/show/1109250
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CairoSVG?expand=0&rev=13
2023-09-10 11:09:13 +00:00
3d2fea72d7 - Add bug number to version 2.5.1 (bsc#1180648, CVE-2021-21236)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=31
2023-09-06 10:44:31 +00:00
feb4308616 - Update to 2.7.1:
* Don't draw clipPath when defined after reference
  * Handle evenodd fill rule with gradients and patterns
  * Fix ratio and clip for "image" tags with no size
  * Handle data-URLs in safe mode
  * Use f-strings

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=30
2023-09-06 10:13:30 +00:00
01415f11a6 - Update to 2.7.0 (bsc#1209538, CVE-2023-27586) in changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=29
2023-09-06 09:37:21 +00:00
Dominique Leuenberger
3f554898e7 Accepting request 1085642 from devel:languages:python
- Update to 2.7.0:
  WARNING: this is a security update.
  When processing SVG files, CairoSVG could access other files online,
  possibly leading to very long renderings or other security problems.
  This feature is now disabled by default. External resources can still be
  accessed using the "unsafe" or the "url_fetcher" parameter.

OBS-URL: https://build.opensuse.org/request/show/1085642
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CairoSVG?expand=0&rev=12
2023-05-10 14:16:22 +00:00
342d245e34 - Update to 2.7.0:
WARNING: this is a security update.
  When processing SVG files, CairoSVG could access other files online,
  possibly leading to very long renderings or other security problems.
  This feature is now disabled by default. External resources can still be
  accessed using the "unsafe" or the "url_fetcher" parameter.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=27
2023-05-09 06:34:58 +00:00
Dominique Leuenberger
248a5789fd Accepting request 1082048 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1082048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CairoSVG?expand=0&rev=11
2023-04-22 20:02:52 +00:00
4175138ae7 Accepting request 1081290 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081290
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=25
2023-04-21 15:07:58 +00:00
Dominique Leuenberger
b69f6a145a Accepting request 1073663 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1073663
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CairoSVG?expand=0&rev=10
2023-03-24 14:18:56 +00:00
4581e6ecb2 - update to 2.6.0:
* Drop support of Python 3.5 and 3.6, add support of Python 3.9,
    3.10 and 3.11
  * Support crispEdges value for text antialiasing
  * Don’t crash when including CMYK images
  * Only update docstrings when not optimized
  * Don’t restore current point after empty paths
  * Assume that 1ch equals 0.5em
  * Fix various deprecation warnings

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=23
2023-03-14 22:34:10 +00:00
Richard Brown
3cea8f0a1f Accepting request 911829 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/911829
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CairoSVG?expand=0&rev=9
2021-08-16 08:08:35 +00:00
ce994b4561 Accepting request 911820 from home:glaubitz:branches:devel:languages:python
- Update to version 2.5.2
  * Fix marker path scale

OBS-URL: https://build.opensuse.org/request/show/911820
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=22
2021-08-12 13:51:29 +00:00
Dominique Leuenberger
cacb700980 Accepting request 862435 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/862435
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CairoSVG?expand=0&rev=8
2021-01-14 14:04:16 +00:00
844abfbe9d Accepting request 862141 from home:andythe_great:branches:devel:languages:python
- Update to version 2.5.1.
  * Security fix: When processing SVG files, CairoSVG was using two
    regular expressions which are vulnerable to Regular Expression 
    Denial of Service (REDoS). If an attacker provided a malicious 
    SVG, it could make CairoSVG get stuck processing the file for a 
    very long time.
  * Fix marker positions for unclosed paths
  * Follow hint when only output_width or output_height is set
  * Handle opacity on raster images
  * Don’t crash when use tags reference unknown tags
  * Take care of the next letter when A/a is replaced by l
  * Fix misalignment in node.vertices
- Updates for version 2.5.0.
  * Drop support of Python 3.5, add support of Python 3.9.
  * Add EPS export
  * Add background-color, negate-colors, and invert-images options
  * Improve support for font weights
  * Fix opacity of patterns and gradients
  * Support auto-start-reverse value for orient
  * Draw images contained in defs
  * Add Exif transposition support
  * Handle dominant-baseline
  * Support transform-origin
- Add _service file to fetch required submodule.

OBS-URL: https://build.opensuse.org/request/show/862141
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=20
2021-01-11 20:39:14 +00:00
Dominique Leuenberger
df19be4707 Accepting request 732870 from devel:languages:python
- Update to 2.4.2:
  * Fix race condition in tests
  * Fix scale for images with no viewBox

OBS-URL: https://build.opensuse.org/request/show/732870
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CairoSVG?expand=0&rev=7
2019-09-30 13:54:05 +00:00
Tomáš Chvátal
2ce715b3b5 - Update to 2.4.2:
* Fix race condition in tests
  * Fix scale for images with no viewBox

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=18
2019-09-24 08:48:09 +00:00
Dominique Leuenberger
6697a7a968 Accepting request 729372 from devel:languages:python
- Update to 2.4.1:
  * Fix the scale parameter
  * Allow href attributes with no namespace
  * Fix the tree root detection

OBS-URL: https://build.opensuse.org/request/show/729372
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CairoSVG?expand=0&rev=6
2019-09-23 10:02:39 +00:00
Tomáš Chvátal
89873fa350 - Update to 2.4.1:
* Fix the scale parameter
  * Allow href attributes with no namespace
  * Fix the tree root detection

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=16
2019-09-09 09:18:09 +00:00
Dominique Leuenberger
e282379d03 Accepting request 707611 from devel:languages:python
- Update to 2.4.0:
  * Fix aspect and position when resizing root SVG tag
  * Follow aspect and position hints when using forced output size

OBS-URL: https://build.opensuse.org/request/show/707611
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CairoSVG?expand=0&rev=5
2019-06-07 10:18:04 +00:00
Tomáš Chvátal
07c1ecf199 - Update to 2.4.0:
* Fix aspect and position when resizing root SVG tag
  * Follow aspect and position hints when using forced output size

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=14
2019-06-04 13:55:32 +00:00
Dominique Leuenberger
7f75ad253a Accepting request 699369 from devel:languages:python
- Update to 2.3.1:
  * Fix relative paths on Windows

OBS-URL: https://build.opensuse.org/request/show/699369
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CairoSVG?expand=0&rev=4
2019-05-05 19:18:39 +00:00
Tomáš Chvátal
186332642a - Update to 2.3.1:
* Fix relative paths on Windows

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=12
2019-04-29 07:57:54 +00:00
Stephan Kulow
af1e5a797e Accepting request 674604 from devel:languages:python
- Update to 2.3.0:
  * Drop Python 3.4 support
  * Make text selectable on generated PDF files
  * Don't inherit dx and dy attributes
  * Fix support of alignment-baseline="hanging"
  * Fix backslashes in docstrings and comments
  * Fix local anchors with files with no given URL
  * Close VERSION's file descriptor
  * Fix T commands used with previous relative commands in paths
  * Use real functions for svg2* commands, improving IDE integration
  * Handle image-rendering property
  * Fix crash with some text samples
  * Fix position of embedded svg tags with a viewbox not at position (0, 0)
  * Add output-width and output-height options
  * Handle references to inner document tags defined after the anchor
  * Fix offsets for texts on paths
- Run tests manualy reducing the test dependencies a bit

OBS-URL: https://build.opensuse.org/request/show/674604
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CairoSVG?expand=0&rev=3
2019-02-28 20:39:23 +00:00
Tomáš Chvátal
6ae2a4296f OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=10 2019-02-13 15:04:34 +00:00
Tomáš Chvátal
ac9e3412a4 - Update to 2.3.0:
* Drop Python 3.4 support
  * Make text selectable on generated PDF files
  * Don't inherit dx and dy attributes
  * Fix support of alignment-baseline="hanging"
  * Fix backslashes in docstrings and comments
  * Fix local anchors with files with no given URL
  * Close VERSION's file descriptor
  * Fix T commands used with previous relative commands in paths
  * Use real functions for svg2* commands, improving IDE integration
  * Handle image-rendering property
  * Fix crash with some text samples
  * Fix position of embedded svg tags with a viewbox not at position (0, 0)
  * Add output-width and output-height options
  * Handle references to inner document tags defined after the anchor
  * Fix offsets for texts on paths
- Run tests manualy reducing the test dependencies a bit

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=9
2019-02-13 14:58:11 +00:00
Dominique Leuenberger
25f16217b2 Accepting request 655391 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/655391
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CairoSVG?expand=0&rev=2
2018-12-13 18:47:07 +00:00
Todd R
29e5250d44 Accepting request 654131 from home:jengelh:branches:devel:languages:python
- Ensure neutrality of description.

OBS-URL: https://build.opensuse.org/request/show/654131
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=7
2018-12-05 19:21:23 +00:00
f11be470bb Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=6
2018-12-04 13:18:38 +00:00
Dominique Leuenberger
e6de768f8f Accepting request 612557 from devel:languages:python
SVG Converter for Cairo

OBS-URL: https://build.opensuse.org/request/show/612557
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CairoSVG?expand=0&rev=1
2018-05-29 14:51:40 +00:00
Todd R
e31c8093ee OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=2 2018-05-28 01:28:31 +00:00
Todd R
57c014f1d1 Accepting request 612032 from devel:languages:python:misc
SVG Converter for Cairo

OBS-URL: https://build.opensuse.org/request/show/612032
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=1
2018-05-24 20:56:21 +00:00