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
Per Bothner
957e3e0f08
Fix bug in selection handling in dom renderer
2023-08-16 15:34:35 -07:00
Daniel Imms
843bdc4d55
Revert "Merge pull request #4611 from SimonSiefke/constructed-stylesheets"
...
This reverts commit 5889344dd2 , reversing
changes made to 679c149164 .
2023-08-15 08:33:42 -07:00
Daniel Imms
2aee19f0e1
Revert "Workaround crash that can happen in Electron/Chromium"
...
This reverts commit 2ca0ccbe0c .
2023-08-15 08:31:34 -07:00
Daniel Imms
2ca0ccbe0c
Workaround crash that can happen in Electron/Chromium
...
Part of microsoft/vscode#189753
2023-08-15 06:46:35 -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
Daniel Imms
09fc798e80
Remove redundant condition
...
Part of #4097
2023-08-14 05:47:25 -07:00
Daniel Imms
39ae0f45fd
Fix selectionForeground dom tests
2023-08-14 04:43:55 -07:00
dennnnny
855e911398
Fix transparent foreground color
2023-08-14 09:49:18 +08:00
Daniel Imms
73a77cda3d
DOM: Render selection color instead of cell bg
...
Summary:
- Selection cell reuse has been added to the DOM renderer
- Selection bg override is now correctly set correctly
- Selection elements 'pretend' to be a decoration in order to render bg
Fixes #4097
2023-08-13 13:56:51 -07: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
dc390ab03a
Merge pull request #4657 from tisilent/add-cursorInactiveStyle-option
...
Add cursorInactiveStyle option
2023-08-11 13:16:51 -07: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
c3d8c2a919
Update test and fix
2023-08-11 15:47:50 +08:00
tisilent
5c1e6dce99
Add block to cursorInactiveStyle,
...
change line to bar
2023-08-11 11:36:40 +08:00
tisilent
0321bcb715
Remove special classes.
...
Add xterm-cursor-outline class.
2023-08-11 09:40:06 +08:00
tisilent
482dad3036
Add cursorInactiveStyle option
2023-08-10 16:11:04 +08:00
jerch
0366aa2217
Merge branch 'master' into fix_4642
2023-08-10 00:24:03 +02:00
Jörg Breitbart
a84a95055d
exclude decorated cells from merging
2023-08-09 14:20:08 +02: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
Jörg Breitbart
b7a597f925
use offsetWidth for measuring
2023-08-01 19:53:41 +02:00
Jörg Breitbart
ae84ee39f3
Merge branch 'master' into faster_dom
2023-08-01 19:21:30 +02:00
jerch
73e60586c9
Merge pull request #4584 from dlech/fix-underline-style
...
use border-bottom instead of box-shadow for underline cursor in DOM renderer
2023-08-01 19:15:41 +02:00
Jörg Breitbart
b56bc77dcc
make font variant positions explicit with const enum
2023-08-01 18:35:48 +02:00
Jörg Breitbart
32a852c0bf
remove private binding of document in width cache ctor
2023-08-01 18:30:06 +02:00
Jörg Breitbart
40e622dfc8
change comment format
2023-08-01 18:29:00 +02:00
Jörg Breitbart
b770431102
Merge branch 'master' into faster_dom
2023-08-01 18:18:31 +02: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
Jörg Breitbart
f407f0c5a6
unit tests
2023-07-31 21:24:39 +02:00
Jörg Breitbart
c79aa542c9
cache optimizations
2023-07-31 20:07:40 +02:00
Jörg Breitbart
c796514de8
apply weight settings in width cache
2023-07-31 16:49:58 +02:00
Jörg Breitbart
702c3578a3
re-add explicit span stylesheet
2023-07-30 19:03:54 +02:00
Jörg Breitbart
0eecf8187d
Merge branch 'faster_dom' of github.com:jerch/xterm.js into faster_dom
2023-07-30 18:46:49 +02:00
Jörg Breitbart
e9058b7498
implement default letter spacing
2023-07-30 18:46:33 +02:00
jerch
8562635231
Merge branch 'master' into faster_dom
2023-07-30 13:37:45 +02:00
Jörg Breitbart
b358754b46
respect dpr/charWidth changes, more accurate base measuring
2023-07-30 13:27:28 +02:00
Jörg Breitbart
64d04f0712
optimization: remove document fragment
2023-07-29 23:58:15 +02:00