Daniel Imms
fae6f03f90
Consolidate dom and browser helpers, remove unused
2026-02-02 07:09:33 -08:00
Daniel Imms
b30d9c3533
Remove trace decorator and unused platform consts
2026-01-30 07:27:38 -08:00
Daniel Imms
d7850af9a2
Fix lint
2026-01-03 14:19:36 -08:00
Daniel Imms
e2f45b5f4e
Fix for modern node that includes a navigator.userAgent
2026-01-03 14:10:44 -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
Daniel Imms
37efeeb044
Make process node check stricter
...
Fixes #4995
2024-03-16 09:08:54 -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
2aee19f0e1
Revert "Workaround crash that can happen in Electron/Chromium"
...
This reverts commit 2ca0ccbe0c .
2023-08-15 08:31:34 -07:00
Daniel Imms
2ca0ccbe0c
Workaround crash that can happen in Electron/Chromium
...
Part of microsoft/vscode#189753
2023-08-15 06:46:35 -07:00
Jason Lin
d177acccee
Fix a11y issues #4269
2022-12-02 18:35:09 +11: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
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
Felix Seidl
b246318090
fix text baseline for legacy edge
2022-01-30 21:21:07 +01:00
David Sanders
af2f744186
use Array.includes
2020-11-11 09:43:17 -08:00
coderaiser
246d137c2c
src: lint using putout
2020-10-25 10:05:41 +02:00
Daniel Imms
47b6756ead
isMSWindows -> isWindows
2019-06-29 18:57:59 -07:00
Daniel Imms
02868c1033
Remove support for IE11
...
Fixes #1889
2019-06-09 15:52:37 -07:00
Daniel Imms
2e10c8c25e
Clean up
2019-04-02 08:04:39 -07:00
Daniel Imms
4a3609f805
Move platform to common and remove dom dependence in common
...
Because common/ imports 'xterm', it also imported dom accidentally.
Fixes #1990
2019-03-31 23:24:29 -07:00