Commit Graph

  • 8d5d4c2a0e Reduce storage of maps/sets for failed lookups Sheetal Nandi 2017-08-31 15:18:54 -07:00
  • c2168cb94a Added logic to check for EOF when creating a missing node. Armando Aguirre 2017-08-31 14:05:41 -07:00
  • 0ff8eeb308 Comment getTypeReferenceId and getRelationKey Nathan Shively-Sanders 2017-08-23 11:57:06 -07:00
  • 05477e4d00 Update baselines Nathan Shively-Sanders 2017-08-23 11:49:24 -07:00
  • f3700f645d Test performance improvement:nested reference skip Nathan Shively-Sanders 2017-08-21 10:09:21 -07:00
  • 2510177593 Fix to use correct target type ID Anders Hejlsberg 2017-08-22 17:41:07 +01:00
  • 4925f2f05f Optimize relations for type references with unconstrained type arguments Anders Hejlsberg 2017-08-22 10:13:08 +01:00
  • c7b4ed3a91 Fix extract method for anon class expressions (#18168) Matt Bierner 2017-08-31 13:21:08 -07:00
  • 3d0c239bfd Update generated files (#18173) Mohamed Hegazy 2017-08-31 11:42:56 -07:00
  • 2b97b2c04d Print number of files in the project when printing project Sheetal Nandi 2017-08-31 11:35:55 -07:00
  • 345f36d2ea Update tests Sheetal Nandi 2017-08-31 11:35:42 -07:00
  • 3e850156da Propagate isRestParameter through symbol instantiation (#18087) Wesley Wigham 2017-08-31 10:15:42 -07:00
  • d7ce95df25 Watch node_modules if possible Sheetal Nandi 2017-08-30 17:15:40 -07:00
  • 16cf7c40a8 Watch for the automatic types that included as part of type resolution Sheetal Nandi 2017-08-30 11:49:58 -07:00
  • a3b9467d41 Resolve only once in the given directory for name Sheetal Nandi 2017-08-28 17:09:07 -07:00
  • 254e39306f Watch failed lookups recursively to reduce number of directory watches Also we dont need to watch type roots any more Sheetal Nandi 2017-08-28 12:34:58 -07:00
  • 10ea5bf460 Script infos while opening/closing shouldnt mark project as dirty if the contents dont change Sheetal Nandi 2017-08-25 20:20:14 -07:00
  • 17565d8407 Handle watches of missing directories and make project the module resolution host Sheetal Nandi 2017-08-24 11:50:27 -07:00
  • 5aafd3f06c Reduce number of watches for failed lookup locations as part of module resolution Sheetal Nandi 2017-08-23 13:34:41 -07:00
  • 4c79033894 Refactoring to watches and caching of system such that we minimize function expressions Also unified watcher info logging Sheetal Nandi 2017-08-23 13:34:41 -07:00
  • e294b23500 Merge pull request #18174 from Microsoft/fixContextualTypeLogicalOr Anders Hejlsberg 2017-08-31 17:12:51 +01:00
  • 9e570c375b Merge pull request #17669 from Microsoft/builder Sheetal Nandi 2017-08-30 17:35:18 -07:00
  • ea95f3b4e5 Merge pull request #17820 from Microsoft/tsserverEventChangedFiles Sheetal Nandi 2017-08-30 17:34:49 -07:00
  • 42b66066f9 Add regression test Anders Hejlsberg 2017-08-30 17:14:16 -07:00
  • 4c543230c6 Update Authors.md Mohamed Hegazy 2017-08-30 16:53:22 -07:00
  • effa2597fa Cache contextual type for || operator to avoid exponential compile time Anders Hejlsberg 2017-08-30 16:22:16 -07:00
  • 601c113d93 Handle indexed access types in getSymbolAtLocation and findAllReferences (#18149) Andy 2017-08-30 14:19:49 -07:00
  • 562abf333a Follow up on #16223 cleaning up Array declarations (#18116) Mohamed Hegazy 2017-08-30 10:22:02 -07:00
  • 2b4b629f9b Remove largeSource argument to convertMap.fromSource (#18098) Andy 2017-08-30 10:02:30 -07:00
  • 3f090114ff Optimize array operations to reduce memory footprint Anders Hejlsberg 2017-08-30 09:44:51 -07:00
  • e2d2f448e4 Add postfix [] ! ? type parsing tests Nathan Shively-Sanders 2017-08-30 08:41:34 -07:00
  • ffe49428d8 Parse postfix [] ! ? at the same precedence level Nathan Shively-Sanders 2017-08-30 08:39:28 -07:00
  • 171c664fef Update LKG v2.5.2 Mohamed Hegazy 2017-08-29 17:26:58 -07:00
  • 27e590dd5e Merge pull request #18121 from amcasey/WalkerCancel Andrew Casey 2017-08-29 17:24:12 -07:00
  • 19c3a150e7 Allow cancellation during extract method's symbol walking Andrew Casey 2017-08-29 13:24:13 -07:00
  • fa77e141b0 Merge pull request #17811 from RyanCavanaugh/fix17544 Ryan Cavanaugh 2017-08-29 15:32:44 -07:00
  • 20da1594fd Merge pull request #18127 from RyanCavanaugh/port18120_release25 Ryan Cavanaugh 2017-08-29 14:54:14 -07:00
  • 6425ea29c9 Don't crash when a JS file appears in an inferred context Ryan Cavanaugh 2017-08-29 13:29:56 -07:00
  • d7b3b6c77d Merge pull request #18120 from RyanCavanaugh/fix457864 Ryan Cavanaugh 2017-08-29 14:18:47 -07:00
  • 0e2d399c49 Don't crash when a JS file appears in an inferred context Ryan Cavanaugh 2017-08-29 13:29:56 -07:00
  • 6ffe829e9d Update LKG Mohamed Hegazy 2017-08-29 13:19:51 -07:00
  • 15a0d3fef4 Update version Mohamed Hegazy 2017-08-29 13:17:33 -07:00
  • 3e3846dba4 Test jsdoc:... binds tighter than *n* postfix tokens Nathan Shively-Sanders 2017-08-29 13:02:06 -07:00
  • ea4fdc5a99 Merge pull request #17988 from amcasey/ExtractGeneric Andrew Casey 2017-08-29 13:00:03 -07:00
  • c746477d81 JSDoc:... binds tighter than *n* postfix jsdocs Nathan Shively-Sanders 2017-08-29 12:59:34 -07:00
  • 0d47c73ba6 Minor changes Anders Hejlsberg 2017-08-29 12:42:17 -07:00
  • 450c32ace0 Add an ExpandingFlags const enum (#17740) Andy 2017-08-29 11:33:01 -07:00
  • a816079dda Add perf comment Andrew Casey 2017-08-17 16:24:44 -07:00
  • c9f6bc60e2 Test coupling of type parameters Andrew Casey 2017-08-17 15:14:36 -07:00
  • e08dce2c21 Test different parameters on classes and methods Andrew Casey 2017-08-17 14:54:25 -07:00
  • 01d7f0b699 Test that the return type of the extracted method counts as usage Andrew Casey 2017-08-16 17:50:50 -07:00
  • 0c8d85fbc4 Test that type parameters used in constraints are passed along Andrew Casey 2017-08-16 16:54:57 -07:00
  • fe015ef30f Document failure to handle type parameter shadowing Andrew Casey 2017-08-16 16:35:53 -07:00
  • b09d2277b8 Test that in-scope type parameters are not passed explicitly Andrew Casey 2017-08-16 16:13:20 -07:00
  • ee80019d16 Switch from .js to .ts so that baselines are syntactically valid Andrew Casey 2017-08-16 15:53:41 -07:00
  • bf0333ae07 Delete unused baselines Andrew Casey 2017-08-16 15:53:14 -07:00
  • b2cc722483 Comment out headers in Extract Method baselines Andrew Casey 2017-08-16 15:44:46 -07:00
  • 30802cda97 Handle loose type parameters in Extract Method Andrew Casey 2017-08-11 16:14:48 -07:00
  • 63cb84f3d1 Codefix jsdoc types for anything with a .type Nathan Shively-Sanders 2017-08-29 10:38:16 -07:00
  • 2350d46e44 Simplify isContextSensitive (#17722) Andy 2017-08-29 10:28:22 -07:00
  • 7ac4380514 Use getPropertyOfObjectType to get a superclass property (#18113) Andy 2017-08-29 10:23:30 -07:00
  • 78524c1b90 Avoid climbing ancestors in getAnyImportSyntax (#17832) Andy 2017-08-29 09:41:57 -07:00
  • 6168d6f074 Inline checkLiteralExpression (#17720) Andy 2017-08-29 09:38:44 -07:00
  • 9daa70c47e Revert "Handle indexed access types in getSymbolAtLocation and findAllReferences (#17787)" (#18111) Andy 2017-08-29 09:37:27 -07:00
  • 7306b13f74 Don't issue a use-before-declared error for a property that exists in a superclass (#17910) Andy 2017-08-29 09:18:09 -07:00
  • 86930c9aab Accept new baselines Anders Hejlsberg 2017-08-29 09:01:31 -07:00
  • e3b1487240 Check all properties are present before checking types in relationships Anders Hejlsberg 2017-08-29 09:00:17 -07:00
  • 30b3cb0f68 Handle indexed access types in getSymbolAtLocation and findAllReferences (#17787) Andy 2017-08-29 07:53:22 -07:00
  • b082c27fbe Test:jsdoc codefix for variable-like declarations Nathan Shively-Sanders 2017-08-28 16:10:03 -07:00
  • 16ccb66377 Provide jsdoc type code fixes for all variable-like decls Nathan Shively-Sanders 2017-08-28 16:09:09 -07:00
  • 28ea53e4f0 Only cache types for object literals with 10 or less properties Anders Hejlsberg 2017-08-28 16:02:55 -07:00
  • 3ea031cf1c Fix RWC - use replayLog, not recordLog (#18095) Wesley Wigham 2017-08-28 15:45:21 -07:00
  • 01657e2036 Fix typo in comment Henry Mercer 2017-08-28 23:43:29 +01:00
  • 2c028ae3e5 Generalise empty object literal property access fix to all object literals Henry Mercer 2017-08-28 23:14:19 +01:00
  • 934da9fb39 Remove template strings in checker.ts (#18016) Andy 2017-08-28 15:03:34 -07:00
  • a60b1037f8 Merge pull request #18077 from fwouts/regex-bug Daniel Rosenwasser 2017-08-28 14:10:29 -07:00
  • 67f2716156 Detect bad plugins and work around them Ryan Cavanaugh 2017-08-28 13:32:20 -07:00
  • 278dcc6fac Merge pull request #18029 from Microsoft/allow-string-enum-in-element-access Nathan Shively-Sanders 2017-08-28 12:56:08 -07:00
  • bab287d252 Simplify getAccessibleSymbolChain (#18053) Andy 2017-08-28 11:44:41 -07:00
  • 8087206078 Explain boolean exception in getIndexedAccessType Nathan Shively-Sanders 2017-08-28 11:09:25 -07:00
  • 197040d3fd Merge branch 'master' into allow-string-enum-in-element-access Nathan Shively-Sanders 2017-08-28 11:00:13 -07:00
  • 2f646daf0a Move lone test case into central test file Nathan Shively-Sanders 2017-08-28 10:53:11 -07:00
  • 117ef21bfc Always use case-insensitive fs operartions for RWC (#18046) Wesley Wigham 2017-08-28 10:23:41 -07:00
  • 28a6ac3a77 Merge branch 'master' into fix2-getConstraintOfIndexedAccess Nathan Shively-Sanders 2017-08-28 10:02:54 -07:00
  • 20e579847a Test:T[keyof T] =/=> T[K] where K extends keyof T Nathan Shively-Sanders 2017-08-28 09:12:14 -07:00
  • 04339d2df7 Disallow T[K] = T[keyof T] where K extends keyof T Nathan Shively-Sanders 2017-08-28 09:05:56 -07:00
  • e54828f86c Merge pull request #18084 from Microsoft/deps Ryan Cavanaugh 2017-08-28 08:18:53 -07:00
  • b21d3f03bd Move browser-resolve to devDependencies Andy Hanson 2017-08-28 07:48:43 -07:00
  • 7118fc5788 Accept new baselines Anders Hejlsberg 2017-08-28 07:30:32 -07:00
  • 28ffe05a06 Cache and reuse object literal types when possible Anders Hejlsberg 2017-08-28 07:26:06 -07:00
  • af083df737 Rename 'promised' to 'awaited' promised Ron Buckton 2017-08-27 23:41:34 -07:00
  • 170bc6f519 Add test for #18071 Francois Wouts 2017-08-28 08:14:08 +10:00
  • 59b0095eba Clean up flags propagation for object literal types Anders Hejlsberg 2017-08-27 08:51:42 -07:00
  • 884cadf0a3 Fix TypeScript printer bug when encountering regular expression literals Francois Wouts 2017-08-27 22:03:56 +10:00
  • a32d99dfc8 Use visitNode (#18059) Wesley Wigham 2017-08-25 18:22:03 -07:00
  • 2a2773fbb4 Update LKG Mohamed Hegazy 2017-08-25 15:36:13 -07:00
  • e73b10a304 Use isPartOfExpression in extractMethod, not isExpression (#18047) Andy 2017-08-25 15:15:16 -07:00
  • 187a21cbac Fix crash in name resolution with custom transforms and emitDecoratorMetadata Ron Buckton 2017-08-25 14:17:48 -07:00
  • 4d05bfdf4a moduleAugmentations may contain an Identifier (#18009) Andy 2017-08-25 15:14:51 -07:00
  • eb75619cda Merge pull request #18051 from Microsoft/fix17551 Ron Buckton 2017-08-25 15:14:21 -07:00