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
Daniel Imms
a9662e8b7b
Avoid using global document, add copyright
...
Fixes #4611
2023-07-29 14:38:56 -07:00
Jörg Breitbart
664a110fd1
Merge branch 'master' into faster_dom
2023-07-29 18:07:47 +02:00
Jörg Breitbart
3b5044b55b
readd doc notes on link underline handling
2023-07-29 17:54:14 +02:00
Jörg Breitbart
e848151b50
change to width cache
2023-07-29 17:25:49 +02:00
Jörg Breitbart
91197bd1aa
disable font kerning
2023-07-29 15:37:01 +02:00
Jörg Breitbart
d1fdaa17d6
apply font variant, some cleanup
2023-07-29 14:16:47 +02:00
Jörg Breitbart
5bdd5022b2
some cleanup, use faster str join for classes
2023-07-28 19:33:38 +02:00
Jörg Breitbart
370bad1380
better caching:
...
- own cache class with flat and holey cache
- use letter spacing
- on-demand measuring
2023-07-28 18:36:01 +02:00
Simon Siefke
5f80fe00d5
fix: use replacesync instead of replace
2023-07-27 18:33:30 +02:00
Simon Siefke
b225b9a710
fix eslint
2023-07-27 17:39:15 +02:00
Simon Siefke
1c0a25d01b
feature: use constructed style sheets for dom render so that it works with csp style-src 'self'
2023-07-27 13:08:22 +02:00
Jörg Breitbart
a5df5e7333
first unit tests
2023-07-27 11:25:57 +02:00
Jörg Breitbart
4bd3e1d0c2
remove magic numbers
2023-07-25 13:19:08 +02:00
Jörg Breitbart
ad145541af
exclude bold&italic variants from merge, limit glyph calc to latin + latin supplement
2023-07-25 12:47:35 +02:00
Jörg Breitbart
37153018b9
fix BCE
2023-07-24 16:06:19 +02:00
Jörg Breitbart
097879b839
faster metrics calc
2023-07-23 23:36:25 +02:00
Jörg Breitbart
521dc915dc
fix weblink tests
2023-07-23 12:36:15 +02:00
Jörg Breitbart
5ea669f091
batch metrics calc
2023-07-23 00:08:40 +02:00
Jörg Breitbart
aa6e8d91c2
cleanup
2023-07-22 22:50:05 +02:00
Jörg Breitbart
089dc282c3
fix hover underline
2023-07-22 22:18:12 +02:00
Jörg Breitbart
329b465a63
fix SP for underline/overline
2023-07-22 16:53:13 +02:00
Jörg Breitbart
6785dc19ab
exclude combined from merge, fix linter
2023-07-22 16:32:01 +02:00
Jörg Breitbart
c515cc2823
fix ext underline handling
2023-07-22 16:20:47 +02:00
Jörg Breitbart
848f89e8a7
fix char under cursor
2023-07-22 15:24:50 +02:00
Jörg Breitbart
bd7f76190c
fix superfluous selection.refresh calls
2023-07-22 15:12:37 +02:00
Jörg Breitbart
514afcd445
fix bad runtime of merger
2023-07-22 13:29:26 +02:00
Jörg Breitbart
3e13abf974
fix selection handling
2023-07-22 13:01:53 +02:00
Jörg Breitbart
4cfe32f626
make linter happy
2023-07-22 11:08:51 +02:00
Jörg Breitbart
f36954764d
faster DOM updates
2023-07-22 11:00:12 +02:00
David Lechner
96634298e4
use border-bottom instead of box-shadow for underline cursor
...
In rare cases, box-shadow can cause aliasing artifacts on the top and
sides of the cursor box when only the bottom should be filled in to
create an underline.
This replaces the box-shadow style with border-bottom which should be
pixel perfect in all cases.
Fixes: https://github.com/xtermjs/xterm.js/issues/4580
2023-07-05 16:48:42 +00:00
Jörg Breitbart
90ccc815cb
more verbose comments to get the idea of the code
2023-06-05 12:23:56 +02:00
Jörg Breitbart
8de7bd5850
rename lneX to maxY
2023-06-04 21:11:55 +02:00
Jörg Breitbart
9fed8e2a3a
defensive underline event coords handling in DOM renderer
2023-06-04 21:06:26 +02: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
7194223696
Merge pull request #4508 from Tyriar/4507_zalgo
...
Disallow glyphs to exceed atlas texture size
2023-05-09 07:44:34 -07:00
Daniel Imms
8c9e44c219
Disallow glyphs to exceed atlas texture size
...
Fixes #4507
2023-05-09 07:35:41 -07:00
Daniel Imms
854e2736f6
Move inject into _handleOptionsChanged
2023-05-07 06:27:56 -07:00
Kelvin
2a9ec8fd1d
Re-render browser DOM style onOptionsChanged, fixes xtermjs#4474
...
Fixes https://github.com/xtermjs/xterm.js/issues/4474
2023-04-11 13:43:32 -04:00
Starwort
f0edc1b613
Fix #4450
2023-03-27 09:56:17 +01:00
tisilent
e1d852c86a
Adjust DomRenderer cursor style
2023-03-22 21:09:28 +08:00