]> git.proxmox.com Git - mirror_xterm.js.git/log
mirror_xterm.js.git
6 years agoAdd test for scrollback fix
irokas [Sun, 2 Jul 2017 11:34:19 +0000 (14:34 +0300)]
Add test for scrollback fix

6 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

6 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.

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

6 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

6 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

6 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

6 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

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

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

6 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

6 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

6 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

6 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

6 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.

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

6 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>
6 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>
6 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

6 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

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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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.

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

6 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

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

6 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

6 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

6 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

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

6 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.

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

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

Fixes #709

6 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

6 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

6 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

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

6 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

6 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.

6 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

6 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.

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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.

6 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

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

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

6 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

6 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

6 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

6 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.

6 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

6 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

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

6 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

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

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

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

6 years agoAdd hasSelection public API
Daniel Imms [Wed, 7 Jun 2017 19:40:48 +0000 (12:40 -0700)]
Add hasSelection public API

6 years agoAdd getSelectionText API
Daniel Imms [Wed, 7 Jun 2017 18:59:28 +0000 (11:59 -0700)]
Add getSelectionText API

This allows consumers to implement their own copy functionality/keybindings

6 years agoExplicitly size selectionContainer to allow for more flexible layouts
Daniel Imms [Wed, 7 Jun 2017 18:48:31 +0000 (11:48 -0700)]
Explicitly size selectionContainer to allow for more flexible layouts

6 years agoEnsure host program handles copy if mouseevents are active
Daniel Imms [Wed, 7 Jun 2017 18:20:03 +0000 (11:20 -0700)]
Ensure host program handles copy if mouseevents are active

6 years agoSupport copying in the alt buffer
Daniel Imms [Wed, 7 Jun 2017 18:10:05 +0000 (11:10 -0700)]
Support copying in the alt buffer

6 years agoMerge remote-tracking branch 'ups/master' into set_row_height_explicitly
Daniel Imms [Tue, 6 Jun 2017 21:34:07 +0000 (14:34 -0700)]
Merge remote-tracking branch 'ups/master' into set_row_height_explicitly

6 years agoSet row height when char size is changed
Daniel Imms [Tue, 6 Jun 2017 21:31:57 +0000 (14:31 -0700)]
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

6 years agoOnly refresh the selection on an animation frame
Daniel Imms [Tue, 6 Jun 2017 17:52:42 +0000 (10:52 -0700)]
Only refresh the selection on an animation frame

6 years agoFix multiple drag scroll intervals being registered
Daniel Imms [Tue, 6 Jun 2017 17:40:22 +0000 (10:40 -0700)]
Fix multiple drag scroll intervals being registered

6 years agoFix select all with no start and include content below viewport
Daniel Imms [Wed, 7 Jun 2017 06:13:50 +0000 (23:13 -0700)]
Fix select all with no start and include content below viewport

6 years agoUndo CiruclarList id changes, fix null check, lint
Daniel Imms [Wed, 7 Jun 2017 05:59:16 +0000 (22:59 -0700)]
Undo CiruclarList id changes, fix null check, lint

6 years agoResolve TODOs
Daniel Imms [Wed, 7 Jun 2017 05:33:32 +0000 (22:33 -0700)]
Resolve TODOs