Cursor Agent and Daniel Imms
467eb5a227
fix(addon-image): cast buffer line lookups to IBufferLineExt | undefined
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-06-06 16:26:54 +00:00
Daniel Imms and Cursor
a8632435a6
fix(addon-image): skip missing lines in viewportResize
...
viewportResize walks the full buffer when the terminal widens but
called line.getBg without checking that lines.get(row) returned a
line. During resize or trim gaps that could throw and abort tile
expansion for remaining rows.
Skip missing buffer lines with continue, consistent with render().
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-03 03:36:42 +00:00
Cursor Agent and Daniel Imms
a0919b9004
fix(addon-image): skip missing buffer lines in render
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-06-03 03:36:41 +00:00
Daniel Imms and Cursor
b5e0cdb20c
fix(addon-image): scan new columns on viewport width increase
...
viewportResize() should check whether cells in newly exposed columns
(oldCol + 1 through cols - 1) already have content before expanding
image tiles to the right. The loop used `rightCol > metrics.cols`,
which is false when widening (rightCol starts at oldCol + 1), so the
loop never ran, hasData stayed false, and tiles could overwrite cells
that already held text.
Use `rightCol < metrics.cols` so the emptiness check runs over the
intended column range.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-03 03:36:41 +00:00
ea75b99e2b
fix(deps): override serialize-javascript to ^7.0.3 ( #5989 )
...
Mocha 11.7.x pulls in serialize-javascript 6.0.2, which is affected by
code injection via RegExp.flags and Date.toISOString (CVE incomplete fix).
Force the patched 7.x release via npm overrides.
Co-authored-by: Cursor Agent <cursoragent@cursor.com >
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-06-02 13:34:19 +00:00
Daniel Imms and Cursor
564113e053
Add unit tests for parser reset, buffer scroll, ConPTY, and search ( #5988 )
...
* Add InputHandler unit tests for ISO-2022 charset mapping
InputHandler unit tests always used MockCharsetService, so regressions in
print()'s ASCII remapping, G0/G1 designation (ESC ( ) * +), and SO/SI
level switching were never caught at unit level.
Add an ISO-2022 character sets suite wired to real CharsetService and
BufferService that verifies DEC line drawing on G0 (ESC ( 0), G1 after
ESC ) 0 + SO, and charset/glevel restoration via ESC 7 / ESC 8 before
printing.
Co-authored-by: Cursor <cursoragent@cursor.com >
* Add BufferService.scroll unit tests for isUserScrolling
BufferService.scroll() adjusts ybase and ydisp differently depending on
whether the circular buffer is full and whether isUserScrolling is set,
but no unit test asserted those branches. InputHandler and other callers
use MockBufferService.scroll, which throws, so real scroll viewport logic
was only exercised indirectly.
Add BufferService.test.ts covering full-buffer scroll with the user
scrolled up (ydisp decrements), partial-buffer scroll while scrolled up
(ydisp unchanged), and full-buffer scroll at the viewport bottom
(ydisp tracks ybase).
Co-authored-by: Cursor <cursoragent@cursor.com >
* Add InputHandler unit tests for DECOM cursor positioning
CUP with DEC origin mode (DECOM) offsets rows by the scroll region top
and clamps within DECSTBM margins, but unit tests only toggled the mode
for save/restore. Playwright covered the combination; headless unit tests
did not.
Add a cursor positioning test matching the Playwright DECOM case: with
margins and origin on, CUP places the cursor relative to scrollTop, clamps
to the margin, and uses absolute rows when origin is off.
Co-authored-by: Cursor <cursoragent@cursor.com >
* Add WindowsMode unit tests for wrap heuristic edges
ConPTY does not set isWrapped on soft-wrapped lines; updateWindowsModeWrappedState
infers wrapping from the last cell of the previous row. Browser Terminal tests
exercise this only through full writes, with no direct coverage of the helper
or negative cases (trailing space or null).
Add WindowsMode.test.ts asserting isWrapped is set for a full non-space line,
cleared for trailing whitespace, and cleared when the previous line ends empty.
Co-authored-by: Cursor <cursoragent@cursor.com >
* Add OscParser.reset unit test for mid-payload abort
OscParser.reset() must call end(false) on active handlers when aborted
during PAYLOAD, but no test invoked reset() directly. EscapeSequenceParser
tests mock OSC, so production reset/cleanup was unverified at unit level.
Add a reset describe block asserting handlers receive END false after a
partial payload, then a subsequent OSC sequence completes normally.
Co-authored-by: Cursor <cursoragent@cursor.com >
* Add DcsParser.reset unit test for mid-payload abort
DcsParser.reset() must call unhook(false) on hooked handlers when aborted
mid-DCS, matching OscParser's end(false) cleanup. No DcsParser test called
reset() directly, leaving the abort path unverified at unit level.
Add a reset describe block asserting UNHOOK false after partial put, then a
subsequent DCS sequence completes with UNHOOK true.
Co-authored-by: Cursor <cursoragent@cursor.com >
* Add InputHandler print tests for grapheme joining
print() uses UnicodeService.shouldJoin to merge combining marks, but
InputHandler tests never exercised that path. The U+200B infinite-loop
regression test used mocks and had no assertions, so it would pass even
if print() misbehaved.
Add tests for e + combining acute in one parse and across two parses.
Strengthen the U+200B regression test to use BufferService and assert the
buffer does not grow spurious rows.
Co-authored-by: Cursor <cursoragent@cursor.com >
* Add CharsetService unit tests for glevel and designation
CharsetService only updates the active charset when setgCharset targets the
current glevel; most InputHandler tests use MockCharsetService instead. A
regression in setgLevel or inactive-slot designation would not be caught
without direct service tests.
Add CharsetService.test.ts covering inactive designation, setgLevel
activation, active-slot updates, and reset clearing state.
Co-authored-by: Cursor <cursoragent@cursor.com >
* Add reflowCursorLine unit tests for ConPTY resize behavior
reflowCursorLine lets resize reflow wrapped lines that contain the cursor
(needed when ConPTY does not). No test referenced the option or
reflowLargerGetLinesToRemove's cursor skip branch.
Add BufferReflow tests for skip vs reflow when the cursor is inside a
wrapped block, and Buffer.resize tests showing merge on widen only when
reflowCursorLine is enabled.
Co-authored-by: Cursor <cursoragent@cursor.com >
* Add EscapeSequenceParser reset test for async pause recovery
reset() sets ParserStackType.RESET so the next parse continues in GROUND
at chunkPos + 1 without resuming a paused async handler. Existing async
tests only verified reset lifts FAIL after improper continuation, not
mid-chunk recovery with trailing printable data.
Add a test that pauses on async CSI, calls reset(), then continues parsing
and asserts XY is printed once and the stack returns to NONE.
Co-authored-by: Cursor <cursoragent@cursor.com >
* Add Buffer.resize unit test for ConPTY row growth
When rows increase on Windows ConPTY, Buffer.resize appends lines without
decrementing ybase or ydisp so the viewport stays stable while ConPTY
repaints. Buffer tests covered the non-Windows scroll-up path but never
passed windowsPty into options.
Add a ConPTY row-growth test asserting ybase, ydisp, and line count when
windowsPty is configured.
Co-authored-by: Cursor <cursoragent@cursor.com >
* Add Buffer reflow test for ConPTY buildNumber threshold
Buffer disables reflow on ConPTY when buildNumber is below 21376, but no
unit test asserted that gate. Column shrink without reflow leaves wrapped
content on a single line instead of splitting across rows.
Add a test comparing shrink behavior at build 21375 versus 21376, plus
retain unwrap-on-widen coverage for supported ConPTY builds.
Co-authored-by: Cursor <cursoragent@cursor.com >
* Add ApcParser.reset unit test for mid-payload abort
ApcParser.reset() calls end(false) on active handlers when aborted mid-APC,
matching OscParser and DcsParser, but no ApcParser test invoked reset()
directly.
Add a reset describe block asserting END false after partial put and a
clean subsequent APC sequence.
Co-authored-by: Cursor <cursoragent@cursor.com >
* Add InputHandler unit test for REP with grapheme clusters
repeatPrecedingCharacter uses parser.precedingJoinState and reprints the
full cluster from the buffer, but only Playwright covered e + combining
acute with CSI b. A regression could break REP for joined sequences without
failing unit tests.
Add a print-suite test asserting CSI 2 b triples e + acute in one parse.
Co-authored-by: Cursor <cursoragent@cursor.com >
* Add InputHandler unit tests for REP no-op cases
repeatPrecedingCharacter returns early when parser.precedingJoinState is
zero, including after another escape sequence clears join state. Only the
positive grapheme REP case was unit tested.
Add tests for bare CSI b and for REP following SGR so regressions cannot
spuriously duplicate buffer content.
Co-authored-by: Cursor <cursoragent@cursor.com >
* Add DecorationManager unit test for wrapped search matches
DecorationManager splits matches across wrapped rows with per-segment x
and width, but only SearchEngine had unit coverage; decoration geometry
was left to Playwright.
Add DecorationManager.test.ts using a real Terminal, a wrapped-buffer
match from SearchEngine, and assertions on registerDecoration options
for both row segments.
Co-authored-by: Cursor <cursoragent@cursor.com >
* Add BufferService.scroll unit test for DECSTBM margins
When scrollTop is non-zero, scroll() shifts lines inside the margin with
shiftElements instead of pushing scrollback. Existing BufferService tests
only covered scrollTop === 0.
Add a test with margins on rows 1–3 that verifies rows outside the region
stay fixed and lines inside the region scroll correctly.
Co-authored-by: Cursor <cursoragent@cursor.com >
* Add BufferService.scrollLines unit tests
scrollLines adjusts ydisp and toggles isUserScrolling for viewport
scrolling, but only scroll() had unit coverage. Regressions in the
user-scroll flag or ydisp clamping would affect the whole viewport.
Add tests for scrolling up, clamping at ydisp 0, and clearing
isUserScrolling when reaching the buffer bottom.
Co-authored-by: Cursor <cursoragent@cursor.com >
* Add DecorationManager overview ruler dedup unit test
Multiple highlight matches on the same buffer line should only register
one overview ruler marker; later matches on that line omit ruler options.
Co-authored-by: Cursor <cursoragent@cursor.com >
* Assert overview ruler on each line of wrapped search match
Wrapped highlight decorations span two buffer lines; each segment
should register overview ruler options unlike same-line dedup.
Co-authored-by: Cursor <cursoragent@cursor.com >
---------
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-02 12:41:54 +00:00
b3de9fa6db
fix(buffer): clear stale attrs and combined data in BufferLine ( #5972 )
...
* fix(buffer): bound combined-cell copy in copyCellsFrom
When copying a column range, combined-string metadata was copied for
every source column >= srcCol with no upper limit. Partial copies could
pull _combined entries from outside [srcCol, srcCol + length) into the
destination and corrupt cells beyond the copied span.
Only copy combined keys within the same range as the cell data loop.
Co-authored-by: Cursor <cursoragent@cursor.com >
* fix(buffer): clear stale _combined entry in BufferLine.setCell
setCell updated combined data when IS_COMBINED_MASK was set but left
orphaned _combined[index] entries when writing a non-combined cell.
Delete the map entry in that case so later combined copies and lookups
stay aligned with cell content flags.
Co-authored-by: Cursor <cursoragent@cursor.com >
* fix(buffer): clear stale extended attrs in BufferLine.setCell
setCell stored extended attributes when HAS_EXTENDED was set but did
not remove orphaned _extendedAttrs[index] when overwriting with a
cell without extended background data. Delete the entry in that case,
matching the combined-cell cleanup added for setCell earlier.
Co-authored-by: Cursor <cursoragent@cursor.com >
* fix(buffer): clear dest extended attrs in copyCellsFrom
When copying a column range, extended attributes were copied from
source cells with HAS_EXTENDED but stale _extendedAttrs on the
destination were left for cells without extended data. Delete dest
entries in that case, matching setCell behavior and the bounded
_combined copy loop.
Co-authored-by: Cursor <cursoragent@cursor.com >
* fix(buffer): clear extended attrs in setCellFromCodepoint
The input-handler fast path set extended data when HAS_EXTENDED was
present but left orphaned _extendedAttrs entries when overwriting
with non-extended cells. Delete the map entry in that case, matching
setCell and copyCellsFrom.
Co-authored-by: Cursor <cursoragent@cursor.com >
* fix(buffer): clear stale combined data in setCellFromCodepoint
When the input handler overwrites a cell that previously held a
grapheme cluster (IS_COMBINED_MASK), setCellFromCodepoint updated
_data and _extendedAttrs but left this._combined[index] intact.
setCell already deletes _combined for non-combined cells; this path
did not, so getString and renderers could show the old cluster string
after a normal codepoint write.
Add delete this._combined[index] at the start of setCellFromCodepoint,
matching setCell's non-combined branch and the extended-attrs cleanup
already performed in the same method.
Co-authored-by: Cursor <cursoragent@cursor.com >
* perf(buffer): only delete stale combined/extended map entries when present
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
* fix(buffer): treat combined/extended maps as flag-gated caches
_flags in _data are authoritative; sparse maps are only read when
IS_COMBINED_MASK or HAS_EXTENDED is set. setCellFromCodepoint no longer
touches _combined. loadCell clears CellData side fields when flags are off.
copyCellsFrom copies map entries per-cell from src flags only.
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
---------
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-06-02 03:04:25 +00:00
1f054097f3
Fix benchmarks with NODE_PATH and common/browser imports ( #5985 )
...
PR #5966 switched benchmark imports to ../../src/ paths that do not
resolve at runtime. Restore common/* and browser/* imports (with
benchmark-only tsconfig paths for typechecking) and NODE_PATH=./out
on benchmark npm scripts so emitted requires resolve against out/.
Fixes #5970
Co-authored-by: Cursor Agent <cursoragent@cursor.com >
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-06-01 19:43:47 -07:00
Daniel Imms
a250987508
Merge pull request #5984 from xtermjs/cursor/addons-functional-fixes-89d6
...
fix(addons): search bounds, webgl sort, web-links regex, fit height clamp
2026-06-01 19:34:14 -07:00
Daniel Imms
21c99d0574
fix(bin): script path, exit codes, and integration suite handling ( #5973 )
...
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
## Summary
Improves reliability and correctness of `bin/` maintenance scripts used for local development and CI.
## Behavioral fixes
- **Exit codes**: `test_integration.js` exits with code 1 when `--suite` names an unknown suite; `test_unit.js` uses a non-zero fallback (`-1`) when the coverage or mocha child process has no status; `esbuild_all.mjs` exits non-zero if any parallel esbuild child fails.
- **Repo root**: `setup-full.mjs` resolves the repository root one directory above `bin/` (was incorrectly using `bin/` as root).
- **esbuild_all**: Propagates child build failures instead of always exiting 0.
- **Integration suites**: When `--suite` is omitted, all configured Playwright suites (core + addons) run; when provided, only the matching suite runs.
- **test_unit.js**: Declares the `files` filter variable so file arguments from `npm run test-unit` work without a ReferenceError.
- **test_mousemodes.js**: Uses the correct cursor-home CSI (`ESC [ H`) when clearing the menu screen.
- **Cleanup**: Removes debug logging from the test-unit coverage path; adds a missing semicolon after the suite regex match.
## Affected scripts
- `bin/test_integration.js`
- `bin/test_unit.js`
- `bin/esbuild_all.mjs`
- `bin/setup-full.mjs`
- `bin/test_mousemodes.js`
## Testing
- Syntax-checked affected scripts with `node --check`
- Verified `node bin/test_integration.js --suite=unknown` exits 1 with an error message
- `npm run lint-changes` (no TypeScript files changed)
<!-- CURSOR_AGENT_PR_BODY_END -->
<div><a href="https://cursor.com/agents/bc-94b28f5d-740c-4cb6-8cd9-40f35bc6086c "><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-web-dark.png "><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-web-light.png "><img alt="Open in Web" width="114" height="28" src="https://cursor.com/assets/images/open-in-web-dark.png "></picture></a> <a href="https://cursor.com/background-agent?bcId=bc-94b28f5d-740c-4cb6-8cd9-40f35bc6086c "><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-cursor-dark.png "><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-cursor-light.png "><img alt="Open in Cursor" width="131" height="28" src="https://cursor.com/assets/images/open-in-cursor-dark.png "></picture></a> </div>
2026-06-01 19:34:13 -07:00
Daniel Imms
0b6fd2e8b2
Merge pull request #5979 from xtermjs/cursor/addon-image-readme-typos-89d6
...
docs(addon-image): fix README spelling and wording
2026-06-01 10:38:36 -07:00
Daniel Imms
4226e64245
Merge pull request #5982 from xtermjs/cursor/addons-docs-typos-7eb2
...
docs(addons): fix comment and README typos (webgl, web-links, unicode-graphemes)
2026-06-01 10:35:35 -07:00
Daniel Imms
a374c6c5af
Merge pull request #5980 from xtermjs/cursor/browser-functional-fixes-b5c0
...
fix(browser): debounce, render, mouse coords, and CoreBrowserTerminal
2026-06-01 09:23:57 -07:00
Cursor Agent and Daniel Imms
454e0749c2
fix(browser): use ??= in RenderDebouncer for lint
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-06-01 16:15:01 +00:00
Daniel Imms
59264f1f5b
Merge pull request #5974 from xtermjs/cursor/parser-validation-fixes-89d6
...
fix(parser): Params error grammar and ESC prefix precedence
2026-06-01 09:05:28 -07:00
Cursor Agent and Daniel Imms
16ef64f8bf
Merge origin/master into cursor/browser-functional-fixes-b5c0
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-06-01 15:59:10 +00:00
Daniel Imms
a0f93cdcc4
Merge pull request #5983 from xtermjs/cursor/test-fixes-explore-e565
...
test: search, parser title, and attach suite fixes
2026-06-01 08:50:09 -07:00
Daniel Imms
5b911db9cf
Merge branch 'master' into cursor/test-fixes-explore-e565
2026-06-01 08:45:29 -07:00
Daniel Imms
560c0ce3a1
Merge pull request #5978 from xtermjs/cursor/src-docs-typos-0755
...
docs(src): fix comment and JSDoc typos
2026-06-01 08:33:32 -07:00
Daniel Imms
94958c2489
Fix whitespace
2026-06-01 08:33:02 -07:00
Cursor Agent and Daniel Imms
6426573f45
docs(addon-web-links): shorten comment to satisfy max-len after typo fix
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-06-01 15:30:04 +00:00
Daniel Imms
5ab59506aa
Merge pull request #5975 from xtermjs/cursor/contributing-typo-b5c5
...
docs: fix typo in CONTRIBUTING.md
2026-06-01 08:30:00 -07:00
Cursor Agent and Daniel Imms
096707d736
test: fix typos in test titles and comments
...
Apply test-only hunks from docs typo fixes: SharedRendererTests
duplicate word, SerializeAddon workaround comment, and mouse range
spelling in MouseService and InputHandler tests.
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-06-01 15:29:18 +00:00
Cursor Agent and Daniel Imms
967d3f59e6
docs(addon-image): fix README spelling and wording
...
README spelling and wording fixes only; no code changes.
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-06-01 15:29:08 +00:00
Daniel Imms and Cursor
9a70816dad
test(addon-attach): correct Playwright suite name in AttachAddon tests
...
The integration test file used test.describe('Search Tests'), copied from
addon-search. That mislabels attach-addon results in Playwright reports and
makes the suite harder to filter or debug.
Rename the block to 'AttachAddon' so the describe name matches the addon
under test. No test logic changed.
Validated with: npm run build && npm run esbuild, npm run test-unit,
npm run esbuild-demo-client && npm run esbuild-demo-server &&
npm run test-integration, npm run package, npm run package-headless.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:29:07 +00:00
Daniel Imms and Cursor
8e7e4f16e5
test(parser): fix typo in EscapeSequenceParser test title
...
Rename the mocha case "inital states" to "initial states".
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:29:07 +00:00
Daniel Imms and Cursor
a9a2a8e3c1
test(search): reject readFile errors in #2444 fixture loader
...
beforeAll always resolved the readFile promise with data even when
err was set, which led to calling toString on undefined. Reject the
promise on err so fixture load failures surface clearly. Use res/rej
callback names to avoid shadowing path.resolve.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:29:07 +00:00
Daniel Imms and Cursor
92a1bfcf2e
test(search): send real CSI CUP in #3834 null-char case
...
The integration test intended to move the cursor forward with ESC [ C
but wrote the literal string \x1b[C due to double escaping. Use a
single-escaped '\x1b[CHi Hi' so the terminal receives the control
sequence and creates the null cell the scenario describes.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:29:06 +00:00
Cursor Agent and Daniel Imms
be38252e37
docs: fix comment typos in Constants, DomRenderer, and addons (addons only)
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-06-01 15:29:04 +00:00
Cursor Agent and Daniel Imms
0b590dacd6
docs: fix comment typos in BufferReflow, Types, and addons (addons only)
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-06-01 15:29:04 +00:00
Cursor Agent and Daniel Imms
1faa41eac1
docs: fix typos in typings, tests, and core comments (addons only)
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-06-01 15:29:03 +00:00
Cursor Agent and Daniel Imms
fa5eb33cdb
fix: small comment, error string, and guard cleanups (addons only)
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-06-01 15:29:02 +00:00
Cursor Agent and Daniel Imms
3494f6b5b0
docs: fix additional comment typos across renderer and selection (addons only)
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-06-01 15:29:02 +00:00
Daniel Imms and Cursor
58fc09ff0e
docs(webgl): remove duplicate word in context lost README
...
The webglcontextlost section repeated "fired" ("fires the ... event
fired on the canvas"). Drop the extra word.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:51 +00:00
Daniel Imms and Cursor
a47e4905e6
docs(addon-webgl): fix comment typos in TextureAtlas and GlyphRenderer
...
Correct "transferred", remove duplicate "is", and use "one-off"
instead of "once of" in developer-facing comments.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:51 +00:00
Daniel Imms and Cursor
1252c69ccc
docs(addons): fix comment typos in unicode-graphemes and web-links
...
Correct grapheme/handling spelling in UnicodeGraphemesAddon header and
everything/addresses typos in WebLinksAddon URL matcher comments.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:51 +00:00
Daniel Imms and Cursor
be3dd80171
docs(parser): fix JSDoc typos in IFunctionIdentifier
...
Correct "representation" and "registration" spelling in the comment
describing how handler identifiers are encoded for EscapeSequenceParser.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:36 +00:00
Daniel Imms and Cursor
2db34c4955
docs(common): fix main thread spelling in TaskQueue comment
...
Change "mainthread" to "main thread" in the workload scheduling note.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:36 +00:00
Daniel Imms and Cursor
8854430df4
docs(parser): fix sub-parameter limit name in Params JSDoc
...
addSubParam documents a cap on stored sub parameters; the limit is
enforced via maxSubParamsLength, not subParamsLength (the current count).
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:36 +00:00
Daniel Imms and Cursor
26e771d075
docs(common): fix grammar in Unicode and platform comments
...
Use "a Unicode" instead of "an Unicode" on IUnicodeService.register,
and "user's platform" instead of "users platform" above the platform
detection exports.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:36 +00:00
Daniel Imms and Cursor
fd13893687
docs(buffer): fix possessive typo in Windows conpty comment
...
Change "it's view" to "its view" in the comment explaining why new
rows are appended on Windows when using conpty.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:36 +00:00
Daniel Imms and Cursor
5ef8001413
docs(common): fix activeVersion onChange JSDoc wording
...
The onChange event comment said "activate version changed" while the
property is activeVersion. Clarify that the event fires when the active
Unicode version changes.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:36 +00:00
Daniel Imms and Cursor
e2d1420ff7
docs(common): fix throughput typo in WriteBuffer comment
...
Correct "throughtput" to "throughput" in the FPS vs throughput tradeoff
note inside WriteBuffer.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:36 +00:00
Daniel Imms and Cursor
cf1484d7fd
docs(browser): fix incomplete and typo comments in Mouse.ts
...
getCoords had a truncated comment ("if there are no valid") and a typo
("addition" vs "additional") in the selection precision note. Complete
the char-size guard comment and fix the selection wording.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:36 +00:00
Daniel Imms and Cursor
e12f007597
docs(buffer): fix Content enum names in Constants JSDoc
...
The Content bitmask JSDoc examples used camelCase names that do not
exist on the enum (codepointMask, isCombined, hasContent, widthMask,
widthShift). Update examples to match the real members:
CODEPOINT_MASK, IS_COMBINED_MASK, HAS_CONTENT_MASK, WIDTH_MASK, and
WIDTH_SHIFT as used throughout BufferLine and CellData.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:35 +00:00
Daniel Imms and Cursor
3a4f9e235d
docs: fix "transferred" spelling in CONTRIBUTING.md
...
Correct typo in the note about moving support questions to
GitHub discussions.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:28 +00:00
Daniel Imms and Cursor
7b05c8a1b2
docs: fix comment and JSDoc spelling typos
...
Correct "occurred" in IMouseEvent and keydown JSDoc, remove duplicate
"This" in EscapeSequenceParser ZDM comment, use "elapsed" instead of
"lapsed" in TimeBasedDebouncer, and fix "event" in Keyboard comment.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:14 +00:00
Daniel Imms and Cursor
b45167e00b
docs: fix comment typos in ThemeService and Constants
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:14 +00:00
Daniel Imms and Cursor
bc42be2074
docs(common): correct ST sequence metadata and comment typos
...
- EscapeSequenceParser: ESC ST is ESC backslash (0x1B 0x5C), not ESC
plus a double-quote character; align @vt metadata with C1 ST on the
following line.
- Color.contrastRatio: document l2 as the second luminance argument.
- Marker.dispose: fix "change" -> "chance" in dispose listener comment.
- Buffer.clear: fix possessive "it's" -> "its" in JSDoc.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:14 +00:00
Daniel Imms and Cursor
bc26cc16c1
fix(browser): place imports before module const in TimeBasedDebouncer
...
RENDER_DEBOUNCE_THRESHOLD_MS was declared above the import, which
breaks ES module conventions and can confuse tooling. Move the import
to the top of the module after the license header.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:07 +00:00
Daniel Imms and Cursor
80468eeb4c
fix(browser): clear idle blink timer when handle is 0
...
_clearIdleTimer() used truthiness on _idleTimeout, so a setTimeout
handle of 0 would not be cleared. Compare against undefined, consistent
with RenderDebouncer rAF handling.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:07 +00:00
Daniel Imms and Cursor
69b11a1a48
fix(browser): treat rAF id 0 as scheduled in RenderDebouncer
...
dispose(), addRefreshCallback(), and refresh() used truthiness on
_animationFrame, so a requestAnimationFrame handle of 0 would not be
cancelled or deduplicated. Compare against undefined instead, matching
other timer checks in the browser layer.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:07 +00:00
Daniel Imms and Cursor
98d7c25bd5
fix(browser): cancel trailing debounce timeout on immediate refresh
...
TimeBasedDebouncer can schedule a trailing setTimeout when refresh
requests are throttled. If the debounce window later elapses and an
immediate refresh runs, that pending timeout was left armed and could
fire afterward, causing a duplicate _innerRefresh (e.g. extra live
region updates for screen readers).
Clear any pending timeout and reset _additionalRefreshRequested before
running the immediate refresh path.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:07 +00:00
Daniel Imms and Cursor
6d1f12cb7b
fix(web-links): avoid duplicate g flag when cloning url regex
...
LinkComputer rebuilt the search RegExp with (regex.flags || '') + 'g',
which throws if the caller already passed a global regex. Only append
g when it is not already present in regex.flags.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:04 +00:00
Daniel Imms and Cursor
4500485e79
fix(parser): validate ESC prefix byte range with correct precedence
...
_identifier() checked custom prefix bytes with
`res && 0x3c > res || res > 0x3f`, which parsed as
`(res && 0x3c > res) || (res > 0x3f)` because && binds tighter
than ||. A prefix of NUL (0x00) skipped both clauses and was
accepted even though only 0x3c..0x3f are valid.
Use an explicit range test: res < 0x3c || res > 0x3f. Mirror the
same fix in ApcParser and DcsParser test identifier helpers.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:04 +00:00
Daniel Imms and Cursor
b4bd92d62c
fix(webgl): use stable numeric sort for merging texture pages
...
The merging-pages index sort used (a, b) => a > b ? 1 : -1, which
returns -1 when a === b and violates the comparator contract. Use
(a, b) => a - b for ascending numeric order.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:04 +00:00
Daniel Imms and Cursor
1a01e9634f
fix(parser): use correct grammar in Params validation errors
...
Replace "values lesser than -1" with "values less than -1" in
addParam and addSubParam throw messages. "Lesser" is not standard
English for numeric comparisons; tests assert the exact message.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:04 +00:00
Daniel Imms and Cursor
e35a9c1e90
fix(addon-search): reject startCol equal to terminal column count
...
Valid column indices are 0 through cols - 1. The previous check used
startCol > cols, so on an 80-column terminal column 80 was accepted while
column 100 correctly threw. Use >= so the out-of-range guard matches the
documented error for invalid search positions.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:28:04 +00:00
Daniel Imms and Cursor
1dd113b38a
fix(browser): reset TimeBasedDebouncer state on dispose
...
dispose() cleared the pending timeout but left _refreshTimeoutID and
_additionalRefreshRequested set. After dispose, a stale timeout id or
trailing-refresh flag could confuse a new instance or tests. Match
RenderDebouncer by clearing the timeout id and reset the trailing flag.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:27:54 +00:00
Daniel Imms and Cursor
536eeb4db0
refactor(browser): remove unreachable coords guard in getCoords
...
getCoordsRelativeToElement always returns a two-element tuple, so the
array is always truthy and if (!coords) could never run. hasValidCharSize
already handles the only early-exit path before coordinates are computed.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:27:54 +00:00
Daniel Imms and Cursor
3f3f6abfb9
fix(browser): parenthesize document fallback for CoreBrowserService
...
Nullish coalescing binds tighter than the conditional operator, so the
previous expression was parsed as (this._document ?? windowDefined) ?
window.document : null. When this._document was set (e.g. parent
ownerDocument or documentOverride), the ternary still returned
window.document instead of the configured document.
CoreBrowserService.mainDocument is used by AccessibilityManager, viewport
styles, and decoration renderers; CharSizeService already received
this._document directly. Add parentheses so the fallback applies only when
_document is nullish.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:27:54 +00:00
Daniel Imms and Cursor
c961408bf7
fix(browser): use startY in horizontalDirection row helper call
...
horizontalDirection called moveToRequestedRow with targetX as the first
argument, but that parameter is the starting row (startY). resetStartingRow
and moveToRequestedCol already pass startY correctly; only this copy-paste
mistake passed a column index where a row was expected.
That could miscompute wrapped-row offsets and emit the wrong horizontal
arrow key sequence when building selection/cursor movement strings.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:27:54 +00:00
Daniel Imms
6fd6003d6c
Merge pull request #5971 from xtermjs/cursor/parseint-radix-10-89d6
...
fix: pass radix 10 to parseInt across core and addons
2026-06-01 08:12:17 -07:00
Daniel Imms and Cursor
d407bf561f
fix(webgl): pass radix 10 for SVG arc flag parsing
...
CustomGlyphRasterizer parsed large-arc and sweep flags with parseInt
without a radix when drawing SVG arc paths. Use base 10 for 0/1 flags.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:05:58 +00:00
Daniel Imms and Cursor
a1a8d1abae
fix(image): pass radix 10 when parsing kitty graphics numeric keys
...
KittyGraphicsTypes parsed numeric control values with parseInt
without a radix. Use base 10 explicitly for format, id, dimensions,
and offset fields.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:05:58 +00:00
Daniel Imms and Cursor
f34d0a255c
fix(image): pass radix 10 in IIPHandler dimension parsing
...
_dim() parsed percent, pixel, and cell dimension strings with
parseInt without an explicit radix. Use base 10 for all three paths,
consistent with other numeric parsing fixes in the repo.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:05:58 +00:00
Daniel Imms and Cursor
a2cd1ab29c
fix(fit): parse terminal padding with radix 10 and zero fallback
...
proposeDimensions summed padding-top/bottom/left/right via bare
parseInt, so non-numeric padding values produced NaN and broke
available width/height. Use radix 10 and || 0 on each side, consistent
with parent element size parsing.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:05:58 +00:00
Daniel Imms and Cursor
99550840d2
fix(fit): add radix and zero fallback for parent width parsing
...
Align parent width parsing with the height fix: parseInt with radix
10 and || 0 inside Math.max so non-numeric CSS width does not yield
NaN cols in proposeDimensions.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:05:57 +00:00
Daniel Imms and Cursor
b0f6aed4a1
fix(common): pass radix 10 when parsing OSC color indices
...
InputHandler parsed palette indices from OSC color sequences with
parseInt without a radix after validating digits-only slots. Use
base 10 for set/report and restore color index parsing.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:05:43 +00:00
Daniel Imms and Cursor
878e3fc52d
fix(browser): pass radix 10 when parsing Chrome major version
...
Wheel event DPR factoring parses Chrome/(\d+) with parseInt without a
radix. Add base 10 explicitly, matching getSafariVersion and other
version parsing in the codebase.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:05:43 +00:00
Daniel Imms and Cursor
f04679a42e
fix(common): pass radix 10 when parsing rgb() components in Color
...
rgba/rgb CSS parsing used parseInt without a radix on captured digit
groups. Add base 10 explicitly, matching getSafariVersion and other
call sites in the codebase.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:05:43 +00:00
Daniel Imms and Cursor
6ebcf79358
fix(common): pass radix 10 to parseInt in getSafariVersion
...
Safari major version parsing used parseInt without an explicit radix.
Other call sites in the repo use base 10; add the radix for consistency
and to avoid octal interpretation of leading-zero strings.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:05:43 +00:00
Daniel Imms and Cursor
d4acf2fa45
fix(browser): use radix 10 for padding parseInt in Mouse coords
...
parseInt without a radix can mis-parse leading-zero padding values as
octal. Match AccessibilityManager and document rowCount JSDoc typo.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 15:05:43 +00:00
Daniel Imms
ddf2b7d091
Merge pull request #5969 from Tyriar/import-no-cycle-5897-2
...
Add oxlint import/no-cycle and break existing src/common cycles
2026-05-31 15:13:58 -07:00
Daniel Imms and Cursor
5684f95c8e
Colocate circular list types in CircularList.ts
...
The import/no-cycle refactor had moved IInsertEvent, IDeleteEvent, and
ICircularList into Types.ts, with CircularList.ts re-exporting the event
types from there. That split the list abstraction from its implementation
and pulled Types into the circular-list dependency graph.
Define IInsertEvent, IDeleteEvent, and ICircularList in CircularList.ts
alongside the CircularList class. CircularList.ts now depends only on
Lifecycle and Event, not Types.ts.
Remove those definitions from Types.ts (and the unused Emitter import).
Update callers to import list types from CircularList:
- buffer/Types.ts (IBuffer.lines)
- DecorationService.ts (buffer line insert/delete handlers)
- browser TestUtils.test.ts (mock buffer lines)
Types.ts no longer imports or re-exports circular-list types, preserving
the acyclic Types -> buffer/CircularList boundary.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-31 14:37:01 -07:00
Daniel Imms and Cursor
cd3dcc52b2
Colocate buffer types in buffer/Types.ts
...
The import/no-cycle refactor had moved IBuffer, IBufferSet, and related
cell/line types into src/common/Types.ts, with buffer/Types.ts only
re-exporting them. That inverted the natural module boundary and made
buffer code depend on the top-level types hub.
Define buffer-owned types in buffer/Types.ts instead:
- CharData, IExtendedAttrs, IAttributeData, ICellData, IBufferLine
- IMarker, IBuffer, IBufferSet, BufferIndex
Restore UnderlineStyle to buffer/Constants.ts (used by IExtendedAttrs)
and remove those definitions from Types.ts.
buffer/Types.ts imports only what it needs from outside the buffer layer:
ICircularList and ICharset from Types, IDisposable from Lifecycle,
IEvent from Event, and UnderlineStyle from Constants. Types.ts does not
import buffer/Types.ts, so the previous Types <-> buffer cycle stays broken.
Update imports across common, browser, headless, addons, and tests to use
common/buffer/Types for buffer types rather than common/Types.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-31 14:35:08 -07:00
Daniel Imms
936442c813
Merge pull request #5964 from PerBothner/decoration-test
...
Avoid "fake markers" in DecorationService.test.ts.
2026-05-31 11:57:36 -07:00
Daniel Imms
dfb65ca66f
Add mise.toml to .gitignore ( #5968 )
...
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
Ignores local `mise.toml` configuration at the repository root so it is not committed.
<!-- CURSOR_AGENT_PR_BODY_END -->
<div><a href="https://cursor.com/agents/bc-02c1c884-aae2-4267-b29b-fe7b93574ebe "><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-web-dark.png "><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-web-light.png "><img alt="Open in Web" width="114" height="28" src="https://cursor.com/assets/images/open-in-web-dark.png "></picture></a> <a href="https://cursor.com/background-agent?bcId=bc-02c1c884-aae2-4267-b29b-fe7b93574ebe "><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-cursor-dark.png "><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-cursor-light.png "><img alt="Open in Cursor" width="131" height="28" src="https://cursor.com/assets/images/open-in-cursor-dark.png "></picture></a> </div>
2026-05-31 10:52:07 -07:00
Per Bothner
35c91cbf2d
Merge branch 'master' into decoration-test
2026-05-31 10:13:17 -07:00
Cursor Agent and Daniel Imms
587856e2ca
Add mise.toml to .gitignore
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-31 17:08:48 +00:00
Daniel Imms and Cursor
56a7195487
Add oxlint import/no-cycle and break existing src/common cycles
...
Enable oxlint's import/no-cycle rule (import plugin) so circular module
dependencies are caught in CI, similar to eslint-plugin-import/no-cycle
and biome no-import-cycles discussed in the issue.
Relocate shared types and dependencies to remove cycles under src/common:
- Types.ts: host IInsertEvent, IDeleteEvent, IParams, UnderlineStyle,
IBuffer, and IBufferSet; drop imports from CircularList, buffer/Types,
parser/Types, and Services
- CoreTerminal.ts: define and export ICoreTerminal
- ServiceRegistry.ts: define IServiceIdentifier (break Services registry loop)
- UnicodeService: stop constructing UnicodeV6; CoreTerminal registers the
default v6 provider after service creation
- buffer/Types.ts and parser/Types.ts: re-export moved types for callers
Fixes https://github.com/xtermjs/xterm.js/issues/5897
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-31 10:08:04 -07:00
Daniel Imms
4aa04c6b3f
Merge pull request #5967 from Tyriar/migrate-eslint-to-oxlint-5690
...
Migrate linting from ESLint to Oxlint (Fixes #5690 )
2026-05-31 09:59:34 -07:00
Per Bothner
28eadddb79
Merge branch 'master' into decoration-test
2026-05-31 09:49:20 -07:00
Daniel Imms and Cursor
59d1ec7bf0
Migrate linting from ESLint to Oxlint ( Fixes #5690 )
...
Replace the primary lint pipeline with oxlint and oxlint-tsgolint for type-aware TypeScript rules, preserving existing rule behavior from eslint.config.mjs via @oxlint/migrate and targeted jsPlugins (@stylistic/eslint-plugin, eslint-plugin-jsdoc as jsdoc-js, oxlint-plugin-eslint for no-restricted-syntax and object-curly-spacing).
Keep a hybrid ESLint pass (eslint.config.naming.mjs) only for @typescript-eslint/naming-convention until tsgolint implements it (oxc-project/tsgolint#186 ). Legacy eslint.config.mjs and eslint.config.typings.mjs remain for reference but are no longer used by npm scripts.
Add .oxlintrc.json for src/addons/demo/test and .oxlintrc.typings.json for typings/ (syntax-only, no --type-aware). Update lint, lint-fix, lint-api, and lint-changes to run oxlint first, then naming ESLint. Platform binaries install via oxlint-tsgolint optionalDependencies on Linux, macOS, and Windows.
Fixes https://github.com/xtermjs/xterm.js/issues/5690
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-31 09:48:32 -07:00
Per Bothner
7c82c1a815
Update more DecorationService tests to use existing bufferService.
2026-05-31 09:48:19 -07:00
Daniel Imms
04a0b7347c
Merge pull request #5966 from Tyriar/remove-path-mappings-5896
...
Remove TypeScript path mappings in favor of relative imports
2026-05-31 09:31:57 -07:00
Daniel Imms and Cursor
5d8da19c44
Keep path mappings for addons after core migration
...
Follow-up to https://github.com/xtermjs/xterm.js/issues/5896 / PR #5966 .
Converting addons to ../../../src/common relative imports broke unit tests:
esbuild emits addon code under addons/*/out-esbuild/ without mirroring the
shared tree, so Node could not load TypeScript sources at runtime
(Cannot find module '../../../src/common/Lifecycle').
Core src/, test/, and headless continue to use relative imports with no
common/* path mappings. Addons keep the prior model until build layout
can share out-esbuild the same way as the main package.
Changes:
- Restore common/* and browser/* paths in addon src/test/benchmark tsconfigs
- Revert addon imports to common/ and browser/ path-mapped specifiers
- Restore NODE_PATH=out-esbuild in bin/test_unit.js for Mocha resolution
- Restore webpack resolve.alias on addons that bundle against out/
Fixes CI test-unit failures on remove-path-mappings-5896.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-31 09:25:12 -07:00
Daniel Imms and Cursor
17ad33dc3d
Remove TypeScript path mappings in favor of relative imports
...
Fixes https://github.com/xtermjs/xterm.js/issues/5896
TypeScript path mappings for common/*, browser/*, and headless/*
were not rewritten in emitted JavaScript, which forced webpack resolve
aliases and NODE_PATH workarounds so runtime could resolve modules.
That added build complexity and broke tooling such as ESLint import/no-cycle.
Changes:
- Convert ~750 imports across src/, addons/, and test/ to relative paths
- Remove common/browser/headless paths and src catch-all mappings from tsconfigs
(keep @xterm/addon-* demo and addon typings paths)
- Remove webpack resolve.alias for common, browser, headless, and vs
- Drop NODE_PATH from unit tests, benchmarks, and VS Code launch config
- Fix addon-image IIPImageStorage to import ./Types after removing catch-all *
Verified: npm run build, esbuild, package, package-headless
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-31 09:16:10 -07:00
Per Bothner
f76c7aa8ea
Avoid "fake markers" in DecorationService.test.ts.
...
Instead we use an actual Marker in an actual Buffer.
2026-05-30 14:07:03 -07:00
Daniel Imms
43e8365f0e
Merge pull request #5960 from xtermjs/cursor/move-fixtures-1191
...
Move fixtures to test/fixtures
2026-05-28 07:06:21 -07:00
Cursor Agent and Daniel Imms
c7a94fc0bc
Move fixtures to test/fixtures and update references
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-28 14:01:12 +00:00
Daniel Imms
4bb9c06b5f
Merge pull request #5953 from xtermjs/cursor/alt-click-for-mouse-events-5b17
...
Add altClickForMouseEvents option
2026-05-28 06:35:56 -07:00
Daniel Imms
00e54532b3
Merge pull request #5959 from xtermjs/cursor/setup-dev-environment-dc0c
...
Add Cursor Cloud specific instructions to AGENTS.md
2026-05-27 22:13:27 -07:00
Cursor Agent and Daniel Imms
e96133603b
Add Cursor Cloud specific instructions to AGENTS.md
...
Add development environment guidance for cloud agents including:
- Demo server startup notes
- Build-before-test requirements
- Note about no external services needed
- tsgo compiler note
- Lint optimization tip
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-28 05:10:34 +00:00
Daniel Imms
b2003861ec
Merge pull request #5859 from xtermjs/iip_enhancements
...
IIP enhancements
2026-05-27 20:36:13 -07:00
Daniel Imms
38f77fd4ca
Merge branch 'master' into iip_enhancements
2026-05-27 20:16:36 -07:00
Daniel Imms
d3352cf1d5
Merge pull request #5873 from xtermjs/package_upgrades
...
package upgrades & linter fixes
2026-05-27 20:16:08 -07:00
Daniel Imms
0c4ec34df8
Remove unnecessary @types/lru-cache
2026-05-27 20:11:20 -07:00
Daniel Imms
743852b60c
Remove unneeded comment
2026-05-27 19:58:52 -07:00
Daniel Imms
2069176528
Fix lint
2026-05-27 19:58:21 -07:00
Daniel Imms
acd2472961
Merge remote-tracking branch 'upstream/master' into package_upgrades
2026-05-27 19:23:43 -07:00
Daniel Imms
c2ecfe7446
Merge pull request #5895 from xtermjs/dependabot/npm_and_yarn/multi-f792d6d6d9
...
Bump qs and express
2026-05-27 18:26:29 -07:00
Daniel Imms
5656443163
Merge pull request #5957 from xtermjs/cursor/fix-progress-webkit-flake-5577
...
fix(addon-progress): stabilize flaky WebKit integration test harness
2026-05-27 17:32:25 -07:00
Cursor Agent and Daniel Imms
38174907f3
fix(addon-progress): stabilize WebKit integration test harness
...
Remove unnecessary unawaited setViewportSize from ProgressAddon tests,
which was the line reported in flaky CI failures. Use serial mode and
scoped hooks per Playwright shared-page guidance, and guard afterAll
teardown when setup fails.
Fixes #5956
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-28 00:24:06 +00:00
Daniel Imms and Cursor
1b95efa8c8
Add explicit void return type to alt cursor event listener.
...
Fixes explicit-function-return-type lint in AltMouseCursorController.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-27 16:54:23 -07:00
Daniel Imms
91fcb46a1a
Merge pull request #5955 from xtermjs/cursor/gitignore-cursor-logs-5a86
...
Ignore .cursor/*.log files in git
2026-05-27 16:25:02 -07:00
Daniel Imms and Cursor
ce1f5f9608
Add MouseEventCssClasses const enum for enable-mouse-events class.
...
Centralize the CSS class name in MouseService.ts and use it across mouse mode handling and tests.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-27 16:23:17 -07:00
Cursor Agent and Daniel Imms
1d569f873d
Ignore .cursor/*.log files in git
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 23:22:32 +00:00
Daniel Imms and Cursor
bf8af4a871
Toggle enable-mouse-events cursor while alt is held for mouseEventsRequireAlt.
...
Extract AltMouseCursorController to bind DOM listeners only when the option and mouse protocol are active.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-27 16:20:45 -07:00
Daniel Imms and Cursor
f8e9a81d0e
Fix mouseEventsRequireAlt by stripping alt from PTY mouse reports.
...
Alt is only used locally to gate passthrough; applications like tmux ignore alt-modified SGR sequences.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-27 16:11:35 -07:00
Cursor Agent and Daniel Imms
7711d780c2
Handle mouseEventsRequireAlt option changes in mouse mode
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 21:59:23 +00:00
dependabot[bot]
e89fbf2979
Bump qs and express
...
Bumps [qs](https://github.com/ljharb/qs ) to 6.15.2 and updates ancestor dependency [express](https://github.com/expressjs/express ). These dependencies need to be updated together.
Updates `qs` from 6.14.2 to 6.15.2
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ljharb/qs/compare/v6.14.2...v6.15.2 )
Updates `express` from 4.22.1 to 4.22.2
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/v4.22.2/History.md )
- [Commits](https://github.com/expressjs/express/compare/v4.22.1...v4.22.2 )
---
updated-dependencies:
- dependency-name: express
dependency-version: 4.22.2
dependency-type: direct:development
- dependency-name: qs
dependency-version: 6.15.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-27 21:53:01 +00:00
Daniel Imms
db244ea5a8
Merge pull request #5954 from xtermjs/cursor/align-headless-marker-alt-buffer-2866
...
Allow markers on alt buffer in headless terminal
2026-05-27 14:51:35 -07:00
Cursor Agent and Daniel Imms
fdcd1c2720
Align xterm-headless marker JSDoc with xterm.d.ts
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 21:46:20 +00:00
Cursor Agent and Daniel Imms
f8cef535c7
Rename altClickForMouseEvents to mouseEventsRequireAlt
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 21:41:44 +00:00
Cursor Agent and Daniel Imms
57b48f6048
Allow markers on alt buffer in headless terminal
...
Remove the alt-buffer guard in headless registerMarker so behavior
matches the browser terminal. Update headless public API and typings
to return IMarker instead of IMarker | undefined.
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 21:28:36 +00:00
Cursor Agent and Daniel Imms
5ad56446b8
Explicitly enable selection when altClickForMouseEvents is on at attach
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 21:20:17 +00:00
Daniel Imms
ec0c93fd5a
Merge pull request #5950 from xtermjs/cursor/writebuffer-dispose-timeout-124c
...
Cancel WriteBuffer innerWrite timers on dispose
2026-05-27 14:14:41 -07:00
Daniel Imms
be339bf796
Merge pull request #5947 from xtermjs/cursor/decoration-bucket-merge-loop-7132
...
Avoid spread when merging decoration line buckets
2026-05-27 13:15:37 -07:00
Cursor Agent and Daniel Imms
fbb2a9710f
Add altClickForMouseEvents option for issue #5952
...
When enabled during mouse events mode, click/drag/move events require the alt
key while wheel events are unaffected. Selection stays enabled by default
and takes precedence over macOptionClickForcesSelection.
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 20:13:31 +00:00
Daniel Imms
7294124736
Merge pull request #5945 from xtermjs/cursor/bufferline-stringbuilder-5939-79f8
...
Use StringBuilder in BufferLine.translateToString
2026-05-27 13:11:02 -07:00
Daniel Imms
2c3fad39af
Merge pull request #5948 from xtermjs/cursor/hoist-get-current-link-id-e29d
...
Hoist _getCurrentLinkId() in print() loop
2026-05-27 13:09:09 -07:00
Cursor Agent and Daniel Imms
edb4f89dd8
Add WriteBuffer regression tests for dispose and hot paths
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 20:00:06 +00:00
Cursor Agent and Daniel Imms
224c113b64
Move linkId declaration above use site in print loop
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 19:36:45 +00:00
Cursor Agent and Daniel Imms
3e0c7d18e5
Register WriteBuffer cleanup via toDisposable in constructor
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 19:35:58 +00:00
Daniel Imms
95d9224b8c
Merge pull request #5946 from xtermjs/cursor/fix-duplicate-buildnumber-guard-cbb8
...
Fix duplicate buildNumber guard in Windows ConPTY logic
2026-05-27 12:34:08 -07:00
Cursor Agent and Daniel Imms
7499a2181d
Use DisposableStore.isDisposed instead of duplicate flag
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 19:34:08 +00:00
Daniel Imms
7dc820f5fa
Merge pull request #5949 from xtermjs/cursor/rename-headless-register-marker-22c3
...
Rename headless core addMarker → registerMarker
2026-05-27 12:33:02 -07:00
Cursor Agent and Daniel Imms
e59a6c1f7b
Reuse shared StringBuilder in BufferLine.translateToString
...
Avoid per-call allocation when translating many lines in sequence by
resetting a module-level work StringBuilder before and after each use.
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 19:31:00 +00:00
Daniel Imms
f3e2c08a5d
Merge pull request #5944 from xtermjs/cursor/buffer-reflow-single-loop-sum-705e
...
perf: use single loop for cellsNeeded sum in BufferReflow
2026-05-27 12:28:08 -07:00
Daniel Imms
b138bf38d0
Merge pull request #5943 from xtermjs/cursor/remove-duplicate-defineproperty-57b2
...
Remove duplicate Object.defineProperty loop in headless Terminal
2026-05-27 12:26:36 -07:00
Cursor Agent and Daniel Imms
c6e4627b45
Hoist _getCurrentLinkId() in print() loop
...
Avoid calling _getCurrentLinkId() twice per codepoint when a hyperlink
is active by reading the link id once before the print loop.
Fixes #5940
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 18:18:24 +00:00
Cursor Agent and Daniel Imms
d91045dc5f
Cancel WriteBuffer innerWrite timers on dispose
...
Guard _innerWrite and public write methods after disposal so pending
setTimeout continuations cannot run against a disposed terminal.
Fixes #5936
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 18:18:22 +00:00
Cursor Agent and Daniel Imms
41dfdba2cf
Avoid spread when merging decoration line buckets
...
Replace existing.push(...bucket) with an indexed loop in
_mergeLineBucket to avoid intermediate array allocations during
buffer trim/insert/delete re-indexing.
Reuse _mergeLineBucket in _handleBufferLinesTrim for consistency.
Fixes #5941
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 18:18:13 +00:00
Cursor Agent and Daniel Imms
ba33decb68
Rename headless core addMarker to registerMarker
...
Align headless Terminal core API with browser CoreBrowserTerminal
and the public registerMarker naming.
Fixes #5938
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 18:18:01 +00:00
Cursor Agent and Daniel Imms
17e3b84bcc
perf: use single loop for cellsNeeded sum in BufferReflow
...
Replace map().reduce() with one accumulator loop in
reflowSmallerGetNewLineLengths to avoid allocating an intermediate
array when summing wrapped line trimmed lengths.
Fixes #5942
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 18:17:17 +00:00
Cursor Agent and Daniel Imms
182ff2f635
Remove duplicate Object.defineProperty loop in headless Terminal
...
The constructor defined property getters/setters twice on _publicOptions;
the first block was immediately overwritten by the second. Align with the
browser public Terminal implementation.
Fixes #5935
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 18:17:08 +00:00
Cursor Agent and Daniel Imms
bcb4e5298b
Fix duplicate buildNumber guard in Windows ConPTY logic
...
The windowsPty option change handler checked buildNumber twice
instead of requiring both backend and buildNumber to be defined.
This aligns with Buffer.ts and ensures ConPTY wrapping heuristics
are evaluated only when both fields are present.
Fixes #5934
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 18:16:54 +00:00
Cursor Agent and Daniel Imms
42facac2d9
Use StringBuilder in BufferLine.translateToString
...
Replace O(n²) string concatenation in the translate loop with
StringBuilder.append, matching the pattern used elsewhere in the project.
Fixes #5939
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 18:16:51 +00:00
Daniel Imms
2ab0f10a26
Merge pull request #5929 from xtermjs/cursor/atlas-cache-texture-size-7cad
...
fix(webgl): include texture size and cell dimensions in atlas cache equality
2026-05-27 10:31:32 -07:00
Daniel Imms
280dc0a36a
Merge pull request #5927 from xtermjs/cursor/webgl-vao-dispose-ef2f
...
fix(addon-webgl): delete VAOs on renderer dispose
2026-05-27 09:34:46 -07:00
Daniel Imms
ebe8cb749a
Merge pull request #5928 from xtermjs/cursor/fix-dcs-osc-apc-payload-o-n-f60b
...
Fix O(n²) payload accumulation in DCS/OSC/APC handlers
2026-05-27 09:32:42 -07:00
Daniel Imms
c28f3c8d73
Merge pull request #5922 from xtermjs/cursor/remove-stale-sgr-fixme-e362
...
Remove stale FIXME comments from charAttributes JSDoc
2026-05-27 09:28:29 -07:00
Daniel Imms
3bd7ac083a
Merge pull request #5923 from xtermjs/cursor/texture-atlas-remove-emitter-leak-75ac
...
Fix TextureAtlas remove-emitter leak on dispose
2026-05-27 09:27:51 -07:00
Cursor Agent and Daniel Imms
30b42838fd
Extract StringBuilder and LimitedStringBuilder with unit tests
...
Replace PayloadStringBuffer with LimitedStringBuilder from common.
Add thorough StringBuilder and LimitedStringBuilder test coverage.
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 16:27:26 +00:00
Daniel Imms
80e832e417
Merge pull request #5930 from xtermjs/cursor/webgl-ilogservice-5921-3745
...
fix(addon-webgl): use ILogService instead of console for logging
2026-05-27 09:21:12 -07:00
Daniel Imms
470947abd8
Merge pull request #5931 from xtermjs/cursor/headless-clear-markers-ccc0
...
fix(headless): clear markers when clear() is called
2026-05-27 09:18:17 -07:00
Daniel Imms
bb49a80ace
Merge branch 'master' into cursor/headless-clear-markers-ccc0
2026-05-27 09:13:38 -07:00
Daniel Imms
65b87e0f40
Merge pull request #5933 from xtermjs/cursor/replace-clone-with-structuredclone-34fc
...
Replace custom clone utility with structuredClone
2026-05-27 09:12:41 -07:00
Daniel Imms
39fc0f259e
Merge pull request #5932 from xtermjs/cursor/webgl-context-loss-timeout-dispose-3f04
...
Clear WebGL context-loss timeout on WebglRenderer dispose
2026-05-27 09:10:07 -07:00
Daniel Imms
b787ac8b1b
Merge pull request #5924 from xtermjs/cursor/selection-trim-listener-leak-135c
...
Fix SelectionService trim listener leak
2026-05-27 09:10:04 -07:00
Daniel Imms
457efbf55d
Merge pull request #5925 from xtermjs/cursor/fix-onwillopen-error-logging-7e14
...
Log onWillOpen handler errors instead of swallowing them
2026-05-27 09:00:33 -07:00
Daniel Imms
42270a0b68
Merge pull request #5926 from xtermjs/cursor/fix-flushsync-onwriteparsed-7a21
...
Fix flushSync() to fire onWriteParsed
2026-05-27 09:00:13 -07:00
Cursor Agent and Daniel Imms
090b77f354
Replace custom clone utility with structuredClone
...
Remove common/Clone.ts and its tests. Use the native structuredClone API
for cloning default modes, options, and test fixtures.
Fixes #5911
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 15:41:00 +00:00
Cursor Agent and Daniel Imms
534ce1365b
Clear WebGL context-loss timeout on WebglRenderer dispose
...
Fixes #5919
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 15:40:10 +00:00
Cursor Agent and Daniel Imms
f757c965ee
fix(addon-webgl): keep VAO WebGL types non-nullable
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 15:38:58 +00:00
Cursor Agent and Daniel Imms
4aa02f3fd9
fix(addon-webgl): route logging through ILogService instead of console
...
Replace direct console.log/warn/error calls in the WebGL addon with
ILogService so messages respect the terminal logLevel and custom logger.
Fixes xtermjs/xterm.js#5921
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 15:37:09 +00:00
Cursor Agent and Daniel Imms
f43273b3f0
fix(webgl): include texture size and cell dimensions in atlas cache equality
...
configEquals omitted deviceMaxTextureSize, deviceCellWidth, and
deviceCellHeight, which could cause the char atlas cache to reuse an
atlas built for a different GPU texture limit or cell size.
Fixes #5915
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 15:35:05 +00:00
Cursor Agent and Daniel Imms
c06c3025f2
fix(addon-webgl): delete VAOs on renderer dispose
...
Register vertex array objects for disposal in GlyphRenderer and
RectangleRenderer, matching existing buffer and program cleanup.
Fixes #5918
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 15:35:04 +00:00
Daniel Imms
1064e4f783
Merge pull request #5812 from JeffreyCA/osc8-hover-fix
...
Underline entire wrapped OSC 8 links on hover
2026-05-27 08:34:50 -07:00
Cursor Agent and Daniel Imms
fad4821fd9
Fix O(n²) payload accumulation in DCS/OSC/APC handlers
...
Replace repeated string concatenation with a chunk buffer that joins
once on completion. Fixes #5916 .
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 15:34:48 +00:00
Cursor Agent and Daniel Imms
306c3d73ec
Fix flushSync() to fire onWriteParsed
...
flushSync() processes pending writes synchronously (e.g. during
CoreTerminal.resize()) but did not emit onWriteParsed, unlike the
async _innerWrite path. Addons listening for parse completion could
miss updates after resize.
Fixes #5912
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 15:34:26 +00:00
Cursor Agent and Daniel Imms
8f2bb32c9c
fix(headless): clear markers when clear() is called
...
Headless clear() now calls buffer.clearAllMarkers() to match the browser
implementation, preventing markers from surviving clear() and pointing at
wrong lines.
Fixes #5910
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 15:34:00 +00:00
Cursor Agent and Daniel Imms
7b6c814566
Log errors from onWillOpen handlers instead of swallowing them
...
Fixes #5920
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 15:33:48 +00:00
Cursor Agent and Daniel Imms
adc9dea083
Fix TextureAtlas remove-emitter leak on dispose
...
Dispose _onRemoveTextureAtlasCanvas in TextureAtlas.dispose() alongside
_onAddTextureAtlasCanvas to avoid leaking listeners when the atlas is torn down.
Fixes #5917
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 15:33:28 +00:00
Cursor Agent and Daniel Imms
d565a2750e
Fix SelectionService trim listener leak with MutableDisposable
...
Register _trimListener via _register(MutableDisposable) so it is disposed
when SelectionService is torn down. Use .value assignment on buffer
activate instead of manual dispose/swap.
Fixes #5914
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 15:33:20 +00:00
Cursor Agent and Daniel Imms
c5ab83d697
Remove stale FIXME comments from charAttributes JSDoc
...
Fixes #5913 . Blinking is supported in renderers via TextBlinkStateManager,
and bright background colors (100-107) are handled in the SGR loop.
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 15:33:03 +00:00
c62e6dd765
Register BufferNamespaceApi onBufferActivate listener with disposables ( #5906 )
...
Wrap the onBufferActivate subscription in this._register so it is
disposed when BufferNamespaceApi is disposed, matching the pattern used
elsewhere in the codebase.
Co-authored-by: Cursor Agent <cursoragent@cursor.com >
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 04:39:27 +00:00
Daniel Imms
29a07f1d8f
Merge pull request #5905 from xtermjs/cursor/multiline-comment-style-5899-d349
...
Add multiline-comment-style lint rule
2026-05-26 21:05:48 -07:00
Cursor Agent and Daniel Imms
88cef97049
Attach method signatures to last handler JSDoc line in Types.ts
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 04:01:00 +00:00
Cursor Agent and Daniel Imms
0e823004e6
Use single-line JSDoc comments per handler in Types.ts
...
Document multi-variant escape handlers with separate /** ... */ lines
instead of multiline blocks.
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-27 03:59:42 +00:00
Cursor Agent and Daniel Imms
df3422fb0b
Use jsdoc/multiline-blocks instead of multiline-comment-style
...
Replace multiline-comment-style (starred-block), which also forces
multiline // comments into block comments, with jsdoc/multiline-blocks.
That rule only enforces starred JSDoc layout for /** blocks (no text on
the opening line) and leaves multiline // comments unchanged for
internal documentation.
Fix multiline JSDoc in Types.ts.
Fixes #5899
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-26 20:32:23 +00:00
Cursor Agent and Daniel Imms
4ec85e67ba
Add multiline-comment-style lint rule and fix violations
...
Enable multiline-comment-style with starred-block to require JSDoc-style
block comments with content on separate lines from the opening delimiter.
Auto-fix existing violations across the codebase.
Fixes #5899
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-26 20:15:55 +00:00
Daniel Imms
1a67b6f4b3
Merge pull request #5903 from xtermjs/cursor/space-unary-ops-5898-604c
...
Add space-unary-ops lint rule to prevent space after !
2026-05-26 13:01:20 -07:00
Daniel Imms
afaed108e4
Merge pull request #5828 from lawrence3699/fix/addon-ligatures-prepublish-only
...
fix(addon-ligatures): run package build on publish
2026-05-26 12:26:53 -07:00
Daniel Imms
c27d6bb462
Merge branch 'master' into fix/addon-ligatures-prepublish-only
2026-05-26 12:26:23 -07:00
Daniel Imms
9c4f0f96ca
Merge pull request #5831 from juspay/fix/intersection-observer-nullify
...
Clear IntersectionObserver reference on dispose
2026-05-26 12:23:13 -07:00
Daniel Imms
18c370a154
Merge pull request #5813 from CodinGame/fix-wrong-window-regression
...
Use element window instead of global object
2026-05-26 12:18:29 -07:00
Daniel Imms
850f4ad738
Merge pull request #5872 from xtermjs/dependabot/npm_and_yarn/fast-uri-3.1.2
...
Bump fast-uri from 3.1.0 to 3.1.2
2026-05-26 12:15:57 -07:00
Daniel Imms
b665f6259a
Merge pull request #5871 from xtermjs/dependabot/npm_and_yarn/axios-1.15.2
...
Bump axios from 1.15.0 to 1.15.2
2026-05-26 12:15:54 -07:00
Cursor Agent and Daniel Imms
d195dc9a3b
Add space-unary-ops lint rule and fix SixelHandler violation
...
Enable @stylistic/space-unary-ops to warn on spaces after unary
operators like ! in conditions. Fix existing violation in SixelHandler.
Fixes #5898
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-26 18:03:15 +00:00
Daniel Imms
4e5994d8a2
Merge pull request #5902 from Tyriar/tyriar/cell_opt
...
Optimize forEachDecorationAtCell by maintaining cache against buffer line index
2026-05-26 10:52:17 -07:00
Daniel Imms and Cursor
4a0cb5ae6b
Add MicrotaskTimer and use it for decoration line index sync
...
Introduce MicrotaskTimer as a TimeoutTimer-style helper that schedules a
single runner via queueMicrotask, with set and cancel but no cancelAndSet.
Use it in DecorationLineCache to batch insert/delete line-index updates after
marker line adjustments, replacing ad-hoc queueMicrotask scheduling.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-26 09:52:53 -07:00
Daniel Imms and Cursor
9e72a4b6d3
Refactor decoration line index into DecorationLineCache
...
Extract the per-line lookup index from DecorationService into an exported
DecorationLineCache class in the same module, with DecorationService listed
first for readability.
Optimize buffer insert/delete maintenance to shift map keys in O(unique
indexed lines) instead of full re-indexing every affected decoration. Only
multi-line decorations that span the mutation point get a full re-index.
Add a direct DecorationLineCache unit test in DecorationService.test.ts.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-26 09:47:11 -07:00
Daniel Imms and Cursor
f484584b70
Speed up decoration cell lookup with a per-line index
...
Refs #5176 .
forEachDecorationAtCell and getDecorationsAtCell previously scanned every
registered decoration on each call. With thousands of search highlights this
becomes O(total decorations) per cell and blocks rendering during viewport
refreshes.
Maintain a Map of buffer line -> decorations that cover that line. Multi-line
decorations are indexed on every line in their span, so mixed single-line and
multi-line workloads stay fast without falling back to a full scan.
Keep the index aligned with buffer mutations:
- Register and unregister decorations in the line buckets on add/dispose.
- On trim, shift line keys synchronously (before marker handlers run).
- On insert/delete, re-index affected decorations in a microtask after marker
line updates are applied.
Inject IBufferService so line listeners follow the active buffer. Add unit
tests for trim, dispose-on-trim, insert, and dense single-line plus multi-line
lookup. Add DecorationService.benchmark.ts to measure sparse hits and
viewport-sized grid scans with 20k decorations.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-26 09:30:25 -07:00
Jörg Breitbart
5a6427e867
Merge branch 'master' into package_upgrades
2026-05-21 13:45:03 +02:00
Jörg Breitbart
8519ac6d99
Merge branch 'master' into package_upgrades
2026-05-21 13:34:12 +02:00
jerch
ae611694de
Merge branch 'master' into iip_enhancements
2026-05-21 12:47:09 +02:00
Daniel Imms
e749cb6125
Merge pull request #5891 from Tyriar/cross-env
...
Remove cross-env dep
2026-05-21 03:17:50 -07:00
Daniel Imms
8df996f9e7
Merge pull request #5892 from Tyriar/tyriar/deps
...
Remove @types/debug and trusted-types
2026-05-21 03:17:24 -07:00
Daniel Imms
51f6186352
Remove @types/debug and trusted-types
2026-05-21 03:09:41 -07:00
Daniel Imms
ae5c41c518
Merge pull request #5890 from Tyriar/utf8
...
Remove utf8 dep
2026-05-21 03:09:04 -07:00
dependabot[bot]
17e7dafa17
Bump axios from 1.15.0 to 1.15.2
...
Bumps [axios](https://github.com/axios/axios ) from 1.15.0 to 1.15.2.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.15.0...v1.15.2 )
---
updated-dependencies:
- dependency-name: axios
dependency-version: 1.15.2
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-21 10:06:53 +00:00
Daniel Imms
df9fb7e473
Remove cross-env dep
2026-05-21 03:06:53 -07:00
dependabot[bot]
41d9c4080f
Bump fast-uri from 3.1.0 to 3.1.2
...
Bumps [fast-uri](https://github.com/fastify/fast-uri ) from 3.1.0 to 3.1.2.
- [Release notes](https://github.com/fastify/fast-uri/releases )
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.0...v3.1.2 )
---
updated-dependencies:
- dependency-name: fast-uri
dependency-version: 3.1.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-21 10:06:23 +00:00
Daniel Imms
f100e93ba5
Remove utf8 dep
2026-05-21 03:04:16 -07:00
Daniel Imms
1d3825d341
Merge pull request #5889 from Tyriar/deepEqual
...
Remove deep-equal/types packages
2026-05-21 03:03:37 -07:00
Daniel Imms
57315e6cc9
Remove deep-equal/types packages
2026-05-21 02:58:43 -07:00
Daniel Imms
2be4fc68e5
Merge pull request #5884 from sotasan/addon-image-kitty-q2-suppresses-ok
...
addon-image: Kitty graphics q=2 should suppress OK responses too
2026-05-21 02:37:53 -07:00
Daniel Imms
66fabfc232
Merge pull request #5878 from PerBothner/demo-size-style
...
demo - indicate screen area size when non-auto
2026-05-21 02:36:24 -07:00
Daniel Imms
3e2a42eb29
Merge pull request #5883 from vsych/fix-webgl-atlas-merge-stale-vertices
...
Fix webgl rendering corruption from atlas page merges
2026-05-21 02:26:03 -07:00
Daniel Imms
6a47d09b4c
Merge pull request #5888 from Tyriar/tyriar/nal-trace
...
Git ignore cursor nal-traces
2026-05-21 02:18:06 -07:00
Daniel Imms
b36001ee7b
Git ignore cursor nal-traces
2026-05-21 02:17:43 -07:00
Daniel Imms
e64f25a0dd
Merge pull request #5880 from ciembor/master
...
Add 4bit to the Real-world uses section.
2026-05-21 02:13:34 -07:00
Victor Sych
3bcb57545e
Re-upload atlas textures after page merges
2026-05-21 04:59:37 +02:00
Victor Sych
dc726a2ae6
Fix webgl rendering corruption from atlas page merges
2026-05-19 02:27:15 +02:00
Sōta
06e5ac7ab4
addon-image: Kitty graphics q=2 should suppress OK responses too
2026-05-18 18:26:32 +02:00
Maciej Ciemborowicz
c6e3492a4a
Add 4bit to the Real-world uses section.
2026-05-14 04:45:52 +02:00
Per Bothner
86291b6e96
Highlight xterm-screen when size is non-auto
2026-05-12 17:53:33 -07:00
Daniel Imms
c8c8b3a7fe
Merge pull request #5875 from zeertzjq/kitty
...
Fix keys getting swallowed when enabling only "Report event types"
2026-05-12 04:23:01 -07:00
zeertzjq
50e90ddf8a
Fix keys getting swallowed when enabling only "Report event types"
...
Per kovidgoyal/kitty#9999, enabling "Report event types" without
"Disambiguate escape codes" doesn't really make sense, and terminals may
choose whatever behavior they think makes sense. However, keys shouldn't
get swallowed (which, after #5791 , happens when the !useCsiU branch
cannot handle the event), so instead make "Report event types" imply
"Disambiguate escape codes".
2026-05-12 13:41:22 +08:00
jerch
772df0cb98
Merge branch 'master' into iip_enhancements
2026-05-11 17:03:53 +02:00
jerch
aa93189cc5
Merge branch 'master' into package_upgrades
2026-05-11 16:57:49 +02:00
Daniel Imms
7059a07c09
Merge pull request #5874 from xtermjs/clipboard_base64
...
clipboard addon: various fixes
2026-05-11 06:43:58 -07:00
Daniel Imms
c5c6fc2a64
Merge pull request #5791 from zeertzjq/kitty
...
Fix kitty keyboard "Report event types" behavior not matching spec
2026-05-11 06:42:32 -07:00
zeertzjq
e0add7fe4b
Move return earlier
2026-05-11 14:11:28 +08:00
zeertzjq
b0f5bc2d28
Fix kitty keyboard "Report event types" behavior not matching spec
...
According to spec:
- The Enter, Tab and Backspace keys will not have release events unless
"Report all keys as escape codes" is also set.
- Key events that result in text are reported as plain UTF-8 text, so
events are not supported for them, unless the application requests
"key report" mode.
I checked kitty's behavior. While it does report release events for keys
that result in text as CSI sequences, press and repeat events for these
are reported as plain UTF-8 text. This commit changes Xterm.js to match
this behavior.
2026-05-11 13:59:01 +08:00
Jörg Breitbart
f82a8029d2
fix README
2026-05-10 21:27:52 +02:00
Jörg Breitbart
a2f321c887
add multipart demo
2026-05-10 21:08:22 +02:00
Jörg Breitbart
eb58cefa8e
add integration tests for filepart
2026-05-10 20:34:43 +02:00
Jörg Breitbart
d92ca87cbe
add qoi metrics test
2026-05-10 19:32:47 +02:00
Jörg Breitbart
c5a11220c1
always refer to navigator.clipboard in default provider
2026-05-10 18:00:26 +02:00
Jörg Breitbart
6f55150485
make linter happy
2026-05-10 17:06:08 +02:00
Jörg Breitbart
c8dddddbbb
remove js-base64 dependency
2026-05-10 16:45:46 +02:00
jerch
224167bbbe
Merge branch 'master' into iip_enhancements
2026-05-09 22:59:22 +02:00
Jörg Breitbart
740fa44ae4
make webfont loading tests more resilient
2026-05-09 18:13:16 +02:00
Jörg Breitbart
636baa8d79
make webfont loading tests more resilient
2026-05-09 18:06:59 +02:00
Jörg Breitbart
44a27dc958
make webfont loading tests more resilient
2026-05-09 17:59:33 +02:00
Jörg Breitbart
dc1ae4514b
package upgrades & linter fixes
2026-05-09 17:42:49 +02:00
Daniel Imms
6ba731d73b
Merge pull request #5867 from Tyriar/inst_const_enuym
...
Add disposable/const enum agent instructions, convert a lot of top level consts to const enums
2026-05-02 06:59:12 -07:00
Daniel Imms
2d3909be2c
Fix lint
2026-05-02 06:54:41 -07:00
Daniel Imms
1e189625fa
Merge remote-tracking branch 'upstream/master' into inst_const_enuym
2026-05-02 06:49:10 -07:00
Daniel Imms
80debafa11
Convert a lot of top level consts to const enums
2026-05-02 06:44:25 -07:00
Daniel Imms
1023e40428
Merge pull request #5864 from Tyriar/tyriar/bufferline_cache
...
Cache translateToString calls inside BufferLine
2026-05-02 06:30:49 -07:00
Daniel Imms
5c47e6dd9a
Add instructions around MutableDisposables and const enums
2026-05-02 06:30:18 -07:00
Daniel Imms
4ebb3fffe9
Ignore cache keys in serialize addon
...
Bit hacky, but this is due to the way we're serializing the line in the test
2026-05-02 06:21:42 -07:00
Daniel Imms
093e81b9a7
Fix build, lint
2026-05-02 06:07:41 -07:00
Daniel Imms
e04dd2501f
Avoid thrashing timeouts
2026-05-02 05:58:56 -07:00
Daniel Imms
d911b40a47
Avoid any in test
2026-05-02 05:52:33 -07:00
Daniel Imms
3dbfa7ce3e
Convert cache to Disposable
2026-05-02 05:48:08 -07:00
Daniel Imms
6287c6ddfe
Cache/buffer lifecycle
2026-05-02 05:44:13 -07:00
Daniel Imms
52d4b2719c
Move cache into Buffer owned object, use WeakRefs
...
This allows O(1) clearing of the cache, a single TTL timer and we
can avoid making BufferLine's Disposable
2026-05-02 05:32:43 -07:00
Daniel Imms
7615cd210a
Store a boolean on whether the cache is trimmed
2026-05-02 04:35:18 -07:00
Daniel Imms
4d4b994c35
Support caching of trimRight
2026-05-02 04:35:18 -07:00
Daniel Imms
7fa8b7a069
Merge branch 'master' into tyriar/bufferline_cache
2026-05-02 03:56:22 -07:00
Daniel Imms
a2e51e8d36
Merge pull request #5865 from Tyriar/tyriar/image
...
Fix integration test defaults
2026-05-01 16:22:01 -07:00
Daniel Imms
f89253d24b
Fix integration test defaults
...
Broke due to 2 recent conflicting PRs
2026-05-01 16:17:16 -07:00
Daniel Imms
7aeee95346
Merge remote-tracking branch 'upstream/master' into tyriar/bufferline_cache
2026-05-01 16:10:45 -07:00
Daniel Imms
66fcdb2583
Fix test/startCol handling
2026-05-01 14:11:14 -07:00
Daniel Imms
2a18600d18
Cache translateToString calls inside BufferLine
...
Fixes #5863
2026-05-01 14:06:39 -07:00
Daniel Imms
5ef4f86543
Merge pull request #5846 from xtermjs/qoi_decoder
...
QOI support for IIP
2026-05-01 10:28:25 -07:00
Daniel Imms
874e767b40
Merge pull request #5840 from xtermjs/fix_apc
...
changes in APC handling
2026-05-01 10:22:52 -07:00
Daniel Imms
605a7c6e30
Merge pull request #5844 from xtermjs/adjust_image_addon_defaults
...
adjust image addon defaults
2026-05-01 10:21:58 -07:00
Daniel Imms
802decb046
Merge pull request #5856 from xtermjs/fix_colorbits
...
fix RG colorbits in AttributeData
2026-05-01 10:21:21 -07:00
Daniel Imms
79a95dbfd8
Merge pull request #5857 from nwparker/add-orca-real-world-use
...
Add Orca to real-world uses
2026-05-01 10:20:18 -07:00
Daniel Imms
75ba88c51b
Merge pull request #5862 from Tyriar/05-01-make_agent_instructions_harness_agnostic
...
Make agent instructions harness agnostic
2026-05-01 10:13:01 -07:00
Daniel Imms
f9cea732f2
Make agent instructions harness agnostic
2026-05-01 10:08:04 -07:00
Jörg Breitbart
494cf1f2e1
make linter happy
2026-04-30 16:54:54 +02:00
Jörg Breitbart
645865efec
fix cursor placement in IIP
2026-04-30 16:46:22 +02:00
Jörg Breitbart
83e3657a82
fix _mouseCoordsService access in demo
2026-04-30 15:21:41 +02:00
Jörg Breitbart
53554a05f7
use _coreBrowserService.dpr
2026-04-30 10:44:38 +02:00
Jörg Breitbart
51c8d8abf8
implement ReportCellSize
2026-04-30 10:36:41 +02:00
Jörg Breitbart
05ea5ac324
implement ReportCellSize
2026-04-30 10:33:34 +02:00
Jörg Breitbart
9e27c7debb
filepart handling in IIP
2026-04-29 21:36:45 +02:00
jerch
4dc934ce7c
Merge branch 'master' into qoi_decoder
2026-04-29 15:14:29 +02:00
Jörg Breitbart
b2eff5ac67
merge resize tests for PNG & QOI into one block
2026-04-29 15:09:40 +02:00
Jörg Breitbart
31c53bc9c2
IIP resizing tests for QOI
2026-04-29 14:54:57 +02:00
Jörg Breitbart
0d2975884f
activate tests for webkit
2026-04-29 14:40:31 +02:00
Jörg Breitbart
e8b5fd3c23
add iip resize & qoi tests
2026-04-29 14:28:02 +02:00
Neil
7abcca7e73
Add Orca to real-world uses
2026-04-28 23:57:12 -07:00
Jörg Breitbart
92339ac9dd
fix #5849
2026-04-28 21:45:50 +02:00
jerch
ad4a6e8cb9
Merge pull request #5802 from xtermjs/dependabot/npm_and_yarn/axios-1.15.0
...
Bump axios from 1.13.2 to 1.15.0
2026-04-28 21:37:24 +02:00
jerch
a094340afe
Merge branch 'master' into dependabot/npm_and_yarn/axios-1.15.0
2026-04-28 21:32:51 +02:00
jerch
cc7e3bbbf7
Merge pull request #5855 from xtermjs/dependabot/npm_and_yarn/follow-redirects-1.16.0
...
Bump follow-redirects from 1.15.11 to 1.16.0
2026-04-28 21:31:52 +02:00
jerch
73d87b2c20
Merge branch 'master' into fix_apc
2026-04-28 21:26:18 +02:00
dependabot[bot]
c5bf395b10
Bump follow-redirects from 1.15.11 to 1.16.0
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.11 to 1.16.0.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.11...v1.16.0 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-version: 1.16.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-28 19:25:56 +00:00
jerch
9d24099aa1
Merge pull request #5852 from xtermjs/fix_ci_tests
...
fix CI addon tests
2026-04-28 21:24:47 +02:00
Jörg Breitbart
066c227436
disable firefox webgl
2026-04-28 21:10:52 +02:00
Jörg Breitbart
32ad3a18bf
disable wrong webgl tests
2026-04-28 20:42:38 +02:00
Jörg Breitbart
d43b19c260
fix safari
2026-04-28 19:54:49 +02:00
Jörg Breitbart
7dd0dac859
fix safari
2026-04-28 19:49:21 +02:00
Jörg Breitbart
7e70d6ad78
fix safari
2026-04-28 19:45:06 +02:00
Jörg Breitbart
893cdd494a
remove broken test condition
2026-04-28 19:36:10 +02:00
Jörg Breitbart
2794e32b3f
newer safari promotes different loading state
2026-04-28 19:31:05 +02:00
Jörg Breitbart
7d69e730ca
fix web-fonts tests
2026-04-28 19:24:18 +02:00
Jörg Breitbart
da51d9608c
add missing separator for test arguments
2026-04-28 19:07:35 +02:00
Daniel Imms
3a84bcb7ae
Merge pull request #5766 from SergioChan/fix-image-renderer-desync-5691
...
fix(addon-image): disable desynchronized resize canvas
2026-04-26 16:17:03 -07:00
Jörg Breitbart
d9082215e7
qoi support for IIP
2026-04-26 23:28:18 +02:00
Jörg Breitbart
41938b307e
adjust image addon defaults
2026-04-26 16:44:22 +02:00
Jörg Breitbart
785c3cb336
fix vt feature listing
2026-04-26 14:43:03 +02:00
Jörg Breitbart
ea7e958959
fix vt feature listing
2026-04-26 14:41:36 +02:00
Jörg Breitbart
915b0b81a1
fix vt feature listing
2026-04-26 14:37:30 +02:00
Jörg Breitbart
4e9abe7d96
fix vt feature listing
2026-04-26 14:34:42 +02:00
Jörg Breitbart
84aca0b912
fix ApcParser tests
2026-04-25 15:46:33 +02:00
Jörg Breitbart
d82d42ef9a
APC async tests
2026-04-25 15:12:45 +02:00
Jörg Breitbart
4d2f2e0d8e
handler registration tests, fix mulitple immediates
2026-04-25 14:39:22 +02:00
Jörg Breitbart
56986cb7eb
register APC fallback handler
2026-04-25 11:10:24 +02:00
Jörg Breitbart
4946436997
make linter happy
2026-04-24 17:35:56 +02:00
Jörg Breitbart
bf83ea06e4
better read ahead condition
2026-04-24 17:29:49 +02:00
Jörg Breitbart
b7e535e2ec
APC perf test
2026-04-24 17:09:37 +02:00
Jörg Breitbart
8e12e69e4e
basic read ahead optimization
2026-04-24 16:49:06 +02:00
Jörg Breitbart
849a9a53ca
add state and transition tests
2026-04-24 16:19:02 +02:00
Jörg Breitbart
ee7d84bdd3
make linter happy
2026-04-24 14:19:55 +02:00
Jörg Breitbart
9c8de633e9
multiple changes in APC handling:
...
- change interface to IFunctionIdentifier (API change)
- extend parser states APC_ENTRY, APC_INTERMEDIATE, APC_PASSTHROUGH
- remove APC_STRING
- change ApcParser.start to retrieve ident
- change actions APC_START and APC_PUT
2026-04-24 13:53:31 +02:00
jerch
9c5420371b
Merge pull request #5838 from xtermjs/fix_terminal_benchmark
...
fix utf8 terminal benchmark
2026-04-24 09:24:19 +02:00
Jörg Breitbart
22778b5b49
fix utf8 terminal benchmark
2026-04-24 09:15:26 +02:00
jerch
cbe59a17ae
Merge pull request #5830 from homanp/perf/array-exe-handlers
...
perf: array-indexed execute handler lookup in hot path
2026-04-23 18:59:47 +02:00
jerch
76671cecb6
Merge branch 'master' into perf/array-exe-handlers
2026-04-23 18:50:41 +02:00
jerch
a11fcd2e0b
remove type hint
2026-04-23 18:50:03 +02:00
Ismail Pelaseyed
b28b5d0c2b
perf: use array-indexed lookup for execute handlers in hot path
...
Add a parallel array container for execute handlers (codes < 0x18)
alongside the existing object. Setters populate both, the EXE
fast-path reads from the array with nullish coalescing to avoid
branching. ExecuteHandlerType updated to accept optional ident param
to allow the ?? pattern with the fallback handler.
2026-04-23 18:19:10 +02:00
Sridhar Ratnakumar
685434ca84
Fix IntersectionObserver retention on dispose
2026-04-23 11:35:56 -04:00
jerch
7fe89a1c1a
Merge pull request #5829 from homanp/perf/reset-zdm
...
refactor: add Params.resetZdm() to avoid double call on foreign object
2026-04-23 17:05:15 +02:00
Ismail Pelaseyed
eaebe2ab15
refactor: add Params.resetZdm() to collapse reset+addParam(0) into single call
...
Replaces 10 separate reset()+addParam(0) pairs across the parser with
a single resetZdm() method that inlines both operations, avoiding two
calls to a foreign object per sequence reset.
2026-04-23 16:55:46 +02:00
jerch
32553b4135
Merge pull request #5825 from homanp/perf/csi-fast-path
...
perf: CSI fast-path (+42% throughput)
2026-04-23 16:16:19 +02:00
Ismail Pelaseyed
6c2465d745
docs: note EXE and CSI fast paths in parse method docs
2026-04-23 15:59:27 +02:00
jerch
5922123b9e
Merge branch 'master' into perf/csi-fast-path
2026-04-23 15:53:21 +02:00
Ismail Pelaseyed
eb65910c1b
perf: simplify CSI fast-path - drop intermediate handling and extra length checks
...
Remove intermediate byte handling from the fast-path, bail to table
lookup instead. Remove redundant per-step length checks by requiring
i + 2 < length upfront and letting the for-loop guard the rest.
2026-04-23 15:35:06 +02:00
jerch
f0aeb70c92
make linter happy
2026-04-23 14:39:26 +02:00
jerch
9deec7aabf
make linter happy
2026-04-23 14:36:51 +02:00
Ismail Pelaseyed
18cd9858ed
perf: collapse CSI state guard into single range check
...
Replace three !== checks (OSC_STRING, DCS_PASSTHROUGH, APC_STRING)
with one < OSC_STRING comparison. States below OSC_STRING are all
safe for the CSI fast-path; states above need the normal table path
for proper subparser abort propagation.
2026-04-23 14:09:47 +02:00
Ismail Pelaseyed
6fd7ecc812
perf: move CSI fast-path to top of main loop, add EXE fast-path, improve PRINT unrolling
...
Address reviewer feedback:
- CSI fast-path is now a condition at the top of the codepoint loop
instead of inside CLEAR, avoiding table lookups for the common case
- EXE bytes < 0x18 get a fast-path before the CSI check so control
bytes don't pay the penalty
- PRINT loop unrolling replaced with while-based version that uses
trueish eval and spares individual length checks in the unrolled case
- Removed misplaced PRINT scan-ahead from CSI dispatch
2026-04-23 14:01:19 +02:00
lawrence3699
ff72c00219
fix(addon-ligatures): run package build on publish
2026-04-22 12:57:27 +10:00
Daniel Imms
0911688295
Merge pull request #5817 from juspay/fix/dispose-leaks
...
Fix dispose leaks: register CursorBlinkStateManager + _pausedResizeTask
2026-04-21 12:57:24 -07:00
Daniel Imms
62ce318a07
Merge pull request #5827 from Tyriar/or_lifecycle
...
Improve overview ruler lifecycle
2026-04-21 11:22:09 -07:00
Daniel Imms
08ae141ef7
Improve overview ruler lifecycle
...
Fixes #5826
2026-04-21 11:13:59 -07:00
Ismail Pelaseyed and Claude Opus 4.6
ba7e775a17
fix: move CSI fast-path into CLEAR action to eliminate non-CSI regression
...
The CSI fast-path check previously ran on every byte of input, causing
3-18% regressions on ESCAPE, OSC, DCS, and other non-CSI sequences.
Moving the check into the CLEAR action handler means it only evaluates
after the state machine already identified an ESC byte. The fast-path
body is extracted into a separate _csiFast method to keep the switch
case body small for V8 optimization.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-21 11:19:32 +02:00
Ismail Pelaseyed
487b27f512
try: scan print run after CSI fast-path dispatch
2026-04-21 09:26:07 +02:00
Ismail Pelaseyed
5d120de3d5
try: CSI fast-path - scan entire ESC[params;final without table lookups
2026-04-21 08:50:49 +02:00
slim-forge
3ab299af7f
slim-forge: baseline
2026-04-21 08:38:43 +02:00
slim-forge
6e375cb588
slim-forge: initial harness
2026-04-21 08:38:27 +02:00
Sridhar Ratnakumar
7a6e724bfe
Fix dispose leaks: register CursorBlinkStateManager + _pausedResizeTask
...
Three related disposable-registration gaps that leak xterm Terminal
instances when the host application unmounts a Terminal. Evidence +
full writeup at juspay/kolu#606 .
1. addon-webgl/WebglRenderer._cursorBlinkStateManager was declared
`= new MutableDisposable()` without the `this._register(...)`
wrapper that every sibling MutableDisposable in the class uses.
CursorBlinkStateManager runs a setInterval for the cursor blink
and its `dispose()` correctly clears it — but dispose() was never
called because the disposable wasn't registered. The live timer
kept the renderer (and thus the Terminal) alive past host
unmount.
2. common/TaskQueue.DebouncedIdleTask had no `dispose()` method.
Added one that clears the internal IdleTaskQueue (cancelling any
pending idle callback).
3. browser/services/RenderService._pausedResizeTask (a
DebouncedIdleTask) was not registered. Wrapped with
`this._register(...)` so RenderService.dispose propagates.
Verified in a downstream app (kolu) with a repro that toggles Focus
vs Canvas layout modes:
- Pre-fix: 24/28 disposed xterm Terminals retained past host unmount
+ forced GC.
- Post-fix: 0/28 retained.
Retention chain (before fix):
DOMTimer → ScheduledAction → V8Function
→ CursorBlinkStateManager._renderCallback → WebglRenderer
→ Terminal
2026-04-17 13:32:01 -04:00
Loïc Mangeonjean
69ee4ad23b
fix: use element window instead of global object
2026-04-13 12:51:17 +02:00
Jeffrey Chen
253d1e9beb
Underline entire wrapped OSC 8 link on hover
2026-04-12 20:06:43 -07:00
dependabot[bot]
4b77e601cd
Bump axios from 1.13.2 to 1.15.0
...
Bumps [axios](https://github.com/axios/axios ) from 1.13.2 to 1.15.0.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.13.2...v1.15.0 )
---
updated-dependencies:
- dependency-name: axios
dependency-version: 1.15.0
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-12 08:49:48 +00:00
Anthony Kim
34e0179355
Merge pull request #5794 from anthonykim1/anthonykim1/optionFBKitty
...
Fix macOS Option+key sending wrong codepoint in Kitty keyboard protocol
2026-04-05 22:53:54 -07:00
Anthony Kim
bd722e7b07
keep things clean
2026-04-03 09:46:07 -07:00
Anthony Kim
cccdd447a0
No need to mention vscode link
2026-04-03 09:45:01 -07:00
Anthony Kim
446bcb1f75
Fix option b and f
2026-04-03 09:26:32 -07:00
Anthony Kim
4316263457
Merge pull request #5790 from xtermjs/anthonykim1/closeKittyKeyboardGap
...
Do not report lock key presses without REPORT_ALL_KEYS in Kitty keyboard
2026-04-01 08:44:32 -07:00
Anthony Kim
4a35a4880d
Do not report lock key presses without REPORT_ALL_KEYS in Kitty keyboard protocol
2026-03-31 16:45:52 -07:00
Daniel Imms
ad730f2d54
Merge pull request #5777 from Tyler-V/fix/fit-addon-same-dimension-guard
...
fix(addon-fit): remove redundant same-dimension guard in fit()
2026-03-26 08:09:53 -07:00
Daniel Imms
9c7c163dd4
Merge pull request #5776 from Gaubee/fix/headless-bun-deno-compat
...
Fix @xterm/headless compatibility with Bun and Deno runtimes
2026-03-26 08:05:03 -07:00
Daniel Imms
8674bc5e82
Merge pull request #5780 from PerBothner/extendedAttrs-test
...
Move extendedAttributes function to TestUtils
2026-03-26 07:58:38 -07:00
Daniel Imms
d552be8c45
Merge pull request #5783 from xtermjs/dependabot/npm_and_yarn/multi-bf05dc1ecf
...
Bump picomatch
2026-03-26 07:49:45 -07:00
Daniel Imms
082a51127f
Merge pull request #5779 from xtermjs/dependabot/npm_and_yarn/flatted-3.4.2
...
Bump flatted from 3.3.3 to 3.4.2
2026-03-26 07:49:32 -07:00
dependabot[bot]
89100f6a3d
Bump picomatch
...
Bumps and [picomatch](https://github.com/micromatch/picomatch ). These dependencies needed to be updated together.
Updates `picomatch` from 4.0.3 to 4.0.4
- [Release notes](https://github.com/micromatch/picomatch/releases )
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/picomatch/compare/4.0.3...4.0.4 )
Updates `picomatch` from 2.3.1 to 2.3.2
- [Release notes](https://github.com/micromatch/picomatch/releases )
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/picomatch/compare/4.0.3...4.0.4 )
---
updated-dependencies:
- dependency-name: picomatch
dependency-version: 4.0.4
dependency-type: indirect
- dependency-name: picomatch
dependency-version: 2.3.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-25 21:44:04 +00:00
Per Bothner
8149d4481f
Fix bad import.
2026-03-22 22:04:21 -07:00
Per Bothner
2d9b21f5c7
Move extendedAttributes function to TestUtils so it can be used by InputHandler.test.ts.
...
This is a followup to pull request #5748 .
It removes the remaining test uses of internal _extendedAttrs.
2026-03-22 20:53:13 -07:00
dependabot[bot]
f43985c422
Bump flatted from 3.3.3 to 3.4.2
...
Bumps [flatted](https://github.com/WebReflection/flatted ) from 3.3.3 to 3.4.2.
- [Commits](https://github.com/WebReflection/flatted/compare/v3.3.3...v3.4.2 )
---
updated-dependencies:
- dependency-name: flatted
dependency-version: 3.4.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-21 10:28:04 +00:00
Tyler Vorpahl and Claude Opus 4.6
9f6c7d7ced
fix(addon-fit): remove redundant same-dimension guard in fit()
...
Terminal.resize() already no-ops internally when dimensions haven't
changed. The addon's guard prevented resize() from being called at all,
forcing callers using ResizeObserver-based layouts to use perturbation
workarounds (resize to rows-1, then fit) that race with the observer.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-15 19:35:56 -04:00
Gaubee and Claude Opus 4.6
aa7716a333
Fix @xterm/headless compatibility with Bun and Deno runtimes
...
Replace `window` with `globalThis` in IdleTaskQueue export.
In Bun and Deno, `isNode` is false but `window` is undefined, causing
a ReferenceError. Using `globalThis` is safe in all JS runtimes and
makes the `isNode` guard unnecessary.
This is the only `in window` expression in code bundled into
@xterm/headless.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-15 10:30:12 +08:00
Daniel Imms
1432e20082
Merge pull request #5773 from xtermjs/dependabot/npm_and_yarn/yauzl-3.2.1
...
Bump yauzl from 2.10.0 to 3.2.1
2026-03-15 04:36:59 +09:00
Daniel Imms
f1b0a96094
Merge pull request #5770 from mgabor3141/fix/viewport-sync-output-flicker
...
fix: defer viewport DOM sync during synchronized output (DEC 2026)
2026-03-15 04:35:17 +09:00
Daniel Imms
49096a21fd
Delete src/browser/Viewport.test.ts
...
Trying to remove jsdom eventually, this test is also overly fragile, we'll just do without.
2026-03-15 04:27:01 +09:00
dependabot[bot]
63035678ec
Bump yauzl from 2.10.0 to 3.2.1
...
Bumps [yauzl](https://github.com/thejoshwolfe/yauzl ) from 2.10.0 to 3.2.1.
- [Commits](https://github.com/thejoshwolfe/yauzl/compare/2.10.0...3.2.1 )
---
updated-dependencies:
- dependency-name: yauzl
dependency-version: 3.2.1
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-13 20:11:05 +00:00
Daniel Imms
503abee8ae
Merge pull request #5772 from Tyriar/5771
...
Prefer repeat over Array().join
2026-03-13 11:19:46 +09:00
Daniel Imms
4350536685
Prefer repeat over Array().join
...
Fixes #5771
2026-03-13 11:11:27 +09:00
mgabor3141
9feb963cc9
fix: defer viewport DOM sync during synchronized output
...
Defer Viewport DOM scroll updates while DEC 2026 synchronized output is
active, then flush once rendering resumes so DOM and canvas update
atomically.
Also update demo sizing to avoid relying on removed internal viewport
scrollBarWidth.
2026-03-12 18:51:38 +01:00
mgabor3141
f4042876c6
test: add viewport synchronized-output regression coverage (fails until fix)
2026-03-12 18:50:41 +01:00
mgabor3141
c294695444
refactor: plumb core service into Viewport constructor
2026-03-12 18:50:31 +01:00
Daniel Imms
fe0952bb83
Merge pull request #5769 from Tyriar/4633
...
Only update necessary DOM range on selection change
2026-03-12 11:44:45 +09:00
Daniel Imms
5c2b19f2c8
Only update necessary DOM range on selection change
...
Fixes #4633
2026-03-12 11:36:33 +09:00
Daniel Imms
5e9b2cbc14
Update ImageRenderer.ts
2026-03-12 09:47:51 +09:00
sergiochan
3a59c8ec2b
Fix image layer resize jitter
...
Disable desynchronized 2D canvas mode for image layers so resize paint stays synchronized and avoids blank-frame jitter on some platforms.
Signed-off-by: sergiochan <yuheng9211@qq.com >
2026-03-11 00:36:17 -07:00
Daniel Imms
fb25eb8f79
Merge pull request #5764 from Tyriar/5675
...
Apply font styles directly to spans
2026-03-11 16:09:13 +09:00
Daniel Imms
e7a4578933
Don't apply color to the spans
2026-03-11 16:01:41 +09:00
Daniel Imms
a05a3321d5
Apply font styles directly to spans
...
The universal selector was overriding this since the font styles
only applied to the div, not the span.
Fixes #5675
2026-03-11 13:44:22 +09:00
Daniel Imms
26ce9bd4d3
Merge pull request #5698 from ntomoya/fix/ime-middle-composition-suffix
...
Fix IME input when composing in the middle of the textarea
2026-03-11 13:20:16 +09:00
Daniel Imms
1c1aac0da8
Update src/browser/input/CompositionHelper.ts
2026-03-11 13:12:36 +09:00
Daniel Imms
beeebca1a4
Merge branch 'master' into fix/ime-middle-composition-suffix
2026-03-11 13:06:35 +09:00
Daniel Imms
fd1e53c63f
Merge pull request #5762 from Tyriar/5760
...
Fix RTL breaking IME composition rendering
2026-03-11 12:49:50 +09:00
Daniel Imms
18262c87d9
Merge pull request #5761 from SergioChan/fix/textarea-sync-on-resize-3390
...
fix: sync helper textarea position after resize
2026-03-11 12:48:14 +09:00
Daniel Imms
2285ac6ab8
Fix RTL breaking IME composition rendering
...
Fixes #5760
2026-03-11 12:41:48 +09:00
sergiochan
5302e62c90
fix: sync helper textarea position after terminal resize
2026-03-10 20:38:45 -07:00
Daniel Imms
af6731b533
Merge pull request #5685 from Tyriar/5377_scroll
...
Fix scrolling with touch
2026-03-11 12:27:34 +09:00
Daniel Imms
5b9b531012
Merge branch 'master' into 5377_scroll
2026-03-11 12:19:42 +09:00
Daniel Imms
b0118dfd3a
Merge pull request #5759 from SergioChan/fix/ime-sync-on-compositionstart-5734
...
fix(ime): resync textarea position when composition starts
2026-03-11 12:17:26 +09:00
Daniel Imms
6813fc175e
Merge remote-tracking branch 'upstream/master' into 5377_scroll
2026-03-11 12:15:59 +09:00
Daniel Imms
409f049f39
Update src/browser/CoreBrowserTerminal.ts
2026-03-11 12:02:02 +09:00
sergiochan
9e1b89651a
fix(ime): resync textarea position on composition start
2026-03-10 19:36:17 -07:00
Daniel Imms
89980fc565
Merge pull request #5758 from Tyriar/5754__5756
...
CoreMouseService -> MouseStateService, make mouse services more focused
2026-03-11 11:10:52 +09:00
Daniel Imms
16b5da5c4c
Fix assertion, bring back triggerMouseEvent tests
2026-03-11 11:03:17 +09:00
Daniel Imms
4812abb24f
Merge branch 'master' into 5754__5756
2026-03-11 10:52:13 +09:00
Daniel Imms
5f3a4646be
Move non-state methods into MouseService
...
Fixes #5756
2026-03-11 10:49:55 +09:00
Daniel Imms
d63445be94
Move custom mouse event handler into MouseStateService
...
Don't need to keep it in CoreBrowserTerminal
2026-03-11 10:36:35 +09:00
Daniel Imms
1400398abb
Merge pull request #5757 from Tyriar/5754
...
Move bindMouse into MouseService
2026-03-11 10:32:42 +09:00
Daniel Imms
2331abe6bd
Rename CoreMouseService to MouseStateService
...
Part of #5756
2026-03-11 10:31:57 +09:00
Daniel Imms
b66128b239
Avoid unnecessary
2026-03-11 10:24:46 +09:00
Daniel Imms
c727240f16
Fix cyclic dependency
...
Linkifier -> MouseService -> SelectionService -> Linkifier
2026-03-11 10:23:38 +09:00
Daniel Imms
649ce22081
Move bindMouse into MouseService
...
Fixes #5754
2026-03-11 10:10:13 +09:00
Daniel Imms
73adfdfd56
Merge pull request #5753 from Tyriar/scrollbar_warn
...
Suppress scrollbar warning in demo
2026-03-11 09:44:38 +09:00
Daniel Imms
1fc8a4687d
Suppress scrollbar warning in demo
2026-03-11 09:36:05 +09:00
Daniel Imms
c29e48c917
Merge pull request #5751 from Tyriar/5750
...
Fix error in loadTestLongLines
2026-03-11 09:05:23 +09:00
Daniel Imms
70fe22993b
Merge pull request #5752 from anthonykim1/anthonykim1/fixKittyDisambiguateSpaceEncoding
...
Fix kitty keyboard disambiguate mode for space, enter, tab, backspace
2026-03-11 08:59:12 +09:00
Daniel Imms
4f3a7331bd
Fix error in loadTestLongLines
...
Fixes #5750
2026-03-11 08:57:51 +09:00
Anthony Kim
6f3ce7b0fe
comment
2026-03-10 00:30:29 -07:00
Anthony Kim
fdb7346f3a
Fix kitty keyboard disambiguate mode for space, enter, tab, backspace
2026-03-10 00:27:27 -07:00
Daniel Imms
783c4a34d2
Merge pull request #5747 from anthonykim1/anthonykim1/fixIMEoverFlowing
...
Fix IME composition text overflowing terminal
2026-03-10 11:18:48 +09:00
Daniel Imms
8a1760b924
Merge pull request #5748 from PerBothner/extendedAttrs-test
...
Fix testsuite access to internal _extendedAttrs
2026-03-10 11:16:00 +09:00
Daniel Imms
211db9d067
Merge pull request #5749 from Tyriar/readme
...
Build out getting started section
2026-03-10 11:04:50 +09:00
Daniel Imms
ec6ad20e33
Clean up note about cjs
2026-03-10 11:04:09 +09:00
Daniel Imms
47235f47fe
Build out getting started section
...
Fixes #5725
2026-03-10 11:01:07 +09:00
Per Bothner
8d6ff3a27b
Fix testsuite access to internal _extendedAttrs
2026-03-09 18:19:04 -07:00
Anthony Kim
55281022a0
Fix IME composition text overflowing terminal
2026-03-09 14:32:38 -07:00
Daniel Imms
ea50fbdd1e
Merge pull request #5742 from Tyriar/5721
...
work around Safari sending keycode 13 (enter) when typing ctrl-c (take 2)
2026-03-09 13:54:14 +09:00
Daniel Imms
87bf81cf96
Call out hack, fix lint
2026-03-09 13:44:02 +09:00
Serge
f155c65e5a
work around Safari sending keycode 13 (enter) when typing ctrl-c on iphone, iPad, AppleVisionPro
2026-03-09 13:42:36 +09:00
Daniel Imms
413c87cbf9
Merge pull request #5700 from xtermjs/dependabot/npm_and_yarn/qs-6.14.2
...
Bump qs from 6.14.1 to 6.14.2
2026-03-09 13:16:29 +09:00
Daniel Imms
1620f8f5a8
Merge pull request #5726 from Amtrend/master
...
docs: add SSH Connection Manager to real-world uses
2026-03-09 13:15:32 +09:00
Daniel Imms
e769f80a14
Merge branch 'master' into master
2026-03-09 13:15:13 +09:00
Daniel Imms
6651c4ca23
Merge pull request #5741 from Tyriar/5740
...
Improve readability of celldata/chardata assertions in unit tests
2026-03-09 13:14:22 +09:00
Daniel Imms
cb78a53f57
Merge pull request #5736 from ScottMorse/master
...
README Files: Fix deprecated package references for xterm-headless and xterm
2026-03-09 13:09:53 +09:00
Daniel Imms
1c7b9f6d79
Merge pull request #5729 from masterkain/patch-1
...
Add WooTTY project to README
2026-03-09 13:09:18 +09:00
Daniel Imms
0d535100e4
Merge pull request #5727 from xtermjs/dependabot/npm_and_yarn/minimatch-3.1.5
...
Bump minimatch from 3.1.2 to 3.1.5
2026-03-09 13:08:55 +09:00
Daniel Imms
5e19624e71
Merge pull request #5739 from xtermjs/anthonykim1/addressPerfxterm
...
Remove redundant bitmask in RGB->RGBA conversion
2026-03-09 13:08:27 +09:00
Daniel Imms
671425bf5a
Use helpers in other tests
2026-03-09 13:03:00 +09:00
Daniel Imms
df5393ec45
Use helper function and const for cell data tests
2026-03-09 12:54:27 +09:00
Daniel Imms
b2553c17b4
Clarify indexes in CharData and IColorRGB
...
Part of #5740
2026-03-09 12:42:55 +09:00
Anthony Kim
0cea95d3b3
Make code more readable
2026-03-08 20:33:01 -07:00
Anthony Kim
163868ff60
Remove redundant bitmask in RGB->RGBA conversion
2026-03-07 23:32:02 -08:00
Anthony Kim
f4166a87ba
Merge pull request #5737 from xtermjs/anthonykim1/fixKittyKeyboardFish
...
Fix ^C not working to end for newer fish + kitty keyboard protocol
2026-03-06 09:47:52 -08:00
ScottMorse
f7a353cd34
Fix npm link to deprecated xterm package to @xterm/xterm
2026-03-06 00:14:20 -07:00
ScottMorse
7ec41471da
Fix deprecated references of xterm-headless to @xterm/headless
2026-03-06 00:10:32 -07:00
Anthony Kim
f5e81afba7
Fix ^C not working to end for newer fish + kitty keyboard protocol
2026-03-05 16:46:03 -08:00
Anthony Kim
a12061c899
Merge pull request #5733 from xtermjs/anthonykim/exposeImageCount
...
add onImageAdded to api
2026-03-03 13:11:03 -08:00
Anthony Kim
d6c872bb2c
add onImageAdded to api
2026-03-03 12:19:14 -08:00
Kain
a2cb36e6dd
Add WooTTY project to README
...
Added WooTTY to the list of projects using xterm.js.
2026-03-02 04:23:54 +01:00
dependabot[bot]
114c66c86c
Bump minimatch from 3.1.2 to 3.1.5
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.1.2 to 3.1.5.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-version: 3.1.5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-02-28 03:15:03 +00:00
amtrend
fe9650ce16
docs: add SSH Connection Manager to real-world uses
2026-02-22 17:32:48 +03:00
Anthony Kim
dedf3b1595
Merge pull request #5722 from xtermjs/anthonykim1/placementActions
...
Implment kitty graphics placement action
2026-02-19 20:22:18 -08:00
Anthony Kim
2158827b25
remove non-null assertion, improve lifecycle for bitmap
2026-02-19 15:51:22 -08:00
Anthony Kim
b406797dc7
Merge branch 'master' into anthonykim1/placementActions
2026-02-19 15:07:58 -08:00
Anthony Kim
5c28e27062
Implment kitty graphics placement action
2026-02-19 15:00:33 -08:00
Anthony Kim
6e35b44f02
Merge pull request #5719 from xtermjs/anthonykim1/rectangleCrop
...
Implement rectangle crop + sub-cell offset
2026-02-18 19:37:49 -08:00
Anthony Kim
30c97a225c
Handle more edge cases
2026-02-18 14:41:58 -08:00
Anthony Kim
1186d09e05
add kitty graphics source crop (x/y/w/h) and sub-cell offset (X/Y)
2026-02-18 14:36:02 -08:00
Anthony Kim
d99e6bb2bc
Merge pull request #5718 from xtermjs/anthonykim1/fixZindex
...
Fix image addon overriding screen element z-index
2026-02-17 15:08:14 -08:00
Anthony Kim
579a0a530f
Fix image addon overriding screen element z-index
2026-02-17 14:47:43 -08:00
Daniel Imms
0b6220e5ea
Merge pull request #5716 from codekrafter/sanitize-bracketed-paste
...
feat: sanitize user text when in bracketed paste mode
2026-02-17 10:12:59 -08:00
Anthony Kim
0d119b30d6
Merge pull request #5717 from xtermjs/anthonykim1/constructorFixScreenDpr
...
Revert useDefineForClassFields, fix screenDpr Constructor
2026-02-17 09:38:29 -08:00
Anthony Kim
79c94de968
try not to use !
2026-02-17 09:25:44 -08:00
Anthony Kim
e3980a27db
Revert useDefineForClassFields, fix screenDpr Constructor
2026-02-17 09:24:01 -08:00
Eli Edds
898c0d91c3
feat: sanitize user text when in bracketed paste mode
2026-02-17 12:22:25 -05:00
Daniel Imms
83401e3769
Merge pull request #5715 from xtermjs/anthonykim1/screendpr
...
Dont useDefineForClassField after tsgo migration
2026-02-17 08:48:22 -08:00
Anthony Kim
6b756318f0
Dont useDefineForClassField after tsgo migration
2026-02-17 08:31:53 -08:00
Daniel Imms
3a9bfa94bc
Merge pull request #5619 from xtermjs/anthonykim1/scaffoldKittyAddon
...
Support Kitty graphics protocol mvp
2026-02-16 10:53:49 -08:00
Daniel Imms
209e5aa6b9
Revert formatting to demo/client/tsconfig.json
2026-02-16 07:56:50 -08:00
Anthony Kim
24e2eb9d7b
Use uint32 bit-shifting for rgb->rgba interleaving
2026-02-15 22:15:43 -08:00
Anthony Kim
d5ae437dda
fix more mem leak + cleanups
2026-02-15 20:00:16 -08:00
Anthony Kim
5efff43e93
Convert JSDoc to line comments
2026-02-15 19:21:27 -08:00
Anthony Kim
ee85a1da9e
Copyright is to 2026
2026-02-15 19:15:58 -08:00
Anthony Kim
c30fedff6b
Start clean-up
2026-02-15 18:55:21 -08:00
Anthony Kim
21f51564d1
Fix image layer stacking + tile survival across text write
2026-02-14 20:55:55 -08:00
Anthony Kim
27b01b22ef
Extract KittyImageStorage, prevent mem leak on eviction
2026-02-14 15:17:29 -08:00
Anthony Kim
387ec93a90
Merge remote-tracking branch 'upstream/master' into anthonykim1/scaffoldKittyAddon
2026-02-14 13:29:25 -08:00
Daniel Imms
4388a4ac13
Merge pull request #5695 from xtermjs/anthonykim1/realSeparateImageStoragePerMech
...
Separate image storage per mechanism (sixel, iip)
2026-02-13 12:42:11 -08:00
Daniel Imms
08c97d12b0
Merge pull request #5702 from Tyriar/hooks2
...
Fix hook npm script
2026-02-13 08:34:55 -08:00
Daniel Imms
fbf1f7bc5d
Fix hook npm script
2026-02-13 08:25:59 -08:00
Daniel Imms
c8704930e3
Merge pull request #5701 from Tyriar/hooks
...
Add hook to setup repo when agent starts
2026-02-13 08:18:44 -08:00
Daniel Imms
e60c96823d
Add hook to setup repo when agent starts
...
Fixes #5605
2026-02-13 08:10:16 -08:00
dependabot[bot]
375be97615
Bump qs from 6.14.1 to 6.14.2
...
Bumps [qs](https://github.com/ljharb/qs ) from 6.14.1 to 6.14.2.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ljharb/qs/compare/v6.14.1...v6.14.2 )
---
updated-dependencies:
- dependency-name: qs
dependency-version: 6.14.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-02-13 15:15:15 +00:00
Daniel Imms
74642ce5d5
Merge pull request #5699 from Tyriar/tsgo
...
Migrate to tsgo
2026-02-13 07:14:27 -08:00
Daniel Imms
eccbc60aa0
Migrate to tsgo
...
Fixes #5689
2026-02-13 06:59:24 -08:00
Anthony Kim
6b64660934
fix chunked transfer without repeated i = key
2026-02-12 20:04:21 -08:00
Anthony Kim
10182cc656
Reject unsupporteed transmission medium for a=t and a=T
2026-02-12 18:03:19 -08:00
Anthony Kim
3c7f313c34
Dont send false query
2026-02-12 16:00:48 -08:00
Anthony Kim
457542b7b3
Support deletion
2026-02-12 14:53:37 -08:00
Anthony Kim
36118d9d4c
Merge upstream/master - resolve IIPHandler.ts const enum conflict
2026-02-12 13:47:48 -08:00
Anthony Kim
cf8a4e466d
Merge origin/master into anthonykim1/scaffoldKittyAddon
2026-02-12 13:44:21 -08:00
Anthony Kim
4de03aaa38
Try to reduce duplication from 1d0cf32
2026-02-12 11:03:46 -08:00
Anthony Kim
677e5275f9
Store z-index for drawing order
2026-02-12 10:27:32 -08:00
Tomoya Nakanishi
c66b0ed168
Fix IME input when composing in the middle of the textarea
...
Track the composition range using the textarea selection and avoid re-sending trailing text that existed before composition started (notably in screenReaderMode).
Fixes #5456
2026-02-13 02:43:06 +09:00
Anthony Kim
d4c3b693bb
Remove unnecessary kittyAddon from test_integrations.js
2026-02-12 09:28:51 -08:00
Daniel Imms
2f66b5fdb6
Merge pull request #5697 from Tyriar/5696
...
Avoid forced layout in overview ruler impl
2026-02-12 07:09:35 -08:00
Daniel Imms
008aa1bfb5
Avoid forced layout in overview ruler impl
...
Fixes #5696
2026-02-12 07:00:56 -08:00
Anthony Kim
1d0cf32b28
support z-index + dual canvas for DOM. Doesnt work for webgl
2026-02-11 14:19:27 -08:00
Anthony Kim
c01e4b7be7
Separate image storage per mechanism (sixel, iip)
2026-02-11 10:56:30 -08:00
Daniel Imms
fafb195f0f
Merge pull request #5693 from xtermjs/anthonykim1/demoPixelDimensions
...
Pass pixel dimensions to node-pty in demo
2026-02-11 10:47:14 -08:00
Anthony Kim
2c4997f529
Add test for 200x100 pixel
2026-02-11 10:27:12 -08:00
Anthony Kim
f0d291f645
Merge pull request #5694 from xtermjs/anthonykim1/cleanDemoClientTypes
...
Correct alphabetical ordering in demo/client/types.ts
2026-02-11 09:45:22 -08:00
Daniel Imms
f6b98291cf
Merge pull request #5692 from xtermjs/anthonykim1/bumpWasmIIPHandlerChanges
...
Update wasm decoder to 0.3.0 changes in IIPHandler.ts
2026-02-11 05:43:44 -08:00
Anthony Kim
16ea2ec0ef
Add image demo test for kitty
2026-02-10 21:32:41 -08:00
Anthony Kim
f7118b19c6
Correct alphabetical ordering in demo/client/types.ts
2026-02-10 19:08:12 -08:00
Anthony Kim
a0574f4e9c
Pass pixel dimensions to node-pty in demo
2026-02-10 16:52:15 -08:00
Anthony Kim
d9b5d150ae
Put the const integer into local const enum, save indirection time at runtime
2026-02-10 16:31:17 -08:00
Anthony Kim
a25db1c76d
Update wasm to 0.3.0 changes in IIPHandler.ts
2026-02-10 14:35:34 -08:00
Daniel Imms
c6a572fe21
Merge pull request #5688 from Tyriar/5687
...
Fix kitty modifier events when only flag 2 is used
2026-02-10 01:31:15 -08:00
Daniel Imms
b9fa53169f
Fix kitty modifier events when only flag 2 is used
...
Fixes #5687
2026-02-10 01:17:44 -08:00
Anthony Kim
eb0f5383c3
question..
2026-02-09 16:43:55 -08:00
Anthony Kim
a4502a6d00
Impelement cursor movement after image placement
2026-02-09 14:30:35 -08:00
Anthony Kim
c11a8f43f4
abort in-flight kitty chunks on delete
2026-02-09 13:34:27 -08:00
Anthony Kim
d7ba56cd28
default format png -> rgba perspec
2026-02-09 13:19:41 -08:00
Anthony Kim
be44833f12
send OK response for a=t, a=T transmissions when image id present
2026-02-09 13:04:34 -08:00
Anthony Kim
fcb3cc1a21
add delelteImage, map kitty ID to storage IDs
2026-02-09 11:31:20 -08:00
Anthony Kim
376268157c
add f=24 rgb, f=32 rgba format tests
2026-02-09 09:35:00 -08:00
Anthony Kim
5ceb02b9c6
Release decoder after command ahandler consumes bytes
2026-02-08 00:16:01 -08:00
Anthony Kim
d320898231
offload raw image data to Blob for off-heap storage
2026-02-07 23:30:06 -08:00
Anthony Kim
cf3939af4a
Remove redundant _decodedImages bitmap cache
2026-02-07 23:11:19 -08:00
Daniel Imms
38913e4ae1
Fix scrolling with touch
...
Part of #5377
2026-02-07 16:09:03 -08:00
Daniel Imms
e14746e6e9
Merge pull request #5682 from Tyriar/3440
...
Add attributesEqual and underline diff APIs
2026-02-07 06:37:19 -08:00
Daniel Imms
82333b9414
Remove unnecessary cast
2026-02-07 06:29:33 -08:00
Daniel Imms
9eeb2799c1
Remove internal details about underline cell APIs
2026-02-07 06:24:47 -08:00
Daniel Imms
5630471480
Merge pull request #5684 from Tyriar/5681
...
Make 0x1FB98 and 0x1FB99 perfectly tile
2026-02-07 06:24:05 -08:00
Daniel Imms
e0c59e68b2
Make 0x1FB98 and 0x1FB99 perfectly tile
...
Fixes #5681
2026-02-07 06:12:47 -08:00
Daniel Imms
cc8e680790
Add attributesEqual and underline diff APIs
...
Fixes #3440
2026-02-06 16:21:25 -08:00
Daniel Imms
452ee50c81
Merge pull request #5669 from Tyriar/custom_glyph_alignment
...
Use offset variants for some custom glyphs
2026-02-06 12:58:20 -08:00
Daniel Imms
f41e53a0f0
Use correct non-inverse shade char in testWindow
2026-02-06 12:50:28 -08:00
Anthony Kim
596ab845d0
Make copy of bytes with Uint8Array since they can be reused by decoder
2026-02-05 22:04:04 -08:00
Anthony Kim
a59d527d1a
Mirror const enum since esbuild cant inline const enum
2026-02-05 21:38:33 -08:00
Daniel Imms
b287397c4f
Merge pull request #5680 from Tyriar/5678
...
Move overviewRuler API under scrollbar
2026-02-05 09:29:16 -08:00
Daniel Imms
aebbe81252
Add overviewRuler options to demo
2026-02-05 09:19:26 -08:00
Daniel Imms
d155bb6767
Move overviewRuler API under scrollbar
...
Fixes #5678
2026-02-05 09:14:58 -08:00
Daniel Imms
3a147e8e10
Merge pull request #5679 from Tyriar/scrollbar
...
Add scrollbar.showScrollbar
2026-02-05 07:28:45 -08:00
Daniel Imms
c2db7d4c8a
Add scrollbar.showScrollbar
...
Fixes #5676
2026-02-05 07:20:23 -08:00
Daniel Imms
456bc73bae
Merge pull request #5677 from Tyriar/log_task
...
Use ILogService in TaskQueue
2026-02-05 06:49:05 -08:00
Daniel Imms
2e776c0820
Use ILogService in TaskQueue
2026-02-05 06:40:50 -08:00
Anthony Kim
08f85cf826
Use wasm-parts v0.3.0., remove manual sharding/leftover, update iip!
2026-02-05 00:20:39 -08:00
Daniel Imms
6f163beb97
Merge pull request #5674 from xtermjs/anthonykim1/addScreenElementAPI
...
Add api to expose screenElement
2026-02-04 04:40:37 -08:00
Daniel Imms
b0d0bf8187
Update typings/xterm.d.ts
2026-02-04 04:32:37 -08:00
Anthony Kim
32e77c3b81
Lint
2026-02-03 23:24:57 -08:00
Anthony Kim
e95ec8d4bc
feed to decoder directly, try to clean things before getting upgraded base64 decoder
2026-02-03 17:26:59 -08:00
Anthony Kim
cba6e3d191
Add api to expose screenElement
2026-02-03 15:49:07 -08:00
Anthony Kim
d15b426bd4
Readme edit for kittySupport
2026-02-03 13:53:47 -08:00
Anthony Kim
c907edd75f
Separate out test, add failing//skip test for cursor placements
2026-02-03 13:53:33 -08:00
Daniel Imms
5741e450e6
Merge pull request #5665 from Tyriar/de_vs
...
Remove vs/ module
2026-02-03 07:14:08 -08:00
Daniel Imms
6ef653e589
Merge remote-tracking branch 'upstream/master' into de_vs
2026-02-03 07:05:50 -08:00
Daniel Imms
a4c0e4690e
Make arrows a little less fat
2026-02-03 07:00:33 -08:00
Daniel Imms
a31f78bc8b
Prefix all scrollbar classes with xterm-
2026-02-03 06:57:50 -08:00
Daniel Imms
ca8e8546b5
Remove unused methods on scrollable element
2026-02-03 06:00:24 -08:00
Daniel Imms
3d473b52b6
Further merge and reduce
...
- Remove unused keyboardEvent module
- Trim unused browserEvent in OnStopCallback
- Inline single-use helpers to reduce module surface
- Remove createFastDomNode wrapper
2026-02-03 05:21:03 -08:00
Daniel Imms
a2bec2aeab
Merge pull request #5672 from Tyriar/blink_opt
...
Prevent blink interval from running unless needed
2026-02-03 05:15:45 -08:00
Daniel Imms
205cf6089d
Prevent blink interval from running unless needed
...
Part of #944
2026-02-03 05:07:40 -08:00
Daniel Imms
8b0a6f9785
Enumerate all block pattern codepoints
2026-02-03 05:04:03 -08:00
Daniel Imms
db0226be5c
Add triangular shade chars fill tests
2026-02-03 04:59:10 -08:00
Daniel Imms
ab5c06cf17
Merge abstract and smooth scrollable elements
2026-02-03 04:55:32 -08:00
Daniel Imms
9a778f0c98
Move back to CellColorResolver
2026-02-03 04:53:02 -08:00
Daniel Imms
c102b4af50
Merge pull request #5671 from Tyriar/944
...
Implement blink rendering
2026-02-03 04:03:20 -08:00
Daniel Imms
f3a7cac49f
Handle options within blink state manager
2026-02-03 03:55:25 -08:00
Daniel Imms
0d2a58c9d0
Clean up lifecycle of blink manager
2026-02-03 03:48:28 -08:00
Daniel Imms
8a00898533
Implement blink rendering
...
Fixes #944
2026-02-03 03:46:21 -08:00
Daniel Imms
edb0e1ceb3
Simplify, reduce
...
- Merge ScrollableElement into SmoothScrollableElement
- Prune unused helpers FastDomNode, Widget LinkedList
- Make internal exports non-exported
- Remove redundant guards/aliases
2026-02-03 03:42:19 -08:00
Daniel Imms
93c1650446
Move variant handling out of CellColorResolver.ts
2026-02-03 03:37:57 -08:00
Anthony Kim
1029e19b57
Pre-calculate + fix bug to make sure we dont reset per chunk
2026-02-02 21:27:47 -08:00
Anthony Kim
d44900faa2
Parse control data early as suggested
2026-02-02 20:47:29 -08:00
Anthony Kim
5f724c5924
Reduce MAX_CONTROL_DATA_SIZE + EINVAL for i and I
2026-02-02 20:17:21 -08:00
Daniel Imms
77695cb405
Make arrows configurable via API
2026-02-02 12:33:33 -08:00
Daniel Imms
dc4ebfd6e3
Use offset variants for some custom glyphs
...
Part of #5668
2026-02-02 08:07:04 -08:00
Daniel Imms
fae6f03f90
Consolidate dom and browser helpers, remove unused
2026-02-02 07:09:33 -08:00
Daniel Imms
d36af624cf
Remove vs/, fix lint and build
2026-02-02 06:10:43 -08:00
Daniel Imms
a105d3e457
Lint and remove more parts
2026-02-01 22:36:14 -08:00
Daniel Imms
d5900c7eae
Remove more parts
2026-02-01 22:22:29 -08:00
Daniel Imms
beebe8b5dc
Reduce size of scrollable impl
2026-02-01 21:28:18 -08:00
Anthony Kim
ae58176bcb
Lint
2026-02-01 13:22:02 -08:00
Anthony Kim
429b2882f1
Terminal eixst
2026-02-01 13:18:46 -08:00
Anthony Kim
ffac8c03ab
Merge branch 'master' into anthonykim1/scaffoldKittyAddon
2026-02-01 13:11:40 -08:00
Anthony Kim
a7c4a160a8
flip inControlData thing like in C
2026-02-01 13:08:41 -08:00
Anthony Kim
c9dc994090
TODO for file system stufff
2026-02-01 12:57:45 -08:00
Anthony Kim
e4710d3286
Use sharding, decode with streaming
2026-02-01 12:37:09 -08:00
Daniel Imms
8f9045ed88
Merge pull request #5664 from Tyriar/renderer_tests_wsl
...
Get playwright tests reliably passing in wsl
2026-02-01 08:54:30 -08:00
Daniel Imms
b8e5ec7304
Fix lint
2026-02-01 08:41:01 -08:00
Daniel Imms
6a3d2480e0
Get playwright tests reliably passing in wsl
2026-02-01 08:35:49 -08:00
Daniel Imms
735afde77f
Merge pull request #5663 from Tyriar/image_demo
...
Move remaining addon test buttons into their own windows
2026-02-01 08:34:29 -08:00
Daniel Imms
53efc95170
Move remaining addon test buttons into their own windows
2026-02-01 08:26:20 -08:00
Daniel Imms
3512f140de
Merge pull request #5658 from Tyriar/outline
...
Fix demo button outline
2026-02-01 08:23:59 -08:00
Daniel Imms
dbe35428cb
Merge pull request #5662 from Tyriar/any_fixes
...
Remove some easy any usages
2026-02-01 08:06:33 -08:00
Daniel Imms
297ac838a3
Fix build
2026-02-01 07:58:36 -08:00
Daniel Imms
5316cb0812
Remove some easy any usages
2026-02-01 07:48:40 -08:00
Daniel Imms
c124550971
Merge pull request #5661 from Tyriar/iip
...
Fix copying array data in IIPHandler
2026-02-01 07:23:39 -08:00
Daniel Imms
6525a7e68e
Fix copying array data in IIPHandler
...
Fixes #5660
2026-02-01 07:15:25 -08:00
Daniel Imms
f666135881
Move all impl to scrollable/
2026-02-01 06:25:12 -08:00
Daniel Imms
b2133d93f0
Merge pull request #5659 from Tyriar/dead_code2
...
Remove unreachable code in SGR handling 100
2026-02-01 06:07:15 -08:00
Daniel Imms
a5e4f90139
Remove unreachable code in SGR handling 100
...
The implementation seems to be wrong. This looks like a remnant left over from
term.js before bright SGR was implemented.
2026-02-01 05:59:00 -08:00
Daniel Imms
a27b8feb8f
Fix demo button outline
2026-01-31 22:56:48 -08:00
Daniel Imms
eea03cf0a9
Use lightweight versions of most vs/ imports
2026-01-31 22:52:19 -08:00
Daniel Imms
e96748cc79
Merge pull request #5657 from Tyriar/inst2
...
Correct test copilot instructions
2026-01-31 22:34:43 -08:00
Daniel Imms
334c8170fe
Merge pull request #5654 from Tyriar/5612
...
win32 input mode: Avoid scrolling to bottom on modifier only
2026-01-31 22:34:02 -08:00
Daniel Imms
2bb9662bea
Merge pull request #5656 from Tyriar/cancel
...
Remove cancelEvent/cancel function
2026-01-31 22:26:50 -08:00
Daniel Imms
7cba3c9fa1
Correct test copilot instructions
2026-01-31 22:26:06 -08:00
Daniel Imms
bab7db13db
Remove cancelEvent/cancel function
2026-01-31 22:18:32 -08:00
Daniel Imms
1c79c5511c
Merge pull request #5653 from Tyriar/input_handler_tests
...
Add remaining input handler tests, unskip modes that don't change
2026-01-31 22:09:48 -08:00
Daniel Imms
7b417f4585
win32 input mode: Avoid scrolling to bottom on modifier only
...
Fixes #5612
2026-01-31 22:05:33 -08:00
Daniel Imms
dc487dfd6f
Assert no mode changes and unskip
2026-01-31 22:01:35 -08:00
Daniel Imms
36baf70bea
Unskip supported InputHandler tests
2026-01-31 21:05:36 -08:00
Daniel Imms
87e0b9ab10
Merge pull request #5652 from Tyriar/lint_test
...
Enable linting on test/ folder
2026-01-31 21:04:36 -08:00
Daniel Imms
5e532c13c6
Enable linting on test/ folder
2026-01-31 20:57:51 -08:00
Daniel Imms
db131e0c22
Merge pull request #5651 from Tyriar/ih_tests
...
Implement more InputHandler tests
2026-01-31 18:28:42 -08:00
Daniel Imms
51b9a713da
Implement more InputHandler tests
...
Part of #2117
2026-01-31 18:21:32 -08:00
Daniel Imms
972c069fa3
Merge pull request #5650 from Tyriar/slow_tests_3
...
Speed up TextDecoder.test.ts
2026-01-31 16:48:31 -08:00
Daniel Imms
2c0ba3c058
Speed up TextDecoder.test.ts
...
- Reduce calls to decode and clear
- Consolidate numberic checks
- Increase batch size
2026-01-31 16:42:11 -08:00
Daniel Imms
e515647f99
Merge pull request #5649 from Tyriar/promise
...
Clear dangling timeout that keeps unit tests event loop alive
2026-01-31 16:27:25 -08:00
Daniel Imms
7a2794a552
Clear dangling timeout that keeps unit tests event loop alive
...
This fixes the issue where test-unit could run for up to 5 seconds after
the tests have already finished.
2026-01-31 16:21:03 -08:00
Daniel Imms
da2267a10f
Merge pull request #5648 from Tyriar/slow_tests_2
...
Speed up all remaining unit tests below threshold (40ms?)
2026-01-31 16:09:46 -08:00
Daniel Imms
34e68b1ad4
Speed up all remaining unit tests below threshold (40ms?)
2026-01-31 15:50:51 -08:00
Daniel Imms
1c42957461
Merge pull request #5646 from Tyriar/slow_tests
...
Speed up slow payload limit parser tests
2026-01-31 15:40:10 -08:00
Daniel Imms
77036d3f12
Merge pull request #5647 from Tyriar/fix_benchmark
...
Fix benchmark usage, add instructions
2026-01-31 15:37:17 -08:00
Daniel Imms
ccbf612ddb
Fix lint
2026-01-31 15:33:49 -08:00
Daniel Imms
eed8423030
Clarify runtime cases
2026-01-31 15:30:16 -08:00
Daniel Imms
431d511c95
Fix benchmark usage, add instructions
2026-01-31 15:28:11 -08:00
Daniel Imms
0ca1bd48be
Inline payload limit
2026-01-31 15:21:48 -08:00
Daniel Imms
7ceb15bb83
Reduce payload size to speed up unit tests
...
Reduces 11s -> 8s for full run
2026-01-31 15:17:10 -08:00
Daniel Imms
5ecdc7da44
Make payload limit configurable by tests
2026-01-31 15:08:05 -08:00
Daniel Imms
2e2270d01f
Merge pull request #5645 from Tyriar/events
...
Optimize Emitter.fire for 0 and 1 listeners
2026-01-31 14:51:01 -08:00
Daniel Imms
042bb4bed9
Optimize Emitter.fire for 0 and 1 listeners
...
Before:
Context "Emitter.fire()"
Context "0 listeners"
Case "#1 " : 1 runs - average throughput: 97.77 MB/s
Context "1 listener"
Case "#1 " : 1 runs - average throughput: 49.30 MB/s
Context "2 listeners"
Case "#1 " : 1 runs - average throughput: 35.37 MB/s
Context "5 listeners"
Case "#1 " : 1 runs - average throughput: 15.32 MB/s
After:
Context "Emitter.fire()"
Context "0 listeners"
Case "#1 " : 1 runs - average throughput: 376.94 MB/s
Context "1 listener"
Case "#1 " : 1 runs - average throughput: 84.29 MB/s
Context "2 listeners"
Case "#1 " : 1 runs - average throughput: 32.36 MB/s
Context "5 listeners"
Case "#1 " : 1 runs - average throughput: 15.93 MB/s
2026-01-31 14:42:23 -08:00
Daniel Imms
7e3c41ba49
Merge pull request #5643 from Tyriar/cacheWorkCell
...
Cache work cell in hot loops
2026-01-31 10:33:25 -08:00
Daniel Imms
21e4301e38
Merge pull request #5642 from Tyriar/startsWith
...
Prefer startsWith over indexOf === 0
2026-01-31 10:27:15 -08:00
Daniel Imms
3ef43aedb1
Cache work cell in hot loops
2026-01-31 10:26:15 -08:00
Daniel Imms
9eaf5b45dc
Merge pull request #5641 from Tyriar/padStart
...
Use native padStart over custom impl
2026-01-31 10:25:24 -08:00
Daniel Imms
39037ee806
Prefer startsWith over indexOf === 0
...
Faster and make code clearer
2026-01-31 10:20:44 -08:00
Daniel Imms
e542affaca
Use native padStart over custom impl
2026-01-31 10:17:52 -08:00
Daniel Imms
038883c41b
Merge pull request #5640 from Tyriar/strict_demo
...
Make demo use strict TS compiler mode
2026-01-31 09:32:36 -08:00
Daniel Imms
6c3d4e4ea4
Fix lint
2026-01-31 09:26:05 -08:00
Daniel Imms
659cfddd8c
Merge branch 'master' into strict_demo
2026-01-31 09:24:47 -08:00
Daniel Imms
c375696ee6
Make demo use strict TS compiler mode
2026-01-31 09:22:45 -08:00
Daniel Imms
bc3c376e83
Merge pull request #5628 from Tyriar/5626
...
Support color scheme reporting
2026-01-31 09:18:33 -08:00
Daniel Imms
9fca3d8ecf
Merge branch 'master' into 5626
2026-01-31 09:12:15 -08:00
Daniel Imms
8eed7b4163
Merge pull request #5639 from Tyriar/nullish
...
Add @typescript-eslint/prefer-nullish-coalescing eslint rule
2026-01-31 09:03:35 -08:00
Daniel Imms
c29938ee83
Merge pull request #5634 from Tyriar/const_enum
...
Use const enum in EscapeSequences
2026-01-31 09:00:38 -08:00
Daniel Imms
0e679ea6ae
Use nullish coalescing in KeyboardService
2026-01-31 08:56:53 -08:00
Daniel Imms
d0e8141f7c
Merge branch 'master' into nullish
2026-01-31 08:56:14 -08:00
Daniel Imms
1d322c9e45
Fix name to follow enum rules
2026-01-31 08:54:15 -08:00
Daniel Imms
bad7e329df
Add @typescript-eslint/prefer-nullish-coalescing eslint rule
2026-01-31 08:43:05 -08:00
Daniel Imms
ae5e7e55c8
Merge pull request #5638 from Tyriar/tyriar/comma
...
Add @stylistic/comma-spacing eslint rule
2026-01-31 08:32:49 -08:00
Daniel Imms
5bb2e46508
Merge pull request #5630 from xtermjs/anthonykim1/updateNodePtyVersion
...
Update node-pty to ^1.2.0-beta.9
2026-01-31 08:31:09 -08:00
Daniel Imms
5938b8823d
Add @stylistic/comma-spacing eslint rule
2026-01-31 07:38:16 -08:00
Daniel Imms
69d87c8a30
Merge pull request #5637 from Tyriar/remove_trace
...
Remove trace decorator and unused platform consts
2026-01-30 07:34:45 -08:00
Daniel Imms
a247154650
Merge pull request #5636 from Tyriar/win32__kitty
...
Move kitty input mode into a class to avoid init cost
2026-01-30 07:29:42 -08:00
Daniel Imms
b30d9c3533
Remove trace decorator and unused platform consts
2026-01-30 07:27:38 -08:00
Daniel Imms
60190c1c48
Merge branch 'master' into win32__kitty
2026-01-30 07:23:07 -08:00
Daniel Imms
99d69d2236
Merge pull request #5635 from Tyriar/win32
...
Move win32 input mode into a class to avoid init cost
2026-01-30 07:23:01 -08:00
Daniel Imms
de01d4608c
Move kitty input mode into a class to avoid init cost
2026-01-30 07:09:48 -08:00
Daniel Imms
d35481c3f9
Move win32 input mode into a class to avoid init cost
2026-01-30 07:07:55 -08:00
Daniel Imms
e2d84928b7
Merge pull request #5633 from Tyriar/dead_code
...
Remove unused TypedArrayUtils.ts
2026-01-30 07:00:49 -08:00
Daniel Imms
9ffd16aa9b
Use const enum in EscapeSequences
...
They'll be inlined and only the used ones will show in bundle
2026-01-30 06:55:50 -08:00
Daniel Imms
77fa03d11c
Remove unused TypedArrayUtils.ts
2026-01-30 06:53:02 -08:00
Daniel Imms
01450f044a
Merge pull request #5632 from Tyriar/5631
...
Remove vs dependency in common
2026-01-30 06:39:28 -08:00
Daniel Imms
b04d816d8a
Undo changes to headless/package.json
2026-01-30 06:32:49 -08:00
Daniel Imms
f80dbf3d03
Fix lint, split up namespace and interface
2026-01-30 06:21:15 -08:00
Daniel Imms
b58bd452af
Fix lint
2026-01-30 06:07:30 -08:00
Daniel Imms
e8d99d50a6
Remove vs dependency in common
...
Fixes #5631
2026-01-30 06:03:16 -08:00
Anthony Kim
bae314f67c
Try using the wasm base64 decoder
2026-01-29 01:12:09 -08:00
Anthony Kim
cb8159c4f2
Start integrating KittyGraphics stuff into imageAddon as suggested
2026-01-29 00:53:10 -08:00
Anthony Kim
b87cba4c2a
Update node-pty to ^1.2.0-beta.9
2026-01-28 14:04:46 -08:00
Anthony Kim
492d950b64
Add TODOs from jerch's comments
2026-01-28 09:17:44 -08:00
Anthony Kim
a1b69e5ac8
TODO on wasm stuff
2026-01-27 23:26:38 -08:00
Anthony Kim
d77711936f
comments on file system
2026-01-27 23:22:31 -08:00
Anthony Kim
5a79b08661
stale comments
2026-01-27 23:12:13 -08:00
Anthony Kim
3e8fc48b33
Small details
2026-01-27 22:20:21 -08:00
Anthony Kim
8c9afdb364
Outsource a bunch to KittyApcHandler. TODO: go over this
2026-01-27 22:13:47 -08:00
Anthony Kim
f89524e577
Create KittyApchandler.ts
2026-01-27 21:25:31 -08:00
Anthony Kim
a1c1702508
Assemble and use dataArray for ImageData, make hot-loop faster
2026-01-27 20:25:10 -08:00
Anthony Kim
15c71e28c8
Replace more magic numbers with readable symbols
2026-01-27 19:51:16 -08:00
Anthony Kim
fd641370ec
Dont use magic number, use symbol
2026-01-27 19:22:59 -08:00
Anthony Kim
259cc67f12
Handle actions, compression first, then parseInt before Switch
2026-01-27 19:20:11 -08:00
Anthony Kim
b0b0868e90
Conste num for keys, describe in jsdoc
2026-01-27 19:14:06 -08:00
Anthony Kim
d58e8597cd
Use Terminal.dimensions intead
2026-01-27 19:04:17 -08:00
Anthony Kim
17d439515f
switch from triggerDataEvnet to this._terminal.input
2026-01-27 18:59:48 -08:00
Anthony Kim
ae171acb79
Dont forget about action o for compression
2026-01-27 18:44:40 -08:00
Anthony Kim
e2dabc77fd
Prefer ?? and move disposable location
2026-01-27 17:58:10 -08:00
Anthony Kim
40342ecd1e
remove send-png
2026-01-27 17:26:06 -08:00
Anthony Kim
1442f84e4e
Fix chunking for large data, allow pixels
2026-01-27 17:21:38 -08:00
Daniel Imms
6f87ae77a7
Support color scheme reporting
...
CSI ? 996 n
CSI ? 2031 h
CSI ? 2031 l
Fixes #5626
2026-01-27 10:19:26 -08:00
Daniel Imms
5f25e05cd2
Merge pull request #5625 from Tyriar/kitty_shift_disambiguate
...
Don't disambiguous kitty keyboard on shift only
2026-01-26 14:51:17 -08:00
Daniel Imms
2af9d10171
Don't disambiguous kitty keyboard on shift only
...
Part of microsoft/vscode#286809
2026-01-26 14:44:34 -08:00
Daniel Imms
f471c0add8
Merge pull request #5624 from xtermjs/Tyriar-patch-1
...
Don't set windows input mode on demo
2026-01-26 13:19:09 -08:00
Daniel Imms
62dc0d9c51
Don't set windows input mode on demo
2026-01-26 13:12:37 -08:00
Anthony Kim
5e95ef652d
more comments
2026-01-23 11:11:02 -08:00
Daniel Imms
14525b334f
Merge pull request #5618 from xtermjs/anthonykim1/lastState1
...
Add STATE_LENGTH to equal last state + 1
2026-01-23 04:10:06 -08:00
Anthony Kim
bc1d87dade
comments
2026-01-22 23:38:10 -08:00
Anthony Kim
849110d300
add query to say OK responses
2026-01-22 18:40:37 -08:00
Anthony Kim
8b6f8f3172
Rename
2026-01-22 16:16:30 -08:00
Anthony Kim
27825f9ed8
param in kittyGraphicsAddon.ts , ci.yml
2026-01-22 15:59:46 -08:00
Anthony Kim
a507afb388
Add rendering, tweak send-png
2026-01-22 15:41:48 -08:00
Anthony Kim
ec5b421dfb
Renderer + og formatting for ci.yml
2026-01-22 15:40:59 -08:00
Anthony Kim
8f0e711a79
ci.yml
2026-01-22 13:09:44 -08:00
Anthony Kim
fc0dc3fb07
Dont mess with og formatting for ci.yml
2026-01-22 13:06:42 -08:00
Anthony Kim
bea1628015
Edit ci.yml ?
2026-01-22 12:02:46 -08:00
Anthony Kim
447746314e
npm install to update pckage-lock.json
2026-01-22 11:58:51 -08:00
Anthony Kim
6a02d7c9f5
Add some playwright tests that will first fail
2026-01-22 11:56:48 -08:00
Anthony Kim
1ace108422
better comments
2026-01-22 10:54:41 -08:00
Anthony Kim
2c1441a52d
Add STATE_LENGTH to equal last state + 1
2026-01-22 10:49:21 -08:00
Anthony Kim
304943658d
Support Kitty graphics protocol
2026-01-22 10:44:38 -08:00
Daniel Imms
8e67c0093c
Merge pull request #5617 from xtermjs/anthonykim1/kittyGraphicsProtocol
...
Add register apc handler
2026-01-22 04:35:38 -08:00
Anthony Kim
ee3b3626e8
Again, format
2026-01-21 16:27:19 -08:00
Anthony Kim
b286f21f64
Add APC_STRING since DCS_PASSTHROUGH isnt the last in ParserState anymore
2026-01-21 15:50:51 -08:00
Anthony Kim
3d92a7e2ed
Dont be silly with original formatting
2026-01-21 15:13:03 -08:00
Anthony Kim
b01ba7db28
Add apc tests parser.test.ts
2026-01-21 14:17:01 -08:00
Anthony Kim
1c73006e39
Switch TransitionTable to Uint16Array
2026-01-21 13:41:29 -08:00
Anthony Kim
03b015d5d3
Add registerApcHandler to xterm-headless.d.ts
2026-01-21 11:45:21 -08:00
Anthony Kim
42d408a9a7
Change ordering in escapeSequnceParser.ts
2026-01-21 11:29:04 -08:00
Anthony Kim
5ecd980a83
Comment
2026-01-21 11:01:09 -08:00
Anthony Kim
63ebe2df5b
Stop messing with existing formatting
2026-01-21 11:00:10 -08:00
Anthony Kim
1b2d361b59
Remove comment on Constant.ts for ApcState
2026-01-21 10:59:33 -08:00
Anthony Kim
8e29591b9f
Add registerApcHandler to public api
2026-01-21 10:42:36 -08:00
Anthony Kim
48df6117ed
Add ApcParser
2026-01-21 08:31:07 -08:00
Daniel Imms
14b6a71391
Merge pull request #5615 from Tyriar/5585
...
Fix stack overflow in webgl page merge logic
2026-01-19 04:07:10 -08:00
Daniel Imms
c24eb60bd3
Fix stack overflow in merge logic
...
Fixes #5585
2026-01-18 15:45:19 -08:00
Daniel Imms
2521bab72f
Merge pull request #5613 from Tyriar/tyriar/5611
...
Fix some control keys not sending correct sequences
2026-01-16 06:14:01 -08:00
Daniel Imms
0f1c9a47db
Fix some control keys not sending correct sequences
...
Fixes #5611
2026-01-16 06:06:55 -08:00
Daniel Imms
777a46445a
Merge pull request #5609 from xtermjs/merogge/show-cursor
...
add `showCursorImmediately` option
2026-01-13 08:47:50 -08:00
meganrogge
a20ff565b0
add showCursorImmediately option
2026-01-13 10:36:35 -06:00
Daniel Imms
d28046ebed
Merge pull request #5607 from Tyriar/5606
...
Fix blur due to canvas dim mismatch in glyph renderer
2026-01-13 06:35:40 -08:00
Daniel Imms
4ddd982e42
Fix blur due to canvas dim mismatch in glyph renderer
...
Fixes #5606
2026-01-13 06:23:10 -08:00
Daniel Imms
a3228bd1b8
Merge pull request #5604 from Tyriar/2357_2
...
Fix capital letters and ctrl+letter in win32-input-mode
2026-01-11 09:10:31 -08:00
Daniel Imms
a1fca4feb8
Fix ctrl+letter when inside pwsh->WSL
2026-01-11 09:02:44 -08:00
Daniel Imms
afc6f0b7eb
Fix caps not working in win32InputMode
...
Part of #2357
2026-01-11 09:00:08 -08:00
Daniel Imms
f4c77d37b4
Merge pull request #5603 from Tyriar/2357
...
Implement win32-input-mode
2026-01-10 06:04:17 -08:00
Daniel Imms
9d0beb7c38
Use 0b over 0x for flags
2026-01-10 05:57:13 -08:00
Daniel Imms
f88650ec1c
Use win32InputMode in demo on Windows
2026-01-10 05:54:48 -08:00
Daniel Imms
8b35c67dd3
useWin32 -> useWin32InputMode
2026-01-10 05:52:19 -08:00
Daniel Imms
53dc85eca2
Add copyright
2026-01-10 05:48:48 -08:00
Daniel Imms
0946386cc4
Make unit tests more compact
2026-01-10 05:48:30 -08:00
Daniel Imms
ebe18b3da5
Add more test cases
2026-01-10 05:42:17 -08:00
Daniel Imms
6c2792a1d5
Fix tests
2026-01-10 05:33:08 -08:00
Daniel Imms
ee47054678
Implement win32-input-mode
...
Fixes #2357
2026-01-10 05:27:03 -08:00
Daniel Imms
91c4761b82
Merge pull request #5600 from Tyriar/4198_kitty
...
Implement kitty keyboard protocol (CSI =|?|>|< u)
2026-01-10 04:46:38 -08:00
Daniel Imms
c9fc6fca8e
Lint
2026-01-10 04:39:26 -08:00
Daniel Imms
73cba6dda3
Clean up, add sgr extension to api
2026-01-10 04:38:06 -08:00
Daniel Imms
50b0f3d7ee
Add vtExtensions.kittySgrBoldFaintControl
2026-01-10 04:31:36 -08:00
Daniel Imms
686c67a14b
Make mandatory browser services readonly
2026-01-10 04:20:29 -08:00
Daniel Imms
ec78500f86
Create IKeyboardService
2026-01-10 04:19:23 -08:00
Daniel Imms
98ea14824a
Make lint happy
2026-01-09 13:14:30 -08:00
Daniel Imms
4c905dad33
Update API jsdoc
2026-01-09 13:02:18 -08:00
Daniel Imms
e3fdcc7869
Fix API lint
2026-01-09 13:01:22 -08:00
Daniel Imms
0674663a5a
Remove unused import
2026-01-09 12:56:45 -08:00
Daniel Imms
e07832a420
Merge branch 'master' into 4198_kitty
2026-01-09 12:51:48 -08:00
Daniel Imms
934b5dc8fa
Merge pull request #5602 from Tyriar/5601
...
Add SGR 221 and 222
2026-01-09 12:21:43 -08:00
Daniel Imms
7a544d8346
Add SGR 221 and 222
...
Fixes #5601
2026-01-09 12:13:40 -08:00
Daniel Imms
c624a47780
Maintain different buffer flags, stack limit, tests
2026-01-09 11:59:50 -08:00
Daniel Imms
5a29d489c3
Separate out kitty keyboard handlers
2026-01-09 11:46:57 -08:00
Daniel Imms
4a67836a5b
Remove support responses
...
Wrong place for them
2026-01-09 11:42:00 -08:00
Daniel Imms
3adf6be988
Fix some edge cases
2026-01-09 10:36:13 -08:00
Daniel Imms
566589f7c1
More comprehensive tests
2026-01-09 07:23:12 -08:00
Daniel Imms
8dbc91dc24
Add vtExtensions to demo
2026-01-09 07:15:45 -08:00
Daniel Imms
992da3cc4d
Hook up vt extensions option
2026-01-09 07:07:10 -08:00
Daniel Imms
3fbaef06ef
Align behavior closer with kitty
2026-01-09 06:53:12 -08:00
Daniel Imms
2265fa2ade
Implement kitty keyboard protocol (CSI u)
...
Fixes #4198
2026-01-09 05:59:57 -08:00
Daniel Imms
756c353237
Merge pull request #5593 from kallsyms/improve-lines-cache-perf
...
improve SearchLineCache performance
2026-01-09 05:59:54 -08:00
Daniel Imms
49a8ac8fc0
Merge pull request #5599 from Tyriar/flush
...
Flush writes on resize
2026-01-09 05:37:21 -08:00
Daniel Imms
bf7c95b6cc
Flush writes on resize
...
Fixes #5597
2026-01-09 05:25:22 -08:00
Daniel Imms
8112fbf210
Merge pull request #5598 from Tyriar/5588
...
Fix exception on resize during write
2026-01-08 18:10:41 -08:00
Daniel Imms
16a13f8504
Fix exception on resize during write
...
Fixes #5588
2026-01-08 18:03:42 -08:00
Daniel Imms
9bd128b315
Merge pull request #5594 from Tyriar/onSelectionChangeClear
...
Fire onSelectionChange on clear
2026-01-08 17:44:16 -08:00
Daniel Imms
729a670043
Merge pull request #5596 from Tyriar/lint_changes
...
New npm script to lint only changes
2026-01-08 17:39:34 -08:00
Daniel Imms
bd8454db55
Another poll case
2026-01-08 17:37:44 -08:00
Daniel Imms
d6f6a6af9a
Lint instructions
2026-01-08 17:32:50 -08:00
Daniel Imms
d65f9312ea
Add lint-changes npm scripts
2026-01-08 17:32:15 -08:00
Daniel Imms
a437d12004
Poll to avoid a race
2026-01-08 17:25:26 -08:00
Daniel Imms
437490308c
Merge pull request #5595 from Tyriar/download_fonts
...
Remove download fonts
2026-01-08 17:18:36 -08:00
Daniel Imms
3250c31202
Remove download fonts
2026-01-08 17:09:26 -08:00
Daniel Imms
55d12e03d1
Remove unneeded test
2026-01-08 17:04:35 -08:00
Daniel Imms
6efb319ece
Add tests more thorough tests for onSelectionChange
2026-01-08 17:01:56 -08:00
Daniel Imms
b69afe5765
Merge remote-tracking branch 'upstream/master' into onSelectionChangeClear
2026-01-08 16:51:54 -08:00
Daniel Imms
613aa6ba23
Fire onSelectionChange when starting to drag
2026-01-08 16:51:45 -08:00
Nick Gregory
a8c9128841
improve SearchLineCache performance
2026-01-07 16:04:49 -08:00
Daniel Imms
94a264679e
Merge pull request #5591 from Tyriar/5586
...
Ensure mouse listeners are removed on dispose
2026-01-05 12:38:41 -08:00
Daniel Imms
cb35d1b487
Ensure mouse listeners are removed on dispose
...
Also use ? over ! just in case
Fixes #5586
2026-01-05 12:31:54 -08:00
Daniel Imms
c97abced76
Merge pull request #5590 from Tyriar/5587
...
Add undefined checks in erase calls
2026-01-05 11:17:40 -08:00
Daniel Imms
9db31db886
Add undefined checks in erase calls
...
This is likely a race condition during a resize which is hard to say
what the right behavior is. Instead of hard failing by throwing an
error, silently ignore if this happens.
Fixes #5587
2026-01-05 11:10:56 -08:00
Daniel Imms
ccf9727b85
Merge pull request #5583 from Tyriar/root
...
Clean up root, remove auto approve settings
2026-01-04 06:44:57 -08:00
Daniel Imms
1dfdde9e27
Clean up root, remove auto approve settings
...
These are automatically auto approved in upcoming vscode
2026-01-04 06:38:53 -08:00
Daniel Imms
2712e88d0a
Merge pull request #5582 from Tyriar/readme2
...
Update readme 2
2026-01-04 06:28:32 -08:00
Daniel Imms
b5da8a28f6
Update readme 2
2026-01-04 06:27:22 -08:00
Daniel Imms
66c4f8b116
Merge pull request #5581 from Tyriar/readme
...
Update readme
2026-01-04 06:20:48 -08:00
Daniel Imms
9148c80d1a
Update readme
...
- Added x2 scale logo
- Revised wording
- Added new addons
2026-01-04 06:18:50 -08:00
Daniel Imms
e1bfc7dd1f
Merge pull request #5178 from jerch/webfonts-addon
...
Add webfonts addon
2026-01-04 05:43:01 -08:00
Daniel Imms
c6c4a2ffbc
Delete unwanted eslintrc
2026-01-03 15:39:24 -08:00
Daniel Imms
2cf2929869
Publish webfonts
2026-01-03 15:36:36 -08:00
Daniel Imms
b0145998c5
Fix lint
2026-01-03 15:36:31 -08:00
Daniel Imms
0e57643f16
Move fonts into folder
2026-01-03 15:33:13 -08:00
Daniel Imms
a35223a819
Add web fonts window to demo
2026-01-03 15:31:24 -08:00
Daniel Imms
5e95dc1f10
Sync package lock
2026-01-03 15:24:11 -08:00
Daniel Imms
b4e9a7f9ea
Merge remote-tracking branch 'upstream/master' into pr/jerch/5178
2026-01-03 15:21:50 -08:00
Daniel Imms
73e3357526
Merge pull request #5579 from Tyriar/proposed
...
Make everything except unicode APIs stable
2026-01-03 15:04:25 -08:00
Daniel Imms
483c7b4a81
Merge pull request #5580 from Tyriar/5572
...
Update demo dims on font family change
2026-01-03 14:58:57 -08:00
Daniel Imms
f4453b3e18
Merge pull request #5566 from xtermjs/dependabot/npm_and_yarn/qs-6.14.1
...
Bump qs from 6.14.0 to 6.14.1
2026-01-03 14:58:39 -08:00
Daniel Imms
7389a1097d
Update tests to use unicode for proposed check
2026-01-03 14:57:55 -08:00
Daniel Imms
0c7b1cb448
Update demo dims on font family change
...
Fixes #5572
2026-01-03 14:52:32 -08:00
Daniel Imms
7a3b5339e7
Merge pull request #5578 from Tyriar/5576
...
Lint demo code
2026-01-03 14:41:48 -08:00
Daniel Imms
8193ceae12
Make everything except unicode APIs stable
2026-01-03 14:40:07 -08:00
Daniel Imms
064e299bb0
Merge pull request #5577 from Tyriar/ext_recommendation
...
Recommend eslint extension in vscode
2026-01-03 14:38:45 -08:00
Daniel Imms
6211bf078c
Lint demo code
...
Fixes #5576
2026-01-03 14:35:39 -08:00
Daniel Imms
a639808196
Recommend eslint extension in vscode
...
Fixes #5575
2026-01-03 14:32:16 -08:00
Daniel Imms
b522e255f0
Merge pull request #5571 from Tyriar/5341
...
Fix isNode detection when process module is used in webpack
2026-01-03 14:25:33 -08:00
Daniel Imms
d7850af9a2
Fix lint
2026-01-03 14:19:36 -08:00
Daniel Imms
4182f2226f
Merge pull request #5573 from Tyriar/5570_oom
...
Fix infinite recursion OOM crash in addon-ligatures
2026-01-03 14:15:11 -08:00
Daniel Imms
e2f45b5f4e
Fix for modern node that includes a navigator.userAgent
2026-01-03 14:10:44 -08:00
Daniel Imms
8712f8067d
Fix infinite recursion OOM crash in addon-ligatures
...
1. processLookahead/BacktrackPosition created separate entry objects
for each glyph at each position (O(N^M) with N glyphs, M positions).
Now all glyphs at a position share one entry object.
2. cloneEntry, cloneTree, flattenEntry, and mergeTreeEntry could
infinitely recurse or duplicate work on shared/cyclic references.
Added visited/merged tracking maps to cache results.
Note that parsing CommitMono locks up the renderer for some time still
so there is still a performance issue here, this fixes the OOM though.
This was mostly defensive generated code since the codebase is
unfamiliar to me.
Fixes #5570
2026-01-03 14:06:57 -08:00
Daniel Imms
08c49301b7
Fix isNode detection when process module is used in webpack
...
Fixes #5341
2026-01-03 11:19:23 -08:00
dependabot[bot]
917a8ded92
Bump qs from 6.14.0 to 6.14.1
...
Bumps [qs](https://github.com/ljharb/qs ) from 6.14.0 to 6.14.1.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ljharb/qs/compare/v6.14.0...v6.14.1 )
---
updated-dependencies:
- dependency-name: qs
dependency-version: 6.14.1
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-03 17:44:20 +00:00
Daniel Imms
d06d278f0c
Merge pull request #5569 from Tyriar/5568_font_ligatures
...
Merge font-ligatures package into addon-ligatures
2026-01-03 09:43:07 -08:00
Daniel Imms
f84384c83a
Fix lint
2026-01-03 09:31:45 -08:00
Daniel Imms
ec03109c39
2 space indent
2026-01-03 09:25:39 -08:00
Daniel Imms
21b8f77afb
Move unit tests to right folder, push font fixtures
2026-01-03 09:16:58 -08:00
Daniel Imms
363fc84fd2
Merge font-ligatures into addon-ligatures
...
Fixes #5568
2026-01-03 09:02:06 -08:00
Daniel Imms
8e4de23c11
Merge pull request #5565 from Tyriar/2797
...
Support ctrl+^ -> RS, move to physical key
2026-01-01 05:25:52 -08:00
Daniel Imms
1caf6dbe50
Fix tests
2026-01-01 05:19:56 -08:00
Daniel Imms
1c97e40a6a
Support ctrl+^ -> RS, move to physical key
...
Fixes #2797
Part of #1862
2026-01-01 04:41:44 -08:00
Daniel Imms
cdbafb231d
Merge pull request #5564 from Tyriar/3364
...
Serialize showCursor
2025-12-31 17:14:02 -08:00
Daniel Imms
44a8c7efbc
Fix test expectations
2025-12-31 17:08:05 -08:00
Daniel Imms
6277bb363c
Serialize showCursor
...
Fixes #3364
2025-12-31 08:12:39 -08:00
Daniel Imms
40f2eefec7
Merge pull request #5563 from Tyriar/5489
...
Fix touch scrolling
2025-12-31 06:33:36 -08:00
Daniel Imms
519b1c5ef7
Fix touch scrolling
...
Fixes #5489
2025-12-31 06:27:45 -08:00
Daniel Imms
97e356fb83
Merge pull request #5562 from Tyriar/2117_3
...
Add tests for CSI Pm d, e, f, g, m
2025-12-31 05:24:41 -08:00
Daniel Imms
42872a84dd
Add tests for CSI Pm d, e, f, g, m
...
Fixes #2117
2025-12-31 05:18:17 -08:00
Daniel Imms
4700e18833
Merge pull request #5561 from Tyriar/5558
...
Fix allowTransparency in lib and demo
2025-12-31 05:08:29 -08:00
Daniel Imms
d143340b60
Fix allowTransparency in lib and demo
...
Fixes #5558
Fixes #5560
2025-12-31 05:00:33 -08:00
Daniel Imms
a8f26bb758
Merge pull request #5559 from Tyriar/2117_2
...
Add tests for CSI `Ps K`, `? Ps K`, `Ps S`, `Ps T`, `Ps X`, `Ps Z`, `Ps ^`, `Ps \``
2025-12-30 07:06:37 -08:00
Daniel Imms
da4243cf02
Don't skip new tests, implement CSI Ps ^
2025-12-30 06:59:27 -08:00
Daniel Imms
54e66f3ac4
Add some more CSI tests
2025-12-30 06:48:28 -08:00
Daniel Imms
7d8ef60860
Merge pull request #5557 from Tyriar/playwright_update2
...
Update playwright test to latest
2025-12-30 06:47:24 -08:00
Daniel Imms
595c119404
Move skip into dom file
2025-12-30 06:05:46 -08:00
Daniel Imms
481431fbc1
Update playwright test to latest
2025-12-30 06:03:17 -08:00
Daniel Imms
5c2cd474ce
Merge pull request #5556 from Tyriar/5555
...
Migrate evaluate calls to use terminal proxy
2025-12-30 05:43:14 -08:00
Daniel Imms
0b9a7cb856
Migrate MouseTracking and Terminal to playwright proxy
...
Fixes #5555
2025-12-30 05:37:09 -08:00
Daniel Imms
a8a4455189
Migrate InputHandler.test.ts to playwright proxy
...
Part of #5555
2025-12-30 05:27:28 -08:00
Daniel Imms
11fbdb3db7
Merge pull request #5554 from Tyriar/2117
...
Add unit test for CSI Ps SP @ - SL
2025-12-30 05:10:44 -08:00
Daniel Imms
88ce0d40e7
Add unit test for CSI Ps SP @ - SL
...
Part of #2117
2025-12-30 05:04:20 -08:00
Daniel Imms
2785f11860
Merge pull request #5553 from Tyriar/1526
...
Save cursor and restore more modes
2025-12-30 04:55:51 -08:00
Daniel Imms
857c4529cd
Save cursor and restore more modes
...
Fixes #1526
2025-12-30 04:49:54 -08:00
Daniel Imms
d30c3e7204
Merge pull request #5552 from Tyriar/contrib
...
Rework contributing doc
2025-12-30 04:42:18 -08:00
Daniel Imms
982f5e15ff
Merge pull request #5551 from Tyriar/702
...
Add dimensions API
2025-12-30 04:37:31 -08:00
Daniel Imms
ec3e4f2af1
Rework contributing doc
...
Fixes #5550
2025-12-30 04:33:57 -08:00
Daniel Imms
13914ee01e
Remove private use in ImageRenderer
2025-12-30 04:09:56 -08:00
Daniel Imms
e27cc2c089
Remove private API access from tests/demo
2025-12-30 04:06:26 -08:00
Daniel Imms
214289aaab
Add dimensions API
...
Fixes #702
2025-12-30 03:58:26 -08:00
Daniel Imms
a5af434e3e
Merge pull request #5549 from Tyriar/5548
...
Use OffscreenCanvas over DOM for WidthCache
2025-12-30 03:38:15 -08:00
Daniel Imms
a513120348
Get dom/width cache tests passing in node
2025-12-30 03:32:34 -08:00
Daniel Imms
ef978b370b
Use OffscreenCanvas over DOM for WidthCache
...
Fixes #5548
2025-12-30 02:57:09 -08:00
Daniel Imms
00ad3eac40
Merge pull request #5547 from Tyriar/3433
...
Serialize scroll region
2025-12-29 07:59:49 -08:00
Daniel Imms
29d3eb2e52
Serialize scroll region
...
fixes #3433
2025-12-29 07:53:43 -08:00
Daniel Imms
8b594140e9
Merge pull request #5546 from Tyriar/progress
...
Add progress indicator custom glyphs (EE00-EE0B)
2025-12-29 07:37:53 -08:00
Daniel Imms
7cf48c1eb5
Add progress indicator custom glyphs (EE00-EE0B)
...
Fixes #5478
2025-12-29 07:31:52 -08:00
Daniel Imms
8e6b6e7464
Merge pull request #5545 from Tyriar/nf
...
Add nerd fonts test button
2025-12-29 06:39:13 -08:00
Daniel Imms
1b0554714b
Add nerd fonts test button
...
Fixes #5544
2025-12-29 06:33:27 -08:00
Daniel Imms
abdfa2628c
Merge pull request #5543 from Tyriar/underline_inspect
...
Report underline attributes in demo cell inspector
2025-12-29 06:23:38 -08:00
Daniel Imms
5b4d794f7a
Report underline attributes in demo cell inspector
2025-12-29 06:17:36 -08:00
Daniel Imms
9eb1da79e3
Merge pull request #5542 from Tyriar/4064
...
Make curly underline more vivid
2025-12-29 06:14:01 -08:00
Daniel Imms
d4ba4c109b
Make curly underline more vivid
...
Fixes #4064
2025-12-29 06:04:29 -08:00
Daniel Imms
1ad23d6081
Merge pull request #5539 from Tyriar/ris
...
Add RIS metadata comment
2025-12-29 05:06:07 -08:00
Daniel Imms
73c01cae89
Merge pull request #5541 from Tyriar/4114
...
Fix fit using correct dims on demo
2025-12-29 05:03:58 -08:00
Daniel Imms
5174a7310f
Add RIS metadata comment
...
Fixes #5043
2025-12-29 05:00:13 -08:00
Daniel Imms
1d793c9054
Fix fit using correct dims on demo
...
This doesn't add the debounce suggested in the issue, but it does
comment about it.
Fixes #4114
2025-12-29 04:58:12 -08:00
Daniel Imms
1b7c61a6fc
Merge pull request #5540 from Tyriar/4855
...
Fix decorations with height > 1
2025-12-29 04:20:51 -08:00
Daniel Imms
9780b44115
Fix decorations with height > 1
...
Fixes #4855
2025-12-29 04:14:56 -08:00
Daniel Imms
8d532a35c4
Merge pull request #5538 from Tyriar/4731_mobile_warn
...
Update viewport dims when dpr changes
2025-12-28 16:36:30 -08:00
Daniel Imms
d6df8d7902
Update viewport dims when dpr changes
...
Fixes #4731
2025-12-28 16:30:44 -08:00
Daniel Imms
4b9566cef0
Merge pull request #5535 from Tyriar/5408_2
...
Fix firefox selection when in shadow dom take 2
2025-12-28 16:05:49 -08:00
Daniel Imms
b30bb1e3b0
Fix stack overflow
2025-12-28 15:59:29 -08:00
Loïc Mangeonjean
d67e73a4da
fix(fit-addon): call getComputedStyle on the right window element
2025-12-28 15:55:21 -08:00
Loïc Mangeonjean
e7434a932d
fix: fix computed style computation on firefox inside a shadow dom
2025-12-28 15:55:21 -08:00
Daniel Imms
cdb0497d0d
Merge pull request #5534 from Tyriar/5184_sync_reset
...
Force reset to use sync render
2025-12-28 15:22:13 -08:00
Daniel Imms
2fb42c554e
Force reset to use sync render
...
Fixes #5184
2025-12-28 15:16:23 -08:00
Daniel Imms
3632496c94
Merge pull request #5533 from Tyriar/5532
...
Fix addon build issue on macOS
2025-12-28 15:08:12 -08:00
Daniel Imms
a6407fb3c6
Fix addon build issue on macOS
...
Fixes #5532
2025-12-28 15:02:16 -08:00
Daniel Imms
65aa28464c
Merge pull request #5530 from Tyriar/4339
...
Fix double annoucne of too much output
2025-12-28 14:57:09 -08:00
Daniel Imms
2baad39ccf
Fix double annoucne of too much output
...
Fixes #4339
2025-12-28 14:51:12 -08:00
Daniel Imms
c975956f2a
Merge pull request #5529 from Tyriar/worktree1
...
Force a sync render after resize occurs
2025-12-28 14:44:44 -08:00
Daniel Imms
4619a755b1
Force a sync render after resize occurs
...
Fixes #4922
Related microsoft/vscode#230120
2025-12-28 14:38:42 -08:00
Daniel Imms
bc795d36c0
Merge pull request #5528 from Tyriar/4528
...
Serialize rich underline styles
2025-12-28 14:26:35 -08:00
Daniel Imms
b989c5a568
Fix lint
2025-12-28 14:20:55 -08:00
Daniel Imms
d66214b25e
Serialize rich underline styles
2025-12-28 14:16:53 -08:00
Daniel Imms
6157f523a8
Merge pull request #5523 from Tyriar/4628
...
Add idle timeout which pauses cursor blink
2025-12-28 14:04:49 -08:00
Daniel Imms
3ab93ea083
Merge pull request #5526 from Tyriar/lint
...
Remove eol-last eslint rule
2025-12-28 14:04:18 -08:00
Daniel Imms
7ef4c55ca9
Merge pull request #5525 from Tyriar/demo_hover
...
Implement cell inspector in demo
2025-12-28 13:57:35 -08:00
Daniel Imms
d393154271
Remove eol-last eslint rule
...
This one's just troublesome when working with generated code. It
doesn't make a difference in the end anyway.
2025-12-28 13:56:22 -08:00
Daniel Imms
2c32ef5963
Fix lint
2025-12-28 13:53:03 -08:00
Daniel Imms
a730533790
Implement cell inspector in demo
...
Fixes #5524
2025-12-28 13:50:37 -08:00
Daniel Imms
8a5ffc1bb1
Tidy comments
2025-12-28 13:42:22 -08:00
Daniel Imms
a966f7d591
Explain idle in cursorBlink option
2025-12-28 13:41:21 -08:00
Daniel Imms
4985c9f3f9
Use shared constant for idle timeout
2025-12-28 13:37:25 -08:00
Daniel Imms
2e1651badd
Pull dom renderer blink management into class
2025-12-28 13:35:57 -08:00
Daniel Imms
7d1f74fb8b
Use const enums for constants
2025-12-28 13:33:51 -08:00
Daniel Imms
f8c1f5a32f
Add idle timeout which pauses cursor blink
...
Fixes #4628
2025-12-28 13:30:58 -08:00
Daniel Imms
79944f7524
Merge pull request #5521 from Tyriar/5314
...
Add quirks setting to control DECSET/DECRST 12
2025-12-28 08:07:47 -08:00
Daniel Imms
52b6710b19
Hide quirks from demo for now
2025-12-28 08:01:56 -08:00
Daniel Imms
2a283a307c
Fix lint
2025-12-28 07:56:31 -08:00
Daniel Imms
ab4524873b
Add test for DECSET quirks
2025-12-28 07:49:12 -08:00
Daniel Imms
eb5f0d709a
Merge pull request #5522 from Tyriar/5295
...
Note in API that reflowCursorLine will not move the cursor
2025-12-28 07:43:50 -08:00
Daniel Imms
8a8f262616
Note in API that reflowCursorLine will not move the cursor
...
Fixes #5295
2025-12-28 07:37:50 -08:00
Daniel Imms
ca5a681363
Add quirks setting to control DECSET/DECRST 12
...
Fixes #5314
2025-12-28 07:34:55 -08:00
Daniel Imms
fb10cd62c9
Merge pull request #5520 from Tyriar/4961
...
Ignore soft hyphen
2025-12-27 14:57:12 -08:00
Daniel Imms
28b62a5e0b
Ignore soft hyphen
...
Fixes #4961
2025-12-27 14:51:07 -08:00
Daniel Imms
bedf7e8326
Merge pull request #5519 from Tyriar/5444
...
Add onBeforeSearch and onAfterSearch APIs
2025-12-27 14:38:30 -08:00
Daniel Imms
f50028abce
Add onBeforeSearch and onAfterSearch APIs
...
Fixes #5444
2025-12-27 14:32:39 -08:00
Daniel Imms
7a4c9cadff
Merge pull request #5518 from Tyriar/style
...
Demo: Improve style, remove headers from windows
2025-12-27 09:03:02 -08:00
Daniel Imms
01c1c477c3
Demo: Improve style, remove headers from windows
2025-12-27 08:57:26 -08:00
Daniel Imms
33daadb4ea
Merge pull request #5516 from Tyriar/activeMatchBg
...
Ensure activeMatchBackground decoration is on top
2025-12-27 08:04:50 -08:00
Daniel Imms
ef6013aac9
Merge pull request #5517 from Tyriar/demo_addons
...
Demo: Add addon tabs, shuffle order
2025-12-27 08:04:31 -08:00
Daniel Imms
82f24ad5a5
Demo: Add addon tabs, shuffle order
2025-12-27 06:47:17 -08:00
Daniel Imms
97c435862b
Merge pull request #5439 from nya3jp/keydup
...
Fix key duplication on Android with physical keyboards
2025-12-27 06:38:28 -08:00
Daniel Imms
6488e839a1
Merge branch 'master' into keydup
2025-12-27 06:32:16 -08:00
Daniel Imms
5d3564bb38
Ensure activeMatchBackground decoration is on top
...
Fixes #5369
2025-12-27 06:30:02 -08:00
Daniel Imms
50985d30f9
Merge pull request #5515 from Tyriar/5457_ctrl+slash
...
Add ctrl+/ -> ^_ keybinding
2025-12-27 06:05:48 -08:00
Daniel Imms
733e48ec73
Add ctrl+/ -> ^_ keybinding
...
Fixes #5457
2025-12-27 05:57:43 -08:00
Daniel Imms
057fefd39e
Merge pull request #5514 from Tyriar/demo6
...
Ensure types are checked in demo, fix errors, emit to out-demo
2025-12-27 05:40:41 -08:00
Daniel Imms
4d48f8624b
Ensure types are checked in demo, fix errors, emit to out-demo
...
Part of #5509
2025-12-27 05:31:21 -08:00
Daniel Imms
995b491a7a
Merge pull request #5513 from Tyriar/esbuild_warn
...
Set esbuild log level to warning
2025-12-27 05:23:44 -08:00
Daniel Imms
4fe118a8ff
Set esbuild log level to warning
...
This suppresses a safe to ignore debug log in server task
2025-12-27 05:18:00 -08:00
Daniel Imms
45375c94e2
Merge pull request #5512 from Tyriar/demo_server
...
Move server.js to TypeScript
2025-12-27 05:12:14 -08:00
Daniel Imms
f83760d027
Add esbuild server build task
2025-12-27 04:57:55 -08:00
Daniel Imms
1a1bdefc83
Move server to TS
...
Fixes #5509
2025-12-27 04:36:18 -08:00
Daniel Imms
e28db9e8a9
Merge pull request #5511 from Tyriar/settings
...
Simplify vscode settings
2025-12-27 04:09:31 -08:00
Daniel Imms
be5f510bfb
Merge pull request #5510 from Tyriar/dev
...
Make default build task use a single terminal via concurrently
2025-12-27 04:07:16 -08:00
Daniel Imms
ac6b8ebb10
Simplify vscode settings
2025-12-27 04:03:24 -08:00
Daniel Imms
1ada355048
Make default build task use a single terminal via concurrently
2025-12-27 03:41:47 -08:00
Daniel Imms
4ce3e3106b
Merge pull request #5508 from Tyriar/demo4
...
Fix css not being used in demo
2025-12-27 03:15:58 -08:00
Daniel Imms
942aff6af7
Merge pull request #5507 from Tyriar/ts5.9
...
Upgrade to typescript 5.9.3
2025-12-27 03:14:38 -08:00
Daniel Imms
635b898dc0
Fix css not being used in demo
2025-12-27 03:09:39 -08:00
Daniel Imms
e01d1f2f17
Upgrade to typescript 5.9.3
2025-12-27 03:06:14 -08:00
Daniel Imms
bd16eeed90
Merge pull request #5506 from Tyriar/shared_compile
...
Fix type error in SharedRendererTests.ts
2025-12-27 03:01:27 -08:00
Daniel Imms
df8f9fc519
Merge pull request #5505 from Tyriar/canvasExceptions
...
Remove unused skip canvas exceptions from playwright
2025-12-27 02:59:27 -08:00
Daniel Imms
373bf513f1
Fix type error in SharedRendererTests.ts
2025-12-27 02:55:43 -08:00
Daniel Imms
25a5497329
Remove unused skip canvas exceptions from playwright
2025-12-27 02:53:28 -08:00
Daniel Imms
4406043e6b
Merge pull request #5504 from Tyriar/onRender_headless
...
Implement onRender in xterm-headless
2025-12-26 11:33:01 -08:00
Daniel Imms
82f961f76f
Move new onRender behavior into headless Terminal impl
2025-12-26 11:27:38 -08:00
Daniel Imms
a26471b9f3
Implement onRender in xterm-headless
...
This effectively enabled implementing an efficient renderer on top
of xterm-headless. See #5392
2025-12-26 11:19:59 -08:00
Daniel Imms
ba989a6e6c
Merge pull request #5503 from Tyriar/copilot_approve
...
Add some npm scripts that copilot can approve
2025-12-26 11:16:36 -08:00
Daniel Imms
d4f725c649
Merge pull request #5502 from Tyriar/xtversion
...
Support reporting XTVERSION
2025-12-26 11:13:53 -08:00
Daniel Imms
79f5198b2d
Add some npm scripts that copilot can approve
2025-12-26 11:10:53 -08:00
Daniel Imms
d8a93b757a
Support reporting XTVERSION
...
Fixes #5342
2025-12-26 11:06:55 -08:00
Daniel Imms
9453634f56
Merge pull request #5501 from Tyriar/demo3
...
Make clear css file is for index.html
2025-12-26 10:59:43 -08:00
Daniel Imms
10e12cf743
Make clear css file is for index.html
...
Follow up on #5500
2025-12-26 10:54:07 -08:00
Daniel Imms
79621a4e3f
Merge pull request #5500 from Tyriar/demo2
...
More demo refactors
2025-12-26 10:51:49 -08:00
Daniel Imms
546c5e081d
Inline simplified style to test.html
2025-12-26 10:46:27 -08:00
Daniel Imms
e6ad59b1b1
Disable grid layout in test.html
2025-12-26 10:38:39 -08:00
Daniel Imms
8eab98b78d
Change banner bg color
2025-12-26 04:41:05 -08:00
Daniel Imms
0ed6fd0db6
Fix order of init
2025-12-26 04:40:22 -08:00
Daniel Imms
e3f87ab8a1
More move handlers into addons and test window
2025-12-26 04:36:51 -08:00
Daniel Imms
8119bb0a4a
Simplify window interaction
2025-12-26 04:31:06 -08:00
Daniel Imms
dc0d7c81d9
Add terminal and addon refs to all windows
2025-12-26 04:24:07 -08:00
Daniel Imms
fa87ecdc4e
Move more handlers into testWindow.ts
2025-12-26 04:15:13 -08:00
Daniel Imms
b82e8f345f
Move more handlers out, addon types into shared file
2025-12-26 04:09:24 -08:00
Daniel Imms
02e9e56eef
Move more handlers into testWindow.ts
2025-12-26 04:04:08 -08:00
Daniel Imms
4fffb96f25
Move addCjk into window, move window interactions out of createTerminal
2025-12-26 03:51:01 -08:00
Daniel Imms
6fe5a124ca
Merge pull request #5498 from Tyriar/demo
...
Improve demo
2025-12-26 03:29:03 -08:00
Daniel Imms
f62043de91
Merge pull request #5497 from xtermjs/Tyriar-patch-1
...
Box Elements -> Block Elements
2025-12-25 04:27:12 -08:00
Daniel Imms
55e5ec6037
Box Elements -> Block Elements
2025-12-25 04:21:47 -08:00
Daniel Imms
7b2a5cb50f
Merge pull request #5496 from xtermjs/Tyriar-patch-1
...
Replace range separator with hyphen
2025-12-25 04:05:17 -08:00
Daniel Imms
8740dcda4d
Replace range separator with hyphen
2025-12-25 03:59:54 -08:00
Daniel Imms
c046f5b4b1
More refactors
2025-12-25 03:41:47 -08:00
Daniel Imms
6bde923f07
Register the windows
2025-12-24 17:09:20 -08:00
Daniel Imms
40b2bbef34
Improve demo by making full screen, add control bar
2025-12-24 16:43:35 -08:00
Daniel Imms
c04806fc92
Merge pull request #5495 from Tyriar/tyriar/git_branch
...
Support custom glyphs for Git Branch Symbols (PUA U+F5D0-U+F60D)
2025-12-24 16:42:45 -08:00
Daniel Imms
8b1306f46d
More polish
2025-12-24 16:13:11 -08:00
Daniel Imms
6612153c44
Add alignment tests
2025-12-24 16:10:36 -08:00
Daniel Imms
2be529ce85
Polish definitions
2025-12-24 16:05:42 -08:00
Daniel Imms
96aa97ce11
Add extended symbols
2025-12-24 15:51:00 -08:00
Daniel Imms
98f4c3128c
Stub second batch of glyphs
2025-12-24 15:35:46 -08:00
Daniel Imms
ce1ab6fdc4
Correct order or curved glyphs
2025-12-24 15:31:49 -08:00
Daniel Imms
e87e0f5443
Add git branch symbol alignment tests
2025-12-24 15:27:30 -08:00
Daniel Imms
4a8d8bd247
Partially implement git branch symbols
...
Part of #5477
2025-12-24 15:03:28 -08:00
Daniel Imms
edf100a24b
Merge pull request #5494 from Tyriar/tyriar/scale
...
Add char-based custom glyph scaling
2025-12-24 13:23:23 -08:00
Daniel Imms
ed2d8b8fdc
Merge branch 'master' into tyriar/scale
2025-12-24 12:36:32 -08:00
Daniel Imms
faeefb53bf
Merge pull request #5481 from BattlefieldDuck/fix/incorrect-theme-reference
...
Fix incorrect ITheme reference in comments
2025-12-24 12:29:40 -08:00
Daniel Imms
32ff1f2115
Merge pull request #5492 from Tyriar/sinon
...
Remove need for sinon
2025-12-24 12:25:41 -08:00
Daniel Imms
acb59daf33
Fix lint
2025-12-24 12:20:12 -08:00
Daniel Imms
a3d6bf6710
Merge pull request #5493 from Tyriar/tyriar/node
...
Upgrade missed parts from node 18 -> 22
2025-12-24 12:10:26 -08:00
Daniel Imms
5e5c623d8b
Create test ts project in ligatures addon
2025-12-24 12:09:28 -08:00
Daniel Imms
168520f727
Upgrade missed parts from node 18 -> 22
2025-12-24 11:39:10 -08:00
Daniel Imms
23f61911e2
Remove need for sinon
2025-12-24 11:35:20 -08:00
Daniel Imms
491fa5586a
Merge pull request #5491 from Tyriar/jsdom
...
Upgrade jsdom
2025-12-24 11:33:33 -08:00
Daniel Imms
2f549d74ae
Merge pull request #5490 from Tyriar/lint
...
Update eslint and nyc
2025-12-24 11:26:35 -08:00
Daniel Imms
9df2430433
Upgrade jsdom
2025-12-24 11:26:19 -08:00
Daniel Imms
ce9f6275ed
Fix lint-api
2025-12-24 11:19:06 -08:00
Daniel Imms
9ca04799fe
Merge remote-tracking branch 'origin/master' into lint
2025-12-24 11:16:01 -08:00
Daniel Imms
83757d1bf0
Polish arrow strokes
2025-12-24 11:13:58 -08:00
Daniel Imms
60fa9122a2
Remove old yarn rule and regen package lock
2025-12-24 10:46:59 -08:00
Daniel Imms
a8d40a1edf
Update eslint and nyc
2025-12-24 10:44:46 -08:00
Daniel Imms
78cc07f88a
Split arrow parts into hybrid scaling
2025-12-24 10:30:34 -08:00
Daniel Imms
72d7c69a29
Add char-based custom glyph scaling
...
Draw calls can now be scaled by the char bounding box instead of the
cell bounding box. This means these character won't be stretched. Both
can also be used at the same like as is the case with 1FBBC RIGHT OPEN
SQUARED DOT.
Fixes #5488
2025-12-24 10:19:11 -08:00
Daniel Imms
0e0b445784
Merge pull request #5487 from Tyriar/tyriar/5480
...
Move customGlyphs option into webgl addon
2025-12-24 08:46:27 -08:00
Daniel Imms
5d24866042
Move customGlyphs option into webgl addon
...
Fixes #5480
2025-12-24 08:35:06 -08:00
Daniel Imms
cbea462737
Merge pull request #5486 from Tyriar/tyriar/powerline_extra
...
Implement remaining powerline extra symbols
2025-12-24 08:23:39 -08:00
Daniel Imms
a3ae94af1d
Correct range
2025-12-24 08:18:19 -08:00
Daniel Imms
0e35521810
Add powerline alignment tests
2025-12-24 08:15:50 -08:00
Daniel Imms
40590fedfa
Merge branch 'master' into tyriar/powerline_extra
2025-12-24 08:07:37 -08:00
Daniel Imms
1551d94de4
Implement remaining powerline extra symbols
...
- Uses fontforge + helper bin/convert_svg_to_custom_glyph.js
- Some of these are very large. They'll be much smaller after gzip but
if this becomes a problem we can compile the svgs into a binary format
Fixes #5479
2025-12-24 08:06:20 -08:00
Daniel Imms
d605803866
Merge pull request #5485 from Tyriar/tyriar/braille
...
Support custom gylphs for braille patterns (U+2800-U+28FF)
2025-12-24 07:09:40 -08:00
Daniel Imms
a797852dfd
Support custom gylphs for braille patterns (U+2800-U+28FF)
...
Fixes #5476
2025-12-24 07:00:53 -08:00
Daniel Imms
d42f2b54ff
Merge pull request #5484 from Tyriar/tyriar/fix_sextants
...
Fix sextant rendering
2025-12-24 06:43:57 -08:00
Daniel Imms
79084c3066
Fix sextant rendering
...
Broke in #5483
2025-12-24 06:38:21 -08:00
Daniel Imms
b4f4946cca
Merge pull request #5483 from Tyriar/glyph_cleanup
...
Consolidate custom glyph definition parts
2025-12-24 06:21:11 -08:00
Daniel Imms
ed779b9062
Replace PATH_FUNCTION_WITH_WEIGHT with a generic strokeWidth prop
2025-12-24 06:14:41 -08:00
Daniel Imms
20fdfba16f
Replace BLOCK_PATTERN_WITH_REGION with new clipPath
2025-12-24 04:33:32 -08:00
Daniel Imms
11dae84ff7
Support clip path on any draw definition
2025-12-24 04:25:59 -08:00
Daniel Imms
579573e77d
Merge pull request #5482 from xtermjs/Tyriar-patch-1
...
Remove line ending editorconfig file
2025-12-24 04:24:04 -08:00
Daniel Imms
2114abe88c
Support multiple glyphs with multiple draw calls
2025-12-24 04:19:14 -08:00
Daniel Imms
d4fd96639f
Remove line ending editorconfig file
...
This is normalized by git and ends up causing git status to show files that don't actually need to be committed after line ending normalization.
2025-12-24 04:18:31 -08:00
Daniel Imms
269d8c20ae
Merge pull request #5475 from Tyriar/depc
...
Remove remnants of deprecated options
2025-12-24 04:03:49 -08:00
TatLead
49b49627f1
Fix incorrect ITheme reference in comments
2025-12-24 07:10:12 +08:00
Daniel Imms
663b94011a
Remove remnants of deprecated options
...
Following up on #5462
2025-12-23 08:24:35 -08:00
Daniel Imms
54fcb1ea2f
Merge pull request #5474 from Tyriar/demo_warn
...
Fix warnings in demo
2025-12-23 08:17:29 -08:00
Daniel Imms
a9da3fbf05
Merge pull request #5473 from Tyriar/tyriar/5466_legacy_computing
...
Support entire Symbols for Legacy Computing unicode block (0x1FB00-0x1FBFF), add missing powerline symbol
2025-12-23 08:15:05 -08:00
Daniel Imms
091c3967f7
Fix warnings in demo
2025-12-23 08:12:12 -08:00
Daniel Imms
10d6ce3805
Update customGlyphs option
2025-12-23 08:09:46 -08:00
Daniel Imms
eb285af11d
Add diagonal alignment tests
2025-12-23 08:05:02 -08:00
Daniel Imms
0976935f87
Implement remaining Terminal graphic characters (1FBC0-1FBCA)
2025-12-23 07:42:57 -08:00
Daniel Imms
884b667f4e
Implement stick figures 1FBC5-1FBC9
2025-12-23 07:04:19 -08:00
Daniel Imms
b8843732bf
Implement Terminal graphic characters (1FBCB-1FBCD)
2025-12-23 04:49:46 -08:00
Daniel Imms
44d8d2c873
Finish implementing Terminal graphic characters (1FBB9-1FBBC)
2025-12-23 04:28:45 -08:00
Daniel Imms
3d3abf9cf2
Implement folder 1FBB9-1FBBA
2025-12-23 04:22:19 -08:00
Daniel Imms
268f7af5db
Implement running man 1FBB2 and 1FBB3
2025-12-23 04:15:41 -08:00
Daniel Imms
16b72dfd63
Mark powerline symbol range as reserved
2025-12-23 03:50:34 -08:00
Daniel Imms
a0e658a18c
Add column number powerline symbol
2025-12-23 03:42:41 -08:00
Daniel Imms
ea6385f310
Comment alignment
2025-12-23 03:39:37 -08:00
Daniel Imms
02a9d2b047
Indicate reserved codepoints in demo
2025-12-23 03:30:02 -08:00
Daniel Imms
5c0c553936
Implement Arrows (1FBB4-1FBB8)
2025-12-22 19:46:35 -08:00
Daniel Imms
eb743e0e19
Implement Terminal graphic character (1FBFA-1FBFA)
2025-12-22 19:15:00 -08:00
Daniel Imms
29d91fe264
Fill in remaining parts of legacy computing
2025-12-22 16:27:41 -08:00
Daniel Imms
e8dcf46f39
Add PATH_NEGATIVE, simplify 1FBBD-1FBBF
2025-12-22 16:22:06 -08:00
Daniel Imms
66c1316f87
Implement ARROWHEAD-SHAPED POINTER
2025-12-22 15:43:53 -08:00
Daniel Imms
e1803ed5a5
Implement Triangular shade characters (1FB9C-1FB9F)
2025-12-22 15:30:55 -08:00
Daniel Imms
1c3813f3d4
Implement Negative terminal graphic characters (1FBBD-1FBBF)
2025-12-22 15:28:51 -08:00
Daniel Imms
e12aef9287
Implement Block elements (1FBCE-1FBCF)
2025-12-22 15:21:10 -08:00
Daniel Imms
f5edba0b64
Improve docs on segmentedDigit
2025-12-22 15:18:42 -08:00
Daniel Imms
5a995e5595
Implement Geometric shapes (1FBE0-1FBEF)
2025-12-22 15:14:40 -08:00
Daniel Imms
2bae212f83
Implement Character cell diagonals (1FBD0-1FBDF)
2025-12-22 14:19:02 -08:00
Daniel Imms
bde3680cd1
Implement 2 more parts
2025-12-22 14:15:26 -08:00
Daniel Imms
717399ceb6
Implement diagonal fill chars and light solid line with stroke
2025-12-22 14:04:51 -08:00
Daniel Imms
51121f1913
Stub legacy computing custom glyph ranges
...
Part of #5466
2025-12-22 13:42:38 -08:00
Daniel Imms
483acd3335
Merge pull request #5472 from Tyriar/tyriar/5466_refactor__unified
...
Custom glyph: Unify rendering function and move all definitions into a single ordered object
2025-12-22 13:31:36 -08:00
Daniel Imms
9dc8cecea3
Fix imports
2025-12-22 13:04:44 -08:00
Daniel Imms
89c2649504
Merge branch 'master' into tyriar/5466_refactor__unified
2025-12-22 12:57:03 -08:00
Daniel Imms
390076fc3f
Order box drawing consistently
2025-12-22 12:56:16 -08:00
Daniel Imms
a4edeed85d
Add box drawing to custom glyph ranges test
2025-12-22 12:48:23 -08:00
Daniel Imms
e61697fc86
Start organizing box drawing characters
2025-12-22 12:46:43 -08:00
Daniel Imms
9c019b44c3
unified -> customGlyph
2025-12-22 12:39:31 -08:00
Daniel Imms
5579d83f7d
Move box drawing into unified
2025-12-22 12:39:14 -08:00
Daniel Imms
429065487a
Move block elements and like into unified
2025-12-22 12:34:12 -08:00
Daniel Imms
219036cb0f
Add powerline to glyph ranges test
2025-12-22 12:26:58 -08:00
Daniel Imms
3e80637145
Move powerline to unified
2025-12-22 12:14:50 -08:00
Daniel Imms
0af884d379
Correct shade rectangle rendering
2025-12-22 12:09:41 -08:00
Daniel Imms
5ae9ddf4b8
Add range to headers in ranges test
2025-12-22 12:06:59 -08:00
Daniel Imms
7ac068844c
Fix warnings in unicodeTables.ts
2025-12-22 12:06:27 -08:00
Daniel Imms
5bf3d57d16
Move rectangular shade chars into unified
2025-12-22 12:05:47 -08:00
Daniel Imms
6461829411
Clean up symbols for legacy def
2025-12-22 11:48:45 -08:00
Daniel Imms
efd6a52033
Support path without function
2025-12-22 11:46:53 -08:00
Daniel Imms
3d9e976cb3
Move main symbols for legacy computing into unified
2025-12-22 11:41:49 -08:00
Daniel Imms
415de67106
Start move to unified draw definition
...
Part of #5466
2025-12-22 11:35:41 -08:00
Daniel Imms
c17c01086f
Merge pull request #5471 from Tyriar/tyriar/5466_refactor
...
Refactor custom glyph to move into folder, split definition from raster
2025-12-22 11:34:43 -08:00
Daniel Imms
ce41b175ee
Remove cyclic dep
2025-12-22 11:11:50 -08:00
Daniel Imms
32b4547c5a
Tweak symbol names
2025-12-22 11:09:02 -08:00
Daniel Imms
b64543aa59
Make medium shade consistent, make all shades less heavy
2025-12-22 10:57:59 -08:00
Daniel Imms
f049c42acc
Add CustomGlyph to exports from rasterizer
2025-12-22 10:48:50 -08:00
Daniel Imms
28760cf482
Move custom glyphs into new folder
2025-12-22 10:47:35 -08:00
Daniel Imms
4982305b51
Split definitions and rasterizer
2025-12-22 10:46:53 -08:00
Daniel Imms
7fee40ddcd
Merge pull request #5470 from Tyriar/tyriar/5466_shade
...
Custom glyph support for rectangular shade/combo chars
2025-12-22 10:41:54 -08:00
Daniel Imms
180183e876
Custom glyph support for rectangular shade/combo chars
...
Range: U+1FB8C-U+1FB94
Part of #5466
2025-12-22 10:29:22 -08:00
Daniel Imms
8308ede3f5
Merge pull request #5468 from Tyriar/5466_mosaic
...
Custom glyph support for mosaic terminal graphics chars
2025-12-22 10:27:53 -08:00
Daniel Imms
a6db7b41f6
Suppress naming-convention for file as it conflicts with unicode props
2025-12-22 08:34:43 -08:00
Daniel Imms
f11241d9de
Custom glyph support for mosaic terminal graphics chars
...
Range: U+1FB3C-U+1FB6F
Part of #5466
2025-12-22 08:29:03 -08:00
Daniel Imms
937deb9f4b
Merge pull request #5467 from Tyriar/5464_block_sextants
...
Custom glyph support for block sextants (U+1FB00-U+1FB3B)
2025-12-22 08:27:29 -08:00
Daniel Imms
6acc861b06
Lint
2025-12-22 07:54:47 -08:00
Daniel Imms
8f05b1854b
Lint
2025-12-22 07:41:18 -08:00
Daniel Imms
0f461e7a3e
Custom glyph support for block sextants (U+1FB00-U+1FB3B)
...
Fixes #5464
2025-12-22 07:33:43 -08:00
Daniel Imms
4237d82923
Merge pull request #5465 from Tyriar/5464_demo_helper
...
Add demo helper to print Symbols for Legacy Computing
2025-12-22 07:26:42 -08:00
Daniel Imms
187156764a
Add demo helper to print Symbols for Legacy Computing
...
Range: 1FB00–1FBFF
Part of #5464
2025-12-22 07:16:22 -08:00
Daniel Imms
f447274f43
Merge pull request #5463 from Tyriar/tyriar/v6
...
v6.0.0, bump addon versions, publish unicode graphemes
2025-12-22 05:48:49 -08:00
Daniel Imms
f68d1e5d58
Skip sync output tests for now
2025-12-21 13:03:25 -08:00
Daniel Imms
30691e8b46
v6.0.0, bump addon versions, publish unicode graphemes
...
Part of #5147
2025-12-21 12:49:37 -08:00
Daniel Imms
5fa632518e
Merge pull request #5462 from Tyriar/tyriar/deprecated
...
Remove deprecated windowsMode and fastScrollModifier
2025-12-21 05:06:56 -08:00
Daniel Imms
3571d1f51a
Remove windowsMode in favor of windowsPty
2025-12-21 05:01:15 -08:00
Daniel Imms
ebc0d83d8e
Remove deprecated/unused fastScrollModifier
2025-12-21 04:58:45 -08:00
Daniel Imms
d1c50c14e3
Merge pull request #5461 from Tyriar/tyriar/glob
...
Remove need for glob module
2025-12-20 08:44:33 -08:00
Daniel Imms
92b43bdf9b
Remove only
2025-12-20 08:33:56 -08:00
Daniel Imms
a9d3ca19f4
Merge pull request #5449 from iSuslov/exports/esm-headless-node
...
Configure "exports" field in package.json [headless]
2025-12-20 07:47:58 -08:00
Daniel Imms
cb4d1ef2c0
Merge pull request #5453 from chrislloyd/feat/synchronized-output
...
Add synchronized output support (DEC mode 2026)
2025-12-20 07:44:32 -08:00
Daniel Imms
34fd0dcf53
Remove need for glob module
2025-12-20 07:44:24 -08:00
Daniel Imms
7335f15943
Merge pull request #5460 from Tyriar/tyriar/test-results
...
Git ignore test-results/
2025-12-20 07:37:43 -08:00
Daniel Imms
5e9cd6208f
Git ignore test-results/
2025-12-20 07:37:20 -08:00
Daniel Imms
6733e13a44
Invert initial assertion
2025-12-20 07:33:18 -08:00
Daniel Imms
ad07f2cf76
Revert last frame request cache clearing
2025-12-20 07:23:20 -08:00
Daniel Imms
5396243bce
Merge pull request #5450 from iSuslov/fix-esm-path-addon-unicode-graphemes
...
Fix wrong export path for ESM target in [addon-unicode-graphemes]
2025-12-20 07:20:08 -08:00
Daniel Imms
12c4f9536e
Use underline cursor style to ensure cursor color isn't reported
2025-12-20 07:13:41 -08:00
Daniel Imms
e9ba31f1b6
Explicitly set background color in playwright tests
2025-12-20 06:40:16 -08:00
Daniel Imms
ed0ab5f9e4
Add missing property to headless API test assertion
2025-12-20 06:39:27 -08:00
Daniel Imms
0741f8be5c
Merge pull request #5452 from iSuslov/upgrade-glob-version-fix-tsc-build
...
Fix tsc build - upgrade glob version
2025-12-20 06:37:06 -08:00
Daniel Imms
2edd121f1b
Add node about serialize addon support
2025-12-20 06:17:31 -08:00
Daniel Imms
1eee5cdf18
Add synchronizedOutput mode to headless terminal object
2025-12-20 06:14:45 -08:00
Daniel Imms
20c1674d00
Update package-lock.json
2025-12-20 06:12:41 -08:00
Daniel Imms
32553fff06
Add synchronizedOutputMode to xterm-headless.d.ts
2025-12-20 06:05:36 -08:00
Daniel Imms
832aa54478
Fix colors and clear cached frames to pass tests
2025-12-20 06:04:11 -08:00
Daniel Imms
7f50b56ae4
Fix one playwright test
2025-12-10 08:44:13 -08:00
Daniel Imms
bd361af105
Fix lint
2025-12-10 07:59:52 -08:00
Daniel Imms
9ea059de6f
Move SynchronizedOutputHandler to bottom of file
2025-12-10 07:50:59 -08:00
Daniel Imms
7cdf3f9dd7
Prefer const enum so the number is inlined
2025-12-10 07:50:28 -08:00
Daniel Imms
7f81df5a3a
Add BSU and ESU to VT tab in demo
2025-12-10 07:49:07 -08:00
Chris Lloyd and Claude
af5dbfcd2c
Add DECRQM support for synchronized output mode
...
Applications can now detect synchronized output support by querying
CSI ? 2026 $ p and receiving CSI ? 2026 ; <mode> $ y response.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-12-09 08:26:04 -08:00
Chris Lloyd and Claude
5d0eae8576
Fix spec URL to use master branch
...
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-12-09 08:23:37 -08:00
Chris Lloyd and Claude
6b63c5f260
Address PR review feedback for synchronized output
...
- Remove synchronizedOutputTimeout public API, hardcode 1s timeout
- Extract SynchronizedOutputHandler class for cleaner code
- Update spec URL to contour-terminal/vt-extensions
- Remove unnecessary comment in InputHandler
- Delete unit tests, add integration tests in SharedRendererTests
- Fix whitespace issue
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-12-09 07:58:31 -08:00
Chris Lloyd and Claude
7228e2e2dc
Add synchronized output support (DEC mode 2026)
...
Implement synchronized output mode (CSI ? 2026 h/l) which allows
applications to batch terminal updates and render them atomically,
preventing screen tearing during rapid output.
Features:
- BSU (CSI ? 2026 h) pauses rendering, buffering row updates
- ESU (CSI ? 2026 l) flushes buffer and renders atomically
- Configurable timeout via synchronizedOutputTimeout option (default 5s)
- Exposed via terminal.modes.synchronizedOutputMode
Closes #3375
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-12-04 11:16:25 -08:00
Ivan Suslov
a3e1ecf91b
Fix tsc build - upgrade glob version
2025-12-04 07:28:40 -05:00
Ivan Suslov
b41d3ef130
Fix ESM export path for addon-unicode-graphemes
2025-12-04 05:02:12 -05:00
Ivan Suslov
8338418471
Added exports field to headless package.json
2025-12-04 03:56:32 -05:00
Daniel Imms
46c510a76d
Merge pull request #5413 from afska/patch-1
...
Adding EmuDevz to the "Real-world uses" list
2025-11-23 13:47:40 -08:00
Daniel Imms
80c3164070
Merge pull request #5446 from Tyriar/tyriar/npm
...
Migrate from yarn to npm, node 18 -> 22, use npm workspaces
2025-11-23 13:47:15 -08:00
Daniel Imms
236004ce6c
Merge branch 'master' into tyriar/npm
2025-11-23 12:53:21 -08:00
Daniel Imms
741d9c3273
Remove install-addon calls
2025-11-23 10:00:21 -08:00
Daniel Imms
bf4fb3ad64
Migrate to npm workspaces
2025-11-23 09:54:17 -08:00
Daniel Imms
da4ab8a01e
Remove peer dependency, generate lock files
2025-11-23 09:35:43 -08:00
Daniel Imms
92eddf8a61
Move to npm
2025-11-23 09:01:24 -08:00
Daniel Imms
637231e6e1
Merge pull request #5445 from Tyriar/tyriar/perf
...
Prefer performance.now() over Date.now()
2025-11-23 08:46:24 -08:00
Daniel Imms
6468a78237
Fix comment lint
2025-11-23 08:40:35 -08:00
Daniel Imms
98e234992b
Prefer performance.now() over Date.now()
...
performance.now() is faster than Date.now() as there's no need to
consult the system clock. The more important part of this is that
performance.now() is monotonic and is guaranteed to never to backwards.
2025-11-23 08:32:35 -08:00
Daniel Imms
e1023d7ec2
Merge pull request #5442 from Tyriar/tyriar/5441
...
Fix headless module path
2025-11-14 10:18:17 -08:00
Daniel Imms
d186a3a115
Fix headless module path
...
Fixes #5441
2025-11-12 09:30:11 -08:00
Shuhei Takahashi
d03416467d
Fix key duplication on Android with physical keyboards
...
When typing rapidly on Android with physical keyboards, characters often
duplicate on the terminal. This is because physical keyboard events
always go through IME on Android, even for plain English characters, and
rapid typing causes a race condition in the composition helper.
This patch fixes the issue by making sure textarea changes are handled
correctly.
2025-11-07 12:33:59 +09:00
Daniel Imms
65a0e03b66
Merge pull request #5437 from xtermjs/anthonykim1/preventPageScrollWhenMouseOff
...
Prevent entire page from scrolling when scrolling in alt buffer with mouse event off
2025-11-02 03:54:46 -08:00
Anthony Kim
6ae020f51e
add this.cancel(ev, true) when line is zero on wheel handler
2025-10-31 14:39:42 -07:00
Daniel Imms
6c79a46513
Merge pull request #5436 from xtermjs/merogge/serialize-range
...
add range to IHTMLSerializeOptions
2025-10-28 09:41:17 -07:00
meganrogge
4a62856153
fix test
2025-10-28 12:30:54 -04:00
meganrogge
5121867bbb
rm line
2025-10-28 11:56:56 -04:00
meganrogge
5a467da137
pass in startLine, endLine, startCol
2025-10-28 11:46:41 -04:00
meganrogge
18bafaf9c9
fix indentation
2025-10-28 10:30:22 -04:00
meganrogge
5141a91bba
add range to IHTMLSerializeOptions
2025-10-28 10:27:00 -04:00
Daniel Imms
9fce067266
Merge pull request #5425 from xtermjs/anthonykim1/parsingDataCharCode
...
Only show char codes for parsing data on trace
2025-10-22 19:08:47 -07:00
Daniel Imms
59241e467c
Update src/common/InputHandler.ts
2025-10-22 19:02:14 -07:00
Anthony Kim
09e26980d3
I dont think we need () => in front of typeof data === 'string'
2025-10-22 16:23:35 -07:00
Anthony Kim
c3bb36bad9
if trace, debug each AND remove array.from
2025-10-22 16:11:22 -07:00
Anthony Kim
2c57b3219b
Only show char codes for parsing data on trace
2025-10-22 09:47:33 -07:00
Daniel Imms
e9e8206467
Merge pull request #5423 from Tyriar/tyriar/resize5300
...
Clear selection on vertical resize
2025-10-19 01:21:28 -07:00
Daniel Imms
9a7517d3eb
Clear selection on vertical resize
...
Fixes #5300
2025-10-19 01:15:30 -07:00
Daniel Imms
1bf90d9f47
Merge pull request #5422 from xtermjs/Tyriar-patch-1
...
Explain filtering unit tests by file
2025-10-18 13:49:38 -07:00
Daniel Imms
1527e89ad5
Explain filtering unit tests by file
2025-10-18 06:40:45 -07:00
Daniel Imms
95cc31566a
Merge pull request #5421 from xtermjs/Tyriar-patch-1
...
Use Windows PowerShell instead of pwsh 7 in demo
2025-10-18 06:20:41 -07:00
Daniel Imms
7274e1bbea
Use Windows PowerShell instead of pwsh 7 in demo
...
When pwsh 7 isn't installed it's hard to figure out what the problem is.
2025-10-18 06:15:19 -07:00
Daniel Imms
a8fabcfa01
Merge pull request #5420 from xtermjs/anthonykim1/charCodesForVerbose
...
Only log character codes for trace log
2025-10-17 11:39:21 -07:00
Anthony Kim
67cf25989a
only send codes, not the data when in trace
2025-10-17 11:26:34 -07:00
Anthony Kim and Daniel Imms
f87e574971
Update src/common/services/CoreService.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2025-10-17 11:23:24 -07:00
Anthony Kim
5269462817
Only log character codes for verbose/trace
2025-10-17 10:12:10 -07:00
Anthony Kim
f4baddaaf1
Merge pull request #5411 from xtermjs/anthonykim1/fixTeleportWhenAltScroll
...
Fix teleport when exiting out of alt buffer. v2
2025-10-17 09:20:23 -07:00
Rodrigo Alfonso
3aa836e5d7
Adding EmuDevz to the "Real-world uses" list
2025-10-10 03:24:12 -03:00
Anthony Kim
2a6e22e8f8
set this._latestYDisp = undefined onBufferActivate
2025-10-01 20:36:06 -07:00
Anthony Kim
32c3cb01a1
Make sure this._latestYDisp is up to date
2025-09-30 23:04:04 -07:00
Daniel Imms
a1d8e96fdd
Merge pull request #5406 from Tyriar/tyriar/search_refactor
...
Refactor search addon into multiple files, add unit tests
2025-09-26 18:24:44 +09:00
Daniel Imms
c4780e54fd
Merge branch 'master' into tyriar/search_refactor
2025-09-26 17:52:47 +09:00
Daniel Imms
c56336b32b
Fix unit tests
2025-09-26 17:49:20 +09:00
Daniel Imms
d11f411c17
Bring back respecting of cached search term
2025-09-26 17:09:54 +09:00
Daniel Imms
f03dfbb3ba
Merge pull request #5407 from Tyriar/tyriar/bd09_copilot_instructions
...
Improve Copilot instructions and add test guidelines
2025-09-26 16:51:46 +09:00
Daniel Imms
ffd6dc6ab7
Fix import issue
2025-09-19 09:06:53 -07:00
Daniel Imms
5b4b93acc6
Improve Copilot instructions and add test guidelines
...
- Enhanced copilot instructions with detailed architecture overview
- Added comprehensive development workflow documentation
- Documented addon development patterns and key examples
- Added project-specific conventions and TypeScript structure
- Included common patterns for parser integration and buffer access
- Added critical implementation details for rendering and events
- Created unit test instructions file with addon testing rules
- Specified preferences for assertions and self-documenting tests
2025-09-19 09:03:02 -07:00
Daniel Imms
2b329eb7b7
Search engine tests
2025-09-19 08:58:30 -07:00
Daniel Imms
9c5644ddc0
Add SearchEngine tests
2025-09-19 08:52:14 -07:00
Daniel Imms
398e87490d
Add coding guidelines and lint-fix script
...
- Add coding guidelines section to copilot instructions
- Specify rule about avoiding comments in unit tests
- Add lint-fix npm script for auto-fixing ESLint issues
2025-09-18 13:27:12 -07:00
Daniel Imms
a191370d54
refactor: remove unnecessary interface exports
...
- Remove export from IHighlight and IMultiHighlight interfaces
- Remove export from ISelectedDecoration interface
- Remove export from ISearchPosition interface
- Keep ISearchResult exported as it's used across multiple files
- Make ISelectedDecoration extend IDisposable for consistency
2025-09-18 13:26:43 -07:00
Daniel Imms
bf9ce3bfaf
Clean up SearchLineCache.test.ts comments
...
- Remove unnecessary inline comments from unit tests
- Add descriptive assertion messages where appropriate
- Follow coding guidelines for test comment usage
2025-09-18 13:21:07 -07:00
Daniel Imms
ca7e8ca3b7
refactor(addon-search): extract components
...
- Extract SearchEngine for core search algorithms
- Extract DecorationManager for visual decorations
- Extract SearchState for state management
- Extract SearchResultTracker for result tracking
- Simplify SearchAddon by delegating to components
- Improve modularity and maintainability
2025-09-18 07:38:42 -07:00
Daniel Imms
ab43a3bd22
Merge pull request #5405 from Tyriar/tyriar/b8d4_search_interface_refactor
...
Refactor search addon interfaces
2025-09-18 06:31:18 -07:00
Daniel Imms
32e58c71fe
Refactor search addon interfaces
...
- Move ISearchAddonOptions and ISearchResultChangeEvent to types
- Make noScroll property required in IInternalSearchOptions
- Change exported interfaces to internal scope where appropriate
2025-09-18 06:25:12 -07:00
Daniel Imms
b12a9393f1
Merge pull request #5404 from Tyriar/tyriar/1de3_timeout_cleanup
...
Replace timeout handling with disposableTimeout
2025-09-17 15:12:00 -07:00
Daniel Imms
c27af4fa2e
Remove thenable from more places
2025-09-17 15:06:33 -07:00
Daniel Imms
90bf20d9d8
Remove Thenable
2025-09-17 15:02:27 -07:00
Daniel Imms
8ffcbd98c4
Replace timeout handling with disposableTimeout
...
- Use disposableTimeout instead of manual timeout management
- Replace MutableDisposable pattern for SearchAddon highlight timeout
- Replace SearchLineCache timeout with MutableDisposable approach
- Clean up timeout disposal logic in both classes
2025-09-17 14:48:11 -07:00
Daniel Imms
15d90826f9
Merge pull request #5403 from Tyriar/tyriar/76c0_search_line_cache
...
Add SearchLineCache for improved search performance
2025-09-17 14:38:34 -07:00
Daniel Imms
304143a166
Add SearchLineCache for improved search performance
...
- Add SearchLineCache class to cache translated buffer lines
- Integrate caching into SearchAddon for line translation
- Improve search performance by avoiding repeated translation
- Add cache invalidation on terminal resize and writes
2025-09-17 14:28:03 -07:00
Daniel Imms
02b3704af0
Merge pull request #5402 from Tyriar/tyriar/9436_copilot_instructions
...
Update GitHub Copilot instructions with test details
2025-09-17 09:28:07 -07:00
Daniel Imms
eb1330ca18
Merge pull request #5401 from Tyriar/tyriar/search-refactor
...
Refactor search addon types and internal handling
2025-09-17 09:22:07 -07:00
Daniel Imms
3a15c8080d
Update GitHub Copilot instructions with test details
...
- Add comprehensive unit test examples with yarn test-unit
- Include integration test examples with yarn test-integration
- Document test filtering by file path and wildcard patterns
- Explain test runner frameworks (mocha and playwright)
2025-09-17 09:21:40 -07:00
Daniel Imms
6ac9f59ef4
Fix tests
2025-09-17 09:16:20 -07:00
Daniel Imms
bffdc59901
Merge branch 'master' into tyriar/search-refactor
2025-09-17 08:53:54 -07:00
Daniel Imms
76a8a8e347
Refactor search addon types and internal handling
...
- Import search types from addon-search package
- Add IInternalSearchOptions interface for noScroll param
- Update _updateMatches to use internal search methods
- Pass internal options through search method chain
2025-09-17 08:52:38 -07:00
Daniel Imms
e37aba5924
Merge pull request #5399 from Tyriar/tyriar/search-constants-refactor
...
Refactor search constants and improve documentation
2025-09-17 08:16:51 -07:00
Daniel Imms
5c0107462e
Merge pull request #5379 from xtermjs/dependabot/npm_and_yarn/addons/addon-ligatures/form-data-4.0.4
...
Bump form-data from 4.0.0 to 4.0.4 in /addons/addon-ligatures
2025-09-17 08:13:12 -07:00
Daniel Imms
87a45acae7
Refactor search constants and improve documentation
...
- Convert standalone constants to Constants enum with detailed docs
- Fix spacing issue in SearchAddon class declaration
- Update all references to use Constants enum for consistency
2025-09-17 08:06:56 -07:00
Daniel Imms
ab01a5fd65
Merge pull request #5398 from Tyriar/tyriar/search-api-typing
...
Add proper typing for search results change event
2025-09-17 07:54:29 -07:00
Daniel Imms
6e833e5d5d
Add proper typing for search results change event
...
- Export ISearchResultChangeEvent interface in addon-search
- Use proper Event<T> typing instead of inline object
- Improve API consistency and type safety for consumers
2025-09-17 07:33:43 -07:00
Daniel Imms
d7d7f1b023
Merge pull request #5391 from Tyriar/tyriar/mouse_events
...
Bring back partial wheel tracking
2025-09-09 18:42:38 -07:00
Anthony Kim
9c42fb348b
ignore fastScrollModifier
2025-09-09 13:21:37 -07:00
Anthony Kim
e4f222f6b0
Make test happy
2025-09-09 12:03:51 -07:00
Anthony Kim
38bee71630
More clear comments
2025-09-09 12:00:19 -07:00
Anthony Kim
1a6a807f68
Remove stale comment
2025-09-09 11:59:29 -07:00
Anthony Kim
03ce26c697
Questions, possible concern
2025-09-09 11:56:28 -07:00
Anthony Kim
cf6b868dfb
fastScrollModifier seems deprecated
2025-09-09 11:51:27 -07:00
Anthony Kim
d862c82386
no stale comments
2025-09-08 21:14:20 -07:00
Anthony Kim
50df7a69e6
remove unused var
2025-09-08 21:06:37 -07:00
Anthony Kim
26ecba8de1
Fix sluggish mouse problem. Now similar to trackpad
2025-09-08 21:03:05 -07:00
Daniel Imms
0d1e6b7a5e
Merge pull request #5390 from xtermjs/anthonykim1/fixTeleportAltBuffer
...
Fix scrollbar teleport after exiting alt buffer
2025-08-29 05:41:52 -07:00
Anthony Kim
b104a5b953
Respect original formatting
2025-08-28 22:56:15 -07:00
Anthony Kim
ebddd5d346
Move from CoreBrowerTerminal to CoreMouseService. Still slow though
2025-08-28 22:54:50 -07:00
Daniel Imms
5bd7b4aaec
Bring back partial wheel tracking
...
Part of microsoft/vscode#224750
2025-08-28 10:28:19 -07:00
Anthony Kim
a6fdf043ce
Respect original formatting
2025-08-28 08:57:25 -07:00
Anthony Kim
287702610c
More clean up after removing test
2025-08-28 08:54:01 -07:00
Anthony Kim
4d59eca5f9
Clean up
2025-08-28 08:52:46 -07:00
Anthony Kim
753ea81fc0
BufferService listen to onBufferActivate, remove tests
2025-08-28 08:46:27 -07:00
Anthony Kim
675b2c3a70
Improve test
2025-08-27 21:31:34 -07:00
Anthony Kim
86745e1320
Add some tests from copilot
2025-08-27 21:12:15 -07:00
Anthony Kim
a3ab942ea1
Fix teleport issue when coming back from alt buffer
2025-08-27 20:45:52 -07:00
Daniel Imms
e969832946
Merge pull request #5385 from anthonykim1/anthonykim1/fixWrappedTerminalFind
...
Fix terminal find when wrapped
2025-08-21 12:40:01 -07:00
Anthony Kim
95a9531ec1
Try to add tests
2025-08-20 22:49:03 -07:00
Daniel Imms
7637a2de19
Merge pull request #5386 from alexkozy/safe-guards
...
fix: ensure that currentRow can not go out of the range
2025-08-20 14:15:08 -07:00
Alexey Kozy
a589be2826
fix: ensure that currentRow can not go out of the range
2025-08-20 13:47:40 -07:00
Anthony Kim
b53096f4a2
Clean code
2025-08-20 10:55:47 -07:00
Anthony Kim
687d8277e7
Fix terminal find when wrapped
2025-08-20 10:53:40 -07:00
Daniel Imms
4c0cf27cfc
Merge pull request #5334 from CodinGame/webgl-renderer-shadow-dom
...
Support shadow dom in webgl renderer
2025-07-31 08:32:44 -07:00
Loïc Mangeonjean
149527ddb8
refactor: apply requested style change
2025-07-31 17:08:30 +02:00
dependabot[bot]
9c3eb170d2
Bump form-data from 4.0.0 to 4.0.4 in /addons/addon-ligatures
...
Bumps [form-data](https://github.com/form-data/form-data ) from 4.0.0 to 4.0.4.
- [Release notes](https://github.com/form-data/form-data/releases )
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md )
- [Commits](https://github.com/form-data/form-data/compare/v4.0.0...v4.0.4 )
---
updated-dependencies:
- dependency-name: form-data
dependency-version: 4.0.4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-21 23:07:47 +00:00
Daniel Imms
c4b707e9ca
Merge pull request #5362 from Tyriar/tyriar/steps2
...
Move copilot steps to correct folder
2025-06-21 11:01:00 -07:00
Daniel Imms
9d35d59fb3
Move copilot steps to correct folder
2025-06-21 11:00:33 -07:00
Daniel Imms
877b37d3cc
Merge pull request #5359 from Tyriar/tyriar/copilot_steps
...
Add copilot setup steps
2025-06-21 10:55:11 -07:00
Daniel Imms
f14f55c951
Add copilot setup steps
2025-06-21 10:54:46 -07:00
Daniel Imms
8a16a551e0
Merge pull request #5358 from Tyriar/tyriar/reflow_bounds
...
Revert "Merge pull request #5321 from Tyriar/5319"
2025-06-18 06:17:46 -07:00
Daniel Imms
2a5239578a
Revert "Merge pull request #5321 from Tyriar/5319"
...
This reverts commit a260f7d288 , reversing
changes made to 2042bb8502 .
2025-06-18 06:09:53 -07:00
Daniel Imms
d28eb696ec
Merge pull request #5355 from Tyriar/tyriar/3634
...
Add note about reverse tabnapping
2025-06-13 08:41:38 -07:00
Daniel Imms
4c0c2559c3
Add note about reverse tabnapping
...
Fixes #3634
2025-06-13 08:19:31 -07:00
Daniel Imms
ee0a3deb6a
Merge pull request #5349 from xtermjs/copilot/fix-3382
...
Add comprehensive tests for alt+shift+letter keyboard combinations
2025-06-05 03:47:13 -07:00
copilot-swe-agent[bot] and Tyriar
076f051bb5
Fix ESLint trailing spaces warning in Keyboard.test.ts
...
Co-authored-by: Tyriar <2193314+Tyriar@users.noreply.github.com >
2025-06-05 10:34:53 +00:00
copilot-swe-agent[bot] and Tyriar
658c57546c
Add comprehensive tests for alt+shift+letter keyboard combinations
...
Co-authored-by: Tyriar <2193314+Tyriar@users.noreply.github.com >
2025-06-05 10:24:34 +00:00
copilot-swe-agent[bot]
223a650e3e
Initial plan for issue
2025-06-05 10:13:25 +00:00
Daniel Imms
4b6316e510
Merge pull request #5346 from xtermjs/copilot/fix-4538-2
...
Remove alt -> ctrl+arrow hack in favor of embedder-specific solutions
2025-05-31 06:59:41 -07:00
copilot-swe-agent[bot] and Tyriar
41546230dc
Remove alt -> ctrl+arrow hack and update tests
...
Co-authored-by: Tyriar <2193314+Tyriar@users.noreply.github.com >
2025-05-29 13:20:54 +00:00
copilot-swe-agent[bot]
8413c0f94b
Initial plan for issue
2025-05-29 13:09:01 +00:00
Daniel Imms
8828b47cea
Merge pull request #5345 from Tyriar/tyriar/instruct
...
Add instructions to help Copilot coding agent
2025-05-29 06:05:50 -07:00
Daniel Imms
b0f300e61b
Add instructions to help Copilot coding agent
2025-05-29 06:00:41 -07:00
Loïc Mangeonjean
3ad83dd70e
chore: add webgl shadow dom test
2025-05-21 21:51:01 +02:00
Loïc Mangeonjean
496b53d84d
fix: support shadow dom in webgl renderer
2025-05-20 16:31:17 +02:00
Daniel Imms
e9c547c1c6
Merge pull request #5337 from Tyriar/tyriar/5336
...
Fix finding terms across wrapped lines
2025-05-08 11:47:46 -07:00
Daniel Imms
0307e2c586
Fix finding terms across wrapped lines
...
Fixes #5336
2025-05-08 11:40:17 -07:00
Daniel Imms
e29c2360e7
Merge pull request #5335 from Tyriar/tyriar/5255
...
webgl: Ignore alpha channel when allowTransparency is false
2025-05-07 08:19:19 -07:00
Daniel Imms
2b38b65392
webgl: Ignore alpha channel when allowTransparency is false
...
Fixes #5255
Part of microsoft/vscode#204663
2025-05-07 08:05:22 -07:00
Daniel Imms
baf12e7aa4
Merge pull request #5308 from alexemorris/patch-1
...
Update AccessibilityManager.ts to use textContent rather than innerText
2025-04-23 05:13:17 -07:00
Daniel Imms
064efd6876
Merge branch 'master' into patch-1
2025-04-23 05:03:38 -07:00
Daniel Imms
f615ac58b3
Merge pull request #5329 from Tyriar/esbuild_250422
...
Update and pin esbuild
2025-04-22 03:11:47 -07:00
Daniel Imms
2af170dbc9
Merge pull request #5317 from tabarra/docs/registerMarker-tip
...
docs: added usage tip for registerMarker()
2025-04-22 03:03:48 -07:00
Daniel Imms
39ad2cf3fe
Update and pin esbuild
2025-04-22 03:03:44 -07:00
Daniel Imms
21387ecdae
Merge pull request #5322 from xtermjs/dependabot/npm_and_yarn/addons/addon-ligatures/axios-1.8.2
...
Bump axios from 1.7.4 to 1.8.2 in /addons/addon-ligatures
2025-04-22 02:56:22 -07:00
Daniel Imms
78fbae3293
Add additional note to main doc
2025-04-22 02:54:14 -07:00
Daniel Imms
a8ead811bf
Move clarification into write apis
2025-04-22 02:47:33 -07:00
Daniel Imms
9696dd0c2b
Merge branch 'master' into docs/registerMarker-tip
2025-04-22 02:35:47 -07:00
Daniel Imms
5e9ffb4c56
Merge pull request #5328 from Tyriar/5327_scroll
...
Refresh viewport after clear or ED
2025-04-21 07:09:59 -07:00
Daniel Imms
e9587cf68f
Refresh viewport after clear or ED
...
Fixes #5327
2025-04-21 07:00:27 -07:00
Daniel Imms
1771825e81
Merge pull request #5224 from Blashaq/master
...
putty-style ED2 sequence handling as terminal option
2025-04-21 06:54:42 -07:00
Daniel Imms
e5b838a01b
scrollOnDisplayErase -> scrollOnEraseInDisplay
2025-04-21 06:39:15 -07:00
Daniel Imms
cd23a21bbf
Align jsdoc
2025-04-21 06:37:48 -07:00
Daniel Imms
42946d72ba
More alphabetical fix
2025-04-21 06:37:17 -07:00
Daniel Imms
2c836ede76
Tweak API position/docs
2025-04-21 06:34:45 -07:00
Adrian Błasiak
26d29abef1
Merge branch 'master' into master
2025-04-15 11:03:04 +02:00
dependabot[bot]
14d0f14c82
Bump axios from 1.7.4 to 1.8.2 in /addons/addon-ligatures
...
Bumps [axios](https://github.com/axios/axios ) from 1.7.4 to 1.8.2.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.7.4...v1.8.2 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-14 17:44:13 +00:00
Daniel Imms
a260f7d288
Merge pull request #5321 from Tyriar/5319
...
Reflow on resize using similar logic to conpty
2025-03-14 10:43:16 -07:00
Daniel Imms
16772e8d8b
Update lock file
2025-03-14 10:36:22 -07:00
Daniel Imms
e3e11b1a90
Reflow on resize using similar logic to conpty
...
This aligns reflowing much closer to how conpty does it. This was always
an issue but only became a big issue recently because conpty 1.22+ opts
to passthrough sequences rather than reprinting aggressively. This means
that the conpty buffer being in sync with the xterm.js buffer is more
important, otherwise the cursor will show up in a seemingly random
position.
The existing reflow appears to differ somewhat in conpty, like it seems
to reflow at the word level, not the character level like xterm.js, but
refining that closer if not worth the effort since conpty may end up
relying on the terminal's buffer in the future[1].
Fixes #5319
Fixes #3513
Related #4231
Related microsoft/vscode#241978
[1]: https://github.com/microsoft/terminal/blob/main/doc/specs/%2313000%20-%20In-process%20ConPTY.md
2025-03-14 10:26:32 -07:00
tabarra
8576581574
docs: added usage tip for registerMarker()
2025-03-02 09:28:50 -03:00
Daniel Imms
2042bb8502
Merge pull request #5313 from Tyriar/revert_4978
...
Revert "Merge pull request #5253 from akphi/patch-1"
2025-02-14 06:44:18 -08:00
Daniel Imms
18cd9b137f
Revert "Merge pull request #5253 from akphi/patch-1"
...
This reverts commit 601efc3745 , reversing
changes made to af4208dad0 .
2025-02-14 06:35:24 -08:00
Alex Morris
1495e7134f
Update AccessibilityManager.ts to use textContent rather than innerText
...
The innerText property requires layout and therefore is not very efficient. For more information, see http://www.kellegous.com/j/2013/02/27/innertext-vs-textcontent/ .
2025-02-12 16:46:01 +00:00
Daniel Imms
a7a941ce78
Merge pull request #5305 from Tyriar/tyriar/ctx_slow
...
Fix issue where listeners remain after WebglRenderer throws
2025-02-07 06:26:21 -08:00
Daniel Imms
1c98c52535
Bump download-artifact
2025-02-07 06:11:47 -08:00
Daniel Imms
9a3d1c6de1
Bump upload-artifact
2025-02-07 06:07:47 -08:00
Daniel Imms
a8d43eb2ec
Fix issue where listeners remain after WebglRenderer throws
...
See microsoft/vscode#239838
2025-02-07 05:58:28 -08:00
Daniel Imms
d81b25c3bf
Merge pull request #5291 from Tyriar/polish_2
...
Make ProgressAddon.onChange non undefined
2025-01-09 06:14:23 -08:00
Daniel Imms
c95ec71e09
Make ProgressAddon.onChange non undefined
...
Fixes #5288
2025-01-09 06:03:34 -08:00
Daniel Imms
6188f764d1
Merge pull request #5290 from Tyriar/progress_polish
...
Progress polish
2025-01-09 05:41:58 -08:00
Daniel Imms
dc9084b5ad
Progress polish
...
Fixes #5287
Fixes #5288
Fixes #5289
2025-01-09 05:32:36 -08:00
Daniel Imms
330e91ef08
Merge pull request #5251 from jerch/progress-addon
...
progress-addon
2025-01-09 05:04:36 -08:00
Daniel Imms
9caff8d778
Add note in readme about full API
2025-01-09 04:58:02 -08:00
Jörg Breitbart
6f6ce33588
Merge branch 'master' into progress-addon
2025-01-09 02:32:26 +01:00
Jörg Breitbart
8101132352
rename types, remove rc import in d.ts
2025-01-09 02:05:36 +01:00
Jörg Breitbart
96a3be3ca8
polish docs
2025-01-09 01:20:25 +01:00
jerch and Daniel Imms
75e5cc19e0
Update addons/addon-progress/typings/addon-progress.d.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2025-01-09 01:06:18 +01:00
Daniel Imms
0692d486f4
Merge pull request #5286 from Tyriar/webgl_only_from_shared
...
Move WebGL addon-specific code into addon
2025-01-08 11:01:15 -08:00
Daniel Imms
cfc1071c73
Fix more relative imports
2025-01-08 10:54:57 -08:00
Daniel Imms
6bcd4f0551
Add missing relative dir to imports
2025-01-08 10:45:41 -08:00
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
dce403afd9
Merge pull request #5218 from xtermjs/dependabot/npm_and_yarn/cross-spawn-7.0.6
...
Bump cross-spawn from 7.0.3 to 7.0.6
2025-01-08 09:38:14 -08:00
Daniel Imms
ef4a3fd933
Merge pull request #5212 from LeoDog896/patch-1
...
chore(addons/fit): fix typo
2025-01-08 09:34:07 -08:00
Daniel Imms
c21f32d012
Merge pull request #5282 from database-client-lib/fix-unexpected-composition
...
Fixed CapsLock triggering input twice in MacOS.
2025-01-08 09:34:03 -08:00
Daniel Imms
66780c03d4
Merge pull request #5196 from ceccopierangiolieugenio/add-pyTermTk-sandbox-project
...
Add pyTermTk HTML5 Exporter project to "Real-world uses"
2025-01-08 09:33:30 -08:00
Daniel Imms
6b53ab4b61
Merge pull request #5252 from jtbandes/patch-1
...
Fix ReferenceError in publish.js
2025-01-08 09:33:19 -08:00
Daniel Imms
334ca07eae
Merge branch 'master' into add-pyTermTk-sandbox-project
2025-01-08 09:33:03 -08:00
Daniel Imms
7e01dc1358
Merge pull request #5219 from jackieoft/master
...
Add new site to Real-world uses
2025-01-08 09:32:13 -08:00
Daniel Imms
84f14cab58
Merge branch 'master' into master
2025-01-08 09:32:01 -08:00
Daniel Imms
85992928a7
Merge pull request #5247 from mathiscode/patch-1
...
Update README.md - add ecmaOS as Use Case
2025-01-08 09:30:57 -08:00
Daniel Imms
582a027df1
Merge branch 'master' into master
2025-01-08 09:30:29 -08:00
Daniel Imms
db71de2858
Merge branch 'master' into dependabot/npm_and_yarn/cross-spawn-7.0.6
2025-01-08 09:28:50 -08:00
Daniel Imms
c1446d6385
Merge branch 'master' into patch-1
2025-01-08 09:28:02 -08:00
Daniel Imms
0151805864
Merge pull request #5285 from Tyriar/5284_detailed_liga
...
Support detailed ligatures and variants
2025-01-08 06:40:30 -08:00
Daniel Imms
408d0995dd
Support detailed ligatures and variants
...
Fixes #5284
2025-01-08 06:26:15 -08:00
Jörg Breitbart
6a232765f4
borrow emitter ctor from xterm
2025-01-07 21:22:40 +01:00
Jörg Breitbart
f516346e09
fix docs
2025-01-07 20:36:02 +01:00
Jörg Breitbart
c207edd49c
make linter happy
2025-01-07 19:25:47 +01:00
Jörg Breitbart
828603cfab
fix integration test
2025-01-07 19:24:14 +01:00
Jörg Breitbart
d7cebc312e
use event from xterm.js instead of own impl
2025-01-07 19:21:51 +01:00
Jörg Breitbart
5badbd3a6f
import ProgressState type to d.ts
2025-01-07 18:22:27 +01:00
Jörg Breitbart
a1e85a4eb5
Merge branch 'master' into progress-addon
2025-01-07 16:49:09 +01:00
cweijan
0433fb8a4b
Fixed CapsLock triggering input twice in MacOS.
2025-01-07 22:57:40 +08:00
Daniel Imms
9e206415b8
Merge pull request #5279 from AnouarTouati/fixing-#5270
...
Fixes : #5270 regex case-sensitive should behave like monaco
2025-01-07 06:45:03 -08:00
Daniel Imms
ffc61258f9
Merge pull request #5278 from Tyriar/liga_texture_limit
...
Handle glyph widths up to the maximum device texture size
2025-01-07 06:43:52 -08:00
Daniel Imms
a095c100ce
Merge pull request #5280 from Tyriar/monospace
...
Remove courier fonts from defaults
2025-01-07 06:40:22 -08:00
Daniel Imms
3c790ffbc5
Merge branch 'master' into fixing-#5270
2025-01-07 06:34:33 -08:00
Daniel Imms
04c1782f2f
Merge branch 'master' into liga_texture_limit
2025-01-07 06:34:25 -08:00
Daniel Imms
1efd52af30
Merge branch 'master' into monospace
2025-01-07 06:34:15 -08:00
Daniel Imms
cc78831262
Merge pull request #5281 from Tyriar/pw_dep
...
Pin Ubuntu 22 to fix playwright GH Actions issue for now
2025-01-07 06:34:04 -08:00
Daniel Imms
a7b98de833
Handle overflowing to new row
2025-01-07 06:28:59 -08:00
Daniel Imms
2c11eae732
Pin ubuntu to v22
2025-01-07 06:02:30 -08:00
Daniel Imms
bb7393b1cb
.
2025-01-07 06:00:38 -08:00
Daniel Imms
23e3905529
.
2025-01-07 05:55:39 -08:00
Daniel Imms
2774a27500
Try fix playwright dependency problem
2025-01-07 05:53:03 -08:00
Daniel Imms
763d2e773a
Match coding style of repo
2025-01-07 05:38:11 -08:00
Daniel Imms
38d340d176
Remove courier fonts from defaults
...
Fixes #5156
2025-01-07 05:17:36 -08:00
Anouar Touati
baf5cf45c3
fixes : #5270 regex case-sensitive should behave like monaco
2025-01-06 16:43:03 -05:00
Daniel Imms
ff9a3a1067
Merge branch 'master' into liga_texture_limit
2025-01-06 11:53:36 -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
33a5457407
Merge pull request #5277 from Tyriar/ligature_selection__cursor
...
Disable ligatures when cursor is in range
2025-01-06 11:27:44 -08:00
Daniel Imms
112cfbeac8
Merge branch 'master' into ligature_selection__cursor
2025-01-06 11:20:24 -08:00
Daniel Imms
d1b01c58f8
Merge pull request #5276 from Tyriar/ligature_selection
...
Fix selection rendering on ligatures in both renderers
2025-01-06 11:17:25 -08:00
Daniel Imms
9912e7b331
Disable ligatures when cursor is in range
...
Fixes #5230
2025-01-06 11:08:57 -08:00
Daniel Imms
c7a1e0aea3
Handle selections in the middle of ligatures too
2025-01-06 11:03:10 -08:00
Daniel Imms
5bfb130f03
Apply same approach for rendering joined selection in webgl
2025-01-06 10:52:04 -08:00
Daniel Imms
0521378e70
Fix ligature selection in DOM renderer
...
Part of #5231
2025-01-06 10:50:13 -08:00
Daniel Imms
ad08a2e15b
Render selection under ligatures for webgl
...
Part of #5231
2025-01-06 10:15:16 -08:00
Daniel Imms
a61fff6a93
Merge pull request #5275 from Tyriar/liga-test
...
Demo test button for common ligatures
2025-01-06 10:08:50 -08:00
Daniel Imms
cd5438c2c5
Add = and - long ligatures too
2025-01-06 10:01:09 -08:00
Daniel Imms
ef67b42fbd
Demo test button for common ligatures
...
Part of #5231
2025-01-06 09:59:00 -08:00
Daniel Imms
601efc3745
Merge pull request #5253 from akphi/patch-1
...
bug: properly render the terminal when open() is called again
2025-01-06 09:27:09 -08:00
An Phi
62656b8375
Merge branch 'master' into patch-1
2025-01-06 10:28:27 -05:00
Daniel Imms
af4208dad0
Merge pull request #5199 from asemdreibati/di-enhancement
...
Store the DI decorator's id in specific property (#5131 ).
2025-01-06 06:04:40 -08:00
Asem Dreibati
db925ad65d
Merge branch 'master' into di-enhancement
2024-12-23 16:06:48 +03:00
Daniel Imms
ce095b3593
Merge pull request #5249 from jtbandes/fix-click-not-delivered
...
Fix click event bug caused by DomRenderer replaceChildren behavior
2024-12-20 12:41:52 -08:00
Daniel Imms
5230e5aad0
Merge pull request #5265 from Tyriar/tyriar/3293
...
Revert to cursor options after DECSCUSR 0
2024-12-20 10:53:53 -08:00
Daniel Imms
d44f7818c4
Fix test to assert new behavior
2024-12-20 10:43:38 -08:00
Daniel Imms
f824083324
Correct @vt docs
2024-12-20 10:37:48 -08:00
Daniel Imms
82598e94a9
Fix default param DECSCUSR handling
2024-12-20 10:36:32 -08:00
Daniel Imms
b579649a39
Revert to cursor options after DECSCUSR 0
...
Fixes #3293
2024-12-20 10:34:05 -08:00
Daniel Imms
fb2e96e1b0
Add test button for DECSCUSR
...
Part of #3293
2024-12-20 10:21:19 -08:00
Daniel Imms
d5a2fed679
Merge pull request #5263 from Tyriar/5256
...
Make textarea readonly when disableStdin is set
2024-12-20 09:09:53 -08:00
Daniel Imms
318f3dc378
Merge pull request #5262 from Tyriar/tyriar/5241_2
...
Blend cursorAccent with background too
2024-12-20 09:06:36 -08:00
Daniel Imms
18c9eb1960
Remove .only
2024-12-20 09:01:30 -08:00
Daniel Imms
da22b0308e
Make textarea readonly when disableStdin is set
...
Fixes #5256
2024-12-20 09:00:05 -08:00
Daniel Imms
3e998387fe
Blend cursorAccent with background too
...
Fixes #5241
2024-12-20 08:51:17 -08:00
Daniel Imms
5018a07f3c
Merge pull request #5260 from Tyriar/5241
...
Blend cursor with background to support alpha in webgl
2024-12-20 07:46:40 -08:00
Daniel Imms
b74ec267e2
Blend cursor with background to support alpha in webgl
...
Fixes #5241
2024-12-20 07:37:12 -08:00
An Phi
d12b825ed4
Merge branch 'master' into patch-1
2024-12-18 01:28:45 -05:00
An Phi
9f9bb3c11c
bug: properly render the terminal when open() is called again
2024-12-18 01:26:47 -05:00
Jacob Bandes-Storch
9824230caf
Fix ReferenceError in publish.js
2024-12-17 12:20:55 -08:00
Jörg Breitbart
94ca05c8d6
fix handler example in readme
2024-12-15 20:01:05 +01:00
Jörg Breitbart
569e854a03
add to workflow bundle
2024-12-15 19:32:47 +01:00
Jörg Breitbart
f0fd3683d5
add to publish script
2024-12-15 19:28:19 +01:00
Jörg Breitbart
80c57221ef
fix esbuild script
2024-12-15 19:18:46 +01:00
Jörg Breitbart
6bb2210a91
initial commit
2024-12-15 18:57:03 +01:00
Jacob Bandes-Storch
1978399259
Fix click event bug caused by DomRenderer replaceChildren behavior
2024-12-13 13:57:17 -08:00
Jay Mathis
bc7288a389
Update README.md - add ecmaOS as Use Case
2024-12-12 21:40:46 -06:00
Daniel Imms
e826f6b69f
Merge pull request #5234 from jtbandes/reflow-cursor-line
...
Add reflowCursorLine option
2024-12-12 06:36:34 -08:00
Daniel Imms
0d67393072
Fix lint
2024-12-12 06:30:17 -08:00
Daniel Imms
65899a9b50
Update src/common/buffer/Buffer.ts
2024-12-12 06:25:36 -08:00
Daniel Imms
d7364faeee
Update src/common/buffer/BufferReflow.ts
2024-12-12 06:25:31 -08:00
Jacob Bandes-Storch
ae2622e5ce
Add reflowCursorLine option
2024-12-05 18:03:27 -08:00
blashaq
904ddbc884
code style fix
2024-11-23 16:59:30 +00:00
blashaq
92c21a6950
+ scrollOnDisplayErase option
2024-11-23 10:58:19 +00:00
Adrian Błasiak and jerch
780f9a31ff
Update src/common/InputHandler.ts
...
Co-authored-by: jerch <jerch@rockborn.de >
2024-11-21 22:46:06 +01:00
blashaq
9aba07f8f8
putty-style ED2 sequence handling as terminal option
2024-11-21 18:16:19 +00:00
JackieL
db621d7294
Update README.md
2024-11-19 14:59:53 +08:00
JackieL
9c66ad1139
Update README.md
2024-11-19 14:58:32 +08:00
dependabot[bot]
8d23cbc051
Bump cross-spawn from 7.0.3 to 7.0.6
...
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn ) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md )
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6 )
---
updated-dependencies:
- dependency-name: cross-spawn
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-18 22:41:31 +00:00
Tristan F.-R.
9e1d5ba7db
chore(addons/fit): fix typo
...
Reprepresents -> Represents
2024-11-11 18:57:03 -08:00
Daniel Imms
41e8ae3959
Merge pull request #5209 from Tyriar/5206
...
Ensure last ligature cell is updated
2024-11-04 10:20:34 -08:00
Daniel Imms
7fab293cd6
Ensure last ligature cell is updated
...
Fixes #3288
Fixes #5206
Part of microsoft/vscode#233005
2024-11-04 10:13:34 -08:00
Daniel Imms
b3f3cf1216
Merge pull request #5208 from Tyriar/5207
...
Set liga font feature when ligatures is enabled
2024-11-04 09:54:45 -08:00
Daniel Imms
77885ed63d
Set liga font feature when ligatures is enabled
...
Fixes #5207
2024-11-04 09:47:26 -08:00
Daniel Imms
3d9b1073d0
Merge pull request #5203 from xtermjs/Tyriar-patch-1
...
Don't hide build folders
2024-11-01 07:52:47 -07:00
Daniel Imms
aca9c89ece
Merge pull request #5202 from Tyriar/ligatures_resolve
...
Only resolve ligatures externals in commonjs environment
2024-11-01 07:52:28 -07:00
Daniel Imms
3948482dc7
Also remove associated comment
2024-11-01 07:20:10 -07:00
Daniel Imms
6684c406e8
Don't hide build folders
...
This was getting too annoying needing to comment out these lines
2024-11-01 07:19:33 -07:00
Daniel Imms
952ac61761
Only resolve ligatures externals in commonjs environment
...
Part of microsoft/vscode#34103
2024-11-01 07:18:27 -07:00
Asem Dreibati
a1b438cea6
Store the DI decorator's id in specific property ( #5131 ).
2024-10-29 10:31:57 +03:00
Eugenio Parodi
932b65ef67
Add pyTermTk HTML5 Exporter project to Real-world uses
2024-10-22 14:46:43 +01:00
Daniel Imms
f701d073d1
Merge pull request #5182 from jerch/fix_5181
...
fix #5181
2024-10-14 05:28:58 -07:00
Jörg Breitbart
085a275038
fix promise return, reject on missing family name, doc polish
2024-10-06 23:53:30 +02:00
Jörg Breitbart
9c74c81608
modified version of 5623ba6
2024-10-05 14:36:22 +02:00
Jörg Breitbart
687126970d
revert 5623ba6
2024-10-05 14:24:25 +02:00
Jörg Breitbart
39bd429835
partially revert last commit
2024-10-05 14:07:49 +02:00
Jörg Breitbart
104c63d7e0
cleanup files
2024-10-04 17:52:45 +02:00
Jörg Breitbart
70c9861c39
Merge branch 'master' into webfonts-addon
2024-10-04 17:51:18 +02:00
Jörg Breitbart
8faf097e83
fix flaky tests
2024-10-04 17:12:00 +02:00
Jörg Breitbart
d3298935b7
Merge remote-tracking branch 'upstream/master' into fix_5181
2024-10-04 16:56:30 +02:00
Jörg Breitbart
f9cf9b9782
fix #5181
2024-10-04 16:55:13 +02:00
Daniel Imms
a5fc111d62
Merge pull request #5180 from Tyriar/5179
...
Forward integration test exit code to running proc
2024-10-04 07:51:17 -07:00
jerch
5623ba6b63
slow down web links tests
2024-10-04 16:29:58 +02:00
jerch
3d9668f8fa
fix dispose error in Terminal.test.ts
2024-10-04 15:50:36 +02:00
Jörg Breitbart
c93623cb3b
CI tests
2024-10-04 14:24:36 +02:00
Jörg Breitbart
b0389a2ed1
future proof demo
2024-10-04 05:31:47 +02:00
Daniel Imms
621c702ff8
Forward integration test exit code to running proc
...
Fixes #5179
2024-10-03 20:10:10 -07:00
Jörg Breitbart
7907f13774
add license notes for fonts
2024-10-04 04:14:10 +02:00
Jörg Breitbart
956c7cbcba
demo tests
2024-10-04 04:00:20 +02:00
Jörg Breitbart
23bef99132
cleanup API
2024-10-04 02:06:02 +02:00
Jörg Breitbart
b104bcd144
remove await remnants
2024-10-04 00:42:38 +02:00
Jörg Breitbart
809b9aa1ad
fix test runner
2024-10-04 00:15:49 +02:00
Jörg Breitbart
9a536f758d
fix integration test runner
2024-10-03 22:23:31 +02:00
Jörg Breitbart
15a63bae22
change to global replacement
2024-10-03 22:10:40 +02:00
Jörg Breitbart
41640d9402
make linter happy
2024-10-03 22:07:10 +02:00
Jörg Breitbart
15664de472
initial
2024-10-03 21:50:34 +02:00
Daniel Imms
9186c724c4
Merge pull request #5171 from Tyriar/links
...
Fix links sometimes not activating
2024-09-27 13:08:14 -07:00
Daniel Imms
f764c0ac91
Fix links sometimes not activating
...
This was a very long standing bug that was hard to nail down a repro case. Turns
out this was because at some point the current link can get cleared and re-evaluated,
I think because of a different fix we made. That caused the object check to fail.
So the fix there is to check link equality, not js object equality.
Additionally I found we don't dispose of old linkifiers when open is called
multiple times.
See microsoft/vscode#230010
2024-09-27 12:58:34 -07:00
Daniel Imms
f56675f7e5
Merge pull request #5127 from jeanp413/fix-vscode-224750
...
Fix scroll dimensions when switching buffers
2024-09-20 10:36:05 -07:00
Daniel Imms
aa94fd6cfe
Merge pull request #5136 from esimkowitz/patch-1
...
Fix description for WebglAddon class in @xterm/addon-webgl
2024-09-20 10:27:23 -07:00
Daniel Imms
e011513b15
Merge pull request #5166 from xtermjs/dependabot/npm_and_yarn/express-4.20.0
...
Bump express from 4.19.2 to 4.20.0
2024-09-20 09:53:19 -07:00
Daniel Imms
5c10617981
Merge pull request #5165 from xtermjs/dependabot/npm_and_yarn/addons/addon-ligatures/axios-1.7.4
...
Bump axios from 1.6.0 to 1.7.4 in /addons/addon-ligatures
2024-09-20 09:18:08 -07:00
dependabot[bot]
c7f5ec4064
Bump express from 4.19.2 to 4.20.0
...
Bumps [express](https://github.com/expressjs/express ) from 4.19.2 to 4.20.0.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.20.0 )
---
updated-dependencies:
- dependency-name: express
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-20 16:10:45 +00:00
Daniel Imms
7642f55a1c
Merge pull request #5141 from xtermjs/dependabot/npm_and_yarn/webpack-5.94.0
...
Bump webpack from 5.88.2 to 5.94.0
2024-09-20 09:10:02 -07:00
Daniel Imms
3d9d526977
Merge pull request #5140 from fuglaro/master
...
Add Filet Cloud to Real-world uses
2024-09-20 09:09:39 -07:00
Daniel Imms
4e9233d150
Merge pull request #5151 from PerBothner/unicode-graphemes-webpack-fix
...
Fix 'npm run package' in addon-unicode-graphemes
2024-09-20 09:08:20 -07:00
dependabot[bot]
ac79c18090
Bump axios from 1.6.0 to 1.7.4 in /addons/addon-ligatures
...
Bumps [axios](https://github.com/axios/axios ) from 1.6.0 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.6.0...v1.7.4 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-20 16:06:45 +00:00
Daniel Imms
08221f17d6
Merge pull request #5157 from xtermjs/dependabot/npm_and_yarn/addons/addon-ligatures/path-to-regexp-1.9.0
...
Bump path-to-regexp from 1.7.0 to 1.9.0 in /addons/addon-ligatures
2024-09-20 09:06:22 -07:00
Daniel Imms
d910cfd696
Merge pull request #5148 from xtermjs/dependabot/npm_and_yarn/micromatch-4.0.8
...
Bump micromatch from 4.0.5 to 4.0.8
2024-09-20 09:06:16 -07:00
dependabot[bot]
0bf10e525e
Bump path-to-regexp from 1.7.0 to 1.9.0 in /addons/addon-ligatures
...
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp ) from 1.7.0 to 1.9.0.
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases )
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md )
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v1.7.0...v1.9.0 )
---
updated-dependencies:
- dependency-name: path-to-regexp
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-11 21:24:00 +00:00
Per Bothner
7cc921693a
Fix 'npm run package' in addon-unicode-graphemes
2024-09-07 21:02:20 -07:00
dependabot[bot]
ee3901f5da
Bump micromatch from 4.0.5 to 4.0.8
...
Bumps [micromatch](https://github.com/micromatch/micromatch ) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases )
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8 )
---
updated-dependencies:
- dependency-name: micromatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-04 18:10:30 +00:00
Evan Simkowitz
8bd4e10643
Merge branch 'master' into patch-1
2024-08-31 10:14:39 -07:00
Daniel Imms
44f9fa39ae
Merge pull request #5143 from Tyriar/5135
...
Publish commit and set peerDependencies to @xterm/xterm beta when publishing
2024-08-31 08:22:44 -07:00
Daniel Imms
fd0bb58379
Merge branch 'master' into 5135
2024-08-31 07:27:23 -07:00
Daniel Imms
13d078ecc7
Only set peerDependencies if the xterm version is beta
2024-08-31 07:26:12 -07:00
Daniel Imms
9a9ccbe29c
Improve logging in publish script
2024-08-31 07:24:50 -07:00
Daniel Imms
7ebbb86b50
Set peer dependencies and commit in published package.json
...
The commit will allow us to link published releases to the exact code
version.
Fixes #5135
2024-08-31 07:18:52 -07:00
Daniel Imms
6b54599ca7
Get publish script working on Windows/node 20
...
Part of #5135
2024-08-31 06:59:34 -07:00
Evan Simkowitz
1f60a244c2
Merge branch 'master' into patch-1
2024-08-30 20:26:32 -07:00
dependabot[bot]
54789266b6
Bump webpack from 5.88.2 to 5.94.0
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.88.2 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.88.2...v5.94.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-30 18:03:03 +00:00
John van Leeuwen
2d8c6be264
Add Filet Cloud to real-world uses
2024-08-30 02:43:47 +01:00
jerch
1b48cd04b8
Merge pull request #5139 from lusingander/image-addon-iip-jpeg
...
Fix image addon not being able to render some jpeg images in IIP
2024-08-28 16:28:30 +02:00
Kyosuke Fujimoto
b307adb081
Fix IIPMetrics jpg detection
2024-08-28 23:16:00 +09:00
Kyosuke Fujimoto
a07d97a9d3
Add test for jpg without APP segment to IIPMetrics
2024-08-28 16:21:34 +09:00
Evan Simkowitz
4914c4322c
Merge branch 'master' into patch-1
2024-08-24 15:14:53 -07:00
Daniel Imms
f186475ec9
Merge pull request #5130 from Tyriar/tyriar/5128
...
Remove xterm- prefix from addon mjs output
2024-08-23 09:29:29 -07:00
Evan Simkowitz
be84a02c8d
Fix description for WebglAddon class in @xterm/addon-webgl
2024-08-22 19:49:31 -07:00
Daniel Imms
fcad91a682
Remove xterm- prefix from addon mjs output
...
Fixes #5128
2024-08-15 05:56:24 -07:00
jeanp413
ad38b1a166
Fix https://github.com/microsoft/vscode/issues/224750
2024-08-14 07:45:37 -05:00
Daniel Imms
c6a50d5a1a
Merge pull request #5124 from Tyriar/tyriar/node-pty
...
Update node-pty, use conpty.dll
2024-08-08 06:52:20 -07:00
Daniel Imms
dd54ef13bc
Update node-pty, use conpty.dll
2024-08-08 05:54:56 -07:00
Daniel Imms
c2aee5b6c1
Merge pull request #5122 from Tyriar/tyriar/main_document
...
Use main document to create viewport element
2024-08-05 12:05:43 -07:00
Daniel Imms
abe0640331
Use main document to create viewport element
...
See microsoft/vscode#224555
2024-08-05 11:50:36 -07:00
Daniel Imms
cb3bd463a5
Merge pull request #5106 from Tyriar/tyriar/lifecycle
...
Move to vs/base disposables
2024-07-15 10:11:12 -07:00
Daniel Imms
56ec86242a
Fix test, fix all unit tests running on mac/linux
2024-07-15 10:01:55 -07:00
Daniel Imms
2a6cd8230c
Merge remote-tracking branch 'upstream/master' into tyriar/lifecycle
2024-07-15 09:52:09 -07:00
Daniel Imms
b192ba2304
Merge pull request #5107 from Tyriar/tyriar/overview_ruler
...
Add top/bottom border overview ruler options
2024-07-15 09:22:50 -07:00
Daniel Imms
bf41eb4204
Add top/bottom border overview ruler options
2024-07-15 09:14:49 -07:00
Daniel Imms
8a2a7ac6db
Resolve vs in image addon
2024-07-14 16:25:01 -07:00
Daniel Imms
93adffa819
Fix lint
2024-07-14 16:24:12 -07:00
Daniel Imms
144bdb5dd0
Move over to vs disposables
2024-07-14 16:19:20 -07:00
Daniel Imms
aee936264b
Move to MutableDisposable in vs
2024-07-14 16:09:53 -07:00
Daniel Imms
866bc9eb90
Move to dom.ts addDisposableListener
2024-07-14 16:07:39 -07:00
Daniel Imms
a7952ff36c
Merge pull request #5105 from Tyriar/canvas
...
Remove the canvas renderer
2024-07-14 10:54:54 -07:00
Daniel Imms
9712057b91
Remove the canvas renderer
...
Fixes #4779
2024-07-14 10:48:39 -07:00
Daniel Imms
9d8bba7a18
Merge pull request #5103 from tisilent/remove-unread
...
remove _workCell in InputHandler.
2024-07-14 09:21:15 -07:00
Daniel Imms
060ce7ad28
Merge pull request #5104 from Tyriar/tyriar/events
...
Remove EventEmitter in favor of vs/base/common/event's Emitter
2024-07-14 09:20:11 -07:00
Daniel Imms
180fd3c9ac
Resolve vs in unicode11
2024-07-14 09:11:33 -07:00
Daniel Imms
bd700fe515
Allow refreshing all rows without creating object
2024-07-14 09:05:18 -07:00
Daniel Imms
b6b19babc1
Fix benchmark npm script
2024-07-14 09:00:29 -07:00
Daniel Imms
618954b5d6
Import right path in addons
2024-07-14 08:56:54 -07:00
Daniel Imms
03c2b2f68e
Fix addon resolve path
2024-07-14 08:52:15 -07:00
Daniel Imms
ae8f2dd61a
Remove Events.ts in favor of new Event.forward
2024-07-14 08:50:37 -07:00
Daniel Imms
460a1370d7
Add forward to Event
2024-07-14 08:47:59 -07:00
Daniel Imms
68e0eb714d
Add vs resolve to addons
2024-07-14 08:47:03 -07:00
Daniel Imms
10b97f4856
Add vs alias to headless webpack config
2024-07-14 08:34:26 -07:00
Daniel Imms
26c73b8ead
Add vs project to headless tsconfig
2024-07-14 08:30:06 -07:00
Daniel Imms
e267f05141
Move forwardEvent to Events.ts
2024-07-14 08:20:18 -07:00
Daniel Imms
9c7e2ea98e
Remove IEvent and runAndSubscribe
2024-07-14 08:17:16 -07:00
Daniel Imms
9141b525a6
Migrate rest of EventEmitter to base/ Emitter
2024-07-14 08:06:48 -07:00
Daniel Imms
90ff6f3d06
Migrate most EventEmitter to base/ Emitter
2024-07-14 07:41:56 -07:00
Daniel Imms
9187cd3d0a
Add load test for long lines
2024-07-14 07:41:38 -07:00
谢佳龙
d0d759155b
remove _workCell.
2024-07-12 16:41:10 +08:00
Daniel Imms
618e47204d
Merge pull request #5102 from Tyriar/tyriar/dec
...
Ensure decorations are refreshed when origin of scroll event is buffe…
2024-07-11 11:48:37 -07:00
Daniel Imms
e9fd5c70ba
Ensure decorations are refreshed when origin of scroll event is buffer service
...
Fixes #5101
2024-07-11 11:48:00 -07:00
Daniel Imms
cbcd195cad
Merge pull request #5099 from Tyriar/tyriar/overflow
...
Remove overflow to allow decorations outside terminal
2024-07-11 11:16:28 -07:00
Daniel Imms
55303647c1
Remove overflow to allow decorations outside terminal
...
This is needed in the demo to show the red test decoration and in vscode for
shell integration decorations/quick fixes
2024-07-11 11:15:58 -07:00
Daniel Imms
f3bfe80995
Merge pull request #5096 from Tyriar/tyriar/esbuild4
...
Integrate base/ platform from VS Code and adopt scroll bar
2024-07-11 09:42:44 -07:00
Daniel Imms
90a1da28bd
Scroll immediately to bottom when scrollOnUserInput is enabled
...
See microsoft/vscode#211199
2024-07-11 09:36:22 -07:00
Daniel Imms
73ee951807
Resolve more todos
2024-07-11 08:43:54 -07:00
Daniel Imms
0f373512d2
Fix ICoreMouseService injecting
2024-07-11 08:37:48 -07:00
Daniel Imms
721d483cc3
Implement zero scrollback+no mouse event wheel handling
2024-07-11 08:35:42 -07:00
Daniel Imms
2da5eca384
Fix mouse events
2024-07-11 08:29:29 -07:00
Daniel Imms
a644b5d068
Clean up dealing with animation frame
2024-07-10 13:50:07 -07:00
Daniel Imms
d532a15bf2
Include all files, not just entry root folder
2024-07-10 13:46:04 -07:00
Daniel Imms
31e0af745d
Fix out-esbuild build
2024-07-10 13:42:14 -07:00
Daniel Imms
444c07fd81
Replace monaco- with xterm- in code/css files
2024-07-10 13:33:43 -07:00
Daniel Imms
f155d67c45
Replace monaco- with xterm- in the update script
2024-07-10 13:32:30 -07:00
Daniel Imms
59a8f0cf8e
_getMutableOptions -> _getChangeOptions
2024-07-10 12:47:47 -07:00
Daniel Imms
1096b7f17f
Create shared file for viewport constants
2024-07-10 12:40:02 -07:00
Daniel Imms
d6f7133fa6
Fix api lint
2024-07-10 12:36:08 -07:00
Daniel Imms
55c627572c
Support smooth scroll
2024-07-10 12:32:55 -07:00
Daniel Imms
2b8ccb5e51
Deprecate fast scroll modifier as it's no longer possible
...
Not possible via the component we import. We could add this but I
doubt it was being used anyway.
2024-07-10 08:30:32 -07:00
Daniel Imms
d1d25a5bf7
Polish all files (excl. CoreBrowserTerminal/Viewport)
2024-07-10 08:08:02 -07:00
Daniel Imms
ade5591d60
Const enum over magic number
2024-07-10 07:58:29 -07:00
Daniel Imms
eca0800b9d
Fix api lint
2024-07-10 07:55:22 -07:00
Daniel Imms
884141cd8f
Support theming of scroll bar slider
2024-07-10 07:54:39 -07:00
Daniel Imms
c7f80986c8
Inline some functions
2024-07-10 07:33:53 -07:00
Daniel Imms
9b26bb4436
Support theming of overview ruler border
2024-07-10 07:30:38 -07:00
Daniel Imms
75bf192af5
Have scroll bar bg react to theme change
2024-07-10 07:03:51 -07:00
Daniel Imms
416f12fcc3
Remove ScrollSource
...
This isn't used anymore, it was used earlier to workaround recursion between
the viewport and the terminal objects
2024-07-10 07:01:44 -07:00
Daniel Imms
c2b90c6dae
Remove missing demo webpack npm script
2024-07-10 06:58:45 -07:00
Daniel Imms
8b83f44a46
Tidy up esbuild bundle configs
2024-07-10 06:56:56 -07:00
Daniel Imms
522b39be86
Hide more folders from explorer
2024-07-10 06:55:55 -07:00
Daniel Imms
1b0078ad20
Exclude vs project from coverage
2024-07-10 06:42:50 -07:00
Daniel Imms
345b6906f9
Remove unused demo webpack config
2024-07-10 06:29:32 -07:00
Daniel Imms
c3c787eaa7
Resolve vs imports in webpacked bundle
2024-07-10 06:29:05 -07:00
Daniel Imms
1dada9f256
Fix scroll lines API
2024-07-10 06:27:47 -07:00
Daniel Imms
d904f2fce5
Generate source maps so errors report ts files
2024-07-10 06:26:39 -07:00
Daniel Imms
27195b003a
Patch out unsafe usage of navigator and window in node envs
2024-07-10 06:22:16 -07:00
Daniel Imms
b401865957
More clean up, doc updating vs/base
2024-07-09 13:53:16 -07:00
Daniel Imms
381200bce1
Fix fit addon to get the scroll bar working in the demo
2024-07-09 13:34:51 -07:00
Daniel Imms
c33ed46161
Delete unused files
2024-07-09 13:29:20 -07:00
Daniel Imms
86c875f7e9
Helper script for finding unused files
2024-07-09 13:08:57 -07:00
Daniel Imms
99db197472
.
2024-07-09 11:59:22 -07:00
Daniel Imms
4789c24e1e
Get esbuild working and adopt vs scrollbar
2024-07-09 11:19:15 -07:00
Daniel Imms
c30bffc60c
Set up vs project
2024-07-09 10:52:09 -07:00
Daniel Imms
190e1f014e
Add git ignore for vs
2024-07-09 10:41:54 -07:00
Daniel Imms
995ccc72f8
Merge pull request #5094 from Tyriar/images
...
Add build flow images and move logo into new images folder
2024-07-09 08:30:29 -07:00
Daniel Imms
5eb592f8c0
Merge pull request #5095 from Tyriar/procfile
...
Remove procfile
2024-07-09 08:30:07 -07:00
Daniel Imms
cb9b96dbbb
Copy right file when publishing headless
2024-07-09 08:21:42 -07:00
Daniel Imms
6382067e5b
Remove procfile
...
No one uses this afaik and it's been stale and broken for a while anyway
2024-07-09 08:19:59 -07:00
Daniel Imms
844315f05a
Add build flow images and move logo into new images folder
2024-07-09 08:17:32 -07:00
Daniel Imms
c5d352bbe1
Merge pull request #5093 from Tyriar/tyriar/test_naming
...
Align npm and test script names
2024-07-07 09:45:11 -07:00
Daniel Imms
aa6907335a
Align npm and test script names
2024-07-07 09:35:30 -07:00
Daniel Imms
d5921cd21b
Merge pull request #5092 from Tyriar/tyriar/esbuild3
...
Add support for ESM via esbuild
2024-07-07 09:29:23 -07:00
Daniel Imms
f341d0a3e9
Fix formatting of tasks.json
2024-07-07 09:21:55 -07:00
Daniel Imms
ab8453c773
Simplify zip job
2024-07-07 09:21:17 -07:00
Daniel Imms
2fc8acf81e
Publish addon mjs files
2024-07-07 09:15:25 -07:00
Daniel Imms
89e315ab2b
Hide build output from vscode explorer
2024-07-07 09:12:28 -07:00
Daniel Imms
faed3e7c80
Move playwright tests to use project references
2024-07-07 09:06:26 -07:00
Daniel Imms
215315b377
Esbuild package headless
2024-07-07 08:51:38 -07:00
Daniel Imms
b6a9c24c7d
Generate addon playwright suites via list of addons
2024-07-07 08:35:17 -07:00
Daniel Imms
ff01995691
Improve testing instructions
2024-07-07 08:32:19 -07:00
Daniel Imms
62c5747e3f
Use out-test for integration tests
2024-07-05 14:05:24 -07:00
Daniel Imms
c337fa8dc5
Upload lib artifacts
2024-07-05 13:41:12 -07:00
Daniel Imms
1911d19cf8
Build demo with esbuild
2024-07-05 12:37:10 -07:00
Daniel Imms
4d45215622
Run right esbuild script
2024-07-05 12:34:17 -07:00
Daniel Imms
804a2b7693
Zip up right folders, run esbuild in CI
2024-07-05 12:32:21 -07:00
Daniel Imms
992fa015a4
Move on to all ESM imports in the demo
2024-07-05 12:12:03 -07:00
Daniel Imms
208d6e96f8
Use esm image addon in demo
2024-07-05 12:00:05 -07:00
Daniel Imms
93bf18c5b0
Sourcemaps on prod build
2024-07-05 11:51:47 -07:00
Daniel Imms
057abba08b
mjs and js
2024-07-05 11:48:42 -07:00
Daniel Imms
40c5fbf0cb
Don't build test folders
...
These are for integration tests which need tsc sources anyway
2024-07-05 10:30:47 -07:00
Daniel Imms
24813f56ed
How to run tests
2024-07-05 09:35:03 -07:00
Daniel Imms
6135757349
Remove unwanted npm scripts
2024-07-05 09:16:47 -07:00
Daniel Imms
c9baa366ab
Fix image esbuild
2024-07-05 09:16:14 -07:00
Daniel Imms
be49bb6263
Move integration tests onto esbuild sources (except image)
2024-07-05 09:12:30 -07:00
Daniel Imms
9c3694af5a
Move unit tests onto esbuild sources
2024-07-05 09:10:20 -07:00
Daniel Imms
ba3ba899a5
Clean up
2024-07-05 08:55:01 -07:00
Daniel Imms
1f11c7e46c
Get sources building with esbuild
2024-07-05 08:46:15 -07:00
Daniel Imms
5b5e262dff
Merge pull request #5089 from Tyriar/tyriar/dts
...
Remove src dts files and correct exports
2024-07-05 08:20:03 -07:00
Daniel Imms
a7b248ea9b
Fix flakes in fit addon integration tests
2024-07-05 08:13:03 -07:00
Daniel Imms
039cd02482
Merge pull request #5091 from Tyriar/tyriar/windows_server
...
Ignore EPIPE exception on Windows when reloading demo client
2024-07-05 08:02:57 -07:00
Daniel Imms
7b3927a810
Merge pull request #5090 from Tyriar/tyriar/demo_warn
...
Suppress unrecognized option warning in demo
2024-07-05 07:53:38 -07:00
Daniel Imms
4a9e52ee44
Ignore EPIPE exception on Windows when reloading demo client
...
Whenever the demo is reloaded on Windows the demo server crashes. This just
ignores the error as I tried logging and adding try/catch around all
interactions with the websocket and couldn't narrow it down.
2024-07-05 07:53:33 -07:00
Daniel Imms
8f8c94a734
Suppress unrecognized option warning in demo
2024-07-05 07:14:17 -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
Daniel Imms
8927d5c50f
Merge pull request #5088 from Tyriar/tyriar/dec
...
Sync DOM decoration styles when line height/width changes
2024-07-04 08:45:58 -07:00
Daniel Imms
132553f521
Sync DOM decoration styles when line height/width changes
...
See microsoft/vscode#219979
2024-07-04 08:37:48 -07:00
Daniel Imms
795839cbe1
Merge pull request #5085 from Tyriar/addon_tests
...
Run other integration tests in CI
2024-07-03 08:51:45 -07:00
Daniel Imms
a1b2a1c5ee
\n -> \r\n on non-Windows
2024-07-03 08:44:49 -07:00
Daniel Imms
cae6fa0561
Merge pull request #5086 from xtermjs/dependabot/npm_and_yarn/ws-8.17.1
...
Bump ws from 7.5.9 to 8.17.1
2024-07-03 08:23:15 -07:00
Daniel Imms
224409d7d6
Use fixed dimensions on image test
2024-07-03 08:17:19 -07:00
dependabot[bot]
f0d2cb8d05
Bump ws from 7.5.9 to 8.17.1
...
Bumps [ws](https://github.com/websockets/ws ) from 7.5.9 to 8.17.1.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/7.5.9...8.17.1 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-03 15:17:03 +00:00
Daniel Imms
aee480afd3
Merge pull request #5070 from xtermjs/dependabot/npm_and_yarn/braces-3.0.3
...
Bump braces from 3.0.2 to 3.0.3
2024-07-03 08:16:31 -07:00
Daniel Imms
fbd430af6e
Merge pull request #5052 from renatoliveira/master
...
Update README.md
2024-07-03 08:14:35 -07:00
Daniel Imms
a884f91b22
Merge pull request #5059 from myarmolinsky/add-balena-real-world-use
...
Add `balena` to real world uses
2024-07-03 08:12:43 -07:00
Daniel Imms
46a3676634
Merge branch 'master' into add-balena-real-world-use
2024-07-03 08:12:10 -07:00
Daniel Imms
46a1221fc6
Merge pull request #5056 from Cainier/master
...
Add app OpenSFTP to README.md
2024-07-03 08:11:47 -07:00
Daniel Imms
b6ea2c4a99
Merge branch 'master' into master
2024-07-03 08:11:39 -07:00
Daniel Imms
d0782ad6b1
Merge pull request #5049 from info24/master
...
Add eva pro to README.md
2024-07-03 08:10:57 -07:00
Daniel Imms
11a909453f
Merge pull request #5071 from xtermjs/dependabot/npm_and_yarn/ws-8.17.1
...
Bump ws from 8.13.0 to 8.17.1
2024-07-03 08:10:29 -07:00
Daniel Imms
fec21b6e8e
Merge branch 'master' into dependabot/npm_and_yarn/braces-3.0.3
2024-07-03 08:10:01 -07:00
Daniel Imms
11b9eb4a1c
Use fixed dimensions on search test
2024-07-03 08:09:15 -07:00
Daniel Imms
2b735a0159
Remove space from project names
2024-07-03 05:15:41 -07:00
Daniel Imms
135c038167
Add server start script to all addons with integration tests
2024-07-03 05:07:09 -07:00
Daniel Imms
7489ddc4f7
Run other integration tests in CI
2024-07-03 05:03:18 -07:00
dependabot[bot]
a9fd92eba6
Bump ws from 8.13.0 to 8.17.1
...
Bumps [ws](https://github.com/websockets/ws ) from 8.13.0 to 8.17.1.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/8.13.0...8.17.1 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-03 11:39:42 +00:00
Daniel Imms
bc5074116e
Merge pull request #5083 from Tyriar/tyriar/ts
...
typescript@5.5
2024-07-03 04:39:15 -07:00
Daniel Imms
b9fbbfbb8e
Merge pull request #5082 from Tyriar/tyriar/eslint_warnings
...
Fix .eslintrc.json warnings, move deprecated to stylistic/ts
2024-07-03 04:38:08 -07:00
Daniel Imms
26c072f45c
Add missing plugin include
2024-07-03 04:32:22 -07:00
Daniel Imms
b7988bf00a
Upgrade playwright tsconfigs to use ESNext
...
This ends up outputing the required object destructuring that's needed by
playwright, see microsoft/playwright#8798
2024-07-03 04:31:34 -07:00
Daniel Imms
cca051041f
Also migrate semi rule, alphabetize
2024-07-03 04:21:41 -07:00
Daniel Imms
3c84cfe610
typescript@5.5
2024-07-03 04:17:11 -07:00
Daniel Imms
e2c5d91a2d
Fix .eslintrc.json warnings, move deprecated to stylistic/ts
2024-07-03 04:15:38 -07:00
Daniel Imms
7970eb3b3b
Merge pull request #5081 from Tyriar/cleanup
...
Simplify GH action names and remove test/api project
2024-07-03 03:22:01 -07:00
Daniel Imms
f44d68ef4a
Remain test/api project
2024-07-03 03:10:58 -07:00
Daniel Imms
54a20c511b
Simplify GH action names
2024-07-03 03:10:51 -07:00
Daniel Imms
147b542c9d
Merge pull request #5080 from Tyriar/tyriar/more_playwright2
...
Migrate remaining API tests to playwright and remove API test infrastructure
2024-07-03 03:08:37 -07:00
Daniel Imms
0f37152a9b
Remove API test CI jobs
2024-07-03 03:01:25 -07:00
Daniel Imms
efd4c5b340
Remove API test infrastructure
2024-07-03 02:57:05 -07:00
Daniel Imms
580bb082b5
Migrate image api tests to playwright
2024-07-03 02:56:09 -07:00
Daniel Imms
779ec7fad8
Migrate web-links api tests to playwright
2024-07-03 02:41:19 -07:00
Daniel Imms
89f3353a83
Migrate unicode11 api tests to playwright
2024-07-03 02:37:06 -07:00
Daniel Imms
ab2cb9a809
Migrate unicode-graphemes api tests to playwright
2024-07-03 02:33:17 -07:00
Daniel Imms
c9ad9cbf0e
Migrate serialize api tests to playwright
2024-07-03 02:30:27 -07:00
Daniel Imms
6047093325
Merge pull request #5079 from Tyriar/more_playwright
...
Migrate more API tests to playwright
2024-07-02 14:57:46 -07:00
Daniel Imms
713f765731
Migrate attach api tests to playwright
2024-07-02 14:52:47 -07:00
Daniel Imms
4295dfaf20
Migrate clipboard api tests to playwright (only chromium)
2024-07-02 14:49:36 -07:00
Daniel Imms
57bac91904
Migrate fit api tests to playwright
2024-07-02 14:25:31 -07:00
Daniel Imms
958ae9b0ce
Migrate search api tests to playwright
2024-07-02 14:08:34 -07:00
Daniel Imms
50032e2820
Merge pull request #5078 from Tyriar/shell_tests
...
Get tests working on node that requires shell arg
2024-07-02 13:01:52 -07:00
Daniel Imms
daa2440a40
Fix playwright project names
2024-07-02 11:42:39 -07:00
Daniel Imms
645b698f37
Reduce coverage threshold
2024-07-02 11:39:54 -07:00
Daniel Imms
4b6c8f1fe4
Get tests working on node that requires shell arg
...
These silently fail on Windows after a recent change in node.js
2024-07-02 11:04:04 -07:00
dependabot[bot]
9a7941c004
Bump braces from 3.0.2 to 3.0.3
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-16 09:56:44 +00:00
Daniel Imms
f77a763858
Merge pull request #5067 from Tyriar/base64
...
Correct addon-clipboard ctor types
2024-06-04 06:34:18 -07:00
Daniel Imms
2b716cd436
Correct addon-clipboard ctor types
2024-06-04 06:24:59 -07:00
Daniel Imms
a3024a98fe
Merge pull request #4879 from JasonXJ/a11y-char-width2
...
Align character position in a11y tree with the actual rendering
2024-06-04 05:38:31 -07:00
Daniel Imms
12e5841959
Fix lint
2024-06-04 05:30:54 -07:00
Daniel Imms
599cbc49f7
Merge branch 'master' into a11y-char-width2
2024-06-04 05:29:06 -07:00
Daniel Imms
c73793fa11
Merge pull request #5066 from Tyriar/tyriar/vscode_213174
...
Speed up clearing all markers, mass event listener dispose
2024-06-03 11:49:48 -07:00
Daniel Imms
dd106ae9b8
Speed up clearing all markers, mass event listener dispose
...
Part of microsoft/vscode#213174
2024-06-03 11:43:31 -07:00
Daniel Imms
baa4e1b0e8
Merge pull request #5054 from joelhockey/master
...
Add powerline git, LN, lock symbols
2024-06-03 07:38:53 -07:00
myarmolinsky
f02d68b36d
Add balena to real world uses
2024-05-24 07:47:45 -04:00
Cainier
80d2ee78e7
Update README.md
...
Add "OpenSFTP" to Real-world uses
2024-05-15 16:07:12 +08: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
Renato Oliveira
3c017f2291
Update README.md
...
Removes Katacoda from the real-world uses. That platform has been shutdown by O'Reilly.
2024-05-07 16:10:32 -03:00
info24
9b1396fb32
Add eva pro to README.md
2024-04-26 23:10:03 +08:00
Daniel Imms
2edc65baaa
Merge pull request #4220 from aymanbagabas/osc52
...
Add support to ANSI OSC52
2024-04-22 02:40:23 -07:00
Daniel Imms
6ed1f42fbe
Merge branch 'master' into osc52
2024-04-22 02:04:33 -07:00
Daniel Imms
826c057047
Merge pull request #5003 from josiahhudson/master
...
Support semi-colons in OSC 8 hyperlink URIs
2024-04-22 01:41:16 -07:00
Daniel Imms
1709d44697
Merge pull request #5020 from wavetermdev/escape-html
...
Escape Unsafe HTML Characters in addon-serialize
2024-04-21 08:50:50 -07:00
Daniel Imms
d77b41ed25
Add tests to cover OSC 8 hyperlinks
2024-04-21 08:38:12 -07:00
Daniel Imms
0e77f839ff
Use indexOf(';') approach
2024-04-21 08:30:45 -07:00
Daniel Imms
487278ac79
Merge branch 'master' into master
2024-04-21 08:26:25 -07:00
Daniel Imms
499afa1e30
Merge pull request #4936 from SimonSiefke/fix/memory-leak
...
fix: memory leak in CoreBrowserService
2024-04-21 08:10:24 -07:00
Daniel Imms
af8a663f70
Merge branch 'master' into fix/memory-leak
2024-04-21 08:06:05 -07:00
Daniel Imms
6be1c3fdf2
Merge pull request #4940 from octoclonius/patch-1
...
Update global object fix
2024-04-21 08:04:02 -07:00
Daniel Imms
f1bb8f48c5
Merge pull request #5010 from xtermjs/dependabot/npm_and_yarn/addons/addon-ligatures/follow-redirects-1.15.6
...
Bump follow-redirects from 1.15.3 to 1.15.6 in /addons/addon-ligatures
2024-04-21 08:01:25 -07:00
Daniel Imms
7938dfcc17
Merge pull request #5018 from xtermjs/dependabot/npm_and_yarn/express-4.19.2
...
Bump express from 4.18.2 to 4.19.2
2024-04-21 07:59:38 -07:00
Daniel Imms
ce3e0852d8
Merge branch 'master' into patch-1
2024-04-21 07:59:25 -07:00
Daniel Imms
ca269907dc
Merge branch 'master' into dependabot/npm_and_yarn/addons/addon-ligatures/follow-redirects-1.15.6
2024-04-21 07:56:27 -07:00
Daniel Imms
bca4e717b8
Merge branch 'master' into dependabot/npm_and_yarn/express-4.19.2
2024-04-21 07:54:45 -07:00
jerch
cbb3472780
Merge pull request #4963 from unional/patch-1
...
Update xterm.d.ts
2024-04-21 16:48:39 +02:00
dependabot[bot]
b0c55d1bbf
Bump follow-redirects from 1.15.3 to 1.15.6 in /addons/addon-ligatures
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.3 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.3...v1.15.6 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-21 14:47:44 +00:00
dependabot[bot]
f1e0737c5e
Bump express from 4.18.2 to 4.19.2
...
Bumps [express](https://github.com/expressjs/express ) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2 )
---
updated-dependencies:
- dependency-name: express
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-21 14:47:44 +00:00
Daniel Imms
650ecb0640
Merge branch 'master' into patch-1
2024-04-21 07:45:41 -07:00
Daniel Imms
75491f4152
Remove trailing whitespace
2024-04-21 07:42:17 -07:00
Daniel Imms
770c17318e
Merge pull request #4933 from tisilent/fix-#4917
...
Check after updating the SelectionRenderModel
2024-04-21 07:42:15 -07:00
Daniel Imms
c52b4c3ed5
Merge branch 'master' into patch-1
2024-04-21 07:41:48 -07:00
Daniel Imms
a7df139c46
Merge branch 'master' into fix-#4917
2024-04-21 07:38:10 -07:00
Daniel Imms
bada1d28d6
Merge pull request #4865 from silamon/devcontainer-update
...
Update devcontainer
2024-04-21 07:37:18 -07:00
Daniel Imms
e4bbbcf1fb
Merge pull request #4989 from gonzolively/master
...
adding Wave Terminal to the README
2024-04-21 07:35:35 -07:00
Daniel Imms
292042e813
Merge pull request #4984 from tisilent/fix-#4983
...
Clear timer when dispose
2024-04-21 07:33:52 -07:00
Ayman Bagabas
3cedfbe9bf
Merge branch 'master' into osc52
2024-04-21 15:32:08 +03:00
Daniel Imms
0d799ba69b
Merge pull request #5038 from Tyriar/tyriar/4911
...
Speed up insertion and deletion of values in SortedList by batching and deferring to idle task
2024-04-20 11:20:52 -07:00
Daniel Imms
7b66da2706
Merge branch 'master' into tyriar/4911
2024-04-20 11:16:31 -07:00
Daniel Imms
6b4bf428de
Fix tests
2024-04-20 11:15:14 -07:00
Daniel Imms
a4a7ce843c
Reduce gc pressure in api verify integers
2024-04-20 11:08:28 -07:00
Daniel Imms
73fe7015b7
Use sort on object
2024-04-20 11:00:41 -07:00
Daniel Imms
ef1152a8fb
Doc
2024-04-20 10:59:17 -07:00
Daniel Imms
71dddbc8b9
Move from set to array
2024-04-20 10:57:39 -07:00
Daniel Imms
45fd3c900f
Only flush when needed
2024-04-20 10:52:43 -07:00
Daniel Imms
69c4966804
Consistent naming
2024-04-20 10:48:55 -07:00
Daniel Imms
3af11c2b1f
Optimize SortedList.insert by batching to idle task
2024-04-20 10:47:40 -07:00
Daniel Imms
dc541d5495
Optimize SortedList.delete by batching to idle task
2024-04-20 10:32:30 -07:00
Daniel Imms
5c8a9084e3
Add mass decoration test button
...
Part of #4911
2024-04-20 08:41:22 -07:00
Ayman Bagabas
24b04e9243
Merge branch 'master' into osc52
2024-04-20 11:24:58 -04:00
Ayman Bagabas
0562f32af6
Apply suggestions
2024-04-20 11:20:16 -04:00
Daniel Imms
21d7f784d1
Merge pull request #5037 from Tyriar/tyriar/5036
...
Prevent smooth scroll from running more than once per frame
2024-04-20 08:19:17 -07:00
Daniel Imms
16db227119
Prevent smooth scroll from running more than once per frame
...
Fixes #5036
2024-04-20 08:11:59 -07:00
Ayman Bagabas
9ebfb11ac8
Fix tests
2024-04-19 10:52:38 +03:00
Ayman Bagabas
98b0e16984
Merge branch 'master' into osc52
2024-04-19 10:09:21 +03:00
Ayman Bagabas
87169ee3ac
fix: tests
2024-04-19 10:09:08 +03:00
Daniel Imms
47a46870b6
Merge pull request #5034 from Tyriar/tyriar/update_cursor_still
...
Expose onWriteParsed on API
2024-04-18 16:31:19 -07:00
Daniel Imms
8458bb4c4f
Expose onWriteParsed on API
...
Inconsistency with headless API
2024-04-18 16:27:48 -07:00
Ayman Bagabas
5238461f3f
Update ClipboardAddon.ts
2024-04-18 23:17:17 +03:00
Ayman Bagabas
1f7db053cd
Merge branch 'master' into osc52
2024-04-18 13:10:23 +03:00
Ayman Bagabas
8a9cb37273
Tidy
2024-04-18 13:09:27 +03:00
Daniel Imms
d2b8e6c125
Merge pull request #5027 from Tyriar/4916
...
Finish OSC hyperlinks when the second param is only whitespace
2024-04-12 16:52:45 -07:00
Daniel Imms
e845abc784
Finish OSC hyperlinks when the second param is only whitespace
...
Fixes #4916
2024-04-12 16:47:59 -07:00
Ayman Bagabas
70dd76f954
Merge branch 'master' into osc52
2024-04-08 09:36:19 -07:00
Daniel Imms
887e5a6cba
Merge pull request #5024 from ksqsf/master
...
Fix duplicate input for some IMEs
2024-04-08 05:53:56 -07:00
Ayman Bagabas
acc0a2ef78
Support passing playwright browser options
2024-04-08 12:53:17 +03:00
Ayman Bagabas
6ac75d88c4
Fix demo tsconfig addon name
2024-04-08 12:46:37 +03:00
Ayman Bagabas
00514d41b6
Undo format
2024-04-08 12:45:55 +03:00
ksqsf
52e8a75e9f
Fix duplicate input for some IMEs
...
fixes #5023
2024-04-08 13:42:55 +08:00
Ayman Bagabas
ce9e92f8e5
Fix OSC52 sequence response
2024-04-08 05:52:21 +03:00
Ayman Bagabas
a709187007
Update addon-clipboard readme
2024-04-08 04:51:55 +03:00
Ayman Bagabas
fad97bc4d5
Clean up
2024-04-08 04:40:17 +03:00
Ayman Bagabas
94648eb4e9
Update addon-clipboard
2024-04-08 02:47:26 +03:00
Ayman Bagabas
805cabafe8
Merge remote-tracking branch 'upstream/master' into osc52
2024-04-07 23:22:01 +03:00
Daniel Imms
9ba6c00a19
Merge pull request #5021 from Tyriar/tyriar5_5
...
v5.5
2024-04-05 07:00:05 -07:00
Daniel Imms
78297e52aa
v5.5
2024-04-05 06:50:30 -07:00
sawka
431045619e
match capitalization of HTML with the rest of the file
2024-03-29 10:26:44 -07:00
sawka
55e34cb174
fix unit test (test terminal only has 10 cols)
2024-03-29 00:44:02 -07:00
sawka
cdb45c743f
escape special html characters in addon-serialize
2024-03-29 00:30:29 -07:00
Simon Lamon
9886d60be0
Merge branch 'master' into devcontainer-update
2024-03-22 19:06:35 +00:00
Daniel Imms
53bc9f8442
Merge pull request #5013 from Tyriar/tyriar/ascii
...
Don't rescale ascii
2024-03-20 10:09:19 -07:00
Daniel Imms
4c90009a0e
Don't rescale ascii
...
See microsoft/vscode#208102
2024-03-20 10:02:53 -07:00
Daniel Imms
bee4fd0914
Merge pull request #5012 from Tyriar/tyriar/208102
...
Only scale when over 50% of following cell
2024-03-19 09:03:36 -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
9ec9dca5f8
Merge pull request #5009 from Tyriar/tyriar/4987
...
Fix dom cursor blink animation and improve readability
2024-03-16 11:12:19 -07:00
Daniel Imms
a4f1299f42
Special case cursor block blink to not use important
...
Fixes #4987
2024-03-16 11:07:05 -07:00
Daniel Imms
7b76ca7e49
Make dom rendere animation classes more readable
2024-03-16 09:57:23 -07:00
Daniel Imms
18147b2134
Fix bar blink animation
2024-03-16 09:55:20 -07:00
Daniel Imms
c78af2b448
Fix dom cursor blink animation
...
Fixes #4987
Doesn't seem to regress #4773 which caused this issue
2024-03-16 09:49:36 -07:00
Daniel Imms
e2dc01cf6e
Merge pull request #5008 from Tyriar/tyriar/4994
...
Fix search not destroying cache on linefeed
2024-03-16 09:38:54 -07:00
Daniel Imms
14fbdd3e9c
Adopt MutableDisposable in SearchAddon
2024-03-16 09:32:49 -07:00
Daniel Imms
3e5d0015af
Fix search not destroying cache on linefeed
...
Fixes #4994
2024-03-16 09:30:25 -07:00
Daniel Imms
b4c1007075
Merge pull request #5007 from Tyriar/5005
...
Don't rescale unless it exceeds 25% of following cell
2024-03-16 09:24:35 -07:00
Daniel Imms
e0533db4d9
Merge pull request #5006 from Tyriar/tyriar/4995
...
Set up shared context on browser even if process exists
2024-03-16 09:18:02 -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
37efeeb044
Make process node check stricter
...
Fixes #4995
2024-03-16 09:08:54 -07:00
Daniel Imms
47409f39f6
Set up shared context on browser even if process exists
...
Fixes #4995
2024-03-16 09:05:45 -07:00
Josiah Hudson
b40e58bc77
Fix https://github.com/xtermjs/xterm.js/issues/4944 by only splitting on the first ";" in InputHandler.setHyperlink().
2024-03-15 17:40:21 -04:00
Daniel Imms
b7b9d27627
Merge pull request #5001 from Tyriar/powerline_nf
...
Don't rescale powerline or nerd fonts
2024-03-15 08:36:58 -07:00
Daniel Imms
6b3d485d77
Note new excluded glyphs in API
2024-03-15 08:30:55 -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
44feecfc9a
Merge pull request #4997 from Tyriar/4969
...
Introduce opt-in glyph scaling to achieve GB18030 compliance
2024-03-14 09:50:13 -07:00
Daniel Imms
df559e3444
Rescale overlapping in canvas
2024-03-14 07:26:25 -07:00
Daniel Imms
33a7a9b6a2
Implement rescaleOverlappingGlyphs in webgl
...
Part of #4969
2024-03-14 07:14:13 -07:00
Daniel Imms
0658719d23
Merge pull request #4993 from Tyriar/tyriar/4992
...
Add default to api d.ts
2024-03-07 05:30:09 -08:00
Daniel Imms
c32313a471
Add default to api d.ts
...
Fixes #4992
2024-03-07 05:21:59 -08:00
Knox Lively
553b9f261a
adding Wave Terminal to the README
2024-03-06 23:56:04 -07:00
tisilent
fe22671a6e
Clear timer when dispose
2024-03-06 17:03:25 +08:00
jerch
1da0db435f
Merge pull request #4977 from dstein64/master
...
Add @xterm scope to packages
2024-03-03 12:57:24 +01:00
Daniel Steinberg
17fd7389c4
Add @xterm scope to packages
2024-03-02 03:46:10 +00:00
Daniel Imms
9da5f1401f
Merge pull request #4976 from Tyriar/tyriar/readme
...
Update script/css import in readme
2024-03-01 09:24:49 -08:00
Daniel Imms
da3aad4497
Update script/css import in readme
...
Part of #4859
2024-03-01 09:18:29 -08:00
Daniel Imms
9a512d1abd
Merge pull request #4975 from Tyriar/tyriar/v5_4_x
...
Fix publishing of stable
2024-03-01 09:00:46 -08:00
Daniel Imms
6ca8dc54ad
Fix publishing of stable
2024-03-01 09:00:33 -08:00
Daniel Imms
cff944fe8a
Merge pull request #4974 from Tyriar/tyriar/v5_4
...
v5.4.0
2024-03-01 08:42:37 -08:00
Daniel Imms
72dea6279e
v5.4.0
2024-03-01 08:39:19 -08:00
Daniel Imms
37ecb9a6b5
Merge pull request #4965 from jerch/fix_4964
...
allow uppercase in weblinks
2024-03-01 07:45:20 -08:00
Daniel Imms
fb867a914a
Merge pull request #4973 from Tyriar/spacing
...
Fix spacing issue when measuring before element is attached
2024-02-29 07:43:03 -08:00
Daniel Imms
8ef3c10844
Fix spacing issue when measuring before element is attached
...
See microsoft/vscode#204690
2024-02-29 07:37:32 -08:00
Jörg Breitbart
10fe249877
allow user+password to still match
2024-02-22 09:55:42 +01:00
Jörg Breitbart
5143f904ee
remove leftover .only
2024-02-22 09:40:38 +01:00
Jörg Breitbart
768452a519
make linter happy
2024-02-22 09:38:36 +01:00
Jörg Breitbart
547bda6e4f
fix #4964
2024-02-22 09:33:21 +01:00
Homa Wong
88bfc4ad9c
add termios link
2024-02-19 17:18:52 -08:00
Homa Wong
9107ee905a
Update xterm.d.ts
...
Fix doc typo
2024-02-16 18:08:58 -08:00
octoclonius
b5ca41d658
Merge branch 'master' into patch-1
2024-02-04 15:55:14 -05:00
Daniel Imms
6a281bd90e
Merge pull request #4953 from arencoskun/master
...
Expose API method for writing to application side (#4948 )
2024-02-02 12:16:03 -08:00
Daniel Imms
1c4e0111cb
Merge branch 'master' into master
2024-02-02 12:07:10 -08:00
Daniel Imms
8d1771ef64
Tweak docs
2024-02-02 12:03:08 -08:00
Daniel Imms
fb54bb0b6c
Merge pull request #4954 from Tyriar/npe
...
Prevent npe in render service
2024-02-02 10:07:02 -08:00
Daniel Imms
546bcb5133
Prevent npe in render service
...
See microsoft/vscode#204104
2024-02-02 09:58:21 -08:00
arencoskun
b1a72b2e83
Linter fix
2024-02-02 09:04:53 +03:00
arencoskun
dce6e31c89
Add headless definitons
2024-02-02 08:59:57 +03:00
arencoskun
cddc888065
Add definition to xterm-headless.d.ts
2024-02-01 16:49:15 +03:00
arencoskun
06aa2c86df
Whitespace fix
2024-02-01 16:32:31 +03:00
arencoskun
c51a0b7454
Fix linter errors (hopefully)
2024-02-01 16:05:02 +03:00
arencoskun
cae42772e8
Move function to CoreTerminal, add additional argument to specify if the input was user input or not.
2024-02-01 14:11:29 +03:00
arencoskun
09a0dd658d
Final fixes
2024-02-01 13:11:54 +03:00
arencoskun
bbd1a1dbe2
Try to fix linter errors
2024-02-01 13:05:13 +03:00
arencoskun
f1e563ad5f
Expose API method for writing to application side ( #4948 )
2024-02-01 11:17:25 +03:00
Daniel Imms
8e015ebf87
Merge pull request #4950 from Tyriar/tyriar/blending
...
Fix background selection blending for true color
2024-01-30 11:25:14 -08: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
octoclonius
d83f442cff
Update webpack.config.headless.js
2024-01-13 19:57:38 -06:00
octoclonius
67e8e60a69
Update webpack.config.headless.js
2024-01-13 19:55:18 -06:00
octoclonius
d5827ec77d
Update webpack.config.headless.js
2024-01-13 19:54:27 -06:00
octoclonius
c0044dc4a5
Update webpack.config.js global object fix
2024-01-13 13:30:10 -06:00
octoclonius
8696cf8789
Update webpack.config.js global object fix
2024-01-13 13:29:59 -06:00
octoclonius
693ec1b2bc
Update webpack.config.js global object fix
2024-01-13 13:29:48 -06:00
octoclonius
330d7b3100
Update webpack.config.js global object fix
2024-01-13 13:29:33 -06:00
octoclonius
d8f96ab9c7
Update webpack.config.js global object fix
...
`this` might be okay, I'm not actually sure, but xterm.js uses `globalThis` and so I think consistency is better maybe?
2024-01-13 13:29:20 -06:00
octoclonius
072cd029e4
Update webpack.config.js global object fix
2024-01-13 13:28:21 -06:00
octoclonius
46baff8459
Update webpack.config.js global object fix
2024-01-13 13:28:05 -06:00
octoclonius
8d6fff7000
Update webpack.config.js global object fix
2024-01-13 13:27:44 -06:00
octoclonius
f84fff5f87
Update global object fix
2024-01-13 13:24:15 -06:00
octoclonius
1a67241f67
Update global object fix
2024-01-13 13:23:57 -06:00
octoclonius
7f7de14e6f
Add comma
2024-01-13 13:23:33 -06:00
octoclonius
815758529d
Update global object fix
2024-01-13 13:21:30 -06:00
jerch
99df13b085
Merge pull request #4937 from szymonkaliski/sk/fix-url-parsing
...
fix weblinks addon url parsing for url.encoded urls
2024-01-11 21:43:05 +01:00
Szymon Kaliski
f03d870bcd
adjust a comment
2024-01-11 11:23:24 -08:00
Szymon Kaliski
856666d5bd
fix url parsing for urls with percentage sign in them
2024-01-05 09:43:33 +01:00
Simon Siefke
819254e540
fix formatting
2024-01-04 22:33:39 +01:00
Simon Siefke
f486989697
fix formatting
2024-01-04 22:32:59 +01:00
Simon Siefke
9e98b631da
use disposable for text area listeners
2024-01-04 22:29:12 +01:00
Simon Siefke
b0667aacca
fix: memory leak in CoreBrowserService
2024-01-04 22:05:23 +01:00
tisilent
750f3179de
move test
2024-01-01 22:48:39 +08:00
tisilent
b1d9b4751d
Check after updating the SelectionRenderModel
2024-01-01 22:25:54 +08:00
Daniel Imms
1940bbec75
Merge pull request #4931 from Tyriar/tyriar/out_ignore
...
Ignore out dirs in eslint
2023-12-30 09:30:46 -08:00
Daniel Imms
7b7fb73611
Ignore out dirs in eslint
2023-12-30 09:30:25 -08:00
Daniel Imms
b97baa7ff1
Merge pull request #4930 from PerBothner/update-eslint
...
Update required eslint and eslint-plugin-jsdoc versions
2023-12-30 09:26:34 -08:00
Per Bothner
a7bf3b22c1
Update required eslint and eslint-plugin-jsdoc versions
...
This fixes a problem when using node 20.*.*, because eslint-plugin-jsdoc@39.9.1
requires node version "^14 || ^16 || ^17 || ^18 || ^19".
2023-12-29 18:13:09 -08:00
Daniel Imms
442c1583e7
Merge pull request #4866 from silamon/remove-16-ci
...
Remove unit tests with Node 16
2023-12-29 04:14:20 -08:00
Daniel Imms
217acef6b2
Merge branch 'master' into remove-16-ci
2023-12-29 04:03:53 -08:00
Daniel Imms
0eed746638
Merge pull request #4878 from xtermjs/dependabot/npm_and_yarn/addons/addon-ligatures/axios-1.6.0
...
Bump axios from 0.21.2 to 1.6.0 in /addons/addon-ligatures
2023-12-29 04:02:51 -08:00
Daniel Imms
1b4f0606ca
Merge pull request #4929 from Tyriar/tyriar/metrics
...
Implement and default to text metrics measure strategy
2023-12-29 04:02:04 -08:00
Daniel Imms
3c4d567be9
Merge pull request #4915 from tisilent/update-attachCustomWheelEventHandler-comments
...
Update attachCustomWheelEventHandler comments
2023-12-29 03:58:50 -08:00
Daniel Imms
82d50a4f89
Allow fit addon test to work when hidden
2023-12-29 03:57:37 -08:00
Daniel Imms
379c382fe7
Pull common measure parts into base class
2023-12-29 03:47:44 -08:00
Daniel Imms
559026bbf3
Implement and default to text metrics measure strategy
...
Fixes #3449
2023-12-29 03:40:44 -08:00
Daniel Imms
08e67a3a0b
Merge pull request #4927 from Tyriar/tyriar/color
...
Move rgba.toColor to channels.toColor
2023-12-28 09:55:28 -08:00
Daniel Imms
1a82e0d421
Remove todo
...
Not much gain by caching the value
2023-12-28 09:47:05 -08:00
Daniel Imms
2e03680128
Add channels.toColor tests
2023-12-28 09:32:57 -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
6e351dd4ac
Merge pull request #4924 from Tyriar/link_refactor
...
Split Linkifier2 (always active) into Linkifier (after attach) and LinkProviderService (always active)
2023-12-23 08:57:12 -08:00
Daniel Imms
53604e427b
Update test-unit node to 18
2023-12-23 08:49:37 -08:00
Daniel Imms
1b52c97fd0
Add wait for builld job to test-unit
2023-12-23 08:46:09 -08:00
Daniel Imms
dbcb43f1d3
Rename Linkifier2 -> Linkifier
2023-12-23 08:32:39 -08:00
Daniel Imms
d7c8d063b6
Get linkifier test to work
2023-12-23 08:31:50 -08:00
Daniel Imms
de41c9f306
Make linkifier always attached to dom
2023-12-23 08:29:28 -08:00
Daniel Imms
8733d2cfa2
Separate link provider service from linkifier
2023-12-23 08:21:35 -08:00
Daniel Imms
b3737d6ff0
Merge pull request #4921 from Tyriar/tyriar/crosshair
...
Fix crosshair cursor now working in some embedders
2023-12-20 10:02:44 -08:00
Daniel Imms
56a6a010ab
Fix crosshair cursor now working in some embedders
...
This was not happening in the demo because the xterm instance is almost
always focused.
See microsoft/vscode#199848
2023-12-20 07:28:26 -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
a4505ed724
Skip another test on canvas
2023-12-19 08:47:54 -08:00
Daniel Imms
b843e0fc8e
Pass through dom skip exceptions flag
2023-12-19 08:44:14 -08:00
Daniel Imms
c0fac5e5f1
Fix test suppression
2023-12-19 08:38:55 -08:00
Daniel Imms
78a945ae9e
Suppress test failure
2023-12-19 08:34:16 -08:00
Daniel Imms
9b62849bb8
Fix lint
2023-12-19 08:23:21 -08:00
Daniel Imms
66b426311e
Fix compile
2023-12-19 08:21:18 -08:00
Daniel Imms
7bee001868
Ensure addons are loaded in standalone tests
2023-12-19 08:18:44 -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
805823df7a
Merge pull request #4919 from Tyriar/tyriar/noisy
...
Remove tracing drawToCache call
2023-12-19 05:50:32 -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
Daniel Imms
0904078bf4
Merge pull request #4912 from jeanp413/fix-vscode-200469
...
Fixes vscode #200469
2023-12-15 08:26:27 -08:00
Jean Pierre
9f995c6ff8
💄
2023-12-15 16:03:37 +00:00
tisilent
427b4f6c6d
Update attachCustomWheelEventHandler comments
2023-12-14 16:55:49 +08:00
jeanp413
81a4d860c5
💄
2023-12-12 09:21:55 -05:00
jeanp413
7ac95fab28
More fixes
2023-12-12 09:19:53 -05:00
Daniel Imms
1f15c47a43
Merge pull request #4913 from Tyriar/tyriar/wheel_handlers
...
addCustomWheelEventHandler API
2023-12-12 05:25:31 -08:00
Daniel Imms
88ba66d00b
addCustomWheelEventHandler API
...
I opted for consistency with the key event handler over our more modern
approach, we can migrate them at the same time if we end up returning
a disposable.
See microsoft/vscode#76381
2023-12-12 05:17:24 -08:00
jeanp413
2592e1e84d
re register intersection observer on window change
2023-12-12 05:55:30 -05:00
jeanp413
97750f672f
💄
2023-12-12 04:41:20 -05:00
jeanp413
54608bf38d
Fixes https://github.com/microsoft/vscode/issues/200469
2023-12-12 04:16:28 -05:00
Daniel Imms
b4226bc0f5
Merge pull request #4910 from Tyriar/tyriar/leaks
...
Help embedders avoid memory leaks by clearing options
2023-12-08 12:19:42 -08:00
Daniel Imms
1943636f02
Help embedders avoid memory leaks by clearing options
...
Related microsoft/vscode#192838
2023-12-08 12:14:22 -08:00
dependabot[bot]
d218bff2c4
Bump axios from 0.21.2 to 1.6.0 in /addons/addon-ligatures
...
Bumps [axios](https://github.com/axios/axios ) from 0.21.2 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.21.2...v1.6.0 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-10 16:12:08 +00:00
Jason Lin
26dc69446e
Align character position in a11y tree with the actual rendering
...
This helps screen readers to draw selection outline at the correct
position.
2023-11-10 21:21:50 +11:00
Daniel Imms
fb2c39cb57
Merge pull request #4877 from Tyriar/serialize_fixes
...
Add range API to serialize addon
2023-11-09 10:27:54 -08:00
Daniel Imms
b595940bcf
Add range API to serialize addon
...
Fixes #4876
Fixes #4871
2023-11-09 09:43:14 -08:00
Jason Lin
a0da287b9c
Use the right document in AccessibilityManager.ts
2023-11-09 16:57:58 +11:00
Daniel Imms
49eab6b1d9
Merge pull request #4874 from tisilent/dashed-line
...
Draw dashed lines through ratios
2023-11-08 05:30:00 -08:00
tisilent
2861a4dd39
Draw dashed lines through ratios
2023-11-08 17:58:38 +08:00
Simon Lamon
b4fa7c6c06
Remove unit tests with Node 16
2023-11-04 14:35:36 +01:00
Simon Lamon
5c1d9b28cd
Update yarn lock
2023-11-04 13:10:36 +00:00
Simon Lamon
0aeeebdd64
Devcontainer update
2023-11-04 13:05:42 +00:00
Daniel Imms
bdcba308df
Upload clipboard addon artifacts
2023-11-03 12:44:19 -07:00
Daniel Imms
aed94e5317
xterm-addon-clipboard to scoped module
2023-11-03 11:45:21 -07:00
Daniel Imms
a4e6713823
Merge remote-tracking branch 'upstream/master' into pr/aymanbagabas/4220
2023-11-03 11:35:23 -07:00
Daniel Imms
58bb7fc73e
Merge pull request #4742 from JasonXJ/sync-select
...
Allow selection in the a11y tree and sync the selection to terminal
2023-11-03 09:08:53 -07:00
Daniel Imms
b16724f06a
Improve docs of BufferLine.translateToString
2023-11-03 08:53:53 -07:00
Daniel Imms
5630239a6d
Merge remote-tracking branch 'upstream/master' into pr/JasonXJ/4742
2023-11-03 08:47:05 -07:00
Daniel Imms
13be985b36
Merge pull request #4825 from PerBothner/setcell-refactor
...
Change setCellFromCodePoint API and rename to setCellFromCodepoint
2023-11-03 06:00:35 -07:00
Daniel Imms
a5646a58d5
Merge pull request #4801 from tisilent/fix-inactive-cursor-spot
...
using viewport relative coordinate
2023-11-02 11:21:29 -07:00
Daniel Imms
b0407e20cf
Merge branch 'master' into setcell-refactor
2023-11-02 11:17:18 -07:00
Daniel Imms
8a1790d6d5
Merge remote-tracking branch 'upstream/master' into pr/tisilent/4801
2023-11-02 11:13:00 -07:00
Daniel Imms
86074c9210
Merge pull request #4703 from tisilent/underline-dotted
...
Use variants for underline dotted.
2023-11-02 10:55:00 -07:00
Daniel Imms
2f074b87f3
Explain VARIANT_OFFSET
2023-11-02 10:45:46 -07: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
4036ab7055
Merge pull request #4837 from tisilent/fix-dom-renderer-selection
...
handle selection when resizing
2023-11-02 09:43:09 -07:00
Daniel Imms
139bf361b4
Merge pull request #4836 from xiaoxiaobt/safari-legacy-fix
...
Allow xterm.js to run on legacy versions of Safari when Webgl2 support is explicitly enabled
2023-11-02 09:32:41 -07:00
Daniel Imms
c9f15454e4
Merge pull request #4833 from arcanis/patch-3
...
Fixes hex color serialization
2023-11-02 09:30:48 -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
1770bb1b65
Merge pull request #4839 from JasonXJ/ctrl-backspace
...
Send correct code for ctrl+[alt+]+backspace
2023-11-02 09:28:06 -07:00
Daniel Imms
52549f0a7a
Merge remote-tracking branch 'upstream/master' into pr/arcanis/4833
2023-11-02 09:24:33 -07:00
Daniel Imms
0d7cc9e9fd
Merge branch 'master' into safari-legacy-fix
2023-11-02 09:08:41 -07:00
Daniel Imms
e8da73799f
Merge pull request #4847 from tisilent/add-addon-public-api
...
Have addons implement their API at compile time
2023-11-02 09:08:14 -07:00
Daniel Imms
588da4f3b8
Merge remote-tracking branch 'upstream/master' into pr/xiaoxiaobt/4836
2023-11-02 09:00:28 -07:00
Daniel Imms
4beb7d0595
Make addon api imports consistent
2023-11-02 08:54:49 -07:00
Daniel Imms
4c275a287f
Fix paths in benchmark tsconfigs
2023-11-02 08:52:09 -07:00
Daniel Imms
5ed2b013d5
Merge remote-tracking branch 'upstream/master' into pr/tisilent/4847
2023-11-02 08:45:11 -07:00
Daniel Imms
19bdcab93e
Merge pull request #4862 from Tyriar/image_publish
...
Fix image addon build
2023-11-01 14:29:43 -07:00
Daniel Imms
45e7efce67
Re-enable auth
2023-11-01 14:29:32 -07:00
Daniel Imms
fbc51ae691
Remove logs
2023-11-01 14:24:38 -07:00
Daniel Imms
92eb78230b
Verify it's not an array
2023-11-01 14:17:31 -07:00
Daniel Imms
31925596f1
Log publish script
2023-11-01 13:15:28 -07:00
Daniel Imms
88b0b4a5c7
Log publish script
2023-11-01 13:07:59 -07:00
Daniel Imms
c8b2783b85
Tweak parsing versions
2023-11-01 13:01:20 -07:00
Daniel Imms
2744549c0f
Return [] if versionsJson is falsy
2023-11-01 12:35:25 -07:00
Daniel Imms
1c522e16a4
Fix image addon build
...
Fixes #4761
Fixes #4802
2023-11-01 12:13:19 -07:00
Daniel Imms
4b2e52f13c
Merge pull request #4861 from Tyriar/scope_followup
...
Uncomment first publish special cases, add missing (at)xterm
2023-11-01 12:03:56 -07:00
Daniel Imms
bbbde9261f
Fix parsing of low version count
2023-11-01 11:59:42 -07:00
Daniel Imms
eac8124320
Fix stable release check
2023-11-01 11:27:04 -07:00
Daniel Imms
64534e1b7a
Fix missing peer dep
2023-11-01 11:07:41 -07:00
Daniel Imms
71ec216161
Uncomment first publish special cases, add missing (at)xterm
...
Part of #4859
2023-11-01 11:06:30 -07:00
Daniel Imms
2df591c5f7
Merge pull request #4860 from Tyriar/scoped_package
...
Start @xterm scope with core and webgl addons
2023-11-01 10:55:31 -07:00
Daniel Imms
d95f0177c8
Add todo comments for uncomment publish script
2023-11-01 10:49:21 -07:00
Daniel Imms
b4b128709f
Add other addons to the readme addon section
2023-11-01 10:37:20 -07:00
Daniel Imms
0fd04aa76d
Replace all instances of xterm-addon
2023-11-01 10:35:10 -07:00
Daniel Imms
4abb4c674f
Use build artifacts in dry run
2023-11-01 07:31:39 -07:00
Daniel Imms
485fb455d6
Add release dry run job to CI
2023-11-01 07:29:42 -07:00
Daniel Imms
765a8b21a3
real run
2023-11-01 07:25:58 -07:00
Daniel Imms
dcc940c32e
headless -> scoped
2023-11-01 07:24:49 -07:00
Daniel Imms
059acb2da6
Handle versionsJson error
2023-11-01 07:22:28 -07:00
Daniel Imms
a1f87809b2
Log versionsJson
2023-11-01 07:19:23 -07:00
Daniel Imms
2fb9702a3a
Force dry run temporarily
2023-11-01 07:14:19 -07:00
Daniel Imms
5196ac5c8f
Fix variable name
2023-11-01 07:02:14 -07:00
Daniel Imms
9db2178d05
Return [] when no versions are published
2023-11-01 07:00:23 -07:00
Daniel Imms
8c6d16486d
Don't fetch beta versions
2023-11-01 06:57:44 -07:00
Daniel Imms
cef869a206
Force beta build for now
2023-11-01 06:55:21 -07:00
Daniel Imms
efbcd41fab
from xterm-headless -> from scoped
2023-11-01 06:50:48 -07:00
Daniel Imms
bb9728ccd1
from xterm -> from scoped
2023-11-01 06:50:08 -07:00
Daniel Imms
905285efda
Temporarily enable publishing in PRs
2023-11-01 06:48:33 -07:00
Daniel Imms
e1d19e00a5
Merge remote-tracking branch 'upstream/master' into scoped_package
2023-11-01 06:46:14 -07:00
Daniel Imms
add7f8133e
Start @xterm scope with core and webgl addons
2023-11-01 06:44:26 -07:00
Daniel Imms
33100818d7
Merge pull request #4831 from tisilent/fix-search-options-change
...
Check option changes
2023-10-31 06:49:50 -07:00
Daniel Imms
974b275f6e
is -> did
2023-10-31 06:41:41 -07:00
Daniel Imms
ea2d775595
Merge branch 'master' into fix-search-options-change
2023-10-31 06:38:24 -07:00
Daniel Imms
f741d42165
Merge pull request #4858 from xtermjs/Tyriar-patch-1
...
Remove unicode-graphemes install doc
2023-10-31 06:29:02 -07:00
Daniel Imms
6945e881a8
Update README.md
2023-10-31 06:18:40 -07:00
Daniel Imms
804ff187fa
Merge pull request #4856 from alan-agius4/alan-agius4-patch-1
...
fix: use globalThis instead of self to address non Browser consumption
2023-10-30 09:36:08 -07:00
Alan Agius
de1304d19e
fix: use globalThis instead of self to address non Browser consumption
...
Currently using this package in a non Browser env will cause an error as Webpack will emit `self` which does not exist in all envs such as Node.js and Workers.
This commit updates Webpack and force it to use `globalThis`. See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis
2023-10-30 10:44:18 +01:00
Ayman Bagabas
96fcfbded1
Merge branch 'master' into osc52
2023-10-20 13:47:45 -07:00
Daniel Imms
9fff1e6e44
Merge pull request #4851 from davidfiala/fix-xterm-node21
...
proper isNode detection for node v21.0.0
2023-10-19 11:38:49 -07:00
David Fiala
0d0166b4bc
provide a declaration for 'process' needed for nodejs detect
...
We provide no further type information as it will not be used except for a presence check for nodejs detection.
2023-10-19 11:19:27 -07:00
David Fiala
6c5fb36c36
proper isNode detection for node v21.0.0
2023-10-19 09:52:29 -07:00
Daniel Imms
1c880f5199
Merge pull request #4849 from xtermjs/dependabot/npm_and_yarn/babel/traverse-7.23.2
...
Bump @babel/traverse from 7.22.8 to 7.23.2
2023-10-19 09:39:44 -07:00
dependabot[bot]
4681b319ca
Bump @babel/traverse from 7.22.8 to 7.23.2
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.22.8 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-19 11:47:16 +00:00
Daniel Imms
78a6aac409
Merge pull request #4846 from Tyriar/multi_window
...
Make xterm.js multi-window aware
2023-10-17 11:03:31 -07:00
Daniel Imms
20a26a6589
Remove unused imports
2023-10-17 10:54:29 -07:00
tisilent
a4e09d0ad8
add path to benchmark
2023-10-18 01:09:39 +08:00
tisilent
dfd5385602
add semicolon
2023-10-18 00:49:29 +08:00
tisilent
7dab4601d2
add public api
2023-10-18 00:29:56 +08:00
Daniel Imms
81e0718a74
Move window resize edge case into dpr monitor
2023-10-17 09:18:46 -07:00
Daniel Imms
6e12d94f11
Move window resize listeners over to onWindowChange
2023-10-17 09:10:04 -07:00
Daniel Imms
92535e539f
Inline ScreenDprMonitor into CoreBrowserService file
2023-10-17 08:56:02 -07:00
Daniel Imms
4cc51ca08f
Move ScreenDprMonitor into CoreBrowserService
2023-10-17 08:55:07 -07:00
Daniel Imms
63790f8854
Change ScreenDprMonitor to be event based
2023-10-17 08:49:28 -07:00
Daniel Imms
45605db3c5
Listen to window change and pass through to ScreenDprMonitor
2023-10-17 08:39:48 -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
Daniel Imms
4245283e05
Merge pull request #4844 from Tyriar/doc_override
...
Expose a documentOverride setting
2023-10-13 13:48:58 -07:00
Daniel Imms
41c62288f0
Expose a documentOverride setting
...
This lets the embedder choose which Document object to use for creating
elements, adding event listeners, etc. The reason this exists is because
when working with multiple windows it can be convenient to create all
elements under the primary window to make instanceof usage consistent.
See microsoft/vscode#195595
2023-10-13 13:41:53 -07:00
Jason Lin
c3aa63cffa
translateToString() adds one more entry to outColumns
...
Previously, for string 'ab好', outColumns=[0, 1, 2]. Now it becomes [0,
1, 2, 4]. This allows the user to know where does the last character
ends.
2023-10-11 16:23:03 +11:00
Jason Lin
1b940de0bf
Allow selection in the a11y tree and sync the selection to terminal
2023-10-11 16:23:03 +11:00
Jason Lin
023c778c4d
Send correct code for ctrl+[alt+]+backspace
...
We should send ^H (instead of ^?) for ctrl+backspace. This is what xterm
and gnome-terminal do.
2023-10-11 14:59:35 +11:00
tisilent
6b5fc260ca
Dom Renderer using SelectionRenderModel
2023-10-10 22:53:01 +08:00
tisilent
d3e075f37b
handle selection when resizing
2023-10-10 15:54:15 +08:00
Taige Wang
194b810ad5
Fix Webgl2 compatability on legacy Safari with webgl2 enabled
2023-10-08 13:03:28 +03:00
Ayman Bagabas
2a8ddcd508
Merge branch 'master' into osc52
2023-10-04 11:30:55 -07:00
Maël Nison
7cbaacde40
Fixes hex color serialization
2023-10-04 15:42:02 +02:00
Daniel Imms
34017f32fb
Merge pull request #4829 from xtermjs/dependabot/npm_and_yarn/get-func-name-2.0.2
...
Bump get-func-name from 2.0.0 to 2.0.2
2023-10-02 11:22:58 -07:00
Daniel Imms
57e2adc042
Merge branch 'master' into dependabot/npm_and_yarn/get-func-name-2.0.2
2023-10-02 11:16:37 -07:00
Daniel Imms
e9390d0d91
Merge pull request #4832 from Tyriar/node-pty-update
...
node-pty@1.1.0-beta5
2023-10-02 11:14:14 -07:00
Daniel Imms
f6c4aee928
Move benchmarks off removed node-pty apis
2023-10-02 11:05:33 -07:00
Daniel Imms
a673b110f5
node-pty@1.1.0-beta5
...
This is needed to get the build working on the newly updated GH actions runners
2023-10-02 07:27:10 -07:00
tisilent
cfde4d634f
Check option changes
2023-10-01 20:39:10 +08:00
Per Bothner
4e4110aeb4
Merge branch 'master' into setcell-refactor
2023-09-28 10:46:03 -07:00
dependabot[bot]
4149aa0945
Bump get-func-name from 2.0.0 to 2.0.2
...
Bumps [get-func-name](https://github.com/chaijs/get-func-name ) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/chaijs/get-func-name/releases )
- [Commits](https://github.com/chaijs/get-func-name/commits/v2.0.2 )
---
updated-dependencies:
- dependency-name: get-func-name
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-27 21:02:12 +00:00
Daniel Imms
810cc1d47e
Merge pull request #4827 from Tyriar/tyriar/4821
...
Bring back search clearActiveDecoration
2023-09-27 08:04:30 -07:00
Daniel Imms
c08062420f
Bring back search clearActiveDecoration
...
This was removed accidentally in 57db72d
Fixes #4821
2023-09-27 07:56:31 -07:00
Per Bothner
bde7bdc11d
Change setCellFromCodePoint API and rename to setCellFromCodepoint
...
Replace fg, bg, and eAttrs parameters by single IAttributeData parameter.
In addition to making for a simpler/cleaner API, it also increases flexibility
for future CellData or BufferLine changes.
(Rename function to reduce risk of using accidentally using old function.)
Also removed redundant eraseAttr parameter in deleteCells, insertCells, and replaceCells.
2023-09-25 18:21:02 -07:00
Ayman Bagabas
d245e90185
Add playwright terminal test
2023-09-21 12:09:30 -04:00
Ayman Bagabas
092aeaeb6f
Fix rename clipboard selection for clarity
2023-09-21 10:33:44 -04:00
Ayman Bagabas
b22762b472
Fix tsconfigs, IDisposable, and add comments
2023-09-21 10:26:46 -04:00
Ayman Bagabas
db5bfc7525
Add support to ANSI OSC52
...
Add support to ANSI OSC52 sequence to manipulate selection and clipboard
data. The sequence specs supports multiple clipboard selections but we
only support the common ones, system and primary clipboard selections.
This adds a new event listener to the common terminal module
`onClipboard` to allow external implementations to hook into it.
The addon uses the browser Clipboard API to read/write from and to the
clipboard. The default `ClipboardProvider` uses the browser Clipboard
API. This means it only supports read/write to and from the system
clipboard.
Reference: https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h3-Operating-System-Commands
Fixes: xtermjs#3260
Signed-off-by: Ayman Bagabas <ayman.bagabas@gmail.com >
2023-09-20 17:46:52 -04:00
Daniel Imms
a3e933d98b
Merge pull request #4820 from Tyriar/4814
...
Don't re-render after parse is the viewport did not change
2023-09-20 06:51:08 -07:00
Daniel Imms
543b82567f
Don't re-render after parse is the viewport did not change
...
Fixes #4814
2023-09-20 06:43:21 -07:00
Daniel Imms
cfc94b332a
Merge pull request #4816 from tisilent/fix-domrenderer-selection-overflow
...
Add column restriction
2023-09-20 06:06:43 -07:00
tisilent
f391cf6d43
Add column restriction
2023-09-20 18:40:03 +08:00
tisilent
da2687174f
💄
2023-09-19 22:49:53 +08:00
tisilent
a8ef1d49a1
Add block cursor style confirmation
2023-09-19 22:15:35 +08:00
tisilent
feb75a7f4d
Add getCellColorFirstPoint function
2023-09-19 21:58:08 +08:00
tisilent
27fd011e35
Add regression tests
2023-09-19 20:29:28 +08:00
Daniel Imms
03f1336042
Merge pull request #4809 from silamon/correct-typing-graphemes
...
Correct graphemes addon readme and typings
2023-09-16 07:36:31 -07:00
Simon Lamon
fbf7d7adb5
Fix typos in readme
2023-09-16 08:09:22 +00:00
Simon Lamon
da041f43ee
correct typing graphemes
2023-09-16 08:04:32 +00:00
Daniel Imms
a6f57262f6
Merge pull request #4807 from mofux/isolate-width-cache-element
...
Move WidthCache measure container to helper container
2023-09-15 07:45:15 -07:00
Daniel Imms
aa5ec44c27
Merge pull request #4808 from tisilent/#4736-add-regression-test
...
Add regression test,checking inactive selection.
2023-09-15 04:31:30 -07:00
Daniel Imms
446549a043
Tweak name, order in issue number
2023-09-15 04:23:47 -07:00
tisilent
ef21ed901f
Add regression test,checking inactive selection.
2023-09-15 18:57:17 +08:00
Thomas Zilz
aaadefa548
Move WidthCache measure container to helper container
2023-09-15 10:51:31 +02:00
Daniel Imms
0e66d608a1
Merge pull request #4803 from tisilent/clear-repeat-overviewRulerWidth
...
Clear repeat overviewRulerWidth option in demo
2023-09-14 12:52:44 -07:00
Daniel Imms
1618092b91
Merge pull request #4798 from tisilent/fix-domrenderer-isCursorInitialized
...
using isCursorInitialized for domrenderer
2023-09-14 12:41:30 -07:00
Daniel Imms
2f9439b690
Explain injectSharedRendererTestsStandalone
2023-09-14 12:35:12 -07:00
Daniel Imms
66c8e33b47
Add standalone renderer tests to canvas/webgl
2023-09-14 12:33:34 -07:00
tisilent
9048ded5eb
Clear repeat overviewRulerWidth option in demo
2023-09-14 17:26:30 +08:00
tisilent
17575e1d7b
using viewport relative coordinate
2023-09-14 16:37:40 +08:00
tisilent
49dc046b9f
rename and remove new page
2023-09-14 09:52:58 +08:00
tisilent
27d89c2311
Reduce side effects
2023-09-14 00:47:37 +08:00
tisilent
871400f407
Open a new page to perform testing.
2023-09-13 23:28:37 +08:00
tisilent
a1229c78a2
Add cursor initialize test
2023-09-13 18:43:04 +08:00
tisilent
457060f89d
Modify the isCursorInitialized default true
2023-09-13 18:15:37 +08:00
tisilent
cc14bc4515
using isCursorInitialized for domrenderer
2023-09-13 17:34:31 +08:00
Daniel Imms
bdb25c2dbe
Merge pull request #4519 from PerBothner/clusters
...
New unicode-graphemes addon.
2023-09-12 13:56:27 -07:00
Daniel Imms
32c616512d
Final polish
2023-09-12 12:45:29 -07:00
Daniel Imms
16bd8de78e
Merge pull request #4796 from Tyriar/slow_trace
...
Remove noisy trace calls
2023-09-12 12:38:48 -07:00
Daniel Imms
3ad0ef1ac4
Remove noisy trace calls
...
These were added to try diagnose a rendering issue but I haven't had
reports yet and these logs slow the terminal to a crawl which is
impacting my patience/productivity
2023-09-12 12:31:36 -07:00
Daniel Imms
cb8917557d
Merge pull request #4795 from ujjwalpandey922/master
...
change repository URL of all addons
2023-09-12 09:07:00 -07:00
Daniel Imms
8183d1d221
Merge branch 'master' into clusters
2023-09-12 09:02:24 -07:00
Daniel Imms
9ab0cd648e
Set repository to sub-directory
...
See #4795
2023-09-12 09:02:15 -07:00
Ujjwal Pandey
249e1152f4
remove gitpod file
2023-09-12 15:44:17 +00:00
Ujjwal Pandey
d41b747aa1
change repository url of all addons
2023-09-12 14:59:08 +00:00
Megan Rogge
f69fcb971c
get voiceover to announce terminal output consistently ( #4789 )
...
* fix #3247
* rm import
2023-09-11 13:03:57 -05:00
Daniel Imms
bfa6f656ef
Merge branch 'master' into underline-dotted
2023-09-11 08:47:04 -07:00
Daniel Imms
24b932d67a
Update to es2021
2023-09-11 06:34:32 -07:00
Daniel Imms
9e536ca9c3
Fix warnings in client.ts
2023-09-11 06:28:54 -07:00
Daniel Imms
17c4d097bb
Add experimental note in readme
2023-09-11 06:06:58 -07:00
Daniel Imms
1b5756c1b1
Add unicode-grapheme addon files to build artifacts
2023-09-11 06:04:55 -07:00
Daniel Imms
a003034b02
Increase node memory for lint in CI
2023-09-11 06:02:17 -07:00
Per Bothner
bddff604c2
Merge branch 'master' into clusters
2023-09-10 17:20:40 -07:00
Daniel Imms
b2c123e0e2
Merge pull request #4787 from Tyriar/pw_tweak
...
Tweak playwright workers
2023-09-10 09:04:27 -07:00
Daniel Imms
be82ffc01d
Merge pull request #4786 from Tyriar/4773
...
Fix block cursor rendering in DOM renderer
2023-09-10 09:00:45 -07:00
Daniel Imms
efcca3fb3e
Run pw tests faster on high core machines
2023-09-10 08:56:36 -07:00
Daniel Imms
b91de01a4d
Fix initial args not being passed through to pw
2023-09-10 08:56:19 -07:00
Daniel Imms
6b1c1e0751
Force 50% workers in CI to reduce flakiness
2023-09-10 08:56:04 -07:00
Daniel Imms
8985326dd8
Merge pull request #4743 from Tyriar/es2021
...
Upgrade es6 -> es2021
2023-09-10 08:33:48 -07:00
Daniel Imms
c609f5cca0
Add regression test for block cursor focus/selection
2023-09-10 08:30:43 -07:00
Daniel Imms
3b15fb6211
Fix block cursor rendering in DOM renderer
...
Fixes #4773
2023-09-10 08:27:18 -07:00
Daniel Imms
a7eb112d36
Merge pull request #4785 from Tyriar/4757
...
Fix possible exception when disposing terminal
2023-09-10 08:26:22 -07:00
Daniel Imms
cc43fe5191
Fix possible exception when disposing terminal
...
Fixes #4757
2023-09-10 08:19:46 -07:00
Daniel Imms
cfced0caf1
Merge pull request #4784 from Tyriar/server-debug
...
Fix server debugging
2023-09-10 07:52:45 -07:00
Daniel Imms
fc18e6e774
Merge pull request #4783 from Tyriar/4781
...
Fix regression in force mouse selection
2023-09-10 07:48:55 -07:00
Daniel Imms
1d57ac5c63
Fix server debugging
...
This broke somewhere along the way, the changes update from the legacy
attach method of --inspect-brk to stopOnEntry and also updates for the
introduction of .nvmrc.
2023-09-10 07:46:00 -07:00
Daniel Imms
b55d699451
Fix regression in force mouse selection
...
Shift+left click is means to force terminal selection and not passthrough
any mouse events, even if a mouse mode is enabled. The change this is
reverting from #4583 caused this feature to break by always installing a
global listener on Terminal.element so the SelectionService never got a
chance to cancel is.
Fixes #4781
2023-09-10 07:41:31 -07:00
Daniel Imms
4241704261
Merge pull request #4782 from Tyriar/edge_debug
...
Add edge debug target
2023-09-10 07:24:21 -07:00
Daniel Imms
b50d21434e
Add edge debug target
2023-09-10 07:23:54 -07:00
Daniel Imms
c3fd1c2c40
Merge pull request #4778 from Tyriar/4759
...
Fix webgl/dom inverse MCR edge cases, add regression test
2023-09-09 09:08:33 -07:00
Daniel Imms
fe4528c9be
Add one regression test to canvas exceptions
2023-09-09 09:00:57 -07:00
Daniel Imms
b0868967cb
Fix inverse MCR with selection for dom renderer
...
Fixes #4759
2023-09-09 08:52:43 -07:00
Daniel Imms
1aac37e14f
Improve regression tests for 4759
2023-09-09 08:51:50 -07:00
Daniel Imms
851c2e39af
Fix webgl not respecting MCR for inverse
...
Part of #4759
2023-09-09 08:37:55 -07:00
Daniel Imms
d2387342ce
Merge pull request #4777 from Tyriar/4769
...
Fix MCR test on webkit, add pollForApproximate
2023-09-09 07:52:47 -07:00
Daniel Imms
1792eaf05f
Fix MCR test on webkit, add pollForApproximate
...
Fixes #4769
2023-09-09 07:45:31 -07:00
Daniel Imms
36bf3ebff3
Merge pull request #4776 from Tyriar/4775
...
Fix viewport error during term dispose
2023-09-09 07:20:03 -07:00
Daniel Imms
681ba4887f
Fix viewport error during term dispose
...
Fixes #4775
2023-09-09 07:11:32 -07:00
Daniel Imms
b7f28c56a9
Merge pull request #4774 from Tyriar/4772
...
Avoid block elements in renderer tests
2023-09-09 06:57:31 -07:00
Daniel Imms
575cd8d28b
Avoid block elements in renderer tests
...
Fixes #4772
2023-09-09 06:51:13 -07:00
Daniel Imms
3d440e21bd
Merge pull request #4763 from tisilent/fix-selection-background-domrenderer
...
DomRenderer draw selection inactive background correctly when unfocused
2023-09-09 06:37:00 -07:00
Daniel Imms
a10113543b
Check add empty cells that are being asserted on
2023-09-09 06:28:07 -07:00
Daniel Imms
50369713de
Merge branch 'master' into fix-selection-background-domrenderer
2023-09-09 06:16:42 -07:00
Daniel Imms
2f2154c13b
Merge pull request #4762 from tisilent/Fix-Domrenderer-Invisible
...
Add handling of invisible
2023-09-09 06:16:16 -07:00
Daniel Imms
056206d7a4
Clear theme at start of every renderer test
2023-09-09 06:09:07 -07:00
Daniel Imms
57ab29bb85
Handle canvas renderer's more delayed rendering
2023-09-09 06:02:32 -07:00
Daniel Imms
4e69307074
Add regression test
2023-09-09 05:59:24 -07:00
Daniel Imms
608a5e2329
Merge branch 'master' into Fix-Domrenderer-Invisible
2023-09-09 04:58:39 -07:00
Daniel Imms
5126481de2
Remove only
2023-09-09 04:55:56 -07:00
Daniel Imms
fa168bd4c0
Add a test which fails without the change
2023-09-08 20:21:58 -07:00
Daniel Imms
f159a862e4
Add default xterm.js theme inactive selection bg
2023-09-08 19:57:17 -07:00
Daniel Imms
9f5ff468e1
Remove selection color test buttons
...
There's too many theme colors, we'll leave it to the console
2023-09-08 19:55:25 -07:00
Daniel Imms
65e07dcebc
Merge branch 'master' into fix-selection-background-domrenderer
2023-09-08 19:50:29 -07:00
Daniel Imms
cc83b9a4ca
Merge pull request #4770 from Tyriar/tyriar/canvas_tests
...
Add canvas renderer tests
2023-09-08 14:27:38 -07:00
Daniel Imms
14872e091e
Revert "Avoid importing os"
...
This reverts commit 2d74505208 .
2023-09-08 14:21:18 -07:00
Daniel Imms
3d3f58b6ff
Have playwright addon tests only start server, not build it
2023-09-08 14:10:37 -07:00
Daniel Imms
b99158f8f0
Add workers back to playwright ci
2023-09-08 13:30:27 -07:00
Daniel Imms
2d74505208
Avoid importing os
2023-09-08 13:26:10 -07:00
Daniel Imms
534b03b99f
Revert "Put webgl first"
...
This reverts commit 4af4d8dcc6 .
2023-09-08 13:19:29 -07:00
Daniel Imms
4af4d8dcc6
Put webgl first
2023-09-08 13:12:49 -07:00
Daniel Imms
298c5b2041
Split up playwright suites into steps
2023-09-08 13:09:47 -07:00
Daniel Imms
328e97336b
Try space out suites
2023-09-08 12:58:33 -07:00
Daniel Imms
2e10a7f097
Add window prefer to global symbols
2023-09-08 12:42:26 -07:00
Daniel Imms
1798cab222
Remove webgl canvas check
...
It complicates loading the addon
2023-09-08 12:37:53 -07:00
Daniel Imms
ebd27de4e1
Re-enable core tests
2023-09-08 12:31:27 -07:00
Daniel Imms
beeff131a9
Disable canvas tests on webkit
2023-09-08 12:28:08 -07:00
Daniel Imms
408240dd97
Tweak canvas renderer test
2023-09-08 12:22:38 -07:00
Daniel Imms
71eb897708
Add npm start to canvas
2023-09-08 12:17:22 -07:00
Daniel Imms
02aadf7c3e
Remove firefox exception from canvas
2023-09-08 12:17:00 -07:00
Daniel Imms
98e8c6ac73
Add canvas renderer tests
2023-09-08 12:16:16 -07:00
Daniel Imms
34933d2c76
Merge pull request #4768 from Tyriar/renderer_pw
...
DOM renderer playwright tests
2023-09-08 11:36:39 -07:00
Daniel Imms
a0c34b19df
Skip webgl tests on linux/firefox
2023-09-08 10:52:21 -07:00
Daniel Imms
48ba5e5856
Add npm start to webgl package.json
2023-09-08 10:35:38 -07:00
Daniel Imms
47183b2939
Fix relative path
2023-09-08 10:31:30 -07:00
Daniel Imms
9b9062aea4
Run npm start using relative cwd
2023-09-08 10:27:14 -07:00
Daniel Imms
cdf02d54da
Share test code between dom and webgl
2023-09-08 10:22:13 -07:00
Daniel Imms
413e884efb
Use faster pixel check method with caching
2023-09-08 10:12:06 -07:00
Daniel Imms
070d194c6c
Migrate webgl to playwright/test, add unified runner script
2023-09-08 10:04:25 -07:00
Daniel Imms
e54755b074
Skip failure on WebKit
2023-09-08 08:37:06 -07:00
Daniel Imms
db608e33fb
Fix remaining dom renderer tests
2023-09-08 08:26:49 -07:00
Daniel Imms
b543842fc0
Fix dom MCR tests
2023-09-08 08:23:20 -07:00
Daniel Imms
97be015234
All tests copied over, some failing
2023-09-08 08:08:45 -07:00
Daniel Imms
a656409bb5
All color dom renderer tests
2023-09-08 08:04:36 -07:00
Daniel Imms
ea45b04105
First working dom renderer api tests
...
Part of #4767
2023-09-08 07:47:14 -07:00
Daniel Imms
66a6ecea14
Improve playwright debug logging
2023-09-08 07:46:45 -07:00
Daniel Imms
f23af3661b
wip
2023-09-08 07:28:41 -07:00
tisilent
2f233f2389
💄
2023-09-08 18:52:11 +08:00
tisilent
393a8b3a86
When DomRenderer blue,perform rendering.
2023-09-08 18:08:14 +08:00
tisilent
c64115e0a0
Add handling of invisible
2023-09-08 17:34:03 +08:00
Per Bothner
427c472f6f
Merge branch 'master' into clusters
2023-09-07 12:01:56 -07:00
Daniel Imms
2e02c37e52
Merge pull request #4756 from Tyriar/tyriar/5_3__2
...
Disable image addon publishing
2023-09-07 10:58:11 -07:00
Daniel Imms
71ee3c7a33
Disable image addon publishing
2023-09-07 10:57:21 -07:00
Daniel Imms
009add2b4a
Merge pull request #4755 from Tyriar/tyriar/5_3
...
v5.3.0 and bump all addons
2023-09-07 10:54:11 -07:00
Daniel Imms
fb4b662756
v5.3.0 and bump all addons
2023-09-07 10:46:35 -07:00
Daniel Imms
c1882eb1ff
Merge branch 'master' into es2021
2023-09-07 10:03:17 -07:00
Per Bothner
9963c58511
Two testing-related fixes
2023-09-07 09:49:37 -07:00
Daniel Imms
7b52b8ee45
Merge pull request #4754 from tisilent/DomRenderer-Focus-Cursor
...
When DomRenderer focus,render the cursor line.
2023-09-07 08:53:26 -07:00
tisilent
c03cb2b016
When DomRenderer focus,render the cursor line.
2023-09-07 23:44:36 +08:00
Per Bothner
930e5c4280
Merge branch 'master' into clusters
2023-09-06 22:11:46 -07:00
Per Bothner
630d213bd0
Fix 2 comment typos.
2023-09-06 16:42:58 -07:00
Daniel Imms
82b6dd1ac8
Merge branch 'master' into es2021
2023-09-03 07:20:20 -07:00
Daniel Imms
29dd30a98d
Merge pull request #4735 from Tyriar/playwright
...
Start @playwright/test migration
2023-09-03 07:19:20 -07:00
Daniel Imms
68c572345b
Remove debugger statement
2023-09-02 09:19:17 -07:00
Daniel Imms
5e628d7fc6
Use arrow functions
2023-09-02 09:11:15 -07:00
Daniel Imms
93aae670ba
Readme explaining test/api
2023-09-02 08:56:59 -07:00
Daniel Imms
7c7ac86681
Run inner pwsh to unzip on Winodws
2023-09-02 08:53:20 -07:00
Daniel Imms
076ab0f49b
Combine unzip and ls -R
2023-09-02 08:44:32 -07:00
Daniel Imms
5fc1c04bd6
Use bash on all OS'
2023-09-02 08:41:59 -07:00
Daniel Imms
525d498e9f
Fix unzip on Windows
2023-09-02 08:40:57 -07:00
Daniel Imms
2b5ebb2b7b
Use unified unzip on unit tests
2023-09-02 08:33:01 -07:00
Daniel Imms
2269e92c88
Fix syntax
2023-09-02 08:30:51 -07:00
Daniel Imms
7c434a0566
Merge unzip steps
2023-09-02 08:30:14 -07:00
Daniel Imms
31bbeca2d8
Add webkit
2023-09-02 08:26:46 -07:00
Daniel Imms
158f7a17a6
Use list reporter
2023-09-02 08:26:42 -07:00
Daniel Imms
8d0fde2d7f
Remove only
2023-09-02 08:22:56 -07:00
Daniel Imms
4cd4597082
Browser-specific playwright job
2023-09-02 08:19:59 -07:00
Daniel Imms
1624854bd7
Migrate Terminal api tests to playwright
2023-09-02 08:18:02 -07:00
Daniel Imms
c099cb2a3d
Add browser-specific npm scripts
2023-09-02 08:17:15 -07:00
Daniel Imms
1c57b98c9a
Migrate InputHandler api tests to playwright
2023-09-02 07:19:32 -07:00
Daniel Imms
a29ab32876
Migrate MouseTracking api tests to playwright
2023-09-02 07:10:47 -07:00
Daniel Imms
91456fff04
More proxy impl
2023-09-02 06:06:51 -07:00
Daniel Imms
13af55f9fc
Add onWriteParsed event to proxy
2023-09-02 06:00:33 -07:00
Daniel Imms
66454d378b
Add todos
2023-09-01 08:50:39 -07:00
Daniel Imms
92d09f2ea1
Clean up, fix errors, add todo
2023-09-01 08:50:03 -07:00
Daniel Imms
fac5e5f02d
Improve types of proxy object to extend base interfaces
2023-09-01 08:46:14 -07:00
Daniel Imms
4ed97cae3a
Merge branch 'master' into playwright
2023-09-01 07:46:35 -07:00
Daniel Imms
ceef536b79
Upgrade es6 -> es2021
...
This uses the recommended target for node 16 in tsconfig/bases.
Fixes #4706
2023-09-01 07:36:48 -07:00
YAYA 刘玉婷
7fa56fde0b
Merge branch 'master' into underline-dotted
2023-09-01 14:12:01 +08:00
Daniel Imms
7bd9f8ee38
Revert image addon options type name
2023-08-28 02:52:03 -07:00
Daniel Imms
2dd4dfda80
Merge pull request #4729 from tisilent/circle-line-custom-powerline-glyph
...
Update circle line custom powerline glyph.
2023-08-28 02:28:41 -07: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
Per Bothner
44e19775f5
Merge branch 'master' into clusters
2023-08-27 11:58:57 -07:00
Daniel Imms
5b25c65521
Migrate Parser tests to playwright/test
2023-08-27 09:11:47 -07:00
Daniel Imms
cb977ab6b6
Remove CharWidth.test.ts from api (in playwright)
2023-08-27 09:03:55 -07:00
Daniel Imms
2b21f27ac2
Fix demo build script
2023-08-27 09:00:48 -07:00
Daniel Imms
ec984d25db
Install --with-deps
2023-08-27 08:56:40 -07:00
Daniel Imms
7000447915
Build demo step
2023-08-27 08:54:04 -07:00
Daniel Imms
486d61736b
Start demo
2023-08-27 08:50:24 -07:00
Daniel Imms
a4683ab874
dist -> /dist
2023-08-27 08:44:24 -07:00
Daniel Imms
b26c53d7e2
Make client dist a build artifact
2023-08-27 08:28:23 -07:00
Daniel Imms
86b8744838
Install playwright deps
2023-08-27 08:22:54 -07:00
Daniel Imms
6f04e00ea1
Add test-playwright-parallel job
2023-08-27 08:16:53 -07:00
Daniel Imms
9eadaf7079
Feature detect WebAssembly instead
2023-08-27 08:10:58 -07:00
Daniel Imms
fbebabe2e6
Add @playwright/test support
2023-08-27 08:08:52 -07:00
Daniel Imms
48184cc94f
Merge pull request #4734 from xtermjs/coverage
...
Bring back unit test coverage report
2023-08-27 07:49:05 -07:00
Daniel Imms
923c28cb77
Use node 18 in coverage
2023-08-27 07:43:11 -07:00
Daniel Imms
03c1906f13
Have coverage depend on build
2023-08-27 07:33:46 -07:00
Daniel Imms
2b7b4d6fea
Upgrade playwright
2023-08-27 07:31:20 -07:00
Daniel Imms
abae7b6210
Merge pull request #4733 from Tyriar/mutable
...
Adopt MutableDisposable for most usages of pattern `<var>?.dispose(); <var> = undefined`
2023-08-27 07:29:02 -07:00
Daniel Imms
12a862c277
Bring back unit test coverage report
2023-08-27 07:28:04 -07:00
Daniel Imms
38c6af9b46
Fix _renderer access in api test
2023-08-27 07:22:08 -07:00
Daniel Imms
2eaa9b3b69
Fix remaining issues with MutableDisposable usage
2023-08-27 07:15:51 -07:00
Daniel Imms
37b0e4018c
More adoption of MutableDisposable
2023-08-27 07:03:27 -07:00
Daniel Imms
57db72d287
More adoption of MutableDisposable
2023-08-27 06:55:16 -07:00
Daniel Imms
ec02bab97c
Use MutableDisposable in CursorRenderLayer
2023-08-27 06:46:49 -07:00
Daniel Imms
94ed3e800a
Don't dispose of texture atlas in canvas addon
...
This would cause problems if the atlas is shared between multiple
terminals.
2023-08-27 06:44:48 -07:00
Daniel Imms
1e1ccba238
Use MutableDisposable in BaseRenderLayer
2023-08-27 06:44:11 -07:00
Daniel Imms
a0d0c923f3
Merge pull request #4732 from Tyriar/texture_utilization
...
Improve texture atlas utilization and fix glyph corruption when merging
2023-08-26 15:46:52 -07: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
Daniel Imms
55c5a8560c
Merge pull request #4727 from jerch/fix_4720
...
remove inwasm burden
2023-08-25 07:50:45 -07:00
tisilent
9e768a4c7c
Update circle line custom powerline glyph.
2023-08-25 18:37:48 +08:00
tisilent
42d6c2bd6b
Use hex
2023-08-25 14:37:03 +08:00
tisilent
810e62665f
Clean
2023-08-25 14:30:34 +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
jerch
d367eb41d2
Merge branch 'master' into fix_4720
2023-08-24 17:32:08 +02:00
Jörg Breitbart
7c164efdcc
fix CI scripts
2023-08-24 17:30:52 +02:00
Jörg Breitbart
bd76cdbd20
resort wasm to xterm-wasm-parts
2023-08-24 17:24:25 +02:00
Per Bothner
dc6dd6d2a8
Remove precedingCodepoint - use precedingJoinState instead
...
repeatPrecedingCharacter (for REP sequence) changed to look at
the grapheme cluser to the "left" in the BufferLine, and repeat that.
This is an extension of the xterm behavior, and changes the
semantics of REP, so is not fully compatible.
However, the new behavior is cleaner and saner.
Moved precedingJoinState property to EscapeSequenceParser.
2023-08-24 07:58:06 -07:00
Daniel Imms
40e51aba6b
Merge pull request #4726 from Tyriar/no_confusing
...
Warn on eslint rule @typescript-eslint/no-confusing-void-expression
2023-08-24 06:41:18 -07:00
Daniel Imms
f9dc26d413
Merge branch 'master' into no_confusing
2023-08-24 06:33:43 -07:00
Daniel Imms
2fe082beea
Warn on eslint rule @typescript-eslint/no-confusing-void-expression
2023-08-24 06:33:11 -07:00
Daniel Imms
2835976b81
Merge pull request #4725 from Tyriar/no_useless_ctor
...
Warn on eslint rule @typescript-eslint/no-useless-constructor
2023-08-24 06:30:59 -07:00
Daniel Imms
1968e8ced4
Merge branch 'master' into no_useless_ctor
2023-08-24 06:24:54 -07:00
Daniel Imms
1965daff50
Warn on eslint rule @typescript-eslint/no-useless-constructor
2023-08-24 06:24:25 -07:00
Daniel Imms
f4881872f7
Remove unused private prop
2023-08-24 06:12:56 -07:00
Daniel Imms
f1f0191d98
Merge branch 'master' into underline-dotted
2023-08-24 06:02:48 -07: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
0e3db591c0
Merge pull request #4724 from Tyriar/webpack_eslint
...
@ts-check webpack files, fix vscode language of eslint file
2023-08-23 16:50:23 -07:00
Daniel Imms
224902af9f
Merge branch 'master' into webpack_eslint
2023-08-23 16:37:37 -07:00
Daniel Imms
131f578367
Merge pull request #4723 from Tyriar/demo_tscheck
...
Use ts-check in server and start
2023-08-23 16:37:29 -07:00
Daniel Imms
6b794285c6
Remove esbuild
...
Accidentally added
2023-08-23 16:32:22 -07:00
Daniel Imms
e78f85bf65
ts-check webpack configs
2023-08-23 16:29:45 -07:00
Daniel Imms
9be0b6d918
Force eslintrc to use jsonc language
2023-08-23 16:29:38 -07:00
Daniel Imms
3aa31111de
Merge branch 'master' into demo_tscheck
2023-08-23 16:26:07 -07:00
Daniel Imms
81baad6acd
Prefer const
2023-08-23 16:26:00 -07:00
Daniel Imms
25ef47a78f
Use express-ws types
2023-08-23 16:25:15 -07:00
Daniel Imms
7d7d593fee
Merge pull request #4722 from Tyriar/client_warnings
...
Fix demo client.ts warnings
2023-08-23 16:22:28 -07:00
Daniel Imms
766ffde4ca
Merge pull request #4721 from Tyriar/complex_options
...
Fix demo warnings by adding complex options
2023-08-23 16:22:20 -07:00
Daniel Imms
4534b56c1f
Use ts-check in server and start
2023-08-23 16:20:55 -07:00
Daniel Imms
ee0da5e4c1
Fix demo client.ts warnings
2023-08-23 16:03:25 -07:00
Daniel Imms
e5d60c0895
Fix demo warnings by adding complex options
2023-08-23 16:00:16 -07:00
Daniel Imms
5ccf4d3311
Merge remote-tracking branch 'upstream/master' into pr/PerBothner/4519-1
2023-08-23 05:09:42 -07:00
Daniel Imms
1f3143cfab
Remove unused member
2023-08-23 05:07:44 -07:00
Daniel Imms
f5d128b0d5
Merge remote-tracking branch 'upstream/master' into pr/tisilent/4703
2023-08-23 05:02:07 -07:00
Daniel Imms
2268ae3967
Merge pull request #4718 from Tyriar/no_unused
...
Add no unused variables lint warning
2023-08-23 04:57:55 -07:00
Daniel Imms
921da1a2ea
Ignore no-unused-vars in .api, organize all remaining imports
2023-08-23 04:47:53 -07:00
Daniel Imms
ebd4092bee
Ignore no-unused-vars in args
2023-08-23 04:42:44 -07:00
Daniel Imms
b6fd7a2b93
Ignore no-unused-vars in test files
2023-08-23 04:42:21 -07:00
Daniel Imms
210ba8109c
Add no unused variables lint warning
...
This shows a warning while compiling, so demo bundling will still happen but
it will be rejected when a PR is made.
2023-08-23 04:34:55 -07:00
tisilent
25afc19895
Merge branch 'underline-dotted' of https://github.com/tisilent/xterm.js into underline-dotted
2023-08-23 09:33:20 +08:00
Daniel Imms
68ded1a5b4
Merge branch 'master' into underline-dotted
2023-08-22 07:47:42 -07:00
Daniel Imms
317ccdac66
Merge pull request #4716 from xtermjs/Tyriar-patch-1
...
Fix typo in ci.yml
2023-08-22 07:33:02 -07:00
Daniel Imms
43a3251bee
Fix typo in ci.yml
2023-08-22 07:32:51 -07:00
Daniel Imms
94ab56542f
Merge pull request #4715 from Tyriar/waiton
...
Parallelize required tests and build jobs
2023-08-22 07:31:25 -07:00
Daniel Imms
92f1881dfe
Polish job names
...
This matches the npm script names closer
2023-08-22 07:21:27 -07:00
Daniel Imms
ec4c018f73
Remove windows from fast
2023-08-22 07:15:02 -07:00
Daniel Imms
2c25dd1970
Fix invalid names
2023-08-22 07:14:11 -07:00
Daniel Imms
06fbe69b09
Split out integration tests too
2023-08-22 07:05:55 -07:00
Daniel Imms
4bd154e7dc
Split fast and slow unit tests to free agents
2023-08-22 07:04:12 -07:00
Daniel Imms
516756fad8
Fix install step
2023-08-22 07:01:27 -07:00
Daniel Imms
2b3cfb39a1
Merge branch 'master' into waiton
2023-08-22 06:58:01 -07:00
Daniel Imms
e9cbb3e547
Add job name
2023-08-22 06:57:20 -07:00
Daniel Imms
1744801867
Try parallelize tests and build
2023-08-22 06:52:57 -07:00
Daniel Imms
64cb9a3c62
Merge pull request #4714 from Tyriar/4713
...
Don't smooth scroll when it's a no-op
2023-08-22 06:49:52 -07:00
Daniel Imms
0e947788e0
Don't smooth scroll when it's a no-op
...
Fixes #4713
2023-08-22 06:39:59 -07:00
Daniel Imms
60b59db94f
Merge pull request #4709 from Tyriar/tyriar/logger
...
Fix error that can occur when loading canvas addon
2023-08-22 06:27:06 -07:00
Daniel Imms
6d7032a906
Merge pull request #4710 from Tyriar/4704
...
Move addon install to presetup
2023-08-22 06:23:10 -07:00
Daniel Imms
b452fc9e85
Merge pull request #4712 from Tyriar/timeout
...
Put reasonable GH action timeouts in place
2023-08-22 06:22:55 -07:00
Daniel Imms
dac4dec0ad
Put reasonable GH action timeouts in place
...
Fixes #4711
2023-08-22 06:13:52 -07:00
Daniel Imms
eae79e93f3
Install addons in CI
2023-08-22 06:11:54 -07:00
Daniel Imms
ee33765932
Move addon install to presetup
...
Fixes #4704
2023-08-22 06:04:33 -07:00
Daniel Imms
8af83fef85
Fix error that can occur when loading canvas addon
2023-08-22 06:00:44 -07:00
tisilent
5f0647f0ab
clean
2023-08-22 09:35:12 +08:00
tisilent
fe7f17f422
clean
2023-08-22 09:26:01 +08:00
Per Bothner
e5a2ebda0e
Provide with "15" and "15-graphemes" UnicodeProviders
...
Th former doesn't support grapheme clusters, except the old-fashioned
kind of simple modifiers. However, "15-graphemes" (with full
cluster support) is the default.
2023-08-21 13:03:06 -07:00
Per Bothner
2204375788
Merge branch 'master' into clusters
2023-08-21 07:59:15 -07:00
tisilent
c81dfee43c
Using ext to store variants.
2023-08-21 20:54:16 +08:00
tisilent
cb175e513d
Variants to Canvas.
2023-08-21 19:45:38 +08:00
tisilent
32da1d81d5
Use variants for underline dotted.
...
webgl
2023-08-21 19:09:02 +08:00
Daniel Imms
6f0a5c9f0c
Merge pull request #4695 from PerBothner/demo
...
demo: auto-resize and other tweaks
2023-08-20 09:31:06 -07:00
Daniel Imms
1529e0bf04
Remove unused variable
2023-08-20 07:33:15 -07:00
Daniel Imms
6021e6cf81
Merge branch 'master' into demo
2023-08-20 07:29:31 -07:00
Daniel Imms
427d33c7b7
Merge pull request #4700 from Tyriar/ci_concise
...
Make GH actions strategy more concise
2023-08-19 15:41:37 -07:00
Daniel Imms
95f332cb13
Merge pull request #4699 from Tyriar/slow_tests
...
Improve slow tests
2023-08-19 15:34:08 -07:00
Daniel Imms
db4567599b
Make GH actions strategy more concise
2023-08-19 15:28:44 -07:00
Daniel Imms
0667c7aedd
Merge pull request #4698 from Tyriar/codeql
...
Revert codeql file name change
2023-08-19 15:22:46 -07:00
Daniel Imms
1c5596de66
Split up Base64Decoder decoding tests
...
Fixes #4696
2023-08-19 15:21:42 -07:00
Daniel Imms
905707284d
Up parser unti test timeout 10s -> 30s
2023-08-19 15:18:44 -07:00
Daniel Imms
67f46a54b8
Split up StringToUtf32 decoder tests
...
Part of #4696
2023-08-19 15:17:11 -07:00
Daniel Imms
b8db3853f1
Merge pull request #4697 from xtermjs/Tyriar-patch-1
...
Remove Azure Pipelines badge
2023-08-19 15:07:15 -07:00
Daniel Imms
a9015c0ee6
Revert codeql file name change
2023-08-19 15:05:32 -07:00
Daniel Imms
60db1e7f82
Remove Azure Pipelines badge
2023-08-19 14:57:25 -07:00
Daniel Imms
6dae811dae
Migrate to GitHub Actions
...
Fixes #3297
2023-08-19 14:47:35 -07:00
Per Bothner
a20599efb4
Merge branch 'master' into demo
2023-08-19 09:15:30 -07:00
jerch
27b8d73f66
Merge pull request #4694 from jerch/fix_bce_demo
...
fix spaces in bce demo
2023-08-19 17:43:36 +02:00
Per Bothner
025e8505d5
implement autoResize for terminal in demo
...
This is optional (but the default): You can still explicitly set COLSxROWS,
but "auto" uses a ResizeObserver sets the size based on window size.
2023-08-19 08:28:43 -07:00
Jörg Breitbart
16f5900252
fix spaces in demo
2023-08-19 17:28:27 +02:00
Per Bothner
e2d699cb32
Styling tweaks for demo
...
* Make terminal take 2/3 of the width, and the options etc get 1/3
* Remove options height limit, which could lead to annoying nested
verical scroll regions. (An inner region for the options inside a
scrollable viewport.)
2023-08-19 08:23:31 -07:00
Daniel Imms
156f75628a
Merge pull request #4692 from Tyriar/2117
...
Stub out all CSI api tests
2023-08-19 06:25:57 -07:00
Daniel Imms
8fad65d1d5
Stub out all CSI tests
...
Part of #2117
2023-08-19 06:11:29 -07:00
Daniel Imms
0867804504
Prefer arrow function
2023-08-19 05:33:49 -07:00
Daniel Imms
f0900fdc5f
Tweak format of CSI test names to make it easier to see terminating char
2023-08-19 05:32:41 -07:00
Daniel Imms
0be744b567
Merge pull request #4691 from Tyriar/4690
...
Improve lifecycle of WebLinksAddon.api, test all country tlds
2023-08-19 05:22:14 -07:00
Daniel Imms
243b0bb626
Add all country tlds to tests
2023-08-19 05:07:41 -07:00
Daniel Imms
0b32b42134
Improve lifecycle of WebLinksAddon.api
...
Part of #4690
2023-08-19 05:00:45 -07:00
Daniel Imms
ef1cd4318b
Merge pull request #4688 from Tyriar/cursor_style
...
Simplify cursor style types in webgl
2023-08-19 04:51:15 -07:00
Per Bothner
6e39d03a52
Some html/css cleanps in demo
...
* id="grid" should be id="class" (since "grid" is not unique in the document).
* Remove space after 'id=' (multiple places).
* Group 3 texture-atlas elements in new <div class="texture-atlas-container">.
2023-08-18 16:30:36 -07:00
Daniel Imms
e21e52569c
Merge branch 'master' into clusters
2023-08-18 15:20:02 -07:00
Daniel Imms
7b7dbd36d6
Merge pull request #4689 from Tyriar/4685
...
Track CursorBlinkStateManager in MutableDisposable
2023-08-18 14:38:05 -07:00
Daniel Imms
d03b5c9481
Track CursorBlinkStateManager in MutableDisposable
...
Fixes #4685
2023-08-18 14:26:56 -07:00
Daniel Imms
93e060aeb2
Add MutableDisposable tests
2023-08-18 14:24:50 -07:00
Per Bothner
00fd2b8503
Set unicode.activeVersion when loading UnicodeGraphemeProvider.
2023-08-18 14:17:39 -07:00
Daniel Imms
a84351ad0c
Add MutableDisposable
...
Part of #4685
2023-08-18 14:15:56 -07:00
Daniel Imms
25a78c77f2
Simplify cursor style types in webgl
...
Fixes #4686
2023-08-18 14:11:17 -07:00
Daniel Imms
a35fa611ff
Merge pull request #4687 from Tyriar/tracing
...
Add trace log level, @traceCall decorator and use in webgl
2023-08-18 11:14:52 -07: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
21fd545381
Don't load unicode11 addon on demo startup.
2023-08-18 08:46:33 -07:00
Per Bothner
6c1eb97a18
Remove no-longer-applicable comment.
2023-08-17 14:53:23 -07:00
Per Bothner
2070cc45d4
Merge branch 'master' into clusters
2023-08-17 13:29:22 -07:00
Per Bothner
f1bc95622d
Add more grapheme-cluster examples to test and demo
2023-08-17 13:23:10 -07:00
Daniel Imms
3b3b23a2fd
Merge pull request #4683 from Tyriar/tyriar/minor_cleanup
...
Remove unneeded comments, headless options
2023-08-17 09:25:31 -07:00
Per Bothner
e3d3cdb9d2
Merge branch 'master' into clusters
2023-08-17 09:17:14 -07:00
Daniel Imms
7b874473d3
Remove unneeded comments, headless options
2023-08-17 09:10:38 -07:00
Daniel Imms
9d7b9293eb
Merge pull request #4681 from PerBothner/dom-selection
...
Fix bug in selection handling in dom renderer
2023-08-17 09:01:12 -07:00
Per Bothner
957e3e0f08
Fix bug in selection handling in dom renderer
2023-08-16 15:34:35 -07:00
Per Bothner
5994e25841
Merge branch 'master' into clusters
2023-08-15 09:20:47 -07:00
Daniel Imms
2f0a7eee8d
Merge pull request #4679 from Tyriar/4663
...
Reduce repetition with internal terminal types and inherit docs from API
2023-08-15 08:49:40 -07:00
Daniel Imms
1a3e14a24c
Merge pull request #4680 from Tyriar/crash
...
Revert Stylesheet change
2023-08-15 08:49:05 -07:00
Daniel Imms
a6b67fb8a6
Remove unused headless types file
2023-08-15 08:39:20 -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
9f3be5e28d
Simplify terminal interfaces
...
Fixes #4663
2023-08-15 07:49:31 -07:00
Daniel Imms
f69f803f0f
Implement public APIs internally to inherit docs
...
Part of #4663
2023-08-15 07:46:51 -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
Per Bothner
cf243adfe3
Merge branch 'master' into clusters
2023-08-14 12:22:55 -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
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
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
dennnnny
bef87403db
Fix force transparent foreground colors to be opaque
2023-08-13 17:52:49 +08: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
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
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
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
Per Bothner
aac5d4704e
Merge branch 'master' into clusters
2023-08-10 12:24:51 -07:00
Per Bothner
fb2c6801d4
Replace comments by assert message in unicode-graphemes tests
...
Also use plain equal instead of deepEqual (overkill).
2023-08-10 11:39:47 -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
Svante Boberg
3b3012353f
Use disposable registration
2023-08-10 19:04:20 +02:00
Svante Boberg
adad53d526
Dispose blink state manager
2023-08-10 18:47:04 +02:00
jerch
9b21786062
Merge branch 'master' into clusters
2023-08-10 18:31:04 +02: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
tisilent
482dad3036
Add cursorInactiveStyle option
2023-08-10 16:11:04 +08: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
jerch
0366aa2217
Merge branch 'master' into fix_4642
2023-08-10 00:24:03 +02:00
Jörg Breitbart
2b79b7b29f
faster SortedList._search
2023-08-10 00:12:00 +02:00
Per Bothner
3bfe5d86c0
Add testOptions parameter to openTerminal in TestUtils.
...
This is used to control whether the UnicodeGraphemesAddon is loaded.
2023-08-09 14:44:45 -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
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
Per Bothner
b9a4760b44
Move files imported from unicode-properties into subdirectory
...
Specifically addons/xterm-addon-unicode-graphemes/src/third-party/.
2023-08-08 18:32:37 -07:00
tisilent
3ba579f680
fix double underline, upwards
2023-08-08 18:36:44 +08:00
Per Bothner
302da18c81
Rename local variable precedingInfo in InputHandler to precedingJoinState
2023-08-07 13:08:35 -07:00
Per Bothner
4fbc623706
Expand doc comments for UnicodeCharProperties and UnicodeCharWidth.
2023-08-07 11:55:52 -07:00
Per Bothner
b9abbc0a85
Split complicated conditional expression.
2023-08-07 11:10:06 -07:00
Per Bothner
f1035405e6
Move precedingJoinState from EscapeSequenceParser to InputHandler
...
This allows InputHandler._parser to be IEscapeSequenceParser
rather than EscapeSequenceParser.
2023-08-06 12:44:43 -07:00
Per Bothner
720297946b
Changed xterm-addon-unicode-graphemes version number to 0.1.0.
2023-08-06 11:53:11 -07:00
Per Bothner
988b3b1ab2
Remove tailing space.
2023-08-06 11:52:39 -07:00
Per Bothner
88bfc6bb2b
Tweak charProperties doc comment.
2023-08-06 08:28:08 -07:00
Per Bothner
a0dc88165f
Fix copyright year in new file.
2023-08-06 08:20:52 -07:00
Per Bothner
dccfc11b4f
Tweak to avoid line-ending spaces.
...
Line-ending spaces were unintentionally removed - this avoids the problem,
2023-08-06 08:19:14 -07:00
Per Bothner
42042155d4
Merge branch 'master' into clusters
2023-08-03 22:30:46 -07:00
Per Bothner
6b2459317b
Null out following columns after grapheme cluster
2023-08-03 22:29:36 -07:00
Daniel Imms
08a0914a78
Add grapheme cluster test button to demo
2023-08-02 11:59:30 -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
7baff4e249
Merge branch 'master' into clusters
2023-08-02 11:41:22 -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
meganrogge
44d4ec83fc
revert change
2023-08-02 08:17:18 -07:00
meganrogge
33124a31bd
fix #4571
2023-08-02 08:14:16 -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
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
994861a6fa
change repeat variable to const enum
2023-08-01 18:25:29 +02:00
Jörg Breitbart
b770431102
Merge branch 'master' into faster_dom
2023-08-01 18:18:31 +02:00
Jörg Breitbart
2fd108c864
Merge branch 'missing_image_changes' of github.com:jerch/xterm.js into missing_image_changes
2023-08-01 18:12:50 +02:00
Jörg Breitbart
914f7be644
add image addon to publish
2023-08-01 18:11:03 +02:00
jerch
1fdb8c006d
Merge branch 'master' into missing_image_changes
2023-08-01 17:42:34 +02: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
Jörg Breitbart
a1ddc629dc
make tests less data intensive
2023-08-01 17:26:02 +02: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
Jörg Breitbart
b7f9db69ca
update readme
2023-08-01 16:51:56 +02: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
Jörg Breitbart
fe838726b0
transfer changes from 0.4.3
2023-08-01 16:43:14 +02: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
Jörg Breitbart
f407f0c5a6
unit tests
2023-07-31 21:24:39 +02:00
Jörg Breitbart
40eccfa61a
Merge branch 'faster_dom' of github.com:jerch/xterm.js into faster_dom
2023-07-31 20:07:56 +02:00
Jörg Breitbart
c79aa542c9
cache optimizations
2023-07-31 20:07:40 +02:00
jerch
366ffedf08
Merge branch 'master' into faster_dom
2023-07-31 18:01:16 +02:00
Jörg Breitbart
c796514de8
apply weight settings in width cache
2023-07-31 16:49:58 +02:00
Jörg Breitbart
e75ec5b51f
revert changes to selection service
2023-07-31 16:09:44 +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
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
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
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
Jörg Breitbart
5f98db9b76
re-enable failing test
2023-07-29 18:26:31 +02: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
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
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
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
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
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
Simon Siefke
92a18defce
remove one more public
2023-07-27 17:16:00 +02:00
Simon Siefke
859c9ec68d
update typescript-eslint
2023-07-27 17:11:04 +02:00
Simon Siefke
b4aeb1b3e7
fix eslint warnings
2023-07-27 13:29:02 +02:00
Simon Siefke
8f1313519f
update typescript version to 5.1.6
2023-07-27 13:19:38 +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
90f1318596
skip failing test for now
2023-07-24 00:01:51 +02:00
Jörg Breitbart
4a5ae78d35
try to fix search test error
2023-07-23 23:52:17 +02:00
Jörg Breitbart
097879b839
faster metrics calc
2023-07-23 23:36:25 +02:00
Jörg Breitbart
2d9ad32d93
fix weblinks api test
2023-07-23 22:25:58 +02:00
Jörg Breitbart
4d257f469b
fix linter
2023-07-23 21:12:38 +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
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
dependabot[bot]
2d732e3a99
Bump word-wrap from 1.2.3 to 1.2.4
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-18 21:27:19 +00: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
Lewis Sanchez
78aad113a6
Minor clean up
2023-07-14 15:07:38 -07:00
Lewis Sanchez
d2c28c819f
Add getRasterizedGlyph null and undefined check
2023-07-14 11:31:59 -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
Muhammad Atif Ali
7e5bdb5321
Add Coder Self-Hosted Remote Development Environments to list
2023-07-14 14:08:34 +03: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
dependabot[bot]
196f863441
Bump semver from 5.7.1 to 5.7.2
...
Bumps [semver](https://github.com/npm/node-semver ) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-11 10:14:24 +00: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
dependabot[bot]
e100a4310b
Bump tough-cookie from 4.0.0 to 4.1.3
...
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie ) from 4.0.0 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases )
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md )
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.0.0...v4.1.3 )
---
updated-dependencies:
- dependency-name: tough-cookie
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-09 10:15:18 +00: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
Tom Groenwoldt
6339c09c01
Add helix editor playground project to real world uses
2023-07-06 11:36:23 +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
65568f502e
fix #4582
2023-07-05 13:56:41 +02:00
tisilent
1fb9f0185a
format
2023-06-30 11:45:50 +08:00
tisilent
74c5256d6d
using _smoothScroll
2023-06-30 11:44:06 +08:00
Per Bothner
556823328f
Fix for lint the previous charProperties change.
2023-06-28 15:33:55 -07:00
Per Bothner
dc6818de2b
Fix error in charProperties optimization.
...
Result should be 2, not 1.
Use a static field to avoid this kind of error
(though it might be slightly slower, depending on the compiler/toolchain).
2023-06-28 15:19:44 -07:00
Per Bothner
693f6b2d14
Merge branch 'master' into clusters
2023-06-27 13:31:23 -07:00
Jörg Breitbart
3991b5f251
make linter happy
2023-06-27 17:11:45 +02:00
Jörg Breitbart
9afb924e84
different loop for failing test
2023-06-27 17:06:43 +02:00
Jörg Breitbart
7a82e7370f
fix timeout issue again
2023-06-27 16:51:11 +02:00
Jörg Breitbart
709e9fd01a
remove left over .only
2023-06-27 16:20:33 +02:00
Jörg Breitbart
e16f87f973
use pollFor in failing test
2023-06-27 16:20:11 +02:00
Jörg Breitbart
d4ddac704c
more waits for remote browser under heavy CI load
2023-06-27 15:57:07 +02:00
Jörg Breitbart
bc92d61616
remove left over .only
2023-06-27 15:41:54 +02:00
Jörg Breitbart
4884d81704
fix another heavy CI load timeout issue
2023-06-27 15:35:52 +02:00
Jörg Breitbart
d99bdb7710
fix timeout issue in CI
2023-06-27 15:15:51 +02:00
Jörg Breitbart
eaa265b4fa
add image options and tests to demo
2023-06-27 15:04:55 +02:00
Jörg Breitbart
8fa3cae618
integrate addon into demo
2023-06-27 14:04:27 +02:00
Jörg Breitbart
0027b27ea3
add wasm builds
2023-06-27 13:49:49 +02:00
Jörg Breitbart
2bcc653293
remove only from api test
2023-06-27 13:43:02 +02:00
Jörg Breitbart
ebfff5efee
initial move to base repo
2023-06-27 13:35:59 +02: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
naufal afif
8068880aab
add cloudtutor.io to real world uses
2023-06-19 10:26:12 +08:00
Albert Safin
064fe0cfd9
Render the cursor in the WebGL canvas
2023-06-18 06:34:14 +00: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
xie jialong 努力鸭
f616ebb083
Merge branch 'master' into #4121
2023-06-07 19:23:01 +08:00
tisilent
ce2d115087
Move logic to Viewport
2023-06-06 20:14:24 +08:00
Daniel Imms
9f424833d6
Merge pull request #4546 from jerch/fix_4545
...
DOM renderer link underline
2023-06-05 05:20:54 -07: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
118915c1f7
Merge pull request #4542 from silamon/node18
...
Upgrade to Node18
2023-05-31 10:50:12 -07:00
Simon Lamon
fca593d93b
Fix unit testing (headless)
2023-05-31 17:37:41 +00:00
Simon Lamon
3376ee2f85
Node 18
2023-05-31 17:14:49 +00:00
Daniel Imms
f6fbf63673
Add windowsPty unit test
2023-05-29 09:50:52 -07:00
Daniel Imms
3e5c6a156b
Correct Windows wrapping heuristics condition
2023-05-29 09:49:33 -07:00
Daniel Imms
a91665cb18
Listen for windowsPty changes
2023-05-29 09:43:49 -07:00
Daniel Imms
22140b5e94
Add more granular windowsPty option
...
See microsoft/vscode#134448
2023-05-29 09:40:00 -07:00
Daniel Imms
22a4dc4b6b
Merge pull request #4478 from jerch/fix_4469
...
fix DECRQM reports
2023-05-24 06:47:52 -07:00
Megan Rogge
0ff06db417
bring back accessibility tree ( #4536 )
2023-05-22 21:17:25 +00:00
jerch
cf403bc45c
Merge branch 'master' into clusters
2023-05-21 22:25:34 +02:00
Per Bothner
fa89e1776b
Optimize UnicodeGraphemeProvider for the ASCII case.
2023-05-21 10:29:13 -07:00
Per Bothner
1a8c7dad5f
Update .eslintrc.json to include xterm-addon-unicode-graphemes/benchmark
2023-05-21 10:27:36 -07:00
Daniel Imms
83a77b6024
Merge pull request #4533 from Tyriar/4480
...
Workaround drawing off invalid bitmap in canvas
2023-05-21 09:13:18 -07:00
Daniel Imms
8b422442b7
Close generator before deleting it
2023-05-21 09:05:21 -07:00
Daniel Imms
02ce3eff87
Workaround drawing off invalid bitmap in canvas
...
Fixes #4480
2023-05-21 08:51:31 -07:00
Daniel Imms
518b87f01d
Merge pull request #4532 from Tyriar/4529
...
Finish overline support
2023-05-21 08:25:20 -07:00
Per Bothner
e87fa1600d
Merge pull request #2 from jerch/clusters-patch
...
working perf test and API test injection
2023-05-21 08:19:55 -07:00
Daniel Imms
6188c07bf7
Serialize overline
...
Fixes #4529
2023-05-21 08:17:06 -07:00
Daniel Imms
325d133a75
Add overline to vt comments
...
Part of #4529
2023-05-21 08:16:57 -07:00
Daniel Imms
b662824b81
Add isOverline to public API
...
Part of #4529
2023-05-21 08:16:38 -07:00
Daniel Imms
ada5bfe048
Merge pull request #4530 from jerch/fix_atlas_merge_webgl
...
fix blackout lines in webgl
2023-05-21 07:52:38 -07:00
Jörg Breitbart
f270127ce5
fix webgl part of #4480
2023-05-21 16:32:57 +02:00
Daniel Imms
7460782494
Merge pull request #4527 from jerch/fix_4485
...
fix buffer corruption for utf8 transport in demo
2023-05-21 07:03:21 -07:00
Jörg Breitbart
048010c219
fix buffer corruption for utf8 transport
2023-05-21 12:28:15 +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
d5c47ec531
it -> itWebgl
2023-05-20 09:35:37 -07:00
Daniel Imms
5a145fcffe
Add webgl api tests for dim
2023-05-20 08:41:11 -07:00
Daniel Imms
539fed4daa
Don't apply dim to background color
...
Fixes #4161
2023-05-20 08:13:50 -07:00
Jörg Breitbart
3003185676
revert wrongly editied files
2023-05-20 15:29:38 +02:00
Jörg Breitbart
ebfa2018dd
revert wrong added file
2023-05-20 15:28:15 +02:00
Jörg Breitbart
68abf10c25
remove spurious .only
2023-05-20 15:24:56 +02:00
Jörg Breitbart
284cde8b1b
fix benchmark
2023-05-20 15:14:37 +02:00
Jörg Breitbart
466501c62f
patch for working perf test and API test injection
2023-05-20 15:05:32 +02:00
Per Bothner
9c34bb4160
Merge branch 'master' into clusters
2023-05-18 11:19:26 -07:00
Per Bothner
8e730cdc61
xterm-addon-unicode-graphemes: add api tests and get demo working
2023-05-18 11:11:38 -07:00
Per Bothner
41760dfb09
xterm-addon-unicode-graphemes - fix 'yarn test'
2023-05-18 08:55:52 -07:00
Per Bothner
67e968926c
Cleanup - fix various tests.
2023-05-17 18:37:27 -07:00
Daniel Imms
a0493a604c
Merge pull request #4521 from jeanp413/jp/fix-forced-reflow
...
Avoid triggering a reflow while rendering search decorations
2023-05-17 16:04:16 -07:00
Jean Pierre
07e8f86bd1
Avoid triggering a reflow
2023-05-17 17:03:25 -05:00
Daniel Imms
1dbc1bf639
Merge pull request #4516 from jeanp413/jp/fix-decoration-render-layer
...
Ensure decorations in the top layer render on top of decorations in the bottom layer
2023-05-17 07:08:47 -07:00
Daniel Imms
6e8c59f0db
Merge pull request #4504 from jeanp413/jp/fix-4444
...
Fixes improve search addon behavior when there are > 1000 results
2023-05-17 07:02:29 -07:00
Daniel Imms
ec227c757b
Prefix class with xterm-decoration-
2023-05-17 06:57:13 -07:00
Per Bothner
2f7fe1189c
New unicode-graphemes addon.
...
Handle grapheme cluster lookup as well as wcwidth.
This is based on Unicode 15, and could replace the unicode11 addon.
2023-05-16 18:31:31 -07:00
Jean Pierre
4fbeb58203
Update search demo
2023-05-15 22:18:36 -05:00
Jean Pierre
60f549028f
Ensure decorations in the top layer render on top of decorations in the bottom layer
2023-05-12 16:19:03 -05:00
Jean Pierre
cc5136aeb3
Address feedback
2023-05-12 16:08:11 -05:00
Daniel Imms
a1e9105ce7
Merge branch 'master' into jp/fix-4444
2023-05-12 06:24:34 -07:00
Daniel Imms
7a7f4f0add
Merge pull request #4512 from xtermjs/Tyriar-patch-1
...
Add FAQ to new issue report
2023-05-10 06:40:53 -07:00
Daniel Imms
96ea9fe188
Add FAQ to new issue report
...
Hopefully this will reduce issue count a little
2023-05-10 06:31:54 -07:00
Jean Pierre
b4e2293dbc
Fix incremental
2023-05-09 16:14:28 -05: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
075f33031d
Merge pull request #4475 from kelvinhammond/patch-1
...
Re-render browser DOM style onOptionsChanged, fixes xtermjs#4474
2023-05-09 07:12:58 -07:00
Jean Pierre
e4b670231d
Add tests
2023-05-08 09:08:35 -05:00
Jean Pierre
1c19f1d282
Remove incremental?
2023-05-07 15:19:23 -05:00
Jean Pierre
508589aa80
Improve search addon behavior when there are > 1000 results
2023-05-07 15:19:23 -05:00
Daniel Imms
854e2736f6
Move inject into _handleOptionsChanged
2023-05-07 06:27:56 -07:00
Kelvin
58f650e6f0
Merge branch 'master' into patch-1
2023-05-04 15:32:29 -04:00
Daniel Imms
913cb25863
Merge pull request #4491 from jerch/fix_4477
...
fix urls with screenreader
2023-05-03 08:19:23 -07:00
Daniel Imms
16f82cb3b5
Merge pull request #4500 from Tyriar/4487
...
Clear whole cursor layer on Firefox
2023-05-02 15:54:23 -07:00
Daniel Imms
0a101a01f5
Clear whole cursor layer on Firefox
...
Fixes #4487
2023-05-02 15:44:36 -07:00
Jörg Breitbart
9638063359
fix #4477
2023-04-24 12:30:41 +02:00
tisilent
b7d73f63cd
Add smoothScroll to scrollLines
2023-04-19 15:48:12 +08:00
Jörg Breitbart
ee26780e03
fix test cases
2023-04-16 21:17:12 +02:00
Jörg Breitbart
b35415ed16
flip SET 2 & 12 perma flags, add DECSET 67 (DECBKM) as perma reset
2023-04-16 21:08:42 +02: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
Daniel Imms
2fdb46919c
Merge pull request #4465 from Tyriar/4410
...
Ensure Decoration.isDisposed can be true
2023-03-31 12:21:52 -07:00
Daniel Imms
c8e633ecb5
Merge pull request #4464 from Tyriar/4409
...
Correct registerMarker docs
2023-03-31 12:12:19 -07:00
Daniel Imms
c546f7cc8a
Ensure Decoration.isDisposed can be true
...
Fixes #4410
2023-03-31 12:11:50 -07:00
Daniel Imms
6997f1a940
Correct registerMarker docs
...
Fixes #4409
2023-03-31 11:55:30 -07:00
Daniel Imms
14c6df3187
Merge pull request #4458 from Tyriar/tyriar/178014
...
Clear line wrapped state on explicit line feed
2023-03-28 11:46:45 -07:00
Daniel Imms
18be346df9
Clear line wrapped state on explicit line feed
...
Fixes #4457
See microsoft/vscode#178014
2023-03-28 11:35:21 -07:00
Daniel Imms
37297e09ed
Merge pull request #4456 from xtermjs/Tyriar-patch-1
...
Add DOM term to real world use cases
2023-03-28 09:04:25 -07:00
Daniel Imms
b2f0cc8dc1
Add DOM term to real world use cases
...
Fixes #4455
2023-03-28 08:51:24 -07:00
Daniel Imms
6cbee3349e
Merge pull request #4451 from Starwort/master
...
Fix #4450
2023-03-27 06:36:53 -07:00
Starwort
f0edc1b613
Fix #4450
2023-03-27 09:56:17 +01:00
Daniel Imms
cd9867e222
Merge pull request #4443 from tisilent/#4441
...
Uniform cursor unfocused rendering. #4441
2023-03-23 07:58:55 -07:00
tisilent
e1d852c86a
Adjust DomRenderer cursor style
2023-03-22 21:09:28 +08:00
tisilent
455c744ab1
Uniform cursor unfocused rendering. #4441
2023-03-22 20:54:58 +08:00
Daniel Imms
21f48ba803
Merge pull request #4438 from xtermjs/jerch-patch-1
...
fix BCE render bug in canvas renderer
2023-03-15 07:51:45 -07:00
jerch
49fdacba6a
fix BCE render bug in canvas renderer
2023-03-15 15:41:44 +01:00
Daniel Imms
a359c7ca10
Merge pull request #4437 from xtermjs/dependabot/npm_and_yarn/webpack-5.76.0
...
Bump webpack from 5.61.0 to 5.76.0
2023-03-15 06:31:53 -07:00
dependabot[bot]
242eade757
Bump webpack from 5.61.0 to 5.76.0
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.61.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.61.0...v5.76.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-14 15:58:20 +00:00
Megan Rogge
4037b943b9
remove AccessibleBuffer ( #4427 )
...
* remove AccessibleBuffer
* rm more
* Update src/browser/Terminal.ts
* rm css
2023-03-02 14:51:32 -06:00
Labhansh Agrawal
a8cec5f02f
Enable ligatures addon on electron
2023-02-23 23:49:40 +05:30
Megan Rogge
9154831afa
allow html elements ( #4413 )
2023-02-15 14:34:00 -06:00
Megan Rogge
d6599bc048
accessibilityBuffer -> accessibleBuffer (#4406 )
2023-02-08 21:48:20 +00:00
Megan Rogge
8a1faed5cb
ensure line is defined via clamp ( #4403 )
2023-02-07 21:03:06 +00:00
Megan Rogge
72a157df5e
add registerBufferElementProvider ( #4402 )
2023-02-07 09:56:23 -08:00
Megan Rogge
6daadc4c55
pull AccessibleBuffer out of AccessibilityManager ( #4400 )
2023-02-03 18:59:30 +00:00
Daniel Imms
c05d0f650c
Merge pull request #4398 from Tyriar/tyriar/a11y_remove
...
Remove accessibility tree code
2023-02-02 11:47:17 -08:00
Daniel Imms
d5b5f1a9a4
Clean up
2023-02-02 06:24:18 -08:00
Daniel Imms
dfcd674f8c
Fix const -> let in LocalizableStrings
...
This needs to be settable outside, so const gives the wrong impression
2023-02-02 06:18:09 -08:00
Daniel Imms
a7e0a9c534
Remove old accessibility tree code
2023-02-02 06:17:32 -08:00
Daniel Imms
5839accbf1
Use is prefix for boolean prop/getter
2023-02-02 06:12:04 -08:00
Megan Rogge
01c9a98e8e
update accessibilityBufferActive on focusOut ( #4395 )
2023-02-01 20:57:52 +00:00
Daniel Imms
bcfed71e1d
Merge pull request #4393 from Tyriar/createinstance
...
Improve createInstance types
2023-02-01 12:38:30 -08:00
Daniel Imms
046d4b8314
Improve createInstance types
2023-02-01 08:42:51 -08:00
Megan Rogge
a9da61e605
accessibilityBuffer: textarea -> div & prevent mouse click from exiting ( #4389 )
2023-01-31 18:25:25 -06:00
Daniel Imms
24c7be210c
Merge pull request #4390 from Tyriar/webgl_exception
...
Handle glyph/rect renderer safer
2023-01-31 11:25:41 -08:00
Daniel Imms
9c815250b6
Handle glyph/rect renderer safer
...
See microsoft/vscode#172782
2023-01-31 11:14:33 -08:00
Megan Rogge
377f88796f
append accessibility tree as child, not as adjacent elt to terminal ( #4383 )
2023-01-24 19:40:46 +00:00
Megan Rogge
ed6c849501
attach and detach accessibility tree root element ( #4382 )
2023-01-24 09:53:10 -06:00
Megan Rogge
5a21948b4a
make accessibility buffer readonly ( #4381 )
2023-01-23 19:03:19 +00:00
Megan Rogge
b24bda92ad
use textbox instead of div for accessibility buffer ( #4377 )
2023-01-20 17:36:25 +00:00
Megan Rogge
9895691e0e
use content editable ( #4376 )
2023-01-19 21:30:58 +00:00
Megan Rogge
77870b06b9
fix #4374 ( #4375 )
2023-01-19 16:49:53 +00:00
Daniel Imms
41dc93a008
Prototype improved a11y buffer view ( #4340 )
2023-01-18 23:00:21 +00:00
Arek Ouzounian
79d2f738a2
fixed linter warnings
2023-01-06 15:22:02 -08:00
Arek Ouzounian
7701557b99
Fix for #2488 . Use element offsetHeight rather than
...
getBoundingRect
2023-01-06 14:56:20 -08:00
Daniel Imms
ba9f2e0f11
Merge pull request #4364 from Tyriar/dom_remove
...
Replace dom helper with HTMLElement.remove()
2023-01-05 09:22:55 -08:00
Daniel Imms
b3fb8db6b3
Replace dom helper with HTMLElement.remove()
2023-01-05 09:14:16 -08:00
Daniel Imms
91946dcd9b
Merge pull request #4363 from xtermjs/dependabot/npm_and_yarn/json5-2.2.3
...
Bump json5 from 2.1.2 to 2.2.3
2023-01-05 08:23:59 -08:00
dependabot[bot]
41c0e26292
Bump json5 from 2.1.2 to 2.2.3
...
Bumps [json5](https://github.com/json5/json5 ) from 2.1.2 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.1.2...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-05 16:15:34 +00:00
Daniel Imms
fe89817667
Merge pull request #4361 from xtermjs/circularlist-cleanup
...
Removed unused imports in CircularList
2022-12-28 07:19:26 -08:00
Eugene
7ee7aa2719
removed unused imports in CircularList
2022-12-28 15:41:58 +01:00
Daniel Imms
b05c26c6fd
Merge pull request #4358 from Tyriar/4357
...
Request links after viewport resize
2022-12-27 06:50:53 -08:00
Daniel Imms
0adbedf98d
Request links after viewport resize
...
This clears the underline when hovering the link but this is an edge
case that isn't so important. As it's difficult to do outside of the
demo.
Fixes #4357
2022-12-27 06:41:58 -08:00
Daniel Imms
89ead0b4b7
Merge pull request #4356 from Coding-Kiwi/Coding-Kiwi-patch-1
...
Add graSSHopper to Real-world uses
2022-12-27 03:56:47 -08:00
Erik
349510065b
Add graSSHopper to Real-world uses
2022-12-26 20:48:44 +01:00
Daniel Imms
fa8a0e7f24
Merge pull request #4355 from Tyriar/4354
...
Clear canvas selection state after a resize
2022-12-24 08:10:44 -08:00
Daniel Imms
0c4e9c6b27
Merge pull request #4347 from silamon/deprecatedubuntu
...
Switch to Ubuntu 20.04
2022-12-24 08:06:14 -08:00
Daniel Imms
de2b62eeac
Merge pull request #4352 from Tyriar/4096
...
Include right part of wide char in underline gap
2022-12-24 08:05:41 -08:00
Daniel Imms
65b2af10f8
Clear canvas selection state after a resize
...
Fixes #4354
2022-12-24 08:02:41 -08:00
Daniel Imms
1a20fbb25f
Merge pull request #4353 from Tyriar/4057
...
Force canvas renderer selection redraw on theme change
2022-12-24 08:02:06 -08:00
Daniel Imms
d51ba2578b
Force canvas renderer selection redraw on theme change
...
Fixes #4057
2022-12-24 07:46:51 -08: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
72f1d1048a
Merge pull request #4350 from Tyriar/dotted
...
Improve rendering of dotted underlines
2022-12-23 14:16:15 -08:00
Daniel Imms
d17df65fad
Improve rendering of dotted underlines
...
Fixes #4060
2022-12-23 14:04:12 -08:00
Simon Lamon
ed8c2269cb
Add proposed fix
2022-12-23 17:00:48 +00:00
Simon Lamon
f1b47485cd
Revert "Revert "SerializeAsHTML(): Fallback to default ansi colors when running headless terminal""
...
This reverts commit 3a81ef54ca .
2022-12-23 16:47:31 +00:00
Simon Lamon
c2504fa669
Ubuntu 18.04 deprecation
2022-12-23 17:37:26 +01:00
Daniel Imms
5a2bf6d039
Merge pull request #4346 from Tyriar/4314_2
...
Clamp start and end in render service to ensure they're valid
2022-12-21 17:03:15 -08:00
Daniel Imms
568e4c6935
Clamp start and end in render service to ensure they're valid
...
Fixes #4314
2022-12-21 16:55:03 -08:00
Daniel Imms
8b1c5c4ffb
Revert "Fix NPE in webgl renderer"
...
This reverts commit ea7571c2b9 .
2022-12-21 16:51:45 -08:00
Daniel Imms
d34bb5ed79
Merge pull request #4343 from Tyriar/bump_other_addons
...
Bump other addons for v5.1 release
2022-12-21 08:28:46 -08:00
Daniel Imms
ace4c3663f
Bump other addons for v5.1 release
...
Fixes #4336
2022-12-21 08:27:01 -08:00
Daniel Imms
75075ebb70
Merge pull request #4342 from Tyriar/4341
...
Fix link event listener leak
2022-12-20 15:15:22 -08:00
Daniel Imms
7b8ad8c0b4
Improve comment
2022-12-20 15:01:30 -08:00
Daniel Imms
f28c21eb77
Fix link event listener leak
...
The bug here is that _clearCurrentLink was being called only on the
line(s) that changed, but _askForLink was then being triggered
regardless. This caused more onRenderedViewportChange listeners to be
registered and for the thread blocking to get exponentially worse.
Fixes #4341
2022-12-20 14:58:35 -08:00
Daniel Imms
3142460db5
Merge pull request #4335 from jerch/cleanup_buffer
...
Cleanup Buffer.ts
2022-12-19 17:01:26 -08:00
Daniel Imms
b97b1b6093
Merge pull request #4337 from Tyriar/whitespace_bump
...
Make package.json changes to trigger release
2022-12-19 12:55:19 -08:00
Daniel Imms
303db85763
Make package.json changes to trigger release
...
Fixes #4336
2022-12-19 12:55:01 -08:00
Jörg Breitbart
49ec7199e9
remover iterator and stringIndexToBufferIndex from buffer
2022-12-19 19:50:18 +01:00
Daniel Imms
19c760a204
Merge pull request #4333 from xtermjs/revert-4196-ansiheadless
...
Revert "SerializeAsHTML(): Fallback to default ansi colors when running headless terminal"
2022-12-19 10:20:24 -08:00
Daniel Imms
3a81ef54ca
Revert "SerializeAsHTML(): Fallback to default ansi colors when running headless terminal"
2022-12-19 10:10:59 -08:00
Daniel Imms
6cfdcb1b0d
Merge pull request #4332 from Tyriar/r5_1_0
...
v5.1.0
2022-12-19 09:56:50 -08:00
Daniel Imms
30ef1fcaa5
v5.1.0
2022-12-19 09:56:20 -08:00
Daniel Imms
84b8121105
Merge pull request #4288 from jerch/fix_weblinks
...
Fix weblinks
2022-12-19 08:57:15 -08:00
Jörg Breitbart
218cfd256c
Merge branch 'master' into fix_weblinks
2022-12-19 15:59:11 +01:00
Jörg Breitbart
1757f2733c
explicit type for link test data
2022-12-19 15:49:10 +01:00
Jörg Breitbart
9411acbc73
move link tests to demo
2022-12-19 15:33:10 +01:00
Daniel Imms
cb4102cdcb
Merge pull request #4330 from Tyriar/2533
...
Add VT buttons through CSI P
2022-12-19 06:30:11 -08:00
Daniel Imms
1926c9bbbc
Add sequence buttons through CSI P
2022-12-19 06:20:01 -08:00
Daniel Imms
06145c02b1
Add IL vt button
...
Part of #2533
2022-12-19 06:11:34 -08:00
Jörg Breitbart
d65898ffed
Merge branch 'master' into fix_weblinks
2022-12-19 14:19:43 +01:00
Daniel Imms
b5e6066f8c
Merge pull request #4327 from Tyriar/2603
...
Improve IAttributeData jsdoc
2022-12-18 08:51:41 -08:00
Daniel Imms
0981ca8796
Merge pull request #4328 from Tyriar/vscode166909
...
Remove ! to improve safety
2022-12-16 11:16:17 -08:00
Daniel Imms
ffeaa2b976
Remove ! to improve safety
...
See microsoft/vscode#166909
This doesn't necessarily fix that, but it does remove the hacky ! which could
potentially let an error slip past TS.
2022-12-16 11:05:03 -08:00
Daniel Imms
167765f932
Improve IAttributeData jsdoc
...
Fixes #2603
2022-12-16 10:53:21 -08:00
Daniel Imms
bcdbb61ed4
Merge pull request #4326 from Tyriar/166878
...
Fix NPE in webgl renderer
2022-12-16 10:51:52 -08:00
Daniel Imms
ea7571c2b9
Fix NPE in webgl renderer
...
Theory is this can happen when a resize down happens as end will be too big
See microsoft/vscode#166878
2022-12-16 10:42:05 -08:00
Daniel Imms
880b726bcb
Merge pull request #4325 from Tyriar/4056
...
Fix canvas renderer selection not re-rendering sometimes
2022-12-16 09:39:28 -08:00
Daniel Imms
902da2800b
Merge pull request #4324 from Ry0taK/feature/secure-links-by-default
...
Add allowNonHttpProtocols option to ILinkHandler
2022-12-16 09:32:54 -08:00
Daniel Imms
2bd9c4e839
Fix canvas renderer selection not re-rendering sometimes
...
Fixes #4056
2022-12-16 09:28:02 -08:00
RyotaK
b3d36478ca
Properly handle errors from URL constructor
2022-12-16 17:01:00 +00:00
RyotaK
b07c016fea
Adjust the comment
2022-12-16 16:58:55 +00:00
Daniel Imms
0b5625581e
Merge pull request #4284 from JasonXJ/a11y-2
...
Fix a11y issues #4269
2022-12-16 08:57:55 -08:00
RyotaK
e4b473785d
Make comment more clear
2022-12-16 16:54:27 +00:00
RyotaK
cb8d93a1ef
Implement protocol validation
2022-12-16 16:50:57 +00:00
RyotaK
8636d0f820
Add allowNonHttpProtocols to typings
2022-12-17 01:31:11 +09:00
Daniel Imms
f79644bd4c
Merge pull request #4298 from jerch/fix_4295
...
re-eval previous active link
2022-12-16 08:12:19 -08:00
Daniel Imms
917e31ee17
Merge pull request #4322 from Tyriar/4124
...
Explain object option edge case
2022-12-15 17:06:24 -08:00
Daniel Imms
aba59e9386
Explain object option edge case
...
Fixes #4124
2022-12-15 16:41:31 -08:00
Daniel Imms
1c7c4eb62f
Merge pull request #4315 from Tyriar/2757
...
Allow scroll bar interaction in demo in screenReaderMode
2022-12-15 07:58:45 -08:00
Daniel Imms
fc41968131
Allow scroll bar interaction in demo in screenReaderMode
...
Fixes #2757
2022-12-15 07:50:45 -08:00
Daniel Imms
04177de95b
Merge pull request #4313 from Tyriar/4258
...
Support slash and triangle custom glyphs
2022-12-14 13:36:35 -08:00
Daniel Imms
c9c07aeabd
Support slash and triangle custom glyphs
...
This also fixes an issue with padding making glyphs regress
Fixes #4258
2022-12-14 13:15:05 -08:00
Daniel Imms
0cc759e0b1
Merge pull request #4312 from xtermjs/Tyriar-patch-1
...
Point new issue questions at GH discussions
2022-12-14 12:30:33 -08:00
Daniel Imms
852255ea03
Point new issue questions at GH discussions
2022-12-14 12:10:48 -08:00
Daniel Imms
88f459583e
Merge pull request #4311 from Tyriar/vtbuttons
...
Add VT arrow buttons
2022-12-14 09:37:38 -08:00
Daniel Imms
fd8a0690c9
Add VT arrow buttons
...
Part of #2064
2022-12-14 09:28:25 -08:00
Daniel Imms
6e2744a299
Merge pull request #4310 from Tyriar/4309
...
Improve explanation of danger with the linkHandler API
2022-12-14 08:21:55 -08:00
Daniel Imms
15e3b1ac12
Improve explanation of danger with the linkHandler API
...
Fixes #4309
2022-12-14 08:10:52 -08:00
Daniel Imms
5a5ed6d767
Merge pull request #4306 from Tyriar/4161
...
Add combo entries to sgr test for testing multiple sgr
2022-12-11 13:42:47 -08:00
Daniel Imms
74ea0c23ca
Add combo entries to sgr test for testing multiple sgr
2022-12-11 13:11:16 -08:00
Daniel Imms
6d0a287ed9
Merge pull request #4305 from Tyriar/4221
...
Fix line height and letter spacing on canvas renderer
2022-12-11 11:54:57 -08:00
Daniel Imms
83ff4e97c3
Merge pull request #4304 from Tyriar/4259
...
Simplify options API
2022-12-11 11:52:08 -08:00
Daniel Imms
7b28dc4d59
Fix line height and letter spacing on canvas renderer
...
Fixes #4221
2022-12-11 11:47:09 -08:00
Daniel Imms
02d3ef599a
Fix internal usages that needed Required<ITerminalOptions>
2022-12-11 11:42:14 -08:00
Daniel Imms
c118f04187
Sync xterm-headless.d.ts
2022-12-11 11:36:32 -08:00
Daniel Imms
2bd3869547
Use a monospace font in example
2022-12-11 11:33:23 -08:00
Daniel Imms
69379ba59b
Simplify options API
...
Fixes #4259
2022-12-11 11:33:03 -08:00
Daniel Imms
5ed05295ba
Merge pull request #4301 from Tyriar/cleanup_coreservice
...
Avoid passing circular callback into CoreService ctor
2022-12-11 07:44:46 -08:00
Daniel Imms
4ee4a0f988
Merge branch 'master' into cleanup_coreservice
2022-12-11 07:36:01 -08:00
Daniel Imms
d6b8a21219
Avoid passing circular callback into CoreService ctor
2022-12-11 07:35:11 -08:00
Daniel Imms
2e2d275d6c
Merge pull request #4289 from JasonXJ/scroll-options
...
Add option scrollOnUserInput
2022-12-11 07:31:31 -08:00
Daniel Imms
33bba35be7
Merge pull request #4291 from jerch/fix_4223
...
fix demo in epiphany
2022-12-11 07:17:08 -08:00
jerch
c7660fb49c
Merge pull request #4299 from xtermjs/dependabot/npm_and_yarn/express-4.17.3
...
Bump express from 4.17.1 to 4.17.3
2022-12-10 20:50:46 +01:00
dependabot[bot]
6d527c42b0
Bump express from 4.17.1 to 4.17.3
...
Bumps [express](https://github.com/expressjs/express ) from 4.17.1 to 4.17.3.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.17.1...4.17.3 )
---
updated-dependencies:
- dependency-name: express
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-10 17:06:32 +00:00
Jörg Breitbart
440da4a5ff
reeval previous active link, fixes #4295
2022-12-09 16:37:56 +01:00
Jörg Breitbart
e66fd50383
cleanup & more comments
2022-12-09 14:37:31 +01:00
Jörg Breitbart
f69f9decca
allow ~ within urls
2022-12-08 17:50:55 +01:00
Jörg Breitbart
e70138b63c
revert temp changes in linkifier2
2022-12-08 17:46:45 +01:00
Jörg Breitbart
becec91e98
better regexp, fix offset issue in #4294
2022-12-08 17:35:45 +01:00
Jörg Breitbart
03dc1908a5
Merge branch 'master' into fix_weblinks
2022-12-08 15:19:08 +01:00
Jörg Breitbart
d2298d84a0
move safari check to WebglAddon ctor
2022-12-07 23:56:43 +01:00
Jörg Breitbart
0b56b56c06
skipping renderer on NUL and SP
2022-12-07 22:55:45 +01:00
Daniel Imms
6d46b7b86f
Merge pull request #4115 from jerch/buffer_optimizations
...
some buffer handling optimizations
2022-12-07 13:43:40 -08:00
Jörg Breitbart
b829ad8386
Merge branch 'master' into fix_4223
2022-12-07 22:28:00 +01:00
Jörg Breitbart
9bc65c36a6
Merge branch 'master' into buffer_optimizations
2022-12-07 19:45:14 +01:00
Jörg Breitbart
a562f33d53
remove nonsense exp runtime of rescans
2022-12-07 19:43:56 +01:00
Daniel Imms
fe30cd6ed8
Merge pull request #4290 from JasonXJ/alt-space
...
Send corresponding escape code for alt+space and ctrl+alt+space
2022-12-07 06:34:23 -08:00
Jason Lin
9e84895141
polish
2022-12-07 10:12:43 +11:00
Daniel Imms
497df06f3f
Merge pull request #4293 from Tyriar/4292
...
Log a warning if task queues exceed deadline by 20ms
2022-12-06 14:20:37 -08:00
Daniel Imms
650cda31fd
Tweak logging
2022-12-06 14:10:40 -08:00
Daniel Imms
dec3791f4c
Log a warning if task queues exceed deadline by 20ms
...
Fixes #4292
2022-12-06 14:04:10 -08:00
Jörg Breitbart
e46a9e12d0
fix demo in epiphany
2022-12-06 13:40:25 +01:00
Jason Lin
7f64fa9ddd
Send corresponding escape code for alt+space and ctrl+alt+space
...
The previous behavior is that this combinations do nothing.
2022-12-06 15:57:19 +11:00
Jason Lin
73d20c1d3b
Add option scrollOnKeypress
...
Note that we also change the existing behavior a bit:
CoreService.triggerDataEvent() will not scroll to the bottom unless
`wasUserInput` is also true. This actually seems to be the intended
behavior according to the doc just above
ICoreService.triggerDataEvent().
2022-12-06 14:29:18 +11:00
Jörg Breitbart
fd44d76262
api tests for uri and ranges
2022-12-05 22:49:25 +01:00
Jörg Breitbart
309ba47483
change batch size to 500
2022-12-05 20:03:25 +01:00
Jörg Breitbart
4084dc3949
remove _forceMemoryCleanup
2022-12-05 19:10:55 +01:00
Jörg Breitbart
42bacc3283
disabled faulty code in linkifier2
2022-12-05 18:30:25 +01:00
Jörg Breitbart
46bd97247d
disabled faulty code in linkifier2
2022-12-05 18:28:42 +01:00
Jörg Breitbart
3bf72cdefc
DOM renderer fix with much better performance
2022-12-05 15:50:29 +01:00
Jörg Breitbart
de23616589
better line expansion
2022-12-05 13:45:47 +01:00
Jörg Breitbart
39c2e57ad3
hack around DOM renderer issue, fix api tests
2022-12-04 22:26:29 +01:00
Jörg Breitbart
d19361ac85
initial rewrite of addon mechs
2022-12-04 19:53:36 +01:00
Jörg Breitbart
1f5159febe
use IdleTaskQueue & Date.now; some testcases
2022-12-03 16:49:26 +01:00
Jörg Breitbart
3a2ae96960
Merge branch 'master' into buffer_optimizations
2022-12-03 11:24:51 +01:00
Daniel Imms
ad1f2ac2a8
Merge pull request #4287 from xtermjs/dependabot/npm_and_yarn/minimatch-3.1.2
...
Bump minimatch from 3.0.4 to 3.1.2
2022-12-02 09:54:13 -08:00
dependabot[bot]
b972e7f5ad
Bump minimatch from 3.0.4 to 3.1.2
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases )
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-02 17:45:59 +00:00
Daniel Imms
503fe99b0a
Merge pull request #4286 from Tyriar/tyriar/mocha
...
Update mocha
2022-12-02 09:45:34 -08:00
Daniel Imms
953cf005c0
Update mocha
...
This resolves a security alert
2022-12-02 09:35:36 -08:00
Jason Lin
d177acccee
Fix a11y issues #4269
2022-12-02 18:35:09 +11:00
Daniel Imms
4451369c66
Merge pull request #4280 from Tyriar/4278
...
Add custom keymap example to attachCustomKeyEventHandler docs
2022-11-30 07:15:12 -08:00
Daniel Imms
6b09c1b576
Add custom keymap example to attachCustomKeyEventHandler docs
...
Fixes #4278
2022-11-30 07:06:28 -08:00
Daniel Imms
71eb514bd0
Merge pull request #4276 from bugwheels94/bugwheels94-add-dependent-to-readme
...
Added application that uses xterm.js
2022-11-28 13:04:48 -08:00
Ankit
cd552500fc
Update README.md
2022-11-29 02:23:56 +05:30
Daniel Imms
ed1773c103
Merge pull request #4274 from JasonXJ/cap-atlas-pages
...
Cap webgl maxAtlasPages to 32
2022-11-26 07:24:47 -08:00
Jason Lin
b7c119a071
Cap webgl maxAtlasPages to 32
2022-11-24 17:51:58 +11:00
Daniel Imms
452241ca92
Merge pull request #4271 from jeanp413/fix-vscode-166158
...
Fixes disappearance of characters in webgl renderer
2022-11-23 09:36:15 -08:00
Daniel Imms
1880399849
dirtyId -> version
2022-11-23 08:51:06 -08:00
Jean Pierre
d4ee0309d9
Fixes https://github.com/microsoft/vscode/issues/166158
2022-11-22 00:07:23 -05:00
Daniel Imms
a351f5758a
Merge pull request #4255 from Tyriar/safari16
...
Enable the webgl renderer on safari 16 and above
2022-11-08 12:30:23 -08:00
Daniel Imms
3597d43788
Enable the webgl renderer on safari 16 and above
...
This does not fix the issue where webkit browsers cannot use it, I looked
at webkit versions in safari and was a bit confused. The wikipedia page
for safari shows v15 having webkit v612+ but I have safari v16 and it's
webkit v605, so trying to detect it based on webkit version is a risky
change.
Note that webgl2 shipped in safari 15, but it didn't work in webgl until
safari 16.
Fixes #3357
Related #3575
Related microsoft/vscode#165416
2022-11-08 12:23:20 -08:00
Daniel Imms
f381783bd5
Merge pull request #4196 from silamon/ansiheadless
...
SerializeAsHTML(): Fallback to default ansi colors when running headless terminal
2022-11-04 08:15:59 -07:00
Daniel Imms
6969a94fe4
Merge branch 'master' into ansiheadless
2022-11-04 08:08:43 -07:00
Daniel Imms
2377472eca
Merge pull request #4216 from JasonXJ/fix-csi-0-m
...
'CSI 0 m' should clear the extended attribute
2022-11-03 19:58:18 -07:00
Daniel Imms
0edabed595
Merge pull request #4240 from Tyriar/4222_shims
...
Remove promise and fetch shims and use await for fetch
2022-11-03 19:56:25 -07:00
Daniel Imms
7d98375ce4
Merge pull request #4254 from Tyriar/clear_green
...
Clear custom glyph test button sgr
2022-11-03 06:56:23 -07:00
Daniel Imms
862e83d7be
Merge pull request #4252 from Tyriar/4243_merge
...
Continually merge texture atlas pages
2022-11-03 06:48:55 -07:00
Daniel Imms
7cf9b68e2c
Clear custom glyph test button sgr
2022-11-03 06:48:33 -07:00
Daniel Imms
97a0df260b
Remove unused event
2022-11-03 05:44:50 -07:00
Daniel Imms
c66dc82286
Merge pull request #4251 from Tyriar/4250
...
Add 1024 character limit to web links addon
2022-11-02 06:56:22 -07:00
Daniel Imms
6c29864847
Add 1024 character limit to web links addon
...
Fixes #4250
2022-11-02 06:45:25 -07:00
Daniel Imms
d82da195f3
Remove atlas pages from demo when they're merged
2022-11-02 06:02:53 -07:00
Daniel Imms
abfe391d91
Add CJK with random SGR test button
...
This is good as a stress test for the renderer
2022-11-02 05:46:40 -07:00
Daniel Imms
c22e684904
Fix exception when last 4 smallest pages are merged
2022-11-02 05:40:13 -07:00
Daniel Imms
6406fd79c1
Enforce a maximum page merge amount
2022-11-02 05:28:47 -07:00
Daniel Imms
0271fdf49d
Merge 4 largest pages
2022-11-02 04:49:02 -07:00
Daniel Imms
805b41b80f
Keep merging default texture size pages
2022-11-01 10:26:48 -07:00
Daniel Imms
c9bacc80d7
Merge when max atlas pages is reached
2022-11-01 10:08:00 -07:00
Daniel Imms
54ee698ba6
Basic merging working
...
Part of #4243
2022-11-01 09:07:38 -07:00
Daniel Imms
295e3c7f0c
Merge pull request #4249 from Tyriar/4241_fill
...
Remove fill polyfill
2022-10-31 12:34:17 -07:00
Daniel Imms
d219da480c
Remove fill polyfill
...
Fixes #4241
2022-10-31 12:24:59 -07:00
Daniel Imms
02fa38c334
Merge pull request #4244 from Tyriar/multi_page_atlas
...
Support multiple texture atlas pages
2022-10-30 18:30:11 -07:00
Daniel Imms
4d05905736
Polish
2022-10-30 18:11:24 -07:00
Jason Lin
81a3c80bc4
polish
2022-10-31 11:07:42 +11:00
Jason Lin
f6fabebf8d
polish
2022-10-31 11:07:42 +11:00
Jason Lin
b735e7f1c4
polish
2022-10-31 11:07:42 +11:00
Jason Lin
839271096e
Don't reset the url
2022-10-31 11:07:42 +11:00
Jason Lin
6a087e9896
'CSI 0 m' should clear the extended attribute
...
This change also removes `_currentLinkId` from `InputHandler` and uses
`_curAttrData.extended.urlId` directly so that we don't need to worry
about keep them in sync any more.
2022-10-31 11:07:42 +11:00
Daniel Imms
dda3f5f545
Properly dispose of atlas event
2022-10-30 15:00:27 -07:00
Daniel Imms
04041d030f
Generate bitmaps for all atlas pages
2022-10-30 14:56:27 -07:00
Daniel Imms
095ceda639
Show canvas atlas pages in demo
2022-10-30 14:53:01 -07:00
Daniel Imms
0aa9fc5bb8
Add border around atlas pages
2022-10-30 12:00:55 -07:00
Daniel Imms
e092ca70e1
Simplify page reuse/creation
2022-10-30 10:33:38 -07:00
Daniel Imms
0592837620
Fill pages to capacity
2022-10-30 10:21:17 -07:00
Daniel Imms
fc03a1698b
Share page creation code
2022-10-30 10:16:48 -07:00
Daniel Imms
c9ef4a8eb9
Increase texture size as it nears the maximum texture unit
...
#4243 would be a better, but more complicated, solution to this
2022-10-30 09:20:17 -07:00
Daniel Imms
846573bb01
Support up to maximum texture units (eg. 16 on my machine)
2022-10-30 03:16:29 -07:00
Daniel Imms
0f70055d76
Add CJK test button
2022-10-30 03:04:58 -07:00
Daniel Imms
3f2ed42e73
Fix glyphs getting clipped on bottom row
2022-10-29 20:57:42 -07:00
Daniel Imms
2a3c2d9520
Make better use of atlas space
2022-10-29 20:33:27 -07:00
Daniel Imms
5e95475d6b
Use current row when filling in old atlas pages
2022-10-29 19:50:44 -07:00
Daniel Imms
57a65e0858
Continute filling atlas page after new pages are added
2022-10-29 19:44:12 -07:00
Daniel Imms
bfa9dd5060
Clean up
2022-10-29 18:09:18 -07:00
Daniel Imms
04f79aa7b4
Share page texture binding code
2022-10-29 14:33:50 -07:00
Daniel Imms
86ccd709bf
Avoid setting uniforms every frame
2022-10-29 14:26:51 -07:00
Daniel Imms
c257a7247e
Only upload textures that change
2022-10-29 13:27:33 -07:00
Daniel Imms
0a49a5dde1
Make texture atlas presentation nicer for multiple pages
2022-10-29 13:01:41 -07:00
Daniel Imms
c6e3cc007c
Stop atlas flickering on demo
2022-10-29 12:49:11 -07:00
Daniel Imms
713baeb64d
Base atlas page size on device pixel ratio
2022-10-29 12:45:20 -07:00
Daniel Imms
efba2c9040
Get pages working, add to demo
2022-10-28 19:30:42 -07:00
Daniel Imms
67ef455515
Get a second page kind of working
2022-10-28 19:20:26 -07:00
Daniel Imms
975d52fab9
Remove deprecated prop
2022-10-28 19:12:01 -07:00
Daniel Imms
6b37187b4d
Create AtlasPage
2022-10-28 19:08:33 -07:00
Daniel Imms
84ab6a49c4
Bring texturePage partially to atlas
2022-10-28 18:56:49 -07:00
Daniel Imms
4ebc75aae0
Merge remote-tracking branch 'upstream/master' into multi_page_atlas
2022-10-28 18:42:46 -07:00
Daniel Imms
54335ef54a
Create texture page attribute
2022-10-28 18:16:55 -07:00
Daniel Imms
43d8db77f9
Merge pull request #4239 from Tyriar/4224_mcr_canvas_ydisp
...
Correctly offset mcr check on canvas renderer
2022-10-28 14:10:25 -07:00
Daniel Imms
5a4a46f130
Remove promise and fetch shims and use await for fetch
...
Fixes #4222
2022-10-28 14:09:39 -07:00
Daniel Imms
b0672aac09
Correctly offset mcr check on canvas renderer
...
Fixes #4224
2022-10-28 14:02:58 -07:00
Daniel Imms
fcf378b172
Merge pull request #4237 from Tyriar/italic_bounds
...
Fix clipping of italic emoji
2022-10-28 09:12:07 -07:00
Daniel Imms
25551a4b98
Merge pull request #4236 from Tyriar/console_image
...
Add console.image helper
2022-10-28 09:04:37 -07:00
Daniel Imms
67b3faef01
Use bbox padding and width consistently
2022-10-28 09:01:22 -07:00
Daniel Imms
8b545a3fe4
Fix bbox right scan start offset
...
This causes particularly wide glyphs like italic emoji to get clipped
even if they're within the allowed padding.
Fixes #4229
2022-10-28 08:57:41 -07:00
Daniel Imms
4f4ce0146d
Add console.image helper
...
This is useful for printing canvases that aren't attached to the DOM
2022-10-28 08:54:57 -07:00
Daniel Imms
e7b347a2ef
Merge pull request #4235 from Tyriar/opt_server_buffer
...
Avoid GC pressure from server data buffer
2022-10-27 22:41:07 -07:00
Daniel Imms
7908b7cf62
Avoid GC pressure from server data buffer
2022-10-27 22:30:46 -07:00
Daniel Imms
392f8e9c98
Merge pull request #4234 from Tyriar/slow_isFocused
...
Cache ICoreBrowserService.isFocused per task
2022-10-27 17:00:18 -07:00
Daniel Imms
b5cd4f1492
Cache ICoreBrowserService.isFocused per task
...
This is called for every selected cell when rendering which ends up
consuming a bunch of CPU due to the DOM calls.
2022-10-27 16:50:45 -07:00
Daniel Imms
4edfc12cbf
Merge pull request #4233 from Tyriar/4113_resize
...
Fix resize in demo
2022-10-27 14:03:17 -07:00
Daniel Imms
19c1ee56d3
Fix resize in demo
...
A double resize could happen due to the mismatch in canvas vs device
pixel widths
Fixes #4113
2022-10-27 13:55:24 -07:00
Daniel Imms
a4f8b07a7f
Merge pull request #4226 from Tyriar/dropped_frames
...
Fix dropped frame issue
2022-10-21 13:10:30 -07:00
Daniel Imms
8d4d5bd54b
Fix dropped frame issue
...
This ensures decorations are refreshed in the same frame when called from
an animation frame callback
Fixes #4225
2022-10-21 13:02:24 -07:00
Daniel Imms
d5710afcb3
Merge pull request #4219 from Tyriar/4218_safari_bitmap
...
Disable canvas ImageBitmap optimization on Safari
2022-10-19 10:58:43 -07:00
Daniel Imms
8bd8195e30
Disable canvas ImageBitmap optimization on Safari
...
Fixes #4218
2022-10-19 10:03:01 -07:00
Daniel Imms
ffe066dfef
Merge pull request #4217 from Nokel81/fix-dom-renderering-jsdom-v2
...
Change clearing innerText to using replaceChildren to fix testing using jsdom
2022-10-19 07:21:30 -07:00
Sebastian Malton
11e90591f9
Change clearing innerText to using replaceChildren to fix testing using jsdom
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-10-19 10:09:12 -04:00
Megan Rogge
0b84d17b18
revert decoration dispose changes ( #4215 )
2022-10-18 21:32:22 +00:00
Daniel Imms
376f0d9972
Merge pull request #4211 from hackermondev/patch-1
...
replit branding change
2022-10-17 07:45:06 -07:00
hackermon
478535d236
replit branding change
2022-10-17 09:49:54 -04:00
Daniel Imms
3f12d2925a
Merge pull request #4208 from Tyriar/todo_attach_socket
...
Warn/throw on unexpected attach addon socket state
2022-10-17 03:48:31 -07:00
Daniel Imms
8e65ee8832
Merge pull request #4210 from Tyriar/todo_type_tabs
...
Fix a bunch of TODOs
2022-10-16 07:15:19 -07:00
Daniel Imms
a7f0c3868c
Merge pull request #4209 from Tyriar/todo_onData_event_test
...
Re-enable onData event test
2022-10-16 07:08:59 -07:00
Daniel Imms
96486c414b
Acquire char size service better in webgl renderer
2022-10-16 07:04:34 -07:00
Daniel Imms
b560d85553
Remove unneeded params as link provider is stable
2022-10-16 07:04:24 -07:00
Daniel Imms
7796b4101a
Type Buffer.tabs
2022-10-16 06:58:20 -07:00
Daniel Imms
a982484392
Re-enable onData event test
2022-10-16 06:55:04 -07:00
Daniel Imms
e15c6b9f3e
Warn/throw on unexpected attach addon socket state
2022-10-16 06:49:27 -07:00
Daniel Imms
807183bba6
Merge pull request #4207 from Tyriar/3925_dimensions
...
Improve names of IRenderDimensions interface members
2022-10-16 06:41:37 -07:00
Daniel Imms
dc19628014
Fix width -> height
2022-10-16 06:34:12 -07:00
Daniel Imms
ca68a5c59a
Fix typo in test
2022-10-15 20:13:24 -07:00
Daniel Imms
22e8a2f8e7
Remove old dimension properties
2022-10-15 18:07:05 -07:00
Daniel Imms
171ba446bd
Update other files
2022-10-15 15:32:02 -07:00
Daniel Imms
89e0b87eac
Move to device/css in domrenderer
2022-10-15 14:22:04 -07:00
Daniel Imms
2c9e711cae
Move all other refs in webgl over
2022-10-15 13:55:36 -07:00
Daniel Imms
b0f1c38fd2
Move all other refs in canvas over
2022-10-15 13:44:52 -07:00
Daniel Imms
b393008b54
Use new render dimensions in canvasrenderer
2022-10-15 13:19:04 -07:00
Daniel Imms
65f41a151e
Use new render dimensions in webglrenderer
2022-10-15 13:15:12 -07:00
Daniel Imms
ddc4e75583
Add new dimensions properties, helper creation function
...
Part of #3925
2022-10-15 10:31:43 -07:00
Daniel Imms
869ce3aa35
Merge pull request #4194 from silamon/fixmissingline
...
Capture data between terminal creation and connected to terminal in demo
2022-10-15 10:17:51 -07:00
Daniel Imms
16ea621a5f
Merge pull request #4206 from Tyriar/eslint-jsdoc
...
Add eslint-plugin-jsdoc with minimal comment rules
2022-10-15 08:55:07 -07:00
Daniel Imms
5204374494
Add no-multi-asterisks rule
2022-10-15 08:43:06 -07:00
Daniel Imms
9f1a71485c
Fix invalid jsdoc tags
2022-10-15 08:41:49 -07:00
Daniel Imms
49e0480f78
Add rule jsdoc/check-alignment
2022-10-15 08:39:32 -07:00
Daniel Imms
114924f3fa
Add eslint-plugin-jsdoc and enable check-param-names
2022-10-15 08:38:14 -07:00
Daniel Imms
aeba140c75
Merge pull request #4204 from silamon/proposedApiCheck
...
Remove check proposed api checks
2022-10-15 08:04:12 -07:00
Daniel Imms
aea7680f76
Merge pull request #4205 from Tyriar/triangle_strip
...
Draw quads with triangle strip
2022-10-15 08:02:07 -07:00
Daniel Imms
fb4a4e6127
Draw quads with triangle strip
...
This reduces the number of needed vertices from 6 to 4, it may not have a
noticeable performance impact but it's less data and simpler
2022-10-15 07:54:31 -07:00
Simon Lamon
cc82f605fe
delete clean up
2022-10-15 10:47:59 +00:00
Simon Lamon
a055948937
unsentOutput instead of logs and dispose temporary listener
2022-10-15 10:45:23 +00:00
Simon Lamon
8246440795
Merge branch 'master' into fixmissingline
2022-10-15 10:11:40 +00:00
Simon Lamon
073aa6d439
Fix test "Proposed API check"
2022-10-15 10:25:39 +02:00
Simon Lamon
6bbe5a82a8
Remove check proposed api checks
2022-10-15 07:28:21 +00:00
Daniel Imms
1e6dfec4ae
Merge pull request #4201 from Tyriar/4197_2
...
Remove clipImageData completely
2022-10-13 06:34:37 -07:00
Daniel Imms
5285b9ac45
Merge branch 'master' into 4197_2
2022-10-13 06:25:59 -07:00
Daniel Imms
50d1834871
Remove clipImageData completely
...
putImageData works a little differently to drawImage which confused me
for a bit, you need to offset the destination as putImageData draws the
'dirty' parts of the texture using the same source image dimensions
Fixes #4197
2022-10-13 06:25:13 -07:00
Daniel Imms
b1f785879b
Merge pull request #4200 from Tyriar/4197
...
Optimize _clipImageData
2022-10-12 10:24:28 -07:00
Daniel Imms
28fcffe46c
Optimize _clipImageData
...
This makes clip image data around twice as fast, it's a little tricky to
measure it though. Changes:
- Work on Uint32Array instead of Uint8 so it's 1 assignment per pixel
instead of 1 per channel.
- Perform the clipping in-place using the original image data to avoid
allocation a new buffer.
Fixes #4197
2022-10-12 10:16:26 -07:00
Jörg Breitbart
14b99dca76
Merge branch 'master' into buffer_optimizations
2022-10-09 21:41:06 +02:00
Daniel Imms
1b13127f0b
Merge pull request #4195 from Tyriar/4190
...
Create onSpecificOptionChange and onMultipleOptionChange helpers
2022-10-09 11:04:59 -07:00
Daniel Imms
a37ea14d10
Use options service in renderers
2022-10-09 10:57:49 -07:00
Simon Lamon
f8a5d3a91e
Fallback to default_ansi_colors when running headless terminal
2022-10-09 17:16:06 +00:00
Daniel Imms
8d7137417b
Split renderer safe vs unsafe api on activate
2022-10-09 10:12:19 -07:00
Daniel Imms
e47296c1b9
Use options service directly in renderers
2022-10-09 09:28:18 -07:00
Daniel Imms
96b26b2e4a
Merge pull request #4193 from silamon/fixdemoagain
...
Fix demo again
2022-10-09 09:23:07 -07:00
Daniel Imms
8ac88bc6bf
Move Terminal option updates into owning components
2022-10-09 09:07:01 -07:00
Daniel Imms
7eead44048
Add onMultipleOptionChange
2022-10-09 08:14:56 -07:00
Daniel Imms
49a0904857
Move onSpecificOptionChange adoption
2022-10-09 08:07:43 -07:00
Simon Lamon
a4c62792df
revert formatting changes
2022-10-09 15:03:54 +00:00
Simon Lamon
1c345bef48
Handle onWillFire if it fails, so it loads dom renderer
2022-10-09 15:01:15 +00:00
Daniel Imms
415100e8b8
Adopt onSpecificOptionChange
2022-10-09 07:46:10 -07:00
Simon Lamon
627410a537
Add broken demo to investigate
2022-10-09 14:26:08 +00:00
Daniel Imms
cad9c4164c
onOptionChange/onSpecificOptionChange tests
2022-10-09 07:16:56 -07:00
Daniel Imms
a87b6c3f2e
Implement IOptionsService.onSpecificOptionChange
...
Part of #4190
2022-10-09 07:09:35 -07:00
Daniel Imms
a2a855d747
Merge pull request #4192 from silamon/ubuntudeprecation
...
Switch to Ubuntu 20.04
2022-10-09 06:25:11 -07:00
Simon Lamon
fb91b01217
Adds logs again in server.js
2022-10-09 12:16:26 +00:00
Simon Lamon
bd661fdb07
Fix demo again
2022-10-09 11:29:33 +00:00
Simon Lamon
f983b3cac1
Ubuntu 18.04 deprecation
2022-10-09 10:15:13 +00:00
Daniel Imms
0ba12301a6
Merge pull request #4188 from Tyriar/4184
...
Create theme service
2022-10-08 15:51:44 -07:00
Daniel Imms
97e084aa50
Remove document from test
2022-10-08 15:44:21 -07:00
Daniel Imms
e0fb3b4d19
Remove ColorManager
2022-10-08 15:23:29 -07:00
Daniel Imms
a1050d1a11
Merge ColorManager into ThemeService
2022-10-08 15:20:15 -07:00
Daniel Imms
7f9e3b1225
Remove resolved todo
2022-10-08 14:09:00 -07:00
Daniel Imms
48f15cb543
Remove remaining setColors methods
2022-10-08 14:07:28 -07:00
Daniel Imms
6e35bcd767
Use theme service in more places
2022-10-08 13:55:23 -07:00
Daniel Imms
80e474c6ad
Viewport listen to theme service
2022-10-08 13:31:31 -07:00
Daniel Imms
4dee0c5d4b
Build out theme service more
2022-10-08 12:15:21 -07:00
Daniel Imms
a22ad76bd8
Merge pull request #4189 from Tyriar/ensure_canvas_changed
...
Ensure stale bitmap is not used when drawing new characters
2022-10-08 12:04:27 -07:00
Daniel Imms
4f5154fd21
Ensure stale bitmap is not used when drawing new characters
...
This would cause a problem where the first time a glyph is used it would
not be visible because it was using the old invalidated bitmap.
2022-10-08 11:56:29 -07:00
Daniel Imms
cc6def57e4
Use readonly color set in canvas addon
2022-10-08 11:46:41 -07:00
Daniel Imms
c4750eaf77
Create basic theme service
...
Part of #4184
2022-10-08 11:43:19 -07:00
Daniel Imms
8db2244f5d
Merge pull request #4187 from Tyriar/4183_on_naming
...
Lint rule for on=event emitter and rename all methods with on prefix to handle
2022-10-08 11:14:15 -07:00
Daniel Imms
5d8e4a0af4
Add lint rule to ensure _on prefix is only for event emitters
2022-10-08 11:05:52 -07:00
Daniel Imms
eecf52e949
Add lint rule to ensure on prefix is only for event emitters
...
Fixes #4183
2022-10-08 10:57:31 -07:00
Daniel Imms
d8c31d7ad0
Merge pull request #4185 from Tyriar/4167_register_emitter
...
Fix a bunch of memory retention problems
2022-10-08 10:35:04 -07:00
Daniel Imms
d8cf3af555
Fix Marker.dispose
2022-10-08 10:23:19 -07:00
Daniel Imms
d3976c05f1
Fix marker dispose unit tests
2022-10-08 09:27:58 -07:00
Daniel Imms
94c3d11239
Fix compile
2022-10-08 09:11:28 -07:00
Daniel Imms
00f6d3a88c
Register all event emitters, make some services disposable
2022-10-08 09:00:14 -07:00
Daniel Imms
f61d8c91a3
Properly register disposables in SearchAddon
2022-10-08 08:30:39 -07:00
Daniel Imms
ac659cb412
Prevent overriding of Disposable.dispose
...
A common mistake made was overriding dispose and not calling super.dispose,
so a TS trick is now used to move it to a readonly property instead of a
member method which prevents it being overridden.
2022-10-08 08:27:10 -07:00
Daniel Imms
34475f24c3
Release canvas texture atlas
2022-10-08 08:11:28 -07:00
Daniel Imms
8116e035b4
Register webgl renderers
2022-10-08 08:06:43 -07:00
Daniel Imms
56b37a73ac
Free WebglAddon
2022-10-08 07:37:55 -07:00
Daniel Imms
fc8043a25a
Ensure webgl texture atlas is released on dispose
2022-10-08 07:32:51 -07:00
Daniel Imms
f88c0e7480
Polish emitter registering in canvas renderer
...
Part of #4167
2022-10-08 07:24:35 -07:00
Daniel Imms
d948b31304
Merge pull request #4181 from Tyriar/clear_race
...
Fix race condition that could when clearing atlas on 2+ terminals
2022-10-07 16:34:27 -07:00
Daniel Imms
9a4d5dbe26
Merge pull request #4182 from Tyriar/delete_canvas_atlas
...
Remove the canvas char atlas
2022-10-07 16:32:51 -07:00
Daniel Imms
8e7093f03b
Remove the canvas char atlas
...
This was unused and removing from cache was broken apparently
2022-10-07 16:20:01 -07:00
Daniel Imms and Megan Rogge
c4eef2f470
Fix race condition that could when clearing atlas on 2+ terminals
...
This is the proper fix for microsoft/vscode#162996 , after a bunch of
investigation we found that this is causing the problem:
VS Code clears the texture atlas on OS resume to fix an issue where the texture
could be corrupted. This calls clearTextureAtlas twice which should be fine, but
it's not because inside WebglRenderer.clear we're calling updateModel which is
meant to only ever be called in an animation frame. This calls potentially both
renderers to have stale views of the texture atlas for those rows and our perf
caching of cells (the main purpose of the model) doesn't know it's stale.
Co-Authored-By: Megan Rogge <merogge@microsoft.com >
2022-10-07 16:17:11 -07:00
Daniel Imms
5fcb084089
Merge pull request #4180 from Tyriar/clear_atlas
...
Fix clearTextureAtlas call as implemented on IRenderer
2022-10-07 14:31:28 -07:00
Daniel Imms
e89c507d06
Fix clearTextureAtlas call as implemented on IRenderer
...
This is the root cause of microsoft/vscode#162996
2022-10-07 14:22:51 -07:00
Daniel Imms
eb3de3ebd5
Merge pull request #4151 from Tyriar/renderer_before_open
...
Allow renderer to be set before Terminal.open is called
2022-10-07 10:17:54 -07:00
Daniel Imms
ffa4d921bb
Merge remote-tracking branch 'upstream/master' into renderer_before_open
2022-10-07 10:10:24 -07:00
Daniel Imms
a060c64a08
Merge pull request #4179 from Tyriar/4178
...
Split Utf8ToUtf32 decoder unit tests up
2022-10-06 10:38:03 -07:00
Daniel Imms
0d5a526e86
Split Utf8ToUtf32 decoder unit tests up
...
Fixes #4178
2022-10-06 10:28:54 -07:00
Daniel Imms
3ec08948ec
Merge pull request #4177 from Tyriar/tyriar/revert_events
...
Revert "Merge pull request #4166 from Tyriar/event_with_emitter"
2022-10-06 09:59:50 -07:00
Daniel Imms
4d97729010
Revert "Merge pull request #4166 from Tyriar/event_with_emitter"
...
This reverts commit d22f7c9edd , reversing
changes made to 1f8e6f0952 .
2022-10-06 09:48:54 -07:00
Daniel Imms
5f1651ffbc
Merge pull request #4176 from xtermjs/Tyriar-patch-1
...
Bump copyright year
2022-10-06 09:15:02 -07:00
Daniel Imms
ab0082b73a
Bump copyright year
2022-10-06 09:14:50 -07:00
Daniel Imms
aa55d1bde6
Merge pull request #4170 from Tyriar/shared_cache
...
Share texture atlas cache code between webgl and canvas renderers
2022-10-05 10:19:17 -07:00
Daniel Imms
e0324e32a8
Bring back ImageBitmap optimization in canvas renderer
...
It's more simple than it used to be, it will clear and debounce all
glyphs when any change is made.
2022-10-04 15:24:10 -07:00
Daniel Imms
3b260a2193
Fix resolved todo
2022-10-04 14:46:00 -07:00
Daniel Imms
622acaaad7
Remove old selection start/end values
2022-10-04 14:45:19 -07:00
Daniel Imms
0d7e18d236
Add CellColorResolver to share load color code
2022-10-04 14:41:27 -07:00
Daniel Imms
83c09c34db
Share selection render model code
2022-10-04 14:23:09 -07:00
Daniel Imms
03e3105c55
Fix fg/bg overrides in canvas
2022-10-04 14:10:27 -07:00
Daniel Imms
c5d015c908
Merge branch 'master' into shared_cache
2022-10-04 13:54:14 -07:00
Daniel Imms
e1e8f28d97
Merge pull request #4118 from coderaiser/feature/lint-by-putout
...
Lint using 🐊 Putout: part 7
2022-10-04 10:45:24 -07:00
Daniel Imms
f6a61acc86
Merge branch 'master' into feature/lint-by-putout
2022-10-04 09:52:10 -07:00
Daniel Imms
6316eee672
Comment out debug log
2022-10-02 21:32:24 -07:00
Daniel Imms
9259ec258f
Fix combined chars in canvas
2022-10-02 14:27:43 -07:00
Daniel Imms
c741c13409
Add ps to output string
2022-10-02 14:25:08 -07:00
Daniel Imms
f2ff3a6a7a
Add sgr attr test
2022-10-02 14:21:06 -07:00
Daniel Imms
dbef850039
Hook up attributes to new texture atlas
2022-10-02 13:57:35 -07:00
Daniel Imms
590a8219e3
Merge remote-tracking branch 'upstream/master' into shared_cache
2022-10-02 13:42:44 -07:00
Daniel Imms
d22f7c9edd
Merge pull request #4166 from Tyriar/event_with_emitter
...
Create new event with emitter object to simplify code
2022-10-02 13:41:37 -07:00
Daniel Imms
c2bf87ee34
Initial working shared atlas
2022-10-02 11:38:46 -07:00
Daniel Imms
0bc5ca8f80
Fix imports
2022-10-02 11:08:06 -07:00
Daniel Imms
5b785d29a1
Expose _listeners for debug/test
2022-10-02 09:09:05 -07:00
Daniel Imms
f38a49b4d5
Move remaining webgl atlas to shared
2022-10-02 08:48:55 -07:00
Daniel Imms
26c974f9b6
Shuffle some utils
2022-10-02 08:37:13 -07:00
Daniel Imms
333b0e28ac
Add ITextureAtlas and use that instead of WebglCharAtlas
2022-10-02 07:48:43 -07:00
Daniel Imms
0bc71156bf
Merge remote-tracking branch 'upstream/master' into shared_cache
2022-10-02 07:26:23 -07:00
Daniel Imms
dece3cc41c
DynamicCharAtlas -> CanvasCharAtlas
2022-10-02 07:20:55 -07:00
Daniel Imms
8752c4fa8e
Remove canvas char atlas base class
2022-10-02 07:19:57 -07:00
Daniel Imms
53d0297898
Lint client.ts
2022-10-02 07:15:12 -07:00
Daniel Imms
af6f03600f
Show canvas texture atlas on demo
2022-10-02 07:10:37 -07:00
Daniel Imms
1f8e6f0952
Merge pull request #4169 from Tyriar/canvas_freq
...
Add willReadFrequently to canvas renderer too
2022-10-01 21:46:13 -07:00
Daniel Imms
f087bd121e
Add willReadFrequently to canvas renderer too
2022-10-01 21:38:01 -07:00
Daniel Imms
d669c6e9d6
Fix remaining references
2022-10-01 18:03:43 -07:00
Daniel Imms
c5f9eacbb1
Move other render parts to shared folder
2022-10-01 17:41:16 -07:00
Daniel Imms
6fcc496547
Move cache utils to core shared/ folder
...
Part of #4065
2022-10-01 17:36:16 -07:00
Daniel Imms
5dee66353a
Merge pull request #4168 from Tyriar/4128
...
Ensure texture atlas comparison uses rgba not object
2022-10-01 10:30:17 -07:00
Daniel Imms
2a602ef231
Ensure texture atlas comparison uses rgba not object
...
Fixes #4128
2022-10-01 10:20:37 -07:00
Daniel Imms
e3e3c347ea
Merge pull request #4160 from jerch/tweak_serverside_buffering
...
tweak buffering in server.js
2022-10-01 09:59:01 -07:00
Daniel Imms
2e8b793ba0
Format files
2022-10-01 08:56:56 -07:00
Daniel Imms
03fcf60aaf
Docs
2022-10-01 08:55:01 -07:00
Daniel Imms
ed15a8e170
Create new event with emitter object to simplify code
2022-10-01 08:45:40 -07:00
Daniel Imms
969db2bcf9
Merge pull request #4163 from Tyriar/4147
...
Inline dirty row service into input handler
2022-10-01 08:28:29 -07:00
Daniel Imms
8e378c07e9
Merge pull request #4165 from Tyriar/4164
...
Define all events and emitters consistently
2022-10-01 08:28:18 -07:00
Daniel Imms
1a22c44f2b
Make all emitters readonly
2022-10-01 08:02:32 -07:00
Daniel Imms
cf9949840b
Use readonly over getter for exposing events
...
Fixes #4164
2022-10-01 07:52:26 -07:00
Daniel Imms
3a90f7e7c0
Inline dirty row service into input handler
...
Fixes #4147
2022-10-01 07:39:02 -07:00
Daniel Imms
035025dba3
Merge pull request #4162 from Tyriar/w_refactor
...
Move w objects to $ prefix variables
2022-10-01 07:33:45 -07:00
Daniel Imms
52ed65d7bd
Move w objects to $ prefix variables
...
Fixes #4138
2022-10-01 07:26:07 -07:00
Jörg Breitbart
150499b7e5
comment fix
2022-09-29 10:46:25 +02:00
Jörg Breitbart
193d305dcd
revert timeout to 5ms, remove log in server.js
2022-09-29 10:36:08 +02:00
Jörg Breitbart
2236e230fc
Merge branch 'master' into tweak_serverside_buffering
2022-09-28 20:06:01 +02:00
Jörg Breitbart
cd6f370c28
unbuffered delivery for userInput response only
2022-09-28 20:03:55 +02:00
Daniel Imms
2659de2291
Merge pull request #4159 from Tyriar/4158
...
Use microtask to flush the write buffer after input
2022-09-28 10:46:15 -07:00
Daniel Imms
34df17e36d
Call innerWrite immediately over a microtask
2022-09-28 09:51:28 -07:00
Daniel Imms
44388e5e6c
Use microtask to flush the write buffer after input
...
Fixes #4158
2022-09-28 09:06:07 -07:00
Jörg Breitbart
785b932d75
lazy cleanup on buffer
2022-09-28 15:57:58 +02:00
Jörg Breitbart
e58f73dc82
Merge branch 'master' into buffer_optimizations
2022-09-28 13:22:16 +02:00
Jörg Breitbart
7bba07e24e
rename fourByteCells to uint32Cells
2022-09-28 13:18:31 +02:00
Jörg Breitbart
39eea8ed88
remove useless condition
2022-09-28 13:15:34 +02:00
Jörg Breitbart
20c1f1a5f7
fix resize edge cases: always report cleanup state
2022-09-28 12:14:09 +02:00
Jörg Breitbart
e87f70d6d6
removed EMPTY_DATA branch
2022-09-28 11:55:26 +02:00
Daniel Imms
51c580e7a4
Merge pull request #4157 from Tyriar/4156
...
Fix trusted types in dom renderer
2022-09-27 13:15:25 -07:00
Daniel Imms
23328a394b
Fix trusted types in dom renderer
...
Fixes #4156
2022-09-27 13:01:36 -07:00
Daniel Imms
399621eeb5
Merge pull request #4154 from Tyriar/qmt
...
Remove queuemicrotask polyfill
2022-09-27 07:41:57 -07:00
Daniel Imms
66675ef649
Merge pull request #4153 from Tyriar/microtask_fix
...
Fix repetitive microtask problem
2022-09-27 06:57:00 -07:00
Daniel Imms
c6df208a3e
Merge pull request #4155 from Tyriar/fix_priority_queue
...
Fix priority task queue and idle callback fallback
2022-09-27 06:56:52 -07:00
Daniel Imms
8201925fe8
Fix priority task queue and idle callback fallback
...
Mistake of not hooking up the abstract methods, this should throw on
Safari for example.
2022-09-27 06:46:19 -07:00
Daniel Imms
d74e43a42a
Remove queuemicrotask polyfill
...
Support seems good
2022-09-27 06:44:18 -07:00
Daniel Imms
25b69e5ed0
Fix repetitive microtask problem
...
See #4145
2022-09-27 06:43:07 -07:00
Daniel Imms
37c722d556
Merge pull request #4152 from dstein64/master
...
Move real-world uses section down
2022-09-26 08:27:21 -07:00
Daniel Steinberg
2b597a82a1
Move real-world uses section down
2022-09-26 11:19:44 -04:00
Daniel Imms
318abe641b
Merge pull request #4145 from Tyriar/microtask_server
...
Optimize critical I/O path for input latency
2022-09-25 09:39:02 -07:00
Daniel Imms
eca9c721d4
Merge pull request #4144 from Tyriar/priority_queue
...
Add PriorityTaskQueue
2022-09-25 09:38:44 -07:00
Daniel Imms
0b8120808c
Prefer microtask to timeout in write queue
...
This seems to make little difference but it's more correct as we want
to write as fast as possible to minimize input latency
2022-09-24 16:27:56 -07:00
Daniel Imms
c6e4788344
Use microtasks on server
...
This reduces demo input latency on my mac approx 10ms -> 4ms
2022-09-24 16:23:14 -07:00
Daniel Imms
c548977a3e
Fix imports
2022-09-24 16:16:14 -07:00
Daniel Imms
04d196a32d
Use task queue interface
2022-09-24 16:14:38 -07:00
Daniel Imms
494fe3a95d
Fill in ITaskQueue
2022-09-24 16:13:53 -07:00
Daniel Imms
8f8813a19a
Add PriorityTaskQueue
2022-09-24 15:16:02 -07:00
Daniel Imms
df8a57d14b
Merge pull request #4143 from Tyriar/idle_deadline
...
Use the browser's IdleDeadline to determine max task time
2022-09-24 15:00:02 -07:00
Daniel Imms
868fc7ec29
Allow loading canvas before open
2022-09-24 14:44:13 -07:00
Daniel Imms
2febe19222
Set renderer after screen element is attached to dom
2022-09-24 14:42:57 -07:00
Daniel Imms
693d09cbad
Allow setting renderer addon before open is called
2022-09-24 14:41:48 -07:00
Daniel Imms
ab90dcd0dc
Clarify comment
2022-09-24 14:13:04 -07:00
Daniel Imms
1f45d5344c
Use the browser's IdleDeadline to determine max task time
2022-09-24 14:10:29 -07:00
Daniel Imms
a9eea3fd46
Merge pull request #4142 from Tyriar/defer_paused_resize
...
Defer paused renderer resize to idle callback
2022-09-24 12:35:40 -07:00
Daniel Imms
aec1f2b2be
Fix import
2022-09-24 11:58:17 -07:00
Daniel Imms
66efb0388a
Move prop to top
2022-09-24 11:57:12 -07:00
Daniel Imms
4ac5a91c95
Make DebouncedIdleTask helper
2022-09-24 11:56:46 -07:00
Daniel Imms
4e8e6b9788
Defer paused renderer resize to idle callback
2022-09-24 11:45:48 -07:00
Daniel Imms
275a8a91ee
Merge pull request #4141 from Tyriar/idle_task_queue
...
Do char atlas warmup via new IdleTaskQueue
2022-09-24 11:44:10 -07:00
Daniel Imms
270ac1c7d9
Docs
2022-09-24 11:17:39 -07:00
Daniel Imms
c42f290eb8
Do char atlas warmup via new IdleTaskQueue
2022-09-24 11:10:54 -07:00
Daniel Imms
8b323bbf69
Merge pull request #4140 from Tyriar/fast_setTheme
...
Share rgba vars throughout Color.ts, fast setTheme parseColor
2022-09-24 11:09:51 -07:00
Daniel Imms
e68bf3ca5b
Merge remote-tracking branch 'ups/master' into fast_setTheme
2022-09-24 11:02:15 -07:00
Daniel Imms
b742da4bfa
Merge pull request #4137 from Tyriar/willReadFrequently
...
Optimize contexts for reading frequently
2022-09-24 10:40:39 -07:00
Daniel Imms
6368cb4cff
Move canvas-based parsing to Color.ts lib
...
This removed the allowTransparency code, it didn't actually do much
before, just whether the 'advanced parsing' would allow transparency.
Since we already do the common formats, I'm not even sure what other
format it could be.
2022-09-24 10:37:40 -07:00
Daniel Imms
81d68b115c
Share rgba vars throughout Color.ts, fast setTheme parseColor
2022-09-24 10:00:57 -07:00
Daniel Imms
d62b4531c3
Optimize contexts for reading frequently
...
This was a recommendation from Edge.
Docs here: https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-will-read-frequently
2022-09-24 06:58:01 -07:00
Daniel Imms
1431210ecd
Merge pull request #4125 from BattlefieldDuck/master
...
Update allowProposedApi comments
2022-09-23 13:27:25 -07:00
Daniel Imms
50b1e1045c
Merge pull request #4134 from Tyriar/fix_upper_one_eighth_block
...
Fix width of upper 1/8 block char
2022-09-23 10:33:19 -07:00
Daniel Imms
09a5da5d33
Fix width of upper 1/8 block char
...
See microsoft/vscode#161323
2022-09-23 10:11:28 -07:00
Daniel Imms
349acbba34
Merge pull request #4131 from Tyriar/idleWarmup
...
Perform texture atlas warm up in an idle callback
2022-09-22 13:48:56 -07:00
Daniel Imms
78128762f9
Perform texture atlas warm up in an idle callback
...
Part of #4103
2022-09-22 13:06:08 -07:00
coderaiser
497cfcb74c
Merge branch 'master' into feature/lint-by-putout
2022-09-19 12:00:14 +03:00
TatLead
11c806a4d0
Update xterm.d.ts
2022-09-19 05:54:11 +08:00
TatLead
9fb84cb89d
Update xterm-headless.d.ts
2022-09-19 05:53:50 +08:00
Daniel Imms
1ceec0b6fa
Merge pull request #4123 from Tyriar/remove_v5_publishing
...
Remove special v5 beta publishing
2022-09-15 13:02:17 -07:00
coderaiser
bbff3e8396
Update src/common/services/InstantiationService.ts
2022-09-15 22:52:50 +03:00
Daniel Imms
73cb96ddec
Remove special v5 beta publishing
2022-09-15 12:39:32 -07:00
Daniel Imms
904ddffc8d
Merge pull request #4122 from Tyriar/release_v5
...
Release v5, including addon version bumps
2022-09-15 12:33:47 -07:00
Daniel Imms
c23f4313fb
Release v5, including addon version bumps
2022-09-15 12:22:32 -07:00
coderaiser
25eb7d6472
chore: lint using 🐊 Putout
2022-09-15 17:19:34 +03:00
Jörg Breitbart
6225cc2b9c
optimize certain resize conditions
2022-09-13 14:37:29 +02:00
Daniel Imms
d3fd3d0f22
Merge pull request #4098 from jerch/protected
...
protection flag support
2022-09-12 05:52:43 -07:00
Daniel Imms
3387d7fe46
Merge pull request #4109 from Tyriar/4108
...
Copy extended attributes to dest in reflow
2022-09-12 05:50:08 -07:00
jerch
74b5d3f881
Merge branch 'master' into protected
2022-09-09 22:58:29 +02:00
Daniel Imms
822ac527ba
Correct type and use ! to highlight the unsafe part
2022-09-09 12:48:55 -07:00
Daniel Imms
2032f409cf
Copy extended attributes to dest in reflow
...
Fixes #4108
2022-09-09 12:28:27 -07:00
Daniel Imms
f3622dfedc
Merge pull request #4069 from mihaip/master
...
Make terminal rendering work in popout windows
2022-09-09 10:18:11 -07:00
Mihai Parparita
a39a468f19
Make terminal rendering work in popout windows
...
Add support for the parent element (what is passed to Terminal.open)
being in a different (same origin) window. Accesses to DOM APIs such
as requestAnimationFrame and devicePixelRatio thus need to be scoped
to the corrent window, instead of assuming that it's the same as the
window/global scope where the code is running.
This is done by inferring a parent window at the creation time, and
then storing it in CoreBrowserService, which is already passed to most
places that need it.
To catch future regressions, an ESLint rule that checks for global
accesses is added (it uses AST selectors via the no-restricted-syntax
rule).
This should also be applicable when the parent element is an iframe.
Fixes #3758
2022-09-08 16:59:31 -07:00
Mihai Parparita
2935d9feb7
Add demo of opening the terminal in a popout window
...
The poput window is just a rendering surface, the termminal code still
executes in the original/parent window.
2022-09-08 15:13:17 -07:00
Jörg Breitbart
21105b4017
Merge remote-tracking branch 'upstream/master' into protected
2022-09-07 19:51:51 +02:00
Jörg Breitbart
b01a94f5bb
rename to respectProtect
2022-09-07 19:47:28 +02:00
Daniel Imms
c57a52b900
Merge pull request #4105 from jeanp413/jp/fix-vs-160070
...
Fixes https://github.com/microsoft/vscode/issues/160070
2022-09-07 10:00:43 -07:00
Jean Pierre
3953db0d68
Fixes https://github.com/microsoft/vscode/issues/160070
2022-09-07 11:56:52 -05:00
Daniel Imms
1923473a73
Merge pull request #4007 from ink404/handle-delete-composition-helper
...
Handle Delete in `CompositionHelper`
2022-09-07 09:43:49 -07:00
Daniel Imms
d739191adb
Merge branch 'master' into handle-delete-composition-helper
2022-09-07 09:39:54 -07:00
Daniel Imms
9ef2397918
Merge pull request #4101 from JasonXJ/render-bug
...
WebglRenderer always clears _glyphRenderer if _model is cleared
2022-09-07 09:01:41 -07:00
Daniel Imms
e9d276a827
Merge pull request #4095 from jerch/request_mode
...
DECRQM support
2022-09-07 08:58:33 -07:00
Daniel Imms
327ece07e8
Merge pull request #4102 from JasonXJ/clip-cursor-cell
...
Webgl cursor renderer makes sure a char is not drawn outside of the cell
2022-09-07 07:49:24 -07:00
Jason Lin
4752f99e03
Webgl cursor renderer makes sure a char is not drawn outside of the cell
2022-09-06 14:12:15 +10:00
Jason Lin
e5ad3ce9b9
Polish
2022-09-05 17:32:02 +10:00
Jason Lin
faf5f72c1f
Clear glyph render when the webgl model is cleared
2022-09-05 13:32:04 +10:00
Jörg Breitbart
e72e575c0f
fix typo in docs
2022-09-04 13:15:47 +02:00
Jörg Breitbart
318b60418e
cleanup vtfeaures docs
2022-09-04 12:54:27 +02:00
Jörg Breitbart
68fe100841
cleanup
2022-09-04 11:51:41 +02:00
Jörg Breitbart
d511720f63
reshape DECRQSS
2022-09-04 11:34:31 +02:00
Jörg Breitbart
2608db2728
unit tests, fix DECRQSS report
2022-09-04 11:04:07 +02:00
Jörg Breitbart
fc46d69a57
add protection flag to DECSED/DECSEL, add DECSCA
2022-09-03 23:52:30 +02:00
jerch
74fc7e2686
Merge branch 'master' into request_mode
2022-09-03 13:32:27 +02:00
Jörg Breitbart
f08ad87e7a
unit tests
2022-09-03 13:25:20 +02:00
Jörg Breitbart
65f0f9a1d4
restructure code, enable DECSET 12 and SM 20
2022-09-03 12:14:53 +02:00
Daniel Imms
93bc9bf152
Merge pull request #4004 from silamon/requiredoptions3
...
ITerminalOptions: Make fields required
2022-09-02 13:20:49 -07:00
Daniel Imms
e8e2f16cff
Merge remote-tracking branch 'upstream/master' into pr/silamon/4004
2022-09-02 13:05:52 -07:00
Daniel Imms
1b38a004a3
Merge pull request #3992 from SvanT/master
...
Bump minimum target to es2015
2022-09-02 12:43:40 -07:00
Jörg Breitbart
df1d72aee5
make linter happy
2022-09-02 01:51:27 +02:00
Jörg Breitbart
bb4fbf2659
DECRQM impl
2022-09-02 01:43:31 +02:00
jerch
f9db65c52e
Merge pull request #4093 from jerch/sgr_pixels
...
SGR-pixels mouse report
2022-09-01 18:04:50 +02:00
Daniel Imms
f816ed0f71
Merge pull request #4094 from sorenisanerd/gotty-maintainer-change
...
Reference sorenisanerd fork of gotty
2022-09-01 08:26:21 -07:00
Søren L. Hansen
64c8c16730
Reference sorenisanerd fork of gotty
...
I took over maintainership of gotty a while ago. The original project
is dormant or dead.
2022-09-01 08:22:07 -07:00
Jörg Breitbart
70d30f5a09
fix mouse api tests
2022-09-01 13:31:51 +02:00
Jörg Breitbart
edc4fb4a29
document pixels mouse mode
2022-09-01 12:46:10 +02:00
Jörg Breitbart
ef1b773fd7
fix pixel to cell offsets
2022-09-01 12:35:44 +02:00
Jörg Breitbart
06d6e08347
sgr_pixels mouse report
2022-09-01 00:50:11 +02:00
Daniel Imms
3acf08bc0c
Merge pull request #4090 from xtermjs/Tyriar-patch-1
...
Create codeql-analysis.yml
2022-08-31 07:39:29 -07:00
Daniel Imms
ab8ce61e56
Remove python scanning
2022-08-31 07:26:23 -07:00
Daniel Imms
c5a6b997d1
Remove lgtm comments in favor of codeql dismissable alerts
2022-08-31 07:25:03 -07:00
Daniel Imms
6d2d4555e7
Create codeql-analysis.yml
2022-08-31 06:28:58 -07:00
Daniel Imms
d673e02afe
Merge pull request #4089 from Tyriar/lgtm
...
Fix lgtm recommendations
2022-08-31 06:26:56 -07:00
Daniel Imms
151a5d88ce
Merge pull request #4075 from kenrussell/context-restoration
...
Handle WebGL context loss/restore events in WebGL renderer.
2022-08-31 05:56:30 -07:00
Daniel Imms
f309affff2
Tweak handling of _contextRestorationTimeout
2022-08-31 05:44:48 -07:00
Kenneth Russell
9459553665
Handle WebGL context loss/restore events in WebGL renderer.
...
If the context is restored within a brief period of time (3 seconds),
recreate members dependent on WebGL state, and fire onRequestRedraw to
the renderer's listeners.
Handle changes to the char atlas better in the demo client.
Tested in Chrome Canary on macOS by running the demo in one window,
and visiting the internal URL about:gpucrash in another window. The
terminal now recovers and redraws properly.
2022-08-30 19:42:22 -07:00
Daniel Imms
4a6e7bee21
Fix lgtm recommendations
2022-08-30 14:09:39 -07:00
Daniel Imms
ef759a6d7b
Merge pull request #4086 from Tyriar/padding_powerline
...
Only remove padding from restricted powerline chars
2022-08-30 08:53:03 -07:00
Daniel Imms
9dca3c48c7
Merge pull request #4088 from Tyriar/hyperlink_ternary_fix
...
Fix ternary in activate call
2022-08-30 07:57:21 -07:00
Daniel Imms
284d9f9893
Fix ternary in activate call
...
Part of #1134
2022-08-30 07:51:32 -07:00
Daniel Imms
99c47eb3c3
Merge pull request #4087 from Tyriar/hyperlink_range
...
Expose range on link handler
2022-08-30 07:08:06 -07:00
Daniel Imms
c5861d512c
Import from Types
2022-08-30 07:01:23 -07:00
Daniel Imms
22cca3495a
Expose range on link handler
...
This is needed for proper tooltip positioning
Part of #1134
2022-08-30 07:00:33 -07:00
Daniel Imms
0c864cddba
Merge pull request #4005 from Tyriar/1134_3
...
OSC hyperlink support
2022-08-30 06:03:36 -07:00
Daniel Imms
3f3fc183f4
Merge branch 'master' into 1134_3
2022-08-30 05:53:36 -07:00
Ian K
cad6b49e39
Merge branch 'master' into handle-delete-composition-helper
2022-08-29 21:27:17 -05:00
Daniel Imms
7dae4bc8bc
Merge pull request #4085 from Tyriar/fix_gap
...
Fix rounding error gap in webgl renderer
2022-08-28 13:36:13 -07:00
Daniel Imms
5c6d16ef0a
Only remove padding from restricted powerline chars
2022-08-28 13:33:09 -07:00
Daniel Imms
f7e0f69598
Fix rounding error gap in webgl renderer
...
Fixes #4054
Fixes #4076
2022-08-28 13:22:29 -07:00
Daniel Imms
591f178d31
Merge pull request #4084 from Tyriar/more_gc_2
...
Optimize gc in WebglRenderer and RectangleRenderer render loops
2022-08-28 09:30:55 -07:00
Daniel Imms
3b4ecd0709
Optimize gc in rectangle renderer
2022-08-28 09:20:24 -07:00
Daniel Imms
4a50ca81c6
Optimize gc for WebglRenderer._updateModel and BufferLine.loadCell
...
RectangleRenderer not done yet
2022-08-28 09:06:42 -07:00
Daniel Imms
4effa381f7
Merge pull request #4081 from Tyriar/more_gc
...
More garbage collection optimizations for GlyphRenderer
2022-08-28 08:53:48 -07:00
Daniel Imms
caaca169eb
Add multi key map tests
2022-08-28 08:45:36 -07:00
Daniel Imms
1d945fdffc
Create 2 and 4 key map objects, use in color and glyph caches
2022-08-28 08:34:51 -07:00
Daniel Imms
23ee719f6e
Remove more garbage collection issues from cell render loop
...
Part of #4079
2022-08-28 08:02:35 -07:00
Daniel Imms
eb31850e87
Merge pull request #4080 from Tyriar/decoration_gc
...
Optimize gc from decoration-related hot code paths
2022-08-28 07:44:34 -07:00
Daniel Imms
1b64a09f50
Correct conditions after moving to work object
2022-08-27 21:35:56 -07:00
Daniel Imms
823f7345b0
Merge pull request #4078 from Tyriar/fix_demo_resize
...
Fix resize on demo
2022-08-27 20:52:16 -07:00
Daniel Imms
0727741ca1
Remove iterators from IDecorationService
...
They're too low performance for typical use cases
Fixes #4079
2022-08-27 20:50:16 -07:00
Daniel Imms
5e3f63e876
Avoid garbage collection in webgl decoration hot code
...
Part of #4079
2022-08-27 20:06:58 -07:00
Daniel Imms
0237b2965e
Fix resize on demo
2022-08-27 19:28:20 -07:00
Daniel Imms
3105797da1
Merge pull request #4077 from Tyriar/4063
...
Take char width into account when drawing underlines/strokethrough
2022-08-27 07:02:33 -07:00
Daniel Imms
4d837e2802
Add an emoji to underline test
2022-08-27 06:39:07 -07:00
Daniel Imms
4ecc098de4
Get width of emoji/combined chars
2022-08-27 06:38:15 -07:00
Daniel Imms
e76918eddc
Take char width into account when drawing underlines/strokethrough
...
Fixes #4063
2022-08-27 06:34:38 -07:00
Daniel Imms
903830ce1f
Add CJK chars to underline test
2022-08-27 06:06:17 -07:00
Daniel Imms
2526409ca5
Merge pull request #4074 from Tyriar/4059
...
Only draw character outline if it has a descent
2022-08-26 14:38:40 -07:00
Daniel Imms
7ffd9e1f7f
Only draw character outline if it has a descent
...
Fixes #4059
2022-08-26 14:16:02 -07:00
Daniel Imms
4979e9d2be
Show test characters in underline test
2022-08-26 13:26:00 -07:00
Daniel Imms
8bbbc98ac8
Merge pull request #4073 from Tyriar/4072
...
Show entire glyph for extra powerline symbols
2022-08-26 08:33:53 -07:00
Daniel Imms
98ceafb57a
Merge pull request #4070 from Tyriar/4066
...
Improve glyph padding, especially in large font sizes
2022-08-26 08:15:57 -07:00
Daniel Imms
f6860442fb
Show entire glyph for extra powerline symbols
...
Fixes #4072
2022-08-26 08:12:00 -07:00
Daniel Imms
4382a551d1
Use powerline extra symbols in demo font family
2022-08-26 07:53:20 -07:00
Daniel Imms
774ebe40e6
Improve glyph padding, especially in large font sizes
...
Fixes #4066
2022-08-26 07:26:36 -07:00
Ian K
6e3388a2c4
Merge branch 'master' into handle-delete-composition-helper
2022-08-26 09:09:02 -05:00
Daniel Imms
d92d7904ab
Merge pull request #4068 from Tyriar/vscode_158497
...
Properly clear underscore glyph's background
2022-08-24 15:43:42 -07:00
Daniel Imms
523de80162
Merge branch 'master' into vscode_158497
2022-08-24 15:36:44 -07:00
Daniel Imms
e40cf0684e
Properly clear underscore glyph's background
...
See microsoft/vscode#158497
2022-08-24 15:36:03 -07:00
Daniel Imms
b68f82078b
Merge pull request #4055 from GreenMashimaro/fix-typo
...
Fix typo and remove unnecessary eslint comments
2022-08-24 08:55:41 -07:00
Daniel Imms
86ba6cd288
Tweak comment
2022-08-24 08:55:11 -07:00
greenmashimaro
ac81d3f72d
feat: restore LocalizableStrings.ts const export
2022-08-24 22:43:00 +08:00
greenmashimaro
559b6950b2
remove unnecessary eslint comments
2022-08-23 15:09:52 +08:00
greenmashimaro
b59de22c36
fix typo
2022-08-23 15:09:43 +08:00
Ian K
86c8ff0e33
Merge branch 'master' into handle-delete-composition-helper
2022-08-21 09:26:45 -05:00
Daniel Imms
c0ef2ccb5a
Merge pull request #4053 from Tyriar/underline_polish
...
Polish underline for more fonts to prevent odd overlap look
2022-08-19 13:54:41 -07:00
Daniel Imms
0698afaf12
Only stroke glyph when font size >= 12
2022-08-19 13:24:39 -07:00
Daniel Imms
79d47893df
Move webgl underline rendering down
...
See microsoft/vscode#158326
2022-08-19 13:19:08 -07:00
Daniel Imms
7e6282e9c2
Merge pull request #4010 from xtermjs/Tyriar-patch-1
...
Whitespace change to trigger release
2022-08-10 06:27:44 -07:00
Daniel Imms
9a119a7292
Whitespace change to trigger release
2022-08-10 06:27:32 -07:00
Daniel Imms
45b019bd89
Merge pull request #4009 from Tyriar/vscode157444
...
Ensure canvas device dims are > 0x0 when firing callback
2022-08-10 06:02:49 -07:00
Daniel Imms
81a62306af
Ensure canvas device dims are > 0x0 when firing callback
...
See microsoft/vscode#157444
2022-08-10 05:59:29 -07:00
Ian K
5312602692
handle same length case
2022-08-08 17:02:21 -05:00
Ian K
413a885b5e
handle if the newValue.length is less than the old value by deleting
2022-08-08 12:41:12 -05:00
Daniel Imms
bc528cd870
Ensure extended underline style is cleared on SGR 24
2022-08-07 11:51:52 -07:00
Daniel Imms
2cfbee413f
Add some OscLinkService unit tests
2022-08-07 11:30:08 -07:00
Daniel Imms
e87e15e87b
Only override AttributeData.isUnderline when urlId is set
2022-08-07 10:36:42 -07:00
Daniel Imms
8191483fbd
Evict links from maps when markers are disposed
2022-08-07 08:05:42 -07:00
Daniel Imms
9c9ff2b38c
Clean up
2022-08-07 07:46:16 -07:00
Daniel Imms
c39d235168
Fix adjacent link edge case
2022-08-07 07:42:21 -07:00
Daniel Imms
d9b8c6a838
linkHandler option and default handler
2022-08-07 07:35:46 -07:00
Daniel Imms
ace99d125d
Progress on osc link service
2022-08-07 07:02:42 -07:00
Daniel Imms
fd79100d95
Fix test service injection
2022-08-07 06:10:27 -07:00
Daniel Imms
7970b5c1e3
Fix edge cases in link creation
2022-08-07 06:05:42 -07:00
Daniel Imms
91d46dae50
OSC link progress
2022-08-07 05:08:13 -07:00
Simon Lamon
6e123e90ee
Add example back
2022-08-05 16:56:54 +00:00
Simon Lamon
a1385f589b
Required options
2022-08-05 16:16:12 +00:00
Svante Boberg
4f46f8e123
Merge branch 'xtermjs:master' into master
2022-08-04 22:05:07 +02:00
Daniel Imms
c021571194
Merge pull request #4003 from Tyriar/liga_no_node
...
Remove node target from ligatures
2022-08-04 10:31:02 -07:00
Daniel Imms
f0926e7821
Remove tests that rely on node
...
We can test this primarily with api tests instead
2022-08-04 10:11:11 -07:00
Daniel Imms
d495fdd9ab
Bring back webpack resolve config
2022-08-04 10:01:58 -07:00
Daniel Imms
f3f6a91f16
Remove node target from ligatures
...
This complicates bundling for sandboxed electron a lot, ideally we would only
rely on browser APIs for font access
2022-08-04 09:57:37 -07:00
Daniel Imms
409cb4bb73
Merge pull request #4002 from Tyriar/liga_target
...
Remove electron renderer target from ligatures addon
2022-08-04 06:29:41 -07:00
Daniel Imms
d608912efd
Remove electron renderer target
...
This causes global to be required which is not available in sandboxed electron
renderers
See microsoft/vscode#157008
2022-08-04 06:20:45 -07:00
Daniel Imms
9d7cef3d63
Merge pull request #3991 from deepanshu44/ansi-colors
...
print colors
2022-08-04 06:08:40 -07:00
Daniel Imms
bc57ea3a7a
Reduce duplicate, improve layout
2022-08-04 06:06:31 -07:00
Daniel Imms
daba61bd35
Merge pull request #3999 from Tyriar/peer_dep
...
Bump all peer deps to v5
2022-08-04 05:04:09 -07:00
Daniel Imms
76d9d5a324
Bump all peer deps to v5
...
Fixes #3997
2022-08-03 09:45:23 -07:00
Daniel Imms
830f8f3231
Merge pull request #3983 from silamon/fixdemo
...
Fix demo
2022-08-03 04:26:02 -07:00
Simon Lamon
04eb6a4160
Fix wrong merge conflict resolution
2022-08-01 18:00:23 +02:00
Simon Lamon
3f1480a52a
Merge branch 'master' into fixdemo
2022-08-01 17:56:30 +02:00
Svante Boberg
14b02b9ad5
Bump minimum target to es2015
...
Now that we no longer support IE we can raise the minimum ES target a
bit. Changing to es2015 shaves off ~17% from the main bundle size, also
it prevents generators from being transpiled into regular functions etc.
so I would guess it has the potential to give some general performance
improvements too.
For fun I also tried to raise it to es2022, this gave a slightly bigger
bundle than es2015 so I think es2015 could be an ok target unless we
need something newer for some reason.
2022-08-01 10:17:10 +02:00
deepanshu
f3cd6134f1
print colors
2022-08-01 11:29:12 +05:30
Daniel Imms
9261780a1d
Merge pull request #3989 from Tyriar/3970_2
...
Don't dim default bg in webgl
2022-07-31 16:28:15 -07:00
Daniel Imms
a434800303
Merge pull request #3988 from Tyriar/fix_remove_atlas
...
Fix unchecking webgl in demo
2022-07-31 15:42:44 -07:00
Daniel Imms
39959c2861
Don't dim default bg in webgl
...
Fixes #3970
2022-07-31 15:39:34 -07:00
Daniel Imms
03c75360b1
Fix unchecking webgl in demo
2022-07-31 15:28:27 -07:00
Daniel Imms
85984681bb
Merge pull request #3987 from Tyriar/3986
...
Polish powerline rendering
2022-07-31 14:39:54 -07:00
Daniel Imms
0910e58b15
Merge pull request #3924 from silamon/allowmarkersonaltbuffer
...
Allow markers on the alt buffer
2022-07-31 14:39:45 -07:00
Daniel Imms
14d59999e4
Update src/common/buffer/BufferSet.test.ts
2022-07-31 14:39:37 -07:00
Daniel Imms
8f6bde9641
Polish powerline rendering
...
Fixes #3986
2022-07-31 14:27:07 -07:00
Daniel Imms
436f8556fd
Merge pull request #3972 from silamon/rowscolsheadless
...
Apply row/col changes from xterm to xterm-headless
2022-07-31 12:43:47 -07:00
Daniel Imms
face97d012
Merge pull request #3985 from Tyriar/3969
...
Fix powerlines, custom glyph offset and improve demo
2022-07-31 12:39:18 -07:00
Daniel Imms
8d92f91029
Always update terminal size in demo
2022-07-31 12:19:39 -07:00
Daniel Imms
1ede106ab4
Fix powerlines not clipped when bg changes
2022-07-31 12:05:20 -07:00
Daniel Imms
e7e71dbd3c
Merge remote-tracking branch 'upstream/master' into 3969
2022-07-31 11:35:47 -07:00
Daniel Imms
208364147a
Allow texture atlas to be zoomed on hover
2022-07-31 11:35:12 -07:00
Daniel Imms
d6fe5c7384
Update size when letter spacing changes
2022-07-31 11:21:27 -07:00
Daniel Imms
75ca5006a2
Expose texture atlas change event and use in demo
2022-07-31 11:16:12 -07:00
Daniel Imms
266d795179
Fix line height and letter spacing for custom glyphs
2022-07-31 10:58:04 -07:00
Simon Lamon
d0571d8634
Fix formatting
2022-07-31 08:59:25 +00:00
Simon Lamon
ca10ef5cad
Fix demo
2022-07-31 08:55:44 +00:00
Simon Lamon
31686fda61
Fix tests
2022-07-31 07:54:29 +00:00
Simon Lamon
0a83040ac8
clearAllMarkers
2022-07-31 07:38:14 +00:00
Daniel Imms
889e3ad14b
Merge pull request #3980 from Tyriar/3971
...
Fix underline color and polish width and positioning
2022-07-30 23:50:20 -07:00
Daniel Imms
8a596b220a
Merge pull request #3981 from Tyriar/3978
...
Include purpose of canvas addon in readme
2022-07-30 23:49:17 -07:00
Daniel Imms
8d57c64d29
Include purpose of canvas addon in readme
...
Fixes #3978
2022-07-30 23:48:37 -07:00
Daniel Imms
bbd03fb5fe
Merge pull request #3976 from Tyriar/clip_underline
...
Clip outline drawing near underline
2022-07-30 23:43:42 -07:00
Daniel Imms
bff529e1e2
Simplify dom tests and fix assertion
2022-07-30 23:41:08 -07:00
Daniel Imms
f4618b229f
Bring underlines closer to characters
2022-07-30 23:30:52 -07:00
Daniel Imms
686105942c
Reduce line width of webgl underline
2022-07-30 23:25:18 -07:00
Daniel Imms
0514b55936
Fix default underline color
...
Fixes #3971
2022-07-30 23:16:47 -07:00
Daniel Imms
04a14a748e
Merge pull request #3979 from Tyriar/3977
...
Implement improved texture packing strategy
2022-07-30 22:58:12 -07:00
Daniel Imms
ed492f7253
Implement improved texture packing strategy
...
Fixes #3977
2022-07-30 19:24:09 -07:00
Daniel Imms
d459e520d3
Merge pull request #3973 from Tyriar/3970
...
Fix dim flag applying to selection in webgl
2022-07-30 17:58:41 -07:00
Daniel Imms
ce4a85d07d
Clip outline drawing near underline
...
Fixes #3975
2022-07-30 17:52:00 -07:00
Daniel Imms
309487a020
Fix character offset to respect texture padding in webgl
...
Fixes #3974
2022-07-30 11:07:33 -07:00
Daniel Imms
c7122e8447
Fix dim flag applying to selection in webgl
...
Fixes #3970
2022-07-30 10:29:41 -07:00
Simon Lamon
027fffbadc
Fix comment
2022-07-30 15:48:49 +00:00
Simon Lamon
dc30a51017
Apply row/col changes from xterm to xtmer-headless
2022-07-30 15:46:07 +00:00
Daniel Imms
640596b043
Merge pull request #3921 from Tyriar/underline
...
Underline style and color rendering
2022-07-30 07:46:56 -07:00
Daniel Imms
d3b3357f3f
Merge pull request #3966 from silamon/mochaunittestback
...
Fix mocha test explorer
2022-07-30 07:39:10 -07:00
Daniel Imms
f0ddaf49ea
Disable threshold check for glyphs with colored underlines
...
This causes some underlines to disappear which looks very bad for
colored underlines
2022-07-30 07:36:48 -07:00
Simon Lamon
d80a47f539
Add functionality back to mocha test explorer
2022-07-30 14:27:29 +00:00
Daniel Imms
d0ec9f2591
Support letter spacing in webgl
2022-07-30 07:05:05 -07:00
Daniel Imms
941cc5100d
Increase curly height when dpr <= 1
2022-07-30 06:56:32 -07:00
Daniel Imms
e0d4384d3c
Merge branch 'master' into underline
2022-07-30 06:40:41 -07:00
Simon Lamon
f45eb02394
Keep the root directory clean
2022-07-30 13:35:56 +00:00
Daniel Imms
db79efdbc1
Merge pull request #3967 from Tyriar/3962
...
Include version of Windows to disable windowsMode from
2022-07-30 06:27:27 -07:00
Daniel Imms
8afa714276
Include version of Windows to disable windowsMode from
...
Fixes #3962
2022-07-30 06:27:02 -07:00
Daniel Imms
0befb9c251
Merge pull request #3965 from Tyriar/inactiveSelection
...
Inactive selection background support
2022-07-30 06:05:57 -07:00
Simon Lamon
a8f63c478c
Introduce mocharc again
2022-07-30 12:59:08 +00:00
Daniel Imms
ff33834eb2
Merge branch 'master' into inactiveSelection
2022-07-29 14:51:22 -07:00
Daniel Imms
a2e07de90c
Merge pull request #3963 from Tyriar/fallback_ligatures
...
Support fallback ligatures and correctly dispose of char joiner
2022-07-29 14:51:00 -07:00
Daniel Imms
b0c29cac9a
Merge pull request #3932 from Tyriar/tyriar/dim_bg
...
Fix inverse dim rendering on canvas+webgl
2022-07-29 14:50:47 -07:00
Daniel Imms
7f58c48503
Fix tests as errors are no longer thrown on font access fail
2022-07-29 11:27:23 -07:00
Daniel Imms
eb93b02c6c
Use debug log level to avoid polluting embedder logs
2022-07-29 11:24:23 -07:00
Daniel Imms
11affae761
Merge branch 'master' into inactiveSelection
2022-07-29 11:21:15 -07:00
Daniel Imms
53e4e9ad72
Inactive selection bg in canvas
2022-07-29 11:20:32 -07:00
Daniel Imms
4ac8e4ca51
Remove reliance on core in some webgl parts
2022-07-29 11:09:19 -07:00
Daniel Imms
954d9371a1
Inactive selection in webgl
2022-07-29 11:05:41 -07:00
Daniel Imms
6493679b2e
Inactive selection bg in dom renderer
...
Part of #3803
2022-07-29 11:00:36 -07:00
Daniel Imms
1af6175e48
Merge pull request #3964 from Tyriar/selection_inconsistency
...
Rename ITheme.selection to selectionBackground
2022-07-29 11:00:11 -07:00
Daniel Imms
906a6fc558
Rename test selection -> selectionBackground
2022-07-29 10:35:48 -07:00
Daniel Imms
9cb25fbf06
Rename ITheme.selection to selectionBackground
...
This makes it consistent with selectionForeground and other theme keys and
as a result will make the API easier to work with, especially when inactive
selection is done (#3803 )
2022-07-29 10:34:27 -07:00
Daniel Imms
48142eca23
Merge branch 'master' into tyriar/dim_bg
2022-07-29 10:20:22 -07:00
Daniel Imms
1fe0ec8d2c
Merge branch 'master' into underline
2022-07-29 10:19:52 -07:00
Daniel Imms
f8a9eb1db6
Support fallback ligatures and correctly dispose of char joiner
2022-07-29 10:18:21 -07:00
Daniel Imms
df14ce49d7
Merge pull request #3936 from Tyriar/ligatures
...
Get ligatures addon working with latest version of Chrome
2022-07-29 07:33:49 -07:00
Daniel Imms
7f5ed40db1
Merge pull request #3960 from Tyriar/init_options
...
Make cols/rows only usable in the ctor
2022-07-29 07:20:51 -07:00
Daniel Imms
29aca47e0d
Merge pull request #3961 from Tyriar/canvas_fix2
...
Remove instantiation service from canvas addon completely
2022-07-28 16:50:29 -07:00
Daniel Imms
055bcce18d
Remove instantiation service from canvas addon completely
2022-07-28 11:31:51 -07:00
Daniel Imms
006249ce65
Make cols/rows only usable in the ctor
...
Fixes #3825
2022-07-28 11:16:12 -07:00
Daniel Imms
60f9bf4398
Merge pull request #3959 from Tyriar/canvas_services
...
Fix service access in canvas addon
2022-07-28 11:11:08 -07:00
Daniel Imms
848aceaa25
Merge branch 'master' into allowmarkersonaltbuffer
2022-07-28 11:05:24 -07:00
Daniel Imms
9e650cea9f
Fix service access in canvas addon
2022-07-28 11:00:08 -07:00
Daniel Imms
de78344165
Merge pull request #3919 from SvanT/master
...
Dispose events
2022-07-28 10:52:09 -07:00
Daniel Imms
2862832f6f
Merge pull request #3958 from Tyriar/dispose_doc
...
Clarify you shouldn't use the object after Terminal.dispose
2022-07-28 10:51:21 -07:00
Daniel Imms
8df878b8a9
Clarify you shouldn't use the object after Terminal.dispose
...
Fixes #3939
2022-07-28 10:46:12 -07:00
Daniel Imms
0e07e419a2
Merge branch 'master' into allowmarkersonaltbuffer
2022-07-28 10:26:12 -07:00
Daniel Imms
04b513cf9b
Merge pull request #3926 from Tyriar/rounding
...
FINALLY fix blurry canvas/webgl renderer issues due to device pixel rounding errors 🎉
2022-07-28 10:25:01 -07:00
Daniel Imms
f310f118b4
Merge pull request #3957 from Tyriar/publish_addon
...
Fix publishing addons as xterm
2022-07-28 10:21:39 -07:00
Daniel Imms
8d308a7309
Merge branch 'master' into publish_addon
2022-07-28 10:21:26 -07:00
Daniel Imms
d9880c0270
Fix publishing addons as xterm
2022-07-28 10:20:57 -07:00
Daniel Imms
f6940aa201
Merge pull request #3940 from Tyriar/1140
...
Implement duration-based smooth scrolling
2022-07-28 09:27:49 -07:00
Daniel Imms
2482c0e8d3
Merge pull request #3956 from Tyriar/fix_addon_version
...
Fix version of published addons
2022-07-28 09:13:37 -07:00
Daniel Imms
1be14e4338
Fix version of published addons
2022-07-28 09:09:44 -07:00
Daniel Imms
51f89bbe4d
Merge pull request #3954 from Tyriar/v0_1_0
...
xterm-addon-canvas@0.1.0
2022-07-28 07:30:03 -07:00
Daniel Imms
0b0662c4d9
xterm-addon-canvas@0.1.0
2022-07-28 07:27:27 -07:00
Daniel Imms
9cbd9a0456
Merge pull request #3931 from Tyriar/3930
...
Never clear color when allowTransparency is on
2022-07-28 07:19:58 -07:00
Daniel Imms
770de8d05b
Merge pull request #3929 from Tyriar/3845
...
Retain hue when flipping luminance
2022-07-28 07:19:38 -07:00
Daniel Imms
4372d8ccca
Merge pull request #3933 from Tyriar/3784
...
Warn when ligature fonts fail to download
2022-07-28 07:18:52 -07:00
Daniel Imms
0b81af1811
Merge pull request #3935 from Tyriar/3759
...
Remove shift+backspace -> ^H binding
2022-07-28 07:18:30 -07:00
Daniel Imms
ed92cc0c3f
Merge pull request #3938 from Tyriar/1963
...
Redraw canvas renderer selection on resize
2022-07-28 07:18:20 -07:00
Daniel Imms
8b276c1a54
Merge remote-tracking branch 'upstream/master' into pr/SvanT/3919
2022-07-28 07:04:11 -07:00
Daniel Imms
d2be5f992a
Merge remote-tracking branch 'upstream/master' into underline
2022-07-28 07:01:41 -07:00
Daniel Imms
437c8aac5c
Merge remote-tracking branch 'upstream/master' into rounding
2022-07-28 07:00:13 -07:00
Daniel Imms
84b259dfa5
Merge remote-tracking branch 'upstream/master' into tyriar/dim_bg
2022-07-28 06:57:27 -07:00
Daniel Imms
a57b69d5de
Merge remote-tracking branch 'upstream/master' into 1963
2022-07-28 06:56:36 -07:00
Daniel Imms
8f0f33fd6d
Merge branch 'master' into 1140
2022-07-28 06:50:46 -07:00
Daniel Imms
4d542d23c6
Merge branch 'master' into ligatures
2022-07-28 06:50:40 -07:00
Daniel Imms
4637983888
Merge branch 'master' into 3759
2022-07-28 06:50:35 -07:00
Daniel Imms
f1ff42410e
Merge branch 'master' into 3784
2022-07-28 06:50:32 -07:00
Daniel Imms
1ef9f7c1d1
Merge branch 'master' into 3930
2022-07-28 06:50:26 -07:00
Daniel Imms
8901740113
Merge branch 'master' into 3845
2022-07-28 06:50:23 -07:00
Daniel Imms
2fffe9fc89
Merge branch 'master' into allowmarkersonaltbuffer
2022-07-28 06:50:17 -07:00
Daniel Imms
423d5402f7
Merge pull request #3917 from xtermjs/Tyriar-patch-1
...
Remove note about IE11 which is EOL
2022-07-28 06:50:02 -07:00
Daniel Imms
2b2d6c5fb3
Merge pull request #3943 from xtermjs/v5
...
v5 breaking changes
2022-07-28 06:46:12 -07:00
Daniel Imms
c55075b666
Merge pull request #3953 from Tyriar/v5_publish_stable
...
Hardcode release step to publish v5.0.0 beta
2022-07-28 06:32:47 -07:00
Daniel Imms
09df783959
Merge pull request #3952 from Tyriar/v5_buffer_range
...
Replace ISelectionPosition with IBufferRange
2022-07-28 06:32:13 -07:00
Daniel Imms
3bdbfb6d5f
Hardcode release step to publish v5.0.0 beta
2022-07-28 06:31:52 -07:00
Daniel Imms
520a270afc
Update tests to use new getSelectionPosition API
2022-07-28 06:17:44 -07:00
Daniel Imms
d1f53e2b02
Replace ISelectionPosition with IBufferRange
...
Fixes #2480
2022-07-28 05:58:15 -07:00
Daniel Imms
940c93e9cd
Merge pull request #3951 from Tyriar/v5_api
...
Stabilize buffer and parser APIs
2022-07-28 05:33:15 -07:00
Daniel Imms
1a5c881c7c
Stabilize buffer and parser APIs
2022-07-28 05:28:28 -07:00
Daniel Imms
fb3886a9ae
Merge pull request #3950 from Tyriar/v5_publish_canvas
...
Publish canvas addon in CI release step
2022-07-28 05:09:26 -07:00
Daniel Imms
3271b45681
Publish canvas addon in CI release step
...
Part of #3271
2022-07-28 05:08:46 -07:00
Daniel Imms
43f38cddb1
Merge pull request #3949 from Tyriar/v5_canvas
...
Move the canvas renderer into an addon
2022-07-28 05:07:31 -07:00
Daniel Imms
e5037a6d1e
Fix fit addon api tests on linux+firefox
2022-07-28 05:00:10 -07:00
Daniel Imms
119b64181b
Fix fit addon api tests
2022-07-28 04:51:49 -07:00
Daniel Imms
c52eb8898f
Simplify addon tsconfigs
2022-07-28 04:50:40 -07:00
Daniel Imms
ced5c304f1
Move CustomGlyphs.ts into core
2022-07-28 04:46:18 -07:00
Daniel Imms
b3cffe2d30
Fix fit addon api tests on linux
2022-07-28 04:43:03 -07:00
Daniel Imms
73b3e31b38
Canvas readme
2022-07-28 04:37:42 -07:00
Daniel Imms
cbddd2029e
Get canvas renderer addon working
2022-07-27 16:04:24 -07:00
Daniel Imms
48cfd23219
Fix tests that depended on canvas renderer
2022-07-27 10:33:10 -07:00
Daniel Imms
1c6ce99419
Move canvas renderer contents into addon
2022-07-27 10:26:02 -07:00
Daniel Imms
ab7da06cc1
Stub canvas addon
2022-07-27 09:26:52 -07:00
Daniel Imms
440ab765c4
Remove rendererType setting
2022-07-27 09:22:05 -07:00
Daniel Imms
e7dbdb1362
Merge pull request #3947 from Tyriar/v5_deprecated
...
Remove remaining deprecated APIs for v5 (getOption, setOption, writeUtf8)
2022-07-27 09:13:15 -07:00
Daniel Imms
8c16d9d506
Remove writeUtf8 deprecated API
2022-07-27 09:04:43 -07:00
Daniel Imms
71911b501b
Remove set/getOption deprecated APIs
2022-07-27 09:04:07 -07:00
Daniel Imms
b2aa100c58
Merge pull request #3946 from Tyriar/v5_remove_add_apis
...
Remove add* APIs and remaining link matcher parts
2022-07-27 08:58:32 -07:00
Daniel Imms
6d932ec812
Fix addMarker in api tests
2022-07-27 08:49:07 -07:00
Daniel Imms
5a658ebfcc
Remove remaining link hover tooltip duration
2022-07-27 08:45:32 -07:00
Daniel Imms
7bd3801f58
Remove mouse zone manager
...
Part of #2703
2022-07-27 08:41:27 -07:00
Daniel Imms
8cfa7a0ee2
Remove deprecated add* APIs
...
Fixes #2652
2022-07-27 08:35:40 -07:00
Daniel Imms
140073675c
Merge pull request #3945 from Tyriar/v5_proposed_api
...
Set allowProposedApi default to false
2022-07-27 08:29:08 -07:00
Daniel Imms
238a2bafb1
Set allowProposedApi default to false
...
Fixes #2826
2022-07-27 08:20:54 -07:00
Daniel Imms
09672feca0
Merge pull request #3944 from Tyriar/v5_link_matcher
...
Remove link matchers
2022-07-27 06:57:30 -07:00
Daniel Imms
7a17a26e18
Remove link matchers
...
Fixes #2703
2022-07-27 06:49:35 -07:00
Daniel Imms
fafa7efd5e
Merge pull request #3941 from Tyriar/v5_bell
...
Remove bell settings and sound service in favor of Terminal.onBell
2022-07-27 06:29:34 -07:00
Daniel Imms
841cd636ca
Merge remote-tracking branch 'upstream/v5' into v5_bell
2022-07-27 06:18:48 -07:00
Daniel Imms
ceeb8585d7
Merge pull request #3942 from Tyriar/v5_ci
...
Enable CI on v5 branch
2022-07-27 06:17:19 -07:00
Daniel Imms
dc4940e26e
Try different syntax
2022-07-27 06:13:28 -07:00
Daniel Imms
8a19f8c1cc
Enable CI on v5 branch
2022-07-27 06:04:53 -07:00
Daniel Imms
66d6ed65ef
Remove all bellSound/bellStyle/etc. references
...
Fixes #3316
2022-07-27 05:58:26 -07:00
Daniel Imms
09ae3a9b44
Remove sound service and simplify bell
2022-07-27 05:55:00 -07:00
Daniel Imms
78bfe0b89d
Revert accidental setting change
2022-07-27 05:47:39 -07:00
Daniel Imms
4b8e7a5768
Change default to 0
2022-07-27 05:45:56 -07:00
Daniel Imms
fb4cb0f140
Reduce smooth scroll GC
2022-07-27 05:44:34 -07:00
Daniel Imms
a55728dd28
Add duration-based smooth scroll
...
Fixes #1140
2022-07-27 05:41:00 -07:00
Svante Boberg
52dc6a456c
Remove redundant disposal
2022-07-27 14:34:00 +02:00
Svante Boberg
078b83fcaf
Use disposal registration
2022-07-27 14:24:42 +02:00
Svante Boberg
c895f67fd8
Add missing webgl cursor blink disposal
...
Same disposal code as the non-webgl cursor blink layer
2022-07-27 00:00:41 +02:00
Daniel Imms
9159fc68e1
Redraw canvas renderer selection on resize
...
Fixes #1963
2022-07-25 09:44:54 -07:00
Daniel Imms
5664ff3101
Fix ligature tests in node
2022-07-25 07:42:38 -07:00
Daniel Imms
78ddb4b14a
Add link to font access api change
2022-07-25 07:00:58 -07:00
Daniel Imms
4744ef34b2
Remove unneeded comment
2022-07-24 20:44:06 -07:00
Daniel Imms
f4bc9f1ecd
Pull fonts using latest font access API in Chrome
...
Part of #958
2022-07-24 19:47:24 -07:00
Daniel Imms
b11217aa36
Merge pull request #3920 from Tyriar/task_improvement
...
Allow start task to be restarted without killing watch
2022-07-24 17:52:41 -07:00
Daniel Imms
34fe6e2260
Merge pull request #3922 from Tyriar/theme_picker
...
Add simple theme picker to demo
2022-07-24 17:52:28 -07:00
Daniel Imms
160e9ee35b
Merge pull request #3923 from Tyriar/atlas_bottom
...
Don't overlap the atlas ontop of options
2022-07-24 17:52:16 -07:00
Daniel Imms
d98198e1b9
Merge pull request #3927 from Tyriar/overviewRulerWidth
...
Support overviewRulerWidth in demo
2022-07-24 17:52:07 -07:00
Daniel Imms
493975b41e
Merge pull request #3934 from Tyriar/3777
...
Fix test-api running unit tests as well
2022-07-24 17:51:57 -07:00
Daniel Imms
3322418728
Remove shift+backspace -> ^H binding
...
This has been there since the first commit of term.js, it's not clear
why it's there but Terminal.app, iTerm2 and kitty seem to just do a
regular backspace
Fixes #3759
2022-07-24 17:45:14 -07:00
Daniel Imms
2ceec34809
Remove log
2022-07-24 17:20:41 -07:00
Daniel Imms
8c55c83e4a
Fix test-api running unit tests as well
...
This file was added to support the mocha test explorer in vscode
but it turns out it causes all calls to mocha to run the unit
tests. I couldn't figure out how to ignore through args.
Fixes #3777
2022-07-24 17:12:23 -07:00
Daniel Imms
9acc36f8c0
Warn when ligature fonts fail to download
...
Fixes #3784
2022-07-24 16:52:11 -07:00
Daniel Imms
a4f7e2d8e9
Fix inverse dim on canvas renderer
2022-07-24 13:20:04 -07:00
Daniel Imms
ee2e54487d
Fix inverse dim for webgl
...
Fixes #3534
2022-07-24 13:13:26 -07:00
Daniel Imms
f4ffb13ece
Render dim bg in all renderers
...
Fixes #3534
2022-07-24 10:59:24 -07:00
Daniel Imms
a39c7fb636
Never clear color when allowTransparency is on
...
It's redundant and wasn't working as expected anyway.
Fixes #3930
2022-07-24 08:31:12 -07:00
Daniel Imms
0ccf3beec7
Retain hue when flipping luminance
...
Fixes #3845
2022-07-24 08:03:27 -07:00
Daniel Imms
90b6f058c9
Support overviewRulerWidth in demo
...
Fixes #3771
2022-07-24 07:38:48 -07:00
Daniel Imms
0165c3612d
Fix canvas device pixel dimension setting
2022-07-24 07:11:56 -07:00
Daniel Imms
47b1fdd147
Refactor to share observeDevicePixelDimensions
2022-07-24 04:09:34 -07:00
Daniel Imms
ad8404417e
ts-loader update, correct css cell dimension error
2022-07-24 03:57:22 -07:00
Daniel Imms
3d6c25bf2d
typescript@4.7
...
Required for devicePixelContentBoxSize ResizeObserver API
2022-07-24 03:43:28 -07:00
Daniel Imms
e25471361f
Fix device pixel value in canvas renderer
2022-07-24 03:41:25 -07:00
Daniel Imms
cb10aadb06
Fix device pixel rounding errors in webgl renderer
...
This uses the ResizeObserver devicePixelContentBoxSize API in order to
fetch the exact device pixel dimensions from the browser. The old
possibly blurry behavior is used as a fallback if that API is not
available.
Part of #2662
Part of microsoft/vscode#85154
2022-07-24 03:31:05 -07:00
Simon Lamon
89f5c2e06c
Allow markers on the alt buffer
2022-07-24 09:30:13 +00:00
Daniel Imms
dbe2b98bb4
Don't overlap the atlas ontop of options
...
This would prevent mouse input in some options in narrow screens
2022-07-23 18:57:16 -07:00
Daniel Imms
4087284822
Fix ext caching issues
2022-07-23 15:19:17 -07:00
Daniel Imms
759a5928a2
Continuous curly underline
2022-07-23 14:48:26 -07:00
Daniel Imms
43bbea8eb5
Set webgl as default demo renderer
2022-07-23 14:43:14 -07:00
Daniel Imms
fd8fc18302
Clear stroke around text in underline
2022-07-23 14:28:15 -07:00
Daniel Imms
f34a30b24f
Add theme from xtermjs.org and make it the demo default
2022-07-23 14:08:15 -07:00
Daniel Imms
91a362be7b
Add 3 sample themes to demo
2022-07-23 13:58:31 -07:00
Daniel Imms
19fb806214
Fix tests
2022-07-23 13:44:12 -07:00
Daniel Imms
70b5e0249c
Underline demo formatting
2022-07-23 11:22:40 -07:00
Daniel Imms
d9703aa7fe
Webgl underline color rendering
2022-07-23 11:19:35 -07:00
Daniel Imms
03f15a7fb7
Store extended attributes in single number
2022-07-23 11:12:17 -07:00
Daniel Imms
8cd01dc421
Add underline color test to demo
2022-07-23 10:38:58 -07:00
Daniel Imms
1f89223c2a
DOM renderer underline color
2022-07-23 10:26:20 -07:00
Daniel Imms
8287e783a2
Underline color canvas
2022-07-23 10:24:51 -07:00
Daniel Imms
8184e0824b
Add tests for dom underline styles
2022-07-23 10:13:26 -07:00
Daniel Imms
72d18f7d5e
DOM renderer underline style
2022-07-23 09:20:53 -07:00
Daniel Imms
1d9b4d4778
Canvas renderer underline style
2022-07-23 08:58:10 -07:00
Daniel Imms
baa8a1e6ec
Stub out canvas renderer underline style
2022-07-23 08:27:15 -07:00
Daniel Imms
c116fa645c
Render underline style on webgl
2022-07-23 08:23:02 -07:00
Daniel Imms
8b4e8199d7
Get underline style affecting webgl rendering
2022-07-23 07:38:34 -07:00
Daniel Imms
34cd5966b9
Webgl 3 key cache map
2022-07-23 07:31:51 -07:00
Daniel Imms
cc8748313e
Expose underline attrs as getter/setter
...
In preparation for storing them in a packed format for glyph caching
2022-07-23 07:13:29 -07:00
Daniel Imms
1207acc495
Add underline test button to demo
2022-07-23 07:05:52 -07:00
Daniel Imms
c29cd83213
Allow start task to be restarted without killing watch
2022-07-23 06:39:41 -07:00
Svante Boberg
9df996cb3d
Dispose events
...
https://github.com/microsoft/vscode/issues/155232
The events that is setup for needs to be disposed for js to be able
to garbage collect the terminals.
2022-07-23 13:28:52 +02:00
Daniel Imms
d2ac7fc90c
Merge pull request #3916 from SvanT/master
...
Fix memory leak
2022-07-22 05:11:54 -07:00
Svante Boberg
92855ba399
Remove terminal from cache on disposal
2022-07-22 13:03:07 +02:00
Daniel Imms
b5b7a5d7d0
Remove note about IE11 which is EOL
2022-07-21 15:24:44 -07:00
Daniel Imms
36830266e2
Merge pull request #3913 from xtermjs/dependabot/npm_and_yarn/terser-5.14.2
...
Bump terser from 5.7.0 to 5.14.2
2022-07-20 06:10:26 -07:00
dependabot[bot]
3ffbcbf201
Bump terser from 5.7.0 to 5.14.2
...
Bumps [terser](https://github.com/terser/terser ) from 5.7.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-20 01:30:11 +00:00
Daniel Imms
9997f263a6
Merge pull request #3912 from silamon/extendedcolors2
...
Allow unsetting extending ansi colors
2022-07-19 11:19:57 -07:00
Simon Lamon
1fdbd504c7
Add another unit test to test partial unset
2022-07-19 17:37:02 +00:00
Simon Lamon
06627cb0bb
Allow unsetting extending ansicolors
2022-07-19 17:22:54 +00:00
Daniel Imms
2a0681f0c0
Merge pull request #3909 from Tyriar/3905_followup
...
Be more defensive when setting extended ansi colors
2022-07-19 06:08:50 -07:00
Daniel Imms
67f83d51c9
Fix min color count
2022-07-19 05:58:20 -07:00
Daniel Imms
abe7dddfbc
Merge pull request #3908 from uellenberg/patch-1
...
Add Cratecode to Real-world uses
2022-07-19 05:18:45 -07:00
Daniel Imms
8b3f9ad8e1
Be more defensive when setting extended ansi colors
...
Part of #3601
2022-07-19 05:10:31 -07:00
uellenberg
f26264ac23
Add Cratecode to Real-world uses
2022-07-18 15:45:53 -07:00
Daniel Imms
cbb13aa4d4
Merge pull request #3905 from silamon/extendedcolors
...
Support setting extended ansi colors (16-255)
2022-07-18 10:46:37 -07:00
Daniel Imms
86cfad545a
Merge pull request #3907 from silamon/devcontainerdeprecation
...
Fix devcontainer docker build
2022-07-18 10:42:19 -07:00
Simon Lamon
c786c6a072
Apply review comments
2022-07-18 17:35:13 +00:00
Simon Lamon
8153aea64c
Fix devcontainer docker build
2022-07-18 17:05:34 +00:00
Daniel Imms
ebc1c73585
Merge pull request #3906 from silamon/macosdeprecation
...
Update MacOS base image
2022-07-18 09:32:59 -07:00
Simon Lamon
306efa4d82
Update macos base image
2022-07-18 18:22:33 +02:00
Daniel Imms
0fbd980d38
Whitespace to trigger webgl release
2022-07-13 11:44:08 -07:00
Daniel Imms
0a50c0d27e
Merge pull request #3903 from Tyriar/3902
...
Fix \u259B rendering
2022-07-13 10:13:56 -07:00
Daniel Imms
a8405b86de
Fix \u259B rendering
...
Fixes #3902
2022-07-13 02:59:56 -07:00
Daniel Imms
6b447951f1
Merge pull request #3897 from Tyriar/3892
...
Clear glyph pixels when all channels differ below a threshold
2022-07-11 12:06:33 -07:00
Daniel Imms
788f248de4
Merge pull request #3896 from Tyriar/3877
...
Clip pixels to left of cell when background color changes
2022-07-11 11:43:29 -07:00
Daniel Imms
9336d7f776
Merge pull request #3900 from Tyriar/3477
...
Throw when setting an invalid cursorStyle
2022-07-11 11:42:59 -07:00
Daniel Imms
685822df0d
Merge pull request #3899 from Tyriar/3898
...
Fix allowTransparency not working when set after ctor
2022-07-11 11:42:51 -07:00
Daniel Imms
c26f605d4c
Merge pull request #3895 from Tyriar/3894
...
Make corner box chars more round
2022-07-11 11:42:33 -07:00
Daniel Imms
0525f43b34
Merge pull request #3901 from Tyriar/3885_2
...
Be more defensive around SortedList key
2022-07-11 11:35:18 -07:00
Daniel Imms
f61ff9fd46
Fix lint
2022-07-11 05:56:42 -07:00
Daniel Imms
adcf841a39
Be more defensive around SortedList key
...
Fixes #3885
Part of microsoft/vscode#151225
2022-07-11 05:50:20 -07:00
Daniel Imms
71195b5370
Throw when setting an invalid cursorStyle
...
Fixes #3477
2022-07-10 11:43:45 -07:00
Daniel Imms
e2b8002d4a
Fix allowTransparency not working when set after ctor
...
Fixes #3898
2022-07-10 08:54:56 -07:00
Daniel Imms
ea79194925
Make the clear threshold relative to fg/bg difference
2022-07-10 08:49:09 -07:00
Daniel Imms
89b320a5e2
Clear glyph pixels when all channels differ < 35
...
Fixes #3892
Also helps with #3877
2022-07-10 07:22:33 -07:00
Daniel Imms
5e8133b4be
Clip pixels to left of cell when background color changes
...
Fixes #3877
2022-07-10 06:54:39 -07:00
Daniel Imms
4cbfd86db0
Make corder box chars more round
...
Fixes #3894
2022-07-10 05:44:44 -07:00
Daniel Imms
b6885a67e7
Merge pull request #3893 from xtermjs/Tyriar-patch-1
...
Whitespace change to trigger webgl release
2022-07-08 12:53:47 -07:00
Daniel Imms
9f3e3f1700
Comment change to trigger webgl release
2022-07-08 12:53:25 -07:00
Daniel Imms
8f6e473aa7
Whitespace change to trigger webgl release
2022-07-08 12:51:37 -07:00
Daniel Imms
683f85f93d
Merge pull request #3891 from sbatten/sbatten/powerline-circles
...
add powerline semi circle glyphs
2022-07-06 19:01:55 -07:00
Daniel Imms
8959d6ae1d
Fix indentation
2022-07-06 18:52:24 -07:00
Megan Rogge
17b1eed0d2
Update src/browser/renderer/CustomGlyphs.ts
2022-07-06 21:50:09 -04:00
Megan Rogge
72eb7e245d
Update src/browser/renderer/CustomGlyphs.ts
2022-07-06 21:49:38 -04:00
Daniel Imms
28108fbe2a
Add semi-circles to demo
2022-07-06 18:41:47 -07:00
Daniel Imms
83551eaf60
Remove horizontal padding for semi-circles
2022-07-06 18:39:31 -07:00
SteVen Batten
56a1a7613c
add powerline semi circle glyphs
2022-07-06 17:13:47 -07:00
Daniel Imms
c580b6bf4c
Merge pull request #3890 from Tyriar/dispose_webgl
...
Dispose of webgl resources properly
2022-07-06 07:51:49 -07:00
Daniel Imms
54cbbf600d
Dispose of webgl resources properly
...
Fixes #3889
2022-07-06 07:32:42 -07:00
Daniel Imms
d441bd3e53
Merge pull request #3888 from Tyriar/3885
...
Prevent exception when deleting non-existent element
2022-07-06 07:23:38 -07:00
Daniel Imms
098b2252d0
Prevent exception when deleting non-existent element
...
Fixes #3885
2022-07-06 04:39:12 -07:00
Daniel Imms
915fa49ce3
Merge pull request #3883 from wuchihsu/add-go-ssh-web-client-to-list-of-xterm-users
...
Add Go SSH Web Client to list of xterm users
2022-07-05 06:03:17 -07:00
Daniel Imms
aa7ff23929
Merge branch 'master' into add-go-ssh-web-client-to-list-of-xterm-users
2022-07-05 05:53:49 -07:00
Daniel Imms
1102f5a4d0
Merge pull request #3884 from web3os-org/master
...
Update README.md to add web3os to Real-world Uses
2022-07-05 05:53:06 -07:00
Jay Mathis
9aa5a2452a
Update README.md
...
Added link to web3os under Real-world uses
2022-07-05 02:41:03 -05:00
wuchihsu
edea440cd8
Add Go SSH Web Client to list of xterm users
2022-07-04 11:26:40 +08:00
Daniel Imms
28ef0c85be
Merge pull request #3882 from jerch/fix_3881
...
fix return type declaration of proposeDimensions
2022-07-01 03:35:07 -07:00
Jörg Breitbart
d05cfcd6a7
fix return type declaration of proposeDimensions
2022-07-01 00:22:45 +02:00
Daniel Imms
4a61642b81
Merge pull request #3879 from Tyriar/r4_19
...
v4.19.0
2022-06-29 10:05:04 -07:00
Daniel Imms
0a0ebb68b5
v4.19.0
2022-06-29 09:40:07 -07:00
Megan Rogge
e77a0ec886
return 0 instead of -1 for no result find count ( #3874 )
2022-06-27 14:42:46 -04:00
Daniel Imms
1bf2ccc572
Merge pull request #3876 from yankay/add-cloudtty-to-list-of-xterm-users
...
Add CloudTTY to list of xterm users
2022-06-27 05:52:33 -07:00
kay.yan
5f680c2185
add-cloudtty-to-list-of-xterm-users
2022-06-27 17:46:08 +08:00
Daniel Imms
38450082ac
Merge pull request #3728 from serkodev/fix-caps-lock-ime
...
Fix Caps lock bug when using some IME on macOS
2022-06-26 09:31:36 -07:00
Daniel Imms
1801403ce2
Move off deprecated keyCode -> key
2022-06-26 09:22:39 -07:00
Daniel Imms
4c7d89e67d
Merge branch 'master' into fix-caps-lock-ime
2022-06-26 09:09:43 -07:00
Daniel Imms
5d3a9e864d
Merge pull request #3726 from Eugeny/fix-macos-alt-n
...
Fix Alt-N/E/U handling in macOS, handle Alt-Shift-Letter
2022-06-26 09:04:33 -07:00
Daniel Imms
911d92200a
Merge pull request #3763 from robinfai/master
...
Send the record separator for C-@, like some other keyboards
2022-06-26 07:46:38 -07:00
Daniel Imms
1a788f6363
Merge pull request #3869 from pfitzseb/sp/wheel-mouse-event-per-line
...
Only send wheel mouse event when scrolling a line or more
2022-06-26 07:43:06 -07:00
Daniel Imms
a354f36e6f
Merge pull request #3871 from crcastle/patch-1
...
Add Render to list of xterm.js users
2022-06-24 13:11:08 -07:00
Chris Castle
343e1c8a86
Add Render to list of xterm.js users
2022-06-24 12:59:26 -07:00
Sebastian Pfitzner
783722c2f3
Add missing semicolons
2022-06-22 11:58:32 +02:00
Sebastian Pfitzner
44e4b56ced
Only send wheel mouse event when scrolling a line or more
2022-06-22 11:52:00 +02:00
Megan Rogge
52044e9aad
clear all markers ( #3868 )
2022-06-21 18:26:02 +00:00
Daniel Imms
4cdf308c2f
Merge pull request #3866 from Tyriar/vsc_152478
...
Fix clipping of non-powerline chars
2022-06-17 08:12:13 -07:00
Daniel Imms
d24a27d93e
Fix clipping of non-powerline chars
...
See microsoft/vscode#152478
2022-06-17 08:01:10 -07:00
Daniel Imms
55beec8b96
Merge pull request #3865 from mmis1000/fix/serialize-addon-test-typo
...
Fix a typo in serialize addon test
2022-06-16 14:16:06 -07:00
mmis1000
81dce7a4ba
Fix typo in serialize addon test
2022-06-17 01:09:50 +08:00
Daniel Imms
ddf3f08a6c
Merge pull request #3862 from Tyriar/3861
...
Fix webgl clipping powerline y axis
2022-06-14 18:03:11 -07:00
Daniel Imms
8c6140c2e3
Merge pull request #3863 from Tyriar/3847
...
Fix webgl min contrast ratio api tests
2022-06-14 18:01:01 -07:00
Daniel Imms
1639c0a031
Fix webgl min contrast ratio api tests
...
Fixes #3847
2022-06-14 16:45:19 -07:00
Daniel Imms
fb950fcbe5
Fix webgl clipping powerline y axis
...
Fixes #3861
2022-06-14 15:09:00 -07:00
Daniel Imms
1bb465d6b0
Merge pull request #3860 from Tyriar/3855
...
Fix column selection issues
2022-06-14 09:40:41 -07:00
Daniel Imms
efb939d171
Fix column selection issues
...
The following parts were not respecting the column selection edge case where the
start column was greater than the end column while the start row was less than the
end row:
- Webgl renderer
- DOM renderer
- Selection service (ie. getSelection(), I don't think this was a
regression)
Fixes #3855
2022-06-14 06:51:54 -07:00
Daniel Imms
fe99422ca4
Merge pull request #3856 from Tyriar/custom_powerline_glyphs
...
Custom common powerline glyph rendering
2022-06-14 06:24:47 -07:00
Daniel Imms
d28819de41
Add horizontal padding to powerline outline chars
2022-06-14 06:12:05 -07:00
Daniel Imms
f8e9f1813a
Custom common powerline glyph rendering
...
Fixes #3827
2022-06-11 16:15:04 -07:00
Daniel Imms
48b8e31794
Merge pull request #3852 from umaxyon/issue/3851-organize_demo_test_buttons
...
organize demo test buttons
2022-06-10 12:12:39 -07:00
Simon Lamon
a54426ccb8
extended colors
2022-06-04 12:39:43 +00:00
Umaxyon
58b657bc3b
organaize demo test buttons
2022-06-04 12:52:43 +09:00
Megan Rogge and Daniel Imms
bc9c9dd6fd
fix #3846 ( #3849 )
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-06-02 18:02:36 +00:00
Megan Rogge
6b16732192
exclude box and block glyphs from contrast ratio demands ( #3844 )
2022-06-01 17:05:27 -07:00
Daniel Imms
5aaa8dafc5
Merge pull request #3841 from Tyriar/3840
...
Allow up to double the size for overview ruler decorations
2022-05-27 12:03:21 -07:00
Daniel Imms
7a652c4169
Allow up to double the size for overview ruler decorations
...
Fixes #3840
2022-05-27 11:56:54 -07:00
Daniel Imms
1980f675f9
Merge pull request #3839 from Tyriar/3838
...
Support opaque selections in DOM renderer
2022-05-27 10:58:16 -07:00
Daniel Imms
98c40e3f8e
Add opaque selection dom renderer tests
2022-05-27 10:46:23 -07:00
Daniel Imms
6ced3014cf
Support opaque selections in DOM renderer
...
Brings the DOM renderer closer to the webgl renderer which draws the text
on top of the selection. This is done by leveraging the override system
similar to in webgl and as well as forcing the element above the selection.
This also improves contrast color caching for the DOM renderer.
This should result in a slight performance hit but only when a selection
is being made. The improved contrast seems worth it.
Fixes #3838
2022-05-27 10:38:32 -07:00
Daniel Imms
3e8aecaea3
Merge pull request #3837 from lp1dev/patch-1
...
Update of README to add hack.courses
2022-05-27 07:37:04 -07:00
Jérémie
e3c008ba38
Update of README to add hack.courses
...
Update of README to add hack.courses as a project using xterm.js (https://hack.courses )
2022-05-27 15:52:40 +02:00
Daniel Imms
d2083c5e8c
Merge pull request #3835 from Tyriar/3834
...
Fix search when the search line contains a null character
2022-05-26 15:15:19 -07:00
Daniel Imms
0c0a34d888
Fix search when the search line contains a null character
...
Fixes #3834
2022-05-26 15:09:01 -07:00
Daniel Imms
cd975d22cc
Merge pull request #3831 from Tyriar/vscode148109
...
Test search event, fix returning -1 for no results
2022-05-26 11:58:47 -07:00
Daniel Imms
b5f53b341d
Test search event, fix returning -1 for no results
...
Fixes #3830
2022-05-26 11:37:54 -07:00
Daniel Imms
221db55680
Add find result count/index to demo
...
Part of #148109
2022-05-26 10:32:53 -07:00
Daniel Imms
5cc1114594
Merge pull request #3828 from Tyriar/powerlines
...
Add powerline symbol test button to demo
2022-05-25 06:35:51 -07:00
SerKo
6ad553483d
Merge branch 'master' into fix-caps-lock-ime
2022-05-24 22:49:52 +08:00
Daniel Imms
49872f9377
Merge pull request #3826 from Tyriar/vscode148061
...
Take padding into account when converting mouse coord to cell
2022-05-23 12:10:48 -07:00
Daniel Imms
1e17ba7a80
Add some NF icons
2022-05-23 12:08:28 -07:00
Daniel Imms
1c8b08d55c
Add test button to print all powerline symbols
...
Part of #3807
2022-05-23 10:42:31 -07:00
Daniel Imms
ca083f257c
Pass window in to fix tests
2022-05-23 07:23:15 -07:00
Daniel Imms
8b53b8c255
Take padding into account when converting mouse coord to cell
...
Part of microsoft/vscode#148061
2022-05-23 06:49:52 -07:00
Daniel Imms
ba078ca1f9
Merge pull request #3824 from Tyriar/toColor_standard
...
Standardize css.toColor output to #rrggbb[aa]
2022-05-20 12:48:16 -07:00
Daniel Imms and Megan Rogge
4ededf5b06
Update src/common/Color.test.ts
...
Co-authored-by: Megan Rogge <megan.rogge@microsoft.com >
2022-05-20 12:35:51 -07:00
Daniel Imms
384cd9db30
Standardize css.toColor output to #rrggbb[aa]
...
This will help reduce the chance of runtime exceptions that would
break the render loop.
2022-05-20 11:06:19 -07:00
Daniel Imms
55b420b016
Merge pull request #3823 from Tyriar/3814_2
...
Correct rgba() parsing to use float alpha channel
2022-05-20 06:50:03 -07:00
Daniel Imms
ddd43e0f09
Correct rgba() parsing to use float alpha channel
...
Fixes #3814
2022-05-20 06:34:17 -07:00
Daniel Imms
41fdb96b68
Merge pull request #3822 from Tyriar/3821
...
Deflake registerLinkProvider tests
2022-05-19 15:51:58 -07:00
Daniel Imms and Megan Rogge
e5fb255b79
Update package.json
...
Co-authored-by: Megan Rogge <megan.rogge@microsoft.com >
2022-05-19 15:51:31 -07:00
Daniel Imms and Megan Rogge
7f14bfc7d9
Update package.json
...
Co-authored-by: Megan Rogge <megan.rogge@microsoft.com >
2022-05-19 15:51:28 -07:00
Daniel Imms
8f97a5a786
Deflake registerLinkProvider tests
...
The root cause of this flakiness problem was related to the click event
handler. For some reason it would not go off on some links but it would
when clicking elsewhere in the terminal. I tried a bunch of things to
keep the click handler to no avail, instead opting to move to using
mousedown and mouseup events for activating links which comes with the
nice benefit of ensuring that the link on mouseup is the same one on
mousedown.
Fixes #3821
2022-05-19 15:30:12 -07:00
Daniel Imms
5353808437
Update playwright
2022-05-19 15:26:52 -07:00
Daniel Imms
38f8bc5f3c
Merge pull request #3820 from Tyriar/3818
...
Fix decoration positioning
2022-05-19 10:24:42 -07:00
Daniel Imms
48c21dc3ae
Merge pull request #3819 from Tyriar/3814
...
Support rgb() and rgba() in css.toColor
2022-05-19 10:24:32 -07:00
Daniel Imms
bcb71e854f
Fix decoration positioning
...
In _createElement the element wasn't set on the decoration yet.
Fixes 3818
2022-05-19 09:32:57 -07:00
Daniel Imms
e3c361327c
Support rgb() and rgba()
...
This is used for default theme colors and decoration bg/fg.
Fixes #3814
2022-05-19 09:23:36 -07:00
Daniel Imms
51ef27894e
Merge pull request #3815 from ChaseKnowlden/ChaseKnowlden/issue3814
...
Add #rgba format
2022-05-19 09:07:48 -07:00
Daniel Imms
7edc11bd04
Correct #rgba, add #rgb and tests
2022-05-19 09:00:50 -07:00
ChaseKnowlden
ebe55e5b5f
Add rgba format
2022-05-18 20:28:59 -04:00
Daniel Imms
3d541dd323
Merge pull request #3813 from Tyriar/3810
...
Support selectionForeground theme color
2022-05-18 04:14:34 -07:00
Daniel Imms
53f05de3e7
Add selectionForeground webgl unit test
2022-05-17 12:12:01 -07:00
Daniel Imms
d1a87facfd
Fix selectionForeground column select mode on dom/canvas
2022-05-17 12:10:52 -07:00
Daniel Imms
18a2751471
Fix selectionForeground handling in test
2022-05-17 11:55:14 -07:00
Daniel Imms
59e1bddb6e
Merge branch 'master' into 3810
2022-05-17 11:43:06 -07:00
Daniel Imms
d6ad4a4fc3
Remove unneeded dep
2022-05-17 11:41:13 -07:00
Daniel Imms
f9bd0b8fed
Fix setting selection foreground on webgl
2022-05-17 11:39:14 -07:00
Daniel Imms
ec26820ea6
Fix circular dependency mouseservice <-> renderservice
2022-05-17 11:23:33 -07:00
Daniel Imms
d7fdf17eab
Ensure color mode is set for selection foreground overrides
2022-05-17 11:20:20 -07:00
Megan Rogge
a5f2ea336e
update search results onBufferContentsChange ( #3811 )
2022-05-17 10:00:55 -07:00
Megan Rogge
de5df69333
share animation frame with renderService ( #3796 )
2022-05-17 09:52:46 -07:00
Daniel Imms
f2b90d690f
Selection foreground for canvas (circular dep issue)
2022-05-16 15:17:03 -07:00
Daniel Imms
eec53261e0
Merge pull request #3779 from Tyriar/3773
...
Layout dimension left/right after renderer dims change
2022-05-16 14:29:16 -07:00
Daniel Imms
eb96187801
Support selectionForeground in dom
...
Part of #3810
2022-05-16 10:08:51 -07:00
Daniel Imms
c502272373
Support selection foreground in webgl
...
Part of #3810
2022-05-16 09:40:07 -07:00
Daniel Imms
87bc48f5bc
Merge pull request #3808 from Tyriar/trigger_webgl
...
Whitespace change to trigger build
2022-05-13 12:32:36 -07:00
Daniel Imms
d7fb0141d2
Whitespace change to trigger build
...
The fix for #3720 didn't touch any file in the webgl addon so it didn't end
up releasing.
2022-05-13 12:32:17 -07:00
Daniel Imms
2fa125904a
Merge pull request #3806 from Tyriar/3720
...
Allow ensureContrastRatio to change luminance the other way
2022-05-13 11:31:37 -07:00
Daniel Imms
de03391c2d
Allow ensureContrastRatio to change luminance the other way
...
The higher ratio of the two results will be picked.
Fixes #3720
2022-05-13 11:19:38 -07:00
Daniel Imms
a38e97f1ec
Merge pull request #3805 from Tyriar/3804
...
Fire onSelectionChange when Terminal.select is called
2022-05-13 09:51:28 -07:00
Daniel Imms
5d98304249
Fire onSelectionChange when Terminal.select is called
...
Fixes #3804
2022-05-13 09:42:39 -07:00
Megan Rogge
82a6144fd1
reset search result index when buffer changes/ terminal is resized ( #3793 )
2022-05-13 08:47:56 -07:00
Daniel Imms
995080c40c
Merge pull request #3802 from Tyriar/3801
...
Allow styling active result decoration via .xterm-find-active-result-decoration
2022-05-13 08:47:11 -07:00
Daniel Imms
5ad12dff8d
Merge pull request #3800 from Tyriar/3799
...
Dom renderer: top decorations above selection
2022-05-13 08:46:47 -07:00
Daniel Imms and Megan Rogge
a458bae36d
Update src/browser/renderer/dom/DomRendererRowFactory.ts
...
Co-authored-by: Megan Rogge <megan.rogge@microsoft.com >
2022-05-13 08:46:40 -07:00
Daniel Imms
900200b871
Merge remote-tracking branch 'upstream/master' into 3773
2022-05-13 08:46:05 -07:00
Daniel Imms
77d5d52e71
Allow styling active result decoration via .xterm-find-active-result-decoration
...
Fixes #3801
2022-05-13 08:10:35 -07:00
Daniel Imms
1a50cfabe0
Dom renderer: top decorations above selection
...
Fixes #3799
2022-05-13 07:56:45 -07:00
Daniel Imms
3abbaa9ba9
Merge pull request #3678 from silamon/scrollbar-impro
...
Another way to turn off the scrollbar
2022-05-13 06:07:48 -07:00
Daniel Imms
5a9f2635d3
Merge branch 'master' into scrollbar-impro
2022-05-13 05:29:57 -07:00
SerKo
d24c473172
Merge branch 'master' into fix-caps-lock-ime
2022-05-13 15:38:02 +08:00
Daniel Imms
da93a35671
Merge pull request #3785 from Tyriar/layers
...
Support setting the layer of a decoration
2022-05-12 13:36:40 -07:00
Daniel Imms
7d4b61413e
Merge pull request #3786 from Tyriar/default_highlight
...
Highlight all matches in demo by default
2022-05-12 13:25:23 -07:00
Daniel Imms
13e33a8da4
Merge pull request #3787 from Tyriar/3780
...
Merge .xterm css rules
2022-05-12 13:25:07 -07:00
Daniel Imms
ede3d10528
Merge pull request #3788 from Tyriar/3762
...
Disable pointer events on the overview ruler
2022-05-12 13:24:53 -07:00
Daniel Imms
64ea96cc13
Merge pull request #3789 from Tyriar/3760
...
Add warning in demo code about flow control
2022-05-12 13:24:40 -07:00
Daniel Imms
47e3dc7bcd
Merge pull request #3792 from Tyriar/casing_fix2
...
Fix missed decorations casing
2022-05-12 11:50:33 -07:00
Daniel Imms
748d0cc74f
Fix missed decorations casing
2022-05-12 11:49:57 -07:00
Daniel Imms
343ea9bcd0
Merge pull request #3791 from Tyriar/decorations_lowercase2
...
Fix case of Decorations folder (take 2)
2022-05-12 11:20:10 -07:00
Daniel Imms
cd01157e55
Rename decorations2 -> decorations to fix casing
2022-05-12 11:19:07 -07:00
Daniel Imms
4cc4b2cd42
Rename Decorations -> decoration2 to fix casing
2022-05-12 11:18:49 -07:00
Daniel Imms
29c1264b42
Add warning in demo code about flow control
...
Fixes #3760
2022-05-12 11:04:48 -07:00
Daniel Imms
d84b71d4c6
Disable pointer events on the overview ruler
...
Fixes #3762
2022-05-12 10:59:57 -07:00
Daniel Imms
f18528d2bb
Clear _dimensionsChanged variable
2022-05-12 10:58:50 -07:00
Daniel Imms
ddde738326
Merge .xterm css rules
...
Fixes #3780
2022-05-12 10:57:12 -07:00
Daniel Imms
24919e36f0
Highlight all matches in demo by default
2022-05-12 10:54:36 -07:00
Daniel Imms
f5223d30b8
Fix typo
2022-05-12 10:52:16 -07:00
Daniel Imms
7b4423819e
Support setting the layer of a decoration
...
Fixes #3778
2022-05-12 10:51:11 -07:00
Daniel Imms
372c2970e6
Merge pull request #3782 from Tyriar/3774
...
Correct positioning of decoration elements
2022-05-12 10:16:06 -07:00
Daniel Imms
bc4158c9b8
Merge pull request #3783 from Tyriar/bg_decorations__selection_refactor
...
Remove selection-specific render pass, use bg overrides instead
2022-05-11 12:52:49 -07:00
Daniel Imms
8164c638e5
Merge branch 'master' into bg_decorations__selection_refactor
2022-05-11 12:34:28 -07:00
Daniel Imms
8b9fa324f4
Merge pull request #3775 from Tyriar/bg_decorations
...
Support for decorations to change cell foreground and background
2022-05-11 12:34:08 -07:00
Daniel Imms
0976b15709
Fix lint
2022-05-11 11:57:13 -07:00
Daniel Imms
181fb1cfe5
Remove selection-specific render pass, use bg overrides instead
...
Part of #3778
2022-05-11 11:46:44 -07:00
Daniel Imms
09aed4d339
Correct positioning of decoration elements
...
Fixes #3774
2022-05-11 10:27:35 -07:00
Daniel Imms
aeb4fa0fe9
Fix compile after bad merge
2022-05-11 10:15:18 -07:00
Daniel Imms
0ae5aedcf9
Merge branch 'master' into 3773
2022-05-11 10:13:57 -07:00
Daniel Imms
3d41f028e4
Layout dimension left/right after renderer dims change
...
Fixes #3773
2022-05-11 10:12:48 -07:00
Daniel Imms
324ea2ecb7
Clean up/resolve todos
2022-05-11 09:54:40 -07:00
Daniel Imms
999f255893
Fix sorted list edge case
2022-05-11 09:49:23 -07:00
Daniel Imms
931ee9e89e
Maintain decorations sorted by line
2022-05-11 09:34:51 -07:00
Daniel Imms
c0b4edaf31
Reduce duplicate with getDecorationsAtCell method
2022-05-11 08:37:42 -07:00
Daniel Imms
abdce874db
Fix cases where only one override was with tests
2022-05-11 08:31:09 -07:00
Daniel Imms
edba006045
Clear all decorations on reset
2022-05-10 12:32:06 -07:00
Daniel Imms
6b4df216d3
Remove unneeded code
2022-05-10 12:08:42 -07:00
Daniel Imms
f502f55ae1
Merge branch 'master' into bg_decorations
2022-05-10 11:50:01 -07:00
Daniel Imms
afe1d7ed6f
Fix webgl contrast tests since a bug in luminance was fixed
2022-05-10 11:48:37 -07:00
Daniel Imms
1628795557
Fix fg/bg flags being set by negative ints
2022-05-10 09:42:12 -07:00
Daniel Imms
e9643f5936
Ensure texture atlas isn't for overrides used in canvas renderer
2022-05-10 09:24:09 -07:00
Daniel Imms
ba61509fdd
Remove react to changes idea
2022-05-10 06:20:48 -07:00
Daniel Imms
a67e7286d3
Use correct row for override in webgl renderer
2022-05-10 06:16:32 -07:00
Daniel Imms
b85f5aacd6
Use correct row for override in canvas renderer
2022-05-10 06:14:53 -07:00
Daniel Imms
de574a27fc
Full re-render when there are decoration changes
2022-05-10 05:44:00 -07:00
Daniel Imms
7c87f5b47a
Start to use new API in search addon
2022-05-10 05:31:49 -07:00
Daniel Imms
0a26cee08b
Pull override color logic into a function
2022-05-10 05:06:20 -07:00
Daniel Imms
40716b8ca5
Consolidate override logic into model/WebglRenderer
2022-05-10 05:00:52 -07:00
Daniel Imms
d29388394c
Get Webgl rendering fg/bg overrides
2022-05-10 04:53:31 -07:00
Daniel Imms
714d4b1cd6
Fix fg color when there is a decoration override in canvas renderer
2022-05-10 04:06:06 -07:00
Daniel Imms
9f1db12b1b
bg/fg decorations mostly working in canvas renderer
2022-05-09 16:19:58 -07:00
Megan Rogge
56c7c5c4ed
check if undefined instead of index directly to fix search addon issue ( #3767 )
2022-05-09 15:55:33 -07:00
Daniel Imms
13abd2aa96
Support min contrast ratio in decoration fg/bg
2022-05-09 15:39:02 -07:00
Daniel Imms
10598462d0
Fix color channel used by luminance functions
2022-05-09 15:36:54 -07:00
Daniel Imms
0c6877f46f
Move color to common, work with IColor
...
IColor is needed for the minimum contrast ratio function currently.
2022-05-09 14:00:39 -07:00
Daniel Imms
0c4ee0db65
Merge pull request #3769 from Tyriar/145751
...
Only create decoration elements when they are actually rendered
2022-05-09 12:45:19 -07:00
Daniel Imms
5d09d3b217
Merge pull request #3768 from Tyriar/clean_up
...
Correct param names/jsdoc in SearchAddon
2022-05-09 12:45:03 -07:00
Daniel Imms
63eb9a4555
Initial bg/fg renderer decoration proof of concept
...
Part of #3770
2022-05-09 12:44:51 -07:00
Daniel Imms
b7c0332626
Only create decoration elements when they are actually rendered
...
Part of microsoft/vscode#145751
2022-05-09 10:52:18 -07:00
Daniel Imms
95979c4a7d
Correct param names/jsdoc in SearchAddon
2022-05-09 10:34:40 -07:00
binghuiluo
5019e14753
Send the record separator for C-@, like some other keyboards
2022-05-07 17:19:04 +08:00
Daniel Imms
85e0625078
Merge pull request #3761 from Tyriar/vscode148685
...
Send ctrl modifier in page up/down sequence
2022-05-06 07:45:43 -07:00
Daniel Imms
873e3745ec
Send ctrl modifier in page up/down sequence
...
Part of microsoft/vscode#148685
2022-05-06 07:36:22 -07:00
SerKo
9b19187307
Merge branch 'master' into fix-caps-lock-ime
2022-05-05 19:55:56 +08:00
Megan Rogge
218745ab85
refine name for clearDecorations param ( #3757 )
2022-05-02 14:20:25 -07:00
Megan Rogge
1687d06f1c
use correct powerline glyph range ( #3756 )
2022-05-02 20:50:11 +00:00
jerch
261209cab6
Merge pull request #3754 from xtermjs/dependabot/npm_and_yarn/ansi-regex-5.0.1
...
Bump ansi-regex from 5.0.0 to 5.0.1
2022-05-01 18:45:27 +02:00
dependabot[bot]
bb55cd2881
Bump ansi-regex from 5.0.0 to 5.0.1
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-01 16:05:46 +00:00
jerch
7b38283db0
Merge pull request #3753 from jerch/fix_deps_warning
...
update benchmark version to silence vulnerability warning
2022-05-01 18:03:36 +02:00
Jörg Breitbart
908e84a1f8
update benchmark version to silence vul warning
2022-05-01 17:55:04 +02:00
Megan Rogge
656912c934
on data/ buffer change, update the match count ( #3752 )
2022-04-27 19:10:00 +00:00
Megan Rogge
7fa32af051
clear cachedSearchTerm when decorations are cleared ( #3750 )
2022-04-27 18:20:00 +00:00
Megan Rogge
fa92e6074d
search fixes ( #3748 )
2022-04-26 15:45:30 -07:00
Megan Rogge
239f669041
add max find result count for which to show decorations ( #3745 )
2022-04-21 16:04:08 -07:00
SerKo
214555085a
Merge branch 'master' into fix-caps-lock-ime
2022-04-21 20:02:49 +08:00
Megan Rogge
da33543ffb
align isPowerlineGlyph across renderers ( #3743 )
2022-04-20 14:25:46 -07:00
SerKo
e643286cd5
Merge branch 'master' into fix-caps-lock-ime
2022-04-20 17:34:38 +08:00
Megan Rogge
38f0dd9be2
apply to dom and webgl too ( #3742 )
2022-04-19 18:46:39 -07:00
Megan Rogge
6d801311cd
exclude powerline char range from contrast demands ( #3740 )
2022-04-19 15:23:26 -07:00
Megan Rogge
3bd37115d1
queue refresh when deco is removed ( #3738 )
2022-04-19 08:49:16 -07:00
Megan Rogge
0785a1bf24
fix #3735 ( #3736 )
2022-04-19 08:25:17 -07:00
SerKo
413a2b22fa
Merge branch 'master' into fix-caps-lock-ime
2022-04-15 15:23:22 +08:00
Megan Rogge
e98b6315e4
always update overview ruler decorations ( #3733 )
2022-04-13 18:19:22 +00:00
SerKo
d9a33d080b
Merge branch 'master' into fix-caps-lock-ime
2022-04-10 07:02:52 +08:00
Megan Rogge
85b5161380
don't return if results are the same bc color might have changed ( #3731 )
2022-04-08 21:07:46 +00:00
Megan Rogge
2b916a24aa
get overview ruler to update when color is changed ( #3730 )
2022-04-08 13:35:55 -07:00
SerKo
ccaf0a71c6
fix: caps lock bug on macOS IME
2022-04-07 06:07:28 +08:00
Eugene Pankov
b3fd901699
lint
2022-04-03 17:44:15 +02:00
Eugene Pankov
a32e3958d8
fixed macOptionIsMeta on macOS and added Alt-Shift-Letter key handling
2022-04-03 17:39:18 +02:00
Daniel Imms
dbd999c4a4
Merge pull request #3723 from Tyriar/3703_ruler_perf
...
Improve performance of overview ruler by computing and rendering color zones
2022-04-01 09:58:28 -07:00
Daniel Imms
8158a16629
Remove unused _decorationElements
2022-04-01 07:07:13 -07:00
Daniel Imms
7eace4d479
Add tests for ColorZoneStore
2022-04-01 07:05:05 -07:00
Daniel Imms
e98a20ba9e
Fix typo in test name
2022-04-01 07:04:52 -07:00
Daniel Imms
d072a628ca
Object pool, correct merging of zones
2022-04-01 06:25:55 -07:00
Daniel Imms
6b26a1bcf8
Stick to integers for padding and render full after
2022-04-01 06:05:41 -07:00
Daniel Imms
8524c23deb
Render overview ruler using color zones
...
Fixes #3703
2022-04-01 05:55:57 -07:00
Daniel Imms
7c5853bf00
Create color zone system
...
Part of #3703
2022-04-01 05:30:01 -07:00
Daniel Imms
23afd53301
Merge pull request #3718 from LuckyGeck/fixweblink
...
Fix WebLinkProvider to handle wrapped lines properly.
2022-03-31 09:23:06 -07:00
Daniel Imms
1d728f7f87
Merge branch 'master' into fixweblink
2022-03-31 09:12:15 -07:00
Daniel Imms
5030dc3d6a
Merge pull request #3669 from silamon/tripleselect
...
Fix triple select edge case
2022-03-31 09:10:31 -07:00
Daniel Imms
47fe7b2318
Merge pull request #3667 from childrentime/dev_wlw
...
Replace all getOption/setOption usage with options
2022-03-31 09:09:49 -07:00
Daniel Imms
51d18e533f
Merge branch 'master' into dev_wlw
2022-03-31 09:00:09 -07:00
Megan Rogge
842f4c2088
Add search result count to SearchAddon ( #3716 )
2022-03-30 20:08:55 -04:00
Pavel Sychev
c8b0ddbc72
Merge branch 'master' into fixweblink
2022-03-30 17:10:29 +02:00
Daniel Imms
4319df0eeb
Merge pull request #3719 from LuckyGeck/addregex
...
Expose urlRegex in the public .d.ts file.
2022-03-30 07:59:17 -07:00
Daniel Imms
bd3bd7fda8
Remove duplicate interface
2022-03-30 07:58:35 -07:00
Pavel Sychev
7f87b46328
Expose urlRegex in the public .d.ts file.
2022-03-30 14:30:56 +02:00
Pavel Sychev
32ae29be37
Fix WebLinkProvider to handle wrapped lines properly.
2022-03-30 14:27:02 +02:00
Daniel Imms
89af5b1098
Merge pull request #3713 from CommanderRoot/refactor/rm-deprecated-substr
...
refactor: replace deprecated String.prototype.substr()
2022-03-28 06:58:38 -07:00
Daniel Imms
5aaed8cf0b
Merge pull request #3715 from xtermjs/dependabot/npm_and_yarn/minimist-1.2.6
...
Bump minimist from 1.2.5 to 1.2.6
2022-03-28 06:40:41 -07:00
dependabot[bot]
06f3f8f267
Bump minimist from 1.2.5 to 1.2.6
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-28 13:30:37 +00:00
Daniel Imms
14d22a2002
Merge pull request #3714 from xtermjs/dependabot/npm_and_yarn/addons/xterm-addon-ligatures/minimist-1.2.6
...
Bump minimist from 1.2.5 to 1.2.6 in /addons/xterm-addon-ligatures
2022-03-28 06:29:42 -07:00
dependabot[bot]
4337326169
Bump minimist from 1.2.5 to 1.2.6 in /addons/xterm-addon-ligatures
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-26 15:33:57 +00:00
Tobias Speicher
28dcd38a53
refactor: replace deprecated String.prototype.substr()
...
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com >
2022-03-25 20:41:06 +01:00
Daniel Imms
bb2367ab4a
Merge pull request #3711 from Tyriar/3705_2
...
Don't change overview ruler position based on decorations
2022-03-24 08:06:04 -07:00
Daniel Imms
02795f8803
Don't change overview ruler position based on decorations
...
The original fix for #3705 ended up revealing this other bug; the canvas
shouldn't be set based on the anchor of its decorations.
Fixes #3705
2022-03-24 08:02:52 -07:00
Daniel Imms
8528e8e83b
Merge pull request #3710 from Tyriar/3705
...
Don't override decoration positions
2022-03-24 07:07:03 -07:00
Daniel Imms
1f690c7703
Merge remote-tracking branch 'upstream/master' into 3705
2022-03-24 07:06:36 -07:00
Daniel Imms
24fb498757
Don't override decoration positions
...
This also fixes an exception that was throwing where we only allowed links
within the terminal's 'rows', which should have been buffer length
Fixes #3705
Part of microsoft/vscode#145808
2022-03-24 07:05:16 -07:00
Megan Rogge
7836097e56
Merge pull request #3709 from meganrogge/rows
...
don't throw if row > terminal.rows
2022-03-23 19:27:18 -04:00
meganrogge
86f80b344b
don't throw if row > terminal.rows
2022-03-23 19:20:16 -04:00
Daniel Imms
49bcb969b6
Merge pull request #3708 from Tyriar/search_colors
...
Allow configuring search overview ruler and border color
2022-03-23 15:10:58 -07:00
Daniel Imms
b55c7e342a
Improve setting names
2022-03-23 15:09:35 -07:00
Daniel Imms
23ed3327ce
Allow configuring search overview ruler and border color
...
Part of microsoft/vscode#145744
Part of microsoft/vscode#145742
Part of microsoft/vscode#145746
2022-03-23 15:04:13 -07:00
Megan Rogge
d57329f7e5
Merge pull request #3704 from meganrogge/emacs
...
add ST sequence, fix emacs
2022-03-23 17:46:38 -04:00
meganrogge and jerch
f6a384b401
fix tests
...
Co-authored-by: jerch <jerch@rockborn.de >
2022-03-23 17:39:10 -04:00
meganrogge
79c990d73e
Revert "fix most of tests"
...
This reverts commit becab08b6a .
2022-03-23 15:43:12 -04:00
meganrogge
ecfc2d4b40
Merge branch 'emacs' of https://github.com/meganrogge/xterm.js into emacs
2022-03-23 15:12:07 -04:00
meganrogge
becab08b6a
fix most of tests
2022-03-23 15:12:00 -04:00
Megan Rogge
8ad0bd1638
Merge branch 'master' into emacs
2022-03-23 14:44:01 -04:00
Megan Rogge
544c10009c
Merge pull request #3707 from meganrogge/findImprovements
...
use correct start col/row in next search
2022-03-23 14:43:47 -04:00
meganrogge
3457fb4872
Merge branch 'emacs' of https://github.com/meganrogge/xterm.js into emacs
2022-03-23 14:18:02 -04:00
meganrogge and jerch
8e17cace6f
use escaped format
...
Co-authored-by: jerch <jerch@rockborn.de >
2022-03-23 14:17:54 -04:00
meganrogge
93f7ad86da
Merge branch 'findImprovements' of https://github.com/meganrogge/xterm.js into findImprovements
2022-03-23 14:03:24 -04:00
meganrogge
3a0f64545e
throw for invalid row or col
2022-03-23 14:01:56 -04:00
Megan Rogge
5af5fe319b
Merge branch 'master' into findImprovements
2022-03-23 13:57:22 -04:00
meganrogge
b9d10f1453
use correct start col/row
2022-03-23 13:54:01 -04:00
Megan Rogge
14bfc0bf0e
Merge branch 'master' into emacs
2022-03-23 12:54:50 -04:00
meganrogge
078d88fbbe
pass in escape sequence with ESC notation"
2022-03-23 12:54:19 -04:00
meganrogge
dfe35a93d5
add ST sequence
2022-03-23 11:48:02 -04:00
Megan Rogge
7ff27240f0
Merge pull request #3702 from meganrogge/overviewrulerFix
2022-03-22 20:04:00 -04:00
meganrogge
550b19f334
refactor
2022-03-22 16:41:50 -04:00
meganrogge
74409da947
move resetting of var
2022-03-22 15:09:54 -04:00
meganrogge
1f60a398b2
on render, fire when height has changed (was 0)
2022-03-22 15:04:22 -04:00
meganrogge
21e1c5ef58
refresh canvas dimensions on refresh
2022-03-22 01:53:10 -04:00
Daniel Imms
dddde8ec23
Merge pull request #3698 from meganrogge/findAll
...
Show all matches when searching
2022-03-21 17:01:18 -07:00
Daniel Imms
43a014e8c1
Fix decoration lifecycle issues
2022-03-21 16:57:49 -07:00
Daniel Imms
b39477d81a
Fix full decorations
2022-03-21 16:45:48 -07:00
Daniel Imms
6ef1bdd7ce
Debounce onData listener
2022-03-21 16:37:46 -07:00
Daniel Imms
f9deb2f840
Don't set overview ruler width when using find
...
An embedder may not want to enable it
2022-03-21 16:34:48 -07:00
Daniel Imms
23076ba6cc
Fix duplicate decorations getting created
2022-03-21 16:24:34 -07:00
Daniel Imms
fe530d92ec
Ensure marker is disposed when decoration is
2022-03-21 16:11:31 -07:00
Daniel Imms
efda0e77a9
Fix indentation properly this time
2022-03-21 16:04:23 -07:00
Daniel Imms
87dd275a51
Undo change to Terminal.ts
2022-03-21 16:03:59 -07:00
Daniel Imms
ef3695f727
Move setting opacity into js
2022-03-21 16:03:10 -07:00
Daniel Imms
09d1a01126
Add ISearchDecorationOptions to the d.ts
2022-03-21 16:01:34 -07:00
Daniel Imms
7a70db709c
Fix API indentation
2022-03-21 15:51:51 -07:00
meganrogge
7f131aa19a
fix error
2022-03-21 18:16:35 -04:00
meganrogge
4645ef706e
refactor
2022-03-21 18:13:08 -04:00
meganrogge
866ee23df9
add disposeDecorations helper
2022-03-21 15:45:45 -04:00
meganrogge
fefdd8a4e9
clearDecorations
2022-03-21 15:44:17 -04:00
meganrogge
7a502c6b83
use const enum
2022-03-21 15:43:08 -04:00
meganrogge
90dca7d650
Merge branch 'findAll' of https://github.com/meganrogge/xterm.js into findAll
2022-03-21 15:37:45 -04:00
meganrogge
e8aa4eba75
IDecorationColor -> ISearchDecorationOptions
2022-03-21 15:36:39 -04:00
Megan Rogge and Daniel Imms
64d5af38f5
Update addons/xterm-addon-search/src/SearchAddon.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-03-21 15:35:01 -04:00
meganrogge
4cea6b3f41
revert a breaking change
2022-03-21 13:35:56 -04:00
meganrogge
b9331ec810
Merge branch 'findAll' of https://github.com/meganrogge/xterm.js into findAll
2022-03-21 13:07:34 -04:00
meganrogge
97e4af3707
only highlight all matches when decorations are requested
2022-03-21 13:07:25 -04:00
Megan Rogge
faa3769ed1
Merge branch 'master' into findAll
2022-03-21 12:58:05 -04:00
meganrogge
1098173908
use set timeout
2022-03-21 11:45:45 -04:00
meganrogge
8ff34a6aee
update decorations dynamically when the buffer changes
2022-03-21 11:17:24 -04:00
meganrogge
bec4cb37d4
set data changed to false if true
2022-03-21 10:58:44 -04:00
meganrogge
12a999dfe0
get rid of start row/col code
2022-03-21 10:54:01 -04:00
meganrogge
8225ecd3ba
refactor from highlightAllMatches -> decorations
2022-03-21 10:24:46 -04:00
Megan Rogge
31c11c7a65
Merge pull request #3697 from Tyriar/3692
...
Polish rendering of overview ruler decorations
2022-03-20 12:34:10 -04:00
meganrogge
a0aae62cb7
get rid of start col end col
2022-03-18 19:43:00 -04:00
meganrogge
e79c21d4b2
get it to work for previous too
2022-03-18 19:24:27 -04:00
meganrogge
61e5c10fd3
pull apart and refactor findNext
2022-03-18 19:07:39 -04:00
meganrogge
fef30bdba4
revert row register marker changes
2022-03-18 15:38:31 -04:00
meganrogge
61c2ca71d8
Metrge branch 'findAll' of https://github.com/meganrogge/xterm.js into findAll
2022-03-18 15:32:31 -04:00
meganrogge
8328fcac52
track disposable
2022-03-18 15:32:24 -04:00
Megan Rogge and Daniel Imms
dd503785be
Update css/xterm.css
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-03-18 15:28:16 -04:00
meganrogge
85683a457d
add to col, not row
2022-03-18 15:27:50 -04:00
meganrogge
15c2432b6f
jsdoc
2022-03-18 15:23:49 -04:00
meganrogge
66dcd1694c
clean up jsdoc
2022-03-18 15:13:49 -04:00
meganrogge
8e68c67a0c
applyStyles
2022-03-18 15:07:33 -04:00
Megan Rogge
d2913d607d
Merge branch 'master' into findAll
2022-03-18 14:47:51 -04:00
meganrogge
01fd148673
clean up
2022-03-18 14:46:49 -04:00
meganrogge
47ec31361c
support colors
2022-03-18 14:14:02 -04:00
Daniel Imms
39d1546753
Draw full decorations on top
...
Fixes #3696
2022-03-18 10:59:10 -07:00
Daniel Imms
b5f208294d
Clean up
2022-03-18 10:56:49 -07:00
Daniel Imms
77622f8919
Align full with other decorations
...
Fixes #3692
2022-03-18 10:54:11 -07:00
Daniel Imms
816220ebd2
Round dpr for more crisp decorations
2022-03-18 10:51:02 -07:00
Daniel Imms
4a661da57b
Use object properties for fast access to precalculated draw args
2022-03-18 10:50:28 -07:00
Daniel Imms
f43afde8df
Respect device pixel ratio in overview ruler
2022-03-18 10:42:26 -07:00
meganrogge
6c4f8b42dd
append to results
2022-03-18 13:29:59 -04:00
meganrogge
a1468d0f58
use start row and col
2022-03-18 13:12:32 -04:00
meganrogge
c8dc679086
Merge branch 'master' into findAll
2022-03-18 12:05:13 -04:00
meganrogge
9bc5090bac
use a map
2022-03-18 11:47:26 -04:00
Megan Rogge
29e9685839
Merge pull request #3695 from meganrogge/fixes
...
queue refresh on dispose of decoration
2022-03-17 16:38:55 -04:00
meganrogge
02e2727fb5
fix typos
2022-03-17 16:36:34 -04:00
meganrogge
a05cdbd48e
Remove accidental import
2022-03-17 16:30:55 -04:00
meganrogge
8f1dcecb50
dispose of decoration
2022-03-17 16:23:37 -04:00
meganrogge
bb2193676b
fix problems
2022-03-17 16:20:47 -04:00
Megan Rogge
f5b5716582
Merge pull request #3693 from meganrogge/clearRuler
...
clear overview ruler canvas when decoration is disposed
2022-03-17 15:57:56 -04:00
Megan Rogge
38ccf1d5c7
Merge pull request #3694 from meganrogge/full
...
Add overviewRulerOptions position 'full'
2022-03-17 15:41:14 -04:00
meganrogge
ba4252bc0b
fix merge result
2022-03-17 15:21:29 -04:00
Megan Rogge
900d0132cb
Merge branch 'master' into full
2022-03-17 15:20:00 -04:00
meganrogge
5a6a275a53
use interface
2022-03-17 15:18:21 -04:00
meganrogge
731432a852
set fallback
2022-03-17 15:16:28 -04:00
meganrogge
c70be89bc2
fix #3690
2022-03-17 15:14:35 -04:00
meganrogge
03bc29e0ed
fix #3691
2022-03-17 15:02:57 -04:00
Daniel Imms
eb562b5d89
Merge pull request #3680 from Eugeny/electron-13-sogou-fix
...
IME: handle missing compositionend events for Sogou IME
2022-03-17 09:23:06 -07:00
Daniel Imms
d60431f4bf
Merge branch 'master' into electron-13-sogou-fix
2022-03-17 09:20:46 -07:00
meganrogge
de56d04ae5
return decoration from show result
2022-03-17 11:08:40 -04:00
meganrogge
c2145d5125
on dispose, clear the canvas at that position
2022-03-17 10:38:44 -04:00
meganrogge
90f64ba6cc
get it to work in the demo
2022-03-17 09:52:41 -04:00
meganrogge
26f8fce538
update color when select next happens
2022-03-16 17:23:33 -04:00
Megan Rogge
19399066f1
Merge branch 'xtermjs:master' into findAll
2022-03-16 16:55:49 -04:00
Megan Rogge
f38d7d86ac
Merge pull request #3689 from meganrogge/polish
...
allow changing the color for overviewRuler decorations
2022-03-16 16:09:31 -04:00
meganrogge
450ee0c6a5
tweak api
2022-03-16 15:58:06 -04:00
meganrogge
6899f9dc4d
tweak jsdoc
2022-03-16 15:55:15 -04:00
meganrogge
f92d1f46a6
only allow updating color
2022-03-16 15:36:03 -04:00
meganrogge
12efc1a455
Merge branch 'polish' of https://github.com/meganrogge/xterm.js into polish
2022-03-16 15:20:56 -04:00
meganrogge
f4593b76df
use options
2022-03-16 15:20:13 -04:00
Megan Rogge
9e8e6159cf
Merge branch 'master' into polish
2022-03-16 14:51:56 -04:00
Daniel Imms
b5d0a46ccb
Merge pull request #3688 from meganrogge/onRender
...
don't fire onRender for overviewRuler decorations
2022-03-16 11:47:26 -07:00
meganrogge
fb13f812f7
tweak description
2022-03-16 14:37:12 -04:00
meganrogge
6162ae9ffe
allow changing the color of overview decorations
2022-03-16 14:33:51 -04:00
Megan Rogge
b6e1925ba8
Merge branch 'master' into onRender
2022-03-16 14:07:12 -04:00
Megan Rogge
fd3b22e8ab
Merge pull request #3687 from meganrogge/master
...
Use proper height and fix alignment for positioned overview ruler decorations
2022-03-16 14:07:00 -04:00
meganrogge
a4212e98d2
fix #3686
2022-03-16 13:40:06 -04:00
meganrogge
e293d29fd3
add a comment
2022-03-16 13:31:03 -04:00
meganrogge
1a9965ef01
fix #3683
2022-03-16 13:20:48 -04:00
meganrogge
05eb12e6dd
start work on selection color
2022-03-16 13:03:21 -04:00
meganrogge
40b8854df4
rm bad decoration service
2022-03-16 12:47:46 -04:00
meganrogge
1bab173e99
fix problems
2022-03-16 12:45:18 -04:00
meganrogge
f678f0824b
merge
2022-03-16 11:39:34 -04:00
Daniel Imms
8b32d0c8ba
Merge pull request #3685 from xtermjs/Tyriar-patch-1
...
Remove unwanted console.log
2022-03-16 08:08:28 -07:00
Daniel Imms
8b55497adf
Remove unwanted console.log
2022-03-16 07:50:01 -07:00
Megan Rogge
3870507305
Merge pull request #3676 from meganrogge/merogge/scroll-bar-decorations
...
add overview ruler
2022-03-15 21:13:52 -04:00
meganrogge
a0a7abbf49
add overview options to decoration in demo
2022-03-15 21:05:14 -04:00
meganrogge
c277fb742d
add overviewRuler to addDecoration
2022-03-15 20:50:13 -04:00
meganrogge
7f8592282f
Merge branch 'merogge/scroll-bar-decorations' of https://github.com/meganrogge/xterm.js into merogge/scroll-bar-decorations
2022-03-15 19:29:43 -04:00
meganrogge
963ed59459
tweak demo
2022-03-15 19:29:33 -04:00
meganrogge
22d889ab07
use this._width instead of options
2022-03-15 19:15:59 -04:00
Megan Rogge and Daniel Imms
a4f830aa5d
Update typings/xterm.d.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-03-15 18:13:36 -04:00
Megan Rogge and Daniel Imms
6f5008dba6
Update typings/xterm.d.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-03-15 18:13:23 -04:00
Megan Rogge and Daniel Imms
5777fbc608
Update src/browser/tsconfig.json
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-03-15 18:13:10 -04:00
Megan Rogge and Daniel Imms
035a7f710e
Update src/browser/Terminal.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-03-15 18:12:58 -04:00
Megan Rogge and Daniel Imms
d92e636482
Update src/browser/Terminal.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-03-15 18:12:48 -04:00
meganrogge
b05db37ac1
adjust size based on position
2022-03-15 18:12:19 -04:00
meganrogge
53c432df27
add condition for when to update anchor
2022-03-15 17:58:44 -04:00
meganrogge
8ccbef850e
only update canvas dimensions when needed
2022-03-15 17:38:15 -04:00
meganrogge
19b212d570
Merge branch 'merogge/scroll-bar-decorations' of https://github.com/meganrogge/xterm.js into merogge/scroll-bar-decorations
2022-03-15 17:08:07 -04:00
meganrogge
a9a6920b13
more cleanup
2022-03-15 17:08:01 -04:00
Megan Rogge
9f6d4f52f3
Merge branch 'master' into merogge/scroll-bar-decorations
2022-03-15 17:07:34 -04:00
Megan Rogge and Daniel Imms
e7baccdbcd
Update src/browser/Terminal.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-03-15 17:07:01 -04:00
Megan Rogge and Daniel Imms
4cc0db4273
Update src/browser/Decorations/OverviewRulerRenderer.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-03-15 17:06:10 -04:00
Daniel Imms
3e283e9168
Merge pull request #3682 from Tyriar/3677
...
Restore cursor style too during serialize
2022-03-15 12:52:22 -07:00
Daniel Imms
a39facfe28
Restore cursor style too during serialize
...
Fixes #3677
2022-03-15 12:42:47 -07:00
meganrogge
1c38f859b7
Merge branch 'merogge/scroll-bar-decorations' of https://github.com/meganrogge/xterm.js into merogge/scroll-bar-decorations
2022-03-15 15:01:16 -04:00
meganrogge
cee2411fb4
more cleanup
2022-03-15 15:00:05 -04:00
Megan Rogge and Daniel Imms
fdc2bc4960
Update typings/xterm.d.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-03-15 14:59:48 -04:00
Megan Rogge and Daniel Imms
b146ffd30f
Update src/browser/Decorations/OverviewRulerRenderer.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-03-15 14:59:43 -04:00
Megan Rogge and Daniel Imms
45ecc837e4
Update typings/xterm.d.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-03-15 14:59:23 -04:00
Megan Rogge and Daniel Imms
5b8777267a
Update typings/xterm.d.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-03-15 14:59:17 -04:00
Megan Rogge and Daniel Imms
8488f1ad63
Update src/browser/Decorations/OverviewRulerRenderer.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-03-15 14:59:09 -04:00
Megan Rogge and Daniel Imms
a93f81c270
Update typings/xterm.d.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-03-15 14:57:34 -04:00
meganrogge
21263a5f60
cleanup
2022-03-15 14:54:37 -04:00
meganrogge
1905d7d8ca
add overview ruler tests
2022-03-15 13:28:50 -04:00
meganrogge
adaee5e495
use poll for instead
2022-03-15 13:23:09 -04:00
meganrogge
71649f5e40
fix tests
2022-03-15 13:21:34 -04:00
meganrogge
bd21c6afa5
adjust test
2022-03-15 13:15:43 -04:00
meganrogge
df929f2dd5
add position
2022-03-15 13:07:49 -04:00
meganrogge
e7e9d5ca4c
remove test
2022-03-15 12:56:34 -04:00
meganrogge
80e7963dbe
fix tests and add one
2022-03-15 12:43:03 -04:00
meganrogge
f98b4ce1ba
properly dispose of buffer decoration
2022-03-15 12:16:33 -04:00
meganrogge
520d5dd9eb
delete unused css
2022-03-15 11:37:20 -04:00
meganrogge
4ef5f6ae86
add listener for on option change
2022-03-15 10:53:32 -04:00
meganrogge
39f9c3507b
rename css, fix background color getting applied
2022-03-15 10:37:38 -04:00
meganrogge
3e47c96445
get demo to work the right way
2022-03-15 10:31:01 -04:00
meganrogge
079bbc8242
get it working in demo with overviewRulerwidth not considered"
2022-03-15 10:27:01 -04:00
meganrogge
bfb048110f
register service
2022-03-15 08:57:15 -04:00
Daniel Imms
fc09730ffb
Tidy up DecorationService
2022-03-14 16:07:30 -07:00
Daniel Imms
3dc4f1a7f2
Remove old decoration elements
2022-03-14 15:56:27 -07:00
Daniel Imms
65b9a6cfc4
Fix dependency injection for decoration service
2022-03-14 15:52:32 -07:00
Daniel Imms
4b615f48ff
Reduce state in buffer decorations
2022-03-14 15:48:09 -07:00
Daniel Imms
c8d1266f0a
Fix buffer decoration onRender, start using internal decoration
2022-03-14 15:24:53 -07:00
meganrogge
7dc3332b05
commit before reverting
2022-03-14 15:50:40 -04:00
meganrogge
ced06629d4
large refactor, broken
2022-03-14 15:11:20 -04:00
meganrogge
3b279e4a4d
round to the nearest pixel
2022-03-14 09:52:12 -04:00
meganrogge
9e598d9fba
allow setting width
2022-03-14 09:30:30 -04:00
Eugene Pankov
f025c0cf4e
ime: handle missing compositionend events for Sogou IME
2022-03-12 20:56:02 +01:00
Simon Lamon
8adf9473b7
check scrollback in fit addon
2022-03-12 09:36:06 +00:00
meganrogge
692df151e5
part 1 of massive refactor
2022-03-11 22:34:17 -05:00
meganrogge
4022277cec
scroll -> overviewRuler
2022-03-11 21:52:16 -05:00
meganrogge
1250ab637a
insert before
2022-03-11 17:52:04 -05:00
meganrogge
a14248d710
Merge branch 'merogge/scroll-bar-decorations' of https://github.com/meganrogge/xterm.js into merogge/scroll-bar-decorations
2022-03-11 17:15:40 -05:00
meganrogge
98a03dd477
re-arrange dom structure
2022-03-11 17:15:11 -05:00
Megan Rogge and Daniel Imms
2f85448e51
Update css/xterm.css
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-03-11 16:53:59 -05:00
meganrogge
b4de2787c7
hide decorations >= bufferService rows
2022-03-11 13:13:05 -05:00
meganrogge
e7bbc4151a
start at cursor position and mandate a width gt 0
2022-03-11 13:10:26 -05:00
meganrogge
453cb00807
use a class
2022-03-11 12:43:09 -05:00
meganrogge
da2c59d1d0
remove unused variable
2022-03-11 12:24:36 -05:00
meganrogge
372b6b633b
set incremental search to false
2022-03-11 12:13:43 -05:00
meganrogge
fa4479c797
use decoration width, find all and select next
2022-03-11 12:01:19 -05:00
meganrogge
96574425c7
get it to sort of work
2022-03-11 00:39:18 -05:00
meganrogge
60c11e87f6
start work
2022-03-10 23:40:00 -05:00
meganrogge
bdfc82d1b7
delete unused import
2022-03-10 10:25:34 -05:00
meganrogge
167a6fdbf6
use position sticky
2022-03-09 12:24:37 -06:00
meganrogge
89a0cee5a4
when alt buffer is active, hide decorations
2022-03-09 11:17:26 -06:00
meganrogge
724bbebc14
assign element in render call
2022-03-09 08:46:09 -06:00
meganrogge
e797070121
call on render
2022-03-09 08:42:12 -06:00
meganrogge
cfd7912afa
enable registering a decoration before attach to dom has happened
2022-03-09 08:40:40 -06:00
meganrogge
1948ec886f
only clear relevant part of canvas on marker dispose
2022-03-09 08:27:50 -06:00
meganrogge
249e73cd25
delete unused code
2022-03-08 21:35:31 -06:00
meganrogge
89112fb1ae
refactor to return / store IDecorations
2022-03-08 21:31:42 -06:00
meganrogge
d46a685925
more cleanup
2022-03-08 20:49:32 -06:00
meganrogge
785a8190a6
clean up
2022-03-08 20:41:49 -06:00
meganrogge
3a499fc35d
clear on dispose
2022-03-08 20:31:40 -06:00
meganrogge
4350c7ffcd
get it to work
2022-03-08 16:23:51 -06:00
meganrogge
a5a9c3b368
add scroll decorations
2022-03-08 14:48:15 -06:00
Daniel Imms
19367a6042
Merge pull request #3674 from coderaiser/feature/lint-using-putout
...
Lint using 🐊 Putout: part 6
2022-03-08 12:43:52 -08:00
coderaiser
2263a1579e
chore: lint using 🐊 Putout
2022-03-08 20:13:40 +02:00
Megan Rogge
622a5bb9c3
Merge pull request #3671 from meganrogge/master
...
during buffer clear, don't dispose of markers on first line
2022-03-02 20:55:15 -06:00
meganrogge
82706e77db
add to mockbuffer
2022-03-02 20:19:49 -06:00
meganrogge
e75b47ca01
use clearAllMarkers
2022-03-02 15:21:17 -06:00
Megan Rogge and Daniel Imms
1af22b24c0
Update src/common/buffer/Buffer.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-03-02 15:18:29 -06:00
Megan Rogge and Daniel Imms
85dd6a9e87
Update src/common/buffer/Buffer.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-03-02 15:18:24 -06:00
Megan Rogge
7bf12f9123
break into two methods
2022-03-02 20:29:31 +00:00
Megan Rogge
798b805fe0
Merge branch 'xtermjs:master' into master
2022-03-02 12:37:01 -06:00
meganrogge
f5b66775db
during buffer clear, don't dispose of markers on first line
2022-03-02 12:36:35 -06:00
Megan Rogge
ff6fa739c4
update addons
2022-03-02 17:58:27 +00:00
Simon Lamon
4799832a33
Keep the initial wrapped line upon dragging
2022-03-02 16:17:31 +00:00
Daniel Imms
c10a451381
Bring back getOption/setOption api test
2022-03-02 06:59:57 -08:00
Simon Lamon
78c2f06107
Fix triple select edge case
2022-03-02 13:19:53 +00:00
儿时
1e8901630c
Replace all getOption/setOption usage with options
2022-03-02 11:25:20 +08:00
Megan Rogge
f4da8af2e9
Merge pull request #3666 from xtermjs/release
...
v4.18.0
2022-02-28 11:30:38 -06:00
meganrogge
83cb7c3184
update version number
2022-02-28 11:14:42 -06:00
Daniel Imms
a8fbc8d7a3
Merge pull request #3664 from hello-smile6/patch-1
...
Add libv86 terminal forwarding to README "Programs using xterm.js"
2022-02-28 05:39:36 -08:00
Daniel Imms
c5a48043ae
Merge pull request #3663 from childrentime/dev_wlw
...
Make registerMarker's cursor offset optional
2022-02-28 05:33:51 -08:00
儿时
9b02e950f8
Make registerMarker's cursor offset optional
2022-02-27 13:25:07 +08:00
hello-smile6
14366e7c40
Add libv86 terminal forwarding
...
https://github.com/hello-smile6/libv86-terminal-forwarding
2022-02-26 16:54:05 -08:00
Daniel Imms
e1c149521a
Merge pull request #3662 from Tyriar/tyriar/faster_tasks
...
Make vscode tasks faster on reload
2022-02-25 11:34:52 -08:00
Daniel Imms
f5ccf75781
Merge branch 'master' into tyriar/faster_tasks
2022-02-25 11:25:42 -08:00
Daniel Imms
771d5f580a
Simplify task names
2022-02-25 11:25:38 -08:00
Daniel Imms
336b45a645
Make vscode tasks faster on reload
...
See microsoft/vscode#142413
2022-02-25 11:24:40 -08:00
Megan Rogge
0f15a78ba2
Merge pull request #3661 from meganrogge/master
...
set decoration line height
2022-02-24 13:13:32 -06:00
meganrogge
69d6d53631
Merge branch 'master' of https://github.com/meganrogge/xterm.js
2022-02-24 12:24:37 -06:00
meganrogge
2c76f9bee7
remove height as a factor for lineheight
2022-02-24 12:24:28 -06:00
Megan Rogge
0314d95a32
Merge branch 'xtermjs:master' into master
2022-02-24 12:19:31 -06:00
meganrogge
d06a2e1ad7
set line height of decoration
2022-02-24 12:19:05 -06:00
Megan Rogge
134e1ebb5f
Merge pull request #3659 from meganrogge/master
...
use proper y value for clearing markers
2022-02-24 12:18:54 -06:00
meganrogge
3c5b73df8e
:Merge branch 'master' of https://github.com/meganrogge/xterm.js
2022-02-24 12:07:59 -06:00
meganrogge
ef0312473e
re-add i-- so that markers on the same line get disposed of
2022-02-24 12:07:54 -06:00
Megan Rogge
7003c24126
Merge branch 'xtermjs:master' into master
2022-02-24 12:02:25 -06:00
meganrogge
34ec80a322
use ybase + y when clearing markers
2022-02-24 12:02:11 -06:00
Megan Rogge
ded6750ff5
Merge pull request #3658 from meganrogge/master
...
fix marker splice by decrementing index
2022-02-23 16:14:59 -06:00
Megan Rogge
d2e34277e8
Merge branch 'xtermjs:master' into master
2022-02-23 16:02:28 -06:00
meganrogge
e8579bd655
fix marker splice by decrementing index
2022-02-23 16:02:08 -06:00
Daniel Imms
a4f5cbf0cc
Merge pull request #3656 from Tyriar/decoration_queue
...
Queue a refresh when registering a decoration
2022-02-23 13:50:29 -08:00
Daniel Imms
b6937d05cd
Merge branch 'master' into decoration_queue
2022-02-23 13:41:46 -08:00
Daniel Imms
56b824d379
Queue a refresh when registering a decoration
...
Part of microsoft/vscode#143798
2022-02-23 13:40:56 -08:00
Megan Rogge
72f7e3fac3
Merge pull request #3655 from meganrogge/master
...
get Decoration dispose to actually work and revert document role accessibility change
2022-02-22 17:51:13 -06:00
meganrogge
d90bbdaa8a
Merge branch 'master' of https://github.com/meganrogge/xterm.js
2022-02-22 17:40:43 -06:00
meganrogge
8df23582d2
remove super.dispose call
2022-02-22 17:40:37 -06:00
Megan Rogge
e5459d7e24
Merge branch 'master' into master
2022-02-22 14:42:40 -06:00
meganrogge
b3d9104136
Revert "Add document role to accessibility tree root"
...
This reverts commit 3a71b3f11e .
2022-02-22 14:33:30 -06:00
Megan Rogge
912284c24c
Merge pull request #3654 from Tyriar/clear_marker
...
Fix clearMarkers when y=0 and avoid extra indexOf iterations
2022-02-22 14:24:40 -06:00
meganrogge
dd86776c6c
Merge branch 'master' of https://github.com/meganrogge/xterm.js
2022-02-22 14:18:43 -06:00
meganrogge
44bc9a1f58
don't dispose of marker on dispose of decoration
2022-02-22 14:18:39 -06:00
meganrogge
7b9d775a97
Merge branch 'master' of https://github.com/meganrogge/xterm.js
2022-02-22 14:14:09 -06:00
meganrogge
1da492646c
re-add dispose of marker
2022-02-22 14:14:05 -06:00
Megan Rogge
e7743c4baf
Merge branch 'xtermjs:master' into master
2022-02-22 14:12:42 -06:00
meganrogge
cd30f54276
get dispose to work
2022-02-22 14:12:29 -06:00
Megan Rogge
a923953373
Merge branch 'master' into clear_marker
2022-02-22 14:11:13 -06:00
Megan Rogge
c16b45cc1c
Merge pull request #3619 from silamon/htmlserialize
...
HTML serialization
2022-02-22 14:11:00 -06:00
Megan Rogge
365a07968b
Merge branch 'master' into htmlserialize
2022-02-22 10:09:49 -06:00
Daniel Imms
da5c24a33f
Fix clearMarkers when y=0 and avoid extra indexOf
2022-02-22 06:38:01 -08:00
Simon Lamon
92a61e6506
tests for serializeAsHTML
2022-02-19 13:17:26 +00:00
Megan Rogge
e08962b8b8
Merge pull request #3649 from meganrogge/master
...
on buffer clear, update markers array once each has been disposed of
2022-02-18 17:58:50 -06:00
meganrogge
f839a0da8b
use splice instead of filter
2022-02-18 17:50:12 -06:00
meganrogge
1efdc2e4ce
Merge branch 'master' of https://github.com/meganrogge/xterm.js
2022-02-18 16:11:47 -06:00
meganrogge
a4fee6d4b5
get rid of the bane of my existence
2022-02-18 16:11:00 -06:00
Megan Rogge
ed24e952f8
Merge branch 'xtermjs:master' into master
2022-02-18 15:38:26 -06:00
meganrogge
5b44deaa30
get rid of markers once they've been disposed via clear
2022-02-18 15:38:07 -06:00
Megan Rogge
db1fd267a6
Merge pull request #3644 from meganrogge/master
2022-02-15 21:13:36 -06:00
meganrogge
816f62cebc
remove unnecessary prop
2022-02-15 15:36:03 -06:00
meganrogge
b8e003768d
Merge branch 'master' of https://github.com/meganrogge/xterm.js
2022-02-15 11:57:27 -06:00
meganrogge
7134eaf20c
remove trailing space
2022-02-15 11:57:20 -06:00
Megan Rogge
b5477f71a8
Merge branch 'xtermjs:master' into master
2022-02-15 11:51:57 -06:00
meganrogge
f42e78d832
fix https://github.com/microsoft/vscode/issues/143076
2022-02-15 11:47:41 -06:00
meganrogge
9847dcaacc
fix #3641
2022-02-15 11:38:04 -06:00
Daniel Imms
d943aa3e5b
Merge pull request #3638 from xtermjs/dependabot/npm_and_yarn/addons/xterm-addon-ligatures/follow-redirects-1.14.8
...
Bump follow-redirects from 1.14.7 to 1.14.8 in /addons/xterm-addon-ligatures
2022-02-15 07:03:35 -08:00
dependabot[bot]
8098fd8d01
Bump follow-redirects in /addons/xterm-addon-ligatures
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-13 12:22:04 +00:00
Simon Lamon
4ca26f7e7b
text improvements
2022-02-12 09:42:08 +00:00
Megan Rogge
4da2db8e0b
Merge pull request #3637 from meganrogge/master
...
polish decorations
2022-02-11 17:19:34 -06:00
meganrogge
8dfed8f979
be safe and check if container contains element before removing
2022-02-11 17:08:08 -06:00
meganrogge
e720643315
get rid of unused
2022-02-11 17:04:11 -06:00
meganrogge
40e6dba43c
cleaner
2022-02-11 17:00:24 -06:00
meganrogge
7d357b941f
check if container has child before removing it
2022-02-11 16:48:40 -06:00
meganrogge
3f525fb960
fix #3636
2022-02-11 15:40:44 -06:00
meganrogge
de3a09e05f
fix #3633
2022-02-11 15:09:40 -06:00
meganrogge
d8573e38a8
cleanup dispose
2022-02-11 15:01:07 -06:00
meganrogge
e44659e8bd
remove unused ID - can just use marker's
2022-02-11 14:56:56 -06:00
meganrogge
f160436df8
dispose of decoration on dispose of marker
2022-02-11 14:54:01 -06:00
meganrogge
06357b1184
get rid of some unnecessary code
2022-02-11 14:08:46 -06:00
Megan Rogge
d64cbc41d5
Merge branch 'master' into htmlserialize
2022-02-10 10:29:43 -06:00
Megan Rogge
71bfbe434b
Merge pull request #3630 from meganrogge/merogge/buffer-marker-decoration
...
add Decorations
2022-02-09 19:30:49 -06:00
meganrogge
9ed95206c1
try to fix tests
2022-02-09 18:48:41 -06:00
meganrogge
14b71b611e
fix test
2022-02-09 18:38:47 -06:00
meganrogge
881bc4f0a8
different approach
2022-02-09 17:37:07 -06:00
meganrogge
b3b9f3c7cd
add poll for
2022-02-09 17:17:36 -06:00
meganrogge
74246497a4
get term to scroll so it refreshes
2022-02-09 15:29:28 -06:00
meganrogge
bf5fed083b
fix test
2022-02-09 14:55:24 -06:00
meganrogge
c7df6e3c2e
inject bufferService
2022-02-09 14:50:02 -06:00
meganrogge
6a79017484
on dispose, remove container
2022-02-09 14:33:33 -06:00
meganrogge
e5d4e96aad
fix test
2022-02-09 14:30:53 -06:00
meganrogge
93bfc18237
fix test
2022-02-09 12:10:50 -06:00
meganrogge
87675649e1
hide if invalid x
2022-02-09 11:55:17 -06:00
meganrogge
e2a402d80e
add tests
2022-02-09 11:51:25 -06:00
meganrogge
3e204584d9
refresh on dimensions changed
2022-02-09 10:12:25 -06:00
meganrogge
95c9fe11fb
save options in constructor
2022-02-09 10:07:20 -06:00
meganrogge
313cb2fe09
add a container
2022-02-09 09:55:30 -06:00
meganrogge
8e75cecba3
change how rendering happens
2022-02-09 09:44:24 -06:00
meganrogge
a2721d43fd
Merge branch 'merogge/buffer-marker-decoration' of https://github.com/meganrogge/xterm.js into merogge/buffer-marker-decoration
2022-02-09 08:57:14 -06:00
meganrogge
db9bdd46b4
fix some things
2022-02-09 08:56:45 -06:00
Megan Rogge and Daniel Imms
591f32d3eb
Update src/browser/Terminal.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-02-09 08:51:05 -06:00
meganrogge
fb4b19a393
polish
2022-02-09 08:47:10 -06:00
meganrogge
ae958c2b12
fix the problem
2022-02-08 21:41:26 -06:00
meganrogge
216849b135
Merge branch 'merogge/buffer-marker-decoration' of https://github.com/meganrogge/xterm.js into merogge/buffer-marker-decoration
2022-02-08 21:31:00 -06:00
meganrogge
cfe306fa32
break things
2022-02-08 21:30:11 -06:00
Megan Rogge and Daniel Imms
a9b496f06f
Update src/browser/services/DecorationService.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-02-08 21:18:31 -06:00
meganrogge
f2991a5636
cleanup
2022-02-08 21:10:34 -06:00
Megan Rogge and Daniel Imms
53606820a7
Update src/browser/services/DecorationService.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-02-08 21:02:15 -06:00
Megan Rogge and Daniel Imms
ad9818fb1a
Update typings/xterm.d.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-02-08 20:29:20 -06:00
meganrogge
88bd33f2d7
bring jumpyness back
2022-02-08 17:27:15 -06:00
meganrogge
5fd7216bf2
add api tests
2022-02-08 15:57:43 -06:00
meganrogge
a9722371e1
add decoration test to demo
2022-02-08 15:14:36 -06:00
meganrogge
58c2ba5310
remove empty line
2022-02-08 14:41:33 -06:00
meganrogge
d8234affa4
move listener into terminal.ts
2022-02-08 14:35:33 -06:00
meganrogge
571bf9e533
fix bouncing on re render
2022-02-08 14:32:29 -06:00
meganrogge
723e915895
more decorationsService -> singular
2022-02-08 14:25:24 -06:00
meganrogge
3e5ecbf52b
more formatting
2022-02-08 14:23:59 -06:00
meganrogge
01b66b756f
revert formatting changes
2022-02-08 14:22:37 -06:00
meganrogge
275ae6b2d3
DecorationsService -> DecorationService
2022-02-08 14:20:18 -06:00
meganrogge
094763ea8b
Revert changes to webglRenderer
2022-02-08 14:03:49 -06:00
meganrogge
3299315822
remove elt from screen on dispose
2022-02-08 12:26:19 -06:00
Megan Rogge
10d2e66137
Merge branch 'master' into merogge/buffer-marker-decoration
2022-02-08 12:07:13 -06:00
meganrogge
19b9d0eadd
cleanup
2022-02-08 12:05:38 -06:00
meganrogge
cae9f44f5c
remove mention of buffer
2022-02-08 11:45:22 -06:00
meganrogge
8b540c5f3b
set initial top value
2022-02-07 16:37:34 -06:00
meganrogge
8bf3cd1102
add to test
2022-02-07 16:06:16 -06:00
meganrogge
b226eb2d64
throw for negative x
2022-02-07 14:49:11 -06:00
Megan Rogge
e96b709d49
Merge branch 'master' into htmlserialize
2022-02-07 10:44:49 -06:00
meganrogge
ac6877aba7
clean up
2022-02-07 10:14:56 -06:00
Megan Rogge
a13f11adb4
Merge pull request #3628 from meganrogge/merogge/marker-clear
2022-02-04 21:04:06 -06:00
meganrogge
494aef1c94
remove .only
2022-02-04 19:59:10 -06:00
meganrogge
10adc87a3e
add api test
2022-02-04 19:32:34 -06:00
meganrogge
4d7d666c71
add test
2022-02-04 18:00:13 -06:00
meganrogge
ac7486856c
improve conditional
2022-02-04 17:41:54 -06:00
meganrogge
8999d3948a
fix test and improve name
2022-02-04 17:39:37 -06:00
meganrogge
f3bd1e24b7
undo formatting change
2022-02-04 16:13:20 -06:00
meganrogge
e9913522ac
fix buffers not clearing
2022-02-04 16:11:04 -06:00
meganrogge
8f7db4b270
fix buffers not clearing
2022-02-04 16:06:53 -06:00
Megan Rogge
3745496d73
Merge branch 'xtermjs:master' into master
2022-02-04 15:58:01 -06:00
Megan Rogge
a64d352d48
Merge branch 'master' into htmlserialize
2022-02-03 23:15:01 -06:00
meganrogge
42d403807c
use css class for statics
2022-02-03 13:44:08 -06:00
meganrogge
b2f541d4a6
clean up
2022-02-03 13:36:11 -06:00
meganrogge
912c33ca67
get it to wrk
2022-02-03 13:33:30 -06:00
Simon Lamon
4c1722da2c
fixup text/plain removal
2022-02-03 18:30:28 +00:00
Simon Lamon
4d70606feb
Apply feedback from code review
2022-02-03 18:00:16 +00:00
silamon and Daniel Imms
16257386b1
Apply suggestions from code review
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-02-03 18:55:07 +01:00
Daniel Imms
a63890e627
Merge pull request #3624 from Tyriar/3617_clear_on_buffer_change
...
Ensure the glyph vertices are cleared when switching buffers
2022-02-03 08:53:51 -08:00
Daniel Imms
904b491521
Merge branch 'master' into 3617_clear_on_buffer_change
2022-02-03 08:43:53 -08:00
Daniel Imms
fea1079b1e
Force clear of the glyph renderer when switching
...
Fixes #3617
2022-02-03 08:33:22 -08:00
Daniel Imms
b39d245050
Log parsing data string when using buffers
2022-02-03 08:32:24 -08:00
Daniel Imms
b557ebe0a2
Merge pull request #3623 from Tyriar/mocha_update
...
Update mocha
2022-02-03 07:35:54 -08:00
Daniel Imms
bb44dbfc51
Merge branch 'master' into mocha_update
2022-02-03 07:21:49 -08:00
Daniel Imms
490bf81b86
Update mocha
2022-02-03 07:21:00 -08:00
Daniel Imms
c3261beaea
Merge pull request #3622 from Tyriar/4_17_release
...
v4.17.0
2022-02-03 07:10:07 -08:00
Daniel Imms
345b8d910b
v4.17.0
2022-02-03 07:04:07 -08:00
Daniel Imms
922ee7c48d
Merge pull request #3612 from syssecfsu/master
...
Update README.md to link to WiTTY
2022-02-03 06:48:55 -08:00
meganrogge
ad59db9a8a
try
2022-02-02 22:33:05 -06:00
meganrogge
49085bbd5b
use decorations service instead of decorations render layer
2022-02-02 20:51:28 -06:00
Simon Lamon
93ac9efe92
Use alternate buffer if alternate buffer is active
2022-02-02 19:21:02 +00:00
Simon Lamon
bc9e6b49e8
Fix serialize tests
2022-02-02 18:57:41 +00:00
Simon Lamon
adedfed2bd
Fix serialize tests
2022-02-02 17:44:26 +00:00
Simon Lamon
9473777e43
Fix serialize tests
2022-02-02 17:18:35 +00:00
Megan Rogge
a359647683
Merge branch 'master' into htmlserialize
2022-02-02 11:13:59 -06:00
Simon Lamon
09a77998ba
improvements for html serialize
2022-02-02 06:27:01 +00:00
meganrogge
5ccb41b9b9
re add height and width
2022-02-01 10:32:09 -06:00
Daniel Imms
131e11b52b
Merge pull request #3620 from xtermjs/Tyriar-patch-1
...
Add keywords to package.json
2022-02-01 08:26:20 -08:00
meganrogge
7d7726817a
improve docs
2022-01-31 14:24:24 -06:00
meganrogge
fc6245122d
more cleanup
2022-01-31 13:08:09 -06:00
meganrogge
c5a0711f84
clean up
2022-01-31 12:53:07 -06:00
Daniel Imms
5a3e0612a7
Merge pull request #3621 from felixse/set-text-baseline-for-legacy-edge
...
fix text baseline for Legacy Edge
2022-01-31 07:41:10 -08:00
Felix Seidl
b246318090
fix text baseline for legacy edge
2022-01-30 21:21:07 +01:00
Daniel Imms
d807bdac5e
Add keywords to addons too
2022-01-30 05:47:58 -08:00
Daniel Imms
1695baa5b0
Add keywords to package.json
...
I noticed we have no search tags on npmjs.com
2022-01-30 05:43:20 -08:00
meganrogge
9b4801fb43
more polish
2022-01-30 00:36:31 -06:00
meganrogge
d7854bc154
remove unused imports
2022-01-30 00:29:02 -06:00
meganrogge
f9ac540031
polish
2022-01-30 00:28:01 -06:00
meganrogge
00ce85166e
better button
2022-01-29 22:34:16 -06:00
Simon Lamon
6dc813bdff
html serialization
2022-01-29 19:49:57 +01:00
meganrogge
ebdd07b8ae
get button to work
2022-01-29 00:07:51 -06:00
meganrogge
c5810e6d54
Take 1 of api
2022-01-27 13:20:02 -06:00
syssecfsu
c71252cd23
Update README.md to link to WiTTY
2022-01-22 18:45:30 -05:00
Daniel Imms
6c18b7f2cc
Merge pull request #3609 from erulabs/master
...
Update README.md - add realworld usage @ KubeSail
2022-01-20 07:03:44 -08:00
Seandon Mooy
5e77ad5cb4
Update README.md - add realworld usage @ KubeSail
...
❤️ 🦞
2022-01-19 23:21:36 -08:00
Daniel Imms
e1578813a7
Merge pull request #3606 from xtermjs/dependabot/npm_and_yarn/addons/xterm-addon-ligatures/follow-redirects-1.14.7
...
Bump follow-redirects from 1.14.3 to 1.14.7 in /addons/xterm-addon-ligatures
2022-01-14 07:18:25 -08:00
dependabot[bot]
21811cb37d
Bump follow-redirects in /addons/xterm-addon-ligatures
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.3 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.3...v1.14.7 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-14 08:59:31 +00:00
Daniel Imms
265227edcb
Merge pull request #3604 from Tyriar/exception_3602
...
Prevent exception being thrown in reflow smaller
2022-01-11 08:25:28 -08:00
Daniel Imms
1d3c1964f9
Merge branch 'master' into exception_3602
2022-01-11 08:12:24 -08:00
Daniel Imms
58b7a4a2d7
Merge pull request #3603 from Tyriar/test_task
...
Set default vscode test task
2022-01-11 08:12:17 -08:00
Daniel Imms
a6b0734fe8
Prevent exception being thrown in reflow smaller
...
Fixes #3602
2022-01-11 08:11:36 -08:00
Daniel Imms
55cd34c7a5
Set default vscode test task
...
This allows running the test task via a command/keybinding
2022-01-11 07:50:17 -08:00
Daniel Imms
0e8aeebedb
Merge pull request #3599 from silamon/options5
...
Add options to headless typings
2022-01-11 07:36:30 -08:00
Daniel Imms
1c4d41db86
Merge branch 'master' into options5
2022-01-11 07:27:48 -08:00
Daniel Imms
63c281e405
Merge pull request #3559 from silamon/options3
...
Resolve perf regression from OptionsService.options
2022-01-11 07:26:43 -08:00
Simon Lamon
f03d0858cc
fix linting error
2022-01-11 11:58:53 +00:00
Simon Lamon
8bdeb14bc6
add options to headless typings
2022-01-08 10:14:33 +00:00
Simon Lamon
ad7fe8f881
fix tests again
2022-01-08 08:51:29 +00:00
Simon Lamon
1dcc1d1baf
fix test and replace options with rawOptions
2022-01-08 08:20:50 +00:00
Daniel Imms
0029bc3b42
Merge pull request #3598 from LabhanshAgrawal/ligatures
...
Bump font-ligatures to 1.4.1
2022-01-07 09:14:21 -08:00
Labhansh Agrawal
0b73a8d469
Bump font-ligatures to 1.4.1
2022-01-07 11:51:24 +05:30
Daniel Imms
3a2b97e0f7
Merge pull request #3597 from Aaaaash/chore/add-opensumi
...
Add opensumi to the list of users
2022-01-06 07:42:03 -08:00
大表哥
9bcc98beb9
Add opensumi to the list of users
2022-01-06 10:10:10 +08:00
Daniel Imms
1fb11707a5
Merge pull request #3596 from wesbos/patch-1
...
Extend TLD matching to 14 chars
2022-01-05 13:54:05 -08:00
Wes Bos
84548d5d7b
Update WebLinksAddon.ts
2022-01-05 16:29:39 -05:00
Wes Bos
6f666f56c1
Extend TLD matching to 14 chars
...
I ran into this issue with hyper wasn't highlighting my `.localhost` domains, which is a legitimate TLD and used by caddy server to allow SSL certs locally.
Then I went down the rabbit hole of TLDs and found currently the longest TLDs are 14 chars which include .BANANAREPUBLIC, .COOKINGCHANNEL, .KERRYLOGISTICS, .WEATHERCHANNEL
I'm not regex expert, but I *think* this should work? 😀
2022-01-05 16:28:05 -05:00
Daniel Imms
2866977941
Merge pull request #3595 from xtermjs/Tyriar-patch-1
...
Fix dependents link
2022-01-05 12:58:50 -08:00
Daniel Imms
c087592e2c
Fix dependents link
2022-01-05 12:58:29 -08:00
Simon Lamon
65182176b9
remove proxy
2021-12-25 14:02:09 +00:00
Daniel Imms
c8123d911e
Merge pull request #3591 from Tyriar/3590
...
Disable macOS integration tests
2021-12-22 11:00:40 -08:00
Daniel Imms
cacda99707
Disable macOS integration tests
...
Fixes #3590
2021-12-22 10:45:49 -08:00
Daniel Imms
10e4d075a3
Merge pull request #3589 from Tyriar/v4_16
...
v4.16.0
2021-12-22 10:32:27 -08:00
Daniel Imms
35c2d1ac4a
v4.16.0
2021-12-22 10:26:30 -08:00
Daniel Imms
86ad5198ac
Merge pull request #3588 from Tyriar/3505
...
Log characters as a code array when parsing data as well
2021-12-22 10:06:55 -08:00
Daniel Imms
9a3ee49160
Log characters as a code array when parsing data as well
...
Makes it consistent with sending data debug logs
Fixes #3505
2021-12-22 09:58:15 -08:00
Daniel Imms
3da594abb0
Merge pull request #3587 from Tyriar/3493
...
Make link provider API stable
2021-12-22 09:50:44 -08:00
Daniel Imms
72308b4f7f
Make link provider API stable
...
Fixes #3493
2021-12-22 09:50:11 -08:00
Daniel Imms
c22b3a92d7
Merge pull request #3236 from gera2ld/master
...
Search Addon: Fix length calculation of wide unicode chars
2021-12-22 09:31:56 -08:00
Daniel Imms
f685360707
Add docs to line cache entry items
2021-12-22 09:29:32 -08:00
Daniel Imms
0fcd87085b
Name line cache entry type
2021-12-22 09:26:19 -08:00
Daniel Imms
8d2e4328ca
Merge branch 'master' into master
2021-12-22 09:12:00 -08:00
Daniel Imms
ae6f5754f2
Merge pull request #3524 from jerch/osc_colors
...
OSC 4/10/11/12 color handling
2021-12-22 09:10:37 -08:00
Daniel Imms
086ca58ece
Comment tweaks
2021-12-22 09:10:12 -08:00
Daniel Imms
e635b3d507
Merge remote-tracking branch 'upstream/master' into pr/jerch/3524
2021-12-22 08:56:36 -08:00
Daniel Imms
df548e1106
Merge pull request #3586 from Tyriar/3585
...
Fix demo
2021-12-22 08:55:58 -08:00
Daniel Imms
13b8c78947
Fix demo
...
Fixes #3585
2021-12-22 08:55:39 -08:00
Daniel Imms
3cc9994a7d
Merge remote-tracking branch 'upstream/master' into pr/jerch/3524
2021-12-22 08:28:43 -08:00
Simon Lamon
bac4eba35e
Remove the test referencing publicOptions
2021-12-21 19:41:56 +00:00
Simon Lamon
625df61489
clean up
2021-12-21 19:29:18 +00:00
Simon Lamon
ccca58bb95
Merge branch 'master' into options3
2021-12-21 19:22:41 +00:00
Daniel Imms
d95d4b7dd4
Merge pull request #3583 from Tyriar/3552
...
Don't include trailing EOL when selecting multiple lines
2021-12-21 10:59:57 -08:00
Daniel Imms
d261c3b494
Merge branch 'master' into 3552
2021-12-21 10:50:28 -08:00
Daniel Imms
8c94c97a28
Don't include trailing EOL when selecting multiple lines
...
Fixes #3552
2021-12-21 10:49:58 -08:00
Daniel Imms
46c316b795
Merge pull request #3546 from silamon/options2
...
Allow setting multiple options through term.options
2021-12-21 09:41:04 -08:00
Daniel Imms
7535d2e527
Move options test to Terminal.api.ts
2021-12-21 09:13:53 -08:00
Daniel Imms
6cc1708abe
Merge branch 'master' into options2
2021-12-21 08:40:46 -08:00
Daniel Imms
e623672e81
Merge pull request #3536 from silamon/isWrappedEraseInBufferline
...
Clear isWrapped in eraseBufferLine
2021-12-21 08:39:03 -08:00
Daniel Imms
006e0b7513
Merge branch 'master' into isWrappedEraseInBufferline
2021-12-21 08:30:46 -08:00
Daniel Imms
c5b5f3610e
Merge pull request #3582 from Tyriar/deprecated_event
...
Mark IKeyboardEvent.keyCode as deprecated
2021-12-20 10:03:40 -08:00
Daniel Imms
6571298061
Mark IKeyboardEvent.keyCode as deprecated
2021-12-20 10:02:49 -08:00
Daniel Imms
9350a8b237
Merge pull request #3580 from Tyriar/3579
...
Have linkifier2 use screen element for link detection
2021-12-20 08:57:16 -08:00
Daniel Imms
f4c263f380
Merge branch 'master' into 3579
2021-12-20 08:46:50 -08:00
Daniel Imms
9a920a10f3
Have linkifier2 use screen element for link detection
...
Fixes #3579
2021-12-20 08:46:13 -08:00
Daniel Imms
2381096b06
Merge pull request #3577 from SquitchYT/master
...
Update README.md
2021-12-20 07:14:02 -08:00
Squitch
0ddb43ac8a
Update README.md
2021-12-18 16:40:58 +01:00
Daniel Imms
45705e0614
Merge branch 'master' into options2
2021-12-17 11:13:31 -08:00
Daniel Imms
9557b9132b
Merge branch 'master' into options3
2021-12-17 11:13:23 -08:00
Daniel Imms
6d6e8845c1
Merge pull request #3553 from jerch/fix_3548
...
fix canvas renderer color changes.
2021-12-17 11:10:43 -08:00
Daniel Imms
5facfe55b8
Merge pull request #3535 from Eugeny/fix-duplicate-ime-input
...
input: prevent duplicate IME input on Linux - fixes #3533
2021-12-17 08:49:49 -08:00
Daniel Imms
35cd505e9e
Merge pull request #3554 from acid-chicken/microsoft-vscode-137047
...
wide characters overflow the cache canvas on WebGL render
2021-12-16 06:25:13 -08:00
Daniel Imms
78d3e22052
Merge pull request #3576 from Heysunk/master
...
Added support for custom regex to WebLinkProvider
2021-12-15 12:18:50 -08:00
Daniel Imms
7157b03a7e
Change interface to use ?
...
So it's not a breaking change
2021-12-15 12:04:07 -08:00
Daniel Imms
7663e4a4e3
Simplify with ||
2021-12-15 12:03:29 -08:00
Michael Chlebek
ddc3d07bd4
Added support for custom regex to WebLinkProvider
2021-12-15 18:21:31 +01:00
Megan Rogge
f6d3fae25e
Merge branch 'master' into microsoft-vscode-137047
2021-12-14 14:44:55 -06:00
Daniel Imms
952d0efde2
Merge pull request #3574 from Tyriar/clean_dead_key
...
Clear unprocessed dead key state on input or press
2021-12-10 10:15:24 -08:00
Daniel Imms
b7c3397471
Clear unprocessed dead key state on input or press
...
Fixes #3573
2021-12-09 13:14:43 -08:00
Daniel Imms
cde4277e84
Merge pull request #3572 from Tyriar/a11y_tab_index
...
Add tabIndex to xterm-accessibility
2021-12-09 12:41:28 -08:00
Daniel Imms
37b54f8e8a
Merge branch 'master' into a11y_tab_index
2021-12-09 12:31:30 -08:00
Daniel Imms
1304fd8a72
Add tabIndex to xterm-accessibility
...
See microsoft/vscode#135920
2021-12-09 20:30:38 +00:00
Daniel Imms
7b072893be
Merge pull request #3565 from LabhanshAgrawal/characterJoiner
...
trycatch characterJoiner handlers
2021-11-24 10:55:54 -08:00
Labhansh Agrawal
d10d5be222
make requested changes
2021-11-25 00:11:44 +05:30
Labhansh Agrawal
070afc64c8
trycatch characterJoiner handlers
2021-11-24 18:27:33 +05:30
Daniel Imms
20141518d9
Merge pull request #3560 from silamon/headless-compile-error
...
Remove headless include in benchmark projects
2021-11-21 03:50:33 -08:00
Simon Lamon
d85a57118e
remove headless include in benchmark projects
2021-11-20 17:48:45 +00:00
Simon Lamon
d7d85870d2
remove headless include in benchmark projects
2021-11-20 17:33:38 +00:00
Simon Lamon
d6d540e748
use a proxy
2021-11-20 14:58:07 +00:00
Acid Chicken (硫酸鶏)
dbd3766a9d
chore: reflect reviews
2021-11-13 01:36:46 +09:00
Acid Chicken (硫酸鶏)
935a1ba903
fix(xterm-addon-webgl): wide characters overflow the cache canvas
2021-11-13 00:32:24 +09:00
Jörg Breitbart
0c20589a7f
remove temp atlas fix
2021-11-10 23:00:36 +01:00
Jörg Breitbart
84325627aa
cleanup
2021-11-10 22:36:50 +01:00
Jörg Breitbart
9964210ac4
implement OSC 104|110|111|112
2021-11-10 22:15:35 +01:00
Jörg Breitbart
e62e82ba10
Merge branch 'master' into osc_colors
2021-11-10 19:17:54 +01:00
Jörg Breitbart
5a468c0877
fix #3548
2021-11-10 18:02:00 +01:00
Simon Lamon
71257ec00e
Fix tests
2021-11-10 10:45:42 +00:00
Simon Lamon
4245ce33b5
Remove publicOptions completely
2021-11-10 10:17:14 +00:00
Simon Lamon
317641c3bb
Add some tests
2021-11-10 09:42:45 +00:00
Simon Lamon
2c65d96863
Fix tests
2021-11-10 08:39:28 +00:00
silamon and Daniel Imms
b1c179461d
Update typings/xterm.d.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2021-11-10 09:15:43 +01:00
Daniel Imms
0bc02d6838
Merge pull request #3551 from Tyriar/scroll
...
Allow shift+wheel to bubble up the DOM
2021-11-09 06:54:22 -08:00
Daniel Imms
d54c40a3ed
Allow shift+wheel to bubble up the DOM
...
Fixes #3550
2021-11-09 06:46:00 -08:00
Jörg Breitbart
896f5a7e4c
extend logic to OSC 12 cursor color
2021-11-09 13:46:54 +01:00
Jörg Breitbart
4be063be0f
Merge branch 'master' into osc_colors
2021-11-08 20:57:54 +01:00
Jörg Breitbart
855ed636e7
remove only from tests
2021-11-08 20:57:22 +01:00
Jörg Breitbart
b8097f53a6
OSC 4 integration tests
2021-11-08 20:55:47 +01:00
Jörg Breitbart
54822af73a
use xcolor parser for OSC 4
2021-11-08 19:40:35 +01:00
Jörg Breitbart
b55ee772b4
fix inputhandler type definition
2021-11-08 19:01:30 +01:00
Jörg Breitbart
56f0e69e1f
api tests for OSC 10 & 11
2021-11-08 18:36:11 +01:00
Jörg Breitbart
064f683781
make linter happy
2021-11-08 17:23:34 +01:00
Jörg Breitbart
54375713bc
simplify color events
2021-11-08 17:17:39 +01:00
Daniel Imms
cb3dd19039
Merge pull request #3538 from coderaiser/chore/lint-using-putout
...
Halloween Lint using Putout (part 5)
2021-11-08 07:47:25 -08:00
Jörg Breitbart
1c5f24a707
Merge branch 'master' into osc_colors
2021-11-08 14:06:35 +01:00
Jörg Breitbart
b7560be2b5
remove named colors
2021-11-08 14:03:36 +01:00
Jörg Breitbart
9d95c8c9c3
Merge branch 'master' into osc_colors
2021-11-07 15:51:30 +01:00
Simon Lamon
3582c00a61
Allow setting multiple options through term.options
2021-11-06 14:36:40 +00:00
coderaiser
8f1239674c
Merge branch 'master' into chore/lint-using-putout
2021-11-05 21:38:30 +02:00
coderaiser
01b35ae4eb
Update src/common/parser/Params.ts
2021-11-05 21:37:50 +02:00
coderaiser
82f8e06ff6
chore: lint using putout
2021-11-05 21:34:37 +02:00
Megan Rogge
1a8ac80cdf
Merge pull request #3545 from meganrogge/merogge/release
...
v4.15.0
2021-11-05 13:17:11 -05:00
Megan Rogge
b7c7fd9273
Merge branch 'master' into merogge/release
2021-11-05 13:08:28 -05:00
Megan Rogge
16641a5bb1
Revert "Revert "Avoid property use and float->number conversion""
...
This reverts commit b627f003e3 .
2021-11-05 11:08:23 -07:00
Megan Rogge
b7e5f0903b
bump versions
2021-11-05 11:07:03 -07:00
Daniel Imms
e40cf8043a
Merge pull request #3544 from xtermjs/tyriar/length_warning
...
Add warning to IBufferLine.length
2021-11-05 09:09:37 -07:00
Daniel Imms
32cb95c7fb
Add warning to IBufferLine.length
2021-11-05 08:53:48 -07:00
Eugeny
f0303072f3
Merge branch 'master' into fix-duplicate-ime-input
2021-11-02 14:42:32 +01:00
jerch
b2068531dd
Merge pull request #3537 from jerch/update_deps
...
upgrade dev deps
2021-11-01 18:55:50 +01:00
Jörg Breitbart
b29d7d2c8d
update to windows-2019 on azure
2021-11-01 18:39:48 +01:00
Jörg Breitbart
b684929d1e
upgrade dev deps
2021-11-01 18:20:17 +01:00
Simon Lamon
47e53cbdaa
Fix unit test calling eraseInDisplay instead of eraseInLine
2021-11-01 15:42:01 +00:00
Simon Lamon
086ac39095
Add whitespaces
2021-11-01 15:23:10 +00:00
Simon Lamon
bec4f6d5c7
clear isWrapped in eraseBufferLine
2021-11-01 15:09:25 +00:00
Eugeny
cfa0b30905
Merge branch 'master' into fix-duplicate-ime-input
2021-10-31 12:30:46 +01:00
Eugene Pankov
5a4e88dc51
input: prevent duplicate IME input on Linux - fixes #3533
2021-10-31 12:27:41 +01:00
Megan Rogge
b627f003e3
Revert "Avoid property use and float->number conversion"
...
This reverts commit ffef3dba00 .
2021-10-27 08:38:04 -07:00
Daniel Imms
07ba3dc197
Merge pull request #3532 from jeffg2k/patch-1
...
Check to make sure cols & rows are INT
2021-10-26 08:49:07 -07:00
ElJeffe
5c9adeef93
Check to make sure cols & rows are INT
...
I've noticed that if the terminal is hidden and the screen experiences a resize trigger from a blur / focus, it can cause the dimensions to be undefined. This creates an exception in Xterm.js that the values are not integers. Figured it would be ok to just check before doing a resize.
2021-10-26 11:44:52 -04:00
Daniel Imms
7abfccc23e
Merge branch 'master' into master
2021-10-25 03:16:38 -07:00
Daniel Imms
394d7a2ee6
Merge pull request #3370 from dstein64/master
...
Set text baseline conditionally by browser.
2021-10-25 03:15:38 -07:00
Daniel Imms
987bb8dd35
Merge pull request #3476 from silamon/cleanbuild
...
Update npmignore files
2021-10-25 02:50:23 -07:00
Daniel Imms
ce314844d2
Merge branch 'master' into cleanbuild
2021-10-25 02:47:52 -07:00
Jörg Breitbart
0871ace481
create minified color names module
2021-10-25 00:30:26 +02:00
Simon Lamon
645263b0ac
update npmignore, don't include test files
2021-10-23 08:22:00 +00:00
Jörg Breitbart
5478dd2733
Merge branch 'master' into osc_colors
2021-10-23 00:57:17 +02:00
Jörg Breitbart
9eb72ee0cc
report 16 bit color spec for query
2021-10-23 00:22:55 +02:00
Jörg Breitbart
258178fe85
cleanup & docs for OSC 10/11
2021-10-23 00:13:58 +02:00
Daniel Imms
6978fafd28
Merge pull request #3448 from silamon/options1
...
Expose typed options from OptionsService through terminal.options
2021-10-22 14:15:39 -07:00
Simon Lamon
c7ee362ae7
revert changes to interface ITerminalOptions
2021-10-22 20:54:42 +00:00
Simon Lamon
57e6cfd500
setOption and getOption should look at publicOptions
2021-10-22 20:53:06 +00:00
Simon Lamon
33bbc4f4b8
cache options and type _options
2021-10-22 20:50:00 +00:00
Jörg Breitbart
01a732274c
OSC 10/11 working, OSC 4 partially fixed
2021-10-22 22:48:57 +02:00
Daniel Imms
a974d33c79
Merge branch 'master' into master
2021-10-22 13:14:11 -07:00
Daniel Imms
8549915afa
Merge pull request #3525 from metonym/fix-viewport-scrollbar
...
Include xterm padding when computing viewport width
2021-10-22 13:09:57 -07:00
Daniel Steinberg
59f940c19c
Set text baseline conditionally by browser.
2021-10-22 19:20:21 +00:00
metonym
ed1aecb251
chore(viewport): run yarn lint --fix
2021-10-22 11:28:30 -07:00
metonym
7deb01267b
Use computed padding of terminal element to compute viewport width
2021-10-22 11:02:59 -07:00
Daniel Imms
4b9ab81848
Add deprecated to getOption/setOption
2021-10-22 10:34:25 -07:00
Daniel Imms
6c8d801894
Adopt typed options in demo client
2021-10-22 10:14:03 -07:00
Daniel Imms
1a9de5f227
Merge branch 'master' into options1
2021-10-22 10:07:36 -07:00
metonym
9b1eec8ade
fix(viewport): account for fallback scrollbar width
2021-10-22 09:49:01 -07:00
Jörg Breitbart
8e71cec208
remove only from tests
2021-10-22 18:32:30 +02:00
Jörg Breitbart
0f4d71b8f8
make linter happy
2021-10-22 18:26:46 +02:00
Jörg Breitbart
6a6043daa3
properly parse xcolor names
2021-10-22 18:17:52 +02:00
Daniel Imms
1a697bd844
Merge pull request #3479 from silamon/devcontainermocha
...
Add Mocha Test Explorer to devcontainer
2021-10-22 07:41:01 -07:00
jerch
b23e100266
Merge pull request #3523 from jerch/fix_3347
...
properly await all parseP in inputhandler tests
2021-10-22 13:43:20 +02:00
Jörg Breitbart
c9e8db38b6
properly await all parseP calls
2021-10-22 13:32:31 +02:00
Daniel Imms
0a7ac8b978
Merge pull request #3484 from JohanKnutzen/master
...
Add FleetDeck to real-world uses
2021-10-21 12:54:18 -07:00
Daniel Imms
780b48db53
Move newest to bottom of list
2021-10-21 12:54:01 -07:00
Daniel Imms
82d09ec909
Merge pull request #3522 from Tyriar/bump_release
...
Use Ubuntu 18.04 in release job
2021-10-21 11:44:13 -07:00
Daniel Imms
b876639429
Use Ubuntu 18.04 in release job
...
Fixes #3521
2021-10-21 11:43:20 -07:00
jerch
afe19e96fe
simplify wheel handlers
...
- merge wheel handlers
- remove passive handler
2021-10-21 20:25:26 +02:00
jerch
c599fbb7a1
Merge branch 'master' into fix_3518
2021-10-21 20:06:40 +02:00
Daniel Imms
c63e9ef876
Merge pull request #3520 from meganrogge/cursor-blink
...
webgl - initialize CursorBlinkStateManager when CursorRenderLayer is created
2021-10-21 10:55:19 -07:00
Megan Rogge
d6e828a2f3
fix merge conflict
2021-10-21 10:44:21 -07:00
Megan Rogge
2445f35a32
Merge branch 'master' into cursor-blink
2021-10-21 12:37:38 -05:00
Megan Rogge and Daniel Imms
d2bcbc73d3
fixes #3517
...
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2021-10-21 10:33:22 -07:00
Jörg Breitbart
f46ed82d7e
simplify wheel handlers
2021-10-21 12:35:03 +02:00
Daniel Imms
4222dfb69d
Merge pull request #3511 from Tyriar/windows_opener
...
Swallow error when opener can't be sent
2021-10-19 10:50:20 -07:00
Daniel Imms
1b3eb412b8
Merge pull request #3512 from Tyriar/serialize_doc
...
Call out deserialize into same size terminal
2021-10-19 10:50:10 -07:00
Daniel Imms
e9f6636df1
Merge branch 'master' into serialize_doc
2021-10-19 10:49:47 -07:00
Daniel Imms and Megan Rogge
472e410205
Call out deserialize into same size terminal
...
Fixes #3093
Co-authored-by: Megan Rogge <merogge@microsoft.com >
2021-10-19 10:49:01 -07:00
Daniel Imms and Megan Rogge
581272ee51
Swallow error when opener can't be sent
...
Fixes #2943
Co-authored-by: Megan Rogge <merogge@microsoft.com >
2021-10-19 10:28:09 -07:00
Johan Knutzen
e8e21e9d0b
Merge branch 'master' into master
2021-10-18 11:02:13 -07:00
Daniel Imms
80d4742ded
Merge pull request #3506 from Tyriar/2333_sendfocus
...
Report focus state on DECSET 1004
2021-10-12 11:58:43 -07:00
Daniel Imms
50939e0b1d
Merge branch 'master' into 2333_sendfocus
2021-10-12 09:38:45 -07:00
Daniel Imms
5d5f34f65f
Report focus state on DECSET 1004
...
Fixes #2333
2021-10-12 09:05:44 -07:00
jerch
d3b762eb97
Merge pull request #3503 from jerch/fix_cursor_dom
...
fix DECTCEM in DOM renderer
2021-10-11 15:07:23 +02:00
Jörg Breitbart
0c60478953
fix DECTCEM in DOM renderer
2021-10-10 19:36:20 +02:00
Daniel Imms
3b23921a41
Merge pull request #3500 from meganrogge/merogge/safari-webgl
...
throw if activate webgl is called on safari
2021-10-08 08:00:53 -07:00
Megan Rogge
e3422eda58
Merge branch 'master' into merogge/safari-webgl
2021-10-08 09:46:03 -05:00
Megan Rogge
37a4100220
throw if activate webgl called on safari
2021-10-08 07:45:48 -07:00
Daniel Imms
8592c5cca3
Merge pull request #3495 from MyunghoBae/master
...
Added goormIDE on Real-world uses
2021-10-07 06:50:35 -07:00
mac.bae
014530f582
Added goormIDE on Real-world uses
2021-10-07 07:44:30 +00:00
Johan Knutzen
a994fbc865
Merge branch 'master' into master
2021-09-22 17:43:52 -07:00
Johan Knutzen
0d14336ec5
Add FleetDeck to real-world uses
2021-09-22 17:39:21 -07:00
Daniel Imms
c20c07c6d8
Merge pull request #3483 from Tyriar/document_role
...
Add document role to accessibility tree root
2021-09-22 14:31:42 -07:00
Daniel Imms
3a71b3f11e
Add document role to accessibility tree root
...
See microsoft/vscode#98918
2021-09-22 14:21:50 -07:00
Daniel Imms
f2384694a1
Merge pull request #3481 from Tyriar/clear_texture_atlas
...
Add API to clear canvas renderer texture atlas
2021-09-22 06:51:56 -07:00
Daniel Imms
ca46b8c805
Merge branch 'master' into clear_texture_atlas
2021-09-22 06:39:53 -07:00
Daniel Imms
189ff56224
Add API to clear canvas renderer texture atlas
...
Fixes #3455
2021-09-22 06:38:47 -07:00
Daniel Imms
ef6516e561
Merge pull request #3480 from silamon/strikethrough-serialize
...
Support strikethrough in serialize addon
2021-09-22 05:22:40 -07:00
Simon Lamon
1d1fffdabc
Include src files in distribution
2021-09-22 10:08:48 +00:00
Simon Lamon
3fe32c0724
Adjust test to include strikethrough test
2021-09-22 09:38:37 +00:00
Simon Lamon
2e4e29ad73
Support strikethrough in serialize addon
2021-09-22 08:47:36 +00:00
Simon Lamon
9c4a08a55a
devcontainer mocha
2021-09-22 08:41:57 +00:00
Simon Lamon
5188633458
Update npmignore files
2021-09-15 17:39:39 +00:00
Daniel Imms
a8a24eba51
Merge pull request #3473 from Tyriar/serialize_granularity
...
Add granularity to what the serialize addon serializes
2021-09-15 06:03:47 -07:00
Daniel Imms
6493edcddf
Add new serialize option tests
2021-09-15 05:40:46 -07:00
Daniel Imms
c186fbeafc
Add exclude mode/alt buffer options to serialize addon
...
Fixes #3472
2021-09-15 05:04:11 -07:00
Daniel Imms
d32c6db967
Merge pull request #3470 from xtermjs/r4_14_1
...
v4.14.1
2021-09-10 09:50:06 -07:00
Daniel Imms
db6b3c4bcc
v4.14.1
2021-09-10 09:44:29 -07:00
Daniel Imms
50c5579c83
Merge pull request #3469 from Tyriar/3467
...
Disable emoji ime when screenReaderMode is on
2021-09-10 09:43:44 -07:00
Daniel Imms
5a65fd9c6a
Disable emoji ime when screenReaderMode is on
...
Fixes #3467
2021-09-10 09:42:19 -07:00
Daniel Imms
be7fcbe485
Merge pull request #3466 from xtermjs/dependabot/npm_and_yarn/addons/xterm-addon-ligatures/axios-0.21.2
...
Bump axios from 0.18.1 to 0.21.2 in /addons/xterm-addon-ligatures
2021-09-09 12:51:21 -07:00
Simon Lamon
99239e9160
Allow modifying constructor only options
2021-09-09 18:02:40 +00:00
dependabot[bot]
662154123d
Bump axios from 0.18.1 to 0.21.2 in /addons/xterm-addon-ligatures
...
Bumps [axios](https://github.com/axios/axios ) from 0.18.1 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.18.1...v0.21.2 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-09 13:24:07 +00:00
Daniel Imms
cdaea7b0cd
Merge pull request #3465 from xtermjs/release_4_14_0
...
v4.14.0
2021-09-09 06:19:11 -07:00
Daniel Imms
3cb374076a
v4.14.0
2021-09-09 05:49:04 -07:00
Daniel Imms
8d48616e0d
Merge pull request #3462 from anirudh1713/master
...
fix: switch active unicode version in demo
2021-09-07 05:09:01 -07:00
anirudh1713
3eeec14462
switch active unicode version in demo
2021-09-05 20:35:07 +05:30
Daniel Imms
b5df612b4e
Merge pull request #3453 from silamon/undefinedrowscols
...
Passing cols or rows into ctor as undefined will break terminal
2021-09-03 07:53:55 -07:00
Simon Lamon
fa778257b9
Formatting
2021-09-03 04:40:29 +00:00
Megan Rogge
011b58dc74
Merge branch 'master' into undefinedrowscols
2021-09-02 16:02:42 -07:00
Daniel Imms
b9b42efade
Merge pull request #3452 from Tyriar/perf_fixes
...
Throughput performance improvements
2021-09-02 07:44:46 -07:00
Daniel Imms
20460a2be1
Fire buffer activate event on buffer service reset
2021-09-02 07:34:04 -07:00
Daniel Imms
a649192c7f
Merge branch 'master' into perf_fixes
2021-09-02 07:03:32 -07:00
Daniel Imms
77461a3340
Merge pull request #3458 from Tyriar/split_tests
...
Split up unicode surrogates tests to avoid timeout
2021-09-02 06:56:49 -07:00
Daniel Imms
453688a555
Split up unicode surrogates tests to avoid timeout
...
Fixes #3441
2021-09-02 06:34:00 -07:00
Daniel Imms
504a8eb472
Merge pull request #3454 from meganrogge/master
...
fix #3348
2021-09-01 14:00:51 -07:00
meganrogge
199e477349
3 -> 1 line
2021-09-01 13:45:49 -07:00
meganrogge
3c8f600c57
fix #3348
2021-09-01 11:27:14 -07:00
Daniel Imms
263c6d75bf
Avoid scrollTop call in hot code
...
This seems to have been added in f6d5abf but it's not clear why, scroll APIs
seem to work fine without it and using a DOM API here is causing slowness
2021-09-01 06:44:34 -07:00
Daniel Imms
ffef3dba00
Avoid property use and float->number conversion
2021-09-01 06:41:10 -07:00
Simon Lamon
aa046b73fb
Handle undefined rows or cols better
2021-09-01 13:34:27 +00:00
Daniel Imms
cece3db0cb
Cache a copy of the active buffer as a private prop
...
This reduces GC from the const buffer workaround that avoids excessive getter access
with far less getter access
Part of #3450
2021-09-01 06:15:59 -07:00
Daniel Imms
554f7dab72
Merge pull request #3451 from Tyriar/demo_loadtest
...
Add loadtest button to demo
2021-09-01 05:45:44 -07:00
Daniel Imms
b3c0c2bd3c
Add loadtest button to demo
2021-09-01 05:45:00 -07:00
Simon Lamon
72a557cc1a
Make options available in terminal
2021-09-01 07:59:45 +00:00
Daniel Imms
52d00a434e
Merge pull request #3445 from daiyam/refactor-better-mocha
...
refactor(test): enhance mocha usability
2021-08-31 12:10:45 -07:00
Daniel Imms
37c4cae5ed
Merge branch 'master' into refactor-better-mocha
2021-08-31 08:32:20 -07:00
Baptiste Augrain
f41eea025e
refactor: rename script
2021-08-31 16:58:20 +02:00
Baptiste Augrain
ac75059684
refactor: rename file to a better name
2021-08-31 16:56:40 +02:00
Daniel Imms
c71f947d06
Merge pull request #3447 from xtermjs/Tyriar-patch-1
...
Make addons tab title consistent
2021-08-31 07:33:07 -07:00
Daniel Imms
f12b917930
Make addons tab title consistent
2021-08-31 07:32:54 -07:00
Daniel Imms
6bca6bdc1a
Merge branch 'master' into master
2021-08-31 07:31:02 -07:00
Daniel Imms
d260a725bc
Merge pull request #3439 from simran916/ui-reformed
...
Issue #3425 (Terminal controls shifted to the right of the demo)
2021-08-31 07:29:55 -07:00
Daniel Imms
8edf0d5e1d
Improve checkbox and italics styling
2021-08-31 07:29:31 -07:00
Daniel Imms
5f2b298b81
Merge branch 'master' into ui-reformed
2021-08-31 07:25:28 -07:00
Baptiste Augrain
7cda0017aa
fix: make Mocha Explorer working on Windows
2021-08-31 15:53:43 +02:00
Baptiste Augrain
ab900017db
Merge branch 'refactor-better-mocha' of github.com:daiyam/xterm.js into refactor-better-mocha
2021-08-31 15:40:39 +02:00
Baptiste Augrain
8801926b10
fix: test:dev is running on Windows
2021-08-31 15:40:35 +02:00
Daniel Imms
ac71a8aea8
Merge branch 'master' into refactor-better-mocha
2021-08-31 05:41:17 -07:00
Daniel Imms
813e97df3b
Merge pull request #3444 from daiyam/refactor-test-browser
...
refactor(test): use common function to launch the browser
2021-08-31 05:40:38 -07:00
Baptiste Augrain
50e8727111
refactor(test): add command to run an unique test and support Mocha Explorer extension
2021-08-31 13:04:40 +02:00
Baptiste Augrain
9e40614b5c
feat(test): use common function to launch the browser
2021-08-31 12:50:54 +02:00
Simran Narang
b19b3f0fb6
Implemented all the changes requested!
...
All Suggested changes committed successfully!
2021-08-31 11:41:00 +05:30
Daniel Imms
7068954334
Merge pull request #3398 from Puneethnaik/issue_3074_fix
...
A way to turn off the scrollbar #3074
2021-08-30 10:48:26 -07:00
Daniel Imms
640ea60945
Action feedback
2021-08-30 10:48:12 -07:00
Daniel Imms
52518bdc47
Merge branch 'master' into issue_3074_fix
2021-08-30 10:37:44 -07:00
Daniel Imms
fb43ff76af
Merge pull request #3429 from Eugeny/emoji-input
...
input: handle input from macOS and Windows emoji panels
2021-08-30 10:30:24 -07:00
Daniel Imms
9c49b31609
Merge branch 'master' into emoji-input
2021-08-30 10:16:17 -07:00
Daniel Imms
d9b8c62cd4
Merge pull request #3437 from Eugeny/alt-group-is-dead
...
input: treat AltGraph as a dead key
2021-08-30 07:37:43 -07:00
Simran Narang
2be3fc82ba
Terminal controls shifted to the right of the demo
...
The terminals have been shifted using a fixed tab bar on the right side of the demo.
2021-08-30 15:14:15 +05:30
Eugeny
862ca53d07
Merge branch 'master' into alt-group-is-dead
2021-08-28 14:18:06 +02:00
Eugene Pankov
f2ef2b0b04
input: treat AltGraph as a dead key too
2021-08-28 14:14:16 +02:00
Daniel Imms
fec3a7f71a
Merge pull request #3432 from Eugeny/alt-graph-dead-key
...
input: support AltGraph as a third level shift modifier
2021-08-25 13:02:09 -07:00
Eugene Pankov
fa9126c4e6
input: support AltGraph as a third level shift modifier
2021-08-25 21:48:25 +02:00
Eugeny
a7b7674bb6
Merge branch 'master' into emoji-input
2021-08-23 16:39:22 +02:00
Daniel Imms
a706e010f4
Merge pull request #3430 from Eugeny/dead-key-support
...
input: handle dead keys
2021-08-23 07:33:29 -07:00
Daniel Imms
441ec1bfb6
Merge pull request #3431 from Tyriar/serialize_repo
...
Add repository key to serialize package.json
2021-08-23 05:25:02 -07:00
Daniel Imms
c4262e7df5
Merge branch 'master' into serialize_repo
2021-08-23 05:23:39 -07:00
Daniel Imms
44be1f5d2a
Add repository key to serialize package.json
...
Not having this breaks some of vscode's tooling
2021-08-23 05:23:17 -07:00
Eugeny
f2d0a5020a
Merge branch 'master' into dead-key-support
2021-08-22 20:29:26 +02:00
Eugene Pankov
b3cd4948ad
input: handle input from macOS and Windows emoji panels
2021-08-22 17:35:22 +02:00
Eugene Pankov
f0636ed083
input: handle dead keys
2021-08-22 17:15:00 +02:00
Daniel Imms
7bd7967ab7
Merge pull request #3428 from meganrogge/merogge/webgl-line-height
...
adjust for lineHeight and letterSpacing in webgl custom glyph rendering
2021-08-20 12:53:09 -07:00
meganrogge
c1413ce58d
fix #3427
2021-08-19 18:24:49 -07:00
Daniel Imms
ac116b958e
Merge pull request #3426 from Tyriar/underscore_fix
...
Ensure underscore is within cell bounds
2021-08-19 07:14:13 -07:00
Daniel Imms
53dbcbafb2
Ensure underscore is within cell bounds
...
Fixes #3423
2021-08-19 07:05:42 -07:00
Daniel Imms
569708677f
Merge pull request #3416 from meganrogge/merogge/pixelPerfect
...
pixel perfect canvas rendering of box and block characters
2021-08-19 06:00:58 -07:00
Daniel Imms
1a75416dbf
Add missing block elements (include all 0x2580-0x259F)
2021-08-19 06:00:36 -07:00
Daniel Imms
ca4c9c3dab
Merge branch 'master' into merogge/pixelPerfect
2021-08-19 05:43:58 -07:00
Daniel Imms
338d94daf9
Fix webgl alignment issues
...
No idea why this worked but it did
2021-08-19 05:41:49 -07:00
Daniel Imms
24cbedb715
Fix custom glyphs when using transparency
2021-08-19 05:32:46 -07:00
Daniel Imms
3be97841a3
Rename setting customGlyphs
2021-08-19 05:20:40 -07:00
Daniel Imms
158dcb06bd
Remove custom glyph tests
2021-08-19 05:16:01 -07:00
Daniel Imms
54ce0172b4
Add test custom glyph button to demo
2021-08-18 09:48:27 -07:00
Daniel Imms
011026a8d1
Get webgl glyphs scaling to cell size, invalidate on option change
2021-08-18 08:29:07 -07:00
Daniel Imms
da0928102b
Support shade char with patterns
2021-08-18 08:19:23 -07:00
Daniel Imms
fe7f28a7a0
Fix block elements on webgl, scale block elements to cell
2021-08-18 07:38:02 -07:00
Daniel Imms
0aaa20f873
Start of webgl integration
2021-08-18 07:31:35 -07:00
Daniel Imms
e5d66d63f5
Fix offset of block elements
2021-08-18 07:00:10 -07:00
Daniel Imms
86a30dc689
Clean up usage of instruction/definition
2021-08-18 06:45:40 -07:00
Daniel Imms
9fb1ce11fb
Add setting, clean up drawing, fix true color
2021-08-18 06:44:13 -07:00
Daniel Imms
9490c5ce1b
Merge pull request #3399 from pattch/master
...
Add a Time-Based Debouncer to update Screen Readers at most once per second
2021-08-18 06:09:34 -07:00
Samuel Sampson
42e0fcda29
Fix lint error due to private variable
2021-08-17 22:26:14 +00:00
Samuel Sampson
e778df672a
Don't clear timeouts in TimeBasedDebouncer if they've already been executed.
2021-08-17 22:20:04 +00:00
Samuel Sampson
ae58302dfa
Allow render debounce interval to be configured at construction time in TimeBasedDebouncer
2021-08-17 22:09:51 +00:00
Samuel Sampson
9f24cf7e72
Cancel queued refreshes in TimeBasedDebouncer on dispose
2021-08-17 21:28:58 +00:00
Samuel Sampson
f1849cafaf
Introduce IRenderDebouncer interface, unifying RenderDebouncer and TimeBasedDebouncer types
2021-08-17 20:50:47 +00:00
Samuel
f1eed44e14
Merge branch 'master' into master
2021-08-17 13:18:13 -07:00
Daniel Imms
ca88476934
Improve spacing of dash characters
2021-08-17 08:48:23 -07:00
Daniel Imms
bcfbbb481c
Correct horizontal dash and a mixed weight char
2021-08-17 08:14:46 -07:00
Daniel Imms
9269e91c49
Make bold triple normal weight so 1 dpr = 3px bold
2021-08-17 08:04:17 -07:00
Daniel Imms
fd25ee0127
Add some doc comments
2021-08-17 08:02:19 -07:00
Daniel Imms
f43ae16a47
Implement curved lines
2021-08-17 07:57:32 -07:00
Daniel Imms
2b3c763982
Clean up mixed weight characters
2021-08-17 07:42:47 -07:00
Daniel Imms
3aace14492
Merge branch 'master' into merogge/pixelPerfect
2021-08-17 07:15:03 -07:00
Daniel Imms
9cdb8067f7
Merge pull request #3421 from Tyriar/node_addons
...
Make serialize and unicode11 compatible with node
2021-08-17 05:57:06 -07:00
Daniel Imms
cee8f6727f
Merge branch 'master' into node_addons
2021-08-17 05:49:25 -07:00
Daniel Imms
7a2621f6ab
Make serialize and unicode11 compatible with node
...
Fixes #3410
Fixes #3411
2021-08-17 05:48:52 -07:00
Daniel Imms
03c18368cc
Merge pull request #3420 from Tyriar/readme
...
Call out xterm-headless in main readme
2021-08-17 04:55:27 -07:00
Daniel Imms
5ea91c4d69
Merge pull request #3419 from Tyriar/vscode98918
...
Remove role=document from terminal element
2021-08-17 04:55:20 -07:00
Daniel Imms
7c0a28eb59
Call out xterm-headless in main readme
...
Fixes #3412
2021-08-17 04:54:44 -07:00
Daniel Imms
936e0f80fa
Merge branch 'master' into vscode98918
2021-08-17 04:50:51 -07:00
Daniel Imms
280ce85b74
Remove role=document from terminal element
...
Part of microsoft/vscode#98918
2021-08-17 04:50:29 -07:00
Daniel Imms
cbe65f22ca
Merge pull request #3418 from Tyriar/serialize_cleanup
...
Expose modes API and serialize modes in serialize addon
2021-08-17 04:49:07 -07:00
Daniel Imms
c1b4f4edb1
Fix webgl access of core service
2021-08-17 04:41:44 -07:00
Daniel Imms
6c834aecb4
Serialize modes
...
Fixes #3417
2021-08-16 15:31:34 -07:00
Daniel Imms
bef865e196
Add xterm api tests
2021-08-16 15:06:29 -07:00
Daniel Imms
8c25d57c26
xterm-headless modes api, tests for headless
2021-08-16 15:01:30 -07:00
Daniel Imms
6affe68ca3
Expose modes api
...
Part of #3417
2021-08-16 14:44:39 -07:00
Daniel Imms
012468785b
Clean up serialize addon
2021-08-16 12:27:12 -07:00
Samuel
9a48975ba9
Merge branch 'master' into master
2021-08-16 11:58:44 -07:00
meganrogge
63dcd6ef7a
Merge branch 'merogge/pixelPerfect' of https://github.com/meganrogge/xterm.js into merogge/pixelPerfect
2021-08-16 09:51:50 -07:00
meganrogge
62aa91a34d
clean up
2021-08-16 09:51:20 -07:00
Megan Rogge
323317b49e
Merge branch 'master' into merogge/pixelPerfect
2021-08-16 12:44:50 -04:00
meganrogge
7344d62e81
clean up
2021-08-16 09:39:44 -07:00
Daniel Imms
0286f0cb93
Merge pull request #3403 from Eugeny/master
...
Properly dispose of CursorBlinkStateManager
2021-08-16 05:00:18 -07:00
Eugeny
b2121fde11
Merge branch 'master' into master
2021-08-15 22:54:13 +02:00
Daniel Imms
7549f0e924
Clean up
2021-08-13 15:09:04 -07:00
Daniel Imms and Megan Rogge
f83ebdbe67
Refactors and implementing new shapes
...
Co-authored-by: Megan Rogge <merogge@microsoft.com >
2021-08-13 14:53:45 -07:00
Daniel Imms
263e5b95cf
Improve testing characters and use fake terminal for demo
2021-08-13 12:52:50 -07:00
meganrogge
6b7b279742
refactor
2021-08-13 10:47:30 -07:00
Daniel Imms
cf411ad798
Merge pull request #3415 from Tyriar/benchmark_lint
...
Fix eslint errors in test/benchmark
2021-08-12 13:21:38 -07:00
Daniel Imms
d8899b0b5d
Fix eslint errors in test/benchmark
2021-08-12 12:59:22 -07:00
meganrogge
07513c927f
more
2021-08-12 11:46:52 -07:00
meganrogge
9104385883
convert a bunch of them
2021-08-12 11:38:45 -07:00
meganrogge
d13afa1b37
get things to work
...
Co-authored-by: Daniel Imms <daimms@microsoft.com >
2021-08-12 10:12:43 -07:00
Daniel Imms
0cbec2d0ec
Merge pull request #3414 from Tyriar/fix_package_headless
...
Run yarn package before publishing
2021-08-12 07:21:13 -07:00
Daniel Imms
0a287e01ab
Run yarn package before publishing
...
Part of #2749
2021-08-12 07:20:44 -07:00
Daniel Imms
51175437e9
Merge pull request #3413 from Tyriar/fix_npmignore
...
Include lib-headless in xterm-headless
2021-08-12 06:54:45 -07:00
Daniel Imms
7f5af09f52
Include lib-headless in xterm-headless
...
Part of #3212
2021-08-12 06:54:04 -07:00
Daniel Imms
930b1468a5
Merge pull request #3409 from cs01/cs01/add-termpair-gdbgui
...
add TermPair and gdbgui to real world uses list
2021-08-12 06:40:27 -07:00
Daniel Imms
46aa8de4f6
Merge pull request #3212 from joyceerhl/nodetarget
...
Create a node.js target for xterm.js
2021-08-12 06:19:37 -07:00
Daniel Imms
d694febdbf
Polish readme
2021-08-12 06:19:15 -07:00
Daniel Imms
f45f5b4b9f
Remove unneeded manual headless test
2021-08-12 06:11:30 -07:00
Daniel Imms
f8066d6dee
Full tests for xterm-headless
2021-08-12 06:00:55 -07:00
Daniel Imms
df48e9f6d5
Headless event tests
2021-08-12 05:52:40 -07:00
Daniel Imms
e96b472ede
Start on headless unit tests
2021-08-12 05:35:20 -07:00
Daniel Imms
ec80fc9421
Remove alpha from package.json version
2021-08-12 04:51:49 -07:00
Daniel Imms
7e7dcd9917
Move node-test into headless folder
2021-08-12 04:51:29 -07:00
Daniel Imms
6ac7e181c5
Merge branch 'master' into nodetarget
2021-08-12 04:48:06 -07:00
Chad Smith
34d6449d07
add TermPair and gdbgui to real world uses list
2021-08-11 23:40:25 -07:00
meganrogge
46cb37876d
more working
2021-08-11 15:46:50 -07:00
meganrogge
927a142480
add more
2021-08-11 15:36:29 -07:00
meganrogge
57c7e6af47
add more characters
2021-08-11 15:19:12 -07:00
meganrogge
db845a6f24
make a bunch of progress
2021-08-11 14:14:17 -07:00
meganrogge
12980fbe0c
start from scratch, some progress
2021-08-11 11:18:47 -07:00
Daniel Imms
dda4904d9d
Fix xterm-headless lib file
2021-08-11 06:42:00 -07:00
Daniel Imms
454c2726a5
Add npmignore
2021-08-11 06:30:15 -07:00
Daniel Imms
be16429317
Remove unused compile script
2021-08-11 06:23:42 -07:00
Daniel Imms
370d0c562a
Copy logo-full.png
2021-08-11 06:19:56 -07:00
Daniel Imms
3e9b1bafbe
Remove force publish changes
2021-08-11 06:10:12 -07:00
Daniel Imms
5affa70097
Undo headless force publish changes
2021-08-11 06:06:06 -07:00
Daniel Imms
b6e5430702
Revert "Force publish"
...
This reverts commit f685d8eb21 .
2021-08-11 06:04:48 -07:00
Daniel Imms
97fa4a59b7
Package headless in release step
2021-08-11 05:54:37 -07:00
Daniel Imms
f685d8eb21
Force publish
2021-08-11 04:52:37 -07:00
Daniel Imms
83ddf0fc4b
Force publish of headless even in PR
2021-08-11 04:46:27 -07:00
Daniel Imms
a54a4321ea
Merge pull request #3408 from xtermjs/dependabot/npm_and_yarn/path-parse-1.0.7
...
Bump path-parse from 1.0.6 to 1.0.7
2021-08-11 04:01:41 -07:00
dependabot[bot]
69ce01c794
Bump path-parse from 1.0.6 to 1.0.7
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-08-10 22:58:26 +00:00
meganrogge
ee759e245d
line up vertically
2021-08-10 13:41:24 -07:00
Daniel Imms
6aa0782ce3
Publish dry run in package_headless
2021-08-10 13:14:05 -07:00
Daniel Imms
15bd827c2e
Improve headless packaging
2021-08-10 12:57:45 -07:00
Daniel Imms
4a200e59ac
Create headless package script
2021-08-10 12:50:22 -07:00
Daniel Imms
f769d03e0c
xterm-core -> xterm-headless
2021-08-10 12:27:43 -07:00
Daniel Imms
468f419a58
Merge branch 'master' into nodetarget
2021-08-10 12:21:59 -07:00
meganrogge
3b8218e36e
work with Daniel
2021-08-10 10:03:38 -07:00
Daniel Imms
6dbdd03815
Merge pull request #3405 from alur/master
...
Add missing escape
2021-08-10 05:36:00 -07:00
Daniel Imms
f43fcafc99
Move addon manager to common and use in xterm-core
2021-08-10 05:08:03 -07:00
Daniel Imms
b15fbec69c
Merge pull request #3407 from DingoEatingFuzz/patch-1
...
Add HashiCorp Nomad to the real world uses list
2021-08-10 04:51:53 -07:00
Michael Lange
a48cffd4ab
Add HashiCorp Nomad to the real world uses list
...
The equivalent of https://github.com/xtermjs/xtermjs.org/pull/149 but in the right place this time 🙂
2021-08-09 18:53:04 -07:00
meganrogge
3b3ef09d87
keep working
2021-08-09 14:52:47 -07:00
meganrogge
e01e9c9584
start on #130406
2021-08-09 14:23:09 -07:00
Erik Welander
4c4160ae03
Add missing escape
...
Previously the \ was unnecessarily escaping the ';'.
2021-08-04 11:31:32 -07:00
Eugene Pankov
8c94980315
Properly dispose of CursorBlinkStateManager
2021-07-31 18:53:23 +02:00
Samuel Sampson
732927b0e2
Add back IDisposable implementation in TimeBasedDebouncer for the ease of interoperability with RenderDebouncer
2021-07-29 20:20:02 +00:00
Samuel Sampson
4a9ecb33bd
Remove unneeded dispose method from TimeBasedDebouncer
2021-07-29 19:58:59 +00:00
Samuel Sampson
e82f475c9b
Separate the regular render debouncer from a Time-Based debouncer to be used to update Screen Readers
2021-07-29 19:57:51 +00:00
Samuel Sampson
12e1e422e3
Update RenderDebouncer to update screen readers once per second instead of once per animation frame.
2021-07-29 19:35:14 +00:00
Puneethnaik
dab73aa263
update the viewportElement style width upon refreshing of the viewport to accomodate changes in scrollBarWidth
2021-07-28 15:56:26 +00:00
Daniel Imms
a6e6c07a3c
Add first headless test
2021-07-22 16:23:04 -07:00
Daniel Imms
40992a7f76
Update node test
2021-07-22 16:18:07 -07:00
Daniel Imms
01babd1491
Do a pass of headless/Terminal members
2021-07-22 16:11:56 -07:00
Daniel Imms
2191d1a16a
Output commonjs for headless
2021-07-22 16:01:20 -07:00
Daniel Imms
9b2e511bcb
Fix webpack headless
2021-07-22 15:57:21 -07:00
Daniel Imms
7117951233
Output headless to out/headless
2021-07-22 15:52:27 -07:00
Daniel Imms
61ede1cc0d
Update instructions to run
2021-07-22 15:41:24 -07:00
Daniel Imms
df17288c1e
Create headless project, fix compile
2021-07-22 15:40:13 -07:00
Daniel Imms
625e17ee1c
Fix some errors, move TerminalCore to common/
2021-07-22 15:30:55 -07:00
Daniel Imms
91c7032aac
Use core terminal in common, remove duplicate classes
2021-07-22 15:17:28 -07:00
Daniel Imms
238f6ab011
Merge branch 'master' into nodetarget
2021-07-22 14:54:53 -07:00
Daniel Imms
522c8bf3af
Merge pull request #3214 from joyceerhl/api-view-classes
...
Move API view classes under common/public
2021-07-22 14:53:27 -07:00
Daniel Imms
a14bb3ead3
Add buffer back to ITerminal
2021-07-22 14:45:39 -07:00
Daniel Imms
cb284447c8
Clean up imports
2021-07-22 14:44:49 -07:00
Daniel Imms
41e4de35e9
common/public use ICoreTerminal instead of concrete
2021-07-22 14:42:11 -07:00
Daniel Imms
a5c6252ff5
Remove browser references from common/public
2021-07-22 14:36:45 -07:00
Daniel Imms
d3e42e342d
Merge remote-tracking branch 'ups/master' into pr/joyceerhl/3214
2021-07-22 14:33:17 -07:00
Daniel Imms
5a4b305a68
Merge pull request #3393 from Tyriar/tyriar/less_than
...
Use less than instead of non-integer check
2021-07-16 13:26:26 -07:00
Daniel Imms
0ceeb087e9
Use less than instead of non-integer check
...
Part of #3391
2021-07-16 13:25:56 -07:00
Daniel Imms
6f838091c3
Merge pull request #3392 from Tyriar/tyriar/3391
...
Fix cursor ghosting in canvas/webgl renderers
2021-07-16 10:18:42 -07:00
Daniel Imms
cec71efc3e
Merge branch 'master' into tyriar/3391
2021-07-16 10:10:20 -07:00
Daniel Imms
361998bd34
Fix cursor ghosting in canvas/webgl renderers
...
Fixes #3391
2021-07-16 10:08:36 -07:00
Daniel Imms
6ae71adcac
Merge pull request #3387 from Tyriar/space_char_fix
...
Fix underline/strikethrough on space chars
2021-07-09 13:53:35 -07:00
Daniel Imms
8ec3368636
Fix underline/strikethrough on space chars
2021-07-09 08:17:52 -07:00
Daniel Imms
e746cd55dd
Merge pull request #3386 from Tyriar/webgl_line
...
Support underline and strikethrough in WebGL renderer
2021-07-09 07:55:57 -07:00
Daniel Imms
1f019093fc
Update SGR support table
2021-07-09 07:48:26 -07:00
Daniel Imms
aad6f8147e
Increase underline/strikethrough width with font size
2021-07-09 07:44:10 -07:00
Daniel Imms
bc702d28ff
Support webgl strikethrough, fix underline position
...
Fixes #580
2021-07-09 07:39:19 -07:00
Daniel Imms
96dd021ca4
Support underline in webgl renderer
...
Fixes #2251
2021-07-09 07:32:25 -07:00
Daniel Imms
c8e7edf11d
Merge pull request #3384 from Tyriar/underline
...
Set underlined style support to partial
2021-07-09 07:09:14 -07:00
Daniel Imms
d8c790cb7a
Set underlined style support to partial
...
Feature tracked in #2251
2021-07-09 07:05:46 -07:00
Daniel Imms
29ddee4869
Merge pull request #3343 from silamon/strikethrough
...
Support strikethrough text style
2021-07-09 07:03:02 -07:00
Daniel Imms
a2352f345b
Merge branch 'master' into strikethrough
2021-07-09 06:53:05 -07:00
Daniel Imms
fa8a4853f7
Clarify crossed out = strikethrough
2021-07-09 06:52:54 -07:00
Daniel Imms
a1f65a2f77
Update crossed out characters support to partial
2021-07-09 06:52:28 -07:00
Daniel Imms
a554d3291f
Merge pull request #3372 from Puneethnaik/issue_3319_fix
...
Scrollbar still visible after clearing screen and scrollback buffer with escape sequence #3319
2021-07-09 06:46:48 -07:00
Puneethnaik
6f159aa2fc
Merge branch 'master' of https://github.com/xtermjs/xterm.js into issue_3319_fix
2021-07-09 07:56:13 +05:30
Daniel Imms
a78e07eda9
Merge pull request #3371 from LabhanshAgrawal/fonts
...
Fix navigator types issue
2021-07-08 06:01:26 -07:00
Puneethnaik
b7e96f9e54
attach a listener to inputHandler._onScroll in CoreTerminal
2021-06-20 03:31:12 +00:00
Labhansh Agrawal
c7ced80092
Fix navigator types issue
2021-06-18 08:27:43 +05:30
Daniel Imms
094bcbd81d
v0.5.1
2021-06-15 04:02:35 -07:00
Megan Rogge
19bd040453
Update xterm version to 4.13.0
2021-06-11 14:18:04 -07:00
Daniel Imms
8a9d843ad7
Merge branch 'master' into strikethrough
2021-06-04 06:44:32 -07:00
Simon Lamon
d19a740825
Support strikethrough text style
2021-05-15 17:35:23 +02:00
Gerald
db42dcfae2
fix: translate string offset to buffer index in wrapped line
2021-03-02 11:31:26 +08:00
Gerald
ae037bdac0
fix: translate buffer col to string offset
2021-02-22 16:23:08 +08:00
Gerald
6f6378aaf2
fix length calculation of wide unicode chars
2021-02-22 16:06:57 +08:00
joyceerhl
0f9240207d
Move API view classes under common/public
2021-01-11 20:29:15 -08:00
Daniel Imms
c015379c51
Merge branch 'master' into nodetarget
2021-01-11 06:46:32 -08:00
joyceerhl
2f88498ad5
Add index.js used to test xterm-core
2021-01-10 22:32:36 -08:00
joyceerhl
5e6e65c8da
Get dupe of src/browser/public/Terminal compiling
2021-01-10 22:18:41 -08:00
joyceerhl
157055c03b
Original files
2021-01-10 22:17:31 -08:00