315 Commits

Author SHA1 Message Date
Sheetal Nandi
b0d85c0270
Merge pull request #28450 from Microsoft/libErrors
Remove lib file errors from builder cache when global files are to be emitted
2018-11-09 17:42:08 -08:00
Sheetal Nandi
941d97c45a Handle global augmentation in the module 2018-11-09 16:41:18 -08:00
Sheetal Nandi
a27b29f025 Remove lib file errors when all files are to be emitted.
Fixes #26389
2018-11-09 14:43:01 -08:00
Ron Buckton
151dc074a8 Merge branch 'master' into sourceMapGenerator 2018-11-09 11:50:51 -08:00
Sheetal Nandi
9dbe037e84 Use seen map to avoid circular transitive exports to cause stack over flow
Fixes #28433
2018-11-09 09:22:39 -08:00
Sheetal Nandi
55fb052d7a Allow creation of relative path file infos only for open script infos
Fixes #20476
2018-11-08 12:43:48 -08:00
Sheetal Nandi
7736ea4e93 Add tests that create relative path even though the script info isnt dynamic 2018-11-08 12:32:48 -08:00
Sheetal Nandi
b534fb4849
Merge pull request #27980 from EECOLOR/leading-slash-imports
match leading slash imports with path mappings - fixes #13730
2018-11-08 09:20:45 -08:00
Sheetal Nandi
3ec06038d5 Retain the casing in map files in file names 2018-11-07 13:47:30 -08:00
EECOLOR
1a9c20949e path mappings now supports rooted disk paths and urls - fixes #13730 2018-11-07 22:19:04 +01:00
Sheetal Nandi
ab4be8da42 Fix the issue with file being included in the referencing project on rename when it wasnt included earlier
Fixes #28307
2018-11-07 11:30:39 -08:00
Sheetal Nandi
1d87250573 Fix the issue with file being included in the referencing project on rename when it wasnt included earlier
Fixes #28043
2018-11-07 09:48:27 -08:00
Sheetal Nandi
448f385e3c Fix lint errors 2018-11-06 15:49:17 -08:00
Sheetal Nandi
4a51f12c3e Add metadata to response if it exists for results from language service.
Currently its wired through for completions requests.
Handles #21999
2018-11-06 15:06:54 -08:00
Sheetal Nandi
597aacad88
Merge pull request #28346 from Microsoft/transitiveExports
When removing old diagnostics for files referencing modules that export affected file with signature change, delete the diagnostics of the module as well as anything that exports that module
2018-11-05 15:58:22 -08:00
Sheetal Nandi
23e7330ddb When removing old diagnostics for files referencing modules that export affected file with signature change, delete the diagnostics of the module as well as anything that exports that module
Fixes #28328
2018-11-05 12:17:41 -08:00
Caleb Sander
3e10dedbce Add diagnostic messages for bigints 2018-11-05 11:36:30 -08:00
Caleb Sander
ece27eb177 Utilities for PseudoBigInt 2018-11-05 11:36:30 -08:00
Caleb Sander
0c1bf316a2 Declaration files for BigInt 2018-11-05 11:36:30 -08:00
Andy
afbf89e3b3
Refactors can return ReadonlyArray<ApplicableRefactorInfo> (#28305)
* Refactors can return ReadonlyArray<ApplicableRefactorInfo>

* Remove unnecessary type assertions
2018-11-02 10:07:21 -07:00
Sheetal Nandi
901476fae3
Merge pull request #28271 from Microsoft/containerOnlyProgramFiles
Do not add source files to container only project
2018-11-01 14:54:00 -07:00
Sheetal Nandi
121a350c5d Instead of adding lib files, avoid creating diagnostics producing checker for container projects 2018-10-31 19:55:58 -07:00
Sheetal Nandi
c780186a92
Merge pull request #28266 from Microsoft/fixProjectLoadingFinishEvent
Fix incorrectly passed event name for ProjectLoadingFinish event
2018-10-31 18:13:56 -07:00
Sheetal Nandi
0544b7745d
Merge pull request #28273 from Microsoft/buildSourceMapNavigation
Fix source map decoding to handle case sensitivity and --out option
2018-10-31 18:13:05 -07:00
Sheetal Nandi
72aec56fe8 Use mapDefined and combine event name inputs 2018-10-31 15:57:32 -07:00
Wesley Wigham
a4a1bed88b
Add showConfig tsc flag for debugging configs (#27353)
* Add showConfig tsc flag for debugging configs

* Merge showConfig implementation with init implementation, add basic unit tests

* Fix lint

* Add missing semicolon

* showConfig when theres no config file
2018-10-31 15:57:09 -07:00
Sheetal Nandi
851f739c82 Dont ignore libs since that could result in unexpected error 2018-10-31 15:50:22 -07:00
Sheetal Nandi
9f844c4b08 Test to verify that file with --out and case mismatch works with source map 2018-10-31 15:39:31 -07:00
Sheetal Nandi
78174657e7 Do not add source files to container only project 2018-10-31 15:03:42 -07:00
Sheetal Nandi
677f04b165 Test to verify project loading events with default event handler 2018-10-31 13:37:00 -07:00
Sheetal Nandi
f7189e17f4 Some reorg in creating sessions for testing 2018-10-31 13:05:12 -07:00
Sheetal Nandi
dcdda87258
Merge pull request #28243 from Microsoft/containerOnlyRef
Report error requiring references to have composite only if the program is not container only
2018-10-30 21:20:52 -07:00
Sheetal Nandi
305303cc0d Fix test case for project reference with composite not true 2018-10-30 18:59:25 -07:00
Sheetal Nandi
4606a4b700
Merge pull request #28209 from Microsoft/ignorePathsStartingWithDotInNodeModules
Ignore any changes to file or folder that are in node_modules and start with "."
2018-10-30 18:06:00 -07:00
Andy
903e68164e
Redo resolution on ATA when previous resolution was to '.js' file (#28236)
* Redo resolution on ATA when previous resolution was to '.js' file

* Use a separate test case
2018-10-30 16:39:40 -07:00
Sheetal Nandi
60801a261c Report error requiring references to have composite only if the program is not container only 2018-10-30 15:22:00 -07:00
Sheetal Nandi
c9fadf1f46 Ignore wild card directory watchers with node_modules file or folder starting with . 2018-10-30 11:06:13 -07:00
Andy
7c515bf6e8
Remove toSortedArray and toDeduplicatedSortedArray, use sort and sortAndDeduplicate (#28214) 2018-10-30 08:41:31 -07:00
Sheetal Nandi
d32c1b091a Ignore any changes to file or folder that are in node_modules and start with "."
Fixes #27673
2018-10-29 12:00:46 -07:00
Andy
36dfd775b3
Parse an object literal property as shorthand unless followed by '(' or ':' (#28121) 2018-10-26 15:00:31 -07:00
Wesley Wigham
05716a74a5
Add support for configuration inheritance via packages (#27348)
* Add support for configuration inheritance via packages

* Fix lint

* Propagate trace into config parse hosts
2018-10-25 10:19:57 -07:00
Andy
eadf44d073
Add generateTypesForModule to public API (#28069)
* Add generateTypesForModule to public API

* Avoid parameter initializer and update baselines
2018-10-23 16:10:26 -07:00
Daniel Rosenwasser
68ce68da79
Merge pull request #27964 from Igorbek/issue27854
Fix bug in reduceEachChild for tagged template expressions
2018-10-22 15:49:54 -07:00
Andy
72244c5b03
Support 'isSourceFileFromExternalLibrary' for source files from '/// <reference types="" />'' (#28004)
* Support 'isSourceFileFromExternalLibrary' for source files from '/// <reference types="" />''

* Calculate `isExternalLibraryImport` at the end

* Calculate isExternalLibraryImport with symlink path
2018-10-19 18:00:45 -07:00
Sheetal Nandi
ad5599434e
Merge pull request #27974 from Microsoft/errorUpdateWithChangeInTransitiveDeclarationFile
Use reference map from declaration file as exported map to handle deep import semantic diagnostics invalidation
2018-10-19 17:32:32 -07:00
Sheetal Nandi
d352b8c2c7 Use reference map from declaration file as exported map to handle deep import semantic diagnostics invalidation
Fixes #27973
2018-10-18 12:04:14 -07:00
Igor Oleinikov
b2cbbbd1d3 Fix bug in reduceEachChild (fixes #27854)
- add reducing of type arguments in tagged template expression
2018-10-18 01:34:04 -07:00
Igor Oleinikov
b1fbff8b98 Add broken test for issue #27854 2018-10-18 00:31:09 -07:00
Sheetal Nandi
bc72577ce3 Merge branch 'master' into transitiveReferences 2018-10-16 14:56:07 -07:00
Andy
eb2297df02
Fix compile errors in tsbuildWatchMode.ts (#27870)
* Fix compile errors in tsbuildWatchMode.ts

* Remove TODO comments

* new LKG

* Add tslint disables
2018-10-16 12:28:14 -07:00