]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
11 years agoFix #104
Dmitry Gutov [Fri, 10 May 2013 13:42:01 +0000 (17:42 +0400)]
Fix #104

11 years agojs2-auto-insert-catch-block: Unused, remove
Dmitry Gutov [Fri, 10 May 2013 12:30:40 +0000 (16:30 +0400)]
js2-auto-insert-catch-block: Unused, remove

11 years agojs2-imenu-extras: Define a minor mode
Dmitry Gutov [Fri, 10 May 2013 12:16:48 +0000 (16:16 +0400)]
js2-imenu-extras: Define a minor mode

js2-do-parse: Use `run-hooks' on `js2-post-parse-callbacks'.
js2-post-parse-callbacks: Use `add-hook'.

The old way to set up this should still work, too.

11 years agoMerge pull request #103 from johan/interpreter-mode-alist
Dmitry Gutov [Fri, 3 May 2013 07:04:33 +0000 (00:04 -0700)]
Merge pull request #103 from johan/interpreter-mode-alist

Also aid  "#! /usr/bin/env node" type auto major mode selection

11 years agoAlso aid "#! /usr/bin/env node" type auto major mode selection
Johan Sundström [Fri, 3 May 2013 06:59:27 +0000 (23:59 -0700)]
Also aid "#! /usr/bin/env node" type auto major mode selection

11 years agoMerge pull request #101 from pd/node-typed-arrays
Dmitry Gutov [Wed, 1 May 2013 04:47:28 +0000 (21:47 -0700)]
Merge pull request #101 from pd/node-typed-arrays

Add typed array externs

11 years agoAdd js2-typed-array-externs, js2-set-default-externs
Kyle Hargraves [Wed, 1 May 2013 03:37:59 +0000 (20:37 -0700)]
Add js2-typed-array-externs, js2-set-default-externs

11 years agoAdd typed array types to js2-node-externs
Kyle Hargraves [Tue, 30 Apr 2013 21:33:28 +0000 (14:33 -0700)]
Add typed array types to js2-node-externs

node.js has supported typed arrays since 0.6:

https://github.com/joyent/node/wiki/API-changes-between-v0.4-and-v0.6
https://github.com/joyent/node/issues/1322
https://github.com/joyent/node/commit/97b0000

11 years agoMerge pull request #95 from ruediger/typed-array-externs
Dmitry Gutov [Tue, 9 Apr 2013 16:23:01 +0000 (09:23 -0700)]
Merge pull request #95 from ruediger/typed-array-externs

Typed array externs and console object

11 years agoTyped Array: remove TypedArray and ArrayBufferView.
Rüdiger Sonderfeld [Tue, 9 Apr 2013 16:20:02 +0000 (18:20 +0200)]
Typed Array: remove TypedArray and ArrayBufferView.

They are just interfaces.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11 years agoAdd console Object to browser externs.
Rüdiger Sonderfeld [Tue, 9 Apr 2013 14:51:59 +0000 (16:51 +0200)]
Add console Object to browser externs.

console is provided by at least Firefox and Chrome.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11 years agoAdd Typed Array Spec Externs.
Rüdiger Sonderfeld [Tue, 9 Apr 2013 14:51:19 +0000 (16:51 +0200)]
Add Typed Array Spec Externs.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11 years agoMerge pull request #93 from ruediger/use-asm
Dmitry Gutov [Thu, 4 Apr 2013 15:34:19 +0000 (08:34 -0700)]
Merge pull request #93 from ruediger/use-asm

Treat "use asm" as having side effects.

11 years agoTreat "use asm" as having side effects.
Rüdiger Sonderfeld [Thu, 4 Apr 2013 13:16:27 +0000 (15:16 +0200)]
Treat "use asm" as having side effects.

Support for asm.js.  Change in `js2-node-has-side-effects'.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11 years ago* js2-multiline-decl-indentation: Simplify a logical condition
Dmitry Gutov [Thu, 7 Mar 2013 16:12:12 +0000 (20:12 +0400)]
* js2-multiline-decl-indentation: Simplify a logical condition

11 years agoemacs -l doesn't handle wilcards
Dmitry Gutov [Thu, 7 Mar 2013 02:22:39 +0000 (06:22 +0400)]
emacs -l doesn't handle wilcards

11 years agoUpdate Makefile
Dmitry Gutov [Thu, 7 Mar 2013 02:19:16 +0000 (06:19 +0400)]
Update Makefile

11 years agoFix #89
Dmitry Gutov [Thu, 7 Mar 2013 02:15:18 +0000 (06:15 +0400)]
Fix #89

11 years agoAdd some indentation tests
Dmitry Gutov [Thu, 7 Mar 2013 02:09:18 +0000 (06:09 +0400)]
Add some indentation tests

11 years agotests{ast -> parser}.el
Dmitry Gutov [Thu, 7 Mar 2013 01:33:33 +0000 (05:33 +0400)]
tests{ast -> parser}.el

11 years ago* js2-mode-forward-sexp: never jump over an unbalanced paren
Dmitry Gutov [Thu, 28 Feb 2013 07:38:33 +0000 (11:38 +0400)]
* js2-mode-forward-sexp: never jump over an unbalanced paren

Fixes #78

11 years agoFix js2-node-[lr]p for js2-paren-node
Dmitry Gutov [Wed, 27 Feb 2013 21:02:16 +0000 (01:02 +0400)]
Fix js2-node-[lr]p for js2-paren-node

11 years agoRemove some of the unused definitions
Dmitry Gutov [Tue, 26 Feb 2013 23:19:58 +0000 (03:19 +0400)]
Remove some of the unused definitions

11 years agoFix #87
Dmitry Gutov [Tue, 26 Feb 2013 21:36:30 +0000 (01:36 +0400)]
Fix #87

11 years agojs2-insert-and-indent was unused
Dmitry Gutov [Tue, 26 Feb 2013 20:00:03 +0000 (00:00 +0400)]
js2-insert-and-indent was unused

11 years agoUse \\' instead of $
Dmitry Gutov [Tue, 19 Feb 2013 15:16:33 +0000 (19:16 +0400)]
Use \\' instead of $

11 years agoBump the date
Dmitry Gutov [Tue, 19 Feb 2013 02:18:07 +0000 (06:18 +0400)]
Bump the date

11 years agoDon't include Rhino externs by default, too
Dmitry Gutov [Tue, 19 Feb 2013 02:12:58 +0000 (06:12 +0400)]
Don't include Rhino externs by default, too

11 years agoSupport Node.js externs
Dmitry Gutov [Tue, 19 Feb 2013 02:12:06 +0000 (06:12 +0400)]
Support Node.js externs

Close #86

11 years agojs2-add-browser-externs is not defined
Dmitry Gutov [Tue, 19 Feb 2013 01:51:03 +0000 (05:51 +0400)]
js2-add-browser-externs is not defined

11 years agoGoogle Gears has been dead for a while now
Dmitry Gutov [Tue, 19 Feb 2013 01:46:21 +0000 (05:46 +0400)]
Google Gears has been dead for a while now

11 years agoAdd URL header and some explanation
Dmitry Gutov [Tue, 19 Feb 2013 01:44:48 +0000 (05:44 +0400)]
Add URL header and some explanation

11 years agoRemove leftover make-obsolete-variable statement
Dmitry Gutov [Sun, 17 Feb 2013 04:21:45 +0000 (08:21 +0400)]
Remove leftover make-obsolete-variable statement

11 years agoUpdate copyright notice; switch back to date-based versioning
Dmitry Gutov [Sun, 17 Feb 2013 04:18:50 +0000 (08:18 +0400)]
Update copyright notice; switch back to date-based versioning

The latter, by popular demand. Apparently, 2009xxxx > 1.1, so this change will
make the users of the old js2-mode who installed it through package.el (and who
don't use Melpa) definitely notice the new version.

11 years agoMerge branch 'emacs24'
Dmitry Gutov [Sun, 17 Feb 2013 04:05:13 +0000 (08:05 +0400)]
Merge branch 'emacs24'

Emacs 24-only code is now master, for legacy check out emacs23.

The commit log is going to have a lot of duplicates, sorry about that.
Still, this way, many users can do a fast-forward merge.

11 years agoLink to branch emacs23
Dmitry Gutov [Sun, 17 Feb 2013 03:47:08 +0000 (07:47 +0400)]
Link to branch emacs23

11 years agoRemove link to js2-highlight-vars-mode, add one to skewer-mode
Dmitry Gutov [Sun, 17 Feb 2013 03:41:17 +0000 (07:41 +0400)]
Remove link to js2-highlight-vars-mode, add one to skewer-mode

11 years agoRemove link to js2-highlight-vars-mode, add one to skewer-mode
Dmitry Gutov [Sun, 17 Feb 2013 03:41:17 +0000 (07:41 +0400)]
Remove link to js2-highlight-vars-mode, add one to skewer-mode

11 years agoChange the wiki link
Dmitry Gutov [Sun, 17 Feb 2013 03:28:03 +0000 (07:28 +0400)]
Change the wiki link

11 years agoChange the wiki link
Dmitry Gutov [Sun, 17 Feb 2013 03:28:03 +0000 (07:28 +0400)]
Change the wiki link

11 years agokeywords-as-property-names is also valid JS 5.1
Dmitry Gutov [Sun, 17 Feb 2013 03:14:38 +0000 (07:14 +0400)]
keywords-as-property-names is also valid JS 5.1

Refs #41

11 years agokeywords-as-property-names is also valid JS 5.1
Dmitry Gutov [Sun, 17 Feb 2013 03:14:38 +0000 (07:14 +0400)]
keywords-as-property-names is also valid JS 5.1

Refs #41

11 years agoTrailing comma is legal ecma-262-5.1
Dmitry Gutov [Sun, 17 Feb 2013 02:52:05 +0000 (06:52 +0400)]
Trailing comma is legal ecma-262-5.1

Fixes #85

11 years agoTrailing comma is legal ecma-262-5.1
Dmitry Gutov [Sun, 17 Feb 2013 02:52:05 +0000 (06:52 +0400)]
Trailing comma is legal ecma-262-5.1

Fixes #85

11 years agoMark the obsolete variables as such
Dmitry Gutov [Sun, 10 Feb 2013 06:02:06 +0000 (10:02 +0400)]
Mark the obsolete variables as such

Close #80

11 years agoMake sure js2-mode-ast is available for callbacks
Dmitry Gutov [Sun, 10 Feb 2013 05:03:53 +0000 (09:03 +0400)]
Make sure js2-mode-ast is available for callbacks

11 years agoMake sure js2-mode-ast is available for callbacks
Dmitry Gutov [Sun, 10 Feb 2013 05:03:53 +0000 (09:03 +0400)]
Make sure js2-mode-ast is available for callbacks

11 years agoReturns -> Return
Dmitry Gutov [Wed, 26 Dec 2012 03:33:43 +0000 (07:33 +0400)]
Returns -> Return

11 years agoToggles -> Toggle
Dmitry Gutov [Wed, 26 Dec 2012 03:26:21 +0000 (07:26 +0400)]
Toggles -> Toggle

11 years ago2011, too
Dmitry Gutov [Tue, 25 Dec 2012 00:08:50 +0000 (04:08 +0400)]
2011, too

11 years agoTweak headers, remove extra vars, set the version to 1.0
Dmitry Gutov [Mon, 24 Dec 2012 23:23:00 +0000 (03:23 +0400)]
Tweak headers, remove extra vars, set the version to 1.0

11 years agoTweak headers, remove extra variables, set the version to 1.1
Dmitry Gutov [Mon, 24 Dec 2012 23:20:16 +0000 (03:20 +0400)]
Tweak headers, remove extra variables, set the version to 1.1

11 years agoClose #79
Dmitry Gutov [Mon, 24 Dec 2012 22:45:13 +0000 (02:45 +0400)]
Close #79

11 years agoMerge branch 'master' into emacs24
Dmitry Gutov [Wed, 12 Dec 2012 21:27:53 +0000 (01:27 +0400)]
Merge branch 'master' into emacs24

Conflicts:
js2-mode.el

11 years agoFix #77, left over from #58
Dmitry Gutov [Wed, 12 Dec 2012 21:21:22 +0000 (01:21 +0400)]
Fix #77, left over from #58

Also, don't walk the tree unless js2-mode-show-overlay is t.

11 years agoPretend to merge branch 'master' into emacs24
Dmitry Gutov [Wed, 12 Dec 2012 21:17:07 +0000 (01:17 +0400)]
Pretend to merge branch 'master' into emacs24

Conflicts:
README.md
js2-mode.el

11 years agoShow keybindings in the mode description
Dmitry Gutov [Wed, 3 Oct 2012 01:31:10 +0000 (05:31 +0400)]
Show keybindings in the mode description

Close #71

11 years agoFix #68
Dmitry Gutov [Sat, 29 Sep 2012 02:34:07 +0000 (06:34 +0400)]
Fix #68

While we're at it, allow empty lines inside a continued expression.

11 years agoFix #68
Dmitry Gutov [Sat, 29 Sep 2012 02:34:07 +0000 (06:34 +0400)]
Fix #68

While we're at it, allow empty lines inside a continued expression.

11 years agojs2-mode-extend-comment: Move (js2-indent-line) outside the (cond)
Dmitry Gutov [Sat, 22 Sep 2012 19:06:47 +0000 (23:06 +0400)]
js2-mode-extend-comment: Move (js2-indent-line) outside the (cond)

11 years agoSimplify error list annotation and destructuring
Dmitry Gutov [Sat, 22 Sep 2012 18:51:52 +0000 (22:51 +0400)]
Simplify error list annotation and destructuring

11 years agoFix js2-display-error-list
Dmitry Gutov [Sat, 22 Sep 2012 13:31:20 +0000 (17:31 +0400)]
Fix js2-display-error-list

Regression from 14c6ea539b9ee7b98d0c6b870c23202798ba37b3

11 years agoDon't need `funcall` where FUNCTION is constant
Dmitry Gutov [Sat, 22 Sep 2012 04:00:18 +0000 (08:00 +0400)]
Don't need `funcall` where FUNCTION is constant

11 years agoRemove run-mode-hooks call, define-derived-mode already does that
Dmitry Gutov [Wed, 12 Sep 2012 01:33:59 +0000 (05:33 +0400)]
Remove run-mode-hooks call, define-derived-mode already does that

11 years agoyou -> your
Dmitry Gutov [Tue, 11 Sep 2012 02:03:10 +0000 (06:03 +0400)]
you -> your

11 years agoyou -> your
Dmitry Gutov [Tue, 11 Sep 2012 02:03:10 +0000 (06:03 +0400)]
you -> your

11 years agoMove "the" outside the link
Dmitry Gutov [Tue, 11 Sep 2012 01:59:45 +0000 (05:59 +0400)]
Move "the" outside the link

11 years agoAdd section "Emacs 22 and 23"
Dmitry Gutov [Tue, 11 Sep 2012 01:58:19 +0000 (05:58 +0400)]
Add section "Emacs 22 and 23"

11 years agoAdd section "Emacs 24"
Dmitry Gutov [Tue, 11 Sep 2012 01:54:25 +0000 (05:54 +0400)]
Add section "Emacs 24"

11 years agoTweak `js2-line-break` behavior, bind it to M-j
Dmitry Gutov [Tue, 11 Sep 2012 01:13:30 +0000 (05:13 +0400)]
Tweak `js2-line-break` behavior, bind it to M-j

js2-indent-on-enter-key, js2-enter-indents-newline: Remove.
js2-line-break: Always indent the line.
js2-mode-split-string: Use js2-indent-line. Remove the variable quote-string.
js2-mode-extend-comment: Support block comments at the end of the line.
Delete whitespace around the newline. Always indent the line.

11 years agoMerge branch 'master' into emacs24
Dmitry Gutov [Mon, 10 Sep 2012 03:40:44 +0000 (07:40 +0400)]
Merge branch 'master' into emacs24

11 years agoFix #66
Dmitry Gutov [Sat, 8 Sep 2012 16:06:49 +0000 (20:06 +0400)]
Fix #66

11 years agoMerge branch 'master' into emacs24
Dmitry Gutov [Tue, 4 Sep 2012 01:15:54 +0000 (05:15 +0400)]
Merge branch 'master' into emacs24

11 years agoFix #63
Dmitry Gutov [Mon, 3 Sep 2012 22:42:57 +0000 (02:42 +0400)]
Fix #63

11 years agoMerge branch 'master' into emacs24
Dmitry Gutov [Mon, 3 Sep 2012 03:15:54 +0000 (07:15 +0400)]
Merge branch 'master' into emacs24

11 years agoFix infinite timers loop
Dmitry Gutov [Sun, 2 Sep 2012 22:29:44 +0000 (02:29 +0400)]
Fix infinite timers loop

Refs #49

11 years agojs2-mode-forward-sexp: When inside "parens", jump over closest child node
Dmitry Gutov [Sun, 2 Sep 2012 22:03:16 +0000 (02:03 +0400)]
js2-mode-forward-sexp: When inside "parens", jump over closest child node

11 years agojs2-mode-forward-sexp-parens: if/else and loop bodies are js2-scope nodes
Dmitry Gutov [Sun, 2 Sep 2012 18:22:32 +0000 (22:22 +0400)]
js2-mode-forward-sexp-parens: if/else and loop bodies are js2-scope nodes

11 years agoMerge branch 'master' into emacs24
Dmitry Gutov [Fri, 31 Aug 2012 04:18:35 +0000 (08:18 +0400)]
Merge branch 'master' into emacs24

11 years agojs2-mode-forward-sexp: Signal scan-error when start == rp
Dmitry Gutov [Fri, 31 Aug 2012 03:39:17 +0000 (07:39 +0400)]
js2-mode-forward-sexp: Signal scan-error when start == rp

11 years agojs2-mode-forward-sexp: backtrack before signaling scan-error
Dmitry Gutov [Wed, 29 Aug 2012 19:33:52 +0000 (23:33 +0400)]
js2-mode-forward-sexp: backtrack before signaling scan-error

* Jump past the semicolon when current node's parent is expr-stmt-node.

11 years agojs2-mode-forward-sexp: Behave more similarly to `forward-sexp'
Dmitry Gutov [Wed, 29 Aug 2012 17:24:47 +0000 (21:24 +0400)]
js2-mode-forward-sexp: Behave more similarly to `forward-sexp'

* Stop at node parens
* Signal scan-error upon reaching a parenthesized expression boundary
* If the buffer is dirty, reparse it synchronously

This increases compatibility with standard *-list commands, evil-mode paren
motions, and blink-matching-paren feature.

Close #56
Close #44

js2-node-rp: Fix for js2-elem-get-node.

11 years agoFix #58
Dmitry Gutov [Fri, 13 Jul 2012 03:43:38 +0000 (07:43 +0400)]
Fix #58

11 years agoMerge branch 'master' into emacs24
Dmitry Gutov [Fri, 6 Jul 2012 00:22:25 +0000 (04:22 +0400)]
Merge branch 'master' into emacs24

11 years agoFix #57
Dmitry Gutov [Fri, 6 Jul 2012 00:21:19 +0000 (04:21 +0400)]
Fix #57

11 years agoMerge branch 'master' into emacs24
Dmitry Gutov [Sun, 17 Jun 2012 08:39:19 +0000 (12:39 +0400)]
Merge branch 'master' into emacs24

Conflicts:
js2-mode.el

11 years agoMake some lines tighter
Dmitry Gutov [Sun, 17 Jun 2012 08:33:25 +0000 (12:33 +0400)]
Make some lines tighter

11 years agoFix comment
Dmitry Gutov [Sun, 17 Jun 2012 08:13:48 +0000 (12:13 +0400)]
Fix comment

11 years agoParse rest parameter
Dmitry Gutov [Sun, 17 Jun 2012 07:42:41 +0000 (11:42 +0400)]
Parse rest parameter

Closes #51

11 years agoParse default parameters
Dmitry Gutov [Sun, 17 Jun 2012 06:16:14 +0000 (10:16 +0400)]
Parse default parameters

Closes #50

11 years agoSimplify `js2-test-ast-string'
Dmitry Gutov [Sun, 17 Jun 2012 04:19:43 +0000 (08:19 +0400)]
Simplify `js2-test-ast-string'

11 years agoSet js2-basic-offset in tests explicitly
Dmitry Gutov [Sun, 17 Jun 2012 04:10:54 +0000 (08:10 +0400)]
Set js2-basic-offset in tests explicitly

11 years agoPrint space after colon in prop nodes
Dmitry Gutov [Sun, 17 Jun 2012 04:00:30 +0000 (08:00 +0400)]
Print space after colon in prop nodes

11 years agoFix catch param with destructuring binding
Dmitry Gutov [Sun, 17 Jun 2012 03:59:02 +0000 (07:59 +0400)]
Fix catch param with destructuring binding

11 years agoRename js2-is-in-lhs -> js2-is-in-destructuring (like in Rhino)
Dmitry Gutov [Sun, 17 Jun 2012 03:54:39 +0000 (07:54 +0400)]
Rename js2-is-in-lhs -> js2-is-in-destructuring (like in Rhino)

* Edit comments.
* Add some tests.

11 years agoAdd test Makefile target
Dmitry Gutov [Fri, 15 Jun 2012 18:45:12 +0000 (22:45 +0400)]
Add test Makefile target

11 years agoMake 'of' contextual keyword
Dmitry Gutov [Thu, 14 Jun 2012 13:03:06 +0000 (17:03 +0400)]
Make 'of' contextual keyword

Refs #53

11 years agoFix parsing of keyword property names
Dmitry Gutov [Thu, 14 Jun 2012 11:43:49 +0000 (15:43 +0400)]
Fix parsing of keyword property names

Closes #54

Also prohibit keyword identifiers in array comp loops

11 years agoSupport for..of in loops and array comprehensions
Dmitry Gutov [Wed, 13 Jun 2012 04:37:45 +0000 (08:37 +0400)]
Support for..of in loops and array comprehensions

Refs #53

11 years agoMerge branch 'master' into emacs24
Dmitry Gutov [Mon, 11 Jun 2012 08:18:25 +0000 (12:18 +0400)]
Merge branch 'master' into emacs24