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
23328a394b
Fix trusted types in dom renderer
...
Fixes #4156
2022-09-27 13:01:36 -07:00
Daniel Imms
c548977a3e
Fix imports
2022-09-24 16:16:14 -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
Daniel Imms
6368cb4cff
Move canvas-based parsing to Color.ts lib
...
This removed the allowTransparency code, it didn't actually do much
before, just whether the 'advanced parsing' would allow transparency.
Since we already do the common formats, I'm not even sure what other
format it could be.
2022-09-24 10:37:40 -07:00
Daniel Imms
81d68b115c
Share rgba vars throughout Color.ts, fast setTheme parseColor
2022-09-24 10:00:57 -07:00
Daniel Imms
09a5da5d33
Fix width of upper 1/8 block char
...
See microsoft/vscode#161323
2022-09-23 10:11:28 -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
c57a52b900
Merge pull request #4105 from jeanp413/jp/fix-vs-160070
...
Fixes https://github.com/microsoft/vscode/issues/160070
2022-09-07 10:00:43 -07:00
Jean Pierre
3953db0d68
Fixes https://github.com/microsoft/vscode/issues/160070
2022-09-07 11:56:52 -05:00
Daniel Imms
d739191adb
Merge branch 'master' into handle-delete-composition-helper
2022-09-07 09:39:54 -07:00
Daniel Imms
e8e2f16cff
Merge remote-tracking branch 'upstream/master' into pr/silamon/4004
2022-09-02 13:05:52 -07:00
Jörg Breitbart
ef1b773fd7
fix pixel to cell offsets
2022-09-01 12:35:44 +02:00
Jörg Breitbart
06d6e08347
sgr_pixels mouse report
2022-09-01 00:50:11 +02:00
Daniel Imms
4a6e7bee21
Fix lgtm recommendations
2022-08-30 14:09:39 -07:00
Daniel Imms
284d9f9893
Fix ternary in activate call
...
Part of #1134
2022-08-30 07:51:32 -07:00
Daniel Imms
c5861d512c
Import from Types
2022-08-30 07:01:23 -07:00
Daniel Imms
22cca3495a
Expose range on link handler
...
This is needed for proper tooltip positioning
Part of #1134
2022-08-30 07:00:33 -07:00
Daniel Imms
3f3fc183f4
Merge branch 'master' into 1134_3
2022-08-30 05:53:36 -07:00
Ian K
cad6b49e39
Merge branch 'master' into handle-delete-composition-helper
2022-08-29 21:27:17 -05:00
Daniel Imms
1d945fdffc
Create 2 and 4 key map objects, use in color and glyph caches
2022-08-28 08:34:51 -07:00
Daniel Imms
0727741ca1
Remove iterators from IDecorationService
...
They're too low performance for typical use cases
Fixes #4079
2022-08-27 20:50:16 -07:00
Daniel Imms
8bbbc98ac8
Merge pull request #4073 from Tyriar/4072
...
Show entire glyph for extra powerline symbols
2022-08-26 08:33:53 -07:00
Daniel Imms
f6860442fb
Show entire glyph for extra powerline symbols
...
Fixes #4072
2022-08-26 08:12:00 -07:00
Daniel Imms
774ebe40e6
Improve glyph padding, especially in large font sizes
...
Fixes #4066
2022-08-26 07:26:36 -07:00
Ian K
6e3388a2c4
Merge branch 'master' into handle-delete-composition-helper
2022-08-26 09:09:02 -05:00
Daniel Imms
86ba6cd288
Tweak comment
2022-08-24 08:55:11 -07:00
greenmashimaro
ac81d3f72d
feat: restore LocalizableStrings.ts const export
2022-08-24 22:43:00 +08:00
greenmashimaro
559b6950b2
remove unnecessary eslint comments
2022-08-23 15:09:52 +08:00
Ian K
86c8ff0e33
Merge branch 'master' into handle-delete-composition-helper
2022-08-21 09:26:45 -05:00
Daniel Imms
81a62306af
Ensure canvas device dims are > 0x0 when firing callback
...
See microsoft/vscode#157444
2022-08-10 05:59:29 -07:00
Ian K
5312602692
handle same length case
2022-08-08 17:02:21 -05:00
Ian K
413a885b5e
handle if the newValue.length is less than the old value by deleting
2022-08-08 12:41:12 -05:00
Daniel Imms
9c9ff2b38c
Clean up
2022-08-07 07:46:16 -07:00
Daniel Imms
c39d235168
Fix adjacent link edge case
2022-08-07 07:42:21 -07:00
Daniel Imms
d9b8c6a838
linkHandler option and default handler
2022-08-07 07:35:46 -07:00
Daniel Imms
7970b5c1e3
Fix edge cases in link creation
2022-08-07 06:05:42 -07:00
Daniel Imms
91d46dae50
OSC link progress
2022-08-07 05:08:13 -07:00
Simon Lamon
a1385f589b
Required options
2022-08-05 16:16:12 +00:00
Daniel Imms
85984681bb
Merge pull request #3987 from Tyriar/3986
...
Polish powerline rendering
2022-07-31 14:39:54 -07:00
Daniel Imms
0910e58b15
Merge pull request #3924 from silamon/allowmarkersonaltbuffer
...
Allow markers on the alt buffer
2022-07-31 14:39:45 -07:00
Daniel Imms
8f6bde9641
Polish powerline rendering
...
Fixes #3986
2022-07-31 14:27:07 -07:00
Daniel Imms
bff529e1e2
Simplify dom tests and fix assertion
2022-07-30 23:41:08 -07:00
Daniel Imms
e0d4384d3c
Merge branch 'master' into underline
2022-07-30 06:40:41 -07:00
Daniel Imms
ff33834eb2
Merge branch 'master' into inactiveSelection
2022-07-29 14:51:22 -07:00
Daniel Imms
b0c29cac9a
Merge pull request #3932 from Tyriar/tyriar/dim_bg
...
Fix inverse dim rendering on canvas+webgl
2022-07-29 14:50:47 -07:00