Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix syntax error in misc/write_fake_manifests.py | James Robinson | 2016-10-25 | 1 | -2/+2 |
| | | | | This is used by manifest_parser_perftest | ||||
* | enhance write_fake_manifest.py | Frank Benkstein | 2016-06-23 | 1 | -18/+71 |
| | | | | | | | | | | | | | | | Add an option to write_fake_manifest.py to generate sources expected by the manifest. Also slightly adapt command lines to the called commands. Together these changes mean that generated manifest can actually be executed successfully on Linux and OSX. Also add command line options to to change the number of targets being generated and the seed for the random number generator. Example usage: # create build directory in fake/build, sources in fake/src $ python misc/write_fake_manifest.py -s ../src fake/build # execute build in fake/build $ ninja -C fake/build | ||||
* | Make misc/measure.py compatible with python3 | KiYugadgeter | 2016-05-04 | 1 | -5/+7 |
| | |||||
* | Add support for implicit outputs in ninja_syntax.py. | Nicolas Despres | 2016-02-06 | 2 | -1/+13 |
| | |||||
* | Teach zsh to complete intermediary targets. | Nicolas Despres | 2015-12-24 | 1 | -3/+2 |
| | | | | | | | | Bash completion script uses "-t targets all" to list the target which is faster than "-t targets" and reports intermediary targets (see the manual entry for the 'targets' tool). See commit fc135c45. | ||||
* | Merge pull request #1042 from avallee/master | Evan Martin | 2015-12-06 | 2 | -2/+9 |
|\ | | | | | Fix wrapping file paths in Writer.comment | ||||
| * | Disable long word wrapping entirely in comments. | Alex Vallée | 2015-11-27 | 2 | -10/+3 |
| | | | | | | | | | | | | As pointed out by nico, we should unconditionally disable breaking of long words in comments. It is unlikely long words that are in comments should be split (like pathnames). | ||||
| * | Fix indent in pull request #1042. | Alex Vallee | 2015-11-12 | 1 | -1/+1 |
| | | |||||
| * | Fix wrapping file paths in Writer.comment | Alex Vallée | 2015-10-23 | 2 | -2/+16 |
| | | | | | | | | | | | | | | | | Long file names, especially with hyphens will get incorrectly wrapped by the comment method. Pass has_path=True to prevent this type of wrapping. This is mainly so that longer path names can show up in comments on their on line without breaking them up. | ||||
* | | Merge pull request #1047 from pykello/master | Nico Weber | 2015-11-12 | 1 | -3/+2 |
|\ \ | | | | | | | Speed-up bash target auto-complete. | ||||
| * | | Speed-up bash target auto-complete. | Hadi Moshayedi | 2015-10-31 | 1 | -3/+2 |
| |/ | | | | | | | | | | | | | | | These speed-ups include: * Let compgen do the command substitution. Similar to https://lists.gnu.org/archive/html/bug-bash/2012-03/msg00115.html * Use "cut" instead of "awk" for separating fields. | ||||
* | | Merge pull request #1046 from zed0/master | Nico Weber | 2015-11-12 | 1 | -2/+1 |
|\ \ | | | | | | | Speed up zsh target completion | ||||
| * | | Speed up zsh target completion | Ben Falconer | 2015-10-30 | 1 | -2/+1 |
| |/ | |||||
* | | Update link to point to ninja-build.org | Nico Weber | 2015-11-11 | 1 | -1/+1 |
| | | |||||
* | | Make links point to org page | Nico Weber | 2015-11-11 | 2 | -4/+4 |
|/ | |||||
* | Add notes on using afl-fuzz to HACKING. | Nico Weber | 2015-03-19 | 17 | -0/+21 |
| | |||||
* | zsh-completion: remove use of 'head' with negative offset | Fraser Cormack | 2014-12-20 | 1 | -1/+1 |
| | | | | | | | | | | Some systems - like OSX - don't come with a version of head that supports a negative value for the -n flag. Such systems get a message such as this when tab-completing ninja's -d flag: ninja -dhead: illegal line count -- -1 Using sed instead should be more universally supported. | ||||
* | Remove unneeded save-excursion. | Fanael Linithien | 2014-11-24 | 1 | -22/+21 |
| | | | | syntax-propertize-function is allowed to move the point and mark. | ||||
* | Use lexical-binding. | Fanael Linithien | 2014-11-23 | 1 | -1/+1 |
| | | | | | There's no reason not to use lexical-binding when supporting only Emacs 24+. Its semantics are just that much saner. | ||||
* | Add a Emacs 24 requirement. | Fanael Linithien | 2014-11-23 | 1 | -0/+2 |
| | | | | Only Emacs >= 24 has prog-mode. | ||||
* | Correctly recognize a comment if the previous line is a comment ending in $. | Fanael Linithien | 2014-11-23 | 1 | -2/+9 |
| | |||||
* | Avoid putting properties past the end of the buffer. | Fanael Linithien | 2014-11-23 | 1 | -1/+4 |
| | |||||
* | Don't use dotted list syntax unless necessary. | Fanael Linithien | 2014-11-23 | 1 | -4/+4 |
| | |||||
* | Remove unnecessary regexp group. | Fanael Linithien | 2014-11-23 | 1 | -2/+2 |
| | |||||
* | Correctly recognize comments. | Fanael Linithien | 2014-11-23 | 1 | -0/+17 |
| | |||||
* | Set up a proper syntax table for ninja-mode. | Fanael Linithien | 2014-11-23 | 1 | -5/+8 |
| | | | | | | | | Since quotes are not meant to be treated as string delimiters, the syntax table is the place to tell Emacs so. This also means syntactic fontification can be reenabled and the font-lock keyword entry for comments removed. | ||||
* | Set comment-start buffer-locally, not globally. | Fanael Linithien | 2014-11-23 | 1 | -1/+1 |
| | |||||
* | Use quasi-quoting instead of list+cons. | Fanael Linithien | 2014-11-23 | 1 | -15/+14 |
| | |||||
* | Reindent ninja-mode.el using Emacs. | Fanael Linithien | 2014-11-23 | 1 | -16/+16 |
| | | | | Emacs knows best how to indent Emacs Lisp. | ||||
* | Use double semicolon comments. | Fanael Linithien | 2014-11-23 | 1 | -2/+2 |
| | |||||
* | Don't leave lone closing parens. | Fanael Linithien | 2014-11-23 | 1 | -4/+2 |
| | |||||
* | no subshell | Elan Ruusamäe | 2014-11-23 | 1 | -1/+1 |
| | | | don't need subshell to send stderr to /dev/null | ||||
* | Merge pull request #772 from drbo/syntax_bugfix | Evan Martin | 2014-11-23 | 1 | -0/+1 |
|\ | | | | | Added highlighting in Emacs for ${...} variables | ||||
| * | Removed tab and added . in variable name regexp | Demetri Obenour | 2014-06-01 | 1 | -1/+1 |
| | | |||||
| * | Added highlighting in Emacs for ${...} variables | Demetri Obenour | 2014-06-01 | 1 | -0/+1 |
| | | |||||
* | | drop leftover references to bootstrap.py | Evan Martin | 2014-11-18 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #813 from cdlm/emacs-mode-require-newline | Evan Martin | 2014-11-18 | 1 | -2/+2 |
|\ \ | | | | | | | Emacs mode: inherit from prog-mode | ||||
| * | | Emacs mode: inherit from prog-mode | Damien Pollet | 2014-09-16 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | `prog-mode` ensures a final newline when saving files, which is useful since ninja fails otherwise. See `require-final-newline` and `mode-require-final-newline`. | ||||
* | | | add a --bootstrap mode for configure.py | Evan Martin | 2014-11-18 | 1 | -11/+15 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | add an "expand" function to ninja_syntax | Evan Martin | 2014-11-18 | 2 | -0/+41 |
| | | | | | | | | | | | | Implements basic variable expansion for use in configure.py. | ||||
* | | | emacs: Remove an empty line, wrap a comment. | Nico Weber | 2014-11-17 | 1 | -2/+2 |
| | | | |||||
* | | | CanonicalizePath handles \ on Windows | Scott Graham | 2014-10-30 | 1 | -1/+1 |
| | | | |||||
* | | | Add zsh completion for targets in conjunction with -C | Fraser Cormack | 2014-10-24 | 1 | -1/+8 |
|/ / | | | | | | | | | zsh can now list completions for targets in the directory specified by the -C option | ||||
* | | Add highlighting of rule in build statements | donkopotamus | 2014-06-27 | 1 | -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. | ||||
* | | Update ninja-mode for emacs to handle hyphens in rule names | donkopotamus | 2014-06-26 | 1 | -1/+1 |
| | | |||||
* | | Version 1.4 of the vim syntax file was merged. | Nico Weber | 2014-06-12 | 1 | -1/+1 |
|/ | | | See https://code.google.com/p/vim/source/detail?r=92751673cc37c9ef4d1ad1ac4d42d36faa67f88f | ||||
* | Merge pull request #768 from nico/vimsyn | Nico Weber | 2014-05-30 | 1 | -2/+4 |
|\ | | | | | vim syntax: Correctly highlight $$a as ($$)a instead of $($a). | ||||
| * | vim syntax: Correctly highlight $$a as ($$)a instead of $($a). | Nico Weber | 2014-05-13 | 1 | -2/+4 |
| | | |||||
* | | Merge pull request #756 from ronnychevalier/rc/zsh_completion | Nico Weber | 2014-05-05 | 1 | -3/+44 |
|\ \ | | | | | | | improve zsh completion | ||||
| * | | improve zsh completion | Ronny Chevalier | 2014-05-04 | 1 | -3/+44 |
| |/ |