]> git.ipfire.org Git - thirdparty/ccache.git/log
thirdparty/ccache.git
15 years agoUse semicolon as the CCACHE_EXTRAFILES path separator on Windows
Joel Rosdahl [Fri, 16 Jul 2010 14:56:48 +0000 (16:56 +0200)] 
Use semicolon as the CCACHE_EXTRAFILES path separator on Windows

15 years agoAllow testsuite to run on Windows
Ramiro Polla [Thu, 15 Jul 2010 19:08:20 +0000 (16:08 -0300)] 
Allow testsuite to run on Windows

The equivalent to /dev/null on Windows is NUL. The basedir test suite doesn't
work since gcc on windows gives absolute paths for all files. The link test
suite doesn't work on MSYS since it does not support symlinks with ln -s.

15 years agoUse a temporary file for sed_in_place()
Ramiro Polla [Thu, 15 Jul 2010 18:49:44 +0000 (15:49 -0300)] 
Use a temporary file for sed_in_place()

15 years agoAdd a define for path delimiter
Ramiro Polla [Thu, 15 Jul 2010 18:48:10 +0000 (15:48 -0300)] 
Add a define for path delimiter

15 years agoClear exit_functions after the exit functions have been called
Ramiro Polla [Thu, 15 Jul 2010 18:38:23 +0000 (15:38 -0300)] 
Clear exit_functions after the exit functions have been called

While execve() does not run the functions registered with atexit() and they
must therefore be called explicitly prior to the call to execve(), the Windows
replacement function will end up running the atexit() hooks twice, and
clearing the pointer prevents the functions from actually running twice.

15 years agoImplement compare_executable_name() helper function
Ramiro Polla [Thu, 15 Jul 2010 18:18:34 +0000 (15:18 -0300)] 
Implement compare_executable_name() helper function

15 years agoImplement is_absolute_path() helper function
Ramiro Polla [Thu, 15 Jul 2010 18:05:22 +0000 (15:05 -0300)] 
Implement is_absolute_path() helper function

15 years agoClose manifest files after reading/writing them
Ramiro Polla [Thu, 15 Jul 2010 17:54:11 +0000 (14:54 -0300)] 
Close manifest files after reading/writing them

15 years agox_strdup() path in find_executable_in_path() instead of in find_executable()
Ramiro Polla [Thu, 15 Jul 2010 17:43:32 +0000 (14:43 -0300)] 
x_strdup() path in find_executable_in_path() instead of in find_executable()

find_executable_in_path() now only frees the memory it has allocated itself.

15 years agoClose file opened with gzdopen()
Ramiro Polla [Thu, 15 Jul 2010 17:39:45 +0000 (14:39 -0300)] 
Close file opened with gzdopen()

15 years agoIntroduce and use x_fmmap() and x_munmap()
Ramiro Polla [Thu, 15 Jul 2010 17:38:13 +0000 (14:38 -0300)] 
Introduce and use x_fmmap() and x_munmap()

x_fmmap() opens, stats, and mmap()s a file. x_munmap() is currently just a
wrapper around munmap().

15 years agoUnlink destination file before renames
Ramiro Polla [Thu, 15 Jul 2010 17:30:32 +0000 (14:30 -0300)] 
Unlink destination file before renames

Windows' rename() will not overwrite existing files.

15 years agoInclude getopt.h when getopt_long() is provided by the system
Ramiro Polla [Thu, 15 Jul 2010 17:30:00 +0000 (14:30 -0300)] 
Include getopt.h when getopt_long() is provided by the system

15 years agoRun stat() before open() on some files to allow bailing out earlier
Ramiro Polla [Thu, 15 Jul 2010 17:28:55 +0000 (14:28 -0300)] 
Run stat() before open() on some files to allow bailing out earlier

15 years agoMerge branch 'maint'
Joel Rosdahl [Thu, 15 Jul 2010 17:20:05 +0000 (19:20 +0200)] 
Merge branch 'maint'

* maint:
  Put dates in NEWS.txt on separate rows to get better HTML anchors
  Correctly determine ccache version when building in a separate directory
  Update NEWS for version 3.0.1

Conflicts:
configure.ac

15 years agoPut dates in NEWS.txt on separate rows to get better HTML anchors v3.0.1
Joel Rosdahl [Thu, 15 Jul 2010 15:49:35 +0000 (17:49 +0200)] 
Put dates in NEWS.txt on separate rows to get better HTML anchors

15 years agoCorrectly determine ccache version when building in a separate directory
Joel Rosdahl [Thu, 15 Jul 2010 15:32:11 +0000 (17:32 +0200)] 
Correctly determine ccache version when building in a separate directory

15 years agoUpdate NEWS for version 3.0.1
Joel Rosdahl [Thu, 15 Jul 2010 15:23:05 +0000 (17:23 +0200)] 
Update NEWS for version 3.0.1

15 years agoDisable developer mode on the build farm since it may use non-GNU make
Joel Rosdahl [Wed, 14 Jul 2010 20:16:55 +0000 (22:16 +0200)] 
Disable developer mode on the build farm since it may use non-GNU make

15 years agoClean up long-lived temporary files with an exit function
Joel Rosdahl [Wed, 14 Jul 2010 17:40:35 +0000 (19:40 +0200)] 
Clean up long-lived temporary files with an exit function

15 years agoMake stats_flush an exit function
Joel Rosdahl [Wed, 14 Jul 2010 17:00:06 +0000 (19:00 +0200)] 
Make stats_flush an exit function

15 years agoAdd exit functions functionality
Joel Rosdahl [Wed, 14 Jul 2010 16:13:23 +0000 (18:13 +0200)] 
Add exit functions functionality

15 years agoLet stats_update() update counters in memory and stats_flush() write to disk
Joel Rosdahl [Wed, 14 Jul 2010 13:57:57 +0000 (15:57 +0200)] 
Let stats_update() update counters in memory and stats_flush() write to disk

15 years agoCall fatal() instead of exit(1) where appropriate
Joel Rosdahl [Wed, 14 Jul 2010 13:55:08 +0000 (15:55 +0200)] 
Call fatal() instead of exit(1) where appropriate

15 years agoRename process_args to cc_process_args and let it return failure status
Joel Rosdahl [Wed, 14 Jul 2010 08:59:27 +0000 (10:59 +0200)] 
Rename process_args to cc_process_args and let it return failure status

15 years agoGet rid of configure-dev; dev mode is given by dev.mk.in presence
Joel Rosdahl [Wed, 14 Jul 2010 10:15:35 +0000 (12:15 +0200)] 
Get rid of configure-dev; dev mode is given by dev.mk.in presence

15 years agoRefactor process_args to take orig_args as struct ARGS
Joel Rosdahl [Tue, 13 Jul 2010 19:06:55 +0000 (21:06 +0200)] 
Refactor process_args to take orig_args as struct ARGS

15 years agoDon't overwrite a file that is currently opened
Ramiro Polla [Sun, 20 Jun 2010 21:01:14 +0000 (18:01 -0300)] 
Don't overwrite a file that is currently opened

First move it to a temporary location. Ideally this should only be done on
operating systems that don't allow this operation (ie: Windows).

15 years agoSplit find_executable_in_path() out of find_executable()
Ramiro Polla [Sun, 20 Jun 2010 21:02:26 +0000 (18:02 -0300)] 
Split find_executable_in_path() out of find_executable()

15 years agoCompile getopt_long() conditionally
Ramiro Polla [Sun, 20 Jun 2010 21:53:11 +0000 (18:53 -0300)] 
Compile getopt_long() conditionally

15 years ago#include sys/wait.h under proper ifdef.
Ramiro Polla [Sun, 20 Jun 2010 21:03:59 +0000 (18:03 -0300)] 
#include sys/wait.h under proper ifdef.

15 years agoOpen files in binary mode
Ramiro Polla [Sun, 20 Jun 2010 21:03:34 +0000 (18:03 -0300)] 
Open files in binary mode

15 years agoSimplify basename()
Ramiro Polla [Sun, 20 Jun 2010 21:02:50 +0000 (18:02 -0300)] 
Simplify basename()

15 years agoCorrectly update "called for link" when linking a single object file
Joel Rosdahl [Thu, 24 Jun 2010 18:59:34 +0000 (20:59 +0200)] 
Correctly update "called for link" when linking a single object file

This fixes bug #7529.

15 years agoEscape plus characters properly in manual.txt v3.0
Joel Rosdahl [Sun, 20 Jun 2010 18:13:23 +0000 (20:13 +0200)] 
Escape plus characters properly in manual.txt

15 years agoEscape plus characters properly in NEWS.txt
Joel Rosdahl [Sun, 20 Jun 2010 18:06:37 +0000 (20:06 +0200)] 
Escape plus characters properly in NEWS.txt

15 years agoPrepare for ccache 3.0
Joel Rosdahl [Sun, 20 Jun 2010 17:07:11 +0000 (19:07 +0200)] 
Prepare for ccache 3.0

15 years agoAdd an --xml option to perf.py
Joel Rosdahl [Sat, 19 Jun 2010 20:36:26 +0000 (22:36 +0200)] 
Add an --xml option to perf.py

15 years agoCheck CCACHE_DISABLED early
Joel Rosdahl [Sat, 19 Jun 2010 19:23:52 +0000 (21:23 +0200)] 
Check CCACHE_DISABLED early

15 years agoMinor clarification about the direct mode
Joel Rosdahl [Sat, 19 Jun 2010 17:18:56 +0000 (19:18 +0200)] 
Minor clarification about the direct mode

15 years agoReword author manual section
Joel Rosdahl [Sat, 19 Jun 2010 17:11:46 +0000 (19:11 +0200)] 
Reword author manual section

15 years agoBreak long line
Joel Rosdahl [Sat, 19 Jun 2010 17:09:37 +0000 (19:09 +0200)] 
Break long line

15 years agoInclude version number in generated documentation
Joel Rosdahl [Sat, 19 Jun 2010 16:59:11 +0000 (18:59 +0200)] 
Include version number in generated documentation

15 years agoUse a real asciidoc note
Joel Rosdahl [Sat, 19 Jun 2010 16:53:52 +0000 (18:53 +0200)] 
Use a real asciidoc note

15 years agoMake option value lists of possible values a bit nicer in the manual
Joel Rosdahl [Sat, 19 Jun 2010 16:53:31 +0000 (18:53 +0200)] 
Make option value lists of possible values a bit nicer in the manual

15 years agoDon't use uppercase titles in the manual
Joel Rosdahl [Sat, 19 Jun 2010 16:52:28 +0000 (18:52 +0200)] 
Don't use uppercase titles in the manual

15 years agoMove make rule for ccache.1 to dev.mk.in
Joel Rosdahl [Sat, 19 Jun 2010 16:51:14 +0000 (18:51 +0200)] 
Move make rule for ccache.1 to dev.mk.in

15 years agoAlso clean generated *.xml files
Joel Rosdahl [Sat, 19 Jun 2010 16:50:59 +0000 (18:50 +0200)] 
Also clean generated *.xml files

15 years agoRemove obsolete rules already moved to dev.mk.in
Joel Rosdahl [Sat, 19 Jun 2010 16:50:36 +0000 (18:50 +0200)] 
Remove obsolete rules already moved to dev.mk.in

15 years agoAdd recommendation to not use "ccache distcc compiler" as the compiler
Joel Rosdahl [Wed, 16 Jun 2010 19:11:33 +0000 (21:11 +0200)] 
Add recommendation to not use "ccache distcc compiler" as the compiler

15 years agoBail out on too hard compiler option -frepo
Joel Rosdahl [Wed, 16 Jun 2010 18:43:30 +0000 (20:43 +0200)] 
Bail out on too hard compiler option -frepo

15 years agoVarious minor improvements of the manual
Joel Rosdahl [Tue, 15 Jun 2010 20:32:24 +0000 (22:32 +0200)] 
Various minor improvements of the manual

15 years agoUpdate README
Joel Rosdahl [Tue, 15 Jun 2010 19:31:07 +0000 (21:31 +0200)] 
Update README

15 years agoFix typo in upgrade notes
Joel Rosdahl [Tue, 15 Jun 2010 19:22:00 +0000 (21:22 +0200)] 
Fix typo in upgrade notes

15 years agoDocument that Objective-C and Objective-C++ are supported
Joel Rosdahl [Tue, 15 Jun 2010 19:20:52 +0000 (21:20 +0200)] 
Document that Objective-C and Objective-C++ are supported

15 years agoRemove temporary debug logging again
Joel Rosdahl [Tue, 15 Jun 2010 18:51:27 +0000 (20:51 +0200)] 
Remove temporary debug logging again

15 years agoDebug: Print files before failing test
Joel Rosdahl [Tue, 15 Jun 2010 17:21:02 +0000 (19:21 +0200)] 
Debug: Print files before failing test

15 years agoTemporary debug logging of failing "autocleanup" test case on openSUSE 11.1
Joel Rosdahl [Tue, 15 Jun 2010 17:18:50 +0000 (19:18 +0200)] 
Temporary debug logging of failing "autocleanup" test case on openSUSE 11.1

15 years agoSupport running configure in non-dev-mode in a git-less dev environment
Joel Rosdahl [Tue, 15 Jun 2010 08:52:04 +0000 (10:52 +0200)] 
Support running configure in non-dev-mode in a git-less dev environment

15 years agoOnly create version.c in configure when dev mode is enabled
Joel Rosdahl [Tue, 15 Jun 2010 07:55:50 +0000 (09:55 +0200)] 
Only create version.c in configure when dev mode is enabled

15 years agoRefer to the correct array in in extension_for_language
Joel Rosdahl [Tue, 15 Jun 2010 07:54:33 +0000 (09:54 +0200)] 
Refer to the correct array in in extension_for_language

15 years agoPass -x with preprocessed language to real compiler if -x is given
Joel Rosdahl [Mon, 14 Jun 2010 21:33:58 +0000 (23:33 +0200)] 
Pass -x with preprocessed language to real compiler if -x is given

Workaround for a bug in Apple's patched distcc; see
<http://www.mail-archive.com/ccache@lists.samba.org/msg00460.html>.

15 years agoIntroduce p_language_for_language function
Joel Rosdahl [Mon, 14 Jun 2010 21:17:37 +0000 (23:17 +0200)] 
Introduce p_language_for_language function

15 years agoAdd test case for -x unknown
Joel Rosdahl [Mon, 14 Jun 2010 21:16:34 +0000 (23:16 +0200)] 
Add test case for -x unknown

15 years agoset logfile so -c messages show up
Wilson Snyder [Thu, 10 Jun 2010 19:21:55 +0000 (15:21 -0400)] 
set logfile so -c messages show up

15 years agoUpdate NEWS with news
Joel Rosdahl [Thu, 10 Jun 2010 11:19:41 +0000 (13:19 +0200)] 
Update NEWS with news

15 years agoUse traditional C comment syntax
Joel Rosdahl [Thu, 10 Jun 2010 09:28:19 +0000 (11:28 +0200)] 
Use traditional C comment syntax

15 years agoImprove formatting of git revision info
Joel Rosdahl [Thu, 10 Jun 2010 07:53:24 +0000 (09:53 +0200)] 
Improve formatting of git revision info

15 years agoAdd another reason for direct mode miss but preprocessor mode hit
Joel Rosdahl [Thu, 10 Jun 2010 06:44:18 +0000 (08:44 +0200)] 
Add another reason for direct mode miss but preprocessor mode hit

15 years agoHelp text tweak
Joel Rosdahl [Thu, 10 Jun 2010 06:30:31 +0000 (08:30 +0200)] 
Help text tweak

15 years agoHelp text tweak
Joel Rosdahl [Wed, 9 Jun 2010 19:33:47 +0000 (21:33 +0200)] 
Help text tweak

15 years agoImprove docs about -c/--cleanup
Joel Rosdahl [Wed, 9 Jun 2010 19:30:37 +0000 (21:30 +0200)] 
Improve docs about -c/--cleanup

15 years agoInclude git revision info in version number
Joel Rosdahl [Wed, 9 Jun 2010 19:10:03 +0000 (21:10 +0200)] 
Include git revision info in version number

15 years agoTeach cleanup code to calculate actual cache size and number of files again
Joel Rosdahl [Wed, 9 Jun 2010 18:03:20 +0000 (20:03 +0200)] 
Teach cleanup code to calculate actual cache size and number of files again

15 years agoMade "stderr-files" test more robust against different compiler behaviours
Joel Rosdahl [Wed, 9 Jun 2010 06:09:17 +0000 (08:09 +0200)] 
Made "stderr-files" test more robust against different compiler behaviours

15 years agoCount actual cache size and number of files again
Joel Rosdahl [Tue, 8 Jun 2010 21:12:24 +0000 (23:12 +0200)] 
Count actual cache size and number of files again

15 years agoUse CCACHE_COMPRESS to determine whether to compress the dependency file
Joel Rosdahl [Tue, 8 Jun 2010 21:01:04 +0000 (23:01 +0200)] 
Use CCACHE_COMPRESS to determine whether to compress the dependency file

15 years agoStore CCACHE_COMPRESS as a global configuration variable
Joel Rosdahl [Tue, 8 Jun 2010 20:59:42 +0000 (22:59 +0200)] 
Store CCACHE_COMPRESS as a global configuration variable

15 years agoImprove format_size() doc comment
Joel Rosdahl [Tue, 8 Jun 2010 20:54:17 +0000 (22:54 +0200)] 
Improve format_size() doc comment

15 years agoCheck CCACHE_DEBUG_HASH environment variable before enabling hash debugging
Joel Rosdahl [Tue, 8 Jun 2010 20:47:53 +0000 (22:47 +0200)] 
Check CCACHE_DEBUG_HASH environment variable before enabling hash debugging

15 years agoUpdate NEWS with news
Joel Rosdahl [Tue, 8 Jun 2010 19:25:13 +0000 (21:25 +0200)] 
Update NEWS with news

15 years agoDon't print stuff to stderr when exiting without error code
Joel Rosdahl [Tue, 8 Jun 2010 19:22:05 +0000 (21:22 +0200)] 
Don't print stuff to stderr when exiting without error code

15 years agoRemoved cache size counter checks that are too unstable on some file systems
Joel Rosdahl [Tue, 8 Jun 2010 05:43:59 +0000 (07:43 +0200)] 
Removed cache size counter checks that are too unstable on some file systems

15 years agoAdd cleanup test suite
Joel Rosdahl [Mon, 7 Jun 2010 21:26:26 +0000 (23:26 +0200)] 
Add cleanup test suite

15 years agoImprove clean up algorithm to avoid redundant unlinks
Joel Rosdahl [Mon, 7 Jun 2010 21:25:48 +0000 (23:25 +0200)] 
Improve clean up algorithm to avoid redundant unlinks

Also adds comment about the needed clean up order.

15 years agoClean up files with identical timestamps in ascending name order
Joel Rosdahl [Mon, 7 Jun 2010 21:24:30 +0000 (23:24 +0200)] 
Clean up files with identical timestamps in ascending name order

15 years agoDoc string correction
Joel Rosdahl [Mon, 7 Jun 2010 21:20:24 +0000 (23:20 +0200)] 
Doc string correction

15 years agoAdd log message when not considering a non-regular file as the input file
Joel Rosdahl [Mon, 7 Jun 2010 21:20:05 +0000 (23:20 +0200)] 
Add log message when not considering a non-regular file as the input file

15 years agoOnly look for .tmp. in basename in traverse_fn
Joel Rosdahl [Mon, 7 Jun 2010 21:19:22 +0000 (23:19 +0200)] 
Only look for .tmp. in basename in traverse_fn

15 years agoMinor cleanup
Joel Rosdahl [Sun, 6 Jun 2010 08:08:45 +0000 (10:08 +0200)] 
Minor cleanup

15 years agoAvoid logging "open error" when trying to copy output from failing compiler
Joel Rosdahl [Fri, 4 Jun 2010 16:26:55 +0000 (18:26 +0200)] 
Avoid logging "open error" when trying to copy output from failing compiler

15 years agoSupport the HP compiler's preprocessor format
Joel Rosdahl [Thu, 3 Jun 2010 21:12:44 +0000 (23:12 +0200)] 
Support the HP compiler's preprocessor format

15 years agoRemove CCACHE_VERBOSE feature again since executed commands now are logged
Joel Rosdahl [Thu, 3 Jun 2010 21:09:08 +0000 (23:09 +0200)] 
Remove CCACHE_VERBOSE feature again since executed commands now are logged

15 years agoRename "not a C/C++ file" counter to "unsupported source language"
Joel Rosdahl [Thu, 3 Jun 2010 20:07:39 +0000 (22:07 +0200)] 
Rename "not a C/C++ file" counter to "unsupported source language"

15 years agoUse x_strdup instead of strdup
Joel Rosdahl [Thu, 3 Jun 2010 19:56:59 +0000 (21:56 +0200)] 
Use x_strdup instead of strdup

15 years agoRemove comments with low s/n ratio
Joel Rosdahl [Thu, 3 Jun 2010 19:56:50 +0000 (21:56 +0200)] 
Remove comments with low s/n ratio

15 years agoRemove redundant check
Joel Rosdahl [Thu, 3 Jun 2010 19:53:33 +0000 (21:53 +0200)] 
Remove redundant check

cache_dir is already verified by the check_cache_dir() call in main().

15 years agoLog hostname and CWD before other logs
Joel Rosdahl [Thu, 3 Jun 2010 19:50:33 +0000 (21:50 +0200)] 
Log hostname and CWD before other logs

15 years agoAdd a crude hash calculation debugging facility
Joel Rosdahl [Thu, 3 Jun 2010 18:24:44 +0000 (20:24 +0200)] 
Add a crude hash calculation debugging facility

15 years agoImprove -x handling: handle the "-xfoo" form and don't hash -x options
Joel Rosdahl [Thu, 3 Jun 2010 17:55:45 +0000 (19:55 +0200)] 
Improve -x handling: handle the "-xfoo" form and don't hash -x options