Commit graph

873 commits

Author SHA1 Message Date
Guillermo Rauch
8caadca66c remove unused import 2016-07-14 09:26:23 -07:00
Guillermo Rauch
06be0e2fb1 fix font size keyboard shortcuts 2016-07-13 22:37:46 -07:00
Guillermo Rauch
4a37d3b3d3 index: expose store in window, use store_ internally 2016-07-13 22:19:32 -07:00
Guillermo Rauch
f4474e747d add unload hooks 2016-07-13 22:18:06 -07:00
Guillermo Rauch
343f3396e0 plugins: remove renderer code for notifications 2016-07-13 19:07:38 -07:00
Guillermo Rauch
4a59c13c77 performance improvement 2016-07-13 17:21:23 -07:00
Guillermo Rauch
5e3e2c6a7d sessions: dispatch init to rpc as a side effect of first session add 2016-07-13 16:32:52 -07:00
Guillermo Rauch
05bac56e35 remove logger 2016-07-13 15:13:28 -07:00
Guillermo Rauch
477e40e433 refactor 2016-07-13 13:45:14 -07:00
Guillermo Rauch
d6a2ea0019 cleanup 2016-07-09 10:09:32 -07:00
Guillermo Rauch
412717ce0e tabs: transform to Component for consistency 2016-07-08 17:33:39 -07:00
Guillermo Rauch
64a94788ef package: restore the babel classes transform as native es6 classes weren't
playing well with react-proxy O.o
2016-07-08 17:33:07 -07:00
Guillermo Rauch
55dea3037b hyperterm: cleanup 2016-07-08 17:32:56 -07:00
Guillermo Rauch
5d4d76a2fe hyperterm: fix race condition 2016-07-08 16:01:07 -07:00
Guillermo Rauch
4fdeb59d7e stop minifying as it doesn't improve performance significantly 2016-07-08 16:00:51 -07:00
Guillermo Rauch
25624494ad react prod build 2016-07-08 14:51:48 -07:00
Guillermo Rauch
2d8c6c3d89 hyperterm: remove active marker correctly when closing a tab and marking a new one as active 2016-07-08 14:28:29 -07:00
Guillermo Rauch
1e5e3576cd implement custom CSS from config 2016-07-08 14:27:41 -07:00
Guillermo Rauch
4d99089afb improve decoration with persistent state with react-proxy 2016-07-08 14:26:38 -07:00
Guillermo Rauch
1265528b13 clean up and refactor 2016-07-08 11:48:24 -07:00
Guillermo Rauch
9960c239cd tabs: fix close mark position 2016-07-08 07:57:03 -07:00
Guillermo Rauch
8c0d94aa1d improve config notifications 2016-07-08 07:40:27 -07:00
Guillermo Rauch
7ab272a9fe fix padding 2016-07-08 07:39:51 -07:00
Leo Lamprecht
647d024a39 Centered traffic lights & disabled text selection for indicator (#36)
* Disallow text selection within indicator

* Fix size of menu

* More spacing within text element

* Make traffic lights inset
2016-07-08 06:03:40 -07:00
Guillermo Rauch
aa5441bea4 app: add es2015 babel preset so that we can uglify :\ 2016-07-07 22:24:51 -07:00
Guillermo Rauch
ff2419c54b border color configuration support 2016-07-07 20:37:58 -07:00
Guillermo Rauch
1582b7204c whitelist Notification global 2016-07-07 20:10:43 -07:00
Guillermo Rauch
ffe419f26f fix lint 2016-07-07 20:03:38 -07:00
Guillermo Rauch
9aff04acf3 hyperterm: set global background color 2016-07-07 17:25:56 -07:00
Guillermo Rauch
9f635021c9 first pass at plugins system 2016-07-07 17:16:44 -07:00
Guillermo Rauch
eb147d9b9a config: add plugins hook and decoration 2016-07-07 17:15:42 -07:00
Guillermo Rauch
c693a46896 hyperterm: normalize our events :D 2016-07-07 16:23:01 -07:00
Guillermo Rauch
e39143e4cd hyperterm: exit after editing 2016-07-07 14:37:28 -07:00
Guillermo Rauch
1993ca576f app: get config preferences and not plugins 2016-07-07 13:48:55 -07:00
Guillermo Rauch
80fc25c6a4 make term configurable 2016-07-07 08:53:23 -07:00
Guillermo Rauch
043c9c86da hyperterm: implement font size config 2016-07-07 08:28:46 -07:00
Guillermo Rauch
318f684da4 add <Config> higher order component heavily inspired by @nfcampos (#59) 2016-07-07 08:15:03 -07:00
Guillermo Rauch
98e45a500f webpack: ignore electron, fix optimization 2016-07-07 07:47:10 -07:00
Guillermo Rauch
d3322090a1 add support for editing preferences with cmd+, (#52) 2016-07-07 06:31:03 -07:00
Guillermo Rauch
952c328e01 lint 2016-07-07 06:30:51 -07:00
Guillermo Rauch
f6b0277438 display first line of release notes as update note 2016-07-07 00:19:54 -07:00
Guillermo Rauch
08a106312d remove old updater and add update dismissing 2016-07-07 00:13:53 -07:00
Matias Tucci
461f7d9430 electron auotupdater 2016-07-06 21:42:41 -07:00
Matias Tucci
20aa12d526 uodate indicator styles 2016-07-06 21:42:41 -07:00
Johan Brook
bfefc2d74e Add close cross for tabs (#58)
* Add .DS_Store to gitignore

* Add SVG icon component

* Add button for closing a tab (re: #40)

* Use external icon sheet for icons
2016-07-06 16:39:26 -07:00
Harrison Harnisch
88501ecef9 improved default color palette (#61) 2016-07-05 20:33:39 -07:00
Nuno Campos
ea8ca82186 font size improvements (#57)
* font size improvements
- fixed keyboard shortcut registering (listeners were being called twice)
- now saving fontSize in the state of Hyperterm
- Term now accepts fontSize as a prop and internally sets it
- added font size indicator on change (next to rows x cols)

* linting

* removed font size shortcuts from Hyperterm component, still in electron

* only show font size indicator when it has changed

* clean up fontSizeIndicatorTimeout on unmount, changeFontSize 2nd arg is now an options object
2016-07-05 17:08:45 -07:00
Guillermo Rauch
222064fd03 term: support for urls in fish
cc @paulirish
2016-07-05 13:33:27 -07:00
Guillermo Rauch
01689af952 term: handle legacy sh shell 2016-07-05 13:22:57 -07:00
Guillermo Rauch
951044c17e fix url handling in zsh (#50) 2016-07-05 13:14:30 -07:00
Guillermo Rauch
ed30007ec4 implement most recent hterm with lots of bugfixes 2016-07-04 20:59:40 -07:00
Guillermo Rauch
814677f3b0 lint 2016-07-04 20:09:43 -07:00
Guillermo Rauch
b79b34094f term: cross-platform font family settings (#26) 2016-07-04 19:08:45 -07:00
Guillermo Rauch
a10af11591 remove xterm.css (no longer used) 2016-07-04 19:07:26 -07:00
Guillermo Rauch
a57aedc1db Revert "term: hide them scrolbars (#42)"
This reverts commit fd0c330d98.
2016-07-04 19:05:16 -07:00
Guillermo Rauch
fd0c330d98 term: hide them scrolbars (#42) 2016-07-04 19:02:21 -07:00
Jeff Haynie
55ac59c897 change font size with command shortcuts (#34)
* add standard behavior when you double click window title to maximize/unmaximize the window

* increase/decrease font sizes with command + / -

* DRY up code. added reset to reset font to original size. added window accelerators
2016-07-04 18:39:14 -07:00
Guillermo Rauch
cf0a5783c5 implement a more reasonable update interval check frequency (#33) 2016-07-04 18:13:44 -07:00
Guillermo Rauch
33e3d487a1 minor syntax cleanup (2 vs 4 spaces) and clear clickTimer timeout 2016-07-04 18:01:32 -07:00
Jeff Haynie
50fdbf2ef7 add standard behavior when you double click window (#32)
* add standard behavior when you double click window title to maximize/unmaximize the window

* reset on unmount and added comments about click vs. double click
2016-07-04 17:48:38 -07:00
Guillermo Rauch
45292f33d5 improvements to update checker 2016-07-03 15:12:35 -07:00
Guillermo Rauch
e2215a3413 term: fix edge case when clearing after a screen clear 2016-07-03 14:11:45 -07:00
Guillermo Rauch
d8e841a3d8 Implement hterm (#28)
* remove legacy css

* hyperterm: delegate rows / cols calculation to hterm

* session: handle pty kill problems

* index: fix memory leak by removing sessions from the map upon exit

* app: remove local copy of `xterm.js`

* term: implement the `hterm` API and some needed overrides

* package: add `hterm-umd`

* hyperterm: add optimistic tab exit

* hyperterm: delegate key combination detection to the hterm <iframe> document

* term: register keyboard

* session: fix incorrect width after resizing and creating a new tab (#13)

* tabs: fix `user-select` css property

* term: fix focus issue when exiting a url

Instead of uninstalling the keyboard, we keep the
focus on the underlying terminal.

We register a new IO handler so that we intercept
all data events.

The reason we need to do this is that we can't
programmatically restore focus on the underlying
terminal unless it's in the same tick as a user
event (ie: click).

Since we were uninstalling the keyboard and
subsequently attempting to reinstall it without
such an event, pressing Ctrl+C after a url was
effectively resulting in a loss of focus and a
horrible horrible experience.

Now it's fixed :)

* text-metrics: remove module no longer used

hterm has a much better calculation technique anyways

* term: fix default bg

* term: fix nasty hterm bug that triggered an infinite copy loop

* index: add separator in `View` menu for full screen item

* term: implement cmd+K clearing and improve hterm's `wipeContents`
2016-07-03 13:35:45 -07:00
Guillermo Rauch
c0394e7764 css: fix "Download" link being clickable when hidden (#7) 2016-07-02 15:43:08 -07:00
Guillermo Rauch
b22d310c99 hyperterm: jump to begining of end at edges of tabs when moving sideways (#22) 2016-07-02 15:32:00 -07:00
Guillermo Rauch
0892122d6d hyperterm: add support for cmd+shift+[|] (#11) 2016-07-02 11:05:50 -07:00
Guillermo Rauch
09c85e8069 hyperterm: add ctrl+c for closing <webview> instead of cmd+w (#2) 2016-07-02 10:53:39 -07:00
Guillermo Rauch
bb8a93d5c8 add some missing deps 2016-07-01 14:31:23 -07:00
Guillermo Rauch
db21e8e87d add auto update checking 2016-07-01 13:01:33 -07:00
Guillermo Rauch
e34554398f clarify first metric 2016-06-30 23:08:12 -07:00
Guillermo Rauch
f3f15f79fb ignore dist dir 2016-06-30 23:04:47 -07:00
Guillermo Rauch
b8e39e0e23 ignore npm-debug.log 2016-06-30 23:04:24 -07:00
Guillermo Rauch
1a1178bd38 initial commit 2016-06-30 23:01:04 -07:00