Andy Hanson
2f2117c0ee
Port #11290 and #11358 to release-2.0.5
2016-10-12 08:38:26 -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
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 and GitHub
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 and GitHub
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 and GitHub
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 and Mohamed Hegazy
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
mihailik and Mohamed Hegazy
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 and GitHub
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
Andy Hanson
3084ffbf3f
Ensure that checkGrammarModuleElementContext reliably returns true when there is bad grammar
2016-09-30 06:09:37 -07:00
Kanchalai Tanglertsampan
a83a692c40
Fix 11110: this is to address how Chakra load globalization dll
2016-09-29 16:52:45 -07:00
Mohamed Hegazy and GitHub
a9d97ae22e
Merge pull request #11071 from Microsoft/gulpbuild
...
Add gulp build tasks for cancellationToken and typingsInstaller
2016-09-22 19:11:45 -07:00
Vladimir Matveev and GitHub
a991673f1a
allow to replace content of script info with empty text ( #11075 )
2016-09-22 17:29:18 -07:00
Zhengbo Li and GitHub
ff082eb617
Merge pull request #11070 from zhengbli/allowSynthetic
...
set allowSyntheticDefaultImports to true by default for jsconfig.json
2016-09-22 17:13:31 -07:00
Mohamed Hegazy
0cd1af4fd6
Add gulp build tasks for cancellationToken and typingsInstaller
2016-09-22 16:20:27 -07:00
zhengbli
12578a5cc6
set allowSyntheticDefaultImports to true by default for jsconfig.json
2016-09-22 14:55:58 -07:00
Mohamed Hegazy
311e2851b9
Merge branch 'release-2.0.5' into FixNPMLocation
2016-09-22 14:39:12 -07:00
Mohamed Hegazy
f13cef19dd
Add fallback for npm location if not running under node.exe
2016-09-22 14:34:08 -07:00
Vladimir Matveev and GitHub
1fd0a8ca7d
added unittest for watching @types ( #11027 )
...
added unittest for watching @types
* remove debugger statement, fix linter issues
2016-09-22 14:17:19 -07:00
Zhengbo Li and GitHub
3c4786d542
fix 9610 ( #11042 )
2016-09-21 16:52:02 -07:00
Vladimir Matveev
2a206b3dd7
add check if expected directory path is non-empty string
2016-09-21 00:02:20 -07:00
Ryan Cavanaugh and GitHub
53232b9680
Merge pull request #11002 from RyanCavanaugh/watchForTypes
...
Watch for changes in types roots
2016-09-20 17:12:18 -07:00
Ryan Cavanaugh
52fddfa137
Add TODO
2016-09-20 17:12:07 -07:00
Ryan Cavanaugh
6449e5c357
Lint
2016-09-20 16:56:50 -07:00
jramsay and GitHub
6275da2a52
Merge pull request #10960 from Microsoft/throttleTypingsInstallerRequestsFinal
...
Add throttle limit to typings installer requests
2016-09-20 16:55:21 -07:00
Ryan Cavanaugh
8c899a6c60
An elegant weapon for a more civilized age
2016-09-20 16:52:34 -07:00
Vladimir Matveev
7ca85e0e4b
move throttling to runAsync
2016-09-20 14:14:51 -07:00
Ryan Cavanaugh
2dfcafe2b3
)
2016-09-20 12:11:39 -07:00
Ryan Cavanaugh
3c7b213a8c
PR updates
2016-09-20 12:07:52 -07:00
Ryan Cavanaugh
aa03a04c7f
Use explicit coercion
2016-09-20 11:30:34 -07:00
Jason Ramsay
609e56ed8e
- Reorganize nodeTypingsInstaller and typingsInstaller for testing purposes
...
- Add throttle tests
- Add full npm path
2016-09-19 22:27:11 -07:00
Ryan Cavanaugh
76f51ad37c
Cleanup
2016-09-19 18:28:53 -07:00
Ryan Cavanaugh
c0806439ea
Refactor
2016-09-19 18:20:50 -07:00
Ryan Cavanaugh
46dfd68ef8
Always return []
2016-09-19 18:00:42 -07:00
Ryan Cavanaugh
924a2bf03d
Remove unused
2016-09-19 17:53:10 -07:00
Ryan Cavanaugh
c1630e59d1
Fixup
2016-09-19 17:25:27 -07:00
Ryan Cavanaugh
6de3dc4f8b
Cleanup
2016-09-19 17:04:51 -07:00