]> git.ipfire.org Git - thirdparty/ccache.git/log
thirdparty/ccache.git
9 years agoAdd initial travis config 55/head
André Klitzing [Fri, 27 Nov 2015 07:56:02 +0000 (08:56 +0100)] 
Add initial travis config

9 years agoMerge branch '3.2-maint'
Joel Rosdahl [Mon, 2 Nov 2015 20:14:42 +0000 (21:14 +0100)] 
Merge branch '3.2-maint'

* 3.2-maint:
  Update NEWS
  Fix build on Solaris 10+ and AIX 7

9 years agoUpdate NEWS
Joel Rosdahl [Mon, 2 Nov 2015 20:14:32 +0000 (21:14 +0100)] 
Update NEWS

9 years agoFix build on Solaris 10+ and AIX 7
Neil Mushell [Mon, 2 Nov 2015 20:12:24 +0000 (21:12 +0100)] 
Fix build on Solaris 10+ and AIX 7

9 years agoMerge branch '3.2-maint'
Joel Rosdahl [Fri, 30 Oct 2015 16:23:25 +0000 (17:23 +0100)] 
Merge branch '3.2-maint'

* 3.2-maint:
  Update NEWS
  Pass -stdlib= only to preprocessor

9 years agoUpdate NEWS
Joel Rosdahl [Fri, 30 Oct 2015 16:19:34 +0000 (17:19 +0100)] 
Update NEWS

9 years agoPass -stdlib= only to preprocessor
Matthias Kretz [Fri, 30 Oct 2015 15:53:37 +0000 (16:53 +0100)] 
Pass -stdlib= only to preprocessor

Clang warns about an unused -stdlib=libc++ argument if the argument is
passed to the second clang invocation. The -stdlib= argument is only
necessary on preprocessing (to set the system include paths) and on
linking (which is not cached anyway)

Signed-off-by: Matthias Kretz <kretz@kde.org>
9 years agoMerge branch '3.2-maint'
Joel Rosdahl [Tue, 27 Oct 2015 21:14:36 +0000 (22:14 +0100)] 
Merge branch '3.2-maint'

* 3.2-maint:
  Correct manual regarding __DATE_, __TIME__ and __FILE__ macros
  Include m4 files used by configure.ac in dist archive

Conflicts:
NEWS.txt

9 years agoCorrect manual regarding __DATE_, __TIME__ and __FILE__ macros
Joel Rosdahl [Tue, 27 Oct 2015 21:13:20 +0000 (22:13 +0100)] 
Correct manual regarding __DATE_, __TIME__ and __FILE__ macros

Thanks to Yevhen Ivannikov for noticing this.

9 years agoInclude m4 files used by configure.ac in dist archive
Joel Rosdahl [Fri, 9 Oct 2015 19:13:57 +0000 (21:13 +0200)] 
Include m4 files used by configure.ac in dist archive

9 years agoChange to https links to ccache resources
Joel Rosdahl [Mon, 19 Oct 2015 20:36:32 +0000 (22:36 +0200)] 
Change to https links to ccache resources

9 years agoInclude m4 files used by configure.ac in dist archive
Joel Rosdahl [Fri, 9 Oct 2015 19:13:57 +0000 (21:13 +0200)] 
Include m4 files used by configure.ac in dist archive

9 years agoMerge branch '3.2-maint'
Joel Rosdahl [Thu, 8 Oct 2015 19:15:52 +0000 (21:15 +0200)] 
Merge branch '3.2-maint'

* 3.2-maint:
  Prepare for v3.2.4

Conflicts:
NEWS.txt

9 years agoPrepare for v3.2.4 v3.2.4
Joel Rosdahl [Thu, 8 Oct 2015 19:12:14 +0000 (21:12 +0200)] 
Prepare for v3.2.4

9 years agoMerge branch '3.2-maint'
Joel Rosdahl [Thu, 8 Oct 2015 19:10:53 +0000 (21:10 +0200)] 
Merge branch '3.2-maint'

* 3.2-maint:
  Update AUTHORS.txt
  Use correct data types for stats_set_sizes parameters
  Clean up

9 years agoUpdate AUTHORS.txt
Joel Rosdahl [Thu, 8 Oct 2015 19:08:42 +0000 (21:08 +0200)] 
Update AUTHORS.txt

9 years agoUse correct data types for stats_set_sizes parameters
Joel Rosdahl [Sun, 4 Oct 2015 11:56:22 +0000 (13:56 +0200)] 
Use correct data types for stats_set_sizes parameters

9 years agoClean up
Joel Rosdahl [Sat, 19 Sep 2015 14:24:26 +0000 (16:24 +0200)] 
Clean up

9 years agoMerge branch '3.2-maint'
Joel Rosdahl [Mon, 14 Sep 2015 17:49:06 +0000 (19:49 +0200)] 
Merge branch '3.2-maint'

* 3.2-maint:
  Fix typo in 1eef4547400f2ba0c49db4a47e0413612b81cc43

9 years agoFix typo in 1eef4547400f2ba0c49db4a47e0413612b81cc43
Joel Rosdahl [Mon, 14 Sep 2015 17:48:42 +0000 (19:48 +0200)] 
Fix typo in 1eef4547400f2ba0c49db4a47e0413612b81cc43

9 years agoMerge branch '3.2-maint'
Joel Rosdahl [Sun, 13 Sep 2015 12:37:06 +0000 (14:37 +0200)] 
Merge branch '3.2-maint'

* 3.2-maint:
  Use correct compression level when copying into the cache
  Update NEWS
  Minor improvements to Windows support
  Revert "Recognize concatenated form of some compiler options"
  Recognize concatenated form of some compiler options

9 years agoUse correct compression level when copying into the cache
Joel Rosdahl [Sun, 13 Sep 2015 12:35:26 +0000 (14:35 +0200)] 
Use correct compression level when copying into the cache

9 years agoUpdate NEWS
Joel Rosdahl [Sun, 13 Sep 2015 12:31:28 +0000 (14:31 +0200)] 
Update NEWS

9 years agoMinor improvements to Windows support
Vadim Petrochenkov [Mon, 7 Sep 2015 18:36:36 +0000 (21:36 +0300)] 
Minor improvements to Windows support

9 years agoRevert "Recognize concatenated form of some compiler options"
Joel Rosdahl [Sat, 5 Sep 2015 20:42:31 +0000 (22:42 +0200)] 
Revert "Recognize concatenated form of some compiler options"

This reverts commit 631632852a0c6bdfe77ef04bd8d675f0295c035f. The change
was not quite enough to fix the problem..

9 years agoRecognize concatenated form of some compiler options
Joel Rosdahl [Sat, 5 Sep 2015 20:16:37 +0000 (22:16 +0200)] 
Recognize concatenated form of some compiler options

GCC apparently accepts "-isystemfoo" instead of "-isystem foo" even
though only the latter is documented.

9 years agoMerge branch '3.2-maint'
Joel Rosdahl [Sun, 30 Aug 2015 19:22:48 +0000 (21:22 +0200)] 
Merge branch '3.2-maint'

* 3.2-maint:
  Include strings.h for strcasecmp
  Remove unnecessary extra_cppflags, extra_ldflags and all_ldflags variables
  Improve signal handling
  Wait for compiler subprocess to exit before exiting from a signal
  Make conversion-to-bool explicit to avoid warnings on legacy systems
  Fix regression in recent change related to zlib in nonstandard location

Conflicts:
NEWS.txt

9 years agoInclude strings.h for strcasecmp
Joel Rosdahl [Sat, 29 Aug 2015 16:32:00 +0000 (18:32 +0200)] 
Include strings.h for strcasecmp

9 years agoRemove unnecessary extra_cppflags, extra_ldflags and all_ldflags variables
Joel Rosdahl [Sat, 29 Aug 2015 16:15:36 +0000 (18:15 +0200)] 
Remove unnecessary extra_cppflags, extra_ldflags and all_ldflags variables

9 years agoImprove signal handling
Joel Rosdahl [Sat, 29 Aug 2015 16:09:37 +0000 (18:09 +0200)] 
Improve signal handling

* Block signals while manipulating data read by the signal handler.
* If ccache receives SIGTERM, kill compiler as well. (Other signals like
  SIGINT are sent to the whole process group.)
* Die appropriately at the end of the signal handler by resending the
  signal instead of exiting.

9 years agoWait for compiler subprocess to exit before exiting from a signal
Joel Rosdahl [Mon, 17 Aug 2015 19:01:35 +0000 (21:01 +0200)] 
Wait for compiler subprocess to exit before exiting from a signal

This should fix a race condition (albeit a quite unlikely one) related
to removal of the compiler output file(s).

9 years agoMake conversion-to-bool explicit to avoid warnings on legacy systems
Joel Rosdahl [Mon, 17 Aug 2015 17:38:11 +0000 (19:38 +0200)] 
Make conversion-to-bool explicit to avoid warnings on legacy systems

9 years agoFix regression in recent change related to zlib in nonstandard location
Joel Rosdahl [Mon, 17 Aug 2015 17:05:14 +0000 (19:05 +0200)] 
Fix regression in recent change related to zlib in nonstandard location

To allow for specifying a -L flag in LDFLAGS and have it take effect for
-lz, 0220de9c8ebfb18caae2ac1aa163d060e98ceade put -lz in extra_libs
instead of extra_ldflags. However, extra_libs is supposed to contain
paths to libraries which are prerequisites of the ccache link rule, and
some older versions of make got confused by seeing -lz as a
prerequisite.

This fix is to revert 0220de9c8ebfb18caae2ac1aa163d060e98ceade and
instead make sure that LDFLAGS comes before extra_ldflags.

9 years agoMerge branch '3.2-maint'
Joel Rosdahl [Sun, 16 Aug 2015 12:14:46 +0000 (14:14 +0200)] 
Merge branch '3.2-maint'

* 3.2-maint:
  Prepare for v3.2.3
  Bail out on --save-temps, an alias for -save-temps
  Use correct key for "file info indexes" in --dump-manifest output
  Exit properly from exit handler

9 years agoPrepare for v3.2.3 v3.2.3
Joel Rosdahl [Sun, 16 Aug 2015 12:11:45 +0000 (14:11 +0200)] 
Prepare for v3.2.3

9 years agoBail out on --save-temps, an alias for -save-temps
Michael Marineau [Thu, 9 Jul 2015 20:42:23 +0000 (13:42 -0700)] 
Bail out on --save-temps, an alias for -save-temps

9 years agoUse correct key for "file info indexes" in --dump-manifest output
Joel Rosdahl [Sat, 15 Aug 2015 12:38:33 +0000 (14:38 +0200)] 
Use correct key for "file info indexes" in --dump-manifest output

10 years agoExit properly from exit handler
Joel Rosdahl [Sun, 9 Aug 2015 20:07:11 +0000 (22:07 +0200)] 
Exit properly from exit handler

This fixes a problem where two SIGINT (Ctrl+C) signals were needed to
terminate an ongoing compilation. (The first SIGINT terminated the
compiler which exited with non-zero status, which ccache then went on
interpreting as an ordinary failed compilation, leading to rerunning the
compiler via failed().)

10 years agoMention cuda support in NEWS
Joel Rosdahl [Fri, 7 Aug 2015 15:53:56 +0000 (17:53 +0200)] 
Mention cuda support in NEWS

10 years agoClean up code
Joel Rosdahl [Fri, 7 Aug 2015 15:53:35 +0000 (17:53 +0200)] 
Clean up code

10 years agoMerge branch '3.2-maint'
Joel Rosdahl [Fri, 7 Aug 2015 15:50:44 +0000 (17:50 +0200)] 
Merge branch '3.2-maint'

* 3.2-maint:
  uncrustify: Add sp_after_comma
  Don't mention source code hash bug fix in 3.2.2

10 years agouncrustify: Add sp_after_comma
Joel Rosdahl [Fri, 7 Aug 2015 15:45:25 +0000 (17:45 +0200)] 
uncrustify: Add sp_after_comma

10 years agoAdd support for cuda including the -optf option
Clemens Rabe [Fri, 7 Nov 2014 20:10:51 +0000 (21:10 +0100)] 
Add support for cuda including the -optf option

10 years agoDon't mention source code hash bug fix in 3.2.2
Joel Rosdahl [Fri, 7 Aug 2015 15:03:56 +0000 (17:03 +0200)] 
Don't mention source code hash bug fix in 3.2.2

It was never a problem in the 3.2 track.

10 years agoMerge branch '3.2-maint'
Joel Rosdahl [Wed, 5 Aug 2015 15:48:00 +0000 (17:48 +0200)] 
Merge branch '3.2-maint'

* 3.2-maint:
  test: Make subst_env_in_string not depend on existing environment
  Update source code style according to uncrustify
  Add uncrustify config and make rule
  Source code style tweaks
  Minor tweaking to comments
  Only log "Disabling direct mode" once when failing to read include file

10 years agotest: Make subst_env_in_string not depend on existing environment
Joel Rosdahl [Wed, 5 Aug 2015 15:38:40 +0000 (17:38 +0200)] 
test: Make subst_env_in_string not depend on existing environment

10 years agoUpdate source code style according to uncrustify
Joel Rosdahl [Sat, 1 Aug 2015 20:56:03 +0000 (22:56 +0200)] 
Update source code style according to uncrustify

10 years agoAdd uncrustify config and make rule
Joel Rosdahl [Sat, 1 Aug 2015 20:42:58 +0000 (22:42 +0200)] 
Add uncrustify config and make rule

10 years agoSource code style tweaks
Joel Rosdahl [Sat, 1 Aug 2015 20:07:10 +0000 (22:07 +0200)] 
Source code style tweaks

10 years agoMinor tweaking to comments
Joel Rosdahl [Sun, 26 Jul 2015 14:38:35 +0000 (16:38 +0200)] 
Minor tweaking to comments

10 years agoOnly log "Disabling direct mode" once when failing to read include file
Joel Rosdahl [Sun, 5 Jul 2015 16:09:05 +0000 (18:09 +0200)] 
Only log "Disabling direct mode" once when failing to read include file

10 years agoMerge branch '3.2-maint'
Joel Rosdahl [Sun, 28 Jun 2015 18:49:05 +0000 (20:49 +0200)] 
Merge branch '3.2-maint'

* 3.2-maint:
  Update NEWS
  Minor cleanups
  DwarfFission: -gsplit-dwarf support

10 years agoUpdate NEWS
Joel Rosdahl [Sun, 28 Jun 2015 18:48:42 +0000 (20:48 +0200)] 
Update NEWS

10 years agoMinor cleanups
Joel Rosdahl [Sun, 28 Jun 2015 18:44:12 +0000 (20:44 +0200)] 
Minor cleanups

10 years agoDwarfFission: -gsplit-dwarf support
Chiaki Ishikawa [Thu, 25 Jun 2015 08:33:49 +0000 (17:33 +0900)] 
DwarfFission: -gsplit-dwarf support

10 years agoMerge branch '3.2-maint'
Joel Rosdahl [Wed, 3 Jun 2015 19:16:15 +0000 (21:16 +0200)] 
Merge branch '3.2-maint'

* 3.2-maint:
  Avoid calling exit() inside an exit handler

10 years agoAvoid calling exit() inside an exit handler
Joel Rosdahl [Wed, 3 Jun 2015 19:10:46 +0000 (21:10 +0200)] 
Avoid calling exit() inside an exit handler

10 years agoMerge branch '3.2-maint'
Joel Rosdahl [Mon, 1 Jun 2015 20:09:40 +0000 (22:09 +0200)] 
Merge branch '3.2-maint'

* 3.2-maint:
  Support external zlib in nonstandard directory
  test: drop perl requirement

10 years agoSupport external zlib in nonstandard directory
Joel Rosdahl [Mon, 1 Jun 2015 20:06:00 +0000 (22:06 +0200)] 
Support external zlib in nonstandard directory

Patch by David Froger.

10 years agotest: drop perl requirement
Mike Frysinger [Mon, 11 May 2015 03:03:58 +0000 (23:03 -0400)] 
test: drop perl requirement

Since perl is used in just one place and can easily be replaced by a
little bit of shell, do so.  This makes testing on limited systems
easier.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
10 years agoMerge branch '3.2-maint'
Joel Rosdahl [Sun, 10 May 2015 12:28:32 +0000 (14:28 +0200)] 
Merge branch '3.2-maint'

* 3.2-maint:
  Prepare for v3.2.2
  Update NEWS
  Tweak comment

10 years agoPrepare for v3.2.2 v3.2.2
Joel Rosdahl [Sun, 10 May 2015 12:23:49 +0000 (14:23 +0200)] 
Prepare for v3.2.2

10 years agoUpdate NEWS
Joel Rosdahl [Sun, 10 May 2015 12:16:41 +0000 (14:16 +0200)] 
Update NEWS

10 years agoTweak comment
Joel Rosdahl [Sun, 10 May 2015 12:16:33 +0000 (14:16 +0200)] 
Tweak comment

10 years agoMerge branch '3.2-maint'
Joel Rosdahl [Mon, 27 Apr 2015 19:52:28 +0000 (21:52 +0200)] 
Merge branch '3.2-maint'

* 3.2-maint:
  Mention next unreleased version in NEWS
  Remove signal-unsafe code from signal handler
  Fix build error when compiling ccache with recent clang versions

10 years agoMention next unreleased version in NEWS
Joel Rosdahl [Mon, 27 Apr 2015 19:05:46 +0000 (21:05 +0200)] 
Mention next unreleased version in NEWS

10 years agoRemove signal-unsafe code from signal handler
Joel Rosdahl [Mon, 27 Apr 2015 19:03:07 +0000 (21:03 +0200)] 
Remove signal-unsafe code from signal handler

10 years agoFix build error when compiling ccache with recent clang versions
Joel Rosdahl [Mon, 27 Apr 2015 18:48:56 +0000 (20:48 +0200)] 
Fix build error when compiling ccache with recent clang versions

10 years agoMerge branch '3.2-maint'
Joel Rosdahl [Sun, 19 Apr 2015 11:38:41 +0000 (13:38 +0200)] 
Merge branch '3.2-maint'

* 3.2-maint:
  Update NEWS
  Correct doc string of stats_update_size
  Minor style tweaks
  Fix minor memory leaks
  Add support for coverage (compiling for gcov)

10 years agoUpdate NEWS
Joel Rosdahl [Sun, 19 Apr 2015 11:38:29 +0000 (13:38 +0200)] 
Update NEWS

10 years agoCorrect doc string of stats_update_size
Joel Rosdahl [Wed, 4 Feb 2015 20:17:59 +0000 (21:17 +0100)] 
Correct doc string of stats_update_size

10 years agoMinor style tweaks
Joel Rosdahl [Wed, 4 Feb 2015 20:17:36 +0000 (21:17 +0100)] 
Minor style tweaks

10 years agoFix minor memory leaks
Joel Rosdahl [Wed, 4 Feb 2015 20:17:17 +0000 (21:17 +0100)] 
Fix minor memory leaks

10 years agoAdd support for coverage (compiling for gcov)
Anders Björklund [Tue, 2 Sep 2014 20:56:50 +0000 (22:56 +0200)] 
Add support for coverage (compiling for gcov)

Store the coverage notes (.gcno file) in the cache, next to the object.
If called on a file without actual code, like a header, then generate an
empty file in the cache to be able to separate this case from file missing.
Newer versions of gcc will generate a small file instead of not generating.

In the object file generated with -fprofile-arcs, the runtime output file
for the coverage data (.gcda file) is created from the output filename.
Make sure to hash this path to avoid cache hits with another absolute path.
Also make sure to use the source file path, since this is in the notes.

10 years agoMerge branch '3.2-maint'
Joel Rosdahl [Sun, 29 Mar 2015 15:09:45 +0000 (17:09 +0200)] 
Merge branch '3.2-maint'

* 3.2-maint:
  Don't assume that succeeding libc calls don't modify errno
  Update copyright years

10 years agoDon't assume that succeeding libc calls don't modify errno
Joel Rosdahl [Sun, 29 Mar 2015 15:08:37 +0000 (17:08 +0200)] 
Don't assume that succeeding libc calls don't modify errno

10 years agoUpdate copyright years
Joel Rosdahl [Sun, 22 Mar 2015 09:26:18 +0000 (10:26 +0100)] 
Update copyright years

10 years agoMerge branch '3.2-maint'
Joel Rosdahl [Thu, 19 Mar 2015 21:02:20 +0000 (22:02 +0100)] 
Merge branch '3.2-maint'

* 3.2-maint:
  Introduce logging wrappers for stat/lstat/fstat functions
  Harden logging, perror() replaced with fatal(), unlink() failure recorded
  Always check the result of stat() system calls
  Log failure of opening file to hash

10 years agoIntroduce logging wrappers for stat/lstat/fstat functions
Joel Rosdahl [Thu, 19 Mar 2015 20:27:26 +0000 (21:27 +0100)] 
Introduce logging wrappers for stat/lstat/fstat functions

10 years agoHarden logging, perror() replaced with fatal(), unlink() failure recorded
Chiaki ISHIKAWA [Thu, 19 Mar 2015 14:46:35 +0000 (23:46 +0900)] 
Harden logging, perror() replaced with fatal(), unlink() failure recorded

10 years agoAlways check the result of stat() system calls
Chiaki ISHIKAWA [Wed, 18 Mar 2015 15:55:04 +0000 (00:55 +0900)] 
Always check the result of stat() system calls

10 years agoLog failure of opening file to hash
Chiaki ISHIKAWA [Wed, 18 Mar 2015 15:34:48 +0000 (00:34 +0900)] 
Log failure of opening file to hash

10 years agoMerge branch '3.2-maint'
Joel Rosdahl [Mon, 16 Mar 2015 21:59:28 +0000 (22:59 +0100)] 
Merge branch '3.2-maint'

* 3.2-maint:
  Wipe the whole cached result on failure retrieving a cached file
  Use x_unlink instead of unlink per HACKING.txt

10 years agoWipe the whole cached result on failure retrieving a cached file
Joel Rosdahl [Mon, 16 Mar 2015 21:31:33 +0000 (22:31 +0100)] 
Wipe the whole cached result on failure retrieving a cached file

As suggested by Chiaki ISHIKAWA <ishikawa@yk.rim.or.jp>.

10 years agoUse x_unlink instead of unlink per HACKING.txt
Chiaki ISHIKAWA [Tue, 10 Mar 2015 12:28:27 +0000 (21:28 +0900)] 
Use x_unlink instead of unlink per HACKING.txt

10 years agoUpdate HACKING.txt with some notes on commit messages
Joel Rosdahl [Sat, 14 Mar 2015 12:07:06 +0000 (13:07 +0100)] 
Update HACKING.txt with some notes on commit messages

10 years agoUpdate NEWS
Joel Rosdahl [Sun, 8 Mar 2015 19:57:32 +0000 (20:57 +0100)] 
Update NEWS

10 years agoAdd test case for CCACHE_COMPILERCHECK=string:<value>
Joel Rosdahl [Sun, 8 Mar 2015 19:53:16 +0000 (20:53 +0100)] 
Add test case for CCACHE_COMPILERCHECK=string:<value>

10 years agoSupport syntax CCACHE_COMPILERCHECK=string:<value>
Jiang Jiang [Tue, 2 Dec 2014 16:23:16 +0000 (17:23 +0100)] 
Support syntax CCACHE_COMPILERCHECK=string:<value>

This can be faster than running a command directly, because the
command to run might just produce the same result for every ccache
invocation. By reading it from config file or environment variable
we can just run that command once and store the result in the string
following "string:" and reusing it.

For example when we want to use clang revision for clang built from
SVN trunk, we can just call clang --version once and store the
revision number like:

  export CCACHE_COMPILERCHECK=string:218707

(Assuming 218707 is the current build revision.)

10 years agoBail out on too hard compiler option -fplugin=libcc1plugin
Joel Rosdahl [Sun, 8 Mar 2015 16:13:36 +0000 (17:13 +0100)] 
Bail out on too hard compiler option -fplugin=libcc1plugin

Based on patch from Jan Kratochvil.

10 years agoBail out on too hard compiler option "-fmodules"
Joel Rosdahl [Sun, 8 Mar 2015 16:08:13 +0000 (17:08 +0100)] 
Bail out on too hard compiler option "-fmodules"

10 years agoAvoid unnecessary copy of object file on cache miss
Joel Rosdahl [Sat, 7 Mar 2015 16:39:54 +0000 (17:39 +0100)] 
Avoid unnecessary copy of object file on cache miss

As noted by Chiaki Ishikawa, ccache performs an unnecessary copy of the
object file from the cache on a cache miss. This was an refactoring
oversight in 18a645451194becb832bd1ff4fee1c1e9f3d0dc5.

10 years agoFixup after merge of 3.1-maint
Joel Rosdahl [Sat, 7 Mar 2015 15:36:18 +0000 (16:36 +0100)] 
Fixup after merge of 3.1-maint

10 years agoMerge branch '3.1-maint' into 3.2-maint
Joel Rosdahl [Sat, 7 Mar 2015 15:30:57 +0000 (16:30 +0100)] 
Merge branch '3.1-maint' into 3.2-maint

* 3.1-maint:
  Prepare for v3.1.11

10 years agoPrepare for v3.1.11 v3.1.11
Joel Rosdahl [Sat, 7 Mar 2015 15:30:10 +0000 (16:30 +0100)] 
Prepare for v3.1.11

10 years agoMerge branch '3.1-maint' into 3.2-maint
Joel Rosdahl [Sat, 7 Mar 2015 15:26:39 +0000 (16:26 +0100)] 
Merge branch '3.1-maint' into 3.2-maint

* 3.1-maint:
  Prepare for v3.1.11
  Update NEWS.txt
  Tweak copyright years
  Fix comment scanning bug in hash_source_code_string

Conflicts:
NEWS.txt
dev.mk.in
hashutil.c
test.sh
test/test_hashutil.c

10 years agoPrepare for v3.1.11
Joel Rosdahl [Sat, 7 Mar 2015 15:04:07 +0000 (16:04 +0100)] 
Prepare for v3.1.11

10 years agoUpdate NEWS.txt
Joel Rosdahl [Sat, 7 Mar 2015 15:02:33 +0000 (16:02 +0100)] 
Update NEWS.txt

10 years agoTweak copyright years
Joel Rosdahl [Sat, 7 Mar 2015 15:02:21 +0000 (16:02 +0100)] 
Tweak copyright years

10 years agoFix comment scanning bug in hash_source_code_string
Joel Rosdahl [Fri, 20 Feb 2015 19:32:33 +0000 (20:32 +0100)] 
Fix comment scanning bug in hash_source_code_string

hash_source_code_string tries to ignore __DATE__/__TIME strings in
comments, but fails to parse code that contains character literal of a
double quote. This could result in false cache hits when the source code
happens to contain '"' followed by " /*" or " //" (with variations).

The fix is to do like it's already done in ccache 3.2: Don't try to be
overly clever about __DATE__/__TIME__, just check for those strings
anywhere in the source code string.