Haojian Wu
55b3f1936f
Modernize to C++11: Use for-range loop.
2016-07-10 13:33:15 +02:00
Haojian Wu
fab02809c6
Modernize to C++11: NULL => nullptr.
...
No functional change.
2016-07-10 11:57:04 +02:00
Cheng Zhao
1ba3907038
Update to API changes of Chrome 52
2016-07-04 15:32:43 +09:00
Milan Burda
a886261518
Fix crash in ReadImageSkiaFromICO when CreateSkBitmapFromHICON fails
2016-06-28 12:17:05 -07:00
Kevin Sawicki
e802d0e4a0
Add bookmark key to clipboard.write
2016-06-24 15:14:28 -07:00
Kevin Sawicki
271808b278
Support reading/writing bookmarks to clipboard
2016-06-24 15:08:12 -07:00
Cheng Zhao
ee28f4fc32
Handle v8::MicrotasksScope in the main process
2016-06-24 14:45:31 +09:00
Kevin Sawicki
e9222583cb
toPng/toJpeg -> toPNG/toJPEG
2016-06-22 15:47:42 -07:00
Leonard Lamprecht
67dd19ed0f
Replace OS X and Mac OS with macOS
2016-06-18 15:26:26 +02:00
Cheng Zhao
e2442fb052
Move converter for std::map to native_mate
2016-06-13 09:27:13 +09:00
Milan Burda
c89d8b19b6
Add optional requestHeaders argument to autoUpdater.setFeedURL + allow calling mulitple times
2016-06-12 12:46:16 +02:00
Cheng Zhao
9f0fc96025
Merge pull request #5711 from electron/extension-code-cleanup
...
Implement partial chrome.* API for devtools extension
2016-05-29 23:29:08 +00:00
Cheng Zhao
9ab76fb884
Add webContents.sendToAll to send message to all frames
2016-05-27 16:58:49 +09:00
Cheng Zhao
4fb9e20c33
Add API to set render process preferences
2016-05-27 08:51:02 +09:00
Kevin Sawicki
23962e133e
Use correct TODO format
2016-05-26 14:28:33 -07:00
Kevin Sawicki
dc7316f52f
Upper case abbreviations
2016-05-26 14:23:20 -07:00
Cheng Zhao
a2bd55dd3c
Adapt to changes of Chrome 51 API changes (Part 2)
2016-05-23 12:29:14 +09:00
Cheng Zhao
7ba391da7c
Update to API changes of Chrome 51
2016-05-23 10:59:39 +09:00
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
Kevin Sawicki
b90c0c7895
Use MakeAbsoluteFilePath when creating native image from path
2016-03-07 16:45:13 -08:00
Cheng Zhao
c65cfadd09
v8Util.createObjectWithName is no longer used
2016-02-22 13:05:58 +08:00
Kevin Sawicki
b3ac48cf52
Handle argument parsing in C++
2016-02-17 09:05:21 -08:00
Kevin Sawicki
04517caf36
Add missing semicolon
2016-02-17 08:56:59 -08:00
Kevin Sawicki
5e5313d8b1
Return value from bindings method
2016-02-17 08:56:59 -08:00
Kevin Sawicki
f5bed87199
without_activation -> activate
2016-02-17 08:56:58 -08:00
Ben Gotow
d8679b3899
Allow openExternal to open URLs in the background #3224
2016-02-17 08:56:58 -08:00
Max Brunsfeld
3e3e593366
👕 Add missing semicolons
2016-02-16 15:28:33 -08:00
Max Brunsfeld
ccef805e9b
Add API for custom handling of deprecations
2016-02-16 15:21:32 -08:00
Vjekoslav Ratkajec
252b12be13
Add readRtf feature with appropriate spec test. Docs updated as well.
2016-02-05 09:06:21 +01:00
Vjekoslav Ratkajec
acd5d40ab0
Adding support to write RTF to clipboard.
2016-02-04 19:38:47 +01:00
Robo
a6bcc5d110
common: export hideInternalModules
2016-01-27 18:44:47 +05:30
Kevin Sawicki
b1f679ff6d
Clean up semicolon lint errors
2016-01-21 09:32:21 -07:00
Kevin Sawicki
70bcb0ac5a
Clean up no-unused-vars lint errors
2016-01-21 09:32:21 -07:00
Cheng Zhao
3b62ce7fa6
modules.exports => module.exports
2016-01-16 14:26:01 +08:00
Kevin Sawicki
f830af49c2
Use ES6 style class
2016-01-15 15:30:01 -08:00
Kevin Sawicki
2b95aeba3c
Declare vars one per line
2016-01-15 10:17:45 -08:00
Jessica Lord
1779701445
Use const
2016-01-14 14:40:12 -08:00
Kevin Sawicki
030d2a843c
Remove extra newlines around comments
2016-01-14 11:10:12 -08:00
Kevin Sawicki
990dc30e8d
Use // for multi-line comments
2016-01-14 10:44:21 -08:00
Kevin Sawicki
f4af744519
Use // for single line comments
2016-01-14 10:35:29 -08:00
Cheng Zhao
af02739c4e
Change webview's zoom level on JavaScript side
2016-01-13 12:50:02 +08:00
Cheng Zhao
55dfddba77
Handle executeJavaScript in JavaScript
2016-01-13 12:11:46 +08:00
Kevin Sawicki
1f9691ae13
Convert all source files to JavaScript
2016-01-12 16:24:06 -08:00
Kevin Sawicki
403870a27e
Migrate to block comments
2016-01-12 16:22:34 -08:00
Cheng Zhao
2294a5ce69
Leak FunctionTemplateHandle
...
They are cached through the app's lifetime, and freeing them at the
right time is complicate, so just leak them.
2015-12-29 10:40:10 +08:00
Cheng Zhao
d8d963b780
Cache function templates created by CreateObjectWithName
2015-12-29 10:29:48 +08:00
Cheng Zhao
3d2163230b
Optimize the case when creating plain object
2015-12-28 22:51:40 +08:00
Cheng Zhao
353f08e477
Remove sync call in remote module
2015-12-17 22:03:16 +08:00
Kevin Sawicki
67c0de36a3
📝 Add missing period
2015-12-15 16:47:19 -08:00
Kevin Sawicki
d44a9d1fcc
🎨 Remove parens
2015-12-15 16:46:53 -08:00
Kevin Sawicki
aedfd3bf0e
Add specs for companyName/submitURL being required
2015-12-15 16:44:38 -08:00