Yui
e35dd79c04
[Transforms] Update baselines from merging with master round 2 ( #8926 )
...
* update baselines from merging with master
* Correctly fix#8786
* Fix up linting errors
* Fix spelling error in comment
* Remove usage of null
* Revert "Remove usage of null"
This reverts commit d9102d1e3f .
* Disable using null in unittest as we use null to signal to not generate baselines
* Remove setting disable comment as we already done so in createCommentWriter
* Address linting
* Fix travis failure
* Fix travis failure
2016-06-02 10:57:28 -07:00
Ron Buckton
e9115cad19
Simplify disabling comments recursively, cleanup unused flags.
2016-05-31 16:24:20 -07:00
Ron Buckton
2bb8729d8a
Merge branch 'transforms-visitEachChildPerf' into transforms-commentsPerf
2016-05-26 22:23:56 -07:00
Ron Buckton
0dc261d4a2
Performance improvements in comment emit.
2016-05-26 22:12:42 -07:00
Ron Buckton
3c6ceaf85e
Simplified performance timers
2016-05-26 18:25:11 -07:00
Ron Buckton
4db144811d
Merge branch 'transforms' into transforms-fixPerformance
2016-05-25 12:17:29 -07:00
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
Yui
65a641f33a
[Transforms] Fix other sourcemaps ( #8721 )
...
* Update correct sourcemaps
* Fix emit BOM in sourcemap
* Stop emit .js.map when no .js is emitted
* verify and update sourcemaps and sourcemap.txt
* Verify and update systemjs sourcemaps
2016-05-24 08:52:15 -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