<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ccache.git/src/AtomicFile.cpp, branch master</title>
<subtitle>github.com: ccache/ccache
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ccache.git/'/>
<entry>
<title>enhance: Add AtomicFile::flush method</title>
<updated>2022-12-13T19:38:37+00:00</updated>
<author>
<name>Joel Rosdahl</name>
<email>joel@rosdahl.net</email>
</author>
<published>2022-12-03T12:33:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ccache.git/commit/?id=beb5a3db5eb9105ea5a28c814c37be788f5feab4'/>
<id>beb5a3db5eb9105ea5a28c814c37be788f5feab4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: Make sure that temporary files always have .tmp. in the name</title>
<updated>2022-09-21T15:06:30+00:00</updated>
<author>
<name>Joel Rosdahl</name>
<email>joel@rosdahl.net</email>
</author>
<published>2022-09-12T11:25:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ccache.git/commit/?id=60fe1672d9e36f4334d39d0c606dd07d401e1fa1'/>
<id>60fe1672d9e36f4334d39d0c606dd07d401e1fa1</id>
<content type='text'>
PrimaryStorage::clean_dir relies on being able to classify temporary
files from the filename.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PrimaryStorage::clean_dir relies on being able to classify temporary
files from the filename.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: Use more std::string_view</title>
<updated>2022-09-06T06:13:27+00:00</updated>
<author>
<name>Joel Rosdahl</name>
<email>joel@rosdahl.net</email>
</author>
<published>2022-09-03T18:11:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ccache.git/commit/?id=8cd04998f47ad21822bf024e2b38e104b12133eb'/>
<id>8cd04998f47ad21822bf024e2b38e104b12133eb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: Replace util::Blob alias</title>
<updated>2022-09-06T06:13:23+00:00</updated>
<author>
<name>Joel Rosdahl</name>
<email>joel@rosdahl.net</email>
</author>
<published>2022-09-03T17:47:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ccache.git/commit/?id=d3934faf7c7b80f91ec17b5f61007e55400841d3'/>
<id>d3934faf7c7b80f91ec17b5f61007e55400841d3</id>
<content type='text'>
I want to introduce more use of nonstd::span&lt;const uint8_t&gt; and I think
that it makes more sense to use unaliased types.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I want to introduce more use of nonstd::span&lt;const uint8_t&gt; and I think
that it makes more sense to use unaliased types.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: Use FMT macro to format exception messages</title>
<updated>2022-08-24T17:16:48+00:00</updated>
<author>
<name>Joel Rosdahl</name>
<email>joel@rosdahl.net</email>
</author>
<published>2022-08-23T16:21:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ccache.git/commit/?id=a4ab84f94574a8210373cfc69a7f8e1a7f355dcf'/>
<id>a4ab84f94574a8210373cfc69a7f8e1a7f355dcf</id>
<content type='text'>
Using the FMT macro explicitly makes invalid format message
constructions compile-time errors instead of run-time errors.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using the FMT macro explicitly makes invalid format message
constructions compile-time errors instead of run-time errors.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: Use new util::Blob typedef</title>
<updated>2022-08-15T20:13:32+00:00</updated>
<author>
<name>Joel Rosdahl</name>
<email>joel@rosdahl.net</email>
</author>
<published>2022-08-15T19:15:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ccache.git/commit/?id=b6f80ea9f54b75eac68bb07d6b1079bc4b7db172'/>
<id>b6f80ea9f54b75eac68bb07d6b1079bc4b7db172</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move exceptions.hpp to core</title>
<updated>2021-07-20T17:42:54+00:00</updated>
<author>
<name>Joel Rosdahl</name>
<email>joel@rosdahl.net</email>
</author>
<published>2021-07-19T11:29:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ccache.git/commit/?id=eb266c997db8f13dd5f9e3e099f853f3a7505f7b'/>
<id>eb266c997db8f13dd5f9e3e099f853f3a7505f7b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ASSERT and DEBUG_ASSERT macros</title>
<updated>2020-09-21T18:43:15+00:00</updated>
<author>
<name>Joel Rosdahl</name>
<email>joel@rosdahl.net</email>
</author>
<published>2020-09-18T06:36:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ccache.git/commit/?id=706f74430064463dcbea8104be2eed93c563e0fc'/>
<id>706f74430064463dcbea8104be2eed93c563e0fc</id>
<content type='text'>
CMake always defines NDEBUG in release builds, so assertions are only
enabled in debug builds. Assertions were however always enabled before
switching to CMake. I prefer keeping assertions enabled in release
builds as well unless they are part of a tight loop.

Fix this by introducing two custom assertion macors:

- ASSERT(condition): Like assert(condition) but always enabled.
- DEBUG_ASSERT(condition): Like assert(condition), i.e. only enabled in
  debug builds.

All usage of assert(condition) is converted to ASSERT(condition) since
none of the assertions are made in performance-critical code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CMake always defines NDEBUG in release builds, so assertions are only
enabled in debug builds. Assertions were however always enabled before
switching to CMake. I prefer keeping assertions enabled in release
builds as well unless they are part of a tight loop.

Fix this by introducing two custom assertion macors:

- ASSERT(condition): Like assert(condition) but always enabled.
- DEBUG_ASSERT(condition): Like assert(condition), i.e. only enabled in
  debug builds.

All usage of assert(condition) is converted to ASSERT(condition) since
none of the assertions are made in performance-critical code.
</pre>
</div>
</content>
</entry>
<entry>
<title>Let Error constructor forward arguments to fmt::format</title>
<updated>2020-08-03T19:31:02+00:00</updated>
<author>
<name>Joel Rosdahl</name>
<email>joel@rosdahl.net</email>
</author>
<published>2020-08-03T19:07:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ccache.git/commit/?id=0f8e918ca267b254e2d17dd8a20237447b3dcb65'/>
<id>0f8e918ca267b254e2d17dd8a20237447b3dcb65</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove now empty legacy_util.[hc]pp files</title>
<updated>2020-07-31T18:31:54+00:00</updated>
<author>
<name>Joel Rosdahl</name>
<email>joel@rosdahl.net</email>
</author>
<published>2020-07-31T18:10:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ccache.git/commit/?id=7f95710f574fe532af7297aab0191ca2d94a12de'/>
<id>7f95710f574fe532af7297aab0191ca2d94a12de</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
