<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cppunit.git, branch master</title>
<subtitle>anongit.freedesktop.org: git/libreoffice/cppunit.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/'/>
<entry>
<title>Don't mis-apply GCC &lt; 4.6 workaround for Clang</title>
<updated>2023-05-09T18:00:18+00:00</updated>
<author>
<name>Stephan Bergmann</name>
<email>sbergman@redhat.com</email>
</author>
<published>2023-02-21T10:10:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=e2b0721c33d0df57c6a596b18ae98644575c51f9'/>
<id>e2b0721c33d0df57c6a596b18ae98644575c51f9</id>
<content type='text'>
...which happens to define __GNUC__=4, __GNUC_MINOR__=2.  (See also
&lt;https://git.libreoffice.org/core/+/9a23239b710e44754e4a28643420c9ba91552645%5E%21&gt;
"external/cppunit: Don't mis-apply GCC &lt; 4.6 workaround for Clang".  This change
requires &lt;https://gerrit.libreoffice.org/c/cppunit/+/147383&gt; "Use snprintf
instead of sprintf" to avoid deprecation warnings on macOS, which had originally
been hidden by the mis-applied #pragma.)

Change-Id: I4fcb38a79766238862795ba4019638862e65b041
Reviewed-on: https://gerrit.libreoffice.org/c/cppunit/+/147384
Reviewed-by: Markus Mohrhard &lt;markus.mohrhard@googlemail.com&gt;
Tested-by: Markus Mohrhard &lt;markus.mohrhard@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
...which happens to define __GNUC__=4, __GNUC_MINOR__=2.  (See also
&lt;https://git.libreoffice.org/core/+/9a23239b710e44754e4a28643420c9ba91552645%5E%21&gt;
"external/cppunit: Don't mis-apply GCC &lt; 4.6 workaround for Clang".  This change
requires &lt;https://gerrit.libreoffice.org/c/cppunit/+/147383&gt; "Use snprintf
instead of sprintf" to avoid deprecation warnings on macOS, which had originally
been hidden by the mis-applied #pragma.)

Change-Id: I4fcb38a79766238862795ba4019638862e65b041
Reviewed-on: https://gerrit.libreoffice.org/c/cppunit/+/147384
Reviewed-by: Markus Mohrhard &lt;markus.mohrhard@googlemail.com&gt;
Tested-by: Markus Mohrhard &lt;markus.mohrhard@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use snprintf instead of sprintf</title>
<updated>2023-05-09T17:59:41+00:00</updated>
<author>
<name>Stephan Bergmann</name>
<email>sbergman@redhat.com</email>
</author>
<published>2023-02-21T09:59:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=5f9aab1993016720db1d7008ed190b0a96293190'/>
<id>5f9aab1993016720db1d7008ed190b0a96293190</id>
<content type='text'>
See
&lt;https://git.libreoffice.org/core/+/bd8a213c8ceccf66ab296ef0aea0fa4c451047e5%5E%21&gt;
"external/cppunit: Use snprintf instead of sprintf" for how sprintf would have
caused deprecation warnings on macOS.

(For MSVC, keep using sprintf_s.  According to
&lt;https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/snprintf-snprintf-snprintf-l-snwprintf-snwprintf-l?view=msvc-170&gt;:
"Beginning with the UCRT in Visual Studio 2015 and Windows 10, snprintf is no
longer identical to _snprintf.  The snprintf function behavior is now C99
standard conformant."  So for older versions, snprintf would potentially not
store a terminating NUL, like _snprintf but unlike sprintf_s.)

Change-Id: Ibf8b228cd1dd57428ecf85ed10e0793b78ae90c9
Reviewed-on: https://gerrit.libreoffice.org/c/cppunit/+/147383
Reviewed-by: Markus Mohrhard &lt;markus.mohrhard@googlemail.com&gt;
Tested-by: Markus Mohrhard &lt;markus.mohrhard@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See
&lt;https://git.libreoffice.org/core/+/bd8a213c8ceccf66ab296ef0aea0fa4c451047e5%5E%21&gt;
"external/cppunit: Use snprintf instead of sprintf" for how sprintf would have
caused deprecation warnings on macOS.

(For MSVC, keep using sprintf_s.  According to
&lt;https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/snprintf-snprintf-snprintf-l-snwprintf-snwprintf-l?view=msvc-170&gt;:
"Beginning with the UCRT in Visual Studio 2015 and Windows 10, snprintf is no
longer identical to _snprintf.  The snprintf function behavior is now C99
standard conformant."  So for older versions, snprintf would potentially not
store a terminating NUL, like _snprintf but unlike sprintf_s.)

Change-Id: Ibf8b228cd1dd57428ecf85ed10e0793b78ae90c9
Reviewed-on: https://gerrit.libreoffice.org/c/cppunit/+/147383
Reviewed-by: Markus Mohrhard &lt;markus.mohrhard@googlemail.com&gt;
Tested-by: Markus Mohrhard &lt;markus.mohrhard@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce CPPUNIT_PROPAGATE_EXCEPTIONS environment variable</title>
<updated>2022-12-13T16:15:21+00:00</updated>
<author>
<name>Stephan Bergmann</name>
<email>sbergman@redhat.com</email>
</author>
<published>2022-12-13T15:44:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=01037c3ebee72192e31e44f5d38baf575832e77d'/>
<id>01037c3ebee72192e31e44f5d38baf575832e77d</id>
<content type='text'>
Often a developer debugging a failing CppUnit test wants a core dump with the
place where an uncaught exception is thrown.  So if the newly introduced
CPPUNIT_PROPAGATE_EXCEPTIONS environment variable is set (to any value), disable
the DefaultProtector that would otherwise catch such exceptions (and just report
some limited information about them).

Change-Id: Iac0e98837381578759384e45829fb4e2436f450a
Reviewed-on: https://gerrit.libreoffice.org/c/cppunit/+/144074
Reviewed-by: Markus Mohrhard &lt;markus.mohrhard@googlemail.com&gt;
Tested-by: Stephan Bergmann &lt;sbergman@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Often a developer debugging a failing CppUnit test wants a core dump with the
place where an uncaught exception is thrown.  So if the newly introduced
CPPUNIT_PROPAGATE_EXCEPTIONS environment variable is set (to any value), disable
the DefaultProtector that would otherwise catch such exceptions (and just report
some limited information about them).

Change-Id: Iac0e98837381578759384e45829fb4e2436f450a
Reviewed-on: https://gerrit.libreoffice.org/c/cppunit/+/144074
Reviewed-by: Markus Mohrhard &lt;markus.mohrhard@googlemail.com&gt;
Tested-by: Stephan Bergmann &lt;sbergman@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Run tests in deterministic order</title>
<updated>2022-04-11T12:14:52+00:00</updated>
<author>
<name>Stephan Bergmann</name>
<email>sbergman@redhat.com</email>
</author>
<published>2021-10-21T09:14:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=64eaa35c2de99581e522608e841defffb4b2923b'/>
<id>64eaa35c2de99581e522608e841defffb4b2923b</id>
<content type='text'>
LibreOffice already benefits from this (see
&lt;https://git.libreoffice.org/core/+/2f2246d22e2a8ccbc1dc3e6f5243734a61edf270%5E!&gt;
"external/cppunit: Run tests in deterministic order", especially as otherwise
the order in which tests happened to get run differed between --disable-lto and
--enable-lto builds.

Change-Id: I87d6d7cb0f4c2f6a0ea1ac3ba3d48b4e089eb5c7
Reviewed-on: https://gerrit.libreoffice.org/c/cppunit/+/123963
Tested-by: Stephan Bergmann &lt;sbergman@redhat.com&gt;
Reviewed-by: Stephan Bergmann &lt;sbergman@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
LibreOffice already benefits from this (see
&lt;https://git.libreoffice.org/core/+/2f2246d22e2a8ccbc1dc3e6f5243734a61edf270%5E!&gt;
"external/cppunit: Run tests in deterministic order", especially as otherwise
the order in which tests happened to get run differed between --disable-lto and
--enable-lto builds.

Change-Id: I87d6d7cb0f4c2f6a0ea1ac3ba3d48b4e089eb5c7
Reviewed-on: https://gerrit.libreoffice.org/c/cppunit/+/123963
Tested-by: Stephan Bergmann &lt;sbergman@redhat.com&gt;
Reviewed-by: Stephan Bergmann &lt;sbergman@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not turn on --enable-werror by default</title>
<updated>2022-01-27T17:52:17+00:00</updated>
<author>
<name>David Tardon</name>
<email>dtardon@redhat.com</email>
</author>
<published>2022-01-27T17:52:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=d69305b4bdc66e0592af45d4243f483ca446d7a3'/>
<id>d69305b4bdc66e0592af45d4243f483ca446d7a3</id>
<content type='text'>
The help string for the option already says that it is "useful for
development", which implies it is not a good default.

Change-Id: Ic0f3bb0eaefd146ad0e5e87ff97abd821462f1a5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The help string for the option already says that it is "useful for
development", which implies it is not a good default.

Change-Id: Ic0f3bb0eaefd146ad0e5e87ff97abd821462f1a5
</pre>
</div>
</content>
</entry>
<entry>
<title>add initial NEWS entries for 1.15.2</title>
<updated>2021-09-30T19:14:16+00:00</updated>
<author>
<name>Markus Mohrhard</name>
<email>markus.mohrhard@googlemail.com</email>
</author>
<published>2021-09-30T19:14:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=d7049a6dd98ef12f0949f3ccfbc8ff4dbd63df2e'/>
<id>d7049a6dd98ef12f0949f3ccfbc8ff4dbd63df2e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix incorrect version reference in NEWS file</title>
<updated>2021-09-30T19:13:56+00:00</updated>
<author>
<name>Markus Mohrhard</name>
<email>markus.mohrhard@googlemail.com</email>
</author>
<published>2021-09-30T19:13:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=ae6bffb6caa0e68c6b3c85d4409141084cae84f5'/>
<id>ae6bffb6caa0e68c6b3c85d4409141084cae84f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>work towards 1.15.2</title>
<updated>2021-09-30T19:10:21+00:00</updated>
<author>
<name>Markus Mohrhard</name>
<email>markus.mohrhard@googlemail.com</email>
</author>
<published>2021-09-30T19:10:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=5e8533adb35d6c1918d4cc826226100a27cc11b8'/>
<id>5e8533adb35d6c1918d4cc826226100a27cc11b8</id>
<content type='text'>
There are no API changes yet so we can just release an updated version.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are no API changes yet so we can just release an updated version.
</pre>
</div>
</content>
</entry>
<entry>
<title>remove a few trailing whitespaces</title>
<updated>2021-09-30T18:48:31+00:00</updated>
<author>
<name>Markus Mohrhard</name>
<email>markus.mohrhard@googlemail.com</email>
</author>
<published>2021-09-30T18:48:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=240cb599d739c7d96138588f4a474c637d91e677'/>
<id>240cb599d739c7d96138588f4a474c637d91e677</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>avoid a few annoying compiler warnings</title>
<updated>2021-09-30T18:47:08+00:00</updated>
<author>
<name>Florian Becker</name>
<email>fb@vxapps.com</email>
</author>
<published>2021-09-30T18:47:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=84237a0161e7867a1313d07cda33aeb99818ddf1'/>
<id>84237a0161e7867a1313d07cda33aeb99818ddf1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
