Cheng Zhao
0933a7d1b2
Evaluate the "fs.js" in original-fs
...
Some high-level APIs in fs are using low-level APIs via "fs.xxx", which
will be overriden by our asar wrappers, so just shadow-copy those
methods is not enough.
By evaluating the whole "fs.js" we can make sure original-fs is not
polluted by the asar wrappers.
Fixes #782 .
2015-01-19 14:22:32 -08:00
Cheng Zhao
809c995c0b
Make "screen" module a browser module
2015-01-16 11:01:38 -08:00
Cheng Zhao
97070246b7
Don't put gfx_converter's implementaion in header file
2015-01-16 11:01:38 -08:00
Cheng Zhao
029ee9aa1e
Add a few more API bindings
2015-01-16 11:01:38 -08:00
Cheng Zhao
509294b228
Don't hard-code API names
2015-01-16 11:01:38 -08:00
Cheng Zhao
895ccf69a7
Avoid using app API in renderer process for #907
2015-01-04 22:51:00 -08:00
Cheng Zhao
335cd79b37
Don't call Screen functions until app is ready
...
Fixes #907 .
2015-01-04 22:27:02 -08:00
Cheng Zhao
10823eeeaa
Fix compilation errors caused by Chrome 39
2014-12-07 07:43:26 -08:00
Cheng Zhao
5cb97545fd
Add original-fs module
2014-11-12 11:09:59 +08:00
Cheng Zhao
66e96f69fc
Add crashRepoter.getLastCrashReport API
2014-11-11 17:30:01 +08:00
Kevin Sawicki
b6b6fc3bfd
Remove All Rights Reserved after GitHub copyright
...
Closes #762
2014-10-31 11:17:05 -07:00
Cheng Zhao
24b4fcea15
Add BIND_DONE event for process object
2014-10-25 23:21:17 +08:00
Cheng Zhao
2d8fe489a7
Add converters between gfx:: and v8
2014-10-24 12:48:52 +08:00
Cheng Zhao
32dff999a5
Fix API changes of Chrome 38
2014-10-11 19:11:34 +08:00
Cheng Zhao
cc4897f8c1
Add process.versions['chrome'], fixes #675
2014-10-02 23:48:17 +08:00
Cheng Zhao
885ac53a48
asar: Add support in fs.realpathSync
2014-09-30 14:53:58 +08:00
Cheng Zhao
c49a44f944
Remove unneeded ArchiveFactory.
2014-09-25 21:54:59 +08:00
Cheng Zhao
05317ad81e
Clean cached asar archives when quitting.
2014-09-25 21:49:01 +08:00
Cheng Zhao
dbbfef38b1
Cache asar archives on JavaScript side.
2014-09-25 20:48:32 +08:00
Cheng Zhao
4006b6407c
Just use plain pointer for weak reference.
2014-09-25 20:38:12 +08:00
Cheng Zhao
c95a93ef1c
Add a way to copy a file in archive into filesystem.
2014-09-25 16:56:50 +08:00
Cheng Zhao
0cab034dab
Make fs.readdir support asar package.
2014-09-24 18:44:00 +08:00
Cheng Zhao
9b755620d3
Make fs.stat support asar package
2014-09-24 15:38:02 +08:00
Cheng Zhao
8199ad2ae6
Add asar.stat method.
2014-09-24 12:02:33 +08:00
Cheng Zhao
0d09143a77
Add JavaScript bindings of asar::Archive.
2014-09-24 11:10:07 +08:00
Cheng Zhao
241b07f763
Initailize V8 with gin.
2014-09-01 16:41:26 +08:00
Cheng Zhao
7de0f71a75
Fix compiling with print messages.
2014-08-21 16:14:22 +08:00
Cheng Zhao
60dcb0e67f
Make process.activateUvLoop friendly to multi-context, fixes #587 .
2014-08-20 13:01:23 +08:00
Cheng Zhao
0f617c3d3c
Remove the unused process.getCurrentStackTrace().
2014-08-19 22:35:22 +08:00
Cheng Zhao
b4f00f3b40
Update with new ScopedPersistent interface.
2014-08-10 21:19:07 +08:00
Cheng Zhao
f60d8066f8
Use the function converter from native_mate.
2014-08-10 19:14:20 +08:00
Cheng Zhao
43e8ecb118
win: screen module is now browser only.
2014-07-11 19:06:46 +08:00
Cheng Zhao
83ff00dc29
linux: screen module can not be used in renderer.
2014-07-10 10:26:17 +08:00
Cheng Zhao
ba46f2c820
Use new context aware module API in builtin modules.
2014-06-29 20:48:44 +08:00
Cheng Zhao
e5c10f29de
gtk: Use libgtk2ui from chrome.
2014-06-29 03:41:22 +00:00
Cheng Zhao
cd4c5d976b
Adapt to API changes of Chromium and node.
2014-06-28 22:33:00 +08:00
Cheng Zhao
e0e1d45859
Rename string16 to base::string16.
2014-06-28 19:49:22 +08:00
Cheng Zhao
accfabf569
Add web-view module.
2014-06-16 14:27:57 +08:00
Cheng Zhao
c575d40d63
💄 Fix clipboard on Linux.
2014-06-05 15:22:36 +08:00
Cheng Zhao
950704c7e8
Provide API to access selection clipboard, fixes #377 .
2014-06-05 14:48:12 +08:00
Cheng Zhao
7c14c2758b
Return unicode string in clipboard.readText(), fixes atom/atom#2145 .
2014-06-05 11:43:45 +08:00
Cheng Zhao
6c7fe80ec5
Bind TrayIcon to JS.
2014-05-30 23:57:54 +08:00
Cheng Zhao
9721c4e761
Rename process.__atom_type to process.type.
2014-05-21 22:44:43 +08:00
Cheng Zhao
55640a3ff7
win: Make sure shell.showItemInFolder in called on browser side.
...
Fixes #341 .
2014-05-21 22:31:44 +08:00
Pascal Borreli
831c7f5924
Fixed typos
2014-05-07 07:34:53 +01:00
Cheng Zhao
f176b2c58f
Switch to use MIT license.
2014-05-04 20:29:08 +08:00
Cheng Zhao
c0875864dc
Handle IPC messages in webContents instead of BrowserWindow.
2014-04-25 16:13:16 +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
3b8f959ddf
Simplify atom_bindings.
2014-04-22 11:01:37 +08:00
Cheng Zhao
e5176d6a0a
Use BrowserV8Locker when possible.
2014-04-18 17:25:22 +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
1ae30328d6
Use the new Constructor API.
2014-04-16 11:58:48 +08:00
Cheng Zhao
8162689014
Use native_mate to simplify id_weak_map api.
2014-04-16 09:54:01 +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
e42433cf9a
Use native_mate to simplify shell API.
2014-04-15 15:41:26 +08:00
Cheng Zhao
3d518c2105
gtk: Do not access clipboard in renderer process.
2014-04-05 14:49:59 +08:00
Cheng Zhao
c6f0968d17
gtk: Do not count menubar in work area size on Unity.
2014-03-27 17:55:28 +08:00
Cheng Zhao
b6ac06c022
Order header files.
2014-03-16 09:37:04 +08:00
Cheng Zhao
2d808d30a2
Bring back build/include_order cpplint.
2014-03-16 09:13:06 +08:00
Cheng Zhao
bbef33a33a
Bring back build/header_guard cpplint.
2014-03-16 08:58:59 +08:00
Cheng Zhao
516d46444d
Move all sources under atom/.
2014-03-16 08:30:26 +08:00