<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/include/internal/catch_tostring.hpp, branch v1.9.4</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>Remove \l, add \f in character pretty printing</title>
<updated>2017-02-01T20:31:14+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-02-01T20:31:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=f58ff0c540c563ab815743b6e98c97c28e263efe'/>
<id>f58ff0c540c563ab815743b6e98c97c28e263efe</id>
<content type='text'>
I have never head of \l and MSVC warns about unknown escape sequence, so
I changed it into \f that definitely exists and potentially might be
useful.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I have never head of \l and MSVC warns about unknown escape sequence, so
I changed it into \f that definitely exists and potentially might be
useful.
</pre>
</div>
</content>
</entry>
<entry>
<title>Put quote marks around printed characters; also nicely print some escapes</title>
<updated>2017-01-31T20:53:36+00:00</updated>
<author>
<name>Eric Schmidt</name>
</author>
<published>2016-04-21T03:52:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=5121b5b05886c3667fa8ba738b2f55d138d35490'/>
<id>5121b5b05886c3667fa8ba738b2f55d138d35490</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use char literal instead of string literal with 1 char</title>
<updated>2017-01-29T22:07:15+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-01-29T22:07:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=bcaa2f9646c5ce50758f8582307c99501a932e1a'/>
<id>bcaa2f9646c5ce50758f8582307c99501a932e1a</id>
<content type='text'>
In reality, this is a relatively small performance improvement,
especially with the previous improvements removing lots of superfluous
string handling, but still was measurable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In reality, this is a relatively small performance improvement,
especially with the previous improvements removing lots of superfluous
string handling, but still was measurable.
</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>Various small string usage performance improvements.</title>
<updated>2017-01-15T09:05:01+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-01-15T08:41:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=3b98a0166f7b7196eba2ad518174d1a77165166d'/>
<id>3b98a0166f7b7196eba2ad518174d1a77165166d</id>
<content type='text'>
* Empty strings are now direct constructed as `std::string()`, not as empty string literals.
* `startsWith` and `endsWith` no longer construct new a string. This should be an improvement
for libstdc++ when using older standards, as it doesn't use SSO but COW and thus even short
strings are expensive to first create.
* Various places now use char literal instead of string literals containing single char.
** `startsWith` and `endsWith` now also have overload that takes single char.

Generally the performance improvements under VS2015 are small, as going from short string
to char is mostly meaningless because of SSO (Catch doesn't push string handling that hard)
and previous commit removed most string handling if tests pass, which is the expect case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Empty strings are now direct constructed as `std::string()`, not as empty string literals.
* `startsWith` and `endsWith` no longer construct new a string. This should be an improvement
for libstdc++ when using older standards, as it doesn't use SSO but COW and thus even short
strings are expensive to first create.
* Various places now use char literal instead of string literals containing single char.
** `startsWith` and `endsWith` now also have overload that takes single char.

Generally the performance improvements under VS2015 are small, as going from short string
to char is mostly meaningless because of SSO (Catch doesn't push string handling that hard)
and previous commit removed most string handling if tests pass, which is the expect case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Stripped trailing whitespace from all source code lines</title>
<updated>2015-11-04T18:04:15+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2015-11-04T18:01:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=e91738103ce8dc6c0ca6c096c66b79d25f3c18d6'/>
<id>e91738103ce8dc6c0ca6c096c66b79d25f3c18d6</id>
<content type='text'>
(replaces need for PRs #310 and #504)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(replaces need for PRs #310 and #504)
</pre>
</div>
</content>
</entry>
<entry>
<title>Added CATCH_CONFIG_CPP11_LONG_LONG support</title>
<updated>2015-07-23T22:05:05+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2015-07-23T18:03:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=733ebb6024d6b6ff60ef96b9f761828e6eff6ae7'/>
<id>733ebb6024d6b6ff60ef96b9f761828e6eff6ae7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>changed hex threshold on ints to 255</title>
<updated>2015-05-20T17:28:22+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2015-05-20T17:28:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=6ed74b5cab3d8cfb2e474b2da1cad70e52cbb3b8'/>
<id>6ed74b5cab3d8cfb2e474b2da1cad70e52cbb3b8</id>
<content type='text'>
- and print it in *addition* to the decimal form
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- and print it in *addition* to the decimal form
</pre>
</div>
</content>
</entry>
<entry>
<title>toString( int ) uses hex for large values</title>
<updated>2014-12-12T08:10:45+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2014-12-12T08:10:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=ff9e51df7f98f743a8505b1991304cfae07184c3'/>
<id>ff9e51df7f98f743a8505b1991304cfae07184c3</id>
<content type='text'>
now matches behaviour of unsigned int
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
now matches behaviour of unsigned int
</pre>
</div>
</content>
</entry>
<entry>
<title>Some toString cleanups</title>
<updated>2014-12-09T18:49:58+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2014-12-09T18:49:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=b0545d1f12b5b316d823393060f68c06a320b9b1'/>
<id>b0545d1f12b5b316d823393060f68c06a320b9b1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
