Commit graph

675 commits

Author SHA1 Message Date
Matheus Fernandes
40d5c2fbe0
Bump webpack to 2.2.0 – closes #1439 2017-01-21 21:35:10 -02:00
Josh Adams
993b8f6833 Add support for the fish shell (#1181)
* Add support for the fish shell

Fixes #1142

The fish shell is not POSIX-compliant.  As a result, the installation
command's use of `&&` caused `updatePlugins` to fail, erroneously
claiming there would be details in `~/.hyper_plugins/npm-debug.log`.

They of course weren't there because the command it tried to run was an
invalid command.  I've added an object to choose the install command to
run based on the shell you're in, and a very basic test to determine if
we're in fish.  Most shells should be able to be handled by the
'default' key, so for now it just checks to see if it's fish by doing a
regex on the configured `shell` option.

* Rename default -> posix
2017-01-21 17:03:58 -02:00
Sam Marder
edff890f5f Add --help and --version command line arguments (#1278)
* Added --help command line argument.

Also looks for -v and --version.

* Fixing linting issues.

* Deleted incorrect comment that used to make sense.

* Cleaner arguments checking.

* Used newer JS syntax.
2017-01-21 16:54:32 -02:00
Matheus Fernandes
a0a8484158
Always open the DevTools in the detached mode – closes 1173 2017-01-21 16:42:33 -02:00
Matheus Fernandes
bbd14bca09
Bump node-pty to 0.6.0 – Closes #1186 #1127 2017-01-21 16:07:08 -02:00
Matheus Fernandes
17bfdbd552
Update dependencies @ yarn.lock
Previous commits used `npm` to upgrade/install deps, so yarn was outdated
2017-01-21 15:47:31 -02:00
Matheus Fernandes
26167ab38a
Remove V8LazyParseWebpackPlugin – closes #1418
Check webpack/webpack#3980 for more info
2017-01-20 19:32:39 -02:00
Miguel
5fa9006505 Fix typo in issue's template (#1431) 2017-01-20 07:42:06 -02:00
Paul Betts
2670b17872 On Win32, write out default .hyper.js as CRLF so Notepad doesn't have a fit (#1383)
* On Win32, write out default .hyper.js as CRLF so Notepad doesn't have a fit

* Fix hwhoops

* Add explanatory comment
2017-01-19 12:11:35 -02:00
Matheus Fernandes
b4943a05e9 🐛 Fix copy/paste shortcuts on Windows/Linux 🎉 (#1406) 2017-01-18 13:19:11 -02:00
Matheus Fernandes
d54fa3889b
Add notes about full paths for the shell config and about PowerShell
Closes #1020
2017-01-15 21:06:22 -02:00
Matheus Fernandes
232295a195 Add the cwd to the redux state (#1412) 2017-01-15 14:40:47 -08:00
Matheus Fernandes
d316592d8f
pty.js => node-pty 2017-01-15 13:34:07 -02:00
Matheus Fernandes
2958f4444f
Add electron-rebuild to prevent node-pty from failing to load – closes #1027 2017-01-15 13:30:32 -02:00
Matheus Fernandes
3cb09e0480
pty.js => node-pty 2017-01-15 13:22:39 -02:00
chantisnake
62c0f80493 Add instructions to install via Chocolatey (#1385)
* add install via chocolatey

* remove the empty line
2017-01-14 20:00:44 -02:00
Matheus Fernandes
f8d5dcd060
🐛 Fix a regression from the previous commit and a comment 2017-01-14 18:12:08 -02:00
Matheus Fernandes
e5c076e82f
🐛 Focus the current tab after switch from a new one – closes #1273 2017-01-14 17:56:18 -02:00
Guillermo Rauch
e1a861659d sanity restored 2017-01-12 13:04:45 -08:00
Guillermo Rauch
fcd56b596a let's try again 2017-01-12 12:47:04 -08:00
Guillermo Rauch
dd5aba4dea fix appveyor 2017-01-12 12:33:28 -08:00
Guillermo Rauch
2094765bf0 remove dist task which doesn't minify 2017-01-12 11:56:01 -08:00
Paul Betts
3d4fbabf3b Disable linebreak-style (#1384)
On Windows, xo will throw errors for literally every line of the app. Rough.
2017-01-11 15:54:08 -08:00
Louis-André Labadie
4a085895e4 Define widths for BEAM and UNDERLINE cursors (#1389) 2017-01-11 15:53:40 -08:00
Jon Galloway
6a9b3f74c5 Open Preferences in Default JS Editor on Windows (#1138)
* Open Preferences in Wordpad on Windows

Notepad doesn't handle `\n` line breaks, Wordpad does. 

Fixes #1126.

* Update: Use Win editor from reg

If not found, or set to notepad.exe (which can't handle line breaks), show hyper.js config file in folder so user can open in editor of their choice.

* Fixes for Windows

Fixed shell reference, corrected lint errors.

* Fixes for Windows

Fixed shell reference, corrected lint errors.

* Fixes for Windows

Fixed shell reference, corrected lint errors.

* Always show .hyper.js in folder for prefs

* Always show .hyper.js in folder for prefs

* Fixed electron import
2017-01-10 21:49:32 -08:00
Paul Betts
0ff1cb9584 Windows titlebar improvements (#1307)
* Make double-clicking on the titlebar work

* We don't actually need this

* Draw a Restore icon when the window is Maximized

* Update React State when BrowserWindow changes behind our back

* Cleanup

* Don't show the border if the window is maximized

* Fight with the linter
2017-01-10 21:45:49 -08:00
Albin Ekblom
95e98006c0 Cleanup getWindowHeaderConfig (#1378) 2017-01-10 14:05:19 -08:00
Albin Ekblom
fc685c7d02 Make default config clearer (#1379) 2017-01-10 12:53:32 -08:00
Guillermo Rauch
aec98f08b3 don't cache cc @albinekb 2017-01-10 10:20:11 -08:00
Guillermo Rauch
928a9275cd restore indent lint setting 2017-01-09 19:48:32 -08:00
Guillermo Rauch
fe00d27325 cache invalidation is the root of all evil 2017-01-09 19:46:55 -08:00
Nathan White
470d02dbfd Nw/pty fixes (#1353)
* changed pty package and update references

* fixed linting issues

* added npm clean script
2017-01-09 18:37:46 -08:00
Guillermo Rauch
67cefc50a8 turning off indentation. xo fails in CI but not locally
this has been a bit of a headache. any ideas @sindresorhus?
example failure: https://travis-ci.org/zeit/hyper/jobs/190425529#L425
2017-01-09 15:36:37 -08:00
Guillermo Rauch
bcd5b75795 Release 1.1.0 2017-01-09 14:35:54 -08:00
Guillermo Rauch
12ae25a60b 20% faster bootup time (#1350)
* bump webpack, babel and include babili

* fix for babili

* add heuristics for faster v8 parsing

* lint fixes

* fix windows build. infinitely grateful to @stefanivic for helping us test windows
2017-01-09 13:32:15 -08:00
Guillermo Rauch
74df6920e9 fix decoding race condition with new terminal sessions (#1366) 2017-01-09 16:05:44 -02:00
Nathan White
2b56ab27ad fix travis builds (#1356) 2017-01-08 11:06:00 -08:00
Gabriel Peña
ed990d473b Scrollbar Fix on Mac. Fixes issue #100 (#1354)
* Fix Scrollbar appearance on webkit mac

* fix linting issues
2017-01-07 17:50:00 -08:00
Guillermo Rauch
ea8a32d115 Update README.md 2017-01-06 18:14:52 -08:00
chabou
1b6d925524 Prevent loosing focus after a char composition ended by Tab key. Fix #1341 (#1349) 2017-01-06 17:46:54 -08:00
chabou
0c71863560 Use local config file in dev. Fix #903 (#904)
* Use local config file in dev

* Fix typo

* Reuse path variable to compose localPath

* Fix lint errors
2017-01-04 20:05:19 -05:00
Paul Betts
f139ca80a5 Ensure line endings are correct on Windows (#1230)
This allows Windows users to check out the repo and send in PRs without messing up the line endings, see https://help.github.com/articles/dealing-with-line-endings for more
2017-01-02 17:56:47 -02:00
Tim Neutkens
f6eaef9457 Expose decorate to plugins (#1261) 2016-12-31 20:26:10 -08:00
Guillermo Rauch
6ce24e92fa tweak readme 2016-12-30 16:04:23 -08:00
Vitaly Domnikov
5a164d0a1d fix line height layout (#1322) 2016-12-29 19:19:16 -08:00
aoki
5773a83dc3 Bump win.show() back (#1316)
Bump `win.show()` back
2016-12-29 15:52:37 -05:00
Theodore Dubois
ccf818de5a Add support for cursor styles 5 and 6 to hterm (#1286)
This fixes #270, cursor shape changing in Neovim.
2016-12-24 10:29:52 -08:00
Derek Kniffin
f2ffafbd10 Fix a bug related to the alpha hex calculation (#1048) 2016-12-21 21:31:30 -05:00
Philippe Potvin
c7f195ba01 Fix ctrl+c to close WebView 🍾 (#1287)
* rm hyperCaretFocus => prevent callstask

* keep caret component
2016-12-21 07:19:41 -08:00
Philippe Potvin
ef5caeeb09 Reset bgColor (#1262)
* Reset bgColor

* remove unused

* add precisions comments
2016-12-19 08:17:26 -08:00