]> git.ipfire.org Git - thirdparty/ccache.git/log
thirdparty/ccache.git
14 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

14 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

14 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

14 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

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

14 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

14 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

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

14 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

14 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

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

14 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

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

14 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

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

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

14 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

14 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

14 years agoconfig: Adjust the default cache size limit to 5 Gbytes
Joel Rosdahl [Mon, 25 Jul 2011 21:56:31 +0000 (23:56 +0200)] 
config: Adjust the default cache size limit to 5 Gbytes

14 years agoLet k/M/G/T be 10-based suffixes and introduce 2-based Ki/Mi/Gi/Ti as well
Joel Rosdahl [Mon, 25 Jul 2011 21:48:23 +0000 (23:48 +0200)] 
Let k/M/G/T be 10-based suffixes and introduce 2-based Ki/Mi/Gi/Ti as well

14 years agoUse real size instead of multiples of 1024 for sizes
Joel Rosdahl [Mon, 25 Jul 2011 19:47:53 +0000 (21:47 +0200)] 
Use real size instead of multiples of 1024 for sizes

Exception: Size values in stats files are still in units of 1024 for
backward compatibility reasons.

14 years agotest: Fix code formatting
Joel Rosdahl [Sun, 24 Jul 2011 15:59:29 +0000 (17:59 +0200)] 
test: Fix code formatting

14 years agotest: Add CHECKM macro that accepts an error message
Joel Rosdahl [Sun, 24 Jul 2011 15:58:33 +0000 (17:58 +0200)] 
test: Add CHECKM macro that accepts an error message

14 years agotest: Use an int64_t variant of CHECK_INT_EQ for all integer types
Joel Rosdahl [Sun, 24 Jul 2011 12:13:15 +0000 (14:13 +0200)] 
test: Use an int64_t variant of CHECK_INT_EQ for all integer types

14 years agotest: Call correct function in CHECK_UNS_EQ
Joel Rosdahl [Sun, 24 Jul 2011 11:54:58 +0000 (13:54 +0200)] 
test: Call correct function in CHECK_UNS_EQ

14 years agoMake sure we only handle known -fprofile flags. Rewrite profile
Chris AtLee [Mon, 25 Jul 2011 12:38:01 +0000 (08:38 -0400)] 
Make sure we only handle known -fprofile flags. Rewrite profile
directory to use absolute paths on commandline to increase direct /
preprocessed hit rate.

14 years agoMove -fprofile handling into cc_process_args
Chris AtLee [Mon, 25 Jul 2011 12:10:44 +0000 (08:10 -0400)] 
Move -fprofile handling into cc_process_args

14 years agoLook for .gcda files in profile directory when using profile
Chris AtLee [Mon, 25 Jul 2011 11:18:38 +0000 (07:18 -0400)] 
Look for .gcda files in profile directory when using profile

Minor whitespace fixes; removing unused declaration

14 years agoFix profile_use directory, and valgrind warning
Chris AtLee [Sat, 23 Jul 2011 03:21:26 +0000 (23:21 -0400)] 
Fix profile_use directory, and valgrind warning

14 years agorefactor to handle profile directories
Chris AtLee [Sat, 23 Jul 2011 03:09:05 +0000 (23:09 -0400)] 
refactor to handle profile directories

14 years agoUse hash_delimeter before hashing profile data
Chris AtLee [Fri, 22 Jul 2011 18:56:31 +0000 (14:56 -0400)] 
Use hash_delimeter before hashing profile data

14 years agoAvoid output_obj being freed by accident
Chris AtLee [Fri, 22 Jul 2011 18:51:40 +0000 (14:51 -0400)] 
Avoid output_obj being freed by accident

14 years agoFix comment style
Chris AtLee [Fri, 22 Jul 2011 18:27:06 +0000 (14:27 -0400)] 
Fix comment style

14 years agoHash the cwd if we're outputting to our object file first
Chris AtLee [Thu, 21 Jul 2011 20:36:35 +0000 (16:36 -0400)] 
Hash the cwd if we're outputting to our object file first

14 years agoImprove error message in case of failed execv()
Joel Rosdahl [Tue, 19 Jul 2011 20:02:57 +0000 (22:02 +0200)] 
Improve error message in case of failed execv()

14 years agoconfig: Use files and size limits from config
Joel Rosdahl [Tue, 19 Jul 2011 17:42:13 +0000 (19:42 +0200)] 
config: Use files and size limits from config

14 years agoconfig: Save primary configuration file path till later
Joel Rosdahl [Tue, 19 Jul 2011 17:40:50 +0000 (19:40 +0200)] 
config: Save primary configuration file path till later

14 years agoconfig: Free output from parse_line correctly
Joel Rosdahl [Tue, 19 Jul 2011 17:37:21 +0000 (19:37 +0200)] 
config: Free output from parse_line correctly

14 years agoconfig: Implement conf_set_value_in_file()
Joel Rosdahl [Tue, 19 Jul 2011 10:44:20 +0000 (12:44 +0200)] 
config: Implement conf_set_value_in_file()

14 years agoconfig: Refactor parse_line to only return parsed key and value
Joel Rosdahl [Tue, 19 Jul 2011 10:21:57 +0000 (12:21 +0200)] 
config: Refactor parse_line to only return parsed key and value

14 years agoconfig: Create initial configuration file from stats limits
Joel Rosdahl [Mon, 18 Jul 2011 11:15:45 +0000 (13:15 +0200)] 
config: Create initial configuration file from stats limits

14 years agoTeach parse_size_with_suffix to parse float-style sizes
Joel Rosdahl [Mon, 18 Jul 2011 10:40:19 +0000 (12:40 +0200)] 
Teach parse_size_with_suffix to parse float-style sizes

14 years agoAdd utility function format_parsable_size_with_suffix
Joel Rosdahl [Mon, 18 Jul 2011 10:22:08 +0000 (12:22 +0200)] 
Add utility function format_parsable_size_with_suffix

14 years agoAdd test for format_human_readable_size
Joel Rosdahl [Mon, 18 Jul 2011 10:14:28 +0000 (12:14 +0200)] 
Add test for format_human_readable_size

14 years agoRename format_size to format_human_readable_size
Joel Rosdahl [Mon, 18 Jul 2011 10:09:23 +0000 (12:09 +0200)] 
Rename format_size to format_human_readable_size

14 years agoSet orig_args before find_compiler() because it's needed in failed()
Joel Rosdahl [Sun, 17 Jul 2011 21:12:14 +0000 (23:12 +0200)] 
Set orig_args before find_compiler() because it's needed in failed()

14 years agoconfig: Assert that conf has been created
Joel Rosdahl [Sun, 17 Jul 2011 10:07:33 +0000 (12:07 +0200)] 
config: Assert that conf has been created

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