Daniel Imms
681ba4887f
Fix viewport error during term dispose
...
Fixes #4775
2023-09-09 07:11:32 -07:00
Daniel Imms
50369713de
Merge branch 'master' into fix-selection-background-domrenderer
2023-09-09 06:16:42 -07:00
Daniel Imms
608a5e2329
Merge branch 'master' into Fix-Domrenderer-Invisible
2023-09-09 04:58:39 -07: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
tisilent
c03cb2b016
When DomRenderer focus,render the cursor line.
2023-09-07 23:44:36 +08:00
Daniel Imms
68c572345b
Remove debugger statement
2023-09-02 09:19:17 -07:00
Daniel Imms
1624854bd7
Migrate Terminal api tests to playwright
2023-09-02 08:18:02 -07:00
Daniel Imms
4ed97cae3a
Merge branch 'master' into playwright
2023-09-01 07:46:35 -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
Daniel Imms
fbebabe2e6
Add @playwright/test support
2023-08-27 08:08:52 -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
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
aba16687b0
Fix high pressure texture atlas corruption
...
The corruption was caused by confusion with page indexes when
merging pages. The fix is to simplify it by deleting all pages
and then just adding the new page.
Fixes #4534
Fixes #4351
2023-08-26 10:23:09 -07:00
Daniel Imms
797a71695f
Improve texture atlas utilization
...
- Changed the threshold at which pages start to merge from MAX/2 to
MAX.
- If a glyph is about to create a new page that will be merged,
check if the existing row fits when ignoring the row pixel
threshold. This will improve texture utilization by using the
available space before the page is merged and becomes static.
2023-08-26 09:37:08 -07:00
tisilent
9e768a4c7c
Update circle line custom powerline glyph.
2023-08-25 18:37:48 +08:00
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
1965daff50
Warn on eslint rule @typescript-eslint/no-useless-constructor
2023-08-24 06:24:25 -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
b6fd7a2b93
Ignore no-unused-vars in test files
2023-08-23 04:42:21 -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
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
93e060aeb2
Add MutableDisposable tests
2023-08-18 14:24:50 -07:00
Daniel Imms
a84351ad0c
Add MutableDisposable
...
Part of #4685
2023-08-18 14:15:56 -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
Daniel Imms
7b874473d3
Remove unneeded comments, headless options
2023-08-17 09:10:38 -07:00
Per Bothner
957e3e0f08
Fix bug in selection handling in dom renderer
2023-08-16 15:34:35 -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
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
2ca0ccbe0c
Workaround crash that can happen in Electron/Chromium
...
Part of microsoft/vscode#189753
2023-08-15 06:46:35 -07:00
Daniel Imms
c908eeed5c
Merge pull request #4667 from Dennnnny/fix-transparent-foreground-color
...
Fix transparent foreground color
2023-08-14 12:11:04 -07:00
Daniel Imms
09fc798e80
Remove redundant condition
...
Part of #4097
2023-08-14 05:47:25 -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
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