Commit Graph
7646 Commits
Author SHA1 Message Date
Daniel Imms 324ea2ecb7 Clean up/resolve todos 2022-05-11 09:54:40 -07:00
Daniel Imms 999f255893 Fix sorted list edge case 2022-05-11 09:49:23 -07:00
Daniel Imms 931ee9e89e Maintain decorations sorted by line 2022-05-11 09:34:51 -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 edba006045 Clear all decorations on reset 2022-05-10 12:32:06 -07:00
Daniel Imms 6b4df216d3 Remove unneeded code 2022-05-10 12:08:42 -07:00
Daniel Imms f502f55ae1 Merge branch 'master' into bg_decorations 2022-05-10 11:50:01 -07:00
Daniel Imms afe1d7ed6f Fix webgl contrast tests since a bug in luminance was fixed 2022-05-10 11:48:37 -07:00
Daniel Imms 1628795557 Fix fg/bg flags being set by negative ints 2022-05-10 09:42:12 -07:00
Daniel Imms e9643f5936 Ensure texture atlas isn't for overrides used in canvas renderer 2022-05-10 09:24:09 -07:00
Daniel Imms ba61509fdd Remove react to changes idea 2022-05-10 06:20:48 -07:00
Daniel Imms a67e7286d3 Use correct row for override in webgl renderer 2022-05-10 06:16:32 -07:00
Daniel Imms b85f5aacd6 Use correct row for override in canvas renderer 2022-05-10 06:14:53 -07:00
Daniel Imms de574a27fc Full re-render when there are decoration changes 2022-05-10 05:44:00 -07:00
Daniel Imms 7c87f5b47a Start to use new API in search addon 2022-05-10 05:31:49 -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
Daniel Imms 714d4b1cd6 Fix fg color when there is a decoration override in canvas renderer 2022-05-10 04:06:06 -07:00
Daniel Imms 9f1db12b1b bg/fg decorations mostly working in canvas renderer 2022-05-09 16:19:58 -07:00
Megan Rogge 56c7c5c4ed check if undefined instead of index directly to fix search addon issue (#3767) 2022-05-09 15:55:33 -07:00
Daniel Imms 13abd2aa96 Support min contrast ratio in decoration fg/bg 2022-05-09 15:39:02 -07:00
Daniel Imms 10598462d0 Fix color channel used by luminance functions 2022-05-09 15:36:54 -07:00
Daniel Imms 0c6877f46f Move color to common, work with IColor
IColor is needed for the minimum contrast ratio function currently.
2022-05-09 14:00:39 -07:00
Daniel Imms 0c4ee0db65 Merge pull request #3769 from Tyriar/145751
Only create decoration elements when they are actually rendered
2022-05-09 12:45:19 -07:00
Daniel Imms 5d09d3b217 Merge pull request #3768 from Tyriar/clean_up
Correct param names/jsdoc in SearchAddon
2022-05-09 12:45:03 -07:00
Daniel Imms 63eb9a4555 Initial bg/fg renderer decoration proof of concept
Part of #3770
2022-05-09 12:44:51 -07:00
Daniel Imms b7c0332626 Only create decoration elements when they are actually rendered
Part of microsoft/vscode#145751
2022-05-09 10:52:18 -07:00
Daniel Imms 95979c4a7d Correct param names/jsdoc in SearchAddon 2022-05-09 10:34:40 -07:00
Daniel Imms 85e0625078 Merge pull request #3761 from Tyriar/vscode148685
Send ctrl modifier in page up/down sequence
2022-05-06 07:45:43 -07:00
Daniel Imms 873e3745ec Send ctrl modifier in page up/down sequence
Part of microsoft/vscode#148685
2022-05-06 07:36:22 -07:00
Megan Rogge 218745ab85 refine name for clearDecorations param (#3757) 2022-05-02 14:20:25 -07:00
Megan Rogge 1687d06f1c use correct powerline glyph range (#3756) 2022-05-02 20:50:11 +00:00
jerch 261209cab6 Merge pull request #3754 from xtermjs/dependabot/npm_and_yarn/ansi-regex-5.0.1
Bump ansi-regex from 5.0.0 to 5.0.1
2022-05-01 18:45:27 +02:00
dependabot[bot] bb55cd2881 Bump ansi-regex from 5.0.0 to 5.0.1
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-01 16:05:46 +00:00
jerch 7b38283db0 Merge pull request #3753 from jerch/fix_deps_warning
update benchmark version to silence vulnerability warning
2022-05-01 18:03:36 +02:00
Jörg Breitbart 908e84a1f8 update benchmark version to silence vul warning 2022-05-01 17:55:04 +02:00
Megan Rogge 656912c934 on data/ buffer change, update the match count (#3752) 2022-04-27 19:10:00 +00:00
Megan Rogge 7fa32af051 clear cachedSearchTerm when decorations are cleared (#3750) 2022-04-27 18:20:00 +00:00
Megan Rogge fa92e6074d search fixes (#3748) 2022-04-26 15:45:30 -07:00
Megan Rogge 239f669041 add max find result count for which to show decorations (#3745) 2022-04-21 16:04:08 -07:00
Megan Rogge da33543ffb align isPowerlineGlyph across renderers (#3743) 2022-04-20 14:25:46 -07:00
Megan Rogge 38f0dd9be2 apply to dom and webgl too (#3742) 2022-04-19 18:46:39 -07:00
Megan Rogge 6d801311cd exclude powerline char range from contrast demands (#3740) 2022-04-19 15:23:26 -07:00
Megan Rogge 3bd37115d1 queue refresh when deco is removed (#3738) 2022-04-19 08:49:16 -07:00
Megan Rogge 0785a1bf24 fix #3735 (#3736) 2022-04-19 08:25:17 -07:00
Megan Rogge e98b6315e4 always update overview ruler decorations (#3733) 2022-04-13 18:19:22 +00:00
Megan Rogge 85b5161380 don't return if results are the same bc color might have changed (#3731) 2022-04-08 21:07:46 +00:00
Megan Rogge 2b916a24aa get overview ruler to update when color is changed (#3730) 2022-04-08 13:35:55 -07:00