9432 Commits

Author SHA1 Message Date
Mohamed Hegazy
1a698df3c8 Update version 2016-11-07 16:52:08 -08:00
Vladimir Matveev
435270ee77 reduce set of files being watched, increase polling interval (#12054) 2016-11-07 14:00:25 -08:00
Vladimir Matveev
7c92057639 enable sending telemetry events to tsserver client (#12035)
enable sending telemetry events
2016-11-04 09:59:44 -07:00
Mohamed Hegazy
17735cd2e5 Update version 2016-11-03 14:50:58 -07:00
Vladimir Matveev
1b9acca8ba use local registry to check if typings package exist (#12014)
use local registry to check if typings package exist
2016-11-03 14:13:39 -07:00
Vladimir Matveev
6041fceb52 support both old and new set of settings in the formatting API 2016-10-26 14:20:54 -07:00
Mohamed Hegazy
f0aa3b83ae Revert "Merge pull request #11713 from Microsoft/PortSkipSemanticCheckToRelease-2-0-5" (#11802)
This reverts commit 3ab3d9570feba48437b1429b6e1205351d077ca5, reversing
changes made to cca3c1f0e03951065ea70ce3451d9e940c5bc8bc.
2016-10-23 11:23:29 -07:00
Vladimir Matveev
8f55333028 watch configuration files if they exist even if they cannot be parsed 2016-10-20 15:43:46 -07:00
Jason Ramsay
c63b69d7b8 Fix typo in shouldSkipSemanticCheck 2016-10-18 13:07:08 -07:00
Jason Ramsay
58a0e751f0 Add getSyntacticDiagnostics unit test 2016-10-18 12:35:50 -07:00
Jason Ramsay
883e19e5b3 Add isSemantic check to getDiagnosticsWorker 2016-10-18 12:34:24 -07:00
Jason Ramsay
b5441dec1f Turn on skipLibCheck for js-only inferred project and external project (#11399)
* Turn on skipLibCheck for js-only inferred project and external project
* avoid changing compiler options
* Update tests
2016-10-18 12:32:59 -07:00
Vladimir Matveev
2458a1c884 allow reload from temp files 2016-10-17 21:32:37 -07:00
Vladimir Matveev
8d84245ba2 remove changes in commandLineParser.ts 2016-10-17 14:50:21 -07:00
Vladimir Matveev
668c3f8f1e addressed PR feedback 2016-10-17 14:41:24 -07:00
Vladimir Matveev
135c6b5d08 switch enums in protocol to unions of literal types 2016-10-14 17:19:57 -07:00
Kanchalai Tanglertsampan
9c8e462163 guard using localeCompare and consolidate all localeCompare call to
CompareStrings function

Guard localeCompare function

Only use localeCompare in CompareStrings

Address PR: remove locales and options; use accent as default

Remove unused function
2016-10-14 09:50:37 -07:00
Vladimir Matveev
e017583a9b Merge pull request #11594 from Microsoft/vladima/fix-11590
return result from SetCompilerOptionsForInferredProject request
2016-10-13 16:46:44 -07:00
Zhengbo Li
ee95afeaf8 Port #11601 to release-2.0.5
* Avoid watching non-existing directories and fix null-exception

* Add test

* Move the fix to sys to cover tsc -w also
2016-10-13 15:48:24 -07:00
Vladimir Matveev
fd1b98b58a return result from SetCompilerOptionsForInferredProject request 2016-10-13 10:41:31 -07:00
Vladimir Matveev
27060cdf98 use query to npm registry instead of 'npm view' 2016-10-12 21:36:55 -07:00
Vladimir Matveev
8c41fef7a7 disable typing acquisition if command line option '--disableAutomaticTypingAcquisition' is set 2016-10-12 16:23:34 -07:00
zhengbli
635313ee45 Port #11285 to release-2.0.5 2016-10-12 15:33:56 -07:00
Vladimir Matveev
c0d1c3195e addressed PR feedback 2016-10-12 10:51:52 -07:00
Vladimir Matveev
a1b94163f0 Merge remote-tracking branch 'origin/release-2.0.5' into vladima/generate-protocol 2016-10-12 10:02:53 -07:00
Andy Hanson
2333eb31a1 Add "navtree" and "navtree-full" server commands 2016-10-12 09:00:02 -07:00
Andy Hanson
2f2117c0ee Port #11290 and #11358 to release-2.0.5 2016-10-12 08:38:26 -07:00
Vladimir Matveev
9a707737c0 add missing requests/responses, add command types to requests 2016-10-11 22:49:47 -07:00
Vladimir Matveev
d05530d987 Merge remote-tracking branch 'origin/release-2.0.5' into vladima/generate-protocol 2016-10-11 22:05:46 -07:00
Vladimir Matveev
534787bd9c update documentation in protocol.d.ts (#11501)
update documentation in protocol.d.ts
2016-10-11 21:42:45 -07:00
Vladimir Matveev
b8d5741bc6 update tests 2016-10-11 17:27:45 -07:00
Vladimir Matveev
735e2fb43a generate protocol on fly 2016-10-11 17:08:04 -07:00
Vladimir Matveev
ea8043f42e remove unused property from the protocol 2016-10-11 09:47:24 -07:00
Vladimir Matveev
a31c8d5861 exported name should be defined on the source file level 2016-10-06 21:28:50 -07:00
Yui
90b81858af Merge pull request #11392 from Microsoft/release-2.0.5_emitDTS
[Release-2.5] Port fix from master to release-2.0.5: Serialize type alias when type-alias is not accessible and emit generic
2016-10-06 16:20:49 -07:00
Kanchalai Tanglertsampan
e38252d7ed Fix spelling 2016-10-06 15:18:55 -07:00
Yui
be85524319 Merge pull request #11397 from Microsoft/release-2.0.5_fix11384
[Release-2.0.5] Do not emit wrong extra comma
2016-10-06 13:57:25 -07:00
Mohamed Hegazy
d48a3b19e5 Update Version 2016-10-05 21:15:58 -07:00
Mohamed Hegazy
a7d2840d51 Fix #11314: Expose insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces and insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces on protocol definiton (#11405)
* Fix #11314: Expose `insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces` and `insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces` on protocol definiton

* Make options optional
2016-10-05 21:14:16 -07:00
Sheetal Nandi
d8280d8807 Handle the require call in javascript file for getSymbolAtLocation
This helps in getting the alias symbol so that it can go to the definition of external module
Fixes #9251
2016-10-05 17:19:38 -07:00
Sheetal Nandi
f30874763f Even in javascript files when creating completion entry from symbols we need to perform identifier check
Fixes #11217
2016-10-05 16:59:58 -07:00
Sheetal Nandi
ffe07e7e71 Fix incorrect returning of completion entries when in string literal of property assignment expression
Fixes #11232
2016-10-05 16:58:50 -07:00
Kanchalai Tanglertsampan
5df39ba9cd Do not emit wrong extra comma 2016-10-05 13:59:56 -07:00
Kanchalai Tanglertsampan
948cd1e842 Only emit inferred type-alias if it is fully instantiated 2016-10-05 12:22:43 -07:00
Kanchalai Tanglertsampan
f6b3afa7d6 Address PR 2016-10-05 11:48:20 -07:00
Kanchalai Tanglertsampan
4fb0f06f6d Serialize type alias when type alias symbol is not accessible 2016-10-05 11:45:52 -07:00
Kanchalai Tanglertsampan
13373e41c8 Address Github #11081 when we start paring "1" in type and keep going instead of terminate when see ")" 2016-10-05 10:27:30 -07:00
Vladimir Matveev
4f39a3b919 do not apply subtype reduction if type set contains enum literals fro… (#11368)
* do not apply subtype reduction if type set contains enum literals from the same enum

* do not re-read symbol for the first enum

* addressed PR feedback
2016-10-04 17:10:37 -07:00
Dirk Bäumer
132d1dacec Addresses #11348: Could the tsserver add process.noAsar = true; (#11351) 2016-10-04 10:18:03 -07:00
Vladimir Matveev
6e0eea76e2 validate inferred typing names to be legal package names 2016-10-03 13:01:09 -07:00