Commit Graph

745 Commits

Author SHA1 Message Date
Jörg Breitbart
4afa08da8d fixing #147 and #162 2016-07-05 23:54:15 +02:00
Jörg Breitbart
dc5b525559 selecting sucessful tests 2016-07-05 14:55:03 +02:00
Paris Kasidiaris
30251e5d7c Merge pull request #160 from Tyriar/159_fix_nbsp_resize
Have ' ' chars get inserted correctly after a resize
2016-07-05 13:53:34 +03:00
Paris Kasidiaris
81e231ea20 Merge pull request #155 from Tyriar/154_fix_resize_at_top_exception
Fix exception when increasing size when viewport is at top of buffer
2016-07-05 12:56:45 +03:00
Jörg Breitbart
36930e9661 adding xterm comparison tests 2016-07-05 11:36:30 +02:00
Daniel Imms
838c11b69c Have ' ' chars get inserted correctly after a resize
Since the character spec didn't contain a character width it was being skipped
during refresh.

Fixes #159
2016-07-04 13:17:08 -07:00
Daniel Imms
05041722f1 Correct if condition 2016-07-04 12:15:47 -07:00
Paris Kasidiaris
36eb7efe5e Merge pull request #153 from sourcelair/fix/pasting
Fix Ctrl+Shift+V pasting
2016-06-30 14:29:28 +03:00
Daniel Imms
87c9370e8c Fix exception when increasing size when viewport is at top of buffer
Fixes #154
2016-06-30 02:05:06 -07:00
TDaglis
0b018fd4e9 Fix Ctrl+Shift+V pasting 2016-06-30 10:58:00 +03:00
Paris Kasidiaris
39c4356ef6 Merge pull request #148 from bfis/fix/MouseEvent_clone
Fix MouseEvent cloning
2016-06-27 16:04:33 +03:00
Benjamin Fischer
59b79e9b04 Fix MouseEvent cloning
Cloneing MouseEvent instances via __proto__ (lline 1099) caused the cloned object to be broken and throw "TypeError: Illegal invocation" during property access ("ev.shiftKey" line 1020).
2016-06-27 13:27:19 +02:00
Paris Kasidiaris
b2e940f305 Merge pull request #144 from jerch/wcwidth
wcwidth calculation
2016-06-27 12:02:47 +03:00
Jörg Breitbart
c3bc59b5e1 adding unicode test cases 2016-06-26 12:50:06 +02:00
Jörg Breitbart
e3126ba3f8 cleanup 2016-06-25 10:12:21 +02:00
Jörg Breitbart
f951abb7a9 wcwidth only for printables 2016-06-24 16:25:00 +02:00
Paris Kasidiaris
549a8cd31b Merge pull request #142 from Tyriar/patch-1
Only blink cursor if the terminal has focus
2016-06-24 05:58:38 -07:00
Jörg Breitbart
874ba72f4e wcwidth calculation 2016-06-24 14:16:12 +02:00
Daniel Imms
ea1fd3d01b Only blink cursor if the terminal has focus
Fixes #141
2016-06-23 22:16:29 -07:00
Paris Kasidiaris
4c6b993458 Merge pull request #138 from dbkaplun/disable-ligatures
Disable ligatures which mess up rendering for certain fonts
2016-06-23 18:39:52 -07:00
Dan Kaplun
323cc44e0e Disable ligatures 2016-06-23 15:07:38 -07:00
Antonis Kalipetis
8bf81875ca Merge pull request #130 from Tyriar/windows_demo
Get demo working on Windows
2016-06-23 11:52:16 +03:00
Daniel Imms
15cf76c767 Bind to 127.0.0.1 on Windows only 2016-06-22 20:43:41 -07:00
Daniel Imms
3df272fb92 Merge remote-tracking branch 'upstream/master' into windows_demo 2016-06-22 20:36:05 -07:00
Paris Kasidiaris
04a8137f09 Merge pull request #137 from sourcelair/improve-paste
Fix cumbersome pasting with Cmd + V
2016-06-19 20:45:31 +03:00
Paris
3217a4bee4 Fix cumbersome pasting with Cmd + V
For some reason, setting the element's contentEditable value to true within a keyboard event, while the element has focus, did not allow pasting with clipboard, unless the element gets clicked explicitly.
2016-06-19 06:12:25 +03:00
Daniel Imms
2aab58473e Fix npm scripts 2016-06-16 16:31:01 -07:00
Daniel Imms
5d3bac6a86 Merge remote-tracking branch 'upstream/master' into windows_demo 2016-06-16 16:28:20 -07:00
Paris Kasidiaris
09d67a6c52 Merge pull request #131 from sourcelair/issue/120
Fix focus and blur events emission
2016-06-16 17:06:10 +03:00
Paris
af7588ef16 On big refreshes remove term.rowContainer instead of term.element from DOM
Fix #120
2016-06-16 11:47:05 +03:00
Paris
a6e85ad5f5 Progress with #120 2016-06-16 11:41:41 +03:00
Paris Kasidiaris
d5e83902a5 Merge pull request #133 from Tyriar/132_fix_constant_focus
Only refresh when asked
2016-06-15 12:53:31 +03:00
Paris Kasidiaris
055614bbbc Merge pull request #121 from Tyriar/119_fix_cursor_blink
Fix cursor blinking when enabled
2016-06-15 09:51:49 +03:00
Daniel Imms
0d803ac895 Use CSS animations 2016-06-14 10:52:49 -07:00
Daniel Imms
253babff62 Merge remote-tracking branch 'upstream/master' into 119_fix_cursor_blink 2016-06-14 10:36:56 -07:00
Daniel Imms
fac964bcf5 Only refresh when asked
Fixes #132
2016-06-14 10:33:24 -07:00
Paris Kasidiaris
02d809c194 Merge pull request #117 from Tyriar/86_protect_max_refresh
Bound refresh max rows to this.rows not this.lines
2016-06-14 11:11:04 +03:00
Paris Kasidiaris
5d1b6cfe97 Merge pull request #129 from sourcelair/docs
Improve docs building script and template
2016-06-14 10:56:08 +03:00
Paris Kasidiaris
e37a9b62b7 Merge pull request #128 from Tyriar/127_debounce_refresh
Allow refresh to execute 30 times a second maximum
2016-06-14 10:49:53 +03:00
Daniel Imms
623853f3f4 Get demo working on Windows
- Removed bin bash scripts in favor of npm scripts so they work
  cross-platform
- Moved to use 127.0.0.1 as 0.0.0.0 doesn't work on Windows

Note that this doesn't work with the current pty.js as it doesn't build on
Windows.
2016-06-13 15:55:47 -07:00
Paris Kasidiaris
6c892e7161 Merge pull request #125 from sourcelair/addon-loader
Implement addon loader (CommonJS + RequireJS)
2016-06-14 00:58:23 +03:00
Paris
be304c6ee7 Implement docs building 2016-06-14 00:21:17 +03:00
Paris
00f380a75c Implement test 2016-06-14 00:05:47 +03:00
Daniel Imms
af29effbf3 Allow refresh to execute 30 times a second maximum
For commands that pass a significant amount of output to the write function,
this prevents the terminal maxing out the CPU and making the UI unresponsive.
While commands can still run beyond what they do on the terminal, it is far
better with a debounce in place as every single terminal manipulation does not
need to be constructed in the DOM.

A side-effect of this is that it makes ^C to interrupt a process seem more
responsive.

Fixes #127
Fixes #126
2016-06-13 12:40:56 -07:00
Paris
57300f5159 Implement addon loader (CommonJS + RequireJS)
Closes #96
2016-06-13 19:07:29 +03:00
Paris Kasidiaris
9d34ed8781 Merge pull request #122 from Tyriar/demo_options
Add basic options selection to demo
2016-06-13 15:03:10 +03:00
Paris Kasidiaris
f3dd0a4ec8 Merge pull request #123 from Tyriar/jsdoc
Add some jsdoc for important functions
2016-06-13 14:58:17 +03:00
Antonis Kalipetis
9371520a73 Merge pull request #93 from Tyriar/linkify_ip_addr
Add IP addresses to linkify
2016-06-13 14:53:17 +03:00
Daniel Imms
fd5be55d81 Add some jsdoc for important functions
Part of #13
2016-06-10 20:05:26 -07:00
Daniel Imms
e0c0fb6917 Add basic options selection to demo
This will make it easier to test options without needing to modify the demo.
2016-06-10 19:15:58 -07:00