[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master updated (e1872f8 -> cf416d9)
From: |
Jackson Ray Hamilton |
Subject: |
[Emacs-diffs] master updated (e1872f8 -> cf416d9) |
Date: |
Tue, 9 Apr 2019 02:00:09 -0400 (EDT) |
jackson pushed a change to branch master.
from e1872f8 Restore .dir-locals.el accidentally deleted
new 58c77f1 Add failing tests for JSX indentation bugs
new 4b305bb Refactor JSX indentation code to improve enclosing JSX
discovery
new 27e9bce Add new (failing) unclosed JSX test and separate such
tests
new be86ece js-syntax-propertize: Disambiguate JS from JSX, fixing
some indents
new 6f53576 Use js-jsx- prefix for functions and variables
new 52a3113 Add basic JSX font-locking
new 4d2b5bb Font-lock JSX while editing it by extending regions
new 8dae742 Propertize and font-lock JSXText and
JSXExpressionContainers
new 2bedd23 Update expectations for JSX indentation in JSXAttribute
space
new 1a1ef28 Indent JSX as parsed in a JS context
new 339be7c Finish replacing SGML-based JSX detection with js-mode’s
parsing
new bf37078 Automatically detect JSX in JavaScript files
new 8b92719 Improve JSX syntax propertization
new d9d1bb2 Rename tests to use the “.jsx” file extension
new 84b1cfb Indent broken arrow function bodies as an N+1th arg
new 16669d7 Fix counting of nested self-closing JSXOpeningElements
new 55c80d4 Indent expressions in JSXAttributes relative to the
attribute’s name
new afec451 Split JSX indentation calculation into several functions
new 462baab Add tests for miscellaneous JSX parsing feats
new 7b2e3c6 Optimize js-jsx--matching-close-tag-pos
new 98e36a3 Optimize js-jsx--enclosing-tag-pos
new 7a9dac5 Improve whitespace and unary keyword parsing
new e48306f Properly set a dynamic, syntactic mode name
new 3eadf1e Identify JSX strings (for js2-mode)
new 18bbfc4 Permit non-ASCII identifiers in JS
new 9545519 Add open/close parenthesis syntax to “<” and “>” in JSX
new 7c3ffda Move curly functions closer to where they’re used
new cf416d9 Explain reasonings for JSX syntax support design decisions
Summary of changes:
lisp/files.el | 3 +-
lisp/progmodes/js.el | 1124 ++++++++++++++++++++++++-------
test/manual/indent/js-jsx.js | 85 ---
test/manual/indent/js.js | 5 +
test/manual/indent/jsx-quote.jsx | 16 +
test/manual/indent/jsx-self-closing.jsx | 13 +
test/manual/indent/jsx-unclosed-1.jsx | 13 +
test/manual/indent/jsx-unclosed-2.jsx | 65 ++
test/manual/indent/jsx.jsx | 314 +++++++++
9 files changed, 1301 insertions(+), 337 deletions(-)
delete mode 100644 test/manual/indent/js-jsx.js
create mode 100644 test/manual/indent/jsx-quote.jsx
create mode 100644 test/manual/indent/jsx-self-closing.jsx
create mode 100644 test/manual/indent/jsx-unclosed-1.jsx
create mode 100644 test/manual/indent/jsx-unclosed-2.jsx
create mode 100644 test/manual/indent/jsx.jsx
- [Emacs-diffs] master updated (e1872f8 -> cf416d9),
Jackson Ray Hamilton <=
- [Emacs-diffs] master 27e9bce 03/28: Add new (failing) unclosed JSX test and separate such tests, Jackson Ray Hamilton, 2019/04/09
- [Emacs-diffs] master 2bedd23 09/28: Update expectations for JSX indentation in JSXAttribute space, Jackson Ray Hamilton, 2019/04/09
- [Emacs-diffs] master 16669d7 16/28: Fix counting of nested self-closing JSXOpeningElements, Jackson Ray Hamilton, 2019/04/09
- [Emacs-diffs] master 52a3113 06/28: Add basic JSX font-locking, Jackson Ray Hamilton, 2019/04/09
- [Emacs-diffs] master 339be7c 11/28: Finish replacing SGML-based JSX detection with js-mode’s parsing, Jackson Ray Hamilton, 2019/04/09
- [Emacs-diffs] master 8dae742 08/28: Propertize and font-lock JSXText and JSXExpressionContainers, Jackson Ray Hamilton, 2019/04/09
- [Emacs-diffs] master 3eadf1e 24/28: Identify JSX strings (for js2-mode), Jackson Ray Hamilton, 2019/04/09
- [Emacs-diffs] master 4b305bb 02/28: Refactor JSX indentation code to improve enclosing JSX discovery, Jackson Ray Hamilton, 2019/04/09
- [Emacs-diffs] master 58c77f1 01/28: Add failing tests for JSX indentation bugs, Jackson Ray Hamilton, 2019/04/09
- [Emacs-diffs] master 4d2b5bb 07/28: Font-lock JSX while editing it by extending regions, Jackson Ray Hamilton, 2019/04/09