Daniel Imms
6214f4c2e6
Varinat -> Variant
2023-11-02 10:43:56 -07:00
Daniel Imms
390e4f30c8
Merge remote-tracking branch 'upstream/master' into pr/tisilent/4703
2023-11-02 10:39:15 -07:00
Daniel Imms
b6a09d67e2
Merge remote-tracking branch 'upstream/master' into pr/tisilent/4837
2023-11-02 09:30:17 -07:00
Daniel Imms
bb9728ccd1
from xterm -> from scoped
2023-11-01 06:50:08 -07:00
Daniel Imms
c80453f602
Use correct document when creating elements
2023-10-16 11:09:36 -07:00
tisilent
eb4277e7bd
using ITerminal
2023-10-16 09:35:21 +08:00
tisilent
6b5fc260ca
Dom Renderer using SelectionRenderModel
2023-10-10 22:53:01 +08:00
Daniel Imms
bfa6f656ef
Merge branch 'master' into underline-dotted
2023-09-11 08:47:04 -07:00
Daniel Imms
851c2e39af
Fix webgl not respecting MCR for inverse
...
Part of #4759
2023-09-09 08:37:55 -07:00
YAYA 刘玉婷
7fa56fde0b
Merge branch 'master' into underline-dotted
2023-09-01 14:12:01 +08:00
Daniel Imms
f7ac0d878b
Center new semi-circle line glyphs
2023-08-28 02:20:31 -07:00
Daniel Imms
fe2723b585
Merge branch 'master' into circle-line-custom-powerline-glyph
2023-08-28 02:13:56 -07:00
tisilent
7fecec6599
Offset outward
2023-08-28 16:54:27 +08:00
Daniel Imms
aba16687b0
Fix high pressure texture atlas corruption
...
The corruption was caused by confusion with page indexes when
merging pages. The fix is to simplify it by deleting all pages
and then just adding the new page.
Fixes #4534
Fixes #4351
2023-08-26 10:23:09 -07:00
Daniel Imms
797a71695f
Improve texture atlas utilization
...
- Changed the threshold at which pages start to merge from MAX/2 to
MAX.
- If a glyph is about to create a new page that will be merged,
check if the existing row fits when ignoring the row pixel
threshold. This will improve texture utilization by using the
available space before the page is merged and becomes static.
2023-08-26 09:37:08 -07:00
tisilent
9e768a4c7c
Update circle line custom powerline glyph.
2023-08-25 18:37:48 +08:00
tisilent
bec1642123
Modify variantOffset calculation logic
2023-08-25 14:17:36 +08:00
xie jialong 努力鸭 and Daniel Imms
08f7b4c53c
Update src/browser/renderer/shared/CellColorResolver.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2023-08-25 10:34:31 +08:00
xie jialong 努力鸭 and Daniel Imms
d15abd7f28
Update src/browser/renderer/shared/CellColorResolver.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2023-08-25 10:33:22 +08:00
tisilent
6ace416224
Add license header
2023-08-24 15:55:24 +08:00
tisilent
52c87bc8b3
Add tests for computeVarinatOffset
2023-08-24 14:46:30 +08:00
tisilent
edfacbb5c6
Adjusting the execution process
2023-08-24 11:54:18 +08:00
tisilent
564371eae7
Clean unused member
2023-08-24 11:38:51 +08:00
tisilent
e09ed98cf1
Merge branch 'underline-dotted' of https://github.com/tisilent/xterm.js into underline-dotted
2023-08-24 11:05:05 +08:00
tisilent
2b0106f7e2
Logic move to CellColorResolver
2023-08-24 10:57:05 +08:00
Daniel Imms
f5d128b0d5
Merge remote-tracking branch 'upstream/master' into pr/tisilent/4703
2023-08-23 05:02:07 -07:00
Daniel Imms
921da1a2ea
Ignore no-unused-vars in .api, organize all remaining imports
2023-08-23 04:47:53 -07:00
tisilent
c81dfee43c
Using ext to store variants.
2023-08-21 20:54:16 +08:00
tisilent
32da1d81d5
Use variants for underline dotted.
...
webgl
2023-08-21 19:09:02 +08:00
Daniel Imms
0b54c9a5d6
Add trace log level, traceCall decorator and use in webgl
...
- New 'trace' log level in the API, you should expect very spammy logs when
trace is on and filter them down. As opposed to 'debug' which should be more
readable.
- traceCall decorator logs the args and return value of the decorated method.
Wecan use this on key functions in various parts of the code to assist
debugging issues that are hard to reproduce such as #4665 .
- Decorated a few webgl render methods for #4665 .
- There's an early exit in traceCall when not on the trace log level so the
runtime impact when not in trace is negligable.
Part of #4665
2023-08-18 11:04:23 -07:00
Daniel Imms
c908eeed5c
Merge pull request #4667 from Dennnnny/fix-transparent-foreground-color
...
Fix transparent foreground color
2023-08-14 12:11:04 -07:00
dennnnny
855e911398
Fix transparent foreground color
2023-08-14 09:49:18 +08:00
Daniel Imms
1cef30cca0
Enforce half minimum contrast ratio for dim text
...
Provided MCR is not too high, this ensures dim text differs from normal
text and has a reasonable difference in contrast.
Fixes #4262
2023-08-13 11:27:57 -07:00
dennnnny
bef87403db
Fix force transparent foreground colors to be opaque
2023-08-13 17:52:49 +08:00
Daniel Imms
530f758905
Restrict comments to 100 characters
...
This is a rule I try enforce in PR but it's a bit of a hassle, this will
give a lint warning when it happens resulting in:
- Yellow underline in supported editors when eslint is installed
- Compilation will succeed since it's a warning not an error
- CI will fail as it does not allow lint warnings
Special case comments are ignored which includes @vt comments, table
comments and commented out code.
2023-08-12 09:04:41 -07:00
dennnnny
fb7349bc87
Fix transparent foreground color
2023-08-12 08:39:39 +08:00
Daniel Imms
07d187151e
Update src/browser/renderer/shared/TextureAtlas.ts
2023-08-11 09:50:22 -07:00
tisilent
f317b96262
Fix canvas underline is cut off.
2023-08-11 17:58:29 +08:00
tisilent
b8bf35be17
Add restrictToCellHeight,Restore abnormal format
2023-08-09 11:53:30 +08:00
tisilent
3ba579f680
fix double underline, upwards
2023-08-08 18:36:44 +08:00
Daniel Imms
6b33ac1e85
Share cursor blink state manager between canvas and webgl
...
This also focused the manager's creation on renderer start up, to ensure blink
works immediately.
2023-08-01 06:13:21 -07:00
Daniel Imms
cdec1e5b03
Merge pull request #4526 from Tyriar/4499_overline
...
Add support for SGR 53 overline and SGR 55 not overline
2023-05-20 14:21:22 -07:00
Daniel Imms
eb56356133
Don't dodge overline, simplify drawing
2023-05-20 10:04:14 -07:00
Daniel Imms
2bfd95fe54
Add support for SGR 53, 55 overline
...
Specced in ECMA-48
2023-05-20 09:56:56 -07:00
Daniel Imms
e9b0593298
Merge pull request #4525 from Tyriar/4161_dim
...
Don't apply dim to background color
2023-05-20 09:43:16 -07:00
Daniel Imms
539fed4daa
Don't apply dim to background color
...
Fixes #4161
2023-05-20 08:13:50 -07:00
Daniel Imms
8c9e44c219
Disallow glyphs to exceed atlas texture size
...
Fixes #4507
2023-05-09 07:35:41 -07:00
Starwort
f0edc1b613
Fix #4450
2023-03-27 09:56:17 +01:00
Daniel Imms
56734874ac
Include right part of wide char in underline gap
...
Fixes #4096
2022-12-24 07:30:26 -08:00
Daniel Imms
d17df65fad
Improve rendering of dotted underlines
...
Fixes #4060
2022-12-23 14:04:12 -08:00