* Wed Jul 24 2019 tchvatal@suse.com
- Provide python-pycairo symbol to play nice with backporting
python stack as new TW contains just this as a proper package
name bsc#1142582
* Thu Aug 24 2017 zaitor@opensuse.org
- Update to version 1.15.1:
+ Fixes:
- Improved support for Python filesystem paths including
os.PathLike. See pathlike for details.
- Various minor fixes.
+ Changes: Expose cairo.Path.
+ Tests: Improved test coverage from ~70% to ~90%.
- Changes from version 1.15.0:
+ New Features:
- Add Surface.map_to_image() and Surface.unmap_image().
- Add RasterSourcePattern.
- Add Glyph.
- Add Rectangle.
- Add TextCluster.
- Add ScaledFont.text_to_glyphs() and
ScaledFont.glyph_extents().
- Add Context.show_text_glyphs().
- Add TextExtents.
+ Changes:
- Pycairo instances wrapping the same underlying cairo object
now hash and compare equally e.g. context.get_target() ==
context.get_target().
- Functions which returned a cairo error with Status.NO_MEMORY
no longer raise MemoryError, but a subclass of Error and
MemoryError. Similarly errors with Status.READ_ERROR and
Status.WRITE_ERROR no longer raise IOError, but a subclass of
Error and IOError.
- Some functions which previously returned a tuple now return a
tuple subclass like Rectangle, Glyph, TextCluster and
TextExtents.
- Changes from version 1.14.1:
+ Fixes: Fix a crash with Surface.get_device().
- Changes from version 1.14.0:
+ General: Requires at least cairo 1.13.1.
+ Tests: Optional Hypothesis tests.
+ New Features:
- Add Surface.set_device_scale() and
Surface.get_device_scale().
- Add Device.
- Add Surface.get_device().
- Add ScriptDevice and ScriptMode.
- Add ScriptSurface.
- Add Status.JBIG2_GLOBAL_MISSING.
- Add Format.stride_for_width().
- Add TextClusterFlags and SurfaceObserverMode.
- Add Gradient.get_color_stops_rgba().
- Add TeeSurface.
- Add MeshPattern.
- Changes from version 1.13.4:
+ Fixes: Fix a rare crash with get_data() under Python 3 (1.13.3
regression).
* Fri Jun 23 2017 jmatejek@suse.com
- fix requires for devel subpackage
* Sun Jun 18 2017 dimstar@opensuse.org
- Update to version 1.13.3:
+ Fix ImageSurface leaking in case
:meth:`get_data() <ImageSurface.get_data>` is used under
Python 3 (gh#pygobject/pycairo#43).
- Changes from version 1.13.2:
+ Fix pip failing to install pycairo in some cases
(gh#pygobject/pycairo#39).
- Changes from version 1.13.1:
+ setup.py install: Fix generated pkg-config file if ``--home``
or ``--user`` is specified (gh#pygobject/pycairo#34).
+ Fix a build error on macOS Sierra (gh#pygobject/pycairo#36)
+ examples: Fix snippet examples when .pyc files are present
(gh#pygobject/pycairo#35).
- For more changes since the last package update, see NEWS inside.
- Implement python single-spec packaging: since pycairo 1.11.0, the
sources for python2 and python3 based bindings have been merged
again.
* Sat Feb 25 2017 toddrme2178@gmail.com
- Add python2-cairo and python2-cairo-devel provides for
compatibility with the new multipython spec file macros.
* Fri Apr 05 2013 idonmez@suse.com
- Add Source URL, see https://en.opensuse.org/SourceUrls
* Mon Oct 08 2012 schwab@linux-m68k.org
- Build with %{optflags}
* Wed Feb 01 2012 saschpe@suse.de
- Add group to devel package
* Tue Jan 10 2012 coolo@suse.com
- trying to get the license right for spdx
* Fri Jun 17 2011 vuntz@opensuse.org
- Update to version 1.10.0:
+ New Constants:
- cairo.FORMAT_RGB16_565
+ Bug Fixes:
- context.get_source().get_surface() fails (fdo#33013)
+ Improve/simplify unicode filename and text support.
+ Build related changes.
- Move to using waf for the build as the autotools support is
broken.
- Recompile the generated byte-code with %py_compile, as the
waf-generated byte-code references the build root. This is a bug
in waf, see http://code.google.com/p/waf/issues/detail?id=986
* Sat Sep 18 2010 vuntz@opensuse.org
- Update to version 1.8.10:
+ New Classes/Types:
- Win32PrintingSurface
- XCBSurface - add XCB support using xpyb
+ Bug Fixes:
- Fix for libtool 2.2 (fdo#27974).
- Mingw32 and pypy fixes (fdo#25203).
+ Other Changes:
- Tests updated.
* Wed Dec 02 2009 vuntz@opensuse.org
- Update to version 1.8.8:
+ General Changes:
- Pycairo 1.8.8 requires cairo 1.8.8 (or later).
- Move from CVS to git.
- Add support for the waf build tool.
+ Updated methods
- The PDF/PS/SVGSurface constructors now accept None as a
filename.
* Tue Jul 21 2009 lmedinas@gmail.com
- Update to version 1.8.6:
+ Bug Fixes:
- ImageSurface.create_from_png _read_func fix
- ToyFontFace type fix
- fdo#19221: restore cairo.Matrix '*' operator to the way it
originally worked.
+ Documentation completed
* Thu Mar 19 2009 vuntz@novell.com
- Update to version 1.8.4:
+ General Changes:
- Pycairo 1.8.4 requires cairo 1.8.4 (or later) and Python 2.6
+ Bug Fixes:
- fdo#20674: Add get/set_extend for Gradient Patterns
+ New Classes:
- cairo.ToyFontFace
+ New Methods:
- Pattern.get_extend
- Pattern.set_extend
- ToyFontFace.get_family
- ToyFontFace.get_slant
- ToyFontFace.get_weight
+ Deleted Methods:
- SurfacePattern.get_extend
- SurfacePattern.set_extend
+ Other Changes:
- Threading for surfaces with stream functions has been
reenabled.
- Documentation updates.
- Stop re-defining _prefix.
- Remove unneeded BuildRequires: gtk2-devel, libjpeg-devel,
python-numeric, update-desktop-files.
- Add BuildRequires: cairo-devel, fdupes.
- Remove Suggests on python-numeric (Numeric support was removed).
- Remove Suggests on python-gtk since, well, there's no real reason
to put it.
- Stop running suse_update_config.
- Use fdupes.
* Sun Feb 01 2009 mboman@suse.de
- Update to version 1.8.2:
+ bfo#19287: Threading support results in crashes in
cairo.ImageSurface
+ Context.set_scaled_font
+ API changes
* Matrix multiplication:
* old code: matrix3 = matrix1 * matrix2
* new equivalent code: matrix3 = matrix1.multiply(matrix2)
* matrix3 = matrix1 * matrix2
is now equivalent to matrix3 = matrix2.multiply(matrix1)
which is consistent with standard matrix multiplication.
* Wed Dec 24 2008 mboman@suse.de
- Update to version 1.8.0:
+ General Changes:
- Pycairo 1.8.0 requires cairo 1.8.0 (or later).
- Add documentation (available separately)
+ Bug Fixes:
- bfo#18101: Add support for threading
- bfo#18947: cairo.SurfacePattern should INCREF the used surface
+ New Methods:
- ScaledFont.get_scale_matrix
- Surface.mark_dirty_rectangle
- Surface.set_fallback_resolution
+ New Constants:
- cairo.EXTEND_PAD
- cairo.HAS_IMAGE_SURFACE
- cairo.HAS_USER_FONT
+ API Changes:
- Surface.mark_dirty: no longer accepts keyword arguments with default
values.
- PycairoPattern_FromPattern (C API): has a new 'base' argument
+ Other Changes:
- Allow unknown cairo Pattern/Surface types to use the pycairo base
- Pattern/Surface type.
* Fri Sep 12 2008 maw@suse.de
- Update to version 1.6.4:
+ Bugs fixed: bfo#16112
+ New methods: Context.has_current_point, Context.path_extents,
ImageSurface.format_stride_for_width, PSSurface.get_eps,
PSSurface.set_eps, PSSurface.ps_level_to_string,
PSSurface.restrict_to_level, Surface.copy_page, and
Surface.show_page
+ New Constants: cairo.PS_LEVEL_2, cairo.PS_LEVEL_3
+ Updated examples.
* Fri Jul 18 2008 jpr@suse.de
- Remove libsvg-cairo-devel from BuildRequires, it hasn't been
needed for a long time
* Thu Apr 03 2008 hpj@suse.de
- Upgraded to version 1.4.12:
* mingw32 compiler fixes.
* New methods added.
* The module cairo.gtk has been removed.
* Allow cairo.Context to be subclassed.
* Mon Feb 26 2007 maw@suse.de
- Don't package _cairo.la (#223703).