Commit graph

254 commits

Author SHA1 Message Date
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
Martin Ek
1214d26323 app: close window when last tab is exited (#263) 2016-07-18 15:12:14 -07:00
Leo Lamprecht
fa4033937e Bring focus to main window when clicking preferences (#235) 2016-07-18 09:44:33 -07:00
Jason Miller
08fc3311f9 Remove unnecessary/odd addEventListener in Term component unmount hook (#242) 2016-07-18 09:44:01 -07:00
Jason Miller
d3736a36aa Mortimer - BE QUIET! (#244)
![book](http://d.gr-assets.com/books/1347876644l/285788.jpg)
2016-07-18 09:43:46 -07:00
Marc Bachmann
112baec8d0 Make CMD + K work for all commands, even tail (#215) 2016-07-17 19:52:29 -07:00
Mauro Otonelli
af945e064c Fixed some documentation typos. (#212) 2016-07-17 14:05:37 -07:00
Mike
8164d673e0 Add an option for a non-login shell to be run (#192)
* Add an option for a non-login shell to be run

By default, however, the user's login shell will be used

* Reset shell default to empty string, and improve documentation
2016-07-17 14:05:08 -07:00
Marc Bachmann
2ecc23fe1f Hide scrollbar when webview is active (#209) 2016-07-17 13:38:02 -07:00
Guillermo Rauch
13c40c9a38 Release 0.6.0 2016-07-17 13:25:49 -07:00
Guillermo Rauch
a5cfe76c61 notification style improvements and link to release notes upon updates 2016-07-17 13:02:34 -07:00
Marc Bachmann
1e1b31aad8 plugins: use user env vars for npm install (#172) 2016-07-17 10:28:24 -07:00
Teemu Kallio
3d7f6fa060 Fixing problems with alt key and special characters like å, ö and ä. (#201) 2016-07-17 10:18:01 -07:00
Hoony
e85f1658ef change the version of eslint-config-standard from 5.3.1 to 5.3.5 (#166)
the previous dependencies between eslint and eslint-config-standard
return the following warn and error.

```
npm WARN peerDependencies The peer dependency eslint@^2.0.0-rc.0
included from eslint-config-standard will no
npm WARN peerDependencies longer be automatically installed to fulfill
the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to
depend on it explicitly.
```
```
npm ERR! peerinvalid The package eslint@3.0.1 does not satisfy its
siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer eslint-config-standard@5.3.1 wants
eslint@^2.0.0-rc.0
```
so updated the version of eslint-config-standard from 5.3.1 to 5.3.5
which is the newest now.
2016-07-16 18:30:26 -07:00
Abhinav I
277e4ee1d9 Fixed an issue where the app icon was not showing up in Linux - report in Issue#126 (#168) 2016-07-16 18:30:12 -07:00
Andrew Murray
dc320e4707 Fixed typo (#152) 2016-07-16 18:26:45 -07:00
Akash Nimare
ec4483cb7f Icon typo fixed in about dialog (#146)
Icon.png does not exist here.
2016-07-16 18:26:32 -07:00
Hugo Locurcio
a63fcebaed Add a copy of the MIT license (#160) 2016-07-16 18:24:53 -07:00
Fernando Montoya
f6f6cb08f4 Fix notification message (#111) 2016-07-16 18:24:16 -07:00
Amila Welihinda
31d560e524 Improved installation method (#104)
Previous method assumes a global installation of webpack, which isnt necessary.
2016-07-16 18:23:27 -07:00
Amila Welihinda
2eab442821 Initial travis ci support (#107) 2016-07-16 18:21:25 -07:00
Sindre Sorhus
c3f41daefa menu improvements (#185)
- Add missing separator after `About`.
- Use `role` instead of deprecated `selector` for menu items
- Add `undo` and `redo` menu items. Both Terminal and iTerm have these.
- Remove indent of the report issue template. The indent ended up in the issue body, which looks weird.
- Add separator after `New Tab`. This is how iTerm does it.
2016-07-16 18:20:52 -07:00
Harrison Harnisch
04c0b1acff Provide hooks to open a new tab to the same directory (#174)
* provide a cwd for #4

* expose a pid for #4
2016-07-16 15:41:13 -07:00
Fernando Montoya
ba84c12788 Fix hypersolar plugin example, it does not exist (#179) 2016-07-16 15:37:46 -07:00
Dylan Frankland
c00d488de2 Fix onWindow hook (#180)
The `onWindow` method of plugins.js has no second parameter of `app`.
Switch to the `BrowserWindow` passed as the first parameter.
2016-07-16 15:37:27 -07:00
Guillermo Rauch
8ca862f1b8 Release 0.5.0 2016-07-16 12:16:55 -07:00
Guillermo Rauch
c2658ff1a0 plugins: improve error handling and introduce getDecoratedConfig 2016-07-16 11:59:20 -07:00
Guillermo Rauch
0ca6faf544 index: notify renderer of plugins changes 2016-07-16 11:58:56 -07:00
Guillermo Rauch
ebb0b7f1d2 index: allow plugin authors to affect initial config 2016-07-16 11:58:41 -07:00
Guillermo Rauch
e8eb170204 index: expose config and plugins to plugin authors in electron process 2016-07-16 11:58:21 -07:00
Guillermo Rauch
4863fe581b app: preserve class names with uglification 2016-07-16 11:58:08 -07:00