]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
8 years agoMerge pull request #266 from jacksonrayhamilton/no-getter-setter-duplicate
Dmitry Gutov [Fri, 11 Sep 2015 08:16:40 +0000 (11:16 +0300)]
Merge pull request #266 from jacksonrayhamilton/no-getter-setter-duplicate

Don't treat getter / setter pairs as duplicates

8 years agoDon't treat getter / setter pairs as duplicates
Jackson Hamilton [Fri, 11 Sep 2015 04:09:56 +0000 (21:09 -0700)]
Don't treat getter / setter pairs as duplicates

Fixes #264

8 years agoRephrase
Dmitry Gutov [Wed, 9 Sep 2015 18:37:51 +0000 (21:37 +0300)]
Rephrase

8 years agoAdd NEWS and bump the version
Dmitry Gutov [Wed, 9 Sep 2015 18:36:29 +0000 (21:36 +0300)]
Add NEWS and bump the version

8 years agoExplicitly remap js-find-symbol
Dmitry Gutov [Wed, 9 Sep 2015 03:49:38 +0000 (06:49 +0300)]
Explicitly remap js-find-symbol

#159

8 years agoRemove a space
Dmitry Gutov [Mon, 7 Sep 2015 12:31:08 +0000 (15:31 +0300)]
Remove a space

8 years agoUse cl-assert instead of error
Dmitry Gutov [Mon, 7 Sep 2015 12:24:50 +0000 (15:24 +0300)]
Use cl-assert instead of error

8 years agoAdd cl- prefix, improve line lengths
Dmitry Gutov [Mon, 7 Sep 2015 12:24:09 +0000 (15:24 +0300)]
Add cl- prefix, improve line lengths

8 years agoRemoved functions: js2-build-prop-name-list and js2-names-left.
ScottyB [Mon, 7 Sep 2015 09:35:40 +0000 (19:35 +1000)]
Removed functions: js2-build-prop-name-list and js2-names-left.

8 years agoClean up todo in js2-search-scope and fix year typo
ScottyB [Sun, 6 Sep 2015 01:01:17 +0000 (11:01 +1000)]
Clean up todo in js2-search-scope and fix year typo

8 years agoClarified js2-search-scope doc string
ScottyB [Fri, 4 Sep 2015 00:07:02 +0000 (10:07 +1000)]
Clarified js2-search-scope doc string

8 years agoOnly jump if not already at var or function definition
ScottyB [Thu, 3 Sep 2015 23:53:56 +0000 (09:53 +1000)]
Only jump if not already at var or function definition

8 years agoFind definition by locating assignment nodes
ScottyB [Thu, 3 Sep 2015 14:49:32 +0000 (00:49 +1000)]
Find definition by locating assignment nodes

8 years agoSupport jumping to buffers of the same major mode
ScottyB [Sun, 30 Aug 2015 04:25:55 +0000 (14:25 +1000)]
Support jumping to buffers of the same major mode

8 years agoFixed jumping to object properties
ScottyB [Sun, 30 Aug 2015 03:25:41 +0000 (13:25 +1000)]
Fixed jumping to object properties

8 years agoSimplified method of searching for nodes based on scope
ScottyB [Sun, 30 Aug 2015 00:44:53 +0000 (10:44 +1000)]
Simplified method of searching for nodes based on scope

8 years agoSimplified property name matching
ScottyB [Sat, 29 Aug 2015 14:53:35 +0000 (00:53 +1000)]
Simplified property name matching

8 years agoReturn correct node when searching for the definition of a property.
ScottyB [Mon, 16 Mar 2015 09:21:30 +0000 (20:21 +1100)]
Return correct node when searching for the definition of a property.

8 years agoAdded missing etags dependency
ScottyB [Sun, 8 Feb 2015 08:11:09 +0000 (19:11 +1100)]
Added missing etags dependency

8 years agoAdd a jump to definition command bound to M-.
ScottyB [Sun, 7 Sep 2014 01:04:07 +0000 (11:04 +1000)]
Add a jump to definition command bound to M-.

8 years agojs2-define-destruct-symbols: Speed up, theoretically
Dmitry Gutov [Mon, 7 Sep 2015 03:21:06 +0000 (06:21 +0300)]
js2-define-destruct-symbols: Speed up, theoretically

8 years agojs2-define-destruct-symbols-internal: Remove, don't need it anymore
Dmitry Gutov [Mon, 7 Sep 2015 03:07:44 +0000 (06:07 +0300)]
js2-define-destruct-symbols-internal: Remove, don't need it anymore

8 years agojs2-define-destruct-symbols-internal: Stop growing NAME-NODES exponentially
Dmitry Gutov [Mon, 7 Sep 2015 03:05:27 +0000 (06:05 +0300)]
js2-define-destruct-symbols-internal: Stop growing NAME-NODES exponentially

Fixes #259

8 years agojs2-define-destruct-symbols-internal: Anticipate js2-getter-setter-node
Dmitry Gutov [Mon, 7 Sep 2015 01:09:35 +0000 (04:09 +0300)]
js2-define-destruct-symbols-internal: Anticipate js2-getter-setter-node

8 years agoAllow plain parameters after default
Dmitry Gutov [Tue, 25 Aug 2015 19:56:35 +0000 (22:56 +0300)]
Allow plain parameters after default

https://bugzilla.mozilla.org/show_bug.cgi?id=777060
Fixes #257

8 years agoHandle @property like @param, and handle aliases
Dmitry Gutov [Mon, 24 Aug 2015 10:41:26 +0000 (13:41 +0300)]
Handle @property like @param, and handle aliases

Fixes #255

8 years agoDefine js2-re-search-forward as an alias as well
Dmitry Gutov [Fri, 14 Aug 2015 00:33:24 +0000 (03:33 +0300)]
Define js2-re-search-forward as an alias as well

Fixes #253

8 years agoNever enable js2-minor-mode in js2-mode
Dmitry Gutov [Sun, 26 Jul 2015 20:30:20 +0000 (23:30 +0300)]
Never enable js2-minor-mode in js2-mode

#249

8 years agoFix #247, indentation inside block comments
Dmitry Gutov [Tue, 21 Jul 2015 10:58:59 +0000 (13:58 +0300)]
Fix #247, indentation inside block comments

8 years ago-L .
Dmitry Gutov [Sat, 18 Jul 2015 02:22:55 +0000 (05:22 +0300)]
-L .

8 years agoRevert the "containerized build" commits, because Travis still hasn't
Dmitry Gutov [Sat, 18 Jul 2015 02:11:15 +0000 (05:11 +0300)]
Revert the "containerized build" commits, because Travis still hasn't
whitelisted emacs-snapshot.

https://github.com/travis-ci/travis-ci/issues/3804

8 years ago...
Dmitry Gutov [Sat, 18 Jul 2015 02:01:47 +0000 (05:01 +0300)]
...

8 years agoThis shit is confusing
Dmitry Gutov [Sat, 18 Jul 2015 02:00:04 +0000 (05:00 +0300)]
This shit is confusing

8 years agoTry to use $EMACS implicitly
Dmitry Gutov [Sat, 18 Jul 2015 01:56:48 +0000 (04:56 +0300)]
Try to use $EMACS implicitly

8 years agoFix indent
Dmitry Gutov [Sat, 18 Jul 2015 01:49:59 +0000 (04:49 +0300)]
Fix indent

8 years agoRemove outdated reference
Dmitry Gutov [Sat, 18 Jul 2015 01:48:55 +0000 (04:48 +0300)]
Remove outdated reference

8 years agoHopefully fix the matrix
Dmitry Gutov [Sat, 18 Jul 2015 01:38:17 +0000 (04:38 +0300)]
Hopefully fix the matrix

8 years agoTry a containerized Travis build
Dmitry Gutov [Sat, 18 Jul 2015 01:32:41 +0000 (04:32 +0300)]
Try a containerized Travis build

8 years agoFix indentation tests, by always loading js2-old-indent
Dmitry Gutov [Sat, 18 Jul 2015 01:19:00 +0000 (04:19 +0300)]
Fix indentation tests, by always loading js2-old-indent

8 years agoDerive from js-mode
Dmitry Gutov [Sat, 18 Jul 2015 01:05:41 +0000 (04:05 +0300)]
Derive from js-mode

8 years agoUse indentation code from js-mode when we can
Dmitry Gutov [Sat, 18 Jul 2015 00:40:37 +0000 (03:40 +0300)]
Use indentation code from js-mode when we can

Some options has been left without aliases, even though they have
counterparts in js.el, because their values are incompatible:

js2-pretty-multiline-declarations -> js-indent-first-init
js2-indent-switch-body -> js-switch-indent-offset

After upgrading to Emacs 25, the affected users will have to customize
them anew.

8 years agoAnd actually update NEWS
Dmitry Gutov [Sun, 12 Jul 2015 22:33:56 +0000 (01:33 +0300)]
And actually update NEWS

8 years agoActually remove the macro
Dmitry Gutov [Sun, 12 Jul 2015 22:33:05 +0000 (01:33 +0300)]
Actually remove the macro

8 years agoAdd NEWS entry and bump version
Dmitry Gutov [Sun, 12 Jul 2015 22:26:51 +0000 (01:26 +0300)]
Add NEWS entry and bump version

8 years agoGet rid of js2-with-underscore-as-word-syntax
Dmitry Gutov [Sun, 12 Jul 2015 22:09:01 +0000 (01:09 +0300)]
Get rid of js2-with-underscore-as-word-syntax

8 years agoRemove js2-current-indent
Dmitry Gutov [Sun, 12 Jul 2015 17:35:26 +0000 (20:35 +0300)]
Remove js2-current-indent

8 years agoMerge pull request #242 from jacksonrayhamilton/strict-mode
Dmitry Gutov [Tue, 30 Jun 2015 20:36:28 +0000 (23:36 +0300)]
Merge pull request #242 from jacksonrayhamilton/strict-mode

Strict mode

8 years agoFix bug where properties where checked for strict mode compliance
Jackson Ray Hamilton [Tue, 30 Jun 2015 16:53:43 +0000 (09:53 -0700)]
Fix bug where properties where checked for strict mode compliance

8 years agoCleanup
Jackson Ray Hamilton [Thu, 25 Jun 2015 10:50:14 +0000 (03:50 -0700)]
Cleanup

8 years agoRemove strict mode slots on nodes.
Jackson Ray Hamilton [Thu, 25 Jun 2015 10:43:12 +0000 (03:43 -0700)]
Remove strict mode slots on nodes.

8 years agoReparse strict functions.
Jackson Ray Hamilton [Thu, 25 Jun 2015 10:41:47 +0000 (03:41 -0700)]
Reparse strict functions.

8 years agosetq inline
Jackson Ray Hamilton [Mon, 8 Jun 2015 09:47:47 +0000 (02:47 -0700)]
setq inline

8 years agoFix refactoring regression.
Jackson Ray Hamilton [Mon, 8 Jun 2015 09:31:44 +0000 (02:31 -0700)]
Fix refactoring regression.

8 years agoReport the correct octal number error
Jackson Ray Hamilton [Mon, 8 Jun 2015 08:29:45 +0000 (01:29 -0700)]
Report the correct octal number error

8 years agoDon't treat a block-scoped const as redeclaration
Jackson Ray Hamilton [Mon, 8 Jun 2015 08:25:58 +0000 (01:25 -0700)]
Don't treat a block-scoped const as redeclaration

8 years agoCleanup
Jackson Ray Hamilton [Mon, 8 Jun 2015 07:35:32 +0000 (00:35 -0700)]
Cleanup

8 years agoDuplicate object keys are an error in strict mode
Jackson Ray Hamilton [Mon, 8 Jun 2015 07:15:03 +0000 (00:15 -0700)]
Duplicate object keys are an error in strict mode

8 years agoOctal syntax is an error in strict mode
Jackson Ray Hamilton [Mon, 8 Jun 2015 05:37:52 +0000 (22:37 -0700)]
Octal syntax is an error in strict mode

8 years agowith statements are syntax errors in strict mode
Jackson Ray Hamilton [Mon, 8 Jun 2015 04:46:00 +0000 (21:46 -0700)]
with statements are syntax errors in strict mode

8 years agoCheck identifiers in strict mode.
Jackson Ray Hamilton [Mon, 8 Jun 2015 04:32:03 +0000 (21:32 -0700)]
Check identifiers in strict mode.

8 years agoTest const scoping.
Jackson Ray Hamilton [Sun, 7 Jun 2015 22:56:02 +0000 (15:56 -0700)]
Test const scoping.

8 years agoTrack script and function strict mode.
Jackson Ray Hamilton [Sun, 7 Jun 2015 22:55:45 +0000 (15:55 -0700)]
Track script and function strict mode.

8 years agoRespect strict mode.
Jackson Ray Hamilton [Sun, 7 Jun 2015 09:50:58 +0000 (02:50 -0700)]
Respect strict mode.

8 years agoDefine const variables in the current block.
Jackson Ray Hamilton [Mon, 18 May 2015 05:48:48 +0000 (22:48 -0700)]
Define const variables in the current block.

8 years agojs2-node-externs: Add querystring
Dmitry Gutov [Sun, 24 May 2015 11:26:54 +0000 (14:26 +0300)]
js2-node-externs: Add querystring

8 years agoAdd NEWS entry
Dmitry Gutov [Thu, 14 May 2015 12:52:54 +0000 (15:52 +0300)]
Add NEWS entry

8 years agoHighlight unused and/or uninitialized variables
Lele Gaifax [Thu, 14 May 2015 12:47:14 +0000 (15:47 +0300)]
Highlight unused and/or uninitialized variables

Adding new js2-highlight-unused-variables-mode.

Closes #212, closes #233

8 years agoFix object keys highlighting (closes #234)
Dmitry Gutov [Wed, 13 May 2015 14:58:20 +0000 (17:58 +0300)]
Fix object keys highlighting (closes #234)

Regression from c13eda4.

8 years agoAdd a NEWS entry for d4d9c54
Dmitry Gutov [Mon, 11 May 2015 02:12:37 +0000 (05:12 +0300)]
Add a NEWS entry for d4d9c54

8 years agoMerge pull request #232 from jacksonrayhamilton/unset-identifiers
Dmitry Gutov [Sun, 3 May 2015 13:17:28 +0000 (16:17 +0300)]
Merge pull request #232 from jacksonrayhamilton/unset-identifiers

Don't unset `js2-recorded-identifiers'

8 years agoDon't unset `js2-recorded-identifiers'
Jackson Ray Hamilton [Sun, 3 May 2015 12:38:09 +0000 (05:38 -0700)]
Don't unset `js2-recorded-identifiers'

9 years agoMerge pull request #231 from shicks/computed
Dmitry Gutov [Fri, 1 May 2015 12:50:56 +0000 (15:50 +0300)]
Merge pull request #231 from shicks/computed

Generalize object literal parsing to understand computed function names

9 years agoGeneralize object literal parsing to support short-hand function/generator/getter...
Stephen Hicks [Mon, 27 Apr 2015 02:17:57 +0000 (19:17 -0700)]
Generalize object literal parsing to support short-hand function/generator/getter/setter declarations with all kinds of keys (string, named, computed, numeric).

Previously only a subset of combinations were supported, but appear to be allowed by the spec.

9 years agoAddress two FIXMEs; fix a regression flagged by tests
Dmitry Gutov [Fri, 24 Apr 2015 02:29:04 +0000 (05:29 +0300)]
Address two FIXMEs; fix a regression flagged by tests

9 years agoMerge commit '9790b9781aa8ca1d4bdf94d06d4e8ff2e68d37e8' into js2-mode-master
Dmitry Gutov [Fri, 24 Apr 2015 00:11:03 +0000 (03:11 +0300)]
Merge commit '9790b9781aa8ca1d4bdf94d06d4e8ff2e68d37e8' into js2-mode-master

9 years ago* js2-mode.el (js2-mode): Use cursor-sensor-mode if available.
Stefan Monnier [Wed, 15 Apr 2015 21:18:37 +0000 (17:18 -0400)]
* js2-mode.el (js2-mode): Use cursor-sensor-mode if available.

(js2-export-node): Fix apparent paren typo.
(js2-get-token-internal-1): Remove unused var `quote-char'.
(js2-clear-face): Also remove cursor-sensor-functions.
(js2-parse-primary-expr): Remove unused var `pn'.
(js2-parse-legacy-array-comp): Remove unused var `first'.
(js2-mode-show-node, js2-mode-show-warn-or-err): Use cursor-sensor-functions
if available.
(js2-mode-hide-overlay, js2-echo-error): Adapt to new calling convention.
(js2-echo-help): Declare obsolete.
(js2-mode-extend-comment): Look for the appropriate property.

9 years agoMerge pull request #195 from jacksonrayhamilton/pretty-multiline-declarations
Dmitry Gutov [Mon, 6 Apr 2015 20:41:30 +0000 (23:41 +0300)]
Merge pull request #195 from jacksonrayhamilton/pretty-multiline-declarations

js2-pretty-multiline-declarations: Add 'dynamic option

9 years agojs2-pretty-multiline-declarations: Add 'dynamic option
Jackson Ray Hamilton [Fri, 9 Jan 2015 06:43:35 +0000 (22:43 -0800)]
js2-pretty-multiline-declarations: Add 'dynamic option

9 years agoDon't indent in multiline strings
Dmitry Gutov [Fri, 3 Apr 2015 04:26:29 +0000 (07:26 +0300)]
Don't indent in multiline strings

Fixes #227

9 years agoAssign quote syntax to backquotes
Dmitry Gutov [Thu, 5 Mar 2015 02:21:54 +0000 (04:21 +0200)]
Assign quote syntax to backquotes

Fixes #222

9 years agoMerge pull request #221 from jacksonrayhamilton/enclosing-scope
Dmitry Gutov [Sun, 1 Mar 2015 11:37:55 +0000 (13:37 +0200)]
Merge pull request #221 from jacksonrayhamilton/enclosing-scope

Fix js2-node-get-enclosing-scope

9 years agoMerge pull request #220 from jacksonrayhamilton/comment-length
Dmitry Gutov [Sun, 1 Mar 2015 10:06:52 +0000 (12:06 +0200)]
Merge pull request #220 from jacksonrayhamilton/comment-length

Fix off-by-one error for comment node length

9 years agoFix js2-node-get-enclosing-scope
Jackson Ray Hamilton [Sun, 1 Mar 2015 07:23:23 +0000 (23:23 -0800)]
Fix js2-node-get-enclosing-scope

Previously this function discriminated against nodes that did not have
parents.  For such nodes, nil should have been returned, but instead an
error was emitted because a parentless node would produce the initial
parent nil, which would cause js2-node-parent to blow up.  This fixes
that.

9 years agoFix off-by-one error for comment node length
Jackson Ray Hamilton [Sat, 28 Feb 2015 18:45:24 +0000 (10:45 -0800)]
Fix off-by-one error for comment node length

9 years ago...or any following one
Dmitry Gutov [Tue, 24 Feb 2015 13:48:49 +0000 (15:48 +0200)]
...or any following one

Likewise, js2-match-token scanned the next token with the wrong modifier.

Instead of adding an optional argument, I've opted to use
js2-get-prop-name-token, in order not to duplicate the version check.

#216

9 years agoParse without error first method in a class with keyword name
Dmitry Gutov [Tue, 24 Feb 2015 05:27:46 +0000 (07:27 +0200)]
Parse without error first method in a class with keyword name

Make 'static' just a reserved word, for now. Traceur calls it that anyway.

Using js2-match-token was a problem because it stored a wrong token in
js2-ti-tokens (read without the modifier).

Fixes #216

9 years agoFix js2-paren-node length
Dmitry Gutov [Fri, 20 Feb 2015 13:43:48 +0000 (15:43 +0200)]
Fix js2-paren-node length

#214

9 years agoRely on bogus scopes less
Dmitry Gutov [Thu, 19 Feb 2015 15:49:40 +0000 (17:49 +0200)]
Rely on bogus scopes less

9 years agoMerge pull request #213 from lelit/typos
Dmitry Gutov [Sat, 7 Feb 2015 18:27:46 +0000 (21:27 +0300)]
Merge pull request #213 from lelit/typos

Fix typos in comments and docstrings

9 years agoFix typos in comments and docstrings
Lele Gaifax [Sat, 7 Feb 2015 17:12:13 +0000 (18:12 +0100)]
Fix typos in comments and docstrings

9 years agoMerge pull request #211 from cowboyd/no-semicolon-warning-on-function-export
Dmitry Gutov [Fri, 6 Feb 2015 21:59:26 +0000 (00:59 +0300)]
Merge pull request #211 from cowboyd/no-semicolon-warning-on-function-export

do auto semicolon insert on function exports

9 years agodo auto semicolon insert on function exports
Charles Lowell [Thu, 5 Feb 2015 21:50:03 +0000 (15:50 -0600)]
do auto semicolon insert on function exports

9 years agoMerge branch 'let-temporal-dz'
Dmitry Gutov [Mon, 2 Feb 2015 03:25:10 +0000 (05:25 +0200)]
Merge branch 'let-temporal-dz'

9 years agoBump the version and update NEWS
Dmitry Gutov [Mon, 2 Feb 2015 03:10:26 +0000 (05:10 +0200)]
Bump the version and update NEWS

9 years agoHighlight JS snippets
Dmitry Gutov [Mon, 2 Feb 2015 02:35:34 +0000 (04:35 +0200)]
Highlight JS snippets

9 years agoAdd top-level heading
Dmitry Gutov [Mon, 2 Feb 2015 02:30:17 +0000 (04:30 +0200)]
Add top-level heading

9 years agoMove the news from the wiki to the repo
Dmitry Gutov [Mon, 2 Feb 2015 02:29:00 +0000 (04:29 +0200)]
Move the news from the wiki to the repo

9 years agoCheck that the let declaration comes before the reference
Dmitry Gutov [Mon, 2 Feb 2015 02:25:15 +0000 (04:25 +0200)]
Check that the let declaration comes before the reference

Implementing, more or less, the ES6 "temporal dead zone" for let.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let#Temporal_dead_zone_and_errors_with_let
https://bugzilla.mozilla.org/show_bug.cgi?id=1001090

9 years agoFix free variable references
Dmitry Gutov [Mon, 2 Feb 2015 01:16:34 +0000 (03:16 +0200)]
Fix free variable references

Props to Flycheck.

9 years agojs2-test-parse-string: Compare the first syntax error
Dmitry Gutov [Mon, 2 Feb 2015 01:02:27 +0000 (03:02 +0200)]
js2-test-parse-string: Compare the first syntax error