Daniel Imms
57db72d287
More adoption of MutableDisposable
2023-08-27 06:55:16 -07:00
Daniel Imms
921da1a2ea
Ignore no-unused-vars in .api, organize all remaining imports
2023-08-23 04:47:53 -07:00
Albert Safin
064fe0cfd9
Render the cursor in the WebGL canvas
2023-06-18 06:34:14 +00:00
Daniel Imms
02d3ef599a
Fix internal usages that needed Required<ITerminalOptions>
2022-12-11 11:42:14 -08:00
Daniel Imms
2c9e711cae
Move all other refs in webgl over
2022-10-15 13:55:36 -07:00
Daniel Imms
114924f3fa
Add eslint-plugin-jsdoc and enable check-param-names
2022-10-15 08:38:14 -07:00
Daniel Imms
a37ea14d10
Use options service in renderers
2022-10-09 10:57:49 -07:00
Daniel Imms
48f15cb543
Remove remaining setColors methods
2022-10-08 14:07:28 -07:00
Daniel Imms
c4750eaf77
Create basic theme service
...
Part of #4184
2022-10-08 11:43:19 -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
fc8043a25a
Ensure webgl texture atlas is released on dispose
2022-10-08 07:32:51 -07:00
Daniel Imms
0bc5ca8f80
Fix imports
2022-10-02 11:08:06 -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
c5f9eacbb1
Move other render parts to shared folder
2022-10-01 17:41:16 -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
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
Daniel Imms
1c6ce99419
Move canvas renderer contents into addon
2022-07-27 10:26:02 -07:00
Daniel Imms
54cbbf600d
Dispose of webgl resources properly
...
Fixes #3889
2022-07-06 07:32:42 -07:00
儿时
1e8901630c
Replace all getOption/setOption usage with options
2022-03-02 11:25:20 +08:00
Daniel Steinberg
59f940c19c
Set text baseline conditionally by browser.
2021-10-22 19:20:21 +00:00
Daniel Imms
0aaa20f873
Start of webgl integration
2021-08-18 07:31:35 -07:00
Daniel Imms
6b3fd2f31a
Merge branch 'master' into spacing_eslint
2021-04-02 07:45:31 -07:00
Daniel Imms
f19d7f0b70
Require spacing of objects outside of test files
2021-04-02 07:08:06 -07:00
Daniel Imms
a510ffb3c0
Use ideographic baseline for canvas
2021-04-01 17:10:14 -07:00
Daniel Imms
3a5def98e5
Correct selection types being optional
2020-04-25 06:56:00 -07:00
Daniel Imms
bbd83b9dba
Migrate whitespace tslint rule
2020-03-28 07:34:49 -07:00
Daniel Imms
88a50d3779
Fix most rules
2020-03-28 06:51:36 -07:00
Nick Pezza
48aebec01f
Remove default width value
2019-12-07 15:39:34 -05:00
Nick Pezza
c630b92772
Allow the thickness of the bar cursor to be configured
2019-11-30 14:40:45 -05:00
Daniel Imms
e89d79b879
Remove unused code
2019-11-10 11:33:41 -08:00
Daniel Imms
60194179f8
Move CharAtlasCache to browser
2019-07-14 09:43:54 -07:00
Daniel Imms
bc07225394
Enable strict mode in webgl addon
...
Fixes #2286
2019-07-04 09:08:56 -07:00
Daniel Imms
40bc62c383
Enable strict null checks in webgl addon
...
Part of #2286
2019-07-04 08:58:42 -07:00
Daniel Imms
38f2e7a81d
Simplify webgl atlas by removing BaseCharAtlas
2019-07-04 08:28:21 -07:00
Daniel Imms
10fedf4ccf
Enforce underscore prefix for protected members
2019-06-27 18:36:44 -07:00
Daniel Imms
5100c7a30d
Use Constants from core
2019-06-16 00:17:14 -07:00
Daniel Imms
d7daa53b50
Move webgl renderer into addon dir
2019-06-14 23:55:17 -07:00