Commit Graph
8207 Commits
Author SHA1 Message Date
Daniel Imms 693d09cbad Allow setting renderer addon before open is called 2022-09-24 14:41:48 -07:00
Daniel Imms a9eea3fd46 Merge pull request #4142 from Tyriar/defer_paused_resize
Defer paused renderer resize to idle callback
2022-09-24 12:35:40 -07:00
Daniel Imms aec1f2b2be Fix import 2022-09-24 11:58:17 -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 275a8a91ee Merge pull request #4141 from Tyriar/idle_task_queue
Do char atlas warmup via new IdleTaskQueue
2022-09-24 11:44:10 -07:00
Daniel Imms 270ac1c7d9 Docs 2022-09-24 11:17:39 -07:00
Daniel Imms c42f290eb8 Do char atlas warmup via new IdleTaskQueue 2022-09-24 11:10:54 -07:00
Daniel Imms 8b323bbf69 Merge pull request #4140 from Tyriar/fast_setTheme
Share rgba vars throughout Color.ts, fast setTheme parseColor
2022-09-24 11:09:51 -07:00
Daniel Imms e68bf3ca5b Merge remote-tracking branch 'ups/master' into fast_setTheme 2022-09-24 11:02:15 -07:00
Daniel Imms b742da4bfa Merge pull request #4137 from Tyriar/willReadFrequently
Optimize contexts for reading frequently
2022-09-24 10:40:39 -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 d62b4531c3 Optimize contexts for reading frequently
This was a recommendation from Edge.
Docs here: https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-will-read-frequently
2022-09-24 06:58:01 -07:00
Daniel Imms 1431210ecd Merge pull request #4125 from BattlefieldDuck/master
Update allowProposedApi comments
2022-09-23 13:27:25 -07:00
Daniel Imms 50b1e1045c Merge pull request #4134 from Tyriar/fix_upper_one_eighth_block
Fix width of upper 1/8 block char
2022-09-23 10:33:19 -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
Daniel Imms 349acbba34 Merge pull request #4131 from Tyriar/idleWarmup
Perform texture atlas warm up in an idle callback
2022-09-22 13:48:56 -07:00
Daniel Imms 78128762f9 Perform texture atlas warm up in an idle callback
Part of #4103
2022-09-22 13:06:08 -07:00
TatLead 11c806a4d0 Update xterm.d.ts 2022-09-19 05:54:11 +08:00
TatLead 9fb84cb89d Update xterm-headless.d.ts 2022-09-19 05:53:50 +08:00
Daniel Imms 1ceec0b6fa Merge pull request #4123 from Tyriar/remove_v5_publishing
Remove special v5 beta publishing
2022-09-15 13:02:17 -07:00
Daniel Imms 73cb96ddec Remove special v5 beta publishing 2022-09-15 12:39:32 -07:00
Daniel Imms 904ddffc8d Merge pull request #4122 from Tyriar/release_v5
Release v5, including addon version bumps
5.0.0
2022-09-15 12:33:47 -07:00
Daniel Imms c23f4313fb Release v5, including addon version bumps 2022-09-15 12:22:32 -07:00
Daniel Imms d3fd3d0f22 Merge pull request #4098 from jerch/protected
protection flag support
2022-09-12 05:52:43 -07:00
Daniel Imms 3387d7fe46 Merge pull request #4109 from Tyriar/4108
Copy extended attributes to dest in reflow
2022-09-12 05:50:08 -07:00
jerch 74b5d3f881 Merge branch 'master' into protected 2022-09-09 22:58:29 +02:00
Daniel Imms 822ac527ba Correct type and use ! to highlight the unsafe part 2022-09-09 12:48:55 -07:00
Daniel Imms 2032f409cf Copy extended attributes to dest in reflow
Fixes #4108
2022-09-09 12:28:27 -07:00
Daniel Imms f3622dfedc Merge pull request #4069 from mihaip/master
Make terminal rendering work in popout windows
2022-09-09 10:18:11 -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
Mihai Parparita 2935d9feb7 Add demo of opening the terminal in a popout window
The poput window is just a rendering surface, the termminal code still
executes in the original/parent window.
2022-09-08 15:13:17 -07:00
Jörg Breitbart 21105b4017 Merge remote-tracking branch 'upstream/master' into protected 2022-09-07 19:51:51 +02:00
Jörg Breitbart b01a94f5bb rename to respectProtect 2022-09-07 19:47:28 +02: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 1923473a73 Merge pull request #4007 from ink404/handle-delete-composition-helper
Handle Delete in `CompositionHelper`
2022-09-07 09:43:49 -07:00
Daniel Imms d739191adb Merge branch 'master' into handle-delete-composition-helper 2022-09-07 09:39:54 -07:00
Daniel Imms 9ef2397918 Merge pull request #4101 from JasonXJ/render-bug
WebglRenderer always clears _glyphRenderer if _model is cleared
2022-09-07 09:01:41 -07:00
Daniel Imms e9d276a827 Merge pull request #4095 from jerch/request_mode
DECRQM support
2022-09-07 08:58:33 -07:00
Daniel Imms 327ece07e8 Merge pull request #4102 from JasonXJ/clip-cursor-cell
Webgl cursor renderer makes sure a char is not drawn outside of the cell
2022-09-07 07:49:24 -07:00
Jason Lin 4752f99e03 Webgl cursor renderer makes sure a char is not drawn outside of the cell 2022-09-06 14:12:15 +10:00
Jason Lin e5ad3ce9b9 Polish 2022-09-05 17:32:02 +10:00
Jason Lin faf5f72c1f Clear glyph render when the webgl model is cleared 2022-09-05 13:32:04 +10:00
Jörg Breitbart e72e575c0f fix typo in docs 2022-09-04 13:15:47 +02:00
Jörg Breitbart 318b60418e cleanup vtfeaures docs 2022-09-04 12:54:27 +02:00
Jörg Breitbart 68fe100841 cleanup 2022-09-04 11:51:41 +02:00
Jörg Breitbart d511720f63 reshape DECRQSS 2022-09-04 11:34:31 +02:00