Andy
2412f8c6cf
Allow configurable npmLocation for typingsInstaller ( #16084 )
...
* Allow configurable npmLocation for typingsInstaller
* Undo "export class" changes
* Add log for npmLocation
* Log whether '--npmLocation' was provided
2017-05-26 07:06:11 -07:00
Ryan Cavanaugh
ab3ffa22da
Add flag to allow local plugin loading
2017-05-17 19:52:57 -07:00
Andy
0b0a2d070b
Merge pull request #15039 from Microsoft/resolveJavaScriptModule
...
Refactor how we (internally) expose JS module resolution
2017-05-08 10:52:17 -07:00
Arthur Ozga
cbbf6f8847
Merge branch 'master' into tripleEquals
2017-04-17 15:57:51 -07:00
Matt Bierner
6fd8653847
Fix globalPlugins TSServer Flag
...
**Bug**
globalPlugins flag not being threaded through IOSession object properly
**Fix**
Pass these flags to superclass in IOSession
2017-04-17 14:05:49 -07:00
Andy Hanson
c0d26e81f1
Merge branch 'master' into resolveJavaScriptModule
2017-04-14 10:15:30 -07:00
Ryan Cavanaugh
3cc379c3c0
Fix merge
2017-04-13 16:16:57 -07:00
Andy Hanson
7320891933
boolean-trivia lint rule: Lint for null/undefined too
2017-04-07 13:13:39 -07:00
Andy Hanson
4a3b38b274
Refactor how we (internally) expose JS module resolution
...
Also, provide a useful error if resolution fails.
2017-04-05 15:33:01 -07:00
Ryan Cavanaugh
e3bb5d3f28
Update linting to avoid typechecking for booleanTriviaRule
2017-04-04 22:34:51 -07:00
Arthur Ozga
7e03429a8e
enforce triple-equals
2017-04-04 15:51:13 -07:00
Ryan Cavanaugh
f1339ecb8e
Remove trailing WS
2017-03-24 16:07:23 -07:00
Mine Starks
0c1642a8b7
Allow specifying location of typingSafeList.json
2017-03-20 16:16:38 -07:00
Andy Hanson
2305c10a65
Fix lint errors
2017-03-17 13:54:18 -07:00
Vladimir Matveev
17cb68cbbf
send error if obtaining of types-registry package failed ( #14573 )
2017-03-10 10:34:01 -08:00
Vladimir Matveev
77c2a1d20d
allow passing --logFile and --logVerbosity parameter to tsserver ( #14566 )
2017-03-09 15:25:44 -08:00
Andy Hanson
3bc125463b
Add more missing semicolons
2017-03-03 07:00:52 -08:00
Andy Hanson
5ea43c8ba3
Merge branch 'master' into semicolon
2017-03-01 08:09:59 -08:00
Vladimir Matveev
8c54bbaa04
use separate process to probe if drive is safe to watch ( #14098 )
...
use dedicated process to determine if it is safe to watch folders
2017-02-16 10:32:01 -08:00
Ryan Cavanaugh
86cc405286
Fix downstream use
2017-02-14 13:45:19 -08:00
Ryan Cavanaugh
aec310996c
Language service extensibility
2017-02-14 13:35:16 -08:00
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
Andy Hanson
91421c8dbc
Fix "semicolon" lint rule options (was not enabled)
2017-02-10 12:24:10 -08:00
Kagami Sascha Rosylight
2a941a7222
inline length
2016-12-20 03:12:35 +09:00
Kagami Sascha Rosylight
27a60e4580
fix linting errors
2016-12-18 15:44:54 +09:00
Vladimir Matveev
225d6d6aef
use XDG base directory compatible cache location ( #12676 )
...
* use XDG base directory compatible cache location
* use ~/Library/Caches on darwin
2016-12-05 13:40:56 -08:00
Vladimir Matveev
1418fd170d
send begin/end notifications when installing types packages ( #12551 )
2016-11-29 10:14:22 -08:00
jramsay
855431a943
Merge pull request #12373 from Microsoft/RenameTypingOptions
...
Rename typingOptions.enableAutoDiscovery to typeAcquisition.enable
2016-11-22 17:22:30 -08:00
Zhengbo Li
110c3ac6ac
Add locale options to tsserver ( #12369 )
...
* add locale options to tsserver
* make sys an argument
* fix mistakes and address code review
2016-11-21 10:30:38 -08:00
András Parditka
c96bc89982
Fix issue #12260 .
...
Fixed tsserver crashing on Android (Termux).
2016-11-19 11:28:11 +01:00
Jason Ramsay
5a9451ae23
Rename typingOptions.enableAutoDiscovery to typeAcquisition.enable
2016-11-18 18:14:32 -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
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
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
f6b82d5e9f
add a fallback logic for older versions of node that don't support 'homedir' ( #11845 )
...
* add a fallback logic for older versions of node that don't support 'homedir'
* try os.homedir first
2016-10-25 16:36:02 -07:00
Vladimir Matveev
72f81e2fc4
Merge pull request #11841 from Microsoft/vladima/report-typings-installer-pid
...
report typings installer process id to parent process
2016-10-25 15:37:56 -07:00
Vladimir Matveev
7890f63250
use unresolved imports as a source of used typings ( #11828 )
2016-10-25 15:24:21 -07:00
Vladimir Matveev
f48728af74
report typings installer process id to parent process
2016-10-25 13:18:57 -07:00
Andy Hanson
6814c1d883
Forbid unused locals/parameters anywhere
2016-10-19 08:27:49 -07:00
Vladimir Matveev
224582c4f3
Merge pull request #11577 from Microsoft/vladima/configure-typing-acquisition
...
Disable automatic type acquisition with command line option, replace npm view with request to npm registry
2016-10-13 10:22:26 -07:00
Vladimir Matveev
93b8df7c5d
Addresses #11348 : Could the tsserver add process.noAsar = true; ( #11351 ) ( #11360 )
2016-10-04 12:11:59 -07:00
Vladimir Matveev
833a46c091
merge with origin/master
2016-09-27 10:22:41 -07:00
Andy Hanson
d7b6cc89b5
Respond to PR comments
2016-09-01 12:40:31 -07:00
Andy Hanson
87e93a19a3
Fix remaining call to use unorderedRemoveItem
2016-09-01 11:56:00 -07:00
Vladimir Matveev
38ce6279cd
add tsserver specific resolution pass that will load typings from cache locations if auto discovery is enabled
2016-08-29 22:21:58 -07:00
Vladimir Matveev
aff4556d0f
do not send events via stdout if eventPort is specified
2016-08-23 12:52:43 -07:00
Vladimir Matveev
b81b2baff6
fix linter issues
2016-08-19 11:55:29 -07:00
Vladimir Matveev
a1da7709f8
propagate debug/inspect flags to typingsInstaller process
2016-08-18 23:41:48 -07:00
Vladimir Matveev
875e62cc75
remove compression
2016-08-18 17:14:56 -07:00
Vladimir Matveev
edfd104e56
use localhost:<eventPort> to send notifications when typings are updated
2016-08-18 14:29:21 -07:00