Commit Graph

8668 Commits

Author SHA1 Message Date
Wesley Wigham
5484e754e4 Remove extra semicolon 2016-07-13 12:40:37 -07:00
Andy
1546974ea6 Merge pull request #9676 from Microsoft/relative_module
Treat "." and ".." as relative module names
2016-07-13 12:18:14 -07:00
Andy Hanson
df59058812 Fix endsWith bug 2016-07-13 11:47:53 -07:00
Zhengbo Li
9eeb69dfbc Merge pull request #9621 from zhengbli/fixJSDocPropertyTag
fix the issue that @property types are not recoganized
2016-07-13 11:32:36 -07:00
Alex Eagle
34e81f2805 Add formatDiagnostics utility 2016-07-13 11:15:09 -07:00
Andy Hanson
8e679b7021 Remove duplicate startsWith and endsWith functions 2016-07-13 10:04:21 -07:00
Andy Hanson
e6e6a8b110 Use regex 2016-07-13 09:55:57 -07:00
Andy Hanson
c90897ccdd Treat "." and ".." as relative module names 2016-07-13 06:51:00 -07:00
Andy Hanson
5d37c29dbb Handle JSX bodies in formatter 2016-07-12 09:45:55 -07:00
Yui
48ab0ce07f Change version to 2.1.0 (#9615) 2016-07-11 20:53:12 -07:00
Wesley Wigham
cfe3aadeb3 Move unittests into harness 2016-07-11 17:42:52 -07:00
Wesley Wigham
fb20df0568 Have tsconfig for harness 2016-07-11 16:36:20 -07:00
Nathan Shively-Sanders
f19844fbe9 Merge pull request #9580 from Microsoft/compile-with-noImplicitThis
Compile with --noImplicitThis
2016-07-11 15:25:44 -07:00
zhengbli
c19512edb5 Add node flag check 2016-07-11 14:57:54 -07:00
Nathan Shively-Sanders
6414a5721c Remove another use of this, in program.ts 2016-07-11 13:49:36 -07:00
Bill Ticehurst
2f768f622e Merge pull request #9607 from Microsoft/issue9542
Fix #9542 (allow files under node_modules to be included in the compilation).
2016-07-11 13:47:39 -07:00
zhengbli
73f741418f fix the issue that @property types are not recoganized 2016-07-11 13:01:05 -07:00
Nathan Shively-Sanders
cc83c799aa Merge pull request #9578 from Microsoft/fix-salsa-out-of-memory-on-methods-returning-this
Provide a symbol for salsa-inferred class types
2016-07-11 11:41:18 -07:00
Nathan Shively-Sanders
a138e6307f Avoid using this in object literals where possible 2016-07-11 11:30:22 -07:00
Nathan Shively-Sanders
135cc12218 Merge pull request #9574 from Microsoft/fix-union-of-salsa-property-types
Fix type union of differing Salsa assignment-properties
2016-07-11 11:29:02 -07:00
Nathan Shively-Sanders
a3d9a85546 Add --pretty to tsconfigs 2016-07-11 11:00:06 -07:00
Nathan Shively-Sanders
cf15e825ee Fix this in harness and improve gulpfile defaults 2016-07-11 09:30:58 -07:00
Bill Ticehurst
21bf801c6c Removed duplicate logic 2016-07-10 23:07:45 -07:00
Bill Ticehurst
b75053cae3 Fixed implicit any 2016-07-10 21:49:13 -07:00
Bill Ticehurst
a7467a1d2b fixed lint error 2016-07-10 21:40:38 -07:00
Bill Ticehurst
2ab1143f1c Fixed the node tracking and a harness bug 2016-07-10 20:54:07 -07:00
Bill Ticehurst
ca874bdd17 Fix module tracking 2016-07-10 16:12:42 -07:00
Nathan Shively-Sanders
b543074861 Compile with --noImplicitThis
1. Add to various tsconfig.json
2. Add to Jakefile
3. Add annotations where needed.
4. Add workaround to shims.ts, which uses toplevel `this`.
2016-07-08 15:13:32 -07:00
Nathan Shively-Sanders
3c1a69b637 Provide a symbol for salsa-inferred class types 2016-07-08 12:52:54 -07:00
Zhengbo Li
81e8840136 Merge pull request #9565 from zhengbli/fixTypedefParsingIssue
Fix typedef parsing issue
2016-07-08 12:51:02 -07:00
Nathan Shively-Sanders
4721b91527 Fix multiple Salsa assignment-declarations
Previously, all assignment-declarations needed to be of the same kind:
either all `this.p = ...` assignments or `C.prototype.p = ...`
assignments.
2016-07-08 09:26:58 -07:00
Mohamed Hegazy
f0d5ff6c94 Update harness getDirectories implementation for shims 2016-07-07 16:49:17 -07:00
Mohamed Hegazy
5c498cdc81 Parse the result of getDirectories call 2016-07-07 16:49:12 -07:00
zhengbli
fd6676049b Avoid putting children tags in jsdoccomment 2016-07-07 13:50:11 -07:00
Mohamed Hegazy
99748a26fa Merge pull request #9557 from saneyuki/fix-unusedparam-this
Fix #9550: exclude 'this' type parameters from unusedParameters checks.
2016-07-07 11:47:45 -07:00
Sheetal Nandi
e1c69d7c92 Merge pull request #9537 from Microsoft/removeContentFromScriptInfo
Remove the unused text buffer(content) from ScriptInfo
2016-07-07 10:24:19 -07:00
Tetsuharu OHZEKI
1ee3f99e55 Fix #9550: exclude 'this' type parameters from unusedParameters checks. 2016-07-08 02:23:42 +09:00
Nathan Shively-Sanders
3e42733627 Merge pull request #9428 from Microsoft/runtests-parallel-skips-empty-buckets
runtests-parallel skips empty buckets
2016-07-07 08:26:26 -07:00
Mohamed Hegazy
9a39f9c117 Merge branch 'release-2.0' 2016-07-06 14:58:41 -07:00
Mohamed Hegazy
bf240d2c69 Fix #9531: account for async as an contextual keyword when parsing export assignments 2016-07-06 14:08:21 -07:00
Sheetal Nandi
635826ff13 Remove the unused text buffer from ScriptInfo 2016-07-06 11:44:51 -07:00
Mohamed Hegazy
29985f33b7 Update language in comment 2016-07-05 16:11:22 -07:00
Mohamed Hegazy
1102fa6bae Merge pull request #9420 from Microsoft/formatting_loc
Do not scan nodes preceding formatted region, just skip over them
2016-07-05 14:40:48 -07:00
Mohamed Hegazy
29ac7e4e3d Merge pull request #9510 from Microsoft/fixSwitchCase
Fix switch case circular reference stack overflow
2016-07-05 14:36:19 -07:00
Vladimir Matveev
d56a50bedb Merge pull request #9485 from Microsoft/getEmitOutputAsObject
add new method getEmitOutputObject to return result of the emit as object
2016-07-05 11:12:42 -07:00
Anders Hejlsberg
a8a8826f69 Exclude FlowSwitchClause from flow graph for case expressions 2016-07-04 20:27:59 -07:00
Yui
c2730ce659 Fix reading files from IOLog because previous our API captures (#9483)
* Fix reading files from IOLog because previous our API captures

* Refactoring the ioLog
2016-07-03 05:59:44 -07:00
Yui
19c141aefe Fix PromiseLike to be compatible with es6-promise (#9484) 2016-07-02 21:50:13 -07:00
Vladimir Matveev
f9a5593f6a fix linter 2016-07-01 20:30:08 -07:00
Vladimir Matveev
f7c4281f6b add new method getEmitOutputObject to return result of the emit as object with properties instead of json string 2016-07-01 17:35:12 -07:00