70 Commits

Author SHA1 Message Date
Ron Buckton
81d5d2b6b6 Added 'extendedDiagnostics' option for comments/sourcemap measurements. 2016-05-24 13:18:24 -07:00
Ron Buckton
96ba0f2696 Added metrics for printing 2016-05-24 11:41:14 -07:00
Ron Buckton
b5dec0b8ab Removed nodeEmitOptions to reduce GC overhead 2016-05-18 16:42:37 -07:00
Ron Buckton
60e1ae0e9f PR Feedback 2016-05-16 15:06:24 -07:00
Ron Buckton
68aa646f0f Additional source map fixes for initializers and arrow functions. 2016-05-11 19:25:31 -07:00
Ron Buckton
b69e65f1f9 Fix source maps for arrow functions, comments in sourcemap writer. 2016-05-11 13:33:59 -07:00
Ron Buckton
58125279cd Adjusts source map emit for members 2016-04-26 15:29:46 -07:00
Ron Buckton
cee4954090 Added more control over sourcemap/comment emit and fixed a number of source map emit issues. 2016-04-22 16:28:26 -07:00
Ron Buckton
3ef9ab475d Adjusts source maps and comment emit for decorators 2016-04-22 12:57:27 -07:00
Ron Buckton
719705faf6 Adds source maps for captured this, skips source map for synthetic return token in arrow. 2016-04-22 12:57:27 -07:00
Ron Buckton
9e2ebf6453 Adjusts source map emit for classes and down-level rest parameters 2016-04-22 12:57:27 -07:00
Ron Buckton
43914ff640 Merge pull request #8233 from Microsoft/transforms-fixShortHandPropertiesAndExportedModules
[Transforms] Fixes for ShorthandPropertyAssignments and exported namespaces
2016-04-22 10:57:30 -07:00
Ron Buckton
0da185da19 PR Feedback 2016-04-22 10:56:48 -07:00
Yui
4119a3f5db [Transforms] Fix emit comment in synthesized function expression (#8234)
* Do not emit leading comment of synthesized function expression in object literal property assignment

* Update baselines
2016-04-20 20:36:11 -07:00
Ron Buckton
60d4d0ae54 Fixes issues with emit for ShorthandPropertyAssignments and exported namespaces 2016-04-20 16:45:14 -07:00
Ron Buckton
0d6ff81d5a Adds transforms for NonNullExpression 2016-04-19 18:16:46 -07:00
Ron Buckton
b378ce1549 Merge branch 'transforms' into transforms-fixVariousSourceMaps 2016-04-19 17:47:42 -07:00
Ron Buckton
53d3e92351 Fixes various source map emit issues 2016-04-19 17:45:22 -07:00
Daniel Rosenwasser
92068dbe6b Use the '__assign' helper in transforms. 2016-04-19 13:37:17 -07:00
Ron Buckton
3933be08f9 Adjusts some source map locations. Updates baselines. 2016-04-19 12:01:38 -07:00
Nathan Shively-Sanders
538f449409 Merge pull request #8160 from Microsoft/transforms-april-merge-from-master
Transforms april merge from master
2016-04-19 09:52:16 -07:00
Ron Buckton
feeaa7a9ed Fixes source map emit for namespaces 2016-04-18 15:46:18 -07:00
Nathan Shively-Sanders
f8ab1a5ca6 Merge branch 'master' into transforms 2016-04-18 13:27:33 -07:00
Ron Buckton
3c3e081f31 Fix source maps for rest params, class properties, parameter properties, and accessors. 2016-04-18 13:23:53 -07:00
Ron Buckton
6225a5aa40 Addesses a number of comment/sourcemap related issues 2016-04-15 18:39:30 -07:00
Sheetal Nandi
10616560da Fix the incorrectly assigned arrow expression trailing comments
Fixes #8041
2016-04-14 11:34:50 -07:00
Ron Buckton
c735c3673e Merge branch 'transforms' into sourceMapUpdatesForClasses 2016-04-14 11:28:23 -07:00
Sheetal Nandi
5458826106 Merge pull request #8035 from Microsoft/defaultClassName
[Transforms] Fix the name when synthesized node is clone of auto generate identifier kind
2016-04-13 14:16:11 -07:00
Sheetal Nandi
a96c584529 Commend rewording per PR feedback 2016-04-13 10:16:41 -07:00
Sheetal Nandi
349ced2d40 Do not emit "from" if import clause is missing in import declaration 2016-04-12 14:39:50 -07:00
Sheetal Nandi
219f1b0166 Fix the name when synthesized node is clone of auto generate identifier kind
This fixes variable declaration created for default exported class without name
Fixes #7875
2016-04-12 14:15:41 -07:00
Mohamed Hegazy
49d3ed5919 Merge branch 'transforms' into sourceMapUpdatesForClasses 2016-04-07 17:03:06 -07:00
Mohamed Hegazy
68170dfbdb Add a source mapping to the closing } for functions, and wire in positions for class transfomtaion 2016-04-07 16:17:58 -07:00
Vladimir Matveev
6076475496 emit missing initializers for shorthand property assignments 2016-04-07 09:56:52 -07:00
Daniel Rosenwasser
2f73857ed3 Merge pull request #7907 from Microsoft/extraFrom
Only emit the module specifier on an export if it is present.
2016-04-06 17:45:30 -07:00
Daniel Rosenwasser
1138b33c38 Only emit the module specifier on an export if it is present. 2016-04-06 16:10:01 -07:00
Daniel Rosenwasser
917928b7ee Add a newline after emitting shebangs. 2016-04-06 14:27:57 -07:00
Ron Buckton
8988ea849b Fixes indentation of object literals with computed properties 2016-04-05 18:24:02 -07:00
Ron Buckton
e3e45c5354 Fixes comment emit for down-level accessor declarations. 2016-04-05 17:42:49 -07:00
Ron Buckton
0b2264cc54 Additional fixes for React emit. 2016-04-05 16:50:19 -07:00
Ron Buckton
299c4c7351 Fixes missing whitespace in modifiers 2016-04-05 11:39:02 -07:00
Ron Buckton
40a38001ad Fix incorrect emit for JSX/React 2016-04-04 18:33:41 -07:00
Ron Buckton
7c4c0060af Fixes indentation of class expression bodies
with static initializers.
2016-04-04 13:01:12 -07:00
Ron Buckton
15780a9a4c Fixes some comment emit and other changes 2016-04-01 17:45:18 -07:00
Ron Buckton
78cdb2d902 Adjusts emit for templates 2016-03-30 17:39:29 -07:00
Vladimir Matveev
5d8d3b85bd addressed PR feedback 2016-03-29 09:28:36 -07:00
Vladimir Matveev
564e134f5e added support for captured block scoped bindings 2016-03-25 18:32:42 -07:00
Ron Buckton
b60cf99c8a Fixed minor difference in string literal emit for AMD modules 2016-03-24 16:23:30 -07:00
Ron Buckton
bcb180a99b Fixes generated names and some formatting in system modules. 2016-03-23 15:48:25 -07:00
Ron Buckton
0f9bccdf32 Fix missing commas in binding pattern emit. 2016-03-22 16:42:22 -07:00