Commit graph

497 commits

Author SHA1 Message Date
Cyril Damas
0105d6baf2 Add ssh url scheme handling (#2516) 2018-02-12 21:20:45 +01:00
Leo Lamprecht
af527b6f90 2.0.0-canary.11 2018-01-23 14:17:11 +01:00
Brandon Smith
16fcb2cb70 Improve Windows default editor detection (#2631) 2018-01-23 10:01:33 +01:00
CHaBou
87d4c2b37e Fix selectAll command (#2436)
* Fix selectAll command

* Fix typo
2018-01-21 12:21:16 +01:00
Leo Lamprecht
904f94a1bb Corrected dates 2018-01-17 17:00:13 +01:00
Leo Lamprecht
ac54e79dea Corrected company name everywhere 2018-01-17 16:58:49 +01:00
Leo Lamprecht
ae850ae38b 2.0.0-canary.10 2018-01-17 15:57:26 +01:00
CHaBou
5f64127f5b Fix CLI installation on Windows (#2600)
* Protect against missing PATH user env var
* Protect against different cases for PATH user env var name

Fixes #2580
2018-01-15 23:22:41 +01:00
Daniel Liuzzi
2c5b3d5ccd Fix Windows keymap delete typo (#2575) 2018-01-10 12:43:11 +01:00
Leo Lamprecht
88c65b1862 2.0.0-canary.9 2018-01-09 18:51:49 +01:00
CHaBou
dd780e6fe7
Xterm v3 integration (#2573) 2018-01-09 17:33:24 +01:00
CHaBou
5700690e0b
Add CLI tool to install/search plugins or launch app (#2375) 2018-01-09 16:05:19 +01:00
David Calhoun
bbb1caefb4 Always notify watchers of plugin updates (#2508)
During plugin updates, each `plugin.onUnload` is invoked regardless of
whether the plugin changed. This commit ensures that each `plugin.onApp`
is invoked once all plugins have been updated. Fixes #2415.
2018-01-04 12:45:28 +01:00
Renato Campos
cb8b72a319 Added keymap to rebind the 'break' command - Issue #2432 (#2531)
* fixed documentation of roleCommands

* Added keymap for break/interrupt command

* added break keymap for linux and darwin

* fixed lint errors
2017-12-18 17:17:20 +01:00
Benjamin Staneck
30964b6571 Dependency updates (#2533) 2017-12-12 11:54:20 +01:00
Albin Ekblom
9521fb57c1
Fix linux keymap delete typo (#2539) 2017-12-10 21:34:00 +01:00
Leo Lamprecht
0549ded2c4 2.0.0-canary.8 2017-12-04 22:42:24 +01:00
Leo Lamprecht
744707e29c Reset version to correct one 2017-12-04 21:37:12 +01:00
CHaBou
1fbc85760b
Use same hazel endpoint to notify update to Linux users (#2497)
Add a pseudo auto-updater for Linux

Fixes #2476
2017-11-29 14:26:24 +01:00
Gutierri Barboza
59273ddb2a Add alt+F4 shortcut to close window on Windows (#2491)
Fixes #2490
2017-11-29 14:25:18 +01:00
CHaBou
d148c486f5
Load/Unload theme without restarting (#2458) 2017-11-29 14:22:29 +01:00
CHaBou
a59ccc3ff4
Restore v1 keymaps for tab switching (#2485) 2017-11-22 16:10:51 +01:00
CHaBou
1e14494ec9
Fix commands without active window (#2473) 2017-11-22 14:29:33 +01:00
CHaBou
1d2b7818ec
Expose ‘true colour’ support in $COLORTERM (#2484)
Further discussion here: <gist.github.com/XVilka/8346728#detection>
2017-11-22 14:29:07 +01:00
Bauke van der Laan
9bc5a004a1 Replace minus with hyphen character in keymaps (#2467) 2017-11-22 13:04:38 +01:00
KevinRLeC
5227486916 Adding in ability to switch release channel without restarting Hyper (#2408) 2017-11-22 11:34:37 +01:00
André Cruz
5d0c6355e1 Add comment in config about opacity compatibility (#2463)
Fix #2451
2017-11-16 12:41:53 +01:00
CHaBou
81709073cf
Keymaps are now updated without restarting (#2455)
* Reload keymaps without restarting

* Reattach key listeners when config have changed
2017-11-15 00:55:21 +01:00
CHaBou
319ff3bcd7 Fix devtools opening when menuItem clicked (#2457) 2017-11-14 21:32:43 +00:00
Benjamin Staneck
54cc70e656 Update node-pty to 0.7.3 (#2453)
changelog: https://github.com/Tyriar/node-pty/releases/tag/0.7.3
2017-11-12 20:47:46 +01:00
CHaBou
c62e042535
Disable undo/redo/cut menuItems (#2435) 2017-11-08 22:24:56 +01:00
CHaBou
3a3ee013f7
Enhance plugin installation (#2440) 2017-11-08 22:24:15 +01:00
CHaBou
97308bd8e5 Add shell alias commands (#2426) 2017-11-06 20:27:25 +00:00
Leo Lamprecht
dcccd11a29 Improved context menu (#2425)
* Improved context menu

* Fixed wrong wording

* Update shell.js
2017-11-06 14:22:40 +00:00
Benjamin Staneck
8fc75b15ff Unify wording and spelling in config and other places (#2422) 2017-11-04 23:19:02 +01:00
Leo Lamprecht
be4b2c8870 2.1.1 2017-11-04 10:12:15 +01:00
CHaBou
c827349e83
Fix copying default config at launch if needed 2017-11-04 00:42:25 +01:00
Leo Lamprecht
d248069b78 2.1.0 2017-11-03 22:12:19 +01:00
CHaBou
c00c10ec11
Fix Preferences menu item 2017-11-03 22:06:48 +01:00
CHaBou
ec6ecdd258
Fix contextMenu 2017-11-03 21:50:00 +01:00
Ricky Miller
62e29effbf Add context menu (#2001) 2017-11-03 21:24:41 +01:00
CHaBou
2af575c3c0 Multiple keymaps and mousetrap (#2412)
* WIP

* WIP

* Wip

* Wip

* wip

* Refactor without normalize and plugin

* Replace extendKeymaps by decorateKeymaps

* WIP

* Add mousetrap

* Add first command over rpc

* More commands

* Add all commands

* Begin to hook commands

* Working multiple keymaps

* Use redux action to trigger command

* Use forked version of Mousetrap to capture key events

* Fix lint

* Add command in redux action to debug purpose

* ExecCommand from menu click

* Remove unused files

* Fix xterm should ignore catched events

* Re-enable IntelliSense checking

* Remove unused runes dep
2017-11-02 19:51:18 -07:00
Benjamin Staneck
f8bc2884b7 Update dependencies (#2416) 2017-11-01 14:44:43 +01:00
Kirby Walls
c2839bacc7 Move syntax error description to notification body (#2404) 2017-10-29 19:05:17 +01:00
Mathew Merrick
7f804cf66c Zoom Keymap Consistency (#2365) 2017-10-25 00:48:31 +02:00
Fabrício Matté
b2b523e264 Add decorateBrowserOptions to plugin extensions list (#2378) 2017-10-20 09:16:11 +02:00
Oswaldo Acauan
a53875f208 Add trailingComma rule for config-default.js (#2372) 2017-10-18 20:17:55 +02:00
CHaBou
9c9a307958
Merge branch 'master' into canary 2017-10-05 20:49:20 +02:00
CHaBou
bcf1157b37 Add new keymaps to jump between tabs (#2330) 2017-10-05 20:39:39 +02:00
Matt bc
2b61d4c081 Add config to issue report template (#2293)
* fixes #1789
2017-10-03 23:56:07 +02:00
Luiz Fernando Rodrigues
9e7bd76ef9 Improve documentation of showHamburguerMenu option (#2315) 2017-10-01 16:15:35 +01:00
CHaBou
e2d73702cd Fix plugin requiring to authorize @ in config (#2312)
Fix #2311
2017-10-01 06:08:42 +02:00
Leo Lamprecht
4ea9865ba5 1.4.8 2017-09-26 11:40:51 +02:00
Leo Lamprecht
1f2419fe52 2.0.4 2017-09-26 11:26:30 +02:00
Benjamin Staneck
fa3c63957a Update Electron to 1.7.8 (#2277)
* Update Electron to 1.7.8

[SECURITY] Fixed Chromium RCE vulnerability

* https://github.com/electron/electron/releases/tag/v1.7.8
* https://github.com/electron/electron/releases/tag/v1.7.7

* remove remnant xo feature string to retrigger build
2017-09-26 08:10:47 +02:00
Guillermo Rauch
3293c3b50a Merge branch 'master' into canary 2017-09-25 15:23:14 +02:00
Alexandre Santos
acc2230b0e Fix typo in utils customKeys (#2283) 2017-09-25 15:21:59 +02:00
Leo Lamprecht
2412d3422a 2.0.3 2017-09-24 12:08:29 +02:00
Mina
a31e94eb5a Fixed icon proportions in About window (#2265) 2017-09-22 23:53:49 +02:00
CHaBou
0502bbfc79
2.0.2 2017-09-21 00:15:00 +02:00
CHaBou
e8a9741194
Merge branch 'master' into canary 2017-09-21 00:09:04 +02:00
CHaBou
c73186c7ee
2.0.1 2017-09-20 23:36:27 +02:00
CHaBou
c02c2526ac Fix decorated config with default colors (#2242)
Fix decorated config with default colors
2017-09-20 23:32:32 +02:00
Leo Lamprecht
38649d7d56 1.4.7 2017-09-20 19:42:38 +02:00
Leo Lamprecht
4f9bcf77bc Made canary auto updates work (#2235) 2017-09-20 19:35:50 +02:00
CHaBou
cc2ff06318
2.0.0 2017-09-20 01:40:59 +02:00
CHaBou
d3cd9aee00
Merge branch 'master' into canary 2017-09-20 01:39:55 +02:00
Wilson Tayar
4c71c99325 Normalize keymap internals (#2227)
Fix #2195: normalizing keybindings using localeCompare to include non english keyboards as well
2017-09-20 01:36:06 +02:00
CHaBou
f8c19b0ef2
Merge branch 'master' into v2 2017-09-17 23:08:33 +02:00
CHaBou
e0d793eeeb Revert "Normalize keymap internals" (#2225)
This reverts commit 751c06e437.
2017-09-17 21:53:37 +01:00
CHaBou
7733067deb
Merge branch 'master' into v2 2017-09-17 10:48:16 +02:00
Wilson Tayar
751c06e437 Normalize keymap internals (#2210)
Fix #2195
2017-09-17 10:43:58 +02:00
CHaBou
d6fc99e1d6
Merge branch 'master' into v2 2017-09-16 21:31:01 +02:00
Leo Lamprecht
9f4bff7f52 1.4.6 2017-09-16 15:55:47 +02:00
CHaBou
51b08930ee Made file watching work on Windows (#2220) 2017-09-16 15:49:43 +02:00
Leo Lamprecht
966aad150d 1.4.5 2017-09-16 13:58:01 +02:00
CHaBou
bd5b16c7da Replace chokidar by fs.watch (#2217) 2017-09-16 13:49:10 +02:00
CHaBou
507fc28200
Merge branch 'master' into v2
* master:
  Revert #2126 (#2202)
  Use child_process.execFile to prevent unescaped stuff (#2206)
  1.4.4
2017-09-16 13:23:24 +02:00
CHaBou
97d1ae33d3 Revert #2126 (#2202) 2017-09-15 19:23:03 +01:00
Donghao Ren
53a5a425f7 Use child_process.execFile to prevent unescaped stuff (#2206)
Fix #2173
2017-09-15 16:44:28 +02:00
CHaBou
4888a9b394
Handle xterm url opening 2017-09-13 23:12:30 +02:00
CHaBou
9bd410f1e4
Make Hyper more robust against plugins
* Add some try/catch
* Support React@16 error boundaries for render decorated components
2017-09-13 22:55:54 +02:00
Leo Lamprecht
79472c537a 1.4.4 2017-09-13 20:55:47 +02:00
CHaBou
3e632577e5
Merge branch 'master' into xterm-linted
* master:
  Fix yarn.lock (#2194)
  Fix for keymapping bug on Linux and Windows (#2189)
  Set session CWD only if there is an active session (#2191)
  Upgrade Electron to v1.7.6 (#2193)
  Fix plugin path in dev mode (#2192)
2017-09-11 23:14:13 +02:00
Albin Ekblom
48f5b6e08f Fix yarn.lock (#2194) 2017-09-11 16:06:24 +02:00
Lucas
3bca7c2891 Fix for keymapping bug on Linux and Windows (#2189)
* Fix for keymapping bug on Linux and Windows

In response to issue #2156, the keymapping conflict has been removed from linux.json and win32.json in the app/keymaps/ directory. Now the keymap for window close is ctrl+shift+q and the keymap for pane close is ctrl+shift+w.

* Fix for failed test on initial commit.
2017-09-11 15:09:17 +02:00
CHaBou
01f7779646 Upgrade Electron to v1.7.6 (#2193) 2017-09-11 10:08:32 +02:00
CHaBou
3b1ec4e435 Fix plugin path in dev mode (#2192)
When a dev config (<project_dir>/.hyper.js) is used, plugins should be searched/installed in <project_dir>/.hyper_plugins directory
2017-09-10 19:20:52 -04:00
CHaBou
1155bb54b1
Add prettier and resolve all lint errors 2017-09-10 16:04:13 +02:00
CHaBou
0fbf7cfc97
Merge branch 'master' into xterm
* master:
  Add default keymaps reference to documentation (#2185)
  Add category option under linux key in root package.json (#2184)
  Add vscode debug config, update readme (#2181)
  Get default config options when not specified in user config (#2126)
  Fix session cleaning (#2176)
  Delete .DS_Store file (#2171)
2017-09-10 13:53:33 +02:00
CHaBou
df68daaaba
Translate automatically hterm css class in config
Change css class name in config after plugin decoration for partial backward compatibility
2017-09-10 13:46:59 +02:00
CHaBou
a9bb9b697b
Add depreaction warning for hterm css
* Notify user when its config conatins deprecated CSS classes
* Add warning in devtools console about plugins using deprecated classes
2017-09-10 11:35:39 +02:00
Jan Okoński
be5786ef12 Get default config options when not specified in user config (#2126) 2017-09-06 22:58:09 +02:00
CHaBou
f6bfbdf170 Fix session cleaning (#2176)
Regression introduced by #2028
2017-09-06 01:19:37 +02:00
Leo Lamprecht
af7dc1b9c4 1.4.3 2017-09-03 18:28:39 +02:00
Louis Arge
843ebd2fe0 Change "Close Session" shortcut on Linux/Windows (#2160)
Fix #2156
2017-09-03 17:47:09 +02:00
Leo Lamprecht
0ee4fb6104 Updated dependencies to the latest version (#2146)
* Bumped dependencies to the latest version

* Bumped root lockfile

* Bumped app dependencies

* Fixed linting

* No command line switch needed anymore for native async/await

* Fixed color error

* Bumped Node.js versions for CI

* Downgraded hterm-umdjs

* Try to fix the AppVeyor build

* Made colors work again
2017-08-31 15:20:39 +02:00
Leo Lamprecht
cfbae08e4f 1.4.2 2017-08-30 22:59:43 +02:00
Leo Lamprecht
4351d86144 1.4.1 2017-08-30 21:59:43 +02:00
Leo Lamprecht
e90ad48a05 1.4.0 2017-08-30 19:51:25 +02:00
Leo Lamprecht
affa50343e Ensured that async-retry is added to the bundle (#2131) 2017-08-30 19:26:28 +02:00
Leo Lamprecht
356f93ff04 Ensure correct update channel is displayed in About window (#2130) 2017-08-30 19:14:28 +02:00
Leo Lamprecht
a2d4936e50 Retry loading it if config doesn't exist in auto updater (#2129)
* Made it easier

* Return the config

* Missing semicolon added

* Fixed the linting
2017-08-30 18:54:45 +02:00
Albin Ekblom
26abc6bd15 Write contents of default config to hyper.js (#2128) 2017-08-30 14:33:31 +02:00
Leo Lamprecht
6b886afc36 Use a string for setting the update channel (#2127)
* Adjusted config option

* Accept new config value
2017-08-30 14:12:59 +02:00
Philippe Potvin
300f7cbde4 Plugins revamp (#2108)
* extentions file

* plugs folder creation
2017-08-21 20:07:50 -04:00
Benjamin Staneck
0df4ae07cb Update node-pty to 0.7.0 (#2109)
Changelog: https://github.com/Tyriar/node-pty/releases/tag/0.7.0
2017-08-21 15:35:10 -04:00
Leo Lamprecht
fa1b607026 Show update channel in About window (#2102)
* Show update channel in About window

* Improved syntax
2017-08-20 13:03:13 +02:00
Leo Lamprecht
a0713f86e8 Added config switch for update channel (#2101) 2017-08-20 12:18:42 +02:00
CHaBou
5d171aa33e Return created window (#2081) 2017-08-14 21:29:50 -04:00
Adam Stankiewicz
cd1b8cd064 Ship yarn with hyper (#381) 2017-08-14 09:42:28 +02:00
Andy
de8e70f935 Make builds work again and catch squirrel errors on windows (#2078)
* Catch errors for electron-squirrel-startup

* Made builds work again

* linting

* linting
2017-08-13 07:03:35 +02:00
Albin Ekblom
be8e0cce29 Replace gaze with chokidar for config watcher (#1946)
* Replace gaze with chokidar for config watcher

* Pin deps
2017-08-13 00:23:48 +02:00
Benjamin Staneck
4e9bd4d953 and another one (#2063) 2017-08-09 02:23:45 -04:00
Benjamin Staneck
e175df780a fix missed this => window (#2058) 2017-08-08 22:37:05 -04:00
Benjamin Staneck
263caa0659 Dependency updates (#1958)
* Dependency updates

* update babel-loader, electron-builder, electron-builder-squirrel-windows

* update node-pty to 0.6.9

release notes: https://github.com/Tyriar/node-pty/releases

* update node-pty to 0.6.10

release notes: https://github.com/Tyriar/node-pty/releases/tag/0.6.10

* update electron-builder

* more dependency updates

* Update Electron and family

Electron release notes: https://github.com/electron/electron/releases/tag/v1.6.12

* Update redux to 3.7.2

* Update webpack to 3.x and enable ModuleConcatenation

Basically absorb PR #1967

* Update react and react-dom

* also absorb the changes of PR https://github.com/zeit/hyper/pull/2056
2017-08-08 16:29:54 -04:00
Philippe Potvin
eb85e14cbc fix (#2057) 2017-08-08 15:51:26 -04:00
Philippe Potvin
c01b4112ea fix devtools (#2048)
* fix devtools

* simp
2017-08-07 21:17:09 -04:00
Leo Lamprecht
866b5b82ce New URL for update server (#2047) 2017-08-04 23:52:38 +02:00
Philippe Potvin
4fd115bf27 Update window creation (#2028)
* add ui/window

* move window and optimize code

* cleanup
2017-08-02 15:20:03 -04:00
CHaBou
db35faa431 Show plugin (name and version) loaded (#1826)
* Print plugin name and version in devtools
* Add plugins informations in About dialog
2017-06-19 23:02:53 +02:00
Philippe Potvin
ab703b5bf2 Add docs for keys modification (#1937)
* Add keymaps docs to website

* de-beautify
2017-06-14 21:03:41 -04:00
Albin Ekblom
0bf10f3768 Escape parentheses for dropped files/folders (#1935)
* Escape parentheses for dropped files/folders

Fixes #1933

* Cleanup regex

* Wrap dropped path in single-quote

* Escape single quote inside single quote

* Handle escaping with current shell

* Cleanup escape
2017-06-14 09:12:03 -07:00
nitsakh
7b403380b0 Addressing issue #1862 by filtering out Boolean values from the plugins list (#1927)
* Addressing issue #1862 by filtering out Boolean values from the plugins list in the config.

* Updating the PR based on review comments.
2017-06-13 03:48:56 +02:00
Albin Ekblom
056c88f741 Check default app (#1918)
* Check .js default app

* Cleanup fallback check

* Check all keys

* Check for empty strings
2017-06-09 20:29:15 +02:00
Philippe Potvin
ca849425ac Conditional menu build fix for window (#1903)
* use speard for menu building
2017-06-03 22:12:14 +02:00
Philippe Potvin
93b2229ff5 Implements Commands Key mapping (#1876)
Keymaps part 2
2017-06-02 20:03:47 -04:00
Thomas Schoffelen
709fc03933 Fixed a bug with installing plugins (#1896)
Where NPM@5 whould rely on package-lock.json and not actually install new entries in package.json.
2017-06-02 15:52:38 +02:00
Albin Ekblom
07ef0079fa 🎉 Check for WScript.exe (#1872)
* 🎉 Check for WScript.exe

* 🔥 Move openConfig

* 🔥 Make openNotepad mimic openItem

* 🌹 Add comments

* 🔥 Cleanup windows workaround

* 🔥 Cleanup

* 🎉 Use openConfig on darwin too
2017-05-26 12:23:25 -04:00
Benjamin Staneck
8f02bc7014 Fix icon path in about window (#1874) 2017-05-26 10:09:39 -04:00
Philippe Potvin
3c1f359198 Refactor menu internals (#1867)
* Keymaps part@1 move menus
* Gather all paths in a module
2017-05-26 08:59:02 +02:00
Benjamin Staneck
871fca5988 Update node-pty to 0.6.6 (#1856)
Comes with winpty 0.4.3 (https://github.com/rprichard/winpty/releases/tag/0.4.3)
2017-05-21 21:43:09 -07:00
Albin Ekblom
e09a7f717d Upgrade electron to 1.6.8 (#1848)
* Upgrade deps

* Remove --harmony flag

* Add --harmony-async-await flag

* Pin deps

* Use cheap-module-source-map for dev

See https://github.com/webpack/webpack/issues/2145#issuecomment-294361203

* Update yarn.lock
2017-05-20 14:35:11 -07:00
Liudas Dzisevicius
55345ebe25 Fix Windows context menu (#1831)
System context menu refactoring.
Fix problems when update/uninstall Hyper.
2017-05-20 19:46:33 +02:00
Benjamin Staneck
a2fb0eed34 Update node-pty to 0.6.4 (#1832)
Fixes https://github.com/Tyriar/node-pty/issues/67 and enables https://github.com/henrikdahl/hyper-statusline/issues/38
2017-05-16 12:20:50 -07:00
Jing Dong
8ef134d8d5 Add documentation for Windows shells in config file (#1605)
* Add documentation for Windows in config file
Give real example for bash and PowerShell setup
2017-05-14 12:33:21 +02:00
Guillermo Rauch
0080f1da81 bump version 2017-05-12 14:50:04 -07:00
Guillermo Rauch
79e12de2ff only use a 2000 interval for non-push watch file approaches (e.g.: windows)
LGTY @paulbouwer @shama??
2017-05-09 14:12:41 -07:00
Guillermo Rauch
0bf5fade30 Release 1.3.2 2017-05-09 12:20:23 -07:00
CHaBou
00693de12e Open Hyper config in the native desktop's default manner (#1784) 2017-05-08 20:00:58 -07:00
Max Shepard
fc51f97283 Round up float values for hamburger menu positioning. Fixes #1462 (#1753) 2017-05-04 00:30:00 +02:00
Paul Bouwer
ae70eb1e17 Modify config watch interval to 2s (#1699) (#1772) 2017-04-30 15:50:46 -04:00
Albin Ekblom
aa7e79a039 🐛 Handle electron default env (#1764) 2017-04-28 13:57:17 -07:00
Regin Larsen
ec18537d96 Simplify and correct newlines replacement logic on Windows (#1713) 2017-04-05 14:37:04 +02:00
Matheus Fernandes
a4618a55af
1.3.1 2017-03-10 14:31:53 -03:00
CHaBou
3fb2e04eae Fix decorators check and documentation (#1601) 2017-03-05 18:19:28 -05:00
CHaBou
1f3ea081e8 Fix flicks after a full reload or when close tab button (dis)appear. (Fix #1490, #1575, #1579) (#1602)
* Fix term text flick when mouse is hovering tab

* Fix flick issue after a full reload
2017-03-05 13:34:03 -03:00
OJ Kwon
3df8274bf0 Falls back to default shell to install plugin on win32 (#1565)
- related to #1480
2017-02-27 15:09:22 -08:00
Matheus Fernandes
7aa8188ddd
1.3.0 2017-02-23 08:10:59 -03:00
Henrik
1cd2620da0 lowercase readme.md (#1577)
Lowercasing `README.md` to match commit changing the readme and license files to lowercase 3fbf1b0dca
2017-02-23 11:02:36 +01:00