13264 Commits

Author SHA1 Message Date
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
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
Andy
efbb87329f Merge pull request #11279 from Microsoft/release-2.0.5_export_function
Port #11246 to release-2.0.5
2016-09-30 10:12:09 -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
Yui
ea6cd93968 Merge pull request #11157 from Microsoft/runTravisOn2.0.5
Update .travis.yml to run 2.0.5
2016-09-26 16:25:27 -07:00
Yui T
246e395dc6 Update .travis.yml to run 2.0.5 2016-09-26 15:42:13 -07:00
Mohamed Hegazy
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
a991673f1a allow to replace content of script info with empty text (#11075) 2016-09-22 17:29:18 -07:00
Zhengbo Li
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
0a0b7e4baa Update LKG 2016-09-22 16:31:23 -07:00
Mohamed Hegazy
9482233c22 Merge branch 'release-2.0.5' into gulpbuild v2.0.5 2016-09-22 16:22:40 -07:00
Mohamed Hegazy
0cd1af4fd6 Add gulp build tasks for cancellationToken and typingsInstaller 2016-09-22 16:20:27 -07:00
Mohamed Hegazy
59b12d721c Merge pull request #11069 from Microsoft/FixNPMLocation
Fix npm location
2016-09-22 15:33:43 -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
92ae0f1bbc Add cancellationToken and typingsInstaller to LKG command 2016-09-22 14:37:06 -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
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
3c4786d542 fix 9610 (#11042) 2016-09-21 16:52:02 -07:00
Vladimir Matveev
dd77c8c139 Merge pull request #11029 from Microsoft/fix-write-file
add check if expected directory path is non-empty string
2016-09-21 10:20:08 -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
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
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
jramsay
ec7c7a4a36 Merge pull request #11021 from Microsoft/throttle-in-runAsync
move throttling to runAsync
2016-09-20 16:10:46 -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