Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | 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 |
| |/ | |||||
* | | Get rid of unused import | Chris Drake | 2014-05-05 | 1 | -1/+0 |
| | | |||||
* | | Use consistent indentation conventions | Chris Drake | 2014-05-05 | 1 | -17/+17 |
|/ | |||||
* | Fix getopts barfing over the terminal when trying to complete -f and -C | Taylor Braun-Jones | 2014-04-30 | 1 | -1/+1 |
| | | | | | Note that this is only applicable for when bash_completion is unavailable. | ||||
* | Support completion of arguments to -f and -C options | Taylor Braun-Jones | 2014-04-30 | 1 | -2/+19 |
| | | | | Note: This is only available for bash_completion users. | ||||
* | Style: Fix inconsistent indentation | Taylor Braun-Jones | 2014-04-25 | 1 | -17/+17 |
| | |||||
* | Fix bash-completion support for -C option to expand tilde | Taylor Braun-Jones | 2014-04-25 | 1 | -1/+2 |
| | |||||
* | Expand the -C argument via ‘eval’ in bash completion | Allan Odgaard | 2014-04-15 | 1 | -1/+1 |
| | | | | | | Previously completion would not work for ‘ninja -C $HOME/Source/foo targ‸’. We still do not support using tilde in the directory argument. | ||||
* | Fix bash completion when using command options | Allan Odgaard | 2014-04-15 | 1 | -1/+1 |
| | | | | | | | | By quoting the ‘line’ variable we are making it a single word, but ‘getopts’ wants each option as its own word. Previously bash completion would output an error for a line like: ‘ninja -vn targ‸’. In addition to removing the quotes (to enable word expansion) I also used it as a regular variable, as that is what it is (not an array). | ||||
* | Merge pull request #722 from nico/manifestgen | Nico Weber | 2014-04-14 | 1 | -0/+219 |
|\ | | | | | add a script to generate large synthetic manifests | ||||
| * | add a script to generate large synthetic manifests | Nico Weber | 2014-03-25 | 1 | -0/+219 |
| | | | | | | | | To be used by a manifest parser perf test in a follow-up. | ||||
* | | performance: Writer.build should copy less. | Daniel Bratell | 2014-04-14 | 1 | -5/+4 |
|/ | | | | | | The build method copies the input lists several times. That cost about 0.1s in the gyp generation for the Chromium project for no gain. | ||||
* | ninja-mode: add autoload cookie for the mode itself | Steve Purcell | 2014-01-22 | 1 | -0/+2 |
| | |||||
* | Merge branch 'fix-provide-form' of git://github.com/yasuyk/ninja | Evan Martin | 2014-01-21 | 1 | -2/+2 |
|\ | | | | | | | | | Conflicts: misc/ninja-mode.el | ||||
| * | emacs: Place provide form at end of file | Yasuyuki Oka | 2014-01-21 | 1 | -2/+2 |
| | | | | | | | | | | Any errors in the code after "provide" will leave the feature registered, so it should always be at the end. |