Commit graph

107 commits

Author SHA1 Message Date
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
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
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
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
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
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
2496b217b1 electron-prebuilt => electron (#713)
* `electron-prebuilt` => `electron`

* Remove extra space
2016-09-16 08:23:23 +02:00
Greenkeeper
3cbcc8be42 chore(package): update electron-prebuilt to version 1.4.0 (#712) 2016-09-15 09:42:56 +02:00
Leo Lamprecht
a718a21d31
New way to specify app category 2016-09-15 09:36:48 +02:00
Leo Lamprecht
fbe0c9c556
Increment version tag 2016-09-15 09:23:57 +02:00
Greenkeeper
1b661dc569 chore(package): update redux to version 3.6.0 (#688) 2016-09-04 21:55:18 +02:00
Greenkeeper
94e97cd52a chore(package): update electron-prebuilt to version 1.3.5 (#685) 2016-09-02 10:51:08 +02:00
Greenkeeper
f9d89176db chore(package): update electron-builder to version 6.0.2 (#668) 2016-08-27 22:05:44 +02:00
Greenkeeper
a23022d5e0 chore(package): update electron-prebuilt to version 1.3.4 (#652) 2016-08-24 22:18:02 +02:00
Leo Lamprecht
56f718a0f4 Adjusted author 2016-08-20 09:47:30 +02:00
Leo Lamprecht
87e3debe45 Merge branch 'master' into greenkeeper-react-dom-15.3.1 2016-08-20 00:42:20 +02:00
Greenkeeper
445e7e4d67 chore(package): update react-addons-pure-render-mixin to version 15.3.1 (#635) 2016-08-20 00:42:11 +02:00
Leo Lamprecht
0cb9e21fe3 Merge branch 'master' into greenkeeper-react-dom-15.3.1 2016-08-19 21:43:43 +02:00
Greenkeeper
445306c0cc chore(package): update react to version 15.3.1 (#637) 2016-08-19 21:43:24 +02:00
greenkeeperio-bot
bde00f817c chore(package): update react-dom to version 15.3.1 2016-08-19 20:56:44 +02:00
Greenkeeper
f24c1a5499 chore(package): update electron-prebuilt to version 1.3.3 (#604)
https://greenkeeper.io/
2016-08-10 14:11:09 +02:00
Greenkeeper
f3a1d6b26c chore(package): update should to version 11.0.0 (#602)
https://greenkeeper.io/
2016-08-10 10:47:40 +02: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
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
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
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
Guillermo Rauch
e295e6f66e package: bump render mixin (#520) 2016-07-30 10:12:07 -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