What's new? | Help | Directory | Sign in
Google
                
Search
for
Updated Jun 16, 2008 by steve.yegge
Labels: Featured
ReleaseNotes  

Release notes for new versions, in reverse-chronological order (most recent first)

Release notes for Jun 16, 2008, js2-20080616.el:

  • fixed  Issue #59 : warning on line disables other formatting on line - errors and warnings now use overlays, so they don't mess with the existing formatting.
  • fixed  Issue #66 : Possible spurious "code has no side effects" warning. I've fixed a whole class of these warnings by removing the side-effects check in the expression parser, and only keeping the one in the statement parser. I have no idea why Rhino does both, since the check in the statement parser seems sufficient.
  • fixed  Issue #79 : Object properties 'default' and 'return' screwing up parsing -- I've made js2-allow-keywords-as-property-names true by default.
  • updated  Issue #61 : Enter key indents new line -- this was fixed in a previous release, but not marked Fixed in the issues page. I added a js2-enter-indents-newline custom variable that defaults to true.

Release notes for Jun 15, 2008, js2-20080615a.el:

Release notes for Jun 15, 2008, js2-20080615.el:

This release is a major overhaul of the parser and syntax tree, to bring it up to date with (not yet released) Rhino changes. It fixes various bugs and adds some new features. It also has the potential to have introduced new bugs, so please let me know if you find anything that's broken since the last release.

New features:

Bug fixes:

Behavior changes:

API changes:

Many modifications to the AST structure to bring it in sync with upcoming changes to Rhino:

Many updates to the parser to generate the new AST structure.

Some very minor tweaks, all invisible to js2-mode users, to prepare for porting Rhino's code generator.

Release notes for May 21, 2008, js2-20080521.el:

New features:

Bug fixes:

  •  Issue #63 : jsdoc highlighting was broken
  •  Issue #71 : bogus "no side effects" warning
  •  Issue #62 : paren blinking doesn't work
  • fixed unreported bug where js2-next-error still stopped at suppressed warnings
  • highlight 'each' keyword in =for each (foo in bar)= loops
  • fixed "no side effects" warning in ||/&&-expressions where a child has side effects

Behavior changes:

  • don't do quote-matching inside comments, as it rarely works right
  • fixed js2-missing-semi-one-line-override to work for arbitrary function bodies.
  • It previously only worked if the function body was a simple statement like "return blah". Now the warning is suppressed for any function body whose open and close curlies are on the same line.
  • improved heuristic for closing jsdoc comments w/ Enter key

API changes:

  • fixed various problems with computing node bounds
  • fixed problem where //-comments were added twice each to the AST

The svn repository has been updated with all the changes.

Release notes for April 19 2008, js2-20080419.el:

New features:

  •  Issue #4 : added new option, js2-allow-keywords-as-property-names, to enable Mozilla users to use keywords as property names, e.g. foo.return = 42 or var x = {while: true}. By default this option is disabled, since IE and Rhino (and Ecma-262) don't allow it.
  •  Issue #32 : added new option, js2-instanceof-has-side-effects, for folks using xulrunner
  • with a prefix arg, match-curly will now not add any whitespace between the curlies. I.e. if you type C-u { it will insert {} and leave the cursor between them.
  • added a force-refresh option to the JavaScript menu, for the hopefully rare cases when the mode needs to reset everything from scratch
  • mode now reports undeclared variables in member expressions on the left side of an assignment. For instance, if you write "foo.bar.baz = 6", then if foo isn't a declared variable it gets highlighted in orange. To help avoid complaining about "undeclared" Ecma or Browser built-ins such as Array, Form or HTMLElement, we don't report unknown variables with capitalized names.
  •  Issue #33 : the beginning-of-defun and end-of-defun commands now invoke js2-mode equivalents, resulting in hopefully more reasonable behavior.
  • added a new command key, C-c C-o, for showing/hiding the current comment or function
  •  Issue #48 : command to toggle syntax error reporting: added menu option and new command-key, 'C-c C-w', to toggle the display of warnings and errors

Bug fixes:

  • fixed a whole class of problems created by regexp literals containing quotes, brackets, braces and parens
  • fixed unreported bug where warning/error faces weren't overriding normal fontification face in some cases
  •  Issue #8 : bug in parsing an unescaped '/' in a regexp character class
  •  Issue #17 : //foo// being parsed as a single block comment
  •  Issue #24 : mode doesn't highlight anything for certain malformed input
  •  Issue #25 : inserting escaped quote ignores existing escape char at point
  •  Issue #26 : can't insert escaped quote just before end of terminated string
  •  Issue #27 : Improper flagging of inconsistent return usage
  •  Issue #29 : spurious no-side-effects warning on the "debugger" keyword
  •  Issue #34 : Unexpected behavior with js2-mode-find-tag
  •  Issue #35 : need to define a local js2-mode-abbrev-table
  •  Issue #37 : typing # will crash Emacs
  •  Issue #38 : chokes on non-ASCII characters in identifiers
  •  Issue #40 : warning on byte-compile
  •  Issue #42 : hide-comments should hide //-comments
  •  Issue #47 : namespace cleanliness nit

Behavior changes:

  • changed close-curly to use the magic-close-paren function, so that typing C-u {} does the right thing.

Release notes for April 13 2008, js2-20080413.el:

Major change: font-locking now uses the default faces, by popular demand

New features:

Bug fixes:

Behavior changes:

API changes:

Release notes for April 6 2008, js2-20080406.el:

New features:

New syntax errors reported:

New strict-mode warnings reported:

Bug fixes:

API fixes:

Release notes for April 3 2008, js2-20080403.el:

Features:

Bug fixes:

Usability/behavior changes:

Release notes for April 2 2008, js2-20080402a.el:

Release notes for April 1 2008, js2-20080401a.el:

Defined a missing variable, emacs22, required for this mode to load. Tested more carefully this time!

Release notes for April 1 2008, js2-20080401.el:

  • added yield into the keyword lists (was inadvertently omitted)

  • per user request, made bounce-indent not record undo info
  • added highlighting for simple html start/end tags in jsdoc
  • don't do single-quote-matching inside comments, since typing an apostrophe is the most common case.

Release notes for March 31 2008, js2-20080331.el:

	foo.bar.baz({
          a: 1     // most people want this line indented here

Comment by steve.yegge, Apr 19, 2008

Many bug fixes and enhancements went into the April 19th release. Unfortunately Wiki is down for maintenance - I'll post the release notes when it's back up.


Sign in to add a comment