]>
git.ipfire.org Git - thirdparty/ccache.git/log
Joel Rosdahl [Wed, 1 Aug 2012 12:34:28 +0000 (14:34 +0200)]
Require Windows Vista or later for win32 builds
Based on information from Patrick von Reth <patrick.vonreth@gmail.com>.
Patrick von Reth [Tue, 31 Jul 2012 12:58:02 +0000 (14:58 +0200)]
Implement x_realpath for Windows
Boie, Andrew P [Tue, 31 Jul 2012 00:50:33 +0000 (17:50 -0700)]
add support for '@' parameters
These indicate to the compiler that additional command line options
should be read from a text file. If encountered, read the file,
tokenize any arguments, and if any are found, do an in-place replacement
of the '@' parameter with the arguments within the file.
args_insert() added to insert a set of arguments into a position within
another set of arguments.
args_init_from_string() has been improved so that any character may be
included by prefixing that character with a backslash, and support for
quoted arguments which pass special characters within the quotation marks
unmodified.
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
Joel Rosdahl [Mon, 30 Jul 2012 20:24:26 +0000 (22:24 +0200)]
Merge branch 'maint'
* maint:
hash also Clang plugins
Lubos Lunak [Thu, 26 Jul 2012 12:45:16 +0000 (14:45 +0200)]
hash also Clang plugins
Joel Rosdahl [Sun, 29 Jul 2012 21:27:31 +0000 (23:27 +0200)]
Merge branch 'maint'
* maint:
Simplify generation of relative automatic dependency target
Minor code cleanup
Add test for rewriting of absolute dependency arguments
Make dependency arguments relative to increase cache hits
Correct doc string of make_relative_path
Conflicts:
ccache.c
Joel Rosdahl [Sun, 29 Jul 2012 21:11:10 +0000 (23:11 +0200)]
Simplify generation of relative automatic dependency target
Joel Rosdahl [Sun, 29 Jul 2012 21:01:29 +0000 (23:01 +0200)]
Minor code cleanup
Joel Rosdahl [Sun, 29 Jul 2012 20:53:20 +0000 (22:53 +0200)]
Add test for rewriting of absolute dependency arguments
Lalit Chhabra [Sun, 29 Jul 2012 20:52:51 +0000 (22:52 +0200)]
Make dependency arguments relative to increase cache hits
Joel Rosdahl [Sun, 29 Jul 2012 20:07:44 +0000 (22:07 +0200)]
Correct doc string of make_relative_path
Joel Rosdahl [Sat, 28 Jul 2012 15:17:58 +0000 (17:17 +0200)]
Ignore git's merge conflict files when finding unit tests
Joel Rosdahl [Sat, 28 Jul 2012 15:17:25 +0000 (17:17 +0200)]
Merge branch 'maint'
* maint:
Improve get_relative_path and add unit tests
Canonicalize paths when computing path relative to base directory
Conflicts:
test/test_util.c
util.c
Joel Rosdahl [Sat, 28 Jul 2012 09:50:06 +0000 (11:50 +0200)]
Improve get_relative_path and add unit tests
Joel Rosdahl [Fri, 27 Jul 2012 13:59:13 +0000 (15:59 +0200)]
Canonicalize paths when computing path relative to base directory
This fixes a bug when current working directory contains a "/./" part.
Based on a patch by Eric Blau.
Joel Rosdahl [Sat, 14 Jul 2012 20:07:32 +0000 (22:07 +0200)]
Remove redundant code
Joel Rosdahl [Sat, 14 Jul 2012 19:36:02 +0000 (21:36 +0200)]
Reduce scope of result variables
Joel Rosdahl [Fri, 13 Jul 2012 20:48:50 +0000 (22:48 +0200)]
Fix coding style
Luboš Luňák [Fri, 6 Jul 2012 16:46:25 +0000 (18:46 +0200)]
do not pass incorrect length to remember_include_file()
Luboš Luňák [Fri, 6 Jul 2012 16:45:05 +0000 (18:45 +0200)]
hash clang's .pch file explicitly
It does not appear anywhere in the preprocessed output, so
process_preprocessed_file() would miss it.
Luboš Luňák [Fri, 6 Jul 2012 16:09:36 +0000 (18:09 +0200)]
support for precompiled headers with clang
Support the clang-specific -include-pch option, which references
the PCH file itself, and support the .pch extension when using
the gcc -include way.
Joel Rosdahl [Tue, 3 Jul 2012 09:52:37 +0000 (11:52 +0200)]
Avoid overflowing counter when converting obsolete max size
Joel Rosdahl [Tue, 3 Jul 2012 09:44:55 +0000 (11:44 +0200)]
Avoid overflowing calculation of large max size counter
Joel Rosdahl [Fri, 1 Jun 2012 06:38:41 +0000 (08:38 +0200)]
Joel Rosdahl [Thu, 31 May 2012 21:02:39 +0000 (23:02 +0200)]
Merge branch 'maint'
* maint:
Correctly handle backslash in strings in hash_source_code_string
Clean up code formatting
Conflicts:
hashutil.c
Joel Rosdahl [Thu, 31 May 2012 20:38:49 +0000 (22:38 +0200)]
Correctly handle backslash in strings in hash_source_code_string
Joel Rosdahl [Thu, 31 May 2012 19:38:39 +0000 (21:38 +0200)]
Clean up code formatting
Justin Lebar [Sat, 26 May 2012 16:17:28 +0000 (12:17 -0400)]
Improve documentation for include_file_mtime
Joel Rosdahl [Sun, 13 May 2012 17:24:56 +0000 (19:24 +0200)]
Remove test of check removed in
05ce57e
Joel Rosdahl [Sun, 13 May 2012 16:46:39 +0000 (18:46 +0200)]
Avoid checking for too large values in parse_unsigned
It's not worth the portability hassle
Joel Rosdahl [Sun, 13 May 2012 15:41:03 +0000 (17:41 +0200)]
Use UINT_MAX instead of (unsigned)-1
Joel Rosdahl [Sun, 13 May 2012 15:35:06 +0000 (17:35 +0200)]
Plug minor memory leak
Joel Rosdahl [Sun, 13 May 2012 14:35:38 +0000 (16:35 +0200)]
Avoid reading bad memory when using the "ccache compiler" form
This regression was introduced in
469267b2be49d6acdca5058e3e744a508ce3da5d .
Joel Rosdahl [Tue, 17 Apr 2012 21:23:35 +0000 (23:23 +0200)]
portability: Don't compare signed and unsigned integers
Joel Rosdahl [Sat, 14 Apr 2012 07:11:50 +0000 (09:11 +0200)]
Fix grammar in comment
Joel Rosdahl [Mon, 9 Apr 2012 10:37:49 +0000 (12:37 +0200)]
test: Remove symlink to ccache to avoid installcheck error
Joel Rosdahl [Mon, 9 Apr 2012 10:36:32 +0000 (12:36 +0200)]
Fix build error for C89-only compilers
Joel Rosdahl [Sun, 8 Apr 2012 15:30:40 +0000 (17:30 +0200)]
test: Only run -fprofile-generate tests for compilers that support it
Joel Rosdahl [Sun, 8 Apr 2012 15:20:06 +0000 (17:20 +0200)]
config: Compare with NULL in parse_env_string to please IRIX's compiler
Chris AtLee [Fri, 30 Mar 2012 21:20:35 +0000 (17:20 -0400)]
fix build problems with incorrect pointer assignments
Joel Rosdahl [Wed, 7 Mar 2012 20:24:27 +0000 (21:24 +0100)]
Portability: Don't assume unsetenv has a non-void return type
Joel Rosdahl [Wed, 7 Mar 2012 20:21:43 +0000 (21:21 +0100)]
Merge branch 'maint'
* maint:
Don't crash when stderr is closed
Joel Rosdahl [Wed, 7 Mar 2012 20:10:59 +0000 (21:10 +0100)]
Don't crash when stderr is closed
Joel Rosdahl [Mon, 5 Mar 2012 21:31:04 +0000 (22:31 +0100)]
Portability fixes
Joel Rosdahl [Mon, 5 Mar 2012 21:26:00 +0000 (22:26 +0100)]
Introduce x_unsetenv for increased portability
Joel Rosdahl [Mon, 5 Mar 2012 21:10:57 +0000 (22:10 +0100)]
Make conf_read_valid_config work on systems that don't export $USER
Joel Rosdahl [Mon, 5 Mar 2012 20:36:53 +0000 (21:36 +0100)]
Fix indentation
Joel Rosdahl [Mon, 5 Mar 2012 20:34:32 +0000 (21:34 +0100)]
Fix leftovers of variable-based configuration
Joel Rosdahl [Mon, 5 Mar 2012 20:32:02 +0000 (21:32 +0100)]
Fix typo
Joel Rosdahl [Sun, 4 Mar 2012 16:30:58 +0000 (17:30 +0100)]
Minor documentation tweaks
Joel Rosdahl [Fri, 2 Mar 2012 22:01:27 +0000 (23:01 +0100)]
Make ccache compilable with clang
Joel Rosdahl [Wed, 22 Feb 2012 21:07:55 +0000 (22:07 +0100)]
Solaris build fixes
Joel Rosdahl [Wed, 22 Feb 2012 20:48:03 +0000 (21:48 +0100)]
Renamed CCACHE_CONFIG_PATH to CCACHE_CONFIGPATH for consistency
Joel Rosdahl [Mon, 20 Feb 2012 22:16:25 +0000 (23:16 +0100)]
Merge branch 'master' into config
* master:
Minor code style changes
Support adjusting the compression level through CCACHE_COMPRESS_LEVEL
Conflicts:
MANUAL.txt
ccache.c
Joel Rosdahl [Mon, 20 Feb 2012 21:49:32 +0000 (22:49 +0100)]
Minor code style changes
Hongli Lai (Phusion) [Sun, 19 Feb 2012 23:28:36 +0000 (00:28 +0100)]
Support adjusting the compression level through CCACHE_COMPRESS_LEVEL
Joel Rosdahl [Sun, 19 Feb 2012 19:22:39 +0000 (20:22 +0100)]
Merge branch 'master' into config
* master:
Add -c if missing when compiling a header file
Don't crash when current working directory doesn't exist
Conflicts:
ccache.c
Joel Rosdahl [Sun, 19 Feb 2012 19:19:52 +0000 (20:19 +0100)]
Merge branch 'maint'
* maint:
Add -c if missing when compiling a header file
Don't crash when current working directory doesn't exist
Joel Rosdahl [Sun, 19 Feb 2012 19:19:08 +0000 (20:19 +0100)]
Update manual with new configuration file format and information
Joel Rosdahl [Mon, 13 Feb 2012 19:12:44 +0000 (20:12 +0100)]
Add test for prefix_command
Joel Rosdahl [Mon, 13 Feb 2012 19:02:24 +0000 (20:02 +0100)]
Make format_human_readable_size saner for size < 1000
Joel Rosdahl [Mon, 13 Feb 2012 18:56:19 +0000 (19:56 +0100)]
Minor cleanup
Joel Rosdahl [Wed, 1 Feb 2012 21:12:29 +0000 (22:12 +0100)]
Add -c if missing when compiling a header file
This is to please g++ 4.1.
Joel Rosdahl [Mon, 16 Jan 2012 21:35:39 +0000 (22:35 +0100)]
Don't crash when current working directory doesn't exist
Joel Rosdahl [Sat, 14 Jan 2012 13:24:05 +0000 (14:24 +0100)]
Merge branch 'master' into config
* master:
Prepare for v3.1.7
Joel Rosdahl [Sun, 8 Jan 2012 14:42:49 +0000 (15:42 +0100)]
Merge branch 'maint'
* maint:
Prepare for v3.1.7
Joel Rosdahl [Sun, 8 Jan 2012 14:37:50 +0000 (15:37 +0100)]
Prepare for v3.1.7
Joel Rosdahl [Sun, 8 Jan 2012 14:29:19 +0000 (15:29 +0100)]
Use booleans for truth values
Joel Rosdahl [Sun, 8 Jan 2012 14:17:00 +0000 (15:17 +0100)]
Merge branch 'master' into config
* master:
while (1) -> while (true)
Fixup after merge: Make directory creation failure fatal
Update NEWS
Also recognize -specs=file in addition to --specs=file
Revert GCC bug compatibility for -MTarg and -MQarg
Fix minor memory leaks
Correct log message when unify mode is enabled
Hash environment variables that affect the preprocessor output
Hash mtime or content of GCC plugins specified with -fplugin=
Use hash_compiler for explicit --specs= options as well
Refactor code into a hash_compiler function
Improve description on how to fix bad object files in the cache
Make failure to create files in cache fatal
Make failure to create cache directories fatal
Remove unused print_executed_command function
Handle non-writable CCACHE_DIR gracefully
Conflicts:
manifest.c
test/framework.c
Joel Rosdahl [Sun, 8 Jan 2012 12:30:51 +0000 (13:30 +0100)]
while (1) -> while (true)
Joel Rosdahl [Sun, 8 Jan 2012 12:29:36 +0000 (13:29 +0100)]
Fixup after merge: Make directory creation failure fatal
Joel Rosdahl [Sun, 8 Jan 2012 12:28:27 +0000 (13:28 +0100)]
Merge branch 'maint'
* maint:
Update NEWS
Also recognize -specs=file in addition to --specs=file
Revert GCC bug compatibility for -MTarg and -MQarg
Fix minor memory leaks
Correct log message when unify mode is enabled
Hash environment variables that affect the preprocessor output
Hash mtime or content of GCC plugins specified with -fplugin=
Use hash_compiler for explicit --specs= options as well
Refactor code into a hash_compiler function
Improve description on how to fix bad object files in the cache
Make failure to create files in cache fatal
Make failure to create cache directories fatal
Remove unused print_executed_command function
Handle non-writable CCACHE_DIR gracefully
Conflicts:
ccache.c
test.sh
test/test_argument_processing.c
Joel Rosdahl [Sun, 8 Jan 2012 12:05:28 +0000 (13:05 +0100)]
Update NEWS
Joel Rosdahl [Sun, 8 Jan 2012 11:59:02 +0000 (12:59 +0100)]
Also recognize -specs=file in addition to --specs=file
Joel Rosdahl [Sun, 8 Jan 2012 09:40:17 +0000 (10:40 +0100)]
Revert GCC bug compatibility for -MTarg and -MQarg
The bug addressed by commit
8c3039d676d71564e98d50f1ca8ba029d1efa46c has
been fixed in a recent GCC version. Since ccache currently can't change
behavior depending on compiler version, we have to choose the least
troublesome behavior.
Joel Rosdahl [Sat, 7 Jan 2012 15:01:45 +0000 (16:01 +0100)]
Fix minor memory leaks
Joel Rosdahl [Fri, 6 Jan 2012 16:03:38 +0000 (17:03 +0100)]
Merge branch 'master' into config
* master:
Merge branch 'maint'
Sync mdfour.c license header with other files, notably fixing FSF's address.
Conflicts:
ccache.c
Joel Rosdahl [Fri, 6 Jan 2012 15:32:45 +0000 (16:32 +0100)]
Merge branch 'maint'
* maint:
Correct log message when unify mode is enabled
Hash environment variables that affect the preprocessor output
Hash mtime or content of GCC plugins specified with -fplugin=
Use hash_compiler for explicit --specs= options as well
Refactor code into a hash_compiler function
Improve description on how to fix bad object files in the cache
Make failure to create files in cache fatal
Make failure to create cache directories fatal
Remove unused print_executed_command function
Handle non-writable CCACHE_DIR gracefully
Conflicts:
ccache.c
test.sh
Joel Rosdahl [Fri, 6 Jan 2012 15:03:36 +0000 (16:03 +0100)]
Correct log message when unify mode is enabled
Joel Rosdahl [Fri, 6 Jan 2012 15:02:42 +0000 (16:02 +0100)]
Hash environment variables that affect the preprocessor output
Joel Rosdahl [Thu, 5 Jan 2012 14:58:50 +0000 (15:58 +0100)]
Hash mtime or content of GCC plugins specified with -fplugin=
Joel Rosdahl [Thu, 5 Jan 2012 14:49:26 +0000 (15:49 +0100)]
Use hash_compiler for explicit --specs= options as well
Joel Rosdahl [Thu, 5 Jan 2012 14:49:03 +0000 (15:49 +0100)]
Refactor code into a hash_compiler function
Joel Rosdahl [Tue, 20 Dec 2011 21:21:46 +0000 (22:21 +0100)]
Improve description on how to fix bad object files in the cache
Joel Rosdahl [Mon, 19 Dec 2011 19:59:53 +0000 (20:59 +0100)]
Make failure to create files in cache fatal
Previously, such failures were erroneously flagged as "compiler produced
stdout".
Joel Rosdahl [Mon, 19 Dec 2011 19:58:00 +0000 (20:58 +0100)]
Make failure to create cache directories fatal
Joel Rosdahl [Mon, 19 Sep 2011 20:00:45 +0000 (22:00 +0200)]
Don't remove *_lookup.c files when cleaning
Joel Rosdahl [Sun, 18 Sep 2011 19:22:17 +0000 (21:22 +0200)]
config: Remove detect_shebang since it's only used for tests
Joel Rosdahl [Sun, 18 Sep 2011 12:07:03 +0000 (14:07 +0200)]
config: Update help text with information about size suffixes
Joel Rosdahl [Sun, 18 Sep 2011 12:06:35 +0000 (14:06 +0200)]
config: Rename --set-option to --set-config
Joel Rosdahl [Sat, 17 Sep 2011 21:55:22 +0000 (23:55 +0200)]
Remove unused print_executed_command function
Joel Rosdahl [Sun, 11 Sep 2011 19:01:28 +0000 (21:01 +0200)]
Handle non-writable CCACHE_DIR gracefully
Joel Rosdahl [Sun, 4 Sep 2011 09:08:03 +0000 (11:08 +0200)]
Merge branch 'maint'
* maint:
Sync mdfour.c license header with other files, notably fixing FSF's address.
Ville Skyttä [Mon, 22 Aug 2011 20:40:03 +0000 (23:40 +0300)]
Sync mdfour.c license header with other files, notably fixing FSF's address.
Joel Rosdahl [Sun, 21 Aug 2011 14:47:27 +0000 (16:47 +0200)]
Merge branch 'master' into config
* master:
Tweak news markup
Prepare for v3.1.6
Joel Rosdahl [Sun, 21 Aug 2011 14:47:20 +0000 (16:47 +0200)]
Merge branch 'maint'
* maint:
Tweak news markup
Prepare for v3.1.6
Joel Rosdahl [Sun, 21 Aug 2011 14:42:11 +0000 (16:42 +0200)]
Tweak news markup
Joel Rosdahl [Sun, 21 Aug 2011 14:36:29 +0000 (16:36 +0200)]
Prepare for v3.1.6
Joel Rosdahl [Sat, 20 Aug 2011 17:02:36 +0000 (19:02 +0200)]
Merge branch 'master' into config
* master:
Support -Xclang compiler option.
Fix -fprofile-*=dir handling when dir doesn't exist
Bernhard Bauer [Tue, 16 Aug 2011 08:23:55 +0000 (10:23 +0200)]
Support -Xclang compiler option.