Daniel Imms
37b0e4018c
More adoption of MutableDisposable
2023-08-27 07:03:27 -07:00
Daniel Imms
b6fd7a2b93
Ignore no-unused-vars in test files
2023-08-23 04:42:21 -07:00
Daniel Imms
568e4c6935
Clamp start and end in render service to ensure they're valid
...
Fixes #4314
2022-12-21 16:55:03 -08:00
Daniel Imms
22e8a2f8e7
Remove old dimension properties
2022-10-15 18:07:05 -07:00
Daniel Imms
e47296c1b9
Use options service directly in renderers
2022-10-09 09:28:18 -07:00
Daniel Imms
8ac88bc6bf
Move Terminal option updates into owning components
2022-10-09 09:07:01 -07:00
Daniel Imms
6e35bcd767
Use theme service in more places
2022-10-08 13:55:23 -07:00
Daniel Imms
4dee0c5d4b
Build out theme service more
2022-10-08 12:15:21 -07:00
Daniel Imms
5d8e4a0af4
Add lint rule to ensure _on prefix is only for event emitters
2022-10-08 11:05:52 -07:00
Daniel Imms
eecf52e949
Add lint rule to ensure on prefix is only for event emitters
...
Fixes #4183
2022-10-08 10:57:31 -07:00
Daniel Imms
00f6d3a88c
Register all event emitters, make some services disposable
2022-10-08 09:00:14 -07:00
Daniel Imms
ac659cb412
Prevent overriding of Disposable.dispose
...
A common mistake made was overriding dispose and not calling super.dispose,
so a TS trick is now used to move it to a readonly property instead of a
member method which prevents it being overridden.
2022-10-08 08:27:10 -07:00
Daniel Imms
ffa4d921bb
Merge remote-tracking branch 'upstream/master' into renderer_before_open
2022-10-07 10:10:24 -07:00
Daniel Imms
4d97729010
Revert "Merge pull request #4166 from Tyriar/event_with_emitter"
...
This reverts commit d22f7c9edd , reversing
changes made to 1f8e6f0952 .
2022-10-06 09:48:54 -07:00
Daniel Imms
590a8219e3
Merge remote-tracking branch 'upstream/master' into shared_cache
2022-10-02 13:42:44 -07:00
Daniel Imms
c5f9eacbb1
Move other render parts to shared folder
2022-10-01 17:41:16 -07:00
Daniel Imms
ed15a8e170
Create new event with emitter object to simplify code
2022-10-01 08:45:40 -07:00
Daniel Imms
1a22c44f2b
Make all emitters readonly
2022-10-01 08:02:32 -07:00
Daniel Imms
cf9949840b
Use readonly over getter for exposing events
...
Fixes #4164
2022-10-01 07:52:26 -07:00
Daniel Imms
c548977a3e
Fix imports
2022-09-24 16:16:14 -07:00
Daniel Imms
693d09cbad
Allow setting renderer addon before open is called
2022-09-24 14:41:48 -07:00
Daniel Imms
66efb0388a
Move prop to top
2022-09-24 11:57:12 -07:00
Daniel Imms
4ac5a91c95
Make DebouncedIdleTask helper
2022-09-24 11:56:46 -07:00
Daniel Imms
4e8e6b9788
Defer paused renderer resize to idle callback
2022-09-24 11:45:48 -07:00
Mihai Parparita
a39a468f19
Make terminal rendering work in popout windows
...
Add support for the parent element (what is passed to Terminal.open)
being in a different (same origin) window. Accesses to DOM APIs such
as requestAnimationFrame and devicePixelRatio thus need to be scoped
to the corrent window, instead of assuming that it's the same as the
window/global scope where the code is running.
This is done by inferring a parent window at the creation time, and
then storing it in CoreBrowserService, which is already passed to most
places that need it.
To catch future regressions, an ESLint rule that checks for global
accesses is added (it uses AST selectors via the no-restricted-syntax
rule).
This should also be applicable when the parent element is an iframe.
Fixes #3758
2022-09-08 16:59:31 -07:00
Daniel Imms
4a6e7bee21
Fix lgtm recommendations
2022-08-30 14:09:39 -07:00
Megan Rogge
a5f2ea336e
update search results onBufferContentsChange ( #3811 )
2022-05-17 10:00:55 -07:00
Megan Rogge
de5df69333
share animation frame with renderService ( #3796 )
2022-05-17 09:52:46 -07:00
Daniel Imms
900200b871
Merge remote-tracking branch 'upstream/master' into 3773
2022-05-13 08:46:05 -07:00
Daniel Imms
3d41f028e4
Layout dimension left/right after renderer dims change
...
Fixes #3773
2022-05-11 10:12:48 -07:00
Daniel Imms
324ea2ecb7
Clean up/resolve todos
2022-05-11 09:54:40 -07:00
Daniel Imms
de574a27fc
Full re-render when there are decoration changes
2022-05-10 05:44:00 -07:00
meganrogge
1f60a398b2
on render, fire when height has changed (was 0)
2022-03-22 15:04:22 -04:00
Daniel Imms
fea1079b1e
Force clear of the glyph renderer when switching
...
Fixes #3617
2022-02-03 08:33:22 -08:00
Daniel Imms
189ff56224
Add API to clear canvas renderer texture atlas
...
Fixes #3455
2021-09-22 06:38:47 -07:00
Samuel Sampson
f1849cafaf
Introduce IRenderDebouncer interface, unifying RenderDebouncer and TimeBasedDebouncer types
2021-08-17 20:50:47 +00:00
Daniel Imms
999116c536
Convert CharacterJoinerRegistry to a service
...
Part of #3094 , #3283
2021-04-02 07:43:39 -07:00
jeanp413
350f6cfea1
Fixes https://github.com/microsoft/vscode/issues/102194
2021-02-05 11:15:39 -05:00
Tony Brix
3d9a33bb69
move measure before refreshRows
2020-10-25 10:59:30 -05:00
Daniel Imms
49d5608fa6
Define member bar in ctor
2020-09-11 05:29:24 -07:00
Tony Brix
9513c231c9
fix: rerender hidden terminal when visible
2020-09-11 00:42:18 -05:00
Andrew Schlackman
0abd121653
fix renderer pause again with handling of undefined
2020-07-12 10:07:47 -04:00
Daniel Imms
70e0c0385a
Revert "fix renderer pausing inadvertently in some cases"
...
This reverts commit 5738f4545f .
2020-07-10 12:14:59 -07:00
Andrew Schlackman
5738f4545f
fix renderer pausing inadvertently in some cases
2020-07-09 16:20:37 -04:00
Daniel Imms
6a0f7b0713
Fix exception when disposing Terminal twice
...
Fixes #2933
2020-05-15 10:58:09 -07:00
Daniel Imms
06b8d36cf0
Fix other leaking listeners
2020-05-03 14:37:20 -07:00
Daniel Imms
bdb438972f
Fix errors in Terminal and elsewhere
...
This was mostly ! to compel TS, we should actually fix this down the road
but that can come later.
2020-04-26 10:44:44 -07:00
Daniel Imms
6f9730c652
Merge branch 'master' into layers2
2020-04-26 08:14:47 -07:00
Daniel Imms
3a1a0d6590
Remove input handler Terminal.resize dep
2020-04-26 06:34:36 -07:00
Daniel Imms
9346eba2f2
Remove Terminal.showCursor dep from input handler
2020-04-25 16:18:43 -07:00