908 Commits

Author SHA1 Message Date
Ramiro Polla
4b0f4f6d99 Export argvtos() as win32argvtos() 2010-09-26 22:10:24 +02:00
Ramiro Polla
6fc46e5403 Open files in binary mode 2010-09-26 22:10:15 +02:00
Joel Rosdahl
e1b287d0ca Check $AR when detecting ar as this seems to be the official way 2010-09-22 08:05:38 +02:00
Joel Rosdahl
cb2bf5daa1 Correct example command string for CCACHE_COMPILERCHECK 2010-09-18 19:22:32 +02:00
Wilson Snyder
76a0286fd8 Print temp file name in debug message 2010-09-17 22:27:52 +02:00
Joel Rosdahl
f65c46cabd NEWS tweak v3.1 2010-09-16 18:57:02 +02:00
Joel Rosdahl
588214d6a4 Prepare for version 3.1 2010-09-16 18:47:55 +02:00
Joel Rosdahl
581658774a Reword news item 2010-09-15 21:42:09 +02:00
Joel Rosdahl
c70a582e5e Handle EINTR correctly 2010-09-15 08:34:52 +02:00
Joel Rosdahl
8177355fc3 Make --ccache-skip work for all options 2010-09-14 17:10:53 +02:00
Joel Rosdahl
0660f94ee5 Don't compare booleans with 0 2010-09-12 16:37:38 +02:00
Joel Rosdahl
8d70fc3f17 Rename test_if_compressed() to file_is_compressed() 2010-09-12 16:36:48 +02:00
Joel Rosdahl
5a5e9edd7b Fix Win32 build error 2010-09-12 16:34:14 +02:00
Joel Rosdahl
6a562c1dfc Don't hard-code size hint when reading preprocessed file 2010-09-12 16:33:43 +02:00
Joel Rosdahl
634bb8d895 Stat file to get size hint in read_file() 2010-09-12 16:33:16 +02:00
Joel Rosdahl
aefb383b99 Minor updates of NEWS 2010-09-10 19:13:46 +02:00
Joel Rosdahl
a97801ce56 Make the 3.1 news entry spacier 2010-09-06 21:33:13 +02:00
Joel Rosdahl
c6a1740bc6 Add news for version 3.1 2010-09-06 21:32:01 +02:00
Joel Rosdahl
78080b1517 Add Tor Arne Vestbø as a contributor 2010-09-06 21:26:08 +02:00
Joel Rosdahl
be9be61acb Add a .tar.xz dist archive 2010-09-06 20:56:06 +02:00
Joel Rosdahl
cc0b63bb6d Use GNU tar's auto detection of extension when creating dist archives 2010-09-06 19:16:12 +02:00
Joel Rosdahl
a914a97462 Don't hash .gch files twice; hash the hash instead 2010-09-05 21:43:06 +02:00
Joel Rosdahl
1d5e983325 Allow preprocessed hits even when using PCH 2010-09-05 15:17:40 +02:00
Joel Rosdahl
16c2076733 Avoid preprocessed hits when using precompiled headers
Otherwise, we would get a false hit if the PCH has changed (but the rest of
the source has not) since the preprocessed output doesn't include the PCH
content.

The PCH content is now also included in the preprocessor output hash to
avoid several manifest entries (where the PCH hash differs) pointing to the
same object file.
2010-09-05 11:45:10 +02:00
Joel Rosdahl
f38abae7e6 Add "can't use precompiled header" statistics 2010-09-05 11:44:09 +02:00
Joel Rosdahl
8b6216a31d Simplify return logic in hash_fd2() 2010-09-05 10:51:59 +02:00
Joel Rosdahl
3264d5e599 Increase read buffer in read_fd2() 2010-09-05 10:51:55 +02:00
Joel Rosdahl
2352069ec1 Plug memory leak in remember_include_file 2010-09-05 10:46:10 +02:00
Joel Rosdahl
95f1260b50 Add hash_file2() and hash_fd2() functions that update two hash sums 2010-09-05 10:28:29 +02:00
Joel Rosdahl
13fb386e0a Clean cache before first pch test to avoid error when $COMPILER is ccache 2010-09-04 18:26:57 +02:00
Joel Rosdahl
890bb7312b Also require time_macros sloppiness when detecting PCH from .gch 2010-09-02 22:57:52 +02:00
Joel Rosdahl
bfffc92d5d Log incremented statistics counters as "result" 2010-09-02 22:16:45 +02:00
Joel Rosdahl
14f9e1e7fe Correct variable name in comment 2010-09-02 18:31:44 +02:00
Joel Rosdahl
edba4df472 Log which precompiled header was found when detecting .gch 2010-09-02 18:31:15 +02:00
Joel Rosdahl
2c2b582266 Move lists of compiler options' semantics into a separate compopt.c file 2010-09-01 22:50:05 +02:00
Joel Rosdahl
3a75236ab2 Test -I with concatenated argument 2010-09-01 22:48:27 +02:00
Joel Rosdahl
47d430a56d Test that -D isn't hashed in preprocessor mode 2010-09-01 22:47:37 +02:00
Joel Rosdahl
bda86ac5a7 testfw: Give compile error on empty suite names 2010-09-01 22:46:11 +02:00
Joel Rosdahl
5d8643612d Allow const string parameters to CHECK_STR_EQ() 2010-08-30 19:56:03 +02:00
Joel Rosdahl
57d640d42b Reset output_is_precompiled_header in cc_reset() 2010-08-29 13:42:22 +02:00
Joel Rosdahl
0a6b820cc4 Use bool, true and false for boolean values 2010-08-29 13:26:55 +02:00
Joel Rosdahl
41113e3087 Add autoconf check and workaround for stdbool.h 2010-08-29 12:09:23 +02:00
Joel Rosdahl
1b298bb748 Remove includes that are redundant after system.h introduction 2010-08-29 12:02:44 +02:00
Joel Rosdahl
0d7decde78 Add missing license header in lockfile.c 2010-08-29 11:58:00 +02:00
Joel Rosdahl
d8880584ec Introduce system.h 2010-08-29 11:54:08 +02:00
Joel Rosdahl
c85386d928 Extract knowledge about languages and extensions into a separate file 2010-08-29 10:50:44 +02:00
Joel Rosdahl
9ce3b94936 Use MYNAME in usage and license text 2010-08-29 10:35:15 +02:00
Joel Rosdahl
acc2ff8f82 Minor doc tweak 2010-08-28 18:17:59 +02:00
Joel Rosdahl
7fd2b88321 Document new support for precompiled headers 2010-08-28 18:04:46 +02:00
Joel Rosdahl
1928d4d10c Add test that -fpch-preprocess is added when using -include 2010-08-28 16:46:32 +02:00