Commit graph

13231 commits

Author SHA1 Message Date
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
Ryan Cavanaugh
2612a74f63 Working version 2016-09-19 17:04:51 -07:00
Vladimir Matveev
55f6d4f90d do not adjust location being passed to the managed side (#10999)
do not adjust location being passed to the managed side

* remove redundant code
2016-09-19 16:57:19 -07:00
Vladimir Matveev
286a12edd1 defer settings format options on file until it is explicitly requested (#10971) 2016-09-18 21:14:39 -07:00
Jason Ramsay
4b9e554494 Add throttle limit to typings installer requests 2016-09-16 18:36:13 -07:00
Vladimir Matveev
121b04ee36 (lshost): run second module resolution pass if first pass yielded non-ts file (#10959)
* (lshost): run second module resolution pass if first pass yielded non-ts file

* use length check
2016-09-16 15:49:20 -07:00
Vladimir Matveev
4668c99222 Merge pull request #10943 from Microsoft/update-external-project
correctly update external project if config file is added or removed
2016-09-16 14:39:00 -07:00
Vladimir Matveev
5c604f92d7 correctly update external project if config file is added or removed 2016-09-15 15:39:16 -07:00
Kanchalai Tanglertsampan
3a9d8506eb Update LKG 2016-09-14 17:01:03 -07:00
Kanchalai Tanglertsampan
7fd5699511 Merge branch 'release-2.0' into release-2.0.5 2016-09-14 16:57:59 -07:00
Kanchalai Tanglertsampan
5f1336be9e Update LKG 2016-09-14 16:38:11 -07:00
Yui
c98103b1fb Merge pull request #10928 from Microsoft/addTestFix10625
[Release-2.0] Add tests and baselines
2016-09-14 16:31:27 -07:00
Ryan Cavanaugh
bca3493ffb Merge pull request #10930 from RyanCavanaugh/release-2.0
Cherry-pick #10929 to release-2.0
2016-09-14 16:30:00 -07:00
Ryan Cavanaugh
d37391fcfc Allow type and NS references to UMD globals from modules
Fixes #10638
2016-09-14 16:11:23 -07:00
Yui T
48e51b5361 Add tests and baselines 2016-09-14 15:42:53 -07:00
Mohamed Hegazy
4ce2280559 Update LKG 2016-09-14 13:42:01 -07:00
Mohamed Hegazy
93e0451b5d Merge branch 'release-2.0_fix10625' into release-2.0 2016-09-14 13:40:14 -07:00
Mohamed Hegazy
9cabffe5db Merge branch 'release-2.0' into release-2.0_fix10625 2016-09-14 13:36:07 -07:00
Mohamed Hegazy
0c443c2569 Update LKG 2016-09-14 13:30:16 -07:00
Yui T
14b59b23e7 Address PR 2016-09-14 13:30:15 -07:00
Mohamed Hegazy
b6aeaab019 Update version 2016-09-14 13:13:34 -07:00
Yui T
ced8cf8670 Add tests and update baselines 2016-09-14 11:55:13 -07:00
Yui T
332b3165c3 Emit declaration file which inferred type alias with its value 2016-09-14 11:54:17 -07:00
Zhengbo Li
3c20df5e93 Create folders for sys.writeFile if folder doesn't exist (#10848)
* Create folders for sys.writeFile

* Use project root path for emit output file name

* Normalize project file path for external projects

* Patch writeFile for all sys implementations

* Use the original file for single inferred project case

* recursive create directory for all sys implementations
2016-09-13 16:20:42 -07:00
Zhengbo Li
2ca9953235 Support compile on save for inferred projects (#10847)
* Support compile on save for inferred projects

* Rename to remove the "VS" prefix
2016-09-13 16:14:55 -07:00
Vladimir Matveev
d14183c5a1 merge with origin/release-2.0.5 2016-09-13 15:59:04 -07:00
Nathan Shively-Sanders
82a4d58eb3 Merge branch 'release-2.0.5' of https://github.com/Microsoft/TypeScript into release-2.0.5 2016-09-13 13:43:31 -07:00
Nathan Shively-Sanders
28ec7d6177 Update baselines after cherry-pick to 2.0.5 2016-09-13 13:38:29 -07:00
Nathan Shively-Sanders
d81ad4608d Remove unnecessary parentheses 2016-09-13 13:34:18 -07:00
Nathan Shively-Sanders
71fa082a0c Update baselines 2016-09-13 13:34:13 -07:00
Nathan Shively-Sanders
267042fdc3 Computed enum assignability is semi-structural 2016-09-13 13:34:09 -07:00
Nathan Shively-Sanders
bfed54487e Update baselines for updated enum assignability 2016-09-13 13:33:45 -07:00
Nathan Shively-Sanders
d0f8be535e Enum assignability:loosen numbers+tighten computed
1. All numbers and numeric literals are assignable to all enums and enum
literals.
2. Computed enums are no longer assignable to anything except
themselves, even if they would otherwise be "semi-structurally"
compatible.
2016-09-13 13:31:50 -07:00
Nathan Shively-Sanders
e384317173 Update baselines 2016-09-13 13:31:42 -07:00