12145 Commits

Author SHA1 Message Date
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 d9102d1e3f28d4f2791b7eb99c737e0004f01463.

* 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
0af375ef17 Merge pull request #8906 from Microsoft/transforms-commentsPerf
[Transforms] Performance improvements in the comment emitter.
2016-06-01 15:15:52 -07:00
Ron Buckton
bf9d2c4beb Updated comments for iterateCommentRanges 2016-06-01 15:10:00 -07:00
Yui
5853aad4ae [Transforms] Update baselines from merging with master (#8898)
* Update baselines from merging with master

* Update sourcemap baselines

Update sourcemap baselines

* Update error baselines

* Update baselines as the test-cases already include --module flag with amd

* Fix baselines

* Update baselines from merging with master. This is a fix in master (issue #8507) and the baselines was udpated in transforms before losing in merging master
2016-06-01 14:15:24 -07:00
Ron Buckton
b896aaecee Merge branch 'transforms' into transforms-commentsPerf 2016-06-01 11:43:40 -07:00
Ron Buckton
c9ec4e22e7 Fix merge issues 2016-06-01 11:43:23 -07:00
Ron Buckton
66514a2810 Merge branch 'transforms' into transforms-commentsPerf 2016-05-31 18:44:16 -07:00
Ron Buckton
a07965aad8 Merge branch 'master' into transforms 2016-05-31 18:43:51 -07:00
Zhengbo Li
166f399d17 Merge pull request #8103 from zhengbli/typedefForJsdoc
[Salsa] Support @typedef for jsdoc
2016-05-31 16:24:44 -07:00
Ron Buckton
e9115cad19 Simplify disabling comments recursively, cleanup unused flags. 2016-05-31 16:24:20 -07:00
zhengbli
eb0f035c78 Remove unused parameter 2016-05-31 16:08:12 -07:00
Ron Buckton
e063bb09b6 Merge branch 'transforms' into transforms-commentsPerf 2016-05-31 15:49:57 -07:00
Ron Buckton
0f8341f5ac Merge pull request #8899 from Microsoft/transforms-binderPerf
[Transforms] Performance improvements in the binder.
2016-05-31 15:49:28 -07:00
Ron Buckton
b5d55c50f2 Merge branch 'transforms' into transforms-binderPerf 2016-05-31 15:32:48 -07:00
zhengbli
630517b8ad Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc 2016-05-31 15:30:42 -07:00
Yui
f3dd0b0e4f Correct emit never-type (#8903) 2016-05-31 15:11:00 -07:00
Anders Hejlsberg
4095602ce5 Merge pull request #8849 from Microsoft/outerControlFlows
Improve control flow analysis in function expressions
2016-05-31 14:51:39 -07:00
Zhengbo Li
5c095a8975 Merge pull request #8901 from zhengbli/formatOnTypeCurrentLine1
Not let the "Format on enter" feature delete the indentation of the current line
2016-05-31 14:35:22 -07:00
Anders Hejlsberg
41446fe4c2 Address CR feedback 2016-05-31 14:33:00 -07:00
zhengbli
58fdd011df avoid eating all preceding empty lines 2016-05-31 14:11:39 -07:00
zhengbli
241920c960 Merge branch 'outerControlFlows' of https://github.com/Microsoft/TypeScript into typedefForJsdoc
# Conflicts:
#	src/compiler/binder.ts
2016-05-31 14:02:45 -07:00
zhengbli
3433a7800a Fix formatOnEnter for double newlines 2016-05-31 12:35:12 -07:00
Yui
35b8b42b55 Only check if the extensions match (#8870) 2016-05-31 11:16:56 -07:00
Ron Buckton
3129c10bdb Merge branch 'transforms' into transforms-binderPerf 2016-05-31 11:16:27 -07:00
Ron Buckton
1b7a67e5a1 Merge pull request #8873 from Microsoft/transforms-visitEachChildPerf
[Transforms] Optimize frequent paths in `visitEachChild`.
2016-05-31 11:06:04 -07:00
Zhengbo Li
e93f9df955 Fix broken test 2016-05-31 10:48:25 -07:00
Nathan Shively-Sanders
44c5a816e3 Merge pull request #8897 from Microsoft/fix-runtest-browser-running-zero-tests
Remove redundant parameter to `writeTestConfigFile`
2016-05-31 10:39:34 -07:00
Zhengbo Li
5261467a32 Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc 2016-05-31 10:39:23 -07:00
Nathan Shively-Sanders
e4ca76898f Remove redundant parameter to writeTestConfigFile
It allowed a new parameter to silently succeed, causing runtests-browser
to run zero files.
2016-05-31 10:17:45 -07:00
Andy
13900aaf27 Merge pull request #8863 from Microsoft/navbar_readonly_property
Add tests for private and readonly parameter properties in navbar
2016-05-31 05:49:09 -07:00
zhengbli
59b188d4ca Add navigationTo test for jsdoc typedef 2016-05-31 02:05:26 -07:00
zhengbli
18ee4b0a1e cr feedback 2016-05-30 22:11:43 -07:00
Anders Hejlsberg
5b4dffc2d7 More critical path optimization in binder 2016-05-29 16:04:34 -07:00
Anders Hejlsberg
66e9f7dc21 Optimize critical code paths in binder 2016-05-28 16:00:31 -07:00
Anders Hejlsberg
4d730a5c6a Update test 2016-05-28 06:45:10 -07:00
Anders Hejlsberg
e8ecf0e615 Track return statements in IIFE using a flow label 2016-05-28 06:43:28 -07:00
Ron Buckton
49f3bbfb8e Merge branch 'transforms-binderPerf' into transforms-commentsPerf 2016-05-27 17:13:51 -07:00
Ron Buckton
7da8f74eca Merge branch 'transforms-visitEachChildPerf' into transforms-binderPerf 2016-05-27 17:11:37 -07:00
Ron Buckton
22e0aa0d35 Merge branch 'transforms-visitEachChildPerf' into transforms-commentsPerf 2016-05-27 17:09:52 -07:00
Ron Buckton
43e3f357ee Reduce allocations/gc by avoiding the creation of some CommentRange objects. 2016-05-27 17:07:49 -07:00
Ron Buckton
5fbb326d8d Fix various linter warnings. 2016-05-27 17:05:35 -07:00
Ron Buckton
08bd78e498 Remove unused types. 2016-05-27 16:52:44 -07:00
Ron Buckton
7783cb9790 Merge branch 'transforms' into transforms-merge 2016-05-27 16:38:40 -07:00
Ron Buckton
364a485b2b Merge branch 'transforms-fixPerformance' into transforms-visitEachChildPerf 2016-05-27 16:21:38 -07:00
Ron Buckton
2ed97896d7 Merge pull request #8824 from Microsoft/transforms-fixPerformance
[Transforms] Performance fixes
2016-05-27 16:19:48 -07:00
Vladimir Matveev
e9de47f6a9 Merge pull request #8869 from Microsoft/reachability-empty-default
check that default clause is non-empty in reachability checks
2016-05-27 16:15:09 -07:00
Vladimir Matveev
92938cd8df check that default clause is non-empty in reachability checks 2016-05-27 15:38:59 -07:00
Ron Buckton
82e2531f6d Performance API cleanup, pre-init with common values. 2016-05-27 14:55:59 -07:00
Ron Buckton
0d2b1c47f8 Moved code around to fix compile errors in processDiagnosticMessages script. 2016-05-27 14:55:11 -07:00
Andy Hanson
f3d1b46dcb Add tests for private and readonly parameter properties in navbar 2016-05-27 10:40:28 -07:00