Commit graph

389 commits

Author SHA1 Message Date
Ives van Hoorne
749d1f4681 Fix maximizing behaviour (#176)
* Fix maximizing and minimizing

* Emit via side effect in action creator

* Store window state in the store

* Move unmaximize for diff
2016-08-06 11:01:01 +01:00
James Hall
9b42c5ff52 Fix mapXDispatch and allow plugin to access onWheel (credit: lkzhao) (#578)
* Fix mapXDispatch && allow plugin to access onWheel see https://github.com/zeit/hyperterm/pull/563
2016-08-06 10:17:09 +01:00
Albin Ekblom
cc112b6683 Use single quotes for better compatibility (#575) 2016-08-06 09:44:23 +01:00
Albin Ekblom
f954a1e7bc Add config for bell (#468)
* Add config for bell

* Use Set instead
2016-08-05 23:30:40 +01:00
Greenkeeper
ad586d6ba2 chore(package): update electron-prebuilt to version 1.3.2 (#553)
https://greenkeeper.io/
2016-08-05 13:59:16 +02:00
Lorenzo Zottar
3dd8eadc90 Moved "file-uri-to-path" dep to app package.json (#569) 2016-08-05 10:03:49 +01:00
Lorenzo Zottar
9d65cb74c0 File dropped into terminal window adds path to command line (#559)
* Added file-uri-to-path dependency

* Added new rpc event to send data to session

* Modified sendSessionData to use activeUid if no uid is passed to function

* "will-navigate" prevented on file drop, path added to session
2016-08-04 14:43:57 +01:00
James Hall
77a103fbf1 [WIP] Add proper window support (#547)
* Add proper window support to both the top menu, and the dock

* Sort out linting

* Only create dockMenu on Mac

* Remove label from menu as it is not needed when using role

* Fix spacing
2016-08-04 01:52:31 +01:00
Matheus Fernandes
f175268912 Add the very first test 🎉 (#549)
* Add syntactic support for tags - #412
* Add the very first test 🎉
* Simplify multiple assertions into one
2016-08-03 16:39:58 -03:00
Mike
2d4b518519 Prevent hovering on tabs from causing text flicker (#492)
* Prevent hovering on tabs from causing text flicker

For some reason, geometricPrecision was causing text to flicker on
non-retina screens when hovering over the tabs

* Use a pixel ratio media query for text-rendering on retina displays
2016-08-02 12:09:54 -07:00
Adam Stacoviak
becced8057 Add Changelog episode badge to README (#543)
Links to: https://changelog.com/213
2016-08-02 12:08:41 -07:00
Richard Zhao
011ae3fd52 Add support for environment variables in config (#534)
* Allow env to be specified in config (#424)

This is referencing #424. User specified environment variables
in the `.hyperterm.js` file are expected under a field named `env`.

An example config:

```
module.exports = {
  config: {

    ...

    // Environment variables
    env: {
      WHAT_UP: 'heyo',
    }

    ...

  },

  plugins: [],

  localPlugins: []
};
```

* Add env field to default config
2016-08-02 08:49:25 +01:00
Greenkeeper
20e8d5e169 chore(package): update eslint-plugin-react to version 6.0.0 (#544)
https://greenkeeper.io/
2016-08-02 01:30:57 +01:00
James Hall
519210ece6 Initial support for pressing ~ ^ " ' ` on international keyboard layouts until composed characters lands (#521)
* International keyboard support fixes

* Use correct tilde character

* Add correct caret char

* Add alternate key code mapping for ~ and ` - credit: fecabianchi
2016-08-02 01:08:51 +01:00
James Hall
c9fe3d82db Add support for opening the terminal on the correct display (#519)
* Add support for opening the terminal on the correct display

* Fix whitespace issue

* Start from the top left again when we run out of space

* Add semicolon
2016-08-02 01:00:49 +01:00
James Hall
aa84fde6b3 Tidy rogue build file (#546) 2016-08-02 00:21:35 +01:00
James Hall
7d765d531e Fix space escaping in paths dragged onto the icon (#545) 2016-08-02 00:02:46 +01:00
Lorenzo Zottar
7e941b0451 Handling file opening (#329)
* Add function to escape a shell argument.

* Keep track of the last used window.

* Implement support for the open-file event.

* The shell escape regex needs parentheses to be captured.

* Removed lastWindow and added getLastFocusedWindow method to app

* Create window create new session only if no callback passed

* Added app.windowCallback to handle open-file before "ready"

* Small lint fixes

* Differeent open file handling: check if it is directory, and if the file is executale or not

* Small fixed and added some comments

* Added php-escape-shell module in place of custom escapeShellArgument()

* Fixed wrong code and added detailed comment

* Aliased php_escapeshellcmd import

* Rebased; added error handling in OpenFile

* changed string contatenation with template literal

* Pinned php-escape-shell dependency

* Typo fix

* getLastdFocusedWindow now uses Array.prototype.reduce()

* Notify users of unexisting path while open file
2016-08-01 23:52:21 +01:00
Albin Ekblom
3198a90823 Use configured shell to update plugins (#447)
* Use configured shell to update plugins

* Make it more compatible

* Use shell-env@0.2.0
2016-07-30 20:51:09 +02:00
Guillermo Rauch
e295e6f66e package: bump render mixin (#520) 2016-07-30 10:12:07 -07:00
James Hall
c95ca509f3 Fallback to nano if no editor is set (#517)
* Fallback to nano if no editor is set

* Add notepad fallback for windows

* Remove padding

* Use constant instead of var
2016-07-30 10:10:01 -07:00
Greenkeeper
e4042d0628 chore(package): update react-dom to version 15.3.0 (#510)
https://greenkeeper.io/
2016-07-29 21:13:15 -07:00
Guillermo Rauch
988f32e373 make the auto updater work on windows (#514) 2016-07-29 21:12:53 -07:00
Greenkeeper
990c138cf3 chore(package): update react to version 15.3.0 (#512)
https://greenkeeper.io/
2016-07-29 21:12:44 -07:00
Darin Morrison
60fbc122a8 Fix #467 and #206; quit app on window close (#489) 2016-07-29 21:12:21 -07:00
Guillermo Rauch
0780f86b47 make eslint work again :P (#515) 2016-07-29 17:44:06 -07:00
Albin Ekblom
7d49546cd6 Use semver (#513) 2016-07-29 15:57:06 -07:00
Leo Lamprecht
c3e4cbebe4 Fix code style 2016-07-29 22:40:46 +02:00
Albin Ekblom
220b29c6c7 Correct css Blob type (#508) 2016-07-29 22:30:36 +02:00
Leo Lamprecht
7be0730e99 Merge pull request #507 from zeit/greenkeeper-eslint-3.2.0
Update eslint to version 3.2.0 🚀
2016-07-29 22:28:00 +02:00
greenkeeperio-bot
5ab4c43f6f chore(package): update eslint to version 3.2.0
https://greenkeeper.io/
2016-07-29 21:06:58 +02:00
Leo Lamprecht
a8fd7bbd86 Merge pull request #497 from zeit/greenkeeper-electron-builder-5.19.1
Update electron-builder to version 5.19.1 🚀
2016-07-29 14:06:26 +02:00
greenkeeperio-bot
0c41105f4c chore(package): update electron-builder to version 5.19.1
https://greenkeeper.io/
2016-07-29 11:59:45 +02:00
Leo Lamprecht
1127182b6f Indicate command line 2016-07-29 10:08:10 +02:00
Leo Lamprecht
23320bc72f Merge pull request #487 from 7373Lacym/add-localhost-regex
changed regex for most forms of localhost
2016-07-28 22:18:36 +02:00
Leo Lamprecht
8ec4e7ae74 Merge pull request #488 from chabou/prevent_shell_history_pollution
Add comment for PR #478
2016-07-28 21:55:06 +02:00
CHaBou
31731f55f4 Add comment for PR #478 2016-07-28 21:45:19 +02:00
Mitch Lacy
ccbcae0856 added regex for most forms of localhost 2016-07-28 14:12:21 -05:00
chabou
b3dec55f29 Preventing shell history pollution (#478) 2016-07-28 10:44:50 -07:00
Leo Lamprecht
8874feff76 Fix close tab icon
This closes #449
2016-07-28 11:28:41 +02:00
Leo Lamprecht
2a13f3a38f Copy assets to app directory 2016-07-28 11:28:04 +02:00
Darin Morrison
d05d82cb32 Use babel for minification (#471) 2016-07-27 19:02:19 -07:00
Leo Lamprecht
2dec8a0da2 Much more explicit 2016-07-27 17:12:16 +02:00
Leo Lamprecht
f2888f4195 Build badge is more important 2016-07-27 17:08:51 +02:00
Leo Lamprecht
1a98495f3f Use links for related repos 2016-07-27 17:03:50 +02:00
Leo Lamprecht
c99ca223c3 Make it less blocky 2016-07-27 17:02:21 +02:00
Leo Lamprecht
07c547b87a More samples 2016-07-27 16:01:14 +02:00
Leo Lamprecht
d4f7248392 Bye, heading 2016-07-27 15:56:31 +02:00
Leo Lamprecht
3de2a2abec New banner 2016-07-27 15:56:13 +02:00
Leo Lamprecht
f373822f81 Explain how to contribute in a more detailed way 2016-07-27 15:50:04 +02:00