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
ffa4d921bb
Merge remote-tracking branch 'upstream/master' into renderer_before_open
2022-10-07 10:10:24 -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
590a8219e3
Merge remote-tracking branch 'upstream/master' into shared_cache
2022-10-02 13:42:44 -07:00
Daniel Imms
c5f9eacbb1
Move other render parts to shared folder
2022-10-01 17:41:16 -07:00
Daniel Imms
ed15a8e170
Create new event with emitter object to simplify code
2022-10-01 08:45:40 -07:00
Daniel Imms
693d09cbad
Allow setting renderer addon before open is called
2022-09-24 14:41:48 -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
Daniel Imms
e8e2f16cff
Merge remote-tracking branch 'upstream/master' into pr/silamon/4004
2022-09-02 13:05:52 -07: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
4a6e7bee21
Fix lgtm recommendations
2022-08-30 14:09:39 -07:00
Simon Lamon
a1385f589b
Required options
2022-08-05 16:16:12 +00:00
Daniel Imms
6493679b2e
Inactive selection bg in dom renderer
...
Part of #3803
2022-07-29 11:00:36 -07:00
Daniel Imms
d1f53e2b02
Replace ISelectionPosition with IBufferRange
...
Fixes #2480
2022-07-28 05:58:15 -07:00
Daniel Imms
8c16d9d506
Remove writeUtf8 deprecated API
2022-07-27 09:04:43 -07:00
Daniel Imms
7a17a26e18
Remove link matchers
...
Fixes #2703
2022-07-27 06:49:35 -07:00
Megan Rogge
52044e9aad
clear all markers ( #3868 )
2022-06-21 18:26:02 +00:00
Daniel Imms
59e1bddb6e
Merge branch 'master' into 3810
2022-05-17 11:43:06 -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
eb96187801
Support selectionForeground in dom
...
Part of #3810
2022-05-16 10:08:51 -07:00
Daniel Imms
0976b15709
Fix lint
2022-05-11 11:57:13 -07:00
Daniel Imms
3d41f028e4
Layout dimension left/right after renderer dims change
...
Fixes #3773
2022-05-11 10:12:48 -07:00
meganrogge
1f60a398b2
on render, fire when height has changed (was 0)
2022-03-22 15:04:22 -04:00
meganrogge
82706e77db
add to mockbuffer
2022-03-02 20:19:49 -06:00
meganrogge
275ae6b2d3
DecorationsService -> DecorationService
2022-02-08 14:20:18 -06:00
meganrogge
cae9f44f5c
remove mention of buffer
2022-02-08 11:45:22 -06:00
meganrogge
8bf3cd1102
add to test
2022-02-07 16:06:16 -06:00
meganrogge
c5a0711f84
clean up
2022-01-31 12:53:07 -06:00
meganrogge
ebdd07b8ae
get button to work
2022-01-29 00:07:51 -06:00
Daniel Imms
189ff56224
Add API to clear canvas renderer texture atlas
...
Fixes #3455
2021-09-22 06:38:47 -07:00
Daniel Imms
6affe68ca3
Expose modes api
...
Part of #3417
2021-08-16 14:44:39 -07:00
Daniel Imms
f52d631fa4
Add eslint type assertions rule
...
Fixes #3359
2021-06-04 06:23:12 -07:00
Daniel Imms
9143cf4904
Merge branch 'master' into feat/3014-add-onBell-event-listener
2021-04-06 05:28:29 -07:00
Bruno Ribeiro
7b7b7a36db
Fix #3014
...
- Add onBell event listener to allow embeders to hook into it
2021-04-03 16:34:00 +01:00
Daniel Imms
b7320794bb
Ligature support for dom renderer
...
Fixes #3283
2021-04-02 10:34:14 -07:00
Daniel Imms
999116c536
Convert CharacterJoinerRegistry to a service
...
Part of #3094 , #3283
2021-04-02 07:43:39 -07:00
Jörg Breitbart
d0b555687f
update parser hooks api and tests
2021-02-08 03:28:49 +01:00
Jörg Breitbart
adfeffec76
deprecate writeSync
2021-01-22 21:17:34 +01:00
jeanp413
95d01dec52
Sync textarea with cursor. Fixes #2598
2020-07-09 03:56:40 -05:00
Daniel Imms
03bfd2c842
Move Terminal*.test into browser
2020-04-26 10:59:32 -07:00
Daniel Imms
353a8c5388
Create CoreTerminal, fix createInstance in strict mode
2020-04-25 10:21:56 -07:00
Daniel Imms
1472e7b051
Merge branch 'master' into 2824
2020-04-14 06:25:06 -07:00
Daniel Imms
9817754f92
Fix explicit access
2020-04-14 06:23:11 -07:00
Daniel Imms
309bdf3d70
Rename onRender
2020-04-11 09:53:32 -07:00
Daniel Imms
714daba393
Fix selection wrapping to end when not beyond viewport
...
This was happening as the devicePixelRatio wasn't being taken into account,
the fix was to rely on IRenderService to get the right canvas height.
Fixes #2833
2020-04-11 06:31:58 -07:00
Daniel Imms
a0e2c9b270
Fix naming issue with serviceBrand
2019-07-13 23:45:25 -07:00
Daniel Imms
88c88f1141
Adopt DI in browser services
2019-07-13 22:26:13 -07:00
Daniel Imms
a4d18a3b23
Introduce mouse service
2019-06-15 19:40:51 -07:00