Commit graph

47 commits

Author SHA1 Message Date
Nathan Rajlich
8e86883989 fix lint (#351)
* fix lint

* restore `notify` require, add eslint disable comment
2016-07-21 20:26:10 -07:00
Dan Prince
b06f28ae10 Adds plugin hook for decorating the electron browser options (#310)
* adds hook for decorating the electron browser options

* pass browser options to decorator
2016-07-21 17:32:39 -07:00
Ayhan
01e923b263 Fix quit problem (#343) 2016-07-21 12:34:28 -07:00
Darin Morrison
9e3fe9228d Use node6 es2015 features; remove extra transforms (#327) 2016-07-21 12:18:07 -07:00
Ayhan
29d32ca4f5 Fix linux autoupdate (#338) 2016-07-21 11:54:14 -07:00
Mike
b76e004309 Dynamically change the font-smoothing pref (#205)
* Dynamically change the `font-smoothing` pref

By default, hterm defaults to `font-smoothing: 'antialiased'`, which
works really well on retina displays. On non-retina displays, however,
the type looks very thin and is hard to read.

This will look at the devicePixelRatio of the device anytime the term
prefs are set, and change between `antialiased` and
`subpixel-antialiased` dynamically.

* Refactor to add the font smoothing override into state

This also subscribes to the electron `move` event to control when this
piece of state gets updated.

* Add UI_WINDOW_MOVE action with a side effect for font smoothing
2016-07-19 11:30:57 -07:00
Cameron Spear
17af6cb85d Expose 'getWindows' and 'createWindow' to plugins (#248) 2016-07-18 17:11:30 -07:00
Leo Lamprecht
fa4033937e Bring focus to main window when clicking preferences (#235) 2016-07-18 09:44:33 -07:00
Mike
8164d673e0 Add an option for a non-login shell to be run (#192)
* Add an option for a non-login shell to be run

By default, however, the user's login shell will be used

* Reset shell default to empty string, and improve documentation
2016-07-17 14:05:08 -07:00
Abhinav I
277e4ee1d9 Fixed an issue where the app icon was not showing up in Linux - report in Issue#126 (#168) 2016-07-16 18:30:12 -07:00
Harrison Harnisch
04c0b1acff Provide hooks to open a new tab to the same directory (#174)
* provide a cwd for #4

* expose a pid for #4
2016-07-16 15:41:13 -07:00
Guillermo Rauch
0ca6faf544 index: notify renderer of plugins changes 2016-07-16 11:58:56 -07:00
Guillermo Rauch
ebb0b7f1d2 index: allow plugin authors to affect initial config 2016-07-16 11:58:41 -07:00
Guillermo Rauch
e8eb170204 index: expose config and plugins to plugin authors in electron process 2016-07-16 11:58:21 -07:00
Guillermo Rauch
5ba9f27c5d performance improvements 2016-07-14 16:40:15 -07:00
Leo Lamprecht
f9f1e2ddec Set min size (#82) 2016-07-14 07:55:24 -07:00
Guillermo Rauch
0f17741162 index: simplify plugin subscription 2016-07-13 19:07:58 -07:00
Guillermo Rauch
60f0887c2a plugins: fix use of #, improve notifications, better errors 2016-07-13 19:06:51 -07:00
Guillermo Rauch
477e40e433 refactor 2016-07-13 13:45:14 -07:00
Guillermo Rauch
edc201ea03 improve plugin notifications 2016-07-08 07:40:48 -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
026252da8f index: fix auto updater initialization 2016-07-08 05:48:53 -07:00
Guillermo Rauch
d17784f962 document backgroundColor as hex and set up initial window bg from config 2016-07-07 17:25:45 -07:00
Guillermo Rauch
9f635021c9 first pass at plugins system 2016-07-07 17:16:44 -07:00
Guillermo Rauch
1383775fbe initialize auto updater once per window, not per tab 2016-07-07 16:22:45 -07:00
Guillermo Rauch
29b853fcbf index: initialize config and plugins together 2016-07-07 13:49:34 -07:00
Guillermo Rauch
fcb221456d index: notify windows of config changes 2016-07-07 08:17:02 -07:00
Guillermo Rauch
995206c19b index: use config module 2016-07-07 07:47:24 -07:00
Guillermo Rauch
bff6909407 rename init-config to config-init 2016-07-07 07:10:23 -07:00
Guillermo Rauch
adcbbcdc1b add config auto-initialization and default config 2016-07-07 06:31:53 -07:00
Guillermo Rauch
914178bab4 index: ignore auto updates during dev 2016-07-07 00:32:29 -07:00
Guillermo Rauch
21c8ab1241 extensibility point 2016-07-06 23:58:46 -07:00
Matias Tucci
461f7d9430 electron auotupdater 2016-07-06 21:42:41 -07:00
Guillermo Rauch
15c6ebe46d move menu into its own file 2016-07-04 19:46:24 -07:00
Guillermo Rauch
9829905bd8 tweak indentation 2016-07-04 18:54:55 -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
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
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
61a29c9132 hyperterm: add fullscreen menu item (#1) 2016-07-02 15:19:07 -07:00
Guillermo Rauch
624b7c3992 handle macOS activate 2016-07-01 17:02:08 -07:00
Guillermo Rauch
7c77203566 index: avoid using same directory name as where we output the packages 2016-07-01 16:19:43 -07:00
Guillermo Rauch
56c66f4ff3 debug flag for beta testers :D 2016-07-01 15:44:37 -07:00
Guillermo Rauch
bc9353e263 get bundled path correctly 2016-07-01 15:44:24 -07:00
Guillermo Rauch
172baf896f fix loading of index.html and dist files in prod 2016-07-01 14:38:35 -07:00
Guillermo Rauch
361f2c8fce implement electron-is-dev.
i love you @sindresorhus
2016-07-01 13:26:51 -07:00
Guillermo Rauch
db21e8e87d add auto update checking 2016-07-01 13:01:33 -07:00
Guillermo Rauch
1a1178bd38 initial commit 2016-06-30 23:01:04 -07:00