Sheetal Nandi
aea8630ace
Merge branch 'master' into watchImprovements
2017-09-12 10:33:58 -07:00
Sheetal Nandi
fdb104b242
Merge branch 'master' into watchImprovements
2017-09-11 13:49:36 -07:00
Ryan Cavanaugh
1f0e7b02ea
Merge pull request #18093 from RyanCavanaugh/detectBadPlugins
...
Detect bad plugins and work around them
2017-09-11 12:49:10 -07:00
Sheetal Nandi
67f9533c67
Limit the resolution invalidation to max number of files as invalidation for larger cache might take more time than to just recalculate resolutions
2017-09-08 12:10:47 -07:00
Andrew Casey
097b094082
Don't get typings for projects with disabled language services
2017-09-07 11:10:12 -07:00
Sheetal Nandi
680994ea42
Better log for update graph and delay operations
2017-09-06 16:34:31 -07:00
Sheetal Nandi
7b2bab5b86
Revert to use refcount to keep track of directory watchers for failed lookup
2017-09-05 15:40:50 -07:00
Sheetal Nandi
9e5e20c80f
Remove the configured project if on next open file if it has no open files instead of immediately when closing last open file
2017-08-31 17:58:09 -07:00
Sheetal Nandi
8d5d4c2a0e
Reduce storage of maps/sets for failed lookups
2017-08-31 15:48:31 -07:00
Sheetal Nandi
2b97b2c04d
Print number of files in the project when printing project
2017-08-31 11:35:55 -07:00
Sheetal Nandi
16cf7c40a8
Watch for the automatic types that included as part of type resolution
2017-08-31 09:13:59 -07:00
Sheetal Nandi
a3b9467d41
Resolve only once in the given directory for name
2017-08-31 09:13:59 -07:00
Sheetal Nandi
254e39306f
Watch failed lookups recursively to reduce number of directory watches
...
Also we dont need to watch type roots any more
2017-08-31 09:13:59 -07:00
Sheetal Nandi
10ea5bf460
Script infos while opening/closing shouldnt mark project as dirty if the contents dont change
2017-08-31 09:13:59 -07:00
Sheetal Nandi
17565d8407
Handle watches of missing directories and make project the module resolution host
2017-08-31 09:13:59 -07:00
Sheetal Nandi
5aafd3f06c
Reduce number of watches for failed lookup locations as part of module resolution
2017-08-31 09:13:59 -07:00
Sheetal Nandi
4c79033894
Refactoring to watches and caching of system such that we minimize function expressions
...
Also unified watcher info logging
2017-08-31 09:13:59 -07:00
Ryan Cavanaugh
67f2716156
Detect bad plugins and work around them
2017-08-28 13:32:20 -07:00
Ryan Cavanaugh
43b8ce664c
Merge
2017-08-22 14:31:49 -07:00
Sheetal Nandi
e71123857c
Add api in builder to get changed files and use it to send project changed event
2017-08-22 11:28:10 -07:00
Sheetal Nandi
e500be28cd
Adding test for #16456 to verify watched directories in case-sensitive and non sensitive file system and fixing caching
2017-08-22 11:21:02 -07:00
Sheetal Nandi
3908325f46
Merge branch 'watchImprovements' into builder
2017-08-21 11:44:09 -07:00
Sheetal Nandi
84b2e23033
More PR feedback work
2017-08-21 11:39:04 -07:00
Sheetal Nandi
8deef58fd6
Remove the unused function from the Project since builder has this logic now.
2017-08-18 12:15:03 -07:00
Sheetal Nandi
e639ceb038
Merge branch 'watchImprovements' into builder
2017-08-18 11:56:12 -07:00
Sheetal Nandi
da0d374b30
Made updates to not expose methods/types that arent needed.
2017-08-18 11:55:47 -07:00
Sheetal Nandi
a99c04e8f9
Make the failedLookuplocations to be readonly array
2017-08-15 10:22:48 -07:00
Sheetal Nandi
6bf9133461
Update to PR feedback
2017-08-14 18:51:05 -07:00
Sheetal Nandi
136b091a4a
Update based on feedback
2017-08-14 16:34:30 -07:00
Sheetal Nandi
f1b1b12604
More work based on feedback
2017-08-14 14:59:51 -07:00
Sheetal Nandi
59d07dc488
Simplified mutate map options
2017-08-14 11:27:02 -07:00
Sheetal Nandi
d0a23bb876
Merge branch 'watchImprovements' into builder
2017-08-12 15:35:30 -07:00
Sheetal Nandi
594482d2c9
Merge branch 'master' into watchImprovements
2017-08-11 20:13:15 -07:00
Sheetal Nandi
8db05c2d85
More work on PR feedback update
2017-08-11 16:37:47 -07:00
Sheetal Nandi
b071a8610c
More work on feedback from PR
2017-08-11 16:10:56 -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
Sheetal Nandi
02b8a7de65
More work on PR feedback
2017-08-10 12:40:31 -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
Sheetal Nandi
65521bc259
Feedback from the PR
2017-08-08 15:12:02 -07:00
Andy
5141ce751d
Deduplicate unresolvedImports ( #17248 )
...
* Deduplicate unresolvedImports
* Add `isNonDuplicateInSortedArray` helper
2017-08-08 11:02:10 -07:00
Andy
ceae613e4c
Add lint rule to check that Debug.assert
calls do not eagerly interpolate strings ( #17125 )
...
* And lint rule to check that `Debug.assert` calls do not eagerly interpolate strings
* Use more specific 'assert' functions to avoid callbacks
* Respond to PR feedback
2017-08-08 07:56:14 -07:00
Andy
382785a528
Fix logging of module resolution errors ( #17144 )
2017-08-08 07:54:08 -07:00
Sheetal Nandi
7474ba762c
Implementation for invalidating source file containing possibly changed module resolution
2017-08-07 11:31:13 -07:00
Sheetal Nandi
8dc62484ec
Partial implementation for invalidating the program (instead of source file as that would involve more work) so the files are picked up
2017-08-07 11:31:13 -07:00
Sheetal Nandi
d55150cbd3
Implementation of watching the failed lookup locations
2017-08-07 11:31:13 -07:00
Sheetal Nandi
0d5e6c9de5
Use cache for module resolution even in watch mode
2017-08-07 11:31:12 -07:00
Sheetal Nandi
89c61e797c
Modify the api in builder so that it tracks changed files
2017-08-07 11:24:07 -07:00
Sheetal Nandi
9b18f7b61c
Use builder to emit the files from the tsc.js
2017-08-07 11:19:53 -07:00
Sheetal Nandi
6237b221da
Move the builder to compiler directory
2017-08-07 11:19:52 -07:00
Sheetal Nandi
e06847503c
Refactor so that builder handles only source files and program
2017-08-07 11:19:52 -07:00