Daniel Imms
4d008c66f1
Recommend 127.0.0.1:3000 on mac and linux too
...
Fixes #1986
2019-03-30 15:06:25 -07:00
Daniel Imms
bf9d879efa
Fix typo
2019-03-30 14:59:31 -07:00
Daniel Imms
e182e3d4e4
Fix demo on non-Windows
...
Broke in #1978
2019-03-30 14:52:48 -07:00
Daniel Imms
f80924fb8d
Remove zmodem demo
2019-03-30 14:12:15 -07:00
Daniel Imms
18f4dc6b3e
Remove concurrently
2019-03-30 14:09:51 -07:00
Daniel Imms
b400f9ca3b
Don't clear terminal on yarn watch
2019-03-30 14:08:57 -07:00
Daniel Imms
0b78011fa3
Adopt project references
...
Recent versions of TypeScript has improved the performance of project
references so they are now viable to switch over to.
2019-03-30 14:05:24 -07:00
Daniel Imms
32e157bfaa
Remove unnecessary else
2019-03-04 10:04:52 -08:00
Daniel Imms
c63f15a9b2
Fix lint
2019-03-04 10:00:04 -08:00
Daniel Imms
3285374618
Disable reflow when winptyCompat is on
...
Fixes #1943
2019-02-20 07:03:40 -08:00
Daniel Imms
d17dfbc73f
Cover a case when resizing smaller making y go out of bounds
2019-02-08 12:13:00 -08:00
Daniel Imms
b88230db8b
Make sure the viewport is filled when reflowing a row change
...
Fixes #1926
2019-02-05 08:20:16 -08:00
Daniel Imms
db31a44da3
Fix tests
2019-01-30 22:14:47 -08:00
Daniel Imms
33e46682b1
Fix various problems with reflow
...
- No longer reflow lines where the full unwrapped line contains the cursor
- Add guards to prevent y and ybase becoming invalid values
Part of Microsoft/vscode#67364
Fixes #1910
2019-01-30 21:47:39 -08:00
Daniel Imms
109e3a50e8
jsdoc
2019-01-24 10:20:18 -08:00
Daniel Imms
99ac78031c
Remove out param from reflow large method
2019-01-24 09:11:16 -08:00
Daniel Imms
d4bd8ae2be
Pull more parts out of reflow larger
2019-01-23 23:58:38 -08:00
Daniel Imms
dfff04cf3d
Pull toRemove step into BufferReflow
2019-01-23 23:51:28 -08:00
Daniel Imms
178c513407
Clean up
2019-01-23 22:48:32 -08:00
Daniel Imms
df7cd9c319
Get reflow smaller working for wide chars
2019-01-23 22:40:40 -08:00
Daniel Imms
ce69dceee7
Progress on reflow smaller with wide chars
2019-01-23 21:46:35 -08:00
Daniel Imms
4843ca5bb8
Fix reflow larger with wide chars
2019-01-21 09:08:33 -08:00
Daniel Imms
50abb43e9c
Remove request term info handler
...
We're not supporting it anyway, no point having it.
2019-01-20 12:56:49 -08:00
Daniel Imms
07d3407892
Remove unused var and unneeded defensive check
...
...items as an arg will always be an array
2019-01-17 09:48:18 -08:00
Daniel Imms
338558d86c
Make Terminal API properties readonly
...
Fixes #1867
2018-12-31 20:09:48 -08:00
Daniel Imms
2ce67b89bc
Remove unneeded MockTerminal member
2018-12-31 14:43:50 -08:00
Daniel Imms
6559931f34
Add lots of tests
2018-12-31 14:28:52 -08:00
Daniel Imms
840970eac7
Update markers after a reflow
2018-12-31 13:15:23 -08:00
Daniel Imms
40e8618cf5
Discard cut off combined data when resizing BufferLines
2018-12-31 10:26:10 -08:00
Daniel Imms
db488ebcc9
Reflow combined chars
2018-12-31 10:18:38 -08:00
Daniel Imms
1612cec3e0
Fix reflow larger bug, add regression test
2018-12-31 09:54:24 -08:00
Daniel Imms
135e31f2ca
Speed up reflow larger by batching removals
2018-12-31 08:58:04 -08:00
Daniel Imms
b7081abfce
Move loop into reflowLarger (adjust indent)
2018-12-31 07:54:16 -08:00
Daniel Imms
c9f4a650c6
Clean up comments and todos
2018-12-31 07:26:08 -08:00
Daniel Imms
478742a22e
Make reflow small crazy fast
...
This messy but this drops 100000 scrollback reflow from 87 cols to 40 cols
go from ~18 seconds to < 1 second, 10000 takes around 70ms
2018-12-30 12:14:48 -08:00
Daniel Imms
dde96187fa
Keep track of cols/rows inside Buffer
2018-12-28 19:27:38 -08:00
Daniel Imms
4a9f10d062
Remove some of Buffer's dependency on Terminal
2018-12-28 19:22:05 -08:00
Daniel Imms
7435971c32
Merge remote-tracking branch 'origin/master' into 622_reflow3
2018-12-28 19:13:12 -08:00
Daniel Imms
72369e060e
Only enable reflow on the normal buffer
2018-12-28 14:55:58 -08:00
Daniel Imms
2a0da173f2
Add a bunch of reflow tests
2018-12-28 14:55:15 -08:00
Daniel Imms
a33e8a6af7
Properly shrink rows to cols every time
2018-12-28 12:57:10 -08:00
Daniel Imms
358898daf9
Fix some tests
2018-12-28 11:02:08 -08:00
Daniel Imms
7684f93773
Fix ydisp/ybase after trimming buffer
2018-12-28 01:32:19 -08:00
Daniel Imms
ae29dbb133
Fix scrollbar when wrapping beyond single viewport of data
2018-12-28 01:26:49 -08:00
Daniel Imms
3311ed509a
Do shrink in reverse, fix up row remove count again
2018-12-28 00:40:30 -08:00
Daniel Imms
8bc04c2fa7
Tidy up
2018-12-27 23:58:57 -08:00
Daniel Imms
fa47036982
Fix row removal in reflowLarger
2018-12-27 23:49:59 -08:00
Daniel Imms
314f98f2a6
Mostly working for reflowing to smaller
2018-12-27 23:35:52 -08:00
Daniel Imms
8a50729a98
Reflow wider
2018-12-27 21:58:54 -08:00
Daniel Imms
51e1f49bf3
Make dispose more resilient
2018-12-27 10:26:40 -08:00
Daniel Imms
9bcfb4d722
Tidy up wrapping style
2018-12-27 10:04:48 -08:00
Daniel Imms
d698faa183
Comment how the regex reverse search while works
2018-12-26 16:12:53 -08:00
Daniel Imms
1a1f7e984f
Remove ISearchIndex object
2018-12-26 16:03:31 -08:00
Daniel Imms
e0d535e0da
Fix previous search, remove incremental previous search
2018-12-26 15:49:08 -08:00
Daniel Imms
76302e2146
Get multiple matches working after incremental changes
2018-12-26 15:32:34 -08:00
Daniel Imms
204e42a151
Fix incremental search
2018-12-26 15:15:12 -08:00
Daniel Imms
bb9732599b
Merge remote-tracking branch 'origin/master' into pr/noamyogev84/1763
2018-12-26 15:08:16 -08:00
Daniel Imms
adbb929f78
Wrap .d.ts comments to 80 chars
2018-12-26 14:49:49 -08:00
Daniel Imms
c045c803d6
Add tests for dispose
2018-12-26 14:48:35 -08:00
Daniel Imms
38796a0f74
Add tests, fix NPE
2018-12-26 14:40:23 -08:00
Daniel Imms
d01efdda27
Use array instead of linkedlist, add typings
2018-12-26 14:08:53 -08:00
Daniel Imms
9e3e724f63
Add sanity checks to dom renderer underline code
...
Fixes #1860
2018-12-26 10:53:40 -08:00
Daniel Imms
c6e6c51929
Use textBaseline middle to draw instead of top
...
Chrome and Firefox behavior differs, see:
- https://bugzilla.mozilla.org/show_bug.cgi?id=737852
- https://bugs.chromium.org/p/chromium/issues/detail?id=607053
Fixes #1858
2018-12-23 10:51:41 -08:00
Daniel Imms
81ada39989
Remove Gitter link from issue template
...
Fixes #1838
2018-12-21 23:07:25 -08:00
Daniel Imms
78e7e39bb4
Improve the readme
2018-12-21 23:04:38 -08:00
Daniel Imms
ff73f705ae
Fix winptyCompat wrapped line heuristic
...
Part of Microsoft/vscode#65485
2018-12-20 11:47:51 -08:00
Daniel Imms
04ac36fc16
Fix translateToString endCol default arg
2018-12-18 16:22:41 -08:00
Daniel Imms
d7f284c676
Add debug target for demo server, merge 2 start processes into one
2018-12-11 09:56:33 -08:00
Daniel Imms
943def1391
Add debug target for client, fix source maps in demo to point to ts
2018-12-11 09:37:20 -08:00
Daniel Imms
a0a8003d60
Add unit tests debug target
2018-12-11 09:06:50 -08:00
Daniel Imms
4d3345182f
Remove jsdoc dependency
2018-12-11 08:57:44 -08:00
Daniel Imms
1e94fce545
Remove triple slash directive error in addon types
...
Fixes #1830
2018-12-11 07:19:37 -08:00
Daniel Imms
b9a22eb468
Remove utils/ folder
...
Part of #1507
2018-12-10 16:46:57 -08:00
Daniel Imms
3397ecf977
Remove authors
...
Fixes #1605
2018-12-10 16:40:04 -08:00
Daniel Imms
48629e7eb2
Merge remote-tracking branch 'origin/master' into pr/gou4shi1/1788
2018-12-09 10:02:55 -08:00
Daniel Imms
6b9fb48898
Fix tests/lint, use element instead of event.target
2018-12-09 09:59:33 -08:00
Daniel Imms
fe9eb7d31e
Call dispose when atlas is no longer used in cache
...
Only runtime change is that this clears the bitmap commit timeout
in DynamicCharAtlas
2018-12-09 09:19:56 -08:00
Daniel Imms
693e17a5cb
Add missing break in options code
...
Atlas is reset as part of onResize, this should be safe
2018-12-09 09:13:30 -08:00
Daniel Imms
b5b2bcd0c9
Allow decimal line heights in demo
2018-12-09 09:08:11 -08:00
Daniel Imms
4beb3a9ecd
Merge remote-tracking branch 'origin/master' into remove_shared_folder
2018-11-29 11:56:27 -08:00
Daniel Imms
13175976d0
Upgrade to typescript 3.1
...
Bunch of types needed changing in this version, also the
IOffscreenCanvas "support" in the canvas renderer was removed
as we're moving away from that.
2018-11-24 07:16:43 -08:00
Daniel Imms
f4a522516c
Remove shared/ folder
...
We changed plans from moving web worker compatible code to shared/
to enforcing layers using core/, common/, ui/ and public/. This
change moves files back from the shared/ dir to clean up the
codebase.
Part of #1507
2018-11-24 07:03:59 -08:00
Daniel Imms
c6f1de7970
Introduce is256Color helper
2018-11-24 05:24:15 -08:00
Daniel Imms
32574a1a09
Move Clipboard to ui/
...
Belong here as it interacts with DOM
Part of #1507
2018-11-23 09:05:07 -08:00
Daniel Imms
fc6f101e16
Remove unused lineHeight parameters
2018-11-23 08:59:30 -08:00
Daniel Imms
1b5ef5d93a
Move TypedArrayUtils to common
...
It belongs here since the renderers will use it
2018-11-23 08:08:30 -08:00
Daniel Imms
4f18717940
Improve handling of default values
2018-11-23 07:49:35 -08:00
Daniel Imms
266ea38d91
Improve types of fill polyfill and test fallback
...
The polyfill will now return the T instead of the TypedArray union
type. Tests now target the fallback only so engines that support fill
will run tests against the fallback code.
2018-11-23 07:36:01 -08:00
Daniel Imms
478dfee6e2
Ensure wide chars don't overflow onto following row
2018-11-23 06:51:39 -08:00
Daniel Imms
d9513ce50d
Don't bother checking beyond cols
2018-11-23 06:48:37 -08:00
Daniel Imms
65c5df92d9
Move import below copyright
2018-11-23 06:26:06 -08:00
Daniel Imms
dc0ae4a815
Fix indentation
2018-11-23 06:24:27 -08:00
Daniel Imms
66272eb310
Get the line length by going backwards instead
2018-11-23 05:40:35 -08:00
Daniel Imms
dc077a181e
Fix tests and the colCount feature
2018-11-22 12:03:08 -08:00
Daniel Imms
692cdfa390
DOM renderer: Don't output empty cells at end
...
Fixes #1609
2018-11-22 11:38:00 -08:00
Daniel Imms
53fe096455
Type fn strongly
2018-11-22 10:52:55 -08:00
Daniel Imms
160b4a7d66
Revert "Remove request term info handler"
...
This reverts commit c2994b0ae1 .
2018-10-30 11:04:32 -07:00
Daniel Imms
c2994b0ae1
Remove request term info handler
...
We're not supporting it anyway, no point having it.
2018-10-23 15:45:52 -07:00
Daniel Imms
a53aaa5f25
Move dynamic atlas canCache check higher
...
Fixes #1757
2018-10-15 11:35:21 -07:00
Daniel Imms
19f6c0a940
Fix tests
2018-10-12 09:02:03 -07:00