Daniel Imms
cab097c09c
Clean up condition for readability
2018-02-01 17:28:08 -08:00
Daniel Imms
3c6cab1491
Clear selectionEnd when selecting word at cursor
2018-02-01 17:20:33 -08:00
Daniel Imms
e849629533
typescript@2.7
...
Tuples using a fixed length by default will be helpful for CharData
2018-01-31 11:32:19 -08:00
Daniel Imms
e7b4e002f4
Merge remote-tracking branch 'origin/master' into 1248_tslint_curly
2018-01-29 07:45:31 -08:00
Daniel Imms
69ebb3e53e
Fix recent typo in comment
2018-01-29 07:42:59 -08:00
Daniel Imms
bbac1801e5
Small clean up
2018-01-28 17:33:51 -08:00
Daniel Imms
a6a4bf0817
Merge remote-tracking branch 'ups/master' into feature-778
2018-01-28 17:25:46 -08:00
Daniel Imms
e8666cafc9
Small clean up
2018-01-28 14:44:33 -08:00
Daniel Imms
fc2af1d806
Fix lint, reduce duplication, don't scale ctx
...
Scaling ctx was breaking the scale when setOption was called, not sure
it was doing anything.
2018-01-28 14:13:25 -08:00
Daniel Imms
106704b5d8
Merge remote-tracking branch 'ups/master' into pr/1148
2018-01-28 13:39:07 -08:00
Daniel Imms
af375eadb4
Run tsc as a travis job
...
This will hard fail when there are semantic errors. Currently building does
not do this and we will merge these in as a result.
2018-01-28 12:27:01 -08:00
Daniel Imms
39abf8aecf
Change render layer id to a class
...
It's only used to identify them in DOM explorer currently
Fixes #1255
2018-01-27 22:26:00 -08:00
Daniel Imms
65b6901170
Fix compile error
2018-01-27 21:51:13 -08:00
Daniel Imms
93715c455d
Add dist/ back
2018-01-26 10:26:31 -08:00
Daniel Imms
1dce76dbbb
Add curly to tslint, fix errors
...
Fixes #1248
2018-01-25 12:17:59 -08:00
Daniel Imms
9c62a817d0
Fix build after merge
2018-01-25 12:08:50 -08:00
Daniel Imms
3a3f3db56e
Merge remote-tracking branch 'ups/master' into feature-778
2018-01-25 11:58:46 -08:00
Daniel Imms
c12394a687
Don't export contains
2018-01-25 11:09:20 -08:00
Daniel Imms
2e23dd34e0
Move xterm-internal types back into Types.ts files
2018-01-25 11:06:52 -08:00
Daniel Imms
8225b94d34
Types.d.ts -> .ts
2018-01-25 10:24:17 -08:00
Daniel Imms
4db4fcb40a
Remove declaration file generation, we have explicit types
2018-01-25 10:23:14 -08:00
Daniel Imms
177edfa66e
Merge interfaces and types files
2018-01-25 10:03:28 -08:00
Daniel Imms
d454a50a84
Move FontWeight type to xterm.d.ts
2018-01-25 09:48:12 -08:00
Daniel Imms
7358890a31
Merge remote-tracking branch 'ups/master' into 1221_iterminal_typings
2018-01-25 09:45:13 -08:00
Daniel Imms
4c6f18c36f
Revert "Add support for modifiers for PageUp / PageDown keys."
...
This reverts commit 83921c0b26 .
Fixes #1245
2018-01-25 09:20:19 -08:00
Daniel Imms
a13562bf45
Remove relative font weight as valid values
2018-01-23 08:58:33 -08:00
Daniel Imms
df02dacdc4
Add enableBold back
...
Part of #1117
2018-01-23 08:28:01 -08:00
Daniel Imms
01c95168f2
Make font weight types in ITerminalOption more strict
2018-01-23 08:02:48 -08:00
Daniel Imms
f3ecbea3e8
Fix tests
2018-01-23 07:55:18 -08:00
Daniel Imms
2ebc5d904d
Resize saved cursor position on buffer resize
...
Saved cursor coordinates were not being resized as well which could
lead to crashes when resizing down while the alt buffer is active.
Fixes #1151
2018-01-23 06:51:22 -08:00
Daniel Imms
a9d3e61794
Fix tests
2018-01-22 12:43:42 -08:00
Daniel Imms
16abf71b78
Use explicit null check to ensure start/end row is valid
...
It looks like this could have caused the inconsistent behavior with
links not activating and then working again after scrolling
Fixes #1233
2018-01-22 11:51:09 -08:00
Daniel Imms
4e20b48aa0
Add missing macOptionIsMeta typings
...
Follow up from #1225
2018-01-20 11:06:53 -08:00
Daniel Imms
e4726192f1
Various fixes
...
- altIsMeta -> macOptionIsMeta
- Moved isThirdLevelShift into Terminal class
- Moved option check into isThirdLevelShift so it doesn't affect the Windows
case and also includes the keypress case
- Add public API and typings test
- Add option checkbox to demo
2018-01-20 09:06:05 -08:00
Daniel Imms
4f59363331
Fix Intefaces typo
2018-01-20 08:22:12 -08:00
Daniel Imms
6e3cd2cb23
Fix indentation
2018-01-19 12:34:32 -08:00
Daniel Imms
e4abd4dd8a
Move Shared interfaces into a new typings file
...
This will enable sharing the internal interface with addons (and catching
breakages early)
2018-01-19 09:48:33 -08:00
Daniel Imms
78a63d4860
Simplify interfaces, reduce duplication
2018-01-19 09:48:33 -08:00
Daniel Imms
47df04976c
Base ITerminal on interface in .d.ts
...
Part of #1221
2018-01-19 09:48:33 -08:00
Daniel Imms
57a9948e8d
Use Terminal typings in remaining addons
...
Fixes #1220
2018-01-19 09:30:24 -08:00
Daniel Imms
ec17fb9179
Use Terminal type in attach, fit and fullscreen
2018-01-19 09:30:24 -08:00
Daniel Imms
682eb2f861
Use Terminal public API type in search addon
...
Part of #1220
2018-01-19 09:30:24 -08:00
Daniel Imms
cfd00529eb
Various fixes
...
- Add buffers being retained on full reset (CIS)
- Remove setup event, simplify
- Only have one trim listener active at once
- Disallow activate events if nothing changed (just in case)
2018-01-18 17:48:29 -05:00
Daniel Imms
0645fe582f
Fix missing space
2018-01-18 12:27:07 -08:00
Daniel Imms
9c4ef2fd86
Merge remote-tracking branch 'origin/master' into fix_lint
2018-01-18 12:11:21 -08:00
Daniel Imms
2253e666e7
Remove OSX from travis
...
Builds take too long on free tier
2018-01-18 09:39:32 -08:00
Daniel Imms
b1beee3595
Fix cursor lagging behind when blink is on
...
Fixes #1216
2018-01-18 07:54:45 -08:00
Daniel Imms
4588d15738
Add more tslint rules, fix attach addon
2018-01-17 10:40:42 -08:00
Daniel Imms
307dd0fd68
Add several tslint rules
2018-01-17 10:32:35 -08:00
Daniel Imms
53e1f83bb5
Update tslint, fix lint
2018-01-17 10:23:27 -08:00
Daniel Imms
70236f6818
Fix addon lint
2018-01-17 10:20:04 -08:00
Daniel Imms
0e870d106f
Fix search for emojis
...
Fixes #1103
2018-01-16 07:26:03 -08:00
Daniel Imms
8d3bdad7e4
Fix search for wide unicode
...
Part of #1103
2018-01-16 07:06:10 -08:00
Daniel Imms
80f13792a3
Ensure renderer uses latest options at open
...
Fixes #1194
2018-01-16 06:34:22 -08:00
Daniel Imms
e49d844284
Add note in README about code structure
2018-01-06 13:46:27 -08:00
Daniel Imms
d0ef868215
Refactor char atlas to enable generation with worker
...
This doesn't actually add workers but it separates the code nicely
such that the minimal amount of relevant code can be pulled in by
worker code.
Part of #955
2018-01-06 13:43:34 -08:00
Daniel Imms
50ed83ca64
Set version to 3.1.0-master
...
This will make it clear in bug reports etc. when someone is running off
master and not 3.0.
2018-01-05 14:40:41 -08:00
Daniel Imms
f6da87f3b4
Merge remote-tracking branch 'origin/master' into 1118_dpi_change
2018-01-05 14:19:21 -08:00
Daniel Imms
248fbccfd9
Remove console.log
2018-01-05 14:18:16 -08:00
Daniel Imms
edc80acd4d
Publish typings dir to npm
2018-01-05 08:32:07 -08:00
Daniel Imms
6580cdec6b
Merge remote-tracking branch 'origin/master' into tyriar/merge_master_to_v3
...
This pulls in PR #933 which was merged in error to master not v3 and also 2.9.2
release stuff.
2018-01-04 12:36:46 -08:00
Daniel Imms
0819759814
Allow alt+backspace to delete a word
...
Fixes #1179
2018-01-02 10:33:17 -08:00
Daniel Imms
ecc1055c10
Listen to resolution media query
2018-01-02 10:11:24 -08:00
Daniel Imms
72d946e089
Use a more robust solution to changing devicePixelRatio
2017-12-29 13:54:01 -08:00
Daniel Imms
ef5beb6706
Update charatlas when monitor DPI changes
...
Fixes #1118
2017-12-29 08:30:13 -08:00
Daniel Imms
f24a94b341
Move syncBellSound after helperContainer init
2017-12-26 04:06:00 -08:00
Daniel Imms
5dc38008f3
Fix test
2017-12-26 02:43:28 -08:00
Daniel Imms
98d25607a9
Prevent exception when setting bellSound before open
...
Fixes #1165
2017-12-26 02:22:09 -08:00
Daniel Imms
55f885809e
Improve doc
2017-12-21 15:18:03 -08:00
Daniel Imms
37a1220ee7
Add applyAddon typings
...
Part of #1018
See #1130
2017-12-21 13:59:27 -08:00
Daniel Imms
83ef7668be
Merge remote-tracking branch 'ups/v3' into 1159_linefeed
2017-12-19 13:26:48 -08:00
Daniel Imms
aaf0991195
Make lineFeed event lowercase
...
Fixes #1159
2017-12-19 13:25:26 -08:00
Daniel Imms
c1d20afc64
Remove visual bell API until it's added back
...
Fixes #1155
2017-12-18 10:15:30 -08:00
Daniel Imms
47a50acc55
Use IntersectionObserver to turn off renderer when hidden
...
Fixes #880
2017-12-11 15:16:13 -08:00
Daniel Imms
616f0f9d36
Fix cursor on scroll bar
...
Fixes #1067
2017-12-11 10:13:17 -08:00
Daniel Imms
0b90feab1e
Remove geometry
...
Fixes #841
2017-11-09 10:02:28 -08:00
Daniel Imms
8478aa7a51
Fix selection on bottom right char when mouse goes outside viewport
...
Part of #1029
2017-11-05 12:18:59 -08:00
Daniel Imms
dbec3a32f8
Fix selecting of last column
...
Fixes #1029
2017-11-05 12:06:25 -08:00
Daniel Imms
86653f70a8
Export interfaces in typings
...
Fixes #1080
2017-11-04 20:41:03 -07:00
Daniel Imms
79cdaa8d3b
Initialize scaled dimension variables
...
Fixes #1089
2017-10-30 11:21:22 -07:00
Daniel Imms
664c0f0f77
Clarify that parent needs to be visible when calling open
...
Fixes #1089
2017-10-28 17:44:15 -07:00
Daniel Imms
d81df46453
Don't send mouse events when selection is forced
...
Fixes #1090
2017-10-27 16:48:00 -07:00
Daniel Imms
59759c718b
node-pty@0.7.2
2017-10-27 11:33:05 -07:00
Daniel Imms
700a10f3f4
Initial winptyCompat addon
2017-10-27 10:23:46 -07:00
Daniel Imms
a27a4e627e
Add test for not setting bg in theme
2017-10-25 21:28:19 -07:00
Daniel Imms
2fc723b3ac
Fix exception when setting theme
...
Fixes #1079
2017-10-25 21:24:44 -07:00
Daniel Imms
ac71f13361
Add null check in MouseZoneManager._findZoneEventAt
...
See Microsoft/vscode#36328
2017-10-23 11:54:49 -07:00
Daniel Imms
5d49db54ee
Move interfaces in types inside module
...
Fixes #1071
2017-10-20 17:28:34 -07:00
Daniel Imms
1d76cc921a
Use .xterm over .terminal in CSS
...
Fixes #1068
2017-10-19 08:44:00 -07:00
Daniel Imms
cf6c11db14
Merge remote-tracking branch 'origin/v3' into 1048_enableBold
2017-10-17 12:41:13 -07:00
Daniel Imms
db6695435d
Add letterSpacing typings and test
2017-10-13 13:38:28 -07:00
Daniel Imms
899929afc6
Add enableBold typings
2017-10-13 13:30:12 -07:00
Daniel Imms
a1fcafd50c
Fix default color with bold disabled
2017-10-13 13:20:22 -07:00
Daniel Imms
a622b97a94
Support enableBold option
2017-10-13 13:13:38 -07:00
Daniel Imms
e86aebaa41
Merge remote-tracking branch 'origin/v3' into more_rendering_improvements
2017-10-13 13:02:38 -07:00
Daniel Imms
c1ad9dba2a
Remove long wcwidth test
...
Fixes #1057
2017-10-11 22:46:08 -07:00
Daniel Imms
a56edd65a7
Fix ansi bright text being bold without bold flag
...
Fixes #1047
2017-10-10 22:37:13 -07:00
Daniel Imms
09c9cb4508
Draw from charatlas without changing scale
...
Fixes #1050
2017-10-10 22:19:48 -07:00
Daniel Imms
eb57cc3e9e
Clip rows using the row's cell height, not char height
2017-10-09 20:10:13 -07:00
Daniel Imms
1b2bac7aef
Add letterSpacing option
...
This provides an option for fonts to be more spaced out. This is particularly useful
for fonts that can seem crammed due to not allowing floating point numbers when
drawing, such as Monoid or Operator Mono.
2017-10-09 20:07:30 -07:00