Commit Graph

  • c399230767 Retain comments inside return statements (#17557) Wesley Wigham 2017-08-08 19:53:53 -07:00
  • 73f941d1c0 Merge pull request #17658 from Knagis/14559-non-polling-watcher Ron Buckton 2017-08-08 17:28:58 -07:00
  • 37b9b7089c PR Feedback Ron Buckton 2017-08-08 17:23:50 -07:00
  • 81e1e26a6c TSLint now realizes when you attempt to use a rule which is not present (#17688) Wesley Wigham 2017-08-08 17:20:25 -07:00
  • 43e758e1a9 Create synthetic default exports for dynamic imports (#17492) Wesley Wigham 2017-08-08 17:01:18 -07:00
  • 847d7fe3c8 Merge pull request #17404 from Microsoft/use-type-param-constraints-for-computed-prop-types Nathan Shively-Sanders 2017-08-08 16:29:28 -07:00
  • 75c8ecb2f1 Merge pull request #17517 from tinganho/IgnoredCatchParameter Ron Buckton 2017-08-08 16:15:18 -07:00
  • fac93a304c Add parentheses:clarify evaluation order of &&/|| Nathan Shively-Sanders 2017-08-08 16:11:42 -07:00
  • 65521bc259 Feedback from the PR Sheetal Nandi 2017-08-07 14:47:32 -07:00
  • e47df360dc Use isTypeAny instead of checking flags directly Nathan Shively-Sanders 2017-08-08 14:51:06 -07:00
  • d2625678f9 Add test case from #14439 (#17627) Wesley Wigham 2017-08-08 14:44:41 -07:00
  • 3deb39bba6 Remove unnecessary check that type is ObjectType (#17418) Andy 2017-08-08 14:01:16 -07:00
  • e494d73b29 Merge branch 'master' into use-type-param-constraints-for-computed-prop-types Nathan Shively-Sanders 2017-08-08 13:26:24 -07:00
  • a46d6bde97 Add a seperate cache for the all attributes version of the jsx attributes type (#17620) Wesley Wigham 2017-08-08 13:07:27 -07:00
  • af20adb137 Add tests for #15358 (#17664) Wesley Wigham 2017-08-08 13:06:12 -07:00
  • 83ae8afef8 Merge pull request #17394 from vvakame/openParentFormatting Ron Buckton 2017-08-08 13:04:14 -07:00
  • a2c66c3262 Merge pull request #17660 from Microsoft/weak-type-errors-on-signature-only-types Nathan Shively-Sanders 2017-08-08 12:40:50 -07:00
  • 85f59098d3 validateSpecs: Use array helpers (#17275) Andy 2017-08-08 11:38:41 -07:00
  • 7ff1d8e797 Add specific weak type error for callable types Nathan Shively-Sanders 2017-08-08 11:25:32 -07:00
  • d99a492ddd Simplify server logger (#17271) Andy 2017-08-08 11:22:22 -07:00
  • 94518e8533 Don't count self-reference when setting isReferenced (#17495) Andy 2017-08-08 11:18:20 -07:00
  • eb8bcd77cb tsserverProjectSystem.ts: Remove unnecessary 'export's (#17201) Andy 2017-08-08 11:02:53 -07:00
  • 5141ce751d Deduplicate unresolvedImports (#17248) Andy 2017-08-08 11:02:10 -07:00
  • f69ce5c0c8 Convert two arrays to readonly (#17685) Andy 2017-08-08 10:54:18 -07:00
  • e1802f4966 MultistepOperation: Don't need 'completed', just use requestId === undefined (#17173) Andy 2017-08-08 10:49:49 -07:00
  • 781da2332d Merge branch 'master' into weak-type-errors-on-signature-only-types Nathan Shively-Sanders 2017-08-08 10:45:52 -07:00
  • ceae613e4c Add lint rule to check that Debug.assert calls do not eagerly interpolate strings (#17125) Andy 2017-08-08 07:56:14 -07:00
  • a9a30d76fb Fix parsing of globalPlugins and pluginProbeLocations: Don't include empty string (#17143) Andy 2017-08-08 07:55:03 -07:00
  • 382785a528 Fix logging of module resolution errors (#17144) Andy 2017-08-08 07:54:08 -07:00
  • 9ea2350a6d Simplify parameters to updateProjectStructure and updateErrorCheck (#17175) Andy 2017-08-08 07:31:21 -07:00
  • 51e9aef2a7 FileWatcher - handle empty directory path as the current directory Fixes #14559 Karlis Gangis 2017-08-08 09:32:37 +03:00
  • 0255adc407 fix #16567: better coloring on light theme terminal Herrington Darkholme 2017-08-08 10:08:48 +08:00
  • 5a64556e4b Merge pull request #17604 from Microsoft/implicitlyExcludeNodeModules Ron Buckton 2017-08-07 18:39:30 -07:00
  • 813aaf40c0 fix lint errors Ron Buckton 2017-08-07 18:20:57 -07:00
  • cacc3006c7 Merge branch 'master' into implicitlyExcludeNodeModules Ron Buckton 2017-08-07 18:17:05 -07:00
  • b07aa0d971 fix lint errors Ron Buckton 2017-08-07 17:58:32 -07:00
  • 64a225aac0 Merge branch 'master' into promised Ron Buckton 2017-08-07 17:49:33 -07:00
  • b5cde15672 Updated logic for high-order type relationships Ron Buckton 2017-08-07 16:35:12 -07:00
  • 6385f7e3bb Get semantic diagnostics for the program from builder so that it caches the errors of unchanged files Sheetal Nandi 2017-08-07 14:47:32 -07:00
  • 2f5b1d3e18 Merge branch 'master' into isInMultiLineComment Arthur Ozga 2017-08-07 15:58:46 -07:00
  • 091376f46f supressFormatOnKeyInComments Arthur Ozga 2017-08-07 15:45:56 -07:00
  • 31230b9176 Merge pull request #16953 from charlespierce/destructure_completion_nonpublic Ron Buckton 2017-08-07 14:24:47 -07:00
  • aa0fc0b885 Merge pull request #17633 from Microsoft/indexSignatureMappedType Anders Hejlsberg 2017-08-07 14:17:29 -07:00
  • 3118e81297 Merge pull request #17634 from Microsoft/fixSignatureStackOverflow Anders Hejlsberg 2017-08-07 14:00:14 -07:00
  • 3efeb1e27f Address CR feedback Anders Hejlsberg 2017-08-07 13:59:52 -07:00
  • 7474ba762c Implementation for invalidating source file containing possibly changed module resolution Sheetal Nandi 2017-08-05 05:01:33 -07:00
  • 8dc62484ec Partial implementation for invalidating the program (instead of source file as that would involve more work) so the files are picked up Sheetal Nandi 2017-08-05 02:27:27 -07:00
  • d55150cbd3 Implementation of watching the failed lookup locations Sheetal Nandi 2017-08-04 23:09:11 -07:00
  • 65a6ee07e9 Add test that fails because we dont watch module resolutions failed paths Sheetal Nandi 2017-08-04 23:55:13 -07:00
  • 2762232e03 Test for the module resolution caching Sheetal Nandi 2017-08-04 01:15:02 -07:00
  • 0d5e6c9de5 Use cache for module resolution even in watch mode Sheetal Nandi 2017-08-04 01:14:54 -07:00
  • 031a63762f Switch back to have tsc.ts the only file thats different in tsc.js generation now that api has tests Sheetal Nandi 2017-08-03 21:10:26 -07:00
  • 46e3d1c1d9 Refactoring so that instead of just using from tsc --watch the new api is accessible all the time Sheetal Nandi 2017-08-03 19:14:47 -07:00
  • bb91b32a4d Add tests to verify emitted files Sheetal Nandi 2017-08-03 13:39:39 -07:00
  • 89c61e797c Modify the api in builder so that it tracks changed files Sheetal Nandi 2017-08-03 00:27:46 -07:00
  • 2dd6aed654 Emit tests Sheetal Nandi 2017-07-28 19:34:20 -07:00
  • c814d8e847 Add tests for the tsc --watch Sheetal Nandi 2017-07-26 15:12:03 -07:00
  • 69e5abd5b7 Refactor watched system from tsserver tests so that tscLib watch can leverage it Sheetal Nandi 2017-07-26 11:57:10 -07:00
  • 85b9254a60 Refactor out the tsc logic into another file so we can use that to test it out Sheetal Nandi 2017-07-26 10:59:02 -07:00
  • 9b18f7b61c Use builder to emit the files from the tsc.js Sheetal Nandi 2017-07-24 16:57:49 -07:00
  • 6237b221da Move the builder to compiler directory Sheetal Nandi 2017-07-24 16:57:49 -07:00
  • e06847503c Refactor so that builder handles only source files and program Sheetal Nandi 2017-07-24 16:57:49 -07:00
  • ef5935b52c Initial refactoring so that watch from tsc follows the tsserver projects Sheetal Nandi 2017-07-24 16:57:49 -07:00
  • 94a589b3bb Program cannot be reused if the missing file is now present Also dont update filesByName array just to update missing file paths Sheetal Nandi 2017-07-21 14:58:06 -07:00
  • 273569f6fe Make the host cache store the fileName instead of undefined for the missing host files Sheetal Nandi 2017-07-19 13:07:55 -07:00
  • 499fabc2c1 Do not update graph in builder if compile on save is not on Sheetal Nandi 2017-07-18 17:34:56 -07:00
  • 802e283aa7 Refactoring of the builder Sheetal Nandi 2017-07-18 17:04:29 -07:00
  • ae87838f45 Merge branch 'master' into watchImprovements Sheetal Nandi 2017-08-07 11:04:11 -07:00
  • 068cb8d5d0 Update weakType test + baselines Nathan Shively-Sanders 2017-08-07 10:58:07 -07:00
  • a282cbb07e Weak type errors for signature-only types too Nathan Shively-Sanders 2017-08-07 10:56:18 -07:00
  • a453eff575 Restrict parsing of literals and their expressions a _lot_ more (#17628) Wesley Wigham 2017-08-07 09:16:12 -07:00
  • 313c93c861 Merge pull request #17521 from Microsoft/deferLookupTypeResolution Anders Hejlsberg 2017-08-07 08:25:06 -07:00
  • a4a37ea086 Add regression test Anders Hejlsberg 2017-08-05 12:40:40 -07:00
  • d0a195a3c5 Propagate type comparer function in contextual signature instantiation Anders Hejlsberg 2017-08-05 12:32:56 -07:00
  • c938a2acdc Add tests Anders Hejlsberg 2017-08-05 10:17:20 -07:00
  • 44a6c6cc6f { [P in K]: T } is related to { [x: string]: U } if T is related to U Anders Hejlsberg 2017-08-05 10:09:44 -07:00
  • 22e0d9f791 Accepted baselines. Daniel Rosenwasser 2017-08-05 00:14:23 -07:00
  • 9f1b747113 Made the first-declaration check conservative in the TypeScript transform. Daniel Rosenwasser 2017-08-05 00:12:54 -07:00
  • 5cb5cf14de Accepted baselines. Daniel Rosenwasser 2017-08-04 23:48:45 -07:00
  • b44ac91de9 Added failing test for a before-transform that indirectly replaces a namespace declaration. Daniel Rosenwasser 2017-08-04 23:45:09 -07:00
  • 48d5485379 Accept JSDoc cast comment baseline Wesley Wigham 2017-08-04 20:01:19 -07:00
  • d7fff8ebe9 [Master] fix 12985 emit leading and trailing comment around binary operator (#16584) Yui 2017-08-04 19:12:13 -07:00
  • c7f665faa1 Extract Method (squash) Ryan Cavanaugh 2017-08-04 16:10:33 -07:00
  • 777bc575ac implementation comment Arthur Ozga 2017-08-04 15:51:06 -07:00
  • 8f7a582fc5 Merge branch 'master' into inferFromRelatedTypesOnly Nathan Shively-Sanders 2017-08-04 15:21:17 -07:00
  • efdbebaebb Merge branch 'master' into isInMultiLineComment Arthur Ozga 2017-08-04 14:26:24 -07:00
  • b747c2dd96 exclude node_modules unless explicitly included Ron Buckton 2017-08-03 18:30:09 -07:00
  • 86d0fa27a2 Use findAncestor in more places (#17601) Andy 2017-08-03 16:33:04 -07:00
  • fa7f3e85fe Adds support for inferred project isolation by projectRootPath Ron Buckton 2017-08-03 16:03:24 -07:00
  • 0d7f0e0e19 Test:infer from related types only Nathan Shively-Sanders 2017-08-03 09:14:59 -07:00
  • 13750d2d65 Only infer from members of object types if the types are possibly related Anders Hejlsberg 2017-08-03 08:07:07 -07:00
  • 1552761982 Merge pull request #17425 from ikatyang/fix-17392 Daniel Rosenwasser 2017-08-02 18:41:21 -07:00
  • 0f0fbce178 Revert "Make 'keyof readonly T' be the same as 'keyof T'" Anders Hejlsberg 2017-08-02 15:32:03 -07:00
  • c06a30ae68 JSDoc Instantiation Fixes (#17553) Wesley Wigham 2017-08-02 13:55:14 -07:00
  • 467245780d Merge pull request #17455 from Microsoft/mappedTypeFixes Anders Hejlsberg 2017-08-02 13:36:37 -07:00
  • 3da1a53d7e Amend comment about explicitly setting catch clause variables to 'undefined'. Daniel Rosenwasser 2017-08-02 12:50:04 -07:00
  • bb34bce420 Set a high stack trace limit in command-line and server scenarios (#17464) Andy 2017-08-02 12:40:39 -07:00
  • 98f6761590 Add tests Anders Hejlsberg 2017-08-02 12:07:09 -07:00
  • 0bb1f6a4b8 Accept new baselines Anders Hejlsberg 2017-08-02 12:06:39 -07:00
  • 4f3e13ab8c Typo Tingan Ho 2017-08-02 20:50:45 +02:00