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

16 years agoTruncate the manifest if there are too many object entries
Joel Rosdahl [Wed, 6 Jan 2010 14:24:24 +0000 (15:24 +0100)] 
Truncate the manifest if there are too many object entries

Normally, there shouldn't be many object entries in the manifest since new
entries are added only if an include file has changed but not the source file,
and you typically change source files more often than header files. However,
it's certainly possible to imagine cases where the manifest will grow large
(for instance, a generated header file that changes for every build), and this
must be taken care of since processing an ever growing manifest eventually will
take too much time. A good way of solving this would be to maintain the object
entries in LRU order and discarding the old ones. An easy way is to throw away
all entries when there are too many. Let's do that for now.

16 years agoUse uint32_t magic/version constants
Joel Rosdahl [Wed, 6 Jan 2010 14:01:56 +0000 (15:01 +0100)] 
Use uint32_t magic/version constants

16 years agoCreate temporary manifest files in the directory they will end up in
Joel Rosdahl [Wed, 6 Jan 2010 13:53:29 +0000 (14:53 +0100)] 
Create temporary manifest files in the directory they will end up in

See also commit 106566bb638d112826fafa1661259258ac6ac1f7.

16 years agoClarify cache size limit options' semantics
Joel Rosdahl [Wed, 6 Jan 2010 13:39:39 +0000 (14:39 +0100)] 
Clarify cache size limit options' semantics

16 years agoBail out on @file_with_options argument
Joel Rosdahl [Wed, 6 Jan 2010 12:44:07 +0000 (13:44 +0100)] 
Bail out on @file_with_options argument

16 years agoImprove handling of -imacros, -iprefix and -i*prefix* compiler options
Joel Rosdahl [Wed, 6 Jan 2010 12:39:45 +0000 (13:39 +0100)] 
Improve handling of -imacros, -iprefix and -i*prefix* compiler options

16 years agoFix flymake-mode support again
Joel Rosdahl [Wed, 6 Jan 2010 11:26:58 +0000 (12:26 +0100)] 
Fix flymake-mode support again

16 years agoDocument direct mode
Joel Rosdahl [Tue, 5 Jan 2010 21:44:09 +0000 (22:44 +0100)] 
Document direct mode

16 years agoClarify new semantics of cache size settings
Joel Rosdahl [Tue, 5 Jan 2010 19:49:20 +0000 (20:49 +0100)] 
Clarify new semantics of cache size settings

16 years agoLet compressed files get different hash sums than uncompressed
Joel Rosdahl [Tue, 5 Jan 2010 19:43:18 +0000 (20:43 +0100)] 
Let compressed files get different hash sums than uncompressed

This is to avoid problems when older ccache versions (without compression
support) access the cache.

16 years agoCCACHE_NOCOMPRESS needs to be set in order to use hard links
Joel Rosdahl [Tue, 5 Jan 2010 19:19:24 +0000 (20:19 +0100)] 
CCACHE_NOCOMPRESS needs to be set in order to use hard links

16 years agoAdd .gitignore
Joel Rosdahl [Tue, 5 Jan 2010 17:57:47 +0000 (18:57 +0100)] 
Add .gitignore

16 years agoAdd compatibility notes
Joel Rosdahl [Mon, 4 Jan 2010 19:57:45 +0000 (20:57 +0100)] 
Add compatibility notes

16 years agoPut dependency files in a subdirectory
Joel Rosdahl [Thu, 31 Dec 2009 12:54:18 +0000 (13:54 +0100)] 
Put dependency files in a subdirectory

16 years agoAdd .PHONY target declarations
Joel Rosdahl [Tue, 29 Dec 2009 23:25:09 +0000 (00:25 +0100)] 
Add .PHONY target declarations

16 years agoAdd distcheck make target
Joel Rosdahl [Tue, 29 Dec 2009 23:20:01 +0000 (00:20 +0100)] 
Add distcheck make target

16 years agoMake build in separate build directory work again
Joel Rosdahl [Tue, 29 Dec 2009 22:24:37 +0000 (23:24 +0100)] 
Make build in separate build directory work again

16 years agoUnify comments when hashing source code to increase hit rate
Joel Rosdahl [Mon, 14 Dec 2009 21:31:28 +0000 (22:31 +0100)] 
Unify comments when hashing source code to increase hit rate

16 years agoUse standard uint32_t type instead of uint32
Joel Rosdahl [Sun, 13 Dec 2009 16:03:46 +0000 (17:03 +0100)] 
Use standard uint32_t type instead of uint32

16 years agoImprove handling of unnormalized CCACHE_BASEDIR path
Joel Rosdahl [Sun, 13 Dec 2009 15:23:16 +0000 (16:23 +0100)] 
Improve handling of unnormalized CCACHE_BASEDIR path

16 years agoRemove no longer functional manage-cache.sh
Joel Rosdahl [Sun, 13 Dec 2009 15:01:29 +0000 (16:01 +0100)] 
Remove no longer functional manage-cache.sh

16 years agoImprove error messages
Joel Rosdahl [Sun, 13 Dec 2009 14:59:42 +0000 (15:59 +0100)] 
Improve error messages

16 years agoImplement installcheck make target
Joel Rosdahl [Sun, 13 Dec 2009 14:11:17 +0000 (15:11 +0100)] 
Implement installcheck make target

16 years agoClean up Makefile and add dist target
Joel Rosdahl [Sun, 13 Dec 2009 13:40:33 +0000 (14:40 +0100)] 
Clean up Makefile and add dist target

16 years agoRemove generated files ccache.1 and web/ccache-man.html
Joel Rosdahl [Sun, 13 Dec 2009 13:35:08 +0000 (14:35 +0100)] 
Remove generated files ccache.1 and web/ccache-man.html

yodl2html (version 2.15.1) doesn't seem to handle conversion to HTML
(anymore?), so disable it for now.

16 years agoUse non-deprecated itemization in ccache.yo
Joel Rosdahl [Sun, 13 Dec 2009 13:30:52 +0000 (14:30 +0100)] 
Use non-deprecated itemization in ccache.yo

16 years agoReenable .ii tests
Joel Rosdahl [Sat, 12 Dec 2009 20:46:36 +0000 (21:46 +0100)] 
Reenable .ii tests

Hopefully, it's OK to require a working C++ installation to run the tests.

16 years agoAlso store preprocessor standard error output in .stderr file
Joel Rosdahl [Sat, 12 Dec 2009 20:43:46 +0000 (21:43 +0100)] 
Also store preprocessor standard error output in .stderr file

This is needed because we don't run the preprocessor at all in direct mode.

16 years agoDon't create empty stderr files in the cache
Joel Rosdahl [Sat, 12 Dec 2009 20:27:11 +0000 (21:27 +0100)] 
Don't create empty stderr files in the cache

16 years agoMake it possible to specify test suites to run on the command line
Joel Rosdahl [Thu, 10 Dec 2009 21:19:00 +0000 (22:19 +0100)] 
Make it possible to specify test suites to run on the command line

16 years agoUse x_asprintf() instead of asprintf() + fatal()
Joel Rosdahl [Thu, 10 Dec 2009 20:55:30 +0000 (21:55 +0100)] 
Use x_asprintf() instead of asprintf() + fatal()

16 years agoPut temporary files in a subdirectory of the cache directory
Joel Rosdahl [Thu, 10 Dec 2009 17:05:19 +0000 (18:05 +0100)] 
Put temporary files in a subdirectory of the cache directory

This is to avoid clobbering the cache directory root with left-over temporary
files.

16 years agoFix statistics and cache cleanup for files generated by direct mode
Joel Rosdahl [Wed, 9 Dec 2009 20:37:38 +0000 (21:37 +0100)] 
Fix statistics and cache cleanup for files generated by direct mode

The statistics counters "files in cache" and "cache size" now only include
object files. It's not worth the effort to keep track of the .manifest, .d and
.stderr files since the cache size is dominated by the object files, and it's
unlikely that anyone is bothered by du(1) having a different opinion (which
also was the case before anyway). Consequently, the "max file" and "max cache
size" settings now specify thresholds for object files count and size.

16 years agoHandle missing dependency file in cache correctly
Joel Rosdahl [Wed, 9 Dec 2009 19:08:06 +0000 (20:08 +0100)] 
Handle missing dependency file in cache correctly

16 years agoStore 32-bit unsigned integers in manifest and make manifest files compressed
Joel Rosdahl [Sun, 6 Dec 2009 15:53:36 +0000 (16:53 +0100)] 
Store 32-bit unsigned integers in manifest and make manifest files compressed

16 years agoImprove copy_file and move_file functions
Joel Rosdahl [Sun, 6 Dec 2009 15:14:45 +0000 (16:14 +0100)] 
Improve copy_file and move_file functions

16 years agoRequire zlib
Joel Rosdahl [Sun, 6 Dec 2009 14:39:50 +0000 (15:39 +0100)] 
Require zlib

16 years agoAvoid warning from autoconf by adding datarootdir assignment to Makefile.in
Joel Rosdahl [Sun, 6 Dec 2009 14:25:07 +0000 (15:25 +0100)] 
Avoid warning from autoconf by adding datarootdir assignment to Makefile.in

16 years agoCorrectly handle direct mode hit, missing object file and differing cpp hash
Joel Rosdahl [Sat, 5 Dec 2009 13:09:21 +0000 (14:09 +0100)] 
Correctly handle direct mode hit, missing object file and differing cpp hash

16 years agoRemove silly log message
Joel Rosdahl [Sat, 5 Dec 2009 10:56:01 +0000 (11:56 +0100)] 
Remove silly log message

16 years agoRewrite include directory option arguments into relative to get better hit rate
Joel Rosdahl [Sat, 5 Dec 2009 10:27:35 +0000 (11:27 +0100)] 
Rewrite include directory option arguments into relative to get better hit rate

A secondary effect is that paths in the standard error output produced by the
compiler will be normalized.

16 years agoRewrite dependency file path to relative as well
Joel Rosdahl [Sat, 5 Dec 2009 09:58:38 +0000 (10:58 +0100)] 
Rewrite dependency file path to relative as well

16 years agoAdd support for -Wp,-MD and -Wp,-MMD flags
Joel Rosdahl [Wed, 2 Dec 2009 18:56:17 +0000 (19:56 +0100)] 
Add support for -Wp,-MD and -Wp,-MMD flags

16 years agoPrint entry counts in dump-manifest
Joel Rosdahl [Wed, 2 Dec 2009 18:37:28 +0000 (19:37 +0100)] 
Print entry counts in dump-manifest

16 years agoRewrite absolute paths under CCACHE_BASEDIR to relative
Joel Rosdahl [Thu, 26 Nov 2009 22:36:19 +0000 (23:36 +0100)] 
Rewrite absolute paths under CCACHE_BASEDIR to relative

16 years agoDon't put duplicate object file entries in the manifest
Joel Rosdahl [Thu, 26 Nov 2009 19:53:29 +0000 (20:53 +0100)] 
Don't put duplicate object file entries in the manifest

16 years agoLet direct mode create dependency file too
Joel Rosdahl [Sun, 22 Nov 2009 20:13:32 +0000 (21:13 +0100)] 
Let direct mode create dependency file too

16 years agoImprove logging
Joel Rosdahl [Sat, 21 Nov 2009 10:30:45 +0000 (11:30 +0100)] 
Improve logging

16 years agoFix bad memory access spotted by Valgrind
Joel Rosdahl [Sat, 21 Nov 2009 09:34:04 +0000 (10:34 +0100)] 
Fix bad memory access spotted by Valgrind

16 years agoSimple performance benchmark script
Joel Rosdahl [Sat, 14 Nov 2009 17:26:44 +0000 (18:26 +0100)] 
Simple performance benchmark script

16 years agoFirst working version of the direct mode
Joel Rosdahl [Sat, 14 Nov 2009 15:14:55 +0000 (16:14 +0100)] 
First working version of the direct mode

16 years agoLog fatal messages both to stderr and log file
Joel Rosdahl [Thu, 12 Nov 2009 18:58:09 +0000 (19:58 +0100)] 
Log fatal messages both to stderr and log file

16 years agoAdd support for dynamic dependencies on header files
Joel Rosdahl [Sun, 8 Nov 2009 19:39:41 +0000 (20:39 +0100)] 
Add support for dynamic dependencies on header files

16 years agoLet hash_* functions take a hash context so that they are reusable
Joel Rosdahl [Sun, 8 Nov 2009 19:13:27 +0000 (20:13 +0100)] 
Let hash_* functions take a hash context so that they are reusable

16 years agoExport variables in test.sh to make tests work properly
Joel Rosdahl [Sun, 8 Nov 2009 09:30:41 +0000 (10:30 +0100)] 
Export variables in test.sh to make tests work properly

16 years agoFix tab usage
Joel Rosdahl [Sat, 7 Nov 2009 08:12:20 +0000 (09:12 +0100)] 
Fix tab usage

16 years agoRemove trailing whitespace
Joel Rosdahl [Sat, 7 Nov 2009 08:09:39 +0000 (09:09 +0100)] 
Remove trailing whitespace

16 years agoResync ccache.yo with ccache.1
Joel Rosdahl [Thu, 5 Nov 2009 22:20:48 +0000 (23:20 +0100)] 
Resync ccache.yo with ccache.1

16 years agoRename configure.in to configure.ac
Joel Rosdahl [Tue, 3 Nov 2009 21:57:52 +0000 (22:57 +0100)] 
Rename configure.in to configure.ac

16 years agoRemove generated files configure and config.h.in
Joel Rosdahl [Tue, 3 Nov 2009 21:57:24 +0000 (22:57 +0100)] 
Remove generated files configure and config.h.in

16 years agoDon't hash CCACHE_PREFIX
Joel Rosdahl [Mon, 2 Nov 2009 18:01:12 +0000 (19:01 +0100)] 
Don't hash CCACHE_PREFIX

16 years agoFix indentation
Joel Rosdahl [Mon, 2 Nov 2009 17:52:30 +0000 (18:52 +0100)] 
Fix indentation

16 years agoAdd __attribute__ format declarations
Joel Rosdahl [Mon, 2 Nov 2009 17:11:35 +0000 (18:11 +0100)] 
Add __attribute__ format declarations

16 years agoAdd support for Emacs flymake-mode
Joel Rosdahl [Sun, 1 Nov 2009 18:49:59 +0000 (19:49 +0100)] 
Add support for Emacs flymake-mode

16 years agoBail out on --coverage and -fprofile-arcs
Joel Rosdahl [Sun, 1 Nov 2009 18:46:41 +0000 (19:46 +0100)] 
Bail out on --coverage and -fprofile-arcs

16 years agoAdd AC_DEFINE of ENABLE_ZLIB to avoid autoconf warning
Joel Rosdahl [Sun, 1 Nov 2009 18:45:05 +0000 (19:45 +0100)] 
Add AC_DEFINE of ENABLE_ZLIB to avoid autoconf warning

16 years agoStop on error in autogen.sh
Joel Rosdahl [Sun, 1 Nov 2009 18:44:19 +0000 (19:44 +0100)] 
Stop on error in autogen.sh

16 years agoRemove .cvsignore
Joel Rosdahl [Sun, 1 Nov 2009 18:44:01 +0000 (19:44 +0100)] 
Remove .cvsignore

16 years agoUpdate NEWS
Joel Rosdahl [Sun, 1 Nov 2009 19:17:39 +0000 (20:17 +0100)] 
Update NEWS

16 years agoFix GCC 4.3 warnings
William S Fulton [Sun, 1 Nov 2009 18:39:58 +0000 (19:39 +0100)] 
Fix GCC 4.3 warnings

See <http://bugs.debian.org/508046>.

16 years agoCorrect documentation about hard links
Ville Skytta [Sun, 1 Nov 2009 18:39:58 +0000 (19:39 +0100)] 
Correct documentation about hard links

See <http://www.redhat.com/archives/fedora-extras-commits/2007-July/msg05016.html>.

16 years agoDetect and report permission failure for "ccache -F/-M"
Francois Marier [Sun, 1 Nov 2009 18:39:58 +0000 (19:39 +0100)] 
Detect and report permission failure for "ccache -F/-M"

Debian patch 12_cachesize_permissions.diff. See
<http://bugs.debian.org/332527>.