]>
code.delx.au - gnu-emacs-elpa/log
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
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
ScottyB [Sun, 30 Aug 2015 03:25:41 +0000 (13:25 +1000)]
Fixed jumping to object properties
ScottyB [Sun, 30 Aug 2015 00:44:53 +0000 (10:44 +1000)]
Simplified method of searching for nodes based on scope
ScottyB [Sat, 29 Aug 2015 14:53:35 +0000 (00:53 +1000)]
Simplified property name matching
ScottyB [Mon, 16 Mar 2015 09:21:30 +0000 (20:21 +1100)]
Return correct node when searching for the definition of a property.
ScottyB [Sun, 8 Feb 2015 08:11:09 +0000 (19:11 +1100)]
Added missing etags dependency
ScottyB [Sun, 7 Sep 2014 01:04:07 +0000 (11:04 +1000)]
Add a jump to definition command bound to M-.
Dmitry Gutov [Mon, 7 Sep 2015 03:21:06 +0000 (06:21 +0300)]
js2-define-destruct-symbols: Speed up, theoretically
Dmitry Gutov [Mon, 7 Sep 2015 03:07:44 +0000 (06:07 +0300)]
js2-define-destruct-symbols-internal: Remove, don't need it anymore
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
Dmitry Gutov [Mon, 7 Sep 2015 01:09:35 +0000 (04:09 +0300)]
js2-define-destruct-symbols-internal: Anticipate js2-getter-setter-node
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
Dmitry Gutov [Mon, 24 Aug 2015 10:41:26 +0000 (13:41 +0300)]
Handle @property like @param, and handle aliases
Fixes #255
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
Dmitry Gutov [Sun, 26 Jul 2015 20:30:20 +0000 (23:30 +0300)]
Never enable js2-minor-mode in js2-mode
#249
Dmitry Gutov [Tue, 21 Jul 2015 10:58:59 +0000 (13:58 +0300)]
Fix #247, indentation inside block comments
Dmitry Gutov [Sat, 18 Jul 2015 02:22:55 +0000 (05:22 +0300)]
-L .
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
Dmitry Gutov [Sat, 18 Jul 2015 02:01:47 +0000 (05:01 +0300)]
...
Dmitry Gutov [Sat, 18 Jul 2015 02:00:04 +0000 (05:00 +0300)]
This shit is confusing
Dmitry Gutov [Sat, 18 Jul 2015 01:56:48 +0000 (04:56 +0300)]
Try to use $EMACS implicitly
Dmitry Gutov [Sat, 18 Jul 2015 01:49:59 +0000 (04:49 +0300)]
Fix indent
Dmitry Gutov [Sat, 18 Jul 2015 01:48:55 +0000 (04:48 +0300)]
Remove outdated reference
Dmitry Gutov [Sat, 18 Jul 2015 01:38:17 +0000 (04:38 +0300)]
Hopefully fix the matrix
Dmitry Gutov [Sat, 18 Jul 2015 01:32:41 +0000 (04:32 +0300)]
Try a containerized Travis build
Dmitry Gutov [Sat, 18 Jul 2015 01:19:00 +0000 (04:19 +0300)]
Fix indentation tests, by always loading js2-old-indent
Dmitry Gutov [Sat, 18 Jul 2015 01:05:41 +0000 (04:05 +0300)]
Derive from js-mode
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.
Dmitry Gutov [Sun, 12 Jul 2015 22:33:56 +0000 (01:33 +0300)]
And actually update NEWS