Daniel Imms
71f50b841f
Move webgl-specific types into addon
2025-01-08 10:39:06 -08:00
Daniel Imms
d70f2a462c
Move webgl-specific shared code into addon
...
Never got moved when canvas addon was removed
2025-01-08 10:35:39 -08:00
Daniel Imms
408d0995dd
Support detailed ligatures and variants
...
Fixes #5284
2025-01-08 06:26:15 -08:00
Daniel Imms
a7b98de833
Handle overflowing to new row
2025-01-07 06:28:59 -08:00
Daniel Imms
7541cf2fd7
Add todo
2025-01-06 11:52:20 -08:00
Daniel Imms
e882f4a46a
Prototype of adding a large atlas page for overflow glyphs
...
Part of #5246
2025-01-06 11:50:08 -08:00
Daniel Imms
144bdb5dd0
Move over to vs disposables
2024-07-14 16:19:20 -07:00
Daniel Imms
9c7e2ea98e
Remove IEvent and runAndSubscribe
2024-07-14 08:17:16 -07:00
Daniel Imms
90ff6f3d06
Migrate most EventEmitter to base/ Emitter
2024-07-14 07:41:56 -07:00
Daniel Imms
884141cd8f
Support theming of scroll bar slider
2024-07-10 07:54:39 -07:00
Daniel Imms
9b26bb4436
Support theming of overview ruler border
2024-07-10 07:30:38 -07:00
Daniel Imms
7b2e8a6ce1
Remove src dts files and correct exports
...
Esbuild doesn't appear to play nice with dts files and when they are regular ts
files they require the exports
2024-07-05 06:51:00 -07:00
Joel Hockey
d52f09de3c
Add powerline git, LN, lock symbols
...
Symbols taken from https://github.com/powerline/fontpatcher/blob/develop/fonts/powerline-symbols.sfd
The original symbols use height and widith of approx 1060x2048, so I
modified to be roughly 1000x1000 via:
fontforge -lang=ff -c 'Open($1); SelectAll(); UnlinkReference(); Scale(100, 50); Move(0, 300); Export("svg/%n-%e.svg");' powerline-symbols.sfd
Then I edited by hand to round values to approx 2 significant digits,
and then used a script to convert relative SVG commands such as 'l',
'c', 's' to use only 'M', 'L' and 'C' and used expected format with
comma separators rather than spaces, and divide all values by 1000 to
map into a 1x1 space.
2024-05-12 17:56:38 -07:00
Daniel Imms
4c90009a0e
Don't rescale ascii
...
See microsoft/vscode#208102
2024-03-20 10:02:53 -07:00
Daniel Imms
f8ae7edaa0
Only scale when over 50% of following cell
...
See microsoft/vscode#208102
2024-03-19 08:56:13 -07:00
Daniel Imms
4071f41f52
Don't rescale unless it exceeds 25% of following cell
...
Fixes #5005
2024-03-16 09:16:31 -07:00
Daniel Imms
48c6e96a78
Don't rescale powerline or nerd fonts
...
Part of #4969
2024-03-15 08:18:26 -07:00
Daniel Imms
33a7a9b6a2
Implement rescaleOverlappingGlyphs in webgl
...
Part of #4969
2024-03-14 07:14:13 -07:00
Daniel Imms
3c88c767cd
Fix background selection blending for true color
...
Bug in #4920
See microsoft/vscode#200428
2024-01-30 11:16:19 -08:00
Daniel Imms
1a82e0d421
Remove todo
...
Not much gain by caching the value
2023-12-28 09:47:05 -08:00
Daniel Imms
94a9ce8566
Move toColor into channels
...
It operates on rgba channels, not a packed 32 bit int
2023-12-28 09:29:30 -08:00
Daniel Imms
341d9f0597
Merge pull request #4920 from Tyriar/tyriar/bg_blend
...
Add bg+powerline background blend behavior
2023-12-19 08:57:03 -08:00
Daniel Imms
22f1ce4a11
Add bg+powerline background blend behavior
...
When a with bg is selected, the cell's regular background will be blended
with 50% opacity selectionBackground in order to retain the bg color info
as well as getting the color to change and getting decent contrast.
This commit also fixes a terrible, nasty bug where the standalone shared
renderer tests were causing the terminal to open multiple times and not
get the WebGL addon activated the second time. So some tests were actually
testing the DOM renderer :o
Fixes #4918
2023-12-19 08:16:48 -08:00
Daniel Imms
7c5ad6b7a9
Remove tracing drawToCache call
...
This was a little noisy and didn't end up being that useful
2023-12-19 05:44:55 -08:00
tisilent
2861a4dd39
Draw dashed lines through ratios
2023-11-08 17:58:38 +08:00
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