Commit Graph

  • 12f6e5232b Remove unnecessary allocation uniqueiniquity 2018-04-17 09:41:26 -07:00
  • 160356317b Treat expectedRanges as readonly uniqueiniquity 2018-04-17 09:20:52 -07:00
  • 3a8d66ba29 Only normalize for purposes of assert uniqueiniquity 2018-04-17 09:20:34 -07:00
  • e50b24a83b convertFunctionToEs6Class: Copy comment from variable declaration (#23445) Andy 2018-04-17 09:15:05 -07:00
  • 55f9a6ffc2 Fix bug: VariableDeclaration initiazer may be undefined (#23439) Andy 2018-04-17 08:59:07 -07:00
  • c974b2ced7 Helps to check in the test changes, too Josh Goldberg 2018-04-17 08:57:05 -07:00
  • bc9ad90a81 Adjusted newlines in non-pretty output for consistency Josh Goldberg 2018-04-17 08:28:12 -07:00
  • bc285aa9a1 findAllReferences: Mark *every* search symbol as seen, not just search.symbol (#23451) Andy 2018-04-17 07:53:43 -07:00
  • 6798d56472 Fix Promise.reject falsandtru 2018-04-17 23:08:06 +09:00
  • 8175d29878 LEGO: Merge pull request 23463 csigs 2018-04-17 03:10:59 -07:00
  • e35336c118 LEGO: check in for master to temporary branch. csigs 2018-04-17 10:10:39 +00:00
  • 9dff614bd2 Combined the "Found X error(s)" and "Compilation" complete --watch messages Josh Goldberg 2018-04-17 01:47:43 -07:00
  • 0223404948 LEGO: Merge pull request 23456 csigs 2018-04-16 21:11:08 -07:00
  • 1e6e679a53 LEGO: check in for master to temporary branch. csigs 2018-04-17 04:10:48 +00:00
  • 40fd6aebdc Shrink span for convert-to-es6-module suggestion (#23441) Andy 2018-04-16 16:46:27 -07:00
  • 221ac50c4c Merge pull request #23437 from Microsoft/getOutliningSpansDepthElseIf Benjamin Lichtman 2018-04-16 16:25:57 -07:00
  • 606492b677 Fix lint error and normalization issue uniqueiniquity 2018-04-16 16:20:12 -07:00
  • 16cd5580a6 Merge branch 'master' into improveIndexTypes Anders Hejlsberg 2018-04-16 16:18:29 -07:00
  • e9d6f788ca Add test uniqueiniquity 2018-04-16 15:58:39 -07:00
  • 003c0a6743 Move normalization into services uniqueiniquity 2018-04-16 15:58:25 -07:00
  • 676983cb3e Normalize paths to search for highlights uniqueiniquity 2018-04-16 13:26:21 -07:00
  • cae464058a Delete "delete me" files (#23446) Andy 2018-04-16 15:29:02 -07:00
  • 2558839e91 LEGO: Merge pull request 23447 csigs 2018-04-16 15:11:29 -07:00
  • 1bafc49da0 LEGO: check in for master to temporary branch. csigs 2018-04-16 22:11:09 +00:00
  • 127dda442e Merge pull request #23443 from Microsoft/fixGulpfile Ryan Cavanaugh 2018-04-16 15:09:35 -07:00
  • 5ce6b6a2ae Convert gulp processDiagnostics builder to project compilation Ryan Cavanaugh 2018-04-16 13:53:30 -07:00
  • 9923003ee6 Merge branch 'master' into AddVueSupport Armando Aguirre 2018-04-16 13:45:34 -07:00
  • 2f7e0dc5dd Refactored getSupportedExtension to only copy array when necessary Armando Aguirre 2018-04-16 13:36:03 -07:00
  • aac9ef5e51 convertToEs6Module: Avoid replacing entire function (#22507) Andy 2018-04-16 13:16:04 -07:00
  • a8618a79e1 Merge pull request #23358 from joscha/joscha/fix-non-imports-matching Mohamed Hegazy 2018-04-16 12:37:53 -07:00
  • f0057f9a33 Remove condition Mohamed Hegazy 2018-04-16 11:48:04 -07:00
  • a60caba467 In outliningElementsCollector, treat 'else if' as having same depth as the 'if' Andy Hanson 2018-04-16 11:22:24 -07:00
  • cc6bc763bc Simplify getConvertibleFieldAtPosition (#23315) Andy 2018-04-16 09:30:10 -07:00
  • 3c92344fcc LEGO: Merge pull request 23428 csigs 2018-04-16 09:11:04 -07:00
  • f5b7826c1f LEGO: check in for master to temporary branch. csigs 2018-04-16 16:10:41 +00:00
  • a297a28fd5 Use getPossibleSymbolReferenceNodes in one more place (#23378) Andy 2018-04-16 08:27:25 -07:00
  • 8cb515ab13 Add members for numeric and symbol named properties in mapped types Anders Hejlsberg 2018-04-16 07:16:26 -07:00
  • a2073f1217 Accepted baselines. Daniel Rosenwasser 2018-04-15 16:04:47 -07:00
  • eb8eeafc22 Allow parsing tagged templates with type arguments in new expressions. Daniel Rosenwasser 2018-04-15 16:04:25 -07:00
  • 2510c19fbd Accepted baselines. Daniel Rosenwasser 2018-04-15 15:59:23 -07:00
  • 6107e05e8c Added test for tagged templates in new expressions. Daniel Rosenwasser 2018-04-15 15:56:59 -07:00
  • 6c60f7e243 Accept new baselines Anders Hejlsberg 2018-04-14 17:16:07 -10:00
  • c344e6d0ba Fixes and improvements to indexed access type relationships Anders Hejlsberg 2018-04-14 17:10:05 -10:00
  • a3311edb4a revert change Joscha Feth 2018-04-15 11:30:37 +10:00
  • 4dc9db1e70 detect nested non-imports Joscha Feth 2018-04-15 11:27:51 +10:00
  • 299002d597 Fix spacing. Daniel Rosenwasser 2018-04-14 11:53:27 -07:00
  • c64c1c9395 fix up Joscha Feth 2018-04-15 03:30:47 +10:00
  • f4fa2eb28e undefined instead of null Joscha Feth 2018-04-15 01:51:01 +10:00
  • 02b8160b41 store lastToken Joscha Feth 2018-04-15 01:23:27 +10:00
  • fe8615d0a8 Accepted baselines. Daniel Rosenwasser 2018-04-13 23:44:07 -07:00
  • 82e09c908e Perform checking and resolution of tagged template type arguments. Daniel Rosenwasser 2018-04-13 23:43:49 -07:00
  • 4785acb8cd Accepted baselines. Daniel Rosenwasser 2018-04-13 23:35:42 -07:00
  • 7aa916a5cb Strip away type arguments from tagged templates when emitting. Daniel Rosenwasser 2018-04-13 23:35:32 -07:00
  • 090f6bd77c Accepted baselines. Daniel Rosenwasser 2018-04-13 23:23:05 -07:00
  • da7967a3cf Added basic support for parsing/emitting type arguments in tagged template expressions. Daniel Rosenwasser 2018-04-13 23:15:02 -07:00
  • 60b6d3fbce Fixed up test. Thanks arrow functions... Daniel Rosenwasser 2018-04-13 23:14:13 -07:00
  • 23567ee05d Accepted baselines. Daniel Rosenwasser 2018-04-13 23:01:34 -07:00
  • b409888cbc Added tests. Daniel Rosenwasser 2018-04-13 23:01:24 -07:00
  • 7fd1dda13c Accepted baselines Daniel Rosenwasser 2018-04-13 20:59:06 -07:00
  • bd3e854b31 Automatically configure tsc output and provide a new 'diagnosticStyle' option. Daniel Rosenwasser 2018-04-13 20:51:09 -07:00
  • ce08af4dfe Merge branch 'master' into requireJson Sheetal Nandi 2018-04-13 15:26:16 -07:00
  • 82e9a7595b Invoked should be property on watchers map instead of local variable since watchers arent closed if they need to be reopened Sheetal Nandi 2018-04-13 15:15:09 -07:00
  • 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 Sheetal Nandi 2018-04-12 16:47:40 -07:00
  • 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) Sheetal Nandi 2018-04-12 15:21:20 -07:00
  • c9479f7263 Remove the specialized type UnresolvedImportsMap which is just a redirection and helps only in test only Sheetal Nandi 2018-04-12 14:55:22 -07:00
  • b0fb73c47c Typings cache is internal data structure Sheetal Nandi 2018-04-03 13:53:19 -07:00
  • 23ed9f8423 LEGO: Merge pull request 23401 csigs 2018-04-13 15:11:08 -07:00
  • ef772d5e68 LEGO: check in for master to temporary branch. csigs 2018-04-13 22:10:41 +00:00
  • ee429ef2ea use state Joscha Feth 2018-04-13 11:39:29 +10:00
  • 7631ad03a3 Merge pull request #23386 from Microsoft/fix-jakefile-case-and-reference-circularity Ryan Cavanaugh 2018-04-12 17:01:49 -07:00
  • 32c571374e Update tsserverlibrary.d.ts after missed baseline Nathan Shively-Sanders 2018-04-12 16:26:37 -07:00
  • 7b712160e0 Re-add fixName to tsserverlibrary.d.ts Nathan Shively-Sanders 2018-04-12 16:20:04 -07:00
  • a0b08f31f9 Fix jakefile case and circular references Nathan Shively-Sanders 2018-04-12 16:11:16 -07:00
  • a9ffabbe51 Merge pull request #23374 from Microsoft/npmInstallCommandTooLong Sheetal Nandi 2018-04-12 14:17:47 -07:00
  • 941777848f Switch webpack to submodule (#23372) Nathan Shively-Sanders 2018-04-12 14:09:07 -07:00
  • 0ef0b7adea Merge pull request #23354 from RyanCavanaugh/referencesDogfood_1 Ryan Cavanaugh 2018-04-12 13:56:47 -07:00
  • 8e36afa5bd Remove reference emit from diagnostics Ryan Cavanaugh 2018-04-12 12:41:00 -07:00
  • bbcf00c040 Remove ref comments from processDiagnosticMessages Ryan Cavanaugh 2018-04-12 12:35:56 -07:00
  • ff60520460 Merge branch 'master' into referencesDogfood_1 Ryan Cavanaugh 2018-04-12 12:26:10 -07:00
  • f24d57f1ac Update diagnostic tasks in jakefile Ryan Cavanaugh 2018-04-12 12:20:27 -07:00
  • abbb79f972 Combine getTouchingWord and getTouchingPropertyName (#22127) Andy 2018-04-12 11:56:40 -07:00
  • afcced6839 Simplify tryGetImportOrExportClauseCompletionSymbols (#22961) Andy 2018-04-12 11:55:21 -07:00
  • d2dc2e6d48 Don't copy trivia when implementing an interface (#23343) Andy 2018-04-12 11:47:42 -07:00
  • b3d83c81cc Handle command too long failure in typings installer Sheetal Nandi 2018-04-12 11:43:18 -07:00
  • 05c746b547 generateGetAccessorAndSetAccessor: Share modifier-creating code (#23311) Andy 2018-04-12 11:13:25 -07:00
  • 5d23cb49d0 Exclude generated files from user tests (#23371) Nathan Shively-Sanders 2018-04-12 10:25:53 -07:00
  • b363240d05 Simplify registerCodeFIx (#23349) Andy 2018-04-12 09:19:01 -07:00
  • a04e747569 LEGO: Merge pull request 23369 csigs 2018-04-12 09:10:51 -07:00
  • 2a10ef0016 LEGO: check in for master to temporary branch. csigs 2018-04-12 16:10:29 +00:00
  • ff7ef4a25a Add fixName property to CodeFixAction (#23350) Andy 2018-04-12 09:05:30 -07:00
  • d4a166dad3 LEGO: Merge pull request 23360 csigs 2018-04-12 03:10:58 -07:00
  • 29dc3d2a66 LEGO: check in for master to temporary branch. csigs 2018-04-12 10:10:32 +00:00
  • 4da2e5eda3 fix: do not match MySymbol.import("mod") Joscha Feth 2018-04-12 19:31:07 +10:00
  • edcf087145 Fix bug: isSymbolReferencedInFile should return true for shorthand property assignment (#23314) Andy 2018-04-11 19:01:30 -07:00
  • 0e07d775a1 You have to do this everywhere now! Ryan Cavanaugh 2018-04-11 16:59:53 -07:00
  • d36f83a98d Remove TODO: GH#18795 comments (#23337) Andy 2018-04-11 16:23:04 -07:00
  • b0552b089d Don't include "/index" in import from @types even with classic resolution (#23347) Andy 2018-04-11 16:22:10 -07:00
  • df95de3231 Merge branch 'master' into referencesDogfood_1 Ryan Cavanaugh 2018-04-11 16:17:38 -07:00
  • 79ad7df7e1 Improve user test tsconfig (#23325) Nathan Shively-Sanders 2018-04-11 15:59:19 -07:00
  • e1a50366e3 .d.ts changed order Ryan Cavanaugh 2018-04-11 15:55:29 -07:00