]>
git.proxmox.com Git - mirror_xterm.js.git/log
Daniel Imms [Mon, 19 Jun 2017 14:39:29 +0000 (07:39 -0700)]
Merge branch 'master' into 709_improve_selection
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
Daniel Imms [Sun, 18 Jun 2017 19:03:30 +0000 (12:03 -0700)]
Merge branch 'master' into 709_improve_selection
Daniel Imms [Sun, 18 Jun 2017 19:02:58 +0000 (12:02 -0700)]
Improve selection cell selection
Fixes #709
Daniel Imms [Sun, 18 Jun 2017 18:51:00 +0000 (11:51 -0700)]
Also consider ' and " word separators
For example URIs in json
Daniel Imms [Sun, 18 Jun 2017 18:08:22 +0000 (11:08 -0700)]
Merge branch 'master' into 713_dblclick_word_separators
Daniel Imms [Sun, 18 Jun 2017 17:38:04 +0000 (10:38 -0700)]
Don't select colon or brackets when double clicking
Fixes #713
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
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.
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
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.
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
Jeremy Danyow [Wed, 14 Jun 2017 21:51:36 +0000 (14:51 -0700)]
normalize line endings to \r
fixes #683
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
Daniel Imms [Tue, 13 Jun 2017 21:45:17 +0000 (14:45 -0700)]
Merge branch 'master' into 642_link_wrapped_char_duplication
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
Daniel Imms [Tue, 13 Jun 2017 21:40:48 +0000 (14:40 -0700)]
Merge branch 'master' into mid_selection_single_element
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
Daniel Imms [Tue, 13 Jun 2017 21:32:01 +0000 (14:32 -0700)]
Merge branch 'master' into 443_retain_wrapped_lines_copy
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
Daniel Imms [Mon, 12 Jun 2017 21:53:48 +0000 (14:53 -0700)]
Merge branch 'master' into 698_mousedown_preventDefault
Daniel Imms [Mon, 12 Jun 2017 21:51:58 +0000 (14:51 -0700)]
Prevent mousedown event default selection behavior
Fixes #698
Daniel Imms [Sun, 11 Jun 2017 18:34:22 +0000 (11:34 -0700)]
Merge branch 'master' into 642_link_wrapped_char_duplication
Daniel Imms [Sun, 11 Jun 2017 18:34:20 +0000 (11:34 -0700)]
Merge branch 'master' into mid_selection_single_element
Daniel Imms [Sun, 11 Jun 2017 18:34:17 +0000 (11:34 -0700)]
Merge branch 'master' into 443_retain_wrapped_lines_copy
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
Daniel Imms [Sat, 10 Jun 2017 17:21:20 +0000 (10:21 -0700)]
Merge remote-tracking branch 'origin/master' into set_row_height_explicitly
Daniel Imms [Sat, 10 Jun 2017 00:12:00 +0000 (17:12 -0700)]
Retain wrapped line state when copying
Fixes #443
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.
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
Daniel Imms [Fri, 9 Jun 2017 19:47:16 +0000 (12:47 -0700)]
Add class header comments
Daniel Imms [Fri, 9 Jun 2017 18:59:18 +0000 (11:59 -0700)]
Add regression test
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
Daniel Imms [Thu, 8 Jun 2017 02:23:46 +0000 (19:23 -0700)]
Use user-select supported by other browsers
Daniel Imms [Thu, 8 Jun 2017 02:17:38 +0000 (19:17 -0700)]
Fix bug when selection end is less than start
Daniel Imms [Thu, 8 Jun 2017 02:15:52 +0000 (19:15 -0700)]
Add .gitattributes file
Makes working on Windows less bothersome.
Daniel Imms [Wed, 7 Jun 2017 21:44:16 +0000 (14:44 -0700)]
Select last character in bottom right in select all
Daniel Imms [Wed, 7 Jun 2017 21:37:09 +0000 (14:37 -0700)]
Add more selection manager/model tests
Daniel Imms [Wed, 7 Jun 2017 21:15:18 +0000 (14:15 -0700)]
Add SelectionModel tests
Daniel Imms [Wed, 7 Jun 2017 20:48:12 +0000 (13:48 -0700)]
Fix clearSelection in select all mode
Daniel Imms [Wed, 7 Jun 2017 20:42:08 +0000 (13:42 -0700)]
Move prepareTextForClipboard logic into SelectionManager
Daniel Imms [Wed, 7 Jun 2017 20:20:44 +0000 (13:20 -0700)]
Fix tests
Daniel Imms [Wed, 7 Jun 2017 20:07:34 +0000 (13:07 -0700)]
Add clearSelection API
Daniel Imms [Wed, 7 Jun 2017 19:40:48 +0000 (12:40 -0700)]
Add hasSelection public 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
Daniel Imms [Wed, 7 Jun 2017 18:48:31 +0000 (11:48 -0700)]
Explicitly size selectionContainer to allow for more flexible layouts
Daniel Imms [Wed, 7 Jun 2017 18:20:03 +0000 (11:20 -0700)]
Ensure host program handles copy if mouseevents are active
Daniel Imms [Wed, 7 Jun 2017 18:10:05 +0000 (11:10 -0700)]
Support copying in the alt buffer
Daniel Imms [Tue, 6 Jun 2017 21:34:07 +0000 (14:34 -0700)]
Merge remote-tracking branch 'ups/master' into set_row_height_explicitly
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
Daniel Imms [Tue, 6 Jun 2017 17:52:42 +0000 (10:52 -0700)]
Only refresh the selection on an animation frame
Daniel Imms [Tue, 6 Jun 2017 17:40:22 +0000 (10:40 -0700)]
Fix multiple drag scroll intervals being registered
Daniel Imms [Wed, 7 Jun 2017 06:13:50 +0000 (23:13 -0700)]
Fix select all with no start and include content below viewport
Daniel Imms [Wed, 7 Jun 2017 05:59:16 +0000 (22:59 -0700)]
Undo CiruclarList id changes, fix null check, lint
Daniel Imms [Wed, 7 Jun 2017 05:33:32 +0000 (22:33 -0700)]
Resolve TODOs
Daniel Imms [Wed, 7 Jun 2017 04:55:52 +0000 (21:55 -0700)]
jsdoc all of SelectionManager
Daniel Imms [Wed, 7 Jun 2017 04:41:11 +0000 (21:41 -0700)]
Resolve more TODOs, add jsdoc
Daniel Imms [Wed, 7 Jun 2017 04:29:20 +0000 (21:29 -0700)]
Resolve some TODOs
Daniel Imms [Tue, 6 Jun 2017 22:22:35 +0000 (15:22 -0700)]
Add _selectLineAt test
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
Daniel Imms [Tue, 6 Jun 2017 22:02:52 +0000 (15:02 -0700)]
Select lines when dragging a triple click
Daniel Imms [Tue, 6 Jun 2017 21:35:06 +0000 (14:35 -0700)]
Merge remote-tracking branch 'ups/master' into 207_selection_manager
Daniel Imms [Tue, 6 Jun 2017 21:19:12 +0000 (14:19 -0700)]
Implement shift+click
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>
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
Paris Kasidiaris [Tue, 6 Jun 2017 08:16:16 +0000 (11:16 +0300)]
Merge branch 'master' into issue-#671-restore-paste-event
Daniel Imms [Fri, 2 Jun 2017 00:36:47 +0000 (17:36 -0700)]
Add some SelectionManager selectWorkAt tests, fix lint
Daniel Imms [Fri, 2 Jun 2017 00:11:07 +0000 (17:11 -0700)]
Remove no longer valid clipboard test and add new one
Daniel Imms [Fri, 2 Jun 2017 00:04:59 +0000 (17:04 -0700)]
Fix issue with trimming whitespace
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
Paris Kasidiaris [Sat, 27 May 2017 12:30:26 +0000 (15:30 +0300)]
Fix #671 - Restore `paste` event
Daniel Imms [Fri, 26 May 2017 04:12:44 +0000 (21:12 -0700)]
Clean up wide char select word code
Daniel Imms [Fri, 26 May 2017 03:48:48 +0000 (20:48 -0700)]
Support wide char double click
Daniel Imms [Fri, 26 May 2017 03:22:43 +0000 (20:22 -0700)]
Get double click selection for wide chars mostly working
Daniel Imms [Fri, 26 May 2017 02:34:32 +0000 (19:34 -0700)]
Support selecting wide characters
Daniel Imms [Fri, 26 May 2017 01:52:06 +0000 (18:52 -0700)]
Only trim the right whitespace from selection
Fixes #673
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
Daniel Imms [Thu, 25 May 2017 23:17:43 +0000 (16:17 -0700)]
Support copy and paste via context menu
Daniel Imms [Thu, 25 May 2017 20:20:57 +0000 (13:20 -0700)]
Move the selection model to its own module
Daniel Imms [Thu, 25 May 2017 19:46:54 +0000 (12:46 -0700)]
Tidy up _areSelectionValuesReversed
Daniel Imms [Thu, 25 May 2017 19:46:08 +0000 (12:46 -0700)]
Fix drag when selectioning via double/triple click
Daniel Imms [Thu, 25 May 2017 19:27:47 +0000 (12:27 -0700)]
Implement triple click to select line
Daniel Imms [Thu, 25 May 2017 18:35:22 +0000 (11:35 -0700)]
Support copying of select all text
Daniel Imms [Thu, 25 May 2017 17:14:40 +0000 (10:14 -0700)]
Add select all API
Daniel Imms [Thu, 25 May 2017 16:55:08 +0000 (09:55 -0700)]
Add null checks to fix trim related crash
Daniel Imms [Thu, 25 May 2017 16:51:13 +0000 (09:51 -0700)]
Don't flag user scrolling if no scrolling happens
Daniel Imms [Thu, 25 May 2017 16:36:59 +0000 (09:36 -0700)]
Fix bug with parser state when using vtop
Fixes #662
Daniel Imms [Tue, 23 May 2017 18:20:55 +0000 (11:20 -0700)]
Initial scroll drag implementation
Daniel Imms [Tue, 23 May 2017 02:51:42 +0000 (19:51 -0700)]
Merge remote-tracking branch 'ups/master' into 207_selection_manager
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
Daniel Imms [Mon, 22 May 2017 15:03:53 +0000 (08:03 -0700)]
Merge branch 'master' into fix_pt_valid_var_declarations
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
Daniel Imms [Mon, 22 May 2017 14:57:55 +0000 (07:57 -0700)]
Merge branch 'master' into pull_getCoords_into_module
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
Daniel Imms [Sun, 21 May 2017 20:51:02 +0000 (13:51 -0700)]
Add missing semi-colons
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
Daniel Imms [Sun, 21 May 2017 19:16:36 +0000 (12:16 -0700)]
Temp fix until mouse getCoords PR merged
Daniel Imms [Sun, 21 May 2017 19:03:44 +0000 (12:03 -0700)]
Polish comments and cap code
Daniel Imms [Sun, 21 May 2017 18:57:24 +0000 (11:57 -0700)]
jsdoc
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