Milan Burda
a9475f3590
feat: add workingDirectory option to shell.openExternal() ( #15065 )
...
Allows passing `workingDirectory` to the underlying `ShellExecuteW` API on Windows.
the motivation is that by default `ShellExecute` would use the current working directory, which would get locked on Windows and can prevent autoUpdater from working correctly. We need to be able specify a different `workingDirectory` to prevent this situation.
2018-10-10 22:46:54 +02:00
Shelley Vohr
c6f4bbd143
also format missing .cc files
2018-04-18 20:48:45 -04:00
shelley vohr
0e5b6f9300
Upgrade to node v9.3.0 ( #11507 )
...
* update submodule refs for node v9.3.0
* Define "llvm_version" for Node.js build
* NODE_MODULE_CONTEXT_AWARE_BUILTIN -> NODE_BUILTIN_MODULE_CONTEXT_AWARE
* update NodePlatform to MultiIsolatePlatform
* fix linting error
* update node ref
* REVIEW: Explicitly register builtin modules
https://github.com/nodejs/node/pull/16565
* update libcc ref
* switch libcc to c62
* REVIEW: Address node api changes
- Always start the inspector agent for https://github.com/nodejs/node/pull/17085
- Set the tracing controller for node https://github.com/nodejs/node/pull/15538
- Isolate data creation now requires plaform https://github.com/nodejs/node/pull/16700
2018-02-23 10:22:00 +09:00
Cheng Zhao
090a5d9a61
platform_util code should not involve V8 code
2016-11-17 11:22:09 +09:00
Cheng Zhao
622bad1cff
Simplify getting callback
2016-11-17 10:36:16 +09:00
Gabriel Handford
99a5258999
Callback uses (platform specific) error, with message
2016-11-17 10:33:24 +09:00
Gabriel Handford
cfd2a029ad
Fix linting
2016-11-17 10:33:23 +09:00
Gabriel Handford
b266533dfc
Shell openExternal can take optional callback (macOS)
2016-11-17 10:33:23 +09:00
Kevin Sawicki
6285500cdc
Sort includes alphabetically
2016-08-26 15:30:02 -07:00
Cheng Zhao
242ce4f818
Fix building on non-Windows
2016-07-27 19:55:05 +09:00
Cheng Zhao
ff5b8047a1
Throw exception when ReadShortcutLink failed
2016-07-27 16:32:32 +09:00
Cheng Zhao
25538fe7fb
All fields are always returned
2016-07-27 16:23:35 +09:00
Cheng Zhao
60ba2d624e
Initialize COM before using the API
2016-07-27 16:20:53 +09:00
Cheng Zhao
7f3443b138
Add shell.writeShortcutLink/readShortcutLink
2016-07-27 16:16:21 +09:00
Cheng Zhao
86338290fb
win: Fix openExternal not working with non-ASCII characters
2016-07-11 17:12:11 +09:00
Kevin Sawicki
b3ac48cf52
Handle argument parsing in C++
2016-02-17 09:05:21 -08:00
Kevin Sawicki
f5bed87199
without_activation -> activate
2016-02-17 08:56:58 -08:00
Ben Gotow
d8679b3899
Allow openExternal to open URLs in the background #3224
2016-02-17 08:56:58 -08:00
Cheng Zhao
e365cb6b1c
No longer needs to define node_includes.h at last
2015-09-07 16:41:49 +08:00
Cheng Zhao
d78efe7c22
Use Local instead of Handle
2015-05-22 19:11:22 +08:00
Kevin Sawicki
b6b6fc3bfd
Remove All Rights Reserved after GitHub copyright
...
Closes #762
2014-10-31 11:17:05 -07:00
Cheng Zhao
ba46f2c820
Use new context aware module API in builtin modules.
2014-06-29 20:48:44 +08:00
Cheng Zhao
cd4c5d976b
Adapt to API changes of Chromium and node.
2014-06-28 22:33:00 +08:00
Cheng Zhao
f176b2c58f
Switch to use MIT license.
2014-05-04 20:29:08 +08:00
Cheng Zhao
a040a96652
Discard all our custom V8 helpers, use native-mate instead.
2014-04-22 23:07:21 +08:00
Cheng Zhao
5dae7b8658
Put converters under atom/common/native_mate_converters.
2014-04-17 13:45:14 +08:00
Cheng Zhao
a2407c6b02
Use Dictionary to set module.exports.
2014-04-16 15:43:06 +08:00
Cheng Zhao
aa1efe70e2
Use native_mate to simplify dialog api.
2014-04-16 15:14:44 +08:00
Cheng Zhao
c25911db0d
Use native_mate to simplify crash_reporter api.
2014-04-15 16:02:19 +08:00
Cheng Zhao
d9cd50c219
Use native_mate to simplify clipboard api.
2014-04-15 15:50:00 +08:00
Cheng Zhao
e42433cf9a
Use native_mate to simplify shell API.
2014-04-15 15:41:26 +08:00
Cheng Zhao
b6ac06c022
Order header files.
2014-03-16 09:37:04 +08:00
Cheng Zhao
516d46444d
Move all sources under atom/.
2014-03-16 08:30:26 +08:00