<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ccache.git/src/Context.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>feat: Add support for setting per-compilation config on command line</title>
<updated>2023-02-20T07:02:33+00:00</updated>
<author>
<name>Joel Rosdahl</name>
<email>joel@rosdahl.net</email>
</author>
<published>2023-02-17T07:26:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ccache.git/commit/?id=e1a53fd0e67fb2d4ad7619e22550545fab27c620'/>
<id>e1a53fd0e67fb2d4ad7619e22550545fab27c620</id>
<content type='text'>
Closes #1035.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #1035.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: Use util::TimePoint for timestamps</title>
<updated>2022-09-21T15:06:32+00:00</updated>
<author>
<name>Joel Rosdahl</name>
<email>joel@rosdahl.net</email>
</author>
<published>2022-09-20T17:01:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ccache.git/commit/?id=653dde812ed117f3ff03bf05d97d086482aac0c9'/>
<id>653dde812ed117f3ff03bf05d97d086482aac0c9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: Include timestamp in per-object debug filenames</title>
<updated>2022-06-11T13:45:33+00:00</updated>
<author>
<name>Joel Rosdahl</name>
<email>joel@rosdahl.net</email>
</author>
<published>2022-06-11T12:13:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ccache.git/commit/?id=7c980edc1df8277aab086eec6ccaa4e66c8d2456'/>
<id>7c980edc1df8277aab086eec6ccaa4e66c8d2456</id>
<content type='text'>
Including a timestamp in the filenames makes it easier to compare two
builds without having to save previous debug files before the second
build. It also makes sure debug files won't be overwritten if an object
file is compiled several times during one build.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Including a timestamp in the filenames makes it easier to compare two
builds without having to save previous debug files before the second
build. It also makes sure debug files won't be overwritten if an object
file is compiled several times during one build.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: Add and use Util::{get,set}_umask functions</title>
<updated>2022-06-08T18:34:44+00:00</updated>
<author>
<name>Joel Rosdahl</name>
<email>joel@rosdahl.net</email>
</author>
<published>2022-06-08T18:15:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ccache.git/commit/?id=f8f1c35344e37bc52c9fe71daebb5b378bd353f3'/>
<id>f8f1c35344e37bc52c9fe71daebb5b378bd353f3</id>
<content type='text'>
Using

    mode_t mask = umask(0);
    umask(mask);

to retrieve the current umask isn't thread-safe. This messed up file
permissions when recompressing the cache.

Fix this by caching the last set value and always using
Util::{get,set}_umask to get and set the umask.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using

    mode_t mask = umask(0);
    umask(mask);

to retrieve the current umask isn't thread-safe. This messed up file
permissions when recompressing the cache.

Fix this by caching the last set value and always using
Util::{get,set}_umask to get and set the umask.
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: Replace nonstd::string_view with std::string_view</title>
<updated>2022-05-23T17:16:29+00:00</updated>
<author>
<name>Joel Rosdahl</name>
<email>joel@rosdahl.net</email>
</author>
<published>2022-05-17T19:55:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ccache.git/commit/?id=60005c836ac34d7ee42e3f57e441ea97c0e321ad'/>
<id>60005c836ac34d7ee42e3f57e441ea97c0e321ad</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: Don’t read let Context read user configuration in unit tests</title>
<updated>2021-08-07T11:25:24+00:00</updated>
<author>
<name>Joel Rosdahl</name>
<email>joel@rosdahl.net</email>
</author>
<published>2021-08-07T11:12:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ccache.git/commit/?id=a2e6316eae064cb283beb481d2135f5188d0bd9a'/>
<id>a2e6316eae064cb283beb481d2135f5188d0bd9a</id>
<content type='text'>
accd21e4 inadvertently made unit tests populate Context::config from the
environment and the user configuration. Fix this by moving code for
reading config, setting of logging, etc. into a separate method only to
be called by non-test code.

As noted by Michael Kruse in #815.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
accd21e4 inadvertently made unit tests populate Context::config from the
environment and the user configuration. Fix this by moving code for
reading config, setting of logging, etc. into a separate method only to
be called by non-test code.

As noted by Michael Kruse in #815.
</pre>
</div>
</content>
</entry>
<entry>
<title>Move/split statistics functionality into core and storage::primary</title>
<updated>2021-07-22T20:32:29+00:00</updated>
<author>
<name>Joel Rosdahl</name>
<email>joel@rosdahl.net</email>
</author>
<published>2021-07-22T11:06:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ccache.git/commit/?id=a28af38b6c12eadea1ed833c3fc13177164c9ef1'/>
<id>a28af38b6c12eadea1ed833c3fc13177164c9ef1</id>
<content type='text'>
- The Counters class has been moved to core::StatisticsCounters.
- Functionality in the Statistics namespace has been split into:
    - core::StatsLog: Knows about “stats log” format.
    - core::Statistics: Knows about properties of statistics fields and
      how to present them.
    - storage::primary::PrimaryStorage: Knows how to store and update
      statistics in the primary storage backend.
    - storage::primary::StatsFile: Knows about the “stats file” format.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- The Counters class has been moved to core::StatisticsCounters.
- Functionality in the Statistics namespace has been split into:
    - core::StatsLog: Knows about “stats log” format.
    - core::Statistics: Knows about properties of statistics fields and
      how to present them.
    - storage::primary::PrimaryStorage: Knows how to store and update
      statistics in the primary storage backend.
    - storage::primary::StatsFile: Knows about the “stats file” format.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove redundant _utils suffix for util headers</title>
<updated>2021-07-19T06:47:20+00:00</updated>
<author>
<name>Joel Rosdahl</name>
<email>joel@rosdahl.net</email>
</author>
<published>2021-07-14T08:10:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ccache.git/commit/?id=303c82fea7b45f497ef10e9af851d8411e4386cc'/>
<id>303c82fea7b45f497ef10e9af851d8411e4386cc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove system.hpp, including what’s needed instead</title>
<updated>2021-07-07T07:13:05+00:00</updated>
<author>
<name>Joel Rosdahl</name>
<email>joel@rosdahl.net</email>
</author>
<published>2021-07-06T19:19:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ccache.git/commit/?id=ca9ec9cfa8af99eb1e5c39c9dffdc1c611ed235c'/>
<id>ca9ec9cfa8af99eb1e5c39c9dffdc1c611ed235c</id>
<content type='text'>
This is the next step after a57f70eda32e99221de56f5499079b4f00dc2bc5.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the next step after a57f70eda32e99221de56f5499079b4f00dc2bc5.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add util::split_path_list function and remove PATH_DELIM macro</title>
<updated>2021-07-06T20:19:43+00:00</updated>
<author>
<name>Joel Rosdahl</name>
<email>joel@rosdahl.net</email>
</author>
<published>2021-07-06T06:57:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ccache.git/commit/?id=49548d72986f3087cc6a72cfac0747400dc2a309'/>
<id>49548d72986f3087cc6a72cfac0747400dc2a309</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
