13301 Commits

Author SHA1 Message Date
zhengbli
635313ee45 Port #11285 to release-2.0.5 2016-10-12 15:33:56 -07:00
Vladimir Matveev
81fc759530 Merge pull request #11550 from Microsoft/vladima/generate-protocol
Automatically generate protocol.d.ts by pulling in necessary dependencies
2016-10-12 11:02: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
d6eab365b1 Merge pull request #11563 from Microsoft/release-2.0.5_navtree
Add "navtree" and "navtree-full" server commands
2016-10-12 09:25:00 -07:00
Andy Hanson
2333eb31a1 Add "navtree" and "navtree-full" server commands 2016-10-12 09:00:02 -07:00
Andy
8ddc031242 Merge pull request #11562 from Microsoft/release-2.0.5_gulpFixes
Port #11290 and #11358 to release-2.0.5
2016-10-12 08:49:14 -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
432590ee8f Merge pull request #11549 from Microsoft/vladima/port-update-documentation
ports #11501 into release-2.0.5
2016-10-11 21:58:55 -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
1781008b04 Merge pull request #11538 from Microsoft/vladima/remove-oneInferredProject
remove unused property from the protocol
2016-10-11 12:14:18 -07:00
Vladimir Matveev
ea8043f42e remove unused property from the protocol 2016-10-11 09:47:24 -07:00
Vladimir Matveev
ca8057e5c7 Merge pull request #11438 from Microsoft/vladima/fix-11204
exported name should be defined on the source file level
2016-10-07 09:48:12 -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
c1a69f8ee6 Update LKG 2016-10-05 21:30:00 -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
8661591fce Merge pull request #11408 from Microsoft/release-2.0.5-completionFixes
[Release 2.0.5] Porting completion and goto def fixes
2016-10-05 17:43:04 -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
Yui
7f07d160b3 Merge pull request #11390 from Microsoft/port11118_release-2.0.5
[Release-2.0.5]: Port PR#11118
2016-10-05 15:26:01 -07:00
Kanchalai Tanglertsampan
fdda541f7e update baselines 2016-10-05 14:31:52 -07:00
Kanchalai Tanglertsampan
5df39ba9cd Do not emit wrong extra comma 2016-10-05 13:59:56 -07:00
Kanchalai Tanglertsampan
40b5627b77 Add tests and baselines 2016-10-05 12:24:50 -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
a401ba56b5 Update baselines from cherry-pick changes from master 2016-10-05 11:05:59 -07:00
Kanchalai Tanglertsampan
d806cceddc Add tests 2016-10-05 11:02:49 -07:00
Kanchalai Tanglertsampan
18527467a2 Update baselines 2016-10-05 11:00:37 -07:00
Kanchalai Tanglertsampan
06492fad9e Make declaration emit test name consistent 2016-10-05 10:54:46 -07:00
Kanchalai Tanglertsampan
60876674f8 Update baselines from porting change to release-2.0.5 2016-10-05 10:35:53 -07:00
Kanchalai Tanglertsampan
b9dc02b4c4 Update baselines 2016-10-05 10:27:43 -07:00
Kanchalai Tanglertsampan
5347bab4e8 Add tests 2016-10-05 10:27:39 -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
ef17dc5741 Merge pull request #11374 from Microsoft/port-11368
ports #11398 in release-2.0.5
2016-10-05 09:49:19 -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
0d3f4aa29b Merge pull request #11330 from Microsoft/vladima/port-11300
Ports 11300 into release-2.0.5
2016-10-03 13:17:59 -07:00
Vladimir Matveev
6e0eea76e2 validate inferred typing names to be legal package names 2016-10-03 13:01:09 -07:00
mihailik
2906656f40 More robust check for Intl.Collator (#11318)
Comparing to `object` is both too wide and too narrow.

Too wide because `typeof null==="object"` so the check would pass in cases where it shouldn't.
Too narrow because there is no need to forbid `Intl` to be a function. All we care about is to be able to call `Intl.Collator`. Whilst the standard Chakra host might have `Intl` as plain object, it's best to keep it open and only limit to what we really need, not some implementation details.

Mentioned in https://github.com/Microsoft/TypeScript/pull/11268/files
2016-10-03 09:22:24 -07:00
Yui
3bab21c25e Merge pull request #11268 from Microsoft/fixChakraIntl
[Release-2.0.5] Address how Chakra load globalization dll
2016-09-30 10:33:10 -07:00