Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't use va_start() with reference parameters, it's undefined behavior. | Nico Weber | 2013-05-24 | 1 | -1/+1 |
| | | | | Should fix issue #584. | ||||
* | Introduce a Truncate() function that works on POSIX and Windows. | Nico Weber | 2013-04-29 | 1 | -0/+3 |
| | | | | Hopefully fixes the build on Windows. | ||||
* | fix compile error about noreturn on windows | wang-bin | 2013-04-07 | 1 | -3/+3 |
| | |||||
* | add noreturn attr on Fatal() | Evan Martin | 2013-04-05 | 1 | -2/+8 |
| | |||||
* | Posix symbols are not enabled by default for MSVC | Peter Kümmel | 2013-03-14 | 1 | -0/+2 |
| | |||||
* | wrap some overlong lines | Evan Martin | 2012-12-29 | 1 | -1/+2 |
| | |||||
* | Remove unused macro NINJA_UNUSED_ARG. | Nico Weber | 2012-08-28 | 1 | -2/+0 |
| | |||||
* | move Win32Fatal into util | Evan Martin | 2012-08-12 | 1 | -0/+3 |
| | |||||
* | doc that ReadFile reads in text mode on Windows | Evan Martin | 2012-08-12 | 1 | -1/+2 |
| | |||||
* | windows: fix size_t<->int conversions in ninja.exe | Evan Martin | 2012-08-10 | 1 | -1/+1 |
| | |||||
* | use DiskInterface to create the build directory | Evan Martin | 2012-08-07 | 1 | -4/+0 |
| | | | | | | | | | | Fixes issue #392 (didn't handle creating nested build dirs right). Moves MakeDir out of util.h; all code should go through DiskInterface to simplify testing. Moves ownership of the DiskInterface into the client of the Builder, which also allows removing some code that reached inside the object as well as a minor leak. | ||||
* | Merge branch 'factor-elide-middle' of git://github.com/polrop/ninja | Evan Martin | 2012-08-01 | 1 | -0/+4 |
|\ | | | | | | | | | Conflicts: src/util.cc | ||||
| * | Re-factor elide code and test it. | Nicolas Despres | 2012-07-31 | 1 | -0/+4 |
| | | |||||
* | | move processor-count code to util.cc | Evan Martin | 2012-07-28 | 1 | -0/+4 |
| | | |||||
* | | delete vestigal declarations | Evan Martin | 2012-07-28 | 1 | -7/+0 |
|/ | |||||
* | Merge branch 'set_terminate' of git://github.com/gmoudry/ninja into minidump | Evan Martin | 2012-07-27 | 1 | -0/+7 |
|\ | | | | | | | | | | | | | (This likely doesn't compile, just getting all the history in place.) Conflicts: src/util.cc | ||||
| * | Improve handling of fatal errors on Windows, support creation of minidumps | Jiri Moudry | 2012-03-28 | 1 | -0/+7 |
| | | |||||
* | | Merge pull request #351 from syntheticpp/rate | Evan Martin | 2012-07-27 | 1 | -5/+0 |
|\ \ | | | | | | | print edges per second | ||||
| * | | print edges per second | Peter Kuemmel | 2012-07-15 | 1 | -5/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prints the rate of finished edges per second to the console, for instance with NINJA_STATUS="[%s/%t %o(%c)/s] ": [132/1922 16.1(14)/s] 16.1 is the average for all processed files (here 132 since start) 14 is the average of the last n files while n is the number specifies by -j (or its default) | ||||
* | | | Remove #pragma once from our header files. | Thiago Farina | 2012-07-17 | 1 | -1/+0 |
|/ / | | | | | | | | | | | https://github.com/martine/ninja/issues/358 Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | | Only store command hashes in the build log. | Nico Weber | 2012-06-15 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | .build_log load time 350ms -> 17ms, filesize 197MB -> 1.6MB on Mac. On Windows, it's 500ms -> 20ms. Makes the build log a lot less useful for scripts, but there could be a tool for use cases that need log information. A prototype of such a tool is in https://github.com/nico/ninja/commit/1b243d311 The hash function is 64bit murmurhash2. Assuming that that different commands get the same hash only by chance, it's is very unlikely for two different commands to hash to the same value with a 64bit hash. | ||||
* | | Add -l N option to limit the load average. | Nicolas Despres | 2012-04-19 | 1 | -0/+4 |
|/ | | | | | | | This is similar to GNU make -l/--load-average option. It limits the number of job started if the load average exceed the given value. It can be very useful when running ninja on a continuous integration server where we want to use parallelism as much as possible without overloading the server. | ||||
* | only msvc needs these workarounds | Peter Kuemmel | 2012-01-22 | 1 | -1/+3 |
| | |||||
* | windows: use _WIN32 define everywhere | Evan Martin | 2012-01-22 | 1 | -1/+1 |
| | | | | Rather than mixing use of WIN32 and _WIN32. | ||||
* | Strip ansi escape sequences from subcommand output when not writing to a ↵ | Nico Weber | 2012-01-19 | 1 | -0/+3 |
| | | | | smart terminal. | ||||
* | Stop warning about chdir etc which are treated as errors on MSVC with the | Frances Buontempo | 2012-01-16 | 1 | -0/+1 |
| | | | | current settings | ||||
* | split canonicalize | Evan Martin | 2012-01-09 | 1 | -0/+2 |
| | |||||
* | allow spellcheck to be used with a vector of strings | Evan Martin | 2012-01-04 | 1 | -2/+6 |
| | |||||
* | windows: make bootstrap.py/configure.py work with MSVC | Scott Graham | 2012-01-04 | 1 | -0/+2 |
| | |||||
* | typedef long long for MSVC | Frances Buontempo | 2012-01-03 | 1 | -0/+4 |
| | |||||
* | factor out windows perror equivalent | Evan Martin | 2011-12-20 | 1 | -0/+3 |
| | |||||
* | Remove warning triggered by -Wextra on MinGW. | Nicolas Despres | 2011-11-19 | 1 | -0/+2 |
| | |||||
* | Add spelling suggestions for four cases: | Nico Weber | 2011-11-16 | 1 | -0/+4 |
| | | | | | | | | | | | 1. For targets, when invoking ninja to build a target. 2. For targets, when doing a "query" command. 3. For command names. 4. For the subcommands of the "targets" command. Also change CmdTargets() to call LookupNode() instead of GetNode() -- since the result was checked for NULL, that's probably what was intended here originally. | ||||
* | move SetCloseOnExec to util | Evan Martin | 2011-10-31 | 1 | -0/+3 |
| | |||||
* | make CanonicalizePath report an error on empty path | Evan Martin | 2011-10-06 | 1 | -1/+1 |
| | | | | Fixes part of issue 121, but the fix exposed a further issue. | ||||
* | semantic change: allow reaching into parent directories in paths | Evan Martin | 2011-08-24 | 1 | -1/+1 |
| | | | | | | | | | | | This allows generating build files in a subdirectory of your source tree. - Change CanonicalizePath to accept this. - CanonicalizePath no longer has an error condition, so change it to a void function. I profiled the result against Chrome and it might be ~100ms slower, but that might just be Chrome's size working against me. In any case I think there are lower-hanging performance fruit elsewhere. | ||||
* | remove +x bit from source | Evan Martin | 2011-06-03 | 1 | -0/+0 |
| | |||||
* | Tests now build on a native Windows build (tested with VS2010) | Philip Craig | 2011-05-28 | 1 | -0/+4 |
| | | | | | All tests except SubProcess pass on a native Windows build Tests continue not to build on a platform=mingw build | ||||
* | move GetTimeMillis to util | Evan Martin | 2011-05-24 | 1 | -0/+7 |
| | |||||
* | move ReadFile into util | Evan Martin | 2011-05-24 | 1 | -0/+4 |
| | |||||
* | Add a Warning() report function. | Nicolas Despres | 2011-05-02 | 1 | -0/+3 |
| | | | | Also fix sites where Error() was misused. | ||||
* | windows: abstract around mkdir vs _mkdir | Evan Martin | 2011-05-02 | 1 | -0/+4 |
| | |||||
* | add doxygen-compatibile comments to most classes | Evan Martin | 2011-04-29 | 1 | -3/+3 |
| | |||||
* | optimize CanonicalizePath | Evan Martin | 2011-04-23 | 1 | -1/+2 |
| | | | | | | | | | Null build of Chrome: before I added extra calls to CanonicalizePath: 1.25s. with extra calls to CanonicalizePath: 1.35s. with new CanonicalizePath: 1.05s. And now CanonicalizePath isn't hot on profiles anymore. | ||||
* | Merge branch 'master' of github.com:martine/ninja | Evan Martin | 2011-04-15 | 1 | -0/+3 |
|\ | | | | | | | | | | | Conflicts: src/util.cc src/util.h | ||||
| * | Add missing CPP guards. | Nicolas Despres | 2011-03-22 | 1 | -0/+5 |
| | | |||||
| * | Prefix error messages with program name. | Nicolas Despres | 2011-03-21 | 1 | -0/+3 |
| | | | | | | | | | | | | It make it easier while debugging to know who is reporting the error: Ninja itself or one of the command called by Ninja during the build process or one of the generator which called Ninja. | ||||
* | | Remove the declaration of DumpBacktrace. | Thiago Farina | 2011-04-15 | 1 | -5/+0 |
| | | | | | | | | This function was removed on 01880fb3a2a13f9071e9729c3a13752846828ed2. | ||||
* | | Move CanonicalizePath into util.h so it can be shared by the other modules. | Thiago Farina | 2011-04-15 | 1 | -0/+11 |
|/ | | | | | | Also add util_test.cc and move the CanonicalizePathTest into there. Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | add copyrights | Evan Martin | 2011-02-06 | 1 | -1/+13 |
| |