Ryan Cavanaugh
cf87bd446d
Merge branch 'master' into tsbuild
2018-06-05 14:55:51 -07:00
Ryan Cavanaugh
fad8f67093
Lint
2018-06-05 14:17:55 -07:00
Ryan Cavanaugh
5065c540cd
Tidy
2018-06-05 14:16:50 -07:00
Ryan Cavanaugh
e40778070e
Complicate the paths of the project for better sourcemap testing
2018-06-05 14:06:13 -07:00
Ryan Cavanaugh
17dc380ec8
Reorganize tsbuild unit test file
2018-06-05 13:19:41 -07:00
Wesley Wigham
d9b93903c0
Use more nodelike paths for import types when possible ( #24610 )
...
* Use more nodelike paths for import types when possible
* move functionality from services into compiler, fix with propert file/directory conflict handling
* mark suspect cast
2018-06-05 12:54:36 -07:00
Ryan Cavanaugh
45842a0c34
Merge remote-tracking branch 'weswigham/sourcemap-concatenation-station' into tsbuild
2018-06-05 12:31:32 -07:00
Mohamed Hegazy
a14f034100
Merge pull request #24576 from ajafff/fix-syntax-error
...
fix syntax error in unit test
2018-06-04 16:42:23 -07:00
Ron Buckton
fbeb58a147
Merge pull request #23893 from Microsoft/libReference
...
Adds 'lib' reference directives
2018-06-04 16:14:52 -07:00
Ron Buckton
666841264c
Merge branch 'master' into libReference
2018-06-04 14:38:56 -07:00
Andy
b3a4b72a16
Always include Jsdoc comment in getTouchingPropertyName ( #23379 )
2018-06-04 14:15:41 -07:00
Sheetal Nandi
d64608dc97
Merge pull request #24615 from Microsoft/jsonSourceMaps
...
Disable source maps and declaration emit for the json module
2018-06-04 10:48:43 -07:00
Andy
886377f8d3
Add autoCloseTag language service ( #24543 )
...
* Add autoCloseTag language service
* Change name to getJsxClosingTagAtPosition and return an object
2018-06-04 10:08:15 -07:00
Sheetal Nandi
d246c3c2bd
Disable source maps and declaration emit for the json module
...
Fixes #24546
2018-06-01 18:31:58 -07:00
Benjamin Lichtman
e9cddd471d
Add test
2018-06-01 14:21:21 -07:00
Klaus Meinhardt
5e83f1e1ff
fix syntax error in unit test
...
Fixes: https://github.com/Microsoft/TypeScript/pull/24474#pullrequestreview-125221016
2018-06-01 19:17:24 +02:00
Andy
d671c7ae96
getEditsForFileRename: Support directory rename ( #24305 )
...
* getEditsForFileRename: Support directory rename
* Code review
* Handle imports inside the new file/directory
* Document path updaters
* Shorten relative paths where possible
* Reduce duplicate code
* Rewrite, use moduleSpecifiers.ts to get module specifiers from scratch instead of updating relative paths
* Update additional tsconfig.json fields
* Add test with '.js' extension
* Handle case-insensitive paths
* Better tsconfig handling
* Handle properties inside compilerOptions
* Use getOptionFromName
2018-06-01 08:23:37 -07:00
Andy
e65444214c
Remove deprecated internal method ( #24540 )
2018-06-01 08:14:07 -07:00
Ryan Cavanaugh
d21c03ab9d
Invalidation + separated downstream builds
2018-05-31 14:38:26 -07:00
Sheetal Nandi
eab21e5b77
Merge branch 'master' into suggestionDiagnosticsToken
2018-05-31 12:46:33 -07:00
Sheetal Nandi
b0f039c9e2
Make suggestion diagnostics to wire cancellationToken
...
This especially needed if its a js file without the ts-check, the file wont be typechecked in getSemanticDiagnostics
Fixes part of #19458
2018-05-31 10:47:17 -07:00
Ron Buckton
cee29204a1
Fix preProcessFile tests
2018-05-31 10:10:13 -07:00
Ron Buckton
b4e113b94e
Merge branch 'master' into libReference
2018-05-31 10:02:08 -07:00
Ron Buckton
7de55fbb7e
PR Feedback
2018-05-31 09:50:51 -07:00
王文璐
7910bbdccb
add esnext symbol proposal
2018-05-31 13:30:31 +08:00
Andy
43bf039a94
Add refactor to convert namespace to named imports and back ( #24469 )
...
* Add refactor to convert namespace to named imports and back
* Add tests and comments
* Code review
* Handle shorthand property assignment and re-export
* Don't use forEachFreeIdentifier
* Fix rename after "."
2018-05-30 14:11:53 -07:00
Sheetal Nandi
2226cd6a99
Merge pull request #24471 from Microsoft/watchInSiblingOfRoot
...
Instead of creating filter for subDirectories to watch in the ancestor directory of root, watch those subDirectories for failed lookup locations
2018-05-30 11:12:23 -07:00
Ron Buckton
fc3e88e26f
Merge pull request #24481 from Microsoft/fix24173
...
Fix async generator return as well
2018-05-30 09:43:00 -07:00
Ron Buckton
6f7715444f
Fix async generator return as well
2018-05-29 17:54:59 -07:00
Ron Buckton
364fce393d
Merge pull request #24474 from Microsoft/fix21115.2
...
Do not await iterated value in for-await-of
2018-05-29 17:54:10 -07:00
Ron Buckton
394862e829
Test for asyncIterator existance before defining
2018-05-29 17:12:50 -07:00
Andy
e99be8c47d
Avoid duplicate import completions when a namespace is exported by two different modules ( #24473 )
2018-05-29 15:52:34 -07:00
Ron Buckton
c224a824f3
Do not await iterated value in for-await-of
2018-05-29 15:33:43 -07:00
Sheetal Nandi
939e3e4780
Instead of creating filter for subDirectories to watch in the ancestor directory of root, watch those subDirectories for failed lookup locations
...
Before this change, when failed lookup location didnt fall in root directory,
we tried to find the ancestor directory of the rootDirectory to watch.
We also created subDirectory map for the directories that are being watched so we dont go through invalidation if path is unwanted directory
With this change, we will watch those subdirectories instead of root. On windows node supports file system level recursive watching so the earlier approach was better because we reduced number of watches created
But on other os, since node doesnt support it, we create the watches for existing folders outselves, so earlier approach becomes expensive.
This should be better compromize to satisfy both types of OS.
Fixes #24434
2018-05-29 14:49:19 -07:00
Ryan Cavanaugh
129f747ccc
VFS fixes
2018-05-29 14:28:25 -07:00
Ron Buckton
ec0af20f5a
Merge branch 'master' into libReference
2018-05-29 14:13:00 -07:00
Sheetal Nandi
c7091ab01b
Add test that verifies watched directories and files when resolution of module references sibling folder to root with symlLink
2018-05-29 13:45:20 -07:00
Ryan Cavanaugh
fe191fec6d
Merge branch 'master' into tsbuild
2018-05-29 13:14:12 -07:00
Ryan Cavanaugh
70fa29b627
Add graph ordering tests
2018-05-29 10:00:54 -07:00
Ryan Cavanaugh
a7fcbcd3a4
Use better toposorting algorithm
2018-05-25 16:06:33 -07:00
Ryan Cavanaugh
1863d3fd48
Graph ordering test WIP
2018-05-24 17:48:45 -07:00
Ryan Cavanaugh
8ac795ba01
Correctly skip upstream-blocked projects
2018-05-24 16:21:32 -07:00
Ryan Cavanaugh
cb8aa9b1a3
Don't use invalid cached SourceFiles
2018-05-24 16:21:06 -07:00
Wesley Wigham
64642bb5c3
Dump fork output on unclean exit ( #24394 )
...
* Dump fork output on unclean exit
* Remember to clear timeout on process exit in case processes exit at very different times
2018-05-24 16:13:32 -07:00
Ryan Cavanaugh
19ab8abbb9
Fix strictNullChecks breaks
2018-05-24 13:42:12 -07:00
Sheetal Nandi
51058b56e5
Do not trigger invalidation if emitted file is in declarationDir
2018-05-24 13:36:52 -07:00
Ryan Cavanaugh
8936b030cd
Merge branch 'master' into tsbuild
2018-05-24 13:01:58 -07:00
Ryan Cavanaugh
d9bfbfe3be
Fix tests run in parallel
2018-05-24 13:01:44 -07:00
Wesley Wigham
a0b57808d0
Dont count duplicated errors in case-insensitive duped files in rwc ( #24383 )
2018-05-24 12:23:43 -07:00
Ryan Cavanaugh
fc22b5b146
WIP
2018-05-24 10:59:07 -07:00