Daniel Imms
2a6cd8230c
Merge remote-tracking branch 'upstream/master' into tyriar/lifecycle
2024-07-15 09:52:09 -07:00
Daniel Imms
bf41eb4204
Add top/bottom border overview ruler options
2024-07-15 09:14:49 -07:00
Daniel Imms
144bdb5dd0
Move over to vs disposables
2024-07-14 16:19:20 -07:00
Daniel Imms
d1d25a5bf7
Polish all files (excl. CoreBrowserTerminal/Viewport)
2024-07-10 08:08:02 -07:00
Daniel Imms
c7f80986c8
Inline some functions
2024-07-10 07:33:53 -07:00
Daniel Imms
9b26bb4436
Support theming of overview ruler border
2024-07-10 07:30:38 -07:00
Daniel Imms
4789c24e1e
Get esbuild working and adopt vs scrollbar
2024-07-09 11:19:15 -07:00
Daniel Imms
132553f521
Sync DOM decoration styles when line height/width changes
...
See microsoft/vscode#219979
2024-07-04 08:37:48 -07:00
Daniel Imms
81e0718a74
Move window resize edge case into dpr monitor
2023-10-17 09:18:46 -07:00
Daniel Imms
6e12d94f11
Move window resize listeners over to onWindowChange
2023-10-17 09:10:04 -07:00
Daniel Imms
63790f8854
Change ScreenDprMonitor to be event based
2023-10-17 08:49:28 -07:00
Daniel Imms
45605db3c5
Listen to window change and pass through to ScreenDprMonitor
2023-10-17 08:39:48 -07:00
Daniel Imms
c80453f602
Use correct document when creating elements
2023-10-16 11:09:36 -07:00
Daniel Imms
70f6fa2bc9
Fix SortedList.values iteration and general dec lifecycle fixes
...
Fixes #4652
2023-08-13 10:42:45 -07:00
Daniel Imms
ec227c757b
Prefix class with xterm-decoration-
2023-05-17 06:57:13 -07:00
Jean Pierre
60f549028f
Ensure decorations in the top layer render on top of decorations in the bottom layer
2023-05-12 16:19:03 -05:00
Daniel Imms
8d4d5bd54b
Fix dropped frame issue
...
This ensures decorations are refreshed in the same frame when called from
an animation frame callback
Fixes #4225
2022-10-21 13:02:24 -07:00
Megan Rogge
0b84d17b18
revert decoration dispose changes ( #4215 )
2022-10-18 21:32:22 +00:00
Daniel Imms
7796b4101a
Type Buffer.tabs
2022-10-16 06:58:20 -07:00
Daniel Imms
22e8a2f8e7
Remove old dimension properties
2022-10-15 18:07:05 -07:00
Daniel Imms
415100e8b8
Adopt onSpecificOptionChange
2022-10-09 07:46:10 -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
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
ed15a8e170
Create new event with emitter object to simplify code
2022-10-01 08:45:40 -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
Daniel Imms
7a652c4169
Allow up to double the size for overview ruler decorations
...
Fixes #3840
2022-05-27 11:56:54 -07:00
Daniel Imms
bcb71e854f
Fix decoration positioning
...
In _createElement the element wasn't set on the decoration yet.
Fixes 3818
2022-05-19 09:32:57 -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
748d0cc74f
Fix missed decorations casing
2022-05-12 11:49:57 -07:00
Daniel Imms
cd01157e55
Rename decorations2 -> decorations to fix casing
2022-05-12 11:19:07 -07:00