]> git.ipfire.org Git - thirdparty/ccache.git/log
thirdparty/ccache.git
13 years agoAvoid checking for too large values in parse_unsigned
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

13 years agoUse UINT_MAX instead of (unsigned)-1
Joel Rosdahl [Sun, 13 May 2012 15:41:03 +0000 (17:41 +0200)] 
Use UINT_MAX instead of (unsigned)-1

13 years agoPlug minor memory leak
Joel Rosdahl [Sun, 13 May 2012 15:35:06 +0000 (17:35 +0200)] 
Plug minor memory leak

13 years agoAvoid reading bad memory when using the "ccache compiler" form
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.

13 years agoportability: Don't compare signed and unsigned integers
Joel Rosdahl [Tue, 17 Apr 2012 21:23:35 +0000 (23:23 +0200)] 
portability: Don't compare signed and unsigned integers

13 years agoFix grammar in comment
Joel Rosdahl [Sat, 14 Apr 2012 07:11:50 +0000 (09:11 +0200)] 
Fix grammar in comment

13 years agotest: Remove symlink to ccache to avoid installcheck error
Joel Rosdahl [Mon, 9 Apr 2012 10:37:49 +0000 (12:37 +0200)] 
test: Remove symlink to ccache to avoid installcheck error

13 years agoFix build error for C89-only compilers
Joel Rosdahl [Mon, 9 Apr 2012 10:36:32 +0000 (12:36 +0200)] 
Fix build error for C89-only compilers

13 years agotest: Only run -fprofile-generate tests for compilers that support it
Joel Rosdahl [Sun, 8 Apr 2012 15:30:40 +0000 (17:30 +0200)] 
test: Only run -fprofile-generate tests for compilers that support it

13 years agoconfig: Compare with NULL in parse_env_string to please IRIX's compiler
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

13 years agofix build problems with incorrect pointer assignments
Chris AtLee [Fri, 30 Mar 2012 21:20:35 +0000 (17:20 -0400)] 
fix build problems with incorrect pointer assignments

13 years agoPortability: Don't assume unsetenv has a non-void return type
Joel Rosdahl [Wed, 7 Mar 2012 20:24:27 +0000 (21:24 +0100)] 
Portability: Don't assume unsetenv has a non-void return type

13 years agoMerge branch 'maint'
Joel Rosdahl [Wed, 7 Mar 2012 20:21:43 +0000 (21:21 +0100)] 
Merge branch 'maint'

* maint:
  Don't crash when stderr is closed

13 years agoDon'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

13 years agoPortability fixes
Joel Rosdahl [Mon, 5 Mar 2012 21:31:04 +0000 (22:31 +0100)] 
Portability fixes

13 years agoIntroduce x_unsetenv for increased portability
Joel Rosdahl [Mon, 5 Mar 2012 21:26:00 +0000 (22:26 +0100)] 
Introduce x_unsetenv for increased portability

13 years agoMake conf_read_valid_config work on systems that don't export $USER
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

13 years agoFix indentation
Joel Rosdahl [Mon, 5 Mar 2012 20:36:53 +0000 (21:36 +0100)] 
Fix indentation

13 years agoFix leftovers of variable-based configuration
Joel Rosdahl [Mon, 5 Mar 2012 20:34:32 +0000 (21:34 +0100)] 
Fix leftovers of variable-based configuration

13 years agoFix typo
Joel Rosdahl [Mon, 5 Mar 2012 20:32:02 +0000 (21:32 +0100)] 
Fix typo

13 years agoMinor documentation tweaks
Joel Rosdahl [Sun, 4 Mar 2012 16:30:58 +0000 (17:30 +0100)] 
Minor documentation tweaks

13 years agoMake ccache compilable with clang
Joel Rosdahl [Fri, 2 Mar 2012 22:01:27 +0000 (23:01 +0100)] 
Make ccache compilable with clang

13 years agoSolaris build fixes
Joel Rosdahl [Wed, 22 Feb 2012 21:07:55 +0000 (22:07 +0100)] 
Solaris build fixes

13 years agoRenamed CCACHE_CONFIG_PATH to CCACHE_CONFIGPATH for consistency
Joel Rosdahl [Wed, 22 Feb 2012 20:48:03 +0000 (21:48 +0100)] 
Renamed CCACHE_CONFIG_PATH to CCACHE_CONFIGPATH for consistency

13 years agoMerge branch 'master' into config
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

13 years agoMinor code style changes
Joel Rosdahl [Mon, 20 Feb 2012 21:49:32 +0000 (22:49 +0100)] 
Minor code style changes

13 years agoSupport adjusting the compression level through CCACHE_COMPRESS_LEVEL
Hongli Lai (Phusion) [Sun, 19 Feb 2012 23:28:36 +0000 (00:28 +0100)] 
Support adjusting the compression level through CCACHE_COMPRESS_LEVEL

13 years agoMerge branch 'master' into config
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

13 years agoMerge branch 'maint'
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

13 years agoUpdate manual with new configuration file format and information
Joel Rosdahl [Sun, 19 Feb 2012 19:19:08 +0000 (20:19 +0100)] 
Update manual with new configuration file format and information

13 years agoAdd test for prefix_command
Joel Rosdahl [Mon, 13 Feb 2012 19:12:44 +0000 (20:12 +0100)] 
Add test for prefix_command

13 years agoMake format_human_readable_size saner for size < 1000
Joel Rosdahl [Mon, 13 Feb 2012 19:02:24 +0000 (20:02 +0100)] 
Make format_human_readable_size saner for size < 1000

13 years agoMinor cleanup
Joel Rosdahl [Mon, 13 Feb 2012 18:56:19 +0000 (19:56 +0100)] 
Minor cleanup

13 years agoAdd -c if missing when compiling a header file
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.

13 years agoDon't crash when current working directory doesn't exist
Joel Rosdahl [Mon, 16 Jan 2012 21:35:39 +0000 (22:35 +0100)] 
Don't crash when current working directory doesn't exist

13 years agoMerge branch 'master' into config
Joel Rosdahl [Sat, 14 Jan 2012 13:24:05 +0000 (14:24 +0100)] 
Merge branch 'master' into config

* master:
  Prepare for v3.1.7

13 years agoMerge branch 'maint'
Joel Rosdahl [Sun, 8 Jan 2012 14:42:49 +0000 (15:42 +0100)] 
Merge branch 'maint'

* maint:
  Prepare for v3.1.7

13 years agoPrepare for v3.1.7 v3.1.7
Joel Rosdahl [Sun, 8 Jan 2012 14:37:50 +0000 (15:37 +0100)] 
Prepare for v3.1.7

13 years agoUse booleans for truth values
Joel Rosdahl [Sun, 8 Jan 2012 14:29:19 +0000 (15:29 +0100)] 
Use booleans for truth values

13 years agoMerge branch 'master' into config
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

13 years agowhile (1) -> while (true)
Joel Rosdahl [Sun, 8 Jan 2012 12:30:51 +0000 (13:30 +0100)] 
while (1) -> while (true)

13 years agoFixup after merge: Make directory creation failure fatal
Joel Rosdahl [Sun, 8 Jan 2012 12:29:36 +0000 (13:29 +0100)] 
Fixup after merge: Make directory creation failure fatal

13 years agoMerge branch 'maint'
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

13 years agoUpdate NEWS
Joel Rosdahl [Sun, 8 Jan 2012 12:05:28 +0000 (13:05 +0100)] 
Update NEWS

13 years agoAlso recognize -specs=file in addition to --specs=file
Joel Rosdahl [Sun, 8 Jan 2012 11:59:02 +0000 (12:59 +0100)] 
Also recognize -specs=file in addition to --specs=file

13 years agoRevert GCC bug compatibility for -MTarg and -MQarg
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.

13 years agoFix minor memory leaks
Joel Rosdahl [Sat, 7 Jan 2012 15:01:45 +0000 (16:01 +0100)] 
Fix minor memory leaks

13 years agoMerge branch 'master' into config
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

13 years agoMerge branch 'maint'
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

13 years agoCorrect log message when unify mode is enabled
Joel Rosdahl [Fri, 6 Jan 2012 15:03:36 +0000 (16:03 +0100)] 
Correct log message when unify mode is enabled

13 years agoHash environment variables that affect the preprocessor output
Joel Rosdahl [Fri, 6 Jan 2012 15:02:42 +0000 (16:02 +0100)] 
Hash environment variables that affect the preprocessor output

13 years agoHash mtime or content of GCC plugins specified with -fplugin=
Joel Rosdahl [Thu, 5 Jan 2012 14:58:50 +0000 (15:58 +0100)] 
Hash mtime or content of GCC plugins specified with -fplugin=

13 years agoUse hash_compiler for explicit --specs= options as well
Joel Rosdahl [Thu, 5 Jan 2012 14:49:26 +0000 (15:49 +0100)] 
Use hash_compiler for explicit --specs= options as well

13 years agoRefactor code into a hash_compiler function
Joel Rosdahl [Thu, 5 Jan 2012 14:49:03 +0000 (15:49 +0100)] 
Refactor code into a hash_compiler function

13 years agoImprove description on how to fix bad object files in the cache
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

13 years agoMake failure to create files in cache fatal
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".

13 years agoMake failure to create cache directories fatal
Joel Rosdahl [Mon, 19 Dec 2011 19:58:00 +0000 (20:58 +0100)] 
Make failure to create cache directories fatal

13 years agoDon't remove *_lookup.c files when cleaning
Joel Rosdahl [Mon, 19 Sep 2011 20:00:45 +0000 (22:00 +0200)] 
Don't remove *_lookup.c files when cleaning

13 years agoconfig: Remove detect_shebang since it's only used for tests
Joel Rosdahl [Sun, 18 Sep 2011 19:22:17 +0000 (21:22 +0200)] 
config: Remove detect_shebang since it's only used for tests

13 years agoconfig: Update help text with information about size suffixes
Joel Rosdahl [Sun, 18 Sep 2011 12:07:03 +0000 (14:07 +0200)] 
config: Update help text with information about size suffixes

13 years agoconfig: Rename --set-option to --set-config
Joel Rosdahl [Sun, 18 Sep 2011 12:06:35 +0000 (14:06 +0200)] 
config: Rename --set-option to --set-config

13 years agoRemove unused print_executed_command function
Joel Rosdahl [Sat, 17 Sep 2011 21:55:22 +0000 (23:55 +0200)] 
Remove unused print_executed_command function

13 years agoHandle non-writable CCACHE_DIR gracefully
Joel Rosdahl [Sun, 11 Sep 2011 19:01:28 +0000 (21:01 +0200)] 
Handle non-writable CCACHE_DIR gracefully

13 years agoMerge branch 'maint'
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.

13 years agoSync 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.

13 years agoMerge branch 'master' into config
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

13 years agoMerge branch 'maint'
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

13 years agoTweak news markup
Joel Rosdahl [Sun, 21 Aug 2011 14:42:11 +0000 (16:42 +0200)] 
Tweak news markup

13 years agoPrepare for v3.1.6 v3.1.6
Joel Rosdahl [Sun, 21 Aug 2011 14:36:29 +0000 (16:36 +0200)] 
Prepare for v3.1.6

13 years agoMerge branch 'master' into config
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

13 years agoSupport -Xclang compiler option. 4/head
Bernhard Bauer [Tue, 16 Aug 2011 08:23:55 +0000 (10:23 +0200)] 
Support -Xclang compiler option.

13 years agoFix -fprofile-*=dir handling when dir doesn't exist
Joel Rosdahl [Mon, 15 Aug 2011 20:38:26 +0000 (22:38 +0200)] 
Fix -fprofile-*=dir handling when dir doesn't exist

13 years agoUse true/false for boolean values
Joel Rosdahl [Mon, 15 Aug 2011 19:34:00 +0000 (21:34 +0200)] 
Use true/false for boolean values

13 years agoFix code style
Joel Rosdahl [Mon, 15 Aug 2011 06:27:29 +0000 (08:27 +0200)] 
Fix code style

13 years agoMerge branch 'master' into config
Joel Rosdahl [Mon, 15 Aug 2011 06:26:36 +0000 (08:26 +0200)] 
Merge branch 'master' into config

* master: (22 commits)
  Add the newest contributors
  Fix potential free() of non-heap memory
  Plug minor memory leak
  Minor code-style cleanup
  Correct win32 ifndefs
  Don't crash when getcwd() fails
  rework profile directory handling
  set output_to_real_object default to false, we get errors handling hardlinks
  Using hardlinks if requested
  comment
  Make sure we only handle known -fprofile flags. Rewrite profile directory to use absolute paths on commandline to increase direct / preprocessed hit rate.
  Move -fprofile handling into cc_process_args
  Look for .gcda files in profile directory when using profile
  Fix profile_use directory, and valgrind warning
  refactor to handle profile directories
  Use hash_delimeter before hashing profile data
  Avoid output_obj being freed by accident
  Fix comment style
  Hash the cwd if we're outputting to our object file first
  handle -fprofile-use
  ...

Conflicts:
ccache.c
util.c

13 years agoAdd the newest contributors
Joel Rosdahl [Sun, 14 Aug 2011 17:51:51 +0000 (19:51 +0200)] 
Add the newest contributors

13 years agoFix potential free() of non-heap memory
Joel Rosdahl [Sun, 14 Aug 2011 17:35:24 +0000 (19:35 +0200)] 
Fix potential free() of non-heap memory

13 years agoPlug minor memory leak
Joel Rosdahl [Sun, 14 Aug 2011 17:34:44 +0000 (19:34 +0200)] 
Plug minor memory leak

13 years agoMinor code-style cleanup
Joel Rosdahl [Sun, 14 Aug 2011 17:31:27 +0000 (19:31 +0200)] 
Minor code-style cleanup

13 years agoMerge remote-tracking branch 'catlee/profile'
Joel Rosdahl [Sun, 14 Aug 2011 17:27:25 +0000 (19:27 +0200)] 
Merge remote-tracking branch 'catlee/profile'

* catlee/profile:
  rework profile directory handling
  set output_to_real_object default to false, we get errors handling hardlinks
  Using hardlinks if requested
  comment
  Make sure we only handle known -fprofile flags. Rewrite profile directory to use absolute paths on commandline to increase direct / preprocessed hit rate.
  Move -fprofile handling into cc_process_args
  Look for .gcda files in profile directory when using profile
  Fix profile_use directory, and valgrind warning
  refactor to handle profile directories
  Use hash_delimeter before hashing profile data
  Avoid output_obj being freed by accident
  Fix comment style
  Hash the cwd if we're outputting to our object file first
  handle -fprofile-use
  adding tests
  Get -fprofile-generate, -fprofile-arcs working

13 years agoCorrect win32 ifndefs
Joel Rosdahl [Sun, 14 Aug 2011 10:03:42 +0000 (12:03 +0200)] 
Correct win32 ifndefs

14 years agoMerge branch 'maint'
Joel Rosdahl [Wed, 3 Aug 2011 18:31:01 +0000 (20:31 +0200)] 
Merge branch 'maint'

* maint:
  Don't crash when getcwd() fails

14 years agoDon't crash when getcwd() fails
Joel Rosdahl [Wed, 3 Aug 2011 18:10:57 +0000 (20:10 +0200)] 
Don't crash when getcwd() fails

14 years agoMerge branch 'master' into config
Joel Rosdahl [Sun, 31 Jul 2011 21:01:27 +0000 (23:01 +0200)] 
Merge branch 'master' into config

* master:
  Add missing header to header list in dev.mk.in

Conflicts:
dev.mk.in

14 years agoAdd missing header to header list in dev.mk.in
Joel Rosdahl [Sun, 31 Jul 2011 20:52:17 +0000 (22:52 +0200)] 
Add missing header to header list in dev.mk.in

14 years agoAdd missing headers to dev.mk.in
Joel Rosdahl [Sun, 31 Jul 2011 20:28:26 +0000 (22:28 +0200)] 
Add missing headers to dev.mk.in

14 years agorework profile directory handling 2/head
Chris AtLee [Fri, 29 Jul 2011 21:20:54 +0000 (17:20 -0400)] 
rework profile directory handling

14 years agoset output_to_real_object default to false, we get errors handling
Chris AtLee [Fri, 29 Jul 2011 20:55:55 +0000 (16:55 -0400)] 
set output_to_real_object default to false, we get errors handling
hardlinks

14 years agoUsing hardlinks if requested
Chris AtLee [Fri, 29 Jul 2011 20:52:18 +0000 (16:52 -0400)] 
Using hardlinks if requested

14 years agocomment
Chris AtLee [Fri, 29 Jul 2011 20:46:45 +0000 (16:46 -0400)] 
comment

14 years agoDon't fetch current time for each logged configuration item
Joel Rosdahl [Fri, 29 Jul 2011 19:45:26 +0000 (21:45 +0200)] 
Don't fetch current time for each logged configuration item

14 years agoLog config to log file if enabled
Joel Rosdahl [Fri, 29 Jul 2011 19:29:43 +0000 (21:29 +0200)] 
Log config to log file if enabled

14 years agoAdd cc_log_without_flush
Joel Rosdahl [Fri, 29 Jul 2011 19:15:05 +0000 (21:15 +0200)] 
Add cc_log_without_flush

14 years agoconfig: Track and print configuration item origins
Joel Rosdahl [Fri, 29 Jul 2011 18:58:08 +0000 (20:58 +0200)] 
config: Track and print configuration item origins

14 years agoUse NULL instead of 0 for null pointer
Joel Rosdahl [Fri, 29 Jul 2011 15:39:53 +0000 (17:39 +0200)] 
Use NULL instead of 0 for null pointer

14 years agoconfig: Use code generated by gperf for looking up configuration items
Joel Rosdahl [Fri, 29 Jul 2011 14:01:48 +0000 (16:01 +0200)] 
config: Use code generated by gperf for looking up configuration items

14 years agoconfig: Add -p/--print-config option
Joel Rosdahl [Tue, 26 Jul 2011 20:10:31 +0000 (22:10 +0200)] 
config: Add -p/--print-config option

14 years agoconfig: Add conf_print_items function
Joel Rosdahl [Tue, 26 Jul 2011 20:10:17 +0000 (22:10 +0200)] 
config: Add conf_print_items function

14 years agoRename x_asprintf2 to reformat
Joel Rosdahl [Tue, 26 Jul 2011 19:53:18 +0000 (21:53 +0200)] 
Rename x_asprintf2 to reformat

14 years agoconfig: Add -o/--set-option command-line option
Joel Rosdahl [Tue, 26 Jul 2011 19:05:50 +0000 (21:05 +0200)] 
config: Add -o/--set-option command-line option