@theia/core 1.27.0-next.79 → 1.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/lib/browser/shell/tab-bars.d.ts +1 -1
- package/lib/browser/shell/tab-bars.js +1 -1
- package/lib/node/messaging/ipc-channel.d.ts +1 -1
- package/lib/node/messaging/ipc-channel.js +1 -1
- package/lib/node/messaging/messaging-contribution.js +2 -2
- package/package.json +6 -6
- package/src/browser/shell/tab-bars.ts +1 -1
- package/src/node/messaging/ipc-channel.ts +1 -1
- package/src/node/messaging/messaging-contribution.ts +2 -2
package/README.md
CHANGED
|
@@ -86,12 +86,12 @@ export class SomeClass {
|
|
|
86
86
|
- `@phosphor/signaling` (from [`@phosphor/signaling@1`](https://www.npmjs.com/package/@phosphor/signaling))
|
|
87
87
|
- `@phosphor/virtualdom` (from [`@phosphor/virtualdom@1`](https://www.npmjs.com/package/@phosphor/virtualdom))
|
|
88
88
|
- `@phosphor/widgets` (from [`@phosphor/widgets@1`](https://www.npmjs.com/package/@phosphor/widgets))
|
|
89
|
-
- `@theia/application-package` (from [`@theia/application-package@1.27.0
|
|
90
|
-
- `@theia/application-package/lib/api` (from [`@theia/application-package@1.27.0
|
|
91
|
-
- `@theia/application-package/lib/environment` (from [`@theia/application-package@1.27.0
|
|
92
|
-
- `@theia/request` (from [`@theia/request@1.27.0
|
|
93
|
-
- `@theia/request/lib/proxy` (from [`@theia/request@1.27.0
|
|
94
|
-
- `@theia/request/lib/node-request-service` (from [`@theia/request@1.27.0
|
|
89
|
+
- `@theia/application-package` (from [`@theia/application-package@1.27.0`](https://www.npmjs.com/package/@theia/application-package/v/1.27.0))
|
|
90
|
+
- `@theia/application-package/lib/api` (from [`@theia/application-package@1.27.0`](https://www.npmjs.com/package/@theia/application-package/v/1.27.0))
|
|
91
|
+
- `@theia/application-package/lib/environment` (from [`@theia/application-package@1.27.0`](https://www.npmjs.com/package/@theia/application-package/v/1.27.0))
|
|
92
|
+
- `@theia/request` (from [`@theia/request@1.27.0`](https://www.npmjs.com/package/@theia/request/v/1.27.0))
|
|
93
|
+
- `@theia/request/lib/proxy` (from [`@theia/request@1.27.0`](https://www.npmjs.com/package/@theia/request/v/1.27.0))
|
|
94
|
+
- `@theia/request/lib/node-request-service` (from [`@theia/request@1.27.0`](https://www.npmjs.com/package/@theia/request/v/1.27.0))
|
|
95
95
|
- `fs-extra` (from [`fs-extra@^4.0.2`](https://www.npmjs.com/package/fs-extra))
|
|
96
96
|
- `fuzzy` (from [`fuzzy@^0.1.3`](https://www.npmjs.com/package/fuzzy))
|
|
97
97
|
- `inversify` (from [`inversify@^5.1.1`](https://www.npmjs.com/package/inversify))
|
|
@@ -267,7 +267,7 @@ export declare class SideTabBar extends ScrollableTabBar {
|
|
|
267
267
|
protected onDragEnter: (event: IDragEvent) => void;
|
|
268
268
|
/**
|
|
269
269
|
* Handle `viewContainerPart` drag over,
|
|
270
|
-
* Defines the appropriate `
|
|
270
|
+
* Defines the appropriate `dropAction` and opens the tab on which the mouse stands on for more than 800 ms.
|
|
271
271
|
*/
|
|
272
272
|
protected onDragOver: (event: IDragEvent) => void;
|
|
273
273
|
}
|
|
@@ -697,7 +697,7 @@ class SideTabBar extends ScrollableTabBar {
|
|
|
697
697
|
};
|
|
698
698
|
/**
|
|
699
699
|
* Handle `viewContainerPart` drag over,
|
|
700
|
-
* Defines the appropriate `
|
|
700
|
+
* Defines the appropriate `dropAction` and opens the tab on which the mouse stands on for more than 800 ms.
|
|
701
701
|
*/
|
|
702
702
|
this.onDragOver = (event) => {
|
|
703
703
|
const factory = event.mimeData.getData('application/vnd.phosphor.view-container-factory');
|
|
@@ -4,7 +4,7 @@ import { Channel, ChannelCloseEvent, DisposableCollection, Emitter, Event, Messa
|
|
|
4
4
|
import { BinaryMessagePipe } from './binary-message-pipe';
|
|
5
5
|
/**
|
|
6
6
|
* A {@link Channel} to send messages between two processes using a dedicated pipe/fd for binary messages.
|
|
7
|
-
* This fd is opened as 5th channel in addition to the default stdios (stdin,stdout,stderr, ipc). This means the default channels
|
|
7
|
+
* This fd is opened as 5th channel in addition to the default stdios (stdin, stdout, stderr, ipc). This means the default channels
|
|
8
8
|
* are not blocked and can be used by the respective process for additional custom message handling.
|
|
9
9
|
*/
|
|
10
10
|
export declare class IPCChannel implements Channel {
|
|
@@ -23,7 +23,7 @@ const uint8_array_message_buffer_1 = require("../../common/message-rpc/uint8-arr
|
|
|
23
23
|
const binary_message_pipe_1 = require("./binary-message-pipe");
|
|
24
24
|
/**
|
|
25
25
|
* A {@link Channel} to send messages between two processes using a dedicated pipe/fd for binary messages.
|
|
26
|
-
* This fd is opened as 5th channel in addition to the default stdios (stdin,stdout,stderr, ipc). This means the default channels
|
|
26
|
+
* This fd is opened as 5th channel in addition to the default stdios (stdin, stdout, stderr, ipc). This means the default channels
|
|
27
27
|
* are not blocked and can be used by the respective process for additional custom message handling.
|
|
28
28
|
*/
|
|
29
29
|
class IPCChannel {
|
|
@@ -93,9 +93,9 @@ let MessagingContribution = MessagingContribution_1 = class MessagingContributio
|
|
|
93
93
|
}
|
|
94
94
|
handleChannels(socket) {
|
|
95
95
|
const socketChannel = new web_socket_channel_1.WebSocketChannel(this.toIWebSocket(socket));
|
|
96
|
-
const
|
|
96
|
+
const multiplexer = new channel_1.ChannelMultiplexer(socketChannel);
|
|
97
97
|
const channelHandlers = this.getConnectionChannelHandlers(socket);
|
|
98
|
-
|
|
98
|
+
multiplexer.onDidOpenChannel(event => {
|
|
99
99
|
if (channelHandlers.route(event.id, event.channel)) {
|
|
100
100
|
console.debug(`Opening channel for service path '${event.id}'.`);
|
|
101
101
|
event.channel.onClose(() => console.debug(`Closing channel on service path '${event.id}'.`));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/core",
|
|
3
|
-
"version": "1.27.0
|
|
3
|
+
"version": "1.27.0",
|
|
4
4
|
"description": "Theia is a cloud & desktop IDE framework implemented in TypeScript.",
|
|
5
5
|
"main": "lib/common/index.js",
|
|
6
6
|
"typings": "lib/common/index.d.ts",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"@phosphor/signaling": "1",
|
|
17
17
|
"@phosphor/virtualdom": "1",
|
|
18
18
|
"@phosphor/widgets": "1",
|
|
19
|
-
"@theia/application-package": "1.27.0
|
|
20
|
-
"@theia/request": "1.27.0
|
|
19
|
+
"@theia/application-package": "1.27.0",
|
|
20
|
+
"@theia/request": "1.27.0",
|
|
21
21
|
"@types/body-parser": "^1.16.4",
|
|
22
22
|
"@types/cookie": "^0.3.3",
|
|
23
23
|
"@types/dompurify": "^2.2.2",
|
|
@@ -193,12 +193,12 @@
|
|
|
193
193
|
"watch": "theiaext watch"
|
|
194
194
|
},
|
|
195
195
|
"devDependencies": {
|
|
196
|
-
"@theia/ext-scripts": "1.
|
|
197
|
-
"@theia/re-exports": "1.
|
|
196
|
+
"@theia/ext-scripts": "1.27.0",
|
|
197
|
+
"@theia/re-exports": "1.27.0",
|
|
198
198
|
"minimist": "^1.2.0"
|
|
199
199
|
},
|
|
200
200
|
"nyc": {
|
|
201
201
|
"extends": "../../configs/nyc.json"
|
|
202
202
|
},
|
|
203
|
-
"gitHead": "
|
|
203
|
+
"gitHead": "b952ad743a97821dee94787e946f5a288174d4e8"
|
|
204
204
|
}
|
|
@@ -1024,7 +1024,7 @@ export class SideTabBar extends ScrollableTabBar {
|
|
|
1024
1024
|
|
|
1025
1025
|
/**
|
|
1026
1026
|
* Handle `viewContainerPart` drag over,
|
|
1027
|
-
* Defines the appropriate `
|
|
1027
|
+
* Defines the appropriate `dropAction` and opens the tab on which the mouse stands on for more than 800 ms.
|
|
1028
1028
|
*/
|
|
1029
1029
|
protected onDragOver = (event: IDragEvent) => {
|
|
1030
1030
|
const factory = event.mimeData.getData('application/vnd.phosphor.view-container-factory');
|
|
@@ -24,7 +24,7 @@ import { BinaryMessagePipe } from './binary-message-pipe';
|
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* A {@link Channel} to send messages between two processes using a dedicated pipe/fd for binary messages.
|
|
27
|
-
* This fd is opened as 5th channel in addition to the default stdios (stdin,stdout,stderr, ipc). This means the default channels
|
|
27
|
+
* This fd is opened as 5th channel in addition to the default stdios (stdin, stdout, stderr, ipc). This means the default channels
|
|
28
28
|
* are not blocked and can be used by the respective process for additional custom message handling.
|
|
29
29
|
*/
|
|
30
30
|
export class IPCChannel implements Channel {
|
|
@@ -108,9 +108,9 @@ export class MessagingContribution implements BackendApplicationContribution, Me
|
|
|
108
108
|
|
|
109
109
|
protected handleChannels(socket: Socket): void {
|
|
110
110
|
const socketChannel = new WebSocketChannel(this.toIWebSocket(socket));
|
|
111
|
-
const
|
|
111
|
+
const multiplexer = new ChannelMultiplexer(socketChannel);
|
|
112
112
|
const channelHandlers = this.getConnectionChannelHandlers(socket);
|
|
113
|
-
|
|
113
|
+
multiplexer.onDidOpenChannel(event => {
|
|
114
114
|
if (channelHandlers.route(event.id, event.channel)) {
|
|
115
115
|
console.debug(`Opening channel for service path '${event.id}'.`);
|
|
116
116
|
event.channel.onClose(() => console.debug(`Closing channel on service path '${event.id}'.`));
|