]>
code.delx.au - gnu-emacs-elpa/log
Dmitry Gutov [Sun, 1 May 2016 23:58:48 +0000 (02:58 +0300)]
Add :warnings-count keyword argument
Dmitry Gutov [Wed, 27 Apr 2016 01:05:59 +0000 (04:05 +0300)]
Merge pull request #328 from XeCycle/iname-color
Colorize imported names as variables
Carl Lei [Tue, 26 Apr 2016 06:27:32 +0000 (14:27 +0800)]
Colorize imported names as variables
Dmitry Gutov [Wed, 27 Apr 2016 00:53:54 +0000 (03:53 +0300)]
Merge pull request #327 from XeCycle/ckw-as
Colorize contextual keyword as in import & export
Carl Lei [Tue, 26 Apr 2016 02:37:42 +0000 (10:37 +0800)]
Colorize contextual keywords as & from in import & export
Dmitry Gutov [Sat, 9 Apr 2016 18:13:03 +0000 (21:13 +0300)]
Merge pull request #326 from phst/compiler-warning-25
Fix a byte compilation warning on Emacs 25
Philipp Stephani [Fri, 8 Apr 2016 14:02:13 +0000 (16:02 +0200)]
Fix a byte compilation warning on Emacs 25
Dmitry Gutov [Sat, 9 Apr 2016 01:36:12 +0000 (04:36 +0300)]
Fix more remaining failures
Closes #324
Dmitry Gutov [Sat, 9 Apr 2016 01:35:27 +0000 (04:35 +0300)]
Merge pull request #325 from phst/all-tests
Run all tests on 'make test'
Philipp Stephani [Fri, 8 Apr 2016 13:56:03 +0000 (15:56 +0200)]
Run all tests on 'make test'
Dmitry Gutov [Sat, 2 Apr 2016 12:42:50 +0000 (15:42 +0300)]
Fix the straggler
Dmitry Gutov [Sat, 2 Apr 2016 12:36:26 +0000 (15:36 +0300)]
Fix the tests broken in the previous commit
Dmitry Gutov [Sat, 2 Apr 2016 12:06:54 +0000 (15:06 +0300)]
Use idle timer to reparse, even when the buffer's just been opened
Fixes #20, in yet another way.
Also speeds up Emacs 25's xref-find-references and project-find-regexp.
Dmitry Gutov [Sat, 2 Apr 2016 00:32:07 +0000 (03:32 +0300)]
Special-case unary + and -
Fixes #322
Dmitry Gutov [Sun, 27 Mar 2016 00:58:16 +0000 (03:58 +0300)]
Merge pull request #289 from dgreensp/fix-array-rest
Fix array destructuring including triple-dot
Dmitry Gutov [Fri, 18 Mar 2016 15:46:10 +0000 (17:46 +0200)]
js2-indent-operator-re, js2-declaration-keyword-re: Use symbols boundaries
Fixes #319
Dmitry Gutov [Sat, 5 Mar 2016 12:52:14 +0000 (14:52 +0200)]
Fix computed property generator methods indentation
Closes #317
Dmitry Gutov [Sun, 24 Jan 2016 19:32:18 +0000 (22:32 +0300)]
Merge pull request #308 from zmwangx/jsdoc-callback-func-method
Add support for JSDoc @callback, @func and @method tags
Zhiming Wang [Sun, 24 Jan 2016 18:50:16 +0000 (10:50 -0800)]
Add support for JSDoc @callback, @func and @method tags
See http://usejsdoc.org/tags-callback.html for documentation of the
@callback tag; see http://usejsdoc.org/tags-function.html for
documentation of the @func and @method tags (both are synonyms of the
@function tag).
Closes #307.
Dmitry Gutov [Sat, 9 Jan 2016 09:48:30 +0000 (12:48 +0300)]
Merge pull request #304 from jacksonrayhamilton/fix-void-async-await
Fix void async await
Jackson Ray Hamilton [Sat, 9 Jan 2016 04:58:57 +0000 (20:58 -0800)]
Simplify await parsing
Jackson Hamilton [Sun, 3 Jan 2016 03:30:55 +0000 (19:30 -0800)]
Fix compiler warning
Jackson Hamilton [Sun, 3 Jan 2016 03:24:51 +0000 (19:24 -0800)]
Refactor async arrow function matching
Jackson Hamilton [Sun, 3 Jan 2016 03:15:49 +0000 (19:15 -0800)]
Refactor await parsing to only parse once
Jackson Hamilton [Sun, 3 Jan 2016 02:13:27 +0000 (18:13 -0800)]
Fix typo
Jackson Hamilton [Sun, 3 Jan 2016 00:13:34 +0000 (16:13 -0800)]
Add tests for of parsing
Jackson Hamilton [Sun, 3 Jan 2016 00:13:22 +0000 (16:13 -0800)]
Fix await parsing
Jackson Hamilton [Sat, 2 Jan 2016 23:18:04 +0000 (15:18 -0800)]
Fix async parsing
Jackson Hamilton [Sat, 2 Jan 2016 22:58:17 +0000 (14:58 -0800)]
Fix void parsing
Dmitry Gutov [Sat, 2 Jan 2016 04:25:41 +0000 (06:25 +0200)]
Remove js2-make-await as unused
Dmitry Gutov [Sat, 2 Jan 2016 04:24:40 +0000 (06:24 +0200)]
Record class declarations for IMenu
Closes #303
Dmitry Gutov [Sat, 2 Jan 2016 03:22:43 +0000 (05:22 +0200)]
And move its definition below
Dmitry Gutov [Sat, 2 Jan 2016 03:14:48 +0000 (05:14 +0200)]
js2-class-node: Inherit from js2-object-node
Dmitry Gutov [Thu, 31 Dec 2015 19:41:56 +0000 (21:41 +0200)]
js2-mode-extend-comment: Don't check that the next line is also commented
Fixes #302
Dmitry Gutov [Mon, 30 Nov 2015 12:05:50 +0000 (15:05 +0300)]
Merge pull request #297 from Christoph-D/master
Recognize for-of and for-in loops with const
Christoph Dittmann [Mon, 30 Nov 2015 09:41:34 +0000 (10:41 +0100)]
Recognize for-of and for-in loops with const
Declarations in for-of and for-in loops may also be "const". See
http://www.ecma-international.org/ecma-262/6.0/#sec-runtime-semantics-bindinginstantiation
Dmitry Gutov [Tue, 17 Nov 2015 19:47:51 +0000 (22:47 +0300)]
Merge pull request #294 from lunaryorn/patch-1
Use SVG for Travis CI badge
Sebastian Wiesner [Tue, 17 Nov 2015 19:02:37 +0000 (20:02 +0100)]
Use SVG for Travis CI badge
Let's be Retina friendly.
Dmitry Gutov [Tue, 17 Nov 2015 01:08:22 +0000 (03:08 +0200)]
Fix a byte-compilation warning
Dmitry Gutov [Mon, 9 Nov 2015 02:46:27 +0000 (05:46 +0300)]
Merge pull request #290 from XeCycle/export-async-fn
Also parse async function statement in export node
Carl Lei [Mon, 9 Nov 2015 02:06:55 +0000 (10:06 +0800)]
Also parse async function statement in export node
AsyncFunctionDeclaration is added as a
HoistableDeclaration (http://tc39.github.io/ecmascript-asyncawait/#HoistableDeclaration),
which shall be covered in productions "export Declaration" and "export
default HoistableDeclaration".
Carl Lei [Mon, 9 Nov 2015 02:28:35 +0000 (10:28 +0800)]
Do not print trailing semicolon for export function and class
David Greenspan [Sun, 8 Nov 2015 19:29:57 +0000 (11:29 -0800)]
Fix array destructuring including triple-dot
This change enables proper parsing of:
* `let [a, b, ...c] = d;`
* `let [[x,y] = [1,2]] = z;`
The first case is simply the "rest" part of "array rest/spread," which
lacked the appropriate cases in `js2-parse-array-literal` and
`js2-define-destruct-symbols`. There's also new logic to make sure that
in the destructuring (rest) case, the rest element comes last (while
spread can occur anywhere).
The removal of the `;; destructuring bind` case of
`js2-parse-array-literal` may require some explanation. It was doing
more harm than good. For example, it assumed that only identifiers
have defaults. Also, calling `js2-parse-destruct-primary-expr` is
unnecessary, since `js2-is-in-destructuring` is already true. Rather
than add the triple-dot logic in two places, it was simpler to stop
distinguishing between destructuring and non-destructuring at this
level, because the grammars are extremely similar. In addition, wacky
"vars" as in `let [f()] = x` throw an error anyway when they hit
`js2-define-destruct-symbols`.
Dmitry Gutov [Sat, 7 Nov 2015 17:50:31 +0000 (19:50 +0200)]
Adjust js2-print-export-node
#287
Dmitry Gutov [Sat, 7 Nov 2015 17:49:03 +0000 (20:49 +0300)]
Merge pull request #287 from dgreensp/fix-export-decls
Fix semicolons and scoping in exported decls
David Greenspan [Fri, 6 Nov 2015 07:59:20 +0000 (23:59 -0800)]
Exported decls print a little funny; update tests
David Greenspan [Fri, 6 Nov 2015 07:32:14 +0000 (23:32 -0800)]
Fix semicolons and scoping in exported decls
In the following code, no semicolons should be considered missing,
and all of A,B,C,D should be considered declared.
```
export function A() {}
export class B {}
export default function C() {}
export default class D {}
var x = [A, B, C, D];
```
Dmitry Gutov [Fri, 6 Nov 2015 03:23:44 +0000 (05:23 +0200)]
s/will/would
Dmitry Gutov [Fri, 6 Nov 2015 03:18:27 +0000 (06:18 +0300)]
Merge pull request #283 from XeCycle/master-with-async
Adapt old async to master & async methods
Carl Lei [Fri, 6 Nov 2015 02:57:24 +0000 (10:57 +0800)]
Add NEWS entry for async/await
Marking experimental because there are some TODOs in the code, and the
proposal is not yet final anyway.
Carl Lei [Thu, 5 Nov 2015 03:54:29 +0000 (11:54 +0800)]
Parse async methods
Refs https://github.com/mooz/js2-mode/issues/185#issuecomment-
107710557
Dmitry Gutov [Fri, 6 Nov 2015 02:10:22 +0000 (04:10 +0200)]
Add setImmediate and clearImmediate to js2-node-externs
Closes #286
Dmitry Gutov [Fri, 6 Nov 2015 02:06:25 +0000 (05:06 +0300)]
Merge pull request #285 from dgreensp/fix-param-destruct
Fix parsing of param with destructure and default
David Greenspan [Thu, 5 Nov 2015 17:14:46 +0000 (09:14 -0800)]
Fix parsing of param with destructure and default
`function foo(bar, {a = {}} = {}) {/**/}`
Dmitry Gutov [Thu, 5 Nov 2015 11:55:12 +0000 (14:55 +0300)]
Merge pull request #284 from XeCycle/0o-octals
Allow 0o octals in strict mode
Carl Lei [Thu, 5 Nov 2015 05:21:43 +0000 (13:21 +0800)]
Allow 0o octals in strict mode
0o octals are allowed in ES6 strict mode, while octals like 0123 are
called LegacyOctalIntegerLiteral and remain disallowed.
Carl Lei [Thu, 5 Nov 2015 03:43:40 +0000 (11:43 +0800)]
Move method type handling to property METHOD_TYPE
Relying on js2-node-type requires a token number for each type of
method, but we did not define a js2-ASYNC for the coming async methods.
Only getter and setter are moved, generator is not.
Carl Lei [Thu, 5 Nov 2015 01:56:43 +0000 (09:56 +0800)]
Adapt async/await changes to latest master
Resolved conflicts:
- fix call signatures to js2-parse-function
- fix js2-AWAIT number
- adapt to rename of getter-setter-node to method-node
Dmitry Gutov [Tue, 3 Nov 2015 12:45:17 +0000 (15:45 +0300)]
Merge pull request #278 from redguardtoo/master
`js2-print-json-path' added
Chen Bin [Thu, 29 Oct 2015 13:51:50 +0000 (00:51 +1100)]
`js2-print-json-path' added
Dmitry Gutov [Sun, 1 Nov 2015 13:08:00 +0000 (15:08 +0200)]
Support .jsx file extension too in the example
Dmitry Gutov [Sun, 1 Nov 2015 11:32:38 +0000 (14:32 +0300)]
Merge pull request #282 from jacksonrayhamilton/js2-jsx-mode
Add js2-jsx-mode
Jackson Ray Hamilton [Sun, 1 Nov 2015 02:50:13 +0000 (19:50 -0700)]
Add js2-jsx-mode usage instructions
Jackson Ray Hamilton [Sun, 1 Nov 2015 00:58:22 +0000 (17:58 -0700)]
Add NEWS entry for js2-jsx-mode
Jackson Ray Hamilton [Sat, 31 Oct 2015 21:34:12 +0000 (14:34 -0700)]
Copy JSX indentation logic to js2-old-indent.el
Jackson Ray Hamilton [Sat, 31 Oct 2015 19:26:42 +0000 (12:26 -0700)]
Add js2-jsx-mode
Dmitry Gutov [Sat, 31 Oct 2015 14:42:30 +0000 (16:42 +0200)]
Update MELPA URL
Dmitry Gutov [Sat, 31 Oct 2015 01:35:33 +0000 (04:35 +0300)]
Merge pull request #280 from XeCycle/binding-pattern-initializer
Add default parameters support to destructuring
Dmitry Gutov [Fri, 30 Oct 2015 23:47:10 +0000 (02:47 +0300)]
Merge pull request #281 from robbyoconnor/patch-1
Add melpa badges
Robert (Robby) O'Connor [Fri, 30 Oct 2015 08:25:05 +0000 (04:25 -0400)]
Add melpa badges
Add melpa badges to the README
Carl Lei [Fri, 30 Oct 2015 13:17:16 +0000 (21:17 +0800)]
Report error for binding initializer outside destructuring
This reports error for both object literals and class bodies, but only
tests object literals; because if ES7 class property initializers are
added, the error no longer makes sense and needs another message,
e.g. missing semicolon after property initializer.
Carl Lei [Fri, 16 Oct 2015 03:31:22 +0000 (11:31 +0800)]
Support initializer in destructuring
Also known as default arguments.
Dmitry Gutov [Fri, 30 Oct 2015 02:46:05 +0000 (05:46 +0300)]
Merge pull request #279 from XeCycle/class-semicolon-elem
Allow semicolons in a class body
Carl Lei [Fri, 16 Oct 2015 01:11:00 +0000 (09:11 +0800)]
Allow semicolons in a class body
Dmitry Gutov [Fri, 30 Oct 2015 02:40:00 +0000 (05:40 +0300)]
Merge pull request #276 from XeCycle/methods
Rename getter-setter-node to method-node
Carl Lei [Thu, 15 Oct 2015 12:20:55 +0000 (20:20 +0800)]
Add NEWS entry about rename to method-node
Carl Lei [Thu, 15 Oct 2015 12:34:47 +0000 (20:34 +0800)]
Refactor: rename getter-setter-node to method-node
Carl Lei [Thu, 15 Oct 2015 11:55:32 +0000 (19:55 +0800)]
Add test on shorthand method name and scoping
Carl Lei [Wed, 14 Oct 2015 08:53:27 +0000 (16:53 +0800)]
Refactor: unify computed property name handling
Dmitry Gutov [Tue, 27 Oct 2015 11:56:25 +0000 (13:56 +0200)]
Handle open-curlies after newline
Fixes #277
Dmitry Gutov [Mon, 26 Oct 2015 10:05:49 +0000 (12:05 +0200)]
js2-parse-highlight-prop-get: Take care now to overwrite the js2-function-call face
#272
Dmitry Gutov [Thu, 15 Oct 2015 19:52:57 +0000 (22:52 +0300)]
Add a test for the latest change
Dmitry Gutov [Thu, 15 Oct 2015 19:44:07 +0000 (22:44 +0300)]
Don't misindent generator methods
Fixes #275 in the old-indent subpackage; Emacs 25 snapshot users
should update to the latest version.
Dmitry Gutov [Tue, 13 Oct 2015 13:56:42 +0000 (16:56 +0300)]
Also highlight property lookups with the same face
#272
Dmitry Gutov [Mon, 12 Oct 2015 14:34:41 +0000 (17:34 +0300)]
Define js2-object-property face
#272
Dmitry Gutov [Thu, 1 Oct 2015 03:20:32 +0000 (06:20 +0300)]
Fix 'make all' on older emacsen
Closes #268
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
Jackson Hamilton [Fri, 11 Sep 2015 04:09:56 +0000 (21:09 -0700)]
Don't treat getter / setter pairs as duplicates
Fixes #264
Dmitry Gutov [Wed, 9 Sep 2015 18:37:51 +0000 (21:37 +0300)]
Rephrase
Dmitry Gutov [Wed, 9 Sep 2015 18:36:29 +0000 (21:36 +0300)]
Add NEWS and bump the version
Dmitry Gutov [Wed, 9 Sep 2015 03:49:38 +0000 (06:49 +0300)]
Explicitly remap js-find-symbol
#159
Dmitry Gutov [Mon, 7 Sep 2015 12:31:08 +0000 (15:31 +0300)]
Remove a space
Dmitry Gutov [Mon, 7 Sep 2015 12:24:50 +0000 (15:24 +0300)]
Use cl-assert instead of error
Dmitry Gutov [Mon, 7 Sep 2015 12:24:09 +0000 (15:24 +0300)]
Add cl- prefix, improve line lengths
ScottyB [Mon, 7 Sep 2015 09:35:40 +0000 (19:35 +1000)]
Removed functions: js2-build-prop-name-list and js2-names-left.
ScottyB [Sun, 6 Sep 2015 01:01:17 +0000 (11:01 +1000)]
Clean up todo in js2-search-scope and fix year typo
ScottyB [Fri, 4 Sep 2015 00:07:02 +0000 (10:07 +1000)]
Clarified js2-search-scope doc string
ScottyB [Thu, 3 Sep 2015 23:53:56 +0000 (09:53 +1000)]
Only jump if not already at var or function definition
ScottyB [Thu, 3 Sep 2015 14:49:32 +0000 (00:49 +1000)]
Find definition by locating assignment nodes
ScottyB [Sun, 30 Aug 2015 04:25:55 +0000 (14:25 +1000)]
Support jumping to buffers of the same major mode