Commit graph

466 commits

Author SHA1 Message Date
Philippe Potvin
2d399baa87
Add Window class and options plugin decoration (#3485)
* Add Window class and optios plugin decoration

* Propatation to BrowserWindow
2019-03-02 17:09:15 -05:00
Philippe Potvin
1747c57bc3 Expose active window positon on move to reducer (#3470) 2019-02-27 00:22:52 +01:00
Benjamin Staneck
80bb82122a Use electron's getPath() API to get the user's app data directory (#2948)
Docs: https://github.com/electron/electron/blob/master/docs/api/app.md#appgetpathname
Closes: https://github.com/zeit/hyper/pull/1960
Fixes: https://github.com/zeit/hyper/issues/1944
2019-02-25 11:42:09 -05:00
Juan Campa
fadc2f058e 3.0.0-canary.8 2019-02-13 12:31:23 -05:00
CHaBou
663b16bc12 Add Session class and Session options decoration by plugins (#3464)
* Add Session class and options plugin decoration

* add init() method

* Add warning for non-overrided session methods
2019-02-10 16:31:52 -05:00
Evil Rabbit
ec1ee99715 Improve Hyper 3 Canary and Stable icons (#3466) 2019-02-09 14:40:39 +01:00
Juan Campa
3001518355 3.0.0-canary.7 2019-02-04 22:11:25 -05:00
Juan Campa
761d6445ec
Hyper v3 icons (#3451)
* Hyper v3 icons

* Updating app icons
2019-02-04 22:08:35 -05:00
Juan Campa
bb1f94e8b8
Bumping electron to 3.1.3 (#3458) 2019-02-04 21:28:20 -05:00
Juan Campa
4dd6177952 3.0.0-canary.6 2019-01-25 11:56:57 -05:00
onecamp
8733ecc84a
Display the renderer type in the About dialog (#3441)
* Now displaying the renderer type in the About dialog

* Show the number of renderers per type in the About dialog

* Use values instead of entries (key is unused)

Co-Authored-By: onecamp <juancampa@gmail.com>
2019-01-24 18:46:39 -05:00
Juan Campa
2828273424 3.0.0-canary.5 2019-01-22 11:47:12 -05:00
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
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
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
62bb05c02f 3.0.0-canary.3 2019-01-06 18:27:08 -05:00
Juan Campa
2d618a10bd 3.0.0-canary.2 2019-01-06 16:10:37 -05: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
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
Leo Lamprecht
c3a13a7cd3 3.0.0-canary.1 2018-12-31 20:29:21 +00: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
5f56514aa2 2.1.0-canary.4 2018-12-12 21:48:27 +01:00
CHaBou
0d82f983eb 2.1.0-canary.3 2018-12-07 16:45:14 +01: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
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
Prashant Andani
436c37e89e Code cleanup (#3131) 2018-10-13 16:35:51 +02:00
Razzi Abuissa
51db83c581 Show actual error message when loading plugin fails (#3083) 2018-09-23 18:06:26 +02:00
Maksym Dogadailo
039b6fa280 Replace node-fetch with electron-fetch (#3108) 2018-09-23 17:51:56 +02:00
Ryan Castner
6451ba7f85 Fix typo in comments (#3185) 2018-08-22 19:42:52 +02:00
CHaBou
3df6cac644
2.1.0-canary.2 2018-06-15 15:37:35 +02:00
CHaBou
bc6101e98f
Fix module hijacking (#3067)
Regression was introduced by #2866. Release version of Hyper failed to start.
2018-06-11 08:43:57 +02:00
Timo Welde
f75895a176 Fix plugin module hijacking on main process (#2866)
Fixes some plugin loading (like hyperline)
2018-05-15 15:58:36 +02:00
Ricardo Amaral
a14c55640c Add letter spacing configuration option (#3002) 2018-05-10 12:54:00 +02:00
Justin Lowery
f72093c9d7 Fix RPC handler race condition causing a crash (#2940)
Fixes #2861
2018-05-10 08:20:59 +02:00
CHaBou
64ec145b55 Fix toggleFullScreen keymap customization (#2995)
Fixes #2977
2018-05-09 15:51:34 +02:00
Sonny
f64e3e0204 Adding ability to send error object to notify() (#2955) 2018-05-02 10:10:44 +02:00
Benjamin Staneck
9a536722f8 Fix locales (LANG) env vars by using os-locale (#2913)
Fixes #607, Fixes #2322, Fixes #2328, Fixes #183
2018-04-27 15:41:59 +02:00
Edgar Carneiro
d1eb02098e Fix zoom keymaps for Windows (#2489)
Fixes #2448
2018-04-25 01:14:05 +02:00
CHaBou
d2d766c75f 2.1.0-canary.1 2018-04-23 22:33:25 +02:00
CHaBou
13e90ceac9 Disable Chromium GPU blacklist (#2895) 2018-04-23 21:12:53 +01:00