Commit graph

284 commits

Author SHA1 Message Date
Guillermo Rauch
c4a1423818 Revert "Use node6 es2015 features; remove extra transforms (#327)"
This reverts commit 9e3fe9228d.

@freebroccolo while great in theory, this breaks uglifyjs.
minification provides an important advantage in interpretation
time (and therefore reduced bootup time)
2016-07-23 13:26:30 -07:00
Guillermo Rauch
506d176a8c package: bump version for builds 2016-07-23 13:18:44 -07:00
Martin Ek
6e79beafd4 app: correctly dispatch ui actions (#369) 2016-07-22 17:26:05 -07:00
Martin Ek
4849dfe96b app: move to the last term with cmd+9 (#261)
This mimics the behavior of Chrome, Firefox, iTerm 2 and similar,
by moving to the last possible tab when Command + 9 is pressed.

Fixes #255.
2016-07-22 12:38:15 -07:00
Guillermo Rauch
f989224a20 term: make sure shim doesn't capture clicks 2016-07-22 11:49:25 -07:00
Mike Kruk
68ea77c608 support default width/height of browser window (#257) 2016-07-22 11:47:23 -07:00
Nick Christensen
1af99f1338 Add ctrl+tab/ctrl+shift+tab for tab switching (#367) 2016-07-22 10:34:37 -07:00
Amila Welihinda
0782c77560 Added link to slack badge (#361)
* Added link to slack badge

* Changed url to https://zeit.chat/
2016-07-22 09:24:25 -07:00
Nathan Rajlich
5fcf250c04 add TERM_PROGRAM and TERM_PROGRAM_VERSION env vars (#350)
* add `TERM_PROGRAM` and `TERM_PROGRAM_VERSION` env vars

MacOS's Terminal.app sets these same env variables.
They're useful to be able to sniff out the type of
terminal emulator and do different settings in your
bashrc / vimrc / etc. configuration files.

So for example, `TERM_PROGRAM` will be "HyperTerm",
and `TERM_PROGRAM_VERSION` will be the value from `package.json/version`.

* fix require package.json path
2016-07-21 20:27:07 -07:00
Arni Fannar
db7aed53ad Remove $ from README.md (#358)
as discussed in: https://github.com/zeit/hyperterm/pull/356
2016-07-21 20:26:32 -07:00
Nathan Rajlich
8e86883989 fix lint (#351)
* fix lint

* restore `notify` require, add eslint disable comment
2016-07-21 20:26:10 -07:00
Darin Morrison
f385df4ada ⬆️ electron-prebuilt@1.2.8 (#359) 2016-07-21 20:25:33 -07:00
William
2e9ac60b2b Add middle click to close tab functionality (#286) 2016-07-21 17:33:10 -07:00
Dan Prince
b06f28ae10 Adds plugin hook for decorating the electron browser options (#310)
* adds hook for decorating the electron browser options

* pass browser options to decorator
2016-07-21 17:32:39 -07:00
Arni Fannar
c573001774 Added cask update instructions (#356)
I setup cask loong time ago and hadn't updated cask since then. Had to update cask before I was able to install hyperterm. Also not the first one to encounter this: https://github.com/zeit/hyperterm/issues/295 :)
2016-07-21 17:30:18 -07:00
Oskar Cieslik
e66d6c90f0 Add support for multiple cursor shapes (#352)
* Add config support for cursor shapes

* Add cursorShape to default config
2016-07-21 16:15:23 -07:00
Nathan Rajlich
4206f4e96f add LANG env variable (#354)
Fixes #346.
2016-07-21 15:58:30 -07:00
Rafael Specht da Silva
0c3d25dd19 fixing syntax error 'missing parenthesis' on ui.js when running 'npm run dev' (#353) 2016-07-21 15:57:52 -07:00
Ayhan
b4dabfd94a Linux Support (#341)
* Fix linux autoupdate

* Linux support

* fix
2016-07-21 12:46:00 -07:00
Guillermo Rauch
bd93dfa022 auto-updater: stop notifying and being annoying 2016-07-21 12:44:25 -07:00
Ayhan
01e923b263 Fix quit problem (#343) 2016-07-21 12:34:28 -07:00
Mike
400d70e9df Allow the color config to be an object (#193)
* Allow the `color` config to be an object

It only covers the ANSI 16 as named colors, but allows for an array to
be used if the full color palette wants to be overridden.

* Better handling for array color configs vs. object configs
2016-07-21 12:24:00 -07:00
Darin Morrison
9e3fe9228d Use node6 es2015 features; remove extra transforms (#327) 2016-07-21 12:18:07 -07:00
Daniel Imms
12250cea19 Remove $ from terminal commands in README (#130)
* Remove $ from terminal commands in README

So they can be copied and pasted a block at a time

* Remove dependency on globally installed webpack
2016-07-21 12:07:35 -07:00
Harrison Harnisch
51b72325f2 configurable cursor opacity (#76) 2016-07-21 12:07:19 -07:00
Darin Morrison
c83f1563b4 Hook scripts (#328)
* Add commit hooks

* Fix linter issue
2016-07-21 11:57:45 -07:00
Blake Embrey
ab058e6e8b Update rounded header radius (#333)
Closes #332
2016-07-21 11:54:53 -07:00
Ayhan
29d32ca4f5 Fix linux autoupdate (#338) 2016-07-21 11:54:14 -07:00
Guillermo Rauch
099bf9d347 Update README.md 2016-07-21 11:49:29 -07:00
Kyle Holzinger
392ce6b127 specify bash to run command in (#314) 2016-07-20 15:22:36 -07:00
Darin Morrison
513bdb3941 Update dependencies (#319) 2016-07-20 15:22:09 -07:00
Darin Morrison
31eebf2d05 Add .editorconfig file (#320) 2016-07-20 15:21:37 -07:00
Darin Morrison
6072b4ca90 Fix linter issues (#321) 2016-07-20 15:21:29 -07:00
Marc Bachmann
f1facf4a32 Add window zoom menu item (#325)
* Move window close button into shell submenu

IMO actions that affect a session don't belong into the window menu.

* Add window zoom menu item

fixes #234
2016-07-20 15:20:53 -07:00
Marc Bachmann
3b08c68d97 Disable pinch zoom functionality (#326) 2016-07-20 15:20:40 -07:00
Mike
a81771b27d Fix prop update logic for fontSmoothing (#302) 2016-07-20 10:08:54 -07:00
Jonathan Cuthbert
a2363c52bd allow opening of files in webview (#305) 2016-07-20 10:08:12 -07:00
Lorenzo Zottar
c75d5dedd0 Modified Info.plist generation to enable folder drop onto dock icon (#307)
* Added CFBundleDocumentTypes to package Info.plist generation

* More precise CFBundleDocumentTypes in Info.plist
2016-07-20 09:52:19 -07:00
Dylan Frankland
b938ad4c58 Fix installing plugins that use node-gyp (#291)
* Fix installing plugins that use `node-gyp`

Sets the proper environmental variables to install plugins that have
specific needs for compilation e.g. `nodegit`.

* Get Electron version from `package.json` for plugins env variable
2016-07-19 16:22:56 -07:00
Mike
b76e004309 Dynamically change the font-smoothing pref (#205)
* Dynamically change the `font-smoothing` pref

By default, hterm defaults to `font-smoothing: 'antialiased'`, which
works really well on retina displays. On non-retina displays, however,
the type looks very thin and is hard to read.

This will look at the devicePixelRatio of the device anytime the term
prefs are set, and change between `antialiased` and
`subpixel-antialiased` dynamically.

* Refactor to add the font smoothing override into state

This also subscribes to the electron `move` event to control when this
piece of state gets updated.

* Add UI_WINDOW_MOVE action with a side effect for font smoothing
2016-07-19 11:30:57 -07:00
Marc Bachmann
961a39e8f3 Add cursor actions (#217)
* Add cursor actions

* Use Command+Option+Left shortcuts to change tabs

This changes the behavior the ones of sublime & chrome
2016-07-19 10:48:11 -07:00
Mauro Otonelli
a8de019665 Override the buggy hexToRGB implementation in hterm. (#272) 2016-07-19 10:46:26 -07:00
Harrison Harnisch
7a3d661afd add reducer to set cwd (#271) 2016-07-19 10:45:28 -07:00
Zakaria Ridouh
ed143ea9ba add homebrew cask install method (#273) 2016-07-19 10:44:44 -07:00
Pierre Margueritte
fee4acbf5a Fix #88 (#279) 2016-07-19 10:43:52 -07:00
Jason Miller
dc9b4d371f Add support for a registry configuration field (#211)
* Add support for a `registry` configuration field

For those of us using a system-wide private registry, this helps by allowing hyperterm to bypass it when installing/updates plugins.

* Use getDecoratedConfig()

* registry -> npmRegistry

* no message
2016-07-18 17:50:58 -07:00
Cameron Spear
17af6cb85d Expose 'getWindows' and 'createWindow' to plugins (#248) 2016-07-18 17:11:30 -07:00
Sean Zhu
610d6c6d3e Make preference-opening command universal (#267)
The `$EDITOR ~/.hyperterm.js && exit` requires that the default shell recognize variables as commands and to recognize the `&&` syntax, so it does not work with fish shell. The new command works with all common shells, including fish.
2016-07-18 16:59:16 -07:00
Marc Bachmann
b6e5bf63c7 Remove unused state variable (#268) 2016-07-18 16:58:50 -07:00
Conor Hastings
e073de9aea remove unnecessary comment referencing use of !important due to aphrodite" (#223) 2016-07-18 15:16:02 -07:00