]> git.proxmox.com Git - mirror_xterm.js.git/log
mirror_xterm.js.git
7 years agoDo not publish test files to npm
Paris Kasidiaris [Tue, 13 Dec 2016 23:25:20 +0000 (01:25 +0200)]
Do not publish test files to npm

7 years agoAlways build TypeScript in `lib/`
Paris Kasidiaris [Tue, 13 Dec 2016 23:10:03 +0000 (01:10 +0200)]
Always build TypeScript in `lib/`

7 years agoMerge pull request #398 from budde377/feat-npm
Paris Kasidiaris [Tue, 13 Dec 2016 22:59:58 +0000 (22:59 +0000)]
Merge pull request #398 from budde377/feat-npm

Add prepublish script and change main

7 years agoAdd prepublish script and change main
Christian Budde Christensen [Fri, 9 Dec 2016 09:36:59 +0000 (10:36 +0100)]
Add prepublish script and change main

Building TS before publish and pointing the main entry to the builded files.

7 years agoMerge pull request #400 from arcanis/patch-1
Paris Kasidiaris [Sun, 11 Dec 2016 10:25:35 +0000 (10:25 +0000)]
Merge pull request #400 from arcanis/patch-1

Use a fixed size to account for the scrollbar

7 years agoUse a fixed size to account for the scrollbar
Maël Nison [Sat, 10 Dec 2016 13:46:01 +0000 (14:46 +0100)]
Use a fixed size to account for the scrollbar

7 years agoMerge pull request #399 from bottleofwater/patch-1
Paris Kasidiaris [Fri, 9 Dec 2016 10:12:42 +0000 (10:12 +0000)]
Merge pull request #399 from bottleofwater/patch-1

Don't apply the 32 delta when in sgr mode - fix #394

7 years agoDon't apply the 32 delta when in sgr mode - fix #394
bottleofwater [Fri, 9 Dec 2016 09:52:09 +0000 (10:52 +0100)]
Don't apply the 32 delta when in sgr mode - fix #394

7 years agoBump version to 2.2.1
Paris Kasidiaris [Wed, 7 Dec 2016 18:43:03 +0000 (18:43 +0000)]
Bump version to 2.2.1

Signed-off-by: Paris Kasidiaris <paris@sourcelair.com>
7 years agoCheckout add-ons
Paris Kasidiaris [Wed, 7 Dec 2016 18:42:40 +0000 (18:42 +0000)]
Checkout add-ons

7 years agoBump version to 2.2.0
Paris Kasidiaris [Wed, 7 Dec 2016 18:41:37 +0000 (18:41 +0000)]
Bump version to 2.2.0

Signed-off-by: Paris Kasidiaris <paris@sourcelair.com>
7 years agoMerge pull request #393 from sourcelair/migrate-clipboard-to-typescript
Paris Kasidiaris [Wed, 7 Dec 2016 18:37:00 +0000 (18:37 +0000)]
Merge pull request #393 from sourcelair/migrate-clipboard-to-typescript

Migrate Clipboard handler to TypeScript

7 years agoMerge pull request #392 from sourcelair/fix-readme-addon-path
Paris Kasidiaris [Tue, 6 Dec 2016 22:08:30 +0000 (22:08 +0000)]
Merge pull request #392 from sourcelair/fix-readme-addon-path

Update path to addons in README.md

7 years agoImprove interfaces in Clipboard.ts
Paris Kasidiaris [Tue, 6 Dec 2016 22:07:50 +0000 (00:07 +0200)]
Improve interfaces in Clipboard.ts

7 years agoMigrate Clipboard handler to TypeScript
Paris Kasidiaris [Tue, 6 Dec 2016 09:45:02 +0000 (11:45 +0200)]
Migrate Clipboard handler to TypeScript

Also apply JavaScript rules in `.editorconfig` in TypeScript files as well.

Part of #335

7 years agoUpdate path to addons in README.md
Paris Kasidiaris [Tue, 6 Dec 2016 08:55:40 +0000 (10:55 +0200)]
Update path to addons in README.md

7 years agoMerge pull request #391 from Tyriar/357_textarea_top_zero
Daniel Imms [Mon, 5 Dec 2016 19:47:55 +0000 (11:47 -0800)]
Merge pull request #391 from Tyriar/357_textarea_top_zero

Position the textarea at top:0

7 years agoMerge pull request #390 from sourcelair/issue-#375-bring-build-dir-back
Paris Kasidiaris [Mon, 5 Dec 2016 19:35:08 +0000 (19:35 +0000)]
Merge pull request #390 from sourcelair/issue-#375-bring-build-dir-back

Bring back the `build` directory for temporary builds

7 years agoRemove `export` from build script
Paris Kasidiaris [Mon, 5 Dec 2016 19:29:50 +0000 (21:29 +0200)]
Remove `export` from build script

7 years agoPosition the textarea at top:0
Daniel Imms [Mon, 5 Dec 2016 19:19:35 +0000 (11:19 -0800)]
Position the textarea at top:0

This prevents the browser from scrolling to the top of the page if the terminal
can be scrolled out of view.

Fixes #357

7 years agoCreate the build directory if it does not exist already
Paris Kasidiaris [Mon, 5 Dec 2016 11:34:10 +0000 (13:34 +0200)]
Create the build directory if it does not exist already

7 years agoBring back the `build` directory for temporary builds
Paris Kasidiaris [Mon, 5 Dec 2016 11:17:13 +0000 (13:17 +0200)]
Bring back the `build` directory for temporary builds

Fix #375

7 years agoMerge pull request #388 from sourcelair/issue-#366
Paris Kasidiaris [Thu, 1 Dec 2016 17:41:58 +0000 (19:41 +0200)]
Merge pull request #388 from sourcelair/issue-#366

Update documentation with cleaner license declaration

7 years agoMerge pull request #382 from sourcelair/Tyriar-patch-1
Daniel Imms [Thu, 1 Dec 2016 17:19:06 +0000 (09:19 -0800)]
Merge pull request #382 from sourcelair/Tyriar-patch-1

Add link to TravisCI badge

7 years agoMerge pull request #383 from Tyriar/381_clean_out_on_build
Daniel Imms [Thu, 1 Dec 2016 17:18:56 +0000 (09:18 -0800)]
Merge pull request #383 from Tyriar/381_clean_out_on_build

Clean out/* on build in case src/* files were deleted

7 years agoUpdate documentation with cleaner license declaration
Paris Kasidiaris [Thu, 1 Dec 2016 13:35:23 +0000 (15:35 +0200)]
Update documentation with cleaner license declaration

Fix #366

7 years agoMerge pull request #380 from Tyriar/378_handle_keypress_scroll
Daniel Imms [Mon, 28 Nov 2016 23:55:27 +0000 (15:55 -0800)]
Merge pull request #380 from Tyriar/378_handle_keypress_scroll

Scroll to bottom whenever handler is called

7 years agoClean out/* on build in case src/* files were deleted
Daniel Imms [Mon, 28 Nov 2016 18:52:01 +0000 (10:52 -0800)]
Clean out/* on build in case src/* files were deleted

If files in src/ were compiled and then deleted they will hang around in out/
until deleted. This can potentially cause difficult to diagnose build/test
errors. This commit removes all files from out/ but keeps the folder to
prevent editor file watchers from seeing the folder was deleted and shifting
the file explorer around.

Fixed #381

7 years agoAdd link to TravisCI badge
Daniel Imms [Mon, 28 Nov 2016 18:46:19 +0000 (10:46 -0800)]
Add link to TravisCI badge

7 years agoScroll to bottom whenever handler is called
Daniel Imms [Mon, 28 Nov 2016 18:41:03 +0000 (10:41 -0800)]
Scroll to bottom whenever handler is called

This catches all current and future cases for correctly scrolling to the bottom
on input by handling it in the handler immediately before emitting the data
event.

Fixes #378

7 years agoMerge pull request #371 from Tyriar/335_CompositionHelper_ts
Daniel Imms [Mon, 28 Nov 2016 16:21:12 +0000 (08:21 -0800)]
Merge pull request #371 from Tyriar/335_CompositionHelper_ts

Convert CompositionHelper to TypeScript

7 years agoMerge remote-tracking branch 'upstream/master' into 335_CompositionHelper_ts
Daniel Imms [Mon, 28 Nov 2016 16:16:38 +0000 (08:16 -0800)]
Merge remote-tracking branch 'upstream/master' into 335_CompositionHelper_ts

7 years agoMerge pull request #379 from Tyriar/378_cannot_scroll_up_1plus_pages
Daniel Imms [Mon, 28 Nov 2016 16:07:00 +0000 (08:07 -0800)]
Merge pull request #379 from Tyriar/378_cannot_scroll_up_1plus_pages

Only scroll to bottom during composition or result.key is evaluated

7 years agoMerge pull request #372 from Tyriar/335_viewport_tidy
Daniel Imms [Mon, 28 Nov 2016 16:06:50 +0000 (08:06 -0800)]
Merge pull request #372 from Tyriar/335_viewport_tidy

Clean up viewport more after TS conversion

7 years agoMerge pull request #377 from Tyriar/376_ctrl_backslash_sigquit
Daniel Imms [Mon, 28 Nov 2016 16:06:42 +0000 (08:06 -0800)]
Merge pull request #377 from Tyriar/376_ctrl_backslash_sigquit

Implement ^\ String Terminator

7 years agoOnly scroll to bottom during composition or result.key is evaluated
Daniel Imms [Sun, 27 Nov 2016 09:49:45 +0000 (01:49 -0800)]
Only scroll to bottom during composition or result.key is evaluated

Fixes #378

7 years agoImplement ^\ String Terminator
Daniel Imms [Sat, 26 Nov 2016 22:59:53 +0000 (14:59 -0800)]
Implement ^\ String Terminator

Fixes #376

8 years agoMove CompositionHelper header comment to class
Daniel Imms [Tue, 22 Nov 2016 19:54:42 +0000 (11:54 -0800)]
Move CompositionHelper header comment to class

8 years agoClean up viewport more after TS conversion
Daniel Imms [Tue, 22 Nov 2016 19:53:45 +0000 (11:53 -0800)]
Clean up viewport more after TS conversion

Part of #335

8 years agotsify CompositionHelper test
Daniel Imms [Tue, 22 Nov 2016 19:50:08 +0000 (11:50 -0800)]
tsify CompositionHelper test

8 years agoRename composition-helper-test.js -> CompositionHelper.test.ts
Daniel Imms [Tue, 22 Nov 2016 19:48:16 +0000 (11:48 -0800)]
Rename composition-helper-test.js -> CompositionHelper.test.ts

8 years agotsify CompositionHelper
Daniel Imms [Tue, 22 Nov 2016 19:47:18 +0000 (11:47 -0800)]
tsify CompositionHelper

8 years agoRename CompositionHelper.js -> CompositionHelper.ts
Daniel Imms [Tue, 22 Nov 2016 19:36:34 +0000 (11:36 -0800)]
Rename CompositionHelper.js -> CompositionHelper.ts

8 years agoMerge pull request #369 from Tyriar/368_custom_handler_before_scroll
Daniel Imms [Tue, 22 Nov 2016 18:29:43 +0000 (10:29 -0800)]
Merge pull request #369 from Tyriar/368_custom_handler_before_scroll

Evaluate the custom keydown event handler before scrolling down

8 years agoMerge remote-tracking branch 'upstream/master' into 368_custom_handler_before_scroll
Daniel Imms [Tue, 22 Nov 2016 18:23:04 +0000 (10:23 -0800)]
Merge remote-tracking branch 'upstream/master' into 368_custom_handler_before_scroll

8 years agoMerge pull request #367 from Tyriar/363_modifier_keys_no_scroll
Daniel Imms [Tue, 22 Nov 2016 16:00:23 +0000 (08:00 -0800)]
Merge pull request #367 from Tyriar/363_modifier_keys_no_scroll

Prevent keyboard modifier events from scrolling down

8 years agoMerge pull request #370 from Tyriar/335_Viewport_ts
Daniel Imms [Tue, 22 Nov 2016 15:59:46 +0000 (07:59 -0800)]
Merge pull request #370 from Tyriar/335_Viewport_ts

Convert Viewport to TypeScript

8 years agoMerge pull request #355 from Tyriar/354_fix_sourcemaps
Daniel Imms [Mon, 21 Nov 2016 23:27:38 +0000 (15:27 -0800)]
Merge pull request #355 from Tyriar/354_fix_sourcemaps

Set up source maps

8 years agoAdopt more TS syntax in Viewport.test.ts
Daniel Imms [Mon, 21 Nov 2016 22:44:10 +0000 (14:44 -0800)]
Adopt more TS syntax in Viewport.test.ts

8 years agoMove viewport-test.js to Viewport.test.ts
Daniel Imms [Mon, 21 Nov 2016 22:39:58 +0000 (14:39 -0800)]
Move viewport-test.js to Viewport.test.ts

8 years agoConvert Viewport to a TS class
Daniel Imms [Mon, 21 Nov 2016 22:39:08 +0000 (14:39 -0800)]
Convert Viewport to a TS class

8 years agoRename Viewport.js -> Viewport.ts
Daniel Imms [Mon, 21 Nov 2016 22:27:41 +0000 (14:27 -0800)]
Rename Viewport.js -> Viewport.ts

Part of #335

8 years agoAdd test for not scrolling on custom handler
Daniel Imms [Mon, 21 Nov 2016 22:23:28 +0000 (14:23 -0800)]
Add test for not scrolling on custom handler

8 years agoEvaluate the custom keydown event handler before scrolling down
Daniel Imms [Mon, 21 Nov 2016 22:04:13 +0000 (14:04 -0800)]
Evaluate the custom keydown event handler before scrolling down

Fixes #368

8 years agoPrevent keyboard modifier events from scrolling down
Daniel Imms [Mon, 21 Nov 2016 21:59:30 +0000 (13:59 -0800)]
Prevent keyboard modifier events from scrolling down

Fixes #363

8 years agoMerge pull request #353 from Tyriar/352_fix_demo_after_ts
Daniel Imms [Wed, 16 Nov 2016 17:56:35 +0000 (09:56 -0800)]
Merge pull request #353 from Tyriar/352_fix_demo_after_ts

Point to correct assets after TS build

8 years agoMake all dist/ references in index.html absolute
Daniel Imms [Mon, 14 Nov 2016 18:35:20 +0000 (10:35 -0800)]
Make all dist/ references in index.html absolute

8 years agoSet up source maps
Daniel Imms [Sat, 12 Nov 2016 22:24:57 +0000 (14:24 -0800)]
Set up source maps

Fixes #354

8 years agoPoint to correct assets after TS build
Daniel Imms [Sat, 12 Nov 2016 22:01:38 +0000 (14:01 -0800)]
Point to correct assets after TS build

8 years agoMerge pull request #296 from Tyriar/typescript_build_2
Daniel Imms [Sat, 12 Nov 2016 21:51:12 +0000 (13:51 -0800)]
Merge pull request #296 from Tyriar/typescript_build_2

Move to TypeScript build

8 years agoMerge remote-tracking branch 'upstream/master' into typescript_build_2
Daniel Imms [Sat, 12 Nov 2016 21:46:59 +0000 (13:46 -0800)]
Merge remote-tracking branch 'upstream/master' into typescript_build_2

8 years agoMerge pull request #1 from Tyriar/typescript_build_3
Daniel Imms [Sat, 12 Nov 2016 19:39:24 +0000 (11:39 -0800)]
Merge pull request #1 from Tyriar/typescript_build_3

Refactor TS build and fix testing

8 years agoMerge pull request #351 from yuvipanda/docsome
Paris Kasidiaris [Sat, 12 Nov 2016 10:53:02 +0000 (12:53 +0200)]
Merge pull request #351 from yuvipanda/docsome

Add doc comments for *some* events

8 years agoAdd doc comment for scroll event
YuviPanda [Sat, 12 Nov 2016 00:28:25 +0000 (16:28 -0800)]
Add doc comment for scroll event

8 years agoAdd docstring for the open event
YuviPanda [Sat, 12 Nov 2016 00:27:10 +0000 (16:27 -0800)]
Add docstring for the open event

8 years agoAdd docstring for the title event
YuviPanda [Sat, 12 Nov 2016 00:27:01 +0000 (16:27 -0800)]
Add docstring for the title event

8 years agoMerge pull request #350 from sourcelair/Tyriar-patch-1
Daniel Imms [Fri, 11 Nov 2016 16:31:44 +0000 (08:31 -0800)]
Merge pull request #350 from sourcelair/Tyriar-patch-1

Make ttyd link bold like the others

8 years agoMake ttyd link bold like the others
Daniel Imms [Thu, 10 Nov 2016 03:34:36 +0000 (19:34 -0800)]
Make ttyd link bold like the others

8 years agoMerge pull request #347 from tsl0922/update-readme
Paris Kasidiaris [Wed, 9 Nov 2016 12:52:56 +0000 (14:52 +0200)]
Merge pull request #347 from tsl0922/update-readme

Add ttyd to the real-world uses section of README

8 years agoAdd ttyd to the real-world uses section of README
Shuanglei Tao [Wed, 9 Nov 2016 12:21:25 +0000 (20:21 +0800)]
Add ttyd to the real-world uses section of README

8 years agoBump version to 2.1.0
Paris Kasidiaris [Tue, 8 Nov 2016 22:51:33 +0000 (22:51 +0000)]
Bump version to 2.1.0

Signed-off-by: Paris Kasidiaris <paris@sourcelair.com>
8 years agoMerge pull request #345 from hiro-su/fix-ie11-right-click-paste
Paris Kasidiaris [Tue, 8 Nov 2016 11:21:12 +0000 (13:21 +0200)]
Merge pull request #345 from hiro-su/fix-ie11-right-click-paste

Fix the right click paste in IE11

8 years agoFix the right click paste in IE11
hiro-su [Tue, 8 Nov 2016 05:56:57 +0000 (14:56 +0900)]
Fix the right click paste in IE11

8 years agoMerge pull request #339 from hiro-su/fix-ie11-copy-event
Paris Kasidiaris [Sat, 5 Nov 2016 15:27:50 +0000 (15:27 +0000)]
Merge pull request #339 from hiro-su/fix-ie11-copy-event

Fixed copy event in IE11

8 years agoFixed copy event in IE11
hiro-su [Fri, 4 Nov 2016 07:44:19 +0000 (16:44 +0900)]
Fixed copy event in IE11

8 years agoMerge pull request #342 from sourcelair/issue-#310-cross-browser-right-click
Paris Kasidiaris [Fri, 4 Nov 2016 20:40:53 +0000 (20:40 +0000)]
Merge pull request #342 from sourcelair/issue-#310-cross-browser-right-click

Make right-click work on all browsers

8 years agoMerge pull request #336 from sourcelair/issue-#216-no-auto-scroll-on-output
Paris Kasidiaris [Fri, 4 Nov 2016 19:55:07 +0000 (19:55 +0000)]
Merge pull request #336 from sourcelair/issue-#216-no-auto-scroll-on-output

Stop auto scrolling to bottom on output

8 years agoActually fix tests
Paris Kasidiaris [Fri, 4 Nov 2016 19:48:53 +0000 (21:48 +0200)]
Actually fix tests

8 years agoFix tests
Paris Kasidiaris [Fri, 4 Nov 2016 17:36:30 +0000 (19:36 +0200)]
Fix tests

8 years agoMove all browser/platform detecting in `utils/Browser.js`
Paris Kasidiaris [Fri, 4 Nov 2016 16:41:00 +0000 (18:41 +0200)]
Move all browser/platform detecting in `utils/Browser.js`

8 years agoFix right-click for Firefox and IE
Paris Kasidiaris [Fri, 4 Nov 2016 16:33:04 +0000 (18:33 +0200)]
Fix right-click for Firefox and IE

Fix #310

8 years agoImprove experience and add test
Paris Kasidiaris [Fri, 4 Nov 2016 12:20:17 +0000 (14:20 +0200)]
Improve experience and add test

- Scroll to bottom on keydown (when scrolled up)
- Add test to ensure above behavior

8 years agoMerge pull request #337 from IanLewis/master
Paris Kasidiaris [Fri, 4 Nov 2016 09:35:24 +0000 (09:35 +0000)]
Merge pull request #337 from IanLewis/master

Add main property to bower.json

8 years agoAdd main property to bower.json
Ian Lewis [Thu, 3 Nov 2016 12:26:58 +0000 (17:56 +0530)]
Add main property to bower.json

This patch adds the main property to the project's bower.json for better
interoperability with tools like wiredep etc.

8 years agoMerge pull request #334 from hiro-su/fix-ie11-paste-key
Paris Kasidiaris [Wed, 2 Nov 2016 09:19:18 +0000 (09:19 +0000)]
Merge pull request #334 from hiro-su/fix-ie11-paste-key

Fixed paste key in IE11

8 years agoFixed paste key in IE11
hiro-su [Tue, 1 Nov 2016 03:38:01 +0000 (12:38 +0900)]
Fixed paste key in IE11

8 years agoRefactor TS build and fix testing
Daniel Imms [Tue, 1 Nov 2016 04:22:21 +0000 (21:22 -0700)]
Refactor TS build and fix testing

This change is largely just moving files with minor tweaks to them to fix,
the rest of the commit is build process changes:

- The addons/ and test/ dirs have been moved to src/
- The build directory has been removed
- TypeScript builds are output in out/, this is where tests are run
- The demo now relies on the dist/ build which is performed as part of ./bin/build
- Addons are now shipped under the ./build directory

8 years agoRemove typings (not needed in TS 2+)
Daniel Imms [Tue, 1 Nov 2016 02:30:35 +0000 (19:30 -0700)]
Remove typings (not needed in TS 2+)

8 years agoMerge remote-tracking branch 'upstream/master' into typescript_build_2
Daniel Imms [Tue, 1 Nov 2016 02:29:36 +0000 (19:29 -0700)]
Merge remote-tracking branch 'upstream/master' into typescript_build_2

8 years agoMerge pull request #332 from sourcelair/issue-#331-fix-no-selection-range
Paris Kasidiaris [Mon, 31 Oct 2016 18:52:48 +0000 (18:52 +0000)]
Merge pull request #332 from sourcelair/issue-#331-fix-no-selection-range

Consider click not on selection, when s.rangeCount is 0

8 years agoConsider click not on selection, when s.rangeCount is 0
Paris Kasidiaris [Mon, 31 Oct 2016 13:06:00 +0000 (15:06 +0200)]
Consider click not on selection, when s.rangeCount is 0

8 years agoMerge pull request #328 from Tyriar/327_fix_random_line_wrap
Daniel Imms [Thu, 27 Oct 2016 14:52:48 +0000 (07:52 -0700)]
Merge pull request #328 from Tyriar/327_fix_random_line_wrap

Force nowrap on each line

8 years agoForce nowrap on each line
Daniel Imms [Thu, 27 Oct 2016 01:07:55 +0000 (18:07 -0700)]
Force nowrap on each line

Fixes #327

8 years agoQuick fix to prevent terminal scrolling when user is looking into scrollback.
Mikko Karvonen [Tue, 25 Oct 2016 10:54:57 +0000 (13:54 +0300)]
Quick fix to prevent terminal scrolling when user is looking into scrollback.

8 years agoMerge pull request #323 from Tyriar/322_ime_bad_position
Daniel Imms [Mon, 24 Oct 2016 21:58:41 +0000 (14:58 -0700)]
Merge pull request #323 from Tyriar/322_ime_bad_position

Fix the textarea in the composition view's pos when composing

8 years agoFix the textarea in the composition view's pos when composing
Daniel Imms [Mon, 24 Oct 2016 18:06:25 +0000 (11:06 -0700)]
Fix the textarea in the composition view's pos when composing

Fixes #322

8 years agoMerge pull request #321 from sourcelair/issue-#313-document-terminal-constructor
Paris Kasidiaris [Mon, 24 Oct 2016 16:01:37 +0000 (19:01 +0300)]
Merge pull request #321 from sourcelair/issue-#313-document-terminal-constructor

Issue #313 document terminal constructor

8 years agoRemove `geometry` option from terminal consttructor
Paris Kasidiaris [Sun, 23 Oct 2016 14:55:37 +0000 (17:55 +0300)]
Remove `geometry` option from terminal consttructor

8 years agoFix `term.geometry` and document it in constructor options
Paris Kasidiaris [Sun, 23 Oct 2016 11:13:20 +0000 (14:13 +0300)]
Fix `term.geometry` and document it in constructor options

Set `term.geometry` on terminal creation and on resize

8 years agoIgnore `.env` files that set the environment
Paris Kasidiaris [Sun, 23 Oct 2016 10:28:08 +0000 (13:28 +0300)]
Ignore `.env` files that set the environment