Commit Graph

326 Commits

Author SHA1 Message Date
Gabriel DeBacker
971331334e Updates based on API change request 2019-01-23 09:01:10 -08:00
Gabriel DeBacker
d5e3656860 Merge with master 2019-01-23 07:37:50 -08:00
Daniel Imms
a865e6691b Sanitize terminal environment variables 2019-01-22 07:47:00 -08:00
Martin Aeschlimann
585099e139 support add/diffMode in windowService.openWindow 2019-01-22 15:56:28 +01:00
Martin Aeschlimann
998d665c39 cli server for internal terminal 2019-01-22 15:56:28 +01:00
Gabriel DeBacker
75f82ce09a Get terminal re-use and task restart working 2019-01-19 08:00:36 -08:00
Gabriel DeBacker
54b9bba47e Callbacks now function 2019-01-17 09:29:47 -08:00
Alex Dima
2fe9de8511 Initialize configuration data through ExtHostConfiguration 2019-01-14 17:28:14 +01:00
Gabriel DeBacker
e1d8493f28 Implement creating a razzle terminal with approved API changes 2019-01-11 10:27:18 -08:00
Daniel Imms
fedf2f8771 Rename experimentalUseConpty to windowsEnableConpty 2018-12-21 12:00:35 -08:00
Daniel Imms
dceb815558 Merge remote-tracking branch 'origin/master' into tyriar/conpty 2018-12-21 10:49:44 -08:00
Matt Bierner
6422adaffe Remove redundant type annotations for generic emitter properties
Code like:

```
private readonly _onDidEncounterLanguage: Emitter<LanguageId> = new Emitter<LanguageId>();
```

Does not need to repeat the `Emitter<LanguageId>` type annotation
2018-12-19 17:10:39 -08:00
Daniel Imms
58f6dc5185 Merge remote-tracking branch 'origin/master' into tyriar/conpty 2018-12-18 17:13:35 -08:00
Daniel Imms
e110245f13 Merge branch 'master' into kieferrm/terminal-cwd 2018-12-17 11:21:20 -08:00
Daniel Imms
ece3a90fb5 Tweak setLocaleVariables setting
- False now really means false
- The default is true for all platforms

Fixes #65037
2018-12-13 18:07:20 -08:00
Daniel Imms
e6254db320 Recreate pid promise when reusing terminals 2018-12-13 10:02:17 -08:00
Daniel Imms
461bf7207b Merge remote-tracking branch 'origin/master' into pr/g-arjones/60111 2018-12-13 09:33:42 -08:00
Daniel Imms
e7102b1824 Send terminal name with id when it's ready
Fixes #64390
2018-12-13 08:07:55 -08:00
Johannes Rieken
653280d133 debt - Thenable -> Promise 2018-12-13 11:31:54 +01:00
Daniel Imms
e417e07b4b Add use conpty setting 2018-12-11 11:46:39 -08:00
kieferrm
f8d555167e allow terminal.cwd to be a URI 2018-12-05 14:48:18 -08:00
Daniel Imms
daf4deaf0c Terminal process request improvements 2018-11-26 14:42:35 -08:00
Daniel Imms
a1f0c4b5ee Revert "Don't set en_US.UTF-8 on Windows when setLocale is false"
This reverts commit dbdbbe5259.
2018-10-16 15:14:45 -07:00
Matt Bierner
0318e90c93 Add null type annotations for the common x: T = null pattern
In these cases, the programmer has explicitly indicated that the type should be nullable
2018-10-11 14:13:20 -07:00
Gabriel Arjones
0ce9601287 Fix #59635 2018-10-09 01:08:39 -03:00
Matt Bierner
8087b0a8d8 Remove use strict directives in main vs code ts files (part 2)
We compile using the alwaysStrict flag so these directives are not needed

This part removes most `use strict` directives that are right after the file header
2018-10-02 16:11:05 -07:00
Daniel Imms
a50e3fe64d Simplify teterminal ID retry mechanism
Fixes #59765
2018-10-01 11:36:02 -07:00
Matt Bierner
d37076a596 Build VS Code using TypeScript 3.1.1
Fixes #59757
2018-10-01 10:55:16 -07:00
Daniel Imms
52e9425445 Add missing return type 2018-09-28 08:29:57 -07:00
Alex Ross
1ff175f094 Wait to signal to the extHostTerminalService that the terminal is opened until the terminal has a name. (#58983)
Also added a change listener for title. Fixes #53057
2018-09-21 14:08:38 -07:00
Daniel Imms
dbdbbe5259 Don't set en_US.UTF-8 on Windows when setLocale is false
Fixes #58015
2018-09-19 12:28:40 -07:00
Alex Ross
e6ef901bda Wait to call registerOnDataListener until the terminal id has been set (#58644) 2018-09-14 09:09:11 -07:00
Alex Ross
529c82649b Extension host terminal onData events need to be queued when the terminal ID is not yet set (#58627) 2018-09-14 09:06:49 -07:00
Martin Aeschlimann
13722b94fa add scheme filter to getLastActiveFile 2018-09-06 14:30:59 +02:00
Daniel Imms
90d06ab05b Revert "Revert "Kill processes immediately on shutdown, use SIGTERM""
This reverts commit 1f7ce42122.
2018-08-29 11:46:08 -07:00
Benjamin Pasero
1f7ce42122 Revert "Kill processes immediately on shutdown, use SIGTERM"
This reverts commit 95c0e0728b.
2018-08-28 06:32:49 +02:00
Daniel Imms
95c0e0728b Kill processes immediately on shutdown, use SIGTERM
Fixes #56217
2018-08-27 14:04:07 -07:00
Daniel Imms
f667da4163 Remove ITerminalProcess.isConnected
The terminal process no longer exists so this isn't needed anymore
2018-07-11 15:25:21 -07:00
Daniel Imms
a50e6d4eeb Clean up and fix handling of environment 2018-07-11 15:20:00 -07:00
Daniel Imms
549143dabf Pass shell launch config to TerminalProcess 2018-07-11 13:38:35 -07:00
Daniel Imms
8b6f9e7396 Fix shell/args/cwd 2018-07-11 11:49:05 -07:00
Daniel Imms
84a7a188f8 Remove some comments 2018-07-11 11:35:50 -07:00
Daniel Imms
2fb8ab5124 Fix most of process proxy 2018-07-10 23:03:43 -07:00
Daniel Imms
7396416d7a Prevent race condition where onDidChangeActiveTerminal wouldn't fire sometimes
Fixes #53104
Fixes #53107
2018-06-28 07:42:41 -07:00
Daniel Imms
fb6eb1465c Ensure maximumDimensions have changes before firing onDidChangeMaximumDimensions
Fixes #52916
2018-06-27 14:58:29 -07:00
Daniel Imms
a1ad5a74ed Make TerminalRenderer.terminal synchronous
Fixes #52934
2018-06-27 14:45:29 -07:00
Daniel Imms
8608692417 Merge remote-tracking branch 'origin/master' into 52882_api_names 2018-06-26 12:46:29 -07:00
Daniel Imms
8237445753 Rename cols to columns
Fixes #52885
2018-06-26 12:45:36 -07:00
Daniel Imms
f3e89cad5f Rename terminal ext APIS to match convention
Fixes 52882
2018-06-26 07:50:51 -07:00
Daniel Imms
cd8d86b628 Prevent possible NPE 2018-06-21 15:33:43 +10:00