Commit graph

596 commits

Author SHA1 Message Date
Timothy
810e0a9806 Remove contributors from MIT license (#1036) 2016-11-23 15:50:10 +01:00
Matheus Fernandes
833383a1cc
v1.0.0 2016-11-22 12:23:17 -02:00
Matheus Fernandes
aec7042274
Add GH_TOKEN to AppVeyor 2016-11-22 12:17:57 -02:00
Matheus Fernandes
332d3037ef
Introduce a lint task 2016-11-22 10:42:06 -02:00
Matheus Fernandes
23b7687167
Lint the code before trying to build it 2016-11-22 10:36:32 -02:00
Matheus Fernandes
a1cb07e3cf Add AppVeyor badge 2016-11-22 10:27:45 -02:00
Liudas Dzisevicius
0c30fc0bcf Add shell menu feature (#1017)
* Add shell menu feature

* Rename and remove cofig option
2016-11-22 10:06:03 -02:00
Matheus Fernandes
ed76f4e4af
Remove the start task 2016-11-22 09:59:55 -02:00
Matheus Fernandes
31721e5c29
Use the correct EOL character based on the current OS 2016-11-22 09:48:40 -02:00
Matheus Fernandes
d34765faa6
Remove duplicated message and add a missing one 2016-11-22 09:48:17 -02:00
Matheus Fernandes
bf163bb668
Add rpm target 2016-11-19 18:56:04 -02:00
Tim Neutkens
cd47cc7636 Allow require of plugin apis (#977)
* Allow require of plugin apis

* missing semicolon
2016-11-19 18:18:07 -02:00
Greenkeeper
6853a5c66f chore(package): update react-redux to version 4.4.6 (#994) 2016-11-19 18:11:59 -02:00
Weslley Araujo
47f01f92e4 Add an active class on current session panel (#905)
* feat(session): add session_active class to panels

* fix(active-session): rename active session class

see #905

* fix(active-session): rename prop name to `isTermActive`
2016-11-19 18:05:48 -02:00
Greenkeeper
85968b71b3 chore(package): update xo to version 0.17.1 (#991) 2016-11-19 16:45:56 -02:00
Levin Rickert
638725fea6 Added pressed state to window buttons on windows / linux (#985)
* Added pressed state to window buttons on windows / linux

* Removed transition causing flicker

* Do not reset color on close button while not hovering but active
2016-11-19 18:05:53 +00:00
Greenkeeper
039729221f chore(package): update eslint-plugin-react to version 6.7.1 (#996) 2016-11-19 15:55:20 -02:00
Stefan Ivic
b988befea4 [Win] Improve design of the scrollbars (#982)
* [Win] Improve the design of the scrollbars

* Fix code style

* Apply `borderColor` as the `backgroundColor` for the scroll bars
2016-11-19 15:51:01 -02:00
Dylan Frankland
a5b457ed13 Update old electron target engine for dependencies (#970)
This fixes dependencies of Hyper that build based on the engine being
used (`nodegit` for example).
2016-11-19 14:38:27 -02:00
Greenkeeper
08a4c93579 chore(package): update electron to version 1.4.7 (#1007) 2016-11-19 11:57:34 -02:00
Matheus Fernandes
b97b2dde7c
Bummp uuid to match the root package.json 2016-11-19 10:56:10 -02:00
Greenkeeper
ac02dcb890 chore(package): update uuid to version 3.0.0 (#1014) 2016-11-19 10:50:47 -02:00
Greenkeeper
e9dcd21816 chore(package): update ava to version 0.17.0 (#1009) 2016-11-19 10:42:47 -02:00
Zach Buttram
fb2f1d8e1e Start the shell with the correct cwd on Windows (#1016)
* fixes zeit/hyper#1011

* more succinct fix for zeit/hyper#1011
2016-11-18 18:27:38 -02:00
Matheus Fernandes
271a221979
Fix character escaping in the open preferences message 2016-11-18 09:07:34 -02:00
Benoit Averty
da4858a76e Unicode Support / Cursor issues Fix (#740)
* Add container with a fixed width around unicode characters

* Make container width dynamic and fix wide chars clipping issue

* Finer control on the creation of containers for text inserted in the terminal
2016-11-17 17:12:23 -08:00
Matheus Fernandes
27a20e0cfc Add support for composed chars and fix issues with "foreign" keyboard layouts (#1006)
* ime

* Fix code style

* Add visual feedback for composition events

* Temporarily disable `hterm`'s `onKeyDown` hacks

* Replicate the focus/blur state of our caret on the `hterm` caret

* Fix: focus our caret when there's a tab change

* `caret_` => `hyperCaret`

* Reorg: move the caret hacks to the `hterm.js` extensions

* Remove `console.log`

* Remove the `Dead key` hack and reenable keyboard commands

* Add a (temporary?) fix to re-enable text selection

* Check for a selection `onMouseUp` instead `onFocus`

* Fix wrong buggy hterm's cursor styling on term focus/blur

* Fix the cursor style after the bell rings – closes #674

* Enable `acceptFirstMouse` to focus the correct term – closes #861

* Fix code style

* Fix: clear the `hyper-caret` when a char is inserted via the IME dialog

* Remove useless function

* Add coments regarding text selection

* Fix code style
2016-11-16 10:44:04 -08:00
Matheus Fernandes
0585607da4 Fix/pty.js build (#1001)
* Upgrade `electron-builder` to its latest version and pin it

* Fix linux executable path – see electron-userland/electron-builder#877

* [Windows] Build `squirrel` executable instead of `nsis`
2016-11-16 10:01:02 -02:00
Matheus Fernandes
3902f8dac4 babel => babel-loader (#1000) 2016-11-15 19:37:34 -08:00
Sergei Vorobev
8573976260 Add artifacts publishing on windows (#984) 2016-11-15 19:39:23 -02:00
Matheus Fernandes
9c90e19760 Add Windows support and first-class Linux support (#946)
* `child_pty` => `pty.js`

* Create a frameless window on Windows and Linux

* Add a brand new UI for Linux and Windows 💅

* [Windows] Fix plugin installation

* [Windows] Fix the `build` script

* [Windows] Add a bigger `icon.ico`

* [Mac] Add `WebKitAppRegion: drag` when running on macOS

* Fix code style 🤔

* Add `appveyor.yml`

* Fix code style (again)

* [Windows] Fix AppVeyor's `install` script

* [Windows] Try a new AppVeyor config

* [Windows] Set the binary path so Spectron can run the tests

* [Windows] Try to build on x64

* Try again to build on x64

* Try one more time 😩

* Throw an error to indicate that `pty.js` was built incorrectly

* [Win/Linux] Add `display: hidden` to <Tabs /> if tabs.length === 1

* [Win/Linux] Reorganize SVGs – via @CodeTheory

* [Win/Linux] Fix the hamburger menu height

* Make the SVGs look better with `shape-rendering: crispEdges;`

* [Win/Linux] Add config options for the window controls and the 🍔 menu

* Add `electron-squirrel-startup` dependency

* [Win] Handle Squirrel commands

* [Win/Linux] Fix default color for the 🍔 and window controls – via @CodeTheory

* [Win/Linux] Add some padding - via @CodeTheory

* [Win/Linux] Add hover states – via @CodeTheory

* [Win] Fix empty window/tab titles

* [Win] Fix opening Preferences (#978)

* [Win] Fix opening Preferences

* Update ui.js

* Update ui.js

* Enhance messages and default editor

* [Win] Add dependency instructions to the README.md [skip ci]

* Fix code style

* [Win/Linux] Check the number of open windows before quitting the app
2016-11-11 15:18:04 -02:00
Philippe Potvin
26701d43b5 Fix selection extend when copyOnSelect is true (#975) 2016-11-10 00:03:08 -02:00
Igor Stroganov
48dd4b5c1f Fix inverted text display. Fix #883 (#968)
* Fix inverted text display. Fix #883

* Add a comment explaining setBackgroundColor override
2016-11-10 08:11:51 +08:00
Greenkeeper
4643099911 chore(package): update color to version 0.11.4 (#950) 2016-11-04 19:21:36 -02:00
Philippe Potvin
265024cb45 Remove unused blur/focus (#947) 2016-11-04 15:52:03 -02:00
Greenkeeper
6d91ab48d6 chore(package): update electron to version 1.4.5 (#949) 2016-11-02 07:42:57 -02:00
Vladimir Starkov
41d54d58de add onRendererWindow, because it actually available. check ./lib/utils/plugins.js:193 (#924) 2016-10-29 13:15:46 +02:00
Vladimir Starkov
7d05d0f148 increase timeout for update checks (#928)
* increase timeout for update checks

It seems like, there are lots of them and GitHub is not happy.
So increasing timeout 6x should fix that. In the end there is no need
to check updates every 5 minutes.

Fix #880

* restore check updates on start
2016-10-29 13:14:39 +02:00
Oliver Dunk
6b385036d7 Change URL regex - fixes #867 (#943) 2016-10-29 13:13:53 +02:00
Mike Engel
8cc47a498c Make the close menu items less ambiguous
@Tyriar brought up a good point in #123 that the close menu items can be
ambiguous and misleading. This clarifies them so you know exactly what
you're closing.

Fixes #123.
2016-10-25 22:34:28 -04:00
Leo Lamprecht
630f0f4504
Comply to XO's no-warning-comments rule 2016-10-25 15:04:37 +02:00
David Gómez
8f28573fc0 Prefer default export to make XO happy (#931)
* Comply with prefer-default-export rule for findBySession function

* Remove XO's prefer-default-export rule

* Comply with prefer-default-export rule for init function

* Comply with prefer-default-export rule for getRootGroups function

* Comply with prefer-default-export rule for INIT constant

* Comply with prefer-default-export rule for isExecutable function

* Fix default export for constants

* Comply with prefer-default-export rule for last function

* Comply with prefer-default-export rule for getColorList function
2016-10-25 14:53:15 +02:00
Greenkeeper
de5b384ccd chore(package): update ms to version 0.7.2 (#933) 2016-10-25 14:51:32 +02:00
Greenkeeper
4ca51f3377 chore(package): update copy-webpack-plugin to version 4.0.0 (#927) 2016-10-24 11:17:28 +02:00
Vladimir Starkov
698cdb0e31 log plugins' errors in Electron console (#923)
Default `err.message` notification is not helpful,
because it lacks stack and context.

it doesnt hurt for end users to add `console.error(err)`,
because they arent gonna see it. Though, as far as `console.error`
is being logged in Electron console, developers will get
enough information to identify problems with plugin they are developing.
2016-10-23 09:42:58 -02:00
Andrea Parodi
97432df7a4 Improve tabs title (#892)
* Set tab title when asked by the contained shell process via ANSI code

* Commented out process polling code

* Removed unused module and constant

* Remove getTitle method

* Removed props binding

* Removed polling clearTimeout

* Removed session focus & blur

* Remove listening for session `title` event

* Removed SESSION_SET_PROCESS_TITLE action

* Removed remainig blur
2016-10-22 13:05:32 -07:00
Vladimir Starkov
3f772311db increase notification timeout up to 30m (#913)
fetchNotifications error can happen in two cases:
* https://hyper-news.now.sh is down
* you are offline

In both cases it doesn't hurt to wait half an hour.

PS. right now it hurts, when you are offline and developing
anything for Hyper, `console.error` logs the same error
every 10s and ruins your investigation.
2016-10-22 12:16:05 -07:00
Timothy
7d0c81402e Create github templates (#919)
* Create an issue template

* Make it clear what `Vanilla` is

* Create pull_request_template.md

* Update issue_template.md

* Update pull_request_template.md

* Add `https://`

* More information for maintainer contributions

* Be inclusive of other systems
2016-10-22 02:34:44 +01:00
Greenkeeper
4b477d328b chore(package): update electron to version 1.4.4 (#907) 2016-10-21 15:59:12 +02:00
chabou
3f352ec137 Prevent Hterm to share same preferences between instances (#906)
* Add a random profileId to hterm instance to differentiate PreferenceManager used internally

* Use getPrefs() method instead of accessing prefs_ private property directly
2016-10-19 15:55:06 -07:00