Bret Comnes [Tue, 14 Mar 2017 17:48:44 +0000 (10:48 -0700)]
fix linting
Bret Comnes [Tue, 14 Mar 2017 00:20:11 +0000 (17:20 -0700)]
make main process example shorter
Bret Comnes [Tue, 14 Mar 2017 00:18:23 +0000 (17:18 -0700)]
update with a tree
Bret Comnes [Mon, 13 Mar 2017 22:48:42 +0000 (15:48 -0700)]
Wrap at 80
Bret Comnes [Mon, 13 Mar 2017 22:42:26 +0000 (15:42 -0700)]
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.
Kevin Sawicki [Mon, 13 Mar 2017 16:22:21 +0000 (09:22 -0700)]
Merge pull request #8907 from electron/plugin_list_patch
renderer: reset plugin cache when render frame is created
Kevin Sawicki [Mon, 13 Mar 2017 16:11:30 +0000 (09:11 -0700)]
Merge pull request #8906 from roramirez/docs-es
Add translated CODE_OF_CONDUCT.md and README.md for spanish language.
deepak1556 [Sat, 11 Mar 2017 19:23:39 +0000 (00:53 +0530)]
renderer: reset plugin cache when render frame is created
Rodrigo Ramírez Norambuena [Sat, 11 Mar 2017 01:24:00 +0000 (22:24 -0300)]
Add translated CODE_OF_CONDUCT.md and README.md for spanish language.
Kevin Sawicki [Fri, 10 Mar 2017 22:43:12 +0000 (14:43 -0800)]
Merge pull request #8887 from electron/touchbar-segmneted-control
Touchbar segmented control
Kevin Sawicki [Fri, 10 Mar 2017 18:11:10 +0000 (10:11 -0800)]
Set automatic via else block
Kevin Sawicki [Fri, 10 Mar 2017 18:09:14 +0000 (10:09 -0800)]
Verify selectedIndex to prevent NSRangeException
Kevin Sawicki [Fri, 10 Mar 2017 18:04:22 +0000 (10:04 -0800)]
Add initial TouchBarSegmentedControl spec
Kevin Sawicki [Fri, 10 Mar 2017 17:53:47 +0000 (09:53 -0800)]
Add forward declaration for 10.12 API
Kevin Sawicki [Fri, 10 Mar 2017 17:23:31 +0000 (09:23 -0800)]
Merge pull request #8815 from tarruda/improve-sandbox-expose-more-modules
Improvements to sandbox mode
Samuel Attard [Fri, 10 Mar 2017 06:56:26 +0000 (17:56 +1100)]
Fix linting
Samuel Attard [Fri, 10 Mar 2017 06:50:23 +0000 (17:50 +1100)]
Add docs for segmented control touch bar item
Samuel Attard [Fri, 10 Mar 2017 06:40:39 +0000 (17:40 +1100)]
Add segmented control implementation
Thiago de Arruda [Mon, 27 Feb 2017 17:34:08 +0000 (14:34 -0300)]
Remove lib/renderer/api/ipc-renderer-setup.js
This file is no longer required since sandboxed renderer directly imports
ipc-renderer.js.
Thiago de Arruda [Mon, 27 Feb 2017 17:14:36 +0000 (14:14 -0300)]
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).
Thiago de Arruda [Mon, 27 Feb 2017 13:23:32 +0000 (10:23 -0300)]
Make sandboxed ipcRenderer API compatible with non-sandboxed version
Thiago de Arruda [Mon, 20 Feb 2017 13:59:39 +0000 (10:59 -0300)]
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.
Kevin Sawicki [Thu, 9 Mar 2017 23:36:02 +0000 (15:36 -0800)]
Merge pull request #8882 from electron/list-modules-in-separate-files
Refactor electron exports to keep module list in separate files
Thiago de Arruda [Mon, 6 Mar 2017 14:58:10 +0000 (11:58 -0300)]
Refactor electron exports to keep module list in separate files
Kevin Sawicki [Thu, 9 Mar 2017 20:59:35 +0000 (12:59 -0800)]
Merge pull request #8883 from electron/pass-crash-reporter-upload-parameter
Pass `uploadToServer` parameter to linux crash reporter
Thiago de Arruda [Mon, 6 Mar 2017 18:59:38 +0000 (15:59 -0300)]
Pass `uploadToServer` parameter to linux crash reporter
Kevin Sawicki [Thu, 9 Mar 2017 19:27:34 +0000 (11:27 -0800)]
Merge pull request #8864 from electron/zoom_controller_webview_patch
browser: track origin zoom with HostZoomMap
Kevin Sawicki [Thu, 9 Mar 2017 18:49:19 +0000 (10:49 -0800)]
Merge pull request #8858 from electron/native-image-add-representation
Add nativeImage.addRepresentation API
Kevin Sawicki [Thu, 9 Mar 2017 18:12:03 +0000 (10:12 -0800)]
Add more default values
Kevin Sawicki [Wed, 8 Mar 2017 22:53:08 +0000 (14:53 -0800)]
Add spec for adding representation to existing image
Kevin Sawicki [Tue, 7 Mar 2017 22:29:37 +0000 (14:29 -0800)]
Document nativeImage.addRepresentation(options)
Kevin Sawicki [Tue, 7 Mar 2017 22:26:31 +0000 (14:26 -0800)]
Assert emptiness and size of built up images
Kevin Sawicki [Tue, 7 Mar 2017 22:24:37 +0000 (14:24 -0800)]
Support adding representation from data URL
Kevin Sawicki [Tue, 7 Mar 2017 21:48:12 +0000 (13:48 -0800)]
Add addRepresentation buffer support
Kevin Sawicki [Tue, 7 Mar 2017 21:47:31 +0000 (13:47 -0800)]
Add initial NativeImage.addRepresentation specs
Kevin Sawicki [Thu, 9 Mar 2017 17:55:08 +0000 (09:55 -0800)]
Merge pull request #8866 from jkleinsc/master
Add WebRTCIPPolicy setting to webContents
Kevin Sawicki [Thu, 9 Mar 2017 17:53:01 +0000 (09:53 -0800)]
Remove unneeded done call
John Kleinschmidt [Thu, 9 Mar 2017 14:54:09 +0000 (09:54 -0500)]
Updated docs.
John Kleinschmidt [Thu, 9 Mar 2017 03:06:26 +0000 (22:06 -0500)]
Fixed pass by reference and added spec
Kevin Sawicki [Wed, 8 Mar 2017 21:16:09 +0000 (13:16 -0800)]
Merge pull request #8870 from electron/touch-bar-links
Add more links to touch bar docs
Kevin Sawicki [Wed, 8 Mar 2017 21:04:55 +0000 (13:04 -0800)]
Link more touch bar params
John Kleinschmidt [Wed, 8 Mar 2017 18:52:04 +0000 (13:52 -0500)]
Removed webrtcippolicy attribute from webview
John Kleinschmidt [Wed, 8 Mar 2017 14:55:59 +0000 (09:55 -0500)]
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
deepak1556 [Wed, 8 Mar 2017 13:35:24 +0000 (19:05 +0530)]
add spec
deepak1556 [Wed, 8 Mar 2017 13:33:43 +0000 (19:03 +0530)]
track host zoom levels with HostZoomMap
Kevin Sawicki [Tue, 7 Mar 2017 20:55:56 +0000 (12:55 -0800)]
Merge pull request #8849 from electron/to-data-url-scale-factor
Support scale factor in more NativeImage APIs
Kevin Sawicki [Tue, 7 Mar 2017 20:34:31 +0000 (12:34 -0800)]
Add more scale factor specs
Kevin Sawicki [Tue, 7 Mar 2017 00:29:39 +0000 (16:29 -0800)]
Add GetScaleFactorFromOptions helper
Kevin Sawicki [Tue, 7 Mar 2017 00:22:48 +0000 (16:22 -0800)]
Document scale factor option
Kevin Sawicki [Tue, 7 Mar 2017 00:19:16 +0000 (16:19 -0800)]
Support scale factor to buffer APIs
Kevin Sawicki [Mon, 6 Mar 2017 22:55:57 +0000 (14:55 -0800)]
Remove hasRepresentation and just use 1x png result
Kevin Sawicki [Mon, 6 Mar 2017 21:47:37 +0000 (13:47 -0800)]
Support toPNG on image without 1x representation
Kevin Sawicki [Mon, 6 Mar 2017 21:47:19 +0000 (13:47 -0800)]
Add failing spec for toPNG with scale factor
Kevin Sawicki [Mon, 6 Mar 2017 21:36:40 +0000 (13:36 -0800)]
Remove unused include
Kevin Sawicki [Mon, 6 Mar 2017 21:26:55 +0000 (13:26 -0800)]
Add more hasRepresentation asserts
Kevin Sawicki [Mon, 6 Mar 2017 21:24:50 +0000 (13:24 -0800)]
Support toDataURL without 1x representation
Kevin Sawicki [Mon, 6 Mar 2017 21:22:55 +0000 (13:22 -0800)]
Add spec for 1x1 PNG data URL
Kevin Sawicki [Mon, 6 Mar 2017 21:15:07 +0000 (13:15 -0800)]
Add failing toDataURL spec
Kevin Sawicki [Tue, 7 Mar 2017 20:27:40 +0000 (12:27 -0800)]
Merge pull request #8845 from electron/promise-resolve-assignment
Assign Promise.resolve to constant
Kevin Sawicki [Mon, 6 Mar 2017 19:23:28 +0000 (11:23 -0800)]
Assign Promise.resolve to constant
Kevin Sawicki [Tue, 7 Mar 2017 17:49:39 +0000 (09:49 -0800)]
Bump v1.6.3
Kevin Sawicki [Tue, 7 Mar 2017 17:48:59 +0000 (09:48 -0800)]
Merge pull request #8856 from electron/touch-bar-experimental
Mark TouchBar API as experimental
Kevin Sawicki [Tue, 7 Mar 2017 17:42:45 +0000 (09:42 -0800)]
Mark TouchBar as experimental
Kevin Sawicki [Tue, 7 Mar 2017 17:35:29 +0000 (09:35 -0800)]
Merge pull request #8851 from joaomoreno/joaomoreno-patch-1
Update `ses.resolveProxy` return type
Samuel Attard [Tue, 7 Mar 2017 10:25:40 +0000 (21:25 +1100)]
Capitalize type
João Moreno [Tue, 7 Mar 2017 10:21:51 +0000 (11:21 +0100)]
Update `ses.resolveProxy` return type
As far as I'm aware, after using the `ses.resolveProxy` API, it seems to return a string in the shape of `PROXY foopy:80;SOCKS5 bar.com:1080`, not an object. Correct me if I'm wrong.
Kevin Sawicki [Mon, 6 Mar 2017 19:19:23 +0000 (11:19 -0800)]
Merge pull request #8744 from electron/MarshallOfSound-patch-1
Ensure userGesture is boolean when calling executeJavaScript
Kevin Sawicki [Mon, 6 Mar 2017 18:51:48 +0000 (10:51 -0800)]
Mention userGesture default
Kevin Sawicki [Mon, 6 Mar 2017 18:51:17 +0000 (10:51 -0800)]
Default hasUserGesture to false when null
Kevin Sawicki [Mon, 6 Mar 2017 18:49:23 +0000 (10:49 -0800)]
Add failing spec for no callback
Samuel Attard [Wed, 22 Feb 2017 22:55:05 +0000 (09:55 +1100)]
Ensure the callback is a function when executing JS
Kevin Sawicki [Mon, 6 Mar 2017 18:25:53 +0000 (10:25 -0800)]
Merge pull request #8799 from nitsakh/baseURLForDataURL
Support base URL option to loadURL for data URLs
Kevin Sawicki [Mon, 6 Mar 2017 18:18:36 +0000 (10:18 -0800)]
Merge pull request #8724 from electron/defer_load_url
webContents: defer url load when there is a pending navigation entry
Kevin Sawicki [Mon, 6 Mar 2017 18:11:22 +0000 (10:11 -0800)]
Merge pull request #8678 from liusy182/download-item
only emit `download-item done` event once
Kevin Sawicki [Mon, 6 Mar 2017 17:48:36 +0000 (09:48 -0800)]
Merge pull request #8604 from electron/groundwater-patch-1
Emphasize asking for repo URL in bug reports
Kevin Sawicki [Mon, 6 Mar 2017 17:48:11 +0000 (09:48 -0800)]
Incorporate feedback
Kevin Sawicki [Mon, 6 Mar 2017 17:32:20 +0000 (09:32 -0800)]
Merge pull request #8800 from electron/https-website
Update website URLs to use HTTPS
Kevin Sawicki [Mon, 6 Mar 2017 17:30:55 +0000 (09:30 -0800)]
Merge pull request #8795 from electron/rename-shortcuts-to-keyboard-shortcuts
Rename shortcuts to keyboard shortcuts
Kevin Sawicki [Mon, 6 Mar 2017 17:27:38 +0000 (09:27 -0800)]
Merge pull request #8840 from Yarkhan/patch-1
Correcting typo
Kevin Sawicki [Mon, 6 Mar 2017 17:25:57 +0000 (09:25 -0800)]
Merge pull request #8837 from rhysd/fix-touchbar-doc
Fix TouchBarSpacer class name in doc
Kevin Sawicki [Mon, 6 Mar 2017 17:25:29 +0000 (09:25 -0800)]
Merge pull request #8834 from electron/tb-doc-fixups
Add more explicit types to docs for TouchBar
Cheng Zhao [Mon, 6 Mar 2017 11:36:59 +0000 (20:36 +0900)]
Merge pull request #8811 from electron/clean-node-on-exit
Clean up node Environment on exit
Yarkhan [Sun, 5 Mar 2017 23:40:18 +0000 (20:40 -0300)]
Correcting typo
deepak1556 [Sun, 5 Mar 2017 18:52:20 +0000 (00:22 +0530)]
simply spec
deepak1556 [Sun, 5 Mar 2017 18:51:52 +0000 (00:21 +0530)]
listen for browser initiated pending nav entries too
deepak1556 [Tue, 28 Feb 2017 18:51:37 +0000 (00:21 +0530)]
update spec
deepak1556 [Sun, 19 Feb 2017 20:43:17 +0000 (02:13 +0530)]
webContents: defer url load when there is a pending navigation entry
rhysd [Sun, 5 Mar 2017 06:09:35 +0000 (15:09 +0900)]
fix TouchBarSpacer class name in doc
Samuel Attard [Sat, 4 Mar 2017 05:14:41 +0000 (16:14 +1100)]
Add more explicit types to docs for TouchBar
Kevin Sawicki [Fri, 3 Mar 2017 23:51:16 +0000 (15:51 -0800)]
Merge pull request #8830 from electron/touchbar-label-color
Support setting TouchBarLabel text color
Kevin Sawicki [Fri, 3 Mar 2017 23:28:32 +0000 (15:28 -0800)]
identList -> identifiers
Kevin Sawicki [Fri, 3 Mar 2017 23:24:32 +0000 (15:24 -0800)]
Always set properties in update calls
Kevin Sawicki [Fri, 3 Mar 2017 23:14:51 +0000 (15:14 -0800)]
Add support for setting TouchBarLabel text color
Kevin Sawicki [Fri, 3 Mar 2017 22:37:56 +0000 (14:37 -0800)]
Merge pull request #8095 from electron/touchbar
Add TouchBar Support
Kevin Sawicki [Fri, 3 Mar 2017 22:11:09 +0000 (14:11 -0800)]
Remove unused include
Kevin Sawicki [Fri, 3 Mar 2017 22:07:59 +0000 (14:07 -0800)]
Drop nullable for consistency
Kevin Sawicki [Fri, 3 Mar 2017 22:04:55 +0000 (14:04 -0800)]
Mention it only effects 10.12.1 with touch bar
Kevin Sawicki [Fri, 3 Mar 2017 18:54:21 +0000 (10:54 -0800)]
Add clover to possible values
Kevin Sawicki [Fri, 3 Mar 2017 18:49:42 +0000 (10:49 -0800)]
Check that window responds to touchBar selector for pre-10.12.1 compat
Kevin Sawicki [Fri, 3 Mar 2017 18:22:25 +0000 (10:22 -0800)]
Add initial touch bar specs