]>
code.delx.au - gnu-emacs-elpa/log
Dmitry Gutov [Mon, 24 Dec 2012 22:45:13 +0000 (02:45 +0400)]
Close #79
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.
Dmitry Gutov [Wed, 3 Oct 2012 01:31:10 +0000 (05:31 +0400)]
Show keybindings in the mode description
Close #71
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.
Dmitry Gutov [Tue, 11 Sep 2012 02:03:10 +0000 (06:03 +0400)]
you -> your
Dmitry Gutov [Tue, 11 Sep 2012 01:54:25 +0000 (05:54 +0400)]
Add section "Emacs 24"
Dmitry Gutov [Sat, 8 Sep 2012 16:06:49 +0000 (20:06 +0400)]
Fix #66
Dmitry Gutov [Mon, 3 Sep 2012 22:42:57 +0000 (02:42 +0400)]
Fix #63
Dmitry Gutov [Sun, 2 Sep 2012 22:29:44 +0000 (02:29 +0400)]
Fix infinite timers loop
Refs #49
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
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
Dmitry Gutov [Fri, 31 Aug 2012 03:39:17 +0000 (07:39 +0400)]
js2-mode-forward-sexp: Signal scan-error when start == rp
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.
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.
Dmitry Gutov [Fri, 13 Jul 2012 03:43:38 +0000 (07:43 +0400)]
Fix #58
Dmitry Gutov [Fri, 6 Jul 2012 00:21:19 +0000 (04:21 +0400)]
Fix #57
Dmitry Gutov [Sun, 17 Jun 2012 08:33:25 +0000 (12:33 +0400)]
Make some lines tighter
Dmitry Gutov [Sun, 17 Jun 2012 08:13:48 +0000 (12:13 +0400)]
Fix comment
Dmitry Gutov [Sun, 17 Jun 2012 07:42:41 +0000 (11:42 +0400)]
Parse rest parameter
Closes #51
Dmitry Gutov [Sun, 17 Jun 2012 06:16:14 +0000 (10:16 +0400)]
Parse default parameters
Closes #50
Dmitry Gutov [Sun, 17 Jun 2012 04:19:43 +0000 (08:19 +0400)]
Simplify `js2-test-ast-string'
Dmitry Gutov [Sun, 17 Jun 2012 04:10:54 +0000 (08:10 +0400)]
Set js2-basic-offset in tests explicitly
Dmitry Gutov [Sun, 17 Jun 2012 04:00:30 +0000 (08:00 +0400)]
Print space after colon in prop nodes
Dmitry Gutov [Sun, 17 Jun 2012 03:59:02 +0000 (07:59 +0400)]
Fix catch param with destructuring binding
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.
Dmitry Gutov [Fri, 15 Jun 2012 18:45:12 +0000 (22:45 +0400)]
Add test Makefile target
Dmitry Gutov [Thu, 14 Jun 2012 13:03:06 +0000 (17:03 +0400)]
Make 'of' contextual keyword
Refs #53
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
Dmitry Gutov [Wed, 13 Jun 2012 04:37:45 +0000 (08:37 +0400)]
Support for..of in loops and array comprehensions
Refs #53
Francois-Xavier Kowalski [Mon, 11 Jun 2012 08:07:01 +0000 (12:07 +0400)]
Add Makefile for byte compiling
Dmitry Gutov [Mon, 11 Jun 2012 07:10:57 +0000 (11:10 +0400)]
Fix built-in properties highlighting
Matthew Noorenberghe [Sun, 10 Jun 2012 20:25:51 +0000 (13:25 -0700)]
Add ECMA-262 JSON object
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
Dmitry Gutov [Tue, 5 Jun 2012 23:13:42 +0000 (03:13 +0400)]
Make `js2-parse-primary-expr-lhs` a defun
Closes #43
Dmitry Gutov [Tue, 5 Jun 2012 23:12:42 +0000 (03:12 +0400)]
Use consistent package prefix for all vars
Dmitry Gutov [Sun, 3 Jun 2012 16:05:19 +0000 (20:05 +0400)]
Forgot a single quote
Dmitry Gutov [Sun, 3 Jun 2012 02:16:29 +0000 (06:16 +0400)]
js2-imenu-extras: Fix usage example
Dmitry Gutov [Sun, 3 Jun 2012 02:11:27 +0000 (06:11 +0400)]
Merge branch 'imenu'
Dmitry Gutov [Sun, 3 Jun 2012 02:09:14 +0000 (06:09 +0400)]
Fix recorded module function node position
Dmitry Gutov [Sun, 3 Jun 2012 01:29:55 +0000 (05:29 +0400)]
Add comments
Dmitry Gutov [Sun, 3 Jun 2012 00:48:12 +0000 (04:48 +0400)]
Move module pattern support to `js2-imenu-extras`
Dmitry Gutov [Wed, 23 May 2012 17:03:15 +0000 (10:03 -0700)]
Merge pull request #48 from lewang/master
Le Wang [Wed, 23 May 2012 15:17:41 +0000 (23:17 +0800)]
remove duplicate js2-strict-cond-assign-warning
Dmitry Gutov [Sat, 19 May 2012 12:18:27 +0000 (16:18 +0400)]
Remove leftover accumulator; require js2-mode
Dmitry Gutov [Thu, 17 May 2012 20:20:45 +0000 (00:20 +0400)]
(js2-imenu-record-hashes): Don't walk the node when `end-p`
Dmitry Gutov [Thu, 17 May 2012 19:48:43 +0000 (23:48 +0400)]
Implement imenu support for some frameworks and orphan functions
Refs #27
Refs #38
Dmitry Gutov [Thu, 17 May 2012 19:47:55 +0000 (23:47 +0400)]
Support chains with string elements in `js2-imenu-recorder`
Dmitry Gutov [Mon, 14 May 2012 20:38:26 +0000 (00:38 +0400)]
Customize the position of '+' for concatenation
Refs #23
katspaugh [Sun, 13 May 2012 10:08:26 +0000 (14:08 +0400)]
make multiline string concatenation optional
Dmitry Gutov [Sun, 13 May 2012 03:34:48 +0000 (07:34 +0400)]
Fix typo
Dmitry Gutov [Sun, 13 May 2012 02:15:11 +0000 (06:15 +0400)]
Basic support for module pattern
Dmitry Gutov [Thu, 10 May 2012 01:17:33 +0000 (05:17 +0400)]
Fix #46
* Check if "for" is inside comment
* Don't indent array comprehensions when language version < 1.7
Dmitry Gutov [Thu, 19 Apr 2012 03:24:00 +0000 (07:24 +0400)]
Merge remote-tracking branch 'origin/master'
Dmitry Gutov [Thu, 19 Apr 2012 03:15:33 +0000 (07:15 +0400)]
Only change window-configuration-change-hook's local value
Dmitry Gutov [Mon, 16 Apr 2012 01:13:37 +0000 (05:13 +0400)]
Guess more carefully when indenting array comprehension
Fixes #42
Masafumi Oyamada [Thu, 8 Mar 2012 04:35:14 +0000 (20:35 -0800)]
Merge pull request #37 from eentzel/master
Consider foo.bar to be a single parameter name in jsdoc comments
Eric Entzel [Thu, 8 Mar 2012 00:45:03 +0000 (11:45 +1100)]
Consider foo.bar to be a single parameter name in jsdoc comments
Dmitry Gutov [Mon, 13 Feb 2012 04:53:58 +0000 (20:53 -0800)]
Merge pull request #36 from edmccard/master
Don't make `before-save-hook` a local variable
Ed McCardell [Mon, 13 Feb 2012 03:28:52 +0000 (22:28 -0500)]
Play nice with global before-save-hook
Dmitry Gutov [Mon, 13 Feb 2012 02:12:02 +0000 (06:12 +0400)]
Rework js2-beginning/end-of-defun
js2-end-of-defun:
* Jump over all script-level elements one at a time, not only functions, for
consistency with `js2-mark-defun` and `js2-beginning-of-defun`.
* Don't jump to after the next function when point is on "function" keyword.
js2-beginning-of-defun:
* Handle the optional argument like `beginning-of-defun` does.
Dmitry Gutov [Mon, 30 Jan 2012 14:16:58 +0000 (18:16 +0400)]
Link to js2-refactor
Dmitry Gutov [Wed, 25 Jan 2012 19:24:55 +0000 (23:24 +0400)]
Fix fill-paragraph behavior
Closes #34
Dmitry Gutov [Mon, 23 Jan 2012 23:55:56 +0000 (03:55 +0400)]
Update the README
Dmitry Gutov [Fri, 13 Jan 2012 20:04:38 +0000 (00:04 +0400)]
Skip 'this' nodes when building imenu index (regression)
Dmitry Gutov [Fri, 13 Jan 2012 19:43:40 +0000 (23:43 +0400)]
Merge commit 'b41a82' into imenu
Dmitry Gutov [Wed, 11 Jan 2012 17:47:58 +0000 (21:47 +0400)]
Play nicer with font-lock
Since this makes the switch to using 'font-lock-face instead of 'face text
property (so that font-lock doesn't touch it when refontifying), the
highlighting now depends on font-lock being enabled.
I suppose we could check whether font-lock is enabled at runtime and use the one
or the other property, but really, who would disable font-lock and expect the
syntax highlighting to work?
Refs #32.
Dmitry Gutov [Sun, 8 Jan 2012 18:55:50 +0000 (22:55 +0400)]
Fix 'jumping cursor' problem
Regression from the previous commit.
Refs #31.
daimrod [Fri, 23 Dec 2011 17:07:23 +0000 (18:07 +0100)]
Use `with-current-buffer` instead of `save-excursion` + `set-buffer`
to fix the deprecation warnings
Closes #28
Dmitry Gutov [Sun, 25 Dec 2011 15:17:32 +0000 (19:17 +0400)]
Eliminate the nasty 'max-lisp-eval-depth' bug during byte-compilation
Dmitry Gutov [Sat, 24 Dec 2011 22:41:14 +0000 (02:41 +0400)]
Handle unlimited function nesting in imenu index
Refs #27
Dmitry Gutov [Sun, 13 Nov 2011 15:01:54 +0000 (19:01 +0400)]
Fix indentation of the 2nd line when the 1st line is blank
Dmitry Gutov [Tue, 8 Nov 2011 07:53:46 +0000 (11:53 +0400)]
Don't clobber minibuffer contents with warnings
http://code.google.com/p/js2-mode/issues/detail?id=89
The fix stolen from `help-at-pt-maybe-display`.
Dmitry Gutov [Tue, 8 Nov 2011 06:12:39 +0000 (10:12 +0400)]
Don't mark strict mode decl as having no side effects
Fixes #21
Dmitry Gutov [Tue, 8 Nov 2011 04:56:03 +0000 (08:56 +0400)]
Run `js2-mode-hook` before doing the first parse
Fixes #20
Dmitry Gutov [Thu, 27 Oct 2011 18:49:11 +0000 (11:49 -0700)]
Merge pull request #19 from GunioRobot/clean
Hi! I cleaned up your code for you!
Gun.io Whitespace Robot [Thu, 27 Oct 2011 18:05:42 +0000 (14:05 -0400)]
Remove whitespace [Gun.io WhitespaceBot]
Masafumi Oyamada [Fri, 16 Sep 2011 06:28:48 +0000 (23:28 -0700)]
Merge pull request #17 from db48x/master
better syntax highlighting on jsdoc comments
Daniel Brooks [Wed, 14 Sep 2011 23:17:01 +0000 (16:17 -0700)]
make the jsdoc highlighting recoginze optional parameters, which have names inside square brackets
Dmitry Gutov [Thu, 25 Aug 2011 20:23:41 +0000 (00:23 +0400)]
When don't need to extend the comment, just indent the line
Fixes #14
mooz [Wed, 17 Aug 2011 14:37:11 +0000 (23:37 +0900)]
Add notation for byte-compilation. refs #13
Dmitry Gutov [Tue, 16 Aug 2011 13:29:44 +0000 (17:29 +0400)]
Do not warn about trailing commas in destructuring assignment arrays
Fixes http://code.google.com/p/js2-mode/issues/detail?id=110
Dmitry Gutov [Thu, 5 May 2011 15:16:49 +0000 (19:16 +0400)]
Mark indentation vars as safe file-local variables
Fixes http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=607110
Dmitry Gutov [Wed, 4 May 2011 23:01:36 +0000 (03:01 +0400)]
Properly record function qnames in object literals
This fixes imenu index for quux and baz:
let foo = {
bar: function() {
function quux() {
// ...
}
let oot = {
baz: function() {},
}
}
}
Dmitry Gutov [Mon, 2 May 2011 20:25:06 +0000 (00:25 +0400)]
Handle the case when the reparse is scheduled in an inactive buffer
Fixes http://code.google.com/p/js2-mode/issues/detail?id=69
Dmitry Gutov [Fri, 29 Apr 2011 00:35:43 +0000 (04:35 +0400)]
Close #11 indent-for-tab-command: jump to indentation when inside it
Dmitry Gutov [Wed, 27 Apr 2011 19:09:19 +0000 (23:09 +0400)]
Indent continued expressions in multiline declarations better
let a = 5 + 3,
b = "booo" + "bar"
+ "toot" + "tar";
This change also makes `js2-auto-indent-p' less useful: each new line
in a declaration is automatically indented.
Dmitry Gutov [Tue, 26 Apr 2011 21:20:40 +0000 (01:20 +0400)]
Fix indentation of empty array literals
Dmitry Gutov [Mon, 25 Apr 2011 23:57:36 +0000 (03:57 +0400)]
Typo
Dmitry Gutov [Mon, 25 Apr 2011 22:29:44 +0000 (02:29 +0400)]
Improve `js-multiline-decl-indentation'
* Top-level let/var/const form could be indented to infinity
* Support declarations without assignment
Dmitry Gutov [Mon, 25 Apr 2011 21:47:33 +0000 (01:47 +0400)]
Close #3 Indent function/array/object values in declarations better
Dmitry Gutov [Mon, 25 Apr 2011 21:35:26 +0000 (01:35 +0400)]
delq -> remq
Dmitry Gutov [Mon, 25 Apr 2011 14:49:58 +0000 (18:49 +0400)]
Don't call `js2-mode-edit' when inside `indent-region'
Dmitry Gutov [Mon, 25 Apr 2011 13:53:37 +0000 (17:53 +0400)]
`looking-back' is slow; don't use it when indenting
Dmitry Gutov [Mon, 25 Apr 2011 13:46:26 +0000 (17:46 +0400)]
Use `syntax-ppss' instead of `parse-partial-sexp' where appropriate
Dmitry Gutov [Sun, 24 Apr 2011 00:47:31 +0000 (04:47 +0400)]
Skip unary ops before both semicolon checks
Dmitry Gutov [Sat, 23 Apr 2011 18:20:54 +0000 (22:20 +0400)]
Update README
Dmitry Gutov [Sat, 23 Apr 2011 17:17:32 +0000 (21:17 +0400)]
Pretty-indent multiline declarations without AST
Dmitry Gutov [Thu, 21 Apr 2011 17:59:22 +0000 (21:59 +0400)]
Simplify `js-ctrl-statement-indentation'
Dmitry Gutov [Wed, 20 Apr 2011 22:53:14 +0000 (02:53 +0400)]
Don't discard the value of `js2-additional-externs'
The doc says it can be set in `js2-mode-hook', but `js2-reparse' discarded
the resulting value.
http://code.google.com/p/js2-mode/issues/detail?id=117
mooz [Thu, 7 Apr 2011 02:53:29 +0000 (11:53 +0900)]
fix documentation