]> git.proxmox.com Git - mirror_xterm.js.git/log
mirror_xterm.js.git
7 years agoImplement docs building
Paris [Mon, 13 Jun 2016 21:21:17 +0000 (00:21 +0300)]
Implement docs building

7 years agoMerge pull request #122 from Tyriar/demo_options
Paris Kasidiaris [Mon, 13 Jun 2016 12:03:10 +0000 (15:03 +0300)]
Merge pull request #122 from Tyriar/demo_options

Add basic options selection to demo

7 years agoMerge pull request #123 from Tyriar/jsdoc
Paris Kasidiaris [Mon, 13 Jun 2016 11:58:17 +0000 (14:58 +0300)]
Merge pull request #123 from Tyriar/jsdoc

Add some jsdoc for important functions

7 years agoMerge pull request #93 from Tyriar/linkify_ip_addr
Antonis Kalipetis [Mon, 13 Jun 2016 11:53:17 +0000 (14:53 +0300)]
Merge pull request #93 from Tyriar/linkify_ip_addr

Add IP addresses to linkify

7 years agoAdd some jsdoc for important functions
Daniel Imms [Sat, 11 Jun 2016 03:05:26 +0000 (20:05 -0700)]
Add some jsdoc for important functions

Part of #13

7 years agoAdd basic options selection to demo
Daniel Imms [Sat, 11 Jun 2016 02:15:52 +0000 (19:15 -0700)]
Add basic options selection to demo

This will make it easier to test options without needing to modify the demo.

7 years agoAdd a bunch of tests
Daniel Imms [Sat, 11 Jun 2016 01:53:32 +0000 (18:53 -0700)]
Add a bunch of tests

7 years agoMerge remote-tracking branch 'upstream/master' into linkify_ip_addr
Daniel Imms [Sat, 11 Jun 2016 01:08:39 +0000 (18:08 -0700)]
Merge remote-tracking branch 'upstream/master' into linkify_ip_addr

7 years agoCheck optional port clause after domain too
Daniel Imms [Fri, 10 Jun 2016 20:15:59 +0000 (13:15 -0700)]
Check optional port clause after domain too

7 years agoMerge pull request #60 from runarberg/master
Paris Kasidiaris [Fri, 10 Jun 2016 16:32:45 +0000 (19:32 +0300)]
Merge pull request #60 from runarberg/master

Fix cross platform input problems

7 years agoFix third level shifts for Mac OS and windows
runarberg [Wed, 1 Jun 2016 17:06:57 +0000 (17:06 +0000)]
Fix third level shifts for Mac OS and windows

ISO third level keys were not working. That prevented some inputting
important characters (like pipe `|` and caret `^`) on some keyboard
layouts.

Instead of parsing the user-agent string to find the users os, we now
look into the `platform` attribute of the `navigator` object.

Removed the hijacking of the command key `⌘` on Mac OS as the `Alt` key
on other systems.

7 years agoMerge pull request #115 from sourcelair/decimal-terminal-flags
Paris Kasidiaris [Fri, 10 Jun 2016 16:07:25 +0000 (19:07 +0300)]
Merge pull request #115 from sourcelair/decimal-terminal-flags

Stop using binary literals

7 years agoStop using binary literals. Non ES6 compatible
Paris [Fri, 10 Jun 2016 16:02:49 +0000 (19:02 +0300)]
Stop using binary literals. Non ES6 compatible

7 years agoMerge pull request #114 from sourcelair/fix-copy-nbsp
Paris Kasidiaris [Fri, 10 Jun 2016 14:05:10 +0000 (17:05 +0300)]
Merge pull request #114 from sourcelair/fix-copy-nbsp

Stop copying non-breaking spaces into clipboard

7 years agoImplement tests
Paris [Fri, 10 Jun 2016 13:35:56 +0000 (16:35 +0300)]
Implement tests

7 years agoExport copied text processing to static method
Paris [Fri, 10 Jun 2016 13:27:58 +0000 (16:27 +0300)]
Export copied text processing to static method

7 years agoFix copying of non-breaking spaces
Paris [Fri, 10 Jun 2016 13:17:14 +0000 (16:17 +0300)]
Fix copying of non-breaking spaces

7 years agoMerge pull request #109 from Tyriar/65_send_ctrl_l_r_key
Antonis Kalipetis [Fri, 10 Jun 2016 12:57:10 +0000 (15:57 +0300)]
Merge pull request #109 from Tyriar/65_send_ctrl_l_r_key

Jump over words with ctrl+left/right

7 years agoMerge remote-tracking branch 'upstream/master' into 65_send_ctrl_l_r_key
Daniel Imms [Fri, 10 Jun 2016 10:00:22 +0000 (03:00 -0700)]
Merge remote-tracking branch 'upstream/master' into 65_send_ctrl_l_r_key

7 years agoMerge pull request #110 from Tyriar/64_cursor_disappears_when_scrolling
Paris Kasidiaris [Fri, 10 Jun 2016 09:22:28 +0000 (12:22 +0300)]
Merge pull request #110 from Tyriar/64_cursor_disappears_when_scrolling

Draw cursor at correct position when scrolling

7 years agoMerge pull request #107 from runarberg/fix/ctrl-or-shift-insert-copy-pasting
Paris Kasidiaris [Fri, 10 Jun 2016 08:57:15 +0000 (11:57 +0300)]
Merge pull request #107 from runarberg/fix/ctrl-or-shift-insert-copy-pasting

Allow Ctrl/Shift + insert to copy/paste on windows and linux

7 years agoMerge pull request #112 from Tyriar/111_scroll_with_blank_lines_after_cursor
Paris Kasidiaris [Fri, 10 Jun 2016 08:40:08 +0000 (11:40 +0300)]
Merge pull request #112 from Tyriar/111_scroll_with_blank_lines_after_cursor

Improve scroll to work with blank lines after the cursor

7 years agoImprove scroll to work with blank lines after the cursor
Daniel Imms [Fri, 10 Jun 2016 04:05:45 +0000 (21:05 -0700)]
Improve scroll to work with blank lines after the cursor

This commit works fixes scrolling when there were blank lines after the cursor.
Here is what it does (blank rows are those added by running `clear`):

when increasing rows:
  if there are blank rows below the cursor:
    add a blank row to the bottom
  else if there is room in the buffer above the viewport
    scroll up
  else
    add a blank row to the bottom

when decreasing rows:
  if there are blank rows below the cursor:
    remove a blank row from the bottom
  else
    scroll down

Fixes #111

7 years agoDraw cursor at correct position when scrolling
Daniel Imms [Fri, 10 Jun 2016 02:59:59 +0000 (19:59 -0700)]
Draw cursor at correct position when scrolling

Fixes #64

7 years agoMore escape sequence tests
Daniel Imms [Fri, 10 Jun 2016 02:25:29 +0000 (19:25 -0700)]
More escape sequence tests

7 years agoAdd tests for F-keys
Daniel Imms [Fri, 10 Jun 2016 02:00:40 +0000 (19:00 -0700)]
Add tests for F-keys

7 years agoRefactor escape sequence code and add tests
Daniel Imms [Fri, 10 Jun 2016 01:41:54 +0000 (18:41 -0700)]
Refactor escape sequence code and add tests

7 years agoJump over words with ctrl+left/right
Daniel Imms [Fri, 10 Jun 2016 01:01:12 +0000 (18:01 -0700)]
Jump over words with ctrl+left/right

Escape codes used: 5=ctrl, C=right, D=left

Fixes #65

7 years agoFix Ctrl/Shift + insert copy/paste
runarberg [Thu, 9 Jun 2016 13:05:50 +0000 (13:05 +0000)]
Fix Ctrl/Shift + insert copy/paste

Many systems (including MS Windows and many linuxes) map `<Ctrl>` +
`<Insert>` to copy and `<Shift> + <Insert>` to paste. That serves as a
handy fallback when the more common `<Ctrl> + C` and `<Ctrl> + V`
keybindings have their default prevented to send signals to the
terminal.

Currently all keydown-events with the insert key send `\x1b[2~` to the
terminal. This commit won't send that key if either the `shiftKey` or
the `ctrlKey` are present. Instead it will enable `contentEditable` to
allow for pasting.

7 years agoMerge pull request #97 from Tyriar/redundant_resize
Paris Kasidiaris [Thu, 9 Jun 2016 07:53:16 +0000 (10:53 +0300)]
Merge pull request #97 from Tyriar/redundant_resize

Don't resize when unnecessary

7 years agoMerge pull request #105 from sourcelair/issue/46
Paris Kasidiaris [Thu, 9 Jun 2016 07:29:34 +0000 (10:29 +0300)]
Merge pull request #105 from sourcelair/issue/46

Introduce testing environment for xterm.js

7 years agoAdd CXX environment
Paris [Thu, 9 Jun 2016 07:22:49 +0000 (10:22 +0300)]
Add CXX environment

7 years agoAdd apt addon in travis for node-gyp dependency of pty.js
Paris [Thu, 9 Jun 2016 07:18:39 +0000 (10:18 +0300)]
Add apt addon in travis for node-gyp dependency of pty.js

7 years agoAdd travis ci build status in xterm.js
Paris [Thu, 9 Jun 2016 07:10:36 +0000 (10:10 +0300)]
Add travis ci build status in xterm.js

7 years agoAdd .travis.yml
Paris [Thu, 9 Jun 2016 07:08:44 +0000 (10:08 +0300)]
Add .travis.yml

7 years agoSet up environment for testing
Paris [Thu, 9 Jun 2016 07:04:53 +0000 (10:04 +0300)]
Set up environment for testing

7 years agoMerge pull request #102 from Tyriar/dont_crash_demo_refresh
Paris Kasidiaris [Thu, 9 Jun 2016 06:49:28 +0000 (09:49 +0300)]
Merge pull request #102 from Tyriar/dont_crash_demo_refresh

Don't crash demo server on refresh

7 years agoRemove old test-suite completely
Paris [Thu, 9 Jun 2016 06:49:11 +0000 (09:49 +0300)]
Remove old test-suite completely

7 years agoMerge pull request #101 from Tyriar/fix_resize_buffer
Paris Kasidiaris [Thu, 9 Jun 2016 06:13:06 +0000 (09:13 +0300)]
Merge pull request #101 from Tyriar/fix_resize_buffer

Fix buffer corruption after resizing rows

7 years agoDon't crash demo server on refresh
Daniel Imms [Thu, 9 Jun 2016 02:28:55 +0000 (19:28 -0700)]
Don't crash demo server on refresh

Fixes #100

7 years agoFix buffer corruption after resizing rows
Daniel Imms [Thu, 9 Jun 2016 02:08:30 +0000 (19:08 -0700)]
Fix buffer corruption after resizing rows

Lines from the buffer were incorrectly being removed when the viewport was
resized. This change removes the lines when the cursor is above them, if not it
shifts the viewport down. Some basic jsdoc comments were added to some Terminal
properties for future reference.

Fixes #98
Fixes #99

7 years agoDon't resize when unnecessary
Daniel Imms [Thu, 9 Jun 2016 00:38:34 +0000 (17:38 -0700)]
Don't resize when unnecessary

7 years agoMerge pull request #84 from sourcelair/fix/terminal-focus-event
Paris Kasidiaris [Wed, 8 Jun 2016 21:00:05 +0000 (00:00 +0300)]
Merge pull request #84 from sourcelair/fix/terminal-focus-event

Fix emission of terminal focus&blur events

7 years agoMerge pull request #95 from sourcelair/issue/85
Paris Kasidiaris [Wed, 8 Jun 2016 19:09:21 +0000 (22:09 +0300)]
Merge pull request #95 from sourcelair/issue/85

Stop marking spans as `inline-block`

7 years agoStop marking spans as `inline-block` (not needed after 670b179140)
Paris [Wed, 8 Jun 2016 19:03:45 +0000 (22:03 +0300)]
Stop marking spans as `inline-block` (not needed after 670b179140)

Fix #85

7 years agoMerge pull request #94 from Tyriar/patch-2
Paris Kasidiaris [Wed, 8 Jun 2016 18:30:34 +0000 (21:30 +0300)]
Merge pull request #94 from Tyriar/patch-2

Add section on addons to README

7 years agoMerge remote-tracking branch 'upstream/master' into patch-2
Daniel Imms [Wed, 8 Jun 2016 06:34:35 +0000 (23:34 -0700)]
Merge remote-tracking branch 'upstream/master' into patch-2

7 years agoMerge pull request #89 from Tyriar/readme_demo
Paris Kasidiaris [Wed, 8 Jun 2016 06:19:18 +0000 (09:19 +0300)]
Merge pull request #89 from Tyriar/readme_demo

Add demo section to README

7 years agoMerge pull request #88 from Tyriar/patch-1
Paris Kasidiaris [Wed, 8 Jun 2016 06:17:49 +0000 (09:17 +0300)]
Merge pull request #88 from Tyriar/patch-1

Add http:// to demo output address

7 years agoAdd section on addons to README
Daniel Imms [Wed, 8 Jun 2016 05:31:39 +0000 (22:31 -0700)]
Add section on addons to README

7 years agoAdd IP addresses to linkify
Daniel Imms [Wed, 8 Jun 2016 05:12:38 +0000 (22:12 -0700)]
Add IP addresses to linkify

Fixes #91

7 years agoAdd demo section to README
Daniel Imms [Wed, 8 Jun 2016 00:08:37 +0000 (17:08 -0700)]
Add demo section to README

Fixes #87

7 years agoAdd http:// to demo output address
Daniel Imms [Tue, 7 Jun 2016 23:43:33 +0000 (16:43 -0700)]
Add http:// to demo output address

This makes it easy to launch the demo in a browser by right clicking the URL in
gnome-terminal

7 years agoFix emission of terminal focus&blur events
TDaglis [Tue, 7 Jun 2016 10:58:00 +0000 (13:58 +0300)]
Fix emission of terminal focus&blur events

7 years agoMerge pull request #82 from sourcelair/issue/79
Paris Kasidiaris [Tue, 7 Jun 2016 10:44:36 +0000 (13:44 +0300)]
Merge pull request #82 from sourcelair/issue/79

Make cursor hollow on blur

7 years agoMake cursor hollow on blur
Paris [Tue, 7 Jun 2016 09:06:34 +0000 (12:06 +0300)]
Make cursor hollow on blur

Fix #79

7 years agoMerge pull request #83 from sourcelair/issue/76
Paris Kasidiaris [Tue, 7 Jun 2016 10:39:47 +0000 (13:39 +0300)]
Merge pull request #83 from sourcelair/issue/76

Set line height of terminal rows to normal

7 years agoSet line height of terminal rows to normal
Paris [Tue, 7 Jun 2016 09:23:28 +0000 (12:23 +0300)]
Set line height of terminal rows to normal

Fix #76

7 years agoMerge pull request #81 from sourcelair/bash-demo
Paris Kasidiaris [Tue, 7 Jun 2016 08:43:58 +0000 (11:43 +0300)]
Merge pull request #81 from sourcelair/bash-demo

Implement fully featured bash terminal demo with a static terminal fallback

7 years agoImplement fully featured terminal demo w/ static fallback
Paris [Sun, 5 Jun 2016 05:22:22 +0000 (08:22 +0300)]
Implement fully featured terminal demo w/ static fallback

7 years agoMerge pull request #78 from sourcelair/drop-hidden-textarea
Paris Kasidiaris [Tue, 7 Jun 2016 06:36:44 +0000 (09:36 +0300)]
Merge pull request #78 from sourcelair/drop-hidden-textarea

Drop hidden textarea for input handling

7 years agoFix indentation
Paris [Mon, 6 Jun 2016 16:38:13 +0000 (19:38 +0300)]
Fix indentation

7 years agoFix focus and blur events
Paris [Sun, 5 Jun 2016 03:58:09 +0000 (06:58 +0300)]
Fix focus and blur events

7 years agoFix cut and copy events
Paris [Sun, 5 Jun 2016 03:35:33 +0000 (06:35 +0300)]
Fix cut and copy events

- Do not actually cut on cut
- Strip trailing whitespaces on copy (fix #66)

7 years agoAdd a few hacks for better paste handling across browsers
Paris [Fri, 3 Jun 2016 08:04:46 +0000 (11:04 +0300)]
Add a few hacks for better paste handling across browsers

7 years agoVanish selection when a key with data is being pressed
Paris [Thu, 2 Jun 2016 10:31:38 +0000 (13:31 +0300)]
Vanish selection when a key with data is being pressed

7 years agoTiny styling update in row line height
Paris [Thu, 2 Jun 2016 10:08:06 +0000 (13:08 +0300)]
Tiny styling update in row line height

7 years agoHandle the paste event better
Paris [Thu, 2 Jun 2016 10:05:58 +0000 (13:05 +0300)]
Handle the paste event better

7 years agoRemove even more useless code
Paris [Thu, 2 Jun 2016 09:35:03 +0000 (12:35 +0300)]
Remove even more useless code

7 years agoRemove useless methods
Paris [Thu, 2 Jun 2016 09:27:43 +0000 (12:27 +0300)]
Remove useless methods

7 years agoMerge pull request #74 from Tyriar/master
Paris Kasidiaris [Thu, 2 Jun 2016 09:26:55 +0000 (12:26 +0300)]
Merge pull request #74 from Tyriar/master

Remove extra whitespace from class names

7 years agoRemove extra whitespace from class names
Daniel Imms [Thu, 2 Jun 2016 09:17:03 +0000 (02:17 -0700)]
Remove extra whitespace from class names

Use [].join to retain browser compatibility

Fixes #73

7 years agoRemove helper styling from xterm.css
Paris [Thu, 2 Jun 2016 09:02:51 +0000 (12:02 +0300)]
Remove helper styling from xterm.css

7 years agoMerge branch 'master' of github.com:sourcelair/xterm.js into content-editable
Paris [Thu, 2 Jun 2016 09:00:31 +0000 (12:00 +0300)]
Merge branch 'master' of github.com:sourcelair/xterm.js into content-editable

7 years agoMerge pull request #58 from sourcelair/issue/57
Paris Kasidiaris [Mon, 30 May 2016 20:37:01 +0000 (23:37 +0300)]
Merge pull request #58 from sourcelair/issue/57

Proper rendering of inverse data in default colors

7 years agoProper rendering of inverse data in default colors
Paris [Mon, 30 May 2016 14:11:31 +0000 (17:11 +0300)]
Proper rendering of inverse data in default colors

Fix #57

7 years agoMerge pull request #56 from sourcelair/issue/54
Paris Kasidiaris [Mon, 30 May 2016 11:52:59 +0000 (14:52 +0300)]
Merge pull request #56 from sourcelair/issue/54

Explicitly adjust height of terminal rows and child elements

7 years agoProperly adjust height of terminal rows and child elements
Paris [Thu, 26 May 2016 08:41:42 +0000 (11:41 +0300)]
Properly adjust height of terminal rows and child elements

Fix #54

8 years agoMerge pull request #53 from sourcelair/issue/52
Paris Kasidiaris [Wed, 4 May 2016 08:24:36 +0000 (11:24 +0300)]
Merge pull request #53 from sourcelair/issue/52

Make all add-ons CommonJS importable

8 years agoChange CommonJS package structure
Paris [Tue, 3 May 2016 09:48:16 +0000 (12:48 +0300)]
Change CommonJS package structure

Instead of making Xterm prototype extending optional, just require Xterm and pass it as parameter to the function just like it is being done with RequireJS

8 years agoExtend Xterm prototype only when `Xterm` is a function
Paris [Tue, 3 May 2016 09:36:21 +0000 (12:36 +0300)]
Extend Xterm prototype only when `Xterm` is a function

Add-ons attempted to extend the `Xterm` prototype no matter what. This was an issue when importing add-ons through CommonJS, where `Xterm` is not available in the global scope.

8 years agoMake all add-ons CommonJS importable
Paris [Tue, 3 May 2016 09:05:13 +0000 (12:05 +0300)]
Make all add-ons CommonJS importable

- Fix #52
- Rename `npm/nodejs project` documentation to `CommonJS environment`

8 years agoBump version to 0.33
Paris [Tue, 26 Apr 2016 09:17:41 +0000 (12:17 +0300)]
Bump version to 0.33

8 years agoMerge pull request #51 from blink1073/fix-blink
Paris Kasidiaris [Fri, 22 Apr 2016 23:26:55 +0000 (02:26 +0300)]
Merge pull request #51 from blink1073/fix-blink

Fix cursor blink

8 years agoHandle focus clearing
Steven Silvester [Thu, 21 Apr 2016 12:57:13 +0000 (07:57 -0500)]
Handle focus clearing

8 years agoFix cursor blink
Steven Silvester [Wed, 20 Apr 2016 20:41:33 +0000 (15:41 -0500)]
Fix cursor blink

8 years agoMerge pull request #50 from blink1073/fix-resize
Paris Kasidiaris [Wed, 20 Apr 2016 15:36:38 +0000 (18:36 +0300)]
Merge pull request #50 from blink1073/fix-resize

Use shift() when reducing lines to preserve lines up to cursor

8 years agoUse shift to reduce lines to preserve lines up to cursor
Steven Silvester [Thu, 14 Apr 2016 11:35:44 +0000 (06:35 -0500)]
Use shift to reduce lines to preserve lines up to cursor

8 years agoMerge pull request #49 from noseglid/nodejs-module
Paris Kasidiaris [Tue, 12 Apr 2016 11:18:03 +0000 (14:18 +0300)]
Merge pull request #49 from noseglid/nodejs-module

nodejs module definition

8 years agonodejs module definition
Alexander Olsson [Mon, 11 Apr 2016 13:06:40 +0000 (15:06 +0200)]
nodejs module definition

Allow importing xterm into  a nodejs application (for instance an electron
application, or perhaps a test environment using phantomjs which
also has a DOM),

8 years agopointless
Paris [Fri, 8 Apr 2016 15:10:27 +0000 (18:10 +0300)]
pointless

8 years agoHandle drop event
Paris [Thu, 10 Mar 2016 00:55:24 +0000 (02:55 +0200)]
Handle drop event

8 years agoStart working on replacing textarea with contentEditable
Paris [Thu, 10 Mar 2016 00:07:10 +0000 (02:07 +0200)]
Start working on replacing textarea with contentEditable

8 years agoBump version to 0.32
Paris [Tue, 9 Feb 2016 12:50:34 +0000 (14:50 +0200)]
Bump version to 0.32

8 years agoMerge branch 'master' of github.com:sourcelair/xterm.js
Paris [Tue, 9 Feb 2016 12:49:21 +0000 (12:49 +0000)]
Merge branch 'master' of github.com:sourcelair/xterm.js

8 years agoUpdate README
Paris [Tue, 9 Feb 2016 12:48:54 +0000 (14:48 +0200)]
Update README

8 years agoUpdate .gitignore to ingore npm logs
Paris [Tue, 9 Feb 2016 12:42:33 +0000 (14:42 +0200)]
Update .gitignore to ingore npm logs

8 years agoMerge pull request #45 from sourcelair/package-json
Paris Kasidiaris [Sat, 6 Feb 2016 16:41:54 +0000 (18:41 +0200)]
Merge pull request #45 from sourcelair/package-json

Package json

8 years agoUpdate package.json (name, repository, license)
Paris [Sat, 6 Feb 2016 16:41:24 +0000 (18:41 +0200)]
Update package.json (name, repository, license)

8 years agoFix version
Paris [Sat, 9 Jan 2016 17:43:56 +0000 (19:43 +0200)]
Fix version