Wesley Wigham
3ea031cf1c
Fix RWC - use replayLog, not recordLog ( #18095 )
2017-08-28 15:45:21 -07:00
Daniel Rosenwasser
a60b1037f8
Merge pull request #18077 from fwouts/regex-bug
...
Fix #18071 : Printer failure when encountering RegularExpressionLiteral
2017-08-28 14:10:29 -07:00
Wesley Wigham
117ef21bfc
Always use case-insensitive fs operartions for RWC ( #18046 )
...
* Always use case-insensitive fs operartions for RWC
* wrappedIO handles case sensitivity checks
2017-08-28 10:23:41 -07:00
Francois Wouts
170bc6f519
Add test for #18071
2017-08-28 08:14:08 +10:00
Ron Buckton
eb75619cda
Merge pull request #18051 from Microsoft/fix17551
...
Fix crash in name resolution with custom transforms and emitDecoratorMetadata
2017-08-25 15:14:21 -07:00
Ron Buckton
bdfb92aebe
Fix crash in name resolution with custom transforms and emitDecoratorMetadata
2017-08-25 14:17:48 -07:00
Andy
3a0ab74ed6
Test for action description of code actions, and simplify description for extracting method to file ( #18030 )
...
* Test for action description of code actions, and simplify description for extracting method to file
* Add unit test file missing from tsconfig.json (only affects gulp) and update tests
* Use the actual number
* Use "module scope" or "global scope" instead of "this file"
2017-08-25 09:53:28 -07:00
Andy
e2141ad469
Mark some arrays as readonly ( #17725 )
...
* Mark some arrays as readonly
* Avoid unnecessary allocations and style changes
* Fix lint
2017-08-24 09:55:01 -07:00
Andrew Casey
49676c58f3
Merge pull request #17844 from amcasey/SymbolWalker
...
Resuscitate the SymbolWalker API
2017-08-23 13:32:21 -07:00
Wesley Wigham
8d44e48dd0
Fix instrumenter target + deprecation warning ( #17973 )
2017-08-22 15:39:10 -07:00
Ryan Cavanaugh
43b8ce664c
Merge
2017-08-22 14:31:49 -07:00
Andrew Casey
8cbf42cff5
Fix lint errors
2017-08-22 11:33:34 -07:00
Andrew Casey
129ace5047
Update SymbolWalker tests
...
...to consume revised API.
2017-08-22 11:33:33 -07:00
Wesley Wigham
053b915061
Rebase SymbolWalker change onto master
...
From PR #9847 .
2017-08-22 11:33:32 -07:00
Arthur Ozga
a3d113bed3
Merge pull request #16385 from aozgaa/isInMultiLineComment
...
multi-line comment formatting fix and handler
2017-08-18 12:43:37 -07:00
Wesley Wigham
ecd2ae8dac
Deduplicate inputfiles before running RWC tests ( #17877 )
...
* Deduplicate inputfiles before running RWC tests
We deduplicate in the compiler, but we don't in the harness - this causes tests where the same file is listed multiple times in the arguments to not have the expected errors written, because we write out the same file multiple times when we should not.
* Don't completely omit both copied of duplicates
* Remove trailing whitespace
* Maintain list order while filtering duplicates
* Merge adjacent loops
2017-08-18 11:44:36 -07:00
Andy
ade3b565ae
Revert public API changes to logger ( #17899 )
2017-08-18 11:20:07 -07:00
Daniel Rosenwasser
2729281a14
Merge pull request #17631 from Microsoft/synthesizedNamespaces
...
Always emit leading 'var' declarations for synthesized namespaces
2017-08-16 23:56:07 -07:00
Arthur Ozga
760ef44c36
test if onlyMultiLine flag changes answer
2017-08-16 18:48:27 -07:00
Arthur Ozga
19e2fa6fc5
Merge branch 'master' into isInMultiLineComment
2017-08-16 17:57:04 -07:00
Daniel Rosenwasser
281d821fe8
Fix lint errors.
2017-08-15 12:16:54 -07:00
Ron Buckton
360dc914c3
Merge pull request #17602 from Microsoft/multiInferredProjects
...
Adds support for inferred project isolation by projectRootPath
2017-08-11 16:06:49 -07:00
Daniel Rosenwasser
18cced9abd
Added test.
2017-08-11 18:44:37 -04:00
Wesley Wigham
c92deef6ec
Fix runtests-browser with latest node ( #17735 )
...
* Fixes for running tests in the browser with the latest node
* Make memoize safe
* Integrate PR feedback, require key func on memoize
2017-08-11 10:58:38 -07:00
Ryan Cavanaugh
c110ecb870
Merge pull request #17625 from RyanCavanaugh/extract-method-2
...
Extract Method
2017-08-11 10:54:48 -07:00
Andy
f64b8ad902
Add "preserveSymlinks" option ( #16661 )
...
* Add "preserveSymlinks" option
* Respond to PR comments
2017-08-11 10:03:21 -07:00
Ron Buckton
b031777566
PR Feedback
2017-08-10 17:43:22 -07:00
Ryan Cavanaugh
c27ee81341
Merge branch 'master' into extract-method-2
2017-08-10 17:02:14 -07:00
Ryan Cavanaugh
f957429efd
Style fixups
2017-08-10 16:23:17 -07:00
Andy
08fbcd8b80
Fix many no-object-literal-type-assertion lint errors ( #17278 )
...
* Fix many no-object-literal-type-assertion lint errors
* Simple fixes
* Use a union for FlowNode
* PR feedback and remove remaining `id()` uses
* Use a union for CodeBlock
* Discriminate CodeBlock by CodeBlockKind
2017-08-10 12:52:15 -07:00
Daniel Rosenwasser
6ef27a4e1e
Added test for class/namespace merging with an ESNext target.
2017-08-10 08:28:25 -07:00
Wesley Wigham
4828c7a62b
Lower RWC Harness Memory Overhead ( #17692 )
...
* Allow original compilation to be freed before checking declarations
* Use string concatenation in error baseline
* Fix lints
* No ternary
2017-08-09 16:16:16 -07:00
Andy
37b20ee670
For duplicate source files of the same package, make one redirect to the other ( #16274 )
...
* For duplicate source files of the same package, make one redirect to the other
* Add reuseProgramStructure tests
* Copy `sourceFileToPackageId` and `isSourceFileTargetOfRedirect` only if we completely reuse old structure
* Use fallthrough instead of early exit from loop
* Use a set to efficiently detect duplicate package names
* Move map setting outside of createRedirectSourceFile
* Correctly handle seenPackageNames set
* sourceFileToPackageId -> sourceFileToPackageName
* Renames
* Respond to PR comments
* Fix bug where `oldSourceFile !== newSourceFile` because oldSourceFile was a redirect
* Clean up redirectInfo
* Respond to PR comments
2017-08-09 14:39:06 -07:00
Andy
f124e19971
Session: don't return undefined if a response is required ( #17165 )
...
* Session: don't return undefined if a response is required
* Use ReadonlyArray and emptyArray
* Remove inferred return type
2017-08-09 13:46:47 -07:00
Andy
b8c37bb50c
Inline childFromLineNumber and childFromCharOffset ( #17018 )
...
* Inline childFromLineNumber and childFromCharOffset
* Handle empty document -- root node with 0 children
* Fix test
2017-08-09 13:43:25 -07:00
Arthur Ozga
7c402d509d
Merge branch 'master' into isInMultiLineComment
2017-08-09 10:49:12 -07:00
Ron Buckton
37b9b7089c
PR Feedback
2017-08-08 17:23:50 -07:00
Andy
d99a492ddd
Simplify server logger ( #17271 )
...
* Simplify server logger
* Move function printProjects out of inner closure
2017-08-08 11:22:22 -07:00
Andy
eb8bcd77cb
tsserverProjectSystem.ts: Remove unnecessary 'export's ( #17201 )
...
* tsserverProjectSystem.ts: Remove unnecessary 'export's
* Export `PostExecAction`
2017-08-08 11:02:53 -07:00
Andy
382785a528
Fix logging of module resolution errors ( #17144 )
2017-08-08 07:54:08 -07:00
Ron Buckton
813aaf40c0
fix lint errors
2017-08-07 18:20:57 -07:00
Ron Buckton
b07aa0d971
fix lint errors
2017-08-07 17:58:32 -07:00
Daniel Rosenwasser
9f1b747113
Made the first-declaration check conservative in the TypeScript transform.
2017-08-05 03:58:36 -07:00
Daniel Rosenwasser
b44ac91de9
Added failing test for a before-transform that indirectly replaces a namespace declaration.
2017-08-04 23:48:00 -07:00
Ryan Cavanaugh
c7f665faa1
Extract Method (squash)
2017-08-04 16:10:33 -07:00
Arthur Ozga
efdbebaebb
Merge branch 'master' into isInMultiLineComment
2017-08-04 14:26:24 -07:00
Ron Buckton
b747c2dd96
exclude node_modules unless explicitly included
2017-08-03 18:48:27 -07:00
Ron Buckton
fa7f3e85fe
Adds support for inferred project isolation by projectRootPath
2017-08-03 16:03:59 -07:00
Sheetal Nandi
c9698072d4
Merge pull request #17497 from Microsoft/disposeWatchedDirectoriesOnlyIfPresentMaster
...
[master] dispose the watched wild card directories only if present
2017-08-02 10:59:34 -07:00
Wesley Wigham
2c2df9eec2
Fix runtests-browser in gulp, including RWC, remove into-stream ( #17540 )
2017-08-01 11:14:39 -07:00