summaryrefslogtreecommitdiffstats
path: root/misc
Commit message (Collapse)AuthorAgeFilesLines
* Add notes on using afl-fuzz to HACKING.Nico Weber2015-03-1917-0/+21
|
* zsh-completion: remove use of 'head' with negative offsetFraser Cormack2014-12-201-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 Linithien2014-11-241-22/+21
| | | | syntax-propertize-function is allowed to move the point and mark.
* Use lexical-binding.Fanael Linithien2014-11-231-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 Linithien2014-11-231-0/+2
| | | | Only Emacs >= 24 has prog-mode.
* Correctly recognize a comment if the previous line is a comment ending in $.Fanael Linithien2014-11-231-2/+9
|
* Avoid putting properties past the end of the buffer.Fanael Linithien2014-11-231-1/+4
|
* Don't use dotted list syntax unless necessary.Fanael Linithien2014-11-231-4/+4
|
* Remove unnecessary regexp group.Fanael Linithien2014-11-231-2/+2
|
* Correctly recognize comments.Fanael Linithien2014-11-231-0/+17
|
* Set up a proper syntax table for ninja-mode.Fanael Linithien2014-11-231-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 Linithien2014-11-231-1/+1
|
* Use quasi-quoting instead of list+cons.Fanael Linithien2014-11-231-15/+14
|
* Reindent ninja-mode.el using Emacs.Fanael Linithien2014-11-231-16/+16
| | | | Emacs knows best how to indent Emacs Lisp.
* Use double semicolon comments.Fanael Linithien2014-11-231-2/+2
|
* Don't leave lone closing parens.Fanael Linithien2014-11-231-4/+2
|
* no subshellElan Ruusamäe2014-11-231-1/+1
| | | don't need subshell to send stderr to /dev/null
* Merge pull request #772 from drbo/syntax_bugfixEvan Martin2014-11-231-0/+1
|\ | | | | Added highlighting in Emacs for ${...} variables
| * Removed tab and added . in variable name regexpDemetri Obenour2014-06-011-1/+1
| |
| * Added highlighting in Emacs for ${...} variablesDemetri Obenour2014-06-011-0/+1
| |
* | drop leftover references to bootstrap.pyEvan Martin2014-11-181-1/+1
| |
* | Merge pull request #813 from cdlm/emacs-mode-require-newlineEvan Martin2014-11-181-2/+2
|\ \ | | | | | | Emacs mode: inherit from prog-mode
| * | Emacs mode: inherit from prog-modeDamien Pollet2014-09-161-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.pyEvan Martin2014-11-181-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_syntaxEvan Martin2014-11-182-0/+41
| | | | | | | | | | | | Implements basic variable expansion for use in configure.py.
* | | emacs: Remove an empty line, wrap a comment.Nico Weber2014-11-171-2/+2
| | |
* | | CanonicalizePath handles \ on WindowsScott Graham2014-10-301-1/+1
| | |
* | | Add zsh completion for targets in conjunction with -CFraser Cormack2014-10-241-1/+8
|/ / | | | | | | | | zsh can now list completions for targets in the directory specified by the -C option
* | 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.
* | Update ninja-mode for emacs to handle hyphens in rule namesdonkopotamus2014-06-261-1/+1
| |
* | Version 1.4 of the vim syntax file was merged.Nico Weber2014-06-121-1/+1
|/ | | See https://code.google.com/p/vim/source/detail?r=92751673cc37c9ef4d1ad1ac4d42d36faa67f88f
* Merge pull request #768 from nico/vimsynNico Weber2014-05-301-2/+4
|\ | | | | vim syntax: Correctly highlight $$a as ($$)a instead of $($a).
| * vim syntax: Correctly highlight $$a as ($$)a instead of $($a).Nico Weber2014-05-131-2/+4
| |
* | Merge pull request #756 from ronnychevalier/rc/zsh_completionNico Weber2014-05-051-3/+44
|\ \ | | | | | | improve zsh completion
| * | improve zsh completionRonny Chevalier2014-05-041-3/+44
| |/
* | Get rid of unused importChris Drake2014-05-051-1/+0
| |
* | Use consistent indentation conventionsChris Drake2014-05-051-17/+17
|/
* Fix getopts barfing over the terminal when trying to complete -f and -CTaylor Braun-Jones2014-04-301-1/+1
| | | | | Note that this is only applicable for when bash_completion is unavailable.
* Support completion of arguments to -f and -C optionsTaylor Braun-Jones2014-04-301-2/+19
| | | | Note: This is only available for bash_completion users.
* Style: Fix inconsistent indentationTaylor Braun-Jones2014-04-251-17/+17
|
* Fix bash-completion support for -C option to expand tildeTaylor Braun-Jones2014-04-251-1/+2
|
* Expand the -C argument via ‘eval’ in bash completionAllan Odgaard2014-04-151-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 optionsAllan Odgaard2014-04-151-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/manifestgenNico Weber2014-04-141-0/+219
|\ | | | | add a script to generate large synthetic manifests
| * add a script to generate large synthetic manifestsNico Weber2014-03-251-0/+219
| | | | | | | | To be used by a manifest parser perf test in a follow-up.
* | performance: Writer.build should copy less.Daniel Bratell2014-04-141-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 itselfSteve Purcell2014-01-221-0/+2
|
* Merge branch 'fix-provide-form' of git://github.com/yasuyk/ninjaEvan Martin2014-01-211-2/+2
|\ | | | | | | | | Conflicts: misc/ninja-mode.el
| * emacs: Place provide form at end of fileYasuyuki Oka2014-01-211-2/+2
| | | | | | | | | | Any errors in the code after "provide" will leave the feature registered, so it should always be at the end.
* | Merge branch 'fix-warning' of git://github.com/yasuyk/ninjaEvan Martin2014-01-211-1/+1
|\ \ | | | | | | | | | | | | Conflicts: misc/ninja-mode.el