Commit Graph
838 Commits
Author SHA1 Message Date
Daniel Imms d608912efd Remove electron renderer target
This causes global to be required which is not available in sandboxed electron
renderers

See microsoft/vscode#157008
2022-08-04 06:20:45 -07:00
Daniel Imms 76d9d5a324 Bump all peer deps to v5
Fixes #3997
2022-08-03 09:45:23 -07:00
Daniel Imms 39959c2861 Don't dim default bg in webgl
Fixes #3970
2022-07-31 15:39:34 -07:00
Daniel Imms 1ede106ab4 Fix powerlines not clipped when bg changes 2022-07-31 12:05:20 -07:00
Daniel Imms e7e71dbd3c Merge remote-tracking branch 'upstream/master' into 3969 2022-07-31 11:35:47 -07:00
Daniel Imms d6fe5c7384 Update size when letter spacing changes 2022-07-31 11:21:27 -07:00
Daniel Imms 75ca5006a2 Expose texture atlas change event and use in demo 2022-07-31 11:16:12 -07:00
Daniel Imms 266d795179 Fix line height and letter spacing for custom glyphs 2022-07-31 10:58:04 -07:00
Daniel Imms 889e3ad14b Merge pull request #3980 from Tyriar/3971
Fix underline color and polish width and positioning
2022-07-30 23:50:20 -07:00
Daniel Imms 8d57c64d29 Include purpose of canvas addon in readme
Fixes #3978
2022-07-30 23:48:37 -07:00
Daniel Imms bbd03fb5fe Merge pull request #3976 from Tyriar/clip_underline
Clip outline drawing near underline
2022-07-30 23:43:42 -07:00
Daniel Imms f4618b229f Bring underlines closer to characters 2022-07-30 23:30:52 -07:00
Daniel Imms 686105942c Reduce line width of webgl underline 2022-07-30 23:25:18 -07:00
Daniel Imms 04a14a748e Merge pull request #3979 from Tyriar/3977
Implement improved texture packing strategy
2022-07-30 22:58:12 -07:00
Daniel Imms ed492f7253 Implement improved texture packing strategy
Fixes #3977
2022-07-30 19:24:09 -07:00
Daniel Imms ce4a85d07d Clip outline drawing near underline
Fixes #3975
2022-07-30 17:52:00 -07:00
Daniel Imms 309487a020 Fix character offset to respect texture padding in webgl
Fixes #3974
2022-07-30 11:07:33 -07:00
Daniel Imms c7122e8447 Fix dim flag applying to selection in webgl
Fixes #3970
2022-07-30 10:29:41 -07:00
Daniel Imms f0ddaf49ea Disable threshold check for glyphs with colored underlines
This causes some underlines to disappear which looks very bad for
colored underlines
2022-07-30 07:36:48 -07:00
Daniel Imms d0ec9f2591 Support letter spacing in webgl 2022-07-30 07:05:05 -07:00
Daniel Imms 941cc5100d Increase curly height when dpr <= 1 2022-07-30 06:56:32 -07:00
Daniel Imms e0d4384d3c Merge branch 'master' into underline 2022-07-30 06:40:41 -07:00
Daniel Imms ff33834eb2 Merge branch 'master' into inactiveSelection 2022-07-29 14:51:22 -07:00
Daniel Imms a2e07de90c Merge pull request #3963 from Tyriar/fallback_ligatures
Support fallback ligatures and correctly dispose of char joiner
2022-07-29 14:51:00 -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 7f58c48503 Fix tests as errors are no longer thrown on font access fail 2022-07-29 11:27:23 -07:00
Daniel Imms eb93b02c6c Use debug log level to avoid polluting embedder logs 2022-07-29 11:24:23 -07:00
Daniel Imms 53e4e9ad72 Inactive selection bg in canvas 2022-07-29 11:20:32 -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 6493679b2e Inactive selection bg in dom renderer
Part of #3803
2022-07-29 11:00:36 -07:00
Daniel Imms 906a6fc558 Rename test selection -> selectionBackground 2022-07-29 10:35:48 -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 1fe0ec8d2c Merge branch 'master' into underline 2022-07-29 10:19:52 -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 d2be5f992a Merge remote-tracking branch 'upstream/master' into underline 2022-07-28 07:01:41 -07:00
Daniel Imms 437c8aac5c Merge remote-tracking branch 'upstream/master' into rounding 2022-07-28 07:00:13 -07:00