hyper/app
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
..
static Reorg (#386) 2016-07-24 10:59:21 -07:00
auto-updater.js make the auto updater work on windows (#514) 2016-07-29 21:12:53 -07:00
config-default.js Reorg (#386) 2016-07-24 10:59:21 -07:00
config.js Reorg (#386) 2016-07-24 10:59:21 -07:00
index.html really fix utf-8 now 2016-07-26 12:16:57 -07:00
index.js Handling file opening (#329) 2016-08-01 23:52:21 +01:00
menu.js Reorg (#386) 2016-07-24 10:59:21 -07:00
notify.html Reorg (#386) 2016-07-24 10:59:21 -07:00
notify.js Reorg (#386) 2016-07-24 10:59:21 -07:00
package.json Use configured shell to update plugins (#447) 2016-07-30 20:51:09 +02:00
plugins.js Use configured shell to update plugins (#447) 2016-07-30 20:51:09 +02:00
rpc.js Server now extends EventEmitter instead of creating and EventEmitter instance (#406) 2016-07-26 10:47:18 -07:00
session.js session: suffix UTF-8 to locale 2016-07-26 11:26:06 -07:00