Daniel Imms
5c1a4a7d01
Add tests for Buffer.addMarker
2018-03-16 17:23:17 -07:00
Daniel Imms
cbc6d7ce32
Add selectLines test
2018-03-16 15:56:48 -07:00
Daniel Imms
b80832ac4c
Initial marker API implementation
...
Part of #1325
2018-03-16 12:53:55 -07:00
Daniel Imms
3716aad202
Backtrack row to be linkified if the first row is wrapped
2018-03-16 07:21:14 -07:00
Daniel Imms
efbd542964
Merge branch 'master' into 24_multi_line_links
2018-03-16 07:14:20 -07:00
Daniel Imms
a59af6606b
Use bang operator for array methods
...
Part of #1319
2018-03-12 14:14:37 -07:00
Daniel Imms
c8ab687fa0
Add tests
2018-03-11 12:34:27 -07:00
Daniel Imms
e5f5c2baf2
Fix links that start on wrapped lines
2018-03-10 16:08:50 -08:00
Daniel Imms
4f0cc01485
Fix strictNullChecks errors in AccessibilityManager
...
Part of #1319
2018-03-09 11:27:10 -08:00
Daniel Imms
dd41ab38bb
Fix imports after noUnusedLocals was merged in
2018-03-09 10:58:57 -08:00
Daniel Imms
255cb5de3a
Merge branch 'master' into 24_multi_line_links
2018-03-09 10:57:04 -08:00
Daniel Imms
b44a11c42e
Remove TODOs, polish
2018-03-09 10:56:54 -08:00
Daniel Imms
811aa9c413
Merge remote-tracking branch 'origin/master' into noUnusedLocals
2018-03-09 08:43:21 -08:00
Daniel Imms
842c7132ec
Merge pull request #1318 from Tyriar/remove_unused_css
...
Remove unused CSS rule
2018-03-09 08:41:41 -08:00
Daniel Imms
efb67edc36
Remove unused CSS rule
...
With #1316 , this will resolve Microsoft/vscode#45145
2018-03-09 07:11:53 -08:00
Benjamin Woodruff
cfe936a0b4
Merge ICharAtlasRequest with ICharAtlasConfig
...
ICharAtlasRequest and ICharAtlasConfig need almost exactly the same set
of information, so it's simpler if we just merge the two types.
As an added bonus, this also adds devicePixelRatio to the config, which
helps guarantee that we won't ever accidentally end up with an atlas
using a different pixel ratio than we need.
2018-03-08 23:23:33 -08:00
Daniel Imms
4ddf91dbbe
Fix tests
2018-03-08 11:20:42 -08:00
Daniel Imms
59be054ca1
Fix exception for links on bottom line
2018-03-08 11:12:59 -08:00
Daniel Imms
b794dc017d
Fix test
2018-03-08 11:08:51 -08:00
Daniel Imms
4443ed69c7
Add noUnusedLocals tsconfig flag, fix issues
...
Two parts were commented out:
- _writeStopped: This is because _xoffSentToCatchUp references this variable
and the feature is sort of half implemented/disabled.
- _clearChar: This is because some comments still reference this, it's part
of the work needed to do better line redrawing.
2018-03-08 10:56:10 -08:00
Daniel Imms
ab9b84898e
Merge remote-tracking branch 'origin/master' into 24_multi_line_links
2018-03-08 10:23:05 -08:00
Daniel Imms
949239dbdc
Merge remote-tracking branch 'origin/master' into 426_alt_scroll
2018-03-08 09:28:02 -08:00
Daniel Imms
421ccc5695
Join lines that wrap over more than 2 lines
2018-03-08 09:25:08 -08:00
Daniel Imms
021f8c1ba0
Draw and clear link cells
2018-03-08 07:00:37 -08:00
Daniel Imms
f456b14b3f
Get multi-line link hover working
2018-03-08 06:42:40 -08:00
Daniel Imms
7a1ef19146
Merge remote-tracking branch 'origin/master' into 24_multi_line_links
2018-03-08 06:23:29 -08:00
Daniel Imms
b9cbdf6a0d
Fix tests
2018-03-08 06:19:17 -08:00
Daniel Imms
7639131c12
Ensure underscore is used for private vars
...
Variables changed based on regex: "private [^(_|get)]"
2018-03-08 06:09:46 -08:00
Daniel Imms
289b4eeb23
Merge branch 'master' into 426_alt_scroll
2018-03-08 05:37:16 -08:00
Daniel Imms
404a285eaf
Merge pull request #1307 from bgw/split-char-atlas-files
...
Split CharAtlas types and utility functions off
2018-03-08 05:16:44 -08:00
Daniel Imms
b20fe80f9b
Merge pull request #1308 from bgw/rm-did-char-size-change
...
Remove didCharSizeChange logic from renderer
2018-03-08 05:10:53 -08:00
Daniel Imms
ff9814a40d
Merge pull request #1293 from nikonso/allow-named-theme-colors-1195
...
Validate colors
2018-03-08 05:02:50 -08:00
Daniel Imms
855964fbe1
Merge pull request #1296 from olsonpm/fix-paste-newline
...
Paste newlines as \r
2018-03-08 05:02:31 -08:00
Benjamin Woodruff
735dfb4710
Add copyright header to shared/atlas/Types.ts
2018-03-07 23:19:38 -08:00
Benjamin Woodruff
ab69bfbb32
Move rest of atlas implementations to atlas dirs
...
Moves CharAtlas into src/renderer/atlas/ and CharAtlasGenerator into
src/shared/atlas/.
2018-03-07 22:23:19 -08:00
Benjamin Woodruff
70771430b5
Clean up char atlas constant imports/exports
...
- Ensures that everything is only defined in one place, and everything
imports from that place.
- Moves CHAR_ATLAS_CELL_SPACING into a subdirectory of shared/ so that
CharAtlasGenerator can pull from it.
This addresses the comments on
https://github.com/xtermjs/xterm.js/pull/1307/files/454fd4bfb1ab5c9ece
2018-03-07 22:13:41 -08:00
Bruno Ribeiro
41f6ee4f6d
Merge branch 'master' into allow-named-theme-colors-1195
2018-03-06 20:15:32 +00:00
Daniel Imms
6e546c0f30
Merge pull request #1298 from Tyriar/1297_webLinks_addon
...
Pull web link support into an addon
2018-03-06 09:29:33 -08:00
Daniel Imms
bf4dd7de60
Merge branch 'master' into 1287_double_click_exception
2018-03-06 09:28:47 -08:00
Thomas Zilz
ff6ef1b63a
Initialise _wheelPartialScroll to 0 to prevent NaN
2018-03-06 11:39:14 +01:00
Bruno Ribeiro
34034b849f
Merge branch 'master' into allow-named-theme-colors-1195
2018-03-05 23:22:12 +00:00
Daniel Imms
e137530581
Scroll by exact line amount in alt buffer, unify scroll logic
...
Fixes #1304
2018-03-05 14:22:20 -08:00
Daniel Imms
be7788dda6
Merge remote-tracking branch 'origin/master' into 426_alt_scroll
2018-03-05 11:48:40 -08:00
Daniel Imms
7c471f5389
Fix test compile
2018-03-05 11:32:05 -08:00
Daniel Imms
9e62c8692f
Only move horizontally on alt click in normal buffer
...
Fixes #1305
2018-03-05 11:11:54 -08:00
Benjamin Woodruff
18fb134910
Remove didCharSizeChange logic from renderer
...
The only thing `didCharSizeChange` was used for was to figure out if we
need to refresh the character atlas or not. However, `acquireCharAtlas`
already inspects the atlas owned by this terminal, and if it matches, it
avoids generating a new atlas.
So if `didCharSizeChange` is true and it's not needed, it quickly bails
out as a no-op. But if `didCharSizeChange` is false, and it was needed
(possible given the complexity of testing all of these edge cases), it
could introduce a bug.
I think it makes sense to just get rid of `didCharSizeChange`, and just
always call `acquireCharAtlas`.
2018-03-04 20:55:42 -08:00
Benjamin Woodruff
454fd4bfb1
Split CharAtlas types and utility functions off
...
I'm starting to pull some changes off of my large WIP branch/commit that
adds an alternative dynamic character atlas. We're going to need to
support multiple CharAtlas implementations, and this should make that
easier.
2018-03-04 18:50:46 -08:00
Daniel Imms
2e3f9e7094
Multi-line links prototype
...
Part of #24
2018-02-27 08:37:16 -08:00
Daniel Imms
c8017345f1
Merge pull request #1288 from dgriffen/dev/dgriffen/fix-scrollbar
...
fix terminal width calculation
2018-02-24 11:56:35 -08:00
Daniel Imms
0d2cc7489e
Fix tests, add webLinks addon test
2018-02-24 10:36:34 -08:00