]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
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

11 years agoAdd Makefile for byte compiling
Francois-Xavier Kowalski [Mon, 11 Jun 2012 08:07:01 +0000 (12:07 +0400)]
Add Makefile for byte compiling

11 years agoFix built-in properties highlighting
Dmitry Gutov [Mon, 11 Jun 2012 07:10:57 +0000 (11:10 +0400)]
Fix built-in properties highlighting

11 years agoAdd ECMA-262 JSON object
Matthew Noorenberghe [Sun, 10 Jun 2012 20:25:51 +0000 (13:25 -0700)]
Add ECMA-262 JSON object

11 years agoReduce the indentation variables count
Dmitry Gutov [Tue, 1 May 2012 23:49:10 +0000 (03:49 +0400)]
Reduce the indentation variables count

* Remove `js2-consistent-level-indent-inner-bracket-p` (assume it's always t).
* Merge `js2-pretty-multiline-decl-indentation-p` and
  `js2-always-indent-assigned-expr-in-decls-p` into one as
  `js2-pretty-multiline-declarations`.
* Make the description more clear.

Conflicts:

js2-mode.el: `js2-multiline-decl-indentation` docstring

11 years agoMake `js2-parse-primary-expr-lhs` a defun
Dmitry Gutov [Tue, 5 Jun 2012 23:13:42 +0000 (03:13 +0400)]
Make `js2-parse-primary-expr-lhs` a defun

Closes #43

11 years agoUse consistent package prefix for all vars
Dmitry Gutov [Tue, 5 Jun 2012 23:12:42 +0000 (03:12 +0400)]
Use consistent package prefix for all vars

11 years agoBring back js2-external-variable face
Dmitry Gutov [Sun, 3 Jun 2012 23:54:01 +0000 (03:54 +0400)]
Bring back js2-external-variable face

Being able to distinguish this type of warning from others is kinda useful.

Might also use overriding for new types of warnings later, like unused vars.

11 years agoWrap all `js2-post-parse-callbacks` calls in (save-excursion)
Dmitry Gutov [Sun, 3 Jun 2012 23:35:57 +0000 (03:35 +0400)]
Wrap all `js2-post-parse-callbacks` calls in (save-excursion)

11 years agoMerge branch 'master' into emacs24
Dmitry Gutov [Sun, 3 Jun 2012 17:37:23 +0000 (21:37 +0400)]
Merge branch 'master' into emacs24

Conflicts:
js2-mode.el

12 years agoForgot a single quote
Dmitry Gutov [Sun, 3 Jun 2012 16:05:19 +0000 (20:05 +0400)]
Forgot a single quote

12 years agojs2-imenu-extras: Fix usage example
Dmitry Gutov [Sun, 3 Jun 2012 02:16:29 +0000 (06:16 +0400)]
js2-imenu-extras: Fix usage example

12 years agoMerge branch 'imenu'
Dmitry Gutov [Sun, 3 Jun 2012 02:11:27 +0000 (06:11 +0400)]
Merge branch 'imenu'

12 years agoFix recorded module function node position
Dmitry Gutov [Sun, 3 Jun 2012 02:09:14 +0000 (06:09 +0400)]
Fix recorded module function node position

12 years agoAdd comments
Dmitry Gutov [Sun, 3 Jun 2012 01:29:55 +0000 (05:29 +0400)]
Add comments

12 years agoMove module pattern support to `js2-imenu-extras`
Dmitry Gutov [Sun, 3 Jun 2012 00:48:12 +0000 (04:48 +0400)]
Move module pattern support to `js2-imenu-extras`

12 years agoMerge pull request #48 from lewang/master
Dmitry Gutov [Wed, 23 May 2012 17:03:15 +0000 (10:03 -0700)]
Merge pull request #48 from lewang/master