Jörg Breitbart
150499b7e5
comment fix
2022-09-29 10:46:25 +02:00
Jörg Breitbart
193d305dcd
revert timeout to 5ms, remove log in server.js
2022-09-29 10:36:08 +02:00
Daniel Imms
34df17e36d
Call innerWrite immediately over a microtask
2022-09-28 09:51:28 -07:00
Daniel Imms
44388e5e6c
Use microtask to flush the write buffer after input
...
Fixes #4158
2022-09-28 09:06:07 -07:00
Jörg Breitbart
785b932d75
lazy cleanup on buffer
2022-09-28 15:57:58 +02:00
Jörg Breitbart
e58f73dc82
Merge branch 'master' into buffer_optimizations
2022-09-28 13:22:16 +02:00
Jörg Breitbart
7bba07e24e
rename fourByteCells to uint32Cells
2022-09-28 13:18:31 +02:00
Jörg Breitbart
39eea8ed88
remove useless condition
2022-09-28 13:15:34 +02:00
Jörg Breitbart
20c1f1a5f7
fix resize edge cases: always report cleanup state
2022-09-28 12:14:09 +02:00
Jörg Breitbart
e87f70d6d6
removed EMPTY_DATA branch
2022-09-28 11:55:26 +02:00
Daniel Imms
51c580e7a4
Merge pull request #4157 from Tyriar/4156
...
Fix trusted types in dom renderer
2022-09-27 13:15:25 -07:00
Daniel Imms
23328a394b
Fix trusted types in dom renderer
...
Fixes #4156
2022-09-27 13:01:36 -07:00
Daniel Imms
399621eeb5
Merge pull request #4154 from Tyriar/qmt
...
Remove queuemicrotask polyfill
2022-09-27 07:41:57 -07:00
Daniel Imms
66675ef649
Merge pull request #4153 from Tyriar/microtask_fix
...
Fix repetitive microtask problem
2022-09-27 06:57:00 -07:00
Daniel Imms
8201925fe8
Fix priority task queue and idle callback fallback
...
Mistake of not hooking up the abstract methods, this should throw on
Safari for example.
2022-09-27 06:46:19 -07:00
Daniel Imms
d74e43a42a
Remove queuemicrotask polyfill
...
Support seems good
2022-09-27 06:44:18 -07:00
Daniel Imms
25b69e5ed0
Fix repetitive microtask problem
...
See #4145
2022-09-27 06:43:07 -07:00
Daniel Imms
318abe641b
Merge pull request #4145 from Tyriar/microtask_server
...
Optimize critical I/O path for input latency
2022-09-25 09:39:02 -07:00
Daniel Imms
0b8120808c
Prefer microtask to timeout in write queue
...
This seems to make little difference but it's more correct as we want
to write as fast as possible to minimize input latency
2022-09-24 16:27:56 -07:00
Daniel Imms
c548977a3e
Fix imports
2022-09-24 16:16:14 -07:00
Daniel Imms
04d196a32d
Use task queue interface
2022-09-24 16:14:38 -07:00
Daniel Imms
494fe3a95d
Fill in ITaskQueue
2022-09-24 16:13:53 -07:00
Daniel Imms
8f8813a19a
Add PriorityTaskQueue
2022-09-24 15:16:02 -07:00
Daniel Imms
2febe19222
Set renderer after screen element is attached to dom
2022-09-24 14:42:57 -07:00
Daniel Imms
693d09cbad
Allow setting renderer addon before open is called
2022-09-24 14:41:48 -07:00
Daniel Imms
ab90dcd0dc
Clarify comment
2022-09-24 14:13:04 -07:00
Daniel Imms
1f45d5344c
Use the browser's IdleDeadline to determine max task time
2022-09-24 14:10:29 -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
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
e68bf3ca5b
Merge remote-tracking branch 'ups/master' into fast_setTheme
2022-09-24 11:02:15 -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
09a5da5d33
Fix width of upper 1/8 block char
...
See microsoft/vscode#161323
2022-09-23 10:11:28 -07:00
coderaiser
bbff3e8396
Update src/common/services/InstantiationService.ts
2022-09-15 22:52:50 +03:00
coderaiser
25eb7d6472
chore: lint using 🐊 Putout
2022-09-15 17:19:34 +03:00
Jörg Breitbart
6225cc2b9c
optimize certain resize conditions
2022-09-13 14:37:29 +02: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
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
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