Commit graph

142 commits

Author SHA1 Message Date
Greenkeeper
08a4c93579 chore(package): update electron to version 1.4.7 (#1007) 2016-11-19 11:57:34 -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
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
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
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
Greenkeeper
4643099911 chore(package): update color to version 0.11.4 (#950) 2016-11-04 19:21:36 -02:00
Greenkeeper
6d91ab48d6 chore(package): update electron to version 1.4.5 (#949) 2016-11-02 07:42:57 -02: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
Greenkeeper
4b477d328b chore(package): update electron to version 1.4.4 (#907) 2016-10-21 15:59:12 +02:00
Leo Lamprecht
a639965669
Remove duplicates from package files 2016-10-17 10:29:12 +02:00
Leo Lamprecht
883ff09821
Properly ignore paths with XO 2016-10-17 10:26:05 +02:00
Leo Lamprecht
2b53bedfff
We're not using mocha anymore 2016-10-17 10:24:10 +02:00
Leo Lamprecht
e61314edba
Don't overwrite eqeqeq rule
https://github.com/zeit/hyper/pull/888#pullrequestreview-4395961
2016-10-17 10:23:58 +02:00
David Gómez
30a1a35937 Enforce null comparisons to make XO happy (#888)
* Remove react/no-eq-null rule from package.json

* Enforce null comparison and add type safety on checks
2016-10-16 22:13:25 +02:00
Guillermo Rauch
d6009888a3 0.8.2 2016-10-15 17:47:28 -05:00
Phred
428eba7258 should build 32 and 64 bit linux builds (#851) 2016-10-14 13:58:50 -05:00
Martin Ek
7a08b1dc3e Fix xo 0.17 errors and use root xo config for app (#859)
* Use parent xo config in app/

* lint: Fix xo 0.17 errors

* app: add missing semver dependency
2016-10-12 20:35:44 -05:00
greenkeeperio-bot
7e241ab29e chore(package): update xo to version 0.17.0 2016-10-11 10:21:42 -04:00
Matheus Fernandes
fffaf8f3bb Revert "Add missing package to packages.json" (#827) 2016-10-08 17:15:57 -07:00
Philippe Potvin
c3a9e521df add missing packages to packages.json (#826) 2016-10-08 16:09:32 -07:00
Martin Ek
2ffc1aee3d Move notification fetching to the main process (#804)
* Move notification fetching to the main process

* Add npm run app
2016-10-07 20:28:40 -07:00
Marshall Bowers
ad63cbbfdc xo: react/jsx-key (#767)
* Add key to array element

* Enable react/jsx-key rule for xo

* Change key to tabs-list

* Update key name

* Add key for border element

* Add missing JSX keys
2016-10-07 17:36:17 +02:00
Marshall Bowers
0ec2823a23 No string refs (#766)
* Use callback ref instead of string ref

* Enable react/no-string-refs rule for xo

* Replace additional string refs

* Fix broken merge
2016-10-07 17:07:39 +02:00
David Gomez
c6b44d4a50 Remove no-danger rule from the package.json file 2016-10-07 08:29:41 +02:00
Guillermo Rauch
e9010858ad bump version 2016-10-06 08:29:43 -07:00
Guillermo Rauch
9f771e839f api updates 2016-10-06 08:28:43 -07:00
Guillermo Rauch
36c55a6580 remove unnecessary prefix 2016-10-05 14:35:46 -07:00
Guillermo Rauch
9a6a190135 remove release script 2016-10-05 14:07:32 -07:00
Guillermo Rauch
2c1268ce91 retry with release 2016-10-05 13:58:33 -07:00
Guillermo Rauch
f78c9c0ca8 fix release? 2016-10-05 13:40:14 -07:00
Guillermo Rauch
420fad0d07 temporarily removing this as it breaks https://travis-ci.org/zeit/hyperterm/jobs/165309027 2016-10-05 11:00:25 -07:00
Guillermo Rauch
7d1da3c1d9 Revert "Use JSON for travis config"
This reverts commit 629c232ef5.
2016-10-05 10:51:15 -07:00
Guillermo Rauch
a3fe1d9a1c package: bump electron-builder 2016-10-05 10:46:12 -07:00
Guillermo Rauch
d01d3868eb simple version-based notifications system 2016-10-04 12:48:37 -07:00
Martin Ek
71ae9b7e00 Replace explicit null check with != null (#760)
Replace explicit null check with isNil

Replace isNil with != null
2016-10-04 11:16:34 -07:00
Martin Ek
a7595c1a45 Split Panes (#693)
* npm: add .npmrc with save-exact=true

* split panes: create initial implementation

This allows users to split their Hyperterm terms into
multiple nested splits, both vertical and horizontal.

Fixes #56

* split panes: suport closing tabs and individual panes

* split panes: ensure new splits are placed at the correct index

New split panes should be placed after the currently active
pane, not at the end like they were previously.

* split panes: add explicit dependency to uuid

* split panes: implement split pane cycling

This adds menu buttons for moving back and forward between
open split panes in the currect terminal tab.
Doesn't add a hotkey yet, needs some bikeshedding.

* split panes: move activeSessionUid to its own object

It made little sense to have so many objects with `activeSessionUid`
set to `null` when it only mattered on the top level.
Now it's an object mapping term-group `uid` to `sessionUid` instead.

* split panes: make sure closing the last split pane exits the app

* split panes: fix a crash after closing specific panes

Sometimes the terminal would crash when a specific
split pane was closed, because the `activeSessions`
mapping wasn't updated correctly.

* split panes: fix a bug that caused initial session sizing to be wrong

* fix all our focus / blur issues in one fell swoop :O (famous last words)

* get rid of react warning

* hterm: make sure not to lose focus when VT listens on clicks

* term: restore onactive callback

* add missing `return` to override (just in case)

* split pane: new split pane implementation

* goodbye react-split-pane

* added term group resizing action and reducer

* terms: supply border color so that we can use it for splits

* term-group: add resizing hook

* term-groups: add resizing constant

* remove split pane css side-effect

* split panes: pass existing hterm instances to Term

* split panes: add keybindings for split pane cycling

* split panes: remove unused action

* split panes: remove unused styling

* split-pane: remove `console.log`

* split-pane: remove `console.log`

* split panes: rebalance sizes on insert/removal

* split panes: pass existing hterm instances to Term

* split panes: add keybindings for split pane cycling

* split panes: remove unused action

* split panes: remove unused styling

* split panes: rebalance sizes on insert/removal

* split panes: set a minimum size for resizing

* split-pane: fix vertical splits

* css :|

* package: bump electron

* split panes: attach onFocus listener to webviews

* 1.4.1 and 1.4.2 are broken. they have the following regression:
- open google.com on the main window
- open a new tab
- come back to previous tab. webview is gone :|

* split panes: handle PTY exits

* split panes: add linux friendly keybindings
2016-10-03 19:00:50 -07:00
greenkeeperio-bot
a27f5556fd chore(package): update seamless-immutable to version 6.1.3 2016-10-01 00:24:46 -04:00
greenkeeperio-bot
3ecd840dd4 chore(package): update electron to version 1.4.2 2016-09-30 16:06:43 -04:00
greenkeeperio-bot
dd259da450 chore(package): update seamless-immutable to version 6.1.2 2016-09-30 15:57:25 -04:00
Greenkeeper
0c6f969b6c chore(package): update concurrently to version 3.0.0 (#749) 2016-09-26 13:08:40 +02:00
David Gomez
4c4415b332 Update ESLint and XO rules dependencies 2016-09-23 17:01:23 -04:00
Greenkeeper
819eeb850b chore(package): update electron to version 1.4.1 (#734) 2016-09-22 13:45:43 +02:00
Leo Lamprecht
629c232ef5
Use JSON for travis config 2016-09-22 08:32:06 +02:00
Leo Lamprecht
153239cb54
Test for all platforms, not just for the current one 2016-09-22 08:24:02 +02:00
Leo Lamprecht
de3c7d01e9
Use spectron and ava for testing 2016-09-22 08:08:56 +02:00
Leo Lamprecht
e30c49994f
Use start script for development 2016-09-22 07:59:24 +02:00