Daniel Imms
ede1d5f7c8
Correctly dispose of Renderer and ScreenDprMonitor
2018-06-21 10:49:03 +10:00
Daniel Imms
c0f4a8eb7c
Move Dom listener helper to ui/
...
Part of #1518
2018-06-21 10:03:53 +10:00
Daniel Imms
52be55852e
Merge branch 'master' into 1360_dom_renderer
2018-06-03 06:58:08 -07:00
Daniel Imms
75a45808c3
Merge branch 'master' into 1456_triple_click_wrapped
2018-06-03 06:04:41 -07:00
Daniel Imms
4dff828374
Add @types/glob
2018-06-03 07:15:45 +01:00
Daniel Imms
b79ab7212c
Remove a bunch of implicit anys
2018-06-02 18:39:05 -07:00
Daniel Imms
285911cd98
Implement IBuffer.getWrappedRangeForLine
...
Part of #1456
2018-06-02 17:53:35 -07:00
Lukas Geiger
8989a09853
Prefer const vs let for variables that are only declared once
...
Requires that variable declarations use `const` instead of `let` and `var` if possible.
This is mostly for code readability, performance wins are debatable.
2018-05-30 19:47:28 +02:00
Daniel Imms
c2b5a243f2
Refactor and add some tests to dom renderer
2018-05-26 08:15:40 -07:00
Jörg Breitbart
aeae688b4c
multiple changes in InputHandler:
...
- remove prefix/postfix
- optional collect arg where needed
- tempPrefix handler removed
- replaced .bind with () => notation
- moved callback registering to ctor again
2018-05-01 14:32:08 +02:00
Jörg Breitbart
9593cb0cc8
readonly lines; fix for MockBuffer
2018-04-23 22:40:24 +02:00
Daniel Imms
e5ee76ded4
Remove terminal references on dispose
...
Part of #1341
Fixes #1370
2018-04-04 11:51:50 -07:00
Lucian Buzzo
55d6daf8ee
Do not mutate options object used in constructor
...
Connects to #1322
change-type: patch
2018-03-24 16:25:02 +00:00
Daniel Imms
63f24be2b9
Merge branch 'master' into 1325_marker_api
2018-03-20 19:02:52 -07:00
Daniel Imms
1fd7348938
Merge branch 'master' into unused_func
2018-03-20 19:00:24 -07:00
Marek Libra
b67b65cd1e
Replace inline-styles by external CSS
...
Selected inline-styles were externalized to xterm.css.
The `Terminal._charSizeStyleElement` is removed since it
was not used anymore.
Fixes: https://github.com/xtermjs/xterm.js/issues/1335
2018-03-20 13:45:08 +01:00
Daniel Imms
5d1f744282
Remove unused function
2018-03-19 08:20:28 -07:00
Daniel Imms
b80832ac4c
Initial marker API implementation
...
Part of #1325
2018-03-16 12:53:55 -07:00
Daniel Imms
4443ed69c7
Add noUnusedLocals tsconfig flag, fix issues
...
Two parts were commented out:
- _writeStopped: This is because _xoffSentToCatchUp references this variable
and the feature is sort of half implemented/disabled.
- _clearChar: This is because some comments still reference this, it's part
of the work needed to do better line redrawing.
2018-03-08 10:56:10 -08:00
Daniel Imms
289b4eeb23
Merge branch 'master' into 426_alt_scroll
2018-03-08 05:37:16 -08:00
Daniel Imms
b20fe80f9b
Merge pull request #1308 from bgw/rm-did-char-size-change
...
Remove didCharSizeChange logic from renderer
2018-03-08 05:10:53 -08:00
Daniel Imms
e137530581
Scroll by exact line amount in alt buffer, unify scroll logic
...
Fixes #1304
2018-03-05 14:22:20 -08:00
Daniel Imms
7c471f5389
Fix test compile
2018-03-05 11:32:05 -08:00
Benjamin Woodruff
18fb134910
Remove didCharSizeChange logic from renderer
...
The only thing `didCharSizeChange` was used for was to figure out if we
need to refresh the character atlas or not. However, `acquireCharAtlas`
already inspects the atlas owned by this terminal, and if it matches, it
avoids generating a new atlas.
So if `didCharSizeChange` is true and it's not needed, it quickly bails
out as a no-op. But if `didCharSizeChange` is false, and it was needed
(possible given the complexity of testing all of these edge cases), it
could introduce a bug.
I think it makes sense to just get rid of `didCharSizeChange`, and just
always call `acquireCharAtlas`.
2018-03-04 20:55:42 -08:00
Daniel Imms
1972bf4bb3
Merge remote-tracking branch 'ups/master' into 1181
2018-02-21 14:36:11 -08:00
Daniel Imms
f089b997c0
Merge branch 'master' into 731_screen_reader
2018-02-14 09:03:31 -08:00
Thomas Zilz
dc759a93bc
Support setting padding on the .xterm element ( #1208 )
...
* Support padding on the .xterm element
2018-02-06 12:31:17 +01:00
Daniel Imms
a0f390ef54
Expose strings through the API
2018-01-28 13:10:11 -08:00
npezza93
aeae40e110
Use the terminal and circular list interface
2018-01-28 12:38:20 -05:00
Daniel Imms
963db4d2fd
Remove navigation mode/more rows element
2018-01-27 14:48:45 -08:00
Daniel Imms
b9976c3d17
Merge remote-tracking branch 'origin/master' into 731_screen_reader
2018-01-26 10:24:09 -08:00
Daniel Imms
2e23dd34e0
Move xterm-internal types back into Types.ts files
2018-01-25 11:06:52 -08:00
Daniel Imms
177edfa66e
Merge interfaces and types files
2018-01-25 10:03:28 -08:00
Daniel Imms
7358890a31
Merge remote-tracking branch 'ups/master' into 1221_iterminal_typings
2018-01-25 09:45:13 -08:00
Daniel Imms
a22b5c0faa
Merge remote-tracking branch 'ups/master' into 955_worker_refactor
2018-01-25 07:16:00 -08:00
Daniel Imms
b97cedcf5b
Merge remote-tracking branch 'origin/master' into 731_screen_reader
2018-01-19 14:01:37 -08:00
Daniel Imms
e4abd4dd8a
Move Shared interfaces into a new typings file
...
This will enable sharing the internal interface with addons (and catching
breakages early)
2018-01-19 09:48:33 -08:00
Daniel Imms
47df04976c
Base ITerminal on interface in .d.ts
...
Part of #1221
2018-01-19 09:48:33 -08:00
Daniel Imms
307dd0fd68
Add several tslint rules
2018-01-17 10:32:35 -08:00
Daniel Imms
53e1f83bb5
Update tslint, fix lint
2018-01-17 10:23:27 -08:00
Daniel Imms
3fa4b4941f
Support nav mode pgup/pgdown/end/home, check boundaries
2018-01-16 11:01:45 -08:00
Daniel Imms
34eb08952c
Fix RenderDebouncer not refreshing whole viewport when asked
2018-01-16 10:26:09 -08:00
Daniel Imms
e9b55930d8
Fix test mocks
2018-01-16 10:12:37 -08:00
Daniel Imms
85c02f10bf
Improve dispoable listener functions
2018-01-14 13:18:00 -08:00
Bruno Ribeito
b75f52734d
Use Web audio API
2018-01-08 20:53:26 +00:00
Daniel Imms
a19b05f813
Fix bad type check that caused rows to not refresh
2018-01-08 09:53:06 -08:00
Daniel Imms
d0ef868215
Refactor char atlas to enable generation with worker
...
This doesn't actually add workers but it separates the code nicely
such that the minimal amount of relevant code can be pulled in by
worker code.
Part of #955
2018-01-06 13:43:34 -08:00
Daniel Imms
c46304c716
Merge remote-tracking branch 'origin/master' into 731_screen_reader
2018-01-05 14:28:08 -08:00
Daniel Imms
248fbccfd9
Remove console.log
2018-01-05 14:18:16 -08:00
Daniel Imms
e20d2caa0e
Use consistent refresh/render method names
2018-01-05 08:19:30 -08:00