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
Daniel Imms
4ac8e4ca51
Remove reliance on core in some webgl parts
2022-07-29 11:09:19 -07:00
Daniel Imms
954d9371a1
Inactive selection in webgl
2022-07-29 11:05:41 -07:00
Daniel Imms
9cb25fbf06
Rename ITheme.selection to selectionBackground
...
This makes it consistent with selectionForeground and other theme keys and
as a result will make the API easier to work with, especially when inactive
selection is done (#3803 )
2022-07-29 10:34:27 -07:00
Daniel Imms
48142eca23
Merge branch 'master' into tyriar/dim_bg
2022-07-29 10:20:22 -07:00
Daniel Imms
437c8aac5c
Merge remote-tracking branch 'upstream/master' into rounding
2022-07-28 07:00:13 -07:00
Daniel Imms
84b259dfa5
Merge remote-tracking branch 'upstream/master' into tyriar/dim_bg
2022-07-28 06:57:27 -07:00
Daniel Imms
ee2e54487d
Fix inverse dim for webgl
...
Fixes #3534
2022-07-24 13:13:26 -07:00
Daniel Imms
f4ffb13ece
Render dim bg in all renderers
...
Fixes #3534
2022-07-24 10:59:24 -07:00
Daniel Imms
47b1fdd147
Refactor to share observeDevicePixelDimensions
2022-07-24 04:09:34 -07:00
Daniel Imms
ad8404417e
ts-loader update, correct css cell dimension error
2022-07-24 03:57:22 -07:00
Daniel Imms
e25471361f
Fix device pixel value in canvas renderer
2022-07-24 03:41:25 -07:00
Daniel Imms
cb10aadb06
Fix device pixel rounding errors in webgl renderer
...
This uses the ResizeObserver devicePixelContentBoxSize API in order to
fetch the exact device pixel dimensions from the browser. The old
possibly blurry behavior is used as a fallback if that API is not
available.
Part of #2662
Part of microsoft/vscode#85154
2022-07-24 03:31:05 -07:00
Svante Boberg
92855ba399
Remove terminal from cache on disposal
2022-07-22 13:03:07 +02:00
Daniel Imms
5e8133b4be
Clip pixels to left of cell when background color changes
...
Fixes #3877
2022-07-10 06:54:39 -07:00
Daniel Imms
9f3e3f1700
Comment change to trigger webgl release
2022-07-08 12:53:25 -07:00
Daniel Imms
54cbbf600d
Dispose of webgl resources properly
...
Fixes #3889
2022-07-06 07:32:42 -07:00
Daniel Imms
efb939d171
Fix column selection issues
...
The following parts were not respecting the column selection edge case where the
start column was greater than the end column while the start row was less than the
end row:
- Webgl renderer
- DOM renderer
- Selection service (ie. getSelection(), I don't think this was a
regression)
Fixes #3855
2022-06-14 06:51:54 -07:00
Daniel Imms
59e1bddb6e
Merge branch 'master' into 3810
2022-05-17 11:43:06 -07:00
Daniel Imms
f9bd0b8fed
Fix setting selection foreground on webgl
2022-05-17 11:39:14 -07:00
Daniel Imms
c502272373
Support selection foreground in webgl
...
Part of #3810
2022-05-16 09:40:07 -07:00
Daniel Imms
d7fb0141d2
Whitespace change to trigger build
...
The fix for #3720 didn't touch any file in the webgl addon so it didn't end
up releasing.
2022-05-13 12:32:17 -07:00
Daniel Imms
7b4423819e
Support setting the layer of a decoration
...
Fixes #3778
2022-05-12 10:51:11 -07:00
Daniel Imms
181fb1cfe5
Remove selection-specific render pass, use bg overrides instead
...
Part of #3778
2022-05-11 11:46:44 -07:00
Daniel Imms
999f255893
Fix sorted list edge case
2022-05-11 09:49:23 -07:00
Daniel Imms
c0b4edaf31
Reduce duplicate with getDecorationsAtCell method
2022-05-11 08:37:42 -07:00
Daniel Imms
abdce874db
Fix cases where only one override was with tests
2022-05-11 08:31:09 -07:00
Daniel Imms
6b4df216d3
Remove unneeded code
2022-05-10 12:08:42 -07:00
Daniel Imms
1628795557
Fix fg/bg flags being set by negative ints
2022-05-10 09:42:12 -07:00
Daniel Imms
a67e7286d3
Use correct row for override in webgl renderer
2022-05-10 06:16:32 -07:00
Daniel Imms
0a26cee08b
Pull override color logic into a function
2022-05-10 05:06:20 -07:00
Daniel Imms
40716b8ca5
Consolidate override logic into model/WebglRenderer
2022-05-10 05:00:52 -07:00
Daniel Imms
d29388394c
Get Webgl rendering fg/bg overrides
2022-05-10 04:53:31 -07:00
儿时
1e8901630c
Replace all getOption/setOption usage with options
2022-03-02 11:25:20 +08:00
Daniel Imms
fea1079b1e
Force clear of the glyph renderer when switching
...
Fixes #3617
2022-02-03 08:33:22 -08:00
Megan Rogge
d6e828a2f3
fix merge conflict
2021-10-21 10:44:21 -07:00
Megan Rogge
2445f35a32
Merge branch 'master' into cursor-blink
2021-10-21 12:37:38 -05:00
Megan Rogge and Daniel Imms
d2bcbc73d3
fixes #3517
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2021-10-21 10:33:22 -07:00
meganrogge
199e477349
3 -> 1 line
2021-09-01 13:45:49 -07:00
meganrogge
3c8f600c57
fix #3348
2021-09-01 11:27:14 -07:00
Daniel Imms
0aaa20f873
Start of webgl integration
2021-08-18 07:31:35 -07:00
Daniel Imms
c1b4f4edb1
Fix webgl access of core service
2021-08-17 04:41:44 -07:00
coderaiser
d046e2a77f
chore: lint using putout
2021-05-15 01:17:17 +03:00
Daniel Imms
00fa7bec42
Null out secondary ligature chars in cache
2021-04-02 11:32:02 -07:00
Daniel Imms
b03a25f4c7
Webgl ligature support
...
Fixes #3094
2021-04-02 11:15:57 -07:00
meganrogge
b1877b4dc7
onRecoverContext -> onContextLoss
2021-04-01 13:32:35 -07:00
meganrogge
fa7889cdd0
add onRecovercontext event
2021-04-01 12:17:34 -07:00
coderaiser
de791cfb35
chore: lint using putout
2021-03-28 15:27:03 +03:00
jeanp413
ff6d3a0768
Refresh selection on resize as dimensions changed
2021-02-03 01:29:39 -05:00