Kevin Sawicki [Wed, 28 Sep 2016 16:20:22 +0000 (09:20 -0700)]
Link to window level macOS docs
Cheng Zhao [Wed, 28 Sep 2016 11:42:17 +0000 (19:42 +0800)]
Merge pull request #7362 from bsclifton/fix-windows-draggable-high-dpi
Fixes mouse coordinates for Windows when display is set to a higher DPI
Cheng Zhao [Wed, 28 Sep 2016 11:20:32 +0000 (19:20 +0800)]
Merge pull request #7353 from electron/no-login-item-apis-on-mas
document lack of MAS support for login item APIs
Cheng Zhao [Wed, 28 Sep 2016 11:18:12 +0000 (19:18 +0800)]
Merge pull request #7296 from adammeyer/custom-window-level
Allow custom window level when sending window to top
Kevin Sawicki [Tue, 27 Sep 2016 20:02:25 +0000 (13:02 -0700)]
Merge pull request #7364 from tiagotol/patch-1
Update quick-start.md
tiagotol [Tue, 27 Sep 2016 17:29:35 +0000 (14:29 -0300)]
Update quick-start.md
Brian Clifton [Tue, 27 Sep 2016 02:45:14 +0000 (19:45 -0700)]
Fixes mouse coordinates for Windows when display is set to a higher DPI (ex: enlarged by 150% using display settings)
Zeke Sikelianos [Tue, 27 Sep 2016 14:39:25 +0000 (07:39 -0700)]
Merge pull request #7339 from electron/document-return-values
Document the return values of all methods in the docs
Cheng Zhao [Tue, 27 Sep 2016 12:02:23 +0000 (20:02 +0800)]
Merge branch 'support-chromium-sandbox' of https://github.com/tarruda/electron into tarruda-support-chromium-sandbox
Cheng Zhao [Tue, 27 Sep 2016 11:17:10 +0000 (19:17 +0800)]
Merge pull request #7327 from MaxWhere/osr-fixes
Small fixes for offscreen rendering
Cheng Zhao [Tue, 27 Sep 2016 11:05:06 +0000 (19:05 +0800)]
Merge pull request #7356 from electron/fix-typo
fix typo
Cheng Zhao [Tue, 27 Sep 2016 11:03:08 +0000 (19:03 +0800)]
Merge pull request #7313 from electron/add-type-to-webview-style-tag
add type to webview style tag
Cheng Zhao [Tue, 27 Sep 2016 10:52:36 +0000 (18:52 +0800)]
Merge pull request #7298 from deepak1556/content_settings_patch
protocol: disable storage for non standard custom schemes
Thiago de Arruda [Mon, 26 Sep 2016 20:40:45 +0000 (17:40 -0300)]
Add some tests for "sandbox" option
Thiago de Arruda [Tue, 6 Sep 2016 01:28:40 +0000 (22:28 -0300)]
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.
Thiago de Arruda [Sun, 21 Aug 2016 10:30:21 +0000 (07:30 -0300)]
Improve AtomSandboxedRendererClient to support preload scripts.
Add RenderFrameObserver/RenderViewObserver subclasses that implement the
necessary support for preload scripts in sandboxed renderers.
Thiago de Arruda [Sun, 21 Aug 2016 10:30:14 +0000 (07:30 -0300)]
Embed setup bundle for preload scripts in sandboxed renderers.
Add a gyp target that creates a browserify bundle starting with
`lib/sandboxed_renderer/init.js`, which is embedded into the executable using
the `atom_js2c` target.
The goal of this bundle is to provide a very basic environment for preload
scripts where a `require` function is available.
Thiago de Arruda [Sun, 21 Aug 2016 10:22:52 +0000 (07:22 -0300)]
Add browser side support for reading files from renderer.
Thiago de Arruda [Sat, 20 Aug 2016 15:26:32 +0000 (12:26 -0300)]
Move code that defines ipcRenderer methods into another file.
Thiago de Arruda [Sat, 20 Aug 2016 15:19:14 +0000 (12:19 -0300)]
Refactor the atom_js2c target to include javascript from multiple dirs.
Before invoking js2c, copy all files that must be embedded into the shared
intermediate directory, and modify the js2c wrapper script to include all files
from that directory(which is passed as argument).
This allows the build system to embed files that don't share a common base
directory, such as javascript generated at build time.
Thiago de Arruda [Sat, 20 Aug 2016 15:01:26 +0000 (12:01 -0300)]
Move EmitIPCEvent into AtomRenderViewObserver.
Refactor this function as a method so it is possible to inherit most behavior
from AtomRenderViewObserver and override EmitIPCEvent.
Thiago de Arruda [Fri, 19 Aug 2016 16:08:30 +0000 (13:08 -0300)]
Expose atom_api_renderer_ipc module API
Thiago de Arruda [Fri, 19 Aug 2016 11:47:32 +0000 (08:47 -0300)]
Add atom::AtomSandboxedRendererClient class
Thiago de Arruda [Tue, 16 Aug 2016 00:13:18 +0000 (21:13 -0300)]
Add support for native chromium popups on sandboxed renderers.
- Allow `api::Window` instances to be created from existing `api::WebContents`.
- Override `WebContentsCreated` and `AddNewContents` to wrap renderer-created
`content::WebContents` into `api::WebContents`.
- For `content::WebContents` that should be displayed in new windows, pass the
wrapped `api::WebContents` object to window manager.
Thiago de Arruda [Wed, 17 Aug 2016 00:15:10 +0000 (21:15 -0300)]
Allow api::WebContents to fully wrap an existing content::WebContents.
- Add an overload to `WebContents::CreateFrom` that accepts a type parameter. If
type is `REMOTE`, initialization is the same as before(a thin wrapper). If
not, the `api::WebContents` will be fully initialized, as if it was created by
`api::WebContents::Create`.
- Move common initialization code to `InitWithSessionAndOptions`.
Thiago de Arruda [Mon, 15 Aug 2016 23:58:07 +0000 (20:58 -0300)]
Decouple api::Window initialization from api::WebContents construction.
Thiago de Arruda [Mon, 15 Aug 2016 11:01:24 +0000 (08:01 -0300)]
Expose `--enable-sandbox` command-line switch.
When `--enable-sandbox` is passed, electron will use chromium sandbox to spawn
all renderers, and every new BrowserWindow will automatically have "sandboxed"
passed as a web preference(since the renderer would not work properly
otherwise).
Thiago de Arruda [Mon, 15 Aug 2016 10:59:08 +0000 (07:59 -0300)]
Add "sandboxed" option to "webPreferences".
When "sandboxed" is passed as a web preference for `BrowserWindow`, the newly
created renderer won't run any node.js code/integration, only communicating with
the system via the IPC API of the content module. This is a requirement for
running the renderer under chrome OS-level sandbox.
Beyond that, certain behaviors of AtomBrowserClient are modified when dealing
with sandboxed renderers:
- `OverrideSiteInstanceNavigation` no longer create a new `SiteInstance` for
every navigation. Instead, it reuses the source `SiteInstance` when not
navigating to a different site.
- `CanCreateWindow` will return true and allow javascript access.
Zeke Sikelianos [Tue, 27 Sep 2016 05:19:45 +0000 (22:19 -0700)]
Merge pull request #7342 from tinydew4/update-changes
Update changes to korean docs.
Zeke Sikelianos [Tue, 27 Sep 2016 05:12:51 +0000 (22:12 -0700)]
fix typo
Zeke Sikelianos [Tue, 27 Sep 2016 04:47:42 +0000 (21:47 -0700)]
Merge pull request #7343 from tinydew4/translate-ko
Translate newest styleguide.md and update changes to system-preferences.md
Zeke Sikelianos [Tue, 27 Sep 2016 04:04:54 +0000 (21:04 -0700)]
tweak wording about complex objects
arus [Tue, 27 Sep 2016 00:38:23 +0000 (09:38 +0900)]
Change a word
arus [Tue, 27 Sep 2016 00:34:59 +0000 (09:34 +0900)]
Change some sentences after review
Zeke Sikelianos [Mon, 26 Sep 2016 19:04:22 +0000 (12:04 -0700)]
Merge pull request #7340 from tinydew4/fix-link
Fix broken link in original docs
Zeke Sikelianos [Mon, 26 Sep 2016 18:00:13 +0000 (11:00 -0700)]
document lack of MAS support for login item APIs
Cheng Zhao [Mon, 26 Sep 2016 07:39:40 +0000 (15:39 +0800)]
Merge pull request #7338 from electron/fix-get-accent-color-docs
Fix getAccentColor() docs in system-preferences.md
Cheng Zhao [Mon, 26 Sep 2016 04:56:22 +0000 (12:56 +0800)]
Merge pull request #7316 from tinydew4/update-ko
Update debugging-main-process and Add planned-breaking-changes
arus [Sun, 25 Sep 2016 15:03:32 +0000 (00:03 +0900)]
Update changes to ko-KR/api
arus [Sun, 25 Sep 2016 14:50:36 +0000 (23:50 +0900)]
Update changes to ko-KR/api/app.md
arus [Sun, 25 Sep 2016 14:48:09 +0000 (23:48 +0900)]
Update changes to ko-KR/api/power-monitor.md
arus [Sun, 25 Sep 2016 14:45:56 +0000 (23:45 +0900)]
Update changes to ko-KR/api/screen.md
arus [Sun, 25 Sep 2016 14:43:24 +0000 (23:43 +0900)]
Update changes to ko-KR/api/web-contents.md
arus [Sun, 25 Sep 2016 14:37:34 +0000 (23:37 +0900)]
Remove some changes
arus [Sun, 25 Sep 2016 14:28:59 +0000 (23:28 +0900)]
Remove some changes
arus [Sun, 25 Sep 2016 14:25:05 +0000 (23:25 +0900)]
Update changes to ko-KR/api/web-contents.md
arus [Sun, 25 Sep 2016 14:18:18 +0000 (23:18 +0900)]
Update change to ko-KR/README.md
arus [Sun, 25 Sep 2016 13:58:41 +0000 (22:58 +0900)]
Update changes to web-view-tag.md
arus [Sun, 25 Sep 2016 13:40:05 +0000 (22:40 +0900)]
Update changes to browser-window.md
arus [Sun, 25 Sep 2016 12:57:43 +0000 (21:57 +0900)]
Update /ko-KR/api/system-preferences.md
arus [Sun, 25 Sep 2016 12:40:33 +0000 (21:40 +0900)]
Update changes to browser-window and correct a word
Samuel Attard [Sun, 25 Sep 2016 00:04:10 +0000 (13:04 +1300)]
Fix docs linting
arus [Sun, 25 Sep 2016 08:04:34 +0000 (17:04 +0900)]
Update /ko-KR/styleguide.md
arus [Sun, 25 Sep 2016 07:15:16 +0000 (16:15 +0900)]
Fix broken link
arus [Sun, 25 Sep 2016 07:13:34 +0000 (16:13 +0900)]
Fix broken link
arus [Sun, 25 Sep 2016 07:04:10 +0000 (16:04 +0900)]
Update /ko-KR/styleguide.md
arus [Sun, 25 Sep 2016 05:34:07 +0000 (14:34 +0900)]
Update /ko-KR/api/system-preferences.md
Samuel Attard [Sat, 24 Sep 2016 23:59:30 +0000 (12:59 +1300)]
Document the return values of all methods in the docs
Vadim Macagon [Sat, 24 Sep 2016 18:45:34 +0000 (01:45 +0700)]
Fix getAccentColor() docs in system-preferences.md
Example was using a non-existent method.
Zeke Sikelianos [Sat, 24 Sep 2016 17:04:04 +0000 (10:04 -0700)]
Merge pull request #7333 from tinydew4/translate-ko
Translate CODE_OF_CONDUCT and change a word as other docs, in korean
arus [Sat, 24 Sep 2016 06:58:58 +0000 (15:58 +0900)]
Change some sentences more smoothly
arus [Sat, 24 Sep 2016 02:33:31 +0000 (11:33 +0900)]
Change some smoothly
arus [Sat, 24 Sep 2016 01:37:17 +0000 (10:37 +0900)]
Translate CODE_OF_CONDUCT and change a word as other docs, in korean
Zeke Sikelianos [Sat, 24 Sep 2016 00:19:07 +0000 (17:19 -0700)]
Merge pull request #7331 from tinydew4/fix-link
Fix broken links
Zeke Sikelianos [Sat, 24 Sep 2016 00:07:40 +0000 (17:07 -0700)]
Merge pull request #7330 from tinydew4/translate-ko
Translate accessibility and change some in korean
arus [Fri, 23 Sep 2016 23:26:25 +0000 (08:26 +0900)]
Fix broken links
Arus [Fri, 23 Sep 2016 23:23:36 +0000 (08:23 +0900)]
Update accessibility.md
arus [Fri, 23 Sep 2016 23:19:24 +0000 (08:19 +0900)]
Fix errata
arus [Fri, 23 Sep 2016 23:14:19 +0000 (08:14 +0900)]
Translate accessibility.md in korean
arus [Fri, 23 Sep 2016 22:18:39 +0000 (07:18 +0900)]
Change more smoothly
arus [Fri, 23 Sep 2016 21:51:28 +0000 (06:51 +0900)]
Replace changes as link of original docs
Zeke Sikelianos [Fri, 23 Sep 2016 18:53:45 +0000 (11:53 -0700)]
Merge pull request #7314 from tinydew4/translate-ko
Translate ko, debug-instructions-macos.md
gellert [Fri, 23 Sep 2016 18:27:05 +0000 (20:27 +0200)]
fixes software rendering on macos and small resizing addition
arus [Fri, 23 Sep 2016 01:33:11 +0000 (10:33 +0900)]
Remove notice on top
arus [Fri, 23 Sep 2016 01:31:12 +0000 (10:31 +0900)]
Translate debug-instructinos-macos.md in korean
arus [Fri, 23 Sep 2016 03:56:21 +0000 (12:56 +0900)]
Translate additonally
arus [Fri, 23 Sep 2016 03:51:28 +0000 (12:51 +0900)]
Apply debugging-main-process changes in korean
Zeke Sikelianos [Thu, 22 Sep 2016 21:47:20 +0000 (14:47 -0700)]
add html doctype
Zeke Sikelianos [Thu, 22 Sep 2016 21:34:03 +0000 (14:34 -0700)]
add type to webview style tag
Kevin Sawicki [Thu, 22 Sep 2016 19:21:09 +0000 (12:21 -0700)]
Merge pull request #7299 from Gioggio/master
Docs: Start Italian translations
Gioggio [Thu, 22 Sep 2016 19:05:43 +0000 (21:05 +0200)]
:memo: Update translation for faq.md
[ci skip]
Gioggio [Wed, 21 Sep 2016 19:18:00 +0000 (21:18 +0200)]
:memo: Add styleguide.md
[ci skip]
Gioggio [Wed, 21 Sep 2016 19:09:57 +0000 (21:09 +0200)]
:memo: Fix typos and improve translations in README.md
[ci skip]
Gioggio [Wed, 21 Sep 2016 10:49:48 +0000 (12:49 +0200)]
:memo: Add faq.md
[ci skip]
Gioggio [Wed, 21 Sep 2016 10:47:26 +0000 (12:47 +0200)]
:memo: Add README.md
[ci skip]
Kevin Sawicki [Thu, 22 Sep 2016 16:41:06 +0000 (09:41 -0700)]
Compare against NSNormalWindowLevel in IsAlwaysOnTop
Kevin Sawicki [Thu, 22 Sep 2016 16:38:04 +0000 (09:38 -0700)]
Ignore level when calling SetAlwaysOnTop on Widget
Kevin Sawicki [Thu, 22 Sep 2016 16:34:19 +0000 (09:34 -0700)]
Merge pull request #7310 from BenV/patch-1
Add npm_config_target_arch to native module doc
Kevin Sawicki [Thu, 22 Sep 2016 16:32:41 +0000 (09:32 -0700)]
Merge pull request #7308 from tinydew4/translate-ko
Apply docs changes to korean docs
Kevin Sawicki [Thu, 22 Sep 2016 16:22:28 +0000 (09:22 -0700)]
Fix compiler errors
Ben Vinson [Thu, 22 Sep 2016 15:46:31 +0000 (09:46 -0600)]
Add npm_config_target_arch to native module doc
We ran into an issue when creating a 32-bit binary on 64-bit Windows where node-pre-gyp kept using the 64-bit library. Setting the `npm_config_target_arch` environment variable resolved the problem for us and caused the 32-bit binary to be built and used.
Kevin Sawicki [Thu, 22 Sep 2016 15:40:38 +0000 (08:40 -0700)]
Merge pull request #7284 from enlight/debugging-with-electron-inspector
Split up debugging-main-process.md, add electron-inspector guide
arus [Thu, 22 Sep 2016 13:56:19 +0000 (22:56 +0900)]
Fix erratum
arus [Thu, 22 Sep 2016 13:53:11 +0000 (22:53 +0900)]
Apply docs changes to korean docs
Cheng Zhao [Thu, 22 Sep 2016 05:40:02 +0000 (14:40 +0900)]
Bump v1.4.1
Cheng Zhao [Thu, 22 Sep 2016 10:05:42 +0000 (19:05 +0900)]
Do not copy api.json on Windows
Vadim Macagon [Wed, 21 Sep 2016 09:39:15 +0000 (16:39 +0700)]
Split up debugging-main-process.md, add electron-inspector guide
- Move the debugging guides for VSCode and node-inspector into separate
files.
- Add instructions for using electron-inspector to the node-inspector
guide.
- Remove note in node-inspector guide about crashing when inspecting
`process` (it was fixed a long time ago:
https://github.com/nodejs/node-v0.x-archive/issues/8205)
Cheng Zhao [Thu, 22 Sep 2016 05:39:33 +0000 (14:39 +0900)]
Merge pull request #7303 from electron/fix-out-dir
electron-api.json is under out/ instead of out/R/
Cheng Zhao [Thu, 22 Sep 2016 05:31:28 +0000 (14:31 +0900)]
electron-api.json is under out/ instead of out/R/
Cheng Zhao [Thu, 22 Sep 2016 05:14:36 +0000 (14:14 +0900)]
Merge pull request #7297 from electron/clean-docs
Mention build cleaning on all three platforms