]> git.ipfire.org Git - thirdparty/ccache.git/log
thirdparty/ccache.git
14 years agoconfig: Use unify from conf struct
Joel Rosdahl [Sun, 17 Jul 2011 09:52:33 +0000 (11:52 +0200)] 
config: Use unify from conf struct

14 years agoconfig: Use umask from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 21:25:31 +0000 (23:25 +0200)] 
config: Use umask from conf struct

14 years agoconfig: Use temporary_dir from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 20:59:14 +0000 (22:59 +0200)] 
config: Use temporary_dir from conf struct

14 years agoconfig: Use stats from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 19:56:51 +0000 (21:56 +0200)] 
config: Use stats from conf struct

14 years agoconfig: Use sloppiness from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 19:48:11 +0000 (21:48 +0200)] 
config: Use sloppiness from conf struct

14 years agoconfig: Use run_second_cpp from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 18:05:20 +0000 (20:05 +0200)] 
config: Use run_second_cpp from conf struct

14 years agoconfig: Use recache from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 17:41:02 +0000 (19:41 +0200)] 
config: Use recache from conf struct

14 years agoconfig: Use read_only from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 17:37:14 +0000 (19:37 +0200)] 
config: Use read_only from conf struct

14 years agoconfig: Use prefix_command from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 17:33:45 +0000 (19:33 +0200)] 
config: Use prefix_command from conf struct

14 years agoconfig: Use path from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 16:31:49 +0000 (18:31 +0200)] 
config: Use path from conf struct

14 years agoAdd test for CCACHE_PATH
Joel Rosdahl [Sat, 16 Jul 2011 16:31:38 +0000 (18:31 +0200)] 
Add test for CCACHE_PATH

14 years agoconfig: Use log_file from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 15:57:52 +0000 (17:57 +0200)] 
config: Use log_file from conf struct

14 years agoconfig: Use hash_dir from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 15:34:50 +0000 (17:34 +0200)] 
config: Use hash_dir from conf struct

14 years agoconfig: Use hard_link from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 15:31:53 +0000 (17:31 +0200)] 
config: Use hard_link from conf struct

14 years agoconfig: Use extra_files_to_hash from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 15:26:46 +0000 (17:26 +0200)] 
config: Use extra_files_to_hash from conf struct

14 years agoconfig: Use disable from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 15:14:29 +0000 (17:14 +0200)] 
config: Use disable from conf struct

14 years agoconfig: Use direct_mode from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 15:11:46 +0000 (17:11 +0200)] 
config: Use direct_mode from conf struct

14 years agoconfig: Handle CCACHE_NO* environment variables
Joel Rosdahl [Sat, 16 Jul 2011 15:11:36 +0000 (17:11 +0200)] 
config: Handle CCACHE_NO* environment variables

14 years agohandle -fprofile-use
Chris AtLee [Wed, 20 Jul 2011 06:34:41 +0000 (02:34 -0400)] 
handle -fprofile-use

14 years agoadding tests
Chris AtLee [Wed, 20 Jul 2011 06:04:52 +0000 (02:04 -0400)] 
adding tests

14 years agoGet -fprofile-generate, -fprofile-arcs working
Chris AtLee [Wed, 20 Jul 2011 05:55:01 +0000 (01:55 -0400)] 
Get -fprofile-generate, -fprofile-arcs working

14 years agoconfig: Use detect_shebang from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 14:07:46 +0000 (16:07 +0200)] 
config: Use detect_shebang from conf struct

14 years agoconfig: Use cpp_extension from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 13:53:28 +0000 (15:53 +0200)] 
config: Use cpp_extension from conf struct

14 years agoconfig: Use compression from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 13:48:52 +0000 (15:48 +0200)] 
config: Use compression from conf struct

14 years agoMinor tweaks to HACKING.txt
Joel Rosdahl [Sat, 16 Jul 2011 13:43:58 +0000 (15:43 +0200)] 
Minor tweaks to HACKING.txt

14 years agoconfig: Remove obsolete references to CCACHE_NOCOMPRESS
Joel Rosdahl [Sat, 16 Jul 2011 13:39:38 +0000 (15:39 +0200)] 
config: Remove obsolete references to CCACHE_NOCOMPRESS

14 years agoconfig: Use compiler_check from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 13:33:37 +0000 (15:33 +0200)] 
config: Use compiler_check from conf struct

14 years agoconfig: Bail out on bad environment variable settings
Joel Rosdahl [Sat, 16 Jul 2011 13:32:47 +0000 (15:32 +0200)] 
config: Bail out on bad environment variable settings

14 years agoconfig: Correctly interpret boolean environment variables
Joel Rosdahl [Sat, 16 Jul 2011 13:32:24 +0000 (15:32 +0200)] 
config: Correctly interpret boolean environment variables

14 years agoconfig: Allow empty string (meaning "disabled") in verify_absolute_path
Joel Rosdahl [Sat, 16 Jul 2011 13:31:05 +0000 (15:31 +0200)] 
config: Allow empty string (meaning "disabled") in verify_absolute_path

14 years agoconfig: Use compiler from conf struct
Joel Rosdahl [Thu, 14 Jul 2011 19:46:58 +0000 (21:46 +0200)] 
config: Use compiler from conf struct

14 years agoconfig: Use cache_dir_levels from conf struct
Joel Rosdahl [Thu, 14 Jul 2011 19:35:28 +0000 (21:35 +0200)] 
config: Use cache_dir_levels from conf struct

14 years agoconfig: Use cache_dir from conf struct
Joel Rosdahl [Thu, 14 Jul 2011 17:57:33 +0000 (19:57 +0200)] 
config: Use cache_dir from conf struct

14 years agoconfig: First steps towards supporting config files
Joel Rosdahl [Tue, 12 Jul 2011 19:30:52 +0000 (21:30 +0200)] 
config: First steps towards supporting config files

14 years agoCorrectly free name in expand_variable
Joel Rosdahl [Tue, 12 Jul 2011 19:30:01 +0000 (21:30 +0200)] 
Correctly free name in expand_variable

14 years agoPrint "ccache: error: " instead of "ccache: FATAL: " for fatal ccache errors
Joel Rosdahl [Sat, 14 May 2011 20:52:28 +0000 (22:52 +0200)] 
Print "ccache: error: " instead of "ccache: FATAL: " for fatal ccache errors

14 years agoRename value_units to parse_size_with_suffix and handle errors
Joel Rosdahl [Mon, 25 Apr 2011 12:06:36 +0000 (14:06 +0200)] 
Rename value_units to parse_size_with_suffix and handle errors

14 years agoAdd subst_env_in_string function
Joel Rosdahl [Sun, 3 Apr 2011 19:51:10 +0000 (21:51 +0200)] 
Add subst_env_in_string function

14 years agoMerge branch 'maint'
Joel Rosdahl [Mon, 30 May 2011 19:33:23 +0000 (21:33 +0200)] 
Merge branch 'maint'

* maint:
  Rewrite argument to --sysroot if CCACHE_BASEDIR is used
  Fix stats display alignment for preprocessing

Conflicts:
test/test_argument_processing.c

14 years agoRewrite argument to --sysroot if CCACHE_BASEDIR is used
Joel Rosdahl [Wed, 27 Oct 2010 19:27:33 +0000 (20:27 +0100)] 
Rewrite argument to --sysroot if CCACHE_BASEDIR is used

Based on a patch by Bo <yebo9098@gmail.com>.

14 years agoFix stats display alignment for preprocessing
Jon Bernard [Mon, 30 May 2011 16:42:04 +0000 (12:42 -0400)] 
Fix stats display alignment for preprocessing

14 years agoMerge branch 'maint'
Joel Rosdahl [Sun, 29 May 2011 16:14:25 +0000 (18:14 +0200)] 
Merge branch 'maint'

* maint:
  Minor spelling tweak
  Prepare for v3.1.5

14 years agoMinor spelling tweak
Joel Rosdahl [Sun, 29 May 2011 16:14:08 +0000 (18:14 +0200)] 
Minor spelling tweak

14 years agoPrepare for v3.1.5 v3.1.5
Joel Rosdahl [Sun, 29 May 2011 15:45:28 +0000 (17:45 +0200)] 
Prepare for v3.1.5

14 years agoMerge branch 'maint'
Joel Rosdahl [Sat, 21 May 2011 18:10:41 +0000 (20:10 +0200)] 
Merge branch 'maint'

* maint:
  Only link with -lm if needed
  Move up "can't use precompiled header" stat so that cache size is at end

14 years agoOnly link with -lm if needed
Joel Rosdahl [Sat, 21 May 2011 18:09:44 +0000 (20:09 +0200)] 
Only link with -lm if needed

Some systems don't have libm.

14 years agoMove up "can't use precompiled header" stat so that cache size is at end
Joel Rosdahl [Sat, 21 May 2011 17:18:46 +0000 (19:18 +0200)] 
Move up "can't use precompiled header" stat so that cache size is at end

14 years agoMerge branch 'maint'
Joel Rosdahl [Wed, 4 May 2011 20:34:58 +0000 (22:34 +0200)] 
Merge branch 'maint'

* maint:
  Fix minor memory leak in get_cwd()

14 years agoFix minor memory leak in get_cwd()
Joel Rosdahl [Wed, 4 May 2011 20:34:12 +0000 (22:34 +0200)] 
Fix minor memory leak in get_cwd()

Found and suggested by Bo Rydberg.

14 years agoMerge branch 'maint'
Joel Rosdahl [Sun, 17 Apr 2011 20:25:28 +0000 (22:25 +0200)] 
Merge branch 'maint'

* maint:
  Support rewriting paths in -F/-iframework GCC options

14 years agoSupport rewriting paths in -F/-iframework GCC options
Grigory Entin [Sun, 17 Apr 2011 20:22:44 +0000 (22:22 +0200)] 
Support rewriting paths in -F/-iframework GCC options

14 years agoMerge branch 'maint'
Joel Rosdahl [Sun, 17 Apr 2011 16:48:37 +0000 (18:48 +0200)] 
Merge branch 'maint'

* maint:
  Be bug compatible with GCC for -MTarg and -MQarg
  Log original command line
  Correctly handle -MF/-MT/-MQ with concatenated argument last on commandline

Conflicts:
test/test_argument_processing.c

14 years agoBe bug compatible with GCC for -MTarg and -MQarg
Joel Rosdahl [Sun, 17 Apr 2011 15:55:14 +0000 (17:55 +0200)] 
Be bug compatible with GCC for -MTarg and -MQarg

It's strange, but apparently, GCC behaves differently for -MT arg and
-MTarg (and similar for -MQ): in the latter case, but not in the former,
an implicit dependency for the object file is added to the dependency file.

14 years agoLog original command line
Joel Rosdahl [Wed, 13 Apr 2011 20:21:54 +0000 (22:21 +0200)] 
Log original command line

14 years agoCorrectly handle -MF/-MT/-MQ with concatenated argument last on commandline
Joel Rosdahl [Wed, 13 Apr 2011 19:58:29 +0000 (21:58 +0200)] 
Correctly handle -MF/-MT/-MQ with concatenated argument last on commandline

14 years agoFix typo
Joel Rosdahl [Sat, 9 Apr 2011 19:48:45 +0000 (21:48 +0200)] 
Fix typo

14 years agoUpdate copyright for 2011
Joel Rosdahl [Sat, 9 Apr 2011 19:46:36 +0000 (21:46 +0200)] 
Update copyright for 2011

14 years agoMerge branch 'maint'
Joel Rosdahl [Sat, 9 Apr 2011 19:44:54 +0000 (21:44 +0200)] 
Merge branch 'maint'

* maint:
  Update copyright for 2011

14 years agoUpdate copyright for 2011
Joel Rosdahl [Sat, 9 Apr 2011 19:44:37 +0000 (21:44 +0200)] 
Update copyright for 2011

14 years agoPlug some memory leaks in the unit tests
Joel Rosdahl [Sun, 3 Apr 2011 20:04:08 +0000 (22:04 +0200)] 
Plug some memory leaks in the unit tests

14 years agoCheck and log failure after create_parent_dirs()
Joel Rosdahl [Sun, 3 Apr 2011 13:07:00 +0000 (15:07 +0200)] 
Check and log failure after create_parent_dirs()

14 years agoMerge branch 'maint'
Joel Rosdahl [Sun, 3 Apr 2011 12:58:48 +0000 (14:58 +0200)] 
Merge branch 'maint'

* maint:
  Add separate counter "called for preprocessing"
  Include strerror(errno) in error messages when system calls fail

Conflicts:
ccache.c

14 years agoAdd separate counter "called for preprocessing"
Joel Rosdahl [Sun, 3 Apr 2011 12:42:33 +0000 (14:42 +0200)] 
Add separate counter "called for preprocessing"

14 years agoInclude strerror(errno) in error messages when system calls fail
Joel Rosdahl [Sun, 3 Apr 2011 11:22:57 +0000 (13:22 +0200)] 
Include strerror(errno) in error messages when system calls fail

14 years agoUpdate util functions in ccache.h to match reality
Joel Rosdahl [Sun, 27 Mar 2011 21:03:25 +0000 (23:03 +0200)] 
Update util functions in ccache.h to match reality

14 years agoAdd missing void parameter for nullary function declarations
Joel Rosdahl [Wed, 23 Mar 2011 20:34:45 +0000 (21:34 +0100)] 
Add missing void parameter for nullary function declarations

14 years agoCorrect make_relative_path description
Joel Rosdahl [Sun, 13 Mar 2011 21:09:22 +0000 (22:09 +0100)] 
Correct make_relative_path description

14 years agoPlug some memory leaks
Joel Rosdahl [Thu, 3 Feb 2011 21:32:02 +0000 (22:32 +0100)] 
Plug some memory leaks

14 years agoDon't crash when CCACHE_PREFIX is " "
Joel Rosdahl [Thu, 3 Feb 2011 21:27:45 +0000 (22:27 +0100)] 
Don't crash when CCACHE_PREFIX is " "

14 years agoFix code style
Joel Rosdahl [Thu, 3 Feb 2011 21:14:50 +0000 (22:14 +0100)] 
Fix code style

14 years agoSupport several binaries in CCACHE_PREFIX
Mark Starovoytov [Wed, 2 Feb 2011 19:53:09 +0000 (20:53 +0100)] 
Support several binaries in CCACHE_PREFIX

14 years agoDon't pass -c to the preprocessor
Joel Rosdahl [Sun, 23 Jan 2011 16:07:15 +0000 (17:07 +0100)] 
Don't pass -c to the preprocessor

Solaris' C++ compiler doesn't like -c in combination with -E, and other
compilers seem to cope well without it as well.

14 years agoMerge branch 'maint'
Joel Rosdahl [Sun, 9 Jan 2011 19:58:06 +0000 (20:58 +0100)] 
Merge branch 'maint'

* maint:
  Prepare for version 3.1.4

14 years agoPrepare for version 3.1.4 v3.1.4
Joel Rosdahl [Sun, 9 Jan 2011 19:56:49 +0000 (20:56 +0100)] 
Prepare for version 3.1.4

14 years agoMerge branch 'maint'
Joel Rosdahl [Mon, 3 Jan 2011 21:53:12 +0000 (22:53 +0100)] 
Merge branch 'maint'

* maint:
  Cope with file systems (e.g. FAT) that don't handle symlinks
  Close file handle in create_cachedirtag on write error

Conflicts:
lockfile.c

14 years agoCope with file systems (e.g. FAT) that don't handle symlinks
Joel Rosdahl [Mon, 3 Jan 2011 20:41:36 +0000 (21:41 +0100)] 
Cope with file systems (e.g. FAT) that don't handle symlinks

14 years agoClose file handle in create_cachedirtag on write error
Joel Rosdahl [Sat, 18 Dec 2010 09:01:15 +0000 (10:01 +0100)] 
Close file handle in create_cachedirtag on write error

14 years agoMerge branch 'maint'
Joel Rosdahl [Tue, 14 Dec 2010 20:26:28 +0000 (21:26 +0100)] 
Merge branch 'maint'

* maint:
  Remove corrupt manifest files so that they won't block direct mode hits
  Avoid creating empty file before creating new manifest file
  Compensate for bug in gzputc in zlib 1.2.5

Conflicts:
manifest.c

14 years agoRemove corrupt manifest files so that they won't block direct mode hits
Joel Rosdahl [Tue, 14 Dec 2010 20:11:36 +0000 (21:11 +0100)] 
Remove corrupt manifest files so that they won't block direct mode hits

14 years agoAvoid creating empty file before creating new manifest file
Joel Rosdahl [Mon, 13 Dec 2010 19:46:06 +0000 (20:46 +0100)] 
Avoid creating empty file before creating new manifest file

14 years agoCompensate for bug in gzputc in zlib 1.2.5
Joel Rosdahl [Sun, 12 Dec 2010 14:18:06 +0000 (15:18 +0100)] 
Compensate for bug in gzputc in zlib 1.2.5

gzputc(f, -1) returns -1 (== EOF) in zlib 1.2.5 but should return 255.

14 years agoUpgrade to zlib 1.2.5
Joel Rosdahl [Sat, 11 Dec 2010 16:03:58 +0000 (17:03 +0100)] 
Upgrade to zlib 1.2.5

14 years agoReformat comments
Joel Rosdahl [Mon, 29 Nov 2010 19:45:24 +0000 (20:45 +0100)] 
Reformat comments

14 years agoImprove speed of temporal macro search
Justin Lebar [Mon, 29 Nov 2010 19:24:06 +0000 (20:24 +0100)] 
Improve speed of temporal macro search

14 years agoMerge branch 'maint'
Joel Rosdahl [Sun, 28 Nov 2010 16:50:59 +0000 (17:50 +0100)] 
Merge branch 'maint'

* maint:
  Prepare for version 3.1.3
  Handle -MFarg, -MTarg and -MQarg compiler options correctly

Conflicts:
test/test_argument_processing.c

14 years agoPrepare for version 3.1.3 v3.1.3
Joel Rosdahl [Sun, 28 Nov 2010 16:43:46 +0000 (17:43 +0100)] 
Prepare for version 3.1.3

14 years agoHandle -MFarg, -MTarg and -MQarg compiler options correctly
Joel Rosdahl [Sun, 28 Nov 2010 16:04:38 +0000 (17:04 +0100)] 
Handle -MFarg, -MTarg and -MQarg compiler options correctly

GCC apparently (and undocumentedly) accepts these.

14 years agoMerge branch 'maint'
Joel Rosdahl [Sun, 28 Nov 2010 14:23:12 +0000 (15:23 +0100)] 
Merge branch 'maint'

* maint:
  Correct location of rpl_* defines to outside "#if !HAVE_VSNPRINTF"

14 years agoCorrect location of rpl_* defines to outside "#if !HAVE_VSNPRINTF"
Joel Rosdahl [Sun, 28 Nov 2010 14:23:05 +0000 (15:23 +0100)] 
Correct location of rpl_* defines to outside "#if !HAVE_VSNPRINTF"

14 years agoMerge branch 'maint'
Joel Rosdahl [Mon, 22 Nov 2010 20:27:04 +0000 (21:27 +0100)] 
Merge branch 'maint'

* maint:
  portability: Disable support for long double in snprintf replacement
  portability: Handle system *sprintf functions with bad type signatures
  portability: Add Holger Weiß's improved snprintf replacement

14 years agoportability: Disable support for long double in snprintf replacement
Joel Rosdahl [Mon, 22 Nov 2010 20:09:30 +0000 (21:09 +0100)] 
portability: Disable support for long double in snprintf replacement

ccache doesn't link correctly on HP-UX 11.00 when support for long double
is enabled.

14 years agoportability: Handle system *sprintf functions with bad type signatures
Joel Rosdahl [Thu, 18 Nov 2010 17:22:06 +0000 (18:22 +0100)] 
portability: Handle system *sprintf functions with bad type signatures

14 years agoportability: Add Holger Weiß's improved snprintf replacement
Joel Rosdahl [Wed, 17 Nov 2010 20:20:24 +0000 (21:20 +0100)] 
portability: Add Holger Weiß's improved snprintf replacement

14 years agoMerge branch 'maint'
Joel Rosdahl [Sun, 21 Nov 2010 19:48:06 +0000 (20:48 +0100)] 
Merge branch 'maint'

* maint:
  Update NEWS for version 3.1.2

14 years agoUpdate NEWS for version 3.1.2 v3.1.2
Joel Rosdahl [Sun, 21 Nov 2010 19:16:55 +0000 (20:16 +0100)] 
Update NEWS for version 3.1.2

14 years agoMerge branch 'maint'
Joel Rosdahl [Sun, 21 Nov 2010 16:06:48 +0000 (17:06 +0100)] 
Merge branch 'maint'

* maint:
  test: New attempt at coping with unsynchronized clocks for new include file
  Add Björn Jacke as a contributor

14 years agotest: New attempt at coping with unsynchronized clocks for new include file
Joel Rosdahl [Sun, 21 Nov 2010 16:06:09 +0000 (17:06 +0100)] 
test: New attempt at coping with unsynchronized clocks for new include file

14 years agoportability: Support shells whose test(1) doesn't understand -e
Joel Rosdahl [Sun, 21 Nov 2010 15:38:22 +0000 (16:38 +0100)] 
portability: Support shells whose test(1) doesn't understand -e

14 years agoAdd Björn Jacke as a contributor
Joel Rosdahl [Sun, 21 Nov 2010 12:15:51 +0000 (13:15 +0100)] 
Add Björn Jacke as a contributor

14 years agoMerge branch 'maint'
Joel Rosdahl [Sun, 21 Nov 2010 10:43:33 +0000 (11:43 +0100)] 
Merge branch 'maint'

* maint:
  Bail out on too hard compiler options -fdump-*
  Put -E compiler option check in the compopts table
  portability: Support systems without /dev/zero