]> git.proxmox.com Git - mirror_xterm.js.git/log
mirror_xterm.js.git
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

6 years agojsdoc all of SelectionManager
Daniel Imms [Wed, 7 Jun 2017 04:55:52 +0000 (21:55 -0700)]
jsdoc all of SelectionManager

6 years agoResolve more TODOs, add jsdoc
Daniel Imms [Wed, 7 Jun 2017 04:41:11 +0000 (21:41 -0700)]
Resolve more TODOs, add jsdoc

6 years agoResolve some TODOs
Daniel Imms [Wed, 7 Jun 2017 04:29:20 +0000 (21:29 -0700)]
Resolve some TODOs

6 years agoAdd _selectLineAt test
Daniel Imms [Tue, 6 Jun 2017 22:22:35 +0000 (15:22 -0700)]
Add _selectLineAt test

6 years agoDon't allow double click selection on empty row going out of viewport
Daniel Imms [Tue, 6 Jun 2017 22:05:22 +0000 (15:05 -0700)]
Don't allow double click selection on empty row going out of viewport

6 years agoSelect lines when dragging a triple click
Daniel Imms [Tue, 6 Jun 2017 22:02:52 +0000 (15:02 -0700)]
Select lines when dragging a triple click

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

6 years agoImplement shift+click
Daniel Imms [Tue, 6 Jun 2017 21:19:12 +0000 (14:19 -0700)]
Implement shift+click

6 years agoBump version to 2.7.0
Paris Kasidiaris [Tue, 6 Jun 2017 15:04:59 +0000 (15:04 +0000)]
Bump version to 2.7.0

Signed-off-by: Paris Kasidiaris <paris@sourcelair.com>
6 years agoMerge pull request #674 from sourcelair/issue-#671-restore-paste-event
Paris Kasidiaris [Tue, 6 Jun 2017 08:23:18 +0000 (11:23 +0300)]
Merge pull request #674 from sourcelair/issue-#671-restore-paste-event

Restore the "paste" terminal event

6 years agoMerge branch 'master' into issue-#671-restore-paste-event
Paris Kasidiaris [Tue, 6 Jun 2017 08:16:16 +0000 (11:16 +0300)]
Merge branch 'master' into issue-#671-restore-paste-event

6 years agoAdd some SelectionManager selectWorkAt tests, fix lint
Daniel Imms [Fri, 2 Jun 2017 00:36:47 +0000 (17:36 -0700)]
Add some SelectionManager selectWorkAt tests, fix lint

6 years agoRemove no longer valid clipboard test and add new one
Daniel Imms [Fri, 2 Jun 2017 00:11:07 +0000 (17:11 -0700)]
Remove no longer valid clipboard test and add new one

6 years agoFix issue with trimming whitespace
Daniel Imms [Fri, 2 Jun 2017 00:04:59 +0000 (17:04 -0700)]
Fix issue with trimming whitespace

6 years agoMerge pull request #672 from Tyriar/662_parser_state_hack
Daniel Imms [Sat, 27 May 2017 22:07:52 +0000 (15:07 -0700)]
Merge pull request #672 from Tyriar/662_parser_state_hack

Fix bug with parser state when using vtop

6 years agoFix #671 - Restore `paste` event
Paris Kasidiaris [Sat, 27 May 2017 12:30:26 +0000 (15:30 +0300)]
Fix #671 - Restore `paste` event

6 years agoClean up wide char select word code
Daniel Imms [Fri, 26 May 2017 04:12:44 +0000 (21:12 -0700)]
Clean up wide char select word code

6 years agoSupport wide char double click
Daniel Imms [Fri, 26 May 2017 03:48:48 +0000 (20:48 -0700)]
Support wide char double click

6 years agoGet double click selection for wide chars mostly working
Daniel Imms [Fri, 26 May 2017 03:22:43 +0000 (20:22 -0700)]
Get double click selection for wide chars mostly working

6 years agoSupport selecting wide characters
Daniel Imms [Fri, 26 May 2017 02:34:32 +0000 (19:34 -0700)]
Support selecting wide characters

6 years agoOnly trim the right whitespace from selection
Daniel Imms [Fri, 26 May 2017 01:52:06 +0000 (18:52 -0700)]
Only trim the right whitespace from selection

Fixes #673

6 years agoProperly prepare text for clipboard for context menu
Daniel Imms [Fri, 26 May 2017 01:12:03 +0000 (18:12 -0700)]
Properly prepare text for clipboard for context menu

This makes the context menu in macOS embed the right text

6 years agoSupport copy and paste via context menu
Daniel Imms [Thu, 25 May 2017 23:17:43 +0000 (16:17 -0700)]
Support copy and paste via context menu

6 years agoMove the selection model to its own module
Daniel Imms [Thu, 25 May 2017 20:20:57 +0000 (13:20 -0700)]
Move the selection model to its own module

6 years agoTidy up _areSelectionValuesReversed
Daniel Imms [Thu, 25 May 2017 19:46:54 +0000 (12:46 -0700)]
Tidy up _areSelectionValuesReversed

6 years agoFix drag when selectioning via double/triple click
Daniel Imms [Thu, 25 May 2017 19:46:08 +0000 (12:46 -0700)]
Fix drag when selectioning via double/triple click

6 years agoImplement triple click to select line
Daniel Imms [Thu, 25 May 2017 19:27:47 +0000 (12:27 -0700)]
Implement triple click to select line

6 years agoSupport copying of select all text
Daniel Imms [Thu, 25 May 2017 18:35:22 +0000 (11:35 -0700)]
Support copying of select all text

6 years agoAdd select all API
Daniel Imms [Thu, 25 May 2017 17:14:40 +0000 (10:14 -0700)]
Add select all API

6 years agoAdd null checks to fix trim related crash
Daniel Imms [Thu, 25 May 2017 16:55:08 +0000 (09:55 -0700)]
Add null checks to fix trim related crash

6 years agoDon't flag user scrolling if no scrolling happens
Daniel Imms [Thu, 25 May 2017 16:51:13 +0000 (09:51 -0700)]
Don't flag user scrolling if no scrolling happens

6 years agoFix bug with parser state when using vtop
Daniel Imms [Thu, 25 May 2017 16:36:59 +0000 (09:36 -0700)]
Fix bug with parser state when using vtop

Fixes #662

6 years agoInitial scroll drag implementation
Daniel Imms [Tue, 23 May 2017 18:20:55 +0000 (11:20 -0700)]
Initial scroll drag implementation

6 years agoMerge remote-tracking branch 'ups/master' into 207_selection_manager
Daniel Imms [Tue, 23 May 2017 02:51:42 +0000 (19:51 -0700)]
Merge remote-tracking branch 'ups/master' into 207_selection_manager

7 years agoMerge pull request #668 from Tyriar/fix_pt_valid_var_declarations
Daniel Imms [Mon, 22 May 2017 15:19:52 +0000 (08:19 -0700)]
Merge pull request #668 from Tyriar/fix_pt_valid_var_declarations

Declare pt and valid vars in correct spot

7 years agoMerge branch 'master' into fix_pt_valid_var_declarations
Daniel Imms [Mon, 22 May 2017 15:03:53 +0000 (08:03 -0700)]
Merge branch 'master' into fix_pt_valid_var_declarations

7 years agoMerge pull request #669 from Tyriar/pull_getCoords_into_module
Daniel Imms [Mon, 22 May 2017 15:03:31 +0000 (08:03 -0700)]
Merge pull request #669 from Tyriar/pull_getCoords_into_module

Pull get coords into module

7 years agoMerge branch 'master' into pull_getCoords_into_module
Daniel Imms [Mon, 22 May 2017 14:57:55 +0000 (07:57 -0700)]
Merge branch 'master' into pull_getCoords_into_module

7 years agoMerge pull request #667 from Tyriar/add_missing_emit_arg
Daniel Imms [Mon, 22 May 2017 14:57:35 +0000 (07:57 -0700)]
Merge pull request #667 from Tyriar/add_missing_emit_arg

Add missing EventEmitter.emit args/types

7 years agoAdd missing semi-colons
Daniel Imms [Sun, 21 May 2017 20:51:02 +0000 (13:51 -0700)]
Add missing semi-colons

7 years agoDisable selection manager in mouse mode
Daniel Imms [Sun, 21 May 2017 19:35:07 +0000 (12:35 -0700)]
Disable selection manager in mouse mode

This allows the application to take full control of the selection

7 years agoTemp fix until mouse getCoords PR merged
Daniel Imms [Sun, 21 May 2017 19:16:36 +0000 (12:16 -0700)]
Temp fix until mouse getCoords PR merged

7 years agoPolish comments and cap code
Daniel Imms [Sun, 21 May 2017 19:03:44 +0000 (12:03 -0700)]
Polish comments and cap code

7 years agojsdoc
Daniel Imms [Sun, 21 May 2017 18:57:24 +0000 (11:57 -0700)]
jsdoc

7 years agoPull getCoords into a Mouse util module
Daniel Imms [Sun, 21 May 2017 18:50:01 +0000 (11:50 -0700)]
Pull getCoords into a Mouse util module

This is part of the work to prepare for the upcoing selection changes

Related #207

7 years agoDeclare pt and valid vars in correct spot
Daniel Imms [Sun, 21 May 2017 18:27:57 +0000 (11:27 -0700)]
Declare pt and valid vars in correct spot

7 years agoAdd missing EventEmitter.emit args/types
Daniel Imms [Sun, 21 May 2017 18:25:18 +0000 (11:25 -0700)]
Add missing EventEmitter.emit args/types

7 years agoClean up
Daniel Imms [Sat, 20 May 2017 22:21:12 +0000 (15:21 -0700)]
Clean up

7 years agoHandle basic double click select
Daniel Imms [Sat, 20 May 2017 07:17:23 +0000 (00:17 -0700)]
Handle basic double click select

7 years agoFix copy after scroll
Daniel Imms [Sat, 20 May 2017 07:01:55 +0000 (00:01 -0700)]
Fix copy after scroll

7 years agoHandle copy
Daniel Imms [Sat, 20 May 2017 06:53:20 +0000 (23:53 -0700)]
Handle copy

7 years agoHandle scrolling of selection
Daniel Imms [Sat, 20 May 2017 06:32:26 +0000 (23:32 -0700)]
Handle scrolling of selection

7 years agoGet selection partially rendering
Daniel Imms [Sat, 20 May 2017 06:29:51 +0000 (23:29 -0700)]
Get selection partially rendering

7 years agoTell renderer to draw selection
Daniel Imms [Sat, 20 May 2017 03:06:05 +0000 (20:06 -0700)]
Tell renderer to draw selection

7 years agoMore work on SelectionManager
Daniel Imms [Sat, 20 May 2017 02:57:52 +0000 (19:57 -0700)]
More work on SelectionManager

7 years agoCreate new entries when shifting
Daniel Imms [Sat, 20 May 2017 02:11:28 +0000 (19:11 -0700)]
Create new entries when shifting