Daniel Imms
b5cd4f1492
Cache ICoreBrowserService.isFocused per task
...
This is called for every selected cell when rendering which ends up
consuming a bunch of CPU due to the DOM calls.
2022-10-27 16:50:45 -07:00
Daniel Imms
a4f8b07a7f
Merge pull request #4226 from Tyriar/dropped_frames
...
Fix dropped frame issue
2022-10-21 13:10:30 -07: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
Daniel Imms
d5710afcb3
Merge pull request #4219 from Tyriar/4218_safari_bitmap
...
Disable canvas ImageBitmap optimization on Safari
2022-10-19 10:58:43 -07:00
Daniel Imms
8bd8195e30
Disable canvas ImageBitmap optimization on Safari
...
Fixes #4218
2022-10-19 10:03:01 -07:00
Daniel Imms
ffe066dfef
Merge pull request #4217 from Nokel81/fix-dom-renderering-jsdom-v2
...
Change clearing innerText to using replaceChildren to fix testing using jsdom
2022-10-19 07:21:30 -07:00
Sebastian Malton
11e90591f9
Change clearing innerText to using replaceChildren to fix testing using jsdom
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-10-19 10:09:12 -04:00
Megan Rogge
0b84d17b18
revert decoration dispose changes ( #4215 )
2022-10-18 21:32:22 +00:00
Daniel Imms
376f0d9972
Merge pull request #4211 from hackermondev/patch-1
...
replit branding change
2022-10-17 07:45:06 -07:00
hackermon
478535d236
replit branding change
2022-10-17 09:49:54 -04:00
Daniel Imms
3f12d2925a
Merge pull request #4208 from Tyriar/todo_attach_socket
...
Warn/throw on unexpected attach addon socket state
2022-10-17 03:48:31 -07:00
Daniel Imms
8e65ee8832
Merge pull request #4210 from Tyriar/todo_type_tabs
...
Fix a bunch of TODOs
2022-10-16 07:15:19 -07:00
Daniel Imms
a7f0c3868c
Merge pull request #4209 from Tyriar/todo_onData_event_test
...
Re-enable onData event test
2022-10-16 07:08:59 -07:00
Daniel Imms
96486c414b
Acquire char size service better in webgl renderer
2022-10-16 07:04:34 -07:00
Daniel Imms
b560d85553
Remove unneeded params as link provider is stable
2022-10-16 07:04:24 -07:00
Daniel Imms
7796b4101a
Type Buffer.tabs
2022-10-16 06:58:20 -07:00
Daniel Imms
a982484392
Re-enable onData event test
2022-10-16 06:55:04 -07:00
Daniel Imms
e15c6b9f3e
Warn/throw on unexpected attach addon socket state
2022-10-16 06:49:27 -07:00
Daniel Imms
807183bba6
Merge pull request #4207 from Tyriar/3925_dimensions
...
Improve names of IRenderDimensions interface members
2022-10-16 06:41:37 -07:00
Daniel Imms
dc19628014
Fix width -> height
2022-10-16 06:34:12 -07:00
Daniel Imms
ca68a5c59a
Fix typo in test
2022-10-15 20:13:24 -07:00
Daniel Imms
22e8a2f8e7
Remove old dimension properties
2022-10-15 18:07:05 -07:00
Daniel Imms
171ba446bd
Update other files
2022-10-15 15:32:02 -07:00
Daniel Imms
89e0b87eac
Move to device/css in domrenderer
2022-10-15 14:22:04 -07:00
Daniel Imms
2c9e711cae
Move all other refs in webgl over
2022-10-15 13:55:36 -07:00
Daniel Imms
b0f1c38fd2
Move all other refs in canvas over
2022-10-15 13:44:52 -07:00
Daniel Imms
b393008b54
Use new render dimensions in canvasrenderer
2022-10-15 13:19:04 -07:00
Daniel Imms
65f41a151e
Use new render dimensions in webglrenderer
2022-10-15 13:15:12 -07:00
Daniel Imms
ddc4e75583
Add new dimensions properties, helper creation function
...
Part of #3925
2022-10-15 10:31:43 -07:00
Daniel Imms
869ce3aa35
Merge pull request #4194 from silamon/fixmissingline
...
Capture data between terminal creation and connected to terminal in demo
2022-10-15 10:17:51 -07:00
Daniel Imms
16ea621a5f
Merge pull request #4206 from Tyriar/eslint-jsdoc
...
Add eslint-plugin-jsdoc with minimal comment rules
2022-10-15 08:55:07 -07:00
Daniel Imms
5204374494
Add no-multi-asterisks rule
2022-10-15 08:43:06 -07:00
Daniel Imms
9f1a71485c
Fix invalid jsdoc tags
2022-10-15 08:41:49 -07:00
Daniel Imms
49e0480f78
Add rule jsdoc/check-alignment
2022-10-15 08:39:32 -07:00
Daniel Imms
114924f3fa
Add eslint-plugin-jsdoc and enable check-param-names
2022-10-15 08:38:14 -07:00
Daniel Imms
aeba140c75
Merge pull request #4204 from silamon/proposedApiCheck
...
Remove check proposed api checks
2022-10-15 08:04:12 -07:00
Daniel Imms
aea7680f76
Merge pull request #4205 from Tyriar/triangle_strip
...
Draw quads with triangle strip
2022-10-15 08:02:07 -07:00
Daniel Imms
fb4a4e6127
Draw quads with triangle strip
...
This reduces the number of needed vertices from 6 to 4, it may not have a
noticeable performance impact but it's less data and simpler
2022-10-15 07:54:31 -07:00
Simon Lamon
cc82f605fe
delete clean up
2022-10-15 10:47:59 +00:00
Simon Lamon
a055948937
unsentOutput instead of logs and dispose temporary listener
2022-10-15 10:45:23 +00:00
Simon Lamon
8246440795
Merge branch 'master' into fixmissingline
2022-10-15 10:11:40 +00:00
Simon Lamon
073aa6d439
Fix test "Proposed API check"
2022-10-15 10:25:39 +02:00
Simon Lamon
6bbe5a82a8
Remove check proposed api checks
2022-10-15 07:28:21 +00:00
Daniel Imms
1e6dfec4ae
Merge pull request #4201 from Tyriar/4197_2
...
Remove clipImageData completely
2022-10-13 06:34:37 -07:00
Daniel Imms
5285b9ac45
Merge branch 'master' into 4197_2
2022-10-13 06:25:59 -07:00
Daniel Imms
50d1834871
Remove clipImageData completely
...
putImageData works a little differently to drawImage which confused me
for a bit, you need to offset the destination as putImageData draws the
'dirty' parts of the texture using the same source image dimensions
Fixes #4197
2022-10-13 06:25:13 -07:00
Daniel Imms
b1f785879b
Merge pull request #4200 from Tyriar/4197
...
Optimize _clipImageData
2022-10-12 10:24:28 -07:00
Daniel Imms
28fcffe46c
Optimize _clipImageData
...
This makes clip image data around twice as fast, it's a little tricky to
measure it though. Changes:
- Work on Uint32Array instead of Uint8 so it's 1 assignment per pixel
instead of 1 per channel.
- Perform the clipping in-place using the original image data to avoid
allocation a new buffer.
Fixes #4197
2022-10-12 10:16:26 -07:00
Daniel Imms
1b13127f0b
Merge pull request #4195 from Tyriar/4190
...
Create onSpecificOptionChange and onMultipleOptionChange helpers
2022-10-09 11:04:59 -07:00
Daniel Imms
a37ea14d10
Use options service in renderers
2022-10-09 10:57:49 -07:00