83 Commits

Author SHA1 Message Date
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
Vladimir Matveev
a2e5c2d2b5 merge with origin/master 2016-08-17 14:38:30 -07:00
Vladimir Matveev
ce35f96892 shutdown typing installer if parent process is exited 2016-08-17 13:01:48 -07:00
Vladimir Matveev
f0e1f9b108 [WIP] file watching 2016-08-16 14:21:09 -07:00
Andy Hanson
5ad7729357 Use removeItem instead of copyListRemovingItem 2016-08-15 13:17:15 -07:00
Vladimir Matveev
672813afb6 move global cache location to node typings installer 2016-08-15 11:48:28 -07:00
Vladimir Matveev
5424df7be5 adjust typing directory 2016-08-14 23:07:25 -07:00
Vladimir Matveev
12cdda17f0 [WIP] home dir 2016-08-14 21:20:57 -07:00
Vladimir Matveev
c7fd72f2b8 fix linter 2016-08-14 20:52:34 -07:00
Vladimir Matveev
9a180122a5 merge with origin/master 2016-08-14 11:42:08 -07:00
Vladimir Matveev
253d5d6ce9 [WIP] initial version of tests 2016-08-13 23:09:14 -07:00
Vladimir Matveev
d07261af4f ensure tsd cache directory exists 2016-08-12 23:04:17 -07:00
Vladimir Matveev
512ec04d29 [WIP] send\receive install typing requests 2016-08-12 18:17:16 -07:00
Vladimir Matveev
b1871a5bf9 [WIP] pass ITypingsInstaller to ProjectService 2016-08-12 14:01:23 -07:00
Vladimir Matveev
9cd5b46100 strip quotes from the log file name 2016-07-19 10:07:49 -07:00
Vladimir Matveev
39c948ad34 merge with origin/master 2016-07-13 16:20:08 -07:00
Vladimir Matveev
78974efe18 defer updates in project structure after file is edited 2016-07-12 18:02:54 -07:00
Vladimir Matveev
ac9717dc3d use Logger directly 2016-07-11 19:44:23 -07:00
Wesley Wigham
fb20df0568
Have tsconfig for harness 2016-07-11 16:36:20 -07:00
Vladimir Matveev
6c775ebf97 move max uncompressed message size out of the session 2016-07-08 16:47:51 -07:00
Vladimir Matveev
b330fbf03c report compression time 2016-07-06 17:22:55 -07:00
Vladimir Matveev
1060b1e52e make compressed data wrapper over the real data 2016-07-06 14:10:39 -07:00
Vladimir Matveev
e14a7ca0bc initial support for compressing responses 2016-07-06 00:28:24 -07:00
Vladimir Matveev
a9cd516119 initialize setImmediate\clearImmediate 2016-06-30 09:58:05 -07:00