Cheng Zhao
a93c9462ed
Add BrowserWindow.setIcon
2016-05-20 22:22:15 +09:00
Cheng Zhao
ea2807c890
Make it possible to get different size of icons from ICO
2016-05-20 17:51:05 +09:00
Cheng Zhao
0059e7bcf9
Use LoadIconMetric to load correct icon
2016-05-20 17:12:07 +09:00
Cheng Zhao
9e26e5c121
Load HICON directly in NotifyIcon
2016-05-20 16:55:22 +09:00
Cheng Zhao
adfd99f5f0
Convert to mate::Handle<NativeImage> instead of gfx::Image
2016-05-20 16:14:40 +09:00
Cheng Zhao
7c34d8333c
Store ico image in HCION
2016-05-20 11:31:02 +09:00
Cheng Zhao
983d611e96
Cleanup the docs of process object
2016-05-19 20:12:56 +09:00
Paul Betts
e995befcd0
Move everything into atom_bindings
2016-05-18 11:07:30 -07:00
Paul Betts
60bc2acd6c
Linting
2016-05-17 14:47:56 -07:00
Paul Betts
cd7bc0e50c
Rename Metrics => MemoryInfo so it's consistent
2016-05-17 14:47:56 -07:00
Paul Betts
75362450cd
Everything is in KB
2016-05-17 14:47:56 -07:00
Paul Betts
191b054ff0
Implement process and system memory statistics
2016-05-17 14:47:56 -07:00
Paul Betts
a7ac7ba4c1
Add the dumbest new builtin that works
2016-05-17 14:47:56 -07:00
Cheng Zhao
f1142cf2b5
Adapt to changes on hash functions of Chrome 50
2016-05-13 11:12:15 +09:00
Cheng Zhao
73223fe5c3
Upgrade to Node v6
2016-05-13 11:12:01 +09:00
Cheng Zhao
ff3104b44b
hash function for pair is already defined in VS
2016-05-11 21:32:28 +09:00
Cheng Zhao
759a46f3d6
Use DoubleIDWeakMap for |rendererFunctions|
2016-05-11 20:40:48 +09:00
Cheng Zhao
49ac160ff7
Move createIDWeakMap to v8Util
2016-05-11 19:30:06 +09:00
Cheng Zhao
a077355d70
Turn api::IDWeakMap into api::KeyWeakMap<T>
2016-05-11 18:21:35 +09:00
Cheng Zhao
04d59991b0
Use create function instead of IDWeakMap constructor
2016-05-11 16:15:32 +09:00
Cheng Zhao
c708ae8eb5
Remove IDWeakMap
2016-05-11 15:51:22 +09:00
Cheng Zhao
7f2a46cdd5
Remove unused methods of IDWeakMap
2016-05-11 15:17:35 +09:00
Cheng Zhao
446da677b5
Remove NativeImage.toDataUrl
2016-05-06 10:12:56 -07:00
Cheng Zhao
76a954077d
Simplify RemoteCallbackFreer
2016-04-26 16:37:46 +09:00
Cheng Zhao
d9778413e1
Should also destory RemoteCallbackFreer when page is reloaded
2016-04-26 16:30:26 +09:00
Cheng Zhao
06cf0406fe
Dereference remote objects with native code
...
Previously we rely on the v8util.setDestructor to dereference the remote
objects in JavaScript, however as documented in V8, it is forbidden to
call V8 APIs in object's destructor (e.g. the weak callback), and doing
so would result in crashs.
This commit removes the JavaScript setDestructor method, and avoids
doing the dereference work with V8.
2016-04-26 16:16:22 +09:00
Cheng Zhao
2ae52d0ff4
Make Wrappable a template class
2016-04-25 10:17:54 +09:00
Cheng Zhao
39a20ea4fb
Upgrade Node to v5.10.0
2016-04-03 15:05:47 +09:00
Cheng Zhao
c307478d5d
Merge pull request #4892 from deepak1556/v8_util_patch
...
common: use v8::private symbols as identifiers for object properties
2016-03-31 10:22:23 +09:00
Cheng Zhao
70f9cb098f
Use Environment::KickNextTick
2016-03-27 19:13:44 +09:00
Cheng Zhao
d83cb53997
Type of native array has changed
2016-03-27 19:13:44 +09:00
Robo
5fccbfc7c6
common: use v8::private symbols as identifiers for object properties
2016-03-24 01:24:01 +05:30
Cheng Zhao
52d09e9600
Run callback of setDestructor immediately when GC happens
...
Fix #4733 .
2016-03-21 21:42:12 +09:00
Cheng Zhao
939d69df6e
Throw error with message of "Not implemented".
2016-03-17 22:01:31 +09:00
Paul Betts
e94da877c2
Fix compile oopses on non-OS X
2016-03-16 12:49:34 -07:00
Paul Betts
d344c1e408
AsNativeRepresentation => getNativeHandle
2016-03-14 19:50:31 -07:00
Paul Betts
e3e6cd6fd8
Remove type parameter
2016-03-14 19:48:40 -07:00
Paul Betts
63d9174822
🔥 build warning on Win32
2016-03-13 20:27:44 -07:00
Paul Betts
7233c83874
Linting
2016-03-13 20:18:03 -07:00
Paul Betts
262abc43f8
First hack at being able to return NSImage pointers
2016-03-13 20:08:53 -07:00
Paul Betts
b3da5370c0
Add a new method to get the representation of an image
2016-03-13 20:08:09 -07:00
Paul Betts
f4ec369873
More boring fixups
2016-03-10 17:06:22 +09:00
Cheng Zhao
5fae63a2f5
Fix compilation errors on OS X
2016-03-10 17:06:21 +09:00
Paul Betts
4503aafe64
int32 => int32_t
2016-03-10 17:06:21 +09:00
Paul Betts
d2944c62a5
basictypes.h => macros.h
2016-03-10 17:06:21 +09:00
Kevin Sawicki
70aa9b06ee
Move JavaScript to root lib/ folder
2016-03-08 11:14:21 -08:00
Kevin Sawicki
022c2c0d8c
absolute_path -> normalize_path
2016-03-07 16:45:14 -08:00
Kevin Sawicki
0dba0b9cad
MakePathAbsolute -> NormalizePath
2016-03-07 16:45:14 -08:00
Kevin Sawicki
9c88a5c1ab
Check ReferencesParent before calling MakeAbsoluteFilePath
2016-03-07 16:45:14 -08:00
Kevin Sawicki
145d5abe80
Mention explicit using original path on failures
2016-03-07 16:45:14 -08:00