Daniel Imms
602eea4bfa
v3.13.1
2019-05-16 09:59:08 -07:00
Daniel Imms
ab7da8193c
Add sanity check in AccessibilityManager
...
Fixes #2082
2019-05-16 09:58:45 -07:00
Daniel Imms
ffc868a4b8
Merge pull request #2055 from xtermjs/Tyriar-patch-2
...
v3.13.0
2019-05-09 09:42:56 -07:00
Daniel Imms
e40f924913
v3.13.0
2019-05-09 09:37:07 -07:00
Daniel Imms
ca1c647442
Merge pull request #2054 from Tyriar/fix_beta_cd
...
Actually fix beta CD
2019-05-09 08:20:58 -07:00
Daniel Imms
79e182d63f
Actually fix beta CD
...
Part of #2044
2019-05-09 08:20:19 -07:00
Daniel Imms
c1b56722d3
Merge pull request #2052 from jflatow/unit-separator
...
Send the unit separator for C-_, like some other keyboards
2019-05-09 07:56:30 -07:00
Jared Flatow
dc236aeb20
Send the unit separator for C-_, like some other keyboards
2019-05-09 00:06:32 -07:00
Daniel Imms
2d0937ac1d
Merge pull request #2047 from Tyriar/2044_cd_fix
...
Base the next beta version on the correct current beta
2019-05-08 18:08:18 -07:00
Daniel Imms
0d5cd9582f
Base the next beta version on the correct current beta
...
Fixes #2044
2019-05-08 18:03:06 -07:00
Daniel Imms
4729bfaa2d
Merge pull request #2043 from cubiclesoft/add_php_app_server
...
Added PHP App Server to Real-world uses section.
2019-05-07 18:30:04 -07:00
cubiclesoft
a88469aac6
Added PHP App Server to Real-world uses section.
2019-05-07 12:07:00 -07:00
jerch
d6da010c7e
Merge pull request #2035 from jerch/2028_handle_joined_cells
...
cell representation for joined cells
2019-05-06 22:42:05 +02:00
Daniel Imms
c6138edec2
Merge branch 'master' into 2028_handle_joined_cells
2019-05-05 18:55:53 -07:00
Daniel Imms
15a6c9846d
Merge pull request #2040 from Tyriar/devcontainer
...
Add a dev container
2019-05-05 16:06:55 -07:00
Jörg Breitbart
ca193ed00d
Merge branch 'master' into 2028_handle_joined_cells
2019-05-05 21:54:16 +02:00
Jörg Breitbart
ffcdba8d5b
simplify JoinedCellData
2019-05-05 21:48:35 +02:00
Daniel Imms
d68c441b86
Merge pull request #2038 from roottool/fix-that-webLinks-not-interpreted#1954
...
Fix that webLinks not interpreted
2019-05-03 21:13:00 -07:00
Daniel Imms
613f877954
Add a dev container
...
This lets users using VS Code/Docker avoid installing node and the C++
dependencies necessary for running xterm.js.
2019-05-03 21:08:25 -07:00
Daniel Imms
a1353a8fb4
Merge pull request #2039 from roottool/refacter-the-css-code-of-cursor-blink
...
Refactored the CSS code of cursor blink
2019-05-03 12:59:04 -07:00
roottool
4269777f1c
Fix: Refactored the css code of keyframes blink
2019-05-04 02:54:38 +09:00
roottool
23eed1b3ea
Fix: Changed pathClause
2019-05-04 02:02:26 +09:00
Daniel Imms
ebc0083531
Merge pull request #2036 from Tyriar/protect_markers
...
Make Terminal.markers readonly
2019-05-02 09:45:15 -07:00
Daniel Imms
7d3e2d7da4
Merge branch 'master' into protect_markers
2019-05-02 09:33:24 -07:00
Daniel Imms
ea09c6af09
Fix build
2019-05-02 09:23:13 -07:00
Daniel Imms
267357c4de
Merge pull request #2032 from Tyriar/task
...
Add build and test task
2019-05-02 07:54:42 -07:00
Daniel Imms
f416bd155a
Make compound task the default
2019-05-02 07:53:28 -07:00
Daniel Imms
c6a3fb3b42
Merge branch 'master' into task
2019-05-02 07:47:29 -07:00
Daniel Imms
cb33c897d2
Merge branch 'master' into protect_markers
2019-04-30 12:20:30 -07:00
Daniel Imms
469d5158a0
Make Terminal.markers readonly
2019-04-30 19:19:41 +00:00
Daniel Imms
766b1745d3
Merge pull request #2027 from Tyriar/auto_release
...
Automatically release stable builds
2019-04-29 22:50:16 -07:00
Daniel Imms
68182ed162
Merge branch 'master' into auto_release
2019-04-29 22:42:20 -07:00
Daniel Imms
d261862ccb
Merge pull request #2026 from Tyriar/ui_project
...
Create UI project, strict null check some more files
2019-04-29 22:41:54 -07:00
Daniel Imms
8d6682a2bc
Merge branch 'master' into ui_project
2019-04-29 22:26:28 -07:00
Daniel Imms
63833b59ed
Fix lint
2019-04-29 22:24:44 -07:00
Jörg Breitbart
4fd9b3f249
jix joined cell representation as overloaded CellData type
2019-04-30 00:58:18 +02:00
jerch
3f145b8a0c
Merge pull request #2034 from jerch/2031_defaultcolor_handling
...
apply default fg color for uncached chars and underline in canvas renderer
2019-04-29 23:40:18 +02:00
Jörg Breitbart
1f42e7c06a
fix fg color for underline
2019-04-29 23:19:16 +02:00
Jörg Breitbart
42b1dca7db
add handling for default fg color
2019-04-29 22:33:01 +02:00
Daniel Imms
f0c3bab156
Add build and test task
2019-04-29 11:35:42 -07:00
Daniel Imms
4453a1cbf7
Automatically release stable builds
...
Part of #1921
2019-04-28 03:52:43 +00:00
Daniel Imms
362152004b
Move files not in ui project back to root
2019-04-28 02:28:20 +00:00
Daniel Imms
88d5cf46f8
Strict null check ScreenDprMonitor
2019-04-28 02:16:28 +00:00
Daniel Imms
ebfa57b71c
Strict null check RenderDebouncer
2019-04-28 02:03:41 +00:00
Daniel Imms
4c3082c924
Remove ITerminal dependency in RenderDebouncer
2019-04-28 01:59:40 +00:00
Daniel Imms
672db9437f
Create ui project, add Lifecycle
2019-04-28 01:55:56 +00:00
Daniel Imms
f4bbfc30f3
Merge pull request #1872 from Tyriar/cd
...
Setup continuous deployment beta builds
2019-04-27 18:33:46 -07:00
Daniel Imms
65eaea39d3
Base the beta build off of the next minor version
2019-04-28 00:45:51 +00:00
Daniel Imms
70db48b533
Add notice about beta builds in readme
2019-04-28 00:34:44 +00:00
Daniel Imms
779ebe87e5
Merge branch 'master' into cd
2019-04-27 16:52:09 -07:00
Daniel Imms
6237eaa86f
Merge pull request #2025 from thebradbain/fix-terminal-resize
...
Clear line cache on terminal resize
2019-04-27 16:42:30 -07:00
Bradley Bain
736bd53e49
Clear line cache on terminal resize
2019-04-25 21:24:07 -07:00
Daniel Imms
69d43d4a40
Merge branch 'master' into cd
2019-04-14 16:04:49 -07:00
Daniel Imms
c6f785f51a
Merge pull request #2014 from starpit/underline
...
feat: add underline support to DOM renderer
2019-04-14 11:24:25 -07:00
Nick Mitchell
8718d3a4ca
feat: add underline support to DOM renderer
...
part of #1896
2019-04-14 13:47:58 -04:00
Daniel Imms
7aaa1ad0bb
Merge pull request #2009 from Tyriar/single_quote
...
Add vscode setting for single quote style
2019-04-12 09:36:35 -07:00
Daniel Imms
fa70aa0983
Merge pull request #2008 from Tyriar/event_emitter_2
...
Explicit event API
2019-04-11 09:08:15 -07:00
Daniel Imms
89a3931a68
Merge branch 'master' into event_emitter_2
2019-04-11 08:15:19 -07:00
Daniel Imms
a0ee09a7bc
Add vscode setting for single quote style
...
This will alwayts use single quotes when TS server does auto imports,
implement interface, etc.
2019-04-11 08:14:18 -07:00
Daniel Imms
94415a227d
Merge pull request #1866 from ntchjb/master
...
Fix search addons: Fix problem of skipping some results and incorrect text selection after resize window
2019-04-10 03:45:58 -04:00
Daniel Imms
0b4ff4bb6b
Merge branch 'master' into event_emitter_2
2019-04-10 03:34:37 -04:00
Daniel Imms
4be376d397
Merge branch 'master' into master
2019-04-10 03:31:40 -04:00
Daniel Imms
cf4b59567b
Add tests for new events
2019-04-09 21:01:55 -07:00
Daniel Imms
b9bc219ecc
Make events in d.ts alphabetical
2019-04-09 20:52:18 -07:00
Daniel Imms
f4c7e3fd7d
Remove extends EventEmitter from Linkifier
2019-04-09 20:43:42 -07:00
Daniel Imms
36567e60df
Remove extends EventEmitter from more classes
2019-04-09 20:36:08 -07:00
Daniel Imms
2e0e24c382
Remove extends EventEmitter from SelectinoManager
2019-04-09 20:26:18 -07:00
Daniel Imms
290bde6163
Convert refresh to EventEmitter2
2019-04-09 20:16:26 -07:00
Daniel Imms
db78b75e8b
Convert selection to EventEmitter2
2019-04-09 20:05:13 -07:00
Daniel Imms
87328fe293
Convert data to EventEmitter2
2019-04-09 19:53:02 -07:00
Daniel Imms
2c96c262f4
Convert scroll to EventEmitter2
2019-04-09 19:42:53 -07:00
Daniel Imms
f111aa27dc
Convert linefeed to EventEmitter2
2019-04-09 19:35:41 -07:00
Daniel Imms
8e5d372b81
Convert cursormove to EventEmitter2
2019-04-09 19:31:59 -07:00
Daniel Imms
8b5b64605e
Start find previous from the current viewport
2019-04-09 19:53:22 -04:00
Daniel Imms
660466d244
Merge pull request #1923 from jerch/fix_1879
...
signal sequence was finally handled
2019-04-09 11:15:02 -04:00
Daniel Imms
dee4429151
Remove unneeded interfaces
2019-04-09 11:11:16 -04:00
Daniel Imms
c3d1b0703c
Merge branch 'master' into fix_1879
2019-04-09 11:10:17 -04:00
Daniel Imms
71827f7981
Merge branch 'master' into master
2019-04-09 11:01:02 -04:00
Daniel Imms
a86c2943b8
Merge branch 'master' into event_emitter_2
2019-04-09 10:57:11 -04:00
Daniel Imms
cb591f212a
Merge pull request #2006 from skavanagh/patch-1
...
Added Bastillion to Real-world uses
2019-04-09 10:53:08 -04:00
Sean Kavanagh
e5f94391ae
Update README.md
2019-04-09 09:10:29 -04:00
Daniel Imms
5476f4cb93
Merge pull request #2002 from Tyriar/1932_broken_reflow
...
Fix reflow case where wrapped line portions ended in \t
2019-04-08 18:59:21 -04:00
Daniel Imms
aaf8b80292
Merge branch 'master' into 1932_broken_reflow
2019-04-08 18:51:02 -04:00
Daniel Imms
9ab3d319d1
Merge pull request #2004 from Tyriar/dim_dom_renderer_test
...
Add a test for dim flag in dom renderer
2019-04-08 10:56:15 -04:00
Daniel Imms
a0b4ee56f6
Add a test for dim flag in dom renderer
2019-04-07 14:17:38 -04:00
Daniel Imms
6ff81c43f6
Convert marker dispose, selection manager newselection
2019-04-07 14:09:31 -04:00
Daniel Imms
625e168e1b
Convert title and resize events
2019-04-07 14:02:11 -04:00
Daniel Imms
b2ab89ddaa
Merge branch 'master' into event_emitter_2
2019-04-07 13:56:50 -04:00
Daniel Imms
4ace81d994
Merge branch 'master' into 1932_broken_reflow
2019-04-07 13:53:23 -04:00
Daniel Imms
25745777c6
Merge pull request #2003 from Tyriar/fix_merge_problem
...
Fix compile error from conflicting PRs
2019-04-07 13:53:09 -04:00
Daniel Imms
74b68ac1c7
Fix compile error from conflicting PRs
2019-04-07 13:49:56 -04:00
Daniel Imms
2a4208cf3e
Merge branch 'master' into 1932_broken_reflow
2019-04-07 13:48:31 -04:00
Daniel Imms
e58033bbac
Merge pull request #1895 from jerch/true_color
...
True color support
2019-04-07 13:45:08 -04:00
Daniel Imms
bd92aaf4dc
Merge branch 'master' into 1932_broken_reflow
2019-04-07 13:44:29 -04:00
Daniel Imms
3ac313f8e1
Fix reflow larger case
...
Fixes #1932
2019-04-07 13:18:05 -04:00
Daniel Imms
ab44650d87
Fix reflow smaller case related to ended \t chars
...
Part of #1932
2019-04-07 13:16:20 -04:00
Daniel Imms
11ab4dbd5b
Merge pull request #2000 from starpit/dim
...
feat: add DIM support to DomRenderer
2019-04-07 09:47:51 -04:00
Daniel Imms
92c435a16d
Use same dim opacity as canvas renderer
2019-04-07 09:45:54 -04:00
Nick Mitchell
ddd02b4968
feat: add DIM support to DomRenderer
...
part of #1896
2019-04-06 16:04:50 -04:00
Daniel Imms
7e36bf47c6
Have undefined | true mean success
2019-04-06 15:21:20 -04:00
Daniel Imms
d6daf40250
Merge branch 'master' into fix_1879
2019-04-06 15:08:58 -04:00
Daniel Imms
09a5fd4e61
Fix capitalization in color mode
2019-04-06 15:06:42 -04:00
Daniel Imms
171b9337cb
Make BufferLine enums const
2019-04-06 14:56:15 -04:00
Daniel Imms
bb324ba9c1
Move width shift back into enum
2019-04-06 14:55:43 -04:00
Daniel Imms
27283e45e9
Merge branch 'master' into true_color
2019-04-06 14:13:14 -04:00
Daniel Imms
23ce6ce19e
Merge pull request #1999 from asadm/master
...
add CodeInterview.io in README
2019-04-05 11:12:03 -04:00
Asad Memon
e8a9994583
add CodeInterview.io in README
2019-04-04 11:58:19 -07:00
Daniel Imms
46f3b3fa62
Merge branch 'master' into true_color
2019-04-04 01:06:26 -04:00
Daniel Imms
2f8d49c74d
Convert internal key event usages
2019-04-04 00:45:57 -04:00
Daniel Imms
629238ae70
Use onResize in demo
2019-04-04 00:25:03 -04:00
Daniel Imms
3f9d90ecf6
Remove unnecessary paste listener from demo
2019-04-04 00:23:12 -04:00
Daniel Imms
f35dfb496a
Use onKey in demo
2019-04-04 00:22:34 -04:00
Daniel Imms
4e6f4be6cc
Convert Listener to an interface
2019-04-04 00:14:04 -04:00
Daniel Imms
798cf8abc3
Merge branch 'master' into event_emitter_2
2019-04-04 00:12:07 -04:00
Daniel Imms
b591db8c02
Merge pull request #1997 from Tyriar/1989_backspace_demo
...
Fix backspace on demo
2019-04-04 00:06:09 -04:00
Daniel Imms
b18829963c
Fix backspace on demo
...
buffer.x will probably be public API soon (#1994 )
Fixes #1989
2019-04-04 00:01:43 -04:00
Daniel Imms
e402dba635
Merge pull request #1995 from termius/fix_csi_scroll_down
...
Fix CSI scroll down handler
2019-04-03 23:57:01 -04:00
Daniel Imms
2023b5b677
Merge pull request #1992 from Tyriar/1990_layering_libs
...
Ensure DOM APIs cannot be used in common and core
2019-04-03 18:28:53 -04:00
Vadim Zakondyrin
68e3d7fa16
Fix CSI scroll down handler
...
The issue has been introduced in cd8477a942
2019-04-03 12:10:32 +06:00
Daniel Imms
e6333bde2d
Merge branch 'master' into true_color
2019-04-02 17:13:21 -07:00
Daniel Imms
51c7337099
Merge branch 'master' into 1990_layering_libs
2019-04-02 17:10:49 -07:00
Daniel Imms
6476429077
Merge pull request #1993 from Tyriar/windows_mode
...
Replace winptyCompat addon with windowsMode option
2019-04-02 17:08:31 -07:00
Daniel Imms
7b9a718af0
Fix some imports to point at ts files, not lib/
2019-04-02 16:45:43 -07:00
Daniel Imms
60113fa155
Replace EventEmitter usage in CharMeasure
2019-04-02 11:38:55 -07:00
Daniel Imms
60c2b20d68
Replace EventEmitter usage in BufferSet
2019-04-02 11:35:20 -07:00
Daniel Imms
f8fb4da9f4
Replace EventEmitter with EventEmitter2 in CircularList
2019-04-02 11:30:47 -07:00
Daniel Imms
5f014be057
Add onCursorMove, replace .on usage in addons
2019-04-02 11:12:57 -07:00
Daniel Imms
b12d2c218e
Remove reference to winptyCompat tsconfig
2019-04-02 11:03:24 -07:00
Daniel Imms
ba4662ac14
Introduce new onEvent APIs and deprecate on/off/etc.
...
Part of #1505
2019-04-02 11:01:16 -07:00
Daniel Imms
ca1f7f1392
Add EventEmitter2
2019-04-02 10:11:59 -07:00
Daniel Imms
fa505111a2
Replace winptyCompat addon with windowsMode option
2019-04-02 08:51:23 -07:00
Daniel Imms
2e10c8c25e
Clean up
2019-04-02 08:04:39 -07:00
Daniel Imms
8d4da3c2ac
Merge branch 'master' into pr/jerch/1895
2019-04-02 07:53:22 -07:00
Daniel Imms
81dda13218
Merge branch 'master' into 1990_layering_libs
2019-04-02 06:35:59 -07:00
Daniel Imms
0a8d57ce74
Merge pull request #1878 from jerch/utf32_buffer
...
Utf32 buffer
2019-04-01 17:50:09 -07:00
Daniel Imms
5c8c680dac
Fix feedback
2019-04-01 00:01:41 -07:00
Daniel Imms
69f8700557
Merge branch 'master' into pr/jerch/1878
2019-03-31 23:34:46 -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
Daniel Imms
fa2cbb0aca
Merge branch 'master' into fix_1879
2019-03-30 15:38:53 -07:00
Daniel Imms
b05c66b132
Merge pull request #1987 from Tyriar/1986_localhost
...
Recommend 127.0.0.1:3000 on mac and linux too
2019-03-30 15:36:42 -07:00
Daniel Imms
75046235af
Merge pull request #1984 from Tyriar/project_references
...
Build using TypeScript project references
2019-03-30 15:09:11 -07:00
Daniel Imms
bab94ebbdc
Merge pull request #1958 from nikonso/1947-weblinks-with-selection
...
WebLinks plugin don't follow link on selection
2019-03-30 15:07:34 -07:00
Daniel Imms
4d008c66f1
Recommend 127.0.0.1:3000 on mac and linux too
...
Fixes #1986
2019-03-30 15:06:25 -07:00
Daniel Imms
bf9d879efa
Fix typo
2019-03-30 14:59:31 -07:00
Daniel Imms
636afa11d6
Merge branch 'master' into 1947-weblinks-with-selection
2019-03-30 14:57:24 -07:00
Daniel Imms
1283123d4d
Merge pull request #1985 from Tyriar/fix_demo_non_win
...
Fix demo on non-Windows
2019-03-30 14:55:00 -07:00
Daniel Imms
e182e3d4e4
Fix demo on non-Windows
...
Broke in #1978
2019-03-30 14:52:48 -07:00
Daniel Imms
51033596ef
Merge branch 'master' into 1947-weblinks-with-selection
2019-03-30 14:47:46 -07:00
Daniel Imms
0960a7ae14
Merge branch 'master' into project_references
2019-03-30 14:43:11 -07:00
Daniel Imms
84d5963e7e
Merge pull request #1976 from Tyriar/1975_renderer_pause_fix
...
Fix renderer pausing to not full refresh every time
2019-03-30 14:42:38 -07:00
Daniel Imms
10b7b467b4
Merge pull request #1978 from Tyriar/move_windows_check
...
Let consumers decide whether winptyCompat should be active
2019-03-30 14:41:58 -07:00
Daniel Imms
2317a319d0
Merge pull request #1982 from Tyriar/1981_prevent_scroll_on_focus
...
Prevent scroll on focus
2019-03-30 14:40:26 -07:00
Daniel Imms
f80924fb8d
Remove zmodem demo
2019-03-30 14:12:15 -07:00
Daniel Imms
18f4dc6b3e
Remove concurrently
2019-03-30 14:09:51 -07:00
Daniel Imms
b400f9ca3b
Don't clear terminal on yarn watch
2019-03-30 14:08:57 -07:00
Daniel Imms
0b78011fa3
Adopt project references
...
Recent versions of TypeScript has improved the performance of project
references so they are now viable to switch over to.
2019-03-30 14:05:24 -07:00
Daniel Imms
2be0a5819b
Merge branch 'master' into 1981_prevent_scroll_on_focus
2019-03-29 19:57:33 -07:00
Daniel Imms
e346f8bba3
Prevent scroll on focus
...
Fixes #1981
2019-03-29 19:46:24 -07:00
Daniel Imms
1451bcb6ae
Merge pull request #1961 from nikonso:1773-take-drawBoldTextInBrightColors-into-account
...
Fix #1773 - drawBoldTextInBrightColors is not taken into account with DOM renderer
2019-03-29 12:59:20 -07:00
Daniel Imms
f1ef9abc77
Merge pull request #1979 from JesseStolwijk:master
...
#1977 Add blinking cursor to DomRenderer
2019-03-29 12:51:49 -07:00
Jesse Stolwijk
f9df863ee0
Add blinking cursor to DomRenderer
2019-03-25 22:17:16 +01:00
Daniel Imms
e6ac5634bb
Merge branch 'master' into move_windows_check
2019-03-23 11:38:19 -07:00
Daniel Imms
4dbe8ec1db
Let consumers decide whether winptyCompat should be active
2019-03-23 10:58:26 -07:00
Daniel Imms
8b6d564598
Merge pull request #1968 from nikonso/new-feature
...
Use new vscode serverReadyAction
2019-03-23 09:37:15 -07:00
Daniel Imms
131e4f78bd
Fix renderer pausing to not full refresh every time
...
Fixes #1975
2019-03-23 09:08:55 -07:00
Daniel Imms
99beeb2270
Merge pull request #1973 from zhaojh329/master
...
Modify uses
2019-03-19 10:46:23 -07:00
Jianhui Zhao
0d63cecc6b
Modify uses
...
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com >
2019-03-19 14:04:16 +08:00
ntchjb
3c444ca39a
Fixed coding format
2019-03-15 19:20:23 +07:00
ntchjb
03e648a0fb
Fixed the case that, if findPrevious is run without any selection, then start scan at the last row
2019-03-15 19:15:41 +07:00
Max
48a98fa29f
Merge pull request #1 from xtermjs/master
...
update branch
2019-03-15 17:26:55 +07:00
Bruno Ribeito
27ebe8c353
Use new vscode serverReadyAction
2019-03-11 20:58:42 +00:00
Bruno Ribeito
62cfa642cb
Better aproach, check i a selection is being performed
2019-03-11 20:54:17 +00:00
Bruno Ribeito
c16e3e54e8
Merge branch 'master' of https://github.com/xtermjs/xterm.js into 1947-weblinks-with-selection
2019-03-11 20:41:23 +00:00
Daniel Imms
bc86a61a0c
Merge pull request #1966 from turtle0x1/master
...
Add LxdMosaic to list of applications that use xterm.js
2019-03-11 10:29:22 -07:00
turtle0x1
19d36f9228
Update readme with link for lxdmosaic
2019-03-11 13:47:25 +00:00
Bruno Ribeito
b4bef0986c
Remove circular dependency
2019-03-10 22:03:38 +00:00
Daniel Imms
f63bd3d218
Merge branch 'master' into master
2019-03-08 11:47:41 -08:00
Daniel Imms
5cf2a21ddd
Merge branch 'master' into cd
2019-03-08 11:44:55 -08:00
Daniel Imms
7e1b5cc7e9
Merge pull request #1952 from NickShaffner/master
...
Fix for issue #812 : Xterm.js's encoding of mouse coordinate
2019-03-08 09:50:24 -08:00
Daniel Imms
4046d682c9
v3.12.0
2019-03-08 09:21:01 -08:00
jerch
127a2ca27a
Merge branch 'master' into master
2019-03-07 23:28:26 +01:00
Bruno Ribeito
525af9c36a
Fix #1773
2019-03-07 21:30:32 +00:00
Bruno Ribeito
5878aa099d
Cleaner aproach
2019-03-07 21:00:07 +00:00
Daniel Imms
9597ad20d3
Merge pull request #1950 from Tyriar/1943_winpty_compat_reflow
...
Disable reflow when winptyCompat is on
2019-03-07 12:38:30 -08:00
Daniel Imms
6deb3e13d2
Merge pull request #1938 from Tyriar/1937_uncached_char_top_fix
...
Align y draw coord with how cache draws it
2019-03-07 12:38:00 -08:00
Daniel Imms
ecb7f429bc
Merge branch 'master' into 1937_uncached_char_top_fix
2019-03-07 12:34:57 -08:00
Daniel Imms
ce09ae4ff8
Merge pull request #1959 from nikonso/1908-leave-callback
...
Fix #1908 - leaveCallback does not fire when links are on the edge of the terminal
2019-03-07 11:17:49 -08:00
Bruno Ribeito
bc41cc7d27
Fix #1908
2019-03-07 00:15:03 +00:00
Bruno Ribeito
51e2cdfafb
WIP: First draft
2019-03-06 21:45:53 +00:00
Daniel Imms
f41146fb40
Merge pull request #1934 from ahtshamraziq/fix-docker-compose-variable-substitution
...
Compose file: fix variable substitution
2019-03-05 08:31:59 -08:00
Daniel Imms
8fa7f177a6
Merge pull request #1956 from JesseStolwijk/master
...
Replace array shift with offset
2019-03-05 08:18:06 -08:00
Jesse Stolwijk
07430a4892
Replace array shift with offset ( #1955 )
2019-03-05 00:00:54 +01:00
Daniel Imms
ce1c45fb18
Merge pull request #1818 from juancampa/perf3
...
Use a time-based limit in Terminal._innerWrite
2019-03-04 10:50:27 -08:00
Daniel Imms
55f3aeeff5
Merge branch 'master' into perf3
2019-03-04 10:39:00 -08:00
Daniel Imms
a99364eae9
Merge branch 'master' into fix_1879
2019-03-04 10:37:51 -08:00
Daniel Imms
7b41b002c6
Merge branch 'master' into master
2019-03-04 10:05:18 -08:00
Daniel Imms
32e157bfaa
Remove unnecessary else
2019-03-04 10:04:52 -08:00
Daniel Imms
655c595011
Merge pull request #1927 from pfitzseb/sp/mousehandlerfix
...
*actually* fix mouse handler before term attached
2019-03-04 10:01:42 -08:00
Daniel Imms
064a372c71
Merge branch 'master' into sp/mousehandlerfix
2019-03-04 10:00:38 -08:00
Daniel Imms
c63f15a9b2
Fix lint
2019-03-04 10:00:04 -08:00
Daniel Imms
1aa40eb58b
Merge branch 'master' into fix-docker-compose-variable-substitution
2019-03-04 09:57:33 -08:00
Daniel Imms
d8b973b126
Merge pull request #1929 from coderaiser/patch-1
...
fix: Renderer: IntersectionObserver can produce more then 1 entry
2019-03-04 09:54:53 -08:00
Daniel Imms
05b162eefd
Merge branch 'master' into patch-1
2019-03-04 09:53:12 -08:00
Daniel Imms
46aa6a40f9
Merge branch 'master' into fix-docker-compose-variable-substitution
2019-03-04 09:49:12 -08:00
Daniel Imms
9f2aec1944
Merge branch 'master' into 1937_uncached_char_top_fix
2019-03-04 09:47:33 -08:00
Daniel Imms
42b66d98b2
Merge branch 'master' into 1943_winpty_compat_reflow
2019-03-04 09:46:15 -08:00
Daniel Imms
1eee182860
Merge pull request #1930 from Tyriar/1926_reflow_larger_fix
...
Make sure the viewport is filled when reflowing a row change
2019-03-04 09:45:43 -08:00
Daniel Imms
bd602fb078
Merge branch 'master' into 1926_reflow_larger_fix
2019-03-04 07:23:06 -08:00
Daniel Imms
8ea254bdc7
Merge pull request #1953 from cherouvim/patch-1
...
docs: style improvements
2019-03-01 11:26:06 -08:00
Ioannis Cherouvim
09754fddf8
xterm.js references to the library should not be backticked
2019-03-01 21:15:20 +02:00
Ioannis Cherouvim
a8a0344d1a
docs: style improvements
...
- Added a trailing dot at the end of each list line.
- Consistent usage of `xterm.js` in "Real-world uses".
2019-03-01 14:51:19 +02:00
Ioannis Cherouvim
4e479b455a
docs: Consistent style on lists.
...
Added some missing dots, capitalized a couple of lines.
2019-03-01 14:40:21 +02:00
Nick Shaffner
e178139907
Fix for issue #812 : Xterm.js's encoding of mouse coordinate
...
See: https://github.com/xtermjs/xterm.js/issues/812
Changed the utf-8 mouse encoding to match iTerm
2019-02-27 22:37:22 -08:00
Sebastian Pfitzner
0854f84653
actually fix mouse handler before term attached
2019-02-26 11:31:22 +01:00
Daniel Imms
a35cd43395
Merge branch 'master' into 1943_winpty_compat_reflow
2019-02-20 10:02:54 -08:00
Daniel Imms
3285374618
Disable reflow when winptyCompat is on
...
Fixes #1943
2019-02-20 07:03:40 -08:00
Daniel Imms
6ad6a01c3f
Merge pull request #1949 from liuzheng/master
...
Update README.md
2019-02-20 06:21:08 -08:00
夏虫
e1c1c7a4f2
Update README.md
...
move it to the bottom
2019-02-20 14:57:16 +08:00
Daniel Imms
437a59d4cd
Merge branch 'master' into 1937_uncached_char_top_fix
2019-02-19 07:19:33 -08:00
夏虫
9f29eeed23
Update README.md
...
(Jumpserver)[https://github.com/jumpserver/ ] use xterm.js
2019-02-19 17:19:19 +08:00
coderaiser
b0f01beb0f
Merge branch 'master' into patch-1
2019-02-15 16:57:58 +02:00
Daniel Imms
857ae4b702
Merge pull request #1936 from Tyriar/1935_remove_font_family
...
Remove font-family from .css file
2019-02-11 07:24:11 -08:00
Daniel Imms
c934200c86
Also set font size
2019-02-11 06:07:31 -08:00
Daniel Imms
78426d8a12
Make the composition view use the same font as the terminal
2019-02-11 06:05:14 -08:00
Daniel Imms
817401bbcd
Align y draw coord with how cache draws it
...
Fixes #1937
2019-02-11 05:32:47 -08:00
Daniel Imms
84d7bfeacc
Remove font-family from .css file
...
Fixes #1935
2019-02-11 05:14:55 -08:00
Ahtsham Raziq
92be01dd81
Compose file: fix variable substitution
2019-02-09 23:24:32 +05:00
Daniel Imms
d17dfbc73f
Cover a case when resizing smaller making y go out of bounds
2019-02-08 12:13:00 -08:00
Daniel Imms
ba9ed43acd
Merge branch 'master' into utf32_buffer
2019-02-05 11:39:08 -08:00
Daniel Imms
b88230db8b
Make sure the viewport is filled when reflowing a row change
...
Fixes #1926
2019-02-05 08:20:16 -08:00
coderaiser
69d3a4667f
fix: Renderer: IntersectionObserver can produce more then 1 entry
2019-02-04 13:28:14 +02:00
Daniel Imms
abf6a9fa58
Merge pull request #1925 from xtermjs/Tyriar-patch-1
...
Add roadmap wiki link to README
2019-02-03 15:37:50 -08:00
Daniel Imms
ea9d1d7ef0
Merge pull request #1928 from xtermjs/Tyriar-patch-2
...
Update license year
2019-02-03 15:37:40 -08:00
Daniel Imms
f3aac10bbd
Update license year
2019-02-03 10:46:20 -08:00
Daniel Imms
f30012b985
Merge branch 'master' into fix_1879
2019-02-01 20:03:40 -08:00
Daniel Imms
db9aa5c88b
Merge pull request #1916 from skyway777:master
...
Clear selection state if selection doesn't exists
2019-02-01 19:39:25 -08:00
Daniel Imms
1829cb7609
Add roadmap wiki link to README
2019-02-01 19:28:07 -08:00
Daniel Imms
6d6be9bed8
Merge pull request #1924 from xtermjs/Tyriar-patch-1
...
v3.11.0
2019-02-01 18:29:09 -08:00
Daniel Imms
54a1319f57
v3.11.0
2019-02-01 18:23:10 -08:00
Jörg Breitbart
65dbf88460
apply bright shift for uncached draws
2019-02-01 21:44:51 +01:00
Jörg Breitbart
0c54b1a29e
Merge branch 'master' into true_color
2019-02-01 20:59:31 +01:00
Jörg Breitbart
179e5d5892
Merge branch 'master' into utf32_buffer
2019-02-01 20:59:02 +01:00
Jörg Breitbart
6993daef15
Merge branch 'master' into fix_1879
2019-02-01 20:38:45 +01:00
Jörg Breitbart
801db3831d
type add methods
2019-02-01 20:32:07 +01:00
Jörg Breitbart
e813ae02fc
return true from inputhandler methods to signal sequence was handled
2019-02-01 20:28:45 +01:00
Daniel Imms
73ec8a89a0
Merge pull request #1912 from mofux/contextmenu_fix
...
Make textarea positioning work with css transformations
2019-02-01 09:53:16 -08:00
Jörg Breitbart
c2446df966
Merge branch 'utf32_buffer' into true_color
2019-02-01 01:30:29 +01:00
Jörg Breitbart
079729f1b4
change property getter into methods
2019-02-01 01:10:20 +01:00
Jörg Breitbart
c4a5e0862c
Merge branch 'utf32_buffer' into true_color
2019-01-31 23:16:23 +01:00
Jörg Breitbart
594797e05b
Merge branch 'master' into utf32_buffer
2019-01-31 23:15:50 +01:00
jerch
682efc7206
Merge pull request #1887 from jerch/fix_linkifier_offset
...
account empty cells in stringIndexToBufferIndex
2019-01-31 23:07:24 +01:00
jerch
9791d8ab49
Merge branch 'master' into fix_linkifier_offset
2019-01-31 23:02:53 +01:00
Daniel Imms
8e88ce8da5
Merge pull request #1919 from xtermjs/Tyriar-patch-1
...
Improve docs on Terminal.resize
2019-01-31 14:02:12 -08:00
Daniel Imms
828f14f2ab
Improve docs on Terminal.resize
2019-01-31 14:00:39 -08:00
Jörg Breitbart
7b7f85e3cf
add test for correct tab handling, docs
2019-01-31 22:56:55 +01:00
Jörg Breitbart
7da40b9d56
Merge branch 'utf32_buffer' into true_color
2019-01-31 22:13:33 +01:00
Jörg Breitbart
a1b61e05f9
Merge branch 'master' into utf32_buffer
2019-01-31 21:51:58 +01:00
jerch
21cb9872f3
Merge branch 'master' into fix_linkifier_offset
2019-01-31 20:33:26 +01:00
Daniel Imms
93d3842156
Merge pull request #1917 from Tyriar/vscode67364
...
Fix various problems with reflow
2019-01-31 09:07:51 -08:00
Daniel Imms
db31a44da3
Fix tests
2019-01-30 22:14:47 -08:00
Daniel Imms
33e46682b1
Fix various problems with reflow
...
- No longer reflow lines where the full unwrapped line contains the cursor
- Add guards to prevent y and ybase becoming invalid values
Part of Microsoft/vscode#67364
Fixes #1910
2019-01-30 21:47:39 -08:00
Nikita Chuklinov
fc1692b3eb
clear state if selection doesn't exists
2019-01-30 20:34:16 +03:00
Daniel Imms
d48982b60e
Merge branch 'master' into cd
2019-01-28 07:25:55 -08:00
Daniel Imms
9c72254d3a
Bump to 3.11.0
2019-01-28 07:23:58 -08:00
Daniel Imms
af6544d6d9
Improve package.json modifications
2019-01-28 07:23:46 -08:00
Jörg Breitbart
39fd6c427d
name polishing, docs
2019-01-28 10:42:44 +01:00
Jörg Breitbart
ef3c0c0e72
Merge branch 'fix_linkifier_offset' of git+ssh://github.com/jerch/xterm.js into fix_linkifier_offset
2019-01-27 22:23:08 +01:00
Jörg Breitbart
13f0fd0503
Merge branch 'master' into fix_linkifier_offset
2019-01-27 22:22:52 +01:00
Jörg Breitbart
c60f9b1468
code formatting
2019-01-27 20:06:58 +01:00
Jörg Breitbart
e77e36cbb7
fix typo in HAS_CONTENT
2019-01-27 19:59:13 +01:00
Jörg Breitbart
b20730ee4d
add more docs
2019-01-27 19:40:28 +01:00
Jörg Breitbart
acea73c8ac
Merge branch 'master' into utf32_buffer
2019-01-27 19:02:09 +01:00
jerch
cc531f1933
Merge pull request #1796 from jerch/typedarray_parser
...
support typed array in parser
2019-01-27 18:22:08 +01:00
Daniel Imms
c1b0c9bbf1
Merge branch 'master' into fix_linkifier_offset
2019-01-27 08:45:57 -08:00
Jörg Breitbart
358d70d721
cleanup gitignore
2019-01-27 17:34:58 +01:00
Jörg Breitbart
975dfc4a5e
Merge branch 'typedarray_parser' of git+ssh://github.com/jerch/xterm.js into typedarray_parser
2019-01-27 17:29:41 +01:00
Jörg Breitbart
fdf784ea96
Merge branch 'master' into typedarray_parser
2019-01-27 17:29:12 +01:00
Jörg Breitbart
e67bef69f4
cleanup types
2019-01-27 17:28:15 +01:00
Daniel Imms
8b6327b563
Merge branch 'master' into master
2019-01-27 08:18:40 -08:00
Daniel Imms
8e37883b90
Merge branch 'master' into typedarray_parser
2019-01-27 08:11:37 -08:00
Daniel Imms
ace855d0fe
Merge branch 'master' into contextmenu_fix
2019-01-27 07:49:03 -08:00
Daniel Imms
007cac22d2
Merge branch 'master' into cd
2019-01-27 07:29:34 -08:00
Daniel Imms
b047045949
Replace hardcoded version
2019-01-27 07:28:04 -08:00
Daniel Imms
c7cfca395c
Merge pull request #1871 from Tyriar/1867_readonly_api_props
...
Make Terminal API properties readonly
2019-01-27 07:25:15 -08:00
Daniel Imms
a7f2348c63
Merge branch 'master' into 1867_readonly_api_props
2019-01-27 07:17:07 -08:00
Daniel Imms
51a148508e
Merge pull request #1900 from Tyriar/cleanup
...
Remove unused var and unneeded defensive check
2019-01-27 07:16:53 -08:00
Jörg Breitbart
90a41a113a
review changes
2019-01-27 13:22:34 +01:00
Thomas Zilz
2a1f25e7dc
Make textarea positioning work with css transformations on parent elements
2019-01-27 13:15:37 +01:00
Daniel Imms
7e3b315d91
Merge branch 'master' into perf3
2019-01-26 13:20:32 -08:00
Daniel Imms
3a32a5714c
Merge branch 'master' into cleanup
2019-01-26 13:17:32 -08:00
Daniel Imms
273cc45357
Merge branch 'master' into cd
2019-01-26 13:12:40 -08:00
Daniel Imms
4dab31dbe0
Merge branch 'master' into 1867_readonly_api_props
2019-01-26 12:58:13 -08:00
Jörg Breitbart
87e9789748
more explicit docs for DCS parsers
2019-01-25 18:16:01 +01:00
Jörg Breitbart
4855b60ffe
move utf32ToString to TextDecoder.ts
2019-01-25 17:35:12 +01:00
Jörg Breitbart
21165a4286
Merge branch 'master' into typedarray_parser
2019-01-25 16:53:06 +01:00
Daniel Imms
c908da351b
Merge pull request #1864 from Tyriar/622_reflow3
...
Reflow text on resize
2019-01-24 20:04:33 -08:00
Daniel Imms
52a429f584
Merge branch 'master' into 622_reflow3
2019-01-24 19:01:21 -08:00
Jörg Breitbart
e6447bc91f
Merge branch 'master' into true_color
2019-01-25 02:43:52 +01:00
Jörg Breitbart
4f531f8490
Merge branch 'master' into utf32_buffer
2019-01-25 02:42:40 +01:00
Jörg Breitbart
19931e75c0
Merge branch 'master' into typedarray_parser
2019-01-25 02:41:56 +01:00
Daniel Imms
2edf02e468
Merge pull request #1905 from pfitzseb/sp/mousehandler
...
fix mouse event listener change before term attached
2019-01-24 11:49:09 -08:00
Daniel Imms
e1363e9fe7
Replace if/add/remove with a toggle
2019-01-24 11:32:09 -08:00
Daniel Imms
109e3a50e8
jsdoc
2019-01-24 10:20:18 -08:00
Daniel Imms
99ac78031c
Remove out param from reflow large method
2019-01-24 09:11:16 -08:00
Daniel Imms
d4bd8ae2be
Pull more parts out of reflow larger
2019-01-23 23:58:38 -08:00
Daniel Imms
dfff04cf3d
Pull toRemove step into BufferReflow
2019-01-23 23:51:28 -08:00
Daniel Imms
deb04ca162
Merge branch 'master' into 622_reflow3
2019-01-23 22:48:53 -08:00
Daniel Imms
178c513407
Clean up
2019-01-23 22:48:32 -08:00
Daniel Imms
df7cd9c319
Get reflow smaller working for wide chars
2019-01-23 22:40:40 -08:00
Daniel Imms
ce69dceee7
Progress on reflow smaller with wide chars
2019-01-23 21:46:35 -08:00
Daniel Imms
4843ca5bb8
Fix reflow larger with wide chars
2019-01-21 09:08:33 -08:00
Sebastian Pfitzner
8bdb606fd1
fix mouse event listener change before term attached
2019-01-21 11:09:00 +01:00
Daniel Imms
50abb43e9c
Remove request term info handler
...
We're not supporting it anyway, no point having it.
2019-01-20 12:56:49 -08:00
Daniel Imms
07d3407892
Remove unused var and unneeded defensive check
...
...items as an arg will always be an array
2019-01-17 09:48:18 -08:00
Daniel Imms
68197ed47b
Merge branch 'master' into 622_reflow3
2019-01-16 19:41:46 -08:00
Jörg Breitbart
b13b737a07
Merge branch 'master' into true_color
2019-01-17 02:09:44 +01:00
Jörg Breitbart
200f7bf33d
Merge branch 'master' into utf32_buffer
2019-01-17 02:09:19 +01:00
Jörg Breitbart
9549896ea5
Merge branch 'master' into typedarray_parser
2019-01-17 02:08:58 +01:00
Jörg Breitbart
2370038523
always draw RGB uncached
2019-01-17 01:41:48 +01:00
Jörg Breitbart
df739ab814
remove old color and flag shims
2019-01-17 01:31:59 +01:00
Jörg Breitbart
8d850d6c8b
apply CellData to canvas renderer
2019-01-17 01:25:16 +01:00
Jörg Breitbart
ae50d84c5a
fix characterjoiner to support AttrData
2019-01-17 00:07:25 +01:00
Daniel Imms
daaed5ac8f
Merge pull request #1897 from juancampa/char-measure-fix
...
Prevent charsizechanged from firing unnecessarily
2019-01-16 13:07:54 -08:00
Juan Campa
e02a9ff09e
Prevent charsizechanged from firing unnecessarily
2019-01-15 11:00:34 -05:00
Jörg Breitbart
1536e79542
remove printf remnant
2019-01-15 03:24:47 +01:00
Jörg Breitbart
94c19fb92a
preliminarly RGB support in canvas renderer
2019-01-15 03:13:44 +01:00
Jörg Breitbart
9cf479bcfa
cleanup rgb channel conversion
2019-01-14 08:51:18 +01:00
Jörg Breitbart
0802582c9b
test cases for DOM renderer style changes
2019-01-14 01:00:07 +01:00
Jörg Breitbart
3515c0b220
DOM renderer with RGB support
2019-01-14 00:46:44 +01:00
Jörg Breitbart
70ded42bee
follow naming scheme
2019-01-13 23:50:58 +01:00
Jörg Breitbart
c444eebd89
RGB support in buffer and attributes
2019-01-13 23:19:56 +01:00
Jörg Breitbart
7c6dad5805
test cases
2019-01-12 19:06:09 +01:00
Jörg Breitbart
40b231edd1
tests for CellData
2019-01-12 18:44:10 +01:00
Jörg Breitbart
35a6aa8326
some docs
2019-01-12 18:04:52 +01:00
Jörg Breitbart
711ae65947
remove get CharData from codebase and deprecate method
2019-01-12 17:50:19 +01:00
Jörg Breitbart
ece7192db7
remove set with CharData from codebase and deprecate method
2019-01-12 16:15:24 +01:00
Jörg Breitbart
3e456971b1
change buffer line ctor to new interface
2019-01-12 15:47:50 +01:00
Jörg Breitbart
60a591e8c8
use getNullChar in InputHandler.print
2019-01-12 15:37:20 +01:00
Jörg Breitbart
56dec2849f
change resize, fill to new interface, remove _cell on buffer line
2019-01-12 15:21:55 +01:00
Jörg Breitbart
fe6919b52a
change replaceCells to new interface
2019-01-12 15:05:52 +01:00
Jörg Breitbart
4bf7f3eb89
change deleteCells to new interface
2019-01-12 14:58:30 +01:00
Jörg Breitbart
523ff6e5fc
add null and whitespace placeholder cells to buffer
2019-01-12 14:54:54 +01:00
Jörg Breitbart
88a037b309
change insertCells to new interface
2019-01-12 14:34:29 +01:00
Jörg Breitbart
ad67f47acb
Merge branch 'typedarray_parser' into utf32_buffer
2019-01-12 14:08:53 +01:00
Jörg Breitbart
329d40ab14
cleanup DCS handler
2019-01-12 13:53:43 +01:00
Jörg Breitbart
a1f8749411
Merge branch 'typedarray_parser' of git+ssh://github.com/jerch/xterm.js into typedarray_parser
2019-01-12 13:43:55 +01:00
Jörg Breitbart
e7e0f67ea8
Merge branch 'master' into typedarray_parser
2019-01-12 13:43:40 +01:00
Jörg Breitbart
907a6b9732
Merge branch 'master' into utf32_buffer
2019-01-12 13:43:11 +01:00
Daniel Imms
7fe3f0a4e3
Improve BufferLine test
...
Ensure combined is cleared when shrinking and enlarging
2019-01-11 12:58:41 -08:00
ntchjb
9236934586
_findInLine() function should not run multiple times on the same row
2019-01-09 07:01:34 +07:00
Daniel Imms
932d5c7c21
Merge branch 'master' into master
2019-01-08 10:19:38 -08:00
Daniel Imms
509ce5fa3a
Merge pull request #1881 from Tyriar/1880_key_repeat
...
Don't print keys that print more than a single char
2019-01-07 14:43:20 -08:00
Jörg Breitbart
fed430b78c
Merge branch 'master' into fix_linkifier_offset
2019-01-07 11:39:52 +01:00
Jörg Breitbart
883ad01bd5
make linter happy
2019-01-07 11:39:16 +01:00
Jörg Breitbart
249f8800af
account empty cells in stringIndexToBufferIndex
2019-01-07 11:30:26 +01:00
Daniel Imms
0b8c320579
Merge pull request #1886 from epicfaace/typos
...
Fix typos
2019-01-06 19:01:35 -08:00
Ashwin Ramaswami
f04f2efc52
doc: fix more typos
2019-01-06 15:09:57 -08:00
Ashwin Ramaswami
f090fa822d
doc: fix typos
2019-01-06 15:07:36 -08:00
jerch
9bcf06f658
Merge branch 'master' into typedarray_parser
2019-01-05 05:04:42 +01:00
jerch
6581eb7d88
fix leftover BufferLineConstructor
2019-01-05 01:47:44 +01:00
jerch
90950e2b00
Merge branch 'master' into 622_reflow3
2019-01-05 01:24:28 +01:00
Jörg Breitbart
62dfa84d5d
remove get CharData calls from codebase (beside tests)
2019-01-05 01:01:10 +01:00
Jörg Breitbart
b93b774971
direct cell attrs getter
2019-01-04 19:14:56 +01:00
Jörg Breitbart
6552a023c1
remove get from linkifier
2019-01-04 18:46:45 +01:00
Jörg Breitbart
13ffed392d
remove get calls from renderer
2019-01-04 18:36:07 +01:00
Jörg Breitbart
d7e5977d9a
remove leftover
2019-01-04 16:19:01 +01:00
Daniel Imms
7a416aa18f
Don't print keys that print more than a single char
...
Fixes #1880
2019-01-03 22:49:03 -08:00
Jörg Breitbart
802543f7cf
replace set(CharData) with setCell
2019-01-04 02:58:15 +01:00
Jörg Breitbart
f3619ab61c
fix linter error
2019-01-04 01:33:49 +01:00
Jörg Breitbart
2f66efa49a
first try to optimize read access
2019-01-04 01:32:56 +01:00
Jörg Breitbart
75fbda1fe6
further opt for InputHandler.print
2019-01-04 01:32:20 +01:00
Jörg Breitbart
b0eecea45a
partially apply fast data access in InputHandler.print
2019-01-03 21:40:34 +01:00
Jörg Breitbart
f63223f8d8
Merge branch 'master' into utf32_buffer
2019-01-03 21:10:40 +01:00
Jörg Breitbart
a2a8c3d47f
extend buffer line with more direct access methods
2019-01-03 21:08:18 +01:00
jerch
f98572cf71
Merge pull request #1877 from jerch/remove_jsarray_buffer
...
remove js array based buffer line
2019-01-03 20:55:09 +01:00
Jörg Breitbart
ba1582cf3c
apply utf32 buffer layout
2019-01-03 19:01:43 +01:00
Jörg Breitbart
c668bb1243
remove js array based buffer line
2019-01-03 16:08:40 +01:00
Max
b4b6bab000
Merge branch 'master' into master
2019-01-03 16:12:19 +07:00
ntchjb
c784a012c7
Fix: update findingRow and cumulativeCols before running _findInLine
...
to be able to scan unwrapped line at the last row
2019-01-03 15:55:27 +07:00
ntchjb
efe22d8cf3
Revert "Support wide characters and combined characters"
...
This reverts commit f961f90bc8 .
2019-01-03 15:32:25 +07:00
Jörg Breitbart
27b91f6b00
speedup utf32ToString conversion
2019-01-03 02:55:11 +01:00
Jörg Breitbart
1fb1f556b1
Merge branch 'master' into typedarray_parser
2019-01-03 00:54:12 +01:00
Jörg Breitbart
8fc66a39e3
switch parse buffer to UTF32
2019-01-03 00:48:00 +01:00
Daniel Imms
740ca9ce6d
v3.10.0
2019-01-02 14:23:09 -08:00
Jörg Breitbart
2918a6763f
fix wrongly changed test case
2019-01-02 22:55:50 +01:00
Jörg Breitbart
dfc853aef4
add TextDecoder for string to UTF32
2019-01-02 22:50:15 +01:00
Daniel Imms
4db95f253e
Build to dist dir in release build
2019-01-02 13:40:06 -08:00
Daniel Imms
805c02fb18
Merge branch 'master' into cd
2019-01-02 12:56:07 -08:00
Daniel Imms
d120ef5301
Re-enable condition and dependsOn
2019-01-02 12:55:44 -08:00
Daniel Imms
68fbb2f8c9
Tweak more
2019-01-02 11:53:51 -08:00
Daniel Imms
515cf7878e
Tweak var
2019-01-02 11:49:20 -08:00
Daniel Imms
a35ad6aa81
Inherit exit code from publish call
2019-01-02 11:39:44 -08:00
Daniel Imms
aa2d28e619
Disable dependsOn
2019-01-02 11:37:34 -08:00
Daniel Imms
a6c3f94860
Publish to npm as beta
2019-01-02 11:24:06 -08:00
Daniel Imms
ff81ce078b
Add a release pipelines job
2019-01-02 09:38:40 -08:00
Jörg Breitbart
5fd764a89d
dont pullin everything from .vscode folder
2019-01-02 18:10:51 +01:00
Jörg Breitbart
83c734eae3
Merge branch 'typedarray_parser' of git+ssh://github.com/jerch/xterm.js into typedarray_parser
2019-01-02 18:00:31 +01:00
Jörg Breitbart
570cd786cb
Merge branch 'master' into typedarray_parser
2019-01-02 18:00:05 +01:00
Daniel Imms
29ff74e069
Merge pull request #1859 from Tyriar/baseline
...
Fix text being top aligned in latest Chrome and Firefox
2019-01-01 18:58:32 -08:00
Daniel Imms
c66a24fab4
Merge branch 'master' into baseline
2019-01-01 15:33:57 -08:00
jerch
7a579a374a
Merge pull request #1853 from PerBothner/control-seq-handler
...
hooks for custom CSI/OSC control sequences
2019-01-01 21:25:52 +01:00
jerch
f534758e29
Merge branch 'master' into control-seq-handler
2019-01-01 21:19:34 +01:00
Daniel Imms
dbd9b2af37
Merge branch 'master' into baseline
2019-01-01 11:50:09 -08:00
Daniel Imms
68b2b79880
Merge pull request #1861 from Tyriar/1860_style_npe
...
Add sanity checks to dom renderer underline code
2019-01-01 11:47:17 -08:00
Per Bothner
8fbeadd5f9
Add missing deleteCount argument to Array.splice calls.
2019-01-01 09:45:23 -08:00
ntchjb
f961f90bc8
Support wide characters and combined characters
...
- Convert buffer index to string index before searching
- Convert string index to buffer index after searching
- Fix bug when search selection skipped some result
2019-01-01 16:39:23 +07:00
Daniel Imms
338558d86c
Make Terminal API properties readonly
...
Fixes #1867
2018-12-31 20:09:48 -08:00
Daniel Imms
8b3513f009
Merge branch 'master' into 1860_style_npe
2018-12-31 19:15:15 -08:00
Daniel Imms
9b0b323957
Merge branch 'master' into baseline
2018-12-31 19:14:53 -08:00
Daniel Imms
48c1d36d77
Merge branch 'master' into control-seq-handler
2018-12-31 19:07:58 -08:00
Daniel Imms
2ce67b89bc
Remove unneeded MockTerminal member
2018-12-31 14:43:50 -08:00
Daniel Imms
6559931f34
Add lots of tests
2018-12-31 14:28:52 -08:00
Daniel Imms
840970eac7
Update markers after a reflow
2018-12-31 13:15:23 -08:00
Daniel Imms
40e8618cf5
Discard cut off combined data when resizing BufferLines
2018-12-31 10:26:10 -08:00
Daniel Imms
db488ebcc9
Reflow combined chars
2018-12-31 10:18:38 -08:00
Daniel Imms
1612cec3e0
Fix reflow larger bug, add regression test
2018-12-31 09:54:24 -08:00
Daniel Imms
135e31f2ca
Speed up reflow larger by batching removals
2018-12-31 08:58:04 -08:00
Daniel Imms
b7081abfce
Move loop into reflowLarger (adjust indent)
2018-12-31 07:54:16 -08:00
Daniel Imms
c9f4a650c6
Clean up comments and todos
2018-12-31 07:26:08 -08:00
Daniel Imms
478742a22e
Make reflow small crazy fast
...
This messy but this drops 100000 scrollback reflow from 87 cols to 40 cols
go from ~18 seconds to < 1 second, 10000 takes around 70ms
2018-12-30 12:14:48 -08:00
Per Bothner
bbfe149397
Merge pull request #1 from Tyriar/hooks_changes
...
Move to array-based instead of linked list, simplify, add tests
2018-12-29 07:01:39 -08:00
ntchjb
d94c897754
Fix search addons: be able to search wrapped lines from unwrapped line
...
by managing column range that is needed to be scanned.
2018-12-29 13:55:14 +07:00
Daniel Imms
dde96187fa
Keep track of cols/rows inside Buffer
2018-12-28 19:27:38 -08:00
Daniel Imms
4a9f10d062
Remove some of Buffer's dependency on Terminal
2018-12-28 19:22:05 -08:00
Daniel Imms
7435971c32
Merge remote-tracking branch 'origin/master' into 622_reflow3
2018-12-28 19:13:12 -08:00
Max
1b68682b79
Merge branch 'master' into master
2018-12-29 10:12:17 +07:00
ntchjb
565cba9c1a
Fix search addons:
...
- Changed to use `this._terminal.cols` for buffer line length instead.
- Let `_findInLine` check on wrapped line
- Added conditions in `_findInLine`
- For reverse search, if there is no selection at given row, then start scan at the end of the string
2018-12-29 09:38:17 +07:00
Daniel Imms
4375b3cdb9
Merge pull request #1865 from ntchjb/master
...
Fix search addons: searchTerm should not be matched if the beginning of matching index < 0
2018-12-28 15:02:51 -08:00
Daniel Imms
72369e060e
Only enable reflow on the normal buffer
2018-12-28 14:55:58 -08:00
Daniel Imms
2a0da173f2
Add a bunch of reflow tests
2018-12-28 14:55:15 -08:00
Daniel Imms
a33e8a6af7
Properly shrink rows to cols every time
2018-12-28 12:57:10 -08:00
ntchjb
913150fe13
Fix search addons:
...
searchTerm should not be matched if the beginning of matching index < 0
2018-12-29 03:03:23 +07:00
Daniel Imms
358898daf9
Fix some tests
2018-12-28 11:02:08 -08:00
Daniel Imms
7684f93773
Fix ydisp/ybase after trimming buffer
2018-12-28 01:32:19 -08:00
Daniel Imms
ae29dbb133
Fix scrollbar when wrapping beyond single viewport of data
2018-12-28 01:26:49 -08:00
Daniel Imms
3311ed509a
Do shrink in reverse, fix up row remove count again
2018-12-28 00:40:30 -08:00
Daniel Imms
8bc04c2fa7
Tidy up
2018-12-27 23:58:57 -08:00
Daniel Imms
fa47036982
Fix row removal in reflowLarger
2018-12-27 23:49:59 -08:00
Daniel Imms
314f98f2a6
Mostly working for reflowing to smaller
2018-12-27 23:35:52 -08:00
Daniel Imms
8a50729a98
Reflow wider
2018-12-27 21:58:54 -08:00
Daniel Imms
c133c644a6
Merge pull request #1834 from Tyriar/debugging
...
Add VS Code debug targets for demo server, client and unit tests
2018-12-27 14:18:51 -08:00
Daniel Imms
951f281bb0
Merge branch 'master' into debugging
2018-12-27 14:09:48 -08:00
Daniel Imms
d5cacbaf4a
Merge pull request #1863 from vincentwoo/patch-2
...
Small indent fix
2018-12-27 14:02:53 -08:00
Vincent Woo
bb198a980c
Small indent fix
2018-12-27 13:54:11 -08:00
Daniel Imms
60bc1bb873
Merge branch 'master' into perf3
2018-12-27 13:53:01 -08:00
Daniel Imms
d5bffb5395
Merge branch 'master' into typedarray_parser
2018-12-27 13:20:48 -08:00
Daniel Imms
2611a9b1d1
Merge pull request #1846 from linrock/no-end-quotes-in-weblinks
...
Weblinks should not allow quotes at end of urls enclosed in quotes
2018-12-27 11:32:40 -08:00
Daniel Imms
689ac3e073
Merge branch 'master' into no-end-quotes-in-weblinks
2018-12-27 11:29:33 -08:00
Daniel Imms
51e1f49bf3
Make dispose more resilient
2018-12-27 10:26:40 -08:00
Daniel Imms
838d727a89
Merge pull request #1849 from epicfaace/feature/hold-key
...
Allow holding key on mac to send multiple keys to terminal
2018-12-27 10:08:12 -08:00
Daniel Imms
9bcfb4d722
Tidy up wrapping style
2018-12-27 10:04:48 -08:00
Ashwin Ramaswami
0d9487c10f
Merge branch 'master' into feature/hold-key
2018-12-26 20:36:53 -05:00
Daniel Imms
b48f9108c8
Merge pull request #1763 from noamyogev84/issue_1654
...
Finding multiple instances on the same line
2018-12-26 16:13:24 -08:00
Daniel Imms
d698faa183
Comment how the regex reverse search while works
2018-12-26 16:12:53 -08:00
Daniel Imms
1a1f7e984f
Remove ISearchIndex object
2018-12-26 16:03:31 -08:00
Daniel Imms
e0d535e0da
Fix previous search, remove incremental previous search
2018-12-26 15:49:08 -08:00
Daniel Imms
76302e2146
Get multiple matches working after incremental changes
2018-12-26 15:32:34 -08:00
Daniel Imms
204e42a151
Fix incremental search
2018-12-26 15:15:12 -08:00
Daniel Imms
bb9732599b
Merge remote-tracking branch 'origin/master' into pr/noamyogev84/1763
2018-12-26 15:08:16 -08:00
Daniel Imms
adbb929f78
Wrap .d.ts comments to 80 chars
2018-12-26 14:49:49 -08:00
Daniel Imms
c045c803d6
Add tests for dispose
2018-12-26 14:48:35 -08:00
Daniel Imms
38796a0f74
Add tests, fix NPE
2018-12-26 14:40:23 -08:00
Daniel Imms
d01efdda27
Use array instead of linkedlist, add typings
2018-12-26 14:08:53 -08:00
Daniel Imms
9e3e724f63
Add sanity checks to dom renderer underline code
...
Fixes #1860
2018-12-26 10:53:40 -08:00
Daniel Imms
a80baa71e8
Merge branch 'master' into control-seq-handler
2018-12-23 22:24:26 -08:00
Daniel Imms
272cb08472
Merge pull request #1847 from linrock/update-natives
...
Fix npm scripts crashing when using node 10+
2018-12-23 22:19:12 -08:00
Per Bothner
48ff841d6a
Be more paranoid about cleaning up escape sequence handlers.
2018-12-23 12:27:26 -08:00
Daniel Imms
0e8a102e17
Merge pull request #1856 from Tyriar/readme
...
Remove gitter and improve README
2018-12-23 10:57:49 -08:00
Daniel Imms
c6e6c51929
Use textBaseline middle to draw instead of top
...
Chrome and Firefox behavior differs, see:
- https://bugzilla.mozilla.org/show_bug.cgi?id=737852
- https://bugs.chromium.org/p/chromium/issues/detail?id=607053
Fixes #1858
2018-12-23 10:51:41 -08:00
Daniel Imms
81ada39989
Remove Gitter link from issue template
...
Fixes #1838
2018-12-21 23:07:25 -08:00
Daniel Imms
78e7e39bb4
Improve the readme
2018-12-21 23:04:38 -08:00
Ashwin Ramaswami
548d8cd764
Merge branch 'feature/hold-key' of https://github.com/epicfaace/xterm.js into feature/hold-key
2018-12-21 07:38:19 -05:00
Ashwin Ramaswami
a4b4d082fb
Don't include num lock and scroll lock
2018-12-21 07:38:14 -05:00
Per Bothner
29cc0bf933
Merge remote-tracking branch 'upstream/master' into control-seq-handler
2018-12-20 18:12:53 -08:00
Daniel Imms
2896f56ebb
Merge branch 'master' into feature/hold-key
2018-12-20 12:13:43 -08:00
Daniel Imms
fcef4d5d28
Merge pull request #1851 from robins1212/bindfullscreen
...
bind classList function before calling in toggleFullScreen
2018-12-20 12:11:53 -08:00
robins1212
701f50f47b
Merge branch 'master' into bindfullscreen
2018-12-20 12:03:43 -08:00
Daniel Imms
61d0e99ffd
Merge pull request #1850 from Tyriar/vscode65485
...
Fix winptyCompat wrapped line heuristic
2018-12-20 11:58:55 -08:00
Robin Sturm
3eac446a85
bind function before calling
2018-12-20 11:54:26 -08:00
Daniel Imms
71d8a4d1ed
Merge branch 'master' into vscode65485
2018-12-20 11:48:51 -08:00
Daniel Imms
ff73f705ae
Fix winptyCompat wrapped line heuristic
...
Part of Microsoft/vscode#65485
2018-12-20 11:47:51 -08:00
Ashwin Ramaswami
64dd9d46fb
Change keyCode cutoff
2018-12-20 14:21:35 -05:00
Ashwin Ramaswami
0782fbb828
Fix check
2018-12-20 09:57:24 -05:00
Ashwin Ramaswami
b820f23da6
Add additional test
2018-12-20 09:50:57 -05:00
Ashwin Ramaswami
ec1060187d
Add tests
2018-12-20 09:50:18 -05:00
Ashwin Ramaswami
1104bcbccb
Allow holding key on mac to send multiple keys to terminal
2018-12-20 09:41:44 -05:00
Daniel Imms
90ec90746e
Merge pull request #1848 from linrock/fix-addons-typo
...
Fix missing quotes in import statement in readme
2018-12-19 11:09:25 -08:00
Daniel Imms
b39e8cfbb9
Merge pull request #1843 from Tyriar/endcol_null
...
Fix translateToString endCol default arg
2018-12-19 11:04:55 -08:00
Linmiao Xu
5ebd543b8b
Fix missing quotes in import statement in readme
2018-12-19 14:32:15 +09:00
Linmiao Xu
86f194a6d3
Fix npm scripts when using node 10+
2018-12-19 13:50:41 +09:00
Linmiao Xu
9cd7bf2af1
Weblinks should not allow quotes at end of urls enclosed in quotes
2018-12-19 13:28:16 +09:00
Daniel Imms
c961175c03
Merge branch 'master' into debugging
2018-12-18 16:28:26 -08:00
Daniel Imms
04ac36fc16
Fix translateToString endCol default arg
2018-12-18 16:22:41 -08:00
Daniel Imms
d27b43d515
Merge pull request #1841 from jerch/fix/1840
...
fix invalid string and buffer index in Linkifier
2018-12-18 10:57:00 -08:00
Jörg Breitbart
0da6300102
make linter happy
2018-12-18 10:50:30 +01:00
Jörg Breitbart
e5ff04e798
Merge branch 'master' into fix/1840
2018-12-18 00:04:48 +01:00
Jörg Breitbart
5460068d52
fix invalid string and buffer index
2018-12-17 23:59:48 +01:00
Daniel Imms
a53c6f1728
Merge pull request #1826 from nojvek/master
...
Fix #1660 : Search as you type
2018-12-17 11:56:22 -08:00
Daniel Imms
6a5b5c23f8
Merge branch 'master' into master
2018-12-17 11:46:33 -08:00
Jörg Breitbart
ef171bf29f
Merge branch 'master' into typedarray_parser
2018-12-15 23:42:08 +01:00
Per Bothner
6b65ebd4aa
Various typing and API fixes, doc comments, typing test etc.
2018-12-15 11:34:15 -08:00
Per Bothner
8a5a03238f
New method _linkHandler used by both addCsiHandler and addOscHandler.
2018-12-15 09:42:19 -08:00
jerch
4feed2dabc
Merge pull request #1775 from jerch/trim_behavior
...
explicit null char representation and fix for right side trimming
2018-12-15 00:11:41 +01:00
Jörg Breitbart
415e760a8a
Merge branch 'trim_behavior' of git+ssh://github.com/jerch/xterm.js into trim_behavior
2018-12-15 00:04:15 +01:00
Jörg Breitbart
3927364f0e
remove nonsense comments
2018-12-15 00:03:54 +01:00
Jörg Breitbart
62be3047d8
infer types fix
2018-12-15 00:01:18 +01:00
Jörg Breitbart
d18c947854
Merge branch 'master' into trim_behavior
2018-12-14 23:59:40 +01:00
Per Bothner
5af4626ec7
Change addCsiHandler/addOscHandler to not use Object.assign.
2018-12-13 17:33:33 -08:00
Daniel Imms
4446fa34de
Merge branch 'master' into master
2018-12-13 10:55:51 -08:00
Daniel Imms
4a7a19c368
Merge branch 'master' into trim_behavior
2018-12-13 10:19:58 -08:00
Daniel Imms
6351a5b748
Merge branch 'master' into master
2018-12-13 10:14:15 -08:00
Daniel Imms
dc5c2381a8
Merge branch 'master' into perf3
2018-12-12 11:24:34 -08:00
Daniel Imms
551feb849e
Merge pull request #1832 from Tyriar/remove_jsdoc
...
Remove jsdoc dependency
2018-12-12 09:44:40 -08:00
Daniel Imms
98285d3a84
Merge pull request #1831 from Tyriar/1830_addon_types_fix
...
Remove triple slash directive error in addon types
2018-12-12 09:30:34 -08:00
Daniel Imms
98ccc23934
Merge pull request #1827 from Tyriar/1605_remove_authors
...
Remove authors
2018-12-12 09:11:24 -08:00
Jörg Breitbart
d0d94584ad
Merge branch 'master' into trim_behavior
2018-12-12 18:10:24 +01:00
Noam Yogev
e00c7d535d
Merge branch 'master' into issue_1654
2018-12-12 11:59:48 +02:00
Per Bothner
8ceea112f7
hooks for custom control sequences
...
This re-implements addCsiHandler/addOscHandler to return an IDisposable.
2018-12-11 17:18:10 -08:00
Per Bothner
53fd04a886
Revert "hooks for custom control sequences"
...
This reverts commit 4d660deff3 .
2018-12-11 16:50:40 -08:00
Per Bothner
ffb2708a81
Revert "Cleanups required by tslink."
...
This reverts commit b68974517e .
2018-12-11 16:50:14 -08:00
Per Bothner
8ad2d1bf43
Merge remote-tracking branch 'upstream/master'
2018-12-11 16:30:18 -08:00
Daniel Imms
a758f8c82f
Merge pull request #1822 from PerBothner/optimize-osc-parse
...
Optimize parsing of OSC_STRING to minimize string concatenation.
2018-12-11 11:09:27 -08:00
Daniel Imms
bbbfc04fa5
Merge branch 'master' into optimize-osc-parse
2018-12-11 11:07:12 -08:00
Daniel Imms
d7f284c676
Add debug target for demo server, merge 2 start processes into one
2018-12-11 09:56:33 -08:00
Daniel Imms
943def1391
Add debug target for client, fix source maps in demo to point to ts
2018-12-11 09:37:20 -08:00
Daniel Imms
a0a8003d60
Add unit tests debug target
2018-12-11 09:06:50 -08:00
Daniel Imms
6cc0a1447d
Merge branch 'master' into remove_jsdoc
2018-12-11 08:58:28 -08:00
Daniel Imms
4d3345182f
Remove jsdoc dependency
2018-12-11 08:57:44 -08:00
Daniel Imms
3a5d07a8f2
Merge branch 'master' into 1830_addon_types_fix
2018-12-11 07:21:34 -08:00
Daniel Imms
1e94fce545
Remove triple slash directive error in addon types
...
Fixes #1830
2018-12-11 07:19:37 -08:00
Daniel Imms
da8546725f
Merge branch 'master' into master
2018-12-11 06:28:08 -08:00
Daniel Imms
53f3b4e368
Merge pull request #1828 from Tyriar/1507_remove_layering
...
Remove utils/ folder
2018-12-11 06:27:49 -08:00
Noj Vek
a0d583b075
handle non-cached scenario in tests land
2018-12-10 17:23:28 -08:00
Noj Vek
9005de1c42
adding a linesCache ttl and cursor move invalidation
2018-12-10 17:13:28 -08:00
Daniel Imms
b9a22eb468
Remove utils/ folder
...
Part of #1507
2018-12-10 16:46:57 -08:00
Daniel Imms
b51c07c408
Merge branch 'master' into 1605_remove_authors
2018-12-10 16:41:04 -08:00
Daniel Imms
3397ecf977
Remove authors
...
Fixes #1605
2018-12-10 16:40:04 -08:00
Noj Vek
801dcc3b75
Merge branch 'master' of github.com:xtermjs/xterm.js
2018-12-10 15:54:38 -08:00
Noj Vek
91ef7f24a6
Fixes #1660 : Search as you type
2018-12-10 15:54:35 -08:00
Daniel Imms
65877d491e
Merge pull request #1788 from gou4shi1/fix-get-mouse-coord
...
getCoordsRelativeToElement: use getBoundingClientRect and clientX/Y.
2018-12-10 14:46:33 -08:00
Daniel Imms
f34c3d509d
Merge pull request #1821 from Tyriar/dispose_atlas
...
Call dispose when atlas is no longer used in cache
2018-12-10 14:45:59 -08:00
Daniel Imms
e1b3c7233a
Merge pull request #1820 from Tyriar/add_missing_break
...
Add missing break in options code
2018-12-10 14:45:49 -08:00
Daniel Imms
08dc8a3e5f
Merge pull request #1819 from Tyriar/fix_demo_line_height
...
Allow decimal line heights in demo
2018-12-10 14:45:41 -08:00
jerch
6a2e6a5edc
Merge branch 'master' into optimize-osc-parse
2018-12-10 20:17:51 +01:00
Daniel Imms
1c62980d20
v3.9.0
2018-12-10 07:51:28 -08:00
jerch
2d8f420db8
fix default transition for 0xa0
2018-12-10 16:37:48 +01:00
Per Bothner
2cb293ceb2
Further tweaks to optimize parsing of OSC_STRING.
2018-12-09 19:03:58 -08:00
Juan Campa
3d2ae2b01e
Removing redundant condition. Clearer variable name
2018-12-09 17:58:44 -05:00
Per Bothner
1c4a71f0df
Optimize parsing of OSC_STRING to minimize string concatenation.
2018-12-09 13:29:09 -08:00
Per Bothner
30a667c3be
Revert "Optimize parsing of OSC_STRING to minimize string concatenation."
...
This reverts commit 03115639a9 .
2018-12-09 13:11:17 -08:00
Per Bothner
03115639a9
Optimize parsing of OSC_STRING to minimize string concatenation.
2018-12-09 10:56:34 -08:00
Daniel Imms
48629e7eb2
Merge remote-tracking branch 'origin/master' into pr/gou4shi1/1788
2018-12-09 10:02:55 -08:00
Daniel Imms
6b9fb48898
Fix tests/lint, use element instead of event.target
2018-12-09 09:59:33 -08:00
Daniel Imms
fe9eb7d31e
Call dispose when atlas is no longer used in cache
...
Only runtime change is that this clears the bitmap commit timeout
in DynamicCharAtlas
2018-12-09 09:19:56 -08:00
Daniel Imms
693e17a5cb
Add missing break in options code
...
Atlas is reset as part of onResize, this should be safe
2018-12-09 09:13:30 -08:00
Daniel Imms
b5b2bcd0c9
Allow decimal line heights in demo
2018-12-09 09:08:11 -08:00
Juan Campa
fd34caee23
Use a time-based limit to Terminal._innerWrite
...
The idea is that it should run for a bit and then let the renderer draw
a frame so that the terminal look responsive. The existing approach
limits the work done using a fixed number elements from the write
buffer so the duration of a frame can vary widely.
This approach looks at the clock to determine when to stop, we basically
allocate an amount of time each frame to write, while the rest can be
used for rendering.
From my tests this change makes the terminal feel a lot smoother.
2018-12-08 00:44:05 -05:00
Noam
278d696709
remove reverseSearch from ISearchOptions
...
add isReverseSearch argument to findInLine
modify unit tests
2018-12-07 22:56:57 +02:00
gou4shi1
7f18199985
Fix build fail
2018-12-06 14:37:27 +08:00
Per Bothner
b68974517e
Cleanups required by tslink.
2018-12-05 14:45:57 -08:00
Per Bothner
4d660deff3
hooks for custom control sequences
...
This fixes (at least partially) issue #1176
"Add a way to plugin a custom control sequence handler".
2018-12-04 19:00:44 -08:00
jerch
b5f1c3384a
Merge pull request #1812 from jerch/default_buffer_to_typedarray
...
Deprecate JS array based terminal buffer
2018-12-04 20:40:47 +01:00
Jörg Breitbart
6f4a6ef308
deprecate experimentalBufferLineImpl
2018-12-04 20:33:12 +01:00
Jörg Breitbart
18902dd789
make linter happy
2018-12-04 19:11:39 +01:00
Jörg Breitbart
66ec57b431
cleanup
2018-12-04 19:02:27 +01:00
Jörg Breitbart
6ee9178302
make typed array buffer default
2018-12-04 18:55:11 +01:00
Daniel Imms
6e45d022ac
Merge pull request #1806 from dividuum/patch-1
...
Added info-beamer hosted
2018-12-03 06:58:09 -08:00
Florian Wesch
4d270bf72c
Added info-beamer hosted
...
Works pretty well. See https://community.infobeamer.com/t/174 for details. Wouldn't be able to add this feature without Xterm.js.
2018-12-02 15:38:50 +01:00
Noam Yogev
38adfcd81c
Merge branch 'master' into issue_1654
2018-11-30 20:49:12 +02:00
Noam
376c790e1d
implement find multiple matches in line.
...
start search from current selection.
add unit tests.
2018-11-30 20:46:47 +02:00
Daniel Imms
5f989929c3
Merge pull request #1799 from Tyriar/remove_shared_folder
...
Remove shared/ folder
2018-11-29 14:03:20 -08:00
Jörg Breitbart
9d4beb024a
keep whitespace chars
2018-11-29 22:11:38 +01:00
Jörg Breitbart
99e4a9649f
fix failing test cases
2018-11-29 21:48:48 +01:00
Jörg Breitbart
eb27641928
Merge branch 'master' into trim_behavior
2018-11-29 21:26:45 +01:00
Jörg Breitbart
2483a98f63
use faster string conversion
2018-11-29 21:13:18 +01:00
Jörg Breitbart
5d3ef759b4
Merge branch 'master' into typedarray_parser
2018-11-29 21:11:07 +01:00
Daniel Imms
4beb3a9ecd
Merge remote-tracking branch 'origin/master' into remove_shared_folder
2018-11-29 11:56:27 -08:00
Daniel Imms
9df56aba13
Merge pull request #1795 from Tyriar/clipboard_layering
...
Move Clipboard to ui/
2018-11-29 11:54:15 -08:00
Daniel Imms
8cf98ec546
Merge pull request #1800 from Tyriar/typescript_3_1
...
Upgrade to typescript 3.1
2018-11-29 11:53:50 -08:00
Jörg Breitbart
a6ef64dcb6
always clear DCS buffer on HOOK
2018-11-29 16:39:17 +01:00
Jörg Breitbart
a4e3646640
Merge branch 'master' into typedarray_parser
2018-11-29 16:35:12 +01:00
Jörg Breitbart
591dfd506d
fix DCS handler
2018-11-29 16:33:56 +01:00
Daniel Imms
68d5ce947e
Merge pull request #1772 from whydoubt/fix_1767
...
Only show cross-hairs when terminal has focus
2018-11-26 11:20:36 -08:00
Daniel Imms
13175976d0
Upgrade to typescript 3.1
...
Bunch of types needed changing in this version, also the
IOffscreenCanvas "support" in the canvas renderer was removed
as we're moving away from that.
2018-11-24 07:16:43 -08:00
Daniel Imms
f4a522516c
Remove shared/ folder
...
We changed plans from moving web worker compatible code to shared/
to enforcing layers using core/, common/, ui/ and public/. This
change moves files back from the shared/ dir to clean up the
codebase.
Part of #1507
2018-11-24 07:03:59 -08:00
Daniel Imms
1db17701df
Merge pull request #1739 from Tyriar/1737_inverse_dynamic_cache
...
Allow inverse colors to be stored in glyph keys, fix inverted colors in DOM renderer
2018-11-24 05:32:21 -08:00
Daniel Imms
c6f1de7970
Introduce is256Color helper
2018-11-24 05:24:15 -08:00
Jörg Breitbart
14d6960873
Merge remote-tracking branch 'upstream/master' into typedarray_parser
2018-11-23 23:33:56 +01:00
Daniel Imms
5fca73aa5a
Merge branch 'master' into 1737_inverse_dynamic_cache
2018-11-23 14:31:16 -08:00
Jörg Breitbart
06e89549a8
typed array support for parser
2018-11-23 23:30:37 +01:00
Daniel Imms
929d722e0e
Merge pull request #1794 from Tyriar/remove_unused_line_height
...
Remove unused lineHeight parameters
2018-11-23 14:30:08 -08:00
jerch
79a1194bea
Merge pull request #1793 from Tyriar/improve_fill_fallback
...
Improve types of fill polyfill and test fallback
2018-11-23 19:25:22 +01:00
jerch
8a04431417
Merge branch 'master' into improve_fill_fallback
2018-11-23 19:18:21 +01:00
jerch
76e7057c94
Merge pull request #1764 from whydoubt/alt_buffer
...
Alternate buffer improvement
2018-11-23 19:15:27 +01:00
jerch
62b1aa5a67
Merge branch 'master' into alt_buffer
2018-11-23 19:09:08 +01:00
jerch
41ba20f749
remove not longer needed test cases
...
Removed the `loopFill` test method as it is not needed anymore with the separation of the looping variant in `fillFallback`.
2018-11-23 18:40:52 +01:00
Daniel Imms
32574a1a09
Move Clipboard to ui/
...
Belong here as it interacts with DOM
Part of #1507
2018-11-23 09:05:07 -08:00
Daniel Imms
fc6f101e16
Remove unused lineHeight parameters
2018-11-23 08:59:30 -08:00
Daniel Imms
2e889852b0
Merge branch 'master' into 1737_inverse_dynamic_cache
2018-11-23 08:52:32 -08:00
Daniel Imms
1b5ef5d93a
Move TypedArrayUtils to common
...
It belongs here since the renderers will use it
2018-11-23 08:08:30 -08:00
Daniel Imms
4f18717940
Improve handling of default values
2018-11-23 07:49:35 -08:00
Daniel Imms
266ea38d91
Improve types of fill polyfill and test fallback
...
The polyfill will now return the T instead of the TypedArray union
type. Tests now target the fallback only so engines that support fill
will run tests against the fallback code.
2018-11-23 07:36:01 -08:00
Daniel Imms
c6c67587e1
Merge pull request #1792 from Tyriar/1609_dom_no_null_cells
...
DOM renderer: Don't output empty cells at end of a line
2018-11-23 07:06:00 -08:00
Daniel Imms
f363872f1e
Merge branch 'master' into 1609_dom_no_null_cells
2018-11-23 06:51:53 -08:00
Daniel Imms
478dfee6e2
Ensure wide chars don't overflow onto following row
2018-11-23 06:51:39 -08:00
Daniel Imms
d9513ce50d
Don't bother checking beyond cols
2018-11-23 06:48:37 -08:00
jerch
a693eb8e9b
Merge pull request #1789 from jerch/optimisation_wcwidth
...
Optimisation for wcwidth
2018-11-23 15:33:33 +01:00
Daniel Imms
fe027a2e9d
Merge branch 'master' into optimisation_wcwidth
2018-11-23 06:26:36 -08:00
Daniel Imms
65c5df92d9
Move import below copyright
2018-11-23 06:26:06 -08:00
Daniel Imms
dc0ae4a815
Fix indentation
2018-11-23 06:24:27 -08:00
Daniel Imms
66272eb310
Get the line length by going backwards instead
2018-11-23 05:40:35 -08:00
Daniel Imms
913adf9ccc
Merge branch 'master' into 1609_dom_no_null_cells
2018-11-22 12:46:00 -08:00
jerch
b4faaef785
Merge pull request #1731 from jerch/reuse_bufferlines
...
Recycle buffer lines
2018-11-22 21:24:18 +01:00
jerch
2f453f968c
Merge branch 'master' into reuse_bufferlines
2018-11-22 21:17:38 +01:00
Daniel Imms
dc077a181e
Fix tests and the colCount feature
2018-11-22 12:03:08 -08:00
Daniel Imms
692cdfa390
DOM renderer: Don't output empty cells at end
...
Fixes #1609
2018-11-22 11:38:00 -08:00
Daniel Imms
6b89ec9d8e
Merge pull request #1754 from vladimirze/run-tests-and-tslint-for-addons-directory
...
Run tests & tslint for src/addons directory
2018-11-22 10:57:42 -08:00
Daniel Imms
53fe096455
Type fn strongly
2018-11-22 10:52:55 -08:00
Daniel Imms
549c28bfa4
Merge branch 'master' into run-tests-and-tslint-for-addons-directory
2018-11-22 10:51:55 -08:00
Daniel Imms
2687fd02b2
Merge branch 'master' into reuse_bufferlines
2018-11-22 10:48:47 -08:00
Daniel Imms
1ceecf3f14
Merge pull request #1791 from xtermjs/Tyriar-patch-1
...
Add help wanted/good first issue links
2018-11-22 09:44:40 -08:00
Daniel Imms
98a3892e52
Fix typo
2018-11-22 09:44:13 -08:00
Jörg Breitbart
8c33de395d
fix linter errors
2018-11-21 00:15:04 +01:00
Jörg Breitbart
ef6fb93a92
polyfill for TypedArray.fill
2018-11-21 00:07:28 +01:00
Jörg Breitbart
36db03e713
keep old impl in test as reference; minor changes
2018-11-20 22:35:51 +01:00
Jörg Breitbart
895d6fc479
Merge branch 'master' into reuse_bufferlines
2018-11-20 22:03:24 +01:00
Jörg Breitbart
15c4cc8a74
remove experimental flag for recycling, merge with TypedArray setting
2018-11-20 22:01:57 +01:00
Jörg Breitbart
3964bb28b5
throw error in recycle with buffer not full
2018-11-20 21:49:31 +01:00
Daniel Imms
006869704b
Add help wanted/good first issue links
2018-11-20 09:44:10 -08:00
Jörg Breitbart
21f848d0ab
regression test
2018-11-18 23:48:59 +01:00
Jörg Breitbart
9b762854eb
faster wcwidth init and runtime; fix slightly wrong surrogate handling
2018-11-18 23:31:45 +01:00
Daniel Imms
e4a84643b8
Merge pull request #1765 from jrkong/vscode-issue-60401
...
Updated webLinks regex accept colons, fix vscode issue#60401
2018-11-18 14:12:30 -08:00
jerch
02732d9272
Merge pull request #1787 from jerch/fix_audiocontext
...
hold single AudioContext instance for all terminal instances
2018-11-18 22:54:57 +01:00
Jörg Breitbart
9286ea3eaf
make statix usage explicit
2018-11-18 17:50:29 +01:00
Jörg Breitbart
203ee0f644
remove ctx args from ctor
2018-11-18 17:47:49 +01:00
Jörg Breitbart
579ef28929
Merge branch 'master' into fix_audiocontext
2018-11-18 17:46:19 +01:00
Daniel Imms
bcd3a4dc40
Merge pull request #1784 from xtermjs/Tyriar-patch-1
...
Fixing isClickInSelection to cover missing cases
2018-11-16 18:03:27 -08:00
Daniel Imms
a480f483cd
Add tests
2018-11-16 17:54:03 -08:00
Jeff Smith
2f90035243
Clear alt buffer with erase attributes upon entering
2018-11-16 14:33:37 -06:00
Jeff Smith
a19d93851c
Each buffer needs its own saved cursor attributes
2018-11-16 14:33:37 -06:00
Jeff Smith
a5894ee234
Fix cursor movement when swapping buffers
2018-11-16 14:33:37 -06:00
gou4shi1
3ca0598279
fix EventTarget type
2018-11-15 11:56:41 +08:00
gou4shi1
3d2035e1a0
getCoordsRelativeToElement: use getBoundingClientRect and clientX/Y.
2018-11-15 11:43:38 +08:00
Jörg Breitbart
ef6f0db0a0
Merge branch 'master' into reuse_bufferlines
2018-11-15 01:05:33 +01:00
Jörg Breitbart
0e3f9b72d1
allow to set audio context per argument
2018-11-15 00:48:31 +01:00
Jörg Breitbart
e3146961be
make linter happy
2018-11-15 00:25:23 +01:00
Jörg Breitbart
9faebaf5fe
hold single AudioContext instance
2018-11-15 00:16:52 +01:00
jerch
19174dd836
Merge branch 'master' into fix_1767
2018-11-14 20:25:25 +01:00
jerch
e4e5b966da
Merge pull request #1780 from whydoubt/fix_1751
...
Make scrollbar draggable when using DOM renderer
2018-11-14 19:59:00 +01:00
Jeff Smith
8ea0bb55b4
Make scrollbar draggable when using DOM renderer
...
Fixes #1751
2018-11-12 21:08:51 -06:00
jerch
cb97ab35cb
Merge pull request #1783 from jerch/fix_1778
...
fix minor parser issues:
- dont expose ESC+\ (7bit ST)
- add missing executables FS, GS, RS and US
2018-11-09 13:39:50 +01:00
Daniel Imms
774793c7ca
Fixing isClickInSelection to cover missing cases
...
The following cases weren't working:
- The first character on single line selections
- The first row on multi-line selection
2018-11-08 19:20:12 -08:00
Jörg Breitbart
4aa822e7a9
Merge branch 'master' into fix_1778
2018-11-09 01:07:11 +01:00
Jörg Breitbart
de7d5e1eec
swallow 7bit ST, add missing executables
2018-11-09 01:03:44 +01:00
jerch
3e233be54b
Merge branch 'master' into fix_1767
2018-11-08 19:45:34 +01:00
jerch
70981c7a29
Merge pull request #1782 from astefanutti/pr-wheel
...
Use WheelEvent.deltaY instead of WheelEvent.wheelDeltaY for wheel event
2018-11-08 19:43:24 +01:00
Antonin Stefanutti
8acf137d14
Use WheelEvent.deltaY instead of WheelEvent.wheelDeltaY for wheel event
...
Fixes #1781
2018-11-08 14:44:18 +01:00
Jörg Breitbart
a15b866013
test cases for getTrimLength and translateToString
2018-11-08 06:13:05 +01:00
Jörg Breitbart
2f9c04c3af
cleanup test cases
2018-11-08 05:00:08 +01:00
Jörg Breitbart
67df9a5cdc
cleanup
2018-11-08 04:03:48 +01:00
Jörg Breitbart
22e4a2dc97
Merge branch 'master' into reuse_bufferlines
2018-11-07 00:58:35 +01:00
Jörg Breitbart
e9906f9b9e
compromise between code safety and speed
2018-11-07 00:56:45 +01:00
Daniel Imms
eca1170a45
Merge branch 'master' into fix_1767
2018-11-01 11:12:53 -07:00
Jörg Breitbart
5395503031
apply code and char replacement to renderer
2018-10-31 15:47:35 +01:00
Jörg Breitbart
200b59b47c
fix canvas renderer
2018-10-31 15:35:30 +01:00
Jörg Breitbart
cabd4a721c
fix dom renderer
2018-10-31 15:30:29 +01:00
Jörg Breitbart
745e228e98
fix input handler and terminal tests
2018-10-31 15:26:40 +01:00
Jörg Breitbart
8ffcd65cff
fix buffer tests
2018-10-31 15:11:18 +01:00
Jörg Breitbart
1c111d3e60
skip empty cells after fullwidth
2018-10-31 14:53:55 +01:00
Jörg Breitbart
62f1d64af4
fix trimmedLength for TypedArray
2018-10-31 14:26:54 +01:00
Jörg Breitbart
ee6fa6ca00
change NULL_CHAR and trim
2018-10-31 12:42:56 +01:00
jrkong
5173bd6419
Merge branch 'master' into vscode-issue-60401
2018-10-30 19:33:05 -04:00
Daniel Imms
160b4a7d66
Revert "Remove request term info handler"
...
This reverts commit c2994b0ae1 .
2018-10-30 11:04:32 -07:00
Jörg Breitbart
fb64c527a5
revert to precheck pushWouldTrim
2018-10-30 17:40:11 +01:00
Jörg Breitbart
aaffc2b2be
Merge branch 'master' into reuse_bufferlines
2018-10-30 14:18:28 +01:00
Jeff Smith
c7eb727220
Only show cross-hairs when terminal has focus
...
Fixes #1767
2018-10-29 16:18:35 -05:00
Daniel Imms
f3cd652e74
Merge pull request #1733 from leomoty/line-height
...
Support for lineHeight in DOM Renderer
2018-10-28 10:54:52 -07:00
Daniel Imms
108438dbeb
Use setRenderer instead of ctor
...
Just in case something hangs onto MouseHelper
2018-10-28 10:51:57 -07:00
Daniel Imms
41b1c929e0
Fix screen element remaining large if originally using canvas
2018-10-28 10:50:16 -07:00
leomoty
793516060f
Recreate mouseHelper after renderer is disposed
2018-10-28 14:24:08 -03:00
leomoty
60468356db
Merge branch 'master' into line-height
2018-10-27 13:26:50 -03:00
Daniel Imms
e90f8611d5
Merge pull request #1752 from Tyriar/improve_dec
...
Improve types for listener args in .d.ts
2018-10-26 13:24:01 -07:00
Jörg Breitbart
93d7a3021d
remove pushRecycling, test case for trimAndRecycle, docs
2018-10-26 16:11:47 +02:00
Jörg Breitbart
982006836b
Merge branch 'master' into reuse_bufferlines
2018-10-26 15:23:43 +02:00
vladimirze
d137880876
Merge branch 'master' into run-tests-and-tslint-for-addons-directory
2018-10-26 11:15:59 +03:00
Daniel Imms
fc8640af1e
Merge pull request #1768 from huashengdun/master
...
Added webssh to real-world uses
2018-10-25 09:05:15 -07:00
Shengdun Hua
213dadf1bd
Update README.md
2018-10-25 23:01:03 +08:00
jrkong
2efd28ad4b
updated webLinks regex to ignore colon at the end of a line and added the corresponding tests
2018-10-25 00:14:20 -04:00
Daniel Imms
ba8d341416
Merge pull request #1748 from Tyriar/1747_npe
...
Fix NPE in DOM renderer underline
2018-10-24 16:28:57 -07:00
Daniel Imms
16614b7179
Merge pull request #1766 from whydoubt/has_focus
2018-10-24 16:10:01 -07:00
jerch
c77af88010
Merge pull request #1706 from whydoubt/blank_line_attributes
...
Fill lines inserted from scrolling with erase attributes
2018-10-24 17:39:05 +02:00
jerch
50bc11b28b
Merge branch 'master' into blank_line_attributes
2018-10-24 16:32:28 +02:00
Daniel Imms
565f46075c
Merge pull request #1720 from alexr00/alexr00/ClearShouldClear
...
Cleared terminal lines should have isWrapped reset
2018-10-23 15:48:52 -07:00
Daniel Imms
c2994b0ae1
Remove request term info handler
...
We're not supporting it anyway, no point having it.
2018-10-23 15:45:52 -07:00
Jeff Smith
4d556fcaf0
Check for focus on document as well as on textarea
...
When clicking outside of the browser document area, the cursor does not
appear to get 'blurred'. This can be confusing as it implies that the
cursor is still active. This is caused by Terminal's isFocused getter
only checking if the textarea is the active element of the document.
Expand isFocused to also check that the document itself has focus.
2018-10-23 11:57:20 -05:00
Alex Ross
083bc0f3d1
Merge branch 'master' into alexr00/ClearShouldClear
2018-10-23 10:17:26 +02:00
jrkong
1208fc9e10
updated webLinks regex to fix vscode issue#60401
2018-10-22 16:32:04 -04:00
Jörg Breitbart
1585aba5b5
slightly faster trimAndRecycle
2018-10-22 21:12:51 +02:00
Jörg Breitbart
82228ad891
trimAndRecycle with external check
2018-10-22 18:15:47 +02:00
Jörg Breitbart
6f6c7c20c0
Merge branch 'master' into reuse_bufferlines
2018-10-22 17:20:28 +02:00
Daniel Imms
b9ab35dfe9
Merge pull request #1760 from skprabhanjan/fix-1749
...
Search from top of viewport when there is no selection
2018-10-20 13:56:53 -07:00
Daniel Imms
35db216f64
Fix indent
2018-10-20 13:55:13 -07:00
Daniel Imms
00c1211435
Merge pull request #1740 from jerch/bufferline_fixes
...
fix handling of length in BufferLine.resize
2018-10-20 12:57:47 -07:00
Jeff Smith
8bd49cba35
Fill inserted lines with background color
...
When scrolling occurs due to a LF or scroll code, fill the new line with
the currently-set background color.
2018-10-19 10:27:52 -05:00
Alex Ross
4a2189d140
Merge branch 'master' into alexr00/ClearShouldClear
2018-10-17 10:45:12 +02:00
Prabhanjan S Koushik
f2fb46cc82
Merge branch 'master' into fix-1749
2018-10-17 10:51:27 +05:30
pkoushik
74664a9161
Fix-1749
2018-10-17 10:48:46 +05:30
Daniel Imms
5bc7fc4256
Merge pull request #1758 from Tyriar/1757_cjk_glyph_key
...
Move dynamic atlas canCache check higher
2018-10-16 11:23:22 -07:00
Daniel Imms
af0ca6c2cb
Merge pull request #1759 from stkvrs/fix-comment-typos
...
Fix typos
2018-10-16 11:22:49 -07:00
Vladimir Zeifman
3f3263cbb0
Fix tslint errors for all addons and un-exclude tests for search addon
2018-10-16 19:36:14 +03:00
Stathis Kavros
161dfa8d2d
Fix typos
2018-10-16 14:23:58 +03:00
Alex Ross
8a6ed52e4e
Merge branch 'master' into alexr00/ClearShouldClear
2018-10-16 12:21:00 +02:00
Daniel Imms
3edd2f2816
Merge branch 'master' into 1757_cjk_glyph_key
2018-10-15 11:44:51 -07:00
Daniel Imms
33ee08da47
Merge pull request #1756 from skprabhanjan/fix-1750
...
Fixes-1750
2018-10-15 11:43:58 -07:00
Daniel Imms
a53aaa5f25
Move dynamic atlas canCache check higher
...
Fixes #1757
2018-10-15 11:35:21 -07:00
pkoushik
f61ba9558b
Fixes-1750
2018-10-15 23:44:30 +05:30
Alex Ross
c6eb56670d
Merge branch 'master' into alexr00/ClearShouldClear
2018-10-15 11:34:06 +02:00
Daniel Imms
19f6c0a940
Fix tests
2018-10-12 09:02:03 -07:00
Daniel Imms
37972aa5dd
Merge pull request #1745 from xtermjs/Tyriar-patch-1
...
Update Azure data studio info
2018-10-12 08:58:06 -07:00
Daniel Imms
a0250c5cea
Improve types for listener args in .d.ts
...
Without this consumers need an undefined check with strictNullChecks
turned on.
2018-10-12 08:33:59 -07:00
Daniel Imms
9e1551e2f1
Fix NPE in DOM renderer underline
...
Fixes #1747
2018-10-11 09:37:19 -07:00
Jörg Breitbart
d25e55ff45
Merge branch 'master' into bufferline_fixes
2018-10-11 18:33:21 +02:00
Daniel Imms
b650db5b1a
Merge pull request #1742 from AndrienkoAleksandr/fixDockerImageBuild
...
Fix docker image build.
2018-10-11 09:26:39 -07:00
Jörg Breitbart
4450dc9206
Merge branch 'master' into bufferline_fixes
2018-10-11 18:25:38 +02:00
jerch
69e6d7d9cc
Merge pull request #1744 from jerch/demo_buffer
...
add buffer to server part in demo
2018-10-11 18:20:53 +02:00
Daniel Imms
e66a10889f
Merge branch 'master' into alexr00/ClearShouldClear
2018-10-11 09:02:54 -07:00
Daniel Imms
375b5c5b4f
Fix indent
2018-10-11 09:02:36 -07:00
leomoty
2eec8f951f
Merge branch 'master' into line-height
2018-10-11 11:55:12 -04:00
Alex Ross
64d6354983
Added testing and better erase left and above handling
2018-10-11 11:18:56 +02:00
Daniel Imms
8843b0cbc6
Update Azure data strudio info
2018-10-10 18:20:12 -07:00
Jörg Breitbart
588ed5e3af
Merge branch 'demo_buffer' into reuse_bufferlines
2018-10-11 02:03:01 +02:00
Jörg Breitbart
05b68ee4ae
Merge branch 'master' into demo_buffer
2018-10-11 01:59:03 +02:00
Daniel Imms
25e5795374
Merge branch 'master' into fixDockerImageBuild
2018-10-10 16:36:36 -07:00
Jörg Breitbart
eb123ca787
add tiny buffer to server part in demo
2018-10-11 00:32:14 +02:00
Daniel Imms
58003d4e29
Merge pull request #1743 from alexr00/alexr00/nonWordChars
...
Remove underscore from non word characters list
2018-10-10 14:08:39 -07:00
Alex Ross
c12aec3484
Merge branch 'alexr00/ClearShouldClear' of https://github.com/alexr00/xterm.js into alexr00/ClearShouldClear
2018-10-10 15:32:39 +02:00
Alex Ross
f2ecd06e64
Additional isWrapped clearing
2018-10-10 15:31:49 +02:00
Jörg Breitbart
751e2efa75
better integration and experimentalPushRecycling option
2018-10-10 15:00:38 +02:00
Alex Ross
c739d2fe87
Remove underscore from non word characters list
...
This is the upstream fix for Microsoft/vscode#59379
2018-10-10 14:05:23 +02:00
Oleksandr Andriienko
45e64a9167
Remove from package.json unused script command
...
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com >
2018-10-10 11:39:34 +03:00
Oleksandr Andriienko
a63779ae7b
Fix docker image build.
...
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com >
2018-10-10 10:26:32 +03:00
leomoty
6e350219aa
Support for lineHeight in DOM Renderer
2018-10-09 18:58:25 -03:00
Jörg Breitbart
33a358033c
new approach
2018-10-09 23:48:58 +02:00
Jörg Breitbart
0065682bd7
resize should not alter length if shrink=false
2018-10-09 21:17:33 +02:00
Daniel Imms
18035e239e
Fix tests
2018-10-09 11:56:08 -07:00
Daniel Imms
91d04f2552
Merge branch 'master' into 1737_inverse_dynamic_cache
2018-10-09 11:43:26 -07:00
Daniel Imms
bc16a8b7e7
Handle inverted default colors properly in DOM renderer
...
This uses the actual fg for bg and bg to fg, rather than the
black/white theme colors
Fixes #1738
2018-10-09 11:38:53 -07:00
Daniel Imms
1e9564788e
Use constants for default colors
2018-10-09 11:12:35 -07:00
Daniel Imms
791c020a56
Allow inverse colors to be stored in glyph keys
...
Fixes #1737
2018-10-09 11:03:31 -07:00
jerch
febc3ba2b8
Merge pull request #1736 from jerch/fix_bufferline_resize
...
fix BufferLine resize
2018-10-09 19:09:23 +02:00
Daniel Imms
1c5dfb5f34
Merge branch 'master' into fix_bufferline_resize
2018-10-09 09:58:00 -07:00
Jörg Breitbart
3877e96d7f
fix BufferLine resize
2018-10-09 18:56:48 +02:00
Daniel Imms
f2c7de8d53
Merge pull request #1735 from Tyriar/60291_infinite_loop
...
Fix infinite loop
2018-10-09 09:37:21 -07:00
Daniel Imms
ed5467689a
Fix infinite loop
...
See Microsoft/vscode#60291
2018-10-09 08:38:08 -07:00
jerch
8d16bb6ea2
Merge pull request #1641 from jerch/typedarray_BufferLine
...
buffer redesign - 2. Typedarray based BufferLine
2018-10-07 23:29:29 +02:00
Jörg Breitbart
2febd9b248
Merge branch 'typedarray_BufferLine' of git+ssh://github.com/jerch/xterm.js into typedarray_BufferLine
2018-10-07 22:10:10 +02:00
Jörg Breitbart
5b7aa68299
Merge branch 'master' into typedarray_BufferLine
2018-10-07 22:08:46 +02:00
Jörg Breitbart
3dbc6e604f
move SIZE out of Cell enum
2018-10-07 22:07:55 +02:00
Daniel Imms
211cca8fda
Merge branch 'master' into alexr00/ClearShouldClear
2018-10-06 10:36:18 -07:00
Daniel Imms
e7ae4be394
Merge pull request #1728 from Tyriar/yarn_integrity
...
Commit yarn integrity checks
2018-10-05 10:14:28 -07:00
Daniel Imms
b85b9bb3c3
Merge pull request #1699 from Tyriar/common_layering_strict
...
Enable strict null checks and no DOM access in common and core
2018-10-05 09:36:49 -07:00
Daniel Imms
77da89f5da
Merge branch 'master' into alexr00/ClearShouldClear
2018-10-05 09:25:30 -07:00
Daniel Imms
f5038bea3d
Merge branch 'master' into common_layering_strict
2018-10-05 09:17:15 -07:00
Daniel Imms
ae61292b10
Merge pull request #1729 from xtermjs/Tyriar-patch-1
...
Bump version to 3.8.0
2018-10-05 09:10:36 -07:00
Daniel Imms
8fd4bdd678
Bump version to 3.8.0
2018-10-05 09:04:20 -07:00
Daniel Imms
92b5c902de
Commit yarn integrity checks
2018-10-05 08:59:54 -07:00
Daniel Imms
a7b051c52f
Merge pull request #1717 from Tyriar/charatlas_npe
...
Prevent NPE when disposing terminal shortly after creation
2018-10-04 12:02:09 -07:00
Daniel Imms
b92bbf578b
Merge branch 'master' into charatlas_npe
2018-10-04 10:30:04 -07:00
Alex Ross
18871f0d3c
Cleared terminal lines should have isWrapped reset
...
Fixes #1710
2018-10-01 13:34:13 -07:00
Daniel Imms
efe007b89b
Merge branch 'master' into typedarray_BufferLine
2018-10-01 07:34:40 -07:00
Daniel Imms
da027b2e11
Merge branch 'master' into common_layering_strict
2018-10-01 07:32:09 -07:00
Daniel Imms
d4ec50e7de
Merge pull request #1718 from zwhitchcox/patch-2
...
Don't delete fake terminal
2018-10-01 07:31:45 -07:00
Zane Hitchcox
5a1c71c1d5
Don't delete fake terminal
2018-10-01 10:16:59 -04:00
Daniel Imms
bbf36fe091
Prevent NPE when disposing terminal shortly after creation
2018-10-01 06:38:24 -07:00
Daniel Imms
990bf5c973
Merge pull request #1711 from pfitzseb/patch-1
...
Add new use case: Juno
2018-09-27 09:23:02 -07:00
Sebastian Pfitzner
b28bba56df
Add new use case: Juno
2018-09-27 15:46:33 +02:00
jerch
21f3534668
Merge pull request #1693 from jerch/fix_1691
...
fix overscan issue at viewborders and enable linkifier on partial shown matches
2018-09-26 22:14:57 +02:00
Jörg Breitbart
fefc6c6a34
fix typo
2018-09-26 22:07:02 +02:00
Jörg Breitbart
00bf16f610
Merge branch 'master' into typedarray_BufferLine
2018-09-25 01:02:14 +02:00
Jörg Breitbart
57a6fe5b87
Merge branch 'master' into fix_1691
2018-09-25 00:47:48 +02:00
Daniel Imms
9e446a9a0e
Merge pull request #1692 from Tyriar/1677_perf_improve
...
Dynamic atlas: Reduce unnecessary objects generated and draw from ImageBitmap
2018-09-23 10:41:40 -07:00
Daniel Imms
16c0ad858a
Make a new empty array instead of shift
2018-09-22 13:23:22 -07:00
Daniel Imms
750ec3870c
Resolve feedback
2018-09-22 13:20:29 -07:00
Daniel Imms
e9d54bf011
Merge branch 'master' into 1677_perf_improve
2018-09-22 13:04:05 -07:00
Jörg Breitbart
408403e2a0
Merge branch 'master' into fix_1691
2018-09-22 15:21:32 +02:00
Jörg Breitbart
a30bb22c7a
fix comments to <80
2018-09-22 15:20:31 +02:00
Daniel Imms
a531b4dd9b
Merge pull request #1695 from Tyriar/coveralls_fix
...
Fix coveralls integration
2018-09-21 12:40:03 -07:00
Daniel Imms
4cd591cb21
Merge branch 'master' into common_layering_strict
2018-09-21 11:50:22 -07:00
Jörg Breitbart
10687b138d
range checks for buffer iterator
2018-09-21 20:23:41 +02:00
Jörg Breitbart
1108d0746e
Merge branch 'master' into fix_1691
2018-09-21 19:23:49 +02:00
Daniel Imms
005785b84d
Merge pull request #1705 from agurodriguez/xterm-1704
...
Support link underlines in the DOM renderer
2018-09-21 10:02:30 -07:00
Daniel Imms
2e8e64eb4d
Merge pull request #1703 from Tyriar/1702_isWrapped_fix
...
Speculative fix for NPE in linkifier
2018-09-21 09:58:38 -07:00
Daniel Imms
f44d57b2e8
Merge branch 'master' into coveralls_fix
2018-09-21 07:33:10 -07:00
Daniel Imms
36c53a5f8c
Merge branch 'master' into common_layering_strict
2018-09-21 07:31:18 -07:00
Daniel Imms
995e384980
Fix search addon build
2018-09-21 07:31:06 -07:00
Daniel Imms
4941d5a19e
Simplify loop, pass lint
2018-09-21 07:08:17 -07:00
Agustín Rodríguez
1f2d223e64
remove line in xterm.d.ts that says link underlines are not supported
2018-09-21 01:42:20 -03:00
Agustín Rodríguez
d1991396e7
generalized loops to handle both single and multi line links
2018-09-21 01:38:37 -03:00
Agustín Rodríguez
478d824fa7
fix underline don't appearing when using the fallback DOM renderer
2018-09-21 01:38:37 -03:00
Daniel Imms
39a7b18065
Keep track of glyphs using cache values, not keys
2018-09-20 10:09:39 -07:00
Daniel Imms
2c62c3a8c3
Fix tests
2018-09-19 20:06:09 -07:00
Daniel Imms
4463f8d810
Speculative fix for NPE
...
Fixes #1702
2018-09-19 19:47:16 -07:00
Daniel Imms
c05b6bd885
Merge branch 'master' into 1677_perf_improve
2018-09-19 08:03:09 -07:00
Daniel Imms
290c95ad71
Merge pull request #1698 from Tyriar/1697_scrolltop
...
Fix scroll APIs not affecting scroll bar
2018-09-19 07:58:53 -07:00
Daniel Imms
57bbc817bb
Reduce addon lib usage
2018-09-18 10:25:49 -07:00
Daniel Imms
fb0b73ab83
Enforce core layering and enable strict
...
Part of #1507
Part of #1319
2018-09-18 10:21:59 -07:00
Daniel Imms
d1deca2330
Merge branch 'master' into common_layering_strict
2018-09-18 09:49:38 -07:00
Daniel Imms
33915f3ae0
Improve structure of addon tsconfigs
2018-09-18 09:49:07 -07:00
Daniel Imms
e736f1223f
Merge pull request #1696 from Tyriar/posttest
...
Remove npm-run-all
2018-09-18 09:29:45 -07:00
Daniel Imms
a7a58aa055
Enable strict null checks and restrict DOM access in common
...
Part of #1507
Part of #1319
2018-09-17 13:44:31 -07:00
Daniel Imms
cbe7b21090
Don't unlink node when updating inBitmap and verify undefined
2018-09-17 07:52:37 -07:00
Daniel Imms
d9ec47ab7a
Clear bitmap timeout on dispose
2018-09-17 07:48:05 -07:00
Daniel Imms
94b20d40bf
Reuse object for glyph identifier
2018-09-17 07:43:31 -07:00
Daniel Imms
202734f10c
Fix typo which broke dynamic atlas
2018-09-17 07:43:10 -07:00
Daniel Imms
4656bd433c
Revert "Remove IGlyphIdentifier in-between object"
...
This reverts commit 04f2d52f26 .
2018-09-17 07:37:04 -07:00
Daniel Imms
f6d5abf7b3
Fix scroll APIs not affecting scroll bar
...
Fixes #1697
2018-09-17 06:52:22 -07:00
Daniel Imms
6ea56cd85e
Remove npm-run-all
...
We can just use posttest
2018-09-16 11:42:09 -07:00
Daniel Imms
4d7ce4da46
Set coveralls branch name
2018-09-15 11:02:53 -07:00
Daniel Imms
39047767e4
Move coverage to mac agent as it's much faster
2018-09-15 10:40:54 -07:00
Daniel Imms
8d4b5cdc55
Run yarn coveralls after generating report
2018-09-15 10:38:06 -07:00
Daniel Imms
00af63b271
Expand glyph when needed
2018-09-15 10:10:50 -07:00
Daniel Imms
608d78b6ac
Add fallback for window.createImageBitmap
2018-09-15 09:46:19 -07:00
Daniel Imms
ac3595e8b4
Generate and use a bitmap instead of canvas
2018-09-15 09:44:01 -07:00
Jörg Breitbart
5284a5a742
fix spelling
2018-09-15 00:41:55 +02:00
Jörg Breitbart
842ee6c164
change overscan limit to 2k chars
2018-09-15 00:22:00 +02:00
Jörg Breitbart
d0dc387921
fix overscan issue and enable linkify of partial shown matches
2018-09-14 23:16:24 +02:00
Daniel Imms
7762ab96a5
Exit draw early for the space character
2018-09-14 12:06:14 -07:00
Jörg Breitbart
84e9ad2adc
Merge branch 'master' into typedarray_BufferLine
2018-09-14 19:19:41 +02:00
Daniel Imms
6528ba84ff
Avoid creation of array converting index to coordinates
2018-09-14 10:12:43 -07:00
Daniel Imms
0bcf30a21b
Merge remote-tracking branch 'origin/master' into 1677_perf_improve
2018-09-14 10:10:03 -07:00
Daniel Imms
86c78e726d
Merge pull request #1675 from Tyriar/1674_watch_addons
...
Split addon watch into watch-addons
2018-09-14 10:09:34 -07:00
Daniel Imms
cf9cb80cb4
Use a number as the dynamic cache key
...
This prevents string creation on every draw
2018-09-14 10:08:26 -07:00
Daniel Imms
04f2d52f26
Remove IGlyphIdentifier in-between object
...
This was being constructed for every character draw
2018-09-14 09:58:49 -07:00
Daniel Imms
192f751862
Merge branch 'master' into 1674_watch_addons
2018-09-14 09:35:20 -07:00
Daniel Imms
de143b552d
Merge pull request #1676 from Tyriar/1671_dom_renderer_stable
...
Make the DOM renderer stable
2018-09-14 09:35:02 -07:00
jerch
d37a8ce539
Merge pull request #1678 from jerch/fix_linkifier
...
Improve unicode string handling in linkifier
2018-09-14 18:28:46 +02:00
Daniel Imms
2f66ec452c
💄
2018-09-14 08:35:14 -07:00
Jörg Breitbart
4b68976dfb
hide regex error behind debug flag
2018-09-14 15:43:29 +02:00
Jörg Breitbart
3143ad7f02
Merge branch 'master' into fix_linkifier
2018-09-14 14:52:35 +02:00
Jörg Breitbart
631e331077
fix test cases
2018-09-14 14:48:41 +02:00
Jörg Breitbart
70be55df75
test cases for getStringCellWidth
2018-09-14 14:46:57 +02:00
Jörg Breitbart
14c20c5f32
simplify stringIndexToBufferIndex, fix docs
2018-09-14 14:19:25 +02:00
Jörg Breitbart
57bbbda7e8
rename stringWidth; add some comments
2018-09-14 14:15:27 +02:00
Jörg Breitbart
8664f54a76
rename contents to iterator
2018-09-14 13:22:02 +02:00
Jörg Breitbart
9514bfd31c
cleanup BufferStringIterator
2018-09-14 13:15:35 +02:00
Jörg Breitbart
9ce2894353
remove toArray; interface type for iterator result
2018-09-14 12:59:56 +02:00
Daniel Imms
5c873c1ce2
Merge pull request #1664 from alexr00/alexr00/searchWord
...
Added search support for 'match whole word'
2018-09-13 20:38:22 -07:00
Daniel Imms
4d4d9914a8
Merge branch 'master' into alexr00/searchWord
2018-09-13 20:32:05 -07:00
Daniel Imms
a19673d835
Merge branch 'master' into 1671_dom_renderer_stable
2018-09-13 20:31:55 -07:00
Daniel Imms
f7dbadc79b
Merge branch 'master' into 1674_watch_addons
2018-09-13 20:31:53 -07:00
Daniel Imms
50d600877c
Use common TestTerminal for writeSync across Buffer/Linkifier test
2018-09-13 19:54:53 -07:00
Daniel Imms
cd2ac929c3
💄
2018-09-13 19:44:02 -07:00
Daniel Imms
7401567856
Remove unsafe cast in Buffer.test.ts
2018-09-13 19:34:44 -07:00
Jörg Breitbart
69ab27004e
Merge branch 'typedarray_BufferLine' of git+ssh://github.com/jerch/xterm.js into typedarray_BufferLine
2018-09-13 19:30:50 +02:00
Jörg Breitbart
65a528c18b
Merge branch 'master' into typedarray_BufferLine
2018-09-13 19:18:37 +02:00
Jörg Breitbart
a8d9c92ae1
make linter happy
2018-09-13 19:03:57 +02:00
Jörg Breitbart
bd68853575
Merge branch 'master' into fix_linkifier
2018-09-13 19:01:31 +02:00
Daniel Imms
69a6c04620
Merge pull request #1687 from xtermjs/Tyriar-patch-1
...
Use new domain for azure pipelines
2018-09-13 08:50:49 -07:00
Daniel Imms
68766d540f
Use new domain for azure pipelines
2018-09-13 08:19:59 -07:00
Daniel Imms
a09e6a6238
Merge pull request #1681 from xtermjs/azure-pipelines
...
Set up CI with Azure Pipelines
2018-09-13 08:07:40 -07:00
Jörg Breitbart
30f74bf5f3
cover & comment right border trim behavior to be fixed
2018-09-13 16:20:37 +02:00
Jörg Breitbart
2708a76501
fix next() invocation; handle wild matches
2018-09-13 15:44:26 +02:00
Jörg Breitbart
c8c22e3ddf
docs
2018-09-13 14:30:11 +02:00
Alex Ross
7fc1fd947f
Added search support for 'match whole word'
2018-09-12 09:30:34 -07:00
Jörg Breitbart
7e69c5d0db
apply linkifier only to rows in viewport
2018-09-12 15:37:05 +02:00
Jörg Breitbart
0068c477b9
Merge branch 'master' into fix_linkifier
2018-09-12 15:05:12 +02:00
Daniel Imms
74474da7f3
Merge pull request #1663 from alexr00/alexr00/caseSearch
...
Added optional case sensitive searching
2018-09-11 22:35:12 -07:00
Daniel Imms
e6e079bfa1
Merge branch 'master' into alexr00/caseSearch
2018-09-11 22:29:01 -07:00
Daniel Imms
7dc8118367
Merge pull request #1682 from alexr00/alexr00/spaceTrimming
...
Fixed translateBufferLineToStringWithWrap to correctly not remove spaces in the middle of a multiline wrapped string
2018-09-11 22:25:52 -07:00
Alex Ross
5aa6656971
Added test and fixed uncovered buy
2018-09-11 16:29:11 -07:00
Alex Ross
8979eea810
Fixed translateBufferLineToStringWithWrap to correctly not remove spaces in the middle of a multiline wrapped string
2018-09-11 16:12:53 -07:00
Alex Ross
7d2bdacf77
Added test case for when regex and case sensitive are both selected
2018-09-11 15:48:24 -07:00
Daniel Imms
1edc732c55
Use new Azure Pipelines badge
2018-09-11 11:34:47 -07:00
Daniel Imms
e03c93fb81
Install yarn using installer task
2018-09-11 00:19:42 -07:00
Daniel Imms
d23c65d1db
Symlink yarn to /usr/bin
2018-09-11 00:09:36 -07:00
Daniel Imms
07b5bd0b64
Echo path
2018-09-11 00:04:27 -07:00
Daniel Imms
35483b3bf4
Source bashrc after yarn install
2018-09-11 00:00:33 -07:00
Daniel Imms
6ebf17bf04
Export yarn path
2018-09-10 23:53:45 -07:00
Daniel Imms
5d37a17383
Install latest yarn with install script
...
Avoids dpkg lock flakes
2018-09-10 23:49:52 -07:00
Daniel Imms
dade9ba050
Simplify steps
2018-09-10 23:17:03 -07:00
Daniel Imms
5909885d43
Download and install yarn directly from deb
2018-09-10 23:10:42 -07:00
Daniel Imms
0446cf3aee
Install yarn manually on Linux
2018-09-10 23:04:33 -07:00
Daniel Imms
3a97dbecde
Add more platforms, build out script
2018-09-10 23:01:18 -07:00
azure-pipelines[bot]
c88bc62ff9
Set up CI with Azure Pipelines
2018-09-11 05:53:14 +00:00
Jörg Breitbart
a2bfbeaa74
Merge branch 'master' into fix_linkifier
2018-09-10 23:54:44 +02:00
Alex Ross
ade3e0943c
Fixed a merge mistake
2018-09-10 13:54:29 -07:00
Alex Ross
16de86f5ea
Fixed an unintentionally capitalized i
2018-09-10 13:50:35 -07:00
Alex Ross
fed579238a
Added optional case sensitive searching
2018-09-10 13:45:29 -07:00
Daniel Imms
11426bb0d0
Merge pull request #1662 from alexr00/alexr00/searchWrapped
...
Added support for searching accross wrapped lines
2018-09-10 12:26:52 -07:00
Daniel Imms
5e004b21a3
Disallow the empty string from being selected by find
2018-09-10 12:17:17 -07:00
Daniel Imms
b2ba281916
Fix references in demo to addons
2018-09-10 12:09:26 -07:00
Alex Ross
bcf223e235
Fixed merge errors
2018-09-10 10:43:03 -07:00
Alex Ross
d5c17a0cc9
Added one more test case
2018-09-10 10:25:23 -07:00
Alex Ross
54ed988fd1
Fixed issues around searching lines twice and considering a wrapped line both it's own line and part of the previous line.
2018-09-10 10:25:23 -07:00
Alex Ross
1460a34796
Added another test case and fixed the multi-line issue that uncovered
2018-09-10 10:22:12 -07:00
Alex Ross
bc156294aa
Udated comment
2018-09-10 10:20:32 -07:00
Alex Ross
09028d4d86
Added support for searching accross wrapped lines
2018-09-10 10:20:31 -07:00
Jörg Breitbart
c35306aaa6
handle unicode within a match; test cases
2018-09-10 17:47:29 +02:00
Jörg Breitbart
3289eed2a2
merge master
2018-09-10 16:17:41 +02:00
Jörg Breitbart
a76d4a6055
fix multiple row linkifier attempts; tests for unicode before a match
2018-09-10 16:10:41 +02:00
Daniel Imms
12e38404a2
Merge pull request #1672 from Tyriar/demo_lint
...
Fix lint in demo
2018-09-09 16:38:14 -07:00
Jörg Breitbart
08af72be1a
linter errors
2018-09-10 01:13:21 +02:00
Jörg Breitbart
daa6fa0a66
change Linkifier._doLinkifyRow
2018-09-10 00:40:29 +02:00
Jörg Breitbart
4aa8e402a4
fix MockBuffer
2018-09-09 22:21:00 +02:00
Jörg Breitbart
a494e80a9f
BufferStringIterator
2018-09-09 22:17:49 +02:00
Jörg Breitbart
a8fe4107a3
Buffer.stringIndexToBufferIndex method
2018-09-09 21:18:33 +02:00
Daniel Imms
6c2acd6e34
Fix reference to new setting
2018-09-09 08:00:05 -07:00
Daniel Imms
f2049694c8
Make the DOM renderer stable
...
Also updated the list of features which are not supported now. Note
that this may be moved to an addon eventually, this can be part of a
major release rather than included in the comment.
Fixes #1671
2018-09-09 07:38:38 -07:00
Daniel Imms
e59fef87cc
Split addon watch into watch-addons
...
Fixes #1674
2018-09-09 07:33:13 -07:00
Daniel Imms
d943a5c890
Run tslint on the demo
...
Fixes #1673
2018-09-09 07:28:22 -07:00
Daniel Imms
715c078b6d
Fix lint in demo
2018-09-09 07:22:18 -07:00
Daniel Imms
7447a8d08d
Rename setting to experimentalBufferLineImpl, expose in d.ts
2018-09-09 07:20:13 -07:00
Daniel Imms
f9717bc635
Merge pull request #1670 from Tyriar/1669_linkifier_exception
...
Fallback on default color when linkifier can't find the character
2018-09-09 07:00:45 -07:00
Daniel Imms
7ef18cca1e
Merge pull request #1646 from peacefullatom/add-tests-for-events
...
#900 Add tests for events on Terminal
2018-09-08 14:15:56 -07:00
Daniel Imms
c291ab1058
Remove failing refresh test
2018-09-08 14:04:04 -07:00
Daniel Imms
d4d1426bff
Merge branch 'master' into typedarray_BufferLine
2018-09-08 13:47:06 -07:00
Daniel Imms
25e0e97ef2
Merge branch 'master' into add-tests-for-events
2018-09-08 13:44:57 -07:00
jerch
0f28ccb093
Merge pull request #1668 from jerch/fix_demo
...
add explicit type to demo/client.ts
2018-09-08 22:10:51 +02:00
Daniel Imms
f4bb4a22d4
Fallback on default color when linkifier can't find the character
...
This probably doesn't fix the underlying problem, but it will make it
obvious by using the white background color and more easily help identify
the problem case.
Fixes #1669
2018-09-08 13:01:59 -07:00
Jörg Breitbart
a754f37209
fix conditions in Buffer.setBufferLineFactory
2018-09-08 18:02:59 +02:00
Jörg Breitbart
d4f7c6bcf5
rename to copyFrom; use _push for JSArray based bufferline
2018-09-08 17:51:22 +02:00
Jörg Breitbart
4eede85ef6
fixes #1667
2018-09-08 17:26:19 +02:00
Jörg Breitbart
bc943b7b57
merge with 3.7
2018-09-08 16:54:10 +02:00
Daniel Imms
bdb6647ae0
Merge pull request #1652 from Tyriar/1337_project_refs_prep
...
Preparation for project references
2018-09-08 02:59:26 -07:00
Daniel Imms
0d89fcdeeb
Merge pull request #1648 from Tyriar/webpack_demo
...
Improve demo build task
2018-09-08 02:58:58 -07:00
Daniel Imms
4ffc076f84
Merge pull request #1661 from Hindol/fix/1640
...
Add support for block and underline style cursor in DOM rendering mode
2018-09-08 02:53:51 -07:00
Daniel Imms
2ed3997aaa
Merge pull request #1651 from xtermjs/Tyriar-patch-1
...
Move tslint prefer-const with the other core rules
2018-09-08 02:52:05 -07:00
Daniel Imms
a0f9768fe8
Merge remote-tracking branch 'ups/master' into webpack_demo
2018-09-08 02:51:07 -07:00
Daniel Imms
8b334b01a6
Merge branch 'master' into 1337_project_refs_prep
2018-09-08 02:50:45 -07:00
Daniel Imms
c6029765a4
Merge branch 'master' into Tyriar-patch-1
2018-09-08 02:50:39 -07:00
Daniel Imms
520dacac27
Merge pull request #1666 from alexr00/alexr00/searchRegex
...
Added support for searching by regular expression
2018-09-08 02:50:18 -07:00
Daniel Imms
dcc1b7a3e3
Merge branch 'master' into webpack_demo
2018-09-08 02:49:36 -07:00
Daniel Imms
27c3663470
Bump version to 3.7.0
2018-09-08 02:38:05 -07:00
Daniel Imms
599271bde4
Make search option props optional, test optional typings
2018-09-08 02:10:02 -07:00
Hindol Adhya
2716413e66
Updates as per code review comments
...
Getting rid of the ICursorOptions interface to improve performance
2018-09-08 13:20:31 +05:30
Alex Ross
e5465841f8
Responded to feedback and fixed the returned found term
2018-09-07 15:29:51 -07:00
Alex Ross
03e54cce7d
Added regex search test
2018-09-07 11:01:08 -07:00
Alex Ross
88205511e6
Added support for searching by regular expression
2018-09-07 09:47:15 -07:00
Hindol Adhya
374a8b70eb
Add support for block and underline style cursor in DOM rendering mode
2018-09-06 21:27:35 +05:30
Jörg Breitbart
c8b8e39dde
move blankLine to Buffer
2018-09-04 22:19:10 +02:00
peacefullatom
48cf73c152
rewrote to async
2018-09-05 01:11:23 +05:00
peacefullatom
1dc88d2e29
Merge remote-tracking branch 'upstream/master' into add-tests-for-events
2018-09-05 01:08:57 +05:00
Jörg Breitbart
7873598a41
rename BufferLineJsArray as BufferLine
2018-09-04 21:41:00 +02:00
Daniel Imms
7c1b1e2eb8
Fix strict null checks in ./common
...
Part of #1319
2018-09-04 09:56:29 -07:00
Jörg Breitbart
2877c0da80
switch for BufferLineJsArray vs BufferLineTypedArray
2018-09-04 18:20:01 +02:00
Daniel Imms
fb72f25067
Merge branch 'master' into 1337_project_refs_prep
2018-09-04 08:04:39 -07:00
Daniel Imms
3618c6495b
typescript@3.0
2018-09-04 08:02:47 -07:00
Daniel Imms
443b2dbc28
Have common only reference within common
...
Part of #1337
2018-09-04 08:01:04 -07:00
Daniel Imms
53e995a2d8
Add dom lib to typings-test
2018-09-04 07:38:52 -07:00
Daniel Imms
53193d0a47
Use es6 in typings test
2018-09-04 07:34:13 -07:00
Jörg Breitbart
165c8d4522
convenient methods fill, makeCopyOf and clone for BufferLine
2018-09-04 16:30:17 +02:00
Daniel Imms
92341c3e7b
Merge branch 'master' into webpack_demo
2018-09-04 06:56:06 -07:00
Jörg Breitbart
02672dc22e
Merge branch 'master' into typedarray_BufferLine
2018-09-04 15:05:13 +02:00
Daniel Imms
57b8e064a8
Move tslint prefer-const with the other core rules
...
The ones at the bottom are separated as they're part of tslint-consistent-codestyle
2018-09-02 13:43:37 -07:00
jerch
3a310f1597
Merge pull request #1649 from jerch/fix_search_addon
...
Fix broken search addon
2018-09-02 22:00:25 +02:00
Jörg Breitbart
4d0217f816
Merge branch 'fix_search_addon' of https://github.com/jerch/xterm.js into fix_search_addon
2018-09-02 21:46:44 +02:00
Jörg Breitbart
559e932a2e
remove comment and setTimeout
2018-09-02 21:46:20 +02:00
Jörg Breitbart
aa427010e1
Merge branch 'master' into fix_search_addon
2018-09-02 21:38:42 +02:00
jerch
1aec57e8c0
Merge pull request #1645 from jerch/fix_convertEol
...
fix convertEol option
2018-09-02 21:19:19 +02:00
peacefullatom
cbbf6bd654
Merge branch 'master' into add-tests-for-events
2018-09-02 22:50:45 +05:00
Daniel Imms
33b65bbfaa
Merge branch 'master' into fix_convertEol
2018-09-02 10:42:02 -07:00
Daniel Imms
8e39650b5f
Merge branch 'master' into fix_search_addon
2018-09-02 10:34:22 -07:00
Daniel Imms
f148238117
Merge pull request #1638 from Tyriar/duplicate_tslint
...
Remove duplicate triple-equals rule
2018-09-02 10:32:23 -07:00
Jörg Breitbart
6057586ff3
fixes #1647
2018-09-02 17:52:56 +02:00
Daniel Imms
e2267fce92
Remove old webpack.config.js
2018-09-01 19:57:51 -07:00
Daniel Imms
784a142dac
Remove old gulp tasks
2018-09-01 19:50:45 -07:00
Daniel Imms
71aa7027bd
Use new script for yarn start
2018-09-01 19:48:06 -07:00
Daniel Imms
ca76ebc396
Remove todo
2018-09-01 17:34:52 -07:00
Daniel Imms
54187b3597
Fix build by adding es6 lib
...
Targets are still es5, es6 is needed for @types/webpack to parse
2018-09-01 17:03:02 -07:00
Daniel Imms
d58f5cac01
Type Terminal
2018-09-01 16:48:55 -07:00
Daniel Imms
b3e8980270
Convert demo client to TS
2018-09-01 16:34:07 -07:00
Daniel Imms
4d14e00034
Add webpack dependencies, update to webpack 4
2018-09-01 16:22:56 -07:00
Daniel Imms
e75578440e
Improve demo webpack build
2018-09-01 16:22:27 -07:00
peacefullatom
70afb13c9b
#900 Add tests for events on Terminal
2018-09-02 02:31:26 +05:00
Daniel Imms
6a2c4b9823
Merge branch 'master' into duplicate_tslint
2018-09-01 09:58:58 -07:00
Daniel Imms
e2cfd94005
Merge pull request #1607 from Tyriar/444_viewport_sync
...
Only sync viewport in an animation frame
2018-09-01 09:58:34 -07:00
Daniel Imms
9fe8ea8de2
Merge branch 'master' into duplicate_tslint
2018-09-01 09:50:57 -07:00
Daniel Imms
46311b87a2
Merge pull request #1602 from xtermjs/Tyriar-patch-1
...
Add link to running the demo from CONTRIBUTING.md
2018-09-01 09:48:31 -07:00
Daniel Imms
692ca1c9a3
Merge branch 'master' into duplicate_tslint
2018-09-01 09:47:26 -07:00
Daniel Imms
bf5c1f0f78
Merge branch 'master' into 444_viewport_sync
2018-09-01 09:47:09 -07:00
Daniel Imms
467a93c8d9
Fix typo/grammar/line width
2018-09-01 09:34:01 -07:00
Daniel Imms
3841edadb5
Merge pull request #1644 from Tyriar/1642-disposable-jsdoc
...
Document addDisposableListener
2018-08-31 21:19:41 -07:00
Jörg Breitbart
76edd8a3bb
fix error in resize
2018-09-01 05:31:32 +02:00
Jörg Breitbart
284b083274
note on copy on data access
2018-09-01 02:10:11 +02:00
Jörg Breitbart
f9453ef4fa
rename fill to fillCharData
2018-09-01 00:50:40 +02:00
Jörg Breitbart
024404f548
make cols mandatory in BufferLine ctor
2018-09-01 00:18:52 +02:00
Jörg Breitbart
dc332480cc
fix convertEol option
2018-08-31 23:02:05 +02:00
Daniel Imms
a194263183
Document addDisposableListener
...
Part of #1642
2018-08-31 12:02:54 -07:00
Jörg Breitbart
f3561fad30
cleanup
2018-08-31 17:51:47 +02:00
Jörg Breitbart
3f2605f35c
typed array based BufferLine
2018-08-31 17:45:32 +02:00
Jörg Breitbart
d1f6798e75
Merge branch 'buffer_preparations' into buffer_preparations_part2
2018-08-31 04:41:57 +02:00
Jörg Breitbart
841a33be28
remove push/pop/splice calls to BufferLine
2018-08-31 04:40:08 +02:00
jerch
dd7081f948
Merge pull request #1632 from jerch/buffer_preparations
...
buffer redesign - `BufferLine` implementation and cleanups
2018-08-31 01:49:05 +02:00
Daniel Imms
999fce4e52
Remove test only functions from InputHandler.s
2018-08-30 16:22:30 -07:00
Jörg Breitbart
0d49d1f64d
set DEFAULT_CELL explicit in ctor and remove the global const value
2018-08-30 21:12:55 +02:00
Jörg Breitbart
11df1e1d80
make sure DEFAULT_CELL gets not overwritten by accident
2018-08-30 21:03:30 +02:00
Jörg Breitbart
a74ca25b09
cleanup spaces and comments in InputHandler
2018-08-30 20:29:23 +02:00
Jörg Breitbart
32231dcd41
remove static DefaultCell
2018-08-30 20:27:52 +02:00
Jörg Breitbart
04a847f0e2
merge with master
2018-08-30 18:12:48 +02:00
Jörg Breitbart
276e65fa0b
move erase methods to InputHandler
2018-08-30 18:10:18 +02:00
Jörg Breitbart
a1421b151e
cleanup BufferLine.ts
2018-08-30 17:58:37 +02:00
Jörg Breitbart
71f5965f8e
move to BufferLine.ts
2018-08-30 17:55:04 +02:00
Jörg Breitbart
59fc4af9a0
IBufferLine interface
2018-08-30 17:52:45 +02:00
Daniel Imms
381e6c1740
Move defaultCell to an exported member
2018-08-30 07:57:03 -07:00
Jörg Breitbart
9a54cf639b
Merge branch 'master' into buffer_preparations
2018-08-29 23:19:14 +02:00
Jörg Breitbart
01a4ec21da
make linter happy
2018-08-29 22:41:24 +02:00
Jörg Breitbart
a65bd1a77c
Merge branch 'buffer_preparations' of https://github.com/jerch/xterm.js into buffer_preparations
2018-08-29 22:37:19 +02:00
Jörg Breitbart
6439f6e856
regression tests for changes in InputHandler
2018-08-29 22:37:01 +02:00
Daniel Imms
d24caf14a4
Merge branch 'master' into 444_viewport_sync
2018-08-29 10:27:20 -07:00
Daniel Imms
52f132a570
Clean up buffer tests
2018-08-28 14:29:18 -07:00
Jörg Breitbart
424d3257d1
set conditional blocks in brackets
2018-08-28 02:34:46 +02:00
Daniel Imms
f47f095b89
Merge pull request #1636 from peacefullatom/fix-crosshair
...
Fix crosshair
2018-08-27 10:22:53 -07:00
Jörg Breitbart
de26be56c1
change type of IPartialLineData
2018-08-27 17:11:40 +02:00
Jörg Breitbart
f964a34b34
explicit member visibility
2018-08-27 17:01:30 +02:00
Jörg Breitbart
6576d513b0
fix index access to cell in winptyCompat
2018-08-27 16:53:58 +02:00
Daniel Imms
4af2d1ed41
Remove duplicate triple-equals rule
2018-08-27 07:26:00 -07:00
peacefullatom
9e27c231e5
Merge branch 'master' into fix-crosshair
2018-08-27 12:04:23 +05:00
Daniel Imms
ae3684c897
Merge pull request #1634 from angersson/master
...
Add shellvault.io to README.md
2018-08-26 17:52:19 -07:00
Jörg Breitbart
d4c621a182
more TerminalLine tests
2018-08-26 19:59:16 +02:00
Jörg Breitbart
9c68eb3b11
move line content functions to TerminalLine
2018-08-26 19:24:49 +02:00
Jörg Breitbart
77cb697990
remove <any> casts for .isWrapped
2018-08-26 16:04:52 +02:00
Jörg Breitbart
cee432a66a
TerminalLine ctor parameters; tests
2018-08-26 15:50:00 +02:00
Jörg Breitbart
a553415216
remove blankLine from Terminal
2018-08-26 14:35:28 +02:00
Jörg Breitbart
cd8477a942
move blankLine to TerminalLine
2018-08-26 14:27:38 +02:00
Austin Anderson
811b3cc326
Add Shellvault to readme
2018-08-25 21:36:58 -07:00
Jörg Breitbart
a99cac45f7
fix import errors
2018-08-25 22:56:15 +02:00
Jörg Breitbart
3d34881c4e
rebase to master
2018-08-25 22:43:15 +02:00
Jörg Breitbart
0340d91150
first step to buffer redesign: class TerminalLine; discourage low level index access to cells
2018-08-25 22:41:42 +02:00
Jörg Breitbart
5c3315251b
first step to buffer redesign: class TerminalLine; discourage low level index access to cells
2018-08-25 20:58:50 +02:00
Daniel Imms
e769e787a8
Merge pull request #1626 from peacefullatom/fix-underline-color
...
#957 Link underline should be the same as FG color
2018-08-24 14:49:40 -07:00
peacefullatom
96ed32698b
fix 1629 Crosshair cursor doesn't go away after hitting alt+tab
2018-08-25 00:06:44 +05:00
peacefullatom
e66928da20
Merge branch 'fix-underline-color' of https://github.com/peacefullatom/xterm.js into fix-underline-color
2018-08-24 22:48:50 +05:00
peacefullatom
c762885c4b
Merge branch 'master' of https://github.com/xtermjs/xterm.js into fix-underline-color
2018-08-24 22:36:12 +05:00
Yuriy Markov
63ced6f302
Merge branch 'master' into fix-underline-color
2018-08-24 22:35:39 +05:00
Daniel Imms
82f6547f10
Merge pull request #1628 from princjef/triple-equals
...
Enforce strict equality through tslint
2018-08-24 07:49:30 -07:00
Jeff Principe
841a0e010d
Merge branch 'master' into triple-equals
2018-08-23 20:59:30 -07:00
Yuriy Markov
85f25e77f5
Merge branch 'master' into fix-underline-color
2018-08-24 01:46:30 +05:00
Daniel Imms
2adaed87d1
Merge pull request #1624 from princjef/first-line-render
...
Only render first line when requested
2018-08-23 09:53:33 -07:00
peacefullatom
4c93d8ddaa
Merge branch 'master' into fix-underline-color
2018-08-23 16:25:32 +05:00
Jeff Principe
b35fa9576e
Enforce strict equality through tslint
2018-08-22 19:36:40 -07:00
Jeff Principe
091c42f7e6
only render first line when requested
2018-08-22 19:10:56 -07:00
peacefullatom
6601133912
#957 Link underline should be the same as FG color
2018-08-23 04:24:10 +05:00
Daniel Imms
9273e8175e
Merge pull request #1621 from xtermjs/Tyriar-patch-2
...
Fix license
2018-08-21 15:59:27 -07:00
Daniel Imms
cd75d6fb68
Merge pull request #1622 from Tyriar/1620_row_render
...
Prevent whole viewport from refreshing
2018-08-21 15:59:13 -07:00
Daniel Imms
01bfa1df4b
Merge pull request #1619 from meefik/patch-1
...
Bug with receive the result from FileReader
2018-08-21 15:34:40 -07:00
Daniel Imms
123e074c16
Merge branch 'master' into 1620_row_render
2018-08-21 15:15:42 -07:00
Daniel Imms
929150a8e1
Prevent whole viewport from refreshing
...
Fixes #1620
2018-08-21 15:13:27 -07:00
Daniel Imms
e3eb1b81b3
Fix license
2018-08-21 12:29:46 -07:00
Anton Skshidlevsky
04c4448f97
Bug with receive the result from FileReader
...
Incorrect variable "this" must be replace to fileReader.
2018-08-18 15:36:51 +03:00
Daniel Imms
0e45909c7e
Merge pull request #1613 from shroudedcode/support-not-italic
...
Add support for the "Not italic" escape code
2018-08-14 11:33:39 -07:00
Niklas Higi
44366ffd3c
Add support for the "Not italic" escape code
2018-08-14 12:29:12 +02:00
Daniel Imms
49cf1a2cea
Merge pull request #1610 from princjef/typings-no-emit
...
Stop typescript from emitting output files in typings test
2018-08-10 19:47:18 -07:00
Daniel Imms
86800d2d71
Bump version to 3.6.0
2018-08-10 19:28:06 -07:00
Daniel Imms
41fdc9071a
Update AUTHORS
2018-08-10 19:27:16 -07:00
Jeff Principe
14d75364eb
Stop typescript from emitting output files in typings test
2018-08-09 19:44:25 -07:00
Daniel Imms
2127128ef5
Only sync viewport in an animation frame
...
Fixes #444
2018-08-09 12:19:37 -07:00
Daniel Imms
95ebba6fdb
Add link to running the demo from CONTRIBUTING.md
2018-08-07 19:32:30 -07:00
Daniel Imms
ff63d3eb23
Merge pull request #1601 from segevfiner/source-map-loader
...
Add source-map-loader to webpack config
2018-08-07 14:11:08 -07:00
Daniel Imms
05b8ef1727
Merge pull request #1599 from 7PH/master
...
#1591 : Fix bold inverted text displayed with wrong color
2018-08-07 14:07:32 -07:00
Segev Finer
458f2d8bf1
Add source-map-loader to webpack config
...
This makes source maps work in the demo
2018-08-07 22:39:09 +03:00
PowerHat
87a84b608c
#1591 : Fix bold inverted text displayed with wrong color
2018-08-06 22:41:57 +02:00
Daniel Imms
dd7a9c3b7a
Merge pull request #1594 from Tyriar/1593_column_select
...
Fix bug in column selection rendering
2018-08-06 12:32:35 -07:00
Daniel Imms
d1ca0d7839
Merge branch 'master' into 1593_column_select
2018-08-06 11:33:59 -07:00
Daniel Imms
3419480b98
Merge pull request #1586 from Tyriar/1579_emit_pos_directly
...
Report device status directly via emit
2018-08-06 11:26:15 -07:00
Daniel Imms
a003a0c585
Merge remote-tracking branch 'origin/master' into 1579_emit_pos_directly
2018-08-06 11:21:35 -07:00
Daniel Imms
e3dfe4bc32
Merge branch 'master' into 1593_column_select
2018-08-06 11:17:52 -07:00
Daniel Imms
c9ec7aa215
Fix flickering when dragging below viewport
2018-08-06 11:17:28 -07:00
Daniel Imms
7675be7da3
Fix dragging when in column selection mode
2018-08-06 11:13:56 -07:00
Daniel Imms
1a03b703f1
Merge pull request #1578 from Tyriar/1567_npe
...
Fix NPE in InputHandler.parse
2018-08-06 07:31:28 -07:00
Daniel Imms
9165581266
Merge branch 'master' into 1593_column_select
2018-08-06 07:24:46 -07:00
Daniel Imms
6a770296f9
Add tests for Dispoable
2018-08-06 07:22:32 -07:00
Daniel Imms
cbfb99a5cf
Move _isDisposed to Disposable class
2018-08-06 07:16:51 -07:00
Daniel Imms
bae3f64c10
Merge branch 'master' into 1567_npe
2018-08-06 07:14:33 -07:00
Daniel Imms
7c7102d8a6
Merge pull request #1556 from xtermjs/Tyriar-patch-1
...
Add pointer to .d.ts and mention addon CSS
2018-08-06 07:13:21 -07:00
Daniel Imms
8e9ba23227
Merge pull request #1598 from xtermjs/remove_travis
...
Remove Travis CI badge
2018-08-06 07:12:35 -07:00
Daniel Imms
1d91e3c5bf
Merge pull request #1597 from Tyriar/1596_a11y_npe
...
Fix NPE in AccessibilityManager
2018-08-06 07:12:23 -07:00
Daniel Imms
45d4622920
Merge pull request #1590 from Tyriar/1589_swap_renderer
...
Allow renderer to be swapped in and out at runtime
2018-08-06 07:08:40 -07:00
Daniel Imms
b7da4b6bfe
Merge pull request #1588 from Tyriar/1584_use_const
...
Use const for null cell
2018-08-06 07:08:21 -07:00
Daniel Imms
fdf51c119b
Merge pull request #1585 from Tyriar/1571_dbl_click_wrapped
...
Make double click select word aware of wrapped lines
2018-08-06 07:06:45 -07:00
Daniel Imms
6de8c91059
Merge pull request #1583 from Tyriar/remove_jsdoc_types
...
Remove jsdoc types
2018-08-06 07:06:29 -07:00
Daniel Imms
490f0ad329
Remove Travis CI badge
2018-08-03 19:20:21 -07:00
Daniel Imms
882aea357f
Fix NPE in AccessibilityManager
...
Fixes #1596
2018-08-03 11:10:51 -07:00
Daniel Imms
d8eedfa1c7
Fix bug in column selection rendering
...
Fixes #1593
2018-07-31 10:56:37 -07:00
Daniel Imms
90e57c9b3c
Merge branch 'master' into 1571_dbl_click_wrapped
2018-07-29 19:12:07 -07:00
Daniel Imms
a269e7f5d9
Merge pull request #1569 from Tyriar/1505_deprecate_emit
...
Deprecate Terminal.emit
2018-07-29 19:11:15 -07:00
Daniel Imms
4a3c1a4cc6
Store theme in right place
2018-07-29 14:25:55 -07:00
Daniel Imms
804cb36adc
Retain theme when renderers are swapped
2018-07-29 14:17:25 -07:00
Daniel Imms
5aaf9ef11b
Allow renderer to be swapped in and out at runtime
...
Fixes #1589
2018-07-29 13:50:45 -07:00
Daniel Imms
c65dd1f476
Use const for null cell
...
Fixes #1584
2018-07-29 13:05:27 -07:00
Daniel Imms
05f136b3da
Add link to GitHub dependents to real world uses
2018-07-28 12:42:11 -07:00
Daniel Imms
1c4cb8c620
Reinstate IInputHandlingTerminal
...
Fixes #1587
2018-07-27 11:46:09 -07:00
Daniel Imms
fec66c7dac
Remove Terminal.send
2018-07-27 11:32:11 -07:00
Daniel Imms
e82f78fc84
Merge branch 'master' into 1571_dbl_click_wrapped
2018-07-26 12:28:37 -07:00
Daniel Imms
67d6ad57c3
Add tests
2018-07-26 12:23:34 -07:00
Daniel Imms
48f1c4667a
Fix select to word upwards
2018-07-26 11:30:49 -07:00
Daniel Imms
6a9da97163
Cover select to word downwards
2018-07-26 11:15:34 -07:00
Daniel Imms
7b68cb9fe7
Support double click select word over wrapped lines
...
Part of #1571
2018-07-26 11:09:29 -07:00
Daniel Imms
6691f80906
Merge pull request #1581 from Tyriar/exp_api
...
Add note in readme about API/experimental API
2018-07-25 17:53:22 -07:00
Daniel Imms
bdfe877c8f
Remove jsdoc types
...
They're redundant in TS/tsdoc
2018-07-24 08:59:20 -07:00
Daniel Imms
ee3668eb03
Report device status directly via emit
...
Fixes #1579
2018-07-24 08:40:51 -07:00
Daniel Imms
4a443c4a45
Move API section to getting started, above addons
2018-07-24 06:30:18 -07:00
Daniel Imms
d964c23c43
Add note in readme about API/experimental API
2018-07-24 06:27:05 -07:00
Daniel Imms
20d4c64ffe
Make write/_innerWrite aware of terminal disposal
2018-07-23 15:37:04 -07:00
Daniel Imms
bf3709f4c5
Fix NPE in InputHandler.parse
...
Fixes #1567
2018-07-23 15:29:45 -07:00
Daniel Imms
8f22d8dda4
Merge pull request #1574 from vincentwoo/patch-1
...
refreshRowElements argument order was flipped
2018-07-19 08:14:08 -07:00
Vincent Woo
0f6a8d3991
refreshRowElements argument order was flipped
...
This is potentially a fix for #1573 but I have not tested.
2018-07-18 17:55:59 -07:00
Daniel Imms
5b8da8c89a
Merge pull request #1570 from nikonso/fix-1509
...
Prevent Uncaught TypeError - Cannot read property 'isWrapped' on Linkifier
2018-07-17 08:43:08 -07:00
Bruno Ribeito
f2e5ea5783
Remove unnecessary get line
2018-07-16 21:11:35 +01:00
Bruno Ribeito
cb888c343e
break instead of returning
2018-07-15 19:48:16 +01:00
Bruno Ribeito
18f37440dc
Prevent Uncaught TypeError
...
- Cannot read property 'isWrapped' on Linkifier
2018-07-15 19:36:49 +01:00
Daniel Imms
3582f8733d
Deprecate emit
...
Part of #1505
2018-07-14 10:46:55 -07:00
Daniel Imms
b84dba2e8d
Merge pull request #1566 from Tyriar/1565_charset_fix
...
Fix charset drawing
2018-07-12 08:45:21 -07:00
Daniel Imms
61fc4ca8a6
Fix charset drawing
...
Fixes #1565
2018-07-12 08:27:57 -07:00
Daniel Imms
bbd234b951
Merge branch 'master' into Tyriar-patch-1
2018-07-10 18:26:31 -07:00
Daniel Imms
0545cfa121
Merge pull request #1563 from Tyriar/1562_yarn
...
Use yarn
2018-07-10 18:26:12 -07:00
Daniel Imms
26969b725e
Merge branch 'master' into 1562_yarn
2018-07-10 17:47:23 -07:00
Daniel Imms
eb31732af0
Merge pull request #1564 from Tyriar/remove_travis
...
Remove TravisCI
2018-07-10 17:47:05 -07:00
Daniel Imms
9c08f78017
Remove TravisCI
2018-07-10 17:33:37 -07:00
Daniel Imms
54dcbeb6cf
Use yarn.
2018-07-10 17:25:39 -07:00
Daniel Imms
a52aab4618
Merge pull request #1460 from princjef/character-joiner
...
Add optional character joiner
2018-07-10 17:01:20 -07:00
Daniel Imms
5f5a49995a
Merge pull request #1555 from jerch/fix_out_of_bound_deopt
...
fix out of bound deopt in EscapeSequenceParser.parse
2018-07-10 17:00:58 -07:00
Daniel Imms
ac7239732d
Merge pull request #1558 from xtermjs/Tyriar-patch-2
...
Move developer documentation to the wiki
2018-07-10 17:00:25 -07:00
Daniel Imms
68d537fb28
Merge pull request #1561 from roke22/master
...
Add project that use xterm to the README file
2018-07-10 17:00:14 -07:00
Paris Kasidiaris
7c3bf3a130
Bump version to 3.5.0
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2018-07-10 16:01:25 +00:00
Daniel Imms
7ce071c575
Remove extra list item
2018-07-10 08:24:59 -07:00
Jose Anton
42f1aba00c
Add project that use xterm to the README file
2018-07-10 16:20:58 +02:00
Daniel Imms
dfb1b4db95
Move third party deps note to wiki
2018-07-09 09:25:35 -07:00
Daniel Imms
6900bbc07a
Move developer documentation to the wiki
2018-07-09 09:24:07 -07:00
Daniel Imms
d4b507ddb1
Inline private member to ctor
2018-07-09 07:05:12 -07:00
Daniel Imms
1bad71f13a
Merge branch 'master' into character-joiner
2018-07-09 06:18:03 -07:00
Jeff Principe
63b3a6f323
Factor logic into registry, make matches cell-based and document
2018-07-08 11:30:54 -07:00
Jörg Breitbart
ba7976f3b1
do while loop
2018-07-07 21:20:03 +02:00
Daniel Imms
b5b350fdcf
Add pointer to .d.ts and mention addon CSS
...
Part of #1554
2018-07-07 11:12:29 -07:00
Jörg Breitbart
87e292414d
fix out of bound deopt in EscapeSequenceParser.parse
2018-07-07 12:46:51 +02:00
Daniel Imms
5620da49d8
Merge pull request #1553 from Tyriar/1552_selection_state
...
Include ydisp in selection state
2018-07-06 10:18:06 -07:00
Daniel Imms
3c8f336689
Include ydisp in selection state
...
Fixes #1552
2018-07-06 09:53:45 -07:00
Daniel Imms
f1c9d37c83
Merge pull request #1547 from Tyriar/remove_parser
...
Remove the old parser
2018-07-05 07:40:15 -07:00
Daniel Imms
08603c7975
Merge branch 'master' into remove_parser
2018-07-05 07:40:06 -07:00
Daniel Imms
318dc6fcf6
Merge pull request #1537 from Tyriar/fix_typo
...
Fix typo
2018-07-05 07:39:48 -07:00
Daniel Imms
68adadf3f4
Remove the old parser
2018-07-04 10:34:53 -07:00
Daniel Imms
5e3ebbde5e
Merge branch 'master' into character-joiner
2018-07-03 11:50:27 -07:00
Daniel Imms
6d9d2a3304
Merge remote-tracking branch 'origin/master' into pr/princjef/1460
2018-07-03 11:50:07 -07:00
Daniel Imms
73bc1c577a
Merge pull request #1503 from Tyriar/998_mouse_off
...
Nullify and remove mouse handlers when mouse move it exited
2018-07-02 13:25:36 -07:00
Daniel Imms
aec4c908d3
Merge remote-tracking branch 'origin/master' into 998_mouse_off
2018-07-02 13:22:28 -07:00
Daniel Imms
9aad2f7ca5
Merge pull request #1543 from nikonso/fix-SelectionRenderLayer-state
...
Fix SelectionRenderLayer._state
2018-07-02 09:23:01 -07:00
Daniel Imms
af9d17760d
Make columnSelectMode mandatory
2018-07-02 09:22:38 -07:00
Daniel Imms
4557f857f7
Merge pull request #1542 from nikonso/recreate-terminal
...
Add recreate terminal after disposing to the demo
2018-07-02 09:13:16 -07:00
Bruno Ribeito
ed58c42513
Fix actions and styles
2018-07-01 22:50:08 +01:00
Bruno Ribeito
7e393dfa8c
Move logic to helper function
2018-07-01 22:24:51 +01:00
Bruno Ribeiro
0a70b182a7
Merge branch 'master' into recreate-terminal
2018-07-01 20:35:15 +01:00
Bruno Ribeito
932a8d5028
Fix SelectionRenderLayer._state
2018-07-01 19:26:50 +01:00
Bruno Ribeito
054592520e
Add recreate terminal after disposing to the demo
2018-07-01 18:56:58 +01:00
Daniel Imms
38debf77f8
Merge pull request #1538 from vsinha/column-select
...
Support for column/box selection
2018-06-30 10:20:38 -07:00
Daniel Imms
117c79e4e7
Polish
2018-06-30 10:11:48 -07:00
Viraj Sinha
3a4ad37177
Added mac platform check before we try to use mac specific config var
2018-06-29 20:19:18 -07:00
Viraj Sinha
ace612e575
Fixes for merging column select
2018-06-29 20:15:17 -07:00
Daniel Imms
e628a9be76
Fix emoji test
2018-06-29 11:25:17 -07:00
Daniel Imms
835d5a16ea
Fix build after merge
2018-06-29 11:17:45 -07:00
Viraj Sinha
169cbb3fca
Merge branch 'master' into column-select
2018-06-28 15:59:27 -07:00
Viraj Sinha
2669576b6c
Adds a toggle to disable column selections on mac
2018-06-28 15:56:25 -07:00
Viraj Sinha
3202ddc96d
Adds support for column selections if holding alt on mac and shift on windows/linux
2018-06-28 15:55:44 -07:00
Daniel Imms
35ee3610f7
Add missing new line back
2018-06-28 13:25:54 -07:00
Daniel Imms
45f5a710d6
Merge branch 'master' into fix_typo
2018-06-28 13:25:12 -07:00
Daniel Imms
1395b0f03c
Merge pull request #1525 from Tyriar/1518_memory
...
Ensure all references are released when Terminal.dispose is called
2018-06-28 13:21:27 -07:00
Daniel Imms
38efb1a02d
Merge branch 'master' into fix_typo
2018-06-28 13:00:34 -07:00
Daniel Imms
22308fb37c
Fix typo
2018-06-28 12:59:53 -07:00
Daniel Imms
100143bd02
Merge branch 'master' into 1518_memory
2018-06-28 10:29:07 -07:00
Daniel Imms
8c20a2e26b
Merge pull request #1535 from 7PH/master
...
#1532 : 'Reset to Initial State' (RIS) escape sequence no longer makes the cursor disappear
2018-06-27 07:09:49 -07:00
Daniel Imms
e24dca3e29
Send mousemove events when x10Mouse is true
2018-06-26 07:26:14 -07:00
7PH
218a4014c7
#1532 : Add test to ensure terminal reset does not display cursor if hidden before
2018-06-26 10:42:08 +02:00
7PH
0ad7b8e27b
#1532 : Add test to ensure terminal reset does not affect cursorState
2018-06-26 10:36:11 +02:00
7PH
f1504e5c0f
#1532 : Terminal reset does not affect cursorState anymore
2018-06-26 10:33:46 +02:00
Daniel Imms
f0d872f7fe
Merge pull request #1531 from Tyriar/pin_notepty
...
Pin node-pty to 0.7.6
2018-06-25 11:38:34 -07:00
Daniel Imms
ff18b193eb
Pin node-pty to 0.7.6
2018-06-25 11:28:09 -07:00
Daniel Imms
8ae8705ae6
Fix typo
2018-06-25 11:21:00 -07:00
Daniel Imms
d585515de1
Move RenderDebouncer and ScreenDprMonitor into ui
2018-06-23 17:34:01 +10:00
Daniel Imms
8dda3e68f8
MOve CharMeasure into ui/
2018-06-23 17:32:32 +10:00
Daniel Imms
4c7e5d2201
Move CircularList to common (tests in ui/ need)
2018-06-23 17:27:34 +10:00
Daniel Imms
cc41fefe31
Move MouseZoneManager into ui/
2018-06-23 17:25:07 +10:00
Daniel Imms
9a3751d7fb
Merge pull request #1522 from 7PH/master
...
#1521 : VT100 escape codes DECSC and DECRC now handle character attributes
2018-06-22 07:36:42 +10:00
PowerHat
64b0a9482c
Merge branch 'master' into master
2018-06-21 11:35:01 +02:00
Daniel Imms
221a4353a4
Merge pull request #1524 from Tyriar/tyriar/1523
...
Make sure DOM renderer doesn't render cells beyond cols
2018-06-21 19:22:39 +10:00
Daniel Imms
989c24cbc3
Merge pull request #1513 from Tyriar/ensure_setting_redraws
...
Ensure drawBoldTextInBrightColors redraws screen
2018-06-21 19:06:00 +10:00
7PH
654f4bd5ae
Merge branch 'master' of https://github.com/7PH/xterm.js
2018-06-21 09:22:41 +02:00
7PH
43ffa957ab
#1521 : fixed default value of 'Terminal.curAttr' when restoring a not previously saved cursor state
2018-06-21 09:22:17 +02:00
Daniel Imms
a9a506f7db
Merge branch 'master' into 998_mouse_off
2018-06-21 14:35:09 +10:00
Daniel Imms
6e71fb0fb8
Merge branch 'master' into ensure_setting_redraws
2018-06-21 14:33:42 +10:00
Daniel Imms
4d52cd3c66
Clean reference to custom key event handler on dispose
2018-06-21 14:14:36 +10:00
Daniel Imms
27b1c89f43
More cleaning up of references
2018-06-21 11:48:53 +10:00
Daniel Imms
867ce262e8
Fix test
2018-06-21 11:15:10 +10:00
Daniel Imms
45e4486bf5
Remove on, off, globalOn
2018-06-21 11:10:55 +10:00
Daniel Imms
545d0782c9
Properly register and dispose of majority of remaining listeners
2018-06-21 11:07:29 +10:00
Daniel Imms
ede1d5f7c8
Correctly dispose of Renderer and ScreenDprMonitor
2018-06-21 10:49:03 +10:00
Daniel Imms
5adf962eb5
Dispose of attach addon event listeners
2018-06-21 10:39:52 +10:00
Daniel Imms
9293616f02
Add dispose terminal button to demo
2018-06-21 10:32:58 +10:00
Daniel Imms
7e779cd195
Replace _disposables with Disposable, add jsdoc
2018-06-21 10:29:02 +10:00
Daniel Imms
dfd17be8bb
Introduce Disposable abstract class
2018-06-21 10:24:37 +10:00
Daniel Imms
a44f496ec7
Rename dom listener function for better clarity
2018-06-21 10:05:40 +10:00
Daniel Imms
c0f4a8eb7c
Move Dom listener helper to ui/
...
Part of #1518
2018-06-21 10:03:53 +10:00
Daniel Imms
086b2c04e0
Make sure DOM renderer doesn't render cells beyond cols
...
Fixes #1523
2018-06-20 23:02:05 +10:00
PowerHat
4809b04f26
Merge branch 'master' into master
2018-06-20 14:51:52 +02:00
7PH
4fecf05dab
#1521 : added unit tests for saving & restoring cursor attributes
2018-06-20 14:31:12 +02:00
7PH
285b0b6702
#1521 : added 'savedCurAttr' attribute to 'MockInputHandlingTerminal' class
2018-06-20 14:23:05 +02:00
Benjamin Raymond
a1b8f96d50
#1521 : added default behavior of 'ESC 8' escape sequence (DECRC) when cursor state was never saved before using 'ESC 7' (DECSC)
2018-06-20 14:04:13 +02:00
Benjamin Raymond
c345dba591
#1521 : added 'savedCurAttr' property in 'Terminal' class which holds the saved state of the character attributes ('ESC 7' escape sequence code)
2018-06-20 13:58:53 +02:00
Benjamin Raymond
8dcb4698d3
#1521 : now saving and restoring characters attributes when using ANSI escape sequences 'ESC 7' (DECSC) and 'ESC 8' (DECRC)
2018-06-20 13:57:42 +02:00
Daniel Imms
f9bc3c511b
Merge pull request #1508 from Tyriar/layering
...
Start of improved layering
2018-06-20 21:35:51 +10:00
Daniel Imms
0d0f4b048c
Merge branch 'master' into layering
2018-06-20 21:25:58 +10:00
Daniel Imms
91cf9e1ba8
Move .strings to public/
2018-06-20 19:46:04 +10:00
Daniel Imms
5d05c3a5f3
Merge pull request #1517 from JonKohler/patch-1
...
Sort asending for companies in readme and add Nutanix
2018-06-20 07:40:13 +10:00
Jon Kohler
628e648b57
Update README.md
...
Update readme and add note for future adders to append to the bottom of list
2018-06-18 22:28:25 -04:00
Jon Kohler
72bb1b030a
Sort asending for companies in readme and add Nutanix
...
Sorted the company list in the readme asending and added Nutanix to the list of users
2018-06-18 10:05:40 -04:00
Daniel Imms
6c6d90a698
Merge branch 'master' into layering
2018-06-13 12:52:43 +02:00
Daniel Imms
356959e338
Merge pull request #1512 from Tyriar/1511_npe_beginFrame
...
Add a null check to charatlas beginFrame call
2018-06-12 18:02:21 +02:00
Daniel Imms
6c3b6b4655
Ensure drawBoldTextInBrightColors redraws screen
2018-06-12 17:54:26 +02:00
Daniel Imms
ee935cc68c
Add a null check to charatlas beginFrame call
...
Fixes #1511
2018-06-12 17:27:36 +02:00
Daniel Imms
57959249d8
Resolve todos
2018-06-12 17:17:21 +02:00
Daniel Imms
bb4db71958
Rename base/ to common/
2018-06-12 17:07:43 +02:00
Daniel Imms
8c3376911f
Fix winptyCompat compile
2018-06-12 17:05:13 +02:00
Daniel Imms
1487b8d02d
Merge pull request #1510 from FGasper/cpanel_whm_real_world
...
Add cPanel & WHM to the Real-World Uses list.
2018-06-12 10:25:10 +02:00
Felipe Gasper
3705d8159d
Add cPanel & WHM to the Real-World Uses list.
2018-06-11 16:51:07 -04:00
Daniel Imms
6a3ed43ad2
Move EscapeSequences into base
2018-06-10 16:56:29 +01:00
Daniel Imms
12e7f80037
Move Charsets to core
2018-06-10 16:53:28 +01:00
Daniel Imms
410d506f34
Fix applyAddon test
2018-06-10 16:44:50 +01:00
Daniel Imms
d29a527724
Introduce the public module
2018-06-10 16:40:36 +01:00
Daniel Imms
20307ef637
Add tests for mobile key events
2018-06-10 12:43:22 +02:00
Daniel Imms
95217ca931
Remove core/input/Keyboard's dep on Terminal
2018-06-10 12:33:50 +02:00
Daniel Imms
b4ccbe042b
Pull keyboard event translation into core
2018-06-10 11:52:25 +02:00
Daniel Imms
e167686b6d
Remove conversion step, KeyboardEvent implements IKeyboardEvent
2018-06-10 11:45:50 +02:00
Daniel Imms
b6481f120b
Introduce IKeyEvent
2018-06-10 11:03:37 +02:00
Daniel Imms
fb63b3475b
Merge pull request #1501 from Tyriar/issue_template
...
Add more granular github issue templates
2018-06-09 17:02:36 +02:00
Daniel Imms
2f1c1cd172
Remove old issue template
2018-06-09 17:01:37 +02:00
Daniel Imms
03e31571a9
Merge pull request #1497 from xtermjs/Tyriar-patch-1
...
Fix copyright line breaks
2018-06-09 17:00:24 +02:00
Daniel Imms
c6370ba0cf
Merge pull request #1472 from Tyriar/fix_tsconfig
...
Fix valid lib values in tsconfig
2018-06-09 17:00:05 +02:00
Daniel Imms
432c2cc369
Nullify and remove mouse handlers when mouse move it exited
...
Fixes #998
2018-06-08 17:36:04 +02:00
Daniel Imms
3637b83bbb
Add more granular github issue templates
2018-06-08 09:04:37 +02:00
Daniel Imms
ddc9466916
Merge pull request #1500 from Tyriar/coc
...
Add a code of conduct
2018-06-08 08:55:21 +02:00
Daniel Imms
df9d20bfdc
Add a code of conduct
2018-06-08 08:54:29 +02:00
Daniel Imms
e9af4d0e80
Fix copyright line breaks
2018-06-07 09:22:14 +02:00
Daniel Imms
f38a34c6da
Merge pull request #1495 from nikonso/passive-events
...
Explicitly mark Event Listeners as not passive
2018-06-06 10:04:39 +02:00
Daniel Imms
41b5fd8ddf
Merge branch 'master' into passive-events
2018-06-06 09:57:42 +02:00
Daniel Imms
22ef5661eb
Merge pull request #1388 from Tyriar/script_improvements
...
Improved test related npm scripts
2018-06-06 09:23:20 +02:00
Daniel Imms
4e2c30c81d
Pin @types/jsdom
2018-06-06 09:09:40 +02:00
Bruno Ribeito
8f91e3bcde
Fix #829
2018-06-06 08:02:26 +01:00
Daniel Imms
5aff7c2c1e
Update @types/jsdom
2018-06-06 08:47:08 +02:00
Daniel Imms
b4bb433c1b
Add coveralls
2018-06-06 07:44:09 +02:00
Daniel Imms
c405b58456
Merge branch 'master' into script_improvements
2018-06-06 05:45:16 +02:00
Daniel Imms
445689c679
Merge pull request #1494 from svenstaro/patch-1
...
Add genact
2018-06-06 04:23:48 +02:00
Sven-Hendrik Haase
1c0d7771d7
Add genact
...
genact uses xterm.js!
2018-06-05 20:58:39 +02:00
Daniel Imms
a8964a15dd
Merge pull request #1491 from pro-src/master
...
Fix typo in README.md
2018-06-05 08:36:42 +02:00
pro-src
bdfdcf3508
Fix typo in README.md
2018-06-04 14:39:47 -05:00
Daniel Imms
0276ab4f85
Merge pull request #1489 from nikonso/master
...
Fix npm start on windows
2018-06-03 19:10:16 -07:00
Daniel Imms
f83394b0ab
Merge pull request #1490 from nikonso/fix-demo-string-options
...
Fix Demo String Options
2018-06-03 19:09:23 -07:00
Bruno Ribeito
13d5ad6506
Fix Demo String Options
2018-06-03 19:53:51 +01:00
Bruno Ribeito
7751933c8c
Fix npm start on windows
2018-06-03 19:37:49 +01:00
Daniel Imms
42d7d3aefc
Merge pull request #1488 from Tyriar/all_options
...
Add all options to demo in a way that makes it easy to maintain
2018-06-03 07:51:14 -07:00
Daniel Imms
0f488e59d7
Merge branch 'master' into all_options
2018-06-03 07:43:27 -07:00
Daniel Imms
1066816142
Merge pull request #1474 from Tyriar/1473_slow_build
...
Use incremental tsc builds
2018-06-03 07:42:27 -07:00
Daniel Imms
6e3c16a2c2
Merge branch 'master' into 1473_slow_build
2018-06-03 07:39:19 -07:00
Daniel Imms
3d56b152f3
Merge pull request #1421 from Tyriar/more_naming_conventions
...
Add remaining naming conventions into tslint
2018-06-03 07:39:03 -07:00
Daniel Imms
24fad1126c
Add missing renames
2018-06-03 16:34:12 +02:00
Daniel Imms
53463681de
Fix lint
2018-06-03 16:25:32 +02:00
Daniel Imms
2aff2eb710
Merge branch 'master' into more_naming_conventions
2018-06-03 07:23:14 -07:00
Daniel Imms
c748b02111
Add rendererType
2018-06-03 16:21:23 +02:00
Daniel Imms
73e35b9293
Merge branch 'master' into all_options
2018-06-03 07:19:51 -07:00
Daniel Imms
1cccec6398
Merge pull request #1432 from Tyriar/1360_dom_renderer
...
Implement a fallback DOM renderer
2018-06-03 07:19:33 -07:00
Daniel Imms
1ca6e51564
Fix lint
2018-06-03 16:06:45 +02:00
Daniel Imms
52be55852e
Merge branch 'master' into 1360_dom_renderer
2018-06-03 06:58:08 -07:00
Daniel Imms
824a03e0af
Merge branch 'master' into 1473_slow_build
2018-06-03 06:43:42 -07:00
Daniel Imms
3c02c9ce66
Merge pull request #1457 from Tyriar/vsts
...
Add VSTS build badge
2018-06-03 06:41:50 -07:00
Daniel Imms
adb0cf41ab
Improve display of options
2018-06-03 15:37:01 +02:00
Daniel Imms
de683b35b2
Merge pull request #1485 from Tyriar/664_fit_readme
...
Add basic fit readme
2018-06-03 06:13:30 -07:00
Daniel Imms
767e3570ac
Merge pull request #1486 from Tyriar/1456_triple_click_wrapped
...
Select entire wrapped line on triple click
2018-06-03 06:10:22 -07:00
Daniel Imms
75a45808c3
Merge branch 'master' into 1456_triple_click_wrapped
2018-06-03 06:04:41 -07:00
Daniel Imms
7ca6873a5e
Merge pull request #1487 from Tyriar/no_implicit_any
...
Enable noImplicitAny compiler option
2018-06-03 06:03:37 -07:00
Daniel Imms
908b06cfa7
Some polish
2018-06-03 11:18:34 +01:00
Daniel Imms
2d786910c8
Correctly set cols/rows
2018-06-03 11:10:11 +01:00
Daniel Imms
5b04451b05
console error on setting ctor only option via setOption
2018-06-03 11:02:39 +01:00
Daniel Imms
4d5e305a25
Generate inputs for all options in demo
2018-06-03 10:37:20 +01:00
Daniel Imms
4dff828374
Add @types/glob
2018-06-03 07:15:45 +01:00
Daniel Imms
fea8ba03b8
Finish removing all implicit anys
2018-06-02 19:02:54 -07:00
Daniel Imms
918ee16f86
Don't set options on terminaol object itself
2018-06-02 18:47:04 -07:00
Daniel Imms
b79ab7212c
Remove a bunch of implicit anys
2018-06-02 18:39:05 -07:00
Daniel Imms
956b773421
Add more tests, fix boundary bug
2018-06-02 18:07:49 -07:00
Daniel Imms
cd3418517e
Select the whole wrapped line when triple clicking
...
Fixes #1456
2018-06-02 17:56:44 -07:00
Daniel Imms
285911cd98
Implement IBuffer.getWrappedRangeForLine
...
Part of #1456
2018-06-02 17:53:35 -07:00
Daniel Imms
5acc45f08b
Add basic fit readme
...
Fixes #664
2018-06-02 12:22:05 -07:00
Jeff Principe
eabb25c796
add ability to register/deregister character joiner
2018-06-02 10:24:52 -07:00
Daniel Imms
c192a27d93
Merge pull request #1483 from AndrienkoAleksandr/littleFix
...
Minor: clean up build logs for source code without tests.
2018-06-01 09:12:05 -07:00
Daniel Imms
d5af79fc5f
Include typings in addons as well
2018-06-01 08:55:22 -07:00
Oleksandr Andriienko
90b9a487cd
Minor: clean up build logs for source code without tests.
...
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com >
2018-06-01 13:41:35 +03:00
Daniel Imms
4617bab3a0
Merge pull request #1477 from lgeiger/let-const
...
Prefer const vs let for variables that are only declared once
2018-05-30 11:31:24 -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
4a4a17966a
Merge pull request #1475 from cathy-zhao/master
...
add a project to real-world uses list
2018-05-29 06:24:24 -07:00
赵雪珂
7db0b181bc
add a project to real-world uses list
2018-05-29 13:03:48 +08:00
Daniel Imms
3ce71b7f8f
Add css copy tasks
2018-05-28 05:49:47 -07:00
Daniel Imms
c2568a6857
Fix Windows build
2018-05-28 05:44:15 -07:00
Daniel Imms
834b266b7f
Move demo build into npm start
2018-05-27 07:59:44 -07:00
Daniel Imms
5d9b761f33
Merge branch 'master' into 1473_slow_build
2018-05-27 07:57:48 -07:00
Daniel Imms
35fc10b0e6
Kill watch/prebuild tasks when one fails
2018-05-27 07:42:34 -07:00
Daniel Imms
ffd7d5513b
Rebuild demo when demo files change
2018-05-27 07:38:04 -07:00
Daniel Imms
656567aed0
Use incremental tsc builds
2018-05-27 07:30:37 -07:00
Daniel Imms
82fdcc0771
Get DomRendererRowFactory test coverage to 100%
2018-05-26 08:43:55 -07:00
Daniel Imms
c2b5a243f2
Refactor and add some tests to dom renderer
2018-05-26 08:15:40 -07:00
Daniel Imms
6e9cd35176
Remove coverage files from git
2018-05-26 07:34:32 -07:00
Daniel Imms
9890a8b20f
Fix valid lib values in tsconfig
...
Mixed case is not valid
2018-05-26 07:32:46 -07:00
Daniel Imms
20975278c5
Merge remote-tracking branch 'ups/master' into 1360_dom_renderer
2018-05-26 07:25:08 -07:00
Daniel Imms
b43ee08dd2
Merge pull request #1469 from tmpfs/safari-create-image-bitmap-patch
...
Suppress Safari promise rejections.
2018-05-23 20:28:06 -07:00
muji
3ae96a2266
Improve isSafari test.
2018-05-24 10:18:43 +08:00
muji
87fee8d024
Suppress Safari promise rejections.
...
Currently Webkit implements createImageBitmap() but returns a promise
rejection.
Note that once Webkit implements createImageBitmap() correctly these
changes should be removed.
2018-05-24 10:11:03 +08:00
Daniel Imms
09e42af730
Merge pull request #1466 from jerch/cleanup_print
...
cleanup and performance optimizations for InputHandler.print
2018-05-22 06:45:11 -07:00
Daniel Imms
44fde26f04
Remove types when they're inferred
2018-05-22 06:44:50 -07:00
Jörg Breitbart
ac9b71549a
add missing type decl
2018-05-21 22:39:00 +02:00
Jörg Breitbart
328086f206
declare types in InputHandler.print
2018-05-21 22:29:05 +02:00
Jörg Breitbart
b3e8197111
changes in InputHandler.print:
...
- call updateRange only at start and end
- make all repeated terminal accesses local
- set full charCode (codepoint) in terminal buffer
2018-05-21 20:58:23 +02:00
Daniel Imms
099c7d8f04
Merge pull request #1399 from jerch/new_parser
...
new parser
2018-05-21 10:48:03 -07:00
Daniel Imms
507c4dc5d2
Use nyc for coverage report
...
Fixes #1464
2018-05-21 10:42:28 -07:00
Daniel Imms
6bc6ea56a5
Merge branch 'master' into new_parser
2018-05-21 10:04:15 -07:00
Jörg Breitbart
e97882e5ad
use string templates in DCS responses
2018-05-21 18:52:27 +02:00
Daniel Imms
85dada2eed
Merge remote-tracking branch 'origin/master' into 1360_dom_renderer
2018-05-21 09:41:21 -07:00
Jörg Breitbart
8386ec1c19
Merge branch 'new_parser' of https://github.com/jerch/xterm.js into new_parser
2018-05-21 18:34:51 +02:00
Jörg Breitbart
ceb1432f75
remove deprecated FIXME
2018-05-21 18:33:59 +02:00
Daniel Imms
8d722d20e2
Merge pull request #1463 from Tyriar/1424_fix_static_cache_ghost
...
Save and restore correctly when drawing from static cache
2018-05-21 09:21:58 -07:00
Daniel Imms
054abd15ea
Save and restore correctly when drawing from static cache
...
Fixes #1424
2018-05-21 09:11:41 -07:00
Daniel Imms
724aa9d6c7
Fix compile and lint
2018-05-21 08:17:07 -07:00
Daniel Imms
ab5fc98627
Merge branch 'master' into more_naming_conventions
2018-05-21 08:06:52 -07:00
Daniel Imms
0dfc9b2118
Merge branch 'master' into vsts
2018-05-21 07:54:50 -07:00
Daniel Imms
8bbc1fa287
Merge branch 'master' into script_improvements
2018-05-21 07:54:07 -07:00
Daniel Imms
c1f8225c4f
Merge branch 'master' into new_parser
2018-05-21 07:30:35 -07:00
Paris Kasidiaris
0ad1080133
Bump version to 3.4.0
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2018-05-19 08:31:27 +00:00
Daniel Imms
1736c1e12d
Prevent outside line-height styles from affecting cursor
...
See Microsoft/vscode#50125
2018-05-18 12:17:39 -07:00
Benjamin Woodruff
4717619f76
Merge pull request #1327 from bgw/dynamic-char-atlas
...
Modularize the character atlas system, add a LRU-cache based dynamic character atlas
2018-05-17 22:59:03 -07:00
Benjamin Woodruff
7f761b5b9e
Merge branch 'master' into dynamic-char-atlas
...
I did a bunch of testing of various ansi escape codes (including
italics) with all three char atlas implementations (none, static,
dynamic), with and without `drawBoldTextInBrightColors`, and with and
without `enableBold` to test all of the edge cases that I could.
2018-05-17 22:42:52 -07:00
Daniel Imms
c00a3726f3
Merge branch 'master' into vsts
2018-05-16 13:46:06 -07:00
Daniel Imms
5ef399df6f
Add VSTS build badge
2018-05-16 13:44:46 -07:00
Daniel Imms
f8e9d02566
Merge branch 'master' into more_naming_conventions
2018-05-16 09:45:42 -07:00
Daniel Imms
d8afdb1b6b
Merge branch 'master' into new_parser
2018-05-15 13:21:33 -07:00
Daniel Imms
2b4c5adb3c
Set font family and size
2018-05-15 11:29:51 -07:00
Daniel Imms
7334e6ab19
Merge pull request #1452 from Tyriar/coveralls
...
Update coveralls
2018-05-15 11:03:22 -07:00
Daniel Imms
137b499538
Merge pull request #1450 from Tyriar/tagline
...
Update tagline
2018-05-15 11:03:08 -07:00
Daniel Imms
6024e7c5fe
Size row container so scroll bar shows
2018-05-15 10:52:01 -07:00
Daniel Imms
aa1e1c5d94
Scope styles per terminal
2018-05-15 10:18:43 -07:00
Daniel Imms
f055e0ef03
Throw exception for unrecognized renderer type
2018-05-15 10:10:34 -07:00
Daniel Imms
2f618b37c1
Merge branch 'master' into 1360_dom_renderer
2018-05-15 10:08:09 -07:00
Daniel Imms
3acd1eaecc
Update coveralls
...
This broke after we moved the organization
Fixes #1451
2018-05-14 11:48:13 -07:00
Daniel Imms
435cf91ec7
Merge pull request #1433 from Tyriar/fix_lint
...
Run tslint on all of src/ (for good this time)
2018-05-14 11:33:30 -07:00
Daniel Imms
6e451f58b8
Update tagline
2018-05-14 11:13:01 -07:00
Daniel Imms
7a9f291df9
Merge pull request #1446 from Tyriar/1437_fix_link_pointer
...
Fix link cursor CSS
2018-05-12 07:45:20 -07:00
Daniel Imms
9dfce63e55
Simplify cursor styles
2018-05-12 07:44:30 -07:00
Daniel Imms
139a246436
Merge pull request #1401 from npezza93/alt-click-map-bug
...
Handle if getCoords returns null in the AltClickHandler
2018-05-11 15:56:14 -07:00
Daniel Imms
343cc2b7b2
Merge branch 'master' into alt-click-map-bug
2018-05-11 15:50:40 -07:00
Daniel Imms
0375e0064b
Fix link cursor CSS
...
Ensure pointer overrides the default mouse events mode cursor.
Fixes #1437
2018-05-11 10:03:43 -07:00
Daniel Imms
57e35f836e
Merge pull request #1438 from diag/master
...
Add diag.ai to list of real-world uses
2018-05-11 09:16:30 -07:00
Daniel Imms
685757b04b
Merge pull request #1417 from pro-src/packaging
...
Stop publishing test files to npm - closes #1361
2018-05-11 07:51:46 -07:00
Daniel Imms
210a312fbf
Remove ignore key from package.json
2018-05-11 07:49:37 -07:00
Daniel Imms
c366ee20b8
Merge branch 'master' into packaging
2018-05-11 07:48:34 -07:00
Daniel Imms
b9baacac3a
Merge pull request #1444 from pengx17/patch-1
...
Update how to use addons with Typescript
2018-05-11 07:20:17 -07:00
Peng Xiao
45fea0e790
Merge branch 'master' into patch-1
2018-05-11 21:57:40 +08:00
Benjamin Woodruff
cded6f80f6
Merge pull request #1445 from pro-src/master
...
Fix tsc
2018-05-10 23:57:24 -07:00
pro-src
9c1bee300d
Fix tsc
2018-05-11 01:51:49 -05:00
Peng Xiao
ef4cda2cc6
revise importing addons in ts
2018-05-11 11:20:02 +08:00
Peng Xiao
d315dd6684
Merge branch 'master' into patch-1
2018-05-11 11:12:02 +08:00
Benjamin Woodruff
8a5891ede2
Merge pull request #1442 from bgw/dim-save-restore
...
Save and restore the ctx for cached characters
2018-05-10 09:38:46 -07:00
Peng Xiao
bce81f304e
Update how to use addons with Typescript
2018-05-10 16:11:25 +08:00
Benjamin Woodruff
3971fc9b4e
Save and restore the ctx for cached characters
...
Drawing dim colors sets the globalAlpha to 0.5, so we need to
save/restore the ctx state. Otherwise, every time we draw some dim
content, our display will get progressively dimmer.
I tested this by running `echo '\u001b[2mfoo'` a few times in zsh.
Fixes #1424
2018-05-09 20:34:55 -07:00
npezza93
4edbd507e5
Check if endCol and endRow are present before handling an alt click
2018-05-09 19:35:02 -04:00
npezza93
b162582e66
Handle if getCoords returns null in the AltClickHandler
...
Fixes #1397
2018-05-09 19:31:19 -04:00
Benjamin Woodruff
be32695e16
Merge pull request #1391 from LinusU/bright-vs-bold
...
Separate bright and bold
2018-05-08 18:43:41 -07:00
Benjamin Woodruff
9893338020
Add drawBoldTextInBrightColors to DEFAULT_OPTIONS
...
This lets term.setOption() work for drawBoldTextInBrightColors.
2018-05-08 18:34:23 -07:00
Ledion Bitincka
cfdec9ff90
add diag.ai
2018-05-08 16:27:54 -07:00
Jörg Breitbart
02893dcbb8
fix some docs
2018-05-07 23:28:40 +02:00
Linus Unnebäck
ce6139e604
Add drawBoldTextInBrightColors option
2018-05-07 22:23:04 +02:00
Linus Unnebäck
a23354f018
Fully use char atlas for bright & bold colors
2018-05-07 22:23:01 +02:00
Linus Unnebäck
41fd563144
Separate bright and bold
2018-05-07 22:19:01 +02:00
Jörg Breitbart
a37449a8cd
some docs cleanup
2018-05-06 23:33:52 +02:00
Jörg Breitbart
551ccc0f2f
explicit arguments for fallback handlers
2018-05-06 23:02:54 +02:00
Jörg Breitbart
108aa5ab31
test Uint8Array and Array; fix Uint8Array type
2018-05-06 22:42:07 +02:00
Daniel Imms
362d7698f7
Some polish
2018-05-05 08:12:52 -07:00
Daniel Imms
edb06c6b2a
Add copyright header
2018-05-05 07:54:38 -07:00
Jörg Breitbart
6cefb4c634
more test cases
2018-05-05 16:26:07 +02:00
Daniel Imms
cd3eea5b48
Improve typings
2018-05-04 11:34:24 -07:00
Daniel Imms
5b5eb48867
Polish
2018-05-04 10:55:41 -07:00
Daniel Imms
09624c18e0
Move standard width to style element
2018-05-04 10:43:54 -07:00
Daniel Imms
9bcecd4e2e
Run tslint on all of source (for good this time)
2018-05-04 10:20:09 -07:00
Daniel Imms
52e71a2530
Support italic
2018-05-04 10:13:21 -07:00
Daniel Imms
6cadd7c4a8
Fill in documentation on new option
2018-05-04 10:02:01 -07:00
Daniel Imms
b14308f2c4
Resolve a bunch of TODOs
2018-05-04 09:38:24 -07:00
Daniel Imms
2c3949375e
Update after a options change
2018-05-04 08:37:41 -07:00
Daniel Imms
e3e4dcb5d1
Support selection
2018-05-04 08:32:03 -07:00
Daniel Imms
e9f4d39f2b
Start on selection
2018-05-04 06:27:40 -07:00
Daniel Imms
d777513b87
Handle focus, emit refresh
2018-05-03 11:58:46 -07:00
Daniel Imms
1d2f356cfd
Add a bunch of constants
2018-05-03 11:44:46 -07:00
Daniel Imms
418f2c6cdf
Fix row height, add cursor
2018-05-03 11:35:04 -07:00
Daniel Imms
3cab8bede1
Merge branch 'oncharsizechanged' into 1360_dom_renderer
2018-05-02 15:05:42 -07:00
Daniel Imms
58ce5e2110
Only update dimensions when char size changes
2018-05-02 15:05:37 -07:00
Daniel Imms
20ff107768
Call IRenderer.onCharSizeChanged at right time
...
Even though Renderer just defers this to onResize, future IRenderer
implementations may take advantage of onCharSizeChanged specifically.
2018-05-02 15:00:42 -07:00
Daniel Imms
16393b228d
Initial DOM renderer implementation
2018-05-02 13:32:22 -07:00
Jörg Breitbart
0f8d22547e
fix identation
2018-05-02 01:23:46 +02:00
Jörg Breitbart
c069e94a4c
Merge branch 'master' into new_parser
2018-05-02 00:42:23 +02:00
Jörg Breitbart
a1a4cac113
dcs handler implementations
2018-05-02 00:22:35 +02:00
Jörg Breitbart
25ff77af03
fix transition definitions
2018-05-01 22:22:40 +02:00
Jörg Breitbart
536b3a8def
fix member scope and tests
2018-05-01 22:17:26 +02:00
Jörg Breitbart
d090cbe4b9
some docs
2018-05-01 21:54:15 +02:00
Jörg Breitbart
9a32852e61
single arg for DCS and ESC handler registration
2018-05-01 21:07:13 +02:00
Daniel Imms
e48b15e859
Merge pull request #1422 from flybayer/italic
...
Add support for italic rendering
2018-05-01 11:56:21 -07:00
Jörg Breitbart
89cf45c514
save func pointer in local var
2018-05-01 20:51:36 +02:00
Daniel Imms
a732952677
Rearrange italic/bold to get _ctx.font validating
2018-05-01 11:50:06 -07:00
Jörg Breitbart
0c200f2feb
remove collect from args where not needed
2018-05-01 20:41:41 +02:00
Jörg Breitbart
728eeebcc7
set member through ctor argument
2018-05-01 20:33:48 +02:00
Daniel Imms
b60ab119b2
Merge branch 'master' into italic
2018-05-01 11:30:03 -07:00
Jörg Breitbart
c7fdff2f40
several changes:
...
- missing escape sequence related methods in InputHandler implemented
- created namespace for C1 control codes
2018-05-01 17:50:41 +02:00
Jörg Breitbart
2eeb7b8ea5
ESC and OSC method entries for InputHandler
2018-05-01 16:36:12 +02:00
Jörg Breitbart
0535f5d1b3
unified method signature in InputHandler, moved some CSI condition into methods (FIXME: needs intermediate handler)
2018-05-01 14:58:16 +02: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
af392a6305
cleanup, some docs, temp fix for InputHandler tests
2018-04-30 23:35:54 +02:00
Jörg Breitbart
ba6fcddc43
real merge of InputHandler and ParserTerminal
2018-04-30 17:04:29 +02:00
Jörg Breitbart
dbc6b12ec2
missing whitespace
2018-04-30 15:44:21 +02:00
Jörg Breitbart
645cd2eb2c
fix test cases
2018-04-30 15:38:17 +02:00
Jörg Breitbart
b158176862
local .buffer in parse
2018-04-30 14:25:29 +02:00
Jörg Breitbart
a1035269d5
add array fallback for TransitionTable
2018-04-30 11:27:10 +02:00
Jörg Breitbart
f5375c3a99
fix error in esc handler call
2018-04-30 02:06:57 +02:00
Jörg Breitbart
a55a7f3695
some cleanup
2018-04-30 01:49:29 +02:00
Jörg Breitbart
826cca7088
fix import issue
2018-04-30 01:32:49 +02:00
Jörg Breitbart
0f3d82a2a5
faster print action
2018-04-29 23:48:30 +02:00
Jörg Breitbart
dc14f5226d
fix InputHandler
2018-04-29 19:34:43 +02:00
Jörg Breitbart
27a3347c3f
Merge branch 'master' into new_parser
2018-04-29 19:30:35 +02:00
Jörg Breitbart
2d77fcf2fb
merge ParserTerminal with InputHandler
...
- quick'n dirty merge of classes - ParserTerminal is subclass of InputHandler
- basic fallback handlers implemented
- test regressions due to multiple changes in EscapeSequenceParser
- runtime down to 2.3s
- TODO: fix tests, implement DCS functions, full merge of classes
2018-04-29 19:10:47 +02:00
Jörg Breitbart
9d2bbd199c
remove term from EscapeSequenceParser
2018-04-29 17:23:38 +02:00
Jörg Breitbart
b72cdadd11
move switches to jump tables
2018-04-29 15:48:19 +02:00
Benjamin Woodruff
381d3e1444
Merge pull request #1413 from bgw/batch-background
...
Batch background draws together to reduce draws
2018-04-27 20:53:32 -07:00
Benjamin Woodruff
b97eaf2c52
Merge branch 'master' into batch-background
2018-04-27 20:49:03 -07:00
Benjamin Woodruff
513847fd80
Make BaseRenderLayer's _alpha private again
...
This was accidentally left over from some earlier changes I was playing
with.
2018-04-27 20:47:55 -07:00
Daniel Imms
7b2500bfd6
Merge pull request #1420 from pro-src/patch-1
...
Update README.md
2018-04-27 09:44:47 -07:00
pro-src
882d5a86d3
Update README.md - prefer hex escapes over octal
2018-04-27 02:19:48 -05:00
Brandon Bayer
235982362c
Add support for italic rendering
2018-04-26 17:34:01 -04:00
Daniel Imms
aaaec75d73
Add remaining naming conventions into tslint
2018-04-26 13:54:20 -07:00
pro-src
30b88113a8
explicitly exclude demo
2018-04-26 12:09:21 -05:00
pro-src
994895af6d
Update README.md
...
Replace the deprecated octal escapes with Unicode escapes.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Deprecated_octal
2018-04-26 11:53:20 -05:00
pro-src
a61ba2e140
closes #1361
2018-04-26 09:18:18 -05:00
Benjamin Woodruff
a5a03c40f2
Batch background draws together to reduce draws
...
Adjacent cells on the same row sharing the same background color will be
drawn using the same `fillCells` call. This should make drawing an
application with a solid or mostly solid background color (e.g. vim)
faster.
I set vim to draw the background color for a file, and started scrolling
through it. Before, _drawBackground was taking around 6ms per frame.
After this commit, it was taking around 0.5ms per frame.
Based on prior experience, I'd expect these results to be more drastic
for larger terminal windows. The demo's window is pretty small.
2018-04-24 23:52:13 -07:00
Daniel Imms
83fe87d012
Merge pull request #1407 from Tyriar/enum_names
...
Enforce upper case for public const/enum members and const
2018-04-24 11:00:58 -07:00
Daniel Imms
3713d282d8
Fix conflicts
2018-04-24 10:55:53 -07:00
Daniel Imms
8aa65d06f5
Merge pull request #1404 from Tyriar/no_else_return
...
Add no else return tslint rule
2018-04-24 10:50:27 -07:00
Daniel Imms
fd97fead60
Merge branch 'master' into no_else_return
2018-04-24 10:44:54 -07:00
Jörg Breitbart
9eb107a6e9
first handler API changes
2018-04-24 18:53:19 +02:00
Jörg Breitbart
c0ab2b9a7c
rename enums
2018-04-24 13:06:03 +02:00
Jörg Breitbart
a058395014
move addChar to ParserTerminal
2018-04-24 12:27:43 +02:00
Benjamin Woodruff
453da35f51
Merge branch 'master' into dynamic-char-atlas
2018-04-23 22:43:43 -07:00
Benjamin Woodruff
d254d69ee2
Fix fontWeight options with DynamicCharAtlas
...
The atlas wasn't using these values when setting the font.
2018-04-23 22:15:45 -07:00
Benjamin Woodruff
ff19ba8e33
Merge pull request #1393 from bgw/text-render-layer
...
Separate foreground & background rendering passes
2018-04-23 21:48:09 -07:00
Daniel Imms
fcde7be62a
Enforce const enums
...
Fixes #1408
2018-04-23 17:35:41 -07:00
Daniel Imms
45b4429712
Merge branch 'master' into enum_names
2018-04-23 17:18:40 -07:00
Daniel Imms
9942dc384d
Enforce upper case for public const/enum members
...
Fixes #1406
2018-04-23 17:17:21 -07:00
Jörg Breitbart
55993ada9b
merge with remote
2018-04-24 00:35:55 +02:00
Jörg Breitbart
c8910cc5fe
utilize more typescript features
2018-04-24 00:23:46 +02:00
Jörg Breitbart
f9767073ba
new parser
2018-04-24 00:21:27 +02:00
Daniel Imms
56f9d423fe
Merge branch 'master' into text-render-layer
2018-04-23 14:15:45 -07:00
Daniel Imms
716a8d5926
Merge pull request #1403 from jerch/performance_optimizations
...
performance optimizations
2018-04-23 13:49:03 -07:00
Jörg Breitbart
9593cb0cc8
readonly lines; fix for MockBuffer
2018-04-23 22:40:24 +02:00
Jörg Breitbart
7ed7505ce4
change _lines to lines in Buffer
2018-04-23 22:18:05 +02:00
Jörg Breitbart
6ff4ae7194
revert to local const buffer
2018-04-23 22:06:24 +02:00
Daniel Imms
9e863d0377
Add no else return tslint rule
2018-04-23 11:52:42 -07:00
Jörg Breitbart
13d4ab6f8d
remove remnant
2018-04-23 18:32:32 +02:00
Jörg Breitbart
0d7ecd9129
prefetch row in addChar
2018-04-23 18:26:06 +02:00
Jörg Breitbart
dd096c2e8b
const buffer
2018-04-23 17:19:42 +02:00
Jörg Breitbart
0decd77253
map Buffer.lines directly to Buffer._lines
2018-04-23 16:59:55 +02:00
Jörg Breitbart
2bfe74490a
make .buffer local where appropriate
2018-04-23 16:29:19 +02:00
Jörg Breitbart
20760d09e4
utilize more typescript features
2018-04-22 04:34:42 +02:00
Jörg Breitbart
73f40ef7d2
merge with master
2018-04-21 16:04:17 +02:00
Jörg Breitbart
9b085d2bdd
new parser
2018-04-21 16:02:46 +02:00
Jörg Breitbart
fb7e5d590c
new parser
2018-04-21 05:12:24 +02:00
Benjamin Woodruff
0fe59df2e9
Rename startRow/endRow in TextRenderLayer
...
Renaming these to firstRow/lastRow makes the inclusivity of the range
clearer.
Addresses this comment:
https://github.com/xtermjs/xterm.js/pull/1393#discussion_r182471582
2018-04-18 20:22:55 -07:00
Daniel Imms
a3ce881897
Merge pull request #1372 from Tyriar/1341_memory_leak
...
Remove terminal references on dispose
2018-04-18 08:10:20 -07:00
Daniel Imms
58c50f08db
Break when the terminal reference is removed
2018-04-18 08:10:05 -07:00
Daniel Imms
984e027c87
Merge branch 'master' into 1341_memory_leak
2018-04-18 08:02:55 -07:00
Benjamin Woodruff
b853aa4929
Separate foreground & background rendering passes
...
I'm primarily interested in doing this because it'll allow me to
optimize the background rendering in later diffs, but this may also make
it possible to fix some minor rendering issues.
Right now, if we draw a single-width character that overflows its cell's
bounds, and the character to the right of it has a background, that
background may cover up the first character's foreground. By drawing the
background in a separate pass, we can avoid those cases.
There's still some issues with how dirty regions are computed that makes
rendering stuff like that flaky, but this at least gets us closer to
"correct" rendering.
Other terminal emulators (e.g. alacritty) render the foreground and
background in separate passes:
https://github.com/jwilm/alacritty/blob/1b7ffea/src/renderer/mod.rs#L766
2018-04-17 21:44:17 -07:00
Benjamin Woodruff
4fd630ec5c
Add code to IGlyphIdentifer, use it
...
It turns out that `glyph.char.charCodeAt(0)` isn't equivalent to the
character's actual code because of utf-16 garbage, so this adds
`glyph.code` to the `glyph` object so that we can use the `code` value,
and don't need to regenerate it.
2018-04-16 09:49:32 -07:00
Benjamin Woodruff
ec96c40fde
Re-add colors.ansi slicing in generateConfig
...
- We need to make a clone of this array, because ColorManager mutates
it.
- We only want to compare the first 16 colors instead of all 256, since
only the first 16 will ever change. In DynamicCharAtlas, we can pull
the additional colors from DEFAULT_ANSI_COLORS.
I tested this out by loading the demo and changing the theme a few
times.
2018-04-16 09:41:00 -07:00
Daniel Imms
cf8fa10205
Merge pull request #1299 from jonaustin/patch-1
...
Add Hyper to list of apps
2018-04-16 09:40:07 -07:00
Daniel Imms
d8d9d904b5
Merge branch 'master' into patch-1
2018-04-16 09:39:02 -07:00
Benjamin Woodruff
4a13813941
Rename DRAW_TO_CACHE_LIMIT to FRAME_CACHE_DRAW_LIMIT
2018-04-16 08:56:54 -07:00
Daniel Imms
cd7911a3d4
Merge pull request #1390 from Tyriar/third_party_addons
...
Add xterm-webfont addon to readme
2018-04-16 06:55:35 -07:00
Daniel Imms
3625a2278d
Merge pull request #1365 from Tyriar/1364_addon_lint
...
Lint addon files
2018-04-16 06:46:42 -07:00
Daniel Imms
7d108999ff
Fix lint
2018-04-16 06:42:16 -07:00
Daniel Imms
e3dc36c123
Add xterm-webfont addon to readme
2018-04-16 06:28:45 -07:00
Daniel Imms
11541be4ae
Merge branch 'master' into 1364_addon_lint
2018-04-16 06:25:48 -07:00
Daniel Imms
ceffb35445
Merge pull request #1369 from Tyriar/897_dead_options
...
Remove unused options
2018-04-16 06:25:18 -07:00
Daniel Imms
e1957ae6aa
Merge remote-tracking branch 'origin/master' into 1364_addon_lint
2018-04-16 06:24:37 -07:00
Benjamin Woodruff
5a05db727c
Add a per-frame limit on dynamic atlas writes
...
This limits the amount of damage a pathological program can cause in
thrashing the LRU cache.
I ran the script described here:
https://github.com/xtermjs/xterm.js/pull/1327#issuecomment-374003960
Without this patch, the entire output would get drawn in one frame that
took about 140 ms to draw. With this patch, it takes about 60 ms. It's
still nowhere as good as the static or none atlas implementations, but
it's not terrible, like it was.
This should have minimal impact on real-world applications: it'll just
take a little longer for the atlas to warm up.
The implementation is a little hacky, since it involves throwing some
code into TextRenderLayer that violates the separation of concerns, but
we can clean this up later.
2018-04-15 20:02:39 -07:00
Benjamin Woodruff
1f692ed047
Use a single tmpCtx, avoid parsing color values
...
Pros:
- The code is simpler.
- AA rendering is consistent between cached and uncached characters.
- No long requires parsing color values to determine the alpha, which
means that we no longer depend on #rrggbbaa color value support.
Cons:
- We're drawing without SPAA in some cases where we could be.
Addresses this comment:
https://github.com/xtermjs/xterm.js/pull/1327#discussion_r176109332
2018-04-15 19:59:36 -07:00
Benjamin Woodruff
c3eea02855
Add a LRUMap test, fix a bug in LRUMap
...
Bug: When appending a node, we weren't setting the tail's `next` value
correctly.
2018-04-15 19:48:37 -07:00
Benjamin Woodruff
c6d66d7b0d
Fix subpixel antialising in DynamicCharAtlas
...
Drawing to a ctx with `{alpha: true}` causes the canvas API (on chrome
at least) to switch to grayscale AA, instead of RGB subpixel AA.
This fixes it by drawing to a ctx that's using `{alpha: false}` when
posisble, and switching to a ctx that's using `{alpha: true}` only when
we have to.
2018-04-15 19:48:37 -07:00
Benjamin Woodruff
9c0ce1d742
Fix DynamicCharAtlas with transparency
...
There were two bugs:
- We need to clear the background of _tmpCtx instead of just drawing on
top if the background color is transparent.
- We should set the background to fully transparent if it's partially
transparent, to avoid drawing the transparent background twice.
2018-04-15 19:43:23 -07:00
Benjamin Woodruff
ac7db87fd0
Remove use of Promises in {Base,Static}CharAtlas
...
Nothing actually cares about the return value, so we can avoid depending
on `Promise` by not returning a promise.
This should make this work for IE11 (though I haven't tested that).
I tried this in Chrome and Firefox to test both codepaths (ImageBitmap
and HTMLCanvasElement).
2018-04-15 18:52:06 -07:00
Benjamin Woodruff
8b3b7535c6
Add a new LRUMap class, remove uses of Map
...
LRUMap implements the parts of an ordered map that we need to
efficiently implement DynamicCharAtlas. It's more code, but there's a
few advantages of this approach:
- Map isn't available on some older browsers, so this removes the need
for a polyfill.
- Moving an item to the end of the map's iteration order now only
requires unlinking and linking a linked-list node, whereas before we
had to delete and re-insert our value.
- Peeking at the oldest entry in the map no longer requires allocating
and destroying an iterator.
- We can preallocate the linked-list nodes we want to improve cache
locality. Similarly, we can recycle linked-list nodes to reduce
allocations and the GC pauses those allocations may cause.
- LRUMap seems to give slightly better results in Chrome's profiler than
Map did. We now spend about 5% of our time on map operations instead
of about 10%.
- In my (limited) testing, it doesn't look like LRUMap is slowing down
over time. Map appeared to get slightly slower the longer I ran the
terminal for, either due to memory fragmentation or some sort of leak.
I still need to write some tests for LRUMap, but I've been using this
implementation for the last hour without problems.
2018-04-15 18:52:06 -07:00
Benjamin Woodruff
c8b500c182
Skip drawing whitespace from DynamicCharAtlas
...
When we remove the background from a glyph, we can keep track of if we
made all the pixels fully transparent. If we did, we can just skip
future calls to _drawFromCache, since it would be a noop anyways.
2018-04-15 18:52:06 -07:00
Benjamin Woodruff
24feaabd9a
Add a basic dynamic character atlas implementation
...
This adds a very minimal implementation of DynamicCharAtlas using a LRU
cache.
I've got some optimizations that I'll add on top of this, but this
proves the concept.
2018-04-15 18:49:07 -07:00
Benjamin Woodruff
8c980bc30d
Add a dummy NoneCharAtlas implementation
...
This adds the logic needed to switch between multiple char atlas
implementations, and an example second implementation to test it out
with.
This also offers an escape hatch if something goes wrong with the char
atlas implementation(s).
2018-04-15 18:03:55 -07:00
Benjamin Woodruff
6f21385cd8
Add BaseCharAtlas and implement StaticCharAtlas
...
The API defined by BaseCharAtlas will let us support multiple char atlas
implementations at once.
I tested this by running the demo with Chrome's profiler, which shows
that calls are going to StaticCharAtlas/drawImage instead of
_drawUncachedChar. Applications using 256 colors also still work fine,
via _drawUncachedChar.
2018-04-15 18:03:55 -07:00
Daniel Imms
83f9d59d91
Merge pull request #1384 from Tyriar/1383_setoption_exception
...
Guard usages of DOM attached vars in setOption
2018-04-15 13:30:33 -07:00
Daniel Imms
3010760352
Remove vscode settings
...
No longer required as all the folders are in gitignore
2018-04-13 11:37:52 -07:00
Daniel Imms
82c16dee73
Rename coverage to test-coverage and document
2018-04-13 10:53:45 -07:00
Daniel Imms
7e8dd9647f
Add testing section to README
2018-04-13 10:49:02 -07:00
Daniel Imms
b594641b26
Run coverage on travis ci
2018-04-13 10:41:27 -07:00
Daniel Imms
5df9808d4c
Remove launch.json in favor of auto attach debugging
2018-04-13 10:41:12 -07:00
Daniel Imms
2cee66909b
Merge pull request #1374 from Tyriar/1353_run_lint_with_tests
...
Run lint with tests
2018-04-13 06:20:11 -07:00
Daniel Imms
da8151b1b5
Merge pull request #1375 from Tyriar/remove-package-lock
...
Remove package-lock.json
2018-04-12 10:03:44 -07:00
Daniel Imms
a3cb34fbf1
Merge pull request #1385 from johnpoth/headless-mode
...
Check if charMeasure is defined in headless mode
2018-04-12 07:29:48 -07:00
jpoth
9a1162d7f2
Check if charMeasure is defined in headless mode
2018-04-12 15:43:09 +02:00
Daniel Imms
591b09a62b
Merge pull request #1377 from Tyriar/remove_jsdoc
...
Remove docdash
2018-04-11 09:39:12 -07:00
Daniel Imms
f6f3e78e2c
Merge pull request #1376 from Tyriar/1324_move_zmodem_demo
...
Move zmodem demo to demo/
2018-04-11 09:38:56 -07:00
Paris Kasidiaris
048b10ebf6
Bump version to 3.3.0
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2018-04-11 16:19:48 +00:00
Daniel Imms
c882dcc353
Merge pull request #1381 from Tyriar/1379_viewport_throw
...
Fix exception when reset is called before open
2018-04-11 07:20:48 -07:00
Daniel Imms
82897ed56c
Guard usages of DOM attached vars in setOption
...
Fixes #1383
2018-04-10 19:54:49 -07:00
Daniel Imms
cd06786d16
Fix exception when reset is called before open
...
Fixes #1379
2018-04-09 06:13:32 -07:00
Daniel Imms
74d91a6bdd
Remove docdash
2018-04-07 11:42:36 -07:00
Daniel Imms
4a1ebbfb56
Add .npmrc
2018-04-07 11:40:54 -07:00
Felipe Gasper
86c9b3f92c
Fix zmodem demo.
2018-04-05 07:03:09 -07:00
Daniel Imms
4fbd1adaa9
Move zmodem demo to demo/
...
Fixes #1324
2018-04-04 14:31:25 -07:00
Daniel Imms
004ea61b83
Remove package-lock.json
...
We don't have any dependencies so this isn't as important to us, it's also ugly
to keep seeing these in PRs.
2018-04-04 14:11:46 -07:00
Daniel Imms
9be57f72f0
Run lint with tests
...
Fixes #1353
2018-04-04 14:10:03 -07:00
Daniel Imms
e5ee76ded4
Remove terminal references on dispose
...
Part of #1341
Fixes #1370
2018-04-04 11:51:50 -07:00
Daniel Imms
87f21f14a1
Remove unused options
...
Fixes #897
2018-04-04 11:20:25 -07:00
Daniel Imms
ef16811268
Merge branch 'master' into 1364_addon_lint
2018-04-04 11:11:05 -07:00
Daniel Imms
989f5873f5
Merge pull request #1366 from Tyriar/1363_fix_demo
...
Prevent falsy write values
2018-04-02 08:23:53 -07:00
Daniel Imms
307744be66
Prevent falsy write values
...
Fixes #1363
2018-04-02 08:22:22 -07:00
Daniel Imms
768539a57c
Fix lint errors in attach
2018-04-02 08:17:44 -07:00
Daniel Imms
22c4197a1d
Lint addons
2018-04-02 08:16:39 -07:00
Daniel Imms
d4b75e4909
Merge pull request #1346 from bgw/color-parsing
...
Allow theming with arbitrary CSS color strings
2018-03-30 07:57:19 -07:00
Daniel Imms
4b5de031ea
Merge branch 'master' into color-parsing
2018-03-30 07:50:39 -07:00
Benjamin Woodruff
b66b0aae18
Block transparent colors without allowTransparency
...
Fixes xterm/xterm.js#1357 .
2018-03-29 22:04:24 -07:00
Paris Kasidiaris
36a1c5b922
Merge pull request #1355 from AlexandrePetit-Pas/patch-5
...
Handle blob in attach Addon
2018-03-28 11:09:29 +03:00
Paris Kasidiaris
63f711e634
Fix styling and make string messages to work again
2018-03-28 10:57:21 +03:00
Alexandre Petit-Pas
516903e29e
Handle blob in attach Addon
...
I have added blob handler for the attach Addon.
This allows to handle Docker with ws (works on Docker API v1.35)
I have also added a callback to handle asynchronous FileReader.
2018-03-28 07:37:02 +00:00
Paris Kasidiaris
5cf9423699
Merge pull request #1356 from xtermjs/fix-linter
...
Make linter blissful again
2018-03-28 10:31:29 +03:00
Paris Kasidiaris
dbb2320e83
Fix linting errors
2018-03-28 10:22:42 +03:00
Benjamin Woodruff
0cb6138cd0
Allow theming with arbitrary CSS color strings
...
This mostly worked before, but clearColor made the assumption that the
colors were always in #RRBBGG format. See the discussion here:
https://github.com/xtermjs/xterm.js/pull/1327#issuecomment-374812842
This changes the internal representation of a color so that we hold onto
into an object containing the original css string along with an RGBA
value encoded as a 32-bit uint. clearColor can then use that RGBA
representation.
Additionally, this deduplicates some code between ColorManager and
Terminal. Terminal was generating the 256 ansi colors the same way
ColorManager was, so this just makes Terminal use the same constant.
2018-03-26 09:47:25 -07:00
Daniel Imms
bf21097430
Merge pull request #1326 from LucianBuzzo/1322-options-clone
...
Do not mutate options object used in constructor
2018-03-24 14:07:59 -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
6e1e63e666
Merge pull request #1350 from FGasper/issue_1330_rtl_layout
...
Force LTR for the terminal element
2018-03-23 16:19:02 -07:00
Daniel Imms
b27d5bb08d
Use single quote to make tslint happy
2018-03-23 16:18:41 -07:00
Felipe Gasper
e63831febc
Force LTR for the terminal element
...
Issue #1330 : This prevents RTL layouts from mishandlin the
intended layout of the terminal container and children.
2018-03-23 19:16:02 -04:00
Daniel Imms
4ab79c908a
Merge pull request #1329 from Tyriar/1319_bang_operator
...
Use bang operator for array methods
2018-03-21 07:34:18 -07:00
Daniel Imms
b85083c3e8
Merge pull request #1303 from Tyriar/24_multi_line_links
...
Get multi-line links working
2018-03-21 07:33:43 -07:00
Daniel Imms
97f592ce8b
Merge remote-tracking branch 'origin/master' into 24_multi_line_links
2018-03-21 07:32:32 -07:00
Daniel Imms
70da707569
Merge pull request #1338 from Tyriar/1325_marker_api
...
Implement Markers API
2018-03-20 19:14:10 -07:00
Daniel Imms
63f24be2b9
Merge branch 'master' into 1325_marker_api
2018-03-20 19:02:52 -07:00
Daniel Imms
0d6be9e03e
Merge pull request #1344 from Tyriar/trailing_comma
...
Disallow trailing commas
2018-03-20 19:01:04 -07:00
Daniel Imms
3cbb21a966
Merge pull request #1340 from Tyriar/unused_func
...
Remove unused function
2018-03-20 19:00:35 -07:00
Daniel Imms
1fd7348938
Merge branch 'master' into unused_func
2018-03-20 19:00:24 -07:00
Daniel Imms
ae32893732
Disallow trailing commas
2018-03-20 09:10:48 -07:00
Daniel Imms
4f82cf26f0
Merge pull request #1336 from mareklibra/removeStyle
...
Replace inline-styles by external CSS
2018-03-20 09:07:06 -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
0eeec13653
Clean up
2018-03-19 11:01:26 -07:00
Daniel Imms
5d1f744282
Remove unused function
2018-03-19 08:20:28 -07:00
Daniel Imms
387d5b056d
Add Terminal.scrollToLine tests
2018-03-17 11:46:37 -07:00
Daniel Imms
cbf7419601
Flag markers and addMarker as experimental
2018-03-16 17:24:04 -07:00
Daniel Imms
5c1a4a7d01
Add tests for Buffer.addMarker
2018-03-16 17:23:17 -07:00
Daniel Imms
cbc6d7ce32
Add selectLines test
2018-03-16 15:56:48 -07:00
Daniel Imms
b80832ac4c
Initial marker API implementation
...
Part of #1325
2018-03-16 12:53:55 -07:00
Daniel Imms
3716aad202
Backtrack row to be linkified if the first row is wrapped
2018-03-16 07:21:14 -07:00
Daniel Imms
efbd542964
Merge branch 'master' into 24_multi_line_links
2018-03-16 07:14:20 -07:00
Daniel Imms
888070830d
Merge pull request #1332 from xtermjs/Tyriar-patch-1
...
Add note about third party dependencies
2018-03-13 12:44:51 -07:00
Daniel Imms
9905e2aa1d
Add note about third party dependencies
...
Fixes #1328
2018-03-13 11:19:51 -07:00
Daniel Imms
a59af6606b
Use bang operator for array methods
...
Part of #1319
2018-03-12 14:14:37 -07:00
Daniel Imms
d1213e5656
Merge pull request #1320 from Tyriar/1319/AccessibilityManager
...
Fix strictNullChecks errors in AccessibilityManager
2018-03-12 08:51:32 -07:00
Daniel Imms
0e14798d69
Merge pull request #1321 from felixse/patch-1
...
Add Fluent Terminal to the list of real-world uses
2018-03-11 13:44:16 -07:00
Daniel Imms
c8ab687fa0
Add tests
2018-03-11 12:34:27 -07:00
Daniel Imms
e5f5c2baf2
Fix links that start on wrapped lines
2018-03-10 16:08:50 -08:00
Felix
2f861602c8
Add Fluent Terminal to the list of real-world uses
2018-03-10 23:27:59 +01:00
Daniel Imms
4f0cc01485
Fix strictNullChecks errors in AccessibilityManager
...
Part of #1319
2018-03-09 11:27:10 -08:00
Daniel Imms
dd41ab38bb
Fix imports after noUnusedLocals was merged in
2018-03-09 10:58:57 -08:00
Daniel Imms
255cb5de3a
Merge branch 'master' into 24_multi_line_links
2018-03-09 10:57:04 -08:00
Daniel Imms
b44a11c42e
Remove TODOs, polish
2018-03-09 10:56:54 -08:00
Daniel Imms
90b2f0e6a1
Merge pull request #1316 from Tyriar/noUnusedLocals
...
Add noUnusedLocals tsconfig flag, fix issues
2018-03-09 08:43:40 -08:00
Daniel Imms
811aa9c413
Merge remote-tracking branch 'origin/master' into noUnusedLocals
2018-03-09 08:43:21 -08:00
Daniel Imms
842c7132ec
Merge pull request #1318 from Tyriar/remove_unused_css
...
Remove unused CSS rule
2018-03-09 08:41:41 -08:00
Daniel Imms
efb67edc36
Remove unused CSS rule
...
With #1316 , this will resolve Microsoft/vscode#45145
2018-03-09 07:11:53 -08:00
Daniel Imms
ed7741e006
Merge pull request #1317 from bgw/rm-char-atlas-request
...
Merge ICharAtlasRequest with ICharAtlasConfig
2018-03-09 06:11:05 -08:00
Benjamin Woodruff
cfe936a0b4
Merge ICharAtlasRequest with ICharAtlasConfig
...
ICharAtlasRequest and ICharAtlasConfig need almost exactly the same set
of information, so it's simpler if we just merge the two types.
As an added bonus, this also adds devicePixelRatio to the config, which
helps guarantee that we won't ever accidentally end up with an atlas
using a different pixel ratio than we need.
2018-03-08 23:23:33 -08:00
Daniel Imms
4ddf91dbbe
Fix tests
2018-03-08 11:20:42 -08:00
Daniel Imms
59be054ca1
Fix exception for links on bottom line
2018-03-08 11:12:59 -08:00
Daniel Imms
b794dc017d
Fix test
2018-03-08 11:08:51 -08: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
ab9b84898e
Merge remote-tracking branch 'origin/master' into 24_multi_line_links
2018-03-08 10:23:05 -08:00
Daniel Imms
a41e183b88
Merge pull request #1310 from Tyriar/426_alt_scroll
...
Send arrow events on mouse wheel in alt buffer
2018-03-08 09:53:36 -08:00
Daniel Imms
949239dbdc
Merge remote-tracking branch 'origin/master' into 426_alt_scroll
2018-03-08 09:28:02 -08:00
Daniel Imms
421ccc5695
Join lines that wrap over more than 2 lines
2018-03-08 09:25:08 -08:00
Daniel Imms
5d68ed6e5e
Merge pull request #1315 from Tyriar/underscore_private
...
Rename all remaining private variables to use underscores
2018-03-08 09:01:33 -08:00
Daniel Imms
021f8c1ba0
Draw and clear link cells
2018-03-08 07:00:37 -08:00
Daniel Imms
f456b14b3f
Get multi-line link hover working
2018-03-08 06:42:40 -08:00
Daniel Imms
7a1ef19146
Merge remote-tracking branch 'origin/master' into 24_multi_line_links
2018-03-08 06:23:29 -08:00
Daniel Imms
b9cbdf6a0d
Fix tests
2018-03-08 06:19:17 -08:00
Daniel Imms
7639131c12
Ensure underscore is used for private vars
...
Variables changed based on regex: "private [^(_|get)]"
2018-03-08 06:09:46 -08:00
Daniel Imms
289b4eeb23
Merge branch 'master' into 426_alt_scroll
2018-03-08 05:37:16 -08:00
Daniel Imms
404a285eaf
Merge pull request #1307 from bgw/split-char-atlas-files
...
Split CharAtlas types and utility functions off
2018-03-08 05:16:44 -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
ff9814a40d
Merge pull request #1293 from nikonso/allow-named-theme-colors-1195
...
Validate colors
2018-03-08 05:02:50 -08:00
Daniel Imms
855964fbe1
Merge pull request #1296 from olsonpm/fix-paste-newline
...
Paste newlines as \r
2018-03-08 05:02:31 -08:00
Paris Kasidiaris
606c68dd0c
Bump version to 3.2.0
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2018-03-08 08:59:46 +00:00
Benjamin Woodruff
735dfb4710
Add copyright header to shared/atlas/Types.ts
2018-03-07 23:19:38 -08:00
Benjamin Woodruff
ab69bfbb32
Move rest of atlas implementations to atlas dirs
...
Moves CharAtlas into src/renderer/atlas/ and CharAtlasGenerator into
src/shared/atlas/.
2018-03-07 22:23:19 -08:00
Benjamin Woodruff
70771430b5
Clean up char atlas constant imports/exports
...
- Ensures that everything is only defined in one place, and everything
imports from that place.
- Moves CHAR_ATLAS_CELL_SPACING into a subdirectory of shared/ so that
CharAtlasGenerator can pull from it.
This addresses the comments on
https://github.com/xtermjs/xterm.js/pull/1307/files/454fd4bfb1ab5c9ece
2018-03-07 22:13:41 -08:00
Paris Kasidiaris
6741e92cc6
Merge pull request #1313 from xtermjs/docker-image
...
Add xterm.js Docker image to documentation
2018-03-07 23:00:04 +02:00
Paris Kasidiaris
31ce5c1826
Run the webpack build in the docker image too
2018-03-07 12:38:29 +02:00
Paris Kasidiaris
1f113b1d29
Add xterm.js Docker image to documentation
...
Closes #1295
2018-03-07 12:28:44 +02:00
Bruno Ribeiro
41f6ee4f6d
Merge branch 'master' into allow-named-theme-colors-1195
2018-03-06 20:15:32 +00:00
Daniel Imms
6e546c0f30
Merge pull request #1298 from Tyriar/1297_webLinks_addon
...
Pull web link support into an addon
2018-03-06 09:29:33 -08:00
Daniel Imms
7cae8e51ca
Merge pull request #1290 from Tyriar/1287_double_click_exception
...
Check for valid coords before getting word at coords
2018-03-06 09:28:55 -08:00
Daniel Imms
bf4dd7de60
Merge branch 'master' into 1287_double_click_exception
2018-03-06 09:28:47 -08:00
Thomas Zilz
ff6ef1b63a
Initialise _wheelPartialScroll to 0 to prevent NaN
2018-03-06 11:39:14 +01:00
Bruno Ribeiro
34034b849f
Merge branch 'master' into allow-named-theme-colors-1195
2018-03-05 23:22:12 +00:00
Daniel Imms
f2d8709dd8
Merge pull request #1309 from Tyriar/1305_alt_horizontal_only
...
Only move horizontally on alt click in normal buffer
2018-03-05 14:25:45 -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
be7788dda6
Merge remote-tracking branch 'origin/master' into 426_alt_scroll
2018-03-05 11:48:40 -08:00
Daniel Imms
7c471f5389
Fix test compile
2018-03-05 11:32:05 -08:00
Daniel Imms
9e62c8692f
Only move horizontally on alt click in normal buffer
...
Fixes #1305
2018-03-05 11:11:54 -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
Benjamin Woodruff
454fd4bfb1
Split CharAtlas types and utility functions off
...
I'm starting to pull some changes off of my large WIP branch/commit that
adds an alternative dynamic character atlas. We're going to need to
support multiple CharAtlas implementations, and this should make that
easier.
2018-03-04 18:50:46 -08:00
Daniel Imms
131e6ff949
Merge pull request #1302 from nikonso/Enforce-option-value-via-types
...
Enforce option value via types
2018-02-28 07:47:25 -08:00
Bruno Ribeito
c51fa238ff
Readd any overloads
2018-02-27 23:18:33 +00:00
Daniel Imms
2e3f9e7094
Multi-line links prototype
...
Part of #24
2018-02-27 08:37:16 -08:00
Bruno Ribeito
76a3dbf883
Enforce option value via types
2018-02-26 23:27:53 +00:00
Jon Austin
07cf029497
Merge branch 'master' into patch-1
2018-02-24 13:12:30 -08:00
Daniel Imms
c8017345f1
Merge pull request #1288 from dgriffen/dev/dgriffen/fix-scrollbar
...
fix terminal width calculation
2018-02-24 11:56:35 -08:00
Daniel Imms
0d2cc7489e
Fix tests, add webLinks addon test
2018-02-24 10:36:34 -08:00
Jon Austin
f3a37a9522
Add Hyper to list of apps
...
https://github.com/zeit/hyper/blob/82c7afbeecf5a0c455075868cd23585fce95cf68/package.json#L197
2018-02-24 10:14:51 -08:00
Daniel Imms
6a71717751
Allow customization of the web links handler and options
2018-02-23 11:28:14 -08:00
Daniel Imms
dc822787d0
Move http links to the new webLinks addon
...
Fixes #1297
2018-02-23 11:11:23 -08:00
Daniel Imms
5011e629b1
Build addons by scanning addon dir
2018-02-23 11:08:11 -08:00
Philip Olson
bc35f28f51
Paste newlines as \r
...
Fix issue where non-windows OS terminals don't paste newlines correctly
into misbehaving programs. As noted in JetBrains/jediterm#136 , the
most practical solution is for terminals to handle this in their paste
logic. In a perfect world, all terminal programs would implement
bracketed paste mode properly, but that's a lot to ask.
- translate newlines to \r which is what terminal programs expect
2018-02-22 23:52:45 -06:00
Bruno Ribeiro
97feb64e94
Merge branch 'master' into allow-named-theme-colors-1195
2018-02-21 23:51:36 +00:00
Daniel Imms
94bbc4e09d
Merge pull request #1200 from nikonso/1181
...
WIP: Use web audio api
2018-02-21 15:36:19 -08:00
Daniel Imms
ad7d2262ec
Undo package-lock changes
2018-02-21 15:35:53 -08:00
Bruno Ribeito
1114977a21
Fix tests
2018-02-21 23:35:37 +00:00
Bruno Ribeiro
a8c5b159a9
Merge branch 'master' into allow-named-theme-colors-1195
2018-02-21 23:17:00 +00:00
Daniel Imms
a91e0e234a
Use const everywhere
2018-02-21 14:44:48 -08:00
Daniel Imms
af5b3f704e
Fix lint
2018-02-21 14:42:04 -08:00
Daniel Imms
45c9763092
Fix indentation
2018-02-21 14:40:22 -08:00
Daniel Imms
db8ba17147
Check audio context ctor before constructing
2018-02-21 14:39:43 -08:00
Daniel Imms
1972bf4bb3
Merge remote-tracking branch 'ups/master' into 1181
2018-02-21 14:36:11 -08:00
Daniel Imms
62cf0936dc
Merge pull request #1231 from saamalik/ctrl-alt-sequences
...
Additional alt and control sequences
2018-02-21 14:08:31 -08:00
Bruno Ribeito
a9d6686e14
Regex is not needed for color validation
2018-02-20 20:38:12 +00:00
Bruno Ribeito
99aa142cef
Fix test -> wrong Regex flag
2018-02-19 23:55:25 +00:00
Bruno Ribeito
f8f1355155
Validate colors
2018-02-19 22:54:09 +00:00
Daniel Imms
ae28814041
Check for valid coords before getting word at coords
...
Fixes #1287
2018-02-16 21:34:57 -08:00
Daniel Griffen
183fd2fe79
fix terminal width calculation
2018-02-16 10:18:03 -08:00
Saad Malik
8324462b32
Merge branch 'master' into ctrl-alt-sequences
2018-02-15 09:49:16 -08:00
Daniel Imms
93e5996422
Merge pull request #1182 from Tyriar/731_screen_reader
...
Screen reader support
2018-02-15 06:20:14 -08:00
Daniel Imms
f089b997c0
Merge branch 'master' into 731_screen_reader
2018-02-14 09:03:31 -08:00
Saad Malik
51d2064061
Merge branch 'master' into ctrl-alt-sequences
2018-02-13 14:59:46 -08:00
Daniel Imms
712b91a971
Merge pull request #1282 from matthew-matvei/add-freeman
...
Added FreeMAN to list of real-world uses
2018-02-13 06:37:55 -08:00
Daniel Imms
cbe6c64a92
Merge pull request #1280 from AndrienkoAleksandr/fixHeadlessMode
...
Fix xterm.js in headless mode yields TypeError on resize
2018-02-12 12:42:14 -08:00
Matthew James
64ed8309a1
Added FreeMAN to list of real-world uses
2018-02-12 20:26:09 +00:00
Oleksandr Andriienko
b5ba9ae771
Fix xterm.js in headless mode yields TypeError on resize
...
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com >
2018-02-12 12:30:26 +02:00
Saad Malik
18f6556061
Merge branch 'master' into ctrl-alt-sequences
2018-02-09 14:00:24 -08:00
Paris Kasidiaris
1dbe7b3a8c
Bump version to 3.1.0
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2018-02-09 08:42:39 +00:00
Saad Malik
6dc49b7d01
Merge branch 'master' into ctrl-alt-sequences
2018-02-08 12:03:38 -08:00
Daniel Imms
987be07a70
Merge pull request #1276 from Tyriar/enableBold_deprecated
...
Mark enableBold setting as deprecated
2018-02-07 07:46:50 -08:00
Daniel Imms
760837e5cb
Mark enableBold setting as deprecated
2018-02-06 07:25:54 -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
1ec7b91a98
Merge pull request #1264 from Tyriar/1021_support_modifiers
...
Allow support of modifiers with links
2018-02-06 02:32:00 -08:00
Daniel Imms
c218eebb24
Merge pull request #1266 from Tyriar/1265_sync_when_attached
...
Ensure viewport is attached before syncing scrollbar
2018-02-06 02:24:59 -08:00
Daniel Imms
8040e3de4a
Merge pull request #1275 from xtermjs/Tyriar-patch-1
...
Update readme copyright statement
2018-02-06 02:23:39 -08:00
Paris Kasidiaris
ff400bfcdc
Merge pull request #1273 from xtermjs/webpack-watch
...
Add `watch` gulp task and npm script
2018-02-06 12:20:36 +02:00
Daniel Imms
35ea593806
Update readme copyright statement
2018-02-06 02:07:56 -08:00
Paris Kasidiaris
f02903a6df
Update README.md and Docker files
2018-02-06 09:22:16 +00:00
Paris Kasidiaris
182426dd0f
Rename gulp task: webpack:watch → watch` and also monitor subdirectories
2018-02-06 10:28:34 +02:00
Paris Kasidiaris
d0f45fee25
Fix #1232 : Add webpack:watch gulp task
2018-02-05 15:49:37 +00:00
Daniel Imms
1462b30c88
Merge pull request #1271 from krasimir/patch-1
...
Update README.md
2018-02-05 07:41:23 -08:00
Krasimir Tsonev
c302bc9f17
Update README.md
...
In `Getting Started` section we read `npm install` only. Shouldn't be `npm install xterm`?
2018-02-05 09:32:34 +02:00
Daniel Imms
01d841fec6
Merge pull request #1246 from Tyriar/1245_revert_page_change
...
Revert "Add support for modifiers for PageUp / PageDown keys."
2018-02-02 09:51:28 -08:00
Daniel Imms
1124f1fc7f
Merge pull request #1114 from nikonso/feature-778
...
Select the word underneath the cursor on contextmenu
2018-02-01 17:35:52 -08:00
Daniel Imms
cab097c09c
Clean up condition for readability
2018-02-01 17:28:08 -08:00
Daniel Imms
43adf0ef70
Merge branch 'master' into feature-778
2018-02-01 17:21:04 -08:00
Daniel Imms
3c6cab1491
Clear selectionEnd when selecting word at cursor
2018-02-01 17:20:33 -08:00
Bruno Ribeito
5550bfd90b
Fix is click in selection
2018-02-01 21:37:06 +00:00
Daniel Imms
04ccb638b4
Fix lint
2018-02-01 11:28:56 -08:00
Daniel Imms
5c05471993
Merge branch 'master' into 1021_support_modifiers
2018-02-01 11:28:05 -08:00
Daniel Imms
1e32d26a85
Merge branch 'master' into 1265_sync_when_attached
2018-02-01 10:28:41 -08:00
Daniel Imms
6105975308
Ensure viewport is attached before syncing scrollbar
...
Fixes #1265
2018-02-01 10:24:17 -08:00
Daniel Imms
cd24f7a26c
Merge pull request #1263 from Tyriar/ts_2.7
...
typescript@2.7
2018-02-01 08:16:42 -08:00
Daniel Imms
2ac5a8da49
Allow support of modifiers with links
...
Fixes #1021
2018-01-31 17:42:33 -08:00
Daniel Imms
e849629533
typescript@2.7
...
Tuples using a fixed length by default will be helpful for CharData
2018-01-31 11:32:19 -08:00
Bruno Ribeito
983af8fac2
Use _selectWordA
2018-01-31 00:01:46 +00:00
Daniel Imms
74a6dfb197
Send arrow events on mouse wheel in alt buffer
...
Fixes #426
2018-01-29 11:28:48 -08:00
Saad Malik
73e0db1912
Merge branch 'master' into ctrl-alt-sequences
2018-01-29 10:21:36 -08:00
Daniel Imms
62d6c242fc
Merge pull request #1249 from Tyriar/1248_tslint_curly
...
Add curly to tslint, fix errors
2018-01-29 07:54:09 -08:00
Daniel Imms
e7b4e002f4
Merge remote-tracking branch 'origin/master' into 1248_tslint_curly
2018-01-29 07:45:31 -08:00
Daniel Imms
d190bc0531
Merge pull request #1250 from xtermjs/Tyriar-patch-1
...
Add SQL Operations Studio to real world uses
2018-01-29 07:44:36 -08:00
Daniel Imms
fb1d902804
Merge pull request #1258 from Tyriar/travis_tsc
...
Run tsc as a travis job
2018-01-29 07:44:26 -08:00
Daniel Imms
12cd6ea0e4
Merge pull request #1260 from Tyriar/typo
...
Fix recent typo in comment
2018-01-29 07:43:56 -08:00
Daniel Imms
69ebb3e53e
Fix recent typo in comment
2018-01-29 07:42:59 -08:00
Paris Kasidiaris
f2fe8ca08b
Merge pull request #896 from npezza93/alt-click
...
Alt+click will move the prompt cursor to that position
2018-01-29 11:58:46 +02:00
Daniel Imms
bbac1801e5
Small clean up
2018-01-28 17:33:51 -08:00
Daniel Imms
a6a4bf0817
Merge remote-tracking branch 'ups/master' into feature-778
2018-01-28 17:25:46 -08:00
Saad Malik
9ade1f0a5d
Add mapping for backward slash
...
* Add mapping for backward slash
* Fix mapping for single/double quote
2018-01-28 17:11:13 -08:00
Saad Malik
f8fbdf31fa
Merge branch 'master' into ctrl-alt-sequences
2018-01-28 16:54:55 -08:00
Daniel Imms
e8666cafc9
Small clean up
2018-01-28 14:44:33 -08:00
Daniel Imms
db95442af6
Merge pull request #1236 from chabou/pr/1148
...
Add allowTransparency option
2018-01-28 14:19:20 -08:00
Daniel Imms
fc2af1d806
Fix lint, reduce duplication, don't scale ctx
...
Scaling ctx was breaking the scale when setOption was called, not sure
it was doing anything.
2018-01-28 14:13:25 -08:00
Daniel Imms
106704b5d8
Merge remote-tracking branch 'ups/master' into pr/1148
2018-01-28 13:39:07 -08:00
Daniel Imms
a0f390ef54
Expose strings through the API
2018-01-28 13:10:11 -08:00
Daniel Imms
af375eadb4
Run tsc as a travis job
...
This will hard fail when there are semantic errors. Currently building does
not do this and we will merge these in as a result.
2018-01-28 12:27:01 -08:00
Daniel Imms
098a3d0804
Merge pull request #1253 from sitzmar/right_click_timeout
...
adjust timeout to ensure right-click event has fired
2018-01-28 10:35:44 -08:00
npezza93
3bdc069f19
Set copyright header to 2018
2018-01-28 13:16:20 -05:00
npezza93
3313716c87
Add new lines back in types
2018-01-28 13:15:42 -05:00
npezza93
735ffdd2ce
Merge remote-tracking branch 'upstream/master' into alt-click
2018-01-28 13:13:37 -05:00
Daniel Imms
8588199fdb
Merge pull request #1256 from Tyriar/1255_id_class
...
Change render layer id to a class
2018-01-28 10:13:13 -08:00
npezza93
f726c1fd0d
Allow selection and alt click to live conflict free
2018-01-28 13:06:54 -05:00
npezza93
e60704255f
Fix lints
2018-01-28 13:00:11 -05:00
npezza93
aeae40e110
Use the terminal and circular list interface
2018-01-28 12:38:20 -05:00
npezza93
08af2ebeea
Utilize enum to simplify sequence generation
2018-01-28 12:29:52 -05:00
npezza93
0202659c38
Set terminal and mouseevent inside constructor args
2018-01-28 10:48:08 -05:00
npezza93
edadb6e0f1
Update the copyright header
2018-01-28 10:44:01 -05:00
Daniel Imms
39abf8aecf
Change render layer id to a class
...
It's only used to identify them in DOM explorer currently
Fixes #1255
2018-01-27 22:26:00 -08:00
Daniel Imms
65b6901170
Fix compile error
2018-01-27 21:51:13 -08:00
npezza93
14725d0b0d
Merge remote-tracking branch 'upstream/master' into alt-click
2018-01-27 22:38:12 -05:00
npezza93
c41a4b5168
Move repeat import
2018-01-27 22:37:57 -05:00
npezza93
d61aa6e470
Fix lints
2018-01-27 22:37:31 -05:00
npezza93
544fa67851
Move repeat out of generic
2018-01-27 22:36:53 -05:00
npezza93
6a48022a45
Don't reset starting position if the row is not moved.
...
Mainly due to the normal buffer
2018-01-27 22:28:41 -05:00
npezza93
a4ee723665
Fix backward row/col definition
2018-01-27 22:06:58 -05:00
npezza93
dc59f33ccf
Fix translateBufferToString bug
2018-01-27 22:06:31 -05:00
Daniel Imms
ec156f62e1
Only update a11y manager dimensions after a renderer resize
2018-01-27 18:38:28 -08:00
npezza93
833d814499
Refactor alt-click to work independently of which buffer is being used
2018-01-27 21:30:53 -05:00
npezza93
327b16ac2e
Add repeat polyfill for repeating a string
2018-01-27 21:30:24 -05:00
Daniel Imms
a3958a1cba
Merge branch 'master' into 731_screen_reader
2018-01-27 18:15:31 -08:00
Daniel Imms
7c8b64aaf1
Revert "Hook up scroll APIs to scroll and focus when navigating"
...
This reverts commit b13826441c .
2018-01-27 18:14:58 -08:00
Daniel Imms
b13826441c
Hook up scroll APIs to scroll and focus when navigating
2018-01-27 18:14:52 -08:00
Daniel Imms
0bdf1e8265
Remove unused function
2018-01-27 17:51:43 -08:00
Daniel Imms
5506af5322
Clean up a11y manager
2018-01-27 16:47:23 -08:00
Daniel Imms
6439aca1d8
Refresh dimensions of only a single row
2018-01-27 15:00:19 -08:00
Daniel Imms
65850c1c20
Reduce duplication
2018-01-27 14:53:46 -08:00
Daniel Imms
963db4d2fd
Remove navigation mode/more rows element
2018-01-27 14:48:45 -08:00
Daniel Imms
5c061195c0
Get navigation right/down working with nav mode
2018-01-27 14:45:22 -08:00
Saad Malik
0104e4214e
Reimplement using map
...
* Reimplemented reg + shift alt digits and characters using a map
* Add test cases for digits
2018-01-26 18:33:37 -08:00
Saad Malik
baaf61b3a3
Merge branch 'master' into ctrl-alt-sequences
2018-01-26 13:38:48 -08:00
Daniel Imms
9feb10efc5
Merge pull request #1244 from Tyriar/remove_legacy_gitignore
...
Remove legacy .gitignore rules
2018-01-26 10:34:43 -08:00
Daniel Imms
58f3793cd4
Merge branch 'master' into remove_legacy_gitignore
2018-01-26 10:27:44 -08:00
Daniel Imms
93715c455d
Add dist/ back
2018-01-26 10:26:31 -08:00
Daniel Imms
b9976c3d17
Merge remote-tracking branch 'origin/master' into 731_screen_reader
2018-01-26 10:24:09 -08:00
sitzmar
069b489fb6
adjust timeout to ensure right-click event has fired
2018-01-26 08:04:59 -08:00
CHaBou
fe53e1a091
Change canvas transparency when option is updated
2018-01-25 23:20:20 +01:00
Bruno Ribeito
e6c6e0766a
Fix usage of allowWhitespaceOnlySelection variable
2018-01-25 21:00:10 +00:00
Daniel Imms
2c065b66be
Add SQL Operations Studio to real world uses
2018-01-25 12:31:48 -08:00
Daniel Imms
1dce76dbbb
Add curly to tslint, fix errors
...
Fixes #1248
2018-01-25 12:17:59 -08:00
Daniel Imms
9c62a817d0
Fix build after merge
2018-01-25 12:08:50 -08:00
Daniel Imms
3a3f3db56e
Merge remote-tracking branch 'ups/master' into feature-778
2018-01-25 11:58:46 -08:00
Daniel Imms
bd55ce841e
Merge branch 'master' into 1245_revert_page_change
2018-01-25 11:28:29 -08:00
Daniel Imms
6c54c6cded
Merge pull request #1224 from Tyriar/1221_iterminal_typings
...
Move ITerminal and all its dependents into typings/
2018-01-25 11:25:02 -08:00
Daniel Imms
c12394a687
Don't export contains
2018-01-25 11:09:20 -08:00
Daniel Imms
2e23dd34e0
Move xterm-internal types back into Types.ts files
2018-01-25 11:06:52 -08:00
Daniel Imms
8225b94d34
Types.d.ts -> .ts
2018-01-25 10:24:17 -08:00
Daniel Imms
4db4fcb40a
Remove declaration file generation, we have explicit types
2018-01-25 10:23:14 -08:00
Daniel Imms
177edfa66e
Merge interfaces and types files
2018-01-25 10:03:28 -08:00
Daniel Imms
d454a50a84
Move FontWeight type to xterm.d.ts
2018-01-25 09:48:12 -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
4c6f18c36f
Revert "Add support for modifiers for PageUp / PageDown keys."
...
This reverts commit 83921c0b26 .
Fixes #1245
2018-01-25 09:20:19 -08:00
Daniel Imms
70747e84a1
Merge remote-tracking branch 'ups/master' into pr/1148
2018-01-25 08:15:42 -08:00
Daniel Imms
8f1a629b48
Merge pull request #1198 from Tyriar/955_worker_refactor
...
Refactor char atlas to enable generation with worker
2018-01-25 07:22:15 -08:00
Daniel Imms
b87fe53b94
Remove legacy .gitignore rules
2018-01-25 07:20:41 -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
92e85e0ce5
Merge pull request #1228 from Tyriar/missing_typings
...
Add missing macOptionIsMeta typings
2018-01-25 07:00:08 -08:00
Daniel Imms
038260b92a
Merge pull request #1235 from Tyriar/1151_clamp_saved_cursor
...
Resize saved cursor position on buffer resize
2018-01-25 06:55:02 -08:00
Daniel Imms
d17c08a32f
Merge pull request #1238 from Tyriar/1117_reenable_enableBold
...
Add enableBold back, add fontWeight types to xterm.d.ts
2018-01-25 06:54:45 -08:00
Daniel Imms
c1f18c33cc
Merge pull request #1192 from Tyriar/master_version
...
Set version to 3.1.0-master
2018-01-25 06:54:25 -08:00
Daniel Imms
1cceda6052
Change navigation mode to work using focus instead of activedescendant
2018-01-24 16:34:39 -08:00
Daniel Imms
3e734fab79
Support i18n
2018-01-24 11:15:56 -08:00
Daniel Imms
c41b35ae9c
Add message about entering navigation mode
2018-01-24 11:04:41 -08:00
Saad Malik
e478918ea7
Merge branch 'master' into ctrl-alt-sequences
2018-01-24 09:00:26 -08:00
Daniel Imms
3798b28aa2
Merge pull request #1211 from Tyriar/1103_search_wide_emoji
...
Fix search addon for lines with emojis and wide chars
2018-01-24 07:52:29 -08:00
Daniel Imms
e539a59e26
Merge branch 'master' into 1103_search_wide_emoji
2018-01-24 07:33:08 -08:00
npezza93
027bc9535e
Pass false for isSelection so the right half of the cell wont select the next element
2018-01-23 20:57:31 -05:00
npezza93
8d41c4c603
Fix lints
2018-01-23 20:12:39 -05:00
npezza93
7e0a484000
Handle going back and up in the alt buffer from a long line to a short line
2018-01-23 20:12:39 -05:00
npezza93
14498104fc
Alt+click will move the prompt cursor to that position
...
Fixes #890
2018-01-23 20:12:39 -05:00
Saad Malik
e1c99b28f0
Merge branch 'master' into ctrl-alt-sequences
2018-01-23 11:16:47 -08:00
Daniel Imms
45c6008b27
Rotate terminal rows after removing focus
2018-01-23 11:11:29 -08:00
Daniel Imms
a74f7ba196
Merge branch 'master' into 1151_clamp_saved_cursor
2018-01-23 10:48:54 -08:00
Daniel Imms
fba4f5f261
Ensure active item is removed before scroll
2018-01-23 10:39:21 -08:00
Daniel Imms
bce0cce74d
Ensure a11y tree is located above the prompt
2018-01-23 09:50:47 -08:00
Daniel Imms
c2d78e57d0
Fix screenReadeMode disable in demo
2018-01-23 09:49:43 -08:00
Daniel Imms
46f35064e3
Merge pull request #1227 from Tyriar/typo_intefaces
...
Fix Intefaces typo
2018-01-23 09:07:05 -08:00
Daniel Imms
8f263fb987
Merge branch 'master' into typo_intefaces
2018-01-23 09:06:47 -08:00
Daniel Imms
f56f4520d0
Merge branch 'master' into 1103_search_wide_emoji
2018-01-23 09:06:06 -08:00
Daniel Imms
a13562bf45
Remove relative font weight as valid values
2018-01-23 08:58:33 -08:00
Daniel Imms
067acd8803
Merge branch 'master' into pr/1148
2018-01-23 08:33:55 -08:00
Daniel Imms
df02dacdc4
Add enableBold back
...
Part of #1117
2018-01-23 08:28:01 -08:00
Daniel Imms
4e6b089216
Merge pull request #1119 from nikonso/1117
...
Support setting font weight
2018-01-23 08:11:27 -08:00
Daniel Imms
01c95168f2
Make font weight types in ITerminalOption more strict
2018-01-23 08:02:48 -08:00
Daniel Imms
f3ecbea3e8
Fix tests
2018-01-23 07:55:18 -08:00
Daniel Imms
11aa193074
Merge branch 'master' into 1117
2018-01-23 07:51:25 -08:00
Daniel Imms
2ebc5d904d
Resize saved cursor position on buffer resize
...
Saved cursor coordinates were not being resized as well which could
lead to crashes when resizing down while the alt buffer is active.
Fixes #1151
2018-01-23 06:51:22 -08:00
Saad Malik
bb8e06592c
Merge branch 'master' into ctrl-alt-sequences
2018-01-22 12:53:45 -08:00
Daniel Imms
d85d353772
Merge pull request #1234 from Tyriar/1233_link_activation
...
Use explicit null check to ensure start/end row is valid
2018-01-22 12:53:00 -08:00
Daniel Imms
a9d3e61794
Fix tests
2018-01-22 12:43:42 -08:00
Daniel Imms
16abf71b78
Use explicit null check to ensure start/end row is valid
...
It looks like this could have caused the inconsistent behavior with
links not activating and then working again after scrolling
Fixes #1233
2018-01-22 11:51:09 -08:00
Daniel Imms
421a885acd
Merge remote-tracking branch 'origin/master' into 731_screen_reader
2018-01-22 06:32:38 -08:00
Saad Malik
d62e4e25b7
Cleaup whitespace
2018-01-21 16:56:58 -08:00
Saad Malik
ec9f2702eb
Additional alt and control sequences
...
* Add punctuation alt sequences
* Add support for ctrl+alt sequences
2018-01-21 16:40:38 -08:00
Daniel Imms
f554f53bda
Merge pull request #1229 from ColdGrub1384/patch-1
...
Include Pisth in applications
2018-01-21 10:22:42 -08:00
Daniel Imms
49565c2fcf
Merge branch 'master' into patch-1
2018-01-21 10:22:19 -08:00
Daniel Imms
a338def801
Merge pull request #1230 from jkuri/abstruse-readme
...
Add AbstruseCI as real-world example
2018-01-21 10:16:16 -08:00
Jan Kuri
a9a1d37a1e
Add AbstruseCI as real-world example
2018-01-21 18:49:10 +01:00
Adrian Labbé
e55a234b53
Include Pisth in applications
2018-01-20 16:07:31 -03:00
Daniel Imms
4e20b48aa0
Add missing macOptionIsMeta typings
...
Follow up from #1225
2018-01-20 11:06:53 -08:00
Daniel Imms
616958e2c6
Merge pull request #1225 from saamalik/altIsMeta
...
Mac OSX: altIsMeta support
2018-01-20 10:15:03 -08:00
Daniel Imms
e4726192f1
Various fixes
...
- altIsMeta -> macOptionIsMeta
- Moved isThirdLevelShift into Terminal class
- Moved option check into isThirdLevelShift so it doesn't affect the Windows
case and also includes the keypress case
- Add public API and typings test
- Add option checkbox to demo
2018-01-20 09:06:05 -08:00
Daniel Imms
4f59363331
Fix Intefaces typo
2018-01-20 08:22:12 -08:00
Saad Malik
73686e66c6
Remove package-lock changes
2018-01-19 16:51:57 -08:00
Daniel Imms
b97cedcf5b
Merge remote-tracking branch 'origin/master' into 731_screen_reader
2018-01-19 14:01:37 -08:00
Saad Malik
d981a9fe6c
Merge branch 'master' into altIsMeta
2018-01-19 12:49:07 -08:00
Daniel Imms
903ec3c910
Merge pull request #1206 from amejia1/master
...
Fix issue with resizing terminal.
2018-01-19 12:40:18 -08:00
Daniel Imms
eb6ff003da
Merge branch 'master' into master
2018-01-19 12:34:43 -08:00
Daniel Imms
6e3cd2cb23
Fix indentation
2018-01-19 12:34:32 -08:00
Saad Malik
ec8593fe46
Merge branch 'master' into altIsMeta
2018-01-19 12:32:06 -08:00
Saad Malik
891fbd6b80
Mac OSX: altIsMeta support
...
* Support for altIsMeta option
* Instead of providing third-level shift characters
* Sample demo application using new altIsMeta option
2018-01-19 12:10:39 -08:00
Daniel Imms
39fcbe61c0
Improve announcement on focus
2018-01-19 10:52:03 -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
78a63d4860
Simplify interfaces, reduce duplication
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
d33c340de5
Merge pull request #1222 from Tyriar/1220_addon_types
...
Use Terminal types from xterm.d.ts in Addons
2018-01-19 09:34:44 -08:00
Daniel Imms
57a9948e8d
Use Terminal typings in remaining addons
...
Fixes #1220
2018-01-19 09:30:24 -08:00
Daniel Imms
ec17fb9179
Use Terminal type in attach, fit and fullscreen
2018-01-19 09:30:24 -08:00
Daniel Imms
682eb2f861
Use Terminal public API type in search addon
...
Part of #1220
2018-01-19 09:30:24 -08:00
Daniel Imms
a9f69965fe
Merge pull request #1223 from zhaojh329/master
...
Add rtty to the real-world uses section of README
2018-01-18 21:40:55 -08:00
Jianhui Zhao
1f79860aaf
Add rtty to the real-world uses section of README
...
A reverse proxy WebTTY. It is composed of the client and the server.
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com >
2018-01-19 10:57:51 +08:00
Andres Mejia
5133f25fb7
Fix issue with resetting terminal.
...
Ensure new BufferSet is used and clear selection manager on reset.
2018-01-18 17:48:29 -05:00
Daniel Imms
cfd00529eb
Various fixes
...
- Add buffers being retained on full reset (CIS)
- Remove setup event, simplify
- Only have one trim listener active at once
- Disallow activate events if nothing changed (just in case)
2018-01-18 17:48:29 -05:00
Andres Mejia
a9b7ef5dc3
Clear selection manager when the terminal switches its buffer set or buffer.
2018-01-18 17:48:29 -05:00
Andres Mejia
90c8c85c09
Fix issue with resizing terminal.
...
Need to ensure the active buffer is always being used.
Fixes https://github.com/xtermjs/xterm.js/issues/824 .
2018-01-18 17:48:28 -05:00
Bruno Ribeiro
9f8098c55b
Merge branch 'master' into feature-778
2018-01-18 21:10:50 +00:00
Bruno Ribeiro
b8f2832ed4
Merge branch 'master' into 1117
2018-01-18 21:10:09 +00:00
Daniel Imms
2f5029205d
Merge pull request #1214 from Tyriar/fix_lint
...
Fix lint, update tslint and add more tslint rules
2018-01-18 12:28:02 -08:00
Daniel Imms
0645fe582f
Fix missing space
2018-01-18 12:27:07 -08:00
Daniel Imms
9c4ef2fd86
Merge remote-tracking branch 'origin/master' into fix_lint
2018-01-18 12:11:21 -08:00
Daniel Imms
8d5ed6fc75
Merge pull request #1197 from blink1073/fix-typings
...
Ship the declaration files
2018-01-18 12:03:33 -08:00
Daniel Imms
1b48f2cd6d
Merge branch 'master' into fix-typings
2018-01-18 11:56:10 -08:00
Daniel Imms
15dd1e6bec
Merge pull request #1217 from Tyriar/1216_invalidate_cursor
...
Fix cursor lagging behind when blink is on
2018-01-18 10:54:26 -08:00
Daniel Imms
b4b4456225
Merge branch 'master' into 1216_invalidate_cursor
2018-01-18 10:54:18 -08:00
Daniel Imms
b89f9666e6
Merge pull request #1218 from Tyriar/travis_osx
...
Remove OSX from travis
2018-01-18 10:54:02 -08:00
Daniel Imms
2253e666e7
Remove OSX from travis
...
Builds take too long on free tier
2018-01-18 09:39:32 -08:00
Daniel Imms
777603b5cd
Merge branch 'master' into 1216_invalidate_cursor
2018-01-18 09:01:27 -08:00
Daniel Imms
0379ef7bc7
Merge pull request #1215 from markus-oberhumer/ctrl-pageup-pagedown
...
Add support for modifiers for PageUp / PageDown keys.
2018-01-18 07:58:31 -08:00
Daniel Imms
b1beee3595
Fix cursor lagging behind when blink is on
...
Fixes #1216
2018-01-18 07:54:45 -08:00
Markus F.X.J. Oberhumer
83921c0b26
Add support for modifiers for PageUp / PageDown keys.
...
This allows using Ctrl-PageUp/Down and Alt-PageUp/Down.
2018-01-18 09:23:05 +01:00
Daniel Imms
0f04f9fbb4
Rotate rows to ensure an item will be read in nav mode when scrolling
2018-01-17 14:10:03 -08:00
Daniel Imms
abfa58fca9
Keep track of nav mode focused element
2018-01-17 10:52:12 -08:00
Daniel Imms
4588d15738
Add more tslint rules, fix attach addon
2018-01-17 10:40:42 -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
70236f6818
Fix addon lint
2018-01-17 10:20:04 -08:00
Daniel Imms
78d734117b
Support aria posinset and setsize
2018-01-17 09:56:57 -08:00
Daniel Imms
f48da12c16
Prevent event propagation when handled by nav mode
2018-01-16 11:24:19 -08:00
Daniel Imms
3fa4b4941f
Support nav mode pgup/pgdown/end/home, check boundaries
2018-01-16 11:01:45 -08:00
Daniel Imms
222c42f7ea
Expose screen reader and navigation mode on demo/API
2018-01-16 10:29:40 -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
1e9fb8696a
Merge remote-tracking branch 'origin/master' into 731_screen_reader
2018-01-16 09:56:19 -08:00
Daniel Imms
5888cd7938
Merge pull request #1210 from Tyriar/1194_initial_cursorBlink
...
Ensure renderer uses latest options at open
2018-01-16 09:21:39 -08:00
Daniel Imms
0e870d106f
Fix search for emojis
...
Fixes #1103
2018-01-16 07:26:03 -08:00
Daniel Imms
8d3bdad7e4
Fix search for wide unicode
...
Part of #1103
2018-01-16 07:06:10 -08:00
Daniel Imms
f02ead309b
Merge branch 'master' into 1194_initial_cursorBlink
2018-01-16 06:45:58 -08:00
Daniel Imms
80f13792a3
Ensure renderer uses latest options at open
...
Fixes #1194
2018-01-16 06:34:22 -08:00
Paris Kasidiaris
691f8a7567
Merge pull request #1199 from ficristo/umd-addons
...
Make addons UMD compatible
2018-01-15 22:11:21 +02:00
Daniel Imms
81b4d8fe9c
Dispose of NavigationMode when AccessibilityManager is
2018-01-14 13:42:36 -08:00
Daniel Imms
23bd60a733
Properly dispose of disposables
2018-01-14 13:28:43 -08:00
Daniel Imms
85c02f10bf
Improve dispoable listener functions
2018-01-14 13:18:00 -08:00
Daniel Imms
70489e5035
Move navigation mode stuff into its own class
2018-01-14 12:59:57 -08:00
ficristo
46f684621c
Merge branch 'master' into umd-addons
2018-01-14 20:24:52 +01:00
Daniel Imms
adcbb1ae3f
Merge pull request #1207 from amejia1/new-use-case
...
Add use case for atom-xterm.
2018-01-13 20:55:41 -08:00
Andres Mejia
a7101b5bcb
Add use case for atom-xterm.
2018-01-13 15:34:05 -05:00
Daniel Imms
1e41b11319
Remove logs
2018-01-12 21:15:53 -08:00
Daniel Imms
cc80114748
Merge pull request #1205 from jluk/patch-1
...
Include cloud shell in xterm applications
2018-01-12 17:41:08 -08:00
Justin Luk
5a147f201f
Include cloud shell in xterm applications
2018-01-12 15:13:19 -08:00
Daniel Imms
2a187a26e0
Update a11y rows on scroll
2018-01-11 23:15:02 -08:00
Daniel Imms
2311d7d66b
Add basic navigation mode support for current viewport
2018-01-11 22:56:19 -08:00
Daniel Imms
bbc9a010b9
Listen to dpr change in a11y manager
2018-01-11 09:27:37 -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
ficristo
b7c0ca11fe
Make addons UMD compatible
2018-01-07 09:02:41 +01:00
Daniel Imms
e49d844284
Add note in README about code structure
2018-01-06 13:46:27 -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
Steven Silvester
a36a17928d
Ship the declaration files
2018-01-06 07:18:07 -06:00
Daniel Imms
50ed83ca64
Set version to 3.1.0-master
...
This will make it clear in bug reports etc. when someone is running off
master and not 3.0.
2018-01-05 14:40:41 -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
be18507df6
Merge pull request #1172 from Tyriar/1118_dpi_change
...
Update charatlas when monitor DPI changes
2018-01-05 14:24:12 -08:00
Daniel Imms
f6da87f3b4
Merge remote-tracking branch 'origin/master' into 1118_dpi_change
2018-01-05 14:19:21 -08:00
Daniel Imms
248fbccfd9
Remove console.log
2018-01-05 14:18:16 -08:00
Daniel Imms
eac14a149f
Merge pull request #1144 from Tyriar/880_renderer_pause
...
Use IntersectionObserver to turn off renderer when hidden
2018-01-05 14:16:10 -08:00
Daniel Imms
d90f48b210
Merge branch 'master' into 880_renderer_pause
2018-01-05 14:15:26 -08:00
Daniel Imms
eb1110e3f5
Merge pull request #1191 from astefanutti/kubebox
...
Add Kubebox to real-world uses
2018-01-05 13:35:59 -08:00
Antonin Stefanutti
82e7fe5a1b
Add Kubebox to real-world uses
2018-01-05 22:12:32 +01:00
Daniel Imms
1bf084921e
Merge branch 'master' into 1117
2018-01-05 11:03:50 -08:00
Daniel Imms
25972d1e06
Merge branch 'master' into feature-778
2018-01-05 11:03:33 -08:00
Daniel Imms
b3c8923709
Merge branch 'master' into 1117
2018-01-05 11:03:24 -08:00
Daniel Imms
13d1020308
Merge pull request #1137 from damz/pr/parser-escape-state
...
Fix parser not resetting state for some escape sequences
2018-01-05 11:02:24 -08:00
Daniel Imms
b98f10625f
Merge branch 'master' into pr/parser-escape-state
2018-01-05 11:02:14 -08:00
Daniel Imms
09605dba16
Merge pull request #1142 from Tyriar/1067_fix_cursor_on_right
...
Fix cursor on scroll bar
2018-01-05 11:01:30 -08:00
Daniel Imms
1509f88dbf
Merge branch 'master' into 1067_fix_cursor_on_right
2018-01-05 11:01:21 -08:00
Daniel Imms
884c7c631d
Merge branch 'master' into 880_renderer_pause
2018-01-05 11:01:06 -08:00
Daniel Imms
b66578a4ca
Merge branch 'master' into 880_renderer_pause
2018-01-05 11:00:11 -08:00
Daniel Imms
b0b6c8d878
Merge branch 'master' into transparency
2018-01-05 10:58:59 -08:00
Daniel Imms
9f1f86c316
Merge pull request #1168 from Tyriar/1152_npe_selection_manager_2
...
Prevent dragging from setting selection y over bounds
2018-01-05 10:58:40 -08:00
Daniel Imms
80a1c2bd50
Merge branch 'master' into 1152_npe_selection_manager_2
2018-01-05 10:58:22 -08:00
Daniel Imms
09139cc350
Merge pull request #1177 from electerm/add-electerm-use-case
...
add Real-world use: electerm
2018-01-05 10:56:08 -08:00
Daniel Imms
019eb30b68
Merge pull request #1180 from Tyriar/1179_alt_backspace
...
Allow alt+backspace to delete a word
2018-01-05 10:55:57 -08:00
Daniel Imms
58f80c404f
Merge branch 'master' into add-electerm-use-case
2018-01-05 09:14:37 -08:00
Daniel Imms
22f860536d
Merge branch 'master' into add-electerm-use-case
2018-01-05 09:13:55 -08:00
Daniel Imms
e9ec1bda3d
Merge branch 'master' into 1179_alt_backspace
2018-01-05 09:13:32 -08:00
Daniel Imms
9a743ef301
Merge pull request #1188 from xtermjs/Tyriar-patch-1
...
Remove repo redirect from package.json
2018-01-05 09:12:44 -08:00
Daniel Imms
0de2d3846a
Merge branch 'master' into Tyriar-patch-1
2018-01-05 09:12:30 -08:00
Daniel Imms
a490051dda
Merge pull request #1190 from Tyriar/fix_typings
...
Publish typings dir to npm
2018-01-05 08:38:00 -08:00
Daniel Imms
edc80acd4d
Publish typings dir to npm
2018-01-05 08:32:07 -08:00
Daniel Imms
0dd9b8d025
Remove repo redirect from package.json
2018-01-05 08:20:40 -08:00
Daniel Imms
e20d2caa0e
Use consistent refresh/render method names
2018-01-05 08:19:30 -08:00
Paris Kasidiaris
6b98d0999b
Bump version to 3.0.0
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2018-01-05 16:17:34 +00:00
Daniel Imms
a846e8c08d
Pull render animation frame logic into a helper class
2018-01-05 08:15:21 -08:00
Daniel Imms
c332aeb51f
Remove obsolete code and resolved TODOs
2018-01-05 07:51:22 -08:00
Daniel Imms
bb830eb1ae
Rate limit row refresh, tweak live region
2018-01-05 07:39:45 -08:00
Daniel Imms
57c4571204
Merge pull request #1186 from xtermjs/tyriar/merge_v3_to_master
...
Merge v3 into master
2018-01-05 06:54:10 -08:00
Daniel Imms
6580cdec6b
Merge remote-tracking branch 'origin/master' into tyriar/merge_master_to_v3
...
This pulls in PR #933 which was merged in error to master not v3 and also 2.9.2
release stuff.
2018-01-04 12:36:46 -08:00
Daniel Imms
49b1b381a1
Merge pull request #1183 from xtermjs/Tyriar-patch-1
...
Fix travis badge
2018-01-04 11:45:00 -08:00
Daniel Imms
e8b787d057
Fix travis badge
...
It points at sourcelair/xterm.js and doesn't redirect
2018-01-04 11:43:15 -08:00
Daniel Imms
6d1064fc01
Set height of a11y rows on creation
2018-01-03 10:08:24 -08:00
Daniel Imms
5ca15cfe3b
Fix linefeed event
...
This was causing new lines to join words together
2018-01-03 09:54:06 -08:00
Daniel Imms
17964a517c
Add screenReaderMode to typings
2018-01-03 09:28:24 -08:00
Daniel Imms
8cb7a9dabe
Merge remote-tracking branch 'origin/v3' into 731_screen_reader
2018-01-03 09:09:42 -08:00
Daniel Imms
0819759814
Allow alt+backspace to delete a word
...
Fixes #1179
2018-01-02 10:33:17 -08:00
Daniel Imms
ecc1055c10
Listen to resolution media query
2018-01-02 10:11:24 -08:00
Paris Kasidiaris
490e46ce0c
Merge pull request #1178 from xtermjs/fix-fit-addon
...
Fix "exports" typo
2018-01-02 16:52:41 +02:00
Paris Kasidiaris
bc3984a0bf
Fix "exports" typo
2018-01-02 12:49:44 +02:00
ZHAO Xudong
ac1023dac6
add Real-world use: electerm
2018-01-02 14:45:43 +08:00
Daniel Imms
72d946e089
Use a more robust solution to changing devicePixelRatio
2017-12-29 13:54:01 -08:00
Daniel Imms
478c054075
Merge pull request #1169 from npezza93/move-selection-event
...
Move selection event emission to the terminal object
2017-12-29 08:37:44 -08:00
Daniel Imms
ef5beb6706
Update charatlas when monitor DPI changes
...
Fixes #1118
2017-12-29 08:30:13 -08:00
npezza93
f65aeba684
Override MockTerminals emit to do nothing
2017-12-27 13:53:27 -05:00
npezza93
4d16c5e9e8
Move selection event emission to the terminal object
2017-12-27 11:36:05 -05:00
Daniel Imms
cf2116ff6a
Prevent dragging from setting selection y over bounds
...
Fixes #1152
2017-12-27 08:08:28 -08:00
Daniel Imms
8c4e6b0e5b
Merge pull request #1166 from Tyriar/1165_bellSound_exception
...
Prevent exception when setting bellSound before open
2017-12-27 06:15:14 -08:00
Daniel Imms
2660e0ecff
Merge pull request #1163 from Tyriar/1018_applyaddon_types
...
Add applyAddon typings
2017-12-27 06:15:02 -08:00
Daniel Imms
f24a94b341
Move syncBellSound after helperContainer init
2017-12-26 04:06:00 -08:00
Daniel Imms
5dc38008f3
Fix test
2017-12-26 02:43:28 -08:00
Daniel Imms
98d25607a9
Prevent exception when setting bellSound before open
...
Fixes #1165
2017-12-26 02:22:09 -08:00
Daniel Imms
55f885809e
Improve doc
2017-12-21 15:18:03 -08:00
Daniel Imms
37a1220ee7
Add applyAddon typings
...
Part of #1018
See #1130
2017-12-21 13:59:27 -08:00
Daniel Imms
9518d20c4e
Merge pull request #1160 from Tyriar/1159_linefeed
...
Make lineFeed event lowercase
2017-12-20 15:46:59 -08:00
Daniel Imms
5dc57a1305
Add detach logic back for mac only
2017-12-20 11:06:32 -08:00
Thomas Zilz
b4e52b2334
Fix fit() sizing and also support letterSpacing, enhanced ( #1157 )
...
Fixes #1081
* Make sure character dimensions are available right after calling term.open()
* Do not assume var assignments are global anymore, webpack will isolate them
* Use DocumentFragment to build Viewport and helpers before attaching them to the DOM
* Shield term.focus call from crashing when used before term.open
2017-12-20 20:06:23 +01:00
Daniel Imms
0d65cb3f69
Add max rows to read to handle spam case
2017-12-19 16:27:03 -08:00
Daniel Imms
ae957ecb3e
Get output reading working on Windows, refresh on window resize
2017-12-19 15:48:58 -08:00
Daniel Imms
d03f5b0c2a
Range of improvements for macOS VoiceOver
2017-12-19 15:16:28 -08:00
Daniel Imms
0f7365999f
Merge pull request #1156 from Tyriar/1155_visual_bell
...
Remove visual bell API until it's added back
2017-12-19 13:29:48 -08:00
Daniel Imms
e5d57b08c8
Merge remote-tracking branch 'ups/v3' into 731_screen_reader
2017-12-19 13:28:31 -08:00
Daniel Imms
83ef7668be
Merge remote-tracking branch 'ups/v3' into 1159_linefeed
2017-12-19 13:26:48 -08:00
Daniel Imms
aaf0991195
Make lineFeed event lowercase
...
Fixes #1159
2017-12-19 13:25:26 -08:00
Daniel Imms
399779692d
Initial prototype
2017-12-19 12:57:58 -08:00
Paris Kasidiaris
8263b5f0ba
Merge pull request #1130 from xtermjs/applyaddon
...
New addon system: `applyAddon`
2017-12-18 21:44:00 +02:00
Daniel Imms
c1d20afc64
Remove visual bell API until it's added back
...
Fixes #1155
2017-12-18 10:15:30 -08:00
Paris Kasidiaris
da604ff69c
Fix webpack task in Gulp and fit add-on
2017-12-16 11:29:12 +02:00
Daniel Imms
eeda380b67
Merge pull request #1149 from flumm/proxmox
...
add proxmox ve to real-world uses
2017-12-15 06:44:12 -08:00
CHaBou
9c5aaed441
Fix some function parameters
2017-12-15 00:02:37 +01:00
CHaBou
9f85790ad1
Add allowTransparency option
...
Fixes #1004
2017-12-14 22:55:01 +01:00
Dominik Csapak
41c2c07a74
add proxmox ve to real-world uses
2017-12-12 16:19:58 +01:00
Paris Kasidiaris
80450450e9
Export zmodemAttach
2017-12-12 10:50:18 +02:00
Paris Kasidiaris
c9b672e0c6
Simplify fit addon
2017-12-12 10:47:58 +02:00
Paris Kasidiaris
8830820821
Update demo to use Webpack
2017-12-12 08:46:06 +00:00
Paris Kasidiaris
e39d10e12f
Fix exports
2017-12-12 08:46:06 +00:00
Paris Kasidiaris
6fec430e32
Fix tests
2017-12-12 08:46:06 +00:00
Paris Kasidiaris
d81e304ce7
Export static methods wherever possible
2017-12-12 08:46:06 +00:00
Paris Kasidiaris
052dc15d55
Update README once more
2017-12-12 08:46:06 +00:00
Paris Kasidiaris
8d54735321
Fix README.md
2017-12-12 08:46:06 +00:00
Paris Kasidiaris
31cc0c30c1
Update README.md
2017-12-12 08:46:06 +00:00
Paris Kasidiaris
510de73996
Port addons to new applyAddon API and TypeScript
2017-12-12 08:46:06 +00:00
Paris Kasidiaris
2547858efb
Remove "debugging" allowJs
2017-12-12 08:46:06 +00:00
Paris Kasidiaris
4c4684295e
First PoC of .applyAddon
2017-12-12 08:46:06 +00:00
Daniel Imms
47a50acc55
Use IntersectionObserver to turn off renderer when hidden
...
Fixes #880
2017-12-11 15:16:13 -08:00
Daniel Imms
616f0f9d36
Fix cursor on scroll bar
...
Fixes #1067
2017-12-11 10:13:17 -08:00
Damien Tournoud
981da3d9e6
Fix parser not resetting state for some escape sequences
2017-12-02 20:45:23 -08:00
Daniel Imms
4f144dc6eb
Merge pull request #1121 from Tyriar/841_remove_geometry
...
Remove geometry
2017-11-21 09:00:57 -08:00
Bruno Ribeito
6822070222
Fix typo + Cleanup logic
2017-11-12 23:15:09 +00:00
Bruno Ribeito
51de968fde
Fix non-white colors not being drawn as bold
2017-11-12 23:05:27 +00:00
Bruno Ribeito
f12eb5367b
Adress feedback
2017-11-12 22:04:10 +00:00
Bruno Ribeito
007410995a
Fix#1117
2017-11-12 22:04:10 +00:00
Daniel Imms
3638eb2d4f
Merge pull request #1125 from Tyriar/logo
...
Add new logo to README
2017-11-10 13:55:16 -08:00
Daniel Imms
0c81ec7e95
Add new logo to README
2017-11-10 13:01:01 -08:00
Daniel Imms
bc424b2f37
Merge pull request #1097 from jdanbrown/pr-bracketedpaste
...
Support bracketed paste mode
2017-11-09 11:05:05 -08:00
Daniel Imms
0b90feab1e
Remove geometry
...
Fixes #841
2017-11-09 10:02:28 -08:00
Bruno Ribeito
18b86a1cbc
Do the selection even if there is already a selection
2017-11-08 23:27:00 +00:00
Daniel Imms
b798463d27
Merge pull request #1113 from bmf-ribeiro/selection-event-1093
...
Expose a selection event
2017-11-07 13:56:07 -08:00
Bruno Ribeito
2865d935b6
Adress feedback
2017-11-07 21:21:44 +00:00
Bruno Ribeito
fc7cf6b917
Adress feedback
2017-11-07 21:08:21 +00:00
Paris Kasidiaris
a6899c74d8
Merge pull request #1076 from FGasper/zmodem
...
Zmodem addon
2017-11-07 16:44:01 +02:00
Daniel Imms
935e972348
Merge pull request #1112 from bmf-ribeiro/FIX_#800
...
Pull wcwidth into its own file
2017-11-06 21:16:50 -08:00
Bruno Ribeito
1877e7019d
Implement #778
2017-11-06 23:20:57 +00:00
Bruno Ribeito
923bb05b8d
Fix #1093
2017-11-06 21:02:53 +00:00
Bruno Ribeito
354b857bbe
Fix spacing
2017-11-06 20:40:28 +00:00
Bruno Ribeito
e18416a636
Fix #800
2017-11-06 20:11:23 +00:00
Daniel Imms
b0020fc0ac
Merge pull request #1106 from EmbeddedEnterprises/v3
...
Fix deleteChars not updating the view
2017-11-06 10:22:43 -08:00
Daniel Imms
c90c24cecf
Merge pull request #1109 from Tyriar/1029_fix_end_selection
...
Fix last column selection problems
2017-11-06 07:43:20 -08:00
Daniel Imms
0637191d77
Merge pull request #1108 from bmf-ribeiro/v3
...
Fix #948
2017-11-06 06:53:57 -08:00
Daniel Imms
95de0e83b9
Merge pull request #1105 from Tyriar/1080_interface_export
...
Export interfaces in typings
2017-11-05 17:08:10 -08:00
Bruno Ribeito
9c4ff54f22
Fix review comments
2017-11-05 21:13:54 +00:00
Daniel Imms
8478aa7a51
Fix selection on bottom right char when mouse goes outside viewport
...
Part of #1029
2017-11-05 12:18:59 -08:00
Daniel Imms
dbec3a32f8
Fix selecting of last column
...
Fixes #1029
2017-11-05 12:06:25 -08:00
Bruno Ribeito
b7438d57cf
Fix #948
2017-11-05 15:11:02 +00:00
Martin Koppehel
4b46a777d7
Fix deleteChars not updating the view
...
When deleting a character in a line and moving the cursor to
another line afterwards, the deletion is not rendered.
This commit adds the line where the character was deleted
to the refresh range to enforce an update
2017-11-05 10:31:35 +01:00
Daniel Imms
3921457bf3
Merge pull request #1104 from Tyriar/902_scrollLines_api
...
Replace scrollDisp with the more descriptive scrollLines
2017-11-04 20:43:06 -07:00
Daniel Imms
86653f70a8
Export interfaces in typings
...
Fixes #1080
2017-11-04 20:41:03 -07:00
Felipe Gasper
b96286be51
remove bundled zmodem.js and symlinked CSS
2017-11-04 08:36:51 -04:00
Daniel Imms
05cbe41d39
scrollDisp -> scrollLines
...
Fixes #902
2017-11-04 03:20:24 -07:00
Felipe Gasper
54f616623a
cleaner syntax for start-zmodem
2017-11-02 19:07:43 -04:00
Felipe Gasper
6cefa13a4e
Merge branch 'v3' into zmodem
2017-11-02 19:05:30 -04:00
Felipe Gasper
e262ba473e
include build
2017-11-02 19:03:52 -04:00
Felipe Gasper
280a100c12
revert changes to mainline demo; have separate addon demo
2017-11-02 18:33:00 -04:00
Daniel Imms
d9e9fa3ff7
Merge pull request #1094 from Tyriar/1089_open_parent_visible
...
Clarify that parent needs to be visible when calling open
2017-11-01 08:47:53 -07:00
Daniel Imms
aaa7e91855
Merge pull request #1091 from Tyriar/1090_force_selection
...
Don't send mouse events when selection is forced
2017-11-01 08:46:38 -07:00
Daniel Imms
3d9aefbb2d
Merge pull request #1096 from Tyriar/winptyCompat
...
Add winptyCompat addon
2017-11-01 08:46:22 -07:00
Daniel Imms
e2910ca5c8
Merge pull request #1088 from Tyriar/node-pty-upgrade
...
Upgrade node-pty to 0.7.2
2017-11-01 08:46:09 -07:00
Paris Kasidiaris
36a155dd1a
Merge pull request #1065 from exsilium/iPadHWArrowsV3
...
Apple iPad - Smart Keyboard Arrows - v3
2017-10-31 12:12:12 +02:00
Daniel Imms
8cb410bd9c
Merge pull request #1099 from Tyriar/1089_init_scaled_vars
...
Initialize scaled dimension variables
2017-10-30 12:37:37 -07:00
Daniel Imms
79cdaa8d3b
Initialize scaled dimension variables
...
Fixes #1089
2017-10-30 11:21:22 -07:00
Dan Brown
1dbcf70cee
Support bracketed paste mode
...
- As described in https://cirw.in/blog/bracketed-paste
- Example support in vim:
- https://github.com/ConradIrwin/vim-bracketed-paste/blob/master/plugin/bracketed-paste.vim
- http://vimdoc.sourceforge.net/htmldoc/term.html#raw-terminal-mode
- Required for e.g. ipython, via python-prompt-toolkit:
- https://github.com/ipython/ipython
- https://github.com/jonathanslenders/python-prompt-toolkit
Repro:
- Run `ipython` (version 6.2.1)
- Copy multiple lines of text and paste into ipython prompt, e.g.
```py
print(1)
print(2)
print(3)
```
- Before: first line would paste and run, and subsequent lines are lost
- After: all lines paste into single prompt
2017-10-30 00:26:50 -07:00
Felipe Gasper
29143baa3a
a bit lighter: no submit
2017-10-29 17:26:23 -04:00
Felipe Gasper
11c9dd3288
revert changes, update to latest node-pty
2017-10-29 15:34:23 -05:00
Felipe Gasper
9a8916ff77
pare back changes
2017-10-29 15:25:06 -05:00
Felipe Gasper
cb7c6151e8
compile zmodem extension in gulp
2017-10-29 15:21:22 -05:00
Daniel Imms
aa5a9911de
Base wrapped line on current width, not original width
...
Lines are never trimmed, so even if the term's size is reduced it
could contain empty lines at the end when wrapping is valid
2017-10-29 13:16:29 -07:00
Daniel Imms
d7f6f96ba6
Add winptyCompat addon typings
2017-10-29 13:01:38 -07:00
Daniel Imms
2fbc0be98d
Fix build issues
2017-10-29 12:45:37 -07:00
Daniel Imms
664c0f0f77
Clarify that parent needs to be visible when calling open
...
Fixes #1089
2017-10-28 17:44:15 -07:00
Felipe Gasper
0ca1318284
too much work … just find a way to concatenate
2017-10-27 21:10:23 -05:00
Felipe Gasper
f2befc0c06
document the new opts/flag
2017-10-27 20:17:27 -05:00
Felipe Gasper
6c3af6e19a
provide for better compatibility with attach.js
2017-10-27 20:14:18 -05:00
Daniel Imms
d81df46453
Don't send mouse events when selection is forced
...
Fixes #1090
2017-10-27 16:48:00 -07:00
Felipe Gasper
a90493a9af
Merge branch 'v3' into zmodem
2017-10-27 17:58:01 -05:00
Felipe Gasper
5c81fe6cdc
pare down some changes
2017-10-27 17:54:36 -05:00
Daniel Imms
59759c718b
node-pty@0.7.2
2017-10-27 11:33:05 -07:00
Daniel Imms
700a10f3f4
Initial winptyCompat addon
2017-10-27 10:23:46 -07:00
Daniel Imms
8ece306dbe
Merge pull request #1084 from Tyriar/1079_theme_exception
...
Fix exception when setting theme
2017-10-27 10:14:43 -07:00
Daniel Imms
a27a4e627e
Add test for not setting bg in theme
2017-10-25 21:28:19 -07:00
Daniel Imms
2fc723b3ac
Fix exception when setting theme
...
Fixes #1079
2017-10-25 21:24:44 -07:00
Felipe Gasper
1586363b2e
Merge branch 'v3' into zmodem
2017-10-25 07:30:04 -05:00
Daniel Imms
c2b3853aa7
Merge pull request #1078 from Tyriar/vsc36328
...
Add null check in MouseZoneManager._findZoneEventAt
2017-10-24 10:19:55 -07:00
Daniel Imms
65afb34b8b
Merge pull request #1072 from Tyriar/1071_typing_pollution
...
Move interfaces in types inside module
2017-10-23 13:36:05 -07:00
Daniel Imms
ac71f13361
Add null check in MouseZoneManager._findZoneEventAt
...
See Microsoft/vscode#36328
2017-10-23 11:54:49 -07:00
Felipe Gasper
3d2687768f
no abort; instead skip
2017-10-22 16:20:01 -05:00
Paris Kasidiaris
d3b25364cc
Merge pull request #1073 from LukasDrgon/patch-1
...
Add jsDelivr hits badge
2017-10-21 16:43:43 +03:00
Daniel Imms
5d49db54ee
Move interfaces in types inside module
...
Fixes #1071
2017-10-20 17:28:34 -07:00
Daniel Imms
81b6469aad
Merge pull request #1069 from Tyriar/1068_xterm_css_change
...
Use .xterm over .terminal in CSS
2017-10-20 16:56:38 -07:00
Daniel Imms
1d76cc921a
Use .xterm over .terminal in CSS
...
Fixes #1068
2017-10-19 08:44:00 -07:00
Felipe Gasper
6026bd44c3
put ZMODEM auto-toggle into demo UI
2017-10-19 11:50:36 +02:00
Felipe Gasper
7bc7bb0ab9
no more text-encoding
2017-10-19 11:36:37 +02:00
Daniel Imms
2e8410da4b
Merge pull request #1061 from Tyriar/1048_enableBold
...
Support enableBold option
2017-10-17 15:54:47 -07:00
Daniel Imms
cf6c11db14
Merge remote-tracking branch 'origin/v3' into 1048_enableBold
2017-10-17 12:41:13 -07:00
Felipe Gasper
ed6e2e5055
Reorder demo components, ensure we hide at end of receive.
2017-10-17 09:28:41 +02:00
Felipe Gasper
1ee6af2f82
Instructions in the demo for ZMODEM.
2017-10-17 08:57:18 +02:00
Felipe Gasper
ef62b3bf55
Use zmodem.js from npm rather than a git submodule.
2017-10-17 08:39:43 +02:00
Felipe Gasper
76faad67d9
Merge branch 'v3' into zmodem
2017-10-17 08:21:33 +02:00
Felipe Gasper
a4b06ea86e
docs, prune
2017-10-17 08:20:25 +02:00
Felipe Gasper
355d5970a6
Allow attach.js to work
2017-10-16 16:30:29 +01:00
Felipe Gasper
a53ca789ea
also exclude Terminado
2017-10-16 15:32:46 +01:00
Felipe Gasper
6fa08d3cc0
Make zmodem work again
2017-10-16 15:26:09 +01:00
Felipe Gasper
73b804f42d
update subrepo
2017-10-16 15:14:22 +01:00
Felipe Gasper
151eac6f4f
prep for addon - find loop
2017-10-16 15:12:07 +01:00
Felipe Gasper
a6efda6120
broken cuz moving to addon
2017-10-16 14:43:10 +01:00
Exile
822b31f7b7
Addressing linter errors
2017-10-16 08:02:03 +00:00
Exile
0684e05877
Smart Keyboard Arrows
2017-10-16 07:17:51 +00:00
Felipe Gasper
8346ab12be
add missing dependency to package.json
2017-10-15 21:35:09 +01:00
Daniel Imms
00554390e1
Merge pull request #1045 from Tyriar/more_rendering_improvements
...
More rendering improvements
2017-10-14 23:55:33 -07:00
Lukas Drgon
5cdd1bee42
Add jsDelivr hits badge
2017-10-14 19:25:42 +02:00
Daniel Imms
db6695435d
Add letterSpacing typings and test
2017-10-13 13:38:28 -07:00
Daniel Imms
899929afc6
Add enableBold typings
2017-10-13 13:30:12 -07:00
Daniel Imms
a1fcafd50c
Fix default color with bold disabled
2017-10-13 13:20:22 -07:00
Daniel Imms
a622b97a94
Support enableBold option
2017-10-13 13:13:38 -07:00
Daniel Imms
e86aebaa41
Merge remote-tracking branch 'origin/v3' into more_rendering_improvements
2017-10-13 13:02:38 -07:00
Daniel Imms
c1ec68091a
Merge pull request #1058 from Tyriar/1057_remove_wcwidth_test
...
Remove long wcwidth test
2017-10-13 13:00:50 -07:00
Daniel Imms
c1ad9dba2a
Remove long wcwidth test
...
Fixes #1057
2017-10-11 22:46:08 -07:00
Daniel Imms
b1449880be
Merge pull request #1052 from Tyriar/1047_ansi_bright
...
Fix ansi bright text being bold without bold flag
2017-10-11 19:06:05 -07:00
Thomas Zilz
b6c886837f
Add support for dimmed characters (faint) ( #1043 )
...
* Add support for dimmed character style
2017-10-11 20:24:26 +02:00
Daniel Imms
5e639c75f7
Merge pull request #1051 from Tyriar/blurry_ldpi
...
Draw from charatlas without changing scale
2017-10-11 07:53:21 -07:00
Daniel Imms
a56edd65a7
Fix ansi bright text being bold without bold flag
...
Fixes #1047
2017-10-10 22:37:13 -07:00
Daniel Imms
09c9cb4508
Draw from charatlas without changing scale
...
Fixes #1050
2017-10-10 22:19:48 -07:00
Daniel Imms
058de25977
Merge pull request #1030 from Tyriar/fix_selection_model_npe
...
Add a null check to areSelectionValuesReversed
2017-10-10 07:50:34 -07:00
Daniel Imms
eb57cc3e9e
Clip rows using the row's cell height, not char height
2017-10-09 20:10:13 -07:00
Daniel Imms
1b2bac7aef
Add letterSpacing option
...
This provides an option for fonts to be more spaced out. This is particularly useful
for fonts that can seem crammed due to not allowing floating point numbers when
drawing, such as Monoid or Operator Mono.
2017-10-09 20:07:30 -07:00
Daniel Imms
b06eb44c45
Merge pull request #1034 from Tyriar/1033_ie11_support
...
Add support back for IE11
2017-10-06 09:27:15 -07:00
Daniel Imms
5bf81934cd
Merge pull request #1022 from Tyriar/1020_mouse_events_linkifier
...
Ensure linkifier cancels mouse event when being handled
2017-10-06 09:23:42 -07:00
Daniel Imms
635cf268d4
Merge pull request #1019 from Tyriar/null_check_cursor_char
...
Add null check before cursor is drawn
2017-10-06 09:23:17 -07:00
Daniel Imms
3c2614ade7
Merge pull request #1017 from Tyriar/1015_fix_emoji_selection
...
Fix several issues related to emojis
2017-10-06 09:23:03 -07:00
Daniel Imms
265057a716
Merge pull request #1038 from Tyriar/rendering_improvements
...
Rendering improvements
2017-10-06 09:09:37 -07:00
Daniel Imms
06b9f1db87
Always draw entire line and allow overlapping
...
State/diffing code is kept in comments as it may be reinstated soon.
Fixes #1035
Fixes #1036
Fixes #1032
Fixes #1037
2017-10-05 23:25:03 -07:00
Daniel Imms
356a14bb16
Fix non-default backgrounds on left cell of wide/overlapping chars
...
Fixes #1031
2017-10-05 20:30:09 -07:00
Daniel Imms
be8ddb11db
Add support back for IE11
...
Fixes #1033
2017-10-05 20:22:05 -07:00
Daniel Imms
108534a4fe
Fix null pointer exception
2017-10-05 20:09:17 -07:00
Daniel Imms
0a08d6389a
Fix sub-pixel anti-aliasing for uncached text
...
Fixes #1032
2017-10-05 19:31:07 -07:00
Daniel Imms
f36ba01460
Add a null check to areSelectionValuesReversed
...
See Microsoft/vscode#35601
2017-10-05 11:15:46 -07:00
Daniel Imms
22af08d86e
Merge pull request #1028 from Tyriar/1024_fix_windows_build_issue
...
Normalize tsconfig outDir
2017-10-05 08:35:43 -07:00
Daniel Imms
2ab06779f9
Merge pull request #1026 from Tyriar/1025_fix_link_application_range
...
Fix links sometimes not getting applied
2017-10-05 08:04:36 -07:00
Daniel Imms
0ac093e19c
Merge pull request #1027 from jgillich/patch-1
...
remove import file extension
2017-10-05 07:58:00 -07:00
Daniel Imms
e693c9e86b
Normalize tsconfig outDir
...
It was coming out with the wrap path separators on Windows
Fixes #1024
2017-10-05 07:52:34 -07:00
Jakob Gillich
7cfc108fb4
remove import file extension
2017-10-05 01:35:34 +02:00
Daniel Imms
2a126cf1dc
Fix links sometimes not getting applied
...
There was an incorrect comparison which occasionally caused links to
not be picked up.
Fixes #1025
2017-10-04 11:45:13 -07:00
Felipe Gasper
0e732a7d41
Make it work (as well as it may) in Edge
2017-10-03 23:16:12 -04:00
Daniel Imms
66688c19a6
Merge pull request #1023 from ricktbaker/patch-1
...
Update README.md
2017-10-02 11:37:57 -07:00
Rick Baker
966f5c1f32
Update README.md
...
Who would have thought that a name could have so much controversy. I've renamed due to a bunch of flack about devops not logging into servers :)
2017-10-02 13:34:30 -05:00
Daniel Imms
ea8bd8dc1c
Merge pull request #910 from dcylabs/v3
...
Fixed selection issue when terminal is in nested scrolled elements
2017-10-02 11:15:45 -07:00
Daniel Imms
56da538ca0
Fix reference to document
2017-10-02 11:12:33 -07:00
Daniel Imms
42d5cb671e
Merge remote-tracking branch 'ups/v3' into v3
2017-10-02 11:00:24 -07:00
Daniel Imms
95f68a41d7
Ensure linkifier cancels mouse event when being handled
...
The terminal mouse events handling code was being run before links were
being considered. This caused clicking link to have unexpected behavior
in mouse mode term apps.
Fixes #1020
2017-10-02 10:42:14 -07:00
Felipe Gasper
4c4c392479
update demo code for package-lock; make package.json build zmodem.js
2017-10-02 09:44:05 -04:00
Felipe Gasper
907d9de965
update demo for zmodemjs changes
2017-10-01 18:23:17 -04:00
Felipe Gasper
6f69207a67
Merge branch 'v3' into zmodem
2017-10-01 12:47:36 -04:00
Daniel Imms
29be4f6a92
Merge remote-tracking branch 'ups/v3' into 1015_fix_emoji_selection
2017-10-01 05:54:10 -07:00
Daniel Imms
b1214063d2
Add more complex emoji selection tests
2017-09-30 10:00:18 -04:00
Daniel Imms
da4e3e6e9f
Improve documentation on word selection
2017-09-30 09:45:11 -04:00
Daniel Imms
e0c28bc7d2
Fix selecting words containing ZWJ emojis
2017-09-30 09:32:33 -04:00
Daniel Imms
58259f8bd9
Fix select word on wide characters
2017-09-30 08:30:19 -04:00
Daniel Imms
4828c4a6fa
Clean up logs/comments
2017-09-30 08:02:03 -04:00
Daniel Imms
3e29a03f87
Fix rendering issues for emojis that come out as wide chars
...
The fix is to disallow non-single cell width chars to be overlapping
2017-09-30 07:54:52 -04:00
Daniel Imms
fa86f31f36
Fix copying emoji characters on the edge of selection
...
Fixes #1015
2017-09-30 06:30:14 -04:00
Daniel Imms
feb2b958a4
Mostly emoji selection
...
Selection is not aware of characters that have a size greater than 1.
When the emoji is at the start of the selection it still doesn't work.
Fixes #1015
2017-09-30 06:13:58 -04:00
Daniel Imms
e3d69d78a0
Merge pull request #1010 from Tyriar/vscode34466
...
Add null check when fetching line string
2017-09-30 05:37:11 -04:00
Daniel Imms
ef5e393510
Merge pull request #1002 from Tyriar/990_fix_link_issues
...
Fix link clearing issues
2017-09-30 05:36:48 -04:00
Daniel Imms
a9a131699f
Merge pull request #1001 from Tyriar/1000_fix_horz_offset
...
Fix mouse coordinates
2017-09-29 16:17:50 -04:00
Daniel Imms
3813e3f6df
Merge pull request #1012 from ricktbaker/patch-1
...
Update README.md
2017-09-29 16:11:10 -04:00
Rick Baker
499c8288eb
Update README.md
...
Submitting an app for your list.
2017-09-29 14:54:33 -05:00
Daniel Imms
91d22e3d84
Add null check before cursor is drawn
2017-09-28 21:23:27 -04:00
Daniel Imms
a8174398f5
Calculate mouse coordinates using correct char dimensions
...
Previously the Mouse class was using raw CSS pixels, we need CSS pixels based
on the amount of space the cells take up on the canvas
See Microsoft/vscode#35114
2017-09-28 17:23:45 -04:00
Daniel Imms
0dafd0a38b
Merge branch 'v3' into 1000_fix_horz_offset
2017-09-28 17:21:37 -04:00
Daniel Imms
13d46476c8
Add null check when fetching line string
...
See Microsoft/vscode#34466
2017-09-28 14:52:56 -04:00
Felipe Gasper
bc2dce7a50
Merge branch 'v3' into zmodem
2017-09-27 10:29:40 -04:00
Felipe Gasper
3f467b33e4
update demo to latest zmodem.js code
2017-09-26 10:31:24 -04:00
Daniel Imms
313d1e6fec
Merge pull request #1005 from Tyriar/fix_validation_callback
...
Fix validation callback to use the uri, not whole row
2017-09-25 13:24:45 -07:00
Daniel Imms
a4485b8c09
Merge pull request #999 from Tyriar/vscode34493
...
Only refresh char atlas when char dimensions are valid
2017-09-25 06:14:58 -07:00
Daniel Imms
a2389d5c5b
Fix validation callback to use the uri, not whole row
2017-09-24 10:59:38 -07:00
Daniel Imms
8243eef67c
Properly clear links
...
MouzeZoneManager rows are not 0-based
Fixes #990
2017-09-20 12:54:20 +09:00
Daniel Imms
0b54df14e2
Remove unnecessary rounding
2017-09-20 12:16:27 +09:00
Daniel Imms
79c07d436e
Fix selection horizontal offset
...
Fixes #1000
2017-09-20 11:53:19 +09:00
Daniel Imms
40fdd00b9e
Correct if statement, ensure charAtlas exists
2017-09-20 09:02:21 +09:00
Felipe Gasper
65f5f1c38c
deny() handling
2017-09-18 07:19:22 -04:00
Thomas Zilz
c4da8325ac
Allow all overflowing characters to extend to the next cell if followed by a space (Emojis etc) ( #997 )
...
* Measure characters and thread them if they are overlapping
* Fix whitespace
* Use charData and ctx.save/restore, code cleanup
* Fix trailing whitespace
2017-09-17 10:39:09 +02:00
Thomas Zilz
c815310418
Fix inverted cells, make sure inverted cells are cleared correctly ( #996 )
...
* Corretly inverse foreground and background. Be more conservative when clearing
* add missing space
* Re-enable optimisation with better checks
* Fix insversed check
2017-09-16 20:36:55 +02:00
Daniel Imms
9b6c4e046f
Only refresh char atlas when char dimensions are valid
...
See Microsoft/vscode#34493
2017-09-16 10:57:49 -07:00
Felipe Gasper
94586b669f
update submodule
2017-09-15 03:45:23 -04:00
Felipe Gasper
5f62c7607d
progress indicators for send
2017-09-15 03:30:51 -04:00
Felipe Gasper
ce681fe481
demo: hide progress after receive
2017-09-15 03:26:54 -04:00
Felipe Gasper
cdcedd6b34
updates to factor out more logic to library
2017-09-15 02:31:32 -04:00
Daniel Imms
1f49879298
Merge pull request #989 from Tyriar/986_selection_exception
...
Ensure mouse coordinates are always within rows/cols
2017-09-14 09:06:44 -07:00
Daniel Imms
691ab2b02c
Merge remote-tracking branch 'ups/v3' into 986_selection_exception
2017-09-14 09:06:00 -07:00
Daniel Imms
0cf9f1d536
Fix tests
2017-09-14 09:05:50 -07:00
Daniel Imms
3d743e5bdb
Merge pull request #964 from Tyriar/963_cursor_accent
...
Support theming cursor accent color
2017-09-14 09:03:54 -07:00
Daniel Imms
bc824ad6a5
Fix tests
2017-09-14 09:03:41 -07:00
Daniel Imms
b9872c9a67
Merge remote-tracking branch 'ups/v3' into 963_cursor_accent
2017-09-14 09:02:32 -07:00
Daniel Imms
ea0c2285bc
Merge remote-tracking branch 'ups/v3' into 963_cursor_accent
2017-09-14 09:02:00 -07:00
Daniel Imms
a611fee7af
Merge pull request #976 from Tyriar/975_mousezone_leave
...
Ensure leave is called when leaving a MouseZone
2017-09-14 09:01:28 -07:00
Daniel Imms
c2502bf0b0
Merge pull request #978 from Tyriar/953_user_scrolling_fix
...
Improve scrolling while user has scrolled up
2017-09-14 09:01:13 -07:00
Daniel Imms
e8d784a47d
Merge pull request #991 from Tyriar/blurriness_fix
...
Support sub-pixel anti-aliasing and fix blurry text issues
2017-09-14 08:59:50 -07:00
Daniel Imms
8bdc8fb7a2
Remove log
2017-09-14 01:00:19 -07:00
Daniel Imms
aca7ab63e8
Set background color on Renderer immediately
...
Prevents black flash on init
2017-09-14 00:22:57 -07:00
Daniel Imms
c2b765f3ff
Redraw background on text layer after a resize
2017-09-13 23:56:35 -07:00
Daniel Imms
068c0743a1
Support non-#000 background colors in char atlas
2017-09-13 23:54:45 -07:00
Daniel Imms
0a58628f74
Clear text layer to the background color on creation
...
Prevents a black flash before the first draw
2017-09-13 23:49:37 -07:00
Daniel Imms
b225866c27
Clear cells properly for text layer
2017-09-13 23:21:24 -07:00
Daniel Imms
872c007a29
Finish merging bg and fg layers
2017-09-13 23:15:21 -07:00
Daniel Imms
402cebc76c
Support bold in non cached text drawing
...
Fixes #987
2017-09-13 22:50:48 -07:00
Daniel Imms
3656617044
Start merging fg/bg layers, draw using SP-AA
2017-09-13 15:21:40 -07:00
Daniel Imms
5538481833
Draw characters to a grid
2017-09-13 15:07:01 -07:00
Daniel Imms
a52b9feeea
Ensure mouse coordinates are always within rows/cols
...
Fixes #986
2017-09-13 14:03:40 -07:00
Daniel Imms
136c82f9ad
Merge pull request #981 from Tyriar/974_fix_wide_arrow
...
Treat \u279C arrow as ambiguous width char (like emoji)
2017-09-13 11:01:40 -07:00
Daniel Imms
ead45fe4d0
Add a TODO
2017-09-13 10:59:55 -07:00
Daniel Imms
69982dc16a
Merge pull request #983 from Tyriar/remove_log
...
Remove log
2017-09-13 10:54:10 -07:00
Daniel Imms
d030206195
Merge pull request #980 from Tyriar/972_decimal_text
...
Draw text using decimal numbers
2017-09-13 10:53:49 -07:00
Daniel Imms
30cac21003
Remove log
2017-09-13 10:34:58 -07:00
Daniel Imms
cd21a24ee4
Merge pull request #982 from Tyriar/970_fix_alt_selection
...
Fix alt+selection while mouse events are enabled
2017-09-13 10:16:16 -07:00
Daniel Imms
73d3164426
Fix alt+selection while mouse events are enabled
...
Fixes #970
2017-09-12 20:00:25 -07:00
Daniel Imms
cf32452917
Treat \u279C arrow as ambiguous width char (like emoji)
...
Fixes #974
2017-09-12 19:23:26 -07:00
Daniel Imms
403fd3cd4f
Draw text using decimal numbers
...
Fixes #972
2017-09-12 18:55:59 -07:00
Daniel Imms
6899e01fc1
Improve scrolling while user has scrolled up
...
Fixes #953
2017-09-12 15:06:23 -07:00
Felipe Gasper
6181262c76
remove debug changes
2017-09-11 22:39:13 -04:00
Daniel Imms
2114bc4837
Ensure leave is called when leaving a MouseZone
...
Fixes #975
2017-09-11 11:12:51 -07:00
Daniel Imms
1897f0f51a
Merge pull request #968 from Tyriar/line_height_fixes
...
Fix several issues with line height
2017-09-11 09:42:06 -07:00
Felipe Gasper
91aa8c51fc
got it
2017-09-11 00:01:07 -04:00
Daniel Imms
903ed1917e
Remove viewport test
...
It's not tightly linked to renderer and depends on devicePixelRatio.
2017-09-10 10:43:33 -07:00
Daniel Imms
ac23be134b
Simplify viewport
2017-09-10 10:38:08 -07:00
Daniel Imms
ae741348a6
Fix several issues with line height
...
Fixes #966
Fixes #967
2017-09-10 10:31:19 -07:00
Daniel Imms
052e0b5a94
Merge pull request #961 from Tyriar/959_960_link_state
...
Fix issues with link state
2017-09-10 08:07:23 -07:00
Daniel Imms
6c06d83525
Support theming cursor accent color
...
Fixes #963
2017-09-10 08:01:16 -07:00
Felipe Gasper
e442512087
trying to make it work
2017-09-09 23:12:01 -04:00
Daniel Imms
0e3518409e
Fix issues with link state
...
- Scrolling will now clear the link renderer
- Refreshing a single line will now recalculate only that line
Fixes #959
Fixes #960
2017-09-09 19:06:30 -07:00
Daniel Imms
9bb675462f
Merge pull request #956 from marcdumais-work/v3
...
Add Theia as a "Real World" use of xterm.js
2017-09-08 11:58:27 -07:00
Daniel Imms
948eedba89
Merge pull request #938 from Tyriar/canvas_render
...
Render using canvas
2017-09-08 11:07:59 -07:00
Daniel Imms
0c19bc9c28
Fix tests
2017-09-08 11:06:15 -07:00
Daniel Imms
75b91c618e
Update license text
2017-09-08 10:16:42 -07:00
Marc Dumais
e3051ea1dc
Add Theia as a "Real World" use of xterm.js
2017-09-08 11:20:43 -04:00
Thomas Zilz
48391c3108
Merge pull request #952 from mofux/delete-line-fix
...
Fix CSI Ps M to delete the correct line
2017-09-08 14:00:24 +02:00
Paris Kasidiaris
3a8327de66
Merge pull request #949 from vincentwoo/unused-timer
...
Delete unused timer variables
2017-09-08 11:41:50 +03:00
Daniel Imms
ea8dbbd29f
Underline links on hover
2017-09-07 10:20:48 -07:00
Thomas Zilz
4eb356f6be
Fix CSI Ps M to delete the correct line
2017-09-07 17:13:15 +02:00
Daniel Imms
67962a5e55
typescript@2.4
...
For string enums
2017-09-07 07:19:48 -07:00
Daniel Imms
e960a0a82c
Add ILinkMatcherOptions.hoverEndCallback
2017-09-06 16:05:09 -07:00
Daniel Imms
66c891df5b
Fix resize adding right padding on demo
2017-09-06 15:36:40 -07:00
Daniel Imms
fb90c98f81
Fix blurry text by supporting floating pt devicePixelRatios
2017-09-06 10:36:34 -07:00
Daniel Imms
b69ff5d31a
Redraw terminal when devicePixelRatio changes
2017-09-06 10:22:33 -07:00
Paris Kasidiaris
a883029044
Merge pull request #926 from ficristo/search-fix
...
Do not browserify xterm again inside search addon.
2017-09-06 20:04:42 +03:00
Vincent Woo
2f168da1dc
Delete unused timer variables
2017-09-05 19:14:11 -07:00
Daniel Imms
f87213790e
Merge branch 'master' into search-fix
2017-09-05 11:30:28 -07:00
Daniel Imms
7b199ac17f
Some more documentation
2017-09-04 19:40:49 -07:00
Daniel Imms
5c2d5dcd27
Document methods of BaseRenderLayer
2017-09-04 19:34:57 -07:00
Daniel Imms
1e728d453b
Add new API to typings test
2017-09-04 14:19:17 -07:00
Daniel Imms
46b0857ef6
Resolve TODOs
2017-09-04 14:13:41 -07:00
Daniel Imms
0dc24cf800
Move theme setting into setOption API
2017-09-04 13:41:56 -07:00
Daniel Imms
8e07af04e3
Drop support for IE/Opera and indicate latest
...
Opera uses Blink under the hood so supporting Chrome is basically
supporting Opera
2017-09-04 13:39:35 -07:00
Daniel Imms
da1e3b40cc
Don't use ImageBitmap on Firefox
2017-09-04 12:59:59 -07:00
Daniel Imms
9506c01824
Add tests for utils/Mouse
2017-09-04 10:27:07 -07:00
Daniel Imms
1f38c2f467
Remove unused file
2017-09-04 09:53:53 -07:00
Daniel Imms
6f6f17f5dc
Add tests for ColorManager
2017-09-04 09:52:35 -07:00
Daniel Imms
a35cf02208
Add GridCache tests
2017-09-04 09:39:44 -07:00
Daniel Imms
1c3028c59f
Work around an emoji bug
2017-09-04 09:23:14 -07:00
Daniel Imms
a17950290c
Support emoji
2017-09-04 09:04:50 -07:00
Daniel Imms
ff31f34551
Add selection to ITheme
2017-09-04 08:14:40 -07:00
Daniel Imms
0bfdff0b39
Theme unfocused cursor using cursor color
2017-09-04 08:09:43 -07:00
Paris Kasidiaris
247b63a0e3
Merge pull request #933 from nebulade/readystate
...
Check socket state before sending data
2017-09-04 10:23:22 +03:00
Daniel Imms
29a7ee30f3
Fix lint
2017-09-03 22:39:47 -07:00
Daniel Imms
e77f1a9287
Use default colors if not defined in a theme
...
Previous behavior didn't touch them, meaning partial themes could be
inconsistent
2017-09-03 21:52:52 -07:00
Daniel Imms
7934e05083
jsdoc Linkifier
2017-09-03 21:34:48 -07:00
Daniel Imms
e123dd1849
Null check if clicking on scroll bar
2017-09-03 21:15:14 -07:00
Daniel Imms
36778186e1
Fix tests
2017-09-03 14:34:50 -07:00
Daniel Imms
e518ea04c5
Get tests reporting failures again
2017-09-03 14:21:30 -07:00
Daniel Imms
17731c3de3
Support multiple links in a line, fix Linkifier tests
2017-09-03 13:56:53 -07:00
Daniel Imms
b30cb58ff4
Support hover callback in links
2017-09-03 12:47:04 -07:00
Daniel Imms
923ea7247c
Get links working on proper coords
2017-09-03 11:39:17 -07:00
Daniel Imms
5619abe12d
Basic link support using mouse zone manager
2017-09-03 11:20:29 -07:00
Daniel Imms
2d1a1bfb76
Fix inconsistency with lineHeight
2017-09-03 09:05:26 -07:00
Daniel Imms
48b37453ea
Ensure char measure's line height isn't influenced by outside
2017-09-03 08:40:00 -07:00
Daniel Imms
bc3470c272
Fix default bold text
2017-09-03 08:06:27 -07:00
Daniel Imms
a3297b0017
Fix viewport/background size after char size changed
2017-09-03 07:57:16 -07:00
Daniel Imms
deb47e29bf
Fix canvas resizing with non-1 lineHeight
2017-09-03 07:41:18 -07:00
Daniel Imms
5a4851630e
Prevent updating of invalid terminal row ranges
2017-09-03 07:27:52 -07:00
Daniel Imms
fd4e9d8a1b
Fix graphical glitch wide chars would leave behind
...
Wide chars now 'own' the character next to them and are entirely responsible
for drawing and clean up
2017-09-02 23:13:24 -07:00
Daniel Imms
8427f7490d
Clear state when resizing as canvases get cleared
2017-09-02 21:13:44 -07:00
Daniel Imms
7973b26e7a
Include new options in ITerminalOptions
2017-09-02 19:45:44 -07:00
Daniel Imms
c94e87428d
Fix CharMeasure getting taller on successive calls
2017-09-02 19:04:07 -07:00
Daniel Imms
7ccac09b6b
Fix the composition element's position
2017-09-02 18:41:53 -07:00
Daniel Imms
c5a6d96a62
Remove padding from terminal, not support atm
2017-09-02 14:11:21 -07:00
Daniel Imms
4f81cdfe8c
Make the terminal background theme aware
2017-09-02 13:59:22 -07:00
Daniel Imms
8039fd35e6
Remove unused CSS, selectionElement
2017-09-02 13:34:01 -07:00
Daniel Imms
24a98f2fa8
Remove rowContainer and children, disable Linkifier
2017-09-02 13:26:05 -07:00
Daniel Imms
66d41feab6
Expose setTheme through .d.ts
2017-09-02 12:31:26 -07:00
Daniel Imms
c92a2f964a
Support lineHeight
2017-09-02 12:27:09 -07:00
Daniel Imms
9cabb93b8b
Organize temporary color handling code
2017-09-02 11:08:43 -07:00
Daniel Imms
ee4b71c8e7
Remove Terminal.options.colors
...
It wasn't being used
2017-09-02 10:51:08 -07:00
Daniel Imms
b8732a25a3
Support Safari
...
Safari lacks support for window.createImageBitmap, fallback to
HTMLCanvasElement in thi case.
2017-09-02 10:37:51 -07:00
Daniel Imms
32a3c9812d
Support wide character drawing and cursors
2017-09-02 10:17:49 -07:00
Daniel Imms
ae72e1c51e
Fix uncached chars bleeding into other cells
2017-09-02 09:49:48 -07:00
Daniel Imms
6dd6d0391f
Add cell spacing to char atlas
2017-09-02 00:06:28 -07:00
Daniel Imms
36a723c4cc
Fix 256 FG chars
2017-09-01 23:58:34 -07:00
Daniel Imms
cf7237d2a4
Fix remaining cursor animation state issues
2017-09-01 23:47:17 -07:00
Daniel Imms
06b54585a1
Fix cursor render when after focusing underline/bar
2017-09-01 23:11:39 -07:00
Daniel Imms
f8ece108c6
Rerender cursor if state changes
2017-09-01 23:00:29 -07:00
Daniel Imms
4919c40b57
Add cursor to ITheme
2017-09-01 22:53:21 -07:00
Daniel Imms
dc1e727613
Support blurred cursor
2017-09-01 22:42:31 -07:00
Daniel Imms
b57b94ad0b
Improve focus/blur state, fire only once
...
Fixes #681
2017-09-01 22:02:12 -07:00
Daniel Imms
6ee8e9126a
Remove some old dead code
2017-09-01 21:38:35 -07:00
Daniel Imms
5cd189e2e0
Fix demo pty size
2017-09-01 21:36:20 -07:00
Daniel Imms
b0653fec68
Support underline
2017-09-01 21:24:17 -07:00
Daniel Imms
70764a74af
Use the proper bg/fg colors for inverse attr
2017-09-01 21:09:07 -07:00
Daniel Imms
1f444b1913
Support invisible attr
2017-09-01 20:51:18 -07:00
Daniel Imms
bf95333275
Fix the fit addon
2017-09-01 20:44:41 -07:00
Daniel Imms
2c9dbc6191
Add some jsdoc
2017-09-01 16:58:02 -07:00
Daniel Imms
de4fcb9241
Merge render layer interface types
2017-09-01 16:54:26 -07:00
Daniel Imms
bc3bdacdaa
Add a char atlas cache to allow different styles+reuse across terminals
2017-09-01 16:43:45 -07:00
Daniel Imms
62fea4d3ed
Add theme support
2017-09-01 15:50:18 -07:00
Daniel Imms
076156b66e
Properly support blinking cursors
2017-09-01 12:59:18 -07:00
Daniel Imms
3fc500b291
Pull cursor animation state management into a helper class
2017-09-01 12:11:07 -07:00
Daniel Imms
882d7e4a30
Add basic support for cursor blinking
2017-09-01 11:34:52 -07:00
Daniel Imms
848c85c1eb
Fix more cases where ' ' doesn't have code
2017-08-31 23:28:42 -07:00
Daniel Imms
81d93b8fbf
Ensure CharMeasure exposes integers
2017-08-31 23:23:04 -07:00
Daniel Imms
42e5b3473d
Don't clear fg char if it's null or ' '
2017-08-31 23:13:09 -07:00
Daniel Imms
510940389c
Provide convenience draw methods that deal with cells
2017-08-31 23:01:17 -07:00
Daniel Imms
9323833fcc
Move scaledCharWidth/Height into base render layer
2017-08-31 22:48:08 -07:00
Daniel Imms
6588e9e01b
Fix cursor which cursor character is rendered
2017-08-31 22:43:48 -07:00
Daniel Imms
15c73ef94f
Add fontSize and fontFamily options
2017-08-31 22:42:39 -07:00
Daniel Imms
c88824155f
Simplify color generation code
2017-08-31 21:18:55 -07:00
Daniel Imms
1998675dc0
Move char drawing to base and use in cursor layer
2017-08-31 17:29:58 -07:00
Daniel Imms
fe7b424ab8
Move char atlas into BaseRenderLayer
2017-08-31 17:20:50 -07:00
Daniel Imms
a91380a76f
Pull common parts into BaseRenderLayer
2017-08-31 17:13:15 -07:00
Daniel Imms
fd18f7cba7
Support basic cursor
2017-08-31 17:02:24 -07:00
Johannes Zellner
4a9143ab31
Check socket state before sending data
...
Maybe related to #929
2017-08-31 20:26:36 +02:00
Daniel Imms
d3650d9d80
Draw selection underneath foreground
2017-08-31 07:54:16 -07:00
Daniel Imms
dff3d16831
Support 256 color
2017-08-31 00:25:52 -07:00
Daniel Imms
d601f0aec2
Hang on to selection state to avoid redrawing
2017-08-31 00:13:49 -07:00
Daniel Imms
3d1bb2c60f
Support selection
2017-08-31 00:09:23 -07:00
Daniel Imms
5953bbab42
Start SelectionRenderLayer
2017-08-30 23:44:52 -07:00
Daniel Imms
7aff45c2dc
Remove additional frame skipping as rendering is so fast now
2017-08-30 23:39:33 -07:00
Daniel Imms
a224ed7cc7
Move canvas Renderer into folder
2017-08-30 23:06:55 -07:00
Daniel Imms
1291dc5571
Support inverse
2017-08-30 23:05:51 -07:00
Daniel Imms
6a0b9bd209
Only render fg cells if there are changes
2017-08-30 22:55:17 -07:00
Daniel Imms
d93a80398d
Draw unicode characters
2017-08-30 22:23:25 -07:00
Daniel Imms
129633a66d
Only draw background when needed
2017-08-30 22:09:25 -07:00
Daniel Imms
18e1134e61
Tidy up
2017-08-30 21:55:24 -07:00
Daniel Imms
2cb6593b6b
Move fg rendering into IRenderLayer
2017-08-30 21:44:41 -07:00
Daniel Imms
5961bdbd9e
typescript@2.3.0 for ImageBitmap interface
2017-08-30 21:44:18 -07:00
Daniel Imms
0db42e2056
Pull bg rendering into an IRenderLayer
2017-08-30 21:13:57 -07:00
Daniel Imms
137847e85c
Linkify all rows at once to prevent multiple timeout restarts
2017-08-30 19:27:37 -07:00
Daniel Imms
5ce39d3c81
GPU ascii rendering
2017-08-30 19:12:29 -07:00
Daniel Imms
e98794a0a7
progress
2017-08-30 17:27:20 -07:00
Daniel Imms
640cd18515
Support bold, underline, fix colors
2017-08-30 17:07:30 -07:00
Daniel Imms
c6d4c73c8a
Initial prototype
2017-08-30 14:50:16 -07:00
Daniel Imms
575c10114b
Merge pull request #931 from Tyriar/930_fix_alt_tab_stops
...
Properly setup and maintain tab stops for the alt buffer
2017-08-30 08:20:18 -07:00
Daniel Imms
a57e511fa3
Properly setup and maintain tab stops for the alt buffer
...
Fixes #930
2017-08-29 21:08:11 -07:00
Daniel Imms
38c66e7c1a
Merge pull request #928 from Tyriar/927_terminal_in_search
...
Don't include Terminal in search addon
2017-08-29 09:41:31 -07:00
Daniel Imms
5ca7c7e640
Merge pull request #923 from Tyriar/922_fix_scroll_RI
...
Fix issues with scroll and reverseIndex
2017-08-27 16:45:54 -07:00
Daniel Imms
6b8b32015d
Don't include Terminal in search addon
...
Fixes #927
2017-08-27 10:39:13 -07:00
ficristo
6900b4dadf
Do not browserify xterm again inside search addon.
2017-08-26 14:26:51 +02:00
Daniel Imms
bc86664726
Improve Buffer.resize to work with uninitialized buffers
...
Fixes #924
2017-08-25 13:14:30 -07:00
Daniel Imms
54cf30ae68
Remove test files
2017-08-25 12:47:45 -07:00
Daniel Imms
41463d8eb5
Make reverseIndex scroll region-aware
...
This was causing a issue when scrollback was 0 as the start of the
buffer was getting copied
2017-08-25 12:41:53 -07:00
Daniel Imms
a2161532db
Fix reverseIndex to work with scroll regions and 0 scrollback
2017-08-25 12:11:20 -07:00
Daniel Imms
9a8b7a4d8d
Fix scroll region scrolling with 0 scrollback
2017-08-25 11:26:46 -07:00
Daniel Imms
bfdc468d4b
Merge pull request #914 from Tyriar/913_mousedown_prop
...
Allow mousedown even to propagate on right click
2017-08-25 07:44:13 -07:00
Daniel Imms
b706383687
Allow mousedown even to propagate on right click
...
Fixes #913
2017-08-24 11:15:25 -07:00
Daniel Imms
6e9d60d76d
Merge pull request #912 from Tyriar/911_negative_scrollback
...
Prevent scrollback setOption < 0
2017-08-22 10:54:12 -07:00
dcylabs
79c5f64dd4
Merge branch 'v3' of https://github.com/dcylabs/xterm.js into v3
2017-08-22 00:34:07 +02:00
dcylabs
81cbeb1d5a
Fixed selection issue when terminal is in nested scrolled elements
2017-08-22 00:34:03 +02:00
Daniel Imms
877e1e5eb3
Prevent scrollback setOption < 0
...
Fixes #911
2017-08-21 14:30:56 -07:00
dcylabs
75ff924be1
Merge branch 'v3' of https://github.com/dcylabs/xterm.js into v3
2017-08-21 21:29:17 +02:00
dcylabs
d69a01193d
Fixed selection issue when terminal is in nested scrolled elements
2017-08-21 21:29:05 +02:00
dcylabs
e6c1ba29d9
Fixed selection issue when terminal is in nested scrolled elements
2017-08-21 20:44:02 +02:00
dcylabs
725ec80983
Fixed selection issue when terminal is in nested scrolled elements
2017-08-21 20:43:03 +02:00
dcylabs
7f49bd99c2
Fixed selection issue when terminal is in nested scrolled elements
2017-08-21 20:27:17 +02:00
Daniel Imms
abe32272dd
Merge pull request #909 from Tyriar/898_improve_types
...
Minor typings tweaks
2017-08-21 10:09:02 -07:00
Daniel Imms
8bc2242d9f
Add generic overloads to overloaded functions in d.ts
...
If we don't have this then tsc will throw errors when passing strings
to the functions, seems wrong to force casting strings to use the
functions, eg. <'bar'>style
2017-08-20 11:45:42 -07:00
Daniel Imms
cea3dd60b6
Add cols and rows to d.ts
2017-08-20 11:43:40 -07:00
Daniel Imms
7645bdd418
Merge pull request #899 from Tyriar/898_explicit_typings
...
Add explicit types
2017-08-20 10:34:38 -07:00
Daniel Imms
eda9443b1a
Allow null with cursorStyle and bellStyle
2017-08-20 10:29:48 -07:00
Daniel Imms
a0d8e3c666
Merge remote-tracking branch 'ups/v3' into 898_explicit_typings
2017-08-19 16:41:01 -07:00
Daniel Imms
f25104789e
Merge pull request #906 from npezza93/sync-bell-sound-on-change
...
When bellSound changes, update the bellAudioElements src
2017-08-19 16:40:08 -07:00
npezza93
f983e4eb6b
Combine preloadBellSound and syncBellSound into the same function
2017-08-19 18:03:04 -04:00
Daniel Imms
c984013e1e
Remove terminal from other events
2017-08-19 14:52:48 -07:00
Daniel Imms
8fdedd4da1
Slim down refresh and resize events
...
Fixes #903
2017-08-19 14:38:54 -07:00
Daniel Imms
e848d6afbe
Remove open event
...
Fixes #901
2017-08-19 14:33:41 -07:00
npezza93
81cb30833f
When bellSound changes, update the bellAudioElements src
...
Fixes #904
2017-08-19 16:55:24 -04:00
Daniel Imms
f520e27f40
Fix tests
2017-08-19 13:32:03 -07:00
Daniel Imms
fa015d91fe
Improve types and add bellStyle/bellSound
2017-08-19 13:30:37 -07:00
Daniel Imms
34e1ee2bf6
Fix typings test on Windows
2017-08-19 13:20:32 -07:00
Daniel Imms
5ab047ea0f
Merge remote-tracking branch 'ups/v3' into 898_explicit_typings
2017-08-19 13:20:19 -07:00
Daniel Imms
9ab17dec80
Merge pull request #878 from npezza93/add-bell-sound
...
If bell() gets called emit bell event and add default bell sound
2017-08-19 13:05:01 -07:00
npezza93
1f930c112b
Add bellAudioElement to helperContainer instead of element
2017-08-19 15:56:58 -04:00
npezza93
42c3eff3f7
Update css transitions
2017-08-19 15:55:19 -04:00
npezza93
121143515a
Change opacity on visual bell instead of background-color
2017-08-19 15:17:04 -04:00
npezza93
147fef74c6
Use removeChild instead of remove for compatibility
2017-08-19 15:16:21 -04:00
Daniel Imms
668b25eeb2
Fix license info and lint
2017-08-19 11:04:06 -07:00
Daniel Imms
34f5b2cb8a
Remove option overloads from src
...
src/ handles more than that specified (and should incase you're not
using TS), this also reduces duplication as the definitions are only
in typings/
2017-08-19 10:29:05 -07:00
Daniel Imms
380f950d4d
Clean up
2017-08-19 10:22:46 -07:00
Daniel Imms
6e2ca0af12
Fill out typings tests
2017-08-19 10:17:47 -07:00
Daniel Imms
fd8b62610f
Add typings test setup
2017-08-19 09:49:37 -07:00
Daniel Imms
4474f29ebf
Add link matcher APIs
2017-08-19 09:25:57 -07:00
Daniel Imms
cd29c83a64
Improve overloaded function typings/comments
2017-08-19 09:18:44 -07:00
npezza93
b0164e1f96
Update bell sound
2017-08-19 08:38:19 -04:00
Daniel Imms
e4e2fbf885
Add overloads for Terminal.on
2017-08-18 17:46:49 -07:00
Daniel Imms
92ac427d00
Type addon strings in loadAddon
2017-08-18 17:34:10 -07:00
Daniel Imms
3ba3638ab7
Include all APIs from website
2017-08-18 17:25:40 -07:00
Daniel Imms
2f60c241ee
Use manual typings over automatically generated ones
...
These are pulled from the typings I wrote for vscode
Fixes #898
2017-08-18 16:51:43 -07:00
Daniel Imms
ae0d5e4ffb
Merge pull request #893 from Tyriar/892_alt_buffer_viewport_exception
...
Prevent exception switching to alt buffer before open()
2017-08-18 16:04:22 -07:00
npezza93
68cd79db34
Set bellStyle to a string type instead of an array of strings
2017-08-17 19:44:37 -04:00
npezza93
8a6bff42c9
Remove bellAudioElement if it is not used. Remove extra import
2017-08-17 18:27:49 -04:00
npezza93
c88f50125b
Add a bellStyle dropdown in the demo
2017-08-17 18:02:12 -04:00
Daniel Imms
b5fc054fa5
Prevent exception switching to alt buffer before open()
...
Fixes #892
2017-08-17 08:36:08 -07:00
npezza93
0bb5ff8b09
Fix lints
2017-08-16 21:00:57 -04:00
npezza93
1d6f71d680
Fix bad merge
2017-08-16 20:39:28 -04:00
npezza93
3beb1f5c7c
Add return types on new private functions
2017-08-16 20:39:28 -04:00
npezza93
c41bd81526
Swap out bell sound for a free one
2017-08-16 20:39:28 -04:00
npezza93
2f1380a31d
Make bellStyle singular. Preload sound on option setting. Use strings as options
2017-08-16 20:39:28 -04:00
npezza93
d8717d64ba
Add visual bell styling for underline and bar cursor types
2017-08-16 20:39:27 -04:00
npezza93
96c9d50ee2
Fix some quote lints
2017-08-16 20:39:27 -04:00
npezza93
3027b1d3d4
Set the visual bell color to a light gray
2017-08-16 20:39:27 -04:00
npezza93
8c94ef8aa0
Clear out any existing vidualBellTimers. Set colors back to all white.
...
Use visual class instead of setting colors codes in js.
2017-08-16 20:39:27 -04:00
npezza93
44ed0b9ceb
Dont hardcode as many color codes in xterm.ts
2017-08-16 20:39:27 -04:00
npezza93
8a1f365a7e
Add ability to have a visual bell
2017-08-16 20:39:27 -04:00
npezza93
6b46e0837f
Move preloading bell audio to open() and append it the the terminal element
2017-08-16 20:39:26 -04:00
npezza93
fd51d0acf3
Preload bell audio
...
Allow the bellSound to be more easily configurable. You can pass false
to the bellSound and no sound will be played or you can pass it any
source you'd like.
2017-08-16 20:39:26 -04:00
npezza93
0eab4d68f6
Rename Bell.ts to Sounds that has BellSound constant
2017-08-16 20:39:21 -04:00
npezza93
245f62685a
If bell() gets called emit bell event and add default bell sound
2017-08-16 20:39:15 -04:00
Daniel Imms
f3d375a7a8
Merge pull request #855 from Tyriar/847_proper_scrollback_value
...
Make buffer length equal rows + scrollback, make alt buffer always 0 scrollback
2017-08-16 09:38:11 -07:00
Daniel Imms
39328d6e0c
Merge pull request #882 from Tyriar/406_remove_dist_bower
...
Remove bower support, clean up readme
2017-08-16 08:46:23 -07:00
Daniel Imms
7b0d0e810c
_isAltBuffer -> _hasScrollback
2017-08-16 08:45:30 -07:00
Daniel Imms
9dd1083918
Merge remote-tracking branch 'ups/v3' into 847_proper_scrollback_value
2017-08-16 08:41:42 -07:00
Daniel Imms
aa438c8b83
Merge pull request #874 from Tyriar/860_v3_resize_exception
...
Fix exception when resizing both dimensions
2017-08-16 08:29:35 -07:00
Paris Kasidiaris
cc7c310eee
Merge pull request #888 from LucaT1/patch-1
...
Add link to vterm
2017-08-16 17:55:02 +03:00
Luca
4ab6500c1c
Add link to vterm
2017-08-16 16:29:04 +02:00
Paris Kasidiaris
14c555fcfb
Merge pull request #886 from dgriffen/dgriffen-patch-1
...
Add link to Whack Whack Terminal
2017-08-15 23:05:28 +03:00
Daniel Griffen
bf7dc2f8dd
Add link to Whack Whack Terminal
2017-08-15 12:16:53 -07:00
Daniel Imms
d583163ac8
Move uses and browser support sections down
2017-08-12 14:48:38 -07:00
Daniel Imms
a3f7b36986
Remove bower from prepare-release
2017-08-12 14:45:21 -07:00
Daniel Imms
7c3189379c
Remove bower from .vscode/settings.json
2017-08-12 14:45:00 -07:00
Daniel Imms
fcd2ba78bb
Remove bower from README and reorganize/clean up
2017-08-12 14:44:49 -07:00
Daniel Imms
48b9173f2e
Remove bower.json
...
Part of #406
2017-08-12 14:17:03 -07:00
Daniel Imms
184f49d909
Remove dist folder
...
Part of #406
2017-08-12 13:54:34 -07:00
Daniel Imms
b8127b0d16
Merge pull request #879 from ioquatix/patch-1
...
Add link to script-runner.
2017-08-11 14:50:59 -07:00
Samuel Williams
1a50671823
Add link to script-runner.
2017-08-12 02:06:42 +12:00
Paris Kasidiaris
ea07bf8f69
Bump version to 2.9.2
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2017-08-09 06:48:24 +00:00
Daniel Imms
996eb1b06f
Merge remote-tracking branch 'ups/v3' into 847_proper_scrollback_value
2017-08-08 19:05:24 -07:00
Daniel Imms
ad1a42d210
Merge remote-tracking branch 'ups/master' into v3
2017-08-08 18:50:34 -07:00
Daniel Imms
0b1711fb79
Merge pull request #873 from Tyriar/860_resize_exception
...
Fix exception when resizing both dimensions
2017-08-08 18:03:02 -07:00
Daniel Imms
bb526aaa88
Fix exception when resizing both dimensions
...
This happened because buffers now resize themselves but they were
relying on Terminal to give them a blank line. The blank line was
coming back with the old columns value, causing an NPE.
Fixes #860
2017-08-08 12:59:02 -07:00
Daniel Imms
91bf3197ae
Merge pull request #868 from Tyriar/865_fix_module_build
...
Fix module build, add TS declaration files, fix search addon
2017-08-08 03:03:50 -07:00
Daniel Imms
17c3ec0d0c
Merge pull request #870 from Tyriar/869_shift_force_selection
...
Revert "Disable selection override on Windows/Linux"
2017-08-08 03:02:01 -07:00
Daniel Imms
8a17ac1baa
Merge pull request #849 from Tyriar/848_cancel_event_on_wheel
...
Properly cancel event when in mouse mode
2017-08-08 01:09:37 -07:00
Daniel Imms
a7aee75025
Merge pull request #858 from Tyriar/646_deprecated_focus
...
No longer focus the terminal by default
2017-08-08 01:05:42 -07:00
Daniel Imms
0902b92f79
Revert "Disable selection override on Windows/Linux"
...
This reverts commit 3479614c73 .
2017-08-08 01:05:24 -07:00
Daniel Imms
9659f29e50
Remove Terminal.open focus param
2017-08-08 00:59:14 -07:00
Daniel Imms
f21d5f25ec
Fix search addon after TS refactor
...
Fixes #867
2017-08-08 00:29:22 -07:00
Daniel Imms
3b787824d3
Fix import for CommonJS consumers
...
CommonJS now imports the Terminal object directly as the trick in xterm.ts
wasn't working properly.
Fixes #865
2017-08-08 00:24:41 -07:00
Daniel Imms
a0ce9a79a9
Build and export TS declaration files
...
Fixes #866
2017-08-07 23:48:58 -07:00
Daniel Imms
acefa1a423
Merge pull request #864 from Tyriar/862_tests_to_ts
...
Migrate tests to TypeScript
2017-08-07 23:34:55 -07:00
Daniel Imms
b42a9039cc
Rename TestUtils.ts to TestUtils.test.ts
...
This will allow it to be excluded when we do #863
2017-08-07 22:40:15 -07:00
Daniel Imms
b3ad3eff8b
Shuffle files around
...
src/test/escape-sequences-test.ts -> src/Terminal.integration.ts
src/test/escape_sequence_files/* -> fixtures/escape_sequence_files/
2017-08-07 22:38:42 -07:00
Daniel Imms
28c85b8fb9
Convert escape sequences test to TS
...
Part of #862
2017-08-07 22:24:22 -07:00
Daniel Imms
e9b0867bd2
addons/test.js and test.js -> Terminal.test.ts
...
Part of #862
2017-08-07 22:15:13 -07:00
Daniel Imms
f52b43b380
Merge pull request #861 from Tyriar/791_buffer_refactor
...
Refactor buffer in preparation for true color and buffer performance improvements
2017-08-07 16:03:00 -07:00
Daniel Imms
fd61c8e874
Use a const for all refs to data char and width
...
Part of #791
2017-08-07 15:40:48 -07:00
Daniel Imms
c2bb507fe4
Move BufferLines.ts into Buffer.ts
...
Part of #791
2017-08-07 15:22:58 -07:00
Daniel Imms
091854df0e
Merge pull request #852 from Tyriar/851_negative_tab_stop_width
...
Fix crash on negative tab stop width
2017-08-07 01:22:13 -07:00
Daniel Imms
a1b91e1f96
Merge pull request #856 from Tyriar/fix_vscode_debugging
...
Fix vscode debugging
2017-08-07 01:21:41 -07:00
Daniel Imms
b95d789821
Merge pull request #857 from Tyriar/744_remove_attachCustomKeydownHandler
...
Remove deprecated attachCustomKeydownHandler
2017-08-07 01:21:26 -07:00
Daniel Imms
de8947f3d0
Merge pull request #850 from peterbaumgarten/master
...
Marking that a C++ compiler is required to build
2017-08-06 19:40:18 -07:00
Daniel Imms
b1c6a97839
No longer focus the terminal by default
...
Fixes #646
2017-08-06 19:22:15 -07:00
Daniel Imms
8c46f1b6ba
Remove deprecated attachCustomKeydownHandler
...
Fixes #744
2017-08-06 19:19:49 -07:00
Daniel Imms
fb6cbbdaad
Fix vscode debugging
...
This broke when the TS addon was added
2017-08-06 19:02:56 -07:00
Daniel Imms
e7ee3ec63c
Fix trimming on a buffer with 0 scrollback
...
Unfortunately this removed the padding idea from CircularList as it
would only work when the list is not full.
2017-08-06 18:56:37 -07:00
Daniel Imms
a57f55dcbf
Support buffers with scrollback of 0, force alt as 0
...
Fixes #802
2017-08-06 18:18:49 -07:00
Daniel Imms
27f7679494
Add some padding and a shrink threshold to CircularList
...
This is needed so that resize is still performant. Now the list size is only
rebuild (O(n)) when it goes beyond 40 entries of the initial max length. The
List is also rebuilt when the size shrinks below 120 of the actual backing max
length (init_max_length + 40 - 120).
2017-08-06 14:17:30 -07:00
Daniel Imms
26977b370e
Fix crash on negative tab stop width
...
Fixes #851
2017-08-06 13:47:03 -07:00
Daniel Imms
109d467b95
Make buffer length = rows + scrollback
...
Fixes #847
2017-08-06 13:28:58 -07:00
Peter Baumgarten
63268318ed
Marking that a C++ compiler is required. On some linux distributions a C++ compiler is not installed by default. This can frustrate some new users.
2017-08-06 15:09:11 -05:00
Daniel Imms
45157d80c6
Properly cancel event when in mouse mode
...
Fixes #848
2017-08-06 12:59:40 -07:00
Daniel Imms
687a5e2efb
Merge pull request #846 from Tyriar/get-v3-level
...
Get v3 level with master
2017-08-06 11:28:18 -07:00
Daniel Imms
b07c0e4d23
Merge remote-tracking branch 'ups/master' into v3
2017-08-06 11:18:39 -07:00
Paris Kasidiaris
9358bf24db
Bump version to 2.9.1
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2017-08-06 21:03:59 +03:00
Daniel Imms
24932b16d7
jsdoc
2017-08-06 21:03:59 +03:00
Steven Silvester
6cdd5a6405
Prevent webpack error
2017-08-06 21:03:59 +03:00
Paris Kasidiaris
a28d9f1456
Bump version to 2.9.1
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2017-08-06 17:50:53 +00:00
Daniel Imms
3f5b4f49f2
Merge pull request #839 from Tyriar/335_xterm_to_ts
...
Convert xterm.js to TypeScript
2017-08-06 10:49:27 -07:00
Daniel Imms
fb6b173fe7
Merge pull request #843 from Tyriar/842_resize_buffers_bug
...
Resize both buffers on resize, clean up alt buffer state
2017-08-06 10:34:50 -07:00
Daniel Imms
1361ff8e22
Merge branch 'master' into 842_resize_buffers_bug
2017-08-06 10:25:38 -07:00
Daniel Imms
0731f28615
jsdoc
2017-08-06 10:25:25 -07:00
Paris Kasidiaris
f7b58d0718
Merge pull request #834 from blink1073/webpack-fix
...
Prevent Webpack warning in 2.9.0
2017-08-06 13:25:08 +03:00
Daniel Imms
6cf2e8753e
Remove comments
2017-08-06 01:44:27 -07:00
Daniel Imms
33cc78c987
Add explicit types on set/getOption
2017-08-06 01:42:57 -07:00
Daniel Imms
7cd8d1ec74
Resolve todos
2017-08-06 01:42:41 -07:00
Daniel Imms
e0809d526e
Type InputHandler tests
2017-08-06 00:58:21 -07:00
Daniel Imms
ae3169e6ae
Add CharData and LineData
2017-08-05 21:11:16 -07:00
Daniel Imms
2878d978c4
Fix lint
2017-08-05 21:06:04 -07:00
Daniel Imms
56ec6ed22c
Merge branch '842_resize_buffers_bug' into 335_xterm_to_ts
...
setOption('scrollback', 0) no longer returns false, it just warns.
2017-08-05 20:48:42 -07:00
Daniel Imms
d46003843b
Add tests for Buffer.fillViewportRows
2017-08-05 20:15:23 -07:00
Daniel Imms
13619d427a
Add a bunch of Buffer tests 🎉
2017-08-05 20:11:26 -07:00
Daniel Imms
f03d00a497
Clean up buffer clean up/fill logic
...
The alt buffer is now cleared immediated after activating the normal buffer and
is filled when switching to it. The tests were failing because the alt buffer
wasn't being cleared properly with the previous solution.
2017-08-05 19:42:54 -07:00
Daniel Imms
3d20c2f266
Resize both buffers on resize
...
This brings in proper support to resize both buffers (#510 ) and fixes an
exception that was caused by wrongfully not clearing the normal buffer when
resizing while the alt buffer is active.
There was an obscure bug in this that could have caused some great confusion
later on; When switching to the alt buffer, a hard terminal reset was performed
which tried to retain the buffers. However, because buffers was initialized in
the Terminal constructor to a new BufferSet, the Terminal.buffer convenience
pointer was pointing at a stale alt buffer which was the one actually being
used, not Terminal.buffers.alt.
Fixes #842
Fixes #510
2017-08-05 18:59:44 -07:00
Daniel Imms
f9fce53cc4
Add typedef tslint rule
2017-08-05 13:56:38 -07:00
Daniel Imms
aee474b53e
Type InputHandler._terminal
2017-08-05 12:57:29 -07:00
Daniel Imms
8a0bcf6b79
Clean up
2017-08-05 11:28:24 -07:00
Daniel Imms
ad25905783
Fix reset
2017-08-05 11:20:39 -07:00
Daniel Imms
0b5ff47cc0
Give terminal options a proper interface
2017-08-05 02:57:34 -07:00
Daniel Imms
da50e33aa8
Finish types on Terminal's properties
2017-08-05 02:50:44 -07:00
Daniel Imms
e6b431d92f
Add one-variable-per-declaration tslint rule
...
Multiple declarations per line makes it more difficult to read what
exactly is declared and generally makes code more verbose and less
likely to fill in types
2017-08-05 02:42:49 -07:00
Daniel Imms
7d1c5d1ac6
Fix tests
2017-08-05 02:34:21 -07:00
Daniel Imms
8903bddb17
Fix a bunch of warnings, remove dead code
2017-08-05 02:28:20 -07:00
Daniel Imms
41c335c0e6
The terminal works!
2017-08-05 02:22:43 -07:00
Daniel Imms
2104dccec5
Fix most errors in Terminal.ts
2017-08-05 01:58:42 -07:00
Daniel Imms
db5b908d62
Move xterm.js -> Terminal.ts
2017-08-05 00:22:31 -07:00
Steven Silvester
6f749b196a
Prevent webpack error
2017-08-03 14:43:51 -05:00
Paris Kasidiaris
f5ba386c01
Bump version to 2.9.0
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2017-08-03 18:43:14 +00:00
Daniel Imms
0079677e43
Merge pull request #781 from mofux/cursor_color
...
Retain the color of a character for underline and bar cursor styles
2017-08-03 09:16:23 -07:00
mofux
106eda7067
Merge changes from #828
2017-08-02 17:42:43 +02:00
Paris Kasidiaris
f13455965c
Merge pull request #828 from sourcelair/issue-#827-fix-terminal-focus
...
Always focus terminal on click
2017-08-02 18:33:51 +03:00
thomas
5bc0ad879b
Set xterm-color for cursor element
...
Prevent focus from getting lost when in vt mouse mode
Fix: cursor style not applied on init, set a class for block cursor
Make all cursors work under all conditions (focused, unfocused, blink)
Unify cursor rendering with normal rendering code
Make sure underline AND blink can be used in co-existence
Always show outlined block cursor in unfocused state
2017-08-02 15:41:18 +02:00
Paris Kasidiaris
72e85a352a
Focus on mousedown, instead of click
2017-08-02 16:03:56 +03:00
Paris Kasidiaris
49c1ca3f57
Fix #827 : Always focus terminal on click
2017-08-02 10:44:16 +03:00
Daniel Imms
bcff69b79c
Merge pull request #816 from joaomoreno/alt-selection
...
Alt key should force selection
2017-07-28 14:24:45 -07:00
Daniel Imms
3f7fec8c91
Merge branch 'master' into alt-selection
2017-07-28 14:07:43 -07:00
Daniel Imms
3479614c73
Disable selection override on Windows/Linux
2017-07-28 14:06:55 -07:00
Daniel Imms
34f075a8cc
Merge pull request #822 from Tyriar/818_fix_save_restore_cursor
...
Fix save and restore cursor behavior
2017-07-28 08:58:03 -07:00
Daniel Imms
ff165e8627
Merge branch 'master' into 818_fix_save_restore_cursor
2017-07-28 08:33:52 -07:00
Paris Kasidiaris
cdcbf60e44
Merge pull request #823 from jpmasters/master
...
Issue #821 - Prevent TypeError in resize()
2017-07-28 15:02:38 +03:00
Jon Masters
2d4e617c95
Issue #821 - Prevent TypeError in resize()
2017-07-28 11:54:46 +00:00
Daniel Imms
6ea7758ab1
Add test for save and restore cursor
2017-07-27 16:35:48 -07:00
Daniel Imms
604959a319
Fix save and restore cursor behavior
...
This broke in #717 .
Fixes #818
2017-07-27 16:28:27 -07:00
Joao Moreno
6a3b39b428
fix context menu in disabled state
2017-07-26 09:07:20 +02:00
Joao Moreno
9e80a12462
fix tests
2017-07-25 17:17:48 +02:00
Joao Moreno
0e0ecc2d6a
listen to shift when in Linux
2017-07-25 17:11:41 +02:00
Joao Moreno
f872ced863
oops, this is a function
2017-07-25 11:30:03 +02:00
Joao Moreno
9a30b98880
safeguard npe
2017-07-25 10:45:45 +02:00
Daniel Imms
f36bd24e1e
Merge pull request #817 from Lixire/master
...
Add lineFeed event
2017-07-24 14:58:32 -07:00
t-amqi
23dd3d7a67
Fix indentation
2017-07-24 13:41:24 -07:00
t-amqi
79965708ab
Add lineFeed event
...
- this is useful for checking when a cmd is entered or when a cmd finishes
- also handy to have for accessibility for output
2017-07-24 11:43:03 -07:00
Joao Moreno
80a83ff8d9
wip: alt forces selection
2017-07-24 18:08:11 +02:00
Daniel Imms
2e9177a032
Merge pull request #810 from Tyriar/809_onSingleClick_null_check
...
Make SelectionManager more resilient
2017-07-21 06:30:56 -07:00
Daniel Imms
bbb5daa575
Merge branch 'master' into 809_onSingleClick_null_check
2017-07-21 06:22:43 -07:00
Daniel Imms
739bd05037
Merge pull request #811 from blink1073/add-jupyter
...
Add JupyterLab as a real-world use case
2017-07-21 06:17:56 -07:00
Steven Silvester
f7197c10df
Add JupyterLab as a real-world use case
2017-07-21 07:59:28 -05:00
Daniel Imms
e56f710cd1
Make SelectionManager more resilient
...
Fixes #809
2017-07-21 05:45:53 -07:00
Daniel Imms
18f3cc77e5
Merge pull request #805 from Tyriar/801_null_check
...
Add null check when mouse coords are bad
2017-07-20 09:19:09 -07:00
Daniel Imms
e3ded61122
Add null check when mouse coords are bad
...
This happens if the viewport is bad (which was fixed in another commit).
Fixes #801
2017-07-18 20:34:24 -07:00
Daniel Imms
f8e3fa5a99
Fix browserify build and search addon ( #804 )
...
Fixes #803
2017-07-18 19:58:35 -07:00
Daniel Imms
05d308a37a
Merge pull request #798 from jerch/faster_wcwidth
...
faster wcwidth with lookup table
2017-07-18 14:23:42 -07:00
Jörg Breitbart
cd5827e69b
higher timeout for test case
2017-07-18 22:19:55 +02:00
Daniel Imms
20048d31a1
Merge branch 'master' into faster_wcwidth
2017-07-17 11:06:38 -07:00
Jörg Breitbart
598a729fc0
fixes #799 - lookup table is created on first wcwidth call for char > 127
2017-07-17 19:07:02 +02:00
Jörg Breitbart
6ed5c9e64d
speed test commented out
2017-07-16 23:53:41 +02:00
Jörg Breitbart
1232c00dd1
some fixes
...
- commenting the bit shifts
- switching to Uint32Array
- conditional for TypedArray
- fixing Math.floor slowdown in bisearch
2017-07-16 23:40:36 +02:00
Jörg Breitbart
5d87b54390
test speedup defensive
2017-07-16 14:09:25 +02:00
Jörg Breitbart
6733c6ce1f
test speedup defensive
2017-07-16 14:05:55 +02:00
Jörg Breitbart
ba2d0e8df2
fixing whitespaces
2017-07-16 13:57:04 +02:00
Jörg Breitbart
1722248065
fixing whitespaces
2017-07-16 13:48:48 +02:00
Jörg Breitbart
dd0fcb6320
fixing whitespaces
2017-07-16 13:44:00 +02:00
Jörg Breitbart
b965d0a0af
faster wcwidth with lookup table
2017-07-16 13:26:38 +02:00
Paris Kasidiaris
48dab494db
Install npm 5.1.0
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
42eacba09a
Update build dir
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
e2c993ebcd
Rearrange dependencies
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
634f4e29aa
Remove redundant comment
2017-07-16 03:47:15 +03:00
Daniel Imms
59f75555bc
Add IBuffer, IBufferSet and fix CircularList type
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
cb5a452c90
Implement tests for Buffer and BufferSet
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
58b9f712df
Improve documentation of Buffer and BufferSet classes
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
f09918f0d2
Fix variable name
2017-07-16 03:47:15 +03:00
Aleksandr Andriienko
4e35904392
Fix regression. Existing tests work again.
...
Signed-off-by: Aleksandr Andriienko <oandriie@redhat.com >
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
82b3beb921
Fix reference to terminal.buffer.lines
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
2806288489
Add semicolons
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
0d498fcd52
Correct references to buffer lines
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
83efc9afc4
Fix SelectionManager tests
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
393b411acc
Fix CircularList type and a typo
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
4effe1f1d9
Add buffers to the ITerminal
2017-07-16 03:47:15 +03:00
Oleksandr Andriienko
de82bd00ae
Fix some tests and docs, little code fix up.
...
Fix some tests and docs. Add ability to run one test file with help gulp task.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com >
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
d222eec9f7
Fix SelectionManager initializing
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
2cda163bcf
Fix forgotten merge conflict
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
9025d91f12
Fix first set of existing tests
2017-07-16 03:47:15 +03:00
Aleksandr Andrienko
6810de85e1
Fix turning from alt screen to normal screen and vice versa. Fix https://github.com/sourcelair/xterm.js/issues/229 .
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
4626e19b75
Move scrollTop and scrollBottom into Buffer
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
d75e0b99d5
Fix more references to buffer.x
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
73b4bfb5f8
Fix some references
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
bbafdd3d06
Start isolating buffer attributes into Buffer class
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
8ede1fc9d2
Create terminal.buffer convenience attribute
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
95cb6f30bb
Introduce new Buffer and BufferSet classes
2017-07-16 03:47:15 +03:00
Daniel Imms
c94fdaecb2
Merge pull request #797 from mofux/guard_selection_api
...
Guard public selection api
2017-07-14 10:31:25 -07:00
Daniel Imms
e2b43a4ced
Merge branch 'master' into guard_selection_api
2017-07-14 09:51:58 -07:00
Daniel Imms
1fd087e5d3
Merge pull request #795 from mofux/remove_unused_vars
...
Remove unused constants from the SelectionManager
2017-07-14 09:51:12 -07:00
mofux
6df6aad303
Improve guard expression for hasSelection
2017-07-14 18:41:55 +02:00
Daniel Imms
5140c83649
Merge branch 'master' into remove_unused_vars
2017-07-14 09:23:33 -07:00
mofux
1b6ce6dab6
Make sure selection manager is available (only after open() was called)
2017-07-14 18:40:32 +03:00
mofux
1cc0d43aa4
Clear selection on input
2017-07-14 18:40:32 +03:00
mofux
0af4b17c20
Guard public selection api
2017-07-14 15:56:14 +02:00
mofux
2275601bf7
Removed unused constants from the selection manager
2017-07-14 14:22:30 +02:00
Daniel Imms
7cfc2ffa32
Merge pull request #793 from Tyriar/bad_getOption_param
...
Remove bad getOption param
2017-07-13 12:45:18 -07:00
Daniel Imms
9e95024a9d
Merge branch 'master' into bad_getOption_param
2017-07-13 11:47:41 -07:00
Daniel Imms
87b76aadb7
Merge pull request #704 from Tyriar/553_find_api
...
Implement very basic find API
2017-07-13 11:12:45 -07:00
Daniel Imms
adc657898c
Remove bad getOption param
2017-07-13 09:23:56 -07:00
Daniel Imms
43b47abaa7
Merge branch 'master' into 553_find_api
2017-07-13 08:51:11 -07:00
Daniel Imms
2ebc926f4e
Merge pull request #761 from Tyriar/760_erase_in_display_scroll_bar
...
Ensure scroll bar is refreshed after erase all in display
2017-07-13 08:48:09 -07:00
Daniel Imms
af58643ee7
Merge branch 'master' into 553_find_api
2017-07-13 08:37:04 -07:00
Daniel Imms
9a358b2258
Merge branch 'master' into 760_erase_in_display_scroll_bar
2017-07-13 07:56:19 -07:00
Daniel Imms
25fc01cb81
Merge pull request #780 from mofux/mousedown_counter
...
[SelectionManager] Use event.detail instead for counting the mousedown event
2017-07-12 19:07:55 -07:00
Thomas Zilz
d3fe3a1960
Merge branch 'master' into mousedown_counter
2017-07-13 00:08:55 +02:00
Paris Kasidiaris
01453e9d40
Merge pull request #784 from chrmarti/chrmarti/20505
...
Check if we still need to measure the char size
2017-07-12 11:59:37 +03:00
Christof Marti
27f0eaf71d
Check if we still need to measure the char size ( fixes #785 )
2017-07-11 15:48:08 -07:00
thomas
9bd52820e7
use evt.detail as mouse counter
2017-07-11 20:13:13 +02:00
Paris Kasidiaris
86c5aa023f
Merge pull request #772 from mjbvz/add-search-exclude-for-vscode
...
Add search.exclude setting for vscode workspace
2017-07-11 20:58:47 +03:00
Paris Kasidiaris
4df8d3aada
Merge branch 'master' into add-search-exclude-for-vscode
2017-07-11 20:30:56 +03:00
Daniel Imms
8fab079ad6
Merge pull request #779 from stuicey/master
...
Add SSHy as real-world use
2017-07-11 09:55:11 -07:00
stuicey
e59d1f7a98
Add SSHy as real-world use
2017-07-11 16:08:39 +01:00
Paris Kasidiaris
5f817e88e7
Merge pull request #775 from deviantony/usage-portainer
...
Add Portainer.io as a real world use case
2017-07-11 10:59:35 +03:00
Anthony Lapenna
38de6cb46a
Update Portainer URL
2017-07-11 09:49:22 +02:00
Anthony Lapenna
e287edb6fe
Add Portainer.io as a real world use case
2017-07-11 09:48:11 +02:00
Matt Bierner
29545a90c6
Add search.exclude setting for vscode workspace
2017-07-10 14:46:25 -07:00
Daniel Imms
e849e3f206
Merge pull request #766 from Tyriar/765_scroll_needlessly
...
Don't refresh terminal when scrollDisp doesn't scroll
2017-07-10 07:31:47 -07:00
Daniel Imms
c3011cd3ea
Merge branch 'master' into 765_scroll_needlessly
2017-07-09 16:40:55 -07:00
Daniel Imms
e4770de9f2
Merge branch 'master' into 760_erase_in_display_scroll_bar
2017-07-09 16:40:47 -07:00
Paris Kasidiaris
99061c672c
Merge pull request #770 from lanwen/patch-1
...
Real world case: Selenoid UI
2017-07-09 14:02:47 +03:00
Kirill Merkushev
27fcd7c260
Real world case: Selenoid UI
...
http://aerokube.com/selenoid-ui/latest/#_logs
https://github.com/aerokube/selenoid-ui/blob/master/web/src/components/Log/index.js
2017-07-09 13:18:03 +03:00
Daniel Imms
4c0e7b2462
Merge remote-tracking branch 'ups/master' into 553_find_api
2017-07-09 01:57:04 -07:00
Daniel Imms
decd81bc1e
Merge pull request #690 from Tyriar/687_macos_ci
...
Skip failing tests of macOS and add to CI
2017-07-09 01:54:58 -07:00
Daniel Imms
73970ec5a2
Fix casing of search.js
2017-07-09 01:49:17 -07:00
Daniel Imms
c62923fb1d
Change case of browserify-addons files
2017-07-09 01:09:44 -07:00
Daniel Imms
c13b86a885
Add find to demo
2017-07-09 01:03:10 -07:00
Daniel Imms
2564592c09
Change case of search addon files
2017-07-09 00:55:50 -07:00
Daniel Imms
4b0cf2ffce
jsdoc
2017-07-09 00:43:31 -07:00
Daniel Imms
fab039ddf3
Rearrange module loader to work with browserify
2017-07-09 00:26:33 -07:00
Daniel Imms
3c0e142f73
Fix sourcemaps
2017-07-08 23:53:16 -07:00
Daniel Imms
80f7a37118
Point to search addon properly
2017-07-08 23:13:41 -07:00
Daniel Imms
11de0d0ca0
Merge remote-tracking branch 'ups/master' into 553_find_api
2017-07-08 23:07:57 -07:00
Daniel Imms
5e815de82a
Remove comments from Travis config
2017-07-08 19:13:43 -07:00
Daniel Imms
0536862b8f
Try fix build
2017-07-08 17:47:54 -07:00
Daniel Imms
b520e2fd35
Use standard naming for functions
2017-07-08 17:33:18 -07:00
Daniel Imms
740d4a45f9
Remove dependency on sleep module
2017-07-08 17:32:47 -07:00
Daniel Imms
cb53cdd728
Merge remote-tracking branch 'ups/master' into 687_macos_ci
2017-07-08 17:19:47 -07:00
Paris Kasidiaris
2b92996d7c
Bump version to 2.8.1
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2017-07-08 14:02:43 +00:00
Paris Kasidiaris
b8944beea9
Merge pull request #768 from Tyriar/767_initial_viewport_wrap
...
Properly mark initial viewport lines as wrapped
2017-07-08 16:49:46 +03:00
Paris Kasidiaris
67435edad7
Merge branch 'master' into 767_initial_viewport_wrap
2017-07-08 16:45:47 +03:00
Paris Kasidiaris
fc9a0f15db
Merge pull request #769 from sourcelair/fix-tests
...
Update jsdom to 11.1
2017-07-08 16:44:57 +03:00
Paris Kasidiaris
8a57489966
Add missing semicolon
2017-07-08 16:40:18 +03:00
Paris Kasidiaris
3a8c1b3fcd
Update copyright note
2017-07-08 16:36:19 +03:00
Paris Kasidiaris
0c2f079670
Update gulpfile.js
...
The `outDir` compiler option of TypeScript seems to be an absolute URL now.
2017-07-08 16:35:53 +03:00
Paris Kasidiaris
d266d995ab
Fix typo
2017-07-08 11:13:06 +03:00
Paris Kasidiaris
0ea2e9cfd6
Update jsdom to 1.11
...
Also, add package-lock.json
2017-07-08 10:59:38 +03:00
Daniel Imms
9b8cb03c55
Properly mark initial viewport lines as wrapped
...
Fixes #767
2017-07-07 11:18:18 -07:00
Daniel Imms
729f646a28
Use emit directly due to #766
2017-07-06 22:28:33 -07:00
Daniel Imms
85c892c218
Don't refresh terminal when scrollDisp doesn't scroll
...
Fixes #765
2017-07-06 21:16:20 -07:00
Daniel Imms
7f5e72dbdb
Ensure scroll bar is refreshed after erase all in display
...
Fixes #760
2017-07-05 13:06:10 -07:00
Paris Kasidiaris
479fb0e782
Bump version to 2.8.0
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2017-07-04 16:45:20 +00:00
Paris Kasidiaris
8ba11a2bd0
Merge pull request #752 from LucianBuzzo/751-IE11-demo
...
Add a Promise polyfill to the demo so that it works in IE11
2017-07-04 12:53:13 +03:00
Paris Kasidiaris
abc3f3b94d
Merge branch 'master' into 751-IE11-demo
2017-07-04 12:50:37 +03:00
Daniel Imms
67bc0456e0
Merge pull request #747 from anishathalye/master
...
Add scroll functionality for mobile
2017-07-03 21:48:00 -07:00
Daniel Imms
3e8ddd1966
Add jsdoc
2017-07-03 21:43:52 -07:00
Anish Athalye
6223342890
Add scroll functionality for mobile
2017-07-03 19:49:16 -07:00
Daniel Imms
9ddabb3fee
Merge pull request #750 from irokas/Rows-fix
...
Set minimum scrollback value to number of rows if needed on resize
2017-07-03 18:23:48 -07:00
Daniel Imms
af0030b580
Merge branch 'master' into Rows-fix
2017-07-03 18:14:31 -07:00
Paris Kasidiaris
b93271d9cd
Merge branch 'master' into 751-IE11-demo
2017-07-03 14:55:48 +03:00
Paris Kasidiaris
934ca6508f
Merge pull request #754 from LucianBuzzo/753-ie11-terminal-cursor
...
Add one class at a time to element for IE11 compatibility
2017-07-03 14:55:01 +03:00
Lucian Buzzo
7e210c7e6b
Add one class at a time to element for IE11 compatibility
...
Connects to #753
Element.classList.add() does not work with multiple arguments in IE.
2017-07-03 11:22:37 +01:00
Lucian Buzzo
e4970266d8
Add a Promise polyfill to the demo so that it works in IE11
...
Connects to #751
2017-07-03 11:05:35 +01:00
irokas
0a5d7a7bd2
Set minimum scrollback value to number of rows if needed on resize
2017-07-02 21:10:18 +00:00
Daniel Imms
31aab8ea6f
Merge pull request #746 from Tyriar/745_colon_word_sep
...
Remove colon from the selection word separators
2017-07-02 12:36:46 -07:00
Daniel Imms
857d9bcf2a
Merge branch 'master' into 745_colon_word_sep
2017-07-02 12:30:45 -07:00
Daniel Imms
7463166aec
Fix tests
2017-07-02 12:29:31 -07:00
Paris Kasidiaris
f80159fedc
Merge pull request #749 from irokas/fix-scrollback
...
Fix issue with small scrollback value
2017-07-02 14:39:07 +03:00
irokas
3180a6f6ec
Add test for scrollback fix
2017-07-02 14:34:19 +03:00
irokas
35d26f1d27
Fix issue with small scrollback value.
...
Closes #506
2017-07-02 14:22:24 +03:00
Daniel Imms
ca03f8928d
Remove colon from the word separators
...
Fixes #745
2017-06-30 17:07:52 -07:00
Daniel Imms
0b3d1e50a8
Merge pull request #741 from AndrienkoAleksandr/codeCleanUp
...
Little code clean up.
2017-06-30 09:50:54 -07:00
Daniel Imms
401886c7c3
Merge branch 'master' into codeCleanUp
2017-06-30 09:46:54 -07:00
Daniel Imms
4eac7661c2
Merge pull request #733 from Tyriar/732_drop_selection_on_alt
...
Drop selection when the active buffer changes
2017-06-30 09:40:49 -07:00
Daniel Imms
b8163cfbbf
Merge branch 'master' into 732_drop_selection_on_alt
2017-06-30 09:36:26 -07:00
Paris Kasidiaris
a9f82907ee
Merge pull request #743 from nechitai/add-user
...
Add hexlet.io to the users list
2017-06-30 15:40:30 +03:00
Artem Arbatskiy
57f4ae5320
Add hexlet.io to the users list
2017-06-30 18:30:02 +07:00
Aleksandr Andriienko
d1712424c8
Fix docs.
2017-06-30 09:57:24 +03:00
Oleksandr Andriienko
16f865987d
Little code clean up.
2017-06-29 23:36:07 +03:00
Daniel Imms
f071531494
Merge branch 'master' into 732_drop_selection_on_alt
2017-06-29 12:13:10 -07:00
Daniel Imms
618768c7ed
Merge pull request #738 from Tyriar/737_crlf_windows
...
Use crlf when copying on Windows
2017-06-29 12:12:56 -07:00
Daniel Imms
cfe22e6fd2
Use crlf when copying on Windows
...
Fixes #737
2017-06-29 07:38:41 -07:00
Daniel Imms
3961dd5a44
Merge branch 'master' into 732_drop_selection_on_alt
2017-06-28 15:21:27 -07:00
Daniel Imms
471e332036
Merge pull request #736 from AndrienkoAleksandr/master
...
Fix 'CR' issue on Linux based OS.
2017-06-28 12:45:16 -07:00
Oleksandr Andriienko
467e8c563a
Fix up.
2017-06-28 00:48:13 +03:00
Oleksandr Andriienko
5971630f64
Simplify .gitattributes
...
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com >
2017-06-28 00:39:16 +03:00
Oleksandr Andriienko
f7cc1058c7
Fix 'CR' issue on Linux based OS.
...
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com >
2017-06-27 23:25:01 +03:00
Daniel Imms
645a5920da
Drop selection when the active buffer changes
...
Fixes #732
2017-06-27 10:13:16 -07:00
Daniel Imms
baccca843c
Merge branch 'master' into 553_find_api
2017-06-22 19:37:18 -07:00
Daniel Imms
19381454ad
Get find working as an addon
2017-06-22 19:36:53 -07:00
Paris Kasidiaris
f95bc64971
Merge pull request #712 from chabou/customKeypressHandler
...
Add attachCustomKeyEventsHandler
2017-06-22 16:16:23 +03:00
Daniel Imms
0c7c307de3
Merge branch 'master' into customKeypressHandler
2017-06-21 08:51:15 -07:00
Daniel Imms
1c84881d00
Merge pull request #725 from Tyriar/724_fix_hasSelection
...
Have Terminal.hasSelection return false when no selection
2017-06-21 08:38:43 -07:00
Daniel Imms
f1252abbbe
Merge branch 'master' into 724_fix_hasSelection
2017-06-21 08:34:33 -07:00
Daniel Imms
11d6ca2aa1
Merge pull request #723 from Tyriar/699_linux_middle_click
...
Fix select and middle click to paste selection
2017-06-21 08:34:06 -07:00
Daniel Imms
eb59b90790
Merge branch 'master' into 699_linux_middle_click
2017-06-21 08:29:54 -07:00
Daniel Imms
4c3aa97917
Merge pull request #719 from Tyriar/718_selection_on_top
...
Render selection on top of rows
2017-06-21 08:29:40 -07:00
Daniel Imms
ba54f25b8c
Merge branch 'master' into 718_selection_on_top
2017-06-21 08:25:05 -07:00
Daniel Imms
af268f4968
Merge pull request #722 from Tyriar/721_firefox_contextmenu
...
Fix context menu in firefox
2017-06-21 08:24:52 -07:00
Daniel Imms
f93b24acc7
Merge branch 'master' into 553_find_api
2017-06-20 17:44:43 -07:00
Daniel Imms
6854def13c
Use case-insensitive search by default
2017-06-20 17:40:31 -07:00
Daniel Imms
63d63c27e7
Ensure outside selection pastes are respected
...
We were resetting the selection on every auxclick, meaning outside
selections could not be pasted in when the terminal had a current
selection.
2017-06-20 11:17:12 -07:00
Daniel Imms
ef1e2ab9e2
Use auxclick event
2017-06-20 10:49:58 -07:00
Daniel Imms
7b46940772
Have Terminal.hasSelection return false when no selection
...
Fixes #724
2017-06-20 10:38:33 -07:00
Daniel Imms
6f5f68df1a
Add a comment
2017-06-20 10:24:16 -07:00
Daniel Imms
dc165175cf
Handle middle click to paste selection
...
This appears to work in Chrome but not Firefox
2017-06-20 10:18:29 -07:00
Daniel Imms
32f1782c84
Fix context menu in firefox
...
Fixes #721
2017-06-20 10:01:39 -07:00
Daniel Imms
8811d96a8b
Fix selection going to clipboard
...
Part of #699
2017-06-19 15:45:18 -07:00
CHaBou
d11d74688e
Merge branch 'master' into customKeypressHandler
2017-06-19 22:10:03 +02:00
CHaBou
8e79d53d78
Add attachCustomKeyEventHandler()
...
Use a uniq customKeyEventHandler for keyDown and keyPress events
Mark and warn attachCustomKeydownHandler() as deprecated.
2017-06-19 22:03:19 +02:00
Daniel Imms
6dbc476cdc
Allow mouse events to pass through selection
2017-06-19 11:26:52 -07:00
Daniel Imms
57921e3fe0
Render selection on top of rows
...
Fixes #718
2017-06-19 11:18:55 -07:00
Daniel Imms
75b74ac4ff
Merge pull request #716 from Tyriar/697_select_to_word
...
Select to the word at the mouse after double click
2017-06-19 07:56:35 -07:00
Daniel Imms
1c659841fa
Merge branch 'master' into 697_select_to_word
2017-06-19 07:47:40 -07:00
Daniel Imms
9573357778
Merge pull request #715 from Tyriar/709_improve_selection
...
Improve selection cell selection
2017-06-19 07:47:15 -07:00
Daniel Imms
f11362a80d
Merge branch 'master' into 709_improve_selection
2017-06-19 07:39:29 -07:00
Daniel Imms
a01fbb636a
Merge pull request #714 from Tyriar/713_dblclick_word_separators
...
Don't select colon, quotes or brackets when double clicking
2017-06-19 07:39:15 -07:00
Daniel Imms
320fb55ddc
Use an enum for selection mode
2017-06-18 12:56:32 -07:00
Daniel Imms
4b170ca43f
Select to the word at the mouse after double click
...
Fixes #697
2017-06-18 12:52:43 -07:00
Daniel Imms
c6e7fb74ab
Merge branch 'master' into 709_improve_selection
2017-06-18 12:03:30 -07:00
Daniel Imms
b05814e6a5
Improve selection cell selection
...
Fixes #709
2017-06-18 12:02:58 -07:00
Daniel Imms
07882c42dc
Also consider ' and " word separators
...
For example URIs in json
2017-06-18 11:51:00 -07:00
Daniel Imms
a59b2f8433
Merge branch 'master' into 713_dblclick_word_separators
2017-06-18 11:08:22 -07:00
Daniel Imms
7f2e94c30c
Don't select colon or brackets when double clicking
...
Fixes #713
2017-06-18 10:38:04 -07:00
CHaBou
95aed8fcb0
Add customKeypressHandler
2017-06-16 20:23:48 +02:00
Daniel Imms
663d3b24cd
Merge pull request #711 from sourcelair/Tyriar-patch-1
...
Move latest addition to real world use cases to the end
2017-06-16 07:17:39 -07:00
Daniel Imms
a87303f375
Move latest addition to real world use cases to the end
...
Seems a little unfair to not be at the end, to date it's sorted by date added.
2017-06-16 07:13:03 -07:00
Paris Kasidiaris
259858fac2
Merge pull request #710 from alex-kovoy/alex-kovoy-patch-1
...
Added 'Gravitational Teleport' to Real-world uses
2017-06-15 23:15:04 +01:00
Alexey Kontsevoy
a4514ee98a
Added 'Gravitational Teleport' to Real-world uses
...
We use xterm.js in Gravitational Teleport.
2017-06-15 18:05:07 -04:00
Daniel Imms
39151e4354
Merge branch 'master' into 553_find_api
2017-06-15 09:11:32 -07:00
Daniel Imms
d27b7bfa7a
Merge pull request #707 from jdanyow/issue-683
...
normalize line endings to \r
2017-06-14 15:22:04 -07:00
Jeremy Danyow
ce61795c38
normalize line endings to \r
...
fixes #683
2017-06-14 14:51:36 -07:00
Daniel Imms
528f06bc62
Remove log
2017-06-13 20:03:29 -07:00
Daniel Imms
5360277594
Merge remote-tracking branch 'origin/master' into 553_find_api
2017-06-13 19:57:52 -07:00
Daniel Imms
b957130787
Consolidate translateBufferLineToString functions
2017-06-13 19:55:29 -07:00
Daniel Imms
f88dcd160c
Expose API on Terminal
2017-06-13 19:49:12 -07:00
Daniel Imms
7d8f698096
Add findPrevious
2017-06-13 19:43:18 -07:00
Daniel Imms
d3f5a06517
Fix search scrolling up
2017-06-13 19:34:25 -07:00
Daniel Imms
9cc878cea7
Merge pull request #688 from Tyriar/642_link_wrapped_char_duplication
...
Fix issue with strings in wrapped spans being duplicated
2017-06-13 14:53:23 -07:00
Daniel Imms
087acf8a9a
Merge branch 'master' into 642_link_wrapped_char_duplication
2017-06-13 14:45:17 -07:00
Daniel Imms
7612180276
Merge pull request #691 from Tyriar/mid_selection_single_element
...
Use a single element for the middle of the selection
2017-06-13 14:45:11 -07:00
Daniel Imms
201e3e4dab
Merge branch 'master' into mid_selection_single_element
2017-06-13 14:40:48 -07:00
Daniel Imms
55f51ad169
Merge pull request #693 from Tyriar/443_retain_wrapped_lines_copy
...
Retain wrapped line state when copying
2017-06-13 14:40:41 -07:00
Daniel Imms
405d1ee52d
Merge branch 'master' into 443_retain_wrapped_lines_copy
2017-06-13 14:32:01 -07:00
Daniel Imms
5f9ad5c19e
Merge pull request #700 from Tyriar/698_mousedown_preventDefault
...
Prevent mousedown event default selection behavior
2017-06-13 14:31:50 -07:00
Daniel Imms
280b698a50
More work on findNext
2017-06-12 21:59:46 -07:00
Daniel Imms
8d12881a1c
Very basic find implementation
...
Part of #553
2017-06-12 16:27:13 -07:00
Daniel Imms
c5cfa409b1
Merge branch 'master' into 698_mousedown_preventDefault
2017-06-12 14:53:48 -07:00
Daniel Imms
2a0f44b0fb
Prevent mousedown event default selection behavior
...
Fixes #698
2017-06-12 14:51:58 -07:00
Daniel Imms
7d0e585c44
Merge branch 'master' into 642_link_wrapped_char_duplication
2017-06-11 11:34:22 -07:00
Daniel Imms
a5ced5d909
Merge branch 'master' into mid_selection_single_element
2017-06-11 11:34:20 -07:00
Daniel Imms
0a99f65f01
Merge branch 'master' into 443_retain_wrapped_lines_copy
2017-06-11 11:34:17 -07:00
Daniel Imms
c33814a7a6
Merge pull request #680 from Tyriar/set_row_height_explicitly
...
Set row height when char size is changed
2017-06-10 10:25:06 -07:00
Daniel Imms
0950369a5c
Merge remote-tracking branch 'origin/master' into set_row_height_explicitly
2017-06-10 10:21:20 -07:00
Daniel Imms
346b5177bc
Retain wrapped line state when copying
...
Fixes #443
2017-06-09 17:12:00 -07:00
Daniel Imms
9246d524cb
Use a single element for the middle of the selection
...
This reduces the number of DOM nodes used for the selection dramatically.
2017-06-09 16:35:26 -07:00
Daniel Imms
6480933861
Skip failing tests of macOS and add to CI
...
Fixes #687
2017-06-09 16:27:47 -07:00
Daniel Imms
a889fef752
Merge pull request #670 from Tyriar/207_selection_manager
...
Reimplement selection in the terminal
2017-06-09 13:41:34 -07:00
Daniel Imms
6075498c24
Add class header comments
2017-06-09 12:47:16 -07:00
Daniel Imms
ee1da73a69
Add regression test
2017-06-09 11:59:18 -07:00
Daniel Imms
29ac6a153e
Fix issue with strings in wrapped spans being duplicated
...
This was happening because the linkifier assumed that top-level spans
in the terminal would only contain single text nodes
Fixes #642
2017-06-09 11:48:12 -07:00
Daniel Imms
264757e964
Use user-select supported by other browsers
2017-06-07 19:23:46 -07:00
Daniel Imms
e88a9ffd89
Fix bug when selection end is less than start
2017-06-07 19:17:38 -07:00
Daniel Imms
d56a611a19
Add .gitattributes file
...
Makes working on Windows less bothersome.
2017-06-07 19:16:59 -07:00
Daniel Imms
28ed7772c6
Select last character in bottom right in select all
2017-06-07 14:44:16 -07:00
Daniel Imms
a047359f81
Add more selection manager/model tests
2017-06-07 14:37:09 -07:00
Daniel Imms
b81c165bea
Add SelectionModel tests
2017-06-07 14:15:18 -07:00
Daniel Imms
4405f5e163
Fix clearSelection in select all mode
2017-06-07 13:48:12 -07:00
Daniel Imms
2012c8c91d
Move prepareTextForClipboard logic into SelectionManager
2017-06-07 13:42:08 -07:00
Daniel Imms
f719a4e91b
Fix tests
2017-06-07 13:20:44 -07:00
Daniel Imms
5d33727ae4
Add clearSelection API
2017-06-07 13:07:34 -07:00
Daniel Imms
1343b83fc3
Add hasSelection public API
2017-06-07 12:40:48 -07:00
Daniel Imms
9e47ec9af2
Add getSelectionText API
...
This allows consumers to implement their own copy functionality/keybindings
2017-06-07 11:59:28 -07:00
Daniel Imms
9c459aacc7
Explicitly size selectionContainer to allow for more flexible layouts
2017-06-07 11:48:31 -07:00
Daniel Imms
72724abac8
Ensure host program handles copy if mouseevents are active
2017-06-07 11:20:03 -07:00
Daniel Imms
9a86eeb333
Support copying in the alt buffer
2017-06-07 11:10:05 -07:00
Daniel Imms
46f6fd18b0
Merge remote-tracking branch 'ups/master' into set_row_height_explicitly
2017-06-06 14:34:07 -07:00
Daniel Imms
603f22a7bb
Set row height when char size is changed
...
When zoomed in line-height and actual rendered row height differs. This
can be seen in the viewport being too large when zoomed in right now
but also has additional impacts in the new selection model #207
2017-06-06 14:31:57 -07:00
Daniel Imms
13c401cbaa
Only refresh the selection on an animation frame
2017-06-06 10:52:42 -07:00
Daniel Imms
b812991072
Fix multiple drag scroll intervals being registered
2017-06-06 10:40:22 -07:00
Daniel Imms
2b2431824f
Fix select all with no start and include content below viewport
2017-06-06 23:13:50 -07:00
Daniel Imms
7147787441
Undo CiruclarList id changes, fix null check, lint
2017-06-06 22:59:16 -07:00
Daniel Imms
ec3bf1139d
Resolve TODOs
2017-06-06 22:33:32 -07:00
Daniel Imms
d0b603d033
jsdoc all of SelectionManager
2017-06-06 21:55:52 -07:00
Daniel Imms
2621be819e
Resolve more TODOs, add jsdoc
2017-06-06 21:43:19 -07:00
Daniel Imms
f380153f42
Resolve some TODOs
2017-06-06 21:29:30 -07:00
Daniel Imms
fd91c5e1a8
Add _selectLineAt test
2017-06-06 15:22:35 -07:00
Daniel Imms
f61d852f3c
Don't allow double click selection on empty row going out of viewport
2017-06-06 15:05:22 -07:00
Daniel Imms
5bc1112151
Select lines when dragging a triple click
2017-06-06 15:02:52 -07:00
Daniel Imms
59cc0b675e
Merge remote-tracking branch 'ups/master' into 207_selection_manager
2017-06-06 14:35:06 -07:00
Daniel Imms
db8ded2a02
Implement shift+click
2017-06-06 14:19:12 -07:00
Paris Kasidiaris
4b7279146a
Bump version to 2.7.0
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2017-06-06 15:04:59 +00:00
Paris Kasidiaris
c4a2f7911d
Merge pull request #674 from sourcelair/issue-#671-restore-paste-event
...
Restore the "paste" terminal event
2017-06-06 11:23:18 +03:00
Paris Kasidiaris
db9fe53af3
Merge branch 'master' into issue-#671-restore-paste-event
2017-06-06 11:16:16 +03:00
Daniel Imms
d3865ad23f
Add some SelectionManager selectWorkAt tests, fix lint
2017-06-01 17:36:47 -07:00
Daniel Imms
8b1067d180
Remove no longer valid clipboard test and add new one
2017-06-01 17:11:07 -07:00
Daniel Imms
a53a0acd65
Fix issue with trimming whitespace
2017-06-01 17:04:59 -07:00
Daniel Imms
42724c7f42
Merge pull request #672 from Tyriar/662_parser_state_hack
...
Fix bug with parser state when using vtop
2017-05-27 15:07:52 -07:00
Paris Kasidiaris
616f069538
Fix #671 - Restore paste event
2017-05-27 15:30:26 +03:00
Daniel Imms
11cec31da6
Clean up wide char select word code
2017-05-25 21:12:44 -07:00
Daniel Imms
d9991b25a4
Support wide char double click
2017-05-25 20:48:48 -07:00
Daniel Imms
cb6533f3a6
Get double click selection for wide chars mostly working
2017-05-25 20:22:43 -07:00
Daniel Imms
54e7f65d4e
Support selecting wide characters
2017-05-25 19:34:32 -07:00
Daniel Imms
ec61f3acf0
Only trim the right whitespace from selection
...
Fixes #673
2017-05-25 18:52:06 -07:00
Daniel Imms
910aa1ad7f
Properly prepare text for clipboard for context menu
...
This makes the context menu in macOS embed the right text
2017-05-25 18:12:03 -07:00
Daniel Imms
24bed01fa4
Support copy and paste via context menu
2017-05-25 16:17:43 -07:00
Daniel Imms
f7d6ab5f2a
Move the selection model to its own module
2017-05-25 13:20:57 -07:00
Daniel Imms
0716cffd7d
Tidy up _areSelectionValuesReversed
2017-05-25 12:46:54 -07:00
Daniel Imms
e29ab29441
Fix drag when selectioning via double/triple click
2017-05-25 12:46:08 -07:00
Daniel Imms
9f271de803
Implement triple click to select line
2017-05-25 12:27:47 -07:00
Daniel Imms
43c796a781
Support copying of select all text
2017-05-25 11:35:22 -07:00
Daniel Imms
25152e4441
Add select all API
2017-05-25 10:14:40 -07:00
Daniel Imms
3846fe0a7d
Add null checks to fix trim related crash
2017-05-25 09:55:08 -07:00
Daniel Imms
b3b2bd1faf
Don't flag user scrolling if no scrolling happens
2017-05-25 09:51:13 -07:00
Daniel Imms
2c3d98abc8
Fix bug with parser state when using vtop
...
Fixes #662
2017-05-25 09:36:59 -07:00
Daniel Imms
0dc3dd0336
Initial scroll drag implementation
2017-05-23 11:20:55 -07:00
Daniel Imms
c4762e7228
Merge remote-tracking branch 'ups/master' into 207_selection_manager
2017-05-22 19:51:42 -07:00
Daniel Imms
35b32b721e
Merge pull request #668 from Tyriar/fix_pt_valid_var_declarations
...
Declare pt and valid vars in correct spot
2017-05-22 08:19:52 -07:00
Daniel Imms
ccf1a047d3
Merge branch 'master' into fix_pt_valid_var_declarations
2017-05-22 08:03:53 -07:00
Daniel Imms
db0338cbcf
Merge pull request #669 from Tyriar/pull_getCoords_into_module
...
Pull get coords into module
2017-05-22 08:03:31 -07:00
Daniel Imms
06742eb507
Merge branch 'master' into pull_getCoords_into_module
2017-05-22 07:57:55 -07:00
Daniel Imms
0fab4ff5d1
Merge pull request #667 from Tyriar/add_missing_emit_arg
...
Add missing EventEmitter.emit args/types
2017-05-22 07:57:35 -07:00
Daniel Imms
d2b0d514f8
Add missing semi-colons
2017-05-21 13:51:02 -07:00
Daniel Imms
ab40908fa4
Disable selection manager in mouse mode
...
This allows the application to take full control of the selection
2017-05-21 12:35:07 -07:00
Daniel Imms
a5c48c891e
Temp fix until mouse getCoords PR merged
2017-05-21 12:16:36 -07:00
Daniel Imms
70e35de56b
Polish comments and cap code
2017-05-21 12:05:30 -07:00
Daniel Imms
c323e0ad4a
jsdoc
2017-05-21 11:57:24 -07:00
Daniel Imms
4d32826891
Pull getCoords into a Mouse util module
...
This is part of the work to prepare for the upcoing selection changes
Related #207
2017-05-21 11:50:01 -07:00
Daniel Imms
13088f55a0
Declare pt and valid vars in correct spot
2017-05-21 11:27:57 -07:00
Daniel Imms
ea008411e4
Add missing EventEmitter.emit args/types
2017-05-21 11:25:18 -07:00
Daniel Imms
e63fdf580b
Clean up
2017-05-20 15:21:12 -07:00
Daniel Imms
597c6939c8
Handle basic double click select
2017-05-20 00:17:23 -07:00
Daniel Imms
293ae18a11
Fix copy after scroll
2017-05-20 00:01:55 -07:00
Daniel Imms
32b34cbe4c
Handle copy
2017-05-19 23:53:20 -07:00
Daniel Imms
2f6d05f99d
Handle scrolling of selection
2017-05-19 23:32:26 -07:00
Daniel Imms
ad3ae67e70
Get selection partially rendering
2017-05-19 23:29:51 -07:00
Daniel Imms
b594407cd5
Tell renderer to draw selection
2017-05-19 20:06:05 -07:00
Daniel Imms
207c4cf961
More work on SelectionManager
2017-05-19 19:57:52 -07:00
Daniel Imms
fe11837a61
Create new entries when shifting
2017-05-19 19:11:28 -07:00
Daniel Imms
fee912023f
Merge remote-tracking branch 'ups/master' into 207_selection_manager
2017-05-19 18:38:24 -07:00
Daniel Imms
a95ac990ff
Merge pull request #450 from Tyriar/449_keep_span_pool
...
Keep row spans in an object pool to reduce garbage collection by reusing DOM nodes
2017-05-16 10:12:27 -07:00
Daniel Imms
aad8439542
Fix lint errors
2017-05-16 10:07:55 -07:00
Daniel Imms
1a777edffe
Add missing return type
2017-05-16 10:04:12 -07:00
Daniel Imms
537018f71f
DomElementObjectPool jsdoc
2017-05-16 10:03:56 -07:00
Daniel Imms
67ca3a9334
More string interpolation
2017-05-16 09:57:50 -07:00
Daniel Imms
5fb30979c1
Add jsdoc back, was lost in merge
2017-05-14 14:28:06 -07:00
Daniel Imms
cf863d4849
Use string interpolation
2017-05-14 14:26:45 -07:00
Daniel Imms
47814847f9
Remove var usages
2017-05-14 12:47:17 -07:00
Daniel Imms
9ec8974545
More clean up
2017-05-14 12:40:45 -07:00
Daniel Imms
c887c6e0f6
Clean up
2017-05-14 12:27:06 -07:00
Daniel Imms
6c8949bba1
Only wrap single width unicode chars
2017-05-14 12:20:01 -07:00
Daniel Imms
508d3ab68c
Merge remote-tracking branch 'ups/master' into 449_keep_span_pool
2017-05-14 12:09:47 -07:00
Paris Kasidiaris
6dad013783
Merge pull request #659 from jdanyow/paste
...
Normalize line endings on paste
2017-05-11 12:28:38 +03:00
Jeremy Danyow
0532e5cbf0
Normalize line endings on paste
2017-05-09 15:21:56 -07:00
Daniel Imms
abcdf3e252
Merge branch 'master' into 449_keep_span_pool
2017-05-08 11:35:42 -07:00
Daniel Imms
3baa6b9237
Wrap all characters temporarily in spans to force fixed with
...
Fixes #467
2017-05-07 16:08:01 -07:00
Daniel Imms
23e6a475ee
Merge remote-tracking branch 'origin/master' into 449_keep_span_pool
2017-05-07 15:49:40 -07:00
Daniel Imms
65256c8751
Support an entry ID in CircularList
...
This is needed to keep track of which row is which outside of the class
2017-05-05 20:24:25 -07:00
Daniel Imms
b36d8780fd
Clean up
2017-05-05 17:40:23 -07:00
Daniel Imms
70fda99415
Basic fetching of coordinates
2017-05-05 17:36:15 -07:00
Paris Kasidiaris
2221f70ff0
Bump version to 2.6.0
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2017-05-04 15:38:52 +00:00
Daniel Imms
daad8d9c04
Merge pull request #652 from Tyriar/651_fix_travis_fail
...
Force failing mocha tests to return a exit code of 1
2017-05-04 08:35:37 -07:00
Daniel Imms
03d26e39c7
Force failing mocha tests to return a exit code of 1
...
Fixes #651
2017-05-03 10:06:53 -07:00
Paris Kasidiaris
64d3c089a2
Merge pull request #647 from Martin1994/orion_use
...
Add "Eclipse Orion" to "Real-World Uses".
2017-05-02 00:37:38 +03:00
Martin Chloride
938c011e63
Added "Eclipse Orion" to "Real-World Uses".
2017-05-01 17:12:07 -04:00
Paris Kasidiaris
66f6b88333
Merge pull request #645 from sourcelair/issue-#640-do-not-focus-on-open
...
Add `focus` argument in `Terminal.prototype.open`
2017-05-01 01:07:00 +03:00
Paris Kasidiaris
35f746c925
Add focus argument in Terminal.prototype.open
...
Fix #640
2017-04-26 10:37:07 +00:00
Paris Kasidiaris
944da28089
Merge pull request #643 from jsmecham/patch-1
...
Add "Terminal for Atom" to Real-World Uses
2017-04-24 17:43:20 +03:00
Justin Mecham
8f3e2b645a
Added "Terminal for Atom" to Real-World Uses.
2017-04-23 14:36:01 -04:00
Daniel Imms
82b2a5305f
Merge pull request #639 from Tyriar/638_retain_cursor_blink_interface
...
Keep cursor blink interval after a reset
2017-04-21 17:59:51 -07:00
Daniel Imms
6a2852ee26
Merge branch 'master' into 638_retain_cursor_blink_interface
2017-04-21 17:53:49 -07:00
Daniel Imms
526d6c4da9
Merge pull request #641 from Tyriar/support_demo_cursorStyle
...
Support cursorStyle selection in demo
2017-04-20 10:33:30 -07:00
Daniel Imms
46d62f4972
Support cursorStyle selection in demo
2017-04-19 18:16:48 -07:00
Daniel Imms
5cafcdb695
Keep cursor blink interval after a reset
...
Fixes #638
2017-04-19 11:22:18 -07:00
Paris Kasidiaris
2674258ead
Merge pull request #635 from rstudio/master
...
Update README with RStudio under real-world uses.
2017-04-15 01:15:27 +03:00
Gary Ritchie
b38be3a1d0
Update README with RStudio under real-world uses.
2017-04-14 10:50:15 -07:00
Daniel Imms
18a9f05626
Merge pull request #628 from saulcosta18/patch-1
...
Added Codevolve.com to README
2017-04-06 13:01:16 -07:00
Saul Costa
bf34980c43
Added Codevolve.com to README
...
We use xterm.js for our courses at Codevolve.
2017-04-06 12:50:41 -07:00
Paris Kasidiaris
d2f8f9dc1a
Bump version to 2.5.0
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2017-04-05 18:48:57 +00:00
Daniel Imms
df13469b6e
Merge pull request #627 from Tyriar/591_element_on_validation
...
Give API access to valid link elements
2017-04-05 11:34:34 -07:00
Daniel Imms
584ec681af
Merge remote-tracking branch 'ups/master' into 591_element_on_validation
2017-04-04 09:50:04 -07:00
Daniel Imms
0c5b5cca4a
Merge pull request #623 from Tyriar/612_multiple_links_in_row
...
Support multiple link matches in a single row
2017-04-04 09:41:19 -07:00
Daniel Imms
64663bf4a8
Fix tests
2017-04-04 09:35:52 -07:00
Daniel Imms
fe8334a873
Merge remote-tracking branch 'ups/master' into 612_multiple_links_in_row
2017-04-04 09:33:53 -07:00
Daniel Imms
c74fd40e2a
Merge pull request #619 from Tyriar/618_register_link_before_dom
...
Allow links to be registered before terminal is attached to DOM
2017-04-04 09:13:09 -07:00
Daniel Imms
0f8ff67451
Merge branch 'master' into 618_register_link_before_dom
2017-04-04 09:02:37 -07:00
Daniel Imms
8b0032c210
Merge branch 'master' into 612_multiple_links_in_row
2017-04-04 09:02:35 -07:00
Daniel Imms
d9254ef2d9
Merge pull request #626 from Tyriar/625_cursor_blink_perf
...
Use setInterval over animation for cursor blink
2017-04-04 09:02:27 -07:00
Daniel Imms
66be05a962
Merge branch 'master' into 612_multiple_links_in_row
2017-04-04 09:00:47 -07:00
Daniel Imms
0e85a09dd3
Merge branch 'master' into 618_register_link_before_dom
2017-04-04 08:58:43 -07:00
Daniel Imms
0c4ba9fd67
Clear cursor blink interval on blur
2017-04-03 15:09:38 -07:00
Daniel Imms
aca81c764a
Use setInterval over animation for cursor blink
...
Fixes #625
2017-04-03 14:49:21 -07:00
Daniel Imms
6b3ddb97d1
Merge pull request #624 from InDieTasten/patch-1
...
Fix typos in comment
2017-03-31 13:27:29 -07:00
InDieTasten
26ccf2a316
Fix typos in comment
2017-03-31 22:16:11 +02:00
Daniel Imms
361894194a
Merge branch 'master' into 612_multiple_links_in_row
2017-03-31 03:06:23 -07:00
Daniel Imms
8c2db8ddb8
More tests
2017-03-31 02:10:07 -07:00
Daniel Imms
5546baa927
Fix edge case
2017-03-31 01:54:21 -07:00
Daniel Imms
d814009721
Add tests
2017-03-31 01:48:51 -07:00
Daniel Imms
08fd050c3f
Support multiple link matches in a single row
...
Fixes #612
2017-03-31 01:48:35 -07:00
Daniel Imms
0b096d7d55
Merge pull request #621 from coderaiser/patch-1
...
Added Cloud Commander to real world uses
2017-03-30 11:31:11 -07:00
coderaiser
44cfb2dc87
Added Cloud Commander to real world uses
2017-03-30 14:26:56 +03:00
Daniel Imms
b0624cadb7
Allow links to be registered before terminal is attached to DOM
...
Fixes #618
2017-03-24 11:04:04 -07:00
Paris Kasidiaris
045f361b0d
Merge pull request #616 from LucianBuzzo/crop-lines
...
Prevent line data from being discarded on resize.
2017-03-20 09:52:22 +00:00
Lucian Buzzo
cb77b9dc1a
Prevent line data from being discarded on resize.
2017-03-19 08:26:37 +00:00
Paris Kasidiaris
0723dac596
Merge pull request #615 from andfoy/patch-1
...
Added Spyder IDE Terminal as a xterm case-use application
2017-03-19 00:26:41 +00:00
Edgar Andrés Margffoy Tuay
365f9b4c1b
Added Spyder IDE as a xterm case-use application
2017-03-18 18:05:05 -05:00
Daniel Imms
2cf90d90f7
Merge pull request #610 from Tyriar/non_draggable_links
...
Ensure terminal links are not draggable
2017-03-17 09:22:05 -07:00
Daniel Imms
da14f64d1b
Merge branch 'master' into non_draggable_links
2017-03-17 02:27:07 -07:00
Paris Kasidiaris
ef1b1c8ffc
Merge pull request #608 from sourcelair/add-logo
...
Add xterm.js logo
2017-03-17 08:18:08 +00:00
Daniel Imms
adde8ab2c3
Ensure terminal links are not draggable
2017-03-16 12:07:25 -07:00
Paris Kasidiaris
22cc8079dc
Add xterm.js logo
2017-03-16 08:54:07 +00:00
Daniel Imms
6d25706300
Merge pull request #606 from Tyriar/vscode22640_tilde_path
...
Allow ~ char in linkify path and query fragments
2017-03-15 18:01:47 -07:00
Paris Kasidiaris
81419c980b
Merge pull request #603 from sourcelair/fix-blurred-terminal-cursor
...
Fix cursor style on blurred terminals
2017-03-15 22:09:18 +00:00
Paris Kasidiaris
097e21f641
Merge pull request #604 from sourcelair/rebuild-on-css
...
Rebuild xterm.js even when CSS changes
2017-03-15 22:09:03 +00:00
Daniel Imms
b68180b97b
Allow ~ char in linkify path and query fragments
2017-03-15 13:55:57 -07:00
Daniel Imms
d9059d18c0
Merge pull request #600 from sourcelair/Tyriar-patch-1
...
Polish development and contribution section
2017-03-15 10:53:03 -07:00
Paris Kasidiaris
5225a6e27a
Rebuild xterm.js even when CSS changes
...
Otherwise you had to run `npm build` manually every time you changed a CSS file to see the updated result in the demo.
2017-03-15 18:36:06 +02:00
Paris Kasidiaris
9055bace96
Fix cursor style on blurred terminals
2017-03-15 18:28:17 +02:00
Paris Kasidiaris
eb25e88754
Merge pull request #598 from mikesir87/fix-fit-calculation
...
Fixed characterHeight calculation, which could cause overflowing
2017-03-15 14:34:13 +00:00
Michael Irwin
0cb8ecc6f7
Use boundingClientRect instead of style to get actual height
...
PR #598
2017-03-15 09:06:56 -04:00
Daniel Imms
8cf76cc6e9
Polish development and contribution section
2017-03-14 15:15:36 -07:00
Michael Irwin
3c3a646d42
Fixed characterHeight calculation, which could cause overflowing
...
The previous calculation was simply using the height of the letter
W, but wasn't taking into account that each row has a lineHeight,
which might be greater. If the lineHeight is .4px off, after many
rows, it will cause the proposedGeometry to have an extra row,
potentially causing hidden rows (based on layout).
2017-03-14 17:02:53 -04:00
Paris Kasidiaris
ff29fd69a3
Merge pull request #572 from AndrienkoAleksandr/gulpImprove
...
Use tsconfig.json data in gulpfile.js instead of hardcoded values.
2017-03-11 13:21:47 +00:00
Daniel Imms
91994a399c
Merge pull request #582 from tmyt/propose/row-height
...
Support checking height in checkBoldBroken
2017-03-10 12:53:12 -08:00
Daniel Imms
bef7137c92
Fix bug
2017-03-09 10:47:09 -08:00
Daniel Imms
11f62bab34
Expose setHypertextValidationCallback
2017-03-09 10:39:08 -08:00
Daniel Imms
b66776a047
Include element in validationCallback
...
Fixes #591
2017-03-09 10:23:59 -08:00
Daniel Imms
2c151f444c
Merge pull request #589 from warpdesign/patch-1
...
FIXED: typo
2017-03-08 15:52:55 -08:00
Nicolas Ramz
d8f8b060cb
FIXED: typo
...
`<div id="terminal"></div>` wasn't used, instead, a new one was created and used since getElementById('#terminal') returned null.
2017-03-09 00:47:29 +01:00
Daniel Imms
ea9376019c
Merge pull request #586 from AndrienkoAleksandr/cleanUpTsConfig
...
Clean up tsconfig.json.
2017-03-08 12:02:09 -08:00
Daniel Imms
008d1df106
Merge remote-tracking branch 'up/master' into cleanUpTsConfig
2017-03-08 11:47:56 -08:00
Daniel Imms
ec91a6c7f4
Merge pull request #588 from Tyriar/587_csi_3_J
...
Implement CSI 3 J - Erase saved lines
2017-03-08 11:08:46 -08:00
yutaka
4b2ae6a79f
Use rendered height for detect broken bold font.
2017-03-08 11:30:23 +00:00
yutaka
2ec756fd6b
Use offsetWidth instead of scrollWidth
...
scrollWidth does not work on Chrome with `display: inline` element.
2017-03-08 05:11:26 +00:00
yutaka
f0d5b40121
Detect bold font was broken correctly.
2017-03-08 04:54:18 +00:00
yutaka
31a0996b2f
Revert "Set charMeasure.height values to each row height"
...
This reverts commit 43cb4f471f .
2017-03-08 00:27:22 +00:00
Daniel Imms
0bbd8f0a16
Implement CSI 3 J - Erase saved lines
...
Fixes #587
2017-03-07 14:01:42 -08:00
Paris Kasidiaris
b1619e42fd
Bump version to 2.4.0
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2017-03-07 09:38:48 +00:00
Daniel Imms
4cfec2fc09
Merge pull request #579 from Tyriar/578_ctrl_click_links
...
Require ctrl for link clicks
2017-03-06 07:21:58 -08:00
Aleksandr Andrienko
3d721a95bb
Clean up tsconfig.json.
...
'include' field in the tsconfig.json defines source scope (top level of this scope is "src" folder), so we do not need 'exclude' folders in the root of the project, because this folders had already excluded by 'include' scope.
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com >
2017-03-06 13:17:01 +02:00
Aleksandr Andrienko
dc3a136704
Use tsconfig.json data in gulpfile.js instead of hardcoded values.
...
Use tsconfig.json data in gulpfile.js instead of hardcoded values. Little code clean up
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com >
2017-03-06 12:25:22 +02:00
Daniel Imms
235ae2fbb9
Fix http link handler logic
2017-03-04 15:02:08 -08:00
Daniel Imms
1f518b0b45
Allow http link handler to fallback to standard handler
2017-03-04 14:44:11 -08:00
Daniel Imms
ab34d53d6b
Remove unused import
2017-03-04 14:09:13 -08:00
Daniel Imms
aafb5333b9
Give event to handler
2017-03-04 14:08:05 -08:00
Daniel Imms
5e2791f981
Revert "Add fail handler"
...
This reverts commit 1ecc5674ac .
2017-03-04 14:01:40 -08:00
Daniel Imms
1ecc5674ac
Add fail handler
2017-03-04 14:01:34 -08:00
Daniel Imms
c9ad3a595a
Merge pull request #584 from coderaiser/patch-1
...
Fix demo: wrong pid on windows #567
2017-03-03 14:38:55 -08:00
coderaiser
43558fa1dc
Fix demo: wrong pid on windows #567
2017-03-03 23:40:36 +02:00
Daniel Imms
15a867d2b7
Support cmd+click on mac
2017-03-03 12:37:34 -08:00
yutaka
43cb4f471f
Set charMeasure.height values to each row height
2017-03-03 07:57:05 +00:00
Daniel Imms
012051c1db
Fix matchIndex on http
2017-03-02 17:35:10 -08:00
Daniel Imms
b5483898da
Merge remote-tracking branch 'upstream/master' into 578_ctrl_click_links
2017-03-02 17:34:30 -08:00
Daniel Imms
c7b4c2beaf
Require ctrl for link clicks
...
Fixes #578
2017-03-02 17:33:58 -08:00
Daniel Imms
8693d067e3
Merge pull request #577 from Tyriar/549_link_priority
...
Implement link matcher priorities
2017-03-02 15:24:09 -08:00
Daniel Imms
78d5fc9506
Fix bug with priority
2017-03-02 12:05:34 -08:00
Daniel Imms
7ac4f1a9be
Implement link matcher priorities
...
Fixes #549
2017-03-02 11:25:27 -08:00
Daniel Imms
670fb01fbf
Merge pull request #566 from Tyriar/linkify_issues
...
Linkify issues
2017-03-02 09:02:24 -08:00
Daniel Imms
ec9608d54b
Merge pull request #574 from Tyriar/link_validation_fixes
...
Link validation fixes
2017-03-02 00:42:01 -08:00
Daniel Imms
dcffaf1c8c
Ensure linkElement exists before firing validation callback
2017-03-01 09:38:59 -08:00
Daniel Imms
efac5293c0
Use text cursor for invalid links
...
Part of #570
2017-03-01 09:37:30 -08:00
Daniel Imms
c7563346a2
Merge pull request #571 from Tyriar/570_link_validation
...
Implement link validation
2017-03-01 09:12:53 -08:00
Daniel Imms
69906532b1
Remove test harness
2017-02-27 15:44:10 -08:00
Daniel Imms
9404fae725
Merge remote-tracking branch 'upstream/master' into linkify_issues
2017-02-27 12:59:59 -08:00
Daniel Imms
3542f15575
Don't expose CharMeasure/Linkifier for tests
2017-02-27 12:57:18 -08:00
Daniel Imms
15d79143e2
Get rid of exposed test method (phantom is gone)
2017-02-27 12:56:54 -08:00
Daniel Imms
f6dafee748
Remove dead code
2017-02-27 12:52:54 -08:00
Daniel Imms
356d86ae74
Merge remote-tracking branch 'upstream/master' into 570_link_validation
2017-02-27 12:47:53 -08:00
Daniel Imms
e673c6ec97
Upgrade to TypeScript 2.2
2017-02-27 11:54:55 -08:00
Daniel Imms
3e5fcf7004
Merge pull request #569 from wavebeem/issue/562
...
Fixes #562 adds Windows demo setup help
2017-02-27 11:52:47 -08:00
Daniel Imms
96d2a2bc68
Pin TypeScript at v2.1 to fix PhantomJS error
2017-02-27 11:47:57 -08:00
Daniel Imms
b401992178
Add jsdom types
2017-02-27 11:22:59 -08:00
Daniel Imms
4c34351383
Remove PhantomJS completely
2017-02-27 11:22:50 -08:00
Daniel Imms
202b54afbb
Convert CharMeasure phantom test to jsdom
2017-02-27 11:18:00 -08:00
Daniel Imms
26ebc3d944
Use jsdom instead of phantomjs for linkifier test
2017-02-27 11:00:12 -08:00
Daniel Imms
d0f36e9939
Pin typescript 2.1 to prevent exports error
2017-02-27 10:02:12 -08:00
Daniel Imms
4c99c032ca
Add tests
2017-02-27 09:47:36 -08:00
Daniel Imms
6198556e50
Implement link validation
...
Fixes #570
2017-02-27 08:35:59 -08:00
Brian Mock
514eba0e4e
Fixes #562 adds Windows demo setup help
2017-02-25 12:16:18 -08:00
Daniel Imms
7279ee0f5f
Support % in URLs
2017-02-24 08:56:42 -08:00
Daniel Imms
ccadf3fcca
Support percent and numbers in query/hash fragments
2017-02-23 10:02:18 -08:00
Daniel Imms
cb80ce0d2c
Link . and - in hash fragments and query strings
2017-02-23 09:55:05 -08:00
Daniel Imms
9aae43961f
Support linking hash fragments
2017-02-23 09:53:20 -08:00
Daniel Imms
b810687163
Support linking = in query strings
2017-02-23 09:42:59 -08:00
Daniel Imms
28d4ec779d
Fix localhost links
2017-02-23 09:37:35 -08:00
Paris Kasidiaris
cf4da6c748
Merge pull request #565 from sourcelair/issue-#531-coveralls
...
Fix #531 : Submit code coverage to coveralls.io
2017-02-22 19:15:04 +02:00
Paris Kasidiaris
e569b5669a
Add coveralls badge
2017-02-22 16:22:50 +02:00
Paris Kasidiaris
695a9523fe
Fix #531 : Submit code coverage to coveralls.io
2017-02-22 16:17:22 +02:00
Daniel Imms
01b8e28a7d
Merge pull request #556 from Tyriar/555_fix_mouse_coords
...
Use CharMeasure to determine mouse coordinates
2017-02-20 03:17:50 -08:00
Daniel Imms
e221030a2b
Merge pull request #559 from Tyriar/558_linkify_bad_trim
...
Remove bad trim optimization from Linkifier
2017-02-20 03:17:42 -08:00
Daniel Imms
88dc697392
Merge pull request #557 from Tyriar/CharMeasure_aria_hidden
...
Hide CharMeasure element from assistive technologies
2017-02-20 03:17:34 -08:00
Daniel Imms
99a270216c
Remove bad trim optimization from Linkifier
...
This prevents whitespace from going missing after links are applied.
Fixes #558
2017-02-19 15:17:03 -08:00
Daniel Imms
d06c920a2d
Hide CharMeasure element from assistive technologies
2017-02-19 13:20:36 -08:00
Daniel Imms
5452986ce3
Use CharMeasure to determine mouse coordinates
...
Fixes #555
2017-02-19 12:34:36 -08:00
Daniel Imms
ae69841174
Merge pull request #538 from Tyriar/455_linkify
...
Implement web links and custom link matcher registration
2017-02-17 11:40:59 -08:00
Daniel Imms
e6fc80c13b
Fix link matcher iteration direction
2017-02-17 10:22:55 -08:00
Daniel Imms
a10ee8f58c
Revert priority change, http handler needs to be top
2017-02-17 10:18:46 -08:00
Daniel Imms
3f69da2455
Support query string in linkifier
2017-02-17 10:06:35 -08:00
Daniel Imms
a14a0834e9
Merge remote-tracking branch 'upstream/master' into 455_linkify
2017-02-17 10:05:22 -08:00
Daniel Imms
c4f431849b
Add a null check on linkifyRow
2017-02-16 22:41:08 -08:00
Daniel Imms
ade3389cea
Merge pull request #535 from Tyriar/534_phantomjs
...
Add PhantomJS test support and CharMeasure tests
2017-02-15 13:29:50 -08:00
Paris Kasidiaris
6873ba0909
Merge pull request #541 from AndrienkoAleksandr/FixSoftReset
...
Fix 'Autowrap Mode' after 'Soft Terminal reset' command.
2017-02-15 11:24:42 +02:00
Daniel Imms
c3f31b5f65
Apply link matchers in reverse
...
This enables consumers to have full control.
2017-02-14 20:06:15 -08:00
Daniel Imms
3b62aa444b
Improve jsdoc
2017-02-14 19:45:22 -08:00
Daniel Imms
fb2b10b565
Merge pull request #545 from Martin1994/blink_cursor_color
...
Let blink animation support style inheritance
2017-02-14 19:23:22 -08:00
Martin Wang
345553012f
Let blink animation support style inheritance
...
With this change, blinking cursor will use the same font and background
color that set before.
2017-02-14 12:35:39 -05:00
Daniel Imms
fddc13d98e
Merge pull request #544 from LucianBuzzo/master
...
Make fit plugin guard against non-existent parent element.
2017-02-13 13:26:14 -08:00
Lucian Buzzo
aeb9f798c9
Make fit plugin guard against non-existent parent element.
2017-02-13 21:01:28 +00:00
Paris Kasidiaris
8fd44266a2
Bump version to 2.3.2
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2017-02-13 18:05:47 +00:00
Paris Kasidiaris
ef4155fbf6
Merge pull request #542 from Tyriar/539_fix_initial_viewport_sync
...
Perform initial viewport sync after CharMeasure is ready
2017-02-13 20:05:03 +02:00
Daniel Imms
92f27d3144
Fix tests
2017-02-13 09:48:22 -08:00
Daniel Imms
5183332f6e
Next link matcher ID must be non-static
2017-02-10 12:29:36 -08:00
Daniel Imms
ee1de0980f
Perform initial viewport sync after CharMeasure is ready
...
Fixes #539
2017-02-10 09:55:35 -08:00
Aleksandr Andrienko
c53183d94b
Fix default 'wraparoundMode' value for 'Soft reset'() XTERM terminal.
2017-02-10 16:52:19 +02:00
Daniel Imms
1ee774d01d
Remove linkify test
2017-02-09 22:03:31 -08:00
Daniel Imms
1c030f57ef
Force a refresh after register/deregister link matcher
2017-02-09 21:12:28 -08:00
Daniel Imms
c8bb321654
Get custom link matcher working
2017-02-09 21:08:50 -08:00
Daniel Imms
a1d71c9198
Properly queue linkify after refresh
2017-02-09 20:35:06 -08:00
Daniel Imms
55cb43d70b
Add license
2017-02-09 20:12:35 -08:00
Daniel Imms
551159e0c3
Remove linkify addon
2017-02-09 20:10:01 -08:00
Daniel Imms
3bf31aa478
Polish
2017-02-09 20:09:47 -08:00
Daniel Imms
1316682343
Merge pull request #532 from AndrienkoAleksandr/cleanUpDependency
...
Remove excess library.
2017-02-09 20:01:46 -08:00
Daniel Imms
7167b06bf8
Add custom link handlers, use generic way for http handler
2017-02-08 20:44:22 -08:00
Daniel Imms
34582f9f65
Remove logs
2017-02-08 20:21:18 -08:00
Daniel Imms
8dc9ec5733
Only show underline on hover
2017-02-08 20:20:18 -08:00
Daniel Imms
e8adf8ad2b
Use gulp-mocha and attach run both test type in npm test
2017-02-08 20:06:14 -08:00
Daniel Imms
1306431e7c
Add PhantomJS test support and CharMeasure tests
...
Fixes #534
2017-02-08 19:53:32 -08:00
Daniel Imms
f7bc0fba4d
Remove unnecessary variables
2017-02-08 18:57:45 -08:00
Paris Kasidiaris
639a2fd509
Bump version to 2.3.1
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2017-02-08 23:51:47 +00:00
Paris Kasidiaris
b00083e0e5
Merge pull request #533 from vincentwoo/patch-2
...
Fix missing Number.isNaN in IE
2017-02-09 01:46:00 +02:00
Vincent Woo
c3256556aa
Fix missing Number.isNaN in IE
...
See https://github.com/sourcelair/xterm.js/pull/525#issuecomment-278497452
2017-02-08 15:33:20 -08:00
Paris Kasidiaris
8dd11f5587
Bump version to 2.3.0
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2017-02-08 22:24:56 +00:00
Daniel Imms
0f3ee21d9d
Enable custom http link handlers
2017-02-08 14:13:30 -08:00
Daniel Imms
a489037ec4
Improve node insertion, support custom link handlers
2017-02-08 13:50:36 -08:00
Aleksandr Andrienko
c48388af14
Remove excess library.
...
Tsify lib used for browserify typescript sources. But folder /lib consist of js files has already compiled from TypeScript sources (by gulp task tsc). So Tsify library does nothing in this case.
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com >
2017-02-08 23:15:54 +02:00
Daniel Imms
2207d356f2
Initial linkify implementation
...
Part of 455
2017-02-08 11:11:52 -08:00
Daniel Imms
795cdb52dc
Merge pull request #530 from Tyriar/fix_tests_on_windows
...
Disable escape sequence tests on windows
2017-02-08 10:41:06 -08:00
Daniel Imms
e79e67c3ce
Disable escape sequence tests on windows
2017-02-07 21:17:47 -08:00
Daniel Imms
e0639e1b62
Merge pull request #526 from sourcelair/Tyriar-patch-1
...
Add description to package.json
2017-02-06 16:40:29 -08:00
Daniel Imms
56b541b44f
Add description to package.json
...
This should fix the ugly broken markdown at the top of npm
2017-02-06 13:56:52 -08:00
Paris Kasidiaris
03e46fbdee
Merge pull request #525 from LucianBuzzo/resize
...
Fix issue when resizing hidden terminals
2017-02-05 17:59:54 +02:00
Lucian Buzzo
ee0d6b4533
Fixed issue where terminal would become unusable if NaN values are sent
...
to resize method.
2017-02-05 12:45:55 +00:00
Daniel Imms
937a9bf433
Merge pull request #523 from sourcelair/Tyriar-patch-1
...
Add null check on Terminal.element
2017-02-02 08:53:40 -08:00
Paris Kasidiaris
3bcdc4a354
Merge pull request #524 from billchurch/master
...
Adding WebSSH2 to real-world uses
2017-02-01 23:51:23 +02:00
Bill Church
382cd0bbf4
Merge pull request #1 from billchurch/billchurch-patch-1
...
Update README.md
2017-02-01 16:42:39 -05:00
Bill Church
e58a6975da
Update README.md
...
Adding WebSSH2 to real-word uses
2017-02-01 16:41:47 -05:00
Daniel Imms
833eb5216b
Add null check on Terminal.element
...
Since the Terminal can be used now before being attached, we should check element on destroy.
Related to #266
2017-02-01 11:50:52 -08:00
Daniel Imms
742d28fcc3
Merge pull request #522 from Tyriar/266_pull_renderer_out
...
Pull renderer out of xterm.js
2017-02-01 11:33:52 -08:00
Daniel Imms
cc78fdd63c
Hold on to renderer if a reset occurs
2017-02-01 11:19:54 -08:00
Daniel Imms
20f22fb658
Convert flags to enum
2017-02-01 11:18:44 -08:00
Daniel Imms
3c635f3ce5
Remove Terminal.queueRefresh, call refresh directly
2017-02-01 11:13:00 -08:00
Daniel Imms
9d8f6c9ae7
Polish
2017-02-01 10:30:58 -08:00
Daniel Imms
cc6893d0f2
Merge remote-tracking branch 'upstream/master' into 266_pull_renderer_out
2017-02-01 10:29:11 -08:00
Daniel Imms
ca4e99e810
Add license
2017-02-01 10:21:43 -08:00
Daniel Imms
8d7df670b4
Merge pull request #521 from Tyriar/517_dont_loop_animation_frame
...
Don't requeue animation frame if not needed
2017-01-31 23:51:51 -08:00
Daniel Imms
4de7ed46bf
Merge pull request #520 from Tyriar/519_erase_null_check
...
Add null checks in eraseRight and eraseLeft
2017-01-31 23:51:40 -08:00
Daniel Imms
f9aac1bcc6
Fix tests
2017-01-31 23:46:58 -08:00
Daniel Imms
92068f36f2
Pull renderer out of xterm.js
2017-01-31 22:45:28 -08:00
Daniel Imms
047729ee9e
Don't requeue animation frame if not needed
...
Fixes #517
2017-01-31 21:53:29 -08:00
Daniel Imms
637a5bd9cc
Don't requeue animation frame if not needed
...
Fixes #517
2017-01-31 21:23:21 -08:00
Daniel Imms
6cd5c2b846
Add null checks in eraseRight and eraseLeft
...
Fixes #519
2017-01-31 21:03:13 -08:00
Daniel Imms
365a9f949c
Merge pull request #513 from Tyriar/511_useFlowControl_option
...
Add useFlowControl option
2017-01-27 08:23:13 -08:00
Paris Kasidiaris
d6de156cd8
Merge pull request #514 from LucianBuzzo/master
...
[issue #164 ] Fix bug that can occur when setting a scroll region
2017-01-27 12:58:57 +00:00
Lucian Buzzo
23c9fca088
[issue #164 ] Fix bug that can occur when setting a scroll region
2017-01-27 11:25:12 +00:00
Daniel Imms
c2a69721f3
Add useFlowControl option
...
Fixes #511
2017-01-26 21:14:07 -08:00
Daniel Imms
d1ad8a7831
Merge pull request #500 from Tyriar/fix_vt_tests
...
Fix many vt tests
2017-01-26 08:55:42 -08:00
Daniel Imms
cee2285818
Merge pull request #509 from Tyriar/vscode_debugger_support
...
Support debugging mocha tests in vscode
2017-01-26 08:55:22 -08:00
Daniel Imms
ca19da16e0
Merge pull request #499 from Tyriar/481_character_sets
...
Add support for rest of VT100 character sets
2017-01-25 13:00:49 -08:00
Daniel Imms
5850cbcd05
Add comments explaining actions preventing x from wrapping
2017-01-25 10:34:43 -08:00
Daniel Imms
b789a7e85b
Fix failing test given new auto wraparound behavior
2017-01-25 10:32:20 -08:00
Daniel Imms
9f0dbdd5c7
Support debugging mocha tests from vscode
2017-01-25 10:25:28 -08:00
Daniel Imms
98614f26ef
Merge pull request #508 from Tyriar/507_fix_lint_in_src_root
...
Run lint on src/*.ts and fix errors
2017-01-25 07:30:09 -08:00
Daniel Imms
3b16696672
Run lint on src/*.ts and fix errors
...
Fixes #507
2017-01-24 13:34:47 -08:00
Paris Kasidiaris
0219ad2ed8
Merge pull request #505 from vincentwoo/patch-1
...
Add CoderPad to real world use cases
2017-01-24 07:48:37 +00:00
Vincent Woo
e771483041
Add CoderPad to real world use cases
...
Hi everyone,
I'm very pleased to say I have cut CoderPad.io over to using xterm.js (replacing term.js). I've very pleased with the work you've done on it. You've implemented the many terrible hacks on top of term.js I had to write, except you've actually implemented stuff the right way.
I look forward to your continued progress on the project!
Cheers,
Vincent
2017-01-23 21:32:14 -08:00
Daniel Imms
4a7c3320fb
Merge pull request #504 from Tyriar/fix_mode_recursive_call
...
Use InputHandler.setMode/resetMode, not Terminal
2017-01-23 12:41:19 -08:00
Daniel Imms
9359dca0f3
Use InputHandler.setMode/resetMode, not Terminal
2017-01-23 11:35:33 -08:00
Paris Kasidiaris
c8ccc411d4
Merge pull request #502 from vincentwoo/master
...
Bundle top-level .js and .json files in NPM
2017-01-23 12:38:35 +02:00
Vincent Woo
537c8bad10
Bundle top-level JSON with npm
2017-01-22 22:28:46 -08:00
Vincent Woo
1a55367fc9
Bundle top-level JS with npm
2017-01-22 22:26:40 -08:00
Daniel Imms
4f7ee7dab0
Skip broken tests
2017-01-20 23:38:56 -08:00
Daniel Imms
da16dd7cae
Mock viewport.syncScrollArea
2017-01-20 23:22:04 -08:00
Daniel Imms
2aa7608ac0
Fix VPR behavior
...
Don't wrap cursor to column 0 after a VPR, fixes 1 test
2017-01-20 23:14:08 -08:00
Daniel Imms
74c3a4a6f7
Fix CUD behavior
...
Don't wrap cursor to column 0 after a CUD, fixes 1 test
2017-01-20 23:12:54 -08:00
Daniel Imms
d30fb89fde
Fix CUB behavior
...
Don't wrap cursor to column 0 after a CUB, fixes 3 tests
2017-01-20 23:11:22 -08:00
Daniel Imms
1b344ce789
Implement CAN (Cancel, ^X)
...
This helps partially pass t0014-CAN.in, it won't work 100% however
due to the very complex parsing logic of vanilla xterm that
gnome-terminal doesn't even seem to match. xterm's source seems to
have multiple ignore cases for a set of characters such that an
escape sequence like \e!!!!!! prints nothing as the ! continually
gets ignored. Our current logic is we ignore the escape sequence
immediately in this case and print the !.
2017-01-20 23:03:38 -08:00
Daniel Imms
99fbcd3d65
Fix LF/VT/FF behavior
...
Don't wrap cursor to column 0 after an index, fixes 2 tests
2017-01-20 22:14:18 -08:00
Daniel Imms
72063329fe
Fix index behavior
...
Don't wrap cursor to column 0 after an index, fixes 2 tests
2017-01-20 21:49:39 -08:00
Daniel Imms
adaf604ce0
Right trim expected output, we don't care for now
...
This fixes 2 tests
2017-01-20 21:39:27 -08:00
Daniel Imms
d5f0fff523
Enable other tests and fix viewport check
2017-01-20 21:22:16 -08:00
Daniel Imms
43c3349494
Prevent wraparound mode from overriding last character
2017-01-20 21:20:11 -08:00
Daniel Imms
b5d16ed7d7
Use block comment for SCLD
2017-01-20 20:14:17 -08:00
Daniel Imms
aab67c2ed9
Reference CHARSETS using codes
2017-01-20 20:12:47 -08:00
Daniel Imms
0461a822c2
Add character sets for most languages
...
Part of #481
2017-01-20 19:05:13 -08:00
Paris Kasidiaris
7b87e78ed3
Merge pull request #497 from sourcelair/issue-#488-tabstopwidth
...
Implement configurable tab stop width
2017-01-21 01:08:23 +02:00
Paris Kasidiaris
6e1628bc3b
Fixes on demo based on configurable tabStopWidth
2017-01-21 00:32:39 +02:00
Daniel Imms
370c5a971d
Merge pull request #498 from Tyriar/259_fix_setupStops_in_resize
...
Fix setupStops call in resize
2017-01-20 14:29:13 -08:00
Daniel Imms
9a86e4e109
Fix setupStops call in resize
...
Fixes #259
2017-01-20 14:23:45 -08:00
Paris Kasidiaris
8cb46f2726
Move tabStopWidth option callback into setOption
2017-01-20 16:19:19 +00:00
Paris Kasidiaris
f4293a6dfa
Fix #488 : Implement configurable tab width
2017-01-20 16:18:19 +00:00
Daniel Imms
1c759f1d6f
Merge pull request #495 from Tyriar/494_display_none_resize_fix
...
Only keep > 0 geometry in CharMeasure
2017-01-20 07:26:46 -08:00
Daniel Imms
6918e83787
Merge pull request #492 from Tyriar/480_cursor_style
...
Implement CSI Ps SP q Set cursor style
2017-01-20 07:26:36 -08:00
Daniel Imms
9626b1e39d
Only keep > 0 geometry in CharMeasure
...
Fixes #494
2017-01-19 18:02:09 -08:00
Daniel Imms
9227aed906
Add InputHandler.setCursorStyle test
2017-01-18 10:30:35 -08:00
Daniel Imms
0bd469f505
Implement CSI Ps SP q Set cursor style
...
Fixes #480
2017-01-18 10:06:57 -08:00
Daniel Imms
5bd803382a
Merge pull request #462 from Tyriar/459_parser__on_460
...
Parser refactor and optimization
2017-01-18 10:02:03 -08:00
Daniel Imms
ef60e50e1d
Add documentation
2017-01-18 09:35:27 -08:00
Daniel Imms
ed1ba14c6b
Merge pull request #490 from Tyriar/489_namespace_cursor_blink
...
Namespace cursor-blink CSS animations
2017-01-18 08:18:23 -08:00
Daniel Imms
a4080d3706
Namespace cursor-blink CSS animations
...
Fixes #489
2017-01-18 08:06:41 -08:00
Daniel Imms
e2b2f98011
Merge remote-tracking branch 'upstream/master' into 459_parser__on_460
2017-01-16 15:17:35 -08:00
Daniel Imms
ed13218f90
Merge pull request #485 from Tyriar/remove_comments_in_build
...
Remove comments in build
2017-01-16 15:14:42 -08:00
Daniel Imms
1cdd2e00ab
Remove parser states from xterm.js
2017-01-16 14:11:00 -08:00
Daniel Imms
94eb08fb73
Remove comments in build
2017-01-16 14:02:55 -08:00
Daniel Imms
5e1ccb358b
Merge remote-tracking branch 'upstream/master' into 459_parser__on_460
2017-01-16 13:53:19 -08:00
Daniel Imms
259338b8c2
Merge pull request #482 from Tyriar/348_keep_selection_on_mod_key
...
Don't drop selection on modifier keyup
2017-01-16 03:49:19 -08:00
Daniel Imms
a05bb50230
Don't drop selection on modifier keyup
...
Fixes #348
2017-01-15 21:41:42 -08:00
Daniel Imms
8a07b8c798
Merge pull request #442 from Tyriar/441_windows_support
...
Use node-pty for Windows support
2017-01-15 02:38:16 -08:00
Daniel Imms
4d5046b5e7
Merge pull request #479 from Tyriar/478_cursorBlink_refresh
...
Apply cursorBlink via setOption
2017-01-15 02:35:30 -08:00
Daniel Imms
12160a50cb
Fake xterm.element in tests
2017-01-15 02:31:54 -08:00
Daniel Imms
375ccbd9e2
Merge remote-tracking branch 'upstream/master' into 478_cursorBlink_refresh
2017-01-15 02:22:45 -08:00
Daniel Imms
cc0f0d94f6
Merge remote-tracking branch 'upstream/master' into 441_windows_support
2017-01-15 02:12:17 -08:00
Paris Kasidiaris
6309752208
Merge pull request #435 from sourcelair/issue-#359-gulp
...
Introduce build system based on Gulp
2017-01-15 11:49:32 +02:00
Daniel Imms
4448ebe391
Use charsets to map
2017-01-14 22:06:30 -08:00
Daniel Imms
d1dac57f7a
Move cursor blink style to class on .terminal
2017-01-14 21:26:49 -08:00
Daniel Imms
3422f84e00
Merge pull request #477 from Tyriar/476_scrollback_update
...
Apply scrollback via setOption
2017-01-14 10:46:54 -08:00
Paris Kasidiaris
ac6faf3dd8
Stick gulp-sourcemaps to 1.9.1
...
Paths became absolute by default at https://github.com/floridoo/gulp-sourcemaps/commit/fb4027a496898b8b7992ea5af9b3d707f1d82d38
2017-01-14 19:52:07 +02:00
Daniel Imms
7679475bfe
Apply cursorBlink via setOption
...
Fixes #478
2017-01-13 21:31:31 -08:00
Daniel Imms
5a932b2a20
Apply scrollback via setOption
...
Fixes #476
2017-01-13 21:27:19 -08:00
Daniel Imms
b1ef934aea
Merge pull request #474 from Tyriar/473_refresh_null_checks
...
Add null checks to refresh line and character fetches
2017-01-13 07:09:12 -08:00
Daniel Imms
a2ab0ffc46
Merge pull request #471 from Tyriar/470_CharMeasure_in_helper
...
Move CharMeasure element to the helper container
2017-01-13 07:08:45 -08:00
Daniel Imms
ecd7e69f1a
Start adding ESC state handler
2017-01-12 22:36:48 -08:00
Daniel Imms
fa3484cd14
Pull character add char code to input handler
2017-01-12 22:17:36 -08:00
Daniel Imms
f4846aa154
Finish CSI codes
2017-01-12 21:58:50 -08:00
Daniel Imms
9b66208029
Add more CSI codes
2017-01-12 21:33:28 -08:00
Daniel Imms
c43c3b411a
Add more CSI codes
2017-01-12 20:51:15 -08:00
Daniel Imms
f9a286a851
Convert more CSI codes
2017-01-12 20:32:15 -08:00
Daniel Imms
3de3912b96
Add another null check on children[y]
2017-01-12 11:23:17 -08:00
Daniel Imms
23169e89c8
Add null checks to refresh line and character fetches
...
Fixes #473
2017-01-12 11:14:14 -08:00
Daniel Imms
0f5f34e8f5
Move CharMeasure element to the helper container
...
Fixes #470
2017-01-12 10:47:57 -08:00
Daniel Imms
342e862d69
Merge remote-tracking branch 'upstream/master' into 459_parser__on_460
2017-01-11 13:43:33 -08:00
Paris Kasidiaris
081fe3f301
Fix #359 - Introduce build system based on Gulp
...
- Add Gulp and new dependencies to `package.json`
- Add `gulpfile.js` with four tasks:
- `tsc`: For building TypeScript sources
- `bundle`: For bundling JavaScript modules in a monolith
- `sorcery`: For resolving the source map chains back to the original TypeScript files
- `build` (`default`): Runs the whole `tsc` → `bundle` → `sorcery` chain
- Clean up `Dockerfile`, since `cpio` is not needed any more
- Clean up not needed dependencies from `package.json`
- Remove `bin/build`
- Update `bin/release` to use `npm run build` instead of `./bin/build`
2017-01-11 08:11:45 +00:00
Daniel Imms
fc528f6c0c
Merge pull request #447 from Tyriar/425_xon_xoff_on_280
...
Sync with pty process using XOFF and XON
2017-01-10 21:20:58 -08:00
Daniel Imms
411c974960
Merge pull request #446 from Tyriar/335_viewport_var
...
Remove var usage from Viewport
2017-01-10 20:24:22 -08:00
Daniel Imms
0ec125557a
Merge remote-tracking branch 'upstream/master' into 425_xon_xoff_on_280
2017-01-10 20:24:07 -08:00
Daniel Imms
0b977fc35f
Merge pull request #461 from Tyriar/460_escape_sequence_c0
...
Pull C0 escape sequences into its own file
2017-01-10 20:06:36 -08:00
Daniel Imms
0739a4be06
Merge remote-tracking branch 'upstream/master' into 425_xon_xoff_on_280
2017-01-10 20:04:26 -08:00
Daniel Imms
c4de07135f
Merge pull request #466 from Tyriar/465_async_CharMeasure_measure
...
Perform CharMeasure.measure async
2017-01-10 20:03:59 -08:00
Daniel Imms
d52b53889e
Merge remote-tracking branch 'upstream/master' into 335_viewport_var
2017-01-10 20:03:19 -08:00
Daniel Imms
d9682bd6d6
Perform CharMeasure.measure async
...
This fixes the edge case where getBoundingClientRect was returning a width and
height of 0,0.
Fixes #465
2017-01-10 11:36:22 -08:00
Daniel Imms
411b80cdc0
Add CSI @, E, F, G
2017-01-09 23:06:36 -08:00
Daniel Imms
db81c28bd7
Support more CSI codes, remove unused CSI helper functions
2017-01-09 22:57:38 -08:00
Daniel Imms
c7fa2d55b4
Handle remaining CSI_PARAM cases and introduce the state
2017-01-09 16:07:27 -08:00
Daniel Imms
7572dd5fa6
Remove IInputHandler from CSI_PARAM lambdas
2017-01-09 15:39:56 -08:00
Daniel Imms
9942477bff
Start converting CSI codes
2017-01-09 15:38:54 -08:00
Daniel Imms
635a4d7682
Handle CSI postfix
2017-01-09 15:19:29 -08:00
Daniel Imms
672dc1a251
Start pulling CSI handlers out
2017-01-09 15:17:15 -08:00
Daniel Imms
6deaaa8ef8
Move all parser state handling into the parser
2017-01-09 15:00:37 -08:00
Daniel Imms
f4267c4f74
Merge remote-tracking branch 'upstream/master' into 459_parser__on_460
2017-01-09 14:50:28 -08:00
Daniel Imms
1848fff4c9
Pull charsets out of xterm.js
2017-01-09 14:21:59 -08:00
Daniel Imms
991b2843d3
Fix references to Terminaal and fix TS lint warnings
2017-01-09 13:57:58 -08:00
Daniel Imms
940bd2699e
Fix wcwidth TS errors
2017-01-09 13:48:52 -08:00
Daniel Imms
4a27b9a53f
Move wcwidth into Parser.ts
2017-01-09 13:46:08 -08:00
Daniel Imms
a31921ae73
Move parsing logic into Parser.ts
2017-01-09 13:45:55 -08:00
Daniel Imms
27a7f1504c
Merge pull request #453 from Tyriar/452_disable_stdin_option
...
Add disableStdin option
2017-01-09 09:53:22 -08:00
Paris Kasidiaris
aee8ddeafb
Merge pull request #464 from TylerJewell/patch-1
...
Add Codenvy to the list of xTerm supporters
2017-01-09 19:17:50 +02:00
Tyler Jewell
6c29ccfbd1
Add Codenvy to the list of xTerm supporters
2017-01-08 17:41:02 -08:00
Daniel Imms
da7ea104de
Merge remote-tracking branch 'upstream/master' into 460_escape_sequence_c0
2017-01-08 17:13:28 -08:00
Daniel Imms
665a11acc0
Add C0.BS handler back
2017-01-08 17:12:35 -08:00
Daniel Imms
6b5ced0078
Merge remote-tracking branch 'upstream/master' into 449_keep_span_pool
2017-01-08 17:09:23 -08:00
Daniel Imms
dddc91fbcc
Merge remote-tracking branch 'upstream/master' into 425_xon_xoff_on_280
2017-01-08 17:05:19 -08:00
Daniel Imms
ecb892d995
Merge remote-tracking branch 'upstream/master' into 425_xon_xoff_on_280
2017-01-08 17:05:10 -08:00
Daniel Imms
ada96a8373
Merge remote-tracking branch 'upstream/master' into 335_viewport_var
2017-01-08 17:04:18 -08:00
Daniel Imms
cabe23b782
Merge pull request #436 from Tyriar/434_tmux_scroll_fix
...
Fix scroll in tmux with max scrollback
2017-01-08 17:02:44 -08:00
Daniel Imms
b25bf9562e
Merge pull request #457 from Tyriar/451_fix_events_after_reset
...
Keep previous terminal events after a reset
2017-01-08 17:00:55 -08:00
Daniel Imms
e9da2a6330
Merge pull request #440 from Tyriar/439_wide_char_class
...
Style wide characters at charWidth*2 in DOM
2017-01-08 17:00:30 -08:00
Daniel Imms
9385b9309d
Merge remote-tracking branch 'upstream/master' into 439_wide_char_class
2017-01-08 16:56:47 -08:00
Daniel Imms
facc2659e7
Merge pull request #463 from sourcelair/revert-445-444_rate_limit_viewport_refresh
...
Revert "Rate limit Viewport.refresh"
2017-01-08 16:51:27 -08:00
Daniel Imms
06852cd904
Revert "Rate limit Viewport.refresh"
2017-01-08 16:46:23 -08:00
Daniel Imms
a1ee8aefbb
Merge remote-tracking branch 'upstream/master' into 439_wide_char_class
2017-01-08 16:32:51 -08:00
Daniel Imms
eb3b3fa107
Merge pull request #437 from Tyriar/335_TS_Generic_Browser
...
Convert browser and generic to TS
2017-01-08 16:25:30 -08:00
Daniel Imms
3457b73ac8
Merge pull request #445 from Tyriar/444_rate_limit_viewport_refresh
...
Rate limit Viewport.refresh
2017-01-08 16:24:27 -08:00
Daniel Imms
28b38dc76d
Merge pull request #438 from Tyriar/280_improve_refresh_queue
...
Improve refresh queue
2017-01-08 16:24:16 -08:00
Daniel Imms
659fb90c1c
Handle C0 codes via handler map in Parser
2017-01-08 16:21:51 -08:00
Daniel Imms
04b1ebf1a7
Create InputHandler which performs C0 actions
...
Part of #459
2017-01-08 16:11:35 -08:00
Daniel Imms
1685cf2d8f
Use namespace and const for C0 constants
2017-01-08 16:02:47 -08:00
Paris Kasidiaris
43d4d4f2bb
Merge pull request #458 from TylerJewell/patch-1
...
Add additional products that use xTerm
2017-01-08 23:49:46 +00:00
Daniel Imms
3de3c0c6b6
Pull C0 escape sequences into its own file
...
Part of #460
2017-01-08 15:49:19 -08:00
Daniel Imms
bebe43e5e1
Use node-pty as it's been published
2017-01-08 13:33:51 -08:00
Tyler Jewell
520f2bc9d6
Add additional products that use xTerm
...
Hi xTerm team. Over the past 6 months, we have been studying xTerm as a replacement for Eclipse Che's term.js. It's taken us a bit of an effort, but the work is now done! You can expect that Eclipse Che engineers (abot 60 contributors) will make direct contributions back to xTerm ongoing now that we are fully integrated in. We integrate xTerm alongside GWT. As we more natively integrate the solution, we'll make additional PRs directly back to the project.
As background on the research and integration work that we did, these are the postings from our engineering team's research from the past six months. Some of these issues have already been resolved, or in the process of being resolved.
We also plan a couple of blog posts to our forums (~250K followers) about xTerm integration later in Q1 after we make our 5.0.0 announcements. I could also add Codenvy to this PR as well since it has been released with the version based upon xTerm, but with Sourcelair being the initiators we didn't want to make it seem like we were trying to be competitive. This PR is about the promotion and success of xTerm, for which we are fully committed to.
## Xtermjs
This document is result of investigation using xtemjs ui terminal instead of current term.js. It contains analyze pluses and minuses using xtermjs (release version 2.2.3) and technical problems. Investigation issue: https://github.com/eclipse/che/issues/3210
## Description
For now we are using our own fork of the https://github.com/chjj/term.js for user interface websocket-terminal. But actually this project is no longer maintained. So we can not get new releases from this project and we need support this script on our own. Original project contains link for a maintained fork https://github.com/sourcelair/xterm.js . This fork uses MIT license and community intensive develops this project. It has such users like: Microsoft Visual Studio Code, SourceLair, ttyd. xterm.js had already done 46 releases https://github.com/sourcelair/xterm.js/releases .
## Technical Advantages of xTerm:
* xterm.js has js tests. We have not any test for old term.js.
* We can periodically update xtem.js by new release.
* Added parameter to cancel browser events.
* Default 256 colours moved from js to css.
* Added ability to set terminal theme.
* Improved resize mehanizm (added resize event).
* Added fit.ts script to fits terminal size to original height and width of parent div.
* Fixed lost text selection from current active line(when blink is enabled).
* Improved copy/paster mehanizm.
* Linkify URL feature.
* Implement moving back and forward across words with "Alt + ←" and "Alt + →" respectively.
* Improved special key handling.
* Added addons to exdens xterm.js
* Improved mehanizm copy/paster from clipboard.
* Fixed cross platform input problems(For IPad, Iphone, MacIntel, MacPPC and so on).
* Did some work to support UTF-8 symbols.
* Implemented scrollbar.
* Fixed incorrect mouse position for application with pseudo-graphic user interface (for example Midnight Commander).
* Fix to prevent terminal scrolling when user is looking into scrollback(similar to gnome-terminal, if the user is scrolling up to look at past output and the currently running program adds output to the terminal, the viewport of xterm.js should not scroll and interrupt what they are looking at.)
* Make right-click work on all browsers.
## Broken Changes:
We can move on our changes to realize copy/paste by hotkeys Ctrl + C/Ctrl +V. But xterm.js support hotkeys more common for terminal: Ctrl + Insert and Shift + Insert and maybe that's enough.
Drop support for old mouse wheel APIs: all browsers have supported the WheelEvent (onwheel) for sometime now, since Firefox does not support onmousewheel which is also non-standard but works with the standard interface, it makes sense to drop support now.
## Browser Support
Since xterm.js is typically implemented as a developer tool, only modern browsers are supported officially. Here is a list of the versions to support:
Chrome 48+
Edge 13+
Firefox 44+
Internet Explorer 11+
Opera 35+
Safari 8+
Xterm.js works seamlessly in Electron apps and may even work on earlier versions of the browsers but these are the browsers xterm.js developers strive to keep working.
## Known major bugs:
https://github.com/sourcelair/xterm.js/issues/307
https://github.com/sourcelair/xterm.js/issues/362
https://github.com/sourcelair/xterm.js/issues/348
https://github.com/sourcelair/xterm.js/issues/325 Data loss when resizing terminal (but this bug is exist in the current terminal ui in the CHE too). Community has pull request to fix this issue for xtermjs https://github.com/sourcelair/xterm.js/pull/404 .
Additional information:
Code base xterm.js consist of files written on native javascript and typescript. For manage js dependency and configuration used npm, typings, bower and node. Development tendency: rewrite xtemr.js completely on the Typescript(information about this included to the release notes 2.2.3).
2017-01-08 09:44:14 -08:00
Daniel Imms
996c25a364
Keep previous terminal events after a reset
...
This broke in the EventEmitter ts conversion, just reverts this line to what
it used to be.
Fixes #451
2017-01-07 16:04:49 -08:00
Daniel Imms
d9d60063d7
Add disableStdin option
...
Fixes #452
2017-01-04 12:43:21 -08:00
Daniel Imms
ff523bfc79
Fix tests
2017-01-04 10:30:04 -08:00
Daniel Imms
c7e8498166
Clear row and return spans before generating row
2017-01-04 09:44:58 -08:00
Daniel Imms
2b4c019f13
Use object pool in refresh
2017-01-04 09:32:23 -08:00
Daniel Imms
335850380e
Implement DomElementObjectPool with tests
2017-01-04 08:50:19 -08:00
Daniel Imms
94c01ec378
Fix tests
2017-01-04 08:08:59 -08:00
Daniel Imms
2b8820fdac
Further tweaks, add write batching
2017-01-03 15:52:45 -08:00
Daniel Imms
0ec7b661f2
Tweak config values
2017-01-03 15:38:14 -08:00
Daniel Imms
dc5efa886a
Make innerWrite iterative
2017-01-03 15:29:23 -08:00
Daniel Imms
e66b1c5704
Add write buffer pause and refresh frame skip
2017-01-03 15:26:41 -08:00
Daniel Imms
6b8c43ed7f
Send \x13 when a write buffer threadhold is reached
2017-01-03 14:57:13 -08:00
Daniel Imms
b9d374affa
Add XON/XOFF and eparate write from processing
...
Part of #425
2017-01-03 14:57:04 -08:00
Daniel Imms
d2ef19dffe
Remove var usage from Viewport
...
Part of #335
2017-01-03 11:26:59 -08:00
Daniel Imms
efdf37b887
jsdoc
2017-01-03 11:23:36 -08:00
Daniel Imms
6ffb8f545b
Rate limit Viewport.refresh
...
This prevents 1000 scroll events from firing when the buffer is not full
Fixes #444
2017-01-03 11:18:38 -08:00
Daniel Imms
2e4147b4fa
Use Tyriar/pty.js for Windows support
...
Fixes #441
2017-01-01 16:24:55 -08:00
Daniel Imms
07a8b8f4f7
Fix tests
2016-12-31 18:06:49 -08:00
Daniel Imms
74483fb294
Use CharMeasure in Viewport and to style wide chars
...
Fixes #439
2016-12-31 15:56:57 -08:00
Daniel Imms
4f18d842f9
Add CharMeasure util class
2016-12-31 15:46:17 -08:00
Daniel Imms
188e197e20
Wrap wide chars in a span/class
...
Part of #439
2016-12-31 15:19:54 -08:00
Daniel Imms
7234bfb6eb
Move row evaluation into refreshLoop
...
This allows the refresh public API to still function
2016-12-31 14:58:17 -08:00
Daniel Imms
97feb3321c
Improve refresh queue
...
Use requestAnimationFrame in addition to a queue to refresh every animation
frame but only when a refresh is needed.
Fixes #280
Fixes #290
2016-12-31 14:14:02 -08:00
Daniel Imms
3e1a607179
Convert browser and generic to TS
...
Part of #335
2016-12-31 07:36:56 -08:00
Daniel Imms
c3f46e4a6b
Fix scroll in tmux with max scrollback
...
I believe this is related to when scrollBottom is not the last row in the viewport
Fixes #434
2016-12-31 07:18:50 -08:00
Daniel Imms
1fbd3c8f65
Merge pull request #432 from Tyriar/335_TS_EventEmitter
...
Convert EventEmitter to TypeScript and add tests
2016-12-31 07:14:47 -08:00
Daniel Imms
965ebde22f
Remove remaining removeListener ref
2016-12-31 07:11:47 -08:00
Daniel Imms
0d9d3aca1a
Remove addListener/removeListener
2016-12-31 07:10:45 -08:00
Daniel Imms
937cf43e09
Remove redundant assignment in constructor
2016-12-31 07:07:45 -08:00
Daniel Imms
23472e6fb4
Merge pull request #431 from Tyriar/427_refresh_scroll_on_buffer_change
...
Sync scroll bar when alt/normal buffer is switched in
2016-12-30 04:42:36 -08:00
Antonis Kalipetis
445728b2a2
Merge pull request #403 from akalipetis/docker-enhancement
...
Improve the Docker image
2016-12-30 11:24:22 +02:00
Antonis Kalipetis
61c213f9e3
Ignore all the build directories in Docker
...
This allows for reproducible builds.
Also, fix Dockerfile to first build and then run tests and a typo in the entrypoint.
Thanks @BenHall for reporting the issue with the Docker build!
2016-12-29 16:13:58 +02:00
Daniel Imms
dba432d1b6
Add tests
2016-12-29 05:09:47 -08:00
Daniel Imms
2f416371bd
Convert EventEmitter to TS
...
Pat of #335
2016-12-29 04:53:57 -08:00
Daniel Imms
2bfbdb1c06
Sync scroll bar when alt/normal buffer is switched in
...
Fixes #427
2016-12-29 03:55:36 -08:00
Antonis Kalipetis
a4c958c54f
Fix EOL character in .editorconfig and update docker-compose
2016-12-28 18:49:36 +02:00
Antonis Kalipetis
b2e257bf37
Remove entrypoint
...
Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com >
2016-12-28 18:45:21 +02:00
Antonis Kalipetis
6b6314227e
Improve the Docker image
...
1. Bump Node version to 6.9 - the latest LTS
2. Include the `cpio` binary, used during building
3. Ignore node_modules and .git directories for faster builds
4. Run the tests and build during the image build, to make sure the image is not built if these break
5. Make npm run dev the default command
6. Add an entrypoint to automatically install Node modules if they do nott exist
Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com >
2016-12-28 18:45:18 +02:00
Antonis Kalipetis
1e0eb3784e
Merge pull request #402 from akalipetis/hotfix-npm-scripts
...
Improve the package.json scripts
2016-12-28 18:44:20 +02:00
Antonis Kalipetis
f00ea4bfac
Add a Procfile with the npm start command
...
Also, update the Procfile.dev with the updated `npm run dev` command.
Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com >
2016-12-28 18:12:23 +02:00
Antonis Kalipetis
0da4c9d90d
Improve the package.json scripts
...
1. Include a `prestart` script, which runs the build
2. Make the `start` script just start the demo server
3. Add a new `dev` script, which contains the nodemon logic
4. nodemon now watches for changes in `*.ts` files and runs the start command
Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com >
2016-12-28 18:12:20 +02:00
Daniel Imms
df83298c54
Merge pull request #429 from Tyriar/428_scrollback_exception
...
Ensure ydisp does not drop below 0 in refresh
2016-12-28 05:59:43 -08:00
Daniel Imms
5d29d4ea22
Remove log
2016-12-28 03:41:48 -08:00
Daniel Imms
a9e1ed5a72
Ensure ydisp does not drop below 0 in refresh
...
Fixes #428
Related to #385
2016-12-28 03:41:12 -08:00
Daniel Imms
e6ad8d8b50
Merge pull request #422 from Tyriar/361_circular_list_scrollback
...
Use a circular list to manage buffer
2016-12-28 03:10:31 -08:00
Daniel Imms
50cfe2b21a
Improve header comment
2016-12-27 13:40:52 -08:00
Daniel Imms
d7f2ec89d7
Polish
2016-12-24 03:17:30 -08:00
Daniel Imms
cc5ae8193b
Fix insertLines as max buffer size
2016-12-24 00:26:43 -08:00
Daniel Imms
30a1f1ccb5
Fix issue with max buffer size after vim fix
2016-12-24 00:14:30 -08:00
Daniel Imms
6f7cb990ca
Fix issue with vim scrolling
2016-12-24 00:04:31 -08:00
Paris Kasidiaris
06f5746c86
Merge pull request #423 from katacoda/katacoda-integration
...
Katacoda xterm.js integration is live
2016-12-22 23:30:00 +02:00
Ben Hall
cd44fe7bcd
Katacoda xterm.js integration is live
2016-12-22 20:10:33 +00:00
Ben Hall
bb3d6ee72c
Katacoda xterm.js integration is live
2016-12-22 12:01:44 +00:00
Daniel Imms
bf16fdc01d
Have reverseIndex use CircularList.shiftElements 🎉
2016-12-21 03:26:40 -08:00
Daniel Imms
969a2e953c
Implement CircularList.shiftElements
2016-12-21 03:18:30 -08:00
Daniel Imms
bfaf9cd6eb
Doc and testing
2016-12-21 02:39:21 -08:00
Daniel Imms
be2e4b5d85
Add missing return type
2016-12-21 02:11:14 -08:00
Daniel Imms
cc0fc953cf
Remove logs
2016-12-22 02:04:31 -08:00
Daniel Imms
3b35d12e60
Fix issue with the git log
...
The old code was assuming that the buffer was not going to change, this is not
true with the current impl though where the list is shifted and ybase and ydisp
need to be compensated for that.
2016-12-22 02:02:05 -08:00
Daniel Imms
4bc679b0b3
Merge remote-tracking branch 'upstream/master' into 361_circular_list_scrollback
2016-12-21 15:43:18 -08:00
Daniel Imms
be56c72b5f
Fix when scrollback limit is reached
2016-12-21 15:43:04 -08:00
Paris Kasidiaris
db92840ffc
Merge pull request #415 from saswatds/saswatds-patch-1
...
Update README.md
2016-12-19 15:47:19 +02:00
Paris Kasidiaris
593a4ec0b0
Merge pull request #417 from BobReid/os_x_bash_arrow_fix
...
changed escape sequence for alt-arrow to work on bash on os x
2016-12-19 15:45:57 +02:00
Saswat Das
d018a547a2
Update README.md
...
Added Getting started content from the xtermjs.org website
2016-12-18 04:48:19 +05:30
Paris Kasidiaris
a246200675
Merge pull request #419 from blink1073/clean-up-npm-publish
...
Clean up npm publish
2016-12-16 20:46:27 +00:00
Steven Silvester
1cb6517812
Revert changes to other published files
2016-12-16 14:41:29 -06:00
Bob Reid
2824da371f
Added macOS check to escape sequences and updated tests
2016-12-16 15:03:49 -05:00
Steven Silvester
22eb86089f
Clean up npm publish
2016-12-16 13:28:10 -06:00
Bob Reid
2e17366bce
changed escape sequence for alt-arrow to work on bash on os x
2016-12-16 10:29:42 -05:00
Paris Kasidiaris
ef407ae93a
Bump version to 2.2.3
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2016-12-15 21:56:32 +00:00
Paris Kasidiaris
9032ce99d3
Merge pull request #416 from sourcelair/issue-#414-css-files-in-npm
...
Include appropriate files in npm.
2016-12-15 21:53:19 +00:00
Paris Kasidiaris
adaaeb6f36
Include appropriate files in npm.
...
Fix #414
2016-12-15 23:49:43 +02:00
Paris Kasidiaris
8a146b5401
Bump version to 2.2.2
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2016-12-15 17:16:04 +00:00
Saswat Das
4ee1e00808
Update README.md
...
Adding a getting started instruction for adding xterm to a parent div and listening for data output from xterm
2016-12-15 21:26:04 +05:30
Paris Kasidiaris
3a6368ba6c
Merge pull request #411 from sourcelair/issue-#408-tslint
...
Add tslint
2016-12-15 12:13:23 +00:00
Paris Kasidiaris
fbc314a74b
Parallelise build
2016-12-15 14:05:37 +02:00
Paris Kasidiaris
850a238ca2
Include lint test into travis
2016-12-15 14:02:38 +02:00
Paris Kasidiaris
20b6f20908
Make linter happy
2016-12-15 13:57:25 +02:00
Paris Kasidiaris
33f7d7649a
Add tslint
...
Fix #408
2016-12-15 13:53:26 +02:00
Paris Kasidiaris
fb4d263211
Merge pull request #409 from sourcelair/issue-#405-firefox-paste
...
Fix linux firefox paste
2016-12-14 10:38:30 +00:00
Paris Kasidiaris
ab87dece0b
Fix weird paste issue: #405
...
Fix #405
2016-12-14 01:45:53 +02:00
Paris Kasidiaris
69e027394d
😱 Fix wrong event type and remove useless interface
2016-12-14 01:43:32 +02:00
Paris Kasidiaris
6639b2c731
Merge pull request #407 from sourcelair/build-ts-into-lib
...
Always build TypeScript in `lib/`
2016-12-13 23:32:49 +00:00
Paris Kasidiaris
e23956cd77
Do not publish test files to npm
2016-12-13 23:28:33 +00:00
Paris Kasidiaris
56ca7743a8
Always build TypeScript in lib/
2016-12-14 01:10:03 +02:00
Paris Kasidiaris
fb17d57549
Merge pull request #398 from budde377/feat-npm
...
Add prepublish script and change main
2016-12-13 22:59:58 +00:00
Christian Budde Christensen
e7045f2b8a
Add prepublish script and change main
...
Building TS before publish and pointing the main entry to the builded files.
2016-12-13 20:34:19 +01:00
Daniel Imms
fd25bd7ca2
Merge remote-tracking branch 'upstream/master' into 361_circular_list_scrollback
2016-12-12 15:05:19 -08:00
Paris Kasidiaris
852f587bd2
Merge pull request #400 from arcanis/patch-1
...
Use a fixed size to account for the scrollbar
2016-12-11 10:25:35 +00:00
Maël Nison
e0e6f5e302
Use a fixed size to account for the scrollbar
2016-12-10 14:46:01 +01:00
Paris Kasidiaris
06a5ffdd1a
Merge pull request #399 from bottleofwater/patch-1
...
Don't apply the 32 delta when in sgr mode - fix #394
2016-12-09 10:12:42 +00:00
bottleofwater
a75bafc4ba
Don't apply the 32 delta when in sgr mode - fix #394
2016-12-09 10:52:09 +01:00
Paris Kasidiaris
60a59be4d3
Bump version to 2.2.1
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2016-12-07 18:43:03 +00:00
Paris Kasidiaris
b76b2d01eb
Checkout add-ons
2016-12-07 18:42:40 +00:00
Paris Kasidiaris
cd70d298fc
Bump version to 2.2.0
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2016-12-07 18:41:37 +00:00
Paris Kasidiaris
70d0ed3ebf
Merge pull request #393 from sourcelair/migrate-clipboard-to-typescript
...
Migrate Clipboard handler to TypeScript
2016-12-07 18:37:00 +00:00
Paris Kasidiaris
5a5c6ab621
Merge pull request #392 from sourcelair/fix-readme-addon-path
...
Update path to addons in README.md
2016-12-06 22:08:30 +00:00
Paris Kasidiaris
a34bb9724f
Improve interfaces in Clipboard.ts
2016-12-07 00:07:50 +02:00
Paris Kasidiaris
824a9c6dbf
Migrate Clipboard handler to TypeScript
...
Also apply JavaScript rules in `.editorconfig` in TypeScript files as well.
Part of #335
2016-12-06 10:01:06 +00:00
Paris Kasidiaris
c9eaae6bd5
Update path to addons in README.md
2016-12-06 10:55:40 +02:00
Daniel Imms
9f5790fcaf
Merge pull request #391 from Tyriar/357_textarea_top_zero
...
Position the textarea at top:0
2016-12-05 11:47:55 -08:00
Paris Kasidiaris
6aeb0435ce
Merge pull request #390 from sourcelair/issue-#375-bring-build-dir-back
...
Bring back the `build` directory for temporary builds
2016-12-05 19:35:08 +00:00
Paris Kasidiaris
70ec2496db
Remove export from build script
2016-12-05 21:29:50 +02:00
Daniel Imms
55314e0fc7
Position the textarea at top:0
...
This prevents the browser from scrolling to the top of the page if the terminal
can be scrolled out of view.
Fixes #357
2016-12-05 11:19:36 -08:00
Paris Kasidiaris
243d76617b
Create the build directory if it does not exist already
2016-12-05 13:34:10 +02:00
Paris Kasidiaris
6cc66a0b20
Bring back the build directory for temporary builds
...
Fix #375
2016-12-05 13:17:13 +02:00
Paris Kasidiaris
1e928df531
Merge pull request #388 from sourcelair/issue-#366
...
Update documentation with cleaner license declaration
2016-12-01 19:41:58 +02:00
Daniel Imms
db9bec02f5
Merge pull request #382 from sourcelair/Tyriar-patch-1
...
Add link to TravisCI badge
2016-12-01 09:19:06 -08:00
Daniel Imms
0dc033692f
Merge pull request #383 from Tyriar/381_clean_out_on_build
...
Clean out/* on build in case src/* files were deleted
2016-12-01 09:18:56 -08:00
Paris Kasidiaris
1d30091188
Update documentation with cleaner license declaration
...
Fix #366
2016-12-01 13:37:20 +00:00
Daniel Imms
64f80f8623
Merge pull request #380 from Tyriar/378_handle_keypress_scroll
...
Scroll to bottom whenever handler is called
2016-11-28 15:55:27 -08:00
Daniel Imms
83b06c6bb0
Clean out/* on build in case src/* files were deleted
...
If files in src/ were compiled and then deleted they will hang around in out/
until deleted. This can potentially cause difficult to diagnose build/test
errors. This commit removes all files from out/ but keeps the folder to
prevent editor file watchers from seeing the folder was deleted and shifting
the file explorer around.
Fixed #381
2016-11-28 10:52:03 -08:00
Daniel Imms
5cbc2f0ea5
Add link to TravisCI badge
2016-11-28 10:46:19 -08:00
Daniel Imms
2bc8adee8c
Scroll to bottom whenever handler is called
...
This catches all current and future cases for correctly scrolling to the bottom
on input by handling it in the handler immediately before emitting the data
event.
Fixes #378
2016-11-28 10:41:05 -08:00
Daniel Imms
c6eb7f136c
Merge pull request #371 from Tyriar/335_CompositionHelper_ts
...
Convert CompositionHelper to TypeScript
2016-11-28 08:21:12 -08:00
Daniel Imms
48b87c2f40
Merge remote-tracking branch 'upstream/master' into 335_CompositionHelper_ts
2016-11-28 08:16:38 -08:00
Daniel Imms
ca818fbf04
Merge pull request #379 from Tyriar/378_cannot_scroll_up_1plus_pages
...
Only scroll to bottom during composition or result.key is evaluated
2016-11-28 08:07:00 -08:00
Daniel Imms
264fe4edc7
Merge pull request #372 from Tyriar/335_viewport_tidy
...
Clean up viewport more after TS conversion
2016-11-28 08:06:50 -08:00
Daniel Imms
317c0ec2de
Merge pull request #377 from Tyriar/376_ctrl_backslash_sigquit
...
Implement ^\ String Terminator
2016-11-28 08:06:42 -08:00
Daniel Imms
607c819109
Progress
2016-11-27 03:27:36 -08:00
Daniel Imms
61fbbb0054
Add CiruclarList pop and splice
2016-11-27 02:20:53 -08:00
Daniel Imms
3b2e89d878
Only scroll to bottom during composition or result.key is evaluated
...
Fixes #378
2016-11-27 01:49:45 -08:00
Daniel Imms
49b76baf3f
Add CircularList and basic tests
...
Part of #361
2016-11-26 16:57:15 -08:00
Daniel Imms
15a94240eb
Implement ^\ String Terminator
...
Fixes #376
2016-11-26 14:59:53 -08:00
Daniel Imms
f75b7db90e
Move CompositionHelper header comment to class
2016-11-22 11:54:42 -08:00
Daniel Imms
81dc48ef00
Clean up viewport more after TS conversion
...
Part of #335
2016-11-22 11:53:45 -08:00
Daniel Imms
3638ef808b
tsify CompositionHelper test
2016-11-22 11:50:08 -08:00
Daniel Imms
f24cba722a
Rename composition-helper-test.js -> CompositionHelper.test.ts
2016-11-22 11:48:16 -08:00
Daniel Imms
30fcdd6ccb
tsify CompositionHelper
2016-11-22 11:47:18 -08:00
Daniel Imms
b0df236dea
Rename CompositionHelper.js -> CompositionHelper.ts
2016-11-22 11:36:34 -08:00
Daniel Imms
d91e33ff39
Merge pull request #369 from Tyriar/368_custom_handler_before_scroll
...
Evaluate the custom keydown event handler before scrolling down
2016-11-22 10:29:43 -08:00
Daniel Imms
1ee316ca83
Merge remote-tracking branch 'upstream/master' into 368_custom_handler_before_scroll
2016-11-22 10:23:04 -08:00
Daniel Imms
dcbf014402
Merge pull request #367 from Tyriar/363_modifier_keys_no_scroll
...
Prevent keyboard modifier events from scrolling down
2016-11-22 08:00:23 -08:00
Daniel Imms
20b0d4fdcc
Merge pull request #370 from Tyriar/335_Viewport_ts
...
Convert Viewport to TypeScript
2016-11-22 07:59:46 -08:00
Daniel Imms
2da1255c26
Merge pull request #355 from Tyriar/354_fix_sourcemaps
...
Set up source maps
2016-11-21 15:27:38 -08:00
Daniel Imms
5bddb93745
Adopt more TS syntax in Viewport.test.ts
2016-11-21 14:44:10 -08:00
Daniel Imms
51932161af
Move viewport-test.js to Viewport.test.ts
2016-11-21 14:39:58 -08:00
Daniel Imms
e0d9871195
Convert Viewport to a TS class
2016-11-21 14:39:08 -08:00
Daniel Imms
634d4af4dd
Rename Viewport.js -> Viewport.ts
...
Part of #335
2016-11-21 14:27:41 -08:00
Daniel Imms
a507e4f002
Add test for not scrolling on custom handler
2016-11-21 14:23:28 -08:00
Daniel Imms
c15fed382d
Evaluate the custom keydown event handler before scrolling down
...
Fixes #368
2016-11-21 14:04:13 -08:00
Daniel Imms
9937d54410
Prevent keyboard modifier events from scrolling down
...
Fixes #363
2016-11-21 14:01:20 -08:00
Daniel Imms
64f6610f11
Merge pull request #353 from Tyriar/352_fix_demo_after_ts
...
Point to correct assets after TS build
2016-11-16 09:56:35 -08:00
Daniel Imms
e6f21f0bfc
Make all dist/ references in index.html absolute
2016-11-14 10:35:20 -08:00
Daniel Imms
c63732ef5f
Set up source maps
...
Fixes #354
2016-11-12 14:24:57 -08:00
Daniel Imms
99496de242
Point to correct assets after TS build
2016-11-12 14:01:38 -08:00
Daniel Imms
29cb576737
Merge pull request #296 from Tyriar/typescript_build_2
...
Move to TypeScript build
2016-11-12 13:51:12 -08:00
Daniel Imms
bf4ef599ad
Merge remote-tracking branch 'upstream/master' into typescript_build_2
2016-11-12 13:46:59 -08:00
Daniel Imms
5ddb33419e
Merge pull request #1 from Tyriar/typescript_build_3
...
Refactor TS build and fix testing
2016-11-12 11:39:24 -08:00
Paris Kasidiaris
bc10fbdfae
Merge pull request #351 from yuvipanda/docsome
...
Add doc comments for *some* events
2016-11-12 12:53:02 +02:00
YuviPanda
6dcf7267a5
Add doc comment for scroll event
2016-11-11 16:28:25 -08:00
YuviPanda
5712365cac
Add docstring for the open event
2016-11-11 16:27:10 -08:00
YuviPanda
1fc5a9aada
Add docstring for the title event
2016-11-11 16:27:01 -08:00
Daniel Imms
38cd1bd6d7
Merge pull request #350 from sourcelair/Tyriar-patch-1
...
Make ttyd link bold like the others
2016-11-11 08:31:44 -08:00
Daniel Imms
771642d17d
Make ttyd link bold like the others
2016-11-09 19:34:36 -08:00
Paris Kasidiaris
bb19b2040b
Merge pull request #347 from tsl0922/update-readme
...
Add ttyd to the real-world uses section of README
2016-11-09 14:52:56 +02:00
Shuanglei Tao
12840dae6c
Add ttyd to the real-world uses section of README
2016-11-09 20:23:36 +08:00
Paris Kasidiaris
521d7dbdaa
Bump version to 2.1.0
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2016-11-08 22:51:33 +00:00
Paris Kasidiaris
2cba2ff3d4
Merge pull request #345 from hiro-su/fix-ie11-right-click-paste
...
Fix the right click paste in IE11
2016-11-08 13:21:12 +02:00
hiro-su
547db92693
Fix the right click paste in IE11
2016-11-08 14:56:57 +09:00
Paris Kasidiaris
bf334238b7
Merge pull request #339 from hiro-su/fix-ie11-copy-event
...
Fixed copy event in IE11
2016-11-05 15:27:50 +00:00
hiro-su
5808de648b
Fixed copy event in IE11
2016-11-05 23:55:34 +09:00
Paris Kasidiaris
9ab0455b05
Merge pull request #342 from sourcelair/issue-#310-cross-browser-right-click
...
Make right-click work on all browsers
2016-11-04 20:40:53 +00:00
Paris Kasidiaris
55ab36662a
Merge pull request #336 from sourcelair/issue-#216-no-auto-scroll-on-output
...
Stop auto scrolling to bottom on output
2016-11-04 19:55:07 +00:00
Paris Kasidiaris
b1ad564b0d
Actually fix tests
2016-11-04 21:48:53 +02:00
Paris Kasidiaris
bc70b3b37d
Fix tests
2016-11-04 19:36:30 +02:00
Paris Kasidiaris
d426c99866
Move all browser/platform detecting in utils/Browser.js
2016-11-04 18:41:00 +02:00
Paris Kasidiaris
356377975b
Fix right-click for Firefox and IE
...
Fix #310
2016-11-04 18:33:04 +02:00
Paris Kasidiaris
0de3d839e6
Improve experience and add test
...
- Scroll to bottom on keydown (when scrolled up)
- Add test to ensure above behavior
2016-11-04 12:29:17 +00:00
Paris Kasidiaris
0fcd6b1d22
Merge pull request #337 from IanLewis/master
...
Add main property to bower.json
2016-11-04 09:35:24 +00:00
Ian Lewis
99b5464392
Add main property to bower.json
...
This patch adds the main property to the project's bower.json for better
interoperability with tools like wiredep etc.
2016-11-03 17:56:58 +05:30
Paris Kasidiaris
70965a8fd6
Merge pull request #334 from hiro-su/fix-ie11-paste-key
...
Fixed paste key in IE11
2016-11-02 09:19:18 +00:00
hiro-su
77ca15497c
Fixed paste key in IE11
2016-11-02 11:17:37 +09:00
Daniel Imms
56ecc77dfc
Refactor TS build and fix testing
...
This change is largely just moving files with minor tweaks to them to fix,
the rest of the commit is build process changes:
- The addons/ and test/ dirs have been moved to src/
- The build directory has been removed
- TypeScript builds are output in out/, this is where tests are run
- The demo now relies on the dist/ build which is performed as part of ./bin/build
- Addons are now shipped under the ./build directory
2016-10-31 21:22:21 -07:00
Daniel Imms
a995b610cf
Remove typings (not needed in TS 2+)
2016-10-31 19:30:35 -07:00
Daniel Imms
332bc6be76
Merge remote-tracking branch 'upstream/master' into typescript_build_2
2016-10-31 19:29:36 -07:00
Paris Kasidiaris
26de9fe4c5
Merge pull request #332 from sourcelair/issue-#331-fix-no-selection-range
...
Consider click not on selection, when s.rangeCount is 0
2016-10-31 18:52:48 +00:00
Paris Kasidiaris
00dcb4f6e3
Consider click not on selection, when s.rangeCount is 0
2016-10-31 15:06:00 +02:00
Daniel Imms
996c641a79
Merge pull request #328 from Tyriar/327_fix_random_line_wrap
...
Force nowrap on each line
2016-10-27 07:52:48 -07:00
Daniel Imms
a077860464
Force nowrap on each line
...
Fixes #327
2016-10-26 18:07:55 -07:00
Mikko Karvonen
5e68acfc76
Quick fix to prevent terminal scrolling when user is looking into scrollback.
2016-10-25 13:54:57 +03:00
Daniel Imms
269540bfed
Merge pull request #323 from Tyriar/322_ime_bad_position
...
Fix the textarea in the composition view's pos when composing
2016-10-24 14:58:41 -07:00
Daniel Imms
868f15173d
Fix the textarea in the composition view's pos when composing
...
Fixes #322
2016-10-24 11:06:25 -07:00
Paris Kasidiaris
06a93344bb
Merge pull request #321 from sourcelair/issue-#313-document-terminal-constructor
...
Issue #313 document terminal constructor
2016-10-24 19:01:37 +03:00
Paris Kasidiaris
e8e7870be2
Remove geometry option from terminal consttructor
2016-10-23 17:55:37 +03:00
Paris Kasidiaris
a9417c6878
Fix term.geometry and document it in constructor options
...
Set `term.geometry` on terminal creation and on resize
2016-10-23 14:22:00 +00:00
Paris Kasidiaris
605d61b64f
Ignore .env files that set the environment
2016-10-23 14:22:00 +00:00
Daniel Imms
8feaacf57e
Merge pull request #320 from Tyriar/299_keep_textarea_in_viewport
...
Correctly size and position the composition view
2016-10-23 07:16:28 -07:00
Daniel Imms
553c651166
Correctly size and position the composition view
2016-10-22 16:27:17 -07:00
Daniel Imms
1ec0bac9c6
Keep composition textarea within viewport
...
Part of #299
2016-10-22 15:41:55 -07:00
Paris Kasidiaris
b1c6ae8a06
Merge pull request #303 from staticfloat/sf/terminado
...
Add `Terminado` example
2016-10-17 21:03:49 +03:00
Daniel Imms
8a124d0b35
Merge pull request #308 from Tyriar/294_scroll
...
Implement scrollPages, scrollToTop, scrollToBottom and add scroll tests
2016-10-10 08:33:09 -07:00
Daniel Imms
0ad02a4afa
Add note that negative scrolls up on scrollPages
2016-10-10 08:25:01 -07:00
Daniel Imms
9389f899d7
Merge pull request #309 from Tyriar/fix_indentation
...
Fix jsdoc indentation
2016-10-10 08:20:56 -07:00
Paris Kasidiaris
050a34921b
Merge pull request #304 from sourcelair/update-addons-paths
...
Make add-ons load Terminal from dist
2016-10-10 10:12:50 +03:00
Daniel Imms
32e878db81
Fix jsdoc indentation
2016-10-09 13:23:22 -07:00
Daniel Imms
0bf7bf56a5
Add jsdoc to scrollTo functions
2016-10-09 13:20:33 -07:00
Daniel Imms
e5d130b698
Add scrollToBottom
2016-10-09 13:19:11 -07:00
Daniel Imms
941e57a218
Add tests for scrollPages
2016-10-09 13:10:18 -07:00
Daniel Imms
c02eea6ad3
Add tests for scrollDisp
2016-10-09 13:08:08 -07:00
Daniel Imms
fe0d878b23
Implement scrollPages
2016-10-09 12:51:58 -07:00
Paris Kasidiaris
763f148fa1
Remove __dirname usage from loadAddon
2016-10-09 13:17:17 +03:00
Elliot Saba
8f0ada708f
Make naming a little more self-consistent
2016-10-08 20:09:34 -07:00
Paris Kasidiaris
8117999ab3
Fix tests
2016-10-08 12:22:18 +03:00
Elliot Saba
10dd22a3d4
Rename Terminado attach and detach functions
2016-10-08 00:36:08 -07:00
Daniel Imms
738f37e86c
Set travis to node 6
2016-10-07 23:01:20 -07:00
Daniel Imms
729c0abf04
Explicitly indicate test locations
2016-10-07 22:56:02 -07:00
Elliot Saba
fe54da34f8
Add terminado.js, an addon for connecting to Terminado backends
2016-10-07 13:33:10 -07:00
Daniel Imms
09de0f31fa
Merge pull request #301 from Tyriar/300_top_textarea_helper
...
Add top to textarea helper
2016-10-05 09:33:08 -07:00
Paris Kasidiaris
6ee524864e
Make add-ons load the latest built version
2016-10-05 13:23:45 +03:00
Elliot Saba
8fd350f0fc
Add Terminado example
2016-10-05 00:32:39 -07:00
Daniel Imms
ebbeeefd86
Add top to textarea helper
...
Fixes #300
2016-10-04 19:03:15 -07:00
Paris Kasidiaris
76a890aa74
Bump version to 2.0.1
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2016-10-03 12:39:39 +00:00
Paris Kasidiaris
5ce522a401
Add built files
2016-10-03 12:39:14 +00:00
Paris Kasidiaris
68906b5def
Bump version to 2.0.0
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2016-10-03 12:37:00 +00:00
Paris Kasidiaris
dddaa16573
Merge pull request #298 from sourcelair/fix-release-scripts
...
Fix release scripts
2016-10-03 15:33:20 +03:00
Paris Kasidiaris
d581559dd4
Fix release scripts
2016-10-03 15:32:14 +03:00
Paris Kasidiaris
3e77db8149
Merge pull request #269 from Tyriar/set_package_main
...
Set package.json main to build/xterm.js
2016-10-03 14:11:34 +03:00
Daniel Imms
bd994f9e57
Install typings on build and add to git ignore
2016-10-01 12:22:57 -07:00
Paris Kasidiaris
9115846017
Merge pull request #293 from sourcelair/issue-#202-fix-paste
...
Allow right-click paste (again)
2016-10-01 10:39:46 +03:00
Daniel Imms
441009d359
Move to TypeScript build
2016-10-01 00:29:33 -07:00
Paris Kasidiaris
ab7d63a8c8
Merge pull request #295 from sourcelair/update-copyright-text
...
Update copyright text in all files
2016-09-30 14:06:34 +03:00
Paris Kasidiaris
a7acee726d
Update copyright text in all files
...
sourceLair Limited → SourceLair Private Company
2016-09-30 13:52:55 +03:00
Paris Kasidiaris
a6f047331f
Add forgotten line to keep copied text 😅
2016-09-29 10:59:24 +03:00
Paris Kasidiaris
a224acb50b
Document new Clipboard module
2016-09-29 07:51:31 +00:00
Paris Kasidiaris
42a1e4ef9b
Move clipboard into its own module
2016-09-29 07:51:07 +00:00
Paris Kasidiaris
dff867b8a7
Fix right-click paste
...
Fix #202
2016-09-29 10:50:21 +03:00
Daniel Imms
8bf8147028
Merge pull request #289 from Tyriar/151_allow_wheel_in_application_mode
...
Allow wheel events in application mode
2016-09-25 04:44:53 -07:00
Daniel Imms
ccf6d8f87d
Merge pull request #287 from Tyriar/286_fix_scroll_in_app_mode
...
Sync scroll bar instead of disabling on enter app mode
2016-09-25 04:44:44 -07:00
Daniel Imms
ac817ccc66
Merge pull request #288 from Tyriar/278_sync_scrollbar_after_reset
...
Sync scroll bar after reset
2016-09-25 02:44:56 -07:00
Daniel Imms
37c07eaaf9
Allow wheel events in application mode
...
This change allows wheel events in application mode which fixes mouse wheel
scrolling in oh-my-zsh and powershell for Linux (among others). Along with #287
a functional scroll bar will also be usable in those shells.
Fixes #151
2016-09-25 02:42:46 -07:00
Daniel Imms
71e20801f0
Fix tests
2016-09-25 02:07:53 -07:00
Daniel Imms
bae1bd6a42
Fix tests
2016-09-25 02:02:05 -07:00
Daniel Imms
c8b194931f
Sync scroll bar after reset
...
Fixes #278
2016-09-25 01:56:03 -07:00
Daniel Imms
c7a4881552
Sync scroll bar instead of disabling on enter app mode
...
Fixes #286
2016-09-25 01:50:49 -07:00
Paris Kasidiaris
26fd963fbd
Merge pull request #283 from iMoses/master
...
Workaround a known bug in Babel JS
2016-09-22 14:46:02 +01:00
imoses
122a34b40e
Merge branch 'master' of https://github.com/sourcelair/xterm.js
2016-09-22 16:28:20 +03:00
imoses
33abd69e85
Tests were failing locally due to a babel js bug - https://github.com/babel/babel/issues/3826
...
Fixed the tests to work around the problem and added /.idea/ to .gitignore for the benefit of contributors who uses intellij
2016-09-22 16:26:03 +03:00
Paris Kasidiaris
76a686beb2
Merge pull request #282 from sourcelair/get-option
...
Add `getOption` API
2016-09-21 17:14:39 +01:00
Paris Kasidiaris
53e8ac9b0c
Stricter check for option existence
2016-09-21 19:09:55 +03:00
Paris Kasidiaris
4b459fe0fd
Implement term.getOption
2016-09-21 13:56:03 +03:00
Daniel Imms
be4c8341ba
Merge pull request #275 from Tyriar/move_comments_inside_case
...
Move key handler comments inside case blocks
2016-09-18 13:49:52 -07:00
Daniel Imms
a33bc027f1
Merge pull request #274 from Tyriar/205_cancel_shift_pg_up_down_event
...
Cancel keydown event on shift+page up/down
2016-09-18 13:49:38 -07:00
Daniel Imms
3c9d8b0d84
Merge pull request #276 from Tyriar/173_clear_api
...
Expose API to clear the terminal
2016-09-17 04:11:20 -07:00
Daniel Imms
26fc53990b
Fix clear function when buffer is <= rows
2016-09-17 04:07:36 -07:00
Daniel Imms
852dac4d62
Don't clear prompt on clear if it already is
2016-09-17 03:59:42 -07:00
Daniel Imms
76719413f9
Expose API to clear the terminal
...
Fixes #173
2016-09-17 02:39:22 -07:00
Daniel Imms
fca673d653
Move key handler comments inside case blocks
...
Improves readability
2016-09-17 01:11:43 -07:00
Daniel Imms
446c3958df
Cancel keydown even on shift+page up/down
...
Fixes #205
2016-09-17 01:09:08 -07:00
Daniel Imms
59e72b8b07
Merge pull request #272 from Tyriar/271_setOption
...
Add setOption API
2016-09-16 02:17:28 -07:00
Daniel Imms
15e56bd809
Add @param to setOption
2016-09-16 02:03:31 -07:00
Daniel Imms
ab5cc0ad05
Add setOption API
...
Fixes #271
2016-09-16 01:46:02 -07:00
Daniel Imms
b89bce17ad
Merge pull request #268 from Tyriar/267_fix_mouseup_focus
...
Fix focus on mouseup when mousedown was in another element
2016-09-16 01:23:57 -07:00
Daniel Imms
7fcbddac04
Set package.json main to build/xterm.js
...
build/xterm.js should be used when require is used when installed via npm.
2016-09-15 16:25:22 -07:00
Daniel Imms
4e1bbee67e
Fix focus on mouseup when mousedown was in another element
...
Fixes #267
2016-09-15 13:50:39 -07:00
Paris Kasidiaris
ecfa44b0e8
Merge pull request #263 from sourcelair/fix-indentation
...
Fix indentation of `src/xterm.js`
2016-09-05 13:18:49 +03:00
Paris Kasidiaris
db76868c26
Fix indentation of src/xterm.js
2016-09-04 16:47:21 +03:00
Paris Kasidiaris
b4c7989566
Merge pull request #252 from ayapi/modifier-keys
...
add modifier+delete, modifier+F1-F12 keys
2016-09-04 16:23:29 +03:00
Paris Kasidiaris
7b38b9ed57
Merge pull request #261 from yurovant/patch-1
...
Update README.md
2016-09-02 11:54:25 +03:00
Anton Yurovskykh
c2fccc0350
Update README.md
...
Fix typo: is => if
2016-09-02 09:28:57 +03:00
Daniel Imms
b56ad5e8fe
Merge pull request #243 from Tyriar/242_enable_scroll_on_soft_reset
...
Disable application mode in viewport on soft reset
2016-08-31 10:40:54 -07:00
Daniel Imms
abfcf27962
Merge pull request #256 from Tyriar/254_compositionhelper_module
...
Pull CompositionHelper into a module
2016-08-31 10:34:14 -07:00
Daniel Imms
6a04614549
Merge remote-tracking branch 'upstream/master' into 254_compositionhelper_module
2016-08-29 16:50:35 -07:00
Daniel Imms
89f981836f
Merge pull request #255 from Tyriar/253_viewport_module
...
Pull Viewport into a module
2016-08-29 16:49:03 -07:00
Paris Kasidiaris
33d4d400f0
Merge pull request #257 from Tyriar/improve_copyright_line
...
Improve copyright line
2016-08-30 02:38:41 +03:00
Daniel Imms
749ed6372a
Improve copyright line
2016-08-29 16:21:00 -07:00
Daniel Imms
81fccee906
Add copyright line
2016-08-29 16:20:11 -07:00
Daniel Imms
4caac78241
Improve copyright line
2016-08-29 16:19:27 -07:00
Daniel Imms
7ff03bb475
Pull Viewport into a module
...
Fixes #253
2016-08-29 16:17:59 -07:00
Daniel Imms
28c3a2026c
Pull CompositionHelper into a module
...
Fixes #254
2016-08-29 16:15:28 -07:00
Paris Kasidiaris
a9c85fe825
Merge pull request #251 from sourcelair/issue-#158-es2015
...
Introduce Babel as the build system, convert src/xterm.js to ES2015 and export EventEmitter
2016-08-30 01:59:17 +03:00
Paris Kasidiaris
c46e799dd0
Update README.md to include xterm.js from new directory
2016-08-29 22:57:19 +03:00
Paris Kasidiaris
ed1a31d1cf
Make src/xterm.js ES2015 and export EventEmitter into its own file
...
Fix #158
2016-08-29 19:51:40 +00:00
ayapi
7f7156bafa
add modifier+F1-F12 keys
2016-08-27 01:13:01 +09:00
ayapi
62ce64f97d
add modifier+delete keys
2016-08-27 01:03:35 +09:00
Paris Kasidiaris
04a226f813
Merge pull request #249 from sourcelair/Tyriar-patch-3
...
Improve grammar
2016-08-26 03:40:16 +03:00
Daniel Imms
68b012ca06
Improve grammar
2016-08-25 14:46:20 -07:00
Paris Kasidiaris
220828f7db
Bump version to 1.1.3
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2016-08-23 22:44:55 +00:00
Paris Kasidiaris
7df7f8f598
Merge pull request #246 from sourcelair/bin-release
...
Improve "prepare-release" and introduce "release" scripts
2016-08-24 01:47:17 +03:00
Paris Kasidiaris
05aff199b2
Improve "prepare-release" and introduce "release" scripts
...
Has to do with #244 .
2016-08-24 01:43:37 +03:00
Daniel Imms
fc22fc39e2
Disable application mode in viewport on soft reset
...
Fixes #242
2016-08-23 09:11:02 -07:00
Paris Kasidiaris
01c20807c2
Bump version to 1.1.2
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2016-08-22 14:26:27 +00:00
Paris Kasidiaris
243ce59806
Merge pull request #240 from sourcelair/issue/239
...
Fix alt + arrow key movement
2016-08-22 17:28:23 +03:00
Paris Kasidiaris
5d6e0356b3
Add tests for arrow key movements
2016-08-22 17:21:58 +03:00
Paris Kasidiaris
8324b43cc2
Fix Alt + Arrow movement
...
Fix #239
2016-08-22 17:17:58 +03:00
Paris Kasidiaris
4c3ccc264c
Bump version to 1.1.1
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2016-08-22 13:11:54 +00:00
Paris Kasidiaris
197c83d993
Merge pull request #234 from Tyriar/233_fix_cursor_on_top_of_ime
...
Ensure composition view is on top of cursor
2016-08-22 16:14:15 +03:00
Paris Kasidiaris
aaded29855
Merge pull request #238 from sourcelair/gitter-badge
...
Add "Chat on Gitter" badge
2016-08-22 14:47:21 +03:00
Paris Kasidiaris
e5656b9982
Add "Chat on Gitter" badge
2016-08-22 14:40:34 +03:00
Paris
c06b08df5b
Bump version to 1.1.0
...
Signed-off-by: Paris <paris@sourcelair.com >
2016-08-22 11:22:21 +00:00
Daniel Imms
fc16752cec
Merge pull request #236 from Tyriar/235_fix_scroll_to_top_on_app_mode
...
Disable onScroll event during application mode
2016-08-21 00:58:47 -07:00
Daniel Imms
588d3b12e0
Disable onScroll event during application mode
...
Fixes #235
2016-08-19 12:52:13 -07:00
Daniel Imms
7de7bdac71
Ensure composition view is on top of cursor
...
Fixes #233
2016-08-18 11:28:10 -07:00
Paris Kasidiaris
6e8e78db57
Merge pull request #230 from ayapi/refresh-viewport-height
...
Refresh the height of the viewport when the line-height changed
2016-08-18 20:35:39 +03:00
ayapi
dcc991bd5c
refresh the height of the viewport when the line-height changed
2016-08-18 19:37:16 +09:00
Daniel Imms
04cb9f33ff
Merge pull request #226 from Tyriar/208_fix_ime_popup_pos
...
Reposition textview after composition view
2016-08-17 08:50:41 -07:00
Paris Kasidiaris
9bd167c10d
Merge pull request #231 from meefik/patch-1
...
Fix incorrect mouse position
2016-08-17 11:57:16 +03:00
Anton Skshidlevsky
dc6aab88b0
Fix incorrect mouse position
...
Incorrect mouse position in Midnight Commander
2016-08-17 10:38:12 +03:00
Paris Kasidiaris
43fc6f1fa3
Merge pull request #228 from ayapi/restore-customkeydownhandler
...
restore customKeydownHandler on reset(RIS)
2016-08-16 17:20:40 +03:00
ayapi
c2aa0d75ec
restore customKeydownHandler on reset(RIS)
2016-08-13 22:44:56 +09:00
Daniel Imms
c24ae84b00
Fix tests
2016-08-12 10:27:49 -07:00
Daniel Imms
92605a9734
Reposition textview after composition view
...
Call the function again via setTimeout to allow changes after composition
events. This prevents the IME windows jumping sometimes on thesecond key
press.
Fixes #208
2016-08-12 10:21:41 -07:00
Daniel Imms
b32a34b97c
Merge pull request #224 from sourcelair/Tyriar-patch-2
...
Sync scroll bar height if the viewport height changes
2016-08-09 09:03:16 -07:00
Daniel Imms
12923a6649
Sync scroll bar height if the viewport height changes
2016-08-08 14:41:39 -07:00
Daniel Imms
e7c7160f85
Merge pull request #218 from Tyriar/77_scroll_bar
...
Implement scroll bar
2016-08-08 12:52:12 -07:00
Paris Kasidiaris
2a0962183e
Merge pull request #223 from sourcelair/Tyriar-patch-1
...
By more explicit in security warning
2016-08-08 20:14:14 +01:00
Daniel Imms
95d9ad46cf
By more explicit in security warning
...
Calling out that the insecurity is due to the barebones implementation
of the demo will prevent people thinking that the library is inherently
insecure.
2016-08-08 10:38:01 -07:00
Daniel Imms
e60513f554
Fix outline showing up when clicking terminal
2016-08-08 10:22:34 -07:00
Daniel Imms
a557a82b40
Fix scrollbar being transparent on OS X
2016-08-08 10:22:19 -07:00
Paris Kasidiaris
3dd6f368d6
Merge pull request #220 from sourcelair/improve-demo
...
Introduce resizing option in demo
2016-08-08 14:35:02 +01:00
Paris
5ce012bdac
Add notice about security risks
2016-08-08 16:28:29 +03:00
Paris Kasidiaris
a2338c49b9
Merge pull request #222 from sourcelair/signed-releases
...
Require release commits to be signed
2016-08-05 14:56:00 +01:00
Paris Kasidiaris
dd6886f358
Merge pull request #221 from odino/patch-1
...
Update pty.js
2016-08-05 14:55:14 +01:00
Paris
5ddf6301c2
Add Sign-Off flag as well
2016-08-05 16:49:04 +03:00
Paris
14dd2c0afb
Require release commits to be signed
2016-08-05 11:21:27 +00:00
Alessandro Nadalin
fc2a0d3e65
Update pty.js
2016-08-05 13:59:21 +04:00
Paris
0f8fc63a5e
First functional resizing demo
...
Fix #211
2016-08-05 12:28:22 +03:00
Paris
f57a40eeb3
First batch of improvements to demo
...
- Used fetch tentatively
- Implemented resize endpoint
- Create terminals with the appropriate size
2016-08-05 08:46:49 +00:00
Daniel Imms
2c9c95f531
Add another test
2016-08-04 18:56:33 -07:00
Daniel Imms
7048f6edf7
Add some tests, fix app keypad mode bug
2016-08-04 18:34:04 -07:00
Paris Kasidiaris
c333cfa073
Merge pull request #214 from mentos1386/mentos1386-linkify
...
Make linkify links open in new tab/window
2016-08-04 14:31:29 +01:00
Tine Jozelj
64d77d2491
Making it more human readable
2016-08-04 15:22:45 +02:00
Tine Jozelj
9604674c65
Default without target atribute
2016-08-04 15:05:09 +02:00
Tine Jozelj
d9294779a6
Add target as option
...
You can now provide target argument if you want to modify target attribute on links. It defaults to `_self` to keep current behavior.
2016-08-04 14:58:42 +02:00
Paris Kasidiaris
3117fe9465
Merge pull request #219 from sourcelair/issue/198
...
Update README and remove screenshot
2016-08-04 11:07:20 +01:00
Paris
0a74b9aa3b
Fix typos
2016-08-04 13:00:47 +03:00
Paris
7e90576391
Update README and remove screenshot
2016-08-04 12:01:37 +03:00
Daniel Imms
0a34885fbc
Fix line-height after rowContainer moved out of viewport
2016-08-03 18:27:43 -07:00
Daniel Imms
61201525a8
Remaining jsdoc
2016-08-03 18:27:19 -07:00
Daniel Imms
1b886a4420
Disable the scroll bar when in application keypad mode
2016-08-03 18:12:44 -07:00
Daniel Imms
6f70984ab6
Drop support for old mouse wheel APIs
...
All browsers have supported the WheelEvent (onwheel) for sometime now, since
Firefox does not support onmousewheel which is also non-standard but works with
the standard interface, it makes sense to drop support now.
2016-08-03 13:41:55 -07:00
Daniel Imms
38fa2d78da
Support DOMMouseScroll event (Firefox)
2016-08-03 13:00:07 -07:00
Daniel Imms
fe905bace5
Prevent the page from scrolling when the terminal scrolls
2016-08-03 12:49:12 -07:00
Daniel Imms
e7e1434293
Clean up, refresh sizes when font-size changes
2016-08-03 12:47:36 -07:00
Daniel Imms
363c647a5f
Sync scroll bar on more sensible events
2016-08-03 11:27:16 -07:00
Daniel Imms
aac60eb029
Add support for WheelEvent.deltaMode
2016-08-03 10:16:08 -07:00
Daniel Imms
06ca03ae9c
Get it working
2016-08-02 18:36:24 -07:00
Daniel Imms
ff927b8e79
Implement basic scroll bar
2016-08-02 16:59:50 -07:00
Daniel Imms
670b0d58c7
Add base viewport, set line height
...
Fixes #149
2016-08-02 12:42:13 -07:00
Tine Jozelj
3113cdf0ea
Make linkify links open in new tab/window
...
I believe this behavior is more appropriate.
2016-08-02 15:57:15 +02:00
Paris Kasidiaris
d2cef6f29d
Merge pull request #210 from Tyriar/209_hide_textarea_when_not_composing
...
Hide textarea off-screen when not composing
2016-08-01 11:35:06 +03:00
Daniel Imms
d62bd5f748
Get rid of rogue whitespace
2016-07-28 11:15:20 -07:00
Daniel Imms
e6fd1381ce
Hide textarea off-screen when not composing
...
Fixes #209
2016-07-28 11:13:24 -07:00
Daniel Imms
65b2be7831
Merge pull request #186 from Tyriar/118_support_custom_keydown_handler
...
Allow custom keydown handler to be attached
2016-07-22 05:21:28 -07:00
Daniel Imms
e2d0de2686
Fix test
2016-07-22 05:18:28 -07:00
Daniel Imms
495b2d7fbb
Merge remote-tracking branch 'upstream/master' into 118_support_custom_keydown_handler
2016-07-22 05:12:52 -07:00
Paris Kasidiaris
5e662d0eb7
Merge pull request #203 from Tyriar/124_fix_focus_blur
...
Correct blur/focus delegation
2016-07-22 14:26:48 +03:00
Daniel Imms
892db98c96
Correct blur/focus delegation
...
Focus and blur events on the Terminal object are delegated to the textarea
which handles everything.
2016-07-22 04:14:05 -07:00
Paris Kasidiaris
10fbf0dccc
Merge pull request #175 from Tyriar/124_add_textarea_back
...
Add textarea back and support IMEs
2016-07-22 11:50:23 +03:00
Daniel Imms
4595a18197
Tidy up blur/focus handlers
2016-07-21 10:51:43 -07:00
Daniel Imms
577a3d81e5
Use explicit boolean comparison
2016-07-21 10:32:20 -07:00
Paris Kasidiaris
55fb5dbcb5
Merge pull request #200 from jerch/fix_193
...
fixing arrow key sequences
2016-07-21 15:00:17 +03:00
Jörg Breitbart
8e7eeff45c
fixing test cases
2016-07-21 12:47:19 +02:00
Jörg Breitbart
ec7130b46f
fixing arrow key sequences
2016-07-21 12:39:36 +02:00
Paris Kasidiaris
dc17f0d02e
Merge pull request #192 from sourcelair/bump-version-1-0-0
...
Bump version to 1.0.0
2016-07-18 11:21:47 +03:00
Paris
14cd4315c7
Bump version to 1.0.0
2016-07-18 07:50:07 +00:00
Paris Kasidiaris
644d881787
Merge pull request #191 from sourcelair/prepare-release-script
...
Introduce prepare release script
2016-07-18 10:47:00 +03:00
Paris
7fdfc62237
Introduce prepare-release script
2016-07-18 10:43:35 +03:00
Paris
9fa0f00c23
Add AUTHORS and AUTHORS generator script
2016-07-18 10:04:04 +03:00
Paris Kasidiaris
fe6aaa3664
Merge pull request #190 from sourcelair/contributing-md
...
Introduce CONTRIBUTING.md and Contributing section in README.md
2016-07-18 09:40:09 +03:00
Paris
6e6b527d6e
Improve issue template
2016-07-18 09:36:39 +03:00
Paris
94d0009994
Add issue template
2016-07-18 09:36:01 +03:00
Paris
7cd99d1559
Add Development and Contribution section in README.md
2016-07-17 22:04:48 +03:00
Paris
d91fa3b6fb
Add CONTRIBUTING.md
2016-07-17 18:55:49 +00:00
Paris Kasidiaris
466dca361c
Merge pull request #187 from Tyriar/remove_linkify_from_readme
...
Switch linkify for fit in readme
2016-07-17 21:46:19 +03:00
Paris Kasidiaris
8b24c39a1d
Merge pull request #184 from Tyriar/patch-2
...
Add statement on browser support
2016-07-17 18:48:23 +03:00
Daniel Imms
9dd64dfb49
Switch linkify for fit in readme
...
Linkify doesn't work currently so it shouldn't be used as an example.
2016-07-15 16:41:40 -07:00
Daniel Imms
0010a5a109
Explicitly return from keydown
2016-07-15 16:33:30 -07:00
Daniel Imms
9cb5b005bb
Add tests
2016-07-15 16:31:57 -07:00
Daniel Imms
06a3aa6cf8
Merge remote-tracking branch 'upstream/master' into 118_support_custom_keydown_handler
2016-07-15 16:21:06 -07:00
Daniel Imms
d4e9d34d2d
Allow custom keydown handler to be attached
...
Fixes #118
2016-07-15 16:16:37 -07:00
Daniel Imms
a3a7017f6b
Fix tests
2016-07-15 10:22:31 -07:00
Daniel Imms
fedc1fd325
Fix keydown conditional
2016-07-15 10:17:29 -07:00
Daniel Imms
11d5f51e67
Merge remote-tracking branch 'upstream/master' into 124_add_textarea_back
2016-07-15 10:13:56 -07:00
Daniel Imms
2c810ce763
Add note about support intentions
2016-07-15 10:12:55 -07:00
Daniel Imms
b61e81d5b4
Add latest Edge version as supported, alphabetize
2016-07-15 10:10:10 -07:00
Daniel Imms
534a9e7f5a
Big clean up
...
Move keydown event to CompositionHelper
Move call in refresh to be handled with an event
2016-07-13 21:50:00 -07:00
Daniel Imms
14a62c0f8b
Add test cases for Japanese
2016-07-13 21:22:27 -07:00
Daniel Imms
89d29bbc10
Fix non-composition char input after composition char + test
2016-07-13 21:02:43 -07:00
Daniel Imms
ac8db6e8ec
jsdoc handleAnyTextareaChanges
2016-07-13 20:52:55 -07:00
Daniel Imms
0a7c1bfd98
Position the textarea below the cursor during a composition
...
This will position any IME helper in the correct position
2016-07-13 20:46:43 -07:00
Daniel Imms
4efb8d24ac
Don't wrap multi-character compositions
2016-07-13 20:34:55 -07:00
Daniel Imms
38d08873bc
Don't finalize composition on modifier key presses
2016-07-13 20:34:43 -07:00
Daniel Imms
8074d754d3
Only position composition view if a cursor is visible
2016-07-13 20:12:49 -07:00
Daniel Imms
f3db84decb
Add statement on browser support
...
Fixes #183
2016-07-13 15:28:14 -07:00
Paris Kasidiaris
13644ce351
Merge pull request #178 from sourcelair/issue/169
...
Fix entering hash (#) on British keyboard layout
2016-07-13 20:18:41 +03:00
Daniel Imms
e1c1b07a0b
Add test cases for Korean
2016-07-13 08:37:24 -07:00
Paris
42ec3b492a
Clarify isThirdLevelShift
2016-07-13 17:53:33 +03:00
Daniel Imms
c18794f202
Merge remote-tracking branch 'upstream/master' into 124_add_textarea_back
2016-07-13 07:14:14 -07:00
Paris
0862fd1f59
Fix thirdLevelKey clause
2016-07-13 17:10:45 +03:00
Paris
6663a947ee
Separate dummy keyDown and keyPress events in tests
2016-07-13 16:48:48 +03:00
Paris
3e8bb98197
Fix #169
2016-07-13 16:35:57 +03:00
Paris Kasidiaris
9b2f68a25d
Merge pull request #177 from sourcelair/document-everything-part-2
...
Document all public methods of Xterm
2016-07-13 15:38:18 +03:00
Paris
11a7cd6983
Fix all leading whitespaces (eliminate tabs)
2016-07-13 13:24:53 +03:00
Paris
7d904e455d
Fix leading whitespaces (eliminate tabs)
2016-07-13 13:22:51 +03:00
Paris
c3cf6a22e9
Document all public methods
2016-07-13 13:14:02 +03:00
Paris
12a150a438
Document more public methods and transform comments to JSDoc compatible
2016-07-13 13:03:40 +03:00
Daniel Imms
8b46e84263
Use correct .terminal-cursor for composition view
2016-07-12 21:42:10 -07:00
Daniel Imms
237e6819bf
Fix tests
2016-07-12 20:55:24 -07:00
Daniel Imms
8faea59e31
Handle non-composition input when IME is active
2016-07-12 20:51:55 -07:00
Daniel Imms
cab79c473f
jsdoc and tidy up
2016-07-12 20:26:18 -07:00
Daniel Imms
c656ed04b0
Use handler not write, fix other edge cases
2016-07-12 20:19:26 -07:00
Daniel Imms
29000fb79e
Refactor into CompositionHelper object
2016-07-12 19:14:56 -07:00
Daniel Imms
03fa017d4a
Re-hide the textarea
2016-07-12 18:49:37 -07:00
Daniel Imms
26af6ffd4d
Get IMEs working
2016-07-12 18:48:08 -07:00
Daniel Imms
7d8e28a7dd
Merge remote-tracking branch 'upstream/master' into 124_add_textarea_back
2016-07-12 17:02:11 -07:00
Daniel Imms
a52b7e7a4e
Add starting point for IME support
2016-07-12 16:50:07 -07:00
Daniel Imms
aaedcfc700
Support focus class on the .xterm element
2016-07-12 16:18:05 -07:00
Daniel Imms
fc7b22dc48
Manually revert textarea changes
2016-07-12 16:03:31 -07:00
Paris Kasidiaris
5b44e36317
Merge pull request #161 from jerch/tests_xterm
...
xterm test cases
2016-07-13 00:46:44 +03:00
Jörg Breitbart
82f5de3bb9
Merge branch 'tests_xterm' of https://github.com/jerch/xterm.js into tests_xterm
2016-07-12 21:27:06 +02:00
Jörg Breitbart
dcf30b40c0
cleanup xterm test file
2016-07-12 21:26:38 +02:00
Jörg Breitbart
3b89134c05
selecting sucessful tests
2016-07-12 21:26:38 +02:00
Jörg Breitbart
d76d50677d
adding xterm comparison tests
2016-07-12 21:26:38 +02:00
Paris Kasidiaris
8790a94a56
Merge pull request #165 from sourcelair/first-docs
...
Document several public methods
2016-07-10 03:57:05 +03:00
Jörg Breitbart
308535dc5c
cleanup xterm test file
2016-07-09 14:57:57 +02:00
Paris Kasidiaris
efe5b20b73
Merge pull request #168 from freebroccolo/master
...
⬆️ pty.js@0.3.1
2016-07-09 01:47:52 +03:00
Darin Morrison
d1a6e8de3b
⬆️ pty.js@0.3.1
2016-07-07 12:42:49 -06:00
Paris
f3cf646bbf
Better document scrollDisp
2016-07-06 12:37:45 +03:00
Paris
a39b309b74
Remove most public directives
2016-07-06 12:36:11 +03:00
Paris
1aeb562066
progress
2016-07-06 09:32:40 +00:00
Paris
107d1a1496
First chunk of documentation
2016-07-06 09:32:40 +00:00
Paris Kasidiaris
39edbfb655
Merge pull request #163 from jerch/fix_147_162
...
fixing #147 and #162
2016-07-06 12:29:01 +03:00
Jörg Breitbart
246b0edaa1
disable refresh for tests
2016-07-06 00:23:10 +02:00
Jörg Breitbart
4afa08da8d
fixing #147 and #162
2016-07-05 23:54:15 +02:00
Jörg Breitbart
dc5b525559
selecting sucessful tests
2016-07-05 14:55:03 +02:00
Paris Kasidiaris
30251e5d7c
Merge pull request #160 from Tyriar/159_fix_nbsp_resize
...
Have ' ' chars get inserted correctly after a resize
2016-07-05 13:53:34 +03:00
Paris Kasidiaris
81e231ea20
Merge pull request #155 from Tyriar/154_fix_resize_at_top_exception
...
Fix exception when increasing size when viewport is at top of buffer
2016-07-05 12:56:45 +03:00
Jörg Breitbart
36930e9661
adding xterm comparison tests
2016-07-05 11:36:30 +02:00
Daniel Imms
838c11b69c
Have ' ' chars get inserted correctly after a resize
...
Since the character spec didn't contain a character width it was being skipped
during refresh.
Fixes #159
2016-07-04 13:17:08 -07:00
Daniel Imms
05041722f1
Correct if condition
2016-07-04 12:15:47 -07:00
Paris Kasidiaris
36eb7efe5e
Merge pull request #153 from sourcelair/fix/pasting
...
Fix Ctrl+Shift+V pasting
2016-06-30 14:29:28 +03:00
Daniel Imms
87c9370e8c
Fix exception when increasing size when viewport is at top of buffer
...
Fixes #154
2016-06-30 02:05:06 -07:00
TDaglis
0b018fd4e9
Fix Ctrl+Shift+V pasting
2016-06-30 10:58:00 +03:00
Paris Kasidiaris
39c4356ef6
Merge pull request #148 from bfis/fix/MouseEvent_clone
...
Fix MouseEvent cloning
2016-06-27 16:04:33 +03:00
Benjamin Fischer
59b79e9b04
Fix MouseEvent cloning
...
Cloneing MouseEvent instances via __proto__ (lline 1099) caused the cloned object to be broken and throw "TypeError: Illegal invocation" during property access ("ev.shiftKey" line 1020).
2016-06-27 13:27:19 +02:00
Paris Kasidiaris
b2e940f305
Merge pull request #144 from jerch/wcwidth
...
wcwidth calculation
2016-06-27 12:02:47 +03:00
Jörg Breitbart
c3bc59b5e1
adding unicode test cases
2016-06-26 12:50:06 +02:00
Jörg Breitbart
e3126ba3f8
cleanup
2016-06-25 10:12:21 +02:00
Jörg Breitbart
f951abb7a9
wcwidth only for printables
2016-06-24 16:25:00 +02:00
Paris Kasidiaris
549a8cd31b
Merge pull request #142 from Tyriar/patch-1
...
Only blink cursor if the terminal has focus
2016-06-24 05:58:38 -07:00
Jörg Breitbart
874ba72f4e
wcwidth calculation
2016-06-24 14:16:12 +02:00
Daniel Imms
ea1fd3d01b
Only blink cursor if the terminal has focus
...
Fixes #141
2016-06-23 22:16:29 -07:00
Paris Kasidiaris
4c6b993458
Merge pull request #138 from dbkaplun/disable-ligatures
...
Disable ligatures which mess up rendering for certain fonts
2016-06-23 18:39:52 -07:00
Dan Kaplun
323cc44e0e
Disable ligatures
2016-06-23 15:07:38 -07:00
Antonis Kalipetis
8bf81875ca
Merge pull request #130 from Tyriar/windows_demo
...
Get demo working on Windows
2016-06-23 11:52:16 +03:00
Daniel Imms
15cf76c767
Bind to 127.0.0.1 on Windows only
2016-06-22 20:43:41 -07:00
Daniel Imms
3df272fb92
Merge remote-tracking branch 'upstream/master' into windows_demo
2016-06-22 20:36:05 -07:00
Paris Kasidiaris
04a8137f09
Merge pull request #137 from sourcelair/improve-paste
...
Fix cumbersome pasting with Cmd + V
2016-06-19 20:45:31 +03:00
Paris
3217a4bee4
Fix cumbersome pasting with Cmd + V
...
For some reason, setting the element's contentEditable value to true within a keyboard event, while the element has focus, did not allow pasting with clipboard, unless the element gets clicked explicitly.
2016-06-19 06:12:25 +03:00
Daniel Imms
2aab58473e
Fix npm scripts
2016-06-16 16:31:01 -07:00
Daniel Imms
5d3bac6a86
Merge remote-tracking branch 'upstream/master' into windows_demo
2016-06-16 16:28:20 -07:00
Paris Kasidiaris
09d67a6c52
Merge pull request #131 from sourcelair/issue/120
...
Fix focus and blur events emission
2016-06-16 17:06:10 +03:00
Paris
af7588ef16
On big refreshes remove term.rowContainer instead of term.element from DOM
...
Fix #120
2016-06-16 11:47:05 +03:00
Paris
a6e85ad5f5
Progress with #120
2016-06-16 11:41:41 +03:00
Paris Kasidiaris
d5e83902a5
Merge pull request #133 from Tyriar/132_fix_constant_focus
...
Only refresh when asked
2016-06-15 12:53:31 +03:00
Paris Kasidiaris
055614bbbc
Merge pull request #121 from Tyriar/119_fix_cursor_blink
...
Fix cursor blinking when enabled
2016-06-15 09:51:49 +03:00
Daniel Imms
0d803ac895
Use CSS animations
2016-06-14 10:52:49 -07:00
Daniel Imms
253babff62
Merge remote-tracking branch 'upstream/master' into 119_fix_cursor_blink
2016-06-14 10:36:56 -07:00
Daniel Imms
fac964bcf5
Only refresh when asked
...
Fixes #132
2016-06-14 10:33:24 -07:00
Paris Kasidiaris
02d809c194
Merge pull request #117 from Tyriar/86_protect_max_refresh
...
Bound refresh max rows to this.rows not this.lines
2016-06-14 11:11:04 +03:00
Paris Kasidiaris
5d1b6cfe97
Merge pull request #129 from sourcelair/docs
...
Improve docs building script and template
2016-06-14 10:56:08 +03:00
Paris Kasidiaris
e37a9b62b7
Merge pull request #128 from Tyriar/127_debounce_refresh
...
Allow refresh to execute 30 times a second maximum
2016-06-14 10:49:53 +03:00
Daniel Imms
623853f3f4
Get demo working on Windows
...
- Removed bin bash scripts in favor of npm scripts so they work
cross-platform
- Moved to use 127.0.0.1 as 0.0.0.0 doesn't work on Windows
Note that this doesn't work with the current pty.js as it doesn't build on
Windows.
2016-06-13 15:55:47 -07:00
Paris Kasidiaris
6c892e7161
Merge pull request #125 from sourcelair/addon-loader
...
Implement addon loader (CommonJS + RequireJS)
2016-06-14 00:58:23 +03:00
Paris
be304c6ee7
Implement docs building
2016-06-14 00:21:17 +03:00
Paris
00f380a75c
Implement test
2016-06-14 00:05:47 +03:00
Daniel Imms
af29effbf3
Allow refresh to execute 30 times a second maximum
...
For commands that pass a significant amount of output to the write function,
this prevents the terminal maxing out the CPU and making the UI unresponsive.
While commands can still run beyond what they do on the terminal, it is far
better with a debounce in place as every single terminal manipulation does not
need to be constructed in the DOM.
A side-effect of this is that it makes ^C to interrupt a process seem more
responsive.
Fixes #127
Fixes #126
2016-06-13 12:40:56 -07:00
Paris
57300f5159
Implement addon loader (CommonJS + RequireJS)
...
Closes #96
2016-06-13 19:07:29 +03:00
Paris Kasidiaris
9d34ed8781
Merge pull request #122 from Tyriar/demo_options
...
Add basic options selection to demo
2016-06-13 15:03:10 +03:00
Paris Kasidiaris
f3dd0a4ec8
Merge pull request #123 from Tyriar/jsdoc
...
Add some jsdoc for important functions
2016-06-13 14:58:17 +03:00
Antonis Kalipetis
9371520a73
Merge pull request #93 from Tyriar/linkify_ip_addr
...
Add IP addresses to linkify
2016-06-13 14:53:17 +03:00
Daniel Imms
fd5be55d81
Add some jsdoc for important functions
...
Part of #13
2016-06-10 20:05:26 -07:00
Daniel Imms
e0c0fb6917
Add basic options selection to demo
...
This will make it easier to test options without needing to modify the demo.
2016-06-10 19:15:58 -07:00
Daniel Imms
f2f0f460c4
Add a bunch of tests
2016-06-10 18:53:32 -07:00
Daniel Imms
08928d8b8e
Merge remote-tracking branch 'upstream/master' into linkify_ip_addr
2016-06-10 18:08:39 -07:00
Daniel Imms
cb4728f8f5
Tidy up code
2016-06-10 18:05:24 -07:00
Daniel Imms
4a71a41380
Fix cursor blinking when enabled
...
Fixes #119
2016-06-10 18:05:13 -07:00
Daniel Imms
9c3b1105e2
Check optional port clause after domain too
2016-06-10 13:15:59 -07:00
Daniel Imms
edf897182e
Bound refresh max rows to this.rows not this.lines
...
this.row is the size of rows in the viewport, this.lines is the buffer. It's
only possible to refresh `0` to `this.rows - 1`.
Fixes #86
2016-06-10 13:08:43 -07:00
Paris Kasidiaris
7c1559b8ad
Merge pull request #60 from runarberg/master
...
Fix cross platform input problems
2016-06-10 19:32:45 +03:00
runarberg
b01165c1f8
Fix third level shifts for Mac OS and windows
...
ISO third level keys were not working. That prevented some inputting
important characters (like pipe `|` and caret `^`) on some keyboard
layouts.
Instead of parsing the user-agent string to find the users os, we now
look into the `platform` attribute of the `navigator` object.
Removed the hijacking of the command key `⌘` on Mac OS as the `Alt` key
on other systems.
2016-06-10 16:14:31 +00:00
Paris Kasidiaris
b5d9c6b113
Merge pull request #115 from sourcelair/decimal-terminal-flags
...
Stop using binary literals
2016-06-10 19:07:25 +03:00
Paris
5a56849df8
Stop using binary literals. Non ES6 compatible
2016-06-10 19:02:49 +03:00
Paris Kasidiaris
c908f849c5
Merge pull request #114 from sourcelair/fix-copy-nbsp
...
Stop copying non-breaking spaces into clipboard
2016-06-10 17:05:10 +03:00
Paris
fed92ac5c8
Implement tests
2016-06-10 16:35:56 +03:00
Paris
00f4232ecc
Export copied text processing to static method
2016-06-10 16:27:58 +03:00
Paris
fa1cd89aa9
Fix copying of non-breaking spaces
2016-06-10 16:17:14 +03:00
Antonis Kalipetis
5193f4fae0
Merge pull request #109 from Tyriar/65_send_ctrl_l_r_key
...
Jump over words with ctrl+left/right
2016-06-10 15:57:10 +03:00
Daniel Imms
740ae96f5f
Merge remote-tracking branch 'upstream/master' into 65_send_ctrl_l_r_key
2016-06-10 03:00:22 -07:00
Paris Kasidiaris
55ca998224
Merge pull request #110 from Tyriar/64_cursor_disappears_when_scrolling
...
Draw cursor at correct position when scrolling
2016-06-10 12:22:28 +03:00
Paris Kasidiaris
fdff1ca793
Merge pull request #107 from runarberg/fix/ctrl-or-shift-insert-copy-pasting
...
Allow Ctrl/Shift + insert to copy/paste on windows and linux
2016-06-10 11:57:15 +03:00
Paris Kasidiaris
fa729b8306
Merge pull request #112 from Tyriar/111_scroll_with_blank_lines_after_cursor
...
Improve scroll to work with blank lines after the cursor
2016-06-10 11:40:08 +03:00
Daniel Imms
eee99f62e1
Improve scroll to work with blank lines after the cursor
...
This commit works fixes scrolling when there were blank lines after the cursor.
Here is what it does (blank rows are those added by running `clear`):
when increasing rows:
if there are blank rows below the cursor:
add a blank row to the bottom
else if there is room in the buffer above the viewport
scroll up
else
add a blank row to the bottom
when decreasing rows:
if there are blank rows below the cursor:
remove a blank row from the bottom
else
scroll down
Fixes #111
2016-06-09 21:13:48 -07:00
Daniel Imms
da9f86f1a7
Draw cursor at correct position when scrolling
...
Fixes #64
2016-06-09 19:59:59 -07:00
Daniel Imms
0535f9425b
More escape sequence tests
2016-06-09 19:25:29 -07:00
Daniel Imms
c86fd87819
Add tests for F-keys
2016-06-09 19:00:40 -07:00
Daniel Imms
3a866cf202
Refactor escape sequence code and add tests
2016-06-09 18:41:54 -07:00
Daniel Imms
e2aaa8d362
Jump over words with ctrl+left/right
...
Escape codes used: 5=ctrl, C=right, D=left
Fixes #65
2016-06-09 18:01:12 -07:00
runarberg
524db02228
Fix Ctrl/Shift + insert copy/paste
...
Many systems (including MS Windows and many linuxes) map `<Ctrl>` +
`<Insert>` to copy and `<Shift> + <Insert>` to paste. That serves as a
handy fallback when the more common `<Ctrl> + C` and `<Ctrl> + V`
keybindings have their default prevented to send signals to the
terminal.
Currently all keydown-events with the insert key send `\x1b[2~` to the
terminal. This commit won't send that key if either the `shiftKey` or
the `ctrlKey` are present. Instead it will enable `contentEditable` to
allow for pasting.
2016-06-09 13:45:02 +00:00
Paris Kasidiaris
cf9d2348a1
Merge pull request #97 from Tyriar/redundant_resize
...
Don't resize when unnecessary
2016-06-09 10:53:16 +03:00
Paris Kasidiaris
92122bf29b
Merge pull request #105 from sourcelair/issue/46
...
Introduce testing environment for xterm.js
2016-06-09 10:29:34 +03:00
Paris
abb7a49584
Add CXX environment
2016-06-09 10:22:49 +03:00
Paris
beff0db301
Add apt addon in travis for node-gyp dependency of pty.js
2016-06-09 10:18:39 +03:00
Paris
ab1526b085
Add travis ci build status in xterm.js
2016-06-09 10:10:36 +03:00
Paris
b91e737017
Add .travis.yml
2016-06-09 10:08:44 +03:00
Paris
fa093e2bd2
Set up environment for testing
2016-06-09 10:04:53 +03:00
Paris Kasidiaris
2f001f8af9
Merge pull request #102 from Tyriar/dont_crash_demo_refresh
...
Don't crash demo server on refresh
2016-06-09 09:49:28 +03:00
Paris
f87300d30e
Remove old test-suite completely
2016-06-09 09:49:11 +03:00
Paris Kasidiaris
04ae96617d
Merge pull request #101 from Tyriar/fix_resize_buffer
...
Fix buffer corruption after resizing rows
2016-06-09 09:13:06 +03:00
Daniel Imms
7a80efd8bd
Don't crash demo server on refresh
...
Fixes #100
2016-06-08 19:28:55 -07:00
Daniel Imms
df268ad5cd
Fix buffer corruption after resizing rows
...
Lines from the buffer were incorrectly being removed when the viewport was
resized. This change removes the lines when the cursor is above them, if not it
shifts the viewport down. Some basic jsdoc comments were added to some Terminal
properties for future reference.
Fixes #98
Fixes #99
2016-06-08 19:08:32 -07:00
Daniel Imms
e721bdc9f0
Don't resize when unnecessary
2016-06-08 17:38:34 -07:00
Paris Kasidiaris
ae99ad83d0
Merge pull request #84 from sourcelair/fix/terminal-focus-event
...
Fix emission of terminal focus&blur events
2016-06-09 00:00:05 +03:00
Paris Kasidiaris
c491537de1
Merge pull request #95 from sourcelair/issue/85
...
Stop marking spans as `inline-block`
2016-06-08 22:09:21 +03:00
Paris
383d59bbc3
Stop marking spans as inline-block (not needed after 670b179140)
...
Fix #85
2016-06-08 22:03:45 +03:00
Paris Kasidiaris
2471910244
Merge pull request #94 from Tyriar/patch-2
...
Add section on addons to README
2016-06-08 21:30:34 +03:00
Daniel Imms
2a36ff0839
Merge remote-tracking branch 'upstream/master' into patch-2
2016-06-07 23:34:35 -07:00
Paris Kasidiaris
136c838f30
Merge pull request #89 from Tyriar/readme_demo
...
Add demo section to README
2016-06-08 09:19:18 +03:00
Paris Kasidiaris
bd3936cc9f
Merge pull request #88 from Tyriar/patch-1
...
Add http:// to demo output address
2016-06-08 09:17:49 +03:00
Daniel Imms
dab80b58ae
Add section on addons to README
2016-06-07 22:31:39 -07:00
Daniel Imms
23cfa3d824
Add IP addresses to linkify
...
Fixes #91
2016-06-07 22:12:38 -07:00
Daniel Imms
289ff8092d
Add demo section to README
...
Fixes #87
2016-06-07 17:08:37 -07:00
Daniel Imms
47b01786e2
Add http:// to demo output address
...
This makes it easy to launch the demo in a browser by right clicking the URL in
gnome-terminal
2016-06-07 16:43:33 -07:00
TDaglis
6bc1881727
Fix emission of terminal focus&blur events
2016-06-07 13:58:00 +03:00
Paris Kasidiaris
21d765b227
Merge pull request #82 from sourcelair/issue/79
...
Make cursor hollow on blur
2016-06-07 13:44:36 +03:00
Paris
d82c008052
Make cursor hollow on blur
...
Fix #79
2016-06-07 10:42:21 +00:00
Paris Kasidiaris
11823ce890
Merge pull request #83 from sourcelair/issue/76
...
Set line height of terminal rows to normal
2016-06-07 13:39:47 +03:00
Paris
670b179140
Set line height of terminal rows to normal
...
Fix #76
2016-06-07 12:23:28 +03:00
Paris Kasidiaris
637c2eae43
Merge pull request #81 from sourcelair/bash-demo
...
Implement fully featured bash terminal demo with a static terminal fallback
2016-06-07 11:43:58 +03:00
Paris
53e8df40bb
Implement fully featured terminal demo w/ static fallback
2016-06-07 08:41:41 +00:00
Paris Kasidiaris
180a7af75d
Merge pull request #78 from sourcelair/drop-hidden-textarea
...
Drop hidden textarea for input handling
2016-06-07 09:36:44 +03:00
Paris
0fd0f45d8b
Fix indentation
2016-06-06 19:38:13 +03:00
Paris
8754f8d895
Fix focus and blur events
2016-06-05 03:59:52 +00:00
Paris
c02cc84498
Fix cut and copy events
...
- Do not actually cut on cut
- Strip trailing whitespaces on copy (fix #66 )
2016-06-05 06:35:33 +03:00
Paris
647216876b
Add a few hacks for better paste handling across browsers
2016-06-03 11:04:46 +03:00
Paris
f3bd6145a5
Vanish selection when a key with data is being pressed
2016-06-02 13:31:38 +03:00
Paris
7320515820
Tiny styling update in row line height
2016-06-02 13:08:06 +03:00
Paris
8fa1a46584
Handle the paste event better
2016-06-02 13:05:58 +03:00
Paris
fa7d214e78
Remove even more useless code
2016-06-02 12:35:03 +03:00
Paris
178b611b0c
Remove useless methods
2016-06-02 12:27:43 +03:00
Paris Kasidiaris
1f28c22323
Merge pull request #74 from Tyriar/master
...
Remove extra whitespace from class names
2016-06-02 12:26:55 +03:00
Daniel Imms
ae0f963799
Remove extra whitespace from class names
...
Use [].join to retain browser compatibility
Fixes #73
2016-06-02 02:17:03 -07:00
Paris
82cac90005
Remove helper styling from xterm.css
2016-06-02 12:02:51 +03:00
Paris
8ebfa27210
Merge branch 'master' of github.com:sourcelair/xterm.js into content-editable
2016-06-02 12:00:31 +03:00
Paris Kasidiaris
4babc92d7c
Merge pull request #58 from sourcelair/issue/57
...
Proper rendering of inverse data in default colors
2016-05-30 23:37:01 +03:00
Paris
1a3846161a
Proper rendering of inverse data in default colors
...
Fix #57
2016-05-30 16:03:26 +00:00
Paris Kasidiaris
ff7d0e58dc
Merge pull request #56 from sourcelair/issue/54
...
Explicitly adjust height of terminal rows and child elements
2016-05-30 14:52:59 +03:00
Paris
3d64f91a5c
Properly adjust height of terminal rows and child elements
...
Fix #54
2016-05-26 11:41:42 +03:00
Paris Kasidiaris
f980f32fe5
Merge pull request #53 from sourcelair/issue/52
...
Make all add-ons CommonJS importable
2016-05-04 11:24:36 +03:00
Paris
dc67c94545
Change CommonJS package structure
...
Instead of making Xterm prototype extending optional, just require Xterm and pass it as parameter to the function just like it is being done with RequireJS
2016-05-03 12:48:16 +03:00
Paris
fff56eea1b
Extend Xterm prototype only when Xterm is a function
...
Add-ons attempted to extend the `Xterm` prototype no matter what. This was an issue when importing add-ons through CommonJS, where `Xterm` is not available in the global scope.
2016-05-03 12:36:21 +03:00
Paris
bd2158613d
Make all add-ons CommonJS importable
...
- Fix #52
- Rename `npm/nodejs project` documentation to `CommonJS environment`
2016-05-03 12:05:13 +03:00
Paris
537fbad705
Bump version to 0.33
2016-04-26 12:17:41 +03:00
Paris Kasidiaris
52cc8fa5fe
Merge pull request #51 from blink1073/fix-blink
...
Fix cursor blink
2016-04-23 02:26:55 +03:00
Steven Silvester
7988f634f3
Handle focus clearing
2016-04-21 07:57:13 -05:00
Steven Silvester
a5e34e2288
Fix cursor blink
2016-04-20 15:41:33 -05:00
Paris Kasidiaris
ad3764ae4a
Merge pull request #50 from blink1073/fix-resize
...
Use shift() when reducing lines to preserve lines up to cursor
2016-04-20 18:36:38 +03:00
Steven Silvester
685bc54bf2
Use shift to reduce lines to preserve lines up to cursor
2016-04-14 06:35:44 -05:00
Paris Kasidiaris
a54eb8ac44
Merge pull request #49 from noseglid/nodejs-module
...
nodejs module definition
2016-04-12 14:18:03 +03:00
Alexander Olsson
6a87253d94
nodejs module definition
...
Allow importing xterm into a nodejs application (for instance an electron
application, or perhaps a test environment using phantomjs which
also has a DOM),
2016-04-11 15:08:47 +02:00
Paris
6406a88ddf
pointless
2016-04-08 18:10:27 +03:00
Paris
18b2a1c3b4
Handle drop event
2016-03-10 02:55:24 +02:00
Paris
58056df23d
Start working on replacing textarea with contentEditable
2016-03-10 02:07:10 +02:00
Paris
a88e27cc7d
Bump version to 0.32
2016-02-09 14:50:34 +02:00
Paris
7cab2501da
Merge branch 'master' of github.com:sourcelair/xterm.js
2016-02-09 12:49:21 +00:00
Paris
dd93e62a41
Update README
2016-02-09 14:48:54 +02:00
Paris
d238a1998c
Update .gitignore to ingore npm logs
2016-02-09 14:42:33 +02:00
Paris Kasidiaris
6bbb21490c
Merge pull request #45 from sourcelair/package-json
...
Package json
2016-02-06 18:41:54 +02:00
Paris
9f0fa2f815
Update package.json (name, repository, license)
2016-02-06 18:41:24 +02:00
Paris
f5fb10063c
Fix version
2016-01-09 19:43:56 +02:00
Paris
721bd272b5
Add package.json
2016-01-09 19:43:18 +02:00
Thanasis Daglis
c170156147
Merge pull request #44 from sourcelair/issue/18
...
Cursor is now invisible in IE
2015-11-12 17:47:03 +02:00
TDaglis
a2f6f2be03
added comment for fix
...
explained IE "hack" to fix textarea's blinking cursor
2015-11-12 15:05:51 +02:00
Thanasis Daglis
412260392f
Merge pull request #43 from sourcelair/fix/marginal-terminal-width
...
Fixed marginal width geometry
2015-11-12 11:42:37 +02:00
TDaglis
5f8585a625
made cursor invisible in IE
...
fixes #18
2015-11-11 10:37:21 +02:00
TDaglis
ee0d15c878
added *.css rules in .editorconfig for indent consistency
2015-11-11 10:36:20 +02:00
TDaglis
3f0b584f25
fixed marginal width geometry
2015-11-10 18:27:17 +02:00
Thanasis Daglis
41fd20c6e4
Merge pull request #42 from sourcelair/fix/fit-width
...
Fixed width of fit
2015-11-04 11:45:21 +02:00
Thanasis Daglis
01e9524098
Merge pull request #41 from sourcelair/fix/firefox-selection
...
Fixed selection in firefox
2015-11-04 11:45:09 +02:00
TDaglis
d9d99c1c27
fixed width of fit
...
removed firefox hack since it is no longer needed
2015-11-03 14:55:24 +02:00
TDaglis
f53f5735e1
added selection.type fallback check
...
for browsers that might not support Selection.isCollapsed property
2015-11-03 12:00:28 +02:00
TDaglis
7a88a4b0e9
fixed selection in firefox
2015-11-03 09:32:43 +00:00
Thanasis Daglis
85733fea56
Merge pull request #40 from sourcelair/fix/keydown-filtering
...
Better filtering of input
2015-10-29 18:36:19 +02:00
TDaglis
369e1f4c1e
exclude alt and meta keys from ctrl default case
2015-10-29 18:34:20 +02:00
TDaglis
702fd24ce8
ignore ctrl+shift characters in keydown input
2015-10-29 18:27:46 +02:00
Thanasis Daglis
961e62207c
Merge pull request #38 from sourcelair/fix/focus-events
...
Fix xterm focus events
2015-10-27 11:30:00 +02:00
TDaglis
cc950614c5
blur textarea on terminal blur
2015-10-26 17:13:04 +02:00
TDaglis
556140e7d9
added .editorconfig
2015-10-26 17:07:34 +02:00
TDaglis
987f09d880
auto emit blur and focus of textarea
2015-10-26 15:07:15 +00:00
Thanasis Daglis
4cf2f9a847
Merge pull request #37 from sourcelair/fix/attach
...
Fixed typo and reference in attach addon
2015-10-22 12:17:24 +03:00
TDaglis
2fce845ea6
fixed typo and reference in attach addon
...
also bumped version to 0.31
2015-10-22 11:33:56 +03:00
Thanasis Daglis
9914fd9a38
Merge pull request #36 from sourcelair/linkify/enhance
...
Added lenient option to linkify
2015-10-22 10:26:44 +03:00
TDaglis
a221a3c9f8
documented lenient option of linkify
2015-10-22 09:53:14 +03:00
TDaglis
b1058b9fcc
Added lenient option to linkify
2015-10-22 06:47:15 +00:00
Paris Kasidiaris
4c2508028a
Merge pull request #32 from chani/patch-1
...
Update main.js
2015-09-08 17:29:06 +03:00
Jean Bruenn
d516d4df7c
Update main.js
...
just a tiny change, if you are using the demo file as example to start working with, prompt as variable might cause trouble if you do use prompt() rather use shellprompt as variable name instead of prompt. I'd suggest to rename term's prompt() as well to not cause confusion.
2015-09-08 14:08:44 +02:00
Paris Kasidiaris
d20c36dff2
Merge pull request #31 from akalipetis/hotfix/ie
...
Fixed IE issues with classList.add
2015-08-25 15:37:29 +03:00
Antonis Kalipetis
a523803d37
Fixed IE issues with classList.add
...
`classList.add` in IE does not take more than one parameter and this would not work. Split in 3 statements to fix it.
2015-08-25 14:40:00 +03:00
Paris
bbb688313e
[attach addon] Improve documentation
2015-04-13 19:47:04 +03:00
Paris
d6c8369630
Update README.md
2015-04-13 19:21:47 +03:00
Paris
05eb5df93c
Set up JSDoc documentation
...
Started working on #13
2015-04-13 19:18:09 +03:00
Paris
51fe17ee43
Mark version 0.30
2015-02-25 09:34:12 +02:00
Paris Kasidiaris
1d5737f843
Merge pull request #22 from sourcelair/issue/21
...
Introduce bufferred attaching to websocket
2015-02-25 09:31:35 +02:00
Paris
13103aecb2
[attach addon] Document with JSDoc
2015-02-24 22:28:47 +02:00
Paris
e9d2c806ba
[attach addon] Switch indentation to 4 spaces instead of 2
2015-02-24 20:57:28 +02:00
Paris
932ab00a53
Implement buffered attaching
...
Fixes #21
2015-02-24 20:55:52 +02:00
Paris Kasidiaris
6cfd957697
Merge pull request #20 from akalipetis/issue/19
...
Pressing Alt + ←/→ does not interfere now with browser
2015-01-28 11:52:55 +02:00
Antonis Kalipetis
f00d8964c2
Replaced preventDefault with cancel
2015-01-28 11:20:47 +02:00
Antonis Kalipetis
9ef6b52352
Pressing Alt + ←/→ does not interfere now with browser
...
Previously, when on Chrome for Windows, if default was not prevented the browser history backward/forward was triggered.
Fixes #19
2015-01-28 11:04:38 +02:00
Paris Kasidiaris
2a9de5e5c0
Merge pull request #17 from sourcelair/issue/8
...
Bump to v0.29
2015-01-19 19:45:19 +02:00
paris
761e5db937
Merged with master
2015-01-19 19:45:03 +02:00
paris
391d8f4097
Bump version to 0.29 and copyright year to 2015
2015-01-19 19:07:28 +02:00
paris
af39a3fcc0
Fix #8
...
Also fix some Internet Explorer incompatibilities
2015-01-19 19:06:17 +02:00
Paris Kasidiaris
69153c04a6
Merge pull request #16 from sourcelair/addon/linkify
...
Implement conversion of URLs to link elements in a terminal view
2015-01-15 12:14:23 +02:00
paris
85abfb8151
Bump version to 0.28
2015-01-06 13:12:31 +02:00
paris
e100ee0cc0
[addon linkify] Further optimize URL algorithm
2015-01-06 13:03:07 +02:00
Paris Kasidiaris
d5d48cd48a
Merge pull request #15 from sourcelair/issue/14
...
Jump words back and forward with "Alt + ←" and "Alt + →"
2015-01-06 12:37:45 +02:00
paris
3e7ab290fa
[addon linkify] Remove console.log
2015-01-05 16:07:29 +02:00
paris
43ac453db1
[addon linkify] Improve start and end clauses
2015-01-05 16:05:14 +02:00
paris
d0d87505a9
[addon linkify] Improve URL to link conversion algorithm
2015-01-04 22:27:14 +02:00
paris
c8a497eb82
[addon linkify] Fine-grained module and documented almost everything
2015-01-04 20:39:57 +02:00
paris
523ff9908f
[addon linkify] Set up proper initialization of add-on
...
- Also created a demo page for the addon
2015-01-04 15:45:26 +02:00
paris
72ed03adcb
Fix #14
2015-01-04 15:33:21 +02:00
paris
b60903a2ae
[addon linkify] Start working on "linkifying" URLs in the terminal
2015-01-04 15:08:36 +02:00
paris
c5af270885
Mark version 0.27
2014-11-24 17:42:17 +02:00
Antonis Kalipetis
510990c312
Merge pull request #11 from sourcelair/issue/9
...
Fixed incorrect row/column calculation in Firefox
2014-11-24 17:36:18 +02:00
akalipetis
37be8e0f34
Fixed correct fitting of Terminal
2014-11-24 17:24:21 +02:00
paris
8dd80566d0
Fix #9
...
- Calculate character width by using the cursor instead of custom hack in fit addon
- Increment character width by 1 in Firefox, since it seems to have a bug in calculating width of specific elements
2014-11-17 17:08:14 +02:00
paris
c6a7e15b03
[fit addon] Restore row content after proposing geometry
...
- Restore `subjectRow.innerHTML`, using the `contentBuffer`
- Bump version to 0.25
2014-11-17 12:36:13 +02:00
paris
87979aeed4
Bind window to AMD module
...
- Bind window to Xterm AMD module
- Fix typo in fit addon
- Bump version to 0.24
2014-11-17 12:28:52 +02:00
paris
615f633f25
[fit addon] Introduce proposeGeometry method
...
- Introduce new method to propose optimal geometry for the current terminal
- Bump version to 0.23
2014-11-17 12:21:05 +02:00
paris
567b39dc98
Fix #6
2014-09-22 05:48:05 +00:00
paris
0b2bdb182b
Bump version to 0.22
2014-09-18 11:11:45 +00:00
paris
4ce1440fb8
[addon attach] Make reference to socket fail-safe
2014-09-18 11:11:29 +00:00
paris
f24c020aca
[addon attach] Fix reference error
...
Also bump version to 0.21
2014-09-18 10:15:10 +00:00
paris
3fca219404
[addon attach] Implement detach method (Bump to 0.20)
2014-09-18 10:02:29 +00:00
paris
6906bf3e7d
Implement detach function
2014-09-18 10:01:54 +00:00
paris
670efc4454
Bump Bower version to 0.19
2014-09-18 09:06:53 +00:00
paris
74f9526177
[addon attach] Implement auto-detaching on socket close/error
2014-09-18 09:06:23 +00:00
paris
28b553caa6
Bump version to 0.18
2014-09-15 13:52:20 +00:00
paris
22ff176c6a
Fix #5
2014-09-15 13:51:42 +00:00
paris
d24e00554d
Tiny README updates
2014-09-10 11:15:24 +00:00
paris
bc67c788d2
Bump version to 0.17
2014-09-10 11:09:59 +00:00
paris
3f455f90d9
Fix #4
2014-09-10 11:09:23 +00:00
paris
ede9ee416a
Bump version to 0.16
2014-08-29 09:58:27 +00:00
paris
53f5672524
Fix #3
2014-08-29 09:57:53 +00:00
paris
9d00eec6c4
Fix #2
2014-08-27 09:50:09 +00:00
paris
3b1f1ddb2d
Bump version to 0.15
2014-08-19 13:25:27 +00:00
paris
a249d2714f
Fix terminal fitting height
2014-08-19 13:24:43 +00:00
Paris Kasidiaris
3d40dcf3c5
Update company name
2014-08-18 11:00:49 +03:00
paris
d07f61314b
Bump version to 0.14
2014-08-16 03:53:52 +00:00
paris
7355a04274
Further fixing of xterm.fit
2014-08-16 03:53:22 +00:00