]>
git.ipfire.org Git - thirdparty/ccache.git/log
Joel Rosdahl [Fri, 16 Jul 2010 14:56:48 +0000 (16:56 +0200)]
Use semicolon as the CCACHE_EXTRAFILES path separator 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.
Ramiro Polla [Thu, 15 Jul 2010 18:49:44 +0000 (15:49 -0300)]
Use a temporary file for sed_in_place()
Ramiro Polla [Thu, 15 Jul 2010 18:48:10 +0000 (15:48 -0300)]
Add a define for path delimiter
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.
Ramiro Polla [Thu, 15 Jul 2010 18:18:34 +0000 (15:18 -0300)]
Implement compare_executable_name() helper function
Ramiro Polla [Thu, 15 Jul 2010 18:05:22 +0000 (15:05 -0300)]
Implement is_absolute_path() helper function
Ramiro Polla [Thu, 15 Jul 2010 17:54:11 +0000 (14:54 -0300)]
Close manifest files after reading/writing them
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.
Ramiro Polla [Thu, 15 Jul 2010 17:39:45 +0000 (14:39 -0300)]
Close file opened with gzdopen()
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().
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.
Ramiro Polla [Thu, 15 Jul 2010 17:30:00 +0000 (14:30 -0300)]
Include getopt.h when getopt_long() is provided by the system
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
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
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
Joel Rosdahl [Thu, 15 Jul 2010 15:32:11 +0000 (17:32 +0200)]
Correctly determine ccache version when building in a separate directory
Joel Rosdahl [Thu, 15 Jul 2010 15:23:05 +0000 (17:23 +0200)]
Update NEWS for version 3.0.1
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
Joel Rosdahl [Wed, 14 Jul 2010 17:40:35 +0000 (19:40 +0200)]
Clean up long-lived temporary files with an exit function
Joel Rosdahl [Wed, 14 Jul 2010 17:00:06 +0000 (19:00 +0200)]
Make stats_flush an exit function
Joel Rosdahl [Wed, 14 Jul 2010 16:13:23 +0000 (18:13 +0200)]
Add exit functions functionality
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
Joel Rosdahl [Wed, 14 Jul 2010 13:55:08 +0000 (15:55 +0200)]
Call fatal() instead of exit(1) where appropriate
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
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
Joel Rosdahl [Tue, 13 Jul 2010 19:06:55 +0000 (21:06 +0200)]
Refactor process_args to take orig_args as struct ARGS
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).
Ramiro Polla [Sun, 20 Jun 2010 21:02:26 +0000 (18:02 -0300)]
Split find_executable_in_path() out of find_executable()
Ramiro Polla [Sun, 20 Jun 2010 21:53:11 +0000 (18:53 -0300)]
Compile getopt_long() conditionally
Ramiro Polla [Sun, 20 Jun 2010 21:03:59 +0000 (18:03 -0300)]
#include sys/wait.h under proper ifdef.
Ramiro Polla [Sun, 20 Jun 2010 21:03:34 +0000 (18:03 -0300)]
Open files in binary mode
Ramiro Polla [Sun, 20 Jun 2010 21:02:50 +0000 (18:02 -0300)]
Simplify basename()
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.
Joel Rosdahl [Sun, 20 Jun 2010 18:13:23 +0000 (20:13 +0200)]
Escape plus characters properly in manual.txt
Joel Rosdahl [Sun, 20 Jun 2010 18:06:37 +0000 (20:06 +0200)]
Escape plus characters properly in NEWS.txt
Joel Rosdahl [Sun, 20 Jun 2010 17:07:11 +0000 (19:07 +0200)]
Prepare for ccache 3.0
Joel Rosdahl [Sat, 19 Jun 2010 20:36:26 +0000 (22:36 +0200)]
Add an --xml option to perf.py
Joel Rosdahl [Sat, 19 Jun 2010 19:23:52 +0000 (21:23 +0200)]
Check CCACHE_DISABLED early
Joel Rosdahl [Sat, 19 Jun 2010 17:18:56 +0000 (19:18 +0200)]
Minor clarification about the direct mode
Joel Rosdahl [Sat, 19 Jun 2010 17:11:46 +0000 (19:11 +0200)]
Reword author manual section
Joel Rosdahl [Sat, 19 Jun 2010 17:09:37 +0000 (19:09 +0200)]
Break long line
Joel Rosdahl [Sat, 19 Jun 2010 16:59:11 +0000 (18:59 +0200)]
Include version number in generated documentation
Joel Rosdahl [Sat, 19 Jun 2010 16:53:52 +0000 (18:53 +0200)]
Use a real asciidoc note
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
Joel Rosdahl [Sat, 19 Jun 2010 16:52:28 +0000 (18:52 +0200)]
Don't use uppercase titles in the manual
Joel Rosdahl [Sat, 19 Jun 2010 16:51:14 +0000 (18:51 +0200)]
Move make rule for ccache.1 to dev.mk.in
Joel Rosdahl [Sat, 19 Jun 2010 16:50:59 +0000 (18:50 +0200)]
Also clean generated *.xml files
Joel Rosdahl [Sat, 19 Jun 2010 16:50:36 +0000 (18:50 +0200)]
Remove obsolete rules already moved to dev.mk.in
Joel Rosdahl [Wed, 16 Jun 2010 19:11:33 +0000 (21:11 +0200)]
Add recommendation to not use "ccache distcc compiler" as the compiler
Joel Rosdahl [Wed, 16 Jun 2010 18:43:30 +0000 (20:43 +0200)]
Bail out on too hard compiler option -frepo
Joel Rosdahl [Tue, 15 Jun 2010 20:32:24 +0000 (22:32 +0200)]
Various minor improvements of the manual
Joel Rosdahl [Tue, 15 Jun 2010 19:31:07 +0000 (21:31 +0200)]
Update README
Joel Rosdahl [Tue, 15 Jun 2010 19:22:00 +0000 (21:22 +0200)]
Fix typo in upgrade notes
Joel Rosdahl [Tue, 15 Jun 2010 19:20:52 +0000 (21:20 +0200)]
Document that Objective-C and Objective-C++ are supported
Joel Rosdahl [Tue, 15 Jun 2010 18:51:27 +0000 (20:51 +0200)]
Remove temporary debug logging again
Joel Rosdahl [Tue, 15 Jun 2010 17:21:02 +0000 (19:21 +0200)]
Debug: Print files before failing test
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
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
Joel Rosdahl [Tue, 15 Jun 2010 07:55:50 +0000 (09:55 +0200)]
Only create version.c in configure when dev mode is enabled
Joel Rosdahl [Tue, 15 Jun 2010 07:54:33 +0000 (09:54 +0200)]
Refer to the correct array in in extension_for_language
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>.
Joel Rosdahl [Mon, 14 Jun 2010 21:17:37 +0000 (23:17 +0200)]
Introduce p_language_for_language function
Joel Rosdahl [Mon, 14 Jun 2010 21:16:34 +0000 (23:16 +0200)]
Add test case for -x unknown
Wilson Snyder [Thu, 10 Jun 2010 19:21:55 +0000 (15:21 -0400)]
set logfile so -c messages show up
Joel Rosdahl [Thu, 10 Jun 2010 11:19:41 +0000 (13:19 +0200)]
Update NEWS with news
Joel Rosdahl [Thu, 10 Jun 2010 09:28:19 +0000 (11:28 +0200)]
Use traditional C comment syntax
Joel Rosdahl [Thu, 10 Jun 2010 07:53:24 +0000 (09:53 +0200)]
Improve formatting of git revision info
Joel Rosdahl [Thu, 10 Jun 2010 06:44:18 +0000 (08:44 +0200)]
Add another reason for direct mode miss but preprocessor mode hit
Joel Rosdahl [Thu, 10 Jun 2010 06:30:31 +0000 (08:30 +0200)]
Help text tweak
Joel Rosdahl [Wed, 9 Jun 2010 19:33:47 +0000 (21:33 +0200)]
Help text tweak
Joel Rosdahl [Wed, 9 Jun 2010 19:30:37 +0000 (21:30 +0200)]
Improve docs about -c/--cleanup
Joel Rosdahl [Wed, 9 Jun 2010 19:10:03 +0000 (21:10 +0200)]
Include git revision info in version number
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
Joel Rosdahl [Wed, 9 Jun 2010 06:09:17 +0000 (08:09 +0200)]
Made "stderr-files" test more robust against different compiler behaviours
Joel Rosdahl [Tue, 8 Jun 2010 21:12:24 +0000 (23:12 +0200)]
Count actual cache size and number of files again
Joel Rosdahl [Tue, 8 Jun 2010 21:01:04 +0000 (23:01 +0200)]
Use CCACHE_COMPRESS to determine whether to compress the dependency file
Joel Rosdahl [Tue, 8 Jun 2010 20:59:42 +0000 (22:59 +0200)]
Store CCACHE_COMPRESS as a global configuration variable
Joel Rosdahl [Tue, 8 Jun 2010 20:54:17 +0000 (22:54 +0200)]
Improve format_size() doc comment
Joel Rosdahl [Tue, 8 Jun 2010 20:47:53 +0000 (22:47 +0200)]
Check CCACHE_DEBUG_HASH environment variable before enabling hash debugging
Joel Rosdahl [Tue, 8 Jun 2010 19:25:13 +0000 (21:25 +0200)]
Update NEWS with news
Joel Rosdahl [Tue, 8 Jun 2010 19:22:05 +0000 (21:22 +0200)]
Don't print stuff to stderr when exiting without error code
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
Joel Rosdahl [Mon, 7 Jun 2010 21:26:26 +0000 (23:26 +0200)]
Add cleanup test suite
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.
Joel Rosdahl [Mon, 7 Jun 2010 21:24:30 +0000 (23:24 +0200)]
Clean up files with identical timestamps in ascending name order
Joel Rosdahl [Mon, 7 Jun 2010 21:20:24 +0000 (23:20 +0200)]
Doc string correction
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
Joel Rosdahl [Mon, 7 Jun 2010 21:19:22 +0000 (23:19 +0200)]
Only look for .tmp. in basename in traverse_fn
Joel Rosdahl [Sun, 6 Jun 2010 08:08:45 +0000 (10:08 +0200)]
Minor cleanup
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
Joel Rosdahl [Thu, 3 Jun 2010 21:12:44 +0000 (23:12 +0200)]
Support the HP compiler's preprocessor format
Joel Rosdahl [Thu, 3 Jun 2010 21:09:08 +0000 (23:09 +0200)]
Remove CCACHE_VERBOSE feature again since executed commands now are logged
Joel Rosdahl [Thu, 3 Jun 2010 20:07:39 +0000 (22:07 +0200)]
Rename "not a C/C++ file" counter to "unsupported source language"
Joel Rosdahl [Thu, 3 Jun 2010 19:56:59 +0000 (21:56 +0200)]
Use x_strdup instead of strdup
Joel Rosdahl [Thu, 3 Jun 2010 19:56:50 +0000 (21:56 +0200)]
Remove comments with low s/n ratio
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().
Joel Rosdahl [Thu, 3 Jun 2010 19:50:33 +0000 (21:50 +0200)]
Log hostname and CWD before other logs
Joel Rosdahl [Thu, 3 Jun 2010 18:24:44 +0000 (20:24 +0200)]
Add a crude hash calculation debugging facility
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