The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.
There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
pkgsrc changes:
- Inject LIBARCHIVE_{INC,LIB} via MAKE_FLAGS.
When builtin libarchive is used, `libarchive.pc' is not always available
(e.g. on NetBSD).
Changes:
0.1.7
-----
* Adapt to new plugin interface
pkgsrc changes:
- Bump BUILDLINK_API_DEPENDS.girara due to API and ABI changes and delete
BUILDLINK_ABI_DEPENDS.girara that is no more needed.
Changes:
0.2.8
-----
* Adopt CSS to newer GTK+ 3 releases
* Remove obsolete features
* Various fixes and improvments
* Update translations
Release 1.14.12:
Another bugfix release rolling up backported fixes for the past half year.
Features
--------
None
API Changes
-----------
None
Dependency Changes
------------------
None
Performance Optimizations
-------------------------
None
Bug Fixes
---------
* Fix assertion hit with PDFs using Type 4 fonts rendered with user
fonts, due to error when destroying glyph page.
* Fix build error with util/font-view
* Fix handling of truetype fonts with excessively long font names
* Fix falling back to system font with PDFs using certain embedded
fonts, due to truncated font names.
* Fix sigabrt printing documents with fonts lacking the mandatory .nodef
glyph.
* Fix undefined-behavior with integer math.
* Fix various warnings and typos
5.0.0:
Docs: Added docstrings from documentation
Test: Switch from nose to pytest
Rework Source directory layout, preventing accidental import of PIL.
Dynamically link libraqm
Removed scripts directory
TIFF: Run all compressed tiffs through libtiff decoder
GIF: Add disposal option when saving GIFs [linnil1, wiredfool]
EPS: Allow for an empty line in EPS header data
PNG: Add support for sRGB and cHRM chunks, permit sRGB when no iCCP chunk present
Dependencies: Update Tk Tcl to 8.6.8
Decompression bomb error now raised for images 2x larger than a decompression bomb warning
Test: avoid random failure in test_effect_noise
Increased epsilon for test_file_eps.py:test_showpage due to Arch update.
Removed check parameter from _save in BmpImagePlugin, PngImagePlugin, ImImagePlugin, PalmImagePlugin, and PcxImagePlugin.
Make PngImagePlugin.add_text() zip argument type bool
Depends: Updated libwebp to 0.6.1
Remove unnecessary bool() calls in Image.registered_extensions and skipKnownBadTests
Fix count of BITSPERSAMPLE items in broken TIFF files
Fillcolor parameter for Image.Transform
Test: Display differences for test failures
Added executable flag to file with shebang line
Setup: Specify compatible Python versions for pip
Dependencies: Updated libimagequant to 2.11.4
Setup: Warn if trying to install for Py3.7 on Windows
Doc: Fonts can be loaded from a file-like object, not just filename [robin-norwood]
Add eog support for Ubuntu Image Viewer [NafisFaysal]
Test: Test on 3.7-dev on Travis.ci
Dependencies: Update libtiff to 4.0.9
Setup: Replace deprecated platform.dist with file existence check
Build: Fix setup.py on Debian
Docs: Correct error in ImageDraw documentation
Test: Drop Ubuntu Precise, Fedora 24, Fedora 25, add Fedora 27, Centos 7, Amazon v2 CI Support,,,
Dependencies: Updated libimagequant to 2.11.3
Test: Fix test_image.py to use tempfile
Replace PIL.OleFileIO deprecation warning with descriptive ImportError
WebP: Add support for animated WebP files [jd20]
PDF: Set encoderinfo for images when saving multi-page PDF. Fixes.
Allow the olefile dependency to be optional
GIF: Permit LZW code lengths up to 12 bits in GIF decode
Fix unterminiated string and unchecked exception in _font_text_asBytes.
PPM: Use fixed list of whitespace, rather relying on locale, fixes.
Added support for generators when using append_images,
Doc: Correct PixelAccess.rst
Depends: Update raqm to 0.3.0
Docs: Link to maintained version of aggdraw
Include license file in the generated wheel packages
Depends: Update openjpeg to 2.3.0
Add option to Makefile to build and install with C coverage
Add context manager support to ImageFile.Parser and PngImagePlugin.ChunkStream
ImageDraw.textsize: fix zero length error
Unsorted entries in PLIST files have generated a pkglint warning for at
least 12 years. Somewhat more recently, pkglint has learned to sort
PLIST files automatically. Since pkglint 5.4.23, the sorting is only
done in obvious, simple cases. These have been applied by running:
pkglint -Cnone,PLIST -Wnone,plist-sort -r -F
The actual cleanup has been done by pkglint:
* Added missing identifier comments
* Replaced ${PKGMANDIR} with a simple man, since the infrastructure does
all the magic for PLISTs
This has been a pkglint warning for several years now, and pkglint can even
fix it automatically. And it did for this commit.
Only in lang/mercury, two passes of autofixing were necessary because there
were nested variables.
Changelog:
libwebp-0.6.1
- 11/24/2017: version 0.6.1
This is a binary compatible release.
* lossless performance and compression improvements + a new 'cruncher' mode
(-m 6 -q 100)
* ARM performance improvements with clang (15-20% w/ndk r15c, issue #339)
* webp-js: emscripten/webassembly based javascript decoder
* miscellaneous bug & build fixes (issue #329, #332, #343, #353, #360, #361,
#363)
Tool updates / additions:
added webpinfo - prints file format information (issue #330)
gif2webp - loop behavior modified to match Chrome M63+ (crbug.com/649264);
'-loop_compatibility' can be used for the old behavior
The icoutils are a set of command-line programs for extracting and
converting images in Microsoft Windows(R) icon and cursor files.
These files usually have the extension .ico or .cur, but they can
also be embedded in executables and libraries (.dll-files).
Development for the 0.92.2 release was focused primarily on fixing bugs
and regressions. Among hundreds of code commits are fixes that provide:
* Better importing and exporting of EMF/WMF files, PDF/PDF+Latex
documents, Visio Stencil files, and XML files
* Greater stability during printing on Windows
* Improved fill and stroke HSL color selection
* Greater stability when reverting and saving files
Among noteworthy feature and usability improvements are:
* An additional handle at the center of rectangles, circles/ellipses,
and stars, to allow quick and accurate alignment of these shapes with
other objects
* A command line option for updating the file's DPI value that allows for
easier processing of large file collections
* Improvements to user-defined shortcuts, including the acceptance of
previously restricted special characters
1.3.27:
Security Fixes:
* CMYK: Fix heap overwrites in raw CMYK writer. Fix heap overwrites
in raw CMYK reader (noticed when doing montage).
* GIF: Assure that global colormap is initialized.
* DescribeImage(): Fix possible heap write overflow when describing
visual image directory. Fix possible heap read overflow while
accessing heap data, and possible information disclosure while
describing the IPTC profile.
* DICOM: Fix huge memory allocation based on bogus length value (DOS
opportunity).
* DrawDashPolygon(): Fix heap out of bounds read in render code.
* GRAY: Fix heap overwrites in raw GRAY reader (noticed when doing
montage).
* JNG: Fix heap overruns. Fix assertions.
* JNG: Prevent a crash due to zero-length color_image while reading a
JNG image. (CVE-2017-11102). Reject JNG files with unreasonable
dimensions given the file size (avoid DOS).
* JNX: Fix DOS due to excessive memory allocations with corrupt file.
* JPEG: Do not allocate backing image pixels until a scanline has been
successfully read. Avoids DOS opportunity with suitably
manufactured file.
* MAP: Fix null pointer dereference or segmentation violation.
* MAT: Fix heap write overflow.
* MNG: Reject over-large (65k by 65k) image. Fix heap overwrites.
* PAM: Fix heap buffer overflow in PAM writer for 1 bit/sample + alpha.
* PICT: Fix excessive memory allocation due to malformed image file.
* PNG: Fix heap buffer overflow in PNG writer when promoting from
indexed PNG to RGBA.
* PNM: Fix DOS due to excessive memory allocations with corrupt file.
* RGB: Fix heap overwrite in raw RGB writer. Fix heap overwrites in
raw RGB reader (noticed when doing montage).
* RLE: Fix DOS opportunities due to false claims in image header. Fix
heap out of bounds read.
* SFW: Avoid possible heap write overflow.
* SUN: Fix heap read overflow. Fix DOS due to excessive memory
allocations with corrupt file.
* SVG: Fix heap write overflow.
* TIFF: Use heuristics to avoid DOS (excessive memory use) due to
false claims by input file. It is possible that this may reject
some valid files. Fix possible small heap overwrite beyond the
allocated scanline buffer due to the NumberOfObjectsInArray() macro
rounding up rather than down.
* UIL: Fix heap overwrite in writer.
* WPG: Fix DOS issues (memory, disk space, CPU time) due to
insufficient validations. Fix heap overwrites.
* XBM: Fix DOS issue where code remains stuck in loop and does not
return.
* XV 332 (PNM): Fix null pointer dereference due to malformed file.
* TracePSClippingPath()/TraceSVGClippingPath(): Fix heap out of bounds
read.
* Validate path entries in the MAGICK_CODER_MODULE_PATH and
MAGICK_FILTER_MODULE_PATH environment variables and convert all
paths to real paths if possible. This avoids possible use of
relative paths to load modules (a possible security issue), or the
possibility of adding a directory which was in the path, but
missing, and may improve efficiency by removing non-existent paths.
Bug fixes:
* AVS: Memory leaks eliminated.
* CINEON: Fix possible use of NULL pointer.
* CMYK: Memory leaks eliminated.
* CUT: Memory leaks eliminated. Fix possible use of NULL pointer.
* DCM: Fix possible use of NULL pointer.
* DrawImage(): Avoid "negative" strncpy(). This seems to be benign
with glibc but perhaps not with other implementations.
* DPX: Memory leaks eliminated.
* EMF: Fix possible use of NULL pointer.
* FindMagickModule(): Fix possible use of NULL pointer.
* FITS: Fix memory leak.
* GIF: Fix memory leak.
* HDF: Memory leaks eliminated.
* HISTOGRAM: Fix memory leak.
* JNG: Memory leaks eliminated. Memory use after free and double-free
issues eliminated. Error reporting fixes.
* Magick::Options::strokeDashArray(): Fix possible use of NULL pointer.
* MagickXFileBrowserWidget(): Fix possible use of NULL pointer.
* MAT: Memory leaks eliminated.
* MagickMapCloneMap(): Fix possible assertion failure.
* MNG: Memory use after free issues eliminated. Fix possible use of
NULL pointer. Fix memory leaks.
* MontageImageCommand(): Fix memory leaks.
* MPC: Fix memory leak in writer.
* MPEG: Fix memory leaks in writer.
* MTV: Memory leaks eliminated.
* NTRegistryKeyLookup(): Fix possible use of NULL pointer.
* NTGetTypeList(): Fix possible use of NULL pointer.
* PCD: Memory leaks eliminated.
* PCL: Fix null pointer dereference in PCL writer.
* PCX: Memory leaks eliminated.
* PALM: Fix possible use of NULL pointer. Fix memory leak.
* PICT: Memory leaks eliminated.
* PNG: Fix small (one-off) heap read overflow.
* PNM: Fix memory leaks.
* PS: Fix use of null pointer in error path.
* PWP: Fix possible use of null pointer.
* ReplaceImageColormap(): Throw an exception rather than assertion if
the input image is not colormapped.
* RGB: Fix memory leak.
* SegmentImage(): Fix possible use of NULL pointer.
* SetImageProfile(): Fix possible assertion failure.
* SGI: Check for EOF while reading SGI file header.
* SUN: Fix memory leak.
* TIFF: Fix possible use of NULL pointer. Fix memory leaks in writer.
* TIM: Fix memory leak.
* TOPOL: Fix possible use of NULL pointer. Fix memory leaks.
* VIFF: Fix memory leak.
* WEBP: Detect partial write to output file.
* WPG: Fix possible use of null pointer. Fix excessive use of disk
resources due to insufficient validations.
* WriteImage(): Restore use of GetBlobStatus() to test if an I/O error
was encountered while writing output file. This assures that I/O
failure in writers which do not themselves verify writes is assured
to be reported.
* WMF: Memory use after free issues eliminated.
* YUV: Fix memory leaks.
New Features:
* PNG: Implemented eXIf chunk support.
* WEBP: Add support for EXIF and ICC metadata provided that at least
libwebp 0.5.0 is used.
* Magick++ Image autoOrient(): New Image method to auto-orient an
image so it looks right-side up by default.
Windows Delegate Updates/Additions:
* Libtiff is updated to libtiff 4.0.9.
Build Changes:
* JPEG/PNG: The SETJMP_IS_THREAD_SAFE definition is used to determine
if setjmp/longjmp are thread safe. If these interfaces are thread
safe, then concurrent reads/writes are possible. This definition is
false for Solaris but true for Linux. JPEG and PNG will be fully
concurrent if this definition is enabled.
Behavior Changes:
* PALM: PALM writer is disabled.
* ThrowLoggedException(): Capture the first exception at
ErrorException level or greater, or only capture exception if it is
more severe than an already reported exception.
* DestroyJNG(): This internal function is now declared static and is
removed from shared library or DLL namespace.
0.15
ObjectGraph.get_edges, ObjectGraph.getEdgeData and ObjectGraph.updateEdgeData accept None as the node to get and treat this as an alias for self (as other methods already did).
Add patches/patch-autoreload_nop.c to avoid 100% CPU usage when sxiv is invoked
non-interactively (e.g. in a subshell in background via `( sxiv ... & )').
Bump PKGREVISION
note: script detailed in `man revbump` insisted on bumping pkgrevision of
print/poppler, it's probably wrong, but not committing this change is wronger.
2.80 2017.11.30 MANWAR
- Added one more test author only as suggested by @DAVE. (RT #123705)
2.79 2017.11.30 MANWAR
- Addressed RT #123705, making test t/96-perl-critic.t and t/99_test_pod_coverage.t author only.
Provide fallback definition that acts the same as the old code that existed.
Add test target.
Fixes build failure reported by John D Baker in pkgsrc-users
1.15.4 - 2017-11-08
-------------------
Fixes:
* Fix some enum conversation errors with (unused) large and negative values.
:pr:`81`
Tests:
* Fix a rare test error :pr:`80` (:user:`Sergei Trofimovich <trofi>`)
.. _v1.15.3:
1.15.3 - 2017-09-17
-------------------
Fixes:
* setup.py: Install pkgconfig file into /usr/share/pkgconfig to work around
JHBuild on Fedora not picking it up.
* Fix tests on big endian machines. 🐛`75`
* Support building with MSVC :pr:`72` (:user:`Chun-wei Fan <fanc999>`)
Tests:
* Test MSVC builds on appveyor
.. _v1.15.2:
1.15.2 - 2017-09-03
-------------------
Fixes:
* setup.py: Install pkgconfig file to the same library prefix that Python
uses. (/usr/lib64 instead of /usr/lib under Fedora for example) 🐛`70`
:pr:`71` (:user:`Sander Sweers <infirit>`)
.. _v1.15.1:
1.15.1 - 2017-08-19
-------------------
Fixes:
* Improved support for Python filesystem paths including
:class:`os.PathLike`. See :class:`pathlike` for details.
* Various minor fixes
Changes:
* Expose :class:`cairo.Path`
Tests:
* Improved test coverage from ~70% to ~90%
.. _v1.15.0:
1.15.0 - 2017-07-24
-------------------
New Features:
* Add :meth:`Surface.map_to_image` and :meth:`Surface.unmap_image` 🐛`51`
* Add :class:`RasterSourcePattern` 🐛`48`
* Add :class:`Glyph` 🐛`53`
* Add :class:`Rectangle` 🐛`54`
* Add :class:`TextCluster` 🐛`61`
* Add :meth:`ScaledFont.text_to_glyphs` and :meth:`ScaledFont.glyph_extents`
* Add :meth:`Context.show_text_glyphs`
* Add :class:`TextExtents` 🐛`62`
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 :attr:`Status.NO_MEMORY` no
longer raise :exc:`python3:MemoryError`, but a subclass of :exc:`Error`
and :exc:`python3:MemoryError`. Similarly errors with
:attr:`Status.READ_ERROR` and :attr:`Status.WRITE_ERROR` no longer raise
:exc:`python3:IOError`, but a subclass of :exc:`Error` and
:exc:`python3:IOError`. 🐛`55`
* Some functions which previously returned a tuple now return a tuple
subclass like :class:`Rectangle`, :class:`Glyph`, :class:`TextCluster` and
:class:`TextExtents`
.. _v1.14.1:
1.14.1 - 2017-07-24
-------------------
Fixes:
* Fix a crash with :meth:`Surface.get_device` 🐛`57`
.. _v1.14.0:
1.14.0 - 2017-07-12
-------------------
General:
* Requires at least cairo 1.13.1 (The snapshop in Ubuntu 14.04)
Tests:
* Optional `Hypothesis <https://hypothesis.readthedocs.io>`__ tests.
New Features:
* Add :meth:`Surface.set_device_scale` and :meth:`Surface.get_device_scale`.
:pr:`44` (:user:`Sander Sweers <infirit>`)
* Add :class:`Device` :pr:`45`
* Add :meth:`Surface.get_device` :pr:`45`
* Add :class:`ScriptDevice` and :class:`ScriptMode` :pr:`46`
* Add :class:`ScriptSurface` 🐛`17`
* Add :attr:`Status.JBIG2_GLOBAL_MISSING`
* Add :meth:`Format.stride_for_width`
* Add :class:`TextClusterFlags` and :class:`SurfaceObserverMode`
* Add :meth:`Gradient.get_color_stops_rgba`
* Add :class:`TeeSurface`
* Add :class:`MeshPattern`
.. _v1.13.4:
1.13.4 - 2017-07-12
-------------------
Fixes:
* Fix a rare crash with :meth:`get_data() <ImageSurface.get_data>` under
Python 3 (1.13.3 regression).
.. _v1.13.3:
1.13.3 - 2017-06-01
-------------------
Fixes:
* Fix ImageSurface leaking in case :meth:`get_data() <ImageSurface.get_data>` is used under Python 3.
🐛`41`
Documentation:
* Add Pillow to ImageSurface example. :pr:`40` (:user:`Stuart Axon <stuaxo>`)
* Describe Freetype-py intergration. 🐛`25` :pr:`43`
(:user:`Hin-Tak Leung <HinTak>`)
.. _v1.13.2:
1.13.2 - 2017-05-21
-------------------
Fixes:
* Fix pip failing to install pycairo in some cases. 🐛`39`
Testing:
* Added continuous testing for Windows using MSYS2 and appveyor. 🐛`19`
.. _v1.13.1:
1.13.1 - 2017-05-07
-------------------
Fixes:
* setup.py install: Fix generated pkg-config file if ``--home`` or
``--user`` is specified. 🐛`34`
* Fix a build error on macOS Sierra. :pr:`36`
(:user:`Nicolas P. Rougier <rougier>`)
* examples: Fix snippet examples when .pyc files are present. 🐛`35`
Documentation:
* Add Pyglet integration example. :pr:`33` (:user:`Stuart Axon <stuaxo>`)
.. _v1.13.0:
1.13.0 - 2017-05-03
-------------------
New Features:
* The buffer returned by :meth:`ImageSurface.get_data` under Python 2 now
implements the character buffer interface to make it work with
pygame.image.frombuffer(). :pr:`29`
* All C enum types now have their own corresponding Python enum type:
:class:`Antialias`, :class:`Content`, :class:`Extend`, :class:`FillRule`,
:class:`Filter`, :class:`FontSlant`, :class:`FontWeight`, :class:`Format`,
:class:`HintMetrics`, :class:`HintStyle`, :class:`LineCap`,
:class:`LineJoin`, :class:`Operator`, :class:`PDFVersion`,
:class:`PSLevel`, :class:`PathDataType`, :class:`RegionOverlap`,
:class:`SVGVersion`, :class:`Status`, :class:`SubpixelOrder`. 🐛`26`
All relevant constants are now an alias to attributes of those types e.g.
:data:`ANTIALIAS_DEFAULT` is the same as :attr:`Antialias.DEFAULT`.
All functions returning enum values now return instances of the new types
e.g. :meth:`Context.get_antialias` returns a :class:`Antialias`.
:attr:`Error.status` is now a :class:`Status`.
* All included examples now work with Python 2 & 3
* All included examples using GTK+ have been ported to GTK+ 3/PyGObject 3
Fixes:
* Fix the signature of the :class:`ImageSurface` buffer interface for Python 2
(int -> Py_ssize_t)
* setup.py: Ensure "-fno-strict-aliasing" is used with Python 2.
Testing:
* Added travis-ci tests for flake8 and sphinx. :pr:`30`, :pr:`32`
* The test suite now has optional tests for numpy and pygame integration.
.. _v1.12.0:
1.12.0 - 2017-04-18
-------------------
General:
* Require cairo 1.12.0
* Use C90 and enforce it on travis-ci. 🐛`5`, :fdobug:`22940`
Constants:
* Add various new cairo.OPERATOR_*, cairo.ANTIALIAS_* and
cairo.FORMAT_* constants. 🐛`1`
* Add :data:`HAS_MIME_SURFACE` and cairo.MIME_TYPE_*. 🐛`7`,
:fdobug:`58771`
* Add cairo.PDF_VERSION_*. :pr:`16`
* Add cairo.SVG_VERSION_*
:exc:`Error`:
* Add a :data:`Error.status` attribute exposing cairo.STATUS_*
* Add :exc:`CairoError` alias for :exc:`Error` for cairocffi compatibility
:class:`Matrix`:
* Expose matrix components as read/write properties. e.g. :data:`Matrix.xx`
* Fix type checking of the multiplication operator under
Python 3. 🐛`8`, :fdobug:`89162` (Lawrence D'Oliveiro)
:class:`Surface`:
* Add :meth:`Surface.set_mime_data`. 🐛`7`, :fdobug:`58771`
* Add :meth:`Surface.get_mime_data`. 🐛`7`, :fdobug:`58771`
* Add :meth:`Surface.supports_mime_type`. 🐛`7`, :fdobug:`58771`
* Add :meth:`Surface.create_for_rectangle`. :pr:`13`
* Add :meth:`Surface.create_similar_image`. :pr:`15`
* Add :meth:`Surface.has_show_text_glyphs`
* Fix crash when the surface wrapper gets deallocated before the surface
object. 🐛`11`
:class:`Context`:
* Add :meth:`Context.in_clip`. :pr:`14`
:class:`PDFSurface`:
* Add :meth:`PDFSurface.restrict_to_version`. :pr:`16`
* Add :meth:`PDFSurface.get_versions`. :pr:`16`
* Add :meth:`PDFSurface.version_to_string`. :pr:`16`
:class:`SVGSurface`:
* Add :meth:`SVGSurface.restrict_to_version`
* Add :meth:`SVGSurface.get_versions`
* Add :meth:`SVGSurface.version_to_string`
:class:`XCBSurface`:
* Add :meth:`XCBSurface.set_size`
:class:`PSSurface`:
* Add :meth:`PSSurface.get_levels`
* Add :meth:`PSSurface.level_to_string`
:class:`Pattern`:
* Add :meth:`Pattern.set_filter`
* Add :meth:`Pattern.get_filter`
:class:`RecordingSurface`:
* Add :meth:`RecordingSurface.get_extents`
:class:`FontOptions`:
* Implement ``__eq__`` and ``__ne__``
* Add :meth:`FontOptions.copy`
* Add :meth:`FontOptions.hash`
* Add :meth:`FontOptions.equal`
* Add :meth:`FontOptions.merge`
:class:`ScaledFont`:
* Add :meth:`ScaledFont.get_ctm`
* Add :meth:`ScaledFont.get_font_matrix`
* Add :meth:`ScaledFont.get_font_options`
.. _v1.11.1:
1.11.1 - 2017-04-12
-------------------
This release fixes an ABI breakage. I missed that the original pycairo master
had already broken ABI compared to 1.10.0.
.. _v1.11.0:
1.11.0 - 2017-04-09
-------------------
This version is based on the Python 2 version of pycairo 1.10.0 and is API/ABI
compatible with both py2cairo 1.10.0 and py3cairo 1.10.0.
General Changes:
* Requires cairo 1.10.2+
* Switch to semantic versioning
* Switch build system to distutils/setup.py (xpyb integration can be
enabled with passing ``--enable-xpyb`` to setup.py build)
* Moved to GitHub: https://github.com/pygobject/pycairo
New Features:
* Python 3 support (API/ABI compatible with py3cairo 1.10.0) including
support for :exc:`cairo.Error`, :meth:`cairo.ImageSurface.get_data` and
:meth:`cairo.ImageSurface.create_for_data`, which were missing in
py3cairo.
* :class:`cairo.RecordingSurface` (:fdobug:`36854`,
`Torsten Landschoff <t.landschoff@gmx.net>`__)
* :class:`cairo.Region`, :class:`cairo.RectangleInt` and
cairo.REGION_OVERLAP_*
(:fdobug:`44336`, `Bug Fly <mozbugbox@yahoo.com.au>`__)
Bug Fixes:
* Fix crash when read()/write() methods of file objects passed to pycairo
raise exceptions.
* Fix possible value truncation of handles passed to Win32Surface and
Win32PrintingSurface on 64bit Windows. :fdobug:`57493`
2.67 * fix thread-safety for GD::Simple %COLORS (#26 melak)
* fix arc start-angle docs, RT #123277 Andrew G Gray
* improve setBrush docs, RT #123194 Andrew G Gray
* improve StringFT docs, RT #123193
* replace MacOSX by darwin, and not by Mac OS X/macOS as suggested
in PR #24
* add GD::Image->_file method as suggested in RT #60488 by Kevin Ryde,
also the helper GD::supportsFileType
Version 2.40.19
- bgo#621088: Using text objects as clipping paths is now supported.
- bgo#587721: Fix rendering of text elements with transformations (Massimo).
- bgo#777833 - Fix memory leaks when an RsvgHandle is disposed before
being closed (Philip Withnall).
- bgo#782098 - Don't pass deprecated options to gtk-doc (Ting-Wei Lan).
- bgo#786372 - Fix the default for the "type" attribute of the <style> element.
- bgo#785276 - Don't crash on single-byte files.
- bgo#634514: Don't render unknown elements and their sub-elements.
- bgo#777155 - Ignore patterns that have close-to-zero dimensions.
- bgo#634324 - Fix Gaussian blurs with negative scaling.
- Fix the <switch> element; it wasn't working at all.
- Fix loading when rsvg_handle_write() is called one byte at a time.
- bgo#787895 - Fix incorrect usage of libxml2. Thanks to Nick Wellnhofer
for advice on this.
- Backported the test suite machinery from the master branch (Chun-wei Fan,
Federico Mena).
- We now require Pango 1.38.0 or later (released in 2015).
- We now require libxml2 2.9.0 or later (released in 2012).
Changes:
- In the JPC codec, the requirement that the number of tile parts be at
least one has been removed (since the JPEG-2000 standard allows
a special value of zero to mean the number of tile parts is unspecified).
- add option to disable programs
- Include jasper/jas_debug.h when using jas_eprintf
Fixes building with -Werror=implicit-function-declaration.
- Applied patches to resolve some missing export problems.
See: https://github.com/mdadams/jasper/issues/122
- Moved inttypes.h and stdbool.h includes to jas_types.h and fixed
the build for Visual Studio 2012 and lower.
- Correct or add comments for jas_safe_* functions
Mostly fixing bad copy-n-paste issues, or functions added without any
comment.
- Added a check in the JP2 encoder to ensure that the image to be coded
has at least one component. Also, made some small changes to a
private build script.
- Fixed bugs due to uninitialized data in the JP2 decoder.
Also, added some comments marking I/O stream interfaces that probably
need to be changed (in the long term) to fix integer overflow
problems.
- Added some additional checking to prevent a potential integer overflow
due to conversion in the JPC decoder.
- Added numerous more-detailed error messages for the JPC and JP2
codecs.
- Added a partial verbose capability for the run_test_1 script.
- Moved a test case from the bad category to the good category, as the
test case had been miscategorized.
- Add some regression test cases.
- Fixed some potential double-free problems in the JPC codec.
Upstream changes (from NEWS):
== Ruby-GNOME2 3.2.1: 2017-11-19
This is a memory related bug fix release.
=== Changes
==== Ruby/GLib2
* Improvements
* (({GLib::Bytes#initialize})): Stopped to copy data for frozen
(({String})).
==== Ruby/GObjectIntrospection
* Fixes
* Fixed memory leaks for output parameters.
[GitHub#1113][Reported by Will Bryant]
==== Ruby/GIO2
* Improvements
* (({Gio::InputStream#read_all})): Made workable.
[GitHub#1110][Reported by Paul van Tilburg]
* (({Gio::InputStream#read})): If the given size is (({nil})),
read until EOF or error. It's compatible with Ruby's IO objects.
==== Ruby/GTK3
* Improvements
* Marked top-level windows automatically.
[GitHub#1103][Reported by cedlemo]
=== Thanks
* Paul van Tilburg
* cedlemo
* Will Bryant
Pkgsrc changes:
* Adapt PLIST, remove patches for now-integrated bugfixes.
Upstream changes:
* Many changes related to security & stability.
See the source's ChangeLog for the details.
https://git.finalrewind.org/feh/plain/ChangeLog
Tue, 07 Nov 2017 17:36:26 +0100 Daniel Friesel <derf+feh@finalrewind.org>
* Release v2.22.2
* Fix HTTPS certificate errors on some systems (broken in 2.22)
Tue, 07 Nov 2017 07:51:48 +0100 Daniel Friesel <derf+feh@finalrewind.org>
* Release v2.22.1
* Allow ~/.fehbg to be sourced (instead of executed) from other shell
scripts again (broken in 2.22)
Sat, 04 Nov 2017 14:55:38 +0100 Daniel Friesel <derf+feh@finalrewind.org>
* Release v2.22
* Add support for CURL_CA_BUNDLE environment variable when loading images
via HTTPS
* Fix ~/.fehbg not being updated when setting a wallpaper via menu
(broken in 2.21)
This should be the last part of the renaming operation for print/cups to
print/cups-base.
Rationale: packages depending on CUPS but not relying on a functional
printing setup only need to depend on print/cups-base (equivalent to the
former print/cups). The new print/cups now depends on print/cups-base
and on print/cups-filters, thus directly providing a functional printing
setup. This bump reflects this change of dependency.
As discussed on tech-pkg@
This is with the notable exception of meta-pkgs/desktop-gnome, which I
believe implies a fully functional cups.
This is still missing revision bumps - I'll be right there (first time I
am doing this on so many packages at a time).
As discussed on tech-pkg@
Release 5.2.1
A few bug-fixes present in the distributed package for 5.2.1 are not yet
commited upstream because the repository is in the process of migration
from cvs to git.
* src/graphics.c (plot_betweencurves):
plot 'foo' with filledcurves below y=bar
would fail to identify "below" regions where the y value foo[x] at the
start or end of the region was exactly equal to bar.
* src/axis.c (gen_tics): `set log x; set xtics foo` would always place
the first axis tic at foo rather than at (foo / base^N) for suitable N.
* src/win/winmain.c (ConsolePutS, ConsolePutCh): Use standard file IO
instead of Console API to enable word-wrapping on Windows 10 and to
allow for redirection of stdout/stderr.
* term/post.trm: Raise the limit on number of relative moves before
a "stroke" so that a full circle as drawn by do_arc() does not glitch
due to insertion of a "stroke xx yy M" sequence that resets the
dot/dash pattern.
* src/plot2d.c (eval_plots): If the range for logscaled y axis is empty,
e.g. the plot holds a single point, auto-extend the range rather than
giving up with an error.
6.9.9.20
- Return expected results for a percent 0 -chop option argument
- Tweaks to OpenMP support within ImageMagick.
6.9.9.19
- Correct handling of GIF transparency
6.9.9.18
- Resetting the magick_list_initialized boolean when needed
6.9.9.17
- Fix broken build
6.9.9.16
- Fixed numerous memory leaks
- Support URW-base35 fonts.
6.9.9.15
- Fixed numerous memory leaks
6.9.9.14
- Fixed numerous memory leaks
- Stop poential leaks in the JNG decoder
- Maximum valid hour is 23, not 24, in the PNG tIME chunk, and maximum
valid minute is 59, not 60.
6.9.9.13
- Use signed integer arithmetic to calculate timezone corrections
version 2.11
- new liq_image_set_background() for high-quality remapping of GIF frames
- new liq_image_set_importance_map() for controlling which parts of the image get more palette colors
pkgsrc changes:
- Add AUTORELOAD=nop to MAKE_FLAGS in order to avoid optional inotify
support to automatically reload the current image whenever it changes
- Needs `c99' (`-std=c99' is passed to CFLAGS)
Changes:
24
--
- Automatically reload the current image whenever it changes
- Support embedding into other X windows with -e (e.g. tabbed)
- New option -p prevents sxiv from creating cache and temporary files
- Simpler mouse mappings, the most basic features are accessible with
the mouse only (navigate, zoom, pan)
- fix bug with wrong position for catcode change of @
- created new file pstricks-tex.def for the additional
latex macros when running tex
- define \ifpst at psfonts for the TeX part
epstopdf 2.27 contains bug fixes for parsing and checking of the
--gsopt value. For exampole, --gsopt -dAutoFilterColorImages=true
previously incorrectly failed, but now (I hope) works. Thanks to
Yannick Berker for the report, analysis, and fix.
* New symbols: \Sleepey and \dSleepey
* New symbol: \SchrodingersCat (Is it dead, unknown or alive? You decide!)
* New option: 'global-scale', scale all symbols by a given number
* New option: 'symbol-scale', scale specific symbols by a given number
* Option 'usebox' can now be used during the document
https://git.finalrewind.org/feh/plain/ChangeLog
Sat, 07 Oct 2017 12:14:17 +0200 Daniel Friesel <derf+feh@finalrewind.org>
* Release v2.21
* Add toggle_fixed_geometry ('g') key binding to toggle window auto-resize
* Improve control via terminal input
* Fix crash (segmentation fault) when using feh -O in non-index mode
* Fix --force-aliasing (and possibly other options) missing from ~/.fehbg
when using them for background setting
Thu, 07 Sep 2017 20:20:11 +0200 Daniel Friesel <derf+feh@finalrewind.org>
* Release v2.20
* Fix clang/gcc warnings (Patches by orbea)
* Add support for control via terminal input. feh will read key presses
from the controlling terminal and handle them like X11 key presses
inside the feh window. Note that at the moment, only lower / upper case
ASCII letters and a very small set of additional keys are supported.
* Fix broken ImageMagick support (see --magick-timeout) when using some
ImageMagick versions <https://github.com/derf/feh/issues/323>
* Remove images from the filelist if they were removed by executing a
user-defined action <https://github.com/derf/feh/issues/322>
2.36.11
* build: Fix tiff loader build
* build: Fix the build on OS X
* build: Prefer newer libpng
* Use a free reference images for tests
* gif: fail quickly if image dimensions are too big
* xlib: Avoid an out-of-bounds error on bigendian
* Translation updates
v2.1.0:
This is the second minor release in the Matplotlib 2.x series and the first
release with major new features since 1.5.
This release contains approximately 2 years worth of work by 275 contributors
across over 950 pull requests. Highlights from this release include:
* support for string categorical values
* export of animations to interactive javascript widgets
* major overhaul of polar plots
* reproducible output for ps/eps, pdf, and svg backends
* performance improvements in drawing lines and images
* GUIs show a busy cursor while rendering the plot
* along with many other enhancements and bug fixes.
OpenJPEG 2.3.0:
No API/ABI break compared to v2.2.0 but additional symbols for subset of components decoding (hence the MINOR version bump).
* Sub-tile decoding: when setting a window of interest through the API function opj_set_decode_area(), only codeblocks that intersect this window are now decoded (i.e. MCT, IDWT, and entropy decoding are only done on the window of interest). Moreover, memory allocation now depends on the size of the window of interest (instead of the full tile size).
* Ability to decode only a subset of components. This adds the following function opj_set_decoded_components(opj_codec_t p_codec, OPJ_UINT32 numcomps, const OPJ_UINT32 comps_indices, OPJ_BOOL apply_color_transforms) and equivalent opj_decompress -c compno[,compno]* option.
* Many bug fixes (including security fixes)
4.3.0:
- Fix warning on pointer cast in isblock
- Doc: Added macOS High Sierra tested Pillow version
- Use correct Windows handle type on 64 bit in imagingcms
- 64 Bit Windows fix for block storage
- Fix "expression result unused" warning
- Add 16bit Read/Write and RLE read support to SgiImageFile
- Block & array hybrid storage
- Common seek frame position check
- Doc: Add note about aspect ratio to Image thumbnail script
- Fix ValueError: invalid version number '1.0.0rc1' in scipy release candidate
- Unfreeze requirements.txt
- Test: ResourceWarning tests
- Use n_frames to determine is_animated if possible
- Doc: Corrected parameters in documentation
- Avoid unnecessary Image operations
- Added register_extensions method
- Fix TIFF support for I;16S, I;16BS, and I;32BS rawmodes
- Fixed doc syntax in ImageDraw
- Fixed support for building on Windows/msys2. Added Appveyor CI coverage for python3 on msys2
- Fix ValueError in Exif/Tiff IFD
- Use pathlib2 for Path objects on Python < 3.4
- Export only required properties in unsafe_ptrs
- Alpha composite fixes
- Faster Transpose operations, added 'Transverse' option
- Deprecate ImageOps undocumented functions gaussian_blur, gblur, unsharp_mask, usm and box_blur in favor of ImageFilter implementations
- Dependencies: Updated freetype to 2.8.1
- Bug: Player skipped first image
- Faster filter operations for Kernel, Gaussian, and Unsharp Mask filters
- EPS: Add showpage to force rendering of some EPS images
- DOC: Fix type of palette parameter in Image.quantize.
- DOC: Fix Ico docs to match code
- Added file pointer save to SpiderImagePlugin
- Add targa version 2 footer
- Removed redundant lines
- Travis CI: Use default pypy/pypy3
- Fix for SystemError when rendering an empty string, added in 4.2.0
- Fix for memory leaks in font handling added in 4.2.0
- Tests: cleanup, more tests. Fixed WMF save handler
- Removed debugging interface for Image.core.grabclipboard
- Doc syntax fix
- Faster packing and unpacking for RGB, LA, and related storage modes
- Use RGBX rawmode for RGB JPEG images where possible
- Remove palettes from non-palette modes in _new
- Delete transparency info when convert'ing RGB/L to RGBA
- Code tweaks to ease type annotations
- Fixed incorrect use of 's#' to byteslike object
- Fix JPEG subsampling labels for subsampling=2
- Region of interest (box) for resampling
- Basic support for Termux (android) in setup.py
- Bug: Fix Image.fromarray for numpy.bool type.
- CI: Add Fedora 24 and 26 to Docker tests
- JPEG: Fix ZeroDivisionError when EXIF contains invalid DPI (0/0).
- Depends: Updated openjpeg to 2.2.0
- Depends: Updated Tk Tcl to 8.6.7
- Depends: Updated libimagequant to 2.10.2
- Test: Added test for ImImagePlugin tell()
- Test: Additional tests for SGIImagePlugin
- New Image.getchannel method
- Remove unused im.copy2 and core.copy methods
- Fast Image.merge()
- Fast Image.split()
- Fast image allocation
- Storage cleanup
- FLI: Use frame count from FLI header
- Test: Test animated FLI file
- Bug: Fixed uninitialized memory in bc5 decoding
- Moved SgiImagePlugin save error to before the start of write operations
- Move createfontdatachunk.py so isn't installed globally
- Bug: Fix unexpected keyword argument 'align'
- Add newlines to error message for clarity
- Docs: Updated redirected URL
- Bug: Fix JPEG DPI when EXIF is invalid
- Bug: Fix for font getsize on empty string
- Docs: Improved ImageDraw documentation
- Docs: Corrected alpha_composite args documentation
- Docs: added the description of the filename attribute to images.rst
- Dependencies: Updated libimagequant to 2.10.1
- PDF: Renamed parameter to not shadow built-in dict
Changes to Xfig
=============================================================================
Version 3.2
=============================================================================
Patchlevel 6a (January 2017)
CHANGES:
o Draw lines with the same width as in PostScript and other outputs.
BUGS FIXED:
o Add compile-switch --enable-tablet for using an input tablet.
o Eventually, sorted out the xpm switches. Only use --enable-xpm-splash.
o Improve ./configure and add diagnostic output. Looks now for headers
and libraries in unusal places, for compilation under mac darwin when
using fink or macports.
-----------------------------------
Patchlevel 6 (August 2016)
NEW FEATURES:
o Add compile switch to enable xpm-icon and xpm-splash screen
independently (--enable-xpm-icon, --enable-xpm-splash).
o New compile switch --enable-versioning, calls update_version_m4
to get version information from a source control system.
BUGS FIXED:
o Update documentation to LaTeX and Xfig.
From Roland Rosenfeld <roland@spinnaker.de>:
o Update LaTeX documentation, use \documentclass instead of
\documentstyle, \usepackage instead of \input.
o Builds on hurd, had to #include <limits.h> in a few places.
o Use application/x-xfig, not image/x-xfig in xfig.desktop file.
See https://bugs.launchpad.net/ubuntu/+source/xfig/+bug/690067 and
https://bugs.launchpad.net/ubuntu/+source/xfig/+bug/1045848 .
-----------------------------------
Patchlevel 6-rc (July 2016)
NEW FEATURES:
o Should compile on Mac (Darwin) after installing dependencies using
Macports, Fink or Homebrew.
o Add two rudimentary tests. Run with make check.
UI CHANGES:
From Brian V. Smith. These changes were made because the original
view was of the drawing on the page instead of the modern view
of the observer moving left/right/up/down:
o Left arrow moves observer left (used to scroll canvas left)
o Right arrow moves observer right
o Up arrow moves observer up
o Down arrow moves observer down
o Ctrl+Wheel up zooms in, Ctrl+Wheel down zooms out (was the other
way around)
BUGS FIXED:
o To compile on ancient systems, try make -DANCIENT.
o Report correct paths to installed files in the man page.
o Add pathmax.h and dirstruct.h, to define DIRSTRUCT and PATH_MAX.
From Vladislav Zavjalov; Commit numbers refer to
http://git.altlinux.org/people/slazav/packages/?p=xfig.git;a=commit;h=#
o Preserve comments when deleting objects; Commit #6c42e5c
o Restore colors and main comment after Delete All + Undo; #34f6105
o Draw horizontal scrollbar if property buttons are too wide to fit
on the screen. Commit #e9c1394
o Add save8bit app-resource to allow saving 8-bit files. #5bd9fbb
o Move Xfuncs.h and Xosdefs.h out from fig.h. Commit #b433478
o Move -l flags from LDFLAGS to LDADD. Commit #2d57c85
From Roland Rosenfeld. Bug numers refer to https://bugs.debian.org/#.
o Do not link with -lXmu, if linking with Xaw3d > 1.5e.
o Make japanese documentation available for LANG=ja_JP.ujis.
o Set the Creation date in xfig_man.html to the date when
creating the source tarball.
o Really fix reading png files,
https://bugzilla.redhat.com/show_bug.cgi?id=1150330
o Delete some superfluos files, fix typos (Caribbean),
add semicolon in xfig.desktop (bug # 812477).
From Brian V. Smith:
o old link for "Xfig On Microsoft Windows"
(Getting and Installing Xfig html page)
o dash_list wrong dimension causes segfault on some line styles
o Should handle systems where REG_NOERROR (regular expression)
is undefined now
o Missing xfig_man.html
o Modify a few places where to set locale to "C".
o Didn't allocate enough space for fonts (would segfault
when popping up File panels)
o Moving arc point would segfault
-----------------------------------
Patchlevel 6-beta (May 2016)
NEW FEATURES:
o New tikz and pict2e export drivers.
o Build using autoconf (./configure; make; make install).
BUGS FIXED:
o Change \r\n to \n in all files.
From Roland Rosenfeld. Bug numbers refer to https://bugs.debian.org/#.
In fact, most of the bugs below, also those from other sources, were
fixed by applying the debian-patches.
o Position independent executables work, fixes bug # 756791.
o Revert previous change of X-spline parameter.
o Use C locale for fig2dev, to correctly interpret decimal point.
Fixes bug # 782737.
o Correct grid mode distances in man page. Bug # 314820.
o Extend xfig.desktop.
o Fix unsecure use of temporary file. From Thomas Hoger, gentoo.
Debian Bug # 565341.
o Escape - in man-page.
o Securely print string.
o Restore old shadow behaviour.
o Fix reading "/MediaBox" when importing pdf. Closes Bug # 530898.
o With -papersize b1, use B1, not B10. Bug 535181.
From Vladislav Zavjalov. Information on bugs is found
at https://bugzilla.altlinux.org/show_bug.cgi?id=#
o Do not use fontsets for symbol and dingbat fonts, bug # 26579.
o Fix compiler warnigs in w_indpanel.c. Commit feabe27.
o Restore correct depths when loading a figure, then undo.
Commit b5c79b3.
o Restore filename after delete region, undo. Commit 219d690.
o Restore user color when opening new fig-file. Commit fccd915.
o Restore correct depths when joining lines with different depths.
Commit a77bcaf.
o Fix xfontlist->fset initialization. Commit a592399.
o Fix default origin (100000,100000) -> (0,0) for filled objects.
Commit 4d87e60.
o Fix 100% cpu-load by save panel. Commit 81a4596.
o Do not use local SimpleMenu.c with XAW3D1_5E. Would segfault on
some 64-bit systems when opening main menu.
o Missing argument may cause crash or undefined behaviour.
Debian bug # 795642. From Michael Tautschnig.
From Hans de Goede. Bug information
at https://bugzilla.redhat.com/show_bug.cgi?id=#.
o Patch for importing png-files, Red Hat bug # 1150330. From David Kaufmann.
o Fix crash when changing arrow size. Bug # 1046102.
o Fix crash when creating dash-dotted lines. Bug # 1023744.
From Michael Srb, thanks to Maurizio Pollini and David Kaufmann.
o Fix crash on exit. From Peter Volkov at gentoo
-----------------------------------
Patchlevel 5c (August, 2013)
BUGS FIXED:
o Increased default width of layer panel from 58 to 64 to accomodate scrollbar width
o missing comma in FIXED_JAPANESE_PDF #ifdef case in w_cmdpanel.c
o printer name enclosed in apostrophes when printing in case has spaces in name
o new link from Elizabeth Bailey for Fig applications referenced in installation.html
o old link to duke.uask.ca for Fig applications has new link in installation.html
o Typo in message "GIF read error on extention ..." should be "extension"
o Possibility of stack overflow with malformed Fig files.
o In version 1.4 of the PNG library dither was removed so xfig now uses quantize when
importing PNG images with palettes
o Other updates for PNG library version 1.5 from Peter Volkov
o Some versions of Cygwin don't have either REG_NOERROR or REG_OKAY defined so
REG_NOERROR defined to be 0
o Changed X-Spline parameter to match original intent of X-Spline authors:
changed definition of Q(s) from -s to -0.5 * s in u_draw_spline.c
o Allowance for stricter ghostscript in -dSAFER mode. Was causing error on reading EPS images.
From Hans de Goede
o Security vulnerability with importing images fixed
(RedHat bug # 657981 - xfig buffer overflow when opening .fig file with malicius color definition)
o When exporting to combined PS/PDF/LATEX the -D option to exclude all but active layers
was not passed to fig2dev
o Uses 24-bit color instead of 8-bit when importing eps files (pcx24b driver for ghostscript)
o Bug in freeing null fontset
o Semicolon (;) added at end of MimeType line in xfig.desktop as per
http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
o Reference to "Darwin Ports" changed to "MacPorts"
o Renamed O_TEXT to O_TXT to avoid conflicts with system define
o On lines with Round or Projecting cap style and arrowheads, the line endpoint stuck out
beyond the arrowhead
From Vladsilav Zavjalov:
o Uses fontsets for all fonts in international mode
o SEGV when zooming while creating object (e.g. text)
o Add locale_encoding appres which acts similar to euc_encoding, but uses system locale and
mbrlen function for multibyte character length calculation.
o Move "file not found" error message from check_docfile() to launch_viewer(),
remove excess check_docfile() call.
Error message is not shown when looking for a locale-dependent docs. It is shown only
if no docs found at all.
o Do not do strcpy with equal arguments in w_cmdpanel.c/update_cur_filename()
o Print to file had extra argument in sprintf in international mode
o Message panel not tall enough with 3D Athena widgets
o Warnings about different size of int and void * on 64-bit system.
To fix this problem I changed int to intptr_t in some places.
NEW FEATURES:
o New library objects from Markus Laner:
Networks: NodeB.fig, cloud.fig, router.fig, wlan.fig
Computers: datacard.fig, screen.fig, usbpen.fig, xbox.fig
o New command-line option -nowrite_bak to turn off automatic renaming of .fig to .fig.bak
when saving .fig file. X resource is "write_bak". Also command-line option -write_bak
to force renaming to true.
o Can now specify small buttons with command-line argument -smallicons
From Ed Rosten
-----------------------------------
Patchlevel 5b (Jun 1, 2009)
BUGS FIXED:
o Dimension line indicator incorrectly showed arrow length/width
o Several patches from Fedora xfig maintainer
o divide by 0 under certain circumstances in ruler code
From Libor Pechacek
o Segfault if PRINTER env variable was not defined
Version 2.40.18
- bgo#783835 - CVE-2017-11464 - Fix division-by-zero in the Gaussian
blur code.
- Fix other cases of division-by-zero on fuzzed SVG files.
- Don't crash on invalid transformation matrices.
- Support Visual Studio 2017; generate .pc files for Meson on Windows -
Chun-wei Fan.
Version 2.40.17
- bgo#778666 - Use our own thumbnailer specification file, so
gnome-desktop-thumbnailer can generate thumbnails outside of the
calling process (Jeremy Bicha).
- Removed some redundant code.
- Windows build fixes - Chun-wei Fan.
Version 2.40.16
- Chun-wei Fan added support for building the introspection files under MSVC.
- Fixed bgo#760262 - Make the zooming options in rsvg-convert(1) work again
for scaling the resulting image. Fix by Menner <mix@gmx.org>.
- Fixed bgo#764808 - Wikipedia generates equations as SVGs and renders
them, but uses fill="currentColor". Since we don't let callers
specify a starting state for CSS, we need to start with opaque black
as the default current color.
- Added documentation for how to replace the deprecated
rsvg_handle_set_size_callback().
New in 0.17:
* Fix 256x256@2/animations name in index.theme
New in 0.16:
* Add hidpi icon directories (e.g. 48x48@2) with scale=2
New in 0.15:
* A new icon subdirectory symbolic/apps is available for symbolic
application icons. It similar to scalable, except it has a target
design size of 16, which is what symbolic icons use.
Version 1.6.33beta01 [August 28, 2017]
Added PNGMINUS_UNUSED macro to contrib/pngminus/p*.c and added missing
parenthesis in contrib/pngminus/pnm2png.c (bug report by Christian Hesse).
Fixed off-by-one error in png_do_check_palette_indexes() (Bug report
by Mick P., Source Forge Issue #269).
Version 1.6.33beta02 [September 3, 2017]
Initialize png_handler.row_ptr in contrib/oss-fuzz/libpng_read_fuzzer.cc
to fix shortlived oss-fuzz issue 3234.
Compute a larger limit on IDAT because some applications write a deflate
buffer for each row (Bug report by Andrew Church).
Use current date (DATE) instead of release-date (RDATE) in last
changed date of contrib/oss-fuzz files.
Enabled ARM support in CMakeLists.txt (Bernd Kuhls).
Version 1.6.33beta03 [September 14, 2017]
Fixed incorrect typecast of some arguments to png_malloc() and
png_calloc() that were png_uint_32 instead of png_alloc_size_t
(Bug report by "irwir" in Github libpng issue #175).
Use pnglibconf.h.prebuilt when building for ANDROID with cmake (Github
issue 162, by rcdailey).
Version 1.6.33rc01 [September 20, 2017]
Initialize memory allocated by png_inflate to zero, using memset, to
stop an oss-fuzz "use of uninitialized value" detection in png_set_text_2()
due to truncated iTXt or zTXt chunk.
Initialize memory allocated by png_read_buffer to zero, using memset, to
stop an oss-fuzz "use of uninitialized value" detection in
png_icc_check_tag_table() due to truncated iCCP chunk.
Removed a redundant test (suggested by "irwir" in Github issue #180).
Version 1.6.33rc02 [September 23, 2017]
Added an interlaced version of each file in contrib/pngsuite.
Relocate new memset() call in pngrutil.c.
Removed more redundant tests (suggested by "irwir" in Github issue #180).
Add support for loading images with associated alpha in the Simplified
API (Samuel Williams).
Version 1.6.33 [September 28, 2017]
Revert contrib/oss-fuzz/libpng_read_fuzzer.cc to libpng-1.6.32 state.
Initialize png_handler.row_ptr in contrib/oss-fuzz/libpng_read_fuzzer.cc
Add end_info structure and png_read_end() to the libpng fuzzer.
Version 1.6.34 [September 29, 2017]
Removed contrib/pngsuite/i*.png; some of these were incorrect and caused
test failures.
3.4:
This release removes support for Python 2.5, as well as Python 3.0 - 3.2.
Supported Python versions are now Python 2.6, 2.7, and 3.3+. This
release incorporates new features and bug fixes made in the
``astropy.io.fits`` module in Astropy, which is originally based on PyFITS
and supersedes the stand-alone PyFITS module.
This will likely be the last stand-alone release of PyFITS that does not
depend on Astropy. There are a few reasons for this:
1) Development resources for PyFITS are limited, and better focused on
newer projects.
2) Astropy incorporates all features of PyFITS, and has many new features
from which future development of the FITS reader/writer can benefit, such
as a better table interface, units, and datetime types. Since the most
beneficial future development in ``astropy.io.fits`` depends on other
parts of Astropy there is less motivation to maintain an independent FITS
module.
This release contains most changes to the ``astropy.io.fits`` module that
have been made since the last release of PyFITS (v3.3), except for changes
that depend explicitly on other parts of Astropy. This brings PyFITS mostly
to parity with the version of ``astropy.io.fits`` that will be in Astropy
v1.1.2.
FreeType 2.8.1 has been released. This is mainly a maintenance release with one important change: By default, FreeType now offers high quality LCD-optimized output without resorting to ClearType techniques of resolution tripling and filtering. In this method, called Harmony, each color channel is generated separately after shifting the glyph outline, capitalizing on the fact that the color grids on LCD panels are shifted by a third of a pixel. This output is indistinguishable from ClearType with a light 3-tap filter.
pkgsrc change: add pkg_alternatives support.
== 2.2.1: 2017-09-15
For RubyKaigi 2017 speakers release.
=== Improvements
==== rabbit
* Supported Rouge.
* Suppressed warnings with Ruby 2.4.
[GitHub#109][Patch by Nobuyoshi Nakada]
==== Theme
* image-slide-number: Supported "extra slides".
If you set "image-slide-number-last-slide" slide property to "true",
image timer computes its position as the slide is the last slide.
Image timer isn't moved for the following slides.
==== Document
* Added a sample slide for RD style.
[GitHub#105][Patch by Masayuki Morisaki]
* Added a document how to prepare development environment.
[GitHub#106][Patch by Masayuki Morisaki]
* Removed license information for prototype.js that removed.
[GitHub#107][Patch by Ryunosuke Sato]
=== Fixes
==== rabbit
* Information windows: Fixed a source format detection failure.
[GitHub#102][Patch by Akihisa Higuchi]
==== Document
* Fixed style of sample page.
[GitHub#103][Reported by takiy33]
=== Thanks
* Akihisa Higuchi
* takiy33
* Masayuki Morisaki
* Ryunosuke Sato
* Nobuyoshi Nakada
2.46 2017-05-11T09:57:00
- Change the default value for the 'graph' attribute within GraphViz2::Parse::ISA from {} to ''.
This makes it match the default for each other module in the GraphViz2::Parse::* namespace.
The problem was reported by Kevin Ryde (RT#121599) who used GraphViz2::Parse::ISA all by
itself, without using it via GraphViz2, and the BUILD sub has a check on the pre-existing
value of $self -> graph, which returned {} instead of the empty string, so the code did
not initialize $self -> graph properly with a new GraphViz2 object.
2.45 2017-04-16T10:03:00
- In stringify_attributes(), check for undefined hash entries before processing them. If
detected, they are set to ''. Reported by Raphael Crochet. See RT#121122.
- Bump pre-req version of File::Which from V 1.09 to 1.21. This should solve issues of which()
not finding *.exe files under Cygwin. See File::Which's Changes file for details.
Reported by Raphael Crochet. See RT#121090.
- Reduce pre-req version of Test::More from 1.001014 to 1.001002.
2.44 2016-10-24:08:52:00
- The patch in V 2.43 assumed one of the output files had no path, and used that name as a
file name within a temporary directory to generate a *.gv file for dot. The code now just
uses 'temp.gv'. Thanx to jahagirdar for reporting this via the github repo.
2.43 2016-10-20T18:20:00
- Alongside the parameters format and output_file, add im_format and im_output_file for image
maps.
- Add docs for the new parameters.
- User Types::Standard to tighten constraints on parameters passed to new().
- Add maps/ containing various demos.
2.42 2016-08-02T12:29:00
- Seems I misunderstood something simple. This time, I've eliminated shape 'square'.
Thanx again to Daran Davis.
2.41 2016-08-02T09:00:00
- To preempt more problems, I've made the same change as in V 2.40, in
report.nodes.and.edges.pl, html.labels.1.pl, sub.graph.pl, sub.sub.graph.pl, trivial.pl
and sub.graph.frames.pl. I can't explain why the tickets mentioned in 2.40 did not
include these examples.
2.40 2016-08-02T08:41:00
- In scripts/rank.sub.graph.*.pl, change shape 'box' to 'doublecircle'. Some users have
reported errors with 'box'. See RT#81467 (Reported by D. Thomas on 2012-11-26, which I
rejected. My apologies to D. Thomas), and RT#116628 (Reported by Daran Davis on 2016-08-01,
which I now accept). I tested firstly by using 'rect' instead of 'box', and that also
works for me (the output is the same as with 'rect'), but using 'doublecircle' is visually
more impressive. Also, I hope all versions of Graphviz in use will support 'doublecircle'.
I can't see anything in the changelog for Graphviz to say when 'box' became available, but
it must have been years ago now.
2.39 2016-05-23T12:24:00
- Escape { in regexp in t/test.t to keep recent Perls happy.
- Add a dependency on Perl V 5.10.1.
2.38 2016-05-03T15:22:00
- Remove confusing para about $label in docs for add_edge(). See RT#105861. Thanx BOBMATH.
- Change licence to Perl. See LICENSE file.
- Update some pre-reqs.
- Adopt new repo format.
- Wind back min Perl version from 5.14.2 to 5.10.1 and File::Copy from 2.21 to 2.14.
- Remove t/version.t in order to get rid of Test::Version.
2.37 Sun Oct 11 12:19:00 2015
- Fix the default for the graph parameter in GraphViz2::Parse::*, to be '' instead
of {}. See notes for V 2.36 for more info. GraphViz2::Parse::Regexp was fixed in V 2.36.
This versions fixes all the other modules in lib/GraphViz2/Parse/.
- Rename the internal attribute and method 'isa' to 'is_a', to avoid clashing with
UNIVERSAL::isa. Thanx to Kevin Ryde to suggesting this.
- In scripts/html.labels.2.pl, rename palegreen to palegreen.
- Re-generate the demo page with the new version #.
2.36 Tue Oct 6 20:43:00 2015
- Fix the default for the graph parameter in GraphViz2::Parse::Regexp, to be '' instead
of {}. The {} tricked the 'if' in sub BUILD into not initializing the 'graph' attribute
and hence forced the caller to provide a value. See RT#107566. Reported by Kevin Ryde.
- Remove .gitignore from MANIFEST. Add it to MANIFEST.SKIP.
2.35 Wed Feb 18 16:32:00 2015
- Rename CHANGES to Changes as perl CPAN::Spec::Changes.
- Add github repo to Build.PL.
- Add LICENSE to disto and MANIFEST.
2.34 Mon Oct 27 13:31:00 2014
- Expand the algorithm used to find a primary table/key pair for a given foreign table/key.
- Expand the FAQ to explain this algorithm. It's the first Q/A in the FAQ.
- Reformat the docs to have a max of 100 chars per line.
- Reformat this file to have a max of 100 chars per line.
2.33 Sat Aug 30 08:27:00 2014
- Stop emitting empty node labels. Thanx to Fjodor Fedov (see RT#98426).
- Update docs on how to download AT&T's Graphviz. Thanx to Alex Becker (see RT#98405).
2.32 Mon Aug 18 15:57:00 2014
- In subs add_edge() and add_node(), remove leading and trailing whitespace from HTML tables.
This is formatting sugar, but it also affects the regexp used later when
stringify_attributes() is called. The same patch was put into stringify_attributes() in
V 2.20, but there are cases when this whitespace processing must take place somewhat before
that sub is called. See RT#98098. Many thanx to Andrew Beverley for reporting this.
- Add scripts/html.labels.3.pl to test the above.
- Replace Perl6::Slurp with File::Slurp, as part of my policy to reduce the # of modules used.
2.31 Fri Aug 8 11:37:00 2014
- Re-write the code which splits port (and compass) off node names. A single regexp was not good
enough.
2.30 Tue Aug 5 16:22:00 2014
- Expand GraphViz2::DBI to associate foreign keys column names with the corresponding primary
table's primary key name. Fallback is to the previous behaviour. See the FAQ for
GraphViz2::DBI for details.
- The new code requires DBIx::Admin::TableInfo V 3.00, and Lingua::EN::PluralToSingular V 0.14.
- Add sequential numbers to the column names. There are actually the Graphviz port numbers.
The table name is port 0.
- Make foreign key edges point to the table name, rather than the primary key name.
This shifts such edges from entering the right-hand side of the table to entering via the
left, simplifying the image, since they no longer overlap with edges entering or leaving the
right-hand side.
2.29 Wed Jul 9 16:46:00 2014
- Add exclude => [qw/table_1 table_2 .../] and include => [qw/table_3 table_4 .../] options
to GraphViz2::DBI.create().
2.28 Tue Feb 18 15:25:00 2014
- Remove the method get_column_info().
- Patch GraphViz2::DBI method create() to use DBIx::Admin::TableInfo, rather than approximately
duplicate the code.
- The hashref returned by table_info() has some changed some keys:
o New: attributes
o Changed: column_names => columns
o Unchanged: foreign_keys
o New: primary_keys
Further, 'column_names' used to point to an array. 'columns' now points to a hashref.
- Remove 'use utf8' from modules, because it's global (affects all modules loaded I gather).
- Remove 'use open qw(:std :utf8)'.
- Remove 'use charnames qw(:full :short)' because it is never used.
- Update scripts/dbi.schema.pl to use $ENV{DBI_SCHEMA} for Postgres, if set.
2.27 Tue Feb 11 13:40:00 2014
- Stop using bare word file handles (again).
- Change sub BUILD() in all sub-classes to check whether or not a 'graph' parameter was supplied
to new(). If so, use it rather than instantiating a new GraphViz2 object.
This fixes a problem with those script/*.pl demos which use this feature.
- Fiddle t/sample.recdescent.1.dat, since the original test data happened to look like HTML,
and that stopped GraphViz2.stringify_attributes() adding double-quotes to protect the label.
That in turn caused dot to issue a syntax error when the generated DOT data was read.
2.26 Thu Jan 30 12:44:00 2014
- Stop using bare word file handles.
- Remove these lines from GraphViz2.pm (because utf8 is global and the others are not needed):
use utf8;
use open qw(:std :utf8); # Undeclared streams in UTF-8.
use charnames qw(:full :short); # Unneeded in v5.16.
2.25 Mon Jan 6 17:06:00 2014
- Remove debug printing of the output of 'dot -T?' (a list of valid output formats).
- Fix typos in output names in rank.sub.graph.1.pl and rank.sub.graph.2.pl.
rank.sub.graph.1.pl was outputting to html/rank.sub.graph.2.svg and visa versa.
2.24 Mon Dec 2 09:30:00 2013
- Rewrite scripts/extract.output.formats.pl, which used to download a page of documentation from
graphviz.org, and parse it to build a list of output formats. The problems are:
(1) Forgetting to run the script; (2) the on-line docs being out-of-date.
So, as of this version, I now parse the output of 'dot -T?', which will not just be more
accurate, but will also include the formats supported by locally-installed plugins. It's a
win-win result.
- Put that new logic into GraphViz2's load_valid_attributes() method.
- Expand the FAQ to discuss the above operation.
2.23 Sun Dec 1 09:42:00 2013
- Update lists of valid attibutes by running scripts/extract.*.pl, and incorporating the changes
into the source code of GraphViz2.pm (at the end). I use Data::Section::Simple to read this
data. These lists now correspond to Graphviz V 2.34. Changes:
o Remove 'aspect' as an attribute 'graph'.
o Add 'inputscale' as an attribute of 'graph'.
o Add 'overlap_shrink' as an attribute of 'graph'.
o Add 'star' as an attribute of 'node shape'.
o Add 'underline' as an attribute of 'node shape'.
o Add 'xdot1.2' as an attribute of 'output format'.
o Add 'xdot1.4' as an attribute of 'output format'.
See RT#91073. Many thanx for Kent Fredric for bringing this to my attention.
- Add t/version.t, which uses Test::Version.
- Update pre-reqs.
- Add use strict/warnings to Build.PL and Makefile.PL.
2.22 Fri Sep 6 16:03:00 2013
- Fix handling of graph attributes which are for clusters but not for subgraphs.
See scripts/sub.graph.frames.pl for sample code.
See the demo page for the output of that script.
See the new FAQ item 'How do I specify attributes for clusters?' for details.
Many thanx to Bill Hollingsworth (private email) for prompting me to investigate this bug.
- Document method default_subgraph().
2.21 Fri Sep 6 13:00:00 2013
- Replace Path::Tiny with File::Spec, because the former's list of dependencies is soooo long.
Changed files: GraphViz2::Config, scripts/copy.config.pl, scripts/find.config.pl, Build.PL
and Makefile.PL. See: RT#88435 (for Tree::DAG_Node) for an explanation.
2.20 Tue Aug 27 16:22:00 2013
- In sub stringify_attributes(), remove leading and trailing whitespace from HTML tables like
so: s/^\s+(<)/$1/ and s/(>)\s+$/$1/. This is formatting sugar, but it also affects the next
regexp.
- In the same sub, change a regexp from /^<.+>$/ to /^<.+>$/s. Note trailing 's'.
This allows '.' to match newlines within HTML lables. This fixes a bug (not yet reported).
- Both these changes allow HTML labels to be more nicely formatted in the source code of the
module which uses GraphViz2 (such as MarpaX::Grammar::GraphViz2).
- Split scripts/html.labels.pl into scripts/html.labels.1.pl and scripts/html.labels.2.pl.
These demonstrate the 2 types of HTML labels.
- Document sub escape_some_chars().
- Add an FAQ item on using whitespace in HTML labels.
2.19 Tue Aug 20 10:44:00 2013
- Remove the global graph attribute 'record_orientation', as forewarned in V 2.10, in June.
- Fix handling of some global attributes.
Previously, some options mentioned in the call to new(...) were not set by that call.
The options affected were: 'driver', 'format', 'strict', 'subgraph' and 'timeout'.
The options 'driver', 'format', and 'timeout' could be set in the call to run(...),
but in new(...), the value of 'format' was ignored, and the value of 'subgraph' generated an
error referring to '... not a valid attribute ...'.
Thanx to Larry Knibb for reporting this problem, for 'driver'.
- Remove reference to GraphViz2::Parse::Marpa from scripts/pod2html.sh. See comment below for
V 2.15. This module has been replaced by MarpaX::Grammar::GraphViz2, which depends on
MarpaX::Grammar::Parser.
2.18 Wed Aug 7 09:22:00 2013
- Remove print from sub BUILD() left over from debugging.
- Update Build.PL and Makefile.PL to include bugtracker and license items.
Also replace the Perl version checking code with a simple 'require 5.014.002; # For the utf8
stuff.'.
2.17 Sat Aug 3 08:58:00 2013
- Fix handling of record shapes. E.g. label => [] ignored global default shape 'Mrecord'.
Thanx to Kent Fredric for this report. See RT#87560.
- Fix handling of the graph's default name. This is used in 'digraph $name {...}'.
Previously, names like '' or '0' were ignored, and such values defaulted to 'Perl'.
- Add scripts/record.4.pl to demonstrate setting record-style node attributes.
- Fix names of html/utf8*.svg and png files, as output by scripts/utf8*.pl.
- Fix scripts/generate.sh.pl which generates scripts/generate.(png,svg).sh.
2.16 Fri Aug 2 10:54:00 2013
- Patch GraphViz2.pm to handle both SVG and (eg) PNG output. I failed to test this properly.
Thanx to Kent Fredric for this report. See RT#87525.
- Patch scripts/Heawood.pl to use font ArialMT instead of Arial when running under Darwin (OSX).
Thanx to David Jack Olrik for this report. See RT#87478.
- Remove special case code in scripts/jointed.edges.pl. It used png:gd instead of png, to work
round an unknown Graphviz problem. Let's hope /your/ version of Graphviz is up-to-date.
- Patch scripts/circo.pl: Add comment searched for by t/test.t, which is used to label
html/index.html.
- Add scripts/generate.sh.pl to generate scripts/generate.png.sh and scripts/generate.svg.sh.
This adds 2 tests, and 2 images to the demo page, and fixes various typos in those *.sh
files.
- Switch from Hash::FieldHash to Moo.
- Add config/.htgraphviz2 to help the author generate the demo.
- Add GraphViz2::Config.pm, and split GraphViz2::Filer off from GraphViz2::Utils, which alsp
helps generate the demo.
- Switch from Hash::FieldHash to Moo.
- Use File::Slurp except where I need Perl6::Slurp's utf8 option. I needed File::Slurp's
write_file() for the new script scripts/generate.sh.pl, so I decided to use it in most
places.
- Rename scripts/utf8.pl to scripts/utf8.1.pl.
- Rename scripts/utf8.test.pl to scripts/utf8.2.pl.
- Rename html/utf8.svg to html/utf8.1.svg.
- Rename html/utf8.test.svg to html/utf8.2.svg.
2.15 Mon Jul 29 14:42:00 2013
- Remove GraphViz2::Parse::Marpa, until it's re-written to use Jeffrey Kegler's code to dump a
grammar.
- Add scripts/circo.pl and it's output html/circo.svg.
- For non-HTML labels, escape double-quotes if they are not already escaped.
This allows pathological labels such as '\"'.
- For all labels, escape '[' and ']' if they are not already escaped.
The rationale for this is shrouded in the mists of time :-(.
- Put author tests in xt/author.
- Add Algorithm::Dependency::Source::HoA V 1.110 to the pre-reqs to keep my home-grown Build.PL
and Makefile.PL checker a bit quieter.
- Add Config V 0, channames V 0 and open V 0 to the pre-reqs.
- Move t/pod.t to xt/author/.
- Switch from IPC::Run to IPC::Run3. This after a discussion with Larry Knibb re the fact that
his code is hanging under Apache (mod_cgi) on Windows. He suggested using qx//, but I've
gone for IPC::Run3. The other reason to switch is the overly-long bug list for IPC::Run,
including Larry's report RT#87397.
I went thru the same issues with Lee when switching from system() to IPC::Run for V 2.02.
See RT#76459. IPC::Run3 has the advantage of letting me set binmode on various file handles.
- For all modules and some scripts, convert:
use strict;
use warnings;
into:
use strict;
use utf8;
use warnings;
use warnings qw(FATAL utf8); # Fatalize encoding glitches.
use open qw(:std :utf8); # Undeclared streams in UTF-8.
use charnames qw(:full :short); # Unneeded in v5.16.
2.14 Mon Jul 1 10:09:00 2013
- Patch push_subgraph() to correctly handle the case of an unnamed subgraph.
The code was outputting 'subgraph "" {...}'. The extra "" are now suppressed.
The code also handles the case of the name being undef.
There are no doc changes because the docs described precisely what should have happened,
thusly:
So, without $name, 'subgraph {' is written to the output stream.
With $name, 'subgraph "$name" {' is written to the output stream.
Many thanx (again) to Larry Marso for reporting this, with sample code.
- Add scripts/unnamed.sub.graph.pl.
2.13 Fri Jun 28 12:02:00 2013
- Oops - Patch scripts/record.1.pl as was allegedly done for V 2.11.
2.12 Thu Jun 27 14:40:00 2013
- Add scripts/plaintext.pl, which generates a 'Use of uninitialized value...' error under V 2.11
and, after the fix, does not do so under V 2.12. Many thanx to Larry Marso for the (private
email) report.
2.11 Thu Jun 27 09:21:00 2013
- Correct spelling of Kent Fredric's name below, with apologies.
- Patch scripts/record.1.pl and scripts/record.2.pl to use '\\n' to get a literal '\n' in the
output dot file. The original works my Debian machine, but needs fixing in case there's
someone out there not using Debian :-).
- Remove debug log message from add_edge().
2.10 Mon Jun 24 11:05:00 2013
- Overview: Re-work the label and port handing code.
- Note: the global graph attribute 'record_orientation' no longer does anything. The new label
syntax, (next, and in detail in the FAQ
(https://metacpan.org/module/GraphViz2#How-labels-interact-with-ports) ),
is now the recommended way of using labels to specify both ports and orientation.
Using 'record_orientation' will not cause parameter validation to fail, it just won't have
any effect. The attribute will be removed in a future version, so prepare now by deleting it
from your code.
- Labels can be a string, an arrayref of strings, or an arrayref of hashrefs. The latter
alternative is new. The keys to the hashrefs are 'text' and 'port', with the latter being
optional. See the FAQ topic mentioned above. See scripts/record.2.pl for sample code.
Many thanx to Kent Fredric for the report (RT#85976), and the list of suggestions.
- Add scripts/record.3.pl and add it to the demo generating code scripts/generate.*.sh.
It demonstrates deeply nested record structures using a string as a label. The same effect
could be achieved by using an arrayref of hashrefs, of course. scripts/record.2.pl shows
how.
- Stop escaping the 2 label characters { and }, since they are used to orient fields within
records. On the demo page http://savage.net.au/Perl-modules/html/graphviz2/, see
scripts/record.*.pl. Expand the FAQ discussion of escaping to cover this issue.
- Remove restriction that port names in calls to add_edge() had to start with 'port'.
This was due to my misreading of the Graphviz docs, where all examples used a 'port' prefix.
The code also now checks for '*::*', in case the program is using Perl classes for node
names, in which case we don't want the first ':' to be taken as the introduction for a port
name.
- Update words/tokens (arrow shapes etc) stored within the source code, by running
scripts/extract.*.pl and storing the output in lib/GraphViz2.pm after the __DATA__ token.
Yes, I know this is hard-coding.
See the amazing module Data::Section::Simple for details.
The set of words/tokens matches Graphviz 2.30.1, as of today, 2013-06-24.
- Rename CHANGES to Changes as per CPAN::Changes::SPEC.
- Reformat the POD in lib/GraphViz2.pm slightly.
- Remove scripts/parse.marpa.pl and t/sample.marpa.1.dat, as a step in removing all
Marpa-related material, because it uses the deprecated NAIF interface. All new Marpa work
should use the scanless interface (SCIF).
- Change Build.PL and Makefile.PL to check for Perl being at least V 5.14.0. If you are using an
earlier version, you can forgo utf8 support by editing the files to relax this restriction.
Some tests (utf8.pl, utf8.test.pl) will presumably fail as a consequence.
Lastly, my attention has been drawn to Unicode::Semantics::up(), but I've chosen not to use
it.
2.09 Fri May 31 09:57:00 2013
- Re-write the code in Build.PL and Makefile.PL which checks for Graphviz (dot) being installed,
since the previous code, using a pipe, was failing on some versions of Windows.
- Assume Config.pm is installed, and hence remove it from the pre-reqs.
This also stops a warning message generated because Config's version # is undef.
- Likewise assume File::Spec and File::Temp are installed, and 'recent enough'.
This is because the new code uses these 3 modules before specifying the pre-reqs.
- Bump the pre-req for Perl from 5.10.0 to 5.14, since we 'use feature qw/unicode_strings/.
- Re-write the code in Build.PL and Makefile.PL which checks for Perl being 'recent enough',
since the previous code, using a pre-req of "perl => '5.10.0'" generates a warning message
when using Makefile.PL (for my current Perl V 5.14.2). Now we analyze $Config{version}.
- One CPAN Tester found tests failing even though Graphviz was installed.
The problem was that the Times font was missing. The new code should fail during
'perl Build.PL', or 'perl Makefile.PL', rather than during testing, which is good.
2.08 Thu Mar 21 13:16:00 2013
- Add $ENV{DBI_SCHEMA} to scripts/dbi.schema.pl.
- For the MusicBrainz database, use DBI_SCHEMA=musicbrainz,cover_art_archive,report,statistics.
See http://musicbrainz.org/doc/MusicBrainz_Database for details.
Users of cpanm will want 'cpanm Carton' instead of 'sudo cpan Carton' in Perl dependencies.
See https://github.com/metabrainz/musicbrainz-server/blob/master/INSTALL.md for details.
2.07 Wed Mar 13 13:24:00 2013
- Extend GraphViz2::DBI to handle SQLite using pragma foreign_key_list($table_name).
- Add scripts/sqlite.foreign.keys.pl to help analyze that pragma's output.
- Remove the string 'App-Office-CMS' from scripts/dbi.schema.pl. That is, the create() method is
called as $g -> create(name => ''). This has the effect of removing the global node from the
resultant graph. All tables were descendents of this node, but with schemas of dozens or
hundreds of tables, it became confusing.
- Patch dbi.schema.pl to set the DBI connect attr sqlite_unicode and foreign_keys pragma if
using SQLite.
2.06 Thu Nov 8 12:38:00 2012
- No code changes.
- For pre-reqs such as strict, warnings, etc, which ship with Perl, set the version # to 0.
Reported as RT#80663 by Father Chrysostomos for Tree::DAG_Node.
2.05 Tue Oct 2 10:20:00 2012
- No fundamental code changes, so no need to upgrade, unless you need the following new
features.
- After a request from Jack Maney, author of the Perl module Hypatia:
o Document the mutator node_hash(), which returns a hashref keyed by node name.
Use this to get a list of all nodes and their attributes.
o Add a new mutator, edge_hash(), which also returns a hashref keyed by node name.
The node is the one at the arrow/tail/ end of the edge, i.e. where the edge starts from.
Use this to learn all sorts of things about the edge.
o Add scripts/report.nodes.and.edges.pl (a version of scripts/html.labels.pl) to demonstrate
how to access this data.
o Update to POD to match.
2.04 Fri Aug 17 10:48:00 2012
- Add Perl V 5.14.2 to the pre-reqs, for the utf8 stuff.
- Re-write the subgraph handling code, which was broken up to V 2.03.
Add samples, script/rank.sub.graph.[1234].pl, to demonstrate subgraph name effects and node
rankings. script/rank.sub.graph.[12].pl use subgraphs to force a set of nodes to be
horizontally aligned. script/rank.sub.graph.[34].pl show the effects of subgraph name
changes on the same data.
2.03 Mon Jun 18 9:47:00 2012
- Switch from double to single quotes in line 22 of GraphViz2::Parse::Regexp, so the resultant
string, treated as Perl code, runs on Windows. Reported by Max Maischein as RT#77869.
- Also, slightly reformat line 39 of that module.
2.02 Thu Apr 19 11:51:00 2012
- Accept patch from Lee as in RT#76459, to replace the code which writes the dot input file to
a file with binmode, and just pass the data to dot via IPC::Run.
Happily, this allows me to eliminate 'use open qw/:encoding(UTF-8) :std/;' in t/test.t.
- Update the pre-reqs in Build.PL and Makefile.PL.
- Add scripts/utf8.test.pl to the list of scripts shipped with this module.
- Add scripts/utf8* to scripts/generate.*.sh.
- Make scripts/generate.*.sh emit a warning when DBI_DSN is not set.
2.01 Wed Mar 7 08:50:00 2012
- I only tested V 2.00 by outputting to SVG (a text format), but outputting to a binary format
such as PNG was broken.
So, remove the 'use open qw/:encoding(UTF-8) :std/;', and restore binmode, in
GraphViz2.pm.
- Remove log to screen in utf8.pl, since Log::Handler doesn't accept utf8 as a logger option.
- Copy scripts/utf8.pl to scripts/utf8.test.pl and edit to display just 5 delta characters.
See html/utf8.test.svg. PNG is ok too.
This demonstrates (hopefully) we can get the correct output on a binary format despite
the 'Wide character in print...' message.
- Add FAQ topic regarding this 'Wide character in print...' problem.
2.00 Tue Mar 6 16:02:00 2012
- Support utf8 in labels. This required changes to GraphViz2.pm. See scripts/utf8.pl and
html/utf8.svg. I'm using Perl V 5.14.2.
Sample output is online at http://savage.net.au/Perl-modules/html/graphviz2/utf8.svg.
- Add an item to the FAQ about how to write scripts using utf8.
- Re-write GraphViz2::Parse::ISA to draw multiple class hierarchies on 1 graph. This means the
API for that class has changed. Specifically, create() no longer exists. Call add() 1 or
more times instead. Then, call generate_graph(). See the docs for details.
Sample output is online at
http://savage.net.au/Perl-modules/html/graphviz2/parse.isa.svg.
1.13 Sun Dec 25 10:33:00 2011
- Change <img...> to <object...> in the demo creation code, to keep poor old FireFox happy.
- Change various things in html/graphviz2.index.tx to we validate as XHTML 1.0 Strict.
- Unreleased.
Overview of changes in Cairo 1.106
==================================
* Generate cairo-perl-auto.typemap and cairo-perl-auto.h in a deterministic
fashion
* Use the pthread compatibility workaround on NetBSD as well
* Fix a test failure in t/CairoFont.t
Overview of changes in Cairo 1.105
==================================
* Fix libpthread-related building issues on OpenBSD
2.24 2016-12-27T10:58:00
- Test with Test::More V 1.001002 rather than V 1.302019, and all tests still pass.
See RT#115236. Thanx to Kent Fredric for again (sorry!) prompting me over this.
Lowering the version of Test::More in Makefile.PL is the only change in this version.
2.23 2016-12-21T08:00:00
- Add no_xxe to XML::Twig instantiation. See RT#118972. Many thanx to Lisa Hare for a
very well-crafted set of patches provided via github.
2017-09-11 7.0.7-2 Glenn Randers-Pehrson <glennrp@image...>
* Use signed integer arithmetic to caluculate timezone corrections (reference
https://github.com/ImageMagick/ImageMagick/issues/685).
2017-09-09 7.0.7-1 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.7-1, GIT revision 21065:ab2194121:20170909.
2017-09-09 7.0.7-1 Cristy <quetzlzacatenango@image...>
* Fixed numerous memory leaks (reference
https://github.com/ImageMagick/ImageMagick/issues).
2017-09-05 7.0.7-1 Dirk Lemstra <dirk@lem.....org>
* Added -define tiff:write-layers=true to add support for writing layered
tiff files.
2017-09-03 7.0.7-0 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.7-0, GIT revision 20996:2f8ac2203:20170903.
2017-08-28 7.0.7-0 Cristy <quetzlzacatenango@image...>
* Fixed numerous memory leaks (reference
https://github.com/ImageMagick/ImageMagick/issues).
* Don't overwrite symbolic links when the shred policy is enabled.
2017-08-27 7.0.6-10 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.6-10, GIT revision 20920:9940c367a:20170827.
2017-08-27 7.0.6-10 Cristy <quetzlzacatenango@image...>
* Support -metric ssim, structual similarity index.
2017-08-26 7.0.6-10 Dirk Lemstra <dirk@lem.....org>
* Fixed thread safety issue inside the pango and librsvg decoder
(reference: https://github.com/dlemstra/Magick.NET/issues/91).
2017-08-20 7.0.6-9 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.6-9, GIT revision 20860:3f307d8ad:20170820.
2017-08-18 7.0.6-9 Glenn Randers-Pehrson <glennrp@image...>
* Fixed bug with writing tIME chunk when timezone has a negative offset
(reference: https://github.com/ImageMagick/ImageMagick/issues/685)
2017-08-18 7.0.6-8 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.6-8, GIT revision 20838:e2eb79427:20170818.
2017-08-14 7.0.6-7 Cristy <quetzlzacatenango@image...>
* Fixed numerous memory leaks (reference
https://github.com/ImageMagick/ImageMagick/issues).
* Support CubicSpline resize filter. Define the lobes with the
-define filter:lobes={2,3,4} (reference
https://www.imagemagick.org/discourse-server/viewtopic.php?f=2&t=32506).
* Prevent assertion failure when creating PDF thumbnail (reference
https://github.com/ImageMagick/ImageMagick/issues/674).
2017-08-12 7.0.6-7 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.6-7, GIT revision 20799:0db4d8a16:20170812.
2017-08-12 7.0.6-7 Cristy <quetzlzacatenango@image...>
* Improve EPS aliasing (reference
https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=32497).
2017-08-11 7.0.6-7 Dirk Lemstra <dirk@lem.....org>
* Added a new option called 'dds:fast-mipmaps' (reference
https://github.com/ImageMagick/ImageMagick/issues/558)
* The mipmaps of a dds image can now be created from a list of images with
-define dds:mipmaps=fromlist (reference
https://www.imagemagick.org/discourse-server/viewtopic.php?f=2&t=30236).
2017-08-10 7.0.6-6 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.6-6, GIT revision 20775:061d0fa25:20170810.
2017-08-10 7.0.6-6 Cristy <quetzlzacatenango@image...>
* Fixed numerous memory leaks (reference
https://github.com/ImageMagick/ImageMagick/issues).
2017-08-10 7.0.6-6 Glenn Randers-Pehrson <glennrp@image...>
* tests/validate.c: Show the reason for failures in the test logs,
if available.
2017-08-03 7.0.6-6 Glenn Randers-Pehrson <glennrp@image...>
* Put UTC time in the PNG tIME chunk instead of local time (reference
https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=32447).
2017-08-02 7.0.6-5 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.6-5, GIT revision 20715:26b28d50a:20170802.
2017-08-01 7.0.6-5 Cristy <quetzlzacatenango@image...>
* Fixed numerous memory leaks (reference
https://github.com/ImageMagick/ImageMagick/issues).
2017-07-29 7.0.6-5 Glenn Randers-Pehrson <glennrp@image...>
* Properly set image->colorspace in the PNG decoder (previously
it was setting image->gamma, but only setting image->colorspace
for grayscale and gray-alpha images. Reference
https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=32418).
* Fix improper use of NULL in the JNG decoder (CVE-2017-11750, Reference
https://github.com/ImageMagick/ImageMagick/issues/632).
* Added "-define png:ignore-crc" option to PNG decoder. When you know
your image has no CRC or ADLER32 errors, this can speed up decoding.
It is also helpful in debugging bug reports from "fuzzers".
2017-07-29 7.0.6-5 Cristy <quetzlzacatenango@image...>
* Off by one error for gradient coder (reference
https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=32416),
https://github.com/ImageMagick/ImageMagick/issues/612).
2017-07-28 7.0.6-4 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.6-4, GIT revision 20657:4e81160d6:20170728.
2017-07-24 7.0.6-4 Cristy <quetzlzacatenango@image...>
* YUV coder no longer renders streaks (reference
https://github.com/ImageMagick/ImageMagick/issues/612).
* Fixed numerous memory leaks (reference
https://github.com/ImageMagick/ImageMagick/issues) including
https://github.com/ImageMagick/ImageMagick/issues/618 (CVE-2017-12676).
* coders/png.c: Initialized quantum_scanline and quantum_info
to prevent a bad free (reference
https://github.com/ImageMagick/ImageMagick/issues/621).
2017-07-25 7.0.6-4 Glenn Randers-Pehrson <glennrp@image...>
* Removed write_chunk_from_profile() from coders/png.c because it has
not worked at least since version 6.7.6.
* Removed many redundant checks before RelinquishMagickMemory(), which
is safe to call with a NULL argument.
* Added experimental PNG orNT chunk, to store image->orientation.
* Removed vpAg chunk write support (we are now writing caNv instead).
2017-07-24 7.0.6-3 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.6-3, GIT revision 20598:cc9c43b44:20170724.
2017-07-23 7.0.6-3 Cristy <quetzlzacatenango@image...>
* Fixed numerous memory leaks (reference
https://github.com/ImageMagick/ImageMagick/issues).
2017-07-23 7.0.6-3 Glenn Randers-Pehrson <glennrp@image...>
* Fix memory leaks when reading a malformed JNG image:
https://github.com/ImageMagick/ImageMagick/issues/600 (CVE-2017-13141),
https://github.com/ImageMagick/ImageMagick/issues/602 (CVE-2017-12565).
2017-07-21 7.0.6-2 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.6-2, GIT revision 20549:62fcf3d96:20170721.
2017-07-19 7.0.6-2 Cristy <quetzlzacatenango@image...>
* Fixed numerous memory leaks (reference
https://github.com/ImageMagick/ImageMagick/issues).
* The -monochrome option no longer returns a blank canvas (reference
https://github.com/ImageMagick/ImageMagick/issues/594).
* coders/png.c: fixed memory leak of quantum_info (CVE-2017-11539, reference
https://github.com/ImageMagick/ImageMagick/issues/582
* coders/png.c: fixed NULL dereference when trying to write an empty MNG
(CVE-2017-11522, reference
https://github.com/ImageMagick/ImageMagick/issues/586).
2017-07-15 7.0.6-2 Glenn Randers-Pehrson <glennrp@image...>
* Added caNv, eXIf, and pHYs to the list of PNG chunks to be removed
by the "-strip" option.
2017-07-15 7.0.6-1 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.6-1, GIT revision 20447:c2a315e10:20170715.
2017-07-13 7.0.6-1 Glenn Randers-Pehrson <glennrp@image...>
* Implemented PNG eXIf chunk support.
2017-07-08 7.0.6-1 Cristy <quetzlzacatenango@image...>
* Support new -auto-threshold option. OTSU and Triangle methods are
currently supported. Look for the Kapur method in the next release.
* Fixed numerous memory leaks (reference
https://github.com/ImageMagick/ImageMagick/issues).
* Don't use variable float_t / double_t, bump SO (reference
https://github.com/ImageMagick/ImageMagick/issues/510).
* Support DNG images with libraw delegate library.
2017-07-02 7.0.6-1 Glenn Randers-Pehrson <glennrp@image...>
* Reject PNG file that is too small (under 60 bytes) to contain
a valid image.
* Reject JPEG file that is too small (under 107 bytes) to contain
a valid image.
* Reject JNG file that is too small (under 147 bytes) to contain
a valid image.
2017-06-22 7.0.6-1 Glenn Randers-Pehrson <glennrp@image...>
* Stop a memory leak in read_user_chunk_callback() (reference
https://github.com/ImageMagick/ImageMagick/issues/517,
CVE 2017-11310).
v4.8.0 2017/07/06
* Add options to MiniMagick::Image.open which are forwarded to open-uri when
URL is used (@acrogenesis)
* Fixed MiniMagick::Image#get_pixels not returning all pixels for images that
have first or last bytes that could be interpreted as control characters in
their RGB output (@LAndreas)
17.08.11 BJH Release 10.79.04
libnetpbm: font facilities: fix invalid memory reference with
certain font files.
17.08.02 BJH Release 10.79.03
pbmtoibm23xx: change license terms to GPL 2 or later.
Makeman: make it work with Python 3.6 II.
17.07.08 BJH Release 10.79.02
libnetpbm: pnm_parsecolorn(), pnm_parsecolor(): fix parsing of
rgb: color specifications: yields value slightly too dim.
Affects many programs. Broken in Netpbm 10.79.00 about a week
ago.
17.07.03 BJH Release 10.79.01
Fix 'format-security' GNU compiler warning. Introduced in
Netpbm 10.79.00 a few days ago.
17.06.30 BJH Release 10.79.00
Add pamtable .
pamgauss: Add -maximize, -oversample . Thanks Anton Shepelev
<anton.txt@gmail.com>
pnmconvol: Extend -normalize to be applicable to convolution
kernels specified by PGM file. Thanks Anton Shepelev
<anton.txt@gmail.com>
g3topbm: tolerate fill bits.
pbmtog3: Add -align8, -align16.
ppmshadow: Improve results for very small maxval.
ppmshadow: eliminate extraneous messages from pnmconvol.
libnetpbm: Improve error message for purported image that is
exactly 1 byte long (so ends in the middle of what would be the
magic number).
pbmtox10bm: Get the Perl interpreter for this Perl program from
the PATH instead of hardcoded as /usr/bin/perl (like all other
Netpbm Perl programs).
ppmcolormask: fix incorrect output when input maxval is not 255.
Always broken (ppmcolormask was new in Netpbm 9.0, April 2000).
bmptopnm: fix crash when input is a Windows BMP with negative
number for width. Always broken. (bmptopnm was new, as
bmptoppm, in original Netpbm, 1992).
pamcomp: fix incorrect output with -mixtransparency.
Always broken. (-mixtransparency was new in Netpbm 10.56,
September 2011).
pamcomp: remove debug trace message with -mixtransparency.
Always broken. (-mixtransparency was new in Netpbm 10.56,
September 2011).
pnmtojpeg: fix array bounds violation in argument list. Always
broken (pnmtojpeg was new to Netpbm in Netpbm 8.2 (March 2000).
pamcrater: fix incorrect output with non-square image.
Introduced in Netpbm 10.69 (December 2014).
svgtopam: fix treating negative width or height values in SVG
like twos complement positive numbers; fail instead. Always
broken (svgtopam was new in Netpbm 10.33 (March 2006)).
svgtopam: fix error messages when input has splines or negative
positions. Always broken (svgtopam was new in Netpbm 10.33
(March 2006)).
libnetpbm: fix bug: pm_system_XXX closes Standard Input if you
supply a Standard Output accepter but not a Standard Input
feeder. Broken since Netpbm 10.40 (September 2007).
Windows: fix bug: pm_system_lp() and pm_system_vp() fail
silently instead of with a clear error message in an environment
that does not provide Unix process management. Always broken.
(pm_system_lp and pm_system_vp were new in Netpbm 10.40
(September 2007), but wouldn't even compile until Netpbm 10.42
(March 2008)).
installnetpbm: Accept globs for directory name responses
(notably, ~/DIR).
makeman: Make it work with Python 3.6.
Build: don't try to build standardppmdfont.c if it already
exists (so don't require ppmdcfont to exist). Broken around
Netpbm 10.35 (2006).
Build: Define _XOPEN_SOURCE=500 in source files that use M_PI.
While C libraries in the past have always provided this with
just _XOPEN_SOURCE=null, it appears that M_PI is actually
defined by Single Unix Specification 2, aka UNIX98, for which
you need _XOPEN_SOURCE=500, and Cygwin has changed to enforce
this.
Build: document MinGW _XOPEN_SOURCE incompatibility and add
warning to Configure.
Debian packaging: fix bug: don't try to include Manweb files, as
it is no longer packaged by 'make package'.
17.03.28 BJH Release 10.78.00
ppmpat: Add -color.
ppmpat: Add -argyle1, -argyle2.
pnmtotiff: Fail with -miniswhite or -minisblack on color image
rather than produce an invalid TIFF.
tifftopnmcmyk: Default rows per strip to the TIFF library
default instead of whatever yields 8K strips.
--version global option: with SOURCE_DATE_EPOCH environment
variable, display source code datetime instead of build
datetime. And when displaying build datetime, do it in the
local time of the process running the command instead of the
process that did the build.
tifftonm: Fix incorrect PBM output with two-color paletted TIFF
image. Broken in primordial Netpbm, ca 1990.
tifftopnm: Fix memory corruption when image is more pixels than
can be represented as a C unsigned integer. Broken in Netpbm
10.11 (October 2002).
tifftopnmcmyk: Fix bug: fails with very wide images and no
-rowsperstrip. Always broken. (Tifftopnmcmyk was new in Netpbm
8.2 (March 2000).
svgtopam: Fix crash when out of memory. Always broken (svgtopam
was new in Netpbm 10.33 (March 2006)).
pnmcrop: Add -closeness
libnetpbm: Add ppmd_pathbuilder_* functions.
libnetpbm: ppmd_fill_path: remove debug trace. Always broken
(ppmd_fill_path was new in Netpbm 10.34 (June 2006).
Build: don't create pointer man pages anymore. These were
classic man pages, created by 'make package', one for each
program, that just told the user to get the manual from the web
and that other options for manuals are available at install
time. Getting documentation online is commonplace enough now
that the user doesn't need to be told to do it or that there are
other options. The existence of pointer man pages was,
meanwhile, misleading, since it looked from the outside like
they actually contained documentation.
Build: Don't package or install Manweb setup (for accessing
manuals on the web with Manweb). Probably 100% unused and
distracting.
Debian package: change dependencies to be compatible with
Debian 8.
Added a warning in FacetGrid when passing a categorical plot function without specifying order (or hue_order when hue is used), which is likely to produce a plot that is incorrect.
Improved compatibility between FacetGrid or PairGrid and interactive matplotlib backends so that the legend no longer remains inside the figure when using legend_out=True.
Changed categorical plot functions with small plot elements to use dark_palette instead of light_palette when generating a sequential palette from a specified color.
Improved robustness of kdeplot and distplot to data with fewer than two observations.
Fixed a bug in clustermap when using yticklabels=False.
Fixed a bug in pointplot where colors were wrong if exactly three points were being drawn.
Fixed a bug inpointplot where legend entries for missing data appeared with empty markers.
Fixed a bug in clustermap where an error was raised when annotating the main heatmap and showing category colors.
Fixed a bug in clustermap where row labels were not being properly rotated when they overlapped.
Fixed a bug in kdeplot where the maximum limit on the density axes was not being updated when multiple densities were drawn.
Improved compatibility with future versions of pandas.
Sync opencv-contrib-face too.
Main changes:
- DNN module from opencv_contrib was promoted to the main repository,
improved and accelerated it a lot. An external BLAS implementation is
not needed anymore. For GPU there is experimental DNN acceleration using
Halide (http://halide-lang.org).
- OpenCV can now be built as C++ 11 library using the flag ENABLE_CXX11.
Some cool features for C++ 11 programmers have been added.
- We've also enabled quite a few AVX/AVX2 and SSE4.x optimizations in
the default build of OpenCV thanks to the feature called 'dynamic
dispatching'. The DNN module also has some AVX/AVX2 optimizations.
- Intel Media SDK can now be utilized by our videoio module to do
hardware-accelerated video encoding/decoding. MPEG1/2, as well as
H.264 are supported.
- Embedded into OpenCV Intel IPP subset has been upgraded from 2015.12
to 2017.2 version, resulting in ~15% speed improvement in our core &
imgproc perf tests.
Full release notes:
https://github.com/opencv/opencv/wiki/ChangeLog
Security
* Double-free in gdImagePngPtr(). (CVE-2017-6362)
* Buffer over-read into uninitialized memory. (CVE-2017-7890)
Fixed
* Fix 109: XBM reading fails with printed error
* Fix 338: Fatal and normal libjpeg/ibpng errors not distinguishable
* Fix 357: 2.2.4: Segfault in test suite
* Fix 386: gdImageGrayScale() may produce colors
* Fix 406: webpng -i removes the transparent color
* Fix Coverity 155475: Failure to restore alphaBlendingFlag
* Fix Coverity 155476: potential resource leak
* Fix several build issues and test failures
* Fix and reenable optimized support for reading 1 bps TIFFs
Added
* The native MSVC buildchain now supports libtiff and most executables
http://git.finalrewind.org/feh/plain/ChangeLog
Mon, 21 Aug 2017 19:04:00 +0200 Daniel Friesel <derf+feh@finalrewind.org>
* Release v2.19.3
* Save geometry data in .fehbg when setting a wallpaper with --geometry
* Fix Imlib2 developer warning and improve out-of-memory error message
when using --thumbnails / --index on large directories
Version 1.6.32beta01 [July 31, 2017]
Avoid possible NULL dereference in png_handle_eXIf when benign_errors
are allowed. Avoid leaking the input buffer "eXIf_buf".
Eliminated png_ptr->num_exif member from pngstruct.h and added num_exif
to arguments for png_get_eXIf() and png_set_eXIf().
Added calls to png_handle_eXIf(() in pngread.c and png_write_eXIf() in
pngwrite.c, and made various other fixes to png_write_eXIf().
Changed name of png_get_eXIF and png_set_eXIf() to png_get_eXIf_1() and
png_set_eXIf_1(), respectively, to avoid breaking API compatibility
with libpng-1.6.31.
Version 1.6.32beta02 [August 1, 2017]
Updated contrib/libtests/pngunknown.c with eXIf chunk.
Version 1.6.32beta03 [August 2, 2017]
Initialized btoa[] in pngstest.c
Stop memory leak when returning from png_handle_eXIf() with an error
(Bug report from the OSS-fuzz project).
Version 1.6.32beta04 [August 2, 2017]
Replaced local eXIf_buf with info_ptr-eXIf_buf in png_handle_eXIf().
Update libpng.3 and libpng-manual.txt about eXIf functions.
Version 1.6.32beta05 [August 2, 2017]
Restored png_get_eXIf() and png_set_eXIf() to maintain API compatability.
Version 1.6.32beta06 [August 2, 2017]
Removed png_get_eXIf_1() and png_set_eXIf_1().
Version 1.6.32beta07 [August 3, 2017]
Check length of all chunks except IDAT against user limit to fix an
OSS-fuzz issue.
Version 1.6.32beta08 [August 3, 2017]
Check length of IDAT against maximum possible IDAT size, accounting
for height, rowbytes, interlacing and zlib/deflate overhead.
Restored png_get_eXIf_1() and png_set_eXIf_1(), because strlen(eXIf_buf)
does not work (the eXIf chunk data can contain zeroes).
Version 1.6.32beta09 [August 3, 2017]
Require cmake-2.8.8 in CMakeLists.txt. Revised symlink creation,
no longer using deprecated cmake LOCATION feature (Clifford Yapp).
Fixed five-byte error in the calculation of IDAT maximum possible size.
Version 1.6.32beta10 [August 5, 2017]
Moved chunk-length check into a png_check_chunk_length() private
function (Suggested by Max Stepin).
Moved bad pngs from tests to contrib/libtests/crashers
Moved testing of bad pngs into a separate tests/pngtest-badpngs script
Added the --xfail (expected FAIL) option to pngtest.c. It writes XFAIL
in the output but PASS for the libpng test.
Require cmake-3.0.2 in CMakeLists.txt (Clifford Yapp).
Fix "const" declaration info_ptr argument to png_get_eXIf_1() and the
num_exif argument to png_get_eXIf_1() (Github Issue 171).
Version 1.6.32beta11 [August 7, 2017]
Added "eXIf" to "chunks_to_ignore[]" in png_set_keep_unknown_chunks().
Added huge_IDAT.png and empty_ancillary_chunks.png to testpngs/crashers.
Make pngtest --strict, --relax, --xfail options imply -m (multiple).
Removed unused chunk_name parameter from png_check_chunk_length().
Relocated setting free_me for eXIf data, to stop an OSS-fuzz leak.
Initialize profile_header[] in png_handle_iCCP() to fix OSS-fuzz issue.
Initialize png_ptr->row_buf[0] to 255 in png_read_row() to fix OSS-fuzz UMR.
Attempt to fix a UMR in png_set_text_2() to fix OSS-fuzz issue.
Increase minimum zlib stream from 9 to 14 in png_handle_iCCP(), to account
for the minimum 'deflate' stream, and relocate the test to a point
after the keyword has been read.
Check that the eXIf chunk has at least 2 bytes and begins with "II" or "MM".
Version 1.6.32rc01 [August 18, 2017]
Added a set of "huge_xxxx_chunk.png" files to contrib/testpngs/crashers,
one for each known chunk type, with length = 2GB-1.
Check for 0 return from png_get_rowbytes() and added some (size_t) typecasts
in contrib/pngminus/*.c to stop some Coverity issues (162705, 162706,
and 162707).
Renamed chunks in contrib/testpngs/crashers to avoid having files whose
names differ only in case; this causes problems with some platforms
(github issue #172).
Version 1.6.32rc02 [August 22, 2017]
Added contrib/oss-fuzz directory which contains files used by the oss-fuzz
project (https://github.com/google/oss-fuzz/tree/master/projects/libpng).
Version 1.6.32 [August 24, 2017]
No changes.
There is no documentation in the "cdlabelgen" script that can be
extracted using perldoc(1). Remove the rule invoking perldoc(1)
and remove the need for perldoc(1) as a build tool, which fixes the
build error due to missing
documentation.
Greatly simplify the patch to the project Makefile by moving some
of the logic in the package Makefile. Almost no changes to the
package Makefile are needed if the appropriate variables are
overridden on the make(1) command line.
NEW set term {pngcairo|pdfcairo} pointscale <factor>
NEW "save fit" back-ported from version 5.2 as a replacement for "update"
CHANGE deprecate "update" command (but do not remove it)
CHANGE allow placement of circles in 3D plots using axis coordinates
CHANGE ignore invalid z coordinate for 3D objects placed in "set view map"
CHANGE distinguish 'bind "shift-Button1"' from 'bind "Button1"'
CHANGE use Mingw-w64 and MSVC popen rather than built-in "fake" popen
FIX rangelimited y2 axis could produce spurious diagonal line across plot
FIX assignment of x/y dimensions in "binary record=(a,b) ... with image"
FIX negative array index caused by hidden3d degenerate polygon
FIX object clipping in "set view map"
FIX cairo terminals: scale textbox border linewidth by terminal linewidth
FIX canvas terminal: initialization of plot dimensions (affects first zoom)
FIX crash in stats if no usable data is found
FIX do not use LaTeX formatting in tabular output
FIX additional sanity checks for input data format
FIX more consistent handling of plot 'with table'
FIX incorrect, possibly empty, command string was saved for previous fit
FIX 2D images with logscale axes could fail (segfault)
FIX nested iteration containing an empty range
This package uses CMake to configure the software. Include the
GNUInstallDirs CMake module to define CMAKE_INSTALL_<dir> macros,
and use CMAKE_INSTALL_MANDIR as the location for the installed
manpages. The correct environment variables are passed so that
${CMAKE_INSTALL_MANDIR} points into ${PKGMANDIR}.
http://git.finalrewind.org/feh/plain/ChangeLog
Sat, 12 Aug 2017 05:05:24 +0200 Daniel Friesel <derf+feh@finalrewind.org>
* Release v2.19.2
* Show ImageMagick loader errors unless --quiet is specified
* Fix crash when handling certain media keys (introduced in 2.19.1)
This new release includes a significant number of improvements and bug fixes. In particular:
* Multi-threading support at decoding side
* Several speed optimisations both at encoder and decoder, and both on Wavelet Transform and Entropy Coding parts. On our test set, a single-threaded execution is now around 20% faster (encoding or decoding).
* Huge memory consumption reduction at decoding side (~60% reduction on large images)
* Several important bug fixes, in particular the one that was preventing OpenJPEG to encode lossless in some specific situations, as well as those related to mode switches (BYPASS/LAZY, RESTART/TERMALL, etc).
* Several security fixes thanks to the inclusion of OpenJPEG in the Google OSS Fuzz project.
Beside that, several improvements have been brought to the project maintenance, like inclusion of benchmarking scripts to compare speed with latest available kakadu binaries.
And, last but not least, API and ABI are 100% compatible with previous version.
2017-07-12 Slaven Rezic <slaven@rezic.de>
Release 1.41
Stable release with the change in 1.40_50
Additionally more diagnostics in t/string.t
2017-06-30 Slaven Rezic <slaven@rezic.de>
Release 1.40_50
Support iTXt chunks in PNGs (RT #122285) (by Nicholas Clark)
* jpeg: restore grayscale image support
* bmp: Tighten image dimension checks
* ico: Fixo icon quality sorting
* Various other leak and overflow fixes
* Add some assertion to help static analysis
* Remove support for building on various obsolete platforms
* Translation updates
2.36.7:
* Add tests for recent bug fixes
* ico, bmp, tiff: avoid integer overflows
* jpeg: error out if wrong number of channels
* Misc.bugfixes
* Support mimetypes: image/wmf, image/emf
* Translation updates
https://git.finalrewind.org/feh/plain/ChangeLog
Tue, 25 Jul 2017 18:40:33 +0200 Daniel Friesel <derf+feh@finalrewind.org>
* Release v2.19.1
* Fix Shift modifier not being recognized for tab, space and similar keys.
This lead to keybindings like Shift+Tab or Shift+Space being parsed as if
the Shift modifier had not been specified
Exif manipulation with pure python script.
* Pure Python. So, it runs everywhere where Python runs.
* Easy exif manipulations. Read, write, remove...
* Documented.
Libfpx is The Flashpix OpenSource Toolkit a library for reading and
writing FlashPix images.
This product includes software developed by the contributors and Digital
Imaging Group, Inc. (http://www.digitalimaging.org/) for use in the
Flashpix Toolkit Project.
Changes since the last public release (1.6.30):
Guard the definition of _POSIX_SOURCE in pngpriv.h (AIX already defines it;
bug report by Michael Felt).
Revised pngpriv.h to work around failure to compile arm/filter_neon.S
("typedef" directive is unrecognized by the assembler). The problem
was introduced in libpng-1.6.30beta01.
Added "Requires: zlib" to libpng.pc.in (Pieter Neerincx).
Added special case for FreeBSD in arm/filter_neon.S (Maya Rashish).
Added instructions for disabling hardware optimizations in INSTALL.
Added "--enable-hardware-optimizations" configuration flag to enable
or disable all hardware optimizations with one flag.
Updated CMakeLists.txt to add INTEL_SSE and MIPS_MSA platforms.
Changed "int" to "png_size_t" in intel/filter_sse2.c to prevent
possible integer overflow (Bug report by John Bowler).
Quieted "declaration after statement" warnings in intel/filter_sse2.c.
Added scripts/makefile-linux-opt, which has hardware optimizations enabled.
Removed one of the GCC-7.1.0 'strict-overflow' warnings that result when
integers appear on both sides of a compare. Worked around the others by
forcing the strict-overflow setting in the relevant functions to a level
where they are not reported (John Bowler).
Changed "FALL THROUGH" comments to "FALLTHROUGH" because GCC doesn't like
the space.
Worked around some C-style casts from (void*) because g++ 5.4.0 objects
to them.
Increased the buffer size for 'sprint' to pass the gcc 7.1.0 'sprint
overflow' check that is on by default with -Wall -Wextra.
Added eXIf chunk support.
Added a minimal eXIf chunk (with Orientation and FocalLengthIn35mmFilm
tags) to pngtest.png.
* Follow semver
* Avoid implicit relative import
* Use utf-8 instead of utf8 in headers
* Keep cairo library loaded until all relevant objects are freed
* Add cairo_quartz_* functions for MacOS
* Use the default ReadTheDocs theme
* Fix implicit casts
Generalized fix solidgauge squares algorithm
Fix secondary series ‘stroke_style’ property
Fix wrong label colors when there are more series than colors
Show y guides in horizontal chart
Fix nomenclature of Taiwan
Better None values handling in logarithmic charts
in Python. It is built on top of matplotlib and tightly integrated with the
PyData stack, including support for numpy and pandas data structures and
statistical routines from scipy and statsmodels.
Some of the features that seaborn offers are
* Several built-in themes that improve on the default matplotlib aesthetics
* Tools for choosing color palettes to make beautiful plots that reveal
patterns in your data
* Functions for visualizing univariate and bivariate distributions or for
comparing them between subsets of data
* Tools that fit and visualize linear regression models for different kinds
of independent and dependent variables
* Functions that visualize matrices of data and use clustering algorithms to
discover structure in those matrices
* A function to plot statistical timeseries data with flexible estimation and
representation of uncertainty around the estimate
* High-level abstractions for structuring grids of plots that let you easily
build complex visualizations
From the changelog against 2.2.4:
## New features:
- When appending EXIF data to an exported image, do not fail if reading of EXIF from the original file fails
- Support XYZ as proofing profile
- Clear DerivedFrom from XMP before writing it
- bauhaus: when using soft bounds, keep slider step constant
## Bugfixes:
- Some GCC7 build fixes
- cmstest: fix crash when missing XRandR extension.
- Fix crash in Lua libs when collapsing libs
- Mac packaging: some fixes
- RawSpeed: TiffIFD: avoid double-free
- Fix a few alloc-dealloc mismatches
## Base Support:
- Canon EOS 77D
- Canon EOS 9000D
- Nikon D500 (14bit-uncompressed, 12bit-uncompressed)
- Nikon D5600 (12bit-compressed, 12bit-uncompressed, 14bit-compressed, 14bit-uncompressed)
- Panasonic DC-FZ82 (4:3)
- Panasonic DMC-FZ80 (4:3)
- Panasonic DMC-FZ85 (4:3)
- Panasonic DC-GH5 (4:3)
## White Balance Presets:
- Pentax K-3 II
## Noise Profiles:
- Nikon D500
- Panasonic DMC-FZ300
- Panasonic DMC-LX100
- Pentax K-70
- Sony ILCE-5000
Security Fixes:
---------------
DPX: Fix excessive use of memory (DOS issue) due to file header claiming large image dimensions but insufficient backing data. (CVE-2017-10799).
JNG: Fix memory leak when reading invalid JNG image (CVE-2017-8350).
MAT: Fix excessive use of memory (DOS issue) due to continuing processing with insufficient data and claimed large image size. Verify each file extent to make sure that it is within range of file size. (CVE-2017-10800).
META: Fix heap overflow while parsing 8BIM chunk (CVE-2016-7800).
PCX: Fix denial of service issue.
RLE: Fix abnomally slow operation (denial of service issue) with intentionally corrupt colormapped file.
PICT: Fix possible buffer overflow vulnerability given suitably truncated input file.
PNG: Enforce spec requirement that the dimensions of the JPEG embedded in a JDAT chunk must match the JHDR dimensions (CVE-2016-9830).
PNG: Avoid NULL dereference when MAGN chunk processing fails.
SCT: Fix stack-buffer read overflow (underflow?) while reading SCT header.
SGI: Fix denial of service issues. Delay large memory allocations until file header has fully passed sanity checks.
TIFF: Fix out of bounds read when reading CMYKA TIFF which claims to have only 2 samples per pixel (CVE-2017-6335).
TIFF: Fix out of bounds read when reading RGB TIFF which claims to have only 1 sample per pixel (CVE-2017-10794).
WPG: Fix heap overflow (CVE-2016-7996). Fix assertion crash (CVE-2016-7997).
Bug fixes:
----------
DifferenceImage(): Fix Fix all-black difference image if an input file is colormapped.
EXIF orientation was not being properly detected for some files.
-frame: The import command -frame handling was improperly implemented and was using already freed data.
GIF: Fixes for "Excessive LZW string data" problem.
Magick++: Bug fixes to PathSmoothCurvetoRel::operator() and PathSmoothCurvetoRel::operator().
PAM: Support writing GRAYSCALE PAM format.
PNG: Fix memory leaks.
SVG: Fixed a memory leak. Fixed a possible null pointer dereference.
TclMagick: Problem that TkMagick could not resolve functions from TclMagick under Linux is fixed.
TclMagick: Fix parser validatation in magickCmd() to avoid crash given a syntax error.
TIFF: Fix for reading old JPEG files (avoids "Improper call to JPEG library in state 0. (LibJpeg).").
TXT: Fixed memory leak.
XCF: Error checking is improved.
New Features:
-------------
EXIF rotation: Support is added such that the EXIF orientation tag is updated when the image is rotated.
MAT: Now support reading multiple images from Matlab V4 format.
Magick++: Orientation method now updates orientation in EXIF profile, if it exists.
Magick++: Added Image attribute method which accepts a 'char *' argument, and will remove the attribute if the value argument is NULL.
-orient: The -orient command line option now also updates the orientation in the EXIF profile, if it exists.
PGX: Support PGX JPEG 2000 format for reading and writing (within the bounds of what JasPer supports).
Wand API: Added MagickAutoOrientImage(), MagickGetImageOrientation(), MagickSetImageOrientation(), MagickRemoveImageOption(), and MagickClearException().
Upstream changes:
2.78 2017.07.07 MANWAR
- Merged PR #10 (fix entity escaping), thanks @haarg. This also resolved RT #121612.
2.77 2017.05.18 MANWAR
- Proposed fix to the following test failure:
http://www.cpantesters.org/cpan/report/ddc7eefc-3429-11e7-8430-9cfb106f656a
2.76 2017.05.08 MANWAR
- Added AUTHOR ONLY test scripts (meta-json.t and meta-yml.t).
2.75 2017.05.07 MANWAR
- Tidied up unit test scripts and removed '+x' attributes.
- Tidied up SEE ALSO section in SVG::XML package pod.
2.74 2017.05.04 MANWAR
- Added key 'provides' to the Makefile.PL script as recommended by CPANTS.
2.73 2017.05.03 MANWAR
- Merged PR #8, thanks @CSSON. Modified slightly to keep tidyall happy.
- Correct some spelling errors that were detected by codespell.
- Don't insert whitespace between tag name and closing bracked when a tag has no attributes
2.72 2017.05.02 MANWAR
- Added test script t/00-load.t
- Fixed typo in the pod document.
2.71 2017.05.01 MANWAR
- Fixed issue RT #57000 with regard to be explici about SVG instance.
2.70 2017.04.27 MANWAR
- Added MIN_PERL_VERSION to the Makefile.PL script as suggested by CPANTS.
2.69 2017.04.20 MANWAR
- Fixed issue RT #118091, skip test if Perl::Tidy is missing.
2.68 2017.04.19 MANWAR
- Fixed issue RT #109521, adding min ver of Test::More v0.94.
2.67 2017.04.18 MANWAR
- Fixed the issue with regard to github respository info in the Makefile.PL script, thanks @KENTNL.
2.66 2017.04.17 MANWAR
- Addressed issue RT #121197 (incorrect meta spec), thanks @KENTNL.
- Added 'clean' and 'dist' keys to the Makefile.PL script.
- Tidied up .gitignore file.
- Added MANIFEST file, no need to generate every time.
2.65 2017.04.16 MANWAR
- Merged PR #9, correcting typo in the pod. Thanks @vti.
- Tidied up Changes file.
- Tidied up Makefile.PL script.
- Tidied up README file.