summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* remove more things not needed without gtestNico Weber2014-09-182-22/+0
|
* Merge pull request #817 from nico/warnNico Weber2014-09-181-1/+1
|\ | | | | fix warning
| * fix warningNico Weber2014-09-181-1/+1
| |
* | Merge pull request #815 from sgraham/gtest-tidyNico Weber2014-09-181-2/+1
|\ \ | |/ |/| Don't need to install and configure with gtest any more
| * Don't need to install and configure with gtest any moreScott Graham2014-09-181-2/+1
|/
* Merge pull request #812 from nico/ninjatestNico Weber2014-09-1814-95/+224
|\ | | | | Use a small, standalone testing framework for ninja instead of googletest.
| * Don't support ? and : for --gtest-filter, a bit simpler.Nico Weber2014-09-181-23/+11
| | | | | | | | Let me know if you use these!
| * Add support for --gtest_filter. The bots need it, and it is a useful flag.Nico Weber2014-09-182-12/+99
| |
| * Use a small, standalone testing framework instead of googletest.Nico Weber2014-09-1814-99/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ninja currently uses googletest for testing. That makes building ninja_test somewhat annoying since it requires that one passes --with-gtest PATH to configure. It turns out just implementing the bits of googletest that ninja uses needs about the same amount of code than making the --with-gtest flag in configure.py work and making googletest print test results in a way we want (!) In addition to making configuration simpler, this also makes compiling tests much faster: On my system, touching src/build_test.cc (the slowest file to build in ninja) and rebuilding ninja_tests is twice as fast than without this patch. Building all is noticeably faster too: 5.6s with this patch, 9.1s without this patch (38% faster). The most noticeable things missing: EXPECT_* and ASSERT_* don't support streaming notes to them with operator<<, and for failing tests the lhs and rhs are not printed. That's so that this header does not have to include sstream, which slows down building ninja_test almost 20%. If this turns out to be annoying, we can maybe add it.
* | Merge pull request #808 from nico/bettererrorNico Weber2014-09-042-1/+10
|\ \ | |/ |/| Provide an error message on malformed lets. Fixes #807.
| * Provide an error message on malformed lets. Fixes #807.Nico Weber2014-09-042-1/+10
|/
* Merge pull request #803 from martine/archNico Weber2014-08-051-0/+6
|\ | | | | amend HACKING.md with instructions for Arch Linux
| * amend HACKING.md with instructions for Arch LinuxEvan Martin2014-08-041-0/+6
| |
* | Merge pull request #802 from martine/parensNico Weber2014-08-051-1/+1
|\ \ | |/ |/| add some parens to silence a gcc warning
| * add some parens to silence a gcc warningEvan Martin2014-08-041-1/+1
|/
* Merge pull request #798 from kwesolowski/masterNico Weber2014-07-272-6/+60
|\ | | | | Provided Basic Support for -l N option on windows platform.
| * Remove extra info from Usage()kwesolowski2014-07-261-3/+0
| | | | | | | | As now behavior is similar on on platforms, this can probably be removed
| * Changed implementation to provide load from 0 to ProcessorCountkwesolowski2014-07-261-4/+6
| | | | | | | | This makes this implementation more consisten with POSIX load avarage.
| * Fixed naming convention in GetLoadAverage support functions.kwesolowski2014-07-261-25/+25
| |
| * Improved load calculationkwesolowski2014-07-251-9/+20
| | | | | | | | | | | | | | Added code to gracefully handle: 1. Call to CalculateProcessorLoad with not incremented ticks (fast calls to GetSystemTimes can result same results), 2. Smooth/filter load estimation for consecutive calls.
| * Small usage info fix for windowskwesolowski2014-07-251-1/+1
| |
| * Fixes for windows CalculateProcessorLoadkwesolowski2014-07-251-1/+4
| | | | | | | | | | - Fixed bad logic condition, - Added comment to clarify
| * Fixed/improved -l N documentation For windowskwesolowski2014-07-251-1/+1
| | | | | | | | | | On windows "system load" is not so obvious term, added line explaining N argument in -l N
| * Prepared load (-l N) support for windows.kwesolowski2014-07-251-3/+44
| | | | | | | | | | Inspired by: http://stackoverflow.com/questions/23143693/retrieving-cpu-load-percent-total-in-windows-with-c
* | Merge pull request #799 from ryo-on/netbsd-supportNico Weber2014-07-261-1/+6
|\ \ | |/ |/| Add NetBSD support.
| * Add NetBSD support.Ryo ONODERA2014-07-191-1/+6
|/ | | | It works fine under NetBSD/amd64 6.99.47.
* Merge pull request #788 from donkopotamus/patch-2Nico Weber2014-06-301-1/+5
|\ | | | | Add highlighting of rule in build statements
| * Add highlighting of rule in build statementsdonkopotamus2014-06-271-1/+5
| | | | | | Highlight the rule being used in a build statement. Also add `.` to acceptable characters in a rule name and relax whitespace matching before the name.
* | Merge pull request #755 from zmodem/working_dir_vs_msvc_toolNico Weber2014-06-291-8/+9
|\ \ | | | | | | Process the -C option before running RUN_AFTER_FLAGS tools.
| * | Process the -C option before running RUN_AFTER_FLAGS tools.Hans Wennborg2014-05-031-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings the flag more inline with its description: "change to DIR before doing anything else". The use case is to make it possible to use -C together with -t msvc. When debugging Windows builds, it's handy to be able to copy-paste the commands from "ninja -v" and make them run in the correct directory by adding this flag.
* | | mark this 1.5.1.gitNico Weber2014-06-271-1/+1
| | |
* | | Merge pull request #792 from nico/statdirNico Weber2014-06-272-2/+21
|\ \ \ | | | | | | | | try to fix stat()ing directories on windows in statcache code
| * | | try to fix stat()ing directories on windowsNico Weber2014-06-271-2/+0
| | | |
| * | | add more tests for stat()ing a directoryNico Weber2014-06-271-1/+16
| | | |
| * | | add a test for stat()ing a directoryNico Weber2014-06-271-0/+6
| | | |
* | | | Merge pull request #791 from nico/relmoreNico Weber2014-06-271-5/+4
|\ \ \ \ | | | | | | | | | | also note that branch release needs to be pushed
| * | | | also note that branch release needs to be pushedNico Weber2014-06-271-5/+4
|/ / / /
* | | | Merge pull request #790 from nico/relnotes2Nico Weber2014-06-271-1/+7
|\ \ \ \ | | | | | | | | | | expand RELEASING a bit
| * | | | expand RELEASING a bitNico Weber2014-06-271-1/+7
|/ / / /
* | | | mark this 1.5.0.git, update RELEASINGNico Weber2014-06-272-9/+10
|/ / /
* | | Merge pull request #789 from nico/dontwinNico Weber2014-06-273-7/+7
|\ \ \ | |_|/ |/| | Rename -d nowinstatcache to -d nostatcache; might become useful elsewhere (#787)
| * | Rename -d nowinstatcache to -d nostatcache; might become useful elsewhere (#787)Nico Weber2014-06-273-7/+7
|/ /
* | Merge pull request #786 from donkopotamus/patch-1Nico Weber2014-06-261-1/+1
|\ \ | | | | | | Update ninja-mode for emacs to handle hyphens in rule names
| * | Update ninja-mode for emacs to handle hyphens in rule namesdonkopotamus2014-06-261-1/+1
|/ /
* | Merge pull request #785 from nico/unusedNico Weber2014-06-251-1/+5
|\ \ | | | | | | Fix -Wunused-result warning for chdir on linux.
| * | Fix -Wunused-result warning for chdir on linux.Nico Weber2014-06-251-1/+5
| | |
* | | Merge pull request #784 from nico/statkeepNico Weber2014-06-206-12/+14
|\ \ \ | |/ / |/| | do not delete files from the logs that still exist on disk
| * | do not delete files from the logs that still exist on diskNico Weber2014-06-201-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is to keep the possibility of maybe having a tool that deletes old files in the future, or for having a tool which exposes this information to generators so they can do that. See https://github.com/martine/ninja/pull/697#issuecomment-37140762 and the discussion on #762. Idea from @maximuska!
| * | make Stat() a const methodNico Weber2014-06-195-11/+11
|/ /
* | Merge pull request #783 from sgraham/findexinfobasicNico Weber2014-06-191-1/+4
|\ \ | | | | | | use local definition of FindExInfoBasic for earlier sdks