<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/include/internal/catch_fatal_condition.hpp, branch v1.7.0</title>
<subtitle>Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.</subtitle>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/'/>
<entry>
<title>Fixed SEH deregistration on Windows</title>
<updated>2017-01-30T18:54:16+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-01-30T18:54:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=38af8d7035af1c6c5566c9488315490ede986875'/>
<id>38af8d7035af1c6c5566c9488315490ede986875</id>
<content type='text'>
Should fix #796
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Should fix #796
</pre>
</div>
</content>
</entry>
<entry>
<title>Compilation warnings fix (#791)</title>
<updated>2017-01-27T08:32:58+00:00</updated>
<author>
<name>Alexander Ryabykin</name>
</author>
<published>2017-01-27T08:32:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=02a69b449f59605cf9fa7f865a3b6daa8d104a79'/>
<id>02a69b449f59605cf9fa7f865a3b6daa8d104a79</id>
<content type='text'>
* Compilation warnings fix

* Removed unused argument from reportFatal function
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Compilation warnings fix

* Removed unused argument from reportFatal function
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed inconsistent and trailing whitespace</title>
<updated>2017-01-26T22:13:12+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-01-26T22:13:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=c390c4cb9f9ae384451a5b8cda08aebf34407207'/>
<id>c390c4cb9f9ae384451a5b8cda08aebf34407207</id>
<content type='text'>
This means that all tabs used in indentation are now 4 spaces and that
there should be no more trailing whitespace.

Ill also look into creating a pre-commit hook that will prevent this
from happening in the future.

Fixes #105
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This means that all tabs used in indentation are now 4 spaces and that
there should be no more trailing whitespace.

Ill also look into creating a pre-commit hook that will prevent this
from happening in the future.

Fixes #105
</pre>
</div>
</content>
</entry>
<entry>
<title>If we receive a signal, we re-register ALL previous signal handlers.</title>
<updated>2017-01-14T14:21:44+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-01-14T14:21:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=ffc4a9dc143bc66d2e1fd883e1395a3397a68e9d'/>
<id>ffc4a9dc143bc66d2e1fd883e1395a3397a68e9d</id>
<content type='text'>
This fixes the case when we pass signal to previously registered
handler, and it needs to transform the signal into different one.

Still problematic: What if the signal handler we replaced does not
terminate the application? We can end up in a weird state and loop
forever.

Possible solution: Deregister our signal handlers, CALL the previous
signal handler explicitly and if control returns, abort. This would
however complicate our code quite a bit, as we would have to parse the
sigaction we delegate to, decide whether to use signal handler or signal
action, etc...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes the case when we pass signal to previously registered
handler, and it needs to transform the signal into different one.

Still problematic: What if the signal handler we replaced does not
terminate the application? We can end up in a weird state and loop
forever.

Possible solution: Deregister our signal handlers, CALL the previous
signal handler explicitly and if control returns, abort. This would
however complicate our code quite a bit, as we would have to parse the
sigaction we delegate to, decide whether to use signal handler or signal
action, etc...
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed superfluous comments (bad merge after cherry pick).</title>
<updated>2017-01-14T14:08:00+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-01-14T14:08:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=7c8b93eac3e63397d334b91755321bfb2982e1d1'/>
<id>7c8b93eac3e63397d334b91755321bfb2982e1d1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reset signals immediately after use and re-raise orginal signal instead of just exiting</title>
<updated>2017-01-12T16:31:56+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2017-01-12T08:44:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=40dbdf6cb2d34d2d056f4292e4b70f0ff6afd562'/>
<id>40dbdf6cb2d34d2d056f4292e4b70f0ff6afd562</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added signal handling under Windows.</title>
<updated>2017-01-12T15:40:14+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2016-12-16T14:00:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=70f43d719bfd13e4c1d385e56801139d1a518273'/>
<id>70f43d719bfd13e4c1d385e56801139d1a518273</id>
<content type='text'>
Only some "signals" are handled under Windows, because Windows does not
use signals per-se and the mechanics are different. For now, we handle
sigsegv, stack overflow, div-by-zero and sigill. We can also
meaningfully
add various floating point errors, but not sigterm and family, because
sigterm is not a structured exception under Windows.

There is also no catch-all, because that would also catch various
debugger-related exceptions, like EXCEPTION_BREAKPOINT.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only some "signals" are handled under Windows, because Windows does not
use signals per-se and the mechanics are different. For now, we handle
sigsegv, stack overflow, div-by-zero and sigill. We can also
meaningfully
add various floating point errors, but not sigterm and family, because
sigterm is not a structured exception under Windows.

There is also no catch-all, because that would also catch various
debugger-related exceptions, like EXCEPTION_BREAKPOINT.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix for sigsegv stack overflow behavior</title>
<updated>2017-01-12T15:23:55+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2016-11-26T13:10:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=a281173099e4c1634ab6ee709e1d838312aee980'/>
<id>a281173099e4c1634ab6ee709e1d838312aee980</id>
<content type='text'>
Also stops Catch from assuming its the only signal user in the binary,
and makes it restore the signal handlers it has replaced. Same goes for
the signal stack.

The signal stack itself probably shouldn't be always reallocated for
fragmentation reasons, but that can be fixed later on.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also stops Catch from assuming its the only signal user in the binary,
and makes it restore the signal handlers it has replaced. Same goes for
the signal stack.

The signal stack itself probably shouldn't be always reallocated for
fragmentation reasons, but that can be fixed later on.
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleaned up terminal colouring impl and added more config options</title>
<updated>2014-10-21T06:24:30+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2014-10-21T06:24:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=bde3567f3ec079b29a0c2ed24c4e385008e3b36f'/>
<id>bde3567f3ec079b29a0c2ed24c4e385008e3b36f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Calls method of FatalConditionHandler (to avoid warnings)</title>
<updated>2014-10-02T17:28:45+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2014-10-02T17:28:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=b1936d3b0e64c073813e6159ebde8225390d9e06'/>
<id>b1936d3b0e64c073813e6159ebde8225390d9e06</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
