Daniel Imms
1a3e14a24c
Merge pull request #4680 from Tyriar/crash
...
Revert Stylesheet change
2023-08-15 08:49:05 -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
2eca26b210
Merge pull request #4678 from Tyriar/vscode189753
...
Workaround crash that can happen in Electron/Chromium
2023-08-15 07:01:28 -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
caa1223e5c
Merge pull request #4677 from Tyriar/fix_headless
...
Fix headless types regression
2023-08-14 07:18:50 -07:00
Daniel Imms
62cf3d39e1
Fix headless types regression
...
From the API lint PR
2023-08-14 07:15:20 -07:00
Daniel Imms
2437b68d5d
Merge pull request #4676 from Tyriar/4097_2
...
Remove redundant condition
2023-08-14 06:01:07 -07:00
Daniel Imms
09fc798e80
Remove redundant condition
...
Part of #4097
2023-08-14 05:47:25 -07:00
Daniel Imms
7ae6febedc
Merge pull request #4673 from Tyriar/4097
...
DOM: Render selection color instead of cell bg
2023-08-14 05:34:14 -07:00
Daniel Imms
39ae0f45fd
Fix selectionForeground dom tests
2023-08-14 04:43:55 -07: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
6c9346011d
Merge pull request #4672 from Tyriar/4262
...
Enforce half minimum contrast ratio for dim text
2023-08-13 13:14:45 -07:00
Daniel Imms
28c4732abc
Fix ThemeService.ctor test
2023-08-13 13:04:40 -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
Daniel Imms
af787e1c85
Merge pull request #4671 from Tyriar/4652
...
Fix SortedList.values iteration and general dec lifecycle fixes
2023-08-13 10:53:20 -07:00
Daniel Imms
70f6fa2bc9
Fix SortedList.values iteration and general dec lifecycle fixes
...
Fixes #4652
2023-08-13 10:42:45 -07:00
Daniel Imms
5890029f71
Merge pull request #4669 from Tyriar/api_lint
...
Lint API .d.ts files
2023-08-12 10:32:53 -07:00
Daniel Imms
1f4fe0a8c0
Lint API .d.ts files
...
Similar to #4668 , this brings linting to the API files with a cut down
set of rules. One of the bigger ones is comment length is restricted to 80,
this was done as opposed to 100 for regular code to reduce the chance of
wrapping or API going off screen regardless of resolution or window/browser
size
2023-08-12 09:33:35 -07:00
Daniel Imms
519f6a3d4a
Merge pull request #4668 from Tyriar/comment_lint
...
Restrict comments to 100 characters
2023-08-12 09:18:14 -07: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
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
6f6cc6a686
Remove string mapping, improve types, standardize on 'outline'
2023-08-11 13:09:31 -07:00
Daniel Imms
136e2f2afe
Improve API wording
2023-08-11 13:07:04 -07:00
Daniel Imms
73bb72dbcf
Merge pull request #4666 from Tyriar/nvm
...
Add nvmrc using node 16
2023-08-11 10:03:41 -07:00
Daniel Imms
4b2f774f53
Merge pull request #4664 from tisilent/fix-canvas-underline-cutoff
...
Fix canvas underline is cut off.
2023-08-11 10:01:28 -07:00
Daniel Imms
0a4151fbfa
Add nvmrc using node 16
...
node-pty doesn't seem to work 18 yet and VS Code has moved over to be based
on 18 so that's my main (don't ask me why it's working there but not in this
repo)
2023-08-11 09:52:15 -07:00
Daniel Imms
07d187151e
Update src/browser/renderer/shared/TextureAtlas.ts
2023-08-11 09:50:22 -07:00
Daniel Imms
47f606f0df
Merge pull request #4662 from Tyriar/inwasm
...
Add functional yarn wasm
2023-08-11 05:09:25 -07:00
Daniel Imms
18125dad84
Add functional yarn wasm
...
This is what I tried after seeing the error so it will improve the #4646
experience until a real fix is in place
Part of #4646
2023-08-11 04:58:07 -07:00
Daniel Imms
bb5d61fb14
Merge pull request #4659 from SvanT/dispose-blink-state-manager
...
Dispose blink state manager
2023-08-10 10:27:24 -07:00
Daniel Imms
1b4460e37d
Merge pull request #4655 from Tyriar/tyriar/4645
...
Fix API facade memory leaks
2023-08-10 07:29:14 -07:00
Daniel Imms
7276027861
Merge pull request #4651 from jerch/fix_4642
...
fix decorations on DOM renderer
2023-08-09 16:08:23 -07:00
Daniel Imms
62055522fb
Fix API facade memory leaks
...
We need to register/dispose any event created in the facades, otherwise
embedders need to dispose of the listeners manually.
Fixes #4645
2023-08-09 15:55:31 -07:00
Daniel Imms
02243173c2
Merge pull request #4648 from tisilent/fix-double-underline
...
fix double underline, upwards
2023-08-09 06:45:03 -07:00
Daniel Imms
4f41070b45
Merge pull request #4638 from Tyriar/4603
...
Fix reset and clear leaving viewport in a bad state
2023-08-02 11:55:14 -07:00
Daniel Imms
d2031955ec
Remove error from MockViewport.reset
2023-08-02 11:42:40 -07:00
Daniel Imms
91c08ed48e
Fix clear leaving viewport in a bad state
...
Fixes #4603
2023-08-02 11:30:43 -07:00
Daniel Imms
acf53f69e0
Ensure viewport is correctly reset on term.reset
...
Part of #4603
2023-08-02 11:18:00 -07:00
Daniel Imms
bb237f109a
Merge pull request #4637 from meganrogge/merogge/fix-acc-tree
...
fix a11y tree
2023-08-02 08:30:06 -07:00
Daniel Imms
1e90aab2a6
Merge pull request #4636 from Tyriar/4588
...
Add ignoreBracketedPasteMode option
2023-08-01 14:40:39 -07:00
Daniel Imms
44ced27bee
Add ignoreBracketedPasteMode option
...
Fixes #4588
2023-08-01 13:58:52 -07:00
Daniel Imms
c3def09c38
Merge pull request #4631 from jerch/missing_image_changes
...
image addon fixes
2023-08-01 12:38:59 -07:00
Daniel Imms
afff339d28
Merge pull request #4605 from jerch/faster_dom
...
Faster DOM renderer
2023-08-01 12:32:56 -07:00
Daniel Imms
b46404b139
Merge pull request #4568 from xzfc/webgl-cursor
...
Render the cursor in the WebGL canvas
2023-08-01 08:41:16 -07:00
Daniel Imms
1dfd14fbc0
Fix canvas count test
2023-08-01 08:28:59 -07:00
Daniel Imms
9cfc2c881c
Merge pull request #4626 from Tyriar/tyriar/light_cursor
...
Fix demo light theme cursor colors
2023-08-01 08:08:29 -07:00
Daniel Imms
60eb4f3385
Create ICursorRenderModel
2023-08-01 07:47:27 -07:00
Daniel Imms
41e97ec042
Always render cursor even if model didn't change
...
This ensures underline/bar cursors get rendered
2023-08-01 07:43:27 -07:00
Daniel Imms
1cfce3d0b6
Fix demo light theme cursor colors
2023-08-01 06:37:00 -07:00
Daniel Imms
f64cb1566d
Correctly apply cursor colors in new renderer
2023-08-01 06:31:58 -07:00
Daniel Imms
9b204c012a
Remove bad logs
2023-08-01 06:19:54 -07: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
18e578bd09
Merge branch 'master' into webgl-cursor
2023-08-01 05:53:45 -07:00
Daniel Imms
e8a925b6af
Merge pull request #4583 from jerch/fix_mouse_tracking
...
fix mouse tracking behavior
2023-08-01 05:50:20 -07:00
Daniel Imms
db6e0cd2ef
Merge pull request #4482 from tisilent/#4121
...
Add smoothScroll to scrollLines
2023-08-01 05:48:26 -07:00
Daniel Imms
f6738ec354
Merge pull request #4577 from jerch/image_addon
...
move image addon to base repo
2023-08-01 05:40:48 -07:00
Daniel Imms
1067ec19a8
Implement smooth scroll for pages/top/bottom, add viewport request event
2023-08-01 05:31:30 -07:00
Daniel Imms
e7a7842808
Use viewport source in tests
2023-08-01 05:11:19 -07:00
Daniel Imms
ce3bb35c8c
Merge pull request #4366 from arekouzounian/master
...
Fix for #2488 . Use element offsetHeight rather than getBoundingRect
2023-08-01 05:05:42 -07:00
Daniel Imms
2d7b531bba
Merge branch 'master' into #4121
2023-08-01 04:58:36 -07:00
Daniel Imms
2d81490ac4
Merge pull request #4387 from LabhanshAgrawal/ligatures-electron
...
Enable ligatures addon on electron
2023-08-01 04:57:16 -07:00
Daniel Imms
5939d72d8f
Merge branch 'master' into master
2023-08-01 04:54:05 -07:00
Daniel Imms
d1bd4973ad
Merge pull request #4348 from silamon/ansiheadlessretry
...
SerializeAsHTML(): Fallback to default ansi colors when running headless terminal
2023-08-01 04:52:43 -07:00
Daniel Imms
25b266e809
Merge pull request #4618 from Tyriar/4614_color_index
...
Add IntRange type for ColorIndex
2023-07-30 07:04:14 -07:00
Daniel Imms
2e638598e4
Simplify condition
2023-07-30 06:55:45 -07:00
Daniel Imms
ebdafe54aa
Merge pull request #4619 from Tyriar/tyriar/4611_2
...
Avoid using global document, add copyright
2023-07-29 14:50:50 -07:00
Daniel Imms
829ecac8e3
Merge branch 'master' into image_addon
2023-07-29 14:43:46 -07:00
Daniel Imms
d22e3e093a
Fix compile
2023-07-29 14:42:05 -07:00
Daniel Imms
a9662e8b7b
Avoid using global document, add copyright
...
Fixes #4611
2023-07-29 14:38:56 -07:00
Daniel Imms
5660c404f0
Differentiate special color indexes and others
2023-07-28 16:32:05 -07:00
Daniel Imms
79c1fff853
Add IntRange type for ColorIndex
...
Fixes #4614
2023-07-28 13:51:46 -07:00
Daniel Imms
962c070a75
Merge branch 'master' into webgl-cursor
2023-07-28 13:42:47 -07:00
Daniel Imms
17b8247c3d
Merge pull request #4617 from xtermjs/Tyriar-patch-1
...
Mention discussions in CONTRIBUTING.md
2023-07-28 07:44:13 -07:00
Daniel Imms
c0d1dec847
Mention discussions in CONTRIBUTING.md
2023-07-28 07:33:35 -07:00
Daniel Imms
5889344dd2
Merge pull request #4611 from SimonSiefke/constructed-stylesheets
...
feature: use constructed style sheets for dom render so that it works with csp style-src 'self'
2023-07-27 12:45:31 -07:00
Daniel Imms
72c51b19a5
Merge branch 'master' into constructed-stylesheets
2023-07-27 08:28:24 -07:00
Daniel Imms
679c149164
Merge pull request #4612 from SimonSiefke/update-typescript-version
...
update typescript version to 5.1.6
2023-07-27 08:28:09 -07:00
Daniel Imms
1c98037eed
Merge pull request #4599 from xtermjs/dependabot/npm_and_yarn/word-wrap-1.2.4
...
Bump word-wrap from 1.2.3 to 1.2.4
2023-07-18 14:55:34 -07:00
Daniel Imms
53d105714a
Merge pull request #4596 from lewis-sanchez/lewissanchez/bug/rasterized-glyph-undefined
...
Add getRasterizedGlyph null and undefined check
2023-07-15 17:56:31 -07:00
Daniel Imms
3d75333e95
Merge pull request #4595 from matifali/patch-1
...
Add Coder to the list
2023-07-14 07:48:40 -07:00
Daniel Imms
be74969d70
Merge pull request #4589 from xtermjs/dependabot/npm_and_yarn/semver-5.7.2
...
Bump semver from 5.7.1 to 5.7.2
2023-07-11 04:35:17 -07:00
Daniel Imms
823258e311
Merge pull request #4587 from xtermjs/dependabot/npm_and_yarn/tough-cookie-4.1.3
...
Bump tough-cookie from 4.0.0 to 4.1.3
2023-07-09 08:55:23 -07:00
Daniel Imms
681c912533
Merge pull request #4585 from tomgroenwoldt/add-helix-editor-playground-project
...
Add helix editor playground project to real world uses
2023-07-06 07:25:42 -07:00
Daniel Imms
ac0207bf2e
Merge pull request #4570 from naufalafif/cloudtutor-io-patch-1
...
add cloudtutor.io to real world uses
2023-06-19 07:52:33 -07:00
Daniel Imms
096fe17135
Merge pull request #4565 from Tyriar/tyriar/readonly_log
...
Improve safety of log service
2023-06-16 10:42:47 -07:00
Daniel Imms
4d501b38b8
Improve safety of log service
2023-06-16 10:30:54 -07:00
Daniel Imms
f79e9a1951
Merge pull request #4564 from Tyriar/bind_loggers
...
Bind logger calls
2023-06-16 09:30:04 -07:00
Daniel Imms
64a62fb0c1
Bind logger calls
2023-06-16 09:19:23 -07:00
Daniel Imms
2c45989fea
Merge pull request #4563 from Tyriar/logger
...
Add logger delegate option
2023-06-16 08:34:13 -07:00
Daniel Imms
f779e4ddc0
Add logger delegate option
...
This allows embedders to route the logs whereever they want, when this
is set the xterm.js prefix is excluded.
2023-06-16 08:23:22 -07:00
Daniel Imms
7be0016e45
Merge branch 'master' into #4121
2023-06-10 14:02:21 -07:00
Daniel Imms
ac923e55d2
Merge pull request #4553 from Tyriar/v5_2_1
...
v5.2.1
2023-06-10 14:01:33 -07:00
Daniel Imms
e08e5607ed
v5.2.1
2023-06-10 13:59:51 -07:00
Daniel Imms
2ac2eeadfc
Merge pull request #4551 from Tyriar/npes
...
Fix NPEs on buffer line and windowsPty option
2023-06-09 08:59:24 -07:00
Daniel Imms
ffadc0b31d
Fix NPEs on buffer line and windowsPty option
2023-06-09 08:47:17 -07:00
Daniel Imms
cc1089e943
Merge pull request #4549 from Tyriar/r5_2_0
...
v5.2.0
2023-06-08 14:43:25 -07:00
Daniel Imms
47c21df83d
v5.2.0
2023-06-08 14:32:54 -07:00
Daniel Imms
380e6805e8
Merge pull request #4539 from Tyriar/tyriar/windowsPty
...
Add more granular windowsPty option
2023-06-07 11:41:13 -07:00