Commit Graph

702 Commits

Author SHA1 Message Date
Joel Rosdahl
0fa05736bb Improve CHECK_{STR,UNS,INT}_EQ macros 2010-07-16 14:37:48 +02:00
Joel Rosdahl
032636e5a3 Let basedir("foo") return "." 2010-07-16 01:34:27 +02:00
Joel Rosdahl
bbdf06a8d4 Add framework for tests written in C 2010-07-16 01:32:06 +02:00
Joel Rosdahl
bf8a44fa64 Split the main function into a separate compilation unit
This will allow linking another main function with ccache.o.
2010-07-15 19:20:33 +02:00
Joel Rosdahl
c58b743679 Simplify getopt_long() usage 2010-07-15 19:20:33 +02:00
Joel Rosdahl
d674630d24 Add args_init_from_string function 2010-07-15 19:20:33 +02:00
Joel Rosdahl
117e0c6e3a Add stats_get_pending() function 2010-07-15 19:20:33 +02:00
Joel Rosdahl
5a86308a6a Include all dependency files in .deps to make it work with sources in subdirs 2010-07-15 19:20:33 +02:00
Joel Rosdahl
e59371152c 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
2010-07-15 19:20:05 +02:00
Joel Rosdahl
bcc22fb4b3 Put dates in NEWS.txt on separate rows to get better HTML anchors 2010-07-15 17:51:47 +02:00
Joel Rosdahl
fb0abeed29 Correctly determine ccache version when building in a separate directory 2010-07-15 17:51:47 +02:00
Joel Rosdahl
36bb1666e3 Update NEWS for version 3.0.1 2010-07-15 17:51:44 +02:00
Joel Rosdahl
eead79ebf1 Disable developer mode on the build farm since it may use non-GNU make 2010-07-14 22:16:55 +02:00
Joel Rosdahl
932a3555aa Clean up long-lived temporary files with an exit function 2010-07-14 19:40:35 +02:00
Joel Rosdahl
1ae74b66e1 Make stats_flush an exit function 2010-07-14 19:00:06 +02:00
Joel Rosdahl
a417ea68b2 Add exit functions functionality 2010-07-14 18:59:06 +02:00
Joel Rosdahl
fdad44c641 Let stats_update() update counters in memory and stats_flush() write to disk 2010-07-14 15:57:57 +02:00
Joel Rosdahl
b5bfe86052 Call fatal() instead of exit(1) where appropriate 2010-07-14 15:55:08 +02:00
Joel Rosdahl
62511a1d5f Rename process_args to cc_process_args and let it return failure status 2010-07-14 14:12:00 +02:00
Joel Rosdahl
9df9bc81f8 Get rid of configure-dev; dev mode is given by dev.mk.in presence 2010-07-14 14:09:26 +02:00
Joel Rosdahl
97ea9fd4fa Refactor process_args to take orig_args as struct ARGS 2010-07-13 21:06:55 +02:00
Ramiro Polla
1026690909 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).
2010-06-27 23:06:42 +02:00
Ramiro Polla
8ef4d3ebf7 Split find_executable_in_path() out of find_executable() 2010-06-25 10:54:35 +02:00
Ramiro Polla
d165b4ebc3 Compile getopt_long() conditionally 2010-06-25 10:35:29 +02:00
Ramiro Polla
ffbdbe879b #include sys/wait.h under proper ifdef. 2010-06-25 10:33:56 +02:00
Ramiro Polla
91d74375b9 Open files in binary mode 2010-06-25 10:33:54 +02:00
Ramiro Polla
ac85d150dd Simplify basename() 2010-06-25 10:33:51 +02:00
Joel Rosdahl
b8982f4b88 Correctly update "called for link" when linking a single object file
This fixes bug #7529.
2010-06-24 20:59:34 +02:00
Joel Rosdahl
11ec900409 Escape plus characters properly in manual.txt 2010-06-20 20:13:23 +02:00
Joel Rosdahl
29a91e105d Escape plus characters properly in NEWS.txt 2010-06-20 20:06:37 +02:00
Joel Rosdahl
2eaba74286 Prepare for ccache 3.0 2010-06-20 19:07:11 +02:00
Joel Rosdahl
a115e7892a Add an --xml option to perf.py 2010-06-19 22:36:26 +02:00
Joel Rosdahl
793740e490 Check CCACHE_DISABLED early 2010-06-19 21:32:07 +02:00
Joel Rosdahl
76b132d70c Minor clarification about the direct mode 2010-06-19 21:32:05 +02:00
Joel Rosdahl
94c2e1c1df Reword author manual section 2010-06-19 19:11:46 +02:00
Joel Rosdahl
0259ce4bc9 Break long line 2010-06-19 19:09:37 +02:00
Joel Rosdahl
9acf6e965e Include version number in generated documentation 2010-06-19 18:59:11 +02:00
Joel Rosdahl
112c74521d Use a real asciidoc note 2010-06-19 18:53:52 +02:00
Joel Rosdahl
d7d80b8ac1 Make option value lists of possible values a bit nicer in the manual 2010-06-19 18:53:31 +02:00
Joel Rosdahl
934fddbc61 Don't use uppercase titles in the manual 2010-06-19 18:52:28 +02:00
Joel Rosdahl
93cb69dbee Move make rule for ccache.1 to dev.mk.in 2010-06-19 18:51:14 +02:00
Joel Rosdahl
aca2ac8ceb Also clean generated *.xml files 2010-06-19 18:50:59 +02:00
Joel Rosdahl
85de04e8e5 Remove obsolete rules already moved to dev.mk.in 2010-06-19 18:50:36 +02:00
Joel Rosdahl
e7ce8336ea Add recommendation to not use "ccache distcc compiler" as the compiler 2010-06-16 23:18:08 +02:00
Joel Rosdahl
50279b3522 Bail out on too hard compiler option -frepo 2010-06-16 20:43:30 +02:00
Joel Rosdahl
f35a13cdcd Various minor improvements of the manual 2010-06-15 22:32:24 +02:00
Joel Rosdahl
7cd4f0c7f1 Update README 2010-06-15 21:31:07 +02:00
Joel Rosdahl
3123dd6f12 Fix typo in upgrade notes 2010-06-15 21:22:00 +02:00
Joel Rosdahl
4e907973a1 Document that Objective-C and Objective-C++ are supported 2010-06-15 21:20:52 +02:00
Joel Rosdahl
a87f7173d8 Remove temporary debug logging again 2010-06-15 20:51:27 +02:00