GraphicsMagick: Rotate ChangeLog for 2022. Happy New Year!

GraphicsMagick Commits <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.cvs
Message-ID <mailman.33027.1641062334.1995.graphicsmagick-commit@lists.sourceforge.net>
changeset eae611832371 in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=eae611832371
summary: Rotate ChangeLog for 2022.  Happy New Year!

diffstat:

 ChangeLog                              |  807 +--------------------------------
 ChangeLog.2021                         |  806 ++++++++++++++++++++++++++++++++
 VisualMagick/installer/inc/version.isx |    4 +-
 magick/version.h                       |    4 +-
 www/ChangeLog-2021.html                |  701 ++++++++++++++++++++++++++++-
 www/Changelog.html                     |  701 +----------------------------
 6 files changed, 1514 insertions(+), 1509 deletions(-)

diffs (truncated from 3070 to 500 lines):

diff -r f31b38267c37 -r eae611832371 ChangeLog
--- a/ChangeLog	Fri Dec 31 17:37:22 2021 -0600
+++ b/ChangeLog	Sat Jan 01 12:38:34 2022 -0600
@@ -1,806 +1,3 @@
-2021-12-31  Bob Friesenhahn  <[email protected]>
-
-        * doc/{gmdoc2html, gmdocselect, imdoc2man, imdocselect}: Fixes to
-        work better with both GNU sed and Solaris/Illumos sed.
-
-        * doc/GNUmakefile: Use GNU make rules to produce the full imdoc
-        list for man, html, and tex, rather than relying on a shell
-        wildcard expression, since the order produced by the shell
-        wildcard expression is indeterminate.
-
-
-2021-12-30  Bob Friesenhahn  <[email protected]>
-
-        * www/index.rst: Document that
-        https://graphicsmagick.sourceforge.io/index.html is also
-        available.
-
-        * www/programming.rst: Update URLs.  Add a link to a 'Go' binding.
-
-        * Copyright.txt: Update Copyright text for 2022 and prepare for
-        new year.
-
-2021-12-29  Bob Friesenhahn  <[email protected]>
-
-        * coders/{gif.c, meta.c, miff.c, mpc.c, pdb.c, pnm.c xpm.c}: Rely
-        on _MagickReallocateResourceLimitedMemory() to extend memory
-        allocation.
-
-        * magick/memory.c (_MagickReallocateResourceLimitedMemory): Remove
-        size limit from realloc binary expansion.  Fix reallocs tally counts.
-
-        * magick/memory-private.h(_MagickReallocateResourceLimitedMemory)
-        : Remove use of GCC/Clang '__attribute_malloc__' since it is not
-        appropriate for this function.
-
-        * magick/memory.c (_MagickReallocateResourceLimitedMemory):
-        Maintain a tally of the total number of octets moved by realloc.
-
-2021-12-27  Bob Friesenhahn  <[email protected]>
-
-        * coders/mat.c (ReadMATImage): Change 'ldblk' to size_t and
-        check related calculations for overflow and to avoid possible
-        negative seek offsets.
-        (FixLogical): Pass 'ldblk' as size_t.
-        (ReadMATImage): Assure that corrupt/incomplete image is not
-        returned.
-
-2021-12-25  Bob Friesenhahn  <[email protected]>
-
-        * magick/profile.c (AppendImageProfile): Deprecate this function
-        since JPEG was the last user.
-
-        * coders/jpeg.c (AppendProfile): Implement more efficient way to
-        append JPEG profile chunks.  Addresses SourceForge issue #634
-        "Slow to read JPEG with big APP1 profile".
-
-        * coders/jp2.c (ReadJP2Image): Free 'options' which is now
-        allocated memory.
-
-        * coders/png.c (ReadOnePNGImage): Support the define
-        png:chunk-malloc-max=limit in order to allow reading PNG files
-        which report "chunk data is too large" or to reduce the default
-        limit.  The default libpng limit is 8,000,000 bytes, which is more
-        than sufficient for normal files.  Note that since PNG uses
-        compression, the limit is on the uncompressed data and a
-        relatively small file may be able to provide a chunk which
-        decompresses to a large size.  Addresses SourceForge #594 "Be able
-        to affect libpng user_chunk_malloc_max".
-
-2021-12-24  Bob Friesenhahn  <[email protected]>
-
-        * PerlMagick/Magick.xs: Fix issue that image fill attribute had
-        its opacity reset to transparent so it could not be usefully set
-        at image scope.  Note that this fix may change results if the fill
-        attribute is not set since then the default will actually be used.
-        Support Get of "fill" and "stroke".  Addresses SourceForge issue
-        #650 "Image attributes not working and not as documented for
-        PerlMagick".  Eliminate use of dangerous strncpy().
-
-        * magick/transform.c (TransformImage): Trace crop geometry. Trace
-        transform geometry.
-        (CropImage): Trace crop geometry. Trace bounding page.
-
-        * Magick++/lib/Image.cpp (Magick::Image::trim): Trim requires
-        NorthWestGravity.
-
-        * magick/command.c (MogrifyImage): Trim requires
-        NorthWestGravity. Fixes SourceForge issue #653 "convert: warning
-        when using -gravity with -trim".  This was more than a warning.
-
-2021-12-23  Bob Friesenhahn  <[email protected]>
-
-        * coders/jp2.c: Properly support passing JasPer options for
-        decoder and encoder, including the 'debug' option.
-        (initialize_jasper): Call jas_conf_set_allocator() and pass the
-        maximum amount of memory it should be allocated to use.  This
-        seems to avoid a malfunction.  Re-enable use of jas_initialize().
-
-2021-12-22  Bob Friesenhahn  <[email protected]>
-
-        * coders/jp2.c (realloc_rlm): JasPer wants its custom memory
-        allocators to return non-null for a zero-sized request.  Make it
-        so for the 'realloc' case as well.  Development JasPer 3.0.0
-        jas_initialize() is not yet ready for our purposes.
-
-        * coders/mat.c (ReadMATImageV4): Change 'ldblk' to size_t and
-        check related calculations for overflow and to avoid possible
-        negative seek offsets.
-
-2021-12-21  Bob Friesenhahn  <[email protected]>
-
-        * magick/signature.c: Remove functions FinalizeSignature,
-        GetSignatureInfo, TransformSignature, UpdateSignature and other
-        private implementation details from signature.h.  Use managed
-        memory allocator.
-
-        * coders/png.c (DestroyJNG): Deallocate alpha_image temporary file in DestroyJNG().
-        (ReadOnePNGImage): If setjmp fires, then don't return a broken
-        image.
-
-2021-12-18  Fojtik Jaroslav  <[email protected]>
-
-        * magick/wpg.c: Fix incorrect TrX and TrY elements in CTM.
-        Backported from WP2LaTeX: https://hg.osdn.net/view/wp2latex/wp2latex/rev/ce47149e7e67
-
-2021-12-14  Bob Friesenhahn  <[email protected]>
-
-        * utilities/tests/convert.tap: Use sed to count file lines rather
-        than wc since wc output is inconsistent.  Fixes SourceForge issue
-        #657 "Convert test fails in 1.3.37".
-
-        * configure.ac: Search for a GnuPG 'gpg' program.
-
-        * Makefile.am (snapshot): Add support for PGP-signed snapshots.
-
-        * www/download.rst: Add documentation for how to validate
-        downloaded files.
-
-2021-12-12  Bob Friesenhahn  <[email protected]>
-
-        * version.sh: Update shared library versioning information for
-        forthcoming 1.3.37 release.
-
-        * scripts/graphicsmagick_snapshot_copy-ssh: Sample
-        graphicsmagick_snapshot_copy script which uses scp to copy
-        snapshot files to a directory at a remote host, and then rsync
-        over ssh from there to SourceForge.  Copy to a local script
-        directory and edit to suit local requirements.
-
-        * scripts/graphicsmagick_snapshot_copy-local: Sample
-        graphicsmagick_snapshot_copy script to copy snapshot files to a
-        local directory and then rsync over ssh to SourceForge.  Copy to a
-        local script directory and edit to suit local requirements.
-
-        * Makefile.am (snapshot): Rely on the graphicsmagick_snapshot_copy
-        script to reduce files we don't care to distribute so that all
-        targets are still produced.
-
-        * coders/jp2.c (alloc_rlm): JasPer expects its allocator to return
-        non-null for zero size
-
-2021-12-05  Bob Friesenhahn  <[email protected]>
-
-        * Makefile.am (snapshot): Update the snapshot target to distribute
-        a minimal set of files.
-
-        * magick/symbols.h: Update the list of Gm prefixed symbols.
-
-        * NEWS.txt: Updated with changes until today.
-
-2021-12-04  Bob Friesenhahn  <[email protected]>
-
-        * www/index.rst: Development snapshots are now at SourceForge.
-
-        * www/download.rst, www/index.rst, README.txt: Remove references
-        to ftp.graphicsmagick.org, which was shut down due to continuing
-        abusive practices and lack of support from the user community.
-
-2021-12-03  Bob Friesenhahn  <[email protected]>
-
-        * magick/memory-private.h
-        (MagickAllocateResourceLimitedMemoryAttribute): Remove extraneous
-        comma.
-
-        * coders/wpg.c (LoadWPG2Flags): Fix comment type and whitespace
-        issues.
-
-2021-11-15  Bob Friesenhahn  <[email protected]>
-
-        * coders/caption.c (ReadCAPTIONImage): Set draw_info to NULL upon
-        deallocation.  Fixes an assertion reported by Michael Melcher via
-        the graphicsmagick-bugs list on November 11, 2021.
-
-2021-11-05  Bob Friesenhahn  <[email protected]>
-
-        * coders/jp2.c (initialize_jasper): For JasPer 3.0.0 and later,
-        use resource-limited memory allocators. JasPer 3.0.0 is not yet
-        released at this time.
-
-2021-11-04  Bob Friesenhahn  <[email protected]>
-
-        * coders/gif.c (ReadGIFImage): Handle GIF files where the 'opaque'
-        index matches the number of colors by producing an extra colormap
-        entry of transparent black. Fixes SourceForge issue 649 "Bug with
-        gm identify" where the test case produces the error "Invalid
-        colormap index (index 128 >= 128 colors, /tmp/broken.gif)".
-
-        * magick/enum_strings.c (StringToDisposeType): New utility
-        function to convert a string to a DisposeType.
-        (DisposeTypeToString) New utility function to convert a
-        DisposeType to a string.
-
-        * coders/msl.c (MSLEndElement): Ignore imbalanced group
-        closure. Fixes oss-fuzz 40680 "graphicsmagick:coder_MSL_fuzzer:
-        Heap-buffer-overflow in MSLEndElement".
-
-2021-11-03  Bob Friesenhahn  <[email protected]>
-
-        * coders/tiff.c (ReadTIFFImage): Make sure that loops using
-        TIFFReadScanline(), etc, do quit upon first reported error.  Fixes
-        oss-fuzz 39167 "graphicsmagick:coder_BIGTIFF_fuzzer:
-        Use-of-uninitialized-value in DisassociateAlphaRegion", as well as
-        other such cases.
-
-        * coders/png.c (png_get_data): On a short read, assure that the
-        remainder of the buffer is initialized just in case subsequent
-        code accesses it.
-
-        * coders/msl.c (MSLStartElement): Assure that
-        'msl_info->attributes[n]' is not NULL before attempting to use it.
-        This is assumed to eliminate oss-fuzz 40226
-        "graphicsmagick:coder_MSL_fuzzer: ASSERT: image != (Image *)
-        NULL".
-
-2021-11-02  Bob Friesenhahn  <[email protected]>
-
-        * coders/msl.c (MSLStartElement): Return immediately if there is
-        already an error or the image is NULL.  Do not discard exceptions
-        when calling functions which return a new image.  Try even harder
-        to shut down the libxml2 parser. Fixes SourceForge issue 652 "SEGV
-        in gm at coders/msl.c:883".
-
-2021-10-31  Bob Friesenhahn  <[email protected]>
-
-        * magick/widget.c (MagickXPreferencesWidget): Eliminate
-        compilation warning about 'strlen' argument missing terminating
-        nul.
-
-2021-10-24  Fojtik Jaroslav  <[email protected]>
-
-        * magick/wpg.c: ObjectID>=0x8000 automatically switches double precision on.
-
-2021-09-18  Fojtik Jaroslav  <[email protected]>
-
-        * PerlMagick/t/wmf/JPGinside.emf: Add test file: EMF that embedds
-        JPG.
-
-2021-09-17  Bob Friesenhahn  <[email protected]>
-
-        * magick/blob.c (WriteBlob): Use appropriate handle for bzip2.
-        Patch by Sam James <[email protected]>.
-
-2021-08-26  Bob Friesenhahn  <[email protected]>
-
-        * coders/jp2.c (initialize_jasper): Make minimal use of new JasPer
-        function jas_initialize() in order to avoid severe problems with
-        jas_init().
-
-        * configure.ac: Detect new JasPer function jas_initialize().
-
-2021-08-14  Bob Friesenhahn  <[email protected]>
-
-        * coders/msl.c (MSLError): Call xmlStopParser() rather than
-        setting parser instate = XML_PARSER_EOF.
-
-        * coders/svg.c (SVGError): Call xmlStopParser() rather than
-        setting parser instate = XML_PARSER_EOF.
-
-2021-07-21  Bob Friesenhahn  <[email protected]>
-
-        * coders/pdf.c (WritePDFImage): Use appropriate memory deallocator
-        for memory returned by StringToList().  Fixes SourceForge issue
-        646 "Assertion failed using -label with PDF".
-
-        * coders/webp.c (ReadWEBPImage): Add full error checking when
-        retrieving embedded profiles.
-
-        * magick/profile.c (SetImageProfile): Do not try to store a
-        zero-sized profile.
-
-        * coders/webp.c (ReadWEBPImage): Enforce that embedded profiles
-        provided by libWebP are not zero-sized. This problem was brought
-        to our attention by Shane Bishop on the graphicsmagick-help
-        mailing list.
-
-2021-07-18  Bob Friesenhahn  <[email protected]>
-
-        * Makefile.am: Add support for using an external
-        'graphicsmagick_snapshot_copy' script to copy files for the
-        'snapshot' target.  This provides local control over how files are
-        copied and where they are copied to.
-
-        * coders/msl.c (MSLStartElement): Use macros to simplify
-        validations and reduce repeated code fragments. Add validations
-        for image size and pixels present where applicable.  Fixes
-        oss-fuzz 36224 "graphicsmagick:coder_MSL_fuzzer: Timeout in
-        coder_MSL_fuzzer".
-
-        * magick/transform.c (RollImage): Assert that image rows and
-        columns are not zero.
-
-2021-07-16  Bob Friesenhahn  <[email protected]>
-
-        * coders/jp2.c (initialize_jasper): Update for the latest version
-        of the evolving jas_init_custom() interface provided by the
-        mdadams-callbacks branch.
-
-2021-07-05  Bob Friesenhahn  <[email protected]>
-
-        * coders/jp2.c: Assure that the designated decoder is used rather
-        than using autodetection and possibly using a different decoder
-        than intended. Added experimental support for JasPer
-        HAVE_JAS_INIT_CUSTOM feature, but leave disabled by default.  Fix
-        a stream manager bug noticed with the madams-callbacks branch of
-        JasPer.
-
-2021-06-27  Bob Friesenhahn  <[email protected]>
-
-        * coders/msl.c (ProcessMSLScript): Fix possible use of freed
-        memory.  Fixes oss-fuzz 35621 "graphicsmagick:coder_MSL_fuzzer:
-        ASSERT: image->signature == MagickSignature".
-
-        * fuzzing/oss-fuzz-build.sh: Disable reading and writing of
-        gzip/bzip files since we don't have a viable solution for formats
-        which require an uncompressed file as input.
-
-2021-06-26  Bob Friesenhahn  <[email protected]>
-
-        * coders/pcx.c (ReadPCXImage): Fix problem that 16-colors are used
-        rather than 256-colors given sample file provided.  Resolves
-        SourceForge patch #65 "PCX file not read correctly".  Patch is by
-        Sam Yang.
-
-        * coders/jp2.c (ReadJP2Image): Pass "max_samples" option to Jasper
-        to try to limit the amount of memory it may allocate while opening
-        a file.  Addresses oss-fuzz 35265
-        "graphicsmagick:coder_PGX_fuzzer: Out-of-memory in
-        coder_PGX_fuzzer".
-
-2021-06-22  Bob Friesenhahn  <[email protected]>
-
-        * coders/webp.c (ReadWEBPImage): Use SetImagePixelsEx() rather
-        than GetImagePixelsEx() in reader.  Patch by Tobias Mark via
-        SourceForge patch #66 "Minor improvment webp".
-
-2021-06-12  Bob Friesenhahn  <[email protected]>
-
-        * coders/svg.c (GetTransformTokens): Fix massive over-allocation
-        of string due to use of AcquireString() on entire remaining text
-        buffer. Addresses oss-fuzz 35171 "graphicsmagick:coder_SVG_fuzzer:
-        Out-of-memory in coder_SVG_fuzzer".
-        (GetTransformTokens): Apply an arbitrary limit on number of tokens
-        to avoid DOS.
-        (GetStyleTokens): Fix massive over-allocation of string due to use
-        of AcquireString() on entire remaining text buffer.
-        (GetStyleTokens): Don't use strlcpy() to copy token because it
-        scans full text.
-        (GetTransformTokens): Don't use strlcpy() to copy token because it
-        scans full text.
-
-2021-06-05  Bob Friesenhahn  <[email protected]>
-
-        * coders/msl.c (MSLStartElement): Use resource-managed memory
-        allocator for msl_info->group_info and assure that memory is
-        cleared so that empty group does not result in use of
-        uninitialized data.  Addresses oss-fuzz 34869
-        "graphicsmagick:coder_MSL_fuzzer: Use-of-uninitialized-value in
-        MSLEndElement".
-
-        * magick/memory.c (_MagickReallocateResourceLimitedMemory): Round
-        up allocation size on small reallocs in order to lessen the number
-        of actual reallocs.
-
-2021-05-31  Bob Friesenhahn  <[email protected]>
-
-        * coders/svg.c (SVGComment): Re-implement comment callback to be based on
-        the managed-memory allocator and avoid excessive use of strlen().
-        (SVGCharacters): Re-implement characters callback to to be based
-        on the managed-memory allocator and avoid excessive use of
-        strlen().  Addresses oss-fuzz 34168
-        "graphicsmagick:coder_SVGZ_fuzzer: Timeout in coder_SVGZ_fuzzer".
-
-        * magick/memory.c (_MagickResourceLimitedMemoryGetSizeAttribute):
-        New private function to retrieve various integral size values from
-        the managed-memory allocator regarding a specified allocation.
-
-        * magick/utility.c (MagickStripString): New function to replace
-        'Strip' which is now deprecated.  This version returns the string
-        length.
-
-2021-05-10  Bob Friesenhahn  <[email protected]>
+2022-01-01  Bob Friesenhahn  <[email protected]>
 
-        * Magick++/lib/Magick++/{Drawable.h, STL.h}: Use _MSVC_LANG in
-        addition to __cplusplus when testing for C++'17 since the
-        Microsoft C++ compiler only properly defines __cplusplus if the
-        /Zc:__cplusplus switch was provided.
-
-2021-05-09  Bob Friesenhahn  <[email protected]>
-
-        * Magick++/lib/Magick++/STL.h: Support compiling with C++'98
-        through C++'17.
-
-        * Magick++/lib/Magick++/Drawable.h: Support compiling with C++'98
-        through C++'17.
-
-2021-05-02  Bob Friesenhahn  <[email protected]>
-
-        * magick/command.c (CompareImageCommand): If user has not
-        indicated a 'matte' preference, then include the opacity channel
-        in the compare if either image has a matte channel.  Addresses
-        SourceForge issue #642 "Result of command "gm compare" depends on
-        order of images".
-
-2021-04-25  Bob Friesenhahn  <[email protected]>
-
-        * magick/compare.c (IsImagesEqual): Eliminate hard
-        "ImageOpacityDiffers" error when matte channel flag differs
-        between the images being compared.  Instead of throwing a hard
-        error, treat the opacity channel of the image as opaque if the
-        matte flag is not set.
-
-2021-04-24  Bob Friesenhahn  <[email protected]>
-
-        * coders/jpeg.c: It is apparently now undefined behavior to assign
-        the return value from setjmp() to a variable.  Remove recently
-        added code which is now doing that.  Much thanks to Chris Gravely
-        for noticing this.
-
-2021-04-19  Bob Friesenhahn  <[email protected]>
-
-        * coders/jpeg.c (ReadJPEGImage): Error cases depending on
-        ThrowReaderException() were now leaking client data memory.
-        Replace such cases with customized ThrowJPEGReaderException()
-        which assures that it is freed.
-        (WriteJPEGImage): Error cases depending on ThrowWriterException()
-        were now client data memory.  Replace such cases with customized
-        ThrowJPEGWriterException() which assures that it is freed.
-
-2021-04-18  Bob Friesenhahn  <[email protected]>
-
-        * coders/jpeg.c: Restructure client data so it is allocated on the
-        heap rather than the stack.  Happens to fix SourceForge issue 641
-        "SIGSEGV thrown performing longjmp in jpeg.c".
-
-2021-04-10  Bob Friesenhahn  <[email protected]>
-
-        * coders/png.c (ReadOnePNGImage): Assure that null
-        ping_trans_alpha pointer is not dereferenced.  Addresses oss-fuzz
-        33119 "graphicsmagick:coder_MNG_fuzzer: Null-dereference READ in
-        ReadOnePNGImage".
-
-        * magick/profile.c (SetImageProfile): Use the resource-limited
-        memory allocator to allocate embedded profiles.
-
-        * magick/map.c (MagickMapCopyResourceLimitedString): New private
-        function to copy a resource-limited string.
-        (MagickMapDeallocateResourceLimitedString): New private function
-        to deallocate a resource-limited string.
-        (MagickMapCopyResourceLimitedBlob): New private function to copy a
-        resource-limited blob.
-        (MagickMapDeallocateResourceLimitedBlob): New private function to
-        deallocate a resource-limited blob.
-
-2021-04-06  Bob Friesenhahn  <[email protected]>
-
-        * coders/svg.c (GetStyleTokens): Limit the number of style tokens.
-        Addresses oss-fuzz 32921 "graphicsmagick:coder_SVG_fuzzer:
-        Out-of-memory in coder_SVG_fuzzer".
-        (SVGComment): Only capture first comment rather than concatenating
-        all comments.  Addresses oss-fuzz 32944
-        "graphicsmagick:coder_SVGZ_fuzzer: Timeout in coder_SVGZ_fuzzer".
-
-2021-04-02  Bob Friesenhahn  <[email protected]>
-
-        * coders/msl.c (MSLReference): Fix memory leak when parser node is
-        null. Addresses oss-fuzz 32713 "graphicsmagick:coder_MSL_fuzzer:
-        Direct-leak in xmlNewReference".
-
-2021-04-01  Bob Friesenhahn  <[email protected]>
-
-        * coders/png.c (ReadOnePNGImage): Avoid use of null
-        ping_trans_color.  Fixes oss-fuzz 32666
-        "graphicsmagick:coder_MNG_fuzzer: Null-dereference READ in
-        ReadOnePNGImage".
-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.