1915 Commits

Author SHA1 Message Date
Fanael Linithien
6091cfefcd Use double semicolon comments. 2014-11-23 22:23:28 +01:00
Fanael Linithien
77d5c3a67a Don't leave lone closing parens. 2014-11-23 22:18:24 +01:00
Elan Ruusamäe
6fc15c47a0 no subshell
don't need subshell to send stderr to /dev/null
2014-11-23 12:35:03 -08:00
Evan Martin
2ab60038b6 Merge pull request #772 from drbo/syntax_bugfix
Added highlighting in Emacs for ${...} variables
2014-11-23 12:14:02 -08:00
Nico Weber
c528af904d Merge pull request #866 from nico/winfix
Fix Windows build after #862. Thanks to @harig for the report.
2014-11-22 11:45:18 -08:00
Nico Weber
13bd84f0ac Fix Windows build after #862. Thanks to @harig for the report. 2014-11-22 11:43:33 -08:00
Nico Weber
76bdba6c3e Merge pull request #862 from nico/browse
Make browse detection consistent with other platform checks.
2014-11-21 18:24:03 -08:00
Nico Weber
a70356433e Merge pull request #863 from nico/nopthread
Stop linking pthread.
2014-11-21 18:23:07 -08:00
Nico Weber
9870d3bc73 Remove now-unused variable test_libs. 2014-11-21 18:18:30 -08:00
Nico Weber
2af5eef7c7 Stop linking pthread.
It was only needed by gtest, which is no longer used.
(Intesting note: I checked when the -lpthread flag was added, and it's
been around since the first revision of build.ninja, which used to be
checked in before configure.py existed. Back then, it looks like '@' was
used to dereference built-in variables, and build outputs were also
prefixed by '@'!).
2014-11-21 18:15:35 -08:00
Nico Weber
0bf1bd3f8e Make browse detection consistent with other platform checks. 2014-11-20 16:56:17 -08:00
Nico Weber
60e8da125b Merge pull request #861 from nico/nosub
Remove duplicate import. No behavior change.
2014-11-20 16:49:52 -08:00
Nico Weber
e1f1a2cf65 Remove duplicate import. No behavior change. 2014-11-20 16:46:52 -08:00
Evan Martin
cf6bb1c3f3 Merge pull request #859 from martine/platform-helper
merge platform_helper into configure script
2014-11-18 11:50:09 -08:00
Evan Martin
684bf3815e merge platform_helper into configure script
With this code all in one place, it's easier to spot unused code and
simplification opportunities.
2014-11-18 11:37:12 -08:00
Evan Martin
1e21e5f441 drop leftover references to bootstrap.py 2014-11-18 09:58:45 -08:00
Evan Martin
ddeee43630 Merge pull request #858 from martine/travis-bootstrap
switch travis to use new --bootstrap mode for building
2014-11-18 09:51:08 -08:00
Evan Martin
62c10b9969 Merge pull request #813 from cdlm/emacs-mode-require-newline
Emacs mode: inherit from prog-mode
2014-11-18 09:44:38 -08:00
Evan Martin
fa7a159818 Merge pull request #836 from nocnokneo/patch-1
Mention optional files in installation instructions
2014-11-18 09:44:14 -08:00
Evan Martin
e4d72ef97c switch travis to use new --bootstrap mode for building 2014-11-18 09:07:43 -08:00
Evan Martin
f960dd253a Merge pull request #854 from martine/bootstrap
add a --bootstrap mode for configure.py
2014-11-18 09:06:48 -08:00
Evan Martin
ba1ede4989 drop NINJA_BOOTSTRAP define 2014-11-18 09:05:58 -08:00
Evan Martin
2970e703b4 Merge pull request #857 from martine/travis-python-test
also test ninja_syntax.py in travis
2014-11-18 08:48:39 -08:00
Evan Martin
741363ef14 also test ninja_syntax.py in travis 2014-11-18 08:23:09 -08:00
Evan Martin
bca80b12ff drop bootstrap.py
We now use configure.py --bootstrap.  Direct users of this script to
use the other one.
2014-11-18 08:15:37 -08:00
Evan Martin
dcd41dcef3 add a --bootstrap mode for configure.py
Instead of bootstrapping through a separate script, instead make
configure.py able to either generate a build.ninja *or* just execute
all the computed commands to build a ninja binary.
2014-11-18 08:15:37 -08:00
Evan Martin
76a95e45bb add an "expand" function to ninja_syntax
Implements basic variable expansion for use in configure.py.
2014-11-18 08:15:36 -08:00
Nico Weber
f323ff900a Merge pull request #856 from nico/TABS
emacs: Remove an empty line, wrap a comment.
2014-11-17 15:16:18 -08:00
Nico Weber
2cfb99985d emacs: Remove an empty line, wrap a comment. 2014-11-17 15:15:19 -08:00
Nico Weber
4daf9c9e83 Merge pull request #842 from nico/solaris
Fix building on Solaris.
2014-11-13 17:57:53 -08:00
Nico Weber
0823ffc091 Merge pull request #852 from nico/browse
Make sure configure.py and ninja.cc always agree on if -t browse is incl...
2014-11-13 17:56:12 -08:00
Nico Weber
a39b9577ba Make sure configure.py and ninja.cc always agree on if -t browse is included.
No behavior change on most platforms. On solaris, -t browse was compiled in
in ninja.cc but browse.cc wasn't compiled in, which probably means that building
on Solaris didn't work. It might be better now.

This also makes browse.cc automatically not included in bootstrap builds;
previously this was done manually through the NINJA_BOOTSTRAP check.
2014-11-13 17:54:05 -08:00
Nico Weber
1f3f8b452b Merge pull request #851 from nico/cleanup
Remove unused variables.
2014-11-13 17:35:10 -08:00
Nico Weber
2c241d7616 Remove unused variables. 2014-11-13 17:31:37 -08:00
Nico Weber
12be2ffc19 Merge pull request #850 from sgraham/ocd
whitespace/comment/wrap fixes, no intended functionality change
2014-11-12 12:47:35 -08:00
Nico Weber
23c11b4efa Merge pull request #849 from sgraham/set-err-canon-components
set *err when too many components in CanonicalizePath
2014-11-12 12:40:57 -08:00
Scott Graham
a023d9923c whitespace/comment/wrap fixes, no intended functionality change 2014-11-12 12:39:20 -08:00
Scott Graham
fb32064691 set *err when too many components in CanonicalizePath 2014-11-12 12:32:45 -08:00
Nico Weber
6aa1b4b6d3 Merge pull request #848 from sgraham/canon-maintain
Maintain bitvector of original slashes from manifest when canonicalizing
2014-11-12 10:10:29 -08:00
Scott Graham
cc8b72a87d properly guard against slash_bits overflow 2014-11-12 09:16:25 -08:00
Scott Graham
0c2982d13e fix not respecting length 2014-11-10 19:38:08 -08:00
Scott Graham
99a7209264 no need to save slash_bits, add comment 2014-11-10 17:55:18 -08:00
Scott Graham
d77fea08b7 save slash_bits in depslog 2014-11-10 17:18:16 -08:00
Scott Graham
b6e6564a60 no need to Decanonicalize on non-Windows 2014-11-10 16:35:31 -08:00
Scott Graham
aece8b098c fix CanonicalizePath going past StringPiece length + test 2014-11-10 14:48:55 -08:00
Scott Graham
7d60548d7b initialize slash_bits on non-win 2014-11-10 12:38:55 -08:00
Scott Graham
c47506449c make all GetNode explicit, add DepsLog canonicalize test 2014-11-10 12:00:16 -08:00
Scott Graham
fccce3f673 non-win compilation 2014-11-08 23:36:26 -08:00
Scott Graham
b01bd31b25 improve test 2014-11-08 23:32:21 -08:00
Scott Graham
bbeee64de2 assert no slashes in default GetNode 2014-11-08 23:10:34 -08:00