Commit graph

1170 commits

Author SHA1 Message Date
onecamp
519ca3e651
Fix webgl config (#3407)
* Fix location of webGLRenderer flag in default-config.js

* Fix incorrect check of webGLRenderer flag

* Explain that disabling WebGL enables transparent backgrounds

Co-Authored-By: juancampa <juancampa@gmail.com>

* Only use WebGL if background is opaque

The hardcoding to white was also removed in favor of a temporary hack in
xterm.js that uses either white-over-black or black-overwhite to
maximize contrast with the background color
2019-01-21 19:09:18 -05:00
Igor Sadikov
ea3e109fbb Fix and simplify resize handling using ResizeObserver (#3411) 2019-01-21 20:34:23 +01:00
Fernando Sutter
9d4a41ebaa Doc: Typo in PLUGINS.md (#3355) 2019-01-19 00:10:47 +01:00
Dylan Frankland
f9e0e46233 Add instructions for installing snap package to README.md (#3376) 2019-01-19 00:09:22 +01:00
Igor Sadikov
3881703e01 Fix xterm.js resource leaks in split pane (#3409) 2019-01-18 23:58:09 +01:00
Juan Campa
ee8e95b8f1 Downgrade electron to v3 (#3420)
* Reverting back to electron v3

Electron v4 has a big performance issue with 2d canvases Tracked here:

 https://github.com/electron/electron/issues/16439
2019-01-18 19:03:09 +01:00
Juan Campa
ff8fb84917 Fix modifier keys being printed (#3414)
Fixes #3413 #3403
2019-01-14 06:22:58 +01:00
CHaBou
b709a3a971
Add macOptionSelectionMode option (#3406)
Two possible value: 
* `'vertical'` (Default): enable column selection when Option key is hold
* `'force'`: force selection regardless of whether the terminal is in mouse events mode
2019-01-11 14:31:11 +01:00
Juan Campa
3136c64f4a Zoom with both cmd+= and cmd+plus (#3401) 2019-01-09 12:28:31 +01:00
Juan Campa
7a5c204395 3.0.0-canary.4 2019-01-08 12:16:19 -05:00
Juan Campa
077c1231a4
Upgrade to include fixes in xterm v3.10.1 (#3400) 2019-01-08 11:52:20 -05:00
Juan Campa
62bb05c02f 3.0.0-canary.3 2019-01-06 18:27:08 -05:00
Juan Campa
038249f273 Upgrading xterm.js with the meta key fix (#3393)
Issue: https://github.com/xtermjs/xterm.js/pull/1885
2019-01-07 00:22:52 +01:00
Juan Campa
2d618a10bd 3.0.0-canary.2 2019-01-06 16:10:37 -05:00
Juan Campa
fca3c50399 Upgrading xterm.js with a couple of emoji fixes (#3390) 2019-01-06 21:43:50 +01:00
Umberto Lentini
ba93421933 Fixed file paste (#3383)
Fixes #3340
2019-01-06 15:55:16 +01:00
Jakub Chatrný
a3db3670be Add div wrappers around window controls svg elements (#3392)
Fixes #3372
2019-01-06 15:53:10 +01:00
Juan Campa
bc2d32ba1d Emoji Fix (#3388)
* Upgrading xterm.js with emoji support

* Removing emoji shortcut

My understanding is that this was needed at some point because we
weren't typing into a textarea. No that we're typing into a textarea the
browser (i.e. Chromium) handles this for us
2019-01-04 17:35:17 -08:00
CHaBou
fbc11a03dd Update reat-dom to v16.2.1 in app (#3387)
* Update reat-dom to v16.2.1

* Update reat-dom to v16.2.1 in app
2019-01-04 13:17:36 -08:00
CHaBou
5c41a82813 Update reat-dom to v16.2.1 (#3386) 2019-01-04 13:05:35 -08:00
Pooya Parsa
b077005a30 fix(app): update os-locale to 3.1.0 (#3369)
fixes #3091

sindresorhus/os-locale#33
2019-01-04 00:33:52 +01:00
Dylan Frankland
2f2f36e4dc Configure Electron Builder to build Snap in classic confinement mode (#3374)
This is needed to allow Hyper to access files outside of its image such as ~/.hyper.js
2019-01-02 14:39:29 +01:00
Leo Lamprecht
c3a13a7cd3 3.0.0-canary.1 2018-12-31 20:29:21 +00:00
Juan Campa
e56409931a Updating xterm to include the selection outline (#3373) 2018-12-31 21:02:26 +01:00
Juan Campa
c07700af49 Performance - Data batching (#3336)
* Bumping electron to 3.0.10

* Updating node version in travis and appveyor

* Fixing incorrect require of electron-fetch

* Fix zoom to match previous versions

Additionally I'm removing a call to disable pinch-zoom, it's disable by
default since Electron 2 (https://electronjs.org/releases#2.0.0)

* Bumping electron to 4.0.0-beta.8

* Bumping electron to 4.0.0-beta.9

* Work around for Copy accelerator not firing on electron v4

* Batch session data before sending it to renderer

* Fix linting issues

* Fixing header/titlebar in MacOS

* Upgrading to electron 4.0.0 and node-pty 0.8.0

* Adding yarn.lock changes for electron 4.0.0

* Adding comments for editor:copy workaround. Scaling issue is only on Linux

* Upgrading node-abi to support electron 4.0.0

* Adding isDestroyed check
2018-12-28 15:13:00 -08:00
Juan Campa
7a40fd7c97 WebGL renderer (using xterm.js fork) (#3368)
* Enabling webGL renderer

* Use @zeit/xterm fork of xterm

* Adding webGLRenderer config

* Fix linting issues

* Allow for hot-reloading of webGLRenderer

* Adding link to WebGL renderer issue we're working around

* Using NPM tarball instead of resolutions (which wasn't working

* Hard-coding selection color to white because nothing else is yet supported
2018-12-28 14:42:05 -08:00
Juan Campa
dd68286c5f Upgrade Electron to v4 (#3329)
* Bumping electron to 3.0.10

* Updating node version in travis and appveyor

* Fixing incorrect require of electron-fetch

* Fix zoom to match previous versions

Additionally I'm removing a call to disable pinch-zoom, it's disable by
default since Electron 2 (https://electronjs.org/releases#2.0.0)

* Bumping electron to 4.0.0-beta.8

* Bumping electron to 4.0.0-beta.9

* Work around for Copy accelerator not firing on electron v4

* Fixing header/titlebar in MacOS

* Upgrading to electron 4.0.0 and node-pty 0.8.0

* Adding yarn.lock changes for electron 4.0.0

* Adding comments for editor:copy workaround. Scaling issue is only on Linux

* Upgrading node-abi to support electron 4.0.0

* popup now takes an object as input
2018-12-25 18:15:25 -08:00
Juan Campa
cba4c66a4b Fix for config.session being ignored (#3367) 2018-12-25 18:15:02 -08:00
CHaBou
36eac99902 Revert "Add tray icon and set single instance mode to improve startup time on Windows (#3324)" (#3362)
This reverts commit f324a67bb9.
2018-12-23 12:37:32 -05:00
Juan Campa
a5309082b6 Optimistic session creation (#3352)
* Optimistically creating a session when a window is created to improve launch time

* Fix linting issues
2018-12-19 18:03:21 -08:00
Phung Tuan Hoang
f324a67bb9 Add tray icon and set single instance mode to improve startup time on Windows (#3324)
Fixes #2935, #2980
2018-12-16 23:46:37 +01:00
CHaBou
76ab6abd68 2.1.0-canary.5 2018-12-15 22:39:51 +01:00
CHaBou
6fc24376a2
Fix onCursorMove Term handler (#3330)
Fixes #3317
2018-12-15 22:30:58 +01:00
CHaBou
5f56514aa2 2.1.0-canary.4 2018-12-12 21:48:27 +01:00
CHaBou
dc7110abce
Update xterm to v3.9.1 (#3326)
https://github.com/xtermjs/xterm.js/releases/tag/3.9.1
2018-12-12 21:39:44 +01:00
CHaBou
9e3d43879e Update xterm to v3.9.0 (#3319) 2018-12-10 17:22:04 -08:00
CHaBou
0d82f983eb 2.1.0-canary.3 2018-12-07 16:45:14 +01:00
CHaBou
f3a2f0211d Update xterm to v3.8.0 (#3255) 2018-12-06 15:56:29 -08:00
Oliver Green
6079ca35c2 Changed OS X 'reload' accelerator key mappings be more inline with Linux & Windows. (#3277)
Fixes #921
2018-12-03 16:12:18 -08:00
Matthias Winkelmann
29ff8785d9 Fix CLI tool with python3 (#3284)
I realise having ```python``` linked to ```python3``` is currently discouraged, but being compatible does not hurt, and may avoid problems whenever it becomes more common for python 3 to be the default.
2018-12-03 16:11:45 -08:00
Brandon Smith
cd742fbdaa Improve detection of selected editor on Windows (#3242)
Improves upon previous work completed in #2631:

- Add additional system default check: `JSFile`
- Relax restriction on `.exe` file extension as it is an invalid assumption:

Closes #3223
2018-10-13 16:52:55 +02:00
Pablo Varela
23c4945a12 Add snapcraft build (#3216)
https://docs.snapcraft.io/build-snaps/electron
2018-10-13 16:50:20 +02:00
6a262d0212 CLI: enforce directory existence before linking on Linux (#3252)
Make `/usr/local/bin/` directory if not exists.
2018-10-13 16:46:16 +02:00
Prashant Andani
436c37e89e Code cleanup (#3131) 2018-10-13 16:35:51 +02:00
Keane Nguyen
cf4a03628b Fix incorrect markdown links (#3243) 2018-10-08 00:40:52 +02:00
Daniel Bayerlein
251c7ffd2d Update outdated link to Homebrew Cask (#3235) 2018-10-03 15:18:48 +02:00
Peder Husom
20165e137d [CLI] added 'version' command. (#3207) 2018-09-25 00:48:44 +02:00
Andrew Mitchell
d634fc3aff Update electron to 1.8.8 (#3151) 2018-09-23 22:15:14 +02:00
Itai Steinherz
27c1893fb8 Simplify promises in cli/api.js (#3198) 2018-09-23 21:14:39 +02:00
Razzi Abuissa
51db83c581 Show actual error message when loading plugin fails (#3083) 2018-09-23 18:06:26 +02:00