summaryrefslogtreecommitdiffstats
path: root/misc
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | emacs: Fix a warningYasuyuki Oka2014-01-211-1/+1
| |/ | | | | | | | | Fix a following byte-compile warning: ninja-mode.el:18:7:Warning: assignment to free variable `ninja-keywords'
* | emacs: ELPA compatibilityYasuyuki Oka2014-01-211-0/+8
|/
* Note that version 1.3 of the vim syntax file has been sent upstream.Nico Weber2013-04-161-2/+8
| | | | | | | Also fix an issue noticed by Bram during integration: Make sure to set "cpo" correctly. This matches other vim syntax files and is required to make sure that the backslash continuation works with all .vimrc files (see `:help line-continuation`).
* make unittest match module nameEvan Martin2013-04-101-0/+0
|
* ninja.vim: add deps as keywordyannicklm2013-04-091-2/+2
| | | | new in ninja 1.3
* rename "special" to "deps"Evan Martin2013-04-081-3/+3
|
* add "special=gcc" attribute, use to load depslogEvan Martin2013-04-081-1/+3
|
* Improved bash completion when using tools like '-t clean'Guilherme Bufolo2013-04-061-11/+18
|
* Removed re2c build dependency from RPM spec filePetr Hosek2013-01-211-1/+1
|
* Use correct Fedora versioning schemePetr Hosek2013-01-151-4/+4
|
* RPM spec file should use correct versioning scheme and list all build ↵Petr Hosek2013-01-141-1/+3
| | | | dependencies
* ninja_syntax.py: don't add trailing space when build has no inputsEvan Martin2012-12-291-3/+2
| | | | Seen in Ninja's configure.py where it creates an "rpmbuild" command.
* Update version number in ninja.vim after recent changes.Nico Weber2012-12-151-2/+2
|
* Merge pull request #471 from riannucci/fix_vim_syntaxEvan Martin2012-12-141-1/+7
|\ | | | | Fix vim syntax
| * Add missing rspfile and rspfile_contentRobert Iannucci2012-12-141-1/+1
| |
| * Add ninja.vim syntax for poolRobert Iannucci2012-12-141-1/+7
| |
* | Merge pull request #472 from riannucci/add_python_pool_syntaxEvan Martin2012-12-141-1/+8
|\ \ | | | | | | Add python ninja_syntax.py support for pool
| * | Add python ninja_syntax.py support for poolRobert Iannucci2012-12-141-1/+8
| |/
* | Add missing default keywordRobert Iannucci2012-12-141-1/+1
| |
* | Add poolRobert Iannucci2012-12-141-1/+2
|/
* Add support for reading directory for bash completion.Tommy Nyquist2012-10-301-2/+10
| | | | | | Currently ninja bash completion only works in the directory where the build.ninja files is located. This adds support for using the -C argument to ninja.
* Add support for Python 3Zaheer Chothia2012-10-182-2/+6
|
* packaging: refactored rpm buildingMaxim Kalaev2012-09-232-7/+43
| | | | Now passing through a valid SRPM, working in a standard way.
* packaging: added basic RPM buildingMaxim Kalaev2012-07-271-0/+33
|
* ninja_syntax: escape colons in pathsEvan Martin2012-07-171-6/+6
|
* Rename parsers.* to manifest_parser.*Thiago Farina2012-07-091-3/+3
| | | | | | So it matches with the class name in there. Signed-off-by: Thiago Farina <tfarina@chromium.org>
* Make `:set spell` only check spelling in comments. Patch from Thilo Six ↵Nico Weber2012-06-011-4/+4
| | | | <T.Six@gmx.de>!
* vim syntax file: Highlight ninja comments.Nico Weber2012-05-141-3/+6
|
* Fix layout width in ninja_syntax.py.Nico Weber2012-05-022-1/+13
| | | | | | | The last line would sometimes be needlessly longer than the layout width. One example is line 67 in the build.ninja generated by ninja's own configure.py: Before this patch, ninja_syntax would create a 81 character line.
* emacs: hook up ninja-mode to extensionEvan Martin2012-04-281-0/+4
|
* add rspfile and rspfile_content to ninja_syntaxScott Graham2012-03-271-1/+5
|
* Explicitly turn input/output lists into list objects.Scott Franklin2012-01-281-2/+2
| | | | Python 3 does not support map.append/extend.
* Merge pull request #185 from nico/vimEvan Martin2012-01-051-0/+66
|\ | | | | Add a ninja syntax file for vim.
| * Add a ninja syntax file for vim.Nico Weber2012-01-041-0/+66
| |
* | ninja_syntax.py: Fix a bug when passing dict variables to Writer.build()Evan Jones2012-01-042-1/+27
|/ | | | Add a test to cover both dict and list variables.
* add script for measuring build performanceEvan Martin2011-12-291-0/+54
|