Commit Graph
792 Commits
Author SHA1 Message Date
Daniel Imms eb93b02c6c Use debug log level to avoid polluting embedder logs 2022-07-29 11:24:23 -07:00
Daniel Imms f8a9eb1db6 Support fallback ligatures and correctly dispose of char joiner 2022-07-29 10:18:21 -07:00
Daniel Imms df14ce49d7 Merge pull request #3936 from Tyriar/ligatures
Get ligatures addon working with latest version of Chrome
2022-07-29 07:33:49 -07:00
Daniel Imms 7f5ed40db1 Merge pull request #3960 from Tyriar/init_options
Make cols/rows only usable in the ctor
2022-07-29 07:20:51 -07:00
Daniel Imms 055bcce18d Remove instantiation service from canvas addon completely 2022-07-28 11:31:51 -07:00
Daniel Imms 006249ce65 Make cols/rows only usable in the ctor
Fixes #3825
2022-07-28 11:16:12 -07:00
Daniel Imms 60f9bf4398 Merge pull request #3959 from Tyriar/canvas_services
Fix service access in canvas addon
2022-07-28 11:11:08 -07:00
Daniel Imms 9e650cea9f Fix service access in canvas addon 2022-07-28 11:00:08 -07:00
Daniel Imms de78344165 Merge pull request #3919 from SvanT/master
Dispose events
2022-07-28 10:52:09 -07:00
Daniel Imms 04b513cf9b Merge pull request #3926 from Tyriar/rounding
FINALLY fix blurry canvas/webgl renderer issues due to device pixel rounding errors 🎉
2022-07-28 10:25:01 -07:00
Daniel Imms 0b0662c4d9 xterm-addon-canvas@0.1.0 2022-07-28 07:27:27 -07:00
Daniel Imms 9cbd9a0456 Merge pull request #3931 from Tyriar/3930
Never clear color when allowTransparency is on
2022-07-28 07:19:58 -07:00
Daniel Imms 4372d8ccca Merge pull request #3933 from Tyriar/3784
Warn when ligature fonts fail to download
2022-07-28 07:18:52 -07:00
Daniel Imms 8b276c1a54 Merge remote-tracking branch 'upstream/master' into pr/SvanT/3919 2022-07-28 07:04:11 -07:00
Daniel Imms 437c8aac5c Merge remote-tracking branch 'upstream/master' into rounding 2022-07-28 07:00:13 -07:00
Daniel Imms a57b69d5de Merge remote-tracking branch 'upstream/master' into 1963 2022-07-28 06:56:36 -07:00
Daniel Imms 4d542d23c6 Merge branch 'master' into ligatures 2022-07-28 06:50:40 -07:00
Daniel Imms f1ff42410e Merge branch 'master' into 3784 2022-07-28 06:50:32 -07:00
Daniel Imms 1ef9f7c1d1 Merge branch 'master' into 3930 2022-07-28 06:50:26 -07:00
Daniel Imms 520a270afc Update tests to use new getSelectionPosition API 2022-07-28 06:17:44 -07:00
Daniel Imms d1f53e2b02 Replace ISelectionPosition with IBufferRange
Fixes #2480
2022-07-28 05:58:15 -07:00
Daniel Imms e5037a6d1e Fix fit addon api tests on linux+firefox 2022-07-28 05:00:10 -07:00
Daniel Imms 119b64181b Fix fit addon api tests 2022-07-28 04:51:49 -07:00
Daniel Imms c52eb8898f Simplify addon tsconfigs 2022-07-28 04:50:40 -07:00
Daniel Imms ced5c304f1 Move CustomGlyphs.ts into core 2022-07-28 04:46:18 -07:00
Daniel Imms b3cffe2d30 Fix fit addon api tests on linux 2022-07-28 04:43:03 -07:00
Daniel Imms 73b3e31b38 Canvas readme 2022-07-28 04:37:42 -07:00
Daniel Imms cbddd2029e Get canvas renderer addon working 2022-07-27 16:04:24 -07:00
Daniel Imms 48cfd23219 Fix tests that depended on canvas renderer 2022-07-27 10:33:10 -07:00
Daniel Imms 1c6ce99419 Move canvas renderer contents into addon 2022-07-27 10:26:02 -07:00
Daniel Imms ab7da06cc1 Stub canvas addon 2022-07-27 09:26:52 -07:00
Daniel Imms 440ab765c4 Remove rendererType setting 2022-07-27 09:22:05 -07:00
Daniel Imms 5a658ebfcc Remove remaining link hover tooltip duration 2022-07-27 08:45:32 -07:00
Daniel Imms 140073675c Merge pull request #3945 from Tyriar/v5_proposed_api
Set allowProposedApi default to false
2022-07-27 08:29:08 -07:00
Daniel Imms 238a2bafb1 Set allowProposedApi default to false
Fixes #2826
2022-07-27 08:20:54 -07:00
Daniel Imms 7a17a26e18 Remove link matchers
Fixes #2703
2022-07-27 06:49:35 -07:00
Svante Boberg 078b83fcaf Use disposal registration 2022-07-27 14:24:42 +02:00
Svante Boberg c895f67fd8 Add missing webgl cursor blink disposal
Same disposal code as the non-webgl cursor blink layer
2022-07-27 00:00:41 +02:00
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 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
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