Cheng Zhao
82fc98848a
win: Move the ICO reading code into a separate function
2015-08-21 12:06:38 +08:00
Cheng Zhao
ec18c2f354
Merge pull request #2453 from etiktin/nativeimage_ico_support_windows
...
Add support for using .ico icon files on Windows
2015-08-21 11:45:12 +08:00
Matt Mastracci
e628c7b37d
Fix for issue 1968: use uv_backend_timeout to determine timeout to match other platforms
2015-08-20 20:13:04 -06:00
Eran Tiktin
f386342a7c
Fix memory leak and confirming to style guide
...
Fixed according to @hokein 's suggestions.
2015-08-20 19:26:20 +03:00
Eran Tiktin
2bc087b5d5
Merge branch 'master' into nativeimage_ico_support_windows
2015-08-20 17:11:52 +03:00
Cheng Zhao
ebb1ddc0df
Support converting Buffer to Value
2015-08-12 15:39:33 +08:00
Cheng Zhao
e43c63ae08
Update chrome_version.h
2015-08-11 10:40:41 +08:00
Haojian Wu
11ffb9dfb6
Fix node::Buffer API changes.
2015-08-11 09:48:29 +08:00
Haojian Wu
fc4031ec26
Now the value in ScopedPtrHashMap is required to be scoped_ptr.
2015-08-11 09:48:29 +08:00
Haojian Wu
8fda175264
Update base::Value::CreateNullValue API changes.
2015-08-11 09:48:29 +08:00
Cheng Zhao
b4e836bf2e
Bump v0.30.4
2015-08-10 16:50:48 +08:00
Eran Tiktin
850edd546c
Added support for reading .ico from asar
...
If the file path is to an asar archive, we extract the file to temp, so
LoadImage can load it
2015-08-08 21:57:29 +03:00
Eran Tiktin
ab1b4c46b2
Converted tabs to spaces
2015-08-08 18:31:12 +03:00
Eran Tiktin
bec7a399cb
Add support for using .ico icon files on Windows
...
NativeImage::CreateFromPath now supports loading .ico icon files on
Windows.
2015-08-08 17:58:05 +03:00
Cheng Zhao
0bf5effe58
Bump v0.30.3
2015-08-07 22:04:59 +08:00
Cheng Zhao
c51f349dfa
Run microtask before handling pending process.nextTick tasks
...
This follows the behavior of Node.js.
2015-08-07 21:26:24 +08:00
Cheng Zhao
1bb0dde360
Use WebScopedRunV8Script in converted C++ functions
2015-08-07 19:37:17 +08:00
Cheng Zhao
5c18d89453
Reimplement callback.h with C++11
2015-08-07 19:35:35 +08:00
Cheng Zhao
2ff104d012
Move callback converter from native mate to electron
2015-08-07 19:35:35 +08:00
Cheng Zhao
74fa2c809d
Make every JS function call is wrapped with V8RecursionScope
2015-08-07 19:35:35 +08:00
Cheng Zhao
ab44edd294
Perform microtask checkpoint after diving into libuv
2015-08-07 19:35:35 +08:00
Cheng Zhao
2f04f76e69
ImageSkiaRep doesn't release memory
2015-08-05 15:49:37 +08:00
Cheng Zhao
c872b1a770
Use different name for window class name
2015-08-04 19:35:46 +08:00
Cheng Zhao
db58048077
Use different name for wait events for different apps
2015-08-04 19:30:35 +08:00
Cheng Zhao
14803e4cf8
Close handle when waiting is end
2015-08-04 19:18:12 +08:00
Robo
239d535cac
render: executejavascript with option to simulate usergesture
2015-07-30 15:38:46 +05:30
Cheng Zhao
2ab079dc7d
Bump v0.30.2
2015-07-30 14:17:43 +08:00
Cheng Zhao
2d5c0ac9ee
Coffeescript declares variable before assigning it
2015-07-30 10:31:49 +08:00
Cheng Zhao
8d09f13bad
Fix running callback when global.global is deleted
...
Close #2366 .
2015-07-30 10:28:24 +08:00
Cheng Zhao
9afa94f4b8
win: Implement double-clicked event
2015-07-29 12:36:01 +08:00
Cheng Zhao
2c97cd64cf
Minor style fix for #2352
2015-07-29 11:48:40 +08:00
Nishanth Shanmugham
9211109088
Add NativeImage.IsTemplateImage method
...
* Rename internal function that determines template image filename patterns
* Add the new IsTemplateMethod
2015-07-26 21:58:48 -07:00
Cheng Zhao
7ceca9f426
Bump v0.30.1
2015-07-24 16:59:18 +08:00
Cheng Zhao
eb92e9cdd8
Use node::MakeCallback to emit events in C++
...
Fix #2165
2015-07-23 13:48:34 +08:00
Cheng Zhao
135aca02af
Bump v0.30.0
2015-07-17 01:01:25 +08:00
Cheng Zhao
a2c26b8c74
Fix hanlding trailing slash in asar package, close #2222
2015-07-16 03:49:26 -07:00
Cheng Zhao
0c7c6ddcc9
Merge pull request #2175 from atom/propagate-app-model-id
...
Propagate App Model User ID on Windows
2015-07-13 12:16:10 -07:00
Robo
2d3e938a7f
clipboard: api to write multiple formats to same writer
2015-07-10 09:20:52 +05:30
Paul Betts
a0784bd038
Add a new renderer switch to pass down the app model ID
2015-07-09 16:37:11 -07:00
Cheng Zhao
a90a994a89
Bump v0.29.2
2015-07-07 17:22:05 +08:00
Cheng Zhao
2bcf8c7bc2
Bump v0.29.1
2015-07-03 23:33:49 +08:00
Cheng Zhao
dadd34249a
Bump v0.29.0
2015-07-03 16:45:56 +08:00
Cheng Zhao
b1db947def
Fix compilation errors due to compiler change
2015-07-01 07:56:29 +00:00
Cheng Zhao
bd4d6dcda2
Merge pull request #2046 from atom/id-weak-map
...
Track native JS objects in C++
2015-06-24 20:01:42 +08:00
Cheng Zhao
f93d50c380
Merge pull request #2025 from atom/power-save-blocker-api
...
Power save blocker API
2015-06-24 18:53:10 +08:00
Cheng Zhao
28d1fb8cad
Add Values() method for IDWeakMap
2015-06-24 16:54:20 +08:00
Cheng Zhao
7f0658efa7
Add mate::TrackableObject
2015-06-24 14:36:05 +08:00
Cheng Zhao
15f350edcb
Don't make IDWeakMap public API
2015-06-24 13:38:55 +08:00
Cheng Zhao
d02413de00
Make the JS IDWeakMap a thin wrapper of C++ IDWeakMap
2015-06-24 13:35:39 +08:00
Cheng Zhao
cd93b9412c
Add C++ version of IDWeakMap
2015-06-24 13:22:09 +08:00
Cheng Zhao
42e21d15bf
Remove all calls to node::MakeCallback
...
node::MakeCallback is doing too much for us, avoid calling it.
2015-06-23 20:14:03 +08:00
Cheng Zhao
78459b913b
Add EmitEvent function to replace node::MakeCallback
2015-06-23 19:46:37 +08:00
Cheng Zhao
b3905e867e
Bump v0.28.3
2015-06-23 14:22:17 +08:00
Cheng Zhao
aba517d4fd
Merge pull request #2014 from atom/enable-zygote
...
Use zygote process on Linux
2015-06-23 13:34:40 +08:00
Rich Hong
f51103f44a
Update internalModuleReadFile to support unpacked asar files
...
Add tests for reading unpacked files using both fs.readFileSync and
internalModuleReadFile
2015-06-22 19:38:47 -04:00
Haojian Wu
7c5afdd388
Add PowerSaveBlocker APIs.
2015-06-21 21:14:14 +08:00
Cheng Zhao
ef59f4f243
Move headers to atom/common
2015-06-19 23:11:53 +08:00
Cheng Zhao
83fe340b98
Make process.argv work with zygote
2015-06-19 22:56:10 +08:00
Cheng Zhao
befdfceada
Merge pull request #1998 from deepak1556/process_patch
...
process: add hang method
2015-06-19 16:21:29 +08:00
Cheng Zhao
49e1316f7f
Merge pull request #1970 from deepak1556/scheme_patch
...
protocol: api to register custom schemes to standard schemes
2015-06-19 16:16:46 +08:00
deepak1556
8e05fe3350
process: add hang method
2015-06-18 14:14:29 +05:30
Cheng Zhao
25a7bcef82
Bump v0.28.2
2015-06-18 13:15:13 +08:00
Cheng Zhao
c8eaaaea83
mac: Use NSFileManager::resultingItemURL for moving file to trash
...
This allows the deleted file to be restored, fixes #2001 .
2015-06-18 13:09:02 +08:00
deepak1556
663a48ee38
protocol: api to register custom schemes to standard schemes
2015-06-17 14:43:04 +05:30
Cheng Zhao
db8ffe1dc7
Handle ".." in asar path, fix #1982
2015-06-17 15:52:49 +08:00
Cheng Zhao
8b8a6aea74
Bump v0.28.1
2015-06-12 16:26:51 +08:00
Cheng Zhao
c97c3fb9a1
Use LSGetApplicationForURL to search for app
...
It costs less.
2015-06-12 13:54:42 +08:00
Cheng Zhao
7ce8156691
Merge branch 'master' of https://github.com/mattotodd/electron into mattotodd-master
2015-06-12 13:49:51 +08:00
Cheng Zhao
5fe130a684
Bump v0.28.0
2015-06-11 12:13:18 +08:00
msullivan
b4674923c9
return bool on shell.openExternal
2015-06-10 11:06:22 -04:00
Cheng Zhao
2fdc5780ff
Merge pull request #1859 from deepak1556/client_certificate_patch
...
browser: support client certificate
2015-06-10 19:17:41 +08:00
Cheng Zhao
605722c397
Make asar work with internalModuleReadFile and internalModuleStat
2015-06-10 16:18:55 +08:00
Cheng Zhao
132c13a11b
Fix calls to deprecated node::ThrowError API
2015-06-10 14:21:09 +08:00
Cheng Zhao
d12697c657
Merge pull request #1918 from kirkouimet/master
...
Fixing an issue compiling on Windows and improving webview interopability with other JavaScript libraries
2015-06-10 12:48:45 +08:00
Cheng Zhao
db9615f5cd
Don't rely on JS for setting optional argument
...
It makes the code much shorter and cleaner.
2015-06-10 12:12:37 +08:00
Kirk Ouimet
09c5da7147
Fixing cpplint line width
2015-06-09 21:06:40 -07:00
Cheng Zhao
200a19dad9
linux: Don't use clipboard module in renderer process
2015-06-10 11:57:28 +08:00
kirkouimet
f91a81fe77
Convert std::string path to a FilePath to get compiling working on Windows
2015-06-09 15:56:54 -07:00
Cheng Zhao
4c48f0cd36
Merge pull request #1882 from atom/get_uploaded_report_api
...
Implement crash-reporter.getUploadedReports API
2015-06-09 16:35:08 +08:00
Cheng Zhao
89087d402d
Merge pull request #1873 from atom/multiline-headers
...
Support multiple-line headers in `did-get-response-details'
2015-06-09 12:03:45 +08:00
Haojian Wu
64e84b8f6a
Support multiple-line headers in web-contents `did-get-response-details' event.
2015-06-09 11:18:46 +08:00
deepak1556
2de5f9de6c
browser: support client certificate
2015-06-08 21:00:32 +05:30
Kirk Ouimet
75448ad7ed
Guarding against polluted Object.prototypes
2015-06-07 23:59:49 -07:00
Cheng Zhao
8363a39a56
Bump v0.27.3
2015-06-08 13:24:47 +08:00
Haojian Wu
cd1c331112
Fix coffeelint error.
2015-06-06 17:59:20 +08:00
Haojian Wu
c821a06e2f
Implement crash-reporter.getUploadedReports API.
...
Also redefine the getLastCrashReport API implementation using
getUploadedReports API.
2015-06-05 18:59:03 +08:00
Cheng Zhao
f54506acc0
Merge pull request #1822 from hokein/crashpad-mac
...
Crashpad!
2015-06-04 22:11:14 +08:00
deepak1556
683917ae67
renderer: option to override page visiblity state
2015-06-04 14:40:13 +05:30
Haojian Wu
d5b47d1059
Simplify and polish the code.
2015-06-04 15:53:37 +08:00
Haojian Wu
94382cbaa2
Fix cpplint error.
2015-06-03 11:31:34 +08:00
Haojian Wu
4457edb1d3
Implement crash-reporter.getLastLastCrashReport API on OS X.
2015-06-03 09:47:42 +08:00
Haojian Wu
317406f26d
Update crashpad implementation after code review.
2015-06-02 11:41:47 +08:00
Cheng Zhao
fe631e6eeb
Bump v0.27.2
2015-06-01 12:22:36 +08:00
Haojian Wu
cd8ceec62e
Send all crash reports to collection server.
...
Crashpad client only send reports once per hour. It's different with breakpad.
With this behavior, the other reports generated within an hour will be totally
skipped, which causes the crash api test only run once with an hour.
This patch unrestricts this time limit.
2015-05-30 08:47:52 +08:00
Haojian Wu
4e2f242ad0
Use Crashpad instead of Breakpad on OS X.
2015-05-29 23:25:11 +08:00
Cheng Zhao
02bdace366
Delete Node's symbols after Environment has been loaded
...
Fix #1803 .
2015-05-29 22:20:20 +08:00
Cheng Zhao
fb37b5720d
Update brightray to use correct Chrome version string
...
Close #1808
2015-05-29 17:52:46 +08:00
Cheng Zhao
3e720bd611
Bump v0.27.1
2015-05-28 16:23:29 +08:00
Cheng Zhao
d9102efff7
Merge pull request #1752 from deepak1556/clipboard_patch
...
clipboard: api to list supported types, reading and writing markup
2015-05-28 15:29:36 +08:00
Cheng Zhao
6ee8f6e4f2
Bump v0.27.0
2015-05-27 16:57:41 +08:00
deepak1556
4d56281972
restore clipboard.has api and fix docs
2015-05-27 13:35:51 +05:30
deepak1556
5584e3fd49
clipboard: api to list supported types, reading and writing markup
2015-05-27 13:21:56 +05:30
Cheng Zhao
d78efe7c22
Use Local instead of Handle
2015-05-22 19:11:22 +08:00
Cheng Zhao
01e891652f
Fix compilation errors
2015-05-22 15:24:34 +08:00
Cheng Zhao
c372dcb462
Merge pull request #1706 from hammerandchisel/crash-reporter-reinit
...
Explicitly null the crash reporter before assigning it
2015-05-22 10:17:00 +08:00
Andy Dill
9a768dd4f0
Remove explicit nullptr and add clarifying comment.
2015-05-21 09:02:17 -07:00
Cheng Zhao
82377cbfd5
Bump v0.26.1
2015-05-21 15:52:42 +08:00
Cheng Zhao
fa169ee7ff
Remove the original-fs.js
...
It is acutally not needed.
2015-05-20 13:31:28 +08:00
Cheng Zhao
0e7bc6b8ec
Make "original-fs" available as built-in module
2015-05-20 13:29:05 +08:00
Andy Dill
dcbc6a127b
Explicitly null the crash reporter before assigning it to allow the EH to unregister.
2015-05-15 22:37:00 -07:00
Cheng Zhao
827741a9c6
Bump v0.26.0
2015-05-12 17:24:00 +08:00
Cheng Zhao
d9c769fa69
Reuse archive's fd in Node asar API
2015-05-11 11:10:50 +08:00
Cheng Zhao
d8d7e5b9bb
Add Archive::GetFD
2015-05-11 11:02:17 +08:00
Cheng Zhao
f8e1dfbbc6
Keep archive's file opened in the archive's whole life time
2015-05-11 10:47:29 +08:00
Cheng Zhao
9e3f108fad
Merge pull request #1585 from joshaber/no-texture
...
Use the standard window background
2015-05-10 21:09:38 +08:00
deepak1556
853ce0bbd7
provide flag to set flash version
2015-05-10 09:22:09 +05:30
deepak1556
3fdc4543b8
ppapi flash plugin support
2015-05-10 09:22:09 +05:30
joshaber
85119db81a
Use a new option to opt into the standard window.
2015-05-08 16:28:24 -04:00
Cheng Zhao
4d9470c24e
Bump v0.25.3
2015-05-08 14:28:30 +08:00
Cheng Zhao
4608f5e9cd
Bump v0.25.2
2015-05-01 14:57:25 +08:00
Cheng Zhao
c6cf91d11f
Add 'disable-auto-hide-cursor' option
2015-04-29 10:26:31 +08:00
Cheng Zhao
c811beb1e2
mac: Remove all unnecessary default menu items
2015-04-25 20:36:09 +08:00
deepak1556
da648511b3
asar: make fs async methods create errors asynchronously
2015-04-25 10:08:02 +05:30
Cheng Zhao
67bc4afe88
Bump v0.25.1
2015-04-23 13:29:34 +08:00
Cheng Zhao
500d15f53a
Also remove user-defined search paths in renderer
2015-04-23 13:17:18 +08:00
Cheng Zhao
e3109c9f1f
Bump v0.25.0
2015-04-22 05:50:55 +00:00
Cheng Zhao
a213a8639f
win: OpenItemViaShell is removed
2015-04-22 10:04:30 +08:00
Cheng Zhao
23833cf7f4
Update user agent
2015-04-21 19:01:29 +08:00
Cheng Zhao
c1737e5c16
Parse the debug args of Node
2015-04-20 15:12:46 +08:00
Cheng Zhao
1d148fe2fb
Remove our own debugger implementation
...
Previously it was used because Node doesn't provide one for latest V8.
2015-04-20 14:35:57 +08:00
Cheng Zhao
0033240c1f
Bump v0.24.0
2015-04-17 15:30:17 +08:00
Cheng Zhao
cd0aa4a956
Merge pull request #1389 from atom/rename-to-electron
...
Rename to electron
2015-04-17 15:22:07 +08:00
Cheng Zhao
76316e5e65
Forgot to set default version in crash reporter
2015-04-14 17:37:22 +08:00
Cheng Zhao
14e05c6d68
mac: Remove "Atom"s from default menu
2015-04-14 17:27:04 +08:00
Cheng Zhao
e04c58f398
mac: Generate Info.plist from gyp variables
2015-04-14 16:09:34 +08:00
Cheng Zhao
2d8d328f02
Rename hard-coded application names in code
2015-04-14 15:55:41 +08:00
Cheng Zhao
c6c305a827
Don't hard-code product name in crash-repoter
2015-04-14 15:39:48 +08:00
Cheng Zhao
b86f149512
Set process.versions['electron']
2015-04-14 14:18:20 +08:00
Cheng Zhao
a72c7b38a5
Don't hard code exec path in child_process.fork
2015-04-14 14:05:30 +08:00
Cheng Zhao
eddb23d56b
Merge pull request #1387 from deepak1556/shell_patch
...
shell: fix regression for moveItemToTrash on mac
2015-04-13 14:51:59 +08:00
deepak1556
175f397173
shell: fix regression for moveItemToTrash on mac
2015-04-13 10:57:58 +05:30
Cheng Zhao
91c9f590dd
Remove the NativeImage::MakeTemplateImage method
...
Is duplicate with SetTemplateImage.
2015-04-13 11:53:24 +08:00
Cheng Zhao
f11988a354
Merge pull request #1383 from deepak1556/nativeimage_patch
...
nativeImage: adding setTemplateImage method
2015-04-13 11:47:58 +08:00
Cheng Zhao
43fe82e1e5
Merge branch 'master' into rename-to-electron
2015-04-12 21:49:08 +08:00
Cheng Zhao
a724d6d684
Bump v0.23.0
2015-04-12 12:59:04 +08:00
Cheng Zhao
1f66006c93
win: Fix link errors caused by libicu
2015-04-10 15:35:25 +08:00
Cheng Zhao
3a5bb588e5
No more need to reference node's symbols
2015-04-10 15:20:45 +08:00
Kevin Sawicki
6615ef1054
Atom Shell -> Electron
2015-04-08 10:16:10 -07:00
deepak1556
efd294d69d
nativeImage: adding setTemplateImage method
2015-04-08 14:39:14 +05:30
Cheng Zhao
f169772031
Link boringssl and node together in one binary
2015-04-07 12:28:57 +08:00
Cheng Zhao
938069a389
win: Fix linking
2015-04-06 14:21:21 +08:00
Cheng Zhao
211e386c89
win: Fix linking errors
2015-04-01 21:33:08 +08:00
Cheng Zhao
2915774644
No more need to reference node's native bindings
2015-04-01 21:07:29 +08:00
Cheng Zhao
ce3d9f44ff
win: Fix compilation error
...
MSDN said, "These are pre-Win32 error codes and are no longer supported or
defined in any public header file."
2015-03-30 09:55:02 +08:00
Cheng Zhao
59c95f6a7d
Bump v0.22.3
2015-03-29 21:16:42 +08:00
Cheng Zhao
b987656f1f
It is not safe to get exit code once the child is reaped
...
Continues #1311 .
2015-03-29 20:32:23 +08:00
Cheng Zhao
e0d0e7651f
Merge pull request #1311 from deepak1556/api_shell_patch
...
shell: return status for moveitemtotrash operation
2015-03-29 20:02:13 +08:00
Cheng Zhao
922def8ce0
Cleanup command line handling code
2015-03-29 19:59:16 +08:00
Cheng Zhao
d9c22396ea
Revert "Don't store args as std::string"
...
This reverts commit 8482575d1f
.
There is weird thing happened if we tried to store raw "argv" on Linux.
2015-03-29 19:53:47 +08:00
Cheng Zhao
8482575d1f
Don't store args as std::string
2015-03-29 19:11:25 +08:00
Robo
bedea89dcf
shell: return status for moveItemToTrash on all platforms
2015-03-29 00:47:50 +05:30
deepak1556
399f47ef0f
implemetation of AtomCommandline to preserve args
2015-03-28 22:41:00 +05:30
Cheng Zhao
b54e786b09
linux: it is now safe to use clipboard in renderer process
2015-03-26 15:46:08 +08:00
Cheng Zhao
6f082b630d
Add clipboard.writeImage API
2015-03-26 12:54:15 +08:00
Cheng Zhao
2e172a1053
Bump v0.22.2
2015-03-23 16:31:23 +08:00
Cheng Zhao
30e931f10b
Revert "The "subpixel-font-scaling" option is removed"
...
This reverts commit 98fbe5127b
.
2015-03-23 16:29:32 +08:00
Cheng Zhao
1479f73612
Simplify #1261
2015-03-21 19:20:52 +08:00
Cheng Zhao
5e8c478b2c
Merge pull request #1261 from deepak1556/asar_lib_patch
...
fs.read empty files from asar archive
2015-03-21 19:17:49 +08:00
deepak1556
fdc10e4e5f
Allow reading empty file from asar archive
2015-03-21 14:56:03 +05:30
Cheng Zhao
b5a8cfb704
Recognize asar archive with unpacked files
2015-03-20 20:34:58 +08:00
Cheng Zhao
1df033dce8
No need to override child_process.fork
...
We already support asar in Node mode.
2015-03-20 19:04:11 +08:00
Cheng Zhao
99410217b9
Bump v0.22.1
2015-03-18 22:36:44 +08:00
Cheng Zhao
d6b36bb487
Bump v0.22.0
2015-03-18 20:57:21 +08:00
Cheng Zhao
57812616b9
win: Fix tests and compilation errors
2015-03-18 13:58:33 +08:00
Cheng Zhao
ff724634f2
js_stream is a new module of io.js
2015-03-18 09:57:47 +08:00
Cheng Zhao
5b2c0110dc
Fix other compilation errors
2015-03-18 09:57:41 +08:00
Cheng Zhao
98fbe5127b
The "subpixel-font-scaling" option is removed
2015-03-18 09:57:41 +08:00
Cheng Zhao
819ab5cd0c
Fix ui/gfx/geometry headers
2015-03-18 09:57:38 +08:00
Cheng Zhao
dead7caab2
CommandLine moved to base::CommandLine
2015-03-18 09:57:37 +08:00
Cheng Zhao
14542f4fc8
Upgrade to Chrome 41
2015-03-18 09:57:37 +08:00
Cheng Zhao
4176d542a5
Bump v0.21.3
2015-03-03 13:42:29 -08:00
Cheng Zhao
e98953a5a5
win: Fix calling FILE_PATH_LITERAL for variable, fixes #1143
2015-02-27 12:21:19 -08:00
Cheng Zhao
4834eed520
Set process.resourcesPath in C++
2015-02-13 13:32:58 +08:00
Cheng Zhao
0f15dd04af
Put compiled coffee sources into asar archive
2015-02-13 13:05:51 +08:00
Cheng Zhao
0b8efc434d
Use __dirname when setting globalPaths
2015-02-13 12:55:06 +08:00
Cheng Zhao
a8c227d5f5
Fix cpplint warnings
2015-02-12 19:50:28 +08:00
Cheng Zhao
3678f13dfb
Make NativeImage work with asar archive
2015-02-12 19:34:21 +08:00
Cheng Zhao
98a7f08be2
Move GetAsarArchivePath to asar_util.h
2015-02-12 17:31:14 +08:00
Cheng Zhao
3b3a025ed4
Move GetsOrCreateAsarArchive to asar_util.h
2015-02-12 17:23:49 +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