Commit graph

489 commits

Author SHA1 Message Date
Guillermo Rauch
d47aa4470a lint 2016-10-04 21:02:39 -07:00
Guillermo Rauch
689e73d3d8 change version 2016-10-04 20:02:26 -07:00
Guillermo Rauch
165954c63f remove pesky warning 2016-10-04 14:52:53 -07:00
Nathan Rajlich
f939d88354 return a Redux thunk for the INIT action (#675)
Before, Redux was throwing an error saying that a plain
object was not being returned from the `init()` function
which was breaking hyperterm.
2016-10-04 14:41:50 -07:00
Guillermo Rauch
fec4954dc1 fixes by @ekmartin 2016-10-04 13:27:27 -07:00
Guillermo Rauch
ffa6a89c5a lint 2016-10-04 12:48:37 -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
540414f59d split panes: set hotkeys based on OS (#771) 2016-10-04 08:33:21 -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
Nick Randall
ee172c3164 fix(meta-key): fix edge cases for meta key usage. (#761) 2016-10-03 17:29:33 +02:00
Marshall Bowers
de1a01ff57 Preserve multi-byte encoded utf-8 characters (#769) 2016-10-02 09:54:27 -07:00
Philippe Potvin
7aa20a8d45 Memorize window position and size (#617)
* Memorize window position

* Memorize window size

* Add forced settings and window config

* use destructuring and shorthand method

* Set default config

* Use options defaults in createWindow

* Use options object only

* Update return function

* xo comply
2016-10-01 18:44:34 -07:00
Brandon Bayer
6959667589 fix: on Linux/Win, hide OSX specific menu items and change 'Shell' to 'File' (#736)
Based on this document:
https://github.com/electron/electron/blob/master/docs/api/menu.md#user-content-notes-on-os-x-application-menu
2016-10-01 18:07:23 -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
Brandon Bayer
cb40b59183 Fix AVA tests on Linux (#735) 2016-09-30 12:47:07 -03:00
Aurélien Bottazini
a561f4650b Add Setting for modifier Keys cmdIsMeta and altIsMeta (#686)
* Adds Setting for modifier Keys cmdIsMeta and altIsMeta

* ModifierKeys setting for redux state

* removing from default config modifierKeys
2016-09-30 14:30:11 +02:00
Greenkeeper
0c6f969b6c chore(package): update concurrently to version 3.0.0 (#749) 2016-09-26 13:08:40 +02:00
Martin Ek
5e87ce555c Merge pull request #741 from davegomez/xo-update
Update ESLint and XO rules dependencies
2016-09-23 17:08:59 -04: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
e5c7d1dd13
Don't check window count 2016-09-22 08:45:42 +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
Leo Lamprecht
29908dacd1
Output raw stdout+stderr of child processes 2016-09-22 07:52:14 +02:00
Leo Lamprecht
103a0fa8c5
Linting shouldn't have an own script 2016-09-22 07:51:26 +02:00
Leo Lamprecht
ee1405997d
Let xo handle all directories 2016-09-22 07:41:07 +02:00
Philippe Potvin
a1f8413680 Fix config-store imports (#733)
* `configureStore` => `configure-store`

* dependencies: add redux-logger
2016-09-21 23:29:23 -03:00
Krzysztof Kaczor
bbf0af66b2 Improve developer pleasure (#556)
* single command to run webpack and app

* added dev tools and custom store for development mode only

* fix linter issues
2016-09-21 15:11:42 -07:00
David Gómez
ac69e0b9a0 Fix tab navigation using mouse clicks (#732)
Fixes a bug introduced by #723
2016-09-21 15:44:47 -03:00
Leo Lamprecht
4ec0156440 Mention code style 2016-09-21 16:36:31 +02:00
Matheus Fernandes
1866104d03 [WIP] Use XO instead of Standard (#723)
* Bump `eslint-plugin-react`

* Add `eslint-config-xo-react`

* Add XO

* Remove eslint-related dependencies, add XO config and use XO as the linter

* Code style: Standard => XO 

* Use xo property to ignore files

* Fix remaining errors
2016-09-21 16:27:11 +02:00
Brandon Bayer
32a665d7c0 feat: in development, use git-describe for appVersion (#729)
Normally appVersion is set from package.json
closes #718
2016-09-20 19:51:15 -03:00
Greenkeeper
d85bde5b3b chore(package): update react-dom to version 15.3.2 (#727) 2016-09-20 21:51:28 +02:00
Greenkeeper
047110f36f chore(package): update react to version 15.3.2 (#724) 2016-09-20 21:38:43 +02:00
Greenkeeper
7049e6ecd2 chore(package): update react-addons-pure-render-mixin to version 15.3.2 (#726) 2016-09-20 14:21:02 -03:00
Daniel Bayerlein
d610104a7a Add missing color dependency (#725) 2016-09-20 13:49:30 -03:00
Guillermo Rauch
8a01f8a48b Add window bgcolor updates (#524)
* transparent + reactive background colors

* refactor header to not set its own background color

* make terms not set background color

* dramatically improve tab borders

* remove background color from electron windows

* Revert "remove background color from electron windows"

This reverts commit ca4de3c5dc28095f1a598f7ac79d4dff4b66ccd5.

* put alpha first for electron

* remove initial bg color setting, but maintain reactive one

* fix
2016-09-19 08:47:33 +02:00
Leo Lamprecht
61f9c587ad
Let Travis release again 2016-09-18 12:54:11 +02:00
Leo Lamprecht
e701375223
Don't prefix tag names 2016-09-18 12:53:49 +02:00
Leo Lamprecht
629477c7f4
License field added 2016-09-18 12:48:11 +02:00
Greenkeeper
d944d2bdd5 chore(package): update reselect to version 2.5.4 (#716) 2016-09-17 13:50:03 +02:00
Matheus Fernandes
bda0ae3478 Fix typo on README.md (#715) 2016-09-16 18:52:50 +02:00
Matheus Fernandes
2496b217b1 electron-prebuilt => electron (#713)
* `electron-prebuilt` => `electron`

* Remove extra space
2016-09-16 08:23:23 +02:00
Leo Lamprecht
2bd2a4181a
These aren't needed 2016-09-15 09:47:37 +02:00
Greenkeeper
3cbcc8be42 chore(package): update electron-prebuilt to version 1.4.0 (#712) 2016-09-15 09:42:56 +02:00