arencoskun
09a0dd658d
Final fixes
2024-02-01 13:11:54 +03:00
arencoskun
bbd1a1dbe2
Try to fix linter errors
2024-02-01 13:05:13 +03:00
arencoskun
f1e563ad5f
Expose API method for writing to application side ( #4948 )
2024-02-01 11:17:25 +03:00
Daniel Imms
3c88c767cd
Fix background selection blending for true color
...
Bug in #4920
See microsoft/vscode#200428
2024-01-30 11:16:19 -08:00
Daniel Imms
1b4f0606ca
Merge pull request #4929 from Tyriar/tyriar/metrics
...
Implement and default to text metrics measure strategy
2023-12-29 04:02:04 -08:00
Daniel Imms
379c382fe7
Pull common measure parts into base class
2023-12-29 03:47:44 -08:00
Daniel Imms
559026bbf3
Implement and default to text metrics measure strategy
...
Fixes #3449
2023-12-29 03:40:44 -08:00
Daniel Imms
1a82e0d421
Remove todo
...
Not much gain by caching the value
2023-12-28 09:47:05 -08:00
Daniel Imms
94a9ce8566
Move toColor into channels
...
It operates on rgba channels, not a packed 32 bit int
2023-12-28 09:29:30 -08:00
Daniel Imms
dbcb43f1d3
Rename Linkifier2 -> Linkifier
2023-12-23 08:32:39 -08:00
Daniel Imms
d7c8d063b6
Get linkifier test to work
2023-12-23 08:31:50 -08:00
Daniel Imms
de41c9f306
Make linkifier always attached to dom
2023-12-23 08:29:28 -08:00
Daniel Imms
8733d2cfa2
Separate link provider service from linkifier
2023-12-23 08:21:35 -08:00
Daniel Imms
56a6a010ab
Fix crosshair cursor now working in some embedders
...
This was not happening in the demo because the xterm instance is almost
always focused.
See microsoft/vscode#199848
2023-12-20 07:28:26 -08:00
Daniel Imms
341d9f0597
Merge pull request #4920 from Tyriar/tyriar/bg_blend
...
Add bg+powerline background blend behavior
2023-12-19 08:57:03 -08:00
Daniel Imms
22f1ce4a11
Add bg+powerline background blend behavior
...
When a with bg is selected, the cell's regular background will be blended
with 50% opacity selectionBackground in order to retain the bg color info
as well as getting the color to change and getting decent contrast.
This commit also fixes a terrible, nasty bug where the standalone shared
renderer tests were causing the terminal to open multiple times and not
get the WebGL addon activated the second time. So some tests were actually
testing the DOM renderer :o
Fixes #4918
2023-12-19 08:16:48 -08:00
Daniel Imms
805823df7a
Merge pull request #4919 from Tyriar/tyriar/noisy
...
Remove tracing drawToCache call
2023-12-19 05:50:32 -08:00
Daniel Imms
7c5ad6b7a9
Remove tracing drawToCache call
...
This was a little noisy and didn't end up being that useful
2023-12-19 05:44:55 -08:00
Daniel Imms
0904078bf4
Merge pull request #4912 from jeanp413/fix-vscode-200469
...
Fixes vscode #200469
2023-12-15 08:26:27 -08:00
Jean Pierre
9f995c6ff8
💄
2023-12-15 16:03:37 +00:00
jeanp413
7ac95fab28
More fixes
2023-12-12 09:19:53 -05:00
Daniel Imms
1f15c47a43
Merge pull request #4913 from Tyriar/tyriar/wheel_handlers
...
addCustomWheelEventHandler API
2023-12-12 05:25:31 -08:00
Daniel Imms
88ba66d00b
addCustomWheelEventHandler API
...
I opted for consistency with the key event handler over our more modern
approach, we can migrate them at the same time if we end up returning
a disposable.
See microsoft/vscode#76381
2023-12-12 05:17:24 -08:00
jeanp413
2592e1e84d
re register intersection observer on window change
2023-12-12 05:55:30 -05:00
jeanp413
97750f672f
💄
2023-12-12 04:41:20 -05:00
jeanp413
54608bf38d
Fixes https://github.com/microsoft/vscode/issues/200469
2023-12-12 04:16:28 -05:00
Daniel Imms
1943636f02
Help embedders avoid memory leaks by clearing options
...
Related microsoft/vscode#192838
2023-12-08 12:14:22 -08:00
tisilent
2861a4dd39
Draw dashed lines through ratios
2023-11-08 17:58:38 +08:00
Daniel Imms
5630239a6d
Merge remote-tracking branch 'upstream/master' into pr/JasonXJ/4742
2023-11-03 08:47:05 -07:00
Daniel Imms
6214f4c2e6
Varinat -> Variant
2023-11-02 10:43:56 -07:00
Daniel Imms
390e4f30c8
Merge remote-tracking branch 'upstream/master' into pr/tisilent/4703
2023-11-02 10:39:15 -07:00
Daniel Imms
b6a09d67e2
Merge remote-tracking branch 'upstream/master' into pr/tisilent/4837
2023-11-02 09:30:17 -07:00
Daniel Imms
bb9728ccd1
from xterm -> from scoped
2023-11-01 06:50:08 -07:00
Daniel Imms
20a26a6589
Remove unused imports
2023-10-17 10:54:29 -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
92535e539f
Inline ScreenDprMonitor into CoreBrowserService file
2023-10-17 08:56:02 -07:00
Daniel Imms
4cc51ca08f
Move ScreenDprMonitor into CoreBrowserService
2023-10-17 08:55:07 -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
tisilent
eb4277e7bd
using ITerminal
2023-10-16 09:35:21 +08:00
Daniel Imms
41c62288f0
Expose a documentOverride setting
...
This lets the embedder choose which Document object to use for creating
elements, adding event listeners, etc. The reason this exists is because
when working with multiple windows it can be convenient to create all
elements under the primary window to make instanceof usage consistent.
See microsoft/vscode#195595
2023-10-13 13:41:53 -07:00
Jason Lin
c3aa63cffa
translateToString() adds one more entry to outColumns
...
Previously, for string 'ab好', outColumns=[0, 1, 2]. Now it becomes [0,
1, 2, 4]. This allows the user to know where does the last character
ends.
2023-10-11 16:23:03 +11:00
Jason Lin
1b940de0bf
Allow selection in the a11y tree and sync the selection to terminal
2023-10-11 16:23:03 +11:00
tisilent
6b5fc260ca
Dom Renderer using SelectionRenderModel
2023-10-10 22:53:01 +08:00
tisilent
d3e075f37b
handle selection when resizing
2023-10-10 15:54:15 +08:00
tisilent
f391cf6d43
Add column restriction
2023-09-20 18:40:03 +08:00
Thomas Zilz
aaadefa548
Move WidthCache measure container to helper container
2023-09-15 10:51:31 +02:00
tisilent
a1229c78a2
Add cursor initialize test
2023-09-13 18:43:04 +08:00