Joel Rosdahl
|
cadd1e1793
|
Use real size instead of multiples of 1024 for sizes
Exception: Size values in stats files are still in units of 1024 for
backward compatibility reasons.
|
2011-07-26 22:11:45 +02:00 |
|
Joel Rosdahl
|
9fb0c7219c
|
test: Fix code formatting
|
2011-07-26 22:11:45 +02:00 |
|
Joel Rosdahl
|
477f7b938b
|
test: Add CHECKM macro that accepts an error message
|
2011-07-26 22:11:45 +02:00 |
|
Joel Rosdahl
|
39fb5fef33
|
test: Use an int64_t variant of CHECK_INT_EQ for all integer types
|
2011-07-26 22:11:45 +02:00 |
|
Joel Rosdahl
|
52459f7b66
|
test: Call correct function in CHECK_UNS_EQ
|
2011-07-26 22:11:43 +02:00 |
|
Joel Rosdahl
|
a1b49e2ba4
|
Improve error message in case of failed execv()
|
2011-07-20 23:31:38 +02:00 |
|
Joel Rosdahl
|
7a58c8b038
|
config: Use files and size limits from config
|
2011-07-20 23:31:38 +02:00 |
|
Joel Rosdahl
|
6f60433b8d
|
config: Save primary configuration file path till later
|
2011-07-20 23:31:38 +02:00 |
|
Joel Rosdahl
|
8e1b069308
|
config: Free output from parse_line correctly
|
2011-07-20 23:31:38 +02:00 |
|
Joel Rosdahl
|
b7830887ea
|
config: Implement conf_set_value_in_file()
|
2011-07-20 23:31:38 +02:00 |
|
Joel Rosdahl
|
8611023b7a
|
config: Refactor parse_line to only return parsed key and value
|
2011-07-20 23:31:38 +02:00 |
|
Joel Rosdahl
|
789fb91dfd
|
config: Create initial configuration file from stats limits
|
2011-07-20 23:31:38 +02:00 |
|
Joel Rosdahl
|
3631bf634f
|
Teach parse_size_with_suffix to parse float-style sizes
|
2011-07-20 23:31:38 +02:00 |
|
Joel Rosdahl
|
f080f3cc68
|
Add utility function format_parsable_size_with_suffix
|
2011-07-20 23:31:37 +02:00 |
|
Joel Rosdahl
|
e959f98288
|
Add test for format_human_readable_size
|
2011-07-20 23:31:37 +02:00 |
|
Joel Rosdahl
|
c5c683346b
|
Rename format_size to format_human_readable_size
|
2011-07-20 23:31:37 +02:00 |
|
Joel Rosdahl
|
469267b2be
|
Set orig_args before find_compiler() because it's needed in failed()
|
2011-07-20 23:31:37 +02:00 |
|
Joel Rosdahl
|
1050034f7a
|
config: Assert that conf has been created
|
2011-07-20 23:31:37 +02:00 |
|
Joel Rosdahl
|
c66e7a62f9
|
config: Use unify from conf struct
|
2011-07-20 23:31:37 +02:00 |
|
Joel Rosdahl
|
fd6390b127
|
config: Use umask from conf struct
|
2011-07-20 23:31:37 +02:00 |
|
Joel Rosdahl
|
0e1c72810f
|
config: Use temporary_dir from conf struct
|
2011-07-20 23:31:37 +02:00 |
|
Joel Rosdahl
|
b88ccf873f
|
config: Use stats from conf struct
|
2011-07-20 23:31:37 +02:00 |
|
Joel Rosdahl
|
adba0503b6
|
config: Use sloppiness from conf struct
|
2011-07-20 23:31:37 +02:00 |
|
Joel Rosdahl
|
da63d7d3f5
|
config: Use run_second_cpp from conf struct
|
2011-07-20 23:31:37 +02:00 |
|
Joel Rosdahl
|
efe4f4b835
|
config: Use recache from conf struct
|
2011-07-20 23:31:37 +02:00 |
|
Joel Rosdahl
|
e0318a9d9a
|
config: Use read_only from conf struct
|
2011-07-20 23:31:37 +02:00 |
|
Joel Rosdahl
|
d5fcee3c1f
|
config: Use prefix_command from conf struct
|
2011-07-20 23:31:37 +02:00 |
|
Joel Rosdahl
|
3f80df1e8d
|
config: Use path from conf struct
|
2011-07-20 23:31:37 +02:00 |
|
Joel Rosdahl
|
0c87fee945
|
Add test for CCACHE_PATH
|
2011-07-20 23:31:37 +02:00 |
|
Joel Rosdahl
|
5dae03bd12
|
config: Use log_file from conf struct
|
2011-07-20 23:31:36 +02:00 |
|
Joel Rosdahl
|
ab81449ac4
|
config: Use hash_dir from conf struct
|
2011-07-20 23:31:36 +02:00 |
|
Joel Rosdahl
|
378a15aa85
|
config: Use hard_link from conf struct
|
2011-07-20 23:31:36 +02:00 |
|
Joel Rosdahl
|
c6799eaf1f
|
config: Use extra_files_to_hash from conf struct
|
2011-07-20 23:31:36 +02:00 |
|
Joel Rosdahl
|
44f3e8681c
|
config: Use disable from conf struct
|
2011-07-20 23:31:36 +02:00 |
|
Joel Rosdahl
|
0a2be77fe9
|
config: Use direct_mode from conf struct
|
2011-07-20 23:31:36 +02:00 |
|
Joel Rosdahl
|
d13bbc5812
|
config: Handle CCACHE_NO* environment variables
|
2011-07-20 23:31:32 +02:00 |
|
Joel Rosdahl
|
ec410b4bd8
|
config: Use detect_shebang from conf struct
|
2011-07-17 11:57:52 +02:00 |
|
Joel Rosdahl
|
efa0e36daf
|
config: Use cpp_extension from conf struct
|
2011-07-17 11:57:52 +02:00 |
|
Joel Rosdahl
|
0122de72e2
|
config: Use compression from conf struct
|
2011-07-17 11:57:52 +02:00 |
|
Joel Rosdahl
|
2b43c8baeb
|
Minor tweaks to HACKING.txt
|
2011-07-17 11:57:52 +02:00 |
|
Joel Rosdahl
|
f98dda02f7
|
config: Remove obsolete references to CCACHE_NOCOMPRESS
|
2011-07-17 11:57:52 +02:00 |
|
Joel Rosdahl
|
0a2fffabda
|
config: Use compiler_check from conf struct
|
2011-07-17 11:57:52 +02:00 |
|
Joel Rosdahl
|
0b59bc01e5
|
config: Bail out on bad environment variable settings
|
2011-07-17 11:57:52 +02:00 |
|
Joel Rosdahl
|
ebe6df536d
|
config: Correctly interpret boolean environment variables
|
2011-07-17 11:57:51 +02:00 |
|
Joel Rosdahl
|
ff13256a94
|
config: Allow empty string (meaning "disabled") in verify_absolute_path
|
2011-07-17 11:57:51 +02:00 |
|
Joel Rosdahl
|
cad4bcb314
|
config: Use compiler from conf struct
|
2011-07-17 11:57:51 +02:00 |
|
Joel Rosdahl
|
ebae5f7182
|
config: Use cache_dir_levels from conf struct
|
2011-07-17 11:57:51 +02:00 |
|
Joel Rosdahl
|
2e0b674ea9
|
config: Use cache_dir from conf struct
|
2011-07-17 11:57:51 +02:00 |
|
Joel Rosdahl
|
b55be7ece0
|
config: First steps towards supporting config files
|
2011-07-17 11:57:47 +02:00 |
|
Joel Rosdahl
|
7c9fd3c5c3
|
Correctly free name in expand_variable
|
2011-07-12 21:30:01 +02:00 |
|