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

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

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

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

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

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

7 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

7 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

7 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

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

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

7 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

7 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

7 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

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

7 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

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

7 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

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

7 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

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

7 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

7 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

7 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

7 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

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

7 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

7 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

7 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

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

7 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

7 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

7 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

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

7 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

7 years agoMerge remote-tracking branch 'ups/master' into 207_selection_manager
Daniel Imms [Sat, 20 May 2017 01:38:24 +0000 (18:38 -0700)]
Merge remote-tracking branch 'ups/master' into 207_selection_manager

7 years agoMerge pull request #450 from Tyriar/449_keep_span_pool
Daniel Imms [Tue, 16 May 2017 17:12:27 +0000 (10:12 -0700)]
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

7 years agoFix lint errors
Daniel Imms [Tue, 16 May 2017 17:07:55 +0000 (10:07 -0700)]
Fix lint errors

7 years agoAdd missing return type
Daniel Imms [Tue, 16 May 2017 17:04:12 +0000 (10:04 -0700)]
Add missing return type

7 years agoDomElementObjectPool jsdoc
Daniel Imms [Tue, 16 May 2017 17:03:56 +0000 (10:03 -0700)]
DomElementObjectPool jsdoc

7 years agoMore string interpolation
Daniel Imms [Tue, 16 May 2017 16:57:50 +0000 (09:57 -0700)]
More string interpolation

7 years agoAdd jsdoc back, was lost in merge
Daniel Imms [Sun, 14 May 2017 21:28:06 +0000 (14:28 -0700)]
Add jsdoc back, was lost in merge

7 years agoUse string interpolation
Daniel Imms [Sun, 14 May 2017 21:26:45 +0000 (14:26 -0700)]
Use string interpolation

7 years agoRemove var usages
Daniel Imms [Sun, 14 May 2017 19:47:17 +0000 (12:47 -0700)]
Remove var usages

7 years agoMore clean up
Daniel Imms [Sun, 14 May 2017 19:40:45 +0000 (12:40 -0700)]
More clean up

7 years agoClean up
Daniel Imms [Sun, 14 May 2017 19:27:06 +0000 (12:27 -0700)]
Clean up

7 years agoOnly wrap single width unicode chars
Daniel Imms [Sun, 14 May 2017 19:20:01 +0000 (12:20 -0700)]
Only wrap single width unicode chars