Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Re-generate depfile parser with re2cc 1.0.1 | Brad King | 2018-11-19 | 1 | -3/+2 |
| | |||||
* | Add OSX build on travis (#1502) | Takuto Ikuta | 2018-11-17 | 2 | -4/+12 |
| | | | Also make test script works for OSX script command. | ||||
* | Fit --help output into 80 columns and move verbose up, fix #1500 | Jan Niklas Hasse | 2018-11-16 | 1 | -3/+3 |
| | |||||
* | Merge pull request #1474 from mathstuf/win32-invalid-parameter-help | Jan Niklas Hasse | 2018-11-16 | 4 | -4/+13 |
|\ | | | | | Win32 invalid parameter help | ||||
| * | subprocess-win32: add hint on ERROR_INVALID_PARAMETER | Ben Boeckel | 2018-11-09 | 1 | -0/+4 |
| | | | | | | | | | | This is generally associated with the command line being too long. Give a hint to this case in the error message. | ||||
| * | Win32Fatal: support a "hint" for the error | Ben Boeckel | 2018-11-09 | 2 | -3/+7 |
| | | | | | | | | | | The callsite might have extra context which is helpful for interpreting the error message. | ||||
| * | manual: mention the "invalid parameter" case | Ben Boeckel | 2018-11-09 | 1 | -1/+2 |
| | | | | | | | | | | This happens often enough and the error message is quite unhelpful. Mention this error explicitly in the documentation. | ||||
* | | Merge pull request #1462 from GoaLitiuM/win10color | Jan Niklas Hasse | 2018-11-16 | 1 | -0/+12 |
|\ \ | | | | | | | Enable ANSI escape sequences on Windows 10 terminals | ||||
| * | | Enable ANSI escape sequences on Windows 10 terminals | GoaLitiuM | 2018-11-14 | 1 | -0/+12 |
| | | | |||||
* | | | Merge pull request #1439 from Lekensteyn/threaded-browse-py | Nico Weber | 2018-11-15 | 1 | -1/+7 |
|\ \ \ | | | | | | | | | browse.py: fix delay with multiple connections | ||||
| * | | | browse.py: fix delay with multiple connections | Peter Wu | 2018-10-25 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When Firefox opens two TCP connections and sends a request over the second connection, it is not processed until the first one is closed. Use a threaded server to solve this issue. Tested with Python 2.7.15 and 3.6.5. (Also tested with 2.6, but that failed due to lack of argparse.) Link: https://bugs.python.org/issue31639 | ||||
* | | | | Merge pull request #1496 from mathstuf/minor-fixes | Nico Weber | 2018-11-15 | 1 | -5/+5 |
|\ \ \ \ | | | | | | | | | | | Minor fixes | ||||
| * | | | | HACKING: use `Python` for the project | Ben Boeckel | 2018-11-14 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | HACKING: fix some whitespace nits | Ben Boeckel | 2018-11-14 | 1 | -4/+4 |
| | | | | | |||||
* | | | | | Merge pull request #1196 from danw/ReadFile_opt | Jan Niklas Hasse | 2018-11-14 | 1 | -1/+11 |
|\ \ \ \ \ | | | | | | | | | | | | | Optimize ReadFile allocations | ||||
| * | | | | | Optimize ReadFile allocations | Dan Willemsen | 2016-11-07 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of continuously reallocating the output string, call reserve() up front to enlarge the string's buffer. Also use feof() instead of an empty read to detect the end of the file. This saves a syscall on <64kb files, which is about 5% (200ns) of the time to read a file on my machine. For our larger build.ninja files (~550MB), this saves about 500ms, which is more than half the time spent in this function. (Measured by adding METRICS_RECORD to this function during manifest_parser_perftest) For the standard manifest_parser_perftest, this only saves ~20ms out of ~600ms for a full run. | ||||
* | | | | | | Improve error message when Python wasn't found for the browse tool | Jan Niklas Hasse | 2018-11-14 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | See #1306. | ||||
* | | | | | | Explain why there's no browse tool, fix #1478 | Jan Niklas Hasse | 2018-11-14 | 1 | -3/+6 |
| |/ / / / |/| | | | | |||||
* | | | | | Fix rendering of code block, fix #955 | Jan Niklas Hasse | 2018-11-14 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Make -j 0 run unlimited parallel builds, fix #1309 | Martell Malone | 2018-11-14 | 1 | -3/+6 |
| |_|/ / |/| | | | |||||
* | | | | Merge pull request #1264 from gahr/DirName-compile-time | Jan Niklas Hasse | 2018-11-13 | 1 | -3/+4 |
|\ \ \ \ | | | | | | | | | | | DirName's separators and their length are known at compile time | ||||
| * | | | | DirName's separators and their length are known at compile time | Pietro Cerutti | 2017-04-11 | 1 | -3/+4 |
| | | | | | |||||
* | | | | | Add --verbose as an alternative spelling for -v, fix #1310 | Jan Niklas Hasse | 2018-11-13 | 1 | -1/+2 |
| | | | | | |||||
* | | | | | Add unit test for #1491 | Jan Niklas Hasse | 2018-11-13 | 1 | -0/+2 |
| | | | | | |||||
* | | | | | Merge pull request #1491 from mathstuf/elision-off-by-n | Jan Niklas Hasse | 2018-11-13 | 1 | -1/+1 |
|\ \ \ \ \ | | | | | | | | | | | | | util: don't add ellipses width when deciding if they're necessary | ||||
| * | | | | | util: don't add ellipses width when deciding if they're necessary | Ben Boeckel | 2018-11-09 | 1 | -1/+1 |
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | If the string fits, just use it. If we need the ellipses, *then* we need to compute the width based on that. | ||||
* | | | | | Allow disabling of escape code stripping, fix #1475 | Jan Niklas Hasse | 2018-11-13 | 3 | -6/+20 |
|/ / / / | | | | | | | | | | | | | | | | | Don't strip colors when CLICOLOR_FORCE is set to a non-zero value. This environment variable is also used by CMake's Make back-end. | ||||
* | | | | Merge pull request #1307 from moroten/fix-too-long-path-test-bug | Jan Niklas Hasse | 2018-11-08 | 3 | -14/+74 |
|\ \ \ \ | | | | | | | | | | | Verify GetFullPathName return value | ||||
| * | | | | Verify GetFullPathName return value | Fredrik Medley | 2018-11-08 | 3 | -14/+74 |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | GetFullPathName previously failed silently on long path names resulting in uninitialized path result. Signed-off-by: Fredrik Medley <fredrik.medley@autoliv.com> | ||||
* | | | | Make output_test.py independent of the environment | Jan Niklas Hasse | 2018-11-07 | 1 | -2/+8 |
| | | | | |||||
* | | | | Merge pull request #1488 from maciej-pawlowski-opera/issue-1227-2 | Jan Niklas Hasse | 2018-11-07 | 4 | -510/+431 |
|\ \ \ \ | | | | | | | | | | | Fix parsing some special chars in depfiles (take 2) | ||||
| * | | | | Fix parsing some special chars in depfiles | Maciej Pawlowski | 2018-11-07 | 3 | -6/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows paths with "[", "]" and "%" to appear in depfiles. Previously, only "[" would be handled properly. Fixes #1227. | ||||
| * | | | | Regenerate depfile_parser.cc and lexer.cc with newer re2c | Maciej Pawlowski | 2018-11-07 | 2 | -505/+423 |
| | | | | | |||||
* | | | | | Fix older VS compatibility issues and PDB files generation issue. (#1435) | ikifof | 2018-11-07 | 3 | -8/+21 |
|/ / / / | | | | | | | | | Fixes #1411. | ||||
* | | | | Merge pull request #1473 from zdave/query-term-stdout | Jan Niklas Hasse | 2018-11-05 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | Query terminal width from STDOUT_FILENO | ||||
| * | | | | Query terminal width from STDOUT_FILENO | David Emett | 2018-09-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Rather than 0 (stdin). So it will work even if ninja's stdin isn't connected to the terminal for whatever reason. | ||||
* | | | | | Exclude broken DiskInterfaceTests from MSVC, see #1423 | Jan Niklas Hasse | 2018-11-05 | 1 | -0/+2 |
| | | | | | |||||
* | | | | | Merge pull request #1326 from 0-wiz-0/master | Jan Niklas Hasse | 2018-11-05 | 2 | -1/+2 |
|\ \ \ \ \ | | | | | | | | | | | | | Two fixes for NetBSD | ||||
| * | | | | | Add NetBSD in another clause. | Thomas Klausner | 2017-09-10 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Include missing header for pselect(). | Thomas Klausner | 2017-09-10 | 1 | -0/+1 |
| | | | | | | |||||
* | | | | | | Merge pull request #1457 from V-for-Vasili/AIX-support | Jan Niklas Hasse | 2018-11-05 | 2 | -0/+7 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Port to AIX platform | ||||
| * | | | | | | Port to AIX platform. | Vasili Skurydzin | 2018-08-02 | 2 | -0/+7 |
| | |/ / / / | |/| | | | | | | | | | | | | | | | | Taking care of printf format specifiers and large files using compiler macros in configure.py | ||||
* | | | | | | Add test for #1418 (edge output should match status) | Jan Niklas Hasse | 2018-11-05 | 1 | -0/+21 |
| | | | | | | |||||
* | | | | | | Revert "Fix confusing smart console output from concurrent builds" | Jan Niklas Hasse | 2018-11-05 | 2 | -14/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 52c1d0c8f8545231581c4d51cb0a85f50564c415. Fixes #1418. | ||||
* | | | | | | Add script to test Ninja's output | Jan Niklas Hasse | 2018-11-05 | 2 | -1/+67 |
| | | | | | | | | | | | | | | | | | | | | | | | | First test checks for #1214. | ||||
* | | | | | | Do not always strip colored output in verbose mode, fix #1214 | Jan Niklas Hasse | 2018-11-05 | 3 | -1/+7 |
| | | | | | | |||||
* | | | | | | Ignore Visual Studio Code project files | Jan Niklas Hasse | 2018-11-02 | 1 | -0/+3 |
| | | | | | | |||||
* | | | | | | AppVeyor: Also build with MinGW | Jan Niklas Hasse | 2018-11-02 | 1 | -7/+33 |
| | | | | | | |||||
* | | | | | | Merge pull request #1472 from Hi-Angel/master | Jan Niklas Hasse | 2018-11-02 | 1 | -1/+1 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Fix wrong description of script installation | ||||
| * | | | | | | Fix wrong description of script installation | Konstantin Kharlamov | 2018-09-28 | 1 | -1/+1 |
| |/ / / / / | | | | | | | | | | | | | The described way of installation makes zsh fail with `_arguments:comparguments:325: can only be called from completion function`. Per [zsh documentation](https://github.com/zsh-users/zsh-completions/blob/master/zsh-completions-howto.org#telling-zsh-which-function-to-use-for-completing-a-command) the correct way is to use `$fpath`. |