23 Commits

Author SHA1 Message Date
Vladimir Matveev
81f4e38643 Enable per-request cancellation (#12371)
enable -per-request cancellation

* restore request for deferred calls

* add tests

* introduce MultistepOperation

* (test) subsequent request cancels the preceding one
2017-02-14 13:18:42 -08:00
Vladimir Matveev
de40000814 switch FileExtensionInfo to always mean .js file and deduplicate entries in getSupportedExtensions (#14046)
* - switch FileExtensionInfo to always mean .js file
- deduplicate entries in getSupportedExtensions

* (PR feedback): updated comment
2017-02-13 12:19:33 -08:00
Vladimir Matveev
bb71dcdde8 add projectUsesOutFile field to protocol.CompileOnSaveAffectedFileListSingleProject (#13915) 2017-02-08 11:01:32 -08:00
David Sheldrick
8d590d5191 rename preserveWithJsExtension to react-native 2017-01-23 21:42:39 +01:00
David Sheldrick
dd0ed44b9a Add option to output .js files while preserving jsx
This commit adds the ability to preserve jsx in source code, but
also to output .js files rather than .jsx files. This is useful
for react-native which does not support .jsx files.
2017-01-23 18:17:16 +01:00
Andrew Ochsner
3b3d71542c Add InsertSpaceAfterConstructor option & additonal test cases
Fixes #12234
2016-12-20 10:05:10 -06:00
Andrew Ochsner
7bf73be7fe space-before-function-paren
Adding option InsertSpaceBeforeFunctionParenthesis
Should be optional
Typically used to support http://eslint.org/docs/rules/space-before-function-paren

Fixes #12234
2016-12-19 23:05:30 -06:00
Vladimir Matveev
e68161adfa when language service is disabled - build program using only open files (#12809) 2016-12-13 13:21:32 -08:00
Jason Ramsay
05160cae8e Rename fileExtensionMap: fileExtensionMapItem[] to extraFileExtensions: FileExtensionInfo[] 2016-12-09 13:36:43 -08:00
Jason Ramsay
d52894302a Changes due to CR comments 2016-12-08 17:56:08 -08:00
Jason Ramsay
1c3689edef Merge branch 'master' into tsconfigMixedContentSupportRedux 2016-12-07 15:33:42 -08:00
Vladimir Matveev
1418fd170d send begin/end notifications when installing types packages (#12551) 2016-11-29 10:14:22 -08:00
Jason Ramsay
70e130b08c Maintain support for deprecated API typingOptions.enableAutoDiscovery 2016-11-21 18:17:27 -08:00
Jason Ramsay
5a9451ae23 Rename typingOptions.enableAutoDiscovery to typeAcquisition.enable 2016-11-18 18:14:32 -08:00
Jason Ramsay
464bc0e9e0 Merge branch 'master' into tsconfigMixedContentSupportRedux 2016-11-18 16:15:15 -08:00
Jason Ramsay
7dd30dbfd4 tsconfig.json mixed content support 2016-11-18 15:51:28 -08:00
Vladimir Matveev
4c2474463c ports #12237, #12258 and #12259 into master (#12274)
* treat failures to resolve module name as missing packages (#12237)

* added extra check to prevent multiple installation of the same typing, added version field to telemetry event (#12258)

* added extra check to prevent multiple installation of the same typing, added version field to telemetry event

* use ts.version

* switch to execSync to ensure that no install orders are interleaved (#12259)

* Make sure version is public

* Update file with version string for nightly release
2016-11-15 12:53:46 -08:00
Vladimir Matveev
f13e6d4ca6 enable syntactic features if project size exceeded the limit, send events when state of language service changes (#12190)
* enable syntactic features if project size exceeded the limit, send events when state of language service changes

* allow getting compiler options diagnostics when language service is disabled
2016-11-14 15:10:32 -08:00
Vladimir Matveev
f11e8a3c69 add 'installSuccess' flag to telemetry, cache misses if npm install fails (#12163)
* add 'installSuccess' flag to telemetry, cache misses if npm install fails

* fix typo
2016-11-14 14:10:22 -08:00
Vladimir Matveev
3b09010c7c enable syntactic features if project size exceeded the limit, send events when state of language service changes 2016-11-11 17:35:11 -08:00
Vladimir Matveev
4ffdea838a Ports #12051 and #12032 into master (#12090)
* use local registry to check if typings package exist (#12014)

use local registry to check if typings package exist

* enable sending telemetry events to tsserver client (#12035)

enable sending telemetry events
2016-11-07 13:36:08 -08:00
Vladimir Matveev
05ebd1d5fb Merge pull request #11651 from Microsoft/vladima/literals-in-protocol
switch enums in protocol to unions of literal types
2016-10-17 15:46:55 -07:00
Vladimir Matveev
92b63fa725 Merge pull request #11550 from Microsoft/vladima/generate-protocol
Automatically generate protocol.d.ts by pulling in necessary dependencies
2016-10-12 14:18:19 -07:00