]> git.ipfire.org Git - thirdparty/ccache.git/log
thirdparty/ccache.git
16 years agoHandle -finput-charset correctly
Joel Rosdahl [Mon, 12 Apr 2010 21:23:38 +0000 (23:23 +0200)] 
Handle -finput-charset correctly

16 years agoDon't use unportable strnlen function
Joel Rosdahl [Mon, 5 Apr 2010 09:15:54 +0000 (11:15 +0200)] 
Don't use unportable strnlen function

16 years agoSort functions in configure.ac
Joel Rosdahl [Mon, 5 Apr 2010 08:38:06 +0000 (10:38 +0200)] 
Sort functions in configure.ac

16 years agoMerge branch 'master' of git://git.samba.org/ccache
Joel Rosdahl [Sun, 28 Mar 2010 15:47:21 +0000 (17:47 +0200)] 
Merge branch 'master' of git://git.samba.org/ccache

16 years agoMerge branch 'cleanup' of git://github.com/krajaratnam/ccache
Joel Rosdahl [Sun, 28 Mar 2010 15:46:11 +0000 (17:46 +0200)] 
Merge branch 'cleanup' of git://github.com/krajaratnam/ccache

16 years agoAdd CCACHE_VERBOSE option
Joel Rosdahl [Wed, 17 Mar 2010 21:20:15 +0000 (22:20 +0100)] 
Add CCACHE_VERBOSE option

This was suggested by William S Fulton, who implemented this feature in his
SWIG port of ccache.

16 years agouse strnlen() in the replacement for strndup()
Andrew Tridgell [Thu, 25 Mar 2010 00:26:13 +0000 (11:26 +1100)] 
use strnlen() in the replacement for strndup()

Using strlen() could lead to a segmentation fault with gcc on
OpenSolaris

16 years agoAdd a comment to indicate who's responsible for freeing the returned string
Kovarththanan Rajaratnam [Thu, 18 Mar 2010 12:04:01 +0000 (13:04 +0100)] 
Add a comment to indicate who's responsible for freeing the returned string

16 years agoReuse the newly added format_hash_as_string() instead
Kovarththanan Rajaratnam [Thu, 18 Mar 2010 12:02:04 +0000 (13:02 +0100)] 
Reuse the newly added format_hash_as_string() instead

16 years agoMake format_file_hash public by moving it to util.c (as format_hash_as_string)
Kovarththanan Rajaratnam [Thu, 18 Mar 2010 11:59:24 +0000 (12:59 +0100)] 
Make format_file_hash public by moving it to util.c (as format_hash_as_string)

16 years agoMark token array as const
Kovarththanan Rajaratnam [Thu, 18 Mar 2010 11:43:40 +0000 (12:43 +0100)] 
Mark token array as const

16 years agoDon't set static variable. It's unused in copy4()
Kovarththanan Rajaratnam [Thu, 18 Mar 2010 11:42:46 +0000 (12:42 +0100)] 
Don't set static variable. It's unused in copy4()

16 years agoLet the compiler zero initialiase all the members
Kovarththanan Rajaratnam [Thu, 18 Mar 2010 11:41:13 +0000 (12:41 +0100)] 
Let the compiler zero initialiase all the members

16 years agoSet umask early since ccache_main() may create files/directories
Joel Rosdahl [Wed, 10 Mar 2010 20:37:31 +0000 (21:37 +0100)] 
Set umask early since ccache_main() may create files/directories

16 years agoDon't compile preprocessed source code when using -g3
Joel Rosdahl [Thu, 4 Mar 2010 20:39:34 +0000 (21:39 +0100)] 
Don't compile preprocessed source code when using -g3

This fixes bug #7190.

16 years agoRefactor CCACHE_CPP2 logic into a variable
Joel Rosdahl [Thu, 4 Mar 2010 20:30:10 +0000 (21:30 +0100)] 
Refactor CCACHE_CPP2 logic into a variable

16 years agoFix caching of empty source files in direct mode
Joel Rosdahl [Thu, 4 Mar 2010 19:30:27 +0000 (20:30 +0100)] 
Fix caching of empty source files in direct mode

16 years agoRemove superfluous dependencies from test/perf targets
Joel Rosdahl [Wed, 3 Mar 2010 21:05:31 +0000 (22:05 +0100)] 
Remove superfluous dependencies from test/perf targets

16 years agoRemove unused CC variable from perf.sh command line
Joel Rosdahl [Wed, 3 Mar 2010 21:04:44 +0000 (22:04 +0100)] 
Remove unused CC variable from perf.sh command line

16 years agoMerge branch 'perf' of git://github.com/krajaratnam/ccache
Joel Rosdahl [Wed, 3 Mar 2010 21:00:27 +0000 (22:00 +0100)] 
Merge branch 'perf' of git://github.com/krajaratnam/ccache

* 'perf' of git://github.com/krajaratnam/ccache:
  Add perf target
  Mention perl/python in INSTALL

16 years agoDon't try to store file hash in manifest in read-only mode
Joel Rosdahl [Wed, 3 Mar 2010 20:59:12 +0000 (21:59 +0100)] 
Don't try to store file hash in manifest in read-only mode

16 years agoRemove forgotten debugging statement
Joel Rosdahl [Wed, 3 Mar 2010 19:47:39 +0000 (20:47 +0100)] 
Remove forgotten debugging statement

16 years agoAdd perf target
Kovarththanan Rajaratnam [Tue, 2 Mar 2010 06:04:36 +0000 (07:04 +0100)] 
Add perf target

16 years agoMention perl/python in INSTALL
Kovarththanan Rajaratnam [Tue, 2 Mar 2010 06:01:04 +0000 (07:01 +0100)] 
Mention perl/python in INSTALL

16 years agoUnset ccache version in ccache.spec
Joel Rosdahl [Mon, 1 Mar 2010 19:03:29 +0000 (20:03 +0100)] 
Unset ccache version in ccache.spec

16 years agoClean files in .deps instead of including them in the dist archive
Joel Rosdahl [Sun, 28 Feb 2010 20:54:39 +0000 (21:54 +0100)] 
Clean files in .deps instead of including them in the dist archive

16 years agoChange next version to 3.0pre1
Joel Rosdahl [Sun, 28 Feb 2010 20:54:21 +0000 (21:54 +0100)] 
Change next version to 3.0pre1

16 years agoPrepare for v3.0pre0 v3.0pre0
Joel Rosdahl [Sun, 28 Feb 2010 20:12:28 +0000 (21:12 +0100)] 
Prepare for v3.0pre0

16 years agoRemove .ii tests
Joel Rosdahl [Sun, 28 Feb 2010 19:43:35 +0000 (20:43 +0100)] 
Remove .ii tests

Removed .ii tests as some compilers (including newer versions of gcc) determine
which language to use based on .i/.ii extension, and C++ may not be installed.

16 years agoMake cleanup more robust by always deleting all siblings to the deleted file
Joel Rosdahl [Sun, 28 Feb 2010 18:07:40 +0000 (19:07 +0100)] 
Make cleanup more robust by always deleting all siblings to the deleted file

16 years agoAdd a get_extension utility function
Joel Rosdahl [Sun, 28 Feb 2010 17:23:07 +0000 (18:23 +0100)] 
Add a get_extension utility function

16 years agoAlways close(fd) as soon as file is mmap()'d.
Ramiro Polla [Sun, 28 Feb 2010 00:46:13 +0000 (21:46 -0300)] 
Always close(fd) as soon as file is mmap()'d.

16 years agoImprove NEWS
Joel Rosdahl [Sun, 28 Feb 2010 15:41:30 +0000 (16:41 +0100)] 
Improve NEWS

16 years agoRename str_basename() to basename()
Joel Rosdahl [Sun, 28 Feb 2010 15:30:08 +0000 (16:30 +0100)] 
Rename str_basename() to basename()

16 years agoImprove error message when failing to unlink a file to clean up
Joel Rosdahl [Sun, 28 Feb 2010 15:25:44 +0000 (16:25 +0100)] 
Improve error message when failing to unlink a file to clean up

16 years agoIntroduce remove_extension function and use it to calculate dependency filename
Joel Rosdahl [Sun, 28 Feb 2010 15:22:51 +0000 (16:22 +0100)] 
Introduce remove_extension function and use it to calculate dependency filename

16 years agoImprove description of get_home_directory()
Joel Rosdahl [Sun, 28 Feb 2010 13:53:30 +0000 (14:53 +0100)] 
Improve description of get_home_directory()

16 years agoMake format_file_hash() static
Kovarththanan Rajaratnam [Sun, 28 Feb 2010 08:42:08 +0000 (09:42 +0100)] 
Make format_file_hash() static

16 years agoRemove cc_log from get_home_directory()
Kovarththanan Rajaratnam [Sun, 28 Feb 2010 08:35:18 +0000 (09:35 +0100)] 
Remove cc_log from get_home_directory()

It's effectively a noop because 'cache_logfile' is NULL at this point of time, so we simply return immediately

16 years agoMark long_options[] as const
Kovarththanan Rajaratnam [Sun, 28 Feb 2010 08:23:00 +0000 (09:23 +0100)] 
Mark long_options[] as const

16 years agoReuse same variable for environment parsing
Kovarththanan Rajaratnam [Sun, 28 Feb 2010 08:21:39 +0000 (09:21 +0100)] 
Reuse same variable for environment parsing

16 years agoHoist CCACHE_NLEVELS into ccache()
Kovarththanan Rajaratnam [Sun, 28 Feb 2010 08:15:32 +0000 (09:15 +0100)] 
Hoist CCACHE_NLEVELS into ccache()

Parse environment variables upfront instead of burying them in helper functions

16 years agoAnother try at supporting systems without support for "extern inline"
Joel Rosdahl [Sun, 28 Feb 2010 13:27:45 +0000 (14:27 +0100)] 
Another try at supporting systems without support for "extern inline"

16 years agoMake fatal() exit like it should even if CCACHE_LOGFILE isn't set
Joel Rosdahl [Sun, 28 Feb 2010 13:14:06 +0000 (14:14 +0100)] 
Make fatal() exit like it should even if CCACHE_LOGFILE isn't set

16 years agoPortability: Define PWD if not defined
Joel Rosdahl [Sun, 28 Feb 2010 09:30:03 +0000 (10:30 +0100)] 
Portability: Define PWD if not defined

16 years agoPortability: Define explicit compilation rule to pick up CPPFLAGS on HP-UX
Joel Rosdahl [Sun, 28 Feb 2010 09:27:24 +0000 (10:27 +0100)] 
Portability: Define explicit compilation rule to pick up CPPFLAGS on HP-UX

16 years agoPortability: Check for "extern inline" support
Joel Rosdahl [Sun, 28 Feb 2010 09:17:43 +0000 (10:17 +0100)] 
Portability: Check for "extern inline" support

16 years agoPortability: Include headers to get O_CREAT and friends
Joel Rosdahl [Sat, 27 Feb 2010 23:23:27 +0000 (00:23 +0100)] 
Portability: Include headers to get O_CREAT and friends

16 years agoPortability: Use AC_C_INLINE to check for availability of the inline keyword
Joel Rosdahl [Sat, 27 Feb 2010 23:07:52 +0000 (00:07 +0100)] 
Portability: Use AC_C_INLINE to check for availability of the inline keyword

16 years agoPortability: Include headers to get O_RDONLY and friend
Joel Rosdahl [Sat, 27 Feb 2010 23:02:29 +0000 (00:02 +0100)] 
Portability: Include headers to get O_RDONLY and friend

16 years agoReformat NEWS
Joel Rosdahl [Sat, 27 Feb 2010 22:45:22 +0000 (23:45 +0100)] 
Reformat NEWS

16 years agoRemove unnecessary initialization of a static variable
Joel Rosdahl [Sat, 27 Feb 2010 22:37:19 +0000 (23:37 +0100)] 
Remove unnecessary initialization of a static variable

16 years agoPortability: Include sys/stat.h and fcntl.h to get O_RDONLY and friends
Joel Rosdahl [Sat, 27 Feb 2010 22:32:15 +0000 (23:32 +0100)] 
Portability: Include sys/stat.h and fcntl.h to get O_RDONLY and friends

16 years agoPortability: Let indexFor be a define instead of an inline function
Joel Rosdahl [Sat, 27 Feb 2010 22:27:48 +0000 (23:27 +0100)] 
Portability: Let indexFor be a define instead of an inline function

16 years agoRemove stray semicolon
Joel Rosdahl [Sat, 27 Feb 2010 22:21:52 +0000 (23:21 +0100)] 
Remove stray semicolon

16 years agoInclude sys/types.h in an attempt to please AIX
Joel Rosdahl [Sat, 27 Feb 2010 22:18:59 +0000 (23:18 +0100)] 
Include sys/types.h in an attempt to please AIX

16 years agoSimplify and correct calculation of default dependency file name
Joel Rosdahl [Sat, 27 Feb 2010 21:53:04 +0000 (22:53 +0100)] 
Simplify and correct calculation of default dependency file name

16 years agoRemove unnecessary NULL check
Joel Rosdahl [Sat, 27 Feb 2010 21:22:03 +0000 (22:22 +0100)] 
Remove unnecessary NULL check

16 years agoImprove display of max size display values
Joel Rosdahl [Sat, 27 Feb 2010 13:01:14 +0000 (14:01 +0100)] 
Improve display of max size display values

16 years agoTreat warnings as errors in developer mode
Joel Rosdahl [Sat, 27 Feb 2010 12:40:12 +0000 (13:40 +0100)] 
Treat warnings as errors in developer mode

16 years agoUse default cache size of 1 GiB
Joel Rosdahl [Sat, 27 Feb 2010 12:30:33 +0000 (13:30 +0100)] 
Use default cache size of 1 GiB

16 years agoMention that you may want to run "ccache --clean" after upgrading
Joel Rosdahl [Sat, 27 Feb 2010 12:24:08 +0000 (13:24 +0100)] 
Mention that you may want to run "ccache --clean" after upgrading

16 years agoMan page tweaks
Joel Rosdahl [Sat, 27 Feb 2010 12:23:54 +0000 (13:23 +0100)] 
Man page tweaks

16 years agoSort option descriptions in man page
Joel Rosdahl [Sat, 27 Feb 2010 11:35:01 +0000 (12:35 +0100)] 
Sort option descriptions in man page

16 years agoUpdate usage and options texts in man page
Joel Rosdahl [Sat, 27 Feb 2010 11:32:41 +0000 (12:32 +0100)] 
Update usage and options texts in man page

16 years agoBail out on too hard compiler option -save-temps
Joel Rosdahl [Sat, 27 Feb 2010 11:28:21 +0000 (12:28 +0100)] 
Bail out on too hard compiler option -save-temps

16 years agoSort unsupported compiler options
Joel Rosdahl [Sat, 27 Feb 2010 11:27:55 +0000 (12:27 +0100)] 
Sort unsupported compiler options

16 years agoRemove bug references from NEWS; they are not very interesting
Joel Rosdahl [Sat, 27 Feb 2010 11:21:10 +0000 (12:21 +0100)] 
Remove bug references from NEWS; they are not very interesting

16 years agoMinor improvements of test.sh
Joel Rosdahl [Sat, 27 Feb 2010 11:15:19 +0000 (12:15 +0100)] 
Minor improvements of test.sh

16 years agoImprove detection of program name being MYNAME
Joel Rosdahl [Sat, 27 Feb 2010 09:56:22 +0000 (10:56 +0100)] 
Improve detection of program name being MYNAME

16 years agoIntroduce string constants for usage and version texts
Joel Rosdahl [Sat, 27 Feb 2010 09:44:08 +0000 (10:44 +0100)] 
Introduce string constants for usage and version texts

16 years agoFix potential use of NULL cache_dir
Joel Rosdahl [Sat, 27 Feb 2010 09:06:55 +0000 (10:06 +0100)] 
Fix potential use of NULL cache_dir

16 years agoInclude stdarg.h to make Tru64 happy
Joel Rosdahl [Fri, 26 Feb 2010 21:34:56 +0000 (22:34 +0100)] 
Include stdarg.h to make Tru64 happy

16 years agoOnly clean non-dev stuff in Makefile's clean target
Joel Rosdahl [Fri, 26 Feb 2010 21:22:00 +0000 (22:22 +0100)] 
Only clean non-dev stuff in Makefile's clean target

16 years agoInclude some more system headers to make Solaris happy
Joel Rosdahl [Fri, 26 Feb 2010 21:15:26 +0000 (22:15 +0100)] 
Include some more system headers to make Solaris happy

16 years agoPortability: don't require GNU make
Joel Rosdahl [Fri, 26 Feb 2010 20:24:09 +0000 (21:24 +0100)] 
Portability: don't require GNU make

The part of Makefile.in that requires GNU make has been split into dev.mk.in,
and the configure script has learned a new --enable-dev option that makes
Makefile include dev.mk. The configure script doesn't check for GNU make
anymore. There is also a new configure-dev convenience script that runs
configure with --enable-dev.

16 years agoBundle (a subset of) zlib 1.2.3 for portability
Joel Rosdahl [Thu, 25 Feb 2010 22:27:58 +0000 (23:27 +0100)] 
Bundle (a subset of) zlib 1.2.3 for portability

The bundled zlib copy is only used when no suitable system zlib can be found.

16 years agoImprove log message
Joel Rosdahl [Thu, 25 Feb 2010 07:19:51 +0000 (08:19 +0100)] 
Improve log message

16 years agoPrefix log messages with PID
Joel Rosdahl [Wed, 24 Feb 2010 21:17:53 +0000 (22:17 +0100)] 
Prefix log messages with PID

16 years agoImprove log messages
Joel Rosdahl [Wed, 24 Feb 2010 19:55:06 +0000 (20:55 +0100)] 
Improve log messages

16 years agoLet cc_log and fatal add a newline character to the message
Joel Rosdahl [Wed, 24 Feb 2010 19:46:17 +0000 (20:46 +0100)] 
Let cc_log and fatal add a newline character to the message

16 years agoRemove test.sh's dependency on Perl
Joel Rosdahl [Tue, 23 Feb 2010 21:23:36 +0000 (22:23 +0100)] 
Remove test.sh's dependency on Perl

16 years agoMerge branch 'md4_cleanup' of git://github.com/krajaratnam/ccache
Joel Rosdahl [Tue, 23 Feb 2010 21:08:22 +0000 (22:08 +0100)] 
Merge branch 'md4_cleanup' of git://github.com/krajaratnam/ccache

* 'md4_cleanup' of git://github.com/krajaratnam/ccache:
  use size_t when we refer to memory sizes
  Remove unused 'void mdfour(unsigned char *out, const unsigned char *in, int n)'
  Remove incorrect assumption
  Remove disabled md4 test code

16 years agoMinor man page improvements
Joel Rosdahl [Mon, 22 Feb 2010 22:21:28 +0000 (23:21 +0100)] 
Minor man page improvements

16 years agouse size_t when we refer to memory sizes
Kovarththanan Rajaratnam [Mon, 22 Feb 2010 21:58:41 +0000 (22:58 +0100)] 
use size_t when we refer to memory sizes

16 years agoRemove unused 'void mdfour(unsigned char *out, const unsigned char *in, int n)'
Kovarththanan Rajaratnam [Mon, 22 Feb 2010 21:40:20 +0000 (22:40 +0100)] 
Remove unused 'void mdfour(unsigned char *out, const unsigned char *in, int n)'

16 years agoRemove incorrect assumption
Kovarththanan Rajaratnam [Mon, 22 Feb 2010 21:30:23 +0000 (22:30 +0100)] 
Remove incorrect assumption

This first revision of this file assummed that int = 32bits, but we now use <inttypes.h> and no longer have to make that (incorrect) assumption.

16 years agoRemove disabled md4 test code
Kovarththanan Rajaratnam [Mon, 22 Feb 2010 21:23:20 +0000 (22:23 +0100)] 
Remove disabled md4 test code

This piece of test code was dead and in addition we don't have any framework for testing it. Any test of this module should probably be done upstream instead (Samba)

16 years agoMerge CCACHE_HASH_COMPILER/CCACHE_NOHASH_SIZE_MTIME into CCACHE_COMPILERCHECK
Joel Rosdahl [Mon, 22 Feb 2010 21:40:50 +0000 (22:40 +0100)] 
Merge CCACHE_HASH_COMPILER/CCACHE_NOHASH_SIZE_MTIME into CCACHE_COMPILERCHECK

16 years agoAdd a hash_size field to the manifest on-disk format
Joel Rosdahl [Mon, 22 Feb 2010 20:45:53 +0000 (21:45 +0100)] 
Add a hash_size field to the manifest on-disk format

This is mainly done to facilitate introspection of manifest files in the future
if we add support for hash algorithms with other hash sizes than 16 bytes.

16 years agoAdd missing newlines to cc_logs
Joel Rosdahl [Mon, 22 Feb 2010 20:27:31 +0000 (21:27 +0100)] 
Add missing newlines to cc_logs

16 years agoINSTALL: the from repository instructions ends abruptly. Finish it properly
Kovarththanan Rajaratnam [Mon, 22 Feb 2010 19:02:20 +0000 (20:02 +0100)] 
INSTALL: the from repository instructions ends abruptly. Finish it properly

16 years agoINSTALL: add perl (for the testsuite)
Kovarththanan Rajaratnam [Mon, 22 Feb 2010 18:58:05 +0000 (19:58 +0100)] 
INSTALL: add perl (for the testsuite)

16 years agoINSTALL: add autoconf
Kovarththanan Rajaratnam [Mon, 22 Feb 2010 18:56:36 +0000 (19:56 +0100)] 
INSTALL: add autoconf

16 years agoMerge branch 'cleanup' of git://github.com/krajaratnam/ccache
Joel Rosdahl [Mon, 22 Feb 2010 07:39:24 +0000 (08:39 +0100)] 
Merge branch 'cleanup' of git://github.com/krajaratnam/ccache

* 'cleanup' of git://github.com/krajaratnam/ccache:
  ccache.c: mark extensions array as const
  cache.c: mark a few variables as static

16 years agoQuote statistics key in failed test output for readability
Joel Rosdahl [Mon, 22 Feb 2010 07:37:25 +0000 (08:37 +0100)] 
Quote statistics key in failed test output for readability

16 years agoHandle missing or empty object file from compiler properly
Joel Rosdahl [Mon, 22 Feb 2010 07:36:40 +0000 (08:36 +0100)] 
Handle missing or empty object file from compiler properly

16 years agoLog command-line prefix
Joel Rosdahl [Mon, 22 Feb 2010 07:34:56 +0000 (08:34 +0100)] 
Log command-line prefix

16 years agoAdd .o suffix to stored object files for consistency
Joel Rosdahl [Sun, 21 Feb 2010 20:14:51 +0000 (21:14 +0100)] 
Add .o suffix to stored object files for consistency

16 years agoImprove upgrading notes in NEWS
Joel Rosdahl [Sun, 21 Feb 2010 20:12:55 +0000 (21:12 +0100)] 
Improve upgrading notes in NEWS