Cheng Zhao
7106a36ccb
Add native_mate implemented Event and EventEmitter.
2014-04-17 17:12:27 +08:00
Cheng Zhao
77cccc2db6
Simplify browser_ipc api.
2014-04-17 13:51:59 +08:00
Cheng Zhao
5dae7b8658
Put converters under atom/common/native_mate_converters.
2014-04-17 13:45:14 +08:00
Cheng Zhao
84397052fd
Use base::File::StringType.
2014-04-16 15:45:28 +08:00
Cheng Zhao
a2407c6b02
Use Dictionary to set module.exports.
2014-04-16 15:43:06 +08:00
Cheng Zhao
94dec0ff85
Add v8::Handle<v8::String> to converter.
2014-04-16 15:28:43 +08:00
Cheng Zhao
aa1efe70e2
Use native_mate to simplify dialog api.
2014-04-16 15:14:44 +08:00
Cheng Zhao
c9fa29ef64
Enable setting method in Dictionary.
2014-04-16 15:13:44 +08:00
Cheng Zhao
213ac43721
Enable converting void*.
2014-04-16 14:56:33 +08:00
Cheng Zhao
d0bf1a842f
Support function with 7 parameters.
2014-04-16 14:56:05 +08:00
Cheng Zhao
2d3af6fc38
Remove helper typedefs.
2014-04-16 14:29:45 +08:00
Cheng Zhao
6e2bf824f0
Use native_mate to simplify renderer_ipc api.
2014-04-16 12:29:16 +08:00
Cheng Zhao
1ae30328d6
Use the new Constructor API.
2014-04-16 11:58:48 +08:00
Cheng Zhao
ace550d6b2
Simplify Wrappable API.
2014-04-16 11:58:17 +08:00
Cheng Zhao
ac5be7dad7
Constructor should wrap the this pointer.
2014-04-16 10:36:54 +08:00
Cheng Zhao
bdfbef41c6
Cleanup.
2014-04-16 10:25:22 +08:00
Cheng Zhao
8162689014
Use native_mate to simplify id_weak_map api.
2014-04-16 09:54:01 +08:00
Cheng Zhao
e2e1faa225
Make the Constructor accept arbitrary callback.
2014-04-16 09:50:51 +08:00
Cheng Zhao
338d11ef01
Remove unneeded include.
2014-04-15 16:29:38 +08:00
Cheng Zhao
16e3397c32
Use native_mate to simplify screen api.
2014-04-15 16:25:39 +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
4a7e392301
Fix cpplint warning.
2014-04-15 15:42:46 +08:00
Cheng Zhao
e42433cf9a
Use native_mate to simplify shell API.
2014-04-15 15:41:26 +08:00
Cheng Zhao
78ab726ec7
Fix passing the wrong parameter.
2014-04-15 15:39:13 +08:00
Cheng Zhao
caa5ea0316
Add initial Constructor type.
2014-04-15 15:30:46 +08:00
Cheng Zhao
a20e02ee23
Fix compilation error of function_template.
2014-04-15 15:30:30 +08:00
Cheng Zhao
6ac926aa32
Enable modifying existing ObjectTemplate.
2014-04-15 11:34:07 +08:00
Cheng Zhao
16af53237c
Add native_mate as dependency.
2014-04-15 11:15:46 +08:00
Cheng Zhao
4cada31f80
Do not rely on latest base/template_util.
2014-04-15 11:15:19 +08:00
Cheng Zhao
ff65b7dae1
Initial commit.
2014-04-15 11:04:36 +08:00
Cheng Zhao
4fa9970eff
mac: Move OS X only files to atom/browser/mac.
2014-04-15 09:35:26 +08:00
Cheng Zhao
96b23830cd
Bump v0.11.10.
2014-04-11 21:02:22 +08:00
Cheng Zhao
b0b5d1b1b0
Do not use new clang flags.
2014-04-15 00:18:42 +08:00
Cheng Zhao
b994ae8174
mac: Always cancel application termination.
...
OS X's application termination doesn't work very well with C++ message
loops. Especially when we return NSTerminateLater for shouldTerminate,
it would be impossible for the C++ message loop to quit, because unless
we explictly let NSApp terminate the application, the message loop would
think the application is not terminated and will run forever.
The fix is to simply ignore the Cocoa's application termination request
and let the C++ message loop deal with it compeletey. But we had the
side effect that atom-shell would always cancel OS X's shutdown request,
this is also the approach chosen by Chromium.
Fixes #229 .
Fixes atom/atom#1864 .
2014-04-15 00:13:00 +08:00
Cheng Zhao
6f4aed83f0
Fix compiler warning in breakpad when using latest clang.
2014-04-14 23:54:36 +08:00
Cheng Zhao
d654afde5f
Bump v0.11.9.
2014-04-11 10:44:41 +00:00
Cheng Zhao
5c5cf3c66e
Fix a crash when destroying window.
2014-04-11 18:43:01 +08:00
Cheng Zhao
84d458687a
mac: Avoid managing NSWindow by hand.
2014-04-11 12:47:22 +08:00
Cheng Zhao
2ab5d6e35a
Remove unneeded accessor.
2014-04-11 12:45:48 +08:00
Cheng Zhao
d6079782d1
mac: InspectableWebContents should be destroyed before release NSWindow.
...
Fixes atom/atom#1841 .
2014-04-11 12:32:42 +08:00
Cheng Zhao
e576d4c014
Fix app.exit compatibility.
2014-04-10 17:08:22 +08:00
Cheng Zhao
a16ea1fbf2
Bump v0.11.8.
2014-04-10 07:30:29 +00:00
Cheng Zhao
f0d9ee4ca9
Shutdown gracefully, fixes #227 .
2014-04-10 15:22:17 +08:00
Cheng Zhao
538bd1116d
Deprecate app.terminate API.
...
Users should use app.quit which can shutdown the application gracefuly.
2014-04-10 15:08:14 +08:00
Cheng Zhao
5ead4f655a
Bump v0.11.7.
2014-04-08 06:50:40 +00:00
Cheng Zhao
b975d4c41f
Detect unresponsive window when quitting.
...
Preivously this is disabled because quitting multiple windows could
bring up the unresponsive dialog, but since we now have increased the
unresponsive time limitto 5s, this is not needed anymore and could cause
confusions.
Fixes #17 .
2014-04-08 14:24:44 +08:00
Cheng Zhao
cca0d8d583
📝 Add docs for executeJavaScriptInDevTools.
2014-04-08 12:52:42 +08:00
Cheng Zhao
d7a54cf3a6
Add API to execute javascript in devtools.
2014-04-08 12:50:12 +08:00
Cheng Zhao
a50d3bde5c
gtk: Connect to window-state-event, fixes #226 .
2014-04-08 09:32:44 +08:00