Commit Graph

23471 Commits

Author SHA1 Message Date
Andy cae464058a Delete "delete me" files (#23446) 2018-04-16 15:29:02 -07:00
csigs 2558839e91 LEGO: Merge pull request 23447
LEGO: Merge pull request 23447
2018-04-16 15:11:29 -07:00
csigs 1bafc49da0 LEGO: check in for master to temporary branch. 2018-04-16 22:11:09 +00:00
Ryan Cavanaugh 127dda442e Merge pull request #23443 from Microsoft/fixGulpfile
Convert gulp processDiagnostics builder to project compilation
2018-04-16 15:09:35 -07:00
Ryan Cavanaugh 5ce6b6a2ae Convert gulp processDiagnostics builder to project compilation 2018-04-16 13:53:30 -07:00
Armando Aguirre 9923003ee6 Merge branch 'master' into AddVueSupport 2018-04-16 13:45:34 -07:00
Armando Aguirre 2f7e0dc5dd Refactored getSupportedExtension to only copy array when necessary 2018-04-16 13:36:03 -07:00
Andy aac9ef5e51 convertToEs6Module: Avoid replacing entire function (#22507)
* convertToEs6Module: Avoid replacing entire function

* Code review

* Fix typo
2018-04-16 13:16:04 -07:00
Mohamed Hegazy a8618a79e1 Merge pull request #23358 from joscha/joscha/fix-non-imports-matching
fix: do not match MySymbol.import("mod")
2018-04-16 12:37:53 -07:00
Mohamed Hegazy f0057f9a33 Remove condition 2018-04-16 11:48:04 -07:00
Andy Hanson a60caba467 In outliningElementsCollector, treat 'else if' as having same depth as the 'if' 2018-04-16 11:33:30 -07:00
Andy cc6bc763bc Simplify getConvertibleFieldAtPosition (#23315) 2018-04-16 09:30:10 -07:00
csigs 3c92344fcc LEGO: Merge pull request 23428
LEGO: Merge pull request 23428
2018-04-16 09:11:04 -07:00
csigs f5b7826c1f LEGO: check in for master to temporary branch. 2018-04-16 16:10:41 +00:00
Andy a297a28fd5 Use getPossibleSymbolReferenceNodes in one more place (#23378) 2018-04-16 08:27:25 -07:00
Anders Hejlsberg 8cb515ab13 Add members for numeric and symbol named properties in mapped types 2018-04-16 07:16:26 -07:00
Daniel Rosenwasser a2073f1217 Accepted baselines. 2018-04-15 16:04:47 -07:00
Daniel Rosenwasser eb8eeafc22 Allow parsing tagged templates with type arguments in new expressions. 2018-04-15 16:04:25 -07:00
Daniel Rosenwasser 2510c19fbd Accepted baselines. 2018-04-15 15:59:23 -07:00
Daniel Rosenwasser 6107e05e8c Added test for tagged templates in new expressions. 2018-04-15 15:57:38 -07:00
Anders Hejlsberg 6c60f7e243 Accept new baselines 2018-04-14 17:16:07 -10:00
Anders Hejlsberg c344e6d0ba Fixes and improvements to indexed access type relationships 2018-04-14 17:10:05 -10:00
Joscha Feth a3311edb4a revert change 2018-04-15 11:30:37 +10:00
Joscha Feth 4dc9db1e70 detect nested non-imports 2018-04-15 11:27:51 +10:00
Daniel Rosenwasser 299002d597 Fix spacing. 2018-04-14 11:53:27 -07:00
Joscha Feth c64c1c9395 fix up 2018-04-15 03:30:47 +10:00
Joscha Feth f4fa2eb28e undefined instead of null 2018-04-15 01:51:01 +10:00
Joscha Feth 02b8160b41 store lastToken 2018-04-15 01:23:27 +10:00
Daniel Rosenwasser fe8615d0a8 Accepted baselines. 2018-04-13 23:45:18 -07:00
Daniel Rosenwasser 82e09c908e Perform checking and resolution of tagged template type arguments. 2018-04-13 23:45:17 -07:00
Daniel Rosenwasser 4785acb8cd Accepted baselines. 2018-04-13 23:45:17 -07:00
Daniel Rosenwasser 7aa916a5cb Strip away type arguments from tagged templates when emitting. 2018-04-13 23:45:16 -07:00
Daniel Rosenwasser 090f6bd77c Accepted baselines. 2018-04-13 23:45:16 -07:00
Daniel Rosenwasser da7967a3cf Added basic support for parsing/emitting type arguments in tagged template expressions. 2018-04-13 23:45:16 -07:00
Daniel Rosenwasser 60b6d3fbce Fixed up test. Thanks arrow functions... 2018-04-13 23:45:15 -07:00
Daniel Rosenwasser 23567ee05d Accepted baselines. 2018-04-13 23:01:34 -07:00
Daniel Rosenwasser b409888cbc Added tests. 2018-04-13 23:01:24 -07:00
Daniel Rosenwasser 7fd1dda13c Accepted baselines 2018-04-13 21:19:24 -07:00
Daniel Rosenwasser bd3e854b31 Automatically configure tsc output and provide a new 'diagnosticStyle' option. 2018-04-13 21:19:24 -07:00
Sheetal Nandi ce08af4dfe Merge branch 'master' into requireJson 2018-04-13 15:26:16 -07:00
Sheetal Nandi 82e9a7595b Invoked should be property on watchers map instead of local variable since watchers arent closed if they need to be reopened 2018-04-13 15:17:13 -07:00
Sheetal Nandi 60b19f5782 Invalidate the unresolved import resolutions when typing files are set
This has 3 changes:
1. In updateGraph when enqueue the typing installation request (depending on unresolved imports)
2. When ActionSet event is received, invalidate only files with unresolved imports and resolve those.
3. When ActionInvalidate event is received, typing installer has detected some change in global typing cache location, so just enqueue a new typing installation request. This will repeat the cycle of setting correct typings and pickiing unresolved imports
2018-04-13 15:17:13 -07:00
Sheetal Nandi 35abe26824 Force new typings resolution only if there are more or less script infos in the project.
This helps in reducing number of forced typing installation requests
We anyways use changes in unresolved import array to determine if we need to enqueue new typing request
Hence there is no need to soley rely on hasChanges from updateGraph which just indicates that we didnt reused the program (that does not mean new files were added to the program or changes in unresolved imports)
2018-04-13 15:17:13 -07:00
Sheetal Nandi c9479f7263 Remove the specialized type UnresolvedImportsMap which is just a redirection and helps only in test only 2018-04-13 15:17:13 -07:00
Sheetal Nandi b0fb73c47c Typings cache is internal data structure 2018-04-13 15:17:12 -07:00
csigs 23ed9f8423 LEGO: Merge pull request 23401
LEGO: Merge pull request 23401
2018-04-13 15:11:08 -07:00
csigs ef772d5e68 LEGO: check in for master to temporary branch. 2018-04-13 22:10:41 +00:00
Joscha Feth ee429ef2ea use state 2018-04-13 11:39:29 +10:00
Ryan Cavanaugh 7631ad03a3 Merge pull request #23386 from Microsoft/fix-jakefile-case-and-reference-circularity
Fix jakefile case and circular references
2018-04-12 17:01:49 -07:00
Nathan Shively-Sanders 32c571374e Update tsserverlibrary.d.ts after missed baseline 2018-04-12 16:26:37 -07:00