Jörg Breitbart
2918a6763f
fix wrongly changed test case
2019-01-02 22:55:50 +01:00
Jörg Breitbart
dfc853aef4
add TextDecoder for string to UTF32
2019-01-02 22:50:15 +01:00
Jörg Breitbart
570cd786cb
Merge branch 'master' into typedarray_parser
2019-01-02 18:00:05 +01:00
Daniel Imms
c66a24fab4
Merge branch 'master' into baseline
2019-01-01 15:33:57 -08:00
jerch
f534758e29
Merge branch 'master' into control-seq-handler
2019-01-01 21:19:34 +01:00
Daniel Imms
dbd9b2af37
Merge branch 'master' into baseline
2019-01-01 11:50:09 -08:00
Per Bothner
8fbeadd5f9
Add missing deleteCount argument to Array.splice calls.
2019-01-01 09:45:23 -08:00
ntchjb
f961f90bc8
Support wide characters and combined characters
...
- Convert buffer index to string index before searching
- Convert string index to buffer index after searching
- Fix bug when search selection skipped some result
2019-01-01 16:39:23 +07:00
Daniel Imms
338558d86c
Make Terminal API properties readonly
...
Fixes #1867
2018-12-31 20:09:48 -08:00
Daniel Imms
8b3513f009
Merge branch 'master' into 1860_style_npe
2018-12-31 19:15:15 -08:00
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