In case someone wants to use non-login shells there is a field added to
the configuration file.
If shellArgs not set default shell will be used as before.
i.e. for using interactive shell (and use .bashrc instead of
.bash_profile on linux) use shellArgs: ['-i'] and shell: '/bin/bash'
this is useful especially if you are on Linux.
* Open new window offset from last focused window
* Make sure a newly opened window is seen to now have focus
* Instead of setting focus time, simply emit the event first
* Add comment explaining why we emit the focus event
* Don't fire the event, as that can make it fire twice
* 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
* Add proper window support to both the top menu, and the dock
* Sort out linting
* Only create dockMenu on Mac
* Remove label from menu as it is not needed when using role
* Fix spacing
* Prevent hovering on tabs from causing text flicker
For some reason, geometricPrecision was causing text to flicker on
non-retina screens when hovering over the tabs
* Use a pixel ratio media query for text-rendering on retina displays
* Allow env to be specified in config (#424)
This is referencing #424. User specified environment variables
in the `.hyperterm.js` file are expected under a field named `env`.
An example config:
```
module.exports = {
config: {
...
// Environment variables
env: {
WHAT_UP: 'heyo',
}
...
},
plugins: [],
localPlugins: []
};
```
* Add env field to default config
* Add support for opening the terminal on the correct display
* Fix whitespace issue
* Start from the top left again when we run out of space
* Add semicolon
* 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
* Step 1: move electorn into `app/`.
This is to comply with the suggested directory format of
`electron-builder`: https://github.com/electron-userland/electron-builder#two-packagejson-structure
* Step 2: add build directory with icon files for mac / windows
* Step 3: move all development (web) assets into main directory
* Step 4: add `build` namespace to dev `package.json`
* Step 5: move all dev dependencies into dev file and get rid of
old electron packagers in favor of `eletorn-builder`
* Step 6: target build inside `app/` as everything else is excluded at build time
* Step 7: remove old stuff!
* Step 8: update README
* turn off asar for `child_pty`
This reverts commit 9e3fe9228d.
@freebroccolo while great in theory, this breaks uglifyjs.
minification provides an important advantage in interpretation
time (and therefore reduced bootup time)