GraphicsMagick: 2 new changesets

GraphicsMagick Commits <[email protected]> Tue, 11 Feb 2025 11:04:15 -0600
Newsgroups gmane.comp.video.graphicsmagick.cvs
Message-ID <mailman.53096.1739293467.1470.graphicsmagick-commit@lists.sourceforge.net>
changeset 9e6fb2be8d98 in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=9e6fb2be8d98
summary: Visual Studio prior to 2015 does not support C'99 so emulate snprintf()

changeset 424c4bc96437 in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=424c4bc96437
summary: magick/nt_base.h: Update notes regarding _MSC_VER values and Visual C++ versions.

diffstat:

 ChangeLog                              |   9 +++++++++
 VisualMagick/installer/inc/version.isx |   4 ++--
 magick/nt_base.h                       |  22 ++++++++++++----------
 magick/version.h                       |   4 ++--
 tests/constitute.c                     |   5 ++++-
 tests/rwblob.c                         |   5 ++++-
 tests/rwfile.c                         |   3 +++
 wand/wandtest.c                        |   5 ++++-
 www/ChangeLog.html                     |  10 ++++++++++
 www/index.html                         |   2 +-
 www/index.rst                          |   2 +-
 11 files changed, 52 insertions(+), 19 deletions(-)

diffs (192 lines):

diff -r b0142af1dd01 -r 424c4bc96437 ChangeLog
--- a/ChangeLog	Sat Feb 08 14:31:31 2025 -0600
+++ b/ChangeLog	Tue Feb 11 11:03:40 2025 -0600
@@ -1,3 +1,12 @@
+2025-02-11  Bob Friesenhahn  <[email protected]>
+
+	* magick/nt_base.h: Update notes regarding `_MSC_VER` values and
+	Visual C++ versions.
+
+	* www/index.rst: Promote the Mercurial repository at
+	https://foss.heptapod.net/graphicsmagick/graphicsmagick since it
+	seems to work better.
+
 2025-02-08  Bob Friesenhahn  <[email protected]>
 
 	* magick/magic.c: Make the magic-based format descriptions more
diff -r b0142af1dd01 -r 424c4bc96437 VisualMagick/installer/inc/version.isx
--- a/VisualMagick/installer/inc/version.isx	Sat Feb 08 14:31:31 2025 -0600
+++ b/VisualMagick/installer/inc/version.isx	Tue Feb 11 11:03:40 2025 -0600
@@ -10,5 +10,5 @@
 
 #define public MagickPackageName "GraphicsMagick"
 #define public MagickPackageVersion "1.4"
-#define public MagickPackageVersionAddendum ".020250208"
-#define public MagickPackageReleaseDate "snapshot-20250208"
+#define public MagickPackageVersionAddendum ".020250211"
+#define public MagickPackageReleaseDate "snapshot-20250211"
diff -r b0142af1dd01 -r 424c4bc96437 magick/nt_base.h
--- a/magick/nt_base.h	Sat Feb 08 14:31:31 2025 -0600
+++ b/magick/nt_base.h	Tue Feb 11 11:03:40 2025 -0600
@@ -184,19 +184,21 @@
     1100 MSVC 5.0
     1200 MSVC 6.0
     1300 MSVC 7.0 Visual C++ .NET 2002
-    1310 Visual C++ .NET 2003
-    1400 Visual C++ 2005
-    1500 Visual C++ 2008
-    1600 Visual C++ 2010
-    1700 Visual C++ 2012
-    1800 Visual C++ 2013
-    1900 Visual C++ 2015
-    1910 Visual C++ 2017
-    1920 Visual C++ 2019
-    1930 Visual C++ 2022
+    1310 Visual C++ .NET 2003 (7.1)
+    1400 Visual C++ 2005 (8.0)
+    1500 Visual C++ 2008 (8.0, 9.0)
+    1600 Visual C++ 2010 (10X)
+    1700 Visual C++ 2012 (11.X)
+    1800 Visual C++ 2013 (12.X)
+    1900 Visual C++ 2015 (14.X)
+    1910 Visual C++ 2017 (15.X, 15.X.X)
+    1920 Visual C++ 2019 (16.X.X) (_MSC_VER 1920 - 1929)
+    1930 Visual C++ 2022 (17.X.X) (_MSC_VER 1930 - 1942+)
 
   Should look at __CLR_VER ("Defines the version of the common language
   runtime used when the application was compiled.") as well.
+
+  Also see _MSC_FULL_VER introduced by Visual Studio 6.0 SP5.
 */
 #if defined(_VISUALC_) && (_MSC_VER >= 1310)
 #  define HAVE_GLOBALMEMORYSTATUSEX 1
diff -r b0142af1dd01 -r 424c4bc96437 magick/version.h
--- a/magick/version.h	Sat Feb 08 14:31:31 2025 -0600
+++ b/magick/version.h	Tue Feb 11 11:03:40 2025 -0600
@@ -38,8 +38,8 @@
 #define MagickLibVersion  0x282502
 #define MagickLibVersionText  "1.4"
 #define MagickLibVersionNumber 28,25,2
-#define MagickChangeDate   "20250208"
-#define MagickReleaseDate  "snapshot-20250208"
+#define MagickChangeDate   "20250211"
+#define MagickReleaseDate  "snapshot-20250211"
 
 /*
   The MagickLibInterfaceNewest and MagickLibInterfaceOldest defines
diff -r b0142af1dd01 -r 424c4bc96437 tests/constitute.c
--- a/tests/constitute.c	Sat Feb 08 14:31:31 2025 -0600
+++ b/tests/constitute.c	Tue Feb 11 11:03:40 2025 -0600
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2003-2024 GraphicsMagick Group
+ * Copyright (C) 2003-2025 GraphicsMagick Group
  *
  * Test DispatchImage/ConstituteImage operations via
  * write/read/write/read sequence to detect any data corruption
@@ -12,6 +12,9 @@
  *
  */
 
+#if defined(_VISUALC_) && (_MSC_VER < 1900)
+#include <magick/studio.h>
+#endif
 #include <magick/api.h>
 #include <magick/enum_strings.h>
 
diff -r b0142af1dd01 -r 424c4bc96437 tests/rwblob.c
--- a/tests/rwblob.c	Sat Feb 08 14:31:31 2025 -0600
+++ b/tests/rwblob.c	Tue Feb 11 11:03:40 2025 -0600
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2003-2024 GraphicsMagick Group
+ * Copyright (C) 2003-2025 GraphicsMagick Group
  * Copyright (C) 2003 ImageMagick Studio
  * Copyright 1991-1999 E. I. du Pont de Nemours and Company
  *
@@ -18,6 +18,9 @@
  *
  */
 
+#if defined(_VISUALC_) && (_MSC_VER < 1900)
+#include <magick/studio.h>
+#endif
 #include <magick/api.h>
 #include <magick/enum_strings.h>
 
diff -r b0142af1dd01 -r 424c4bc96437 tests/rwfile.c
--- a/tests/rwfile.c	Sat Feb 08 14:31:31 2025 -0600
+++ b/tests/rwfile.c	Tue Feb 11 11:03:40 2025 -0600
@@ -18,6 +18,9 @@
  * enough) in order for the test to pass.
  * */
 
+#if defined(_VISUALC_) && (_MSC_VER < 1900)
+#include <magick/studio.h>
+#endif
 #include <magick/api.h>
 #include <magick/enum_strings.h>
 
diff -r b0142af1dd01 -r 424c4bc96437 wand/wandtest.c
--- a/wand/wandtest.c	Sat Feb 08 14:31:31 2025 -0600
+++ b/wand/wandtest.c	Tue Feb 11 11:03:40 2025 -0600
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003-2024 GraphicsMagick Group */
+/* Copyright (C) 2003-2025 GraphicsMagick Group */
 /*
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %                                                                             %
@@ -71,6 +71,9 @@
 /*
   Include declarations.
 */
+#if defined(_VISUALC_) && (_MSC_VER < 1900)
+#include <magick/studio.h>
+#endif
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
diff -r b0142af1dd01 -r 424c4bc96437 www/ChangeLog.html
--- a/www/ChangeLog.html	Sat Feb 08 14:31:31 2025 -0600
+++ b/www/ChangeLog.html	Tue Feb 11 11:03:40 2025 -0600
@@ -38,6 +38,16 @@
 
 <main id="graphicsmagick-changelog">
 <h1 class="title">GraphicsMagick ChangeLog</h1>
+<p>2025-02-11  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
+<blockquote>
+<ul class="simple">
+<li><p>magick/nt_base.h: Update notes regarding <cite>_MSC_VER</cite> values and
+Visual C++ versions.</p></li>
+<li><p>www/index.rst: Promote the Mercurial repository at
+<a class="reference external" href="https://foss.heptapod.net/graphicsmagick/graphicsmagick">https://foss.heptapod.net/graphicsmagick/graphicsmagick</a> since it
+seems to work better.</p></li>
+</ul>
+</blockquote>
 <p>2025-02-08  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
 <blockquote>
 <ul class="simple">
diff -r b0142af1dd01 -r 424c4bc96437 www/index.html
--- a/www/index.html	Sat Feb 08 14:31:31 2025 -0600
+++ b/www/index.html	Tue Feb 11 11:03:40 2025 -0600
@@ -55,7 +55,7 @@
 <td><p>(Updated frequently) <a class="reference external" href="https://sourceforge.net/projects/graphicsmagick/files/graphicsmagick-snapshots/">download development snapshots</a></p></td>
 </tr>
 <tr><td><p>Mercurial Repository</p></td>
-<td><p>(Updated frequently) <a class="reference external" href="https://sourceforge.net/p/graphicsmagick/code/">visit Mercurial repository</a></p></td>
+<td><p>(Updated frequently) <a class="reference external" href="https://foss.heptapod.net/graphicsmagick/graphicsmagick">visit Mercurial repository</a></p></td>
 </tr>
 </tbody>
 </table>
diff -r b0142af1dd01 -r 424c4bc96437 www/index.rst
--- a/www/index.rst	Sat Feb 08 14:31:31 2025 -0600
+++ b/www/index.rst	Tue Feb 11 11:03:40 2025 -0600
@@ -23,7 +23,7 @@
 
 .. _`download GraphicsMagick release` : https://sourceforge.net/projects/graphicsmagick/files/
 .. _`download development snapshots` : https://sourceforge.net/projects/graphicsmagick/files/graphicsmagick-snapshots/
-.. _`visit Mercurial repository`: https://sourceforge.net/p/graphicsmagick/code/
+.. _`visit Mercurial repository`: https://foss.heptapod.net/graphicsmagick/graphicsmagick
 
 .. _programming : programming.html