Commit Graph
1514 Commits
Author SHA1 Message Date
Daniel Imms 5664ff3101 Fix ligature tests in node 2022-07-25 07:42:38 -07:00
Daniel Imms 78ddb4b14a Add link to font access api change 2022-07-25 07:00:58 -07:00
Daniel Imms 4744ef34b2 Remove unneeded comment 2022-07-24 20:44:06 -07:00
Daniel Imms f4bc9f1ecd Pull fonts using latest font access API in Chrome
Part of #958
2022-07-24 19:47:24 -07:00
Daniel Imms 9acc36f8c0 Warn when ligature fonts fail to download
Fixes #3784
2022-07-24 16:52:11 -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 a39c7fb636 Never clear color when allowTransparency is on
It's redundant and wasn't working as expected anyway.

Fixes #3930
2022-07-24 08:31:12 -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
Daniel Imms 4087284822 Fix ext caching issues 2022-07-23 15:19:17 -07:00
Daniel Imms 759a5928a2 Continuous curly underline 2022-07-23 14:48:26 -07:00
Daniel Imms fd8fc18302 Clear stroke around text in underline 2022-07-23 14:28:15 -07:00
Daniel Imms d9703aa7fe Webgl underline color rendering 2022-07-23 11:19:35 -07:00
Daniel Imms 03f15a7fb7 Store extended attributes in single number 2022-07-23 11:12:17 -07:00
Daniel Imms c116fa645c Render underline style on webgl 2022-07-23 08:23:02 -07:00
Daniel Imms 8b4e8199d7 Get underline style affecting webgl rendering 2022-07-23 07:38:34 -07:00
Daniel Imms 34cd5966b9 Webgl 3 key cache map 2022-07-23 07:31:51 -07:00
Svante Boberg 92855ba399 Remove terminal from cache on disposal 2022-07-22 13:03:07 +02:00
Daniel Imms 0fbd980d38 Whitespace to trigger webgl release 2022-07-13 11:44:08 -07:00
Daniel Imms 6b447951f1 Merge pull request #3897 from Tyriar/3892
Clear glyph pixels when all channels differ below a threshold
2022-07-11 12:06:33 -07:00
Daniel Imms ea79194925 Make the clear threshold relative to fg/bg difference 2022-07-10 08:49:09 -07:00
Daniel Imms 89b320a5e2 Clear glyph pixels when all channels differ < 35
Fixes #3892
Also helps with #3877
2022-07-10 07:22:33 -07: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 28ef0c85be Merge pull request #3882 from jerch/fix_3881
fix return type declaration of proposeDimensions
2022-07-01 03:35:07 -07:00
Jörg Breitbart d05cfcd6a7 fix return type declaration of proposeDimensions 2022-07-01 00:22:45 +02:00
Daniel Imms 0a0ebb68b5 v4.19.0 2022-06-29 09:40:07 -07:00
Megan Rogge e77a0ec886 return 0 instead of -1 for no result find count (#3874) 2022-06-27 14:42:46 -04:00
Daniel Imms d24a27d93e Fix clipping of non-powerline chars
See microsoft/vscode#152478
2022-06-17 08:01:10 -07:00
mmis1000 81dce7a4ba Fix typo in serialize addon test 2022-06-17 01:09:50 +08:00
Daniel Imms ddf3f08a6c Merge pull request #3862 from Tyriar/3861
Fix webgl clipping powerline y axis
2022-06-14 18:03:11 -07:00
Daniel Imms 1639c0a031 Fix webgl min contrast ratio api tests
Fixes #3847
2022-06-14 16:45:19 -07:00
Daniel Imms fb950fcbe5 Fix webgl clipping powerline y axis
Fixes #3861
2022-06-14 15:09:00 -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
Megan Rogge 6b16732192 exclude box and block glyphs from contrast ratio demands (#3844) 2022-06-01 17:05:27 -07:00
Daniel Imms 0c0a34d888 Fix search when the search line contains a null character
Fixes #3834
2022-05-26 15:09:01 -07:00
Daniel Imms b5f53b341d Test search event, fix returning -1 for no results
Fixes #3830
2022-05-26 11:37:54 -07:00
Daniel Imms 53f05de3e7 Add selectionForeground webgl unit test 2022-05-17 12:12:01 -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
Megan Rogge a5f2ea336e update search results onBufferContentsChange (#3811) 2022-05-17 10:00:55 -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
Megan Rogge 82a6144fd1 reset search result index when buffer changes/ terminal is resized (#3793) 2022-05-13 08:47:56 -07:00
Daniel Imms 77d5d52e71 Allow styling active result decoration via .xterm-find-active-result-decoration
Fixes #3801
2022-05-13 08:10:35 -07:00
Daniel Imms 5a9f2635d3 Merge branch 'master' into scrollbar-impro 2022-05-13 05:29:57 -07:00