8000 Api for creating program in watch mode and using builder to get incremental emit/semantic diagnostics by sheetalkamat · Pull Request #20234 · microsoft/TypeScript · GitHub
[go: up one dir, main page]

Skip to content

Api for creating program in watch mode and using builder to get incremental emit/semantic diagnostics #20234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 48 commits into from
Jan 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
a06f0c3
Use builder state to emit instead
sheetalkamat Oct 19, 2017
576fe1e
Expose the watch and builder API in the typescript.d.ts
sheetalkamat Oct 26, 2017
7ebf9d9
Lint errors fix
sheetalkamat Nov 7, 2017
3c5a6e1
Allow watch host to specify module name resolver
sheetalkamat Nov 7, 2017
c9a17f3
Add api to get the dependencies of the file
sheetalkamat Nov 9, 2017
6d36a3d
Make the versions in the source file non zero when the source file is…
sheetalkamat Nov 14, 2017
85ce1d0
Make the builder state as internal and expose builder instead of buil…
sheetalkamat Nov 14, 2017
e102fee
Use the results from affected file enumerator apis as Affected File r…
sheetalkamat Nov 15, 2017
ffa64e8
Set program as affected if emitting/diagnostics for whole program
sheetalkamat Nov 16, 2017
012f12b
To handle cancellation token, remove changed/affected files from the …
sheetalkamat Nov 23, 2017
0b79f4a
Handle emit only declaration file to always produce declaration file …
sheetalkamat Nov 23, 2017
374536b
Merge branch 'master' into builderApi
sheetalkamat Dec 4, 2017
3dda217
Rename getProgram to getExistingProgram
sheetalkamat Dec 4, 2017
61fc9b9
Rename Watch.synchronizeProgram to getProgram and return the updated …
sheetalkamat Dec 4, 2017
471c83b
Rename WatchHost.moduleNameResolver to WatchHost.resolveModuleNames t…
sheetalkamat Dec 4, 2017
1a91256
Make before and after program create callbacks optional
sheetalkamat Dec 4, 2017
f046d82
Merge branch 'master' into builderApi
sheetalkamat Dec 5, 2017
944f8b8
Instead of using system as object on WatchHost, create WatchCompilerH…
sheetalkamat Dec 5, 2017
43c2610
More functions moved from system to WatchCompilerHost
sheetalkamat Dec 6, 2017
e694b9e
Update the WatchCompilerHost creation
sheetalkamat Dec 6, 2017
8cc2936
Move watchFile and watchDirectory to WatchCompilerHost
sheetalkamat Dec 6, 2017
abafddd
Move internal functions in the watch to separate namespace
sheetalkamat Dec 6, 2017
77e6731
Handle setTimeout, clearTimeout, clearScreen and report watch Diagnos…
sheetalkamat Dec 6, 2017
d22ba5e
Move the system.write to trace on WatchCompilerHost
sheetalkamat Dec 6, 2017
c9a407e
Add getDefaultLibLocation and getDefaultLibFileName and remove system…
sheetalkamat Dec 6, 2017
14f66ef
Update the emitting file, reporting errors part of the watch api
sheetalkamat Dec 6, 2017
a21b074
Update the builder to take options aligning with the WatchCompilerHost
sheetalkamat Dec 6, 2017
eb052fe
Merge branch 'master' into builderApi
sheetalkamat Dec 6, 2017
39bf33d
Few renames
sheetalkamat Dec 7, 2017
4c21cbf
Create builderState so that when FilesAffectedBy is only api needed, …
sheetalkamat Dec 7, 2017
2586bb3
From builder use the builderState containing references and file infos
sheetalkamat Dec 7, 2017
bb0fc0d
Convert builder state to mutable data, so that later we can create bu…
sheetalkamat Dec 7, 2017
965f40f
Use builder state in the semantic/emit builder as well
8000 sheetalkamat Dec 8, 2017
dc62bb9
Change builder to BuilderProgram so it is similar to operating on pro…
sheetalkamat Dec 8, 2017
9b54d2e
Create api to create Watch<BuilderProgram>
sheetalkamat Dec 8, 2017
8ad9a62
Api to get underlying program from builder
sheetalkamat Dec 8, 2017
a75badf
Rename on WatchBuilderProgram
sheetalkamat Dec 8, 2017
2611c9b
Merge branch 'master' into builderApi
sheetalkamat Dec 8, 2017
cb26366
When user provided resolution is used, invalidate resolutions for all…
sheetalkamat Dec 8, 2017
5bc78af
Merge branch 'master' into builderApi
sheetalkamat Jan 8, 2018
5bd3f97
Merge branch 'master' into builderApi
sheetalkamat Jan 16, 2018
6650029
Merge branch 'master' into builderApi
sheetalkamat Jan 16, 2018
ed23ca5
Merge branch 'master' into builderApi
sheetalkamat Jan 18, 2018
29dee9f
Do not expose createWatchOfConfigFile and createWatchOfFilesAndCompil…
sheetalkamat Jan 18, 2018
f29c0e3
Expose createWatchCompilerHost as overload
sheetalkamat Jan 18, 2018
bd43e45
Move getCurrentDirectory to builder program
sheetalkamat Jan 18, 2018
2be231d
Add createProgram on WatchCompilerHost
sheetalkamat Jan 19, 2018
8a51cda
Merge branch 'master' into builderApi
sheetalkamat Jan 19, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view