11481 Commits

Author SHA1 Message Date
Ron Buckton
3bf4f2a6f5 PR feedback, removed now-redundant getUniqueClone 2016-05-26 16:48:13 -07:00
Ron Buckton
4db144811d Merge branch 'transforms' into transforms-fixPerformance 2016-05-25 12:17:29 -07:00
Ron Buckton
e64724ea35 Transient node properties for transformations. 2016-05-24 16:27:39 -07:00
Ron Buckton
fb48731afa Cache most recent values for node emit flags and custom ranges 2016-05-24 13:42:51 -07:00
Ron Buckton
81d5d2b6b6 Added 'extendedDiagnostics' option for comments/sourcemap measurements. 2016-05-24 13:18:24 -07:00
Ron Buckton
e5c473c9fc Adds a NodeFlag to indicate a synthetic node. 2016-05-24 11:41:24 -07:00
Ron Buckton
96ba0f2696 Added metrics for printing 2016-05-24 11:41:14 -07:00
Yui
3305e9cdd4 [Transforms] Fix projects sourcemaps (#8718)
* Update project sourcemaps part0

Update project sourcemaps

Update project sourcemaps

update project sourcemaps

update project sourcemaps

Update sourcemaps

update project sourcemaps

update project sourcemaps

update project sourcemaps

* Update project sourcemaps part1

update project sourcemaps

update project sourcemaps

update project sourcemaps

update project sourcemaps

update project sourcemaps

update project sourcemaps

Update project sourcemaps
2016-05-24 08:52:35 -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
Yui
9cd96e6929 [Transforms] Accept .js baselines when there are compiler's errors (#8744)
* Accept .js baselines as these are baselines when there are compiling errors

* Remove unnecessary setting of flag because this operation is handled in getReferencedExportContainer function in checker
2016-05-23 10:02:08 -07:00
Ron Buckton
9bae57ec3d Merge pull request #8598 from Microsoft/transforms-fixMoreSourceMaps
Transforms fix more source maps
2016-05-19 16:04:45 -07:00
Ron Buckton
150cecbaf3 PR Feedback 2016-05-19 15:39:45 -07:00
Ron Buckton
b5dec0b8ab Removed nodeEmitOptions to reduce GC overhead 2016-05-18 16:42:37 -07:00
Ron Buckton
abc9fda0e8 Conditionally enable performance metrics 2016-05-17 18:43:13 -07:00
Ron Buckton
b8a9efb66c Wrap performance metrics in object to reduce deoptimizations on ts namespace. 2016-05-17 18:37:08 -07:00
Ron Buckton
60e1ae0e9f PR Feedback 2016-05-16 15:06:24 -07:00
Ron Buckton
80224d2dec Fix issue with emit flag reset in param initializers. 2016-05-16 09:43:24 -07:00
Ron Buckton
e47c94e8ee Fix source map emit for imports, accepts several baselines. 2016-05-12 15:28:08 -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
d594865aaa fixes source map emit for export= in commonjs 2016-05-11 11:33:02 -07:00
Ron Buckton
47320d968a fixes source map emit for export= in amd 2016-05-10 18:57:01 -07:00
Ron Buckton
647a3efa4f Fixes source map alignment for enums 2016-05-10 17:43:13 -07:00
Ron Buckton
a0bc3c9dd2 Minor fixes and new baselines for destructuring source maps. 2016-05-10 17:20:09 -07:00
Ron Buckton
6e16a7eae6 Fix TypeErrors from decorated class emit. 2016-05-10 12:13:05 -07:00
Ron Buckton
2ef748308a Merge branch 'transforms' into transforms-fixMoreSourceMaps 2016-05-09 17:00:53 -07:00
Yui
695d92fe23 [Transforms] Remove the assertion as the assumption is not correct (#8341)
* Remove the assertion as the assumption is not correct

* Add tests case and baselines
2016-05-02 15:24:19 -07:00
Ron Buckton
78538821a3 Accepts a number of baselines. 2016-04-27 18:51:28 -07:00
Yui
fef3e97c34 [Transforms] Fix emit comment in wrong position when transforms export declaration to require statement (#8321)
* Fix emit comment in wrong location when transform export declaration to require statement

* Add tests and baselines

* Add tests and baselines

* Update baselines
2016-04-26 20:09:26 -07:00
Mohamed Hegazy
5cdb78d126 Merge pull request #8314 from Microsoft/Fix8287
Handel ImportEqualsDeclaration
2016-04-26 17:26:05 -07:00
Yui
315edea128 Fix missing calling of export helper function in decorated class-declaration (#8319) 2016-04-26 15:31:50 -07:00
Ron Buckton
58125279cd Adjusts source map emit for members 2016-04-26 15:29:46 -07:00
Mohamed Hegazy
b4a3e405ad Merge branch 'transforms' into Fix8287 2016-04-26 13:57:12 -07:00
Mohamed Hegazy
62de5af6e6 Merge pull request #8313 from Microsoft/acceptTransformBaselines
Accept transform baselines
2016-04-26 13:56:20 -07:00
Mohamed Hegazy
93916faf46 Fix #8287: handel ImportEqualsDeclaration correctelly 2016-04-26 13:54:30 -07:00
Mohamed Hegazy
d5aae8db52 Merge branch 'transforms' into acceptTransformBaselines 2016-04-26 13:17:50 -07:00
Mohamed Hegazy
b98ab5735b Error baselines 2016-04-26 13:17:06 -07:00
Yui
73fb8a0612 Filter library text from RWC output (#8297) 2016-04-26 11:39:04 -07:00
Yui
8ee8d8c63c [Transforms] Add test from fixing 8256 into transforms branch (#8294)
* Update baselines

* Add tests

* Update baselines from merging with transforms
2016-04-25 18:49:47 -07:00
Mohamed Hegazy
a61936b63a Comments 2016-04-25 12:28:30 -07:00
Ron Buckton
6e9eb35244 Fixes offsets for decorated parameters. 2016-04-22 16:40:33 -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
6b1f8525d9 Fixes source map emit for synthetic constructors 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
5481259b69 [Transforms] Fix 8157 (#8242)
* Use original text (e.g unicode) from source text when emit parameter-property declaration

* Update baseline
2016-04-22 08:42:42 -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