Cheng Zhao
3678f13dfb
Make NativeImage work with asar archive
2015-02-12 19:34:21 +08:00
Cheng Zhao
c8738a88a4
Add nativeImage.createFromBuffer()
2015-02-12 15:19:05 +08:00
Cheng Zhao
353b485202
Add NativeImage.toDataUrl()
2015-02-12 14:32:51 +08:00
Cheng Zhao
8e94856cc8
Add nativeImage.createFromDataUrl()
2015-02-12 14:27:53 +08:00
Cheng Zhao
b9f6d6dffc
Add nativeImage.createEmpty()
2015-02-12 13:55:45 +08:00
Cheng Zhao
509ce0d5cb
mac: Don't rely on NSImage to read file
...
It doesn't work with asar.
2015-02-12 12:24:18 +08:00
Cheng Zhao
2ca6be69e2
Fix cpplint warnings
2015-02-12 10:45:04 +08:00
Cheng Zhao
054b6a9817
Use NativeImage when converting images from V8
2015-02-12 10:45:04 +08:00
Cheng Zhao
6556602bdc
Enable creating NativeImage from file path
2015-02-12 10:45:04 +08:00
Cheng Zhao
2876f15063
Enable creating NativeImage with native-image module
2015-02-12 10:45:04 +08:00
Cheng Zhao
85f5ef2ab1
Enable creating NativeImage from PNG and JPEG
2015-02-12 10:45:04 +08:00
Cheng Zhao
53fca43d89
Add NativeImage.ToJPEG
2015-02-12 10:45:03 +08:00
Cheng Zhao
549df36f00
Add a few more methods for NativeImage
2015-02-12 10:45:03 +08:00
Cheng Zhao
aae576b484
Convert gfx::Image to NativeImage instance
2015-02-12 10:45:03 +08:00
Cheng Zhao
b76615f3e7
Add clipboard.readImage method
2015-02-12 10:45:03 +08:00
Cheng Zhao
7861eec426
linux: Fix building
2015-02-04 11:18:25 -08:00
Cheng Zhao
a02707f998
Fix cpplint warnings
2015-02-04 11:01:01 -08:00
Cheng Zhao
45e2dd2ab5
Init asar support without external .js files
2015-02-04 10:45:17 -08:00
Cheng Zhao
afd6f41e08
Redirect process.binding('natives').fs to global fs object
2015-02-02 13:35:32 -08:00
Cheng Zhao
12998399f8
Do not warn about deprecated APIs
...
Some APIs deprecated by iojs is still in use.
2015-01-27 14:49:14 -08:00
Cheng Zhao
c2b109f7fc
Fix process.crash()
2015-01-23 21:55:42 -08:00
Cheng Zhao
a755edebfa
Simplify atom_bindings
2015-01-23 21:33:40 -08:00
Cheng Zhao
7e33e26465
Add atom-shell bindings before loading environment
2015-01-21 15:02:09 -08:00
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