]> git.proxmox.com Git - mirror_xterm.js.git/log
mirror_xterm.js.git
7 years agoAdd jsdoc
Daniel Imms [Tue, 4 Jul 2017 04:43:52 +0000 (21:43 -0700)]
Add jsdoc

7 years agoAdd scroll functionality for mobile
Anish Athalye [Sat, 1 Jul 2017 23:27:49 +0000 (16:27 -0700)]
Add scroll functionality for mobile

7 years agoMerge pull request #750 from irokas/Rows-fix
Daniel Imms [Tue, 4 Jul 2017 01:23:48 +0000 (18:23 -0700)]
Merge pull request #750 from irokas/Rows-fix

Set minimum scrollback value to number of rows if needed on resize

7 years agoMerge branch 'master' into Rows-fix
Daniel Imms [Tue, 4 Jul 2017 01:14:31 +0000 (18:14 -0700)]
Merge branch 'master' into Rows-fix

7 years agoMerge pull request #754 from LucianBuzzo/753-ie11-terminal-cursor
Paris Kasidiaris [Mon, 3 Jul 2017 11:55:01 +0000 (14:55 +0300)]
Merge pull request #754 from LucianBuzzo/753-ie11-terminal-cursor

Add one class at a time to element for IE11 compatibility

7 years agoAdd one class at a time to element for IE11 compatibility
Lucian Buzzo [Mon, 3 Jul 2017 10:20:28 +0000 (11:20 +0100)]
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.

7 years agoSet minimum scrollback value to number of rows if needed on resize
irokas [Sun, 2 Jul 2017 21:04:36 +0000 (00:04 +0300)]
Set minimum scrollback value to number of rows if needed on resize

7 years agoMerge pull request #746 from Tyriar/745_colon_word_sep
Daniel Imms [Sun, 2 Jul 2017 19:36:46 +0000 (12:36 -0700)]
Merge pull request #746 from Tyriar/745_colon_word_sep

Remove colon from the selection word separators

7 years agoMerge branch 'master' into 745_colon_word_sep
Daniel Imms [Sun, 2 Jul 2017 19:30:45 +0000 (12:30 -0700)]
Merge branch 'master' into 745_colon_word_sep

7 years agoFix tests
Daniel Imms [Sun, 2 Jul 2017 19:29:31 +0000 (12:29 -0700)]
Fix tests

7 years agoMerge pull request #749 from irokas/fix-scrollback
Paris Kasidiaris [Sun, 2 Jul 2017 11:39:07 +0000 (14:39 +0300)]
Merge pull request #749 from irokas/fix-scrollback

Fix issue with small scrollback value

7 years agoAdd test for scrollback fix
irokas [Sun, 2 Jul 2017 11:34:19 +0000 (14:34 +0300)]
Add test for scrollback fix

7 years agoFix issue with small scrollback value.
irokas [Sun, 2 Jul 2017 11:22:24 +0000 (14:22 +0300)]
Fix issue with small scrollback value.

Closes #506

7 years agoRemove colon from the word separators
Daniel Imms [Sat, 1 Jul 2017 00:07:52 +0000 (17:07 -0700)]
Remove colon from the word separators

Fixes #745

7 years agoMerge pull request #741 from AndrienkoAleksandr/codeCleanUp
Daniel Imms [Fri, 30 Jun 2017 16:50:54 +0000 (09:50 -0700)]
Merge pull request #741 from AndrienkoAleksandr/codeCleanUp

Little code clean up.

7 years agoMerge branch 'master' into codeCleanUp
Daniel Imms [Fri, 30 Jun 2017 16:46:54 +0000 (09:46 -0700)]
Merge branch 'master' into codeCleanUp

7 years agoMerge pull request #733 from Tyriar/732_drop_selection_on_alt
Daniel Imms [Fri, 30 Jun 2017 16:40:49 +0000 (09:40 -0700)]
Merge pull request #733 from Tyriar/732_drop_selection_on_alt

Drop selection when the active buffer changes

7 years agoMerge branch 'master' into 732_drop_selection_on_alt
Daniel Imms [Fri, 30 Jun 2017 16:36:26 +0000 (09:36 -0700)]
Merge branch 'master' into 732_drop_selection_on_alt

7 years agoMerge pull request #743 from nechitai/add-user
Paris Kasidiaris [Fri, 30 Jun 2017 12:40:30 +0000 (15:40 +0300)]
Merge pull request #743 from nechitai/add-user

Add hexlet.io to the users list

7 years agoAdd hexlet.io to the users list
Artem Arbatskiy [Fri, 30 Jun 2017 11:30:02 +0000 (18:30 +0700)]
Add hexlet.io to the users list

7 years agoFix docs.
Aleksandr Andriienko [Fri, 30 Jun 2017 06:57:24 +0000 (09:57 +0300)]
Fix docs.

7 years agoLittle code clean up.
Oleksandr Andriienko [Thu, 29 Jun 2017 20:36:07 +0000 (23:36 +0300)]
Little code clean up.

7 years agoMerge branch 'master' into 732_drop_selection_on_alt
Daniel Imms [Thu, 29 Jun 2017 19:13:10 +0000 (12:13 -0700)]
Merge branch 'master' into 732_drop_selection_on_alt

7 years agoMerge pull request #738 from Tyriar/737_crlf_windows
Daniel Imms [Thu, 29 Jun 2017 19:12:56 +0000 (12:12 -0700)]
Merge pull request #738 from Tyriar/737_crlf_windows

Use crlf when copying on Windows

7 years agoUse crlf when copying on Windows
Daniel Imms [Thu, 29 Jun 2017 14:37:40 +0000 (07:37 -0700)]
Use crlf when copying on Windows

Fixes #737

7 years agoMerge branch 'master' into 732_drop_selection_on_alt
Daniel Imms [Wed, 28 Jun 2017 22:21:27 +0000 (15:21 -0700)]
Merge branch 'master' into 732_drop_selection_on_alt

7 years agoMerge pull request #736 from AndrienkoAleksandr/master
Daniel Imms [Wed, 28 Jun 2017 19:45:16 +0000 (12:45 -0700)]
Merge pull request #736 from AndrienkoAleksandr/master

Fix 'CR' issue on Linux based OS.

7 years agoFix up.
Oleksandr Andriienko [Tue, 27 Jun 2017 21:48:13 +0000 (00:48 +0300)]
Fix up.

7 years agoSimplify .gitattributes
Oleksandr Andriienko [Tue, 27 Jun 2017 21:39:16 +0000 (00:39 +0300)]
Simplify .gitattributes

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
7 years agoFix 'CR' issue on Linux based OS.
Oleksandr Andriienko [Tue, 27 Jun 2017 20:25:01 +0000 (23:25 +0300)]
Fix 'CR' issue on Linux based OS.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
7 years agoDrop selection when the active buffer changes
Daniel Imms [Tue, 27 Jun 2017 17:13:16 +0000 (10:13 -0700)]
Drop selection when the active buffer changes

Fixes #732

7 years agoMerge pull request #712 from chabou/customKeypressHandler
Paris Kasidiaris [Thu, 22 Jun 2017 13:16:23 +0000 (16:16 +0300)]
Merge pull request #712 from chabou/customKeypressHandler

Add attachCustomKeyEventsHandler

7 years agoMerge branch 'master' into customKeypressHandler
Daniel Imms [Wed, 21 Jun 2017 15:51:15 +0000 (08:51 -0700)]
Merge branch 'master' into customKeypressHandler

7 years agoMerge pull request #725 from Tyriar/724_fix_hasSelection
Daniel Imms [Wed, 21 Jun 2017 15:38:43 +0000 (08:38 -0700)]
Merge pull request #725 from Tyriar/724_fix_hasSelection

Have Terminal.hasSelection return false when no selection

7 years agoMerge branch 'master' into 724_fix_hasSelection
Daniel Imms [Wed, 21 Jun 2017 15:34:33 +0000 (08:34 -0700)]
Merge branch 'master' into 724_fix_hasSelection

7 years agoMerge pull request #723 from Tyriar/699_linux_middle_click
Daniel Imms [Wed, 21 Jun 2017 15:34:06 +0000 (08:34 -0700)]
Merge pull request #723 from Tyriar/699_linux_middle_click

Fix select and middle click to paste selection

7 years agoMerge branch 'master' into 699_linux_middle_click
Daniel Imms [Wed, 21 Jun 2017 15:29:54 +0000 (08:29 -0700)]
Merge branch 'master' into 699_linux_middle_click

7 years agoMerge pull request #719 from Tyriar/718_selection_on_top
Daniel Imms [Wed, 21 Jun 2017 15:29:40 +0000 (08:29 -0700)]
Merge pull request #719 from Tyriar/718_selection_on_top

Render selection on top of rows

7 years agoMerge branch 'master' into 718_selection_on_top
Daniel Imms [Wed, 21 Jun 2017 15:25:05 +0000 (08:25 -0700)]
Merge branch 'master' into 718_selection_on_top

7 years agoMerge pull request #722 from Tyriar/721_firefox_contextmenu
Daniel Imms [Wed, 21 Jun 2017 15:24:52 +0000 (08:24 -0700)]
Merge pull request #722 from Tyriar/721_firefox_contextmenu

Fix context menu in firefox

7 years agoEnsure outside selection pastes are respected
Daniel Imms [Tue, 20 Jun 2017 18:17:12 +0000 (11:17 -0700)]
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.

7 years agoUse auxclick event
Daniel Imms [Tue, 20 Jun 2017 17:49:58 +0000 (10:49 -0700)]
Use auxclick event

7 years agoHave Terminal.hasSelection return false when no selection
Daniel Imms [Tue, 20 Jun 2017 17:38:33 +0000 (10:38 -0700)]
Have Terminal.hasSelection return false when no selection

Fixes #724

7 years agoAdd a comment
Daniel Imms [Tue, 20 Jun 2017 17:24:16 +0000 (10:24 -0700)]
Add a comment

7 years agoHandle middle click to paste selection
Daniel Imms [Tue, 20 Jun 2017 17:18:29 +0000 (10:18 -0700)]
Handle middle click to paste selection

This appears to work in Chrome but not Firefox

7 years agoFix context menu in firefox
Daniel Imms [Tue, 20 Jun 2017 17:01:39 +0000 (10:01 -0700)]
Fix context menu in firefox

Fixes #721

7 years agoFix selection going to clipboard
Daniel Imms [Mon, 19 Jun 2017 22:45:18 +0000 (15:45 -0700)]
Fix selection going to clipboard

Part of #699

7 years agoMerge branch 'master' into customKeypressHandler
CHaBou [Mon, 19 Jun 2017 20:10:03 +0000 (22:10 +0200)]
Merge branch 'master' into customKeypressHandler

7 years agoAdd attachCustomKeyEventHandler()
CHaBou [Mon, 19 Jun 2017 20:03:19 +0000 (22:03 +0200)]
Add attachCustomKeyEventHandler()

Use a uniq customKeyEventHandler for keyDown and keyPress events
Mark and warn attachCustomKeydownHandler() as deprecated.

7 years agoAllow mouse events to pass through selection
Daniel Imms [Mon, 19 Jun 2017 18:26:52 +0000 (11:26 -0700)]
Allow mouse events to pass through selection

7 years agoRender selection on top of rows
Daniel Imms [Mon, 19 Jun 2017 18:18:55 +0000 (11:18 -0700)]
Render selection on top of rows

Fixes #718

7 years agoMerge pull request #716 from Tyriar/697_select_to_word
Daniel Imms [Mon, 19 Jun 2017 14:56:35 +0000 (07:56 -0700)]
Merge pull request #716 from Tyriar/697_select_to_word

Select to the word at the mouse after double click

7 years agoMerge branch 'master' into 697_select_to_word
Daniel Imms [Mon, 19 Jun 2017 14:47:40 +0000 (07:47 -0700)]
Merge branch 'master' into 697_select_to_word

7 years agoMerge pull request #715 from Tyriar/709_improve_selection
Daniel Imms [Mon, 19 Jun 2017 14:47:15 +0000 (07:47 -0700)]
Merge pull request #715 from Tyriar/709_improve_selection

Improve selection cell selection

7 years agoMerge branch 'master' into 709_improve_selection
Daniel Imms [Mon, 19 Jun 2017 14:39:29 +0000 (07:39 -0700)]
Merge branch 'master' into 709_improve_selection

7 years agoMerge pull request #714 from Tyriar/713_dblclick_word_separators
Daniel Imms [Mon, 19 Jun 2017 14:39:15 +0000 (07:39 -0700)]
Merge pull request #714 from Tyriar/713_dblclick_word_separators

Don't select colon, quotes or brackets when double clicking

7 years agoUse an enum for selection mode
Daniel Imms [Sun, 18 Jun 2017 19:56:32 +0000 (12:56 -0700)]
Use an enum for selection mode

7 years agoSelect to the word at the mouse after double click
Daniel Imms [Sun, 18 Jun 2017 19:52:43 +0000 (12:52 -0700)]
Select to the word at the mouse after double click

Fixes #697

7 years agoMerge branch 'master' into 709_improve_selection
Daniel Imms [Sun, 18 Jun 2017 19:03:30 +0000 (12:03 -0700)]
Merge branch 'master' into 709_improve_selection

7 years agoImprove selection cell selection
Daniel Imms [Sun, 18 Jun 2017 19:02:58 +0000 (12:02 -0700)]
Improve selection cell selection

Fixes #709

7 years agoAlso consider ' and " word separators
Daniel Imms [Sun, 18 Jun 2017 18:51:00 +0000 (11:51 -0700)]
Also consider ' and " word separators

For example URIs in json

7 years agoMerge branch 'master' into 713_dblclick_word_separators
Daniel Imms [Sun, 18 Jun 2017 18:08:22 +0000 (11:08 -0700)]
Merge branch 'master' into 713_dblclick_word_separators

7 years agoDon't select colon or brackets when double clicking
Daniel Imms [Sun, 18 Jun 2017 17:38:04 +0000 (10:38 -0700)]
Don't select colon or brackets when double clicking

Fixes #713

7 years agoAdd customKeypressHandler
CHaBou [Thu, 15 Jun 2017 06:38:29 +0000 (08:38 +0200)]
Add customKeypressHandler

7 years agoMerge pull request #711 from sourcelair/Tyriar-patch-1
Daniel Imms [Fri, 16 Jun 2017 14:17:39 +0000 (07:17 -0700)]
Merge pull request #711 from sourcelair/Tyriar-patch-1

Move latest addition to real world use cases to the end

7 years agoMove latest addition to real world use cases to the end
Daniel Imms [Fri, 16 Jun 2017 14:13:03 +0000 (07:13 -0700)]
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.

7 years agoMerge pull request #710 from alex-kovoy/alex-kovoy-patch-1
Paris Kasidiaris [Thu, 15 Jun 2017 22:15:04 +0000 (23:15 +0100)]
Merge pull request #710 from alex-kovoy/alex-kovoy-patch-1

Added 'Gravitational Teleport' to Real-world uses

7 years agoAdded 'Gravitational Teleport' to Real-world uses
Alexey Kontsevoy [Thu, 15 Jun 2017 22:05:07 +0000 (18:05 -0400)]
Added 'Gravitational Teleport' to Real-world uses

We use xterm.js in Gravitational Teleport.

7 years agoMerge pull request #707 from jdanyow/issue-683
Daniel Imms [Wed, 14 Jun 2017 22:22:04 +0000 (15:22 -0700)]
Merge pull request #707 from jdanyow/issue-683

normalize line endings to \r

7 years agonormalize line endings to \r
Jeremy Danyow [Wed, 14 Jun 2017 21:51:36 +0000 (14:51 -0700)]
normalize line endings to \r

fixes #683

7 years agoMerge pull request #688 from Tyriar/642_link_wrapped_char_duplication
Daniel Imms [Tue, 13 Jun 2017 21:53:23 +0000 (14:53 -0700)]
Merge pull request #688 from Tyriar/642_link_wrapped_char_duplication

Fix issue with strings in wrapped spans being duplicated

7 years agoMerge branch 'master' into 642_link_wrapped_char_duplication
Daniel Imms [Tue, 13 Jun 2017 21:45:17 +0000 (14:45 -0700)]
Merge branch 'master' into 642_link_wrapped_char_duplication

7 years agoMerge pull request #691 from Tyriar/mid_selection_single_element
Daniel Imms [Tue, 13 Jun 2017 21:45:11 +0000 (14:45 -0700)]
Merge pull request #691 from Tyriar/mid_selection_single_element

Use a single element for the middle of the selection

7 years agoMerge branch 'master' into mid_selection_single_element
Daniel Imms [Tue, 13 Jun 2017 21:40:48 +0000 (14:40 -0700)]
Merge branch 'master' into mid_selection_single_element

7 years agoMerge pull request #693 from Tyriar/443_retain_wrapped_lines_copy
Daniel Imms [Tue, 13 Jun 2017 21:40:41 +0000 (14:40 -0700)]
Merge pull request #693 from Tyriar/443_retain_wrapped_lines_copy

Retain wrapped line state when copying

7 years agoMerge branch 'master' into 443_retain_wrapped_lines_copy
Daniel Imms [Tue, 13 Jun 2017 21:32:01 +0000 (14:32 -0700)]
Merge branch 'master' into 443_retain_wrapped_lines_copy

7 years agoMerge pull request #700 from Tyriar/698_mousedown_preventDefault
Daniel Imms [Tue, 13 Jun 2017 21:31:50 +0000 (14:31 -0700)]
Merge pull request #700 from Tyriar/698_mousedown_preventDefault

Prevent mousedown event default selection behavior

7 years agoMerge branch 'master' into 698_mousedown_preventDefault
Daniel Imms [Mon, 12 Jun 2017 21:53:48 +0000 (14:53 -0700)]
Merge branch 'master' into 698_mousedown_preventDefault

7 years agoPrevent mousedown event default selection behavior
Daniel Imms [Mon, 12 Jun 2017 21:51:58 +0000 (14:51 -0700)]
Prevent mousedown event default selection behavior

Fixes #698

7 years agoMerge branch 'master' into 642_link_wrapped_char_duplication
Daniel Imms [Sun, 11 Jun 2017 18:34:22 +0000 (11:34 -0700)]
Merge branch 'master' into 642_link_wrapped_char_duplication

7 years agoMerge branch 'master' into mid_selection_single_element
Daniel Imms [Sun, 11 Jun 2017 18:34:20 +0000 (11:34 -0700)]
Merge branch 'master' into mid_selection_single_element

7 years agoMerge branch 'master' into 443_retain_wrapped_lines_copy
Daniel Imms [Sun, 11 Jun 2017 18:34:17 +0000 (11:34 -0700)]
Merge branch 'master' into 443_retain_wrapped_lines_copy

7 years agoMerge pull request #680 from Tyriar/set_row_height_explicitly
Daniel Imms [Sat, 10 Jun 2017 17:25:06 +0000 (10:25 -0700)]
Merge pull request #680 from Tyriar/set_row_height_explicitly

Set row height when char size is changed

7 years agoMerge remote-tracking branch 'origin/master' into set_row_height_explicitly
Daniel Imms [Sat, 10 Jun 2017 17:21:20 +0000 (10:21 -0700)]
Merge remote-tracking branch 'origin/master' into set_row_height_explicitly

7 years agoRetain wrapped line state when copying
Daniel Imms [Sat, 10 Jun 2017 00:12:00 +0000 (17:12 -0700)]
Retain wrapped line state when copying

Fixes #443

7 years agoUse a single element for the middle of the selection
Daniel Imms [Fri, 9 Jun 2017 23:35:21 +0000 (16:35 -0700)]
Use a single element for the middle of the selection

This reduces the number of DOM nodes used for the selection dramatically.

7 years agoMerge pull request #670 from Tyriar/207_selection_manager
Daniel Imms [Fri, 9 Jun 2017 20:41:34 +0000 (13:41 -0700)]
Merge pull request #670 from Tyriar/207_selection_manager

Reimplement selection in the terminal

7 years agoAdd class header comments
Daniel Imms [Fri, 9 Jun 2017 19:47:16 +0000 (12:47 -0700)]
Add class header comments

7 years agoAdd regression test
Daniel Imms [Fri, 9 Jun 2017 18:59:18 +0000 (11:59 -0700)]
Add regression test

7 years agoFix issue with strings in wrapped spans being duplicated
Daniel Imms [Fri, 9 Jun 2017 18:48:10 +0000 (11:48 -0700)]
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

7 years agoUse user-select supported by other browsers
Daniel Imms [Thu, 8 Jun 2017 02:23:46 +0000 (19:23 -0700)]
Use user-select supported by other browsers

7 years agoFix bug when selection end is less than start
Daniel Imms [Thu, 8 Jun 2017 02:17:38 +0000 (19:17 -0700)]
Fix bug when selection end is less than start

7 years agoAdd .gitattributes file
Daniel Imms [Thu, 8 Jun 2017 02:15:52 +0000 (19:15 -0700)]
Add .gitattributes file

Makes working on Windows less bothersome.

7 years agoSelect last character in bottom right in select all
Daniel Imms [Wed, 7 Jun 2017 21:44:16 +0000 (14:44 -0700)]
Select last character in bottom right in select all

7 years agoAdd more selection manager/model tests
Daniel Imms [Wed, 7 Jun 2017 21:37:09 +0000 (14:37 -0700)]
Add more selection manager/model tests

7 years agoAdd SelectionModel tests
Daniel Imms [Wed, 7 Jun 2017 21:15:18 +0000 (14:15 -0700)]
Add SelectionModel tests

7 years agoFix clearSelection in select all mode
Daniel Imms [Wed, 7 Jun 2017 20:48:12 +0000 (13:48 -0700)]
Fix clearSelection in select all mode

7 years agoMove prepareTextForClipboard logic into SelectionManager
Daniel Imms [Wed, 7 Jun 2017 20:42:08 +0000 (13:42 -0700)]
Move prepareTextForClipboard logic into SelectionManager

7 years agoFix tests
Daniel Imms [Wed, 7 Jun 2017 20:20:44 +0000 (13:20 -0700)]
Fix tests

7 years agoAdd clearSelection API
Daniel Imms [Wed, 7 Jun 2017 20:07:34 +0000 (13:07 -0700)]
Add clearSelection API