Daniel Imms
6e2ca0af12
Fill out typings tests
2017-08-19 10:17:47 -07:00
Daniel Imms
fd8b62610f
Add typings test setup
2017-08-19 09:49:37 -07:00
Daniel Imms
4474f29ebf
Add link matcher APIs
2017-08-19 09:25:57 -07:00
Daniel Imms
3ba3638ab7
Include all APIs from website
2017-08-18 17:25:40 -07:00
Daniel Imms
b5fc054fa5
Prevent exception switching to alt buffer before open()
...
Fixes #892
2017-08-17 08:36:08 -07:00
Daniel Imms
7b0d0e810c
_isAltBuffer -> _hasScrollback
2017-08-16 08:45:30 -07:00
Daniel Imms
9dd1083918
Merge remote-tracking branch 'ups/v3' into 847_proper_scrollback_value
2017-08-16 08:41:42 -07:00
Daniel Imms
996eb1b06f
Merge remote-tracking branch 'ups/v3' into 847_proper_scrollback_value
2017-08-08 19:05:24 -07:00
Daniel Imms
ad1a42d210
Merge remote-tracking branch 'ups/master' into v3
2017-08-08 18:50:34 -07:00
Daniel Imms
bb526aaa88
Fix exception when resizing both dimensions
...
This happened because buffers now resize themselves but they were
relying on Terminal to give them a blank line. The blank line was
coming back with the old columns value, causing an NPE.
Fixes #860
2017-08-08 12:59:02 -07:00
Daniel Imms
91bf3197ae
Merge pull request #868 from Tyriar/865_fix_module_build
...
Fix module build, add TS declaration files, fix search addon
2017-08-08 03:03:50 -07:00
Daniel Imms
17c3ec0d0c
Merge pull request #870 from Tyriar/869_shift_force_selection
...
Revert "Disable selection override on Windows/Linux"
2017-08-08 03:02:01 -07:00
Daniel Imms
8a17ac1baa
Merge pull request #849 from Tyriar/848_cancel_event_on_wheel
...
Properly cancel event when in mouse mode
2017-08-08 01:09:37 -07:00
Daniel Imms
a7aee75025
Merge pull request #858 from Tyriar/646_deprecated_focus
...
No longer focus the terminal by default
2017-08-08 01:05:42 -07:00
Daniel Imms
0902b92f79
Revert "Disable selection override on Windows/Linux"
...
This reverts commit 3479614c73 .
2017-08-08 01:05:24 -07:00
Daniel Imms
9659f29e50
Remove Terminal.open focus param
2017-08-08 00:59:14 -07:00
Daniel Imms
f21d5f25ec
Fix search addon after TS refactor
...
Fixes #867
2017-08-08 00:29:22 -07:00
Daniel Imms
3b787824d3
Fix import for CommonJS consumers
...
CommonJS now imports the Terminal object directly as the trick in xterm.ts
wasn't working properly.
Fixes #865
2017-08-08 00:24:41 -07:00
Daniel Imms
a0ce9a79a9
Build and export TS declaration files
...
Fixes #866
2017-08-07 23:48:58 -07:00
Daniel Imms
b42a9039cc
Rename TestUtils.ts to TestUtils.test.ts
...
This will allow it to be excluded when we do #863
2017-08-07 22:40:15 -07:00
Daniel Imms
b3ad3eff8b
Shuffle files around
...
src/test/escape-sequences-test.ts -> src/Terminal.integration.ts
src/test/escape_sequence_files/* -> fixtures/escape_sequence_files/
2017-08-07 22:38:42 -07:00
Daniel Imms
28c85b8fb9
Convert escape sequences test to TS
...
Part of #862
2017-08-07 22:24:22 -07:00
Daniel Imms
e9b0867bd2
addons/test.js and test.js -> Terminal.test.ts
...
Part of #862
2017-08-07 22:15:13 -07:00
Daniel Imms
fd61c8e874
Use a const for all refs to data char and width
...
Part of #791
2017-08-07 15:40:48 -07:00
Daniel Imms
c2bb507fe4
Move BufferLines.ts into Buffer.ts
...
Part of #791
2017-08-07 15:22:58 -07:00
Daniel Imms
091854df0e
Merge pull request #852 from Tyriar/851_negative_tab_stop_width
...
Fix crash on negative tab stop width
2017-08-07 01:22:13 -07:00
Daniel Imms
a1b91e1f96
Merge pull request #856 from Tyriar/fix_vscode_debugging
...
Fix vscode debugging
2017-08-07 01:21:41 -07:00
Daniel Imms
b1c6a97839
No longer focus the terminal by default
...
Fixes #646
2017-08-06 19:22:15 -07:00
Daniel Imms
8c46f1b6ba
Remove deprecated attachCustomKeydownHandler
...
Fixes #744
2017-08-06 19:19:49 -07:00
Daniel Imms
fb6cbbdaad
Fix vscode debugging
...
This broke when the TS addon was added
2017-08-06 19:02:56 -07:00
Daniel Imms
e7ee3ec63c
Fix trimming on a buffer with 0 scrollback
...
Unfortunately this removed the padding idea from CircularList as it
would only work when the list is not full.
2017-08-06 18:56:37 -07:00
Daniel Imms
a57f55dcbf
Support buffers with scrollback of 0, force alt as 0
...
Fixes #802
2017-08-06 18:18:49 -07:00
Daniel Imms
27f7679494
Add some padding and a shrink threshold to CircularList
...
This is needed so that resize is still performant. Now the list size is only
rebuild (O(n)) when it goes beyond 40 entries of the initial max length. The
List is also rebuilt when the size shrinks below 120 of the actual backing max
length (init_max_length + 40 - 120).
2017-08-06 14:17:30 -07:00
Daniel Imms
26977b370e
Fix crash on negative tab stop width
...
Fixes #851
2017-08-06 13:47:03 -07:00
Daniel Imms
109d467b95
Make buffer length = rows + scrollback
...
Fixes #847
2017-08-06 13:28:58 -07:00
Daniel Imms
45157d80c6
Properly cancel event when in mouse mode
...
Fixes #848
2017-08-06 12:59:40 -07:00
Daniel Imms
24932b16d7
jsdoc
2017-08-06 21:03:59 +03:00
Steven Silvester
6cdd5a6405
Prevent webpack error
2017-08-06 21:03:59 +03:00
Daniel Imms
1361ff8e22
Merge branch 'master' into 842_resize_buffers_bug
2017-08-06 10:25:38 -07:00
Daniel Imms
0731f28615
jsdoc
2017-08-06 10:25:25 -07:00
Daniel Imms
6cf2e8753e
Remove comments
2017-08-06 01:44:27 -07:00
Daniel Imms
33cc78c987
Add explicit types on set/getOption
2017-08-06 01:42:57 -07:00
Daniel Imms
7cd8d1ec74
Resolve todos
2017-08-06 01:42:41 -07:00
Daniel Imms
e0809d526e
Type InputHandler tests
2017-08-06 00:58:21 -07:00
Daniel Imms
ae3169e6ae
Add CharData and LineData
2017-08-05 21:11:16 -07:00
Daniel Imms
2878d978c4
Fix lint
2017-08-05 21:06:04 -07:00
Daniel Imms
56ec6ed22c
Merge branch '842_resize_buffers_bug' into 335_xterm_to_ts
...
setOption('scrollback', 0) no longer returns false, it just warns.
2017-08-05 20:48:42 -07:00
Daniel Imms
d46003843b
Add tests for Buffer.fillViewportRows
2017-08-05 20:15:23 -07:00
Daniel Imms
13619d427a
Add a bunch of Buffer tests 🎉
2017-08-05 20:11:26 -07:00
Daniel Imms
f03d00a497
Clean up buffer clean up/fill logic
...
The alt buffer is now cleared immediated after activating the normal buffer and
is filled when switching to it. The tests were failing because the alt buffer
wasn't being cleared properly with the previous solution.
2017-08-05 19:42:54 -07:00