Robo
c1404ff2c1
vendor: Update native mate to fix v8 DCHECK crash ( #12534 )
...
* update native_mate ref
* Remove MarkHighMemoryUsage api
2018-04-05 00:47:18 -05:00
deepak1556
e24c0dda5d
add features module to detect availability of build time features at runtime
2018-03-20 10:13:17 +03:00
Cheng Zhao
624e09533c
Avoid using deprecated skia size methods
2018-03-20 10:13:16 +03:00
deepak1556
719980a948
REVIEW: remove device emulation ipc dependecny on rvh
2018-03-20 10:13:15 +03:00
deepak1556
5684f8886f
REVIEW: move ipc use from rvh to rfh
2018-03-20 10:13:15 +03:00
Samuel Attard
41b9825f00
WebContents are no longer IPC Sender's
2018-03-20 10:08:58 +03:00
Samuel Attard
8664dd2139
Merge pull request #12190 from electron/fix-double-preload-master
...
Ensure that a document has been created before sending IPC messages
2018-03-14 10:34:05 +09:00
deepak1556
3cfe66e4c3
move ipc use from rvh to rfh
2018-03-09 15:01:09 +05:30
Cheng Zhao
e79b18762e
Enter context scope before InternalCallbackScope
2018-03-09 16:14:24 +09:00
Cheng Zhao
5d2452608d
Use InternalCallbackScope for ticking event loop
2018-03-09 15:23:40 +09:00
Shelley Vohr
1882b88c78
clean node ref and remove short circuit
2018-03-09 15:23:39 +09:00
Shelley Vohr
c8ef15cf40
update node::Environment::TickInfo calls
2018-03-09 15:23:39 +09:00
shelley vohr
0e5b6f9300
Upgrade to node v9.3.0 ( #11507 )
...
* update submodule refs for node v9.3.0
* Define "llvm_version" for Node.js build
* NODE_MODULE_CONTEXT_AWARE_BUILTIN -> NODE_BUILTIN_MODULE_CONTEXT_AWARE
* update NodePlatform to MultiIsolatePlatform
* fix linting error
* update node ref
* REVIEW: Explicitly register builtin modules
https://github.com/nodejs/node/pull/16565
* update libcc ref
* switch libcc to c62
* REVIEW: Address node api changes
- Always start the inspector agent for https://github.com/nodejs/node/pull/17085
- Set the tracing controller for node https://github.com/nodejs/node/pull/15538
- Isolate data creation now requires plaform https://github.com/nodejs/node/pull/16700
2018-02-23 10:22:00 +09:00
deepak1556
25d966110e
FIXME: PDF component IPC should be converted to Mojo.
...
https://codereview.chromium.org/2455543002
2018-02-23 10:21:23 +09:00
deepak1556
e03f7baa60
gfx::Image::SwapRepresentations is removed in favor of std::move
...
https://chromium-review.googlesource.com/c/chromium/src/+/588033
2018-02-23 10:21:23 +09:00
shelley vohr
7bcccdec41
remove atom-shell process name ( #11979 )
2018-02-20 10:33:38 -06:00
shelley vohr
6a3fde6e20
Merge pull request #11973 from electron/remove-clipboard-methods
...
Remove html/rtf methods marked for 2.0
2018-02-20 11:21:10 -05:00
shelley vohr
a2856db982
Remove nativeImage deprecated methods ( #11978 )
...
* remove deprecated nativeimage methods
* remove .only from spec
2018-02-20 09:15:27 -06:00
Shelley Vohr
e4e20d667b
remove html/rtf methods marked for 2.0
2018-02-20 08:41:58 -05:00
Shelley Vohr
fc025064f7
remove setExtraParameter for 2.0
2018-02-20 08:26:10 -05:00
Cheng Zhao
4298aecb7c
Merge pull request #11547 from electron/draggable_regions_patch
...
fix: draggable region ipc should be frame based
2018-01-07 21:15:50 +09:00
deepak1556
1d95241185
FIXME: refactor and remove usage of ScopedAllowIO where possible
2018-01-02 16:37:06 +09:00
deepak1556
99e26b8318
fix: draggable region ipc should be frame based
2018-01-01 22:54:02 +05:30
Aleksei Kuzmin
b9ed7380aa
Explicitly set alpha type of bitmaps with JPEG data to opaque
...
Actually fixes #11245 .
2017-11-30 17:56:32 +01:00
Aleksei Kuzmin
89c1b8043f
Do not use SkBitmap.deepCopyTo()
, it was removed
...
Copy of the `sk_tool_utils::copy_to()` is used instead.
Probsbly we should use the function itself.
2017-11-24 10:58:17 +09:00
Samuel Attard
fc265b7600
linter plz
2017-11-17 06:15:53 +11:00
Samuel Attard
bdbc6bb165
Clean up empty logic
2017-11-17 06:09:35 +11:00
Samuel Attard
57f934a806
Appease the linter
2017-11-15 18:24:18 +11:00
Samuel Attard
8a8f169628
Add comments and use ToLocal instead of ToLocalChecked
2017-11-15 18:24:18 +11:00
Samuel Attard
3c0b233d04
Fix line length in caller.cc
2017-11-13 11:42:42 +11:00
Samuel Attard
aa6b9a5025
Fix crash when emitting unhandled error on native EventEmitter
2017-11-13 03:03:58 +11:00
Shelley Vohr
24acd74d15
update deprecation warning
2017-11-01 22:23:33 -04:00
Shelley Vohr
3af83f1c97
add new method and mark setExtraParameter for deprecation
2017-11-01 21:57:43 -04:00
Shelley Vohr
7f89cd0774
remove const from non-member function
2017-10-31 23:55:22 -04:00
Shelley Vohr
93df164485
add const and other small edits
2017-10-31 23:42:25 -04:00
Shelley Vohr
3136f833a5
fixes and updates to GetParameters
2017-10-31 13:51:44 -04:00
Shelley Vohr
a9c13359dc
first attempt to add new GetParameters method to CrashReporter
2017-10-31 13:06:54 -04:00
Shelley Vohr
06075c4499
extrapolate removeExtraParameter into new method
2017-10-30 23:12:04 -04:00
Samuel Attard
2c7787900f
Follow style guide
2017-10-10 17:20:55 +11:00
Samuel Attard
9308c96f95
Appease the linting overlords
2017-10-10 17:17:51 +11:00
Samuel Attard
b5ba8699f3
Enable hsl shifting of named images
2017-10-10 17:05:13 +11:00
Samuel Attard
767a178bd1
Do not throw if the named image can not be found
2017-10-10 03:18:44 +11:00
Samuel Attard
e027ba9c47
Add nativeImage.createFromNamedImage API
2017-10-10 03:13:40 +11:00
Felix Rieseberg
9fcf7eb27c
🔧 Don't call GetIdleWakeupsPerSecond on Win
2017-10-03 10:21:31 -07:00
Cheng Zhao
894bcdf749
Merge pull request #9896 from ferreus/dev/vladimir_8017
...
Fix #8017 : Crash copying cropped image to clipboard
2017-09-12 15:02:44 +09:00
Cheng Zhao
b2f3625eaa
Fix deprecated node::MakeCallback call
2017-08-29 14:19:23 +09:00
Kevin Sawicki
9d2aa6f1c7
Upgrade to node 8.2.0
2017-08-15 16:19:23 +03:00
Aleksei Kuzmin
f4411889a9
Fix free memory calculation.
...
https://codereview.chromium.org/2558043007
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
7a4ca08a8d
The Blink Rename
2017-08-15 16:19:20 +03:00
Vladimir Vainer
39c46a9b75
added comment to mention sk_tools_utils::copy_to
2017-08-08 13:06:39 +03:00
Vladimir Vainer
e6abfa959a
Revert "Do not use deprecated deepCopyTo"
...
This reverts commit 517184b89b
.
2017-08-08 13:02:20 +03:00
Cheng Zhao
6ee95f9529
Fix crash when converting invalid image to JPEG
2017-07-31 15:48:54 +09:00
Cheng Zhao
a6c8329a68
Remove unneeded heap allocation
2017-07-31 15:45:59 +09:00
Vladimir Vainer
517184b89b
Do not use deprecated deepCopyTo
2017-07-16 06:33:37 +03:00
Vladimir Vainer
5f2dd2ef6c
Fix #8017 : Crash copying croped image to clipboard
2017-07-09 06:56:14 +03:00
Cheng Zhao
7d994f2a9e
Merge pull request #9535 from brenca/datalist-element
...
Add datalist element support
2017-05-29 16:01:40 +09:00
Heilig Benedek
192cd7787b
move popup related code to nativewindow
2017-05-26 03:39:36 +02:00
Kevin Sawicki
6b7ec621e3
Throw error when non-Buffer specified instead of crashing
2017-05-22 13:53:58 -07:00
Kevin Sawicki
5adf9c47fc
Remove buffers option since only a single is supported
2017-05-22 13:49:26 -07:00
Ryohei Ikegami
8f35afd941
Include map
2017-05-22 13:43:21 -07:00
Ryohei Ikegami
f2471cb1b7
Rename buffer -> buffers
2017-05-22 13:43:21 -07:00
Ryohei Ikegami
03fdc7aa28
Add buffer support in clipboard.write()
2017-05-22 13:43:21 -07:00
Ryohei Ikegami
66cc07d8e9
Add clipboard.writeBuffer
2017-05-22 13:43:21 -07:00
Heilig Benedek
f360104bee
add datalist element view
2017-05-19 21:36:37 +02:00
Heilig Benedek
bf58373a40
fix NativeImage size hint crashing when image is created from path
2017-05-11 11:38:34 +02:00
Heilig Benedek
6f80379b30
use computeSize64 instead of getSize
2017-05-10 22:19:05 +02:00
Heilig Benedek
5c690ea46e
don't store isolate_ in NativeImage and tune size hints
2017-05-10 22:19:05 +02:00
Heilig Benedek
576b702e8b
update native_mate and use the MarkHighMemoryUsage API to speed up garbage collection
2017-05-10 22:19:05 +02:00
Heilig Benedek
3b94d268eb
lint fix 📝
2017-05-10 22:19:05 +02:00
Heilig Benedek
1fcf6ea73f
add size hints to NativeImages to make node GC aware of the high amount of memory used by the instances
2017-05-10 22:19:05 +02:00
gellert
155fef99ae
adds offscreen renderer ipc message to disable external popups
2017-05-10 22:19:05 +02:00
Kevin Sawicki
fb85b26767
Merge remote-tracking branch 'origin/master' into chrome58
2017-05-10 09:42:19 -07:00
Kevin Sawicki
8be4332765
coffee -> js
2017-05-08 14:06:58 -07:00
Kevin Sawicki
3dee76a6c1
🎨
2017-05-08 13:43:13 -07:00
Hari Krishna Reddy Juturu
d65c4fe912
CPU Usage requires process metrics to be preserved
2017-05-05 02:38:51 -07:00
Hari Krishna Reddy Juturu
6b51c25820
Exposing cpu & io counters function similar to mem methods
2017-05-04 14:48:37 -07:00
Hari Krishna Reddy Juturu
982c5064d8
Removing extra bool
2017-05-04 14:33:59 -07:00
Hari Krishna Reddy Juturu
8a5aa04756
Adding CPU and I/O metrics to process module
2017-05-04 14:33:59 -07:00
Kevin Sawicki
c6c93211be
Merge remote-tracking branch 'origin/master' into chrome58
2017-05-02 09:15:16 -07:00
Thiago de Arruda
bbe21cce67
Expose more atom_bindings.cc functions to sandbox
2017-05-01 09:12:39 -03:00
Thiago de Arruda
19b6ba044b
Fix context leak in ObjectLifeMonitor.
...
The RemoteObjectFreer class is keeping the context alive even when the window is
closed. For electron applications that use sandbox, this will cause a memory
leak every time a new window is created with `window.open`.
Close #9191
2017-04-28 11:21:53 -03:00
Cheng Zhao
4c47f2d15e
Update to Node v7.9.0
2017-04-27 17:20:01 +09:00
Cheng Zhao
c068285ff8
AtomBindings should not use default uv loop
2017-03-20 12:52:46 -07:00
Cheng Zhao
69df934710
Converter for base::Callback is not thread safe
2017-03-20 12:52:45 -07:00
Kevin Sawicki
f119bc0944
Remove unused args param
2017-03-17 10:35:54 -07:00
Kevin Sawicki
ab05346572
Add clipboard.readBuffer
2017-03-17 09:57:17 -07:00
Kevin Sawicki
7e039d92ec
Support adding representation from data URL
2017-03-09 09:56:42 -08:00
Kevin Sawicki
d67863aa9f
Add addRepresentation buffer support
2017-03-09 09:56:42 -08:00
Kevin Sawicki
8852b128ec
Add GetScaleFactorFromOptions helper
2017-03-07 12:27:55 -08:00
Kevin Sawicki
82a81bb26e
Support scale factor to buffer APIs
2017-03-07 12:27:55 -08:00
Kevin Sawicki
e4ead6d018
Remove hasRepresentation and just use 1x png result
2017-03-07 12:27:55 -08:00
Kevin Sawicki
c11cdf321b
Support toPNG on image without 1x representation
2017-03-07 12:27:55 -08:00
Kevin Sawicki
86babdd412
Remove unused include
2017-03-07 12:27:55 -08:00
Kevin Sawicki
0bbbeb307e
Support toDataURL without 1x representation
2017-03-07 12:27:55 -08:00
Cheng Zhao
24574f7299
Avoid touch an Environemnt after it gets destroyed
2017-03-02 17:19:00 +09:00
Cheng Zhao
d379b05890
async handles should be closed on exit
2017-03-02 17:19:00 +09:00
Kevin Sawicki
3b7207da9f
Support removing extra parameters
2017-02-14 09:37:09 -08:00
Kevin Sawicki
ba975d552a
Add setExtraParameter support on macOS
2017-02-14 09:37:09 -08:00
Kevin Sawicki
3e18d8baf5
Remove _ prefix on binding methods
2017-02-14 09:37:09 -08:00
deepak1556
e3fe3cc490
map webframe zoom api to use HostZoomMap
2017-02-12 00:49:17 +05:30
Kevin Sawicki
e1281342f6
Return empty buffers when image is empty
2017-01-25 14:26:05 -08:00
Kevin Sawicki
795b674996
Add StartInstance helper on CrashReporter
2017-01-24 13:54:46 -08:00
Kevin Sawicki
91f8d6092b
Take options object in process.crashReporter.start
2017-01-24 12:44:39 -08:00
Ramya Achutha Rao
1f07cf2545
Add crashReporter property to process
2017-01-24 12:44:39 -08:00
Ramya Achutha Rao
d4b44d8b69
Expose crash reporter start for child node processes
2017-01-24 12:44:39 -08:00
Kevin Sawicki
54e2c480cb
Upgrade to node 7.4
2017-01-19 09:05:59 +02:00
Kevin Sawicki
323edb9d53
Add read-only version to planned 2.0 API
2017-01-12 13:51:35 -08:00
Kevin Sawicki
8680a08a8d
Add deprecated comment to scaleFactor parameter
2016-12-14 10:18:01 -08:00
gellert
a609e52a14
moves bitmap parameters to options object
2016-12-13 21:32:17 +01:00
gellert
39875c90f1
adds bitmap support to createFromBuffer
2016-12-13 21:32:17 +01:00
Samuel Attard
2bf6f28152
shouldUpload --> uploadToServer
2016-11-28 15:08:28 -08:00
Samuel Attard
285a36f9de
Use GetUploadsEnabled to return GetShouldUpload
2016-11-28 15:08:28 -08:00
Samuel Attard
7b8eb3e09c
Rename autoUpload to shouldUpload
2016-11-28 15:08:12 -08:00
Cheng Zhao
090a5d9a61
platform_util code should not involve V8 code
2016-11-17 11:22:09 +09:00
Cheng Zhao
622bad1cff
Simplify getting callback
2016-11-17 10:36:16 +09:00
Gabriel Handford
99a5258999
Callback uses (platform specific) error, with message
2016-11-17 10:33:24 +09:00
Gabriel Handford
cfd2a029ad
Fix linting
2016-11-17 10:33:23 +09:00
Gabriel Handford
b266533dfc
Shell openExternal can take optional callback (macOS)
2016-11-17 10:33:23 +09:00
Cheng Zhao
a1066617a8
Do permission check when calling guest window methods
2016-11-16 07:50:30 -08:00
Cheng Zhao
dfefa00a50
Merge pull request #7577 from thomsonreuters/net_module
...
net module
2016-10-31 10:31:56 +09:00
ali.ibrahim
6d92457095
Fixing code review issues: refactoring emit methods using CustomEmit.
2016-10-26 11:10:15 +02:00
ali.ibrahim
61278f9ace
Fixing code review issues.
2016-10-25 12:41:01 +02:00
Kevin Sawicki
1c3b5835f4
Add spec for read/write find text
2016-10-25 14:15:54 +09:00
Kevin Sawicki
144a61c5a3
Add find text support to clipboard
2016-10-25 14:15:54 +09:00
Kevin Sawicki
0740b2f66b
Reuse Log method
2016-10-12 13:48:48 -07:00
Kevin Sawicki
d39182b41a
Pass crashes directory instead of product name and temp dir
2016-10-06 10:55:11 -07:00
Kevin Sawicki
0380d3ae50
Pass crashes directory to crash service process
2016-10-06 09:02:02 -07:00
Kevin Sawicki
abffd98e29
Resize images with preserve aspect ratio
2016-10-05 11:02:58 -07:00
Kevin Sawicki
56f9cc683a
bounds -> rect
2016-10-05 11:02:57 -07:00
Kevin Sawicki
2b4fff70d5
Add initial crop method
2016-10-05 11:02:57 -07:00
Kevin Sawicki
042684fb38
Add resize method to native image
2016-10-05 11:02:56 -07:00
Thiago de Arruda
a64978b812
Use the routing id on api::WebContents::GetID
...
The sandbox option allows multiple webContents in one renderer process, so using
the only the renderer id to identify WebContents instances is no longer an
option.
WebContents::GetID now returns a 64-bit integer, which is composed of both the
process id(high 32), and the RenderViewHost routing id(low 32). Also add a
`GetProcessID` that retrieves the renderer process id, a requirement in some of
our javascript code.
2016-09-27 06:01:47 -03:00
Kevin Sawicki
1072519488
Mark atom-shell version as deprecated
2016-09-16 15:59:00 -07:00
Cheng Zhao
f28e8d7168
Fix API changes of Chrome 53
2016-09-14 16:22:43 +09:00
Kevin Sawicki
6285500cdc
Sort includes alphabetically
2016-08-26 15:30:02 -07:00
Andy Dill
704561b255
use MSG_ROUTING_NONE to initialize routing_id_ rather than 0
2016-08-12 13:03:31 -07:00
Andy Dill
a3bd54a41a
👕 fix lint line length error in remote_object_freer
2016-08-12 09:38:49 -07:00
Andy Dill
067aa3dbef
cache routing_id so we can look up the render_view in RunDestructor with no v8 calls
2016-08-12 09:16:10 -07:00
Cheng Zhao
1be253e1aa
Cleanup the code of getBitmap
2016-08-05 18:05:44 +09:00
Heilig Benedek
37f5ef5712
add getBitmap to NativeImage
2016-08-05 17:40:42 +09:00
Cheng Zhao
5dabc47440
Remove the view-painted event
2016-08-03 16:20:55 +09:00
Cheng Zhao
8c3232dc56
Every native class now gets a name
2016-08-02 19:28:12 +09:00
Cheng Zhao
cb19efe49c
Pass FunctionTemplate in BuildPrototype
2016-08-02 18:08:12 +09:00
Cheng Zhao
8cd4612fe0
Get rid of Constructor class
2016-08-02 17:02:04 +09:00
Heilig Benedek
bc7c5c567c
fix toBUFFER naming issue and cursor-changed parameter order
2016-08-01 02:13:31 +02:00
Heilig Benedek
21962be60e
Adds option to get raw data from NativeImage
2016-07-31 05:24:44 +02:00
Cheng Zhao
242ce4f818
Fix building on non-Windows
2016-07-27 19:55:05 +09:00
Cheng Zhao
ff5b8047a1
Throw exception when ReadShortcutLink failed
2016-07-27 16:32:32 +09:00
Cheng Zhao
25538fe7fb
All fields are always returned
2016-07-27 16:23:35 +09:00
Cheng Zhao
60ba2d624e
Initialize COM before using the API
2016-07-27 16:20:53 +09:00