Daniel Imms
9b0b323957
Merge branch 'master' into baseline
2018-12-31 19:14:53 -08:00
Daniel Imms
48c1d36d77
Merge branch 'master' into control-seq-handler
2018-12-31 19:07:58 -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
ntchjb
d94c897754
Fix search addons: be able to search wrapped lines from unwrapped line
...
by managing column range that is needed to be scanned.
2018-12-29 13:55:14 +07: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
ntchjb
565cba9c1a
Fix search addons:
...
- Changed to use `this._terminal.cols` for buffer line length instead.
- Let `_findInLine` check on wrapped line
- Added conditions in `_findInLine`
- For reverse search, if there is no selection at given row, then start scan at the end of the string
2018-12-29 09:38:17 +07: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
ntchjb
913150fe13
Fix search addons:
...
searchTerm should not be matched if the beginning of matching index < 0
2018-12-29 03:03:23 +07: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
Vincent Woo
bb198a980c
Small indent fix
2018-12-27 13:54:11 -08:00
Daniel Imms
60bc1bb873
Merge branch 'master' into perf3
2018-12-27 13:53:01 -08:00
Daniel Imms
689ac3e073
Merge branch 'master' into no-end-quotes-in-weblinks
2018-12-27 11:29:33 -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
Ashwin Ramaswami
0d9487c10f
Merge branch 'master' into feature/hold-key
2018-12-26 20:36:53 -05: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
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
Per Bothner
48ff841d6a
Be more paranoid about cleaning up escape sequence handlers.
2018-12-23 12:27:26 -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
Ashwin Ramaswami
548d8cd764
Merge branch 'feature/hold-key' of https://github.com/epicfaace/xterm.js into feature/hold-key
2018-12-21 07:38:19 -05:00
Ashwin Ramaswami
a4b4d082fb
Don't include num lock and scroll lock
2018-12-21 07:38:14 -05:00
Per Bothner
29cc0bf933
Merge remote-tracking branch 'upstream/master' into control-seq-handler
2018-12-20 18:12:53 -08:00