]> git.proxmox.com Git - mirror_xterm.js.git/log
mirror_xterm.js.git
7 years agoMerge remote-tracking branch 'upstream/master' into 266_pull_renderer_out
Daniel Imms [Wed, 1 Feb 2017 18:29:11 +0000 (10:29 -0800)]
Merge remote-tracking branch 'upstream/master' into 266_pull_renderer_out

7 years agoAdd license
Daniel Imms [Wed, 1 Feb 2017 18:21:43 +0000 (10:21 -0800)]
Add license

7 years agoMerge pull request #521 from Tyriar/517_dont_loop_animation_frame
Daniel Imms [Wed, 1 Feb 2017 07:51:51 +0000 (23:51 -0800)]
Merge pull request #521 from Tyriar/517_dont_loop_animation_frame

Don't requeue animation frame if not needed

7 years agoMerge pull request #520 from Tyriar/519_erase_null_check
Daniel Imms [Wed, 1 Feb 2017 07:51:40 +0000 (23:51 -0800)]
Merge pull request #520 from Tyriar/519_erase_null_check

Add null checks in eraseRight and eraseLeft

7 years agoFix tests
Daniel Imms [Wed, 1 Feb 2017 07:46:58 +0000 (23:46 -0800)]
Fix tests

7 years agoPull renderer out of xterm.js
Daniel Imms [Wed, 1 Feb 2017 06:45:28 +0000 (22:45 -0800)]
Pull renderer out of xterm.js

7 years agoDon't requeue animation frame if not needed
Daniel Imms [Wed, 1 Feb 2017 05:23:21 +0000 (21:23 -0800)]
Don't requeue animation frame if not needed

Fixes #517

7 years agoDon't requeue animation frame if not needed
Daniel Imms [Wed, 1 Feb 2017 05:23:21 +0000 (21:23 -0800)]
Don't requeue animation frame if not needed

Fixes #517

7 years agoAdd null checks in eraseRight and eraseLeft
Daniel Imms [Wed, 1 Feb 2017 05:02:55 +0000 (21:02 -0800)]
Add null checks in eraseRight and eraseLeft

Fixes #519

7 years agoMerge pull request #513 from Tyriar/511_useFlowControl_option
Daniel Imms [Fri, 27 Jan 2017 16:23:13 +0000 (08:23 -0800)]
Merge pull request #513 from Tyriar/511_useFlowControl_option

Add useFlowControl option

7 years agoMerge pull request #514 from LucianBuzzo/master
Paris Kasidiaris [Fri, 27 Jan 2017 12:58:57 +0000 (12:58 +0000)]
Merge pull request #514 from LucianBuzzo/master

[issue #164] Fix bug that can occur when setting a scroll region

7 years ago[issue #164] Fix bug that can occur when setting a scroll region
Lucian Buzzo [Fri, 27 Jan 2017 11:25:12 +0000 (11:25 +0000)]
[issue #164] Fix bug that can occur when setting a scroll region

7 years agoAdd useFlowControl option
Daniel Imms [Fri, 27 Jan 2017 05:14:07 +0000 (21:14 -0800)]
Add useFlowControl option

Fixes #511

7 years agoMerge pull request #500 from Tyriar/fix_vt_tests
Daniel Imms [Thu, 26 Jan 2017 16:55:42 +0000 (08:55 -0800)]
Merge pull request #500 from Tyriar/fix_vt_tests

Fix many vt tests

7 years agoMerge pull request #509 from Tyriar/vscode_debugger_support
Daniel Imms [Thu, 26 Jan 2017 16:55:22 +0000 (08:55 -0800)]
Merge pull request #509 from Tyriar/vscode_debugger_support

Support debugging mocha tests in vscode

7 years agoMerge pull request #499 from Tyriar/481_character_sets
Daniel Imms [Wed, 25 Jan 2017 21:00:49 +0000 (13:00 -0800)]
Merge pull request #499 from Tyriar/481_character_sets

Add support for rest of VT100 character sets

7 years agoAdd comments explaining actions preventing x from wrapping
Daniel Imms [Wed, 25 Jan 2017 18:34:43 +0000 (10:34 -0800)]
Add comments explaining actions preventing x from wrapping

7 years agoFix failing test given new auto wraparound behavior
Daniel Imms [Wed, 25 Jan 2017 18:32:20 +0000 (10:32 -0800)]
Fix failing test given new auto wraparound behavior

7 years agoSupport debugging mocha tests from vscode
Daniel Imms [Wed, 25 Jan 2017 18:25:28 +0000 (10:25 -0800)]
Support debugging mocha tests from vscode

7 years agoMerge pull request #508 from Tyriar/507_fix_lint_in_src_root
Daniel Imms [Wed, 25 Jan 2017 15:30:09 +0000 (07:30 -0800)]
Merge pull request #508 from Tyriar/507_fix_lint_in_src_root

Run lint on src/*.ts and fix errors

7 years agoRun lint on src/*.ts and fix errors
Daniel Imms [Tue, 24 Jan 2017 21:34:45 +0000 (13:34 -0800)]
Run lint on src/*.ts and fix errors

Fixes #507

7 years agoMerge pull request #505 from vincentwoo/patch-1
Paris Kasidiaris [Tue, 24 Jan 2017 07:48:37 +0000 (07:48 +0000)]
Merge pull request #505 from vincentwoo/patch-1

Add CoderPad to real world use cases

7 years agoAdd CoderPad to real world use cases
Vincent Woo [Tue, 24 Jan 2017 05:32:14 +0000 (21:32 -0800)]
Add CoderPad to real world use cases

Hi everyone,

I'm very pleased to say I have cut CoderPad.io over to using xterm.js (replacing term.js). I've very pleased with the work you've done on it. You've implemented the many terrible hacks on top of term.js I had to write, except you've actually implemented stuff the right way.

I look forward to your continued progress on the project!

Cheers,
Vincent

7 years agoMerge pull request #504 from Tyriar/fix_mode_recursive_call
Daniel Imms [Mon, 23 Jan 2017 20:41:19 +0000 (12:41 -0800)]
Merge pull request #504 from Tyriar/fix_mode_recursive_call

Use InputHandler.setMode/resetMode, not Terminal

7 years agoUse InputHandler.setMode/resetMode, not Terminal
Daniel Imms [Mon, 23 Jan 2017 19:30:45 +0000 (11:30 -0800)]
Use InputHandler.setMode/resetMode, not Terminal

7 years agoMerge pull request #502 from vincentwoo/master
Paris Kasidiaris [Mon, 23 Jan 2017 10:38:35 +0000 (12:38 +0200)]
Merge pull request #502 from vincentwoo/master

Bundle top-level .js and .json files in NPM

7 years agoBundle top-level JSON with npm
Vincent Woo [Mon, 23 Jan 2017 06:28:46 +0000 (22:28 -0800)]
Bundle top-level JSON with npm

7 years agoBundle top-level JS with npm
Vincent Woo [Mon, 23 Jan 2017 06:26:40 +0000 (22:26 -0800)]
Bundle top-level JS with npm

7 years agoSkip broken tests
Daniel Imms [Sat, 21 Jan 2017 07:38:56 +0000 (23:38 -0800)]
Skip broken tests

7 years agoMock viewport.syncScrollArea
Daniel Imms [Sat, 21 Jan 2017 07:20:13 +0000 (23:20 -0800)]
Mock viewport.syncScrollArea

7 years agoFix VPR behavior
Daniel Imms [Sat, 21 Jan 2017 07:14:08 +0000 (23:14 -0800)]
Fix VPR behavior

Don't wrap cursor to column 0 after a VPR, fixes 1 test

7 years agoFix CUD behavior
Daniel Imms [Sat, 21 Jan 2017 07:12:54 +0000 (23:12 -0800)]
Fix CUD behavior

Don't wrap cursor to column 0 after a CUD, fixes 1 test

7 years agoFix CUB behavior
Daniel Imms [Sat, 21 Jan 2017 07:11:22 +0000 (23:11 -0800)]
Fix CUB behavior

Don't wrap cursor to column 0 after a CUB, fixes 3 tests

7 years agoImplement CAN (Cancel, ^X)
Daniel Imms [Sat, 21 Jan 2017 07:03:38 +0000 (23:03 -0800)]
Implement CAN (Cancel, ^X)

This helps partially pass t0014-CAN.in, it won't work 100% however
due to the very complex parsing logic of vanilla xterm that
gnome-terminal doesn't even seem to match. xterm's source seems to
have multiple ignore cases for a set of characters such that an
escape sequence like \e!!!!!! prints nothing as the ! continually
gets ignored. Our current logic is we ignore the escape sequence
immediately in this case and print the !.

7 years agoFix LF/VT/FF behavior
Daniel Imms [Sat, 21 Jan 2017 06:14:18 +0000 (22:14 -0800)]
Fix LF/VT/FF behavior

Don't wrap cursor to column 0 after an index, fixes 2 tests

7 years agoFix index behavior
Daniel Imms [Sat, 21 Jan 2017 05:49:39 +0000 (21:49 -0800)]
Fix index behavior

Don't wrap cursor to column 0 after an index, fixes 2 tests

7 years agoRight trim expected output, we don't care for now
Daniel Imms [Sat, 21 Jan 2017 05:39:27 +0000 (21:39 -0800)]
Right trim expected output, we don't care for now

This fixes 2 tests

7 years agoEnable other tests and fix viewport check
Daniel Imms [Sat, 21 Jan 2017 05:22:16 +0000 (21:22 -0800)]
Enable other tests and fix viewport check

7 years agoPrevent wraparound mode from overriding last character
Daniel Imms [Sat, 21 Jan 2017 05:20:11 +0000 (21:20 -0800)]
Prevent wraparound mode from overriding last character

7 years agoUse block comment for SCLD
Daniel Imms [Sat, 21 Jan 2017 04:13:45 +0000 (20:13 -0800)]
Use block comment for SCLD

7 years agoReference CHARSETS using codes
Daniel Imms [Sat, 21 Jan 2017 04:12:47 +0000 (20:12 -0800)]
Reference CHARSETS using codes

7 years agoAdd character sets for most languages
Daniel Imms [Sat, 21 Jan 2017 03:05:13 +0000 (19:05 -0800)]
Add character sets for most languages

Part of #481

7 years agoMerge pull request #497 from sourcelair/issue-#488-tabstopwidth
Paris Kasidiaris [Fri, 20 Jan 2017 23:08:23 +0000 (01:08 +0200)]
Merge pull request #497 from sourcelair/issue-#488-tabstopwidth

Implement configurable tab stop width

7 years agoFixes on demo based on configurable `tabStopWidth`
Paris Kasidiaris [Fri, 20 Jan 2017 22:32:39 +0000 (00:32 +0200)]
Fixes on demo based on configurable `tabStopWidth`

7 years agoMerge pull request #498 from Tyriar/259_fix_setupStops_in_resize
Daniel Imms [Fri, 20 Jan 2017 22:29:13 +0000 (14:29 -0800)]
Merge pull request #498 from Tyriar/259_fix_setupStops_in_resize

Fix setupStops call in resize

7 years agoFix setupStops call in resize
Daniel Imms [Fri, 20 Jan 2017 22:23:45 +0000 (14:23 -0800)]
Fix setupStops call in resize

Fixes #259

7 years agoMove `tabStopWidth` option callback into `setOption`
Paris Kasidiaris [Fri, 20 Jan 2017 16:16:50 +0000 (18:16 +0200)]
Move `tabStopWidth` option callback into `setOption`

7 years agoFix #488: Implement configurable tab width
Paris Kasidiaris [Fri, 20 Jan 2017 14:47:34 +0000 (16:47 +0200)]
Fix #488: Implement configurable tab width

7 years agoMerge pull request #495 from Tyriar/494_display_none_resize_fix
Daniel Imms [Fri, 20 Jan 2017 15:26:46 +0000 (07:26 -0800)]
Merge pull request #495 from Tyriar/494_display_none_resize_fix

Only keep > 0 geometry in CharMeasure

7 years agoMerge pull request #492 from Tyriar/480_cursor_style
Daniel Imms [Fri, 20 Jan 2017 15:26:36 +0000 (07:26 -0800)]
Merge pull request #492 from Tyriar/480_cursor_style

Implement CSI Ps SP q Set cursor style

7 years agoOnly keep > 0 geometry in CharMeasure
Daniel Imms [Fri, 20 Jan 2017 02:02:09 +0000 (18:02 -0800)]
Only keep > 0 geometry in CharMeasure

Fixes #494

7 years agoAdd InputHandler.setCursorStyle test
Daniel Imms [Wed, 18 Jan 2017 18:30:35 +0000 (10:30 -0800)]
Add InputHandler.setCursorStyle test

7 years agoImplement CSI Ps SP q Set cursor style
Daniel Imms [Mon, 16 Jan 2017 22:53:35 +0000 (14:53 -0800)]
Implement CSI Ps SP q Set cursor style

Fixes #480

7 years agoMerge pull request #462 from Tyriar/459_parser__on_460
Daniel Imms [Wed, 18 Jan 2017 18:02:03 +0000 (10:02 -0800)]
Merge pull request #462 from Tyriar/459_parser__on_460

Parser refactor and optimization

7 years agoAdd documentation
Daniel Imms [Wed, 18 Jan 2017 17:35:27 +0000 (09:35 -0800)]
Add documentation

7 years agoMerge pull request #490 from Tyriar/489_namespace_cursor_blink
Daniel Imms [Wed, 18 Jan 2017 16:18:23 +0000 (08:18 -0800)]
Merge pull request #490 from Tyriar/489_namespace_cursor_blink

Namespace cursor-blink CSS animations

7 years agoNamespace cursor-blink CSS animations
Daniel Imms [Wed, 18 Jan 2017 16:06:24 +0000 (08:06 -0800)]
Namespace cursor-blink CSS animations

Fixes #489

7 years agoMerge remote-tracking branch 'upstream/master' into 459_parser__on_460
Daniel Imms [Mon, 16 Jan 2017 23:17:35 +0000 (15:17 -0800)]
Merge remote-tracking branch 'upstream/master' into 459_parser__on_460

7 years agoMerge pull request #485 from Tyriar/remove_comments_in_build
Daniel Imms [Mon, 16 Jan 2017 23:14:42 +0000 (15:14 -0800)]
Merge pull request #485 from Tyriar/remove_comments_in_build

Remove comments in build

7 years agoRemove parser states from xterm.js
Daniel Imms [Mon, 16 Jan 2017 22:11:00 +0000 (14:11 -0800)]
Remove parser states from xterm.js

7 years agoRemove comments in build
Daniel Imms [Mon, 16 Jan 2017 22:02:55 +0000 (14:02 -0800)]
Remove comments in build

7 years agoMerge remote-tracking branch 'upstream/master' into 459_parser__on_460
Daniel Imms [Mon, 16 Jan 2017 21:53:19 +0000 (13:53 -0800)]
Merge remote-tracking branch 'upstream/master' into 459_parser__on_460

7 years agoMerge pull request #482 from Tyriar/348_keep_selection_on_mod_key
Daniel Imms [Mon, 16 Jan 2017 11:49:19 +0000 (03:49 -0800)]
Merge pull request #482 from Tyriar/348_keep_selection_on_mod_key

Don't drop selection on modifier keyup

7 years agoDon't drop selection on modifier keyup
Daniel Imms [Mon, 16 Jan 2017 05:41:42 +0000 (21:41 -0800)]
Don't drop selection on modifier keyup

Fixes #348

7 years agoMerge pull request #442 from Tyriar/441_windows_support
Daniel Imms [Sun, 15 Jan 2017 10:38:16 +0000 (02:38 -0800)]
Merge pull request #442 from Tyriar/441_windows_support

Use node-pty for Windows support

7 years agoMerge pull request #479 from Tyriar/478_cursorBlink_refresh
Daniel Imms [Sun, 15 Jan 2017 10:35:30 +0000 (02:35 -0800)]
Merge pull request #479 from Tyriar/478_cursorBlink_refresh

Apply cursorBlink via setOption

7 years agoFake xterm.element in tests
Daniel Imms [Sun, 15 Jan 2017 10:27:34 +0000 (02:27 -0800)]
Fake xterm.element in tests

7 years agoMerge remote-tracking branch 'upstream/master' into 478_cursorBlink_refresh
Daniel Imms [Sun, 15 Jan 2017 10:22:45 +0000 (02:22 -0800)]
Merge remote-tracking branch 'upstream/master' into 478_cursorBlink_refresh

7 years agoMerge remote-tracking branch 'upstream/master' into 441_windows_support
Daniel Imms [Sun, 15 Jan 2017 10:12:17 +0000 (02:12 -0800)]
Merge remote-tracking branch 'upstream/master' into 441_windows_support

7 years agoMerge pull request #435 from sourcelair/issue-#359-gulp
Paris Kasidiaris [Sun, 15 Jan 2017 09:49:32 +0000 (11:49 +0200)]
Merge pull request #435 from sourcelair/issue-#359-gulp

Introduce build system based on Gulp

7 years agoUse charsets to map
Daniel Imms [Sun, 15 Jan 2017 06:06:30 +0000 (22:06 -0800)]
Use charsets to map

7 years agoMove cursor blink style to class on .terminal
Daniel Imms [Sun, 15 Jan 2017 05:26:49 +0000 (21:26 -0800)]
Move cursor blink style to class on .terminal

7 years agoMerge pull request #477 from Tyriar/476_scrollback_update
Daniel Imms [Sat, 14 Jan 2017 18:46:54 +0000 (10:46 -0800)]
Merge pull request #477 from Tyriar/476_scrollback_update

Apply scrollback via setOption

7 years agoStick gulp-sourcemaps to 1.9.1
Paris Kasidiaris [Sat, 14 Jan 2017 17:52:07 +0000 (19:52 +0200)]
Stick gulp-sourcemaps to 1.9.1

Paths became absolute by default at https://github.com/floridoo/gulp-sourcemaps/commit/fb4027a496898b8b7992ea5af9b3d707f1d82d38

7 years agoApply cursorBlink via setOption
Daniel Imms [Sat, 14 Jan 2017 05:31:31 +0000 (21:31 -0800)]
Apply cursorBlink via setOption

Fixes #478

7 years agoApply scrollback via setOption
Daniel Imms [Sat, 14 Jan 2017 05:27:19 +0000 (21:27 -0800)]
Apply scrollback via setOption

Fixes #476

7 years agoMerge pull request #474 from Tyriar/473_refresh_null_checks
Daniel Imms [Fri, 13 Jan 2017 15:09:12 +0000 (07:09 -0800)]
Merge pull request #474 from Tyriar/473_refresh_null_checks

Add null checks to refresh line and character fetches

7 years agoMerge pull request #471 from Tyriar/470_CharMeasure_in_helper
Daniel Imms [Fri, 13 Jan 2017 15:08:45 +0000 (07:08 -0800)]
Merge pull request #471 from Tyriar/470_CharMeasure_in_helper

Move CharMeasure element to the helper container

7 years agoStart adding ESC state handler
Daniel Imms [Fri, 13 Jan 2017 06:36:48 +0000 (22:36 -0800)]
Start adding ESC state handler

7 years agoPull character add char code to input handler
Daniel Imms [Fri, 13 Jan 2017 06:17:36 +0000 (22:17 -0800)]
Pull character add char code to input handler

7 years agoFinish CSI codes
Daniel Imms [Fri, 13 Jan 2017 05:58:50 +0000 (21:58 -0800)]
Finish CSI codes

7 years agoAdd more CSI codes
Daniel Imms [Fri, 13 Jan 2017 05:33:28 +0000 (21:33 -0800)]
Add more CSI codes

7 years agoAdd more CSI codes
Daniel Imms [Fri, 13 Jan 2017 04:51:15 +0000 (20:51 -0800)]
Add more CSI codes

7 years agoConvert more CSI codes
Daniel Imms [Fri, 13 Jan 2017 04:32:15 +0000 (20:32 -0800)]
Convert more CSI codes

7 years agoAdd another null check on children[y]
Daniel Imms [Thu, 12 Jan 2017 19:23:17 +0000 (11:23 -0800)]
Add another null check on children[y]

7 years agoAdd null checks to refresh line and character fetches
Daniel Imms [Thu, 12 Jan 2017 19:14:14 +0000 (11:14 -0800)]
Add null checks to refresh line and character fetches

Fixes #473

7 years agoMove CharMeasure element to the helper container
Daniel Imms [Thu, 12 Jan 2017 18:47:57 +0000 (10:47 -0800)]
Move CharMeasure element to the helper container

Fixes #470

7 years agoMerge remote-tracking branch 'upstream/master' into 459_parser__on_460
Daniel Imms [Wed, 11 Jan 2017 21:43:33 +0000 (13:43 -0800)]
Merge remote-tracking branch 'upstream/master' into 459_parser__on_460

7 years agoFix #359 - Introduce build system based on Gulp
Paris Kasidiaris [Sat, 31 Dec 2016 09:52:26 +0000 (11:52 +0200)]
Fix #359 - Introduce build system based on Gulp

- Add Gulp and new dependencies to `package.json`
- Add `gulpfile.js` with four tasks:
    - `tsc`: For building TypeScript sources
    - `bundle`: For bundling JavaScript modules in a monolith
    - `sorcery`: For resolving the source map chains back to the original TypeScript files
    - `build` (`default`): Runs the whole `tsc` → `bundle` → `sorcery` chain
- Clean up `Dockerfile`, since `cpio` is not needed any more
- Clean up not needed dependencies from `package.json`
- Remove `bin/build`
- Update `bin/release` to use `npm run build` instead of `./bin/build`

7 years agoMerge pull request #447 from Tyriar/425_xon_xoff_on_280
Daniel Imms [Wed, 11 Jan 2017 05:20:58 +0000 (21:20 -0800)]
Merge pull request #447 from Tyriar/425_xon_xoff_on_280

Sync with pty process using XOFF and XON

7 years agoMerge pull request #446 from Tyriar/335_viewport_var
Daniel Imms [Wed, 11 Jan 2017 04:24:22 +0000 (20:24 -0800)]
Merge pull request #446 from Tyriar/335_viewport_var

Remove var usage from Viewport

7 years agoMerge remote-tracking branch 'upstream/master' into 425_xon_xoff_on_280
Daniel Imms [Wed, 11 Jan 2017 04:24:07 +0000 (20:24 -0800)]
Merge remote-tracking branch 'upstream/master' into 425_xon_xoff_on_280

7 years agoMerge pull request #461 from Tyriar/460_escape_sequence_c0
Daniel Imms [Wed, 11 Jan 2017 04:06:36 +0000 (20:06 -0800)]
Merge pull request #461 from Tyriar/460_escape_sequence_c0

Pull C0 escape sequences into its own file

7 years agoMerge remote-tracking branch 'upstream/master' into 425_xon_xoff_on_280
Daniel Imms [Wed, 11 Jan 2017 04:04:26 +0000 (20:04 -0800)]
Merge remote-tracking branch 'upstream/master' into 425_xon_xoff_on_280

7 years agoMerge pull request #466 from Tyriar/465_async_CharMeasure_measure
Daniel Imms [Wed, 11 Jan 2017 04:03:59 +0000 (20:03 -0800)]
Merge pull request #466 from Tyriar/465_async_CharMeasure_measure

Perform CharMeasure.measure async

7 years agoMerge remote-tracking branch 'upstream/master' into 335_viewport_var
Daniel Imms [Wed, 11 Jan 2017 04:03:19 +0000 (20:03 -0800)]
Merge remote-tracking branch 'upstream/master' into 335_viewport_var

7 years agoPerform CharMeasure.measure async
Daniel Imms [Tue, 10 Jan 2017 19:36:21 +0000 (11:36 -0800)]
Perform CharMeasure.measure async

This fixes the edge case where getBoundingClientRect was returning a width and
height of 0,0.

Fixes #465

7 years agoAdd CSI @, E, F, G
Daniel Imms [Tue, 10 Jan 2017 07:06:36 +0000 (23:06 -0800)]
Add CSI @, E, F, G

7 years agoSupport more CSI codes, remove unused CSI helper functions
Daniel Imms [Tue, 10 Jan 2017 06:57:38 +0000 (22:57 -0800)]
Support more CSI codes, remove unused CSI helper functions

7 years agoHandle remaining CSI_PARAM cases and introduce the state
Daniel Imms [Tue, 10 Jan 2017 00:07:27 +0000 (16:07 -0800)]
Handle remaining CSI_PARAM cases and introduce the state