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

16 years agoCorrectly lock stats file for reading
Joel Rosdahl [Sun, 21 Feb 2010 20:01:02 +0000 (21:01 +0100)] 
Correctly lock stats file for reading

16 years agoAdd comments about the stats files
Joel Rosdahl [Sun, 21 Feb 2010 19:58:58 +0000 (20:58 +0100)] 
Add comments about the stats files

16 years agoCorrectly declare nullary functions
Joel Rosdahl [Sun, 21 Feb 2010 19:57:57 +0000 (20:57 +0100)] 
Correctly declare nullary functions

16 years agoClean up some constants
Joel Rosdahl [Sun, 21 Feb 2010 18:42:39 +0000 (19:42 +0100)] 
Clean up some constants

16 years agoccache.c: mark extensions array as const
Kovarththanan Rajaratnam [Sun, 21 Feb 2010 18:24:48 +0000 (19:24 +0100)] 
ccache.c: mark extensions array as const

16 years agocache.c: mark a few variables as static
Kovarththanan Rajaratnam [Sun, 21 Feb 2010 18:20:59 +0000 (19:20 +0100)] 
cache.c: mark a few variables as static

16 years agoRemove obsolete STATS_VERSION
Joel Rosdahl [Sun, 21 Feb 2010 18:30:05 +0000 (19:30 +0100)] 
Remove obsolete STATS_VERSION

16 years agoImprove naming of global variables
Joel Rosdahl [Sun, 21 Feb 2010 17:05:12 +0000 (18:05 +0100)] 
Improve naming of global variables

Now, the output_* variables contain paths to files to be created by the
compiler and the cached_* variables contain paths to files in the cache
directory.

16 years agoClarify hash_result() semantics
Joel Rosdahl [Sun, 21 Feb 2010 17:04:24 +0000 (18:04 +0100)] 
Clarify hash_result() semantics

16 years agoDon't remove the test directory upon test failure to ease troubleshooting
Joel Rosdahl [Sun, 21 Feb 2010 17:04:02 +0000 (18:04 +0100)] 
Don't remove the test directory upon test failure to ease troubleshooting

16 years agoForce new hash sums
Joel Rosdahl [Sun, 21 Feb 2010 09:03:42 +0000 (10:03 +0100)] 
Force new hash sums

All hash sums will from now on be different from those calculated by ccache
2.4, instead of only hash sums for compressed files. This makes hash sums for
compressed and uncompressed files equal again, which reopens for conversion
between compressed and uncompressed files, should the need arise.

16 years agoSort environment variables in the man page
Joel Rosdahl [Sat, 20 Feb 2010 23:22:30 +0000 (00:22 +0100)] 
Sort environment variables in the man page

16 years agoUpdate NEWS with info from the bug tracker
Joel Rosdahl [Sat, 20 Feb 2010 15:04:07 +0000 (16:04 +0100)] 
Update NEWS with info from the bug tracker

16 years agoBail out on profiling flags
Clemens Rabe [Sat, 20 Feb 2010 09:19:33 +0000 (10:19 +0100)] 
Bail out on profiling flags

GCCs options -fprofile-generate and -fprofile-use are used for profile guided
optimization. It depends on the ability to locate the profile data files
(.gcda) after running the executable with the training data. However, ccache
prevents the compiler from finding the correct profile data file. Therefore the
following patch disables the caching when one of the -fprofile-generate
-fprofile-use flags is found.

16 years agoClear out env so "make test" always works
Owen Mann [Sat, 20 Feb 2010 08:55:32 +0000 (09:55 +0100)] 
Clear out env so "make test" always works

Fix for bug #7161.

16 years agoExpand license notice in the --version text
Joel Rosdahl [Wed, 17 Feb 2010 21:47:50 +0000 (22:47 +0100)] 
Expand license notice in the --version text

16 years agoUse "perl -pi -e" instead of "sed -i" to increase portability
Joel Rosdahl [Wed, 17 Feb 2010 20:20:06 +0000 (21:20 +0100)] 
Use "perl -pi -e" instead of "sed -i" to increase portability

16 years agoUpdate copyright notices
Joel Rosdahl [Wed, 17 Feb 2010 20:01:34 +0000 (21:01 +0100)] 
Update copyright notices

16 years agoRemove standard includes from ccache.h
Joel Rosdahl [Wed, 17 Feb 2010 19:53:05 +0000 (20:53 +0100)] 
Remove standard includes from ccache.h

16 years agoMove utimes/utime into an update_mtime function
Joel Rosdahl [Wed, 17 Feb 2010 19:08:13 +0000 (20:08 +0100)] 
Move utimes/utime into an update_mtime function

16 years agoUse our own getopt_long
Joel Rosdahl [Wed, 17 Feb 2010 18:49:54 +0000 (19:49 +0100)] 
Use our own getopt_long

16 years agoMake getopt_long prettier and more standalone
Joel Rosdahl [Wed, 17 Feb 2010 18:44:48 +0000 (19:44 +0100)] 
Make getopt_long prettier and more standalone

16 years agoAdd getopt_long implementation borrowed from PostgreSQL
Joel Rosdahl [Wed, 17 Feb 2010 18:13:27 +0000 (19:13 +0100)] 
Add getopt_long implementation borrowed from PostgreSQL

16 years agoExtracted common dist archive build commands into a variable
Joel Rosdahl [Mon, 15 Feb 2010 21:59:05 +0000 (22:59 +0100)] 
Extracted common dist archive build commands into a variable

16 years agoSupport systems without strndup
Joel Rosdahl [Mon, 15 Feb 2010 20:54:16 +0000 (21:54 +0100)] 
Support systems without strndup

16 years agoMake configure hint about which make to run
Joel Rosdahl [Mon, 15 Feb 2010 20:34:45 +0000 (21:34 +0100)] 
Make configure hint about which make to run

16 years agoDon't treat missing ccache.1 as an error when installing
Joel Rosdahl [Mon, 15 Feb 2010 07:42:28 +0000 (08:42 +0100)] 
Don't treat missing ccache.1 as an error when installing

16 years agoSorted header and funcs lists in configure.ac
Joel Rosdahl [Sun, 14 Feb 2010 09:30:17 +0000 (10:30 +0100)] 
Sorted header and funcs lists in configure.ac

16 years agoRequire GNU make for now
Joel Rosdahl [Sun, 14 Feb 2010 09:25:49 +0000 (10:25 +0100)] 
Require GNU make for now

16 years agoRemove references to the web directory
Joel Rosdahl [Sun, 14 Feb 2010 09:20:59 +0000 (10:20 +0100)] 
Remove references to the web directory

16 years agoUse $(MAKE) to invoke submakes
Joel Rosdahl [Sun, 14 Feb 2010 09:19:00 +0000 (10:19 +0100)] 
Use $(MAKE) to invoke submakes

16 years agoClean up configure.ac
Joel Rosdahl [Sun, 14 Feb 2010 08:53:59 +0000 (09:53 +0100)] 
Clean up configure.ac

16 years agoRemove obsolete web directory
Joel Rosdahl [Fri, 12 Feb 2010 21:04:43 +0000 (22:04 +0100)] 
Remove obsolete web directory

16 years agoMerge remote branch 'origin/master'
Joel Rosdahl [Fri, 12 Feb 2010 21:04:18 +0000 (22:04 +0100)] 
Merge remote branch 'origin/master'

* origin/master:
  announce new maintainer and add git instructions

16 years agoRemove stderr file from the preprocessor when we get a preprocessed cache hit
Joel Rosdahl [Sat, 30 Jan 2010 14:38:25 +0000 (15:38 +0100)] 
Remove stderr file from the preprocessor when we get a preprocessed cache hit

16 years agoAdd some simple README and INSTALL files
Joel Rosdahl [Mon, 25 Jan 2010 21:51:15 +0000 (22:51 +0100)] 
Add some simple README and INSTALL files

16 years agoBump version to 3.0pre0
Joel Rosdahl [Wed, 20 Jan 2010 19:45:04 +0000 (20:45 +0100)] 
Bump version to 3.0pre0

16 years agoMade it possible to set MYNAME when compiling
Joel Rosdahl [Wed, 20 Jan 2010 18:29:59 +0000 (19:29 +0100)] 
Made it possible to set MYNAME when compiling

16 years agoannounce new maintainer and add git instructions
Andrew Tridgell [Wed, 27 Jan 2010 06:58:16 +0000 (17:58 +1100)] 
announce new maintainer and add git instructions

Joel Rosdahl is now the maintainer of ccache. Best wishes Joel!

16 years agoHandle empty arguments correctly
Joel Rosdahl [Sun, 17 Jan 2010 16:40:22 +0000 (17:40 +0100)] 
Handle empty arguments correctly

16 years agoFix typo
Joel Rosdahl [Thu, 7 Jan 2010 07:24:19 +0000 (08:24 +0100)] 
Fix typo

16 years agoImprove NEWS
Joel Rosdahl [Thu, 7 Jan 2010 07:24:04 +0000 (08:24 +0100)] 
Improve NEWS

16 years agoInclude NEWS in the dist archive
Joel Rosdahl [Wed, 6 Jan 2010 20:27:48 +0000 (21:27 +0100)] 
Include NEWS in the dist archive

16 years agoConsistently refer to options, not flags
Joel Rosdahl [Wed, 6 Jan 2010 14:38:01 +0000 (15:38 +0100)] 
Consistently refer to options, not flags

16 years agoDocument CCACHE_BASEDIR
Joel Rosdahl [Wed, 6 Jan 2010 14:37:18 +0000 (15:37 +0100)] 
Document CCACHE_BASEDIR

16 years agoSort environment variable documentation entries
Joel Rosdahl [Wed, 6 Jan 2010 14:31:28 +0000 (15:31 +0100)] 
Sort environment variable documentation entries