Bret Comnes
f82590b9ab
Wrap at 80
2017-03-13 15:48:42 -07:00
Bret Comnes
46af3cefec
Clarify remote require of relative modules
...
The docs for the `remote.require(module)` method were a little too terse for me to understand the behavior of relative module loading for `remote.require` and I had to run an experiment to understand the behavior (e.g. is the relative path relative to caller of `remote.require` or relative to some other path in the project related to the main process?). I think this is correct but someone please double check my understanding.
Adding an example and additional explanation should help clarify this. Feel free to edit the copy as needed.
2017-03-13 15:42:26 -07:00
Kevin Sawicki
48152a813b
Merge pull request #8907 from electron/plugin_list_patch
...
renderer: reset plugin cache when render frame is created
2017-03-13 09:22:21 -07:00
Kevin Sawicki
84e7387b17
Merge pull request #8906 from roramirez/docs-es
...
Add translated CODE_OF_CONDUCT.md and README.md for spanish language.
2017-03-13 09:11:30 -07:00
deepak1556
4281c73cf2
renderer: reset plugin cache when render frame is created
2017-03-12 00:53:39 +05:30
Rodrigo Ramírez Norambuena
eed098277c
Add translated CODE_OF_CONDUCT.md and README.md for spanish language.
2017-03-10 22:24:00 -03:00
Kevin Sawicki
280337bf46
Merge pull request #8887 from electron/touchbar-segmneted-control
...
Touchbar segmented control
2017-03-10 14:43:12 -08:00
Kevin Sawicki
5b1d5b39a2
Set automatic via else block
2017-03-10 10:11:56 -08:00
Kevin Sawicki
3349e32196
Verify selectedIndex to prevent NSRangeException
2017-03-10 10:09:18 -08:00
Kevin Sawicki
3b2faf7b89
Add initial TouchBarSegmentedControl spec
2017-03-10 10:04:22 -08:00
Kevin Sawicki
458e4be77c
Add forward declaration for 10.12 API
2017-03-10 09:53:47 -08:00
Kevin Sawicki
7ef69a5af5
Merge pull request #8815 from tarruda/improve-sandbox-expose-more-modules
...
Improvements to sandbox mode
2017-03-10 09:23:31 -08:00
Samuel Attard
bfe63d7a88
Fix linting
2017-03-10 17:56:26 +11:00
Samuel Attard
e6a66b6006
Add docs for segmented control touch bar item
2017-03-10 17:50:23 +11:00
Samuel Attard
1c027c526b
Add segmented control implementation
2017-03-10 17:40:39 +11:00
Thiago de Arruda
dda2288541
Remove lib/renderer/api/ipc-renderer-setup.js
...
This file is no longer required since sandboxed renderer directly imports
ipc-renderer.js.
2017-03-09 20:40:32 -03:00
Thiago de Arruda
cd05834d96
Refactor sandboxed renderer init scripts
...
This change gives sandboxed renderer scripts a similar structure to what already
exists in the lib/{browser,renderer,common} directories.
It also allows sandboxed renderer initialization to share more code with
non-sandboxed renderers (ipcRenderer is now imported directly from
lib/renderer/api/ipc-renderer).
2017-03-09 20:39:14 -03:00
Thiago de Arruda
2b8203e383
Make sandboxed ipcRenderer API compatible with non-sandboxed version
2017-03-09 20:39:14 -03:00
Thiago de Arruda
d78f3cae7b
Expose builtin v8 modules to AtomSandboxedRendererClient
...
- Adapt node.cc code that implements `process.binding` to create a similar
object in AtomSandboxedRendererClient.
- Replace the ipc binding object passed to `lib/sandboxed_renderer/init.js` by
the new binding object.
- Refactor the initialization script to use this new object to fetch the ipc
binding and store as a hidden value using the `v8_util` module.
This change also required applying a patch to node.js, so the submodule commit
was updated.
2017-03-09 20:39:14 -03:00
Kevin Sawicki
85d66d2413
Merge pull request #8882 from electron/list-modules-in-separate-files
...
Refactor electron exports to keep module list in separate files
2017-03-09 15:36:02 -08:00
Thiago de Arruda
44bd93589a
Refactor electron exports to keep module list in separate files
2017-03-09 19:08:01 -03:00
Kevin Sawicki
e79a22da5d
Merge pull request #8883 from electron/pass-crash-reporter-upload-parameter
...
Pass `uploadToServer` parameter to linux crash reporter
2017-03-09 12:59:35 -08:00
Thiago de Arruda
e03e37e984
Pass uploadToServer
parameter to linux crash reporter
2017-03-09 17:23:52 -03:00
Kevin Sawicki
14e8e463b3
Merge pull request #8864 from electron/zoom_controller_webview_patch
...
browser: track origin zoom with HostZoomMap
2017-03-09 11:27:34 -08:00
Kevin Sawicki
14b548f27a
Merge pull request #8858 from electron/native-image-add-representation
...
Add nativeImage.addRepresentation API
2017-03-09 10:49:19 -08:00
Kevin Sawicki
f19998ef4c
Add more default values
2017-03-09 10:26:44 -08:00
Kevin Sawicki
2946f624ac
Add spec for adding representation to existing image
2017-03-09 09:56:42 -08:00
Kevin Sawicki
089bfd2cd2
Document nativeImage.addRepresentation(options)
2017-03-09 09:56:42 -08:00
Kevin Sawicki
6e977cbc3a
Assert emptiness and size of built up images
2017-03-09 09:56:42 -08: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
17b70670f8
Add initial NativeImage.addRepresentation specs
2017-03-09 09:56:42 -08:00
Kevin Sawicki
783b5e84f4
Merge pull request #8866 from jkleinsc/master
...
Add WebRTCIPPolicy setting to webContents
2017-03-09 09:55:08 -08:00
Kevin Sawicki
ff5081816f
Remove unneeded done call
2017-03-09 09:53:01 -08:00
John Kleinschmidt
3c74404a3e
Updated docs.
2017-03-09 09:54:09 -05:00
John Kleinschmidt
d5a658bbe4
Fixed pass by reference and added spec
2017-03-08 22:06:26 -05:00
Kevin Sawicki
c004cf0894
Merge pull request #8870 from electron/touch-bar-links
...
Add more links to touch bar docs
2017-03-08 13:16:09 -08:00
Kevin Sawicki
dcfab1b6a0
Link more touch bar params
2017-03-08 13:04:55 -08:00
John Kleinschmidt
950e3436c2
Removed webrtcippolicy attribute from webview
2017-03-08 13:52:04 -05:00
John Kleinschmidt
1c2a78a896
Add WebRTCIPPolicy setting to webContents and webview
...
Resolves #8777
Code to set and get the policy come from the muon framework code:
https://github.com/brave/muon/blob/master/atom/browser/api/atom_api_web_
contents.cc#L1324...L1343
2017-03-08 10:15:48 -05:00
deepak1556
224ffe44aa
add spec
2017-03-08 19:16:55 +05:30
deepak1556
b5cfa2e92d
track host zoom levels with HostZoomMap
2017-03-08 19:03:43 +05:30
Kevin Sawicki
4f817873f1
Merge pull request #8849 from electron/to-data-url-scale-factor
...
Support scale factor in more NativeImage APIs
2017-03-07 12:55:56 -08:00
Kevin Sawicki
31cae8e1aa
Add more scale factor specs
2017-03-07 12:34:31 -08:00
Kevin Sawicki
8852b128ec
Add GetScaleFactorFromOptions helper
2017-03-07 12:27:55 -08:00
Kevin Sawicki
6d5fbe6be2
Document scale factor option
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
8bc65ef495
Add failing spec for toPNG with scale factor
2017-03-07 12:27:55 -08:00