Commit Graph

26 Commits

Author SHA1 Message Date
Joel Rosdahl
adba0503b6 config: Use sloppiness from conf struct 2011-07-20 23:31:37 +02:00
Joel Rosdahl
873ac71f22 Reformat comments 2010-11-29 20:45:24 +01:00
Justin Lebar
fe732f041e Improve speed of temporal macro search 2010-11-29 20:35:19 +01:00
Ramiro Polla
8b73fe9ac9 Implement win32 hash_command_output() 2010-09-26 22:11:26 +02:00
Joel Rosdahl
0a6b820cc4 Use bool, true and false for boolean values 2010-08-29 13:26:55 +02:00
Joel Rosdahl
1b298bb748 Remove includes that are redundant after system.h introduction 2010-08-29 12:02:44 +02:00
Joel Rosdahl
c358e7c801 Read files into memory instead of using mmap()
This has two benefits:

- It's more robust against file changes during reading.
- It improves performance on poor systems where mmap() doesn't use the disk
  cache.
2010-08-26 22:23:32 +02:00
Joel Rosdahl
d8927d46cb Add support for using precompiled headers if -fpch-preprocess is used 2010-08-21 16:46:51 +02:00
Joel Rosdahl
e04a9e40bb Log in parent process in hash_command_output() to get correct PID in log 2010-08-14 21:25:15 +02:00
Joel Rosdahl
ff2089c914 Use reentrant strtok_r() instead of strtok() 2010-08-14 21:19:32 +02:00
Joel Rosdahl
aaf5cbd18a Add hash_command_output() and hash_multicommand_output() 2010-08-14 21:14:08 +02:00
Joel Rosdahl
530dfe7c11 Format code to use a more consistent coding style 2010-08-01 17:20:33 +02:00
Joel Rosdahl
a98cbbc465 Introduce and use function-like macros str_eq() and str_startswith() 2010-08-01 17:20:15 +02:00
Joel Rosdahl
c45bf6090d Add hash_from_int function 2010-07-21 00:12:17 +02:00
Joel Rosdahl
d4f478176e Code formatting cleanup 2010-07-21 00:12:02 +02:00
Ramiro Polla
1fc590556f 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().
2010-07-16 15:45:52 +02:00
Ramiro Polla
38ec0f3c4d Run stat() before open() on some files to allow bailing out earlier 2010-07-15 16:41:38 -03:00
Joel Rosdahl
ccd8133cc6 Declare variables first in scope 2010-05-30 20:29:04 +02:00
Joel Rosdahl
eb5d9bd3be Add some opt-in sloppiness 2010-05-17 22:29:42 +02:00
Joel Rosdahl
11a8b1439a Add a type parameter to hash_delimiter to tag hashed information 2010-05-05 22:16:28 +02:00
Joel Rosdahl
3f26134a07 Handle __{DATE,FILE,TIME}__ macros in a better way 2010-04-28 08:56:06 +02:00
Joel Rosdahl
149d4912dc Disable direct mode if __{DATE,FILE,TIME}__ is used 2010-04-25 17:03:23 +02:00
Joel Rosdahl
6faf3267d2 Improve comments in hash_include_file_string 2010-04-25 17:02:25 +02:00
Joel Rosdahl
b2dd02bbdc Refactoring: move hash_*_ignoring_comments to hash_include_file_* in testutil 2010-04-25 15:44:18 +02:00
Joel Rosdahl
9e167408cb Correctly handle direct mode hit, missing object file and differing cpp hash 2010-01-05 18:53:02 +01:00
Joel Rosdahl
e53af1a618 First working version of the direct mode 2010-01-05 18:53:01 +01:00