Permalink
Switch branches/tags
Nothing to show
Commits on Mar 13, 2012
  1. Made js3-treeify a defun instead of defsubst (Emacs 23.4 goes into in…

    vsedach committed Mar 13, 2012
    …finite recursion on recursive defsubsts)
  2. add test for semicolon-first

    thomblake committed Mar 13, 2012
Commits on Feb 28, 2012
  1. Fix ordering of special cases

    thomblake committed Feb 28, 2012
    Sometimes, closing braces were incorrectly identified as the body of a control statement without braces.  Since the special cases were mutually exclusive, this was solved by just moving some of the special cases to a later part of the code.
    
    close #48
Commits on Jan 20, 2012
  1. remove save-excursion warnings

    thomblake committed Jan 20, 2012
Commits on Nov 10, 2011
Commits on Nov 9, 2011
Commits on Nov 1, 2011
  1. add mechanism to respect jslint global comments

    thomblake committed Nov 1, 2011
    see http://www.emacswiki.org/emacs/Js2Mode
    (Courtesy of Tim Meadowcroft / twitter:@schmerg
  2. fix assigned function indentation

    thomblake committed Nov 1, 2011
    close #45
Commits on Oct 31, 2011
  1. Change default dots behavior

    thomblake committed Oct 31, 2011
    When making complicated continued expressions, lining up dots gets ugly fast.  The default has been changed to not indent continued dots at all, and `js3-indent-dots` can be used to get the old behavior again.  `js3-lazy-dots` is recommended if you want them to indent anyway; that does not look nearly as ugly.  See issue #44.
    
    close #44
Commits on Oct 28, 2011
  1. Fix function indentation for nested prop-get function calls

    thomblake committed Oct 28, 2011
    The dot-first indentation still makes the whole system look broken, but oh well
    
    close #43
  2. Indent functions properly

    thomblake committed Oct 28, 2011
    The new algorithm follows the following rules:
    
    where parent = the parent node of the function node
    if ( parent == object_prop_node
      || parent == var_init_node
      || ( parent == call_node
        && parent and 'function' on some line
         )
       )
      indent to parent + 2
    else
      indent to 'function' + 2
    
    close #41
  3. fix typos

    thomblake committed Oct 28, 2011
  4. add test for issue #41

    thomblake committed Oct 28, 2011
Commits on Sep 16, 2011
  1. fix function indentation

    thomblake committed Sep 16, 2011
    close #40
Commits on Sep 8, 2011
  1. Roll in changes from js3-beautify

    thomblake committed Sep 8, 2011
    Changes as of thomblake/js3-beautify@0d31cc9
    
    The main motivation for replacing the printing capability is that the current implementation was somewhat broken, and js3-beautify's version is not.
    
    Also add a pretty-print function to access the printing capability from the command-line, and some whitespace fixups.
Commits on Sep 1, 2011
Commits on Aug 31, 2011
  1. fixup tests after last commit

    thomblake committed Aug 31, 2011
  2. Fix bug added in old js2-mode

    thomblake committed Aug 31, 2011
    For some reason, instead of saving a 'block' when parsing, it was saving a 'scope' which confused everything.  Not really sure how any of this had been working thus far.
    
    Diff can be found at http://hg.gomaa.us/dotfiles/raw-rev/cd3cd5558ee4
    
    Also added some debug options
Commits on Aug 24, 2011
Commits on Aug 22, 2011
  1. Fix js3-lazy-commas definition

    thomblake committed Aug 22, 2011
    close issue #37
    
    Also remove old debug message
  2. build after merge

    thomblake committed Aug 22, 2011
  3. Merge pull request #38 from samsonjs/patch-1

    thomblake committed Aug 22, 2011
    This one was really supposed to be "js2-mode"
  4. add tests for issue #37

    thomblake committed Aug 22, 2011
Commits on Aug 20, 2011
Commits on Aug 18, 2011
  1. formatting

    thomblake committed Aug 18, 2011
  2. formatting

    thomblake committed Aug 18, 2011
Commits on Aug 12, 2011
  1. fix js3-parse-property-access

    thomblake committed Aug 12, 2011
    "Property get" nodes (dot operator) were not being saved properly - the position and length were being computed incorrectly.
    
    close # 36