Electron Bot
952603d9ae
Bump v8.3.2
2020-06-15 09:05:09 -07:00
Jeremy Rose
32b45e7783
fix: throw instead of crash when using ipcRenderer after context released ( #23979 )
...
* fix: throw instead of crash when using ipcRenderer after context released (#23917 )
* meh
* Update api-ipc-renderer-spec.ts
2020-06-13 08:28:17 -07:00
trop[bot]
514c1e6d4b
fix: showing certificate dialog with no window ( #24120 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-06-13 08:19:30 -07:00
trop[bot]
67b04b4040
chore: cherry-pick 867fcd45891e from chromium ( #24088 )
...
https://chromium-review.googlesource.com/c/chromium/src/+/2134037
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2020-06-12 12:13:29 -07:00
Samuel Attard
415387cc2c
Revert "fix: do not use CONTEXT_MENU flag for tray menu ( #23886 )" ( #24079 )
...
This reverts commit 91d1bd651e .
2020-06-11 11:28:02 -07:00
Electron Bot
0826770b20
Revert "Bump v8.3.2"
...
This reverts commit c2e22abf08 .
2020-06-11 09:42:29 -07:00
Electron Bot
c2e22abf08
Bump v8.3.2
2020-06-11 09:24:35 -07:00
Milan Burda
9c28c8f637
chore: revert deprecated WebContents properties ( #24071 )
2020-06-11 09:16:33 -07:00
Milan Burda
478d405d42
chore: support props/fns for BrowserWindow ( #24074 )
2020-06-11 09:14:47 -07:00
Milan Burda
0b616b3e2e
chore: more modules to dual prop/fn support ( #22734 ) ( #24075 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
2020-06-11 11:06:54 -05:00
Milan Burda
49711d12f8
chore: update app module property support ( #22747 ) ( #24072 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-06-11 08:56:28 -07:00
Cheng Zhao
fe56f1dda6
fix: add .paks for media-internals and webrtc-internals pages ( #24063 )
...
Co-authored-by: Gellert Hegyi <gellert.hegyi@around.co >
2020-06-11 08:38:49 -07:00
Shelley Vohr
f10c8e6dd5
chore: roll latest Node.js security release ( #23953 )
2020-06-09 11:55:34 -04:00
Charles Kerr
27c1fc87e3
fix: add missing isComposing KeyboardEvent property ( #24015 )
2020-06-08 17:45:57 -07:00
Shelley Vohr
be08ff1665
fix: nativeImage remote serialization ( #23797 )
...
* fix: nativeImage remote serialization (#23543 )
We weren't serializing nativeImages properly in the remote module, leading to gin conversion errors when trying to, for example, create a new context menu in the renderer with icons using nativeImage. This fixes that by adding a new special case to handle them.
* refactor: correctly serialize nativeImage/buffer with typeUtils (#23666 )
* refactor: correctly serialize nativeImage/buffer with typeUtils
* test: add serialization specs
* fix: construct from dataURL
* test: test for dataURL specificity
* refactor: use typeutils for nativeImage serialization
* fix: ensure nativeImage serialization main->renderer
* chore: fix FTBFS
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2020-06-08 12:08:54 -07:00
Charles Kerr
547e50c699
docs: errors in isolated world are not dispatched ( #24016 )
...
* docs: errors in isolated world are not dispatched
* empty commit
* fix manual oops
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2020-06-08 14:51:39 -04:00
Shelley Vohr
a06170648c
fix: compensate for lazy-loaded circular deps ( #23955 )
2020-06-08 10:09:40 -07:00
Milan Burda
88fdf8ccf5
fix: use acceptLanguages argument in session.setUserAgent() ( #23944 ) ( #23963 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2020-06-08 09:19:32 -07:00
trop[bot]
d12be5d392
feat: add V8CacheOptions webpreference ( #23869 )
...
* feat: add V8CacheOptions webpreference
* address review comments
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2020-06-08 11:07:44 -05:00
Cheng Zhao
e62cd6a5fa
fix: read GTK dark theme setting on Linux ( #23965 )
2020-06-04 19:33:53 -07:00
Shelley Vohr
c412f7ddf1
fix: handle asynchronous URL loading in bw proxy ( #23947 )
2020-06-03 15:54:43 -07:00
Shelley Vohr
0afec38c81
fix: volume key globalShortcut registration ( #23948 )
2020-06-03 13:31:18 -07:00
Robo
38f0a8e85b
fix: default to NTLM v2 in the network service for POSIX platforms ( #23933 )
...
* fix: default to NTLM v2 in the network service for POSIX platforms
* chore: update patch
2020-06-03 11:48:37 -07:00
Shelley Vohr
0aa7b7f712
test: skip 'handles Promise timeouts correctly' when ELECTRON_RUN_AS_NODE is disabled ( #23949 )
2020-06-03 14:18:07 -04:00
trop[bot]
23bd9166d7
fix: restore original GTK/appindicator implementation of tray icons ( #23927 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-06-03 11:08:04 -07:00
Charles Kerr
c374f20fd1
fix: don't run environment bootstrapper ( #23924 )
...
* fix: don't prepareMainExecution twice
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-06-03 10:12:29 -05:00
trop[bot]
b5839f42a2
fix: correctly support the --inspect-brk-node flag ( #23919 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-06-03 17:01:26 +09:00
trop[bot]
2dcfefa577
build: make electron renderer init scripts profilable ( #23914 )
...
The devtools profiler is not attached at the point we run out init scripts (or our apps preload scripts), we do not really want to change when we run these init scripts but for when a dev is doing performance work it makes sense to give them an option to make the devtools profiler actually work on both our init scripts and their preload script. This PR adds that logic behind an environment variable ELECTRON_PROFILE_INIT_SCRIPTS.
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-06-02 12:28:27 -07:00
trop[bot]
b045ee77af
fix: add patch to prevent crash during frame swap with ctx isolation enabled ( #23894 )
...
* fix: add patch to prevent crash during frame swap with ctx isolation enabled
* Update .patches
* chore: update patches
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
2020-06-02 10:54:35 -07:00
Biru Mohanathas
32c2736c07
fix: Make the --disable-color-correct-rendering switch work again (8-x-y) ( #23827 )
...
Backport of #23787
See that PR for details.
Notes: Fix disabling color correct rendering with `--disable-color-correct-rendering`
2020-06-02 13:50:35 -04:00
Charles Kerr
91d1bd651e
fix: do not use CONTEXT_MENU flag for tray menu ( #23886 )
2020-06-02 11:11:35 +09:00
Electron Bot
c8177f8418
Bump v8.3.1
2020-06-01 09:32:39 -07:00
trop[bot]
b8c086613f
fix: weakly reference MenuModel from MenuController ( #23807 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-05-28 09:47:47 -07:00
Alexey Kuzmin
2e80a2e447
test: refactor how spec files are collected ( #23815 )
...
(cherry picked from commit 3a7775fa73 )
2020-05-28 09:41:27 -07:00
Pedro Pontes
936a1659f6
chore: cherry-pick d795ac1209c8 and 919dd0c1244a from chromium ( #23788 )
...
* Onstate handler is allowed to close a PeerConnection.
Backports the 2-part fix to https://crbug.com/1068084
===
Avoid nullptr dereference in RTCPeerConnectionHandler
Bug: 1071327
Change-Id: Icf4189905dc5c95854b5af4b3e5e25e0607dd39e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2153325
Reviewed-by: Harald Alvestrand <hta@chromium.org >
Commit-Queue: Dan McArdle <dmcardle@chromium.org >
Cr-Commit-Position: refs/heads/master@{#759775}
===
Onstate handler is allowed to close a PeerConnection.
Bug: chromium:1068084
Change-Id: Icd3f70b6784ac22ef4e3bc1c99233f51145a917f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2146542
Commit-Queue: Harald Alvestrand <hta@chromium.org >
Reviewed-by: Guido Urdaneta <guidou@chromium.org >
Cr-Commit-Position: refs/heads/master@{#759242}
===
* update patches
Co-authored-by: Electron Bot <anonymous@electronjs.org >
2020-05-28 11:34:49 -04:00
Cheng Zhao
d7289cbb55
Revert "fix: trigger activate event when app is activated via app switcher ( #23772 )" ( #23820 )
...
This reverts commit e671c2c053 .
2020-05-28 09:01:37 -04:00
trop[bot]
aab0c66817
fix: pass correct buffer length ( #23799 )
...
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2020-05-27 14:09:35 -07:00
trop[bot]
e671c2c053
fix: trigger activate event when app is activated via app switcher ( #23772 )
...
When application is activated thru macOS app switcher (cmd+tab) the
App's activate event is note emitted. The reason is that
`applicationShouldHandleReopen:hasVisibleWindows:` is sent only when app
is activated via Dock. Using `applicationDidBecomeActive:` is handling
all cases properly.
Co-authored-by: Lukas Weber <luweber@microsoft.com >
2020-05-27 09:52:20 +09:00
Pedro Pontes
c7778a8f2f
chore: cherry-pick d4ddf645c3ca from chromium ( #23747 )
...
* chore: cherry-pick d4ddf645c3ca from chromium
* update patches
* [turbofan] Turn some DCHECKs into CHECKs in Schedule methods
Bug: chromium:1076708
Change-Id: I7f065791310606e11fe89936a36f0fe7cb0d38e7
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2182639
Auto-Submit: Georg Neis <neis@chromium.org >
Commit-Queue: Tobias Tebbi <tebbi@chromium.org >
Reviewed-by: Tobias Tebbi <tebbi@chromium.org >
Cr-Commit-Position: refs/heads/master@{#67576}
Co-authored-by: Electron Bot <anonymous@electronjs.org >
2020-05-25 12:02:08 -07:00
trop[bot]
c35803aee1
fix: trigger about panel for about role on on win ( #23714 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-05-21 21:40:09 -04:00
LuoJinghua
9f2fc5d72c
net: Don't ignore the referer header in net.request ( #23688 )
2020-05-21 20:24:28 -04:00
trop[bot]
a65fe57342
fix: make sure hunspell file is not destroyed in UI thread ( #23658 )
...
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2020-05-21 15:40:03 -07:00
Alexey Kuzmin
473219bfbe
test: call "expect()" on a correct call stack ( #23697 )
...
* test: call "expect()" on a correct call stack
(cherry picked from commit 33d6a99d40 )
* fixup! test: call "expect()" on a correct call stack
2020-05-21 15:38:42 -07:00
trop[bot]
a8196fbc18
refactor: improve MoveItemToTrash error description ( #23629 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-05-18 11:11:05 -04:00
Alexey Kuzmin
6b8ca86459
test: fix conditions for some tests ( #23489 ) ( #23607 )
2020-05-18 10:12:38 +09:00
Samuel Attard
7290d77cdc
refactor: remove the RenderFrameFunctionStore and use privates to memory manage ( #23592 ) ( #23612 )
2020-05-15 16:33:48 -07:00
Electron Bot
426d45cd85
Bump v8.3.0
2020-05-14 17:33:43 -07:00
trop[bot]
79298d37cd
build: remove unused header from a patch ( #23591 )
...
It can cause build failures because the header is generated
and there's no explicit dependency on a target that creates it.
Co-authored-by: Aleksei Kuzmin <alkuzmin@microsoft.com >
2020-05-14 20:32:29 -04:00
Robo
2a44b1a20f
feat: add enableWebSQL webpreference ( #23311 ) ( #23581 )
2020-05-14 20:31:45 -04:00
Charles Kerr
6f331e4f6a
feat: add force option to app.focus() ( #23574 )
2020-05-14 17:30:52 -07:00
Andrey Belenko
dc71541641
chore: cherry-pick 7101418f85a0 from chromium ( #23532 )
...
* chore: cherry-pick 7101418f85a0 from chromium
* update patches
Co-authored-by: Electron Bot <anonymous@electronjs.org >
Co-authored-by: Andrey Belenko <anbelen@microsoft.com >
2020-05-14 11:21:32 -04:00
Pedro Pontes
a4de4793dd
chore: cherry-pick 1288aa12369e from angle ( #23561 )
2020-05-14 11:08:16 -04:00
trop[bot]
f7509d590c
fix: leave behind the unmodified XDG_CURRENT_DESKTOP variable ( #23552 )
...
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
2020-05-14 10:43:51 -04:00
Shelley Vohr
42ab97f905
fix: run Node.js at-exit callbacks in renderer proc ( #23564 )
2020-05-14 10:08:34 -04:00
Andrey Belenko
faf2871efe
chore: cherry-pick 86c02c5dcd37 from chromium ( #23528 )
...
Co-authored-by: Andrey Belenko <anbelen@microsoft.com >
2020-05-13 15:59:10 -07:00
Cheng Zhao
ea4e92f64d
fix: do not destroy thread in UI thread ( #23550 )
2020-05-13 10:01:22 -07:00
trop[bot]
15d792aded
build: use correct v8_context_snapshot_generator in mksnapshot zip ( #23542 )
...
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2020-05-13 09:39:56 -04:00
Cheng Zhao
70f05a1579
chore: cherry-pick e89fe66d0473 from Chromium ( #23514 )
2020-05-13 17:07:54 +09:00
Cheng Zhao
2d40fad79e
chore: cherry-pick 67864c214770 from Chromium ( #23517 )
2020-05-13 14:43:22 +09:00
Pedro Pontes
edabc96e75
chore: cherry-pick 38990b7d56e6 from chromium ( #23504 )
...
* chore: cherry-pick 38990b7d56e6 from chromium
* update patches
Co-authored-by: Electron Bot <anonymous@electronjs.org >
2020-05-13 09:07:40 +09:00
Jeremy Apthorp
4a45196ff1
chore: cherry-pick 45b8c2bb07d2 from v8 ( #23465 )
2020-05-08 11:42:27 -07:00
Jeremy Apthorp
0bd661bd99
chore: cherry-pick 826a4af58b3d from chromium ( #23462 )
2020-05-08 11:24:41 -07:00
Jeremy Apthorp
b9e709039e
chore: cherry-pick 686d1bfbcb8f from chromium ( #23456 )
2020-05-08 11:16:26 -07:00
trop[bot]
c63430c5d0
fix: multiple extension filters on macOS ( #23449 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-05-07 11:57:40 -07:00
Charles Kerr
60bcf42edf
fix: respect system language preferences on Windows & macOS ( #23407 )
...
* fix: respect system language preferences on Win/macOS (#23247 )
This commit fixes https://github.com/electron/electron/issues/18829
Previously the full preferences set to OS was not given to Chromium.
Also, this commit improves fallback font selection for CJK text.
Chromium uses browser languages to determine fallback fonts on Windows,
especially kanji/han characters in CJK.
For instance, when user sets 'en-US, ja-JP' to Accept-Language,
while Chromium chooses Japanese font for kanji text, but Electron
chooses Chinese font. This is because only the first language was given
to Accept-Language on Electron.
This patch is based on https://github.com/electron/electron/pull/15532
Co-authored-by: Nitish Sakhawalkar <nitsakh@icloud.com >
Co-authored-by: Kasumi Hanazuki <kasumi@rollingapple.net >
Co-authored-by: Nitish Sakhawalkar <nitsakh@icloud.com >
Co-authored-by: Kasumi Hanazuki <kasumi@rollingapple.net >
* fix: remove unintentionally-committed code
Some excess code was accidentally included in the last commit's cherry-pick.
* chore: fix extraneous #include found by lint
* fix: correct another manual backport error :P
Co-authored-by: Sorah Fukumori <her@sorah.jp >
Co-authored-by: Nitish Sakhawalkar <nitsakh@icloud.com >
Co-authored-by: Kasumi Hanazuki <kasumi@rollingapple.net >
2020-05-05 09:35:51 -07:00
Shelley Vohr
d5f9654c12
refactor: make passing empty template no-op in setMenu ( #23402 )
2020-05-04 20:03:36 -07:00
trop[bot]
d2fb214a54
docs: event.newGuest for new-window in WebContents and webContents in BrowsweWindow's constructor ( #23355 )
...
* docs: `newGuest` in `WebContents` and `webContents` in `BrowsweWindow`
According to the example codes in the documentation of `new-window`
event in `WebContents`, `webContents` in `BrowsweWindow` constructor
options and `newGuest` in `event` argument of `new-window` handler are
both existing but documented. This patch is for adding the related
documentations. Also, it provides typescript-definitations for these
two properties.
* Remove the documnent of `webContents` in BrowserWindow constructor option.
Co-authored-by: Sean Lee <sean.l@canva.com >
2020-05-04 12:41:37 -07:00
Robo
6294f811a7
fix: hold browser_context instead of render_frame_host to fix lifetime issues ( #23271 ) ( #23396 )
...
Co-authored-by: Paul Frazee <pfrazee@gmail.com >
2020-05-04 10:16:56 -07:00
Robo
30ae6f45a4
fix: ensure guest-embedder map is updated when webview is removed ( #23342 ) ( #23397 )
...
There are use cases of webview where the container holding the webview is not
actually destroyed first, instead just webview gets removed from DOM, in such
situations the browser process map is not updated accordingly and holds reference
to stale guest contents, and any window operations like scroll, resize or keyboard
events that has to chain through browser embedder will lead to UAF crash.
Ref: https://github.com/microsoft/vscode/issues/92420
2020-05-04 08:30:28 -07:00
trop[bot]
60ef8ac58d
ci: make sure msedge isn't running at end of woa test ( #23358 )
...
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2020-04-30 15:12:53 -04:00
Electron Bot
6c42564337
Bump v8.2.5
2020-04-30 10:03:43 -07:00
Samuel Attard
479fc57cef
fix: do not leak IPC or context bridge promises ( #23321 ) ( #23339 )
2020-04-30 09:51:51 -07:00
Samuel Attard
b2fb14fd48
fix: backport fix for zero-size pixels in blink ( #23336 )
2020-04-30 08:26:48 -07:00
Electron Bot
d8f90444aa
Bump v8.2.4
2020-04-27 18:07:21 -07:00
Samuel Attard
045331666c
refactor: port window-setup to use ctx bridge instead of being run in the main world ( #23302 )
...
* refactor: port parts of window-setup to use ctx bridge instead of being run in the main world (#23194 )
* refactor: port parts of window-setup to use ctx bridge instead of being run in the main world
* chore: update ctx bridge specs for new base numbers
* refactor: port window.open and window.opener to use ctx bridge instead of hole punching (#23235 )
* refactor: port window.open and window.opener to use ctx bridge instead of hole punching
* refactor: only run the isolated init bundle when webview is enabled
* s/gin/mate
* fix: do not inject in content scripts and do not override window.history because it does not work
2020-04-27 18:05:15 -07:00
Samuel Attard
0ac42125d2
style: use build/include_directory for NOLINT ( #23266 ) ( #23303 )
...
build/include linter was splitted to build/include_directory at
depot_tools upstream.
https://crrev.com/c/2159690
https://crbug.com/1073191
Co-authored-by: Sorah Fukumori <sora134@gmail.com >
2020-04-27 14:35:34 -07:00
Charles Kerr
ce04014739
fix: use Node's microtasks policy in node_main.cc ( #23234 )
2020-04-23 11:00:33 -07:00
trop[bot]
19bd97d80c
ci: robustify doc only change check ( #23258 )
2020-04-23 10:55:36 -07:00
Electron Bot
ea2e34c4c3
chore: bump chromium to 80.0.3987.165 (8-x-y) ( #23217 )
...
* chore: bump chromium in DEPS to 80.0.3987.165
* update patches
Co-authored-by: Electron Bot <anonymous@electronjs.org >
2020-04-23 10:50:40 -07:00
Samuel Attard
5f6498d13a
fix: do not mutate ipc instances across contexts ( #23240 )
2020-04-22 17:36:45 -07:00
Jeremy Apthorp
e3c1292548
fix: block custom window.open when nativeWindowOpen is true ( #23188 ) ( #23225 )
2020-04-22 17:05:42 -07:00
Samuel Attard
b3e53839a4
fix: do not allow child windows to specify their own preload script ( #23230 )
2020-04-22 16:02:31 -07:00
Samuel Attard
f3e9f10cad
fix: ensure that functions are not retained beyond their context being released ( #23207 ) ( #23231 )
2020-04-22 15:54:19 -07:00
shelley vohr
2c8927a9a2
test: fix type errors in devToolsWebContents ( #23206 )
2020-04-22 09:23:21 -07:00
trop[bot]
c6786aed26
build: improve patch filename remembering ( #23093 )
...
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
2020-04-21 14:06:29 -07:00
Jeremy Apthorp
5b3b09fb7f
fix: heap-use-after-free in tray.popUpContextMenu ( #22842 ) ( #23181 )
2020-04-21 13:27:06 -07:00
Samuel Attard
9f5924c5ea
fix: backport V8 promise context fix ( #23177 )
2020-04-20 18:01:16 -07:00
Shelley Vohr
25f5d764ac
fix: wasm codegen in script.runInNewContext ( #23147 )
2020-04-20 15:29:13 -04:00
trop[bot]
941c72fcfe
docs: fix devToolsWebContents union type ( #23172 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-04-20 11:35:54 -07:00
Electron Bot
663d389925
Bump v8.2.3
2020-04-16 14:16:08 -07:00
Samuel Attard
b8e3477092
Merge pull request from GHSA-h9jc-284h-533g
2020-04-16 14:10:18 -07:00
trop[bot]
035c784b6c
docs: explain the swipe event on macOS ( #23133 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-04-16 10:55:37 -07:00
Electron Bot
8faf8a3535
Bump v8.2.2
2020-04-13 11:31:46 -07:00
trop[bot]
331125d35a
fix: don't assign NSAlert to window which is not visible ( #23088 )
...
* fix: don't assign NSAlert to window which is not visible
Without this change it's possible to create message box which can't
be dismissed on mac.
* fixup! fix: don't assign NSAlert to window which is not visible
* fixup! fix: don't assign NSAlert to window which is not visible
Co-authored-by: Cezary Kulakowski <cezary@openfin.co >
2020-04-13 11:28:01 -07:00
trop[bot]
7316ebde79
fix: reset node env earlier during shutdown ( #23069 )
...
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
2020-04-13 11:25:37 -07:00
Jeremy Apthorp
c3340ad21c
chore: cherry-pick 85f708fa7ab8 from chromium ( #23047 )
...
* chore: cherry-pick 85f708fa7ab8 from chromium
* additionally backport 3626b1f19e
2020-04-13 09:17:18 -04:00
trop[bot]
1e84816c96
fix: persist maximizable state when toggling fullscreen ( #23020 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-04-10 09:40:29 -07:00
Jeremy Apthorp
58c6ea5de8
ci: auto-3way patches and detect changes ( #23032 )
2020-04-08 15:31:00 -07:00
trop[bot]
34be80602c
fix: nullptr check when closing windows ( #23022 )
2020-04-07 22:10:41 -07:00
Shelley Vohr
ce40be475b
fix: webframe crashes for removed render frame ( #22975 )
...
* fix: webframe crashes for removed render frame
* Make errors more descriptive
2020-04-07 21:54:56 -07:00
trop[bot]
5f7bd36119
build: set merge=union for .patches ( #22992 )
...
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
2020-04-07 09:55:24 -07:00
Electron Bot
0f19193afd
Bump v8.2.1
2020-04-06 14:12:11 -07:00
Samuel Attard
06b3b0ea15
Revert "Bump v8.2.1"
...
This reverts commit 32f973b010 .
2020-04-06 12:43:27 -07:00
Electron Bot
32f973b010
Bump v8.2.1
2020-04-06 12:17:38 -07:00
Samuel Attard
ad2c2a055b
Revert "Bump v8.2.1"
...
This reverts commit d70b1c68fe .
2020-04-06 12:16:21 -07:00
Electron Bot
3069ef3827
chore: bump chromium in DEPS to 80.0.3987.163 ( #22931 )
2020-04-03 09:20:45 -07:00
Electron Bot
d70b1c68fe
Bump v8.2.1
2020-04-02 11:16:28 -07:00
Samuel Attard
3ba4a35c9c
fix: propagate preferred color scheme to the renderer ( #22896 ) ( #22901 )
...
* fix: propagate preferred color scheme to the renderer (#22896 )
* fix: do not crash if the window is closed syncronously with a nativeTheme change
* fix: propogate preferred color scheme to the renderer and keep it up to date
* chore: update native theme source patch for linux
2020-04-01 22:12:14 -07:00
trop[bot]
2c4c1a3dd9
fix: screen module should still be creatable if the first create is before the ready event ( #22913 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-04-01 11:37:15 -07:00
John Kleinschmidt
a4d8974556
fix: revive offscreen rendering support ( #22431 )
...
* fix: revive offscreen rendering support (#22160 )
(cherry picked from commit 36f982aee2 )
* Fixup compile issues
* skip offscreen tests on 32-bit linux
2020-03-31 17:32:52 -04:00
Electron Bot
b7d4759c19
chore: bump chromium in DEPS to 80.0.3987.162 ( #22905 )
2020-03-31 17:32:30 -04:00
trop[bot]
d6ecc65df3
fix: dialog fails to show after modal close ( #22889 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-03-30 16:29:31 -04:00
Electron Bot
98b67cdb69
chore: bump chromium in DEPS to 80.0.3987.159 ( #22847 )
2020-03-30 15:58:17 -04:00
John Kleinschmidt
eb37822e03
ci: Add goma to older branches ( #22784 )
...
* ci: use goma for windows and linux builds (#21868 )
* ci: use goma for windows and linux builds
(cherry picked from commit dc2fcff01c )
* ci: enable goma for all testing builds (#21992 ) (#22203 )
(cherry picked from commit e7982623ec )
(cherry picked from commit 0e9727e8d5 )
2020-03-25 15:28:15 -04:00
trop[bot]
8751f485c5
fix: workaround for hang when preventDefault-ing nativeWindowOpen ( #22749 )
...
* fix: enable workaround for nativeWindowOpen hang
* add test
* test: ensure window doesn't leak into other test
* update to use new webcontents delegate methods
Co-authored-by: Andy Locascio <andy@slack-corp.com >
2020-03-25 10:40:26 +09:00
Electron Bot
bfef6a54f0
Bump v8.2.0
2020-03-24 08:54:06 -07:00
Electron Bot
5fd403b571
Revert "Bump v8.2.0"
...
This reverts commit abe8c7168a .
2020-03-23 20:25:40 -07:00
Electron Bot
abe8c7168a
Bump v8.2.0
2020-03-23 19:40:00 -07:00
Samuel Attard
5c32d18248
Revert "fix: better window hierarchy checks"
...
This reverts commit 7ba879711a .
2020-03-23 19:35:54 -07:00
Samuel Attard
c1da7b5238
Revert "Bump v8.2.0"
...
This reverts commit 5b75a4a4be .
2020-03-23 19:35:44 -07:00
Electron Bot
5b75a4a4be
Bump v8.2.0
2020-03-23 14:47:36 -07:00
Electron Bot
57e36afc7e
Revert "Bump v8.2.0"
...
This reverts commit a4ea27de36 .
2020-03-23 14:46:14 -07:00
Electron Bot
a4ea27de36
Bump v8.2.0
2020-03-23 14:20:03 -07:00
Samuel Attard
7ba879711a
fix: better window hierarchy checks
2020-03-23 14:12:48 -07:00
Samuel Attard
f057b0e494
feat: add support for net requests to use the session cookie store ( #22807 )
...
* chore: refactor all the net specs to be async with better error handling (#22731 )
* chore: fix net specs when rerunning locally (#22745 )
* feat: add support for net requests to use the session cookie store (#22704 )
* fix: allow net requests to use Same-Site cookies (#22788 )
* build: fix merge conflict
* Update extensions-spec.ts
* Update extensions-spec.ts
2020-03-23 13:38:46 -07:00
Samuel Attard
fa01a20f9b
build: enable JS semicolons ( #22786 )
2020-03-23 09:18:39 -07:00
trop[bot]
579f7a1899
fix: prevent crash in ListValue v8 converter when conversion fails ( #22758 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-03-19 10:48:26 -04:00
Electron Bot
920a82a4de
chore: bump chromium in DEPS to 80.0.3987.158 ( #22742 )
2020-03-19 10:36:17 -04:00
trop[bot]
b501c40bd6
build: auto-generate the codesigning cert used for macOS CI testing runs ( #22763 )
...
* build: auto-generate the codesigning cert used for macOS CI testing runs
* build: give the cert ALL the trust values
* chore: also import public key
* idek
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-03-19 16:34:47 +09:00
trop[bot]
672aa1c67f
test: no need to loadURL in menu test ( #22766 )
...
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2020-03-19 16:34:08 +09:00
Сковорода Никита Андреевич
b305784aa3
feat: add disableDialogs option to WebPreferences ( #22665 )
...
Allows to disable dialogs completely in a similar way of how safeDialogs option can be used. Overrides safeDialogs option.
2020-03-18 20:01:55 -04:00
trop[bot]
c4efeef92c
fix: remove bad usages of for-in and guard against it ( #22728 )
...
* fix: remove bad usages of for-in and guard against it
* Apply suggestions from code review
Co-Authored-By: Samuel Maddock <samuel.maddock@gmail.com >
* Apply suggestions from code review
Co-Authored-By: Jeremy Apthorp <jeremya@chromium.org >
* Update remote.js
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
Co-authored-by: Jeremy Apthorp <jeremya@chromium.org >
2020-03-18 09:38:11 +09:00
Shelley Vohr
96b41d0930
fix: crash on invalid zoomFactor ( #22709 )
2020-03-18 09:32:19 +09:00
Electron Bot
1f652f08f8
chore: bump chromium in DEPS to 80.0.3987.156 ( #22718 )
2020-03-17 13:09:13 -04:00
Electron Bot
d12c157242
chore: bump chromium to 80.0.3987.148 (8-x-y) ( #22680 )
2020-03-16 23:19:00 -07:00
Electron Bot
68873fbadb
chore: bump chromium in DEPS to 80.0.3987.144 ( #22669 )
2020-03-12 13:42:41 -04:00
Erick Zhao
526d748b7e
fix: guard against duplicate TouchBarItem IDs ( #22645 )
2020-03-12 10:48:26 +09:00
Electron Bot
54109cb04d
chore: bump chromium in DEPS to 80.0.3987.143 ( #22648 )
2020-03-11 17:20:28 -04:00
trop[bot]
542f30b54b
test: test setPath for errors thrown ( #22638 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-03-11 16:02:02 +09:00
Electron Bot
07ea340314
chore: bump chromium in DEPS to 80.0.3987.142 ( #22635 )
2020-03-10 21:51:34 -04:00
trop[bot]
524d6a5d79
chore: don't delete nightly tag after draft ( #22623 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-03-10 17:04:11 +09:00
Alexey Kuzmin
a0431e1265
build: fix build without built-in spellchecker ( #22608 )
2020-03-10 16:59:51 +09:00
Electron Bot
647299fa9f
Bump v8.1.1
2020-03-09 16:26:54 -07:00
trop[bot]
ee5d52440b
build: upload sentry src bundles to symbol S3 bucket ( #22619 )
...
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
2020-03-09 16:24:37 -07:00
Electron Bot
d4a79bc4c0
chore: bump chromium to 80.0.3987.141 (8-x-y) ( #22593 )
...
* chore: bump chromium in DEPS to 80.0.3987.139
* chore: bump chromium in DEPS to 80.0.3987.140
* chore: bump chromium in DEPS to 80.0.3987.141
2020-03-09 10:55:54 -07:00
Electron Bot
e37f69c467
chore: bump chromium in DEPS to 80.0.3987.138 ( #22583 )
2020-03-06 12:17:59 -05:00
Erick Zhao
df6faec72e
fix: allow persistent media salts ( #22386 ) ( #22569 )
2020-03-05 19:39:23 -08:00
Electron Bot
691ddb3f67
Bump v8.1.0
2020-03-05 17:09:17 -08:00
Samuel Attard
b4e1b840cd
feat: programmatically modify traffic light positioning ( #22533 ) ( #22564 )
...
* setter
* getter
* specs and docs
* fixup
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-03-05 17:07:51 -08:00
Samuel Attard
6f12b67582
feat: add events for spellcheck dictionary downloads ( #22449 ) ( #22558 )
2020-03-05 17:07:44 -08:00
Samuel Attard
33f5fa3c56
feat: allow http-parser NODE_OPTION in packaged apps ( #21694 ) ( #22539 )
2020-03-05 17:07:37 -08:00
Samuel Attard
6f88108132
fix: disable contextBridge object identity caching ( #21803 ) ( #22557 )
...
* fix: disable contextBridge object identity caching (#21803 )
* fix: disable contextBridge object identity caching
* cleanup
* chore: make non-const references raw pointers
* fix: zero-param constructors are not explicit
* refactor: use base::LinkedList
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
* Update electron_api_context_bridge.h
* Update electron_api_context_bridge.cc
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
2020-03-05 17:02:54 -08:00
Samuel Attard
05a7f5f492
docs: clean up dark mode related docs ( #22563 )
...
Backport of #22489
Electron 8 uses macOS 10.14 SDK, so we can remove paragraphs from the
systemPreferences API docs.
2020-03-05 14:02:58 -08:00
Samuel Attard
b878a5ea4c
fix: reposition traffic lights on theme change ( #22559 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-03-05 14:02:19 -08:00
Jeremy Apthorp
8756ff0349
chore: bump chromium to 80.0.3987.137 (8-x-y) ( #22548 )
2020-03-05 13:11:01 -08:00
Cheng Zhao
20c5a3b9e1
fix: destroy node platform after destroying wrappers ( #22537 )
...
Co-authored-by: Cheng Zhao <zcbenz@electronjs.org >
2020-03-05 13:07:58 +09:00
Samuel Attard
ddb62e8d7c
fix: do not reposition traffic lights when fullscreened ( #22508 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-03-04 16:52:25 -08:00
Electron Bot
077e35c576
chore: bump chromium in DEPS to 80.0.3987.136 ( #22529 )
2020-03-04 12:34:07 -05:00
trop[bot]
eb63062889
fix: properly forward properties to webview ( #22510 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-03-04 16:22:27 +09:00
trop[bot]
cac6db76a0
fix: bail early if no printers on the network ( #22518 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-03-04 16:19:05 +09:00
Electron Bot
9257c315ac
chore: bump chromium in DEPS to 80.0.3987.135 ( #22505 )
2020-03-03 16:21:22 -08:00
Cheng Zhao
031480c3db
fix: add patch to fix os_metrics_mac with 10.15 SDK ( #22496 )
2020-03-03 15:51:26 +09:00
trop[bot]
9f9d3e98bf
docs: add documentation on case insensitive dictionary hosting ( #22486 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-03-03 15:10:09 +09:00
trop[bot]
ae639186e3
fix: check WebContents in OnGetDefaultPrinter ( #22475 )
...
Co-authored-by: Cheng Zhao <zcbenz@electronjs.org >
2020-03-03 15:05:21 +09:00
Shelley Vohr
6e4690574d
fix: prevent potential modal window close segfault ( #22481 )
2020-03-03 15:04:59 +09:00
trop[bot]
c83dc5be92
fix: Add ContentsView to AXChildren ( #22470 )
...
Co-authored-by: Felix Rieseberg <felix@felixrieseberg.com >
2020-03-02 22:02:20 +00:00
Electron Bot
63cb360df0
Bump v8.0.3
2020-03-02 11:30:38 -08:00
Samuel Attard
b311235165
Revert "Bump v8.0.3"
...
This reverts commit 6cd2623a87 .
2020-03-02 11:26:00 -08:00
Electron Bot
6cd2623a87
Bump v8.0.3
2020-03-02 11:15:24 -08:00
Electron Bot
9aa81de83d
Revert "Bump v8.0.3"
...
This reverts commit 0f246b6be7 .
2020-03-02 11:10:57 -08:00
Electron Bot
0f246b6be7
Bump v8.0.3
2020-03-02 11:08:50 -08:00
Samuel Attard
5be76fd4ea
Revert "Bump v8.0.3"
...
This reverts commit 7fe2cad354 .
2020-03-02 11:03:36 -08:00
Samuel Attard
a315283f88
chore: update g_swizzle_imk_input_session for new SDK
2020-03-02 11:03:28 -08:00
Electron Bot
b741cbf3d7
chore: bump chromium to 80.0.3987.134 (8-x-y) ( #22463 )
2020-03-02 11:02:17 -08:00
loc
031c0d6951
fix: port CL that fixes ARIA tree impl for macOS ( #22423 )
2020-03-02 18:25:37 +00:00
Electron Bot
3639a82915
chore: bump chromium to 80.0.3987.132 (8-x-y) ( #22441 )
...
* chore: bump chromium in DEPS to 80.0.3987.129
* chore: bump chromium in DEPS to 80.0.3987.132
2020-02-29 13:37:12 -08:00
Electron Bot
7fe2cad354
Bump v8.0.3
2020-02-28 16:02:00 -08:00
trop[bot]
de2e12343e
fix: dictionaries download path should be in userdata ( #22448 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-02-28 15:58:33 -08:00
John Kleinschmidt
69598ae5c6
build: try using newer version of xcode/macOS sdk ( #22104 )
2020-02-28 15:54:30 -08:00
Samuel Attard
0f0a7e6b1e
Revert "Bump v8.0.3"
...
This reverts commit a0dcb55d6c .
2020-02-28 15:48:57 -08:00
Electron Bot
a0dcb55d6c
Bump v8.0.3
2020-02-27 20:30:36 -08:00
Samuel Attard
ee35482d97
Revert "fix: backport v8 patch for type inference issue ( #22434 )"
...
This reverts commit cfe350a534 .
2020-02-27 16:44:49 -08:00
Electron Bot
8317553cd4
Revert "Bump v8.0.3"
...
This reverts commit ebf98e8af4 .
2020-02-27 16:37:02 -08:00
Electron Bot
ebf98e8af4
Bump v8.0.3
2020-02-27 16:06:52 -08:00
trop[bot]
cfe350a534
fix: backport v8 patch for type inference issue ( #22434 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-02-27 15:52:48 -08:00
Jeremy Apthorp
854dcb3247
chore: bump chromium to 80.0.3987.128 ( #22419 )
2020-02-27 14:42:39 -08:00
trop[bot]
882ce295ee
docs: improve documentation on spellchecker download URL ( #22403 )
...
* docs: improve documentation on spellchecker download URL
* Update session.md
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-02-26 23:09:40 -08:00
trop[bot]
1ac31e18b7
test: disable clipboard tests for WOA ( #22388 )
...
Co-authored-by: Cheng Zhao <zcbenz@github.com >
2020-02-26 16:47:03 +09:00
Electron Bot
957717e483
Bump v8.0.2
2020-02-25 17:25:00 -08:00
trop[bot]
d1ccfea882
fix: add patch to set the base download URL rather than override it completely ( #22384 )
...
* fix: add patch to set the base download URL rather than override it completely
* test
* test
* test
* test
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-02-25 17:23:37 -08:00
trop[bot]
232ca04edd
fix: pass safeDialogs preference properly ( #22377 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-02-25 20:42:53 +00:00
trop[bot]
2888e46b7a
chore: allow custom node-spec-runner options ( #22332 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-02-25 11:09:51 +09:00
Jeremy Apthorp
4464a04f35
fix: emit will-navigate for sandboxed contents ( #22188 ) ( #22328 )
2020-02-24 11:43:35 -08:00
trop[bot]
37baff1e31
fix: typo in crash reporter constructor ( #22344 )
...
Co-authored-by: Syed Umair <31096792+Syed-Umair@users.noreply.github.com >
2020-02-24 17:52:37 +09:00
Jeremy Apthorp
dde19b0583
fix: revert {Atom => Electron}Application rename ( #22206 ) ( #22326 )
2020-02-24 12:29:35 +09:00
trop[bot]
e2b9cd7b7c
docs: clean up protocol docs ( #22309 )
...
* docs: clean up protocol docs
* Fix capitalization
Co-authored-by: Mark Lee <malept@users.noreply.github.com >
2020-02-24 12:28:37 +09:00
Cheng Zhao
ecd398f8bd
fix: disable remote layer APIs in MAS build (8-x-y) ( #22298 )
...
* fix: add patch to disable remote layer APIs
* fix: use --disable-gpu-memory-buffer-compositor-resources for MAS build
2020-02-24 12:09:12 +09:00
trop[bot]
21f544392b
chore: remove libcc from release not generator ( #22295 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-02-20 10:19:28 -05:00
John Kleinschmidt
5c93682a89
build: only strip binaries on linux ( #22282 )
2020-02-19 14:32:32 -05:00
trop[bot]
1db64c9e51
doc: remove accidental deprecation ( #22265 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-02-19 13:44:36 +09:00
Samuel Attard
3a747eddbb
fix: add patch to route mouse event navigations through the WebContentsDelegate ( #22205 )
2020-02-18 15:22:26 -08:00
John Kleinschmidt
51504aee64
build: preserve timestamps when stripping files ( #22094 ) ( #22257 )
...
* build: preserve timestamps when stripping files
Resolves an issue where the binaries in mksnapshot.zip were not getting stripped.
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
(cherry picked from commit 5e49aafe55 )
2020-02-18 13:56:10 -05:00
trop[bot]
360e8a2eb8
fix: don't include breakpad_symbols dir in dsym.zip ( #22218 )
...
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2020-02-18 12:00:16 -05:00
Electron Bot
4447a63f20
Bump v8.0.1
2020-02-14 06:02:51 -08:00
trop[bot]
ceb3b0cf54
fix: no-arg console.log is undefined ( #22172 )
...
Co-authored-by: Shelley Vohr <codebytere@github.com >
2020-02-14 15:32:13 +09:00
Shelley Vohr
89607e647d
fix: crash on custom printing margins ( #22186 )
2020-02-13 21:03:23 +00:00
Shelley Vohr
c8e2a6261e
refactor: use NSVisualEffectMaterial* constants directly ( #22149 )
2020-02-12 12:01:38 -05:00
trop[bot]
e9814e016b
fix RTL bug when used with traffic light repositioning ( #22162 )
...
Co-authored-by: tonyfwoo <55114329+tonyfwoo@users.noreply.github.com >
2020-02-12 16:26:34 +00:00
Cheng Zhao
dc9654c03c
fix: make webRequest work with WebSocket ( #22134 )
2020-02-12 11:44:39 +09:00
trop[bot]
fce3426675
build: fix spellchecker deps ( #22154 )
...
Co-authored-by: Alexey Kuzmin <alex.s.kuzmin@gmail.com >
2020-02-11 23:47:55 +00:00
Jeremy Apthorp
637cf8a02b
fix: don't crash on invalid certs ( #22124 )
...
* test: add test for app.on('certificate-error') event (#21978 )
* types
* fix: don't crash on invalid certs (#21976 )
2020-02-11 23:46:40 +00:00
Alexey Kuzmin
daab432fb6
ci: strip mksnapshot binaries on Linux ( #22145 )
...
Related to #21086 .
2020-02-11 13:13:10 -05:00
trop[bot]
50dac1d908
ci: fix build failure on doc only changes ( #22088 )
...
* ci: fix build failure on doc only changes
* ci: fix doc-only check when CI fires on branch before PR is created
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2020-02-10 17:10:07 +09:00
trop[bot]
d4f915e428
fix: flash plugin ( #22110 )
...
* fix: flash plugin
Fixes https://github.com/electron/electron/issues/20744
* cleanup
* fix linting issue
Co-authored-by: t57ser <seve@live.at >
2020-02-10 10:50:26 +09:00
trop[bot]
72bccd1305
fix: use a WeakPtr so we do not UAF the store in FunctionLifetimeMonitor ( #22114 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-02-10 10:46:54 +09:00
Shelley Vohr
9439388b7b
chore: wrap cb with default invocation ( #22036 )
2020-02-05 18:24:41 +00:00
Jeremy Apthorp
b0fee4b067
ci: fix ELECTRON_OUT_DIR ( #21994 ) ( #22019 )
2020-02-05 10:30:47 +09:00
Jeremy Apthorp
7c33fc0c5c
chore: rename atom -> electron ( #21987 )
2020-02-04 13:50:17 -08:00
Shelley Vohr
f263a3f755
fix: default printer if none is provided ( #21956 ) ( #22011 )
2020-02-04 11:59:45 -05:00
Electron Bot
1af3a71fdb
Bump v8.0.0
2020-02-03 13:17:36 -08:00
trop[bot]
9f2371fc4e
fix: bind spellchecker receivers correctly in the renderer ( #22015 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-02-03 11:48:01 -08:00
trop[bot]
f658c1aeb4
fix: use the new MediaPlayPause key listener for internal chrome logic ( #21998 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-02-03 10:28:32 -08:00
Samuel Attard
c196121467
Revert "Bump v8.0.0-beta.10"
...
This reverts commit a326408bce .
2020-02-03 10:24:51 -08:00
Electron Bot
133ac9a323
chore: bump chromium to 80.0.3987.86 (8-x-y) ( #22000 )
...
* chore: bump chromium in DEPS to 80.0.3987.84
* chore: bump chromium in DEPS to 80.0.3987.85
* chore: bump chromium in DEPS to 80.0.3987.86
2020-02-03 11:20:30 -05:00
Electron Bot
a326408bce
Bump v8.0.0-beta.10
2020-01-31 15:19:09 -08:00
Samuel Attard
2085111c43
Revert "Bump v8.0.0-beta.10"
...
This reverts commit 7ae8d54265 .
2020-01-31 15:17:13 -08:00
Electron Bot
7ae8d54265
Bump v8.0.0-beta.10
2020-01-31 13:39:41 -08:00
Samuel Attard
c5574c8667
feat: custom positioning for traffic light buttons ( #21990 )
...
* feat: custom positioning for traffic light buttons (#21781 )
* feat: custom positioning for traffic light buttons
* remove NSLog and unnecessary call-site in IsVisible()
* no longer need to check if entering fullscreen
* change API to take a point object
Co-authored-by: tonyfwoo <55114329+tonyfwoo@users.noreply.github.com >
* chore: add safety checks to RepositionTrafficLights
Co-authored-by: Tony <TonyWuu@users.noreply.github.com >
Co-authored-by: tonyfwoo <55114329+tonyfwoo@users.noreply.github.com >
2020-01-31 13:35:47 -08:00
trop[bot]
6cf8abc3b3
fix: return path from netLog.stopLogging ( #21989 )
...
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
2020-01-31 11:22:14 -08:00
LuoJinghua
46a4864b08
feat: Exposing methods required by capturing a hidden webContents ( #21895 )
2020-01-31 11:21:42 -08:00
Electron Bot
7956b45323
chore: bump chromium in DEPS to 80.0.3987.82 ( #21984 )
2020-01-31 11:50:10 -05:00
trop[bot]
63bcbd4ff5
fix: prevent print crash on bad deviceName ( #21982 )
2020-01-31 16:26:19 +00:00
Electron Bot
3b5ca91a40
chore: bump chromium to 80.0.3987.79 (8-x-y) ( #21953 )
...
* chore: bump chromium in DEPS to 80.0.3987.78
* Update patches
* chore: bump chromium in DEPS to 80.0.3987.79
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2020-01-30 15:55:47 -05:00
Electron Bot
80282ba972
Bump v8.0.0-beta.9
2020-01-29 18:23:35 -08:00
Erick Zhao
7ddb3dd184
fix: add executable to ChromeDriver's rpath for electron 8+ ( #21966 )
2020-01-29 18:14:12 -08:00
trop[bot]
0cee5cc1c1
fix: ensure web_contents is not nullptr in UpdateDraggableRegions ( #21965 )
...
* fix: ensure web_contents is not nullptr in UpdateDraggableRegions
This is a speculative fix for a crash in `UpdateDraggableRegions` that we've noticed
* Update atom_api_browser_window_mac.mm
* Update atom_api_browser_window_mac.mm
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-01-29 17:43:55 -08:00
Jeremy Apthorp
048d770a0e
fix: show module name in deprecation warning for context-aware modules ( #21958 )
2020-01-29 17:29:06 -08:00
Robo
b3fdb242f0
fix: compilation of native modules on windows with older msvc versions ( #21950 ) ( #21960 )
2020-01-29 17:13:07 -08:00
Electron Bot
38d908ee6a
Bump v8.0.0-beta.8
2020-01-29 11:22:54 -08:00
Alexey Kuzmin
416b850dd2
chore: fix linter errors in .mm files ( #21933 )
2020-01-29 17:04:14 +00:00
Erick Zhao
714e068cba
refactor: try just using regular [Sync] for MessageSync ( #20797 ) ( #21948 )
...
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
2020-01-29 07:11:32 -05:00
trop[bot]
0a0689587a
chore: update build_bring_back_node_with_ltcg_configuration.patch ( #21947 )
...
* chore: update build_bring_back_node_with_ltcg_configuration.patch
set default value for node_with_ltcg=true
* fix: move ltcg definition to Release configuration
Co-authored-by: Robo <hop2deep@gmail.com >
2020-01-28 22:42:53 -08:00
trop[bot]
83c4633b21
fix: use powerMonitor.on() only after app is ready ( #21942 )
2020-01-28 22:13:19 +00:00
Electron Bot
a33063c8a7
chore: bump chromium in DEPS to 80.0.3987.75 ( #21932 )
2020-01-28 15:15:07 -05:00
trop[bot]
c478d45713
fix: ensure tray icon is the proper size on linux ( #21936 )
2020-01-28 18:15:22 +00:00
trop[bot]
74686a9cb3
fix: About Panel credits should be dark mode aware ( #21926 )
...
* fix: about panel credits should be dark mode aware
* use textColor for automatic adaptability
Co-authored-by: Shelley Vohr <codebytere@github.com >
2020-01-28 17:05:04 +09:00
Shelley Vohr
473a90f99f
fix: window.print() only working once ( #21908 )
2020-01-28 02:11:05 +00:00
trop[bot]
15e9f22fda
docs: clean up context bridge API docs ( #21917 )
2020-01-28 02:01:44 +00:00
Electron Bot
ee44155f7a
chore: bump chromium to 80.0.3987.74 (8-x-y) ( #21886 )
2020-01-27 23:08:46 +00:00
Shelley Vohr
bf64b34475
fix: recursive printing crash ( #21905 )
2020-01-27 21:18:02 +00:00
trop[bot]
26dbd2218e
fix: menu not updating with Tray.setContextMenu ( #21902 )
...
Co-authored-by: Cheng Zhao <zcbenz@github.com >
2020-01-27 15:48:02 +09:00
trop[bot]
38e46abf0b
Update browser-window.md ( #21901 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-01-27 14:56:03 +09:00
Electron Bot
67f7bf4a23
chore: bump chromium to 80.0.3987.69 (8-x-y) ( #21863 )
...
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
2020-01-23 10:38:06 -08:00
trop[bot]
02f040c765
docs: added info on bookmark return values for securityScopedBookmarks ( #21874 )
2020-01-22 18:37:32 -08:00
trop[bot]
9b841e4594
fix: Windows checkboxChecked edge case ( #21861 )
2020-01-22 18:36:03 -08:00
trop[bot]
a40957f2bc
fix: some websites using WebComponents V0 not loading ( #21866 )
...
Co-authored-by: Shelley Vohr <codebytere@github.com >
2020-01-23 09:38:21 +09:00
trop[bot]
a6121f527c
fix: call SetCanActivate in setFocusable ( #21854 )
...
Co-authored-by: Cheng Zhao <zcbenz@github.com >
2020-01-22 14:45:27 +09:00
Cheng Zhao
71a31d553f
fix: crash when doing redirect navigation with webRequest listener (8-x-y) ( #21841 )
...
* fix: pass navigation_ui_data to proxying factory
* fix: clone response instead of move in redirect
2020-01-22 10:31:19 +09:00
Electron Bot
1a309fd55f
chore: bump chromium in DEPS to 80.0.3987.64 ( #21848 )
2020-01-21 11:41:13 -08:00
Electron Bot
73527e54c5
chore: bump chromium to 80.0.3987.63 (8-x-y) ( #21832 )
2020-01-20 19:09:53 +00:00
trop[bot]
2ef0827767
fix: crash when restoring minimized hidden window ( #21821 )
...
Co-authored-by: Cheng Zhao <zcbenz@github.com >
2020-01-20 15:43:32 +09:00
Electron Bot
76bcab07e6
chore: bump chromium in DEPS to 80.0.3987.61 ( #21826 )
2020-01-18 17:45:23 +00:00
Electron Bot
5a5b6abd2c
chore: bump chromium in DEPS to 80.0.3987.60 ( #21817 )
2020-01-17 10:27:43 -08:00
Electron Bot
4ce5a48076
Bump v8.0.0-beta.7
2020-01-16 09:55:43 -08:00
Electron Bot
7b61e6044a
chore: bump chromium in DEPS to 80.0.3987.59 ( #21800 )
2020-01-16 12:08:28 -05:00
trop[bot]
048f06c7f5
feat: add session.addWordToSpellCheckerDictionary to allow custom words in the dictionary ( #21297 )
...
* feat: add session.addWordToSpellCheckerDictionary to allow custom words in the dictionary
* Update session.md
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2020-01-16 09:47:58 -05:00
trop[bot]
06868c938f
fix: printToPDF failing to generate PDF ( #21797 )
...
Co-authored-by: Shelley Vohr <codebytere@github.com >
2020-01-16 09:39:26 -05:00
Electron Bot
22e8fc6379
chore: bump chromium in DEPS to 80.0.3987.58 ( #21789 )
2020-01-15 19:04:45 -05:00
trop[bot]
427c139eff
fix: pass full response headers in net module ( #21769 )
...
* fix: pass full response headers in net module
* chore: put helper classes in annoymouse namespace
* fix: use hasOwnProperty to test key
* chore: shorter class name
Co-authored-by: Cheng Zhao <zcbenz@github.com >
2020-01-15 13:38:09 +09:00
Electron Bot
6a881520ee
chore: bump chromium in DEPS to 80.0.3987.55 ( #21765 )
2020-01-14 06:56:22 -08:00
trop[bot]
5a2c451c0b
fix: stream protocols not completing ( #21759 )
...
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
2020-01-14 16:09:46 +09:00
Robo
f47fbccf1a
Fix memory leak in generator functions ( #21760 )
...
Backports https://chromium-review.googlesource.com/c/v8/v8/+/1967317
2020-01-14 16:08:41 +09:00
Electron Bot
eb419946ad
Bump v8.0.0-beta.6
2020-01-13 10:25:18 -08:00
Electron Bot
1b204a4369
chore: bump chromium to 80.0.3987.51 (8-x-y) ( #21738 )
...
* chore: bump chromium in DEPS to 80.0.3987.49
* chore: bump chromium in DEPS to 80.0.3987.50
* chore: bump chromium in DEPS to 80.0.3987.51
2020-01-13 13:13:02 -05:00
Cheng Zhao
ee2de310f5
fix: disable private macOS APIs in MAS build except for CAContext/CALayerHost (8-x-y) ( #21574 )
...
* fix: add patch to disable remote accessibility APIs
* fix: add patch to disable private window frame APIs
2020-01-13 09:06:13 -05:00
trop[bot]
e81aa83a14
fix: don't fallback to OpenFolderViaShell ( #21748 )
...
Co-authored-by: Shelley Vohr <codebytere@github.com >
2020-01-13 14:56:19 +09:00
trop[bot]
96cae44f32
fix: prefer occluded rather than unloading layout info ( #21751 )
...
Co-authored-by: loc <andy@slack-corp.com >
2020-01-13 14:55:05 +09:00
Milan Burda
757e7a91a9
fix: load window-setup in sandboxed renderer ( #21416 ) ( #21431 )
2020-01-13 11:04:10 +09:00
trop[bot]
6faef05095
docs: responseHeaders should be Record<string, string[]> ( #21743 )
...
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2020-01-13 09:51:59 +09:00
Shelley Vohr
ee65a190fa
chore: deprecate visibleOnFullScreen option ( #21732 )
2020-01-13 09:48:16 +09:00
trop[bot]
da45f0341a
fix: avoid contextBridge double free on garbage collection ( #21735 )
...
* fix: reset next/prev pointers for life-monitored nodes
* fix: don't double-delete nodes in a linked list
Co-authored-by: loc <andy@slack-corp.com >
2020-01-10 16:56:40 -08:00
Electron Bot
c6517c0b7f
chore: bump chromium in DEPS to 80.0.3987.48 ( #21728 )
2020-01-10 11:47:38 -08:00
trop[bot]
2c92573978
fix: don't unnecessarily copy draggable regions ( #21722 )
2020-01-10 09:09:26 -08:00
trop[bot]
fa7326af64
fix: Notification crash in before-quit ( #21720 )
2020-01-10 09:08:24 -08:00
Electron Bot
aca96553fc
chore: bump chromium to 80.0.3987.47 (8-x-y) ( #21651 )
...
* chore: bump chromium in DEPS to 80.0.3987.32
* chore: bump chromium in DEPS to 80.0.3987.33
* chore: bump chromium in DEPS to 80.0.3987.34
* chore: bump chromium in DEPS to 80.0.3987.36
* chore: bump chromium in DEPS to 80.0.3987.37
* chore: bump chromium in DEPS to 80.0.3987.38
* chore: bump chromium in DEPS to 80.0.3987.39
* chore: bump chromium in DEPS to 80.0.3987.40
* chore: bump chromium in DEPS to 80.0.3987.43
* chore: bump chromium in DEPS to 80.0.3987.47
2020-01-09 08:22:19 -08:00
trop[bot]
37592cdaee
refactor: throw error for getLastCrashReport if crashReporter not started ( #21685 )
2020-01-07 09:15:50 -05:00
trop[bot]
64e48ad0e6
fix: SimpleURLLoaderWrapper redirects ( #21566 ) ( #21644 )
2020-01-01 09:31:38 +09:00
trop[bot]
68566583f0
fix: highlight defaulted button correctly ( #21653 )
2019-12-31 08:42:07 -08:00
Electron Bot
6a56aa2240
chore: bump chromium to 80.0.3987.31 (8-x-y) ( #21557 )
...
* chore: bump chromium in DEPS to 80.0.3987.16
* chore: bump chromium in DEPS to 80.0.3987.18
* chore: bump chromium in DEPS to 80.0.3987.20
* chore: bump chromium in DEPS to 80.0.3987.21
* chore: bump chromium in DEPS to 80.0.3987.22
* chore: bump chromium in DEPS to 80.0.3987.23
* chore: bump chromium in DEPS to 80.0.3987.24
* chore: bump chromium in DEPS to 80.0.3987.25
* chore: bump chromium in DEPS to 80.0.3987.26
* chore: bump chromium in DEPS to 80.0.3987.27
* chore: bump chromium in DEPS to 80.0.3987.28
* chore: bump chromium in DEPS to 80.0.3987.29
* chore: bump chromium in DEPS to 80.0.3987.30
* chore: bump chromium in DEPS to 80.0.3987.31
2019-12-30 08:53:24 -08:00
trop[bot]
7e8c1108e0
fix: set enable_negotiate_port to false in allowNTLMCredentialsForDomains ( #21580 )
...
* fix: set enable_negotiate_port to false in allowNTLMCredentialsForDomains
* read commandline switch
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
2019-12-19 19:26:46 -08:00
trop[bot]
f5ce5f8218
build: free up macos disk space on Mac publish ( #21570 )
2019-12-18 16:40:09 -08:00
Electron Bot
28e44b31ca
Bump very far --> this is electron bot fixing the release
2019-12-18 14:04:34 -08:00
Samuel Attard
606ca98df0
build: handle origin/X branch formats
2019-12-18 14:02:38 -08:00
Electron Bot
acd2eabdfd
Bump v8.0.0-beta.5
2019-12-17 16:05:21 -08:00
Shelley Vohr
07972c2892
Revert "Bump v8.0.0-beta.6"
...
This reverts commit 70079d1c8a .
2019-12-17 15:47:28 -08:00
Electron Bot
70079d1c8a
Bump v8.0.0-beta.6
2019-12-17 15:16:32 -08:00
trop[bot]
4def69876f
fix: enforce parent-child relationship in custom postMessage() handler ( #21512 )
2019-12-17 15:08:36 -08:00
John Kleinschmidt
61a2c7bd16
Revert "Bump v8.0.0-beta.5"
...
This reverts commit 6c1eb46f68 .
2019-12-17 13:52:56 -08:00
Shelley Vohr
f53262d58f
fix: MediaKey globalShortcuts not working on macOS ( #21547 )
2019-12-17 13:36:47 -08:00
trop[bot]
8c15619905
docs: update webContents.printToPDF() example for promisified API ( #21549 )
2019-12-16 21:29:03 -08:00
trop[bot]
4a66bed930
refactor: export internalWindowOpen from guest-window-manager ( #21530 )
2019-12-16 13:55:17 -08:00
trop[bot]
8dabb3fe33
docs: update installation docs to reflect latest @electron/get changes ( #21540 )
2019-12-16 13:53:43 -08:00
Electron Bot
3f88934025
chore: bump chromium to 80.0.3987.14 (8-x-y) ( #21520 )
...
* chore: bump chromium in DEPS to 80.0.3987.12
* chore: bump chromium in DEPS to 80.0.3987.13
* chore: bump chromium in DEPS to 80.0.3987.14
2019-12-16 12:43:29 -05:00
trop[bot]
296dcc3405
fix: avoid contextBridge crash when RenderFrame address is reused ( #21513 )
...
* fix: avoid contextBridge crash when RenderFrame address is reused
Co-Authored-By: Jeremy Apthorp <nornagon@nornagon.net >
* make routing_id_ const
2019-12-16 11:01:20 +09:00
trop[bot]
5f6de7053a
fix: quit after Chromium is fully started ( #21507 )
...
* fix: quit when chromium is fully started
* test: remove hacks on app.quit
* chore: RunUntilIdle is unnecessary
2019-12-16 09:45:45 +09:00
Electron Bot
6c1eb46f68
Bump v8.0.0-beta.5
2019-12-14 08:10:53 -08:00
Electron Bot
05cde0d945
chore: bump chromium to 80.0.3987.6 (8-x-y) ( #21061 )
2019-12-13 12:13:29 -08:00
trop[bot]
696c94c08a
fix: sourcemaps not loading with network service ( #21493 )
...
Backports https://chromium-review.googlesource.com/c/chromium/src/+/1525270
Backports https://chromium-review.googlesource.com/c/chromium/src/+/1852212
2019-12-12 18:55:44 -08:00
trop[bot]
4284691cb3
fix: avoid Electron.dsym files in the main app bundle ( #21484 )
...
* ci: CHECK_DIST_MANIFEST in release builds
* fix: skip Electron.dSYM on macOS app zip
2019-12-11 13:16:56 -08:00
trop[bot]
2ab56802cb
fix: restore POST forms that open a new window with target=_blank ( #21474 )
...
* fix: restore parts of original ResourceRequestBody V8 conversion
Restore some of the original conversion logic in order to fix target=_blank post form submissions.
* test: add test for POST form submission
2019-12-11 19:36:01 +09:00
Cheng Zhao
353d12b231
fix: name and expirationDate should be optional when setting cookie ( #21454 ) ( #21477 )
...
* fix: correctly set cookie date
* fix: name is not required for setting cookie
* test: clear cookie after each cookie test
* test: should test session property
* chore: style fixes
2019-12-11 19:34:23 +09:00
trop[bot]
cbd734faf9
fix: restore accessibility window title on macOS ( #21467 )
...
Electron's `AtomNSWindow` implements `accessibilityAttributeValue` to
provide various accessibility info to the OS, including window titles.
Chromium 75 changed to Apple's newer accessibility API for window titles
in the super class that `AtomNSWindow` inherits from. macOS still
supports both the old and new style APIs, but it will prefer the new
style if it is implemented. This means the Electron window title is
being ignored because the newer API at the Chromium level has taken
precedence.
By implementing the newer accessibility API in `AtomNSWindow`, this
restores correct accessibility window titles in macOS Electron apps.
This is a regression has been present since Electron 6.0.0 (the first
release including the Chromium change above).
2019-12-10 18:45:18 -08:00
trop[bot]
cf282c177f
fix: window menu should handle keys correctly ( #21452 )
2019-12-10 10:08:15 -08:00
trop[bot]
e8c8afb1b4
fix: Fix compositor recycling when creating new BrowserView ( #21399 )
...
In #20829 , we fixed compositor recycling when switching between
BrowserViews, but it turns out that there is one additional case that we
need to handle. When we create a completely new BrowserView instance, it
starts of as visible (even when it hasn't been added to the window),
which means that it will need its own compositor instead of using the
recycled compositor.
To fix this, lets make BrowserViews hidden by default until they're
added to the window. See also #19988 . This is a potentially breaking
change given that the initial value of `document.visibilityState` will
now be `hidden`, but given the experimental status of BrowserViews, I
think this is a fine change to make. The old behavior can be restored
with `webPreferences: { show: true }`.
Notes: Fix compositor recycling when creating new BrowserView
2019-12-10 10:05:10 +09:00
trop[bot]
dd0d06448c
fix: hiding window menu should work on startup ( #21443 )
...
* fix: menu visibility should not be overwritten on startup
* fix: removing menu for window without global menubar
* test: setMenu tests are not for mac
2019-12-10 09:29:00 +09:00
trop[bot]
3527fdc291
chore: workflows and pipeline state were split in the circle API ( #21444 )
2019-12-09 11:32:55 -08:00
trop[bot]
a6b9d68897
fix: fix ClientRequest.getUploadProgress ( #21424 )
2019-12-09 11:18:39 -08:00
trop[bot]
e1e7ec737f
fix: pass noLink correctly on Windows ( #21405 )
2019-12-08 10:39:35 -08:00
trop[bot]
4fd03f59f4
docs: fix return type of getPrinters ( #21421 )
2019-12-08 10:38:17 -08:00
trop[bot]
e64e0f00ca
fix: do not use messages after move ( #21420 )
2019-12-06 14:41:29 -08:00
trop[bot]
1bfead2f6b
fix: ensure persistence store still exists when GC runs ( #21418 )
...
Fix a bad access crash that happens when a render frame is deleted (window closed) and garbage collection runs afterward.
2019-12-06 12:35:32 -08:00
Jacob
c79f1ee720
fix: prevent silent failure when DOM storage quota exceeded ( #20899 ) ( #21380 )
...
* test: update DOM storage quota limits test
* fix: update dom_storage_limits.patch (fixes #13465 )
The previous version of this patch did not include
changes required to circumvent the quota enforcement
performed by StorageAreaImpl. Consequently when
the quota was exceeded, things still "appeared to
work" at first but then would later fail silently.
That is, the cache would be updated but the backing
store would not.
This could be fixed by disabling the code below
(from `content/browser/dom_storage/storage_area_impl.cc`)
```
// Only check quota if the size is increasing, this allows
// shrinking changes to pre-existing maps that are over budget.
if (new_item_size > old_item_size && new_storage_used > max_size_) {
if (map_state_ == MapState::LOADED_KEYS_ONLY) {
receivers_.ReportBadMessage(
"The quota in browser cannot exceed when there is only one "
"renderer.");
} else {
std::move(callback).Run(false);
}
return;
}
```
However, since this seems to have some unintended side-effects
(see updated notes in dom_storage_limits.patch) it seems
more prudent to simply increase the quota to a larger
yet still reasonable size rather than attempt to circumvent
the storage quota altogether.
2019-12-04 12:27:43 -08:00
trop[bot]
e18c369e4a
fix: deprecate setLayoutZoomLevelLimits ( #21360 )
2019-12-04 08:46:15 -08:00
trop[bot]
1953ab3bf2
chore: remove unused shell/common/crash_reporter/win/crash_service.cc ( #21376 )
2019-12-04 16:40:40 +09:00
Electron Bot
d998bf9fed
Bump v8.0.0-beta.4
2019-12-03 16:37:39 -08:00
Electron Bot
40eff3a778
Revert "Bump v8.0.0-beta.4"
...
This reverts commit 9dd089fc56 .
2019-12-03 16:17:17 -08:00
Electron Bot
9dd089fc56
Bump v8.0.0-beta.4
2019-12-03 16:11:22 -08:00
Electron Bot
5e2bd0e55f
Revert "Bump v8.0.0-beta.4"
...
This reverts commit 95b8be4cc4 .
2019-12-03 13:31:30 -08:00
Electron Bot
95b8be4cc4
Bump v8.0.0-beta.4
2019-12-03 13:28:04 -08:00
Jeremy Apthorp
d48f99fd6e
ci: generate debug symbols on Linux ( #21278 )
...
* ci: generate debug symbols on Linux (#18676 )
* kick ci
2019-12-03 11:03:51 -05:00
trop[bot]
3a9b934cc5
fix: backgroundThrottling rwh assignment ( #21358 )
...
* fix: backgroundThrottling rwh assignment
* fix: disable DOM timer throttling
* chore: fix typo
2019-12-02 15:42:44 -08:00
Electron Bot
768f372675
Revert "Bump v8.0.0-beta.4"
...
This reverts commit 9e3f0d5190 .
2019-12-02 13:55:49 -08:00
Electron Bot
9e3f0d5190
Bump v8.0.0-beta.4
2019-12-02 13:53:37 -08:00
Electron Bot
5a297f409f
Revert "Bump v8.0.0-beta.4"
...
This reverts commit 57335cea69 .
2019-12-02 12:32:55 -08:00
Electron Bot
57335cea69
Bump v8.0.0-beta.4
2019-12-02 12:30:44 -08:00
trop[bot]
3331f51571
fix: ensure no node globals passively leak when nodeIntegration is disabled ( #21355 )
2019-12-02 12:27:51 -08:00
Robo
f122268ca8
fix: focus with OOPIF embedded inside <webview> ( #21343 )
...
Backports https://chromium-review.googlesource.com/c/chromium/src/+/1922650
2019-12-02 10:26:35 -08:00
Robo
bfc817fd28
build: fix building with enable_builtin_spellchecker = false ( #21334 ) ( #21341 )
2019-11-30 16:22:50 -08:00
trop[bot]
2bd83d0e89
fix: correctly plumb checkboxChecked on win ( #21312 )
...
* fix: correctly plumb checkboxChecked on win
* address final style comment
2019-11-29 17:23:43 +09:00
Jeremy Apthorp
f29f3418ed
refactor: rewrite the net module to simplify state tracking ( #21303 )
...
* refactor: rewrite the net module to simplify state tracking (#21244 )
* fix build
* Update atom_api_net.cc
2019-11-29 17:22:45 +09:00
trop[bot]
c87a0077dd
build: disable strip_absolute_paths_from_debug_symbols on debug.gn ( #21316 )
2019-11-29 17:22:17 +09:00
Jeremy Apthorp
23c1dcea46
fix: restore --ignore-connections-limit functionality ( #21286 ) ( #21298 )
2019-11-27 16:41:44 +09:00
Samuel Attard
41e64d2469
chore: add deprecation warning for the default of allowRendererProcessReuse ( #21287 )
...
* chore: add deprecation warning for the default of allowRendererProcessReuse
* Update web-contents.js
2019-11-26 15:48:35 -08:00
Jeremy Apthorp
5fdc24d3bf
fix: record cpu_profiler data for main process ( #21187 ) ( #21276 )
...
* fix: record cpu_profiler data for main process
* kick ci
2019-11-26 13:20:15 -08:00
Samuel Attard
64dc86c8c2
fix: allow reading body from non-2xx responses in net.request ( #21055 ) ( #21285 )
...
* fix(urlrequest): allow non-2xx repsponse results
- closes #21046
* test(net): add test cases to verify non-2xx body
* test(session): update spec to match clientrequest behavior
* test(net): update test cases to match clientrequest behavior
* spec: clean up async net spec
2019-11-26 13:10:07 -08:00
Jeremy Apthorp
9d1ec6b0eb
fix: implement 'login' event for net.ClientRequest ( #21133 )
...
* fix: implement 'login' event for net.ClientRequest (#21096 )
* lint
* more lint
* whoops forgot patch
* fix compile
* fix ts
* i swear to god i already fixed this
* ugh
* asfdsafd
* disambiguate callback converter (i hope)
* Update atom_api_url_request_ns.cc
* use gin, not mate
2019-11-26 11:32:28 -08:00
trop[bot]
8919480ebc
fix: reloadIgnoringCache() should ignore the cache ( #21283 )
2019-11-25 12:51:02 -08:00
trop[bot]
bb9e68beee
fix: add missing early return ( #21282 )
2019-11-25 12:50:52 -08:00
trop[bot]
88c1f2caf7
feat: expose executeJavaScriptInIsolatedWorld on webContents ( #21267 )
...
* feat: expose executeJavaScriptInIsolatedWorld on webContents
* Apply suggestions from code review
Co-Authored-By: loc <andy@slack-corp.com >
2019-11-22 20:44:39 -08:00
Shelley Vohr
88375be2b2
fix: conversion of NativeImage from path ( #21241 )
2019-11-22 10:26:13 -08:00
trop[bot]
2aa69505f9
docs: remove string literal type from window events ( #21245 )
2019-11-21 14:50:02 -08:00
Electron Bot
e78fe7c8da
Bump v8.0.0-beta.3
2019-11-20 11:24:28 -08:00
trop[bot]
7a7b944c74
build: update release build endpoint from /jobs to /job ( #21233 )
2019-11-20 14:23:13 -05:00
Electron Bot
09f5a2b741
Revert "Bump v8.0.0-beta.3"
...
This reverts commit cbf50eabd9 .
2019-11-20 11:16:26 -08:00
Electron Bot
cbf50eabd9
Bump v8.0.0-beta.3
2019-11-20 11:14:52 -08:00
trop[bot]
90a74139c1
build: delete unneeded files when running a release ( #21230 )
...
* build: delete unneeded files when running a release
Needed to free up disk space on MacOS.
* Delete all the .git directories
* Update comment
* Run gn gen after deleting .git dirs
2019-11-20 14:04:25 -05:00
Cheng Zhao
3a6cc1b786
fix: menu should not be garbage-collected when popuping (8-x-y) ( #21224 )
...
* fix: retain menu when popuping
* test: menu should not be garbage-collected when popuping
2019-11-20 11:19:21 -05:00
trop[bot]
f5fde13b14
spec: skip flaky <webview>.capturePage() test on Windows ( #21212 )
2019-11-20 11:00:52 -05:00
John Kleinschmidt
c6d429d533
Revert "Bump v8.0.0-beta.3"
...
This reverts commit 269f4ba2bb .
2019-11-19 16:53:29 -05:00
Charles Kerr
73df925241
docs: document webkitdirectory breaking change ( #21209 )
2019-11-19 15:31:06 -05:00
Electron Bot
269f4ba2bb
Bump v8.0.0-beta.3
2019-11-19 11:41:06 -08:00
Electron Bot
9b304beb54
Revert "Bump v8.0.0-beta.3"
...
This reverts commit 5ffad09e91 .
2019-11-19 11:34:24 -08:00
Electron Bot
5ffad09e91
Bump v8.0.0-beta.3
2019-11-19 11:32:01 -08:00
John Kleinschmidt
b694315cd3
Revert "Bump v8.0.0-beta.3" ( #21207 )
...
This reverts commit 7fe2f25341 .
2019-11-19 14:21:25 -05:00
trop[bot]
8566315902
fix: allow chromium to handle WM_NCCALCSIZE for frameless windows ( #21201 )
2019-11-19 14:18:50 -05:00
trop[bot]
cd94ab9de3
build: use python3 to download external binaries ( #21202 )
...
* build: use python3 to download external binaries
* Update config.py
2019-11-19 08:40:51 -08:00
trop[bot]
09ebadaf5b
build: use symbol_level 1 for 32bit linux releases ( #21204 )
...
* build: use symbol_level 1 for 32bit linux releases
* Add comment
2019-11-19 08:14:34 -08:00
trop[bot]
990189ab35
fix: stream protocols sometimes flake out ( #21180 )
2019-11-19 06:31:07 -08:00
trop[bot]
049e536c5f
docs: fix isMactemplateImage type definition ( #21182 )
2019-11-18 21:04:01 -08:00
Electron Bot
7fe2f25341
Bump v8.0.0-beta.3
2019-11-18 10:41:07 -08:00
Charles Kerr
c79809ddb9
build: missing include in windows release builds ( #21132 )
...
* fix: add missing `#include <algorithm>` as needed
Manual backport of #21045
* fix: add missing `#include <algorithm>` as needed
Manual backport of #21045
* chore: add patch to include missing `#include <memory>`
* chore: add another `#include <memory>` needed
* chore: regenerate patches w/correct breakpad root
* chore: regenerate breakpad include failure patches
* refactor: use --keep-cr in the git am patch script
We need something like this to patch files that have crlf endings. See
https://stackoverflow.com/questions/6289001/git-am-format-patch-control-format-of-line-endings
* chore: regenerate node patches
The udpated crlf support in git-{import,export}-patches caused a new
warning when applying patches from `electron/patches/nodes`, so refresh
the patches.
* chore: no need to regenerate node patches
* chore: silence whitespace warnings
* chore: fix FTBFS from stl features used but not included
* fixup! refactor: use --keep-cr in the git am patch script
2019-11-18 10:39:59 -08:00
Robo
b3edf86914
fix: incorrect size of windows on differently scaled monitors ( #21139 )
...
* Revert "fix: handle WM_GETMINMAXINFO instead of letting chromium do it (#19928 )"
This reverts commit 27ce6a9cd3 .
* fix: don't reset the width and height when correcting window placement
2019-11-15 09:28:47 -08:00
John Kleinschmidt
7044122f5d
chore: Reset version for 8-x-y ( #21134 )
...
* Revert "Bump v8.0.0-beta.4"
This reverts commit 2560776888 .
* Revert "Bump v8.0.0-beta.3"
This reverts commit d5d5fef931 .
2019-11-14 16:34:57 -08:00
Jeremy Apthorp
b7bcce9576
fix: implement login event for WebContents ( #21098 )
...
* fix: implement login event for WebContents
* fix gin header path
* use mate
* correct path to native_mate/dictionary.h
* use BindRepeating bc apparently no BindOnce converter...?
2019-11-14 16:18:28 -08:00
Electron Bot
2560776888
Bump v8.0.0-beta.4
2019-11-14 10:20:46 -08:00
Electron Bot
d5d5fef931
Bump v8.0.0-beta.3
2019-11-14 09:50:16 -08:00
Cheng Zhao
6b158872fc
fix: webRequest should be able to modify CORS headers ( #21099 ) ( #21122 )
2019-11-14 12:45:25 -05:00
Andrew MacDonald
a4ef2d4356
feat: add app.getApplicationNameForProtocol API ( #20399 ) ( #21117 )
...
* Add GetApplicationNameForProtocol.
* Fix Windows implementation.
* Fix up test.
* Add documentation.
* Implement for real on Linux using xdg-mime.
Also ensure we allow blocking calls here to avoid errant DCHECKing.
* Improve docs for Linux.
* Clean up tests.
* Add a note about not relying on the precise format.
* Update docs/api/app.md
Co-Authored-By: Shelley Vohr <codebytere@github.com >
* Remove needless `done()`s from tests.
* Use vector list initialization.
* Add a simple test for isDefaultProtocolClient.
* Remove unneeded include and skip a test on Linux CI.
* We no longer differentiate between CI and non-CI test runs.
2019-11-14 12:38:54 -05:00
Milan Burda
14cc902ad8
feat: add 'screen' to systemPreferences.getMediaAccessStatus() ( #21116 )
2019-11-14 15:15:24 +00:00
Milan Burda
a62a367b9f
fix: NativeImage serialization of <webview>.capturePage() result ( #21103 )
...
* refactor: add Error to isSerializableObject() (#20886 )
* fix: NativeImage serialization of <webview>.capturePage() result (#20825 )
2019-11-14 10:36:22 +00:00
Shelley Vohr
8d67f16512
fix: refactor printing for mojo ( #21059 )
2019-11-13 17:43:38 +00:00
loc
59cb78e9aa
fix: allow iframe-initiated HTML fullscreen to exit while in macOS fullscreen (8-x-y) ( #21042 )
...
* fix: explicitly resize the contents when exiting html fullscreen while in OS fullscreen
* test: ensure HTML fullscreen toggles while in OS fullscreen
2019-11-13 14:33:31 +09:00
Samuel Attard
032552df57
build: depend on chromium version not SHA ( #20839 )
2019-11-08 16:35:10 -08:00
trop[bot]
1913926ebc
feat: deprecate <webview>.getWebContents() ( #21039 )
2019-11-07 15:31:54 -05:00
trop[bot]
dc979388ba
fix: check for validity of guest webcontents ( #21035 )
2019-11-07 13:37:14 -05:00
trop[bot]
bcabc25b93
fix: Fix broken globalShortcuts.registerAll() on non-macOS platforms ( #20984 )
...
This was a regression in #16125 , which unintentionally put
`GlobalShortcutListener::RegisterAccelerator` into a
`#if defined(OS_MACOSX)` block.
Notes: Fix broken `globalShortcut.registerAll()` on Windows and Linux
2019-11-06 23:01:51 -08:00
trop[bot]
ab6d22c958
docs: fix win.setIcon ts type ( #20981 )
...
* docs: fix win.setIcon ts type
* test: update smoke tests
2019-11-06 16:25:26 -08:00
trop[bot]
806925ee79
fix: proper i18n of recentDocuments item ( #20956 )
2019-11-06 13:57:42 -08:00
Samuel Attard
a46b50fc7b
fix: correctly emplace optional values in the value converter ( #20985 )
...
* fix: correctly emplace optional values in the value converter
* chore: replace optional with nullopt when the conversion failed
2019-11-06 10:34:29 -08:00
trop[bot]
517a5915d7
chore: emit the document-start and document-end events in a sandboxed renderer ( #20992 )
2019-11-05 19:25:10 -08:00
trop[bot]
1de38af8cc
chore: upgrade ts generator for better type safety ( #20976 )
...
* chore: upgrade ts generator for better type safety
* spec: fix tests
2019-11-05 15:20:08 -08:00
trop[bot]
66a95db3df
docs: update installation instructions for proxies ( #20979 )
2019-11-05 13:45:14 -08:00
trop[bot]
7b779c6e6a
fix: cannot access nativeTheme via electron.remote ( #20953 )
2019-11-04 16:00:28 -08:00
trop[bot]
429dfd7054
fix: don't export __esModule = true by electron.ts ( #20952 )
2019-11-04 16:00:03 -08:00
Samuel Attard
03f7a85cfb
fix: capture the promise global to avoid userland mutation ( #20925 ) ( #20946 )
2019-11-04 15:58:28 -08:00
trop[bot]
2d2a753dd9
fix: don't copy tray image when it's set ( #20936 )
2019-11-04 14:17:18 -08:00
trop[bot]
028e3889f0
fix: use Unicode version of ShellExecute() in OpenExternalOnWorkerThread() ( #20906 )
2019-11-01 18:25:29 -07:00
trop[bot]
47eb123649
build: lengthen wait times and retries for CircleCI releases ( #20894 )
...
* build: lengthen wait times and retries for CircleCI releases
* Review suggestions
* build: allow CircleCI timeout and retry to be set via env variables (#20896 )
* build: allow circleci timeout and retry to be set via env variables
* check for more statuses and run indefinitely
(cherry picked from commit 4240017cb6 )
2019-11-01 14:17:24 -04:00
trop[bot]
45ab098079
build: enable sccache on windows ( #20898 )
...
* build: enable sccache on windows
* chore: temporarily disable the docs only check
* build: fix escaping in sccache path on windows
* Update appveyor.yml
* Update appveyor.yml
* Use sccache settings from CI
* Use Azure enabled sccache for Windows
2019-11-01 11:46:10 -04:00
Electron Bot
6cfc05ded2
Bump v8.0.0-beta.2
2019-10-31 14:37:20 -07:00
Samuel Attard
40e0e8e499
feat: enable builtin spellchecker ( #20897 )
...
* feat: enable builtin spellchecker (#20692 )
* chore: add code required to use chromes spellchecker
* chore: fix linting
* chore: manifests needs buildflags now
* chore: add dictionarySuggestions to the context menu event when the spellchecker is active
* chore: enable by default for windows builds
* chore: add patch to remove incognito usage in the spellchecker
* chore: add dependencies on spellcheck common and flags
* chore: conditionally include spell check panel impl
* chore: fix deps for spellcheck feature flags
* chore: add patch for electron resources
* chore: add dependency on //components/language/core/browser
* chore: patches to make hunspell work on windows
* build: collect hunspell dictionaries into a zip file and publish
* chore: clean up patches
* chore: add docs and set spell checker url method
* chore: fix error handling
* chore: fix hash logic
* build: update hunspell filename generator
* fix: default spellchecker list to the current system locale if we can
* docs: document the language getter
* chore: patch IDS_ resources for linux builds
* feat: add spellcheck webpref flag to disable the builtin spellchecker
* chore: fix docs typo
* chore: clean up spellchecker impl as per feedback
* remove unneeded deps
* chore: disable spellcheck by default in web prefs
2019-10-31 14:35:38 -07:00
trop[bot]
beff8b8b51
docs: clean up performance checklist formatting ( #20888 )
...
* docs: fix list formatting in performance checklist
* docs: remove unused link ref
2019-10-31 09:52:36 -07:00
trop[bot]
311723396a
fix: swapped labels on open/save gtkdialog ( #20883 )
2019-10-31 08:42:37 -07:00
trop[bot]
d39d75321a
build: do not try to run non existent VSTS release builds ( #20878 )
2019-10-31 10:53:44 -04:00
Birunthan Mohanathas
55201d7db6
fix: Disable compositor recycling only for attached views (8-x-y) ( #20847 )
...
Backport of #20829
Notes: Fix flicker when switching between `BrowserView`s
2019-10-30 16:52:33 -04:00
trop[bot]
ac46d5b16e
fix: devtools extensions not loading ( #20842 )
2019-10-30 09:16:32 -07:00
Milan Burda
a1fb069624
fix: pass frameId to v8Util.setRemoteCallbackFreer() ( #20732 ) ( #20813 )
2019-10-30 14:35:18 +09:00
trop[bot]
3aa33dd220
fix: do not DCHECK production-necessary methods ( #20836 )
2019-10-29 14:49:12 -07:00
trop[bot]
9b74d0d54a
fix: properly generate requestID in webContents.printToPDF() ( #20802 )
2019-10-29 15:39:41 +09:00
trop[bot]
018fc2ca46
fix: deprecation warnings in Electron code ( #20805 )
2019-10-29 15:38:25 +09:00
trop[bot]
e286b78df7
docs: the ipc main listener being removed can have args ( #20807 )
2019-10-29 15:34:44 +09:00
Shelley Vohr
f77bd19a70
fix: prevent menu gc during popup ( #20785 )
2019-10-29 13:21:08 +09:00
trop[bot]
cff63d32a0
chore: fix formatting of a few Python files ( #20778 )
2019-10-28 15:36:53 -04:00
trop[bot]
a8e7696674
ci: skip build on doc only changes ( #20717 )
...
* ci: skip build on doc only changes
* Try using exit codes on doc-only-change
* Fixup
* Fixup circleci doc-only check
* Update appveyor.yml
Co-Authored-By: Samuel Attard <sattard@slack-corp.com >
* Properly detect doc only change on Windows
* Flip exit code per review
* build: fix doc only change when there isn't a PR (#20749 )
* build: fix doc only change when there isn't a PR
Fixes issue where CI was mistakenly marking a PR as a doc only change because the CI was kicked off before the PR was created.
(cherry picked from commit 73da4b7215 )
2019-10-28 11:14:50 -04:00
trop[bot]
5fc689dc4e
docs: fix process.getSystemVersion() type ( #20767 )
2019-10-27 11:21:00 -07:00
Electron Bot
895bdc0ee0
Bump v8.0.0-beta.1
2019-10-24 12:05:38 -07:00
Electron Bot
c99f1d317e
Revert "Bump v8.0.0-beta.1"
...
This reverts commit 315e3e325d .
2019-10-23 16:07:43 -07:00
Electron Bot
315e3e325d
Bump v8.0.0-beta.1
2019-10-23 16:04:33 -07:00
Samuel Attard
8acce4279b
Revert "Bump v8.0.0-beta.1"
...
This reverts commit c8943cdc3c .
2019-10-23 16:03:04 -07:00
Electron Bot
c8943cdc3c
Bump v8.0.0-beta.1
2019-10-23 13:15:01 -07:00
trop[bot]
f74f009648
build: handle -x-y format for getCurrentBranch ( #20711 )
2019-10-23 13:03:50 -07:00
John Kleinschmidt
467409458e
build: add support for automated minor releases ( #20620 )
...
* build: add support for automated minor releases
* Add test for minor bump
2019-10-23 11:07:09 -07:00
Sofia Nguy
f5e5bcd943
[WIP] docs: update electron 8.0 dates ( #20621 )
2019-10-23 12:39:47 -04:00
Shelley Vohr
db4d01c517
refactor: move CompileAndCall to a helper ( #20675 )
2019-10-23 09:26:32 -07:00
Shelley Vohr
5abce7ec08
fix: call InitializeContextRuntime in InitializeContext ( #20684 )
2019-10-23 09:25:14 -07:00
Electron Bot
18907389da
Bump v8.0.0-nightly.20191023
2019-10-23 08:32:02 -07:00
Milan Burda
ba8f80267c
fix: send ELECTRON_BROWSER_CONTEXT_RELEASE asynchronously ( #20632 )
...
* fix: send ELECTRON_BROWSER_CONTEXT_RELEASE asynchronously
* test: remote references should be able to be cleared for all cases
2019-10-23 13:44:21 +09:00
Jeremy Apthorp
2abea22b4b
fix: explicitly cancel redirects when mode is 'error' ( #20686 )
2019-10-23 09:10:37 +09:00
Jeremy Apthorp
cde2aae6b5
fix: properly free remote objects ( #20671 )
2019-10-22 16:54:38 -07:00
Sofia Nguy
97fa8c824c
docs: update currently supported versions for 7.0.0 release ( #20622 )
...
* [WIP] docs: update currently supported versions for 7.0.0 release
* oops
2019-10-22 15:26:07 -07:00
Electron Bot
2658cae3ea
Bump v8.0.0-nightly.20191022
2019-10-22 08:31:48 -07:00
Shelley Vohr
e3b30a825c
chore: remove unnecessary crypto patch ( #20669 )
2019-10-22 09:14:21 +09:00
Shelley Vohr
aa26e8b946
fix: macOS getColor inconsistencies ( #20611 )
2019-10-21 14:31:03 -07:00
Shelley Vohr
9a5cd4c8d2
fix: use xib file to construct macOS Menu ( #20615 )
2019-10-21 14:11:09 -07:00
Electron Bot
138af75ff8
chore: bump node in DEPS to v12.13.0 ( #20657 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2019-10-21 13:45:14 -07:00
Felix Rieseberg
13cb21a684
docs: Performance checklist ( #20230 )
...
* docs: First draft of perf checklist
* docs: More words
* docs: Use standard in code example
* docs: fix broken link
* Update docs/tutorial/performance.md
Co-Authored-By: Charles Kerr <ckerr@github.com >
* Update docs/tutorial/performance.md
Co-Authored-By: Charles Kerr <ckerr@github.com >
* Update docs/tutorial/performance.md
Co-Authored-By: loc <andy@slack-corp.com >
* Update docs/tutorial/performance.md
Co-Authored-By: loc <andy@slack-corp.com >
* docs: Implement suggestions
* docs: Include VSCode talk
* chore: Pass linter
* Update docs/tutorial/performance.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/performance.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/performance.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/performance.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/performance.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/performance.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Apply suggestions from code review
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update performance.md
* fix: The process link
2019-10-21 13:39:54 -07:00
Arjit Chauhan
620ac9c2b4
docs: update README.md ( #20644 )
2019-10-21 12:14:42 -07:00
Electron Bot
417f9e27e1
Bump v8.0.0-nightly.20191021
2019-10-21 08:32:10 -07:00
Shelley Vohr
0abbb35c4e
chore: reduce crypto patch surface ( #20646 )
...
* reduce oaeplabel_option patch
* remove now-compatible patch
* note upstream
2019-10-21 08:02:23 -07:00
Kristof Kalocsai
7b28cd33cb
docs: Added Native User Interface -> Open path in file manager Fiddle example ( #20589 )
...
* docs: Added Native User Interface -> Open path in file manager Fiddle example from electron-api-demos
* removed classname from button
2019-10-21 16:16:11 +09:00
Yaser
4e88633d89
docs: Added Drag and drop files Fiddle example ( #20472 )
2019-10-21 16:14:35 +09:00
Cheng Zhao
eb0e55c514
chore: remove native_mate (Part 9) ( #20645 )
...
* refactor: remove a few uses of native_mate/gfx_converter.h
* refactor: deprecate mate::EventEmitter
* refactor: add gin_helper::EventEmitter
* refactor: convert a few classes to use gin_helper::EventEmitter
* refactor: get rid of native_mate_converters/gfx_converter.h
* fix: follow native_mate on reporting errors
* fix: gin is weak at guessing parameter types
* fix: incorrect full class name
* fix: gin::Handle does not accept null
2019-10-21 16:05:40 +09:00
Jeremy Apthorp
b155ebeeb3
fix: don't overwrite global constructor names in remote ( #20637 )
...
* fix: don't overwrite global constructor names in remote
* fake constructor names better, and improve error serialization
2019-10-21 15:48:03 +09:00
Electron Bot
820dab295f
Bump v8.0.0-nightly.20191020
2019-10-20 08:31:06 -07:00
Electron Bot
956127ee5e
Bump v8.0.0-nightly.20191019
2019-10-19 08:31:24 -07:00
Electron Bot
43fa9166c9
chore: bump node to v12.12.0 (master) ( #20584 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2019-10-18 16:52:15 -07:00
Jeremy Apthorp
9f23bb581e
test: fix BrowserWindow spec to await its result ( #20612 )
2019-10-18 16:23:33 -07:00
Samuel Attard
2b890827ef
docs: mark contextBridge as experimental ( #20638 )
...
* docs: mark contextBridge as experimental
This commit didn't make it to the original PR, quick addition here
* Update context-bridge.md
2019-10-18 13:46:03 -07:00
Electron Bot
3ac3fbdbfb
chore: bump chromium to e049d599a8332b9b2785b0178be74 (master) ( #20314 )
2019-10-18 12:57:34 -07:00
Samuel Attard
0090616f7b
feat: add a new contextBridge module ( #20307 )
...
* feat: add a new contextBridge module
* chore: fix docs linting
* feat: add support for function arguments being proxied
* chore: ensure that contextBridge can only be used when contextIsolation is enabled
* docs: getReverseBinding can be null
* docs: fix broken links in md file
* feat: add support for promises in function parameters
* fix: linting failure for explicit constructor
* Update atom_api_context_bridge.cc
* chore: update docs and API design as per feedback
* refactor: remove reverse bindings and handle GC'able functions across the bridge
* chore: only expose debugGC in testing builds
* fix: do not proxy promises as objects
* spec: add complete spec coverage for contextBridge
* spec: add tests for null/undefined and the anti-overwrite logic
* chore: fix linting
* spec: add complex nested back-and-forth function calling
* fix: expose contextBridge in sandboxed renderers
* refactor: improve security of default_app using the new contextBridge module
* s/bindAPIInMainWorld/exposeInMainWorld
* chore: sorry for this commit, its a big one, I fixed like everything and refactored a lot
* chore: remove PassedValueCache as it is unused now
Values transferred from context A to context B are now cachde in the RenderFramePersistenceStore
* chore: move to anonymous namespace
* refactor: remove PassValueToOtherContextWithCache
* chore: remove commented unused code blocks
* chore: remove .only
* chore: remote commented code
* refactor: extract RenderFramePersistenceStore
* spec: ensure it works with numbered keys
* fix: handle number keys correctly
* fix: sort out the linter
* spec: update default_app asar spec for removed file
* refactor: change signatures to return v8 objects directly rather than the mate dictionary handle
* refactor: use the v8 serializer to support cloneable buffers and other object types
* chore: fix linting
* fix: handle hash collisions with a linked list in the map
* fix: enforce a recursion limit on the context bridge
* chore: fix linting
* chore: remove TODO
* chore: adapt for PR feedback
* chore: remove .only
* chore: clean up docs and clean up the proxy map when objects are released
* chore: ensure we cache object values that are cloned through the V8 serializer
2019-10-18 12:57:09 -07:00
Shelley Vohr
8099e6137d
chore: remove some trop permissions ( #20636 )
2019-10-18 11:24:52 -07:00
Electron Bot
e74b21bff5
Bump v8.0.0-nightly.20191018
2019-10-18 08:31:50 -07:00
Alecyrus
825e67140e
feat: support fitToPageEnabled and scaleFactor ( #20436 )
...
* fix: support fitToPageEnabled and scaleFactor
Support fitToPageEnabled and scaleFactor in `WebContents.printToPDF()`
* fix: change default value of scaleFactor
2019-10-18 09:40:19 +09:00
Cheng Zhao
19223952a8
chore: remove native_mate (Part 8) ( #20598 )
...
* refactor: convert methods of AutoUpdater to gin
* refactor: converter in map_converter.h is no more needed
* refactor: use gin in crash_reporter
* refactor: remove native_mate_converters/map_converter.h
* refactor: implement gfx_converter with gin
* refactor: convert methods of NativeImage to gin
* refactor: add gin_helper::Arguments
* fix: use gin_helper::Arguments to parse multi-type parameters
2019-10-18 09:31:29 +09:00
Robo
58115c1cae
fix: add patch to node for native module size issue on windows ( #20614 )
2019-10-17 17:10:42 -04:00
Electron Bot
86258c6cff
Bump v8.0.0-nightly.20191017
2019-10-17 08:33:48 -07:00
Milan Burda
b29f0b9348
refactor: use Map for windowProxies in window-setup.ts ( #20600 )
2019-10-17 15:07:27 +02:00
Electron Bot
e06b0aa73b
Bump v8.0.0-nightly.20191016
2019-10-16 08:31:19 -07:00
Harendra Singh
db91673f23
docs: add example for taking screenshot ( #20531 )
2019-10-16 08:17:50 -07:00
Vlad Hashimoto
c73e34fb9e
docs: remove class names from fiddle examples ( #20596 )
...
* docs: remove original class names in customize menus example
* docs: remove original class names in shortcuts example
* lint: run standard
2019-10-16 08:17:09 -07:00
Jeremy Apthorp
221ce70699
test: remove remote usage from chromium spec ( #20568 )
...
* test: move & expand webview -> window.open() opener tests
* remove remaining usage of 'protocol' from chromium-spec.js
* remove final usages of remote from chromium-spec
* remove import of window-helpers
2019-10-16 11:12:31 -04:00
Jeremy Apthorp
9055b5cf6d
test: simplify node setInterval test ( #20594 )
2019-10-15 17:10:28 -07:00
Harendra Singh
93788e76e0
docs: add notification examples ( #20528 )
...
Refs #20442
Adds the basic notification and notification with custom image examples from electron-api-demos into runnable Fiddle examples.
Gist links to Fiddles (same as code submitted in this PR):
Basic Notification: https://gist.github.com/102945f83f559e7944797175d8fd8af4
Notification with image: https://gist.github.com/2688bf4bfc27ce02f5d74224828eb928
Co-Authored-By: Erick Zhao <erick@hotmail.ca >
2019-10-15 14:06:58 -07:00
Rik Theunis
16d4ace800
docs: add system get version info Fiddle example ( #20536 )
2019-10-15 11:17:04 -07:00
Milan Burda
5273930f76
refactor: use Map for callbacks in CallbacksRegistry ( #20565 )
2019-10-15 09:14:41 -07:00
Electron Bot
dceabf231b
Bump v8.0.0-nightly.20191015
2019-10-15 08:31:28 -07:00
Cheng Zhao
1ecfcc8c70
chore: remove native_mate (Part 7) ( #20561 )
...
* refactor: use gin converters in api::Protocol
* refactor: convert JS constructor impl to gin
* refactor: use InitWithArgs helper
* fix: gin_helper::Dictionary should behave the same with mate
* fix cpplint warnings
* refactor: no more need to patch gin/dictionary.h
2019-10-15 10:15:23 +09:00
Electron Bot
6c6bff81ac
chore: bump node to v12.10.0 (master) ( #20129 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2019-10-14 15:46:10 -07:00
Jeremy Apthorp
8dad0c7aaa
test: move crashReporter specs to the main process ( #20417 )
2019-10-14 14:38:54 -07:00
Milan Burda
eb100cdf9e
test: skip desktopCapturer / remote module tests when the features are disabled ( #20566 )
2019-10-14 13:49:21 -07:00
Alexey Kuzmin
b085dac15b
spec: allow "Yu Gothic" as a Japanese sans-serif font on Windows ( #20564 )
2019-10-14 14:30:18 -04:00
Erick Zhao
a7e26fdc61
docs: Update Issue Closure in CONTRIBUTING.md ( #20545 )
2019-10-14 09:40:01 -07:00
Jeremy Apthorp
d67f25ce43
test: expand window.opener test and move to main process ( #20549 )
2019-10-14 09:00:34 -07:00
Electron Bot
dfac05805d
Bump v8.0.0-nightly.20191014
2019-10-14 08:30:58 -07:00
Jeremy Apthorp
6025ae7b12
fix: generate breakpad symbols before stripping ( #20530 )
...
* fix: generate breakpad symbols before stripping
* store symbols as circleci artifacts
2019-10-14 10:58:05 -04:00
Kerollos Magdy
8efa45d12d
docs: fix minor grammar mistakes ( #20521 )
2019-10-14 14:35:52 +09:00
Jeremy Apthorp
1f44f47de1
test: move debugger spec to main process ( #20514 )
2019-10-14 14:32:11 +09:00
Robo
5c2c30142c
fix: append network switches to network service process ( #20546 )
2019-10-13 18:21:41 -07:00
Electron Bot
5bd7b6ad50
Bump v8.0.0-nightly.20191013
2019-10-13 08:31:09 -07:00
Electron Bot
2cf64d0200
Bump v8.0.0-nightly.20191012
2019-10-12 08:32:39 -07:00
Jeremy Apthorp
2aa7ab821c
test: remove some remote usage from chromium specs ( #20121 )
...
* test: remove remote usage from chromium specs
* disable tts test
* port navigator.mediaDevices tests
* fake camera and microphone
* Update spec-main/chromium-spec.ts
Co-Authored-By: John Kleinschmidt <jkleinsc@github.com >
2019-10-11 13:55:50 -07:00
Cheng Zhao
1b2c6a33b3
fix: do not manually parse content-type ( #20538 )
2019-10-11 14:54:50 -04:00
Jeremy Apthorp
67642312f4
test: remove remote usage from webFrame test ( #20512 )
2019-10-11 10:20:08 -07:00
Jeremy Apthorp
032353b14f
test: remove remote usage from asar spec ( #20513 )
2019-10-11 09:56:51 -07:00
Electron Bot
d21519ed2e
Bump v8.0.0-nightly.20191011
2019-10-11 08:31:51 -07:00
Jeremy Apthorp
50178d4836
test: remove more unused files ( #20529 )
2019-10-10 15:20:04 -07:00
Jeremy Apthorp
5d696c5c69
fix: return type of webview.printToPDF is now Uint8Array ( #20505 )
2019-10-10 11:25:11 -07:00
Jeremy Apthorp
01448e1235
chore: delete some unreferenced test files ( #20511 )
2019-10-10 11:24:06 -07:00
Shelley Vohr
812de5d3bf
fix: properly register custom url evt handling ( #20518 )
2019-10-10 08:54:03 -07:00
Electron Bot
ec2c1db0e4
Bump v8.0.0-nightly.20191010
2019-10-10 08:31:27 -07:00
Milan Burda
b92163d226
refactor: take advantage of structured clone algorithm in the remote module ( #20427 )
2019-10-10 09:59:08 -04:00
Erick Zhao
c2e77e4429
docs: add Asynchronous Messages Fiddle example ( #20441 )
...
* docs: add Asynchronous Messages Fiddle example
* Update docs/fiddles/communication/two-processes/asynchronous-messages/main.js
Co-Authored-By: John Kleinschmidt <jkleinsc@github.com >
* Update docs/fiddles/communication/two-processes/asynchronous-messages/index.html
Co-Authored-By: John Kleinschmidt <jkleinsc@github.com >
2019-10-10 09:49:07 -04:00
Rik Theunis
ec87917f58
docs: add clipboard Fiddle examples ( #20445 )
...
* docs: add clipboard paste Fiddle example
* docs: add clipboard copy Fiddle example
* docs: add appropriate title to Fiddles
Co-Authored-By: John Kleinschmidt <jkleinsc@github.com >
2019-10-10 09:48:33 -04:00
Yaser
d1c5c760d0
docs: add Menu Shortcuts Fiddle example ( #20466 )
2019-10-10 09:47:50 -04:00
Yaser
9b4ba7993c
docs: Adds Customize Menu section Fiddle example ( #20468 )
2019-10-10 09:47:34 -04:00
Jeremy Apthorp
1dc1ef6091
test: ensure cleanup of net requests in tests ( #20510 )
...
ref #19389
2019-10-10 14:14:41 +02:00
Jeremy Apthorp
8de925c4c2
test: move module tests to main process ( #20419 )
2019-10-09 16:33:15 -07:00
Jeremy Apthorp
df1d3156a0
docs: remove outdated document about updating chromium ( #20490 )
2019-10-09 16:07:15 -07:00
Jeremy Apthorp
c75c3ef616
docs: add a dev doc describing the patch system ( #20489 )
2019-10-09 14:48:09 -07:00
Milan Burda
bb2ab01f99
fix: when building with enable_plugins=false ( #20354 )
...
* fix: when building with enable_plugins=false
* build: exclude printing service to avoid patch
* build: update plugins patch from upstream
2019-10-09 19:59:37 +02:00
Jeremy Apthorp
2fad53e66b
refactor: use v8 serialization for ipc ( #20214 )
...
* refactor: use v8 serialization for ipc
* cloning process.env doesn't work
* serialize host objects by enumerating key/values
* new serialization can handle NaN, Infinity, and undefined correctly
* can't allocate v8 objects during GC
* backport microtasks fix
* fix compile
* fix node_stream_loader reentrancy
* update subframe spec to expect undefined instead of null
* write undefined instead of crashing when serializing host objects
* fix webview spec
* fix download spec
* buffers are transformed into uint8arrays
* can't serialize promises
* fix chrome.i18n.getMessage
* fix devtools tests
* fix zoom test
* fix debug build
* fix lint
* update ipcRenderer tests
* fix printToPDF test
* update patch
* remove accidentally re-added remote-side spec
* wip
* don't attempt to serialize host objects
* jump through different hoops to set options.webContents sometimes
* whoops
* fix lint
* clean up error-handling logic
* fix memory leak
* fix lint
* convert host objects using old base::Value serialization
* fix lint more
* fall back to base::Value-based serialization
* remove commented-out code
* add docs to breaking-changes.md
* Update breaking-changes.md
* update ipcRenderer and WebContents docs
* lint
* use named values for format tag
* save a memcpy for ~30% speedup
* get rid of calls to ShallowClone
* extra debugging for paranoia
* d'oh, use the correct named tags
* apparently msstl doesn't like this DCHECK
* funny story about that DCHECK
* disable remote-related functions when enable_remote_module = false
* nits
* use EnableIf to disable remote methods in mojom
* fix include
* review comments
2019-10-09 13:59:08 -04:00
Electron Bot
c250cd6e7c
Bump v8.0.0-nightly.20191009
2019-10-09 08:33:39 -07:00
Shelley Vohr
f80a17c5be
feat: allow Linux/Windows users to set notification timeout ( #20153 )
...
* feat: allow Linux users to set notification timeout
* implement on windows
2019-10-09 11:22:21 -04:00
Cheng Zhao
5e11be6898
fix: cookies.get should be able to filter domain ( #20471 )
...
* fix: use GetAllCookies when url is empty
* test: get cookie without url
2019-10-09 15:57:40 +09:00
Jeremy Apthorp
ebd55c1147
fix: fix crash in crashReporter.getUploadedReports ( #20428 )
2019-10-08 16:35:28 -07:00
Richard Townsend
2ce90f8806
docs: add WoA cross-compilation instructions ( #20244 )
...
* docs: add WoA cross-compilation instructions
* docs: fixing lint issues
* docs: minor corrections
* style: Ssubstitute -> Substitute
2019-10-08 14:54:03 -07:00
Felix Rieseberg
b3e7657159
docs: Update the sccache name ( #20462 )
2019-10-08 17:46:01 -04:00
John Kleinschmidt
23066f8cce
ci: verify CircleCI job number before returning job url ( #20483 )
2019-10-08 17:45:07 -04:00
Jaime Bernardo
de3c1fae7f
build: fix build with Visual Studio 2019 ( #20465 )
2019-10-08 12:49:38 -07:00
Electron Bot
94ec4ecabe
Bump v8.0.0-nightly.20191008
2019-10-08 08:32:37 -07:00
Shelley Vohr
c16a186de0
feat: improve TouchBarButton accessibility ( #20454 )
2019-10-08 11:13:57 -04:00
dependabot[bot]
8da9a3c416
build(deps): bump eslint-utils from 1.3.1 to 1.4.2 ( #20481 )
...
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils ) from 1.3.1 to 1.4.2.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases )
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.2 )
Signed-off-by: dependabot[bot] <support@github.com >
2019-10-08 11:06:52 -04:00
Shelley Vohr
8d9ba87e05
fix: properly free IsolateData in node_main ( #20446 )
2019-10-08 09:03:04 +02:00
Robo
c85648a8a1
fix: fs.watch() behavior change in node >= 10.16.0 ( #20408 )
...
This reverts the patch from https://github.com/electron/node/pull/100
which never got merged due to reasons outlined in https://github.com/libuv/libuv/pull/2313
* Adds new patches that backports https://github.com/libuv/libuv/pull/2459
and https://github.com/libuv/libuv/pull/2460
Based on https://github.com/nodejs/node/issues/29460
2019-10-07 13:04:15 -07:00
ryanomor
0c87471c12
Fix typo ( #20450 )
2019-10-07 12:26:38 -04:00
Electron Bot
f3cf2566c1
Bump v8.0.0-nightly.20191007
2019-10-07 08:32:42 -07:00
Shelley Vohr
9b534e9aab
fix: enable worker threads ( #20416 )
2019-10-07 11:30:10 +02:00
John Kleinschmidt
3f72f07a7f
test: remove unneeded console.log ( #20424 )
...
(cherry picked from commit 4945a9fce9 )
2019-10-06 22:00:38 +02:00
Electron Bot
e26fa9090d
Bump v8.0.0-nightly.20191006
2019-10-06 08:33:20 -07:00
Stian Jørgensrud
39d19d23d1
Add unsafe-inline ( #20414 )
...
Versions didn't show and I was getting errors in the Developer Tools: `Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'"`. The cause is probably that Chrome has implemented extra security since this tutorial was created. Added 'unsafe-inline' and it works.
2019-10-06 12:24:24 +02:00
Erick Zhao
0a09f27735
chore: empty folder structure ( #20439 )
2019-10-05 12:46:01 -05:00
Electron Bot
8dae38639a
Bump v8.0.0-nightly.20191005
2019-10-05 08:31:32 -07:00
Jeremy Apthorp
87bd0501c4
test: remove 'remote' usage from process tests ( #20418 )
2019-10-04 13:58:44 -07:00
Milan Burda
ccff140046
feat: add --enable-api-filtering-logging commandline switch ( #20335 )
2019-10-04 10:49:09 -07:00
Electron Bot
e1eb9519f5
Bump v8.0.0-nightly.20191004
2019-10-04 08:31:45 -07:00
John Kleinschmidt
ad34d7fc32
Revert "test: remove unneeded console.log"
...
This reverts commit 4945a9fce9 .
2019-10-04 11:17:58 -04:00
John Kleinschmidt
4945a9fce9
test: remove unneeded console.log
2019-10-04 11:05:49 -04:00
Andrew MacDonald
7f320eef0e
docs: Minor fixes to build instructions ( #20338 )
...
* Minor fixes to build instructions
* Direct folks to the unit testing page.
2019-10-04 10:11:51 -04:00
Shelley Vohr
513c8536c0
refactor: implement sublabel fns in MenuModel ( #20150 )
2019-10-04 08:58:54 +02:00
Shelley Vohr
82ff142f9c
chore: remove unused l10n_util includes ( #20412 )
2019-10-04 09:31:38 +09:00
Cheng Zhao
509587eb81
test: close window before destroying browserView ( #20411 )
2019-10-04 09:30:44 +09:00
Shelley Vohr
80af35e0cd
chore: enable native unittesting ( #20293 )
2019-10-03 22:21:30 +02:00
Shelley Vohr
f054d5862c
chore: remove upstreamed node_crypto CHECK patch ( #20406 )
2019-10-03 21:11:04 +02:00
Electron Bot
8a2ba597bb
Bump v8.0.0-nightly.20191003
2019-10-03 08:32:50 -07:00
Shelley Vohr
e543fe702c
fix: recentDocuments menu role on macOS ( #20398 )
2019-10-03 14:25:14 +09:00
Jeremy Apthorp
2470ef2e91
ci: enable crashReporter tests on mac ( #19582 )
2019-10-02 17:53:51 -07:00
Jeremy Apthorp
fe956f87ec
ci: save pdb files for testing builds ( #20407 )
2019-10-02 14:52:55 -07:00
Electron Bot
1c0a21a8bc
Bump v8.0.0-nightly.20191002
2019-10-02 08:32:04 -07:00
Milan Burda
2f03d393c3
feat: allow inspection of specific shared workers ( #20389 )
2019-10-02 14:38:27 +02:00
CezaryKulakowski
712d77dc8b
fix: remove unnecessary patch ( #20390 )
...
Patch which this pr removes adds new version of
BrowserCompositorMac::GetCompositor. There is this function in
BrowserCompositorMac with specifier const. Chromium's function
returns parent's compositor if parent is set. Electron's version
doesn't and - as a result - constrained dialogs won't be displayed
correctly if they don't have its own compositor.
2019-10-02 13:59:42 +02:00
Milan Burda
bf978e09e4
fix: allow paths to asar archives to contain the .asar extension in directories ( #20342 )
2019-10-02 13:33:07 +09:00
Cheng Zhao
4ac4b34ae9
chore: remove native_mate (Part 6) ( #20391 )
2019-10-02 09:30:55 +09:00
bughit
01ed55ff02
docs: WebContents console-message event is emitted for offscreen windows ( #20386 )
...
since c3d11a51cc
2019-10-01 14:32:59 -04:00
Cheng Zhao
ef690c035d
fix: correctly crash when there is no crashReporter ( #20388 )
...
* fix: correctly crash when there is no crashReporter
* test: correctly crash when there is crashReporter
2019-10-01 13:20:21 -04:00
Electron Bot
969b4d1dd3
Bump v8.0.0-nightly.20191001
2019-10-01 08:31:25 -07:00
Jeremy Apthorp
a9e695d05f
test: move more web contents specs ( #20099 )
2019-09-30 15:00:47 -07:00
Jeremy Apthorp
b7b0992768
refactor: convert some more remote stuff to typescript ( #20324 )
2019-09-30 15:00:22 -07:00
Birunthan Mohanathas
d3922f95e6
fix: Make the --disable-color-correct-rendering switch work again ( #20356 )
...
This broke in Electron 6 due to some Chromium changes.
Test Plan:
- Confirm that test case from
https://github.com/electron/electron/pull/15898#issuecomment-443191770
now works
Notes: Fix disabling color correct rendering with `--disable-color-correct-rendering`
2019-09-30 10:46:03 -07:00
Chris Hawkes
9457c796b1
Update application-architecture.md ( #20370 )
...
Updated the period to a comma. Appears to be a number typo.
2019-09-30 13:41:58 -04:00
Electron Bot
37e34395de
Bump v8.0.0-nightly.20190930
2019-09-30 08:32:02 -07:00
Electron Bot
4f815d8469
Bump v8.0.0-nightly.20190929
2019-09-29 08:31:20 -07:00
Electron Bot
e099edc2c2
Bump v8.0.0-nightly.20190928
2019-09-28 08:31:51 -07:00
Electron Bot
5e942cea8d
Bump v8.0.0-nightly.20190927
2019-09-27 08:33:09 -07:00
Milan Burda
ead8f2bbcd
fix: BrowserWindow.fromWebContents() can return null ( #19983 )
2019-09-27 13:07:55 +02:00
Electron Bot
efe6e7b04d
Bump v8.0.0-nightly.20190926
2019-09-26 08:33:14 -07:00
Jeremy Apthorp
cc0312567e
chore: update strip-binaries for moved swiftshader.so ( #20341 )
2019-09-26 10:48:53 -04:00
Jeremy Apthorp
593f1774e9
fix: backport Node nested microtask fix ( #20303 )
2019-09-25 17:38:50 -04:00
Electron Bot
0653e31767
Revert "Bump v8.0.0-nightly.20190925"
...
This reverts commit b18fb96ecf .
2019-09-25 08:37:31 -07:00
Electron Bot
b18fb96ecf
Bump v8.0.0-nightly.20190925
2019-09-25 08:32:11 -07:00
Daniel Zwelling
26d9ef9403
docs: update selenium docs ( #20336 )
2019-09-24 13:36:09 -07:00
Samuel Attard
c32bea5ae0
build: run publish jobs in the secure context and enable sccache ( #20326 )
2019-09-24 13:52:06 -04:00
Mike Pelley
7f0ec3091e
Replace workspaceRoot with workspaceFolder. ( #20306 )
...
workspaceRoot has been deprecated as per https://code.visualstudio.com/docs/editor/variables-reference#_why-isnt-workspaceroot-documented
2019-09-24 13:49:04 -04:00
Electron Bot
597a8b5ec7
Bump v8.0.0-nightly.20190924
2019-09-24 08:31:12 -07:00
Electron Bot
c25f0a1779
Bump v8.0.0-nightly.20190923
2019-09-23 08:31:45 -07:00
Electron Bot
bac15ef86f
Bump v8.0.0-nightly.20190922
2019-09-22 08:32:05 -07:00
Electron Bot
297b81fa1d
Bump v8.0.0-nightly.20190921
2019-09-21 08:31:38 -07:00
Electron Bot
913ec1e0d0
chore: bump chromium to 0239d631f03d0111f77b0b98c7765 (master) ( #20285 )
2019-09-21 10:51:28 -04:00
Milan Burda
d090b0cd2d
perf: only access remote module when <webview>.getWebContents() is called ( #20272 )
2019-09-20 08:54:16 -07:00
Electron Bot
1e0b87732f
Bump v8.0.0-nightly.20190920
2019-09-20 08:32:01 -07:00
Jeremy Apthorp
9abdfc11a9
test: remove usage of remote module from node tests ( #20103 )
...
* test: remove usage of remote module from node tests
* isTTY is undefined in the renderer process on all platforms
* Update spec/node-spec.js
* Update node-spec.js
2019-09-20 10:41:40 -04:00
Shelley Vohr
ae6f08d56e
fix: correct 'Entire screen' to ' Entire Screen' ( #20276 )
2019-09-20 10:16:47 -04:00
Felix Rieseberg
26014d19e1
docs: Add Notification API to docs ( #20290 )
2019-09-19 23:30:01 -07:00
Jeremy Apthorp
e83c299454
test: move ipcRenderer spec to main runner ( #20093 )
2019-09-19 16:35:05 -04:00
Milan Burda
b136819371
refactor: move GetCursorBlinkInterval() to a helper function ( #20060 )
2019-09-19 11:43:21 -07:00
John Kleinschmidt
c46a386970
ci: Fix build failures on linux nightly release tests ( #20287 )
2019-09-19 12:37:54 -04:00
John Kleinschmidt
6f2fe7560a
ci: actually kill leftover processes on WOA testing ( #20286 )
2019-09-19 11:35:31 -04:00
Electron Bot
e459114149
Bump v8.0.0-nightly.20190919
2019-09-19 08:31:13 -07:00
Cheng Zhao
624ba4f642
chore: remove native_mate (Part 5) ( #20264 )
...
* deprecate native_mate/native_mate/object_template_builder.h
* add gin_helper/object_template_builder.h
* add patch to avoid ambiguous error
* remove usage of object_template_builder_deprecated.h in a few files
* add note we should remove gin_helper/object_template_builder.h in future
2019-09-19 08:09:15 -07:00
Charles Kerr
63f08fcdb0
fix: use coordinate offsets in ShowAutofillPopup ( #20232 )
...
* fix: use coordinate offsets in ShowAutofillPopup
* fix: silence coord int->float narrowing conversion
Minor fix to silence clang-tidy warning about implicit range narrowing.
Not a huge deal but the revision is also easier to read.
clang-tidy: bugprone-narrowing-conversions
2019-09-19 08:05:57 -07:00
Gellert Hegyi
3f5833ce5d
fixes widget host fetching from render view host ( #20239 )
2019-09-19 05:47:12 -04:00
Shelley Vohr
ffe2182883
feat: set urgency on linux notifications ( #20152 )
2019-09-18 22:35:20 -07:00
Shelley Vohr
e510af77b2
docs: improve and add examples for clipboard ( #20224 )
...
* docs: improve and add examples for clipboard
* address feedback from jkleinsc review
2019-09-18 16:00:43 -07:00
John Kleinschmidt
afc59aefb7
ci: only kill WOA processes if they are running ( #20274 )
2019-09-18 16:44:48 -04:00
Shelley Vohr
b0fe3e20e6
fix: reset capturers at the very end ( #20270 )
2019-09-18 16:20:41 -04:00
Electron Bot
eb2d2264d0
chore: bump chromium to 63be48daea281d4f8c834c2e707a7 (master) ( #19923 )
2019-09-18 15:58:00 -04:00
John Kleinschmidt
104088b86b
ci: Fix triggering CircleCI release builds ( #20275 )
...
* ci: fix circleCI handling of booleans
* Explicitly specify 2.1
2019-09-18 15:53:54 -04:00
Milan Burda
11cd0db86b
build: add enable_remote_module build flag ( #19821 )
2019-09-18 09:52:06 -07:00
Electron Bot
8bf74164e2
Bump v8.0.0-nightly.20190918
2019-09-18 08:31:27 -07:00
John Kleinschmidt
eaa18041e1
ci: use CircleCI 2.1 config and v2 APIs ( #20245 )
...
* ci: use circleci 2.1
* Check for pipeline status and add comments
2019-09-17 14:48:02 -04:00
loc
d2a94e6b13
fix: free screen and window capturers immediately after we're finished with them ( #20156 )
...
fix #17937 , #19908
2019-09-17 09:48:31 -07:00
John Kleinschmidt
42999f42f2
build: add WOA node headers to checksum file ( #20255 )
2019-09-17 12:38:36 -04:00
Electron Bot
dfd2135647
Bump v8.0.0-nightly.20190917
2019-09-17 08:32:25 -07:00
Tony Stark
7c45c2fdef
fix: strip chrome-sandbox typo ( #20227 )
2019-09-17 10:51:25 -04:00
Erick Zhao
2cac40444b
docs: clarify VS installation instructions for Windows builds ( #20236 )
...
* docs: note required step for VS in Windows build
* docs: add instructions for custom VS location
* lint?
* link chromium docs
2019-09-17 10:23:56 -04:00
Samuel Attard
f566e562a3
build: remove .only
2019-09-16 16:08:41 -07:00
Samuel Attard
0e61709fa7
fix: emit updated on NativeTheme on the UI thread to avoid DCHECK ( #20137 )
...
* fix: emit updated on NativeTheme on the UI thread to avoid DCHECK
* Update atom_api_native_theme.cc
* spec: wait a few ticks for async events to emit so that test events do not leak into each other
2019-09-16 16:08:01 -07:00
Charles Kerr
2b316f3843
refactor: run clang-tidy ( #20231 )
...
* refactor: clang-tidy modernize-use-nullptr
* refactor: clang-tidy modernize-use-equals-default
* refactor: clang-tidy modernize-make-unique
* refactor: omit nullptr arg from unique_ptr.reset()
As per comment by @miniak
2019-09-16 18:12:00 -04:00
Samuel Attard
660e566201
fix: don't expose nativeTheme in the renderer process ( #20139 )
...
Exposing these in the renderer didn't make sense as they weren't backed
by the same instance / value store. This API should be browser only
especially now that we have nativeTheme.themeSource. Exposing in
//common was a mistake from the beginning.
2019-09-16 14:23:13 -07:00
Samuel Attard
999f7df158
build: speed up linux CI even more ( #20241 )
...
* build: yolo a theoretical speed improvement
* chore: persist src/electron and friends for testing purposes
* build: do not generate dist.zip on debug builds
* chore: ensure licenses and version file exist for zip-symbols script
2019-09-16 09:31:08 -07:00
Electron Bot
816bc5c8a7
Bump v8.0.0-nightly.20190915
2019-09-15 08:31:55 -07:00
Electron Bot
99f1b96c4f
Bump v8.0.0-nightly.20190914
2019-09-14 08:31:07 -07:00
Felix Rieseberg
334ea36f38
docs: Add recent Electron version to security checklist ( #20206 )
...
* docs: Add recent Electron version to security checklist
* Update docs/tutorial/security.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/tutorial/security.md
Co-Authored-By: Pedro Pontes <pepontes@microsoft.com >
* Update docs/tutorial/security.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
2019-09-13 21:12:14 -04:00
Electron Bot
c485c1e4b0
Bump v8.0.0-nightly.20190913
2019-09-13 08:31:01 -07:00
Charles Kerr
b2652beceb
refactor: apply some 'clang-tidy -fix' changes ( #20172 )
...
* refactor: fix clang-tidy vector operation warnings
Fix vector population performance-inefficient-vector-operation warnings
generated by clang-tidy
* refactor: fix clang-tidy emplace_back warnings
In cases where a temporary is created to be passed
to push_back(), replace it with emplace_back().
Warning: modernize-use-emplace
* refactor: fix clang-tidy loop iteration warnings
When practical, use range-based for loops instead of C-style for loops.
clang-tiny check: modernize-loop-convert
* refactor: fix clang-tidy string initialize warning
Remove redundant empty string initialization.
clang-tidy check: readability-redundant-string-init
2019-09-13 10:26:59 -04:00
Shelley Vohr
3ec17a88ba
fix: crash when exiting simple fullscreen on macOS ( #20144 )
2019-09-12 13:38:16 -04:00
Electron Bot
5dee8a5717
Bump v8.0.0-nightly.20190912
2019-09-12 08:32:04 -07:00
Electron Bot
ace0284eef
Bump v8.0.0-nightly.20190911
2019-09-11 08:31:12 -07:00
John Kleinschmidt
5ccc043d86
build: handle arm64 node headers ( #20192 )
...
* build: handle arm64 node headers
(cherry picked from commit ff1f224d96 )
* node.lib for arm64 needs to go to specific dir
2019-09-10 14:14:58 -07:00
John Kleinschmidt
fd31a99ef0
Revert "build: handle arm64 node headers"
...
This reverts commit ff1f224d96 .
2019-09-10 15:18:55 -04:00
John Kleinschmidt
ff1f224d96
build: handle arm64 node headers
2019-09-10 15:15:20 -04:00
Electron Bot
0b26d7a0e2
Bump v8.0.0-nightly.20190910
2019-09-10 08:31:47 -07:00
Electron Bot
5f59c6ddfe
Bump v8.0.0-nightly.20190909
2019-09-09 08:32:20 -07:00
Shelley Vohr
a9f2a52ce0
build: specific line with trailing whitespace ( #20155 )
2019-09-09 06:15:24 -07:00
Electron Bot
d84e2e3972
Bump v8.0.0-nightly.20190908
2019-09-08 08:31:31 -07:00
Cheng Zhao
49bd74ff0e
chore: remove native_mate (Part 4) ( #20146 )
...
* avoid patching gin::Dictionary by using our wrapper
* remove SetHidden from mate::Dictionary
2019-09-09 00:10:18 +09:00
Samuel Attard
d395799917
build: get all the release assets when looking for one to delete ( #20157 )
...
* build: get all the release assets when looking for one to delete
yeah we totally have more than 30....
* Update upload-to-github.js
2019-09-07 14:48:35 -07:00
Electron Bot
6e9a23a884
Bump v8.0.0-nightly.20190907
2019-09-07 08:33:10 -07:00
Electron Bot
0979fb7eee
Bump v8.0.0-nightly.20190906
2019-09-06 13:07:01 -07:00
Samuel Attard
9ab06af786
Revert "Bump v8.0.0-nightly.20190906"
...
This reverts commit 432ae81823 .
2019-09-06 13:05:43 -07:00
Shelley Vohr
6087f89aac
refactor: use base::StringPiece over std::string ( #20119 )
2019-09-06 09:05:12 -07:00
Electron Bot
432ae81823
Bump v8.0.0-nightly.20190906
2019-09-06 08:31:28 -07:00
Cheng Zhao
2c23e44ed9
chore: remove native_mate (Part 3) ( #20131 )
...
* use gin converter in atom_api_menu
* please only put necessary includes in header
Having include in header means they have dependency relationship,
putting arbitrary includes really really really really really makes
refacoring much harder.
* remove some simple uses of callback_converter_deprecated.h
* use gin callback converter in file_dialog code
* use gin in ErrorThrower
* use gin in atom_bundle_mover
* fix mistake in node stream
* deprecate native_mate version of event_emitter_caller
* use gin in node_bindings
* remove usages of native_mate event_emitter_caller.h except for EventEmitter
* fix compilation on Windows
* gin::Arguments behaves differently on GetNext
* just use StringToV8
2019-09-06 14:52:54 +09:00
John Kleinschmidt
7be1905023
fix: resolve crash loading file based serviceworkers ( #20132 )
2019-09-06 10:01:22 +09:00
Shelley Vohr
20e3c519dd
fix: ensure popup and closepopup are posted in order ( #20114 )
2019-09-05 16:37:09 -04:00
Charles Kerr
8a0a41b9ef
docs: fix BrowserWindow options.hasShadow platform ( #20038 )
...
The docs claimed this is only available on macOS; however, Linux and Win
got this feature in 239bfe970c
2019-09-05 16:04:07 -04:00
Steven Barbaro
93da8e2b3d
fix: Debug builds on Windows. ( #20117 )
2019-09-05 12:38:56 -07:00
John Kleinschmidt
196fceabdb
build: don't wait until job requests return in case some jobs fail to return ( #20133 )
2019-09-05 13:57:47 -04:00
Samuel Attard
0d16be9560
feat: add nativeTheme.themeSource to allow apps to override Chromiums theme choice ( #19960 )
...
* feat: add nativeTheme.shouldUseDarkColorsOverride to allow apps to override Chromiums theme choice
* spec: add tests for shouldUseDarkColorsOverride
* chore: add missing forward declarations
* refactor: rename overrideShouldUseDarkColors to themeSource
* chore: only run appLevelAppearance specs on Mojave and up
* chore: update patch with more info and no define
* Update spec-main/api-native-theme-spec.ts
Co-Authored-By: Jeremy Apthorp <jeremya@chromium.org >
* Update api-native-theme-spec.ts
* Update api-native-theme-spec.ts
* Update api-native-theme-spec.ts
2019-09-05 10:57:04 -07:00
Samuel Attard
137622931b
fix: ensure document.visibilityState aligns with the visibility of the TopLevelWindow ( #19988 )
...
* fix: ensure document.visibilityState aligns with the visibility of the
TopLevelWindow
* chore: disable the specs on linux on CI
2019-09-05 10:56:06 -07:00
Electron Bot
cd096289e9
Bump v8.0.0-nightly.20190905
2019-09-05 08:37:04 -07:00
Jeremy Apthorp
88e32ef231
test: move robotjs-based devtools paste test to main runner ( #20095 )
2019-09-04 14:44:13 -07:00
Cem Schemel
bff16e027a
docs: Improve wording of setBrowserView and getBrowserView ( #20065 )
...
* Improve wording of setBrowserView and getBrowserView
* Update wording based on feedback
2019-09-04 14:19:49 -07:00
Jeremy Apthorp
a453f2ae6c
test: fix test for desktopCapturer preventDefault ( #20100 )
2019-09-04 13:54:40 -07:00
Samuel Attard
8b523cf88a
fix: ensure modeL_ exists before calling delegate methods ( #20111 )
...
This is a speculative fix for a crash we are seeing in `menuDidClose`. We
can't repro the crash but the traces have it happening in this method
and just by reading through the impl the only part that jumps out as
Might Crash is this `model_` call. Other methods in the menu controller
check `model_` before using it so it probably makes sense to do that here
as well.
2019-09-04 13:42:23 -07:00
John Kleinschmidt
65ebb6e547
build: add WOA release to list of releases ( #20094 )
...
* build: add WOA release to list of releases
* Add job count info for sudowoodo
* Add verification of all assets
* Fix linting and add logic to wait before printing out results
2019-09-04 14:24:46 -04:00
Jeremy Apthorp
c29e4b096d
test: tsify deprecate spec ( #20089 )
2019-09-04 11:13:37 -07:00
Jeremy Apthorp
8cdfd30ba5
test: remove usage of remote in shell.openExternal test ( #20101 )
2019-09-04 11:12:31 -07:00
Cheng Zhao
81ae154714
chore: remove native_mate (Part 2) ( #20106 )
...
* add notice to files being removed
* add gin version of function_template.h
* rename callback.h to avoid confliction
* add gin version of callback_converter
* add gin converter for OnceCallback
* remove callback_converter_gin_adapter.h
* remove gin_util.h and gin_utils.h
* fix lint warning
* add helper for setting methods
2019-09-04 08:45:25 -07:00
Electron Bot
504cdb13f0
Bump v8.0.0-nightly.20190904
2019-09-04 08:32:24 -07:00
Cheng Zhao
b601f3a031
chore: remove native_mate (Part 1) ( #20085 )
...
* move Destroyable utilities out of native_mate
* do not set "destroy" in ObjectTemplateBuilder
* remove ObjectTemplateBuilder::MakeDestroyable
* do not pollute gin namespace
* add more comments
* remove hack of Arguments
2019-09-04 11:14:16 +09:00
Cheng Zhao
96b42bddb8
fix: implement ses.getBlobData() for NetworkService ( #20041 )
...
* pass data pipe to JS
* implement reading buffer
* re-enable ses.getBlobData test
* remove AtomBlobReader
2019-09-04 07:54:14 +09:00
Samuel Attard
cc9436f288
chore: add SetGTKDarkThemeEnabled(enabled) internal helper to allow dynamic theme selection on linux ( #19964 )
...
This is just a after-creation setter for the `darkTheme` constructor option. This is delibrately
a method and not a property as there is no getter.
2019-09-03 12:59:48 -07:00
John Kleinschmidt
bedc5f7da9
ci: run tests on WOA hardware ( #20031 )
...
* ci: run tests on WOA hardware
* Temporarily disable test until #20008 is resolved
* deterministically run tests in sorted order
2019-09-03 13:13:06 -04:00
Jeremy Apthorp
96c3fec855
test: remove usage of 'remote' module from webview spec ( #20048 )
2019-09-03 10:10:58 -07:00
Jeremy Apthorp
cad73732c0
test: move chrome extensions spec to main runner ( #20030 )
2019-09-03 10:10:33 -07:00
Electron Bot
39475f9404
Bump v8.0.0-nightly.20190903
2019-09-03 08:32:24 -07:00
Jeremy Apthorp
8589ab27a4
fix: strip chrome_sandbox executable ( #20049 )
2019-09-03 16:17:18 +09:00
Jeremy Apthorp
f537366387
test: move security warnings spec to main runner ( #20055 )
2019-09-03 16:02:22 +09:00
Jeremy Apthorp
d7161742d2
test: move content-script tests to main runner ( #20056 )
2019-09-03 16:01:42 +09:00
Jeremy Apthorp
6e88b6b445
test: move desktopCapturer spec to main runner ( #20057 )
2019-09-03 15:59:54 +09:00
Electron Bot
614079654c
Bump v8.0.0-nightly.20190902
2019-09-02 08:34:32 -07:00
Electron Bot
51015c5b48
Bump v8.0.0-nightly.20190901
2019-09-01 08:31:00 -07:00
Samuel Attard
c621a36320
fix: ensure that the "top" coordinate of the inner frame is correct ( #20051 )
...
On multi-monitor setups where the monitors are not all origined at 0 on
the Y coordinate (E.g. vertical stacked monitors) the maximize
calculation was incorrect as it assumed top was "0". This instead
adjusts the math to calculate the correct top value.
2019-08-30 15:45:59 -07:00
ipoint-pgerhard
e37ad09330
docs: Update boilerplates-and-clis.md ( #19975 )
...
Updated boilerplates-and-clis.md in order to more accuratly represent the current availability of templates in electron forge
2019-08-30 15:40:37 -05:00
Shelley Vohr
bfe256891c
build: add gn-check to precommit linting ( #19850 )
2019-08-30 10:37:02 -07:00
Dave Jeffery
0f5ff1f5bb
docs: clarify app.setName() effects ( #19893 )
...
* Document that `app.setName()` has no effect in Mac environments
* docs: add note to clarify `app.setName()` functionality
* Update app.md
2019-08-30 10:30:38 -07:00
Electron Bot
e96a042223
Bump v8.0.0-nightly.20190830
2019-08-30 08:32:04 -07:00
Shelley Vohr
5cbbd489d5
fix: honor cursor blink rate ( #20020 )
...
* fix: honor cursor blink rate on macOS
* fix: honor cursor blink rate on Linux
* fix: honor cursor blink rate on Windows
* refactor: clean up os_win cursor blink logic
* remove unneeded include
2019-08-30 09:39:46 -05:00
Jeremy Apthorp
805a55099b
test: tsify more web contents specs ( #19969 )
...
* test: tsify more WebContents specs
* getFocusedWebContents
* setDevToolsWebContents, isFocused, isCurrentlyAudible
* getWebPreferences, openDevTools
* before-input-event
* zoom-changed
* sendInputEvent
* insertCSS
* startDrag
* focus, getOSProcessId
* zoom api
* more closeAllWindows
* fix detached dev tools test
* fix zoom-changed test
* compare the correct kind of id 🤦♂️
* 'fix' openDevTools test to wait for multiple focus events
* fix tests? 🤞
* use request instead of blur to detect openExternal success
* try not timing out the keychain for testing
* use blur event on mac, sigh
* oh, right, still gotta open an actual url
2019-08-29 19:45:41 -05:00
Samuel Attard
654338693f
fix: Revert "fix: make sure that menu bar gets focus even when you click an item to focus it first ( #19710 )" ( #20019 )
...
This reverts commit 27b2747b61 .
2019-08-29 15:06:39 -07:00
Shelley Vohr
a9e3dabc8a
build: accidentally inverted a bool ( #20029 )
2019-08-29 11:11:10 -07:00
Jeremy Apthorp
609403fba6
test: tsify affinity spec ( #19961 )
2019-08-29 09:59:27 -07:00
Electron Bot
6b55584923
Bump v8.0.0-nightly.20190829
2019-08-29 08:31:27 -07:00
Shelley Vohr
81e6f317c9
chore: improve smoke test for tray ( #19991 )
2019-08-29 08:07:02 -07:00
Shelley Vohr
7d4e0ad7b0
build: simplify unicode console output ( #20017 )
2019-08-29 10:46:54 -04:00
Tomáš Hübelbauer
35ebbb5f6e
docs: add a CSP meta tag to make the tutorial compliant with the security checklist ( #19819 )
...
I've asked #19775 because I was frustrated with how hard it was to find a way to fix (instead of hide) the CSP warning in Electron and I complained that even the official quick start guide wasn't compliant with the security checklist at https://electronjs.org/docs/tutorial/security . Someone helped me out with a CSP meta tag which I have later noticed is indeed mentioned in the checklist, too: https://electronjs.org/docs/tutorial/security#csp-meta-tag . I have not used the checklist one verbatim because it prevents a `script` tag from working when serving `index.html` through the `file:` protocol as the quick start does. I instead used the one the person in my issue recommended which seems to work well to me. I am not that well versed in CSP so there might be a better policy to include with the quick start, but this is what I've got for now.
2019-08-29 17:06:51 +09:00
Jeremy Apthorp
c819fbe852
test: move WebContentsView spec ( #19990 )
2019-08-29 16:17:44 +09:00
Alexey Kuzmin
c03288f458
chore: add missing includes ( #20003 )
2019-08-29 15:57:11 +09:00
Jeremy Apthorp
90d62e5b98
fix: nws13n: make ses.setUserAgent work ( #20014 )
...
* refactor tests to better control window creation
* fix: nws13n: make ses.setUserAgent work
2019-08-29 15:50:14 +09:00
Cheng Zhao
b3947d6a83
chore: cache URLLoaderFactory per-session ( #19998 )
...
* cache the URLLoaderFactory in AtomBrowserContext
* use cached loader factory in AtomURLLoaderFactory
2019-08-29 15:07:46 +09:00
Milan Burda
eed72c35d7
feat: add session.downloadURL() ( #19889 )
2019-08-28 20:27:20 -07:00
Jeremy Apthorp
79e936aea8
test: fix clearAuthCache test ( #20015 )
2019-08-28 17:43:12 -07:00
Milan Burda
01fdb80f7c
refactor: implement isRemoteModuleEnabled via getLastWebPreferences() ( #19220 )
2019-08-28 15:57:03 -07:00
Shelley Vohr
04debd5890
build: add test runner parameter checks ( #19994 )
2019-08-28 15:19:52 -07:00
Jeremy Apthorp
af138dab55
test: move webRequest spec to main runner ( #19992 )
2019-08-28 13:56:15 -07:00
Jeremy Apthorp
f212ed85dd
test: tsify sub-frames spec ( #19965 )
2019-08-28 13:55:01 -07:00
Jeremy Apthorp
99de0975c3
test: tsify powerMonitor spec ( #19963 )
2019-08-28 13:54:50 -07:00
Jeremy Apthorp
41d8247ffc
test: tsify internal-spec ( #19962 )
2019-08-28 13:54:42 -07:00
Charles Kerr
217ed9aabc
fix: gtk_init() called 2x in AtomBrowserMainParts ( #19986 )
...
Fixes #19984 .
2019-08-28 12:36:03 -05:00
Shelley Vohr
538c4763cf
chore: remove unused config files ( #19997 )
2019-08-28 09:18:49 -07:00
Electron Bot
3bc5302d78
Bump v8.0.0-nightly.20190828
2019-08-28 08:31:11 -07:00
Charles Kerr
987300c97a
refactor: omit redundant map searches ( #19929 )
...
* refactor: don't walk maps twice to remove elements
* refactor: don't walk maps twice to read elements
* refactor: don't walk maps twice to insert elements
* refactor: don't walk map 3x on UvTaskRunner timeout
* refactor: more don't-walk-maps-twice cleanup
* fixup! refactor: don't walk maps twice to insert elements
* refactor: don't walk containers twice when erasing
* refactor: omit excess lookups in RemoteObjectFreer
2019-08-28 09:39:21 -05:00
Heilig Benedek
27ce6a9cd3
fix: handle WM_GETMINMAXINFO instead of letting chromium do it ( #19928 )
...
* fix: remove WM_GETMINMAXINFO workaround since it's no longer needed
* fix: handle WM_GETMINMAXINFO ourselves
* fix: remove part of the chromium WM_GETMINMAXINFO handler
2019-08-28 09:34:34 +09:00
Jeremy Apthorp
832c926712
fix: allow unsandboxed renderers to request new privileges ( #19953 )
...
* fix: allow unsandboxed renderers to request new privileges
* add test
2019-08-27 18:35:46 -04:00
Marat Abdullin
ae9424d93a
feat: add "accessibleTitle" property to a BrowserWindow instance ( #19698 )
...
Sometimes it's necessary to convey more information about the window to screen reader users only (simply putting everything to the window title might be unnecessarily noisy).
For example, Chromium uses that technique to tell screen reader users that the window is in incognito mode (the incognito window looks differently and doesn't have «incognito» in the title, but for blind users the screen reader will announce that it's incognito).
2019-08-28 00:35:34 +02:00
Jeremy Apthorp
1dcda7b809
chore: DCHECK for correct thread in EventEmitter::EmitWithSender ( #19959 )
2019-08-27 15:15:52 -07:00
Jeremy Apthorp
bdc84d0bfb
test: tsify session spec ( #19604 )
2019-08-27 14:55:19 -07:00
Jeremy Apthorp
4b8e1588b4
fix: remove unused header from extensions-only file ( #19947 )
2019-08-27 10:59:22 -07:00
Cheng Zhao
4eee71ffbf
feat: migrate webRequest module to NetworkService (Part 9) ( #19976 )
...
* no need to get WebContents for URLLoaderFactory
* consult embedder for network_factory created in net module
* set disable_web_security to false
* re-enable webRequest tests in net module
2019-08-27 09:12:33 -07:00
Electron Bot
bdb20d53cb
Bump v8.0.0-nightly.20190827
2019-08-27 08:31:13 -07:00
Charles Kerr
7e61cd0dfb
fix: i18n of gtk msgbox buttons ( #19904 )
...
* fix: i18n of gtk msgbox buttons
similar to #19756 (12df0e8 ) but for messageboxes
* refactor: DRY the gtk+ button mnemonics
* fix: don't compile gtk_util on non-Linux platforms
rename from `gtk_util.[cc,h]` to `util_gtk.[cc,h]` so that it gets
picked up by the `extra_source_filters` rule in `BUILD.gn`.
* fix: make linter happy
It really shows that I cannot build locally atm... :P
2019-08-27 09:57:12 -05:00
Electron Bot
2542c51c48
chore: bump node in DEPS to v12.9.1 ( #19980 )
2019-08-27 07:51:28 -07:00
Jeremy Apthorp
92c3a4e4c2
test: tsify spec for experimental views api ( #19966 )
2019-08-27 16:37:30 +09:00
Samuel Attard
4e809f0048
fix: ensure that reloads retain modified window background colors ( #19967 )
2019-08-26 23:14:23 -07:00
Heilig Benedek
d04072d1eb
fix: don't call SetBounds on restore ( #19886 )
2019-08-26 14:04:20 -07:00
Kuts Alexey
cddbddc543
feat: HTTP preconnect feature minimal for electronjs ( #18671 )
2019-08-26 09:47:32 -07:00
Electron Bot
c57db7f163
Bump v8.0.0-nightly.20190826
2019-08-26 08:32:02 -07:00
Milan Burda
94c6b256de
refactor: simplify ShowSaveDialog, make consistent with ShowOpenDialog ( #19924 )
2019-08-26 13:12:09 +02:00
Heilig Benedek
f6c523db13
fix: adjust window size in NCCALCSIZE instead of adding insets ( #19883 )
2019-08-26 10:03:57 +09:00
Charles Kerr
080fdb3817
fix: command-line scheme switch values' spillover ( #19912 )
...
* fix: command-line scheme switch values' spillover
The value of one of the scheme command-line switches
shouldn't spill over into other switches.
Fixes #19911
* chore: make linter happy
2019-08-26 09:40:44 +09:00
Milan Burda
181f663cf1
refactor: use C++11 member initializers in native_mate ( #19925 )
2019-08-26 09:16:28 +09:00
Electron Bot
1eda92859f
Bump v8.0.0-nightly.20190825
2019-08-25 08:31:03 -07:00
Electron Bot
f54bc1cb2e
Bump v8.0.0-nightly.20190824
2019-08-24 08:31:28 -07:00
Electron Bot
b7d25ccb77
chore: bump chromium to 62327c655093c821aa0fcfc6db53f5fd943e08c7 (master) ( #19792 )
...
* chore: bump chromium in DEPS to f3bf493731e868e1f5f48e7e1adc02ea5eccfbbd
* chore: bump chromium in DEPS to 4db0c87d4aa6f27ffa0b5fc77d20e10047962484
* chore: bump chromium in DEPS to d933a504c264dc8fe85267f47aef3588531875b5
* chore: bump chromium in DEPS to 34afdb68980f581ae911b85b727bc17e126cf5f9
* update disable-redraw-lock.patch
https://chromium-review.googlesource.com/c/chromium/src/+/1600387
* update desktop_media_list.patch
https://chromium-review.googlesource.com/c/chromium/src/+/1729156
* update notification_provenance.patch
https://chromium-review.googlesource.com/c/chromium/src/+/1742779
* update printing.patch
https://chromium-review.googlesource.com/c/chromium/src/+/1646772
* update verbose_generate_bpad_syms.patch
https://chromium-review.googlesource.com/c/chromium/src/+/1745986
* update patch metadata
* remove printing_compositor manifests
https://chromium-review.googlesource.com/c/chromium/src/+/1742734
* update for URLLoaderFactoryType enum
https://chromium-review.googlesource.com/c/chromium/src/+/1754716
* remove gin string16 converter
https://chromium-review.googlesource.com/c/chromium/src/+/1750093
* ClearCompositorFrame() has been removed
https://chromium-review.googlesource.com/c/chromium/src/+/1746301
* message_loop -> message_loop_current
https://chromium-review.googlesource.com/c/chromium/src/+/1738552
* include resource_response header
* pdf compositor no longer uses service manager
https://chromium-review.googlesource.com/c/chromium/src/+/1742734
* chore: bump chromium in DEPS to 00d5933101d8d8dc9546eadbe7ee1b41077e6db1
* pane focus fns aren't pure virtual anymore
https://chromium-review.googlesource.com/c/chromium/src/+/1708767
* fix: make std::hash value-non-const
broken by https://chromium-review.googlesource.com/c/chromium/src/+/1711202
* update swiftshader in zip_manifests
https://swiftshader-review.googlesource.com/c/SwiftShader/+/34911
* address feedback from @deepak1556
* don't enable kLegacyWindowsDWriteFontFallback
https://chromium-review.googlesource.com/c/chromium/src/+/1753006
* chore: bump chromium in DEPS to 84497314005e1968da06804f8fde539d9872310e
* update printing.patch
remove bottom diff owing to https://chromium-review.googlesource.com/c/chromium/src/+/1678182 and update for https://chromium-review.googlesource.com/c/chromium/src/+/1678182
* convert CookieChangeListener to new Mojo types
https://chromium-review.googlesource.com/c/chromium/src/+/1753371
* rename ui::ClipboardType -> ui::ClipboardBuffer
https://chromium-review.googlesource.com/c/chromium/src/+/1758730
* logging::LoggingSettings log_file -> log_file_path
https://chromium-review.googlesource.com/c/chromium/src/+/1699477
* roll DEPS to latest lkgr
* fix: override GetFontLookupTableCacheDir()
When Chromium goes to use its fallback font table creation code paths,
it creates the cache directory it uses by calling
GetFontLookupTableCacheDir() with a path that doesn't exist in Electron.
To ensure that a legitimate file path is created, we need to override it
with Electron's DIR_USER_DATA so it doesn't use chrome::DIR_USER_DATA.
* chore: bump chromium in DEPS to 6758a0879931bc4df630a80a36c82d7855ae3155
* update pthread_fchdir patch
https://chromium-review.googlesource.com/c/chromium/src/+/1759149
* update printing patch
* update cookie usage and fn signatures
https://chromium-review.googlesource.com/c/chromium/src/+/1758437
* chore: bump chromium in DEPS to bdaca97e1cc27fb977e56f30f74cdb906da9527e
* remove fix_make_std_hash_value-non-const.patch
https://chromium-review.googlesource.com/c/chromium/src/+/1762335
* Convert enum to enum class for FocusManager::FocusChangeReason
https://chromium-review.googlesource.com/c/chromium/src/+/1767281
* roll DEPS to latest lkgr
* update dom_storage_limits.patch
https://chromium-review.googlesource.com/c/chromium/src/+/1767556
2019-08-23 18:14:23 -07:00
Shelley Vohr
c89debd19a
refactor: use Error util when only throwing errors ( #19837 )
2019-08-23 15:49:54 -07:00
Charles Kerr
ef6d4a46c2
chore: make apply_all_patches.py work in both python2 and python3 ( #19872 )
2019-08-23 15:48:27 -07:00
Milan Burda
81e9dab52f
refactor: replace ipcRendererUtils.invoke() with ipcRendererInternal.invoke() ( #19574 )
2019-08-23 15:45:50 -07:00
Shelley Vohr
698120daf0
fix: crash on input file handler dialog ( #19897 )
...
* fix: crash on input file handler dialog
* invert cancellation logic
2019-08-23 14:18:30 -07:00
Samuel Attard
c61020e9d3
build: use a lower process count for publish builds with no sccache ( #19913 )
2019-08-23 14:01:12 -07:00
Electron Bot
6144408f3a
Bump v8.0.0-nightly.20190823
2019-08-23 08:31:55 -07:00
Milan Burda
7825d043f2
refactor: unify module-list format and exports/electron ( #19697 )
2019-08-23 11:18:58 +02:00
Shelley Vohr
c6a8b7f959
docs: clarify dock.bounce usage ( #19894 )
2019-08-23 01:16:18 -07:00
Samuel Attard
6a3922d330
refactor: make util::Promise type safe when chaining in native ( #19809 )
...
* refactor: make util::Promise type safe when chaining in native
* fixup! refactor: make util::Promise type safe when chaining in native
* chore: remove spare brackets
2019-08-22 17:03:28 -07:00
loc
f7e3e1f97a
fix: mitigate white screen flash after occlusion by disabling compositor recycling ( #19873 )
...
* fix: remove white screen flicker by disabling compositor recycling
* chore: disable spec whose flakiness was made obvious by this patch
2019-08-22 15:16:06 -07:00
Cheng Zhao
ab0bf6d238
fix: notify views of content view size change ( #19878 )
2019-08-22 14:16:56 -07:00
Electron Bot
6667969887
chore: bump node to v12.9.0 (master) ( #19863 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2019-08-22 14:12:11 -07:00
Jaime Bernardo
12b00ca942
fix: extern Parse impl for Windows debug builds ( #19876 )
...
* fix: extern Parse impl for Windows debug builds
Applies a patch to node.
Externs node::options_parser::Parse implementation for
node::DebugOptions to fix the Windows Debug build.
* fixup: merge extern parse impl patch
2019-08-22 13:16:38 -07:00
Robert Nagy
1f43af5cea
feat: add openbsd support in the node module ( #19860 )
2019-08-22 12:09:15 -07:00
Electron Bot
268094e0ef
Bump v8.0.0-nightly.20190822
2019-08-22 08:31:04 -07:00
Heilig Benedek
9ccd6aa0dd
feat: enable picture-in-picture mode for video tags ( #17686 )
...
* feat: enable picture in picture mode for video tags
* test: add test to verify picture in picture support
* lint: fix indent
* fix: clean up after rebase
* test: update test with 16:9 test video
* fix: .paches after rebase
2019-08-22 19:17:50 +09:00
John Kleinschmidt
46b6bcd99b
chore: Update comment for desktop_capturer ( #19848 )
...
* chore: Update comment for desktop_capturer
* Guard TopLevelWindow::MoveAbove with ENABLE_DESKTOP_CAPTURER
* Fix lint errors
2019-08-21 15:16:43 -07:00
John Kleinschmidt
4bc7b3b1a4
build: start building Windows on Arm builds ( #19780 )
...
* build: add zip manifest for Windows on Arm
* ci: add Windows On Arm testing
(cherry picked from commit 4064e1f4874ff7a37c52c2ad974f92418c7e71c4)
* Fix path to invoke CI on WOA hardware
* Explicitly call 7z.exe to unzip files
* Make sure GCLIENT_EXTRA_ARGS set for WOA builds get prepended on release build
* set proper arch for npm
* Try using Compress-Archive/Expand-Archive
* Revert "Try using Compress-Archive/Expand-Archive"
* disable woa hardware test for now
2019-08-21 17:37:30 -04:00
Shelley Vohr
5e525b3e0f
fix: add default media usage strings to info.plist ( #19871 )
2019-08-21 13:14:25 -07:00
Samuel Attard
612e3f7ff7
build: optimize the CI path where we update the patch files ( #19851 )
...
Currently the happy checkout takes 7 minutes and the sad checkout takes
30 minutes. This updates our CI to run checkout twice for every job to
make the sad checkout take nearer 10 minutes instead.
2019-08-21 14:52:17 -04:00
Shelley Vohr
991a56135d
build: dynamically calculate out dir ( #19857 )
2019-08-21 10:41:35 -07:00
Electron Bot
3bd829aee0
Bump v8.0.0-nightly.20190821
2019-08-21 08:31:24 -07:00
Samuel Attard
674779899e
build: ninja count should be 2*cores + 2 ( #19852 )
2019-08-21 10:25:23 -04:00
Heilig Benedek
3f49f984e6
fix: race condition in NodeStreamLoader ( #19811 )
...
* fix: race condition in NodeStreamLoader
* nit: add comments
2019-08-21 12:23:46 +09:00
Cheng Zhao
b7defaaf6a
feat: migrate webRequest module to NetworkService (Part 8) ( #19841 )
...
* fix: fill uploadData property
* fix: requestHeaders in onBeforeSendHeaders
* fix: responseHeaders in onHeadersReceived
* fix: header keys should not be lowercased
* fix: gin::Dictionary::Get succeeds even though key does not exist...
* fix: throw for invalid filters
* test: re-enable api-web-request-spec
* chore: do not use deprecated base::Value API
2019-08-21 11:14:21 +09:00
Samuel Attard
f10f44acf5
fix: trim branch name before comparing to master ( #19853 )
2019-08-20 18:10:44 -07:00
John Kleinschmidt
d258797d05
ci: add macOS debug builds ( #19831 )
...
* ci: add macOS debug builds
* Fix mac debug builds
2019-08-20 16:11:29 -04:00
Carlos
fb214a599e
docs: update documentation under tutorials ( #19804 )
2019-08-20 09:45:25 -07:00
Electron Bot
a4c0f26f06
Bump v8.0.0-nightly.20190820
2019-08-20 08:32:09 -07:00
Erick Zhao
145b4fae94
feat: implement will-move event on macOS ( #19641 )
2019-08-20 07:53:43 -07:00
Cheng Zhao
cd1b15a155
feat: migrate webRequest module to NetworkService (Part 7) ( #19820 )
...
* fix: gin treats Function as Dictionary when doing convertions
* fix: check if listener exists
* fix: listener callback should be executed in next tick
* feat: make InProgressRequest work
* test: re-enable protocol test that relies on webRequest
* chore: merge conditions
2019-08-20 20:46:20 +09:00
Shelley Vohr
1dc02e6dbc
fix: fall back to default logs path in getPath('logs') ( #19653 )
2019-08-19 15:16:00 -07:00
pi1024e
0851697cb7
docs: fix punctuation errors in native-image.m ( #19620 )
...
* Added correct punctuation to sentences in documentation as well as changed lets to consts to pass the docs linter
* Fixed inconsistent indentation
2019-08-19 15:15:13 -07:00
Electron Bot
bd11be98aa
chore: bump node to v12.8.1 (master) ( #19790 )
...
* chore: bump node in DEPS to v12.8.1
* test: disable parallel/test-http2-reset-flood
Disabled new Worker test owing to a threading issue where the Worker
segfaults on worker.on('message', () => {}). We've disabled failing
worker tests previously as we don't offer first-class support for them
in Electron.
2019-08-19 14:15:04 -07:00
Shelley Vohr
a54d438e18
chore: upgrades-wg owns DEPS ( #19830 )
2019-08-19 13:56:20 -07:00
Heilig Benedek
b33558d822
refactor: mojofy autofill renderer->browser ( #18760 )
...
* re-implement renderer->browser calls with mojo
* lint
* fix: clean up after rebase
* lint
* fix: lazy load autofill drivers
2019-08-19 13:13:24 -07:00
Shelley Vohr
43e6d7fe88
chore: add error throwing utility ( #19803 )
...
* chore: add error throwing utility
* feedback from review
* DRY out repeated isolate calls
2019-08-19 09:10:18 -07:00
Electron Bot
8f1c51eaea
Bump v8.0.0-nightly.20190819
2019-08-19 08:32:31 -07:00
Electron Bot
090786b037
Bump v8.0.0-nightly.20190818
2019-08-18 08:31:14 -07:00
Electron Bot
dba3927b4e
Bump v8.0.0-nightly.20190817
2019-08-17 08:31:36 -07:00
Micha Hanselmann
56d10aeef7
docs: add mising return desc ( #19778 )
2019-08-16 09:24:17 -07:00
Shelley Vohr
6a76540cb6
fix: return type in open/save dialogs ( #19781 )
2019-08-16 08:55:01 -07:00
Electron Bot
2c002a3342
Bump v8.0.0-nightly.20190816
2019-08-16 08:32:35 -07:00
Jean-Philippe Morin
42ac64284f
docs: MessageBoxOptions.icon should allow type string ( #19782 )
...
In the `dialog` documentation (and the generated typings in `electron.d.ts`), it is mentionned that the `icon` property only supports `NativeImage`, but the `nativeImage` documentation says that:
```
In Electron, for the APIs that take images, you can pass either file paths or NativeImage
```
2019-08-16 17:06:02 +02:00
Cheng Zhao
2595cb5698
fix: compilation failure after chromium upgrade ( #19787 )
2019-08-16 07:55:34 -07:00
Cheng Zhao
c3bb73a711
feat: migrate webRequest module to NetworkService (Part 6) ( #19752 )
...
* Implement OnBeforeSendHeaders
* Pass the request
* Handle simple listeners
* Handle response listeners
* Read responses from listener
2019-08-16 10:19:05 +09:00
Micha Hanselmann
e59095423e
docs: add exemplary fiddle for launch in fiddle feat ( #19759 )
...
* add fit-screen
* new url format
* nit
2019-08-15 15:37:37 -07:00
Electron Bot
db21391156
chore: bump chromium to cbeb16cf544f79c1990f1eae4d4fe (master) ( #19610 )
...
Co-authored-by: Erick Zhao <erickzhao@github.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by Micha Hanselmann <DeerMichel@github.com >
2019-08-15 13:50:58 -07:00
Shelley Vohr
12df0e8994
fix: use GTK3 stock i18n strings ( #19756 )
2019-08-15 10:31:07 -07:00
Electron Bot
ca0cf5415e
Bump v8.0.0-nightly.20190815
2019-08-15 08:31:20 -07:00
Shelley Vohr
33f2ec6355
fix: ensure child_process.fork() doesn't modify main ( #19742 )
2019-08-15 08:01:58 -07:00
Julien Isorce
680399f476
feat: Implement BrowserWindow.getMediaSourceId() and BrowserWindow.moveAbove(mediaSourceId) ( #18926 )
...
* feat: Implement BrowserWindow.moveAbove(mediaSourceId)
BrowserWindow.{focus,blur,moveTop}() are not enough in some
situations. For example when implementing an overlay that
follows another window that can lose focus. In that case
it is useful to move the overlay above the tracked window.
sourceId is a string in the format of DesktopCapturerSource.id,
for example "window:1869:0".
Notes: Added BrowserWindow.moveAbove(mediaSourceId)
https://github.com/electron/electron/issues/18922
* feat: Implement BrowserWindow.getMediaSourceId
Return the Window id in the format of DesktopCapturerSource's id.
For example "window:1234:0".
https://github.com/electron/electron/issues/16460
Notes: Added BrowserWindow.getMediaSourceId
2019-08-15 15:51:15 +09:00
Micha Hanselmann
d0c7a91a50
move image converter to gin ( #19655 )
2019-08-15 11:18:34 +09:00
Heilig Benedek
27b2747b61
fix: make sure that menu bar gets focus even when you click an item to focus it first ( #19710 )
2019-08-14 18:11:41 -07:00
Micha Hanselmann
9b1f698770
docs: mention QuickEdit in Windows troubleshooting ( #19701 )
...
* shot a trouble
* change title
2019-08-14 14:23:12 -07:00
Samuel Attard
efa1818cb4
feat: add new nativeTheme API ( #19656 )
...
* feat: add new nativeTheme API
* chore: deprecate and clean up old systemPreferences theme APIs in favor of new nativeTheme module
* chore: clean up and deprecate things per feedback
* chore: add tests for deprecate and clean up invert impl
* build: when is a boolean not a boolean???
2019-08-14 13:42:55 -07:00
Electron Bot
246187a20f
Bump v8.0.0-nightly.20190814
2019-08-14 08:31:05 -07:00
Micha Hanselmann
4c54cfc692
move net converter to gin ( #19734 )
2019-08-14 14:15:34 +09:00
Erick Zhao
5d892a557f
fix: proper l10n on Linux dialog buttons ( #19725 )
...
* fix: proper l10n on linux dialog
* switch string
2019-08-13 20:22:25 -07:00
Cheng Zhao
49fe2604b3
Revert "fix: activate the uv_loop on incoming IPC messages ( #19449 )" ( #19727 )
...
This reverts commit 8028c57b42 .
2019-08-13 14:03:25 -07:00
Shelley Vohr
28466a39d8
feat: add property customization to save dialogs ( #19672 )
2019-08-13 13:40:07 -07:00
Shelley Vohr
e1824c00a9
feat: macOS removal fallback when moveItemToTrash fails ( #19700 )
...
* feat: macOS removal fallback when moveItemToTrash fails
* platform_util shouldn't know about mate::Arguments
* pull full_path from args as well
2019-08-13 12:31:53 -07:00
Shelley Vohr
b5798326e8
feat: add dontAddToRecent to windows showOpenDialog ( #19669 )
2019-08-13 08:48:22 -07:00
Electron Bot
fee84de782
Bump v8.0.0-nightly.20190813
2019-08-13 08:33:27 -07:00
Shelley Vohr
e8fa248571
fix: crash in window.print() ( #19690 )
...
* fix: crash in window.print()
* add preliminary tests
2019-08-12 23:44:14 -07:00
Micha Hanselmann
ba5ee79af8
move file dialog converter to gin ( #19709 )
2019-08-13 14:49:48 +09:00
Cheng Zhao
69eac0d9d2
feat: migrate webRequest module to NetworkService (Part 5) ( #19714 )
...
* Pass WebRequest to ProxyingURLLoaderFactory
* Call WebRequestAPI in InProgressRequest
* Store the listeners
* Pass the request and response
* Add stub to handle the events
* Use extensions::WebRequestInfo
* Make sure webRequest is managed by Session
* chore: make creation of WebRequestNS more clear
* fix: check WebContents for service workers
2019-08-13 14:47:35 +09:00
Electron Bot
9713fa09e7
chore: bump node to v12.8.0 (master) ( #19521 )
...
* chore: bump node in DEPS to v12.7.0
* chore: update node patches v12.6 to v12.7
Removed patches that are no longer necessary because we've upstreamed few changes already, and 3 way merge others
* fix: update build gn patch
* chore: bump node in DEPS to v12.8.0
* chore: update node patches v12.7 to v12.8
Removed patches that are no longer necessary because we've upstreamed few changes already, and 3 way merge others
* fix: Add patch to revert crypto createhash changes
The original node commit contains changes/calls to functions that are not supported in boringssl.
* disable node tests
* Remove outdated patch, already merged upstream
2019-08-12 17:29:34 -07:00
Erick Zhao
f654da9f56
feat: add about panel customization on Windows ( #19420 )
2019-08-12 16:32:51 -07:00
Сковорода Никита Андреевич
ef03c4b7bb
docs: fix app.on('session-created' example ( #19713 )
...
It does not have the 'event' argument.
Refs: https://github.com/electron/electron/pull/12123
Refs: https://github.com/electron/electron/pull/15236
Refs: https://github.com/electron/electron/issues/15203
2019-08-12 14:46:42 -07:00
Samuel Attard
13df748f02
build: fix nightly install command in release notes ( #19711 )
2019-08-12 13:01:52 -07:00
Cheng Zhao
04dbd5c53f
fix: don't handle browser messages before document element is created ( #19718 )
...
* fix: don't handle browser messages before document element is created
* fix: bind ElectronApiServiceImpl later
DidCreateDocumentElement is called before the ElectronApiServiceImpl
gets bound.
* chore: add comment
2019-08-12 10:38:41 -07:00
Electron Bot
398c5d553d
Bump v8.0.0-nightly.20190812
2019-08-12 08:32:19 -07:00
Electron Bot
39f0bd3e82
Bump v8.0.0-nightly.20190811
2019-08-11 08:31:23 -07:00
Cheng Zhao
2dffc9f6eb
feat: migrate webRequest module to NetworkService (Part 4) ( #19679 )
...
* chore: use gin in WebRequest
* Add stubs for APIs
2019-08-11 13:24:51 +09:00
Electron Bot
bc0a2d1b28
Bump v8.0.0-nightly.20190810
2019-08-10 08:31:20 -07:00
Erick Zhao
1749af9707
fix: avoid losing focus on inputs when opening menu (Windows/Linux) ( #19657 )
...
* remove cause of issue
* remove comment
2019-08-09 14:10:11 -07:00
Micha Hanselmann
57507ca37c
refactor: move native window gin converter ( #19577 )
...
* move native window gin converter
* extract to new file
2019-08-09 13:43:18 -07:00
Shelley Vohr
7861e9f728
feat: allow customization of print page header and footer ( #19688 )
...
* feat: allow customization of more print settings
* address feedback from @jkleinsc
* header and footer are optional
2019-08-09 13:16:25 -07:00
Electron Bot
84cbc1d6c0
Bump v8.0.0-nightly.20190809
2019-08-09 08:32:09 -07:00
Milan Burda
03debb4ef9
feat: add tray.focus() ( #19548 )
2019-08-09 07:43:48 -07:00
Shelley Vohr
ed3b69ffb1
docs: update hasShadow for win and linux ( #19675 )
2019-08-08 15:49:43 -07:00
Milan Burda
0fb3c8cb7c
feat: add new options to tray.displayBalloon() ( #19544 )
2019-08-08 14:43:33 -07:00
Richard Townsend
58840f39bb
docs: document device scaling issue ( #19387 )
2019-08-08 13:59:44 -07:00
Pedro Pontes
da29ce355f
fix: always use new site instance for a new navigation. ( #18860 )
2019-08-08 11:48:33 -07:00
Electron Bot
7a9e6659f0
Bump v8.0.0-nightly.20190808
2019-08-08 08:32:04 -07:00
Micha Hanselmann
9eb89b4ac7
fix: return correct bounds on will-resize ( #19639 )
2019-08-07 19:58:56 -07:00
Shelley Vohr
fec54c9c5d
test: remove ffi specs ( #19661 )
2019-08-07 11:41:56 -07:00
Electron Bot
67169a5d0c
Bump v8.0.0-nightly.20190807
2019-08-07 08:31:14 -07:00
Robo
eebea63bed
chore: remove pre network service classes from shell/browser/net ( #19644 )
...
* refactor: rm IOThread class
* chore: rm expose-net-observer-api.patch
* chore: rm unused shell/browser/net/ classes
* chore: mv CertVerifierClient to separate header
* chore: rm url_request_context_getter references
2019-08-07 11:04:09 -04:00
Shelley Vohr
9c7a216814
fix: crash on print cancellation and silent print settings ( #19598 )
...
* fix: crash on print cancellation
* fix: update printing patch for new options
* refactor: use DictionaryValue for printBackground
2019-08-07 10:47:24 -04:00
Micha Hanselmann
a8861e6a66
move gurl converter to gin ( #19578 )
2019-08-07 16:18:26 +09:00
Erick Zhao
8a9a5d69b6
fix: normalize behavior of win.setOpacity() for invalid number values across operating systems ( #19535 )
...
* fix: define behavior for out-of-bounds setOpacity
* fix linux issue
* fix getOpacity behaviour
* wrong variable
* normalize more stuff
* docs
* test: use ifdescribe helper
* Update spec-main/api-browser-window-spec.ts
Co-Authored-By: Charles Kerr <ckerr@github.com >
* fixes
* more tests!!!
* Update shell/browser/native_window_views.cc
Co-Authored-By: Charles Kerr <ckerr@github.com >
* Update shell/browser/native_window_mac.mm
Co-Authored-By: Charles Kerr <ckerr@github.com >
2019-08-07 16:17:32 +09:00
Cheng Zhao
761a4deab3
feat: associate InProgressRequest with requests ( #19648 )
2019-08-07 09:21:53 +09:00
CezaryKulakowski
50cc54e50b
fix: keep references to active menus created by api Menu ( #19427 )
...
Without this such menus would be destroyed by js garbage collector even
when they are still displayed.
2019-08-06 14:55:00 -07:00
Shelley Vohr
da2401ff39
spec: fix dirtyChai spec failures ( #19652 )
2019-08-06 10:27:33 -07:00
Electron Bot
c3d0fed9ed
Bump v8.0.0-nightly.20190806
2019-08-06 08:31:49 -07:00
András Polgár
c0982d7316
docs: update link to webContents.send ( #19608 )
2019-08-05 20:58:06 -07:00
Shelley Vohr
f0396c19be
fix: clearRecentDocuments role on Windows ( #19599 )
...
* fix: clear recent documents on windows
* chore: don't check for version < win 7
2019-08-05 15:11:43 -07:00
Samuel Attard
33a9d898a6
fix: make child windows not crash when ipc messages are received ( #19553 )
2019-08-05 12:50:51 -07:00
Samuel Attard
cfd230d7f1
docs: remove implicit 'any' and 'Object' types from the docs ( #19585 )
...
* docs: remove implicit 'any' and 'Object' types from the docs
* docs: more docs improvements, remove all remaining empty interfaces
* chore: update tests for better types
2019-08-05 10:45:58 -07:00
Milan Burda
ee674acca4
feat: add tray.removeBalloon() ( #19547 )
2019-08-05 08:52:47 -07:00
Electron Bot
8f043bbdaa
Bump v8.0.0-nightly.20190805
2019-08-05 08:32:11 -07:00
Erick Zhao
750005f02b
fix: handle edge behavior for about panel on Linux ( #19586 )
...
* fix: graceful About dialog fail/exit (Linux)
* Allow current to travel along path with no electrical impedance
2019-08-05 07:53:40 -07:00
Shelley Vohr
0bb227f8a4
fix: crash on window.print() ( #19601 )
2019-08-05 09:19:01 -04:00
Zach Bloomquist
40d9f828d4
docs: Fix process.enablePromiseAPI typo in promisification.md ( #19576 )
...
* Fix `process.enablePromiseAPI` typo in promisification.md
* Update promisification.md
2019-08-05 10:19:48 +09:00
Jeremy Apthorp
49f2071e22
test: tsify netlog spec ( #19605 )
2019-08-05 09:47:42 +09:00
Jeremy Apthorp
f08be2162a
test: tsify callbacks-registry spec ( #19606 )
2019-08-05 09:46:58 +09:00
Electron Bot
45e452557b
Bump v8.0.0-nightly.20190804
2019-08-04 08:32:25 -07:00
Electron Bot
df94cc1b13
Bump v8.0.0-nightly.20190803
2019-08-03 08:31:26 -07:00
Jeremy Apthorp
bd28b876a0
fix: disable 'reopen windows?' dialog after crash ( #19584 )
2019-08-02 17:04:41 -07:00
Electron Bot
e959137a4b
chore: bump chromium to 32e0bab929213da1019992bf31d29 (master) ( #19488 )
2019-08-02 16:56:46 -07:00
Jeremy Apthorp
d0800aa200
test: report hexadecimal status codes on windows ( #19597 )
2019-08-02 14:23:11 -07:00
Milan Burda
3011a0f14f
refactor: convert ipc-renderer.ts to TypeScript ( #19556 )
...
* refactor: convert ipc-renderer.ts to TypeScript
* Update typings/internal-ambient.d.ts
Co-Authored-By: Samuel Attard <sattard@slack-corp.com >
2019-08-02 14:35:04 -05:00
Micha Hanselmann
ee64c6ab86
refactor: move file path gin converter to new file ( #19575 )
...
* move file path gin converter to new file
* move string16 gin conv to new file
2019-08-02 14:34:30 -05:00
Electron Bot
79277cc383
Bump v8.0.0-nightly.20190802
2019-08-02 08:31:00 -07:00
Andy Dill
e78b902a7d
fix: expose setMenuBarVisibility again ( #19557 )
2019-08-01 14:01:05 -07:00
Milan Burda
e8c4e6f0b3
fix: use correct constants for tray icon messages ( #19549 )
2019-08-01 14:00:37 -07:00
Electron Bot
2e785899dd
Bump v8.0.0-nightly.20190801
2019-08-01 08:31:16 -07:00
Milan Burda
115b57649e
docs: fix TouchBar related documentation ( #19444 )
2019-08-01 10:59:26 -04:00
Micha Hanselmann
b80429ab7f
refactor: migrate dialog API to //gin ( #19482 )
...
* get ShowMessageBoxSync working with gin
* move more dialog methods
* all methods moved
* cleanup
* add util func for template creation
2019-08-01 10:57:41 -04:00
Samuel Attard
c190e64012
build: update the ABI version for electron 8 nightlies ( #19551 )
2019-08-01 10:54:26 -04:00
John Kleinschmidt
3a6cafaf0a
fix: use WeakPtr to detect deletion ( #19257 )
2019-07-31 19:48:40 -04:00
Milan Burda
c76b0b70c1
refactor: remove content::WebContentsObserver from Event ( #19251 )
2019-07-31 15:20:28 -07:00
Jeremy Apthorp
c71cdce0b7
chore: disable JS impl when //extensions support is on ( #19512 )
2019-07-31 14:25:41 -07:00
Shelley Vohr
a5f87cee6b
doc: add missing MenuItem roles ( #19329 )
2019-07-31 14:13:56 -07:00
Samuel Attard
bf66fe51f6
build: fix first beta version choosing logic
2019-07-31 11:04:19 -07:00
Micha Hanselmann
47a38daee2
feat: migrate custom macOS tray view to native one ( #18981 )
...
* restore stash
revert
some things work others dont
tracking area for rescue
manual popup
restore drag n drop
cleanup
* fix: make tray not block main process (#18880 )
* fix: make tray not block main process
* make AtomMenuModel refcounted
* add support for ansi codes in title
add remove TODOs
* chore: use ScopedPumpMessagesInPrivateModes in tray (#18977 )
* chore: use ScopedPumpMessagesInPrivateModes in tray
* revert refcounting of AtomMenuModel
* Prefer WeakPtr for posting tasks to handle unexpected destruction
* cleanup .h
* cleanup .mm
* add imports
add missing include
* fix: crash when tray popup called twice (#18999 )
* remove highlightMode and TODOs
* remove unnecessary copy
2019-07-31 10:52:50 -07:00
Electron Bot
cde79501e3
Bump v7.0.0-nightly.20190731
2019-07-31 08:31:25 -07:00
Shelley Vohr
51ce3e5a83
fix: set default dock bounce type ( #19523 )
2019-07-31 08:20:45 -07:00
Milan Burda
d6605193a1
build: fix with ENABLE_OSR disabled ( #19533 )
2019-07-31 14:34:04 +02:00
Shelley Vohr
69646f4258
fix: throw better error on getPath('logs') ( #19514 )
2019-07-30 13:55:04 -07:00
Erick Zhao
e74daf2d19
refactor: move gfx::ImageSkia functions to their own util file ( #19460 )
...
* initial refactor
* fix lint
* 🚚 🚚 🚚 🚚 🚚
* change year in copyright?
* lint more
* remove bad code
* add missing header
* fix: add missing ifdef guard
* fix variable call
2019-07-30 13:49:24 -07:00
Micha Hanselmann
af3316707f
fix invalid lang tags ( #19513 )
2019-07-30 13:11:56 -07:00
Micha Hanselmann
6e367dab9a
patch electron_node ( #19436 )
2019-07-30 14:08:27 -04:00
Electron Bot
38c918ed5c
Bump v7.0.0-nightly.20190730
2019-07-30 08:32:38 -07:00
Milan Burda
9ab3ec080f
fix: tray.displayBalloon() does not work with custom icon on Windows ( #19330 )
2019-07-30 14:06:16 +02:00
Micha Hanselmann
42a483ad27
feat: add getBounds() method for BrowserView ( #19370 )
...
* implement getBounds on mac
* add Linux/Win impl
* add test
* add docs
2019-07-29 19:43:05 -07:00
Micha Hanselmann
c06007175f
docs: update supported versions section ( #19461 )
...
* update support docs
* Update support.md
2019-07-29 15:38:04 -07:00
Shelley Vohr
aaca9011ae
fix: [wc|bw]-created events do not emit an event object ( #19465 )
...
* fix: emit real Event instead of empty object in [wc|bw]
* chore: add ability to emit empty events
2019-07-29 13:54:37 -07:00
Jeremy Apthorp
33d1e87163
chore: simplify intentional-crash code ( #19464 )
2019-07-29 11:36:16 -07:00
Jeremy Apthorp
71b1b69339
fix: [extensions] remove InitForIncognitoProfile ( #19477 )
...
https://chromium-review.googlesource.com/c/chromium/src/+/1699223
2019-07-29 11:34:57 -07:00
Erick Zhao
ceb64b3b1b
docs: BrowserWindow transparency limitation on Windows ( #19399 )
...
* docs: BrowserWindow transparency limitation on Win
* fix md link
2019-07-29 11:22:31 -07:00
Micha Hanselmann
9da1251dbc
add desc ( #19417 )
2019-07-29 11:21:56 -07:00
Erick Zhao
c1d7d60ca2
docs: specify macOS-only about panel option ( #19439 )
2019-07-29 11:21:29 -07:00
Milan Burda
8a33118e36
fix: refactoring regression in LocationProxy ( #19495 )
2019-07-29 11:20:19 -07:00
Samuel Attard
4838bd7834
fix: use GetAuraColor to get theme dependant menu bg color ( #19469 )
2019-07-29 10:33:43 -05:00
Electron Bot
5e930bf940
Bump v7.0.0-nightly.20190729
2019-07-29 08:31:07 -07:00
Jeremy Apthorp
2983701c75
fix: remove .pdb from symbol file names ( #19483 )
...
* fix: remove .pdb from symbol file names
* Update dump_syms.py
2019-07-29 09:41:58 -04:00
Valentin Hăloiu
0732da1b4a
build: remove GConf and dconf dependencies on linux ( #19498 )
2019-07-29 08:33:47 -04:00
foo bar code
4e0e615406
fix: Expose missing Add/RemoveExtraParameter methods to macOS node child processes ( #15790 )
...
* Expose missing crash reporter methods in mac node processes
* Crashpad migration
2019-07-29 09:46:35 +09:00
Electron Bot
c9a455ea49
Bump v7.0.0-nightly.20190728
2019-07-28 08:32:16 -07:00
Electron Bot
00a1f4395b
Bump v7.0.0-nightly.20190727
2019-07-27 08:32:00 -07:00
Shelley Vohr
6c9d40ec33
feat: emit always-on-top-changed on macOS ( #19462 )
...
* feat: emit always-on-top-changed on macOS
* update event emission test for macos
2019-07-26 22:25:51 -07:00
Milan Burda
50c7eb58a1
refactor: don't use NSClassFromString in TouchBar code ( #19445 )
2019-07-27 01:20:25 +02:00
Shelley Vohr
c6bcf49acc
chore: clean up BrowserView/TopLevelWindow New impl ( #19375 )
...
* chore: clean up BrowserView::New impl
* also default TL win options dict
2019-07-26 16:18:13 -07:00
Shelley Vohr
5aa1385cfc
doc: fix GPU infoType typings ( #19470 )
2019-07-26 16:16:38 -07:00
Samuel Attard
db3cf52add
docs: add support for readonly,deprecated and platform doc annotations ( #19478 )
2019-07-26 16:12:59 -07:00
Samuel Attard
12bbbef688
docs: fix type information for contents.sendInputEvent ( #19479 )
...
The `event` type and keyword is reserved by the typescript generator, in the future we should throw an error from the generator if someone uses a reserved interface like that.
This also splits and documents the InputEvent type way better so that TS
users get strong type safety.
Fixes electron/typescript-definitions#36
2019-07-26 16:11:50 -07:00
Samuel Attard
48f2807473
docs: fix app.getPath types so that "name" is a string enum ( #19480 )
...
* docs: fix app.getPath types so that "name" is a string enum
Fixes https://github.com/electron/typescript-definitions/issues/140
* Update app.md
2019-07-26 16:11:22 -07:00
Shelley Vohr
504407c5df
fix: correctly emit BrowserWindow alwaysOnTop status in change event ( #19463 )
...
* fix: correctly emit alwaysOnTop in change event
* add a test for emitted alwaysOnTop value
2019-07-26 15:53:31 -07:00
Electron Bot
4d23b9e031
chore: bump chromium to 2bbf84f6437b49c70922b65b38bf3 (master) ( #19451 )
...
* chore: bump chromium in DEPS to 644eb098aeffb5e799ab3571eac0d35fa24ef641
* chore: update chromium patches
* chore: update v8 patches
* chore: bump chromium in DEPS to 9eecb7a9f652bbf84f6437b49c70922b65b38bf3
* chore: update patches
2019-07-26 12:18:32 -07:00
Jeremy Apthorp
dc5574cbde
test: move autoUpdater specs to main process ( #19440 )
2019-07-26 10:52:57 -07:00
Electron Bot
636dd38164
Bump v7.0.0-nightly.20190726
2019-07-26 08:31:42 -07:00
Jeremy Apthorp
d50298ed96
test: move menu spec to main process ( #19412 )
2019-07-26 10:17:14 -04:00
Jeremy Apthorp
2a5d40617a
test: move the last of the browser window specs ( #19295 )
...
* move devtools extensions tests
* move executeJavaScript tests
* move previewFile test
* move contextIsolation tests
* move OSR tests
* RIP api-browser-window-spec.js
.--. .-, .-..-.__
.'(`.-` \_.-'-./` |\_( "\__
__.>\ '; _;---,._| / __/`'--)
/.--. : |/' _.--.<| / | |
_..-' `\ /' /` /_/ _/_/
>_.-``-. `Y /' _;---.`|/))))
'` .-''. \|: .' __, .-'"`
.'--._ `-: \/: /' '.\ _|_
/.'`\ :; /' `- `-|-`
-` | | |
:.; : | .-'~^~`-.
|: | .' _ _ `.
|:. | | |_) | |_) |
:. : | | | \ | | |
: ; | | |
: ; | | Here lies |
: ; | | 1000 |
: ; | | flaky |
: ; | | tests |
.jgs. : ; | |
-."-/\\\/:::. `\."-._'."-"_\\-| |///."-
" -."-.\\"-."//.-".`-."_\\-.".-\\`=.........=`//-".
* remove unused ipcMain listeners
* remove debugging logs
* close windows in offscreen test
* more closeAllWindows
* remove extra logs
* refactor webContents main spec using closeAllWindows
2019-07-26 10:09:33 -04:00
Jeremy Apthorp
16011cacef
test: move dialog spec to main process ( #19231 )
...
* test: move dialog spec to main process
* skip tests on windows to avoid crash
* more disabling on windows
2019-07-26 09:37:59 -04:00
Milan Burda
4639c68a7b
chore: remove no longer needed macOS SDK forward declarations ( #19446 )
2019-07-26 14:11:37 +02:00
Milan Burda
44efaea6d5
fix: clearing of the backgroundColor property on TouchBarButton ( #19437 )
2019-07-26 11:52:42 +02:00
Shelley Vohr
bdd626f57a
doc: fix types for traceConfig recording_mode ( #19448 )
2019-07-25 21:42:28 -07:00
Jeremy Apthorp
477661d0e4
feat: allow setting capture mode and max file size in netLog API ( #19215 )
2019-07-25 16:06:39 -07:00
Samuel Attard
8028c57b42
fix: activate the uv_loop on incoming IPC messages ( #19449 )
2019-07-25 13:10:14 -07:00
Jeremy Apthorp
0f5cb7995f
ci: report test results to appveyor ( #19434 )
2019-07-25 11:30:56 -07:00
Jeremy Apthorp
e58f8a79ee
test: move the TouchBar specs to the main process ( #19413 )
2019-07-25 11:30:42 -07:00
Shelley Vohr
6b7c66aa04
revert: use circleci v2.1 ( #19456 )
...
This reverts commit d45694dcb0 .
2019-07-25 10:44:28 -07:00
Shelley Vohr
49096c2359
fix: throw on invalid webRequest filters ( #19337 )
...
Closes #11371 .
Previously, we didn't consider the return value of the webRequest URLPattern mate converter, which meant that when the pattern wasn't correctly parsed owing to invalid filter specification users would not be made aware of that fact and would just think that the filtering itself had failed. This corrects that error by moving the business logic of url pattern parsing out of the converter and into the function itself so that granular and specific errors can be thrown.
There's also no real reason that i'm aware of not to allow wider breadth of filters by letting users use a wildcard for effective TLD, so I also overrode that (default for the 1-arg Parse is not to allow that).
Finally, I added some examples of url filter types for users to reference.
2019-07-25 10:20:02 -07:00
Electron Bot
65648756b5
Bump v7.0.0-nightly.20190725
2019-07-25 08:31:39 -07:00
Charles Kerr
f6fb877de9
chore: pass base::StringPiece args by value ( #19432 )
...
https://cs.chromium.org/chromium/src/base/strings/string_piece.h?l=14
discusses this, saying "Prefer passing StringPieces by value" because
"[p]assing by value generates slightly smaller code."
2019-07-25 10:19:04 -05:00
Shelley Vohr
539078f281
test: clean up and augment Tray module spec ( #19410 )
...
* spec: clean and add a new tray spec
* address feedback from @nornagon
* destroy tray after every test consistently
2019-07-24 21:22:08 -07:00
Jeremy Apthorp
86c2ea1cb8
test: move Notification spec to main process ( #19414 )
2019-07-24 17:18:11 -07:00
Samuel Maddock
95977291f7
feat: preliminary support for //extensions ( #17440 )
2019-07-24 16:01:08 -07:00
Electron Bot
bd526f97a5
chore: bump chromium to 79eae5b7b2d9dac441ac0182ee160 (master) ( #19166 )
2019-07-24 15:58:51 -07:00
Samuel Attard
6d83eaaf4b
build: use a large machine for node tests as they run on N cores
2019-07-24 14:43:49 -07:00
Samuel Attard
a46e459595
build: disable flaky node tests that fail on linux
2019-07-24 14:43:49 -07:00
Samuel Attard
2132fdfa28
fix: ensure we wait for the inspect to disconnect
...
This re-orders our node clean up so that we free the environment before
the task runner is cleaned up as node uses the task runner during clean
up. It also calls WaitForDisconnect() to ensure that inspector agents
are notified that the context is going down.
2019-07-24 14:43:49 -07:00
Samuel Attard
60821c8ab0
build: convert nodejs tap output to junit and store in circleci as test results
2019-07-24 14:43:49 -07:00
Samuel Attard
cf2103d6e9
fix: ensure that the node env is not bootstrapped before running inspector
2019-07-24 14:43:49 -07:00
Samuel Attard
1d06f67672
build: run node tests
2019-07-24 14:43:49 -07:00
Micha Hanselmann
637cfdd9a0
docs: fix broken link in ipcMain docs ( #19401 )
2019-07-24 11:39:39 -07:00
Shelley Vohr
62e6957f68
spec: don't run codesigning spec on forks ( #19418 )
2019-07-24 10:55:16 -07:00
Shelley Vohr
9dfc4eb2ff
test: add tests for systemPreferences apis ( #19419 )
2019-07-24 10:40:12 -07:00
Charles Kerr
898adbce5c
fix: "TypeError: fn is not a function" crash in release notes generator ( #19394 )
...
* fix: fix cache filename of issue comments
* fix: update octokit deprecated API use
* fix: "TypeError: fn is not a function" in notes.js
* chore: retryableFunc does not need to be async
* chore: simplify checkCache() operation param
2019-07-24 13:23:40 -04:00
Caesar Schinas
a25b15bc2a
docs: fix instructions for opting out of dark mode ( #19358 )
...
4d8a055 (#19226 ) introduced incorrect instructions for 'opting out' of dark mode in Electron 7.0.0 and for enabling it on older versions. The boolean values for the `NSRequiresAquaSystemAppearance` key were inverted.
2019-07-24 10:20:25 -07:00
Jeremy Apthorp
d11d222da2
test: move version-bump spec to main process ( #19415 )
2019-07-24 10:16:28 -07:00
Jeremy Apthorp
9910507bc4
test: move BrowserView specs to main process ( #19409 )
2019-07-24 08:44:24 -07:00
Electron Bot
358f4eebae
Bump v7.0.0-nightly.20190724
2019-07-24 08:33:49 -07:00
Richard Townsend
9a7276dffc
fix: remove TLS destruction ( #19365 )
...
Building with dchecks_always_on=true in release configuration seems to
introduce flakiness because the TLS is double-freed. Amending the check
seems to fix the flakiness.
2019-07-24 11:16:53 -04:00
Samuel Attard
b7f554f1dc
docs: make setBounds take a Partial<Rectangle> ( #19416 )
2019-07-23 23:51:22 -07:00
Samuel Attard
bb90a36701
build: update NMV for Electron 7 ( #19369 )
...
Refs: https://github.com/nodejs/node/pull/28774
2019-07-23 23:51:01 -07:00
Jeremy Apthorp
ad6fb20486
test: disable flaky webview.clearHistory test ( #19398 )
2019-07-23 16:54:41 -07:00
Charles Kerr
b3fb7497c2
chore: omit superceded Chromium updates from notes ( #19400 )
...
* feat: omit superceded Chromium updates from notes
* chore: simplify changed code
2019-07-23 13:50:18 -07:00
Milan Burda
103b38650f
feat: add memory to app.getAppMetrics() ( #18831 )
2019-07-23 13:41:58 -07:00
Erick Zhao
2c383b51c1
feat: add rotate gesture for macOS ( #19294 )
...
* feat: add rotate gesture for macOS
* docs: document change
* refactor: rename 'rotate' -> 'rotate-gesture'
* refactor: const float -> float
* forgot one 🤦♂️
2019-07-23 14:42:26 -05:00
CezaryKulakowski
2e3d757f46
Changed line endings from crlf to lf in manifests.cc/h ( #19382 )
2019-07-23 11:17:34 -07:00
Charles Kerr
38507974d6
chore: use base::Environment in Linux MoveItemToTrash() ( #19367 )
...
* chore: use base::Environment in MoveItemToTrash() Linux impl
* chore: remove unnecessary local function XDGUtil()
* chore: tweak code comment
* fix: remove errant reference
2019-07-23 10:25:58 -07:00
Jeremy Apthorp
5dcac23aea
build: make //electron:electron_lib a source_set ( #19372 )
2019-07-23 09:57:40 -07:00
Sofia Nguy
384ba8da64
docs: update public electron timeline ( #19371 )
2019-07-23 09:52:17 -07:00
Electron Bot
13c152717f
Bump v7.0.0-nightly.20190723
2019-07-23 08:31:46 -07:00
Cheng Zhao
eb6660f534
feat: migrate webRequest module to NetworkService (Part 2) ( #19338 )
...
* handlers => intercepted_handlers
* Add stub for InProgressRequest
* Add stub for webRequest.onBeforeRequest/onBeforeSendHeaders/onSendHeaders
* Add stub for webRequest.onCompleted/onHeadersReceived
* Add stub for webRequest.onResponseStarted
* Add comment for the class
2019-07-22 15:01:45 -07:00
Samuel Attard
d45694dcb0
chore: use circleci v2.1 ( #19346 )
...
This allows us to have a workflow for release-builds that only runs when
we trigger it via API. This will be used to implement a /ci command to
allow folks to trigger release-style builds on their PRs.
2019-07-22 13:31:32 -07:00
Electron Bot
6ff2d69842
Bump v7.0.0-nightly.20190722
2019-07-22 08:31:37 -07:00
Shelley Vohr
3395a1d4db
doc: improve EventEmitter md formatting ( #19345 )
2019-07-22 08:20:43 -07:00
Shelley Vohr
0490189531
fix: correctly convert MessageBoxType ( #19349 )
2019-07-22 08:19:24 -07:00
Electron Bot
526f9d442d
Bump v7.0.0-nightly.20190721
2019-07-21 08:31:02 -07:00
Electron Bot
6e55b81c56
Bump v7.0.0-nightly.20190720
2019-07-20 08:31:16 -07:00
Mark Lee
0c0197a0ef
docs: update Electron Packager links ( #19333 )
2019-07-19 18:52:11 -07:00
Shelley Vohr
1f2f1fb82d
fix: emit swipe event on macOS ( #19319 )
2019-07-19 16:21:07 -07:00
Micha Hanselmann
42d4c579c3
fix zoom button when alwaysOnTop set ( #19314 )
2019-07-19 16:17:59 -07:00
John Kleinschmidt
e389fa75ea
test: run all tests on arm linux platforms ( #19318 )
...
* test: run all tests on arm platforms
* Use Ubuntu 18.04 for arm64 CI
2019-07-19 16:15:47 -07:00
Micha Hanselmann
dc30b86377
feat: support isHighContrastColorScheme() on macOS ( #19331 )
...
* change docs
* use NativeTheme to check high contrast scheme
2019-07-19 16:04:42 -07:00
Electron Bot
1edbd30987
Bump v7.0.0-nightly.20190719
2019-07-19 08:32:01 -07:00
Samuel Attard
8fc38ed549
build: update symbol generation logic for all helpers ( #19336 )
2019-07-19 08:02:43 -07:00
Samuel Attard
6fc648cd25
fix: bootstrap the node environment after we setup the InspectorAgent ( #19317 )
2019-07-18 16:54:23 -07:00
Micha Hanselmann
2467350180
feat: support mouse-move event of Tray API on Windows ( #19265 )
...
* add Tray.mouse-move on win
* change docs
2019-07-18 10:52:15 -07:00
Richard Townsend
9711fc895e
docs: describe how to install Meiryo ( #19308 )
...
Fixes #19201
2019-07-18 10:51:34 -07:00
Samuel Attard
d82e7af9be
chore: upgrade transitive lodash dependency ( #19297 )
2019-07-18 09:59:09 -07:00
Electron Bot
90684bd5b1
Bump v7.0.0-nightly.20190718
2019-07-18 08:33:13 -07:00
Shelley Vohr
3ee95cf0e8
feat: support css origin in frame.insertCSS ( #19268 )
...
* feat: support css origin in frame.insertCSS
* move cssOrigin to an options object
2019-07-17 14:34:05 -07:00
Shelley Vohr
e510816cf6
test: robustify MenuItem label/accel tests ( #19287 )
...
* test: robustify MenuItem label/accel tests
* correct truthy assertion checks
* ensure message correctly set for boolean asserts
2019-07-17 14:32:47 -07:00
Samuel Attard
afa5266c7e
chore: upgrade node to 12.6.0 ( #19312 )
2019-07-17 14:22:27 -07:00
Samuel Attard
fbcbdb051b
build: remove unused node patches ( #19296 )
2019-07-17 12:33:41 -07:00
Cheng Zhao
478360f317
chore: use dummy WebRequestNS when NetworkService is enabled ( #19300 )
2019-07-17 11:55:55 -07:00
Milan Burda
c79613b037
chore: convert more files to TypeScript ( #18820 )
2019-07-17 10:23:52 -07:00
Electron Bot
134d76dcdd
Revert "Bump v7.0.0-nightly.20190717"
...
This reverts commit 7b69730e82 .
2019-07-17 09:18:38 -07:00
Electron Bot
7b69730e82
Bump v7.0.0-nightly.20190717
2019-07-17 08:31:14 -07:00
Jeremy Apthorp
8452a7ffa5
test: move systemPreferences spec to main process ( #19237 )
...
* test: move systemPreferences spec to main process
* Update api-system-preferences-spec.ts
* Update api-system-preferences-spec.ts
2019-07-17 09:14:32 +09:00
Milan Burda
d1c9f5e309
fix: don't execute preload scripts for internal <iframe> in <webview> ( #19260 )
2019-07-17 09:13:05 +09:00
Micha Hanselmann
b57e623c11
refactor: use NativeTheme dark mode detection on macOS 10.14+
2019-07-16 17:06:31 -07:00
Jeremy Apthorp
70857e9a5d
test: move more BrowserWindow specs ( #19290 )
...
* test: move more BrowserWindow specs
* use async instead of setTimeout for cleaner code
2019-07-16 16:37:17 -07:00
Jeremy Apthorp
42f283c281
test: re-add accidentally deleted test ( #19282 )
...
this was lost due to a tragic merge incident in #19182
2019-07-16 15:45:35 -07:00
Samuel Attard
3ded946686
build: simplify node patches ( #19286 )
...
* build: collapse all BUILD.gn modifications into the original GN file patch
* build: collapse all the js2c.py changes into a single patch with a good explanation
2019-07-16 14:38:17 -07:00
Jeremy Apthorp
c5e249b85c
test: actually test sandbox events in the test that says 'test sandbox events' ( #19284 )
2019-07-16 13:43:23 -07:00
Jeremy Apthorp
b5f69e0b9f
test: disable security warnings in main runner ( #19283 )
2019-07-16 13:43:00 -07:00
Jeremy Apthorp
355b307618
test: move MenuItem spec to main process ( #19235 )
...
* test: move MenuItem spec to main process
* spec: fix errant default accel test
* Update menu-item-roles.js
* Update api-menu-item-spec.ts
2019-07-16 12:54:18 -07:00
Shelley Vohr
3d2eb8360a
chore: remove tls check script ( #19280 )
2019-07-16 12:04:02 -07:00
Samuel Attard
9a7426dc25
build: use our patch system to apply patches to upstream node ( #19270 )
...
This points our node repo at upstream (nodejs/node) and uses the base node tag as the target ref. We then use our existing patch system and patch files to apply our changes on top of node. This unifies how we patch upstream repos and makes our node patches easier to reason, view, understand and most importantly reduce.
2019-07-16 10:23:04 -07:00
Erick Zhao
4d547bdd3a
docs: mention fiddle in bug report template ( #19248 )
...
* chore: mention fiddle in bug report template
* add words
2019-07-15 22:16:02 -07:00
Jeremy Apthorp
27599a851f
test: move some BrowserWindow specs to the main process ( #19182 )
...
* test: move some BrowserWindow specs to the main process
* uncomment cross-site test
* move more tests
* re-enable, refactor and move visibilitychange specs
* move new-window event tests and re-enable them on mac
* move max/minimize event tests
* move modal tests
* move beginFrameSubscription tests
* move savePage test
* move BrowserWindow options argument is optional test
* move restore, unmaximize, fullscreen tests
* move parent window tests
* don't wait for show event on windows (#8664 )
* add debugging logs to fullscreen tests
* more debugging on windows
* explicitly destroy browserviews to prevent crash during gc
* only await show on darwin
* more event timing fixes
* disable max/minimize event tests on linux, since they're broken on CI
2019-07-15 21:13:32 -07:00
Milan Burda
7249b25868
refactor: replace SetHiddenValue() with mate::Dictionary::SetHidden() ( #19263 )
2019-07-16 11:50:38 +09:00
Shelley Vohr
aa211c6c50
chore: update to Node.js v12.4.0 ( #18924 )
...
* chore: update to node 12.4.0
* chore: fix js2c compilation and usage
* update branch reference
* chore: roll node
* refactor: use the new node::options_parser::Parse method
* fix: make node create our context for us so that everything is initialized correctly
* fix: let node do it's thing to the all contexts
We need to let node know about all the contexts that Chromium creates for the renderer processes so that it does not crash when trying to access primordials. Similar to node::NewContext but with an existing context
* chore: roll node
* chore: roll node
* chore: roll node
* chore: roll node
* fix: ensure that _noBrowserGlobals is set before the node bootstrapper runs
Co-authored-by: Jeremy Apthorp <jeremya@chromium.org >
2019-07-15 18:58:39 -07:00
Micha Hanselmann
da672a3b5c
feat: support systemPreferences.isDarkMode() on Windows ( #19217 )
...
* add support for isDarkMode on Windows
* use NativeTheme for darkmode detection
2019-07-15 14:37:33 -07:00
Jeremy Apthorp
4439249617
refactor: simplify RemoveFromLoginItems ( #19179 )
2019-07-15 14:36:23 -07:00
Shelley Vohr
50f4977048
docs: differentiate static/instance class props ( #19196 )
2019-07-15 10:15:32 -07:00
Shelley Vohr
f6a29707b6
feat: app.moveToApplicationsFolder conflict handling ( #18916 )
...
Resolves #18805 .
We want to keep default move conflict handling behavior in that it's still what most users would expect, but there exist edge cases in which users may not want to be forced into that behavior.
This thus introduces an optional conflict handler that allows developers access to more granular move actions. They could now allow the user to choose whether to delete an existing app in favor of the current one being moved, or whether to quit the current app and focus on the existing one should it both exist and be running. I added a fair amount of new documentation outlining this behavior, but if there are things users may benefit from seeing examples of or nuances that should be added please leave feedback!
2019-07-15 09:34:20 -07:00
Electron Bot
0db6789210
Revert "Bump v7.0.0-nightly.20190715"
...
This reverts commit bd50115bfe .
2019-07-15 09:16:09 -07:00
Electron Bot
bd50115bfe
Bump v7.0.0-nightly.20190715
2019-07-15 08:31:35 -07:00
Micha Hanselmann
b49ca7ba2e
check for sandbox param on root ( #19216 )
2019-07-15 09:38:41 -05:00
Samuel Attard
6d5e494782
fix: serialize messages being sent over chrome message ports ( #19104 )
...
Chrome appears to serialize these messages (see #19070 ) so we should as
well to be consistent and to avoid bugs with Uint8/16 arrays
Fixes #19070
2019-07-15 19:05:09 +09:00
Thiago de Arruda
d0ece2bc93
docs: Add command to quickly fix the SMBv2 cache ( #19210 )
...
Running this command is more convenient than manually editing regedit.
2019-07-15 17:57:33 +09:00
Felix Rieseberg
2ce68df27a
docs: Update incorrect author name ( #19247 )
2019-07-15 17:51:06 +09:00
Charles Kerr
c9bc4aeb90
docs: remove redundant 'set origin' section ( #19243 )
...
* docs: fix remote push origin docs
* docs: remove redundant section
the 'git remote' text in the 'Getting the Code' section is better
2019-07-15 17:42:11 +09:00
Jeremy Apthorp
f101c72cbe
spec: move powerSaveBlocker spec to main process ( #19236 )
2019-07-15 17:38:01 +09:00
Jeremy Apthorp
a4cffd29b7
test: move globalShortcut spec ( #19233 )
2019-07-15 17:29:29 +09:00
Jeremy Apthorp
1ff2704445
test: move inAppPurchase spec ( #19232 )
2019-07-15 17:28:55 +09:00
Jeremy Apthorp
8a57fe5466
test: move ipcMain spec ( #19230 )
2019-07-15 17:23:59 +09:00
Jeremy Apthorp
3957a791b7
test: move contentTracing specs to main process ( #19229 )
2019-07-15 17:23:35 +09:00
Samuel Attard
4d8a05568b
feat: enable dark mode support by default on macOS ( #19226 )
...
This adds the NSRequiresAquaSystemAppearance key to our default Info.plist file which will tell macOS to auto-switch our effectiveAppearance in sync with the OS. The dark mode documentation has been updated to reflect how to opt *out* of this but it is also noted that certain dark mode APIs will not work on Catalina if you opt out.
2019-07-15 17:23:12 +09:00
Samuel Attard
ab8b940151
fix: add support for prefers-color-scheme CSS query ( #19228 )
...
The wiring to update prefs when you toggle between dark mode and light mode exists in the content layer but the actual value setting is done in either //chrome or in shell. We need to set the preferred_color_scheme pref value in order for the CSS query to work correctly. The DarkModeObserver in content will automatically regenerate prefs when dark mode is toggled.
Fixes #15540
2019-07-15 17:22:25 +09:00
Ian Sanders
079a173a72
feat: add stack trace log to preload script error handling ( #18905 )
...
* Add console.trace to preload script error handling
* Log error directly instead of error string + trace
* Log full error object instead of error message
2019-07-14 21:54:33 -07:00
Electron Bot
e6e94fc59d
Bump v7.0.0-nightly.20190714
2019-07-14 08:31:41 -07:00
Electron Bot
32fec3e8f9
Bump v7.0.0-nightly.20190713
2019-07-13 08:32:19 -07:00
Electron Bot
150a92d093
Bump v7.0.0-nightly.20190712
2019-07-12 08:31:51 -07:00
Milan Burda
beb996b847
docs: specify possible values for ProcessMetric.type ( #19203 )
2019-07-12 14:10:18 +03:00
Erick Zhao
9a42ddd2b8
chore: revert key -> main change in window delegate listener ( #19213 )
...
* chore: revert key -> main
* chore: comment out test that will fail
* more context on commented out test
* remove commented test
2019-07-12 17:46:35 +09:00
Milan Burda
35294891ae
fix: <webview> not working in scriptable popups ( #19198 )
2019-07-11 20:56:04 -05:00
Alexandre Lacheze
e26f366405
Revert: electron/electron#14487 ( #19011 )
2019-07-11 17:25:26 -05:00
Shelley Vohr
75a020e0ac
feat: expose new vibrancy types ( #19073 )
2019-07-11 14:10:45 -05:00
Milan Burda
c756b955b3
fix: revert use of IPC helpers for history due to failing test ( #19189 )
2019-07-11 20:25:07 +03:00
Louis Rose
79114ff40a
feat: add object to subscribe notification callback ( #19110 )
2019-07-11 10:06:31 -07:00
lvs
6d34314457
Remind user the executeJavaScript will not run their code immediately ( #19129 )
...
Remind user the contents.executeJavaScript will not run their code immediately if the web page still in running. Without the knowledge, user would think their code not function properly and it's hard to debug because different page have different loading time.
According to [web-contents.js](731edbe2b6/lib/browser/api/web-contents.js (L199) )
2019-07-11 10:55:30 -05:00
Electron Bot
0dbeb49ee0
Bump v7.0.0-nightly.20190711
2019-07-11 08:31:15 -07:00
Micha Hanselmann
1f70dfbffd
chore: deprecate setHighlightMode ( #19202 )
2019-07-11 10:11:46 -05:00
Micha Hanselmann
06d48514c6
add toolTip property for MenuItem ( #19099 )
2019-07-11 17:56:22 +09:00
Electron Bot
692df804cf
Bump v7.0.0-nightly.20190710
2019-07-10 08:31:51 -07:00
Julien Isorce
8b31953d40
feat: Can a window always on top but behind the taskbar on Win32 ( #18982 )
...
For now it only adds the ability to place the window below
the task bar while still being always on top.
Previous behaviour was always showing the window above the task
bar when top is true. We keep this default behaviour, i.e. when
the 'level' parameter is omitted.
https://github.com/electron/electron/issues/18933
Notes: Can set a window always on top but behind the taskbar on Windows
2019-07-10 09:40:11 -05:00
Cheng Zhao
faa2710485
fix: do not wait on promise returned by remote APIs ( #18990 )
...
* fix: make <webview>.loadURL async
* docs: webview.loadURL returns Promise
2019-07-10 08:20:28 -05:00
Alexey Kuzmin
015e1348e0
ci: do not use the MOCHA_FILE env variable ( #19171 )
...
It is not used in a expected way anyway.
2019-07-09 15:56:46 -05:00
Electron Bot
e3440f1975
Bump v7.0.0-nightly.20190709
2019-07-09 08:31:45 -07:00
Micha Hanselmann
62a3666773
remove non-existent event ( #19126 )
2019-07-09 17:45:18 +03:00
Milan Burda
fdbb97e876
chore: update to latest TypeScript 3.5.2 ( #19133 )
2019-07-09 14:44:46 +03:00
Milan Burda
b32bee5d84
refactor: implement GetResourcesPath using MainApplicationBundlePath on Mac ( #19135 )
2019-07-09 12:56:40 +03:00
Cheng Zhao
436d5c9ac1
fix: use gn/clang-format from src ( #19145 )
...
* fix: use gn/clang-format from src
* fix: download clang-format in lint job
* chore: fix linting warning
* chore: get_path_in_buildtools => get_buildtools_executable
* chore: the clang-format npm package is not used
2019-07-09 17:40:26 +09:00
Micha Hanselmann
d79e6bbffe
refactor: improve function deprecation module ( #19012 )
...
* add removeFunction to deprecation module
* clarify deprecate api
* throw error
* change error msg
2019-07-09 10:01:35 +09:00
Electron Bot
a90306876e
chore: bump chromium to b8ae827f4fead0b527079194b9899 (master) ( #19112 )
...
* chore: bump chromium in DEPS to c87ad34dfd48610959977db9b6eeeb86f5feafe9
* chore: rebase patches
* chore: bump chromium in DEPS to ad29fca14d77b2a1752f24d9425278c6737c0f70
* chore: bump chromium in DEPS to 22c21a9cc728e7958e3ac1033cfdc6ed0f0a8b10
* chore: bump chromium in DEPS to 8c86dd7f76abf4ad1ab41796d2da6172b1b10866
* chore: update patches
* chore: bump chromium in DEPS to 5a48e127c8cb8ae827f4fead0b527079194b9899
* remove TransformPointToLocalCoordSpaceLegacy
https://chromium-review.googlesource.com/c/chromium/src/+/1637525
2019-07-09 10:00:24 +09:00
Milan Burda
419ce494e9
refactor: use IPC helpers in window-setup ( #17948 )
2019-07-09 02:43:49 +03:00
Jeremy Apthorp
c3ae476deb
test: move some browser window specs to the main process ( #19089 )
2019-07-08 15:44:37 -07:00
Electron Bot
a04a458156
Bump v7.0.0-nightly.20190708
2019-07-08 08:32:08 -07:00
Milan Burda
550b2269be
build: strip recently added swiftshader/libvulkan.so ( #19141 )
2019-07-08 15:21:04 +03:00
Milan Burda
69369cf365
refactor: don't expose isPromise as an internal module ( #19139 )
2019-07-08 15:17:50 +09:00
Adam Leskis
949f8685d2
docs: fix simple typo in api for webview-tag ( #19028 )
2019-07-07 20:58:55 -07:00
Julien Isorce
09c3277b42
feat: Implement BrowserWindow.setFocusable on macOS ( #19033 )
...
It was not implemented on Mac despite being available as a constructor
option. Implementation already exists on Windows. Linux case can be
separately.
https://github.com/electron/electron/issues/19032
Notes: Implemented BrowserWindow.setFocusable on macOS.
2019-07-08 11:34:18 +09:00
John Kleinschmidt
e6a7a84834
build: fix ffmpeg gn gen ( #19127 )
...
* revert #18993
* build: fix ffmpeg GN gen
2019-07-08 10:30:57 +09:00
Electron Bot
106cc6189c
Bump v7.0.0-nightly.20190707
2019-07-07 08:31:09 -07:00
Electron Bot
269a93177d
Bump v7.0.0-nightly.20190706
2019-07-06 08:31:06 -07:00
Jeremy Apthorp
731edbe2b6
fix: dump correct breakpad symbols on macOS ( #19042 )
...
* fix: dump correct symbols on macOS
* refactor symbol dumping
* .exe/.dll on windows
* dump .exe.pdb/.dll.pdb; also add path for msdia140.dll
* undo breakpad_symbols.zip rename
* dump_syms.exe doesn't support -i on windows
* remove unused windows symbol generation script
* win fix 🤞 🤞
* import errno
* use out_dir
* i tender my resignation
2019-07-05 10:38:30 -07:00
Electron Bot
acdb290469
Bump v7.0.0-nightly.20190705
2019-07-05 08:31:30 -07:00
Milan Burda
87b1dab497
fix: check parent-child relationship in canAccessWindow ( #19077 )
2019-07-04 18:22:08 +02:00
Electron Bot
c933d19a1b
Bump v7.0.0-nightly.20190704
2019-07-04 08:32:21 -07:00
Cheng Zhao
2a3793485f
feat: implement net module with NetworkService ( #19094 )
...
* Stub class for NetworkService-based URLRequest
* Create SimpleURLLoader
* Implement downloading
* Implement response event
* Only write data afte previous one finished
* Use DataPipeGetter for uploading data
* Support chunked upload data
* Call size callback at last
* Simplify UploadDataPipeGetter
* Implement cancelling and closing
* Handle redirection
* Fix uploading large data
* Emit error when request fails
* Emit error for redirection error
* Simplify emitting error
* "follow" should also emit "redirect" event
* SetLoadFlags is not really used
* Implement GetUploadProgress
* Implement FollowRedirect
* Fix exception with multiple redirections
* Reduce number of EmitEvent methods
* Emit response errors
* FetchRedirectMode => RedirectMode
2019-07-04 10:56:19 +09:00
Samuel Attard
4b674c1daf
build: ensure that we bundle the correct version of @types/node ( #19102 )
2019-07-03 16:36:59 -07:00
Samuel Attard
5a1b661f42
fix: use bidning.ipc instead of binding.sendTo which is undefined ( #19103 )
2019-07-03 16:36:44 -07:00
Samuel Attard
e6108740c0
fix: handle no env in externsion world set up ( #19101 )
...
Previously when GetEnvironment returned null this extension setup
crashed.
2019-07-03 15:42:06 -07:00
Jeremy Apthorp
da64fae690
test: disable IAP tests that hit Apple servers ( #19100 )
2019-07-03 15:41:37 -07:00
Shelley Vohr
43b4a3ae6a
chore: deprecate some NSVisualEffectMaterial types ( #19072 )
2019-07-03 14:56:03 -07:00
Electron Bot
d362be5cd9
chore: bump chromium to f156cb7658ec5382f5623a05841c6 (master) ( #19096 )
...
* chore: bump chromium in DEPS to 37cd06a295cf156cb7658ec5382f5623a05841c6
* update patches
* fix: replace NO_TRAFFIC_ANNOTATION_YET with MISSING_TRAFFIC_ANNOTATION
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1653256
2019-07-03 14:48:55 -07:00
Jeremy Apthorp
ae01a48fca
chore: fix node ref to point to the ref that was merged ( #19098 )
2019-07-03 14:08:21 -07:00
Jeremy Apthorp
d1292833e9
chore: remove unused BrowserWindow.fromDevToolsWebContents ( #19090 )
2019-07-03 12:07:47 -07:00
Shelley Vohr
8782d06ed6
feat: convert webContents primitives to properties ( #18998 )
...
* feat: convert webContents primitives to properties
* address feedback from review
2019-07-03 08:57:10 -07:00
Electron Bot
de072c6ef5
Bump v7.0.0-nightly.20190703
2019-07-03 08:31:34 -07:00
Milan Burda
69ea0b4ebf
fix: ignore non-absolute session preload script paths when sandboxed ( #19066 )
2019-07-03 08:05:45 -07:00
Electron Bot
50b9c7051e
chore: bump chromium to f1d9522c04ca8fa0a906f88ababe9 (master) ( #18648 )
...
* chore: bump chromium in DEPS to 675d7dc9f3334b15c3ec28c27db3dc19b26bd12e
* chore: update patches
* chore: bump chromium in DEPS to dce3562696f165a324273fcb6893f0e1fef42ab1
* chore: const interfaces are being removed from //content
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1631749
Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=908139
* chore: update patches
* chore: blink::MediaStreamType is now consistent and deduplicated
* chore: update patches and printing code for ref -> uniq
* chore: bridge_impl() --> GetInProcessNSWindowBridge
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1642988
* fixme: TotalMarkedObjectSize has been removed
* chore: fix linting
* chore: bump chromium in DEPS to 9503e1a2fcbf17db08094d8caae3e1407e918af3
* chore: fix slightly broken printing patch
* chore: update patches for SiteInstanceImpl changes
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1612025
* chore: update patches for SiteInstanceImpl changes
* chore: bump chromium in DEPS to 6801e6c1ddd1b7b73e594e97157ddd539ca335d7
* chore: update patches
* chore: bump chromium in DEPS to 27e198912d7c1767052ec785c22e2e88b2cb4d8b
* chore: remove system_request_context
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1647172
* chore: creation of FtpProtocolHandler needs an auth cache
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1639683
* fixme: disable marked spec
* chore: bump chromium in DEPS to 3dcd7fe453ad13a22b114b95f05590eba74c5471
* chore: bump chromium in DEPS to bdc24128b75008743d819e298557a53205706e7c
* chore: bump chromium in DEPS to 7da330b58fbe0ba94b9b94abbb8085bead220228
* update patches
* remove TotalMarkedObjectSize
https://chromium-review.googlesource.com/c/chromium/src/+/1631708
* add libvulkan.so to dist zip manifest on linux
* chore: bump chromium in DEPS to 1e85d0f45b52649efd0010cc9dab6d2804f24443
* update patches
* add angle features to gpuinfo
https://chromium-review.googlesource.com/c/chromium/src/+/1638658
* mark 'marked' property as deprecated
* disable webview resize test
* FIXME: disable vulkan on 32-bit arm
* chore: bump chromium in DEPS to cd0297c6a83fdd2b1f6bc312e7d5acca736a3c56
* Revert "FIXME: disable vulkan on 32-bit arm"
This reverts commit 5c1e0ef302a6db1e72231d4e823f91bb08e281af.
* backport from upstream: fix swiftshader build on arm
https://swiftshader-review.googlesource.com/c/SwiftShader/+/32768/
* update patches
* viz: update OutputDeviceWin to new shared memory api
https://chromium-review.googlesource.com/c/chromium/src/+/1649574
* base::Contains{Key,Value} => base::Contains
https://chromium-review.googlesource.com/c/chromium/src/+/1649478
* fixup! viz: update OutputDeviceWin to new shared memory api
* stub out StatusIconLinuxDbus-related delegate methods
https://chromium-review.googlesource.com/c/chromium/src/+/1638180
* chore: bump chromium in DEPS to 964ea3fd4bdc006d62533f5755043076220181f1
* Remove the BrowserContext methods to create URLRequestContexts for main/media partitions when a partition_domain is specified
https://chromium-review.googlesource.com/c/chromium/src/+/1655087
* fixup! stub out StatusIconLinuxDbus-related delegate methods
* add remote_cocoa to chromium_src deps
https://chromium-review.googlesource.com/c/chromium/src/+/1657068
* fixup! stub out StatusIconLinuxDbus-related delegate methods
* attempt at fix linux-debug build
* add swiftshader/libvulkan.so to arm manifest
* chore: bump chromium in DEPS to 28688f76afef27c36631aa274691e333ddecdc22
* update patches
* chore: bump chromium in DEPS to fe7450e1578a9584189f87d59d0d1a8548bf6b90
* chore: bump chromium in DEPS to f304dfd682dc86a755a6c49a16ee6876e0db45fb
* chore: bump chromium in DEPS to f0fd4d6c365aad9edd83bdfff9954c47d271b75c
* Update patches
* Remove no longer needed WOA patch
* Put back IOThread in BrowserProcess
We need this until we enable the network service.
* move atom.ico to inputs
* Update to latest LKGR to fix no template named 'bitset' in namespace 'std'
* fixup! Put back IOThread in BrowserProcess
* chore: bump chromium in DEPS to dcf9662dc9a896a175d791001350324167b1cad3
* Update patches
content_allow_embedder_to_prevent_locking_scheme_registry.patch is no longer necessary as it was upstreamed via https://chromium-review.googlesource.com/c/chromium/src/+/1637040
* Fix renamed enum
* Use newer docker container
Contains updated dependencies
* Try to track down arm test failures
* Fix arm tests
* chore: bump chromium in DEPS to 8cbceef57b37ee14b9c4c3405a3f7663922c5b5d
* Update patches
* Add needed dependencies for testing 32-bit linux
* Remove arm debugging.
* Remove additional debugging
* Fix compiler errors
* Handle new macOS helper
* Fix compile error on Linux
* chore: bump chromium in DEPS to 66a93991ddaff6a9f1b13d110959947cb03a1860
* Add new helper files to manifests
* fix BUILD.gn for macOS
* Fix compile errors
* Add patch to put back colors needed for autofill/datalist
* chore: bump chromium in DEPS to e89617079f11e33f33cdb3924f719a579c73704b
* Updated patches
* Remove no longer needed patch
* Remove no longer needed patch
* Fix compile error with patch
* Really fix the patch
* chore: bump chromium in DEPS to c70f12476a45840408f1d5ff5968e7f7ceaad9d4
* chore: bump chromium in DEPS to 06d2dd7a8933b41545a7c26349c802f570563fd5
* chore: bump chromium in DEPS to b0b9ff8f727deb519ccbec7cf1c8d9ed543d88ab
* Update patches
* Fix compiler errors
* Fix removed ChromeNetLog
* Revert "Fix removed ChromeNetLog"
This reverts commit 426dfd90b5ab0a9c1df415d71c88e8aed2bd5bbe.
* Remove ChromeNetLog.
https://chromium-review.googlesource.com/c/chromium/src/+/1663846
* chore: bump chromium in DEPS to fefcc4926d58dccd59ac95be65eab3a4ebfe2f29
* Update patches
* Update v8 patches
* Fix lint error
* Fix compile errors
* chore: bump chromium in DEPS to 4de815ef92ef2eef515506fe09bdc466526a8fd9
* Use custom protocol to test baseURLForDataURL
* Use newer SDK (10.0.18362) for Windows
* Update patches
* Update arm manifest since swiftshader reenabled.
* Don't delete dir that isn't ever there.
* Fix compile errors.
* Need src dir created
* Update for removed InspectorFrontendAPI.addExtensions
* Revert "Use newer SDK (10.0.18362) for Windows"
This reverts commit 68763a0c88cdc44b971462e49662aecc167d3d99.
* Revert "Need src dir created"
This reverts commit 7daedc29d0844316d4097648dde7f40f1a3848fb.
* Revert "Don't delete dir that isn't ever there."
This reverts commit bf424bc30ffcb23b1d9a634d4df410342536640e.
* chore: bump chromium in DEPS to 97dab6b0124ea53244caf123921b5d14893bcca7
* chore: bump chromium in DEPS to c87d16d49a85dc7122781f6c979d354c20f7f78b
* chore: bump chromium in DEPS to 004bcee2ea336687cedfda8f8a151806ac757d15
* chore: bump chromium in DEPS to 24428b26a9d15a013b2a253e1084ec3cb54b660b
* chore: bump chromium in DEPS to fd25914e875237df88035a6abf89a70bf1360b57
* Update patches
* Update node to fix build error
* Fix compile errors
* chore: bump chromium in DEPS to 3062b7cf090f1d9522c04ca8fa0a906f88ababe9
* chore: update node ref for pushed tags
* chore: update patches for new chromium
* chore: fix printing patches
* Use new (10.0.18362) Windows SDK
* roll node to fix v8 build issues in debug build
* Add support for plugin helper
* fix: add patch to fix gpu info enumeration
Can be removed once CL lands upstream.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1685993
* spec: navigator.requestMIDIAccess now requires a secure origin
This test requires a secure origin so we fake one.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1657952
* FIXME: temporarily disable SharedWorker tests
* use released version of node-abstractsocket
* fix abstract-socket
2019-07-02 18:22:09 -07:00
Samuel Attard
9bef48216f
build: update our nan reference to point at the upstream ( #19084 )
...
The required fix has landed, let's target upstream
2019-07-02 13:54:22 -07:00
Jeremy Apthorp
616856552f
test: fix flaky onbeforeunload tests ( #19085 )
2019-07-02 13:48:58 -07:00
Jeremy Apthorp
c2d78deeca
test: attempt to fix flaky webview.clearHistory test ( #19083 )
2019-07-02 13:48:26 -07:00
Electron Bot
39c4a5411d
Bump v7.0.0-nightly.20190702
2019-07-02 08:32:51 -07:00
Chase Colman
9a4e551c8b
docs: fix undefined isMac in menu example ( #19071 )
...
* docs: fix undefined isMac in menu example
* docs: remove ; in example
2019-07-02 10:09:10 -05:00
Jerry Wu
dee331519c
fix: disable nodeIntegration & insecure resource warnings for localhost ( #18814 )
...
* fix: disable remote host nodeIntegration warning for localhost
In warnAboutNodeWithRemoteContent(), add a check to see if the hostname
is "localhost" and prevent the warning message if it is.
* fix: disable loading insecure resources warning for localhost
In warnAboutInsecureResources(), filter out resources from localhost
since they are most likely not a threat.
* test: add tests for ignoring security warnings when using localhost
Add tests for ignoring warning messages for the following scenarios:
1. node integration with remote content from localhost
2. loading insecure resources from localhost
* test: fix insecure resource test
* test: pass nodeIntegration with remote test on did-finish-load
* test: maybe fix node integration test (error w/ conv circular struct)
* test: update test description
* test: use "load" event to check when nodeIntegration test has finished
Instead of relying on the "did-finish-load" event, which may result in
a race condition, add an "onload" handler that logs "loaded" to the
console. This will execute _after_ the nodeIntegration check, so it
can be safely used as a signal to indicate that the test is done.
* test: rename base-page-security-load-message.html
* fix: ignore enabled remote module warning for localhost
* refactor: add isLocalhost()
2019-07-02 19:36:50 +09:00
Samuel Attard
4e2990d3aa
docs: make the dialog example work out of the box on all 3 platforms ( #19055 )
2019-07-01 16:53:07 -07:00
Shelley Vohr
21d04ed3f4
feat: improve callback value for webContents.print() ( #19000 )
...
Resolves #18980 .
Adds granularity to the optional callback in webContents.print() by adding a failureType value in addition to the success boolean that differentiates between cancelled and failed print jobs.
2019-07-01 14:03:19 -07:00
Shelley Vohr
5154b95447
chore: update @types/node and @primer/octicons ( #19025 )
2019-07-01 11:25:45 -07:00
Heilig Benedek
5a3073128c
fix: add shell=True to make run-gn-format run properly on Windows ( #18993 )
2019-07-01 10:47:16 -07:00
Erick Zhao
c7da54e82a
fix: Correct modal focus behavior on macOS ( #18995 )
...
Fixes #18502
This PR changes the focus and blur events that we emit in Electron to listen to changes in key window rather than main window. It swaps out windowDidBecomeMain and windowDidResignMain for windowDidBecomeKey and windowDidResignKey, respectively.
2019-07-01 10:07:26 -07:00
Electron Bot
3173b66d00
Bump v7.0.0-nightly.20190701
2019-07-01 08:31:22 -07:00
Shelley Vohr
3038846f5d
chore: DirectoryLister memory management improvement ( #18634 )
...
* chore: small memory management improvement
Co-authored-by: Charles Kerr <ckerr@github.com >
* chore: fix code style
* use start-from-one ref count, check ref_counted.h for motivations
* reuse list_base_dir_
* net::DirectorLister offloads directory enumeration to a different
task sequence in its implementation, use of sequence runner on
our end is unnecessary
* Don't manually `Release` in `WebContentsDestroyed`, content::FileSelectListener
already handles this case.
2019-07-01 07:58:06 -07:00
Milan Burda
3859244a79
chore: remove unused switches::kDisableHtmlFullscreenWindowResize ( #19041 )
2019-07-01 11:58:39 +09:00
Erick Zhao
cc223d7cd2
fix: fire close event upon closing modal BrowserWindow in macOS ( #19014 )
...
* fix: emit close event from modal on macOS
* fix: Move fn call to correct spot
* refactor: call notify fn directly
2019-07-01 11:57:31 +09:00
Electron Bot
f62d9f1411
Bump v7.0.0-nightly.20190630
2019-06-30 08:31:45 -07:00
Shelley Vohr
0348b60a34
feat: add a series of new printing options ( #18984 )
2019-06-29 22:12:00 -07:00
Electron Bot
684d1838f9
Bump v7.0.0-nightly.20190629
2019-06-29 08:31:55 -07:00
Jeremy Apthorp
6ece477779
refactor: nws13n: setCertificateVerifyProc ( #18221 )
2019-06-28 15:22:23 -07:00
Erick Zhao
e03a40026a
fix: correct triggeredByAccelerator Event property behavior ( #18865 )
...
Fixes #18808
Previously, the triggeredByAccelerator flag would be entirely coupled with whether or not the modifier keys were being used or not.
This PR swaps out the ui::EventFlagsFromModifiers([event modifierFlags])) call in the macOS code to ui::EventFlagsFromNSEventWithModifiers(event, [event modifierFlags])). The latter outputs flags that take into account mouse click events on top of modifier flags (see Chromium documentation).
The business logic to detect triggeredByAccelerator is then changed to exclude any mouse click flags.
2019-06-28 14:38:17 -07:00
Samuel Attard
6eed4a98ce
fix: do not remove node globals when context isolation is enabled ( #18967 )
2019-06-28 14:37:00 -07:00
Cheng Zhao
1d8e16bc6e
docs: UploadData does not have contentType ( #19026 )
2019-06-28 11:19:01 -07:00
Electron Bot
23b8c9c917
Revert "Bump v7.0.0-nightly.20190628"
...
This reverts commit 769dcce9d7 .
2019-06-28 09:07:12 -07:00
Electron Bot
769dcce9d7
Bump v7.0.0-nightly.20190628
2019-06-28 08:31:15 -07:00
Shelley Vohr
a4f61565c3
fix: crash when tray popup called twice ( #18999 )
2019-06-28 08:24:54 -07:00
Micha Hanselmann
e44bb8474b
test: move tray api tests to main process ( #18986 )
2019-06-28 07:43:04 -07:00
Cheng Zhao
0a9438dbba
docs: documentation of NetworkService-based protocol module ( #18952 )
...
* docs: NetworkService-based protocol module
* docs: separate ProtocolRequest
* docs: separate ProtocolResponse
* docs: fix lint warning
* docs: fix electron.d.ts
* fix: print deprecation warnings for protocol module
* docs: fix links
* Apply suggestions from code review
Co-Authored-By: Felix Rieseberg <felix@felixrieseberg.com >
* Apply suggestions from code review
Co-Authored-By: Samuel Attard <samuel.r.attard@gmail.com >
* Do not publish NetworkService changes draft
* Apply suggestions from code review
Co-Authored-By: Samuel Attard <samuel.r.attard@gmail.com >
* docs: filePath must be absolute
2019-06-28 16:25:30 +09:00
Samuel Attard
127d617db5
fix: delay emitting screen events by a tick to avoid re-entrancy crash ( #19016 )
2019-06-27 19:01:28 -07:00
Shelley Vohr
1a6a16e346
docs: fix platform location for params ( #18987 )
2019-06-27 14:51:18 -07:00
Jeremy Apthorp
ec8697bcdc
test: move protocol specs to main process ( #18923 )
2019-06-27 14:20:29 -07:00
Electron Bot
fdb2502a19
Bump v7.0.0-nightly.20190627
2019-06-27 08:31:59 -07:00
Shelley Vohr
e8e360a902
fix: silent printing mode ( #18979 )
2019-06-26 20:53:17 -07:00
Micha Hanselmann
819cebff5d
change menu item docs ( #18985 )
2019-06-26 20:20:04 -07:00
Samuel Attard
c1ad0725d8
build: fix include paths so that __file__ is absolute not relative ( #18997 )
2019-06-26 11:32:42 -07:00
Shelley Vohr
6243dba068
chore: use ScopedPumpMessagesInPrivateModes in tray ( #18977 )
...
* chore: use ScopedPumpMessagesInPrivateModes in tray
* revert refcounting of AtomMenuModel
* Prefer WeakPtr for posting tasks to handle unexpected destruction
2019-06-26 10:18:53 -07:00
Electron Bot
d643921313
Bump v7.0.0-nightly.20190626
2019-06-26 08:31:57 -07:00
Shelley Vohr
5298358b72
fix: set size of GTK about panel icon ( #18957 )
2019-06-25 22:17:30 -07:00
Alexandre Lacheze
2b3a256647
docs: precise that node integration is enabled in natively opened window if nodeIntegrationInSubFrames is true ( #18156 )
2019-06-25 21:03:23 -07:00
Shelley Vohr
c87394ee25
feat: show optional authors in gtk about panel ( #18964 )
...
* feat: show optional authors in gtk about panel
* chore: use a base::Value for about dialog options on Linux
* docs: mark 'version' as supported on Linux too
2019-06-25 11:31:14 -07:00
Electron Bot
ab5ec0af33
Bump v7.0.0-nightly.20190625
2019-06-25 08:32:04 -07:00
Shelley Vohr
dc2cd8e780
fix: make tray not block main process ( #18880 )
...
* fix: make tray not block main process
* make AtomMenuModel refcounted
2019-06-24 19:30:26 -07:00
Shelley Vohr
24ffc3cfb0
docs: update badges ( #18955 )
2019-06-24 14:09:17 -07:00
Julien Isorce
99e3de56df
spec: fix flakiness of test BrowserWindow.moveTop ( #18962 )
...
Wait for the focus event because checking focus status.
BrowserWindow.show gives focus to the window but there is
a moment where the window is shown but does not have the
focus yet. And the test was failing at this moment.
2019-06-24 13:41:42 -07:00
Milan Burda
1304f259cc
spec: remove unused variables ( #18947 )
2019-06-24 13:41:20 -05:00
Micha Hanselmann
ed5c624b08
move screen api test to main process ( #18956 )
2019-06-24 11:30:47 -07:00
Samuel Attard
764be844ec
fix: override the timers module impls to activate the uv loop ( #18948 )
2019-06-24 10:18:29 -07:00
Samuel Attard
fb01c94511
build: clean up scripts folder, move release scripts, move zip manifest logic ( #18945 )
...
* build: move zip manifest logic in zip_manifests dir
* build: remove unused get-version.py script
* chore: move all release/sudowoodo related scripts into script/releases
* chore: update paths to zip manifests in CI configs
* build: fix path to ci release build script for arm tests
2019-06-24 10:18:04 -07:00
Samuel Attard
5686a0713e
fix: make isDarkMode correctly detect dark mode in the auto setting on catalina ( #18949 )
2019-06-24 10:17:38 -07:00
Electron Bot
1cd7c21f38
Bump v7.0.0-nightly.20190624
2019-06-24 08:31:27 -07:00
Electron Bot
a084093d73
Bump v7.0.0-nightly.20190623
2019-06-23 08:31:00 -07:00
Samuel Attard
79ac99c09b
build: remove scripts in the tools dir that are unused ( #18944 )
2019-06-22 22:29:22 -07:00
Electron Bot
e8c8328081
Bump v7.0.0-nightly.20190622
2019-06-22 08:31:58 -07:00
Charles Kerr
792f6b246c
docs: fix spelling and grammar errors ( #18910 )
2019-06-21 16:19:21 -05:00
Shelley Vohr
bef9610f6a
chore: account for remotes in branch parsing ( #18930 )
2019-06-21 13:58:59 -07:00
Micha Hanselmann
81497c7f2e
fix: sanitize invalid custom protocol headers ( #18854 )
2019-06-21 09:23:57 -07:00
Electron Bot
236d552d6a
Bump v7.0.0-nightly.20190621
2019-06-21 08:31:04 -07:00
Shelley Vohr
57c099d8b8
chore: fix branch trimming for blast-off releases ( #18907 )
2019-06-20 13:12:05 -07:00
Shelley Vohr
7e5ea179a1
chore: remove unneeded require ( #18863 )
...
* chore: remove unneeded require
* chore: update lockfile
2019-06-20 12:28:13 -07:00
Shelley Vohr
536327151d
refactor: make savePath a property on DownloadItem ( #18677 )
2019-06-20 10:04:57 -07:00
Jeremy Apthorp
e95d2129be
spec: de-flake ses.protocol test ( #18884 )
2019-06-20 09:54:33 -07:00
Electron Bot
c27231ce5c
Bump v7.0.0-nightly.20190620
2019-06-20 08:31:49 -07:00
David Sanders
6251a6d307
fix: typo in comment ( #18899 )
2019-06-20 10:11:38 -05:00
Milan Burda
f3f2990b9e
feat: sandbox renderer processes for cross-origin frames ( #18650 )
2019-06-20 12:10:56 +02:00
Jeremy Apthorp
23286fe557
fix: bundle swiftshader and ANGLE libraries on mac ( #18870 )
...
Fixes #18639 . Not sure what exactly caused this to start breaking now, but these libraries appeared in https://chromium-review.googlesource.com/c/chromium/src/+/955949/ and got enabled by default on mac here https://chromium-review.googlesource.com/c/chromium/src/+/1005017/ . The call during gpu process startup that was causing this crash was added here https://chromium-review.googlesource.com/c/chromium/src/+/1599993 .
2019-06-19 18:14:51 -07:00
Samuel Attard
dca583a77f
build: add an FYI job for building with RUN_AS_NODE disabled ( #18890 )
2019-06-19 18:10:04 -07:00
Samuel Attard
34c4c8d508
refactor: rename the atom namespace to electron
2019-06-19 17:33:28 -07:00
Samuel Attard
8c4496a9c9
chore: replace atom path with shell in scripts
2019-06-19 17:33:28 -07:00
Samuel Attard
56930338e8
chore: fix linting after shell rename
2019-06-19 17:33:28 -07:00
Samuel Attard
2160c1fcc9
refactor: replace includes for atom with shell
2019-06-19 17:33:28 -07:00
Samuel Attard
d7f07e8a80
refactor: rename the atom directory to shell
2019-06-19 17:33:28 -07:00
Milan Burda
4575a4aae3
Revert "feat: only allow bundled preload scripts ( #17308 )" ( #18091 )
...
This reverts commit 8cf15cc931 .
2019-06-20 08:39:12 +09:00
Jeremy Apthorp
257fd2c0df
spec: move more BrowserWindow specs to main runner ( #18610 )
...
* test: move more BrowserWindow specs to main runner
* more movey
* maximized/minimized events don't work on linux?
* try for better printing of non-equal bounds
* add a timeout when checking window bounds after resize
* add a timeout when reading content size
* setTimeout...?
* try a smaller window size
2019-06-20 08:38:21 +09:00
Milan Burda
aa522731a2
fix: building with enable_run_as_node disabled ( #18887 )
2019-06-19 16:15:14 -07:00
Jacob Groundwater
5247fe6038
Merge pull request #18891 from electron/groundwater-patch-1
...
docs: Document our existing language policy
2019-06-19 15:57:43 -07:00
Jacob Groundwater
5cb25c27b0
Update CONTRIBUTING.md
...
Co-Authored-By: Lee Dohm <1038121+lee-dohm@users.noreply.github.com >
2019-06-19 15:52:11 -07:00
Jacob Groundwater
f8f0540487
Update CONTRIBUTING.md
...
Co-Authored-By: Lee Dohm <1038121+lee-dohm@users.noreply.github.com >
2019-06-19 15:45:33 -07:00
Jacob Groundwater
ee01810395
Document our existing language policy
2019-06-19 15:41:32 -07:00
Milan Burda
79f0c444fd
fix: app.getAppPath() returning default-app path for files or directories without package.json ( #18763 )
2019-06-19 23:34:22 +02:00
Samuel Attard
7201845894
refactor: auto generate electron_version.h from the version file ( #18866 )
...
* refactor: auto generate electron_version.h from the version file
* Update BUILD.gn
Co-Authored-By: Jeremy Apthorp <nornagon@nornagon.net >
2019-06-19 14:31:55 -07:00
Micha Hanselmann
504edf2cf6
test: correct fake tests in api-protocol-spec ( #18869 )
...
* fix protocol 404 fake tests
* fix another fake test
* fix last fake test (hopefully)
2019-06-19 13:40:49 -07:00
Samuel Attard
0146cc0eb5
fix: delay handling occlusion events to avoid flicker on macOS ( #18661 )
...
* chore: add debounce on the updateWebContentsVisibility method to ensure quick changes in occlusion do not result in flickering
* chore: update old patch headers
2019-06-19 12:51:25 -07:00
Samuel Attard
00d18917d0
build: add basic linting for the patches folder to ensure that .patches match the state on disk ( #18615 )
2019-06-19 10:48:15 -07:00
Samuel Attard
ae49aa4a03
chore: roll node to fix http2 memory leak ( #18868 )
2019-06-19 10:47:23 -07:00
Electron Bot
98bc0ae7ee
Bump v7.0.0-nightly.20190619
2019-06-19 08:31:49 -07:00
Milan Burda
edb56500c7
refactor: piggy-back on ELECTRON_BROWSER_SANDBOX_LOAD to get content scripts ( #18823 )
2019-06-19 17:23:44 +02:00
Jeremy Apthorp
450aa33775
ci: add a space at the end of NINJA_STATUS ( #18871 )
2019-06-19 10:03:05 -04:00
Shelley Vohr
a0b2810640
chore: add ability to log native deprecation warnings ( #18681 )
...
* chore: add ability to log native deprecation warnings
* take std::string, handle conversion later
* address feedback from @ckerr's review
* simplify with feedback from zcbenz
2019-06-19 08:46:36 +09:00
Samuel Attard
a42ed950ca
build: add env var to allow easily triggering a 3way patch ( #18448 )
2019-06-18 15:15:06 -07:00
Samuel Attard
c720803413
build: enforce frozen lockfile on the lint stage ( #18867 )
2019-06-18 16:42:42 -05:00
Shelley Vohr
b98c1d0472
chore: remove unused enum ( #18848 )
2019-06-18 11:27:48 -07:00
Jerry Wu
d5811607eb
fix: extra space in security warning message causing list misalignment ( #18815 )
2019-06-18 09:59:02 -07:00
Electron Bot
3f7cce6d8c
Bump v7.0.0-nightly.20190618
2019-06-18 08:31:47 -07:00
Shelley Vohr
1aac7ac9d0
chore: fix current branch fetch on master ( #18844 )
2019-06-18 07:54:32 -07:00
Samuel Attard
ccd15fc12e
refactor: auto generate Info.plist to avoid bumping during releases ( #18849 )
2019-06-17 15:56:15 -07:00
Milan Burda
0af3548b55
feat: add security warning for remote module with remote content ( #18822 )
2019-06-17 14:21:30 -07:00
Samuel Attard
4dc38d39e9
refactor: replace atom_version and friends with electron_version ( #18847 )
2019-06-17 13:37:55 -07:00
Milan Burda
c9bca78a7a
refactor: use async invoke to get webPreferences in security-warnings.ts ( #18821 )
2019-06-17 10:57:09 -07:00
Heilig Benedek
5a08522b98
feat: add removeInsertedCSS ( #16579 )
2019-06-17 11:39:35 -04:00
Milan Burda
deebde66f9
feat: make async webContents / <webview> methods return a Promise ( #18792 )
2019-06-17 12:10:02 +03:00
Shelley Vohr
632bbf948d
build: get current release branch from commit ( #18810 )
...
When we blast off again, we check out a commit so the current branch ends up being incorrect and is HEAD rather than X-Y-Z. This therefore no longer just runs git rev-parse --abbrev-ref HEAD; it instead checks to ensure that the result of that call matches the release branch pattern. If it doesn't, it fetches the containing branch for the commit.
Since we only ever blast off from bump commits, we can safely assume that only one release branch will ever contain the bump commit and therefore be the one we want to use when tagging the release on npm.
2019-06-16 20:56:43 -07:00
Shelley Vohr
77d5e0c1ef
docs: better explain supported release line levels ( #18800 )
2019-06-17 09:15:37 +09:00
Electron Bot
8959c98251
Bump v7.0.0-nightly.20190616
2019-06-16 08:31:00 -07:00
cclauss
1d6e5e6e70
fix: use print() function in both Python 2 and Python 3 ( #18395 )
...
Legacy print statements are syntax errors in Python 3 but print() function works as expected in both Python 2 and Python 3.
Old style exceptions are syntax errors in Python 3 but new style exceptions work as expected in both Python 2 and Python 3.
2019-06-15 10:26:09 -07:00
Electron Bot
7d0a93858d
Bump v7.0.0-nightly.20190615
2019-06-15 08:31:45 -07:00
Nicolas Ramz
d59689b170
UPDATED: electron-windows-store command line ( #18499 )
...
The `flatten` option has been removed from electron-windows-store dcc654df2e so running the command would produce an error:
> error: unknwon option --flatten
2019-06-15 20:39:19 +09:00
Kilian Valkhof
d77159a19e
docs: add information about persistence and removal of DevTools Extensions ( #18519 )
...
* docs: add information about persistence and removal of DevTools Extensions
* Update devtools-extension.md
* Remove trailing space
2019-06-15 20:38:55 +09:00
Milan Burda
370e9522b4
refactor: re-implement desktop-capturer in TypeScript ( #18580 )
2019-06-15 19:44:18 +09:00
John Kleinschmidt
4ef8de69ef
build: show ninja stats for testing/debug builds ( #18653 )
...
* build: show ninja stats for testing/debug builds
* Update .circleci/config.yml
Co-Authored-By: Jeremy Apthorp <nornagon@nornagon.net >
* Use regular depot tools instead of third party one
* I forget where depot tools lives
* Fix depot tools path
2019-06-15 17:48:58 +09:00
Shelley Vohr
3309005325
chore: convert callbacks-registry to ts ( #18682 )
...
* chore: convert callbacks-registry to ts
* fix class import syntax
* move cb reg specs to spec-main
2019-06-15 17:18:25 +09:00
Mark Lee
441857c6e7
docs: reorganize application distribution links in table of contents ( #18744 )
...
* docs: fix link to supported platforms in TOC
* docs: move code signing under the distribution heading
2019-06-15 17:13:52 +09:00
Jeremy Apthorp
0a9df1e37d
spec: deflake focus handling test ( #18809 )
2019-06-15 16:15:15 +09:00
Jeremy Apthorp
7b26048d9e
test: unflake some net specs ( #18782 )
2019-06-14 16:26:07 -07:00
evelyn masso
45f5f2ba1a
docs: add specific options for MenuItem.role ( #18783 )
2019-06-14 14:13:42 -07:00
Milan Burda
d9215dd4ce
feat: add creationTime / sandboxed / integrityLevel to app.getAppMetrics() ( #18718 )
...
This is useful for checking which processes are sandboxed on OS level.
Regarding creationTime, since the pid can be reused after a process dies, it is useful to use both the pid and the creationTime to uniquely identify a process.
2019-06-14 12:39:55 -07:00
Samuel Attard
0bdc05bf24
build: use yarn to install arm modules ( #18779 )
2019-06-14 11:24:40 -07:00
Micha Hanselmann
83c3f71980
fix: use is_valid for cookie url validation ( #18770 )
...
Use is_valid instead of is_empty to validate url on cookies.set().
2019-06-14 10:56:21 -07:00
Electron Bot
44ea7ab093
Bump v7.0.0-nightly.20190614
2019-06-14 08:31:24 -07:00
Shelley Vohr
bfcce8aa27
refactor: pass MessageBox params as a struct ( #18732 )
...
Historically, we've been passing in all MessageBox parameters individually, which makes augmenting or improving MessageBox functionality challenging because to change or add even one argument requires a huge cascade of argument changes that leaves room for errors.
For other file dialog related APIs, we use a struct (DialogSettings), and so this PR takes a similar approach and refactors MessageBox parameters into a struct (MessageBoxSettings) which we then use to simplify argument passing and which will enable us to more quickly iterate and improve upon functionality in the future.
2019-06-14 08:26:25 -07:00
Shelley Vohr
ffb53405fb
chore: convert extension apis to TypeScript ( #18688 )
...
Converts extensions-related files to TS
2019-06-14 07:52:24 -07:00
Milan Burda
6e327184bd
fix: crash in BrowserWindow destructor after win.webContents.destroy() ( #18686 )
2019-06-14 11:44:36 +09:00
Milan Burda
da58ac7c20
refactor: use app.commandLine.getSwitchValue() for parsing user-data-dir ( #18764 )
2019-06-13 16:03:02 -07:00
Jeremy Apthorp
29decbdd4d
ci: make console.warn work in tests ( #18771 )
2019-06-13 15:56:58 -07:00
Samuel Attard
390e7f5719
docs: fix invalid optional declaration ( #18780 )
2019-06-13 15:56:03 -07:00
Robo
5e320291b4
fix: HTML fullscreen request for sub frames ( #18736 )
...
Don't re-enter fullscreen if there is a pending operation,
for subframe fullscreen request `EnterFullScreenModeForTab`
will be called for both the frame in question as well as
the outer webContents hosting it.
2019-06-13 14:02:56 -07:00
Jeremy Apthorp
9856e5df3b
chore: upgrade docs-parser to fix nondeterminism ( #18750 )
2019-06-13 13:45:08 -07:00
Samuel Attard
ac02ab9fde
feat: provide the frame URL with permission requests and checks ( #18757 )
...
* feat: provide the frame URL with permission requests and checks
Also provides a handy isMainFrame property to determine if it is an
iframe making the request
* chore: refactor to use base::Value
* chore: use Set<Type>Key over SetPath
2019-06-13 11:11:43 -07:00
Electron Bot
7c76d0e34a
Bump v7.0.0-nightly.20190613
2019-06-13 08:32:58 -07:00
Nitish Sakhawalkar
f98454e5dd
fix: use crashpad on Windows ( #18483 )
...
* Initial changes to use crashpad for windows
* Remove crashpad patch
* Report error when failed to connect pipe
* Allow crashpad to communicate with named pipe
* Add patch to make crashpad named pipe work
* Windows also needs crashReporter on main process
* Call SetUnhandledExceptionFilter in node process
Node can also use crash reporter.
* Do not treat node process as browser process
* No more need to manually start crash service
* Use base::StringPrintf for better readbility
* Print error when pipe name not available
* Make sure pipe name is updated
Note that the crashpad may be started after renderer process gets
created.
* Fix some tests
* Update node
* Exclude crashpad files on Linux and MAS
* Fix lint warning
* Remove unused checks
* kCrashpadPipeName is only available on Windows
* Fix uploadToServer tests
* Fix extra params tests
* Fix getCrashesDirectory tests
* Run crashReporter tests on CI
* Style fixes
* Update crashreporter docs
* Rename InitBreakpad to Init
* Add comment for process_type_.empty() and UTF16ToASCII to UTF16ToUTF8.
* Update build.gn include crashpad headers
* Address comment https://github.com/electron/electron/pull/18483#discussion_r290887898
* Avoid using api::WebContents
* Put kRunAsNode in atom_constants
* Remove duplicate settings on upload params
* Fix building on macOS
* Update description for crashpad_pid_check.patch
2019-06-13 15:42:21 +09:00
Micha Hanselmann
ddec3c0e78
test: add test for invalid cookie url ( #18751 )
...
Co-Authored-By: Erick Zhao <erick@hotmail.ca >
2019-06-12 19:49:36 -07:00
Jeremy Apthorp
ba96cdb7dc
refactor: mojofy autofill ( #18723 )
2019-06-12 15:08:22 -07:00
Shelley Vohr
ec10fd3044
fix: callback values for printing cancellation and success ( #17400 )
...
Callback false when disconnecting from the print job if the current printing job has not completed, and true if printing is triggered successfully.
2019-06-12 12:34:07 -07:00
Shelley Vohr
292a240e1b
fix: correct isDownloadable docs to match impl ( #18720 )
2019-06-12 10:54:14 -07:00
Electron Bot
5317211b0b
Bump v7.0.0-nightly.20190612
2019-06-12 08:32:19 -07:00
Robert Säll
0bf83b7183
fix: remove lingering data when notifications autodismiss on Windows 7 ( #18401 )
2019-06-12 08:39:25 +09:00
Cheng Zhao
0e3ab7c128
feat: migrate protocol module to NetworkService (Part 12) ( #18726 )
...
* Support "uploadData" in "request" argument
* Support "uploadData" option in http handler
* Fix building on win32
2019-06-12 08:37:06 +09:00
Jeremy Apthorp
e5d1e7b4da
fix: move window.open postMessage test to main runner to fix flake ( #18735 )
2019-06-12 08:35:58 +09:00
Electron Bot
81ad355355
Bump v7.0.0-nightly.20190611
2019-06-11 08:31:46 -07:00
Cheng Zhao
3a1d6d2ce1
feat: migrate protocol module to NetworkService (Part 11) ( #18706 )
...
* Pipe data into HTTP protocol handlers
* Remove unused parameters
* Remove "sending request of http protocol urls" test
Sending request to "http://" in "file://" violates CORS rules and always
fail, before NetworkService somehow Chromium still sent a request even
though the request failed with CORS error, so the test passes while the
test is not valid. With NetworkService no request is sent at all and the
test jsut fails.
So this is an ancient invalid test, as sending http requests have been
fully covered in other tests, I am removing this test.
2019-06-11 14:07:58 +09:00
Shelley Vohr
c6dc7d5b79
chore: fix duplicate error string ( #18713 )
2019-06-10 17:14:58 -07:00
Shelley Vohr
af108764c7
chore: revert promisified systemPreferences notification methods
...
This reverts commit eec12b399a .
2019-06-10 09:34:21 -07:00
Electron Bot
4321df13f2
Bump v7.0.0-nightly.20190610
2019-06-10 08:32:07 -07:00
Jeremy Spiegel
64f7974252
fix: properly pass openExternal activate option ( #18657 )
...
* fix: properly pass openExternal activate option
A reference to an OpenExternalOptions structure was being captured by an Objective-C block that
outlived the object that was being referenced.
* Fix test in CI
* Don't check for activate on linux
* Close BrowserWindow
2019-06-10 07:40:05 -07:00
Electron Bot
605cd9bec9
Bump v7.0.0-nightly.20190609
2019-06-09 08:31:23 -07:00
Electron Bot
54449d044d
Bump v7.0.0-nightly.20190608
2019-06-08 08:31:51 -07:00
Samuel Attard
ad54d38678
fix: use effectiveAppearance to check dark mode on mojave and above ( #18666 )
...
* fix: use effectiveAppearance to check dark mode on mojave and above
* chore: add forward declarations for dark appearance
2019-06-07 12:01:04 -07:00
Jeremy Apthorp
bb19142389
test: move some remote specs to the main runner ( #18636 )
2019-06-07 10:43:32 -07:00
Samuel Attard
a9f601612f
fix: use isEqual instead of pointer equality to convert NSAppearance ( #18665 )
2019-06-07 09:55:29 -07:00
Electron Bot
b10c946564
Bump v7.0.0-nightly.20190607
2019-06-07 08:31:20 -07:00
Shelley Vohr
abab90f563
feat: allow resigning current NSUserActivity ( #18659 )
...
* feat: allow resigning current NSUserActivity
* wrap in @available check
2019-06-06 22:16:03 -07:00
Shelley Vohr
b30484d3a9
ci: allow use of .only in ci testing mode ( #18678 )
2019-06-06 17:12:22 -07:00
Felix Rieseberg
8da17ffe37
docs: Add missing document links to docs/readme ( #18578 )
...
* docs: Update Guides & Tutorials section
* docs: Update the list of docs
* Update docs/README.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/README.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/README.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* Update docs/README.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
* docs: Implement feedback
2019-06-06 11:39:21 -07:00
Electron Bot
8330507efd
Bump v7.0.0-nightly.20190606
2019-06-06 08:31:44 -07:00
Shelley Vohr
eec12b399a
feat: promisify systemPreferences notification methods ( #18631 )
...
* feat: promisify systemPreferences notification methods
* correct userInfo typedef
2019-06-06 07:47:18 -07:00
Jeremy Apthorp
4b9da4dd0e
chore: remove mips64el patches as they've largely been upstreamed ( #18628 )
2019-06-05 16:36:17 -07:00
Samuel Attard
a45afddb75
build: unify YARN_VERSION variable usage and ensure CI uses yarn not npm ( #18607 )
...
* build: unify YARN_VERSION variable usage and ensure CI uses yarn not npm
* chore: use a JS helper so that it can work on windows
* chore: make script/yarn without node_modules installed
2019-06-05 16:30:39 -07:00
Samuel Attard
0fc172fcaf
fix: reject the executeJavaScript promise when it fails to execute the script ( #18635 )
...
* fix: reject the executeJavaScript promise when it fails to execute the script
Closes #9102
* Update atom/renderer/api/atom_api_web_frame.cc
Co-Authored-By: Jeremy Apthorp <nornagon@nornagon.net >
* Update atom/renderer/api/atom_api_web_frame.cc
Co-Authored-By: Jeremy Apthorp <nornagon@nornagon.net >
* fix: missing semicolon
2019-06-05 15:43:02 -07:00
Robo
7d326f6bc5
chore: Remove AtomResourceDispatcherHostDelegate ( #18623 )
...
It is no longer used, follow up for
https://chromium-review.googlesource.com/c/chromium/src/+/1610892
2019-06-05 12:49:05 -07:00
Jeremy Apthorp
291ee2dafc
refactor: use the URL api to resolve urls in window setup ( #18611 )
2019-06-05 10:21:06 -07:00
John Kleinschmidt
bd80e68698
ci: fix issues downloading from CircleCI ( #18652 )
...
Make sure we pass along token to download from CircleCI
Also, add back off period for retries on downloads.
2019-06-05 12:21:57 -04:00
Jeremy Apthorp
796d2636e6
ci: add windows zip manifest checking ( #18629 )
...
* ci: add windows zip manifest checking
* fix manifests
2019-06-05 11:58:11 -04:00
Electron Bot
aa030f9fd5
Bump v7.0.0-nightly.20190605
2019-06-05 08:31:31 -07:00
Shelley Vohr
a0b1f4fe0b
refactor: convert browser window state fns to props ( #18618 )
2019-06-04 22:44:16 -07:00
Electron Bot
164cc43440
chore: bump chromium to bd6aad6a4b37dad7aae42fec349e9 (master) ( #18626 )
...
* chore: bump chromium in DEPS to f200986dfaabd6aad6a4b37dad7aae42fec349e9
* chore: BridgedNativeWidgetImpl was renamed to NativeWidgetMacNSWindowHost
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1640804
* refactor: remove MainMenu.xib as Chromium has removed its dependency on xcode and therefore all xibs
As we set default menus in JS land the default native menu is tiny, just
has a Quit button
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1627242
* chore: update zip manifests
2019-06-04 17:27:07 -07:00
Jeremy Apthorp
9e8bd433df
fix: ensure correct ordering of sendSync w.r.t. send ( #18630 )
2019-06-04 17:10:31 -07:00
Jeremy Apthorp
ed5fb4a720
refactor: simplify content script injection ( #18532 )
2019-06-04 16:07:34 -07:00
Samuel Attard
f80601da16
docs: ensure that optionality matches between documented params and signatures ( #18613 )
...
* docs: ensure that optionality matches between documented params and signatures
* docs: ensure that all optional declarations are lower case
* chore: fix broken link
2019-06-04 14:03:24 -07:00
Milan Burda
69e32ad9ce
refactor: use ipcRenderer.invoke / ipcMain.handle in default-app ( #18581 )
2019-06-04 18:13:35 +02:00
Electron Bot
74825e4df7
Bump v7.0.0-nightly.20190604
2019-06-04 08:31:17 -07:00
Electron Bot
d008d217f9
chore: bump chromium to 2a7aff41ce73adc0eeee67d364989 (master) ( #18505 )
...
* chore: bump chromium in DEPS to 07463d3cd628b037c11f36022cb4c788db4628e3
* chore: update patches
* fix: Don't leak system network context when nw service is disabled
https://chromium-review.googlesource.com/c/chromium/src/+/1632494
NetworkService is now deleted by using SequnceLocalStorageSlot
on the IO thread when the service is disabled, which expects
all associated NetworkContexts on that sequence to be destroyed.
* chore: bump chromium in DEPS to 7c16850e7e40990e141f47101b737ec1092175a1
* fix: Destroy all network contexts before primary network context
* Simplify out-of-process service registration
https://chromium-review.googlesource.com/c/chromium/src/+/1615882
* [ThreadPool] Rename base::ThreadPool to base::ThreadPoolInstance
https://chromium-review.googlesource.com/c/chromium/src/+/1634851
* chore: update patches
* fix: -Winconsistent-missing-override warnings
* chore: bump chromium in DEPS to 93ebfaccc12715df1d5426797998eed0932f7ae1
* Change CreateBrowserMainParts to return unique_ptrs
https://chromium-review.googlesource.com/c/chromium/src/+/1632532
* chore: update patches
* chore: bump chromium in DEPS to e656555ffb87bdd05e248d0a3ef9dd9d3433e17b
* chore: bump chromium in DEPS to 111e7a8d2e3ae9d70e535009d6afb066ac906063
* chore: bump chromium in DEPS to 9b6b84670d32a7aff41ce73adc0eeee67d364989
* chore: update patches
* chore: remove ShouldInterceptResourceAsStream as it is removed upstream
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1639597
* chore: remove ResourceDispatcherHostCreated as it is removed upstream
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1610892
* chore: CreateWithStrongBinding --> CreateWithSelfOwnedReceiver
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1636722
* chore: rename all blink media enums
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1639237
* chore: add accidentally removed patch content back
2019-06-03 20:44:12 -07:00
小菜
641e1d6587
doc: change pyobjc link in macos build instruction ( #18471 )
2019-06-03 18:57:13 -07:00
Jeremy Apthorp
d1371c5dd0
refactor: mojofy zoom api ( #18608 )
...
* refactor: mojofy zoom api
* remove unneeded #includes
* remove outdated comment
2019-06-04 10:18:22 +09:00
Samuel Attard
24b3d66767
refactor: remove electron.asar and embed JS in binary ( #18577 )
...
* refactor: remove electron.asar and embed JS in binary
* chore: update DEPS to merged node sha
* chore: remove unneeded eslint ignore
2019-06-03 17:03:59 -07:00
Jeremy Apthorp
901cdb22e3
test: move some BrowserWindow specs to the main runner ( #18551 )
2019-06-03 15:10:58 -07:00
Milan Burda
cf628d9287
refactor: remove menu-will-close / setTimeout workaround ( #18582 )
2019-06-03 16:48:01 -05:00
Richard Townsend
3c8acf3687
build: bring in a later compiler for Windows on Arm ( #18591 )
...
* build: allow pulling in a later version of Clang
Due to a code-generation defect related to virtual method thunks in the
official compiler used for Chromium M76, it's necessary to build for WoA
with a later version of Clang. When running gclient sync, setting
ELECTRON_BUILD_WOA=1 in the environment will download a corrected
compiler which doesn't have this defect.
* docs: add a note about building for Windows on Arm
2019-06-03 17:29:25 -04:00
Alexandre Lacheze
b4276835d8
fix: lost window.opener after cross-origin navigation ( #18173 )
...
* Get a site instance related to current one instead of creation a new one
Using `GetRelatedSiteInstance` will keep the relation (same browsing instance) between the current and the new site instance.
* Some relies on preloads in opened window
The fact that, now, we always have an opener for opened windows diables note integration in opened windows, except if `nodeIntegrationInSubFrames` is enabled.
* Add a test on window.opener after cross-orgin navigation
* Make sure to unregisterProtocol in tests
* Introduc and use a NetworkSandbox for tests
* Modify tests about zoom persistence to properly simulate cross-origin navigation
* Revert "Modify tests about zoom persistence to properly simulate cross-origin navigation"
This reverts commit 0a7537f2eb7f183ddec16637e8a2e92a0d600321.
2019-06-03 13:23:15 -07:00
Samuel Attard
cec61d010b
refactor: lazily hook into child_process in asar_init ( #18576 )
...
Previously we loaded both fs and child_process and then hooked into
the returned value, relying on the module cache to keep our modifications
and give them to everyone.
Loading child_process took in excess of 20ms though so instead of loading
it and then hooking in. We intercept all Module load requests, and when
the first one for `child_process` comes in, we wrap the appropriate methods
and then never touch it again.
2019-06-03 13:19:52 -07:00
Felix Rieseberg
cb4579fe28
docs: Fix incorrect dialog docs ( #18227 )
...
* docs: Fix incorrect dialog docs
We had multiple definitions for `showSaveDialog`.
* docs: Update, take two
2019-06-03 12:54:47 -07:00
Milan Burda
8b5473c170
build: strip swiftshader binaries ( #18588 )
2019-06-03 15:24:46 -04:00
Dana Woodman
4feb769378
docs: update community Slack URL to point to Discourse invite thread ( #18222 )
2019-06-03 12:06:06 -07:00
Joël Charles
fd9e031f0d
docs: Update breaking changes on webFrame.setSpellCheckProvider ( #17915 )
...
* doc: Update breaking changes on webFrame.setSpellCheckProvider
* doc: fix example
* doc: lint: extra semicolon
* Update docs/api/breaking-changes.md
Co-Authored-By: magne4000 <joel.charles91@gmail.com >
2019-06-03 13:56:46 -05:00
Samuel Attard
0ee2f8a64a
refactor: lazy load child_process in the crash-reporter module ( #18574 )
...
This module is on the hot load path and we don't need cp till later
2019-06-03 11:48:23 -07:00
Tomas Rycl
477b09db3e
fix: don't export private V8 symbols that can cause native node modules to crash ( #18281 )
2019-06-03 11:45:30 -07:00
Nitish Sakhawalkar
911cdd809a
Update gen-filenames.js to generate posix paths ( #18488 )
2019-06-03 11:43:55 -07:00
Alexey Kuzmin
7f369c3292
build: install python-dbusmock via pip for a Docker container ( #18589 )
...
* build: use python-dbusmock v0.18.1 on Linux
To prevent timeout errors with some other python-dbusmock versions.
* Don't use a fixed version of python-dbusmock
Co-Authored-By: John Kleinschmidt <jkleinsc@github.com >
2019-06-03 14:36:58 -04:00
Milan Burda
eedbdedef9
build: remove Vulkan mock ICD ( #18546 )
2019-06-03 20:17:57 +02:00
Jeremy Apthorp
0b25176893
refactor: mojofy draggable regions ( #18536 )
2019-06-03 10:43:04 -07:00
Shelley Vohr
52c76d737a
refactor: make autoHideMenuBar a property on BrowserWindows ( #18555 )
2019-06-03 09:09:47 -07:00
Electron Bot
4cb6be453a
Bump v7.0.0-nightly.20190603
2019-06-03 08:32:00 -07:00
Samuel Attard
18acda7888
perf: lazily create the anchor tag used for URL resolving ( #18571 )
2019-06-03 01:04:21 -07:00
Samuel Attard
449d2752f2
refactor: lazy load V8 module in browser/init ( #18575 )
2019-06-03 01:03:33 -07:00
Samuel Attard
bc527f6b51
refactor: bundle the browser and renderer process electron code ( #18553 )
...
* refactor: bundle the browser and renderer process electron code
* Bundles browser/init and renderer/init
* Improves load performance of main process by ~40%
* Improves load performance of renderer process by ~30%
* Prevents users from importing our "requiring" our internal logic such
as ipc-main-internal. This makes those message buses safer as they are
less accessible, there is still some more work to be done though to lock
down those buses completely.
* The electron.asar file now only contains 2 files, as a future
improvement maybe we can use atom_natives to ship these two files
embedded in the binary
* This also removes our dependency on browserify which had some strange
edge cases that caused us to have to hack around require-order and
stopped us using certain ES6/7 features we should have been able to use
(async / await in some files in the sandboxed renderer init script)
TLDR: Things are faster and better :)
* fix: I really do not want to talk about it
* chore: add performance improvements from debugging
* fix: resolve the provided path so webpack thinks it is absolute
* chore: fixup per PR review
* fix: use webpacks ProvidePlugin to keep global, process and Buffer alive after deletion from global scope for use in internal code
* fix: bundle worker/init as well to make node-in-workers work
* chore: update wording as per feedback
* chore: make the timers hack work when yarn is not used
2019-06-02 13:03:03 -07:00
Electron Bot
a19e55a902
Bump v7.0.0-nightly.20190602
2019-06-02 08:31:21 -07:00
Shelley Vohr
9187759460
chore: fix logging to stderr ( #18537 )
2019-06-01 09:21:13 -07:00
Electron Bot
04dd52e4dc
Bump v7.0.0-nightly.20190601
2019-06-01 08:31:36 -07:00
Jeremy Apthorp
90caedb552
chore: re-enable disabled time ticks dcheck ( #18525 )
2019-05-31 16:56:10 -07:00
Samuel Attard
87ae9324ac
feat: Add option to conditionally disable site instance patches ( #18396 )
...
* chore: allow conditional disable of the site instance override patches at runtime
* feat: add app.allowRendererProcessReuse property to allow runtime disable of site instance overrides
spec: add tests for the new allowRendererProcessReuse property
feat: add console warnings / errors for loading non context-aware native modules
* Only error if the patch is disabled
* Warn all the time, this will ship in Electron 7
2019-05-31 15:47:18 -07:00
Samuel Attard
26155c8a00
fix: handle gzipped chrome WebUI resources ( #18531 )
...
Fixes : #18503
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1576232
For whatever reason Chromium made this change and then made the default
//content behavior to return false for all IsDataResourceGzipped
requests. This PR updates our ContentClient impl to return the correct
values.
Notes: Fixed issues where some `chrome://*` URLs would not render
correctly
2019-05-31 13:05:35 -07:00
Jeremy Apthorp
81366b5bfb
chore: remove upstreamed ffmpeg patch ( #18524 )
2019-05-31 14:08:11 -04:00
Jeremy Apthorp
c436997840
feat: add ipcRenderer.invoke() ( #18449 )
2019-05-31 10:25:19 -07:00
Electron Bot
b180fb376c
Bump v7.0.0-nightly.20190531
2019-05-31 08:32:10 -07:00
Maya Wolf
ab70e854f8
fix: contractions handling in spellchecker ( #18506 )
...
This fixes #18459 by improving the handling of contractions in the spellcheck API. Specifically, it now accepts contraction words where the spellchecker recognizes the whole word, and not, as previously, just if it recognizes all of its parts.
2019-05-30 21:19:10 -07:00
John Kleinschmidt
a31faaae61
ci: add retries to downloads for arm testing ( #18526 )
2019-05-30 17:22:34 -07:00
Shelley Vohr
1e3e5a6619
refactor: set appLevelAppearance prop on systemPreferences ( #18477 )
...
* refactor: set appLevelAppearance prop on systemPreferences
* ensure backwards compat is tested
2019-05-30 17:12:46 -07:00
Jeremy Apthorp
ac35f41e8d
test: move download-related session specs to main runner ( #18508 )
2019-05-30 15:05:02 -07:00
Shelley Vohr
554ee92b39
docs: specify use case for the 'services' role ( #18484 )
...
* docs: specify use case for the 'services' role
* update based on @caesar's recommendation
Co-Authored-By: Caesar Schinas <caesar@caesarschinas.com >
2019-05-30 14:33:48 -07:00
Samuel Attard
02dc1b266c
docs: use | instead of 'or' for docs ( #18512 )
2019-05-30 10:32:46 -07:00
Electron Bot
81ba491e53
Bump v7.0.0-nightly.20190530
2019-05-30 08:32:32 -07:00
Milan Burda
09d544f6ad
docs: remove obsolete callback argument from dialog.showOpenDialog() ( #18496 )
2019-05-30 12:00:22 +02:00
Milan Burda
a1226d75ff
feat: add process.getBlinkMemoryInfo() ( #17762 )
2019-05-30 11:50:35 +02:00
Jeremy Apthorp
2dbd2c07e4
refactor: nws13n: session.allowNTLMCredentialsForDomains ( #18129 )
2019-05-29 16:43:06 -07:00
Jeremy Apthorp
f4c792d014
feat: enable reporting api ( #18255 )
2019-05-29 16:33:19 -07:00
Jeremy Apthorp
babe2b68fb
test: move beforeunload tests to main runner and fix flake ( #18432 )
2019-05-29 13:38:14 -07:00
Shelley Vohr
9af5072115
chore: remove last instances of base::Bind ( #18178 )
...
* chore: remove last instances of base::Bind
* MessageBoxCallback is a OnceCallback
* convert permission helepr cbs to Once
* convert ResponseCallback to Once
2019-05-29 13:02:15 -07:00
Samuel Attard
96371b6d75
spec: run nan tests to ensure v8 compat has not broken ( #18489 )
2019-05-29 12:38:17 -07:00
Shelley Vohr
3d8db573d9
fix: reverse dialog cancel bool for openDialog ( #18492 )
2019-05-29 12:37:58 -07:00
Jeremy Apthorp
f5b3d00b47
ci: add check for dist zip file changes ( #18446 )
2019-05-29 09:40:02 -07:00
Electron Bot
471d457576
Bump v7.0.0-nightly.20190529
2019-05-29 08:31:37 -07:00
Shelley Vohr
03a02b8d6c
fix: breakpad symbol generation on linux arm ( #18490 )
2019-05-28 20:15:17 -07:00
Samuel Attard
93b8dc2362
fix: ensure the webContents is not destroyed before communicating ( #18467 )
2019-05-28 14:22:35 -07:00
Jeremy Apthorp
815b9d7707
feat: [contentTracing] allow calling stopTracing() with no arguments ( #18411 )
2019-05-28 14:15:42 -07:00
Jeremy Apthorp
1a609f0caf
test: move several session specs to the main runner ( #18433 )
2019-05-28 14:12:59 -07:00
Jeremy Apthorp
2923ae8b03
fix: don't package mojom{,-lite}.js files in dist.zip ( #18444 )
2019-05-28 14:11:02 -07:00
Jeremy Apthorp
0e2dedaf4e
test: narrow scope of afterEach in remote to tests that need it ( #18447 )
2019-05-28 14:07:48 -07:00
Electron Bot
96b32a814c
chore: bump chromium to 964c4bca8de5c320534d95606c861 (master) ( #18440 )
...
* chore: bump chromium in DEPS to 2930eb12d56988c2c80bad2797ab036fe493d4e1
* chore: update patches
* Revert "disable robotjs-based tests"
This reverts commit e56adafc1f .
* Revert "skip dbus tests (#18409 )"
This reverts commit aea042cc83 .
* Revert "skip more dbus tests"
This reverts commit 68dbef48da .
* chore: bump chromium in DEPS to fd62da5601399b92effaa32a943fcd96143c8605
* chore: bump chromium in DEPS to 99f87ca22ee6e7ec953defe694771cb68f47a596
* chore: bump chromium in DEPS to d88778435b4cd9a510a63385b6d4ba24674b9774
* chore: update patches
* chore: update ssl_security_state_tab_helper.patch
* Remove content_packaged_services
https://chromium-review.googlesource.com/c/chromium/src/+/1604203
* chore: fix false positive lint error
* views: wireup widget name to crash data
https://chromium-review.googlesource.com/c/chromium/src/+/1626640
* chore: bump chromium in DEPS to ab588d36191964c4bca8de5c320534d95606c861
* roll patches
2019-05-28 13:18:10 -07:00
Shelley Vohr
c621615112
fix: create missing directories with app.setPath ( #18244 )
2019-05-28 10:37:54 -07:00
Shelley Vohr
1688ebdd40
fix: respect minimizable/closable for customButtonsOnHover ( #18425 )
...
This PR ameliorates an issue whereby minimizable and closable weren't respected in customButtonsOnHover mode. maximizable isn't addressable here, since it's been blanket disabled in newer versions of macOS owing to an issue with the NSWindowStyleMaskFullSizeContentView style mask.
2019-05-28 10:23:16 -07:00
Shelley Vohr
01cd6e7a06
docs: clarify crash report extra param length ( #18386 )
...
Resolves #17746 .
Clarifies that the extra field of the crashReporter options object only needs to be < 64 characters on Windows.
2019-05-28 10:17:01 -07:00
Electron Bot
43f8a7ef00
Revert "Bump v7.0.0-nightly.20190528"
...
This reverts commit af8d4e1bc5 .
2019-05-28 08:40:13 -07:00
Electron Bot
af8d4e1bc5
Bump v7.0.0-nightly.20190528
2019-05-28 08:33:44 -07:00
Cheng Zhao
00964b98b9
feat: migrate protocol module to NetworkService (Part 10) ( #18464 )
...
* Explicitly call OnReceiveRedirect for redirections
* Better way for detecting redirection
* Create new loader for redirections
2019-05-28 15:08:50 +09:00
Electron Bot
c0c5ebb271
Bump v7.0.0-nightly.20190527
2019-05-27 08:31:45 -07:00
Milan Burda
ac002b3c3c
fix: set nativeWindowOpen when sandboxed ( #18273 )
2019-05-27 02:44:54 +02:00
Electron Bot
4ed989587b
Bump v7.0.0-nightly.20190526
2019-05-26 08:31:32 -07:00
Electron Bot
cfd4eace42
Bump v7.0.0-nightly.20190525
2019-05-25 08:31:48 -07:00
Electron Bot
723625c065
Bump v7.0.0-nightly.20190524
2019-05-24 13:47:20 -07:00
Samuel Attard
a6637fbce9
chore: update the npm package to use @electron/get ( #18413 )
...
* chore: update the npm package to use @electron/get
* chore: update node requirement for got
2019-05-24 13:40:53 -07:00
Jeremy Apthorp
cbc177708e
fix: compile error in netlog ( #18443 )
2019-05-24 10:54:32 -07:00
Cheng Zhao
54cbe5f749
feat: migrate protocol module to NetworkService (Part 9) ( #18374 )
...
* Compare final data instead of url
The behavior of did-finish-load and getURL has changed for redirects when
using NetworkService, so the test fails for NetworkService.
Comparing the finally received data makes the test more reliable.
* Implement intercept APIs
* Setting mimeType should set "content-type" header
* Passing no argument should not throw JS error
* Don't access api namespace in ProxyingURLLoaderFactory
* No need to create AtomURLLoaderFactory every time
* No use of weak factory
2019-05-24 11:28:00 +09:00
Jeremy Apthorp
646f572b77
refactor: netLog directly uses network service ( #18289 )
2019-05-23 15:31:38 -07:00
Electron Bot
d57df5a4a1
Bump v7.0.0-nightly.20190523
2019-05-23 14:06:05 -07:00
Electron Bot
c4147aed3f
Revert "Bump v7.0.0-nightly.20190523"
...
This reverts commit 4604985b2e .
2019-05-23 14:03:19 -07:00
Electron Bot
4604985b2e
Bump v7.0.0-nightly.20190523
2019-05-23 13:58:31 -07:00
John Kleinschmidt
842830d709
build: move Windows release builds to AppVeyor cloud ( #18337 )
...
* build: move Windows release builds to AppVeyor cloud
* Use new env variable for AppVeyor cloud server
2019-05-23 16:54:34 -04:00
Jeremy Apthorp
53954494a9
chore: bump chromium to 54af93edd956a53c786668bc0e253 (master)
2019-05-23 13:35:41 -07:00
Milan Burda
e32cf5c418
chore: remove leftover docs/api/structures/memory-info.md ( #18421 )
2019-05-23 15:25:52 -04:00
Jeremy Apthorp
f8ab48adac
roll patches
2019-05-23 10:39:06 -07:00
Jeremy Apthorp
68dbef48da
skip more dbus tests
2019-05-23 10:28:51 -07:00
Shelley Vohr
b48dd6a11c
test: add spec for contentTracing.stopRecording ( #18391 )
2019-05-23 10:15:08 -07:00
Electron Bot
05e986816e
chore: bump chromium in DEPS to 6a008993a2e54af93edd956a53c786668bc0e253
2019-05-23 06:00:22 -07:00
Lucas Gabriel Schneider
72b1c01836
fix: docs/api/dialog.md: fix typo ( #18392 )
2019-05-22 20:22:51 -07:00
Adam Harley
8f200595ba
correct reference chrome://plugins to components ( #18237 )
2019-05-22 15:58:53 -07:00
Jeremy Apthorp
aea042cc83
skip dbus tests ( #18409 )
2019-05-22 14:34:36 -07:00
Naoki Maeda
87a337a536
refactor: update husky ver 2.2.0 ( #18300 )
2019-05-22 14:03:06 -07:00
Jeremy Apthorp
9e9d0c3435
replace revert of metal support for gl::ProgressReporter with cherry-pick of fix
2019-05-22 13:15:32 -07:00
Jeremy Apthorp
2fcb785d3e
Replace views_bridge_mac with remote_cocoa
...
https://chromium-review.googlesource.com/c/chromium/src/+/1623573
2019-05-22 12:56:21 -07:00
Jeremy Apthorp
4f6d24026d
Update function signatures for focused element change notifications
...
https://chromium-review.googlesource.com/c/chromium/src/+/1609749
2019-05-22 12:55:37 -07:00
Jeremy Apthorp
7d212b17f8
v8/snapshot_toolchain.gni moved
...
https://chromium-review.googlesource.com/c/v8/v8/+/1612903
2019-05-22 11:45:48 -07:00
Jeremy Apthorp
e56adafc1f
disable robotjs-based tests
...
See #18409
2019-05-22 11:42:24 -07:00
Jeremy Apthorp
ec3a4cea6a
update patches
2019-05-22 11:18:44 -07:00
Electron Bot
da98beac54
chore: bump chromium in DEPS to c4cd49fdba21ffb5fd53d1e6d508bb285a4ff9a6
2019-05-22 06:00:51 -07:00
Cheng Zhao
e1a2cc7f36
feat: migrate protocol module to NetworkService (Part 8) ( #18361 )
...
* Add ProxyingURLLoaderFactory
* Intercept file:// protocol to support asar archives
2019-05-22 10:43:37 +09:00
Sofia Nguy
287345c778
docs: explicit rule for features in the beta cycle ( #18393 )
2019-05-21 18:42:02 -05:00
Jeremy Apthorp
12f95429bf
use unique_ptr instead of shared_ptr for SpellcheckRequest
2019-05-21 12:22:15 -07:00
Jeremy Apthorp
a5e6e957cf
FIXME: temporarily revert metal support for gl::progressreporter due to build errors
2019-05-21 12:11:15 -07:00
Jeremy Apthorp
5b507cc562
storage::IsolatedContext API changed
...
https://chromium-review.googlesource.com/c/chromium/src/+/1603486
2019-05-21 12:11:15 -07:00
Jeremy Apthorp
e96f9c06f0
GetNetCaptureModeFromCommandLine moved to net
...
https://chromium-review.googlesource.com/c/chromium/src/+/1614697
2019-05-21 12:11:15 -07:00
Jeremy Apthorp
79f62cc1aa
DelegatedFrameHost API changed
...
https://chromium-review.googlesource.com/c/chromium/src/+/1594924
2019-05-21 12:11:15 -07:00
Jeremy Apthorp
ca283c74c9
Merge remote-tracking branch 'origin/master' into roller/chromium-ad1b791122c04bd91b825fbfbdf1ff4da82a0edb-1558011686736
2019-05-21 10:07:17 -07:00
Jeremy Apthorp
446944c677
rebase patches
2019-05-21 10:05:21 -07:00
Electron Bot
75609f784c
Bump v7.0.0-nightly.20190521
2019-05-21 09:39:02 -07:00
Samuel Attard
a8ff6899d4
fix: correctly support the webkitdirectory input attr ( #18343 )
...
Fixes #839
The implementation here was loosely inspired by the implentation in
//chrome found in their FileSelectHelper. I.e. That's where the usage
of net::DirectoryLister comes frome.
Refs: https://cs.chromium.org/chromium/src/chrome/browser/file_select_helper.cc
2019-05-21 11:18:22 -05:00
Milan Burda
1941a46825
docs: clarify that 'second-instance' is only emitted when the second instance calls app.requestSingleInstanceLock() ( #18272 )
2019-05-21 10:56:36 -05:00
Shelley Vohr
e39c76bfe1
fix: reverse saveDialog cancellation bool ( #18366 )
2019-05-21 10:51:59 -05:00
Shelley Vohr
1a2ab11c90
fix: set window to null when no window is passed ( #18240 )
...
* fix: set window to null when no window is passed
* add new specs for dialog
* fix process blocking for showMessageBox
2019-05-21 09:08:22 -05:00
Electron Bot
c832533f5f
chore: bump chromium in DEPS to a351866f81b645d8c593132b664d5e74b1eb15f0
2019-05-21 09:01:22 -04:00
Samuel Attard
e73a0e6cc6
docs: replace the atom.io headers URL with electronjs.org ( #18328 )
2019-05-21 16:17:07 +09:00
Charles Kerr
d1207e9d8f
docs: use "Breaking Changes" as the changes doc's title ( #18326 )
...
* Use "Breaking Changes" as the changes doc's title.
Multiple people have commented that this important page is difficult
to find, in part because people search for "Breaking" or "Changes" or
"Breaking Changes" rather than "API Contract".
This PR changes the name to "Breaking Changes" so that it'll show up
on electronjs.org/docs/.
It also adds a backwards-friendly link so people still searching for
"API Contract" will get a redirect. I'm not sure if this is necessary --
the actual URL of https://electronjs.org/docs/api/breaking-changes is
unchanged -- would especially welcome feedback on this part.
* fixup! Use "Breaking Changes" as the changes doc's title.
* fixup! Use "Breaking Changes" as the changes doc's title.
2019-05-21 16:15:57 +09:00
John Kleinschmidt
b7357d5750
refactor: remove no longer needed dependency ( #18340 )
...
* refactor: remove no longer needed dependency
* Updated yarn.lock
2019-05-21 15:53:40 +09:00
mscdex
f106ea0029
chore: remove extra colon in Issue Details ( #18359 )
2019-05-21 15:45:03 +09:00
Lucas Gabriel Schneider
286fdaa53c
fix: docs/api/browser-window.md: fix typo ( #18367 )
2019-05-21 15:42:27 +09:00
Andrey
204e3808d2
docs: add parentheses + change lower case to upper case in some places ( #18368 )
...
* fix: add parentheses
Add parentheses to the end `app.showAboutPanel`, because this is method.
* fix: change 'Promise<string>' to 'Promise<String>'
Change `Promise<string>` to `Promise<String>`, because this is class name.
* docs: change lower case to upper case
Change lower case in word `menu` to upper case - `Menu`, because it's method.
2019-05-21 15:41:41 +09:00
Milan Burda
e81afed66d
chore: remove dead code ( #18370 )
2019-05-21 15:36:22 +09:00
Charles Kerr
cac50608d6
Fix atom::PATH_END so it's greater than PATH_START. ( #18339 )
...
Previously the enum list ended with entries copied values
from base::PATH_ entries, so the subsequent entry (PATH_END)
had a value in (base::PATH_START..base::PATH_END].
This only a correctness patch. atom::PATH_END doesn't appear
to be used anywhere and it was the only atom::PATH_ enum
bitten by this.
2019-05-21 15:35:01 +09:00
Cheng Zhao
340014a9d3
fix: leave space for autohide taskbar for frameless maximized window ( #18321 )
2019-05-20 19:50:03 -05:00
Milan Burda
c1cccfc082
chore: remove duplicate internal deprecations module (just use deprecate) ( #18352 )
2019-05-21 00:40:49 +02:00
Nitish Sakhawalkar
9c21c66b97
fix: Windows logger path ( #18199 )
...
Windows debug isn't logging because of a DCHECK failure during startup. This changes the logger initialization to use the absolute path, so that logging works again.
2019-05-20 10:41:30 -07:00
Milan Burda
5a7b56b042
chore: finish replacing assert with expect in tests ( #18215 )
...
* spec: replace assert with expect in api-browser-view-spec.js
* spec: replace assert with expect in api-touch-bar-spec.js
* spec: replace assert with expect in api-web-frame-spec.js
* spec: replace assert with expect in api-web-contents-view-spec.js
* spec: replace assert with expect in security-warnings-spec.js
* spec: replace assert with expect in api-menu-item-spec.js
* spec: replace assert with expect in api-web-request-spec.js
* spec: replace assert with expect in api-remote-spec.js
* spec: replace assert with expect in api-session-spec.js
* spec: replace assert with expect in api-system-preferences-spec.js
* spec: replace assert with expect in api-browser-window-spec.js
* spec: replace assert with expect in webview-spec.js
* spec: replace assert with expect in api-net-spec.js
* spec: replace assert with expect in api-protocol-spec.js
* spec: replace assert with expect api-web-contents-spec.js
* spec: replace assert with expect in api-shell-spec.js
* spec: replace assert with expect in modules-spec.js
* spec: replace assert with expect in chromium-spec.js
* spec: replace assert with expect in api-crash-reporter-spec.js
* spec: replace assert with expect in asar-spec.js
* spec: rename assert-helpers to expect-helpers
* address PR feedback
2019-05-20 12:04:18 -05:00
Milan Burda
dbb8617214
docs: update sandbox-option.md ( #18275 )
...
Co-Authored-By: Mark Lee <malept@users.noreply.github.com >
2019-05-20 17:34:57 +02:00
Electron Bot
623ea9b0f1
chore: bump chromium in DEPS to 1027f1782fffa09d3278e857b66d721b861df385
2019-05-20 09:00:26 -04:00
Milan Burda
89105e7e57
refactor: address TODO for WebContents type parsing ( #18158 )
2019-05-20 12:55:46 +02:00
Electron Bot
24d06c4725
chore: bump chromium in DEPS to 655370a87309cf880a091b6b8477012b0718fe12
2019-05-19 09:01:22 -04:00
Milan Burda
7e2cbf528e
docs: link to better list of icons for nativeImage.createFromNamedImage() ( #18336 )
2019-05-18 22:00:08 +02:00
Milan Burda
af0ad4454e
refactor: add invoke helpers in window-setup ( #18233 )
2019-05-18 20:52:29 +02:00
Electron Bot
0af06a3136
chore: bump chromium in DEPS to 810a86086f5fd70dd42ad025cf73ecc26f979fcf
2019-05-18 09:00:29 -04:00
Milan Burda
2b4ad2cb09
feat: add 'gpu-info-update' event to app ( #18250 )
2019-05-18 10:06:48 +09:00
Nitish Sakhawalkar
cf5224140b
Chrome changed the devtools url
...
chrome-devtools:// to devtools://
28b21a67f0
2019-05-17 16:16:25 -07:00
Nitish Sakhawalkar
aa00b19c92
Update views visible API
...
visible() -> GetVisible() as per c9ecec130e
2019-05-17 16:16:25 -07:00
Nitish Sakhawalkar
e38127323f
Update gpuinfo enumerator api
...
Related chromium change is here => 4178e190e9
2019-05-17 16:16:25 -07:00
Electron Bot
7a0058fbdb
chore: bump chromium in DEPS to 93f138f28f33aa9cd14a3624f9eef0a2167c8ffb
2019-05-17 16:16:25 -07:00
Nitish Sakhawalkar
8a7de89b97
Update Spellcheck API
...
Update WebTexhCheckingCompletion as per chromium 0e8c828e02
2019-05-17 16:16:25 -07:00
Nitish Sakhawalkar
2d14a0e90d
Update changed APIs/deps
...
Use brotli by default (36d58dd325 )
Update Mac ui headers (897636c9f8 )
Update AtomBrowserClient::HandleExternalProtocol API (cb656e1fd1 )
2019-05-16 18:47:42 -07:00
Jeremy Apthorp
18d70e6e57
pin user32 on startup
...
https://chromium-review.googlesource.com/c/chromium/src/+/1551709
Loading it later causes a blocking call where blocking calls aren't allowed.
2019-05-16 18:47:42 -07:00
Nitish Sakhawalkar
03ee12d13e
Update linux/win menu_bar.h
...
Chromium Commit 6a2f2686a9
2019-05-16 18:47:42 -07:00
Nitish Sakhawalkar
cae2f1f537
Disable custom libcxx patch
2019-05-16 18:47:42 -07:00
Nitish Sakhawalkar
0580a2fb3e
fix lint
2019-05-16 18:47:42 -07:00
Nitish Sakhawalkar
941851b3eb
Update for changed APIs
...
Update AllowCertificateError API (c5b8df91d1 )
2019-05-16 18:47:42 -07:00
Jeremy Apthorp
1fa5bf0140
//ui/views_bridge_mac => //components/remote_cocoa/app_shim
...
https://chromium-review.googlesource.com/c/chromium/src/+/1590958
2019-05-16 18:47:42 -07:00
Jeremy Apthorp
19550bd444
Manual follow-up rename in comments and variable names.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1591429
2019-05-16 18:47:42 -07:00
Jeremy Apthorp
6f0524d87f
use base::Owned instead of base::Passed for repeating handler
2019-05-16 18:47:42 -07:00
Jeremy Apthorp
6c6555c13c
Convert Callbacks to OnceCallbacks in permissions APIs.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1592356
2019-05-16 18:47:42 -07:00
Nitish Sakhawalkar
e794260d89
Update chromium patches
2019-05-16 18:47:42 -07:00
Electron Bot
f14eb32758
chore: bump chromium in DEPS to 4807e00d8504db501eb7a9d8ab66789e53fb7349
2019-05-16 16:58:32 -04:00
Shelley Vohr
111baba29c
chore: update codeowners for release scripts ( #18246 )
2019-05-16 09:39:01 -04:00
Electron Bot
c7d93c7579
chore: bump chromium in DEPS to ad1b791122c04bd91b825fbfbdf1ff4da82a0edb
2019-05-16 09:01:28 -04:00
Milan Burda
76783e2a90
fix: 'page-title-updated' event forwarding + documentation ( #18270 )
2019-05-16 12:33:16 +03:00
Samuel Attard
2a08bfbcc6
docs: update type for responseHeaders in the webRequest module ( #18302 )
...
Fixes #18298
2019-05-15 18:20:37 -07:00
Cheng Zhao
2ad62cedc3
feat: migrate protocol module to NetworkService (Part 7) ( #18290 )
...
* fix: make IsProtocolHandled return true for builtin schemes
* fix: return ERR_NOT_IMPLEMENTED for wrong arg
* Initial work of AsarURLLoader
* Put normal file logics in AsarURLLoader
* Implement asar file reading
* Don't change URL for unpacked file
* Fix cpplint warning
2019-05-15 08:29:58 +09:00
Samuel Attard
fde3137b90
fix: update the FileSelectHelper to support the new promise API ( #18288 )
...
* fix: update the FileSelectHelper to support the new promise API
Fixes #18254
So it turns out we've successfully introduced a way to write
non-typesafe C++.
This fixes two things:
* Uses the object the promise resolves
* Ensures we attach the Then handler before moving the promise
* fix: also fix misuse of Promise::Then in the download manager
2019-05-14 15:46:53 -07:00
Milan Burda
d027be05a6
refactor: combine bitmask flags property (replace '+' with '|' operator) ( #18271 )
2019-05-14 18:49:46 +03:00
Milan Burda
6609138959
feat: add webContents 'zoom-changed' event ( #17747 )
2019-05-14 09:40:40 +03:00
John Kleinschmidt
23b0487e9b
docs: add missing image ( #18235 )
2019-05-13 16:55:41 -04:00
Jeremy Apthorp
367868613f
docs: explicitly list supported versions ( #18243 )
2019-05-13 12:17:47 -07:00
Jeremy Apthorp
78d45a17c8
fix: default enable_negotiate_port to false ( #18251 )
2019-05-13 11:28:01 -07:00
Milan Burda
3a5e6f2551
feat: allow setting working directory in app.setUserTasks() / app.setJumpList() ( #18148 )
2019-05-13 19:17:12 +03:00
Cheng Zhao
326215e1f1
feat: migrate protocol module to NetworkService (Part 6) ( #18223 )
...
* fix: start node strem asyncly
* fix: headers value may be a list
* fix: simply destruct on finish/error
* fix: class may destruct immediately after subscribing "data"
* fix: send meaningful error
* fix: must always provide a response body
* fix: handle the case when one write can not write all data
* fix: handle connection error
2019-05-11 15:15:01 +09:00
Nitish Sakhawalkar
85c24c0b47
chore: Add patch to partially revert chromium crashpad change ( #17978 )
...
This adds a patch to support functionality that we were using but chromium changed it. Electron uses breakpad on windows, chromium uses crashpad (which is newer). So this patch is needed until we update electron to use crashpad for windows.
2019-05-10 10:35:17 -07:00
Cheng Zhao
8de9ba6df6
chore: run protocol tests in separate WebContents ( #18202 )
2019-05-10 09:51:44 +09:00
Milan Burda
019b31d084
chore: remove deprecated APIs ( #18159 )
2019-05-09 14:48:10 -04:00
Jeremy Apthorp
96e19f1cc4
docs: fix name of Backtrace in crash reporter docs ( #18180 )
2019-05-09 10:30:37 -07:00
Jeremy Apthorp
be484ee8a4
docs: note session.clearAuthCache planned change for 7.0 ( #18185 )
...
* docs: note session.clearAuthCache planned change for 7.0
* Update breaking-changes.md
2019-05-09 10:58:01 -04:00
Shelley Vohr
b3fcc080d5
fix: destroy tray on current tick ( #18196 )
...
This code was originally added in #6448 to handle an edge case crash in 10.9, and we no longer support 10.9 and therefore no longer need to account for this case.
It addressed the crash, but also created a race condition whereby when a new tray is created the old tray's destroy wouldn't have been fully completed and therefore a new one would be spawned. This fixes that by destroying the tray on the current tick once more.
2019-05-08 15:40:30 -07:00
Shelley Vohr
8759e30f04
build: linux needs java on GN ( #18211 )
...
The linux builds fails with ./bin/sh java not found unless this is installed.
2019-05-08 15:28:55 -07:00
Shelley Vohr
6e29611788
build: fix linux release builds on CircleCI ( #18201 )
2019-05-08 07:27:03 -07:00
Shelley Vohr
6770a8c64a
build: remove deprecated octokit auth calls ( #18205 )
2019-05-07 18:48:40 -07:00
John Kleinschmidt
e63f527e76
docs: add FAQ entry about subpixel anti-aliased text ( #18101 )
...
* docs: add FAQ entry about subpixel anti-aliased text
Co-Authored-By: Nils-Hero Lindemann <nilsherolindemann@gmail.com >
* Fix linting errors
Co-Authored-By: Nils-Hero Lindemann <nilsherolindemann@gmail.com >
* Fix image link
Co-Authored-By: Nils-Hero Lindemann <nilsherolindemann@gmail.com >
2019-05-07 12:49:08 -07:00
Shelley Vohr
0ab3d7a0be
fix: crash on systemPreferences.getAccentColor() ( #18144 )
2019-05-07 08:26:34 -07:00
Milan Burda
d79dc056bc
refactor: eliminate duplicate code in asar.js ( #18146 )
2019-05-07 06:54:35 -07:00
Shelley Vohr
02710ef574
refactor: make templateImage a property on nativeImage ( #18124 )
...
* refactor: make templateImage a property on nativeImage
* Update docs/api/native-image.md
Co-Authored-By: codebytere <codebytere@github.com >
* fix nativeImage prototype deprecation
* update for new property name
* Update docs/api/native-image.md
Co-Authored-By: codebytere <codebytere@github.com >
2019-05-07 06:52:07 -07:00
Shelley Vohr
cfb6e847a0
refactor: allow embedder overriding of internal FS calls ( #17906 ) ( #18183 )
2019-05-07 06:44:32 -07:00
Milan Burda
91e3421525
refactor: use base::size() for array sizes ( #18155 )
2019-05-07 09:19:14 -04:00
Bobby Galli
175fae722a
docs: added BugSplat to list of hosted solutions ( #18162 )
2019-05-06 19:37:24 -07:00
Cheng Zhao
237f74a01f
feat: migrate protocol module to NetworkService (Part 5) ( #18170 )
...
* fix: always have head.headers available
* fix: use StringDataPipeProducer to write string
It can handle large strings correctly.
* fix: override RegisterNonNetworkSubresourceURLLoaderFactories
* fix: add dummy uninterceptProtocol implementation
* fix: jquery error handler can pass empty string
For some errors jquery would pass empty string in the error handler,
which makes tests pass when they should fail.
* chore: fix cpplint warnings
* fix: guard RegisterNonNetworkSubresourceURLLoaderFactories call
It may be called even when NetworkService is not enabled.
* test: disable protocol.interceptHttpProtocol test
2019-05-07 11:33:05 +09:00
Samuel Attard
a96b6e2c96
build: move to the new docs parser ( #18103 )
...
* build: move to the new docs parser
* chore: remove the bad getTitle param doc
* build: update parser/ts gen deps + fix some docs issues highlighted by GH desktop
* chore: apply suggestions from code review
Co-Authored-By: MarshallOfSound <samuel.r.attard@gmail.com >
* chore: update docs for accidentally removed things
* chore: update docs/api/command-line.md
Co-Authored-By: MarshallOfSound <samuel.r.attard@gmail.com >
2019-05-06 08:29:01 -07:00
Shelley Vohr
9ec59cbc6c
docs: clarify clipboard type options ( #18107 )
2019-05-06 08:11:47 -07:00
Samuel Attard
636273b6cb
fix: do not mark navigations interupted with same-document navigations as aborted ( #18109 )
...
* fix: do not mark navigations interupted with same-document navigations as aborted
* spec: add tests for the loadURL promise
2019-05-03 16:19:50 -07:00
Samuel Attard
99d4537075
chore: remove v8 reverts now that nan is updated ( #18130 )
2019-05-03 14:41:23 -07:00
Jeremy Apthorp
cb13d7a0a8
refactor: session.clearAuthCache nws13n ( #17970 )
2019-05-03 14:30:25 -07:00
Shelley Vohr
6d96f30ed3
refactor: make shell.OpenExternal async ( #17135 )
2019-05-03 13:53:45 -07:00
Shelley Vohr
0755857a0c
chore: convert more files away from base::Bind ( #18121 )
...
* chore: convert more files away from base::Bind
* use BindOnce for JsAsker
2019-05-03 12:08:41 -07:00
Milan Burda
c25c31e018
refactor: convert C++ enums to C++11 enum classes ( #18087 )
2019-05-03 14:11:41 -04:00
Joshua Westerheide
a59dc56fa6
feat: add env variable to skip binary download on npm install ( #17627 )
...
* feat: add env variable to skip binary download on npm install
* docs: add "Skip binary download" section to install tutorial
2019-05-03 10:17:15 -07:00
Cheng Zhao
0a6eb8afca
feat: migrate protocol module to NetworkService (Part 4) ( #18084 )
...
* Parse stream protocol handler
* Pipe node stream to mojo
* Merge the parser for headers
* Add ToDict helper to simplify code
* Simplify dispatching logic
* Add an experimental API for returning any type of response
* Fix subscribing event
* URL loaders' lifetime is independent of the factory
* HandleError helper is no longer needed
* Rename "SendResponse" => "StartLoading" to follow naming conventions
* Delete when connection error happens
* Fix cpplint warning
2019-05-03 09:48:51 +09:00
Shelley Vohr
cc00fa8874
chore: convert base::Bind instances across some files ( #18112 )
2019-05-03 08:49:26 +09:00
Michelle Tilley
4808f30538
fix: revert to previous documentation folder structure ( #18127 )
2019-05-02 15:17:17 -07:00
Shelley Vohr
c278043511
chore: retry octokit calls several times on fail ( #18085 )
2019-05-02 15:08:45 -07:00
Electron Bot
5f28f89c9c
chore: bump chromium in DEPS to 84c40395c741fa24ccbd9fc2c5828e2e97472952 ( #18117 )
2019-05-02 12:49:54 -07:00
Shelley Vohr
55a7f92297
chore: convert more module and helper files from bind ( #18069 )
2019-05-02 08:32:33 -07:00
Milan Burda
2dd108e9c9
fix: fs.promises does not work with asar paths ( #18092 )
2019-05-02 21:06:01 +09:00
Milan Burda
9585818a90
chore: add clang-format and limited linting for Objective-C sources ( #18104 )
2019-05-02 21:05:37 +09:00
Milan Burda
8785e9007c
chore: add native_mate to lint:cpp ( #18100 )
2019-05-02 11:45:23 +09:00
Stewart Lord
d507ba68a7
fix: honor extensionId arg in chrome.runtime.connect ( #16998 )
...
The first argument to chrome.runtime.connect is extensionId, not connectInfo.
2019-05-02 11:42:04 +09:00
Samuel Attard
d4f5ebefe6
feat: allow setting of global fallback user agent ( #18016 )
...
* feat: allow setting of global fallback user agent
* spec: add tests for app.set/getUserAgentFallback
2019-05-01 16:34:42 -07:00
Sofia Nguy
649d7c0d9e
docs: update 6.0.0 release dates ( #17923 )
2019-05-01 16:11:46 -07:00
Jeremy Apthorp
3949f0bd50
refactor: convert crash reporter to gin ( #17952 )
2019-05-01 15:19:11 -07:00
bughit
493af7f84c
document the loadURL promise pre-attached rejection handler ( #18043 )
2019-05-01 14:04:21 -07:00
John Kleinschmidt
e736d04e7f
build: use https to download from GitHub for external binaries ( #17928 )
...
fixes #17926
2019-05-01 13:49:29 -07:00
Shelley Vohr
f316c8470c
chore: convert session base::Bind instances ( #18038 )
...
Convert instances of base::Bind to base::BindOnce and base::BindRepeating as applicable in the session module as well as in Autofill popups.
2019-05-01 13:45:08 -07:00
Electron Bot
61effac72a
chore: bump chromium to c75fbfd03652 (master) ( #18090 )
...
https://chromium-review.googlesource.com/c/chromium/src/+/1532361
2019-05-01 13:42:49 -07:00
Jeremy Apthorp
dd3913fada
refactor: convert powerSaveBlocker to gin ( #18073 )
2019-05-01 13:24:01 -07:00
Samuel Attard
913bd4c832
fix: correctly parse default_app path on windows ( #18086 )
2019-05-01 13:00:09 -07:00
Samuel Attard
496d796833
build: free up space before running macos ci ( #18083 )
...
* build: free up space before running macos ci
* build: also delete 14GB of src/.git for bonus space
2019-05-01 12:31:01 -07:00
Milan Burda
1abe658ef4
chore: clang-format ( #18088 )
...
* chore: clang-format
* chore: remove obsolete native_mate_files.gypi
2019-05-01 12:27:55 -07:00
Milan Burda
d2cebc62d1
docs: fix webContents 'new-window' event handler sample ( #18067 )
2019-05-01 10:49:42 -07:00
Milan Burda
b333ce2628
docs: remove incorrectly added let for the win variable ( #18052 )
2019-05-01 10:45:58 -07:00
Shelley Vohr
5ed11aa1f3
docs: remove obsolete releasing document ( #18072 )
2019-05-01 09:14:14 -07:00
Milan Burda
6f5c850d60
refactor: add emitCustomEvent() helper ( #17960 )
2019-05-01 09:07:57 -04:00
Samuel Attard
aebad6fd21
test: remove stray console.log for test suite ( #18078 )
2019-04-30 17:56:20 -07:00
Electron Bot
2616911f7a
chore: bump chromium to 7dff37844cb3 (master) ( #18059 )
2019-04-30 17:18:22 -07:00
Shelley Vohr
00358545a9
fix: explicitly focus window on win.show() ( #18046 )
2019-04-30 16:43:45 -07:00
Samuel Attard
67b3fbca89
fix: ensure the inspector agent is shutdown before cleaning up the node env ( #18028 )
...
* fix: ensure the inspector agent is shutdown before cleaning up the node env
* spec: add tests to ensure clean shutdown with connected inspector agent
* Update node_debugger.cc
2019-04-30 15:44:40 -07:00
Samuel Attard
4e5a0946c7
build: fix master build by updating the yarn.lock after race merge ( #18074 )
2019-04-30 15:42:09 -07:00
Jeremy Apthorp
24bf2c29e4
refactor: session.{clearCache,getCacheSize} nws13n ( #17969 )
2019-04-30 15:09:17 -07:00
Samuel Attard
98c51dd660
build: ensure consistent lock files across multiple machines ( #17955 )
...
* build: ensure consistent package-lock across multiple machines
* build: fix linting errors and use npm ci instead of npm install
* build: use a yarn.lock and yarn instead of package-lock and npm
* chore: replace package-lock.json files with yarn.lock
* chore: replace last instance of `npm install`
2019-04-30 13:59:47 -07:00
Shelley Vohr
8d83518f9a
refactor: make name a prop on app ( #17701 )
...
Update app.name to be a property on app.
2019-04-30 13:55:33 -07:00
Samuel Attard
f2d41b7812
build: fix issues for stable release we fixed in 5-0-x ( #18064 )
...
* build: fix release notes generation
* build: fix bump-version script for stable releases
2019-04-30 11:36:39 -07:00
Milan Burda
fcf0af15de
feat: support ELECTRON_DEFAULT_ERROR_MODE in the GPU process ( #17728 )
2019-04-30 12:45:48 -04:00
Shelley Vohr
d87b3ead76
chore: remove promisification deprecation callbacks ( #17907 )
...
* chore: remove promisification deprecation callbacks
* update docs
* fix smoke test
* fix executejs issue
* cleanup leftovers
* fix webContents.executeJavaScript tests
* cleanup WebContents.prototype.takeHeapSnapshot
* fix "sets arbitrary webContents as devtools" test
* fix executeJavaScriptInFrame related tests
2019-04-30 07:08:32 -07:00
Jeremy Apthorp
fdf5f838f4
refactor: native_mate => gin (cookies API) ( #18036 )
...
* convert cookie converters to gin
* event_emitter GetWrapper
2019-04-30 06:45:05 -07:00
Milan Burda
e9d88e965e
chore: disable Vulkan validation layers ( #17985 )
2019-04-30 06:41:59 -07:00
Cheng Zhao
277f93653e
feat: migrate protocol module to NetworkService (Part 3) ( #18030 )
...
* Implement http protocol handler
* File protocol handler also accepts options
* Http protocol should inherit headers by default
* Only inherit necessary headers
* Slightly reorder logics
2019-04-30 09:47:04 +09:00
Shelley Vohr
7b55ee9d36
refactor: allow requiring modules with no side effects ( #17496 )
2019-04-30 09:46:08 +09:00
Shelley Vohr
4ee201c56e
chore: convert View APIs away from base::Bind ( #18035 )
2019-04-30 09:40:39 +09:00
Samuel Attard
4a3771ff7f
build: add support for Electron trace events ( #17920 )
2019-04-29 15:28:30 -07:00
pathim
cc1e8ecef6
docs: Correct doc for registerFileProtocol ( #18022 )
...
In the registerFileProtocol docs the "headers" argument of the callback was described as being a list. In fact is has to be an Object mapping header-entries to values. This can be seen in Line 326 of `/spec/api-protocol-spec.js` [fe618631f1/spec/api-protocol-spec.js (L326) ].
2019-04-29 15:26:55 -07:00
Milan Burda
2fd3029040
docs: update nodeIntegration section for new defaults ( #17715 )
2019-04-29 14:29:27 -07:00
Samuel Attard
77a4946069
refactor: rewire the desktop capturer API to remove race conditions ( #18029 )
...
We now create a new instance of atom::api::DesktopCapturer for every
request instead of weirdly re-using the same instance and queuing
requests. This means there is now a 1:1 relationship between request
and DesktopCapturer so there isn't a race condition between the observer
for one request calling back before the observer of another. This is an
issue ever since the backing APIs moved to worker threads.
This also does a few things to ensure memory management
* Only ever listen to one event per-request, after that we wipe the emit
function to ignore all future events
* Ensures we clean up the window_capturer_, screen_capturer_ and
captured_sources_ in native land once the request is over.
This _in theory_ fixes a flake we've been seeing on CI where we try to
resolve the promise for a request that no longerr exists.
2019-04-29 13:21:28 -07:00
Shelley Vohr
8b79776b5e
chore: disable release notes GH Action ( #18039 )
2019-04-29 13:03:59 -07:00
Milan Burda
9714a91392
refactor: use fs.promises API, which is stable since Node 12 ( #17999 )
2019-04-29 11:18:03 -07:00
Milan Burda
7574f91f31
refactor: natively promisify WebContents.prototype.takeHeapSnapshot ( #18000 )
2019-04-29 10:11:11 -07:00
Milan Burda
18b77a4de6
chore: rename atom-binding-setup.ts to electron-binding-setup.ts ( #17949 )
2019-04-29 10:57:32 -04:00
Cheng Zhao
6f83977f47
feat: migrate protocol module to NetworkService (Part 2) ( #17965 )
...
* Pass protocol type and handler to factory
* Add converter for network::ResourceRequest
* Implement Buffer and String protocol handler
* Implement file protocol
2019-04-29 11:37:45 +09:00
Shelley Vohr
fe618631f1
chore: convert some more files from base::Bind ( #17968 )
2019-04-28 10:03:06 +09:00
Shelley Vohr
72baff1c88
chore: add base workflow file ( #18006 )
2019-04-27 17:53:08 -07:00
Shelley Vohr
e7ef374899
chore: update base::Bind in app module ( #17925 )
...
* chore: update base::Bind in app module
* fix lint
2019-04-26 21:42:56 -07:00
Samuel Attard
68f448ee73
build: rebase patches to fix master build ( #17991 )
2019-04-26 13:44:08 -07:00
Samuel Attard
84212b8e8b
docs: add example on handling the webPrefs change ( #17971 )
...
* docs: add example on handling the webPrefs change
Fixes #17967
* Update breaking-changes.md
2019-04-26 13:30:45 -07:00
Samuel Attard
d673865881
build: notify MC of failures to allow easy reruns ( #17981 )
2019-04-26 12:35:43 -07:00
Xin Tan
2e7ad1a527
docs: add information about contributing ( #17961 )
...
Add information about contributing and link CONTRIBUTING.md to this page.
2019-04-26 08:12:21 -07:00
Cheng Zhao
a4fcc32799
feat: upgrade to Node 12 ( #17838 )
...
* fix: add boringssl backport to support node upgrade
* fix: Update node_includes.h, add DCHECK macros
* fix: Update node Debug Options parser usage
* fix: Fix asar setup
* fix: using v8Util in isolated context
* fix: make "process" available in preload scripts
* fix: use proper options parser and remove setting of _breakFirstLine
_breakFirstLine was being set on the process, but that has changed in node 12 and so is no longer needed. Node will handle it properly when --inspect-brk is provided
* chore: update node dep sha
* fix: process.binding => _linkedBinding in sandboxed isolated preload
* fix: make original-fs work with streams
* build: override node module version
* fix: use _linkedBinding in content_script/init.js
* chore: update node ref in DEPS
* build: node_module_version should be 73
2019-04-26 18:55:12 +09:00
Shelley Vohr
e1acfffaf8
docs: remove outdated refs to protocol.registerStandardSchemes ( #17959 )
2019-04-25 15:56:59 -07:00
Shelley Vohr
075b818a8e
fixes ( #17363 )
2019-04-25 15:44:54 -07:00
Shelley Vohr
6530c99cfa
docs: add azure vm spinup tutorial ( #17958 )
2019-04-25 15:42:45 -07:00
Shelley Vohr
2108044bdb
docs: move organizational info docs to new directory ( #17865 )
...
* docs: move organizational info docs to new directory
* fix some markdown lint issues
2019-04-25 15:14:19 -07:00
Shelley Vohr
c2c3a04628
fix: crash when failed to get devices in desktopCapturer ( #17557 )
...
* fix: crash when failed to get devices in desktopCapturer
* return after emit
2019-04-25 15:12:38 -07:00
Robo
2ad942323c
refactor: session.clearHostResolverCache with network service ( #17935 )
2019-04-25 10:51:48 -07:00
Richard Townsend
a2e5cb82fc
build: fix a symbol linkage error for WoA ( #17947 )
...
When dcheck_always_on=true, electron's unusual configuration creates
some problems, which this patch works around.
2019-04-25 08:21:39 -07:00
Cheng Zhao
3142d5ca00
chore: support converting OnceCallback to V8 ( #17941 )
2019-04-25 09:40:27 +09:00
Jeremy Apthorp
93d9dafacc
refactor: migrate cookie api to network service ( #17932 )
2019-04-24 12:49:30 -07:00
Shelley Vohr
02c7b92095
chore: Bind=>BindRepeating for constructors ( #17924 )
2019-04-24 11:29:59 -07:00
Mark Lee
aed0b1ee54
docs: clean up the native module tutorial ( #17624 )
2019-04-24 10:32:37 -07:00
Samuel Attard
4588fc2232
build: update ts generator ( #17929 )
2019-04-24 09:57:09 -07:00
Milan Burda
f7a38ec72a
fix: permission handler regression in default app ( #17927 )
2019-04-24 09:54:53 -07:00
nixxquality
4556433f3b
docs: fully document MenuItem instance properties ( #17479 )
...
* document menuItem instance properties
* correct some types
* add correct click documentation
2019-04-24 09:53:15 -07:00
Milan Burda
253d049ac9
chore: remove deprecated app.enableMixedSandbox() ( #17894 )
2019-04-23 21:07:40 -07:00
Robo
9b779657fb
fix: allow access to the profile dir in mac network sandbox (nws13n) ( #17931 )
2019-04-24 09:31:36 +09:00
Robo
e1e055a837
fix: allow creating service for temporary partitions (nws13n) ( #17930 )
2019-04-24 09:30:53 +09:00
Jeremy Apthorp
53c453567f
refactor: initialize feature list earlier ( #17922 )
2019-04-23 15:18:12 -07:00
Cheng Zhao
132137081a
feat: migrate protocol module to NetworkService (Part 1) ( #17899 )
2019-04-23 14:39:20 -07:00
Jeremy Apthorp
341592119f
build: actually run import-patches on gclient sync ( #17885 )
2019-04-23 10:28:26 -07:00
Milan Burda
bb9e92a5d9
refactor: add missing constants for options ( #17897 )
2019-04-23 09:14:18 -07:00
Milan Burda
0b0f677432
docs: make gclient config command Windows friendly ( #17900 )
2019-04-23 05:11:35 -04:00
Shelley Vohr
316abe21f9
fix: crash when run from SMB network share ( #17886 )
2019-04-22 19:28:48 -07:00
Samuel Attard
e9114b3c00
build: optimize the happy path when syncing on CI ( #17827 )
...
* build: optimize the happy path when syncing on CI
This adds a new cache for the "src" directory that is only ever used if
the cache key matches exactly. If there is no exact match we fall back
to the old strategy of using the git cache.
On the happy path this can make the checkout on linux/macOS take around
5-6 minutes which is **significantly** faster than the original 15-18
minutes.
* build: sort readdir result to ensure stability
* build: increment cache key
* Update config.yml
* build: ensure that the cleanly checked out Electron has had hooks run on it
* build: do not remove deps/v8
* build: ensure clean git directory when generating deps hash
* chore: add comments to caching logic
* Update .circleci/config.yml
Co-Authored-By: MarshallOfSound <samuel.r.attard@gmail.com >
2019-04-22 15:36:59 -07:00
Sofia Nguy
df269ecb24
docs: edit Release Timelines doc format and add title ( #17903 )
...
* docs: edit title and doc format
* lint error - trailing spaces
* trailing s p a c e
2019-04-22 17:53:51 -04:00
Sofia Nguy
0c24ac9ae7
docs: Update AFP info ( #17904 )
2019-04-22 17:53:03 -04:00
Electron Bot
716cb28430
chore: bump chromium to 1e9f9a24aa12 (master) ( #17880 )
...
* chore: bump chromium in DEPS to 1e9f9a24aa12bea9cf194a82a7e249bd1242ec4f
* chore: update patches
* Make WebContents' theme color a base::Optional<SkColor>
https://chromium-review.googlesource.com/c/chromium/src/+/1540022
* update autofill patch for incorrect header includes
* Move Shell messages to web_test and rename to BlinkTest.
https://chromium-review.googlesource.com/c/chromium/src/+/1525181
* Make PlatformNotificationServiceImpl a KeyedService.
https://chromium-review.googlesource.com/c/chromium/src/+/1336150
* Move MediaPlayerId to its own file.
https://chromium-review.googlesource.com/c/chromium/src/+/1547057
* Remove net/base/completion_callback.h, which is no longer used
https://chromium-review.googlesource.com/c/chromium/src/+/1552821
* AW NS: support file scheme cookies
https://chromium-review.googlesource.com/c/chromium/src/+/1533486
* Remove SecurityInfo and adapt remaining consumers
https://chromium-review.googlesource.com/c/chromium/src/+/1509455
* Remove deprecated type-specific number to string conversion functions
https://chromium-review.googlesource.com/c/chromium/src/+/1545881
* DevTools: Adding new performance histograms for launch of top 4 tools
https://chromium-review.googlesource.com/c/chromium/src/+/1506388
* Update include paths for //base/hash/hash.h
https://chromium-review.googlesource.com/c/chromium/src/+/1544630
* build: Disable ensure_gn_version gclient hook for mac CI checkout
* update patches
* use maybe version of v8::String::NewFromTwoByte
* bump appveyor image version
* fix mac ci hopefully
* Convert enum to enum class for MenuAnchorPosition
https://chromium-review.googlesource.com/c/chromium/src/+/1530508
* use maybe version of ToObject
* RenderViewHost::GetProcess is no longer const
* Unrefcount AuthChallengeInfo
https://chromium-review.googlesource.com/c/chromium/src/+/1550631
* MenuButtonController takes Button rather than MenuButton
https://chromium-review.googlesource.com/c/chromium/src/+/1500935
* add //ui/views_bridge_mac to deps to fix link error
* forward declare views::Button in atom::MenuDelegate
* more v8 patches
* base/{=> hash}/md5.h
https://chromium-review.googlesource.com/c/chromium/src/+/1535124
* gfx::{PlatformFontWin => win}::*
https://chromium-review.googlesource.com/c/chromium/src/+/1534178
* fix v8 patches
* [base] Rename TaskScheduler to ThreadPool
https://chromium-review.googlesource.com/c/chromium/src/+/1561552
* use internal_config_base for bytecode_builtins_list_generator
avoids windows link errors
* FIXME: temporarily disable v8/breakpad integration
* FIXME: temporarily disable prevent-will-redirect test
* FIXME: disable neon on aarch64 pending crbug.com/953815
* update to account for WebCursor refactor
https://chromium-review.googlesource.com/c/chromium/src/+/1562755
* enable stack dumping on appveyor
* Revert "FIXME: disable neon on aarch64 pending crbug.com/953815"
This reverts commit 57f082026b .
* fix: remove const qualifiers to match upstream
* fix: remove const qualifiers to match upstream in cc files as well
* don't throw an error when testing if an object is an object
* use non-deprecated Buffer constructor
* Remove net::CookieSameSite::DEFAULT_MODE enum value
https://chromium-review.googlesource.com/c/chromium/src/+/1567955
* depend on modded dbus-native to work around buffer deprecation
https://github.com/sidorares/dbus-native/pull/262
* revert clang roll to fix arm build on linux
* fixup! depend on modded dbus-native to work around buffer deprecation
need more coffee
* update coffee-script
* robustify verify-mksnapshot w.r.t. command-line parameters
* Revert "robustify verify-mksnapshot w.r.t. command-line parameters"
This reverts commit a49af01411 .
* fix mksnapshot by matching args
* update patches
* TMP: enable rdp on appveyor
* Changed ContentBrowserClient::CreateQuotaPermissionContext() to return scoped_refptr.
https://chromium-review.googlesource.com/c/chromium/src/+/1569376
* Make content::ResourceType an enum class.
https://chromium-review.googlesource.com/c/chromium/src/+/1569345
* fixup! Make content::ResourceType an enum class.
* turn off rdp
* use net::CompletionRepeatingCallback instead of base::Callback<void(int)>
* remove disable_ensure_gn_version_gclient_hook.patch
* copy repeating callback instead of std::move
* fix lint
* add completion_repeating_callback.h include
2019-04-20 10:20:37 -07:00
Jeremy Apthorp
ab009bba26
refactor: turn OnOffscreen message into a command-line flag ( #17687 )
...
This turns the AtomViewMsg_Offscreen message, which only called the global setter blink::WebView::SetUseExternalPopupMenus(false) to get Chrome to render popup menus in the renderer instead of externally on macOS, into a command-line renderer flag --offscreen which does the same thing, except at render thread startup time, which is where Chromium sets the flag: https://chromium.googlesource.com/chromium/src/+/refs/tags/75.0.3755.3/content/renderer/render_thread_impl.cc#728 .
This was the last usage of RenderViewObserver in our codebase, so this PR also removes that class.
2019-04-19 12:55:20 -07:00
Matheus Rocha Vieira
1249c6ebf4
fix: Comparison using is when operands support __eq__ ( #17864 )
...
* Comparison using is when operands support __eq__
Comparison using 'is' when equivalence is not the same as identity
When you compare two values using the is or is not operator, it is the object identities of the two values that is tested rather than their equality. If the class of either of the values in the comparison redefines equality then the is operator may return False even though the objects compare as equal. Equality is defined by the __eq__ or, in Python2, __cmp__ method. To compare two objects for equality, use the == or != operator instead.
Recommendation
When you want to compare the value of two literals, use the comparison operator == or != in place of is or is not.
If the uniqueness property or performance are important then use an object that does not redefine equality.
* fix: Comparison using is when operands support __eq__
Comparison using 'is' when equivalence is not the same as identity
When you compare two values using the is or is not operator, it is the object identities of the two values that is tested rather than their equality. If the class of either of the values in the comparison redefines equality then the is operator may return False even though the objects compare as equal. Equality is defined by the __eq__ or, in Python2, __cmp__ method. To compare two objects for equality, use the == or != operator instead.
Recommendation
When you want to compare the value of two literals, use the comparison operator == or != in place of is or is not.
If the uniqueness property or performance are important then use an object that does not redefine equality.
2019-04-19 12:24:41 -07:00
Sofia Nguy
eb9c4e3643
docs: Add Electron v6.0.0 Timeline ( #17866 )
2019-04-19 12:23:01 -07:00
Cheng Zhao
344197083e
fix: drain tasks before shutting down isolate ( #17879 )
2019-04-19 11:01:45 -07:00
Shelley Vohr
0749dc4cc1
refactor: make app logs dir creation opt-in ( #17841 )
...
Previously, we were creating the app logs folder at a predefined location during initial electron startup, which meant that it had to be manually removed and prevented clean app portability. This refactors that implementation such that it's now an opt-in feature and developers must call app.setAppLogsPath(path) with an optional custom path in order to set this directory.
2019-04-18 22:04:58 -07:00
Jeremy Apthorp
841e31b7e6
feat: show underlying stack in errors in remote module ( #17851 )
2019-04-18 17:38:19 -07:00
Kilian Valkhof
ea6641afe5
docs: explanation on using protocols with partitions ( #17759 )
...
* docs: explanation on using protocols with partitions
* linting fixes
* Update docs/api/protocol.md
Co-Authored-By: Kilian <kilian@kilianvalkhof.com >
* Update docs/api/protocol.md
Co-Authored-By: Kilian <kilian@kilianvalkhof.com >
* Update docs/api/protocol.md
Co-Authored-By: Kilian <kilian@kilianvalkhof.com >
* be more explicit about there being a default session.
2019-04-18 12:40:04 -07:00
Kapil Patel
11ac6800cc
docs: added fee hint ( #17563 )
...
* Update code-signing.md
* Update code-signing.md
* Update docs/tutorial/code-signing.md
Co-Authored-By: kapilepatel <kapilepatel@gmail.com >
* Update code-signing.md
2019-04-18 08:50:14 -07:00
Milan Burda
5e7c828c9e
fix: copy pixels in AddImageSkiaRepFromBuffer ( #17843 )
2019-04-18 09:16:34 +09:00
Milan Burda
3c2ff97a16
fix: copy pixels in NativeImage::CreateFromBitmap ( #17844 )
2019-04-18 09:16:06 +09:00
Shelley Vohr
f1ee35e281
doc: document occasional mismatch between NSImageName and string ( #17826 )
2019-04-17 15:06:51 -07:00
Samuel Attard
829050daab
build: rename sandbox bundle ( #17831 )
2019-04-17 17:18:03 -04:00
Heilig Benedek
81bf15877f
fix: port OSR code to new viz compositor codepath ( #17538 )
...
* fix: make OSR work with viz compositor
* fix: update OSR patch
* fix: update patch again
* fix: update viz_osr.patch for macOS
* fix: gn check warnings
* chore: no need to change SoftwareOutputDeviceWinProxy
* chore: add check in case we missed something
* fix: consider scale factor when compare size
* fix: make GPU OSR work
* fix: autofill popups with OSR
* chore: use UNIX line ending for osr_video_consumer
* chore: code is already in defined(OS_MACOSX)
* fix: share same OSR implementation on macOS
This should also fix the crash when there is navigation on macOS.
* test: osr window should not crash after navigation
* fix: make osr work on Mac properly
* fix: software osr on windows
* fix: software osr on Linux
* fix: compilation error introduced with rebase
* fix: split local surface id allocation into two
* Update osr_host_display_client_mac.mm
* chore: update copyright year
* fix: update patch
2019-04-17 14:10:04 -07:00
Shelley Vohr
1478bd36fd
refactor: remove superfluous ScopedAllowBaseSync in desktopCapturer ( #17842 )
2019-04-17 14:32:24 -04:00
Jeremy Apthorp
fdaa75354a
chore: save HEAD when git-import-patches runs ( #17824 )
2019-04-17 11:16:03 -07:00
Samuel Attard
f901170a4f
docs: fix doc linter warnings ( #17818 )
2019-04-16 19:03:17 -04:00
Jeremy Apthorp
33fd20047c
fix: skip zygote for unsandboxed ppapi processes ( #17823 )
2019-04-16 18:32:37 -04:00
Samuel Attard
78411db4b5
fix: maintain a ref count for objects sent over remote ( #17464 )
...
* spec: clean up after a failed window count assertion
Previously when this assertion failed all tests that ran after the
failed assertion also failed. This ensure that the assertion fails for
the test that actually caused the issue but cleans up the left-over
windows so that future tests do not fail.
* fix: maintain a ref count for objects sent over remote
Previously there was a race condition where a GC could occur in the
renderer process between the main process sending a meta.id and the
renderer pulling the proxy out its weakmap to stop it being GC'ed.
This fixes that race condition by maintaining a "sent" ref count in the
object registry and a "received" ref count in the object cache on the
renderer side. The deref request now sends the number of refs the
renderer thinks it owns, if the number does not match the value in the
object registry it is assumed that there is an IPC message containing a
new reference in flight and this race condition was hit.
The browser side ref count is then reduced and we wait for the new deref
message. This guaruntees that an object will only be removed from the
registry if every reference we sent has been guarunteed to be unreffed.
2019-04-16 16:08:11 -04:00
Samuel Attard
9c3315c416
fix: reset the NSUserNotication handle on dismiss ( #17796 )
2019-04-16 14:38:41 -04:00
Samuel Attard
b7b9efa875
fix: handle remote-debugging-port=0 correctly ( #17800 )
...
By default the Chromedriver will send remote-debugging-port=0 to let the
browser choose a free port to listen on. The chosen port is written to
a known file in the user data dir that is passed to the app through the
CLI.
This PR does two things.
1. Correctly passes the USER_DATA_DIR to the remote debugging server so
it knows where to write the file
2. Adds support for --user-data-dir as we did not support that CLI
argument and Chromedriver relies on being able to tell the "browser"
where to write this file.
Fixes #17354
2019-04-16 14:22:51 -04:00
Samuel Attard
be6fb7cb12
fix: ensure the sandboxed preloads globals do not leak ( #17712 )
2019-04-16 10:57:02 -07:00
Shelley Vohr
b3d8db6996
docs: note desktop audio limitation on macOS ( #17738 )
...
Closes #10515 . Notes fundamental limitation in `navigator.mediaDevices.getUserMedia` for audio capture on some platforms so that users are aware of the ongoing issue and provides a potential workaround.
2019-04-16 10:49:31 -07:00
Pedro Pontes
a7e22c78cf
fix: populate phase of WebMouseWheelEvents generated in webContents.sendInputEvent. ( #17757 )
2019-04-16 12:23:38 -04:00
Samuel Meuli
3bf71a363a
docs: update guide on MAS entitlements and export compliance ( #17695 )
...
* docs: Convert MAS app groups entitlement value to array
* docs: Update info on MAS encryption export compliance
2019-04-15 20:02:06 -04:00
Shelley Vohr
82a076855b
fix: incorrect default path setting for dl items ( #17773 )
2019-04-15 14:11:20 -04:00
Vlad Hashimoto
258d337cf8
fix: crash when alt key pressed with falsy menu bar visiblity ( #17766 )
2019-04-15 13:54:27 -04:00
Cheng Zhao
748632d655
chore: make it possible to turn on NetworkService with cmd flag ( #17729 )
2019-04-11 08:51:17 +09:00
Cheng Zhao
e7c48922e7
fix: FrameSubscriber should not scale frame down ( #17444 )
2019-04-08 11:35:33 +09:00
Milan Burda
235eea6669
docs: add remote module to docs/tutorial/security.md ( #17480 )
2019-04-05 20:41:05 +02:00
Shelley Vohr
2b9bd0f56f
fix crash when passing empty string to recording ( #17698 )
2019-04-05 11:19:06 -07:00
Shelley Vohr
c4020308c9
test: remove non-applicable processMemoryInfo specs ( #17679 )
2019-04-05 07:53:25 -07:00
Shelley Vohr
9c3cb55ef2
refactor: make accessibilitySupportEnabled a property on app ( #17362 )
...
* refactor: make accessibilitySupport a prop on app
* fix docs
* update spec
2019-04-04 19:49:04 -07:00
Electron Bot
11699d8611
Bump v6.0.0-nightly.20190404
2019-04-04 11:42:14 -07:00
Cheng Zhao
ac30185a04
fix: the callback of beginFrameSubscription should pass NativeImage instead of Buffer ( #17548 )
...
* Revert "revert: frame subscriber deprecation and re-enable tests"
This reverts commit f643ce4f66 .
* fix: make sure SkBitmap's pixels are copied
2019-04-04 11:36:12 -07:00
Milan Burda
77d59e99b6
feat: emit process 'loaded' event in sandboxed renderers ( #17680 )
2019-04-04 11:35:06 -07:00
Jeremy Apthorp
127b87c713
refactor: mojofy MessageTo and MessageHost ( #17613 )
2019-04-03 14:22:23 -07:00
Samuel Attard
5d45b59f7f
Merge pull request #17507 from electron/chromium-upgrade/75
...
chore: update to chromium 75.0.3740.3
2019-04-03 13:17:37 -07:00
Alexey Kuzmin
cd8402fc9f
build: optionally exclude some parts of patches from being applied ( #17625 )
2019-04-03 12:42:49 -07:00
Samuel Attard
a65f242dbd
chore: fixup ismediakey patch for lost changes
2019-04-03 11:36:32 -07:00
Shelley Vohr
8c8eac88a4
build: fix spec-main linting for 'only' ( #17666 )
2019-04-03 11:19:39 -07:00
Samuel Attard
59e3164206
build: ensure runner is defined inside the spec callback ( #17664 )
2019-04-02 18:25:45 -07:00
Samuel Attard
76d584c81d
build: force a windows CI run
2019-04-02 17:19:36 -07:00
Samuel Attard
dc4fe537ee
build: auto-generate the browserify step GN inputs ( #17626 )
2019-04-02 17:12:10 -07:00
Jeremy Apthorp
53f6cbccbf
refactor: use mojo for electron internal IPC ( #17406 )
...
* refactor: use mojo for electron internal IPC
* add sender_id, drop MessageSync
* remove usages of AtomFrameMsg_Message
* iwyu
* first draft of renderer->browser direction
* refactor to reuse a single ipc interface
* implement TakeHeapSnapshot through mojo
* the rest of the owl^WtakeHeapSnapshot mojofication
* remove no-op overrides in AtomRendererClient
* delete renderer-side ElectronApiServiceImpl when its pipe is destroyed
* looks like we don't need to overlay the renderer manifest after all
* don't try to send 2 replies to a sync rpc
* undo changes to manifests.cc
* unify sandboxed + unsandboxed ipc events
* lint
* register ElectronBrowser mojo service on devtools WebContents
* fix takeHeapSnapshopt failure paths
* {electron_api => atom}::mojom
* add send_to_all to ElectronRenderer::Message
* keep interface alive until callback is called
* review comments
* use GetContext from RendererClientBase
* robustify a test that uses window.open
* MessageSync posts a task to put sync messages in the same queue as async ones
* add v8::MicrotasksScope and node::CallbackScope
* iwyu
* use weakptr to api::WebContents instead of Unretained
* make MessageSync an asynchronous message & use non-associated interface
* iwyu + comments
* remove unused WeakPtrFactory
* inline OnRendererMessage[Sync]
* cleanups & comments
* use helper methods instead of inline lambdas
* remove unneeded async in test
* add mojo to manifests deps
* add gn check for //electron/manifests and mojo
* don't register renderer side service until preload has been run
* update gn check targets list
* move interface registration back to RenderFrameCreated
2019-04-02 15:38:16 -07:00
Samuel Attard
63d6be0480
chore: add patch to fix MSVC++ incompatibilty on Windows
2019-04-02 14:43:06 -07:00
Samuel Attard
d1a7b42906
chore: disable custom libcxx on windows
2019-04-02 14:43:06 -07:00
Samuel Attard
2fda0bdc89
chore: enable_data_url_support does not exist anymore
2019-04-02 14:43:06 -07:00
Samuel Attard
a34c47b542
build: do not use custom libcxx on windows
2019-04-02 14:43:06 -07:00
Samuel Attard
fe06784a3b
build: disable the custom libcxx on Windows
2019-04-02 14:43:06 -07:00
Jeremy Apthorp
7e9a271852
don't copy in make_shared in win32_desktop_notifications
2019-04-02 14:43:05 -07:00
Samuel Attard
e352d735f6
fix: use default constructor for NotificationData struct
2019-04-02 14:43:05 -07:00
Samuel Attard
43dc4e8a13
chore: include what we use, cmath in toast.cc
2019-04-02 14:43:05 -07:00
Samuel Attard
0fd0b3fb4b
chore: make DCHECK available in win7 toast impl
2019-04-02 14:43:05 -07:00
Samuel Attard
30448bb1b8
build: allow zip files to be created larger than 2GB
2019-04-02 14:43:05 -07:00
deepak1556
515c927b14
fixup! enable_file_url_support and enable_data_url_support have been removed
2019-04-02 14:43:05 -07:00
Samuel Attard
b965abfda8
chore: replace DCHECK(a > b) with DCHECK_GT
2019-04-02 14:43:05 -07:00
Samuel Attard
90a738a4d4
fix: _ASSERT is not defined anymore, the appropriate replacement is DCHECK
2019-04-02 14:43:05 -07:00
Samuel Attard
ab66c4b7f9
fixme: IsNearDeath has been removed upstream
...
Adds a patch that reverts https://chromium-review.googlesource.com/c/v8/v8/+/1526195
in order to let native modules build. nan has a strong dependency on
the IsNearDeath method. This needs to be solved upstream in nan or V8.
2019-04-02 14:43:05 -07:00
Samuel Attard
04a8b9fe5c
fix: base::LaunchOptions environ is now environment
...
Just a rename
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1509795
2019-04-02 14:43:05 -07:00
Samuel Attard
b429e6e2df
chore: disable clang-format and cpplint for impl of HandleExternalProtocol
...
NOLINT disables the linting error that we can't fix because its just
implementing a content API.
We also disable clang-format because it tries to format the // NOLINT
onto a new line which doesn't exactly work
2019-04-02 14:43:04 -07:00
Samuel Attard
126639875d
Revert "device/fido/mac: add more specific check for TouchID availability"
...
This reverts commit 457ff0687c .
The change in Chromium that required this removal was itself reverted.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1504308
2019-04-02 14:43:04 -07:00
Samuel Attard
158e41e578
chore: add missing content:: namespace for BrowserContext in PlatformNotificationService
2019-04-02 14:43:04 -07:00
Samuel Attard
7382c519c9
fix: Add stub implementations for ScheduleTrigger and
...
ReadNextTriggerTimestamp
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1479330
2019-04-02 14:43:04 -07:00
Samuel Attard
866cbb0147
fix: SetCanonicalCookieAsync now takes the full CookieOptions
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1471244
2019-04-02 14:43:04 -07:00
Samuel Attard
7467e91880
fix: RFH->ExecuteJavascriptForTesting now requires a callback
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1492042
2019-04-02 14:43:04 -07:00
Samuel Attard
74ac80e218
fix: ViewHierarchyChangedDetails moved to the views namespace
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1531481
2019-04-02 14:43:04 -07:00
Samuel Attard
ab92cfd174
fix: enable_file_url_support and enable_data_url_support have been
...
removed
Unsure how the change in default of file_url_support affects us
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1512337
2019-04-02 14:43:04 -07:00
Samuel Attard
f95de3d6f3
fix: RFH->ExecuteJavascript now requires a callback
...
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1492042
2019-04-02 14:43:04 -07:00
Samuel Attard
2bf740d2fe
fix: remove enable_data_url_support from OnNetworkServiceCreated
...
data URLs are _always_ enabled in the network service now and this is
enforced in the Content layer.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1512337
2019-04-02 14:43:04 -07:00
Samuel Attard
406ceaabd1
chore: update permission_status.h include for new path
2019-04-02 14:43:03 -07:00
Samuel Attard
50b9933705
build: update circle base image and mac docs for 10.13 SDK
2019-04-02 14:43:03 -07:00
Jeremy Apthorp
e44b5263a1
add extra arguments to HandleExternalProtocol
...
https://chromium-review.googlesource.com/c/chromium/src/+/1491812
2019-04-02 14:43:03 -07:00
Jeremy Apthorp
47d5f9f901
add //ui/base/idle dep
2019-04-02 14:43:03 -07:00
Jeremy Apthorp
9819433e88
fixup! download gn from cipd instead of GCS
2019-04-02 14:43:03 -07:00
Jeremy Apthorp
e2f0852c30
fixup! download gn from cipd instead of GCS
2019-04-02 14:43:03 -07:00
Jeremy Apthorp
9cc4cb2934
download gn from cipd instead of GCS
...
https://chromium-review.googlesource.com/c/chromium/src/+/1519726
2019-04-02 14:43:03 -07:00
Jeremy Apthorp
2dc422234a
update chromium patches
2019-04-02 14:43:03 -07:00
Jeremy Apthorp
0f990c3bdd
update boringssl patches
2019-04-02 14:43:03 -07:00
Jeremy Apthorp
7116c108d7
chore: update to chromium 75.0.3740.3
2019-04-02 14:43:02 -07:00
Tyler Dennis
5b696491db
docs: remove webaudio doc from browserwindow options ( #17633 )
2019-04-02 13:46:45 -07:00
Kilian Valkhof
57dd192dcd
docs: Lead with packaging tools on distribution page ( #17639 )
...
* Lead with packaging tools on distribution page
* fix trailing whitespace
2019-04-02 13:45:35 -07:00
Shelley Vohr
0431997c8d
refactor: make applicationMenu a property on app ( #17361 )
2019-04-02 13:36:57 -07:00
Shelley Vohr
d412582f72
docs: clarify cookie domain normalization ( #17590 )
2019-04-02 13:04:20 -07:00
Roller Bot
d50e8a5c4c
chore: bump chromium in DEPS to 74.0.3729.58 ( #17657 )
2019-04-02 10:26:42 -07:00
Mark Lee
66473e19cb
Fix typos in feature request template instructions ( #17651 )
2019-04-02 11:20:36 -05:00
Shelley Vohr
8ea33d69ac
fix: match net module headers & http.IncomingMessage headers ( #17517 )
...
* fix: match net module headers & http.IncomingMessage headers
* update net doc for cleanliness
* address feedback from review
* Update spec/api-net-spec.js
Co-Authored-By: codebytere <codebytere@github.com >
* add special cookie case
2019-04-02 07:41:19 -07:00
Jeremy Apthorp
7c6cedb119
test: de-flake getAllWebContents test by moving it to spec-main ( #17610 )
2019-04-01 18:28:11 -07:00
Jeremy Apthorp
eb27e9b055
refactor: move //electron/manifests:manifests target into main BUILD.gn ( #17611 )
2019-04-01 18:25:19 -07:00
Samuel Attard
75442b794f
fix: make devtools extensions load correctly ( #17614 )
2019-03-30 17:36:13 -07:00
Milan Burda
d597a0e8b0
refactor: expose ipcRendererInternal to the main world for window-setup using the content script world pattern ( #17591 )
2019-03-29 18:10:21 -07:00
Samuel Attard
b8dbe4bc15
spec: add tests for the autoUpdater on macOS that actually test if it works ( #17442 )
...
* spec: add tests for the autoUpdater on macOS that actually test if it works
* spec: add express as dep
* spec: add logic to auto-trust self-signed certificate and not run autoupdate specs on MAS
* build: fix the step name for importing the codesign cert
* chore: update updater spec PR as per feedback
* fix: s/atomBinding/electronBinding
* build: use spawn instead of exec
2019-03-29 17:32:52 -07:00
Roller Bot
5045b0a962
chore: bump chromium in DEPS to 74.0.3729.48 ( #17606 )
2019-03-29 13:44:19 -07:00
Samuel Attard
953d1ea635
fix: ensure dots in content script patterns aren't used as wildcards ( #17593 )
...
* fix: ensure dots in content script patterns aren't used as wildcards
* chore: sanitise all regexp special chars
* chore: extract to helper
* chore: fixup helper
2019-03-28 14:03:37 -07:00
Samuel Attard
32c9597cbc
build: ensure we use objc regexps for export-patches ( #17598 )
...
* build: ensure we use objc regexps for export-patches
* build: also use objc for *.m
Co-Authored-By: MarshallOfSound <samuel.r.attard@gmail.com >
2019-03-28 14:01:43 -07:00
Shelley Vohr
808783a5e4
fix: crashReporter.getParameters() takes no params ( #17459 )
2019-03-28 15:04:16 -04:00
Roller Bot
69d4c91895
chore: bump chromium in DEPS to 74.0.3729.45 ( #17589 )
2019-03-28 11:16:45 -07:00
Heilig Benedek
7a47e64e65
fix: update patch to make Windows key work with global shortcuts ( #17565 )
2019-03-28 11:15:22 -07:00
Samuel Attard
3475cd168e
fix: handle a race condition between preload scripts executing and ( #17577 )
...
navigations
There is a race condition between DidCreateScriptContext and another
navigation occuring in the main process. If the navigation occurs while
the preload script is running, the same process is re-used. This
ensures that any pending navigations are completely removed / ignored
when we trigger a new navigation.
Fixes #17576
2019-03-28 11:13:05 -07:00
John Kleinschmidt
7eaa57b116
build: remove native mksnapshot for arm/arm64 ( #17561 )
...
* build: remove native mksnapshot for arm/arm64
2019-03-28 11:05:43 -04:00
Milan Burda
8cf15cc931
feat: only allow bundled preload scripts ( #17308 )
2019-03-28 11:38:51 +01:00
Richard Townsend
3d307e5610
fix: correct crash reporter for Windows on Arm ( #17533 )
...
ARM64 cleans up and moves around RUNTIME_FUNCTION structure fields.
With this patch applied, electron should build cleanly for Windows on Arm.
2019-03-27 11:30:11 -07:00
Samuel Attard
f4434763fe
fix: use file path as key for safeDialogs on filesystem ( #17546 )
2019-03-27 11:21:10 -07:00
Samuel Attard
2188a6ea99
fix: set default_id and cancel_id correctly on confirm dialogs ( #17547 )
2019-03-27 11:15:58 -07:00
Shelley Vohr
4e57a732a8
feat: allow windows to be excluded from the windows menu ( #17404 )
...
* feat: allow windows to be excluded from the windows menu
* excludedfromWindowsMenu => excludedFromShownWindowsMenu
* implement no-op for win & linux
2019-03-27 08:10:23 -04:00
Samuel Attard
ec5e0ef06e
build: speed up windows download of external binaries ( #17559 )
2019-03-26 20:22:54 -05:00
Roller Bot
75b4db60cf
chore: bump chromium in DEPS to 74.0.3729.38 ( #17555 )
2019-03-26 13:26:36 -07:00
Shelley Vohr
34eb5d0815
fix: correctly return properties on the netLog module ( #17525 )
2019-03-25 22:40:38 -04:00
Milan Burda
336db33d18
refactor: use ipcMainUtils.invokeInWebContents / ipcRendererUtils.handle helpers for Chrome APIs ( #17417 )
2019-03-26 11:38:35 +09:00
Milan Burda
546466b209
feat: add <webview>.getWebContentsId() ( #17407 )
2019-03-26 10:57:27 +09:00
Samuel Attard
9e26dfaa06
build: use async remove method to handle errors better ( #16917 )
...
On windows removeSync randomly seems to fail with DIRNOTEMPTY. By using
the async version fs-extra will do some back-off-retry logic to
hopefully get this dir deleted
2019-03-26 10:34:03 +09:00
Milan Burda
cbd884060e
fix: validate sender for replies in ipcMainInternalUtils.invokeInWebContents() ( #17416 )
2019-03-26 10:15:51 +09:00
Milan Burda
95df531b33
fix: add missing buffer size check in nativeImage ( #17465 )
2019-03-26 10:13:39 +09:00
Robo
6c20c6e668
refactor: Enable network service (Part 1) ( #17431 )
...
* Convert InspectableWebContentsImpl::LoadNetworkResource to SimpleURLLoader
https://bugs.chromium.org/p/chromium/issues/detail?id=721408
* Plumb creation of network context with the service
2019-03-26 10:10:48 +09:00
Shelley Vohr
4ec2f8b67b
chore: remove some bot config options ( #17506 )
2019-03-22 19:29:23 -05:00
Shelley Vohr
a5febe392c
chore: update issue templates with guidelines ( #17505 )
2019-03-22 16:56:52 -07:00
Cheng Zhao
49f13e38f9
fix: close context menu before popup ( #17474 )
2019-03-21 21:56:22 -07:00
Samuel Attard
d2ad8efef4
build: pass through value of unknown flag as well as the flag to make --grep work again ( #17485 )
2019-03-21 12:24:07 -07:00
Nitish Sakhawalkar
a16dc13f85
chore: Update node commit sha ( #17486 )
...
No changes made to node canary, just rebased with fixups.
This change updates to the new commit of `electron-node-canary`.
2019-03-21 14:19:49 -05:00
Samuel Attard
784f9742bc
build: auto-fix whitespace in docs in pre-commit hook ( #17490 )
2019-03-21 12:15:55 -07:00
Jeremy Apthorp
6555be2636
chore: bump chromium to 74.0.3729.27 (master) ( #17345 )
...
* chore: bump chromium to 74.0.3729.5 (master)
* Remove ScopedBlockingCall constructor without location
https://chromium-review.googlesource.com/c/chromium/src/+/1496560
* Use XCode 9.4.1 for Mac SDK 10.13
* chore: roll chromium 74.0.3729.27
2019-03-21 11:45:22 -04:00
Milan Burda
07b02653ba
docs: update sandbox-option.md ( #17468 )
...
* docs: update sandbox-option.md
* Update docs/api/sandbox-option.md
Co-Authored-By: miniak <milan.burda@gmail.com >
2019-03-21 14:41:53 +01:00
Shelley Vohr
b25279df89
docs: clarify documentation for getLastCrashReport ( #17458 )
...
* docs: clarify documentation for getLastCrashReport
* address feedback
2019-03-20 15:34:21 -07:00
Shelley Vohr
b140a82fe8
fix: take foreground visibility into account for isVisible on macOS ( #17463 )
2019-03-20 15:33:59 -07:00
Milan Burda
a82bbd010e
build: strip trailing whitespace in docs ( #17488 )
2019-03-20 13:12:47 -07:00
Klaus Sinani
1c7b3026a6
docs: Use correct image URL on docs/tutorial/windows-taskbar.md ( #17467 )
2019-03-20 10:01:28 -07:00
Samuel Attard
45d90e77b7
fix: use a more unique identifier for NSUserNotification instances ( #17469 )
...
So although apple has it documented that notifications with duplicate identifiers in the same session won't be presented. They apparently forgot to mention that macOS also non-deterministically and without any errors, logs or warnings will also not present some notifications in future sessions if they have a previously used identifier.
As such, we're going to truly randomize these identifiers so they are
unique between apps and sessions. The identifier now consists of a
randomly generated UUID and the app bundle id.
2019-03-20 09:53:20 -07:00
Milan Burda
de1bacddd9
docs: process.getProcessMemoryInfo() returns a Promise ( #16593 )
...
* docs: process.getProcessMemoryInfo() returns a Promise
* chore: bump electron-typescript-definitions to get Promise<T> fix
2019-03-20 17:26:57 +01:00
Cheng Zhao
671533f7d2
fix: check the result when calling js function ( #17443 )
...
* fix: check the result when calling js function
* test: should not crash when callback returns nothing
2019-03-20 08:27:06 -07:00
Samuel Attard
1571461bae
build: add a workaround for circleci known_hosts issue ( #17471 )
2019-03-19 19:37:52 -07:00
Shelley Vohr
1d93bc76cd
feat: expose colorSpace to display object ( #17405 )
...
* feat: expose colorSpace to display object
* update doc
* add a spec
2019-03-19 15:12:03 -07:00
Milan Burda
4c51fa93f5
feat: add systemPreferences.getAnimationSettings() ( #17382 )
2019-03-19 12:15:40 -07:00
Milan Burda
4d8e024b6d
spec: fix isEmpty() checks in nativeImage tests ( #17441 )
2019-03-19 12:13:15 -07:00
Zachary
9b359c6a75
docs: correction to ipc-main-event.md 'frane' to 'frame' ( #17424 )
2019-03-19 12:07:30 -07:00
Milan Burda
7389dfca59
fix: report module name when require fails in sandboxed renderers ( #17413 )
2019-03-19 12:00:41 -07:00
Milan Burda
06a4594435
chore: remove special handling for dialog methods in remote module ( #17412 )
...
* chore: remove special handling for dialog methods in remote module
* refactor: remove callFunction helper
2019-03-19 11:59:33 -07:00
Benny Neugebauer
f4c3151815
docs: fix typo in webview.md ( #17454 )
2019-03-19 11:43:19 -07:00
Milan Burda
ddd51525f1
refactor: make ELECTRON_INSPECTOR_CONTEXT_MENU handler async ( #17411 )
2019-03-19 10:37:43 -07:00
Shelley Vohr
879462af4b
docs: document modernization initiative more clearly ( #17376 )
...
* docs: document modernization initiative more clearly
2019-03-19 10:31:45 -07:00
Milan Burda
53f4af7722
fix: regressions introduced by adding world isolation to Chrome extension content scripts ( #17422 )
2019-03-19 14:45:48 +01:00
Shelley Vohr
2fb9085e5b
feat: add tray.getTitle() ( #17385 )
...
* feat: add tray.getTitle
* fix spec
2019-03-18 12:40:34 -07:00
Shelley Vohr
38d75010c7
chore: rename atomBinding to electronBinding ( #17419 )
2019-03-18 12:37:06 -07:00
Samuel Attard
5025c991ee
fix: pass the correct HostPort into the node inspector ( #17380 )
...
Fixes #17348
2019-03-18 09:19:33 -07:00
Shelley Vohr
db29978fe0
fix: throw error when inserting menu items out-of-range ( #17401 )
...
* fix: throw error when inserting menu items out-of-range
* also check pos < 0
2019-03-18 07:58:42 -07:00
Shelley Vohr
f09f43a4a9
chore: remove unused arg parsing code in dialog ( #17420 )
2019-03-18 07:58:03 -07:00
Samuel Attard
108545e416
spec: add new test runner for main-process based tests ( #17325 )
2019-03-17 14:49:00 -07:00
Milan Burda
3a091cdea4
refactor: implement clipboard APIs without the remote module ( #17200 )
2019-03-15 17:32:04 -07:00
Samuel Attard
b502c62111
spec: fix fixtures path for second instance test
2019-03-15 12:29:25 -07:00
Samuel Attard
984e77e470
fix: spec runner not parsing correctly
2019-03-15 10:57:12 -07:00
Heilig Benedek
43ef561d48
feat: enable NodeIntegrationInSubFrames for webview ( #17226 )
...
* feat: enable nodeIntegrationInSubFrames for webview
* test: add tests
* docs: document webview's nodeintegrationinsubframes
* lint: fix indent
* fix: resolve some merge bloopers
2019-03-15 10:39:20 -07:00
Samuel Attard
4b6b59cc82
chore: update PR as per feedback
2019-03-14 17:22:42 -07:00
Shelley Vohr
961c9a88a8
feat: promisify dialog.showCertificateTrustDialog() ( #17181 )
...
* feat: promisify dialog.showCertificateTrustDialog()
* update promisification doc
2019-03-15 09:02:50 +09:00
Samuel Attard
6b326f7924
build: spread runner args onto the runner
2019-03-14 16:15:23 -07:00
Milan Burda
f15d0b1ed7
refactor: make ELECTRON_INSPECTOR_CONFIRM handler async ( #17378 )
2019-03-14 15:29:40 -07:00
Samuel Attard
df57ac4ce7
chore: steal all unknown args for use by the spec runners
2019-03-14 15:23:21 -07:00
Shelley Vohr
cb4ede453f
chore: add deprecation helper for fnToProperty ( #17377 )
...
* chore: add deprecation helper for fnToProperty
* add a test
2019-03-14 15:19:19 -07:00
Samuel Attard
be60f93bd0
fix: we can not use ts-node apaprently
2019-03-14 13:39:53 -07:00
Shelley Vohr
12b6a0f5b2
feat: add native emoji picker ( #17359 )
2019-03-14 13:39:52 -07:00
Samuel Attard
46e5767527
update for PR feedback
2019-03-14 13:18:16 -07:00
Samuel Attard
259bc3a918
build: remove log from the spec runner
2019-03-14 12:50:06 -07:00
Samuel Attard
a55d1ef305
spec: chai is funky
2019-03-14 12:50:06 -07:00
Samuel Attard
6b65e3523e
wut
2019-03-14 12:50:06 -07:00
Samuel Attard
b967ae4c51
build: downgrade chai to work around nested adssertion bug
2019-03-14 12:50:06 -07:00
Samuel Attard
2023e32130
spec: push electron/spec into the spec runner args before the linux dbus wrapper
2019-03-14 12:50:06 -07:00
Samuel Attard
3656d12cba
build: auto generate electron.d.ts in the spec runner if it is missing
2019-03-14 12:50:06 -07:00
Samuel Attard
ca701bb9af
spec: initial spike of main-process based tests
2019-03-14 12:50:06 -07:00
Milan Burda
2e89348541
feat: promisify executeJavaScript ( #17312 )
2019-03-14 12:08:54 -07:00
Milan Burda
878538f2e8
feat: add safer nativeImage.createFromBitmap(), which does not decode PNG/JPEG ( #17337 )
2019-03-14 11:00:38 -07:00
Shelley Vohr
aa8b66aae1
feat: promisify session.getBlobData() ( #17303 )
2019-03-14 08:11:01 -07:00
d1g1t4ld1n4
c082b3964c
docs: clarification of requestSingleInstanceLock() docs ( #17304 )
...
* docs: upstream doc links added to default window
Added the link to the Node docs and Chromium docs to the default window (not sure if I linked the chromium docs correctly, please let me know/feel free to suggest changes if you know the correct way to do so)
* docs: clarify what requestSingleInstanceLock() does
* Revert "docs: upstream doc links added to default window"
This reverts commit 829417cf29 .
* docs: clarify what requestSingleInstanceLock() does
2019-03-13 19:42:16 -07:00
Shelley Vohr
d9234798d3
chore: clean up promise resoution with helpers ( #17268 )
2019-03-13 14:30:21 -07:00
Shelley Vohr
3e5a98b5f4
feat: promisify In-App Purchase ( #17355 )
...
* feat: promisify In-App Purchase
* use mate::Arguments in GetProducts
2019-03-13 13:56:01 -07:00
Milan Burda
faabd0cc8b
refactor: add ipcMainUtils.invokeInWebContents / ipcRendererUtils.handle helpers ( #17313 )
2019-03-13 12:03:17 -07:00
Milan Burda
df7dc9396e
fix: don't crash when nativeImage.createFromBuffer() called with invalid buffer ( #17344 )
2019-03-13 08:26:11 -07:00
Jeremy Apthorp
90fcc574f4
chore: add description to accelerator.patch ( #17346 )
2019-03-13 10:11:07 +05:30
Jeremy Apthorp
86291236a0
spec: robustify some webview tests ( #17301 )
2019-03-12 15:50:28 -07:00
Heilig Benedek
14cc8a1808
fix: improve focused menu bar item visibility ( #17291 )
2019-03-12 15:29:45 -07:00
Shelley Vohr
5eb75e91b9
chore: fix default_app showMessageBox ( #17357 )
2019-03-12 14:10:18 -07:00
Shelley Vohr
8991c0056e
feat: promisify dialog.showMessageBox() ( #17298 )
...
* feat: promisify dialog.showMessageBox()
* address feedback from review
2019-03-12 11:06:59 -07:00
Jeremy Apthorp
ea6a926494
test: add test for second-instance event parameter ( #16798 )
...
* test: add test for second-instance event parameter
* robustify getting data from child process
* fix test on windows
* fix lint
* Update api-app-spec.js
* fix package-lock.json
2019-03-12 11:56:28 -04:00
Milan Burda
48a95f9677
fix: remove non-existent gpu-crashed event on <webview> ( #17317 )
2019-03-11 17:25:46 -07:00
Nitish Sakhawalkar
e77d065875
chore: node_includes header no longer needs to be at the end of the list ( #17090 )
...
Until one of the latest version of node, the definition of the DISALLOW_COPY_AND_ASSIGN macro in node was different than in chromium. That is no longer the case, so just undefining the macro in node_includes.h works.
2019-03-11 17:13:43 -07:00
Samuel Maddock
f943db7ad5
feat: Add content script world isolation ( #17032 )
...
* Execute content script in isolated world
* Inject script into newly created extension worlds
* Create new content_script_bundle for extension scripts
* Initialize chrome API in content script bundle
* Define Chrome extension isolated world ID range
1 << 20 was chosen as it provides a sufficiently large range of IDs for extensions, but also provides a large enough buffer for any user worlds in [1000, 1 << 20).
Ultimately this range can be changed if any user application raises it as an issue.
* Insert content script CSS into document
This now avoids a script wrapper to inject the style sheet. This closely matches the code used by chromium in `ScriptInjection::InjectCss`.
* Pass extension ID to isolated world via v8 private
2019-03-11 16:27:57 -07:00
Milan Burda
6072da239d
feat: add global renderer-process-crashed event ( #17315 )
2019-03-11 16:17:24 -07:00
Milan Burda
a8698d092b
chore: increase security of default_app ( #17318 )
2019-03-11 16:13:46 -07:00
Jeremy Apthorp
188d31132b
spec: robustify sendInputEvent beforeEach hook ( #17300 )
2019-03-11 13:35:44 -07:00
Samuel Attard
c7a453226d
fix: remove label/image from segment if they are mutated to undefined/null ( #17323 )
2019-03-11 11:13:36 -07:00
Electron Bot
b43e4b8e0e
Bump v6.0.0-nightly.20190311
2019-03-11 10:56:01 -07:00
Electron Bot
a958eb9c44
Bump v6.0.0-nightly.20190308
2019-03-08 19:38:21 -08:00
Electron Bot
7343a2f232
Revert "Bump v6.0.0-nightly.20190308"
...
This reverts commit 40af881844 .
2019-03-08 19:36:24 -08:00
Electron Bot
40af881844
Bump v6.0.0-nightly.20190308
2019-03-08 19:36:08 -08:00
Samuel Attard
a968f4f999
build: remove strip_debug_info gn arg declaration as it is android only and causing release build failures on windows ( #17306 )
2019-03-08 19:34:39 -08:00
Shelley Vohr
9ea6c01e02
feat: promisify session.clearAuthCache() ( #17259 )
...
* feat: promisify session.clearAuthCache()
* remove unused callback runner helpers
2019-03-08 18:41:42 -08:00
Electron Bot
58a9a81895
Revert "Bump v6.0.0-nightly.20190308"
...
This reverts commit 4728cebd9e .
2019-03-08 17:46:53 -08:00
Electron Bot
4728cebd9e
Bump v6.0.0-nightly.20190308
2019-03-08 17:13:26 -08:00
Samuel Attard
699ef08e84
Merge pull request #17088 from electron/chromium-upgrade/74
...
feat: upgrade to Chromium 74.0.3724.8
2019-03-08 17:08:59 -08:00
Samuel Attard
5c42f57197
test: skip failing win32 devtools keyboard spec
2019-03-08 17:07:10 -08:00
Samuel Maddock
8ee153dae1
feat: add support for content scripts 'all_frames' option ( #17258 )
...
* feat: add support for content scripts 'all_frames' option
* merged content script tests
'all_frames' test now runs on all variants of sandbox/contentIsolation configurations :D
2019-03-08 15:53:25 -08:00
Seba Kerckhof
b7fc50b7ca
docs: Add information on packaging a build ( #17086 )
...
* docs: Add information on packaging a build
* Stripping only applies to linux
2019-03-08 15:24:00 -08:00
Samuel Attard
e185057ef9
chore: fix linting issues in atom_api_cookies.cc
2019-03-08 15:13:22 -08:00
Jeremy Apthorp
a46b8efc8a
temporarily disable verify-mksnapshot on arm
2019-03-08 15:13:22 -08:00
Jeremy Apthorp
d548c8c692
fix: build on arm
2019-03-08 15:13:21 -08:00
deepak1556
457ff0687c
device/fido/mac: add more specific check for TouchID availability
...
https://chromium-review.googlesource.com/c/chromium/src/+/1487811
2019-03-08 15:13:12 -08:00
Jeremy Apthorp
bf6fea3b59
AttachToOuterWebContentsFrame => AttachInnerWebContents
...
https://chromium-review.googlesource.com/c/1492653
2019-03-08 15:13:12 -08:00
Jeremy Apthorp
0d534b3c52
fix: compile error in frame_subscriber.h
...
https://chromium-review.googlesource.com/c/1460096
2019-03-08 15:13:12 -08:00
deepak1556
47b92b6413
chore: roll 74.0.3724.8
2019-03-08 15:13:12 -08:00
Jeremy Apthorp
9c76ce38e3
appveyor workaround for appveyor/ci#2420
2019-03-08 15:10:52 -08:00
Jeremy Apthorp
2840e45920
use patched robotjs to fix compile failure
2019-03-08 15:10:52 -08:00
Jeremy Apthorp
38304be688
force abstract-socket version to fix compile error
2019-03-08 15:10:52 -08:00
Jeremy Apthorp
990ba15157
update nan in spec deps
2019-03-08 15:10:52 -08:00
Jeremy Apthorp
69bf9aa605
fix extra-semi warnings
2019-03-08 15:10:52 -08:00
deepak1556
8043e2e278
build: only download gn binary for lint step
2019-03-08 15:06:16 -08:00
deepak1556
e8f6f31fe4
Disable network service
...
https://github.com/electron/electron/issues/15791
2019-03-08 15:06:16 -08:00
deepak1556
0243b0ffc1
Change base::JSONReader::ReadToValue() to return Optional.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1476186
2019-03-08 15:06:16 -08:00
deepak1556
fb9d1bd83c
Change net::CookieStore::SetCookiesCallback to return CookieInclusionStatus
...
https://chromium-review.googlesource.com/c/chromium/src/+/1470931
2019-03-08 15:06:16 -08:00
deepak1556
c735116cc3
Take scheme in CookieStore::SetCanonicalCookieAsync, not just whether it's secure.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1450420
2019-03-08 15:06:16 -08:00
deepak1556
457abecad6
Remove obsolete WebVector::IsEmpty().
...
https://chromium-review.googlesource.com/c/chromium/src/+/1482145
2019-03-08 15:06:16 -08:00
deepak1556
bfe876afcd
Use IPEndPoint instead of HostPortPair
...
https://chromium-review.googlesource.com/c/chromium/src/+/1473094
2019-03-08 15:06:16 -08:00
deepak1556
3f4f774838
Remove const interfaces from content::ResourceRequestInfo.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1474632
2019-03-08 15:06:16 -08:00
deepak1556
66128a7152
Add RenderFrameHost as parameter to WebContentsDelegate::HandleContextMenu
...
https://chromium-review.googlesource.com/c/chromium/src/+/1472696
2019-03-08 15:06:16 -08:00
Jeremy Apthorp
0bae707995
fix extra-semi warning in frame_host_manager.patch
2019-03-08 15:06:16 -08:00
Jeremy Apthorp
7245546274
update chromium patches
2019-03-08 15:06:16 -08:00
Jeremy Apthorp
1650ca3699
update v8 patches
...
array_buffer patch upstreamed at https://chromium-review.googlesource.com/c/v8/v8/+/1462003
2019-03-08 15:06:16 -08:00
Jeremy Apthorp
36abc0e547
chore: roll to 74.0.3718.2
2019-03-08 15:06:16 -08:00
deepak1556
ffc32d8130
Move buildtools into src
...
https://chromium-review.googlesource.com/c/chromium/src/+/1450459
2019-03-08 15:06:16 -08:00
deepak1556
43f909a9a3
chore: update is-valid-window
2019-03-08 15:06:15 -08:00
deepak1556
8f15dc4ff9
chore: roll 74.0.3711.0
2019-03-08 15:06:15 -08:00
Jeremy Apthorp
38c3891337
fix: initialize field trial list
...
https://chromium-review.googlesource.com/c/1402880
2019-03-08 15:06:15 -08:00
Jeremy Apthorp
d47ed72d17
FIXME: disable field-trial descriptor DCHECK
2019-03-08 15:05:54 -08:00
Jeremy Apthorp
014654e794
[OnionSoup] Replace content::RendererPreferences with the mojom one.
...
https://chromium-review.googlesource.com/c/1426522
2019-03-08 15:04:32 -08:00
deepak1556
d04d11cfb5
[mojo] include mojo header
...
https://chromium-review.googlesource.com/c/chromium/src/+/1447145
2019-03-08 15:04:32 -08:00
deepak1556
03f9d40635
Expand GpuInfo to include image decode acceleration support.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1471913
2019-03-08 15:04:32 -08:00
deepak1556
527e8f3a31
IWYU: add missing headers
2019-03-08 15:04:32 -08:00
deepak1556
49f414b439
[Mac] Remove GC calls from Chromium.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1471382
2019-03-08 15:04:32 -08:00
deepak1556
43361164e8
Change signature of GetCookieListCallback to include list of excluded cookies
...
https://chromium-review.googlesource.com/c/chromium/src/+/1416151
2019-03-08 15:04:32 -08:00
deepak1556
ccd4a3c80c
CookieStore::DeleteCookieAsync appears unused (outside a few tests), so remove it
...
https://chromium-review.googlesource.com/c/chromium/src/+/1456677
2019-03-08 15:04:32 -08:00
deepak1556
a7e2856bf0
//components/spellcheck: Fix 64-bit truncation issues
...
https://chromium-review.googlesource.com/c/chromium/src/+/1450592
2019-03-08 15:04:32 -08:00
deepak1556
ac609a3d78
Remove deprecated override of RegisterDictionaryPref
...
https://chromium-review.googlesource.com/c/chromium/src/+/1459538
2019-03-08 15:04:32 -08:00
deepak1556
611b36719b
Remove channel_id_path from NetworkContextParams (and other related places)
...
https://chromium-review.googlesource.com/c/chromium/src/+/1435678
2019-03-08 15:04:32 -08:00
deepak1556
59cb0ac32e
Copy base::JSONReader::Read() to ReadDeprecated().
...
https://chromium-review.googlesource.com/c/chromium/src/+/1435715
2019-03-08 15:04:32 -08:00
deepak1556
6f14df039e
[DevTools] Stop passing base::Value to DevToolsManagerDelegate
...
https://chromium-review.googlesource.com/c/chromium/src/+/1459807
2019-03-08 15:04:32 -08:00
deepak1556
4450c26206
[v8] Advance deprecation for Value::BooleanValue
...
https://chromium-review.googlesource.com/c/v8/v8/+/1458245
2019-03-08 15:04:32 -08:00
deepak1556
7270a08f9c
WebSQL: Don't pass name/metadata around, use content::StorageUsageInfo
...
https://chromium-review.googlesource.com/c/chromium/src/+/1432375
2019-03-08 15:04:32 -08:00
deepak1556
b99ff3448e
Use base::BindOnce in notifications code
...
https://chromium-review.googlesource.com/c/chromium/src/+/1418170
2019-03-08 15:04:32 -08:00
deepak1556
00aeb8e5c5
Revert "Disable precompiled headers"
...
This reverts commit 2556d86c8a .
Required clang update is now available.
2019-03-08 15:04:32 -08:00
deepak1556
59703c60ac
Convert remaining JSON service manifests
...
https://bugs.chromium.org/p/chromium/issues/detail?id=895616
2019-03-08 15:04:32 -08:00
deepak1556
04ad579e8f
chore: update patches/common/chromium
2019-03-08 15:04:32 -08:00
deepak1556
a3deae4491
chore: update patches/common/v8
2019-03-08 15:04:31 -08:00
deepak1556
9bc3888378
chore: update patches/common/boringssl
2019-03-08 15:04:31 -08:00
deepak1556
c13bf5692a
chore: roll 74.0.3710.0
2019-03-08 15:03:15 -08:00
Shelley Vohr
fc10620082
feat: promisify session cache methods ( #17185 )
2019-03-08 14:42:03 -08:00
Jeremy Apthorp
652e232813
feat: enable setuid sandbox on linux ( #17269 )
2019-03-08 13:10:26 -08:00
Samuel Attard
890f38e8fa
build: use shx instead of raw cp to support windows ( #17299 )
2019-03-08 12:52:28 -08:00
Shelley Vohr
2769e75b49
feat: promisify session proxy methods ( #17222 )
2019-03-08 12:51:12 -08:00
Jeremy Apthorp
34fb6c2f35
fix: crash in ECDH.setPrivateKey ( #17219 )
2019-03-08 10:50:04 -08:00
Robo
5afb7dc715
refactor: load electron builtin modules with process._linkedBinding ( #17247 )
...
* refactor: load electron builtin modules with process._linkedBinding
NODE_BUILTING_MODULE_CONTEXT_AWARE and process.binding are
removed in https://github.com/nodejs/node/pull/25829 . This changes
uses the alternative available without any functionality change.
* chore: roll node
2019-03-08 10:29:52 -08:00
Shelley Vohr
e5e6aa207c
feat: promisify ses.clearHostResolverCache() ( #17229 )
2019-03-08 10:26:17 -08:00
Samuel Attard
9d8619f305
fix: remove usage of private APIs in the MAS build ( #17224 )
...
* fix: remove usage of abort_report_np in MAS builds
* fix: remove usage of pthread_chdir in MAS builds
* fix: remove usage of setapplicationisdaemon in MAS builds
* chore: update patch manifest
2019-03-08 10:08:56 -08:00
Shelley Vohr
bbfa63fd9d
feat: promisify session.clearStorageData() ( #17249 )
2019-03-08 09:02:30 -08:00
Milan Burda
d34f81972d
refactor: make ELECTRON_BROWSER_SANDBOX_LOAD handler async ( #17107 )
2019-03-08 11:21:41 +01:00
Shelley Vohr
17dab8f239
build: turn gpg signing off for bootstrap ( #17282 )
2019-03-07 18:11:31 -08:00
Shelley Vohr
a4418a9014
chore: add static promise resolution helpers ( #17223 )
...
* chore: add static promise resolution helpers
* address feedback
* address feedback from review
2019-03-07 18:07:04 -08:00
Samuel Attard
61fc95417b
build: fix new TS linting errors ( #17279 )
...
* remove unused _args var
* handle type/variable shadowing
2019-03-07 17:18:10 -08:00
John Kleinschmidt
2be62b1c33
test: fix incorrect reference to skip ( #17278 )
2019-03-07 16:03:10 -08:00
Samuel Maddock
42b7b25ac3
feat: support chrome extensions in sandboxed renderer ( #16218 )
...
* Add content script injector to sandboxed renderer
* Fix 'getRenderProcessPreferences' binding to the wrong object
* Pass getRenderProcessPreferences to content-scripts-injector
* Emit document-start and document-end events in sandboxed renderer
* Use GetContext from RendererClientBase
* Prevent script context crash caused by lazily initialization
* Remove frame filtering logic for onExit callback
Since we're keeping track of which frames we've injected the bundle into, this logic is redundant.
* Add initial content script tests
* Add contextIsolation variants to content script tests
* Add set include
* Fix already loaded extension error
* Add tests for content scripts 'run_at' options
* Catch script injection eval error when CSP forbids it
This can occur in a rendered sandbox when a CSP is enabled. We'll need to switch to using isolated worlds to fix this.
* Fix content script tests not properly cleaning up extensions
* Fix lint and type errors
2019-03-07 16:00:28 -08:00
Jeremy Apthorp
825e526456
build: minor fixes to git-export-patches ( #17276 )
...
* fix: make export-patches robust to tags with dashes
* fix: --output is a required parameter of export-patches
2019-03-07 15:59:17 -08:00
Jeremy Apthorp
ca2c345997
chore: update package-lock.json with npm@latest ( #17146 )
...
* chore: update package-lock.json with npm@latest
* also for spec/
2019-03-07 15:34:33 -08:00
Milan Burda
5791a2a9ec
refactor: use ipcRendererUtils.invoke / ipcMainUtils.handle for desktopCapturer.getSources() ( #16619 )
2019-03-07 15:31:25 -08:00
Samuel Maddock
ac88b3ead5
feat: add 'disableHtmlFullscreenWindowResize' option to webPreferences ( #17203 )
...
This option allows users to prevent the window from resizing when the HTML5 FullScreen API is used.
2019-03-07 15:29:37 -08:00
Felix Rieseberg
f3fc4023cf
refactor: Port renderer/web-view to TypeScript ( #17250 )
2019-03-07 15:26:23 -08:00
Roller Bot
8c6bf9c848
chore: bump chromium in DEPS to 73.0.3683.68 ( #17262 )
2019-03-07 14:52:02 -08:00
Robo
bb88a07a94
fix: gn check errors in release build ( #17274 )
2019-03-07 14:48:22 -08:00
Samuel Maddock
8ec304f32f
fix: run subframe preload bundles in isolated context ( #17165 )
...
* fix: run subframe preload bundles in isolated context
* test subframe contextIsolation when disabled
2019-03-07 14:46:57 -08:00
Felix Rieseberg
5581990d78
build: Update TypeScript, use @typescript-eslint ( #17251 )
...
* build: Update TypeScript to v3.3
* build: Update TypeScript, use @typescript-eslint
2019-03-07 12:56:02 -08:00
Electron Bot
8c4d6438de
Bump v6.0.0-nightly.20190307
2019-03-07 12:51:33 -08:00
Electron Bot
229934ec66
Revert "Bump v6.0.0-nightly.20190307"
...
This reverts commit ab785e73ac .
2019-03-07 12:47:33 -08:00
Electron Bot
ab785e73ac
Bump v6.0.0-nightly.20190307
2019-03-07 12:34:10 -08:00
Robo
d4d6b9862f
fix: make StreamSubscriber ref counted ( #17221 )
...
It is owned by URLRequestStreamJob on the IO thread once request starts,
but if the ownership was abondoned while transfering it to IO thread
which is possible when a request is aborted, then we need to make sure
its destroyed on the right thread to avoid lock in v8.
2019-03-07 20:50:03 +05:30
Jeremy Apthorp
b575631bb0
fix: bad assertion in crypto functions that use BN_bn2bin_padded ( #17220 )
...
* chore: roll node
in particular, this picks up electron/node#70a78f07b, which fixes an issue with incorrect usage of the BN_bn2bin_padded API in boringssl
* fix tests
2019-03-07 07:29:53 +05:30
Heilig Benedek
5422fd9941
fix: backport upstream fixes for color chooser dialogs ( #17227 )
...
* fix: backport upstream fixes for color chooser dialogs
* chore: fix patches, Windows bad, linux good
* Update color_chooser_mac.patch
* Update color_chooser_win.patch
2019-03-07 07:25:15 +05:30
Milan Burda
2733697819
refactor: make ELECTRON_INSPECTOR_SELECT_FILE handler async ( #17235 )
2019-03-06 22:22:45 +01:00
Shelley Vohr
6cb7b8d3a4
feat: promisify dialog.showSaveDialog() ( #17054 )
...
* feat: promisify dialog.showSaveDialog()
* address some feedback from review
* filename => filePath
* fix last filename => filePath
2019-03-05 13:48:20 -08:00
Roller Bot
92c9dbc179
chore: bump chromium in DEPS to 73.0.3683.65 ( #17234 )
2019-03-05 11:01:38 -08:00
Jeremy Apthorp
5a88d9e6fc
docs: add troubleshooting note about pywin32 ( #17216 )
2019-03-05 10:40:52 -08:00
Koen [XII]
aa863f3246
Fix typo in registerSchemesAsPrivileged reference ( #17214 )
2019-03-05 09:20:52 -08:00
Shelley Vohr
e05985145b
feat: promisify dialog.showOpenDialog() ( #16973 )
...
* feat: promisify dialog.showOpenDialog()
* address feedback from review
* address feedback from review
2019-03-05 05:54:48 -08:00
Robo
7936237677
build: enable gn check for //electron:electron_lib ( #17100 )
...
* build: enable gn check for //electron:electron_lib
* ci: add gn check step
* ci: set depot_tools path
* chrome_key_systems_provider.h nogncheck
* chore: fix gn check errors on windows
* chore: gn check //electron:electron_app
2019-03-05 10:38:55 +05:30
Charles Kerr
ed31cfebc9
fix: check for pane focus before removing it. ( #17164 )
...
Fixes #16883 . This bug seems to have been introduced in the #15302 's
menu a11y refactor and is new in 5-0-x.
2019-03-04 09:47:59 -06:00
Samuel Attard
8dcb5662e3
refactor: remove chromium/net_url_request_job.patch ( #17174 )
...
Does not appear to be used any more
2019-03-02 15:23:47 +05:30
Jeremy Apthorp
f4169f3491
chore: bump chromium to 73.0.3683.61 (master) ( #17191 )
...
also backport https://chromium-review.googlesource.com/c/chromium/src/+/1496448
2019-03-01 12:35:27 -08:00
Milan Burda
bbd1ae315a
refactor: use invoke/invokeSync helpers for <webview> implementation ( #16784 )
2019-03-01 13:33:03 -05:00
Jeremy Apthorp
2adbc7836b
refactor: prevent node macros from overriding base ( #17178 )
2019-03-01 10:04:30 -08:00
Felix Rieseberg
59a7fa6927
refactor: Port api/web-frame to TypeScript ( #17053 )
2019-03-01 08:39:04 +00:00
Milan Burda
676c02611d
spec: add missing checks to "validates process APIs access in sandboxed renderer" ( #17129 )
2019-02-28 22:24:18 -08:00
Jeremy Apthorp
67f04c0370
docs: remove dead link to chromiumdev slack ( #17161 )
...
* docs: remove dead link to chromiumdev slack
Closes #17154
* Update chromium-development.md
2019-02-28 16:43:55 -05:00
Shelley Vohr
544d8a423c
feat: allow MenuItems to work optionally when hidden ( #16853 )
...
* feat: allow MenuItems to work optionally when hidden
* fix: actually include forward_declaration
2019-02-28 17:00:54 +00:00
Linda_pp
6d55498cc7
docs: Fix types and missing property in WebRequest APIs ( #17046 )
...
* docs: Fixed hook methods of WebRequest accepts null as listener
* docs: Added missing `referrer` property in OnBeforeRequestDetails
* docs: Add `referrer` to each webRequest responses
2019-02-28 09:30:38 +00:00
Milan Burda
64078324bf
refactor: make CHROME_GET_MESSAGES handler async ( #17148 )
2019-02-27 21:30:35 -06:00
Nitish Sakhawalkar
bfa07ec4be
feat: Add new powerMonitor synchronous API ( #17144 )
...
`powerMonitor.querySystemIdleState` and `powerMonitor.querySystemIdleTime` had async backing APIs in chromium (https://chromium-review.googlesource.com/c/chromium/src/+/1379183 ). However, that has changed in ch73. So, this PR deprecates the old async APIs and adds new sync APIs.
2019-02-27 15:54:01 -05:00
Jeremy Apthorp
29ab74688d
chore: update CODEOWNERS to reflect governance ( #17143 )
...
* chore: update CODEOWNERS to reflect governance
* Add /patches/ @electron/wg-upgrades
* Update CODEOWNERS
2019-02-27 15:17:35 -05:00
qwabra
d4cfaaf047
Update debugging-main-process-vscode.md ( #16363 )
...
[console.log() not printing to terminal when debugging Electron apps. #49 ](https://github.com/Microsoft/vscode-recipes/issues/49#issuecomment-354367330 )
2019-02-27 15:03:15 -05:00
Nitish Sakhawalkar
5da89c3a2b
chore:Remove transparency hack ( #17128 )
...
This change undoes the hack that was put in because of a bug in chromium. That has since been fixed in chromium, so this is no longer need, hence removing.
The 'BrowserWindow' > 'preserves transparency' test, validates this working.
2019-02-27 14:51:30 -05:00
Samuel Attard
e01c3615c4
chore: replace usage of deprecated beginSheetModalForWindow API ( #16994 )
2019-02-27 10:23:17 -08:00
Luca Carettoni
1bbb47be5b
docs: Improved security doc, particularly around isolation and tool ( #16703 )
...
* Improved security doc, particularly around isolation and tool
* Fixes as suggested by @ckerr
* libcc update
* fixing lint stuff
2019-02-27 10:09:38 -08:00
Electron Bot
a07cb2afd7
Bump v6.0.0-nightly.20190227
2019-02-27 09:55:19 -08:00
Roller Bot
4e25dc3c3c
chore: bump chromium in DEPS to 73.0.3683.58 ( #17156 )
2019-02-27 09:48:08 -08:00
Shelley Vohr
5ecda17c7a
refactor: make shell.ShowItemInFolder asynchronous ( #17121 )
...
* fix: add scoped_blocking_calls to platform_win
https://chromium-review.googlesource.com/c/chromium/src/+/1191582
* feat: make ShowItemInFolder async
* address feedback from review
* fix build
2019-02-27 12:58:23 +00:00
Samuel Attard
08066581b0
fix: set cancelId to 1 when defaultId == 0 and no 'cancel' button ( #17123 )
2019-02-27 08:24:13 +00:00
Johann Fuechsl
42aa375497
fix: access of out-of-scope reference in ShowOpenDialog and ShowSaveDialog ( #17126 )
...
In the mac file dialog implementation of show*OpenDialog, a settings
object is passed down to the dialog completion handler.
However at the time the completion handler is invoked, the settings
object is already out-of-scope, resulting in an invalid access to
the security_scoped_bookmarks flag.
The fix is to capture the value of the flag and passing that directly
to the completion handler.
fixes issue #16664
2019-02-27 08:14:04 +00:00
Milan Burda
5a99ea4c46
refactor: merge ipcMainUtils.handle / handleSync ( #17062 )
2019-02-26 15:48:26 -08:00
Electron Bot
848d16525f
Revert "Bump v6.0.0-nightly.20190226"
...
This reverts commit 7c78f11b82 .
2019-02-26 15:20:32 -08:00
Electron Bot
7c78f11b82
Bump v6.0.0-nightly.20190226
2019-02-26 14:56:19 -08:00
Robo
28899c3885
chore: roll chromium 73.0.3683.54 ( #17124 )
...
* chore: roll chromium 73.0.3683.52
* chore: roll 73.0.3683.54
2019-02-26 21:35:27 +00:00
Shelley Vohr
be8f9bd597
chore: clean up issue templates ( #17085 )
...
* chore: clean up issue templates
* address feedback from review
* cleanup
2019-02-26 17:51:29 +09:00
Shelley Vohr
d9c7735a04
chore: augment promisifyMultiArg deprecation ( #17066 )
2019-02-25 18:25:25 -08:00
Mark Lee
7a7389ab1c
build: upgrade to asar@^1.0.0 ( #17061 )
...
* build: upgrade asar to ^1.0.0
This is to remove a transitive security vulnerability.
The API changed from callbacks to Promises, so `script/gn-asar.js`
needed to be changed.
* build: add klaw to package.json
`klaw` is used in `script/lint.js`, but it was a transitive dependency.
* build: add fs-extra to package.json
`fs-extra` is used in `script/gn-asar.js`, but it was a transitive
dependency.
2019-02-25 18:25:00 -08:00
Vlad Hashimoto
30213089ae
docs: allow webRequest listener to passing null ( #17006 )
2019-02-25 18:13:00 -08:00
Gavin Wang
391f6dd663
docs: add sample code for contents.insertCSS() ( #16959 )
...
it not work before Event: 'did-finish-load', so add this sample code to show it.
2019-02-25 18:10:56 -08:00
Felix Rieseberg
7f007109c3
refactor: Port inspector to TypeScript ( #16943 )
...
* refactor: Port inspector to TypeScript
* refactor: Add another type to inspector
* refactor: Use correct paths
* Update lib/renderer/inspector.ts
Co-Authored-By: felixrieseberg <felix@felixrieseberg.com >
* refactor: Implement feedback <3
* refactor: Don't define blob at all
* fix: Correct type
2019-02-25 18:10:25 -08:00
Robo
ddcebb096f
fix: use frame tree api to remove <webview> frame ( #16501 )
...
Replaces the usage of testing api added in
03d499bf34
2019-02-25 17:47:29 -08:00
Shazron Abdullah
6da939629b
fix: respect the user's active app focus ( #16400 )
...
* Respect the user's active app
Apple recommends not setting this to true. https://developer.apple.com/documentation/appkit/nsapplication/1428468-activateignoringotherapps?language=objc
* Remove atom_bundle_mover.mm change for [NSApp activateIgnoringOtherApps:]
2019-02-25 17:44:38 -08:00
Milan Burda
5e762d6a47
chore: finalize dropping support for OS X Mavericks (version 10.9) ( #17102 )
2019-02-25 17:21:57 +00:00
Sindre Sorhus
df5305d6a7
docs: fix MenuItem windowMenu role description ( #17065 )
...
It was changed in https://github.com/electron/electron/pull/15930
2019-02-25 13:34:32 +00:00
Thomas Beverley
1674388028
Fix webContents.print() ( #17052 )
2019-02-25 13:30:21 +00:00
Roller Bot
944cdb4430
chore: bump chromium in DEPS to 73.0.3683.49 ( #17095 )
2019-02-22 17:17:02 -08:00
Jeremy Apthorp
28b150f6dc
test: fix race condition in debugger spec ( #17091 )
2019-02-22 16:45:48 -08:00
Roller Bot
5be93566ee
chore: bump chromium in DEPS to 73.0.3683.48 ( #17083 )
2019-02-21 09:52:08 -08:00
Cheng Zhao
32a4de4a68
chore: make util::Promise a move-only type ( #17071 )
2019-02-21 12:32:44 +00:00
ZYSzys
a40d826b11
chore: remove unused catch bindings ( #16121 )
2019-02-21 09:26:07 +00:00
Roller Bot
08f7d60da4
chore: bump chromium in DEPS to 73.0.3683.47 ( #17068 )
2019-02-20 10:18:43 -08:00
Shelley Vohr
3edc497d3d
feat: show user gesture type in click event ( #16954 )
2019-02-20 12:20:24 +00:00
Shelley Vohr
cc5ed24e23
chore: properly template the Then promise helper ( #17050 )
2019-02-19 21:46:59 +00:00
Roller Bot
0a730e61f5
chore: bump chromium in DEPS to 73.0.3683.45 ( #17048 )
2019-02-19 13:42:32 -08:00
Felix Rieseberg
91f81b4b72
refactor: Port renderer/init to TypeScript ( #17027 )
...
* refactor: Port renderer/init to TypeScript
* Update lib/renderer/init.ts
Co-Authored-By: felixrieseberg <felix@felixrieseberg.com >
* refactor: Type this a bit more loosely
* refactor: Type parseOption strictly
2019-02-19 17:05:14 +00:00
Felix Rieseberg
2223114f20
refactor: Port chrome-api to TypeScript ( #17014 )
2019-02-19 13:09:44 +00:00
Milan Burda
7e7abc28f5
feat: promisify netLog.stopLogging ( #16862 )
2019-02-19 10:48:27 +00:00
Samuel Attard
3b74837020
refactor: Split 'Event' docs/types into more specific Event types ( #17038 )
...
* Event = Base event type (with preventDefault)
* IpcMainEvent = Event that ipcMain emits (with sender, reply, etc.)
* IpcRendererEvent = Event that ipcRenderer emits (with sender,
senderId, etc.)
* KeyboardEvent = Event that we emit with keyboard flags (ctrlKey,
altKey, etc.)
This will dramatically improve peoples TS experience with IPC events
2019-02-19 09:24:19 +00:00
Shelley Vohr
ef2e7d95fe
chore: add Then helper for native promises ( #16978 )
2019-02-18 14:25:28 +00:00
Milan Burda
a04d9ef35b
feat: add process.getSystemVersion() ( #16599 )
2019-02-18 12:59:48 +00:00
Felix Rieseberg
eaa0e28396
refactor: Port content-scripts-injector to TypeScript ( #17012 )
2019-02-18 12:47:07 +00:00
John Kleinschmidt
35c3a7e130
build: make torque patch more specific for native arm builds ( #16992 )
...
* build: make torque patch more specific
the v8_generator_toolchain should only be overriden if the snapshot toolchain is a native arm or arm64 toolchain
* Only test native mksnapshot on arm64
* Put environment variable in container
2019-02-18 10:02:50 +00:00
Felix Rieseberg
596acdcb91
refactor: Port web-frame-init to TypeScript ( #16934 )
...
* refactor: Port web-frame-init to TypeScript
* refactor: Use ipcRendererInternal
2019-02-18 00:24:18 +00:00
Felix Rieseberg
6b3ff4f1f7
refactor: Port security warnings to TypeScript ( #16937 )
...
* refactor: Port security-warnings to TypeScript
* chore: make aliasify work on .ts files as well
* refactor: Implement feedback <3
* refactor: Correctly call executeJavaScript
2019-02-16 17:06:30 -08:00
Mark Lee
0a84c61074
docs: update chromium version in 5.0.0 release schedule ( #17001 )
2019-02-16 08:25:25 -08:00
Samuel Attard
71366e2a0d
chore: auto add filenames.auto.gni when md files are changed ( #16995 )
2019-02-15 17:03:50 -08:00
Shelley Vohr
1e8ac79e6f
docs: document the Event interface ( #16966 )
...
* docs: document the Event interface
* update docs deps
* pull new VoidFunction update
2019-02-15 12:08:45 -08:00
Roller Bot
31ff160431
chore: bump chromium in DEPS to 73.0.3683.41 ( #16981 )
2019-02-15 10:37:19 -08:00
Aayush Chhabra
6d005ff137
docs: Remove redundant 'Instance Events' Headline ( #16865 )
2019-02-15 08:29:33 -10:00
Milan Burda
975a035d34
chore: re-enable devtools renderer sandbox ( #16864 )
...
* chore: re-enable devtools renderer sandbox
* chore: enable sandbox for chrome extension background script host renderers
2019-02-15 15:10:32 +05:30
Felix Rieseberg
2498e8d1c2
refactor: Port renderer-internal to TypeScript ( #16939 )
...
* chore: make aliasify work on .ts files as well
* refactor: Port ipc-renderer-internal to TypeScript
* refactor: Correctly import internal ipcRenderer
* refactor: One more rename
* refactor: Fix one more lint issue
* refactor: Correctly reference ipcRendererInternal
2019-02-14 17:24:25 -08:00
Samuel Attard
5790869a3f
chore: refactor browser IPC into TS and app API into TS ( #16921 )
...
* chore: refactor browser IPC into typescript
* chore: refactor app.ts into Typescript
* Refactors app.dock into cpp
* Removes app.launcher which has not existed for 3 years
* Removes 2 deprecated APIs (that have been deprecated for more than one
major)
* Refactors deprecate.ts as well
2019-02-14 14:29:20 -08:00
Samuel Attard
4ccd6d5900
build: add a pre-flight check to all NPM steps in GN to ensure that we have the right NPM deps installed ( #16974 )
2019-02-14 14:28:41 -08:00
Samuel Attard
28638b0a6b
docs: update dialog documentation for "undefined" ret vals ( #16970 )
2019-02-14 14:28:17 -08:00
Samuel Attard
5904544235
Merge pull request #16494 from electron/chromium-upgrade/73
...
feat: upgrade to Chromium 73.0.3683.27
2019-02-14 12:28:41 -08:00
John Kleinschmidt
46a49b74a6
Run electron tests first
2019-02-14 23:59:27 +05:30
deepak1556
b927be9982
chore: roll 73.0.3683.27
2019-02-14 23:59:27 +05:30
deepak1556
95386ef56f
Disable swiftshader for arm32
2019-02-14 23:59:27 +05:30
deepak1556
1d9170f1bb
FIXME: disable OSR
2019-02-14 23:59:27 +05:30
deepak1556
b6f7157910
fix compilation error for windows testing builds
2019-02-14 23:59:27 +05:30
deepak1556
2556d86c8a
Disable precompiled headers
...
Workaround for https://crbug.com/924225
2019-02-14 23:59:26 +05:30
deepak1556
d7fea1b484
REVIEW: fix possible -Wdeprecated-declarations warnings
2019-02-14 23:59:26 +05:30
Heilig Benedek
2ccf5904e0
chore: fix linking errors on Windows
2019-02-14 23:59:26 +05:30
Heilig Benedek
d7557cb66a
chore: use c++ manifests instead of json
2019-02-14 23:59:26 +05:30
Heilig Benedek
cece8bce0b
chore: make OSR compile on Windows
2019-02-14 23:59:26 +05:30
deepak1556
66db627913
Remove "layouttest" or "layout test" in //content
...
https://chromium-review.googlesource.com/c/chromium/src/+/1367391
2019-02-14 23:59:26 +05:30
deepak1556
76fde58e27
REVIEW: ui::Compositor: Simplify how ExternalBeginFrameClient is used.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1388384
2019-02-14 23:59:26 +05:30
deepak1556
8a51c9c2f6
REVIEW: Have MouseWheelPhaseHandler agree on whether to route its wheel event
...
https://chromium-review.googlesource.com/c/chromium/src/+/1401664
2019-02-14 23:59:26 +05:30
deepak1556
e11589b5be
ui/base: move clipboard to own folder.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1369933
2019-02-14 23:59:25 +05:30
deepak1556
3727982217
Delete tab pulsing feature.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1407958
2019-02-14 23:59:25 +05:30
deepak1556
70bbbb84bb
Rename BlendTowardOppositeLuma() to BlendTowardContrastingEndpoint().
...
https://chromium-review.googlesource.com/c/chromium/src/+/1400060
2019-02-14 23:59:25 +05:30
Jeremy Apthorp
34d7e019ce
gfx::Path -> SkPath
...
https://chromium-review.googlesource.com/c/1392181
2019-02-14 23:59:25 +05:30
deepak1556
a9ab4c5039
chore: roll 73.0.3683.10
2019-02-14 23:59:25 +05:30
deepak1556
005b7d8099
Print Preview: Add validity check for kSettingPagesPerSheet.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1381133
2019-02-14 23:59:25 +05:30
deepak1556
510ca79ddd
Enable DCHECK for renderer-initiated navigations requiring initiator.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1385495
2019-02-14 23:59:24 +05:30
deepak1556
0545d47ca7
chore: roll node
2019-02-14 23:59:24 +05:30
deepak1556
86a94126fb
Convert ProxyResolutionServiceProvider to use Network Service.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1419264
2019-02-14 23:59:24 +05:30
deepak1556
035eee5c03
[OnionSoup] replace network::DataElement::Type with DataElementType
...
https://chromium-review.googlesource.com/c/chromium/src/+/1393106
2019-02-14 23:59:24 +05:30
deepak1556
1b982e200a
Autoplay: remove cross-origin autoplay policy from //chrome and //content.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1362225
2019-02-14 23:59:24 +05:30
deepak1556
10850808e9
chore: roll 73.0.3679.0
2019-02-14 23:59:24 +05:30
deepak1556
c2be0846c2
chore: rm fix_test_compilation_error.patch
2019-02-14 23:59:24 +05:30
deepak1556
1d21e9c35d
Move client hints to content
...
https://chromium-review.googlesource.com/c/chromium/src/+/1376709
2019-02-14 23:59:23 +05:30
deepak1556
315f8c0cc7
DevToolsFrontendHost::Create to return unique_ptr instead of raw pointer
...
https://chromium-review.googlesource.com/c/chromium/src/+/1396614
2019-02-14 23:59:23 +05:30
deepak1556
9b82e7d27b
Change DevToolsEmbedderMessageDispatcher to use unique_ptr instead of raw pointers.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1382701
2019-02-14 23:59:23 +05:30
deepak1556
61c46c6313
Replace SiteInstance::IsSameWebSite() with a new non-static method.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1352856
2019-02-14 23:59:23 +05:30
deepak1556
e4cfc52c29
Remove const interfaces from content::RenderProcessHost.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1356004
2019-02-14 23:59:23 +05:30
deepak1556
3898a44e88
Increase scope of URLLoader::FollowRedirect() API implementation.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1369856
2019-02-14 23:59:23 +05:30
deepak1556
547add94d0
Make //ui/base/idle API synchronous
...
https://chromium-review.googlesource.com/c/chromium/src/+/1379183
2019-02-14 23:59:23 +05:30
deepak1556
dd4a31633f
split out color chooser browser dialog header
...
https://chromium-review.googlesource.com/c/chromium/src/+/1395146
2019-02-14 23:59:23 +05:30
deepak1556
52ef6d9ae4
[Printing] Stop using GetUserAgent from non-browser process
...
https://chromium-review.googlesource.com/c/chromium/src/+/1353052
2019-02-14 23:59:23 +05:30
deepak1556
0e39ec688a
More migration of ServiceContext to ServiceBinding
...
https://chromium-review.googlesource.com/c/chromium/src/+/1357534
2019-02-14 23:59:22 +05:30
deepak1556
606c84b302
Blink: Plumb correct security origin for isolated world CSPs.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1395190
2019-02-14 23:59:22 +05:30
deepak1556
2c282203b5
v8: Remove obsolete V8 extras flag
...
https://chromium-review.googlesource.com/c/chromium/src/+/1404554
2019-02-14 23:59:22 +05:30
deepak1556
1c4241bff5
Move BackgroundColor from widgets and child frames to the WebView.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1382861
2019-02-14 23:59:22 +05:30
deepak1556
b2bd9ffd70
Downloads : Adding metered network info and retry count to download item
...
https://chromium-review.googlesource.com/c/chromium/src/+/1352628
2019-02-14 23:59:22 +05:30
deepak1556
e1502f6953
Move GetUserAgent from ContentClient to ContentBrowserClient
...
https://chromium-review.googlesource.com/c/chromium/src/+/1352086
2019-02-14 23:59:22 +05:30
deepak1556
abec938b0a
Use base::size rather than arraysize
...
https://bugs.chromium.org/p/chromium/issues/detail?id=837308
2019-02-14 23:59:22 +05:30
deepak1556
a913e396d5
[SM] Use C++ Manifests for SM embedders
...
https://chromium-review.googlesource.com/c/chromium/src/+/1383530
2019-02-14 23:59:21 +05:30
deepak1556
79040e348a
Change the source origin parameter type for CanCreateWindow from GURL to url::Origin.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1395066
2019-02-14 23:59:21 +05:30
deepak1556
9439ac108d
content: Fix WebContentsUserData for usage across components.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1354402
2019-02-14 23:59:21 +05:30
deepak1556
a864167d46
Move MediaStream Mojo and public interfaces to Blink.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1389998
2019-02-14 23:59:21 +05:30
deepak1556
92cfc4a62d
fix: update deprecated v8 api usage
2019-02-14 23:59:21 +05:30
deepak1556
f09cb56f19
Refactors TtsPlatform and most platform implementations to content.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1352055
2019-02-14 23:57:59 +05:30
deepak1556
fbefab4227
chore: update patches/common/ffmpeg
2019-02-14 23:57:59 +05:30
deepak1556
e517139e3c
chore: update patches/common/v8
2019-02-14 23:57:58 +05:30
deepak1556
3f75724a31
chore: update patches/common/chromium
2019-02-14 23:57:58 +05:30
deepak1556
2752ae4ae8
chore: roll 73.0.3673.0
2019-02-14 23:57:58 +05:30
Milan Burda
e769b867f0
fix: disable Chromium v2 sandbox in MAS builds ( #16920 )
2019-02-14 09:48:17 -08:00
Shelley Vohr
de27911661
feat: promisify webContents.savePage() ( #16742 )
...
* feat: promisify webContents.savePage()
* no need to make compatible w callbacks, we're breaking it
* fix promise resolve type
* address feedback from review
* fix promise return text
* update smoke test
2019-02-14 09:03:28 -08:00
Jeremy Apthorp
6e7dca9082
chore: restore WTF::StringImpl dchecks ( #15635 )
2019-02-14 08:59:04 -08:00
Stewart Lord
84ef9cae6c
fix: send chrome.runtime/tabs.sendMessage result to correct sender ( #16945 )
...
Additionally, use `.once` instead of `.on` for result specific listeners.
2019-02-14 06:07:55 -10:00
Samuel Attard
8497bb1327
fix: potential flake/race in webview specs ( #16950 )
2019-02-14 05:49:12 -10:00
Felix Rieseberg
31494dfade
refactor: Port getRemote to TypeScript ( #16938 )
...
* chore: make aliasify work on .ts files as well
* refactor: Port getRemote to TypeScript
* refactor: Implement feedback <3
2019-02-14 04:04:53 -10:00
Felix Rieseberg
6cd75744ef
refactor: Port window-setup to TS ( #16894 )
...
* refactor: Port window-setup to TS
* refactor: Make the linter happy
* refactor: Sneaky little TS error
* refactor: Correctly import window-setup
* refactor: Implement feedback <3
* refactor: Allow decorators in TS
* refactor: Use named windowSetup in isolatedRenderer
* refactor: Help TS understand
* refactor: Welp, use createEvent again
* refactor: Use the correct target in the decorator
2019-02-14 03:52:38 -10:00
Milan Burda
2492f0bcac
refactor: promisify prototype methods ( #16935 )
2019-02-14 03:40:24 -10:00
Felix Rieseberg
9112ad01be
refactor: Port renderer-internal-utils to TypeScript ( #16942 )
...
* chore: make aliasify work on .ts files as well
* refactor: Port renderer-internal-utils to TypeScript
* refactor: Implement feedback <3
2019-02-13 23:05:49 -08:00
Shelley Vohr
46a24c82ff
feat: add Touch ID authentication support for macOS ( #16707 )
...
This PR adds Touch ID authentication support for macOS with two new `SystemPreferences` methods.
1. `systemPreferences.promptForTouchID()` returns a Promise that resolves with `true` if successful and rejects with an error message if authentication could not be completed.
2. `systemPreferences.isTouchIDAvailable()` returns a Boolean that's `true` if this device is a Mac running a supported OS that has the necessary hardware for Touch ID and `false` otherwise.
2019-02-13 18:36:28 -08:00
Stewart Lord
228805353f
fix: pass result to chrome.tabs.executeScript callback ( #16941 )
...
* fix: pass result to chrome.tabs.executeScript callback
Additionally, remove `nextId` counter in favor of `originResultID` counter which is more widely used in this file.
* fix: remove need for eslint override and better match style
2019-02-13 17:00:36 -08:00
Shelley Vohr
319c2853df
chore: move ts-smoke tests to core ( #16930 )
...
* chore: move ts smoke tests to core
* fix: fix paths for tsconfig / ts-smoke runner
* update ts-defs version
* do not lintr
2019-02-13 15:24:28 -08:00
Electron Bot
95214fcd4b
Bump v6.0.0-nightly.20190213
2019-02-13 13:44:57 -08:00
Shelley Vohr
fed5b99a9f
feat: promisify contentTracing.getTraceBufferUsage() ( #16600 )
...
* feat: promsify contentTracing.getTraceBufferUsage()
* deprecate getTraceBufferUsage
* address feedback from review
* properly deprecate
2019-02-13 13:24:57 -08:00
Julien Isorce
9b29befdc8
feat: disable fetching thumbnails if thumbnailSize is 0 ( #14906 )
...
Capturing window thmubnails is expensive as it actually uses the
window capturer and it records one full frame per window and then
downscale to the default size 150x150. When only interested in the
window names or the app icons we do not need all of this.
Underlying change is merged in chromium72 so this patch only modifies
the doc, see:
https://chromium.googlesource.com/chromium/src.git/+log/72.0.3626.52/chrome/browser/media/webrtc/native_desktop_media_list.cc
Example: desktopCapturer.getSources({thumbnailSize: {width: 0, height: 0}}, ...)
Also added a unit test in spec/api-desktop-capturer-spec.js that verifies
that the returned thumbails are of type NativeImage and empty,
when the user disable fetching thumbnails.
notes: Can disable fetching the thumbnails for the DesktopCapturer.
https://github.com/electron/electron/issues/14872
2019-02-13 10:27:42 -08:00
Nitish Sakhawalkar
3dfef4a376
chore: Add new webFrame IsolatedWorldInfo API and deprecate ( #16801 )
...
* chore: Add new webFrame IsolatedWorldInfo API and deprecate
* Flag deprecated methods in documentation
* address comments
* Address review comments
* remove unused variable
* Update based on review
2019-02-13 08:05:28 -10:00
Milan Burda
1f458eb177
feat: promisify debugger.sendCommand() ( #16861 )
...
* remove duplicate entry for desktopCapturer.getSources
* feat: promisify debugger.sendCommand
2019-02-13 07:23:53 -10:00
Roller Bot
ee4c9aa3d0
chore: bump chromium in DEPS to 72.0.3626.110 ( #16924 )
2019-02-13 07:20:26 -10:00
Samuel Maddock
8f6a543398
feat: add chrome.runtime.getManifest ( #16891 )
...
* feat: add chrome.runtime.getManifest
* Add test for chrome.runtime.getManifest
* Use IPC utils for getManifest internals
2019-02-13 07:16:12 -10:00
John Kleinschmidt
46f818b0c3
feat: add file preview for GTK file picker ( #16447 )
2019-02-13 06:52:14 -10:00
Samuel Attard
c363eed543
chore: suppress output of npm_action unless it fails ( #16888 )
2019-02-12 21:32:47 -08:00
Roller Bot
6385608f7f
chore: bump chromium in DEPS to 72.0.3626.108 ( #16899 )
2019-02-12 21:31:52 -08:00
Robo
1ed7b1c76d
chore: remove obsolete v8 patches ( #16910 )
...
* patches/common/v8/disable-warning-win.patch
added in https://github.com/electron/libchromiumcontent/pull/483
* patches/common/v8/ostreams.patch
added in https://github.com/electron/libchromiumcontent/pull/258
2019-02-12 21:31:08 -08:00
Jeremy Apthorp
8d09219533
chore: 'breaking change' in PR body overrides commit type in relnotes ( #16911 )
2019-02-12 21:30:39 -08:00
Shelley Vohr
ca83d36426
feat: promisify app.dock.show() ( #16904 )
...
* feat: promisify app.dock.show
* add a spec
2019-02-12 21:06:33 -08:00
Samuel Attard
cd9bf72ee8
build: ensure that the uploaded symbol path is correct for our symbol ( #16908 )
...
server
2019-02-12 14:10:24 -08:00
Shelley Vohr
cfba59929a
fix: backport patch to sync exposed crypto ( #16822 )
...
* fix: backport patch to sync exposed crypto
* add two new specs
* fix iv length
* fix formatting
2019-02-12 11:57:11 -08:00
Robo
5478cc7e8e
chore: fix lint errors ( #16906 )
2019-02-13 00:19:47 +05:30
Electron Bot
98b05b8428
Bump v6.0.0-nightly.20190212
2019-02-12 10:09:30 -08:00
Shelley Vohr
bf276ecc69
feat: add new components to Display structure ( #16870 )
...
* feat: add new components to Display structure
* add internal property
* expose colorDepth
* add specs
2019-02-12 05:34:42 -10:00
Jeremy Apthorp
5a44cc50cf
docs: migration guide for register{StandardSchemes => SchemesAsPrivileged} ( #16762 )
...
* docs: migration guide for register{StandardSchemes => SchemesAsPrivileged}
cc @nitsakh
* Update docs/api/protocol.md
Co-Authored-By: nornagon <nornagon@nornagon.net >
* Update docs/api/protocol.md
Co-Authored-By: nornagon <nornagon@nornagon.net >
* Update protocol.md
* Update docs/api/protocol.md
Co-Authored-By: nornagon <nornagon@nornagon.net >
2019-02-12 04:31:53 -10:00
Samuel Attard
01c442de64
refactor: convert more files to typescript ( #16820 )
2019-02-12 04:22:33 -10:00
Charles Kerr
cfbdc40814
fix: release-notes plays more nicely with clerk ( #16887 )
...
Explicitly look not just for Clerk's "notes persisted"
message but also its "no release notes" message.
2019-02-12 04:21:20 -10:00
Robo
83894dc5db
ci: fix binaries for chromedriver build on macOS ( #16893 )
2019-02-12 16:14:52 +05:30
Roller Bot
deb36d5008
chore: bump chromium in DEPS to 72.0.3626.107 ( #16869 )
2019-02-11 17:56:03 -08:00
Electron Bot
8141a26ba9
Bump v6.0.0-nightly.20190211
2019-02-11 17:40:41 -08:00
Samuel Attard
9deaacb454
Revert "Bump v6.0.0-nightly.20190211"
...
This reverts commit c92233cbc8 .
2019-02-11 14:23:46 -08:00
John Kleinschmidt
6a47089c78
ci: Refactor mksnapshot test so that it doesn't stall. ( #16875 )
2019-02-11 12:21:00 -10:00
Samuel Attard
7baa218ca9
docs: remove removed autosize attribute ( #16884 )
...
Closes #16199
Notes: no-notes
2019-02-11 14:15:15 -08:00
Electron Bot
c92233cbc8
Bump v6.0.0-nightly.20190211
2019-02-11 14:08:24 -08:00
Samuel Attard
20d9f4b2b5
Revert "Bump v6.0.0-nightly.20190211"
...
This reverts commit dc0be294dd .
2019-02-11 14:05:22 -08:00
Electron Bot
dc0be294dd
Bump v6.0.0-nightly.20190211
2019-02-11 13:32:01 -08:00
Shelley Vohr
9dd3338ede
chore: revert "Bump v6.0.0-nightly.20190208"
...
This reverts commit 70042d2597 .
2019-02-11 13:22:44 -08:00
Milan Burda
d8ba1278d1
chore: disable the remote module in devtools / chrome extension background scripts ( #16866 )
...
* cache isRemoteModuleEnabled
* chore: disable the remote module in devtools / chrome extension background scripts
2019-02-11 10:42:37 -10:00
robertgrzonka
a3cdf46fb6
docs: change of previously wrong added Polish emoji into proper one ( #16700 )
...
* Change Polish flag
* Change of previously setuped flag of Monaco to Polish flag
* fix: change flags
* add Indonesian flag at former place
* append Polish flag at the end
2019-02-11 10:41:06 -10:00
Samuel Attard
5301808926
docs: reference the webviewTag option in the webview docs ( #16879 )
...
Closes #16773
Notes: Add a reference to the "webviewTag" option in the webview docs
2019-02-11 10:38:36 -10:00
Heilig Benedek
ccc60a1f33
fix: enable autofill popups on mac ( #16308 )
...
* feat: enable autofill popups on mac
* fix: make popup positioning better
* fix: don't try to show popup when widget is closing or not visible
* fix: unify conditions
* refactor: use PopupViewCommon from chrome directly
* lint: mark constructor explicit
* fix: use a patch instead of dummy functions to make things compile on Windows
* chore: address review suggestions
* Update atom/browser/ui/cocoa/views_delegate_mac.mm
Co-Authored-By: brenca <benecene@gmail.com >
2019-02-11 09:38:58 -10:00
Milan Burda
36ce3e9546
feat: promisify webContents.printToPDF() ( #16795 )
2019-02-11 09:20:04 -10:00
Shelley Vohr
3effa6f20c
feat: add support for scroll lock accelerator ( #16873 )
2019-02-11 09:13:13 -10:00
Charles Kerr
d57b9cb47f
chore: bump spec dependencies ( #16872 )
...
* bump dbus-native dependency
* semver/patch and semver/minor bumps
patch bumps for basic-auth, bluebird, graceful-fs.
minor bumps for chai, mocha-junit-reporter, multiparty, temp, walkdir.
* major bumps: ws, yargs
* sync spec/package-lock.json
2019-02-11 09:12:13 -10:00
Samuel Attard
90ebd8eb12
docs: document how setAsDefaultProtocolClient works in Windows Store ( #16874 )
...
Closes #16852
2019-02-11 10:51:46 -08:00
Milan Burda
c77e187742
chore: fix "creates offscreen window with correct size" spec on Mac with Retina display ( #16867 )
2019-02-11 10:35:46 -08:00
Milan Burda
7a3d220347
refactor: implement Chrome Extension APIs without the remote module ( #16686 )
...
* refactor: implement Chrome Extension APIs without the remote module
* remove unused potentiallyRemoteRequire
2019-02-10 10:38:14 -08:00
Shelley Vohr
1898f91620
fix: enable property having no effect on submenus ( #16835 )
2019-02-08 18:07:08 -08:00
Cheng Zhao
d16b581140
fix: remove memory leak when using webFrame and spell checker ( #16770 )
...
* fix: do not create native api::WebFrame in webFrame
When reloading a page without restarting renderer process (for example
sandbox mode), the blink::WebFrame is not destroyed, but api::WebFrame
is always recreated for the new page context. This leaves a leak of
api::WebFrame.
* fix: remove spell checker when page context is released
2019-02-08 13:38:31 -08:00
Milan Burda
3f52e18a38
chore: add menu-will-close comment explaining setTimeout ( #16794 )
2019-02-08 13:38:03 -08:00
Electron Bot
70042d2597
Bump v6.0.0-nightly.20190208
2019-02-08 13:28:42 -08:00
Jeremy Apthorp
72f3a22ecc
docs: reorder crashReporter notes to make more sense ( #16825 )
...
the note about reports from child processes on Windows should be next to the code snippet.
Side note: is that code even still necessary?
2019-02-08 13:26:59 -08:00
Shelley Vohr
c80c3c18dc
Revert "Bump v6.0.0-nightly.20190207"
...
This reverts commit c8282efb75 .
2019-02-08 13:26:18 -08:00
Samuel Attard
10607f7e86
chore: make crash-reporter specs not use URL module ( #16840 )
2019-02-08 13:22:07 -08:00
Shelley Vohr
ccf46a57bc
fix: display empty menu item for non-visible submenus ( #16832 )
...
* fix: display empty menu item for nonvisible submenus
* use Chromium UI string ID
2019-02-08 13:19:01 -08:00
Shelley Vohr
062778c031
fix: don't construct submenu if it's invisible ( #16834 )
2019-02-08 12:54:39 -08:00
Samuel Attard
833daaa2b2
chore: add helper to wait for a window to load in a remote-safe way ( #16837 )
2019-02-08 12:26:03 -08:00
Milan Burda
1632c4b837
refactor: implement chrome.i18n.getMessage() without the remote module ( #16739 )
...
* refactor: implement chrome.i18n.getMessage() without the remote module
* replace navigator.language with app.getLocale()
2019-02-08 12:07:09 -08:00
Roller Bot
b97f6bd7d4
chore: bump chromium in DEPS to 72.0.3626.102 ( #16830 )
2019-02-08 10:36:37 -08:00
Samuel Attard
23b84917e0
ci: set MAS_BUILD=true on mas builds ( #16824 )
2019-02-08 10:12:18 -08:00
Shelley Vohr
e790dbd737
chore: add standalone function deprecation helper ( #16782 )
2019-02-08 09:50:11 -08:00
Electron Bot
c8282efb75
Bump v6.0.0-nightly.20190207
2019-02-07 14:13:50 -08:00
Julien Isorce
27bd47a333
feat: implement BrowserWindow.moveTop on X11 ( #16629 )
...
It was implemented on Mac and Win but not on X11.
Tested on Ubuntu 16.04 and 18.04.
Also added a unit test in spec/api-browser-window-spec.js.
This test BrowserWindow.moveTop verifies that calling moveTop
on a window does not give the focus to this window.
notes: BrowserWindow.moveTop is now available on Linux/x11
https://github.com/electron/electron/issues/12516
2019-02-07 12:48:19 -08:00
Samuel Attard
db11b9b13b
fix: restore accidentally removed chrome-extension require ( #16819 )
2019-02-07 12:38:57 -08:00
Jeremy Apthorp
4989ecc5e0
chore: re-export chromium patches ( #16818 )
...
this is the changeset from running import-patches && export-patches. should be idempotent now.
2019-02-07 12:03:25 -08:00
Shelley Vohr
9ebba76c03
chore: improve existing error preservation in promisify ( #16815 )
...
This PR better preserves existing behavior in `deprecate.promisify()` in the cases where the promise fails. Previously, if a callback was only called with `data` instead of `err, data` and the promise was rejected, `data` would be populated with `err`, which could be confusing to users. This makes it such that `err` is called back on promise rejection if a callback is called with `err, data` a la Node.js.
2019-02-07 10:25:20 -08:00
Samuel Attard
4f8ebafa97
chore: dont log 100000000 chars of URL ( #16800 )
2019-02-07 08:50:47 -08:00
Shelley Vohr
29501dbd01
Revert "Bump v6.0.0-nightly.20190206"
...
This reverts commit e8608c2dbd .
2019-02-06 18:23:14 -08:00
Electron Bot
acabf6f5ab
Bump v6.0.0-nightly.20190206
2019-02-06 16:52:57 -08:00
Shelley Vohr
c6fc5a23fc
Revert "build: hack around GitHub upload API failure / flake ( #16663 )" ( #16802 )
...
This reverts commit ab503c7e43 .
2019-02-06 16:51:45 -08:00
Shelley Vohr
c8a1231ad7
Revert "Bump v6.0.0-nightly.20190206"
...
This reverts commit 2d1438456b .
2019-02-06 16:23:08 -08:00
Jeremy Apthorp
6d68026c6c
chore: fix ts config to not complain about extraneous files ( #16790 )
2019-02-06 15:46:10 -08:00
Electron Bot
2d1438456b
Bump v6.0.0-nightly.20190206
2019-02-06 15:11:34 -08:00
Roller Bot
dd5264b4d1
chore: bump chromium in DEPS to 72.0.3626.99 ( #16779 )
2019-02-06 14:50:58 -08:00
Electron Bot
e8608c2dbd
Bump v6.0.0-nightly.20190206
2019-02-06 14:43:32 -08:00
Shelley Vohr
a569dad8c5
build: remove non-arm vstsJobs ( #16793 )
2019-02-06 13:36:17 -08:00
Samuel Attard
17c240a639
ci: make macOS CI faster ( #16766 )
...
* ci: cache brew update result
* ci: checkout and sync the macOS build on a linux machine for speed
2019-02-06 13:16:11 -08:00
Samuel Attard
fc06458038
ci: run lint on CircleCI ( #16791 )
2019-02-06 12:53:25 -08:00
Shelley Vohr
84eef16755
chore: depend on mojo audio and video in BUILD.gn ( #16785 )
2019-02-06 11:03:39 -08:00
pol
c76459738e
docs: fix security doc url check ( #16775 )
2019-02-06 10:43:58 -08:00
Gilbert Emerson
76d919fff5
docs: added webContents.getType() method ( #16767 )
...
* docs: added webContents.getType() method
* docs: add enumeration of return value for webContents.getType()
* docs: getType() in WebContents should be class method not module method
2019-02-06 10:42:34 -08:00
Samuel Attard
26df9992cf
build: use typescript for internal Electron JS code ( #16441 )
2019-02-06 10:27:20 -08:00
Shelley Vohr
858781ba83
feat: allow Menu.buildFromTemplate() to accept MenuItems ( #16697 )
...
* feat: allow Menu.buildFromTemplate to accept MenuItems
* add another spec
* fix linter error
* add submenu spec
2019-02-06 10:04:40 -08:00
Milan Burda
4211a9c69f
refactor: use ipcRendererUtils.invokeSync / ipcMainUtils.handleSync ( #16759 )
2019-02-06 09:53:28 -08:00
Jeremy Apthorp
b7d8234a86
docs: add some troubleshooting info related to win_delay_load_hook ( #16764 )
...
* docs: add some troubleshooting info related to win_delay_load_hook
* appease lint
2019-02-06 08:29:58 -08:00
Cheng Zhao
d53b51607c
fix: do not increase ref-counting in wrong thread ( #16738 )
2019-02-06 18:22:02 +09:00
Heilig Benedek
ff461d9d26
fix: make getUserMedia APIs work again on C72+ ( #16763 )
...
* fix: resolve macos check for video and audio capture devices
* fix: resolve a minor compilation error
2019-02-05 21:25:42 -08:00
Jeremy Apthorp
b7afec0743
docs: improve app.commandLine documentation ( #16757 )
2019-02-05 16:22:25 -08:00
Shelley Vohr
8946cfd4f1
chore: fix dependency vulnerabilities ( #16756 )
2019-02-05 15:19:55 -08:00
Shelley Vohr
793d6c3691
chore: remove release notes semantic PR map ( #16758 )
2019-02-05 15:19:26 -08:00
Samuel Attard
b29e8d18a8
chore: auto-format GN and python files in our precommit ( #16722 )
...
* chore: auto-format GN files in our precommit
* chore: update python linting errors and auto-lint python files
* chore: add trick for CHROMIUM_BUILDTOOLS_PATH
* chore: apply suggestions from code review
Co-Authored-By: MarshallOfSound <samuel.r.attard@gmail.com >
2019-02-05 13:54:45 -08:00
Milan Burda
6d674eebb1
refactor: crashReporterInit ( #16729 )
2019-02-05 12:56:44 -08:00
Roller Bot
c486ab207a
chore: bump chromium in DEPS to 72.0.3626.94 ( #16745 )
2019-02-05 12:17:12 -08:00
Samuel Attard
b202ad1e24
refactor: remove js2asar.py and port logic to JS in more readable / GN-style way ( #16718 )
...
* refactor: remove js2asar.py and port logic to JS in more readable / GN-style way
* refactor: further clean up ASAR impl, add new node_action GN template
2019-02-05 12:10:15 -08:00
Samuel Attard
8582325e85
build: ensure index.json is actually valid JSON before uploading ( #16518 )
...
* build: ensure index.json is actually valid JSON before uploading
* chore: fix py linting for validation of index.json
2019-02-05 11:36:31 -08:00
Jeremy Apthorp
9b7eb0eecb
chore: update issue template, comment out instructions ( #16721 )
2019-02-05 10:10:24 -08:00
Shelley Vohr
e098d08728
docs: we shouldn't promisify net apis ( #16736 )
2019-02-04 22:25:59 -08:00
Shelley Vohr
f303caa87c
refactor: remove ServiceWorker APIs from WebContents ( #16717 )
2019-02-04 22:22:46 -08:00
Roller Bot
3aa8ec0818
chore: bump chromium in DEPS to 72.0.3626.90 ( #16710 )
2019-02-04 16:25:53 -08:00
Cheng Zhao
758d709c7a
fix: crash when calling setProgressBar on macOS ( #16374 )
...
* fix: correctly check whether dock has progress bar
* fix: do not leak memory when setting dockTile
2019-02-04 15:59:06 -08:00
Shelley Vohr
698d348168
feat: support capslock and numlock as accelerators ( #16719 )
...
* feat: support capslock as accelerator
* also add numlock
2019-02-04 15:54:59 -08:00
Shelley Vohr
f142aae9eb
chore: remove unused variable in removeWindow ( #16715 )
2019-02-04 15:00:39 -08:00
Shelley Vohr
a9991f5451
chore: fix falsy comments edge case in release notes ( #16720 )
2019-02-04 14:57:38 -08:00
Samuel Attard
af64140100
refactor: enforce naming of ipcMainInternal ( #16689 )
2019-02-04 14:49:53 -08:00
JohanG2012
cacb56b103
Add missing let ( #15746 )
2019-02-04 11:02:01 -08:00
Birunthan Mohanathas
24f1eac84f
docs: Recommend use of callback with dialog.showSaveDialog ( #16649 )
...
See #14606 .
Notes: no-notes
2019-02-03 23:56:51 -08:00
John Kleinschmidt
0a047194b6
ci: move mac release tests to nightly cron job ( #16685 )
2019-02-01 15:07:23 -05:00
Milan Burda
7dc565fc2e
refactor: implement inspector APIs without the remote module ( #16607 )
2019-02-01 19:56:46 +01:00
michtsu
392458b252
Add devtools API to inspect shared worker. ( #16615 )
2019-02-01 10:44:24 -08:00
Charles Kerr
efe52f66e4
fix: show proper clerk notes in release notes script ( #16659 )
...
* fix: Note detection in PR
* fix: 'BREAKING CHANGE' detection in PR body
* fix: when to include PRs that landed in other branches too
* fix: when available, use clerk's notes
2019-02-01 10:31:03 -06:00
Xinayu
52952f7d51
Update menu.md ( #16670 )
2019-02-01 08:28:28 -08:00
Shelley Vohr
bae09643c1
docs: fix referrer typedef in OnCompletedDetails ( #16661 )
2019-02-01 07:54:31 -08:00
Cheng Zhao
31c7ed9b8c
fix: shutdown after message loop is ready ( #16671 )
2019-02-01 10:21:49 -05:00
Samuel Attard
ab503c7e43
build: hack around GitHub upload API failure / flake ( #16663 )
2019-01-31 15:21:41 -08:00
Shelley Vohr
c8c1be7ae5
feat: add window removeMenu() method ( #16570 )
...
* feat: add window removeMenu() method
* chore: remove original method from docs and code
* retain backwards compatibility
2019-01-31 10:58:23 -08:00
John Kleinschmidt
2f35c98e76
ci: build mac on CircleCI ( #16552 )
2019-01-31 12:59:32 -05:00
John Kleinschmidt
d71f1fb30c
ci: Run Windows Electron tests first to show those failures first ( #16610 )
...
* Run electron tests first to show those failures first
Enable logging on CI
* disable failing tests on Windows 32 bit
* Temporarily disable testing mksnapshot as that seems to hang
2019-01-31 12:39:05 -05:00
Birunthan Mohanathas
6c77c220f7
chore: Fix typo in AtomDownloadManagerDelegate::OnDownloadSaveDialogDone ( #16646 )
...
I believe the existing code was fine, but better be safe than sorry.
This typo was introduced in #16612 .
2019-01-31 20:18:20 +09:00
Charles Kerr
76dcbcd6ea
chore: fix 'browserView' typo ( #16621 )
2019-01-30 21:07:08 -08:00
Shelley Vohr
ba57e1d991
feat: promisify contentTracing recording APIs ( #16584 )
...
* feat: promisify contentTracing.startRecording()
* feat: promisify contentTracing.stopRecording()
* test: convert specs for new promisified apis
* chore: deprecate and ensure legacy tests work
2019-01-30 18:53:55 -08:00
Heilig Benedek
cbb5164cc8
fix: improve the way frameless windows are handled on Windows ( #16596 )
...
* fix: improve the way frameless windows are handled on Windows
* tidy up code
* fix: return nullAcceleratedWidget instead of nullptr
* fix: format, use reinterpret cast
2019-01-31 11:19:47 +09:00
Vladimir
49ec7e1582
feat: flexible autoresize for BrowserViews ( #16184 )
...
* feat: flexible autoresize for BrowserViews
* fix: change to static_cast
* Slight format code
2019-01-31 11:07:19 +09:00
Birunthan Mohanathas
927aac306f
fix: use async save dialog for anchor download attribute ( #16612 )
2019-01-31 11:06:55 +09:00
Nitish Sakhawalkar
bd4e14dcee
fix: update docs for protocol API ( #16601 )
...
* fix: update docs for protocol API
* upddate source for new attribute name
* update electron-typescript-definitions package
2019-01-30 12:54:18 -08:00
Shelley Vohr
641b47f384
feat: promisify contentTracing.getCategories() ( #16583 )
...
* feat: promisify contentTracing.getCategories()
* deprecate contentTracing/getCategories
2019-01-30 12:39:55 -08:00
Jeremy Apthorp
9ed89ace97
fix: expose aes-cfb ciphers from boringssl ( #16573 )
...
Ref #16195
2019-01-30 10:34:14 -08:00
Shelley Vohr
c7677b23e6
fix: enable and update osr ( #16517 )
...
* fix: enable OSR
* fix some macos errors
* fix client reset not in guard
* fix things not rendering on mac
2019-01-30 09:33:32 -08:00
Shelley Vohr
6e131f2121
docs: remove nonexistent contentTracing methods ( #16597 )
2019-01-30 08:33:56 -08:00
Milan Burda
dfcee48f81
fix: don't forward IPC filtering events to app for dev-tools and extensions ( #16565 )
2019-01-30 08:20:03 -08:00
Milan Burda
56c6a51cd2
chore: add miniak to troppers ( #16590 )
2019-01-29 22:21:38 -08:00
SamvelRaja
8af532ba98
feat: added process.electron to get the electron version in forked process ( #16450 )
2019-01-29 22:13:18 -08:00
Michael Hamilton
8da91523d0
Fixed a little typo ( #16550 )
2019-01-29 15:58:01 -08:00
Cheng Zhao
323b688ab8
fix: check the root window in MenuBar::SetPanelFocus ( #16581 )
2019-01-29 13:21:32 -08:00
Nitish Sakhawalkar
940c4c0787
feat: move webFrame scheme privilege methods to main process ( #16416 )
...
* chore: deprecate webFrame.registerURLSchemeAsPrivileged
* Add register schemes protocol api
* update branch to enable browser process API
* Revert deprecation changes
* Fetch API support
* Updated api to take an array, still working on tests
* Update tests
* Remove web frame API
* Minor changes
* update scheme registrations on browser and renderer process
* fix: enable ses.getBlobData spec
* Update breaking changes doc
2019-01-29 16:11:01 +09:00
Jeremy Apthorp
257de6a963
feat: add ELECTRON_DISABLE_SANDBOX env var ( #16576 )
2019-01-29 15:30:17 +09:00
Milan Burda
fa5442f211
fix: execute session preload scripts in sandboxed renderers ( #16538 )
2019-01-29 10:16:46 +09:00
Shelley Vohr
a25f82c91f
fix: reject with error when url not loaded ( #16571 )
...
* fix: reject with error when url not loaded
* improve descriptive spec naming
2019-01-28 14:42:36 -08:00
Jeremy Apthorp
138ba53511
fix: expose ripemd160 hash from boringssl ( #16454 )
...
Ref #16195
2019-01-28 13:36:51 -08:00
Shelley Vohr
d105dcc0d3
feat: promisify webContents.hasServiceWorker() ( #16535 )
...
* feat: promisify contents.hasServiceWorker()
* spec: add initial test for hasServiceWorker()
2019-01-26 10:23:16 -08:00
Shelley Vohr
5a35c3a279
chore: fix promisify helper ( #16544 )
...
* chore: fix promise deprecation helper
* fix deprecations
* update deprecation tests
2019-01-25 14:23:24 -08:00
Jeremy Apthorp
63bf370cc0
fix: registerStreamProtocol callback with large chunks ( #16532 )
2019-01-25 10:57:26 -08:00
Charles Kerr
8396a2d504
feat: promisify cookies api ( #16464 )
...
* feat: promisify the Cookie API
* chore: update specs to test promisified cookies
* chore: add deprecate wrapper for cookie callback API
* docs: update docs to cookie promise changes
* chore: remove redundant namespace use
* docs: improve cookie example
* docs: restore docs for cookie callback API
* chore: restore cookie callback tests
* fix: syntax of cookie promise return types
2019-01-25 12:11:35 -06:00
Milan Burda
e2516dc808
docs: cancel is optional in OnHeadersReceivedResponse ( #16506 )
2019-01-25 09:41:21 -05:00
Shahzad Lone
74c29fb610
perf: and refactor: Code Scope + Minor Performance Improvement. ( #16467 )
...
* We know result's size will be same as app_metrics_'s size so optimize the vector.
Reserving a vector to save on reallocation cost.
* Narrow scopes of variables to avoid error and optimize them.
Made two vectors scope narrower and reserved them because we know the size in advance. This helps save on allocation costs.
* fix spacing
2019-01-25 09:39:32 -05:00
Sofia Nguy
b66b5561ee
Electron timelines ( #16496 )
2019-01-24 16:40:44 -06:00
Milan Burda
713df08e3e
chore: remove deprecated modules internally using remote.require in sandboxed renderer context ( #15957 )
2019-01-24 10:53:52 -08:00
Milan Burda
fef262f829
fix: check process.isMainFrame in sandboxed_renderer/init.js ( #16500 )
2019-01-24 10:53:16 -08:00
Nitish Sakhawalkar
e6952e2a16
fix: correctly destroy spellcheck client ( #16448 )
...
* fix: Destroy spellcheck client
* Address review comments
2019-01-24 08:18:54 -08:00
Tomas Rycl
1db4dd68a7
Troubleshooting for Windows Driver Kit ( #16405 )
2019-01-23 12:34:18 -08:00
Electron Bot
90151879cc
Bump v6.0.0-nightly.20190123
2019-01-23 11:49:22 -08:00
Shelley Vohr
f431ce4971
build: fix individual asset downloading in release script ( #16493 )
...
* Revert "build: fix release asset download for now (#16486 )"
This reverts commit 7df531bc4e .
* build: clean up asset downloading
2019-01-23 11:47:36 -08:00
Jeremy Apthorp
ad3ea6ec53
ci: re-enable logging on CI ( #16257 )
2019-01-23 11:28:34 -08:00
Milan Burda
cc90919384
refactor: pass internal flag via IPC message struct for consistency ( #16490 )
2019-01-23 08:24:57 -08:00
Alexey Kuzmin
0a5adfe365
build: fail a build if some hooks don't succeed ( #16369 )
2019-01-23 11:31:14 +01:00
Jeremy Apthorp
fd8b9450ee
test: untangle a chromium-spec test ( #16456 )
2019-01-22 13:26:32 -08:00
John Kleinschmidt
34ac68c4a8
ci: Update build timeouts ( #16492 )
...
* Update timeout for native_mksnapshot and use bigger machines
* Revert "build: temporarily disable arm to unblock nightlies (#16479 )"
This reverts commit 51961fccfa .
2019-01-22 16:14:01 -05:00
Samuel Attard
f3e30c7ae3
Merge remote-tracking branch 'origin/chromium-upgrade/72'
2019-01-22 12:01:18 -08:00
Samuel Attard
0b85fb7ea2
Revert "feat: upgrade to Chromium 72.0.3626.52 ( #16334 )"
...
This reverts commit 1918e76913 .
2019-01-22 12:01:04 -08:00
Samuel Attard
58a6fe13d6
feat: preloads and nodeIntegration in iframes ( #16425 )
...
* feat: add support for node / preloads in subframes
This feature has delibrately been built / implemented in such a way
that it has minimum impact on existing apps / code-paths.
Without enabling the new "nodeSupportInSubFrames" option basically none of this
new code will be hit.
The things that I believe need extra scrutiny are:
* Introduction of `event.reply` for IPC events and usage of `event.reply` instead of `event.sender.send()`
* Usage of `node::FreeEnvironment(env)` when the new option is enabled in order to avoid memory leaks. I have tested this quite a bit and haven't managed to cause a crash but it is still feature flagged behind the "nodeSupportInSubFrames" flag to avoid potential impact.
Closes #10569
Closes #10401
Closes #11868
Closes #12505
Closes #14035
* feat: add support preloads in subframes for sandboxed renderers
* spec: add tests for new nodeSupportInSubFrames option
* spec: fix specs for .reply and ._replyInternal for internal messages
* chore: revert change to use flag instead of environment set size
* chore: clean up subframe impl
* chore: apply suggestions from code review
Co-Authored-By: MarshallOfSound <samuel.r.attard@gmail.com >
* chore: clean up reply usage
* chore: fix TS docs generation
* chore: cleanup after rebase
* chore: rename wrap to add in event fns
2019-01-22 11:24:46 -08:00
Jeremy Apthorp
92b9525cfd
feat: enable mixed-sandbox mode by default ( #15894 )
2019-01-22 10:44:28 -08:00
Jeremy Apthorp
1918e76913
feat: upgrade to Chromium 72.0.3626.52 ( #16334 )
2019-01-22 10:39:32 -08:00
Samuel Attard
ff9b23ebe5
fix: dont run window-setup on chrome:// protocol, introduced in b965e54efc ( #16489 )
2019-01-22 10:32:18 -08:00
John Kleinschmidt
c0f6a44e39
Try longer timeout on electron build
2019-01-22 10:32:07 -08:00
Cheng Zhao
3828e2a53a
backport patch to fix arm64 build of swiftshader
2019-01-22 10:32:07 -08:00
Cheng Zhao
be69192a61
backport patch to fix compilation error in test
2019-01-22 10:32:07 -08:00
Jeremy Apthorp
8c1b5311fd
robustify async webview test
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
6d4480ea6b
feat: allow setting autoplayPolicy in webPreferences ( #16396 )
2019-01-22 10:32:06 -08:00
Cheng Zhao
1fe4b3fa28
fix: add patch to disable dcheck in inter_process_time_ticks_converter.cc
...
I'm seeing crashes on Windows when runnings tests for serviceWorker, the
reason why the dcheck failed is unclear.
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
f115376595
fix: remove pretarget handler before window destruction
2019-01-22 10:32:06 -08:00
deepak1556
8122dd2c33
backport v8 patch for linker issue in windows testing builds
2019-01-22 10:32:06 -08:00
deepak1556
d2c0f9f754
Implicitly bypass localhost when proxying requests.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1303626
2019-01-22 10:32:06 -08:00
Cheng Zhao
03d499bf34
fix: detach webview instead of destroying it
...
Chromium no longer cleans up everything when a guest webcontents is
destroyed, we have to force detaching it and let Chromium destroy everything.
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
5e043812ef
fix HandleKeyboardEvent merge failure
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
7764ca7209
add missing include for l10n_util.h on win
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
ded316cd5e
wait for window to be focused in openDevTools test
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
4b45a5fc6d
roll node
...
to pick up libuv compile fix on windows
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
078d518e36
add missing //components/feature_engagement dep needed for color_chooser_aura
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
212d858bf4
set autoplay policy to no-user-gesture-required by default
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
3faf2480e0
update dom storage quota patch
...
https://chromium-review.googlesource.com/c/chromium/src/+/1166218/
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
55d5b02f87
include glib.h in atom_main_delegate
...
it was complaining about 'undeclared identifier 'TRUE''
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
8fa33ba120
disable visibilitychange tests as the functionality is broken upstream
...
https://crbug.com/920839
2019-01-22 10:32:06 -08:00
deepak1556
826f1cb90c
Move the base/sys_info* files to base/system/
...
https://chromium-review.googlesource.com/c/chromium/src/+/1327441
2019-01-22 10:32:05 -08:00
deepak1556
ed5a865efb
Update GetAccessibleName() in view::ImageView and view::Button
...
https://chromium-review.googlesource.com/c/chromium/src/+/1256308
2019-01-22 10:32:05 -08:00
deepak1556
90b6d13714
Remove menu_marker from MenuButton.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1324375
2019-01-22 10:32:05 -08:00
deepak1556
85333a5974
Move ViewsDelegate::NotifyAccessibilityEvent to an observer pattern
...
https://chromium-review.googlesource.com/c/chromium/src/+/1352265
2019-01-22 10:32:05 -08:00
deepak1556
5f941c5180
Remove CR_DEFINE_STATIC_LOCAL
...
https://bugs.chromium.org/p/chromium/issues/detail?id=893317
2019-01-22 10:32:05 -08:00
deepak1556
06a5ade3c6
fixup! Use strong ownership for attached inner WebContents
2019-01-22 10:32:05 -08:00
deepak1556
374406375b
Add interface and Mac implementation for responsiveness::NativeEventObserver.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1157235/
2019-01-22 10:32:05 -08:00
deepak1556
4089620729
fix: Initialize resource bundle for the browser process earlier
2019-01-22 10:32:05 -08:00
deepak1556
1de0152b6b
chore: fix gn format error
2019-01-22 10:32:05 -08:00
Jeremy Apthorp
94246d428b
resource_coordinator_parts stub in BrowserProcessImpl
...
https://chromium-review.googlesource.com/c/1324134
2019-01-22 10:32:05 -08:00
Jeremy Apthorp
3b88dd6ef7
tts was migrated to content
...
https://chromium-review.googlesource.com/c/1341154
https://chromium-review.googlesource.com/c/1351806
https://chromium-review.googlesource.com/c/1352055
2019-01-22 10:32:05 -08:00
Jeremy Apthorp
2cbf3080d0
Make webkitRelativePath interoperable
...
https://chromium-review.googlesource.com/c/1325579
2019-01-22 10:32:05 -08:00
Jeremy Apthorp
d0621db8fd
Remove ResourceContext::GetRequestContext since it's no longer used.
...
https://chromium-review.googlesource.com/c/1352035
2019-01-22 10:32:05 -08:00
Jeremy Apthorp
6f9ff39728
CORS -> Cors
...
https://chromium-review.googlesource.com/c/1333018
2019-01-22 10:32:05 -08:00
Jeremy Apthorp
a64cf5514f
move pdf_compositor off ServiceContext/ServiceTest
...
https://chromium-review.googlesource.com/c/1343506
2019-01-22 10:32:05 -08:00
Jeremy Apthorp
93fbb6c092
remove name parameter from AllowIndexedDB
...
https://chromium-review.googlesource.com/c/1306914
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
600c3f2c2f
StoragePartition::ClearData no longer takes an OriginMatcher
...
https://chromium-review.googlesource.com/c/1162172
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
deff96a1b0
NativeWidgetMac::CreateNSWindow params changed
...
https://chromium-review.googlesource.com/c/1295251
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
b03daaebe4
ChildProcessData.{GetHandle() => GetProcess().GetHandle()}
...
https://chromium-review.googlesource.com/c/1298345
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
4ddd337a64
CurrentProcessInfo::CreationTime -> Process::Current().CreationTime()
...
https://chromium-review.googlesource.com/c/1280642
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
a64a0fa88e
remove ipc/struct_destructor_macros.h
...
https://chromium-review.googlesource.com/c/1261082
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
c0cf065c1a
REVIEW: Use strong ownership for attached inner WebContents
...
https://chromium-review.googlesource.com/c/1301843
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
96b2623887
replace base::AssertBlockingAllowed with base::ScopedBlockingCall
...
https://chromium-review.googlesource.com/c/1278540
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
e0d277e667
CopyNSImage was removed
...
https://chromium-review.googlesource.com/c/1333876
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
485bbd9ccb
ContentRulesetService -> RulesetService
...
https://chromium-review.googlesource.com/c/1294299
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
d228bdfb9e
gfx::NativeView is no longer NSView on mac
...
https://chromium-review.googlesource.com/c/1270343
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
70887ae21a
extra parameters to BrowserClient::HandleExternalProtocol
...
https://chromium-review.googlesource.com/c/1318976
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
96f9611cf4
GetCachePath replaced with GetGeneratedCodeCacheSettings
...
https://chromium-review.googlesource.com/c/1301973
https://chromium-review.googlesource.com/c/chromium/src/+/1213093
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
ef80cc3d56
base/sys_info.h -> base/system/sys_info.h
...
https://chromium-review.googlesource.com/c/1327441
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
0d9de7deaf
blink::WebReferrerPolicy -> network::mojom::ReferrerPolicy
...
https://chromium-review.googlesource.com/c/chromium/src/+/1212345
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
96ca070c3a
less const in WebContents
...
https://chromium-review.googlesource.com/c/1349466
2019-01-22 10:32:03 -08:00
Jeremy Apthorp
8948e27ced
ScopedNestableTaskAllower in MessageLoopCurrent
...
https://chromium-review.googlesource.com/c/chromium/src/+/1020288
2019-01-22 10:32:03 -08:00
Jeremy Apthorp
30e5e993c1
HandleKeyboardEvent returns bool
...
https://chromium-review.googlesource.com/c/chromium/src/+/1262404
2019-01-22 10:32:03 -08:00
Jeremy Apthorp
fd7b49b32b
remove OnAreExperimentalCookieFeaturesEnabled
...
https://chromium-review.googlesource.com/c/1287209
2019-01-22 10:32:03 -08:00
Jeremy Apthorp
d36a6de25c
OnCanEnablePrivacyMode -> OnForcePrivacyMode
...
https://chromium-review.googlesource.com/c/1343051
2019-01-22 10:32:03 -08:00
Jeremy Apthorp
d01db5a656
migrate to non-deprecated v8 functions
...
https://bugs.chromium.org/p/v8/issues/detail?id=8238
https://bugs.chromium.org/p/v8/issues/detail?id=7295
https://chromium-review.googlesource.com/c/v8/v8/+/1352273
2019-01-22 10:32:03 -08:00
Jeremy Apthorp
7d5cd2051a
update boringssl patches
2019-01-22 10:32:03 -08:00
Jeremy Apthorp
95ed3238be
update v8 patches
2019-01-22 10:32:03 -08:00
Jeremy Apthorp
02e41b41b2
roll Chrome to 72.0.3626.52 and update patches
2019-01-22 10:32:03 -08:00
Electron Bot
cd25ddeb06
Bump v5.0.0-nightly.20190122
2019-01-22 08:55:08 -08:00
Shelley Vohr
7df531bc4e
build: fix release asset download for now ( #16486 )
2019-01-22 08:53:52 -08:00
Milan Burda
6cba2c50a2
feat: make ipc-message and ipc-message-sync events public ( #16468 )
2019-01-22 08:47:58 -08:00
Milan Burda
dbc5f67dca
docs: fix web-request.md listener signatures in electron.d.ts ( #16485 )
2019-01-22 08:46:40 -08:00
Milan Burda
7d71ad6f91
fix: takeHeapSnapshot() using public IPC channel for internal implementation ( #16480 )
2019-01-22 17:32:24 +09:00
Milan Burda
0e27f133d7
refactor: delete atom_api_renderer_ipc.h ( #16481 )
2019-01-21 22:31:37 -08:00
Milan Burda
b965e54efc
fix: <webview> not working with contextIsolation + sandbox ( #16469 )
2019-01-22 10:08:16 +09:00
Matthew Leffler
a9ac75c1f9
docs: Fix TouchBar API example ( #16482 )
2019-01-21 17:07:47 -08:00
Electron Bot
033efdcaa1
Bump v5.0.0-nightly.20190121
2019-01-21 15:28:16 -08:00
Shelley Vohr
51961fccfa
build: temporarily disable arm to unblock nightlies ( #16479 )
2019-01-21 15:22:56 -08:00
Cheng Zhao
ac65f38842
fix: prevent double-destroy of window ( #16472 )
2019-01-21 14:56:30 -08:00
Samuel Attard
0b0679e065
build: auto-fix linting issues on commit ( #16466 )
...
* build: auto-fix formatting during commit
* use lint-staged as precommit hook to autofix issues
2019-01-21 14:46:32 -08:00
Shelley Vohr
3ca87d205f
feat: make zoomLevel/zoomFactor sync ( #16410 )
...
* feat: make zoomLevel/zoomFactor sync
* update ts defs dep
2019-01-20 23:40:27 -08:00
Electron Bot
dacf7f8bdc
Revert "Bump v5.0.0-nightly.20190119"
...
This reverts commit 2cca0f9bb7 .
2019-01-19 21:14:06 -08:00
Electron Bot
2cca0f9bb7
Bump v5.0.0-nightly.20190119
2019-01-19 19:52:39 -08:00
Shelley Vohr
441c9ce376
feat: promisify desktopCapturer.getSources ( #16427 )
...
* feat: promisify desktopCapturer.getSources
* fix doc
* fix docs lint error
2019-01-18 15:29:32 -08:00
Electron Bot
902c239fdf
Revert "Bump v5.0.0-nightly.20190118"
...
This reverts commit 9e6726f304 .
2019-01-18 15:21:39 -08:00
Electron Bot
9e6726f304
Bump v5.0.0-nightly.20190118
2019-01-18 15:21:39 -08:00
Electron Bot
329d45562b
Revert "Bump v5.0.0-nightly.20190118"
...
This reverts commit 83b44b735f .
2019-01-18 14:12:13 -08:00
Electron Bot
83b44b735f
Bump v5.0.0-nightly.20190118
2019-01-18 14:12:01 -08:00
Shelley Vohr
3417c42bfd
chore: always try to nuke tags ( #16451 )
2019-01-18 14:00:15 -08:00
Electron Bot
7f4064af16
Revert "Bump v5.0.0-nightly.20190118"
...
This reverts commit ace11f9bc8 .
2019-01-18 13:42:51 -08:00
Electron Bot
ace11f9bc8
Bump v5.0.0-nightly.20190118
2019-01-18 13:42:51 -08:00
Electron Bot
cd91440e47
Revert "Bump v5.0.0-nightly.20190118"
...
This reverts commit 5e5c71e1d7 .
2019-01-18 12:46:16 -08:00
Electron Bot
5e5c71e1d7
Bump v5.0.0-nightly.20190118
2019-01-18 12:32:29 -08:00
Milan Burda
7d4a1223fd
feat: add preload-error event to webContents ( #16411 )
2019-01-18 12:03:43 +01:00
Jeremy Apthorp
98d0daa2fd
chore: remove unused osfhandle hack ( #16305 )
2019-01-17 15:58:47 -08:00
Shelley Vohr
f105c84349
test: ensure legacy callback functions work ( #16436 )
...
* test: test legacy callback functions
* add TODO removal comments
* fix callback spec
2019-01-17 14:17:16 -08:00
Shelley Vohr
720197f9c8
fix: correctly handle IPC for promise-based methods ( #16433 )
2019-01-17 12:08:54 -08:00
Milan Burda
4d0b2ac9be
docs: fix promisification.md formatting ( #16434 )
2019-01-17 09:30:32 -08:00
Shelley Vohr
1f2b02c18f
feat: promisify protocol.isProtocolHandled() ( #16423 )
...
* feat: promisify protocol
* fix base::Bind and specs
* update documentation
* make callback-compatible
* async awaitify tests
2019-01-17 09:05:10 -08:00
Electron Bot
32d98851bc
Revert "Bump v5.0.0-nightly.20190116"
...
This reverts commit 82fc099602 .
2019-01-16 11:28:09 -08:00
Electron Bot
82fc099602
Bump v5.0.0-nightly.20190116
2019-01-16 11:04:22 -08:00
SamvelRaja
34c1727cb3
docs: fix typo in build instructions for windows ( #16414 )
2019-01-15 21:58:39 -08:00
Milan Burda
23d44e322d
feat: use default-app behavior in packaged apps ( #16310 )
...
Unify the behavior between default app and packaged apps:
- create default application menu unless the app has one
- default window-all-closed handling unless the app handles the event
2019-01-15 21:35:53 +01:00
Shelley Vohr
8e2ab8b20b
refactor: promise_util promise creation ( #16401 )
...
* refactor: promise_util creation
* enter correct contexts on resolve/reject
* return Local in helper
* set context correctly
* forgot one
2019-01-15 09:54:59 -08:00
Mosh Feu
05755ba202
docs: show the code of adding devtools extension ( #16186 )
2019-01-15 17:48:21 +09:00
Shelley Vohr
0881fd6397
feat: split openExternal into sync and async ( #16176 )
...
* feat: split openExternal into sync and async
* v8::Locker => mate::Locker
* fix: enter js env when resolving promise
2019-01-14 20:35:21 -08:00
Milan Burda
52e257668d
fix: windowmenu did not show the window list on macOS ( #16387 )
2019-01-14 17:27:52 +01:00
Shelley Vohr
df62e78b71
chore: remove unused deps ( #16373 )
2019-01-12 16:47:09 +01:00
Alex Garbutt
dcb670fa46
fix: emit IPC event in correct context if isolation and sandbox enabled ( #16352 )
...
* fix: emit IPC event in correct context if isolation and sandbox enabled
IPC events were not being delivered to renderer processes when both
`contextIsolation` and `sandbox` were enabled. This is because the
`AtomSandboxedRenderFrameObserver` class was incorrectly using the
`MainWorldScriptContext`, rather than conditionally selecting the
context based on if isolation was enabled.
Fixes #11922
2019-01-12 14:19:20 +01:00
Electron Bot
134792a594
Revert "Bump v5.0.0-nightly.20190111"
...
This reverts commit 71f542d8f6 .
2019-01-11 21:40:55 -08:00
Electron Bot
71f542d8f6
Bump v5.0.0-nightly.20190111
2019-01-11 21:18:40 -08:00
Robo
52fe92d02e
feat: Upgrade to Chromium 71.0.3578.98 ( #15966 )
2019-01-11 17:00:43 -08:00
Electron Bot
92ddfd0d4c
Revert "Bump v5.0.0-nightly.20190111"
...
This reverts commit c81c9ee2b4 .
2019-01-11 12:35:25 -08:00
Electron Bot
c81c9ee2b4
Bump v5.0.0-nightly.20190111
2019-01-11 11:40:15 -08:00
Shelley Vohr
fc169221be
Revert "Bump v5.0.0-nightly.20190111"
...
This reverts commit c43a61c576 .
2019-01-11 11:38:26 -08:00
Electron Bot
c43a61c576
Bump v5.0.0-nightly.20190111
2019-01-11 10:01:46 -08:00
Electron Bot
c4e4f085dd
Revert "Bump v5.0.0-nightly.20190111"
...
This reverts commit 088f936dab .
2019-01-11 09:55:58 -08:00
Electron Bot
088f936dab
Bump v5.0.0-nightly.20190111
2019-01-11 09:54:46 -08:00
Shelley Vohr
e2b1394ad1
redo: size -> length ( #16370 )
2019-01-11 09:53:13 -08:00
Alexey Kuzmin
3cb9aadb80
build: fix the build with enable_run_as_node disabled ( #15711 )
2019-01-11 08:02:06 -08:00
Shelley Vohr
ca218b6395
test: allow retries for flaky mas loginitem specs ( #16347 )
2019-01-10 14:15:47 -08:00
Charles Kerr
52852b963a
fix: beep on Ubuntu ( #16350 )
...
beeps on Linux are made by writing BEL to /dev/console,
which requires elevated permissions on Ubuntu. So if
opening /dev/console fails, fall back to /dev/tty.
2019-01-10 13:43:07 -08:00
Shelley Vohr
d0ae89befa
chore: fix tag cleanup ( #16353 )
2019-01-10 13:42:42 -08:00
Charles Kerr
2acf9ac72f
fix: improve release notes ( #16343 )
...
* fix: use version name in release notes
* fix: omit previously-released notes
* fix: sniff semantic commit types from PR subjects
instead of only from commit messages
* fix: do not use unrecognized semantic commit types
* chore: do not hardcode Release-Notes comment text
It used to be '<!-- One-line Change Summary Here-->',
it's currently a link to a best-practices page, and
it'll probably change again in the future. Let's just
match on <!--.*--> instead.
* chore: copyedit the help page
* chore: use clerk's OMIT_FROM_RELEASE_NOTES_KEYS
* chore: tweak comments
* chore: rename 'breaks' property as 'breaking'
2019-01-10 14:01:38 -06:00
Milan Burda
102d8fe506
chore: add 'use strict' to default app sources ( #16346 )
2019-01-10 20:54:34 +01:00
Electron Bot
2ee59cc82c
Revert "chore: s/size/length ( #16351 )"
...
This reverts commit 03e16ffa57 .
2019-01-10 11:04:31 -08:00
Shelley Vohr
03e16ffa57
chore: s/size/length ( #16351 )
2019-01-10 10:58:23 -08:00
Jeremy Apthorp
782825fc29
fix: return after handling Esc for fullscreen in WebContentsDelegate ( #16342 )
2019-01-10 11:03:48 -05:00
Electron Bot
0299328521
Bump v5.0.0-nightly.20190110
2019-01-10 07:59:58 -08:00
Milan Burda
eb02a422de
feat: add fileMenu / viewMenu / appMenu roles ( #16328 )
2019-01-10 14:32:03 +01:00
Electron Bot
72af4941f8
Bump v5.0.0-nightly.20190109
2019-01-09 21:43:29 -08:00
Michelle Tilley
744f737cba
fix: properly determine if WebContents is offscreen in WebContentsDelegate ( #16329 )
2019-01-09 09:55:45 -08:00
Shelley Vohr
f72d5a4184
chore: fix electron.d.ts file upload ( #16335 )
2019-01-08 22:51:49 -08:00
Electron Bot
17d2467932
Revert "Bump v5.0.0-nightly.20190108"
...
This reverts commit 241baf77f1 .
2019-01-08 20:46:56 -08:00
Electron Bot
241baf77f1
Bump v5.0.0-nightly.20190108
2019-01-08 18:11:20 -08:00
Shelley Vohr
b4299a2872
chore: pass dryRun arg correctly ( #16333 )
...
* chore: pass dryRun arg correctly
* no log
2019-01-08 18:09:42 -08:00
Electron Bot
45baaeaf2c
Revert "Bump v5.0.0-nightly.20190108"
...
This reverts commit 1fd7a4bfab .
2019-01-08 16:30:25 -08:00
Electron Bot
1fd7a4bfab
Bump v5.0.0-nightly.20190108
2019-01-08 16:22:33 -08:00
Shelley Vohr
826063a2f7
chore: github => octokit in release notes ( #16332 )
2019-01-08 16:20:54 -08:00
Milan Burda
349a3c20ae
feat: add additional remote APIs filtering ( #16293 )
2019-01-08 14:27:56 -08:00
Mark Lee
6436a12d7f
docs: fix app.setAppUserModelId link ( #16322 )
2019-01-08 16:40:57 -05:00
Shelley Vohr
000be5d1d4
chore: refactor scripts for octokit update ( #16284 )
...
* chore: refactor scripts for octokit
* update release script
* update more octokit scripts
* cleanup
* remove unecessary refactor
* fixup package lock
2019-01-08 12:05:58 -08:00
Shelley Vohr
434f1368a0
test: add specs to version bump utils ( #16315 )
2019-01-08 12:04:27 -08:00
Vik Ramanujam
668049a593
Add instructions to get Notifications working on Win 10 Update ( #16320 )
...
Fails silently and was frustratingly hard to know why. Hope this save a lot of people some time.
2019-01-08 08:16:30 -08:00
Milan Burda
5c250455ad
refactor: pass isWebViewTagEnabled via ELECTRON_BROWSER_SANDBOX_LOAD ( #16238 )
2019-01-08 10:12:34 +01:00
Shelley Vohr
791d6de8b0
chore: fix json parsing for npm publish ( #16318 )
2019-01-07 20:37:44 -08:00
Jeremy Apthorp
a3e5173c47
Merge pull request #16203 from electron/alkuzmin/add-external-binaries-config
...
build: extract external binaries config
2019-01-07 17:37:53 -08:00
Shelley Vohr
b71a5a5955
fix: register accelerator if role has no registerAccelerator ( #16309 )
...
* fix: register accelerator if role has no registerAccelerator
* ensure roles[role].registerAccelerator is defined
2019-01-07 16:01:03 -08:00
Shelley Vohr
30c670bd83
chore: release notes should be an object ( #16313 )
2019-01-07 16:00:36 -08:00
Electron Bot
596c0a8672
Bump v5.0.0-nightly.20190107
2019-01-07 13:47:13 -08:00
Shelley Vohr
2ac677228d
chore: fix pre passing to atom.rc ( #16311 )
...
* chore: fix pre passing to versionH
* preTypes => preType
2019-01-07 13:41:07 -08:00
Electron Bot
ff1c90b638
Revert "Bump v5.0.0-nightly.20190107"
...
This reverts commit 90f23c187f .
2019-01-07 13:14:41 -08:00
Electron Bot
90f23c187f
Bump v5.0.0-nightly.20190107
2019-01-07 12:26:08 -08:00
Shelley Vohr
854443a291
chore: trim output of branch correctly ( #16307 )
2019-01-07 12:24:18 -08:00
Shelley Vohr
9c7f6affc2
Revert "ci: use config version 2.1 on CircleCI ( #15665 )" ( #16304 )
...
This reverts commit 0c46a7a4d9 .
2019-01-07 11:59:45 -08:00
Milan Burda
fade3eb679
chore: make "nodeIntegration" and "webviewTag" default to false ( #16235 )
2019-01-07 22:19:27 +03:00
Electron Bot
cdf4bfa68f
Revert "Bump v4.0.0-nightly.20190107"
...
This reverts commit f8614ab019 .
2019-01-07 09:17:17 -08:00
Electron Bot
f8614ab019
Bump v4.0.0-nightly.20190107
2019-01-07 09:17:04 -08:00
Milan Burda
6f117b8e0c
feat: add app.commandLine.hasSwitch() / app.commandLine.getSwitchValue() ( #16282 )
...
* feat: add app.commandLine.hasSwitch() / app.commandLine.getSwitchValue()
* add more tests
* refactor: move appendSwitch / appendArgument to command_line module
* replace AppendSwitchASCII with AppendSwitchNative
* remove castArgs
2019-01-07 07:48:27 -08:00
Aleksei Kuzmin
dee964e0fe
build: extract external binaries config
2019-01-07 10:44:08 +01:00
Keshal Desai
5957ede41a
fix: update license year ( #16287 )
2019-01-05 12:53:20 -08:00
Jeremy Apthorp
959c7a76e9
Merge pull request #16252 from electron/miniak/guest-view-manager
...
fix: security: improve IPC validation in guest-view-manager
2019-01-04 16:47:27 -08:00
Milan Burda
a0cdcc5f8d
security: improve IPC validation in guest-view-manager
2019-01-05 00:06:47 +01:00
Shelley Vohr
9cc3fbabf7
chore: @electron/nightly => electron-nightly ( #16273 )
2019-01-04 13:48:02 -08:00
Michelle Tilley
3db691d693
chore: add additional logging during asset upload ( #16279 )
2019-01-04 13:14:41 -08:00
Shelley Vohr
c1ca8476f8
chore: result => result.data ( #16274 )
...
* chore: result.draft => result.data.draft
* also result.id
2019-01-04 11:26:14 -08:00
Kilian Valkhof
21d1849723
Update browser-window.md with alpha hex formatting ( #16269 )
...
HEX with alpha can be #RRGGBBAA or #AARRGGBB. In Electron it's the latter. It's nice to explicitly state that, so others wont have to try twice like me :).
2019-01-04 10:33:12 -08:00
John Kleinschmidt
50010934d1
docs: Update reference to xcode 8.3.3 ( #16267 )
...
* Update reference to xcode
* Update to reflect use of 10.12 SDK
2019-01-04 13:05:12 -05:00
Jeremy Apthorp
849dd0db64
fix: correctly pass hidden-page argument to isolated renderers ( #16258 )
2019-01-04 08:25:47 -08:00
Shelley Vohr
de0e4735de
fix: error if a11y support changed before ready ( #16261 )
2019-01-04 10:20:06 -05:00
Tyler Saballus
2117524102
Fix typos in app.md ( #16260 )
...
Mostly added commas to prepositions that occur in the predicate. There was a misspelling and a few run-on sentences as well though.
2019-01-04 10:18:15 -05:00
Shelley Vohr
876064036d
fix: don't register some shortcuts without accessibility ( #16125 )
...
Fixed crash on macOS when using globalShortcut for media keys when accessibility access is not granted.
2019-01-03 20:40:17 -08:00
Shelley Vohr
b57046e67d
feat: add mac support to systemPrefs.getColor() ( #16249 )
2019-01-03 16:17:07 -08:00
Shelley Vohr
03892153de
feat: expose systemPreferences.getSystemColor() ( #16248 )
2019-01-03 14:30:38 -08:00
Shelley Vohr
439ba5116f
feat: add mac support to systemPrefs.getAccentColor() ( #16251 )
...
* feat: add mac support to systemPrefs.getAccentColor()
* note 10.14 retriction
2019-01-03 13:24:55 -08:00
Michelle Tilley
5c378de22f
chore: add link to clerk readme to PR checklist ( #16253 )
2019-01-03 10:59:07 -08:00
Milan Burda
3f1d22759a
refactor: use helpers for command-line parsing in renderer/init.js ( #16239 )
2019-01-03 11:22:34 -05:00
Shelley Vohr
baaeb7cece
chore: update deprecated LSGetApplicationForURL ( #16180 )
...
* chore: update deprecated LSGetApplicationForURL
* wrap with @available
2019-01-02 15:20:32 -08:00
Samuel Attard
eb8dc6b675
chore: publish nightlies to electron-nightly ( #15938 )
...
* chore: publish nightlies to electron-nightly
* electron-nightly => @electron/nightly
2019-01-02 11:04:56 -08:00
Cheng Zhao
a5e63dc5fd
fix: don't expose isolatedWorld to global ( #16208 )
2018-12-28 10:54:32 +09:00
Vladimir
5ae3d1a1b2
feat: add multi BrowserView support to BrowserWindow ( #16148 )
...
* feat: add multi BrowserView support to BrowserWindow
Add functions addBrowserView, removeBroserView, getBrowserViews to
BrowserWindow class. Existing API as setBrowserView and
getBrowserView code replaced to use new api inside.
* fix: for lint and osx compile errors
* fix: lint error in test code
* feat: add multi BrowserView support to BrowserWindow
Add functions addBrowserView, removeBroserView, getBrowserViews to
BrowserWindow class. Existing API as setBrowserView and
getBrowserView code replaced to use new api inside.
* fix: for lint and osx compile errors
* fix: lint error in test code
* fix: method to be accessible on mac api impl
* fix: missed function declarations for mac impl
* fix: use base class reset function
2018-12-22 10:49:26 +09:00
Shelley Vohr
18ca4b6a3a
chore: update @types/node dep ( #16174 )
2018-12-21 12:59:42 -05:00
Zac Walker
51cfb5cff1
fix: extend tracing startRecording API to take a full tracing config ( #13914 )
...
This allows memory-infra to be traced correctly.
Fixes #12506 .
2018-12-20 15:11:17 +03:00
Cheng Zhao
4ff7976060
fix: add missing require in chromium-spec ( #16153 )
2018-12-20 16:58:46 +09:00
Shelley Vohr
90d314cc3b
chore: make nugget quiet by default ( #16147 )
...
* chore: make nugget quiet by default
* chore: allow nugget quiet to be passed via cli
2018-12-19 20:36:01 -07:00
Milan Burda
547097b036
security: allow to block desktopCapturer.getSources() calls ( #15964 )
...
* security: allow to block desktopCapturer.getSources() calls
* return empty instead of error
* fix: release resources of DesktopCapturer on exit
2018-12-20 11:44:30 +09:00
Charles Kerr
df0381e76c
feat: add option to generate explicit URLs in the release notes ( #16126 )
2018-12-19 08:48:01 -07:00
Mosh Feu
ddc38eda26
docs: specify "role" types for "menu-item" ( #16129 )
2018-12-19 09:39:35 -05:00
Pedro Pontes
9c783f53ba
fix: do not allow the window to grab focus when tabbing / shift+tabbing ( #16042 )
...
* fix: do not allow the window to grab focus when tabbing / shift+tabbing
* test: add tests.
2018-12-18 23:44:51 -07:00
Jeremy Apthorp
ed3e5739dc
test: promisify a bunch of tests ( #16051 )
...
* test: promisify a bunch of tests
* fix lint
* fix affinity tests
* more cowbell^Wawait
* less done
2018-12-18 23:44:03 -07:00
David Baker
cc85946f55
feat: Support response headers in File protocol handler ( #16098 )
...
* feat: Support response headers in File protocol handler
* bugfix: Null check headers value & fix tests
* refactor: Use non-deprecated FindKeyOfType
2018-12-18 23:17:02 -07:00
Jeremy Apthorp
03f876470e
docs: note that visual zoom is disabled by default ( #16130 )
2018-12-18 20:40:42 -07:00
Shelley Vohr
5cc4a30207
chore: release.id => release.data.id ( #16132 )
2018-12-18 19:51:38 -07:00
Shelley Vohr
a58d989b60
feat: expose app accessibility status api ( #16119 )
...
* feat: expose app accessibility status api
* fix prompt
2018-12-18 11:15:22 -05:00
Alex Greenland
dc93d94bc8
fix: support async child process methods without callback in asar ( #15927 )
...
* fix: support async child process methods without callback in asar
* fix: support async child process methods without callback in asar (improved)
2018-12-18 16:27:39 +09:00
Samuel Attard
6c998aa4f2
fix: fix Electron not starting in development from the CLI ( #16116 )
2018-12-17 19:26:22 -08:00
Milan Burda
1c7a47239b
chore: remove chrome_process_finder.patch ( #16113 )
2018-12-18 10:00:34 +09:00
Michelle Tilley
7fc8afa3e5
chore: update PR template to request better release notes ( #16080 )
2018-12-17 16:10:34 -08:00
Milan Burda
7ec4e7b0d8
chore: fix chrome_process_finder.patch description ( #15577 )
2018-12-17 14:15:35 -08:00
Milan Burda
41a3f123f1
docs: move require related breaking changes to Electron 6.0 ( #16109 )
2018-12-17 14:01:00 -08:00
popod
f6081b18b6
docs: Improve the doc about BrowserWindow title property ( #16086 )
...
* Improve the doc about BrowserWindow title property
* Update docs/api/browser-window.md
Co-Authored-By: popod <popod@me.com >
2018-12-17 13:16:24 -07:00
Milan Burda
7a6fe00f49
chore: simplify code for modules internally using remote.require in sandbox ( #16104 )
2018-12-17 22:47:41 +03:00
Gearóid
c64b4a3926
docs: more natural language in Mac app store guide ( #16095 )
2018-12-17 10:27:37 -05:00
Shelley Vohr
0431833866
chore: correctly capitalize releaseID ( #16079 )
2018-12-14 15:15:16 -08:00
Shelley Vohr
280f9bf49c
feat: allow immediate MacOS notifications ( #16060 )
...
* feat: allow immediate MacOS notifications
* fix args->GetNext
* update docs/api/system-preferences.md
Co-Authored-By: codebytere <codebytere@github.com >
* address feedback from @ckerr's review
2018-12-14 13:46:46 -08:00
Cheng Zhao
c7aa747891
chore: no need to expose Initialize of ipc module ( #16066 )
2018-12-14 08:01:29 -08:00
Cheng Zhao
8584c2f14b
fix: register webview in main world when using contextIsolation ( #16067 )
2018-12-14 15:38:35 +09:00
Shelley Vohr
dbda1a1b05
chore: add BinaryMuse to troppers ( #16062 )
2018-12-13 16:56:31 -08:00
Cheng Zhao
897c6e93cb
chore: simplify main world setup of contextIsolation ( #16046 )
2018-12-13 16:25:12 -05:00
Michelle Tilley
d6d245d0c3
docs: contextIsolation is no longer experimental ( #16043 )
2018-12-13 11:21:16 -05:00
John Kleinschmidt
0e6db8fd56
ci: Cleanup build dirs on Azure Devops ( #16047 )
...
* ci: Cleanup directories after build
* Use rm to cleanup source directory
* Update vsts.yml
* Check if files actually deleted
* Get rid of hidden files too
2018-12-13 11:11:09 -05:00
Simone Cattaneo
649633bbb7
fix: make 'setParentWindow' compatible under Windows ( #15775 )
2018-12-12 16:05:16 -08:00
Jeremy Apthorp
4250f84272
chore: enable v2 sandbox on mac ( #15647 )
2018-12-12 16:01:10 -08:00
Charles Kerr
f7528a0204
fix: fix an original-fs regression introduced in 4.0 betas ( #16028 )
...
* fix: fix an original-fs regression introduced in 4.0 betas
* chore: remove cruft from earlier draft
2018-12-12 15:32:53 -06:00
Milan Burda
c65a0d90b8
chore: misc cleanup ( #16037 )
2018-12-12 15:31:16 -06:00
Jeremy Apthorp
1152fecb75
test: fix flaky before-input-event test ( #16027 )
2018-12-11 17:01:48 -08:00
Alexey Kuzmin
48abef27d8
build: make it possible to pass a "--directory" arg to "git am" ( #16024 )
2018-12-11 22:49:01 +01:00
Cheng Zhao
624ade2c25
fix: return pointer instead of pointer's content ( #16014 )
2018-12-11 12:45:55 -05:00
Jeremy Apthorp
f3c64ea9d8
chore: add webui_resources to pak ( #16009 )
...
fixes #16006
2018-12-11 09:07:32 -08:00
Birunthan Mohanathas
e383aa31c8
fix: restore ability to disable color correct rendering ( #15898 )
...
In Electron 2.0, `--disable-features=ColorCorrectRendering` could be
used to make the app use the display color space (e.g. P3 on Macs)
instead of color correcting to sRGB. Because color correct rendering is
always enabled on Chromium 62 and later and because
`--force-color-profile` has no effect on macOS, apps that need e.g. P3
colors are currently stuck on Electron 2.0.
This restores the functionality removed in
https://chromium-review.googlesource.com/698347 in the form of the
`--disable-color-correct-rendering` switch.
This can be removed once web content (including WebGL) learn how
to deal with color spaces. That is being tracked at
https://crbug.com/634542 and https://crbug.com/711107 .
As an example of a widely used app using
`--disable-features=ColorCorrectRendering`, see VSCode:
3f33ef2593/src/main.js (L138-L139)
Notes: Add `--disable-color-correct-rendering` switch
2018-12-11 21:36:14 +05:30
Milan Burda
607b53c883
security: block chrome.tabs.executeScript() for non chrome-extension: URLs ( #15929 )
2018-12-11 10:45:46 +01:00
bughit
e044ada65c
fix: allow 2 threads for CreateIoCompletionPort on single-core to prevent busy looping ( #15975 )
...
* allow 2 threads for CreateIoCompletionPort on single-core
* use base::SysInfo::NumberOfProcessors instead of env var
* CHECK that uv_loop_ has not been used before replacing its iocp
2018-12-11 11:07:35 +09:00
Benjamin Pasero
c74ae107f1
fix: do not print an error for an expected condition ( #15991 ) ( #15992 )
2018-12-10 12:06:26 -08:00
Shelley Vohr
45a937df0a
fix: incorrect view ordering for customButtonsOnHover ( #15564 )
2018-12-10 11:05:30 -08:00
Shelley Vohr
163361ee6a
chore: disable bump-version on arm32 ( #15994 )
2018-12-10 10:57:44 -08:00
Shelley Vohr
4b18a38e9f
chore: simplify promisify helper ( #15952 )
...
chore: simplify promisify helper
2018-12-10 08:13:09 -08:00
Cheng Zhao
db2fda1b6f
chore: make rpc-server reply to sender frame instead of the main frame ( #15973 )
...
* chore: make rpc-server reply to frame
* fix: check IsRenderFrameLive
2018-12-10 09:37:42 +09:00
Samuel Attard
eb8fcf833c
chore: warn when people attempt to use the Electron module to do Electron things but from node ( #15916 )
...
* chore: warn when people attempt to use the Electron module to do Electron things but from node
* update node env console warning
2018-12-07 12:00:24 -08:00
Milan Burda
177091ca6f
chore: rename nativeRequire to potentiallyRemoteRequire ( #15971 )
2018-12-06 18:12:50 -08:00
Jeremy Apthorp
442c1b22e3
feat: webContents.loadURL returns a promise ( #15855 )
2018-12-06 12:16:19 -08:00
Shelley Vohr
1b8c11121f
chore: convert bump script to js ( #15820 )
2018-12-06 11:00:10 -08:00
Jeremy Apthorp
2845267c18
feat: support mixed-sandbox mode on linux ( #15870 )
2018-12-05 17:42:12 -08:00
Milan Burda
764a10f7c7
refactor: simplify isRemoteModuleEnabled handling in sandboxed renderers ( #15961 )
2018-12-05 10:07:56 -08:00
Milan Burda
ab2a061b59
refactor: use helpers when using the remote module in sandboxed renderers ( #15960 )
2018-12-05 10:07:32 -08:00
Saswat Bhattacharya
d243a45173
feat: implement 'app-command' events for browser history navigation keys on Linux ( #15441 )
...
* Added mouse forward/back button support on Linux
* Added browser history navigation action bindings for Windows, Mac, and Linux keyboard
* Removed new `history-action` event and modified `app-command` to execute on such events
* Removed attempt at macOS support and added constants
* Clarified app-command documentation
* Reverted 'app-command' description change
* Format code
2018-12-05 09:35:59 -08:00
Shelley Vohr
3f15f51615
feat: promisify app.getFileIcon() ( #15742 )
2018-12-05 08:50:12 -08:00
Moisés Neto
cfbea4a0e3
docs: es6ify 'Breaking Changes' and 'File' API pages ( #15507 )
...
* docs: apply arrow functions to app.makeSingleInstance example
* docs: apply arrow functions to session docs
* docs: change normal to arrow functions in File object docs
2018-12-05 23:14:52 +11:00
Milan Burda
d561c5531b
feat: deprecate modules internally using remote.require in sandboxed renderer context ( #15145 )
2018-12-05 10:34:09 +01:00
Pedro Pontes
d5d1fa8290
fix: use appropriate site instance for cross-site nav's ( #15821 )
...
* fix: use Chromium's determined new site instance as candidate when navigating.
When navigating to a new address, consider using Chromium's determined site instance
for the new page as it should belong to an existing browsing instance when the
navigation was triggered by window.open().
fixes 8100.
* Revert "fix: use Chromium's determined new site instance as candidate when navigating."
This reverts commit eb95f935654a2c4d4457821297670836c10fdfd5.
* fix: delegate site instance creation back to content when sandboxed.
* fix: ensure site isolation is on
* test: adapt ut for cross-site navigation
* fix: register pending processes during a navigation.
* refactor: dont call loadURL for a window constructed from an existing webContents.
* test: add sandboxed affinity UT's.
* fix: check affinity before deciding if to force a new site instance.
* chore: adapt subsequent patch.
* refactor: constify logically const methods.
* fix: do not reuse site instances when navigation redirects cross-site.
* test: ensure localStorage accessible after x-site redirect.
* test: adapt localStorage acess denied UT for site isolation.
* fix: do not send render-view-deleted for speculative frames.
* chore: amend tests after rebase.
* test: add ut for webContents' render-view-deleted emission
* fix: introduce current-render-view-deleted for current RVH's deletions.
Revert render-view-deleted to being emitted with any RVH's deletion.
current-render-view-deleted is emitted only when the RVH being deleted
is the current one.
* refactor: style and comments fixed.
2018-12-05 17:03:39 +09:00
Shelley Vohr
46e7214974
chore: remove electabul ( #15954 )
2018-12-04 20:50:37 -08:00
Milan Burda
cfb2812cea
docs: remove methods invoking the callback repeatedly from promisification.md ( #15951 )
2018-12-04 13:45:55 -08:00
Jeremy Apthorp
8d1d842185
chore: restore ppapi_host DCHECK ( #15788 )
2018-12-04 11:05:23 -08:00
Shelley Vohr
c31629ad98
feat: add media access APIs for macOS Mojave ( #15624 )
2018-12-04 07:54:13 -08:00
Milan Burda
aa2b2f7c8f
fix: security: don't allow arbitrary methods to be invoked on webContents via IPC ( #15919 )
2018-12-04 16:12:21 +01:00
Jeremy Apthorp
0a23c0b032
chore: remove old patch for fixing ffmpeg on 32-bit linux ( #15226 )
...
It's no longer necessary, per the comment
2018-12-04 20:11:24 +09:00
Cheng Zhao
5bc86eaf9c
Merge pull request #15019 from Anrock/child-window-location
...
fix: Introduce LocationProxy for BrowserWindowProxy
2018-12-04 20:11:00 +09:00
Cheng Zhao
ca7dec2082
fix: default prop of location should be empty str
2018-12-04 17:11:26 +09:00
Cheng Zhao
fc4e10b6c0
fix: set setter of window.location
2018-12-04 16:23:52 +09:00
Anrock
e80e3a53e9
feat: introduce LocationProxy for BrowserWindowProxy
2018-12-04 16:23:52 +09:00
Julien Isorce
1f55f1635f
feat: add support for DesktopCapturerSource.appIcon
...
Useful to get the icon of the application owning the source.
Only available for sources of type window, i.e. not for screen.
https://github.com/electron/electron/issues/14845
2018-12-04 15:42:49 +09:00
John Kleinschmidt
77f73830e8
build: Enable arm embedded builtins ( #15939 )
...
* Revert "FIXME: disable v8 embedded builtins feature for arm flavor"
This reverts commit 8ec3bc0272 .
* build: don't enable embedded builtins for arm/arm64 native mksnapshot
2018-12-04 11:17:12 +09:00
Shelley Vohr
d3c58ea48c
chore: move getCurrentBranch to a util file ( #15921 )
...
* chore: move getCurrentBranch to a util file
* fix import
2018-12-03 13:28:10 -08:00
Shelley Vohr
a1a431eb87
fix: make windowMenu role correct on MacOS ( #15930 )
2018-12-03 11:52:46 -08:00
Samuel Attard
3ddd917ff4
Merge pull request #15405 from electron/chromium-upgrade/70
...
feat: upgrade to Chromium 70.0.3538.110
2018-12-04 03:26:49 +11:00
Milan Burda
a33eeda4f7
refactor: don't expose NavigationController as an internal module ( #15920 )
2018-12-03 17:13:09 +01:00
deepak1556
8ec3bc0272
FIXME: disable v8 embedded builtins feature for arm flavor
2018-12-03 20:07:44 +05:30
deepak1556
982649bab7
chore: update libgtkui_export.patch
2018-12-03 20:07:44 +05:30
Cheng Zhao
a7ee737226
chore: backport_958b761_from_upstream_v8.patch is not needed for Ch70
2018-12-03 20:07:44 +05:30
Cheng Zhao
e842482ec8
chore: bit_hash_seed_commits.patch is not needed for Ch70
2018-12-03 20:07:44 +05:30
Cheng Zhao
f00b0a3485
chore: pick_b0af309_from_upstream_v8.patch is not needed for Ch70
2018-12-03 20:07:44 +05:30
Cheng Zhao
fe943f560b
chore: fix_font_thickness.patch is not needed for Ch70
2018-12-03 20:07:44 +05:30
Cheng Zhao
975f85ea56
chore: ensure_cookie_store.patch is not needed for Ch70
2018-12-03 20:07:44 +05:30
deepak1556
e734536815
chore: roll DEPS 70.0.3538.110
2018-12-03 20:07:44 +05:30
deepak1556
3dfc0098ec
chore: move node specific build config out of //electron
2018-12-03 20:07:44 +05:30
deepak1556
06a501d4a2
chore: use base::JoinString to concatenate vector
2018-12-03 20:07:44 +05:30
deepak1556
e1336d8453
chore: fix v8 deprecation warnings
2018-12-03 20:07:43 +05:30
deepak1556
f8418554a3
chore: update fix_trackpad_scrolling.patch
2018-12-03 20:07:43 +05:30
deepak1556
65b7924528
chore: update frame_host_manager.patch
2018-12-03 20:07:43 +05:30
deepak1556
5017db855c
fix: remove explicitly enabled SharedArrayBuffer feature flag
...
It is enabled by default now.
2018-12-03 20:07:43 +05:30
deepak1556
c6313b3d2d
chore: roll DEPS 70.0.3538.102
2018-12-03 20:07:43 +05:30
deepak1556
4eb0d497ab
chore: update printing.patch
2018-12-03 20:07:43 +05:30
deepak1556
2ebea5501e
chore: update customizable_app_indicator_id_prefix.patch
2018-12-03 20:07:43 +05:30
deepak1556
2d68d60e00
chore: rm fix_zoom_display.patch
2018-12-03 20:07:43 +05:30
Heilig Benedek
6deb7afb82
fix: reimplement FrameSubscriber with mojo, re-enable tests
2018-12-03 20:07:43 +05:30
Heilig Benedek
8727636fcc
fix: update and re-enable OSR
2018-12-03 20:07:42 +05:30
deepak1556
00294a5b25
FIXME: disable some specs
2018-12-03 20:07:42 +05:30
deepak1556
c491fa59df
spec: update inspector-binding.js
...
* https://github.com/nodejs/node/pull/22251
* https://github.com/nodejs/node/pull/20137
2018-12-03 20:07:42 +05:30
deepak1556
d97cf8c438
spec: force create network context for proxy tests
2018-12-03 20:07:42 +05:30
deepak1556
7a68d632e6
fix: use proxy lookup api of network context to resolve proxies
2018-12-03 20:07:42 +05:30
deepak1556
28cff4644e
fix: disable kSpareRendererForSitePerProcess feature
2018-12-03 20:07:42 +05:30
Samuel Attard
9d72bd4de4
chore: update CreateSkBitmapFromHICON usage for new API (no pointer)
...
refs: https://chromium-review.googlesource.com/c/chromium/src/+/1234372
2018-12-03 20:07:42 +05:30
Samuel Attard
c1b9ca14e7
build: disable microsoft include warning
...
this error is being thrown on windows due a #include inside node
2018-12-03 20:07:42 +05:30
Samuel Attard
32a957c455
build: explicitly depend on //dbus for the linux build
...
refs: https://chromium-review.googlesource.com/c/chromium/src/+/1273525
2018-12-03 20:07:42 +05:30
Samuel Attard
85fdacbc49
chore: replace ShowWithWindowState with Show inside native_window_views
...
The functionality was merged in as a parameter to the core Show method, default
for restore_bounds is an empty gfx::Rect()
refs: https://chromium-review.googlesource.com/c/chromium/src/+/1174910
2018-12-03 20:07:42 +05:30
Samuel Attard
f8f091c250
chore: update GetLabelFrontList to be GetLabelStyle in menu model
...
refs: https://chromium-review.googlesource.com/c/chromium/src/+/1186702
2018-12-03 20:07:41 +05:30
Shelley Vohr
c51fef1568
fix: use url::AddCORSEnabledScheme
2018-12-03 20:07:41 +05:30
Shelley Vohr
1523a82bab
fixup! add missing newlines to patches
2018-12-03 20:07:41 +05:30
Samuel Attard
92f50664d0
chore: fix linting
2018-12-03 20:07:41 +05:30
Samuel Attard
5798b152a6
chore: check GetAgent as GetTracingController() crashes if no agent is set
2018-12-03 20:07:41 +05:30
Samuel Attard
b1e69e1357
chore: update asar injection for new node internal module loader
2018-12-03 20:07:41 +05:30
Samuel Attard
9c36576ddd
chore: SetTracingController becomes SetAgent and corresponing contructions updated
2018-12-03 20:07:41 +05:30
deepak1556
f7f09b028b
Introduce explicit configuration to CertVerifier
...
https://chromium-review.googlesource.com/c/chromium/src/+/1122709
2018-12-03 20:07:41 +05:30
deepak1556
089001bd92
fix: update node inspector api usage
2018-12-03 20:07:41 +05:30
deepak1556
97aa7b8e68
Use CompletionOnceCallback in URLFetcherResponseWriter.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1155087
2018-12-03 20:07:41 +05:30
deepak1556
366ca47136
Change Value::BlobStorage to std::vector<uint8_t>
...
https://chromium-review.googlesource.com/c/chromium/src/+/1137819
2018-12-03 20:07:40 +05:30
deepak1556
d21e30f57b
Reorganize MediaStreamType enums
...
https://chromium-review.googlesource.com/c/chromium/src/+/1160000
2018-12-03 20:07:40 +05:30
deepak1556
d1da0aad7f
Make IsolateHolder aware of the isolate type.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1183194
2018-12-03 20:07:40 +05:30
deepak1556
321f87fe61
Complete TaskPriority::BACKGROUND->BEST_EFFORT mass rename
...
https://chromium-review.googlesource.com/c/chromium/src/+/1153461
2018-12-03 20:07:40 +05:30
deepak1556
6743b83786
Add notifications to UKM.xml.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1071649
2018-12-03 20:07:40 +05:30
deepak1556
f464b8c4c5
Respond for handling protocol commands async
...
https://chromium-review.googlesource.com/c/chromium/src/+/1139575
2018-12-03 20:07:40 +05:30
deepak1556
25d0a7b62a
Create a CodeCache per each storage_partition to store generated code
...
https://chromium-review.googlesource.com/c/chromium/src/+/1120179
2018-12-03 20:07:40 +05:30
deepak1556
b5b49c9ed0
FIXME: Remove SchemeRegistry::RegisterURLSchemeAsCORSEnabled
...
https://chromium-review.googlesource.com/c/chromium/src/+/1157364
2018-12-03 20:07:40 +05:30
deepak1556
ffeab383b5
Move NetworkConnectionTracker getter to network_service_instance.h
...
https://chromium-review.googlesource.com/1162888
2018-12-03 20:07:40 +05:30
deepak1556
0bd006a8eb
ProxyConfigDictionary: Use base::Value
...
https://chromium-review.googlesource.com/c/chromium/src/+/1150846
2018-12-03 20:07:40 +05:30
deepak1556
0f9dd3736c
Move CRLSets to being part of CertVerifier::Config
...
https://chromium-review.googlesource.com/c/chromium/src/+/1132706
2018-12-03 20:07:39 +05:30
deepak1556
6310d6c699
Flatten ResourceRequestBody data
...
https://chromium-review.googlesource.com/c/chromium/src/+/1114258
2018-12-03 20:07:39 +05:30
deepak1556
b2d53f1e1e
FIXME: word_start and medial_capital_as_word_start are removed from WebFindOptions
...
https://chromium-review.googlesource.com/c/chromium/src/+/1175645
2018-12-03 20:07:39 +05:30
deepak1556
4179cedf37
Change SubscribePermissionStatusChange to use a RFH to query permissions
...
https://chromium-review.googlesource.com/c/chromium/src/+/979735
2018-12-03 20:07:39 +05:30
deepak1556
66349261a5
fix: update to per context v8::Script::Compile api
2018-12-03 20:07:39 +05:30
deepak1556
c1f32afeeb
Use CompletionOnceCallback in URLRequestSimpleJob.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1155089
2018-12-03 20:07:39 +05:30
deepak1556
8f1fa4177e
Fix invalid handle errors found with App Verifier
...
https://chromium-review.googlesource.com/c/chromium/src/+/1145767
2018-12-03 20:07:39 +05:30
deepak1556
535d264497
fix: [UI] Resolve method conflict between MenuModel, SimpleMenuModel::Delegate
...
https://chromium-review.googlesource.com/c/chromium/src/+/1230581
2018-12-03 20:07:39 +05:30
deepak1556
2eedcde914
fix: Remove DEFINE_WEB_CONTENTS_USER_DATA_KEY in //electron.
...
https://bugs.chromium.org/p/chromium/issues/detail?id=589840
2018-12-03 20:07:39 +05:30
Samuel Attard
6b4b7c9831
chore: make BrowserObserver a CheckedObserver
...
refs: https://chromium-review.googlesource.com/c/chromium/src/+/1053338
2018-12-03 20:07:38 +05:30
Samuel Attard
b6aae790cf
fixme: C70 removed DidReceiveCompositorFrame
...
(OSR relatied)
refs: 1de1ca906a
cc @brenca
2018-12-03 20:07:38 +05:30
Samuel Attard
74d1685523
chore: fix ShouldFork impl, referrer stripping has been removed
...
refs: https://chromium-review.googlesource.com/c/chromium/src/+/1124329
2018-12-03 20:07:38 +05:30
Samuel Attard
c9007557e5
chore: post_task and friends now live under base/task
...
refs: https://chromium-review.googlesource.com/c/chromium/src/+/1161088
2018-12-03 20:07:38 +05:30
Samuel Attard
c4cb90ab85
chore: replace PreContentInitialization with PreCreateMainMessageLoop
2018-12-03 20:07:38 +05:30
Samuel Attard
0adbcfd806
chore: bump node
2018-12-03 20:07:38 +05:30
Samuel Attard
fd442df851
chore: update v8 patches for Chromium 70
2018-12-03 20:07:38 +05:30
Samuel Attard
f927398b53
chore: update package-lock.json
2018-12-03 20:07:38 +05:30
Jeremy Apthorp
6414cb05f0
update DEPS
2018-12-03 20:07:37 +05:30
Jeremy Apthorp
3b4e706758
rebase chromium patches on M70
2018-12-03 20:07:37 +05:30
Milan Burda
559fd5cb31
chore: remove unused module ( #15917 )
2018-12-02 14:43:04 -08:00
Jakub Biesiada
1672cffe96
docs: update mojave-dark-mode-guide.md ( #15888 )
...
* Update mojave-dark-mode-guide.md
Add info about dark mode support in electron-builder
* Update mojave-dark-mode-guide.md
* Update mojave-dark-mode-guide.md
2018-12-01 12:02:36 +11:00
Shelley Vohr
b8ec886609
chore: allow bumping stable => beta ( #15906 )
2018-11-30 11:01:57 -08:00
Shelley Vohr
728be219a4
chore: improve granular release cleanup ( #15900 )
...
* chore: improve granular release cleanup
* make releaseId optional
2018-11-30 09:58:09 -08:00
Sylvester Keil
2e91bf1e15
Fix GTK menubar item color ( #15878 )
...
Use menubar item color (not menu item color).
Closes #15194
2018-11-30 09:28:45 -08:00
John Kleinschmidt
515525cfc6
ci: Renable ffmpeg and mksnapshot tests on Azure Devops ( #15800 )
...
* ci: Renable ffmpeg and mksnapshot tests on VSTS
Also, add testing of ffmpeg and mksnapshot to arm tests
2018-11-30 11:17:01 -05:00
Jeremy Apthorp
83d951db7e
chore: DCHECK that events are only emitted on the UI thread ( #15873 )
...
* chore: DCHECK that events are only emitted on the UI thread
* move dcheck to EmitWithEvent
2018-11-30 18:48:27 +09:00
Milan Burda
8483cb4aa7
security: only handle related IPCs when <webview> tag is enabled ( #15859 )
...
* refactor: move guest-view-manager related IPC handling out of rpc-server
* feat: only handle related IPCs when <webview> tag is enabled
2018-11-30 18:44:38 +09:00
Andy Dill
8cca1c987b
fix: move NativeWindow tracking to OSR WCV ( #15585 )
...
* fix: move NativeWindow tracking to OSR WCV
* fix oops
2018-11-29 21:25:02 -08:00
Heilig Benedek
78b88a70bb
fix: backport patch that ensures that cookie store is always created ( #15836 )
...
* fix: backport patch that ensures that cookie store is always created
* fix: disable cookie encryption
* fix: flush the cookie store when NetworkContext shuts down
* test: add test for cookie store persistance
* Update patches/common/chromium/ensure_cookie_store.patch
Co-Authored-By: brenca <benecene@gmail.com >
* Update patches/common/chromium/ensure_cookie_store.patch
Co-Authored-By: brenca <benecene@gmail.com >
2018-11-29 10:51:13 -08:00
Shelley Vohr
165d168ee5
fix: ignore unused freopen result ( #15884 )
2018-11-29 09:36:08 -08:00
Jeremy Apthorp
753fb31c54
test: fix flaky takeHeapSnapshot test ( #15853 )
...
ref #15095
2018-11-29 16:51:03 +01:00
Jeremy Apthorp
62eb077f29
refactor: simplify logic for enabling stack dumping ( #15872 )
...
ref #15785
2018-11-28 22:23:41 -08:00
Ho Wing Yip
cd8099d336
Fixed typo in dialog.md ( #15861 )
...
Changed "masOS" to "macOS"
2018-11-28 20:41:27 -08:00
Jeremy Apthorp
30109d64f2
test: fix a bunch of flaky tests related to emittedOnce ( #15871 )
2018-11-28 17:52:19 -08:00
Jeremy Apthorp
ae266e2e03
chore: remove browser_plugin_wheel.patch ( #15787 )
...
according to https://crbug.com/725970#c9 , chromium should have fixed this upstream
2018-11-28 13:45:37 -08:00
Shelley Vohr
c366525370
fix: form control rendering on 10.14 Mojave ( #14865 )
2018-11-28 13:06:20 -08:00
Michelle Tilley
8f04def7b2
fix: prevent bluetooth device list from growing without bound ( #15805 )
...
* fix: include bluetooth strings in build
* fix: prevent bluetooth device list from growing without bound
2018-11-28 11:36:00 -05:00
Andy Dill
55808dffcd
fix: osr windows respect display scale factor ( #15733 )
2018-11-28 11:16:03 -05:00
Milan Burda
07f8f5f95a
refactor: eliminate duplicate code exposing process APIs ( #15824 )
2018-11-28 11:08:17 -05:00
Slapbox
d7d4b8638d
docs: makes note of HTTP header CSP usage with file:// ( #14768 )
2018-11-28 17:58:18 +09:00
Nitish Sakhawalkar
9890d1e251
feat: Implement process.getProcessMemoryInfo to get the process memory usage ( #14847 )
...
* feat: Implement process.getMemoryFootprint to get the process memory usage
* Add spec
* fix: must enter node env in callback
* Update function call
* Update spec
* Update API data
* update spec
* Update include
* update test for shared bytes
* Update atom/common/api/atom_bindings.cc
Co-Authored-By: nitsakh <nitsakh@icloud.com >
* Update atom/common/api/atom_bindings.cc
Co-Authored-By: nitsakh <nitsakh@icloud.com >
* Update API
* Update the callback isolate
* Update to work after app ready
* Update docs
* Update docs/api/process.md
Co-Authored-By: nitsakh <nitsakh@icloud.com >
* Update docs/api/process.md
Co-Authored-By: nitsakh <nitsakh@icloud.com >
* Fix crash
2018-11-28 17:57:53 +09:00
Alexander Turinske
f563fc9d5e
docs: add new widevine requirements ( #14024 )
2018-11-28 17:53:42 +09:00
Shelley Vohr
41c2685204
feat: promisify win.capturePage() ( #15743 )
...
* feat: promisify win.capturePage
* mark optional arg correctly
* Add to breaking changes doc
* properly deprecate win.capturePage
* remove change from api-contract
* document both callback and promise versions
* address docs feedback
* update promisification progress doc
2018-11-27 23:50:53 -05:00
Shelley Vohr
73fbb69c50
chore: change return type of platform_util::SetLoginItemEnabled ( #15854 )
2018-11-27 23:16:53 -05:00
Shelley Vohr
5f9c857eb0
chore: expose release id for use in cleanup ( #15845 )
2018-11-27 23:12:01 -05:00
Jeremy Apthorp
5d54d42953
test: fix remote-debugging-port test calling done twice ( #15857 )
2018-11-28 10:59:05 +09:00
Milan Burda
81e00d8e56
chore: fix V8 deprecation warnings ( #15842 )
2018-11-27 16:42:02 -05:00
Jeremy Apthorp
455f0669e7
fix: add missing shell_resources.pak to repack target ( #15844 )
2018-11-27 11:18:18 -08:00
Cheng Zhao
5bb35bbdaf
fix: backport patch to fix scrolling problem ( #15830 )
2018-11-27 23:26:34 +09:00
Milan Burda
d63a848011
feat: add activate option to webContents.openDevTools ( #13852 )
2018-11-27 18:34:44 +09:00
Cheng Zhao
aafbd865bf
Merge pull request #12686 from Anrock/browserview-handle-window-open
...
fix: handle window.open events in BrowserView
2018-11-27 15:59:17 +09:00
Cheng Zhao
63874da087
test: add test for window.open in BrowserView
2018-11-27 11:10:07 +09:00
Cheng Zhao
d1f0d6c184
fix: remove event monitor before destroying window
2018-11-27 11:10:07 +09:00
Anrock
9ff7807be8
fix: move window.open handlers from BrowserWindow to WebContents
2018-11-27 10:59:01 +09:00
Jeremy Apthorp
23de301955
chore: remove scoped_clipboard_writer.patch ( #15843 )
...
replace with already-exposed APIs
2018-11-27 09:51:26 +09:00
Shelley Vohr
0a5f8611e8
chore: add promise api runtime flag ( #15841 )
...
* chore: add promise api runtime flag
* add promisification plan document
* fix process.md typo
2018-11-26 16:00:46 -05:00
Simone Cattaneo
6f116eeaa4
fix: improved event flow management related to 'will-resize' event on Windows ( #15695 )
2018-11-26 12:26:48 -08:00
Heilig Benedek
0242818f39
feat: add registerAccelerator flag to allow menu items to optionally skip accelerator registration ( #15723 )
...
* feat: add registerAccelerator flag to allow menu items to skip registration
* docs: add docs for registerAccelerator
* docs: re-add accidentally removed line
2018-11-26 10:43:55 -08:00
Shelley Vohr
3748ee49ea
chore: remove unused test.py ( #15822 )
2018-11-24 20:01:30 -05:00
Jeremy Apthorp
a8a881c8db
chore: restore //url dchecks ( #15637 )
2018-11-22 09:02:52 -08:00
Jeremy Apthorp
fb52fdc592
chore: remove browser_plugin_guest.patch ( #15786 )
2018-11-21 15:53:09 -05:00
John Kleinschmidt
bb7c63c052
build: fix native_mksnapshot build ( #15770 )
...
* build: fix native_mksnapshot build
When we changed our electron_mksnapshot_zip target to include the v8_context_snapshot_generator, this dependency made the `run_mksnapshot` target run which was trying to run an arm/arm64 binary on x64 hardware.
Don't use custom build args for native_mksnapshot as they are not needed
* Added comment on why snapshot_blob.bin is skipped on arm/arm64
2018-11-21 15:19:19 -05:00
Robo
9e8b26cc4e
fix: bypass CORB when web security is disabled ( #15737 )
...
* fix: extend content layer hook to bypass corb when web security is disabled.
* chore: add patch to disable CORB
2018-11-21 14:10:05 -06:00
Heilig Benedek
5db8197a5d
fix: schedule a paint after browserview's background is set ( #15784 )
2018-11-21 13:04:10 -06:00
Samuel Attard
0b0a17ff91
fix: load the chrome.* API on chrome-extension pages in sandbox mode ( #15563 )
...
With mixed sandbox enabled we need to load the chrome.* APIs in the
sandbox init.js so that chrome extensions load correctly.
This mirrors the equivilant impl in `atom_renderer_client.cc`
Fixes #15561
2018-11-21 12:56:58 -05:00
malern
a68e3371f3
fix: remove duplicated status code ( #15707 )
...
Removed the hardcoded status code from the protocol response as the real status code is appended immediately after.
2018-11-21 10:47:05 -06:00
Cheng Zhao
47bf8e1bb3
view: add ResizeArea class ( #15752 )
2018-11-21 22:39:59 +09:00
Jeremy Apthorp
65099ab489
chore: remove no_stack_dumping.patch ( #15785 )
...
we build with IS_OFFICIAL_BUILD now so this should be OK
2018-11-20 23:32:43 -05:00
Charles Kerr
40619efb3b
chore: remove FileChooser AddExtensionForFilename ( #15510 )
2018-11-20 16:24:39 -05:00
Samuel Attard
f02f9ba9fb
chore: add spec for --inspect after a -- ( #15237 )
2018-11-20 16:23:50 -05:00
Ondřej Záruba
de05ff894b
feat: Add app.getLocaleCountryCode() method for region detection ( #15035 )
...
* Add method to get system´s user region
* Fix linter
* Remove auto types
* Improved detection for POSIX
* Change name, add specs, minor fixes
* Remove left overs
* Fix locale test
* Fix Linux test
* Coding style fixes
* Fix docs
* Add test excaption for Linux
* fix spelling
* Polishing
2018-11-20 15:33:23 -05:00
Pedro Pontes
57d2ae1aec
revert: "fix: window.open site instance should belong to same browsing instance ( #15216 )" ( #15757 )
...
This reverts commit 8f35198bfb .
2018-11-20 21:28:26 +01:00
Michelle Tilley
46c2953edb
doc: Update Windows build instructions to include debugging tools ( #15765 )
2018-11-20 01:08:25 -05:00
Simone Cattaneo
f2d3d55e95
docs: changed German link with English one for Windows SDK Archive ( #15764 )
2018-11-20 01:03:03 -05:00
Daniel Turcich
a59b53c7e6
Update webview-tag.md ( #15741 )
...
Added Mouse and Scroll to list of events that webview can't have event listeners for
2018-11-20 01:01:57 -05:00
Jeremy Apthorp
08b56b7675
docs: add note about win_delay_load_hook ( #15766 )
2018-11-19 16:13:50 -08:00
Jeremy Apthorp
90795c4fa4
build: make make_locale_dirs idempotent ( #15768 )
2018-11-19 15:55:13 -08:00
Jeremy Apthorp
90d1c0b2b6
chore: don't explicitly destroy asar archives ( #15734 )
2018-11-19 13:12:41 -08:00
Jeremy Apthorp
ec4212cce1
docs: add troubleshooting section for win toolchain prompt ( #15761 )
2018-11-19 11:53:28 -08:00
Shelley Vohr
a45d5960d7
chore: allow for callback => promise deprecation ( #15758 )
...
* chore: allow for callback => promise deprecation
* cb type check is sufficient
* migrate warn to always trigger
2018-11-19 12:56:26 -05:00
Andrzej Szombierski
51cb36fa9b
fix: ensure that file descriptors 0/1/2 are opened at startup ( #15555 )
...
* fix: ensure that file descriptors 0/1/2 are opened at startup
This fixes an issue where the gpu subprocess was writing messages to a
random pipe or socket. The standard file desciptors are closed in
chromium's subprocesses because of an unfortunate interaction with
libuv's tty handling code leaving them with the FD_CLOEXEC flag.
* style: fix lint warnings
2018-11-19 11:53:55 -05:00
Simone Cattaneo
b97d7e7ecd
fix: On close trying to remove observer from an empty collection leads to an access violation ( #15739 )
2018-11-19 11:47:04 -05:00
Cheng Zhao
e12c0dcf66
Merge pull request #15618 from electron/system_netwok_context
...
fix: create system network context for global requests
2018-11-19 11:25:34 +09:00
Andy Dill
4f45b72381
fix: package swiftshader binaries ( #15380 )
2018-11-17 19:24:29 +11:00
Jeremy Apthorp
81843f0dfb
ci: temporarily disable verify ffmpeg & mksnapshot tests on vsts ( #15732 )
...
* ci: temporarily disable verify ffmpeg test on vsts
* also disable verify-mksnapshot
2018-11-15 16:35:31 -08:00
Jeremy Apthorp
20116d7f05
fix: always disable setuid sandbox on linux ( #15722 )
2018-11-15 13:27:56 -08:00
Jeremy Apthorp
0642be296d
fix: crash in sandbox on linux when getting execPath ( #15701 )
2018-11-15 12:59:01 -08:00
Jeremy Apthorp
c8860d006b
fix: restore missing .lproj directories ( #15721 )
...
the empty lproj directories help macOS to understand what locales the app supports
2018-11-15 09:30:45 -08:00
John Kleinschmidt
b53a858400
build: use different directory for generated breakpad symbols ( #15716 )
2018-11-14 12:47:01 -08:00
Shelley Vohr
511dc9a80b
feat: add numpad accelerator strings ( #15689 )
2018-11-14 14:02:18 -05:00
deepak1556
7e1168c518
fix: return system shared url loader for content layer
2018-11-14 12:42:24 +05:30
deepak1556
57356036db
fix: initialize system network context from IOThread
2018-11-14 12:42:24 +05:30
deepak1556
666a106fa8
refactor: move IOThread and NetLog ownership to g_browser_process
2018-11-14 12:42:24 +05:30
deepak1556
414dcfcd07
fix: create system network context for global requests
...
Global requests currently includes DNS over HTTPS requests,
certain cert validation requests (OCSP, AIA, etc) on some platforms
and geolocation requests.
2018-11-14 12:42:24 +05:30
Shelley Vohr
787dbbe610
feat: add about panel customization on linux ( #15658 )
2018-11-13 17:12:24 -05:00
Jeremy Apthorp
bc9a7806a5
chore: remove add_atomic_lib_to_dependencies_even_for_sysroot_builds.patch ( #15692 )
2018-11-13 10:00:25 -08:00
Shelley Vohr
565e4c5910
chore: fix window width in spec for win ( #15693 )
2018-11-13 11:31:03 -05:00
Pedro Pontes
8f35198bfb
fix: window.open site instance should belong to same browsing instance ( #15216 )
2018-11-12 22:01:43 +01:00
Shelley Vohr
c06f023313
feat: allow partial setting of window bounds ( #15677 )
...
Extend the existing win.setBounds functionality by allowing developers to partially update bounds without being forced to pass in all four bounds values. No existing functionality is altere
2018-11-12 15:31:14 -05:00
Alexey Kuzmin
0c46a7a4d9
ci: use config version 2.1 on CircleCI ( #15665 )
2018-11-12 11:22:21 -08:00
Jacob
b21dbdb20d
fix: bypass DOM storage quota ( #15596 )
2018-11-12 18:19:01 +01:00
Shelley Vohr
c9d0960f47
docs: remove unsafe eval section of security tutorial ( #15675 )
...
* docs: remove unsafe eval section of security tutorial
* lintfix
2018-11-12 11:13:48 -05:00
Shelley Vohr
a54dd1085a
feat: expose showAboutPanel for MacOS ( #15674 )
2018-11-11 22:52:27 -05:00
Samuel Attard
1cf28e8b75
build: auto-gen libnotify_loader.cc ( #15648 )
2018-11-10 14:21:40 -05:00
Shelley Vohr
9fd98bb27b
refactor: no longer require submenu for services menuitem ( #15656 )
2018-11-10 12:47:55 -05:00
Nitish Sakhawalkar
025aa49f67
fix: NSWindow crash happening on macos 10.9 ( #15660 )
2018-11-10 14:53:35 +01:00
Nitish Sakhawalkar
5994bf6745
fix: Menu accelerators not working ( #15094 )
...
This change fixes the regression in the menu accelerators working in linux, on some environments.
2018-11-09 13:54:16 -08:00
John Kleinschmidt
9e2b7dbea5
ci: add testing for mksnapshot ( #15627 )
...
* ci: add testing for mksnapshot
2018-11-09 10:54:17 -04:00
Samuel Attard
edf063bae3
chore: remove deprecated touch-bar API ( #15650 )
2018-11-09 17:00:19 +11:00
Samuel Attard
e7b2b93cee
chore: re-enable DCHECK in node_debugger ( #15649 )
2018-11-09 14:44:31 +11:00
Robo
82322968a3
refactor: printing implementation ( #15143 )
...
* refactor: basic printing
* move build files to chromium_src/BUILD.gn
* remove dependency on chrome prerender sources
* spec: move printing specs behind feature flag
* build: register pdf compositor service
2018-11-09 14:42:34 +11:00
Jeremy Apthorp
53642b2b17
chore: restore process_metrics_win.cc dcheck ( #15631 )
2018-11-09 00:51:53 +01:00
Jeremy Apthorp
fb9cf86836
chore: restore node.cc IsPseudoElement dcheck ( #15634 )
2018-11-08 13:20:20 -08:00
Jeremy Apthorp
faf6c5ad29
chore: restore blink loader dchecks ( #15638 )
2018-11-08 16:38:01 -04:00
Jeremy Apthorp
4649d1c73b
chore: restore webui-related bindings DCHECK ( #15633 )
2018-11-08 11:37:00 -08:00
Jeremy Apthorp
703cb6deea
chore: restore WeakReference dcheck ( #15629 )
2018-11-08 11:36:37 -08:00
Samuel Attard
9aed2a465f
fix: send NSView* as the response to getNativeWindowHandle() instead of a null handle ( #15521 )
2018-11-08 09:03:19 -08:00
Cheng Zhao
746beb0d8b
fix: destroy WebContents synchronously on shutdown ( #15541 )
2018-11-08 07:57:28 -08:00
Alexey Kuzmin
6162d9090d
chore: remove the 'get-patch' script ( #15586 )
...
It is obsolete now, "script/git-export-patches"
should be used instead.
2018-11-08 16:37:00 +01:00
Jeremy Apthorp
11223cbc9b
chore: restore viz dcheck ( #15632 )
2018-11-08 11:16:47 -04:00
Jeremy Apthorp
7e0e12b8a3
fix: match Chrome's font fallback behavior ( #15486 )
...
* fix: match Chrome's font fallback behavior
Fixes #15481
* add a cache
* add test
* another test
* fix tests
* arial -> dejavu sans on linux apparently?
2018-11-08 10:51:51 -04:00
Heilig Benedek
ca2d74e118
feat: add methods to allow customization of save dialog during will-download event ( #15497 )
...
* feat: add method to DownloadItem that allows customization of dialog options
* docs: add docs for get/setSaveDialogOptions
* add missing copy constructor for DialogSettings on mac and linux
* fix: don't filter dialog options for mas build, don't return properties
* test: add test for get/setSaveDialogOptions
* fix: remove openDevtools added for debugging
* test: fix failing test because of new event parameter
* docs: use SaveDialogOptions instead of Object
2018-11-08 10:51:06 -04:00
Jeremy Apthorp
673004b878
chore: restore kill_win.cc dcheck ( #15630 )
2018-11-08 10:40:34 -04:00
Michelle Tilley
2a8e8a0603
fix: make certain values on process read-only ( #15628 )
...
* docs: Add 'worker' as a possible value for `process.type`
* fix: make certain properties on `process` read only:
* `mas`
* `windowsStore`
* `versions.electron`
* `versions.chrome`
* `type`
* `pid`
* `sandboxed`
2018-11-08 10:28:06 -04:00
Samuel Attard
4e53019b75
docs: add a mojave dark mode guide ( #15267 )
2018-11-07 18:16:47 -06:00
Shelley Vohr
833269ffde
fix: correctly display zoom in accelerator on mac ( #15502 )
...
* fix: correctly display zoom in accelerator on mac
* add release to patch info
2018-11-07 13:42:30 -08:00
Shelley Vohr
e9ba26f50e
feat: allow registering multiple shortcuts ( #15542 )
...
This PR allows for multiple global shortcuts to be registered such that triggering any of them calls the same callback.
2018-11-07 09:40:38 -08:00
Jeremy Apthorp
20a540e680
chore: add explanation to resource_file_conflict.patch ( #15612 )
...
* chore: add explanation to resource_file_conflict.patch
* Update resource_file_conflict.patch
2018-11-07 11:11:01 -04:00
Jeremy Apthorp
bf3edf8f87
fix: correctly package Login Helper in mas builds ( #15610 )
2018-11-06 20:15:01 -08:00
Jeremy Apthorp
10969b8c3c
fix: make feature strings more robust to whitespace ( #15602 )
...
Fixes #15594
2018-11-06 15:52:06 -08:00
John Kleinschmidt
c52cf01a3c
build: add v8_context_snapshot_generator to mksnapshot zip ( #15606 )
...
v8_context_snapshot_generator is needed when creating custom snapshots with mksnapshot
2018-11-06 18:57:52 -04:00
Charles Kerr
1672c95de3
better release notes ( #15169 )
...
* fix: use PR 'Notes' comment in release notes
* fix: follow links in roller-bot PRs
* refactor: better reference point version selection
* if we're a stable release, use the current brnach's previous stable
* if we're a beta release, use the current branch's previous beta
* if no match found, use the newest stable that precedes this branch
* refactor: dedup the caching functions' code
* refactor: partially rewrite release note generator
* parse release notes comments from PRs
* do not display no-notes PRs
* handle roller-bot commits by following cross-repo commits/PRs
* minor tweaks to note rendering, e.g. capitalization
* fix: fix lint:js script typo
* fix: copy originalPr value to rollerbot PR chains
* fix: handle more cases in release notes generator
* handle force-pushes where no PR
* better type guessing on pre-semantic commits
* fix: handle more edge cases in the note generator
* better removal of commits that landed before the reference point
* ensure '<!-- One-line Change Summary Here-->' is removed from notes
* handle more legacy commit body notes e.g. "Chore(docs)"
* check for fix markdown in PR body e.g. a link to the issue page
* chore: tweak code comments
* refactor: easier note generator command-line args
* refactor: group related notes together
* feat: query commits locally for gyp and gn deps
* chore: slightly better filtering of old commits
* feat: omit submodule commits for .0.0 releases
More specifically, only include them if generating release
notes relative to another release on the same branch.
Before that first release, there's just too much churn.
* refactor: make release-notes usable as a module
Calling it from the command line and from require()() now
do pretty much the same thing.
* refactor: passing command-line args means use HEAD
* chore: plug in the release note generator
* feat: support multiline 'Notes:' messages.
xref: https://github.com/electron/trop/pull/56
xref: https://github.com/electron/clerk/pull/16
* remove accidental change in package.json
* simplify an overcomplicated require() call
* Don't use PascalCase on releaseNotesGenerator()
* Remove code duplication in release notes warnings
* remove commented-out code.
* don't use single-character variable names.
For example, use 'tag' instead of 't'. The latter was being
used for map/filter arrow function args.
* Look for 'backport' rather than 'ackport'.
* Wrap all block statements in curly braces.
* fix tyop
* fix oops
* Check semver validity before calling semver.sort()
2018-11-06 16:06:11 -04:00
Shelley Vohr
649f04b7bc
chore: add simple set/unset loginitem spec ( #15595 )
2018-11-06 11:31:32 -08:00
Jeremy Apthorp
934a7fc118
refactor: don't use AppIndicatorIcon directly ( #15536 )
2018-11-06 11:00:37 -08:00
Alexey Kuzmin
3a3b197327
fix: update the "SSL_get_tlsext_status_type" patch ( #15587 )
...
It has been upstreamed by @nornagon
c0c9001440
2018-11-06 08:07:09 -08:00
Shelley Vohr
ece4c81c1a
fix: hiddenInset titleBar console spam ( #15576 )
2018-11-05 21:02:46 -08:00
Shelley Vohr
dcd2bf451d
refactor: remove 10.9 specific menu code ( #15578 )
2018-11-05 20:42:19 -08:00
Jeremy Apthorp
87565ec667
docs: add more links to the devtools protocol docs ( #15581 )
...
I missed the link at the top when I was skimming this documentation
2018-11-05 16:53:18 -08:00
Jeremy Apthorp
2e1c50c891
chore: fix missing \n at end of exported patches ( #15579 )
2018-11-05 13:50:35 -08:00
Jeremy Apthorp
77f69cbe08
chore: remove unused use_transparent_window.patch ( #15534 )
...
Unneeded since 6f2f761df3 (diff-0bbbec38254ebb1146b15c15277c6aa1)
2018-11-05 13:19:21 -08:00
Shelley Vohr
c60745b8a3
fix: use NSURL path for receipt url ( #15355 )
2018-11-05 09:49:51 -08:00
Alexey Kuzmin
32ea2b67f0
build: store the patches config in a json file ( #15395 )
2018-11-05 17:31:28 +01:00
Alexey Kuzmin
9b05381acc
build: make pyyaml an optional dependency ( #15565 )
2018-11-05 11:19:00 -04:00
Milan Burda
a19d20cfb8
refactor: more cleanup of chromium_src ( #15424 )
2018-11-05 10:29:33 -04:00
trop[bot]
c422011d58
docs: fix the "second-instance" event handler signature in the docs ( #15551 )
2018-11-03 11:37:59 +11:00
Heilig Benedek
1f5e0c42f3
style: no need for done call in sync tests ( #15550 )
2018-11-02 10:50:17 -04:00
nixxquality
6e6ab9b907
Fix callback info for showSaveDialog and showOpenDialog ( #15549 )
2018-11-02 10:47:19 -04:00
Samuel Attard
7f73240fd5
chore: use chromes auto generated definition of CHROME_VERSION_STRING ( #15275 )
2018-11-02 23:32:33 +11:00
Jeremy Apthorp
932ffdc1e1
test: fix a possible race condition in sendInputEvent test ( #15530 )
2018-11-01 10:25:46 -07:00
Samuel Attard
fe8965efa2
fix: use sendToAll method correctly in chrome-api ( #15518 )
2018-11-01 07:16:49 -07:00
Samuel Attard
bdef033459
docs: add Size as an option for pageSize in docs for printToPDF ( #15519 )
2018-11-01 09:00:33 -04:00
Samuel Attard
6ed70327f5
chore: publish to the latest tag correctly when releasing old versions ( #15274 )
2018-11-01 12:27:35 +11:00
Samuel Attard
e9fab747ec
fix: explicitly set windowsHide to the old node default ( #15469 )
...
fixes #15467
2018-11-01 10:53:11 +11:00
Charles Kerr
feb31d088b
fix: honor properties.showHiddenFiles on Linux ( #15503 )
...
Previously the code only set the GtkFileChooser's property if `properties.showHiddenFiles` was set.
This PR unconditionally sets the GtkFileChooser's property so that hidden files will be hidden if `properties.showHiddenFiles` was not set.
2018-10-31 16:13:01 -05:00
Cheng Zhao
a8f2646ba6
Fix missing remote object error when calling remote function created in preload script ( #15444 )
...
* fix: report wrong context error based on contextId
* fix: destroyed remote renderer warning is now async
2018-10-31 11:26:57 -04:00
Shelley Vohr
b2e1a93177
refactor: remove hardcoded google api key ( #15478 )
...
* refactor: remove hardcoded Google API key
* address changes from review
2018-10-31 07:49:44 -07:00
Samuel Attard
86064a7bd8
docs: add return type for subscribeNotification ( #15490 )
2018-10-31 10:24:50 -04:00
Heilig Benedek
6d2a088be9
feat: detect high contrast color mode ( #15493 )
...
* feat: add event and method to detect high contrast color mode
* docs: add docs for isHighContrastColorScheme and high-contrast-color-scheme-changed
* refactor: correct type of contrast
2018-10-31 10:22:18 -04:00
Heilig Benedek
aa6f7a5d9f
fix: don't append Shift modifier text twice to accelerators ( #15400 )
...
* fix: don't append Shift modifier text twice to accelerators
* style: use the new way of creating patches
* test: add menu item accelerator display tests
* fix: allocate accelerator on the stack
* fix: adjust tests to match expected behavior on mac
2018-10-31 10:13:44 -04:00
Shelley Vohr
1d81d1a706
chore: re-enable protocol partition request spec ( #15483 )
2018-10-31 07:12:32 -05:00
Jeremy Apthorp
e345209f91
chore: remove webui_in_subframes patch ( #15475 )
2018-10-30 18:19:30 -05:00
Shelley Vohr
29964079ae
chore: re-enable failing netlog spec ( #15484 )
2018-10-30 17:45:05 -05:00
Shelley Vohr
94f853c654
chore: re-enable execFileSync binary exec spec ( #15476 )
2018-10-30 15:45:46 -04:00
David Sanders
bae652f46d
docs: http protocol handlers can access headers ( #15431 )
...
* test: check http protocol handlers can access headers
* docs: http protocol handlers can access headers
2018-10-30 11:37:49 -07:00
Samuel Attard
59ee2859a7
chore: update versioning doc for nightlies ( #15468 )
2018-10-30 10:33:50 -07:00
Shelley Vohr
2bd94293e0
doc: clarify menu item properties not available top-level ( #15458 )
2018-10-29 15:04:25 -05:00
David Sanders
c93973ab7a
docs: fix protocol.isProtocolHandled documentation ( #15430 )
2018-10-29 15:23:23 -04:00
Heilig Benedek
894ae1b3f5
refactor: Improve accessibility of menus ( #15302 )
...
* refactor: improve menubar keyboard accessibility
* fix: create a temporary widget for tray icon context menu
* fix: focus menu bar with Alt when autohide is off
* fix: make menu bar focus work more like the native menus
* fix: only focus menu bar if it's not already focused
* fix: track accelerator registration to avoid duplicates
* docs: add docs for & notation in app menu item names
* fix: only try to activate accelerator if it's registered
* fix: add friend to monitor window focus change
* style: add <memory> include
2018-10-29 13:08:46 -05:00
John Kleinschmidt
00daff6ac8
docs: add Azure Pipelines status ( #15455 )
2018-10-29 12:18:34 -04:00
Milan Burda
f921df7ad1
chore: move spellcheck out of chromium_src ( #15407 )
2018-10-26 10:34:57 -07:00
Shelley Vohr
bea4de9262
fix: use gio as default linux trash impl ( #15399 )
...
* fix: use gio as default linux trash impl
* doc: add ELECTRON_TRASH env var
2018-10-26 08:36:56 -07:00
Shelley Vohr
7a03e5f0b2
doc: correct ipcRenderer sendTo windowId param ( #15403 )
2018-10-26 10:18:47 -05:00
Milan Burda
405edebc51
chore: remove unused chrome_notification_types.h ( #15409 )
...
* chore: remove unused chrome_notification_types.h
* chore: remove dummy simple_message_box.h
2018-10-26 10:16:24 -05:00
Milan Burda
d56617e5d0
chore: avoid appending git version to the exported patches ( #15389 )
...
* chore: avoid appending git version to the exported patches
* fix no-eol at end of v8 patch
2018-10-26 12:52:59 +05:30
Alexey Kuzmin
ec4a0e096f
ci: run more Chromium unit tests ( #15363 )
...
* test: add an option to native tests runner to run also disabled tests
* ci: run all native tests on clean Chromium
* ci: update the disabled tests list for native unittests
2018-10-25 14:28:50 -04:00
Shelley Vohr
d21d83cfc8
fix: folder open not working in devtools ( #15387 )
2018-10-25 08:36:48 -07:00
Milan Burda
1f3a89197c
chore: bump minimum supported macOS version to 10.10 ( #15357 )
2018-10-25 10:59:42 +02:00
Cheng Zhao
2f3a8ecd42
fix: child window with nativeWindowOpen should disable node integration ( #15213 )
...
* fix: child window with nativeWindowOpen should disable node integration
* Revert "fix: do not enable node integration in child window if not enabled (#15076 )"
This reverts commit 0252d7686c .
This patch is not needed anymore since we are force disabling node integration
for child windows.
2018-10-25 15:31:07 +09:00
Andy Dill
7a23980f4b
fix: set NSResizableWindowMask at init time ( #15106 )
2018-10-25 10:34:11 +09:00
John Kleinschmidt
9086b8067b
ci: make sure brew installed node is available in path ( #15377 )
2018-10-25 11:40:23 +11:00
Islam Sharabash
3b6f0d83e1
fix: allow stream protocols to return headers with multiple values ( #14887 )
...
* fix: allow stream protocols to return headers with multiple values
This allows stream protocols to return headers with multiple values as
an array of values.
Fixes https://github.com/electron/electron/issues/14778
* Prefer ConvertFromV8
* Cleanup header conversion
1. Deduplicate the code by using a lambda
2. Remove duplicate calls to headers->Get(key)
* Fix broken test
Headers with multiple values are now being converted correctly, this
test asserted the wrong behavior.
2018-10-25 11:34:20 +11:00
Cheng Zhao
6fa940f2c1
chore: set env when invoking gn ( #15354 )
2018-10-24 11:25:13 -07:00
Jeremy Apthorp
335e9f68b7
chore: deprecate apply-patches in favour of git-{import,export}-patches ( #15300 )
2018-10-24 11:24:11 -07:00
Alexey Kuzmin
4185efa08f
build: add conditions to check out Chromium and Node.js ( #15319 )
2018-10-24 13:50:36 -04:00
Milan Burda
8ba271efba
refactor: eliminate brightray ( #15240 )
2018-10-24 12:49:10 +02:00
Jeremy Apthorp
1d8ab03146
refactor: use public WakeLock interface ( #15351 )
...
* refactor: use public WakeLock interface
* remove power_save_blocker visibility patch
2018-10-23 22:12:58 -07:00
Shelley Vohr
1f246229b1
test: convert node spec to expect ( #15345 )
2018-10-24 11:23:12 +11:00
Jeremy Apthorp
9474fc0082
chore: electron alias should be defined with public_deps ( #15349 )
2018-10-23 17:22:41 -07:00
Jeremy Apthorp
af339f44f4
chore: remove disable_scroll_begin_dcheck.patch ( #15233 )
2018-10-23 17:21:47 -07:00
Jeremy Apthorp
d03527ae47
build: skip pyproto/ resources in zip.py ( #15348 )
2018-10-23 17:19:02 -07:00
Shelley Vohr
40874ddec6
fix: update fs methods for options param ( #15323 )
...
* fix: update fs methods for options param
* fix: update rest of fs methods with changes
2018-10-23 15:14:05 -07:00
Milan Burda
465dee2c33
refactor: eliminate brightray::BrowserMainParts ( #15336 )
2018-10-23 13:15:55 -07:00
Charles Kerr
869e0ab14d
fix: honor dialog.showMessageBox()'s Icon argument on Linux ( #15326 )
...
* Don't call gtk_widget_show_all() on popup dialog.
Fixes #15317 .
Notes: Fixed incorrect display of some GtkMessageDialog icons.
The issue is caused because GtkMessageDialog contains an icon widget
which is not shown when there's no associated icon. Our call to
`gtk_widget_show_all()` overrides this, showing the uninitialized
icon widget.
This PR fixes the issue by calling `gtk_widget_show()` where needed
and removing use of `gtk_widget_show_all()` in the message dialog.
* use gtk_dialog_set_default_response() for default
* fix: support icons on gtk+ messageboxes.
2018-10-23 12:44:47 -05:00
Cheng Zhao
260778e0fb
feat: add MdTextButton to View APIs ( #15328 )
...
* view: make button focusable by default
* view: add MdTextButton
* view: add common methods to LabelButton
2018-10-23 10:57:13 -04:00
Masato Kinugawa
43a8b6039e
docs: Fix CSP header setting of sample code ( #15313 )
...
* Fix CSP header setting of sample code
Patch for #15310
* Update docs/tutorial/security.md
Co-Authored-By: masatokinugawa <masatokinugawa+github@gmail.com >
2018-10-23 10:38:48 -04:00
Nitish Sakhawalkar
ca4b4709e5
fix: Native window close crash ( #15327 )
2018-10-23 10:35:00 -04:00
Milan Burda
809bd3757b
refactor: eliminate brightray::MainDelegate ( #15333 )
2018-10-23 14:16:13 +02:00
Milan Burda
fbbb704146
refactor: eliminate brightray::BrowserClient ( #15320 )
2018-10-23 10:45:41 +02:00
Martin Mädler
a4fefbe836
docs: update Windows build instructions ( #14797 )
2018-10-22 16:40:39 -04:00
Alexey Kuzmin
5e199152e2
ci: run unittests on clean Chromium ( #15125 )
...
* ci: run unittests on clean Chromium
* test: add '--run-only-disabled-tests' flag to "script/native-tests.py"
* ci: add a job to run only disabled unittests
* test: use a different GN config for the native tests
* test: enable blink_common_unittests
* test: disable WeakPtrDeathTest*
2018-10-22 16:12:19 -04:00
Michelle Tilley
13247e592b
fix: correct reversed logic in NativeWindowMac::SetEnabled ( #15257 )
2018-10-22 13:01:45 -07:00
Jeremy Apthorp
044e43397f
build: reenable -fwhole-program-vtables ( #15228 )
2018-10-22 12:07:46 -07:00
Cheng Zhao
cb9be091aa
refactor: remove potential double free when managing WebContents ( #15280 )
...
* refactor: remove -new-contents-created event
Chromium expects us to take ownership of WebContents in AddNewContents,
we should not create V8 wrapper in WebContentsCreated, otherwise we
would have WebContents being managed by 2 unique_ptr at the same time.
* refactor: make CreateAndTake take unique_ptr
2018-10-22 13:02:25 -05:00
Milan Burda
e8e7edf017
refactor: eliminate brightray::ContentClient ( #15303 )
2018-10-22 19:04:23 +02:00
Samuel Attard
9262731f2c
docs: we don't emit an event object for session-created ( #15236 )
2018-10-20 19:46:21 -07:00
Alexey Kuzmin
ba7ce7225b
build: document env vars expected to be set for the CI configs ( #15129 )
...
* ci: add a var for a full path to an Electron build config
* ci: document external environment variables used by the CI build configs
2018-10-20 01:44:36 +02:00
Shelley Vohr
939ee94e67
spec: increase MAS timeout for login items ( #15291 )
2018-10-19 13:11:11 -07:00
Shelley Vohr
f9f34fd628
fix: ability to fetch separators by id ( #15290 )
2018-10-19 13:09:40 -07:00
Milan Burda
6d844a0b67
refactor: move media/net from brightray to atom ( #15288 )
2018-10-19 14:51:43 -04:00
Milan Burda
6f3c46cc7e
refactor: move devtools from brightray to atom ( #15234 )
2018-10-19 15:50:30 +02:00
Samuel Attard
122017e6fa
fix: trim app name and productName ( #15269 )
...
Fixes #15245
2018-10-19 23:57:55 +11:00
Samuel Attard
16dcc464cf
chore: make macOS release builds higher priority to skip the queue ( #15276 )
...
Release builds should be run before branch builds on our limited macOS
infra.
Refs: https://docs.microsoft.com/en-us/rest/api/vsts/build/builds/queue?view=vsts-rest-4.1#queuepriority
2018-10-19 23:56:40 +11:00
Cheng Zhao
94aa0762f0
refactor: remove WebContents::CreateFrom ( #15241 )
2018-10-19 17:52:07 +09:00
Alexey Kuzmin
b3f134de06
test: asyncawaitify one of sandbox related tests ( #15252 )
2018-10-19 14:28:23 +11:00
Charles Kerr
363712d057
fix: make release-artifact-cleanup executable ( #15225 )
...
* fix: make release-artifact-cleanup executable
* fix misc issues in cleanup script
2018-10-18 20:20:43 -07:00
Samuel Attard
8bc0c343fa
fix: convert wstring to string on windows in node_bindings ( #15266 )
2018-10-19 13:11:43 +11:00
Andy Dill
37f2113032
feat: expose setBackgroundThrottling api ( #15104 )
2018-10-19 11:32:22 +11:00
Eric
10db2bce4e
fix: loading of devtools extensions on startup ( #13844 )
...
* Fix loading of devtools extensions on startup
The persisted DevTools Extensions were not being loaded correctly at startup. The `addDevToolsExtension` function was not defined when it was being called. An error was being thrown and ignored, so the whole thing would fail silently. I moved the code to load the extensions to the end of the event handler, so now it works.
* fixup: remove trailing spaces to unblock CI
* fixup: add logging when the Electron Enable Logging env var is set
* Fix linter error on undefined srcDirectory
* fixup: catch exception when loading extension
* Revert "fixup: catch exception when loading extension"
This reverts commit 42c2cf95bc .
2018-10-19 11:22:42 +11:00
Nitish Sakhawalkar
c0db0011ec
fix: Convert to lower case in upload symbols script ( #15258 )
...
* fix: Convert to lower case in upload symbols script
* fix: Convert to lower case in upload symbols script
2018-10-19 11:18:35 +11:00
Jeremy Apthorp
4de502252b
chore: roll node ( #15177 )
...
* chore: roll node
brings in electron/node#76 and electron/node#77
* chore: roll node
2018-10-19 10:58:46 +11:00
Shelley Vohr
a0b9d47d5e
fix: enable NODE_OPTIONS env var ( #15158 )
2018-10-19 10:57:28 +11:00
Michelle Tilley
51f3fb9bde
fix: correctly enable and disable windows on Windows and Linux ( #15184 )
2018-10-18 14:23:40 -07:00
Jeremy Apthorp
7cab7b6c7e
chore: don't set allow_new_privs in new processes ( #15229 )
2018-10-18 11:53:26 -07:00
Jeremy Apthorp
993c2413e8
chore: add documentation for blink_file_path.patch ( #15235 )
2018-10-18 11:40:16 -07:00
Nitish Sakhawalkar
a9ca152069
feat: Spellchecker Async Implementation ( #14032 )
...
* feat:Spellchecker Async Implementation
* Adhere to chromium style
* Updating dependency to use gh branch
* Update docs and electron-typescript-definitions module
* Fix lint
* Update electron typescript definitions version
* Update spec
* Address review
2018-10-18 11:11:53 -05:00
John Kleinschmidt
4bbb70de74
ci: make sure git directories don't have unneeded files in them ( #15247 )
2018-10-18 11:35:40 -04:00
Milan Burda
db37ab1039
feat: add remote.require() / remote.getGlobal() filtering ( #15014 )
2018-10-18 14:36:45 +11:00
Jeremy Apthorp
dffe4fdd4f
chore: remove disabling of ANGLE dchecks ( #15227 )
2018-10-17 17:00:47 -07:00
Jeremy Apthorp
ac6d815c0e
chore: remove desktop_screen_win.patch ( #15232 )
...
that function is never called with a null argument (all call-sites are guarded)
2018-10-17 16:59:46 -07:00
Jeremy Apthorp
af9cbb4514
chore: remove unnecessary build_toolchain_win_patch.patch ( #15231 )
...
it fixed an issue in the GYP build that is no longer present in the GN build
2018-10-17 16:23:00 -07:00
Jeremy Apthorp
04b7f0d2d6
chore: remove skia/dcheck.patch ( #15223 )
2018-10-17 13:46:10 -07:00
Jeremy Apthorp
65fa9d2883
chore: remove webrtc patch to disable a warning ( #15218 )
2018-10-17 12:56:08 -07:00
Milan Burda
508551b81b
fix: small refactoring regressions ( #15206 )
...
* fix: require('@electron/internal/browser/guest-view-manager')
* fix: add missing crashServicePid used by tests
2018-10-17 12:18:18 -07:00
Milan Burda
a369a4172b
refactor: move notifications from brightray to atom ( #15209 )
2018-10-17 20:01:11 +02:00
Heilig Benedek
4d085c4aae
fix: don't call ReadRawDataComplete if it's not necessary ( #15185 )
2018-10-16 21:57:26 -07:00
Adam Meyer
d43ef97a7b
add width to webview iframe ( #15195 )
2018-10-17 09:33:31 +09:00
AbhilashJN
de1d24b616
docs: change examples in docs to use for..of and async/await ( #15196 )
2018-10-16 10:41:42 -07:00
Cheng Zhao
0252d7686c
fix: do not enable node integration in child window if not enabled ( #15076 )
2018-10-16 18:10:03 +09:00
Jeremy Apthorp
2a4f5c3284
chore: add --fix option to lint:cpp ( #14977 )
...
* chore: add --fix option to lint:cpp
* fix lint errors
2018-10-15 22:59:45 -07:00
Heilig Benedek
af0ac9b95c
chore: remove ColorChooser file that's no longer used ( #15186 )
2018-10-16 13:49:57 +11:00
John Kleinschmidt
90d6b91bf7
build: add temporary debugging to generate_breakpad_symbols.py ( #15176 )
2018-10-16 11:44:14 +11:00
Jeremy Apthorp
30ccb6aea5
fix: allow renaming electron.exe ( #15173 )
2018-10-15 17:26:34 -07:00
Nitish Sakhawalkar
0c711f690e
fix: add microtask runner and fix promise test ( #15071 )
...
* fix: Promise resolution and unit test
* Update to use microtask runner
* Address review
2018-10-16 02:26:47 +11:00
Andy Dill
89bf71e580
fix: preserve background color through reload ( #15105 )
...
* fix: preserve background color through reload
* fix: only set backgroundColor on top-level frames
2018-10-14 10:59:47 -07:00
Milan Burda
70c49b78ae
fix: Memory > Profiles > Load in DevTools ( #15151 )
2018-10-14 17:30:49 +11:00
Milan Burda
d3efc52745
feat: add webPreferences.enableRemoteModule option ( #13028 )
2018-10-13 20:50:07 +03:00
Shelley Vohr
72db5ed7cb
fix: split out login item tests ( #15135 )
2018-10-13 18:52:19 +11:00
Samuel Attard
8907053a9d
Revert "fix: export zlib symbols ( #15103 )" ( #15138 )
...
This reverts commit 47b12eee57 .
2018-10-13 18:51:18 +11:00
Shelley Vohr
05b7c2bf80
chore: update pr template for no-notes ( #15137 )
2018-10-12 19:24:19 -07:00
John Kleinschmidt
047cad1a4d
ci: Fix timeout when generating breakpad symbols ( #15126 )
...
* ci: breakup dump symbols into multiple steps.
* Update step-zip-symbols
2018-10-13 13:02:52 +11:00
Heilig Benedek
a82bcc7e3c
refactor: move printing out of chromium_src ( #15023 )
...
* remove printing related things from chromium_src
* chore: add printing build flag and patch
* fix: include PrintingService on other platforms too
* fix: printing_handler is only needed on Windows
* fix: format BUILD.gn properly
* fix: rename printing build flag to avoid conflict with chromium
* fix: place previously missed printing calls behind build flag
* fix: accidentally renamed flag in patch file
* fix: don't include all printing strings
* fix: allow ShowItemInFolder and OpenItem to block, fixing a DCHECK crash
* fix: make things compile, some changes got lost while rebasing
* fix: remove rogue line from BUILD.gn
* chore: update patch description
* style: lint fix
* chore: use chromium printing buildflag, move node related stuff out of patch
* revert: remove ScopedAllowBlockingForTesting call
* fix: fix my rebase blooper
* fix: re-add header lost during rebase, update patch
* fix: add <map> include, tweak the patch a bit
* revert: remove rogue diff from patch
* fix: clean up after rebase
2018-10-13 12:57:04 +11:00
Samuel Attard
c806c465fa
chore: mark browserview api as not-experimental ( #15117 )
...
I think it's safe to say this API has been around long enough to be considered past the experimental phase 👍
2018-10-13 12:31:58 +11:00
Shelley Vohr
6fc2a2a051
fix: natively implement LoginItem functions ( #15010 )
2018-10-12 15:19:27 -07:00
Jeremy Apthorp
e61b88fc2a
build: add v8_embedder_string to build args ( #15039 )
2018-10-12 08:26:35 -07:00
Andy Dill
47b12eee57
fix: export zlib symbols ( #15103 )
2018-10-12 10:17:06 -04:00
Jeremy Apthorp
783ee3e315
chore: roll node ( #15097 )
...
picks up:
- electron/node#73 : fix: export libuv symbols
- electron/node#74 : fix: include names.h in zlib header package
2018-10-12 09:39:11 -04:00
Sitong Peng
9e7bbcd8f6
docs: app.getLoginItemStatus -> app.getLoginItemSettings ( #15093 )
2018-10-12 09:23:37 -04:00
Felix Rieseberg
d1b2d1a10e
fix: Remove statSyncNoException for good ( #15092 )
...
* fix: Small JS assignment error
* fix: Call the right og method
* fix: Goodbye, statSyncNoException
2018-10-12 19:43:19 +11:00
Heilig Benedek
5ef5d60f77
refactor: move color_chooser out of chromium_src ( #15091 )
...
* chore: move color_chooser out of chromium_src
* fix: remove deleted source files
* fix: add build flag, patch and build instructions for ColorChooser
2018-10-12 10:53:46 +11:00
Heilig Benedek
95696c9456
refactor: move text-to-speech out of chromium_src ( #15024 )
...
* chore: add tts patch and buildflag, makes tts work again
* chore: add tts patch and buildflag, makes tts work again
* fix: make things compile
* build: add relevant tts files for linux
* fix: update patch and patch description, should now compile on mac
* build: move chrome specific sources under chromium_src:chrome target
* build: enable_extensions again
We are depending on them, check `//electron/chromium_src:chrome` target
for more info.
* fix: update tts.patch to receive notifications about browser context destruction
* fix: extend browser process from chrome layer
The global state g_browser_process is shared between //chrome
and //electron.
* spec: add basic speech synthesis test
* spec: skip speech tests on ci
* build: fix compilation on windows
2018-10-11 08:52:12 -05:00
Alexey Kuzmin
5788600c46
Revert "FIXME: disable isCurrentlyAudible test to unblock merge" ( #15078 )
...
This reverts commit c8a9a3f63c .
2018-10-11 08:26:37 -05:00
Shelley Vohr
ba9a55c391
fix: update and enable osr ( #15046 )
...
* fix: update and enable osr
* fix: update MacHelper view to call GetNativeView
* style: move stuff around to make more sense
* chore: move OSR related things in SetOwnerWindow to CommonWebContentsDelegate
* fix: avoid crashing when GetOffscreenRenderWidgetHostView is called
* fix: specify default for current_device_scale_factor_
2018-10-11 09:14:01 -04:00
Samuel Attard
d46834265f
chore: make FILEVERSION 4th component 0 on nightly builds ( #15074 )
...
Fixes #14900
2018-10-11 09:11:20 -04:00
Alexey Kuzmin
99f5f17a8d
build: add "apply_patches" flag to gclient ( #15079 )
2018-10-11 15:10:26 +02:00
Alexey Kuzmin
6c3d29712f
test: update notification_provenance.patch to fix unittests compilation ( #15060 )
2018-10-11 10:38:48 +02:00
Jeremy Apthorp
ce26687577
refactor: remove global_shortcut_listener from chromium_src/ ( #15070 )
2018-10-11 16:02:58 +11:00
Samuel Attard
f69e91975f
fix: update node for patch that allows native modules built on < node 10 ( #15073 )
2018-10-11 13:54:32 +11:00
Alexey Kuzmin
a9646e3414
ci: strip linux binaries for nightly release builds ( #15063 )
2018-10-11 13:41:48 +11:00
Milan Burda
a9475f3590
feat: add workingDirectory option to shell.openExternal() ( #15065 )
...
Allows passing `workingDirectory` to the underlying `ShellExecuteW` API on Windows.
the motivation is that by default `ShellExecute` would use the current working directory, which would get locked on Windows and can prevent autoUpdater from working correctly. We need to be able specify a different `workingDirectory` to prevent this situation.
2018-10-10 22:46:54 +02:00
Heilig Benedek
2d186cb31a
fix: close patch_file before deleting it ( #15055 )
2018-10-10 08:55:25 -05:00
Electron Bot
539d6d20b7
Bump v4.0.0-nightly.20181010
2018-10-10 06:38:01 -07:00
Samuel Attard
7159080ec5
chore: patch dump_syms to not hard fail on dylib resolve error ( #15056 )
2018-10-11 00:34:50 +11:00
Samuel Attard
5667c16767
Revert "Bump v4.0.0-nightly.20181010"
...
This reverts commit c96847206e .
2018-10-11 00:04:35 +11:00
Alexey Kuzmin
0662dd6449
ci: set timeouts for all steps on VSTS ( #15051 )
2018-10-10 13:44:07 +02:00
Alexey Kuzmin
978d16b8ab
revert: "fixme: allow huge Electron archives" ( #15048 )
...
This reverts commit f7dee77f2b .
2018-10-10 13:06:58 +02:00
Electron Bot
c96847206e
Bump v4.0.0-nightly.20181010
2018-10-10 03:45:40 -07:00
Samuel Attard
d48c3ec8da
Revert "Bump v4.0.0-nightly.20181010"
...
This reverts commit 8b3f915623 .
2018-10-10 21:43:32 +11:00
Electron Bot
8b3f915623
Bump v4.0.0-nightly.20181010
2018-10-10 02:22:24 -07:00
Samuel Attard
1b9600e510
Revert "Bump v4.0.0-nightly.20181010"
...
This reverts commit 181195ee20 .
2018-10-10 20:21:17 +11:00
Electron Bot
181195ee20
Bump v4.0.0-nightly.20181010
2018-10-10 01:04:16 -07:00
Samuel Attard
b0068cecc8
Revert "Bump v4.0.0-nightly.20181009"
...
This reverts commit 1b9a8bb854 .
2018-10-10 21:02:17 +13:00
Electron Bot
1b9a8bb854
Bump v4.0.0-nightly.20181009
2018-10-09 22:59:47 -07:00
Samuel Attard
f6dd201401
Revert "Bump v4.0.0-nightly.20181009"
...
This reverts commit 32e041d917 .
2018-10-10 16:53:56 +11:00
Samuel Attard
37d44965d1
Revert "FIXME: try enabling dcheck to see if that will get us more info on linux-release-testing"
...
This reverts commit 1a17ce81d5 .
2018-10-10 16:49:53 +11:00
Samuel Attard
5b43c249ce
Revert "FIXME: temporary debugging to maybe diagnose netlog issue on mac"
...
This reverts commit f8f318da93 .
2018-10-10 16:49:31 +11:00
Kevin Lynagh
af4cf1e969
fix: simpleFullscreen window should be on top of other OS X menu bars. ( #14881 )
...
If an app has no menu bar (because `app.dock.hide()` has been called),
OS X will still render the menu bar of the previously-focused app.
This commit ensures simpleFullscreen windows will be drawn on top of
that menu bar by setting their level to NSPopUpMenuWindowLevel while
simpleFullscreen mode is active.
Ref: https://github.com/electron/electron/issues/11468
2018-10-09 22:38:52 -07:00
Samuel Attard
ed065f0106
chore: dont run nightly jobs for everything
...
Refs: a71c814d19
2018-10-10 16:37:59 +11:00
Samuel Attard
33abd736e9
chore: add deprecation notice for webPrefences defaults ( #15045 )
2018-10-10 16:36:18 +11:00
Felix Rieseberg
ca826d49a5
docs: Add instructions on how to pull/push ( #14903 )
...
* docs: Add instructions on how to pull/push
* docs: Implement feedback <3
* fix: typo s/glient/gclient
2018-10-10 15:48:37 +11:00
Electron Bot
32e041d917
Bump v4.0.0-nightly.20181009
2018-10-09 21:34:34 -07:00
Milan Burda
5bd6de52e0
feat: add app.enableSandbox() ( #14999 )
2018-10-10 15:32:09 +11:00
Samuel Attard
cc0c6ad14a
Merge pull request #14972 from electron/chromium-upgrade/69
...
feat: upgrade to Chromium 69.0.3497.106
2018-10-10 15:29:21 +11:00
Shelley Vohr
dd43e92186
fix: simplify SetBackgroundColor
...
The compositor_superview member of BridgedNativeWidgetMac has been removed so as a consequence there is only one layer on which we need to call setBackgroundColor
2018-10-09 20:37:07 -07:00
Samuel Attard
2420cdf027
fix: ensure that the window is focused when testing spellchecker
2018-10-10 14:02:46 +11:00
Samuel Attard
2b8ef344b7
fixme: dont use --enable-logging on the ffmpeg verify phase
2018-10-10 13:11:10 +11:00
Samuel Attard
a5c3091c34
chore: remove --enable-logging, causing issues on CI
2018-10-10 12:11:16 +11:00
Samuel Attard
19e02cd63e
chore: add logging to zip-symbols.py to help debugging timeouts
2018-10-10 11:04:55 +11:00
Samuel Attard
6b621e203c
fix: use valid markdown syntax in browser-window.md to fix docs linter
2018-10-10 11:01:05 +11:00
Nitish Sakhawalkar
185fe6ced9
fix: Lifetime of auth_info_ in login handler ( #15042 )
2018-10-10 10:50:44 +11:00
Jeremy Apthorp
f8f318da93
FIXME: temporary debugging to maybe diagnose netlog issue on mac
2018-10-09 15:43:33 -07:00
Jeremy Apthorp
30850f491f
fix: [mac] restore SetBackgroundColor functionality
2018-10-09 14:39:39 -07:00
Jeremy Apthorp
373ffa9fee
docs: document BrowserWindow.setBackgroundColor
2018-10-09 14:39:39 -07:00
Jeremy Apthorp
1a17ce81d5
FIXME: try enabling dcheck to see if that will get us more info on linux-release-testing
2018-10-09 14:39:39 -07:00
Jeremy Apthorp
c8a9a3f63c
FIXME: disable isCurrentlyAudible test to unblock merge
2018-10-09 14:39:39 -07:00
Jeremy Apthorp
edb96c875e
FIXME: disable getGPUInfo test to unblock merge
...
should be fixed and re-enabled before release
2018-10-09 14:39:39 -07:00
Jeremy Apthorp
ee8a54d186
chore: update line reference in gpuinfo comment
2018-10-09 14:39:39 -07:00
Jeremy Apthorp
28153642a4
fix: compile error on mas
2018-10-09 14:39:39 -07:00
Aleksei Kuzmin
f7dee77f2b
fixme: allow huge Electron archives
2018-10-09 14:39:39 -07:00
Aleksei Kuzmin
a71c814d19
fixme: always run "nightly-release-test" workflow
2018-10-09 14:39:39 -07:00
deepak1556
3364c04977
FIXME: disable document.visibilityState/hidden <webview> spec
2018-10-09 14:39:39 -07:00
deepak1556
ba14dbe553
FIXME: disable net log spec
2018-10-09 14:39:39 -07:00
deepak1556
7ec05fb202
spec: update media-started-playing tests based on the autoplay policy
2018-10-09 14:39:39 -07:00
Jeremy Apthorp
26a46b6b4b
ci: enable stack dumping in tests
2018-10-09 14:39:39 -07:00
deepak1556
363aafc25b
fix: ensure webcontents is destroyed before its associated browser context.
2018-10-09 14:39:39 -07:00
Jeremy Apthorp
a71755e1b6
fix: crash in webRequest due to unsafe static_cast
...
upstream was changed to wrap the network delegate
see https://chromium.googlesource.com/chromium/src/+/69.0.3497.106/services/network/network_context.cc#948
2018-10-09 14:38:00 -07:00
Heilig Benedek
e548ed1a6e
fix: remove conflicting header
2018-10-09 14:38:00 -07:00
Heilig Benedek
4088dec630
FIXME! disable osr for now
2018-10-09 14:38:00 -07:00
Heilig Benedek
4017f3faa7
fix: make lint run on Windows in PowerShell
2018-10-09 14:38:00 -07:00
Cheng Zhao
878c5b663d
fix: disable the V2 sandbox on macOS
...
The new v2 sandbox uses system sandbox API, there does not seem to have
a way to support it in --enable-mixed-sandbox, we should probably
deprecate the API.
See https://chromium.googlesource.com/chromium/src.git/+/master/sandbox/mac/seatbelt_sandbox_design.md
2018-10-09 14:38:00 -07:00
Cheng Zhao
7ba287a05e
test: make netLog test pass when app crash on exit
2018-10-09 14:38:00 -07:00
Cheng Zhao
a6256c672a
feat: getGPUInfo not longer supports 'complete' on macOS
...
See https://chromium-review.googlesource.com/c/chromium/src/+/1208362
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
e28eeb0c2e
fix notification permission handler
2018-10-09 14:38:00 -07:00
Charles Kerr
f027e62b2a
fix: only call NetworkService::SetUpHttpAuth once.
2018-10-09 14:38:00 -07:00
deepak1556
f668fc8d02
chore: roll node
2018-10-09 14:38:00 -07:00
deepak1556
55d3720a95
chore: gn format
2018-10-09 14:38:00 -07:00
deepak1556
be719a1ec3
fix: Use the new isolate initialization api
...
https://chromium-review.googlesource.com/c/chromium/src/+/1015020
2018-10-09 14:38:00 -07:00
Charles Kerr
fb4b50c8c9
fix: linking pepper flash on Linux
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
b539e4d486
roll node to 10.11.0
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
66018eb0f1
FIXME: disable non-compiling LOGFONT IPC message
...
https://chromium-review.googlesource.com/c/chromium/src/+/1134100
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
56e26c27f2
clang-format
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
c920e453dc
Stop using ResourceContext::GetHostResolver()
...
https://chromium-review.googlesource.com/c/chromium/src/+/1135366
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
6df9c04270
Hook up HttpAuthHandlerFactory configuration to the network service
...
https://chromium-review.googlesource.com/c/chromium/src/+/1089661
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
67611d69af
Refactor of ServiceManagerContext
...
https://chromium-review.googlesource.com/c/chromium/src/+/1093021
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
85372ecb6b
update,,, sysroots? again????
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
92e95a463e
update sysroot
2018-10-09 14:38:00 -07:00
Samuel Attard
a0c2f3dc28
chore: re-enable bundled font config, we should fix the sysroot
2018-10-09 14:38:00 -07:00
Samuel Attard
06dbc7f613
chore: update sysroot
2018-10-09 14:38:00 -07:00
Samuel Attard
f03001c9f2
chore: re-land GetBgColor libgtkui export patch
2018-10-09 14:38:00 -07:00
Samuel Attard
80ffc26713
fixme: disable pepper flash
2018-10-09 14:38:00 -07:00
Samuel Attard
7aa01bc00a
chore: dont use bundled fontconfig
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
f5eaa97d9d
migrate off QuitCurrent*Deprecated in browser.cc
...
modelled after https://chromium-review.googlesource.com/c/chromium/src/+/1096475 and https://chromium-review.googlesource.com/c/chromium/src/+/1096475
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
98829aa916
fix default_app.js calling no-longer-existent API
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
647322e299
native_desktop_media_list.h depends on //chrome/app:generated_resources
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
8eb15f7554
Creates TaskScheduler and MessageLoop on main thread early
...
https://chromium-review.googlesource.com/c/chromium/src/+/1072387
2018-10-09 14:38:00 -07:00
Samuel Attard
d3a0a2300b
fix: include algorithm in notification_presenter
2018-10-09 14:38:00 -07:00
Samuel Attard
9190245628
fix: exe_and_shlib_deps does not exist anymore
...
ce772faa73
2018-10-09 14:38:00 -07:00
Samuel Attard
f4f70a19b0
chore: bump node
2018-10-09 14:38:00 -07:00
Samuel Attard
d8e58dffe6
chore: update CHROME_VERSION_STRING
2018-10-09 14:38:00 -07:00
Samuel Attard
7589c56cea
fix: intercept the isolate_holder's new isolate and register it with the node platform before initialization
...
Chromium Change: https://chromium-review.googlesource.com/c/chromium/src/+/1015020
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
bacc36dde1
Replace more loading methods in WebLocalFrame
...
https://chromium-review.googlesource.com/c/chromium/src/+/1043093
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
816c2f1893
Split WebWidgetClient and WebViewClient
...
https://chromium-review.googlesource.com/c/chromium/src/+/1134427
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
8d9f24d369
Remove WebCanvas alias, use cc::PaintCanvas directly in blink
...
https://chromium-review.googlesource.com/c/chromium/src/+/1112671
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
1adfa4d9da
Rename WebFrameClient to WebLocalFrameClient
...
https://chromium-review.googlesource.com/c/chromium/src/+/1073398
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
b57b342352
Remove PlatformAccelerator
...
https://chromium-review.googlesource.com/c/chromium/src/+/1140211
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
7ce338e420
Handle deleting cookies with session-only policy in network service
...
https://chromium-review.googlesource.com/c/chromium/src/+/1090035
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
120b6079a8
Move Net.HttpRequestCompletionErrorCodes to NetworkContext
...
https://chromium-review.googlesource.com/c/chromium/src/+/1108083
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
42120b4a72
Remove SupportsOCSPStapling from CertVerifier and CertVerifyProc
...
https://chromium-review.googlesource.com/c/chromium/src/+/1117034
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
b8774374a8
Fixed reporting for iframe ugprade-insecure-requests upgrades
...
https://chromium-review.googlesource.com/c/chromium/src/+/1096360
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
34e54b93a4
Remove WebContentsUserData::kLocatorKey
...
https://chromium-review.googlesource.com/c/chromium/src/+/1093015
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
2d46164ce0
Switch NetworkDelegate to OnceCallbacks
...
https://chromium-review.googlesource.com/c/chromium/src/+/1085855
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
0955fa7bcf
Remove unused RunMicrotasksObserver
...
https://chromium-review.googlesource.com/c/chromium/src/+/1086889
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
9e110ec915
Remove content::SpeechRecognitionResult
...
https://chromium-review.googlesource.com/c/chromium/src/+/1070587
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
56bc636706
Make content::PermissionManager a delegate of PermissionController
...
https://chromium-review.googlesource.com/c/chromium/src/+/1111340
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
eef375a428
Port //services/device/geolocation to network::SimpleURLLoader
...
https://chromium-review.googlesource.com/c/chromium/src/+/1119398
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
63176acde2
Collect NV12, YUY2, and BGRA overlay support information in GPUInfo
...
https://chromium-review.googlesource.com/c/chromium/src/+/1121622
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
e3fef30789
Refactor RWH::RestartHang...Timeout... into a generic base::Closure
...
https://chromium-review.googlesource.com/c/chromium/src/+/1096362
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
4570330c7b
Rename WebContentsDelegate methods
...
https://chromium-review.googlesource.com/c/chromium/src/+/1085427
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
af03e4a962
Rename content::PermissionManager into content::PermissionControllerDelegate
...
https://chromium-review.googlesource.com/c/chromium/src/+/1136858
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
7861f75a3e
media: Refactor KeySystemSupport
...
https://chromium-review.googlesource.com/c/chromium/src/+/1102836
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
9c2cd5a84c
Support add/overwrite redirect request headers in NavigationURLLoader
...
https://chromium-review.googlesource.com/c/chromium/src/+/1072643
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
18128a1582
Use CompletionOnceCallback
...
several CLs, e.g. https://chromium-review.googlesource.com/c/chromium/src/+/1092933
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
ec1bd5375a
FIXME: Delete RenderWidgetHostViewMac::AcceleratedWidgetGetNSView
...
https://chromium-review.googlesource.com/c/chromium/src/+/1121957
https://chromium-review.googlesource.com/c/chromium/src/+/1037145
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
95cec24387
FIXME: Move persistent notification id from notification database to profile
...
https://chromium-review.googlesource.com/c/chromium/src/+/1114840
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
d13e3324c6
Unify notification-related permission checks in its PermissionContext
...
https://chromium-review.googlesource.com/c/chromium/src/+/1085568
https://chromium-review.googlesource.com/c/chromium/src/+/1085466
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
2a3a845262
Change CreateWebUIControllerForURL() to return a unique_ptr
...
https://chromium-review.googlesource.com/c/chromium/src/+/1087627
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
c576d442fd
Rename base::Timer to base::TimerBase
...
https://chromium-review.googlesource.com/c/chromium/src/+/1124200
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
a7c687f160
ChildProcessSecurityPolicy: only use granted schemes for requests
...
https://chromium-review.googlesource.com/c/chromium/src/+/1108485
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
4f540fe52a
Replace DupCryptoBuffer with bssl::UpRef
...
https://chromium-review.googlesource.com/c/chromium/src/+/1128194
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
90aa277c26
Migrate MediaResponseCallback to OnceCallback
...
https://chromium-review.googlesource.com/c/chromium/src/+/1093052
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
3ded109c2e
stop using x-devtools-emulate-network-conditions-client-id header
...
https://chromium-review.googlesource.com/c/chromium/src/+/1086949
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
f514445f20
roll node to tmp version (branch more-patches)
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
3b047f1950
more gclient_gn_args
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
ea98fb37e6
//tools/gn was removed
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
ef12492d6c
update chromium and v8 patches
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
aefb8911ec
roll Chromium to 69.0.3497.106
2018-10-09 14:37:13 -07:00
Alexey Kuzmin
36ee83875a
ci: run tests on VSTS in a separate job ( #15027 )
...
* ci: run tests on VSTS in a separate job
Split current monolithic job into two: one to build Electron,
and the other to run its JavaScript tests.
Optionally a "Custom.UseArtifacts.BuildId" variable
can be used to run tests using binaries built in a different job.
Useful to rerun test jobs failed because of flaky tests.
* ci: fail a tests job on VSTS if it's started for a build of a different revision
* ci: fail a tests job on VSTS if there are no test results
* ci: run Mac tests on hosted MacOS agents
* ci: install Node.js 10 on hosted Mac agents
2018-10-09 17:01:35 -04:00
John Kleinschmidt
1cf00274ab
ci: strip linux binaries for release builds ( #14991 )
2018-10-09 16:19:05 -04:00
Troy
d678d9ee75
fix: Check minSize constraints before resizing ( #14931 )
...
* Inital setSize check
* Only resize if above minimum size constraints
* lint
* Resize to min if size is changed
* Remove unneeded if statement
* chore: remove trailing whitespace
* Add note about setSize method in docs
2018-10-09 12:08:15 -05:00
Shelley Vohr
532ee2dadf
fix: overly thin font rendering on mojave ( #15007 )
...
* fix: overly thin font rendering on mojave
* SkUniqueCFRef => UniqueCFRef
2018-10-09 10:52:11 -04:00
Charles Kerr
e9a5b19223
feat: convenience command to apply all formatter patches ( #14994 )
...
* feat: convenience to apply all formatter patches
run-clang-format.py can create multiple patchfiles.
This change prints a command that can be pasted into
a shell to apply all of them together.
* feat: put all generated style diffs in one file
This way it will be easier to `git apply` fixes to multiple
fixed files at once.
2018-10-09 10:06:27 -04:00
Charles Kerr
05f4860889
fix: power observer dbus crash ( #15030 )
...
* fix: check dbus response for nullptr before using
* chore: use BindOnce for ProxyObject::CallMethod cb
* chore: comment out name of unused argument
* fix: re-enable and fix linux power monitor tests
* fix: change tyop from code comments
* refactor: don't keep unnecessary dbus pointer
* chore: remove the 'TODO: fix this' spec comment
2018-10-09 00:32:19 -05:00
Alexey Kuzmin
7df51eef3c
ci: fix breakpad symbols generation on CircleCI for PRs from forks ( #15026 )
...
E.g. https://circleci.com/gh/electron/electron/78458
2018-10-08 23:56:15 +02:00
Alexey Kuzmin
7866575385
ci: fix the upload distribution step on VSTS ( #15015 )
...
* ci: fix the upload distribution step on VSTS
* ci: fix get_electron_exec()
* ci: define "CI" env variable
2018-10-08 15:19:40 -05:00
Manoel
5416051e36
chore(eslint): add extension to .eslintrc file ( #15020 )
...
.eslintrc file without extension is deprecated.
2018-10-08 14:21:34 -05:00
Milan Burda
9177dbb584
refactor: use boolean for nodeIntegration / webviewTag ( #15005 )
2018-10-08 15:51:31 +02:00
Alexey Kuzmin
918488a2f0
ci: various fixes ( #15004 )
...
- ci: don't send Slack notifications for the "linux-ia32-testing-tests" job
- ci: fix symbols collection job on VSTS
- ci: run tests on Windows for both "testing" and "release" builds
2018-10-07 16:05:20 +02:00
Milan Burda
b50f86ef43
refactor: use separate ipc-renderer-internal / ipc-main-internal APIs for Electron internals ( #13940 )
2018-10-07 00:48:00 +13:00
Electron Bot
f7122610cc
Bump v4.0.0-nightly.20181006
2018-10-06 02:43:36 -07:00
Samuel Attard
59681f989f
Revert "Bump v4.0.0-nightly.20181006"
...
This reverts commit c74a3b82d7 .
2018-10-06 22:21:12 +13:00
Samuel Attard
541e10b081
chore: temporarily use submodule and gn DEPS for requests/boto
2018-10-06 22:07:10 +13:00
Electron Bot
c74a3b82d7
Bump v4.0.0-nightly.20181006
2018-10-06 00:13:06 -07:00
Samuel Attard
b9cf49f32c
chore: fix native_mksnapshot path on for arm releases
2018-10-06 20:10:40 +13:00
Samuel Attard
251a3c712b
Revert "Bump v4.0.0-nightly.20181005"
...
This reverts commit 2a2ec7700e .
2018-10-06 20:10:21 +13:00
Electron Bot
2a2ec7700e
Bump v4.0.0-nightly.20181005
2018-10-05 21:09:00 -07:00
Alexey Kuzmin
b45dc78751
ci: fix breakpad symbols generation ( #14981 )
2018-10-06 01:55:06 +02:00
Alexey Kuzmin
5eeff55e83
ci: better Slack notifications for nightly jobs ( #14985 )
...
- do not report success from Eletron build jobs
- report failures from more jobs
- add separate summary jobs to report success
2018-10-06 01:15:38 +02:00
Alexey Kuzmin
5525f34363
build: make external binaries download action more flexible ( #14982 )
...
* build: make external binaries download action more flexible
* chore: reformat DEPS
Make it look more like Chromium //DEPS:
- use name-pattern-condition-action order for hooks
- add trailing commas
- remove some line breaks
Also remove redundant entry from "recursedeps".
2018-10-06 00:21:46 +02:00
Robo
6e5dd735f6
refactor: enable weak ptr unwrap sequence dcheck ( #14816 )
...
* refactor: enable weak ptr unwrap sequence dcheck
* spec: remove WeakPtrDeathTest.* from disabled list
2018-10-05 15:29:57 -05:00
John Kleinschmidt
643781578e
ci: fix environment variables for fork prs ( #14995 )
...
Fixes #14984
Fixes xvfb for fork prs
Sets up sccache as readonly for fork prs.
2018-10-05 16:06:52 -04:00
Robo
2700eaca1e
build: remove //chrome/browser/icon_loader source copies ( #14955 )
...
* build: remove //chrome/browser/icon_loader source copies
* chore: add DCHECK to ensure IconManager is accessed from UI thread
2018-10-05 14:12:53 -05:00
Shelley Vohr
71058fd9a3
fix: re-enable osr following m68 upgrade ( #14973 )
2018-10-05 11:03:35 -07:00
Charles Kerr
859567983a
chore: run clang-format to clear linter for #14977 ( #14990 )
2018-10-05 10:38:27 -05:00
John Kleinschmidt
8abe43ac8b
Save build artifacts for debug builds ( #14992 )
2018-10-05 11:11:51 -04:00
John Kleinschmidt
0dbe27714c
ci: cleanup Electron dirs before running tests ( #14989 )
2018-10-05 11:06:46 -04:00
John Kleinschmidt
e06818e8c0
ci: use ubuntu 18.04 for arm testing ( #14988 )
2018-10-05 09:29:32 -05:00
Alexey Kuzmin
9187415f5e
ci: temporary do no run "verify-ffmpeg.py" on Mac CI ( #14986 )
2018-10-05 08:28:02 -05:00
Samuel Attard
8d5de8a0fd
Revert "Bump v4.0.0-nightly.20181004"
...
This reverts commit 53d3a96489 .
2018-10-05 10:21:56 +10:00
Samuel Attard
657901c2ff
chore: specify -j18 for electron ninja call
2018-10-05 10:21:36 +10:00
Alexey Kuzmin
0857ecf478
build: make boto and requests optional dependencies ( #14970 )
2018-10-04 20:20:25 -04:00
Charles Kerr
9d4818c784
fix relaunch on linux ( #14975 )
...
* chore: re-enable relaunch test for Linux
* fix: relauncher_linux listening for parent exit
2018-10-04 18:41:37 -05:00
Electron Bot
53d3a96489
Bump v4.0.0-nightly.20181004
2018-10-04 16:28:34 -07:00
Samuel Attard
baf40fd8f7
chore: add extra logging to the upload script
2018-10-05 09:24:19 +10:00
Samuel Attard
21348b9f3d
Revert "Bump v4.0.0-nightly.20181004"
...
This reverts commit 7a6d0cd6d2 .
2018-10-05 09:15:38 +10:00
Milan Burda
ae8c0f71b1
chore: remove duplicate code in spec/security-warnings-spec.js ( #14967 )
2018-10-05 00:24:14 +02:00
Electron Bot
7a6d0cd6d2
Bump v4.0.0-nightly.20181004
2018-10-04 13:56:59 -07:00
Robo
434a6e3561
refactor: create request context from network context ( #14656 )
...
* [ci skip] refactor: create request context from network context
* [ci skip] refactor: subscribe to mojo cookiemanager for cookie changes
* [ci skip] refactor: manage the lifetime of custom URLRequestJobFactory
* refactor: use OOP mojo proxy resolver
* revert: add support for kIgnoreCertificateErrorsSPKIList
* build: provide service manifest overlays for content services
* chore: gn format
* fix: log-net-log switch not working as expected
* spec: verify proxy settings are respected from pac script with session.setProxy
* chore: use chrome constants where possible
* fix: initialize request context for global cert fetcher
* refactor: fix destruction of request context getters
* spec: use custom session for proxy tests
* fix: queue up additional stop callbacks while net log is being stopped
* fix: Add CHECK for cookie manager retrieval
* chore: add helper to retrieve logging state for net log module
* fix: ui::ResourceBundle::GetRawDataResourceForScale => GetRawDataResource
* style: comment unused parameters
* build: move //components/certificate_transparency deps from //brightray
* chore: update gritsettings_resource_ids patch
* chore: update api for chromium 68
* fix: net log instance is now a property of session
2018-10-04 13:08:56 -05:00
Shelley Vohr
27bbf6a3c6
feat: add evt listeners for SetAlwaysOnTop ( #14951 )
...
* feat: add evt listeners for SetAlwaysOnTop
* only emit one event on AlwaysOnTop change
* docs: add new alwaysontop event
* dont emit if theres no change
* address feedback from review
2018-10-04 13:02:16 -05:00
Samuel Attard
d810f08b75
fix: update accelerator patch to handle recent chromium fixes ( #14966 )
2018-10-04 12:05:35 -05:00
John Kleinschmidt
038b56e31e
ci: Trigger an arm test on VSTS after CircleCI build ( #14898 )
...
* ci: Trigger an arm test on VSTS after CircleCI build
2018-10-04 12:01:16 -04:00
Alexey Kuzmin
1acd840c38
ci: rearrange builds on CircleCI ( #14969 )
...
* ci: do not build ffmpeg for every PR on CircleCI
* ci: build and run unittests in a separate workflow on CircleCI
* ci: build chromedriver in a separate job
2018-10-04 11:50:46 -04:00
Cheng Zhao
d3ae541397
refactor: Clean up the implementation of the registerStreamProtocol ( #11357 )
...
* Use weak pointer to avoid race condition
* Use DeleteSoon to delete pointer across threads
* Simplify EventSubscriber
* No need to manually mange V8 convertions
* Fix cpplint warning
We should update cpplint for this, but let's do it in other PR.
* Move UI thread operations to EventSubscriber
* Less and more assertions
Some methods are now private so no more need to assert threads.
* Fix cpplint warnings
* No longer needs the EventEmitted
* EventSubscriber => StreamSubscriber
* Reduce the copies when passing data
* Fix cpplint warnings
2018-10-04 10:13:09 -04:00
Samuel Attard
3805c5f538
chore: enable -pie for linux builds ( #14962 )
...
Closes #14961
2018-10-04 10:10:48 -04:00
Alexey Kuzmin
f161835fc3
test: disable one test in base_unittests ( #14968 )
...
Fails after the Chromium 68 upgrade.
2018-10-04 10:00:30 -04:00
Samuel Attard
31c7891553
chore: checkout the arm resources during publish sync
2018-10-04 14:14:53 +10:00
Samuel Attard
01efb6570c
Revert "Bump v4.0.0-nightly.20181003"
...
This reverts commit 76dab5ebd1 .
2018-10-04 13:45:20 +10:00
Electron Bot
76dab5ebd1
Bump v4.0.0-nightly.20181003
2018-10-03 19:15:29 -07:00
Samuel Attard
41c6a64213
chore: fix GN linting issue in brightray
2018-10-04 12:10:18 +10:00
Samuel Attard
03e6113ef7
Merge pull request #14964 from electron/chromium-upgrade/68
...
feat: upgrade to Chromium 68.0.3440.128 and Node 10.11.0
2018-10-04 12:04:53 +10:00
Samuel Attard
b59e01bdb0
Revert "feat: upgrade to Chromium 68.0.3440.128 and Node 10.11.0 ( #14677 )" ( #14963 )
...
This reverts commit e012801420 .
2018-10-04 12:03:15 +10:00
Jeremy Apthorp
e012801420
feat: upgrade to Chromium 68.0.3440.128 and Node 10.11.0 ( #14677 )
...
* Update to Chromium 68.0.3440.128 and Node 10.10.0
* update v8, ffmpeg, chromium, crashpad, boringssl, and webrtc patches
* fix SSL_get_tlsext_status_type patch
* pass encryption_modes_supported to CdmInfo
* kNoSandbox moved into service_manager
* bump CHROME_VERSION_STRING
TODO: automatically pull in the real chrome version
* PathService -> base::PathService
* net::X509Certificate::Equals -> net::X509Certificate::EqualsExcludingChain
* use content::ChildProcessTerminationInfo
* GetHandle() -> GetProcess().Handle()
* ScopedNestableTaskAllower doesn't take an argument
* net::HttpAuthCache::ClearEntriesAddedWithin -> ClearAllEntries
* std::unique_ptr<WebContents>
* blink::WebFullscreenOptions
* OnAudioStateChanged doesn't take a WebContents
* content::RESULT_CODE_NORMAL_EXIT -> service_manager::RESULT_CODE_NORMAL_EXIT
* MessageLoopCurrent
* WasResized -> SynchronizeVisualProperties
* SetTimeStamp takes a base::TimeTicks
* ExecuteScriptInIsolatedWorld is single-script only
* DispatchNonPersistentCloseEvent takes a callback now
* expose URLRequestContextGetter::{Add,Remove}Observer
* test: remove no longer existing Chromium test deps
cc_blink_unittests has been removed in
https://chromium-review.googlesource.com/1053765
mojo_common_unittests has been removed in
https://chromium-review.googlesource.com/1028000
* SetFdLimit -> IncreaseFdLimitTo
NOTE: the behaviour of this API has changed slightly, and we should
mention that in the notes.
* MessageLoop::QuitWhenIdleClosure -> RunLoop::QuitCurrentWhenIdleClosureDeprecated
* certificate_transparency moved out of net/
pending a clearer decision about what to do with CT
in the mean time, copy CreateLogVerifiersForKnownLogs from deleted chromium source
* add secure_origin_whitelist to chrome source list
NOTE: is this something we actually want? cc @deepak1556
* DrainBackgroundTasks -> DrainTasks
* use new node options parser
* fix disable_scroll_begin_dcheck.patch
* ViewsDelegate::CreateWebContents went away
see https://chromium-review.googlesource.com/c/chromium/src/+/1031314
* kZygoteProcess moved into service_manager
* test: minor improvements to the Node spec
- reformat some parts
- better failures reporting with `expect`
- skip some tests instead of marking them as passed
* chromium removed *_posix.cc from the source filters
* test: fix :electron_tests compilation
* better crash diagnostics in ffmpeg test
* fix: enable back a DCHECK in viz::ServerSharedBitmapManager
Fixes #14327 .
Backports https://chromium-review.googlesource.com/802574 .
* chore: update linux sysroots
* chore: remove obsolete "install-sysroot.py" script
* test: fix frame-subscriber test on Mac
* disable OSR for now
* test: make before-input-event test more robust
* test: make run-as-node --inspect test more robust on windows
* roll node to v10.11.0
* avoid duplicate files when building a zip
* disable failing assert in beginFrameSubscription dirty-rectangle test
* experiment with is_cfi = false
* fix: build torque with x64 toolchain
Co-Authored-By: Alexey Kuzmin <github@alexeykuzmin.com >
* test: disable the "app.relaunch" test on Linux
* chore: bump node to get header tar file
* chore: bump node to fix tar.py line endings
2018-10-04 12:02:14 +10:00
Samuel Attard
a78fff0afe
chore: bump node to fix tar.py line endings
2018-10-04 10:09:33 +10:00
Jeremy Apthorp
14fc6f3081
chore: add GN linting ( #14678 )
...
* chore: add GN linter
* chore: fix GN lint errors
* try some crazy bash to get a gn exe
* base64 on linux is different
* cloning build_tools doesn't download GN
* download_from_google_storage needs depot_tools in the path
* fixup! chore: add GN linter
2018-10-03 18:03:26 -05:00
Samuel Attard
b47081e814
chore: bump node to get header tar file
2018-10-04 08:59:33 +10:00
Aleksei Kuzmin
21f382fcae
test: disable the "app.relaunch" test on Linux
2018-10-04 00:21:58 +02:00
John Kleinschmidt
df32326ce5
fix: build torque with x64 toolchain
...
Co-Authored-By: Alexey Kuzmin <github@alexeykuzmin.com >
2018-10-04 00:15:00 +02:00
Jeremy Apthorp
f7f93d2071
experiment with is_cfi = false
2018-10-04 00:15:00 +02:00
Jeremy Apthorp
45c2dcddb0
disable failing assert in beginFrameSubscription dirty-rectangle test
2018-10-04 00:15:00 +02:00
Jeremy Apthorp
81bd7fab55
avoid duplicate files when building a zip
2018-10-04 00:15:00 +02:00
Jeremy Apthorp
d4c8375702
roll node to v10.11.0
2018-10-04 00:15:00 +02:00
Samuel Attard
0ee46cdc26
test: make run-as-node --inspect test more robust on windows
2018-10-04 00:14:59 +02:00
Cheng Zhao
b11b4f2235
test: make before-input-event test more robust
2018-10-04 00:14:59 +02:00
Jeremy Apthorp
41d806ee45
disable OSR for now
2018-10-04 00:14:59 +02:00
Aleksei Kuzmin
0fc79ad3a9
chore: update linux sysroots
2018-10-04 00:14:59 +02:00
Aleksei Kuzmin
01179ea7b9
chore: remove obsolete "install-sysroot.py" script
2018-10-04 00:14:59 +02:00
Jeremy Apthorp
09f018ce8c
test: fix frame-subscriber test on Mac
2018-10-04 00:14:59 +02:00
Aleksei Kuzmin
ae12d53884
fix: enable back a DCHECK in viz::ServerSharedBitmapManager
...
Fixes #14327 .
Backports https://chromium-review.googlesource.com/802574 .
2018-10-04 00:14:59 +02:00
Jeremy Apthorp
cc53269231
better crash diagnostics in ffmpeg test
2018-10-04 00:14:59 +02:00
Aleksei Kuzmin
6ab5c2faa1
test: fix :electron_tests compilation
2018-10-04 00:14:59 +02:00
Jeremy Apthorp
aafe83338c
chromium removed *_posix.cc from the source filters
2018-10-04 00:14:59 +02:00
Aleksei Kuzmin
ae95f77d68
test: minor improvements to the Node spec
...
- reformat some parts
- better failures reporting with `expect`
- skip some tests instead of marking them as passed
2018-10-04 00:14:59 +02:00
Jeremy Apthorp
4e679a3f28
kZygoteProcess moved into service_manager
2018-10-04 00:13:37 +02:00
Jeremy Apthorp
f9ed25dd78
ViewsDelegate::CreateWebContents went away
...
see https://chromium-review.googlesource.com/c/chromium/src/+/1031314
2018-10-04 00:13:37 +02:00
Jeremy Apthorp
2f75777fb6
fix disable_scroll_begin_dcheck.patch
2018-10-04 00:13:37 +02:00
Jeremy Apthorp
6e037f5e71
use new node options parser
2018-10-04 00:13:37 +02:00
Jeremy Apthorp
9aaedc394e
DrainBackgroundTasks -> DrainTasks
2018-10-04 00:13:37 +02:00
Jeremy Apthorp
5d882c6b91
add secure_origin_whitelist to chrome source list
...
NOTE: is this something we actually want? cc @deepak1556
2018-10-04 00:13:37 +02:00
Jeremy Apthorp
3657715c7b
certificate_transparency moved out of net/
...
pending a clearer decision about what to do with CT
in the mean time, copy CreateLogVerifiersForKnownLogs from deleted chromium source
2018-10-04 00:12:55 +02:00
Jeremy Apthorp
6a202c9f52
SetFdLimit -> IncreaseFdLimitTo
...
NOTE: the behaviour of this API has changed slightly, and we should
mention that in the notes.
2018-10-04 00:12:55 +02:00
Jeremy Apthorp
f0da5bce80
MessageLoop::QuitWhenIdleClosure -> RunLoop::QuitCurrentWhenIdleClosureDeprecated
2018-10-04 00:12:55 +02:00
Jeremy Apthorp
e6da87b864
test: remove no longer existing Chromium test deps
...
cc_blink_unittests has been removed in
https://chromium-review.googlesource.com/1053765
mojo_common_unittests has been removed in
https://chromium-review.googlesource.com/1028000
2018-10-04 00:12:55 +02:00
Jeremy Apthorp
7e5d90f871
DispatchNonPersistentCloseEvent takes a callback now
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
7a043a800d
ExecuteScriptInIsolatedWorld is single-script only
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
3b7657361d
SetTimeStamp takes a base::TimeTicks
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
9c15c97468
expose URLRequestContextGetter::{Add,Remove}Observer
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
faf57683ce
WasResized -> SynchronizeVisualProperties
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
5d9ba8b821
MessageLoopCurrent
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
08265ba3e2
content::RESULT_CODE_NORMAL_EXIT -> service_manager::RESULT_CODE_NORMAL_EXIT
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
948fe2107e
OnAudioStateChanged doesn't take a WebContents
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
517d38f191
blink::WebFullscreenOptions
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
a5b09e25ea
std::unique_ptr<WebContents>
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
8060e915c2
net::HttpAuthCache::ClearEntriesAddedWithin -> ClearAllEntries
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
5a757449b0
ScopedNestableTaskAllower doesn't take an argument
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
b9cd3493ac
GetHandle() -> GetProcess().Handle()
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
1c60f9e468
use content::ChildProcessTerminationInfo
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
280421393e
net::X509Certificate::Equals -> net::X509Certificate::EqualsExcludingChain
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
de581ca0b4
PathService -> base::PathService
2018-10-04 00:12:54 +02:00
Jeremy Apthorp
7092fa31a4
kNoSandbox moved into service_manager
2018-10-04 00:11:51 +02:00
Jeremy Apthorp
ce2c8e358d
pass encryption_modes_supported to CdmInfo
2018-10-04 00:11:51 +02:00
Jeremy Apthorp
e721388bac
fix SSL_get_tlsext_status_type patch
2018-10-04 00:11:51 +02:00
Jeremy Apthorp
6f2f761df3
update v8, ffmpeg, chromium, crashpad, boringssl, and webrtc patches
2018-10-04 00:11:51 +02:00
Jeremy Apthorp
d5e9b662f8
bump CHROME_VERSION_STRING
...
TODO: automatically pull in the real chrome version
2018-10-04 00:11:51 +02:00
Jeremy Apthorp
78c8951a50
Update to Chromium 68.0.3440.128 and Node 10.10.0
2018-10-04 00:11:51 +02:00
Milan Burda
5efb0fdff1
feat: add security warnings to sandboxed renderers ( #14869 )
...
Also refactor not to use the remote module.
2018-10-03 21:36:12 +02:00
Jeremy Apthorp
de020d0a5e
ci: combine linux-*-checkout into one step ( #14937 )
2018-10-03 21:05:05 +02:00
Robo
7a43c8732c
build: remove //chrome/common source copies ( #14950 )
...
* Removes
* //chrome/common/chrome_constants.*
* //chrome/common/chrome_paths*.*
* //chrome/common/pref_names.*
2018-10-03 11:44:22 -07:00
Robo
91a965e24d
build: remove //extensions source copies ( #14949 )
...
* build: remove //extensions source copies
* chore: gn format
2018-10-03 11:44:50 -05:00
Cheng Zhao
4c4d8c5bfa
fix: support ASAR in fs.copyFile ( #14942 )
2018-10-03 09:36:20 -07:00
Robo
820d99d37f
build: remove duplicate cursor resource configs ( #14929 )
...
$target_gen_dir/ui/resources/ui_unscaled_resources.rc provides
the required values during compilation.
2018-10-03 08:38:53 -07:00
Shelley Vohr
47258f7b3d
fix: default_app incorrect loading by url ( #14940 )
2018-10-03 08:10:22 -07:00
Robo
596ae2c2df
refactor: desktop capturer module ( #14835 )
...
* Revert "post all desktop capturer apis to worker threads"
This reverts commit 5a28759fea .
* refactor: desktop capturer module
* Creates the screen and window capturer for the liftime of the app
* Fixes incorrect usage of weak ptr
* build: add //ui/snapshot to chromium_src deps
* fix: handle scenarios when there are no captured sources
2018-10-03 21:26:42 +09:00
Shelley Vohr
e06bc311a9
chore: remove dead code in menu controller ( #14939 )
2018-10-03 16:24:28 +09:00
Cheng Zhao
a1b2162563
fix: use white background for non-OSR renderer by default ( #14932 )
2018-10-02 20:09:18 -07:00
John Kleinschmidt
319d9e519f
ci: Use VSTS checkout of electron ( #14926 )
2018-10-02 16:21:27 -04:00
Samuel Attard
2b3415dfd8
chore: remove duplicate and un-needed files from dist zips ( #14882 )
...
* chore: remove duplicate and un-needed files from dist zips
* Strip chromedriver binaries
Also, fix path for files to skip
* Don't strip mksnapshot for now
Mksnapshot needs special handling for arm/arm64 because there is both an x86 and arm/arm64 binary in those cases.
2018-10-02 11:12:37 -04:00
Cheng Zhao
74badfeb56
fix: check guest view's devtools window size ( #14922 )
2018-10-02 09:56:33 -05:00
Cheng Zhao
b23c389f89
Revert "fix: check guest view's devtools window size"
...
This reverts commit 90519c3ac0 .
It was an accidencal push
2018-10-02 00:17:13 -07:00
Cheng Zhao
90519c3ac0
fix: check guest view's devtools window size
2018-10-02 00:15:59 -07:00
Samuel Attard
d628aad3bf
feat: remove needless mojave dark mode APIs and add instructions on how to use the macOS replacement ( #14895 )
2018-10-02 14:44:50 +10:00
Samuel Attard
13035612ab
ci: clean up the lint config for vsts ( #14914 )
2018-10-02 13:11:40 +10:00
Milan Burda
3ad3ade828
refactor: add prefer-const to .eslintrc + fix errors ( #14880 )
2018-10-02 11:56:31 +10:00
Alexey Kuzmin
07161a8452
chore: some async await stuff for the spec runner ( #14897 )
2018-10-02 11:53:34 +10:00
Jeremy Apthorp
6a3402be5f
ci: add -j3 to mksnapshot/ffmpeg due to smaller machine size ( #14907 )
2018-10-02 11:50:41 +10:00
Felix Rieseberg
79c6e7c3f7
fix: Disable new fade animation for BrowserViews ( #14911 )
2018-10-02 11:49:26 +10:00
Alexey Kuzmin
c9edf77e8e
test: slightly rewrite getGPUInfo() tests ( #14863 )
...
Rewrite GPUInfo tests for linux and update `getGPUInfo` functionality for linux.
`basic` and `complete` GPUInfo is same for linux.
2018-10-01 18:34:52 -07:00
Alexey Kuzmin
f1b097024e
ci: run more unittests ( #14861 )
2018-10-01 17:50:52 -05:00
Alexey Kuzmin
5da7bae1b3
ci: refactor the CircleCI config ( #14891 )
...
- explicitly mark jobs that should use sccache
- explicitly mark jobs that should send Slack notifications
- remove unnecessary env vars and checks
- build and verify ffmpeg, and build native mksnapshot nightly
- add "native" to the native mksnapshot jobs names
- minor changes
2018-10-01 22:24:51 +02:00
Robo
a24ad6bc14
build: define compile time features with buildflag header ( #14840 )
...
* build: define compile time features with buildflag header
* refactor: switch to BUILDFLAG(ENABLE_DESKTOP_CAPTURER)
* refactor: switch to BUILDFLAG(ENABLE_RUN_AS_NODE)
* refactor: switch to BUILDFLAG(ENABLE_OSR)
* refactor: switch to BUILDFLAG(ENABLE_VIEW_API)
* refactor: switch to BUILDFLAG(ENABLE_PEPPER_FLASH)
* refactor: switch to BUILDFLAG(OVERRIDE_LOCATION_PROVIDER)
* refactor: switch to BUILDFLAG(ENABLE_PDF_VIEWER)
2018-10-01 16:00:53 -04:00
Alexey Kuzmin
4af922c9a2
ci: fail a tests job is there are no test results ( #14884 )
2018-10-01 16:59:55 +02:00
Shelley Vohr
ec38561254
chore: wrap new NSAppearance in correct check ( #14873 )
...
* fix: wrap new NSAppearance in correct check
* catch dark case on < 10.14
* fix @available conditional organization
2018-10-02 00:52:04 +10:00
Samuel Attard
40b676fee8
chore: skip the .bin from folder hashing due to npm not cleaning up symlinks ( #14888 )
...
- fix the ia32 specs not running on CI
- handle rejected promises in the "spec-runner" script
2018-10-01 16:00:04 +02:00
Alexey Kuzmin
60ac03c08f
test: disable getGPUInfo() tests on Linux ( #14875 )
2018-10-01 12:57:38 +10:00
Milan Burda
d48f9bcf7f
refactor: implement <webview> methods via dedicated IPCs without the remote module ( #14377 )
2018-10-01 10:07:50 +09:00
Milan Burda
ce38be74df
refactor: simplify process object initialization for sandboxed renderers ( #14878 )
...
Also fix `process.windowsStore`.
2018-09-30 23:24:00 +02:00
Electron Bot
0127bbc8e8
Bump v4.0.0-nightly.20180929
2018-09-29 05:11:59 -07:00
Samuel Attard
7ea0d105c0
chore: fix mac vsts config
2018-09-29 22:05:15 +10:00
Samuel Attard
3d1247933c
Revert "Bump v4.0.0-nightly.20180929"
...
This reverts commit 3cc0a40792 .
2018-09-29 22:04:05 +10:00
Electron Bot
3cc0a40792
Bump v4.0.0-nightly.20180929
2018-09-29 04:56:34 -07:00
Samuel Attard
2b107ef3e8
chore: generate ffmpeg zip on macos release
2018-09-29 21:50:31 +10:00
Samuel Attard
6d205423f5
Revert "Bump v4.0.0-nightly.20180929"
...
This reverts commit dac076dfb1 .
2018-09-29 21:50:10 +10:00
Samuel Attard
139c98dc57
Revert "Bump v4.0.0-nightly.20180929"
...
This reverts commit f5fb6b6a8e .
2018-09-29 21:49:59 +10:00
Electron Bot
f5fb6b6a8e
Bump v4.0.0-nightly.20180929
2018-09-29 03:20:13 -07:00
Electron Bot
dac076dfb1
Bump v4.0.0-nightly.20180929
2018-09-29 02:02:46 -07:00
Samuel Attard
f1eea4aab6
chore: run create-typescript-definitions for darwin releases
2018-09-29 18:36:28 +10:00
Samuel Attard
7ac4f7aa3b
Revert "Bump v4.0.0-nightly.20180929"
...
This reverts commit e3adffbbac .
2018-09-29 18:36:12 +10:00
Electron Bot
e3adffbbac
Bump v4.0.0-nightly.20180929
2018-09-29 00:04:20 -07:00
Samuel Attard
99cf6815a8
chore: run create-typescript-definitions for darwin releases
2018-09-29 16:39:22 +10:00
Samuel Attard
a4607d3284
chore: set TARGET_ARCH correctly for arm and arm64 builds
2018-09-29 15:32:48 +10:00
Samuel Attard
417150cecf
Revert "Bump v4.0.0-nightly.20180928"
...
This reverts commit fa70e65e0f .
2018-09-29 15:32:20 +10:00
Electron Bot
fa70e65e0f
Bump v4.0.0-nightly.20180928
2018-09-28 21:30:52 -07:00
Samuel Attard
7e5d16ce84
chore: generate ffmpeg zip on linux release
2018-09-29 14:26:58 +10:00
Samuel Attard
adc60a72ca
chore: get target arch from TARGET_ARCH env var
2018-09-29 14:13:17 +10:00
Samuel Attard
d6500244a4
chore: bump node to get header tar file
2018-09-29 14:01:27 +10:00
Samuel Attard
2669f1247a
Revert "Bump v4.0.0-nightly.20180928"
...
This reverts commit 449bd8e408 .
2018-09-29 14:00:41 +10:00
Electron Bot
449bd8e408
Bump v4.0.0-nightly.20180928
2018-09-28 20:13:25 -07:00
Samuel Attard
531a4c5b8c
Merge pull request #14868 from electron/fix-win-dump-syms
...
chore: fix windows dump syms
2018-09-29 13:11:03 +10:00
Samuel Attard
ad9e01393d
chore: actually publish from circleci and always build node headers on vsts
2018-09-29 12:33:56 +10:00
Samuel Attard
9ec7137443
chore: fix ffmpeg upload path and always generate node headers
2018-09-29 12:27:29 +10:00
Samuel Attard
851cd22f10
chore: fix upload.py for symbol.zip upload
2018-09-29 12:00:33 +12:00
Milan Burda
c61db523c7
refactor: replace var with const / let ( #14866 )
2018-09-29 09:17:00 +10:00
Samuel Attard
689ea370e1
chore: push the symbol zip not a folder
2018-09-29 11:06:14 +12:00
John Kleinschmidt
e183bab6c5
Pass along verbose mode
2018-09-28 15:37:11 -04:00
Samuel Attard
b42493e6e6
test: guarantee the order of webview and devtools creation ( #14849 )
2018-09-28 12:34:57 -07:00
John Kleinschmidt
fda4112168
ci: fix windows symbol gen
2018-09-28 13:24:00 -04:00
Samuel Attard
78239ff0ad
chore: add python env to zip-symbols script
2018-09-29 02:10:42 +12:00
Samuel Attard
24576fd0f1
Revert "Bump v4.0.0-nightly.20180927"
...
This reverts commit 40bc4afcb3 .
2018-09-29 00:04:19 +12:00
Troy
0e1365fc94
fix: enable key accelerator flags for Windows and Linux ( #14830 )
...
* Fix Accelerator Flags for Windows and Linux
* Lint fix
* Lint whitespace
2018-09-28 06:59:00 -05:00
Electron Bot
40bc4afcb3
Bump v4.0.0-nightly.20180927
2018-09-27 23:51:02 -07:00
Samuel Attard
ff364901e1
chore: use get_electron_branding instead of electron_gyp in the symbol zip generator
2018-09-28 16:48:09 +10:00
Samuel Attard
462d65c203
Revert "Bump v4.0.0-nightly.20180927"
...
This reverts commit 8c1d6f2aa2 .
2018-09-28 16:47:41 +10:00
Electron Bot
8c1d6f2aa2
Bump v4.0.0-nightly.20180927
2018-09-27 23:01:31 -07:00
Samuel Attard
46932913d1
chore: dont tag libcc when it does not exist in GN build
2018-09-28 15:58:54 +10:00
Samuel Attard
b0b9ebd448
chore: fix path to dump_syms in the windows breakpad tool
2018-09-28 15:57:16 +10:00
Samuel Attard
27d363015b
chore: make zip-symbols executable
2018-09-28 15:35:30 +10:00
Samuel Attard
3006974106
Revert "Bump v4.0.0-nightly.20180927"
...
This reverts commit 06aaf71706 .
2018-09-28 15:34:47 +10:00
Electron Bot
06aaf71706
Bump v4.0.0-nightly.20180927
2018-09-27 21:03:47 -07:00
Samuel Attard
0a4ddf4512
chore: ensure the bump-version script modified the version.h file correctly
2018-09-28 13:58:48 +10:00
Samuel Attard
d51633e598
Revert "Bump v4.0.0-nightly.20180927"
...
This reverts commit c48306c80f .
2018-09-28 13:57:04 +10:00
Electron Bot
c48306c80f
Bump v4.0.0-nightly.20180927
2018-09-27 20:22:40 -07:00
Samuel Attard
e86298d5d9
chore: fix relative links in docs and enforce we dont break them again ( #14832 )
2018-09-28 13:16:38 +10:00
Samuel Attard
46141b8283
chore: initial work for running releases of GN build - Merge pull request #14831 from electron/prepare-for-4-nightlies
2018-09-28 13:06:48 +10:00
Samuel Attard
a524c5ec12
chore: move the view APIs to their own directory ( #14722 )
...
* chore: move the view APIs to their own directory
* move view api cpp files
2018-09-28 12:47:09 +10:00
Samuel Attard
37f405859f
chore: fix out_dir usage in upload-symbols.py
2018-09-28 11:24:50 +10:00
Samuel Attard
55765424f9
chore: fix test command in docs
2018-09-28 11:19:00 +10:00
John Kleinschmidt
8df703a13b
Update mksnapshot uploads
2018-09-28 11:18:25 +10:00
Shelley Vohr
e66a5f79a2
updating directories and related functions
2018-09-28 11:18:06 +10:00
John Kleinschmidt
1c728876e6
Fix yaml issue
2018-09-28 11:17:11 +10:00
John Kleinschmidt
3643ce5f85
Add publish jobs for CircleCI releases
2018-09-28 11:17:11 +10:00
Samuel Attard
cba749e305
chore: fix appveyor deploy working dir
2018-09-28 11:17:11 +10:00
Samuel Attard
d0691dffdf
chore: remove serve-node-headers.py, unused in new testing setup and points at old out_dir
2018-09-28 11:17:11 +10:00
Samuel Attard
85464c5b46
chore: ensure boto is initialized so that s3put works
2018-09-28 11:17:11 +10:00
Samuel Attard
c1705f2789
chore: fix out_dir usage in upload-node-headers.py
2018-09-28 11:17:11 +10:00
Samuel Attard
363cf1dec2
chore: fix out_dir usage in upload-node-checksums.py
2018-09-28 11:16:38 +10:00
Samuel Attard
504581e308
chore: fix out_dir usage in upload-index-json.py
2018-09-28 11:16:38 +10:00
Samuel Attard
2adb44a402
chore: remove unused files to simply out_dir replacements
2018-09-28 11:16:37 +10:00
Samuel Attard
4b0f335aba
chore: initial work for running releases of GN build
2018-09-28 11:15:46 +10:00
Jeremy Apthorp
77fb9cf416
chore: stop using electron.gyp for branding and version ( #14559 )
...
* chore: stop using electron.gyp for version info
* chore: remove branding info from electron.gyp
* Use get_electron_branding instead of gn read
* Flip project_name/product_name
2018-09-27 14:53:08 -04:00
Samuel Attard
6be69048e6
fix: handle shortcuts by default if no WebPreferences object exists ( #14766 )
...
DevTools webcontents do not have webpreferences
Fixes #14685
2018-09-28 01:41:09 +10:00
Samuel Attard
0d2a0c7583
feat: add APIs to support mojave dark modes ( #14755 )
...
* feat: add APIs to support mojave dark mode
Closes #13387
* docs: fix system-prefs typo
2018-09-27 10:33:31 -05:00
Alexey Kuzmin
8963529238
ci: run unittests and browsertests separately ( #14826 )
2018-09-27 11:29:27 -04:00
Nitish Sakhawalkar
5c108728d6
feat: Implementation of getGPUInfo API. ( #13486 )
...
* Implementation of getGPUInfo API.
* Clear promise set
* Changes to promise usage
* Minor fixes
* Fix linux build
* Update spec
* Fix lint (linter didn't run on windows locally)
* Test running single test for CI
* Update spec
2018-09-28 00:59:23 +10:00
Alexey Kuzmin
638311b6b3
build: turn on OSR for GN builds ( #14352 )
...
* build: turn on OSR for GN builds
* remove mac-only speech functions in osr
They were removed as a part of https://chromium-review.googlesource.com/c/chromium/src/+/923548
* implement WasResized in MacHelper
* add missing screen include
* fix: use proper bitmap operations to construct frame to avoid failing checks
* switch to SkCanvas for drawing
2018-09-27 09:32:31 -04:00
Samuel Attard
131b19403f
chore: upload node.lib for v4 ( #14829 )
...
Closes #14828
2018-09-27 08:38:41 -04:00
Samuel Attard
7dc7cd1d89
fix: send null in debugger callback when no error ( #14814 )
...
Fixes #13811
2018-09-27 17:43:45 +10:00
Shelley Vohr
985d35fc1c
fix: update deprecated NSWindow masks ( #14760 )
2018-09-26 16:00:57 -07:00
Shelley Vohr
be2c27d5b8
correct key code reqs for accel doc ( #14823 )
2018-09-26 15:03:55 -07:00
John Kleinschmidt
1b4d425876
build: Generate breakpad symbols for GN release builds ( #14791 )
...
* Use chromium 's generate_breakpad_symbols.py
* Add breakpad symbol gen to CI.
2018-09-26 14:56:05 -04:00
Samuel Attard
49f9019007
chore: check in the changes to package-lock.json ( #14815 )
2018-09-26 21:03:43 +10:00
Milan Burda
b499d57cfd
refactor: use error-utils for remote exception serialization / deserialization ( #14788 )
...
* refactor: use error-utils for remote exception serialization / deserialization
* fix internal process.type in sandboxed renderer
2018-09-26 15:44:55 +10:00
Milan Burda
3df739fa89
refactor: implement crashReporter.start() without the remote module ( #14434 )
2018-09-26 15:43:34 +10:00
Troy
560b1c17af
fix: setMaximizable to be true if window is resizable & maximizable ( #14648 )
...
* setMaximizable to be true if window is resizable & maximizable
* Fix linting
* Add regressive test to verify maxmizable state
* Leaves maximizable state of window alone if setResizable is called
* Fix exclusive test
* Fix crashing text
* SetMaximizable unconditionally
* Remember former maximizable state
* Fix accidental mac variable deletion
* Logic modification
* Lint
* Remove unneeded test
* Remove unneeded variable since only Windows is effect
2018-09-26 11:41:40 +10:00
Shelley Vohr
c9bc3471e7
fix: get background color from GtkMenuBar#menubar ( #14785 )
...
* fix: get background color from GtkMenuBar#menubar
* expose libgtkui::GetBgColor
2018-09-25 13:57:06 -07:00
Jeremy Apthorp
18c2574350
ci: migrate libcc's Dockerfile to electron and update it ( #14786 )
...
* ci: migrate libcc's Dockerfile to electron and update it
* Added nano and sudo
* Use new docker image in CircleCi
* installing nodejs needs curl
* Add needed dependencies
nacl contains dependencies needed for arm and ia32 builds
2018-09-25 15:30:22 -04:00
Shelley Vohr
c73a6906f6
chore: fix compilation with XCode 10 ( #14800 )
...
* chore: fix compilation with XCode 10
* update chromium commit ref
2018-09-25 10:42:13 -07:00
Jeremy Apthorp
442f05dfe7
chore: force patches to be checked out with LF line endings ( #14789 )
2018-09-26 02:04:32 +12:00
Alexey Kuzmin
c5fa7b8043
ci: add a branch name to Slack notifications ( #14793 )
2018-09-25 09:59:39 -04:00
Shelley Vohr
2617f50b7d
chore: update mksnapshot and ffmpeg for GN ( #14738 )
...
* chore: update mksnapshot and ffmpeg for GN
* fix typo
* add non-native builds to CI
* split mksnapshot build and store steps
* Fix config order
* Use different targets for mksnapshot and native_mksnapshot
mksnapshot gets built in electron_app as part of the v8 build, so copy it from there
* Revert "Use different targets for mksnapshot and native_mksnapshot"
This reverts commit 6a1a50aa69 .
* Try specifying v8_snapshot_toolchain
* Fix v8_snapshot_toolchain reference
* Fix artifact locations
* Test native mksnapshot
2018-09-24 21:48:49 -04:00
Shelley Vohr
c7b91acf41
fix: inconsistent titleBarStyle on transparent fullscreen ( #14765 )
2018-09-24 17:15:18 -07:00
Samuel Attard
50a4a8e9c3
spec: add test for syncronous access to blink APIs ( #14637 )
...
This test should ensure we catch a regression of #13787
2018-09-25 10:40:15 +12:00
Alexey Kuzmin
e6242d5ef8
ci: do not suppress stdout from Google Test binaries ( #14782 )
2018-09-24 13:47:06 -07:00
Shelley Vohr
e9549a89bb
docs: update releasing info ( #14675 )
...
* docs: update releasing info
* update more release and upload files
* address feedback from review
2018-09-24 09:12:16 -07:00
Shelley Vohr
2bcc86dac7
docs: clarify allowable background colors for BrowserWindow transparency ( #14762 )
...
* docs: clarify allowable colors for transparency
* fix alpha value specification
2018-09-24 10:51:01 -05:00
Jeremy Apthorp
335caef9ad
fix: support macos 10.14 SDK ( #14758 )
...
* support macos 10.14 SDK
* forward-declare NSUserActivityRestoring for backwards compatibility
* that didn't work, let's resort to #ifdef
2018-09-24 10:41:17 -04:00
Alexey Kuzmin
8a1ff7ca49
ci: run native tests on CircleCI ( #14774 )
...
* test: add a script to run Google Test binaries
* ci: run native tests on CircleCI
2018-09-24 09:44:18 -04:00
John Kleinschmidt
b3e469fa98
Merge pull request #14708 from electron/updates-for-gn-release
...
build: Updates for GN release builds
2018-09-24 09:36:57 -04:00
Alexey Kuzmin
0e3b2d92d7
ci: fix pattern for the Chromium branches names for CircleCI ( #14769 )
...
https://circleci.com/docs/2.0/workflows/#using-regular-expressions-to-filter-tags-and-branches
2018-09-23 10:19:43 -07:00
Samuel Attard
176a76217c
chore: have 'use strict' consistently across our lib files ( #14721 )
2018-09-23 00:28:50 +12:00
John Kleinschmidt
70fb89e201
No longer need to filter out resources dir
...
Also remove not needed change
2018-09-21 21:29:55 -04:00
John Kleinschmidt
a82c4923bd
Make sure resources gets skipped
2018-09-21 16:58:33 -04:00
John Kleinschmidt
806e236850
Revert to one job instead of two
...
Splitting into build and test jobs is slower and we can set individual timeouts on the test steps.
2018-09-21 16:54:24 -04:00
Jeremy Apthorp
0a621bfea1
chore: move crashpad patch to chromium dir ( #14744 )
...
third_party/crashpad is not a DEP, it's actually checked into the chromium tree
2018-09-21 13:02:35 -07:00
John Kleinschmidt
334fea3d7b
Remove broken symlinks from buildtools before saving it to artifacts
2018-09-21 15:37:52 -04:00
John Kleinschmidt
e85ea5dcff
Add buildtools to artifacts needed for testing
...
Also remove not needed change
2018-09-21 14:22:32 -04:00
John Kleinschmidt
bfaf3f458f
Make killall Electron more friendly
2018-09-21 13:14:01 -04:00
John Kleinschmidt
96ec3e9162
Split build and test into separate jobs
...
Also clean from review
2018-09-21 13:14:01 -04:00
John Kleinschmidt
62172dee6c
Add electron_chromedriver_zip target
2018-09-21 13:13:52 -04:00
John Kleinschmidt
e367aff8ac
Cleaned up/fixed skip_path with @nornagon's suggestion.
...
Co-Authored-By: Jeremy Apthorp <nornagon@nornagon.net >
2018-09-21 13:12:26 -04:00
John Kleinschmidt
3154275d2f
Add verify ffmpeg back to CircleCI builds
2018-09-21 13:12:26 -04:00
John Kleinschmidt
e78d84165a
Add chromedriver to build
...
Make sure certain paths/files don't make it into the dist zip
Don't build the content shell test_runner
Make sure libffmpeg.dylib gets put in the right place
Run verify-ffmpeg on Mac builds
Add ffmpeg build to VSTS
2018-09-21 13:12:26 -04:00
John Kleinschmidt
5317c2754f
Merge pull request #14754 from electron/circle-ci-config-clean-up
...
ci: clean up the CircleCI config
2018-09-21 10:44:05 -04:00
Aleksei Kuzmin
0b560607f7
ci: run nightly builds for Chromium upgrade branches
2018-09-21 12:25:20 +02:00
Aleksei Kuzmin
499fc48ccf
ci: clean up the CircleCI config
2018-09-21 12:25:08 +02:00
Samuel Attard
32a9df2940
refactor: clean up the default app implementation ( #14719 )
...
* Disable nodeIntegration
* Enable contextIsolation
* Re-implement the CSP security check to handle running in
contextIsolation
* Disable bad DCHECKS for the promise helper
* Remove the unused "-d" flag for the electron binary
* Added a way to hide the default help output for electron devs who
don't want to see it every time
2018-09-21 15:24:42 +10:00
Sylvester Keil
a24307b8e8
Fix second-instance handler signature ( #14731 )
2018-09-20 20:02:28 -07:00
Alexey Kuzmin
d927501139
ci: build mksnapshot in a separate job ( #14741 )
2018-09-20 17:50:14 -07:00
Jeremy Apthorp
2538e20c4d
test: inherit stdio when 'npm install'ing spec deps ( #14740 )
2018-09-20 13:43:33 -07:00
John Kleinschmidt
76cd065291
ci:Make sure that tests on VSTS get marked as failed if they fail ( #14734 )
2018-09-20 14:21:09 -05:00
Shelley Vohr
7b8daaab67
chore: add ffmpeg dist zip ( #14681 )
2018-09-20 11:10:10 -07:00
Cheng Zhao
6f494b3c58
fix: do not set layer explicitly for frameless window ( #14730 )
2018-09-20 12:24:55 -05:00
John Kleinschmidt
1d20057df3
Merge pull request #14733 from electron/reenable-app-exit-exitCode
...
test: reenable app module > app.exit(exitCode) > closes all windows
2018-09-20 11:15:34 -04:00
John Kleinschmidt
d82cd7b3c7
Merge pull request #14729 from electron/verify-ffmpeg-on-a-separate-job
...
ci: build ffmpeg and verify it in a separate jobs
2018-09-20 11:14:57 -04:00
Aleksei Kuzmin
c75537b0bc
ci: build ffmpeg and verify it in a separate jobs
...
- it is an independent task and should be done separately
- we can use smaller machines for that
2018-09-20 15:52:22 +02:00
John Kleinschmidt
080d499053
Merge pull request #14712 from electron/circle-no-map-merge
...
ci: [circle] don't use map merge key (<<) where unneeded
2018-09-20 09:50:06 -04:00
John Kleinschmidt
8854d9872c
test: reenable app moduele > app.exit(exitCode) > closes all windows
2018-09-20 09:32:02 -04:00
Samuel Attard
5541cab1ba
docs: type the promises in our docs ( #14715 )
2018-09-20 22:37:56 +10:00
Samuel Attard
6b50dc8745
docs: add python-dbusmock to the linux requirements ( #14727 )
...
Refs #14726
2018-09-20 21:41:00 +10:00
Charles Kerr
1b3fdb18e3
fix: change subprocess.Popen calls to work on Linux too ( #14689 )
...
* fix: remove 'shell=True' when calling 'git diff'
Calling subprocess.Popen() with a list of args and shell=True causes
the args to be ignored, so ['git', 'diff', '--name-only', '--staged']
was turning into just 'git'. Instead of getting a list of changed
files, we got the --help message.
Two possible fixes: change it from a list to a single string, or remove
'shell=True'. The shell doesn't seem to be needed, so I chose that.
More reading: https://stackoverflow.com/questions/26417658/subprocess-call-arguments-ignored-when-using-shell-true-w-list
* fix: remove 'shell=True' when calling clang-format
Same problem / rationale as previous commit.
* fix: re-add shell=True for win; use different fix
2018-09-20 16:57:21 +10:00
Jeremy Apthorp
977e287cfa
chore: turn off clang-format for ATOM_PRE_RELEASE_VERSION ( #14711 )
2018-09-20 16:55:07 +10:00
Samuel Attard
82a5a9f455
chore: ignore spec/node_modules from linting ( #14717 )
2018-09-20 15:41:01 +10:00
Samuel Attard
54ef906832
[RFC] perf: use an internal module resolver to improve require performance ( #14633 )
...
* perf: use an internal module resolver instead of relative requires
* perf: memoize the results of getting exported Electron properties
* perf: make internal module changes consistent across sandboxed / bundled files
2018-09-20 13:43:26 +10:00
Jeremy Apthorp
e390d611df
ci: [circle] don't use map merge key (<<) where unneeded
2018-09-19 16:06:19 -07:00
Jeremy Apthorp
73d1b76b54
test: runas is not an optional dependency ( #14704 )
2018-09-19 15:59:37 -07:00
John Kleinschmidt
e059f303d7
Merge pull request #14526 from jakubzitny/window-open-clarifications
...
docs: specify BrowserWindow features passable to window.open
2018-09-19 15:05:10 -04:00
John Kleinschmidt
b48ea70eeb
Merge pull request #14688 from electron/run-clang-format
...
chore: run clang-format
2018-09-19 14:27:21 -04:00
John Kleinschmidt
4f70f0e66a
Merge pull request #14690 from electron/lint-runner-support-cc-fix
...
Lint runner support cc fix
2018-09-19 14:26:57 -04:00
Jeremy Apthorp
b8a8bf82ac
docs: update "upgrading node" guide ( #14649 )
...
I think there's more to do here, and I'll continue to add to & update this documentation as I go through the process of upgrading node in the context of the GN build.
2018-09-19 11:08:39 -07:00
John Kleinschmidt
0e91db2188
Merge pull request #14672 from electron/use-smaller-machines-on-linux-ci
...
ci: use smaller size machines for some Linux CI jobs
2018-09-19 13:51:58 -04:00
John Kleinschmidt
a6e3466a62
Merge pull request #14686 from electron/refactor-circle-ci-mac-builds
...
ci: refactor Mac builds on CircleCI
2018-09-19 13:50:04 -04:00
Shelley Vohr
c958ed6a85
chore: fix await in cleanup script ( #14670 )
2018-09-19 09:38:35 -07:00
Jeremy Apthorp
1b165c2c39
chore: remove vendored depot_tools ( #14676 )
...
The GN build now requires that users install depot_tools to their path, rendering our vendored version obsolete.
2018-09-19 09:37:38 -07:00
Aleksei Kuzmin
7fc3bcaa02
chore: run clang-format
...
- atom/
- brightray/
- chromium_src/
2018-09-19 17:18:10 +02:00
Charles Kerr
03553abc11
feat: use run-clang-format in cc --fix mode
2018-09-19 08:42:03 -05:00
Charles Kerr
1988c6876d
refactor: use same diff args as run-clang-format
2018-09-19 08:40:57 -05:00
Aleksei Kuzmin
2f0f88e60a
ci: do not run verify-ffmpeg on Mac on CircleCI
2018-09-19 15:18:35 +02:00
Aleksei Kuzmin
be2bcbef42
ci: refactor Mac builds on CircleCI
2018-09-19 15:18:35 +02:00
Sofia Nguy
ec125b761c
chore: AFP info for general public ( #14650 )
...
* migrate AFP info from maintainers
* wording changes
* capitalize headers
* move to docs and delete details
* review changes
2018-09-18 13:13:49 -05:00
Robo
b05bce1686
build: with enable_extensions=false ( #14657 )
2018-09-18 11:04:54 -07:00
Milan Burda
e22142ef9c
feat: add process.takeHeapSnapshot() / webContents.takeHeapSnapshot() ( #14456 )
2018-09-18 11:00:31 -07:00
Aleksei Kuzmin
8664adaea4
ci: use smaller size machines for some Linux CI jobs
...
- use "medium" machines for testing jobs
- keep "2xlarge" for checkout and compilation
2018-09-18 18:30:01 +02:00
John Kleinschmidt
1855144d26
Merge pull request #14663 from electron/add-fyi-job-for-chromium-tests
...
ci: add a FYI job to build Chromium test binaries
2018-09-18 10:14:58 -04:00
Samuel Attard
7f7ec23c28
chore: dont pass --stable through to bump-version.py ( #14661 )
...
I want to clean up this "stable" and "beta" code smell eventually but
for now this will unblock the 2.0.x releases.
2018-09-18 23:32:49 +10:00
Aleksei Kuzmin
6b6c1d0c0c
ci: add a FYI job to build Chromium test binaries
2018-09-18 14:01:20 +02:00
Charles Kerr
eeeeae3bff
refactor: use one script to launch all linters ( #14622 )
...
* refactor: use one script to launch py, js, cc linters
* lint changed files as precommit hook
* fix py linter in GN build
* add overlooked files to linter search path
2018-09-17 16:09:02 -05:00
John Kleinschmidt
ab47ad7bbc
Merge pull request #14640 from electron/circle-ci-workspaces
...
ci: use CircleCI workspaces
2018-09-17 12:36:18 -04:00
Aleksei Kuzmin
a0dd5f03a8
ci: use CircleCI workspaces
2018-09-17 17:39:18 +02:00
Shelley Vohr
12a435273d
fix: quit properly in simpleFullScreen mode ( #14620 )
2018-09-16 22:22:09 -07:00
Charles Kerr
a45ded5508
chore: fix python lint warnings ( #14638 )
...
* chore: fix lint warnings
* chore: another try at python import errors
Looks like the problem is that dbus_mock.py is running as
a script but living in the `lib/` directory where it's part of a
module. Moving it up into the `script/` directory seems to
solve the issue.
2018-09-16 12:24:07 -05:00
Samuel Attard
6d01952e66
chore: replace standard with eslint-config-standard and add custom rules ( #14636 )
...
* chore: replace standard with eslint-config-standard
This adds support for --cache so linting JS only takes ~1 second and only lints things that changed
It also allows us to add custom linting rules
* chore: add eslint-plugin-mocha and enable the no-exclusive-tests rule
This will block anyone from pushing / merging a `.only` test or describe
2018-09-16 03:51:23 +10:00
Samuel Attard
7065093869
feat: add will-redirect ( #13866 )
...
* feat: add will-redirect to allow people to prevent 30X redirects
* spec: add tests for the will-redirect event
* refactor: implement will-redirect using NavigationThrottle instead of PostTask
This avoids a potential race condition and immediately cancels the
navigation
* docs: add docs for did-redirect-navigation
* refactor: move AtomNavigationThrottle out of net folder
* refactor: update header guard for atom_navigation_throttle.h
* refactor: fix chromium style errors in the GN build
* refactor: update throttle impl to NOTREACHED and std::make_unqique
2018-09-16 01:42:43 +10:00
Samuel Attard
6ad8583a8b
chore: remove --version from "create-api-json" ( #14634 )
...
The variable already defaults to this value and this `$` syntax does not work cross platform
Closes #13462
2018-09-16 01:40:20 +10:00
Robo
66ced07545
build: update electron patches ( #14623 )
...
* build: remove common/icu/no_inline_default_constructor.patch
It was added in https://github.com/electron/libchromiumcontent/pull/207 ,
the issue is no longer valid in the GN build.
* build: remove common/icu/build_gn.patch
In GN release build all code including node are linked
statically in a single binary, the workaround is no longer valid.
* build: remove ununsed patches
* build: remove is_electron_gn_build arg
* build: remove component mode crt config patch
* build: remove executable config patch for character_data_generator
* build: remove latency_info.patch
* build: remove exec_script_whitelist patch
* build: update patches/common/v8/build_gn.patch
* build: remove common/chromium/fix-arm64-linking-error.patch
It was added in a1df18ca36
to workaround a linker issue.
* build: remove common/chromium/protobuf_build_gn.patch
It was added to workaround a VS linker bug, it has been fixed
in Update 1
* build: remove common/chromium/disable-recursive-surface-sync.patch
It was added in 6bc6626e2c
to fix dcheck on macOS, it no longer appears to be an issue.
2018-09-15 06:40:18 -05:00
Alexey Kuzmin
0ea687b529
chore: copy script/patch.py from the libcc repo ( #14627 )
...
* chore: copy script/patch.py from the libcc repo
* chore: fix pylint errors
2018-09-14 15:12:05 -07:00
Alexey Kuzmin
a314a15ecd
tests: fix compilation of blink_unittests ( #14574 )
2018-09-14 15:11:26 -07:00
John Kleinschmidt
838b26ee26
ci: Move Mac builds to Azure Devops (VSTS) ( #14588 )
...
* Add support for multiple mocha reporters
Allows us to output to junit file and to console at the same time
* Cleanup VSTS file
Don't install depot_tools everytime as it is already installed.
Only run tests if "RUN_TESTS" environment variable is set
Only notify slack if "NOTIFY_SLACK" environment variable is set
Don't use sccache for release builds
Move CircleCI mac builds to VSTS
* Only build mac PRS from forks
Don't install depot_tools everytime as it is already installed.
Only run tests if "RUN_TESTS" environment variable is set
Only notify slack if "NOTIFY_SLACK" environment variable is set
Don't use sccache for release builds
Move CircleCI mac builds to VSTS
Use sccache helper script
* rename vsts-gn.yml to vsts.yml
Make sure Electron isn't running before starting tests
2018-09-14 11:56:16 -07:00
John Kleinschmidt
451b1782ac
Merge pull request #14613 from electron/update-standard
...
chore: update to standard 12 and fix CI
2018-09-14 10:26:15 -04:00
Samuel Attard
dc2a6c5d71
spec: fix crashReporter upload assertions
2018-09-14 22:23:58 +10:00
Samuel Attard
40f0f049a2
spec: fix final node and chromium specs after assert change
2018-09-14 18:32:17 +10:00
Samuel Attard
91f00a518a
ci: fix CI runs after 9e85bdb0
2018-09-14 17:50:03 +10:00
Samuel Attard
4bcc08826b
spec: fix headers tests to match APIs
2018-09-14 17:05:26 +10:00
Samuel Attard
9e59d2a78d
spec: fix broken remote specs
2018-09-14 16:57:39 +10:00
Samuel Attard
3487bbe356
spec: handle null prototypes in specs
2018-09-14 16:47:54 +10:00
Samuel Attard
21aa28d60f
refactor: s/resolverGetters/resolveGetters
2018-09-14 16:41:21 +10:00
Samuel Attard
5c8c31c93d
spec: update 'BrowserWindow.fromBrowserView(browserView) returns undefined if not attached - returns undefined if not attached' to match docs (null not undefined)
2018-09-14 16:38:44 +10:00
Samuel Attard
91cc453ccc
spec: add helper to resolve property getters
2018-09-14 16:36:23 +10:00
Jeremy Apthorp
76c5f5cc8a
build: move libcc patches to electron repo ( #14104 )
...
In the GN build, libchromiumcontent is no longer a distinct library, but
merely a container for a set of scripts and patches. Maintaining those
patches in a separate repository is tedious and error-prone, so merge
them into the main repo.
Once this is merged and GN is the default way to build Electron, the
libchromiumcontent repository can be archived.
2018-09-13 22:02:16 -07:00
Samuel Attard
558fff69e7
chore: update to standard 12
2018-09-14 14:57:01 +10:00
Jeremy Apthorp
9e85bdb02c
docs: prefer out/Debug to out/Default in build docs
2018-09-13 15:08:31 -07:00
Samuel Attard
238ea29fa8
chore: update package.json scripts for gn build and automated releases ( #14612 )
...
* Removes un-used and non-functional code coverage helpers
* Removes un-used release script aliases
* Moves TLS to a lib folder for cleaner directory structure
* Implements start.py as start.js for the GN build
* Adds a re-usable getElectronExec helper for future scripts
* Refactors spec runner to use the helper
2018-09-14 02:57:39 +10:00
Samuel Attard
774395d910
chore: dont install spec deps on sync needlessly ( #14614 )
...
We run install for testing only when required anyway
2018-09-14 02:51:21 +10:00
Jeremy Apthorp
961147151f
fix: re-enable high-dpi support on windows ( #14596 )
...
fixes #14568
2018-09-13 10:40:29 -05:00
Samuel Attard
22ab85c39e
chore: update request dep to remove warning about cryptiles ( #14610 )
2018-09-14 01:35:18 +10:00
Samuel Attard
05783d56f7
chore: make the 'npm run test' command work out of the box ( #14602 )
2018-09-14 01:30:12 +10:00
John Kleinschmidt
429b18d7a0
Merge pull request #14600 from electron/media-permission
...
feat: add mediaTypes to media permission requests
2018-09-13 10:39:08 -04:00
Samuel Attard
8cb449b5e1
chore: fix linting error on master ( #14609 )
2018-09-14 00:28:47 +10:00
Samuel Attard
73a1a8b3f0
feat: automatically round numbers that are converted to points ( #14604 )
...
Fixes #14490
2018-09-13 08:28:56 -05:00
Alexey Kuzmin
7d7401987a
chore: generate API definitions in the project root ( #14578 )
...
'out' folder doesn't exist in a freshly cloned repo,
and there are not reasons to use it anyway.
2018-09-13 08:08:08 -05:00
Samuel Attard
4aa75c2b30
chore: update package-lock.json when bumping package.json ( #14599 )
2018-09-13 17:04:39 +10:00
Samuel Attard
7025cbd0c9
feat: add mediaTypes to media permission requests
...
This is done to be consistent with setPermissionCheckHandler and to be
backwards compatible
Fixes #14168
2018-09-13 16:58:57 +10:00
Samuel Attard
a55fd16349
fix: update node ref to fix patch handling unhandled rejections ( #14603 )
...
Fixes #14573
2018-09-13 16:32:49 +10:00
Robo
d9c6dd0254
chore: add debugger specs for multiple sessions ( #14598 )
2018-09-13 16:32:30 +10:00
Charles Kerr
d663b4eaee
fix: fix gn cpplint warnings ( #14583 )
...
* chore: fix cpplint 'include_what_you_use' warnings
Typically by including <memory>, <utility> etc.
* chore: fix 'static/global string constant' warning
Use C style strings instead of std::string.
Style guide forbids non-trivial static / global variables. https://google.github.io/styleguide/cppguide.html#Static_and_Global_Variables
/home/charles/electron/electron-gn/src/electron/script/cpplint.js
* refactor: remove global string variables.
Fix 'global string variables are not permitted' linter warnings
by using the base::NoDestructor<> wrapper to make it explicit that
these variables are never destroyed.
The style guide's take on globals with nontrivial destructors:
https://google.github.io/styleguide/cppguide.html#Static_and_Global_Variables
* fix: initializer error introduced in last commit
* fix: remove WIP file that was included by accident
* fix: include order
* fix: include order
* fix: include order
* fix: include order, again
2018-09-12 19:25:56 -05:00
Jeremy Apthorp
183a043216
chore: remove unneeded ssize_t hack
...
See electron/libchromiumcontent#682
2018-09-12 15:33:59 -07:00
Charles Kerr
a3f7e298cf
refactor: remove unused, duplicated code in deprecate module ( #14579 )
...
* remove obsolete tests
* remove unused deprecate API
* make a warnOnce helper for the deprecate methods
* misc. copyediting, e.g. variable names, whitespace
* test that any deprecation warns once at most
* use strict
2018-09-12 17:13:22 -05:00
Jeremy Apthorp
d78a2a110a
Merge pull request #14590 from electron/remove-gn-build-define
...
chore: remove ELECTRON_GN_BUILD define
2018-09-12 14:04:33 -07:00
Nitish Sakhawalkar
e90c281ef3
fix: Windows Background color issue ( #14561 )
...
Call InvalidateRect for windows after setting the bg color
2018-09-12 13:41:47 -07:00
Charles Kerr
7b71d7cbce
feat: run 'cpplint -c' as a precommit hook ( #14586 )
...
* feat: `cpplint -c` all changed files, even staged
* refactor: simplify cpplint invocation
* fix: cpplint now EXIT_FAILUREs on linter errors
* feat: precommit hook runs 'cpplint -c'
2018-09-12 14:43:54 -05:00
Jeremy Apthorp
784c06c784
chore: remove unsupported DISABLE_NACL define
2018-09-12 12:09:41 -07:00
Robo
e860748d6b
fix: Invalidate weak ptrs before window Javascript object is destroyed ( #14532 )
...
* fix: Invalidate weak ptrs before window Javascript object is destroyed
* chore: add regression test for #14513
This test is similar to the original gist at https://gist.github.com/bpasero/a02a645e11f4946dcca1331d0299149d -- the key is to open multiple windows and add an `app.on('browser-window-focus') listener that accesses window.id.
* fix: last commit didn't test the right thing.
The test needs to run in the main process to reproduce the
conditions reported in #14513
2018-09-12 13:58:04 -05:00
Jeremy Apthorp
147d5f0dd9
chore: remove ELECTRON_GN_BUILD define
2018-09-12 11:47:16 -07:00
Charles Kerr
4b5cb7c548
fix: cpplint didn't work in GN ( #14581 )
...
* fix: cpplint didn't work in GN
* feat: make cpplint non-errors less noisy
* refactor: remove unneeded findCppLint helper
We don't need this in the GN world: it's the user's responsibility
to have depot_tools in their path.
* refactor: use const instead of let where possible
2018-09-12 12:44:00 -05:00
John Kleinschmidt
1682170d3d
Merge pull request #14575 from electron/do-not-use-libcc-in-ci-scripts
...
ci: do not use scripts and binaries from the libcc repo
2018-09-12 12:23:49 -04:00
John Kleinschmidt
b2f73efcff
Merge pull request #14553 from electron/appveyor-yml
...
ci: rename appveyor{-gn,}.yml
2018-09-12 11:02:43 -04:00
Milan Burda
932f6c8a41
feat: add screen reader support to Win32 toast notifications ( #13834 )
2018-09-13 00:18:35 +10:00
Jeremy Apthorp
cfcd008f02
ci: rename appveyor{-gn,}.yml
2018-09-12 09:50:58 -04:00
Robo
2cd03bf360
build: remove duplicate devtools sources ( #14522 )
...
* build: remove duplicate devtools sources
* build: create separate target for chrome sources
* Move sources that are always depended on by electron,
starting with security_state_tab_helper.{cc|h}
* Add //component/strings to pak for devtools security tab
* fix: allow specifying type of the added filesystem.
https://chromium-review.googlesource.com/c/chromium/src/+/729250
* fix: do not index excluded folders
https://chromium-review.googlesource.com/c/chromium/src/+/972579
2018-09-12 08:45:08 -05:00
Aleksei Kuzmin
45837af24a
ci: do not use scripts and binaries from the libcc repo
2018-09-12 13:08:17 +02:00
Samuel Attard
011c3b4326
chore: make large beta numbers work when publishing ( #14571 )
2018-09-12 17:59:06 +10:00
Shelley Vohr
a8a610cb34
chore: remove only on deprecations api spec ( #14564 )
...
* chore: remove only
* add option to ignore missing properties
2018-09-11 23:00:41 -07:00
Jeremy Apthorp
ebbaa4f89b
docs: simplify git cache instructions ( #14562 )
2018-09-12 12:06:55 +10:00
Jeremy Apthorp
b35c8e4e1e
docs: update instructions for building win32 target ( #14560 )
2018-09-12 12:05:51 +10:00
Jeremy Apthorp
f8828aa804
Merge pull request #13756 from electron/chromium-upgrade/67
...
chore: Chromium 67
2018-09-11 14:56:11 -07:00
azure-pipelines[bot]
2470bd4691
ci: set up a lint job ( #14536 )
2018-09-11 14:28:18 -07:00
Robo
f76a8c7b24
build: [m67] enable widevine support ( #14519 )
...
* build: [m67] enable widevine support
* fix: remove plugin cache reset hack
It was added in (#8907 ) to make widevine cdm shows up in
navigator.plugins, since widevine support is no longer
enabled by a plugin it can be removed safely.
2018-09-11 20:24:04 +02:00
Aleksei Kuzmin
ce8e93bad3
tests: ignore nulls and undefined in the "util.promisify" test
2018-09-11 20:24:04 +02:00
Aleksei Kuzmin
56f5d6f8fa
FIXME: tests: disable a "unhandledrejection" test of the remote module
2018-09-11 20:24:04 +02:00
deepak1556
ba0a1cc5e9
build: guard widevine related code behind flag
2018-09-11 20:24:04 +02:00
Aleksei Kuzmin
1ba7e36ade
ci: update Visual Studio version for AppVeyor
2018-09-11 20:24:04 +02:00
Jeremy Apthorp
917a905447
fix: force SharedArrayBuffer feature to be enabled ( #14498 )
2018-09-11 20:24:04 +02:00
Jeremy Apthorp
829b230b85
fix: initialize tracing controller before starting platform ( #14499 )
2018-09-11 20:24:03 +02:00
Aleksei Kuzmin
7589555cec
inspector: stop dragging platform pointer
...
https://github.com/nodejs/node/commit/296fd57324
2018-09-11 20:24:03 +02:00
deepak1556
11349ebf2e
build: //service/viz mojo interfaces for osr
...
(cherry picked from commit da2b2e7e4eb1fd8424c849d023d365619345735b)
2018-09-11 20:24:03 +02:00
Aleksei Kuzmin
9f6cf9623c
chore: fix a chromium-style error
...
osr_render_widget_host_view.cc:1150:12:
error: [chromium-style] auto variable type must not deduce to a raw pointer type.
(cherry picked from commit cc8e4ef68376627d20377ae3491df8e4f8dee08e)
2018-09-11 20:24:03 +02:00
Heilig Benedek
1a9e253259
fix: fix osr compilation on Windows
2018-09-11 20:24:03 +02:00
Aleksei Kuzmin
8bfad3ace3
build: use default value of the enable_widevine flag
2018-09-11 20:24:03 +02:00
Aleksei Kuzmin
186f8d14b5
gpu: Merge gpu_ipc_service_unittests into gpu_unittests
...
https://chromium-review.googlesource.com/976983
2018-09-11 20:24:03 +02:00
Aleksei Kuzmin
f6080b04ea
Update test targets paths for Blink
2018-09-11 20:24:03 +02:00
Jeremy Apthorp
d80ee5153a
printing compiles on windows, but is explosively wrong
2018-09-11 20:24:03 +02:00
Jeremy Apthorp
64e79ce2b1
//printing/features/features.gni moved to buildflags.gni
2018-09-11 20:24:03 +02:00
Jeremy Apthorp
c6fbe5a7fe
Fix path to blink resources
2018-09-11 20:24:03 +02:00
Jeremy Apthorp
9a296fc63e
Fix code triggering new -Wmicrosoft-cast warning in M67
2018-09-11 20:24:03 +02:00
Jeremy Apthorp
5b25c2db5d
Need new #include for base::UTF8ToUTF16
2018-09-11 20:24:03 +02:00
deepak1556
63006aebe8
REVIEW: Delete WidgetDelegate before widget is destroyed.
...
Ideally widget delegates must outlive their widget, but since
we manage the lifetime of native widget, allow the delegate to
be destroyed when widget is destroyed.
https://chromium-review.googlesource.com/c/chromium/src/+/977244
2018-09-11 20:24:03 +02:00
deepak1556
9264a00dfd
Simplify EnsureProcessTerminated() implementations.
...
https://chromium-review.googlesource.com/c/chromium/src/+/920799
2018-09-11 20:24:03 +02:00
deepak1556
8da2bd43b8
Include the node header at the end to avoid collisions
2018-09-11 20:24:03 +02:00
Samuel Attard
cad1d9aa9c
Handle case where IO thread is not yet running, in C67 this results
...
in a hard crash
refs: https://chromium-review.googlesource.com/c/chromium/src/+/973556
2018-09-11 20:24:03 +02:00
Samuel Attard
0b2b44becf
Handle unknown symbols for media:: method
...
small implementation so instead of exposing with patch, copy impl
This will be fixed once we remove chromium_src as a thing from e/e
2018-09-11 20:24:03 +02:00
Samuel Attard
dc5c49ea7f
SetUserAgentOverride now takes a 2nd override_for_new_tabs argument
...
refs: https://chromium-review.googlesource.com/c/chromium/src/+/846713
2018-09-11 20:24:03 +02:00
Samuel Attard
b381e852b1
media: Stop registering CDM adapter as a pepper plugin
...
https://chromium-review.googlesource.com/956255
2018-09-11 20:24:03 +02:00
Samuel Attard
6e2bb728b9
Replace ProxyConfigSource with ProxyConfigWithAnnotation.
...
https://chromium-review.googlesource.com/c/chromium/src/+/934126
2018-09-11 20:24:03 +02:00
Samuel Attard
a0a4c7b82c
Implement GetPermissionStatusForFrame in AtomPermissionManager
...
Implenation and requirement comes from CR: https://chromium-review.googlesource.com/c/chromium/src/+/940744
2018-09-11 20:24:03 +02:00
Samuel Attard
8a6fccf3d1
[GURL] (1 of 2) Prep for stripping "username:password" from internal schemes
...
https://chromium-review.googlesource.com/c/chromium/src/+/978450
2018-09-11 20:24:03 +02:00
Samuel Attard
aa6d769229
Handle external protocols with the network service.
...
https://chromium-review.googlesource.com/c/chromium/src/+/956091
2018-09-11 20:24:03 +02:00
Samuel Attard
dde194d853
Remove the memory property from getAppMetrics
...
See 03d0bfd593 for more information
2018-09-11 20:24:03 +02:00
Samuel Attard
14df89f214
Remove the 'getProcessMemoryInfo' API
...
* Underlying APIs have been removed in Chromium
* https://chromium-review.googlesource.com/c/chromium/src/+/969089
* https://chromium-review.googlesource.com/c/chromium/src/+/953723
* https://bugs.chromium.org/p/chromium/issues/detail?id=819289
* https://github.com/electron/electron/projects/11#card-11509601
2018-09-11 20:21:32 +02:00
Aleksei Kuzmin
833b55107d
Plumb the RenderFrameHost through for CheckMediaAccessPermission
...
https://chromium-review.googlesource.com/938862
2018-09-11 20:21:32 +02:00
Aleksei Kuzmin
ca28b39d9c
Rename buildflag_headers for consistency
...
https://chromium-review.googlesource.com/975990
https://chromium-review.googlesource.com/c/chromium/src/+/988132
2018-09-11 20:21:32 +02:00
deepak1556
67f6e21bd2
No longer save the IO message loop in net::EnsureNSSHttpIOInit
...
https://chromium-review.googlesource.com/c/chromium/src/+/963762
2018-09-11 20:21:32 +02:00
deepak1556
ed045c10ee
Replace ProxyConfigSource with ProxyConfigWithAnnotation.
...
https://chromium-review.googlesource.com/c/chromium/src/+/934126
2018-09-11 20:21:32 +02:00
deepak1556
d15d08bad6
Improve ClearOnExit behavior of cookies using domain matching
...
https://chromium-review.googlesource.com/c/chromium/src/+/975861
2018-09-11 20:21:32 +02:00
deepak1556
400b23c5cb
Introduce additional Certificate Transparency preferences
...
https://chromium-review.googlesource.com/c/chromium/src/+/987513
2018-09-11 20:21:32 +02:00
Aleksei Kuzmin
0afebdc531
The Great Blink mv for source files, part 2.
...
https://chromium-review.googlesource.com/1001153
2018-09-11 20:21:32 +02:00
Aleksei Kuzmin
00423b06c6
Migrate BrowserThread::IsMessageLoopValid to BrowserThread::IsThreadInitialized.
...
https://chromium-review.googlesource.com/977063
2018-09-11 20:21:31 +02:00
Aleksei Kuzmin
7bd1b85d4e
Rename net/proxy_resolution/proxy_service* files
...
https://chromium-review.googlesource.com/941901
2018-09-11 20:21:31 +02:00
Aleksei Kuzmin
7c32524515
Use libcc based on Chromium 67.0.3396.99 and Node 10.6.0
2018-09-11 20:21:31 +02:00
Robo
14ed71fa1b
fix: use render client id to track deleted render process hosts ( #14520 )
...
* fix: use render client id to track deleted render process hosts
Instead of relying on OS process id, which may not be unique
when a process is reused, we rely on the renderer client id
passed by the content layer when starting the renderer process
which is guaranteed to be unique for the lifetime of the app.
* fix: store context id as int64_t
Ensuring that it doesn't wrap easily with a large number
of context creation on some malformed web pages.
2018-09-11 11:18:10 -07:00
Shelley Vohr
2157d09956
chore: refactor deprecation apis ( #14495 )
2018-09-11 11:16:49 -07:00
Jeremy Apthorp
3a6e88c0e7
ci: fix path to dist.zip on appveyor ( #14535 )
2018-09-11 09:38:41 -07:00
John Kleinschmidt
58fd76b6b5
Merge pull request #14546 from electron/fix-pylint-errors
...
chore: fix pylint errors
2018-09-11 10:30:34 -04:00
Aleksei Kuzmin
5ba01256a4
chore: fix pylint errors
2018-09-11 14:53:23 +02:00
Milan Burda
0821edc843
refactor: cleanup web-frame-init.js ( #14516 )
...
* refactor: add error-utils.js
* fix exception handling for asyncWebFrameMethods
* remove dead code
* handle exceptions
* rename rehydratedError to deserializedError
* Revert "handle exceptions"
This reverts commit 396b179948 .
2018-09-11 19:56:00 +10:00
Milan Burda
38419e3a6a
chore: address TODO for WebContents.prototype.setSize / reportRemovedAttribute removal ( #14517 )
...
* chore: remove WebContents.prototype.setSize
* chore: remove reportRemovedAttribute
* chore: remove unused fixtures
2018-09-11 17:58:57 +10:00
Jeremy Apthorp
f5aac36421
chore: rename circleci builds to remove -gn and -fyi ( #14531 )
2018-09-11 17:57:41 +10:00
Milan Burda
58577bd431
feat: add options to webContents.loadFile ( #14515 )
2018-09-11 17:56:49 +10:00
Jeremy Apthorp
7a766e82f9
chore: fix cpplint.js when LINTER_PATH doesn't exist ( #14537 )
2018-09-11 17:54:20 +10:00
Jeremy Apthorp
0ab95b76a7
docs: add note about origin URLs to GN build docs ( #14530 )
2018-09-10 12:31:41 -07:00
John Kleinschmidt
f44722d5d3
Merge pull request #14523 from electron/fix-webview-ignore-shortcuts
...
fix: read ignoreMenuShortcuts per WebContents
2018-09-10 12:04:44 -04:00
Jakub Žitný
3ab22c6164
docs: specify BrowserWindow features passable to window.open
2018-09-10 17:49:54 +02:00
Alexey Kuzmin
382afc03ae
chore: clean up asar stuff ( #14505 )
...
* chore: reformat code
* refactor: getOrCreateArchive() for ASARs
- store cached archive in a Map
- return `null` instead of `false` on failures
* refactor: splitPath() for ASARs
- store custom extension in a constant
- remove magic numbers
- add comments
* refactor: explicitly use assert() for a developer error
* chore: remove console.log() calls
* refactor: replace "p" arguments with "pathArgument"
"path" would be a better name, but it is already taken
but the "path" Node module.
* refactor: createError() for ASARs
- return an `Error` instance
- use enum for error types
- minor improvements
* refactor: use more meaningful name for an arg than just "arg"
2018-09-10 08:29:19 -07:00
John Kleinschmidt
2d2d1d2090
Merge pull request #14512 from electron/do-not-use-electron-gyp-for-verify-ffmpeg
...
refactor: do not use electron.gyp contents in the verify-ffmpeg script
2018-09-10 09:34:16 -04:00
Cheng Zhao
13334d023d
fix: read ignoreMenuShortcuts per WebContents
2018-09-10 19:06:16 +09:00
Milan Burda
dcd580b6cf
chore: remove app.makeSingleInstance / releaseSingleInstance ( #14518 )
2018-09-10 16:33:36 +10:00
Felix Rieseberg
f012ed8357
docs: Update menu-item with new position props ( #14465 )
...
* docs: Update menu-item with new position props
* 📦 Update electron-typescript-definitions
2018-09-09 20:03:58 -07:00
Aleksei Kuzmin
b16bf6a95d
ci: pass GN_EXTRA_ARGS to the ffmpeg build
...
Both Electron and ffmpeg should have
the same value of the `target_cpu` build flag.
2018-09-09 12:30:51 +02:00
Aleksei Kuzmin
57a4d86669
refactor: do not use electron.gyp contents in the verify-ffmpeg script
...
Also run verify ffmpeg with cmd instead of powershell
2018-09-09 12:30:51 +02:00
Aleksei Kuzmin
8e525f965d
build: add a helper script to retreive data from a GN project
2018-09-09 12:30:51 +02:00
Jeremy Apthorp
72526927d9
build: remove gyp build files ( #14097 )
...
* build: remove gyp build files
* docs: update build instructions
* build: temporary restore electron.gyp
* build: do not update Electron version in the electron.gyp
* chore: remove unused submodules
* ci: remove obsolete CI scripts and configs
* chore: remove obsolete scripts
* chore: remove obsolete functions from lib/util.py
* ci: send Slack notification for nightly build results
2018-09-09 10:15:32 +09:00
Alexey Kuzmin
98eee52fac
Revert "fix: re-enable power monitor test ( #14458 )" ( #14506 )
...
This reverts commit 567f8a7583 .
2018-09-08 19:37:19 -05:00
Shelley Vohr
2963e377ae
refactor: clean up asar functionality ( #14046 )
2018-09-07 19:23:47 -07:00
Roller Bot
edc6a854d4
chore: bump libcc (master) ( #14492 )
...
* chore: bump libcc submodule to f3a3f588281aba034a0f1f85ca3c65eb5a3f7b66
* chore: bump libcc in DEPS to f3a3f588281aba034a0f1f85ca3c65eb5a3f7b66
2018-09-08 09:09:20 +10:00
Charles Kerr
567f8a7583
fix: re-enable power monitor test ( #14458 )
...
* fix: re-enable power monitor test
* update test for correct return type
* fix: mocha 'after' hook of dbus powerMonitor test
2018-09-07 15:23:27 -07:00
Jeremy Apthorp
58e8c025eb
docs: expand on TODOs in BUILD.gn
2018-09-07 12:26:03 -07:00
Nitish Sakhawalkar
a2ab0d8ebe
fix: notify focus change right away rather not on next tick ( #14453 )
...
* fix: Notify focus change right away, not on next tick
* fix: emit the JS blur/focus events on next tick to avoid race condition
* address feedback from review
* fix: bind deferred Emit() calls to a WeakPtr
This is so that the deferred Emit() calls will be canceled
if the TopLevelWindow is destroyed.
* chore: remove wip/test code cruft
* fix: make linter happy
* Enable disabled tests
* refactor: cleaner impl of EmitEventSoon()
* Revert "Merge branch 'fix-win-focus' of github.com:electron/electron into fix-win-focus"
This reverts commit 90576806eb , reversing
changes made to 9c13e47779 .
* Restore 704722c1 , which was removed in error.
We apologise again for the fault in the subtitles. Those responsible for sacking the people who have just been sacked have been sacked.
2018-09-07 13:21:58 -05:00
John Kleinschmidt
e96433243c
Merge pull request #14487 from electron/manage-webview-webcontents
...
fix: manually manage WebContents of webview when it is detached
2018-09-07 11:27:38 -04:00
Alexey Kuzmin
c7bec13069
test: refactor the "util.promisify" test ( #14491 )
2018-09-07 10:13:10 -05:00
Cheng Zhao
92e094c5f6
fix: manually manage WebContents of webview when it is detached
2018-09-07 15:47:58 +09:00
Heilig Benedek
8e963f10ef
fix: add shell = True to make clang-format work on Windows ( #14121 )
2018-09-07 09:49:43 +10:00
Nitish Sakhawalkar
826af1d676
fix: macOS Window Title And Accessibility Focus ( #14472 )
...
- Override accessibility method in atom_ns_window
- Add title attribute in accessibilityAttributeValue
2018-09-07 09:47:31 +10:00
Roller Bot
53f7fd126d
chore: bump libcc (master) ( #14473 )
...
* chore: bump libcc submodule to d2ffd8ab4b238cb9fa16026ea95bd24b5c79915f
* chore: bump libcc in DEPS to d2ffd8ab4b238cb9fa16026ea95bd24b5c79915f
2018-09-06 13:09:17 -07:00
Charles Kerr
c5820bfabb
fix: don't use deprecated fstatNoException API ( #14463 )
2018-09-06 13:06:32 -05:00
Robo
35a1849e31
chore: enable debugger api specs ( #14475 )
2018-09-07 00:44:22 +10:00
Shelley Vohr
9bf1fb323b
chore: add removeFunction to deprecate module ( #14468 )
...
* chore: add removeFunction function to deprecate api
* re-comment deprecate.member
2018-09-05 21:55:28 -07:00
Charles Kerr
7f22442228
refactor: port the cpplint runner to javascript ( #14440 )
...
* refactor: port the cpplint runner to javascript
* fix: address code review suggestions
* refactor: make .cc, bootstrapped test funcs inline
* refactor: make CC_ROOTS inline too
* fix: test process.mainModule before calling main()
* refactor: reverse logic order in findChangedFiles
* refactor: make findChangedFiles() more readable
* fix: copy-paste error introduced in 3b17400
* chore: fix grammar in log message
2018-09-05 18:16:42 -05:00
Roller Bot
36b39b2d08
chore: bump libcc (master) ( #14466 )
...
* chore: bump libcc submodule to 6609029d431debe5c7a56da5e7ca21368bebc289
* chore: bump libcc in DEPS to 6609029d431debe5c7a56da5e7ca21368bebc289
2018-09-05 14:26:26 -07:00
Robo
c7c95fab2f
build: [gn] widevine cdm support behind flag ( #14423 )
...
* build: [gn] widevine cdm support behind flag
* build: [gyp] link cdm_support in the component build
2018-09-05 16:00:37 -05:00
Robo
8441d09a18
chore: refactor webContents module isCurrentlyAudible api spec ( #14410 )
2018-09-05 16:00:05 -05:00
Electron Bot
4d23e200f0
Bump v4.0.0-nightly.20180905
2018-09-05 10:06:13 -07:00
Felix Rieseberg
163e2d3527
fix: Windows Store Notifications ( #13258 )
...
* 🔧 Basic 'are we in the desktop bridge' check
* 🔧 Store the result of the call
* 🔧 Create ToastNotifier correctly in UWP environment
* 🔧 Actually, improve this all around
* ❤️ Implement feedback
* 🔧 Fix compiler issues
* 🔧 Mutex is banned, go to option 2
* 🔧 Use getProcAddress
* 📝 Make comment clearer
* ❤️ Implement feedback
2018-09-06 02:06:29 +10:00
Alex Sokolsky
9fe456dec1
Update first-app.md ( #14455 )
2018-09-04 21:59:35 -05:00
Roller Bot
357576a114
chore: bump libcc (master) ( #14442 )
...
* chore: bump libcc submodule to 65e44d0b8aad714e17102112a22c6a31e3aa2c2d
* chore: bump libcc in DEPS to 65e44d0b8aad714e17102112a22c6a31e3aa2c2d
2018-09-05 02:36:08 +10:00
Charles Kerr
512b559211
feat: allow some features during beta ( #14215 )
...
* feat: allow all nonbreaking changes during beta
Changes the version policy: currently only nonbreaking bug/security
fixes are allowed during beta. This change would allow all nonbreaking
changes, e.g. new features, during beta.
* refactor: clarify criteria for changes during beta
* Update electron-versioning.md
2018-09-04 11:02:43 -05:00
Shelley Vohr
4c09142f61
chore: pass tag correctly for bump commit reversion ( #14444 )
2018-09-04 08:54:53 -07:00
Milan Burda
c63014c256
refactor: use loadFile when appropriate in tests ( #14422 )
2018-09-04 09:50:53 -05:00
Milan Burda
e8782f2c2d
feat: Remove legacy helpers (Electron Helper EH/NP) ( #14436 )
2018-09-03 21:37:15 -05:00
Milan Burda
e828348904
docs: add missing documentation for <webview> methods ( #14413 )
2018-09-03 13:27:51 +10:00
Cheng Zhao
10176c71ff
fix: webview.focus() should move page focus to webview ( #14427 )
2018-09-03 11:41:54 +09:00
Milan Burda
aa01a7337c
refactor: replace base::Value::DeepCopy and CreateDeepCopy with Clone ( #14420 )
2018-09-02 17:38:35 -05:00
Felix Rieseberg
8e1452d316
docs: Add Electron Fiddle to the readme ( #14396 )
...
* 📝 Add Electron Fiddle to the readme
* 📝 Improve the language a bit
* docs: copyediting
Fix missing word
* docs: change the language a little
2018-08-31 22:56:55 -07:00
Milan Burda
c17a1b37ea
feat: add event.senderId property to IPCs sent via ipcRenderer.sendTo ( #14395 )
2018-08-31 20:13:51 -05:00
Paulius
b89848d683
feat: allow window above full screen windows on mac ( #14122 )
...
* allow window above full screen windows on mac
* add visibility change params to higher level files
* adress feedback, fix bool issue, remove compilation hooks
* adjust readme
* switch to options object
* single argument for native window views
2018-08-31 15:06:02 -07:00
Roller Bot
c3d51bc2fe
chore: bump libcc (master) ( #14406 )
...
* chore: bump libcc submodule to a664c7088a87575e7567c7b0a814d4bfa74bb118
* chore: bump libcc in DEPS to a664c7088a87575e7567c7b0a814d4bfa74bb118
2018-09-01 09:14:48 +12:00
Cheng Zhao
0ecea96048
fix: use flexbox to style webview ( #14400 )
...
* fix: use flexbox to style webview
* docs: remove notes on browserplugin based webview
2018-09-01 08:53:13 +12:00
Shelley Vohr
dac435b411
test: update power/notification specs to expect ( #13497 )
...
* spec: update power/process specs to expect
* Address comments
2018-09-01 08:52:32 +12:00
Cheng Zhao
586a6f2e6d
docs: add notes on OOPIF webview's behaviors ( #14401 )
2018-09-01 08:52:09 +12:00
Robo
32158ca5dd
chore: refactor context isolation spec ( #14394 )
...
* spec: refactor BrowserWindow module contextIsolation option
* spec: check for serialzation in isolated renderers separately
2018-09-01 08:51:29 +12:00
Milan Burda
3a79eacb6f
refactor: don't expose CallbacksRegistry as an internal module ( #14389 )
2018-08-31 11:29:00 -07:00
Robo
0c4e7104cf
build: [gn] explicitly override rtc_use_h264 ( #14378 )
...
* build: [gn] explicitly override rtc_use_h264
* build: [gn] don't override ffmpeg config from release config
* build: [gn] remove is_cfi override from release config
The original concern about node is fixed and we have been
building testing builds without the override for sometime now.
2018-08-31 12:47:45 -05:00
Shelley Vohr
cbb460d476
Revert "Bump v4.0.0-nightly.20180830"
...
This reverts commit 5f00e58029 .
2018-08-30 23:12:00 -07:00
Electron Bot
5f00e58029
Bump v4.0.0-nightly.20180830
2018-08-30 22:10:45 -07:00
Milan Burda
5a0770f1d3
fix: allow Tray with title only (without icon) on Mac ( #13851 )
2018-08-30 21:16:56 +12:00
Samuel Attard
1b7418fb7b
Revert "sec: deprecate some webPreference defaults to be secure-by-default ( #14284 )" ( #14380 )
...
This reverts commit 66d6ba8689 .
2018-08-30 09:57:49 +12:00
Samuel Attard
66d6ba8689
sec: deprecate some webPreference defaults to be secure-by-default ( #14284 )
...
* feat: deprecate default value of nodeIntegration
* Use DeprecationStatus::Stable as the default instead of shadowing
* change wording of deprecations
* chore: also deprecate kWebviewTag and kContextIsolation
* chore: do as we preach, lets be secure-by-default in the default app
2018-08-29 13:14:04 -05:00
Shelley Vohr
9b2c14a745
chore: add release-artifact-cleanup script ( #14250 )
...
Adds a script to script/ that does the following:
- delete tag from nightlies repo
- delete tag from electron/electron
- revert bump commit in electron/electron
- Delete draft
2018-08-29 11:13:22 -07:00
Jacob Groundwater
d9a7fee79a
feat: Add electron version to framework ( #14296 )
...
* Add electron version to framework
* Update Info.plist
2018-08-29 10:31:45 -07:00
Charles Kerr
2b4dbe409f
fix: doc recipe for debug build ( #14355 )
2018-08-29 09:31:06 -07:00
Alexey Kuzmin
ccd63b5ed0
build: add enable_pepper_flash flag to GN build ( #14349 )
...
* chore: reformat BUILD.gn
* build: add enable_pepper_flash flag to GN build
Fixes #14339 .
* build: move pepper flash under components/
* [ci skip] build: add electron.icns to mac app resources
* build: [gyp] update config to use component pepper flash
* build: [gyp] copy pepper shared libraries into executable folder in component build
2018-08-29 20:39:47 +12:00
Cheng Zhao
2f759151d2
docs: keyboard listeners no longer work on webview ( #14369 )
2018-08-29 15:59:23 +09:00
John Kleinschmidt
865435c491
Merge pull request #14287 from electron/miniak/ipc-refactoring
...
refactor: move common logic to handleRemoteCommand (rpc-server.js)
2018-08-28 17:06:38 -04:00
Cheng Zhao
459a2304b4
fix: emit focus/blur events for webview ( #14344 )
...
* fix: emit focus/blur events for webview
* test: webview can emit focus event
2018-08-28 13:35:44 -05:00
Robo
edd5c4b9bb
fix: use OS process handle to clear object registry ( #14324 )
...
RenderProcessHost switch can happen between ipc calls when
speculative process are invvolved, which will lead to deletion
of entries on current context. Use OS process handles to
uniquely associate a destruction handler for a render process.
2018-08-28 13:32:46 -05:00
John Kleinschmidt
98b7a9ce9c
Merge pull request #14107 from electron/channel_id_patch
...
fix: create persistent channel ID store when cookie store is persistent
2018-08-28 14:10:04 -04:00
Alexey Kuzmin
7edd37bca1
build: add missing enable_view_api flag ( #14351 )
...
* build: add missing enable_view_api flag
Fixes #14340 .
* fix: properly pass a pointer to a SetLayoutManager() call
2018-08-28 10:55:31 -07:00
Robo
07d017dc01
fix: crash when tray is destroyed ( #14347 )
...
Release the view of status item before destroying it,
gives chance to perform cleanup on the view.
2018-08-28 10:45:24 -07:00
Roller Bot
85ea0518c5
chore: bump libcc (master) ( #14353 )
...
* chore: bump libcc submodule to 5db50d4918b667ecba5a67cf48cf0e261d7581fa
* chore: bump libcc in DEPS to 5db50d4918b667ecba5a67cf48cf0e261d7581fa
2018-08-28 10:22:17 -07:00
Samuel Attard
68da311ed1
feat: add session.setPermissionCheckHandler ( #13925 )
...
* feat: add session.setPermissionCheckHandler to handle syncornous permission checks vs requests
* spec: add tests for session.setPermissionCheckHandler
* docs: add docs for session.setPermissionCheckHandler
* feat: add mediaType to media permission checks
* chore: cleanup check impl
2018-08-28 09:05:08 -05:00
Siddharth Dalal
afdb6c5f90
feat: 'will-move' event for windows. ( #14283 )
...
* feat: 'will-resize' window event (Windows only)
* documentation for 'will-move' event
* comment and line break fix in docs
2018-08-28 08:44:10 -05:00
Milan Burda
28e4fcea3b
refactor: move common logic to handleRemoteCommand
2018-08-27 21:06:03 +02:00
Milan Burda
f1fe485768
fix: don't expose desktopCapturer in sandboxed renderers if the feature is disabled ( #14310 )
2018-08-27 13:16:52 -05:00
Samuel Attard
a43a292d18
fix: dont parse arguments after a -- in the inspector ( #14297 )
2018-08-27 10:50:23 -07:00
Roller Bot
61462bdba2
chore: bump libcc (master) ( #14317 )
...
* chore: bump libcc submodule to 99c3a9966a9bef4a54b1740d9fed30ce78b4c421
* chore: bump libcc in DEPS to 99c3a9966a9bef4a54b1740d9fed30ce78b4c421
2018-08-27 10:21:20 -07:00
Milan Burda
a08ca9defb
fix: don't crash on tray.setContextMenu(null) ( #14322 )
2018-08-27 11:58:47 -05:00
John Kleinschmidt
fd27d75129
Merge pull request #14314 from electron/disable-a-test
...
test: disable "app moduele > app.exit(exitCode) > closes all windows"
2018-08-27 11:29:27 -04:00
Alexey Kuzmin
c8705625c9
build: windows gn linker fix ( #14281 )
...
* Fix to gn build linking
* chore: update node ref
* build: [gn win] add dependency on desktop_capture source_set in component build
* build: [gn] update definitions for node shared mode
* chore: update node ref
* chore: update node ref
2018-08-27 11:17:23 -04:00
Aleksei Kuzmin
4943f9fc14
tests: disable "app moduele > app.exit(exitCode) > closes all windows"
2018-08-27 16:21:12 +02:00
Milan Burda
edd1eaee5c
fix: don't expose view APIs when not enabled ( #14312 )
2018-08-27 08:03:46 +09:00
Aleksei Kuzmin
1293b463ba
tests: refactor "app module" tests
2018-08-26 16:54:51 +03:00
Samuel Attard
90545bda95
docs: explain "worldId" in the web frame docs ( #14309 )
...
Fixes #14288
2018-08-25 12:48:57 -07:00
Milan Burda
2a253c73db
refactor: use std::string instead of base::string16 for IPC channel names (ipcRenderer.sendTo) ( #14302 )
2018-08-24 15:30:10 -07:00
Emmanuel Kimmerlin
5f6706ac33
feat: BrowserWindow.getNormalBounds() ( #13290 )
...
* First commit
* Add Mac support (1st attempt)
* Add Mac support (2nd attempt)
* Simplify tests
* Restore window state !
* Looking at other tests, seems minimize, maximize, fullscreen are skipped when in CI
* Fix Mac tests
* Restore tests in CI
* Fix typo
* widget getRestoredBounds not working on Mac !!
* widget getRestoredBounds not working on Mac !!
* Add IsNormal function
* Add IsNormal
* IsNormal => isNormal
* Deactivate fullscreen on Mac. Do not receive leave-fullscreen event
* Set default original_frame_
* Set default original_frame_
* Fix Mac
2018-08-24 14:33:27 -07:00
Felix Rieseberg
872890ea5c
docs: Developer instructions for native Node addons ( #13121 )
...
* docs: Developer instructions for native Node addons
Credits for actually finding this easy method goes to @nornagon.
* 📝 Of course there's a typo
2018-08-24 14:28:11 -07:00
Leo MG Nesfield (LMGN)
519b57838a
Fix broken link ( #14301 )
2018-08-24 14:25:15 -07:00
Jeremy Apthorp
c452be02b9
refactor: properly report on skipped native modules tests ( #13894 )
2018-08-24 14:24:24 -07:00
Robin Andersson
4cf264f87a
fix: Brought win speechSynthesis up-to-speed ( #14070 )
...
The implementation was brought up-to-speed with Chromium 70.0.3522.1 (https://chromium.googlesource.com/chromium/src.git/+/70.0.3522.1/chrome/browser/speech/tts_win.cc ).
This to solve issues with Windows not returning voices (#11585 ).
2018-08-24 14:16:39 -07:00
Milan Burda
c23e7fa101
refactor: implement ipcRenderer.sendTo in native code for better performance ( #14285 )
2018-08-24 14:14:39 -07:00
Milan Burda
e6e3ccfc50
refactor: use std::string instead of base::string16 for IPC channel names ( #14286 )
2018-08-24 10:30:37 -05:00
John Kleinschmidt
605a4570c1
ci:Split out appveyor gn builds into separate jobs ( #14282 )
...
* Split out appveyor gn into separate jobs
2018-08-24 10:49:01 -04:00
Electron Bot
ef4ae27b52
Bump v4.0.0-nightly.20180823
2018-08-23 21:23:50 -07:00
Robo
bce5bd87a8
fix: opt into location services once device service has been started ( #14253 )
...
* fix: opt into location services once device service has been started
* refactor: provide fake location provider to mock geolocation reponses
* chore: add spec for navigator.geolocation api using fake location provider
2018-08-23 08:51:46 -07:00
Robo
c8f506a8aa
fix: add method and referrer properties to app login event ( #14231 )
...
* refactor: remove brightray/network_delegate.{cc|h}
* refactor: respond to http requests through network delegate
2018-08-23 18:55:13 +09:00
Cheng Zhao
6736d4ef29
fix: do not bubble up resize event from webview ( #14271 )
2018-08-23 15:42:35 +09:00
Cheng Zhao
cd8bb1d3b4
chore: print error when removed webview attribute is used ( #14230 )
...
* chore: print error when removed webview attribute is used
* docs: document removed webview features
2018-08-23 10:45:43 +09:00
Roller Bot
82b75f863d
chore: bump libcc (master) ( #14263 )
...
* chore: bump libcc submodule to c85470a1c379b1c4bedb372c146521bc4be9b75d
* chore: bump libcc in DEPS to c85470a1c379b1c4bedb372c146521bc4be9b75d
2018-08-22 19:44:13 -05:00
Robo
2d1b16b174
build: [gn] fix node header generation target in appveyor ( #14218 )
...
* build: [gn] fix node header generation target in appveyor
* build: fix tests run on AppVeyor
* build: [gn win] copy node.lib to node_headers on appveyor
* Fix verify-ffmpeg paths
2018-08-22 15:37:22 -04:00
Samuel Attard
7a514d26bb
fix: inheritance of webPreferences sub properties
2018-08-22 11:16:46 -05:00
John Kleinschmidt
5a72441b2a
build: build ffmpeg and native_mksnapshot for GN release builds ( #14240 )
...
* build ffmpeg and native_mksnapshot for GN release builds
* Test ffmpeg via verify-ffmpeg.py
* remove sccache from Windows builds
2018-08-22 11:41:25 -04:00
Charles Kerr
a2a7c6b062
chore: ask for specific info in bug templates ( #14229 )
...
* chore: ask for specific info in bug templates
* fix: change how version is asked for in bug template
2018-08-22 08:21:54 -07:00
Electron Bot
79eac1fdcb
Bump v4.0.0-nightly.20180821
2018-08-21 13:34:20 -07:00
Samuel Attard
4b33d083b2
chore: retry for the meta dumper a few times ( #14241 )
2018-08-21 13:29:44 -07:00
Samuel Attard
20423df112
Revert "Bump v4.0.0-nightly.20180821"
...
This reverts commit 73c43eaea7 .
2018-08-21 13:14:37 -07:00
Charles Kerr
e315e4d308
build: use electron-frameworks sccache ( #14171 )
...
* build: update-external-binaries fetches sccache
* build: add util.add_exec_bit in scripts/
* build: use util.add_exec_bit in create-dist
* build: use util.add_exec_bit in update-external-binaries
this is needed to work around a bug in python's zipfile module that doesn't preserve the exec bit
https://bugs.python.org/issue18262
* fix: linting errors
* build: vsts, circleci use patched sccache
* build: always look for the x64 sccache
as it's the only arch we have it on
* fix: windows-specific errors in updaste-external-binaries
* fix: tyop
* fix: set SCCACHE_BUCKET, SCCACHE_TWO_TIER on circleci
* fix: syntax error in circleci yaml
* fix: keep churning
* chore: add tracer to file downloader
* docs: add sccache instructions for GN builds
* build: pull down the darwin sccache on mas builds
* build: use gn sync verbosely on circleci and vsts
* docs: copyediting
* build: remove unnecessary cache-dir arg
* docs: fix shell quoting in gn build instructions
* fix: invoke gclient without -verbose in circleci
* refactor: remove debug tracer
* fix: invoke gclient without -verbose in appveyor
* fix: invoke gclient without -verbose in vsts
* fix: pull add_exec_bit from correct source
* fix: remove 'SCCACHE_TWO_TIER' from CI scripts
* refactor: remove SCCACHE_BUCKET from ci scripts
this environment variable will be set via the CI UI instead
* refactor: clarify log message
* fix: set SCCACHE_PATH correctly for Windows CI
2018-08-21 15:40:06 -04:00
Electron Bot
73c43eaea7
Bump v4.0.0-nightly.20180821
2018-08-21 11:55:32 -07:00
Samuel Attard
5d06c77bf1
Revert "Bump v4.0.0-nightly.20180821"
...
This reverts commit d2cd641381 .
2018-08-21 11:44:51 -07:00
Samuel Attard
776943218a
ci: add better logging around request failures for releasing ( #14239 )
2018-08-21 11:39:51 -07:00
Electron Bot
d2cd641381
Bump v4.0.0-nightly.20180821
2018-08-21 11:15:56 -07:00
Milan Burda
fc85d02786
feat: expose missing process APIs in sandboxed renderers ( #13505 )
2018-08-21 11:05:45 -07:00
Jeremy Apthorp
f82f89b2a3
build: [gn] add distributable zip target ( #14093 )
...
* build: [gn] add distributable zip target
* build: update the CircleCI config
- enable debug and testing builds on Mac
- run Mac release builds nightly
- run test for Mac release builds
- use shared build machines configs
* Add resources dir to zip on non mac platforms.
2018-08-21 13:06:28 -04:00
Milan Burda
7253c7f843
refactor: move SpecialStoragePolicy from brightray to atom ( #13944 )
2018-08-21 08:51:04 -07:00
Robo
fc730cc705
build: [gn mac] copy ffmpeg lib to framework bundle ( #14225 )
...
* build: [gn mac] copy ffmpeg lib to framework bundle
* Pull build config from enviroment variable
* build: use component ffmpeg in testing mode
2018-08-20 17:02:52 -04:00
Shelley Vohr
26925e6d48
chore: remove autorelease check logic ( #14220 )
2018-08-20 10:55:38 -07:00
Heilig Benedek
14ee5b3d3a
fix: enable osr ( #14074 )
...
* fix: re-enable osr
* fix: add changes from CEF to add MouseWheelPhaseHandler
* fix: re-enable surface synchronization by applying fix from cef
* update method call and enable AsyncWheelEvents var
* fix: make BrowserCompositorMacGetGutterColor behave like chromium
* fix: HANDLE only exists on windows
* fix: pass correct params to mouse_wheel_phase_handler_
* fix variable accessing
* revert: revert the workaround for disableHardwareAcceleration crash
* fix: remove GuestViewCrossProcessFrames from the disabled features list
* revert: remove check from BrowserChildProcessLaunchedAndConnected
2018-08-20 09:54:31 -07:00
Roller Bot
0fc72f1924
chore: bump libcc (master) ( #14214 )
...
* chore: bump libcc submodule to 00cce7a094c5ded91d52d2ac2aac2ab70dc66d02
* chore: bump libcc in DEPS to 00cce7a094c5ded91d52d2ac2aac2ab70dc66d02
2018-08-20 08:42:11 -07:00
Shelley Vohr
8f5923f9bf
chore: add option to return next version from prepare-release ( #14212 )
...
* chore: add option to return next version from prepare-release
* shuffle logic
2018-08-20 08:17:47 -07:00
deepak1556
73b7390707
fix: create persistent channel ID store when cookie store is persistent
2018-08-20 08:52:55 +05:30
Samuel Attard
899dd03aa1
chore: match the bump commit exactly, reverts should not count ( #14207 )
2018-08-19 14:44:42 -07:00
Keerthi Niranjan
5b48e03c7c
fix: Dialog does not close on ESCAPE if defaultId is set ( #14196 )
...
If defaultId is set, it was removing the key reference for the button at 0 which was previously set for the cancel_id
2018-08-19 13:41:03 -07:00
Shelley Vohr
3715719b72
chore: update libcc ref to include osr patch ( #14201 )
2018-08-19 12:57:09 -07:00
Beni von Cheni
aef64c6f48
docs: chrome-command-line-switches.md: update proxy-server support ( #14198 )
...
* docs: chrome-command-line-switches.md: update proxy-server support
Per issue #12443 , the proxy URL in proxy-server switch would not
support username and password authentication.
* docs: security.md: correct checklist #14 markdown
When running "npm run lint:docs" script, linting warning suggests
"Broken links: #13-disable-or-limit-creation-of-new-windows". Update
accordingly to #14 .
2018-08-19 12:34:14 -07:00
Keerthi Niranjan
59e118925a
fix: electron path for postinstall ( #14177 )
...
* fix #14127 issue caused by #12426
* add ELECTRON_OVERRIDE_DIST_PATH check for install.js
2018-08-19 09:40:12 -07:00
Anders Kaseorg
466fe816d5
docs: security.md: Fix navigation lockdown example code ( #14185 )
...
The `url` module is not a constructor; change `require('url')` to
`require('url').URL`. Also, check the entire origin rather than just
the hostname, since otherwise `http://my-own-server.com ` is allowed in
addition to `https://my-own-server.com `, in violation of point 1 (only
load secure content).
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2018-08-18 19:41:55 -07:00
Electron Bot
dbee03d381
Bump v4.0.0-nightly.20180819
2018-08-19 01:09:28 +00:00
Shelley Vohr
55bac9325b
chore: only prepare release if last commit not a bump ( #14192 )
2018-08-18 17:36:16 -07:00
Samuel Attard
8f23fe8ab0
chore: always target master for nightly releases ( #14190 )
2018-08-18 09:21:38 -07:00
Shelley Vohr
8039bdc061
fix: add dist tags for release branches ( #14186 )
...
* fix: add dist tags for release branches
* nightly => master
2018-08-17 18:30:21 -07:00
Electron Bot
3ba9a9b7bb
Bump v4.0.0-nightly.20180817
2018-08-17 23:55:31 +00:00
Samuel Attard
f7dc01b2c5
Revert "Bump v4.0.0-nightly.20180817"
...
This reverts commit 26248323b4 .
2018-08-17 16:52:48 -07:00
Samuel Attard
69f28aea2e
chore: dont check version when publishing ( #14183 )
2018-08-17 16:49:16 -07:00
Electron Bot
26248323b4
Bump v4.0.0-nightly.20180817
2018-08-17 22:58:18 +00:00
Samuel Attard
1f23c5edc6
Revert "Bump v4.0.0-nightly.20180817"
...
This reverts commit b900ea44bf .
2018-08-17 15:53:15 -07:00
Samuel Attard
c6a8ad9e3a
chore: remove v from script :sigh: ( #14181 )
2018-08-17 15:49:12 -07:00
Alexey Kuzmin
2f352d2517
build: add Chromium tests targets ( #14172 )
...
* chore: properly format BUILD.gn
* build: gn: add targets for Chromium tests
Those should only include test targets Electron cares about.
2018-08-17 15:28:00 -07:00
Samuel Attard
c9e704863e
correctly get pre ( #14179 )
2018-08-17 15:15:45 -07:00
Electron Bot
b900ea44bf
Bump v4.0.0-nightly.20180817
2018-08-17 21:40:50 +00:00
Shelley Vohr
bdc65f2823
fix: update_electron_gyp regex for nightlies
2018-08-17 14:35:58 -07:00
Samuel Attard
73f2a7dda9
Revert "Bump v4.0.0-nightly.20180817"
...
This reverts commit 76a592a419 .
2018-08-17 14:34:31 -07:00
Troy
5ea05ddee7
fix: Stricter Testing For Menu Items ( #13992 )
...
This PR includes stricter testing for empty objects so that false context menus are not created along with the tests to ensure future compatibility.
2018-08-17 13:10:14 -07:00
Electron Bot
76a592a419
Bump v4.0.0-nightly.20180817
2018-08-17 20:06:28 +00:00
Samuel Attard
c2063bc139
chore: make beta bumps work ( #14174 )
2018-08-17 13:00:43 -07:00
Samuel Attard
0c0ca57f4b
chore: use --bump for all releases
...
Approved by @codebytere
2018-08-17 12:23:27 -07:00
Shelley Vohr
6861c10183
chore: allow nightlies from release branches ( #14157 )
...
* chore: allow nightlies from release branches
* keep current version from beta to nightly
* move version bump logic to bump-versi.py
2018-08-17 10:42:45 -07:00
Robin Andersson
ba98ef382d
chore: update serve version 6.5.3 -> 6.5.8 ( #14159 )
2018-08-17 09:48:01 -07:00
Charles Kerr
51b76f0635
build: use GIT_CACHE_PATH ( #14165 )
...
* build: add GIT_CACHE_PATH
The merge at https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1105473 was to specify git cache entirely from the environment variable [and] removal of the general --cache-dir option from gclient
* docs: document GIT_CACHE_PATH in GN build
* fix: try to fix appveyor-gn env syntax
2018-08-17 09:20:20 -07:00
Samuel Attard
59d6c1e063
chore: use metadumper service to create index.json file ( #14158 )
2018-08-16 22:23:46 -07:00
Shelley Vohr
8b6072b411
chore: fix npm nightly dist-tag ( #14155 )
2018-08-16 17:17:59 -07:00
Shelley Vohr
966d776c18
chore: support otp ( #14154 )
2018-08-16 17:08:52 -07:00
Alexey Kuzmin
aca2293fa9
build: gn: commit patches after they have been applied ( #14147 )
...
* chore: bump libcc
* build: gn: commit patches after they have been applied
It prevents a hooks run failure when `gclient sync` is called
for a second time. Error message:
```
error: ui/latency/ui_latency_export.h: already exists in working directory
latency_info.patch failed to apply
```
2018-08-16 16:29:19 -07:00
Alexey Kuzmin
8adc24eef9
build: add config to build Electron for tests ( #14101 )
...
* build: add config to build Electron for tests
* build: run nightly linux builds for the 3-0-x branch
* build: gn: update CI config for linux builds
- run GN debug and testing builds for PRs (as FYI)
- do not run tests for GN debug builds
- run GN release builds nightly
* build: gn: run testing builds on CI instead of release on Windows
Should save some time since release builds set 'official_build=true'
which make the builds take much more time.
* build: gn: use testing config to run CI jobs on Mac
Tests should run faster for testing builds.
2018-08-16 16:28:01 -07:00
Shelley Vohr
6872180739
don't update index.json in release ( #14151 )
2018-08-16 16:15:00 -07:00
Cheng Zhao
dd5b8769be
fix: use OOPIF for webview tag ( #13869 )
...
* fix: use OOIF for webview tag
* fix: do not call GetNativeView for webview
* fix: OOIPF webview's WebContents is managed by embedder frame
* fix: guest view can not be focused
* fix: clear zoom controller when guest is destroyed
* fix: implement the webview resize event
The webview is no longer a browser plugin with the resize event, use
ResizeObserver instead.
* test: disable failed tests due to OOPIF webview
* fix: embedder can be destroyed earlier than guest
This happens when embedder is manually destroyed.
* fix: don't double attach
* fix: recreate iframe when webview is reattached
* fix: resize event may happen very early
* test: some tests are working after OOPIF webview
* chore: remove unused browser plugin webview code
* fix: get embedder via closure
When the "destroyed" event is emitted, the entry in guestInstances would be
cleared.
* chore: rename browserPluginNode to internalElement
* test: make the visibilityState test more robust
* chore: guestinstance can not work with OOPIF webview
* fix: element could be detached before got response from browser
2018-08-16 15:57:40 -07:00
John Kleinschmidt
48407c5b93
Merge pull request #14148 from electron/update-node
...
chore: update node revision
2018-08-16 14:49:14 -07:00
Aleksei Kuzmin
ac2f823eed
chore: update node revision
2018-08-16 14:24:40 -07:00
John Kleinschmidt
33d914d6ff
Merge pull request #14144 from electron/jumbo-gn-release-builds
...
chore: enable jumbo builds in the GN release config
2018-08-16 14:04:19 -07:00
Charles Kerr
03e8c65b8b
chore: remove duplicate setting
2018-08-16 13:56:03 -07:00
Charles Kerr
575b6df844
chore: promote 'is_jumbo_build=true' to all.gn
2018-08-16 13:41:47 -07:00
Samuel Attard
840db11a92
chore: add flag to skip version check ( #14145 )
2018-08-16 12:04:32 -07:00
Shelley Vohr
22a51625d4
fix: remove arm build validation from release script ( #14143 )
2018-08-16 11:50:29 -07:00
Charles Kerr
3e0d961684
chore: alphabetize config list
2018-08-16 11:46:35 -07:00
Charles Kerr
d294637e9c
chore: enable jumbo builds in GN release configuration
2018-08-16 11:45:04 -07:00
Samuel Attard
982a2f0da2
Bump v4.0.0-nightly.20180816
2018-08-16 10:35:49 -07:00
Samuel Attard
ee4f27ca3f
chore: 0.0.0-dev
2018-08-16 10:32:11 -07:00
Milan Burda
9076a20dc8
docs: fix electron.d.ts typings ( #14125 )
2018-08-16 10:26:36 -07:00
Samuel Attard
3330d4cb35
chore: fix linting ( #14135 )
2018-08-16 10:24:21 -07:00
Samuel Attard
38ae93f0a4
Bump v4.0.0-nightly.20180816
2018-08-16 10:05:00 -07:00
Samuel Attard
e2ba01b1fc
build: replace nightly and dev versions in the release script ( #14134 )
2018-08-16 09:56:24 -07:00
Samuel Attard
d3067cc334
build: nightly is nightly, beta is beta ( #14133 )
2018-08-16 09:28:17 -07:00
John Kleinschmidt
74426ad45e
Merge pull request #14132 from electron/fix-crashreporter-arg
...
docs: crashReporter companyName is not optional
2018-08-16 09:22:16 -07:00
Shelley Vohr
e415efaceb
docs: crashReporter companyName is not optional
2018-08-16 09:15:17 -07:00
Samuel Attard
a58c7c7447
Bump v4.0.0-nightly.20180816
2018-08-16 09:13:36 -07:00
Samuel Attard
2556b5d181
build: use targetRepo in prepare-release ( #14131 )
2018-08-16 09:12:06 -07:00
Samuel Attard
4cf2cde7fb
Bump v4.0.0-nightly.20180816
2018-08-16 08:58:46 -07:00
Shelley Vohr
b9afc68c35
chore: introduce concept of nightly builds to release scripts ( #14130 )
...
* chore: introduce concept of nightly builds to release scripts
* build: publish nightly releases to dedicated repo
2018-08-16 08:57:12 -07:00
John Kleinschmidt
22a2d9bd44
Merge pull request #14100 from electron/gn-arm-builds
...
ci: Add arm/arm64 debug gn builds
2018-08-15 15:37:06 -07:00
John Kleinschmidt
847a9c0ed9
Merge pull request #14099 from electron/vsts-gn-fix
...
ci: [vsts] use the PR's branch rather than master
2018-08-15 12:02:12 -07:00
John Kleinschmidt
9317ee8910
Add arm/arm64 gn builds
2018-08-15 11:39:16 -07:00
Samuel Attard
5f7a595f0a
chore: add FIXME for remote deref ( #14116 )
2018-08-15 09:06:44 -07:00
Shelley Vohr
08a8a3fbfc
chore: update PR template for new notes bot ( #14103 )
...
* chore: update PR template for new notes bot
* include link to release note readme
2018-08-15 08:43:11 -07:00
Samuel Attard
55a1f5d351
fix: add a hidden option to disable remote dereferencing ( #14102 )
2018-08-15 08:08:14 -07:00
Jeremy Apthorp
da3a80ef00
ci: [vsts] build the PR branch
2018-08-14 21:43:47 -07:00
John Kleinschmidt
7ff17ee3ad
Merge pull request #14089 from electron/appveyor-gn-simplify
...
ci: [win] simplify call to electron.exe in appveyor
2018-08-14 14:30:11 -07:00
John Kleinschmidt
dda6bb135a
Merge pull request #14017 from electron/node-gn
...
build: build node with GN
2018-08-14 14:29:17 -07:00
Robo
9989195f19
fix: notify request context shutdown on IO before cleanup ( #14058 )
2018-08-14 14:07:53 -07:00
Jeremy Apthorp
379f40ef93
ci: [win] simplify call to electron.exe in appveyor
...
the python junk was there previously because PowerShell is bad at exit
codes
2018-08-14 11:31:22 -07:00
Jeremy Apthorp
49ee5167c3
Update DEPS
2018-08-14 10:43:55 -07:00
John Kleinschmidt
8c21762bee
Merge pull request #14081 from electron/vs2017-15-4-5
...
ci: Use VS2017 15.4.5 for Chromium 66
2018-08-14 09:50:55 -07:00
John Kleinschmidt
1c509c4743
Use VS2017 15.4.5 for Chromium 66
2018-08-14 09:34:34 -07:00
Roller Bot
3ac8aad495
chore: bump libcc ( #14071 )
...
* chore: bump libcc submodule to d6411e421b0b2f0105d274ac4e5c90dc979463ca
* chore: bump libcc in DEPS to d6411e421b0b2f0105d274ac4e5c90dc979463ca
2018-08-14 06:46:33 -07:00
Charles Kerr
b9490177da
Revert "[WIP] refactor: (Part I) make the ownership of URLRequestContextGetter more clear ( #13956 )"
...
This reverts commit 1c0bb06d4a .
2018-08-13 16:16:04 -07:00
Robo
1c0bb06d4a
[WIP] refactor: (Part I) make the ownership of URLRequestContextGetter more clear ( #13956 )
...
* refactor: desttroy URLRequestContextGetter on IO thread
* Accepts a factory class that can customize the creation of URLRequestContext
* Use a separate request context for media which is derived from the default
* Notify URLRequestContextGetter observers and cleanup on IO thread
* Move most of brightray net/ classes into atom net/
* refactor: remove refs to URLRequestContextGetter on shutdown
* refactor: remove brigtray switches.{cc|h}
* refactor: remove brightray network_delegate.{cc|h}
* refactor: make AtomURLRequestJobFactory the top level factory.
* Allows to use the default handler from content/ for http{s}, ws{s} schemes.
* Removes the storage of job factory in URLRequestContextGetter.
2018-08-13 15:22:45 -07:00
John Kleinschmidt
cb4b3e7be0
Merge pull request #14049 from electron/fix-flaky-sandbox-tests
...
fix: Fix flaky sandbox tests
2018-08-13 13:26:52 -07:00
John Kleinschmidt
828e317360
Fix flaky sandbox tests
...
Windows apparently has issues running opening two windows at once which is causing flakiness on the mixed sandbox tests.
2018-08-13 09:30:20 -07:00
John Kleinschmidt
a53a5ac071
Merge pull request #14045 from electron/enable-mixed-sandbox
...
fix: re-enable mixed-sandbox tests
2018-08-13 08:48:19 -07:00
Shelley Vohr
2ac3d89279
fix: lint js and docs alongside clang-format ( #14044 )
...
* fix: lint js and docs alongside clang-format
* chore: change lint scripts to colon format
2018-08-13 08:20:55 -07:00
Sidney
23541b5b2a
feat: On macOS, Closing Notifications Triggers the 'close' Event ( #13306 )
...
* feat(macOS): implement NotificationDismissed() for Cocoa
* feat(macOS): emit NotificationDismissed() when closing "Alert" notifications
* feat(macOS): emit NotificationDismissed() when closing "Banner" notifications
* fix(macos): Remove calls to private APIs from MAS builds (github.com/electron/electron/pull/13306)
2018-08-13 23:09:25 +12:00
Shelley Vohr
590ae5cd29
fix: re-enable mixed-sandbox tests
2018-08-12 21:29:29 -07:00
Shelley Vohr
c0959bd534
refactor: add 'npm run bootstrap', 'npm run build' ( #14034 )
...
* docs: update package.json and build docs
* fix build release
* address feedback from review
* whoops forgot one
* fix build script
* address feedback from review
2018-08-12 14:01:46 -07:00
Shelley Vohr
b785f45852
fix: override fs.realpathSync.native and fs.realpath.native ( #14031 )
...
* fix: override fs.realpathSync.native and fs.realpath.native
* spec: test new native functions
2018-08-12 00:10:55 -07:00
Shelley Vohr
8dae1c8447
fix: make asarStatsToFsStats nherit from fs.stats ( #14030 )
2018-08-11 23:20:33 -07:00
Jeremy Apthorp
c0dfc4b2eb
ci: [gn] build 32-bit node modules on 32-bit linux ( #14021 )
2018-08-11 12:21:34 -05:00
Jeremy Apthorp
ae79fd1bb3
docs: update GN developer docs ( #14018 )
2018-08-11 12:20:19 -05:00
Jeremy Apthorp
db7cec8d86
ci: build x86 builds on GN in appveyor ( #14019 )
2018-08-10 17:52:54 -05:00
Milan Burda
702cc84bd3
Don't pass preloadPath via ELECTRON_BROWSER_SANDBOX_LOAD for security reasons ( #13031 )
2018-08-10 17:19:49 -05:00
John Kleinschmidt
e08ce7127a
Merge pull request #13877 from electron/gn-ci-win-appveyor
...
ci: [gn] add ci build for gn on windows
2018-08-10 13:40:44 -04:00
Jeremy Apthorp
6d277ec784
[wip] build: try building node with GN
2018-08-10 10:06:27 -07:00
Husayn
19cb5bad94
feat: Add creationTime function to process ( #13542 )
...
* Add process creation time
* Making docs clear for process creation time
* Address comments for process creation time
* Add process info cc file
* fixing comments around documentation
* Update doc for return val
* Capitalize number in docs
* chore: bump electron-typescript-definitions
2018-08-10 09:03:30 -05:00
secult
9902d42760
docs: cancelId works on windows ( #13882 )
...
The note about cancelId not working on windows is not valid. Tried on Windows 7 and Windows 10 and it works in both cases (tested on electron 1.8.7).
2018-08-10 16:07:39 +10:00
Samuel Attard
1c879870ee
chore: add a Mac App Store Private API Rejection template ( #14009 )
2018-08-10 15:35:30 +10:00
Samuel Attard
637280e060
core: add security report issue template ( #14010 )
...
Basically tell people not to raise an issue but to send an email to our security email address. This hasn't happened yet but we should do everything we can to send people in the right direction 😄
2018-08-10 15:30:24 +10:00
Shelley Vohr
7c7543cb39
spec: re-enable app.getAppMetric API ( #13962 )
2018-08-09 13:35:29 -05:00
Milan Burda
271d582aac
refactor: make methods const, cleanup ( #13937 )
2018-08-09 10:15:23 -07:00
GhostlyDark
9005803667
Fix typos ( #13999 )
2018-08-09 10:04:03 -05:00
Milan Burda
9a1ad2b93f
fix: ipcRemote.sendSync regression after moving away from JSON for return values ( #13941 )
2018-08-09 19:45:10 +10:00
Dominic
a7052efaf4
fix: make menu.popup options optional ( #13977 )
...
* add empty object as default param for options
* update docs
* add spec for optional options
* fix: add null check for options
2018-08-08 17:38:52 -05:00
Jeremy Apthorp
fc4499ebd4
chore: roll libcc
2018-08-08 09:33:02 -07:00
Charles Kerr
29f07889e6
feat: add location url to "Node.js Integration with Remote Content" warning ( #13973 )
...
* docs: fix typo
* feat: add location url to Node+Remote warning
2018-08-07 20:40:21 -05:00
Jeremy Apthorp
e6e621515f
chore: disable flaky isCurrentlyAudible test ( #13970 )
2018-08-07 14:23:48 -05:00
John Kleinschmidt
06786e7bb8
Merge pull request #13828 from nornagon/gn-ci-mac
...
ci: [gn] add Mac support to VSTS build
2018-08-06 10:54:22 -04:00
Jeremy Apthorp
2551837ffb
docs: min windows server version for building is 2012 ( #13935 )
2018-08-03 17:32:07 -07:00
Jeremy Apthorp
379998e2f6
docs: recommend windows 10 as the minimum build OS
...
I'm pretty sure building on windows 7 doesn't work.
2018-08-03 15:42:12 -07:00
Shelley Vohr
9f328abe19
refactor: remove instances of createDeepCopy ( #13703 )
...
* add new native_mate converters for base::Value
* fix converter swapping
* remove createDeepCopy from browser/api
* replace missing ListValue converter
* convert bulk of remaining createDeepCopy instances
* convert last remaining instances of createDeepCopy
* incremental progress and helper methods for value conversion
* convert Get and add template function for GetString
* final DictionaryValue method conversions
* remove usage of base::DictionaryValue in web_contents_preferences
* use IsEnabled helper where possible
* Update atom_api_web_view_manager.cc
2018-08-04 07:23:07 +10:00
Jeremy Apthorp
cecb8fb0c4
chore: roll libcc and node DEPS ( #13931 )
2018-08-03 12:36:56 -07:00
Milan Burda
f904057104
fix: add missing "simple" property in several APIs to prevent proxying of return values ( #13905 )
...
* fix: add missing "simple" property in several APIs to prevent proxying of return values
* add tests
2018-08-03 12:07:27 -07:00
deepak1556
e0735baff2
docs: [gn] update build instructions
2018-08-03 11:54:21 -07:00
Jeremy Apthorp
96c39923b6
ci: [gn] add builders for 32-bit linux
2018-08-03 11:08:12 -07:00
Milan Burda
fceed0fcbc
fix: dipToScreenRect / screenToDipRect - window can be null ( #13903 )
2018-08-03 13:08:42 +10:00
Jeremy Apthorp
03293d78a2
chore: roll libcc DEPS ( #13917 )
2018-08-03 10:55:49 +10:00
Birunthan Mohanathas
23440a5ec3
fix: Improve --enable-features/--disable-features handling ( #13920 )
...
As it turns out, we can reinitialize the feature list directly after the
user JS script has been executed instead of much later. This allows
modifications to `--enable-features`/`--disable-features` to work with a
greater set of features.
2018-08-03 10:53:54 +10:00
Shelley Vohr
48ae9b7a9c
docs: update node upgrade doc ( #13891 )
...
Updates the node upgrade doc to take path changes into account as well as to incorporate the new `get-patch` script which simplifies work significantly.
2018-08-01 23:33:37 -07:00
Jeremy Apthorp
c068bc7d3d
test: make nativeImage relative path test robust to different cwd
2018-08-01 15:19:26 -07:00
Jeremy Apthorp
651e7d21c4
Try setting npm_config_msvs_version
2018-08-01 10:35:03 -07:00
Jeremy Apthorp
63604278ec
Add env var to skip native module tests
2018-08-01 10:29:35 -07:00
Jeremy Apthorp
00b2d94785
ci: start the dbus mock server in GN CI
2018-08-01 10:08:02 -07:00
Jeremy Apthorp
a4f02724bf
refactor: use env var to skip native module tests on win32/debug ( #13890 )
2018-08-01 13:33:13 +10:00
Samuel Attard
4990b3990b
spec: add more assertions to help smoke out the close all window failures ( #13868 )
2018-08-01 13:32:07 +10:00
Milan Burda
c52b3d921e
fix: some APIs modified for ASAR support cannot be util.promisify'ed ( #13845 )
2018-08-01 13:06:48 +10:00
Jeremy Apthorp
80d22e8dc0
test out build matrix for debug/release
2018-07-31 17:28:32 -07:00
Jeremy Apthorp
083ec2f60a
ci: [gn] add ci build for gn on windows
2018-07-31 15:28:12 -07:00
Samuel Attard
eb79ad4dab
fix: handle SIGINT and SIGTERM from the Electron CLI helper ( #13867 )
...
Fixes #12840
2018-07-31 13:44:04 -05:00
Felix Rieseberg
a99cc969b5
📝 Update security docs: will-navigate, new-window ( #13884 )
2018-07-31 13:40:26 -05:00
Jeremy Apthorp
31ac89fa2f
ci: gn linux release builds ( #13809 )
2018-07-31 11:18:36 -07:00
Jeremy Apthorp
e22a80b210
chore: [gn] run 'gn format' over BUILD.gn
2018-07-31 09:55:27 -07:00
Jeremy Apthorp
32f456de07
chore: [gn] run 'gn format' over build/node/BUILD.gn
2018-07-31 09:55:27 -07:00
Jeremy Apthorp
260f7775e7
ci: more lenient check for is_ci in lib.util.download
...
AppVeyor sets CI=True or CI=true, not CI=1
2018-07-31 09:51:40 -07:00
Jeremy Apthorp
28b6f2f46d
build: [gn] fix rpath when building with component ffmpeg ( #13874 )
2018-07-30 15:46:04 -07:00
Jeremy Apthorp
ae29d562eb
build: [gn] add //ui/strings:app_locale_settings to locale pak
...
Fixes a crash on Windows when accessing IDS_UI_FONT_FAMILY
2018-07-30 13:59:00 -07:00
Jeremy Apthorp
d0a9c2c77f
build: [gn] build release with is_cfi = false
...
When is_cfi = true (the default on Linux Release), Electron crashes at
boot with SIGILL in V8::InitializePlatform.
2018-07-30 13:58:38 -07:00
Jeremy Apthorp
3bdff2d238
feat: allow setting window shape ( #13789 )
...
This binds Widget::SetShape, an API that already exists in Chromium (for
Windows and Linux). It's a more reliable method of having some parts of
your window be "click-through" than the current `setIgnoreMouseEvents`
API, which messes around with the `WS_EX_LAYERED` window style on
Windows, causing strange bugs and incompatibility with hardware
acceleration.
2018-07-30 13:37:40 -07:00
Jeremy Apthorp
6e224df00e
[wip] ci: add Mac support to VSTS build
2018-07-30 12:50:16 -07:00
Samuel Attard
b22ac5f0a2
build: commit changes to the package-lock.json file ( #13864 )
2018-07-30 15:09:06 +10:00
Alexandre Lacheze
2bba11c5b0
docs: warning unicity of webRequest event listener ( #13482 )
2018-07-30 11:38:59 +10:00
Gellert Hegyi
4bcf0e34c5
fix: window.setVibrancy parameter passing ( #13627 )
...
* fix: setVibrancy parameter passing
* fix: uses correct parameter types for setVibrancy
2018-07-30 11:29:18 +10:00
Alexey Kuzmin
69f6bd921b
chore(tests): allow usage of deprecated APIs in tests ( #13659 )
2018-07-30 11:27:58 +10:00
Felix Rieseberg
c2218cc414
📝 First draft: Here be dragons ( #13835 )
2018-07-30 11:19:23 +10:00
Milan Burda
39c5c200ba
fix: util.promisify(setTimeout) ( #13840 )
2018-07-30 11:14:04 +10:00
Milan Burda
db38c8b620
Fix process.execPath returning parent process path instead of the helper in sandboxed renderer ( #13839 )
2018-07-30 11:13:42 +10:00
Milan Burda
aacbd76baa
docs: fix electron.d.ts typings ( #13841 )
2018-07-30 11:11:23 +10:00
Jeremy Apthorp
a6bc8030ea
build: [gn win] fix path names in js2asar
2018-07-27 12:08:39 -07:00
Jeremy Apthorp
27e6805889
build: [gn] pack ui_strings in locales ( #13827 )
...
Fixes a crash when running the tests on linux:
[15860:0726/132247.086106:WARNING:resource_bundle.cc(586)] unable to find resource: 27282
[15860:0726/132247.086189:FATAL:resource_bundle.cc(587)] Check failed: false.
0 0x7f1cad88ed7d base::debug::StackTrace::StackTrace()
1 0x7f1cad88eccc base::debug::StackTrace::StackTrace()
2 0x7f1cad9327ba logging::LogMessage::~LogMessage()
3 0x7f1ca4dea3ae ui::ResourceBundle::GetLocalizedString()
4 0x7f1ca4db5113 l10n_util::GetStringUTF16()
5 0x7f1ca3753bdd views::(anonymous namespace)::EmptyMenuMenuItem::EmptyMenuMenuItem()
2018-07-27 08:05:36 -07:00
Jeremy Apthorp
38ca2b342b
build: [gn] fix resource path conflict on mac ( #13824 )
2018-07-27 08:04:03 -07:00
Samuel Attard
4b3011f3e8
feat: add getUploadProgress API to the net API ( #13783 )
2018-07-27 07:15:48 -07:00
Birunthan Mohanathas
c8dc2d3730
feat: Add will-resize event to TopLevelWindow ( #13649 )
...
The new `will-resize` event can be used to prevent the resize from
happening before the native window is actually resized. This is in
contrast to the existing the `resize` event, which is sent *after* the
native window has already been resized. For apps with e.g. custom window
snapping logic, the `resize` event is not sufficient because it will
result in flickering between the dragged size and the snapped size.
`will-resize` is only emitted on macOS and Windows.
2018-07-27 18:53:01 +09:00
Jeremy Apthorp
9af9634f7d
chore: remove unused process_type variable ( #13823 )
2018-07-26 23:25:54 -07:00
Jeremy Apthorp
7ed9a88277
build: [gn] fix linking against base_static ( #13810 )
...
* build: [gn] fix linking against base_static
* chore: run 'gn format' over brightray/BUILD.gn
2018-07-26 08:30:37 -07:00
Birunthan Mohanathas
acbabc7635
build: Bump libcc to latest ( #13821 )
...
This picks up electron/libchromiumcontent#617 .
2018-07-26 08:26:08 -07:00
Josh Goldberg
a11e8654cc
Grammar fix in application-architecture.md ( #13798 )
2018-07-26 23:14:20 +10:00
Cheng Zhao
ce4e05b85a
fix: pass scrollBounce by command line flag ( #13812 )
...
Implement the scrollBounce option by reading the command line flag in
`RenderThreadImpl::IsElasticOverscrollEnabled`, there is no more need
to set NSScrollViewRubberbanding.
2018-07-26 18:38:37 +09:00
Cheng Zhao
e125569f87
fix: check string encoding before creating value ( #13815 )
2018-07-26 18:38:17 +09:00
Jeremy Apthorp
9f26dfc23e
build: [gn] win and linux depend on :packed_resources
...
Also, roll libcc to include
9b66eb4f04
2018-07-25 15:49:42 -07:00
Jeremy Apthorp
0efb5853d6
build: [gn] centralize GN args under build/args/*.gn
...
Devs can still locally override or add settings by adding lines after
the `import` statement in args.gn.
This will help make sure that everyone has a common set of build args,
and will allow us to update everyone's build args in git.
2018-07-25 14:24:45 -07:00
Jeremy Apthorp
d1cb8b7d67
build: [gn win] fix webrtc link error in component build
2018-07-25 11:45:40 -07:00
Jeremy Apthorp
3971fbc671
build: [gn] include node_modules in default_app asar
...
The default_app asar was recently changed to reference files inside
`node_modules/` in addition to files inside `default_app/`. The
`js2asar.py` script was updated to interpret what this meant, but the GN
build wasn't. This change somewhat hackily makes the GN build reuse the
`js2asar.py` script so that this and also hopefully any future changes
will work in the GN build as well as the GYP build.
2018-07-25 11:45:22 -07:00
Jeremy Apthorp
58dc6ccd1a
build: [gn] roll node DEPS
2018-07-25 11:45:02 -07:00
Zeke Sikelianos
9220ca2b98
Merge pull request #13784 from electron/fix-enable-disable-features
...
fix: Use --enable-features and --disable-features
2018-07-25 11:09:36 -07:00
Zeke Sikelianos
4822c130a3
Merge pull request #13801 from electron/update-ch-upgrade-docs
...
docs: update an estimate of how much we are behind Chromium
2018-07-25 10:46:03 -07:00
Birunthan Mohanathas
f788143c1a
pr: Update docs
2018-07-25 10:12:27 -07:00
Birunthan Mohanathas
a42ca9eecc
feat: Add BrowserWindow.setWindowButtonVisibility()
...
Fixes #12701 and supersedes #13131 .
Ideally we would have added `setTitleBarStyle()`, but that is a
significantly more involved change. For example, consider the case where
we switch from `hidden` to `normal`. We would not only have to show the
traffic light buttons, we would also have to switch the window from a
frameless to a framed window and deal with various other window state.
Lets instead implement a simple solution for #12701 .
2018-07-25 10:12:27 -07:00
Birunthan Mohanathas
39ff5100bf
fix: Use --enable-features and --disable-features
...
Unlike Chrome, we were not using the --enable-features and
--disable-features command-line arguments to initialize
`base::FeatureList`.
2018-07-25 19:07:49 +02:00
Birunthan Mohanathas
00c0c180ab
build: Bump libcc to latest
...
This picks up electron/libchromiumcontent#609 .
2018-07-25 09:52:57 -07:00
Aleksei Kuzmin
3b2424b4c8
docs: update an estimate of how much we are behind Chromium
2018-07-25 16:35:17 +02:00
Jeremy Apthorp
a01b4d78a4
build: [gn] link dwmapi in component build ( #13773 )
2018-07-25 11:21:36 +10:00
Zeke Sikelianos
89a9ccab8b
docs: clarify default auto-updater installation behavior ( #12783 )
...
* docs: clarify default auto-updater installation behavior
* remove redundant note
2018-07-25 08:33:53 +10:00
Jeremy Apthorp
76a62b44dc
build: [gn] simplify resource pak build
2018-07-24 10:18:27 -07:00
Aleksei Kuzmin
ea16445be7
chore: [tests] update some BrowserWindow tests
...
- manually close an existing windows before creating a new one.
We have to do it because the `afterEach` hook doesn't get called
if a test fails.
- add some async/await goodies
2018-07-24 10:02:54 -07:00
Cheng Zhao
3094f62f0b
fix: use webContentsId with contextId together ( #13749 )
...
After after using `processId-contextCounter` as contextId, it may happen
that contexts in different WebContents sharing the same renderer process
get the same contextId. Using webContentsId as part of key in
ObjectsRegistry can fix this.
2018-07-24 16:21:38 +09:00
Jeremy Apthorp
d7b41462af
build: [gn win] fix dllimport usage in node's usage of icu
...
We're abusing the nodejs build a little bit by building it without ICU support, but forcing the inspector to be built, which depends on ICU. This synchronizes one of the build flags that's required to get ICU to link on Windows.
2018-07-23 10:11:32 -07:00
Cheng Zhao
305e3aad40
refactor: remove private webContents.getId() API ( #13674 )
2018-07-23 18:08:36 +09:00
Cheng Zhao
a88cdf2d1f
spec: suppress mixed-sandbox test in Windows CI ( #13769 )
2018-07-23 18:08:06 +09:00
Cheng Zhao
9d6f1a372e
fix: create WebContents for webview on request ( #13713 )
2018-07-21 11:11:28 +09:00
Jeremy Apthorp
014832237c
Merge pull request #13747 from nornagon/nornagon/gn-ci-builds
...
build: [ci] add GN linux CI build
2018-07-20 16:08:45 -07:00
Jeremy Apthorp
4918e279e2
build: stop defining is_mas_build ( #13742 )
...
is_mas_build is now defined in libcc.
2018-07-20 14:34:12 -07:00
Jeremy Apthorp
77004c6be8
Update DEPS
2018-07-20 14:33:51 -07:00
Jeremy Apthorp
1aa16d0ac0
build: [gn win] fix webrtc link error
...
Fixes link errors of the form
```
init_webrtc.lib(init_webrtc.obj) : error LNK2005: "class webrtc::metrics::Histogram * __cdecl webrtc::metrics::HistogramFactoryGetCounts(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int,int,int)" (?HistogramFactoryGetCounts@metrics@webrtc@@YAPAVHistogram@12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@HHH@Z) already defined in metrics_default.obj
```
2018-07-20 14:30:14 -07:00
John Kleinschmidt
6b3ee233ff
Use actual binary instead of python wrapper
2018-07-20 17:07:31 -04:00
John Kleinschmidt
856483fe61
Add sccache
...
Also removed unneeded slack notifcations
2018-07-20 16:29:57 -04:00
John Kleinschmidt
004abe3ce8
build: [ci] add GN linux CI build
2018-07-20 13:02:28 -07:00
Tiago Danin
1fd6d38a0a
docs: Improved documentation ( #13403 )
2018-07-20 10:58:19 -07:00
John Kleinschmidt
2440d03595
Merge pull request #13739 from electron/fix-rebuild-native-modules
...
fix: update rebuild-test-modules.py for node 10
2018-07-20 11:20:32 -04:00
John Kleinschmidt
af241c8b4b
Merge pull request #13748 from electron/gn-win32
...
build: [gn] working on 32bit windows
2018-07-20 10:25:04 -04:00
John Kleinschmidt
d757e03d86
Merge pull request #13746 from electron/gn-refactor
...
build: [gn] reorganize :electron_lib target
2018-07-20 10:10:47 -04:00
Jeremy Apthorp
16b66db9c7
build: [gn] working on 32bit windows
2018-07-19 17:04:44 -07:00
Jeremy Apthorp
803f84d7ec
build: [gn] reorganize :electron_lib target
2018-07-19 16:30:23 -07:00
Zeke Sikelianos
a2ac31a4bf
Merge pull request #13736 from electron/build--make-nightly-filenames-more-guessable-with-YMD-format
...
build: make nightly filenames more guessable with YMD format
2018-07-19 16:23:11 -07:00
Jeremy Apthorp
9fff635453
build: stop defining is_mas_build
2018-07-19 16:10:16 -07:00
Zeke Sikelianos
9b91d632e0
build: make nightly filenames more guessable with YMD format
2018-07-19 14:12:12 -07:00
John Kleinschmidt
3247d789f2
Merge pull request #13737 from electron/build--do-not-load-dotenv-on-CI
...
chore(ci): do not load dotenv on CI
2018-07-19 15:32:10 -04:00
John Kleinschmidt
f8b646c90a
Merge pull request #13543 from electron/ajm-win7-crash
...
Ensure DirectX capturer is supported.
2018-07-19 15:11:42 -04:00
Zeke Sikelianos
94ea703a32
build: do not load dotenv on CI
2018-07-19 11:48:13 -07:00
Jeremy Apthorp
f2a7fd44ce
build: enable v8 checks in debug mode
2018-07-19 11:39:36 -07:00
Cheng Zhao
e2029435c4
fix: use context counter as contextId
...
For sandboxed renderer it may not have a node::Environment in the context,
using a increasing counter as contextId works for all cases.
2018-07-19 11:00:10 -07:00
John Kleinschmidt
3f228ad715
fix: update for node 10
2018-07-19 13:18:10 -04:00
John Kleinschmidt
9acfe34286
Merge pull request #13724 from electron/windows-release-test-fix
...
build: Temporarily disable found-in-page event test
2018-07-18 21:31:30 -04:00
John Kleinschmidt
f1cc40e3bf
Merge pull request #13359 from electron/release-notes-generator
...
build: New release notes generator
2018-07-18 16:19:32 -04:00
John Kleinschmidt
1d6766008a
Merge pull request #13725 from electron/node-headers
...
build: [gn] add target for building node headers
2018-07-18 16:16:18 -04:00
Jeremy Apthorp
70068f313a
build: [gn] add target for building node headers
2018-07-18 12:01:16 -07:00
John Kleinschmidt
613b03c3c7
build: disable found-in-page event test
...
On Windows release builds, the found-in-page event test causes the test suite to hang. If the test is run individually, it works fine, but running it as part of the whole test suite causes the test suite to hang. This works around the issue in #13704 by temporarily disabling that test.
2018-07-18 14:59:46 -04:00
John Kleinschmidt
fc33130aa3
Merge pull request #13672 from brunolemos/patch-1
...
docs: remove known issues from mac app store submission guide
2018-07-18 14:44:50 -04:00
Samuel Attard
f26880db03
Update docs on semantic requirements for #13359 ( #13365 )
2018-07-18 10:41:58 -05:00
Jeremy Apthorp
91172d6387
build: [gn] move native_mate build config to native_mate dir ( #13706 )
2018-07-18 11:45:13 +10:00
Jeremy Apthorp
0c366f5a7a
chore: [gn] roll libcc DEPS
2018-07-17 15:54:58 -07:00
Samuel Attard
81640806bc
add semantic prefixes from docs
2018-07-18 02:25:56 +10:00
Samuel Attard
57a18d4c49
clean up release notes script
2018-07-18 02:25:56 +10:00
Samuel Attard
2c255680a9
new release notes generator
2018-07-18 02:25:56 +10:00
John Kleinschmidt
05538aa32c
Merge pull request #13629 from electron/use-dot-env
...
docs: use .env (and .env.example) for tokens used in release
2018-07-17 11:57:42 -04:00
John Kleinschmidt
6edbb3e3ed
Merge pull request #13662 from electron/nightly-updates
...
chore: Updates for nightly builds
2018-07-17 11:13:20 -04:00
John Kleinschmidt
3581bf0cfc
Merge pull request #13688 from electron/gn-custom-sysroot
...
build: [gn] use libnotify from custom sysroot
2018-07-17 09:22:49 -04:00
Milan Burda
c8030a0f2a
feat: support chrome:// URLs in default_app ( #13575 )
2018-07-17 17:23:44 +10:00
Samuel Attard
c313fd614c
build: handle win32 path separator in js2asar ( #13694 )
2018-07-17 15:31:06 +10:00
Samuel Attard
777d0113d5
fix: create a window capturer correctly ( #13689 )
...
* fix: create a window capturer correctly
We were incorrectly creating two screen capturers instead of a window
capturer
* spec: ensure dc tests pass
* spec: enable all tests after verifying dc tests work
2018-07-17 14:20:50 +10:00
Samuel Attard
ad9e64d086
fix: remove race condition for executeJavaScript ( #13691 )
...
Replaces 'did-finish-load' with 'did-stop-loading' which semantically
maps to the events inside Chromium. Before I think we were relying
on a natural 99% winnable race condition.
Fixes #13504
2018-07-17 13:32:28 +10:00
Jeremy Apthorp
5864fa321c
build: [gn] use libnotify from custom sysroot
...
Instead of hackily copying from the local machine.
Depends on electron/libchromiumcontent#601
2018-07-16 17:33:42 -07:00
Samuel Attard
12fcac59a2
refactor: clean up the default app, add CSP ( #13437 )
...
* refactor: clean up the default app, add CSP
* chore: appease the linter
* refactor: make js2asar more generic, dont assume default_app as target
2018-07-17 10:26:58 +10:00
John Kleinschmidt
1c70a1cccd
Make sure artifacts are properly saved for nightly release builds
...
Also fix VSTS slack integration and make sure tests don't run for GitHub releases.
Update to latest libchromiumcontent
2018-07-16 17:07:48 -04:00
Shelley Vohr
6045d1218a
refactor: remove experimentalCanvasFeatures property ( #13684 )
2018-07-16 13:32:42 -07:00
John Kleinschmidt
cc03213b62
Merge pull request #13664 from electron/tweak-release-docs
...
docs: update release docs from Fri 13 release session
2018-07-16 16:22:30 -04:00
John Kleinschmidt
1b5b98212d
chore: Don't show download stats of libchromiumcontent for CI. ( #13681 )
...
* Update libcc to latest
* Pass along verbose mode to libcc download
2018-07-16 11:19:53 -07:00
John Kleinschmidt
55ba113678
Merge pull request #13685 from electron/roll-libcc
...
chore: roll libcc DEPS
2018-07-16 13:17:54 -04:00
Jeremy Apthorp
399fe7248f
chore: roll libcc DEPS
2018-07-16 09:57:58 -07:00
Samuel Attard
b44e7fb1f1
docs: update second-instance event docs ( #13656 )
2018-07-16 09:59:44 -05:00
John Kleinschmidt
5764d76efa
Fix formatting
...
Add alternate url for security token (depends on whether you are using new or old navigation on VSTS)
2018-07-16 10:39:31 -04:00
John Kleinschmidt
ede6fd91d0
Merge pull request #13673 from electron/fix-frameless-devtools-crash
...
Fix crash when opening devtools for frameless window
2018-07-16 09:39:16 -04:00
Cheng Zhao
222291631d
spec: openDevTools should not crash for frameless window
2018-07-16 10:23:43 +09:00
Cheng Zhao
4a7c85f43e
fix: use InspectableWebContentsView as content view
2018-07-16 10:20:35 +09:00
Bruno Lemos
f23d6fc107
docs: remove known issues from mac app store submission guide
...
not necessary since #10552
2018-07-15 17:45:50 -03:00
Jeremy Apthorp
5b81fde8a7
build: [gn win] link comctl32.lib to fix component build
2018-07-13 17:21:49 -07:00
John Kleinschmidt
87f34ccda4
Update Windows VS2017 requirement ( #13663 )
2018-07-13 17:43:27 -05:00
Charles Kerr
3653730cba
Add post-publish 'npm dist-tag ls electron' step
2018-07-13 16:17:02 -05:00
John Kleinschmidt
6ea0e73b47
Merge branch 'master' into use-dot-env
2018-07-13 16:02:49 -04:00
Charles Kerr
da92abf964
document ELECTRON_S3_ tokens
2018-07-13 14:42:36 -05:00
Charles Kerr
452b5f342c
add note about multiple calls to validateRelease
2018-07-13 14:17:31 -05:00
Charles Kerr
02d072ed9d
fix VSTS token generation URL
2018-07-13 13:47:40 -05:00
John Kleinschmidt
539b554ecc
Merge pull request #13578 from electron/miniak/refactoring
...
refactor: statically link functions available on Windows 7+
2018-07-13 10:52:37 -04:00
John Kleinschmidt
d4486b0fc4
Merge pull request #13660 from Tomyail/patch-1
...
docs: using chrome://flash to get the flash path
2018-07-13 10:49:15 -04:00
Lxx
b7bc16b39a
docs: using chrome://flash to get the flash path
...
chrome://about no longer works , so we should use chrome://flash instead.
2018-07-13 22:10:04 +08:00
Cheng Zhao
77ca5b7d64
fix: don't invoke callback after FrameSubscriber is destroyed ( #13657 )
2018-07-13 19:54:49 +10:00
PalmerAL
ffc15e02a6
fix: add native function to create preload script ( #13032 )
...
* add native function to create preload script
* add tests
* fix formatting
* fix tests
* rerun CI
2018-07-13 11:17:11 +09:00
Milan Burda
5b0a898dd2
refactor: SHOpenFolderAndSelectItems does not have to be dynamically resolved
2018-07-12 22:28:44 +02:00
Milan Burda
adaa32003d
refactor: DwmGetColorizationColor does not have to be dynamically resolved
2018-07-12 22:28:44 +02:00
John Kleinschmidt
e922b1733b
Merge pull request #13636 from nornagon/gn-release
...
build: [gn] release build
2018-07-12 10:45:21 -04:00
John Kleinschmidt
6b5ccec0c6
chore: Updates for release process ( #13632 )
...
* Fix Appveyor URL
* Update docs to reflect current process
Also added troubleshooting steps.
2018-07-12 07:53:07 -05:00
John Kleinschmidt
facb210f64
Merge pull request #13494 from electron/expect-short-specs
...
chore(spec): convert smaller specs to expect
2018-07-12 08:45:34 -04:00
John Kleinschmidt
9c2287c142
Merge pull request #13635 from electron/node-win32-lean-and-mean
...
build: [gn] define WIN32_LEAN_AND_MEAN in the node build
2018-07-12 08:25:25 -04:00
John Kleinschmidt
f634bbcd99
Merge pull request #13634 from electron/node-clang
...
build: [gn] build node with clang-cl
2018-07-12 08:22:50 -04:00
John Kleinschmidt
fded6e7d0b
Merge pull request #13639 from torycl/torycl/current-master-libcc
...
chore: use current master of libcc to include recent patches
2018-07-12 08:18:31 -04:00
Felix Rieseberg
deedf6c3f4
feat: Add isCurrentlyAudible() to WebContents ( #13614 )
...
* 🔧 Add isCurrentlyAudible() to WebContents
* ❤️ Implement feedback, use await to wait for event
* 👷 Add missing imports
2018-07-12 21:35:11 +10:00
Tomas Rycl
d352e6dc9e
Using current master of libcc to include recent patches
2018-07-12 10:39:28 +02:00
Cheng Zhao
e90c4abc0d
Merge pull request #13603 from electron/fix-remote
...
fix: guard against double-freeing remote references
2018-07-12 11:10:22 +09:00
Cheng Zhao
4cdb1b8fc3
fix double-freeing remote references
...
After the page does navigations, garbage collection can still happen in
the old context. This commit changes to store references to remote objects
by _pages_, instead of by _WebContents_.
2018-07-12 10:44:26 +09:00
Cheng Zhao
9cbbb2a6c4
add API to return an unique ID for page
2018-07-12 10:44:26 +09:00
Jeremy Apthorp
6089254439
build: [gn linux] link static libs for node release build
2018-07-11 18:11:48 -07:00
Jeremy Apthorp
aa4982d830
build: [gn] define WIN32_LEAN_AND_MEAN in the node build
2018-07-11 17:52:18 -07:00
Jeremy Apthorp
097daa6e32
build: [gn] build node with clang-cl
2018-07-11 17:51:35 -07:00
Zeke Sikelianos
2bb970b98e
remove asserts that were obviated by dotenv
2018-07-11 13:56:40 -07:00
Zeke Sikelianos
4f9b8d5d5a
clarify purpose of .env.example
2018-07-11 12:55:15 -07:00
Jeremy Apthorp
98f944c807
build: [gn] link child as well as browser in electron_lib
2018-07-11 11:32:17 -07:00
Zeke Sikelianos
849cddf4be
update tokens portion of releasing docs
2018-07-11 11:02:41 -07:00
Zeke Sikelianos
823f03c1ff
load .env in various release scripts
2018-07-11 11:02:03 -07:00
Zeke Sikelianos
5a796f62ab
add .env.example
2018-07-11 11:00:21 -07:00
Jeremy Apthorp
c44cf88a6e
build: [gn] fix include_dirs ordering error
2018-07-11 10:49:17 -07:00
Jeremy Apthorp
af7800bab1
build: [gn mac] only link libnode.dylib in component build
2018-07-11 10:46:48 -07:00
Jeremy Apthorp
7bec61bac5
build: [gn] fix dllimport warnings
2018-07-11 10:45:21 -07:00
Jeremy Apthorp
03131c5e77
build: [gn] node as a static lib
2018-07-11 10:43:52 -07:00
Jeremy Apthorp
98255ee413
chore: roll libcc DEPS
2018-07-11 10:39:01 -07:00
Jeremy Apthorp
bdceea6aca
fix: enable spell checking, which broke in upgrade to ch66
...
Chromium commit [03563dd163][1] changed the way that the
spellcheck-enabled status was checked, defaulting to false.
Added the first (!) test for spellchecking, too.
Fixes #13608 .
[1]: 03563dd163
2018-07-11 10:27:56 -07:00
Jeremy Apthorp
6fbec9d5a9
chore: [gn] support MAS build
2018-07-11 10:25:07 -07:00
Samuel Attard
addac43bbc
fix: remember the render_process_id when permission requests occur on the IO thread ( #13621 )
...
Fixes #13620
2018-07-11 12:21:47 -05:00
John Kleinschmidt
376094fc0c
Merge pull request #13515 from nornagon/gn-linux
...
chore: [gn] fix linux build
2018-07-11 08:02:42 -04:00
Shelley Vohr
d5d76c56ed
address feedback
2018-07-10 14:20:03 -07:00
Jeremy Apthorp
9241645a4b
build: [gn] depend on /gtk instead of /gtk3
...
(We still depend on gtk3, just via one extra layer of abstraction. The
/gtk target itself depends on /gtk3.)
2018-07-10 13:42:41 -07:00
Jeremy Apthorp
62f62264da
build: [gn] move crashpad to mac-only
2018-07-10 13:42:40 -07:00
Jeremy Apthorp
1e1adef9b6
build: [gn] use clang and custom stdlib when building node on linux
2018-07-10 13:42:36 -07:00
Jeremy Apthorp
d4cf3cee22
build: [gn] use platform-appropriate shlib_suffix when building node
2018-07-10 13:42:33 -07:00
Jeremy Apthorp
99ecbfbd3b
build: [gn] use consistent node configuration between gyp and build
2018-07-10 13:42:29 -07:00
John Kleinschmidt
4ebe71655b
Merge pull request #13597 from electron/release-updates
...
build: Updates to the release process
2018-07-10 11:40:04 -04:00
Jeremy Apthorp
3a58545a59
chore: replace _ASSERT with DCHECK in toast.cc ( #13598 )
...
_ASSERT was triggering errors about unused values when in debug mode
2018-07-10 08:01:26 -07:00
John Kleinschmidt
2040095b96
Move github release checking to node.js
...
Our upload script was relying on an old python script to find the GitHub release for uploading.
2018-07-10 09:40:24 -04:00
John Kleinschmidt
90339b7260
Update to run new AppVeyor jobs
...
AppVeyor builds got split into two jobs, `electron-x64` and `electron-ia32`
2018-07-10 09:40:24 -04:00
John Kleinschmidt
bc2ea0e705
Merge pull request #13540 from electron/breakpad-compat
...
chore: breakpad #include compatibility between GN and GYP
2018-07-10 08:30:56 -04:00
Tomas Rycl
9b6a37ead7
test: Better path compare than just strings ( #13548 )
...
* Better path comparision than just strings
* Linter fix
* Resolving paths first to always obtain absolute path so path.relative() can work
* Using assert.ok which better fits the test
* No need to resolve parameters of path.resolve
* Added assertion to type of returned path for download item
2018-07-10 21:38:11 +10:00
Cheng Zhao
0ec4ad288d
fix: fallback to FullSizeContentView for frameless window on mac ( #13599 )
...
fix: draggable regions not working on macOS
2018-07-10 11:43:42 +10:00
Jeremy Apthorp
810909425e
chore: breakpad #include compatibility between GN and GYP
2018-07-09 16:53:06 -07:00
John Kleinschmidt
28d4f7f25a
Update to latest libchromiumcontent ( #13594 )
2018-07-10 09:49:00 +10:00
Shelley Vohr
ab7a90e82f
feat: ability to apply patch to clang-format errors ( #13576 )
...
* feat: ability to apply patch to clang-format errors
* improve error message formatting
* fix line length linting error
2018-07-09 10:26:10 -05:00
Cheng Zhao
35b867ff7d
Fix failed devtools tests due to fs.statSyncNoException not working ( #13584 )
...
* Revert "spec: disable the i18nString test"
This reverts commit 86c79653de .
* update node to fix fs.statSyncNoException
2018-07-09 09:38:48 -05:00
John Kleinschmidt
17fc7bb9fd
Merge pull request #13567 from electron/nightly-release-notifications
...
ci: Add/update slack notifications for nightly builds
2018-07-06 15:20:29 -04:00
Jeremy Apthorp
f50f8e3f3d
chore: [gn] fix CSP warning in debugger API test ( #13541 )
...
There's an attempt to suppress the warning in `spec/static/main.js`, which
sets `process.env.ELECTRON_DISABLE_SECURITY_WARNINGS`. However, it sets the
variable too late in the boot process: by the time that line in main.js has
run, a child zygote has already been booted. `test.py` works around this by
setting that environment variable outside of the test process, to ensure that
it gets propagated to all children.
I've been running the GN tests directly with `./out/Default/electron
electron/spec`, rather than through the wrapper script, and the
`api-debugger-spec.js` tests were failing, because they depend on a particular
log message being the first one emitted, and the CSP warning was causing that
test to fail, since it wasn't being correctly suppressed.
Instead of writing another wrapper script, this just fixes the underlying thing
that the warning is complaining about, which I think is reasonable because the
test's pass/fail depends on this specific behaviour.
2018-07-06 15:01:33 -04:00
John Kleinschmidt
368da14581
Add/update slack notifications
...
Add slack notifications for CircleCI nightly releases
Update VSTS slack notifications to match other platforms.
2018-07-06 10:23:31 -04:00
Cheng Zhao
dd46b3ec85
Merge pull request #13562 from electron/fix-devtools
...
Fix devtools not functioning well
2018-07-06 10:11:43 +09:00
Cheng Zhao
86c79653de
spec: disable the i18nString test
...
It is failed because of fs.statSyncNoException, I'll fix it in another
PR.
2018-07-06 09:07:56 +09:00
Cheng Zhao
56c24406d6
spec: enable back devtools tests
2018-07-06 09:07:56 +09:00
Cheng Zhao
61ea03ed2d
fix: update devtools url
2018-07-06 09:07:56 +09:00
Cheng Zhao
705bbd31e9
add stubs for new devtools messages
2018-07-06 09:07:56 +09:00
Cheng Zhao
29ff9873f4
implement devtools showItemInFolder message
2018-07-06 09:07:56 +09:00
John Kleinschmidt
5aa136a23d
run test.py with --rebuild_native_modules ( #13570 )
...
Fixes script\verify-ffmpeg crash
2018-07-05 16:53:11 -05:00
Andrew MacDonald
7639e4a32a
Actually try building on Windows.
2018-07-03 01:03:05 -07:00
Andrew MacDonald
68541f2ae8
Ensure DirectX capturer is supported.
2018-07-02 21:37:10 -07:00
Cheng Zhao
cb6ab4de20
fix: update libcc to fix private APIs in mas build ( #13529 )
2018-07-03 11:24:43 +09:00
Hari Juturu
eb223f8bc3
Enable webview in sandbox renderer ( #13435 )
...
* Enable webview in sandbox renderer
Security: Inherit embedder prefs onto webview
* cache lastwebprefs
2018-07-03 02:06:26 +10:00
Shelley Vohr
42d173b343
spec: convert menu specs to expect ( #13485 )
...
* spec: convert menu-item spec to expect
* spec: convert menu spec to expect
2018-06-30 00:25:28 -07:00
Maxine Whitely
6cf68f8247
fix: tray setContextMenu crash ( #13513 )
...
Co-authored-by: Zhuo Lu <sethlu@mintkit.net >
Co-authored-by: Kristine Zhang <kzhang@slack-corp.com >
2018-06-29 14:48:26 -07:00
Jeremy Apthorp
67673cbf7f
chore: fix chromium-style errors in native_mate
...
Also clang-format some stuff.
2018-06-29 12:01:09 -07:00
Jeremy Apthorp
180b41ab73
chore: [gn] use merged-in native_mate
2018-06-29 12:01:09 -07:00
Jeremy Apthorp
3d4487ccfd
Merge pull request #13463 from electron/remove_wtl
...
refactor: Using win32 file open api instead of WTL
2018-06-29 10:00:50 -07:00
Jeremy Apthorp
1186f082db
chore: [gn] roll libcc & node deps ( #13508 )
2018-06-29 09:24:58 -07:00
Jeremy Apthorp
9525c94b5e
chore: [gn] remove now-meaningless skia-related #defines ( #13496 )
...
`SK_SUPPORT_LEGACY_GETTOPDEVICE` was removed in [Jan 2017](https://chromium.googlesource.com/skia/+/76467a11a0aa4ba15f0f2e3ee078ba9b6ecbaa91 )
`SK_SUPPORT_LEGACY_SAFESIZE64` was removed in [Oct 2017](https://chromium.googlesource.com/skia/+/3bd0fece5fadd522c2e8c1b0ca9934d7455d9ccd )
2018-06-29 08:36:20 -07:00
Zac Walker
05096f8a65
Removed WTL include folder
2018-06-29 13:26:46 +02:00
Cheng Zhao
e42c6d3eb7
fix the crash when loading site with jquery ( #13475 )
2018-06-29 09:42:04 +09:00
Shelley Vohr
9489401e7d
spec: convert smaller specs to expect
2018-06-28 15:40:30 -07:00
Jeremy Apthorp
8ad3a2cc42
chore: [gn] add electron_app target for windows ( #13491 )
...
This allows building electron.exe on windows 🎉
2018-06-28 14:58:43 -07:00
Jeremy Apthorp
59fb4eccb4
chore: [gn] link against debug node when in debug mode ( #13490 )
...
This is required on Windows, because in Debug mode, C++ stdlib containers have a different size to when in Release mode, so the code in `node.dll` thought that `node::Environment` was a different size to the code in `electron.exe`, which uh, caused problems.
It should also make debugging through node a bit easier on all platforms.
2018-06-28 14:42:09 -07:00
Jeremy Apthorp
733e495e91
chore: use full path for ui_unscaled_resources.h ( #13492 )
...
This is the path that resolves in Chromium, it also works fine in the gyp build.
2018-06-28 14:41:37 -07:00
Jeremy Apthorp
475eef01c3
chore: [gn] copy node.dll in addition to node.dll.lib ( #13489 )
...
On Windows, you need to link against the `.lib` but the `.dll` needs to be next to the `.exe` at runtime, so we need to copy both.
2018-06-28 14:25:56 -07:00
Jeremy Apthorp
6492732631
chore: [gn] fix link errors relating to static members ( #13488 )
...
I'm not 100% sure why this is working in the gyp build, but I was getting link errors with these variables being defined in the headers.
2018-06-28 14:25:26 -07:00
Jeremy Apthorp
d6af3bfcd2
chore: fix more chromium-style errors in windows code ( #13487 )
...
Finding more chromium-style linting errors as I build more of the windows code :)
2018-06-28 14:20:11 -07:00
Shelley Vohr
003a92e099
refactor: remove deprecated GetAs methods ( #13425 )
...
* refactor: remove deprecated GetAs methods
* restructure URLRequestAsyncAsarJob on win
* fix: add string conversion header
2018-06-27 14:52:48 -07:00
Shelley Vohr
fa0704665f
test: temporarily disable failing specs ( #13470 )
2018-06-27 14:15:24 -07:00
Jeremy Apthorp
4f8acb0cdd
docs: add link to Chromium windows debugging docs
...
I found this tidbit in particular helpful:
```sh
> devenv /debugexe out\Debug\chrome.exe <options to Chromium can go here>
```
2018-06-27 23:06:30 +02:00
Samuel Attard
92588be2bd
refactor: add promise helper and change whenReady to be native impl ( #13115 )
...
* Add promise helper and change whenReady to be native impl
* remove commented code
* add GetInner helper to dedupe promise code
* add Promise.reject helper to be consistent with JS
* fix linting
* update promise impl per feedback
* remove param name from unused isolate
* Use non-depreceated resolvers for promises
* Add thread dchecks for promise helper, intiialize promise pointer to nullptr
2018-06-27 16:06:08 -05:00
Shelley Vohr
e9971173d4
fix: inline vector allocation ( #13449 )
...
* fix: inline vector allocation
* remove size_t static cast
2018-06-27 12:57:10 -07:00
zacwalk
9db76394f7
Link gdi from gyp
2018-06-27 20:58:37 +02:00
Zac Walker
8151c90c6b
Fix warnings as error fixes.
2018-06-27 16:28:12 +02:00
Zac Walker
f122c44b07
Using win32 file open dialogs instead of WTL
2018-06-27 13:09:18 +02:00
Samuel Attard
28d148b475
docs: add native_mate to source code directory structure doc ( #13451 )
2018-06-27 17:46:14 +10:00
Shelley Vohr
f9e2ec43d0
fix: deprecate properties in app.getAppMetrics() ( #13446 )
...
* fix: deprecate properties in app.getAppMetrics()
* address feedback from review
* fix deprecated property location
* simplify test
2018-06-26 23:47:01 -07:00
Milan Burda
08ccc2d624
refactor: rpc-server.js cleanup ( #13420 )
...
* refactor: don't declare variables C-style in JavaScript
* refactor: use new constructor(...args) in rpc-server.js
2018-06-27 11:00:05 +10:00
Cheng Zhao
44aad039c6
fix: do not expose Node's external strings ( #13438 )
2018-06-27 10:18:09 +10:00
Shelley Vohr
1dde9492c9
refactor: remove deprecated CreateWithCopiedBuffer ( #13436 )
...
* refactor: remove deprecated CreateWithCopiedBuffer
* fix: add missing vector includes
* fix std::vector<char> allocation
2018-06-26 15:08:27 -07:00
Jeremy Apthorp
39e6943f1e
chore: [gn] changes to BUILD.gn for windows ( #13434 )
...
Grab basket of changes needed to get the `electron_lib` target building on Windows with GN.
2018-06-26 22:58:20 +02:00
Jeremy Apthorp
4b60efcaf8
chore: [gn] fix WTL include paths and namespace include ( #13433 )
...
As of libchromiumcontent#576, the WTL namespace isn't included by
default in the GN build.
2018-06-26 22:57:40 +02:00
Jeremy Apthorp
2d9a491771
chore: [gn] correct library paths for node on windows ( #13429 )
...
For some reason the windows node build needs `.dll` on the ends of these libraries, and also needs to be linked against `dbghelp`.
Additionally, copy the `WHOLEARCHIVE` hacks from common.gypi, which was doing the same thing.
2018-06-26 22:57:05 +02:00
Alexey Kuzmin
f4039d82c3
spec: rewrite and enable a webview's disableguestresize attr test ( #13428 )
2018-06-26 08:38:04 -07:00
Jeremy Apthorp
4255384abc
chore: [gn] remove vendor/ from windows include paths ( #13432 )
2018-06-26 15:03:56 +10:00
Jeremy Apthorp
418c4e170c
chore: [gn] only define WIN32_LEAN_AND_MEAN if not already defined ( #13430 )
...
Chromium's GN build already defines `WIN32_LEAN_AND_MEAN` and `NOMINMAX` (see [build/config/win/BUILD.gn](dbe762aaff/build/config/win/BUILD.gn (515) ) in chrome), so we don't need to define them ourselves. Left as #ifndefs so as not to break the gyp build.
2018-06-26 02:00:50 +02:00
Jeremy Apthorp
78bc1081fd
chore: fix some more warnings in windows build ( #13431 )
...
Remove an unused function and fix an int type comparison warning. Only showed up when building with GN.
2018-06-26 02:00:20 +02:00
Jeremy Apthorp
6f91af9343
chore: fix various chromium-style errors in windows ( #13394 )
...
These errors weren't previously picked up because the GN build wasn't running on Windows.
2018-06-25 22:30:00 +02:00
Shelley Vohr
1c64ac8c41
fix: repair fs.statSyncNoException throwing exceptions ( #13390 )
2018-06-23 00:01:28 -07:00
Samuel Attard
a96fc9170c
Merge pull request #13379 from electron/native-mate-in-electron
...
Merge native_mate into electron/electron
2018-06-23 02:00:58 +10:00
John Kleinschmidt
1c4d20eb94
Merge pull request #13322 from electron/pepper_flash_feature
...
build: move pepper flash behind feature flag
2018-06-22 11:58:10 -04:00
John Kleinschmidt
a971cbf57d
Merge pull request #13377 from electron/chromium-style-win
...
chore: fix chromium-style errors in windows code
2018-06-22 11:46:29 -04:00
John Kleinschmidt
8b6d4b6f0e
Merge pull request #13376 from electron/gn-windows-deps
...
chore: [gn] fix DEPS to work on windows
2018-06-22 10:53:36 -04:00
Samuel Attard
d068ff3afb
fix linting
2018-06-22 13:43:39 +10:00
Samuel Attard
daa64e21f6
rename back to expected values
2018-06-22 11:42:55 +10:00
Samuel Attard
ea4a497442
move native_mate script to the electron scripts dir
2018-06-22 11:38:36 +10:00
Samuel Attard
b6f063d954
update paths for native_mate
2018-06-22 11:36:03 +10:00
Samuel Attard
8b31886c77
remove native_mate submodule
2018-06-22 11:35:14 +10:00
Samuel Attard
d04cdbb367
Merge 'native_mate' into 'electron'
2018-06-22 11:32:08 +10:00
Samuel Attard
4cada5e845
prepare for merging to electron
2018-06-22 11:29:57 +10:00
Jeremy Apthorp
43c1a7778d
chore: fix chromium-style errors in windows code
2018-06-21 16:50:58 -07:00
Jeremy Apthorp
0660fb3f25
chore: [gn] fix DEPS to work on windows
2018-06-21 16:43:41 -07:00
Jeremy Apthorp
57d365a9f4
Update build-instructions-windows.md
2018-06-21 12:10:33 -07:00
Jeremy Apthorp
aa4ca406c8
chore: update GN build for chrome 66
2018-06-21 11:30:43 -07:00
deepak1556
337cb7910e
update libcc ref
2018-06-21 22:32:22 +05:30
Zeke Sikelianos
4a7dda7c45
Merge pull request #13366 from c960657/patch-1
...
docs: fix links to webview API doc
2018-06-21 09:10:31 -07:00
Jeremy Apthorp
f4d0cef619
chore: [gn] remove gclient hook for node config.gypi ( #13354 )
2018-06-22 00:44:19 +10:00
Alexey Kuzmin
10a174fc6a
spec: refactor helper closeWindow() function ( #13337 )
2018-06-22 00:43:15 +10:00
Alexey Kuzmin
b9da1575f0
spec: enable a disabled test ( #13346 )
2018-06-22 00:42:55 +10:00
Christian Schmidt
cdd2bab7d5
Fix links to webview.md
2018-06-21 16:39:07 +02:00
Samuel Attard
e15ffd96eb
Merge pull request #30 from electron/chromium-66-upgrade
...
Chromium 66 Updates
2018-06-21 22:35:49 +10:00
deepak1556
5e2406081e
build: move pepper flash behind feature flag
2018-06-21 17:02:12 +05:30
Jeremy Apthorp
8ccb5cc6eb
chore: Annotate fallthrough switch paths with FALLTHROUGH
...
The compiler was throwing errors about unannotated fallthroughs when
building with GN.
2018-06-20 14:38:18 -07:00
Jeremy Apthorp
3f40e93ba7
chore: fix chromium-style errors in frame_subscriber
...
The chromium-style linter we run in the GN build was throwing errors
about these issues.
2018-06-20 14:14:11 -07:00
Jeremy Apthorp
99b4aac979
chore: Roll DEPS for chrome 66 in GN build
2018-06-20 14:13:43 -07:00
Milan Burda
122d00f415
Revert "Drop support of Mac OS 10.9" ( #13348 )
...
This reverts commit efa0ec0263 .
2018-06-20 13:40:18 -07:00
The Moses
6ecd8077e5
Fix broken link of electron-builder ( #13341 )
2018-06-20 09:42:46 -05:00
John Kleinschmidt
552399af2f
Merge pull request #13334 from electron/mas-fix-linking
...
Fix linking error for MAS build
2018-06-20 09:59:46 -04:00
John Kleinschmidt
55d1dde0f7
Merge pull request #13327 from electron/fix-tls
...
fix: tls check shouldnt rely on an external service
2018-06-20 08:59:45 -04:00
Samuel Attard
79fbd6bab1
Revert "fix: Drop support for OS X Mavericks (version 10.9)" ( #13333 )
2018-06-20 07:27:55 -05:00
Cheng Zhao
2b080ab575
fix: link with crashpad_client for MAS build
2018-06-20 20:50:56 +09:00
Felix Rieseberg
562eddf0e9
test: Upgrade spec dependencies ( #13310 )
...
* 📦 Update mocha, mocha-junit-reporter
* 📦 Update graceful-fs, multiparty, q, walkdir
* 📦 Update basic-auth
* 📦 Update ws
* 📦 Update dbus-native
* 📦 Upgrade yargs
* 🔒 Run `npm audit fix`
* 🔧 Fix websocket API change
2018-06-20 17:18:24 +10:00
Samuel Attard
436b124fc8
fix linting in the tls script'
2018-06-20 17:12:09 +10:00
Samuel Attard
0ca2496481
fix: tls check shouldnt rely on an external service
2018-06-20 17:05:43 +10:00
Husayn
1a8c986fb1
set mac protocol to none ( #13302 )
2018-06-20 13:16:37 +10:00
gnahzak
951aa83bdf
Disable node options in node config ( #13311 )
2018-06-20 13:08:24 +10:00
Shelley Vohr
c20e0c30a2
src: base::Value::HasKey(key) => base::Value::FindKey(key) ( #13312 )
2018-06-20 13:07:10 +10:00
Zeke Sikelianos
0802f82356
doc: add CSP examples ( #13167 )
...
* doc: add CSP examples
* Deafult to zero-permissions CSP
2018-06-20 10:36:37 +10:00
John Kleinschmidt
fc12b5cab3
Merge pull request #13283 from jack-teng1/fix-asar-pack-cant-find-module
...
fix: can't load module error when app is packaged
2018-06-19 14:58:37 -04:00
John Kleinschmidt
04a7a34c42
Merge pull request #13301 from electron/revert-frame-sub-deprecation
...
fix: revert frame subscriber deprecation and re-enable tests
2018-06-19 14:26:14 -04:00
Heilig Benedek
f643ce4f66
revert: frame subscriber deprecation and re-enable tests
2018-06-19 19:49:44 +02:00
Jack Teng
3044607746
spec: fix asar spec due to change in node.js
...
node.js rename the internalModuleReadFile to internalModuleReadJSON
change spec to reflect this change
2018-06-19 10:42:21 -07:00
Jack Teng
10df019075
fix: can't load module error when app is packaged
...
due to change in node.js(https://github.com/nodejs/node/issues/17076 )
internalModuleReadFile has been renamed to internalModuleReadJSON, and
in vendor/node/lib/internal/modules/cjs/loader.js it will call
internalModuleReadJSON and result in can't read the package.json file.
2018-06-19 10:42:21 -07:00
John Kleinschmidt
295c823a1b
Merge pull request #13298 from electron/update-libcc-ref
...
Update vendor/libchromiumcontent ref
2018-06-19 13:24:05 -04:00
John Kleinschmidt
d367b75680
Merge pull request #13296 from electron/miniak/drop-macos-10.9
...
fix: Drop support for OS X Mavericks (version 10.9)
2018-06-19 13:19:24 -04:00
Aleksei Kuzmin
e683af1eb6
Update vendor/libchromiumcontent ref
2018-06-19 18:12:41 +02:00
Milan Burda
794fe741e9
fix: Drop support for OS X Mavericks (version 10.9)
2018-06-19 17:49:27 +02:00
Jeremy Apthorp
c598272891
refactor: [gn] compile node with boringssl ( #13285 )
2018-06-19 10:39:43 -05:00
Justin Guze
137aaf2429
fix: pass down the bool value of enableAutoSize to setSize ( #13282 )
...
* fix: pass the boolean value of enableAutoSize to setSize
The webContents setSize API takes in an optional enableAutoSize boolean.
Looking in the code, if that property is set, regardless if you pass in
true or false, it will always set it to true. This change passes the
appropriate boolean value down properly.
* creating new bool for autosize
2018-06-19 10:38:55 -05:00
popod
13f97b4cae
Add Sentry.io to 3rd party hosted solution list for crash reports ( #13281 )
...
* Add Sentry.io to 3rd party hosted solution list for crash reports
* Single link to sentry doc
2018-06-19 10:32:37 -05:00
Jeremy Apthorp
9e8f83e25c
refactor: fix chromium-style in url_request_asar_job ( #13284 )
2018-06-19 10:31:55 -05:00
Jeremy Apthorp
e177117fa5
chore: [gn] add desktop capturer sources to GN build ( #13286 )
2018-06-19 10:29:36 -05:00
Danny Brown
dd6c776a19
docs: add note about how to remove a previously set aspect ratio ( #13293 )
2018-06-19 10:24:42 -05:00
John Kleinschmidt
36c1e4cd75
Merge pull request #13267 from electron/expect-debugger-spec
...
spec: convert debugger spec to expect
2018-06-19 11:22:47 -04:00
John Kleinschmidt
faef453df5
Merge branch 'master' into expect-debugger-spec
2018-06-19 11:22:25 -04:00
Shelley Vohr
cba3a9fcce
spec: convert deprecations to expect ( #13268 )
...
* spec: convert deprecations to expect
* address feedback from review
2018-06-19 10:22:08 -05:00
Shelley Vohr
9a79889692
spec: convert ipc specs to expect ( #13273 )
...
* spec: convert ipc specs to expect
* fix buffer value comparison
2018-06-19 10:21:50 -05:00
John Kleinschmidt
0219ef0feb
Merge pull request #13269 from electron/expect-desktop-capturer-spec
...
spec: convert desktop capturer to expect
2018-06-19 11:21:13 -04:00
John Kleinschmidt
be29a1973b
Merge pull request #13291 from electron/slightly-rewrite-webview-tests
...
spec: slightly rewrite webview tests
2018-06-19 11:20:45 -04:00
John Kleinschmidt
0fdcc5d485
Merge pull request #13294 from electron/MarshallOfSound-patch-1
...
Mark browser window affinity as experimental
2018-06-19 11:20:22 -04:00
John Kleinschmidt
a3bc989426
Merge pull request #13292 from electron/fix-release-tests
...
build:Fix VSTS config for release builds
2018-06-19 11:00:07 -04:00
Samuel Attard
c58fa02e58
Mark browser window affinity as experimental
2018-06-20 00:33:24 +10:00
John Kleinschmidt
d2a950e054
Fix VSTS config for release builds
2018-06-19 10:19:51 -04:00
Aleksei Kuzmin
5151a04613
spec: slightly rewrite webview tests
2018-06-19 13:27:49 +02:00
Aleksei Kuzmin
bbc8d50799
spec: add helper functions for async/await tests
2018-06-19 13:27:43 +02:00
Samuel Attard
bcbcb4c643
Merge pull request #12477 from electron/upgrade-to-chromium-66
...
Chromium 66
2018-06-19 19:10:37 +10:00
Milan Burda
d5d5386017
use std::make_unique<T>
2018-06-19 10:20:39 +02:00
Samuel Attard
f0e2da7089
Link to the desktop_capture libs
2018-06-19 17:41:43 +10:00
Samuel Attard
906ef3da6a
Fix windows desktop_capturer build
2018-06-19 17:41:43 +10:00
Samuel Attard
2720fa751b
Fix windows desktop_capturer build
2018-06-19 15:29:16 +10:00
Samuel Attard
42c37cc26d
Bump libcc for desktop capturer fix
2018-06-19 15:16:13 +10:00
John Kleinschmidt
56ae882bb8
Update libcc
2018-06-18 23:20:31 -04:00
Samuel Attard
9d18be8fde
Remove removed variable popup_bounds_in_view_
2018-06-19 11:58:26 +10:00
Samuel Attard
ed1f8d3646
Add missing network:: for net log switches
2018-06-19 11:52:17 +10:00
Samuel Attard
efdf4f44c8
Remove stray .only
2018-06-19 11:49:46 +10:00
Samuel Attard
650631421f
re-enable desktop capturer
2018-06-19 11:49:46 +10:00
Samuel Attard
518f0005ad
mark worker thread taskrunner as WithBaseSyncPrimitives
2018-06-19 11:49:46 +10:00
Samuel Attard
5a28759fea
post all desktop capturer apis to worker threads
2018-06-19 11:49:46 +10:00
Aleksei Kuzmin
6c604e1eb3
Update vendor/libchromiumcontent ref
2018-06-19 11:49:46 +10:00
Aleksei Kuzmin
25e5c174f5
Disable a test
2018-06-19 11:49:46 +10:00
Aleksei Kuzmin
b70ca6309c
Disable a test
2018-06-19 11:49:46 +10:00
Aleksei Kuzmin
8f4d6a1995
Rewrite and enable one of the webview tests
2018-06-19 11:49:46 +10:00
Aleksei Kuzmin
ad74fb9210
Enable a test
2018-06-19 11:49:46 +10:00
Aleksei Kuzmin
da7cfba357
Enable Desktop Capturer tests
2018-06-19 11:49:46 +10:00
Aleksei Kuzmin
10c5141da0
Enable a few tests
2018-06-19 11:49:46 +10:00
Samuel Attard
10160b369b
FIXME: getAppMetrics fails on windows CI
2018-06-19 11:49:46 +10:00
Samuel Attard
76f26341bf
powerMontor crashes linux ia32, re-disable
2018-06-19 11:49:46 +10:00
Samuel Attard
8200a132be
Re-enable cookie specs and add custom cookie name/url validation
2018-06-19 11:49:46 +10:00
Samuel Attard
c4f80a6d89
Enable power monitor test for linux
2018-06-19 11:49:46 +10:00
Samuel Attard
10e0d9b198
Enable process resource test
2018-06-19 11:49:46 +10:00
Samuel Attard
e70b93ad91
Enable childprocess.fork asar specs, fixed during run_as_node fixes
2018-06-19 11:49:46 +10:00
Samuel Attard
bc8525d2f3
re-enable native module tests
2018-06-19 11:49:46 +10:00
Samuel Attard
c882b37a40
Bump node to fix native module rebuilding
2018-06-19 11:49:46 +10:00
Samuel Attard
d9ec885dbc
Fixed the spawn tests with the RUN_AS_NODE tests
2018-06-19 11:49:46 +10:00
Samuel Attard
f43eafb94e
Fixed the fork tests, remove comment
2018-06-19 11:49:46 +10:00
Samuel Attard
de5bdc8be4
Fix inspector tests, you can now have multiple inspector sessions
...
Refs: https://github.com/nodejs/node/pull/20137
2018-06-19 11:49:46 +10:00
Samuel Attard
b7d00e26bf
Default LoadV8Snapshot changed in C66
...
CR Ref: https://chromium-review.googlesource.com/c/chromium/src/+/859577
2018-06-19 11:49:46 +10:00
Samuel Attard
9b37e7d988
Re-enable node fork specs
2018-06-19 11:49:46 +10:00
Aleksei Kuzmin
0b12e425bd
FIXME: Disable powerMonitor tests
2018-06-19 11:49:46 +10:00
Samuel Attard
a64def5745
Bump node vendor to remove openssl compile warning
2018-06-19 11:49:46 +10:00
Aleksei Kuzmin
0c69b0e224
FIXME: Disable Desktop Capturer
2018-06-19 11:49:46 +10:00
Aleksei Kuzmin
03a63a485f
FIXME: Disable some of the focus related tests
...
They all pass localy, so it must be a CI issue.
2018-06-19 11:49:46 +10:00
Aleksei Kuzmin
e96d8b664d
Skip one of the "chromium feature" tests
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
1fae6a321c
Skip crashReported tests on linux
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
f4a9575193
Drop support of Mac OS 10.9
...
- set minimum deployment target to 10.10
- set minimum system version to 10.10
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
792bb9b4a8
Update vendor/libchromiumcontent ref
2018-06-19 11:49:45 +10:00
John Kleinschmidt
67558d65a6
Use Node.js 10 for CI builds
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
caed1c37e0
Update vendor/libchromiumcontent ref
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
de6a5de914
Disable all failing tests
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
cd428a047f
Update vendor/libchromiumcontent ref
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
417fe29dc0
Fix the media events test
...
Playing a media now requires a user gesture.
See https://goo.gl/xX8pDD .
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
a7d2f7531c
Update vendor/node ref
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
c786abf1e9
Add gfx:PointF support to mate::Converter
...
It's needed by atom_api_screen, BuildPrototype function on Windows.
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
622544a902
Check embedder_message_dispatcher_ before sending a message
...
HandleMessageFromDevToolsFrontend() might be called
after the WebContentsDestroyed() is.
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
6481161ef2
Update vendor/libchromiumcontent ref
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
6e11494d0b
Update vendor/node ref
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
7886cfe408
FIXME: Disable "node feature child_process.fork" tests
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
368734b8ab
FIXME: Disable "node feature inspector" tests
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
e240a16a20
FIXME: Disable "ses.cookies calls back with an error when setting a cookie with missing required fields" test
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
4a08779bc8
FIXME: Disable a couple of "debugger module debugger.sendCommand" tests
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
3ca288aba4
FIXME: Disable "BrowserWindow module extensions and dev tools extensions works when used with partitions" test
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
6c0b5cd76c
FIXME: Disable "BrowserWindow module beginFrameSubscription method" tests
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
c3ccd42a23
Update the vendor/libchromiumcontent ref
2018-06-19 11:49:45 +10:00
Tomas Rycl
f9278e518c
Fix linker error on Windows
...
base_jumbo_7.obj, unresolved external symbol __imp_InitPropVariantFromCLSID
2018-06-19 11:49:44 +10:00
Tomas Rycl
40bf582c81
Use /guard:cf during both compile and link parts of the build on Windows
...
Thanks jack-teng1 for info.
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
81398c1fde
Use Chromium 66.0.3359.181 and Node.js 10.2.0
2018-06-19 11:49:44 +10:00
John Kleinschmidt
08ee965270
Fix pr builds
2018-06-19 11:49:44 +10:00
Heilig Benedek
65b8dd48d8
Update OSR code
2018-06-19 11:49:44 +10:00
Heilig Benedek
91d16c9b3a
FIXME: comment out ppapi code that blocks compilation
2018-06-19 11:49:44 +10:00
Heilig Benedek
60ba2013c4
Re-add dirtyOnly to FrameSubscriber and document API change
2018-06-19 11:49:44 +10:00
Heilig Benedek
b9413fe59d
Update FrameSubscriber implementation
2018-06-19 11:49:44 +10:00
Nitish Sakhawalkar
ca8843102a
Fix duplicate RTCDispatcher console error for debug build.
...
The solution was to call CreateScreenCapturer from content, and not link the static library in.
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
9b9a818c43
FIXME: Disable one of the <webview> tag tests.
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
7e4c0b304b
Enable a few tests
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
90c3d87e21
Rename LocalSurfaceIdAllocator
...
https://chromium-review.googlesource.com/809886
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
dd444fd429
Update vendor/libchromiumcontent ref
2018-06-19 11:49:44 +10:00
Nitish Sakhawalkar
58b9203b9b
Update link lib in brightray
2018-06-19 11:49:44 +10:00
John Kleinschmidt
ddaf2cfdc5
Fix appveyor config
2018-06-19 11:49:44 +10:00
John Kleinschmidt
1321e8a6df
Use vs2017 only vm for CI
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
6d7e281dc8
Update vendor/node ref
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
32ff2ff8fb
FIXME: Disable some of <webview> tag tests
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
a45b1a9205
FIXME: Disable a couple of webContents module tests
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
123b35a7f1
FIXME: Disable "asar package child_process.fork" tests
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
77ae8b65f7
FIXME: Disable desktopCapturer tests
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
5656cb34b8
Use libpdfium_skia_shared.a
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
7616cb38a7
Update vendor/libchromiumcontent ref
2018-06-19 11:49:44 +10:00
Tomas Rycl
a9eb267f92
Update vendor/node ref
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
496dbb6b7e
Set llvm_version to "7.0"
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
3e6e01eb94
Update vendor/libchromiumcontent ref
2018-06-19 11:49:44 +10:00
Aleksei Kuzmin
42d84bbd70
Use Node 10.0.0
2018-06-19 11:49:44 +10:00
Tomas Rycl
650f7a920a
Correct windows header order
2018-06-19 11:49:44 +10:00
Tomas Rycl
7b17f15703
Fixing pdf print errors on Windows build
2018-06-19 11:49:43 +10:00
deepak1556
8f00240c73
chrome style plugin: remove check-auto-raw-pointer option
...
This is always enabled now, so the corresponding flag can be removed.
https://chromium-review.googlesource.com/734132
2018-06-19 11:49:43 +10:00
Nitish Sakhawalkar
3ac4c1f03f
Update libcc and replace snapshot_blob.bin by v8_context_snapshot.bin
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
a45862c93f
Link against device_service and viz_service libs
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
623ed84b23
Update vendor/libchromiumcontent ref
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
000bbd45b8
Add ForceFeedback to the frameworks list on Mac
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
016ac8ff6e
Set CHROME_VERSION_STRING to 66.0.3359.117
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
aaef07e637
Update vendor/libchromiumcontent ref
2018-06-19 11:49:43 +10:00
Tomas Rycl
101cd90d37
More pdf printing fixes for Windows
2018-06-19 11:49:43 +10:00
Tomas Rycl
32ebd9e221
Proper dpi parameter type for PdfRenderSettings
2018-06-19 11:49:43 +10:00
Tomas Rycl
bbd6b478ac
Add missing header
...
For ThreadRestrictions class.
2018-06-19 11:49:43 +10:00
Tomas Rycl
7ca1b0704d
Rename ScopedWindowsThreadEnvironment::succeeded() to Succeeded()
...
https://chromium-review.googlesource.com/742447
2018-06-19 11:49:43 +10:00
Tomas Rycl
1ac0ab2b71
Include missing "windows.h" and fix headers ordering
...
For PCWSTR on line 198.
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
d6ffbc0148
Use an int for wm::ShadowElevation. Pick semantic constants.
...
https://chromium-review.googlesource.com/899886
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
4a38c2d800
Remove deprecated View::SetLayoutManager
...
https://chromium-review.googlesource.com/844760
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
f6648a0d4d
Remove ScopedComPtr and scoped_comptr.h
...
https://chromium-review.googlesource.com/726461
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
82d204e932
Wrap X11 headers in ui/gfx/x/x11.h
...
https://chromium-review.googlesource.com/756711
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
97414cc931
Update vendor/libchromiumcontent ref
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
5451635df0
Update vendor/node ref
2018-06-19 11:49:43 +10:00
Heilig Benedek
1de1ca906a
Reimplement FrameSubscriber with mojo VideoCapture APIs
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
28f6e10e5a
Add "-fno-exceptions" to "cflags_cc" on linux
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
ac33694028
Update chrome_version.h
2018-06-19 11:49:43 +10:00
Aleksei Kuzmin
9e3011dbcd
Update libcc ref
2018-06-19 11:49:43 +10:00
deepak1556
c97706de50
Remove deps on libcommon.a and libjavascript.a
2018-06-19 11:49:43 +10:00
deepak1556
844ef4291c
PepperFlashRendererHost to use SkFontStyle.
...
https://chromium-review.googlesource.com/c/chromium/src/+/602469
2018-06-19 11:49:43 +10:00
deepak1556
43ca4d5bfd
Move HTTPBad flags into SSLStatus user data
...
https://chromium-review.googlesource.com/c/chromium/src/+/709458
2018-06-19 11:49:43 +10:00
deepak1556
3f7bb61b7f
Convert base::UInt64ToString to base::NumberToString
...
https://chromium-review.googlesource.com/813101
2018-06-19 11:49:43 +10:00
deepak1556
39b30b76ea
Printing: Remove PrintedPage on non-Windows
...
https://chromium-review.googlesource.com/c/chromium/src/+/804178
https://chromium-review.googlesource.com/c/chromium/src/+/770492
https://chromium-review.googlesource.com/c/chromium/src/+/704262
2018-06-19 11:49:42 +10:00
Aleksei Kuzmin
37d64e6a00
Update vendor/node ref
...
To get changes from
a635a8aa8f
2018-06-19 11:49:42 +10:00
Aleksei Kuzmin
4236c17654
Use native-mate from the Ch66 branch
2018-06-19 11:49:42 +10:00
Aleksei Kuzmin
24db18f34e
Update libcc ref
2018-06-19 11:49:42 +10:00
deepak1556
405adb938b
Permissions: Remove CONTENT_SETTINGS_TYPE_PUSH_MESSAGING
...
https://chromium-review.googlesource.com/c/chromium/src/+/758456
2018-06-19 11:49:42 +10:00
deepak1556
4068a62fa6
Define gfx::AcceleratedWidget to be uint64_t instead of NSView*
...
https://chromium-review.googlesource.com/c/chromium/src/+/792295
2018-06-19 11:49:42 +10:00
deepak1556
c4b8e106c0
Create network_converter for services/network/* types
2018-06-19 11:49:42 +10:00
deepak1556
f1e2304585
Remove OSCertHandle typedefs, use smart pointers for CRYPTO_BUFFER ownership.
...
https://chromium-review.googlesource.com/c/chromium/src/+/775540
2018-06-19 11:49:42 +10:00
deepak1556
77f427acc8
Check for key system support using new mojo service KeySystemSupport
...
https://chromium-review.googlesource.com/c/chromium/src/+/834764
2018-06-19 11:49:42 +10:00
Aleksei Kuzmin
e1f25253db
REVIEW: Don't use removed and deprecated Value::To* APIs
...
See https://chromium-review.googlesource.com/848782 for removed APIs.
2018-06-19 11:49:42 +10:00
Aleksei Kuzmin
a218c9696c
Fix error: no matching constructor for initialization of 'v8::TryCatch'
...
The deprecated constructor has been removed
in https://chromium-review.googlesource.com/848782
2018-06-19 11:49:42 +10:00
deepak1556
5df0362361
Remove obsolete ShouldHandleSystemCommands function.
...
https://chromium-review.googlesource.com/c/chromium/src/+/924315
2018-06-19 11:49:42 +10:00
deepak1556
2f7c413199
v8: set fatal error handler per isolate
2018-06-19 11:49:42 +10:00
deepak1556
66058c8cfe
REVIEW: Use RenderWidgetHost api for event routing
...
https://chromium-review.googlesource.com/c/chromium/src/+/836267
2018-06-19 11:49:42 +10:00
deepak1556
d386ec0a2b
Remove unused elements from RWHV::CopyFromSurface() API and dead code.
...
https://chromium-review.googlesource.com/c/chromium/src/+/929874
2018-06-19 11:49:42 +10:00
deepak1556
3ad0639b2e
Surface synchronization: Implement auto-resize for OOPIF/BrowserPlugin
...
https://chromium-review.googlesource.com/c/chromium/src/+/753801
2018-06-19 11:49:42 +10:00
deepak1556
ea7e273a06
gin: Make gin/ remember external reference table
...
https://chromium-review.googlesource.com/c/chromium/src/+/778741
2018-06-19 11:49:42 +10:00
deepak1556
383b21e20a
Change calls to GeolocationProvider::UserDidOptIntoLocationServices() to occur via Mojo.
...
https://chromium-review.googlesource.com/c/chromium/src/+/760239
2018-06-19 11:49:42 +10:00
deepak1556
a5bdb8103b
Remove invalid include headers
2018-06-19 11:49:42 +10:00
deepak1556
0cbffb15cc
NetworkService: Implement URLLoader::OnAuthRequired
...
https://chromium-review.googlesource.com/c/chromium/src/+/938960
2018-06-19 11:49:42 +10:00
deepak1556
27cb84eee0
NetworkService: Implement URLLoader::OnCertificateRequested
...
https://chromium-review.googlesource.com/c/chromium/src/+/848303
2018-06-19 11:49:42 +10:00
deepak1556
b268e37663
Simplify ShouldInterceptResourceAsStream to remove unneeded code path.
...
https://chromium-review.googlesource.com/c/chromium/src/+/939857
2018-06-19 11:49:42 +10:00
deepak1556
c9f20516ac
Make reading blobs work through Blob mojo interface.
...
https://chromium-review.googlesource.com/c/chromium/src/+/773199
2018-06-19 11:49:42 +10:00
deepak1556
a1683eb4e8
Give the JS dialog manager the alerting frame.
...
https://chromium-review.googlesource.com/c/chromium/src/+/928828
https://chromium-review.googlesource.com/c/chromium/src/+/791517
2018-06-19 11:49:42 +10:00
deepak1556
eab4227cbf
Make Origin(const GURL&) constructor private.
...
https://chromium-review.googlesource.com/c/chromium/src/+/729284
2018-06-19 11:49:42 +10:00
deepak1556
11fc8374c0
Move DownloadUrlParameters from content/public to components/download
...
https://chromium-review.googlesource.com/c/chromium/src/+/914232
2018-06-19 11:49:42 +10:00
deepak1556
8968c447f4
Include missing header
2018-06-19 11:49:41 +10:00
deepak1556
7b47d69efe
Remove did-get-response-details and did-get-redirect-request events
...
https://chromium-review.googlesource.com/c/chromium/src/+/805008
https://chromium-review.googlesource.com/c/chromium/src/+/786320
2018-06-19 11:49:41 +10:00
Samuel Attard
3da6450b0c
Bump libcc to get builds
2018-06-19 11:49:41 +10:00
deepak1556
2ea26cd4d7
Add MediaStoppedReason to WCO
...
https://chromium-review.googlesource.com/c/chromium/src/+/758583
2018-06-19 11:49:41 +10:00
deepak1556
100291ec42
OOPIF-ize hung renderers
...
https://chromium-review.googlesource.com/c/chromium/src/+/896343
2018-06-19 11:49:41 +10:00
deepak1556
2047929cb5
Convert ax_enums.idl to mojom.
...
https://chromium-review.googlesource.com/c/chromium/src/+/877417
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
7732da41ba
Revert "Revert "Add support for OOPIF printing in renderer""
...
https://chromium-review.googlesource.com/924566
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
93fc60720a
Feature Policy Onion Soup (1)
...
https://chromium-review.googlesource.com/726343
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
bb150185ac
Fix includes in AtomQuotaPermissionContext
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
c75f6f408e
DevTools: remove the 'forced' attribute from the AgentHostClosed in DevToolsAgentHost.
...
https://chromium-review.googlesource.com/745301
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
4bb3e0da15
Rename buildflag_header targets in base for consistency
...
https://chromium-review.googlesource.com/930033
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
576bf8f6c0
Move resource_response.h to //services/network/public/cpp.
...
https://chromium-review.googlesource.com/865664
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
1a11bb936b
ui::Display cleanup: some enums --> enum classes
...
https://chromium-review.googlesource.com/915211
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
4602d940cf
Add missing header
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
38f18d9aa2
FIXME: Disable OSR
2018-06-19 11:49:41 +10:00
deepak1556
b7bc3ec20d
Update AtomBrowserClient::RenderProcessWillLaunch api
...
https://chromium-review.googlesource.com/c/chromium/src/+/742344
2018-06-19 11:49:41 +10:00
deepak1556
409ff41c03
Remove SetCookieWithDetailsAsync API in favor of SetCanonicalCookieAsync.
...
https://chromium-review.googlesource.com/c/chromium/src/+/777954
2018-06-19 11:49:41 +10:00
deepak1556
23f7ccbdda
Remove old cookie enum values
...
https://chromium-review.googlesource.com/c/chromium/src/+/877515
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
2c4bbacec1
Remove base::Value::GetType()
...
https://chromium-review.googlesource.com/718458
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
343c42e4ef
Remove redundant device::PowerSaveBlocker enums.
...
https://chromium-review.googlesource.com/754169
services/device: Fix enum naming in wake_lock.mojom.
https://chromium-review.googlesource.com/755884
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
37168c0a95
Move ResourceRequestBody to services/network in preparation of moving content/network.
...
https://chromium-review.googlesource.com/864422
2018-06-19 11:49:41 +10:00
deepak1556
d3c6aa12d1
Remove AtomAccessTokenStore
...
Its a dummy class since chromium 63,
https://chromium-review.googlesource.com/c/chromium/src/+/708494
2018-06-19 11:49:41 +10:00
deepak1556
bb36a26950
update native-mate ref
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
6b77fa5b3b
[desktop capture] remove dependencies on webrtc/desktop_capture from /chrome
...
https://chromium-review.googlesource.com/876723
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
5e320994f4
Remove content/linux_sandbox dependence on content_switches.h
...
https://chromium-review.googlesource.com/734265
2018-06-19 11:49:41 +10:00
Aleksei Kuzmin
160b165358
move DownloadInterruptReasons from content/ to components/download
...
https://chromium-review.googlesource.com/897967
2018-06-19 11:49:40 +10:00
Aleksei Kuzmin
7fc8814d13
move some files from content/public/browser to components/download/public/core
...
https://chromium-review.googlesource.com/891686
2018-06-19 11:49:40 +10:00
Aleksei Kuzmin
4e580d5b39
Move download_item.h from content/public to components/download
...
https://chromium-review.googlesource.com/907687
2018-06-19 11:49:40 +10:00
Aleksei Kuzmin
a315d6330c
Remove base::Value::IsType
...
https://chromium-review.googlesource.com/659798
2018-06-19 11:49:40 +10:00
Aleksei Kuzmin
48c3340d95
Update the vendor/node reference
2018-06-19 11:49:40 +10:00
Aleksei Kuzmin
341f698ace
Use latest libcc with Ch66
2018-06-19 11:49:40 +10:00
deepak1556
e3c580e905
Move away from BrowserThread::FILE
...
* Migrate TtsPlatformImplLinux away from using BrowserThread::FILE.
https://chromium-review.googlesource.com/c/chromium/src/+/570022
* Move PdfConverter off the FILE thread.
https://chromium-review.googlesource.com/c/chromium/src/+/592393
* https://chromium.googlesource.com/chromium/src/+/master/docs/task_scheduler_migration.md
2018-06-19 11:49:40 +10:00
deepak1556
6d241e972b
Clean up net::HttpAuthPreferences.
...
https://chromium-review.googlesource.com/c/chromium/src/+/727399
2018-06-19 11:49:40 +10:00
deepak1556
83632f15a9
Fix session restore with network service.
...
https://chromium-review.googlesource.com/c/chromium/src/+/818486
2018-06-19 11:49:40 +10:00
deepak1556
bbb2393031
Remove base::SizeTToString
...
https://chromium-review.googlesource.com/c/chromium/src/+/799550
2018-06-19 11:49:40 +10:00
deepak1556
c31d7ef70a
Implement SpecialStoragePolicy::ShouldDeleteCookieOnExit
...
https://chromium-review.googlesource.com/c/chromium/src/+/926369
2018-06-19 11:49:40 +10:00
deepak1556
3666935c06
[DevTools] Make Inspect Element work for OOPIF
...
https://chromium-review.googlesource.com/c/chromium/src/+/881522
2018-06-19 11:49:40 +10:00
deepak1556
8e125b2953
REVIEW: Remove the notification close-closure in favour of an explicit method
...
https://chromium-review.googlesource.com/c/chromium/src/+/744205
2018-06-19 11:49:40 +10:00
deepak1556
026e7bff40
Update NetworkDelegate
...
* Remove Deprecated OnResponseStarted.
https://chromium-review.googlesource.com/c/chromium/src/+/763193
* Replace cookie lines with CanonicalCookie in CanSetCookie delegates.
https://chromium-review.googlesource.com/c/chromium/src/+/775606
* Reporting: Check upload permissions asynchronously
https://chromium-review.googlesource.com/c/chromium/src/+/937566
2018-06-19 11:49:40 +10:00
deepak1556
bf55d856d2
Cookie Store: Extract change notifications to separate classes.
...
https://chromium-review.googlesource.com/c/chromium/src/+/919159
2018-06-19 11:49:40 +10:00
deepak1556
806acbdf12
Move content/network to services/network.
...
https://chromium-review.googlesource.com/891646
2018-06-19 11:49:40 +10:00
Aleksei Kuzmin
fba2ab0996
Move throttling to network service
...
https://chromium-review.googlesource.com/703674
2018-06-19 11:46:59 +10:00
deepak1556
529ced80f2
Remove CancelRequest for PermissionManager
...
https://chromium-review.googlesource.com/c/chromium/src/+/876746
2018-06-19 11:46:59 +10:00
deepak1556
01fdfc4574
Remove Permission manager from brightray
...
Electron manages its own implementation, this was
missed out when merging the brightray/ component.
2018-06-19 11:46:59 +10:00
deepak1556
f6665edc73
Convert ColorChooser from ipc to mojo.
...
https://chromium-review.googlesource.com/c/chromium/src/+/800350
https://chromium-review.googlesource.com/c/chromium/src/+/821954
2018-06-19 11:46:59 +10:00
deepak1556
c29f08c53e
DevTools: remove the 'forced' attribute from the AgentHostClosed in DevToolsAgentHost.
...
https://chromium-review.googlesource.com/c/chromium/src/+/745301
2018-06-19 11:46:59 +10:00
deepak1556
bf620363b9
Devtools: Remove session_id in browser
...
https://chromium-review.googlesource.com/c/chromium/src/+/866213
2018-06-19 11:46:59 +10:00
deepak1556
f32e59d4b2
Update devtools_file_system_indexer
...
* Switch DevToolsFileSystemIndexer to use SequencedTaskRunner
https://chromium-review.googlesource.com/c/chromium/src/+/545200
* Remove dead code from devtools_file_system_indexer.cc
https://codereview.chromium.org/2508443002
* Fix DCHECKs and a crash in DevToolsFileSystemIndexer
https://chromium-review.googlesource.com/c/chromium/src/+/553958
* reset trigram cache when devtools window closes
https://chromium-review.googlesource.com/c/chromium/src/+/969969
* Directly use base::File instead of FileProxy in DevToolsFileSystemIndexer
https://chromium-review.googlesource.com/c/chromium/src/+/544793
2018-06-19 11:46:59 +10:00
Aleksei Kuzmin
deb8cd458d
Use latest libcc with Ch66
2018-06-19 11:46:59 +10:00
Aleksei Kuzmin
7c95100180
Rename ProxyService class to ProxyResolutionService
...
https://chromium-review.googlesource.com/857421
2018-06-19 11:46:59 +10:00
Aleksei Kuzmin
079e5df740
Adds ability for BrowserMainParts::PreEarlyInitialization() to fail
...
https://chromium-review.googlesource.com/862964
2018-06-19 11:46:59 +10:00
Aleksei Kuzmin
2f11870970
Update Chrome version
2018-06-19 11:46:59 +10:00
Aleksei Kuzmin
11b96c214d
Use latest libcc with Ch66
2018-06-19 11:46:59 +10:00
Aleksei Kuzmin
cb604026d6
DevTools: move remote debugging hosted URL to single location.
...
https://chromium-review.googlesource.com/905983
2018-06-19 11:46:59 +10:00
Aleksei Kuzmin
8020cd9994
Use the same GOOGLE_PROTOBUF_* defines for "brightray" as for Electron
2018-06-19 11:46:59 +10:00
Aleksei Kuzmin
70cc5d87af
ResourceBundle → ui::ResourceBundle
...
Fixes "error: use of undeclared identifier 'ResourceBundle';
did you mean 'ui::ResourceBundle'?".
2018-06-19 11:46:59 +10:00
Aleksei Kuzmin
408b62bcc2
Move net/proxy to net/proxy_resolution
...
https://chromium-review.googlesource.com/868176
Also includes changes from:
Rename files relating to PAC (proxy auto config).
https://chromium-review.googlesource.com/836927
2018-06-19 11:46:58 +10:00
Aleksei Kuzmin
5a2de2108e
Add ".../third_party/protobuf/src" to the include_dirs list
...
Fixes "fatal error: 'google/protobuf/stubs/common.h' file not found".
2018-06-19 11:46:58 +10:00
Aleksei Kuzmin
c7691d8a40
Use latest libcc with Ch66
2018-06-19 11:46:58 +10:00
Aleksei Kuzmin
f5b68b8950
Update crashpad ref
2018-06-19 11:46:58 +10:00
Aleksei Kuzmin
260908cb06
Update Clang revision for Chromium 66
...
https://chromium.googlesource.com/chromium/src.git/+/66.0.3359.66/tools/clang/scripts/update.py#30
2018-06-19 11:46:58 +10:00
Aleksei Kuzmin
79010b9e06
Set CHROME_VERSION_STRING to 66.0.3359.66
2018-06-19 11:46:58 +10:00
Aleksei Kuzmin
06410202d0
Use latest libcc with Chromium 66.0.3359.66
2018-06-19 11:46:58 +10:00
Aleksei Kuzmin
0c0d31e13a
Use the same Crashpad as Chromium 66.0.3359.66
2018-06-19 11:46:58 +10:00
Samuel Attard
17b5870ca1
Change node ref
2018-06-19 11:46:58 +10:00
Samuel Attard
72c7fe5e56
Bump chromium version
2018-06-19 11:46:58 +10:00
Samuel Attard
a9db673cdf
Bump libcc
2018-06-19 11:46:58 +10:00
Zhuo Lu
ab24a1e36d
feat: netLog API for dynamic logging control ( #13068 )
...
* Introduce `net.{start|stop}Logging()`
- Slight regression right now as Electron won't automatically start logging net-logs at launch, will soon be fixed
- To implement callback for async controls
* Add `net.isLogging` & optional callback param for `net.stopLogging()`
* Fix small regression on --log-net-log
--log-net-log should work again
* Error on empty file path
* Only start with valid file path
* Remove unused var
* Allow setting log file path before URLRequestContextGetter starts logging
* Add net log tests
* Remove redundant checks
* Use brightray::NetLog
* Clean up code
* Should automatically stop listening
* 🎨 Attempt to fix styles
* Only run non-null callback
* Dump file to tmpdir
* Simplify net log spec
Spawned Electron process on Linux CI can fail to launch
* Separate netLog module
* Remove net logging test from net spec
* Add tests for netLog
* Fix header guard
* Clean up code
* Add netLog.currentlyLoggingPath
* Callback with filepath
* Add test for case when only .stopLogging() is called
* Add docs
* Reintroduce error on invalid arg
* Update copyright
* Update error message
* Juggle file path string types
2018-06-19 11:45:58 +10:00
Shelley Vohr
adea26bd8f
docs: update pr template with checklist ( #13270 )
...
This PR updates the Pull Request template so that contributors see a clearer checklist of items they need to complete in order to have a given PR reviewed and landed.
2018-06-18 13:58:30 -07:00
Shelley Vohr
b4cce8e240
spec: convert IAP and GC specs to expect ( #13272 )
...
* spec: convert IAP and GC specs to expect
* address review
2018-06-18 09:50:37 -07:00
Shelley Vohr
c65844a7d0
address review feedback
2018-06-18 08:56:24 -07:00
Zeke Sikelianos
994f613450
Merge pull request #13099 from electron/breaking-changes
...
docs: improve breaking API changes docs
2018-06-18 08:52:53 -07:00
Heilig Benedek
90911a423a
Fix autofill popup position when the popup is spawned from a webview ( #13184 )
2018-06-18 10:15:37 -05:00
Shelley Vohr
314071d79f
feedback from review
2018-06-18 08:12:54 -07:00
Shelley Vohr
fe94bf7c1d
spec: convert dialog spec to expect ( #13271 )
2018-06-18 07:56:03 -07:00
John Kleinschmidt
78e199b5d7
Merge pull request #13187 from LostPlayer99/patch-1
...
docs: update bluetooth example
2018-06-18 09:16:54 -04:00
Cheng Zhao
a564744cd0
Merge pull request #13110 from electron/entry-and-button
...
feat: add TextField and Button APIs
2018-06-18 18:29:35 +09:00
Cheng Zhao
18dde0a0bd
load all pak files on macOS
2018-06-18 16:51:36 +09:00
Cheng Zhao
a11182ca84
feat: add SetText for TextField
2018-06-18 16:51:36 +09:00
Cheng Zhao
70e17b5f8f
feat: add LabelButton API
2018-06-18 16:51:36 +09:00
Cheng Zhao
c8e8cb86ce
feat: add Button API
2018-06-18 16:51:36 +09:00
Cheng Zhao
ba3700141f
feat: add TextField API
2018-06-18 16:51:36 +09:00
Milan Burda
2eb5b751f3
exit HTML fullscreen when window leaves fullscreen ( #13090 )
2018-06-18 16:48:20 +09:00
Milan Burda
28fd571d0c
refactoring: use std::make_unique<T> ( #13245 )
2018-06-18 16:32:55 +09:00
Shelley Vohr
2c2e8317de
spec: convert desktop capturer to expect
2018-06-17 16:00:28 -07:00
Shelley Vohr
4dec5ec5f9
spec: update browser-view spec to expect ( #13238 )
...
* spec: update browser-view spec to expect
2018-06-17 15:56:04 -07:00
Shelley Vohr
79c2d22c25
remove assert require
2018-06-17 15:37:16 -07:00
Shelley Vohr
8d5fc61c12
spec: update browser-window-affinity spec to expect ( #13239 )
...
* spec: update browser-window-affinity spec to expect
* final cleanup
2018-06-17 15:36:30 -07:00
Shelley Vohr
e023035393
spec: convert debugger spec to expect
2018-06-17 15:35:24 -07:00
Shelley Vohr
c5c571f8ec
spec: update callback registry spec to expect ( #13263 )
...
* spec: update callback-reg-spec to sexpect
* remove stray only
* remove redundant assertions
2018-06-17 15:08:17 -07:00
Shelley Vohr
0ef0e69f03
spec: convert clipboard spec to use expect ( #13266 )
2018-06-17 14:47:51 -07:00
Shelley Vohr
a0d252870c
spec: update auto-updater spec to expect ( #13237 )
...
* spec: update auto-updater to expect
2018-06-16 00:28:28 -07:00
Michael Khalil
ef1e2d6fe0
fix: tray title not inverting when highlighted ( #13085 )
2018-06-16 16:24:26 +10:00
az-chris
83dc8cc13b
docs: update remote.md ( #13229 )
...
* Update remote.md
Addressing Issue #9421
* Minor copyediting
2018-06-16 16:21:07 +10:00
Vlad Hashimoto
a67c992c36
docs: fix broken link to commit message guidelines ( #13233 )
...
* docs: fix broken link to commit message guidelines
* Fix another broken links
2018-06-15 19:43:03 -05:00
Felix Rieseberg
1647c12c73
📝 Make appUserModelId requirement clearer ( #13259 )
2018-06-15 19:32:19 -05:00
Milan Burda
c4942d931c
Add FILE_DIALOG_TREAT_PACKAGE_APP_AS_DIRECTORY to web open file dialog ( #13220 )
2018-06-15 15:51:38 -05:00
Charles Kerr
2d15b8fe78
change c++ std from gnu++14 to c++14 ( #13248 )
2018-06-15 11:12:49 -05:00
John Kleinschmidt
fa79b40946
Merge pull request #13241 from electron/test-releases
...
spec: run tests on release builds
2018-06-14 15:14:02 -04:00
Shelley Vohr
91559191c9
spec: update app spec to assert ( #13155 )
...
* convert app spec from assert to expect and add dirty-chai
2018-06-14 09:44:27 -07:00
John Kleinschmidt
832b5a36fa
Add slack notifications
2018-06-14 11:12:35 -04:00
John Kleinschmidt
38ebf5ac9f
Run tests on release builds
...
Also, added ability to call VSTS release builds via API.
2018-06-14 09:42:55 -04:00
Alexey Kuzmin
6a59b37bea
spec: better texts for the Crash Reporter tests ( #13227 )
...
* Better failure messages for a Crash Reporter test
* Add a TODO
2018-06-14 19:24:28 +10:00
Alexey Kuzmin
dee9aef975
Add "enable_desktop_capturer" build flag ( #13133 )
...
* Make it possible to disable a module for a renderer
* Put DesktopCapturer API under a build flag
The name is "enable_desktop_capturer".
Enabled by default.
2018-06-13 11:15:34 -05:00
Thiago de Arruda
6ff111a141
perf: don't use JSON to send the result of ipcRenderer.sendSync. ( #8953 )
...
* Don't use JSON to send the result of `ipcRenderer.sendSync`.
- Change the return type of AtomViewHostMsg_Message_Sync from `base::string16`
to `base::ListValue`
- Adjust lib/browser/api/web-contents.js and /lib/renderer/api/ipc-renderer.js
to wrap/unwrap return values to/from array, instead of
serializing/deserializing JSON.
This change can greatly improve `ipcRenderer.sendSync` calls where the return
value contains Buffer instances, because those are converted to Array before
being serialized to JSON(which has no efficient way of representing byte
arrays).
A simple benchmark where remote.require('fs') was used to read a 16mb file got
at least 5x faster, not to mention it used a lot less memory. This difference
tends increases with larger buffers.
* Don't base64 encode Buffers
* Don't allocate V8ValueConverter on the heap
* Replace hidden global.sandbox with NodeBindings::IsInitialized()
* Refactoring: check NodeBindings::IsInitialized() in V8ValueConverter
* Refactor problematic test to make it more reliable
* Add tests for NaN and Infinity
2018-06-13 17:38:31 +10:00
Mateus Silva
1b3cd01851
Doc: Delete unnecessary require and update flag name
2018-06-12 20:17:16 +01:00
John Kleinschmidt
fa1a5f2a42
Merge pull request #13215 from electron/add-space
...
chore: add space in TLS version check log
2018-06-11 09:35:20 -04:00
Samuel Attard
fc1469175b
chore: add space in log
2018-06-11 18:23:59 +10:00
Milan Burda
6ad0a22602
Add process.getHeapStatistics() ( #13183 )
2018-06-10 22:00:36 +10:00
Mateus Silva
370d790776
Doc: Update bluetooth example
...
Update event select-bluetooth-device example documentation.
2018-06-07 20:29:20 +01:00
mdpetuum
1b8790aeb2
fix: tray icon bounds didn't allow negative macOS ( #13162 )
2018-06-07 18:48:39 +02:00
Charles Kerr
828545c128
Merge pull request #13142 from pravdomil/patch-1
...
docs: clarify docs
2018-06-03 09:58:05 +02:00
pravdomil
fd6eeed5c4
clarify docs
2018-06-02 20:41:19 +02:00
Charles Kerr
6301582e77
Merge pull request #13124 from nornagon/node-configure
...
refactor: [gn] Build node by calling ./configure
2018-06-01 20:39:23 +02:00
Alexey Kuzmin
0d5e98a201
Slightly rewrite <webview> tag tests ( #13122 )
2018-06-01 10:56:48 +02:00
Jeremy Apthorp
4321db401c
Build node by calling ./configure
2018-05-31 11:18:26 -07:00
Charles Kerr
c7d1f95240
Merge branch 'master' into breaking-changes
2018-05-31 12:12:02 +02:00
John Kleinschmidt
1eddb5cf98
Merge pull request #13052 from electron/fix-vs2017-release
...
build: update copy_vcruntime_binaries for VS2017
2018-05-30 10:46:40 -04:00
Charles Kerr
b89fe86fa1
Merge pull request #13050 from electron/3.0.0-deprecations
...
chore: removal of 3.0.0 deprecations
2018-05-30 09:25:36 +02:00
Zeke Sikelianos
cb9ab213bb
Merge pull request #13005 from nornagon/gn-docs
...
docs: dev instructions for GN build
2018-05-29 15:17:16 -07:00
Zeke Sikelianos
326e379154
Merge pull request #13103 from dsandler/patch-1
...
fix: link to macOS notifications HIG
2018-05-29 15:14:19 -07:00
John Kleinschmidt
8a15231475
Update copy_vcruntime_binaries for VS2017
2018-05-29 17:25:47 -04:00
Jeremy Apthorp
886230f64f
Roll libchromiumcontent ( #13105 )
2018-05-29 13:07:14 -07:00
Charles Kerr
d907f43e6e
Merge pull request #13101 from electron/deprecate-property
...
feat: add deprecate.property()
2018-05-29 12:09:32 -05:00
Shelley Vohr
d40cce92bf
remove deprecated signature tests
2018-05-29 11:42:03 -04:00
Dan Sandler
442ec7113e
Fix link to macOS notifications HIG
2018-05-29 11:16:26 -04:00
Shelley Vohr
2660859434
update signature for setCertificateVerifyProc in session spec
2018-05-29 10:54:27 -04:00
Charles Kerr
6935addd38
fix: remove unused variable
2018-05-29 16:14:21 +02:00
Charles Kerr
2275625e1a
feat: warn if deprecated property is already set
2018-05-29 15:58:02 +02:00
Charles Kerr
61fac1bbc1
test: add tests for deprecate.property()
2018-05-29 15:40:48 +02:00
Charles Kerr
0a614217ce
feat: re-add deprecate.property()
2018-05-29 15:40:19 +02:00
Charles Kerr
57cda797f3
docs: copyediting of breaking-changes.md
...
Tweak the phrasing of sections' introductions
2018-05-29 11:42:20 +02:00
Charles Kerr
b0f1b5f65b
Modify 2.0 section's phrasing to use past tense
2018-05-29 11:37:42 +02:00
Charles Kerr
b621321ea0
Re-add missing section
2018-05-29 11:24:39 +02:00
Charles Kerr
066b92c7cd
docs: re-document the 2.0 breaking API changes
2018-05-29 11:23:28 +02:00
Charles Kerr
57ad506cde
Reorder the version sections newest-to-oldest
...
This puts 4.0 before 3.0, making room to re-add
the 2.0 changes back in at the end of the file.
2018-05-29 11:17:26 +02:00
Charles Kerr
7f64dbc1ba
Make FIXME and API Contract their own H1 sections
...
Previously they were inside the 3.0 section,
which doesn't really make sense
2018-05-29 11:15:30 +02:00
Charles Kerr
e943cce125
docs: tweak phrasing
2018-05-29 11:10:23 +02:00
Charles Kerr
ac03b81624
docs: add breaking-changes to README
2018-05-29 11:08:49 +02:00
Charles Kerr
bb4979a82e
docs: move breaking-changes to api
2018-05-29 11:06:56 +02:00
hkhere
0f1fcc3f4b
docs: fix a typo in remote.md ( #13084 )
2018-05-29 03:14:06 -05:00
Maksym Dogadailo
562831ec1a
fix tls script path in documentation ( #13089 )
2018-05-29 03:12:27 -05:00
Milan Burda
45e78728bd
chore: move more constants to options_switches.h/cc ( #13093 )
...
* Add options::kNativeWindowOpen
* Add options::kSandbox
* Add options::kPlugins
* Add options::kWebSecurity
* Add options::kAllowRunningInsecureContent
* Add options::kOffscreen
2018-05-29 03:09:51 -05:00
Sven Hüster
ec44fb79d8
updated path to widevine libraries on windows ( #13063 )
2018-05-28 16:11:51 +09:00
Mikael Finstad
86fcdd0bae
docs: Simplify loading of html in example ( #13013 )
...
* Simplify loading of html
See new api: https://github.com/electron/electron/pull/11565
* Update first-app.md
* Update first-app.md
2018-05-25 13:05:15 -07:00
Shelley Vohr
104fa96d4d
fix options switch for kBlinkFeatures
2018-05-25 11:13:15 -07:00
Shelley Vohr
8bb7525fe0
fix missing instance of kBlinkFeatures => kEnableBlinkFeatures
2018-05-25 11:12:40 -07:00
Shelley Vohr
b7e245aba1
remove atom_api_screen_mac from filenames.gypi
2018-05-25 11:01:05 -07:00
Shelley Vohr
265aa3da29
docs: deprecate UploadFileSystem ( #13064 )
...
Deprecate UploadFileSystem in preparation for its being phased out completely in Chromium 66 and correspondingly Electron 4.0.0.
2018-05-25 10:50:27 -07:00
Shelley Vohr
5beadd90ee
update electron-typescript-definitions to 1.3.5
2018-05-25 10:41:26 -07:00
Zhuo Lu
fd25f594cd
Do not capture cookies and credentials ( #13065 )
2018-05-24 14:46:54 -07:00
John Kleinschmidt
01a9b32637
Merge pull request #13066 from barinali/fix/dock-link
...
fix: Update broken dock link in app doc
2018-05-24 16:06:38 -04:00
John Kleinschmidt
46ed623dad
Merge pull request #13067 from electron/docs--fix-wrapping-of-welcome-comment
...
fix wrapping of welcome comment
2018-05-24 16:05:43 -04:00
Zeke Sikelianos
de30defb62
docs: fix wrapping of welcome comment
2018-05-24 12:25:46 -07:00
Ali BARIN
b0b31e67da
fix: Update broken dock link in app doc
2018-05-24 21:21:08 +02:00
Jeremy Apthorp
8ea864d6eb
docs: dev instructions for GN build
2018-05-24 11:46:35 -07:00
John Kleinschmidt
8bf7ec0c21
Merge pull request #13058 from electron/symserver-posix
...
Update upload symbols script for posix
2018-05-24 14:10:08 -04:00
Milan Burda
4cfe5ecaa4
add proper support for typed arrays in remote ( #13055 )
2018-05-24 21:05:46 +09:00
Cheng Zhao
a798a40026
Merge pull request #13044 from electron/more-view-apis
...
Add layout support for View API
2018-05-24 16:34:03 +09:00
Cheng Zhao
0f7c25fc63
Put View APIs under a build flag
2018-05-24 15:44:07 +09:00
Cheng Zhao
2c8dc9e0bd
Add View.addChildView API
2018-05-24 15:36:29 +09:00
Cheng Zhao
322bde526c
Add LayoutManager/BoxLayout APIs
2018-05-24 15:36:29 +09:00
Nitish Sakhawalkar
55c8aa7f1c
Update upload symbols script for posix
2018-05-23 23:16:03 -07:00
Shelley Vohr
322a303683
address changes from review
2018-05-23 15:57:58 -07:00
Shelley Vohr
5f5322c64e
rename blinkFeatures to enableBlinkFeatures
2018-05-23 14:01:34 -07:00
Shelley Vohr
bc10be3de6
rename exposed session method to setCertificateVerifyProc
2018-05-23 13:51:28 -07:00
Shelley Vohr
fb4a8e9cb9
remove ses.setCertificateVerifyProc() deprecation
2018-05-23 09:47:14 -07:00
Shelley Vohr
22fed0c798
remove nativeImage.createFromBuffer() deprecation
2018-05-23 09:43:58 -07:00
Shelley Vohr
94e825378c
remove webFrame.registerURLSchemeAsSecure() deprecation
2018-05-23 09:33:57 -07:00
Shelley Vohr
4a90056462
remove webContents.openDevTools() deprecation
2018-05-23 09:30:15 -07:00
Shelley Vohr
3deffa859d
remove appcommand media-play_pause option deprecation
2018-05-23 09:24:32 -07:00
Shelley Vohr
003a5a0160
remove tray.setHighlightMode() deprecation
2018-05-23 09:20:39 -07:00
Shelley Vohr
72c63a10ee
remove screen.getMenuBarHeight() deprecation
2018-05-23 09:11:48 -07:00
Shelley Vohr
cc30f4c4fd
remove crashReporter deprecation
2018-05-23 09:07:14 -07:00
Shelley Vohr
438ac61ff7
remove clipboard deprecations
2018-05-23 09:04:39 -07:00
John Kleinschmidt
b3edfd7d89
Merge pull request #13042 from electron/nightly-release-builds
...
Updated CI configs for nightly release builds
2018-05-23 10:49:23 -04:00
John Kleinschmidt
6dff60b899
Updated CI configs for nightly builds
...
Add timestamp to s3 uploads
2018-05-23 10:23:28 -04:00
Aleš Pergl
93bee69266
Remove command line argument black-list ( #13039 )
...
* Remove command line argument black-list
Instead block all arguments following a URL.
* Updated tests
2018-05-22 11:51:03 -05:00
John Kleinschmidt
c320da5ec8
Merge pull request #13030 from electron/miniak/member-init
...
Refactoring: use C++11 class member variable initialization
2018-05-22 10:34:12 -04:00
Shelley Vohr
560c0e72e6
Fix vulnerabilities both top-level and in spec ( #13029 )
...
* fix dependency vulnerabilities
* fix vulnerabilities in spec
2018-05-21 21:15:18 -07:00
Milan Burda
2337237d58
Refactoring: use C++11 class member variable initialization
2018-05-22 00:18:38 +02:00
John Kleinschmidt
ee57c95aa6
Merge pull request #12999 from electron/miniak/native-mate
...
Bump vendor/native_mate
2018-05-21 14:16:53 -04:00
John Kleinschmidt
42ec7b317f
Add a tag to libchromiumcontent when a release is created. ( #12977 )
2018-05-21 13:03:23 -05:00
Thiago de Arruda
6f076f7433
Refactor sandbox preload initialization. ( #12877 )
...
Use a single synchronous IPC call to retrieve data required by early
sandbox scripts. This has two purposes:
- Optimize preload script initialization by:
- Using one synchronous IPC call to retrieve preload script,
webContentsId (more on that later), process.{platform,execPath,env}
- Lazy loading as many modules as possible.
- Fix #12316 for sandbox. @MarshallOfSound addressed the issue in
#12342 , but it was still present in sandbox mode. By loading
webContentsId very early and skipping remote module at early
startup, we fix it for sandbox.
2018-05-21 22:56:05 +10:00
Cheng Zhao
ef7947d176
Merge pull request #12995 from electron/web-contents-view-tests
...
Fix crashes and add tests for View API
2018-05-21 14:36:53 +09:00
Cheng Zhao
595b0663b2
WebContents may be managed by multiple owners
2018-05-21 10:53:09 +09:00
Cheng Zhao
300c7a4b04
add tests for View and WebContentsView
2018-05-21 10:53:09 +09:00
Cheng Zhao
3b81312cf7
clear pointer when WebContents is closed
2018-05-21 10:53:09 +09:00
Cheng Zhao
51db1efb8a
prevent double-adding a WebContents to view
2018-05-21 10:53:09 +09:00
Cheng Zhao
aeeb2a259f
destruct objects in stack order
2018-05-21 10:53:09 +09:00
Cheng Zhao
fd4a0626c5
destroy WebContents when view is destroyed
2018-05-21 10:53:08 +09:00
htk3
7c2303c758
Correct app-command name of APPCOMMAND_MEDIA_PLAY_PAUSE ( #12408 )
...
* correct app-command name
* add compatibility with old app-command name
* add temporary compatibility with old app-command name
* add a comment saying that media-play_pause is deprecated
* fix lint
2018-05-21 10:52:04 +09:00
Nitish Sakhawalkar
b842a4b133
update mac symbol dump ( #12982 )
...
* Update mac symbol dump
Update posix generate_breakpad_symbols.py file to use argparse instead of deprecated optparse.
Also, make changes to the posix generate_breakpad_symbols.py file to accept multiple binaries.
And update dump-symbols.py to get symbols for the mac helper app as well.
* Changes to appease the linter
2018-05-21 10:01:17 +09:00
Milan Burda
7c19ae302e
replace isEventEmitter with instanceof EventEmitter (rpc-server) ( #12998 )
2018-05-21 10:00:56 +09:00
Heilig Benedek
8b2bffcf9e
Only expand maximum size constraint if there was a constraint originally ( #13003 )
2018-05-21 10:56:45 +10:00
Jeremy Apthorp
156a97b80d
fix: Menu.setApplicationMenu(null) crash on Linux ( #12983 )
2018-05-18 10:29:28 -07:00
Milan Burda
a0a5e4abb2
Bump vendor/native_mate
2018-05-18 16:30:20 +02:00
John Kleinschmidt
91173320e6
Merge pull request #12987 from electron/fix-arm-release-build
...
Fix ARM Release build
2018-05-18 08:17:06 -04:00
Felix Rieseberg
f087f8e205
docs: Document missing quit events during shutdown ( #12986 )
...
* docs: Document missing events during shutdown
2018-05-18 07:27:44 -04:00
John Kleinschmidt
7177e941eb
Merge pull request #12993 from electron/electron-download-4.x
...
feat: upgrade electron-download to 4.x
2018-05-18 07:20:42 -04:00
John Kleinschmidt
3fbc3869dc
Merge pull request #12991 from electron/drop-arm-alias-builds
...
build: don't upload aliased arm builds anymore
2018-05-18 07:19:17 -04:00
Mark Lee
cda13e5e79
feat: upgrade electron-download to 4.x
...
This is a breaking change, as it causes the `electron` module to require
Node 4.x (which has been EOL'd anyway).
Upgrading adds features such as a customizable cache location (via the
`ELECTRON_CACHE` environment variable).
Originally merged in https://github.com/electron/electron/pull/10922 but
was reverted because it was going into a version of Electron that did
not allow breaking changes.
2018-05-17 23:16:27 -07:00
Mark Lee
022ffe69e0
Don't upload aliased arm builds anymore
...
They are literally a copy/paste of the armv7l builds, and have been
deprecated ever since they were renamed 2 years ago.
2018-05-17 22:22:46 -07:00
Milan Burda
5a5eb43359
detect EventEmitter in removeRemoteListenersAndLogWarning ( #12975 )
2018-05-18 11:09:25 +09:00
Cheng Zhao
5f461cd5cd
fix release build on arm
2018-05-18 10:50:31 +09:00
Milan Burda
850051463b
don't use native_mate/compat.h macros ( #12984 )
2018-05-18 09:08:28 +09:00
Cheng Zhao
ddec87224c
Merge pull request #34 from electron/remove-compat
...
Remove native_mate/compat.h
2018-05-18 09:07:24 +09:00
Milan Burda
d7b8cce162
Remove native_mate/compat.h
2018-05-17 23:39:40 +02:00
Shelley Vohr
83993fede8
update locale documentation ( #12967 )
2018-05-17 10:34:54 -07:00
Zhuo Lu
d2653e8192
Fix: Prevent menu update while it's open ( #12809 )
...
* Update application menu on default runloop
Menu change should be prevented while the menu is open
* Fix code style
* Memory safety
2018-05-17 11:19:28 +10:00
Shelley Vohr
f068ed9ee7
fix docs formatting for ts defs ( #12968 )
2018-05-16 14:59:44 -07:00
Felix Rieseberg
e8735cc005
docs: Document Python TLS requirements ( #12276 )
...
* 🔧 Add simple test script
* 📝 Add documentation
* 🔧 It works, use it
* 🔧 Make the linter happy
* 🔧 Check on bootstrap
* Trivial copyediting
s/operation system/operating system/
2018-05-16 14:19:49 -07:00
Jeremy Apthorp
b160093b91
refactor: GN builds on linux ( #12957 )
2018-05-16 12:51:11 -07:00
Jeremy Apthorp
da0fd10423
refactor: chromium-style warnings in linux code ( #12949 )
2018-05-16 14:12:45 -05:00
Mod John
2a161e1725
Fix broken link ( #12387 )
...
* Fix broken link
Link was producing a 404 error as the file no longer exists. Wasn't sure where this intended link used to go so took a guess at a appropriate target.
* Update quick-start.md
2018-05-16 10:23:46 -07:00
John Kleinschmidt
04855bc499
Merge pull request #12921 from electron/commit-package-lock
...
Add package-lock.json
2018-05-16 11:47:21 -04:00
John Kleinschmidt
2b26206ea2
Merge pull request #12844 from didrocks/fix-communitheme-session
...
fix: support multiple inherited ubuntu session for indicators
2018-05-16 11:44:04 -04:00
John Kleinschmidt
9488ef4867
Merge pull request #12496 from mikeykhalil/8952-ignore-tray-double-click-events
...
8952 option to ignore tray double click events
2018-05-16 10:17:36 -04:00
John Kleinschmidt
e1c374de6e
Merge pull request #12954 from electron/web-dialog-helper
...
Fix empty description when only one extension is given (GetFileTypesFromAcceptType)
2018-05-16 10:15:54 -04:00
Didier Roche
6feec2e2a5
Fix linting error
...
Thx @MarshallOfSound
2018-05-16 14:34:13 +02:00
Milan Burda
211d7825d3
feat: DIP <-> screen coordinate conversions ( #12879 )
2018-05-16 18:34:09 +09:00
Milan Burda
9d9d6ca20b
Fix empty description when only one extension is given
2018-05-16 01:58:58 +02:00
Jeremy Apthorp
73eb5af2cc
refactor: remove unnecessary std::moves in linux code ( #12951 )
...
The compiler was complaining that the move was preventing copy elision.
2018-05-15 14:33:47 -07:00
Jeremy Apthorp
8fa48d1c04
fix: unused variable warnings in linux code ( #12950 )
2018-05-15 13:49:27 -05:00
Jeremy Apthorp
c4134c3516
refactor: breakpad #includes to work with GN and GYP ( #12953 )
2018-05-15 11:33:19 -07:00
Jeremy Apthorp
136105e353
fix: wrong list index type in file_dialog_gtk.cc ( #12952 )
2018-05-15 13:22:52 -05:00
Jeremy Apthorp
0fb6dc79d8
Merge pull request #12948 from nornagon/node-config
...
[gn] Include node/common.gypi when building node
2018-05-15 10:42:29 -07:00
Jeremy Apthorp
7a36322432
[gn] Include node/common.gypi when building node
...
Not sure how this ever worked, but the GN build certainly doesn't work
on Linux without this.
2018-05-15 09:53:24 -07:00
Milan Burda
6a4d9309b2
Remove unnecessary heap allocations of atom::V8ValueConverter instances ( #12924 )
2018-05-15 09:21:23 -05:00
Cheng Zhao
9fc6b9dda2
Merge pull request #12858 from electron/api-view
...
Refactor NativeWindow (Part 13): Add View and WebContentsView APIs
2018-05-15 22:05:27 +09:00
Cheng Zhao
2f3fcb9dbe
give window a default content view
...
Certain APIs are expecting the window to have a content view, having a
default one simplifies our design.
2018-05-15 14:12:47 +09:00
Cheng Zhao
ea97f43145
check content view in SetMenuBarVisibility
2018-05-15 14:12:47 +09:00
Cheng Zhao
bb2715e7a5
feat: add TopLevelWindow.setContentView API
2018-05-15 14:12:47 +09:00
Cheng Zhao
2b24b26e59
refactor: do not pass WebContents to NativeWindow
2018-05-15 14:03:21 +09:00
Cheng Zhao
640877ebf8
attach native view after widget is created
2018-05-15 14:03:21 +09:00
Cheng Zhao
5a320222e2
feat: add WebContentsView API
2018-05-15 14:03:21 +09:00
Cheng Zhao
e058d11657
feat: add View API
2018-05-15 14:03:21 +09:00
Cheng Zhao
874af5c982
Merge pull request #12837 from nornagon/build-gn
...
GN build
2018-05-15 14:02:51 +09:00
Milan Burda
56cdf94f95
Fix contents.setSize(options) documentation in web-contents.md ( #12922 )
2018-05-15 10:17:04 +10:00
Alexey Kuzmin
fc34076c2b
Refactor <webview> tag tests ( #12886 )
2018-05-14 17:00:49 -05:00
John Kleinschmidt
cc2cd95ec5
Release updates in prep for 3-0-x releases ( #12916 )
...
* Add autorelease logic
* Fix UnboundLocalError when using s3 upload
2018-05-14 16:21:51 -05:00
Thiago de Arruda
54a506c8eb
Add package-lock.json
...
In order to have 100% reproducible builds, Electron needs
package-lock.json. This is necessary because some dependencies affect
the build output (browserify for example, is used to generate the common
js environment for sandboxed renderers).
2018-05-14 15:23:52 -03:00
Alexey Kuzmin
d5dfb19508
Update some tests ( #12917 )
...
* Use Chai for webview tests
* Slightly rewrite one of the <webview> tests
"dom-ready event" > "throws a custom error..."
* Use Chai for BrowserWindow tests
* Rewrite BrowserWindow.addDevToolsExtension tests
2018-05-14 13:17:31 -05:00
John Kleinschmidt
fe7947da90
Merge pull request #12805 from electron/update-blacklist-switches
...
update command-line backlist switches
2018-05-14 13:31:26 -04:00
John Kleinschmidt
14f4108e55
Merge pull request #12912 from chicoxyzzy/patch-1
...
Update installation instructions
2018-05-14 13:30:49 -04:00
John Kleinschmidt
6248aaf8dd
Merge pull request #12913 from electron/update-libcc-ref
...
Update vendor/libchromiumcontent ref
2018-05-14 10:50:27 -04:00
John Kleinschmidt
0fd8513c80
Merge pull request #12904 from electron/fix-12875
...
Allow frameless transparent windows to be sized smaller than 64x64 on Windows
2018-05-14 10:46:40 -04:00
Aleksei Kuzmin
aec3c3fb66
Update vendor/libchromiumcontent ref
2018-05-14 14:18:58 +02:00
Sergey Rubanov
5d3692c16f
Update installation instructions
2018-05-14 14:06:22 +03:00
Didier Roche
5df0fd9dc8
fix: more scalable code by factorizing appindicator support
...
- introduce a currentPlatformSupportsAppIndicator() function determining
if app indicators are supported here.
- handle undefined process.env.XDG_CURRENT_DESKTOP
- added some comments to ensure that the intents are clear
Thanks MarshallOfSound
2018-05-14 11:00:41 +02:00
Heilig Benedek
ce8af7d499
#else instead of #elif
2018-05-12 22:05:25 +02:00
Heilig Benedek
c6bf39b283
Only include windows headers on windows
2018-05-12 21:33:47 +02:00
Heilig Benedek
f1fd457411
Format code with clang-format
2018-05-12 19:51:19 +02:00
Heilig Benedek
eae0674f61
Match chromium's workaround when setting size of unresizable windows
2018-05-12 17:37:31 +02:00
Samuel Attard
0bb29e092d
fix: update docs for the ts parser ( #12902 )
2018-05-12 18:12:28 +10:00
John Kleinschmidt
bbba9ff906
Merge pull request #12900 from electron/make-httpReferrer-docs-consistent
...
fix broken doc errors
2018-05-11 14:57:22 -04:00
Charles Kerr
c2282ce4bd
remove accidentally-commited changes
2018-05-11 13:33:27 -05:00
Charles Kerr
5354e804d0
Fix oops: remove duplicate doc from last commit
2018-05-11 13:27:35 -05:00
Charles Kerr
bdae243552
Reinstate docs for app.makeSingleInstance()
...
Since this method is mentioned in breaking-changes.md, we need
the docs to prevent create-typescript-definitions from failing with
"error TS2339: Property 'makeSingleInstance' does not exist on type 'App'."
The reinstated docs are marked with deprecation warnings
that refer the reader to the new API calls.
2018-05-11 13:17:11 -05:00
John Kleinschmidt
8a69a09868
Merge pull request #12896 from electron/remove-chai-as-promised-from-top-level-package-json
...
Remove chai-as-promised from the top-level package.json
2018-05-11 14:13:03 -04:00
Charles Kerr
13877ce2c8
Fix routingId type
...
Previous phrasing confused electron-typescript-definitions,
thinking that routingId was of type `unique` 😃
2018-05-11 13:05:05 -05:00
Charles Kerr
8acbfca06b
Make Referrer.policy types parseable by e-t-d
2018-05-11 12:40:46 -05:00
Charles Kerr
cf6d36cb72
Consistent docs for LoadURLOptions.httpReferrer
2018-05-11 12:18:38 -05:00
John Kleinschmidt
e79751c8d4
Merge pull request #12892 from electron/skip_pdf_resource
...
build: don't ship pdf_viewer_resources.pak when feature flag is disabled
2018-05-11 11:46:45 -04:00
Charles Kerr
2c87dfef8a
add fs-extra devDependency to spec
2018-05-11 10:36:25 -05:00
Aleksei Kuzmin
8f7a0ca90c
Remove chai-as-promised from the top-level package.json
...
It's a tests dependency and its already present in spec/package.json.
2018-05-11 18:11:46 +03:00
deepak1556
3c76cc21ec
build: don't ship pdf_viewer_resources.pak when feature flag is disabled
2018-05-11 16:00:43 +05:30
Jeremy Apthorp
9aa18d29a5
Merge pull request #12885 from nornagon/is-desktop-unity
...
Don't declare IsDesktopEnvironmentUnity on non-Linux
2018-05-10 14:41:29 -07:00
Jeremy Apthorp
cc386f2345
Merge pull request #12884 from nornagon/views-defines
...
Require !OS_MACOSX as well as TOOLKIT_VIEWS for views code
2018-05-10 14:13:19 -07:00
Jeremy Apthorp
72057bf7ef
clang-format atom_api_web_contents.cc
2018-05-10 14:11:19 -07:00
Jeremy Apthorp
87d0175c76
Require !OS_MACOSX as well as TOOLKIT_VIEWS for views code
2018-05-10 14:11:19 -07:00
Jeremy Apthorp
3090550e53
Merge pull request #12882 from nornagon/gn-includes
...
Fix up #includes to work with both GYP and GN
2018-05-10 14:10:12 -07:00
Jeremy Apthorp
f2b1b3f6b8
Add GN build
2018-05-10 14:03:02 -07:00
Jeremy Apthorp
26f5390ac0
Don't declare IsDesktopEnvironmentUnity on non-Linux
2018-05-10 13:59:48 -07:00
Jeremy Apthorp
73ac019882
Fix up #includes to work with both GYP and GN
2018-05-10 13:38:40 -07:00
Zeke Sikelianos
1cc5492784
Merge pull request #12870 from electron/remove-macci-refs
...
Remove references to no longer used https://mac-ci.electronjs.org
2018-05-09 22:25:57 -07:00
John Kleinschmidt
fd8e330760
Remove references to no longer used https://mac-ci.electronjs.org
2018-05-09 16:41:24 -04:00
Shelley Vohr
daf75dd375
add app.isPackaged ( #12656 )
...
* add isPackaged method
* add false test case for app.isPackaged()
* document add.isPackaged()
* check isPackaged() without fs call
* convert to non-method property
* document app.isPackaged as a property
* update tests for app.isPackaged
* remove unused fs require
* clarify docs for isPackaged()
2018-05-07 23:15:31 -07:00
Charles Kerr
4d078fdb03
Remove more words ( #12852 )
...
* remove 'basically' from docs
* remove 'simply' from docs
* remove most uses of 'just' from docs
2018-05-08 00:16:09 -05:00
biuuu
86d023b02f
fix: listeners out of limit warning ( #12841 )
...
When the Chrome Extension has too many content scripts (above default
10 counts), there will be a warning: possible EventEmitter memory leak
detected. 11 listeners added.
2018-05-08 14:10:11 +09:00
John Kleinschmidt
c13d1e8ae6
Merge pull request #12847 from electron/friendly-docs
...
Remove judgmental docs terms
2018-05-07 12:41:17 -04:00
Shelley Vohr
82dd5fee12
Update issue templates ( #12848 )
...
Move to prescribed templates for bugs and features
2018-05-07 09:30:44 -07:00
John Kleinschmidt
428f10f9ee
Merge pull request #12532 from electron/native-arm-mksnapshot
...
Add native arm/arm64 mksnapshot
2018-05-07 11:48:53 -04:00
Shelley Vohr
52e3d5e4f0
remove some beginner-unfriendly terms from docs
2018-05-07 08:46:14 -07:00
Samuel Attard
5b5c161601
feat: new makeSingleInstance API ( #12782 )
...
* Refactor app.makeSingleInstance
* new API `app.isPrimaryInstance()`
* new API `app.isSingleInstance()`
* new event `app.on('second-instance')`
* deprecated old syntax `app.makeSingleInstance(cb)`
* deprecated old syntax of `app.makeSingleInstance() --> bool` in favor
of `app.isPrimaryInstance()`
* Fix spec, we don't need process.nextTick hacks any more
* Make deprecation TODO for the return value of makeSingleInstance
* Refactor makeSingleInstance to requestSingleInstanceLock and add appropriate deprecation comments
* I swear this isn't tricking the linter
* Make const
* Add deprecation warnings for release, and add to planned-breaking-changes
BREAKING CHANGE
2018-05-08 01:29:18 +10:00
Didier Roche
811ae1a936
Support multiple inherited ubuntu session for indicators
...
Multiple sessions inherits the "ubuntu" base settings properties in ubuntu.
One of the most popular one is communitheme: the next ubuntu default theme
has its dedicated session, with thus duplicated indicators for dropbox.
Rather than a string comparison for ubuntu, only match a substring then.
XDG_CURRENT_DESKTOP can be of form: "communitheme:ubuntu:GNOME",
"ubuntu:GNOME", …
Fixes : #12843 .
2018-05-07 11:49:37 +02:00
Shelley Vohr
9c8952aef0
Add menu item order control ( #12362 )
...
Add four new optional properties to menus in Electron. The four properties are:
'before'
'after'
'beforeGroupContaining'
'afterGroupContaining'
'before/after' - provides a means for a single context menu item to declare its placement relative to another context menu item. These also imply that menu item in question should be placed in the same “group” as the item.
'beforeGroupContaining/afterGroupContaining - provides a means for a single menu item to declare the placement of its containing group, relative to the containing group of the specified item.
2018-05-05 09:37:29 -07:00
Jeremy Apthorp
118da36b52
Send document-start/end to the right context when contextIsolation=true ( #12738 )
2018-05-04 23:39:54 -07:00
John Kleinschmidt
022b6973b2
Merge pull request #12836 from electron/revert-12833-update-templates
...
Revert "Update issue templates"
2018-05-04 17:17:40 -04:00
Shelley Vohr
7aa101ba8b
Revert "Update issue templates ( #12833 )"
...
This reverts commit dac584f7d6 .
2018-05-04 13:54:07 -07:00
Shelley Vohr
dac584f7d6
Update issue templates ( #12833 )
...
Move to prescribed templates for bugs and features
2018-05-04 13:51:12 -07:00
Milan Burda
48fe013549
Expose events (EventEmitter) to sandboxed renderer ( #12828 )
2018-05-04 09:51:32 -07:00
Shelley Vohr
f67c625e6a
don't filter out invisible menu separators ( #12825 )
2018-05-04 07:59:40 -07:00
Jeremy Apthorp
b280ea5579
chromium-style fixes ( #12826 )
2018-05-03 23:45:12 -07:00
Cheng Zhao
7be30bb249
Merge pull request #12787 from electron/mac-content-view
...
Refactor NativeWindow (Part 12): Do not use custom content view on macOS
2018-05-04 12:48:15 +09:00
Milan Burda
9b56ca3961
Fix optimizeSimpleObject for arrays of objects ( #12815 )
2018-05-03 22:34:30 -05:00
Cheng Zhao
a2c3db666e
viewDidMoveToSuperview may not be implemented
2018-05-04 09:55:09 +09:00
Cheng Zhao
5547df6073
report correct content size in AtomNSWindow
...
The views framework relies on NSWindow to return content size of window,
since we don't use the borderless window, the original result would
include titlebar. We have to override the function to return correct
result for frameless window.
2018-05-04 09:55:09 +09:00
Cheng Zhao
28fc58067b
remove usage of FullSizeContentView
2018-05-04 09:55:09 +09:00
Cheng Zhao
a9709a635c
display WebContents as views::View on macOS
2018-05-04 09:55:09 +09:00
Cheng Zhao
ada884a129
refactor: setup contentView on initialization
2018-05-04 09:55:09 +09:00
mikeykhalil
3aba515bbc
update docs for getIgnoreDoubleClickEvents method
2018-05-03 13:49:33 -07:00
mikeykhalil
94ffd4bfc0
add getter for ignoreDoubleClickEvents field
2018-05-03 13:49:33 -07:00
mikeykhalil
208374afa4
clean up ignore double click event implementation
2018-05-03 13:49:33 -07:00
mikeykhalil
664e14b91f
fixed typo found in code review
2018-05-03 13:49:32 -07:00
mikeykhalil
e1dcd79e48
updated Tray API docs to include new setIgnoreDoubleClickEvents method
2018-05-03 13:49:32 -07:00
mikeykhalil
1f29124d11
updated Tray API to ignore double click events on macOS ( #8952 )
2018-05-03 13:49:32 -07:00
Zeke Sikelianos
a08b4f780c
Merge pull request #12822 from stephanwlee/stephanwlee-patch-1
...
Fix the type information in in-app-purchase.md
2018-05-03 10:05:00 -07:00
Stephan Lee
6646ef71da
docs: fix the type information in in-app-purchase
...
Method returns Boolean, Manually confirmed the
correctness by running `npm run create-api-json`.
2018-05-03 09:34:21 -07:00
Alexey Kuzmin
3fd0ec99ae
Better OSR tests ( #12817 )
...
* Add features.isOffscreenRenderingEnabled()
* Use .isOffscreenRenderingEnabled() to determine if OSR is available
* Add a helper closeTheWindow() function
* Skip OSR tests if they are disabled
2018-05-03 11:10:25 -05:00
Charles Kerr
0a2dc1efb0
fix: lint is a devDependency, not a dependency ( #12818 )
2018-05-03 08:43:40 -07:00
Jeremy Apthorp
cdc5022305
Fix chromium-style errors ( #12802 )
2018-05-03 09:04:22 -05:00
Rahat Ahmed
5ba9f6a966
docs: Fix typo in transaction.md ( #12804 )
2018-05-03 00:01:49 -05:00
David Chawei Hsu
091ddb3c34
Fixed several broken links to the sections ( #12797 )
2018-05-02 21:51:37 -05:00
Charles Kerr
1b8b73ce71
update command-line backlist switches
...
part of the diff comes from the fact that we've bumped
to a new version of libcc.
another part comes from adding network_switch_list.h, whose
switch definitions follow a slightly different format.
2018-05-02 20:58:22 -05:00
Tim Fish
82329124ff
Fixes #12710 ( #12786 )
2018-05-02 12:19:52 -04:00
Zeke Sikelianos
36c4519d7e
Merge pull request #12781 from electron/more-code-signing
...
More code signing docs
2018-05-02 08:39:03 -07:00
Charles Kerr
c81dac774a
Fix some broken documentation links ( #12794 )
2018-05-02 10:33:07 -05:00
Zeke Sikelianos
1957eb9429
summarize semantic commit requirements ( #12665 )
...
* summarize semantic commit requirements
* move semantic commit details into contributing docs
* keep those messages short
2018-05-02 09:47:26 -05:00
Samuel Attard
63d670c286
explain platform differences in code signing
2018-05-02 11:52:52 +10:00
Samuel Attard
94e6be6cae
more code signing docs
2018-05-02 11:12:15 +10:00
Zeke Sikelianos
f1c7df8c28
add code signing tutorial ( #12767 )
...
* docs: add code signing tutorial
* docs: link to code signing tutorial from readme
* docs: remove unneeded use of "application" from docs readme
2018-05-01 19:56:44 -05:00
Jeremy Apthorp
78ab97ab04
Fix crash when releasing a script context that never had node injected ( #12741 )
2018-05-01 20:00:46 -04:00
John Kleinschmidt
d355bf0267
Merge pull request #12756 from electron/support-policy
...
Support policy
2018-05-01 15:40:55 -04:00
Charles Kerr
2cecc6ec2c
Remove text about ia32 emulator
2018-05-01 14:31:01 -05:00
Charles Kerr
49cab41fdf
Tweak ARM support with suggestion from jkleinsc
2018-05-01 14:25:18 -05:00
Charles Kerr
b0a8d825b3
Clarify the text on Windows for ARM support
2018-05-01 13:40:21 -05:00
Charles Kerr
af60a2fdf6
Add placeholder for supported-platforms.md
2018-05-01 13:32:11 -05:00
Charles Kerr
b602714e06
Use correct Slack channel name
2018-05-01 13:31:48 -05:00
Zeke Sikelianos
013a28a527
Merge pull request #12736 from electron/update-updates-tutorial
...
document update.electronjs.org in updates tutorial
2018-05-01 09:17:37 -07:00
Cheng Zhao
d46aa92f0b
make security-warnings tests more robust ( #12757 )
2018-05-01 14:28:55 +09:00
bughit
55a7f6f0ce
add did-frame-navigate event to WebContents ( #12723 )
...
* add did-frame-navigate event to WebContents, pass http response code to it and did-navigate
* docs for frame routing id related api changes on WebFrame and WebContents
2018-05-01 13:34:41 +09:00
Cheng Zhao
c67d1b62e3
refactor: NativeWindowViews should not be a View ( #12750 )
2018-05-01 13:28:22 +09:00
Cheng Zhao
e00b128a50
fix flaky security-warnings test ( #12749 )
2018-05-01 09:49:45 +09:00
Charles Kerr
400fb79dc2
Fix tyop
2018-04-30 18:36:17 -05:00
Charles Kerr
7c5b70d304
Fix broken link
2018-04-30 18:33:40 -05:00
Charles Kerr
221b103721
Finish consolidating the finding-support section
2018-04-30 18:26:08 -05:00
Charles Kerr
c0dc2d0238
Copyedit the 'finding support' section
2018-04-30 18:11:10 -05:00
Charles Kerr
37a68aebcf
Link issues.md back to support.md
2018-04-30 18:06:29 -05:00
Charles Kerr
a332930cdf
add 'finding support' section
2018-04-30 17:58:19 -05:00
Charles Kerr
e44b62d5a3
copyediting
2018-04-30 17:17:42 -05:00
Charles Kerr
d76b0223d9
add end-of-support policy
2018-04-30 17:16:15 -05:00
Samuel Attard
338a816ffd
Screen Lock / Unlock events ( #12714 )
...
* initial lock-screen and unlock-screen event implementation for macOS
* Implementation of lock-screen and unlock-screen on windows
2018-05-01 02:04:27 +10:00
Samuel Attard
c1381ac598
Add sccache option to bootstrap ( #12582 )
...
* Add sccache option to bootstrap
Couldn't see a CC wrapper style option for gyp so we inject the sccache commands directly into the generated ninja files.
* Use CC_wrapper
* Update toolchain.gypi
* s/sccache/cc_wrapper
2018-05-01 01:03:43 +10:00
Cheng Zhao
51b7322a0f
Merge pull request #12716 from electron/share-more-window-code
...
Refactor NativeWindow (Part 10): Share more code between NativeWindow implementations
2018-04-30 15:24:38 +09:00
Samuel Attard
b90ff86f8c
Add missing chai-as-promised dep ( #12746 )
2018-04-29 22:46:29 -04:00
Cheng Zhao
089428857c
remove unnecessary defines
2018-04-30 10:56:54 +09:00
Cheng Zhao
e07ea24610
remove unnecessary static_cast
2018-04-30 10:56:54 +09:00
Cheng Zhao
2225cc9608
refactor: manage widget_ in NativeWindow
2018-04-30 10:56:54 +09:00
Cheng Zhao
727cd68cee
refactor: Use widget() instead of window_
2018-04-30 10:56:54 +09:00
Cheng Zhao
6d18bd0633
refactor: Make NativeWindow inherit WidgetDelegate
2018-04-30 10:56:54 +09:00
Shelley Vohr
ee2c3607ad
fix patch output filename ( #12742 )
2018-04-27 21:43:04 -04:00
Zeke Sikelianos
21ffcbddad
document update.electronjs.org in updates tutorial
2018-04-27 10:49:42 -07:00
Shelley Vohr
21e5a2e071
Add clang-format script and precommit hook ( #12651 )
...
* add second arg to hook
* fix clang-format script
* remove format script
* help
* first pass at only checking formatting for changed files
* ensure clang-format only runs against changes
* add quiet option for print output
* fix script outputs for clang-format
* wrap conditional for exit error
* remove cpplint include ordering from brightray
* fix python style errors
* add clang-format to linting
* fix var error and add mm extension
* fix diff checking for commit hook
* show incorrectly formatted lines when linting fails
* don't try to check formatting for deleted files
2018-04-27 13:01:12 -04:00
Cheng Zhao
4cd7d11391
Merge pull request #33 from nornagon/build-gn
...
Don't copy things in Dictionary::Set
2018-04-27 08:41:09 +09:00
Zeke Sikelianos
cc98bd6b6d
Merge pull request #12662 from electron/prevent-default
...
Stop overwriting prevent_default if default wasn't prevented
2018-04-26 12:12:18 -07:00
Jeremy Apthorp
dd7e0f80fe
Turn off visual zoom by default ( #12679 )
2018-04-26 10:27:35 -05:00
Jeremy Apthorp
1a64b9f0c2
Disable navigating on drag/drop ( #12655 )
...
* Disable navigating on drag/drop
* Add a WebPreferences option to re-enable navigate on drag/drop
2018-04-26 10:23:27 -05:00
bughit
4fcd178c36
expose WebFrame#routingId ( #12614 )
...
* expose WebFrame#routingId and pass it to WebContents frame specific events along with frameProcessId; add WebContets.did-start-navigation event
* fix compilation error on ia32 Windows
2018-04-26 19:17:55 +09:00
Cheng Zhao
152422af81
Merge pull request #12696 from electron/mac-use-widget
...
Refactor NativeWindow (Part 9): Use views::Widget on macOS
2018-04-26 15:49:49 +09:00
Cheng Zhao
cf70267871
remove unnecessary overrides
2018-04-26 09:48:12 +09:00
Jeremy Apthorp
7733b87431
Don't copy things on Dictionary::Set
2018-04-25 15:18:27 -07:00
Cheng Zhao
5e48dd9d45
be aware of views::Widget's layer
2018-04-25 15:10:29 +09:00
Cheng Zhao
39242c978f
fix failed BrowserWindow tests
2018-04-25 15:10:29 +09:00
Cheng Zhao
75a624434c
refactor: use views::Widget on macOS
2018-04-25 15:10:29 +09:00
Shelley Vohr
7c4964fae6
revert to more graceful template structure check ( #12699 )
2018-04-24 11:21:26 -04:00
Tatsuya Hiroishi
9c65abd746
handle remote exception ( #12694 )
...
* add cause property to exception in callFunction
* update exceptionToMeta function
* add sender argument
* and cause property to return value
* update exception convert in metaToValue function
* add from and cause properties to the exception error
* unit test for remote exception
2018-04-24 08:40:19 -04:00
Nitish Sakhawalkar
2579071b98
Deprecate did-get-response-details and did-get-redirect-request ( #12615 )
...
* Deprecate webContents events did-get-response-details and did-get-redirect-request.
* Update guest view files
* Update webview tag docs and update specs
* Update deprecate.event function
* Update comment
* Update more
* Update documentation for other deprecated event
2018-04-23 14:46:12 -05:00
Leo MG Nesfield (LMGN)
975964f9f0
Not required. ( #12682 )
...
VS Code automatically executes from the `windows` object on win32.
2018-04-23 11:13:46 -05:00
James Wheare
bf2b4814e0
[docs] app.isDefaultProtocolClient is available on Linux now ( #12674 )
2018-04-23 01:16:43 +10:00
Shelley Vohr
12a57ff1c2
clang-format objc files ( #12673 )
2018-04-20 11:47:04 -07:00
Paul Frazee
94236bf4eb
Create automated-testing-with-a-custom-driver.md ( #12446 )
...
* Create automated-testing-with-a-custom-driver.md
* Update automated-testing-with-a-custom-driver.md
* Add 'Automated Testing with Custom Driver' to ToC
* Update automated-testing-with-a-custom-driver.md
2018-04-20 12:39:13 -04:00
Shelley Vohr
f9ee24f8f0
Merge pull request #12627 from vijaypushkin/patch-1
...
Corrected the name of Capitalization Styles
2018-04-20 09:49:28 -04:00
Cheng Zhao
28b85762fd
Merge pull request #12660 from electron/mac-views
...
Refactor NativeWindow (Part 8): Prepare work for using views::Widget on macOS
2018-04-20 21:31:28 +09:00
Robo
ff571f3b5d
Part I: Move from base::Bind to base::BindOnce and remove unneeded base::Passed ( #12661 )
2018-04-20 19:55:05 +09:00
Cheng Zhao
aa5c80f8a6
Fix new clang warnings
2018-04-20 19:26:20 +09:00
Cheng Zhao
c44279bb10
Move AtomNSWindow to a new file
2018-04-20 19:26:20 +09:00
Cheng Zhao
569967ac21
Move QLPreviewPanelDataSource to AtomNSWindowDelegate
2018-04-20 19:17:08 +09:00
Cheng Zhao
f6a7e5ea23
Move NSTouchBarDelegate to AtomNSWindowDelegate
2018-04-20 19:15:45 +09:00
Cheng Zhao
8e9667d86c
Manage AtomTouchBar in NativeWindow instead of AtomNSWindow
2018-04-20 19:15:01 +09:00
Cheng Zhao
ce54fd334d
Move AtomNSWindowDelegate to a new file
2018-04-20 19:12:17 +09:00
Cheng Zhao
1c6c75da4f
Merge the logic of managing ViewsDelegate
2018-04-20 19:10:37 +09:00
Cheng Zhao
9bc79f840e
mac: Override NativeWidgetMac
2018-04-20 19:10:37 +09:00
Cheng Zhao
37a7df49d6
mac: Provide ViewsDelegate
2018-04-20 19:10:37 +09:00
Alexey Kuzmin
fcc82ebd35
Add "app.whenReady()" ( #12652 )
...
* Make "chai-as-promised" avaialble in tests
* Add "app.whenReady()"
Closes #9561 .
2018-04-20 17:09:23 +10:00
Shelley Vohr
c7a0b419a9
Merge pull request #12669 from electron/MarshallOfSound-patch-1
...
Add last known working electron version
2018-04-20 00:25:36 -04:00
Samuel Attard
032b7c68d8
Add last known working electron version
2018-04-20 14:23:01 +10:00
Cheng Zhao
55e2dbdbc8
Merge pull request #12647 from nornagon/chromium-style
...
Fix a bunch of chromium-style errors
2018-04-20 08:15:51 +09:00
deepak1556
6d0ac6593c
[chromium-style] Complex class/struct needs an explicit out-of-line copy constructor.
2018-04-19 11:12:58 -07:00
deepak1556
30f1d0991b
enable chromium style checker plugin for electron and brightray targets
2018-04-19 11:12:58 -07:00
Jeremy Apthorp
7c5fcecbec
Build mac code with -Wunguarded-availability -Wobjc-missing-property-sythesis
2018-04-19 11:12:58 -07:00
Jeremy Apthorp
eb7ccf8afa
Bring mac code into conformance with -Wobjc-missing-property-synthesis
2018-04-19 11:12:58 -07:00
Jeremy Apthorp
f3c00e96aa
Bring mac code into conformance with -Wunguarded-availability
2018-04-19 11:12:58 -07:00
Jeremy Apthorp
27cee90e5e
[chromium-style] move methods out of headers
2018-04-19 11:12:58 -07:00
Jeremy Apthorp
f1587da480
[chromium-style] out-of-line default constructors and destructors
2018-04-19 11:12:58 -07:00
Jeremy Apthorp
6c26bb1cf8
[chromium-style] destructors of ref-counted objects should be private
2018-04-19 11:12:10 -07:00
Jeremy Apthorp
e6695cf2ec
[chromium-style] override / virtual warnings
2018-04-19 11:12:10 -07:00
Jeremy Apthorp
a635f078c6
[chromium-style] auto variable type must not deduce to a raw pointer type
2018-04-19 11:10:52 -07:00
Shelley Vohr
667c43398c
Merge pull request #12650 from electron/clang-format-chromium-src
...
clang-format chromium_src
2018-04-19 08:37:02 -04:00
Birunthan Mohanathas
cd407d1c3f
Stop overwriting prevent_default if default wasn't prevented
...
This didn't actually cause any issues because there is only one listener
for the affected methods right now. Should we have added more, the last
called observer would have overwritten `prevent_default`. Lets only set
it when necessary to avoid this footgun in the future.
2018-04-19 12:45:21 +02:00
Cheng Zhao
6c9f3066fd
Merge pull request #12637 from electron/expose-toplevel-window
...
Refactor NativeWindow (Part 7): Expose TopLevelWindow in JavaScript
2018-04-19 14:52:04 +09:00
Cheng Zhao
7473b612c5
Make Menu API accept TopLevelWindow
2018-04-19 13:08:37 +09:00
Cheng Zhao
1340b17424
Do not return TopLevelWindow in BrowserWindow.getAllWindows
2018-04-19 13:08:37 +09:00
Cheng Zhao
e38f511737
Make BrowserWindow inheirt TopLevelWindow in JS
2018-04-19 13:08:37 +09:00
Cheng Zhao
71ebd99dfa
Expose TopLevelWindow to JavaScript
2018-04-19 13:08:36 +09:00
Cheng Zhao
cfed9fa4b9
Make sure we append parent->child_windows after InitWith
2018-04-19 12:45:48 +09:00
Shelley Vohr
e7bb7dd78b
force windows above other includes
2018-04-18 23:33:15 -04:00
Shelley Vohr
f7d4437b3f
format previously missed chromium_src .cc files
2018-04-18 22:59:34 -04:00
Shelley Vohr
8cc81509d7
clang-format chromium_src
2018-04-18 22:59:33 -04:00
Shelley Vohr
c090dd2f81
Merge pull request #12649 from electron/clang-format-brightray
...
clang-format brightray
2018-04-18 22:59:04 -04:00
Cheng Zhao
47826a1262
Merge pull request #12648 from electron/clang-format-atom
...
clang-format atom files
2018-04-19 11:49:35 +09:00
Cheng Zhao
89d909ab43
Only include UIAutomationCoreApi.h where necessary
2018-04-19 11:14:55 +09:00
Shelley Vohr
35a4a07320
fix include definition errors
2018-04-18 20:48:46 -04:00
Shelley Vohr
ec35966715
remove unused macro
2018-04-18 20:48:45 -04:00
Shelley Vohr
9f7a8832a1
remove include ordering filter
2018-04-18 20:48:45 -04:00
Shelley Vohr
c6f4bbd143
also format missing .cc files
2018-04-18 20:48:45 -04:00
Shelley Vohr
53bdf22c85
clang-format atom files
2018-04-18 20:48:45 -04:00
John Kleinschmidt
717f55b012
Merge pull request #11328 from electron/add-env-to-release-docs
...
expanded release docs
2018-04-18 11:28:16 -04:00
Shelley Vohr
f8e523b277
Merge pull request #12646 from electron/new-base-bind-converters
...
add converters for base::BindOnce and base::BindRepeating
2018-04-17 22:18:54 -04:00
Shelley Vohr
49c8c31220
format previously misses .cc files
2018-04-17 21:56:12 -04:00
Shelley Vohr
284aca68c0
clang-format brightray
2018-04-17 21:46:27 -04:00
Shelley Vohr
ca406637af
add converters for base::BindOnce and base::BindRepeating
2018-04-17 18:47:12 -04:00
Alexey Kuzmin
a254f3d02c
Update trop whitelist ( #12642 )
...
* Sort authorizedUsers alphabetically
* Add alexeykuzmin to the authorizedUsers list
* Add deepak1556 to the authorizedUsers list
* Add nornagon to the authorizedUsers list
* Add nitsakh to the authorizedUsers list
* Add zcbenz to the authorizedUsers list
* Add jkleinsc to the authorizedUsers list
2018-04-18 01:23:03 +10:00
Shelley Vohr
7a8a0f6b4b
Merge pull request #12616 from electron/fix-copy-to
...
switch to sk_tool_utils::copy_to()
2018-04-16 22:18:23 -04:00
Zeke Sikelianos
40ff17c9f9
Merge pull request #12619 from electron/add-before-update-event
...
add new event to auto-updater
2018-04-16 12:43:15 -07:00
Shelley Vohr
354f872919
run clang-format
2018-04-16 15:08:17 -04:00
Shelley Vohr
a19ddfc578
fix copy_to conditional
2018-04-16 12:14:35 -04:00
Nitish Sakhawalkar
875706f660
Address breaking API
2018-04-16 15:40:50 +02:00
Shelley Vohr
59527165ec
Merge pull request #31 from electron/fix-ci
...
Fix failing CI
2018-04-16 09:35:12 -04:00
Samuel Attard
d06c79f5d3
Correct the default of allowRunningInsecureContent as per docs ( #12556 )
...
* Correct the default of allowRunningInsecureContent as per docs
* fix linting
* Update calls to match native_mate API change
2018-04-16 08:28:54 -05:00
Alexey Kuzmin
d0c80b5b55
Remove mate::TryCatch ( #26 )
...
It's not used anywhere. We use v8::TryCatch instead.
2018-04-16 22:16:48 +09:00
Shelley Vohr
90a7b5ebce
switch to simplified version of copy_to
2018-04-16 08:47:34 -04:00
Shelley Vohr
91f97ca02f
Update appveyor settings
...
Use Visual Studio 2017.
2018-04-16 14:38:35 +02:00
Shelley Vohr
1e2828b80e
Update travis settings
...
Use Node.js 9.7.0 and Xcode 9.3.
2018-04-16 14:37:44 +02:00
Shelley Vohr
4cb41ac425
clarify usage around before-quit-for-update event
2018-04-16 08:13:04 -04:00
Samuel Attard
8a94d4fcf9
Merge pull request #23 from electron/promise
...
Add mate::Promise
2018-04-16 20:18:33 +10:00
Samuel Attard
b180f18b7e
Add mate::Promise
2018-04-16 20:08:04 +10:00
Vijay Pushkin
82cbd4327f
Corrected the name of Capitalization Styles
...
Corrected CamelCase to PascalCase and
mixedCase to camelCase
2018-04-16 13:14:11 +05:30
Shelley Vohr
bb2fb93355
Merge pull request #29 from electron/revert-c66-change
...
Revert "Address breaking API"
2018-04-15 13:48:22 -04:00
Shelley Vohr
a10564c3b1
Revert "Address breaking API"
...
This reverts commit e20cf8687e .
2018-04-15 13:26:35 -04:00
Samuel Attard
7cc3b877dc
Fix event leak on reuse of touchbar item ( #12527 )
...
* fix event leak on reuse of touchbar item
* Clean up child touch bar item event listeners and escape item listeners
2018-04-15 10:24:47 -05:00
Birunthan Mohanathas
cd8278dceb
Add missing event parameter to console-message ( #12617 )
2018-04-15 10:13:02 -05:00
Shelley Vohr
06892775d4
add new event to auto-updater
2018-04-14 21:29:36 -04:00
Shelley Vohr
43a9092c16
remove accidental file change
2018-04-14 21:24:19 -04:00
Shelley Vohr
1727a9eca9
pull up definition and remove include
2018-04-14 21:23:05 -04:00
Shelley Vohr
8b4a89c445
.deepCopyTo() => sk_tool_utils::copy_to()
2018-04-14 12:50:55 -04:00
Zeke Sikelianos
e606a74de3
Merge pull request #12595 from Zhangdroid/fix-broken-url
...
[doc] Fix broken url
2018-04-13 19:08:20 -07:00
Cheng Zhao
858828d343
Refactor NativeWindow (Part 6): Move NativeWindow bindings to api::TopLevelWindow ( #12596 )
...
* Add atom::api::TopLevelWindow
* Make BrowserWindow inherit TopLevelWindow
* Fix reading from wrong weak map
* Read options after setting content view
* OnWindowClosed is not guarenteed to run now
* Fix the offscreen hack in BrowserWindow
* Fix building on Linux
* Fix tests on Linux
* Fix building on Windows
2018-04-14 11:04:23 +09:00
Zhuo Zhang
de1eae288c
doc: rename 'blink-feature-string' as 'runtime-enabled-features'
...
make it more meaningful :)
2018-04-14 08:49:30 +08:00
Charles Kerr
03d119d539
Address @jkleinsc's 2018-03-21 comments
2018-04-13 16:10:53 -05:00
John Kleinschmidt
7acbbf2ef3
Add logic to bundle native mksnapshot for arm/arm64
2018-04-13 15:52:08 -04:00
Zeke Sikelianos
23bb3bd963
Merge pull request #12577 from TiagoDanin-Forks/DeadURLs
...
[Docs] Fix dead urls
2018-04-13 11:04:11 -07:00
Zhuo Lu
a0cac05555
Clear cache storage data ( #12546 )
2018-04-13 13:03:16 -04:00
Charles Kerr
3edb1eed8d
Merge pull request #27 from electron/fix-to-details-string-call
...
Fix Value::ToDetailString() call
2018-04-13 11:19:17 -05:00
Robo
ad2baccefa
tools: pass custom template for js2c ( #12593 )
...
* Update node v9.7.0 ref
* tools: pass custom template to node/tools/js2c.py
2018-04-13 08:20:04 -04:00
Shelley Vohr
9e5c264012
Merge pull request #12601 from electron/makeunique-replace
...
Replace base::MakeUnique with std::make_unique
2018-04-13 08:19:26 -04:00
Shelley Vohr
d722008367
remove unnecessary ptr_util.h include
2018-04-12 22:34:26 -04:00
Aleksei Kuzmin
3dce1dd240
Fix Value::ToDetailString() call
...
See https://chromium-review.googlesource.com/848782
2018-04-12 15:36:44 +02:00
Shelley Vohr
b05932310b
replace base::MakeUnique with std::make_unique
2018-04-12 08:48:32 -04:00
Jeremy Apthorp
97fb15ac49
Enable WebFrame method forwarding in sandboxed renderers ( #12538 )
...
* Enable WebFrame method forwarding in sandboxed renderers
Fixes #9073
* Non-change to kick CI
2018-04-12 11:57:40 +10:00
Zhuo Zhang
dd45473356
fix broken url for 'blink-feature-string'
2018-04-11 15:02:54 +08:00
Cheng Zhao
558d36c1f3
Merge pull request #12584 from electron/no-webcontents-in-constructor
...
Refactor NativeWindow (Part 5): Add NativeWindow::SetContentView
2018-04-11 15:34:29 +09:00
Cheng Zhao
311d730bce
Merge pull request #25 from nitsakh/fix-update-ch
...
Address breaking API
2018-04-11 15:14:06 +09:00
Cheng Zhao
d706a30849
Fix crash when releasing window
2018-04-11 15:12:53 +09:00
Cheng Zhao
2b5bde4071
InstallView is no longer needed
2018-04-11 15:12:53 +09:00
Cheng Zhao
5a95aaaa54
kVibrancyType should be read in InitFromOptions
2018-04-11 15:12:53 +09:00
Cheng Zhao
cfd8ea8eb0
mac: Correctly unload previous content view
2018-04-11 15:12:53 +09:00
Cheng Zhao
56735d4ff5
Add NativeWindow::SetContentView
2018-04-11 15:12:53 +09:00
Cheng Zhao
13473ee138
web_view_ => content_view_
2018-04-11 15:12:53 +09:00
Cheng Zhao
97e8800677
Remove web_contents from NativeWindow's constructor
2018-04-11 15:12:53 +09:00
Nitish Sakhawalkar
e20cf8687e
Address breaking API
2018-04-10 16:17:20 -07:00
Nitish Sakhawalkar
6fc819dae1
Fix transparency in capturePage ( #12561 )
...
* Fix transparent window capture. Transparency is preserved and not converted to black pixels anymore
* Add test to make sure aplha channel exists in captured image
2018-04-10 19:07:15 +09:00
TiagoDanin
d7a003b0bc
📝 Fix dead urls
2018-04-09 17:58:10 -03:00
John Kleinschmidt
eca0436f58
Use CircleCI for Mac builds ( #12572 )
2018-04-09 14:19:54 -05:00
Andreas
6b5e09478c
Mouse forward on macOS ( #12281 )
...
* Accept mouse events according to the forward parameter on macOS.
* Update BrowserWindow docs: mouse forward is available on macOS
2018-04-09 19:35:05 +09:00
Cheng Zhao
0e5aaab0b5
Merge pull request #11959 from yuya-oc/filter-for-mac-dialog
...
show file filter name for accessory view of file dialog
2018-04-09 19:32:29 +09:00
Cheng Zhao
41134f52d9
Fix memory leaks in file_dialog_mac.mm
2018-04-09 16:51:25 +09:00
Yuya Ochiai
2131dc839a
Show file filter name for accessory view of file dialog
...
- Respect filters option of dialog.showOpenDialog() and
dialog.showSaveDialog(). (#10335 )
- Show "All Files" for <input> apart from "accept" attribute. (#11456 )
2018-04-09 16:50:21 +09:00
OJ Kwon
4c51c03779
feat(performspellcheck): queue spell check request asynchronously ( #12112 )
...
* feat(spellcheckrequest): implement spellcheckrequest
* feat(performspellcheck): queue spell check request asynchronously
2018-04-09 15:18:50 +09:00
OJ Kwon
dabd61bf80
chore(build): support generating compilation db ( #12104 )
2018-04-09 14:54:14 +09:00
Andrew MacDonald
6bfb122cd1
Add a display_id parameter to the desktopCapturer API. ( #12417 )
...
* Add a screen_api_id parameter to the desktopCapturer API.
When using the DirectX capturer on Windows, there was previously no way
to associate desktopCapturer/getUserMedia and electron.screen API
screens. This new parameter provides the association.
* Fix non-Windows build.
* Fix Mac.
* Fix Mac harder.
* JS lint
* clang-format C++ code.
* IWYU
* display_id, Linux comment, better test
* lint
* Fix tests on Linux.
* Add display_id documentation.
2018-04-09 14:43:35 +09:00
Robo
89f2eb1023
asar: remove patch to support graceful-fs ( #12562 )
2018-04-07 10:13:32 -05:00
Nitish Sakhawalkar
970f79e32f
Check for devtools in BrowserWindow.getFocusedWindow() ( #12526 )
2018-04-06 09:21:32 -04:00
loc
82f8914f9e
remove defines from build-libchromiumcontent ( #11927 )
2018-04-06 08:22:15 -04:00
Robo
65e8199a93
Enable plznavigate aka browser side navigation ( #12535 )
...
* enable plznavigate code path
* AtomBrowserClient::GetGeolocationApiKey returns the right default
* use IsLoadingToDifferentDocument to identify top level navigation in mainFrame
* use candidate site instance when available
* spec: don't test httpReferrer option for file origin
* update libcc ref
* affinity: only group same site in this mode
* plznavigate: don't emit did-get-response-details event for blob scheme
2018-04-06 16:22:52 +09:00
Charles Kerr
f8b8dc1494
Simplify views/menu_bar focus management ( #12536 )
...
* Simplify views/menu_bar focus management
* Make the linter happy
* Remove NativeWindowView focus manager listener API
* remove unnecessary change
* MenuBar ctor now takes a views::View
2018-04-05 21:53:08 -05:00
Charles Kerr
cad8eed6e4
Use ui:view's Activate() on Linux ( #12539 )
...
In NativeWindowViews, we started rolling our own _NET_ACTIVE_WINDOW
event in June 2016 to raise windows because Chromium's implementation
wasn't working as expected. (See commit 32b692b6 )
I'm not seeing this behavior in our current version of libcc,
so I wonder if this workaround is still needed?
2018-04-05 22:39:53 -04:00
Jeremy Apthorp
f0d08f4da1
Propagate referrer to new windows ( #12397 )
...
* Propagate referrer to new windows
Fixes #9205
* Rearrange -new-window event arguments for backwards-compatibility
* Plumb referrer policy through guest-window-manager
* Document the Referrer structure and its uses
* Add tests for referrer in new windows
* Docs nits
2018-04-05 18:13:24 -05:00
Vanessa Yuen
4316949a1d
Merge pull request #12542 from natsuozawa/patch-1
...
Minor grammatical issue in first-app.md
2018-04-05 13:06:06 +02:00
Natsu
7a01ff11cd
Fixed one minor grammatical issue
...
Line 93: "principals and methods" -> "principles and methods"
2018-04-05 19:26:26 +09:00
Kristof Mattei
c1439bb02b
Use Visual Studio's vswhere to find Visual Studio, and use proper version numbers to locate ( #12537 )
2018-04-05 16:13:30 +09:00
Heilig Benedek
a14ebc80d2
Disable chromium's redraw locking on Windows when DWM is disabled ( #12501 )
...
* disable redraw locking on windows
* update libcc ref
2018-04-05 15:55:26 +09:00
Adrien Fery
5486a65702
Improve in-app purchase for MacOS ( #12464 )
...
* Add methods to finish transactions
* Add a method to get the product descriptions from the App Store
* Improve the documentation of a transaction structure
* Add a tutorial for In App Purchase
* Fix typo in In-App Purchase tutorial
* Fix style of In-App Purchase files
* Fix In-App-Purchase product structure conversion in amr64
* Fix code style in In-App Purchase tutorial documentation
* Fix typos in In-App Purchase documentation
* Fix typo in In-App Purchase spec
* Slight style fixes
2018-04-05 15:33:13 +09:00
Heilig Benedek
52b1065b3b
Focus webview directly in offscreen mode ( #12507 )
2018-04-05 15:14:42 +09:00
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
Cheng Zhao
c75dd93b92
Move AutofillPopup from NativeWindow to WebContents ( #12514 )
2018-04-05 09:53:51 +09:00
Aleš Pergl
3a45d541f3
Expose IsOffScreen method always to JS. ( #12530 )
2018-04-04 12:19:08 -05:00
MadfishDT
200388ff96
add moveTop API to move window z-oder to top for win32, mac ( #12485 )
...
* add moveTop API to move window z-oder to top for win32, mac
* BrowserWindow::MoveTop SetMethod bug fix
2018-04-03 08:04:32 -05:00
Zeke Sikelianos
9d570dc645
add IDL and Mojo to glossary ( #12504 )
2018-04-03 07:58:25 -05:00
Cheng Zhao
8fc5c6c862
Refactor NativeWindow (Part 3): Remove is_offscreen_dummy from NativeWindow ( #12503 )
...
* Don't use is_offscreen_dummy in MessageBox
* Don't use is_offscreen_dummy in DownloadManagerDelegate
* Don't use is_offscreen_dummy in CommonWebContentsDelegate
* Remove is_offscreen_dummy from NativeWindow
2018-04-03 12:19:35 +09:00
Charles Kerr
1a649a6ac3
Handle in-app-purchase less fatally on non-Darwin ( #12511 )
...
Fixes #12311
Right now it throws a new error when the file is even require()d, but this isn't ideal as there are cases where everything is mass-required, such as Spectron. Instead, we should throw an error on non-Darwin environments only when the IAP methods are invoked.
2018-04-02 18:55:44 -05:00
Jeremy Apthorp
a7352e57d5
WebFrame.setVisualZoomLevelLimits sets user-agent scale constraints ( #12488 )
...
Fixes #11216 .
2018-04-02 18:20:13 -04:00
Nitish Sakhawalkar
fbff355742
Support for navigator.languages ( #12419 )
2018-04-02 12:47:00 +09:00
Cheng Zhao
02693839ca
Merge pull request #24 from electron/remove_independent_lifetime
...
Remove usage of MarkIndependent api
2018-03-31 21:42:13 +09:00
deepak1556
894c96f39f
Remove usage of MarkIndependent api
...
https://bugs.chromium.org/p/chromium/issues/detail?id=780749
Use Active/Not Active as indicator whether the Scavenger can drop wrappers
2018-03-31 15:08:17 +05:30
Robo
171230e45d
Cleanup destruction of URLRequestContextGetter ( #12305 )
...
- Add Leak detector
- Indicate shutdown of request context from Browser Context
- Change stored references to URLRequestContextGetter to use BrowserContext
- Destroy session properties explicitly
2018-03-30 08:24:55 -05:00
Alexey Kuzmin
fc00a2ba32
Use latest libcc ( #12476 )
2018-03-29 16:35:07 -05:00
Shelley Vohr
a677c22e1f
re-enable null check against menu item accelerators ( #12449 )
2018-03-27 20:32:55 -04:00
Sean
5f7c6ccfe4
update doc for setProgressBar ( #12428 )
...
* update doc for setProgressBar
The linter was unable to get `paused` as a possible value for `mode`
* update doc for setProgressBar
Addressing PR feedback
2018-03-28 10:29:31 +11:00
Jeremy Apthorp
22da843efa
s/now/not/ in allowRunningInsecureContent documentation ( #12452 )
2018-03-28 10:15:29 +11:00
Samuel Attard
2e5cb930de
Provide an easy way to use a local build of Electron ( #12426 )
...
* Provide an easy way to use a local build of Electron
For instance from ~/projects/electron/out/D
* document ELECTRON_OVERRIDE_DIST_PATH
* Make the linter happy
* Tweak ELECTRON_OVERRIDE_DIST_PATH docs
2018-03-25 00:03:17 -04:00
Charles Kerr
cfd91a3b56
Fix documentation tyop ( #12422 )
2018-03-23 18:35:14 -04:00
Cheng Zhao
6a3d238b7e
Merge pull request #21 from yzgyyang/master
...
Add support for FreeBSD
2018-03-23 09:19:00 +09:00
Guangyuan Yang
31206cfa0a
Add support for FreeBSD
2018-03-22 14:14:26 -04:00
Jeremy Apthorp
95cbd69e48
Update testing docs to reflect --grep syntax ( #12400 )
...
* Update testing docs to reflect --grep syntax
* Use @zeke's suggestion to s/suites/tests/
2018-03-22 13:19:53 -04:00
Cheng Zhao
f41cce96a3
Increase timeout for inAppPurchase test ( #12403 )
2018-03-22 08:47:29 -05:00
Zhuo Lu
c50a460ce6
Do not block main process for async dialog ( #12404 )
2018-03-22 08:57:33 -04:00
Clément Beffa
642f5a84d4
Workspace notifications support on macOS ( #12093 )
2018-03-22 18:41:03 +09:00
Nitish Sakhawalkar
9d1527b1df
Fix context menu for sandbox devtools ( #11933 )
2018-03-22 16:15:57 +09:00
Cheng Zhao
67f052a6e1
Merge pull request #12168 from electron/easier-web-contents-preferences
...
Cleanup the static methods of WebContentsPreferences
2018-03-22 15:58:04 +09:00
Cheng Zhao
05fcec829e
Use Clone explicitly instead of MergeDictionary
2018-03-22 15:29:20 +09:00
Cheng Zhao
0abbedcdae
Fix error caused by refactor
2018-03-22 15:21:56 +09:00
Cheng Zhao
6df2326a30
Cleanup the static methods of WebContentsPreferences
...
The static methods are totally unnecessary, and it makes code harder to
understand since we are using different ways to do the same things.
2018-03-22 15:21:56 +09:00
Cheng Zhao
001275339b
Hide WebContentPreferences::GetWebContentsFromProcessID from public
2018-03-22 15:20:03 +09:00
Cheng Zhao
3d47a8a2fd
Remove the static getter methods from WebContentsPreferences
2018-03-22 15:20:03 +09:00
Cheng Zhao
887bc12350
Add WebContentsPreferences::From that checks parameter
2018-03-22 15:16:26 +09:00
Cheng Zhao
9772777919
web_prefrences() => dict()
...
Having property name being the same with class name is making code
harder to understand, and dict is much shorter.
2018-03-22 15:15:30 +09:00
Zeke Sikelianos
d323ce2c42
Merge pull request #12399 from electron/now-we-call-ourselves-electrocats
...
now we call ourselves electrocats
2018-03-21 17:06:59 -07:00
Zeke Sikelianos
7c0c798c90
now we call ourselves electrocats
2018-03-21 16:50:52 -07:00
Shelley Vohr
05dc04dacc
don't check darkmode for drawStatusBarBackgroundInRect ( #12395 )
2018-03-21 19:03:57 -04:00
Charles Kerr
0d7becff87
Use the appname as the tray icon's default tooltip ( #12388 )
...
This makes an upstream DCHECK happy in AppIndicatorIcon::SetToolTip.
Empty tooltip strings are discouraged, as discussed in commit log
b6c510aa543193337041517c2d70113840189b06.
Fixes #12386 .
2018-03-21 12:15:30 -05:00
htk3
6fa4ec22c5
fix broken fragment link in ipc-main.md ( #12389 )
2018-03-21 12:05:27 -05:00
bughit
37eccbcd33
Update 3 (of Visual Studio 2017) is leftover from 2015 ( #12372 )
...
does not apply to 2017
it's not clear to me that it's possible to download a non current version of vs2017
but if a specific version is required the directions should explain how to get it
2018-03-20 16:15:59 -05:00
Zeke Sikelianos
e3dfffb77b
add docs/development/README.md ( #12373 )
2018-03-20 15:36:48 -04:00
John Kleinschmidt
060b592fc8
Merge pull request #12348 from electron/fix-browser-view-draggable-region
...
Update draggable regions when changing BrowserView
2018-03-20 10:40:27 -04:00
Cheng Zhao
cd30a4e2d4
Merge pull request #11459 from electron/upgrade-to-chromium-63
...
Upgrade to Chromium 63
2018-03-20 17:25:34 +09:00
Cheng Zhao
c70150847d
Ignore warning LNK4199
...
We are now sharing the /DELAYLOAD settings between configurations.
2018-03-20 10:13:17 +03:00
Cheng Zhao
2e94a730cc
Isolate the code using content::WebContentsImpl
2018-03-20 10:13:17 +03:00
Gellert Hegyi
a9cdd6614a
fixes class name
2018-03-20 10:13:17 +03:00
Gellert Hegyi
0ad8815bbc
fixes offscreen rendering issues
2018-03-20 10:13:17 +03:00
Cheng Zhao
d4969783d7
Avoid including web_contents_impl.h
...
This can fix the build error caused by duplicate typedefs.
2018-03-20 10:13:17 +03:00
deepak1556
f5e1ee010b
FIXME: disable pdf viewer feature
2018-03-20 10:13:17 +03:00
deepak1556
e24c0dda5d
add features module to detect availability of build time features at runtime
2018-03-20 10:13:17 +03:00
deepak1556
4b39d17e5f
move pdf viewer behind feature flag
2018-03-20 10:13:17 +03:00
deepak1556
c1908147a9
Fix windows build
2018-03-20 10:13:17 +03:00
John Kleinschmidt
6aebae5a98
Remove custom appveyor config
2018-03-20 10:13:17 +03:00
Aleksei Kuzmin
714a793a0e
Update to the latest libcc with Ch63
2018-03-20 10:13:17 +03:00
Cheng Zhao
94fce43ed9
Emit document-start for the correct env
...
This fixes the crash in RunScriptsAtDocumentStart when "affinity" option
is specified. Previously we were assuming only one main frame exists in
the renderer process, but the "affinity" option breaks this option.
There is also a bug that "node::Environment::GetCurrent" does not return
nullptr for context without a env in it, I'm not sure whether it is a
bug of Node or V8.
2018-03-20 10:13:17 +03:00
deepak1556
c3f8f6bc42
re-use request context from IOThread
2018-03-20 10:13:17 +03:00
Cheng Zhao
97fcf7079b
Update chrome_version.h
2018-03-20 10:13:17 +03:00
Cheng Zhao
cb4c54eec1
Use 60 as module version for V8 6.3
2018-03-20 10:13:17 +03:00
deepak1556
9702898dcd
AccessTokenStore is only needed to initialize network location service
2018-03-20 10:13:17 +03:00
deepak1556
97eb7f2c98
REVIEW: ContentBrowserClient now provides geolocation api key and request context
2018-03-20 10:13:16 +03:00
deepak1556
f9de29ed8c
Enable node crypto spec
2018-03-20 10:13:16 +03:00
Cheng Zhao
246f6318e4
Fix release build on Windows
2018-03-20 10:13:16 +03:00
Aleksei Kuzmin
d5ecbfc539
spec: Do not assume en-US locale to be the current
2018-03-20 10:13:16 +03:00
John Kleinschmidt
750c3d05aa
debug build issues
2018-03-20 10:13:16 +03:00
John Kleinschmidt
dfc4dbdbd3
Drop clone folder
2018-03-20 10:13:16 +03:00
John Kleinschmidt
d58b366123
Add whole appveyor config
2018-03-20 10:13:16 +03:00
John Kleinschmidt
d90b600bc1
Use visual studio 17 image
2018-03-20 10:13:16 +03:00
Aleksei Kuzmin
d3afb595dc
Tab Capture in VIZ: CopyOutputRequest/Result API changes.
...
https://chromium-review.googlesource.com/637003
2018-03-20 10:13:16 +03:00
Aleksei Kuzmin
639be7f7bc
Simplify transparent backgrounds
...
https://chromium-review.googlesource.com/669646
2018-03-20 10:13:16 +03:00
Cheng Zhao
b6b7707dc3
Fix Windows linking error
2018-03-20 10:13:16 +03:00
Cheng Zhao
624e09533c
Avoid using deprecated skia size methods
2018-03-20 10:13:16 +03:00
Cheng Zhao
42938de973
Build with Visual Studio 2017
2018-03-20 10:13:16 +03:00
deepak1556
e6d38cb64e
update node ref to fix --typed_array_max_size_in_heap error
2018-03-20 10:13:16 +03:00
Nitish Sakhawalkar
524f56354c
Fix webview resize test
2018-03-20 10:13:16 +03:00
deepak1556
5e9da04ab7
update libcc ref to disable ScriptForbuddenScope check
2018-03-20 10:13:16 +03:00
deepak1556
f4ee48eaf4
v8-platform header is not required explicitly
2018-03-20 10:13:16 +03:00
Cheng Zhao
d141d2445d
Fix build error caused by base::Passed changes
2018-03-20 10:13:16 +03:00
deepak1556
b08d086b0f
fix stale rebase
2018-03-20 10:13:16 +03:00
Shelley Vohr
7e7634d344
Chromium 63 - upgrade to Node v9.7.0 ( #12219 )
...
* OPENSSL_PRODUCT => openssl_product
* node => node_lib and V8_BASE => v8_base
* build node target for <(node_lib_target_name)
* update node ref
* update node::Environment::TickInfo calls
* update node ref
* Use InternalCallbackScope for ticking event loop
* enter context scope before InternalCallbackScope
* don't lint v8 platform header
2018-03-20 10:13:16 +03:00
Cheng Zhao
ecefe41728
Linker behaves differently on arm
2018-03-20 10:13:16 +03:00
Cheng Zhao
34cb9cf1fe
Use lld for linking on both Debug/Release builds
...
This follows Chromium's config, otherwise we get linking error:
/usr/bin/ld: shared_library/libmirclient.so.9: __cxa_finalize: invalid needed version 2
shared_library/libmirclient.so.9: error adding symbols: Bad value
2018-03-20 10:13:16 +03:00
Cheng Zhao
76ef6e3ecc
CertificateList => ScopedCERTCertificateList
2018-03-20 10:13:16 +03:00
Cheng Zhao
0f9f04e4ec
Fix cpplint warning
2018-03-20 10:13:16 +03:00
Cheng Zhao
aa25381651
Fix warning when building openssl-cli
2018-03-20 10:13:16 +03:00
Cheng Zhao
5f71fbc6b3
Fix warnings when building node
2018-03-20 10:13:16 +03:00
Nitish Sakhawalkar
ecd0f9d0e7
Fix build by adding define in node_includes.h
2018-03-20 10:13:15 +03:00
Tomas Rycl
f2116c50c0
Unity detection now works in all OSes - returns false.
2018-03-20 10:13:15 +03:00
Tomas Rycl
c15e09b71e
rtc_base_approved renamed to generic
2018-03-20 10:13:15 +03:00
Aleksei Kuzmin
f68cba0c71
Update Chrome version
2018-03-20 10:13:15 +03:00
deepak1556
80772c2419
FIXME: Disable node crypto spec
2018-03-20 10:13:15 +03:00
deepak1556
b9bb4dfc06
FIXME: re-enable guest webcontents based on OOPIF feature
2018-03-20 10:13:15 +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
deepak1556
b552ad7065
add taskpriority when creating sequences task runners
2018-03-20 10:13:15 +03:00
deepak1556
1f2d229862
re-use title information from NavigationEntry
2018-03-20 10:13:15 +03:00
Aleksei Kuzmin
fa3d9d32ae
Use XDG_CURRENT_DESKTOP to determine if the desktop environment is Unity
...
https://chromium-review.googlesource.com/682615
2018-03-20 10:13:15 +03:00
Aleksei Kuzmin
e35b128fa3
Update crashpad to match Chromium 63.0.3239.108
2018-03-20 10:13:15 +03:00
deepak1556
6de49f515e
FIXME: Disbale browser side navigation aka PlzNavigate
2018-03-20 10:13:15 +03:00
deepak1556
007ea500d0
REVIEW: Re-use devtools network throttling from content layer
...
https://chromium-review.googlesource.com/c/chromium/src/+/664356
2018-03-20 10:13:15 +03:00
Aleksei Kuzmin
490b1e2532
FIXME: Disable some tests to avoid crashes
2018-03-20 10:13:15 +03:00
Samuel Attard
8269a6dc37
Temporarily disable OnCursorChange
...
ScopedProfile is removed
https://chromium-review.googlesource.com/c/chromium/src/+/655147
2018-03-20 10:13:15 +03:00
Samuel Attard
78266db427
Fix webrtc linking issues
2018-03-20 10:13:15 +03:00
Samuel Attard
b0fe23072d
Update chrome version
2018-03-20 10:13:15 +03:00
Samuel Attard
a21e0c652c
Fix WorkerPool and IPC send inside print job/manager
2018-03-20 10:13:15 +03:00
Samuel Attard
0b6293e2f5
Pickle write methods now return void and use GE_CHECK instead
2018-03-20 10:13:15 +03:00
Samuel Attard
9181db1304
Disable tautological check for chromium code
2018-03-20 10:13:15 +03:00
Aleksei Kuzmin
dcece31519
FIXME: Disable OSR by default
2018-03-20 10:13:15 +03:00
Aleksei Kuzmin
aab6f27503
Move DrawQuads to components/viz/
...
https://chromium-review.googlesource.com/667539
2018-03-20 10:13:15 +03:00
Aleksei Kuzmin
74cedd3255
Move ReleaseCallbacks and CopyOutputRequests out of quads/
...
https://chromium-review.googlesource.com/682760
2018-03-20 10:13:15 +03:00
Aleksei Kuzmin
d1061692d5
Move CompositorFrame{Metadata} to viz/common/quads.
...
https://chromium-review.googlesource.com/676726
2018-03-20 10:13:14 +03:00
Aleksei Kuzmin
481c70311a
Move SoftwareOutputDevice to the viz service display compositor.
...
https://chromium-review.googlesource.com/677463
2018-03-20 10:13:14 +03:00
Aleksei Kuzmin
4d234e3abc
Update Node.js submodule to fix a compilation error
2018-03-20 10:13:14 +03:00
Samuel Attard
37a321a601
Fix super fast hash and blocking pool
2018-03-20 10:13:14 +03:00
Samuel Attard
7c8be94a6e
IPC fixes for WebContents
2018-03-20 10:13:14 +03:00
Samuel Attard
1c648f9714
Add new includes for leveldb and webrtc
2018-03-20 10:13:14 +03:00
Samuel Attard
fdc7c183e8
Update libcc
2018-03-20 10:13:14 +03:00
Samuel Attard
f80b328937
WebExceptionCode has been removed
2018-03-20 10:13:14 +03:00
Samuel Attard
5a2f85600d
Add support for size 64 skbitmap operations
2018-03-20 10:13:14 +03:00
Samuel Attard
7356be0164
Convert optional webpoint
2018-03-20 10:13:14 +03:00
Samuel Attard
a8e013dcb6
GetRenderProcessHost() has been removed for OOPI support, should use #include GetMainFrame()->GetProcess()
2018-03-20 10:13:14 +03:00
Samuel Attard
c3dec709ab
PrintedPageSource has been removed
2018-03-20 10:08:58 +03:00
Samuel Attard
6402b23041
tracked_objects::Location --> base::Location
2018-03-20 10:08:58 +03:00
Samuel Attard
1158d35021
experimental_webgl_enabled is not supported, now use webgl1/2_enabled
2018-03-20 10:08:58 +03:00
Samuel Attard
e65815e34c
Implement GetBackgroundFetchDelegate in brightray::BrowserContext
2018-03-20 10:08:58 +03:00
Samuel Attard
021e383418
GetBlockingPool has been removed
2018-03-20 10:08:58 +03:00
Samuel Attard
0291dc8214
Calling non-const callbacks requires some tricks
2018-03-20 10:08:58 +03:00
Samuel Attard
ce755483ba
DialogClosedCallback are not const references anymore
2018-03-20 10:08:58 +03:00
Samuel Attard
de2981a767
Move proxy constructor to ProxyService namespace
2018-03-20 10:08:58 +03:00
Samuel Attard
41b9825f00
WebContents are no longer IPC Sender's
2018-03-20 10:08:58 +03:00
Samuel Attard
6f695b93d5
Fix system proxy config resolver constructor
2018-03-20 10:08:58 +03:00
Samuel Attard
f2edd5d068
v8 proxy service has been removed
2018-03-20 10:08:58 +03:00
Samuel Attard
f0ef11b856
BlockingPool has been removed
2018-03-20 10:08:58 +03:00
Samuel Attard
12066a60f3
make_scoped_refptr --> WrapRefCounted
2018-03-20 10:08:58 +03:00
Samuel Attard
4666879f94
WebContentsObserver no longer provides explicit_set, we can calculate it
2018-03-20 10:08:57 +03:00
Samuel Attard
fb55db665c
AllowCertificateError no longer sends overridable
2018-03-20 10:08:57 +03:00
Samuel Attard
7f50c3d08e
TracingController -> Coordinator -- content tracing now uses 'endpoints' instead of 'sinks'
2018-03-20 10:08:57 +03:00
Samuel Attard
461e33104e
HandleCommand now takes session_id and returns success boolean. It is assumed a nullptr from the handler means failure
2018-03-20 10:08:57 +03:00
Samuel Attard
ed992ae6a1
trackable_object has moved to base namespace
2018-03-20 10:08:57 +03:00
Aleksei Kuzmin
b608152c41
Update Chrome version to 63.0.3239.84
2018-03-20 10:08:57 +03:00
Aleksei Kuzmin
5cf1ef7be0
Update clang revision to match Chromium 63.0.3239.70
2018-03-20 10:08:57 +03:00
Aleksei Kuzmin
6649a82776
Use libcc with Chromium 63
2018-03-20 10:08:57 +03:00
Samuel Attard
0ac883c6d4
Remove the race condition between new process creation and context release ( #12342 )
...
* Remove the race condition between new process creation and old process releasing remote context
Previously there was a race condition where the getId() method would return the new context ID even
though the release was for the old context. This changes it to send the "initial" context ID with
the release message to ensure there is no race.
* fetch context ID from remote in sandbox mode
2018-03-20 15:54:47 +11:00
Birunthan Mohanathas
20a0508a16
Update draggable regions when changing BrowserView
...
Fixes #12150 .
2018-03-19 20:45:42 +02:00
Birunthan Mohanathas
42934a1006
Make BrowserView DragRegionViews children of the WebContents view
...
Previously they were children of the `InspectableWebContentsView` view,
which caused this assertion to fail:
f993888424/brightray/browser/mac/bry_inspectable_web_contents_view.mm (L162)
2018-03-19 20:45:40 +02:00
Birunthan Mohanathas
3b8ddd0997
Use NSView convertRect:toView: for BrowserView DragRegionView positioning
2018-03-19 20:44:05 +02:00
Birunthan Mohanathas
377e6c3210
Rename system_drag_exclude_areas => drag_exclude_rects
2018-03-19 20:44:05 +02:00
Birunthan Mohanathas
61160ff9e5
Store InspectableWebContents instead of InspectableWebContentsView in NativeBrowserView
2018-03-19 20:44:05 +02:00
Shelley Vohr
9599615b23
Fix nil tray title crash ( #12352 )
...
* Add check for title_ being nil
* remove print stub
2018-03-19 10:49:39 -05:00
John Kleinschmidt
6b80865bfe
Merge pull request #12351 from electron/update-to-node8
...
Update CI to use Node.js 8
2018-03-19 11:04:52 -04:00
John Kleinschmidt
ed1c84445c
Update CI to use Node 8
2018-03-19 10:19:32 -04:00
Cheng Zhao
f993888424
Merge pull request #12328 from electron/delay_load
...
Use same delay-load settings in both debug and release
2018-03-17 11:32:30 +09:00
Birunthan Mohanathas
6f6f388f38
Fix non-draggable regions on macOS ( #12327 )
...
This was a regression in 503b0ba1 .
2018-03-17 06:49:11 +09:00
Charles Kerr
558ef7352d
Better GTK+ Menu color support ( #12300 )
...
* Better GTK+ Menu color support
* Fix 'invisible menu' issue (#12275 )
* Now updates menu text color when focus changes!
* Better caching of colors when system theme changes
* Removed all GTK+ deprecation warnings from menubar
* Don't highlight menu text on mouseover in GTK+
* Fix textColor declaration scope error
* Simplify FocusManager connection management a bit
* Make the linter happy
* Decouple MenuBar view recoloring from rebuilding
This way we don't need to rebuild the subview each time a recolor
is needed, e.g. when window focus changes or the system theme changes
* Don't iterate child views if we don't need to
* Move variable declaration outside of a loop
* More efficient iteration of MenuBar children
* Cleaner MenuButton bounds testing
* Fix oops
* Add a nullptr check in MenuBar::GetItemCount()
* Simplify iteration in MenuBar::RebuildChildren()
* Make the linter happy
* Fix signed-unsigned comparison
* Remove declarations of nonexistent methods
* Make SubmenuButton accessor const
* Cleaner accelerator iteration
* Windows fixes
2018-03-17 06:37:36 +09:00
Shelley Vohr
31d688ad3d
Check menu.popup options are an object ( #12325 )
...
* check menu.popup options are an object
* Add a spec for menu.popup options check
* remove stray .only
2018-03-17 06:31:10 +09:00
Ales Pergl
84ce3a9ea1
Use same delay-load settings in both debug and release
2018-03-16 17:10:38 +01:00
Robo
792837bd71
net: change mime type deduction in Change URLRequestAsarJob ( #12319 )
2018-03-16 16:48:26 +09:00
Samuel Attard
e93c587b8e
Delete .node-version ( #12304 )
...
This removes the .node-version file, it is a source of confusion and not incredibly useful.
It doesn't actually indicate the version of node that Electron uses, it's like a development helper that sets the version of node you should be using locally when devving on Electron. Not many major tools use it so too remove confusion I think we should remove it
2018-03-16 10:12:12 +09:00
zhao-lin-li
bb73a0e2cb
Update example code ( #12315 )
...
path and url needed to be require'd
2018-03-16 07:20:51 +09:00
Felix Rieseberg
243ab45111
🔧 Fix security warning ( #12309 )
2018-03-16 06:21:38 +09:00
John Kleinschmidt
71c3483f55
Fix AttributeError: 'dict' object has no attribute 'required'
2018-03-15 13:20:41 -04:00
Samuel Attard
4b476f13bb
Revert "Fixes electron/electron#12147" ( #12293 )
...
* Revert "Set appropriate defaults for webview options (#12271 )"
This reverts commit c2673aa970 .
* Revert "Fixes electron/electron#12147 (#12193 )"
This reverts commit f54c94d6c9 .
2018-03-15 16:18:36 +09:00
Birunthan Mohanathas
2681e769a6
Document BrowserView.{destroy,isDestroyed} ( #12274 )
2018-03-15 16:15:56 +09:00
Charles Kerr
c2673aa970
Set appropriate defaults for webview options ( #12271 )
...
* Persist defaults to webPreferences object to JS land can read the inferred values instead of just user defined values
* Test inherited default propogation
* Refactor to remove coupling from fetching values and defaults
* Test description type
* Fix up tests
2018-03-15 13:56:46 +09:00
nous-
f54c94d6c9
Fixes electron/electron#12147 ( #12193 )
2018-03-15 13:29:32 +09:00
Shelley Vohr
9aeb61181a
Fix require on network share path ( #12282 )
...
* first pass at server/network require fix
* refactor for clarity
2018-03-15 11:45:13 +09:00
Jacob Groundwater
1f8de33e75
Change Contact Emails ( #12278 )
2018-03-15 04:37:40 +09:00
Samuel Attard
9ed9885c8d
fix remote setInterval flake ( #12263 )
2018-03-14 14:51:47 +09:00
OJ Kwon
e7181eb89c
feat(powerMonitor): expose interface to query system idle state ( #11807 )
...
* feat(BrowserWindow): expose interface to query system idle state
* test(BrowserWindow): update test cases for querySystemIdle interface
* docs(BrowserWindow): add querySystemIdle interface documentation
* refactor(powerMonitor): move querySystemIdle into powerMonitor
* test(powerMonitor): split test cases for all platform
2018-03-14 14:42:08 +09:00
Samuel Attard
90dc897f71
add missing report.length > 1 assertion ( #12257 )
2018-03-14 13:14:29 +09:00
Samuel Attard
8993a2c6ed
Enable easy rebuild of native modules for unreleased electron ( #12217 )
...
* Enable easy rebuild of native modules for unreleased electron
Sometimes when developing locally (as I found this morning) you want to rebuild native modules
against an unreleased version of Electron (in this case local master). This PR adds a simple
script to launch a local HTTP server that generates and hosts the required header and checksum
files to rebuild modules. So far only tested on macOS but should work on all OS's
* Allow custom port
* clean up serve script
* make optionality more obvious
2018-03-14 12:59:18 +09:00
Hari Juturu
704af29543
Exposing process.env status ( #12166 )
2018-03-14 12:01:40 +09:00
Cheng Zhao
134872e9c1
Merge pull request #12198 from electron/fix_crash_handler
...
Fixed passing of exception to the system crash handler
2018-03-14 11:40:11 +09:00
Robo
e741bc0577
fix crash when using getWebPreferences api with devtools webContents ( #12254 )
2018-03-14 11:19:22 +09:00
Samuel Attard
e62349cffb
Merge pull request #12253 from felixrieseberg/fix-last-crash-report
...
fix: Ensure that `getLastCrashReport()` is actually the last crash report
2018-03-14 10:36:27 +09: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
Felix Rieseberg
ee67211035
🔧 Linter's gotta lint
2018-03-13 17:41:02 -07:00
Felix Rieseberg
582ef30b4a
👷 Tests, how do they work
2018-03-13 17:35:55 -07:00
Felix Rieseberg
1b3568e66e
👷 Fancy test
2018-03-13 17:28:15 -07:00
Felix Rieseberg
3575dae75c
🔪 Cut typo
2018-03-13 16:58:40 -07:00
Felix Rieseberg
673335de4b
🔧 Actually test the method
2018-03-13 16:51:20 -07:00
Vanessa Yuen
48dd8f96b7
Fix broken links ( #12232 )
...
* Update system-preferences.md
* Fix broken documentation links.
2018-03-14 08:07:36 +09:00
Felix Rieseberg
72579f9bab
🔧 Sort crashes
2018-03-13 13:57:12 -07:00
John Kleinschmidt
5a81cfbbc6
Merge pull request #12241 from electron/sw-file-scheme-flaky-patch
...
spec: isolate sw file scheme spec storage with temp partition
2018-03-13 13:30:43 -04:00
deepak1556
c3bcb606a9
spec: isolate sw file scheme spec storage with temp partition
2018-03-14 02:03:55 +09:00
Samuel Attard
8e07e7483f
Merge pull request #12228 from electron/fix-window-open-not-showing
...
Parent's visibility trumps inherited 'show' option
2018-03-13 17:41:00 +09:00
Charles Kerr
e400585a0e
Apply further ES6 bikeshedding
2018-03-13 17:09:47 +09:00
Shelley Vohr
e648662cfd
Add config for trop (backporting bot) ( #12238 )
...
* add config for trop
* backportWhitelist => authorizedUsers
2018-03-13 16:39:50 +09:00
Charles Kerr
2d90e763ad
Use idiomatic ES6 when merging options
2018-03-13 16:23:39 +09:00
Charles Kerr
379bd79de4
Remove unnecessary work when merging options
2018-03-13 16:18:50 +09:00
Charles Kerr
e4d5ae53fc
Add tests
2018-03-13 15:55:48 +09:00
Felix Rieseberg
71795ecc62
fix: Incorrect warnings in webviews ( #12234 )
...
* 🔧 Get correct webContents
* 🔧 Err, webPreferences
2018-03-13 10:55:32 +09:00
Charles Kerr
685948bcaa
Parent's visibility trumps inherited 'show' option
2018-03-13 00:28:34 +09:00
Charles Kerr
dd2c2660b9
Fix desktop-id notification edge case ( #12216 )
...
* Fix desktop-id notification edge case
* Extract-method platform_util::GetDesktopName()
This removes duplicated code from libnotify_notifications.cc
and atom/common/linux/application_info.cc.
* Check for empty case in GetDesktopName().
* Move GetDesktopName() to brightray::util
* Remove unnecessary changes in platform_util
* Add a brightray::platform_util namespace
2018-03-12 16:02:47 +09:00
Charles Kerr
86af20ded0
Linux named notifications ( #12192 )
...
* Set name & desktop-entry on Linux notifications
* DBusMock now honors verbose mode flag
* Disable DBus Notification tests on ia32
2018-03-12 09:33:06 +09:00
Phil Freo
9d090e00f2
Make link to related guide/tutorial more obvious ( #12204 )
...
It's generally not a good practice to just link the word "here"
2018-03-10 23:04:07 +09:00
John Kleinschmidt
e085c01a2e
Merge pull request #12202 from electron/readme-heading
...
Add heading for README
2018-03-09 14:29:42 -05:00
Vanessa Yuen
9c0e579bd3
Add heading for README
2018-03-09 20:16:56 +01:00
Robo
06bf72da67
remove process preference lock from AtomBrowserClient ( #12194 )
2018-03-09 12:37:26 -05:00
Ales Pergl
4673c67835
Fixed passing of exception to the system crash handler
2018-03-09 15:46:27 +01:00
John Kleinschmidt
f685e389d3
Merge pull request #12196 from electron/fix_run_as_node
...
Fixed Mac build when enable_run_as_node==false
2018-03-09 09:22:42 -05:00
Ales Pergl
94299f6cd8
Fixed Mac build when enable_run_as_node==false
2018-03-09 13:33:04 +01:00
deepak1556
2bf1131dab
add NOLINT rule for include order in renderer_client_base
2018-03-09 15:19:07 +05:30
deepak1556
3cfe66e4c3
move ipc use from rvh to rfh
2018-03-09 15:01:09 +05:30
Charles Kerr
0d12fc3033
Make the linter happy
2018-03-09 17:03:00 +09:00
Cheng Zhao
30405a3441
Merge pull request #12101 from electron/upgrade-node-v9.7.0
...
Update to node v9.7.0
2018-03-09 16:41:23 +09:00
Cheng Zhao
e79b18762e
Enter context scope before InternalCallbackScope
2018-03-09 16:14:24 +09:00
Cheng Zhao
83f01096c0
When a render process is crashed, it might be reused
2018-03-09 16:13:51 +09:00
Cheng Zhao
5d2452608d
Use InternalCallbackScope for ticking event loop
2018-03-09 15:23:40 +09:00
deepak1556
50a5a69c46
update node ref fixing crash with buffer allocation
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
deepak1556
3fea581ec8
build node target for <(node_lib_target_name)
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
e3bb3c3906
node => node_lib and V8_BASE => v8_base
2018-03-09 15:23:38 +09:00
Shelley Vohr
d88fa8b787
OPENSSL_PRODUCT => openssl_product
2018-03-09 15:23:38 +09:00
Shelley Vohr
068f0cce96
update node ref to electron-node-v9.7.0
2018-03-09 15:23:38 +09:00
Cheng Zhao
cf36fdecbf
Skip client-certificate test for Linux ( #12189 )
2018-03-09 14:43:49 +09:00
Samuel Attard
a9dcce82ed
Ensure that a document has been created before sending IPC messages
...
* Reverts 370476c4af in favor of moving the previous logic to the new RenderFrameObserver instead of RenderViewObserver
Fixes #12045
2018-03-09 14:24:56 +11:00
Charles Kerr
5f48f91d94
Newer CI images ( #12188 )
...
* Bump electronbuilds/electron* versions
The linux-appname branch has been gathering dust for awhile.
Some of the versions in `master` are higher, and some of the
versions in `linux-appname` are higher to add libnotify.
This commit takes the higher of the two numbers in each case.
* Add libnotify to the Dockerfiles
2018-03-08 22:07:50 -05:00
Cheng Zhao
15503a3b9e
Merge pull request #12187 from electron/ia32-more-debug
...
Enable more debug info for electron-linux-ia32
2018-03-09 12:00:10 +09:00
Cheng Zhao
5c15d263e0
Enable more debug info for electron-linux-ia32
2018-03-09 11:06:42 +09:00
Cheng Zhao
cde0c1d418
Print detailed error for serviceWorker test ( #12186 )
2018-03-08 21:06:29 -05:00
Cheng Zhao
44c66fc284
Merge pull request #12167 from lyallh/menubar-autohide-fix
...
Fix menubar toggle alt key detection on focus
2018-03-09 10:13:32 +09:00
Cheng Zhao
3885674877
Merge pull request #12080 from electron/build-on-arm64-hw
...
Allow CI testing on arm64 hardware
2018-03-09 08:54:32 +09:00
Aleš Pergl
0937b84b01
Use content origin in screen coordinates for calculating popup menu position ( #12180 )
2018-03-09 05:48:35 +09:00
Cheng Zhao
51f89048d6
Use bundled freetype from Chromium
2018-03-08 10:47:19 -05:00
John Kleinschmidt
134d3f98c9
Allow CI building on arm64 hardware
2018-03-08 09:53:47 -05:00
Lyall Hamilton
ba24920fec
Fix menubar toggle alt key detection on focus
...
Reset alt keypress flag on window blur so switching window via
Alt+* window manager keybindings can't incedentally trigger
annoying menubar toggles
2018-03-08 21:48:43 +13:00
Jake
569b87ff83
Added session-created event documentation ( #12123 )
...
* Added session-created event documentation
Emitted at 1c0ea0286e/lib/browser/api/session.js (L21)
* Removed trailing spaces
2018-03-08 11:32:52 +09:00
Samuel Attard
8c138e74be
More vibrancy fixes ( #12157 )
...
* Only set title bar to transparent when vibrant with a custom titlebar
* Correctly set the transparent state of the GpuSwitcher so vibrancy works on reload
* Document case where using frame: false without custom titleBarStyle and vibrant
2018-03-07 11:40:36 -05:00
Hari Juturu
2f4fd3324b
Preload doesn't load in sandboxed render if preload path contains special chars ( #12037 )
...
* Adding missing headers
* adding ut
* Removing the file path exists check
* fixing test
* exposing window.require in UT
2018-03-07 11:40:00 -05:00
Andreas
69e7afee26
fix dev tools window interfering with mouse forward ( #12132 )
2018-03-07 07:44:55 -05:00
Samuel Attard
fdab98aa59
Merge pull request #12155 from electron/modify-deprecation-guarantee
...
Deprecations come >=1 major release before removal
2018-03-07 23:28:05 +11:00
Charles Kerr
35a512310a
Merge branch 'master' into add-env-to-release-docs
2018-03-07 16:38:14 +09:00
Charles Kerr
3b2a494033
Update to master.
2018-03-07 16:32:36 +09:00
Charles Kerr
b0820e4886
Fix broken link
2018-03-07 16:18:47 +09:00
Charles Kerr
4ab7b2d2b1
Deprecations come >=1 major release before removal
2018-03-07 16:12:28 +09:00
Shelley Vohr
c31bf8474c
clean planned breaking changes for 3.0 ( #12145 )
2018-03-07 16:06:33 +09:00
Cheng Zhao
cc6bcb6c81
Fix some flaky tests in CI ( #12153 )
...
* Guard whole InitPrefs with ScopedAllowIO
Saw a crash:
0 0x7f8d2f7d918d base::debug::StackTrace::StackTrace()
1 0x7f8d2f7d755c base::debug::StackTrace::StackTrace()
2 0x7f8d2f867caa logging::LogMessage::~LogMessage()
3 0x7f8d2fa157c7 base::ThreadRestrictions::AssertIOAllowed()
4 0x7f8d2f83453a base::OpenFile()
5 0x7f8d2f82a967 base::ReadFileToStringWithMaxSize()
6 0x7f8d2f82ad44 base::ReadFileToString()
7 0x7f8d2f846f73 JSONFileValueDeserializer::ReadFileToString()
8 0x7f8d2f84738c JSONFileValueDeserializer::Deserialize()
9 0x7f8d35a5d1f6 <unknown>
10 0x7f8d35a5c217 JsonPrefStore::ReadPrefs()
11 0x7f8d35a87d3e PrefService::InitFromStorage()
12 0x7f8d35a87c60 PrefService::PrefService()
13 0x7f8d35a91a10 PrefServiceFactory::Create()
14 0x000000e86e1b brightray::BrowserContext::InitPrefs()
15 0x000000c2bd64 atom::AtomBrowserContext::AtomBrowserContext()
16 0x000000c320db atom::AtomBrowserContext::From()
17 0x000000b4b8b5 atom::api::Session::FromPartition()
* Fix done being called twice in setInterval test
The callback passed to browser process is called asyncly, so it is
possible that multiple callbacks has already been scheduled before we
can clearInternval.
* Fix failing test when dir name has special chars
The pdfSource is not escaped while parsedURL.search is.
* Call done with Error instead of string
* Fix crash caused by not removing input observer
Solve crash:
0 libcontent.dylib content::RenderWidgetHostImpl::DispatchInputEventWithLatencyInfo(blink::WebInputEvent const&, ui::LatencyInfo*) + 214
1 libcontent.dylib content::RenderWidgetHostImpl::ForwardMouseEventWithLatencyInfo(blink::WebMouseEvent const&, ui::LatencyInfo const&) + 1350
2 libcontent.dylib content::RenderWidgetHostViewMac::ProcessMouseEvent(blink::WebMouseEvent const&, ui::LatencyInfo const&) + 44
3 libcontent.dylib content::RenderWidgetHostInputEventRouter::RouteMouseEvent(content::RenderWidgetHostViewBase*, blink::WebMouseEvent*, ui::LatencyInfo const&) + 1817
* Print detailed error
* Run tests after server is ready
2018-03-07 14:40:27 +09:00
Charles Kerr
65ee977a86
Exit gracefully on linux ( #12139 )
...
* Fix timing issue in singleton fixture.
Singleton now sends the "we've started" message out only after it's
received a `'ready'` event from `app`. Previously it sent the message
out immediately, resulting in the parent test trying to manipulate it
before Singleton's event loop was fully bootstrapped.
* Check for graceful exits on Linux, too.
Rewrite the "exits gracefully on macos" spec to run on Linux too.
* Check for graceful exits everywhere.
* Tweak comment
* Better error logging in api-app-spec.js. (#12122 )
In the 'exits gracefully' test for app.exit(exitCode),
print the relevant error information if the test fails.
* Run the exit-gracefully test on macOS and Linux.
Windows does not support sending signals, but Node.js offers some
emulation with process.kill(), and subprocess.kill(). Sending signal 0
can be used to test for the existence of a process. Sending SIGINT,
SIGTERM, and SIGKILL cause the unconditional termination of the target
process.
So, we'll need a different approach if we want to test this in win32.
2018-03-06 22:01:17 -05:00
br0nstein
f170914def
Fix getFocusedWindow return type ( #12149 )
2018-03-07 10:23:02 +09:00
Cheng Zhao
ea9d33374f
Merge pull request #12140 from electron/native-window-no-web-contents
...
Refactor NativeWindow (Part 2): NativeWindow is no longer WebContentsObserver
2018-03-07 10:12:37 +09:00
Vanessa Yuen
7f664aa18c
Merge pull request #12105 from electron/update-references-to-renamed-i18n-repo
...
update references to renamed i18n repo
2018-03-06 19:08:20 +00:00
shelley vohr
1413f22095
Merge pull request #12103 from electron/fix-broken-links
...
[docs] switch footnote links to regular links syntax
2018-03-06 07:52:08 -08:00
shelley vohr
a3e33a313a
Merge pull request #12131 from nitsakh/xcode-debugging
...
Add XCode debugging doc
2018-03-06 07:34:05 -08:00
Cheng Zhao
411da169ac
Repect old logic in windowWillUseStandardFrame
2018-03-06 16:54:20 +09:00
Cheng Zhao
78468098c5
Don't store WebContents in NativeWindow
2018-03-06 16:21:18 +09:00
Cheng Zhao
9000bd6679
views: Explicitly set initially focused view
2018-03-06 16:21:18 +09:00
Cheng Zhao
413fdc6f0d
views: Show menu on window's content view
2018-03-06 16:21:18 +09:00
Cheng Zhao
9c7854aef6
NativeWindow is no longer WebContentsObserver
2018-03-06 16:21:18 +09:00
Cheng Zhao
bf862d1d07
views: Focus webContents in BrowserWindow
2018-03-06 16:21:17 +09:00
Cheng Zhao
8bbe28e998
No need to get BrowserContext from NativeWindow
2018-03-06 16:21:17 +09:00
Cheng Zhao
702f1631a3
Remove NativeWindow::FromWebContents
2018-03-06 16:21:17 +09:00
Cheng Zhao
eea4e60b73
Remove NativeWindow's webview APIs
2018-03-06 16:20:37 +09:00
Cheng Zhao
5a4c2fb61d
mac: Pass the view to install
2018-03-06 16:20:37 +09:00
Cheng Zhao
498f5d65fd
mac: UninstallView is not used
2018-03-06 16:20:37 +09:00
Cheng Zhao
3b3e69f8b2
Save browser_view_ in the NativeWindow
...
No need to store it separately in subclasses.
2018-03-06 16:20:37 +09:00
Cheng Zhao
503b0ba1b1
mac: Move draggable region code to BrowserWindow
...
On macOS current draggable region implementation highly relies on
WebContents, the code is only meaningful for BrowserWindow.
2018-03-06 16:20:37 +09:00
Cheng Zhao
bc34ca9e25
mac: Call setMouseDownCanMoveWindow in BrowserWindow
2018-03-06 16:20:37 +09:00
Cheng Zhao
7d4ff3b061
mac: Call SetBackgroundOpaque in BrowserWindow
2018-03-06 16:20:37 +09:00
Cheng Zhao
8a1884c407
mac: AcceleratedWidget should be window's content view
2018-03-06 16:20:37 +09:00
Cheng Zhao
e7f175d578
Only mac needs to call SetActive
2018-03-06 16:20:37 +09:00
Cheng Zhao
4c7b48e596
mac: Window's native view should be its content view
2018-03-06 16:20:37 +09:00
Cheng Zhao
1681ee35db
Set WebContents background color in BrowserWindow
2018-03-06 16:20:37 +09:00
Cheng Zhao
7b8890a4c9
web_contents can't be null
2018-03-06 16:20:37 +09:00
Cheng Zhao
2eaa6d0874
Move StoreFocus/RestoreFocus to BrowserWindow
2018-03-06 16:20:37 +09:00
Cheng Zhao
cad3d694ab
mac: Remove access to webContents in windowWillUseStandardFrame
2018-03-06 16:20:37 +09:00
Cheng Zhao
e73326a324
Merge pull request #11613 from electron/safe-dialogs
...
Implement dialog (alert/confirm) blocking as a user switch after the first dialog
2018-03-06 14:28:53 +09:00
Cheng Zhao
90bd1fd7e9
Native confirm/alert throws differently
2018-03-06 14:06:29 +09:00
Cheng Zhao
ca42325ade
Make OnMessageBoxCallback a method since it is accessing members
2018-03-06 11:35:53 +09:00
Cheng Zhao
7516b059fe
Code style fixes
2018-03-06 11:31:56 +09:00
Cheng Zhao
d8f16f4116
docs: Default message is not localized
2018-03-06 11:24:42 +09:00
Cheng Zhao
26a071ea00
docs: Defaults of safeDialogs
2018-03-06 11:21:40 +09:00
Samuel Attard
7dec3c9320
Fixup cpplint
2018-03-06 11:19:15 +09:00
Samuel Attard
731240e0e9
Use USER_WANTS_NO_MORE_DIALOGS constant for -1 magic number
2018-03-06 11:19:15 +09:00
Charles Kerr
a5a068b2ee
fix cpplint errors
...
atom/browser/atom_javascript_dialog_manager.cc:39: Lines should be <= 80 characters long [whitespace/line_length] [2]
atom/browser/atom_javascript_dialog_manager.cc:39: If/else bodies with multiple statements require braces [readability/braces] [4]
atom/browser/atom_javascript_dialog_manager.cc:62: Lines should be <= 80 characters long [whitespace/line_length] [2]
atom/browser/atom_javascript_dialog_manager.cc:89: If/else bodies with multiple statements require braces [readability/braces] [4]
2018-03-06 11:19:15 +09:00
Charles Kerr
2435ffaf09
fix cpplint error
...
atom/browser/atom_javascript_dialog_manager.h:9: Include "map" not in alphabetical order [build/include_alpha] [4]
2018-03-06 11:19:15 +09:00
Samuel Attard
795447f61a
Implement dialog (alert/confirm) blocking as a user switch after the first dialog
...
* This is to enable more browser-like behavior so that users who run third-party code
will not be DOS'ed with alerts and confirms. This is already handled like this
in most major browsers so this will greatly help these developers
2018-03-06 11:19:15 +09:00
shelley vohr
a3d4d461a3
Merge pull request #12135 from electron/deprecate-getMenuBarHeight
...
deprecate screen.getMenuBarHeight
2018-03-05 17:56:51 -08:00
Shelley Vohr
3635872f37
remove screen.getMenuBarHeight spec
2018-03-05 20:10:34 -05:00
Shelley Vohr
199cf31b9e
deprecate screen.getMenuBarHeight
2018-03-05 19:45:51 -05:00
Nitish Sakhawalkar
dc29b3add1
Add XCode debugging doc
2018-03-06 00:03:14 +05:30
Charles Kerr
642dc96956
Add optional verbose switch '-v' to build script. ( #12118 )
...
* Add optional verbose switch '-v' to build script.
* Remove tracer comment.
* Add --ninja-path switch.
For compatiblity with https://github.com/electron/electron/pull/12120
2018-03-06 03:27:58 +09:00
Charles Kerr
e9808d138f
Better error logging in api-app-spec.js. ( #12122 )
...
In the 'exits gracefully on macos' test for app.exit(exitCode),
print the relevant error information if the test fails.
2018-03-06 03:13:47 +09:00
Samuel Attard
b530d70a7b
Merge pull request #12058 from philfreo/patch-1
...
Include backtrace i/o as a crash reporter backend option
2018-03-06 05:13:18 +11:00
John Kleinschmidt
1005a63130
Merge pull request #12127 from electron/set-dev-version-everywhere
...
Use version 0.0.0-dev everywhere
2018-03-05 12:28:55 -05:00
Aleksei Kuzmin
52c0864cb8
Use version 0.0.0-dev everywhere
2018-03-05 16:24:48 +01:00
John Kleinschmidt
3a55e5b384
Merge pull request #12113 from electron/FranzDeCopenhague-patch-1
...
Fix typo found during the Spanish translation
2018-03-05 10:08:17 -05:00
Franz de Copenhague
847cf17b77
Fix typo found during the Spanish translation
2018-03-04 10:07:46 -08:00
Zeke Sikelianos
e9de194b89
update references to renamed i18n repo
2018-03-02 12:05:49 -08:00
Sofia Nguy
e76d5bc7cf
switch links to regular syntax
2018-03-02 10:41:55 -08:00
Adrien Fery
6d82966ebe
Update inAppPurchase API doc ( #12072 )
...
* Update inAppPurchase API doc
`addTransactionsListener` is no longer supported. Users have to listen for the `transactions-updated` event instead.
* Tweak `transactions-updated` timing description
Make the documentation edit suggested by @felixrieseberg and thumbs-upped by @AdrienFery
2018-03-02 07:25:37 -06:00
Tiago Danin
efeabfe3ef
📝 Fix url to unity-launcher and tiny correction ( #12084 )
2018-02-28 18:28:40 -06:00
Phil Freo
738b10adea
Include backtrace i/o as a crash reporter backend option
...
Note: I have no affiliation with this company - just thought this would be helpful for people
2018-02-28 14:21:14 -05:00
shelley vohr
dfa1dc43df
Merge pull request #12059 from electron/add-tabbedwindow-warning
...
add warning when addTabbedWindow is called on self
2018-02-28 01:18:10 -08:00
Shelley Vohr
bf491de9fe
fix styling and add spec
2018-02-28 00:22:42 -08:00
Shelley Vohr
2abc69780e
move native-mate back into the api layer
2018-02-27 13:00:42 -08:00
Zeke Sikelianos
1db05a2655
Merge pull request #12067 from electron/fix-typo-in-inAppPurchase-API-doc
...
fix typo in inAppPurchase API doc
2018-02-27 11:07:45 -08:00
Zeke Sikelianos
b05d818f45
fix typo in inAppPurchase API doc
2018-02-27 10:22:29 -08:00
Shelley Vohr
837a2d4bbd
appease the linter
2018-02-26 22:25:09 -08:00
Cheng Zhao
35cbe9d140
Fix dockMenu not being referenced in JavaScript ( #12062 )
...
* Fix dockMenu not being referenced in JavaScript
* spec: Test garbage collecting dock menu
2018-02-26 22:15:06 -08:00
Samuel Attard
b722150d87
Don't cast manually for NativeWindow*
2018-02-27 16:13:17 +11:00
Samuel Attard
5336b4a89c
Pass arguments instance through the chain in order to throw error
2018-02-27 16:11:58 +11:00
Shelley Vohr
e84d7c0cda
add warning when addTabbedWindow is called on self
2018-02-26 14:47:36 -08:00
Cheng Zhao
53229e3d6c
Fix network delegate race condition ( #12044 )
...
* Fix race condition when getting network delegate
* Remove the evil URLRequestContextGetter::network_delegate
* Move the arguments instead of const referrencing
Safer and more efficient.
2018-02-26 06:23:59 -08:00
Cheng Zhao
fdd66bd76d
Merge pull request #11607 from bughit/frame_navigation_api
...
frame navigation API
2018-02-26 15:50:11 +09:00
Cheng Zhao
ccf30e0934
Coding style fixes
2018-02-26 15:19:44 +09:00
Cheng Zhao
25f04d5b03
Fix descriptions to make docs parser happy
2018-02-26 15:05:46 +09:00
Cheng Zhao
f7786a9e48
Merge pull request #11230 from electron/upgrade-to-chromium-62
...
Upgrade to Chromium 62
2018-02-26 14:20:21 +09:00
shelley vohr
cc608a3fb0
Merge pull request #12043 from kaylieEB/fix-menu-item
...
Fix context menu click callback
2018-02-25 17:33:32 -08:00
kaylie
da9f12d1e2
restore old cb
2018-02-25 14:19:40 -08:00
Samuel Attard
35cc197d0b
Quick typo ( #12040 )
2018-02-25 09:11:18 -06:00
shelley vohr
18362eb948
improve Menu and MenuItem testing ( #12015 )
...
* split menu/menuitem and add some tests
* fix ipc send issue
* feedback: make tests less brittle
* clean up MenuItem accelerator and label tests
2018-02-23 07:53:59 -06:00
Cheng Zhao
3948323a8c
Update libcc to latest chrome62
2018-02-23 10:23:53 +09:00
Aleksei Kuzmin
7e3b690257
Update libcc revision
2018-02-23 10:22:00 +09:00
Cheng Zhao
b9ab2fe0fb
Disable stack dumping for 32bit ARM
2018-02-23 10:22:00 +09:00
Cheng Zhao
81c23b84e7
Fix error when cross compilation
2018-02-23 10:22:00 +09:00
Cheng Zhao
b25175a19a
Fix assertion when get X11 error in new thread
2018-02-23 10:22:00 +09:00
Cheng Zhao
39e0433570
Fix build error after rebasing
2018-02-23 10:22:00 +09:00
Cheng Zhao
9d05c59600
node.so should link with libc++.so
2018-02-23 10:22:00 +09:00
Cheng Zhao
2fcf2c81bf
Make sure --sysroot is appended at last
2018-02-23 10:22:00 +09:00
Cheng Zhao
9fec1a3cb4
Link with libcc's libc++ on Linux
2018-02-23 10:22:00 +09:00
Cheng Zhao
b7b40d9c3a
Fix linking error with atomic
2018-02-23 10:22:00 +09:00
shelley vohr
653ceb9860
update update submodule ref for updated node 9.3.0 ( #11708 )
2018-02-23 10:22:00 +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
Aleksei Kuzmin
31eb5e26e3
Update libcc reference
2018-02-23 10:21:24 +09:00
Cheng Zhao
12b37c7386
Update node: Fix crash when doing crypto operation
2018-02-23 10:21:24 +09:00
deepak1556
7cad5d0cd2
update libcc for loading service worker under file scheme
2018-02-23 10:21:24 +09:00
Cheng Zhao
e6bad6e183
Update sysroot images to fix linking error
2018-02-23 10:21:24 +09:00
Aleksei Kuzmin
f5d207f8f0
Improve process launch handle sharing API.
...
https://codereview.chromium.org/2950153002
2018-02-23 10:21:24 +09:00
Cheng Zhao
da7fc54e37
Update sysroot to Debian Stretch
2018-02-23 10:21:24 +09:00
Aleksei Kuzmin
0ec2eba2a3
Add init_webrtc lib to the list of static libraries
2018-02-23 10:21:24 +09:00
Aleksei Kuzmin
dcb369ee46
Fail "navigator.serviceWorker" tests if WebContents crashes
2018-02-23 10:21:24 +09:00
deepak1556
041b32b01f
remove invalid cookie_details.h filename from brightray
2018-02-23 10:21:24 +09:00
deepak1556
cdab073614
FIX: add chrome-devtools:// to list of WebUI schemes
...
https://chromium-review.googlesource.com/c/chromium/src/+/617598
2018-02-23 10:21:24 +09:00
Aleksei Kuzmin
fbd5e4c2b3
Disable the "ffi" module test
2018-02-23 10:21:24 +09:00
deepak1556
5eb0a89579
REVIEW: let browser context manage cookie change sub list
2018-02-23 10:21:24 +09:00
Aleksei Kuzmin
9fa08fdbc0
Merge views::CustomButton into views::Button.
...
https://chromium-review.googlesource.com/617407
2018-02-23 10:21:24 +09:00
Aleksei Kuzmin
6f00e4a014
REVIEW: Implements core logic for Pixel Canvas
...
https://codereview.chromium.org/2877483003
2018-02-23 10:21:24 +09:00
deepak1556
f52f752acd
fxedit is removed and pdfwindow renamed to pwl
...
https://pdfium-review.googlesource.com/c/pdfium/+/8552
https://pdfium-review.googlesource.com/c/pdfium/+/8791
2018-02-23 10:21:24 +09:00
deepak1556
d846c9006e
Replace somemore uses of SetStringWithoutPathExpansion
2018-02-23 10:21:24 +09:00
deepak1556
69ca6ccdc1
Remove chrome_utility_messages.h, it's unused
2018-02-23 10:21:23 +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
deepak1556
62635f43f4
base::LaunchOptions fds_to_remap is no longer a pointer
...
https://codereview.chromium.org/2950153002
2018-02-23 10:21:23 +09:00
deepak1556
248d572077
REVIEW: Subscribe to cookie store for changes in place of CookieMonsterDelegate
2018-02-23 10:21:23 +09:00
Tomas Rycl
60f69ad77b
Removed QuitWhenIdle
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
b02edd014a
Rename CompositionUnderline to ImeTextSpan
...
https://chromium-review.googlesource.com/609524
2018-02-23 10:21:23 +09:00
Tomas Rycl
024f84f1be
chromium_src print_job updated to match current chromium implementation in Quit method
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
5d870837cf
Remove WebCString from Blink
...
https://chromium-review.googlesource.com/594673
2018-02-23 10:21:23 +09:00
Shelley Vohr
de576fa82e
Refactor Skia document type into an enum class
...
https://chromium-review.googlesource.com/619502
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
412b9e9ad8
Move IDMap to base namespace.
...
https://chromium-review.googlesource.com/618801
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
8f78bd3307
Remove was_ignored_by_handler from frame_messages.h
...
https://chromium-review.googlesource.com/587701
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
91a339b625
viz: Move BeginFrame(Args|Ack) to components/viz/common/frame_sinks
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
1a9b056e93
Move CompositorFrameSink and FrameSinkManager mojom from cc to viz
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
abc6003640
viz: Move BeginFrameSource to components/viz/common/frame_sinks
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
76683c0af5
viz: Move CopyOutput(Request|Result)=> components/viz/common/quads
2018-02-23 10:21:23 +09:00
Shelley Vohr
128cb7f5b2
updates to build flags and comp errors
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
8c0c1e4ded
media: Replace ENABLE_PEPPER_CDMS buildflag with ENABLE_LIBRARY_CDMS
...
https://chromium-review.googlesource.com/582309
2018-02-23 10:21:23 +09:00
Shelley Vohr
e59f788c43
Update submodule ref for node
2018-02-23 10:21:23 +09:00
Tomas Rycl
8d6c7955ad
Add path to skia gpu
2018-02-23 10:21:23 +09:00
Shelley Vohr
233679865b
fix some more compilation errors
2018-02-23 10:21:23 +09:00
Tomas Rycl
6a61ec7763
Add path to khrplatform.h file
2018-02-23 10:21:23 +09:00
Tomas Rycl
1b866e20c6
REVIEW: Disable warning 4275 on Windows
...
It prevents Brightray classes to be inherited from other classes
from V8, Chromium, etc...
2018-02-23 10:21:23 +09:00
deepak1556
75c17cf846
Use generic base::Value::SetKey
...
Remove base::Value::SetDoubleWithoutPathExpansion
https://chromium-review.googlesource.com/591654
Remove base::Value::SetStringWithoutPathExpansion
https://chromium-review.googlesource.com/592368
Remove base::Value::SetIntegerWithoutPathExpansion
https://chromium-review.googlesource.com/591655
2018-02-23 10:21:23 +09:00
Tomas Rycl
8250dbd172
Removing some function parameters
2018-02-23 10:21:23 +09:00
Tomas Rycl
0d83b69fe2
FIXME: Fix brightray::DevToolsNetworkTransaction compilation
...
See
https://chromium-review.googlesource.com/631119
https://chromium-review.googlesource.com/611089
2018-02-23 10:21:23 +09:00
Shelley Vohr
a6412d0690
Update submodule ref for crashpad
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
dda64bd652
Use c++14
...
https://chromium-review.googlesource.com/c/chromium/src/+/583635
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
9d6db65c7c
Set minimum Mac SDK version to 10.12
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
5783ce0b3c
Update chrome_version.h
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
8ef705ad10
Update clang revision to match Chromium 62.0.3202.89
2018-02-23 10:21:23 +09:00
Aleksei Kuzmin
381cf55434
Use libcc revision based on Chromium 62
2018-02-23 10:21:23 +09:00
Cheng Zhao
15ce235eed
Merge pull request #12008 from electron/window-refactor-1
...
Refactor NativeWindow (Part 1): Remove WebContentsObserver methods
2018-02-23 10:06:34 +09:00
Cheng Zhao
3be92f550c
Better clarity and fix typo
2018-02-23 09:15:13 +09:00
John Kleinschmidt
366638b1b9
Merge pull request #12013 from electron/release-fix
...
Fixes from running 2.0.0-beta.1 release
2018-02-22 10:43:29 -05:00
John Kleinschmidt
fa6510a90c
Fixes from running 2.0.0-beta.1 release
...
This provides the following fixes:
1. Remove logic to delete release branch because that branch is no longer used.
2. Fix --validateRelease to not verifyShasums when release is in draft mode.
2018-02-22 08:53:32 -05:00
Cheng Zhao
816a96c2cc
Update font settings in api::WebContents
2018-02-22 19:01:45 +09:00
Cheng Zhao
c87fc2426d
Handle transparent WebContents in api::BrowserWindow
2018-02-22 19:01:45 +09:00
Cheng Zhao
c611eb061d
Move InputEventObserver to api::BrowserWindow
2018-02-22 19:01:45 +09:00
Cheng Zhao
aa3eafcea1
Move closing logic to api::BrowserWindow
...
Closing a BrowserWindow is essentially closing a WebContents, the logic
should not be in NativeWindow.
2018-02-22 19:01:45 +09:00
Cheng Zhao
66fab65a1a
Add NativeWindowObserver::OnCloseButtonClicked
2018-02-22 19:01:45 +09:00
Cheng Zhao
a25b49a127
Add ExtendedWebContentsObserver
2018-02-22 19:01:45 +09:00
Cheng Zhao
a3124e8873
Use observer to provide OnRendererUnresponsive
2018-02-22 19:01:45 +09:00
Cheng Zhao
bffb31c337
Remove OnMessageReceived from NativeWindow
2018-02-22 19:01:45 +09:00
Cheng Zhao
44e7282b4b
The UpdateDraggableRegions does not share implementations
2018-02-22 19:01:45 +09:00
Cheng Zhao
c2aa312e0c
Check weak ptr before using it
2018-02-22 19:01:45 +09:00
Cheng Zhao
384b03d49b
UpdateDraggableRegionViews is redundant
2018-02-22 19:01:45 +09:00
Cheng Zhao
6650a06339
Move RenderViewCreated logic to api::BrowserWindow
2018-02-22 19:01:45 +09:00
Cheng Zhao
c256a43139
Move ready-to-show to api::BrowserWindow
2018-02-22 19:01:45 +09:00
Cheng Zhao
0d9a157914
Turn api::Window into a WebContentsObserver
2018-02-22 19:01:45 +09:00
Cheng Zhao
47950f7b97
Merge pull request #12004 from electron/window-rename
...
Rename api::Window to api::BrowserWindow
2018-02-22 19:00:51 +09:00
Cheng Zhao
f9c48e1fb0
Merge pull request #12003 from electron/tools-new-api
...
Fix deprecated API in tools/dump-version-info.js
2018-02-22 18:58:24 +09:00
Cheng Zhao
973647eaa2
Rename api::Window to api::BrowserWindow
2018-02-22 12:50:47 +09:00
Samuel Attard
3bda63c350
Remove needless quotes around electron key
2018-02-22 13:37:53 +11:00
bughit
88b887fe47
frame navigation API
2018-02-21 18:50:15 -05:00
Cheng Zhao
58e15c7755
Fix deprecated API in tools/dump-version-info.js
2018-02-22 08:43:39 +09:00
John Kleinschmidt
7365a45948
Merge pull request #11937 from electron/groundwater-patch-1
...
Use New Versioning Strategy
2018-02-21 16:54:25 -05:00
shelley vohr
e8a57376f0
Merge pull request #12000 from kalikiana/quoted-snap-version
...
tutorial: Surround the snap version in quotes
2018-02-21 16:42:49 -05:00
Vanessa Yuen
8e51659237
Merge pull request #11966 from electron/documentation-overhaul
...
Documentation Overhaul
2018-02-21 20:51:52 +01:00
John Kleinschmidt
2a97e48465
Merge pull request #11968 from electron/refactor-menu-popup
...
Refactor menu.popup
2018-02-21 14:29:52 -05:00
John Kleinschmidt
b4ae41b484
Merge pull request #11999 from electron/no_execstack
...
Explicitly disable executable stack
2018-02-21 14:00:47 -05:00
Felix Rieseberg
c403968230
❤️ One more feedback item
2018-02-21 10:29:17 -08:00
Felix Rieseberg
9d4c68d272
❤️ Feedback
2018-02-21 10:12:19 -08:00
Shelley Vohr
e3d4358068
bump electron-typescript-defs to 1.3.2
2018-02-21 12:42:07 -05:00
Christian Dywan
8268afdf33
tutorial: Surround the snap version in quotes
2018-02-21 18:08:39 +01:00
Ales Pergl
89d5e4a2f0
Explicitly disable executable stack in all Linux binaries
2018-02-21 17:57:53 +01:00
Ales Pergl
c3dbba00a6
Use --icf=all on architectures where it's supported
2018-02-21 17:55:28 +01:00
shelley vohr
77b8c81096
Merge pull request #11963 from perlun/patch-1
...
security.md: Reformat security recommendation checklist
2018-02-21 10:01:15 -05:00
shelley vohr
0ef8f1bdad
Add deprecation warnings fot html/rtf methods ( #11995 )
2018-02-21 06:53:48 -06:00
Cheng Zhao
f7ec346e9f
Merge pull request #11956 from brenca/transparent-window-devtools-fix
...
Fix transparent windows losing transparency when devtools detaches
2018-02-21 19:54:35 +09:00
Heilig Benedek
6f2609f9d2
Remove outdated comments
2018-02-21 11:28:53 +01:00
shelley vohr
772a69e24a
deprecate autoSubmit in favor of uploadToServer ( #11992 )
2018-02-20 22:31:48 -06:00
shelley vohr
193febd18c
deprecate boolean highlightMode param ( #11993 )
...
* deprecate boolean highlightMode param
* add process.noDeprecations check
* fix native method override
* add todo
2018-02-20 22:30:32 -06:00
shelley vohr
719e5a93b4
deprecation for webContents.openDevTools ( #11986 )
...
* deprecate old openDevTools param
* add deprecation check and existence check
* fix method issues
2018-02-20 22:30:02 -06:00
Charles Kerr
f59d078eea
Use more idiomatic JS in WebContents' init()
2018-02-20 19:20:11 -06:00
shelley vohr
c2575c4944
remove app.getAppMemoryInfo ( #11985 )
...
* remove app.getMemoryInfo
* semicolons are important
2018-02-20 18:52:33 -06:00
Charles Kerr
9c56b81b71
Throw an error if menu.popup() has no window
2018-02-20 18:38:05 -06:00
Charles Kerr
5a25b88b50
Fix browserWindow detection in menu.popup()
2018-02-20 18:35:39 -06:00
Charles Kerr
21de806c80
document menu.popup() option's window argument
2018-02-20 14:30:37 -06:00
Charles Kerr
708f39a1a5
update a few menu.popup() calls to use the new API
2018-02-20 14:02:24 -06:00
John Kleinschmidt
dcaff20cfd
Merge pull request #11981 from electron/set-tray-highlightmode
...
no longer support bool param for setHighlightMode
2018-02-20 12:57:52 -05:00
Charles Kerr
35e90f742b
fix menu.popup() sample code
2018-02-20 11:18:57 -06:00
shelley vohr
846be03f1d
remove support for hidden-inset ( #11975 )
2018-02-20 11:09:54 -06:00
shelley vohr
7bcccdec41
remove atom-shell process name ( #11979 )
2018-02-20 10:33:38 -06:00
Shelley Vohr
5065e159f1
positionItem => positioningItem
2018-02-20 11:28:34 -05: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
Charles Kerr
8d086a43cb
Fix brightray::GetApplicationName(), ..Version() on Linux ( #11980 )
...
* add brightray API to override app version
* in atom browser, use brightray app version API
* on Linux, have GetApplicationVersion() use brightray version API
* on Linux, implement brightray::GetApplicationName()
* fix typo in brightray API
* make browser.GetName() logic follow GetVersion() logic
* improve variable name in OverrideApplicationVersion declaration
* fix typo in brightray impl
2018-02-20 10:16:51 -06:00
Shelley Vohr
ba933ef085
update docs for single param popup
2018-02-20 11:12:39 -05:00
Cheng Zhao
dc62e51ba4
Fix the cyclic reference in menu delegate ( #11967 )
...
* Fix the cyclic reference in menu delegate
* Fix menu tests due to delegate change
2018-02-20 10:11:35 -06:00
Shelley Vohr
fb7fb4972d
options all the things
2018-02-20 11:10:53 -05:00
shelley vohr
e1b81b8a62
remove support for crashReporter autoSubmit ( #11976 )
2018-02-20 10:10:35 -06:00
shelley vohr
8d4bf3e29a
Merge pull request #11974 from electron/remove-setZoomLevelLimits
...
remove setZoomLevelLimits
2018-02-20 10:51:41 -05:00
Felix Rieseberg
975e6e6194
❤️ First round of feedback
2018-02-20 09:47:18 -06: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
57738e6981
no longer support bool param for setHighlightMode
2018-02-20 10:06:59 -05:00
shelley vohr
98ba120ae2
Merge pull request #11972 from electron/remove-setextra-param
...
remove setExtraParameter for 2.0
2018-02-20 09:10:38 -05:00
Shelley Vohr
211b542ae4
remove setZoomLevelLimits
2018-02-20 08:57:48 -05:00
Charles Kerr
2a16b28be4
Cache libnotify server caps ( #11965 )
...
* cache libnotify server capabilities
* fix broken production cache in NotifierSupportsActions()
* log a warning if LibnotifyNotification::Initialize() fails
2018-02-20 07:53:10 -06:00
Shelley Vohr
e4e20d667b
remove html/rtf methods marked for 2.0
2018-02-20 08:41:58 -05:00
Shelley Vohr
1a3661206e
remove unused deprecate module from crashreporter
2018-02-20 08:31:38 -05:00
Shelley Vohr
fc025064f7
remove setExtraParameter for 2.0
2018-02-20 08:26:10 -05:00
Shelley Vohr
56f06187d5
forgot to remove old method
2018-02-19 21:03:10 -05:00
Shelley Vohr
73ab87b87f
add new and changed specs
2018-02-19 20:59:47 -05:00
Shelley Vohr
6e11a3e53d
add restructured window.popup
2018-02-19 20:59:27 -05:00
Cheng Zhao
99d9e262eb
Merge pull request #19 from electron/get-wrapper-const
...
GetWrapper should be const
2018-02-20 10:07:55 +09:00
shelley vohr
459a5e3a1f
Merge pull request #11961 from electron/fix-bw-callback
...
add conditional for menu.popup(window, callback)
2018-02-19 19:54:20 -05:00
Felix Rieseberg
037ee0cff3
📝 Fix the fix
2018-02-19 18:38:59 -06:00
Cheng Zhao
91ee99ab8a
GetWrapper should be const
2018-02-20 09:29:02 +09:00
Felix Rieseberg
64fc523977
📝 Fix dead links
2018-02-19 18:25:02 -06:00
Felix Rieseberg
b869471068
📝 Add missing links
2018-02-19 18:20:35 -06:00
Felix Rieseberg
322f7dadc7
📝 Native drag & drop documentation
2018-02-19 18:20:21 -06:00
Felix Rieseberg
191463397b
📝 Cleanup this hot mess
2018-02-19 18:20:10 -06:00
Felix Rieseberg
683e02fbcd
📝 TIE IT ALL TOGETHER
2018-02-19 18:09:58 -06:00
Felix Rieseberg
ebbecce56d
📝 Document debugging
2018-02-19 18:09:38 -06:00
Felix Rieseberg
e98637596d
📝 Installation
2018-02-19 17:53:29 -06:00
Felix Rieseberg
3c66e810c0
📝 Document asar
2018-02-19 17:50:38 -06:00
Felix Rieseberg
20ca6b4a55
📝 Offscreen Rendering
2018-02-19 17:50:26 -06:00
Zeke Sikelianos
35faab89a4
add typing cat to first PR comment ( #11964 )
...
* add typing cat to first PR comment
* update cat URL
2018-02-19 17:45:14 -06:00
Felix Rieseberg
69b0a358f3
📝 A11y documentation
2018-02-19 17:36:49 -06:00
Felix Rieseberg
8dd44f66ca
📝 Some consistency
2018-02-19 17:28:24 -06:00
Felix Rieseberg
eeb5845aac
📝 Documenting updates
2018-02-19 17:24:15 -06:00
Felix Rieseberg
fe4762588c
📝 Document the progress bar
2018-02-19 17:17:11 -06:00
Felix Rieseberg
c3362c7617
📝 Document the app architecture (main/renderer)
2018-02-19 17:16:51 -06:00
Felix Rieseberg
ffd607bb52
📝 Document the first app
2018-02-19 17:16:35 -06:00
Felix Rieseberg
d7360e3203
📝 Ensure that quick-start.md still exists
2018-02-19 17:14:31 -06:00
Felix Rieseberg
879d21c80e
📝 Document Unity Launcher
2018-02-19 17:14:07 -06:00
Felix Rieseberg
3623cf9729
📝 Windows Taskbar documentation
2018-02-19 17:10:25 -06:00
Felix Rieseberg
8d219e94dc
📝 Recent documents documentation
2018-02-19 17:09:58 -06:00
Felix Rieseberg
d552af97c3
📝 macOS Dock documentation
2018-02-19 17:09:43 -06:00
Felix Rieseberg
fc7e50dce2
📝 Add cli and boilerplate documentation
2018-02-19 15:34:33 -06:00
Zeke Sikelianos
af82b2037e
Merge pull request #11950 from electron/semver-doc-tweaks
...
semver documentation tweaks
2018-02-19 13:07:33 -08:00
Per Lundberg
8375d21cae
security.md: Update security recommendation checklist
2018-02-19 23:07:03 +02:00
Felix Rieseberg
bdc0cd4418
📝 Document development environment
2018-02-19 12:25:38 -06:00
Shelley Vohr
9c52d273dd
add spec for menu.popup(window, callback)
2018-02-19 13:15:49 -05:00
Shelley Vohr
cd9e7142e4
add conditional for menu.popup(window, callback)
2018-02-19 13:06:37 -05:00
Heilig Benedek
d31d2087a3
use SK_ColorTRANSPARENT as the default color to fix issue with transparent window devtools detach
2018-02-19 15:07:28 +01:00
Charles Kerr
56859531cd
fix floating reference glib warning ( #11948 )
...
use gtk_widget_destroy() rather than g_object_unref() on the floating temporary menubar widget that we use to calculate colors
2018-02-19 00:12:54 -06:00
Charles Kerr
fbce7bafd7
capitalize 'Node.js'
2018-02-18 23:14:08 -06:00
Charles Kerr
e3efe4b378
make the table a real table
2018-02-18 11:04:21 -06:00
Charles Kerr
ac57c7625a
minor copyediting
2018-02-18 11:00:06 -06:00
shelley vohr
55d4d74624
Merge pull request #11944 from electron/update-native-mate
...
update native_mate ref
2018-02-18 09:20:22 -05:00
Shelley Vohr
2a46a63833
update native_mate ref
2018-02-18 08:57:22 -05:00
John Kleinschmidt
f3415c04cd
Merge pull request #11804 from electron/fix-protocol-origin-filtering
...
Fix protocol filtering of net.request
2018-02-16 14:17:46 -05:00
Paul Frazee
01a6104727
Add download from custom protocol test ( #11931 )
2018-02-16 13:03:53 -05:00
Thiago de Arruda
bc76f35691
Fix protocol filtering of net.request
...
net::URLRequest inherits from base::SupportsUserData, which allows
associating arbitrary data with the request. Use this mechanism as a
condition for filtering requests from custom protocols.
Close #11657
2018-02-16 13:03:53 -05:00
Jacob Groundwater
cdcd031192
Use New Versioning Strategy
...
The `package.json` file in master should always read `0.0.0-dev`. See https://electronjs.org/docs/tutorial/electron-versioning
2018-02-16 09:16:30 -08:00
John Kleinschmidt
78ccfa0612
Merge pull request #11879 from electron/fix-gtk-deprecations
...
Fix GTK+ 3 deprecations
2018-02-16 10:01:01 -05:00
Cheng Zhao
67fa13d7cf
Merge pull request #11925 from electron/squirrel-mac-cdn
...
Update to use Squirrel.Mac that supports CDN releases
2018-02-16 15:28:39 +09:00
Samuel Attard
a20b379f26
fix windows tests
2018-02-16 16:02:10 +11:00
Samuel Attard
549042160f
requestHeaders --> headers
2018-02-16 13:41:21 +11:00
Samuel Attard
f84b8bbfdc
Update deps for new squirrel
2018-02-16 13:01:00 +11:00
Charles Kerr
5e7a5ce3a9
run clang-format on changed sources
2018-02-15 15:20:55 -06:00
Charles Kerr
d30310a2f2
don't build libgtkui files on non-GTK+ platforms
2018-02-15 15:15:26 -06:00
Charles Kerr
b0469702ad
replace gtk2 with gtk3 in cibuild script
2018-02-15 15:10:21 -06:00
Charles Kerr
4774f32065
replace gtk2 with gtk3 in docs
2018-02-15 15:08:55 -06:00
Charles Kerr
c8e64ff870
replace gtk2 with gtk3 in dockerfiles
2018-02-15 15:03:14 -06:00
Charles Kerr
381ed2e2b2
remove GTK+ 2 specific code
2018-02-15 14:57:45 -06:00
Cheng Zhao
af92b04eb9
Merge pull request #11654 from sethlu/set-notification-close-button-text
...
feat: Set macOS notification close button title
2018-02-15 16:01:30 +09:00
Cheng Zhao
fdda1c55c5
Merge pull request #11647 from sethlu/accept-additional-notification-actions
...
feat: Accept additional notification actions
2018-02-15 15:46:36 +09:00
Samuel Attard
6318cd781d
Update to use Squirrel.Mac that supports CDN releases
2018-02-15 14:00:46 +11:00
shelley vohr
7e2f7602c1
Merge pull request #11921 from electron/allow-osr-console-message
...
Emit console-message in OSR mode
2018-02-14 11:02:18 -05:00
Zeke Sikelianos
6f0080be4c
Merge pull request #11918 from dakeshi/fix-typo-docs
...
fix typo in electron-versioning.md
2018-02-14 06:46:37 -08:00
Shelley Vohr
31b074ff0e
change to return emit
2018-02-14 09:28:21 -05:00
Shelley Vohr
c3d11a51cc
emit console-message in OSR mode
2018-02-14 09:09:45 -05:00
Charles Kerr
402201ac39
Fix cppcheck warnings ( #11883 )
...
* remove unused variable
* limit scope of variable 'ret'
* pass shared_ptr<SkBitmap> by reference
* silence warning: value reassign before read
* fix oops
* don't refer to 'response' after std::move()ing it
* make the linter happy
2018-02-14 02:21:46 -06:00
shelley vohr
f8b7145c6b
update libcc ref ( #11916 )
2018-02-13 23:13:38 -05:00
Sangjoon Moon
8a84bd8d19
fix typo in electron-versioning.md
...
- backport
- stabilization branch
- and some typo
2018-02-14 13:04:57 +09:00
shelley vohr
a55fd06aa2
Revert "Merge pull request #11737 from kwonoj/feat-cache-capacity" ( #11906 )
...
This reverts commit 181169b743 , reversing
changes made to baced3152f .
2018-02-13 10:49:27 -05:00
Cheng Zhao
eba9abdbe5
Merge pull request #11501 from emmkimme/Enh_WebPrefs_Affinity_Option
...
Feature : Affinity option for gathering several pages in a single process
2018-02-13 16:21:48 +09:00
Cheng Zhao
affa21600c
Remove unnecessary methods on WebContentsPreferences
2018-02-13 15:57:54 +09:00
Cheng Zhao
2b623f5d86
docs: More explaination to affinity option
2018-02-13 15:33:11 +09:00
Emmanuel Kimmerlin
9c1b47361f
Add an "affinity" option to webPreferences
2018-02-13 15:18:55 +09:00
John Eismeier
8d55334016
Propose fix some typos ( #11905 )
2018-02-13 00:18:27 -05:00
John Kleinschmidt
546bd6da5e
Merge pull request #11903 from electron/update-release-for2
...
Change release process for 2.0
2018-02-12 16:52:41 -05:00
Felix Rieseberg
4ed5bb9901
fix: Update touch bar type documentation ( #11563 )
...
* fix: Update touch bar type documentation
Tiny change: The `escapeItem` in the touch bar constructor accepts a `null`, but our typings do not reflect that.
* Also uppdate the escapeItem instance property type docs
2018-02-12 14:59:01 -05:00
Samuel Attard
9bd7d53cf8
Handle empty handles ( #11598 )
...
* Handle empty handles
* Close and dispose window at end of void test
* Dispose of existing window before running void 0 spec
2018-02-12 14:46:29 -05:00
John Kleinschmidt
12a8d90ef0
Change release process for 2.0
...
Tag release as soon as version bumps
No longer use release branch
Remove merge step as it is no longer needed.
2018-02-12 14:06:09 -05:00
Samuel Attard
181169b743
Merge pull request #11737 from kwonoj/feat-cache-capacity
...
feat(webframe): export set cache capacity interface
2018-02-13 06:02:25 +11:00
Samuel Attard
baced3152f
Mark securityScopedBookmarks as optional and a boolean ( #11901 )
2018-02-12 13:48:45 -05:00
Samuel Attard
ae65938752
Fix frameless windows with vibrancy ( #11886 )
2018-02-12 13:38:37 -05:00
acheronfail
d1d50a4c92
Implement App-Scoped Security scoped bookmarks ( #11711 )
...
* implementation of security scoped bookmarks
* option is now only available on mas builds
2018-02-12 13:25:06 -05:00
Samuel Attard
9f78ef0179
Merge pull request #11595 from YurySolovyov/fileicon-task-scheduler
...
Use task scheduler for app.getFileIcon API
2018-02-13 05:11:22 +11:00
Samuel Attard
01dcddef35
Merge pull request #11819 from kwonoj/feat-worditerator
...
feat(worditerator): bump up worditerator into latest
2018-02-13 05:11:01 +11:00
Samuel Attard
b3234f634b
Add ability to set arbitrary arguments in a renderer process ( #11850 )
2018-02-12 11:54:31 -06:00
Samuel Attard
66b57858b8
Fix child touch bar items not updating ( #11812 )
...
* Fix child touch bar items not updating
Deep children of a TouchBar didn't cause the top level touch bar to update, now they do
Fixes #11761 .
* Remove unused newValue property in TB setter
2018-02-12 12:53:04 -05:00
shelley vohr
6943ada7e8
Merge pull request #11897 from electron/fix-contrib-links
...
add links to new contrib docs
2018-02-12 12:48:47 -05:00
John Kleinschmidt
e6ac2637d3
Merge pull request #11728 from brenca/osr-gpu-update-master
...
Improve OSR API (master)
2018-02-12 12:29:11 -05:00
shelley vohr
fae71f9987
Merge pull request #11880 from nitsakh/better-ipc-logging
...
Add ability to log atom ipc messages
2018-02-12 09:20:37 -05:00
Shelley Vohr
8987828ecd
add links to new contrib docs
2018-02-12 09:16:29 -05:00
shelley vohr
533dfc42a8
enhance documentation around contributing to electron ( #11887 )
...
* add issues document
* add documentation coding style to doc
* copyediting
* replace `nodejs/node` with `electron/electron`
* fix commasplice
* fix two most important... s/is/are/
* omit unnecessary words
* add pull requests doc
* copyediting
* add general code style to styleguide
* updates to CONTRIBUTING.md
* copyediting
* mark shell blocks as ```sh
* mitigate phrase duplication e.g. 'best practice'
* lots of opinionated changes to omit unnecessary words
* fix numbering & re-apply changes that I overwrote
2018-02-12 08:09:38 -06:00
shelley vohr
31e0bc02ba
add pr template ( #11888 )
2018-02-12 08:08:32 -06:00
universeroc
069c6187cf
Fix #11893 Remove unused member variable content_client_ ( #11894 )
2018-02-12 08:07:12 -06:00
Nitish Sakhawalkar
e19e2b9242
Address review comments
2018-02-11 10:25:11 -08:00
shelley vohr
647f0f3a57
Merge pull request #11873 from electron/add-file-format-picker
...
add accessory view for format picker
2018-02-10 23:32:08 -05:00
Shelley Vohr
36cf548114
change weak ptr ref to strong
2018-02-10 21:04:26 -05:00
shelley vohr
1657c37761
Merge pull request #11881 from electron/update-zoom-level-doc
...
add formula to setZoomLevel doc
2018-02-10 09:08:59 -05:00
Zhuo Lu
e3b70dd029
Fix grammar
2018-02-10 03:20:20 -08:00
Zhuo Lu
d05791c1ac
Tweak wording
2018-02-10 03:20:20 -08:00
Zhuo Lu
bf11b09d35
Mention change of default value scenario in doc
2018-02-10 03:20:20 -08:00
Zhuo Lu
69e65e0d5e
Update NotificationAction doc
2018-02-10 03:20:20 -08:00
Zhuo Lu
0b7a629a41
Overload method for naming consistency
2018-02-10 03:20:20 -08:00
Zhuo Lu
75b990faff
Use std::string::empty to check
2018-02-10 03:20:20 -08:00
Zhuo Lu
1e1087abbb
Simplify formatting
2018-02-10 03:20:20 -08:00
Zhuo Lu
31baafab3b
NSUserNotification should respond
...
NSUserNotification is expected to responsd to `@selector(setContentImage:)` with macOS ^10.9
2018-02-10 03:20:20 -08:00
Zhuo Lu
3ee3e9a3e8
Fix typo
2018-02-10 03:20:20 -08:00
Zhuo Lu
09d51f0a3d
Fix include order
2018-02-10 03:20:20 -08:00
Zhuo Lu
844ee0a3f4
Accept additional notification actions
...
Change to the existing API definition: The first action with type `button` seen will be displayed on the notification, the rest listed as additional actions (shown when holding down on the primary action button)
2018-02-10 03:20:20 -08:00
Zhuo Lu
38d284590f
Add Notification tests
2018-02-10 03:19:47 -08:00
Zhuo Lu
29f9929703
Organize code
2018-02-10 03:19:47 -08:00
Zhuo Lu
0d4c6e327f
Update Notification API doc
2018-02-10 03:19:47 -08:00
Zhuo Lu
be118d4f13
Make it able to set close button text
2018-02-10 03:19:47 -08:00
Shelley Vohr
5818353ebc
add formula to setZoomLevel doc
2018-02-09 23:20:45 -05:00
Shelley Vohr
3085c78bcf
implement selectFormat selector
2018-02-09 21:38:21 -05:00
Nitish Sakhawalkar
5194288fce
Add ability to log atom ipc messages
2018-02-09 18:01:14 -08:00
Charles Kerr
3710e0e38b
make the linter happier
2018-02-09 19:34:37 -06:00
Charles Kerr
4b766d26df
make the linter happy
2018-02-09 19:29:32 -06:00
Charles Kerr
3f5ce6d74f
fix gtk3 deprecation warnings setting menubar colors
2018-02-09 19:04:59 -06:00
Charles Kerr
b107d3f440
remove icons from messageboxes on gtk
...
Icons are deprecated in GtkMessageBoxes as of GTK+ 3.12. The GNOME HIG no longer shows icons in example dialogs; see https://developer.gnome.org/hig/stable/dialogs.html.en and https://developer.gnome.org/gtk3/stable/GtkMessageDialog.html
2018-02-09 17:53:02 -06:00
Charles Kerr
ffff400236
fix 'GTK_STOCK_*' deprecation warnings
2018-02-09 17:45:34 -06:00
shelley vohr
647d04cf92
Add brightray to src code structure ( #11878 )
...
* add brightray to src code structure
* try new code flag
2018-02-09 13:21:50 -06:00
Charles Kerr
e5eeab6e29
fix 'GTK_STOCK_*' deprecation warnings
2018-02-09 09:57:39 -06:00
Shelley Vohr
0fff336481
add accessory view for format picker
2018-02-09 09:08:04 -05:00
Aleš Pergl
efb44050db
Enable official build ( #11847 )
...
* Updated libchromiumcontent submodule
* Use same LTO settings as libcc
* Use whole program optimization, favour speed, remove redundancies
* Don't use variable template as it confuses LTCG
* Use lld and ThinLTO only on limited set of architectures
2018-02-08 13:26:23 -06:00
shelley vohr
8b9b1e5595
Merge pull request #11863 from electron/move-locale-test
...
Move locale doc to command line switches
2018-02-08 14:10:19 -05:00
Shelley Vohr
1e090b9ee7
remove .only
2018-02-08 13:50:44 -05:00
Shelley Vohr
f6d389b159
fix child process import
2018-02-08 13:50:19 -05:00
Shelley Vohr
e10b5e13e9
move spec to chromium_spec
2018-02-08 13:00:41 -05:00
Shelley Vohr
1018cdc225
move locale doc to command line switches
2018-02-08 11:49:28 -05:00
shelley vohr
ca34978e73
add app.setLocale() ( #11469 )
...
* infrastructure for setLocale via klang
* add documentation for setLocale
* add test for setLocale
* fix spec
* add spec and update docs
* fix carriage feeds on windows
* SetLocale() sets LC_ALL on Linux
* in SetLocale() on Linux, use g_setenv()
* fix tyop: '#ifdef OSX_POSIX'
* make the linter happy
* improvements from review
2018-02-08 08:26:37 -06:00
Vanessa Yuen
e3f1d90854
Merge pull request #11855 from electron/vanessayuenn-patch-1
...
Delete `upgradeing-chrome.md`
2018-02-07 17:53:34 +01:00
Vanessa Yuen
4ab13d9e90
Delete upgradeing-chrome.md
2018-02-07 17:11:16 +01:00
OJ Kwon
e869c27041
feat(worditerator): bump up worditerator into latest
2018-02-06 15:31:18 -08:00
Felix Rieseberg
6c6fa3190f
Fix PRE_RELEASE_VERSION (on master) ( #11844 )
...
* 🔧 Fix PRE_RELEASE_VERSION
* 🔧 Fix spacing
* 🔧 Fix this, but harder
2018-02-06 16:33:51 -06:00
shelley vohr
64f509ea7a
Merge pull request #11832 from electron/enable-window
...
Add API to enable/disable a window
2018-02-06 14:14:45 -05:00
Shelley Vohr
5b901d9f82
revert TOOLKIT_VIEWS check change
2018-02-06 13:34:27 -05:00
John Kleinschmidt
6fd5b168bc
Merge pull request #11841 from electron/vanessayuenn-patch-1
...
Update snapcraft.md
2018-02-06 11:45:14 -05:00
Vanessa Yuen
4685c46b04
Update snapcraft.md
...
fix super teeny tiny typo 😬
2018-02-06 17:28:40 +01:00
John Kleinschmidt
a0e584efeb
Merge pull request #11793 from electron/release-updates
...
Improvements to release process
2018-02-06 11:12:41 -05:00
Shelley Vohr
3f6d2eb3ab
remove extraneous variable
2018-02-06 09:27:30 -05:00
Shelley Vohr
80aa399f8a
updates to mac enable method
2018-02-06 09:16:22 -05:00
Shelley Vohr
131aa38768
typo fix
2018-02-06 08:30:33 -05:00
Shelley Vohr
faf08b2b77
add documentation
2018-02-06 08:28:41 -05:00
Shelley Vohr
ae632193c0
migrate to virtual void and start mac impl
2018-02-06 08:21:53 -05:00
Samuel Attard
8c2c7c3634
Merge pull request #11836 from kaylieEB/master
...
Replace custom function with Object.values()
2018-02-06 15:45:02 +11:00
kaylie
3c64062f69
Replace custom function with Object.values()
2018-02-05 20:03:28 -08:00
Shelley Vohr
97589bbe33
first pass at api method to enable window
2018-02-05 14:49:59 -05:00
shelley vohr
5240352326
Remove extra menu separators ( #11827 )
...
* add function to remove leading/trailing separators
* change const name for clarity
* add spec to check filtered separators
* clean method and add edge case spec per review
2018-02-05 11:55:12 -06:00
shelley vohr
e6a5990b95
Merge pull request #11774 from nitsakh/fix-invalid-utf
...
Handle invalid utf8 characters for debugger
2018-02-05 12:44:41 -05:00
John Kleinschmidt
e924781ee5
Improvements to release process
...
1. Prompt user to verify version before version is created.
2. Fix validateRelease instructions and usage
3. Fix ci-release-build so that you don't have to pass in --ghRelease=true; just --ghRelease will work.
2018-02-05 10:57:48 -05:00
Cheng Zhao
42fa018277
Merge pull request #11492 from timmyhadwen/master
...
Fixed Bluetooth chooser bug. Closes #11399
2018-02-05 20:44:42 +09:00
Cheng Zhao
8ac52b418b
Coding style fixes
2018-02-05 17:29:59 +09:00
Samuel Attard
9676c0a4f9
Fix build and ensure no breaking change
2018-02-05 17:29:59 +09:00
Cheng Zhao
1c43768104
Coding style fixes
2018-02-05 17:29:59 +09:00
Samuel Attard
87c2f0f14f
Fix build and ensure no breaking change
2018-02-05 17:29:59 +09:00
Samuel Attard
5f7a173d1d
Add missing header import
2018-02-05 17:29:59 +09:00
Samuel Attard
72464a6db5
Fix implicit appUserModelId set
2018-02-05 17:29:59 +09:00
Cheng Zhao
ab015e573b
Merge pull request #11417 from electron/power-monitor-shutdown-event-and-delay-api
...
[RFC] New API: powerMonitor "shutdown" event
2018-02-05 17:29:31 +09:00
Cheng Zhao
9337959f51
The tryToTerminateApp is not really needed
2018-02-05 16:25:50 +09:00
Cheng Zhao
983e1b1a70
Implement shutdown event for macOS
2018-02-05 16:20:57 +09:00
Cheng Zhao
c470e758cc
Remove the AllocateSystemIOPorts call
...
It is no longer needed and it is crashing.
2018-02-05 16:15:49 +09:00
Cheng Zhao
109e2c760f
Do not use virtual function to request shutdown
...
Would make it easier to port to other platforms.
2018-02-05 15:50:55 +09:00
Cheng Zhao
8ae3d9dd0b
Simplify the public PowerObserver interface
2018-02-05 15:28:58 +09:00
Thiago de Arruda
e0e7dd2a8f
fixup! Implement powerMonitor 'shutdown' event for Linux.
2018-02-05 15:21:31 +09:00
Thiago de Arruda
176c03fa15
Add doc for powerMonitor shutdown event
2018-02-05 15:21:31 +09:00
Thiago de Arruda
f0e210360f
fixup! Implement powerMonitor 'shutdown' event for Linux
2018-02-05 15:21:31 +09:00
Thiago de Arruda
45763c0afb
fixup! Implement powerMonitor 'shutdown' event for Linux
2018-02-05 15:21:31 +09:00
Thiago de Arruda
df6328e5d7
Add some tests for powerMonitor "shutdown" event
2018-02-05 15:21:31 +09:00
Thiago de Arruda
56b53e71aa
Implement powerMonitor 'shutdown' event for Linux.
...
The event is emitted when the OS is rebooting/shutting down, and allows
an electron app to call `e.preventDefault()` in order to delay shutdown
and exit cleanly.
2018-02-05 15:21:31 +09:00
Cheng Zhao
28d96e2d29
Merge pull request #11354 from elegos/feature/create-dist-chromium-dir-option
...
Adds --chromium_dir argument to script/create-dist.py
2018-02-05 15:08:57 +09:00
Pranjal
732af93fc9
Updated for arm and armv7l documentation ( #11825 )
...
* Updated for arm and armv7l documentation
Cleared up the confusion caused by arm or armv7l mentioned somewhere and not mentioned elsewhere
* 📝 Improve wording a bit.
2018-02-04 18:29:19 -07:00
Felix Rieseberg
d586ef2f39
feature: Hot security tips ( #11810 )
...
* 🔧 Add security issue detection (and logs)
* 🔧 Check for it on load
* 👷 Add some tests
* 👷 Make the linter happy
* 🔧 Allow them to be enabled by force
* 📝 Make message slightly prettier
* 🔧 Fix a typo in the code comment
* 🔧 Classic mistake
* 🚀 Optimize things a bit more
* 👷 Add tests, fix tests
* 📝 Document things
* 🔧 Make linter happy
* 🔧 One more piece of cleanup
2018-02-03 07:50:12 -07:00
Nitish Sakhawalkar
62d2a3472f
Fix test BrowserWindow.addTabbedWindow() ( #11795 )
...
* Fix test BrowserWindow.addTabbedWindow()
* Address review comments
2018-02-02 19:31:02 -07:00
Charles Kerr
bd06abd523
Merge pull request #11806 from electron/security-docs-improvements
...
docs: Fixs some errors in the security documentation
2018-02-02 07:47:37 -07:00
Zeke Sikelianos
a033a9cd5d
Merge pull request #11794 from electron/snapcraft-documentation
...
Add snapcraft documentation
2018-02-01 19:22:10 -08:00
Nitish Sakhawalkar
e411b49f4e
Fix and update debugger UTF char test
2018-02-01 16:47:52 -08:00
Felix Rieseberg
6cf0c56eaf
📝 Some more words
2018-02-01 16:32:58 -08:00
Charles Kerr
714838d65e
Merge pull request #11796 from electron/case-insensitive-blacklist
...
Case insensitive blacklist
2018-02-01 15:51:02 -07:00
shelley vohr
1545a95782
Merge pull request #11799 from electron/browserview-inherit-fix
...
Don't inherit isBrowserView preference
2018-02-01 14:36:56 -05:00
Felix Rieseberg
ce969c9326
📝 Fix some errors
2018-02-01 09:58:02 -08:00
Felix Rieseberg
be7e46b3fe
📝 A word on strict
2018-02-01 09:47:15 -08:00
Felix Rieseberg
495c6dcff5
📝 Some more words
2018-02-01 09:43:26 -08:00
Charles Kerr
e51c78f10c
fix oops
...
because compiling before pushing is for wusses
2018-01-31 22:25:57 -07:00
Shelley Vohr
db6d84de74
don't inherit isBrowserView for spawned child windows
2018-02-01 00:09:37 -05:00
Charles Kerr
b32a7d4cb4
Merge pull request #11798 from electron/shadowroot-deprecate-fix
...
Migrate deprecated web-view method
2018-01-31 22:09:33 -07:00
Felix Rieseberg
77dcddf157
📝 Even more words
2018-01-31 17:00:19 -08:00
Felix Rieseberg
9d0d83a002
📝 Some more words
2018-01-31 16:57:45 -08:00
Felix Rieseberg
45119845e8
📝 Callout forge/builder as easiest
2018-01-31 16:56:46 -08:00
Felix Rieseberg
311c0873db
📝 Link to the guide
2018-01-31 16:54:23 -08:00
Felix Rieseberg
1184eca581
🔧 Fix various typos, implement feedback
2018-01-31 16:52:38 -08:00
Charles Kerr
1106cde687
fix oops
2018-01-31 17:40:11 -07:00
Charles Kerr
09a2c80443
use std::binary_search to search switch blacklist
2018-01-31 17:36:06 -07:00
Charles Kerr
8405fe763e
Make a copy-paste recipe for rebuilding the blacklist
2018-01-31 17:35:34 -07:00
Samuel Attard
ce361a12e3
Use case-insensitive switch comparisons
2018-01-31 17:35:09 -07:00
Shelley Vohr
b74304145e
createShadowRoot => attachShadow
2018-01-31 19:29:23 -05:00
Felix Rieseberg
b49a284ccf
📝 Add snapcraft documentation
2018-01-31 16:01:38 -08:00
John Kleinschmidt
278c58055e
Merge pull request #11776 from electron/parallel-releases
...
Allow multiple releases to run at once
2018-01-31 13:14:09 -05:00
John Kleinschmidt
7e9131d82b
Allow multiple releases to run at once
...
Find draft release by draft flag and tag name
2018-01-30 17:35:16 -07:00
Charles Kerr
67196bdd3e
Merge pull request #11770 from electron/security-documentation
...
Enhance security documentation
2018-01-30 15:03:43 -07:00
shelley vohr
f24eab74d8
Merge pull request #11726 from electron/faster-compare-blacklist
...
Make use of sorted list to speed up searching
2018-01-30 09:46:38 -05:00
Felix Rieseberg
93dc38a17b
👷 Put ESLint's mind at ease
2018-01-29 16:27:41 -08:00
Felix Rieseberg
d8d19baad3
❤️ Even more feedback
2018-01-29 16:02:39 -08:00
Felix Rieseberg
1e1729adad
❤️ More feedback
2018-01-29 16:01:05 -08:00
Zeke Sikelianos
aea06ed95f
Merge pull request #11758 from nicknish/nn/fix-typo-remote-api-docs
...
Fix typo in remote api docs
2018-01-29 14:33:16 -08:00
Felix Rieseberg
8f685e9329
👷 Linter errors
2018-01-29 12:36:51 -08:00
Felix Rieseberg
8804b09188
❤️ Implement @zeke’s feedback
2018-01-29 12:34:46 -08:00
Felix Rieseberg
536ff0b7e2
👷 Fix failed test
2018-01-29 11:29:15 -08:00
Felix Rieseberg
fb8606dd0c
📝 General cleanup
2018-01-29 11:19:43 -08:00
Felix Rieseberg
c4dc8dacbf
📝 Context Isolation
2018-01-29 11:19:21 -08:00
Felix Rieseberg
4cb22dd2ff
📝 allowpopups
2018-01-29 11:04:02 -08:00
Felix Rieseberg
cdb20d2692
🔧 WebSecurity
2018-01-29 11:03:51 -08:00
Felix Rieseberg
7e79ae750f
📝 Blink Features
2018-01-29 11:03:38 -08:00
Felix Rieseberg
39e0efd9a4
📝 Experimental Features
2018-01-29 11:03:27 -08:00
Felix Rieseberg
e73f142adc
📝 allowRunningInsecureContent
2018-01-29 11:03:06 -08:00
Felix Rieseberg
5418866e87
📝 eval()
2018-01-29 11:02:52 -08:00
Felix Rieseberg
c793ee3aeb
📝 Content Security Policy
2018-01-29 11:02:30 -08:00
Felix Rieseberg
a5c900ac7a
📝 Context Isolation
2018-01-29 11:01:22 -08:00
shelley vohr
12d4f984f3
Merge pull request #11754 from electron/menu-events
...
Add and document menu events
2018-01-29 12:40:57 -05:00
Felix Rieseberg
f790c24c27
📝 Verify WebView creation
2018-01-28 18:19:49 -08:00
Felix Rieseberg
d67c64b6fa
📝 Disable Node Integration
2018-01-28 17:25:05 -08:00
Felix Rieseberg
2db125890c
📝 Secure content
2018-01-28 16:55:11 -08:00
Felix Rieseberg
601fbc8731
📝 Link to security tutorial
2018-01-28 16:54:58 -08:00
Shelley Vohr
c886803d0f
change doc to show working on all platforms
2018-01-28 18:57:44 -05:00
Shelley Vohr
a9dd4c927d
update menu docs description string
2018-01-28 13:59:53 -05:00
nicknish
30581f78a2
📝 Fix typo in remote api docs [ci skip]
2018-01-28 04:37:13 +08:00
Shelley Vohr
3d032c2b57
forgot to remove .only from spec
2018-01-27 12:38:55 -05:00
Shelley Vohr
3679a9c37a
fix event callback placement in spec
2018-01-27 12:36:51 -05:00
Shelley Vohr
e81265bc7f
add documentation for new menu events
2018-01-27 11:28:42 -05:00
Shelley Vohr
e345342e36
add first pass at menu event specs
2018-01-27 11:23:46 -05:00
Shelley Vohr
bef4c84799
turn class into observer
2018-01-27 10:40:50 -05:00
Shelley Vohr
3399480304
first pass at menu event emission
2018-01-27 09:35:58 -05:00
Samuel Attard
b0a1575bb7
Merge pull request #11747 from timfish/patch-1
...
CrashReport structure in docs does not match API output
2018-01-27 23:24:43 +11:00
Tim Fish
e3383c82d1
CrashReport structure does not match API output
...
Electron 1.7
Docs:
```typescript
interface CrashReport {
date: string;
ID: number;
}
```
Actual output of `getLastCrashReport`:
```javascript
{
date: 2018-01-26T21:50:05.000Z,
id: '989d0469-9eb7-4f70-ba58-3425bc6ffa3b'
}
```
2018-01-27 12:21:09 +01:00
OJ Kwon
1ab92f7866
docs(webframe): reword api instructions
2018-01-26 10:58:25 -08:00
OJ Kwon
690a9e9483
test(webframe): add basic test case
2018-01-26 10:57:52 -08:00
OJ Kwon
004c9427eb
docs(webframe): add interface instruction
2018-01-26 10:57:52 -08:00
Heilig Benedek
df3d94b20d
Remove web_contents_impl() helper to clarify code and remove unnecessary guard
2018-01-26 10:30:20 +01:00
OJ Kwon
d172e29270
feat(webframe): export set cache capacity interface
2018-01-25 20:43:01 -08:00
Heilig Benedek
406f171c88
Move OSR api to OsrWCV to allow api calls to take effect sooner
2018-01-25 16:11:56 +01:00
Heilig Benedek
1a8916ed47
Call SetAuthoritativeVsyncInterval on the Compositor directly
2018-01-25 16:11:44 +01:00
Heilig Benedek
099bbfbafb
Raise maximum OSR framerate to 240
2018-01-25 16:11:31 +01:00
Heilig Benedek
304fd49e84
Don't generate a frame with GPU OSR if IsPainting is false
2018-01-25 16:11:22 +01:00
Heilig Benedek
708cde92cf
Don't generate a paint when StartPainting is called inside paint cb
2018-01-25 16:11:12 +01:00
Heilig Benedek
17d85318c3
Use null accelerated widget to avoid showing GPU accelerated OSR surface
2018-01-25 16:10:38 +01:00
Cheng Zhao
b5d5eca224
Make use of sorted order to speed up searching
2018-01-25 14:42:56 +09:00
Cheng Zhao
b9c0bab8f1
Merge pull request #11704 from brenca/fix-10678
...
Remove WS_EX_COMPOSITED style from window (master)
2018-01-24 14:44:52 +09:00
Cheng Zhao
0207aebad1
Merge pull request #11664 from loc/use_directx_capturer_win
...
Use same screen capturer settings for thumbnails as getUserMedia
2018-01-24 14:38:32 +09:00
Aleš Pergl
868e792572
Make run-as-node mode optional ( #11701 )
2018-01-23 18:17:15 -05:00
shelley vohr
19a5ebce66
update submodule ref for updated node ( #11706 )
2018-01-23 18:14:04 -05:00
shelley vohr
4757980f9c
add license file to npm publish ( #11705 )
2018-01-23 18:09:08 -05:00
Heilig Benedek
50690d25f1
Remove WS_EX_COMPOSITED style from window
2018-01-23 20:14:34 +01:00
Aleš Pergl
39554566cc
Allow IO while constructing an absolute path (prevents DCHECK failure) ( #11697 )
2018-01-23 10:25:01 -05:00
Aleš Pergl
c49cb29ddf
Disallow launching unknown apps via browser client.
...
CVE-2018-1000006
2018-01-22 16:49:30 -06:00
Samuel Attard
32a1395bcf
Merge pull request #11565 from electron/add-load-file-helper
...
Add window.loadFile and webContents.loadFile helper methods
2018-01-23 09:08:23 +11:00
Shelley Vohr
365fe6b067
fix code fence lint failure
2018-01-22 12:41:46 -05:00
Felix Rieseberg
8a4c76d655
docs: Document custom installation ( #11640 )
...
* 📝 Document custom installation
* ❤️ Implement feedback
* 🔧 Fix linting errors
2018-01-19 16:33:36 -05:00
Nitish Sakhawalkar
2b4cc0a525
Fix macos Full Screen Toggle menu item label ( #11633 )
2018-01-19 09:27:36 -05:00
Charles Kerr
d0af17e601
Merge pull request #11644 from brenca/tooltip-fix-master
...
Explicitly hide tooltip when the window is deactivated (master)
2018-01-18 23:35:06 -06:00
Ryan Baxley
8387d92cd5
Update CONTRIBUTING.md with link to development docs ( #11529 )
...
* Update CONTRIBUTING.md with link to development docs
[ci skip]
* Use relative link to development documentation
[ci skip]
2018-01-18 21:29:10 -05:00
Heilig Benedek
f36fda3f5d
don't dereference tooltip_controller if it's null
2018-01-18 20:35:19 +01:00
Heilig Benedek
8d8b8c590d
update calls to use new namespaces
2018-01-18 15:23:38 +01:00
Heilig Benedek
5e198d9dc6
add todo comment
2018-01-18 15:23:38 +01:00
Heilig Benedek
8233890e39
lint fix
2018-01-18 15:23:38 +01:00
Heilig Benedek
c6c618acdb
explicitly hide tooltip on window deactivation
2018-01-18 15:23:38 +01:00
Andy Locascio
ae65c26469
fix lint
2018-01-17 17:04:57 -08:00
Andy Locascio
8253e50e9c
use same settings for screen thumbnails as chrome does webrtc capturing
...
Following along from http://crrev.com/2961193002 : make sure the
thumbnail capturers initialize with the same settings as the capturer
from a getUserMedia request does. Otherwise, there is no guarentee that the
sources on Windows will match.
2018-01-17 15:55:10 -08:00
John Kleinschmidt
ea1da93e5e
Merge pull request #11662 from electron/fix-ia32-testing-for-forks
...
Set DISPLAY variable for xvfb
2018-01-17 13:47:41 -05:00
John Kleinschmidt
565946cdff
Set DISPLAY variable for xvfb
...
PRs submitted from forks need this value for xvfb to run properly.
2018-01-17 12:57:42 -05:00
shelley vohr
4f0e1826e5
properly check checkbox state on callback ( #11658 )
2018-01-17 08:51:49 -05:00
Cheng Zhao
4dab824c6b
Merge pull request #11625 from nitsakh/mac-terminate
...
Change macos app termination process
2018-01-17 16:28:56 +09:00
Nitish Sakhawalkar
ea2056b513
Replace arrow function
2018-01-17 15:27:11 +09:00
Nitish Sakhawalkar
7aefc73ffd
Fix lint
2018-01-17 15:27:11 +09:00
Nitish Sakhawalkar
28f1abcb05
Change macos app termination process
2018-01-17 15:27:11 +09:00
Cheng Zhao
d69c17a96a
Merge pull request #11656 from electron/update-gyp
...
Update gyp: Add Visual Studio 2017 support
2018-01-17 11:43:46 +09:00
Cheng Zhao
b45ce8ff2d
Update gyp: Add Visual Studio 2017 support
2018-01-17 10:19:02 +09:00
John Kleinschmidt
a6d3dee321
Removing core dump check ( #11621 )
...
It appears that the arm build failing with a core dump is a false positive. Testing the latest arm build from master on a raspberry pi 2, it does not core dump.
2018-01-13 23:02:10 -05:00
Tiago Danin
74769da9a7
[Docs] Fix URLs and Paths ( #11584 )
...
* Fix URLs and Paths in docs/
* Avoiding link break to /docs/development/updgrading-chrome.md
* Fix URLs and Paths in docs/ #2
* Removed double spaces in docs
2018-01-12 10:24:48 -05:00
Charles Kerr
fa43cb6ef0
Merge pull request #11557 from josimi/master
...
Fixes hexColorDWORDToRGBA for transparent colors
2018-01-11 10:28:53 -06:00
Lee Dohm
f5962538f4
Merge pull request #11545 from m1guelpf-forks/patch-1
...
Update license year
2018-01-10 09:19:12 -08:00
Cheng Zhao
fce84fbe99
Merge pull request #11292 from AdrienFery/in-app-purchase
...
Add in-app purchase for MacOS
2018-01-10 19:42:03 +09:00
Cheng Zhao
bd271cffb9
Throw when inAppPurchase is used on unsupported platforms
2018-01-10 18:53:55 +09:00
Cheng Zhao
a883d3d50d
Fix build on other platforms
2018-01-10 17:39:16 +09:00
Cheng Zhao
839df0ee5a
Remove observer on cleanup
2018-01-10 17:30:30 +09:00
Cheng Zhao
6d9c6645a8
Add inAppPurchase to docs index
2018-01-10 17:25:04 +09:00
Cheng Zhao
e77ddd3221
Pass multiple transactions at the same time
...
This follows the design of SKPayment API.
2018-01-10 17:19:44 +09:00
Cheng Zhao
2dd545ebda
Payment should be part of Transaction
...
This follows The SKPayment API, and makes our JS wrappers easier to
implement.
2018-01-10 17:06:27 +09:00
Cheng Zhao
635b753ecd
No need for SKPaymentTransactionState prefix for states
2018-01-10 16:59:17 +09:00
Cheng Zhao
133bef3deb
Turn addTransactionListener into transaction-updated event
2018-01-10 16:57:52 +09:00
Cheng Zhao
ac6f895f64
Turn InAppPurchase into an EventEmitter
2018-01-10 16:37:05 +09:00
Cheng Zhao
400bfb3c5a
mac: SKProductsRequest should be freed on end
2018-01-10 15:29:32 +09:00
Cheng Zhao
bdeb979d41
spec: Simple tests for inAppPurchase module
2018-01-10 15:21:53 +09:00
Cheng Zhao
5f1c76c688
Reorgnize the platform-specific files
2018-01-10 14:45:42 +09:00
Adrien Fery
b2542a27c3
Update code style
2018-01-10 13:14:18 +09:00
Adrien Fery
d32632f768
Update filenames.gypi
2018-01-10 13:14:18 +09:00
Adrien Fery
eb2520488f
Adapt code style
2018-01-10 13:14:18 +09:00
Adrien Fery
329fddaed1
Put in-app purchase files under macOS check
2018-01-10 13:14:18 +09:00
Adrien Fery
f3ae566164
Add in-app purchase for MacOS
2018-01-10 13:14:18 +09:00
Cheng Zhao
143816bee1
Merge pull request #11272 from syntropy-ai/1-7-x
...
Removed tracking area for tray to prevent mouse leave race condition crash
2018-01-10 13:13:10 +09:00
Matt Way
5504294a6a
Replaces tracking removal with proper mem management
2018-01-10 10:24:37 +09:00
Matt Way
8df4402722
removed unnecessary braces
2018-01-10 10:24:13 +09:00
Matt Way
638d8219c4
Removed tracking area when removing icon to prevent mouse exit race condition crash
2018-01-10 10:24:11 +09:00
Jonathon Simister
9c018744f4
Fixes hexColorDWORDToRGBA for transparent colors
2018-01-09 11:07:29 -08:00
John Kleinschmidt
83b351a8fd
Merge pull request #11487 from electron/circleci-cross-arch-testing
...
Add testing for arm, arm64 and ia32 linux builds
2018-01-08 11:01:55 -05:00
Yury Solovyov
49844b6e5b
Move the IconLoader to use the task scheduler.
...
This follows https://codereview.chromium.org/2953633002
2018-01-08 13:21:22 +03:00
Yury Solovyov
b3743058c0
Make gfx::Image instance a local variable.
...
This follows https://codereview.chromium.org/2709683002
2018-01-08 12:47:25 +03:00
Cheng Zhao
c1d68974ab
Merge pull request #11589 from electron/fix-accelerator-problem
...
Update libcc: Fix Shift not showing in menu for certain accelerators
2018-01-08 16:15:28 +09:00
Cheng Zhao
f201969f12
Update libcc: Fix Shift not showing
...
Fix the Shift key not showing in menu for certain accelerators like
Control+Shift+F.
2018-01-08 12:33:43 +09: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
Zeke Sikelianos
4e328a2a08
Merge pull request #11481 from teiles/master
...
docs: change getBlobData return type from Blob to Buffer
2018-01-05 20:43:26 -08:00
Zeke Sikelianos
33da3153b6
Merge pull request #11538 from TiagoDanin-Forks/MD-PATH
...
Doc update: New path for web-contents.md
2018-01-05 08:43:08 -08:00
Zeke Sikelianos
c272a18204
Merge pull request #11428 from TechnicalSoup/patch-1
...
docs: specify string values for DownloadItem
2018-01-05 08:42:10 -08:00
Zeke Sikelianos
aeffef766a
Merge pull request #11420 from joeydlee95/master
...
✅ Add test to check for relative links in docs
2018-01-05 08:39:34 -08:00
Charles Kerr
435c9c1486
Force uv loop cleanup ( #11465 )
...
* ensure all uv handles are closed before ending worker's loop
* add DCHECK to test that the Worker loop is finished
* don't call deprecated uv_loop_new(), uv_loop_delete()
* make cpplint happy
* fix comment error
* empty commit for CI
* tweak DCHECK expression
* extract-method: stop_and_close_uv_loop()
* fix DCHECK oops
2018-01-04 11:16:06 -08:00
Zeke Sikelianos
eb89e12c5b
Merge pull request #11532 from sethlu/camelcase-menuitem-role
...
Make MenuItem roles camelCase-compatible
2018-01-04 09:53:58 -08:00
Cheng Zhao
6bc7c8cc49
Merge pull request #11396 from electron/enable_base_dchecks
...
fix: enable additional dchecks
2018-01-04 21:19:12 +09:00
Cheng Zhao
9bd192ea17
Update libcc to latest
2018-01-04 16:14:01 +09:00
Zhuo Lu
df841fa397
Revert changes made to test case
...
The MenuItem role should be lowercase
2018-01-04 14:38:58 +08:00
Samuel Attard
1553b54779
Add window.loadFile and webContents.loadFile helper methods
2018-01-04 11:38:56 +13:00
Cheng Zhao
1ff872519c
posix: Fix assertion when freeing ProcessSingleton
2018-01-03 19:47:01 +09:00
Cheng Zhao
1072c75e38
Closing asar file should be syncronous
2018-01-03 19:12:16 +09:00
Cheng Zhao
fb78052b3d
Remove unnecessary scope
2018-01-03 19:10:48 +09:00
Cheng Zhao
104585e772
Do not create DIR_USER_DATA on IO thread
...
It would slowdown the startup time of apps since we have wait for two
message posts between threads.
2018-01-03 19:07:24 +09:00
Cheng Zhao
952928dc79
Singleton must be created on request
...
The creation of singleton relies on the `userData` dir, which can be
changed by user, we have to ensure singleton uses the `userData` dir set
by user.
2018-01-03 18:59:12 +09:00
Cheng Zhao
0cce6b3d21
Fix cpplint warning
2018-01-03 17:32:18 +09:00
Cheng Zhao
d6068759b6
win: Fix assertion when creating Notification
2018-01-03 17:25:19 +09:00
TechnicalSoup
0ea296b1cb
docs: specify string values for DownloadItem
...
Explicitly list the possible string return values for the updated and done events so that the typescript declaration file can model them more accurately. At present they are represented as a string type.
Fixes : https://github.com/electron/electron-typescript-definitions/issues/71
2018-01-03 13:34:19 +11:00
deepak1556
14de22a8c7
Use cached application locale as default for generating accept-lang header
2018-01-02 17:33:46 +05:30
deepak1556
cbc433d4cb
update libcc to fix DCHECK errors in ui::clipboard on windows
2018-01-02 16:32:07 +05:30
Cheng Zhao
de93b30d3c
win: Fix assertion when getting exe version
2018-01-02 17:02:12 +09:00
Cheng Zhao
82452e7924
win: Fix assertion when getting printers
2018-01-02 16:54:36 +09:00
Cheng Zhao
7bf156d197
win: Fix assertion "IsWprintfFormatPortable(format)"
2018-01-02 16:45:43 +09:00
deepak1556
7b9dd81018
update libcc for macOS render widget dcheck crash fix
2018-01-02 16:37:12 +09:00
deepak1556
b9ace16959
update libcc for using custom platform with gin
2018-01-02 16:37:12 +09:00
deepak1556
769fbd0d3b
REVIEW: register BrowserChildProcessObserver once main message loop is ready
2018-01-02 16:37:11 +09:00
deepak1556
1b30cac372
Don't delay node module initialization
2018-01-02 16:37:11 +09:00
Cheng Zhao
1043f07b42
Fix compilation on Windows
2018-01-02 16:37:11 +09:00
deepak1556
237bd6790b
FIXME: allow IO access on main thread for crash reporter
2018-01-02 16:37:11 +09:00
deepak1556
abe1faea5c
REVIEW: setup request context for NSS OCSP only once
2018-01-02 16:37:11 +09:00
deepak1556
e3a56240c9
REVIEW: fix base::File helper usage on incorrect task sequence
2018-01-02 16:37:10 +09:00
deepak1556
fd297722a8
Note about incorrect usage of blink::SchemeRegistry methods
2018-01-02 16:37:10 +09:00
deepak1556
73919ea91a
update libcc
2018-01-02 16:37:10 +09:00
deepak1556
d27744f455
Some blink::WebSecurityPolicy methods should be invoked before other render threads are created
2018-01-02 16:37:10 +09:00
deepak1556
0df464e16a
address review comments
2018-01-02 16:37:09 +09:00
deepak1556
ee80313666
opt into location service on main thread
2018-01-02 16:37:09 +09:00
deepak1556
d29c27dc78
REVIEW: obtain mime type from file path only on IO allowed sequence
2018-01-02 16:37:09 +09:00
deepak1556
e072213923
FIXME: dbus ObjectProxy methods should only be invoked on IO allowed sequence
2018-01-02 16:37:09 +09:00
deepak1556
a1592446da
REVIEW: access GetApplicationLocale on sequence that allows IO
2018-01-02 16:37:08 +09:00
deepak1556
1912fbb073
reenable some specs
2018-01-02 16:37:08 +09:00
deepak1556
69bd44edbb
REVIEW: add render process lifecycle observer only once
2018-01-02 16:37:08 +09:00
deepak1556
ebb0e46380
REVIEW: create AtomNetworkDelegate on the IO thread
2018-01-02 16:37:08 +09:00
Cheng Zhao
b2cef31bc0
Revert "Fix race condition when calling JsAsker::BeforeStartInUI"
...
This reverts commit 37317d74adb53afdcb22c85f2d3987fbae290ac7.
2018-01-02 16:37:08 +09:00
Cheng Zhao
6d9b186fa7
Fix race condition when calling JsAsker::BeforeStartInUI
2018-01-02 16:37:07 +09:00
deepak1556
e30131f30b
Initialize isolate holder in standalone node mode
2018-01-02 16:37:07 +09:00
deepak1556
88e53b1b5e
REVIEW: destroy process singleton on sequence where IO is allowed
2018-01-02 16:37:07 +09:00
deepak1556
c3154d86e0
FIXME: disable some specs
2018-01-02 16:37:07 +09:00
deepak1556
1d95241185
FIXME: refactor and remove usage of ScopedAllowIO where possible
2018-01-02 16:37:06 +09:00
deepak1556
90acb22a58
dont use UI methods on IO thread
2018-01-02 16:37:06 +09:00
deepak1556
a518c5c3c4
derefence weak ptr only on the same sequence runner it was created in
2018-01-02 16:37:06 +09:00
deepak1556
fedf1d889b
handle NaN conversion from V8
2018-01-02 16:37:06 +09:00
deepak1556
db156865e7
pref store needs to be loaded on a thread that allows IO
2018-01-02 16:37:06 +09:00
deepak1556
b4e6516ad8
fix dcheck failure with invalid UTF8 string conversion for base::Value
2018-01-02 16:37:05 +09:00
deepak1556
5c25855ac5
create user data dir on thread that allows IO
2018-01-02 16:37:05 +09:00
Cheng Zhao
249bd41e11
Merge pull request #11546 from electron/menu-callback
...
Add callback parameter for Menu.popup
2018-01-02 16:20:58 +09:00
deepak1556
99e26b8318
fix: draggable region ipc should be frame based
2018-01-01 22:54:02 +05:30
Cheng Zhao
d04ae88426
The RenderWidgetHostView might not be available when showing menu
2018-01-01 19:37:59 +09:00
Cheng Zhao
bc61f2eafa
Copy the callback instead of reference
...
I don't really see how this could be a problem, likely a bug of VS 2017?
2018-01-01 19:37:59 +09:00
Cheng Zhao
46330ac2a9
Remove the closed event of Menu
...
The callback of Menu.popup does more things, and there is actually no
request for the closed event.
2018-01-01 17:22:07 +09:00
Cheng Zhao
73d78d345a
Make callback work for old-style Menu.popup call
...
While the old-style Menu.popup has been deprecated, it is still being
used widely in apps and even in Electron itself.
2018-01-01 17:17:01 +09:00
Cheng Zhao
2ec3b8ce76
spec: callback for Menu.popup
2018-01-01 16:56:22 +09:00
Cheng Zhao
c3eadd5b63
mac: Call callback when menu is programmely closed
2018-01-01 16:49:25 +09:00
Cheng Zhao
9c6aa9ce90
docs: callback of Menu.popup
2018-01-01 16:42:23 +09:00
Cheng Zhao
7b01a8b860
Add callback parameter to Menu.popup
2018-01-01 16:26:19 +09:00
Cheng Zhao
2e3d940749
Fix "test.py -g Menu" not working
2018-01-01 15:46:39 +09:00
Cheng Zhao
d7bc127c60
mac: Correctly close popup menu
2018-01-01 15:40:15 +09:00
Miguel Piedrafita
46121da765
Update license year
2018-01-01 00:51:40 +01:00
Zhuo Lu
b8ec84c761
Fix syntax
2018-01-01 02:23:32 +08:00
Tiago Danin
e9121936e8
Doc Update: New path for web-contents.md
2017-12-28 18:22:30 -02:00
Felix Rieseberg
5f4b62b6c8
feat: Allow testing of single spec modules ( #11409 )
...
* 🔧 ES6 for the spec
* 👷 Allow testing of single modules
* ❤️ Implement feedback
* 📝 Add a testing doc
* 📝 Link to it
* 📝 Cleanup
2017-12-28 06:18:33 -05:00
Zhuo Lu
d45914c3f7
MenuItem roles camelCase-compatible
2017-12-28 13:28:20 +08:00
Cheng Zhao
a161f6e368
Merge pull request #11527 from electron/fix-buffer-crash-master
...
master: Fix crash when using crypto module
2017-12-27 21:45:32 +09:00
Cheng Zhao
e45a125f65
Update node: Fix crash when doing crypto operation
2017-12-27 20:37:04 +09:00
Cheng Zhao
75ac7d9ff2
spec: Add test for crypto operation
2017-12-27 20:37:04 +09:00
Charles Kerr
0cafc3cf52
Merge pull request #11511 from HayateLaTech/patch-1
...
Update browser-window.md
2017-12-22 09:05:38 -06:00
Cheng Zhao
fe16e24406
Merge pull request #11510 from electron/gin-use-node-platform
...
Use Node's V8Platform instead of gin's
2017-12-22 23:40:19 +09:00
HayateLaTech
f2e32791b1
Update browser-window.md
2017-12-22 15:13:12 +01:00
Cheng Zhao
c0c2461245
Do not create duplicate V8Platform in NodeDebugger
2017-12-22 20:29:09 +09:00
Cheng Zhao
00afeaba9a
Use Node's V8Platform instead of gin's
2017-12-22 20:29:08 +09:00
Charles Kerr
a0ebde0181
Merge pull request #11504 from kylecorry31/master
...
Add Support for Pop!_OS GNOME Session
2017-12-21 22:57:54 -06:00
Kyle Corry
5aac091f40
Add Support for Pop!_OS GNOME Session
...
Similar to this PR: https://github.com/electron/electron/pull/10355 , Pop!_OS suffers from the same problem. Using Ubuntu AppIndicator will not show the icon currently unless the XDG_CURRENT_DESKTOP variable is modified. This commit will add support for pop so that this workaround is not needed.
Ref: https://github.com/pop-os/pop/issues/84
2017-12-21 14:16:15 -05:00
Cheng Zhao
65871cd567
Merge pull request #11238 from electron/spellchecker_iframe_patch
...
fix: manually set spellchecker for sub frames
2017-12-21 17:00:01 +09:00
Cheng Zhao
06e1fb923b
Merge pull request #11495 from electron/libcc-latency-histogram-macros-patch
...
win: Correctly close popup menu
2017-12-21 16:59:47 +09:00
Cheng Zhao
7a8864063b
mac: Handle the case when closing all menu runners
2017-12-21 15:57:27 +09:00
Cheng Zhao
088042841d
win: Correctly close popup menu
2017-12-21 15:26:32 +09:00
Cheng Zhao
459db92052
Merge pull request #11493 from electron/libcc-latency-histogram-macros-patch
...
Update libcc for latency_histogram_macros.patch
2017-12-21 11:52:53 +09:00
Cheng Zhao
05bd5f456a
Update libcc for latency_histogram_macros.patch
2017-12-21 11:20:03 +09:00
Charles Kerr
d3eeb84208
Merge pull request #11466 from electron/cppcheck-diff-mode
...
add changed-files-only mode to cpplint
2017-12-20 10:55:49 -06:00
John Kleinschmidt
06481b5630
Add testing for arm, arm64 and ia32 linux builds
2017-12-20 11:54:52 -05:00
Cheng Zhao
a6228b97cd
Merge pull request #11264 from brenca/flash-menu-fix
...
Fix flash context menu
2017-12-20 19:37:44 +09:00
Cheng Zhao
e4770c7604
Coding style fixes
2017-12-20 18:48:09 +09:00
deepak1556
83d2917363
fix: manually set spellchecker for sub frames
2017-12-20 12:48:02 +05:30
Heilig Benedek
5bf16c2495
remove async:true from menu tests
2017-12-20 15:41:12 +09:00
Heilig Benedek
ef7357dedc
update tests for menu closed event and call cancel on closePopup
2017-12-20 15:40:07 +09:00
Heilig Benedek
14b65467d8
add test for menu closed event
2017-12-20 15:40:07 +09:00
Heilig Benedek
bcef6eb3df
document menu closed event and fix styling issue
2017-12-20 15:40:07 +09:00
Heilig Benedek
c586806609
fix flash menu being unresponsive to commands
2017-12-20 15:40:07 +09:00
Cheng Zhao
85ef42d99e
Merge pull request #11233 from brenca/devtools-fix
...
Small devtools fixes
2017-12-20 15:35:09 +09:00
Cheng Zhao
0d9ff95526
Revert "dont change window background after devtools is closed"
...
This reverts commit fdcac8552f .
We are looking for a better fix.
2017-12-20 15:18:26 +09:00
Heilig Benedek
fdcac8552f
dont change window background after devtools is closed
2017-12-20 12:57:02 +09:00
Heilig Benedek
d5ab691fdb
fix osr devtools crash introduced during merge
2017-12-20 12:57:02 +09:00
Cheng Zhao
5a9221e1dc
Merge pull request #11092 from electron/provide-scheme-with-open-external-request
...
Give user access to the URL that is attempting to be openExternal'ed
2017-12-20 12:56:00 +09:00
Ted Eiles
5ccfac81ed
Reviewed getBlobData source, not return value (void)
2017-12-19 22:21:45 -05:00
Cheng Zhao
b2e6340622
Reduce the number of helpers
2017-12-20 10:49:49 +09:00
Cheng Zhao
4fd8b04329
Better field names for details object
2017-12-20 10:25:31 +09:00
Samuel Attard
4d7b85bd01
Appease the linter
2017-12-20 10:21:38 +09:00
Samuel Attard
98e9311669
Give user access to the URL that is attempting to be openExternal'ed
2017-12-20 10:21:38 +09:00
Cheng Zhao
39ec40b901
Merge pull request #11470 from electron/update-node-upgrade-doc
...
Update branching steps in upgrading-node.md
2017-12-20 10:08:09 +09:00
Ted Eiles
19f2d42c07
change getBlobData return type from Blob to Buffer, fixes doc and typescript def
2017-12-19 19:52:59 -05:00
Charles Kerr
d36e451301
make IGNORE_FILES more readable
2017-12-19 18:37:02 -06:00
Charles Kerr
0521302940
add atom/node/osfhandle.cc to the do-not-lint list
2017-12-19 17:41:34 -06:00
Charles Kerr
4f533dded3
Revert "fix previously-hidden cppcheck warnings in osfcheck.cc"
...
This reverts commit 8373e1bf41 .
2017-12-19 17:39:03 -06:00
Charles Kerr
2f88e69ed4
fix inconsistent indentation
2017-12-19 16:23:27 -06:00
Charles Kerr
8373e1bf41
fix previously-hidden cppcheck warnings in osfcheck.cc
2017-12-19 16:09:53 -06:00
Charles Kerr
58edfc26ed
flake8 --ignore=E111,E121 script/cpplint.py
2017-12-19 16:02:36 -06:00
Charles Kerr
30f8660a20
walk all files in atom/ and brightray/
2017-12-19 15:57:03 -06:00
Charles Kerr
cab1b81026
give find_files() a filename tester function arg
2017-12-19 15:50:09 -06:00
Charles Kerr
f5f6d99cd7
make file list function names clearer
...
since they return sets rather than lists, don't use 'list' in the name
2017-12-19 15:40:11 -06:00
Charles Kerr
589c6a5b7e
remove unnecessary ignore variable
2017-12-19 15:38:23 -06:00
Charles Kerr
512fb670b4
remove unnecessary changed_files variable
2017-12-19 15:37:41 -06:00
Charles Kerr
b6c16a520a
only call cppcheck once
2017-12-19 15:07:11 -06:00
Charles Kerr
6f4e97c53a
(copyediting) renumber steps
2017-12-19 09:09:35 -06:00
Charles Kerr
781311aa3c
Merge pull request #11431 from electron/notifications-debugging
...
infra: Allow notifications debugging
2017-12-19 09:06:12 -06:00
Cheng Zhao
c15e2e4d92
Merge pull request #10912 from Ajeey/patch-1
...
Updated auto-updater.md
2017-12-19 16:22:25 +09:00
Cheng Zhao
5d86da48c7
The missing :
2017-12-19 15:44:58 +09:00
Cheng Zhao
4dee778212
Clearer wording
2017-12-19 15:39:57 +09:00
Ajey Charantimath
8953042ee3
Updated auto-updater.md
...
Missing documentation on the issue https://github.com/electron/electron/issues/10903
2017-12-19 15:33:13 +09:00
Cheng Zhao
90582dfa4f
Merge pull request #11154 from electron/update-release-doc
...
Update release process for API invoked release builds
2017-12-19 15:30:51 +09:00
Cheng Zhao
81527b71ba
Merge pull request #11279 from sethlu/openrecent
...
Update submenu's title at replacement
2017-12-19 15:28:02 +09:00
Cheng Zhao
a02cb8009e
Merge pull request #11131 from hugomano/feature/isolated-world
...
Add Isolated World API
2017-12-19 11:03:28 +09:00
Cheng Zhao
b27e42f3f7
Fix indentions
2017-12-19 10:42:36 +09:00
Hugo Mano
ae7b96991c
Add webFrame.setIsolatedWorldSecurityOrigin
...
Move vector to cc file
Map executed javascript in isolated world to url
Some 💅
Documentation
Use WebSource[] as argument in executeJavaScriptInIsolatedWorld
Refactor and lint with @poiru’s comments
Remove duplicate call
Typo
Lint
2017-12-19 10:36:03 +09:00
Hugo Mano
389edb6229
Add webFrame.setIsolatedWorldHumanReadableName
2017-12-19 10:36:03 +09:00
Hugo Mano
f74f113d23
Add webFrame.setIsolatedWorldContentSecurityPolicy
2017-12-19 10:36:03 +09:00
Alexandre Lachèze
936d8c1117
Add webframe. executeJavaScriptInIsolatedWorld
...
Attempt runInIsolatedWorldContext
Replace RunInIsolatedWorldContext by GetIsolatedWorldGlobalObject
Fix linting
Remove useless getIsolatedWorldGlobalObject
Add support for scriptExecutionType
2017-12-19 10:36:03 +09:00
Cheng Zhao
a38fb5df41
Merge pull request #18 from electron/upgrade-to-chromium-63
...
virtual members need a virtual destructor
2017-12-19 10:25:22 +09:00
Charles Kerr
f01cbf0482
Merge pull request #11467 from electron/leo-patch-1
...
Clarify Hazel's purpose
2017-12-18 16:17:14 -06:00
Leo Lamprecht
55db062242
Clarify Hazel's purpose
2017-12-18 21:18:11 +01:00
Charles Kerr
6198bbe963
add changed-only mode to cpplint
2017-12-18 10:22:51 -06:00
timmyhadwen
a6bab71215
Fixed BT bug
2017-12-18 20:46:06 +10:00
Samuel Attard
66c0d6620b
virtual members need a virtual destructor
2017-12-18 14:55:27 +11:00
Cheng Zhao
29b03fc242
Merge pull request #17 from sethlu/remove-getwrapper-dcheck
...
Remove WrappableBase::GetWrapper() DCHECK
2017-12-18 09:22:13 +09:00
Giacomo Furlan
b8231b74f2
refs #11353 : pylint
2017-12-16 13:11:04 +01:00
Giacomo Furlan
789dbb2dbb
Adds --chromium_dir argument to script/create-dist.py
2017-12-16 13:11:04 +01:00
TheDancingCode
605f5472e5
📝 Fix mixed content warning [ci skip] ( #11448 )
2017-12-15 16:06:38 -05:00
joeydlee95
ac2caef37f
test for relative links adheres to npm run lint
2017-12-13 19:06:16 -08:00
Felix Rieseberg
75cdd9ec70
🔧 Linter's gotta lint
2017-12-13 16:31:02 -08:00
Felix Rieseberg
8a8aaaf16c
🔧 Allow notifications debugging (Windows)
2017-12-13 16:25:49 -08:00
Felix Rieseberg
76d9756fb9
🔧 Use LOG instead of NSLOG
2017-12-13 14:47:23 -08:00
joeydlee95
a4db8e1c55
Add executable test to package.json
2017-12-13 14:39:13 -08:00
Charles Kerr
a8b76e1a80
Merge pull request #11418 from electron/add-reg-defaults
...
[WIP] add back systemPreferences.registerDefaults()
2017-12-13 15:48:20 -06:00
shelley vohr
5a35a5a2b3
Upgrade Node to v8.9.3 ( #11422 )
...
* update submodule referefences for node
* update libcc and node refs
* update for cherry-picked a15d0ce
* update libcc ref to master
2017-12-13 16:32:00 -05:00
Zhuo Lu
e0b77db46f
Remove WrappableBase::GetWrapper() DCHECK
2017-12-13 13:26:51 -08:00
Shelley Vohr
26ad37c4d1
remove key and value bullts
2017-12-13 16:02:15 -05:00
Shelley Vohr
3fc844c15a
add loop to catch null values
2017-12-13 14:02:43 -05:00
Felix Rieseberg
61ec8df418
🔧 More detailed macOS notification logging
2017-12-13 10:31:59 -08:00
Charles Kerr
0ad99444af
Merge pull request #11426 from mikoto2000/patch-1
...
Fix 'electron-versioning' link in README.md
2017-12-13 09:21:41 -06:00
mikoto2000
ef7c5c8e9c
Fix 'electron-versioning' link in README.md
2017-12-13 22:18:00 +09:00
Shelley Vohr
d602a30bbc
update a few steps in upgrading-node.md
2017-12-12 22:55:37 -05:00
Charles Kerr
057f08a1f8
Merge pull request #11421 from lurch/patch-1
...
Fix typos
2017-12-12 21:36:35 -06:00
Andrew Scheller
debe77a910
Fix typos
2017-12-13 03:13:41 +00:00
Charles Kerr
5b6b5fe835
Merge pull request #11419 from electron/menu-bugs-take-two
...
fix: Menu bugs (take two)
2017-12-12 20:56:41 -06:00
joeydlee95
996c914912
✅ Add test to check for relative links in docs directory
2017-12-12 18:53:13 -08:00
Felix Rieseberg
ffd85bfaac
🔧 Allow notifications debugging (macOS)
2017-12-12 16:09:34 -08:00
Felix Rieseberg
317422f431
👷 Close popup in aftereach
2017-12-12 12:23:02 -08:00
Felix Rieseberg
8166a64f98
🔧 Last round of feedback
2017-12-12 11:25:01 -08:00
Felix Rieseberg
c4ec8b4545
🔧 Feedback
2017-12-12 11:25:01 -08:00
Felix Rieseberg
76df41b5d0
👷 Properly test x vs y
2017-12-12 11:25:01 -08:00
Felix Rieseberg
ace558f54a
👷 Hence, better testing
2017-12-12 11:25:01 -08:00
Felix Rieseberg
5b7f7c8a1a
🔧 Menu returns its properties now
2017-12-12 11:25:01 -08:00
Felix Rieseberg
ffc54967e9
🔧 Fix value shift
2017-12-12 11:25:01 -08:00
Felix Rieseberg
5a658fa5f6
👷 Add a spec
2017-12-12 11:25:01 -08:00
Felix Rieseberg
99031834ff
🔧 Cleanup
2017-12-12 11:25:01 -08:00
Felix Rieseberg
3719ee0b53
🔧 Allow for menu.popup({})
2017-12-12 11:25:01 -08:00
Felix Rieseberg
9e660b1d32
🔧 Always find a window (or error)
2017-12-12 11:25:01 -08:00
Felix Rieseberg
4f901c6d24
🔧 Oh wow, that looks wrong
2017-12-12 11:25:01 -08:00
Shelley Vohr
6252ce466c
remove failing badDefault
2017-12-12 13:39:38 -05:00
Shelley Vohr
8b447b9291
fixing error in registerDefaults
2017-12-12 13:08:09 -05:00
Charles Kerr
5720a8e7d5
Merge pull request #11415 from electron/revert-11385-async-menu
...
Revert "fix: Fix `menu.popup()` bugs"
2017-12-12 08:56:12 -06:00
Charles Kerr
da4af4c90b
Merge pull request #11414 from electron/revert-11395-add-reg-defaults
...
Revert "Add systemPreferences.registerDefaults()"
2017-12-12 08:46:47 -06:00
Alexey Kuzmin
1c8eb03574
Revert "fix: Fix menu.popup() bugs"
2017-12-12 13:59:34 +03:00
Alexey Kuzmin
1caa04c0bf
Revert "Add systemPreferences.registerDefaults()"
2017-12-12 13:59:15 +03:00
Cheng Zhao
19f1fef040
Merge pull request #11283 from electron/fix-event-subscriber-race
...
Fix race condition in event_subscriber.h
2017-12-12 10:49:17 +09:00
Charles Kerr
e73fe100d5
Merge pull request #11385 from electron/async-menu
...
fix: Fix `menu.popup()` bugs
2017-12-11 18:02:33 -06:00
Charles Kerr
76ee1e1cb6
Merge pull request #11406 from xxczaki/master
...
Added Polish Electron Community
2017-12-11 17:48:33 -06:00
Charles Kerr
99c980ab40
Merge pull request #11395 from electron/add-reg-defaults
...
Add systemPreferences.registerDefaults()
2017-12-11 17:45:32 -06:00
Shelley Vohr
a8e67e7f61
fixes from review
2017-12-11 18:20:12 -05:00
Felix Rieseberg
927c63b477
🔧 Last round of feedback
2017-12-11 15:19:33 -08:00
Felix Rieseberg
89b90be6a2
🔧 Feedback
2017-12-11 14:43:35 -08:00
Charles Kerr
dcf2a6f388
Make 'https' explicit in the link to electronpl.github.io
2017-12-11 16:37:14 -06:00
Felix Rieseberg
f7ebfff8ae
👷 Properly test x vs y
2017-12-11 14:05:07 -08:00
Felix Rieseberg
dfd7598d48
👷 Hence, better testing
2017-12-11 14:03:04 -08:00
Felix Rieseberg
22e9d665d2
🔧 Menu returns its properties now
2017-12-11 14:03:01 -08:00
Felix Rieseberg
93b46116f4
🔧 Fix value shift
2017-12-11 13:30:35 -08:00
Anthony
c8bb23a2ff
Update README.md
2017-12-11 20:52:56 +01:00
Shelley Vohr
027e78639a
update value type to Any
2017-12-11 14:06:02 -05:00
Shelley Vohr
84bab48627
improve error handling
2017-12-11 13:11:03 -05:00
Shelley Vohr
765f223fef
update docs and spec
2017-12-11 13:06:23 -05:00
Charles Kerr
87f8bd4ea7
Merge pull request #11359 from electron/fix_spell_checker_crash
...
Fixed crash in `atom::api::SpellCheckClient`
2017-12-11 10:18:27 -06:00
Shelley Vohr
c5aeda1fdd
fixes from code review
2017-12-11 00:20:26 -05:00
Shelley Vohr
5e51ab9791
fix doc parsing error
2017-12-10 14:55:14 -05:00
Shelley Vohr
9a40bbd082
update systemPreferences docs
2017-12-10 14:46:19 -05:00
Shelley Vohr
8a24733ee6
add fail spec and only run mac ci
2017-12-10 12:52:03 -05:00
Shelley Vohr
becabdfff2
add test for registerDefaults
2017-12-10 11:26:07 -05:00
Shelley Vohr
18ee34f1a1
add method binding and error guards
2017-12-10 11:25:43 -05:00
Shelley Vohr
1ccad4a7e9
fix capitalization and clean logic
2017-12-10 11:04:05 -05:00
Shelley Vohr
f82086e6d3
first pass at adding infra for registerDefaults
2017-12-10 00:45:49 -05:00
Felix Rieseberg
725f6c97d6
👷 Add a spec
2017-12-08 14:52:21 -08:00
Felix Rieseberg
abd56eda6f
🔧 Cleanup
2017-12-08 14:40:51 -08:00
Felix Rieseberg
955564abd7
🔧 Allow for menu.popup({})
2017-12-08 14:37:16 -08:00
Felix Rieseberg
bd6767fac6
🔧 Always find a window (or error)
2017-12-08 14:36:52 -08:00
Felix Rieseberg
38bb9baac5
🔧 Oh wow, that looks wrong
2017-12-08 14:36:29 -08:00
Charles Kerr
6af18895c3
Merge pull request #11380 from electron/cifratila/enable-cfg
...
Security Improvement: Enable Control Flow Guard compile flag on Windows
2017-12-08 10:09:34 -06:00
Charles Kerr
de1edeea0b
Merge pull request #11379 from TiagoDanin-Forks/upgrading_chromium_doc
...
Fix formatting in documentation
2017-12-08 10:08:44 -06:00
TiagoDanin
079310ab5a
fix formatting in upgrading node doc
2017-12-08 11:49:39 -03:00
TiagoDanin
9314d8925e
fix formatting in upgrading chromium doc
2017-12-08 11:24:05 -03:00
Catalin Fratila
7faec8e5eb
Security Improvement: Enable Control Flow Guard on Windows - https://docs.microsoft.com/en-us/cpp/build/reference/guard-enable-control-flow-guard
2017-12-08 14:31:29 +01:00
John Kleinschmidt
6a29577ab3
Merge pull request #11356 from electron/replace-app-icon
...
Replace app icons
2017-12-07 16:53:45 -05:00
simurai
0f54e56389
Replace default_app icon
2017-12-07 16:10:45 -05:00
simurai
fe0f203312
Replace app icons
2017-12-07 16:10:45 -05:00
John Kleinschmidt
f10c279322
Merge pull request #11370 from electron/fix_dchecks
...
Fix: Re-enable some dchecks
2017-12-07 15:55:33 -05:00
shelley vohr
63c91e7dd3
Merge pull request #11321 from electron/add-setExtraParameter-deprecation
...
Add back setExtraParameter() deprecation warning
2017-12-07 14:49:18 -05:00
Shelley Vohr
276f758560
remove deprecated method call
2017-12-07 14:26:57 -05:00
Shelley Vohr
24f60dcd1b
re-add warning removed in https://github.com/electron/electron/pull/11013
2017-12-07 11:42:18 -05:00
deepak1556
16d96a6ef2
Force MediaCaptureDevicesDispatcher to be created on UI thread
2017-12-07 09:47:32 +05:30
deepak1556
19de41b764
BrowserClient::CanCreateWindow is no longer called on the IO thread
...
https://codereview.chromium.org/2821473002
2017-12-07 09:47:32 +05:30
Charles Kerr
5fa29fcf58
Merge pull request #11329 from electron/remove-classes-key
...
fix: Properly cleanup in `removeAsDefaultProtocolClient`
2017-12-06 17:31:50 -06:00
Zeke Sikelianos
69c6a68c22
Merge pull request #11367 from electron/revert-to-old-name-of-versioning-doc
...
revert to old name of versioning doc
2017-12-06 15:05:01 -08:00
Zeke Sikelianos
61937eac0a
fix more relative links
2017-12-06 15:01:09 -08:00
Zeke Sikelianos
fa09ff3cbb
update links to versioning doc
2017-12-06 15:01:09 -08:00
Zeke Sikelianos
84c207750c
revert to old name of versioning doc
2017-12-06 15:01:09 -08:00
Zeke Sikelianos
af756e2441
Merge pull request #11364 from electron/groundwater-patch-1
...
docs: README make versioning link relative
2017-12-06 15:00:42 -08:00
Jacob Groundwater
8efeb4b71a
Update README.md
2017-12-06 14:32:11 -08:00
John Kleinschmidt
78fd6d6435
Merge pull request #11365 from electron/remove-appveyor-yml
...
Remove appveyor.yml
2017-12-06 16:26:32 -05:00
John Kleinschmidt
4e3e9c9dbc
Remove appveyor.yml
...
This configuration isn't used anymore - appveyor setup is defined on server
2017-12-06 15:14:09 -05:00
Jacob Groundwater
d8368d36db
docs: README make versioning link relative
...
I think we're making links relative within the docs, and not directly pointing to the electronjs.org website.
2017-12-06 11:15:10 -08:00
Ales Pergl
7a73b1d523
Fixed crash in atom::api::SpellCheckClient
...
The class didn't save the V8 context for the spell checking JS function. When
it later tried to call the JS function and there was no active context, V8
crashed.
I also optimized the spell checking loop by introducing `SpellCheckScope` and
reusing the V8 handles throughout the whole loop.
2017-12-06 14:50:20 +01:00
Cheng Zhao
4355f554cc
Merge pull request #11355 from electron/fix-ci
...
Fix docs linting error
2017-12-06 19:31:03 +09:00
Cheng Zhao
da66e34dce
Fix docs linting error
2017-12-06 19:09:10 +09:00
Cheng Zhao
d8610a3f56
Merge pull request #11342 from electron/add-python-dbusmock
...
Enable testing with python-dbusmock
2017-12-06 15:02:27 +09:00
Cheng Zhao
46f79146ad
Merge pull request #11316 from electron/hide-update-exe
...
fix: Ensure that update.exe doesn't open up a console window
2017-12-06 14:50:12 +09:00
Cheng Zhao
9c109daa4b
Merge pull request #11168 from sethlu/fix-icns-color
...
fix: Update icns
2017-12-06 14:45:36 +09:00
Felix Rieseberg
bd4c7a114a
👷 Fix the last broken test
2017-12-05 17:07:22 -08:00
Zeke Sikelianos
1e0a181f4b
Merge pull request #11032 from electron/version2
...
New Version Policy for 2.x and Beyond
2017-12-05 14:45:50 -08:00
Zeke Sikelianos
032f5ebc6f
update highlights
2017-12-05 14:35:16 -08:00
Zeke Sikelianos
4878cd8d5d
update intro
2017-12-05 14:32:33 -08:00
Zeke Sikelianos
4101059323
update semantic commits section
2017-12-05 14:31:19 -08:00
Zeke Sikelianos
770778f9a2
update ignore comment
2017-12-05 14:17:15 -08:00
Jacob Groundwater
85b1cd08d3
docs: use relative links
2017-12-05 14:13:56 -08:00
Felix Rieseberg
bf043c92af
👷 Ugh, whitespace
2017-12-05 13:20:34 -08:00
Felix Rieseberg
e6cbb2f3aa
👷 Cleanup on Windows only
2017-12-05 12:14:19 -08:00
Jacob Groundwater
8eed8bdee7
docs: fix images
2017-12-05 12:08:41 -08:00
Jacob Groundwater
7598e31b16
docs: we _do_ follow semver
2017-12-05 12:04:23 -08:00
John Kleinschmidt
e59aa715fd
Enable testing with python-dbusmock
2017-12-05 15:01:01 -05:00
Jacob Groundwater
1bce00545d
docs: changes based on review
2017-12-05 11:43:59 -08:00
Jacob Groundwater
07a5d7957b
use non-relative image paths to interop with website deploy
2017-12-05 11:38:41 -08:00
Jacob Groundwater
b65b939d18
docs: add tl;dr to version doc
2017-12-05 11:38:41 -08:00
Jacob Groundwater
06371a6082
docs: explain versioning policy 1.x, 2.x, and beyond
2017-12-05 11:38:36 -08:00
Felix Rieseberg
d519bfc5fb
👷 Linter fascism
2017-12-05 11:38:19 -08:00
Felix Rieseberg
997f3f31d2
👷 Cleanup after the test
2017-12-05 11:31:40 -08:00
Felix Rieseberg
e77751aab5
👷 Test registry interaction
2017-12-05 11:28:39 -08:00
Felix Rieseberg
60634cac42
📦 Install winreg
2017-12-05 11:28:19 -08:00
Charles Kerr
f2da3e9a14
Merge pull request #11306 from electron/implement-linux-power-monitor
...
Implement powerMonitor "suspend"/"resume" events for Linux.
2017-12-05 09:16:59 -06:00
Charles Kerr
f0d9b93ede
note that 'publish-to-npm' needs node 6
2017-12-05 09:10:26 -06:00
Charles Kerr
f398b5d843
add a tip for testing version number with 'bump-version.py --dry-run'
2017-12-05 08:51:37 -06:00
Charles Kerr
b8259a82c1
note that 'npm run release -- --validateRelease' must be run in release branch
2017-12-05 08:38:16 -06:00
Thiago de Arruda
dfd98e3428
Add linux powerMonitor tests using python-dbusmock
2017-12-05 08:33:36 -03:00
Thiago de Arruda
897712359f
Implement powerMonitor "suspend"/"resume" events for Linux.
2017-12-05 08:12:44 -03:00
Cheng Zhao
95cb601f2b
Merge pull request #10430 from electron/global-preloads
...
Add ability to set per-session preload scripts
2017-12-05 19:15:11 +09:00
Cheng Zhao
24b3ee3a4a
Revert some unnecessary changes
2017-12-05 16:50:25 +09:00
Cheng Zhao
cb3a9c69ab
Add a SessionPreferences to manage session related data
...
By design the BrowserClient should not be aware of the api:: classes.
2017-12-05 15:59:15 +09:00
Charles Kerr
7bcea57241
fix tyop
2017-12-04 21:09:12 -06:00
Cheng Zhao
776e8afa2b
Coding style changes
2017-12-05 11:50:06 +09:00
Samuel Attard
eaa4b71c24
Remove .only
2017-12-05 11:35:54 +09:00
Samuel Attard
009459bd38
Standard JS
2017-12-05 11:35:54 +09:00
Samuel Attard
e535ba4808
Don't know why we suddenly need this, but hey :/
2017-12-05 11:35:54 +09:00
Samuel Attard
d1aded2831
Appease the almighty linter
2017-12-05 11:35:53 +09:00
Samuel Attard
d9359d8b6c
s/global/session in constants
2017-12-05 11:35:53 +09:00
Samuel Attard
d2707315e6
s/global/session
2017-12-05 11:35:53 +09:00
Samuel Attard
3b80ee0655
Move global preload implementation to be session based
2017-12-05 11:35:53 +09:00
Samuel Attard
448ccc261d
Use const references
2017-12-05 11:35:27 +09:00
Samuel Attard
0ddd078aaf
Add ability to set global preload scripts
2017-12-05 11:35:27 +09:00
Charles Kerr
3cd6c2e9eb
explain using the Electron S3 Bucket environment variables
2017-12-04 20:34:34 -06:00
Charles Kerr
455a61d210
in the npm upload step, explain the needed npm credentials
2017-12-04 20:32:24 -06:00
Charles Kerr
83e94f3de1
fix invocation of validateRelease pass
2017-12-04 20:19:43 -06:00
Cheng Zhao
d598aa1a67
Merge pull request #11300 from electron/external-devtools
...
Add API to set arbitrary WebContents as devtools
2017-12-05 10:35:49 +09:00
John Kleinschmidt
bdcdb6e9cf
Merge pull request #11330 from electron/add-jenkins-timeout
...
Add 1 hour timeout to Jenkins CI
2017-12-04 14:49:32 -05:00
Felix Rieseberg
d4275b144b
🔧 Linter fascism
2017-12-04 10:46:53 -08:00
Felix Rieseberg
f62e0a4ed4
🔧 Make it actually work
2017-12-04 10:30:20 -08:00
John Kleinschmidt
e7edc6f24f
Add 1 hour timeout
2017-12-04 13:19:51 -05:00
Charles Kerr
3e056eec9e
Merge pull request #11297 from electron/remove-travis
...
Remove Travis references
2017-12-04 10:56:53 -06:00
Charles Kerr
ffdd6ab821
add a troubleshooting note about branch checkout
2017-12-04 10:26:35 -06:00
Charles Kerr
60fe728c0f
add section on environment variables
2017-12-04 10:13:22 -06:00
John Kleinschmidt
1989075d54
Ignore all npmrc and package-lock
2017-12-04 11:05:04 -05:00
Charles Kerr
b209620514
trim whitespace
2017-12-04 09:51:12 -06:00
Charles Kerr
e5f4916e31
fix numbering of 'Edit the release draft' steps
2017-12-04 09:50:24 -06:00
Charles Kerr
5212b98c87
wrap lines at 80 characters
2017-12-04 09:48:06 -06:00
John Kleinschmidt
e989005122
Merge pull request #11271 from electron/dchecks
...
Build with dchecks disabled on subset of targets
2017-12-04 10:33:47 -05:00
Cheng Zhao
52c6f4bcc5
docs: responsiblity of destroying devtoolsWebContents
2017-12-04 18:42:42 +09:00
Charles Kerr
6beaafc7e5
Merge pull request #11282 from Toinane/fix-documentation
...
typographical revision in Documentation
2017-12-03 09:01:24 -06:00
Charles Kerr
851642f4b8
Merge pull request #11311 from electron/fix-typos-in-structures
...
fix typos in structures
2017-12-03 08:34:08 -06:00
Charles Kerr
2ffcb27abe
Merge pull request #11315 from insideGen/patch-1
...
Update cookies.md
2017-12-02 08:27:42 -06:00
Charles Kerr
467cce6a8b
Merge pull request #11317 from electron/asar-video
...
Make the asar-video test run faster
2017-12-02 08:26:12 -06:00
Ales Pergl
ecdbe79e29
Make the asar-video test run faster
...
I cut the video to 3 seconds and removed the audio track, which makes the test
finish a lot sooner. Also the asar file is 160 kB instead of 1 MB.
2017-12-02 11:30:57 +01:00
Ales Pergl
4cf6763e70
Updated libchromiumcontent submodule
2017-12-02 11:09:20 +01:00
Felix Rieseberg
b4b729609a
🔪 Delete classes key if empty
2017-12-01 17:39:54 -08:00
Felix Rieseberg
9646f0c99a
🔧 Sprinkle some ES6 across the file
2017-12-01 17:18:57 -08:00
Felix Rieseberg
c5abe96b39
🔧 Hide subprocess window
2017-12-01 17:18:37 -08:00
Zeke Sikelianos
7c8acb5ea8
Merge pull request #11314 from electron/docs--use-full-image-URL
...
use full image URL
2017-12-01 17:03:16 -08:00
Jonathan
f32f0fb774
Update cookies.md
2017-12-02 01:27:53 +01:00
Zeke Sikelianos
ba56e5ca65
docs: use full image URL
2017-12-01 15:20:49 -08:00
Charles Kerr
ff6596fd05
Merge pull request #11312 from electron/ipc-spec-split
...
Split ipc specs into three files
2017-12-01 16:03:51 -06:00
Shelley Vohr
45de1e6a7c
remove extraneous variables
2017-12-01 16:11:54 -05:00
Shelley Vohr
af6489576a
remove onlys
2017-12-01 16:01:03 -05:00
Shelley Vohr
00e8713eac
split ipc tests into three files
2017-12-01 15:57:41 -05:00
Zeke Sikelianos
7dd921811f
fix typos in structures
2017-12-01 11:43:04 -08:00
John Kleinschmidt
d182bacd00
Ignore/remove package-lock files
2017-12-01 12:55:55 -05:00
Ales Pergl
dadfbd3a4f
Reset embedder_zoom_controller_ before assigning new one
2017-12-01 17:55:22 +01:00
Ales Pergl
fd7af5c1d9
Don't call ui::SetAtomArrayProperty with an empty vector (fails DCHECK)
2017-12-01 17:55:22 +01:00
Ales Pergl
7613afe6d7
Disabled DCHECKs that fail when running tests
2017-12-01 17:55:22 +01:00
Ales Pergl
8357a33d81
Don't leak the taskbar object, reuse it instead
2017-12-01 17:55:21 +01:00
deepak1556
903a5b5100
fix dcheck comparison between unsigned long vs int
2017-12-01 17:55:21 +01:00
John Kleinschmidt
db51dcbe7e
Merge pull request #11301 from wlbentley/patch-1
...
🎨 Tweak for grammar.
2017-12-01 11:48:46 -05:00
John Kleinschmidt
3ab69f2358
Merge pull request #11186 from electron/update-linter-and-ts
...
update electron-docs-linter and electron-typescript-definitions
2017-12-01 11:47:29 -05:00
Cheng Zhao
c2ee0854f4
Merge pull request #11302 from electron/update_pdf_viewer
...
fix: update pdf viewer ui for chrome 61.0.3163.100
2017-12-01 19:57:25 +09:00
deepak1556
a48cec9b4a
fix: update pdf viewer ui for chrome 61.0.3163.100
2017-12-01 14:09:06 +05:30
W L Bentley
6d779c6ec2
Two grammar tweaks.
2017-11-30 19:37:06 -08:00
Cheng Zhao
88c4fd3f2b
docs: Remove unnecessary shows
2017-12-01 12:04:50 +09:00
Cheng Zhao
6b408de884
Allow using docked devtools for webview
2017-12-01 11:56:58 +09:00
Cheng Zhao
ea9771702b
spec: setDevToolsWebContents
2017-12-01 10:35:23 +09:00
Cheng Zhao
25c5938c76
docs: Open detached devtools in example
2017-12-01 10:35:23 +09:00
Cheng Zhao
580abedbb7
docs: contents.setDevToolsWebContents
2017-12-01 10:35:23 +09:00
Cheng Zhao
59476f0b30
Create webContents for webview even when src is not set
2017-12-01 10:35:23 +09:00
Cheng Zhao
5e4914700e
Enable using external WebContents as devtools
2017-12-01 10:35:23 +09:00
John Kleinschmidt
0ef8f58090
Remove Travis references
2017-11-30 15:39:32 -05:00
Zeke Sikelianos
aab35073ee
Merge pull request #11255 from electron/fix-11245
...
Enable nativeImage module addRepresentation() tests
2017-11-30 10:48:11 -08:00
Zeke Sikelianos
c1728720a7
Merge pull request #11256 from electron/fix-11244
...
Enable "<webview> tag found-in-page event emits when a request is made"
2017-11-30 10:48:00 -08:00
shelley vohr
2bc8b33c2a
Merge pull request #11291 from electron/fix-failing-spec
...
spec: Fix the failing coffee-script test
2017-11-30 13:43:58 -05:00
John Kleinschmidt
2d75eea82a
Merge pull request #11254 from electron/fix-11246
...
Enable crashReporter module tests
2017-11-30 12:55:49 -05:00
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
c0c983d28d
Light refactoring of the nativeImage module tests
2017-11-30 17:50:51 +01:00
Cheng Zhao
04872bb001
spec: Fix the failing coffee-script test
...
The latest version has some regression causing our test to fail.
2017-11-30 21:10:22 +09:00
Thiago de Arruda
68bceb9575
Fix race condition in event_subscriber.h
2017-11-29 12:57:47 -03:00
Aleksei Kuzmin
275815002f
Inscrease timeout for crashReporter tests
...
Fixes #11246 .
2017-11-29 12:27:06 +01:00
Toinane
3d4ef66775
add some markdown links
2017-11-29 12:13:45 +01:00
Toinane
0a0d88a5dc
remove all double spaces not needed
2017-11-29 11:58:24 +01:00
Toinane
323ea2b27b
fix(docs): fix all missing dots and add some links
2017-11-29 11:38:35 +01:00
Cheng Zhao
d09e8cc37f
Merge pull request #11108 from oktapodia/feature/add-ansi-color-into-menu-title
...
Feature/add ansi color into menu title
2017-11-29 18:37:52 +09:00
Zhuo Lu
c274312a3a
Update submenu's title
2017-11-28 19:38:07 -08:00
Toinane
59607c9a17
feat(docs): fix 'optional' wording
2017-11-28 18:15:15 +01:00
Cheng Zhao
0dc094fffc
Do not change logic on highlighing
2017-11-28 17:37:58 +09:00
Cheng Zhao
d1ebce0395
Remove unused methods
2017-11-28 17:31:13 +09:00
Cheng Zhao
590578c187
Cache the attributed string
2017-11-28 17:26:09 +09:00
Cheng Zhao
eab3342065
Fix the detection of ANSI code
2017-11-28 16:36:07 +09:00
Cheng Zhao
c9acccaddc
Fix memory leak in ANSCI parsing code
...
We do not have ARC enabled.
2017-11-28 16:36:07 +09:00
Cheng Zhao
4ded79801f
Remove unused code in NSColor+Hex.h
2017-11-28 16:10:24 +09:00
Cheng Zhao
08f30e4ca6
Add license for the vendored files
...
Checked the original files and they were compatible with MIT.
2017-11-28 15:38:42 +09:00
Cheng Zhao
edede7f33f
Fix cpplint warning
2017-11-28 15:36:45 +09:00
Sebastien Bramille
a4905b3c95
Lint
2017-11-28 15:34:13 +09:00
Sebastien Bramille
e8b0897ea1
Fix margin
2017-11-28 15:34:13 +09:00
Sebastien Bramille
71cfb7441c
Update header file
2017-11-28 15:34:13 +09:00
Sebastien Bramille
7a8431086c
Update doc
2017-11-28 15:34:13 +09:00
Sebastien Bramille
9f89bd8d8e
Add isHighlighted method
2017-11-28 15:34:13 +09:00
Sebastien Bramille
6a1cfafbd8
Clean
2017-11-28 15:34:13 +09:00
Sebastien Bramille
85f254316c
Add logic
2017-11-28 15:34:13 +09:00
Sebastien Bramille
d722d20974
Use NSString+ANSI on the Menu title
2017-11-28 15:34:13 +09:00
Sebastien Bramille
1d807c552e
Add NSString+ANSI class
2017-11-28 15:34:13 +09:00
Cheng Zhao
124667c29b
Merge pull request #11227 from emmkimme/Fix_10470_sandbox_preload
...
🐞 #10470 - prevent from loading preload in each iframe context
2017-11-28 15:25:34 +09:00
Cheng Zhao
b161a4f515
Merge pull request #11166 from sethlu/openrecent
...
feat: Recent documents menu item
2017-11-28 10:55:14 +09:00
Cheng Zhao
88fa343387
Merge pull request #16 from brenca/mark-independent-high-only
...
Only use MarkIndependent if high_memory_ flag is set
2017-11-28 10:52:03 +09:00
Charles Kerr
2ad425955b
Merge pull request #11249 from electron/upgrading-chromium-tweaks
...
Apply some of my summit notes to the upgrading-chrome docs.
2017-11-28 00:55:12 +01:00
Charles Kerr
18dc63ce77
fix conflicts
2017-11-27 16:40:10 -06:00
Zeke Sikelianos
2e3550b97f
update electron-docs-linter and electron-typescript-definitions to latest
2017-11-27 12:44:24 -08:00
Charles Kerr
e24cd329d9
Merge pull request #11268 from electron/fix_crash
...
Don't access unique pointer after it was moved from
2017-11-27 19:20:44 +01:00
Ales Pergl
f8b683ca3d
Don't access unique pointer after it was moved from
2017-11-27 17:55:21 +01:00
Charles Kerr
defa42b458
Merge pull request #11257 from electron/fix-11242
...
Remove "async" flag from the `menu.popup()` options
2017-11-27 16:41:56 +01:00
Cheng Zhao
141c4e9a0e
Merge pull request #11241 from electron/update-to-the-latest-libcc
...
Use latest libcc with Chromium 61
2017-11-27 17:49:05 +09:00
Zhuo Lu
104d307a4a
Use base::scoped_nsobject
2017-11-27 17:26:23 +09:00
Zhuo Lu
8fa3e71ce4
Format code
2017-11-27 17:26:22 +09:00
Zhuo Lu
2f73f4f77e
Fix typo
2017-11-27 17:26:22 +09:00
Zhuo Lu
4934685f53
Declare with static
2017-11-27 17:26:22 +09:00
Zhuo Lu
0c4e425872
Do not autorelease global variables
2017-11-27 17:26:22 +09:00
Zhuo Lu
2de7b338ad
Update API docs
2017-11-27 17:26:22 +09:00
Zhuo Lu
dcdc3621ac
Rename roles
2017-11-27 17:26:22 +09:00
Zhuo Lu
1ab4504e94
No need to make visible
2017-11-27 17:26:22 +09:00
Zhuo Lu
cf73fb737f
Small optimization
2017-11-27 17:26:22 +09:00
Zhuo Lu
3e6e327711
Remove redundant menu item
...
Already addressed with role: clearrecent
2017-11-27 17:26:22 +09:00
Zhuo Lu
5d44dbaf54
Redesign recent documents role API
...
- For more flexibility in designing the recent documents menu, now there can be one menu item (known issue: you may specify more but AppKit doens't display more than one) in the submenu list, rather than separating the labels with a tab.
- Also added is the role `clearrecent` that can be given to a menu item that can clear the recent documents.
2017-11-27 17:26:22 +09:00
Zhuo Lu
828d233f2a
Rollback duplicated feature
2017-11-27 17:26:22 +09:00
Zhuo Lu
0b9cea334f
Specify "Clear Menu" through label option
...
Like a bit of a hack right now, conforming to the existing menu item definition
2017-11-27 17:26:22 +09:00
Zhuo Lu
970babbfd7
Document openrecent menu item
2017-11-27 17:26:22 +09:00
Zhuo Lu
8b720c120d
Hide "Open Recent" in xib
2017-11-27 17:26:22 +09:00
Zhuo Lu
4da2eb9366
Introduce openrecent role
...
- Does not yet accept any options except label--"Clear Menu" can't be modified through exposed node API
- If `openrecent` is present across multiple menu items, the last seen will be visible in the main menu due to that it is designed to behave like a singleton
2017-11-27 17:26:22 +09:00
Zhuo Lu
0ba2fa5cba
Use else if
2017-11-27 17:26:22 +09:00
Zhuo Lu
f0bff74995
Add "Open Recent" submenu to default
2017-11-27 17:26:22 +09:00
Cheng Zhao
c0e9dbcc00
Merge pull request #11144 from dittos/mas-login-helper-again
...
Re-land MAS login helper (w/ regression fix)
2017-11-27 17:02:57 +09:00
Cheng Zhao
1c0ea0286e
Merge pull request #11235 from electron/standard-10
...
infra: Upgrade to StandardJS 10
2017-11-27 15:42:52 +09:00
Heilig Benedek
40bd3336a5
only mark handle as independent when it's a high memory user
2017-11-27 00:50:51 +01:00
Charles Kerr
295945b806
copyediting
2017-11-26 08:44:37 +01:00
Charles Kerr
81bc0efc75
fix styleguide errors
2017-11-26 08:38:58 +01:00
Charles Kerr
a75a85449d
sync with master
2017-11-26 08:28:27 +01:00
Charles Kerr
d1ac773e01
Merge pull request #11253 from electron/fix-a-codeblock-in-the-upgrading-node-md
...
Fix a codeblock markup
2017-11-26 08:00:47 +01:00
deepak1556
084292f3ab
fix: focus the webview as a temp workaround
2017-11-25 20:18:01 +05:30
Aleksei Kuzmin
9c5acf6233
Remove "async" flag from the menu.popup() options
...
All menus have become async after the Chromium 61 upgrade.
Fixes #11242 .
2017-11-25 13:31:58 +01:00
Aleksei Kuzmin
3e9f9429d1
Enable "<webview> tag found-in-page event emits when a request is made"
...
Fixes #11244 .
2017-11-25 13:21:26 +01:00
Aleksei Kuzmin
91e4193622
Enable nativeImage module addRepresentation() tests
...
Fixes #11245 .
2017-11-25 12:58:33 +01:00
Zeke Sikelianos
df0c7e2f74
Merge pull request #11250 from electron/docs-lint-fix
...
🔧 fix remark code flag error
2017-11-24 21:05:26 -08:00
Aleksei Kuzmin
ce6af85f98
Fix a codeblock markup
2017-11-25 00:56:07 +01:00
Aleksei Kuzmin
d9d2a8176e
Use latest libcc with Chromium 61
2017-11-24 23:43:32 +01:00
Shelley Vohr
d9c7b95141
fix remark code flag error
2017-11-24 21:40:19 +01:00
Charles Kerr
22c15082a3
partial doc update from my sprint notes
2017-11-24 14:21:41 +01:00
shelley vohr
6941f93627
Merge pull request #11247 from electron/use_sh_in_docs
...
prefer `sh` to `bash` in the docs
2017-11-24 11:38:10 +01:00
Charles Kerr
b59557569c
oops, the upgrading-chrome.md changes belonged in a separate PR
2017-11-24 11:19:53 +01:00
Charles Kerr
3e3cac6f1b
prefer sh to bash in the docs
2017-11-24 11:17:43 +01:00
shelley vohr
00999a07d8
Merge pull request #11240 from electron/upgrading_docs
...
Upgrading docs for node, crashpad, and chromium
2017-11-24 11:16:18 +01:00
Shelley Vohr
bd70ec5e97
finalize node upgrade doc
2017-11-24 11:15:07 +01:00
Charles Kerr
1b0c1842ca
prefer sh to bash in the docs
2017-11-24 11:13:57 +01:00
Shelley Vohr
ba6224039c
make some things more explicit and style conformity
2017-11-24 11:06:04 +01:00
Shelley Vohr
178462b800
chrome -> chromium and updates to crashpad doc
2017-11-24 10:40:37 +01:00
Charles Kerr
f91020a04d
add section for updating submodule references
2017-11-24 10:40:30 +01:00
Charles Kerr
f8858a7577
add rough draft of node, crashpad update notes
2017-11-24 10:40:21 +01:00
shelley vohr
c18afc924b
Merge pull request #10213 from electron/upgrade-to-chromium-61
...
[WIP] Upgrade to Chromium 61
2017-11-24 10:17:52 +01:00
Charles Kerr
fcc8e0924e
Merge pull request #11097 from brenca/resizable-win-fix
...
Fix resizable property not working when taskbar was resized
2017-11-24 10:04:43 +01:00
Cheng Zhao
c30faa4ee8
Use 2xlarge for ARM jobs
2017-11-24 11:03:02 +09:00
Aleksei Kuzmin
8e708692b8
Use latest libcc
2017-11-24 10:58:53 +09:00
Cheng Zhao
a34d45d8c4
Fix uninitialized NodePlatform
2017-11-24 10:58:53 +09:00
Cheng Zhao
3138c85218
Fix linking problem with NodePlatform
2017-11-24 10:58:53 +09:00
Aleksei Kuzmin
efd949ea83
Disable a couple of crashReporter tests
2017-11-24 10:58:53 +09:00
Aleksei Kuzmin
d61564bfb1
Disable "<webview> tag > found-in-page event > emits when a request is made" test
2017-11-24 10:58:53 +09:00
Aleksei Kuzmin
c73ba5802e
Disable "nativeImage module > addRepresentation()" tests
2017-11-24 10:58:53 +09:00
deepak1556
0b88873e77
add basic inspector module test
2017-11-24 10:58:53 +09:00
deepak1556
ed4482d7a0
Fix node_debugger api changes
...
* _debugWaitConnect => _breakFirstLine
* Use default thread pool size specified by node.cc
2017-11-24 10:58:53 +09:00
Aleksei Kuzmin
11f7bb34fc
Fix "nghttp2" build
2017-11-24 10:58:53 +09:00
Tomas Rycl
207150c21c
Adding node headers to native modules for tests so they will compile and run on Mac
2017-11-24 10:58:53 +09:00
Aleksei Kuzmin
1cf95d2a26
Use node::NodePlatform instead of v8::platform in atom::NodeDebugger
2017-11-24 10:58:53 +09:00
Aleksei Kuzmin
ad732b45d2
Use Node.js v8.7.0
2017-11-24 10:58:53 +09:00
Ales Pergl
9ca658238b
Made NotificationDelegateImpl final
...
The class is designed to call `delete` on itself and because it doesn't have
a virtual destructor, it shouldn't be derived from.
2017-11-24 10:58:53 +09:00
deepak1556
505f2ab9e7
Fix crash when destroying NetLog
2017-11-24 10:58:53 +09:00
deepak1556
214cbf357a
Fix cpp lint errors
2017-11-24 10:58:53 +09:00
deepak1556
e60557e2e6
simplify URLRequestContextGetter for HttpNetworkSession::Context
2017-11-24 10:58:53 +09:00
deepak1556
e0860ea7a0
Stop file observer of NetLog to finish writing to disk
2017-11-24 10:58:53 +09:00
Ales Pergl
f3c32647af
Sanitized notification delegate implementation
...
I made `brightray::NotificationDelegate` back into just an interface and
extracted the implementation used by `PlatformNotificationService`, so that
the main process notification implementation can inherit only the interface.
2017-11-24 10:58:53 +09:00
Ales Pergl
8750fde6d3
Added libfreetype dependency to ARM64 build
2017-11-24 10:58:53 +09:00
Ales Pergl
19ef7d7a48
Added build dependency information for arm64
2017-11-24 10:58:53 +09:00
Aleksei Kuzmin
465f9009ff
Update stack string parsing in the CallbacksRegistry
...
Fixes the "ipc module > remote listeners
> detaches listeners subscribed to destroyed renderers, and shows a warning"
test.
2017-11-24 10:58:53 +09:00
Ales Pergl
82394cc06d
Use an existing host name so that it resolves quickly and tests don't time out.
2017-11-24 10:58:53 +09:00
deepak1556
7a9892f151
REVIEW: Inject devtools extensions API via browser
...
Behavior was changed in https://crbug.com/706169
2017-11-24 10:58:53 +09:00
Ales Pergl
531472bad4
Create a TaskScheduler when initializing run-as-node mode.
...
It fixes crashes when V8 tries to execute background tasks via the TaskScheduler.
2017-11-24 10:58:53 +09:00
Ales Pergl
334b39ef1e
Fixed build issues
2017-11-24 10:58:53 +09:00
deepak1556
2fa0b3d33e
Enable client certificate tests
2017-11-24 10:58:53 +09:00
deepak1556
a0be734ccb
Fix client certificate private key handling api
2017-11-24 10:58:53 +09:00
Gellert Hegyi
a47497bf18
adds extra param for ui compositor creation
2017-11-24 10:58:53 +09:00
Gellert Hegyi
5d79dbc9a1
upgrades offscreen rendering to latest chromium
2017-11-24 10:58:53 +09:00
Tomas Rycl
c9b7fc2922
It fixes crash in tests on Windows
...
Notification delegate copies the notification ID string
instead of storing reference.
2017-11-24 10:58:53 +09:00
Tomas Rycl
e321a4a433
Setting raw pointer to nullptr as default so it can be detected as noninitialized
2017-11-24 10:58:53 +09:00
Aleksei Kuzmin
3a3eb69d0f
Do not specify exception handling mode on Windows
...
Like Chromium does. Also disable related warnings.
2017-11-24 10:58:53 +09:00
Tomas Rycl
69cd33395a
Fixed crash on startup on Windows
2017-11-24 10:58:53 +09:00
Aleksei Kuzmin
fe9ae41f98
Use gtk_toggle_button_get_active()
2017-11-24 10:58:53 +09:00
Aleksei Kuzmin
abcda097fb
Use GTK3 instead of GTK2
2017-11-24 10:58:53 +09:00
Samuel Attard
ef40bd4786
Remove dead header file for notification delegate
2017-11-24 10:58:17 +09:00
Samuel Attard
797a58bee0
Result of RunMenuAt is now void, no need to ignore it
2017-11-24 10:58:17 +09:00
Samuel Attard
1b46b5ceda
Fix printing_handler_win compilation errors
2017-11-24 10:58:17 +09:00
Tomas Rycl
a723e5a4c5
Fixed moved cert x509 function issue on Windows
2017-11-24 10:58:17 +09: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
Aleksei Kuzmin
9326ce8cfd
allocator: rename use_experimental_allocator_shim to use_allocator_shim
...
https://codereview.chromium.org/2902043007
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
6d620c24b5
Update link_settings/libraries list in the brightray.gyp
2017-11-24 10:58:17 +09:00
Birunthan Mohanathas
4e859b4718
Remove "async" option from menu.popup()
...
All menus are async now. See "Cleanup MenuRunner API"
https://codereview.chromium.org/2790773002
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
338604239d
Cleanup MenuRunner API
...
https://codereview.chromium.org/2790773002
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
14eb2af876
Give CustomButton a focus painter.
...
https://chromium-review.googlesource.com/c/chromium/src/+/516824
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
e0d7b7d0fc
Clean up views::Background.
...
https://chromium-review.googlesource.com/c/chromium/src/+/520702
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
93b3d8cb49
Changed top/bottom & left/right border parameters on BoxLayout to take single gfx::Insets parameter.
...
https://chromium-review.googlesource.com/c/chromium/src/+/515902
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
4607a1fd13
make base::SharedMemoryHandle a class on POSIX.
...
https://codereview.chromium.org/2843113002
2017-11-24 10:58:17 +09:00
Tony Ganch
59550b203f
Include objbase.h only for Windows
2017-11-24 10:58:17 +09:00
Tony Ganch
513d4fd225
Remove usage of X11AtomCache
...
See https://codereview.chromium.org/2914103002/
2017-11-24 10:58:17 +09:00
Tony Ganch
da04cbd4d8
Rename set_background to SetBackground
2017-11-24 10:58:17 +09:00
Tony Ganch
d7e4e8d6cc
Rename GetPrefferedSize to CalculatePrefferedSize
...
See https://chromium-review.googlesource.com/c/chromium/src/+/516542
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
7f5fbb04e2
Migrate from ScopedComPtr::CreateInstance() to CoCreateInstance in chrome/...
...
https://codereview.chromium.org/2894483002
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
79e59a88b4
Rename ScopedComPtr::Receive to ScopedComPtr::GetAddressOf
...
https://codereview.chromium.org/2870263002
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
485e43636b
Rename ScopedComPtr::get() to ScopedComPtr::Get()
...
https://codereview.chromium.org/2824773002
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
1073c9b1ed
Fix compilation of atom/browser/api/atom_api_app.cc
...
Refactor client cert private key handling.
https://codereview.chromium.org/2898573002
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
8c40854983
Move handling of DraggableRegionsChanged notification from "view" to "frame".
...
https://codereview.chromium.org/2929493003
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
624b63a1ca
Move "atom/common/node_includes.h" to the end of the includes list
...
https://github.com/electron/electron/issues/10363
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
3a7b3ba95e
Update crashpad revision
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
96ff534248
Update brightray link_settings on Mac
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
7a23a79b58
Add protobuf defines and include_dirs
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
56e7867455
Move IconURLs method from WebFrame to WebLocalFrame
...
https://codereview.chromium.org/2918903002
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
fe662ccbdc
Remove obsolete Blink popup blocker.
...
https://chromium-review.googlesource.com/c/chromium/src/+/512347
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
dcb9925ddd
Fix 'constructor cannot be redeclared' error
...
Upgrade ICU to 59
https://bugs.chromium.org/p/chromium/issues/detail?id=699469
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
5fb0f005c5
Convert SpellCheckPanel SpellCheckPanelHost IPC to mojo
...
https://chromium-review.googlesource.com/c/chromium/src/+/515323
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
c6333728d9
Fix brightray::URLRequestContextGetter::GetURLRequestContext()
...
Split HttpNetworkSession::Params into two structs.
https://codereview.chromium.org/2907463002
Make HttpNetworkSession::host_mapping_rules no longer a pointer.
https://codereview.chromium.org/2906463002
2017-11-24 10:58:17 +09:00
Tony Ganch
491249108e
Fix WebLocalFrame API usage
...
Related CLs:
https://chromium-review.googlesource.com/c/chromium/src/+/506500
https://chromium-review.googlesource.com/c/chromium/src/+/542658
2017-11-24 10:58:17 +09:00
Tony Ganch
0ad967c9a5
Don't specify URLRequestContext when starting logging
...
Related CL: https://codereview.chromium.org/2698143004
2017-11-24 10:58:17 +09:00
Tony Ganch
4412836e77
Include header for net::URLRequestContext
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
59b2fb054e
Use blink::WebLocalFrame instead of blink::WebFrame in printing
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
d817e23050
[c++11 library] Remove ScopedVector
...
https://bugs.chromium.org/p/chromium/issues/detail?id=554289
2017-11-24 10:58:17 +09:00
Aleksei Kuzmin
ac8c205fd7
Replace deprecated base::NonThreadSafe in chrome in favor of SequenceChecker.
...
https://codereview.chromium.org/2911983003
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
75b41102ef
Remove unused includes
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
a9eb0cbec0
Ban raw pointers to ref-counted types on base::Bind
...
https://chromium-review.googlesource.com/c/chromium/src/+/549537
2017-11-24 10:58:16 +09:00
deepak1556
12a4321e2b
Reporting: Wire ReportingDelegate into ChromeNetworkDelegate
...
https://codereview.chromium.org/2891133003
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
7d1c1700f8
Implement GetBrowsingDataRemoverDelegate() for BrowserContext subclasses
...
https://codereview.chromium.org/2898443002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
edb7bc6572
Make BlobReader create its own file TaskRunner.
...
https://chromium-review.googlesource.com/c/chromium/src/+/570945
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
6ba372f9f2
Move some of IOThread's command line logic to network_session_configurator.
...
https://codereview.chromium.org/2914893002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
47d683f0ad
DevTools: do not set visible size while emulating in case of device mode.
...
https://chromium-review.googlesource.com/c/chromium/src/+/572222
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
6c7ad3ac58
Remove the dependence on BrowserThread::FILE for
...
https://codereview.chromium.org/2944313003
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
b29c485ec4
Consolidate PowerSaveBlocker and WakeLock inside Device Service.
...
https://chromium-review.googlesource.com/c/chromium/src/+/563159
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
933bf77a1f
printing: Remove BlockingPool use
...
https://chromium-review.googlesource.com/c/chromium/src/+/541856
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
5a4a1a5574
Use "blink::WebLocalFrame" for "GetMarginsForPdf()"
...
Fixes "error: no member named 'IsPrintScalingDisabledForPlugin' in 'blink::WebFrame'"
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
f0cda8d88c
Move Get/SetScrollOffset methods from WebFrame to WebLocalFrame.
...
https://codereview.chromium.org/2936423003
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
4ac9659114
Move printing-related methods from WebFrame to WebLocalFrame.
...
https://codereview.chromium.org/2923343005
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
e4d9e12ee5
Use blink::WebLocalFrame instead of blink::WebFrame
...
Move GetDocument method from WebFrame to WebLocalFrame.
https://codereview.chromium.org/2928033002
Move MainWorldScriptContext accessor/method from WebFrame to WebLocalFrame.
https://codereview.chromium.org/2923053002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
61797b7802
Move GetDocument method from WebFrame to WebLocalFrame.
...
https://codereview.chromium.org/2928033002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
7608a0489c
Network Traffic Annotation added to DownloadURLParams.
...
https://chromium-review.googlesource.com/c/530307
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
e926473e5a
Partial revert of Provide WebContents::CreateParams to tab helpers.
...
https://chromium-review.googlesource.com/c/571285
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
9566904838
Speech recognition: Use BindOnce / OnceCallback / OnceClosure where applicable
...
https://chromium-review.googlesource.com/c/565762
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
5831a5ffa1
Refactor client cert private key handling.
...
https://codereview.chromium.org/2898573002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
b69913975b
chromeos: Check both original and absolute paths for file: scheme
...
https://codereview.chromium.org/2786583002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
14c61a96af
VR: Check focus state browser-side before sending input to renderer.
...
https://chromium-review.googlesource.com/c/565760
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
fe48a92422
Propagate opener to BackgroundsContents.
...
https://codereview.chromium.org/2882513005
2017-11-24 10:58:16 +09:00
Tony Ganch
f694b64d71
FIXME: DesktopNotificationDelegate has been removed
...
Related CL: https://codereview.chromium.org/2906883003
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
fe431a9e58
Add WebRTC related defines to the build config
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
68cbfd9f40
Remove base::ListValue::Set(size_t, base::Value*)
...
https://codereview.chromium.org/2838893002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
2c063f93ff
Remove raw base::DictionaryValue::Set
...
https://codereview.chromium.org/2911033002
2017-11-24 10:58:16 +09:00
Tony Ganch
cf00fc0661
Rename WriteToFileNetLogObserver to FileNetLogObserver
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
370476c4af
Remove unused RenderViewObserver methods.
...
https://chromium-review.googlesource.com/c/506027
`DidCreateDocumentElement()` observer method was removed.
So I have to use a different approach to check if a document element
has already been created on a web page.
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
1127452429
PlzNavigate: make NavigationResourceHandler a LayeredResourceHandler
...
https://codereview.chromium.org/2847443002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
a72a08bccc
Convert iOS to use X509CertificateBytes.
...
https://codereview.chromium.org/2864133002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
ea8e113b19
SkBitmap and SkPixelRef no longer need lock/unlock
...
https://codereview.chromium.org/2823003002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
ea4a36039a
Add Keyboard Latency UMA Metrics.
...
https://codereview.chromium.org/2756893002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
f03ca53af5
Add blink::WebInputEvent::IsPinchGestureEventType().
...
https://codereview.chromium.org/2861373004
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
650902c656
Renamed LoadCommittedDetails.is_in_page to is_same_document.
...
https://codereview.chromium.org/2841833002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
90b0984a14
Add missing IWYU message_loop.h includes.
...
https://codereview.chromium.org/2876013002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
e2a224c4e6
Remove rendundant WebLocalFrame parameter in various plugin code.
...
https://codereview.chromium.org/2855123003
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
11fa935359
Introduce TaskRunner::RunsTasksInCurrentSequence()
...
https://codereview.chromium.org/2823103003
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
f2bcdab037
Provide WebContents::CreateParams to tab helpers.
...
https://codereview.chromium.org/2894973002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
c402658c08
Replicate feature policy container policies.
...
https://codereview.chromium.org/2797813002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
971002a197
Switch to using scoped_ptr with UserData
...
https://codereview.chromium.org/2815913005
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
fe952d5c65
Get rid of SharedMemory::GiveToProcess.
...
https://codereview.chromium.org/2847033003
Changes copied from
"printing: Sandboxed processes must ask the browser to allocate shared memory."
https://codereview.chromium.org/1714643002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
ee9a547985
Service CreateNewWindow on the UI thread with a new mojo interface
...
https://codereview.chromium.org/2821473002
2017-11-24 10:58:16 +09:00
Aleksei Kuzmin
b81ae1c36f
REVIEW: Move MediaDeviceIDSalt from ProfileIOData to ProfileImpl.
...
https://codereview.chromium.org/2820163002
2017-11-24 10:58:15 +09:00
Aleksei Kuzmin
ba6e8b4dff
Merge ResourceRequestBodyImpl and ResourceRequestBody.
...
https://codereview.chromium.org/2954343005
2017-11-24 10:58:15 +09:00
Aleksei Kuzmin
b77b67bfbe
Remove client_certs from SSLCertRequestInfo.
...
https://codereview.chromium.org/2838243002
2017-11-24 10:58:15 +09:00
Aleksei Kuzmin
364c330887
Replace uses of hash_map in //base
...
https://codereview.chromium.org/2830093003
2017-11-24 10:58:15 +09:00
Aleksei Kuzmin
ba2f33d629
Remove base::Value::GetAsBinary
...
https://codereview.chromium.org/2839753005
2017-11-24 10:58:15 +09:00
Aleksei Kuzmin
f847291272
[blink] Unique pointers in Platform.h
...
https://codereview.chromium.org/2846843002
2017-11-24 10:58:15 +09:00
Aleksei Kuzmin
7ad524fa34
Make base::DictionaryValue::Set* return pointers
...
https://codereview.chromium.org/2850773002
2017-11-24 10:58:15 +09:00
Aleksei Kuzmin
75d02f65d9
Remove base::SharedMemory::ShareToProcess
...
https://codereview.chromium.org/2852803002
2017-11-24 10:58:15 +09:00
Aleksei Kuzmin
58e0771e47
Remove base::Value::Get{Buffer,Size}
...
https://codereview.chromium.org/2841623003
2017-11-24 10:58:15 +09:00
Aleksei Kuzmin
132029ea32
Move components/display_compositor to components/viz/display_compositor
...
https://codereview.chromium.org/2873243002
2017-11-24 10:58:15 +09:00
Tony Ganch
5315a2e8dc
Set clang revision to 307486
2017-11-24 10:58:15 +09:00
Aleksei Kuzmin
2bb95ce41e
Update chrome_version.h
2017-11-24 10:58:15 +09:00
Aleksei Kuzmin
fed090a44c
Use latest libcc with Chromium 61
2017-11-24 10:58:15 +09:00
Cheng Zhao
f8adaed763
Merge pull request #11208 from electron/mips64el
...
Add support for mips64el
2017-11-24 10:54:19 +09:00
Cheng Zhao
2db845e202
Disable mips64el CI job
2017-11-24 10:12:19 +09:00
Felix Rieseberg
9f0df695ca
🔧 Spec: Fix style issues
2017-11-23 14:22:58 -08:00
Felix Rieseberg
0278e380de
🔧 Spec: Don’t use deprecated new Buffer()
2017-11-23 14:22:31 -08:00
Felix Rieseberg
f7d6e3fa7b
🔧 Disable standard/no-callback-literal where necessary
2017-11-23 13:53:03 -08:00
Felix Rieseberg
f81bfb7b86
🔧 Fix style issues
2017-11-23 13:42:48 -08:00
Felix Rieseberg
97a084a591
🔧 Script: Reject with error
2017-11-23 13:42:31 -08:00
Felix Rieseberg
d0ef834b4f
🔧 Remove redundant await statements
2017-11-23 13:42:09 -08:00
Felix Rieseberg
451a44c4b5
🔧 Don’t use deprecated new Buffer()
2017-11-23 13:41:47 -08:00
Felix Rieseberg
19df1cf070
📦 Upgrade to StandardJS 10
2017-11-23 13:41:14 -08:00
Heilig Benedek
62594780e0
run the new test only on windows
2017-11-23 21:25:26 +01:00
Heilig Benedek
710ca230f3
update tests to reflect new behaviour
2017-11-23 21:25:25 +01:00
Heilig Benedek
bb5eecc16c
Use SizeConstraints instead of window events
2017-11-23 21:25:25 +01:00
Heilig Benedek
ca76dda6a6
remove incorrect checks
2017-11-23 21:25:25 +01:00
Heilig Benedek
7a7f1ee711
dont resize on taskbar resize if resizable is false
2017-11-23 21:25:25 +01:00
Charles Kerr
9c217fc6c7
Merge pull request #11224 from electron/browser-view-window
...
feature: Add `BrowserWindow.fromBrowserView()`
2017-11-23 14:41:36 +01:00
Charles Kerr
3f21e1240f
Merge pull request #11231 from Toinane/fix-doc
...
fix doc in download-item
2017-11-23 14:39:52 +01:00
Toinane
dd139706ea
fix doc in download-item
2017-11-23 13:31:09 +01:00
Charles Kerr
d92e229b3b
Merge pull request #11207 from kstar0714/master
...
fix word docs-translation/README.md, CODE_OF_CONDUCT.md
2017-11-23 10:17:11 +01:00
shelley vohr
96aa0aa2f1
Merge pull request #11217 from him2him2/_fix_README.md_HTTPS
...
Update README.md URLs to HTTPS
2017-11-23 10:08:44 +01:00
Charles Kerr
3c607394d7
Merge pull request #11225 from electron/get-current-browser-view
...
feature: BrowserView.getAllViews() & BrowserView.fromWebContents()
2017-11-23 09:49:11 +01:00
Emmanuel Kimmerlin
5f658de19f
🐛 #10470 - prevent to load preload in each iframe context
2017-11-23 09:20:52 +01:00
Cheng Zhao
6930f5c3ba
Update libcc to include patch on mips64el v8 pagesize
2017-11-23 16:58:58 +09:00
Felix Rieseberg
037f76c47b
🐛 Ooops, fix that
2017-11-22 17:07:57 -08:00
Felix Rieseberg
690e8cf75b
👷 Add specs
2017-11-22 17:06:14 -08:00
Felix Rieseberg
6298748d0b
📝 Document BrowserView.fromWebContents()
2017-11-22 17:02:01 -08:00
Felix Rieseberg
69e461083a
📝 Document BrowserView.getAllViews()
2017-11-22 17:00:09 -08:00
Felix Rieseberg
4d18cbe728
🔧 BrowserView.fromWebContents()
2017-11-22 16:59:00 -08:00
Felix Rieseberg
3cb062b3d6
🔧 BrowserView.getAllViews()
2017-11-22 16:58:32 -08:00
Cheng Zhao
e4064d8dc2
Do not upload symbols for mips64el
2017-11-23 09:19:01 +09:00
Felix Rieseberg
7630ac6e90
🔧 Return null if not found
2017-11-22 15:48:11 -08:00
Felix Rieseberg
8f20ce6dcf
📝 Docs!
2017-11-22 14:38:22 -08:00
Felix Rieseberg
b7bc4eb586
👷 Let’s test the undefined case, too
2017-11-22 14:38:08 -08:00
Felix Rieseberg
14db204315
👷 Add a spec
2017-11-22 14:37:46 -08:00
Felix Rieseberg
8c5aad8b17
🔧 Add BrowserWindow.fromBrowserView()
2017-11-22 14:36:54 -08:00
Ronald Eddy Jr
061447d34e
Update README.md URLs to HTTPS
...
Updating HTTP protocol to HTTPS on applicable URLS
[ci skip]
2017-11-22 10:20:52 -08:00
Charles Kerr
fded32dc4f
Merge pull request #11218 from him2him2/_fix_CI_BuildError
...
Fix continuous-integration build error
2017-11-22 18:11:01 +01:00
Ronald Eddy Jr
7003a2a19c
fix continuous-integration build error
...
Added Missing code-language flags to upgrading-chrome.md
2017-11-22 08:26:23 -08:00
Cheng Zhao
40bad250aa
Update libcc to fix error caused by libdrm
2017-11-22 19:31:04 +09:00
Cheng Zhao
7cc73140f8
Fix creating dist for mips64el
...
Note that dump_syms can not parse mips64 binaries, so we don't have
symbols archive for mips64 arch.
2017-11-22 19:29:39 +09:00
Cheng Zhao
a2f95c5f90
Add libpulse to dependencies of mips64el
2017-11-22 19:07:03 +09:00
hanbyeol
e25a46378b
Merge https://github.com/kstar0714/electron
2017-11-22 00:45:03 -08:00
hanbyeol
2cee035b4e
fix docs-translation/README.md
2017-11-22 00:40:37 -08:00
Charles Kerr
5d03f3ca64
Merge pull request #11191 from electron/chromium_updates_guide
...
Proposed update to Chromium checklist
2017-11-22 08:16:37 +01:00
김한별
6fd6315cb2
Update README.md
2017-11-22 15:42:17 +09:00
Zeke Sikelianos
32edf6a2b8
Merge pull request #11203 from electron/document-chromium_src-directory
...
document chromium_src directory
2017-11-21 21:10:47 -08:00
Cheng Zhao
db6de6a2b2
Run electron-linux-mips64el CI job
2017-11-22 11:31:23 +09:00
Cheng Zhao
34d108e896
Fix linting error
2017-11-22 11:30:06 +09:00
Cheng Zhao
b2564242e0
Add CI job for mips64el
...
Note that our CI server is not ready for mips64el yet, so the binaries
of libcc are not available yet. Currently it is downloading the binaries
created by me manually, we should redirect to the official mirror before
merging this PR.
2017-11-22 11:21:28 +09:00
Cheng Zhao
7bc58c6a5f
Update libcc to latest with mips64el support
2017-11-22 11:14:46 +09:00
Cheng Zhao
16ffff4aec
Fix passing rpath to gcc
2017-11-22 11:14:20 +09:00
hanbyeol
78ccf14e53
fix word CODE_OF_CONDUCT.md
2017-11-21 17:15:14 -08:00
hanbyeol
1445ba5116
fix word docs-translation/README.md
2017-11-21 17:06:43 -08:00
Samuel Attard
be9e6700d9
Merge pull request #11204 from andykog/patch-2
...
Add mobx-devtools to the Supported section
2017-11-22 09:11:48 +11:00
Andy Kogut
0c47207a0e
Add mobx-devtools to the Supported section
...
The library: https://mobx.js.org/
Extension's repo: https://github.com/andykog/mobx-devtools

2017-11-21 21:38:14 +02:00
Zeke Sikelianos
4b41822a62
document chromium_src directory
2017-11-21 10:55:56 -08:00
Catalin Fratila
3b29adc000
Making it prettier.
2017-11-21 15:19:33 +01:00
Vanessa Yuen
b51396f1cd
Merge pull request #11199 from duswlsgur/branch
...
Fixed wrong words & deleted urls in README.md
2017-11-21 21:01:36 +08:00
Cheng Zhao
0d8cfe8dbe
Some compiler flags are clang only
2017-11-21 21:48:06 +09:00
Cheng Zhao
4f9c5310a9
Fix compiler warning when building with gcc
2017-11-21 21:47:51 +09:00
Charles Kerr
70643a865b
Merge pull request #11178 from electron/fenced-code-block-lang
...
enforce rules on code blocks style in docs
2017-11-21 13:38:46 +01:00
Cheng Zhao
b2fdfa2710
Use mips64el toolchain
2017-11-21 20:42:20 +09:00
Cheng Zhao
a83b8e751b
Download mips64el toolchain
2017-11-21 19:38:21 +09:00
Cheng Zhao
447e0e6c8b
Add mips64el to arch list
2017-11-21 19:06:42 +09:00
JinHyeok Yeon
d8fe846d50
Fixed wrong word electron-i18n & url in README.md
2017-11-21 18:23:08 +09:00
shelley vohr
c7e40a2a64
Merge pull request #11133 from electron/skip-tests-that-should-be-skipped
...
Explicitly skip tests that should be skipped
2017-11-21 10:13:18 +01:00
JinHyeok Yeon
4a42738db9
Merge branch 'master' of github.com:electron/electron into branch
2017-11-21 17:22:17 +09:00
JinHyeok Yeon
51a023e7bb
fixed wrong words & urls in README.md
2017-11-21 17:15:58 +09:00
Vanessa Yuen
c122852f09
make verbose execute and non verbose execute do the same things
2017-11-21 16:07:26 +08:00
Charles Kerr
92872154d4
Copyediting
2017-11-21 08:18:12 +01:00
Charles Kerr
dba9181611
Merge pull request #11164 from electron/nstitlebar-hidden
...
fix: Explicitally set "setTitlebarAppearsTransparent"
2017-11-21 07:51:47 +01:00
Cheng Zhao
596a61f1ad
Merge pull request #11059 from electron/clear-permissions-handler
...
Document setPermissionRequestHandler(null)
2017-11-21 09:50:17 +09:00
Shelley Vohr
be67fcf62b
initial updates from meeting today
2017-11-20 23:02:54 +01:00
Charles Kerr
0711e1e5e1
Merge pull request #11170 from him2him2/fixREADMEHeaders
...
Standardize README.md headers
2017-11-20 13:45:09 -06:00
Charles Kerr
70fae85451
Merge pull request #11187 from electron/util-is-deprecation
...
fix: Don’t use deprecated util.is* methods
2017-11-20 13:38:56 -06:00
Charles Kerr
432d050481
Merge pull request #11167 from simast/menu-typings-fix
...
Improve setApplicationMenu/getApplicationMenu docs
2017-11-20 13:28:37 -06:00
Felix Rieseberg
3c38438303
📦 Update electron-typescript-definitions
2017-11-20 09:54:00 -08:00
Felix Rieseberg
05bae0b4c4
🔧 Util is no longer used here
2017-11-20 09:52:13 -08:00
Felix Rieseberg
b029c088db
🔧 Bonus ;
2017-11-20 09:48:33 -08:00
Felix Rieseberg
b8b3b441a7
🔧 util._extend is deprecated, too
2017-11-20 09:46:02 -08:00
Felix Rieseberg
71b8eaf085
🔧 Don’t use deprecated util.is* methods
2017-11-20 09:40:47 -08:00
Charles Kerr
fa37d49fb6
Merge pull request #11185 from electron/fs-optional-options
...
fix: fs.readFile: make options optional
2017-11-20 10:57:31 -06:00
Charles Kerr
dafd3d69bc
Merge pull request #11184 from electron/document-nucleus
...
docs: Document Nucleus
2017-11-20 10:51:09 -06:00
Felix Rieseberg
4f6bdc5824
📦 Bump electron-docs-linter
2017-11-20 08:24:39 -08:00
Felix Rieseberg
c9f2080e4b
🔧 fs.readFile: options are optional
2017-11-20 08:20:20 -08:00
Felix Rieseberg
6cacb9838e
📝 Document Nucleus
2017-11-20 08:04:14 -08:00
Charles Kerr
5eb00e45aa
Merge pull request #11158 from electron/execute-errors
...
fix: Pass on errors thrown in `executeJavaScript`
2017-11-20 09:14:05 -06:00
Charles Kerr
4c04f1c7ed
Merge pull request #11117 from electron/add_deprecations_spec
...
Add to deprecations spec
2017-11-20 09:07:06 -06:00
Shelley Vohr
7904be8763
comment out unused methods
2017-11-20 15:12:34 +01:00
Aleksei Kuzmin
cf749a8e18
Explicitly skip tests that should be skipped
2017-11-20 14:43:23 +01:00
shelley vohr
42d7d51b75
Merge pull request #11171 from him2him2/electron.atom.io
...
Update electron.atom.io -> electronjs.org
2017-11-20 13:05:14 +01:00
Cheng Zhao
cb98ed8674
Merge pull request #11176 from electron/proxy-crash-race
...
Avoid proxy handler race condition crash
2017-11-20 20:15:02 +09:00
Vanessa Yuen
435e027dc3
fix linting for fenced codeblocks only (see electron/electronjs.org#868 )
2017-11-20 14:33:25 +08:00
Vanessa Yuen
2441d51093
add remark lint to ensure fenced codeblocks are formatted properly.
2017-11-20 14:05:47 +08:00
Cheng Zhao
cd5785c410
Merge pull request #10793 from ahmedmohamedali/master
...
Add support for pdf in sub frames (https://github.com/electron/electr…
2017-11-20 11:37:42 +09:00
Cheng Zhao
dc7eaf8d78
Update to latest libcc
2017-11-20 11:07:00 +09:00
Cheng Zhao
79414d4822
Do not open devtools in tests
2017-11-20 11:05:38 +09:00
Cheng Zhao
3cc8330998
Merge branch 'master' into ahmedmohamedali-master
2017-11-20 11:04:47 +09:00
Ted Kim
71c16ad76f
lint
2017-11-20 10:17:34 +09:00
Ted Kim
1660fc8d13
Fix getLoginItemSettings timing issue
2017-11-20 10:15:45 +09:00
Matt Crocker
efaf7a6b85
Avoid race condition where login handler webcontents becomes null
2017-11-19 14:08:11 -08:00
Ronald Eddy Jr
5376df1519
Capitalizing Electron
2017-11-19 09:51:03 -08:00
Ronald Eddy Jr
f2d6d6b6a1
Updated Headers now consistent with styleguide
...
Made headers consistent with styleguide:
https://github.com/electron/electron/blob/master/docs/styleguide.md#titles
2017-11-19 09:48:09 -08:00
Ronald Eddy
14c6e78147
Update electron.atom.io -> electronjs.org
...
Update electron.atom.io -> electronjs.org to reduce redirects and speed navigation.
2017-11-19 04:01:33 -08:00
Ronald Eddy Jr
2a826c7ca9
Standardize README.md headers
...
Small changes to standardize formatting.
2017-11-19 02:48:06 -08:00
Simas Toleikis
c465257d69
Fix docs for menu setApplicationMenu/getApplicationMenu methods [ci skip]
2017-11-19 11:41:22 +02:00
Zhuo Lu
367f7f123d
Update icns
2017-11-19 00:33:33 -08:00
Felix Rieseberg
daad465fcd
🔧 Eh, let's do it for all the types
2017-11-18 20:19:22 -08:00
Felix Rieseberg
e3b6271806
🔧 setTitlebarAppearsTransparent=YES
2017-11-18 20:00:01 -08:00
Felix Rieseberg
5b18bea7e3
🔧 Alex has good ideas
2017-11-18 10:59:09 -08:00
Felix Rieseberg
cf7e9df3a0
🔧 Appease the linter
2017-11-18 01:02:09 -08:00
Felix Rieseberg
3311e0bd67
👷 This calls for tests
2017-11-18 00:51:27 -08:00
Felix Rieseberg
9a2d103e7f
:thinking_face: What if we made it an Error again?
2017-11-18 00:51:14 -08:00
Felix Rieseberg
1dea186a6e
:thinking_face: What if you could return an Error?
2017-11-18 00:50:53 -08:00
John Kleinschmidt
3e4b73ef8f
Update branch determination
2017-11-17 16:21:14 -05:00
John Kleinschmidt
df891d2aae
Update for API invoked release builds
...
Also, fixed links
2017-11-17 16:06:42 -05:00
John Kleinschmidt
f469059e90
Merge pull request #11153 from electron/update-ci-release
...
Move release build process to API calls
2017-11-17 15:52:20 -05:00
Zeke Sikelianos
e2a91ff689
Merge pull request #11152 from electron/fix-typo-in-styleguide
...
fix typo in styleguide
2017-11-17 12:26:43 -08:00
Zeke Sikelianos
b525f2f031
fix typo in styleguide
2017-11-17 12:14:33 -08:00
John Kleinschmidt
6f11aa169a
Run release builds from API
...
Remove "Bump" logic to run release
2017-11-17 15:13:30 -05:00
John Kleinschmidt
6fab8cc3a5
Merge pull request #11145 from OuYancey/translation-link
...
fix: wrong translation link in README
2017-11-17 10:54:17 -05:00
John Kleinschmidt
ccb6651752
Merge pull request #11125 from electron/fix-cert-verification-random-crash-on-exit
...
Fix random crash on app quit
2017-11-17 10:53:56 -05:00
Thiago de Arruda
a9a9e58b68
Fix random crash on app quit.
...
Move AtomCTDelegate to brightray as RequireCTDelegate and transfer ownership to
brightray::URLRequestContextGetter. This fixes the wrong lifetime assumptions
that result in AtomCTDelegate being used after free in some scenarios.
Close #10051
2017-11-17 12:03:23 -03:00
OuYancey
780c1b8f56
fix: add nation flags and link translations to one address
2017-11-17 12:44:21 +08:00
Ted Kim
d9481430df
Fix test failure
2017-11-17 10:53:21 +09:00
Taeho Kim
ada71eea39
📝 Use separate entitlements for login helper
2017-11-17 10:53:15 +09:00
Ted Kim
8184cbfb06
Implement login helper to manage login item in Mac App Store build
2017-11-17 10:53:09 +09:00
Shelley Vohr
aaae1bb176
Merge pull request #11124 from electron/expose-desktop-capturer
...
Expose desktopCapturer in sandbox mode.
2017-11-16 17:36:39 -05:00
Charles Kerr
9f922e9932
Merge pull request #11099 from electron/fix-emit-call-crash
...
Fix crash when emitting unhandled error on native EventEmitter
2017-11-16 15:57:07 -06:00
Charles Kerr
e10feb6be2
Merge pull request #11135 from electron/add_callbacks_spec
...
add callbacks registry spec
2017-11-16 15:47:34 -06:00
John Kleinschmidt
2138c5bff0
Enable verbose mode
2017-11-16 16:05:02 -05:00
John Kleinschmidt
6243d45946
Add AppVeyor and Jenkins
2017-11-16 16:04:50 -05:00
Thiago de Arruda
be0e3d9555
Expose desktopCapturer in sandbox mode.
2017-11-16 16:57:29 -03:00
Shelley Vohr
7f4c501f81
remove only
2017-11-16 14:51:24 -05: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
Shelley Vohr
933c7330a5
changes from review
2017-11-16 13:39:07 -05:00
Shelley Vohr
75a117e4e2
edit empty function for platform consistency
2017-11-16 13:27:08 -05:00
Shelley Vohr
f5c04c7037
fix includes
2017-11-16 13:27:08 -05:00
Shelley Vohr
c8b544a47d
linting is important
2017-11-16 13:27:08 -05:00
Shelley Vohr
e5983eacd6
add callbacks registry spec
2017-11-16 13:27:07 -05:00
Charles Kerr
0bfbd9b3c4
Merge pull request #11140 from electron/revert-10856-mas-login-helper
...
Revert "Implement login helper to manage login item in Mac App Store build"
2017-11-16 11:20:46 -06:00
Alexey Kuzmin
8657169017
Revert "Implement login helper to manage login item in Mac App Store build"
2017-11-16 19:05:13 +03:00
Charles Kerr
668b736ef2
Merge pull request #11088 from electron/fix-link-to-crowdin
...
fix link to crowdin
2017-11-16 09:35:38 -06:00
Charles Kerr
97c64de28e
Merge pull request #11139 from electron/shall-we-got-a-cup-of-tea
...
Add Chai library for tests
2017-11-16 09:14:36 -06:00
Aleksei Kuzmin
b51a9cf4f6
Rewrite "nativeImage module" tests assertions with chai.expect()
2017-11-16 16:00:11 +03:00
Aleksei Kuzmin
367b4b05a1
Add Chai library for tests
2017-11-16 15:59:26 +03:00
Charles Kerr
33bd2aa1a0
Merge pull request #11126 from numaanashraf/patch-1
...
Fix typo in session docs
2017-11-15 12:00:15 -06:00
John Kleinschmidt
f8dd04e5f7
Fix testing fork prs ( #11127 )
...
* Make sure DISPLAY is set before XVFB runs
2017-11-15 10:47:36 -05:00
Numaan Ashraf
b695f1221c
📝 Fix typo in session docs
2017-11-15 20:54:24 +05:30
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
Charles Kerr
3a1106d026
Merge pull request #11103 from electron/full-version-string
...
fix: Provide full and correct version in `process.version`
2017-11-14 19:18:03 -06:00
Felix Rieseberg
ee2a28b35b
🔧 Clean it up
2017-11-14 13:45:50 -08:00
Shelley Vohr
dc410efa36
rename and fix assoc. test
2017-11-14 14:56:16 -05:00
Shelley Vohr
99d35f7786
a few more updates to tests
2017-11-14 13:33:38 -05:00
Charles Kerr
58bd0986c8
Merge pull request #11100 from Raul6469/docs_translations_link
...
Link to the new docs translations
2017-11-14 10:57:47 -06:00
Charles Kerr
31172ecaa0
Merge pull request #11008 from electron/implement-stream-protocol
...
Implement {register,intercept}StreamProtocol
2017-11-14 09:31:57 -06:00
Charles Kerr
f6ce1afad3
Merge pull request #11093 from electron/fix-formatting-in-linux-build-instructions-doc
...
fix formatting in linux build instructions doc
2017-11-14 07:54:16 -06:00
Cheng Zhao
4b8ab8fc97
Merge pull request #10856 from dittos/mas-login-helper
...
Implement login helper to manage login item in Mac App Store build
2017-11-14 21:34:50 +09:00
Shelley Vohr
d05a1f8053
first pass at deprecation spec updates
2017-11-13 20:21:57 -05:00
Charles Kerr
bbde795a1f
Merge pull request #10923 from electron/nvidia-high-sierra-fix
...
Fix rendering issues with Nvidia GPU on High Sierra
2017-11-13 18:00:38 -06:00
Ahmed Mohamed Ali
4a92e5fc24
Update libchromiumcontent to commit fe6086f
2017-11-13 22:21:18 +01:00
Ahmed Mohamed Ali
b6109030a1
Fix missing eof missing from html test files
2017-11-13 21:22:36 +01:00
Ahmed Mohamed Ali
1f2c949316
Merge branch 'master' of https://github.com/ahmedmohamedali/electron
2017-11-13 21:16:52 +01:00
Ahmed Mohamed Ali
ff707a0f3d
Fix issues in the file for the tests.
2017-11-13 21:13:19 +01:00
Felix Rieseberg
7c446cc61c
🔧 Actually fix the test
2017-11-13 11:22:34 -08:00
Thiago de Arruda
5e8618ec3b
Add documentation for {intercept,register}StreamProtocol.
2017-11-13 16:16:14 -03:00
Thiago de Arruda
639dc2377f
Add tests for URLRequestStreamJob
2017-11-13 16:16:14 -03:00
Thiago de Arruda
5ea3a5886b
Implement {register,intecept}StreamProtocol
...
These new functions are more flexible than the other
{intercept,register}*ProtocoProtocol functions, since it allows the user to
return a node.js stream to feed the data to the protocol handler.
It also allows the user to specify a response header dictionary, which makes it
possible to correctly intercept any request made from renderers.
2017-11-13 16:16:14 -03:00
Thiago de Arruda
68f514b92f
Implement EventSubscriber<T> class.
...
This class simplifies the task of subscribing/handling javascript events from
C++ classes in the main process.
2017-11-13 15:22:50 -03:00
Thiago de Arruda
64bfabdeba
Make BindFunctionWith function visible to other modules.
2017-11-13 15:21:22 -03:00
Thiago de Arruda
6b666b69c0
Implement GetLoadTimingInfo in JsAsker class.
...
This is required to avoid a crash in blink when implementing a custom protocol
handler that deals with redirects.
2017-11-13 15:20:56 -03:00
Thiago de Arruda
6b2ddc4814
Stop allowing electron.net requests to be intercepted.
...
Not very useful to intercept requests from `electron.net`, since both the
interception machinery and `electron.net` live in the browser process.
2017-11-13 15:20:46 -03:00
Thiago de Arruda
32113bf7f9
Implement V8 -> C++ conversion of net::HttpResponseHeaders.
2017-11-13 15:20:40 -03:00
Thiago de Arruda
9c04d18387
Modify FillRequestDetails to pass headers dictionary.
2017-11-13 15:19:59 -03:00
Felix Rieseberg
163a33a9db
Add fallbacks
2017-11-13 09:27:02 -08:00
Felix Rieseberg
b382dec4a2
🔧 Rename the label
2017-11-13 09:26:52 -08:00
Cheng Zhao
4d364fa27a
Merge pull request #10510 from brenca/osr-autofill-devtools-fix
...
OSR fixes - devtools, dialogs
2017-11-13 18:04:35 +09:00
Cheng Zhao
72440d4ae7
No need to add new methods to WebContentsPreferences
2017-11-13 17:35:49 +09:00
Cheng Zhao
cee1c459c7
Do not accidentally change the behavior of did-change-theme-color
2017-11-13 16:20:54 +09:00
Cheng Zhao
7e0593950c
Code style fixes
2017-11-13 16:13:54 +09:00
Felix Rieseberg
8de9d5265a
👷 Fix the spec
2017-11-12 23:06:04 -08:00
Heilig Benedek
276e12ce71
pass on web_contents to properly handle devtools
2017-11-13 15:50:50 +09:00
Heilig Benedek
573f664899
fix devtools again
2017-11-13 15:50:49 +09:00
Heilig Benedek
26daffea9c
use smart pointer for paint_canvas
2017-11-13 15:50:49 +09:00
Heilig Benedek
4b10445c2e
lint fix
2017-11-13 15:50:49 +09:00
Heilig Benedek
193beb57c9
fix datalist element popup position when menu is hidden
2017-11-13 15:50:49 +09:00
Heilig Benedek
f8b3009ebf
restructure code to use web_preferences if possible
2017-11-13 15:50:49 +09:00
Heilig Benedek
cafb9477b0
lint fix
2017-11-13 15:46:46 +09:00
Heilig Benedek
71b36ef54d
don't show the dummy window for the rest of the dialogs too on mac
2017-11-13 15:46:46 +09:00
Heilig Benedek
5373afa472
set devtools window to visible to avoid a visual glitch on mac with osr window's devtools
2017-11-13 15:46:46 +09:00
Heilig Benedek
13b86598e8
don't show osr dummy window when dialog is shown on mac
2017-11-13 15:46:46 +09:00
Heilig Benedek
35dc6d03b9
lint fix
2017-11-13 15:46:46 +09:00
Heilig Benedek
45d16d5add
don't automatically show window when devtools is opened on mac
2017-11-13 15:46:46 +09:00
Heilig Benedek
e39aacb30e
fix a bug that caused a crash when using an offscreen window with detached devtools, related to autofill popups
2017-11-13 15:46:46 +09:00
Heilig Benedek
5daaff91ea
fix a bug where datalist elements wouldn't actually set the value of the input associated with them
2017-11-13 15:46:46 +09:00
Felix Rieseberg
12653d36ea
🔧 Update the script, too
2017-11-12 22:37:54 -08:00
Felix Rieseberg
7b0b87bfef
🔧 Use full version string
2017-11-12 22:37:46 -08: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
Victor
29438940f6
Link to the new docs translations
2017-11-12 17:03:43 +01:00
Zeke Sikelianos
f0facdc01f
fix formatting in linux build instructions doc
2017-11-11 09:49:19 -08:00
Samuel Attard
40b94e97e5
Merge pull request #11087 from electron/abi-version
...
fix: Bring back --abi
2017-11-11 14:47:45 +11:00
Samuel Attard
a06a8a6f79
Merge pull request #11056 from ajmacd/allow-browser-window-logs
...
Allow BrowserWindows to emit `console-message` events.
2017-11-11 14:34:39 +11:00
Samuel Attard
ba754cf5c3
Merge pull request #11055 from electron/fix-menu-bug
...
fix: Don't crash on `setApplicationMenu(null)`
2017-11-11 14:33:18 +11:00
Zeke Sikelianos
9a2a98d522
fix link to crowdin
2017-11-10 15:08:03 -08:00
Felix Rieseberg
ae960027f2
🔧 Bring back —abi
2017-11-10 14:58:21 -08:00
Felix Rieseberg
13749797ec
📝 Document setPermissionRequestHandler(null)
2017-11-10 14:48:15 -08:00
Charles Kerr
9291ab95dd
Merge pull request #11039 from electron/deprecate-docs-translations
...
Deprecate /docs-translations
2017-11-10 13:54:51 -06:00
Charles Kerr
5adbbef6cd
Merge pull request #11079 from sdj01044/add-korean-community
...
Add Korean Community
2017-11-10 11:04:08 -06:00
sdj01044
0c88b073d1
Update README.md
...
Change the URL
https://electron-kr.slack.com -> https://electron-kr.github.io/electron-kr
2017-11-10 18:26:07 +09:00
Dongjo Seo
f5b9e1f732
Add Korean Community
2017-11-10 17:04:21 +09:00
Samuel Attard
912c023c6d
Merge pull request #11060 from electron/ts-artifact
...
Generate API and typescript file as artifact on CircleCI
2017-11-09 15:01:10 +11:00
Zeke Sikelianos
2ad1d8ba28
clean up remaining references to docs-translations content
2017-11-08 19:06:18 -08:00
Zeke Sikelianos
387ed21f94
updates from master
2017-11-08 19:01:58 -08:00
Andrew MacDonald
7c5bd62158
Decrease title size.
2017-11-08 09:37:56 -08:00
Andrew MacDonald
00665b9501
Add documentation to web-contents.md.
2017-11-08 09:35:01 -08:00
Ahmed
26fedcf8da
Update chromium-spec.js
2017-11-08 18:12:50 +01:00
Ahmed
9b3960fe90
Merge branch 'master' into master
2017-11-08 18:03:55 +01:00
Charles Kerr
9bf950aa33
Merge pull request #10997 from xxczaki/patch-1
...
Deleted Korean Community
2017-11-08 09:46:04 -06:00
John Kleinschmidt
26baea58c9
Merge pull request #10990 from electron/fix-10988
...
Enable "document.visibilityState/hidden" tests
2017-11-08 09:55:40 -05:00
Andrew MacDonald
51f6311f32
Handle the possibility of unexpected logs.
2017-11-08 00:09:54 -08:00
Andrew MacDonald
e51042f5a1
Add console-message test.
2017-11-07 23:45:27 -08:00
Samuel Attard
1986236b19
Merge pull request #11058 from electron/forward-declare-scrubber-layout
...
Forward declare the scrubber layout
2017-11-08 17:57:19 +11:00
Samuel Attard
ef78805a1c
Generate API and typescript file as artifact on CircleCI to make verifying changes easier
2017-11-08 16:55:24 +13:00
Samuel Attard
bb997c2ea4
Forward declare the scrubber layout
2017-11-08 16:48:08 +13:00
Felix Rieseberg
d475eaf011
🔧 One commit per character is now hot
2017-11-07 19:44:24 -08:00
Felix Rieseberg
3dcde82485
🔧 Make this easier to read
2017-11-07 18:26:10 -08:00
Andrew MacDonald
c260a0ab78
Allow BrowserWindows to emit console-message events.
2017-11-07 15:31:15 -08:00
John Kleinschmidt
98eee28cbc
Merge pull request #11054 from electron/jenkins-pipeline
...
Move to using Jenkins pipeline
2017-11-07 16:43:54 -05:00
John Kleinschmidt
a34255ceef
Add Jenkinsfile to enable rebuilds
...
Adding this file will allow us to rerun builds in Jenkins.
2017-11-07 16:32:09 -05:00
Felix Rieseberg
07dea13c77
👷 Let’s add a spec!
2017-11-07 13:29:37 -08:00
Felix Rieseberg
1454783450
🔧 Check menu for being falsy
2017-11-07 13:29:14 -08:00
John Kleinschmidt
546ede19c7
Add Jenkinsfile to use Jenkins pipeline
2017-11-07 16:22:04 -05:00
Zeke Sikelianos
8eb38be153
Merge pull request #11000 from sdj01044/fix-korean-styleguide
...
Fix Korean grammatic mistakes
2017-11-07 07:33:35 -08:00
Samuel Attard
5e50a9ab8f
Merge pull request #11009 from electron/docs-aumi-link
...
fix: Documentation: Add link to App User Model Id
2017-11-08 01:15:24 +11:00
Samuel Attard
bf42426acc
Merge pull request #11048 from Toinane/fix-doc
...
fix(documentation): link in browserwindows.md
2017-11-08 01:14:36 +11:00
Samuel Attard
6b9e67c972
Merge pull request #11004 from electron/upgrade-ts-defs
...
Upgrade electron-typescript-definitions to latest
2017-11-08 01:04:55 +11:00
Toinane
247af376fe
fix(documentation): link in browserwindows.md
2017-11-07 14:17:00 +01:00
Samuel Attard
43aa555d64
Merge pull request #11038 from dashersw/master
...
Make ScrubberItem width dynamic
2017-11-07 18:18:52 +11:00
Zeke Sikelianos
5e0fe575c9
remove deprecated docs translations
2017-11-06 15:48:47 -08:00
Zeke Sikelianos
11957b62bb
add docs-translations deprecation README
2017-11-06 15:47:28 -08:00
Armagan Amcalar
edd113548a
Make ScrubberItem width dynamic
...
Depending on whether a ScrubberItem has text or an icon, this changeset
calculates the actual width and sizes the TouchBar items accordingly.
Previously, all ScrubberItems, regardless of their content, had a static
width of 50px.
This commit also fixes #10539 .
2017-11-07 00:09:14 +01:00
John Kleinschmidt
5383b4809f
v1.8.2-beta.2
2017-11-06 16:11:34 -05:00
Charles Kerr
083b6e2bbe
Merge pull request #11022 from ChangJoo-Park/patch-2
...
Fix typo inspector to inspect
2017-11-06 10:32:07 -06:00
ChangJoo Park(박창주)
859bb81b29
Fix typo inspector to inspect
2017-11-06 09:23:18 +09:00
Samuel Attard
ca480948aa
Merge pull request #11005 from electron/revert-electron-download-version
...
revert electron-download dependency to ^3.0.1
2017-11-06 12:55:34 +13:00
Vanessa Yuen
f01e5bee92
Merge pull request #11001 from electron/ci-release-build-api
...
Decouple building electron for release from the actual release cutting process
2017-11-05 10:22:04 +08:00
Shelley Vohr
d1cdcc5760
Merge pull request #11007 from electron/silly-typo-change
...
fix: One-character typo change
2017-11-04 20:36:55 -04:00
Samuel Attard
fa795ff4cd
Merge pull request #11013 from electron/temporary-remove-a-deprecation-warning-from-crashreporter-setextraparameter
...
Disable deprecation warning of `crashReported.setExtraParameter()`
2017-11-05 03:41:37 +13:00
Aleksei Kuzmin
bd766067ac
Remove unused deprecate var to make linter happy
2017-11-04 07:52:47 +03:00
Aleksei Kuzmin
b3a1fc65e5
Disable deprecation warning of crashReported.setExtraParameter()
...
It caused a couple of Crash Reported tests to timeout on Mac.
Task to enable it back:
https://github.com/electron/electron/issues/11012
2017-11-04 07:48:39 +03:00
Vanessa Yuen
2063af8ac6
a few changes as per code review comments ✨
2017-11-04 10:53:42 +08:00
Charles Kerr
0aaf961f17
empty commit for CI
2017-11-03 16:33:06 -05:00
Felix Rieseberg
067662b304
📝 Oh look, another typo
2017-11-03 13:02:12 -07:00
Felix Rieseberg
8b85a3be23
📝 Add link to App User Model Id
2017-11-03 11:52:27 -07:00
Felix Rieseberg
43bb74cb13
📝 One-character typo change
2017-11-03 10:54:17 -07:00
Charles Kerr
6f3fdb6ae6
revert electron-download dependency to ^3.0.1
...
undo last week's dependency bump as per discussion at https://github.com/electron/electron/pull/10922
dependency was bumped @ 0c9e106502
2017-11-03 09:45:09 -05:00
Shelley Vohr
8736a41cfb
Merge pull request #10909 from electron/update_remote
...
Simplify and remove excess code from remote module
2017-11-03 09:16:28 -04:00
Shelley Vohr
803fa35484
fix null value check
2017-11-03 08:47:21 -04:00
Birunthan Mohanathas
ecb11b3a4c
Upgrade electron-typescript-definitions to latest for electron/electron-typescript-definitions#80
2017-11-03 14:35:19 +02:00
Vanessa Yuen
85a811db55
make target branch name mandatory and specific ci job optional
...
add it as an npm script `npm run mock-release -- TARGET_BRANCH`
2017-11-03 14:56:16 +08:00
Vanessa Yuen
63632f1137
fix circle config
2017-11-03 14:36:25 +08:00
Cheng Zhao
42d6fe209c
Merge pull request #10936 from robinwassen/tray-docs-update
...
Removed incorrect optional labels from tray.displayBalloon(options) docs
2017-11-03 15:08:43 +09:00
Dongjo Seo
9c8fcfb723
Fix Korean grammatic mistakes
...
I fixed wrong words & wrong translations.
2017-11-03 14:45:10 +09:00
Vanessa Yuen
3bd38bd1fd
add API flags to all other circle jobs
2017-11-03 12:45:30 +08:00
Shelley Vohr
2b2c7d7f9f
fix object serialization test issue
2017-11-02 21:29:17 -04:00
Shelley Vohr
41fa61b446
Merge pull request #10995 from electron/initialize-retroactive-event-emitters
...
singletons that are retroactively turned into EventEmitters should ca…
2017-11-02 21:22:27 -04:00
Shelley Vohr
5c318932c2
add some structural changes
2017-11-02 21:07:40 -04:00
Vanessa Yuen
7cb408838f
skip headers and pdbs for fake release builds
2017-11-03 08:12:54 +08:00
Shelley Vohr
c3930f235a
Merge pull request #10992 from electron/address_crash_done
...
remove function invocation from crash test
2017-11-02 19:51:28 -04:00
Shelley Vohr
18a69b8c48
kick ci
2017-11-02 18:36:33 -04:00
Anthony
4b10c39ca0
Deleted Korean Community
...
Meetup Group doesn't exist.
https://www.meetup.com/electron-kr/
2017-11-02 20:38:07 +01:00
Charles Kerr
4ceeddc09f
Merge pull request #10972 from electron/dpi-issues
...
Workaround for Windows DPI issues
2017-11-02 10:16:11 -05:00
Shelley Vohr
498742d6b3
remove function invocation from crash test
2017-11-02 07:07:19 -04:00
Vanessa Yuen
4cc8008cfc
derp.. why did I make a separate parse_args()
2017-11-02 16:42:09 +08:00
Vanessa Yuen
bf5b9e70bb
fix linting errors
2017-11-02 16:20:41 +08:00
Vanessa Yuen
b23fa34470
modify upload script to allow uploading release assets to s3
2017-11-02 16:06:28 +08:00
Vanessa Yuen
f937f971c1
make script to hit circle ci api point to build for release
2017-11-02 15:26:37 +08:00
Shelley Vohr
9727717839
Merge pull request #10974 from electron/add_crashreport_tests
...
Update Crash Report Tests
2017-11-02 01:45:39 -04:00
Shelley Vohr
a7f059d951
switch from set to add in paramater test
2017-11-02 01:02:16 -04:00
Shelley Vohr
1d6803b234
remove deprecated tests
2017-11-02 00:16:51 -04:00
Charles Kerr
1c09dede1a
singletons that are retroactively turned into EventEmitters should call the EventEmitter ctor
2017-11-01 23:05:27 -05:00
Shelley Vohr
65f125a245
wrap deprecation warning
2017-11-01 23:27:20 -04:00
Shelley Vohr
14df9a58c7
remove setExtraParam from docs
2017-11-01 22:30:48 -04:00
Shelley Vohr
dc9c2673d7
docs typo fix
2017-11-01 22:25:10 -04:00
Shelley Vohr
24acd74d15
update deprecation warning
2017-11-01 22:23:33 -04:00
Shelley Vohr
577012370e
Merge pull request #10977 from electron/refactor-native-image-tests
...
Light refactoring of the nativeImage module tests
2017-11-01 22:00:01 -04:00
Shelley Vohr
3af83f1c97
add new method and mark setExtraParameter for deprecation
2017-11-01 21:57:43 -04:00
Shelley Vohr
33092e6324
update docs to reflect parameter method change
2017-11-01 21:21:41 -04:00
Aleksei Kuzmin
2bd44612fd
Revert "Merge pull request #10989 from electron/temporary-disable-visibility-state-tests"
...
This reverts commit f3125358c0 , reversing
changes made to 7b9ad5001b .
2017-11-02 03:22:27 +03:00
Shelley Vohr
a106956cfe
retriggerci
2017-11-01 20:20:26 -04:00
Aleksei Kuzmin
2f7718265a
Light refactoring of the nativeImage module tests
2017-11-02 03:18:32 +03:00
Shelley Vohr
f3125358c0
Merge pull request #10989 from electron/temporary-disable-visibility-state-tests
...
Temporary disable "document.visibilityState/hidden" tests
2017-11-01 20:13:54 -04:00
Aleksei Kuzmin
0df058dc1e
Temporary disable "document.visibilityState/hidden" tests
...
Task to enable them:
https://github.com/electron/electron/issues/10988
2017-11-02 00:06:38 +03:00
Shelley Vohr
7b9ad5001b
Merge pull request #10987 from electron/upgrade_last_few_specs
...
convert shell and browser spec to ES6
2017-11-01 14:30:54 -04:00
Felix Rieseberg
e8f8100e19
🔧 Add fixme
2017-11-01 11:30:32 -07:00
Shelley Vohr
6961162636
another try at fixing travis test
2017-11-01 14:26:39 -04:00
Shelley Vohr
28c009fcc0
linting is important
2017-11-01 10:56:53 -04:00
Shelley Vohr
d2e1705c80
convert app and browser spec to ES6
2017-11-01 10:48:09 -04:00
Shelley Vohr
0adf775d9a
clean fixture and fix failing travis test
2017-11-01 08:57:22 -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
7b08a93549
remove pesky 'only'
2017-10-31 18:31:44 -04:00
Shelley Vohr
a538e47994
complete GetParameters method & all tests passing
2017-10-31 18:19:04 -04:00
Shelley Vohr
3136f833a5
fixes and updates to GetParameters
2017-10-31 13:51:44 -04:00
Felix Rieseberg
58708d6242
🔧 Lowercase
2017-10-31 10:31:05 -07:00
Shelley Vohr
a9c13359dc
first attempt to add new GetParameters method to CrashReporter
2017-10-31 13:06:54 -04:00
Felix Rieseberg
08b8f2df55
📝 Typo!
2017-10-31 08:38:33 -07:00
Shelley Vohr
cd19d7c705
add crashReporter parameter tests
2017-10-31 10:38:48 -04:00
Vanessa Yuen
b2a735ef4f
test build script super rough draft
2017-10-31 17:21:13 +08:00
Shelley Vohr
cb78e4875b
fix two failing tests
2017-10-30 23:15:57 -04:00
Shelley Vohr
06075c4499
extrapolate removeExtraParameter into new method
2017-10-30 23:12:04 -04:00
Shelley Vohr
603060f051
add new tests
2017-10-30 22:51:22 -04:00
Felix Rieseberg
91414dde62
🔧 I can't believe this helps
2017-10-30 11:22:07 -07:00
Samuel Attard
c9926bed9f
Merge pull request #10954 from electron/less-process-metrics-warnings
...
fix: Don't call idleWakeupsPerSecond on Windows
2017-10-28 12:36:45 +13:00
Samuel Attard
5c6d418b59
Merge pull request #10943 from electron/ensure-contents-clicked
...
Ensure the click event is only dispatched on ContentsClicked activation type
2017-10-28 12:35:07 +13:00
Samuel Attard
dc8b583363
Merge pull request #10944 from electron/fix-notification-ref-crash
...
Close the previous notification on multiple calls to show
2017-10-28 12:33:30 +13:00
Felix Rieseberg
da21d6cdda
🔧 Don't call idleWakeupsPerSecond on Windows
2017-10-27 14:23:06 -07:00
Shelley Vohr
e4214a6cbe
[WIP] Upgrade more specs ( #10945 )
...
Finish upgrading specs to ES6
2017-10-27 16:45:58 -04:00
John Kleinschmidt
04cce89fdc
Merge pull request #10953 from electron/get-browser-view
...
Document and test `getBrowserView`
2017-10-27 16:05:51 -04:00
John Kleinschmidt
60f539789d
Merge pull request #10922 from Siilwyn/patch-1
...
Update electron-download to version 4.1.0
2017-10-27 15:56:06 -04:00
Felix Rieseberg
2e487adf8a
📝 Add a line to the docs
2017-10-27 12:17:30 -07:00
Felix Rieseberg
7bad679a69
📝 Correct types
2017-10-27 12:14:09 -07:00
Felix Rieseberg
29a85bc928
📝 Document it
2017-10-27 11:44:48 -07:00
Felix Rieseberg
541b369175
👷 Add a spec
2017-10-27 11:44:41 -07:00
John Kleinschmidt
ce20f45a45
Update to latest from libcc master
2017-10-27 14:24:14 -04:00
John Kleinschmidt
b429dafa38
Merge pull request #10889 from electron/avoid-eventemitter-crashes
...
Avoid EventEmitter crashes
2017-10-27 11:39:49 -04:00
Shelley Vohr
9292c7ec53
Merge pull request #10938 from electron/update_protocol_test
...
Upgrade protocol spec
2017-10-27 09:48:33 -04:00
Matt Crocker
42da83f8ca
Update native-mate to pick up related changes
2017-10-27 00:11:16 -07:00
Matt Crocker
b6fb016a9a
Cleanup per review comment
2017-10-27 00:07:54 -07:00
Matt Crocker
77a26882a3
Make linter happy
2017-10-27 00:04:19 -07:00
Matt Crocker
c5914516c8
Upstream good ideas from Muon
2017-10-27 00:04:19 -07:00
Matt Crocker
ca8f45a501
Notifications should emit close on close, not eventual GC
2017-10-27 00:04:19 -07:00
Samuel Attard
8719e9f098
Definitely didn't forget to push the header file
2017-10-27 16:27:37 +13:00
Samuel Attard
fe9069c028
Close the previous notification on multiple calls to show
2017-10-27 16:22:21 +13:00
Samuel Attard
85ef4c6d91
Ensure the click event is only dispatched on ContentsClicked activation type
2017-10-27 16:08:15 +13:00
Shelley Vohr
e2d5aaf0f3
Merge pull request #10942 from electron/upgrade_specs
...
[WIP] Upgrade specs
2017-10-26 22:12:19 -04:00
Shelley Vohr
eed54a18c4
fix comment typo
2017-10-26 22:09:38 -04:00
Shelley Vohr
7a3efd1543
stop leaving onlys there
2017-10-26 21:41:29 -04:00
Shelley Vohr
abecde0572
fix shortcut spec error
2017-10-26 21:41:06 -04:00
Shelley Vohr
ada9dfdc5e
Merge pull request #10941 from electron/update_browser_view_spec
...
migrate api-browser-view-spec to ES6
2017-10-26 21:17:35 -04:00
Shelley Vohr
0317189213
update touch bar spec
2017-10-26 21:08:47 -04:00
Shelley Vohr
1130ccf69b
upgrade system pref spec
2017-10-26 20:58:48 -04:00
Shelley Vohr
d8f2183b3d
upgrade screen spec
2017-10-26 20:55:07 -04:00
Shelley Vohr
e64e9995b6
small tweak to process spec
2017-10-26 20:53:47 -04:00
Shelley Vohr
13fc080213
small tweaks to global shortcut spec
2017-10-26 20:49:21 -04:00
Shelley Vohr
6feff1d6e8
update desktop capturer spec
2017-10-26 20:44:06 -04:00
Shelley Vohr
6cd308f9ad
update deprecations spec
2017-10-26 20:37:35 -04:00
Shelley Vohr
83a290a411
update debugger spec
2017-10-26 20:32:04 -04:00
Shelley Vohr
d4350079c9
update crash reporter spec
2017-10-26 20:21:36 -04:00
Shelley Vohr
56979804ec
update clipboard spec
2017-10-26 20:12:51 -04:00
Shelley Vohr
68314dbc05
remove stray only
2017-10-26 20:11:12 -04:00
Shelley Vohr
b53e41af42
migrate api-browser-view-spec to ES6
2017-10-26 20:05:15 -04:00
Shelley Vohr
17f4e53d6b
match earlier tests to ES6 later ones
2017-10-26 16:30:07 -04:00
Robin Andersson
08845c9903
Removed incorrect optional labels from tray.displayBalloon(options) docs
2017-10-26 20:21:09 +02:00
John Kleinschmidt
beb06c0787
Merge pull request #10537 from qazbnm456/improve-content_scripts.css
...
[Security] Use textContent instead innerHTML to remediate DOM based XSS
2017-10-26 11:51:43 -04:00
Charles Kerr
c72e0c1508
Merge pull request #10902 from mattlyons0/master
...
🐧 Don't wait for xdg-open to exit
2017-10-26 09:43:34 -05:00
John Kleinschmidt
b635962d2b
Fix rendering issues with Nvidia GPU on High Sierra
2017-10-26 10:29:24 -04:00
John Kleinschmidt
166fb476a3
Merge pull request #10899 from electron/turn-off-escape-analysis
...
fix: Apply escape analysis patch
2017-10-26 09:46:31 -04:00
Selwyn
0c9e106502
Update electron-download to version 4.1.0
...
Respects the OS cache location and be able to set he cache location by setting the environment variable `ELECTRON_CACHE`.
2017-10-26 14:17:34 +02:00
Cheng Zhao
bf92fa88b7
Merge pull request #15 from mgc/muon-crash-workarounds
...
Upstream Muon changes to avoid crashing
2017-10-26 18:46:25 +09:00
Cheng Zhao
3230048f81
Merge pull request #10918 from pfrazee/fix-protocol-crash-error
...
Fix crash in custom protocols caused by bad callback exec
2017-10-26 18:35:31 +09:00
Shelley Vohr
52cbec2438
Merge pull request #10911 from electron/fix_window_log_folder
...
🔧 Fix windows app log path
2017-10-26 01:01:42 -04:00
Shelley Vohr
bb04b22ec8
Merge pull request #10888 from electron/menu_refactor
...
refactor menu.js to bring it up to readability and es6 standards
2017-10-26 00:31:47 -04:00
Shelley Vohr
fc920ffd06
base::UTF8ToWide --> base::FromUTF8Unsafe
2017-10-26 00:27:27 -04:00
Shelley Vohr
c9dca6b8ad
remove unnecessary boolean
2017-10-26 00:21:52 -04:00
Shelley Vohr
246c808222
move away from wstring
2017-10-26 00:18:55 -04:00
Shelley Vohr
a431aa8c4a
Merge pull request #10762 from nuriu/patch-1
...
[docs] [tr-TR] Update README.md
2017-10-26 00:04:32 -04:00
Shelley Vohr
46b775bf46
Merge pull request #10890 from demopark/patch-4
...
Add a little translation for zh-CN
2017-10-26 00:03:11 -04:00
Shelley Vohr
5f6f117bad
changes from review
2017-10-25 23:41:11 -04:00
Paul Frazee
c2d9e082cb
Fix crash in custom protocols caused by bad callback exec
2017-10-25 21:01:53 -05:00
Cheng Zhao
4db34ff092
Merge pull request #10711 from yuya-oc/did-attach-webview
...
Add did-attach-webview event
2017-10-26 10:55:50 +09:00
Shelley Vohr
d4880b135a
revert ipc lookup table
2017-10-25 15:36:16 -04:00
Shelley Vohr
bccaf56200
remove common sense comments
2017-10-25 12:23:41 -04:00
Shelley Vohr
06811cc557
appropriately cast pointers to strings
2017-10-25 12:02:50 -04:00
Shelley Vohr
3c1c5a4099
combine homepath and homedrive into single line
2017-10-25 11:46:51 -04:00
Shelley Vohr
1e8bdc15e2
use _wgetenv to get windows env variables
2017-10-25 10:40:38 -04:00
Shelley Vohr
ffd43c1886
remove quotes and const replaces
2017-10-25 10:17:41 -04:00
Shelley Vohr
c0f2a7b44a
fix standard issues
2017-10-25 09:56:02 -04:00
Shelley Vohr
f129622446
clean up remote
2017-10-25 09:51:21 -04:00
Shelley Vohr
042f84140d
Merge pull request #10896 from electron/update_desktop_capturer
...
Update desktop capturer to ES6
2017-10-25 08:56:30 -04:00
Shelley Vohr
135454342d
remove .only from spec
2017-10-24 22:41:28 -04:00
Shelley Vohr
f7bc5481f3
add a few more tests to api_menu_spec
2017-10-24 22:40:31 -04:00
Matt Lyons
424f9aeae6
🐧 Don't wait for xdg-open to exit
...
Waiting for xdg-open to return freezes Electron application.
Some file managers (ex: Nemo) don't return until some time after they are closed, this freezes the Electron application until the process returns.
The same is true about any application that can potentially be opened with OpenItem
2017-10-24 19:39:54 -07:00
Shelley Vohr
d54148de4e
remove from spec
2017-10-24 20:31:02 -04:00
Shelley Vohr
0e6100ae17
upgrade menu spec to ES6
2017-10-24 20:27:26 -04:00
Felix Rieseberg
8d1ff1c59a
Merge pull request #10900 from electron/issue-10877
...
fix: Ensure that -r isn’t considered interactive
2017-10-24 17:21:08 -07:00
Felix Rieseberg
c38f66cc1b
🔧 Ensure that -r isn’t considered interactive
2017-10-24 17:00:42 -07:00
Shelley Vohr
7593bec687
update reviewed items
2017-10-24 19:36:06 -04:00
Shelley Vohr
e8935232b1
clean falsy statements
2017-10-24 18:52:12 -04:00
John Kleinschmidt
7e1adfcab7
Apply escape analysis patch
2017-10-24 16:28:05 -04:00
Shelley Vohr
98df153750
convert to map and remove shift param
2017-10-24 15:47:09 -04:00
Shelley Vohr
491a00fd84
clean main process desktop_capturer
2017-10-24 12:49:37 -04:00
Vanessa Yuen
aaa8aec946
trying out parameterized builds in circle
2017-10-24 12:42:45 -04:00
Shelley Vohr
b58ceae69c
appease linter gods
2017-10-24 12:28:15 -04:00
Shelley Vohr
43e118fe45
update desktop capturer and remove unnessary vars
2017-10-24 12:01:51 -04:00
John Kleinschmidt
36a51bbf4d
Merge pull request #10893 from maxibanki/patch-1
...
Fixed typo
2017-10-24 10:52:14 -04:00
Max Schmitt
c1cad655c8
Fixed typo
...
`thrid-party` => `third-party`
2017-10-24 11:46:14 +02:00
Matt Crocker
6ea2755095
Upstream Muon changes to avoid crashing
2017-10-23 23:19:23 -07:00
Jonas Zhang
e7649a800a
Add a little translation for zh-CN
...
Add a little translation for zh-CN
2017-10-24 14:02:07 +08:00
Shelley Vohr
75f32afcd5
clean up excess code from generateGroupId
2017-10-24 00:24:57 -04:00
Shelley Vohr
f93121b226
don't reassign parameters in Menu.prototype.popup
2017-10-24 00:07:39 -04:00
Shelley Vohr
b1e707d535
abstract out switch case from Menu.prototype.insert
2017-10-23 23:46:39 -04:00
Shelley Vohr
7c0f7329d9
appease the linter overlords
2017-10-23 22:35:42 -04:00
Shelley Vohr
508b614769
remove excess code in delegate
2017-10-23 22:33:23 -04:00
Shelley Vohr
9b364d5be3
refactor menuWillShow
2017-10-23 22:22:39 -04:00
Shelley Vohr
9038987e1d
significant cleanup; all tests still passing
2017-10-23 20:04:22 -04:00
Zeke Sikelianos
1672fd22e1
Merge pull request #10874 from Toinane/master
...
Update OSR with more details
2017-10-23 15:54:31 -07:00
Shelley Vohr
3fc5d51a96
clean up delegate
2017-10-23 18:35:16 -04:00
Shelley Vohr
577c0042b0
update to ES6
2017-10-23 14:47:47 -04:00
Toinane
db5a429948
fixe grammar
2017-10-23 18:36:52 +02:00
Shelley Vohr
87802b2c17
initial port of things into a Menu class
2017-10-23 12:11:59 -04:00
John Kleinschmidt
66846bff97
Automate release ( #10827 )
...
* Create prepare-release script
* Add script to merge release
* Cleanup/add logging
* Move release process out of upload.py
* Add cleanup release branch
* Update release doc to reflect new scripts
* Fix to allow running with notesOnly
Also fixup release name and body when beta release.
* Fix issues found during release
* Use getRelease instead of getAssets
github.repos.getAssets is limited to 30 entries which means we may not get back the file we are looking for.
* Documentation corrections
2017-10-23 11:02:50 -04:00
John Kleinschmidt
67f0eb7b3b
Merge pull request #10873 from ahmedmohamedali/fix_issue_10697
...
Fixes #10697
2017-10-23 09:32:28 -04:00
Shelley Vohr
61a93c711c
clean up popup
2017-10-23 00:47:02 -04:00
Shelley Vohr
f9c3123f5f
clean up menuWillShow
2017-10-23 00:16:35 -04:00
Shelley Vohr
1cd53768ab
clean up indexToInsertByPosition
2017-10-22 23:57:23 -04:00
Shelley Vohr
b7ebee985b
refactor indexOfItemById
2017-10-22 23:51:33 -04:00
Toinane
42f51850cc
Update OSR with more details
2017-10-22 00:15:30 +02:00
Ahmed Mohamed Ali
463260b249
Electron crashes if user clicks Dev Tools & Zoom options #10697
2017-10-21 22:21:24 +02:00
Taeho Kim
f8048977ac
📝 Use separate entitlements for login helper
2017-10-21 20:52:20 +09:00
Ahmed Mohamed Ali
1e9942c1bf
Fix js coding style errors
2017-10-20 08:46:41 +02:00
Ted Kim
4119da607f
Implement login helper to manage login item in Mac App Store build
2017-10-20 11:44:19 +09:00
Ahmed Mohamed Ali
9f3cfa2dbd
Fix crash that happens when the PDF viewer is refreshed.
...
The root cause is the PdfViewerHandler instanceis destroyed but not removed from the list of observer in WebContentsZoomController
2017-10-19 16:27:08 +02:00
Ahmed Mohamed Ali
44f91e12e1
Add tests for fix described in #10793
2017-10-19 16:15:02 +02:00
Zeke Sikelianos
306b627090
Merge pull request #10839 from qazbnm456/update_docs
...
[docs] update app.md
2017-10-18 20:35:11 -07:00
John Kleinschmidt
90e7d7e112
v1.8.2-beta.1
2017-10-18 16:49:32 -04:00
Boik
7be79613b8
according to https://github.com/electron/electron/pull/10670 , update app.md
2017-10-19 00:56:05 +08:00
Ahmed Mohamed Ali
05035eb1e3
Fix linefeeds
2017-10-18 17:36:56 +02:00
John Kleinschmidt
cf12d31875
Merge pull request #10834 from Vehemos/master
...
Updated online-offline-events.md
2017-10-18 10:06:27 -04:00
Sarthak Tripathi
32f92f7a90
Updated online-offline-events.md
...
Improved readability and simplicity.
2017-10-18 19:26:19 +05:30
Sarthak Tripathi
392f4b44f0
Updated online-offline-events.md
...
Added links, removed grammatical error.
2017-10-18 19:11:05 +05:30
John Kleinschmidt
a65ab1d5a7
Merge pull request #10829 from zombieleet/master
...
update docs to show usage of ipcRenderer.sendTo
2017-10-18 09:33:57 -04:00
John Kleinschmidt
57537ea10e
Merge pull request #10810 from qazbnm456/add_error_code_to_session_set_certificate_verify_proc
...
Add error code to session.setCertificateVerifyProc
2017-10-18 09:33:37 -04:00
John Kleinschmidt
51cbd977f0
Merge pull request #10534 from robbix1206/npx_in_quickstart
...
[Docs] Add npx command for node version 8.2.0 and later in quickstart guide
2017-10-18 09:32:30 -04:00
Sarthak Tripathi
392e88db34
Updated online-offline-events.md
...
Added more info, to clarify things.
2017-10-18 16:28:18 +05:30
73mp74710n
0a0897ef28
Update ipc-renderer.md
2017-10-18 02:52:02 +01:00
73mp74710n
5b193bad4b
Merge pull request #1 from zombieleet/zombieleet-patch-1
...
update docs to show usage of ipcRenderer.sendTo
2017-10-18 02:35:51 +01:00
73mp74710n
c647b0c65e
update docs to show usage of ipcRenderer.sendTo
2017-10-18 02:35:19 +01:00
Zeke Sikelianos
9193720789
Merge pull request #10825 from electron/vanessayuenn-patch-1
...
Fix link to version change rules
2017-10-17 14:53:02 -07:00
Vanessa Yuen
3208a77bf3
Fix link to version-change-rules
2017-10-17 13:37:05 -04:00
John Kleinschmidt
cbda307ebf
Merge pull request #10696 from primalmotion/patch-1
...
🍎 skip tabbing category if macOS < Sierra
2017-10-17 10:24:11 -04:00
Cheng Zhao
0358862066
Merge pull request #10812 from electron/fix_symbol_file_names
...
Use real shared library names for symbol files
2017-10-17 15:27:35 +08:00
Cheng Zhao
d901504ea9
Merge pull request #10804 from robinwassen/optional-cpplint
...
cpplint skip to run if dependencies has not been bootstrapped
2017-10-17 15:26:49 +08:00
Cheng Zhao
4dc74776c1
Merge pull request #10709 from electron/fix-notification-actions-hs
...
Fix notification actions not working on High Sierra
2017-10-17 15:18:53 +08:00
Zeke Sikelianos
71f13620d3
Merge pull request #10795 from samthomson/docs/shell-open-external
...
updated docs
2017-10-16 19:32:09 -07:00
Zeke Sikelianos
a914d3c534
Merge pull request #10612 from electron/notification-docs-fix
...
Add `string` to notification doc
2017-10-16 19:31:47 -07:00
Vanessa Yuen
242a55aa60
Merge pull request #10740 from demopark/patch-1
...
Add notification docs translation in Chinese
2017-10-16 21:16:47 -04:00
Vanessa Yuen
9045171ad7
Merge pull request #10748 from demopark/patch-2
...
Add notifications tutoral in Chinese
2017-10-16 21:07:23 -04:00
Vanessa Yuen
e5797a57a7
Merge pull request #10749 from demopark/patch-3
...
Add notification-action.md file in Chinese
2017-10-16 21:03:32 -04:00
Ales Pergl
3a571bbdb4
Use real shared library names for symbol files
2017-10-16 16:48:52 +02:00
Boik
f40cc5ab54
add error code to session.setCertificateVerifyProc
2017-10-16 17:17:21 +08:00
Robin Andersson
60e614b10c
cpplint skip to run if dependencies has not been bootstrapped
...
See #10593 for the discussion regarding this
2017-10-15 21:18:20 +02:00
Sam Thomson
f57b619097
updated docs
2017-10-14 13:11:44 +01:00
Ahmed Mohamed Ali
8763e8ee35
Fixing coding style
2017-10-14 11:17:52 +02:00
Ahmed Mohamed Ali
5030db000a
Applying changes requested by @deepak1556 after the review:
...
- Move RenderFrameHost methods in the UI thread
- Check GetAssociatedRenderFrame return value
2017-10-14 11:09:05 +02:00
Zeke Sikelianos
4c9d432bd9
Merge pull request #10777 from reviforks/fix-korean-typo
...
WIP: Fix Korean translation's minor mistakes
2017-10-13 15:42:12 -07:00
Ahmed Mohamed Ali
1ad95eca4a
Add support for pdf in sub frames ( https://github.com/electron/electron/issues/9192#issuecomment-335543866 )
2017-10-13 19:56:20 +02:00
Yongmin Hong
7b8dc38e88
Fix Korean grammatic mistakes
...
Mostly spacing errors. Haven't look at full Korean translation, but
will do.
Signed-off-by: Yongmin Hong <revi@pobox.com >
2017-10-13 02:58:44 +09:00
Samuel Attard
bce7d37086
Merge pull request #10773 from jeroenvisser101/patch-1
...
Fix link to libnotify spec
2017-10-13 02:09:05 +11:00
Birunthan Mohanathas
13b9b5c0c0
Merge pull request #10746 from electron/removeuserdefault
...
Add systemPreferences.removeUserDefault()
2017-10-12 16:08:57 +03:00
Jeroen Visser
cf6e3ca087
Fix link to libnotify spec
...
Link was broken
2017-10-12 14:55:21 +02:00
Nuri Uzunoğlu
b79e61db1d
[docs] [tr-TR] Update README.md
...
Minor changes.
2017-10-12 09:22:40 +03:00
Samuel Attard
bdf3552be6
Merge pull request #10727 from electron/named-nativeimage
...
Add an API to get a nativeImage from a named NSImage
2017-10-12 10:02:07 +11:00
Felix Rieseberg
26220f2b31
Merge pull request #10758 from electron/felixrieseberg-patch-1
...
Don't be quiet on default loglevel
2017-10-11 15:18:11 -07:00
John Kleinschmidt
f2a1f0124d
Merge pull request #10759 from electron/revert-official-build
...
Revert official build
2017-10-11 15:37:02 -04:00
Felix Rieseberg
2b510d7a06
Update install.js
2017-10-11 11:10:38 -07:00
Felix Rieseberg
d07529feca
🔧 Don't be quiet on default loglevel
2017-10-11 10:56:40 -07:00
John Kleinschmidt
6381f28847
Revert official build
...
Release builds are not currently building with official build
2017-10-11 11:38:50 -04:00
Jonas Zhang
af99e65876
Add notification-action.md file in Chinese
...
Add notification-action.md file in Chinese
2017-10-11 09:51:52 +08:00
Jonas Zhang
6fa9249062
Add notification.md file in Chinese
...
Add notification.md file in Chinese
2017-10-11 09:42:34 +08:00
Birunthan Mohanathas
06d782279c
Add systemPreferences.removeUserDefault()
...
This can be used to restore the default or global value of a `key`
previously set with `setUserDefault`.
2017-10-10 22:57:47 +03:00
John Kleinschmidt
88616df2e5
Merge pull request #10744 from robinwassen/docs-vs-download-link
...
📝 Updated with link to VS 2015
2017-10-10 15:51:16 -04:00
Robin Andersson
c51ac6048d
📝 Updated with link to VS 2015
...
The previous link pointed to VS 2017 download location.
2017-10-10 21:33:14 +02:00
John Kleinschmidt
30abdbccf8
Merge pull request #10688 from electron/retry-uploads
...
Add logic to retry github uploads
2017-10-10 09:46:20 -04:00
Jonas Zhang
66df065e31
Add notification.md file in Chinese
...
Add notification.md file in Chinese
2017-10-10 21:34:39 +08:00
Samuel Attard
ed25941c65
Add basic specs
2017-10-10 17:30:27 +11: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
4ffb6c5f75
Merge pull request #10725 from electron/version-lock-escape-item
...
Ensure that the touchbar's esape item can be set before setting it
2017-10-10 17:07:04 +11:00
Samuel Attard
b5ba8699f3
Enable hsl shifting of named images
2017-10-10 17:05:13 +11:00
Zeke Sikelianos
19ac2179fb
Merge pull request #10715 from electron/fix_toast_dpi_scaling
...
Fixed font DPI scaling
2017-10-09 12:56:45 -07:00
Zeke Sikelianos
1e6d51642c
Merge pull request #10728 from excfergodst/patch-1
...
Create updates.md
2017-10-09 12:56:26 -07:00
Zeke Sikelianos
878813f968
Merge pull request #10730 from excfergodst/excfergodst-smalldoc
...
Adding few simple docs
2017-10-09 12:56:03 -07:00
Zeke Sikelianos
d7e5855ebf
Merge pull request #10719 from yunzhenhuan/patch-1
...
Update build-instructions-linux.md
2017-10-09 12:55:29 -07:00
Zeke Sikelianos
a48219ecf2
Merge pull request #10731 from excfergodst/patch-7
...
Create v8-development.md
2017-10-09 12:54:58 -07:00
DaLun
995dccc726
Create v8-development.md
2017-10-09 13:00:35 -05:00
DaLun
0572b395ba
Delete v8-development.md
2017-10-09 12:55:49 -05:00
DaLun
6e08682a7f
Merge pull request #5 from excfergodst/patch-6
...
Create crash-report.md
2017-10-09 12:52:09 -05:00
DaLun
000ea8febd
Merge pull request #4 from excfergodst/patch-5
...
Create upload-blob.md
2017-10-09 12:52:00 -05:00
DaLun
b02691cebd
Merge pull request #3 from excfergodst/patch-4
...
Create size.md
2017-10-09 12:51:44 -05:00
DaLun
909fc98e1b
Merge pull request #2 from excfergodst/patch-3
...
Create point.md
2017-10-09 12:51:33 -05:00
DaLun
53d138505a
Create crash-report.md
2017-10-09 12:47:42 -05:00
DaLun
e655222d2f
Create upload-blob.md
2017-10-09 12:45:56 -05:00
DaLun
d096fc8acf
Create size.md
2017-10-09 12:37:48 -05:00
DaLun
48be4e765a
Create point.md
2017-10-09 12:36:27 -05:00
DaLun
841763326a
Create v8-development.md
2017-10-09 12:29:59 -05:00
DaLun
2ed2aedb00
Create updates.md
2017-10-09 12:13:00 -05: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
ec610cd97b
Document new nativeImage.createFromNamedImage method
2017-10-10 03:16:24 +11:00
Samuel Attard
e027ba9c47
Add nativeImage.createFromNamedImage API
2017-10-10 03:13:40 +11:00
Samuel Attard
d350134c4f
Ensure that the touchbar's esape item can be set before setting it
2017-10-10 02:24:49 +11:00
XiYang
b8a58d0fce
Update build-instructions-linux.md
2017-10-09 17:30:05 +08:00
Ales Pergl
1d25d58c26
Fixed font DPI scaling
2017-10-09 10:17:00 +02:00
Zeke Sikelianos
c85b159d46
Merge pull request #10712 from electron/remove-default-deprecation
...
remove potential deprecation and fix app close
2017-10-07 22:03:32 -07:00
Felix Rieseberg
77d4927e8b
Merge pull request #10713 from electron/remote-node-warning-2
...
Tiny fix: String comparison for remote node warning
2017-10-07 10:04:49 -07:00
Felix Rieseberg
2bd8877be3
🔧 String comparison
2017-10-07 08:26:32 -07:00
Shelley Vohr
242e097e9b
Merge pull request #10670 from electron/add-linuxdefaultprotocol
...
add setAsDefaultProtocolClient for Linux
2017-10-07 10:07:02 -05:00
Shelley Vohr
443c30890b
remove dummy check
2017-10-07 10:38:08 -04:00
Yuya Ochiai
6326c6727e
Add did-attach-webview event
2017-10-07 22:52:20 +09:00
Zeke Sikelianos
61e606bedc
Merge pull request #10336 from electron/document-prereleases
...
document new release and versioning process
2017-10-06 22:14:42 -07:00
Shelley Vohr
bedb8ca191
remove potential deprecation and fix app close
2017-10-07 01:03:54 -04:00
Shelley Vohr
35eea8bea5
remove unused xdg setting
2017-10-07 00:38:25 -04:00
Shelley Vohr
66827755e7
remove chrome check and change protocol handler
2017-10-07 00:36:18 -04:00
Shelley Vohr
85ef1ee21f
Merge pull request #10633 from electron/update-default-app
...
updates to default app and cli usage
2017-10-06 23:08:23 -05:00
Samuel Attard
e5d4574d3a
Use NSUserNotification identifiers to uniquely find the correct notification from CocoaNotification
2017-10-07 14:51:28 +11:00
Shelley Vohr
a1347f67a1
remove a space from a comment wow thanks linter
2017-10-06 23:40:58 -04:00
Shelley Vohr
c9da806c84
slight refactor and lin cleanup
2017-10-06 23:32:46 -04:00
Shelley Vohr
a45b1625fc
remove newline and add deprecation warning
2017-10-06 23:29:54 -04:00
Felix Rieseberg
1761d5da06
Merge pull request #10708 from electron/remote-node-warning
...
Warn if loading remote content with nodeIntegration
2017-10-06 16:17:52 -07:00
Felix Rieseberg
63749e281d
🔧 Linters gotta lint
2017-10-06 13:36:54 -07:00
Felix Rieseberg
11ac780caf
🔧 Add security warning
2017-10-06 13:02:54 -07:00
Vanessa Yuen
31eb83223b
Update the documentation on the release process to reflect the new versioning policy.
2017-10-06 11:48:09 -04:00
Vanessa Yuen
7062a6e55d
remove the condition where release draft has to have a prerelease flag
2017-10-06 11:47:28 -04:00
Antoine
5e6b683cfb
fixed: trying to fix the build
2017-10-05 15:57:27 -07:00
Antoine
8e1945f768
🍎 skip tabbing category if macOS < Sierra
...
Previously, the macro was ensuring the` MAC_OS_X_VERSION_10_12` was not defined to decide to compile a `NSWindow` category back porting native tabs or not.
This patch ensures to compile the `NSWindow` category only if the min required version is lesser than 1012 (`MAC_OS_X_VERSION_10_12`)
2017-10-05 14:11:58 -07:00
John Kleinschmidt
0ae12c2b3d
Add success message
...
Also increase retries to 5 attempts.
2017-10-05 16:31:54 -04:00
John Kleinschmidt
54563dc94c
Add logic to retry github uploads
...
When doing release, sometimes the GitHub upload fails, so try to retry it once before bailing.
2017-10-05 16:31:18 -04:00
Zeke Sikelianos
f81e4ec972
order change reasons major, minor, patch
2017-10-05 10:52:38 -07:00
John Kleinschmidt
d7aa0b0ddb
Merge pull request #10694 from electron/official-build
...
Update libchromiumcontent with official_build turned on
2017-10-05 09:48:49 -04:00
Cheng Zhao
e098f414e4
Update libchromiumcontent with official_build turned on
2017-10-05 18:14:12 +09:00
Shelley Vohr
f8f21815eb
syntax updates and pointer conversion
2017-10-05 00:30:14 -04:00
Cheng Zhao
80e6a64e47
Merge pull request #10361 from sbannigan/feature/tray-events
...
add mouse-move event and click event position for tray
2017-10-05 12:20:00 +09:00
Cheng Zhao
bb71b09452
Fix building on Windows
2017-10-05 11:51:41 +09:00
Cheng Zhao
4342480473
Fix cpplint warnings
2017-10-05 11:49:26 +09:00
Sean Bannigan
0b205019b6
add mouse-move event and click event position for tray
2017-10-05 11:41:08 +09:00
Cheng Zhao
ee519b7552
Merge pull request #10693 from makerGeek/patch-1
...
Update atom-shell-vs-node-webkit.md
2017-10-05 10:21:10 +09:00
Zeke Sikelianos
fae918be59
Merge pull request #10681 from fplucas/master
...
📝 Translation of environment-variables.md to pt-br [ci skip]
2017-10-04 12:45:37 -07:00
Zeke Sikelianos
b77fe4ca12
add more details to versioning docs
2017-10-04 12:41:12 -07:00
Daniel Imms
3a0de7e24a
New release schedule proposal
2017-10-04 12:12:11 -07:00
Zeke Sikelianos
44572dce7d
add sh to code block
2017-10-04 12:05:34 -07:00
Zeke Sikelianos
ba6f01a109
add missing backtick
2017-10-04 12:05:34 -07:00
Vanessa Yuen
9f55e162a3
add section on dist-tags
2017-10-04 12:05:34 -07:00
Zeke Sikelianos
d51a8accee
tweak versioning doc
2017-10-04 12:05:34 -07:00
Zeke Sikelianos
cd411a5c36
document how we define stable
2017-10-04 12:05:34 -07:00
Zeke Sikelianos
fe7c827e30
remove section on semver, as electron does not fit its mold
2017-10-04 12:05:34 -07:00
Zeke Sikelianos
cc80930e2b
document prereleases
2017-10-04 12:05:34 -07:00
Moetaz
d20ce404ef
Update atom-shell-vs-node-webkit.md
...
nwjs now supports a js script as entrypoint.
cf. http://docs.nwjs.io/en/latest/References/Manifest%20Format/#main
2017-10-04 21:01:39 +02:00
John Kleinschmidt
2d269fb7f1
Merge pull request #10690 from electron/fix-tabbed-window-test
...
Fix failing tests on master
2017-10-04 14:29:38 -04:00
John Kleinschmidt
15bfb86eec
Make sure test closes window
...
Newly added test was leaving window open causing tests to fail
2017-10-04 11:35:41 -04:00
Cheng Zhao
8c5bb5969c
Merge pull request #10667 from dittos/window-opacity
...
Add window opacity support
2017-10-04 15:03:45 +09:00
Felix Rieseberg
a337b12877
Merge pull request #10680 from electron/idlewakeups-windows
...
Don't call GetIdleWakeupsPerSecond on Win
2017-10-03 22:04:55 -07:00
Felix Rieseberg
4e05d24d1b
Merge pull request #10661 from electron/browserview-multiple-screens
...
BrowserView: Allow dragging of window to screen above menubar
2017-10-03 16:09:11 -07:00
John Kleinschmidt
5c94e23004
Merge pull request #10683 from electron/format-fix-bump-version
...
Fix formatting on bump-version.
2017-10-03 16:07:24 -04:00
John Kleinschmidt
587c49f6b1
Fix formatting on bump-version.
2017-10-03 15:35:49 -04:00
John Kleinschmidt
211688453c
Merge pull request #10403 from electron/modify-bump-version
...
Modify `bump-version.py`
2017-10-03 14:23:33 -04:00
Lucas Pugliesi
5e7a45d6da
Fix link to environment-variables.md in pt-br
2017-10-03 15:22:53 -03:00
Lucas Pugliesi
f72c72f4d4
Fix link to environment-variables.md in pt-br
2017-10-03 15:20:41 -03:00
Lucas Pugliesi
028bab0320
Merge remote-tracking branch 'upstream/master'
2017-10-03 14:57:37 -03:00
Lucas Pugliesi
ee2168b94d
📝 Translation of environment-variables.md to pt-br [ci skip]
2017-10-03 14:54:58 -03:00
Felix Rieseberg
c4de658964
📝 Make a note in the docs
2017-10-03 10:25:42 -07:00
Felix Rieseberg
9fcf7eb27c
🔧 Don't call GetIdleWakeupsPerSecond on Win
2017-10-03 10:21:31 -07:00
Shelley Vohr
6131a523dc
add xdg helper method
2017-10-03 11:10:38 -04:00
John Kleinschmidt
93e40ee79c
Merge pull request #10677 from rhysd/fix-doc-findInPage
...
Fix findInPage() documentation for correcting type definition
2017-10-03 10:16:39 -04:00
Cheng Zhao
150a4797a4
Merge pull request #10676 from qazbnm456/fix-unhandle-null-pointer
...
Add a null-pointer check before processing base::SupportsUserData::GetUserData
2017-10-03 20:18:51 +09:00
Cheng Zhao
745fa707dd
Merge pull request #10508 from danielma/dma/native-tab-new-button
...
feat(NativeWindowMac): addTabbedWindow
2017-10-03 20:16:50 +09:00
Cheng Zhao
09b93aa164
No need of example for such simple API
2017-10-03 20:12:05 +09:00
Daniel Ma
1bb042a661
feat(NativeWindowMac): addTabbedWindow
...
Add support for the [`NSWindow addTabbedWindow`][nsw] method on MacOSX
This plays nicely with the changes from #9052 and #9725
Usage samples available in [this commit][c] in my fork of
`electron-quick-start`
[nsw]: https://developer.apple.com/documentation/appkit/nswindow/1855947-addtabbedwindow
[c]: 79f06591df
2017-10-03 20:11:16 +09:00
rhysd
32ad59de26
Fix findInPage() documentation for correcting type definition
...
This update fixes the return type of `findInPage()`, which is currently
typed as `void` but actually it should be `number`.
2017-10-03 16:39:37 +09:00
Boik
d594092675
add a null-pointer check before processing base::SupportsUserData::GetUserData
2017-10-03 12:42:35 +08:00
Taeho Kim
7570ec9d39
Add BrowserWindow.getOpacity for consistency
2017-10-03 00:08:10 +09:00
Shelley Vohr
3f73e000ee
first pass at adding linux setAsDefaultProtocolClient
2017-10-02 10:21:30 -04:00
Taeho Kim
7df5182901
Fix lint
2017-10-02 09:52:27 +09:00
Taeho Kim
7c1c8f323c
Update browser-window.md
2017-10-01 17:36:22 +09:00
Shelley Vohr
68d35dbeb1
Merge pull request #10660 from electron/add_probot_stale
...
add initial file for stale bot
2017-09-29 19:47:08 -04:00
Shelley Vohr
7a163ef0cc
add issue maintenance and closure information
2017-09-29 18:37:45 -04:00
John Kleinschmidt
b77467ca8f
Update CI information ( #10644 )
...
* Update CI information
* Formatting updates
2017-09-29 16:11:42 -04:00
Zeke Sikelianos
e8ec1a6ed4
add utm source to outbound links
2017-09-29 12:31:17 -07:00
Zeke Sikelianos
bf2b6b3ac4
fix link behavior
2017-09-29 12:26:03 -07:00
Zeke Sikelianos
56581b416d
improve command prompt styles
2017-09-29 12:13:31 -07:00
Zeke Sikelianos
a2f178b664
fix octicon alignment
2017-09-29 12:03:28 -07:00
Zeke Sikelianos
01ca3ae07f
make nav link text clickable
2017-09-29 12:03:12 -07:00
Zeke Sikelianos
cc6803b358
remove unused styles
2017-09-29 11:35:39 -07:00
Zeke Sikelianos
33394f76d4
make styles more consistent with website
2017-09-29 11:35:22 -07:00
Zeke Sikelianos
f0048d54b0
make it roomy
2017-09-29 11:34:48 -07:00
Felix Rieseberg
0cc1ebc021
🔧 Allow dragging window to screen above menubar (for real)
2017-09-29 14:20:34 -04:00
Vadim Macagon
3ad1cccb1d
[ci skip] Fix link to Chromium Runtime Features JSON file ( #10639 )
2017-09-29 14:17:00 -04:00
Zeke Sikelianos
9f895879bf
Merge pull request #10191 from electron/add_log_path_support
...
add ability to access logs in getPath()
2017-09-29 11:11:29 -07:00
Zeke Sikelianos
9db9ffd3e4
chrome -> chromium
2017-09-29 10:41:48 -07:00
Zeke Sikelianos
0ca53420d5
use relative path to electron
2017-09-29 10:41:20 -07:00
Shelley Vohr
6932a42b0a
updates to probot config
2017-09-29 13:28:49 -04:00
Shelley Vohr
b1e6845409
add initial file for stale bot
2017-09-29 10:38:38 -04:00
Shelley Vohr
96f1a25bbd
convert to wstring for windows
2017-09-29 10:29:45 -04:00
Shelley Vohr
e7bb553d3b
consolidate code and rename for clarity
2017-09-29 09:32:30 -04:00
Ted Kim
7f2c4a9e06
Add window opacity support
2017-09-29 17:49:10 +09:00
Shelley Vohr
c620d0de05
move overrides into the appropriate namespace
2017-09-28 23:03:01 -04:00
John Kleinschmidt
04430c6dda
Bump to use large machine for arm64 build
2017-09-28 13:55:06 -04:00
Shelley Vohr
0dfadf7c09
remove unresolved external symbol
2017-09-28 13:35:24 -04:00
Shelley Vohr
911e266e9a
add function signature declaration
2017-09-28 13:35:24 -04:00
Shelley Vohr
223942bf99
fix incorrect std namespacing
2017-09-28 13:35:24 -04:00
Zeke Sikelianos
94f46c9059
fix typo in comment
2017-09-28 13:35:24 -04:00
Shelley Vohr
fc443a8c2c
fix header and line length lint errors
2017-09-28 13:35:24 -04:00
Shelley
e05f6102c2
update docs for new getPath() path
2017-09-28 13:35:24 -04:00
Shelley Vohr
d2d4b4cc23
fix escape backslashes
2017-09-28 13:35:24 -04:00
Shelley Vohr
c1c8f7b0f1
fix string concat errors
2017-09-28 13:35:23 -04:00
Shelley Vohr
2353fdb400
add dir creation if none exists
2017-09-28 13:35:23 -04:00
Shelley Vohr
e81cf74b39
add windows override path and cleanup linux
2017-09-28 13:35:23 -04:00
Shelley Vohr
e096b5ce83
fix override path
2017-09-28 13:35:23 -04:00
Shelley Vohr
3de008035a
appeasing the linter
2017-09-28 13:35:23 -04:00
Shelley Vohr
f026bbb454
add first go at linux log path override
2017-09-28 13:35:23 -04:00
Shelley Vohr
5ef4caf8ab
add ability to access logs in getPath()
2017-09-28 13:35:22 -04:00
John Kleinschmidt
7788b33dc9
Bump v1.8.1
2017-09-28 13:13:49 -04:00
John Kleinschmidt
d9d557dcc5
CircleCI updates ( #10647 )
...
* Update CircleCi for release and test
* Update test storage dir
2017-09-28 13:05:42 -04:00
Shelley Vohr
2915617c5c
dear god never run beautifier again
2017-09-28 00:10:52 -04:00
Shelley Vohr
0f34967648
redesign and add versions/links
2017-09-27 23:51:53 -04:00
Zeke Sikelianos
0c9ada08a4
Merge pull request #10326 from develar/patch-4
...
docs: add note about electron-updater
2017-09-27 15:14:44 -07:00
Felix Rieseberg
89246f3714
🔧 Allow dragging over menubar
2017-09-27 17:43:09 -04:00
Shelley Vohr
24913a5ef9
remove drag functions
2017-09-27 14:50:46 -04:00
Shelley Vohr
2289d085fa
first pass at reorganizing default usage
2017-09-27 14:23:42 -04:00
Birunthan Mohanathas
945fef8a5a
Merge pull request #10483 from jublonet/fix-double-downloads
...
Use Squirrel.Windows --checkForUpdate
2017-09-27 20:26:24 +03:00
Zeke Sikelianos
928d2f78c3
Merge pull request #10555 from electron/CODEOWNERS
...
add CODEOWNERS file
2017-09-27 09:07:38 -07:00
Felix Rieseberg
04373b8658
Merge pull request #10627 from electron/fullscreen-drag
...
Don't drag fullscreen window
2017-09-27 08:08:08 -07:00
Birunthan Mohanathas
044a3a29a6
Simplify checking for NSFullScreenWindowMask
2017-09-27 16:36:18 +03:00
Vladimir Krivosheev
2e747e72cf
change wording
2017-09-27 07:11:21 +02:00
Zeke Sikelianos
494000114c
Merge pull request #10614 from electron/upload-overwrite
...
Document how to fix a published release
2017-09-26 21:56:37 -07:00
Zeke Sikelianos
415f1ca3a4
clarify bootstrapping command arg
2017-09-26 21:55:56 -07:00
Zeke Sikelianos
750f59cb55
make the @hubbers team own the .github directory
2017-09-26 20:11:41 -07:00
Cheng Zhao
18589a498c
Merge pull request #10620 from electron/v8-promise-field
...
Update libchromiumcontent to fix crash in Node
2017-09-27 12:11:27 +09:00
Shelley Vohr
15b0878a17
Merge pull request #10618 from electron/add-menuitembyid
...
[WIP] add getMenuItemById to Menu API
2017-09-26 22:33:05 -04:00
Shelley Vohr
05c50b0a2e
fix docs typo
2017-09-26 21:30:27 -04:00
Cheng Zhao
8062962d01
Define V8_PROMISE_INTERNAL_FIELD_COUNT=1
2017-09-27 10:20:06 +09:00
Shelley Vohr
31bf873c20
add docs update for new api call
2017-09-26 21:14:44 -04:00
Cheng Zhao
6e85f82d7a
Update libchromiumcontent to fix crash in Node
2017-09-27 10:11:37 +09:00
Shelley Vohr
c932871bb1
change default to null
2017-09-26 20:35:14 -04:00
Shelley Vohr
3c6a7c332a
add unit test for getMenuItemById
2017-09-26 20:05:51 -04:00
Felix Rieseberg
d45788a7b8
🔧 Don't drag fullscreen window
2017-09-26 18:03:44 -04:00
Shelley Vohr
f49f7d65a5
remove check on items instance
2017-09-26 14:38:34 -04:00
Zeke Sikelianos
9b6f9a0b18
fix typos in releasing doc
2017-09-26 11:10:29 -07:00
Shelley Vohr
afe033a6e1
stray semicolon fml
2017-09-26 12:10:16 -04:00
Shelley Vohr
4753ada7a9
rewrite method with only id parameter
2017-09-26 12:05:45 -04:00
Shelley Vohr
5217718d7b
conform to linter standard
2017-09-26 09:50:47 -04:00
Shelley Vohr
ea42851c9b
add first pass at getMenuItemById
2017-09-26 09:47:13 -04:00
Cheng Zhao
91e11f8e6f
Merge pull request #10609 from electron/win32_toast_update
...
Fix for narrowing conversion warnings, minor style change
2017-09-26 10:50:45 +09:00
Cheng Zhao
3545280e1d
Add --overwrite to the upload script
2017-09-26 10:43:43 +09:00
Cheng Zhao
c70508edb1
docs: How to re-upload binaries manually
2017-09-26 10:30:42 +09:00
Cheng Zhao
de4cb9022b
Use same -ing form and remove trailing whitespaces
2017-09-26 10:18:38 +09:00
Felix Rieseberg
dfd90c3526
Merge pull request #10611 from electron/fix-notification-source
...
Browser-process notifications: Ensure correct icon on Windows
2017-09-26 09:54:43 +09:00
Felix Rieseberg
ff97817668
Add string to notification doc
...
Tiny fix: The docs suggest `NativeImage` for `icon`, but a string is also allowed.
2017-09-25 14:02:59 -07:00
Felix Rieseberg
741dc1eb0b
🔧 Ensure correct path
2017-09-25 13:51:16 -07:00
Zeke Sikelianos
c33c21e174
Merge pull request #10573 from electron/add-clarification-about-main-process
...
add clarification about main process
2017-09-25 12:40:45 -07:00
Ales Pergl
75feb495ad
Fix for narrowing conversion warnings, minor style change
2017-09-25 18:08:54 +02:00
Aleš Pergl
2abde14a7c
Merge pull request #10517 from yuya-oc/win7-notification-duration
...
Set duration for Windows 7 notifications based on Control Panel
2017-09-25 17:04:08 +02:00
Cheng Zhao
aeb568b41f
Merge pull request #10052 from electron/views-browserview-bounds
...
Fix BrowserView auto-resize and BrowserWindow resize event on Windows
2017-09-25 14:12:31 +09:00
Birunthan Mohanathas
e1ddd3bdbc
Stop sending resize event for minimized windows on Windows
...
This makes it consistent with macOS.
This also fixes BrowserView auto-resize on Windows when minimizing and
restoring the window. Previously it would incorrectly grow too in some
cases.
2017-09-25 11:44:32 +09:00
Birunthan Mohanathas
f3f6bedf8e
Make BrowserView auto-resize relative to window size on Windows/Linux
...
Previously it was relative to the window web contents size, which was
not consistent with macOS.
2017-09-25 11:44:32 +09:00
Cheng Zhao
42a2126273
Merge pull request #10602 from electron/fix-singleton-test
...
Fix the flaky test of app.makeSingleInstance
2017-09-25 11:44:00 +09:00
Cheng Zhao
d87ea5713d
spec: It is not certain which process starts first
2017-09-25 11:19:25 +09:00
Cheng Zhao
5940231b76
spec: Do not assume which process exits first in singleton test
2017-09-25 10:49:54 +09:00
Zeke Sikelianos
d54cb307d5
do not use globs
2017-09-24 11:34:08 +09:00
Zeke Sikelianos
2bb26b30dc
add CODEOWNERS file
2017-09-24 11:34:08 +09:00
Zeke Sikelianos
696c7d59fd
Merge pull request #10592 from electron/revert-9603-printer-info-options
...
Revert "PrinterInfo options object causes TypeScript error"
2017-09-24 11:29:54 +09:00
Zeke Sikelianos
d27f7c25b3
Revert "PrinterInfo options object causes TypeScript error"
2017-09-24 11:11:04 +09:00
Zeke Sikelianos
5843c98153
Merge pull request #10505 from qazbnm456/update-docs
...
docs: update web-request.md
2017-09-24 09:36:23 +09:00
Zeke Sikelianos
d552c97599
Merge pull request #10542 from EthianWong/master
...
Remove non-existent option
2017-09-24 09:33:43 +09:00
Zeke Sikelianos
a99280398b
Merge pull request #10550 from ColMugX/patch-1
...
fix menu-item.md chinese version: a typo.
2017-09-24 09:32:51 +09:00
John Kleinschmidt
cb7f8e256e
Change GitHub upload to use JS GitHub lib
...
Needed for Appveyor when running releases
2017-09-24 06:26:04 +09:00
Yuya Ochiai
d621471eb2
🏁 Set duration for Windows 7 notifications based on Control Panel
2017-09-22 21:28:29 +09:00
Cheng Zhao
ec587032b2
Merge pull request #10516 from electron/fix_notification_crash
...
Fixed potential crash in Win32 notifications.
2017-09-22 12:29:53 +09:00
Cheng Zhao
df098c2b2b
Merge pull request #10520 from Alex-D/patch-1
...
Bump node version number
2017-09-22 12:20:38 +09:00
Zeke Sikelianos
5b5c4787e9
add-clarification-about-main-process
2017-09-22 10:52:43 +09:00
Samuel Attard
c4cfb3e711
Merge pull request #10518 from electron/fix-makesingleinstance
...
Fix app.makeSingleInstance hanging on posix systems
2017-09-20 13:54:47 +10:00
Cheng Zhao
b4075bed87
spec: Add test case for app.makeSingleInstance
2017-09-20 11:58:32 +09:00
Cheng Zhao
b7119b5756
Create watcher when message loop is ready
2017-09-20 11:58:32 +09:00
Samuel Attard
4147fa4629
Appease the linting gods
2017-09-20 11:58:32 +09:00
Samuel Attard
0ab83b301d
Refactor as per @zcbenz comments
...
Also fix issue where we run the single instance callback *not* on the UI thread,
this apparently results in a hung process.
2017-09-20 11:58:32 +09:00
Samuel Attard
ecbeb0d117
Woops, how did that happen ;)
2017-09-20 11:58:32 +09:00
Samuel Attard
f928a399ae
Move OnBrowserReady call to PreMainMessageLoopRun to account for timing issues on macOS
2017-09-20 11:58:32 +09:00
Samuel Attard
28900a9b63
Fix app.makeSingleInstance hanging on posix systems
...
Wait for the IO thread to be a thing before attempting to listen on the socket
Fixes #9880
2017-09-20 11:58:32 +09:00
Shelley Vohr
fb6a4febb0
Merge pull request #10552 from electron/fix-shell-openItem
...
update shell.OpenItem to use NSWorkspace
2017-09-19 22:00:40 -04:00
Shelley Vohr
27fd2dad59
update shell.OpenItem to use NSWorkspace
2017-09-19 18:15:37 -04:00
Co1MugX
639f445f5e
zh-CN doc had a typo.
...
zh-CN doc had a typo.
2017-09-19 22:48:33 +08:00
WangYunjian
fa8649e671
Remove non-existent attributes
...
More details: 8d3e09747a
2017-09-18 13:31:54 +08:00
Samuel Attard
fa444dd029
Merge pull request #10540 from bpasero/touchbar-docs
...
Docs: set iconPosition as optional
2017-09-18 13:01:02 +10:00
Benjamin Pasero
ba5fe1d161
set iconPosition as optional
2017-09-17 17:44:36 +02:00
Milan Burda
9cfadbe6af
Merge pull request #10509 from kewde/patch-1
...
docs: fix examples for sandbox
2017-09-17 12:26:27 +02:00
Boik
16499358b3
fix lint
2017-09-17 14:09:12 +08:00
Boik
d86724f17a
code improvement
2017-09-17 13:56:22 +08:00
Boik
26e6f2c46c
use textContent instead innerHTML to remediateDOM based XSS vulnerbilities
2017-09-17 11:27:03 +08:00
robbix1206
0bcc5d37ab
Put npx as last option
2017-09-16 15:37:26 +02:00
robbix1206
564ca27679
Forget a #
2017-09-16 14:09:31 +02:00
robbix1206
9fecf4b2f7
Add npx command for node version 8.2.0 and later
2017-09-16 14:03:09 +02:00
Cheng Zhao
800ba9a325
Merge pull request #9950 from alexstrat/fix-content-script-insecure-contents
...
Fix mixed content errors when loading content from `chrome-extension`
2017-09-15 20:45:57 +09:00
Cheng Zhao
b277353238
Set secure schemes in native code
...
Code with same functionalities should be put together.
2017-09-15 16:48:55 +09:00
Alexandre Lachèze
5eb4b9ad6f
Fix insecure content errors when loading content from chrome-extension
2017-09-15 16:32:47 +09:00
Alexandre Demode
8ebab10cb0
Bump node version number
2017-09-15 00:58:31 +02:00
Cheng Zhao
fc99785314
Merge pull request #10076 from alexstrat/add/add-support-for-content_scripts.css
...
Add support for css in content_scripts
2017-09-14 21:19:11 +09:00
Ales Pergl
af92a639be
Fixed potential crash in Win32 notifications.
2017-09-14 11:52:53 +02:00
Alexandre Lachèze
e1a232e7c8
Add support for css in content_scripts
2017-09-14 17:23:33 +09:00
Cheng Zhao
6bf2ec4188
Merge pull request #10514 from electron/mac-crash
...
Suppress the destroy() spec on all platforms
2017-09-14 17:21:53 +09:00
Cheng Zhao
af329a9429
Suppress the destroy() spec on all platforms
...
It is also crashing on mac, but just not as frequent as other platforms.
2017-09-14 17:20:14 +09:00
Cheng Zhao
07840906dd
Merge pull request #9869 from rafaelnobrepd/handoff-enhancements
...
Exposes more Handoff related APIs to Electron
2017-09-14 17:18:14 +09:00
Cheng Zhao
ff023115f5
Style fixes
2017-09-14 16:12:34 +09:00
Rafael Nobre
33dd5e26fb
Updates documentation for Handoff related API.
2017-09-14 15:59:43 +09:00
Rafael Nobre
77a1c5d7fc
Avoids deadlock in case NSUserActivityDelegate method start being called from main thread.
2017-09-14 15:59:43 +09:00
Rafael Nobre
9483f0fc14
Adds synchronization logic to allow NSUserActivityDelegate to wait Javascript updating the NSUserActiity UserInfo if requested.
2017-09-14 15:59:43 +09:00
Rafael Nobre
c23b4a48ec
Fixes NSUserActivityDelegate that was called on a background thread thus not working.
2017-09-14 15:59:43 +09:00
Rafael Nobre
76efee675f
Requests updated user info data before each Handoff operation.
2017-09-14 15:59:43 +09:00
Rafael Nobre
f6ac00532f
Fix typo and remove extraneous doc entries.
2017-09-14 15:59:43 +09:00
Rafael Nobre
a870799c32
Exposes more Handoff related APIs to Electron.
2017-09-14 15:59:43 +09:00
Cheng Zhao
787675ab08
Merge pull request #9343 from xaviergonz/fix-osx-child-window-show
...
Make OSX child windows honor the show option to fix #8836
2017-09-14 15:50:13 +09:00
Cheng Zhao
ac55c358e9
Merge pull request #9603 from electron/printer-info-options
...
PrinterInfo options object causes TypeScript error
2017-09-14 15:49:41 +09:00
Kevin Sawicki
53b0698ee2
Add options object
2017-09-14 14:57:59 +09:00
Cheng Zhao
073583ff3d
spec: The parent option should not affect show option
2017-09-14 14:48:42 +09:00
Cheng Zhao
19a7c7ac39
Styling fixes
2017-09-14 14:43:22 +09:00
xaviergonz
0d69738bd6
using standard javascript
2017-09-14 14:38:54 +09:00
xaviergonz
0301961c25
Update api-browser-window-spec.js
2017-09-14 14:38:54 +09:00
xaviergonz
e18cdc185a
add the fix for showinactive
2017-09-14 14:35:53 +09:00
xaviergonz
d0c91daaed
make sure setparentwindow only shows the window if already visible
2017-09-14 14:35:53 +09:00
xaviergonz
dc7cc6921e
fix for mac child windows so they honor show option
2017-09-14 14:35:53 +09:00
xaviergonz
dae63d323c
add new internal set parent window method
2017-09-14 14:33:24 +09:00
Cheng Zhao
a19a229a59
Merge pull request #10254 from zachflower/feature/simple-fullscreen-mode
...
Feature/simple fullscreen mode
2017-09-14 09:39:50 +09:00
Kewde
589585a269
Fix examples
...
w -> win
2017-09-13 20:53:30 +00:00
Zachary Flower
432b912c6a
🎨 Rename ambiguous simple_fullscreen_ variable to always_simple_fullscreen_
2017-09-13 12:16:37 -06:00
John Kleinschmidt
5819acfd3d
Rerun builds
2017-09-13 10:25:42 -04:00
Boik
0d312f3674
docs: update web-request.md
2017-09-13 22:09:21 +08:00
John Kleinschmidt
64c8ff62af
Add CircleCI for Linux builds ( #10344 )
2017-09-13 09:48:19 -04:00
Cheng Zhao
2048a1a638
Merge pull request #10429 from qazbnm456/web-request-origin
...
Track the origin of webRequest events
2017-09-13 22:23:44 +09:00
Cheng Zhao
c34fb146f6
Fix styling
2017-09-13 21:40:29 +09:00
Vanessa Yuen
c39f5f1fad
Merge pull request #9814 from shubham2892/fix-fullscreen-with-resizable-flag
...
Fix full screen when resizable is set to true
2017-09-12 20:20:19 -04:00
Vanessa Yuen
9a7d8a0511
merge master into fix-fullscreen-with-resizable-flag.
2017-09-12 18:34:23 -04:00
Vladimir Krivosheev
6bded6bf7b
Fix link
2017-09-12 21:37:29 +02:00
Zachary Flower
fa4d52f042
🎨 Track/restore original stylemask, rather than individual states.
2017-09-12 12:27:30 -06:00
Zeke Sikelianos
618f8a9d06
Merge pull request #10497 from Toinane/fix-word-docs
...
Add markdown linking when missing
2017-09-12 08:49:35 -07:00
Milan Burda
ddb1d92c77
Merge pull request #10499 from miniak/doc-fix
...
Fix app.getGPUFeatureStatus in app.md
2017-09-12 16:04:17 +02:00
Toinane
1cb13be65f
style: fix the word incompatible in docs
2017-09-12 15:51:53 +02:00
Milan Burda
d6bab3043c
Fix app.getGPUFeatureStatus in app.md
2017-09-12 15:31:00 +02:00
Boik
e66341ec59
add back the missing 'resourceType' property
2017-09-12 21:27:49 +08:00
Boik
a01abd0fee
fix lint-cpp
2017-09-12 20:28:30 +08:00
Boik
2d771674bb
get webContentsId instead
2017-09-12 20:17:11 +08:00
Toinane
74cb673ce1
style: add uppercase
2017-09-12 12:07:33 +02:00
Toinane
b9f0131165
style: add link to when missing
2017-09-12 12:05:09 +02:00
Boik
13d363d1f1
fix lint-cpp
2017-09-12 15:40:35 +08:00
Boik
9f60673e4b
remove package-lock.json
2017-09-12 15:40:35 +08:00
Boik
549c30f9b2
first attempt to track the origin requesters of webRequest events
2017-09-12 15:40:35 +08:00
Cheng Zhao
59cadf9e4b
Merge pull request #10366 from syohex/window-close-order
...
Close window in order from newer one on macOS
2017-09-12 16:22:38 +09:00
Cheng Zhao
bca71fcfc1
Merge pull request #10393 from j3l11234/fix_mac_crack
...
fix mac ime crack
2017-09-12 16:19:08 +09:00
Cheng Zhao
1430faa2fd
Merge pull request #10492 from electron/libcc-latest
...
Update libcc to latest
2017-09-12 16:18:47 +09:00
Cheng Zhao
8493d5707e
Fix cpplint warnings
2017-09-12 15:35:24 +09:00
Cheng Zhao
92d0772eba
Update libcc to latest
...
It was using a branch that had been deleted.
2017-09-12 15:25:29 +09:00
Cheng Zhao
6ebd00267e
Merge pull request #10355 from owais/master
...
Add support for indicators in Ubuntu Gnome Session
2017-09-12 15:22:31 +09: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
Zachary Flower
f256967414
📝 make clear what simple fullscreen mode is
2017-09-11 23:09:45 -06:00
Zeke Sikelianos
64c447bf04
Merge pull request #10487 from Toinane/fix-word-docs
...
Fix word in documentation
2017-09-11 10:08:01 -07:00
Toinane
2c56b67ea5
style: fix directory word in docs
2017-09-11 17:49:58 +02:00
Cheng Zhao
10ab870237
Merge pull request #10321 from kaylanm/macos-native-tab-api
...
🍎 Add macOS native tab methods to window API
2017-09-11 18:49:56 +09:00
Cheng Zhao
cc9771a3d0
Merge pull request #10307 from liusy182/10240-theme-color-2
...
return null when theme color is transparent or not found
2017-09-11 18:40:35 +09:00
Cheng Zhao
e6733b4b23
Merge pull request #10305 from ivmirx/macos-accessibility
...
Special attribute for macOS accessibility
2017-09-11 17:58:20 +09:00
Cheng Zhao
0694334487
Merge pull request #10271 from kaylanm/macos-native-tab-menu-items
...
🍎 Add roles for macOS native tab menu items
2017-09-11 17:41:31 +09:00
Zeke Sikelianos
c51e3c2882
Merge pull request #10481 from John2143/fix-docs
...
Redirect dead link in docs
2017-09-10 17:28:57 -07:00
J.M
6442e6b5e8
Use Squirrel.Windows --checkForUpdate
...
Avoid downloading updates twice. Fix #5057 .
2017-09-11 00:54:08 +02:00
John Schmidt
38342fbe48
📝 Redirect dead link [ci skip]
2017-09-10 08:27:10 -04:00
Zeke Sikelianos
f293e1422b
Merge pull request #10472 from lucaslopes/patch-1
...
Update coding-style.md
2017-09-09 12:38:07 -07:00
Lucas Lopes
20325b9952
Update coding-style.md
2017-09-09 08:08:28 -03:00
Birunthan Mohanathas
c265ea21c2
Merge pull request #10469 from electron/fix-save-dialog-extension-macos
...
Fix missing extension when saving a file without filters
2017-09-08 07:22:18 -07:00
Zeke Sikelianos
fbfd781426
Merge pull request #10454 from electron/MarshallOfSound-patch-1
...
Mark filters as optional inside webRequest
2017-09-07 21:45:24 -07:00
Samuel Attard
195cb91721
Make crashesDirectory optional
2017-09-08 13:21:35 +10:00
Birunthan Mohanathas
511e82de67
Fix missing extension when saving a file without filters
...
Previously, when triggering the save dialog through e.g. `<a download>`
links (e.g. http://jsfiddle.net/koldev/cW7W5/ ), the extension was only
saved if Finder was set to show all extensions by default. We now always
display the extension to make sure that it is saved.
If we want to keep the extension hidden, we could also populate the
allowed file types array with the extension from the default filename,
but that would have interfered with how we set the filters.
2017-09-07 16:48:14 -07:00
Samuel Attard
8e9b98360a
Mark filters as optional inside webRequest
2017-09-07 14:26:37 +10:00
Samuel Attard
6ba3ee3950
Merge pull request #10453 from bpasero/fix-10448
...
Docs: add crashesDirectory to crash reporter options
2017-09-07 14:19:18 +10:00
Benjamin Pasero
54bd60d657
add crashesDirectory to crash reporter options
2017-09-07 06:07:28 +02:00
Vanessa Yuen
4fb800a899
more docs edit
2017-09-06 16:44:41 -04:00
Vanessa Yuen
a81ea1ffde
Update release documentation to reflect new usage of bump-version script.
2017-09-06 16:41:51 -04:00
Vanessa Yuen
c56d8b4fe9
Add examples to make usage description clearer.
2017-09-06 16:31:58 -04:00
John Kleinschmidt
5bb7b4bb42
Bump v1.8.0
2017-08-31 16:31:59 -04:00
John Kleinschmidt
4b1e2b42a4
Bump v1.8.0
2017-08-31 16:16:19 -04:00
Vanessa Yuen
c784968e85
Merge pull request #10303 from MathieuDebit/doc/fix-desktopcapture-example
...
📝 Fix desktopCapturer example
2017-08-31 14:49:16 -04:00
Samuel Attard
6b010614e2
Implement moveToApplicationsFolder ( #10142 )
...
* Implement moveToApplicationsFolder
* Fix tabs / spaces
* Fix linting
* Use Browser::Quit, instead of exit
* Update documentation as per feedback
* Fix spec
2017-08-31 10:37:12 -04:00
John Kleinschmidt
14eea98566
Merge pull request #10333 from electron/more-releasing-tips
...
add more releasing tips
2017-08-30 10:42:59 -04:00
Cheng Zhao
c2ab4f711f
Merge pull request #10396 from electron/cleanup
...
Cleanup obsolete code
2017-08-30 19:05:05 +09:00
Cheng Zhao
1630f14b99
Merge pull request #10395 from electron/fix_exit_crash2
...
Fixed crash on process exit on Windows
2017-08-30 17:43:46 +09:00
Ales Pergl
64d9e5b861
Removed obsolete io.h wrappers, included atlbase.h in atom_main.cc
2017-08-30 10:43:29 +02:00
Cheng Zhao
346a4bee0b
Merge pull request #10394 from electron/another-async-crash
...
Fix another crash caused by assertion of asyncContext
2017-08-30 17:42:03 +09:00
Cheng Zhao
db0aeaa26e
Fix another crash caused by assertion of asyncContext
2017-08-30 17:05:20 +09:00
Ales Pergl
7cd64f1bd1
Fixed crash on process exit on Windows
2017-08-30 09:23:19 +02:00
allenliu
5978775ce1
fix mac ime crack
2017-08-30 12:07:04 +08:00
Vanessa Yuen
a936430fd5
fix lint errors
2017-08-29 19:55:34 -04:00
Vanessa Yuen
b54804d449
change process.versions.electron to reflect suffixes in version name.
2017-08-29 19:37:49 -04:00
Vanessa Yuen
74c970c25f
add dry run option
2017-08-29 18:56:16 -04:00
Vanessa Yuen
8fe675e56c
Update bump-version.py to handle prerelease versions
2017-08-29 18:33:49 -04:00
Zeke Sikelianos
cc666c727f
Merge pull request #10389 from electron/move-issue-template
...
move issue template to .github directory
2017-08-29 13:26:27 -07:00
Zeke Sikelianos
178b39b5a8
Merge pull request #10380 from electron/MarshallOfSound-patch-1
...
Mark channel as non-optional in ipcRenderer
2017-08-29 13:22:41 -07:00
Zeke Sikelianos
6c201fcae4
move issue template to .github directory
2017-08-29 12:51:02 -07:00
Cheng Zhao
39a366cf76
Merge pull request #10277 from electron/re-enable_debug_mode
...
Re-enabled debug mode
2017-08-29 19:22:37 +09:00
Cheng Zhao
0550a4a9b8
Fix crash when emitting render-view-deleted event
2017-08-29 17:46:46 +09:00
Cheng Zhao
7f4b74f8c6
spec: Compare id instead of the object
...
Otherwise it is impossible to see what's wrong.
2017-08-29 15:45:16 +09:00
Samuel Attard
e58ba1dc8e
Update ipc-renderer.md
2017-08-29 16:12:55 +10:00
Cheng Zhao
f0f17fffd8
spec: Do not test window positions
...
They were too flaky.
2017-08-29 14:23:39 +09:00
Cheng Zhao
4febbec102
Fix crash when switching menus in menubar
2017-08-29 14:19:23 +09:00
Cheng Zhao
b2f3625eaa
Fix deprecated node::MakeCallback call
2017-08-29 14:19:23 +09:00
Cheng Zhao
593ae7bf0e
Fix crash caused by freeing capturer task
2017-08-29 14:19:22 +09:00
Cheng Zhao
5510d8cfb1
Revert "Revert "spec: Suppress the select-client-certificate test""
...
This reverts commit 8e989170f1 .
2017-08-29 14:19:22 +09:00
Cheng Zhao
68e0fbfd60
Revert "Revert "spec: Suppress the app.importCertificate test""
...
This reverts commit a7cb89aeb5 .
2017-08-29 14:19:21 +09:00
Cheng Zhao
9337e29482
Fix the crash caused by asyncContext
2017-08-29 14:19:20 +09:00
John Kleinschmidt
56233054ae
Fix CI for Linux
2017-08-29 14:19:20 +09:00
Cheng Zhao
6e6b097968
Revert "Revert "spec: Suppress the test that destroys WebContents in event listener""
...
This reverts commit 210652ed54 .
2017-08-29 14:19:19 +09:00
Ales Pergl
a7bae32527
Re-enabled debug mode
2017-08-29 14:19:19 +09:00
Zeke Sikelianos
c6918966c2
Merge pull request #10214 from psh0628/contextisolation-sandbox-fix
...
fix contextIsolation issue while webPreference sandbox is on
2017-08-28 21:20:04 -07:00
Ivan Mir
93a8e75238
Add clarifications to the documentation
2017-08-28 20:33:16 -03:00
Zeke Sikelianos
66a5ac4d67
Merge pull request #10215 from electron/update-chromium-upgrade-docs
...
Update Chromium Upgrade docs
2017-08-28 08:42:14 -07:00
Zeke Sikelianos
e1c4962312
add sh to code fences
2017-08-28 08:41:52 -07:00
Shohei YOSHIDA
55f2b524e7
Close window in order from newer one on macOS
...
A parent window is not closed if a child modal window still exists.
So a child window should be closed before parent window closed.
2017-08-28 13:56:05 +09:00
Ivan Mir
75b2915fee
Change the parameter name for consistency
2017-08-27 11:53:25 -03:00
Tony Ganch
6a285e2e76
Update Chromium Upgrade docs
2017-08-27 17:51:47 +03:00
Aleksei Kuzmin
c4634f7e98
Update Chromium Upgrade docs
2017-08-27 17:51:47 +03:00
Zeke Sikelianos
87d4666648
Merge pull request #10356 from electron/update-browser-window-docs
...
update browser-window.md
2017-08-26 20:03:55 -07:00
Vanessa Yuen
deb7ccbef3
fix lint error
2017-08-25 17:24:50 -04:00
Vanessa Yuen
bb153ee79e
update browser-window.md
...
Add a note about the subtle difference between `window.onbeforeunload = handler` and `window.addEventListener('beforeunload', handler)`.
2017-08-25 17:14:20 -04:00
Owais Lone
dc43dc2a13
Add support for indicators in Ubuntu Gnome Session
...
Ubuntu is switching to Gnome in 17.10 but it's not going to be the stock Gnome session. It's going to support the existing Unity APIs. Support has already landed for application indicators and likely other APIs (Launcher,etc) will be supported soon. The Ubuntu Gnome session will have `XDG_CURRENT_DESKTOP=ubuntu:GNOME` environment variable.
Ref: https://didrocks.fr/2017/08/23/ubuntu-gnome-shell-in-artful-day-7/
2017-08-25 23:25:08 +05:30
sungpark
65eb4e1994
fix compile error
2017-08-24 14:31:25 -07:00
Ivan Mir
6717f0d2bb
Add accessibility setter to the app
2017-08-24 11:22:28 -03:00
Cheng Zhao
6a93052f7d
Merge pull request #10298 from electron/update-external-binaries
...
Bump external binaries to 1.2.2
2017-08-24 19:29:13 +09:00
Samuel Attard
7ecac42214
Merge pull request #10232 from electron/drag-browser-view
...
Add -webkit-app-region support to BrowserView
2017-08-24 10:30:56 +10:00
Felix Rieseberg
fdfbf3abfa
🔧 Respect the header
2017-08-23 17:26:18 -07:00
Felix Rieseberg
a44c2d5dcc
🔧 Extend interface
2017-08-23 16:10:31 -07:00
sungpark
f984bd2ff5
use spaces instead of hard tabs for indentation and add the supported modules as a sub-list
2017-08-23 10:52:02 -07:00
sungpark
eca7ff986c
add webFrame to sandboxed renderer
2017-08-23 10:52:02 -07:00
sungpark
bf07c5aebd
fix contextIsolation issue while webPreference sandbox is on
...
contextIsolation didn't work while sandbox is on. The fix is contextIsolation picked up while sandbox on
2017-08-23 10:52:02 -07:00
Liu Siyuan
e64d4e5bd7
update web-content.md based on review
2017-08-23 23:37:37 +08:00
Liu Siyuan
15d2cfe458
update docs
2017-08-23 23:04:00 +08:00
Zeke Sikelianos
88b3109137
change backport branch creation steps
2017-08-22 21:03:03 -07:00
Siyuan Liu
5cb58cd42f
use nullptr instead of nullptr_t()
2017-08-23 09:30:58 +08:00
Zeke Sikelianos
485b9099f1
Merge pull request #10328 from electron/bump-@types-node-to-8
...
bump @types/node to 8
2017-08-22 15:03:04 -07:00
Felix Rieseberg
cd5cd25f74
🔪 Bonus colon
2017-08-22 11:14:21 -07:00
Zeke Sikelianos
18e7354b4a
bump @types/node to 8
2017-08-22 11:01:40 -07:00
Ivan Mir
9605e6cb40
Add documentation for macOS accessibility
2017-08-22 13:01:33 -03:00
Vladimir Krivosheev
d3f30e7a9c
docs: add note about electron-updater
2017-08-22 16:51:57 +02:00
Cheng Zhao
1f604c0826
Merge pull request #10219 from HAMIDx9/master
...
Add arm64 build support
2017-08-22 17:02:23 +09:00
Cheng Zhao
2bfc2be8c9
Merge pull request #10279 from electron/fix-10279
...
Fix 'BrowserWindow module "webPreferences" option "sandbox" option can print to PDF'
2017-08-22 15:25:37 +09:00
Cheng Zhao
d233fc044a
Pass dpiVertical and dpiHorizontal to print settings
2017-08-22 13:54:49 +09:00
Michael Kaylan
b4428e7e41
🍎 Add macOS native tab methods to window API
2017-08-21 23:24:30 -04:00
Aleksei Kuzmin
8b55e6e2f5
Revert "Disable a failing test"
...
This reverts commit 9487222726 .
2017-08-22 11:49:53 +09:00
Cheng Zhao
94ab1c790f
Verify arm64 builds in prerelease
2017-08-22 10:08:27 +09:00
Cheng Zhao
de67e42fc9
Update breakpad for ia32/arm fix
2017-08-22 10:02:51 +09:00
Cheng Zhao
136857952e
Add arm64 task in travis ci
2017-08-22 10:02:51 +09:00
HAMIDx9
cd42133651
Add arm64 build support
2017-08-22 10:02:51 +09:00
Cheng Zhao
0c93e4b8d7
Merge pull request #10318 from electron/module-version
...
Use 57 as node module version in Electron 1.8
2017-08-22 10:02:15 +09:00
Cheng Zhao
f954b60119
Use 57 as node module version
...
This matches Node v8, which uses 57 for V8 5.8 - 6.0.
2017-08-22 09:24:18 +09:00
Cheng Zhao
565ece6986
Merge pull request #10308 from electron/native-view
...
Add WebContents.getNativeView() API
2017-08-22 09:19:27 +09:00
Felix Rieseberg
f0680587fa
🔧 Linter fascism
2017-08-21 16:52:59 -07:00
Charlie Hess
f17bd040ad
Merge pull request #10293 from electron/notification-sounds
...
Add support for soundName in main process notifications
2017-08-21 16:15:47 -07:00
Zeke Sikelianos
b1011768e5
Merge pull request #10251 from electron/new-update-docs
...
New guide for implementing updates
2017-08-21 15:22:43 -07:00
Zeke Sikelianos
b6787dbbb3
link to updates guide from docs readme
2017-08-21 15:22:13 -07:00
Zeke Sikelianos
1731359a17
tweak the updates guide
2017-08-21 15:19:59 -07:00
Charlie Hess
f2c0d1f0c5
📝 Little cleanup.
2017-08-21 13:56:10 -07:00
Charlie Hess
db081d95d5
Review CommentZ.
2017-08-21 13:53:50 -07:00
Zeke Sikelianos
a50e36d256
Merge pull request #10304 from kyo-ago/patch-1
...
Fix typo on japanese document
2017-08-21 09:17:26 -07:00
Zeke Sikelianos
6c60c6ca76
Merge pull request #10306 from lisurc/patch-1
...
📝 Fix markdown syntax
2017-08-21 09:14:56 -07:00
Cheng Zhao
2c1984b6ed
Add WebContents.getNativeView API
2017-08-21 19:50:12 +09:00
Cheng Zhao
dede3d6213
Merge pull request #10280 from electron/fix-10280
...
Fix 'BrowserWindow module window states resizable state works for a frameless window'
2017-08-21 19:28:13 +09:00
Cheng Zhao
70fd42808e
Fix build on Linux
2017-08-21 17:42:45 +09:00
Cheng Zhao
19323c88f9
win: Fix "thickFrame: false" not working for normal window
2017-08-21 17:21:59 +09:00
Aleksei Kuzmin
c0331673da
Revert "Disable a failing test"
...
This reverts commit 25c0cf0612 .
2017-08-21 16:48:24 +09:00
Siyuan Liu
eeb2e58ad8
return null when theme color is not found
2017-08-20 22:48:13 +08:00
Bastien
39c2a4721b
📝 Fix markdown syntax
...
Also fix some grammar and syntax typing mistakes.
[ci skip]
2017-08-19 22:29:34 +02:00
Ivan Mir
94dd068e15
Special attribute for macOS accessibility #7206
...
In the linked issue we were discussing that Electron apps are inaccessible unless VoiceOver is enabled. While it's a working solution for users with vision impairment, all other users and apps that require accessibility can't interact with Electron-based software because they don't keep VoiceOver running.
I suggest adding `AXManualAccessibility` for programmatically enabling it in Electron apps. The reason for a new attribute is that `AXEnhancedUserInterface` is already reserved by VoiceOver.
Adding this attribute will allow both Electron developers and 3rd party developers to enable and disable accessibility from their code by calling `accessibilitySetValue:forAttribute:` on the application.
It will be also possible to create a small utility app to switch accessibility in Electron-based apps until there's a native UI solution (like the accessibility settings page in Chrome).
2017-08-19 17:18:12 -03:00
kyo_ago
8695672082
fix typo
2017-08-19 15:37:07 +09:00
Samuel Attard
15db4ee450
Merge pull request #10275 from electron/windowclose-exception
...
Fixing uncaught exception on window close
2017-08-19 13:58:55 +10:00
Mathieu Débit
81f7b422e4
📝 Fix desktopCapturer example ( #10303 )
...
[ci skip]
Based on MDN example:
https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia#Examples
2017-08-18 22:02:28 +02:00
Josh Abernathy
766b604de5
Bump external binaries to 1.2.2
2017-08-18 08:20:07 -04:00
Cheng Zhao
ac6a44f0ac
Merge pull request #10273 from rhysd/doc-fix-optional-args
...
fix some optional args docs
2017-08-18 19:07:56 +09:00
Charlie Hess
2b9b186fd1
Rename soundName → sound.
2017-08-17 17:28:14 -07:00
Charlie Hess
0cfae1cc2b
Plumb in the macOS soundName property for notifications.
2017-08-17 13:31:20 -07:00
Hari Juturu
340431750b
Removing try/catch
2017-08-17 10:56:37 -07:00
Cheng Zhao
4bc4a0c45b
Merge pull request #10289 from electron/fix-compile
...
Fix compilation on mac
2017-08-17 17:41:13 +09:00
rhysd
01f549628f
fix signature of <webview>.executeJavaScript
2017-08-17 17:06:30 +09:00
Cheng Zhao
9c552644d8
Fix compilation on mac
2017-08-17 16:47:12 +09:00
Cheng Zhao
f047bb61bb
Merge pull request #14 from enlight/nullptr-converter
...
Add a converter for `nullptr_t`
2017-08-17 16:01:27 +09:00
Cheng Zhao
f6792c0232
Merge pull request #10264 from electron/fix-sandbox-crash-on-background-tab
...
Fix sandbox crash when opening a background tab
2017-08-17 15:57:29 +09:00
Cheng Zhao
ecff620528
Merge pull request #10081 from renaesop/master
...
Add a callback option to `webContents.print`
2017-08-17 15:56:02 +09:00
Cheng Zhao
f908678e8e
Merge pull request #10183 from andens/mouse_forward
...
Mouse forward functionality on Windows
2017-08-17 15:54:22 +09:00
Vanessa Yuen
32121b9c38
Merge pull request #10283 from electron/welcome-probots-config
...
add welcome probots
2017-08-16 15:56:19 -04:00
Vanessa Yuen
c4d1fb929c
Update config.yml
2017-08-16 15:04:34 -04:00
Vanessa Yuen
65908bbb87
Create config.yml
2017-08-16 14:54:10 -04:00
John Kleinschmidt
44481db1ee
Merge pull request #9946 from electron/upgrade-to-chromium-59
...
Upgrade to Chromium 59
2017-08-16 10:00:34 -04:00
Aleksei Kuzmin
5543bfc278
Use the latest libcc version with Chromium 59
2017-08-16 14:29:03 +03:00
Andreas Flöjt
d4bbd7c7ab
Add example of using mouse forwarding.
2017-08-16 03:28:52 +02:00
Andreas Flöjt
814702f5b8
Cleanup potential mouse forwarding resources when window is destroyed.
2017-08-16 03:28:07 +02:00
Felix Rieseberg
6191e6e787
🔧 Implement feedback
2017-08-15 16:14:58 -07:00
Hari Juturu
9120774c00
Fixing uncaught exception on window close
2017-08-15 14:59:48 -07:00
Leo Lamprecht
78c87d4bd3
Made dialog message clear
2017-08-15 22:55:55 +02:00
Zeke Sikelianos
5f82168213
lint
2017-08-15 13:09:06 -07:00
Zeke Sikelianos
a84d49fe5c
add newline
2017-08-15 13:06:45 -07:00
Zeke Sikelianos
2ec223ba11
use an arrow function
2017-08-15 13:04:52 -07:00
Zeke Sikelianos
35b2bc6b51
implement a dialog in the download handler
2017-08-15 12:53:46 -07:00
Leo Lamprecht
68250d80cd
Improved error logging
2017-08-15 21:38:31 +02:00
Vadim Macagon
747495e77c
Add a converter for nullptr_t
2017-08-16 00:24:20 +07:00
rhysd
2edf4da859
fix some optional args docs
2017-08-16 02:23:36 +09:00
Michael Kaylan
7741a0e6ad
🍎 Add roles for macOS native tab menu items
...
Fixes #9086 , #10064 .
2017-08-15 11:30:39 -04:00
Aleksei Kuzmin
25c0cf0612
Disable a failing test
...
BrowserWindow module window states resizable state works for a frameless window
2017-08-15 16:19:29 +03:00
Aleksei Kuzmin
9487222726
Disable a failing test
...
BrowserWindow module "webPreferences" option "sandbox" option can print to PDF
2017-08-15 16:19:29 +03:00
Catalin Fratila
60b363fa3b
Fixing Windows tray icon content menu - based on chrome/browser/ui/views/status_icons/status_icon_win.cc
2017-08-15 16:19:23 +03:00
Kevin Sawicki
90fbe5c06c
Disable warnings in node.cc and string_bytes.cc
2017-08-15 16:19:23 +03:00
Kevin Sawicki
7226adee29
Upgrade node for windows build fixes
2017-08-15 16:19:23 +03:00
Kevin Sawicki
27c1612f44
Upgrade to node 8.2.1
2017-08-15 16:19:23 +03:00
Kevin Sawicki
fb6759b5e0
Downgrade to node 8.1.4 since 8.2.0 will be against v8 6.0
2017-08-15 16:19:23 +03:00
Kevin Sawicki
eabbac4ca1
Upgrade node for version module change
2017-08-15 16:19:23 +03:00
Kevin Sawicki
d943519fb4
Update text expectation for new --inspect-brk message
2017-08-15 16:19:23 +03:00
Kevin Sawicki
9d2aa6f1c7
Upgrade to node 8.2.0
2017-08-15 16:19:23 +03:00
Ales Pergl
9f8f95f4c9
Lock pixels before calling SkBitmap::getPixels and copy bitmap row-wise in case (stride != width)
2017-08-15 16:19:23 +03:00
John Kleinschmidt
924a345fac
Try fix to boto on Trusty
2017-08-15 16:19:23 +03:00
John Kleinschmidt
59238a915e
Require sudo
2017-08-15 16:19:23 +03:00
John Kleinschmidt
03d15809be
Explicity use Precise for Travis CI
2017-08-15 16:19:23 +03:00
deepak1556
778772710a
intialize WebTextCheckClient https://codereview.chromium.org/2791753003
2017-08-15 16:19:22 +03:00
Kevin Sawicki
fb02343ec0
Remove unneeded volumes and env
2017-08-15 16:19:22 +03:00
Kevin Sawicki
dc6e451010
Only start xvfb when tests will be run
2017-08-15 16:19:22 +03:00
Kevin Sawicki
1f71a2e94c
Simplify xvfb init script
2017-08-15 16:19:22 +03:00
Kevin Sawicki
b407834ed7
Remove default
2017-08-15 16:19:22 +03:00
Kevin Sawicki
f1036f7305
Add xvfb-init.sh to docker context
2017-08-15 16:19:22 +03:00
Kevin Sawicki
c3e0e4682d
Use xvfb from container on CI
2017-08-15 16:19:22 +03:00
Kevin Sawicki
a0fd37c8a3
Try always using DISPLAY=unix:99:0 on Linux CI
2017-08-15 16:19:22 +03:00
Kevin Sawicki
23b35af7f2
Use DISPLAY=:99.0 on Linux CI
2017-08-15 16:19:22 +03:00
Kevin Sawicki
ddefc08ec5
Remove command logging
2017-08-15 16:19:22 +03:00
Kevin Sawicki
f79a90161c
Extend libcc Dockerfile for Electron Linux build
2017-08-15 16:19:22 +03:00
Kevin Sawicki
29dc06c89d
Configure spec UI to run in docker container
2017-08-15 16:19:22 +03:00
Kevin Sawicki
5737f8b74e
Remove unneeded nodenv setup
2017-08-15 16:19:22 +03:00
Kevin Sawicki
bbd1b325fb
Initial docker-based linux builds
2017-08-15 16:19:22 +03:00
Kevin Sawicki
152d573fbd
Build with jessie sysroot on ARM
2017-08-15 16:19:22 +03:00
Aleksei Kuzmin
adaec2d32b
Fix brightray.gyp
2017-08-15 16:19:22 +03:00
Aleksei Kuzmin
b6f0d04813
net: remove CryptoModule class
...
https://codereview.chromium.org/2724013002
2017-08-15 16:19:22 +03:00
Aleksei Kuzmin
fe0a96200d
Use Jessie sysroot for building on amd64 and i386
2017-08-15 16:19:22 +03:00
Gellert Hegyi
c6ba812d79
re-enables OSR
2017-08-15 16:19:22 +03:00
Gellert Hegyi
6ab0a8a287
removes unused autoresizelock from osrrwhv
2017-08-15 16:19:22 +03:00
Aleksei Kuzmin
90ec61fbe9
Revert "Enable OSR"
...
This reverts commit 5925d737afcd1b8dbbccc1d2b52ced025e291436.
2017-08-15 16:19:22 +03:00
Aleksei Kuzmin
ba0c43e1fc
Do not run navigator.getUserMedia related test on CI build machines
2017-08-15 16:19:22 +03:00
Gellert Hegyi
1d10654a22
fixes bitmap to canvas conversion
2017-08-15 16:19:22 +03:00
Gellert Hegyi
76d46ce509
adds compositor resize lock client implementation
2017-08-15 16:19:22 +03:00
Aleksei Kuzmin
5ef668de64
Enable OSR
2017-08-15 16:19:22 +03:00
Gellert Hegyi
ca4a6e4692
fixes offscreen rendering on macos
2017-08-15 16:19:22 +03:00
Aleksei Kuzmin
1d132565c9
FIXME: enable_osr=0
2017-08-15 16:19:21 +03:00
Kevin Sawicki
7d1a49db48
Use kPointsPerInch instead of desired_dpi
...
Changed in https://codereview.chromium.org/2788343003
2017-08-15 16:19:21 +03:00
Kevin Sawicki
9945fc5148
Don't destroy menu delegate until OnMenuClosed fires
2017-08-15 16:19:21 +03:00
Kevin Sawicki
ad33e569d6
Register default layout provider
2017-08-15 16:19:21 +03:00
Kevin Sawicki
34fff57646
Grant the devtools access to the extension origins
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
4fc2b3e642
Make download item drags look like bookmark
...
https://codereview.chromium.org/2750253002
2017-08-15 16:19:21 +03:00
Kevin Sawicki
4bb95acc2b
👕 Remove linter errors
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
c7cf844bcd
Update CHROME_VERSION_STRING
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
ba9b8719ac
The Blink Rename
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
f4411889a9
Fix free memory calculation.
...
https://codereview.chromium.org/2558043007
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
627eb30409
The Blink Rename
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
b8b7d0ab1a
Rename methods in autofill
2017-08-15 16:19:21 +03:00
Kevin Sawicki
45db999593
Extend blink::WebTextCheckClient in atom::api::SpellCheckClient
2017-08-15 16:19:21 +03:00
Tony Ganch
4d9f309888
Fix HasServiceWorker check
...
Revert cb2014f9e8ae0283e5f20d4e2167be1592228887.
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
e2fe95894f
Require explicit selection of traits for LazyInstance
...
https://codereview.chromium.org/2733283002
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
e16e1e2854
Remove URLRequestJobFactory::IsHandledURL.
...
https://codereview.chromium.org/2783343002
2017-08-15 16:19:21 +03:00
Tony Ganch
90574160db
Replace x/y in WebMouseEvent with proper getters/setters
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
b997c2ffc1
Don't call deprecated copyPixelsTo
...
don't call deprecated copyPixelsTo
https://codereview.chromium.org/2812853002
stop using copyPixelsTo -- deprecated
https://codereview.chromium.org/2798413002
remove unused SkBitmap::copyPixelsTo
https://skia-review.googlesource.com/c/13171/
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
f824b1e9d4
Migrate base::TaskRunner from Closure to OnceClosure
...
Migrate base::TaskRunner from Closure to OnceClosure
https://codereview.chromium.org/2637843002
Pass Callback to TaskRunner by value and consume it on invocation (1)
https://codereview.chromium.org/2726523002
Replace base::get with std::get
https://codereview.chromium.org/2797133002
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
48821a6d2a
Fix compilation
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
d09cab2e21
Migrate base::TaskRunner from Closure to OnceClosure
...
Migrate base::TaskRunner from Closure to OnceClosure
https://codereview.chromium.org/2637843002
Pass Callback to TaskRunner by value and consume it on invocation (1)
https://codereview.chromium.org/2726523002
Replace base::get with std::get
https://codereview.chromium.org/2797133002
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
ffbb16e854
Adds a basic offline check to InstallableManager.
...
https://codereview.chromium.org/2751343002
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
30fafc2772
Fix CompositorResizeLock to do something.
...
https://codereview.chromium.org/2773433003
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
9b8a77f0d8
Adds the ability for WebContentsDelegate to decide if event should be updated
...
https://codereview.chromium.org/2775553002
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
d322769de8
WebMouseEvent coordinates are now fractional & private
...
https://codereview.chromium.org/2782893002
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
faaeab7e4a
Add EME support for new VP9 codec string in WebM.
...
https://codereview.chromium.org/2793163003
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
567646e624
Fix cc/paint skia type mismatches
...
https://codereview.chromium.org/2717943002
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
adddff3ee2
Move PrefRegistrySimple to use unique_ptr<Value>
...
https://codereview.chromium.org/2784513002
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
99e57f9072
Add display::GetDisplayNearestView
...
https://codereview.chromium.org/2751833004
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
6415f181ca
Downloads: Added transient flag to download item and download database
...
https://codereview.chromium.org/2720613002
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
bd971b6371
Added last_access_time to DownloadItem and History DB
...
https://codereview.chromium.org/2705283003
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
0adc887b32
[downloads] Allow download target determination to indicate an error.
...
https://chromium-review.googlesource.com/c/465526/
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
7c7300ff82
Make GetDisplayedNotifications asynchronous.
...
https://codereview.chromium.org/2749453002
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
bda5e4efcb
Moving LatencyInfo into a separate component.
...
https://codereview.chromium.org/2783973002
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
cc350efbd8
Remove base::BinaryValue
...
https://codereview.chromium.org/2799093006
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
49fbb52b01
Add X509CertificateBytes which uses CRYPTO_BUFFER instead of macOS-native certificate types.
...
https://codereview.chromium.org/2746103003
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
3d700ee49f
Remove base::Value::CreateNullValue
...
https://codereview.chromium.org/2792573002
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
c7f2e2731c
Allow content embedder to set a cursor for RenderWidgetHost
...
https://codereview.chromium.org/2808763009
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
1126719e7f
Separate ContentSettingsClient out from LocalFrameClient
...
https://codereview.chromium.org/2786673002
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
a20f633272
Remove base::StringValue
...
https://codereview.chromium.org/2664753002
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
fb7bd8f11e
Remove desired DPI
...
https://codereview.chromium.org/2788343003
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
7a4ca08a8d
The Blink Rename
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
3939359354
Update clang revision to match Chromium 59.0.3071.104
2017-08-15 16:19:20 +03:00
Thiago de Arruda
1709b8e39d
Fix sandbox crash when opening a background tab
...
When a link is clicked with the middle mouse button, chrome opens a window with
"background-tab" disposition. This is not currently handled in sandbox mode,
causing an api::WebContents to leak leading to eventual crash(since it has no
wrapper).
Also fix the event handler for "-add-new-contents" by having it call
`event.preventDefault()` when the window creation should be cancelled.
2017-08-15 09:55:39 -03:00
Cheng Zhao
a419fe75ca
Merge pull request #10253 from electron/improvements-for-libcc-development
...
Improve development workflow with built libchromiumcontent
2017-08-15 19:40:06 +09:00
Leo Lamprecht
4ba4fe4f62
Examples for events
2017-08-15 11:38:54 +02:00
Leo Lamprecht
3062027bab
Better wording about Now deployment
2017-08-15 11:29:28 +02:00
Leo Lamprecht
78f11df6e4
Full Windows section is back
2017-08-15 11:27:33 +02:00
Leo Lamprecht
3405596983
Brought back Windows section
2017-08-15 11:24:59 +02:00
Thiago de Arruda
d6fbf5f1bb
Improve development workflow with built libchromiumcontent
...
- Add `--debug_libchromiumcontent` to build libchromiumcontent for debugging
(shared library build).
- By default, only invoke `gclient sync` the first time to checkout chromium
source tree. Add `--force_update_libchromiumcontent` switch to force updating.
- Document new options.
The goal is to allow faster edit/compile cycles when debugging/making changes
to libchromiumcontent.
2017-08-15 05:40:22 -03:00
renaesop
6d16eb81d2
Add a callback option to webContents.print
2017-08-15 14:44:24 +08:00
Zeke Sikelianos
6a872dd938
update the updates doc
2017-08-14 13:26:33 -07:00
Zeke Sikelianos
796664ef1c
Merge pull request #10266 from electron/revert-10250-remove-preinstall-no-op
...
Revert "remove no-op preinstall script"
2017-08-14 11:34:44 -07:00
Zeke Sikelianos
10f2c80162
Revert "remove no-op preinstall script"
2017-08-14 11:33:32 -07:00
Andreas Flöjt
3d33da7696
Make mouse forward option of setIgnoreMouseMessages and update documentation.
2017-08-14 20:21:00 +02:00
Andreas Flöjt
60c0bf1636
Set up legacy window subclass and mouse hook during setForwardMouseMessages.
...
As opposed to when a legacy window is created/destroyed. This enables forwarding on a per-window basis.
2017-08-14 18:12:55 +02:00
Zeke Sikelianos
646a8eb753
Merge pull request #10250 from electron/remove-preinstall-no-op
...
remove no-op preinstall script
2017-08-13 21:19:29 -07:00
Zachary Flower
8a2c35023f
📝 Document simple fullscreen functionality [ci skip]
2017-08-13 00:58:28 -06:00
Zachary Flower
ba5fa2c8b1
Add support for simple (pre-Lion) fullscreen on Mac OS
2017-08-13 00:28:33 -06:00
Leo Lamprecht
235ae0989f
Mention that the app needs to check for updates
2017-08-12 12:48:49 +02:00
Leo Lamprecht
837a34cf71
Indicate that Nuts supports private repositories
2017-08-12 12:44:21 +02:00
Leo Lamprecht
01f31edb95
Cut down platform notices a little
2017-08-12 01:30:29 +02:00
Leo Lamprecht
cfe914ff83
Fixed wording
2017-08-12 01:24:56 +02:00
Leo Lamprecht
06f4c1b337
Be clear about the usage example
2017-08-12 01:23:54 +02:00
Leo Lamprecht
3815ed8af4
Fixed a typo
2017-08-12 01:18:34 +02:00
Leo Lamprecht
c1a40fbd98
Linked guide about implementing updates
2017-08-12 01:10:20 +02:00
Leo Lamprecht
bb1627a69b
Added guide for updates
2017-08-12 01:04:25 +02:00
John Kleinschmidt
ad90de0c82
Merge pull request #10230 from electron/prerelease
...
add a prerelease check
2017-08-11 16:41:08 -04:00
Zeke Sikelianos
0cd99d9815
remove no-op preinstall script
2017-08-11 12:18:51 -07:00
John Kleinschmidt
6956f2fc69
Merge pull request #10246 from electron/another-final-step-in-releasing
...
edit release on github after promoting to latest
2017-08-11 09:50:08 -04:00
Zeke Sikelianos
fd6aeda6f6
edit release on github after promoting to latest
2017-08-10 20:53:02 -07:00
Felix Rieseberg
b4bb00843b
🔧 Spaces for the Spacelord
2017-08-10 09:38:01 -07:00
Felix Rieseberg
4c48908a31
Merge branch 'drag-browser-view' of https://github.com/electron/electron into drag-browser-view
2017-08-10 09:36:12 -07:00
Zeke Sikelianos
404589d9b5
add more releasing tips
2017-08-10 09:26:22 -07:00
Felix Rieseberg
d913b53fea
🔧 Handle offset BrowserView
2017-08-10 08:00:21 -07:00
Cheng Zhao
c6289ef219
Merge pull request #10223 from ajmacd/shutdown-desktop-capturers
...
Ensure DesktopCapturers are destroyed when no longer needed.
2017-08-10 21:28:31 +09:00
Felix Rieseberg
47d652b5a2
🔧 Properly derive
2017-08-09 15:21:58 -07:00
Felix Rieseberg
7bfece1144
🔧 Make work with complex shapes
2017-08-09 15:21:58 -07:00
Felix Rieseberg
a55015d63d
🔧 Support older versions of macOS
2017-08-09 15:21:58 -07:00
Felix Rieseberg
a5dfb09037
🔧 Draggable (using the window’s regions)
2017-08-09 15:21:58 -07:00
Felix Rieseberg
ae5c8e63d9
🔧 Properly derive
2017-08-10 07:09:03 +09:00
Felix Rieseberg
ebe058e7cb
🔧 Make work with complex shapes
2017-08-09 14:53:36 -07:00
Zeke Sikelianos
96dd9b9ab8
update prerelease to check for files on s3
2017-08-09 13:40:52 -07:00
Vanessa Yuen
b81aab9eae
Bump v1.7.6
2017-08-09 15:28:55 -04:00
Felix Rieseberg
fdd0d67fd3
🔧 Support older versions of macOS
2017-08-09 11:57:57 -07:00
Zeke Sikelianos
a16c4167eb
standardize
2017-08-09 11:06:16 -07:00
Zeke Sikelianos
1a6f0ae437
add a prerelease check
2017-08-09 10:49:31 -07:00
Zeke Sikelianos
1e9109f3c6
Merge pull request #10225 from electron/more-installation-tips
...
add more installation tips
2017-08-08 20:55:15 -07:00
Zeke Sikelianos
3a1d6e7a42
recommend fixing permissions over using sudo
2017-08-08 20:43:57 -07:00
Felix Rieseberg
df66223f4c
🔧 Draggable (using the window’s regions)
2017-08-08 17:00:00 -07:00
Zeke Sikelianos
1e4232eb3a
add more installation tips
2017-08-08 15:22:52 -07:00
Vanessa Yuen
aac9ea1371
Merge pull request #10172 from electron/publish-prebuilt
...
publish to npm directly from electron repo
2017-08-08 13:59:37 -04:00
Zeke Sikelianos
259e1f0804
restore links to translated READMEs
2017-08-08 10:55:09 -07:00
Zeke Sikelianos
525eedc036
remove prebuilt readme in favor of top-level readme
2017-08-08 10:20:30 -07:00
Zeke Sikelianos
bc090ac67a
Merge branch 'publish-prebuilt' of https://github.com/electron/electron into publish-prebuilt
2017-08-08 10:18:45 -07:00
Zeke Sikelianos
58af0778b7
update the readme
2017-08-08 10:18:40 -07:00
Zeke Sikelianos
5ae01bceee
add an installation guide
2017-08-08 10:18:22 -07:00
Vanessa Yuen
8db0a10372
use root README instead of the one for prebuilt
2017-08-08 13:12:49 -04:00
Zeke Sikelianos
3f295d6664
remove duplicate list of translations from readme
2017-08-08 09:28:43 -07: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
Zeke Sikelianos
d0130e1b09
Merge pull request #9988 from kant2002/patch-1
...
Allow TypeScript definitions work with strictNullChecks
2017-08-07 20:37:26 -07:00
John Kleinschmidt
72d2e176dd
Merge pull request #10160 from liusy182/liusy182-10128-asar
...
Return empty string when fs.readFile with 'utf8' option from asar file
2017-08-07 21:42:15 -04:00
John Kleinschmidt
ccdff72ee4
Merge pull request #9918 from alexstrat/add-extensions-loading-api
...
Introduce Chrome extensions management APIs independent of Dev Tools Extensions
2017-08-07 20:06:22 -04:00
John Kleinschmidt
29331af767
Merge pull request #10209 from electron/rollback_debug_mode
...
Rollback debug mode changes
2017-08-07 18:21:50 -04:00
Kevin Sawicki
dfec48dd44
End response and set status code for unexpected URLs
2017-08-07 13:33:01 -07:00
Kevin Sawicki
8e989170f1
Revert "spec: Suppress the select-client-certificate test"
...
This reverts commit dc1269615a .
2017-08-07 12:57:01 -07:00
Kevin Sawicki
a7cb89aeb5
Revert "spec: Suppress the app.importCertificate test"
...
This reverts commit 5ccae79ea7 .
2017-08-07 12:56:54 -07:00
Kevin Sawicki
210652ed54
Revert "spec: Suppress the test that destroys WebContents in event listener"
...
This reverts commit b315eb83fd .
2017-08-07 12:56:48 -07:00
John Kleinschmidt
3d5acdf682
Rollback debug mode changes
2017-08-07 15:54:44 -04:00
John Kleinschmidt
d06eeeede8
Merge pull request #10204 from electron/revert-9961-fix-window-opener
...
Revert "Fix window.opener being null when nativeWindowOpen is used"
2017-08-07 14:14:47 -04:00
Cheng Zhao
eeca6fcb55
Revert "Fix window.opener being null when nativeWindowOpen is used"
2017-08-07 19:50:23 +09:00
Andrew MacDonald
a8759a3176
Ensure DesktopCapturers are destroyed when no longer needed.
2017-08-04 15:06:58 -07:00
Zeke Sikelianos
f1f43c51bb
Merge pull request #10190 from electron/update-releasing-guide
...
improve the releasing guide
2017-08-04 13:52:26 -07:00
Vanessa Yuen
5f1a683869
Merge pull request #10157 from runinspring/patch-2
...
Create keyboard-shortcuts
2017-08-04 13:46:16 -04:00
Cheng Zhao
63d7aee1a6
Merge pull request #9961 from electron/fix-window-opener
...
Fix window.opener being null when nativeWindowOpen is used
2017-08-04 21:18:47 +09:00
Andreas Flöjt
0736de1e8d
Fix lint errors
2017-08-03 23:23:42 +02:00
Zeke Sikelianos
e8af45e130
document npm promotion
2017-08-03 13:24:18 -07:00
Zeke Sikelianos
01283c26a8
improve the releasing guide
2017-08-03 12:55:33 -07:00
Andreas Flöjt
12dbcfa2ea
📝 Documentation for setForwardMouseMessages.
2017-08-02 21:50:42 +02:00
Andreas Flöjt
a84fa0eecb
🏁 Add API to forward mouse messages.
...
As opposed to the existing setIgnoreMouseEvents this call makes Chromium aware of mouse movements, allowing the user to stop forwarding according to movements in the webpage.
2017-08-02 21:16:37 +02:00
Vanessa Yuen
c8e2e37146
Merge branch 'master' into publish-prebuilt
2017-08-02 14:57:28 -04:00
John Kleinschmidt
7961a97d7d
Merge pull request #10181 from electron/mocha-grep-docs
...
Parse --grep and --invert for mocha
2017-08-02 14:03:34 -04:00
Kevin Sawicki
7cf34c6f62
Parse --grep and --invert for mocha
2017-08-02 10:57:15 -07:00
Cheng Zhao
5e06ac11e9
Merge pull request #10175 from electron/fix-more-crashes
...
Fix a few more crashes in tests
2017-08-02 19:03:13 +09:00
Cheng Zhao
dc1269615a
spec: Suppress the select-client-certificate test
...
Not sure why it is not working
2017-08-02 16:07:46 +09:00
Cheng Zhao
7d7bb1581b
spec: Disable crashReporter tests for some CI machines
...
Have no idea why it is failing on our CI machines, but at least Appveyor
works fine.
2017-08-02 15:54:50 +09:00
Cheng Zhao
5ccae79ea7
spec: Suppress the app.importCertificate test
...
I have no idea why it failed, somehow the page can not load with the
provided certificated.
2017-08-02 15:17:18 +09:00
Cheng Zhao
28959da2b7
spec: Fix the event test calling done for multiple times
2017-08-02 15:06:06 +09:00
Cheng Zhao
d166d08dd5
spec: Enable passing -g to test.py
2017-08-02 14:45:06 +09:00
Cheng Zhao
4e2cb549c7
Notify net error asyncronously
...
Notifying net error syncronously would result in crash.
2017-08-02 11:14:06 +09:00
Cheng Zhao
b315eb83fd
spec: Suppress the test that destroys WebContents in event listener
...
It is crashing when Electron is built in Debug mode.
2017-08-02 11:14:06 +09:00
Cheng Zhao
bd697275c2
Ignore all node_modules/ dirs
2017-08-02 10:31:27 +09:00
Vanessa Yuen
c0f68af458
minor changes as per code review comments
2017-08-01 21:06:50 -04:00
Vanessa Yuen
f251799049
Merge pull request #10173 from electron/update-glosssary
...
update glossary entries for brightray, libcc, V8
2017-08-01 16:19:41 -04:00
Vanessa Yuen
6e86a95f5e
remove package-lock from /npm
2017-08-01 16:15:24 -04:00
Vanessa Yuen
cc2edba049
remove github authentication since it's not needed to access published release assets on gh
2017-08-01 16:10:29 -04:00
Vanessa Yuen
511bd84ece
work with published release instead of draft release
...
add beta/latest tag with `npm publish`
2017-08-01 16:08:30 -04:00
Vanessa Yuen
cd1c5103c7
remove unnecessary tests & dependencies from /npm
2017-08-01 16:07:51 -04:00
Zeke Sikelianos
5ab38f7674
update glossary entries for brightray, libcc, V8
2017-08-01 10:58:33 -07:00
Vanessa Yuen
1577360312
fix lint errors
2017-08-01 11:50:57 -04:00
Siyuan Liu
f56abac7a8
fix linting error
2017-08-01 17:52:48 +08:00
Vanessa Yuen
eaa63c880e
add final "integration test" before running npm publish on the prebuilt
2017-08-01 00:50:40 -04:00
Cheng Zhao
761eca052a
Merge pull request #10162 from electron/native-image-crashes
...
Fix crashes due to using Debug version of libc++
2017-07-31 17:11:28 +09:00
Cheng Zhao
0ee2ab8a6e
Fix accessing empty vector in V8FunctionInvoker
2017-07-31 16:47:14 +09:00
Cheng Zhao
4b46eca329
spec: Always run crash-reporter at last
...
So when a test crashed we can always see the stack trace.
2017-07-31 16:36:52 +09:00
Cheng Zhao
9ced85d860
Terminate tests when renderer process crashed
2017-07-31 16:24:23 +09: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
Cheng Zhao
2d644a1560
Merge pull request #10161 from electron/fix-cross-linux
...
Fix Linux ia32/arm build
2017-07-31 15:34:40 +09:00
Cheng Zhao
22bf43ecc0
Fix Linux ia32/arm build
2017-07-31 12:37:56 +09:00
Cheng Zhao
e10ebfa7f3
Merge pull request #10148 from electron/fix-arm-deps
...
Fix conflicting dependencies for building arm
2017-07-31 11:16:20 +09:00
Cheng Zhao
a7035b08d5
Merge pull request #10070 from electron/fix-dbus-menu
...
Only update dbus menu when it has been changed
2017-07-31 10:42:08 +09:00
Cheng Zhao
5b7cf19ced
Merge pull request #10099 from electron/leak-node-environment
...
Leak the Node environment when context is released
2017-07-31 10:41:45 +09:00
Siyuan Liu
5a48c1feed
fixes 10128
2017-07-31 09:32:45 +08:00
Samuel Attard
bd99bcbf64
Fix typo in comment
2017-07-31 11:00:00 +10:00
Samuel Attard
32327b77a5
Remove unneeded check but document why it is not there now
2017-07-31 10:47:25 +10:00
ZhangYu
783ba397e7
Create keyboard-shortcuts
2017-07-30 22:31:23 +08:00
Samuel Attard
3ac2f674bc
Fix nativeWindowOpen's opener being null
2017-07-29 19:21:28 +10:00
John Kleinschmidt
d38c9a4644
Merge pull request #10138 from electron/improve-linux-build-instructions
...
improve linux build instructions
2017-07-28 16:36:04 -04:00
John Kleinschmidt
b17d34a88c
Update with better instructions for building libchromiumcontent
2017-07-28 16:27:33 -04:00
John Kleinschmidt
7d8f62293f
Fix conflicting dependencies for building arm
2017-07-28 12:24:44 -04:00
Birunthan Mohanathas
20ae611dd9
Merge pull request #10097 from liusy182/liusy182-browserview
...
#10039 add BrowserView.fromId
2017-07-28 01:27:47 +03:00
John Kleinschmidt
fa8d12cb66
Merge pull request #10126 from electron/fix-travis
...
Fix No module named google_compute_engine error
2017-07-27 17:21:23 -04:00
Zeke Sikelianos
5e7651d282
Merge pull request #10131 from alopix/patch-1
...
Remove mention of SegmentedControl in description
2017-07-27 11:09:11 -07:00
Zeke Sikelianos
c62d1bbf41
improve linux build instructions
2017-07-27 10:29:41 -07:00
Zeke Sikelianos
6dfc7dc489
Merge pull request #10133 from electron/fix-scrubber-continuous
...
Fix Scrubber touch bar item defaults
2017-07-27 10:19:36 -07:00
Samuel Attard
59e85c0f33
Fix stupid or check in scrubber defaults
2017-07-27 17:49:05 +10:00
Shelley Vohr
768e8388d2
Merge pull request #10125 from electron/autoupdater_prefix_error_string
...
prefix autoupdater error with statuscode and domain
2017-07-26 23:49:08 -07:00
Dustin
bdc7d38f48
Removed mention of SegmentedControl in description
2017-07-27 07:51:19 +02:00
Samuel Attard
f385e19594
Indenting stuff
2017-07-27 11:54:06 +10:00
Shelley Vohr
ed717a9b45
revert accidental overbeautification
2017-07-26 18:41:25 -07:00
Shelley Vohr
24ab5075e7
appease the linter
2017-07-26 18:29:10 -07:00
Shelley Vohr
919d7fa22e
Add header declarations in auto_updater
2017-07-26 18:10:09 -07:00
Shelley Vohr
8cf00fece6
add onError with three params and move to atom-auto-updater
2017-07-26 17:33:32 -07:00
John Kleinschmidt
85d76acebb
Fix No module named google_compute_engine error
2017-07-26 14:18:55 -07:00
Shelley Vohr
1cfd20f861
prefix autoupdater error with statuscode and domain
2017-07-26 14:18:53 -07:00
Zeke Sikelianos
2467d91f27
Merge pull request #10127 from electron/fix-heading-levels-for-class-docs
...
fix heading levels for class docs
2017-07-26 14:16:21 -07:00
Zeke Sikelianos
1811b0cbda
fix heading levels for class docs
2017-07-26 13:02:40 -07:00
Vanessa Yuen
cb93f035aa
fix previous merge conflict resolution for .gitignore
2017-07-26 15:22:06 -04:00
Vanessa Yuen
0c3d15d890
Merge branch 'master' into publish-prebuilt
2017-07-26 15:07:33 -04:00
John Kleinschmidt
e80f9d7e49
Merge pull request #10116 from electron/ignore-npmrc
...
ignore .env and .npmrc
2017-07-26 11:05:17 -04:00
Zeke Sikelianos
ac248e79a4
Merge pull request #10113 from lsegal/patch-1
...
Mark certain Notification options as optional
2017-07-25 17:04:13 -07:00
Zeke Sikelianos
f0a12af707
ignore node-inspect's npmrc
2017-07-25 16:59:35 -07:00
Zeke Sikelianos
98d27d5abb
gitignore .env and .npmrc
2017-07-25 16:58:12 -07:00
Zeke Sikelianos
3f53524b90
sort gitignore alphabetically
2017-07-25 16:57:35 -07:00
Zeke Sikelianos
1d9adbd0cf
nothing
2017-07-25 16:54:30 -07:00
Zeke Sikelianos
2be31c1c0d
Merge pull request #10062 from joe-re/translate-keyboard-shortcut-doc-to-japanese
...
translate keyboard shortcuts doc to japanese
2017-07-25 16:32:24 -07:00
Zeke Sikelianos
71602f106b
Merge pull request #10085 from electron/fix-windows-store-guide-typo
...
fix typo in windows store guide
2017-07-25 16:30:18 -07:00
Zeke Sikelianos
3980f66f05
Merge pull request #10103 from fab1an/doc-fixes
...
consistency updates for the docs
2017-07-25 16:23:11 -07:00
Loren Segal
205954fa27
Mark certain Notification options as optional
...
This change makes the `subtitle` and `actions` options optional to the
Notification constructor, since they are only available on macOS.
2017-07-25 13:24:15 -04:00
Fabian Zeindl
5db02ffaa9
updates to the docs
2017-07-24 10:29:45 +02:00
Cheng Zhao
cb3c5ded0f
Merge pull request #9975 from wayne-kim/patch-5
...
this code is not care a bubbling event
2017-07-24 16:07:44 +09:00
Cheng Zhao
bd87982b5c
Merge pull request #10075 from alexstrat/fix/fix-content_scripts-match
...
Fix content scripts matches
2017-07-24 15:27:55 +09:00
Cheng Zhao
0719650315
Leak the Node environment when context is released
2017-07-24 14:56:56 +09:00
Cheng Zhao
25f168cecb
Merge pull request #9951 from alexstrat/fix-chrome-storage
...
Fix chrome storage access scope
2017-07-24 14:01:15 +09:00
Siyuan Liu
ae7c1ae741
#10039 add BrowserView.fromId
2017-07-24 11:32:30 +08:00
Aleš Pergl
54e03d6edd
Merge pull request #10053 from electron/debug_mode
2017-07-23 00:44:45 +02:00
Ales Pergl
8e34aad410
Fixed invalid empty vector subscript access
2017-07-22 14:45:50 +02:00
Ales Pergl
bdbf9e5d6a
Suppress assert dialog boxes when running CI tests
2017-07-22 14:45:50 +02:00
Ales Pergl
cd9d0c1b0f
Enabled true debug mode
2017-07-22 14:45:46 +02:00
Kevin Sawicki
fac32e52fc
Merge pull request #10071 from electron/update-external-binaries
...
Update the external binaries version
2017-07-21 09:04:50 -07:00
Zeke Sikelianos
840dba385a
fix type in windows store guide
2017-07-21 08:26:39 -07:00
Alexandre Lachèze
a2ba4e0a6a
fix content scripts matches
2017-07-20 20:01:49 +02:00
Alexandre Lachèze
498f344e2e
Correct mkdir
2017-07-20 19:50:55 +02:00
Josh Abernathy
ad14ccd195
Update the external binaries version
2017-07-20 10:04:21 -04:00
Cheng Zhao
edc2dae496
Make the status string shorter
2017-07-20 22:45:06 +09:00
Cheng Zhao
74df5f84fd
Only update dbus menu when it has been changed
...
The dbus menu implementaion of KDE would send the about-to-show signal
whenever the menu has been changed, resulting in infinite loop on our
side.
2017-07-20 20:50:14 +09:00
joe-re
71ebb0d3e6
translate keyboard shortcuts doc to japanese
2017-07-20 02:56:23 +09:00
Zeke Sikelianos
3283238555
Merge pull request #10058 from electron/installation-woes-q-and-a
...
add installation advice to FAQ
2017-07-19 09:35:26 -07:00
Cheng Zhao
52c6c7e676
Merge pull request #9819 from ferreus/dev/vladimir_fix9231
...
🐛 Fix #9231 : Don't load url when detached.
2017-07-19 11:15:30 +09:00
Zeke Sikelianos
eeeee2cde8
Merge pull request #9989 from electron/check-for-leaks
...
check for secrets before git push and npm publish
2017-07-18 15:30:03 -07:00
Zeke Sikelianos
f5ed6c36cc
add installation advice to FAQ
2017-07-18 13:23:03 -07:00
Vanessa Yuen
40555371ba
add tests for npm install
2017-07-18 13:38:57 -04:00
Kevin Sawicki
959231f766
Merge pull request #9834 from shubham2892/input-type-file-treating-packaged-app-as-directory
...
Fix treat packaged app as directory
2017-07-18 10:21:07 -07:00
Kevin Sawicki
7db3009234
Remove s
2017-07-18 10:19:00 -07:00
Kevin Sawicki
908c1fdfa0
Mark treatPackageAsDirectory as mac only
2017-07-18 10:18:23 -07:00
Shubham
b25a1d10a2
🍎 Add treatPackageasDirectory as an option
2017-07-18 10:13:25 -07:00
Kevin Sawicki
1d9f69e742
Merge pull request #10008 from qazbnm456/fix-pdf-viewer
...
Fix a query string parsing problem happend to PDF Viewer
2017-07-18 09:10:55 -07:00
Kevin Sawicki
2bac358064
Merge pull request #10015 from electron/input-dialog-filter-titles
...
Add filter descriptions for common accept types
2017-07-18 09:10:11 -07:00
Kevin Sawicki
5b9d31d3ff
Bump v1.7.5
2017-07-17 12:45:30 -07:00
Kevin Sawicki
8ae7401f7c
Merge pull request #10050 from electron/native-window-open-experimental
...
Mark nativeWindowOpen as experimental
2017-07-17 12:45:04 -07:00
Kevin Sawicki
a2554080ea
Mark nativeWindowOpen as experimental
2017-07-17 12:40:59 -07:00
Kevin Sawicki
c567448cf6
Merge pull request #10049 from electron/debugging-typo
...
fix typo in macOS debugging doc
2017-07-17 12:39:14 -07:00
Kevin Sawicki
65fe703dc2
Merge pull request #9972 from electron/merge-web-preferences
...
Inherit webPreferences in windows opened via sandbox or nativeWindowOpen
2017-07-17 12:38:50 -07:00
Zeke Sikelianos
34c27468dd
fix typo in macOS debugging doc
2017-07-17 12:12:44 -07:00
Kevin Sawicki
fc53ac3d38
Always register closed listeners
2017-07-17 11:55:16 -07:00
Kevin Sawicki
208be2a542
Set preload script on opened windows
2017-07-17 11:55:16 -07:00
Kevin Sawicki
fdb1fddc26
Only reset preferences when conversion succeeds
2017-07-17 11:55:16 -07:00
Kevin Sawicki
3925bfde8e
Add spec for reloading opened window cross-origin
2017-07-17 11:55:15 -07:00
Kevin Sawicki
0c8f773dec
Remove debug logging
2017-07-17 11:55:15 -07:00
Kevin Sawicki
9d7c2e2294
Add specs for nativeWindowOpen inheritance and new-window support
2017-07-17 11:55:15 -07:00
Kevin Sawicki
86b1deedfa
Inherit enabled-sandbox in opened windows
2017-07-17 11:55:15 -07:00
Kevin Sawicki
c71b0a5441
Add spec for configuring web preferences from sandboxed new-window event
2017-07-17 11:55:15 -07:00
Kevin Sawicki
06e60e5d4d
Map pending process id to webContents for frame host initiating navigation
2017-07-17 11:55:15 -07:00
Kevin Sawicki
34c5abfe43
Update web preferences when creating with existing webContents
2017-07-17 11:55:15 -07:00
Kevin Sawicki
61167ca296
Inherit nativeWindowOpen from parent window
2017-07-17 11:55:15 -07:00
Kevin Sawicki
553021bc9c
Only assign opener when not using nativeWindowOpen
2017-07-17 11:55:15 -07:00
Kevin Sawicki
25e1ed97b5
Use constants from content_switches.h
2017-07-17 11:55:15 -07:00
Kevin Sawicki
eb0022363e
Merge pull request #10048 from electron/revert-debug-build-9934
...
Revert #9934
2017-07-17 11:54:25 -07:00
Kevin Sawicki
968759b823
Revert "Suppress assert dialog boxes when running CI tests"
...
This reverts commit 3574bcacca .
2017-07-17 10:05:21 -07:00
Kevin Sawicki
fa7c006a3d
Revert "Enabled true debug mode"
...
This reverts commit df90fb7f75 .
2017-07-17 10:05:12 -07:00
Kevin Sawicki
0298f9e00a
Merge pull request #10046 from omerfarukozdemir/master
...
Update readme.md
2017-07-17 09:48:19 -07:00
Ales Pergl
3574bcacca
Suppress assert dialog boxes when running CI tests
2017-07-17 17:59:40 +02:00
Ales Pergl
df90fb7f75
Enabled true debug mode
2017-07-17 17:59:40 +02:00
Ömer Faruk ÖZDEMİR
3e946dfe55
Update readme.md
...
Typo fix
2017-07-17 17:25:36 +03:00
Vladimir Vainer
e0518444da
Minor changes to match style, init variables
2017-07-17 16:52:02 +03:00
Cheng Zhao
a43553aa25
Merge pull request #9962 from ferreus/dev/vladimir_fix_8768
...
Fix #8768 : Show() on already open modal
2017-07-17 10:49:18 +03:00
Zeke Sikelianos
fb519274e0
Merge pull request #10004 from TiagoDanin/RevisionDoc-PT_BR
...
[docs-translations] Correct words in PT-BR
2017-07-15 21:47:37 -07:00
Vladimir Vainer
517184b89b
Do not use deprecated deepCopyTo
2017-07-16 06:33:37 +03:00
Boik
01d021e6a3
add a new spec for https://github.com/electron/electron/pull/10008
2017-07-15 15:00:30 +08:00
Boik
4fb1fffe44
fix lint
2017-07-15 10:57:16 +08:00
Boik
8d6ee5aad2
add some minor fixes
2017-07-15 10:34:25 +08:00
Kevin Sawicki
0b13ccac34
Merge pull request #9855 from electron/paulcbetts-patch-1
...
Recommend electron-forge in auto-updater, fix some Windows stuffs
2017-07-14 14:33:39 -07:00
Kevin Sawicki
03c8943997
Merge pull request #9953 from alexstrat/fix-content-scripts-url-used-in-match
...
Fix page's URL used to test against content_scripts[].matches
2017-07-14 14:16:42 -07:00
Kevin Sawicki
42496e1231
Merge pull request #9947 from njbmartin/patch-1
...
Add known issue to MAS submission guide
2017-07-14 14:10:22 -07:00
Kevin Sawicki
1ade2dbfa2
Minor formatting changes to shell.openItem issue
2017-07-14 14:10:06 -07:00
Kevin Sawicki
5581d1d652
Merge pull request #9788 from shubham2892/Add-option-to-show-title-text-in-titlebar-in-fullscreen
...
Add alwaysShowTitleTextInFullscreen flag
2017-07-14 11:58:12 -07:00
Kevin Sawicki
c4ffb91190
🎨
2017-07-14 11:49:40 -07:00
Kevin Sawicki
9102c07ec7
always_show_title_text_in_full_screen -> fullscreen_window_title
2017-07-14 11:48:10 -07:00
Kevin Sawicki
c4956132d2
Add filter descriptions for common accept types
2017-07-14 11:04:06 -07:00
Kevin Sawicki
720755e124
Merge pull request #9745 from yuya-oc/input-allow-all-files
...
Add 'All Files (*.*)' filter for <input> file dialog
2017-07-14 10:41:11 -07:00
Kevin Sawicki
0a71a9b992
Merge pull request #9695 from shubham2892/alwaysOnTop-window-disappears-when-restored-fix
...
Fix an issue where alwaysOnTop window disappears when restore…
2017-07-14 10:09:13 -07:00
Kevin Sawicki
4935e8567f
Initialize level_ in initWithShell
2017-07-14 10:07:06 -07:00
Kevin Sawicki
48f5a66f87
Merge pull request #9983 from electron/devtools-mixed-sandbox
...
Fix devtools open in mixed sandbox
2017-07-14 09:41:56 -07:00
Birunthan Mohanathas
149c723c51
Merge pull request #10003 from electron/disabledomainblocking
...
Add app.disableDomainBlockingFor3DAPIs()
2017-07-14 16:40:27 +03:00
Boik
9a7651a93f
fix a pdf-viewer's parsing logic, and this should resolve the related issue at https://github.com/electron/electron/issues/10007
2017-07-14 12:09:14 +08:00
TiagoDanin
c0cf679ed0
Correct words in PT-BR
2017-07-13 21:23:23 -03:00
Birunthan Mohanathas
812b529881
Add app.disableDomainBlockingFor3DAPIs()
...
By default, Chromium disables 3D APIs (e.g. WebGL) until restart on a
per domain basis if the GPU processes crashes too frequently. This
function disables that behaviour.
2017-07-14 01:41:43 +03:00
Vanessa Yuen
663710e8eb
script to publish electron to npm directly
2017-07-13 17:09:21 -04:00
Kevin Sawicki
1d32f300f3
Merge pull request #9991 from electron/surface-runas-require-errors
...
Surface require errors via answer IPC message
2017-07-13 08:55:06 -07:00
Kevin Sawicki
60f563ae5f
Surface require errors so spec does not hang
2017-07-13 08:36:58 -07:00
Zeke Sikelianos
0b1d264fc8
check for secrets before git push and npm pack
2017-07-12 10:18:40 -07:00
Andrey Kurdyumov
189be18dd2
Allow TypeScript definitions work with strictNullChecks
...
See https://github.com/electron/electron-typescript-definitions/issues/25
2017-07-12 20:29:32 +06:00
Hari Juturu
80bd6a3e91
🎨
2017-07-11 18:36:01 -07:00
Hari Juturu
9a3b78d9fe
Fix devtools open in mixed sandbox mode
2017-07-11 18:36:00 -07:00
Zeke Sikelianos
30df0f3306
Merge pull request #9974 from wan-qy/master
...
Fix typo
2017-07-11 11:31:39 -07:00
Wayne Loopy
bc0f3b1bf8
this code is not care a bubbling event
...
So If you do not care bubbling equally, I think it should change like this.
2017-07-11 15:44:08 +09:00
wan-qy
7c2467b221
Fix typo
2017-07-11 10:55:59 +08:00
Kevin Sawicki
0a1b5a0d7e
Merge pull request #9959 from electron/add-OSR-to-glossary
...
add OSR to glossary
2017-07-10 17:56:05 -07:00
Alexandre Lachèze
ec8407c65d
Recursively mkdir the parent directories
2017-07-11 00:56:45 +02:00
Alexandre Lachèze
c85f3cbd2c
Change storage implementation to async
2017-07-11 00:35:53 +02:00
Alexandre Lachèze
9aac8967aa
👕
2017-07-10 23:56:44 +02:00
Alexandre Lachèze
969c74b886
Use es6 string templating
2017-07-10 23:50:59 +02:00
Kevin Sawicki
8ae55dae6c
Merge pull request #9967 from electron/upgrade-libcc
...
Upgrade to electron/libchromiumcontent@8cfd08f84e
2017-07-10 14:31:28 -07:00
Kevin Sawicki
adc5e9693c
Upgrade to electron/libchromiumcontent@8cfd08f84e
2017-07-10 08:23:32 -07:00
Kevin Sawicki
6341749b82
Merge pull request #9963 from wayne-kim/patch-3
...
404 Error
2017-07-10 08:19:53 -07:00
Zeke Sikelianos
0dcedff24b
Merge pull request #9964 from Raul6469/master
...
Fix french language mistakes in documentation
2017-07-09 15:21:16 -07:00
Victor
9ff054d82f
One more correction
2017-07-09 18:01:13 +02:00
Raul6469
882f1002d5
Fix french language mistakes in documentation
2017-07-09 09:48:39 +02:00
Wayne Loopy
b486814c77
404 Error
...
i think should remove a "s" in tutorial"s"/mac-app-store-submission-guide.md
2017-07-09 14:26:35 +09:00
Vladimir Vainer
5f2dd2ef6c
Fix #8017 : Crash copying croped image to clipboard
2017-07-09 06:56:14 +03:00
Vladimir Vainer
42cb3461af
🐛 Fix #9231 : Don't load url when detached.
2017-07-09 06:54:22 +03:00
Vladimir Vainer
06b5acdac0
Fix #8768 : Show() on already open modal
...
Calling show() on an already open modal causes the parent to become unusable
2017-07-09 06:49:12 +03:00
Zeke Sikelianos
7d402d8c88
add OSR to glossary
2017-07-07 13:43:54 -07:00
Alexandre Lachèze
73e8769b1f
content_scripts[].matches use the URL without hash part
2017-07-07 04:14:36 +02:00
Alexandre Lachèze
ec10338364
Per-extension storage
2017-07-07 03:13:19 +02:00
Alexandre Lachèze
d2002ff3fc
Use a file as Chrome Storage rather than localStorage
2017-07-07 03:06:53 +02:00
Vanessa Yuen
5dfee2a23c
remove files no longer needed in /npm
2017-07-06 14:31:02 -04:00
Kevin Sawicki
9cd5f0cddd
Import electron-prebuilt history into npm folder
2017-07-06 11:20:31 -07:00
Nico
fea6190bbb
Add known issue to MAS submission guide
2017-07-06 10:28:41 +01:00
Kevin Sawicki
8a62d81fc5
Merge pull request #9931 from fasterthanlime/patch-1
...
📝 mixed devtools behavior with mixed sandbox
2017-07-05 12:41:42 -07:00
Alexandre Lachèze
6e3407d4a4
✅ Forgot a describe.only
2017-07-05 19:10:02 +02:00
Kevin Sawicki
adaa409c71
Merge pull request #9929 from alexeykuzmin/fix-assert-message
...
Fix error message of `assertWithinDelta()`
2017-07-05 09:08:14 -07:00
Alexandre Lachèze
2231673b03
✅ Remove already tested part
2017-07-05 17:36:39 +02:00
Alexandre Lachèze
03ec155ecb
Oops
2017-07-05 17:34:04 +02:00
Alexandre Lachèze
67cec5fd26
✅ add tests for BrowserWindow.addExtension
2017-07-05 17:21:06 +02:00
Alexandre Lachèze
f09e448d4d
📝
2017-07-05 17:01:30 +02:00
Amos Wenger
bd8459841b
📝 mixed devtools behavior with mixed sandbox
2017-07-04 14:20:18 +02:00
Aleksei Kuzmin
120b05e075
Fix error message of assertWithinDelta()
2017-07-04 11:56:21 +02:00
Alexandre Lachèze
cba53604eb
Introduce extensions management APIs indépendant of Dev Tools Extensions
...
- introduce API BrowserWindow#[add,remove,get]Extension
- make [add,remove, get]DevToolsExtension use newly introduced API
- make the app persist only the extensions added via
#addDevToolsExtension
2017-07-03 20:01:08 +02:00
Milan Burda
d58a5dfe3a
Merge pull request #9903 from miniak/notification-subtitle
...
Notification subtitle on Mac
2017-06-30 19:08:51 +02:00
Milan Burda
d5df114bb4
🎨 Make Notification getters const methods
2017-06-30 16:54:31 +02:00
Milan Burda
a196bf97bc
🍎 Add subtitle to Notification properties
2017-06-30 16:54:28 +02:00
Ales Pergl
440b238157
Fixed build issues in debug mode
2017-06-30 12:28:01 +02:00
Kevin Sawicki
1c1cf0d1f2
Merge pull request #9857 from alexeykuzmin/add-enable-osr-flag
...
[WIP] Add enable_osr flag
2017-06-29 12:30:44 -07:00
Kevin Sawicki
7fbd54b2e4
Remove OSR disabling
2017-06-29 12:26:59 -07:00
Kevin Sawicki
449776f228
Don't run it statements when OSR is disabled
2017-06-29 12:26:45 -07:00
Electron Bot
21657c6289
Update to Electron v1.7.4
2017-06-28 16:47:26 -07:00
Kevin Sawicki
3cabefe998
Merge pull request #269 from electron-userland/typescript-1-7-4
...
Upgrade .d.ts file to 1.7.4
2017-06-28 15:42:28 -07:00
Kevin Sawicki
97d0c6e505
Upgrade .d.ts file to 1.7.4
2017-06-28 15:18:59 -07:00
Kevin Sawicki
4a7eb5077e
Bump v1.7.4
2017-06-28 14:37:04 -07:00
Kevin Sawicki
e37fc0e30a
Mark mixed sandbox as macOS/Windows only
2017-06-28 14:36:34 -07:00
Kevin Sawicki
04c87cd1c3
Merge pull request #9892 from electron/upgrade-pdf-viewer
...
Upgrade to electron/pdf-viewer@beb36874a6
2017-06-28 14:05:02 -07:00
Kevin Sawicki
506b354c1b
👕 Remove lint
2017-06-28 13:40:28 -07:00
Kevin Sawicki
6d2a5145c9
Assert loaded state
2017-06-28 13:01:22 -07:00
Kevin Sawicki
0f83180377
Merge pull request #9837 from electron/notification-actions
...
Notification actions
2017-06-28 12:59:10 -07:00
Kevin Sawicki
9f0d2cd39d
Use pdf-loaded event in specs
2017-06-28 12:57:05 -07:00
Kevin Sawicki
06a550b412
Autorelease tracking area
2017-06-28 12:37:31 -07:00
Kevin Sawicki
e44f655503
Merge pull request #9760 from shubham2892/Add-mouse-enter-and-mouse-exit-event-for-Tray
...
Add mouse-enter and mouse-exit events for tray
2017-06-28 12:15:32 -07:00
Kevin Sawicki
d53f07cc20
🎨
2017-06-28 12:13:12 -07:00
Kevin Sawicki
70544440f9
Add location and keyboard modifiers to tray mouse events
2017-06-28 12:10:24 -07:00
Kevin Sawicki
2406d6c279
Rename to mouse-leave for consistency with drag-leave
2017-06-28 11:40:21 -07:00
Kevin Sawicki
1aa3217899
Upgrade to electron/pdf-viewer@beb36874a6
2017-06-28 10:48:37 -07:00
Kevin Sawicki
4958771b8a
Merge pull request #9852 from electron/webcontents-ignorekeyboardshortcuts
...
Add webContents.setIgnoreMenuShortcuts()
2017-06-28 10:35:02 -07:00
Aleksei Kuzmin
2007f3cb99
FIXME: enable_osr=0
2017-06-28 19:34:57 +02:00
Aleksei Kuzmin
25e1c5d6e7
Skip "offscreen rendering" tests if OSR is not available
2017-06-28 19:34:57 +02:00
Kevin Sawicki
9dd27ba3ec
Add explicit expected value
2017-06-28 10:21:25 -07:00
Kevin Sawicki
0d1cf8af35
Mark contents.setIgnoreMenuShortcuts as experimental
2017-06-28 10:20:22 -07:00
Kevin Sawicki
2cd49f3036
Merge pull request #9644 from electron/webview-sandbox
...
Enable sandbox on webview
2017-06-28 10:10:25 -07:00
Aleksei Kuzmin
da36bdfcc4
Add enable_osr build flag
2017-06-28 18:58:52 +02:00
Kevin Sawicki
5822e718e6
Add finish helper to ensure connection
2017-06-28 09:58:23 -07:00
Kevin Sawicki
523fbe2df9
Send messages between app via socket connection
2017-06-28 09:27:19 -07:00
Kevin Sawicki
628744f9e1
Put enableMixedSandbox before deprecation TODO
2017-06-28 08:37:56 -07:00
Kevin Sawicki
f1dbfb1925
Mark app.enableMixedSandbox() as experimental
2017-06-28 08:36:29 -07:00
Kevin Sawicki
2df9e57b50
Remove unused require
2017-06-28 08:35:17 -07:00
Kevin Sawicki
7fcc00f137
Add spec for app.enableMixedSandbox()
2017-06-28 08:33:11 -07:00
Kevin Sawicki
f0ec9c68b0
Merge pull request #9883 from electron/ipc-return-value
...
document the return value of ipcRenderer.sendSync
2017-06-28 08:03:27 -07:00
Kevin Sawicki
abff9891ea
Merge pull request #9881 from electron/fix-crash-reporter-typo
...
fix crash reporter typo
2017-06-28 08:02:57 -07:00
Samuel Attard
3774482859
Update notification PR as per feedback
2017-06-28 17:00:19 +10:00
Zeke Sikelianos
f646be2981
document the return value of ipcRenderer.sendSync
2017-06-27 12:01:39 -07:00
Zeke Sikelianos
d3ac9a3f3b
fix crash reporter typo
2017-06-27 10:40:14 -07:00
Kevin Sawicki
ab174f5e74
Updated libchromiumcontent submodule
2017-06-27 08:02:25 +02:00
Hari Juturu
1258240067
fixing build error
2017-06-26 16:20:12 -07:00
Kevin Sawicki
f7539e6e8d
Remove increased timeout
2017-06-26 14:15:26 -07:00
Kevin Sawicki
c01248ce47
Remove unused require
2017-06-26 14:14:44 -07:00
Hari Krishna Reddy Juturu
74196b96a1
Adding enableMixedSandbox api
2017-06-26 14:13:41 -07:00
Kevin Sawicki
0eaddd1565
Verify --enable-sandbox/--no-sandbox command line
2017-06-26 14:12:03 -07:00
Birunthan Mohanathas
f20f87829b
Add webContents.setIgnoreMenuShortcuts()
...
This allows you to disable application menu shortcut handling on a per
web contents basis.
2017-06-26 14:01:17 -07:00
Shubham
a38f0f5f46
rename alwaysShowTitleTextInFullscreen to fullscreenWindowTitle
2017-06-26 16:58:45 -04:00
Kevin Sawicki
14178d9826
Expose argv to preload process object
2017-06-26 13:52:19 -07:00
Kevin Sawicki
55c8b1fc52
Merge pull request #9870 from electron/IME
...
add IME to glossary
2017-06-26 13:31:45 -07:00
Zeke Sikelianos
0a01af527a
add IME to glossary
2017-06-26 13:28:24 -07:00
Kevin Sawicki
bda21216e7
Merge pull request #9743 from electron/number-accelerator-modifier
...
Don't mutate the accelerator character with the shift key if it's a number
2017-06-26 11:20:52 -07:00
Kevin Sawicki
4c8592b8ef
Merge pull request #9828 from electron/fix-browserview-file-chooser-crash
...
Fix crash when using file chooser in BrowserView
2017-06-26 09:54:31 -07:00
Kevin Sawicki
361d8aebf5
Merge pull request #9853 from electron/before-input-event
...
recommend before-input-event in keyboard shortcuts tutorial
2017-06-26 09:38:54 -07:00
Kevin Sawicki
02026d65f6
Merge pull request #9856 from electron/paulcbetts-patch-2
...
Remove grunt-build-atom-shell
2017-06-26 08:55:51 -07:00
Kevin Sawicki
a916be3ffd
Merge pull request #9754 from t-hofmann/patch-1
...
Create app.md
2017-06-26 08:53:44 -07:00
Kevin Sawicki
da001940e2
isNotFirstInstance -> isSecondInstance
2017-06-26 08:53:29 -07:00
Kevin Sawicki
3804bc5eb2
Merge pull request #9847 from timfish/patch-1
...
Fixes electron/electron-typescript-definitions/issues/63
2017-06-26 08:50:49 -07:00
Kevin Sawicki
43f7e42bf7
Mark silent/printBackground as optional
2017-06-26 08:50:00 -07:00
Kevin Sawicki
23285b3dc3
Merge pull request #9772 from electron/add-crt-to-glossary
...
add CRT to glossary
2017-06-26 08:37:11 -07:00
Kevin Sawicki
ef38122388
Merge pull request #9778 from lepinay/patch-1
...
Extra properties must be less than 63 characters
2017-06-26 08:36:43 -07:00
Kevin Sawicki
cbaf3d4787
Tweak character limit description
2017-06-26 08:35:57 -07:00
Birunthan Mohanathas
79e9926f40
Merge pull request #9826 from ccnokes/patch-1
...
Fix docs: app.md `setLoginItemSettings`
2017-06-26 08:07:15 -07:00
Cheng Zhao
00d023cd71
Merge pull request #9725 from danielma/dma/native-tab-new-button
...
Add "New Tab" button for Native macOS Tabs
2017-06-26 15:07:10 +09:00
Cheng Zhao
5fbcb6ef4e
Merge pull request #9396 from drulm/printtopdf-custom-pagesize
...
Add Math.ceil to pageSize.height and pageSize.width to printToPDF() o…
2017-06-26 14:48:44 +09:00
Paul Betts
06744f1bf3
Remove grunt-build-atom-shell
...
That thing is deprecated for _sure_
2017-06-25 22:14:24 -07:00
Paul Betts
97a9708c03
Recommend electron-forge in auto-updater, fix some Windows stuffs
...
We should point people to electron-forge, it's the modern way to package Electron apps
2017-06-25 22:10:48 -07:00
Cheng Zhao
727da46971
Merge pull request #9824 from electron/fix-9139
...
Add process properties in lieu of command line options.
2017-06-26 11:16:33 +09:00
Zeke Sikelianos
637cec2a3d
recommend before-input-event in keyboard shortcuts tutorial
2017-06-25 17:36:38 -07:00
Tim Fish
58a42682d8
Fixes electron/electron-typescript-definitions/issues/63
2017-06-25 10:43:47 +02:00
Samuel Attard
7eb14243eb
Refactor notification options
2017-06-24 21:39:06 +10:00
Samuel Attard
b8be81f101
Fix structure docs
2017-06-24 00:30:13 +10:00
Samuel Attard
17e737eba2
s/label/text
2017-06-23 21:04:39 +10:00
Samuel Attard
96f9dba595
Document the reply / button compatibility state
2017-06-23 20:56:55 +10:00
Samuel Attard
a9bf9d26ab
Fix typo in Notification docs
2017-06-23 20:50:50 +10:00
Samuel Attard
4f0d48f164
Add support for notification actions on macOS
2017-06-23 20:50:20 +10:00
Aleš Pergl
873a315538
Merge pull request #9764 from electron/dynamic_crt
...
Use dynamic CRT in the release build
2017-06-23 08:03:47 +02:00
Birunthan Mohanathas
3cc0429388
Merge pull request #9798 from electron/tonyganch/10.13-transparent-titlebar
...
Fix invisible titlebar on macOS 10.13
2017-06-22 14:27:23 -07:00
Shubham
80e35b6682
🍎 Fix treat packaged app as directory
2017-06-22 17:10:22 -04:00
Ales Pergl
0bdd35a482
Updated libchromiumcontent submodule
2017-06-22 16:02:55 +02:00
Birunthan Mohanathas
eb19562316
Fix crash when using file chooser in BrowserView
...
The crash was a segfault caused by a null `WebDialogHelper::window_`.
2017-06-21 16:26:38 -07:00
Cameron Nokes
3239da37dd
Fix docs: app.md setLoginItemSettings
...
`app.setLoginItemSettings` documented arguments are misleading -- `path` and `args` should be passed in the `settings` object, not as separate params, like the code sample below it or in the test file here: 9250b559f9/spec/api-app-spec.js (L336)
and in the actual C++ function declaration here: f5a75c4e87/atom/browser/browser.h (L104)
2017-06-21 16:24:00 -06:00
John Kleinschmidt
a4e0af2fbf
Updated referenced command line flag.
2017-06-21 15:01:55 -04:00
John Kleinschmidt
671f5c20f7
Add process properties in lieu of command line options.
...
Resolves #9139
For certain node command line options, those options can be set via the
process object (process.noDeprecation, process.throwDeprecation,
process.traceDeprecation, and process.traceProcessWarnings) so they are
documented here.
Also, sorted properties and methods alphabetically for easier
readability.
2017-06-21 14:58:44 -04:00
Shubham
1b8963ff6e
🍎 Fix full screen when resizable is set to true
2017-06-20 16:11:28 -04:00
Kevin Sawicki
3abeb6e2bc
Merge pull request #9808 from Gryff/master
...
Remove `bash` from windows commands to stop syntax highlighting errors
2017-06-20 09:48:58 -07:00
Liam Griffin
3decb5eb28
Remove bash from windows commands to prevent syntax highlighting errors ( #1 )
2017-06-20 15:25:42 +01:00
Kevin Sawicki
4337c44af8
Merge pull request #9801 from electron/update-electron-email
...
atom@github.com -> electron@github.com
2017-06-19 20:45:45 -07:00
Zeke Sikelianos
07d6fd3fe1
Merge pull request #9800 from electron/fix-typo
...
fix typo in linux build instructions
2017-06-19 13:20:58 -07:00
Hari Krishna Reddy Juturu
cf392e402c
Adding docs
2017-06-19 11:21:31 -07:00
Zeke Sikelianos
e644b98d07
atom@github.com -> electron@github.com
2017-06-19 09:33:20 -07:00
Zeke Sikelianos
57d81f6961
fix typo in linux build instructions
2017-06-19 08:45:06 -07:00
Hari Krishna Reddy Juturu
902b34ba39
🎨
2017-06-19 08:03:02 -07:00
Hari Krishna Reddy Juturu
e546820a4a
Completing UTs
2017-06-19 07:46:14 -07:00
Tony Ganch
471f6e0fa5
Fix invisible titlebar on macOS 10.13
2017-06-19 14:34:37 +02:00
Shubham
25c651c40a
add alwaysShowTitleTextInFullscreen flag
2017-06-17 20:45:29 -04:00
Kevin Sawicki
c1ac0bac62
Merge pull request #9784 from calmandniceperson/master
...
Add German translation for README and Contributor Covenant
2017-06-16 16:32:13 -07:00
Michael Köppl
189c3af0dd
Fix broken link to Atom
2017-06-17 01:23:50 +02:00
Michael Köppl
b0ba6c8d3d
Fix typo
2017-06-17 01:23:11 +02:00
Michael Köppl
8d080b36e6
Fix hyperlink text containing space
2017-06-17 01:21:37 +02:00
Michael Köppl
3f8b953616
Add link to German translation
2017-06-17 01:19:15 +02:00
Michael Köppl
53a6237525
Add German translation for README and Contributor Covenant
2017-06-17 01:17:16 +02:00
Hari Krishna Reddy Juturu
0b7e7458c9
WIP: Adding UT
2017-06-16 15:34:11 -07:00
Kevin Sawicki
89cb211451
Merge pull request #9782 from jotafeldmann/patch-1
...
Change NSIS topic level from 2 to 3
2017-06-16 15:06:57 -07:00
Samuel Attard
231d4f7581
Use the isdigit helper
2017-06-17 03:52:19 +10:00
Jorge Feldmann (Jota)
c329ab4ad2
Change NSIS topic level from 2 to 3
...
Why: this can mislead interpretation of the rest of the document. The `NSIS` is just one more topic at the same level of Process and Native Modules.
2017-06-16 14:45:49 -03:00
Zeke Sikelianos
ab3ca416b4
not just a microsoft thing
2017-06-16 10:21:24 -07:00
foo bar code
4bed743417
Extra properties must be less than 63 characters
...
I found out that after trying to putting some long text in my extra properties that it was truncated, digging around I found these:
897d58bde1/atom/common/crash_reporter/crash_reporter_win.cc
const int kNameMaxLength = 64;
const int kValueMaxLength = 64;
2017-06-16 14:41:12 +02:00
Zeke Sikelianos
a456fc800e
add CRT to glossary
2017-06-15 17:28:00 -07:00
Shubham
12b90a2304
🐛 store current level fix
2017-06-15 18:05:58 -04:00
Kevin Sawicki
493cfd38d6
Merge pull request #9768 from electron/update-breaking-changes
...
mention ARM and FIXME in breaking changes doc
2017-06-15 13:50:37 -07:00
Zeke Sikelianos
6c94c265f3
Merge pull request #9769 from electron/deprecate-hidden-inset
...
Add titleBarStyle: 'hidden-inset' to planned breaking changes
2017-06-15 13:13:02 -07:00
Kevin Sawicki
d612b08871
Add titleBarStyle: 'hidden-inset' to planned breaking changes
2017-06-15 12:54:07 -07:00
Zeke Sikelianos
36696dbbba
mention ARM and FIXME in breaking changes doc
2017-06-15 12:46:25 -07:00
Kevin Sawicki
e8911fe48c
Merge pull request #9610 from shubham2892/incorrect-file-extension-with-showSaveDialog-fix
...
Fix incorrect extension when filters is used
2017-06-15 10:29:11 -07:00
Kevin Sawicki
15dd0eb583
Add braces to if statement
2017-06-15 10:27:34 -07:00
Kevin Sawicki
1602c07fac
Merge pull request #9767 from electron/document-wc-focus
...
Document webContents.focus()
2017-06-15 10:25:17 -07:00
Birunthan Mohanathas
ece50c036d
Document webContents.focus()
2017-06-15 10:19:27 -07:00
Kevin Sawicki
e94698d7cd
Merge pull request #9751 from electron/optional-spelling
...
use lowercase for optional annotation
2017-06-15 10:12:15 -07:00
Ales Pergl
b72da0a509
Include VC runtime and UCRT in the Windows distribution
2017-06-15 09:50:09 +02:00
Ales Pergl
9610e656bb
Use dynamic CRT in the release build
2017-06-15 09:42:15 +02:00
Zeke Sikelianos
7587fc22f1
Merge pull request #9724 from electron/bump-standard-markdown
...
Bump standard-markdown
2017-06-14 17:26:53 -07:00
Kevin Sawicki
5b0290bf88
Merge pull request #9741 from electron/webview-visibility-state
...
Send window visibility to webview after DOM ready
2017-06-14 15:22:55 -07:00
Shubham
8dbb8ccbab
add mouse-enter and mouse-exit events for tray
2017-06-14 18:00:29 -04:00
Kevin Sawicki
dae27de504
Merge pull request #9588 from electron/poiru/dialog-default-file-name
...
Use last selected directory when using default file name in dialog.showSaveDialog()
2017-06-14 14:41:45 -07:00
Kevin Sawicki
f9f697298d
Add FIXME link to #6828
2017-06-14 14:12:51 -07:00
Kevin Sawicki
626a1550dc
Send cached visibility state when guest DOM is ready
2017-06-14 14:11:38 -07:00
Kevin Sawicki
f1a72ad108
Add spec for webview visibility change on show
2017-06-14 14:11:38 -07:00
Kevin Sawicki
ce0684aada
Merge pull request #9755 from Nirmal4G/docs-fixes
...
Update windows-store-guide.md
2017-06-14 14:10:43 -07:00
Kevin Sawicki
45dc6fc04f
Merge pull request #9645 from dharders/issue6036-fix-windows-fullscreen-startup-toggle
...
Fix unresponsive app after fullscreen->normal state toggle (Windows)
2017-06-14 14:10:00 -07:00
Nirmal Guru
bf52b77480
📝 Update zh-CN/windows-store-guide.md
...
[ci skip] Replace "Windows 8" to "Windows 10"
2017-06-14 17:18:52 +05:30
Nirmal Guru
c681001fb5
📝 Update ko-KR/windows-store-guide.md
...
[ci skip] Replace "Windows 8" to "Windows 10"
2017-06-14 17:18:33 +05:30
Nirmal Guru
e44a8916df
📝 Update id/windows-store-guide.md
...
[ci skip] Replace "Windows 8" to "Windows 10"
2017-06-14 17:18:13 +05:30
Nirmal Guru
fffc64f28b
📝 Update windows-store-guide.md
...
[ci skip] Replace "Windows 8" to "Windows 10"
2017-06-14 17:17:47 +05:30
Cheng Zhao
fd0a742683
Merge pull request #9700 from brenca/pdf-zoom-improvements
...
Zoom controller improvements
2017-06-14 19:15:28 +09:00
Thomas Hofmann
1a6f6fd497
Create app.md
2017-06-14 12:12:30 +02:00
Hari Juturu
421bf71b98
Adding no-sandbox to non sandbox webcontents
2017-06-13 18:45:24 -07:00
dharders
112f4656c3
👕 fix lint warning
2017-06-14 11:30:33 +10:00
dharders
909344415e
🎨 Use leave-full-screen event instead of setTimeout()
2017-06-14 11:06:33 +10:00
dharders
265ab45bd7
🎨 Reuse existing function
2017-06-14 11:05:39 +10:00
Heilig Benedek
a3ec28ddf3
remove unused includes
2017-06-14 00:49:11 +02:00
Zeke Sikelianos
56ee50f3a3
use lowercase for optional annotation
2017-06-13 13:50:10 -07:00
Zeke Sikelianos
b328a238a6
Merge pull request #9750 from electron/path-csd-props
...
Make clearStorageData options object's property optional
2017-06-13 13:48:10 -07:00
Vanessa Yuen
f91409b2e8
Merge pull request #9721 from brianfajardo/patch-1
...
Update rectangle.md (issue #9552 )
2017-06-13 11:53:49 -07:00
Vanessa Yuen
cd28bdd815
add integer note to each parameter
2017-06-13 11:51:55 -07:00
Vanessa Yuen
de545aabce
Merge pull request #9733 from qazbnm456/patch-1
...
Use Buffer.from instead of deprecated new Buffer
2017-06-13 11:44:34 -07:00
Samuel Attard
de066b8d13
Make clearStorageData options object's property optional
...
Fixes #9749
2017-06-14 04:34:13 +10:00
Yuya Ochiai
be9463b7b7
Add 'All Files (*.*)' filter for <input> file dialog
...
The dialog would filter files as well as Chrome.
2017-06-13 22:33:06 +09:00
Samuel Attard
29dbb93f16
Don't mutate the accelerator character wuth the shift key if it's a number
2017-06-13 20:29:54 +10:00
Kevin Sawicki
014aaccfc6
Merge pull request #9739 from electron/inspect_flag_fork_patch
...
app: add support for inspect/inspect-brk in forked node process
2017-06-12 14:23:33 -07:00
Kevin Sawicki
fc00bf0cc3
Add initial spec for ELECTRON_RUN_AS_NODE with --inspect-brk
2017-06-12 14:04:57 -07:00
deepak1556
538b97582a
app: add support for inspect/inspect-brk in forked node process
2017-06-13 00:23:11 +05:30
Kevin Sawicki
3370be0360
Merge pull request #9738 from electron/upgrade-crashpad
...
Upgrade crashpad for http status fix
2017-06-12 10:30:35 -07:00
Kevin Sawicki
96484405da
Upgrade crashpad for http status fix
2017-06-12 10:04:39 -07:00
Boik
2e9ace6f59
Use Buffer.from instead of deprecated new Buffer
...
Use Buffer.from instead of deprecated new Buffer.
2017-06-12 16:57:42 +08:00
Daniel Ma
4fb9f825b1
Add "New Tab" button for Native macOS Tabs
...
Adds responders for `newWindowForTab` to `AtomApplicationDelegate` and
`NativeWindowMac`, so that `BrowserWindow`s with a `tabbingIdentifier`
will get the new tab button, and both `app` and `window` will emit a
`new-tab-for-window` event.
2017-06-11 02:26:26 -07:00
Zeke Sikelianos
4cf2481293
use latest standard-markdown
2017-06-10 12:22:51 -07:00
Zeke Sikelianos
229b726251
remove blank lines
2017-06-10 12:22:41 -07:00
Zeke Sikelianos
3d2c622ba7
use new Buffer.from
2017-06-10 12:22:27 -07:00
Zeke Sikelianos
18dec9c39c
fix typo in jp docs
2017-06-10 12:21:53 -07:00
Vanessa Yuen
a6ea316a5d
Merge pull request #9716 from dakira/fix-9046
...
Add tray icon workaround for newer Ubuntu releases (fixes #9046 )
2017-06-09 15:01:32 -07:00
Vanessa Yuen
43271c162a
use includes instead of indexOf
2017-06-09 14:45:47 -07:00
Brian Fajardo
1f73942922
Update rectangle.md (issue #9552 )
...
Clear confusion regarding rectangle object parameter values
2017-06-09 17:13:57 -04:00
Kevin Sawicki
206bca52b7
Merge pull request #9706 from KagamiChan/master
...
📝 add notes for peak working set size on macOS
2017-06-09 08:43:06 -07:00
Matthias Niess
254dcdaa45
add tray icon workaround for newer Ubuntu releases ( fixes #9046 )
2017-06-09 15:22:18 +02:00
Hari Juturu
3ee55d9cd3
lint error
2017-06-08 23:46:37 -07:00
Hari Juturu
7bdd259d2e
Lint error
2017-06-08 23:39:53 -07:00
Hari Juturu
cbbd4a4a3b
Indentation
2017-06-08 23:31:58 -07:00
Hari Juturu
07f550a748
enable-mixed-sandbox option
2017-06-08 23:29:35 -07:00
Kevin Sawicki
d7ee2068c5
Merge pull request #262 from electron-userland/ts-1-7-3
...
Add electron.d.ts@1.7.3
2017-06-08 15:48:56 -07:00
Electron Bot
68164aeff2
Update to Electron v1.7.3
2017-06-08 15:46:02 -07:00
Kevin Sawicki
51126c7c35
Add electron.d.ts@1.7.3
2017-06-08 15:31:29 -07:00
Kevin Sawicki
4c00176599
Bump v1.7.3
2017-06-08 10:43:50 -07:00
Kevin Sawicki
f3e4acf6f9
Merge pull request #9703 from electron/patch-cookies-docs
...
Fix typings for cookies.get
2017-06-08 10:43:41 -07:00
Zeke Sikelianos
6360576d9e
link to cookie structure
2017-06-08 10:09:40 -07:00
Kagami
a702f8a5f5
add peak working set size comment
2017-06-09 01:05:53 +08:00
Kevin Sawicki
c61397a802
Merge pull request #9704 from electron/upgrade-libcc-gpu-fix
...
Upgrade to electron/libchromiumcontent@3d692b2280
2017-06-08 09:39:42 -07:00
Kevin Sawicki
d9c4ba3db2
Upgrade to electron/libchromiumcontent@3d692b2280
2017-06-08 07:25:13 -07:00
Kevin Sawicki
785f131a98
Merge pull request #9694 from yuit/FixLinkToThaiDoc
...
📝 Fix link to Thai documentation
2017-06-08 06:56:34 -07:00
Samuel Attard
dd394b0d5c
Fix typings for cookies.get
2017-06-08 23:03:57 +10:00
Heilig Benedek
f8d3b363ea
🎨 lint fix
2017-06-08 09:57:24 +02:00
Heilig Benedek
0f4341da42
add zoom behaviour code from chromium and make pdf viewer use manual zoom behaviour to match chromium
2017-06-08 02:15:17 +02:00
Heilig Benedek
a47fe715d1
pass ref part of url to allow #page= for pdf viewer
2017-06-08 02:15:17 +02:00
Shubham
373decd07e
🎨
2017-06-07 19:01:06 -04:00
Yui
88791a7cb1
📝 [ci skip] Fix link to Thai documentation
2017-06-07 09:38:57 -07:00
Shubham
f001377493
🍎 Fix an issue where alwaysOnTop window disappears when restored from the application icon
2017-06-07 12:28:50 -04:00
Zeke Sikelianos
0732329a38
Merge pull request #9599 from electron/fix-type-defs
...
Fix type definitions for getCPUUsage / getIOCounters
2017-06-07 09:21:46 -07:00
Kevin Sawicki
7a3a092c72
Merge pull request #9687 from electron/fix-custom-window-button-view
...
Simplify customButtonsOnHover implementation
2017-06-06 18:54:04 -07:00
Birunthan Mohanathas
391c07b80a
Simplify custom window button positioning
2017-06-07 03:33:33 +03:00
Kevin Sawicki
915f6a6f54
Merge pull request #9178 from electron/visibilitystate
...
Let Chromium manage `document.visibilityState` and `document.hidden`
2017-06-06 17:32:49 -07:00
Kevin Sawicki
dc5221d551
Guard against null window like before
2017-06-06 17:02:23 -07:00
Kevin Sawicki
c60a9d242e
Disable minimize spec on Linux CI
2017-06-06 16:58:28 -07:00
Kevin Sawicki
a53e98c0f3
Add visibilitystate test for showInactive
2017-06-06 16:45:46 -07:00
Kevin Sawicki
52137485f2
Add separate specs for hide/show/minimize visibilitychange events
2017-06-06 16:22:07 -07:00
Kevin Sawicki
28cd973805
Mention document.hidden in spec description
2017-06-06 15:20:08 -07:00
Birunthan Mohanathas
f60315141b
Remove unnecessary if check
2017-06-07 01:19:53 +03:00
Kevin Sawicki
d2d28c42f1
Remove unused constant
2017-06-06 15:19:29 -07:00
Birunthan Mohanathas
3106478510
Rename SemaphoreView to CustomWindowButtonView
2017-06-07 01:18:22 +03:00
Birunthan Mohanathas
7d2226e05e
Let Chromium manage document.visibilityState and document.hidden
...
Chromium already includes the necessary plumbing to manage the
visibility properties and `visibilitychange` event so this gets rid of
most of our custom logic for `BrowserWindow` and `BrowserView`.
Note that `webview` remains unchanged and is still affected by the issues
listed below.
User facing changes:
- The `document` visibility properties and `visibilitychange` event are
now also updated/fired in response to occlusion changes on macOS. In
other words, `document.visibilityState` will now be `hidden` on macOS
if the window is occluded by another window.
- Previously, `visibilitychange` was also fired by *both* Electron and
Chromium in some cases (e.g. when hiding the window). Now it is only
fired by Chromium so you no longer get duplicate events.
- The visiblity state of `BrowserWindow`s created with `{ show: false }`
is now initially `visible` until the window is shown and hidden.
- The visibility state of `BrowserWindow`s with `backgroundThrottling`
disabled is now permanently `visible`.
This should also fix #6860 (but not for `webview`).
2017-06-06 15:16:01 -07:00
Kevin Sawicki
d40a7569cc
Merge pull request #9686 from awaigand/patch-2
...
📝 Fixed typo
2017-06-06 14:33:26 -07:00
Andreas Waigand
f608c2b2d9
📝 Fixed typo
...
[ci skip]
2017-06-06 23:30:45 +02:00
Kevin Sawicki
21439a138b
Merge pull request #9682 from electron/release-detection
...
Rebuild native modules when configuration starts with R
2017-06-06 13:37:48 -07:00
Kevin Sawicki
5fa9cd646f
Rebuild test modules when configuration starts with R
2017-06-06 08:41:40 -07:00
Kevin Sawicki
53b6ee0e3f
Merge pull request #9468 from tonyganch/9296-history-state
...
Remove page url check during `history.pushState`
2017-06-05 14:47:49 -07:00
Kevin Sawicki
af1d0c45ca
Load URL after registering listener
2017-06-05 14:47:11 -07:00
Kevin Sawicki
777b5b17de
Move pushState spec chromium-spec with other history specs
2017-06-05 14:45:45 -07:00
Kevin Sawicki
dfa4af2210
Merge pull request #8958 from mst128256/8730
...
Area near the top border in frameless window is clickable
2017-06-05 14:30:41 -07:00
Kevin Sawicki
4989b21dbc
Autorelease semaphore view
2017-06-05 14:28:58 -07:00
Kevin Sawicki
1adc94b650
Mention customButtonsOnHover is for frameless windows
2017-06-05 14:18:08 -07:00
Kevin Sawicki
d5dc849c7a
Doc customButtonsOnHover in frameless window guide
2017-06-05 14:16:44 -07:00
Kevin Sawicki
41d582f689
Add back hidden-inset as a deprecated option
2017-06-05 14:16:23 -07:00
Kevin Sawicki
594302fcff
Update docs to use hiddenInset
2017-06-05 14:07:57 -07:00
Kevin Sawicki
3a2abde804
Add TODO for hidden-inset deprecation
2017-06-05 13:58:50 -07:00
Kevin Sawicki
9537303e9a
Remove unused customWindowButtons switch
2017-06-05 13:57:25 -07:00
Kevin Sawicki
de0daa2481
Autorelease tracking area
2017-06-05 13:48:30 -07:00
Kevin Sawicki
7d10bf229d
Switch to titleBarStyle for custom window buttons on hover
2017-06-05 13:30:32 -07:00
Kevin Sawicki
566e04f1c0
🎨
2017-06-05 13:13:16 -07:00
Kevin Sawicki
410e5bce60
Document customWindowButtons option
2017-06-05 13:04:17 -07:00
Kevin Sawicki
37ba1b0a6b
Declare mouse inside variable in interface
2017-06-05 12:55:39 -07:00
Kevin Sawicki
1493d6763c
Make custom window buttons an option
2017-06-05 12:50:18 -07:00
Kevin Sawicki
2880cfdc9c
🎨 Minor formatting tweaks
2017-06-05 11:08:05 -07:00
mst128256
96251e55de
Removed commented code
2017-06-05 10:41:52 -07:00
mst128256
9b4664daa5
Area near the top border in frameless window is clickable
2017-06-05 10:41:52 -07:00
Kevin Sawicki
9a362eed53
Merge pull request #9572 from shubham2892/api-height-menubar-macos
...
API height menubar macos
2017-06-05 10:35:16 -07:00
Kevin Sawicki
653ef6f839
🎨
2017-06-05 10:33:46 -07:00
Kevin Sawicki
352a9268ad
Merge pull request #9674 from electron/revert_8724
...
Revert "Merge pull request #8724 from electron/defer_load_url"
2017-06-05 10:21:18 -07:00
Kevin Sawicki
f5989dc12f
Merge pull request #9615 from rajatsingla28/web
...
Docs: Add requirement for `webContents.sendInputEvent()` to work.
2017-06-05 10:03:48 -07:00
Kevin Sawicki
afa2dd5ce5
Minor updates to focus note
2017-06-05 10:03:25 -07:00
Kevin Sawicki
7f974c9990
Merge pull request #9667 from solinium/master
...
change 'request' version
2017-06-05 10:00:08 -07:00
Kevin Sawicki
5bf2d23700
Merge pull request #9657 from electron/menu-docs-patch
...
Typescript menu popup fix
2017-06-05 08:55:57 -07:00
Kevin Sawicki
fb47dc9e48
🎨
2017-06-05 08:55:42 -07:00
deepak1556
50ac7b2edd
Revert "Merge pull request #8724 from electron/defer_load_url"
...
Possible cause for #9121
This reverts commit 886b47e713 , reversing
changes made to 479af3c9e2 .
2017-06-05 19:04:21 +05:30
dharders
aeb68c2369
✅ Add test for Windows fullscreen state toggle. Fix #6036
2017-06-05 11:39:15 +10:00
Alexander Gujral
43ff2e8ec1
change request version
...
https://nodesecurity.io/advisories/request_remote-memory-exposure
security vulnerability for earlier versions
2017-06-04 13:49:59 -04:00
Rajat
2df7680d24
Docs: Add requirement for webContents.sendInputEvent() to work.
2017-06-03 23:47:15 +05:30
Shubham
c2603aaac2
🎨 Add documentation
2017-06-03 11:48:18 -04:00
Shubham
e9aa9eaf5e
:art:code structure fix
2017-06-03 10:56:37 -04:00
Samuel Attard
af09d85125
Update menu.md
2017-06-03 14:50:10 +10:00
Zeke Sikelianos
bd8a1c233d
Merge pull request #255 from jpiepkow/master
...
added force option for electron-download inside install.js
2017-06-01 12:31:30 -07:00
Jordan Piepkow
063df81231
Update README.md
2017-06-01 14:30:39 -04:00
Hari Juturu
3ba0e288f7
fix lint error
2017-05-31 23:20:13 -07:00
Hari Juturu
b5239754ba
Enable sandbox on webview
2017-05-31 23:01:14 -07:00
dharders
4c09b357a7
🏁 Fix #6036 . Ensure window is visible after fullscreen toggle
2017-06-01 14:38:51 +10:00
Zeke Sikelianos
dfab1043d9
Merge pull request #9640 from electron/bump-ts
...
bump ts linter with fixes for numeric keys
2017-05-31 15:16:56 -07:00
Kevin Sawicki
6a9de535c7
Merge pull request #9636 from electron/typescript-fixes
...
Add return type to systemPreferences.isAeroGlassEnabled()
2017-05-31 13:22:30 -07:00
Zeke Sikelianos
175f3e41f1
bump ts linter with fixes for numeric keys
2017-05-31 12:44:26 -07:00
Zeke Sikelianos
c6c3aa0b97
add typescript to the linting mix
2017-05-31 12:42:15 -07:00
Kevin Sawicki
b964c304de
Add return type to systemPreferences.isAeroGlassEnabled()
2017-05-31 10:34:14 -07:00
Kevin Sawicki
02972fac86
Merge pull request #9634 from electron/assert-fail
...
Use assert.fail for unexpected values
2017-05-31 09:52:22 -07:00
Kevin Sawicki
2508159a25
Use assert.fail for unexpected values
2017-05-31 08:39:49 -07:00
Kevin Sawicki
9250b559f9
Merge pull request #9623 from miniak/gpu-info
...
Add app.getGPUFeatureStatus
2017-05-31 08:11:50 -07:00
Kevin Sawicki
55fcb286a5
Run getGPUFeatureStatus spec on all platforms
2017-05-31 08:10:55 -07:00
Kevin Sawicki
dfac5e5dd1
Merge pull request #9630 from electron/cifratila/bump-node-version
...
Bump Node.JS version in .node-version
2017-05-31 08:10:05 -07:00
Kevin Sawicki
e5675c83b3
Merge pull request #9627 from electron/remove-empty-grit-file
...
Remove unused generated_resources.h file
2017-05-31 08:09:50 -07:00
Cheng Zhao
e82af41591
Merge pull request #9269 from electron/main-notifications
...
Notifications from the main process
2017-05-31 17:21:05 +09:00
Catalin Fratila
0330a30fdb
Bump Node.JS version in .node-version
2017-05-31 10:06:38 +02:00
Cheng Zhao
9d4588a5d0
Remove test code
2017-05-31 16:39:53 +09:00
Cheng Zhao
5fa2831756
Coding style fixes
2017-05-31 16:17:29 +09:00
Kevin Sawicki
0b2ef6e9bd
Remove unused generated_resources.h file
2017-05-30 16:08:21 -07:00
Shubham
6537238c0d
🎨 code structure fix
2017-05-30 17:40:06 -04:00
Shubham
62d9bf9bae
🎨 ✅ code comments and test for getMenuBarHeight function
2017-05-30 17:26:02 -04:00
Kevin Sawicki
bf2fca3dd1
Use base::DictionaryValue converter
2017-05-30 13:00:55 -07:00
Kevin Sawicki
4a5831a733
Add initial getGPUFeatureStatus spec
2017-05-30 13:00:00 -07:00
Milan Burda
0ecfb4e2f8
Add app.getGPUFeatureStatus
2017-05-30 20:35:14 +02:00
Kevin Sawicki
717a1a666c
Merge pull request #9589 from electron/rebuild-before-specs
...
Rebuild native modules before specs run
2017-05-30 09:50:15 -07:00
Kevin Sawicki
e83d66294e
Remove unused function
2017-05-30 09:17:05 -07:00
Kevin Sawicki
5cf4995f2e
DRY up logic to check if native modules should be loaded
2017-05-30 09:15:38 -07:00
Kevin Sawicki
90964290a6
Add separate run script just to rebuild test modules
2017-05-30 09:13:51 -07:00
Kevin Sawicki
24f0813ef1
Add missing update_node_modules import
2017-05-30 09:13:51 -07:00
Kevin Sawicki
18a80c0ed7
Add missing safe_mkdir import
2017-05-30 09:13:51 -07:00
Kevin Sawicki
dd0601e674
Rebuild native modules used in specs on each CI run
2017-05-30 09:13:51 -07:00
Kevin Sawicki
0d4a397656
Only rebuild test modules on non-Windows or release builds
2017-05-30 09:13:51 -07:00
Kevin Sawicki
9971f0d54c
Add option to rebuild test modules before running
2017-05-30 09:13:51 -07:00
Kevin Sawicki
54f4644660
Rebuild modules after installing
2017-05-30 09:13:51 -07:00
Kevin Sawicki
29f776c57d
Allow headers directory to be specified on cli
2017-05-30 09:13:51 -07:00
Kevin Sawicki
22bc1b004e
Move npm helpers to lib/util
2017-05-30 09:13:51 -07:00
Kevin Sawicki
7e867f478e
Don't build helpers or rebuild modules during bootstrap
2017-05-30 09:13:51 -07:00
Kevin Sawicki
f67968d244
Parse args in test.py
2017-05-30 09:13:51 -07:00
Kevin Sawicki
6b787ae4e0
Merge pull request #9591 from electron/remove-runas
...
Remove runas dependency from root package.json
2017-05-30 09:13:23 -07:00
Kevin Sawicki
b307b6e602
Remove runas and code no longer using it
2017-05-30 08:49:54 -07:00
Samuel Attard
227a2bd5dc
Fix reference typed reply placeholder
2017-05-30 20:29:27 +10:00
Samuel Attard
3938373ecb
Fix linting errors and add isSupported
2017-05-30 20:27:24 +10:00
Samuel Attard
686b1388b1
Fix linting issues
2017-05-30 19:12:36 +10:00
Samuel Attard
5048425e6e
Update implementation as per feedback
2017-05-30 19:06:51 +10:00
Rajat
a1da54047a
Docs : Add requirement for 'webContents.sendInputEvent()` to work.
2017-05-29 20:19:28 +05:30
Rajat
973945a8e3
Docs: Add BrowserWindow needs to be focused for webContents.sendInputEvent() to work.
2017-05-29 20:10:32 +05:30
Samuel Attard
6cdfb43e4e
Emit a close event
2017-05-29 21:33:43 +10:00
Samuel Attard
9aa6b83f86
Fix compilation and click events on macOS
2017-05-29 21:22:44 +10:00
Samuel Attard
c741b584a1
Remove OS specific implementations
2017-05-29 21:18:18 +10:00
Samuel Attard
058bdfbced
Use NotificationPresenter - macOS
2017-05-29 20:02:33 +10:00
Cheng Zhao
7d994f2a9e
Merge pull request #9535 from brenca/datalist-element
...
Add datalist element support
2017-05-29 16:01:40 +09:00
Shubham
217ddd629d
🍎 Fix incorrect extension when filters is used
2017-05-28 15:20:22 -04:00
Zeke Sikelianos
116403ed03
remove electron prefix
2017-05-26 15:57:39 -07:00
Charlie Hess
49f76b8bc3
Add Electron prefixes.
2017-05-26 15:56:54 -07:00
Charlie Hess
b88327e025
Type definitions for getCPUUsage / getIOCounters
2017-05-26 15:56:54 -07:00
Kevin Sawicki
eb81eeacce
Merge pull request #9602 from electron/missing-return-types
...
Add backticks around return types
2017-05-26 14:28:48 -07:00
Kevin Sawicki
b9a25113a6
Add backticks to Object
2017-05-26 14:04:28 -07:00
Kevin Sawicki
b0d4bf81a0
Add backticks around return types
2017-05-26 13:58:14 -07:00
Electron Bot
256b5c8a17
Update to Electron v1.7.2
2017-05-26 13:39:08 -07:00
Kevin Sawicki
44862a131c
Bump v1.7.2
2017-05-26 13:33:15 -07:00
Kevin Sawicki
385d6faf1a
Remove options to appease typescript definitions
2017-05-26 13:33:09 -07:00
Kevin Sawicki
dcb22d34b5
Mark deviceName as optional
2017-05-26 13:33:03 -07:00
Kevin Sawicki
f6931e7a27
Merge pull request #259 from electron-userland/typescript-1-7-2
...
Upgrade typescript file to 1.7.2
2017-05-26 13:30:18 -07:00
Kevin Sawicki
3647095415
Upgrade typescript file to 1.7.2
2017-05-26 13:09:34 -07:00
Kevin Sawicki
8ae36c250c
Merge pull request #9568 from electron/webview-native-window-open
...
Support nativeWindowOpen from <webview> tags
2017-05-26 11:11:32 -07:00
Kevin Sawicki
edd840fcc0
Only assert GPU process on macOS
2017-05-26 10:10:56 -07:00
Kevin Sawicki
9f49b71b89
Add cross-origin frame webview spec
2017-05-26 10:10:36 -07:00
Kevin Sawicki
36989e19f8
Add spec for cross-origin blockage
2017-05-26 10:10:36 -07:00
Kevin Sawicki
e735aa7dee
web-preferences -> webPreferences
2017-05-26 10:10:36 -07:00
Kevin Sawicki
f5cf6d4ddd
Add spec for native window.open from iframe
2017-05-26 10:10:36 -07:00
Kevin Sawicki
8f22e6a265
Add webview example to nativeWindowOpen docs
2017-05-26 10:10:36 -07:00
Kevin Sawicki
0dff863e30
Add comment about CreateNewGuestWindow origins
2017-05-26 10:10:36 -07:00
Kevin Sawicki
9ac2cf0d44
Add comment about disablePopups setting
2017-05-26 10:10:36 -07:00
Kevin Sawicki
6c520a5f40
Fix typo in option name
2017-05-26 10:10:36 -07:00
Kevin Sawicki
dbd240a7cb
Return null from native window.open when allowpopups is unset
2017-05-26 10:10:36 -07:00
Kevin Sawicki
a0571e3c72
Add failing spec for native window.open returning null without allowpopups
2017-05-26 10:10:36 -07:00
Kevin Sawicki
4e9efebf47
🎨
2017-05-26 10:10:36 -07:00
Kevin Sawicki
ef01c16c6a
Add tests for more nativeWindowOpen events
2017-05-26 10:10:36 -07:00
Kevin Sawicki
9f06b6dc21
Set allowpopups attribute in nativeWindow open specs
2017-05-26 10:10:36 -07:00
Kevin Sawicki
a32b7e5cdb
Co-locate nativeWindowOpen specs
2017-05-26 10:10:36 -07:00
Kevin Sawicki
47759a01de
Only forward events when nativeWindowOpen is set
2017-05-26 10:10:36 -07:00
Kevin Sawicki
a2a7a1d8c7
Add new-window <webview> spec with nativeWindowOpen
2017-05-26 10:10:36 -07:00
Kevin Sawicki
da2b29796f
Add same domain webview nativeWindowOpen spec
2017-05-26 10:10:36 -07:00
Kevin Sawicki
7baf472c0f
Implement BrowserPluginGuestDelegate::CreateNewGuestWindow for nativeWindowOpen
2017-05-26 10:10:36 -07:00
Kevin Sawicki
a16cd0bd03
Add failing <webview> with nativeWindowOpen spec
2017-05-26 10:10:36 -07:00
Kevin Sawicki
aceea50f41
Merge pull request #9597 from electron/revert-9358
...
Revert #9358
2017-05-26 10:09:37 -07:00
Kevin Sawicki
c43c3b3d80
Revert "protocol: use streaming interface between fetcher and requestjob"
...
This reverts commit 71b5d946e0 .
2017-05-26 09:47:22 -07:00
Kevin Sawicki
d53de947b6
Merge pull request #9596 from electron/beta-release-by-default
...
Create prereleases by default
2017-05-26 09:47:11 -07:00
Kevin Sawicki
9137a2279a
Merge pull request #9486 from electron/child-observer
...
Adding CPU & Memory metrics for App
2017-05-26 09:28:22 -07:00
Kevin Sawicki
14c43f654f
🎨
2017-05-26 09:25:35 -07:00
Kevin Sawicki
8b14df143a
Don't assert GPU process on Linux
2017-05-26 09:14:17 -07:00
Kevin Sawicki
2b2b431486
Create prereleases by default
2017-05-26 09:10:26 -07:00
Kevin Sawicki
1e4dd9b163
Store process type as int
2017-05-26 08:53:26 -07:00
Kevin Sawicki
cabcd0ef8f
Fix typos in ProcessMetric doc
2017-05-26 08:36:51 -07:00
Kevin Sawicki
7794cabd13
🎨
2017-05-26 08:35:43 -07:00
Kevin Sawicki
d6e626c7e3
Remove crashed render processes from metrics
2017-05-26 08:32:08 -07:00
Kevin Sawicki
b5879b7399
🎨 Minor formatting/doc changes
2017-05-26 07:51:17 -07:00
Birunthan Mohanathas
5e149c827e
Merge pull request #9592 from electron/upgrade-libcc-wheel
...
Upgrade to libchromiumcontent@94c5817
2017-05-26 07:10:23 +03:00
Birunthan Mohanathas
ea11f8bf7d
Upgrade to libchromiumcontent@94c5817
...
This pulls in electron/libchromiumcontent#306 .
2017-05-26 06:57:09 +03:00
Heilig Benedek
192cd7787b
move popup related code to nativewindow
2017-05-26 03:39:36 +02:00
Kevin Sawicki
8a3b2997c3
Merge pull request #9570 from electron/re-enable-crash-reporter-specs
...
Re enable crash reporter specs on Linux CI
2017-05-25 17:05:30 -07:00
Kevin Sawicki
d202c35be9
Enable crash reporter specs on Linux CI
2017-05-25 16:58:37 -07:00
Kevin Sawicki
5adc8299d6
Merge pull request #9590 from electron/add-pre-cibuild
...
Enable LIMIT_OUTPUT_IGNORE_SEGFAULTS on Linux CI
2017-05-25 16:57:24 -07:00
Kevin Sawicki
9b7dde99d8
Enable LIMIT_OUTPUT_IGNORE_SEGFAULTS on Linux CI
2017-05-25 16:50:17 -07:00
Birunthan Mohanathas
19555bbab2
Use last selected directory when using default file name in dialog.showSaveDialog()
...
Prior to this change, attempting to use
`dialog.showSaveDialog({ defaultPath: 'foo.png' })` would open the save
dialog to the current directory with the default file name set to
`foo.png`. We now use the last selected directory instead of the current
directory.
Absolute paths are not affected by this change.
2017-05-26 02:18:23 +03:00
Electron Bot
85d6b74be2
Update to Electron v1.6.11
2017-05-25 12:52:38 -07:00
Kevin Sawicki
fea165bef8
Merge pull request #9582 from EnterTheNameHere/patch-1
...
Update webview-tag.md
2017-05-25 08:52:33 -07:00
Kevin Sawicki
5ce5964260
Merge pull request #9579 from electron/link-with-cups-on-mac
...
Add -lcups to link settings on mac
2017-05-25 08:51:13 -07:00
Jan Němeček
1b96f66541
Update webview-tag.md
...
Spelling correction.
2017-05-25 13:32:20 +02:00
Hari Krishna Reddy Juturu
c4e5ba6015
Fixing indentations
2017-05-24 21:15:34 -07:00
Hari Krishna Reddy Juturu
e5a9ef296d
Using process handle from RenderProcessHost
2017-05-24 21:07:35 -07:00
Hari Juturu
de5eaf9336
Remove .only
2017-05-24 21:07:35 -07:00
Hari Juturu
5e04fab2ba
Adding deprecations
2017-05-24 21:07:35 -07:00
Hari Juturu
d73004f1df
revert mistaken added brightray
2017-05-24 21:07:35 -07:00
Hari Juturu
939747945e
Adding CPU & Memory metrics for App
2017-05-24 21:07:35 -07:00
Kevin Sawicki
0d2aa5c027
Merge pull request #9580 from rajatsingla28/staging
...
Docs: Remove optional parameter for removeAllListeners.
2017-05-24 16:31:06 -07:00
Rajat
ec6eb74ccc
Docs: Remove optional parameter for removeAllListeners.
...
Fixes #9277
2017-05-25 00:36:14 +05:30
Kevin Sawicki
4d1eb1e4a7
Add -lcups on mac
2017-05-24 09:43:37 -07:00
Cheng Zhao
1257dee0b5
Merge pull request #9547 from electron/jessie-sysroot
...
Build with Debian Jessie sysroot image
2017-05-24 16:25:39 +09:00
Shubham
793d5fd191
🎨 Fix documentation
2017-05-23 23:27:55 -04:00
Shubham
ec0e33e258
Add mac_os tag to documentation
2017-05-23 22:39:54 -04:00
Shubham
b2f1cdfbae
Add API to get top bar height on macOS
2017-05-23 22:24:56 -04:00
Tony Ganch
3a9b035d36
Remove page url check in history.pushState
...
Current implementation of NavigationController does not allow using
`history.pushState()` if page url is not changed.
It worked by mistake in versions < 1.3.6 and got visible after fix 180a77e6 .
2017-05-23 22:42:33 +02:00
Tony Ganch
6d64336978
Add test for #9468
2017-05-23 22:42:32 +02:00
Jordan Piepkow
ffc22ef926
switched to the more standard approach in this file
...
Switched to defaulting back to string 'false' as that is how it was already doing strictSSL and electron-download treats and checks both against bools so would make sense to keep it the same across the document.
2017-05-23 16:16:01 -04:00
Jordan Piepkow
28100a8695
added force option in electron-download.
...
Downloading from cache causes a checksum check that causes some builds to fail(see https://github.com/electron/electron/issues/8653 ) that that rely on stable electron releases(pre electron v1.7.0 beta) where chromedrive is not named based on electron version. This will add the option to always force a redownload.
2017-05-23 15:26:22 -04:00
Kevin Sawicki
2ed1c122ca
Merge pull request #9557 from electron/upgrade-libcc
...
Upgrade to electron/libchromiumcontent@93c2e1877e
2017-05-23 08:58:46 -07:00
Kevin Sawicki
35299a82fa
Upgrade to electron/libchromiumcontent@93c2e1877e
2017-05-23 07:54:21 -07:00
gellert
039908a244
various fixes for macos
2017-05-23 11:41:59 +02:00
Cheng Zhao
a6854c89b7
Link with correct targets in toolchain.gypi
2017-05-23 16:30:07 +09:00
Cheng Zhao
9f3fe5804f
Revert "Don't run tests on Janky CI"
...
This reverts commit b5b2df8e6c .
2017-05-23 16:17:09 +09:00
Cheng Zhao
ff08c36478
Only build against Jessie for arm64 arch
2017-05-23 16:10:54 +09:00
Kevin Sawicki
021b5a9ae0
Merge pull request #9507 from rreimann/pdf-plugins-preference
...
Suppress dispatching to PDF viewer if plugins are disabled
2017-05-22 14:34:35 -07:00
Kevin Sawicki
647e88da5a
Delete mock.pdf after download completes
2017-05-22 14:24:28 -07:00
rreimann
25015c4c63
Fix naming and formatting
2017-05-22 14:14:59 -07:00
rreimann
791486433d
Extract common code into IsPreferenceEnabled method
2017-05-22 14:14:59 -07:00
rreimann
65da983ccb
Move preferences check to OnPdfResourceIntercepted
2017-05-22 14:14:59 -07:00
rreimann
13665090d5
Add new test and enable plugins for existing tests
2017-05-22 14:14:59 -07:00
rreimann
7982754958
Fix linting violations
2017-05-22 14:14:59 -07:00
rreimann
1b75e45a62
Suppress pdf plugin dispatch if plugins are disabled
2017-05-22 14:14:59 -07:00
Kevin Sawicki
337f61af98
Merge pull request #9243 from seanchas116/custom-clipboard-data
...
Support writing custom formats into clipboard
2017-05-22 14:01:05 -07:00
Kevin Sawicki
ad9496144f
Remove buffers setting in write spec
2017-05-22 13:55:35 -07: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
a26e360e82
Remove console.log
2017-05-22 13:43:21 -07:00
Ryohei Ikegami
fd313ad578
Tweak doc text
2017-05-22 13:43:21 -07:00
Ryohei Ikegami
f2471cb1b7
Rename buffer -> buffers
2017-05-22 13:43:21 -07:00
Ryohei Ikegami
6ec344a499
Add experimental
2017-05-22 13:43:21 -07:00
Ryohei Ikegami
44840ab6cc
Add docs
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
Kevin Sawicki
6bcf3597c2
Merge pull request #9554 from javan/patch-2
...
Update BrowserView docs. Fixes #9553
2017-05-22 10:43:15 -07:00
Javan Makhmali
b07a6af713
Update BrowserView docs. Fixes #9553
2017-05-22 13:41:01 -04:00
Kevin Sawicki
8b22108b5a
Merge pull request #9551 from electron/upgrade-libcc
...
Upgrade libcc
2017-05-22 09:59:04 -07:00
Kevin Sawicki
285c0b1757
Upgrade libcc to electron/libchromiumcontent@a3cff0522
2017-05-22 09:27:58 -07:00
Kevin Sawicki
77ec648740
Obtain SHA-1 of libcc commit from submodule
2017-05-22 09:27:32 -07:00
Samuel Attard
193c561815
Remove sample notification code
2017-05-23 02:19:03 +10:00
Samuel Attard
d1fc832ca0
Update for the brightray move
2017-05-23 02:18:34 +10:00
Samuel Attard
f5de57dbdb
Mark notification API as experimental
2017-05-23 02:05:13 +10:00
Samuel Attard
8815da314f
Add Notification API docs
2017-05-23 02:05:13 +10:00
Samuel Attard
e7569ed499
Remove shell link validation, users should do this themselves
2017-05-23 02:05:13 +10:00
Samuel Attard
da31615de5
Basic linux impl
2017-05-23 02:05:13 +10:00
Samuel Attard
c6196810a6
Code cleanup
2017-05-23 02:05:13 +10:00
Samuel Attard
03688b9415
Get image notifications working on Win7 + Win10
2017-05-23 02:05:13 +10:00
Samuel Attard
6bbc4c3113
Support Windows 7 notifications from brightray
2017-05-23 02:05:13 +10:00
Samuel Attard
a4bd26fab0
Fix string16 init on macOS
2017-05-23 02:05:13 +10:00
Samuel Attard
7c38633d1e
Initial semi-working windows implementation
2017-05-23 02:05:13 +10:00
Samuel Attard
5dd4d6a961
macOS implementation of notifications in the main process
2017-05-23 02:05:13 +10:00
Kevin Sawicki
433a827cc3
Upgrade libcc to electron/libchromiumcontent@a3cff0522
2017-05-22 09:04:23 -07:00
Kevin Sawicki
37ed44cf1c
Merge pull request #9544 from kyokutyo/fix-typo-in-japanese-docs
...
Fix typo in Japanese docs
2017-05-22 08:56:29 -07:00
Kevin Sawicki
559d13091e
Merge pull request #9540 from RevoluPowered/patch-1
...
Fixed tutorial debugger launching electron incorrectly
2017-05-22 08:55:58 -07:00
Birunthan Mohanathas
cd2e6f497f
Fix missing return value type for systemPreferences.getUserDefault
2017-05-22 17:19:03 +03:00
Birunthan Mohanathas
a8e4a0e765
Add BrowserView to docs index
2017-05-22 17:12:17 +03:00
Cheng Zhao
b5b2df8e6c
Don't run tests on Janky CI
2017-05-22 19:17:59 +09:00
Cheng Zhao
57551cfad9
Fix missing dep of libdatrie1
2017-05-22 19:06:46 +09:00
Cheng Zhao
27c5d98c49
Fix missing deps when building for ia32 and arm
2017-05-22 17:45:24 +09:00
Cheng Zhao
5baffd49e7
Fix pylint warnings
2017-05-22 17:19:34 +09:00
Cheng Zhao
28f11516fe
Build with jessie sysroot image
2017-05-22 16:53:45 +09:00
Cheng Zhao
94be438ab9
Download debian jessie sysroot images
2017-05-22 16:31:54 +09:00
kyokutyo
9cbc5a1cdd
Fix typo in Japanese docs
2017-05-22 14:31:26 +09:00
Heilig Benedek
df911593d8
Fix menubar animations being incorrect in RTL layout
2017-05-21 22:36:10 +02:00
Heilig Benedek
d5c038a7fb
ci build fix
2017-05-21 20:57:19 +02:00
Heilig Benedek
218e28b136
minor fixes and enable datalist elements in OSR
2017-05-21 19:55:19 +02:00
Gordon MacPherson
9b4fef3c38
Fixed vscode debugging code
...
Fixes app.getPath("userData") pointing to the wrong folder. (electron in %appdata%)
The old debugger essentially runs:
.\node_modules\.bin\electron main.js
Which makes userData incorrect and various other things wrong related to app launch.
The new version correctly executes:
.\node_modules\.bin\electron .
Which means when you call app.getPath("userData") it will return the correct folder name, and not 'electron', which is what my app was doing even though the folder was named properly.
2017-05-20 14:56:26 +01:00
Heilig Benedek
a95d6b997b
add ability to open popup on second click
2017-05-20 04:21:11 +02:00
Heilig Benedek
4949531f57
🎨 lint fix
2017-05-19 21:52:18 +02:00
Heilig Benedek
f360104bee
add datalist element view
2017-05-19 21:36:37 +02:00
Kevin Sawicki
8404bdd568
Merge pull request #9397 from electron/enable-webview
...
Allow enabling <webview> tag with node integration disabled
2017-05-19 10:58:10 -07:00
Kevin Sawicki
6a3f2e90db
Tweak webviewTag option description
2017-05-19 10:22:28 -07:00
Kevin Sawicki
74b7afbec7
Merge origin/master into enable-webview
2017-05-19 10:17:34 -07:00
Kevin Sawicki
dcde0a00fb
Merge pull request #9527 from electron/brightray-cleanup
...
Brightray cleanup after import
2017-05-19 09:07:35 -07:00
Kevin Sawicki
09a3e26716
Add full prefix to main_delegate.h include
2017-05-19 08:46:15 -07:00
Kevin Sawicki
7e185ef1a3
Remove extra newlines
2017-05-19 08:46:15 -07:00
Kevin Sawicki
7aacf786d6
Remove unneeded brightray folder from include dirs
2017-05-19 08:46:15 -07:00
Kevin Sawicki
43f7520d4f
Add missing brightray prefix
2017-05-19 08:46:15 -07:00
Kevin Sawicki
e19eef025d
Remove lint from inspectable_web_contents_view_views.h/cc
2017-05-19 08:46:15 -07:00
Kevin Sawicki
4625159310
Add memory include for std::unique_ptr
2017-05-19 08:46:15 -07:00
Kevin Sawicki
278a283801
🎨 Group includes
2017-05-19 08:46:15 -07:00
Kevin Sawicki
d7321ed980
Add brightray prefix to include paths from within brightray
2017-05-19 08:46:15 -07:00
Kevin Sawicki
c4608c0f37
Fix build/include_alpha linter violations in brightray
2017-05-19 08:46:15 -07:00
Kevin Sawicki
b6992436a0
Remove exclusion of runtime/references rule
2017-05-19 08:46:15 -07:00
Kevin Sawicki
f193b2b2a6
Fix build/include_what_you_use linter violations in brightray
2017-05-19 08:46:15 -07:00
Kevin Sawicki
cfb5b6ac89
Fix build/header_guard linter violations in brightray
2017-05-19 08:46:15 -07:00
Kevin Sawicki
bb4a61c7ff
Remove unused includes
2017-05-19 08:46:15 -07:00
Kevin Sawicki
6e3a0b50cc
Remove 10.8 foundation_util workaround
2017-05-19 08:46:15 -07:00
Kevin Sawicki
c6190dc094
Remove unused BRYApplication class
2017-05-19 08:46:15 -07:00
Kevin Sawicki
ca274f7be0
Use kIgnoreCertificateErrors from content_switches.h
2017-05-19 08:46:15 -07:00
Kevin Sawicki
db6d75ca90
Merge pull request #9518 from TingPing/tingping/gio-trash
...
Support `gio` as trash implementation
2017-05-19 08:44:56 -07:00
Cheng Zhao
f793db2b2a
Merge pull request #9519 from electron/better-patch
...
Use v8::ArrayBuffer::Allocator inside Node
2017-05-19 17:49:02 +09:00
Kevin Sawicki
e0b9395a13
Merge pull request #8596 from renaesop/master
...
Print enhancement
2017-05-18 11:42:02 -07:00
Kevin Sawicki
73b49f0dfe
Fix JSON issue in example block
2017-05-18 11:28:10 -07:00
Kevin Sawicki
97160ffa63
Make isDefault a bool
2017-05-18 10:51:44 -07:00
Kevin Sawicki
a8d25d6855
Add printer info structure file
2017-05-18 10:50:08 -07:00
Kevin Sawicki
d5e66f7cd9
Add parameter name
2017-05-18 10:40:03 -07:00
Kevin Sawicki
aa29bf8019
🎨
2017-05-18 10:26:22 -07:00
Kevin Sawicki
e0b39247a9
Tweak print docs
2017-05-18 10:17:08 -07:00
Kevin Sawicki
92f14f8d52
printerList() -> getPrinters()
2017-05-18 10:14:55 -07:00
Kevin Sawicki
84a9b6a42d
Merge remote-tracking branch 'origin/master' into renaesop_master
2017-05-18 10:08:40 -07:00
Kevin Sawicki
f556d1924d
Merge pull request #9358 from electron/fetch_job_uaf_patch
...
protocol: use streaming interface between fetcher and requestjob
2017-05-18 09:58:05 -07:00
Cheng Zhao
f4420b449f
Use v8::ArrayBuffer::Allocator inside Node
2017-05-18 16:26:46 +09:00
TingPing
98186c4143
Support gio as trash implementation
...
Ideally this will become the default as `gvfs-trash` is deprecated and nothing more than a wrapper to `gio`
but at least allow easily opting into the modern method.
2017-05-17 23:46:29 -04:00
Kevin Sawicki
9ce3a8c3a7
Merge pull request #9516 from electron/flaky-pid-test
...
Assert OS pid after load finishes
2017-05-17 17:11:03 -07:00
Kevin Sawicki
65ab71c894
Assert pid after load finishes
2017-05-17 17:10:41 -07:00
Kevin Sawicki
251a61a151
Merge pull request #9513 from electron/download-url
...
atom-shell -> electron in node_release_urlbase
2017-05-17 16:58:11 -07:00
Kevin Sawicki
e75c0e47c2
atom-shell -> electron in node_release_urlbase
2017-05-17 14:58:09 -07:00
Kevin Sawicki
a285a3e64b
Default webviewTag to false
2017-05-17 14:01:45 -07:00
Kevin Sawicki
1a210ed114
Remote stray ©
2017-05-17 14:00:40 -07:00
Kevin Sawicki
6fccb75dfb
Mention preloadURL is in webPreferences
2017-05-17 13:59:48 -07:00
Kevin Sawicki
27a4522d65
Add will-attach-webview advice to security.md
2017-05-17 13:56:19 -07:00
Kevin Sawicki
fd782706b2
Add explicit spec for removing preload from webview
2017-05-17 13:47:00 -07:00
Kevin Sawicki
9e88d337ec
Inherit webviewTag setting from parent window
2017-05-17 13:37:23 -07:00
Kevin Sawicki
e817dbf50a
Add failing spec for webviewTag inheritance
2017-05-17 13:27:28 -07:00
Kevin Sawicki
bde13353fb
Rename option to webviewTag and default to nodeIntegration value
2017-05-17 13:12:23 -07:00
Kevin Sawicki
837ea884de
Merge remote-tracking branch 'origin/master' into enable-webview
2017-05-17 12:45:29 -07:00
Kevin Sawicki
5a88f76762
Merge pull request #9508 from electron/upgrade-libcc
...
Upgrade libchromiumcontent
2017-05-17 10:51:41 -07:00
Kevin Sawicki
3f4abc6323
Upgrade to electron/libchromiumcontent@ecc5298428
2017-05-17 08:53:29 -07:00
Cheng Zhao
9bed0ffdbf
Merge pull request #9440 from brenca/osr-fixes
...
Additional small OSR fixes
2017-05-17 17:14:27 +09:00
Cheng Zhao
6826595e9e
Merge pull request #9389 from electron/fix-remote-exception-sandbox
...
Keep track of remote object reference count.
2017-05-17 16:20:26 +09:00
Kevin Sawicki
d66b32b959
Merge pull request #9473 from electron/dash-dash-inspect
...
Support --inspect option to debug main process
2017-05-16 15:38:08 -07:00
Kevin Sawicki
d34be4c0a6
Upgrade node for protocol from libcc
2017-05-16 15:13:53 -07:00
Kevin Sawicki
d8aca08da7
Set _debugWaitConnect on --inspect-brk
2017-05-16 14:50:49 -07:00
Kevin Sawicki
c419ebdd6d
Remove unused test server
2017-05-16 14:44:28 -07:00
Kevin Sawicki
3f87880990
Bump node for inspector Windows fixes
2017-05-16 14:44:28 -07:00
Kevin Sawicki
5337b4ad94
Only define ICU constants in release builds
2017-05-16 14:44:28 -07:00
Kevin Sawicki
b549b20d2c
Convert arg string to utf8 on Windows
2017-05-16 14:44:28 -07:00
Kevin Sawicki
e3160126d6
Update debug CLI flags
2017-05-16 14:44:28 -07:00
Kevin Sawicki
03c2d6f435
Make chrome instructions a list item
2017-05-16 14:44:28 -07:00
Kevin Sawicki
690b2e91c4
Update docs for new --inspect support
2017-05-16 14:44:28 -07:00
Kevin Sawicki
a33643c518
Start node inspector agent when --inspect is present
2017-05-16 14:44:28 -07:00
Kevin Sawicki
7469d09dae
Build v8 inspector through ndoe
2017-05-16 14:44:28 -07:00
Kevin Sawicki
98cce37e3d
Upgrade node enable inspector target
2017-05-16 14:44:28 -07:00
Electron Bot
09f31f559d
Update to Electron v1.7.1
2017-05-16 14:41:41 -07:00
Kevin Sawicki
25eb8f7c26
Merge pull request #252 from electron-userland/typescript-1-7-1
...
Update to electron.d.ts@1.7.1
2017-05-16 14:38:20 -07:00
Kevin Sawicki
1206689caa
Update to electron.d.ts@1.7.1
2017-05-16 14:37:10 -07:00
Kevin Sawicki
693f6a24fc
Bump v1.7.1
2017-05-16 12:42:37 -07:00
Kevin Sawicki
1df72e42a5
Merge pull request #9404 from tom-james-watson/master
...
Clarify dialog blocking functionality
2017-05-16 12:39:23 -07:00
Electron Bot
3898a13e57
Update to Electron v1.6.10
2017-05-16 12:37:38 -07:00
Kevin Sawicki
bffd5b49c2
Merge pull request #251 from electron-userland/typescript-1-6-10
...
Update to electron.d.ts@1.6.10
2017-05-16 12:35:58 -07:00
Kevin Sawicki
a12d7356d9
Update to electron.d.ts@1.6.10
2017-05-16 12:33:38 -07:00
Kevin Sawicki
e2ad948300
Merge pull request #9491 from iamkun/bugfix/fix_link_url
...
Fix broken link in documentation translations 😀
2017-05-16 10:13:51 -07:00
Kevin Sawicki
7a091e629b
Merge pull request #9489 from paulinaika/id-translation
...
Id translation
2017-05-16 10:13:29 -07:00
Thiago de Arruda
5654ff0d43
Add test for #9387
2017-05-16 09:07:41 -03:00
Thiago de Arruda
6b5bd3b6ce
Fix how rpc-server releases references after page reload
...
In addition to listening for "render-view-deleted", listen for
"ELECTRON_BROWSER_CONTEXT_RELEASE" synchronous message, which is sent by the
remote module when the page is about to be navigated.
This is required to allow child windows running in the same renderer to
correctly manage remote object references, since `render-view-deleted` is only
called when the renderer exits.
Close #9387
2017-05-16 09:05:52 -03:00
iamkun
b4dcb6512a
Update README.md
2017-05-16 16:00:45 +08:00
paulinaika
b20085fa7a
📝 fix typo docs-translations/id/tutorial/using-widevine-cdm-plugin.md and docs/tutorial/using-widevine-cdm-plugin.md from previous commit [ci skip]
2017-05-16 16:49:56 +10:00
paulinaika
8a2f24c95f
📝 translate to Indonesian using-widevine-cdm-plugin.md and windows-store-guide.md [ci skip]
2017-05-16 16:28:37 +10:00
Kevin Sawicki
22099747af
Merge pull request #9483 from electron/os-process-id-tweaks
...
Minor updates to webContents.getOSProcessId()
2017-05-15 14:00:59 -07:00
Kevin Sawicki
4f99cb19bd
🔥 ;
2017-05-15 13:38:57 -07:00
Kevin Sawicki
0ae5f7e623
Assert PID is 0 with no URL
2017-05-15 13:34:30 -07:00
Kevin Sawicki
350528707b
Return base::ProcessId
2017-05-15 13:29:34 -07:00
Kevin Sawicki
d79ac8d9c1
Merge pull request #9222 from alexstrat/add-os-process-id
...
Add OS pid to web-contents
2017-05-15 13:28:47 -07:00
Kevin Sawicki
35a39944bd
Merge pull request #9481 from djpereira/master
...
Update desktopCapturer documentation
2017-05-15 12:23:29 -07:00
Kevin Sawicki
5b6b1707ad
Merge pull request #9476 from electron/disable-crash-specs-on-linux
...
Disable crashReporter specs on Linux CI
2017-05-15 12:19:00 -07:00
Alexandre Lachèze
9b776369e6
👕
2017-05-15 21:00:13 +02:00
Birunthan Mohanathas
4ad6789e00
Merge pull request #9480 from electron/update-docs-deps
...
Update electron-typescript-definitions to latest version
2017-05-15 21:57:31 +03:00
Birunthan Mohanathas
b01bc32051
Update electron-typescript-definitions to latest version
2017-05-15 21:45:17 +03:00
Daniel Pereira
f4d3c169b0
:memo:Update documentation desktopCapturer to javascript[ci skip]
2017-05-15 13:45:14 -05:00
Daniel Pereira
37bcc96e95
:memo:Update constraints for audio sharing[ci skip]
2017-05-15 13:42:47 -05:00
Daniel Pereira
e38e294be3
:memo:Update use of deprecated getUserMedia[ci skip]
2017-05-15 13:38:32 -05:00
Kevin Sawicki
c7e6cbcf9f
Merge pull request #9435 from electron/disk-cache-size-flag
...
support --disk-cache-size flag
2017-05-15 11:09:38 -07:00
Birunthan Mohanathas
a1e826e405
Fix copy paste typos in BrowserView docs
2017-05-15 21:09:11 +03:00
Alexandre Lachèze
77bf4c8ebb
📝 document getOSProcessId()
2017-05-15 20:02:20 +02:00
Kevin Sawicki
bcbfd0d5c6
Disable crashReporter specs on Linux CI
2017-05-15 11:01:53 -07:00
Alexandre Lachèze
2f297b1893
✅ Add simple spec for getOSProcessId()
2017-05-15 19:57:19 +02:00
Kevin Sawicki
b4fc50e3b2
Doc --disk-cache-size
2017-05-15 10:38:20 -07:00
Kevin Sawicki
ed076a8693
Remove unneeded HasSwitch check
2017-05-15 10:35:43 -07:00
Dun Liang
5b02974aa8
fix line is > 80 characters long
2017-05-15 10:35:43 -07:00
Dun Liang
9ce08d08de
support --disk-cache-size flag #290
2017-05-15 10:35:43 -07:00
Kevin Sawicki
e708a45496
Merge pull request #9436 from electron/debug-crash
...
Remove support for --debug/--debug-brk
2017-05-15 08:47:52 -07:00
Kevin Sawicki
b09086c1b8
Merge pull request #9470 from electron/MarshallOfSound-patch-1
...
Fix createFromDataURL return type
2017-05-15 08:47:09 -07:00
Samuel Attard
d84ddd7fe4
Fix createFromDataURL return type
...
Fixes #9469
2017-05-16 01:24:06 +10:00
Zeke Sikelianos
25a2480bd8
Merge pull request #249 from electron-userland/vendor-node-typings
...
add @types/node
2017-05-14 18:25:25 -07:00
Birunthan Mohanathas
a6e11d3b63
Merge pull request #9460 from electron/fix-docs-typescript
...
Fix docs for TypeScript definitions
2017-05-14 14:17:12 +03:00
Birunthan Mohanathas
0153731888
Make docs for webview.findInPage and webContents.findInPage consistent
2017-05-14 13:43:42 +03:00
Birunthan Mohanathas
5cfa697309
Fix postData type definition in docs
2017-05-14 13:43:38 +03:00
Heilig Benedek
802501fb04
update osr specs
2017-05-13 02:14:30 +02:00
gellert
af2c5d1845
fixes not expected scale factor change
2017-05-13 00:59:25 +02:00
Kevin Sawicki
e49ad155a2
Merge pull request #9450 from akost/patch-1
...
Fixed capitalization and punctuation in README
2017-05-12 14:16:17 -07:00
Andrei K
70539385d1
Fixed capitalization and punctuation in README
...
Fixed capitalization and punctuation in /ru-RU/README.md
2017-05-12 14:07:40 -07:00
Kevin Sawicki
22397d2c35
Merge pull request #9448 from xaverh/patch-1
...
Clang-Format extension for Visual Studio Code
2017-05-12 09:48:14 -07:00
Xaver Hellauer
ded1adf165
Clang-Format extension for Visual Studio Code
2017-05-12 18:40:46 +02:00
Kevin Sawicki
9ab01228e7
Merge pull request #9430 from suryast/translate_indonesian
...
Translate indonesian
2017-05-12 08:48:51 -07:00
Kevin Sawicki
afe58231ba
Merge pull request #9360 from electron/sw_protocol_patch
...
protocol: provide default response code for custom request jobs
2017-05-11 16:01:14 -07:00
Kevin Sawicki
ef4bf7ed93
Use status code constant
2017-05-11 15:33:56 -07:00
Kevin Sawicki
4fdb884feb
Fix windows path in service worker spec
2017-05-11 15:33:56 -07:00
deepak1556
3c88447be6
protocol: provide default response code for custom request jobs
2017-05-11 15:33:56 -07:00
Kevin Sawicki
718cd8d711
Remove unsupported debugger in node processes
2017-05-11 15:02:27 -07:00
Heilig Benedek
9f682ee36b
fix osr window initial sizing
2017-05-11 23:48:14 +02:00
Kevin Sawicki
4824c24fbc
Remove non-functional node debugger usage
2017-05-11 10:59:51 -07:00
deepak1556
71b5d946e0
protocol: use streaming interface between fetcher and requestjob
2017-05-11 22:52:49 +05:30
Kevin Sawicki
190c9c916e
Merge pull request #9331 from 22222/issue2579
...
Add 'will-prevent-unload' event for #2579 .
2017-05-11 09:04:40 -07:00
Kevin Sawicki
4e1943dfe6
Minor updates to example
...
* const-ing
* mainWindow -> win
* add dialog require
2017-05-11 09:01:51 -07:00
Kevin Sawicki
aea25be150
Merge pull request #9432 from electron/fix-docs-8
...
Fix return type of makeSingleInstance
2017-05-11 08:43:11 -07:00
Kevin Sawicki
ae71dfe3d1
Merge pull request #9423 from electron/brightray-import
...
Import brightray source and remove submodule
2017-05-11 08:35:41 -07:00
Samuel Attard
f57c1881da
Fix return type of makeSingleInstance
2017-05-11 22:09:37 +10:00
Cheng Zhao
1b1c663b32
Merge pull request #8839 from brenca/offscreen-child-window
...
Offscreen rendering enhancements
2017-05-11 20:52:47 +09:00
22222
4044548f3e
Add 'will-prevent-unload' event.
2017-05-11 06:35:35 -05:00
Heilig Benedek
bf58373a40
fix NativeImage size hint crashing when image is created from path
2017-05-11 11:38:34 +02:00
Cheng Zhao
0c3f80c334
Merge pull request #8963 from seanchas116/native-window-open
...
Add option to use native window.open() in non-sandboxed webcontents
2017-05-11 16:38:10 +09:00
Zeke Sikelianos
1804b800d7
Merge pull request #9429 from electron/ts-node
...
Fix TypeScript bugs and make it easier to debug
2017-05-11 00:03:25 -07:00
Surya Setiyaputra
7b63409df5
add Indonesian translation of README.md – more to be translated on a later date
2017-05-11 16:55:51 +10:00
Zeke Sikelianos
b6a05a684f
add @types/node
2017-05-10 23:38:51 -07:00
Zeke Sikelianos
3273a1b42e
add npm scripts for convenience
2017-05-10 23:22:49 -07:00
Zeke Sikelianos
dcfca610f4
bump electron-typescript-definitions version
2017-05-10 23:22:30 -07:00
Ryohei Ikegami
7ac93045b7
Merge branch 'master' into native-window-open
2017-05-11 13:51:43 +09:00
Kevin Sawicki
6ca7787f13
Merge pull request #9427 from electron/fix-docs-6
...
Fix webcontents capital
2017-05-10 16:30:04 -07:00
Samuel Attard
b4e356212c
Fix webcontents capital
2017-05-11 09:28:24 +10:00
Kevin Sawicki
ad5424f886
Merge pull request #9425 from electron/typescript-duplicates
...
Minor typescript fixes
2017-05-10 16:25:18 -07:00
Kevin Sawicki
6a63028079
Remove vendor\brightray prefix
2017-05-10 15:56:15 -07:00
Kevin Sawicki
6ace5a8e3e
Use correct .target_arch path
2017-05-10 15:55:00 -07:00
Kevin Sawicki
330be2fb16
Remove unused bootstrap method
2017-05-10 15:51:28 -07:00
Kevin Sawicki
f46b383824
Add types
2017-05-10 14:29:57 -07:00
Kevin Sawicki
a44f0620b3
: -> -
2017-05-10 14:27:51 -07:00
Kevin Sawicki
edac443673
Correct property name to pid
2017-05-10 14:26:13 -07:00
Kevin Sawicki
b3eae78b5c
Update brightray references in doc translations
2017-05-10 14:12:47 -07:00
Kevin Sawicki
e954c60ab8
Update libcc paths to be in root vendor
2017-05-10 14:11:24 -07:00
Heilig Benedek
a76a4ddff2
🎨 lint fix
2017-05-10 23:04:19 +02:00
Kevin Sawicki
500ffdf700
cpplint brightray/ files
2017-05-10 13:51:57 -07:00
Kevin Sawicki
94eff35286
Update docs for new brightray location
2017-05-10 13:42:21 -07:00
Kevin Sawicki
7ff6036420
Consolidate ignores
2017-05-10 13:28:12 -07:00
Kevin Sawicki
de02485d28
Move brightray tools into mains tools folder
2017-05-10 13:28:04 -07:00
Kevin Sawicki
5ea20b5b54
Wire up build for new brightray location
2017-05-10 13:27:49 -07:00
Kevin Sawicki
4dab62dfcf
Move brightray submodules to root vendor
2017-05-10 13:27:22 -07:00
Kevin Sawicki
dde21e7657
Remove unused files
2017-05-10 13:21:02 -07:00
Kevin Sawicki
572244272c
Remove brightray submodule
2017-05-10 13:20:47 -07:00
gellert
b1095faa71
minor fix for macos
2017-05-10 22:19:05 +02:00
Heilig Benedek
6f80379b30
use computeSize64 instead of getSize
2017-05-10 22:19:05 +02:00
Heilig Benedek
8d1c17e036
remove GetSizeForNewRenderView
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
92cc6746b1
resolve errors introduced during rebase
2017-05-10 22:19:05 +02:00
gellert
aa89bc0bb8
use outer webcontents for popups
2017-05-10 22:19:05 +02:00
Heilig Benedek
f03dccadb3
use white gutter color and paint damage rects over when paint starts in software osr
2017-05-10 22:19:05 +02:00
Heilig Benedek
3b94d268eb
lint fix 📝
2017-05-10 22:19:05 +02:00
Heilig Benedek
c54f7f2a8d
use bounds instead of bounds_in_pixel
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
Heilig Benedek
89277dda90
fix leaking of NativeImage instances
2017-05-10 22:19:05 +02:00
Heilig Benedek
704fde1939
port CEF pr that speeds up and simplifies GPU rendering
2017-05-10 22:19:05 +02:00
Heilig Benedek
2f32311292
fix black bars around popups and scaled images when using gpu rendering
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
gellert
6b33564056
adds ipc send to disable external popups on macos
2017-05-10 22:19:05 +02:00
Heilig Benedek
ff053bbe06
call InvalidateBounds when popup updates
2017-05-10 22:19:05 +02:00
gellert
062b1ed43e
moves createviewfordwidget method to osrrwhv
2017-05-10 22:19:05 +02:00
Heilig Benedek
bccc25165d
fix mouse wheel event sending typo
2017-05-10 22:19:05 +02:00
Heilig Benedek
8f546313b6
add popup window bounds to damage_rect
2017-05-10 22:19:05 +02:00
Heilig Benedek
c9fa71bdb3
lint fix
2017-05-10 22:19:05 +02:00
Heilig Benedek
20d2ab29ab
Add support for child and popup windows in OSR
2017-05-10 22:19:05 +02:00
Kevin Sawicki
1453f090dc
Initial brightray import
2017-05-10 13:14:10 -07:00
Electron Bot
18615da075
Update to Electron v1.7.0
2017-05-10 12:58:24 -07:00
Kevin Sawicki
2b694195ff
Merge pull request #248 from electron-userland/1-7-0-typescript
...
Update to electron.d.ts@1.7.0
2017-05-10 12:55:42 -07:00
Kevin Sawicki
9d8b9ece5c
Update to electron.d.ts@1.7.0
2017-05-10 12:52:00 -07:00
Kevin Sawicki
b6319698f1
Bump v1.7.0
2017-05-10 10:42:05 -07:00
Kevin Sawicki
7d3b58aab1
Merge pull request #9116 from electron/chrome58
...
Upgrade to Chrome 58
2017-05-10 10:41:12 -07:00
Kevin Sawicki
de38461a3f
Update NotifyObserversCertDBChanged call to take no arguments
2017-05-10 10:05:48 -07:00
Kevin Sawicki
fb85b26767
Merge remote-tracking branch 'origin/master' into chrome58
2017-05-10 09:42:19 -07:00
Electron Bot
584cffe7c8
Update to Electron v1.6.9
2017-05-10 09:39:34 -07:00
Kevin Sawicki
878b7e373f
Merge pull request #247 from electron-userland/update-typescript-definition
...
Update electron.d.ts for 1.6.9
2017-05-10 09:37:50 -07:00
Kevin Sawicki
8dde4075e4
Update electron.d.ts for 1.6.9
2017-05-10 09:25:04 -07:00
Kevin Sawicki
f0c38b7354
Bump v1.6.9
2017-05-10 08:35:30 -07:00
Surya Setiyaputra
379499e71e
create folders for translation work
2017-05-11 00:55:38 +10:00
Kevin Sawicki
65bd0ecaa9
Upgrade to Chrome 58.0.3029.110
2017-05-09 21:14:22 -07:00
Kevin Sawicki
609b56c1ec
Merge pull request #295 from electron/chrome-58-0-3029-110
...
Upgrade to Chrome 58.0.3029.110
2017-05-09 21:10:16 -07:00
Zeke Sikelianos
7145aef02c
Merge pull request #9415 from electron/no-more-tslint
...
let the typescript module do its own linting
2017-05-09 16:52:38 -07:00
Kevin Sawicki
159a25d8e7
Merge pull request #13 from tsekityam/patch-1
...
Fix broken link
2017-05-09 16:14:28 -07:00
Kevin Sawicki
012b719163
Merge pull request #294 from electron/updgrade-to-58-0-3029-96
...
Upgrade to 58.0.3029.96
2017-05-09 16:07:35 -07:00
Zeke Sikelianos
9b82d1a996
let the typescript module do its own linting
2017-05-09 15:44:25 -07:00
Hari Juturu
277c3155a6
use will-create-webview event
2017-05-09 10:12:44 -07:00
Kevin Sawicki
8c856922f3
Merge pull request #9292 from 22222/issue8911
...
Fix #8911
2017-05-09 09:06:26 -07:00
Kevin Sawicki
aa212bd955
Merge pull request #9408 from Hum4n01d/patch-1
...
Fix order of OSs
2017-05-09 08:57:03 -07:00
Tse Kit Yam
c8cc021ea1
Fix broken link
2017-05-09 15:24:43 +08:00
Cheng Zhao
efe23b7595
Use Node's memory allocator for ArrayBuffer
...
For Buffers created in Node, they are usually allocated in Node and
freed by Chromium's allocator, which will cause crashes when Node and
Chromium are using different allocators.
This commit makes Chromium use Node' allocator for ArrayBuffers.
2017-05-09 14:12:39 +09:00
renaesop
dfcc882dcc
Add a test for webcontents.printerList.
2017-05-09 10:38:03 +08:00
HariJ
a05eb9047e
Fixing missed variable name
2017-05-08 18:50:20 -07:00
renaesop
cba5e96496
Merge remote-tracking branch 'ups/master'
2017-05-09 09:44:24 +08:00
Hari Krishna Reddy Juturu
3321f7d39c
Changing command line option name
2017-05-08 17:27:31 -07:00
Zeke Sikelianos
08dc66c9aa
Merge pull request #9388 from electron/use-tslint-config
...
use tsconfig file when linting electron.d.ts
2017-05-08 15:42:09 -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
Hum4n01d
a694110d48
Fix order of OSs
...
It was previously inconsistent
2017-05-08 13:36:28 -07:00
Kevin Sawicki
dd84fd4348
Merge pull request #9400 from brianzelip/patch-1
...
📝 minor docs copy edit - add two words
2017-05-08 08:57:50 -07:00
Tom Watson
50057163c6
📝 clarify dialog buttons blocking side effect
2017-05-08 11:17:33 +02:00
Brian Zelip
68c19fc509
📝 minor docs copy edit - add two words
...
[ci skip]
2017-05-07 11:06:46 -04:00
Hari Krishna Reddy Juturu
357caf8991
fixing spec
2017-05-06 22:41:05 -07:00
Hari Krishna Reddy Juturu
939885bc66
Remove .only on spec
2017-05-06 22:14:52 -07:00
Hari Krishna Reddy Juturu
94d054cf11
Add option to override webview security
2017-05-06 22:10:42 -07:00
Hari Krishna Reddy Juturu
b4a8ed01f1
PR 44648: Enabling creation on webview with node-integration disabled and raising events
...
- Enabling creation on webview with node-integration disabled and raising events
Conflicts:
lib/browser/guest-view-manager.js
2017-05-06 20:50:01 -07:00
Darrell Ulm
fa2bfd3ff5
Add Math.ceil to pageSize.height and pageSize.width to printToPDF() options to prevent error on display.
2017-05-06 19:19:31 -04:00
Kevin Sawicki
b712521056
Merge pull request #9381 from electron/cpu-usage-fix
...
CPU Usage requires process metrics to be preserved
2017-05-05 16:03:26 -07:00
Zeke Sikelianos
f228809317
fix the tslint.json path
2017-05-05 15:00:29 -07:00
Zeke Sikelianos
9fc8f92cd9
Merge pull request #209 from electron-userland/bundle-typescript-declaration-file
...
add electron.d.ts for built-in TypeScript support
2017-05-05 14:09:25 -07:00
Zeke Sikelianos
974d78a603
update electron.d.ts
2017-05-05 13:54:18 -07:00
Zeke Sikelianos
d4d1409e6f
use tsconfig file when linting electron.d.ts
2017-05-05 13:52:14 -07:00
Zeke Sikelianos
5e253443b1
update electron.d.ts
2017-05-05 13:39:26 -07:00
Zeke Sikelianos
8dde27af40
update electron.d.ts to 0.0.8
2017-05-05 13:39:26 -07:00
Zeke Sikelianos
3f74a2ab48
add electron.d.ts file and reference in package.json
2017-05-05 13:39:26 -07:00
Zeke Sikelianos
0a941fe2f5
Merge pull request #9385 from LestaD/patch-1
...
Add Russian Telegram community
2017-05-05 10:34:06 -07:00
Sergey Sova
888b2d6bd1
Add Russian Telegram community
2017-05-05 19:34:53 +03:00
Zeke Sikelianos
7d7a2d9319
Merge pull request #7857 from electron/publish-electron.d.ts
...
Initial scripts to publish electron.d.ts
2017-05-05 08:31:00 -07:00
Zeke Sikelianos
c46b70c68d
Merge pull request #9383 from johangp/patch-1
...
Is Google Chrome an open source browser?
2017-05-05 08:11:48 -07:00
Johan Giraldo
39d7981624
Is Google Chrome an open source browser?
...
Google Chrome isn't an open source project. Chromium is an open source project, so I think that is more precise say "and is used in Chromium, the open source browser from Google" or something like these.
2017-05-05 13:49:38 +02:00
Hari Krishna Reddy Juturu
d65c4fe912
CPU Usage requires process metrics to be preserved
2017-05-05 02:38:51 -07:00
Kevin Sawicki
6980e92a00
Merge pull request #8998 from electron/felix-notification-docs
...
Improve notification docs
2017-05-04 15:31:12 -07:00
Kevin Sawicki
70033009eb
Merge pull request #9373 from electron/process-metrics
...
Adding CPU and I/O metrics to process module
2017-05-04 15:30:19 -07:00
Hari Krishna Reddy Juturu
07d8dfaa53
Fixing UT
2017-05-04 14:50:06 -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
472dad1ffc
convert var to const
2017-05-04 14:33:59 -07:00
Hari Krishna Reddy Juturu
982c5064d8
Removing extra bool
2017-05-04 14:33:59 -07:00
Hari Krishna Reddy Juturu
656fb593b4
Fixing lint error
2017-05-04 14:33:59 -07:00
Hari Krishna Reddy Juturu
8bc4d3f8bd
GetIOCounters is not implemented on mac
2017-05-04 14:33:59 -07:00
Hari Krishna Reddy Juturu
3c71f542a8
Fixing UT on mac
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
70e199e255
Merge pull request #9333 from electron/process-memory-info-sandbox
...
Expose `process.get{System,Process}MemoryInfo` to sandbox
2017-05-04 14:17:44 -07:00
Kevin Sawicki
eebae82bc1
Merge pull request #9315 from electron/segmented-control-mode
...
Add mode prop to segmented touch bar control
2017-05-04 14:16:28 -07:00
Kevin Sawicki
01b3db3d2f
🎨
2017-05-04 14:15:48 -07:00
Kevin Sawicki
1e4b99bd7f
Merge pull request #9338 from mcizol/master
...
add auto-invite for turkish community(en-readme)
2017-05-04 14:14:22 -07:00
Kevin Sawicki
59511354fd
Merge pull request #9214 from electron/app-memoryinfo
...
API to get memory of all processes of the app
2017-05-04 14:00:30 -07:00
Kevin Sawicki
3b3e7cc14e
Assert memory info for all returned processes
2017-05-04 13:43:45 -07:00
Hari Krishna Reddy Juturu
ab1bcefe9e
Make pid an integer
2017-05-04 13:37:43 -07:00
Kevin Sawicki
edd28c9a91
Link to MemoryInfo structure
2017-05-04 13:35:12 -07:00
Kevin Sawicki
e206aae9fc
🎨 Use snake case
2017-05-04 13:27:42 -07:00
Kevin Sawicki
76c15a7a3e
Merge pull request #9348 from tsekityam/patch-1
...
Change translation of `license` to `授權條款`
2017-05-04 11:32:12 -07:00
Kevin Sawicki
0343db53ad
Merge pull request #9344 from rafbm/patch-1
...
Use actual Chromium l10n_util list in locales.md
2017-05-04 11:31:31 -07:00
Kevin Sawicki
c59fab0179
Merge pull request #9242 from shiftkey/certificate-addition-windows
...
certificate trust API for Windows
2017-05-03 16:39:00 -07:00
Kevin Sawicki
110611f242
🎨
2017-05-03 16:22:56 -07:00
Kevin Sawicki
d3bb7b7278
Merge pull request #294 from electron/updgrade-to-58-0-3029-96
...
Upgrade to 58.0.3029.96
2017-05-03 13:42:33 -07:00
22222
042b511a27
Fix #8911
2017-05-03 12:47:00 -05:00
Kevin Sawicki
e1d564da6e
Upgrade to Chrome 58.0.3029.96
2017-05-03 08:49:57 -07:00
Kevin Sawicki
dec7a3c12a
Upgrade to 58.0.3029.96
2017-05-03 08:48:58 -07:00
Samuel Attard
718dc732ad
Add docs and add isSelected arg
2017-05-03 20:25:50 +10:00
Zeke Sikelianos
7956d63e99
tslint electron.d.ts
2017-05-02 16:31:46 -07:00
Kevin Sawicki
164b97af4c
Use nodedir option to specify local headers
2017-05-02 13:47:34 -07:00
Kevin Sawicki
20fa2ce147
Rebuild native modules during bootstrap
2017-05-02 13:24:29 -07:00
Kevin Sawicki
c19c14d0b3
Build spec modules against locally generated node headers tarball
2017-05-02 10:14:49 -07:00
Kevin Sawicki
c6c93211be
Merge remote-tracking branch 'origin/master' into chrome58
2017-05-02 09:15:16 -07:00
Kevin Sawicki
96ca623846
Merge pull request #9353 from kainjow/patch-1
...
Add missing word
2017-05-02 09:08:06 -07:00
Kevin Wojniak
342a8fd577
Add missing word
2017-05-02 09:05:07 -07:00
Kevin Sawicki
93d7973590
Merge pull request #288 from electron/chrome58
...
Upgrade to Chrome 58
2017-05-02 08:52:42 -07:00
Tse Kit Yam
58c3446e40
Change translation of license to 授權條款
...
The translation of `license` should not be `憑證`.
`憑證` means certificate but not license in Chinese.
For example, [Symantec](https://www.symantec.com/zh/tw/security_response/glossary/define.jsp?letter=d&word=digital-certificate ) translated `digital certificate` as `數位憑證`; [Chrome Support](https://support.google.com/chrome/a/answer/3505249?hl=zh-Hant ) used the teams `憑證授權單位` and `SSL 憑證` to describe `CA` and `SSL Certificate`. These are all proving that the word `憑證` is commonly used in the translation of `certificate`, but not `license`
I googled for a while, and found that the team `授權條款` is commonly used to describe `license` in Traditional Chinese. The user of the translation `授權條款` includes governments ([Taiwan Government](https://www.tipo.gov.tw/ct.asp?xItem=365132&ctNode=6885&mp=1 ), [Hong Kong government](http://www1.itfest.gov.hk/sc/event/supplements/0415_BIP_Asia_Seminar_Series_%28eDM%29.pdf )), communities ([Open Source Hong Kong](https://freehkfonts.opensource.hk/download/ ) and [OpenFoundry](https://www.openfoundry.org/of/download/openlegal/Analyses_and_applying_policies_of_FOSS_licenses_2parts_2/20131118_d.pdf )), and businesses ([Google](https://www.google.com/intl/zh-TW/chromebook/termsofservice.html )).
So I suggest we should use `授權條款`, which has been widely adopted as translation of `license`, instead of a wrong translation `憑證`.
2017-05-02 17:59:15 +08:00
Brendan Forster
e5648072dc
handle untrusted root as well as self-signed
2017-05-02 11:25:51 +10:00
Zeke Sikelianos
b9e6b188f7
🎨
2017-05-01 16:00:25 -07:00
Zeke Sikelianos
52d6e53001
preserve 46823f9
2017-05-01 15:59:00 -07:00
Electron Bot
b0b5fef317
Update to Electron v1.6.8
2017-05-01 15:56:30 -07:00
Zeke "Offline in April" Sikelianos
9fd1e2c8c4
Merge branch 'master' into felix-notification-docs
2017-05-01 15:56:14 -07:00
Kevin Sawicki
a748199833
Bump v1.6.8
2017-05-01 15:09:30 -07:00
Rafael Masson
410078bb54
Use actual Chromium l10n_util list in locales.md
...
I’m not sure where the locale list from the [original commit](bbaab9b355 ) came from, but it clearly wasn’t copied from `l10n_util`. It was missing Spanish, Portuguese, Polish, Vietnamese, to name a few…
This commit overwrite the whole list with [`l10n_util` as-is](61cfc2b0a8/ui/base/l10n/l10n_util.cc (L41-L175) ).
2017-05-01 17:15:37 -04:00
Kevin Sawicki
98d17d64ef
Merge pull request #9322 from electron/debugger-json-crash
...
Parse debugger protocol messages using v8 JSON parser
2017-05-01 10:44:14 -07:00
Kevin Sawicki
b639dd0c81
Remove unused include/require statement
2017-05-01 10:30:11 -07:00
Kevin Sawicki
f2f6415543
Use v8 to parse message as JSON
2017-05-01 10:30:11 -07:00
Kevin Sawicki
db6097ecec
Add failing spec for invalid debugger message
2017-05-01 10:30:11 -07:00
Kevin Sawicki
f84c75aa1a
Merge pull request #9301 from electron/post-message-origin-check
...
Use isSameOrigin helper when checking postMessage targetOrigin
2017-05-01 08:57:56 -07:00
Kevin Sawicki
56a4a69dee
Add more non-matching target origins
2017-05-01 08:45:38 -07:00
Kevin Sawicki
efc62629ef
Fix typo in fixture comment
2017-05-01 08:45:38 -07:00
Kevin Sawicki
fa4ec11a12
Use isSameOrigin helper when posting message
2017-05-01 08:45:38 -07:00
Kevin Sawicki
3c58d50f87
Add failing spec for targetOrigin handling
2017-05-01 08:45:38 -07:00
Thiago de Arruda
a8640fb8a3
Add test to verify memory is released after sandboxed popup is closed
2017-05-01 11:30:07 -03:00
Mustafa C. Izol
416cfeed40
update turkish community link
2017-05-01 15:44:39 +02:00
Mustafa C. Izol
1a2aaecd4b
add auto-invite for turkish community(en-readme)
2017-05-01 15:33:25 +02:00
Thiago de Arruda
bbe21cce67
Expose more atom_bindings.cc functions to sandbox
2017-05-01 09:12:39 -03:00
Cheng Zhao
9e0c308b09
Merge pull request #9113 from electron/window_close_patch
...
browser: make destruction of webContents async
2017-05-01 17:45:58 +09:00
deepak1556
0476e2fd3d
destroy browserView webContents asynchronously
2017-05-01 16:53:55 +09:00
deepak1556
c68f41b8d8
destroy new window webContents asynchronously
2017-05-01 16:53:55 +09:00
deepak1556
5e976be43b
remove page-title-updated workaround for #3380
2017-05-01 16:53:55 +09:00
deepak1556
e4524ce42e
add spec
2017-05-01 16:53:55 +09:00
deepak1556
9e3b8ade12
invoke WebContentsDestroyed manually when destruction path is async
2017-05-01 16:53:14 +09:00
deepak1556
f974a6bda9
browser: make destruction of webContents async
2017-05-01 16:53:14 +09:00
Cheng Zhao
7d9c1a80f0
Merge pull request #12 from brenca/add-high-memory-option
...
Add a flag that skips the two round GC and instead uses only one
2017-05-01 16:06:50 +09:00
Cheng Zhao
ca7ca3ba1c
Merge pull request #9314 from electron/fix-windowopen-memory-leak
...
Fix context leak in ObjectLifeMonitor.
2017-05-01 15:49:13 +09:00
Ryohei Ikegami
da97150fc9
Fix JS style in test HTMLs
2017-04-30 19:43:21 +09:00
Ryohei Ikegami
3c5179b717
Merge branch 'native-window-open' of github.com:seanchas116/electron into native-window-open
2017-04-30 19:37:23 +09:00
Ryohei Ikegami
8b6b512485
Pass nativeWindowOpen flag to isolated init.js
2017-04-30 19:35:41 +09:00
Ryohei Ikegami
0034b306f5
Add test for nativeWindowOpen + contextIsolation
2017-04-30 19:33:40 +09:00
Ryohei Ikegami
edeac2f59e
Split test HTML file into separate ones
2017-04-30 18:54:08 +09:00
Brendan Forster
541efc3b93
tidy up docs
2017-04-29 19:35:49 +10:00
Brendan Forster
14f29e1319
it's 2017 get with the times
2017-04-29 19:29:07 +10:00
Brendan Forster
1ccc2afb03
underscore case all the things
2017-04-29 19:28:42 +10: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
Samuel Attard
225ccab3d2
Add mode prop to segmented touch bar control
2017-04-28 14:50:58 +10:00
Hari Krishna Reddy Juturu
07b53c0284
Return mate::Dictionary instead of v8::value
2017-04-27 21:07:35 -07:00
Kevin Sawicki
79b02ca71e
Merge pull request #9310 from neilstuartcraig/patch-1
...
Show how to run the example in touch-bar.md
2017-04-27 14:23:13 -07:00
Kevin Sawicki
c26605c384
Minor edits to example guide
2017-04-27 14:22:56 -07:00
HariJ
88ad28b2a5
Removing describe.only
2017-04-27 14:06:53 -07:00
HariJ
81bd9fa3a2
fixing mac ut failure
2017-04-27 14:06:53 -07:00
Hari Krishna Reddy Juturu
3d12440a4a
Fixing mac build
2017-04-27 14:06:53 -07:00
Hari Krishna Reddy Juturu
d77c1319f4
Fixing lint error
2017-04-27 14:06:53 -07:00
Hari Krishna Reddy Juturu
27aad902b8
Adding docs, specs and fixing object returned
2017-04-27 14:06:53 -07:00
Hari Krishna Reddy Juturu
bef7d5a520
API to get memory of all processes of the app
2017-04-27 14:06:53 -07:00
Neil Craig
c0669cb46e
Update touch-bar.md
...
Add a simple example of running the example code as it might not be obvious to people who've not used Electron. Hopefully it makes sense :-)
2017-04-27 20:19:17 +01:00
Cheng Zhao
dd2d0b3f4f
Update to Chrome 58.0.3029.81
2017-04-27 18:57:04 +09:00
Cheng Zhao
3601ae3549
Update to Chrome 58.0.3029.81
2017-04-27 17:50:02 +09:00
Cheng Zhao
4c47f2d15e
Update to Node v7.9.0
2017-04-27 17:20:01 +09:00
Cheng Zhao
301ed2d66c
Fix typo when updating code
2017-04-27 16:34:52 +09:00
Cheng Zhao
cbd3b054cb
Fix release build
2017-04-27 16:34:52 +09:00
Cheng Zhao
620a1ca167
Fix unresolved symbol to icu::DateInterval
2017-04-27 16:34:52 +09:00
Cheng Zhao
e6e985c677
Fix linking error with icu symbols
2017-04-27 16:34:52 +09:00
Cheng Zhao
5563cf0dc5
Automatically register secure schemes in renderer
...
Otherwise the behavior of secure schemes would be different with before.
2017-04-27 16:34:52 +09:00
Cheng Zhao
0fb746b350
Fix crash when using secure schemes
2017-04-27 16:34:52 +09:00
Cheng Zhao
fb42a72ad8
Fix building on Windows
2017-04-27 16:34:52 +09:00
Cheng Zhao
8c5fd76286
Fix symbol conflicts in Xlib.h
2017-04-27 16:34:52 +09:00
Cheng Zhao
b3d60bfb3a
Fix building on Linux
2017-04-27 16:34:52 +09:00
Cheng Zhao
97fd383c53
There are a few more new values for ChangeCause
2017-04-27 16:34:52 +09:00
Cheng Zhao
7d9d82b522
Fix lack of some Chromium headers
2017-04-27 16:34:52 +09:00
Cheng Zhao
08069e18db
Don't use gzip when uploading crash reports
2017-04-27 16:34:52 +09:00
Cheng Zhao
b2b2d8d9a4
Fix crash on exit
2017-04-27 16:34:52 +09:00
Cheng Zhao
d85b58fdb5
Fix API changes of FrameSubscriber
2017-04-27 16:34:52 +09:00
Cheng Zhao
6da696b6f2
Update printing code
2017-04-27 16:34:52 +09:00
Cheng Zhao
326908cebb
Fix change of FileDescriptorWatcher API
2017-04-27 16:34:52 +09:00
Cheng Zhao
9f94a0b246
Update Singleton code
2017-04-27 16:34:52 +09:00
Cheng Zhao
e43b34b8f8
Use blink::SchemeRegistry over WebSecurityPolicy
...
The latter is removing some APIs we use.
2017-04-27 16:34:52 +09:00
Cheng Zhao
481b04358e
Fix blink API changes
2017-04-27 16:34:52 +09:00
Cheng Zhao
8634f37dfc
Add gen/third_party/WebKit to include dirs
2017-04-27 16:34:52 +09:00
Cheng Zhao
dd3d791cb9
IsolateHolder API has been changed
2017-04-27 16:34:52 +09:00
Cheng Zhao
5fb87f0c1e
ResourceHandler API has been changed
2017-04-27 16:34:52 +09:00
Cheng Zhao
803120dae6
Update libcc to fix missing gen/cc headers
2017-04-27 16:34:52 +09:00
Cheng Zhao
6be10ffef2
Fix more API changes due to name changes
2017-04-27 16:34:52 +09:00
Cheng Zhao
50e3bfa764
Fix API changes of base::Value
2017-04-27 16:34:52 +09:00
Cheng Zhao
9d1b88ed59
Fix API changes in OSR code
2017-04-27 16:34:52 +09:00
Cheng Zhao
fc2d62d5cb
Fix API changes of Chrome58
2017-04-27 16:34:52 +09:00
Cheng Zhao
453cb2c0b4
Upgrade to Chrome 58.0.3029.40
2017-04-27 16:34:52 +09:00
Brendan Forster
5534181ebd
rework docs
2017-04-27 15:12:30 +10:00
Brendan Forster
a1599cf881
focus on the self-signed certificate flow here
2017-04-27 15:06:23 +10:00
Brendan Forster
5151107c28
tighten up indenting
2017-04-27 15:01:55 +10:00
Brendan Forster
50af70a0e8
Merge branch 'master' into certificate-addition-windows
2017-04-27 14:47:50 +10:00
Brendan Forster
80212c0ab4
actually validate the chain before adding
2017-04-27 14:44:58 +10:00
Ryohei Ikegami
1d73e84a29
Merge branch 'master' into native-window-open
2017-04-27 12:03:55 +09:00
Kevin Sawicki
dafd0b6c3c
Merge pull request #9299 from electron/menu-item-doc-typos
...
Fix typos in MenuItem docs
2017-04-26 13:03:46 -07:00
Kevin Sawicki
f6bbcc6efa
Fix typos
2017-04-26 13:03:15 -07:00
Kevin Sawicki
eabe7b9dce
Merge pull request #9290 from electron/coerce-history-go-offset-to-number
...
Coerce window.history.go offset argument to number in renderer process
2017-04-26 13:02:53 -07:00
Kevin Sawicki
95ef422ab4
Coerce offset to number in renderer process
2017-04-26 12:37:16 -07:00
Kevin Sawicki
775753c3d7
Add spec for invalid window.history.go offset
2017-04-26 12:37:16 -07:00
Kevin Sawicki
8460a580b9
Merge pull request #9289 from electron/dont-allow-webpreferences-option-setting
...
Don't allow webPreferences to be overridden in features string
2017-04-26 12:36:51 -07:00
Kevin Sawicki
507f60e33e
Don't allow webPreferences to be overrideden in features string
2017-04-26 10:56:53 -07:00
Kevin Sawicki
7726c7c6c4
Add spec for webPreferences in features string
2017-04-26 10:56:53 -07:00
Kevin Sawicki
0aa53f4af7
Merge pull request #9287 from electron/store-frames-to-guest-as-map
...
Store frames to guest as Map
2017-04-26 10:47:21 -07:00
Kevin Sawicki
91a1e5cdfe
Store frame to guests in map
2017-04-26 10:14:11 -07:00
Kevin Sawicki
9643b2a5c5
Add specs for window.open frameName argument
2017-04-26 10:14:11 -07:00
Kevin Sawicki
b9b3abbeae
Merge pull request #9286 from electron/to-string-renderer-errors
...
Throw string conversion errors in render process
2017-04-26 10:12:21 -07:00
Kevin Sawicki
2c48300daa
Fix typos in comment
2017-04-26 09:09:42 -07:00
Kevin Sawicki
246937a372
Convert targetOrigin to string in render process
2017-04-26 09:08:47 -07:00
Kevin Sawicki
3894c1c625
Convert frameName/features to strings in render process
2017-04-26 09:08:47 -07:00
Kevin Sawicki
7e285711ca
Add spec for window.open toString errors
2017-04-26 09:08:47 -07:00
Kevin Sawicki
4e7e9d1752
Merge pull request #9278 from electron/dont-override-argument-value
...
Disable node integration in chrome-devtools URLs
2017-04-26 09:08:24 -07:00
Kevin Sawicki
05b6d91bf4
Disable node integration in chrome-devtools: URLs
2017-04-25 13:36:08 -07:00
Kevin Sawicki
3f88eb2f86
Add spec for chrome-devtools URL with no node integration
2017-04-25 13:36:08 -07:00
Kevin Sawicki
c9ec45d9d8
Merge pull request #9250 from electron/inherit-javascript-option
...
Inherit javascript preference in opened windows
2017-04-25 13:33:53 -07:00
Kevin Sawicki
87db1b8aa7
Document other inherited web preferences
2017-04-25 12:57:53 -07:00
Kevin Sawicki
3e2a1034af
Disable JavaScript on child when disabled on parent
2017-04-25 12:57:53 -07:00
Kevin Sawicki
cee0507090
Add failing spec for inheriting Javascript web preference
2017-04-25 12:57:53 -07:00
Kevin Sawicki
6ec74060b4
Enable setting javascript and contextIsolation via window.open
2017-04-25 12:57:53 -07:00
Kevin Sawicki
00a575c84a
Merge pull request #9279 from electron/extract-default-app-script
...
Extract script tags to renderer.js file in default app
2017-04-25 12:55:58 -07:00
Kevin Sawicki
ca5a8b6166
Extract script tags to renderer.js file
2017-04-25 08:27:57 -07:00
Kevin Sawicki
7881376aff
Merge pull request #9254 from electron/endsession-event
...
End session event on browser window
2017-04-24 12:02:05 -07:00
Hari Krishna Reddy Juturu
8458acff26
Removing #ifdef on endsession api
2017-04-24 11:58:08 -07:00
Hari Krishna Reddy Juturu
8a32826876
Removing #ifdef windows for endsession methods
2017-04-24 11:49:21 -07:00
Kevin Sawicki
b6192da757
Merge pull request #9255 from electron/emit-auto-updater-error
...
Emit auto updater error directly as Error
2017-04-24 10:26:00 -07:00
Hari Krishna Reddy Juturu
9e70372c1f
change endsession event name to session-end
2017-04-24 10:16:11 -07:00
Kevin Sawicki
c2d4c93e12
Don't run error event on Linux
2017-04-24 09:47:30 -07:00
Kevin Sawicki
13e4582697
Emit autoUpdater error directly as Error object
2017-04-24 09:47:30 -07:00
Kevin Sawicki
423dd4d57a
Add spec for remote autoUpdater error event
2017-04-24 09:47:30 -07:00
Kevin Sawicki
6c99d83b99
Merge pull request #9253 from electron/log-crashes-during-specs
...
Log all crashes during spec running
2017-04-24 09:47:05 -07:00
Kevin Sawicki
35a627fd60
Log all crashes during specs
2017-04-24 09:26:24 -07:00
Kevin Sawicki
2e223288d2
Merge pull request #9252 from electron/convert-to-string-in-render-process
...
Convert alert/confirm arguments to strings in render process
2017-04-24 09:26:00 -07:00
Kevin Sawicki
c90fd4dc88
Convert message/title to strings in render process
2017-04-24 09:15:01 -07:00
Kevin Sawicki
a00d36fb07
Add spec for alert/confirm toString errors
2017-04-24 09:15:01 -07:00
Kevin Sawicki
c146f8a308
Merge pull request #9249 from electron/document-write
...
Don't use document.write in default app
2017-04-24 09:14:29 -07:00
Kevin Sawicki
5f038cb3cb
Don't use document.write in default app
2017-04-24 08:57:10 -07:00
Kevin Sawicki
d3ae1d8d23
Merge pull request #9246 from rreimann/master
...
Clarify requirements for resumable downloads
2017-04-24 08:50:55 -07:00
Kevin Sawicki
13eeb1d17f
Minor wording tweaks
2017-04-24 08:50:40 -07:00
Kevin Sawicki
99985c0ed9
Wrap header names in backticks
2017-04-24 08:49:59 -07:00
Kevin Sawicki
9bb944f632
Merge pull request #9273 from electron/update_notification_docs
...
Updated documentation on desktop notifications on Windows 7
2017-04-24 08:48:44 -07:00
Kevin Sawicki
a26ae85017
Merge pull request #9262 from ArcticZeroo/patch-1
...
Fix a typo in faq.md
2017-04-24 08:48:20 -07:00
Ales Pergl
46823f944c
Updated documentation on desktop notifications on Windows 7
2017-04-24 09:57:34 +02:00
Brendan Forster
f644ba56a3
clean up the code a bit
2017-04-24 11:49:55 +10:00
Brendan Forster
253a4b0114
Merge remote-tracking branch 'electron/master' into certificate-addition-windows
2017-04-24 11:13:34 +10:00
Brendan Forster
ac3385124a
reload the current cert database if the certificate was added
2017-04-24 11:12:26 +10:00
ArcticZeroo
64cc537951
Update faq.md
...
Fix the most horrible typo of all time
2017-04-22 23:11:04 -04:00
rreimann
7ea6d01a8c
Rephrase note for resume method
2017-04-22 18:15:07 +02:00
Hari Krishna Reddy Juturu
9e8252c1f9
Remove wm_state change
2017-04-21 14:35:30 -07:00
Hari Krishna Reddy Juturu
3c3e14b820
End session event on browser window
2017-04-21 14:22:11 -07:00
Kevin Sawicki
e9880e9c97
Merge pull request #8996 from swashcap/master
...
Add documentation note on dynamic Menu items
2017-04-21 13:44:01 -07:00
Kevin Sawicki
d1691e0a37
Merge pull request #9239 from pfrazee/patch-1
...
Make note about sync webview calls in docs
2017-04-21 13:40:17 -07:00
Kevin Sawicki
7177ea5e9a
Bold note for emphasis
2017-04-21 13:39:51 -07:00
Kevin Sawicki
1256ab075c
Merge pull request #9248 from electron/stream-test-output-on-windows
...
Stream test output on Windows CI
2017-04-21 09:15:41 -07:00
Kevin Sawicki
42ccb36df3
Stream test output on Windows CI
2017-04-21 08:53:40 -07:00
Kevin Sawicki
eee9ed2c5d
Merge pull request #9241 from electron/doc-symstore
...
Document downloading debugging tools for windows
2017-04-21 08:50:33 -07:00
Kevin Sawicki
9acd9e878c
Mention downloading debugging tools for windows
2017-04-21 08:37:01 -07:00
rreimann
7ce3571270
Clarify requirements for resumable downloads
2017-04-21 15:14:56 +02:00
Brendan Forster
304c8b9562
add some docs for Windows usage
2017-04-21 13:09:49 +10:00
Brendan Forster
c181a8269d
and this is how we invoke the callback
2017-04-21 12:47:11 +10:00
Brendan Forster
1439a1e322
and the order here matters apparently
2017-04-21 12:23:50 +10:00
Brendan Forster
b3baf9976f
coding style fixes
2017-04-21 12:17:01 +10:00
Electron Bot
703dbb22e2
Update to Electron v1.3.15
2017-04-20 17:04:43 -07:00
Kevin Sawicki
1a49374b4c
Merge pull request #9237 from electron/root-modules-describe
...
Add root describe to modules spec
2017-04-20 15:11:27 -07:00
Kevin Sawicki
93603882b1
Add root describe to be able to run whole file
2017-04-20 14:17:58 -07:00
Kevin Sawicki
e95ba067a5
Merge pull request #9238 from electron/wait-for-stdout-close
...
Wait for close event instead of exit in spec
2017-04-20 14:17:07 -07:00
Paul Frazee
3068d7a43e
Make note about sync webview calls in docs
2017-04-20 14:02:41 -05:00
Kevin Sawicki
361c3e0700
Wait for close event instead of exit so stdout done
2017-04-20 11:40:04 -07:00
Kevin Sawicki
a004cada7c
Merge pull request #9095 from seanchas116/better-path-resolve
...
Search for module from app path when URL is not file protocol
2017-04-20 10:49:53 -07:00
Kevin Sawicki
dc8b43901b
Merge pull request #9108 from yuya-oc/add-macos-sheet-events
...
Add sheet-begin and sheet-end events to macOS BrowserWindow
2017-04-20 10:33:31 -07:00
Kevin Sawicki
29a3e11893
Group sheet event methods with other macOS methods
2017-04-20 10:32:14 -07:00
Brendan Forster
5f1bcd2d16
a first pass at the script to import the certificate for Windows
2017-04-20 21:12:32 +10:00
Brendan Forster
dca08c208b
and use the same signature for Windows
2017-04-20 14:21:08 +10:00
Brendan Forster
4f40b8a42c
stub the windows source file
2017-04-20 14:21:08 +10:00
Kevin Sawicki
454dd00597
Merge pull request #9227 from electron/specs-on-new-ci-machines
...
Get specs passing on new macOS CI machines
2017-04-19 20:37:37 -07:00
Kevin Sawicki
fae0308861
Use app name in crash dir path on linux/macos
2017-04-19 20:19:17 -07:00
Kevin Sawicki
709d2933b7
🎨
2017-04-19 16:44:31 -07:00
Kevin Sawicki
de62f1ea6c
Restart crash service in each spec
2017-04-19 16:37:24 -07:00
Kevin Sawicki
a7a92e1cd3
Still call done when stop server function is null
2017-04-19 09:52:28 -07:00
Kevin Sawicki
4d9cdad37a
Close server and connections after each spec
2017-04-19 09:48:32 -07:00
Kevin Sawicki
ece4df0ac7
Increase timeout to 2 minutes
2017-04-19 09:30:03 -07:00
Kevin Sawicki
c05c324464
Remove extra space in description
2017-04-19 09:28:52 -07:00
Kevin Sawicki
6b13fab83a
Wait for full screen event before leaving kiosk mode
2017-04-19 09:13:26 -07:00
Kevin Sawicki
5153c1f353
Disable media device specs on CI where they may not be available
2017-04-18 16:16:08 -07:00
Kevin Sawicki
f891df55d4
Call done callback with Error
2017-04-18 16:06:10 -07:00
Kevin Sawicki
4af44b1be6
Consolidate window closing
2017-04-18 16:04:27 -07:00
Electron Bot
26a28b7447
Update to Electron v1.6.7
2017-04-18 13:58:20 -07:00
Kevin Sawicki
4a9383b50b
Bump v1.6.7
2017-04-18 09:17:16 -07:00
Kevin Sawicki
6701a96216
Merge pull request #9211 from sindresorhus/patch-1
...
Add docs tip about testing Touch Bar usage
2017-04-18 12:10:45 -04:00
Kevin Sawicki
1fe10406ad
Merge pull request #9194 from electron/external/cookie-flushstore-api
...
Adding cookie flush store api
2017-04-18 12:09:19 -04:00
Kevin Sawicki
8f0ac057e3
Add initial spec for cookies.flushStore
2017-04-18 09:08:27 -07:00
Hari Krishna Reddy Juturu
fe88697348
fixup! fixup! Adding cookie flush store api
2017-04-18 09:05:13 -07:00
Hari Krishna Reddy Juturu
efca0a6e07
fixup! Adding cookie flush store api
2017-04-18 09:05:13 -07:00
Hari Krishna Reddy Juturu
19709a50e9
Adding cookie flush store api
2017-04-18 09:05:13 -07:00
Kevin Sawicki
190fc46e77
Merge pull request #9208 from electron/touchbar-button-icon-pos
...
Add iconPosition property to touch bar buttons
2017-04-18 12:02:44 -04:00
Kevin Sawicki
ca46d52b0c
Add button with icon to touch bar spec
2017-04-18 09:01:43 -07:00
Kevin Sawicki
c32a723e29
Only read iconPosition when icon is present
2017-04-18 08:58:54 -07:00
Samuel Attard
526d287d25
Make iconPosition non-breaking by defaulting to overlay
2017-04-18 08:56:39 -07:00
Samuel Attard
11c7c107a9
add iconPosition property to touch bar buttons
2017-04-18 08:56:39 -07:00
Kevin Sawicki
fa4e4eb3e0
Merge pull request #9195 from mcizol/master
...
add turkish quick-start file
2017-04-18 11:51:13 -04:00
Kevin Sawicki
f461a2f20b
Merge pull request #9185 from sauber92/patch-2
...
Update protocol.md
2017-04-18 11:46:05 -04:00
Kevin Sawicki
bba3e866b7
Merge pull request #9180 from runinspring/patch-1
...
Update shell.md
2017-04-18 11:45:10 -04:00
Ryohei Ikegami
91f31506ef
Skip native addon test in Windows
2017-04-19 00:11:23 +09:00
Ryohei Ikegami
8dff29185b
Merge branch 'master' into native-window-open
2017-04-18 21:59:22 +09:00
Birunthan Mohanathas
4d9977dac1
Merge pull request #9219 from electron/update-libcc-dpi-scaling
...
Update libcc for electron/libchromiumcontent#285
2017-04-18 15:13:03 +03:00
Alexandre Lachèze
9aff17afea
👕 alphabetical order
2017-04-18 13:44:31 +02:00
Alexandre Lachèze
f375e8a7db
Add OS process id to web-contents
2017-04-18 12:31:20 +02:00
Birunthan Mohanathas
3bcf5e0e9f
Fix OverrideSiteInstanceForNavigation() signature
2017-04-18 11:51:38 +03:00
Birunthan Mohanathas
4a7125d9f8
Update libcc for electron/libchromiumcontent#285
...
This fixes non-client area DPI scaling on recent Windows 10 versions.
See discussion in #8786 .
2017-04-18 11:11:26 +03:00
Cheng Zhao
70d67f9da4
Link with VideoToolbox.framework
2017-04-18 16:44:04 +09:00
Birunthan Mohanathas
226c1c99a6
Merge pull request #9213 from electron/fix-autohide-menubar-layout
...
Actually hide menubar area when menu is autohidden
2017-04-17 12:34:23 +03:00
Birunthan Mohanathas
dcf6c52f51
Actually hide menubar area when menu is autohidden
...
This was a regression introduced in 638eae10 .
2017-04-17 12:31:39 +03:00
Cheng Zhao
55e9c3196a
Fix building on Linux
2017-04-17 16:52:24 +09:00
Sindre Sorhus
39caa6ad23
📝 Add docs tip about testing Touch Bar usage
...
Disclosure: I made it.
Most devs don't have the new MacBook with Touch Bar, but would like to support it. I think it would be useful to point out how to easily develop and test Touch Bar usage in Electron apps.
[ci skip]
2017-04-17 14:39:37 +07:00
Cheng Zhao
b82845dc4a
A quick fix for crashing when closing devtools
2017-04-17 16:16:02 +09:00
Cheng Zhao
98c039c880
Detach from devtools before destroying
...
Otherwise Electron would crash on exit in Chrome 58.
2017-04-17 16:16:02 +09:00
Cheng Zhao
79a441874e
Fill missing NetworkDelegate method
2017-04-17 16:16:02 +09:00
Cheng Zhao
affd80aef0
Add gen/third_party/WebKit to include dirs
2017-04-17 16:16:02 +09:00
Cheng Zhao
bbd4749668
base::WrapUnique has changed its API
2017-04-17 16:16:02 +09:00
Cheng Zhao
c41fb922b3
Fix API changes of Chrome 58
2017-04-17 16:16:02 +09:00
Cheng Zhao
0a110a44f9
ScopedPtrHashMap has been removed
2017-04-17 16:16:02 +09:00
Cheng Zhao
fdb880eca2
Remove the ENABLE_WEBRTC define
...
Headers are now defined in gen/media/media_features.h.
2017-04-17 16:16:02 +09:00
Cheng Zhao
9ee47385d5
Update libchromiumcontent to Chrome 58
2017-04-17 16:16:02 +09:00
Birunthan Mohanathas
81879f8f8a
Merge pull request #9204 from electron/upgrade-brightray-wmstate
...
Update Brightray for electron/brightray#289
2017-04-16 19:52:11 +03:00
Birunthan Mohanathas
dc914fdb28
Update Brightray for electron/brightray#289
...
This fixes #9197 .
2017-04-16 18:01:32 +03:00
Birunthan Mohanathas
708d39ebe5
Merge pull request #289 from poiru/windows-wm-state
...
Initialize wm::WMState on Windows as well
2017-04-16 17:58:41 +03:00
Birunthan Mohanathas
ed9795514e
Initialize wm::WMState on Windows as well
...
See:
cd4f72fdea/ui/views_content_client/views_content_client_main_parts_aura.cc (23)
This fixes electron/electron#9197 .
2017-04-16 17:32:28 +03:00
Yuya Ochiai
75184046f6
Add events to manage sheets of macOS BrowserWindow
2017-04-15 16:26:45 +09:00
Mustafa C. Izol
7b3f1b5d91
update link to turkish quick-start
2017-04-14 19:47:39 +02:00
Mustafa C. Izol
228517edde
add turkish quick start file
2017-04-14 19:38:46 +02:00
Birunthan Mohanathas
3af50b92ca
Merge pull request #9187 from electron/mac-messagebox-warning-icon
...
Fix missing warning icon with dialog.showMessageBox() on macOS
2017-04-14 19:27:49 +03:00
Birunthan Mohanathas
e7d71000ee
Fix missing warning icon with dialog.showMessageBox() on macOS
...
Fixes #9183 .
2017-04-14 19:27:25 +03:00
Junyoung Jung
eee0b35d19
Update protocol.md
...
오타 수정, Edit typo
2017-04-13 23:47:01 +09:00
Ryohei Ikegami
ea6890aa5c
Use const
2017-04-13 23:26:42 +09:00
Birunthan Mohanathas
0c1d60381d
Merge pull request #9167 from electron/frameless-overflow3
...
Fix frameless window overflow on Windows
2017-04-13 13:08:39 +03:00
Kevin Sawicki
108f246d89
Add SubSystem setting
2017-04-13 13:06:36 +03:00
Kevin Sawicki
4ca4eb01d4
Use MinimumRequiredVersion instead of argument
2017-04-13 13:03:46 +03:00
Kevin Sawicki
1a75bf8fb9
Add comment to subsystem linker option
2017-04-13 13:03:46 +03:00
Kevin Sawicki
fe8726d775
Use Chrome default client inset handling
2017-04-13 13:03:46 +03:00
Birunthan Mohanathas
7f4bd79b01
Merge pull request #9166 from electron/browserview
...
Implement initial, experimental BrowserView API
2017-04-13 11:00:16 +03:00
ZhangYu
ed20cc0af8
Update shell.md
2017-04-13 10:27:32 +08:00
Ryohei Ikegami
9d62b196d3
Use base::FilePath
2017-04-13 10:59:12 +09:00
Birunthan Mohanathas
000aedf2e7
Avoid insecure nodeIntegration in example
2017-04-13 01:27:31 +03:00
Birunthan Mohanathas
ccdeb4746e
Destroy BrowserViews after each test
2017-04-13 01:27:31 +03:00
Birunthan Mohanathas
06fcf2c19d
Add support for BrowserView autoresizing
2017-04-13 01:27:31 +03:00
Birunthan Mohanathas
638eae1080
Remove MenuLayout in favor of NativeWindowViews::Layout
2017-04-13 01:27:31 +03:00
Birunthan Mohanathas
8b9f7e5b00
Implement initial, experimental BrowserView API
...
Right now, `<webview>` is the only way to embed additional content in a
`BrowserWindow`. Unfortunately `<webview>` suffers from a [number of
problems](https://github.com/electron/electron/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aopen%20label%3Awebview%20 ).
To make matters worse, many of these are upstream Chromium bugs instead
of Electron-specific bugs.
For us at [Figma](https://www.figma.com ), the main issue is very slow
performance.
Despite the upstream improvements to `<webview>` through the OOPIF work, it is
probable that there will continue to be `<webview>`-specific bugs in the
future.
Therefore, this introduces a `<webview>` alternative to called `BrowserView`,
which...
- is a thin wrapper around `api::WebContents` (so bugs in `BrowserView` will
likely also be bugs in `BrowserWindow` web contents)
- is instantiated in the main process like `BrowserWindow` (and unlike
`<webview>`, which lives in the DOM of a `BrowserWindow` web contents)
- needs to be added to a `BrowserWindow` to display something on the screen
This implements the most basic API. The API is expected to evolve and change in
the near future and has consequently been marked as experimental. Please do not
use this API in production unless you are prepared to deal with breaking
changes.
In the future, we will want to change the API to support multiple
`BrowserView`s per window. We will also want to consider z-ordering
auto-resizing, and possibly even nested views.
2017-04-13 01:27:27 +03:00
Kevin Sawicki
779e4e5889
Merge pull request #9168 from electron/win-7-notifications
...
Upgrade brightray for Windows 7 notifications
2017-04-12 13:26:40 -07:00
Kevin Sawicki
4f26424ace
Upgrade brightray for Windows 7 notifications
2017-04-12 13:01:52 -07:00
Kevin Sawicki
1c44bcf654
Merge pull request #8786 from electron/per-monitor-dpi-aware
...
Enable per-monitor DPI for Win10
2017-04-12 12:27:41 -07:00
Heilig Benedek
ff8f439afd
add ability to set high memory usage, skipping the second round of GC callbacks
2017-04-12 15:51:28 +02:00
Ryohei Ikegami
b19c5154ca
Fix cpplint errors
2017-04-12 12:25:56 +09:00
Ryohei Ikegami
b07c3adca9
Fix comment for ChildWebContentsTracker
2017-04-12 12:20:53 +09:00
Ryohei Ikegami
c77e07bc15
Fix afterEach
2017-04-12 11:55:41 +09:00
Kevin Sawicki
efa28503a7
Merge pull request #9148 from electron/share-render-frame-observer-with-sandbox
...
Refactor: Share AtomRenderFrameObserver with AtomSandboxedRendererClient
2017-04-11 10:02:12 -07:00
Kevin Sawicki
964b210ce0
Merge pull request #9133 from electron/app-exit-failure
...
Fix app.exit() not closing all windows
2017-04-11 09:49:54 -07:00
Kevin Sawicki
e7b679ead6
Add IsEmpty helper and remove GetInstance public usage
2017-04-11 09:09:17 -07:00
Kevin Sawicki
da5d7d72b0
Add GetWindows helper that returns a vector
2017-04-11 09:09:17 -07:00
Kevin Sawicki
0883a9f966
Use CloseAllWindows helper
2017-04-11 09:09:17 -07:00
Kevin Sawicki
8311aa667c
Add DestroyAllWindows helper that uses vector copy
2017-04-11 09:09:17 -07:00
Kevin Sawicki
bfb9388191
Add failing spec for app.exit with >2 windows
2017-04-11 09:09:17 -07:00
Kevin Sawicki
a30cf30e93
Merge pull request #9134 from electron/scroll-bounce-fix
...
Always set NSScrollViewRubberbanding scroll bounce pref
2017-04-11 09:08:30 -07:00
Kevin Sawicki
b2761ab7dc
Merge pull request #9157 from electron/cifratila/remove-unused-dll
...
#9128 : Removed unused dll from distribution.
2017-04-11 08:52:20 -07:00
Kevin Sawicki
29c68182df
Always set NSScrollViewRubberbanding scroll bounce pref
2017-04-11 08:42:41 -07:00
Cheng Zhao
c59ef0efc5
Enable per-monitor DPI
2017-04-11 15:17:15 +09:00
Cheng Zhao
8f7bd436f0
Merge pull request #279 from electron/win7_notifications
...
Windows 7 notifications
2017-04-11 15:06:26 +09:00
Kevin Sawicki
e2a00e423c
Merge pull request #9104 from electron/fix-crash-reporter-test
...
Fix sandboxed crashReporter for windows
2017-04-10 15:38:12 -07:00
Kevin Sawicki
f3072e3b2d
Merge pull request #9158 from mcizol/patch-1
...
add electron slack channel for turkish community
2017-04-10 15:37:17 -07:00
Mustafa
2c6ef95923
add electron slack channel for turkish community
2017-04-10 18:41:52 +02:00
Kevin Sawicki
0caa35d33c
Merge pull request #9155 from Hum4n01d/master
...
Add information about dragging not working with Dev tools open
2017-04-10 08:18:09 -07:00
Kevin Sawicki
676f02e001
Tweak GitHub spelling
2017-04-10 08:17:55 -07:00
Kevin Sawicki
3ec7900e6e
Merge pull request #9154 from miniak/fix-api-docs
...
Fix api docs
2017-04-10 08:16:54 -07:00
Kevin Sawicki
cfb4010415
Merge pull request #9151 from mcizol/master
...
add turkish translation files
2017-04-10 08:16:20 -07:00
Kevin Sawicki
53884580cc
Merge pull request #9149 from electron/link-session-docs
...
Link session properties to class docs
2017-04-10 08:15:29 -07:00
Kevin Sawicki
2933eef07e
Merge pull request #9144 from electron/wait-util-server-closes
...
Wait until server closes in afterEach in net spec
2017-04-10 08:14:42 -07:00
Kevin Sawicki
575ece69e2
Merge pull request #9137 from runinspring/patch-3
...
add some document
2017-04-10 08:14:13 -07:00
Kevin Sawicki
ef7dbf8b51
Merge pull request #9136 from runinspring/patch-2
...
Update README.md
2017-04-10 08:13:47 -07:00
Catalin Fratila
d3953f7280
#9128 : Removed unused dll from distribution.
2017-04-10 16:41:16 +02:00
Hum4n01d
0ce983363b
Add information about dragging not working with Dev tools open
2017-04-09 23:05:56 -07:00
Milan Burda
fa0de5c2b4
Define filter argument type for WebRequest methods
2017-04-10 02:18:36 +02:00
Mustafa C. Izol
475620119e
add turkish translation link to readme
2017-04-10 02:12:53 +02:00
Milan Burda
8f46137fda
Fix session.setPermissionRequestHandler webContents argument type
2017-04-10 02:12:15 +02:00
Mustafa C. Izol
613c835eec
add turkish readme file
2017-04-10 02:10:52 +02:00
Mustafa C. Izol
34beb52edb
fix link to electron faq
2017-04-10 01:23:14 +02:00
Mustafa C. Izol
6a729f90e5
add translation files for application-distrubution and supported platforms
2017-04-10 00:47:00 +02:00
Kevin Sawicki
b7b7f28c5a
Link properties to class docs
2017-04-08 18:50:55 -07:00
Thiago de Arruda
039aaba758
Move AtomRenderFrameObserver creation to RendererClientBase.
...
Also remove AtomSandboxedRenderFrameObserver class.
2017-04-08 11:54:58 -03:00
Thiago de Arruda
72781e38c8
Change AtomRenderFrameObserver.renderer_client_ type to RendererClientBase.
2017-04-08 11:27:19 -03:00
Thiago de Arruda
ef07e25f9d
Make SetupMainWorldOverrides/isolated_world pure virtual.
...
Also implement stubs in AtomSandboxedRendererClient.
2017-04-08 11:12:18 -03:00
Thiago de Arruda
f751335bf9
Make DidCreateScriptContext/WillReleaseScriptContext pure virtual.
2017-04-08 10:58:13 -03:00
Thiago de Arruda
0227254774
Move DidClearWindowObject into RendererClientBase.
...
Also adapt AtomSandboxedRenderFrameObserver to forward DidClearWindowObject to
RendererClientBase.
2017-04-08 10:43:19 -03:00
Thiago de Arruda
91ee0ea740
Move AtomRenderFrameObserver into a separate module.
...
Also move SetupMainWorldOverrides into the AtomRendererClient class(since the
code there is specific to AtomRendererClient).
2017-04-08 10:29:05 -03:00
Kevin Sawicki
e2e9e8ae24
Wait until server closes in afterEach
2017-04-07 16:42:01 -07:00
Electron Bot
a2d6c231e0
Update to Electron v1.6.6
2017-04-07 13:04:07 -07:00
Kevin Sawicki
8a324a9375
Bump v1.6.6
2017-04-07 09:01:28 -07:00
ZhangYu
b6481fde14
Create upload-raw-data.md
2017-04-07 10:48:07 +08:00
ZhangYu
ca584fcaf9
Create upload-file.md
2017-04-07 10:47:52 +08:00
ZhangYu
6089456c84
Create upload-file-system.md
2017-04-07 10:47:37 +08:00
ZhangYu
05d59185b2
Create upload-data.md
2017-04-07 10:47:23 +08:00
ZhangYu
6b44692b0d
Create upload-blob.md
2017-04-07 10:47:09 +08:00
ZhangYu
3ba8a7516a
Create thumbar-button.md
2017-04-07 10:46:53 +08:00
ZhangYu
a584785254
Create task.md
2017-04-07 10:46:34 +08:00
ZhangYu
39111b9e34
Create size.md
2017-04-07 10:46:19 +08:00
ZhangYu
e8f030af15
Create shortcut-details.md
2017-04-07 10:46:04 +08:00
ZhangYu
3475387d9c
Create segmented-control-segment.md
2017-04-07 10:45:50 +08:00
ZhangYu
826932199b
Create scrubber-item.md
2017-04-07 10:45:36 +08:00
ZhangYu
bffec5e68e
Create remove-password.md
2017-04-07 10:45:19 +08:00
ZhangYu
6e36ec7770
Create remove-client-certificate.md
2017-04-07 10:45:00 +08:00
ZhangYu
7a552da192
Create rectangle.md
2017-04-07 10:44:41 +08:00
ZhangYu
30fe4a6f2b
Create point.md
2017-04-07 10:44:26 +08:00
ZhangYu
b117f14c2a
Create mime-typed-buffer.md
2017-04-07 10:44:09 +08:00
ZhangYu
32ee0f05e3
Create memory-usage-details.md
2017-04-07 10:43:51 +08:00
ZhangYu
aa37030211
Create jump-list-item.md
2017-04-07 10:43:05 +08:00
ZhangYu
913644504c
Create jump-list-category.md
2017-04-07 10:42:39 +08:00
ZhangYu
1fb0a5f0da
Create file-filter.md
2017-04-07 10:42:04 +08:00
ZhangYu
27a45009b3
Create display.md
2017-04-07 10:40:47 +08:00
ZhangYu
e811f809b5
Create desktop-capturer-source.md
2017-04-07 10:36:50 +08:00
ZhangYu
6a4e7225e2
Create crash-report.md
2017-04-07 10:25:22 +08:00
ZhangYu
9e33f2efeb
Create cookie.md
2017-04-07 10:24:11 +08:00
ZhangYu
5986d36059
Create certificate.md
2017-04-07 10:16:32 +08:00
ZhangYu
202b8e40c4
Create certificate-principal.md
2017-04-07 10:14:51 +08:00
ZhangYu
a6f5c35fa6
Create bluetooth-device.md
2017-04-07 10:10:12 +08:00
ZhangYu
ad0a22af23
Update README.md
2017-04-07 10:03:21 +08:00
Kevin Sawicki
e3407bb99e
Merge pull request #9132 from electron/fork-eval-node-fix
...
Cherry pick node fix for ChildProcess.fork --eval bug
2017-04-06 13:17:13 -07:00
Kevin Sawicki
588f699d56
🎨
2017-04-06 09:52:52 -07:00
Kevin Sawicki
c3798be9b8
Upgrade node for fork --eval cherry pick fix
2017-04-06 09:48:36 -07:00
Kevin Sawicki
7f28b7a151
Add failing spec for fork --eval message bug
2017-04-06 09:48:34 -07:00
Kevin Sawicki
4ec7cc913d
Merge pull request #9117 from electron/fix_debug_checks
...
Fixed a couple of failing debug checks when calling Chromium APIs
2017-04-06 08:48:15 -07:00
Kevin Sawicki
b11afc8591
Merge pull request #9129 from runinspring/patch-1
...
Update accelerator.md
2017-04-06 08:47:21 -07:00
Kevin Sawicki
7ea1253aae
Merge pull request #9126 from runinspring/master
...
Update menu.md and menu-item.md
2017-04-06 08:46:55 -07:00
Kevin Sawicki
931290bc59
Merge pull request #9125 from electron/fix-chrome-upgrade-link
...
Fix link to the Upgrading Chrome doc
2017-04-06 08:46:25 -07:00
Kevin Sawicki
11abdb6378
Merge pull request #9124 from TasukuUno/fix-docs
...
Fix document of MimeTypedBuffer Object
2017-04-06 08:45:48 -07:00
ZhangYu
a7d9230497
Update accelerator.md
2017-04-06 17:29:06 +08:00
ZhangYu
c305517957
Update menu-item.md
2017-04-06 15:06:46 +08:00
ZhangYu
0eed821788
Update menu.md
2017-04-06 15:06:02 +08:00
Vadim Macagon
95e782d26c
Fix link to the Upgrading Chrome doc
2017-04-06 16:04:19 +10:00
Ryohei Ikegami
34ed1a9ef8
Track child web contents
2017-04-06 12:15:27 +09:00
Ryohei Ikegami
659722924d
Don't show BrowserWindow in test
2017-04-06 11:44:20 +09:00
Ryohei Ikegami
349ea3a15a
Add test for native addon after reload
2017-04-06 11:43:57 +09:00
Tasuku Uno
59fe7d3dbb
📝 Fix document of MimeTypedBuffer Object
...
[ci skip]
2017-04-06 11:38:59 +09:00
Ryohei Ikegami
526086d900
Improve RootWebContentsTracker
2017-04-06 11:37:21 +09:00
Kevin Sawicki
d857b71557
Merge pull request #9111 from electron/deliver-ipc-messages-to-handlers
...
Fix printing on Windows
2017-04-05 16:27:58 -07:00
Thiago de Arruda
ce1a5e3c9c
Fix sandboxed crashReporter for windows.
...
- Use `path` module from browser process in sandboxed renderer. This is required
because the return value of `path.join` is platform-specific, and this is an
assumtion of crash-reporter.js which is shared between sandboxed and
non-sandboxed renderers.
- Set `process.platform` and `process.execPath` in sandboxed renderer
environment. This is required to spawn the windows crash service from
sandboxed renderer.
- Use a single temporary directory for all crashReporter tests. This is required
to make tests more deterministic across platforms(since mac's crashpad doesn't
support changing the crash dump directory). Also make a few improvements/fixes
to the `uploadToServer` test.
2017-04-05 18:09:24 -03:00
Electron Bot
bf22f50aeb
Update to Electron v1.4.16
2017-04-05 10:34:16 -07:00
Ales Pergl
73e3fd01eb
Fixed a couple of failing debug checks when calling Chromium APIs
2017-04-05 14:45:46 +02:00
Ales Pergl
fbe3b27409
Addressed review feedback
2017-04-05 14:30:17 +02:00
Ales Pergl
f73233ee55
Changed local variable and parameter names to snake case style
2017-04-05 14:30:17 +02:00
Ales Pergl
ba03c544f3
Address cpplint issue ""public:" should be preceded by a blank line [whitespace/blank_line] [3]"
2017-04-05 14:30:17 +02:00
Ales Pergl
3336e02769
Address cpplint issue "Constructors callable with one argument should be marked explicit. [runtime/explicit] [5]"
2017-04-05 14:30:17 +02:00
Ales Pergl
1a7d9a5d20
Address cpplint issue "At least two spaces is best between code and comments [whitespace/comments] [2]"
2017-04-05 14:30:17 +02:00
Ales Pergl
bf86718d61
Address cpplint issue "DISALLOW_COPY_AND_ASSIGN should be the last thing in the class [readability/constructors] [3]"
2017-04-05 14:30:16 +02:00
Ales Pergl
161b4e752b
Address cpplint issue "public: should be indented +1 space inside class NotificationPresenterWin7 [whitespace/indent] [3]"
2017-04-05 14:30:16 +02:00
Ales Pergl
9d75e9f54c
Address cpplint issue "Namespace should be terminated with "// namespace brightray" [readability/namespace] [5]"
2017-04-05 14:30:16 +02:00
Ales Pergl
64bf0d210e
Address cpplint issue "An else should appear on the same line as the preceding } [whitespace/newline] [4]"
2017-04-05 14:30:16 +02:00
Ales Pergl
9b7fbd4d22
Address cpplint issue "Using C-style cast. Use reinterpret_cast<BYTE*>(...) instead [readability/casting] [4]"
2017-04-05 14:30:16 +02:00
Ales Pergl
91cff2e6c7
Address cpplint issue "Missing space before ( in if( [whitespace/parens] [5]"
2017-04-05 14:30:16 +02:00
Ales Pergl
29f3332276
Address cpplint issue "{ should almost always be at the end of the previous line [whitespace/braces] [4]"
2017-04-05 14:30:16 +02:00
Ales Pergl
63eeb96e71
Address cpplint issue "Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]"
2017-04-05 14:30:16 +02:00
Ales Pergl
20d0bda538
Address cpplint issue "Found C++ system header after other header. Should be: toast.h, c system, c++ system, other. [build/include_order] [4]"
2017-04-05 14:30:16 +02:00
Ales Pergl
33b4936a68
Address cpplint issue "Include the directory when naming .h files [build/include] [4]"
2017-04-05 14:30:15 +02:00
Ales Pergl
0bba5b9b41
Address cpplint issue "Lines should be <= 80 characters long [whitespace/line_length] [2]"
2017-04-05 14:30:15 +02:00
Ales Pergl
392d606848
Changed member variable naming style to snake case
2017-04-05 14:30:15 +02:00
Ales Pergl
0fa6c82b3f
Use NotificationPresenterWin7 on Windows 7
2017-04-05 14:30:15 +02:00
Ales Pergl
fe05b66a6c
Added desktop notifications implementation for Windows 7 (and earlier)
2017-04-05 14:30:15 +02:00
Ales Pergl
e6a30388da
Make Notification factory function a member of NotificationPresenter so that we can create different types of notifications based on runtime conditions.
2017-04-05 14:30:15 +02:00
Ryohei Ikegami
b683584859
Add better comments to ShouldCreateNewSiteInstance
2017-04-05 18:16:10 +09:00
Ryohei Ikegami
cbdd52e43b
Always create new SiteInstance on root WebContents
2017-04-05 17:51:17 +09:00
Ryohei Ikegami
90852c665d
Pass RenderFrameHost to ShouldCreateNewSiteInstance
2017-04-05 13:47:02 +09:00
Kevin Sawicki
b27b1c3b24
Append printed page to job
2017-04-04 20:47:05 -07:00
Kevin Sawicki
aa75e4562e
Restore delivering IPC messages to utility handlers
2017-04-04 20:40:57 -07:00
Kevin Sawicki
7574c33ef1
Merge pull request #9028 from electron/fix-popover-items-not-updating
...
Fix popover items not updating
2017-04-04 14:09:59 -07:00
Kevin Sawicki
6a22c6645e
Guard against missing popover identifier
2017-04-04 13:51:39 -07:00
Kevin Sawicki
9c73c991d7
Use const references for params
2017-04-04 13:51:39 -07:00
Samuel Attard
bea56bbdc8
Update as per feedback
2017-04-04 13:51:38 -07:00
Samuel Attard
2fd62d090a
Allow items to be assigned to multiple popovers
2017-04-04 13:51:33 -07:00
Samuel Attard
f05dfc74da
Store parent popover in popover touch bar items
2017-04-04 13:51:13 -07:00
Kevin Sawicki
8c8b737fa2
Merge pull request #9023 from electron/touchbar-set-escape-button
...
TouchBar - Method to set escape button
2017-04-04 13:35:55 -07:00
Kevin Sawicki
74a3a34caa
Add spec for interaction event with escape item
2017-04-04 13:14:56 -07:00
Kevin Sawicki
bbadeb62ac
Check that escape item is non-null before checking id
2017-04-04 13:12:29 -07:00
Kevin Sawicki
414540bfcb
Support passing escape item to TouchBar constructor
2017-04-04 12:50:41 -07:00
Kevin Sawicki
b24b4212c5
Make escape item a property instead of setter
2017-04-04 12:50:41 -07:00
Kevin Sawicki
21c1ddffb3
Handle change and interaction events on escape items
2017-04-04 12:50:41 -07:00
Kevin Sawicki
591cd8d073
Update window via listener when escape item changes
2017-04-04 12:50:41 -07:00
Kevin Sawicki
0501a20fe6
Clear escape item
2017-04-04 12:50:41 -07:00
Kevin Sawicki
6eacec7dc3
replaceEscapeItem -> setEscapeItem
2017-04-04 12:50:41 -07:00
Kevin Sawicki
7f8e490839
Take const reference
2017-04-04 12:50:41 -07:00
Kevin Sawicki
d596d85288
🎨
2017-04-04 12:50:41 -07:00
Kevin Sawicki
df0f468dea
Add escapeKeyReplacementItemIdentifier forward declaration
2017-04-04 12:50:41 -07:00
Samuel Attard
60cc862031
Make everything pointer like
2017-04-04 12:50:41 -07:00
Samuel Attard
2ba937289c
Add smoke test for escape replacement
2017-04-04 12:50:41 -07:00
Samuel Attard
4d6b0fc01b
Add a method to set the escape identifier on the touch bar
2017-04-04 12:50:41 -07:00
Kevin Sawicki
3c1a372157
Merge pull request #9101 from electron/wrap-remote-set-as-args
...
Support calling remote setters with remote objects
2017-04-04 12:50:15 -07:00
Kevin Sawicki
fdd36334e5
Match args style of other IPC handlers
2017-04-04 11:18:16 -07:00
Kevin Sawicki
746f636016
Add tests for setting remote property null/undefined
2017-04-04 11:18:16 -07:00
Kevin Sawicki
7065123266
Wrap remote value being set as an arg
2017-04-04 11:18:16 -07:00
Kevin Sawicki
e5f70f90a4
Add spec for remote setter with remote object
2017-04-04 11:18:16 -07:00
Kevin Sawicki
3e9014c371
Merge pull request #9099 from electron/certificate-trust
...
macOS: Add certificate trust API
2017-04-04 11:17:09 -07:00
Kevin Sawicki
2bd47eb672
Add specs for showCertificateTrustDialog option errors
2017-04-04 10:49:21 -07:00
Kevin Sawicki
2e32525e8f
Make browser window optional
2017-04-04 10:49:10 -07:00
joshaber
2749ded062
Fix c&p error
2017-04-04 11:45:27 -04:00
Kevin Sawicki
af40a60937
Merge pull request #9072 from p-jackson/patch-1
...
Document passing null to Menu.setApplicationMenu
2017-04-04 08:42:08 -07:00
Kevin Sawicki
f64d82cf16
Merge pull request #9105 from miniak/fix-api-docs
...
Use point / size / rectangle structures consistently in API docs
2017-04-04 08:41:34 -07:00
joshaber
736d6afe73
As you wish linter
2017-04-04 09:23:30 -04:00
joshaber
146e1ed3ce
Don't pass the result through
...
It's meaningless on macOS, at least.
2017-04-04 09:21:15 -04:00
joshaber
0cab8a3322
Put CertFromData in an anon namespace
2017-04-04 09:19:23 -04:00
Ryohei Ikegami
61fa8693d2
Merge branch 'master' into native-window-open
2017-04-04 20:54:37 +09:00
Ryohei Ikegami
e7b9b4b1a5
Always create new site instance
2017-04-04 20:54:10 +09:00
Ryohei Ikegami
051e133ce3
Add test for opeing HTML file
2017-04-04 19:05:13 +09:00
Milan Burda
568454525d
Use point / size / rectangle structures consistently in API docs
2017-04-04 08:31:09 +02:00
Philip Jackson
6169ccd1e2
📝 Document that setApplicationMenu(null) has no effect on macOS
2017-04-04 18:00:20 +12:00
Ryohei Ikegami
3eab5df4a4
Revert "Reuse site instance only on window.open"
...
This reverts commit 4d61d071b2 .
2017-04-04 13:48:17 +09:00
Cheng Zhao
7265a0c1b4
Merge pull request #8528 from Anatzum/patch-1
...
Use kioclient for MoveItemToTrash on KDE
2017-04-04 12:15:21 +09:00
joshaber
8d465234e4
Appease our linty overlords
2017-04-03 21:40:46 -04:00
joshaber
e2bda3ca0f
Use an options object for most of the params
2017-04-03 21:33:21 -04:00
joshaber
2badfbe04f
Remove the intermediate function
2017-04-03 21:22:37 -04:00
joshaber
b3e865a478
Fix some style things
2017-04-03 21:22:14 -04:00
joshaber
398132cfe3
Fix file sorting
2017-04-03 21:19:00 -04:00
Ryohei Ikegami
24fedb2e20
No extra linebreak
2017-04-04 09:40:38 +09:00
Ryohei Ikegami
4a7eec8f2d
Pass app path as command line argument
2017-04-04 09:36:01 +09:00
Ryohei Ikegami
9cb6bc098d
Use beforeEach/afterEach
2017-04-04 09:08:27 +09:00
Kevin Sawicki
7860ea0227
Merge pull request #9097 from electron/handle-setter-errors
...
Surface errors setting remote properties
2017-04-03 13:30:39 -07:00
joshaber
370cf815d9
Get rid of intermediates and rehydrate from issuerCert
2017-04-03 16:27:53 -04:00
joshaber
74c0cbddae
Linebreak to keep the linter happy
2017-04-03 16:07:02 -04:00
joshaber
b8ff4666c8
Remove stale includes
2017-04-03 15:48:47 -04:00
joshaber
da1b0aab3e
Flesh out some docs
2017-04-03 15:39:45 -04:00
joshaber
b0ef7ddf44
Use better iteration
2017-04-03 15:28:51 -04:00
joshaber
06643e525a
Const ref that message
2017-04-03 15:28:44 -04:00
joshaber
11f5c942ce
Conditionalize
2017-04-03 15:25:09 -04:00
joshaber
0b7ffd094a
Expose through the actual JS API too
2017-04-03 15:25:06 -04:00
Kevin Sawicki
e85e483c71
Parse setting response to surface thrown errors
2017-04-03 12:16:51 -07:00
Kevin Sawicki
f49e748020
Merge pull request #9096 from electron/upgrade-brightray-for-cpp-cleanup
...
Upgrade brightray to latest
2017-04-03 12:16:10 -07:00
joshaber
bcecba20e6
Fix indentation
2017-04-03 15:09:24 -04:00
joshaber
4ffaf2cd99
Remove old unnecssary change on app
2017-04-03 15:09:04 -04:00
joshaber
6e89cb9d7c
Move it into dialog
2017-04-03 15:05:24 -04:00
joshaber
4bbbcd093b
Handle the callback and cleanup properly
2017-04-03 14:01:48 -04:00
joshaber
1ed443ea29
Do the callback & release dance
2017-04-03 13:21:44 -04:00
Kevin Sawicki
257f6b142f
Add spec for remote setter not surfacing error
2017-04-03 09:10:46 -07:00
Kevin Sawicki
0989fd7a1c
Upgrade brightray to latest
2017-04-03 08:32:16 -07:00
Kevin Sawicki
f5a75c4e87
Merge pull request #9076 from electron/cleanup-cpp
...
Cleanup cpp codebase
2017-04-03 08:30:08 -07:00
Kevin Sawicki
0981807261
Merge pull request #287 from electron/no-anonymous-ns-in-header
...
Don't use anonymous namespace in header file.
2017-04-03 08:27:51 -07:00
Kevin Sawicki
7dce066854
Merge pull request #286 from electron/cleanup-cpp
...
Cleanup codebase
2017-04-03 08:26:32 -07:00
Kevin Sawicki
2f692c1002
Merge pull request #9084 from runinspring/patch-1
...
Update web-contents.md
2017-04-03 08:20:06 -07:00
Ryohei Ikegami
001d03c859
Do not add search paths in devtools
2017-04-03 22:40:36 +09:00
Ryohei Ikegami
d1212d4a43
Fix JS style
2017-04-03 20:23:36 +09:00
Ryohei Ikegami
50c99e4507
Search for module under the app directory
2017-04-03 20:19:10 +09:00
Ryohei Ikegami
673f4f4d0c
Add test for require to search under app dir
2017-04-03 20:11:19 +09:00
Haojian Wu
34a91434aa
Remove extra spaces.
2017-04-01 22:01:29 +02:00
ZhangYu
671bcf2161
Update web-contents.md
2017-04-02 00:41:36 +08:00
Haojian Wu
e80a9bbb93
Move title_ to InspectableWebContentsViewVies to get rid of cast.
2017-04-01 15:10:52 +02:00
Haojian Wu
f09e3f3835
Remove extra blank.
2017-04-01 15:09:53 +02:00
Haojian Wu
ee1f3acf7b
Don't use anonymous namespace in header file.
...
Anonymous namespace should be forbidden in header files even for the
forward declarations:
* As declarations defined in anonymous namespace are internal linkage, each
translation unit which includes this header will get unique copy, which
wastes space.
* It is easy to violate C++ ODR rule.
Consider the following "foo.h":
```cpp
namespace { class Foo; }
class Bar {
public:
Foo* getFoo();
Foo* foo;
}
```
If the 'foo.h' is included in multiple `.cc` files, the compiler will
put `Foo` into a different anonymous namespace in each `.cc`, which
means there are different definitions of `Foo` in the program (a
violation of the ODR).
2017-04-01 08:57:34 +02:00
Zeke Sikelianos
c2230ca76a
generate electron.d.ts during dist creation, not during build
2017-03-31 21:35:58 -07:00
Zeke Sikelianos
c00bac5c0b
add a convenience script for manually generating API JSON
2017-03-31 21:09:23 -07:00
Zeke Sikelianos
9a10486514
generate and upload electron.d.ts with each release
2017-03-31 21:01:55 -07:00
joshaber
ee7389bb6d
Rename to make VS happy
2017-03-31 22:57:56 -04:00
joshaber
4f3d3557cc
Notify that the cert changed
2017-03-31 21:51:29 -04:00
Zeke Sikelianos
a686237d9b
Merge pull request #9080 from electron/fixup-docs-5
...
Add missing finalUpdate prop
2017-03-31 18:29:16 -07:00
joshaber
bde2a597f3
Decode all the intermediates
2017-03-31 21:27:49 -04:00
joshaber
69defc5166
Encode all the intermediates
2017-03-31 21:27:33 -04:00
Samuel Attard
f757912f90
Add missing finalUpdate prop
2017-04-01 12:11:34 +11:00
Kevin Sawicki
372f209363
Merge pull request #9079 from electron/fix-dialog-args
...
Move normalizeAccessKeys docs to showMessageBox method
2017-03-31 16:35:31 -07:00
Kevin Sawicki
6d516fbae3
Move normalizeAccessKeys docs to right method
2017-03-31 15:08:03 -07:00
Electron Bot
361dc1faff
Update to Electron v1.6.5
2017-03-31 13:32:08 -07:00
Haojian Wu
f506047a9b
Remove an extra blank line.
2017-03-31 21:56:19 +02:00
joshaber
302ca8669d
Slightly better conversion
2017-03-31 15:44:47 -04:00
Kevin Sawicki
a724b6555f
Bump v1.6.5
2017-03-31 12:10:09 -07:00
Kevin Sawicki
0faa15c6ca
Merge pull request #9074 from electron/tabbing-mode-version-guard
...
Only define NSWindowTabbingModeDisallowed on pre-10.12 SDKs
2017-03-31 12:09:54 -07:00
Haojian Wu
22035e2d6d
Fix cpplint: at least two spaces between code and comments.
2017-03-31 20:59:27 +02:00
Kevin Sawicki
08db63c3cc
Only define NSWindowTabbingModeDisallowed on pre-10.12
2017-03-31 11:28:55 -07:00
Kevin Sawicki
8a01ebef63
Merge pull request #9053 from electron/enable-crash-reporter-upload-windows
...
Pass `uploadToServer` option to windows crash reporter
2017-03-31 11:28:35 -07:00
joshaber
141a5ad73f
Maybe this is a valid conversion?
2017-03-31 14:16:26 -04:00
Haojian Wu
8ae91682cb
Lines should be <= 80 characters.
2017-03-31 20:09:13 +02:00
joshaber
16cc79354c
Errrrybody's a scoped_refptr now
2017-03-31 13:53:42 -04:00
joshaber
deae70de4d
Dummy out the certificate FromV8 converter
2017-03-31 13:53:31 -04:00
Kevin Sawicki
d677a436ec
🎨
2017-03-31 10:42:43 -07:00
Thiago de Arruda
460fb9cdb9
Add tests for uploadToServer option.
2017-03-31 13:48:07 -03:00
Thiago de Arruda
f0d447cd68
Pass uploadToServer to windows crash reporter
2017-03-31 13:46:30 -03:00
Philip Jackson
1c80102218
📝 Document passing null to Menu.setApplicationMenu
...
[ci skip]
2017-03-31 16:42:03 +13:00
Kevin Sawicki
96407d9c17
Merge pull request #9057 from electron/upgrade-libcc-for-ffmpeg-linking-fix
...
Upgrade libcc for ffmpeg linking fix
2017-03-30 15:15:32 -07:00
Kevin Sawicki
39fdc26921
Time out after 5 minutes
2017-03-30 14:39:48 -07:00
Kevin Sawicki
c85d667e66
Upgrade libcc to latest master
2017-03-30 14:37:19 -07:00
Kevin Sawicki
90d0179fe9
Use correct dll name
2017-03-30 14:36:52 -07:00
Kevin Sawicki
b85ebb00aa
Tweak logged messages
2017-03-30 14:36:52 -07:00
Kevin Sawicki
7873130019
Add comment to codecs app script
2017-03-30 14:36:52 -07:00
Kevin Sawicki
6b8f840da0
Add script to verify ffmpeg without proprietary codecs
2017-03-30 14:36:52 -07:00
Kevin Sawicki
740de02d6c
builds -> Support
2017-03-30 14:36:52 -07:00
Kevin Sawicki
5b4f715d2e
Add test page to check for proprietary codecs
2017-03-30 14:36:52 -07:00
Kevin Sawicki
c8951d0d4d
Upgrade libcc for ffmpeg linking fix
2017-03-30 14:36:52 -07:00
Kevin Sawicki
76529b5065
Merge pull request #9067 from electron/check-name-param-directly
...
Check name directly instead of arguments length
2017-03-30 14:35:56 -07:00
joshaber
edf61d41ba
Link against the Security frameworks
2017-03-30 17:26:11 -04:00
joshaber
7b044ffe0e
Compile these lovely files
2017-03-30 17:26:03 -04:00
joshaber
653b2d15c3
Expose the certificate trust panel as part of app
2017-03-30 17:25:55 -04:00
joshaber
64369cd07f
Show a certificate trust panel
2017-03-30 17:25:44 -04:00
Haojian Wu
328cf4789b
Should override the virtual destructor.
2017-03-30 23:19:43 +02:00
Haojian Wu
e8abee9ca9
Replace C-style casts with static_cast.
2017-03-30 23:05:47 +02:00
Kevin Sawicki
fcb7cbc54a
Check name directly instead of arguments length
2017-03-30 14:03:00 -07:00
Kevin Sawicki
a2588c1fd9
Merge pull request #9052 from tonyganch/native_tabs
...
Native tabs on macOS
2017-03-30 14:02:19 -07:00
Haojian Wu
ff745e1a82
Use prefix increment in for loops.
2017-03-30 22:56:21 +02:00
Haojian Wu
8d8c7ce6ad
Correct type cast.
2017-03-30 22:53:20 +02:00
Kevin Sawicki
6f27d466a5
Move tabbingIdentifier out of webPreferences list
2017-03-30 13:49:00 -07:00
Kevin Sawicki
42300ae58e
Make tabbing identifier var local
2017-03-30 13:47:11 -07:00
Kevin Sawicki
e699e88b4c
Add initial tabbingIdentifier spec
2017-03-30 13:46:58 -07:00
Kevin Sawicki
c8b992fa39
Remove 10.12 check handled by respondsToSelector
2017-03-30 13:46:34 -07:00
Haojian Wu
bb51401c4c
Use base::mac::NSToCast.
2017-03-30 22:33:09 +02:00
Haojian Wu
1b9780035c
Remove redundant calls to smart pointer's get method.
2017-03-30 22:22:40 +02:00
Haojian Wu
d425b63b0d
NULL => nullptr
2017-03-30 22:12:14 +02:00
Haojian Wu
00693ba075
Replace "size()" with "empty()".
2017-03-30 21:59:18 +02:00
Haojian Wu
6ef3be23fd
Avoid copy in for range loop.
2017-03-30 21:56:28 +02:00
Haojian Wu
d18b34d55f
Replace size() method with empty() when possible.
...
There is no guaranteed that size() is a constant-time function.
2017-03-30 21:49:16 +02:00
Haojian Wu
e4c571fc68
Remove unused using namespace declaration.
2017-03-30 21:49:15 +02:00
Haojian Wu
424078cfdb
Fix namespace comments.
2017-03-30 21:49:15 +02:00
Kevin Sawicki
77994a7856
Merge pull request #9066 from electron/segment-style-enum-warnings
...
Add descriptions for each segmentStyle
2017-03-30 12:36:35 -07:00
Kevin Sawicki
4001ba038e
Add descriptions for each segmentStyle
2017-03-30 12:36:20 -07:00
Kevin Sawicki
f805bbee9b
Merge pull request #9062 from electron/stringify-headers-in-net-module
...
Fix net module to accept non-string header values
2017-03-30 12:35:53 -07:00
Zeke Sikelianos
f0e7a84627
Merge pull request #9065 from electron/roles
...
Improve docs for MenuItem Roles
2017-03-30 12:28:14 -07:00
Thiago de Arruda
b3cf00a19a
Fix net module to accept non-string header values
...
This is required to be compatible with node.js http module.
2017-03-30 16:01:40 -03:00
Kevin Sawicki
3100463117
Merge pull request #8917 from bcomnes/patch-1
...
Clarify remote require of relative modules
2017-03-30 12:00:47 -07:00
Kevin Sawicki
55bf2239df
Remove spaces around brackets
2017-03-30 11:58:09 -07:00
Zeke Sikelianos
d5bc8990fc
link to roles list from Menu doc
2017-03-30 11:08:12 -07:00
Zeke Sikelianos
b24be19fac
tighten up formatting of menu example
2017-03-30 11:07:59 -07:00
Zeke Sikelianos
d779ecf674
create a linkable heading for MenuItem roles
2017-03-30 11:07:25 -07:00
Kevin Sawicki
bdd08b8baa
Merge pull request #9054 from ColinEberhardt/patch-3
...
Some minor copy edit on sandbox documentation
2017-03-30 10:52:46 -07:00
Tony Ganch
bd935b213f
Fix compilation against macOS 10.10 SDK
2017-03-30 15:13:49 +02:00
Colin Eberhardt
bed32682b7
Clarification of the chromium sandbox support
2017-03-30 10:47:14 +01:00
Haojian Wu
5f724e57bc
Avoid unnecessary copy of parameters.
2017-03-29 22:06:07 +02:00
Kevin Sawicki
57edc28b0d
Merge pull request #8880 from mst128256/2814
...
Default menu items for 'Edit' and 'Window' #2814
2017-03-29 12:31:58 -07:00
Kevin Sawicki
8b4bf1f29e
🎨
2017-03-29 12:29:36 -07:00
Haojian Wu
99293dd57f
Fix namespace comments.
2017-03-29 20:47:41 +02:00
Tony Ganch
a7565f0d57
Enable native tabs on macOS
2017-03-29 13:51:39 +02:00
Tony Ganch
9e02c60e22
Revert "Disable Show Tab Bar menu item on macOS Sierrra"
...
This reverts commit 24b9313958 .
2017-03-29 13:50:56 +02:00
Tony Ganch
ed76e03730
Revert "Add forward declaration of NSWindow.allowsAutomaticWindowTabbing"
...
This reverts commit 770a3509cf .
2017-03-29 13:50:56 +02:00
mst128256
6ae198a625
Empty objects within default menu replaced by nulls
2017-03-29 12:50:31 +02:00
Cheng Zhao
6db827cc9a
Use GetDesktopEnvironment to determien desktop env
...
Which can get a much more precise result for us.
2017-03-29 16:21:38 +09:00
Anatzum
f9dbdf4522
Updated MoveItemToTrash in platform_util_linux.cc
...
If ELECTRON_TRASH is null, first check the DESKTOP_SESSION variable and set trash accordingly. Additional desktop environments can be added easily this way with the fallback of ELECTRON_DEFAULT_TRASH.
2017-03-29 16:08:26 +09:00
Cheng Zhao
208182d8cf
Merge pull request #9039 from electron/extract-renderer-base-class
...
Create base class to share code between sandbox and non-sandbox
2017-03-29 15:20:46 +09:00
Cheng Zhao
9ef1f8cd5d
Merge pull request #9043 from electron/fix-uv-run-crash
...
Fix crash happened in UvRunOnce
2017-03-29 13:37:07 +09:00
Kevin Sawicki
4441d557a2
Merge pull request #9007 from electron/net_redirect_patch
...
net: allow controlling redirects
2017-03-28 09:31:05 -07:00
Kevin Sawicki
03b2167f6c
Merge pull request #9001 from electron/net_source_stream_error_patch
...
net: catch source stream creation failure for content encoding
2017-03-28 09:24:18 -07:00
Kevin Sawicki
e0003021cf
Merge pull request #9041 from runinspring/master
...
Update dialog.md
2017-03-28 09:15:09 -07:00
Kevin Sawicki
d196486cb4
Merge pull request #8652 from electron/no-api-docs-generation
...
create-dist: Adding argument to supress api docs generation.
2017-03-28 08:59:46 -07:00
deepak1556
b14c4dcdc0
address review comments
2017-03-28 19:05:44 +05:30
deepak1556
8db1eacd1c
[skip ci] add docs
2017-03-28 18:46:21 +05:30
deepak1556
3ae62615f4
net: allow controlling redirects
2017-03-28 18:46:21 +05:30
Ryohei Ikegami
37c4569982
Use GetBoolean directly
2017-03-28 20:00:33 +09:00
Ryohei Ikegami
9edfbab89f
Add comment why defaultPrevented = false
2017-03-28 19:58:58 +09:00
Ryohei Ikegami
de2019f6b8
Change webContents -> options.webContents
2017-03-28 19:58:23 +09:00
Ryohei Ikegami
87565f4c84
Simplify example code
2017-03-28 19:50:45 +09:00
Ryohei Ikegami
e885e33b75
Fix choise -> choice
2017-03-28 19:50:00 +09:00
Cheng Zhao
2ef1b70897
Fix crash happened in UvRunOnce
2017-03-28 17:19:14 +09:00
Cheng Zhao
bd5c53c2f7
Merge pull request #283 from electron/devtools_shutdown_patch_revert_revert
...
Revert "Revert "close devtools web contents when available to trigger cleanup""
2017-03-27 22:46:06 -07:00
Cheng Zhao
637bdc239b
Merge pull request #8923 from electron/geolocation_request_context_patch
...
browser: Create separate request context for geolocation service.
2017-03-27 22:45:46 -07:00
ZhangYu
3004f3c762
Update dialog.md
2017-03-28 11:49:47 +08:00
Kevin Sawicki
8164ede297
Merge pull request #9037 from electron/upgrade-libcc-for-webview-drag-fix
...
Upgrade libcc for webview dnd fix
2017-03-27 17:18:17 -07:00
Thiago de Arruda
d1f08beddf
Make AtomSandboxedRendererClient a RendererClientBase subclass.
2017-03-27 18:49:55 -03:00
Thiago de Arruda
c3a8f665f2
Extract base class from AtomRendererClient
...
The new `RendererClientBase` class contains code that is not specific to node.js
integration with the renderer.
2017-03-27 18:49:55 -03:00
Kevin Sawicki
3028bffa73
Upgrade libcc for webview dnd fix
2017-03-27 14:06:00 -07:00
Kevin Sawicki
9249228ac3
Merge pull request #9034 from electron/disable-flaky-appveyor-spec
...
Disable flaky post navigation spec on AppVeyor
2017-03-27 14:05:42 -07:00
Kevin Sawicki
f24baffc79
Expect count to be 0
2017-03-27 10:21:01 -07:00
Kevin Sawicki
ad5a48d255
Merge pull request #8983 from electron/sandbox-initial-documentation
...
Add initial documentation for `sandbox` option.
2017-03-27 10:16:24 -07:00
Kevin Sawicki
870dcb9071
Remove old sandbox option in list and mark as experimental
2017-03-27 10:14:47 -07:00
Kevin Sawicki
6a2cdcf32f
Merge pull request #8956 from electron/expose-crash-reporter-to-sandbox
...
Expose crash reporter to sandbox
2017-03-27 10:09:36 -07:00
Kevin Sawicki
f979bbf9d3
Merge pull request #8897 from electron/versioning-doc
...
update versioning doc
2017-03-27 09:54:11 -07:00
Kevin Sawicki
b1275a8ef0
Merge pull request #8984 from hansenzhang/display-menuitem-label
...
Fix '&' not showing in MenuItem label
2017-03-27 09:47:50 -07:00
Kevin Sawicki
bf6d21fe08
Merge pull request #285 from electron/cpplint
...
Run cpplint on CI
2017-03-27 09:20:05 -07:00
Kevin Sawicki
9a4783bf34
Disable flaky post navigation spec on AppVeyor
2017-03-27 09:15:40 -07:00
Kevin Sawicki
2dabe8d6fa
Merge pull request #9021 from owwo/master
...
Fix translation error
2017-03-27 09:11:24 -07:00
Kevin Sawicki
fecd018a35
Merge pull request #9024 from runinspring/patch-1
...
add getFileIcon method
2017-03-27 09:11:04 -07:00
Kevin Sawicki
10dc08b39b
Merge pull request #9006 from electron/fix-thumbnailSize-doc
...
fix docs for thumbnailSize
2017-03-27 09:10:40 -07:00
ZhangYu
dccfadd2bc
add getFileIcon method
2017-03-27 11:16:05 +08:00
Zeke Sikelianos
4d29392217
Merge pull request #9014 from electron/MarshallOfSound-patch-1
...
Fix return syntax in docs
2017-03-26 19:53:33 -07:00
owwo
4e1b237649
Fix translation error
2017-03-26 18:42:07 -05:00
Samuel Attard
168c47bf10
Update web-contents.md
2017-03-25 18:27:43 +11:00
Zeke Sikelianos
79346f1ac5
Merge pull request #9012 from electron/fixup-docs-4
...
Add missing property types on the process docs
2017-03-25 00:10:09 -07:00
Samuel Attard
b62f1fd022
Add missing return type on executeJavaScript
2017-03-25 14:59:48 +11:00
Samuel Attard
a80148aa29
Add missing property types on the process docs
2017-03-25 14:51:23 +11:00
Zeke Sikelianos
d39207f83a
Merge pull request #9010 from electron/fixup-docs-3
...
Generic doc fixes
2017-03-24 20:30:53 -07:00
Samuel Attard
aa5c778ca2
Generic doc fixes
2017-03-25 12:37:07 +11:00
Hari Juturu
d95114016d
V8 dev resources ( #9008 )
...
* Adding V8 documentation links
* Removing extra space
* use electron markdown conventions
* cross-link v8 and chromium dev docs
* fix v8 link
2017-03-24 15:40:23 -07:00
Zeke Sikelianos
32f278d92b
Merge pull request #8988 from electron/chromium-dev-resources
...
document resources for tracking chromium development
2017-03-24 11:21:29 -07:00
Zeke Sikelianos
095df457b2
fix docs for thumbnailSize
2017-03-24 11:14:43 -07:00
Kevin Sawicki
21956071e6
Fix compilation issue
2017-03-24 09:52:37 -07:00
Kevin Sawicki
49ef4e326f
Initialize submodules in appveyor build
2017-03-24 09:52:27 -07:00
mst128256
6a7b4feb35
Fixed for linting
2017-03-24 12:31:49 +01:00
mst128256
9e471d8f1c
Added specs
2017-03-24 12:14:08 +01:00
Ryohei Ikegami
4e473897b7
Use ===
2017-03-24 11:08:08 +09:00
Thiago de Arruda
437f1192d9
Add initial documentation for sandbox option.
2017-03-23 21:42:25 -03:00
Kevin Sawicki
2ece711c2e
Format line length to 80 instead of 100
2017-03-23 15:47:30 -07:00
Felix Rieseberg
d5c4ad5e2c
📝 Improve notification docs
2017-03-23 14:12:35 -07:00
Kevin Sawicki
be0c0e278a
Remove cpplint errors
2017-03-23 12:48:27 -07:00
Cory Reed
a92f639b64
📝 Add note regarding dynamic addition/removal of menu items.
...
Closes #8928 .
[ci skip]
2017-03-23 11:57:44 -07:00
deepak1556
93b444eef9
net: catch source stream creation failure for content encoding
2017-03-23 23:36:05 +05:30
Kevin Sawicki
1d42073ceb
Run cpplint on CI build
2017-03-23 10:08:25 -07:00
Kevin Sawicki
31cd7a28d8
Ignore more Objective-C headers
2017-03-23 10:08:25 -07:00
Kevin Sawicki
ece7698b6a
Add .clang-format file
2017-03-23 10:08:25 -07:00
Kevin Sawicki
97ced7fb07
Move cpplint config to CPPLINT.cfg file
2017-03-23 10:08:25 -07:00
Kevin Sawicki
96de22ba5f
Use cpplint from depot_tools
2017-03-23 10:08:25 -07:00
Ryohei Ikegami
6f9dbd4e04
Merge branch 'master' into native-window-open
2017-03-24 00:11:43 +09:00
Ryohei Ikegami
deba6553f5
Better preventDefault for ELECTRON_GUEST_WINDOW_MANAGER_INTERNAL_WINDOW_OPEN
2017-03-23 23:51:33 +09:00
Thiago de Arruda
a5eef516a7
Fix indent in api-crash-reporter-spec.js
2017-03-23 10:01:02 -03:00
Thiago de Arruda
5ee6205c0a
Run the crash reporter specs with sandbox option.
...
- Create a function that accepts BrowserWindow options and generates a suite
that contains the renderer-specific tests.
- Run the function twice to execute the tests with and without sandbox option.
2017-03-23 10:01:02 -03:00
Thiago de Arruda
3a97cfc359
Expose crashReporter to sandbox
2017-03-23 10:01:02 -03:00
Thiago de Arruda
bf756e3c00
Prevent browserify from leaking the require function
...
Define a "require" argument in the wrapper functions that runs browserify
bundles, which will prevent browserify from leaking the require function.
Note that this doesn't affect the isolated renderer script, only when `-r` flag
is passed to browserify command it will export a require function. It is still
added to isolated renderer script to prevent future mistakes(doesn't hurt
defining a "require" local).
2017-03-23 10:01:02 -03:00
Thiago de Arruda
e1aebef57c
Make sandbox APIs more compatible with normal renderers
...
- Expose remote shortcuts for the `fs`, `os` and `child_process` modules.
- Expose the `url` and `timers` modules(the browserify versions)
- Add `process.crash` and `process.platform`
2017-03-23 10:01:02 -03:00
Zeke Sikelianos
360d2b45f4
document resources for tracking chromium development
2017-03-22 22:59:11 -07:00
Zeke Sikelianos
d22910f554
mention tilde
2017-03-22 16:13:24 -07:00
Electron Bot
9eb00a462b
Update to Electron v1.6.4
2017-03-22 16:06:04 -07:00
Kevin Sawicki
46aed5ff6f
Bump v1.6.4
2017-03-22 09:16:08 -07:00
Cheng Zhao
e539129db2
Merge pull request #8852 from electron/web-worker-hook
...
Add Node.js integration to WebWorker
2017-03-22 09:01:42 -07:00
Cheng Zhao
c1a478179e
Merge pull request #8971 from electron/fix-freeenvironment-crash
...
node::Environment should be destroyed before AtomBindings
2017-03-22 09:00:38 -07:00
Hansen Zhang
426563a843
#8881 - Display '&' in MenuItem label
2017-03-22 11:52:25 -04:00
deepak1556
4ab2c92418
CommonWebContentsDelegate::DestroyWebContents => ResetManagedWebContents
2017-03-22 07:30:36 +05:30
Kevin Sawicki
f7e3f9035d
Merge pull request #8974 from electron/default-popup-async-value
...
Default async to false when object is specified
2017-03-21 06:36:29 -07:00
Ryohei Ikegami
d3252e0eb1
Reuse existing event
2017-03-21 16:09:53 +09:00
Kevin Sawicki
23b235c9c7
Default async to false when object is specified
2017-03-20 20:37:52 -07:00
Ryohei Ikegami
4d61d071b2
Reuse site instance only on window.open
2017-03-21 10:41:49 +09:00
Cheng Zhao
99d3fce3c7
node::Environment should be destroyed before AtomBindings
...
The shutdown code may still uses the APIs provieded by AtomBindings.
2017-03-20 13:01:28 -07:00
Cheng Zhao
71c3e97e81
Fix docs lint warnings
2017-03-20 12:52:46 -07:00
Cheng Zhao
0287f23e3b
Fix cpplint warning
2017-03-20 12:52:46 -07:00
Cheng Zhao
40b35a991f
Fix js lint
2017-03-20 12:52:46 -07:00
Cheng Zhao
940d77b9a0
Fix typos and adjust sentences
2017-03-20 12:52:46 -07:00
Cheng Zhao
033aa16e04
test: Node integration in web workers
2017-03-20 12:52:46 -07:00
Cheng Zhao
ab83aa0bfd
docs: Multithreading
2017-03-20 12:52:46 -07:00
Cheng Zhao
a49af26e39
Add nodeIntegrationInWorker option
2017-03-20 12:52:46 -07:00
Cheng Zhao
e496e18f6e
Make Archive thread safe
2017-03-20 12:52:46 -07:00
Cheng Zhao
c068285ff8
AtomBindings should not use default uv loop
2017-03-20 12:52:46 -07:00
Cheng Zhao
9c9c8ec5f1
WebWorkerObserver should be destroyed on exit
2017-03-20 12:52:46 -07:00
Cheng Zhao
d2f185bea5
Create new uv loop in each worker
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
Cheng Zhao
bb5ad4ac05
Correctly initialize Node environment in worker
2017-03-20 12:52:45 -07:00
Cheng Zhao
b467c3939e
Add a new type of NodeBindings
2017-03-20 12:52:45 -07:00
Cheng Zhao
aac934b34e
Update native_mate: Make Wrappable thread safe
2017-03-20 12:52:45 -07:00
Cheng Zhao
2cbdb6bac3
Wrap ContextCreated with context scope
2017-03-20 12:52:45 -07:00
Cheng Zhao
e017e157ba
Insert node integrations into WebWorker
2017-03-20 12:52:45 -07:00
Kevin Sawicki
253caf35ab
Merge pull request #8955 from babanesma/feat/new-clean-command
...
Feat/new clean command
2017-03-20 10:36:19 -07:00
Kevin Sawicki
2d638e5da7
Add option to clean.py to only remove dist and out dirs
2017-03-20 10:33:04 -07:00
Kevin Sawicki
6ded27f3a9
Merge pull request #8878 from TanninOne/patch-1
...
Update browser-window.md
2017-03-20 10:14:23 -07:00
Kevin Sawicki
caae03f954
Use rendered language in both ready-to-show docs
2017-03-20 10:13:45 -07:00
Kevin Sawicki
286f529968
Merge pull request #8890 from twolfson/dev/proxy.to.string.sqwished
...
🐛 Add toString support to remote functions
2017-03-20 09:35:51 -07:00
Kevin Sawicki
75d934e4a2
Merge pull request #8962 from feserafim/patch-1
...
Update README.md
2017-03-20 09:35:09 -07:00
Ryohei Ikegami
c3c67f78c1
Improve docs on window.open
2017-03-19 20:33:22 +09:00
Ryohei Ikegami
88f062958f
Fix option doc
2017-03-19 20:21:03 +09:00
Ryohei Ikegami
3af9f572ac
Fix spec description
2017-03-19 20:10:25 +09:00
Ryohei Ikegami
2c21d3b3fa
Fix JavaScript in docs
2017-03-19 20:09:52 +09:00
Ryohei Ikegami
afdf52b053
Add docs for useNativeWindowOpen
2017-03-19 18:37:38 +09:00
Ryohei Ikegami
f3ce93f1bb
Fix C++ style
2017-03-19 18:24:05 +09:00
Ryohei Ikegami
076427673e
Fix JavaScript style
2017-03-19 18:20:10 +09:00
Ryohei Ikegami
6bbfe89f96
Add spec for useNativeWindowOpen
2017-03-19 18:11:20 +09:00
Ryohei Ikegami
319a7759d0
Fix ELECTRON_GUEST_WINDOW_MANAGER_INTERNAL_WINDOW_OPEN handler
2017-03-19 17:52:39 +09:00
Ryohei Ikegami
2c7343293a
Allow window.open on native-window-open enabled
2017-03-19 17:47:26 +09:00
Ryohei Ikegami
a1f9a45276
Use native window.open implementation
2017-03-19 17:41:20 +09:00
Ryohei Ikegami
054ba7a964
Add AtomBrowserClient::IsRendererUsesNativeWindowOpen
2017-03-19 17:25:45 +09:00
Ryohei Ikegami
f7935b429a
Add WebContentsPreferences::IsNativeWindowOpenEnabled
2017-03-19 17:12:25 +09:00
deepak1556
72adbf7a2f
destroy guest webcontents before embedder
2017-03-19 10:25:13 +05:30
Felipe Serafim
deef2da87c
Update README.md
...
Correcting some Spanish words mistakes.
2017-03-18 23:23:14 +01:00
deepak1556
99fd1394e4
Revert "Revert "close devtools web contents when available to trigger cleanup""
...
This reverts commit 7f01bf4e73c188db2406ded1286b661c61c78bba.
2017-03-19 01:25:22 +05:30
deepak1556
16f9754445
Create separate request context for geolocation service.
...
* Geolocation service cannot hold reference to browser context,
since it is destroyed at the end of everything and this will
confuse the shutdown path of browser context.
* Geolocation service run on its own thread.
2017-03-19 01:11:55 +05:30
Adham Saad
8060b0966f
🐛 #8919 - fix typo
2017-03-17 20:47:20 +02:00
Adham Saad
487a195320
🐛 #8919 - add new command to the docs
2017-03-17 20:44:18 +02:00
Kevin Sawicki
a215e8fb82
Merge pull request #8954 from electron/mark-touchbar-apis-with-experimental-label
...
Mark touch bar apis with _Experimental_ in docs
2017-03-17 11:02:46 -07:00
Kevin Sawicki
6f047fd4b7
Mark touch bar apis with _Experimental_
2017-03-17 10:56:41 -07:00
Kevin Sawicki
64984ac23b
Merge pull request #8942 from electron/read-binary-data-from-clipboard
...
Add clipboard.readBuffer(format)
2017-03-17 10:56:24 -07:00
Kevin Sawicki
f119bc0944
Remove unused args param
2017-03-17 10:35:54 -07:00
Kevin Sawicki
c50b518493
Check toString after loading remote properties
2017-03-17 10:29:07 -07:00
Kevin Sawicki
648d3324fb
Add spec for remote function with toString property
2017-03-17 10:28:23 -07:00
Kevin Sawicki
11a4c7e408
🎨
2017-03-17 09:57:17 -07:00
Kevin Sawicki
3ae034deab
Change data -> format in clipboard docs
2017-03-17 09:57:17 -07:00
Kevin Sawicki
ab05346572
Add clipboard.readBuffer
2017-03-17 09:57:17 -07:00
Kevin Sawicki
0e55e5cbb5
Add initial spec for clipboard.readBuffer
2017-03-17 09:57:17 -07:00
Kevin Sawicki
fe5db82d47
Merge pull request #8926 from electron/upgrade-libcc-for-heap-snapshot-patch
...
Upgrade libcc and brightray to latest
2017-03-17 09:55:39 -07:00
Kevin Sawicki
f71353a4c5
Merge pull request #8939 from electron/expose-remote-to-sandbox
...
Expose remote module to sandbox
2017-03-17 09:41:59 -07:00
Kevin Sawicki
9642381c02
Upgrade to libcc 44448acf
2017-03-17 09:37:28 -07:00
Kevin Sawicki
bbf477291f
Merge pull request #282 from electron/revert-278-devtools_shutdown_patch
...
Revert "close devtools web contents when available to trigger cleanup"
2017-03-17 09:37:04 -07:00
Kevin Sawicki
6b387e339b
Merge pull request #281 from electron/upgrade-libcc
...
Upgrade libcc to latest
2017-03-17 09:36:54 -07:00
Kevin Sawicki
8877d78e79
Revert "close devtools web contents when available to trigger cleanup"
2017-03-17 09:35:01 -07:00
Kevin Sawicki
a35cce5f7a
Enable takeHeapSnapshot spec
2017-03-17 09:14:17 -07:00
Kevin Sawicki
469ab8b509
Upgrade libcc for heap snapshot patch
2017-03-17 09:14:17 -07:00
Kevin Sawicki
1499ba83d9
Upgrade libcc to latest
2017-03-17 09:11:28 -07:00
Todd Wolfson
818738ce84
🐛 Add toString support to remote functions
2017-03-17 08:21:37 -07:00
Thiago de Arruda
e9b955b9ec
Use remote/fs to read preload script during sandboxed setup
...
Also expose the "fs" module to preload scripts, as a shortcut to
`require('electron').remote.require('fs')`
2017-03-16 14:23:00 -03:00
Thiago de Arruda
f6befbe764
Expose lib/renderer/api/remote.js to sandboxed renderer
2017-03-16 14:21:23 -03:00
Kevin Sawicki
6d45052eea
Merge pull request #8900 from electron/handle-buffer-instances-in-sandbox
...
Handle Buffer deserialization in sandboxed renderers
2017-03-16 10:12:09 -07:00
Kevin Sawicki
183a9d1441
Merge pull request #230 from electron-userland/no-dynamic-path-in-error
...
hardcode module path in installation error message
2017-03-16 10:11:05 -07:00
Kevin Sawicki
40bb9e71c5
Merge pull request #231 from vbez/electron_config_cache
...
Use process.env.electron_config_cache to get the released zip file from the local directory during installation of Electron.
2017-03-16 10:10:13 -07:00
Thiago de Arruda
a6e4867111
Handle Buffer deserialization in sandboxed renderers
...
In sandboxed renderers we use browserify to provide a node-like environment. The
Buffer class used by browserify is actually just a wrapper around Uint8Array,
but to deserialize Buffer correctly we must expose the class as a hidden value
and use it in V8ValueConverter.
2017-03-16 13:20:09 -03:00
Kevin Sawicki
da0d0e7aac
Merge pull request #8910 from electron/touchbar-scrubber
...
Touchbar NSScrubber
2017-03-16 09:10:59 -07:00
Adham Saad
713e256843
🐛 #8919 - add new command that cleans only out & dist dirs
2017-03-16 13:34:53 +02:00
Cheng Zhao
e0485f5ea1
Merge pull request #278 from electron/devtools_shutdown_patch
...
close devtools web contents when available to trigger cleanup
2017-03-16 17:49:57 +09:00
Kevin Sawicki
e98ac94d51
🎨
2017-03-15 11:22:31 -07:00
Kevin Sawicki
bc31f05404
highlightedStyle -> overlayStyle
2017-03-15 09:47:07 -07:00
Kevin Sawicki
f41db87e47
Use NSZeroRect for scrubber frame
2017-03-15 09:45:50 -07:00
Kevin Sawicki
466c39ed19
Use icon for consistency with other touch bar APIs
2017-03-15 09:33:11 -07:00
Kevin Sawicki
019883f2fa
Merge pull request #8899 from electron/dynamically-generate-browserify-dep-list
...
Dynamically generate dependencies of browserify build actions
2017-03-15 09:12:31 -07:00
Cheng Zhao
5200b1a1ab
Merge pull request #8435 from electron/pdf_rendering
...
browser: implement native pdf rendering
2017-03-15 18:36:50 +09:00
Kevin Sawicki
49d48a4eb0
Add more non-default options to scrubber spec
2017-03-14 14:15:04 -07:00
Kevin Sawicki
87c219748d
Document more constructor options
2017-03-14 14:12:41 -07:00
Kevin Sawicki
2e0e4e69bb
Drop on prefix from property names
2017-03-14 14:02:48 -07:00
Kevin Sawicki
6175ee05e2
Remove unneeded long cast
2017-03-14 13:59:29 -07:00
Kevin Sawicki
8b7675baee
Add more forward declarations for scrubber APIs
2017-03-14 13:57:39 -07:00
Kevin Sawicki
eeccdf967c
Merge pull request #8924 from electron/update-appveyor-badge
...
Update AppVeyor badge URL
2017-03-14 13:18:04 -07:00
Electron Bot
43cccff957
Update to Electron v1.3.14
2017-03-14 11:47:48 -07:00
Bret Comnes
b67c81226c
fix linting
2017-03-14 10:48:44 -07:00
Kevin Sawicki
069baf8cd8
Update AppVeyor badge URL
2017-03-14 10:13:53 -07:00
Kevin Sawicki
1c9b0c57ff
Update AppVeyor badge URL
2017-03-14 10:10:46 -07:00
deepak1556
07c4f3563e
close devtools web contents when available to trigger cleanup
2017-03-14 22:23:08 +05:30
Samuel Attard
a55cddaa53
Add more options
2017-03-14 18:57:57 +11:00
Bret Comnes
85c48a2336
make main process example shorter
2017-03-13 17:20:11 -07:00
Bret Comnes
2276357f72
update with a tree
2017-03-13 17:18:23 -07:00
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
deepak1556
15e2b2335f
address review comments
2017-03-14 00:26:27 +05:30
deepak1556
80ce60f644
spec: check if pdf has loaded
2017-03-14 00:26:27 +05:30
deepak1556
6e02d18a40
update submodules
2017-03-14 00:26:27 +05:30
deepak1556
6be779c777
update spec with new asset
2017-03-14 00:26:27 +05:30
deepak1556
d022d108a3
Dont intercept pdf request for subframes
...
Will not work without OOPIF support
2017-03-14 00:26:27 +05:30
deepak1556
4381e0895f
propagate zoom changes to pdf plugin
2017-03-14 00:26:27 +05:30
deepak1556
eda413861a
update spec
2017-03-14 00:26:27 +05:30
deepak1556
093cff5548
update libcc commit
2017-03-14 00:26:27 +05:30
deepak1556
b28e686228
code cleanup
2017-03-14 00:26:27 +05:30
deepak1556
b1b6573bcd
build pdf resource in vendor/pdf_viewer
2017-03-14 00:26:27 +05:30
deepak1556
e5100cd103
Remove grit submodule
2017-03-14 00:26:27 +05:30
deepak1556
5a8e522526
StreamManager class is no longer required.
...
Stream lifetime is managed by webui
2017-03-14 00:26:27 +05:30
deepak1556
c982af991d
request for pdf resource from the webui
2017-03-14 00:26:27 +05:30
Cheng Zhao
210f40dd53
Convert "\" to "/" in file:// url
2017-03-14 00:26:27 +05:30
Cheng Zhao
422b7acece
Do not store resource_path as FilePath
...
On Windows the path value returned by PathWithoutParams also uses "/" as
separator, so there is no need to use the FilePath class.
2017-03-14 00:26:27 +05:30
Cheng Zhao
cca1db47ee
Print error when path is not found
2017-03-14 00:26:27 +05:30
deepak1556
528853efbf
handle reload api call from pdf ui
2017-03-14 00:26:27 +05:30
deepak1556
010193ef44
remove unused header
2017-03-14 00:26:27 +05:30
deepak1556
e4b97a3c93
update submodules to latest
2017-03-14 00:26:27 +05:30
deepak1556
6987e3ecd0
check if target stream is intercepted for correct request
2017-03-14 00:26:27 +05:30
deepak1556
ed89a603f3
update pdf_viewer to chrome 56.0.2924.87
2017-03-14 00:26:27 +05:30
deepak1556
b9710532e1
update api changes
2017-03-14 00:26:27 +05:30
deepak1556
07835bf4e6
update libcc commit
2017-03-14 00:26:27 +05:30
deepak1556
6e241c5e0d
update submodule
2017-03-14 00:26:27 +05:30
deepak1556
bd9a9657aa
disable node integration for chrome scheme
2017-03-14 00:26:27 +05:30
deepak1556
a4400dc549
add basic spec
2017-03-14 00:26:27 +05:30
deepak1556
3aba23b471
view_id=>stream_id and add some code comments.
2017-03-14 00:26:27 +05:30
deepak1556
e90fd1444f
move constants to atom_constants.h
2017-03-14 00:26:27 +05:30
deepak1556
671a8a2cd6
address review comments
2017-03-14 00:26:27 +05:30
deepak1556
6cb626db88
use existing ipc message generator
2017-03-14 00:26:27 +05:30
deepak1556
56c0eb74ff
update submodule
2017-03-14 00:26:27 +05:30
deepak1556
cc09b9ac7d
BINDINGS_POLICY_WEB_UI is not required
2017-03-14 00:26:27 +05:30
Paul Betts
846d516584
Get us compiling on macOS
2017-03-14 00:26:27 +05:30
Paul Betts
8580a34f9f
Get us compiling on Win32
2017-03-14 00:26:27 +05:30
deepak1556
2b64452d9c
fix build config
2017-03-14 00:26:27 +05:30
deepak1556
3baa186c0a
fix failing download spec
2017-03-14 00:26:27 +05:30
deepak1556
e767c59da2
enable pdf plugin by default
2017-03-14 00:26:27 +05:30
deepak1556
c15f6af892
fix crash when pdf viewer is reloaded
2017-03-14 00:25:59 +05:30
deepak1556
ddc2e0df71
code cleanup
2017-03-14 00:25:59 +05:30
deepak1556
de7dcdedba
setup strings for ui
2017-03-14 00:25:59 +05:30
deepak1556
0c7bb72891
listen to ipc messages from plugin to perform SaveAs op
2017-03-14 00:25:59 +05:30
deepak1556
fd8c450ef3
move pdfviewer ui data source to separate file
2017-03-14 00:25:59 +05:30
deepak1556
008497500b
update pdf_viewer submodule to use stream url
2017-03-14 00:25:59 +05:30
deepak1556
945e26750e
manage the lifetime of streams created
2017-03-14 00:25:59 +05:30
deepak1556
0ab37da785
replace redundant mimetype helper with net utility
2017-03-14 00:25:59 +05:30
deepak1556
578b717b5f
fix cpplint error
2017-03-14 00:25:59 +05:30
deepak1556
c8b932fce4
build pdf resources from submodule
2017-03-14 00:25:59 +05:30
deepak1556
c4dd2f4f56
add pdf webui as submodule
2017-03-14 00:25:59 +05:30
deepak1556
3c90fabab7
update pdf ui to work with webui
2017-03-14 00:25:59 +05:30
deepak1556
41c1623824
handle more messages from webui
2017-03-14 00:25:59 +05:30
deepak1556
a2db14476a
create webui message handler
2017-03-14 00:25:59 +05:30
deepak1556
8a2b9c893e
initialize webui with message handlers
2017-03-14 00:25:59 +05:30
deepak1556
a7ed7068f6
remove grit
2017-03-14 00:25:59 +05:30
deepak1556
be480fb634
import pdf ui
2017-03-14 00:25:59 +05:30
deepak1556
fdd574cea5
browser: implement pdf renderer as webui
2017-03-14 00:25:59 +05:30
Kevin Sawicki
5e70adb511
Guard against only specifying select or highlight handler
2017-03-13 11:23:27 -07:00
Kevin Sawicki
0dcdd60010
Add initial TouchBarScrubber spec
2017-03-13 11:17:55 -07:00
Kevin Sawicki
268dd1a6c2
Remove unneeded include
2017-03-13 11:15:36 -07:00
Kevin Sawicki
e52ece1a1e
Implement NSScrubberDataSource in AtomTouchBar
2017-03-13 11:06:41 -07:00
Kevin Sawicki
4f31a5c452
Fix duplicate protocol method declaration
2017-03-13 10:39:42 -07:00
Kevin Sawicki
d7f458d232
Add protocol methods
2017-03-13 10:31:51 -07:00
Kevin Sawicki
2fe21ecdd0
🎨
2017-03-13 10:28:30 -07:00
Kevin Sawicki
37c9d76cd5
Take const references
2017-03-13 10:25:30 -07:00
Kevin Sawicki
dac6e0ce66
Sort filenames
2017-03-13 10:09:09 -07:00
Kevin Sawicki
634bd7b17f
Add NSScrubber forward declarations
2017-03-13 10:07:48 -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
mst128256
76ee7fda2b
Fixed linting
2017-03-13 14:26:34 +01:00
Samuel Attard
cfb3798703
Add docs for TouchBarScrubbber
2017-03-13 11:00:25 +11:00
Samuel Attard
a85ae27d68
Fix linting
2017-03-13 11:00:10 +11:00
Samuel Attard
25a231fc50
Initial NSScrubber implementation
2017-03-13 10:51:12 +11:00
Adham Saad
3b265747fe
updating README
2017-03-12 14:17:03 +02: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
Thiago de Arruda
da023b72ee
Dynamically generate dependencies of browserify build actions
...
Instead of having to list in filenames.gypi every javascript file that may go
into a browserify build, generate this list dynamically when the build files are
created by gyp.
2017-03-10 16:30:23 -03: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
Zeke Sikelianos
582662e40f
fix markdown link
2017-03-10 09:03:04 -08:00
Zeke Sikelianos
7fefb75de5
update versioning doc
2017-03-10 08:08:23 -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
Cheng Zhao
b15123938c
Merge pull request #270 from electron/pdf_rendering
...
Link necessary pdf libraries and load pdf ui resources
2017-03-10 08:35:00 +09: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
mst128256
8aba640250
added default menu items for 'Edit' and 'Window' #2814
2017-03-09 16:01:33 +01:00
John Kleinschmidt
3c74404a3e
Updated docs.
2017-03-09 09:54:09 -05:00
TanninOne
410e80682a
Update browser-window.md
...
Notes that maximize will also show the window and that ready-to-show won't fire if the window is already being displayed. (See issue #8861 )
2017-03-09 15:41:31 +01: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
Cheng Zhao
fd0e7dc4ab
Use gin to manage FunctionTemplate
...
Sadly there is no way for us to know when V8 is closing, thus it is
impossible for us to clean the FunctionTemplate on exit at the right
time, which is critcal for multi-thread environment.
2017-03-08 17:11:29 +09:00
Cheng Zhao
ed909cd54c
Make Wrappable thread safe
2017-03-08 16:33:05 +09:00
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
Kevin Sawicki
86babdd412
Remove unused include
2017-03-07 12:27:55 -08:00
Kevin Sawicki
50ade57700
Add more hasRepresentation asserts
2017-03-07 12:27:55 -08:00
Kevin Sawicki
0bbbeb307e
Support toDataURL without 1x representation
2017-03-07 12:27:55 -08:00
Kevin Sawicki
8eaf48e552
Add spec for 1x1 PNG data URL
2017-03-07 12:27:55 -08:00
Kevin Sawicki
b46e48cae1
Add failing toDataURL spec
2017-03-07 12:27:55 -08:00
Kevin Sawicki
c0d57d609e
Merge pull request #8845 from electron/promise-resolve-assignment
...
Assign Promise.resolve to constant
2017-03-07 12:27:40 -08:00
Kevin Sawicki
dbe9893d29
Assign Promise.resolve to constant
2017-03-07 12:10:09 -08:00
Electron Bot
cc6c12b783
Update to Electron v1.6.3
2017-03-07 11:32:34 -08:00
Kevin Sawicki
e0260d6f53
Bump v1.6.3
2017-03-07 09:49:39 -08:00
Kevin Sawicki
5b8fcb740c
Merge pull request #8856 from electron/touch-bar-experimental
...
Mark TouchBar API as experimental
2017-03-07 09:48:59 -08:00
Kevin Sawicki
bb8d42f1e1
Mark TouchBar as experimental
2017-03-07 09:42:45 -08:00
Kevin Sawicki
8d512de157
Merge pull request #8851 from joaomoreno/joaomoreno-patch-1
...
Update `ses.resolveProxy` return type
2017-03-07 09:35:29 -08:00
Samuel Attard
f97066511f
Capitalize type
2017-03-07 21:25:40 +11:00
João Moreno
5a4d9807ee
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.
2017-03-07 11:21:51 +01:00
Kevin Sawicki
9547ff135f
Merge pull request #8744 from electron/MarshallOfSound-patch-1
...
Ensure userGesture is boolean when calling executeJavaScript
2017-03-06 11:19:23 -08:00
Kevin Sawicki
6bc464d4b0
Mention userGesture default
2017-03-06 10:51:48 -08:00
Kevin Sawicki
6240e30be1
Default hasUserGesture to false when null
2017-03-06 10:51:17 -08:00
Kevin Sawicki
6fcb784f6e
Add failing spec for no callback
2017-03-06 10:49:23 -08:00
Samuel Attard
095e79b043
Ensure the callback is a function when executing JS
2017-03-06 10:46:20 -08:00
Kevin Sawicki
f549bda9fc
Merge pull request #8799 from nitsakh/baseURLForDataURL
...
Support base URL option to loadURL for data URLs
2017-03-06 10:25:53 -08:00
Kevin Sawicki
886b47e713
Merge pull request #8724 from electron/defer_load_url
...
webContents: defer url load when there is a pending navigation entry
2017-03-06 10:18:36 -08:00
Kevin Sawicki
479af3c9e2
Merge pull request #8678 from liusy182/download-item
...
only emit `download-item done` event once
2017-03-06 10:11:22 -08:00
Kevin Sawicki
94b7fef30f
Merge pull request #8604 from electron/groundwater-patch-1
...
Emphasize asking for repo URL in bug reports
2017-03-06 09:48:36 -08:00
Kevin Sawicki
e485ff6cea
Incorporate feedback
2017-03-06 09:48:11 -08:00
Kevin Sawicki
d26e4a4abf
Merge pull request #8800 from electron/https-website
...
Update website URLs to use HTTPS
2017-03-06 09:32:20 -08:00
Kevin Sawicki
cb66a769d4
Merge pull request #8795 from electron/rename-shortcuts-to-keyboard-shortcuts
...
Rename shortcuts to keyboard shortcuts
2017-03-06 09:30:55 -08:00
Kevin Sawicki
8b53ff3900
Merge pull request #8840 from Yarkhan/patch-1
...
Correcting typo
2017-03-06 09:27:38 -08:00
Kevin Sawicki
c7d3d48875
Merge pull request #8837 from rhysd/fix-touchbar-doc
...
Fix TouchBarSpacer class name in doc
2017-03-06 09:25:57 -08:00
Kevin Sawicki
9234bddc38
Merge pull request #8834 from electron/tb-doc-fixups
...
Add more explicit types to docs for TouchBar
2017-03-06 09:25:29 -08:00
Cheng Zhao
aaa8e81cd4
Merge pull request #8811 from electron/clean-node-on-exit
...
Clean up node Environment on exit
2017-03-06 20:36:59 +09:00
Yarkhan
ef5c2bbded
Correcting typo
2017-03-05 20:40:18 -03:00
deepak1556
90885d1d8c
simply spec
2017-03-06 00:22:20 +05:30
deepak1556
e936143da2
listen for browser initiated pending nav entries too
2017-03-06 00:21:52 +05:30
deepak1556
eb827eb020
update spec
2017-03-06 00:10:46 +05:30
deepak1556
dead1ae1ba
webContents: defer url load when there is a pending navigation entry
2017-03-06 00:10:46 +05:30
rhysd
c209b886bf
fix TouchBarSpacer class name in doc
2017-03-05 15:09:57 +09:00
Samuel Attard
f97ee56c9f
Add more explicit types to docs for TouchBar
2017-03-04 16:14:41 +11:00
Kevin Sawicki
e315116336
Merge pull request #8830 from electron/touchbar-label-color
...
Support setting TouchBarLabel text color
2017-03-03 15:51:16 -08:00
Kevin Sawicki
4d6c779839
identList -> identifiers
2017-03-03 15:28:32 -08:00
Kevin Sawicki
b879872317
Always set properties in update calls
2017-03-03 15:24:32 -08:00
Kevin Sawicki
2680ee9f8f
Add support for setting TouchBarLabel text color
2017-03-03 15:14:51 -08:00
Kevin Sawicki
0098822fcf
Merge pull request #8095 from electron/touchbar
...
Add TouchBar Support
2017-03-03 14:37:56 -08:00
Kevin Sawicki
9f323104e7
Remove unused include
2017-03-03 14:11:09 -08:00
Kevin Sawicki
edebb32014
Drop nullable for consistency
2017-03-03 14:07:59 -08:00
Kevin Sawicki
fde310f50d
Mention it only effects 10.12.1 with touch bar
2017-03-03 14:04:55 -08:00
Kevin Sawicki
d9a8c15c69
Add clover to possible values
2017-03-03 14:00:39 -08:00
Kevin Sawicki
ca2898a60e
Check that window responds to touchBar selector for pre-10.12.1 compat
2017-03-03 14:00:39 -08:00
Kevin Sawicki
c349aeff80
Add initial touch bar specs
2017-03-03 14:00:39 -08:00
Kevin Sawicki
002369576f
Add initial touch bar docs
2017-03-03 14:00:39 -08:00
Kevin Sawicki
81ecd4499c
Make exported properties match class names
2017-03-03 14:00:39 -08:00
Kevin Sawicki
eb03ab561d
Make config optional
2017-03-03 14:00:39 -08:00
Kevin Sawicki
ce12dcd3b4
Add live popover icon property
2017-03-03 14:00:39 -08:00
Kevin Sawicki
a34f9d3583
Support icon property to match MenuItem
2017-03-03 14:00:39 -08:00
Kevin Sawicki
506b42b563
🎨
2017-03-03 14:00:39 -08:00
Kevin Sawicki
ecc0478e3c
Match Popover casing in macOS APIs
2017-03-03 14:00:39 -08:00
Kevin Sawicki
79b17c2cd9
Expose TouchBar on remote module
2017-03-03 14:00:39 -08:00
Kevin Sawicki
d1edd80ef8
Use NSTouchBar itemForIdentifier to lookup existing item
2017-03-03 14:00:39 -08:00
Kevin Sawicki
8d716e8b17
Register item after validating
2017-03-03 14:00:39 -08:00
Kevin Sawicki
93bbe8e70b
Use device NS colors consistently
2017-03-03 14:00:39 -08:00
Kevin Sawicki
70d61869a5
Use array to create empty NSMutableArray
2017-03-03 14:00:39 -08:00
Kevin Sawicki
76f112ffc5
Only export TouchBar to start
2017-03-03 14:00:39 -08:00
Kevin Sawicki
5fe3ac60fa
Check that atom_touch_bar_ is set
2017-03-03 14:00:39 -08:00
Kevin Sawicki
708ed9d1cd
Store ordered settings in AtomTouchBar
2017-03-03 14:00:39 -08:00
Kevin Sawicki
5f9e9d4b36
Add move live updating properties
2017-03-03 14:00:39 -08:00
Kevin Sawicki
61aa9bbff4
Add support for spacer items
2017-03-03 14:00:39 -08:00
Kevin Sawicki
f153d08297
Support setting the initial/available colors
2017-03-03 14:00:39 -08:00
Kevin Sawicki
f9dd91d54d
Add static helper to bind touch bar to window
2017-03-03 14:00:39 -08:00
Kevin Sawicki
51f1c5a557
Use SetTouchBar withe empty vector instead of DestroyTouchBar
2017-03-03 14:00:39 -08:00
Kevin Sawicki
d5dbe3676e
Add window helpers to TouchBar class
2017-03-03 14:00:39 -08:00
Kevin Sawicki
347d472841
Remove unused clear method
2017-03-03 14:00:39 -08:00
Kevin Sawicki
b959f782f6
Rename instance variable maps
2017-03-03 14:00:39 -08:00
Kevin Sawicki
ec500b2852
Use scoped_nsobject to match Chrome implementation
2017-03-03 14:00:38 -08:00
Kevin Sawicki
812beb240b
Remove unneeded includes
2017-03-03 14:00:38 -08:00
Kevin Sawicki
823b3baed0
Use vector of dictionaries instead of mate::Arguments
2017-03-03 14:00:38 -08:00
Kevin Sawicki
98f5858b11
Initial support for dynamic properties
2017-03-03 14:00:38 -08:00
Kevin Sawicki
cbb6f8c33e
Store event listeners in each TouchBar class
2017-03-03 14:00:38 -08:00
Kevin Sawicki
1972e2eff9
Update renamed variable
2017-03-03 14:00:38 -08:00
Kevin Sawicki
28f2a4951b
touch_bar_helper_ -> atom_touch_bar_
2017-03-03 14:00:38 -08:00
Kevin Sawicki
b39b49a15a
Rename to touch_bar_helper_ to differentiate from touchBar property
2017-03-03 14:00:38 -08:00
Kevin Sawicki
14ef5c5957
Reset helper when makeTouchBar is called
2017-03-03 14:00:38 -08:00
Kevin Sawicki
ca29ec0101
Use reference
2017-03-03 14:00:38 -08:00
Kevin Sawicki
f297ba987e
touchBarFromMutatableArray -> touchBarFromItemIdentifiers
2017-03-03 14:00:38 -08:00
Kevin Sawicki
b30f7c3c94
Use std::string ctor
2017-03-03 14:00:38 -08:00
Kevin Sawicki
8500538793
Use base::SysUTF8ToNSString helper
2017-03-03 14:00:38 -08:00
Kevin Sawicki
cf7cd1f32b
hasTBDict -> hasItemWithID
2017-03-03 14:00:38 -08:00
Kevin Sawicki
48515d9ecc
Ignore objective-c header lint
2017-03-03 14:00:38 -08:00
Kevin Sawicki
b632cdd37d
Extract helper class to encapsulate touch bar items
2017-03-03 14:00:38 -08:00
Kevin Sawicki
1b5149ae7a
Few memory and scope tweaks
2017-03-03 14:00:38 -08:00
Kevin Sawicki
b16d649819
Use skia color helpers
2017-03-03 14:00:38 -08:00
Kevin Sawicki
eff49ad19c
Return early when touchBar is null
2017-03-03 14:00:38 -08:00
Kevin Sawicki
69638a399c
Make touchBar readwrite/nullable
2017-03-03 14:00:38 -08:00
Kevin Sawicki
d4d3c78701
Ignore lint warnings in Objective-C header
2017-03-03 14:00:38 -08:00
Kevin Sawicki
9bdca3bbfb
Remove linter warnings
2017-03-03 14:00:38 -08:00
Kevin Sawicki
9272582bd6
Revert default_app changes
2017-03-03 14:00:38 -08:00
Kevin Sawicki
52905ae9b3
Get compiling against 10.10 SDK
2017-03-03 14:00:38 -08:00
Kevin Sawicki
2a00bb30c5
Use new NativeWindowObserver helper
2017-03-03 14:00:38 -08:00
Samuel Attard
ba3fbc9d1b
Fix Group items
2017-03-03 14:00:38 -08:00
Samuel Attard
28d5c8bbde
Add updateConfig ability to other items
2017-03-03 14:00:38 -08:00
Samuel Attard
dd09c91cf2
initial work on updating touch bar item config without rerender
2017-03-03 14:00:38 -08:00
Samuel Attard
61949657f0
Some docs for touch bar
2017-03-03 14:00:38 -08:00
Samuel Attard
15dcc314d3
Export the TouchBar items as their own props on the electron main export
2017-03-03 14:00:38 -08:00
Samuel Attard
d1b3ba39bd
Fix cpp linting
2017-03-03 14:00:38 -08:00
Samuel Attard
4f0caffc3b
Fix JS linting
2017-03-03 14:00:38 -08:00
Samuel Attard
257b32b84b
Remove unused ident
2017-03-03 14:00:38 -08:00
Samuel Attard
43cc5079d8
Implement group item
2017-03-03 14:00:38 -08:00
Samuel Attard
269d899a99
Implement popOver item type (woo hoo it worked)
2017-03-03 14:00:38 -08:00
Samuel Attard
2bc45c8665
Change demo touchbar values
2017-03-03 14:00:38 -08:00
Samuel Attard
c92c4138a8
Add Slider item type and add options to the button type
2017-03-03 14:00:38 -08:00
Samuel Attard
18c7c3ece8
Make label and colorpicker types work
2017-03-03 14:00:38 -08:00
Samuel Attard
7857c83ea1
Make dynamic buttons work along with click events
2017-03-03 14:00:38 -08:00
Samuel Attard
703b5738c8
Initial TouchBar Magic
...
* Make the AtomNSWindow also a NSTouchbarDelegate
* Implement basic makeTouchBar and makeItemForIdentifier methods
* Initial sending of touch / update events through IPC to BrowserWindowObjects
TODO:
* JS API
* JS Object Converters
* Generalize methods so that popovers can work
2017-03-03 14:00:38 -08:00
Zeke Sikelianos
e027f4aacf
Merge pull request #8816 from electron/webview-docs-fixes
...
Fix API docs for webview tag
2017-03-03 11:23:52 -08:00
Zeke Sikelianos
67dc1b1070
use updated docs linter with webview support
2017-03-03 10:53:30 -08:00
Nitish Sakhawalkar
d75db0ea1a
Fixed js lint issues.
2017-03-02 14:37:09 -08:00
Zeke Sikelianos
ffc7a4c8a0
move platform labels to end of description for consistency
2017-03-02 13:57:04 -08:00
Zeke Sikelianos
23eecac288
document arguments for webview methods
2017-03-02 13:29:46 -08:00
Zeke Sikelianos
5ee7434a54
fix indentation of app.setLoginItemSettings arguments
2017-03-02 13:28:58 -08:00
Zeke Sikelianos
01423f79b3
denote webview process so linter will recognize it as an API
2017-03-02 13:27:04 -08:00
Nitish Sakhawalkar
370562b129
Moving data url test outside post navigation block. Trailing separator comment in the docs.
2017-03-02 12:14:18 -08:00
Nitish Sakhawalkar
e8c0813f46
Changes based on review.
2017-03-02 10:58:39 -08:00
Nitish Sakhawalkar
bcda67b8eb
No more extra whitespace.
2017-03-02 10:50:48 -08:00
Kevin Sawicki
8f7785bb05
Merge pull request #8806 from electron/felix-winstore-moved
...
Fix init check for process.windowsStore
2017-03-02 10:35:08 -08:00
Kevin Sawicki
e51a4f0af1
Merge pull request #8804 from electron/isolated-world-origin
...
Set context isolation origin policy
2017-03-02 09:16:51 -08:00
Kevin Sawicki
7fb77ee1cb
Set isolated world security origin
2017-03-02 08:49:18 -08:00
Kevin Sawicki
7f6283352f
Add failing spec for fetch from isolated world
2017-03-02 08:49:18 -08:00
Cheng Zhao
cf198904a4
Fix cpplint warnings
2017-03-02 17:26:15 +09:00
Cheng Zhao
1709e74958
Fix crash when the main frame is replaced
2017-03-02 17:19:00 +09:00
Cheng Zhao
24574f7299
Avoid touch an Environemnt after it gets destroyed
2017-03-02 17:19:00 +09:00
Cheng Zhao
29278e500b
Destroy node environment when a JS context in renderer is 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
Cheng Zhao
a0605275b9
Clean up node environment on exit in main process
2017-03-02 17:19:00 +09:00
Nitish Sakhawalkar
c06c4c0ccb
Reverting formatting changes made by clang format.
2017-03-01 14:04:41 -08:00
Electron Bot
91c778d053
Update to Electron v1.6.2
2017-03-01 12:06:40 -08:00
Felix Rieseberg
4aaa936803
Fix init check for process.windowsStore
...
Windows now allows users to move their `WindowsApps` folder, meaning that it can end up on a different drive (and outside of `Program Files`).
2017-03-01 11:48:51 -08:00
Kevin Sawicki
d009b3267a
Bump v1.6.2
2017-03-01 09:11:05 -08:00
Kevin Sawicki
59e656586d
Merge pull request #8801 from tomfloyer/patch-1
...
Fixed typo
2017-03-01 09:05:04 -08:00
Tom Floyer
34e21cb91f
Fixed typo
2017-03-01 12:03:00 +03:00
Zeke Sikelianos
15bf7ed536
use https URLs for images
2017-02-28 21:24:31 -08:00
Zeke Sikelianos
166bf7ab8c
link to default docs URL from default app nav
2017-02-28 21:21:34 -08:00
Zeke Sikelianos
69f0cb26e7
use https for all Electron website URLs
2017-02-28 21:19:55 -08:00
Nitish Sakhawalkar
879082b1a6
Issue #8735:Support base URL option to loadURL for data URLs
2017-02-28 16:49:03 -08:00
Kevin Sawicki
dba154b062
Merge pull request #8766 from electron/browser-require-in-renderer-process
...
Don't require browser process API in renderer process
2017-02-28 09:19:30 -08:00
Kevin Sawicki
7a99f0435b
Fix typo in comment
2017-02-28 08:45:39 -08:00
Kevin Sawicki
bb1a981a01
Mention variable name to update
2017-02-28 08:45:39 -08:00
Kevin Sawicki
ca8983bf6c
Add initial spec for remote modules
2017-02-28 08:45:39 -08:00
Kevin Sawicki
e8a79cb88d
Don't require browser process module from renderer
...
This can cause issues when it is accessed from the
require cache or module tree since the getters throw
errors when called.
2017-02-28 08:45:39 -08:00
Kevin Sawicki
51d6a55061
Merge pull request #8742 from electron/webview-visibility
...
Route webview window visibility change events in browser process
2017-02-28 08:45:15 -08:00
Zeke Sikelianos
8e7a26ec25
link to keyboard shortcuts from docs README
2017-02-28 08:44:28 -08:00
Zeke Sikelianos
61bce3ef39
rename shortcuts to keyboard-shortcuts for clarity
2017-02-28 08:44:12 -08:00
Kevin Sawicki
54232ee21a
Emit event after listener is registered
2017-02-28 08:23:00 -08:00
Kevin Sawicki
1d84d83fd4
Forward webview visibility change events from browser process
2017-02-28 08:23:00 -08:00
Kevin Sawicki
7564a9973b
Use const instead of var
2017-02-28 08:23:00 -08:00
Kevin Sawicki
f4717b34e9
Register visibility change listener when attached
2017-02-28 08:23:00 -08:00
Kevin Sawicki
2f5f7721fc
Merge pull request #8792 from LasseJacobs/master
...
Pull request, for dutch translation of glossary.md
2017-02-28 08:18:17 -08:00
Rik Theunis
5fe62d23d9
📝 Fix typos and grammatical errors.
...
[ci skip]
2017-02-27 23:23:39 +01:00
Lasse Jacobs
76e1f882c0
📝 Fix some grammar mistakes
...
[ci-skip]
2017-02-27 23:23:05 +01:00
Lasse Jacobs
19a948298b
📝 Fix some spelling mistakes
...
[ci-skip]
2017-02-27 23:15:51 +01:00
Zeke Sikelianos
5a173965ed
Merge pull request #8775 from electron/shortcuts
...
add a guide to keyboard shortcuts
2017-02-27 09:48:49 -08:00
Zeke Sikelianos
250c656aa7
lint
2017-02-27 09:34:35 -08:00
Kevin Sawicki
776fd56e41
Merge pull request #8787 from serant/translation-doc-typo
...
Fix typo in translation doc for BrowserWindow
2017-02-27 08:54:02 -08:00
Kevin Sawicki
368da3300e
Merge pull request #8783 from thesbros/docs/blink-features-link
...
📝 Update link to Blink features.
2017-02-27 08:53:34 -08:00
Kevin Sawicki
20a9cf834b
Merge pull request #8769 from jwheare/docs-cancel-id
...
Clarify docs for dialog.showMessageBox cancelId
2017-02-27 08:52:59 -08:00
Zeke Sikelianos
f774ea857e
remove electron-localshortcut recommendation
2017-02-27 08:20:23 -08:00
serant
6b138e0215
Fixed typo in translation doc for BrowserWindow
2017-02-27 11:01:44 -05:00
Oden
c10f1210bc
📝 Update link to Blink features.
2017-02-26 20:34:00 -08:00
Zeke Sikelianos
ba4a2d7c30
describe local shortcuts before global
2017-02-25 19:21:33 -08:00
Zeke Sikelianos
5c64075032
add section for browser window events
2017-02-25 19:07:09 -08:00
Zeke Sikelianos
32f44d7917
add a guide to keyboard shortcuts
2017-02-25 18:59:13 -08:00
Zeke Sikelianos
dd5fa2df85
Merge pull request #8746 from electron/clarify-app-activation
...
clarify actions that cause app.activate event to be emitted
2017-02-25 18:20:43 -08:00
James Wheare
cdc6b13fc8
Clarify docs for dialog.showMessageBox cancelId
2017-02-24 23:56:47 +00:00
Kevin Sawicki
8e4bdec6b6
Merge pull request #8758 from electron/use-local-buffer
...
Use local Buffer variable in module.js require wrapper
2017-02-24 10:35:35 -08:00
Kevin Sawicki
6c40b1eead
Verify global.Buffer is undefined
2017-02-24 09:57:32 -08:00
Kevin Sawicki
ad03ba73a4
Upgrade node for Buffer wrapper fix
2017-02-24 09:57:32 -08:00
Kevin Sawicki
e6fec57bd8
Add failing spec for Buffer from preload required module
2017-02-24 09:57:32 -08:00
Kevin Sawicki
b936221b63
Merge pull request #8733 from electron/macos-cancel-id
...
Support explicit cancelId on macOS
2017-02-24 09:32:07 -08:00
Kevin Sawicki
be16e75be2
Support explicit cancelId on macOS
2017-02-24 09:05:55 -08:00
Kevin Sawicki
d01250eceb
Merge pull request #8739 from electron/pepper-context-menu
...
Use owner browser window in pepper context menu
2017-02-24 09:05:33 -08:00
Kevin Sawicki
739f3ed102
Popup pepper menu in owner browser window
2017-02-24 08:39:22 -08:00
Kevin Sawicki
c951e253c6
Default to focused window whenever param is null/undefined
2017-02-24 08:39:22 -08:00
Kevin Sawicki
3e05350d6b
Check that window is non-null before accessing constructor prop
2017-02-24 08:39:22 -08:00
Kevin Sawicki
5819acbc20
Merge pull request #8745 from electron/async-web-dialog-helper
...
Use callback dialog methods in RunFileChooser
2017-02-24 08:38:19 -08:00
Kevin Sawicki
ef085a1f15
Remove unneeded AddRef/Release calls handled by base::Bind
2017-02-24 08:15:02 -08:00
Kevin Sawicki
6837ec8576
Check render frame host before getting context
2017-02-24 07:49:26 -08:00
Kevin Sawicki
a62c2f9e2e
Remove unused include
2017-02-24 07:37:28 -08:00
Kevin Sawicki
29f92bfb53
Extend RefCounted and add private destructor
2017-02-24 07:37:28 -08:00
Kevin Sawicki
a33ffd621f
Use callback dialog methods in RunFileChooser
2017-02-24 07:37:28 -08:00
liusi
ff513f2a84
remove the call to download_item_->Remove() on cancel
2017-02-24 14:08:21 +08:00
Kevin Sawicki
cc688d7fa6
Merge pull request #8760 from popod/popod-startDrag-doc
...
update startDrag(item) doc
2017-02-23 13:45:22 -08:00
Kevin Sawicki
eb260c3593
Update parameter prefix
2017-02-23 13:03:22 -08:00
popod
ea3b14f0bb
update startDrag(item) doc
...
add doc for `files` option
2017-02-23 21:28:36 +01:00
deepak1556
9a321d2479
dont link libfxcrt.a on linux
...
It causes multiple definition error
2017-02-23 22:39:34 +05:30
deepak1556
80de70bf66
address review comments
2017-02-23 22:39:34 +05:30
Haojian Wu
26081d5a11
Link libfx_freetype.a on Mac OS.
2017-02-23 22:39:34 +05:30
deepak1556
7700884ebc
link pdf libraries on linux with whole-archive option
2017-02-23 22:39:34 +05:30
deepak1556
5e842b1112
link necessary pdf libraries
2017-02-23 22:39:34 +05:30
deepak1556
2b4948d6aa
load pdf resource pak file
2017-02-23 22:39:34 +05:30
Zeke Sikelianos
7c4529a01a
clarify actions that cause app.activate event to be emitted
2017-02-22 16:42:34 -08:00
Kevin Sawicki
62f4a77755
Merge pull request #8702 from electron/async-menu-popup
...
Add async menu.popup option
2017-02-22 12:50:57 -08:00
Kevin Sawicki
211bedf910
Invoke close callback after itemSelected runs
2017-02-22 11:47:58 -08:00
Kevin Sawicki
d0b07d5c36
Check that x is non-null
2017-02-22 10:49:25 -08:00
Kevin Sawicki
a8d1a7aed4
Make variables private instead of protected
2017-02-22 10:30:28 -08:00
Kevin Sawicki
2006e22aa4
🎨
2017-02-22 10:30:28 -08:00
Kevin Sawicki
6c6506e5aa
Document menu.closePopup
2017-02-22 10:30:28 -08:00
Kevin Sawicki
ce5ac1b056
Implement ClosePopupAt on Windows/Linux
2017-02-22 10:30:28 -08:00
Kevin Sawicki
91d1af053f
Implement Menu.closePopup on Windows/Linux
2017-02-22 10:30:28 -08:00
Kevin Sawicki
0a5ccdccb4
Add spec for async Menu.popup
2017-02-22 10:30:28 -08:00
Kevin Sawicki
6a023dc4fe
Add Menu.closePopup API on macOS
2017-02-22 10:30:28 -08:00
Kevin Sawicki
947556a23f
Move MenuItem spec into root describe
2017-02-22 10:30:28 -08:00
Kevin Sawicki
55f90b4a4b
Add new menu.popup signature to planned breaking changes
2017-02-22 10:30:28 -08:00
Kevin Sawicki
d686cf77e9
Update menu.popup docs to take options object
2017-02-22 10:30:28 -08:00
Kevin Sawicki
66b6b4f1cb
Map async option to MenuRunner::ASYNC flag
2017-02-22 10:30:28 -08:00
Kevin Sawicki
4430927f98
Add async option to menu.popup
2017-02-22 10:30:28 -08:00
Kevin Sawicki
b091d104f5
Add async menu.popup on Windows/Linux
2017-02-22 10:30:28 -08:00
Kevin Sawicki
636ef0fd29
Add async menu.popup on macOS
2017-02-22 10:30:28 -08:00
Kevin Sawicki
85bdce0722
Merge pull request #8731 from herrmannplatz/patch-1
...
update setCertificateVerifyProc example
2017-02-22 08:22:21 -08:00
Kevin Sawicki
91bd95a0b2
Add space after if
2017-02-22 08:11:21 -08:00
René Herrmann
c4280612c1
update setCertificateVerifyProc example
...
setCertificateVerifyProc example should reflect new api
2017-02-22 11:49:14 +01:00
Lasse Jacobs
e5d82edf5d
📝 Add glossary.md to dutch translations part1
...
[ci skip] Add glossary.md with the first 8 topics.
2017-02-21 14:54:00 -08:00
Electron Bot
353920e1fa
Update to Electron v1.6.1
2017-02-21 10:24:28 -08:00
Kevin Sawicki
92092bed41
Bump v1.6.1
2017-02-21 08:49:50 -08:00
Kevin Sawicki
f80af6e3ed
Merge pull request #8718 from demopark/master
...
add translations files for zh-CN
2017-02-21 08:48:15 -08:00
Kevin Sawicki
1dd37eaab7
Merge pull request #8717 from gerhardberger/vibrancy-version-fix
...
Fix OS version check of vibrancy
2017-02-21 08:45:10 -08:00
DemoPark
c78d7fc125
add translations files for zh-CN
...
add zh-CN translations file - debug-instructions-windows.md
add zh-CN translations file - debugging-instructions-macos.md
update zh-CN translations file - README.md
2017-02-19 21:38:37 +08:00
gellert
a1ede4a4b0
fixes os version check of vibrancy
2017-02-18 20:25:03 +01:00
Kevin Sawicki
1f75df0253
Merge pull request #8693 from electron/zoom_specs
...
webContents: add basic zoom specs
2017-02-17 12:50:26 -08:00
deepak1556
a57af31b99
add zoom specs based on standard protocols
2017-02-18 01:41:39 +05:30
deepak1556
0c022fdc36
set zoom changes for in page navigaitons
2017-02-18 01:34:32 +05:30
deepak1556
403e7681c1
add basic webview zoom specs
2017-02-18 01:34:32 +05:30
deepak1556
c71b44048c
address review comments
2017-02-18 01:34:32 +05:30
deepak1556
dfc2e6c4a8
add temporary zoom api spec
2017-02-18 01:34:32 +05:30
deepak1556
71fd3e807c
use sync zoom api with guest view manager webpreferences
2017-02-18 01:34:32 +05:30
deepak1556
763b9ab8d8
add zoom spec
2017-02-18 01:34:32 +05:30
deepak1556
203a920c64
fix signature of zoom getter apis
2017-02-18 01:34:32 +05:30
Kevin Sawicki
5e30ccd891
Merge pull request #8709 from electron/upgrade-native-mate
...
Upgrade native_mate
2017-02-17 10:57:39 -08:00
Kevin Sawicki
e60601898d
Upgrade native_mate
2017-02-17 10:25:20 -08:00
Kevin Sawicki
ad0fd82566
Merge pull request #10 from electron/five-argument-member-function
...
Remove template_util.h and use std functions
2017-02-17 10:25:02 -08:00
Kevin Sawicki
d2b9766886
Use std functions instead of template_util
2017-02-17 09:32:45 -08:00
Kevin Sawicki
f56ec818fb
Support 5 argument member function
2017-02-17 09:32:45 -08:00
Kevin Sawicki
11a1b824c0
Merge pull request #11 from electron/ci
...
Add Travis/AppVeyor CI build through Electron
2017-02-17 09:32:30 -08:00
Kevin Sawicki
db542f2a26
Add CI build through Electron
2017-02-17 08:39:54 -08:00
Kevin Sawicki
440e48fe19
Merge pull request #8707 from demopark/master
...
add translations files for zh-CN
2017-02-17 08:22:05 -08:00
Kevin Sawicki
91677ade89
Merge pull request #8704 from YurySolovyov/update-icon-fetch-impl
...
Update icon loading API implementation
2017-02-17 08:21:10 -08:00
DemoPark
529b84ff9c
add translations files for zh-CN
...
add zh-CN translations file - clang-format.md
add zh-CN translations file - styleguide.md
update zh-CN translations file - README.md
2017-02-17 17:28:55 +08:00
deepak1556
5687f8b3b7
Destroy icon manager after file thread is destroyed
2017-02-17 14:16:18 +05:30
Yury Solovyov
977abc6458
Update icon loading API implementation
2017-02-16 23:16:34 +03:00
Kevin Sawicki
8fe025d6c9
Merge pull request #8695 from ericbrumer/master
...
[Win] Allow favicon.png to be on the root of any drive letter
2017-02-16 11:56:52 -08:00
Eric Brumer
87e606627c
Smaller regex now that it's case insensitive
2017-02-16 09:26:20 -08:00
Eric Brumer
7cb101b566
Case insensitive filepath
2017-02-16 09:17:37 -08:00
Kevin Sawicki
19b686c90b
Merge pull request #8696 from demopark/master
...
add translations files for zh-CN
2017-02-16 08:12:18 -08:00
DemoPark
6dd18678a9
add translations files for zh-CN
...
add zh-CN translations file - security.md
add zh-CN translations file - repl.md
add zh-CN translations file - windows-store-guide.md
update zh-CN translations file - glossary.md
update zh-CN translations file - README.md
2017-02-16 16:31:55 +08:00
Eric Brumer
d97585d06d
Allow favicon.png to be on the root of any drive letter
2017-02-15 19:02:11 -08:00
Kevin Sawicki
a00bb332ca
Merge pull request #8686 from demopark/master
...
Optimize zh-CN language logic and grammar
2017-02-15 12:27:06 -08:00
Kevin Sawicki
9a7ac5326c
Merge pull request #8676 from electron/focus-delegate
...
Prevent invisible windows from being activated
2017-02-15 11:22:00 -08:00
Kevin Sawicki
70849de8c4
Mark constructor as explicit
2017-02-15 08:28:55 -08:00
Kevin Sawicki
52801c4a41
Use internal IsVisible method
2017-02-15 08:28:55 -08:00
Kevin Sawicki
db79f4f450
Implement Activate instead of CanFocus
2017-02-15 08:28:55 -08:00
Kevin Sawicki
bda8af8dd3
Just use visible state in CanFocus delegate
2017-02-15 08:28:55 -08:00
Kevin Sawicki
86007fe61d
Update blur parent window spec
2017-02-15 08:28:55 -08:00
Kevin Sawicki
35908ac398
Add webContents.focus() spec
2017-02-15 08:28:55 -08:00
Kevin Sawicki
be79417a03
Include CanFocus on Windows and map to state
2017-02-15 08:28:55 -08:00
Kevin Sawicki
0ac3969c6a
Merge pull request #8682 from electron/use-electron-version-in-chromedriver-asset-name
...
Use electron version in Chromedriver asset name
2017-02-15 08:28:43 -08:00
Kevin Sawicki
a0fc5ae63d
Use electron version in Chromedriver asset name
2017-02-15 08:17:40 -08:00
DemoPark
1170ecb269
add zh-CN translations for offscreen-rendering.md
...
add zh-CN translations for offscreen-rendering.md
2017-02-15 17:45:52 +08:00
DemoPark
f79ce38a57
add zh-CN translations for electron-versioning.md
...
add zh-CN translations for 'electron-versioning.md'
2017-02-15 17:21:20 +08:00
Jonas Zhang
20aeec7cf5
Merge pull request #1 from demopark/demopark-patch-1
...
Optimize zh-CN language logic and grammar
2017-02-15 14:21:37 +08:00
Jonas Zhang
b3ab426a5e
Optimize zh-CN language logic and grammar
...
Optimize zh-CN language logic and grammar.
2017-02-15 14:20:48 +08:00
Cheng Zhao
c127ce3e46
Merge pull request #8679 from electron/disable-active-tracker
...
Disable the ActiveVerifier
2017-02-15 11:04:36 +09:00
Kevin Sawicki
fe59f413f6
Merge pull request #8684 from electron/compiler-error
...
Rename variable for compiler error
2017-02-14 12:40:21 -08:00
Kevin Sawicki
36e6501c44
Rename variable for compiler error
2017-02-14 12:30:23 -08:00
Kevin Sawicki
9be42db8d5
Merge pull request #8628 from Spacetech/master
...
Implement invalidate for non-offscreen mode
2017-02-14 11:41:16 -08:00
Kevin Sawicki
52d989f908
Update docs for non-offscreen invalidate
2017-02-14 11:17:39 -08:00
Kevin Sawicki
643cb5d6de
Remove unused variable
2017-02-14 11:13:23 -08:00
Kevin Sawicki
5cb6648686
Use underscore variable name for consistency
2017-02-14 11:12:30 -08:00
Kevin Sawicki
82f452568c
🎨 Minor formatting tweaks
2017-02-14 11:09:15 -08:00
Kevin Sawicki
897d58bde1
Merge pull request #8648 from electron/set-extra-crash-reporter-data
...
Support updating crash reporter extra parameters
2017-02-14 10:09:02 -08:00
Kevin Sawicki
272a0824e8
Fix darwin platform name
2017-02-14 09:37:09 -08:00
Kevin Sawicki
af7702d0f2
🎨
2017-02-14 09:37:09 -08:00
Kevin Sawicki
07173cdd9d
Tweak setExtraParameter description
2017-02-14 09:37:09 -08:00
Kevin Sawicki
b51adf8ae5
Add spec for updated extra parameters
2017-02-14 09:37:09 -08:00
Kevin Sawicki
a4bbad03c2
autoSubmit -> uploadToServer
2017-02-14 09:37:09 -08:00
Kevin Sawicki
f3756ccf29
Run crash reporter specs on all platforms
2017-02-14 09:37:09 -08:00
Kevin Sawicki
3b7207da9f
Support removing extra parameters
2017-02-14 09:37:09 -08:00
Kevin Sawicki
41fef3999c
Document setExtraParameter
2017-02-14 09:37:09 -08:00
Kevin Sawicki
9a434af03e
Clear crash keys in InitBreakpad
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
cfe3ae234b
Correct , -> . typo
2017-02-14 09:37:09 -08:00
Kevin Sawicki
3e18d8baf5
Remove _ prefix on binding methods
2017-02-14 09:37:09 -08:00
Kevin Sawicki
e4c54fd0d8
Merge pull request #8662 from oukan/feature/translate-zh-CN
...
Modules for the Main Process to zh-CN
2017-02-14 09:33:27 -08:00
Kevin Sawicki
e9e8595605
Merge pull request #8673 from electron/scroll-touch-end
...
Call OnWindowScrollTouchEnd instead of Edge
2017-02-14 09:32:56 -08:00
Kevin Sawicki
c54ae66fb9
Call OnWindowScrollTouchEnd instead of Edge
2017-02-14 09:13:07 -08:00
Kevin Sawicki
624e44dd6f
Merge pull request #8605 from electron/no-more-global-buffer
...
Delete Buffer global when node integration is disabled
2017-02-14 09:07:24 -08:00
Kevin Sawicki
fdc1d3d763
Add Buffer typeof assertion
2017-02-14 08:42:34 -08:00
Kevin Sawicki
8e09fcd2a9
Upgrade node for require wrapper Buffer change
2017-02-14 08:42:34 -08:00
Kevin Sawicki
2a18e3f9ea
Remove Buffer global on load
2017-02-14 08:42:34 -08:00
Kevin Sawicki
1933a4fc9f
Remove global Buffer mention now handled as require wrapper
2017-02-14 08:42:34 -08:00
Kevin Sawicki
7e138083ef
Add declared const Buffer spec
2017-02-14 08:42:34 -08:00
Kevin Sawicki
70010fdb8e
Add spec for Buffer global
2017-02-14 08:42:34 -08:00
Kevin Sawicki
80dad58a59
Merge pull request #8654 from electron/context-shutdown-crash
...
Upgrade brigthray for context crash fix
2017-02-14 08:41:55 -08:00
Kevin Sawicki
1f0bc7fe86
Upgrade brigthray for context crash fix
2017-02-14 08:25:27 -08:00
Kevin Sawicki
28f96f32f9
Merge pull request #276 from electron/context-shutdown-crash
...
Cleanly shutdown browser context
2017-02-14 08:24:52 -08:00
Cheng Zhao
bad6954911
Disable the ActiveVerifier
2017-02-14 17:23:20 +09:00
liusi
d56c1909df
only emit download-item done event once.
2017-02-14 14:39:33 +08:00
Gary Wilber
f19924bcb0
Add Invalidate method to NativeWindow and add Mac implementation
2017-02-13 19:41:24 -08:00
Kevin Sawicki
4ed9f63989
Cleanly shutdown browser context
2017-02-13 11:04:02 -08:00
Kevin Sawicki
d3c967401d
Merge pull request #8672 from electron/reorder-compiler-error-in-zoom-controller
...
Call content::WebContentsObserver first
2017-02-13 09:24:38 -08:00
Kevin Sawicki
d7ab142e10
Call content::WebContentsObserver first
2017-02-13 09:09:42 -08:00
Kevin Sawicki
8c2cf03f37
Merge pull request #8617 from electron/resolves-aliases-nsopen
...
Add resolvesAliases option to openDialog
2017-02-13 08:29:18 -08:00
Kevin Sawicki
a746651d1c
Use dialog setter for consistency with other properties
2017-02-13 08:23:53 -08:00
Samuel Attard
17fe5efa13
Fix linting
2017-02-13 08:23:53 -08:00
Samuel Attard
7c33f3ee65
Document the noResolveAliases property
2017-02-13 08:23:53 -08:00
Samuel Attard
e45d8079b8
Add support for a noResolveAliases property
2017-02-13 08:23:53 -08:00
Kevin Sawicki
266c78b861
Merge pull request #8669 from poppinlp/patch-1
...
Fix typo
2017-02-13 08:18:19 -08:00
Kevin Sawicki
c9e5d7d1e2
Merge pull request #8660 from fab1an/patch-3
...
Update session.md
2017-02-13 08:17:23 -08:00
Kevin Sawicki
070cc40af4
Merge pull request #8659 from fab1an/patch-2
...
Update web-contents.md
2017-02-13 08:16:55 -08:00
Cheng Zhao
16382162f8
Update brightray for electron/brightray#275 .
2017-02-13 19:27:21 +09:00
Cheng Zhao
4abd865989
Merge pull request #275 from electron/fix-bootstrap
...
Bootstrap: change working directory when doing submodule updates.
2017-02-13 19:26:04 +09:00
Cheng Zhao
7f7df5a6dd
Merge pull request #8537 from deepak1556/webcontents_zoom_patch
...
webContents: manage zoom changes on the browser side with HostZoomMap
2017-02-13 17:24:33 +09:00
Cheng Zhao
7d5c14e2e8
Merge pull request #273 from deepak1556/zoom_pref_patch
...
Persist zoom changes per partition
2017-02-13 17:15:31 +09:00
PoppinL
9b8e4eb6cb
Fix typo
...
Fix typo
2017-02-13 16:14:49 +08:00
Cheng Zhao
eb109cf905
Merge pull request #9 from renaesop/master
...
Add Converter<std::map<std::string, T>>::ToV8
2017-02-13 17:04:05 +09:00
Cheng Zhao
593b7cc92a
Merge pull request #8668 from electron/fix-mas
...
Update libchromiumcontent: fix usage of private API in MAS build
2017-02-13 17:03:37 +09:00
Cheng Zhao
51d5706b48
Update libchromiumcontent: fix usage of private API in MAS build
2017-02-13 16:45:43 +09:00
Weiqiang Lin
e262f6c63e
webContents to zh-CN
2017-02-12 23:12:33 +08:00
Weiqiang Lin
b7551b5d84
Class: Tray to zh-CN
2017-02-12 22:51:36 +08:00
Weiqiang Lin
dddb6458da
systemPreferences to zh-CN
2017-02-12 22:38:24 +08:00
Weiqiang Lin
c9dd59eb86
session to zh-CN
2017-02-12 22:36:08 +08:00
Weiqiang Lin
9fd9b39448
protocol to -zh-CN
2017-02-12 22:35:03 +08:00
Weiqiang Lin
6a0738aa88
powerSaveBlocker to zh-CN
2017-02-12 22:07:24 +08:00
Weiqiang Lin
50fbd5266a
powerMonitor to zh-CN
2017-02-12 22:00:09 +08:00
Fabian Zeindl
46c65ae5fc
Update session.md
2017-02-12 10:06:24 +01:00
Fabian Zeindl
5efa34ce6d
Update web-contents.md
2017-02-12 10:03:33 +01:00
deepak1556
7a0aff2bae
code cleanup
2017-02-12 01:48:24 +05:30
deepak1556
cbeaa6be87
simply handling temporary zoom levels of webview
2017-02-12 00:49:17 +05:30
deepak1556
e3fe3cc490
map webframe zoom api to use HostZoomMap
2017-02-12 00:49:17 +05:30
deepak1556
63c0e4cbb1
Add ZoomController to manager zoom changes for webcontents
2017-02-12 00:49:17 +05:30
deepak1556
07794a58aa
use zoom factor webpreference option when required.
...
* When setzoomlevel is not called for the host.
* When there is no zoom preference for the host.
2017-02-12 00:49:17 +05:30
deepak1556
b27c94368d
webContents: set zoom levels with HostZoomMap
2017-02-12 00:49:17 +05:30
Kevin Sawicki
5e78330c6d
Merge pull request #8540 from electron/SECURITY.md
...
Add SECURITY.md
2017-02-10 13:27:50 -08:00
Kevin Sawicki
9b6b8752d4
Merge pull request #8655 from electron/thai-translations
...
Add Thai translations
2017-02-10 12:18:43 -08:00
Kevin Sawicki
4d7d72256d
Remove doc linter warnings
2017-02-10 12:18:24 -08:00
Kevin Sawicki
9dd960fc97
Remove untranslated files
2017-02-10 12:06:06 -08:00
ThePooE
c49363f521
📝 Thai: translated accessibility.md
2017-02-10 11:54:51 -08:00
ThePooE
45a1ffef8f
📝 Thai: fix small line breaking, word warpping in glossary.md
2017-02-10 11:54:51 -08:00
ThePooE
43b09b7360
📝 Thai: translated glossary.md
2017-02-10 11:54:51 -08:00
ThePooE
d3bf36e12a
📝 Thai: translated styleguide.md
2017-02-10 11:54:51 -08:00
wit543
0f55468042
📝 Thai: translate the header ++
...
translate the header and opening statement
2017-02-10 11:54:51 -08:00
wit543
f4ea70d2c2
Update about.md
2017-02-10 11:54:51 -08:00
ThePooE
9ce93e6cac
📝 Thai: add English placeholders for files to be translated
2017-02-10 11:54:51 -08:00
ThePooE
a78cd79a58
📝 Thai: add link from README.md to the translated version
2017-02-10 11:54:51 -08:00
ThePooE
e008d86e76
📝 Thai: added electron-faq.md
2017-02-10 11:54:51 -08:00
ThePooE
7fdfaa13e7
📝 Thai: fully translated README.md
2017-02-10 11:54:51 -08:00
ThePooE
888dc5702f
📝 Thai: add prelude translation to README.md
2017-02-10 11:54:51 -08:00
Kevin Sawicki
b92c4f6ce5
Merge pull request #8651 from electron/new-window-docs
...
[ci skip] Improve docs for `new-window` event
2017-02-10 10:29:07 -08:00
deepak1556
0b76a9c073
Persist zoom levels per partition
2017-02-10 22:54:32 +05:30
Kevin Sawicki
e85d2f00dd
Fix linting errors around spacing and semicolons
2017-02-10 08:49:13 -08:00
Kevin Sawicki
5d0da398bf
Merge pull request #8650 from electron/will-attach-webview-docs
...
[ci skip] Improve docs for `will-attach-webview` event
2017-02-10 08:45:40 -08:00
Catalin Ionut Fratila
19d7f0733e
create-dist: Adding argument to supress api docs generation.
2017-02-10 14:26:53 +01:00
Vadim Macagon
035d9df29b
Fix example code
2017-02-10 18:02:03 +07:00
Vadim Macagon
197ad915b7
[ci skip] Improve docs for new-window event
...
This should help clarify the purpose of `event.newGuest` as per the recent discussion in #7407 .
2017-02-10 17:57:55 +07:00
Cheng Zhao
e8f689ecd3
Merge pull request #8640 from electron/fix-debug-symbols
...
Update libchromiumcontent: Fix debug symbols not generated
2017-02-10 19:11:31 +09:00
Vadim Macagon
e8f0331aeb
Improve docs for will-attach-webview event
2017-02-10 10:33:33 +07:00
Kevin Sawicki
acedc3e726
Merge pull request #8584 from electron/new-webview-event
...
Add will-attach-webview event
2017-02-09 12:40:11 -08:00
Kevin Sawicki
81addbdcbf
Remove only call
2017-02-09 11:49:14 -08:00
Kevin Sawicki
941f6c63e3
🎨 Use embedder var for clarity
2017-02-09 11:48:45 -08:00
Kevin Sawicki
a7c050107b
Remove guest from will-attach-webview event
2017-02-09 11:47:45 -08:00
Kevin Sawicki
acff2f6baf
Adjust src from will-attach-webview
2017-02-09 11:45:07 -08:00
Kevin Sawicki
8b0d3a2567
Emit attach params as well in event
2017-02-09 11:45:07 -08:00
Kevin Sawicki
792f3c3030
Document will-attach-webview
2017-02-09 11:45:07 -08:00
Kevin Sawicki
46f1a49594
new-webview -> will-attach-webview
2017-02-09 11:45:07 -08:00
Kevin Sawicki
7eda8fbdfb
Add new-webview event that can be prevented
2017-02-09 11:45:07 -08:00
Kevin Sawicki
706b9f6cbf
Add new-webview specs
2017-02-09 11:45:07 -08:00
Kevin Sawicki
5bf60ad8e8
Merge pull request #8556 from yamgent/macos-open-save-panel
...
Support message, nameFieldLabel and showsTagField for macOS dialog
2017-02-09 11:34:19 -08:00
Kevin Sawicki
5130ad24eb
🎨
2017-02-09 11:30:17 -08:00
Kevin Sawicki
35654d872b
Document new settings
2017-02-09 11:29:10 -08:00
Kevin Sawicki
f7f4de36af
Merge remote-tracking branch 'origin/master' into macos-open-save-panel
2017-02-09 11:25:05 -08:00
Kevin Sawicki
c3f3a6f133
Merge pull request #8623 from electron/dialog-options-helper
...
Add DialogSettings helper
2017-02-09 11:07:02 -08:00
Kevin Sawicki
867bb5a94e
Add DialogSettings helper struct
2017-02-09 10:13:11 -08:00
Kevin Sawicki
e7410976f0
Merge pull request #8590 from electron/showmessagebox-checkbox
...
Add support for checkbox with dialog.showMessageBox
2017-02-09 10:07:03 -08:00
Kevin Sawicki
7994acf0ea
Use CHROMEGTK_CALLBACK_0 and ignore gpointer data
2017-02-09 09:49:09 -08:00
Birunthan Mohanathas
c8c11e68c6
Add support for checkbox with dialog.showMessageBox
...
This adds the `checkboxLabel` and `checkboxChecked` options to display a
checkbox in the message box. Fixes #6048 .
2017-02-09 09:03:54 -08:00
Tan Wang Leng
347dc835b5
Fix code formatting
2017-02-09 21:51:11 +08:00
Tan Wang Leng
a4a71a1dc9
Change qualifier of ShowSaveDialog() parameter
...
The normal convention in the codebase is to not use references
or 'const' for primitives like 'bool' and 'int'.
2017-02-09 21:50:55 +08:00
Tan Wang Leng
72723646dd
Add tests to check errors in parameters
2017-02-09 21:23:02 +08:00
Volodymyr Bezuglyy
ba39adde36
Use process.env.electron_config_cache to get prepared zip file.
2017-02-09 15:15:15 +02:00
Tan Wang Leng
9423143211
Change the default value of showsTagField to true
...
The default value of showsTagField in macOS's NSSavePanel is true.
Therefore, in order to follow the standard behavior and not break
backwards-compatibility, let's change the default value of
showsTagField to true.
Reference:
https://developer.apple.com/reference/appkit/nssavepanel/1525589-showstagfield?language=objc
2017-02-09 21:01:40 +08:00
Tan Wang Leng
b0487b7d84
Fix wrong signature for gtk's ShowSaveDialog()
2017-02-09 20:10:57 +08:00
Tan Wang Leng
1bf8270c0d
🏁 Fix dialog method calls for Windows
2017-02-09 20:10:57 +08:00
Tan Wang Leng
8843fef065
📝 Update docs for new attributes in showOpenDialog()
2017-02-09 20:10:57 +08:00
Tan Wang Leng
36209ddd90
🍎 Add additional options for Mac's open dialog
...
Support an additional attributes available in macOS's NSOpenPanel:
message.
2017-02-09 20:10:57 +08:00
Tan Wang Leng
cc22149beb
📝 Update docs for new attributes in showSaveDialog()
2017-02-09 20:10:57 +08:00
Tan Wang Leng
1d612a12a1
🍎 Add additional options for Mac's save dialog
...
Support additional attributes available in macOS's NSSavePanel: message,
nameFieldLabel and showsTagField
2017-02-09 20:10:57 +08:00
Weiqiang Lin
e267a0dd41
Class: MenuItem to zh-CN
2017-02-09 17:57:27 +08:00
Weiqiang Lin
eba65eb4d3
Class: Menu to zh-CN
2017-02-09 17:34:45 +08:00
Weiqiang Lin
c7b639e282
ipcMain to zh-CN
2017-02-09 17:16:27 +08:00
Weiqiang Lin
8f542b1d69
globalShortcut to zh-CN
2017-02-09 17:08:58 +08:00
Weiqiang Lin
4a78490a6a
dialog to zh-CN
2017-02-09 17:01:30 +08:00
Weiqiang Lin
db4ad8c692
contentTracing to zh-CN
2017-02-09 16:57:41 +08:00
Weiqiang Lin
f949f83a57
BrowserWindow to zh-CN
2017-02-09 16:17:38 +08:00
Cheng Zhao
a3c5eafb16
Update libchromiumcontent to include debug symbols
2017-02-09 16:52:19 +09:00
Cheng Zhao
90492df1cb
Fix exception when executing create-dist directly
2017-02-09 16:52:19 +09:00
Weiqiang Lin
6adf1640e5
autoUpdater to zh-CN
2017-02-09 15:51:48 +08:00
Weiqiang Lin
5d35d2476d
window.open Function to zh-cn
2017-02-09 15:24:29 +08:00
Kevin Sawicki
9163b601a4
Merge pull request #8636 from electron/update-certificate-verifier-specs-for-linux-ci
...
Allow multiple verification results in specs
2017-02-08 13:56:59 -08:00
Kevin Sawicki
22b9c6e539
Allow multiple verification results
2017-02-08 13:33:07 -08:00
Kevin Sawicki
bad130f623
Merge pull request #7955 from deepak1556/veto-ssl-verify
...
session: provide chromium cert verification result to setCertificateVerifiy callback
2017-02-08 13:12:24 -08:00
Kevin Sawicki
18e15a1e53
Add spec for rejecting using old signature
2017-02-08 12:51:24 -08:00
Kevin Sawicki
1e581d6814
Use unique_ptr for passing VerifyRequestParams
2017-02-08 11:59:43 -08:00
Kevin Sawicki
70178adb6e
Use object for verification request
2017-02-08 11:59:43 -08:00
Kevin Sawicki
5245d42d15
Only document deprecation for now
2017-02-08 11:59:43 -08:00
Kevin Sawicki
9c134e7bf3
Assert certificate error
2017-02-08 11:59:43 -08:00
Kevin Sawicki
6b56dfd94b
Add spec for remote callback length
2017-02-08 11:59:43 -08:00
Kevin Sawicki
37db804099
Use NetLogWithSource since BoundNetLog no longer exists
2017-02-08 11:59:43 -08:00
Greg Nolle
e29b64a18a
modify CertVerifier Class
...
* respond to multiple similar verification requests.
* accept net error result as callback response.
2017-02-08 11:59:43 -08:00
Zeke Sikelianos
24ef8cc8ce
hardcode module path in error message
2017-02-08 11:36:38 -08:00
Kevin Sawicki
d00a96ce35
Merge pull request #8618 from electron/forward-this-in-require-wrapper
...
Forward `this` in require wrapper
2017-02-08 10:33:48 -08:00
Kevin Sawicki
e9226aa354
Assert test.coffee outside of doesNotThrow
2017-02-08 09:02:46 -08:00
Kevin Sawicki
c1773a2c94
Add coffee-script dependency to specs
2017-02-08 09:00:14 -08:00
Kevin Sawicki
090255c3f4
Upgrade node for require wrapper this fix
2017-02-08 09:00:14 -08:00
Kevin Sawicki
84f8bfbdef
Add spec for registering/requiring Coffeescript
2017-02-08 09:00:14 -08:00
Kevin Sawicki
83d31cefeb
Merge pull request #8626 from dengyaolong/master
...
complete download-item translation docs
2017-02-08 08:50:26 -08:00
Gary Wilber
11e1f6b56c
Fix lint errors
2017-02-08 00:05:16 -08:00
Gary Wilber
ed44b32ff5
Convert indentation to spaces
2017-02-07 23:08:03 -08:00
Gary Wilber
148898fb75
Implement invalidate for non-offscreen mode
2017-02-07 23:03:42 -08:00
Cheng Zhao
5cd18fe32a
Merge pull request #8619 from electron/mac-os-version-checks
...
Use IsAtLeastOS10_* version checks
2017-02-08 13:58:26 +09:00
dengyaolong
0748f4fef2
complete download-item translation docs
2017-02-08 12:38:08 +08:00
Kevin Sawicki
f9b319e4f8
Merge pull request #8624 from electron/disable-file-icon-specs-on-linux
...
Disable getFileIcon specs on Linux CI
2017-02-07 18:30:00 -08:00
Kevin Sawicki
ba03f04017
Disable getFileIcon specs on Linux CI
2017-02-07 18:24:35 -08:00
Cheng Zhao
0643d98d99
Merge pull request #8616 from electron/renew-symbol-trick
...
Simplify the trick used for referencing symbols
2017-02-08 07:56:28 +09:00
Kevin Sawicki
4630f4488e
Merge pull request #7851 from YurySolovyov/image-from-icon
...
Add an API to fetch file icon
2017-02-07 11:37:06 -08:00
Kevin Sawicki
82ac4ddf19
Large is only 48x48 on Linux
2017-02-07 11:20:27 -08:00
Kevin Sawicki
fc1b7431c7
Tweak optional syntax
2017-02-07 10:35:31 -08:00
Kevin Sawicki
a4277bb616
Document sizes
2017-02-07 10:33:44 -08:00
Kevin Sawicki
dddc6aec49
Tweak spec descriptions
2017-02-07 10:21:20 -08:00
Kevin Sawicki
683a758dab
Call done instead of skip
2017-02-07 10:16:09 -08:00
Kevin Sawicki
ee66776450
Update IconManager for Chrome 56 upgrade
2017-02-07 10:15:46 -08:00
Yury Solovyov
a9dae243b4
Fix large icon spec
2017-02-07 09:55:18 -08:00
Yury Solovyov
c810e64fda
Fix doc lint
2017-02-07 09:55:18 -08:00
Yury Solovyov
bcf0964c61
Fix more review
2017-02-07 09:55:18 -08:00
Yury Solovyov
2b60df3d8b
Fix some feedback
2017-02-07 09:55:18 -08:00
Yury Solovyov
29452364f3
Use isolate() method to get isolate
2017-02-07 09:54:22 -08:00
Yury Solovyov
c36cdb8580
Properly skip large size test on macOS
2017-02-07 09:54:22 -08:00
Yury Solovyov
1aa4fcae08
Lint tests
2017-02-07 09:54:22 -08:00
Yury Solovyov
00748889f9
Add tests
2017-02-07 09:54:22 -08:00
Yury Solovyov
c2bf5bb986
Put locker and handle scope to the top of the function. Remove unneeded header
2017-02-07 09:53:34 -08:00
Yury Solovyov
11ef2c539b
Update docs
2017-02-07 09:53:34 -08:00
Yury Solovyov
5794138ed4
Normalize path
2017-02-07 09:53:34 -08:00
Yury
1b4ee6e0d8
Image from icon node-style callback ( #2 )
...
* Try implementing node-style callbacks
* Add locker and handle scope
2017-02-07 09:53:34 -08:00
deepak1556
2e85ff1f57
Fix code style
2017-02-07 09:53:34 -08:00
Yury Solovyov
3d47c9b71d
Fix lint
2017-02-07 09:53:34 -08:00
Yury Solovyov
fe99b255c4
Add docs
2017-02-07 09:53:34 -08:00
Yury Solovyov
05cb26a174
Use object for options
2017-02-07 09:53:34 -08:00
Yury Solovyov
bec671bac8
Make size optional
2017-02-07 09:52:11 -08:00
deepak1556
ff3aaa55f7
define icon loader for liunx as separate target
2017-02-07 09:52:11 -08:00
Robo
b25b141642
create iconmanager as singleton class and cleanup code ( #1 )
...
* create iconmanager as singleton class and cleanup code
2017-02-07 09:52:11 -08:00
Yury Solovyov
1b3cd87fc9
Add icon manager to browser process
2017-02-07 09:50:17 -08:00
Yury Solovyov
602aba8723
Include proper header
2017-02-07 09:48:12 -08:00
Yury Solovyov
eb889b9b86
Get it compiling, linking till fails though
2017-02-07 09:48:12 -08:00
Yury Solovyov
d118fed5c2
Try my own class
2017-02-07 09:48:12 -08:00
Yury Solovyov
8e4ed664d9
Add icon fetching sources
2017-02-07 09:48:12 -08:00
Yury Solovyov
1d24a3a175
Add callback converters
2017-02-07 09:48:12 -08:00
Yury Solovyov
be5b907179
WIP
2017-02-07 09:48:12 -08:00
Kevin Sawicki
0f98c9d3fb
Use at least OS version checks
2017-02-07 09:32:40 -08:00
Kevin Sawicki
c3c5470a7c
Merge pull request #8542 from yamgent/webpref-numeric
...
Fix webpreferences not accepting numeric options
2017-02-07 09:15:55 -08:00
Kevin Sawicki
4de637779b
Make int converter helper an instance method
2017-02-07 09:13:42 -08:00
Tan Wang Leng
7ec88d16a6
Use base::StringToInt() instead of std::stringstream
2017-02-07 09:05:55 -08:00
Tan Wang Leng
42f65c52fb
🐛 Fix webpreferences not accepting numeric options
...
The webpreferences attribute values are parsed as strings instead
of numbers. Therefore, a conversion is required.
2017-02-07 09:05:55 -08:00
Catalin Ionut Fratila
3487c90667
Bootstrap: change working directory when doing submodule updates.
2017-02-07 11:21:58 +01:00
Cheng Zhao
84c180ac69
Simplify the trick used for referencing symbols
2017-02-07 17:09:43 +09:00
renaesop
7f2705b2d9
Print enhancement: add webContents.printerList And a print option to select printer
...
Print enhancement: add webContents.printerList And a print option to select printer
2017-02-07 12:03:29 +08:00
Electron Bot
73e753ef9a
Update to Electron v1.6.0
2017-02-06 18:23:20 -08:00
renaesop
26135b412b
Merge remote-tracking branch 'upstream/master'
...
# Conflicts:
# atom/browser/api/atom_api_web_contents.cc
# chromium_src/chrome/browser/printing/print_job_worker.cc
# chromium_src/chrome/browser/printing/print_job_worker.h
# chromium_src/chrome/browser/printing/print_view_manager_base.cc
# chromium_src/chrome/browser/printing/print_view_manager_base.h
# chromium_src/chrome/browser/printing/printer_query.cc
# chromium_src/chrome/common/print_messages.cc
# chromium_src/chrome/renderer/printing/print_web_view_helper.cc
2017-02-07 09:30:36 +08:00
Kevin Sawicki
852519a826
Bump v1.6.0
2017-02-06 16:42:00 -08:00
Kevin Sawicki
e6fe2a93f2
Merge pull request #8607 from electron/fix-win32-link
...
Fix missing of symbols when linking win32 build
2017-02-06 16:41:22 -08:00
Cheng Zhao
85e84cc0da
Fix missing of symbols when linking win32 build
2017-02-07 09:14:50 +09:00
Kevin Sawicki
a2ecef26a2
Merge pull request #8606 from electron/fix-broken-link
...
Fix broken Squirrel.Windows link
2017-02-06 16:01:40 -08:00
Charlie Hess
a35424ef25
Fix broken Squirrel.Windows link.
2017-02-06 15:54:05 -08:00
Jacob Groundwater
b8e12a0d21
Update ISSUE_TEMPLATE.md
2017-02-06 14:57:04 -08:00
Kevin Sawicki
8359c72347
Merge pull request #8501 from electron/chrome56
...
Upgrade to Chrome 56
2017-02-06 11:17:20 -08:00
Kevin Sawicki
17e94cd8dc
Merge pull request #272 from electron/chrome56
...
Upgrade to Chrome 56
2017-02-06 11:16:18 -08:00
Kevin Sawicki
dbb81e34e8
Upgrade node for modules version bump
2017-02-06 10:34:30 -08:00
Kevin Sawicki
997799ad68
Update libcc to e0da1e9
2017-02-06 10:34:30 -08:00
Cheng Zhao
ec650b3773
Update to Chrome 56.0.2924.87
2017-02-06 10:34:30 -08:00
Cheng Zhao
864a23f72b
Fix print() not working
2017-02-06 10:34:30 -08:00
Cheng Zhao
86215d4300
Allow filter to use any scheme
2017-02-06 10:34:30 -08:00
Cheng Zhao
e0c021bfef
Fix compilation waring on Mac
2017-02-06 10:34:29 -08:00
Cheng Zhao
1ed8743da8
Update Windows printing code to latest
2017-02-06 10:34:29 -08:00
Cheng Zhao
d483352f78
Fix PrintToPDF not receiving results
2017-02-06 10:34:29 -08:00
Cheng Zhao
3024d0563f
There were new defaultPrintingSetting fields added
2017-02-06 10:34:29 -08:00
Cheng Zhao
ab783413a2
Update printing code to latest
2017-02-06 10:34:29 -08:00
Cheng Zhao
75627ba6ad
Fix sync printing not working
2017-02-06 10:34:29 -08:00
Cheng Zhao
85961a0dd9
Update libchromiumcontent to fix duplicate main functions
2017-02-06 10:34:29 -08:00
Cheng Zhao
c69626336d
Link with xcb on Linux
2017-02-06 10:34:29 -08:00
Cheng Zhao
82d796ded4
Fix missing of symbols issue on Release build
2017-02-06 10:34:29 -08:00
Cheng Zhao
41f356a94d
icu's namespace has become icu_58
2017-02-06 10:34:29 -08:00
Cheng Zhao
a98e69a80d
Work around the compilation error of v8_value_converter.cc
...
We should apply this patch in future:
0232f57400 %5E%21/
2017-02-06 10:34:29 -08:00
Cheng Zhao
be29ea4dad
libgtk2ui => libgtkui
2017-02-06 10:34:29 -08:00
Cheng Zhao
820c0827c0
Fix cpplint warnings
2017-02-06 10:34:29 -08:00
Cheng Zhao
55d4d44f02
Fix Debug building on Windows
2017-02-06 10:34:29 -08:00
Cheng Zhao
6165d36351
There is a new INSERTED type of ChangeCause
...
For the purpose of compatibility, we treat it as "explicit".
2017-02-06 10:34:29 -08:00
Cheng Zhao
09fcb7fb27
Fix crash when using webview
2017-02-06 10:34:29 -08:00
Cheng Zhao
c72438f09f
WebInspector has been split up
2017-02-06 10:34:29 -08:00
Cheng Zhao
0a7c51b9aa
Fix linking on Mac
2017-02-06 10:34:29 -08:00
Cheng Zhao
fa4b8cff45
Fix error due to search for openssl headers
2017-02-06 10:34:29 -08:00
Cheng Zhao
eb3b77f43b
ScopedTempDir::path is replaced with GetPath
2017-02-06 10:34:29 -08:00
Cheng Zhao
6763977316
Update URLPattern to its latest version
2017-02-06 10:34:29 -08:00
Cheng Zhao
81784827ff
PrintWebViewHelper is attached to RenderFrame
2017-02-06 10:34:29 -08:00
Cheng Zhao
234e1bb811
base::Bind now prevents the case with no arguments
2017-02-06 10:34:29 -08:00
Cheng Zhao
411696ca19
Clear is replaced with ClearEntriesAddedWithin
2017-02-06 10:34:29 -08:00
Cheng Zhao
8a6fd685e3
Interface of crashpad_client.StartHandler has changed
...
Refs:
7b9234c4b2 %5E%21/
2017-02-06 10:34:29 -08:00
Cheng Zhao
4a14b17255
WindowOpenDisposition has become enum class
2017-02-06 10:34:29 -08:00
Cheng Zhao
6d5339b74e
insertText is deprecated
2017-02-06 10:34:29 -08:00
Cheng Zhao
5e43ea227e
purgedSize and purgeableSize are removed by Chrome
2017-02-06 10:34:29 -08:00
Cheng Zhao
6d323dd6fe
web/WebInputEvent.h is moved to platform/WebInputEvent.h
2017-02-06 10:34:29 -08:00
Cheng Zhao
53bf82dd7c
Update URLRequestFetchJob
2017-02-06 10:34:29 -08:00
Cheng Zhao
e7f3a25626
Update OffScreenRenderWidgetHostView
2017-02-06 10:34:29 -08:00
Cheng Zhao
2e0780308c
allowDisplayingInsecureContent is removed by Chrome
2017-02-06 10:34:29 -08:00
Cheng Zhao
47c1bc9f66
Update ResponsePiper
2017-02-06 10:34:29 -08:00
Cheng Zhao
5cf2873b77
net::FtpProtocolHandler has changed its constructor
2017-02-06 10:34:29 -08:00
Cheng Zhao
5162905fe4
Update widevine_cdm_messages.h
2017-02-06 10:34:29 -08:00
Cheng Zhao
1a15b45736
--cipher-suite-blacklist is also removed
2017-02-06 10:34:29 -08:00
Cheng Zhao
dc9000f344
--ssl-version-fallback-min is removed by Chrome
2017-02-06 10:34:28 -08:00
Cheng Zhao
3ea6d88763
Update AtomCertVerifier
2017-02-06 10:34:28 -08:00
Cheng Zhao
c0697d8abe
SetupFilter is replaced with SetUpSourceStream
2017-02-06 10:34:28 -08:00
Cheng Zhao
9882e87fbd
Update OffScreenOutputDevice
2017-02-06 10:34:28 -08:00
Cheng Zhao
c2f3bbb3e6
Update OffScreenWebContentsView
2017-02-06 10:34:28 -08:00
Cheng Zhao
a95bd227c3
Update atom::Browser
2017-02-06 10:34:28 -08:00
Cheng Zhao
e91eed6758
FOR_EACH_OBSERVER is removed
2017-02-06 10:34:28 -08:00
Cheng Zhao
85749e4dbd
Update AtomJavaScriptDialogManager
2017-02-06 10:34:28 -08:00
Cheng Zhao
6eaa30e94c
Update AtomResourceDispatcherHostDelegate
2017-02-06 10:34:28 -08:00
Cheng Zhao
13a1d79ca6
Deperecate AtomSecurityStateModelClient with SecurityStateTabHelper
2017-02-06 10:34:28 -08:00
Cheng Zhao
3224c39371
Mac's version checking function has changed
2017-02-06 10:34:28 -08:00
Cheng Zhao
1d29b23662
Update api::WebContents
2017-02-06 10:34:28 -08:00
Cheng Zhao
231173aa90
Namespace of ChangeCause has changed
2017-02-06 10:34:28 -08:00
Cheng Zhao
d4e3dade39
WindowCapturer and ScreenCapturer are merged to DesktopCapturer
2017-02-06 10:34:28 -08:00
Cheng Zhao
7a7b72ce04
SimpleMenuModel::MenuClosed renamed to MenuWillClose
2017-02-06 10:34:28 -08:00
Cheng Zhao
c10eb73166
Signature of OnCreateWindow has changed
2017-02-06 10:34:28 -08:00
Cheng Zhao
d8e9432b0d
contentTracing.setWatchEvent/cancelWatchEvent is removed
2017-02-06 10:34:28 -08:00
Cheng Zhao
0a91779dfa
Node also defines LIKELY
2017-02-06 10:34:28 -08:00
Cheng Zhao
074cad9146
A few new V8 defines
2017-02-06 10:34:28 -08:00
Cheng Zhao
406224edff
enable_pepper_cdms is now a feature flag
...
So we should not define it anymore.
2017-02-06 10:34:28 -08:00
Cheng Zhao
c1df762656
Update crashpad to 556c4e4
2017-02-06 10:34:28 -08:00
Cheng Zhao
b83676f9e9
Update to Chrome 56
2017-02-06 10:34:28 -08:00
Electron Bot
381f8ffae7
Update to Electron v1.5.1
2017-02-06 10:00:16 -08:00
Kevin Sawicki
1518ff5ddf
Bump v1.5.1
2017-02-06 08:56:48 -08:00
Kevin Sawicki
18357512f3
Merge pull request #8515 from electron/auto-launch-squirrel-support
...
Support custom launch path in app.setLoginItemSettings
2017-02-06 08:55:32 -08:00
Kevin Sawicki
1b3d3b6b75
Use return value of GetProcessExecPath
2017-02-06 08:34:35 -08:00
CharlieHess
1178915f30
Ensure backwards compatibility with getLoginItemSettings.
...
We need to make sure the executable path is not quoted.
2017-02-06 08:34:35 -08:00
Kevin Sawicki
b7b200c874
Fix typo in getLoginItemSettings doc
2017-02-06 08:34:35 -08:00
Kevin Sawicki
1c6a07c68d
Clear Update.exe login item settings in afterEach
2017-02-06 08:34:35 -08:00
Kevin Sawicki
3c2539eced
Update example to use new option keys
2017-02-06 08:34:35 -08:00
Kevin Sawicki
e2501a80e4
Add path and args to LoginItemSettings struct
2017-02-06 08:34:35 -08:00
Charlie Hess
29d0a30d63
Oh, browser_linux is a thing too.
2017-02-06 08:34:35 -08:00
CharlieHess
25bc02f332
Don't append "%1" in the Run registry key.
...
It's only necessary for the protocol launch path.
2017-02-06 08:34:35 -08:00
Charlie Hess
d2ffd87668
I will never appreciate standard.
2017-02-06 08:34:35 -08:00
CharlieHess
852e158cc6
Make sure the spec takes arguments into account.
2017-02-06 08:34:35 -08:00
Charlie Hess
4fce00148d
Add a spec for this behavior on Windows.
2017-02-06 08:34:35 -08:00
Charlie Hess
26d4a3b0ba
Fix method signature on macOS.
2017-02-06 08:34:35 -08:00
CharlieHess
02dfdf75a0
Line Lengths!
2017-02-06 08:34:35 -08:00
CharlieHess
45e2f35eff
Provide guidance in the docs.
2017-02-06 08:34:35 -08:00
CharlieHess
62c8a00347
This is rubbish let's pull the escape hatch.
...
Make all these arguments user-provided instead.
2017-02-06 08:34:35 -08:00
CharlieHess
0a6a8192b6
Close to a working Squirrel shortcut.
2017-02-06 08:34:35 -08:00
Charlie Hess
39b6bcb621
First pass at auto-launch supporting Squirrel.
2017-02-06 08:34:35 -08:00
renaesop
023a3fd547
Print enhancement: add webContents.printerList And a print option to select printer
2017-02-06 17:18:04 +08:00
renaesop
7197368c6d
Add Converter<std::map<std::string, T>>::ToV8
2017-02-06 16:54:11 +08:00
Cheng Zhao
6e2f9935fe
Update to Chrome 56.0.2924.87
2017-02-06 10:11:37 +09:00
Kevin Sawicki
093b844859
Merge pull request #8509 from electron/upgrading-chrome-doc
...
Add initial upgrading chrome checklist
2017-02-03 09:58:29 -08:00
Zeke Sikelianos
6df446baba
Merge pull request #8583 from crowchirp/docs-typo-fixes
...
Docs typo fixes
2017-02-03 09:55:43 -08:00
Kevin Sawicki
de18f09588
Add initial upgrading chrome checklist
2017-02-03 09:54:34 -08:00
Kevin Sawicki
2f3578679f
Merge pull request #8572 from electron/content-tracing-app-ready
...
Document using content tracing after app ready
2017-02-03 09:53:53 -08:00
Kevin Sawicki
7b3e998cc6
Use content tracing after app ready
2017-02-03 09:45:18 -08:00
Kevin Sawicki
cf694ef32b
Merge pull request #8570 from electron/force-refresh-menu-role
...
Add forcereload menu item role
2017-02-03 09:44:57 -08:00
Kevin Sawicki
b1f260ac87
Add forcereload to MenuItem doc
2017-02-03 09:39:41 -08:00
Kevin Sawicki
fb08f56fc8
Add forcereload menu item role
2017-02-03 09:39:41 -08:00
Kevin Sawicki
555347e726
Merge pull request #8569 from electron/webview-default-node-integration
...
Mention presence of webview attributes enables them
2017-02-03 09:39:22 -08:00
Kevin Sawicki
50b9dfa61a
Use querySelector to make examples more portable
2017-02-03 09:32:15 -08:00
Kevin Sawicki
4539a6f4d5
Change wording from on to present
2017-02-03 09:32:15 -08:00
Kevin Sawicki
4abbd65628
Merge pull request #8568 from electron/initialize-color-listener-after-app-is-ready
...
Initialize color listener after app is ready
2017-02-03 09:31:58 -08:00
Kevin Sawicki
5973aa36ad
Initialize color listener after app is ready
2017-02-03 09:00:18 -08:00
Kevin Sawicki
62a400b7d6
Merge pull request #8566 from electron/prompt-to-create-property
...
Support returning non-existent file paths from Windows open dialog
2017-02-03 08:58:52 -08:00
Chandan Rai
75ec73d6fe
Merge remote-tracking branch 'origin/patch-3' into docs-typo-fixes
2017-02-03 22:23:35 +05:30
Chandan Rai
1a3abb61ed
Merge remote-tracking branch 'origin/patch-2' into docs-typo-fixes
2017-02-03 22:23:21 +05:30
Chandan Rai
4a6cbd76c8
corrected typo
2017-02-03 19:26:37 +05:30
Chandan Rai
9e7bcda07d
corrected typo
2017-02-03 19:11:37 +05:30
Chandan Rai
93b0a2caa1
corrected typo
2017-02-03 18:58:21 +05:30
Kevin Sawicki
930a5c6de2
Merge pull request #8565 from electron/protocol-client-specs
...
Add protocol client specs on Windows
2017-02-02 12:48:19 -08:00
Kevin Sawicki
daff671afc
Add protocol constant
2017-02-02 12:48:09 -08:00
Kevin Sawicki
a60f341968
Add procotol client specs on Windows
2017-02-02 12:48:09 -08:00
Kevin Sawicki
604c2470bc
Merge pull request #8561 from liusy182/!-liusy182-br
...
add 'code' property in 'before-input-event''s 'input' argument
2017-02-02 10:33:20 -08:00
Kevin Sawicki
9fef6a1fd7
Add support for FOS_CREATEPROMPT option
2017-02-02 08:51:10 -08:00
liusy182
2cf6a026d8
fix linting error
2017-02-02 21:16:30 +08:00
liusi
87392ff046
'before-input-event' is missing the code property #8471
2017-02-02 16:23:07 +08:00
Kevin Sawicki
dc1c11a841
Merge pull request #8487 from leethomas/feature/osx-relative-window-levels
...
Feature/macOS relative window levels
2017-01-30 15:34:24 -08:00
Kevin Sawicki
9b2b6da3a3
Wrap params at 80 characters
2017-01-30 15:32:05 -08:00
Kevin Sawicki
2cacaa443a
Indent relativeLevel docs
2017-01-30 15:27:51 -08:00
Zeke Sikelianos
f0882a5058
use consistent headings
2017-01-30 10:57:53 -08:00
Zeke Sikelianos
1945771f37
Add SECURITY.md
2017-01-30 10:49:17 -08:00
Kevin Sawicki
37eebb1dd0
Merge pull request #8539 from electron/require-wrapper
...
Update require wrapper to allow redefinition of process and global
2017-01-30 10:36:15 -08:00
Kevin Sawicki
94cb605993
Use strictEqual for global variable asserts
2017-01-30 10:08:12 -08:00
Kevin Sawicki
e99b1709d9
Redeclare process/global as strings
2017-01-30 09:58:44 -08:00
Kevin Sawicki
4e5b8ac3ee
Remove throws and assert object directly
2017-01-30 09:38:15 -08:00
James Ide
0430380de1
Update the Node submodule to use the new module wrapper
...
See the fixed issue for the context. This pulls in a vendored copy of Node that includes the described patch.
Fixes #8358
Test Plan: Built Electron and verified it loaded the sample app correctly and that the module wrapper is the new one by viewing Node's source code in the Blink Inspector.
Added specs and tested with `npm test -- --grep "global variables"`
2017-01-30 09:37:14 -08:00
Cheng Zhao
4afc765e28
Link with xcb on Linux
2017-01-30 15:28:24 +09:00
Cheng Zhao
8488425e06
Link with fontsub.lib
2017-01-27 17:11:33 +09:00
Cheng Zhao
766d3c47bb
Link with ncrypt.lib on Windows
2017-01-27 17:09:44 +09:00
leethomas
edbb786fb4
use kCGMinimumWindowLevelKey to get the minimum level
2017-01-26 19:12:10 -08:00
Kevin Sawicki
6e2f977f7a
Merge pull request #8511 from electron/start-drag-crash
...
Fix startDrag crash on macOS with empty image
2017-01-26 17:10:21 -08:00
Kevin Sawicki
76e5589a31
Schedule function after executeJavaScript completes
2017-01-26 16:15:10 -08:00
Kevin Sawicki
651ea7ef02
Merge pull request #8421 from oukan/feature/translate-zh-CN
...
translate zh cn
2017-01-26 15:48:57 -08:00
Kevin Sawicki
eb6d92d427
Mention image cannot be empty on macOS
2017-01-26 15:46:04 -08:00
Kevin Sawicki
e683f28e32
Require a non-empty drag image to prevent crash
2017-01-26 15:46:04 -08:00
Kevin Sawicki
8ce1930f0d
Add specs for missing startDrag options
2017-01-26 15:46:04 -08:00
Kevin Sawicki
2ee5f6f358
Merge pull request #8507 from electron/fix-node-upgrade-patches
...
Redo node 7.4 error handling patch
2017-01-26 15:43:58 -08:00
Kevin Sawicki
06c025050e
Fix typo in spec description
2017-01-26 14:46:51 -08:00
Kevin Sawicki
ff718b19db
Upgrade node for new 7.4 patches and changes
2017-01-26 14:46:50 -08:00
Kevin Sawicki
1004d205d8
Add spec for unhandledRejection event in main process
2017-01-26 14:46:50 -08:00
Kevin Sawicki
24fb560a9d
Add failing spec for uncaught main process errors
2017-01-26 14:46:50 -08:00
Kevin Sawicki
a4e25a8917
Merge pull request #8519 from electron/consolidate-panel-showing
...
Use helper function to show last dev tools panel
2017-01-26 14:44:45 -08:00
Kevin Sawicki
2cfa67bdff
Remove linter warning
2017-01-26 09:59:07 -08:00
Kevin Sawicki
a851695bb9
Clear interval before setting new one
2017-01-26 09:57:53 -08:00
Kevin Sawicki
e2e33a8cf0
Guard against destroyed window or web contents
2017-01-26 09:57:00 -08:00
Kevin Sawicki
515f689814
Use helper function to show last dev tools panel
2017-01-26 09:42:45 -08:00
Kevin Sawicki
640b03f7d0
Merge pull request #8510 from electron/empty-image-crashes
...
Fix empty image crashes
2017-01-26 09:08:52 -08:00
leethomas
b67d515a76
fix signature for SetAlwaysOnTop in native window views
2017-01-26 07:24:20 -08:00
leethomas
9e189b9d2d
fix js lint errors
2017-01-26 07:14:47 -08:00
Cheng Zhao
abececd78b
libgtk2ui => libgtkui
2017-01-26 20:02:01 +09:00
Cheng Zhao
a749a3dd2a
Fix Debug building on Windows
2017-01-26 16:09:45 +09:00
leethomas
1234b61fa6
spec to ensure an error is thrown when relativeLevel is set out of bounds
2017-01-25 19:39:57 -08:00
Kevin Sawicki
104cae8f68
Only call getNativeHandle on macOS
2017-01-25 14:26:05 -08:00
Kevin Sawicki
e1281342f6
Return empty buffers when image is empty
2017-01-25 14:26:05 -08:00
Kevin Sawicki
2ad46f1842
Add failing spec for empty image crashes
2017-01-25 14:26:05 -08:00
Kevin Sawicki
8e69f94df0
Merge pull request #8357 from electron/remote-events-error-message
...
Don't crash when calling stale remote listeners
2017-01-25 14:23:57 -08:00
Kevin Sawicki
330ac5f266
Fix standard linting error
2017-01-25 12:36:55 -08:00
Kevin Sawicki
56a8eb3a94
Check that sender is a WebContents instance
2017-01-25 12:36:55 -08:00
Charlie Hess
ddedcf22d1
Move console.warn inside the helper method.
2017-01-25 12:36:55 -08:00
Charlie Hess
f6410d3b77
Assert that listener count decreases after a remove event.
2017-01-25 12:36:55 -08:00
Charlie Hess
c213971a2d
Write a warning instead of crashing.
2017-01-25 12:36:55 -08:00
Charlie Hess
bc2f1e8199
Argh.
2017-01-25 12:36:55 -08:00
Charlie Hess
63d8137da2
Use EventEmitter public methods instead of _events.
2017-01-25 12:36:55 -08:00
Kevin Sawicki
45986405b8
Assert remote event names
2017-01-25 12:36:55 -08:00
Charlie Hess
b04db2e546
Add a spec for the "renderer window closed" error.
2017-01-25 12:36:55 -08:00
Charlie Hess
a0b24bd155
Simplify.
2017-01-25 12:36:55 -08:00
Charlie Hess
67f7a60524
Review CommentZ
2017-01-25 12:36:55 -08:00
Charlie Hess
41ea169784
L I N T I N G P T I I
2017-01-25 12:36:55 -08:00
Charlie Hess
49c6446267
L I N T I N G
2017-01-25 12:36:55 -08:00
Charlie Hess
26e3ad3c2e
Display more information about remote event crashes.
...
If possible, we'll dig into the function args and print the ones that are attached remotely.
2017-01-25 12:36:55 -08:00
Kevin Sawicki
c13ea6eb36
Merge pull request #8497 from electron/enable-crash-reporter-specs-on-ci
...
Run crash reporter server specs on CI
2017-01-25 10:54:56 -08:00
Kevin Sawicki
f104e019be
Run crash reporter server specs on CI
2017-01-25 10:36:16 -08:00
Kevin Sawicki
8e39aea34a
Merge pull request #8478 from deepak1556/load_url_max_char_patch
...
WebContents: emit did-fail-load event when url exceeds character limit
2017-01-25 09:46:40 -08:00
deepak1556
d8a16a8ffb
fix spec
2017-01-25 14:20:33 +05:30
leethomas
1f5518b91e
throw an error for out of bounds window levels
2017-01-24 20:14:09 -08:00
Cheng Zhao
94fdcb4f48
WebInspector has been split up
2017-01-25 08:43:27 +09:00
Kevin Sawicki
90470617ab
Merge pull request #8430 from ramya-rao-a/crash-for-children-docs
...
Updated docs for crash reporter to support child processes
2017-01-24 14:08:36 -08:00
Kevin Sawicki
ce6a46ee59
Use template strings
2017-01-24 14:08:10 -08:00
Kevin Sawicki
108a3473ed
Use crashesDirectory in example
2017-01-24 14:07:00 -08:00
Kevin Sawicki
4985e073c4
Mention how to test
2017-01-24 14:04:56 -08:00
Kevin Sawicki
7b03c05b4e
Capitalize Electron, fence as JS
2017-01-24 14:03:54 -08:00
Kevin Sawicki
ce472315f4
Merge pull request #8109 from ramya-rao-a/crash-for-children
...
Expose crash reporter start for child node processes
2017-01-24 14:02:47 -08:00
Kevin Sawicki
43ef4faf79
🎨
2017-01-24 14:00:03 -08:00
Kevin Sawicki
795b674996
Add StartInstance helper on CrashReporter
2017-01-24 13:54:46 -08:00
Kevin Sawicki
170c51ae85
Add spec for crashing node process
2017-01-24 13:49:45 -08:00
Ramya Achutha Rao
241773f2f0
Clean up testing code written for crash for children
2017-01-24 12:44:39 -08:00
Ramya Achutha Rao
d453dbdb40
Support crash reporting from child process in Windows
2017-01-24 12:44:39 -08:00
Ramya Achutha Rao
2814e04e7d
Getting rid of linting errors
2017-01-24 12:44:39 -08:00
Kevin Sawicki
f1cd1c6dff
Use mate::Dictionary::CreateEmpty
2017-01-24 12:44:39 -08:00
Kevin Sawicki
4107174cfd
Group includes
2017-01-24 12:44:39 -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
61aff5ed35
Merge pull request #8495 from electron/fullscreen-spec
...
Wait for window to transition before leaving full screen
2017-01-24 12:32:14 -08:00
Kevin Sawicki
6bb331356e
Finish spec when full screen is left
2017-01-24 11:55:13 -08:00
Kevin Sawicki
284ca3114b
Wait for window to transition before leaving full screen
2017-01-24 11:55:13 -08:00
Kevin Sawicki
e1fe5f4fbf
Merge pull request #8496 from electron/upgrade-ffi
...
Upgrade to ffi@2.2.0
2017-01-24 11:54:59 -08:00
Kevin Sawicki
2762ead5a4
Upgrade to ffi@2.2.0
2017-01-24 11:25:21 -08:00
Kevin Sawicki
0ca5ad754e
Merge pull request #8452 from electron/document-build
...
Document toolchains used for building official Electron releases
2017-01-24 10:53:33 -08:00
Kevin Sawicki
4f6750a460
Update build doc to Xcode 8.2.1
2017-01-24 10:49:42 -08:00
Electron Bot
e534e8623e
Update to Electron v1.5.0
2017-01-24 10:20:22 -08:00
Kevin Sawicki
1960327918
Bump v1.5.0
2017-01-24 08:27:37 -08:00
Kevin Sawicki
8c9ebbeec2
Merge pull request #8483 from electron/upgrade-libcc
...
Upgrade libcc to b4dd78df
2017-01-24 08:26:42 -08:00
Kevin Sawicki
9f03a166f7
Upgrade libcc to b4dd78df
2017-01-24 08:01:22 -08:00
Cheng Zhao
ce71d16fdd
Link with CoreWLAN.framework
2017-01-24 21:12:26 +09:00
Cheng Zhao
7cdcce157a
devtools_discovery and devtools_http_handler are part of content module now
2017-01-24 17:38:24 +09:00
Cheng Zhao
de7da8e4be
Export boringssl's include dir to dependents
2017-01-24 17:32:46 +09:00
leethomas
fb741285c6
update documentation
2017-01-23 23:42:38 -08:00
leethomas
7a0a87a6f3
implement relative window levels, closes #8153
2017-01-23 23:42:33 -08:00
Kevin Sawicki
034230e2ae
Merge pull request #8475 from milkit/fix-translation-jp
...
Fix Japanese translation
2017-01-23 09:35:01 -08:00
Kevin Sawicki
68ca873fa8
Merge pull request #8472 from javan/patch-1
...
Remove note in "did-fail-load" about redirect responses
2017-01-23 09:34:42 -08:00
Kevin Sawicki
3312f98121
Merge pull request #8467 from electron/upgrade-multiparty
...
Upgrade multiparty for os.tmpdir fix
2017-01-23 09:27:34 -08:00
Kevin Sawicki
33820ffb85
Upgrade multiparty for os.tmpdir fix
2017-01-23 09:22:08 -08:00
deepak1556
593a3de850
add spec
2017-01-23 19:57:47 +05:30
Cheng Zhao
bf4c413947
Update PlatformNotificationService
2017-01-23 17:48:16 +09:00
Cheng Zhao
ac4ef926e1
URLRequestContenxtGetter now accepts task runner
2017-01-23 15:43:17 +09:00
Cheng Zhao
622fd8d1d7
Update InspectableWebContentsImpl
2017-01-23 15:43:17 +09:00
Cheng Zhao
db7959619e
Update DevToolsNetworkUploadDataStream
2017-01-23 15:18:52 +09:00
Cheng Zhao
70ffec1134
There is no content::MEDIA_ENUMERATE_DEVICES anymore
2017-01-23 15:14:38 +09:00
Cheng Zhao
43813ff680
Add a new include dir from boringssl
2017-01-23 15:13:28 +09:00
Cheng Zhao
0236f87507
Update DevToolsNetworkTransaction
2017-01-23 15:10:34 +09:00
Cheng Zhao
e7ee9f1be9
DevToolsDelegate is no longer needed
2017-01-23 15:07:18 +09:00
Cheng Zhao
804d56e139
Signature of StartDataRequest has changed
2017-01-23 14:55:06 +09:00
Cheng Zhao
eb89edbf5b
devtools_discovery and devtools_http_handler are gone
2017-01-23 14:54:58 +09:00
Cheng Zhao
f560fd56aa
Update libchromiumcontent to Chrome 56
2017-01-23 14:34:57 +09:00
Shunki Tan
05b6f95ab8
Fix Japanese translation
2017-01-23 11:35:06 +09:00
Javan Makhmali
68eaf1fb9f
Remove note in "did-fail-load" about redirect responses
...
ERR_ABORTED is suppressed now (https://github.com/electron/electron/pull/6201 )
2017-01-22 16:39:42 -05:00
Weiqiang Lin
851a7578fa
<webview> Tag to zh-CN
2017-01-22 14:18:34 +08:00
Weiqiang Lin
0d259a6eb0
File Object to zh-CN
2017-01-22 14:17:59 +08:00
Weiqiang Lin
86521f325b
Synopsis to zh-CN
2017-01-22 14:17:29 +08:00
Weiqiang Lin
64a1b1c474
Supported Chrome Command Line Switches to zh-CN
2017-01-22 14:16:59 +08:00
Weiqiang Lin
cf54c4cbb2
testing-on-headless-ci.md to zh-CN
2017-01-22 14:15:51 +08:00
Kevin Sawicki
91ed9aeeee
Merge pull request #8464 from schwalbe10/translation_jp
...
Fix a typo
2017-01-21 10:41:30 -08:00
Kevin Sawicki
bc001f8816
Merge pull request #8463 from electron/patch-about-md
...
Fixing missing link
2017-01-21 10:41:14 -08:00
schwalbe10
56882c31bd
Fix a typo
2017-01-21 23:12:37 +09:00
Samuel Attard
8fe8dfa410
Fixing missing link
2017-01-22 00:12:43 +11:00
deepak1556
f9dc08baf6
emit did-fail-load event when the url char length exceeds limit
2017-01-21 14:59:20 +05:30
deepak1556
54559f99a0
Fix dereferencing nullptr
...
RenderWidgetHostView might not be available when
the navigator fails to load a url.
2017-01-21 14:56:58 +05:30
Kevin Sawicki
91c70a66cb
Link to Xcode 7.3.1 DMG
2017-01-20 08:16:17 -08:00
Kevin Sawicki
edcea3e800
Merge pull request #8456 from yuya-oc/docs-security
...
Add to security checklist about permission requests
2017-01-20 08:04:01 -08:00
Yuya Ochiai
11f2574fda
📝 Add to security checklist about permission requests
...
If the handler is not set, remote content can access to user's
information without allowing the permission. e.g. UserMedia
[ci skip]
2017-01-20 23:58:21 +09:00
Yuya Ochiai
a7a3aa848e
📝 Fix typo
...
[ci skip]
2017-01-20 23:45:48 +09:00
Birunthan Mohanathas
b145131505
Mention VS2015 Update 3 to match CI environment
2017-01-20 07:19:43 +02:00
Birunthan Mohanathas
410f3c03d4
Document use of Xcode 7.3.1 with 10.10 SDK for release builds
2017-01-20 07:19:07 +02:00
Kevin Sawicki
8a22139d57
Merge pull request #8451 from electron/upgrade-clang
...
Upgrade to clang 278861
2017-01-19 15:56:38 -08:00
Kevin Sawicki
6a80cd2b7e
Upgrade to clang 278861
2017-01-19 15:32:03 -08:00
Kevin Sawicki
22b21d04bd
Merge pull request #8406 from electron/use_gn-chrome54
...
Use gn chrome54
2017-01-19 13:33:48 -08:00
Kevin Sawicki
5715dfcf17
Merge pull request #269 from electron/use_gn-chrome54
...
Use gn chrome54
2017-01-19 10:56:00 -08:00
Electron Bot
32039ef9a6
Update to Electron v1.4.15
2017-01-19 10:10:28 -08:00
Kevin Sawicki
2cddb5bb4e
Bump v1.4.15
2017-01-19 08:32:42 -08:00
Birunthan Mohanathas
a560df3327
Update node to pick up Windows compilation fix
2017-01-19 09:05:59 +02:00
Kevin Sawicki
14d48e9653
Update .node-version to 7.4
2017-01-19 09:05:59 +02:00
Kevin Sawicki
c374e37cc4
Leak IsolateData since Environment is also leaked
2017-01-19 09:05:59 +02:00
Kevin Sawicki
54e2c480cb
Upgrade to node 7.4
2017-01-19 09:05:59 +02:00
Kevin Sawicki
43067e01e9
Upgrade to latest libcc
2017-01-19 09:05:59 +02:00
Birunthan Mohanathas
ab4a055c05
Correct version in chrome_version.h
2017-01-19 09:05:59 +02:00
Cheng Zhao
c774bb47c5
Update to latest libchromiumcontent
2017-01-19 09:05:59 +02:00
Ales Pergl
a52d780e7a
Update brightray and crashpad
2017-01-19 09:05:59 +02:00
Kevin Sawicki
b6d0201c73
Upgrade to Chrome 54.0.2840.101
2017-01-19 09:05:59 +02:00
Kevin Sawicki
1b036a284d
Add basic inspectElement spec
2017-01-19 09:05:59 +02:00
Kevin Sawicki
602db2e04f
🎨
2017-01-19 09:05:59 +02:00
Kevin Sawicki
f0ceb4f065
Use SetNeedsBeginFrames from IPC handler
2017-01-19 09:05:59 +02:00
Kevin Sawicki
d71f10c5a3
Implement GetScreenInfo
2017-01-19 09:05:59 +02:00
Kevin Sawicki
39ddeff5c3
Implement SetNeedsBeginFrames
2017-01-19 09:05:59 +02:00
Kevin Sawicki
cc183524fd
Only remove webview when non-null
2017-01-19 09:05:59 +02:00
Kevin Sawicki
b0ee46f862
Use === in specs
2017-01-19 09:05:59 +02:00
Kevin Sawicki
443040e8d7
Call InspectElement directly on InspectableWebContents
2017-01-19 09:05:59 +02:00
Kevin Sawicki
d6eb0d6629
Implement insertCSS on webFrame
2017-01-19 09:05:59 +02:00
Kevin Sawicki
017df93ffa
Add failing spec for insertCSS
2017-01-19 09:05:59 +02:00
Kevin Sawicki
2f5acfedcd
Add spec for denying perm requests when handler is cleared
2017-01-19 09:05:59 +02:00
Kevin Sawicki
18675cc6c1
Implement RequestPermissions using request handler
2017-01-19 09:05:59 +02:00
Kevin Sawicki
977680d00b
Add spec for midi without sysex permission
2017-01-19 09:05:59 +02:00
Kevin Sawicki
2f26dbf39e
Update type to level in debugger message spec
2017-01-19 09:05:59 +02:00
Kevin Sawicki
873e6e5e6b
Append form to body before submitting
2017-01-19 09:05:59 +02:00
Cheng Zhao
20b70b367e
Update to latest libchromiumcontent
2017-01-19 09:05:59 +02:00
Cheng Zhao
f2a30afcf1
Fix linking for arm build
2017-01-19 09:05:59 +02:00
Cheng Zhao
ec134e7536
Fix building error for arm linux
2017-01-19 09:05:59 +02:00
Cheng Zhao
0568fa30ca
Fix linking for Windows
2017-01-19 09:05:59 +02:00
Cheng Zhao
6e0762a540
Fix building on Windows
2017-01-19 09:05:59 +02:00
Cheng Zhao
af212a9f67
Update libchromiumcontent for the rebase
2017-01-19 09:05:59 +02:00
Cheng Zhao
ebb4c93994
Fix linking error for x64 Linux build
2017-01-19 09:05:59 +02:00
Cheng Zhao
fd2fdb5475
Fix linking problem with libgtk2ui
2017-01-19 09:05:59 +02:00
Cheng Zhao
88f6f5d1b2
Fix compilation errors for Linux
2017-01-19 09:05:59 +02:00
Cheng Zhao
93a27fd3a9
Fix linking errors on Mac
2017-01-19 09:05:59 +02:00
Cheng Zhao
497f5a1199
Update files for Chrome 54 API changes
2017-01-19 09:05:59 +02:00
Cheng Zhao
bdc334d797
Update brightray and libchromiumcontent to Chrome 54
2017-01-19 09:05:59 +02:00
Jacob Groundwater
6520396466
update atom_browser_client.h
2017-01-19 09:05:44 +02:00
Jacob Groundwater
9716e2745b
WIP: chrome 54 update
2017-01-19 09:05:44 +02:00
Ales Pergl
5b3d0f86f7
Adjustments after migrating libchromiumcontent to GN
2017-01-19 09:05:44 +02:00
Kevin Sawicki
b90e23306e
Merge pull request #8428 from electron/upgrade-libcc-for-webm-muxer-fix
...
Upgrade libcc for webm muxer patch
2017-01-18 21:15:58 -08:00
Kevin Sawicki
8cc29c2e22
Upgrade libcc for webm muxer patch
2017-01-18 20:56:44 -08:00
Kevin Sawicki
a3af6bd9f5
Merge pull request #8441 from watilde/feature/tweak-kiosk
...
do not call SetFullScreen in SetKiosk if it's already fullscreen mode
2017-01-18 16:17:31 -08:00
Daijiro Wachi
a23d8ed702
do not call SetFullScreen in SetKiosk if it's already fullscreen mode
2017-01-19 00:40:34 +01:00
Kevin Sawicki
3766fb6652
Merge pull request #8437 from electron/set-version-for-electron-api-json
...
set version arg when creating electron-api.json
2017-01-18 15:13:30 -08:00
Kevin Sawicki
a7891e584a
Merge pull request #8438 from electron/restore-thick-frame-fullscreen-handler
...
Restore thick frame full screen code path
2017-01-18 15:12:50 -08:00
Kevin Sawicki
e82b41724d
Restore thick frame full screen case
2017-01-18 14:40:42 -08:00
Zeke Sikelianos
6af7cfff33
fix syntax and use relative path to electron-api.json target
2017-01-18 11:52:09 -08:00
Zeke Sikelianos
057fda5352
set version arg when creating electron-api.json
2017-01-18 11:00:13 -08:00
Kevin Sawicki
71512ad244
Merge pull request #8432 from hrubilov/patch-1
...
Typo fixed
2017-01-18 09:02:18 -08:00
hrubilov
edb3967a0f
Typo fixed
2017-01-18 14:12:27 +03:00
Ramya Achutha Rao
dc5129f32e
Updated docs for crash reporter to support child processes
2017-01-17 21:59:23 -08:00
Kevin Sawicki
e3cfb8ae5f
Upgrade libcc to latest
2017-01-17 14:09:22 -08:00
Zeke Sikelianos
ade16a7823
Merge pull request #8365 from destan/patch-3
...
printToPDF: `landscape` ignored if `@page` is used
2017-01-17 13:50:37 -08:00
Kevin Sawicki
f7bdf5d04e
Merge pull request #8399 from watilde/feature/fixes-8338
...
save a fullscreen state when Kiosk mode is called
2017-01-17 13:03:51 -08:00
Kevin Sawicki
dcbc10ac38
Merge pull request #8417 from electron/flaky-travis-specs
...
Disable flaky specs on Travis
2017-01-17 08:48:59 -08:00
Kevin Sawicki
feac8685f4
Merge pull request #8348 from electron/isolated-world
...
Add context isolation option to windows and webview tags
2017-01-17 08:47:44 -08:00
Weiqiang Lin
11259b0ea2
Online/Offline Event Detection to zh-CN
2017-01-17 17:50:16 +08:00
Weiqiang Lin
ac0ba74e87
Desktop Environment Integration to zh-CN
2017-01-17 17:49:18 +08:00
Weiqiang Lin
96b7d3653c
Quick Start to zh-CN
2017-01-17 17:48:51 +08:00
Cheng Zhao
72cd10a873
Update libchromiumcontent to latest
2017-01-17 17:20:27 +09:00
Ales Pergl
85db1bb47d
Adjustments after upgrading to Chromium 54
2017-01-17 17:18:51 +09:00
Ales Pergl
eaea039155
Adjust linked static libraries after migrating libchromiumcontent to GN
2017-01-17 17:18:51 +09:00
Kevin Sawicki
9ccc78c62f
Use options constants for keys
2017-01-16 13:09:38 -08:00
Kevin Sawicki
1d824d4645
Assert document visibility in main context
2017-01-16 13:03:38 -08:00
Kevin Sawicki
b26428c43c
🎨
2017-01-16 12:38:16 -08:00
Kevin Sawicki
815cb1b31c
Include atom_natives after builtin includes
2017-01-16 12:38:16 -08:00
Kevin Sawicki
dcf9a395c2
Only create isolated context in main frame
2017-01-16 12:38:16 -08:00
Kevin Sawicki
2e62d81c24
Access getter instead of variable
2017-01-16 12:38:16 -08:00
Kevin Sawicki
13acf7a6a3
Mention accessing context in dev tools
2017-01-16 12:38:16 -08:00
Kevin Sawicki
f35224b0e4
🎨
2017-01-16 12:38:16 -08:00
Kevin Sawicki
6bcfd0630c
Document implemented APIs at the top
2017-01-16 12:38:16 -08:00
Kevin Sawicki
f4f0174746
Parse guestInstanceId and opener as ints
2017-01-16 12:38:16 -08:00
Kevin Sawicki
37b7dda3c5
Remove use of now private guestId
2017-01-16 12:38:16 -08:00
Kevin Sawicki
fbcbfbda6a
Add back BrowserWindowProxy location property
2017-01-16 12:38:16 -08:00
Kevin Sawicki
de4be56b09
Use internal open event name with fully parsed options
2017-01-16 12:38:16 -08:00
Kevin Sawicki
f3852c57fc
Use empty string for comparison
2017-01-16 12:38:16 -08:00
Kevin Sawicki
2e6d08c652
Remove unneeded this prefix
2017-01-16 12:38:16 -08:00
Kevin Sawicki
bb260343de
Move more functions to outer scope
2017-01-16 12:38:16 -08:00
Kevin Sawicki
3f7b3c4bd7
Implement window overrides in main context
2017-01-16 12:38:16 -08:00
Kevin Sawicki
95054f443f
Enable context isolation on child windows
2017-01-16 12:38:16 -08:00
Kevin Sawicki
eef72647b4
Set human readable context name
2017-01-16 12:38:16 -08:00
Kevin Sawicki
33b6ab11f2
Assert context state after reload
2017-01-16 12:38:16 -08:00
Kevin Sawicki
dacfb2f596
Mention contextIsolation is experimental
2017-01-16 12:38:16 -08:00
Kevin Sawicki
3ac6019f42
Mention context isolation
2017-01-16 12:38:16 -08:00
Kevin Sawicki
0f7af8043a
Upgrade libcc for world context patch
2017-01-16 12:38:16 -08:00
Kevin Sawicki
14a1e673c6
Add spec for webview context isolation
2017-01-16 12:38:16 -08:00
Kevin Sawicki
802ed62d5b
Remove trailing comma
2017-01-16 12:38:16 -08:00
Kevin Sawicki
572fc058d3
Document contextIsolation option
2017-01-16 12:38:16 -08:00
Kevin Sawicki
b348cdeae8
Set page variable using webFrame.executeJavaScript
2017-01-16 12:38:16 -08:00
Kevin Sawicki
ea2273dde5
Assert built-in prototype isolation
2017-01-16 12:38:16 -08:00
Kevin Sawicki
ad3b837ad5
Rename option to contextIsolation
2017-01-16 12:38:16 -08:00
Kevin Sawicki
b56bdc83af
🎨
2017-01-16 12:38:16 -08:00
Kevin Sawicki
2e7dbe6c6b
Use patch worldScriptContext to get isolated context
2017-01-16 12:38:16 -08:00
Kevin Sawicki
309ac75284
Upgrade libcc for worlds patch
2017-01-16 12:38:16 -08:00
Kevin Sawicki
4f5c725dde
🎨 Use enum for world ids
2017-01-16 12:38:16 -08:00
Kevin Sawicki
5b6397aaa6
Store context that API is running in to deliver IPC events
2017-01-16 12:38:16 -08:00
Kevin Sawicki
2928fe5c43
Add initial isolated world spec
2017-01-16 12:38:16 -08:00
Kevin Sawicki
5da4f032c3
Notify client each time main context is created
2017-01-16 12:38:16 -08:00
Kevin Sawicki
c5e68ec165
🎨
2017-01-16 12:38:16 -08:00
Kevin Sawicki
78e0b80dc7
Support IPC messages in isolated context
2017-01-16 12:38:16 -08:00
Kevin Sawicki
073d8c2177
Add world id constants
2017-01-16 12:38:16 -08:00
Kevin Sawicki
d194a84ae4
Setup isolated context from AtomRenderFrameObserver
2017-01-16 12:38:16 -08:00
Kevin Sawicki
4bca6fe672
Add isolated world web preference option
2017-01-16 12:38:15 -08:00
Kevin Sawicki
cdf33ff3dc
Add null guards
2017-01-16 12:38:15 -08:00
Kevin Sawicki
08b203fed1
Match extension name to class name
2017-01-16 12:38:15 -08:00
Kevin Sawicki
736befe90f
Add initial support for loading into isolated world
2017-01-16 12:38:15 -08:00
Kevin Sawicki
b6c5e9a126
Disable disableguestresize spec that times out on Travis
2017-01-16 11:48:20 -08:00
Kevin Sawicki
4ebe54043a
Merge pull request #8395 from Arcath/patch-1
...
Add Squirrel Release Server to the update server list.
2017-01-16 11:41:43 -08:00
Kevin Sawicki
e6f5f60f3a
Merge pull request #8355 from oukan/feature/translate-zh-CN
...
translate to zh-CN
2017-01-16 11:40:19 -08:00
Kevin Sawicki
48facf6343
Add space after //
2017-01-16 11:38:58 -08:00
Kevin Sawicki
170f2f61f9
Merge pull request #8404 from bsclifton/fix-dpi-borders
...
Properly handle borders on frameless window for DPI > 100% (Windows only)
2017-01-16 11:24:39 -08:00
Kevin Sawicki
0244a73c49
Fix cpp linter errors
2017-01-16 09:26:07 -08:00
Kevin Sawicki
9089d55342
Merge pull request #8409 from javan/add-context-menu-event-to-webview
...
Add "context-menu" DOM event to <webview>
2017-01-16 09:04:32 -08:00
Cheng Zhao
400d6c3de5
Merge pull request #8 from electron/set-read-only
...
Support setting read-only property value
2017-01-16 06:53:42 +09:00
Brian Clifton
9e0547b98f
Fix the rendering for the rounded edges
2017-01-14 01:15:22 -08:00
Daijiro Wachi
b97db68f0c
add tests to fullScreen and Kiosk
2017-01-14 00:05:04 +01:00
Daijiro Wachi
436a6d5c0f
Save a fullScreen state for Kiosk mode
2017-01-14 00:04:51 +01:00
Javan Makhmali
a64bdbd306
Add "context-menu" DOM event to <webview>
2017-01-13 17:04:09 -05:00
Kevin Sawicki
ac6aeae915
Merge pull request #8390 from electron/upgrade-brightray-for-devtools-fix
...
Upgrade brightray for dev tools fix
2017-01-13 10:57:57 -08:00
Kevin Sawicki
f92f851f11
Upgrade brightray for dev tools fix
2017-01-13 09:19:17 -08:00
Kevin Sawicki
2443ea4055
Merge pull request #267 from electron/update-ownership
...
Update std:move call to fix macOS compiler error
2017-01-13 09:13:25 -08:00
Kevin Sawicki
99e21a2235
Merge pull request #8401 from czipperz/BrowserProcess_constructor
...
Reorder BrowserProcess constructor to avoid invalid memory
2017-01-13 09:12:51 -08:00
Kevin Sawicki
f7d3dc742d
Merge pull request #8400 from electron/keyboardevent-link
...
Switch to footer link syntax for keyboard event docs
2017-01-13 09:09:44 -08:00
Brian Clifton
cf6e215a66
Properly handle borders for DPI > 100% on Windows
...
Fixes https://github.com/electron/electron/issues/4573
cc: @zcbenz, @kevinsawicki, @zeke
2017-01-13 00:18:42 -07:00
Czipperz
e4688f1c5a
Reorder BrowserProcess constructor to avoid invalid memory
2017-01-12 16:55:26 -08:00
Kevin Sawicki
315daf1a10
Switch to footer link syntax
2017-01-12 16:54:07 -08:00
Zeke Sikelianos
75e81f00e2
Merge pull request #8381 from electron/lint-without-side-effects
...
create electron-api.json in dist, not as a side-effect of linting
2017-01-12 14:58:55 -08:00
Kevin Sawicki
ec71440f09
Merge pull request #8391 from electron/read-only-versions
...
Make process.versions.electron/chrome read-only
2017-01-12 14:58:01 -08:00
Zeke Sikelianos
2a825310ea
use one line
2017-01-12 14:37:18 -08:00
Kevin Sawicki
e5ec6adf7d
Update std:move call to fix macOS compiler error
2017-01-12 14:04:12 -08:00
Kevin Sawicki
01d49a8bad
Merge pull request #268 from electron/ci
...
Add Travis and AppVeyor CI
2017-01-12 14:03:55 -08:00
Kevin Sawicki
323edb9d53
Add read-only version to planned 2.0 API
2017-01-12 13:51:35 -08:00
Kevin Sawicki
726bab0293
Add specs for process.versions.electron/chrome
2017-01-12 13:50:19 -08:00
Kevin Sawicki
b52367e3b2
Update native-mate to electron org
2017-01-12 13:50:19 -08:00
Kevin Sawicki
c78a6fa7d4
Support setting read-only property value
2017-01-12 12:21:23 -08:00
Kevin Sawicki
9ff1f6bbde
Merge pull request #8377 from electron/sandbox-open-crash
...
Destroy web contents if new-window event is prevented
2017-01-12 11:43:35 -08:00
Kevin Sawicki
6087a1223f
Add initial AppVeyor config
2017-01-12 11:38:12 -08:00
Kevin Sawicki
99786c7437
Build through Electron in cibuild and add Travis config
2017-01-12 11:37:52 -08:00
Kevin Sawicki
97dd680b32
Remove linter errors
2017-01-12 10:28:08 -08:00
Kevin Sawicki
8098ca3b66
Remove unneeded nextTick and assert array
2017-01-12 10:28:08 -08:00
Kevin Sawicki
8f63fdb278
Destroy web contents when preventing default
2017-01-12 10:28:08 -08:00
Kevin Sawicki
c5da330cdf
Add failing spec for sandboxed window.open
2017-01-12 10:28:08 -08:00
Adam Laycock
9e89ec041e
Add Squirrel Release Server to the update server list.
2017-01-12 13:40:14 +00:00
Kevin Sawicki
cda2e0c181
Merge pull request #266 from deepak1556/devtools_remote_detach_patch
...
force attach devtools client when requested by inspectable webcontents
2017-01-11 17:26:12 -08:00
Kevin Sawicki
070bbcfc3d
Merge pull request #8380 from electron/auto-submit-rename
...
Rename autoSubmit to uploadToServer in example
2017-01-11 08:42:33 -08:00
Zeke Sikelianos
cef9cd3cfc
create electron-api.json in dist, not as a side-effect of linting
2017-01-10 18:17:08 -08:00
Kevin Sawicki
ed4f4b3954
Rename autoSubmit to uploadToServer in example
2017-01-10 16:07:10 -08:00
Electron Bot
fe1cfa27fe
Update to Electron v1.4.14
2017-01-10 12:45:08 -08:00
Kevin Sawicki
cfb6069b83
Bump v1.4.14
2017-01-10 11:01:39 -08:00
Kevin Sawicki
caacc4580f
Merge pull request #8376 from electron/revert-8354-vibrancy-corner-fix
...
Revert "Smooth corners for vibrancy view"
2017-01-10 10:36:47 -08:00
Kevin Sawicki
f3b03908f9
Revert "Smooth corners for vibrancy view"
2017-01-10 10:34:55 -08:00
deepak1556
cddce77ea4
force attach devtools client when requested by inspectable webcontents
2017-01-10 16:43:16 +05:30
Kevin Sawicki
c6ccf9f2b5
Merge pull request #8371 from electron/upgrade-brightray-for-emulation-fix
...
Upgrade brightray for network emulation fix
2017-01-09 11:22:10 -08:00
Kevin Sawicki
5204d6ce45
Merge pull request #8354 from gerhardberger/vibrancy-corner-fix
...
Smooth corners for vibrancy view
2017-01-09 11:12:02 -08:00
Kevin Sawicki
24b5abcc39
Upgrade brightray for network emulation fix
2017-01-09 10:42:48 -08:00
Kevin Sawicki
4110a9c66d
Merge pull request #264 from deepak1556/devtools_net_interceptor_patch
...
interceptor should handle default values of download and upload throughput
2017-01-09 10:42:01 -08:00
Kevin Sawicki
8ada7fe30b
Merge pull request #8370 from electron/resizable-specs
...
Add spec for resizable frameless window
2017-01-09 10:41:51 -08:00
Zeke Sikelianos
17eb7f2cf4
Merge pull request #227 from pzrq/patch-1
...
Update README.md badge: Drop prebuilt
2017-01-09 10:07:09 -08:00
Kevin Sawicki
d8366115f5
Add spec for resizable frameless window
2017-01-09 10:01:38 -08:00
Kevin Sawicki
e5aad9857d
Merge pull request #7765 from liusy182/maximize-fix
...
fix for Window hidden behind taskbar after maximize #7672
2017-01-09 09:47:39 -08:00
Kevin Sawicki
75a05c2814
Merge pull request #8369 from electron/start-executable
...
Make start script executable
2017-01-09 09:28:37 -08:00
Kevin Sawicki
64a36170a9
Make start script executable
2017-01-09 09:27:20 -08:00
Kevin Sawicki
871c3fc11e
Merge pull request #8341 from electron/dialog-manager
...
Implement alert/confirm through Chrome's dialog manager
2017-01-09 09:17:40 -08:00
Kevin Sawicki
6ef1a9150c
Add OK button to alert
2017-01-09 08:30:13 -08:00
Kevin Sawicki
222734b5f5
Use correct param ordering in header file
2017-01-09 08:30:13 -08:00
Kevin Sawicki
1f08634d62
Implement alert/confirm through dialog manager
2017-01-09 08:30:13 -08:00
Kevin Sawicki
52390120ae
Merge pull request #8340 from electron/options-cycle
...
Handle cycles when merging browser window options
2017-01-09 08:29:56 -08:00
Destan Sarpkaya
fb35f06114
printToPDF: landscape ignored if @page is used
...
This is very frustrating to find out via debugging, I think it should be in docs.
2017-01-09 02:31:34 +02:00
gellert
bfafc6d5fd
indentation fix
2017-01-06 23:54:24 +01:00
deepak1556
237cb7d0a3
interceptor should handle default values of download and upload throughput
2017-01-06 23:28:49 +05:30
Kevin Sawicki
1f07977f09
Remove lint errors
2017-01-06 09:58:40 -08:00
Kevin Sawicki
fd23c7bf76
Assert duplicate objects are supported
2017-01-06 09:58:40 -08:00
Kevin Sawicki
1944fdc962
Track visited parents and null out cycles
2017-01-06 09:58:40 -08:00
Kevin Sawicki
12382f064b
Add failing spec for cycle in options
2017-01-06 09:58:40 -08:00
Kevin Sawicki
b942c54bea
Use closeWindow helper
2017-01-06 09:58:40 -08:00
Kevin Sawicki
0a7dccbad8
Merge pull request #8308 from electron/normalize-access-keys
...
Support normalizing access keys in dialog buttons
2017-01-06 09:55:06 -08:00
Kevin Sawicki
5f862effaa
Access directly on options object
2017-01-06 09:17:32 -08:00
Kevin Sawicki
d200cf2e77
Document normalizeAccessKeys option
2017-01-06 08:56:24 -08:00
Kevin Sawicki
eb533e04b9
Add option to normalize dialog access keys
2017-01-06 08:56:24 -08:00
Weiqiang Lin
58fa8add31
Using Widevine CDM Plugin to zh-CN
2017-01-06 21:41:25 +08:00
Weiqiang Lin
34afa3b8a5
Using Pepper Flash Plugin to zh-CN
2017-01-06 21:40:36 +08:00
Weiqiang Lin
17ef05672b
Using Selenium and WebDriver to zh-CN
2017-01-06 21:38:58 +08:00
gellert
c5fe173e47
adds autorelease to nsimage
2017-01-06 14:32:34 +01:00
gellert
456ea04683
adds mask image for smooth vibrant view corners
2017-01-06 14:26:16 +01:00
Haojian Wu
0e5fc9c4e4
Merge pull request #8343 from oukan/feature/translate-zh-CN
...
Debugging the Main Process to zh-CN
2017-01-06 08:32:42 +01:00
Weiqiang Lin
cf5689371a
debugging-main-process-node-inspector to zh-CN
2017-01-06 10:02:44 +08:00
Kevin Sawicki
e788b9f959
Merge pull request #8258 from deepak1556/net_header_patch
...
net: disallow cookies from cookie store
2017-01-05 16:47:44 -08:00
Kevin Sawicki
d3d09ff25f
Merge pull request #8347 from Rastaban/master
...
fix permissive C++ code (MSVC /permissive-)
2017-01-05 14:53:11 -08:00
Phil Christensen
2c259990da
fix permissive C++ code (MSVC /permissive-)
...
These were found by the C++ compiler group when doing "Real world code"
build tests using /permissive-. We are sharing these with you to help clean up
your code before the new version of the compiler comes out. For more information on
/permissive- see https://blogs.msdn.microsoft.com/vcblog/2016/11/16/permissive-switch/ .
In paticular, see the "Do not treat copy initialization as direct initialization"
section of the blog.
2017-01-05 09:38:41 -08:00
Weiqiang Lin
e2d60940a2
Debugging the Main Process to zh-CN
2017-01-05 14:49:07 +08:00
Weiqiang Lin
dc786996ef
Debugging the Main Process in node-inspector to zh-CN
2017-01-05 14:47:39 +08:00
Weiqiang Lin
cc3ac9b1da
Debugging the Main Process to zh-CN
2017-01-05 14:45:43 +08:00
Weiqiang Lin
431faf58ff
Debugging the Main Process in VSCode to zh-CN
2017-01-05 14:43:17 +08:00
Weiqiang Lin
63ae55be2b
Debugging the Main Process to zh-CN
2017-01-05 14:42:51 +08:00
Kevin Sawicki
14d6a70fa8
Merge pull request #8335 from liuderchi/i18n_zhTW_repl
...
translate repl.md into zh-TW
2017-01-04 09:00:06 -08:00
Kevin Sawicki
1ff6fc6491
Merge pull request #8326 from nicmitchell/copyright-year
...
Update copyright year in LICENSE file
2017-01-04 08:59:33 -08:00
Kevin Sawicki
a376d09be5
Merge pull request #8319 from oukan/feature/translate-zh-CN
...
application-distribution to zh-CN
2017-01-04 08:59:01 -08:00
liuderchi
02d7203b4f
[ci skip] 📝 translate repl.md
2017-01-04 17:03:25 +08:00
liuderchi
e65cc8a245
[ci skip] 📝 copy repl.md source
2017-01-04 16:59:59 +08:00
Peter Schmidt
f89157fff9
Update README.md badge: Drop prebuilt
...
As documented later in the README.md already, plus the download numbers look bigger too.
2017-01-04 18:15:01 +11:00
Nic Mitchell
dc1eca14f0
Update copyright year in LICENSE file
2017-01-02 21:19:38 -08:00
Weiqiang Lin
0b7b2f5a57
Using Native Node Modules to zh-CN
2017-01-02 11:17:46 +08:00
Weiqiang Lin
6cff48112d
application-distribution to zh-CN
2017-01-02 00:20:29 +08:00
Haojian Wu
fe0a577c8b
Merge pull request #8318 from oukan/feature/translate-zh-CN
...
mac-app-store-submission-guide to zh-CN
2017-01-01 16:57:53 +01:00
Weiqiang Lin
91e93e6a5a
mac-app-store-submission-guide to zh-CN
2017-01-01 20:44:06 +08:00
Weiqiang Lin
a1ef49c26f
mac-app-store-submission-guide to zh-CN
2017-01-01 10:17:58 +08:00
Haojian Wu
339f4b8c31
Merge pull request #8313 from oukan/feature/translated-supported-platforms
...
translated supported platforms to zh-CN
2016-12-31 09:39:33 +01:00
Weiqiang Lin
406b0fdbcc
no actual change
2016-12-31 16:36:20 +08:00
Zeke Sikelianos
349972368c
Merge pull request #8312 from oukan/feature/translated-readme
...
add glossary page link to readme
2016-12-30 18:32:20 -08:00
Weiqiang Lin
4225524b6f
. to 。
2016-12-31 09:50:41 +08:00
林伟强
aac916857d
translated supported platforms to zh-CN
2016-12-30 23:58:54 +08:00
林伟强
25246c6db7
add glossary page link to readme
2016-12-30 23:51:25 +08:00
Haojian Wu
800689fc81
Merge pull request #8303 from ldehai/master
...
fix some expression
2016-12-30 16:00:34 +01:00
Andy
d9fbead8ca
fix some expression
2016-12-30 22:50:44 +08:00
Haojian Wu
496c741513
Merge pull request #8311 from oukan/feature/process-translated
...
docs-translations API process Translated into zh-CN
2016-12-30 14:48:15 +01:00
林伟强
c392710802
s/./。
2016-12-30 17:48:48 +08:00
林伟强
b0886e2abf
docs-translations API process Translated into zh-CN
2016-12-30 17:15:28 +08:00
林伟强
3d35f01bd1
docs-translations API process Translated into zh-CN
2016-12-30 10:45:39 +08:00
Kevin Sawicki
d86662cb80
Merge pull request #8309 from electron/optional-before-dash
...
Put optional label before dash
2016-12-29 15:51:39 -08:00
Kevin Sawicki
afa3bd2143
Put optional label before dash
2016-12-29 14:11:26 -08:00
Kevin Sawicki
196cb2dda4
Merge pull request #8306 from electron/link-to-offscreen-tutorial
...
Link to offscreen rendering tutorial
2016-12-29 13:33:06 -08:00
Kevin Sawicki
fc75080c28
Merge pull request #8298 from electron/configure-throttling-on-created-callback
...
Configure background throttling on RenderViewCreated callback
2016-12-29 13:31:09 -08:00
Kevin Sawicki
f8d41f1f68
Link to offscreen rendering tutorial
2016-12-29 09:15:28 -08:00
Kevin Sawicki
6ea1bacc73
Merge pull request #8250 from gerhardberger/osr-window-size-fix
...
Always create offscreen window frameless
2016-12-29 09:10:14 -08:00
Andy
6324270221
fix some expression
2016-12-29 21:53:53 +08:00
Kevin Sawicki
41afeb744a
Configure background throttling on RenderViewCreated callback
2016-12-28 15:52:47 -08:00
Kevin Sawicki
219693d91f
Merge pull request #8295 from electron/more-default-font-families
...
Support cursive/fantasy default font families
2016-12-28 13:42:35 -08:00
Kevin Sawicki
25c80f314b
Merge pull request #8281 from abouthiroppy/fix-electron-jp-link
...
Fix electron-jp's link in README.md
2016-12-28 13:41:52 -08:00
Kevin Sawicki
5d505f9139
Support cursive/fantasy default font families
2016-12-28 13:40:53 -08:00
Kevin Sawicki
bc39964ece
Merge pull request #8254 from electron/webcontents-will-navigate-crash
...
Don't load URL if web contents is destroyed
2016-12-28 13:40:31 -08:00
Kevin Sawicki
abea1196de
Add spec for closing from will-navigate listener
2016-12-28 13:40:07 -08:00
Kevin Sawicki
1308f790ad
Don't load URL if web contents is destroyed
2016-12-28 13:40:06 -08:00
Kevin Sawicki
7e72581469
Merge pull request #224 from electron-userland/check-if-path-file-exists
...
Check that the path file exists before spawning
2016-12-28 10:24:07 -08:00
Kevin Sawicki
d9d47344c1
Remove semicolon
2016-12-28 09:29:37 -08:00
Kevin Sawicki
e3e05aa797
Add test for corrupt install error message
2016-12-28 09:28:51 -08:00
Samuel Attard
b85ec95975
Get package name from folder path
2016-12-28 09:19:18 -08:00
Samuel Attard
5c8ebb296c
Update index.js
2016-12-28 09:19:18 -08:00
Kevin Sawicki
39caff88c9
Merge pull request #225 from electron-userland/write-file-after-uncompressing
...
Write path.txt file after uncompressing
2016-12-28 09:17:57 -08:00
Haojian Wu
095f304d7d
Merge pull request #8284 from x-yao/zh-cn-docs
...
Add glossary.md in Simplified Chinese docs
2016-12-28 09:13:36 +01:00
x-yao
5a54d90d72
[ci skip]update glossary.md translation changes
2016-12-28 15:54:51 +08:00
x-yao
003fdd2382
Merge branch 'master' of github.com:electron/electron into zh-cn-docs
2016-12-28 15:47:24 +08:00
Kevin Sawicki
e165294ff1
Check that exit code was non-zero
2016-12-27 13:20:51 -08:00
Kevin Sawicki
8d4660158a
err -> ignored
2016-12-27 11:51:00 -08:00
Kevin Sawicki
ed8260e4d9
Inline platform variable
2016-12-27 11:51:00 -08:00
Kevin Sawicki
835c64b7b2
Add specs for error cases
2016-12-27 11:50:52 -08:00
Kevin Sawicki
af2ca221b4
Ignore npm-debug.log
2016-12-27 11:21:18 -08:00
Kevin Sawicki
d5bb1d87cc
Add getPath helper
2016-12-27 11:13:15 -08:00
Kevin Sawicki
d2df641b0d
Write path.txt after extraction
2016-12-27 11:03:51 -08:00
Zeke Sikelianos
5b9b33f32d
Merge pull request #8285 from electron/update-glossary
...
📝 Fix a broken asar link.
2016-12-26 10:23:17 -08:00
x-yao
5ee3915c40
[ci skip]fixed glossary.md incorrect words
2016-12-26 17:57:20 +08:00
Haojian Wu
dcead89507
📝 Fix a broken asar link.
2016-12-26 10:28:08 +01:00
x-yao
6f2f3ed1ac
Merge branch 'master' of github.com:electron/electron into zh-cn-docs
2016-12-26 12:03:00 +08:00
x-yao
738c8c047e
[ci skip]add glossary.md in Simplified Chinese docs
2016-12-26 12:02:24 +08:00
abouthiroppy
d224f5d998
Fix electron-jp's link in README.md
2016-12-25 18:08:25 +09:00
Zeke Sikelianos
f8a9f628ae
Merge pull request #7888 from electron/rename-webview-doc
...
Rename web-view to webview for consistency
2016-12-22 15:54:39 -08:00
Zeke Sikelianos
6995b51f2c
set webview spec timeout to three minutes
2016-12-22 13:31:30 -08:00
Zeke Sikelianos
c989ea43f5
bump webview spec timeout to two minutes
2016-12-22 12:30:34 -08:00
Zeke Sikelianos
b0c4c79c49
remove unused webview fixture
2016-12-22 10:41:05 -08:00
Zeke Sikelianos
eb4038d626
more internal web-view reverting
2016-12-22 10:41:05 -08:00
Zeke Sikelianos
7562a8b662
revert renames of internal web-view stuff
2016-12-22 10:41:05 -08:00
Zeke Sikelianos
c75a1f08fd
replace all web-view code with webview
2016-12-22 10:41:05 -08:00
Zeke Sikelianos
1085c28612
rename all web-view files to webview
2016-12-22 10:41:05 -08:00
Kevin Sawicki
eca9bffb01
Merge pull request #8269 from drewchandler/fix-clear-storage-data-docs
...
Use localstorage in clearStorageData docs
2016-12-22 10:07:31 -08:00
Drew Chandler
b28a865436
Use localstorage in clearStorageData docs
...
It won't work if you use include the space that is currently in the docs.
2016-12-22 09:51:39 -08:00
Kevin Sawicki
57d682a050
Merge pull request #8252 from electron/dialog-window-crash
...
Don't crash when window is closed by dialog callback
2016-12-22 09:34:07 -08:00
Kevin Sawicki
8c5f26373b
Add override
2016-12-22 09:33:21 -08:00
Kevin Sawicki
87f09131aa
Observe window and only use it when it is open
2016-12-22 09:33:21 -08:00
Kevin Sawicki
371b347ee9
Merge pull request #8268 from electron/update-production-variables
...
Move a couple env vars from development to production
2016-12-22 09:32:43 -08:00
Kevin Sawicki
ad2627b05a
Move variables from development to production
2016-12-22 09:22:04 -08:00
Zeke Sikelianos
bb012c3db2
Merge pull request #8265 from thorbenegberts/patch-1
...
🐛 Fix link to Quick Start [ci skip]
2016-12-22 08:01:32 -08:00
x-yao
387dd67b60
[ci skip]fix chinese incorrect words
2016-12-22 17:10:27 +08:00
Thorben Egberts
b22eb0d65f
Change Quick Start link from absolute to relative
2016-12-22 08:45:51 +01:00
Zeke Sikelianos
ec46d57816
Merge pull request #8267 from cesarandreu/patch-2
...
Fix a typo, there => their
2016-12-21 20:49:36 -08:00
Cesar Andreu
e296d4826f
Fix a typo, there => their
2016-12-21 19:21:04 -08:00
Thorben Egberts
3cfe94c5ef
Fixed link to Quick Start
2016-12-21 23:41:34 +01:00
gellert
7e82e12468
adds note to offscreen tutorial
2016-12-21 23:15:39 +01:00
gellert
f81908711b
use only one if statement
2016-12-21 23:15:05 +01:00
Zeke Sikelianos
2b955a5ae1
Merge pull request #7878 from electron/glossary
...
Add a glossary of terms
2016-12-21 14:12:07 -08:00
Zeke Sikelianos
aeedd36168
see also
2016-12-21 13:47:40 -08:00
Zeke Sikelianos
e57cb713b2
link process annotations to glossary
2016-12-21 13:47:40 -08:00
Zeke Sikelianos
a098bf30d4
add DMG and NSIS to glossary
2016-12-21 13:47:40 -08:00
Zeke Sikelianos
f1692f3274
lint to glossary from docs readme
2016-12-21 13:47:40 -08:00
Zeke Sikelianos
a39dc1b78a
🎨
2016-12-21 13:47:40 -08:00
Zeke Sikelianos
ead5275d63
fix heading level
2016-12-21 13:47:40 -08:00
Zeke Sikelianos
4e8c21549b
define process and webview
2016-12-21 13:47:40 -08:00
Zeke Sikelianos
ed081c8834
WIP
2016-12-21 13:47:40 -08:00
Kevin Sawicki
f99dabbac6
Merge pull request #8078 from electron/dts-docs-update-again
...
Update Docs
2016-12-21 13:39:53 -08:00
Kevin Sawicki
707b1d1b79
Merge pull request #8207 from philwyett-hemi/rpm_dev
...
Doc updates related to Fedora and RHEL / CentOS
2016-12-21 13:38:09 -08:00
Kevin Sawicki
026711e750
Merge pull request #8249 from electron/nsscreens-crash
...
Use firstObject instead of objectAtIndex:0
2016-12-21 10:58:14 -08:00
Kevin Sawicki
b9f569f7fb
Merge pull request #8248 from electron/secure-options
...
Add options to protocol.registerStandardSchemes docs
2016-12-21 09:40:30 -08:00
Kevin Sawicki
0a5f51fd03
Merge pull request #8259 from mawie81/fix-screen-docs
...
[Docs] fix link in screen docs
2016-12-21 09:40:13 -08:00
mawie81
d20e2ec349
[ci skip] fix link in screen docs
2016-12-21 09:43:47 +01:00
deepak1556
f9417e3fcc
net: disallow cookies from the cookie store
2016-12-21 11:54:48 +05:30
deepak1556
41c352c306
add failing spec
2016-12-21 11:52:27 +05:30
gellert
1ef0f6beff
creates offscreen window frameless
2016-12-20 23:43:52 +01:00
Kevin Sawicki
c70eb81e32
Use firstObject instead of objectAtIndex:0
2016-12-20 13:49:35 -08:00
Electron Bot
f405b2e366
Update to Electron v1.4.13
2016-12-20 13:09:17 -08:00
Kevin Sawicki
38681d0a2b
Bump v1.4.13
2016-12-20 10:37:16 -08:00
Kevin Sawicki
c5097ae483
Add options to protocol.registerStandardSchemes docs
2016-12-20 09:44:58 -08:00
Kevin Sawicki
5bb196dce3
Merge pull request #8240 from electron/fix-structures-link
...
fix relative link to CertificatePrincipal doc
2016-12-20 09:13:01 -08:00
Kevin Sawicki
cb47de5eca
Merge pull request #8225 from Golasowski/docs-translations-cz
...
Create Czech translate
2016-12-20 09:09:39 -08:00
Kevin Sawicki
56a8e17b21
Merge pull request #8243 from x-yao/zh-cn-docs
...
[DOC] Add systemPreferences API Simplified Chinese translation
2016-12-20 09:09:01 -08:00
x-yao
e3b23842dd
[ci skip]add net API Simplified Chinese translation
2016-12-20 17:03:32 +08:00
Zeke Sikelianos
12cb35ef61
Merge pull request #8242 from DustinX/patch-1
...
Corrected some grammatical errors
2016-12-19 20:05:28 -08:00
longbotao
2fb8839d31
[ci skip]add systemPreferences API Simplified Chinese translation
2016-12-20 12:03:59 +08:00
Zeke Sikelianos
6578498e31
Merge pull request #8229 from electron/do-not-recommend-yarn
...
do not recommend yarn
2016-12-19 20:03:51 -08:00
Dustin
2e1feb63e4
Corrected some grammatical errors
2016-12-19 19:01:35 -08:00
Zeke Sikelianos
9e626c5fee
fix relative link to CertificatePrincipal doc
2016-12-19 13:49:02 -08:00
Kevin Sawicki
78a89c666b
Merge pull request #8238 from electron/doc-links
...
Link to return class type
2016-12-19 10:48:27 -08:00
Kevin Sawicki
6352afb07a
Link to return class type
2016-12-19 09:40:07 -08:00
Kevin Sawicki
683d8033f0
Merge pull request #8235 from x-yao/zh-cn-docs
...
[DOC]update electron-faq.md in Simplified Chinese docs
2016-12-19 09:22:24 -08:00
longbotao
e2bb8088d4
[ci skip]update electron-faq.md in Simplified Chinese docs and fix a little words
2016-12-19 15:01:50 +08:00
Zeke Sikelianos
64116e5d7c
do not recommend yarn
2016-12-17 20:35:06 -08:00
O.G.olasowski
219a6b175b
Create README.md
2016-12-17 00:31:37 +00:00
Kevin Sawicki
2a8b36c761
Merge pull request #8134 from deepak1556/empty_client_certificate_patch
...
app: select-client-certificate event callback can accept certificate optionally
2016-12-15 08:31:12 -08:00
liusi
b853671132
fix fullscreen, maximize, unmaximize
2016-12-15 14:01:03 +08:00
Phil Wyett
2fbf560668
Commit...
...
* Update build instructions to correctly reflect python version on CentOS
that has Python 2.6.
* Correct Fedora package install command. Fedora now uses 'dnf' not 'yum'.
* Add RHEL / CentOS section that does use 'yum' for package install.
2016-12-15 03:05:24 +00:00
Kevin Sawicki
cd067bca37
Merge pull request #8175 from gerhardberger/createfrombuffer-bitmap
...
Add bitmap support to nativeImage.createFromBuffer
2016-12-14 13:24:45 -08:00
Kevin Sawicki
98d4e186e3
Move details next to params
2016-12-14 10:19:38 -08:00
Kevin Sawicki
8680a08a8d
Add deprecated comment to scaleFactor parameter
2016-12-14 10:18:01 -08:00
Kevin Sawicki
3b259b4243
Add createFromBuffer to planned breaking changes
2016-12-14 10:12:37 -08:00
Kevin Sawicki
25feb9232d
Merge pull request #8143 from poiru/webcontents-before-input-event
...
Add before-input-event event for webContents (fixes #7586 )
2016-12-14 10:05:32 -08:00
Kevin Sawicki
590bde5e14
Remove unused include
2016-12-13 16:00:37 -08:00
Kevin Sawicki
88dac36c91
Move footer link to bottom
2016-12-13 15:58:03 -08:00
Kevin Sawicki
7842040d9d
Add ToV8 converter for NativeWebKeyboardEvent
2016-12-13 15:54:13 -08:00
Kevin Sawicki
3237c6751a
Use DCHECK instead of assert
2016-12-13 15:54:13 -08:00
Kevin Sawicki
7a5ec96d53
Prevent input event from main process
2016-12-13 15:54:13 -08:00
Kevin Sawicki
5ae80d541b
Remove will-navigate spec
2016-12-13 15:54:13 -08:00
Kevin Sawicki
25ac23ab17
Upgrade brightray
2016-12-13 15:54:13 -08:00
Birunthan Mohanathas
a3b65ad481
Add before-input-event event for webContents ( fixes #7586 )
...
Embedding arbitrary web content is problematic when it comes to keyboard
shortcuts because:
* Web content can steal app shortcuts (see e.g. brave/browser-laptop#4408 )
* Blocked web content (e.g. a focused <webview> performing expensive
computation) will also prevent app shortcuts from firing immediately
The new before-input-event event can be used to overcome these issues by
always handle certain keyboard events in the main process.
Note that this requires electron/brightray#261 to compile.
2016-12-13 15:54:13 -08:00
gellert
9d2c9df992
adds empty bitmap test for createFromBuffer
2016-12-14 00:24:57 +01:00
gellert
7ceb8d1ab8
additional tests for createFromBuffer
2016-12-14 00:18:24 +01:00
Kevin Sawicki
d76f446140
Merge pull request #261 from poiru/always-link-dom-keycode-converter
...
Always link dom_keycode_converter
2016-12-13 14:59:46 -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
Kevin Sawicki
3290c6b335
Merge pull request #8201 from electron/docs-lint
...
Remove trailing spaces
2016-12-13 10:43:05 -08:00
Kevin Sawicki
0f93515ede
Remove trailing spaces
2016-12-13 10:42:13 -08:00
Kevin Sawicki
dfc25d0ca5
Merge pull request #8199 from Casimodo/patch-2
...
Create quick-start.md
2016-12-13 08:30:57 -08:00
Kevin Sawicki
db0beb6c36
Merge pull request #8192 from rhysd/patch-1
...
Fixed a broken link in dialog.md [ci skip]
2016-12-13 08:30:28 -08:00
Casimodo
7b240d82fd
Create quick-start.md
2016-12-13 15:50:23 +01:00
Linda_pp
704433f3d6
Fix broken link in dialog.md [ci skip]
2016-12-13 17:48:49 +09:00
Kevin Sawicki
8ae7d01d1a
Merge pull request #8189 from electron/undefined-browser-window-in-dialog
...
Undefined browser causes error in dialog APIs
2016-12-12 16:44:16 -08:00
Kevin Sawicki
2bd8ef83d1
Use != null to handle undefined
2016-12-12 16:25:56 -08:00
Kevin Sawicki
c108088110
Test with some null/undefined windows
2016-12-12 16:25:14 -08:00
Kevin Sawicki
cb7715a572
Merge pull request #8187 from electron/optional-buttons
...
Allow buttons to be optional in 'showMessageBox'
2016-12-12 13:52:17 -08:00
Kevin Sawicki
2e1e893675
Merge pull request #8159 from seanchas116/devtools
...
Record JavaScript calls in DevTools timeline on Node/ipc callback
2016-12-12 13:50:42 -08:00
Kevin Sawicki
3796d7a6a1
Use trace event with zero args
2016-12-12 13:49:58 -08:00
Kevin Sawicki
b08bc02cde
Merge pull request #8137 from deepak1556/media_device_id_patch
...
session: reset media device id salt when cookies are cleared
2016-12-12 13:34:24 -08:00
Kevin Sawicki
04e873f78e
Make deviceIds const
2016-12-12 13:33:18 -08:00
Kevin Sawicki
04da9257ef
Catch any close window errors
2016-12-12 13:32:27 -08:00
Kevin Sawicki
cae601a682
Upgrade brightray for media device salt fix
2016-12-12 13:31:08 -08:00
Kevin Sawicki
e8cb41ab2e
Merge pull request #262 from deepak1556/media_device_id_patch
...
persist media device id salt across sessions
2016-12-12 13:30:26 -08:00
Kevin Sawicki
f2aabeefd5
Merge pull request #8085 from deepak1556/protocol_http_session_patch
...
protocol: support custom session with interceptHttpProtocol
2016-12-12 13:07:14 -08:00
Kevin Sawicki
6b7e73db92
Merge pull request #7 from deepak1556/empty_handle_converter_patch
...
create empty handle for null value
2016-12-12 12:55:31 -08:00
Kevin Sawicki
1d288b69e2
Merge pull request #7947 from beakerbrowser/register-standard-secure-schemes
...
Add {secure:} opt to protocol.registerStandardSchemes
2016-12-12 12:52:28 -08:00
Kevin Sawicki
cac85d2a12
Remove linter errors
2016-12-12 12:51:48 -08:00
Kevin Sawicki
381f55b3cb
Remove unneeded empty checks
2016-12-12 12:51:48 -08:00
Paul Frazee
04fa85f67f
removed unused iostream include
2016-12-12 12:51:48 -08:00
Paul Frazee
bacf6511a6
remove unneeded deprecations couts
2016-12-12 12:51:48 -08:00
Paul Frazee
4e01ab59c1
fix documentation for planned breaking changes
2016-12-12 12:51:48 -08:00
Paul Frazee
a46040a4fa
log deprecation notices for webframe
2016-12-12 12:51:48 -08:00
Paul Frazee
b458201874
add deprecation notices to webframe
2016-12-12 12:51:48 -08:00
Paul Frazee
99ea50649a
finish implementation of {secure:true} opt on protocol.registerStandardScehesm, and add working test
2016-12-12 12:49:57 -08:00
Paul Frazee
9d2e23413e
add {secure:} opt to protocol.registerStandardSchemes
2016-12-12 12:49:57 -08:00
Daniel Pham
4b53cd9c3c
🐛 Allow buttons to be optional in 'showMessageBox'
2016-12-12 13:25:32 -05:00
Kevin Sawicki
ee88e0054b
Merge pull request #8186 from devjin0617/devjin0617-docs-browser-window-proxy
...
[Docs] Add translations of broswer-window-proxy in korean docs
2016-12-12 10:06:28 -08:00
Kevin Sawicki
e77fa72d6d
Merge pull request #8167 from seanchas116/fix-modal-corner
...
🍎 Make sure no round corners for modal windows
2016-12-12 10:05:47 -08:00
Kevin Sawicki
2fa9ca1f6d
Merge pull request #8156 from sindresorhus/remove-dock-window-level
...
🍎 Document that the `dock` window level is deprecated
2016-12-12 09:39:08 -08:00
Kevin Sawicki
a2d1a5258b
Merge pull request #8178 from lgeiger/native-modules-prebuild
...
Add instructions for native modules using prebuild
2016-12-12 09:29:27 -08:00
Kevin Sawicki
009c00cdc6
Merge pull request #8177 from Geo1088/patch-1
...
[Docs] Fix list item number rendering in distribution tutorial
2016-12-12 09:28:46 -08:00
Kevin Sawicki
1a0fbf84f9
Merge pull request #8165 from geoff-addepar/geoff/fix-sandbox-printing
...
Fix printing with the sandbox enabled
2016-12-12 09:26:52 -08:00
cheongjin.kim
9ea391e03d
Add translations of broswer-window-proxy in korean docs
2016-12-13 00:11:16 +09:00
Lukas Geiger
6bcf4b1112
📝 Add instructions for native modules using prebuild
2016-12-10 20:23:33 +01:00
George
82bd1d98d5
Indent tree structure to fix Markdown list number rendering
2016-12-10 11:14:10 -05:00
Electron Bot
0f8ba64aa2
Update to Electron v1.4.12
2016-12-09 22:55:28 -08:00
Electron Bot
8c9c7f8fbe
Update to Electron v1.4.12
2016-12-09 22:47:23 -08:00
Kevin Sawicki
de625bfb65
Bump v1.4.12
2016-12-09 21:43:27 -08:00
Kevin Sawicki
c751d42d1a
Merge pull request #8176 from electron/upgrade-libcc-for-ct-timebomb-patch
...
Upgrade libcc for CT timebomb patch
2016-12-09 19:24:59 -08:00
Kevin Sawicki
198f5f237f
Upgrade libcc for CT timebomb patch
2016-12-09 10:47:09 -08:00
Kevin Sawicki
dc5b27069a
Merge pull request #8107 from deepak1556/clear_auth_cache_patch
...
session: add api to clear http auth cache
2016-12-09 10:08:02 -08:00
Kevin Sawicki
6a829e0179
Throw error when options object is invalid
2016-12-09 10:07:04 -08:00
deepak1556
4085ba309a
fix spec
2016-12-09 09:56:16 -08:00
deepak1556
975d677f55
add docs
2016-12-09 09:56:16 -08:00
deepak1556
21be9a3309
add spec
2016-12-09 09:55:55 -08:00
deepak1556
7456b9ae17
net: add api to set request flags for testing
2016-12-09 09:54:30 -08:00
deepak1556
35349643af
session: api to clear auth cache
2016-12-09 09:54:30 -08:00
Kevin Sawicki
952e3bac2c
Merge pull request #8061 from deepak1556/resume_download_api
...
session: api to resume canceled downloads from previous session
2016-12-09 09:39:14 -08:00
Kevin Sawicki
d705f4cbac
Fix issue where actual/expected was same variable
2016-12-09 09:37:46 -08:00
deepak1556
5d94221c61
fix code style
2016-12-09 09:37:46 -08:00
deepak1556
f124732431
add spec
2016-12-09 09:37:46 -08:00
deepak1556
d944219b28
add docs
2016-12-09 09:37:46 -08:00
deepak1556
86961d0f44
session: add api to create interrupted downloads
2016-12-09 09:37:46 -08:00
Sindre Sorhus
3dde669ee8
🍎 Remove deprecated dock window level
...
According to the Apple docs, the `NSDockWindowLevel` constant is deprecated: https://developer.apple.com/reference/appkit/nsdockwindowlevel?language=objc
2016-12-09 12:46:49 +01:00
Ryohei Ikegami
ccdeb915fa
🍎 Make sure no round corners for modal windows
2016-12-08 12:12:53 +09:00
Geoff Lywood
5345b08d24
Fix printing with the sandbox enabled
...
Closes #7984
2016-12-07 17:40:18 -08:00
Kevin Sawicki
54d27a390b
Merge pull request #8155 from salomvary/explain-macos-modal-sheet
...
Clarify modal windows being sheets on macOS
2016-12-07 10:29:42 -08:00
Kevin Sawicki
ba44dca34a
Merge pull request #8158 from jdfwarrior/master
...
Add detail for the browserWindow argument in dialog docs
2016-12-07 10:28:34 -08:00
Kevin Sawicki
61d91579df
Merge pull request #8157 from electron/post-data-example
...
Add simple postData example to docs
2016-12-07 10:28:00 -08:00
Electron Bot
4ac270761f
Update to Electron v1.4.11
2016-12-07 10:03:33 -08:00
Kevin Sawicki
ea2e2def55
Bump v1.4.11
2016-12-07 08:53:58 -08:00
Ryohei Ikegami
a7a06a483e
Record JavaScript calls in DevTools timeline on Node/ipc callback
2016-12-07 20:22:13 +09:00
deepak1556
70092b493e
create empty handle for null or undefined value
2016-12-07 16:41:45 +05:30
deepak1556
388b601503
URLRequestFetchJob should report start error
2016-12-07 16:34:28 +05:30
deepak1556
2b8b76a527
protocol: support custom session with interceptHttpProtocol
2016-12-07 16:22:34 +05:30
deepak1556
cbddbdb296
fix code style
2016-12-07 15:33:56 +05:30
deepak1556
06701786c4
update docs
2016-12-07 13:26:06 +05:30
deepak1556
1c45285fe3
add spec
2016-12-07 13:26:06 +05:30
deepak1556
18c0cfa6f5
app: optionally pass cert with select-client-certificate event
2016-12-07 13:26:06 +05:30
David Ferguson
32ae3a52b8
add detail for the browserWindow argument in dialog docs
2016-12-06 22:23:14 -06:00
Kevin Sawicki
e198b6945c
Add simple postData example
2016-12-06 16:49:22 -08:00
Electron Bot
9d9266af66
Update to Electron v1.3.13
2016-12-06 15:53:10 -08:00
Kevin Sawicki
f1f73eff04
Merge pull request #8152 from electron/dont-show-window
...
Don't show window in specs
2016-12-06 13:54:55 -08:00
Márton Salomváry
9adb232d99
Clarify modal windows being sheets on macOS
2016-12-06 22:47:26 +01:00
Kevin Sawicki
63bffbc460
Don't show window
2016-12-06 13:25:46 -08:00
Kevin Sawicki
3e128abb73
Merge pull request #8144 from electron/from-devtools-webcontents-fix
...
Guard against missing devToolsWebContents
2016-12-06 11:05:16 -08:00
Kevin Sawicki
820fb3b82b
Guard against no devtools web contents
2016-12-06 10:36:59 -08:00
Kevin Sawicki
03263bb5b6
Add failing BrowserWindow.fromDevToolsWebContents spec
2016-12-06 10:36:59 -08:00
Kevin Sawicki
b0a1e2988b
Add spec for BrowserWindow.fromWebContents
2016-12-06 10:36:59 -08:00
Kevin Sawicki
571592a5a4
Merge pull request #8147 from electron/upgrade-libcc-for-linux-keyevent-fix
...
Upgrade libcc for Chrome 56 Linux key event fix
2016-12-06 10:36:25 -08:00
Kevin Sawicki
d1da48ff0f
Upgrade libcc for Chrome 56 Linux key event fix
2016-12-06 09:55:22 -08:00
Kevin Sawicki
6c214ed386
Merge pull request #8148 from electron/clear-interval-before-done
...
Clear interval before done
2016-12-06 09:54:48 -08:00
Kevin Sawicki
b29f7b9acb
Clear interval before assert
2016-12-06 09:25:55 -08:00
Kevin Sawicki
c2f516067f
Add missing r in variable name
2016-12-06 09:22:29 -08:00
Kevin Sawicki
58cae1d8de
Clear interval before destroying window
2016-12-06 09:22:08 -08:00
Kevin Sawicki
a9d4d9ad85
Merge pull request #8120 from electron/implement-window-methods-in-main-process
...
Implement window methods in main process
2016-12-05 09:29:11 -08:00
deepak1556
e043dabcb8
add spec
2016-12-04 00:22:57 +05:30
deepak1556
dbf4e52e05
persist media device id salt across sessions
2016-12-03 16:47:31 +05:30
deepak1556
3de3fb53bd
session: reset media device id salt when cookies are cleared
2016-12-03 16:44:33 +05:30
Kevin Sawicki
d6d85ade8e
🎨 Assign binding as const
2016-12-02 13:40:31 -08:00
Kevin Sawicki
1278e8cebc
Remove unused variable
2016-12-02 13:40:31 -08:00
Kevin Sawicki
de0ec9b33c
Tweak cancelId docs
2016-12-02 13:40:31 -08:00
Kevin Sawicki
3b99827540
Coerce features to string
2016-12-02 13:40:31 -08:00
Kevin Sawicki
635c909aab
Implement window.alert/confirm/close in main process
2016-12-02 13:40:31 -08:00
Kevin Sawicki
f894da13b0
Pass args array instead of arguments object
2016-12-02 13:40:31 -08:00
Kevin Sawicki
c27633dff4
Merge pull request #8110 from electron/track-render-view-by-process-id
...
Don't clear until render view is deleted for process id
2016-12-02 13:40:20 -08:00
Kevin Sawicki
c1a02d6556
Add spec for render-view-deleted issue
2016-12-02 10:42:09 -08:00
Kevin Sawicki
ec43dd067c
Co-locate with other private methods
2016-12-02 10:41:42 -08:00
Kevin Sawicki
f3d391e3f2
Don't clear until render view is deleted for process id
2016-12-02 10:41:42 -08:00
Kevin Sawicki
851f490168
Merge pull request #8123 from electron/dont-write-back-to-passed-options
...
Don't write back to passed in options object
2016-12-02 09:10:02 -08:00
Kevin Sawicki
07f99c06ea
Don't write back to passed in options object
2016-12-01 17:16:18 -08:00
Kevin Sawicki
d0643250f7
Merge pull request #8122 from electron/use-spread-instead-of-apply
...
Use spread syntax instead of apply
2016-12-01 17:15:22 -08:00
Kevin Sawicki
f56b00718b
Remove unused method
2016-12-01 14:56:00 -08:00
Kevin Sawicki
af555bd879
Use spread syntax instead of apply
2016-12-01 14:56:00 -08:00
Kevin Sawicki
b61e1fd69f
Add spec for error on removing all IPC listeners
2016-12-01 14:56:00 -08:00
Kevin Sawicki
c8ff67ab75
Use spread syntax instead of function apply
2016-12-01 14:56:00 -08:00
Kevin Sawicki
f72942bff1
Merge pull request #8121 from electron/add-basic-dialog-specs
...
Add basic dialog specs
2016-12-01 14:55:49 -08:00
Kevin Sawicki
36371357cd
buttonLabel -> Button label for consistency
2016-12-01 14:16:33 -08:00
Kevin Sawicki
750bd9a88b
Add initial dialog specs
2016-12-01 14:15:34 -08:00
Kevin Sawicki
5660b1e225
Merge pull request #8115 from ArisLittle/patch-1
...
fix typos
2016-12-01 08:25:39 -08:00
Zheng Guoli
acfded9687
fix typos
...
a more ‘允许’ word should be removed
2016-12-01 10:03:33 +08:00
Guerin
a9f4c208a0
Adding French translations for the documentation ( #8097 )
...
* Adding French translation of electron-versioning.md
* Adding French translation of security.md
* Fixing typos and rewriting some text
* Update security.md
2016-11-30 09:49:36 -08:00
Kevin Sawicki
bca7a6baa9
Merge pull request #8105 from electron/ci-build-scripts
...
Add Linux CI builds scripts
2016-11-30 09:44:46 -08:00
Kevin Sawicki
3cb3d8f981
Log build type
2016-11-30 09:32:20 -08:00
Kevin Sawicki
9904da9a48
Add initial arm specific cibuild script
2016-11-30 09:22:30 -08:00
Kevin Sawicki
8d9328fbee
Merge pull request #8098 from electron/clean-up-specs
...
Unify spec timeouts
2016-11-30 09:06:37 -08:00
Kevin Sawicki
eaa5d071ef
Remove unneeded timeout call
2016-11-29 16:27:18 -08:00
Kevin Sawicki
d86f0a1686
Add missing call to done
2016-11-29 14:52:47 -08:00
Kevin Sawicki
f0566f3790
isCi -> isCI
2016-11-29 14:48:28 -08:00
Kevin Sawicki
f5f790863d
Use 1 or 2 minute timeout for long specs
2016-11-29 14:31:57 -08:00
Kevin Sawicki
10386edea5
Default timeout to 30 seconds on CI and 10 seconds locally
2016-11-29 14:29:35 -08:00
Kevin Sawicki
4ccc3d9fb3
Remove unneeded return
2016-11-29 14:19:20 -08:00
Kevin Sawicki
77fa7ce977
Run more crashReporter specs on CI
2016-11-29 14:18:42 -08:00
Kevin Sawicki
2c8ab72269
Merge pull request #8084 from poiru/systempreferences-setuserdefault
...
Add systemPreferences.setUserDefault for macOS
2016-11-29 14:07:35 -08:00
Kevin Sawicki
df179ed28d
Merge pull request #8092 from poiru/setcursorautohide
...
Add BrowserWindow.setCursorAutoHide
2016-11-29 13:36:58 -08:00
Kevin Sawicki
3ec0e2f132
Add override to SetAutoHideCursor signature
2016-11-29 13:36:08 -08:00
Kevin Sawicki
477ac313ab
Merge pull request #8086 from deepak1556/devtools_remove_workspace_patch
...
override window.confirm in devtools
2016-11-29 13:31:21 -08:00
Kevin Sawicki
72e559458f
Inline buttons and cancelId values
2016-11-29 13:30:28 -08:00
Kevin Sawicki
21f0b2bd2a
Merge pull request #8096 from electron/dont-use-skip
...
Don't use Mocha's skip method
2016-11-29 12:53:13 -08:00
Kevin Sawicki
cc2936cfdf
closeWindow in an afterEach block
2016-11-29 12:30:40 -08:00
Kevin Sawicki
d20e664ea8
Close window in an afterEach
2016-11-29 12:13:33 -08:00
Kevin Sawicki
fee7683b86
Reuse window variable and only close from root afterEach
2016-11-29 11:52:31 -08:00
Kevin Sawicki
d7e7c2b17f
Assert single window from closeWindow helper
2016-11-29 11:29:20 -08:00
Kevin Sawicki
1afa41477d
Don't use this.skip() since after hooks won't be run
2016-11-29 10:56:58 -08:00
Kevin Sawicki
217848ca52
Assert windows are not leaking across tests
2016-11-29 10:56:17 -08:00
Birunthan Mohanathas
486b6b9096
Add systemPreferences.setUserDefault for macOS
...
This API can be used to e.g. enable key repeat by setting
`ApplePressAndHoldEnabled` to `false` (see also #47 ).
2016-11-29 09:46:32 -08:00
Birunthan Mohanathas
18c49285a8
Add BrowserWindow.setAutoHideCursor for macOS
...
The `disableAutoHideCursor` BrowserWindow option can be used to control
auto-hiding behavior when the window is created. This new API is needed
to dynamically change the behavior after the fact.
2016-11-29 09:46:00 -08:00
Kevin Sawicki
fb74f5576d
Merge pull request #8082 from aaronang/doc-electron-resources
...
Clarify where Electron's resources directory can be found
2016-11-28 15:39:07 -08:00
Kevin Sawicki
4aa2b093ff
Merge pull request #8072 from ramya-rao-a/doc-update
...
Clarifying crash reporter behviour in Mac
2016-11-28 15:37:21 -08:00
Kevin Sawicki
446065b88c
Minor updates to crash reporter notes
2016-11-28 15:37:06 -08:00
Kevin Sawicki
594aaec7bb
Merge pull request #7901 from electron/rename-auto-upload
...
Rename autoUpload to uploadToServer
2016-11-28 15:34:07 -08:00
Birunthan Mohanathas
cef773a439
Always link dom_keycode_converter
...
This is needed for electron/electron#7586 .
2016-11-28 15:23:04 -08:00
Kevin Sawicki
07994f50f3
Remove include now included in parent header
2016-11-28 15:11:50 -08:00
Kevin Sawicki
1c6e166af5
Value should be true on non-macOS platforms
2016-11-28 15:08:28 -08:00
Kevin Sawicki
0b9a2f6be6
Add autoSubmit crashReporter option
2016-11-28 15:08:28 -08:00
Kevin Sawicki
0c73140b07
used -> called
2016-11-28 15:08:28 -08:00
Kevin Sawicki
02cbd24165
Mention setUploadToServer only has effect after start
2016-11-28 15:08:28 -08:00
Kevin Sawicki
f4be3782a2
Add spec for get/setUploadToServer
2016-11-28 15:08:28 -08:00
Kevin Sawicki
bb9876bd6e
Remove deprecation warning for autoSubmit
2016-11-28 15:08:28 -08:00
Samuel Attard
2bf6f28152
shouldUpload --> uploadToServer
2016-11-28 15:08:28 -08:00
Samuel Attard
a7dedb3a13
Update crash_reporter.cc
2016-11-28 15:08:28 -08:00
Samuel Attard
4b61a4d3de
Fix linting
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
5a1a2616aa
Fix build issues
2016-11-28 15:08:12 -08:00
Samuel Attard
0d1804b2a0
Fix issues and deprecate the old prop
2016-11-28 15:08:12 -08:00
Samuel Attard
0b9530efd7
shouldUpload API's are macOS only
2016-11-28 15:08:12 -08:00
Samuel Attard
6bbd92368f
Add docs for getShouldUpload
2016-11-28 15:08:12 -08:00
Samuel Attard
7b8eb3e09c
Rename autoUpload to shouldUpload
2016-11-28 15:08:12 -08:00
Kevin Sawicki
774b2f99f2
Merge pull request #8038 from electron/danhp/close-file-preview
...
Add 'win.closeFilePreview()'
2016-11-28 14:47:06 -08:00
Kevin Sawicki
a7395118af
Merge pull request #7952 from the-ress/window-setappid
...
Added BrowserWindow.setAppDetails to set user model id, icon and relaunch command
2016-11-28 14:46:14 -08:00
Kevin Sawicki
3897a88082
Use skip for setAppDetails spec
2016-11-28 14:43:18 -08:00
Kevin Sawicki
0a61aad499
Add initial previewFile/closeFilePreview test
2016-11-28 14:32:15 -08:00
Kevin Sawicki
5abecadfd3
Tweak setAppDetails docs
2016-11-28 14:29:21 -08:00
Kevin Sawicki
fff59271af
Initialize app icon index to 0
2016-11-28 14:26:30 -08:00
Daniel Pham
d5a0dd39a1
🎁 Add 'win.closeFilePreview()'
2016-11-28 14:25:11 -08:00
Electron Bot
bfcca60ac3
Update to Electron v1.4.10
2016-11-29 07:12:53 +09:00
Kevin Sawicki
ccabee764b
Bump v1.4.10
2016-11-28 12:50:12 -08:00
Electron Bot
02f55b2d91
Update to Electron v1.3.12
2016-11-29 05:49:21 +09:00
Kevin Sawicki
5283b94bf9
Merge branch 'access-url-through-web-contents'
2016-11-28 10:56:35 -08:00
Kevin Sawicki
6f6c5c07f0
Remove unintended returns
2016-11-28 10:56:23 -08:00
Kevin Sawicki
3a29555772
Access URL through webContents directly
2016-11-28 10:56:23 -08:00
Kevin Sawicki
145e40c2f6
Add more origin comparison specs
2016-11-28 10:56:23 -08:00
Kevin Sawicki
41dea03007
window.opener location should be webview src URL
2016-11-28 10:56:23 -08:00
deepak1556
3ac9858726
override window.confirm in devtools
2016-11-28 01:08:48 +05:30
Cheng Zhao
bbaab755e3
Merge pull request #8049 from electron/prevent-remove-all-ipc
...
Throw an error when users attempt to remove all listeners from the IPC modules
2016-11-27 14:29:49 +08:00
Cheng Zhao
8fd6463ab0
Merge pull request #8024 from pedro/handle-drop-mac-os-fix
...
Fix support for dragging urls in Mac
2016-11-27 14:24:35 +08:00
Aaron Ang
92fe82a208
📝 Clarify where Electron's resources directory can be found
...
[ci skip]
2016-11-26 00:44:08 +01:00
Samuel Attard
4ff7cf2bcc
Update web-frame docs
2016-11-25 23:33:31 +11:00
Samuel Attard
f6a6ca8a22
Update cookies docs
2016-11-25 23:27:11 +11:00
Samuel Attard
c9615a201c
Update app docs
2016-11-25 23:23:45 +11:00
Samuel Attard
921b474919
Fixup app and bw docs
2016-11-25 23:21:25 +11:00
Samuel Attard
06960704c4
Update docs for dts again
2016-11-25 23:17:31 +11:00
Electron Bot
8ba43b4e5b
Update to Electron v1.4.9
2016-11-24 08:50:47 +09:00
Ramya Achutha Rao
f8b738e6c2
Clarifying crash reporter behviour in Mac
2016-11-23 15:36:03 -08:00
Kevin Sawicki
b036fdfee0
Bump v1.4.9
2016-11-23 14:36:32 -08:00
Kevin Sawicki
3930f17d9d
Merge pull request #8071 from electron/fix-doc-indentation
...
Fix indentation in menu template example
2016-11-23 14:36:18 -08:00
Kevin Sawicki
9eb521fb38
Fix indentation in menu template example
2016-11-23 14:34:55 -08:00
Kevin Sawicki
27625d2665
Merge pull request #8070 from electron/remove-unnecessary-escape-characters
...
Remove unnecessary escape characters
2016-11-23 14:31:32 -08:00
Kevin Sawicki
0593696344
Remove unnecessary escape characters
2016-11-23 14:27:54 -08:00
Electron Bot
2420a3497c
Update to Electron v1.3.11
2016-11-24 07:07:19 +09:00
Kevin Sawicki
2cabfa5589
Merge branch 'check-sender-web-contents-access'
2016-11-23 12:30:25 -08:00
Kevin Sawicki
0134d62681
Always use guest contents for canAccessWindow check
2016-11-23 12:01:09 -08:00
Kevin Sawicki
0799317ff5
Add failing specs window.opener from <webview> opened window
2016-11-23 12:01:09 -08:00
Zeke Sikelianos
d4fa23144d
Merge pull request #216 from ivoputzer/master
...
fixes typo within readme
2016-11-23 11:10:55 -08:00
Kevin Sawicki
686a26d948
Merge pull request #8065 from DanTheMan827/patch-1
...
Fixed language code for Aragonese
2016-11-23 09:10:48 -08:00
Kevin Sawicki
cd5bfbfead
Sort by codes
2016-11-23 09:10:27 -08:00
Kevin Sawicki
9a7209d58e
Merge pull request #8016 from the-ress/windows-lint
...
Fixed linting on Windows
2016-11-23 09:09:39 -08:00
DanTheMan827
f89a045605
Fixed language code to Aragonese
2016-11-23 09:21:27 -06:00
Ivo von Putzer Reibegg
9518b66d73
fixes typo within readme
2016-11-23 12:16:27 +01:00
Zeke Sikelianos
a353a94b70
use new docs linter, remove cross-conf-env dep
2016-11-23 08:19:42 +01:00
Tereza Tomcova
5498a31493
Fixed linting on Windows
2016-11-23 08:18:46 +01:00
Zeke Sikelianos
6b34b97c29
Merge pull request #8057 from electron/fixup-docs-for-ts
...
Docs update
2016-11-22 19:18:37 -08:00
Samuel Attard
6a8ee19bf0
Docs update
2016-11-23 11:51:44 +11:00
Kevin Sawicki
cf690ae513
Merge pull request #7986 from salomvary/fix-before-quit-docs
...
Clarify docs on a `before-quit` behavior edge case
2016-11-22 16:51:26 -08:00
LuisHsu
cd8b7f5219
zh_TW translation of some tutorial document ( #8054 )
...
* 📝 zh_TW translation of tutorial
docs-translations/zh-TW/tutorial/debugging-main-process-
node-inspector.md
* 📝 zh_TW translation of tutorial
[ci skip]
debugging-main-process-vscode.md
* 📝 Translate zh_TW DE integration
desktop-environment-integration.md
* 📝 Translate zh_TW DE integration
[ci skip]
desktop-environment-integration.md
2016-11-22 15:59:28 -08:00
Electron Bot
7938f2b50d
Update to Electron v1.4.8
2016-11-23 08:46:12 +09:00
Kevin Sawicki
37b18243f4
Bump v1.4.8
2016-11-22 14:02:52 -08:00
Kevin Sawicki
e356168c9a
Merge pull request #8047 from electron/fix-incorrect-window-size
...
Fix incorrect window size after restore on Windows
2016-11-22 14:01:50 -08:00
Kevin Sawicki
6f29d7211e
Move restore/unmaximize specs near state ones
2016-11-22 13:32:39 -08:00
Kevin Sawicki
414db313c6
Merge pull request #8056 from electron/mocha-only-check
...
Check runner.hasOnly for focused spec check
2016-11-22 13:30:08 -08:00
Kevin Sawicki
63eec70350
Assert bounds when restoring
2016-11-22 13:22:30 -08:00
Kevin Sawicki
c0d9175bc3
Try specs without setTimeout calls
2016-11-22 13:14:17 -08:00
Kevin Sawicki
89965aa5db
Check runner.hasOnly for focused spec check
2016-11-22 13:06:18 -08:00
Kevin Sawicki
238beb72ee
Remove .only call
2016-11-22 11:41:02 -08:00
Electron Bot
fb7718d700
Update to Electron v1.3.10
2016-11-23 04:19:29 +09:00
Zeke Sikelianos
6c046704c7
Merge pull request #8022 from electron/lint-required-and-optional-params
...
use updated docs linter with required param parsing
2016-11-22 10:47:32 -08:00
Zeke Sikelianos
5dc4b22d31
Merge pull request #7992 from electron/process-doc-followup
...
Process doc followup
2016-11-22 10:46:57 -08:00
Kevin Sawicki
95ab4815de
Merge pull request #8041 from electron/webview-zoom-factor
...
Add new method to set layout-based zoom level limit
2016-11-22 09:08:00 -08:00
Kevin Sawicki
a7aed98d59
Add initial spec for zoom level limits
2016-11-22 08:43:14 -08:00
Kevin Sawicki
c4b68d88e9
Add setZoomLevelLimits to planned breaking changes
2016-11-22 08:11:14 -08:00
Kevin Sawicki
d4368fabb9
Add 2.0 comment about setZoomLevelLimits
2016-11-22 08:09:14 -08:00
Kevin Sawicki
9a5df9da41
Expose setVisualZoomLevelLimits on webContents and <web-view>
2016-11-22 08:07:55 -08:00
Kevin Sawicki
756a338b05
Document webFrame.setVisualZoomLevelLimits as public
2016-11-22 08:03:04 -08:00
Kevin Sawicki
e887fb69bd
Export a setVisualZoomLevelLimits method
2016-11-22 07:53:02 -08:00
Kevin Sawicki
fb5bca8bc5
Merge pull request #8046 from electron/bengotow/url-schemes-docs-patch
...
Update open-url docs to mention NSPrincipalClass
2016-11-22 07:50:13 -08:00
Kevin Sawicki
0d317a2e49
Add backticks around Info.plist
2016-11-22 07:49:56 -08:00
Kevin Sawicki
77e317c1eb
Merge pull request #8043 from electron/crash-reporter-docs
...
crash-reporter -> crashReporter
2016-11-22 07:49:11 -08:00
Samuel Attard
db729b5b52
Throw an error when users attempt to remove all listeners from the IPC modules
2016-11-22 18:30:58 +11:00
Samuel Attard
97b4f12112
Fix linting issues
2016-11-22 16:13:08 +11:00
Samuel Attard
926cabec78
Add spec for maximize restore positioning
2016-11-22 16:07:19 +11:00
Samuel Attard
621a934160
Fix maximize --> unmaximize positioning issue
2016-11-22 16:07:05 +11:00
Samuel Attard
c65033a13b
Revert "incorrect position when restored from maximize-on-top-drag under Windows #7630 "
...
This reverts commit a2b3abbf47 .
2016-11-22 15:49:56 +11:00
Samuel Attard
67f33cdb60
Add failing spec for window size after restore
2016-11-22 15:49:47 +11:00
Ben Gotow
964c88a189
Update open-url docs to mention NSPrincipalClass
...
We got bit by a nasty bug today - if you change your app's info.plist `NSPrincipalClass` to something other to `AtomApplication` (We set it to NylasApplication via a bad find-replace), everything works except open-url is never fired. Add a small reference to the docs so folks know to check this key.
2016-11-21 16:55:18 -08:00
Kevin Sawicki
62b39d58ca
crash-reporter -> crashReporter
2016-11-21 15:42:24 -08:00
Paul Betts
3e85d7759b
📝
2016-11-21 15:16:13 -05:00
Paul Betts
7445f9bdcc
Lint
2016-11-21 15:13:34 -05:00
Paul Betts
e2649ce7d8
Add new method to set layout-based zoom level limit
2016-11-21 14:59:55 -05:00
Kevin Sawicki
71f94c7a3a
Merge pull request #8030 from LuisHsu/master
...
zh_TW translation of tutorial docs
2016-11-21 09:53:25 -08:00
Kevin Sawicki
41d6207376
Merge pull request #8027 from bowbowbow/patch-1
...
Fix missed parameter in example.
2016-11-21 09:51:44 -08:00
Kevin Sawicki
82d17cb05d
Merge pull request #7993 from electron/get-user-default-crash
...
Prevent systemPreferences.getUserDefault crash for missing arrays/dictionaries
2016-11-21 09:50:37 -08:00
Kevin Sawicki
26137977cd
Fix crash when return value pointer is null
2016-11-21 09:22:30 -08:00
Kevin Sawicki
cbffd598f9
Add failing spec for unknown user defaults
2016-11-21 09:22:30 -08:00
Kevin Sawicki
2e35b1c855
Merge pull request #7776 from electron/zoom-to-web-contents-size
...
Add zoomToPageWidth window option
2016-11-21 09:21:55 -08:00
Kevin Sawicki
ea6b53578f
Mention preferred size
2016-11-21 08:45:46 -08:00
Kevin Sawicki
2fc46f638f
🎨
2016-11-21 08:45:46 -08:00
Kevin Sawicki
a991570677
intrinsicWidth -> pageWidth
2016-11-21 08:45:46 -08:00
Kevin Sawicki
d4ba5b4638
Add spec for zoomToPageWidth
2016-11-21 08:45:46 -08:00
Kevin Sawicki
b02c0e6f46
Remove unneeded proportion calculation
2016-11-21 08:45:46 -08:00
Kevin Sawicki
7916981da2
zoomToContentSize -> zoomToPageWidth
2016-11-21 08:45:46 -08:00
Kevin Sawicki
7896ee23a2
Document zoomToContentSize
2016-11-21 08:45:46 -08:00
Kevin Sawicki
c5790e39dc
Add support for zooming to content size
2016-11-21 08:45:46 -08:00
Zeke Sikelianos
8bc3dcd17a
Merge pull request #8031 from muryoimpl/fix-broken-link-in-api-dialog
...
Fix typo in docs/api/dialog
2016-11-20 17:54:47 -08:00
muryoimpl
eab5376c25
Fix typo
2016-11-21 00:49:11 +09:00
LuisHsu
56b15eadea
📝 zh_TW of tutorial/accessibility.md
...
[ci skip]
* Translate tutorial/about.md
2016-11-20 22:35:32 +08:00
LuisHsu
61c31f8e21
📝 zh_TW translation of tutorial/about.md
...
[ci skip]
1. Translate tutorial/about.md
2. Fix some broken links
3. Untranslated links are keep in English
2016-11-20 22:01:43 +08:00
bowbowbow
8918770892
I modified missed parameter in example.
...
Below example (in line 43 ~ 45) not working like comment. Because `ipcRenderer` callback function have two parameters (event, arg).
```javascript
ipcRenderer.on('asynchronous-reply', (arg) => {
console.log(arg) // "pong" 출력
})
```
2016-11-20 21:30:50 +09:00
Pedro Belo
89e8ad4947
Fix support for dragging urls in Mac
2016-11-19 21:18:24 -08:00
Zeke Sikelianos
94988f89b0
use updated docs linter with required param parsing
2016-11-19 11:34:19 -08:00
Tereza Tomcova
b305020c1d
Added documentation for BrowserWindow.setAppDetails
2016-11-18 21:43:03 +01:00
Tereza Tomcova
782417b1fa
Added tests for BrowserWindow.setAppDetails
2016-11-18 21:34:01 +01:00
Tereza Tomcova
38b14fc912
Include shell.h only for Windows
2016-11-18 21:33:55 +01:00
Tereza Tomcova
ac9e0b458d
Added BrowserWindow.setAppDetails to set user model id, icon and relaunch command
2016-11-18 21:33:55 +01:00
Zeke Sikelianos
d6e3360aef
Merge pull request #8009 from deed02392/master
...
Update docs
2016-11-18 08:33:24 -08:00
deed02392
1ee0efbe5c
Merge pull request #1 from deed02392/patch-1
...
Patch 1
2016-11-18 00:38:24 +00:00
George Hafiz
aac31159b8
Update formatting to prevent '[] ()' sequences (e.g. String[] (optional)), which breaks MD rendering on GitHub and hides the array indication
2016-11-18 00:34:48 +00:00
deed02392
0aa1c3c6c3
Update dialog.md
...
Fix syntax to support docs parser and MD.
2016-11-17 22:39:24 +00:00
Kevin Sawicki
02a95a3eba
Merge pull request #7981 from electron/more-menu-item-roles
...
Add reload and toggledevtools menu item roles
2016-11-17 13:04:13 -08:00
Kevin Sawicki
996ddba715
Add rpc error for ELECTRON_BROWSER_MEMBER_GET
2016-11-17 12:29:23 -08:00
Kevin Sawicki
88809b0e0b
Document reload and toggledevtools roles
2016-11-17 10:57:20 -08:00
Kevin Sawicki
88959079bd
Add toggledevtools menu item role
2016-11-17 10:57:20 -08:00
Kevin Sawicki
0698b5f1be
Add reload menu item role
2016-11-17 10:57:20 -08:00
Kevin Sawicki
28c39d5151
Merge pull request #8003 from electron/missing-remote-object-error
...
Throw custom error when remote object is missing from registry
2016-11-17 10:57:03 -08:00
Kevin Sawicki
5427ec4844
Negate code as per node docs
2016-11-17 10:22:29 -08:00
Kevin Sawicki
aef898ad93
Set errno on RPC error
2016-11-17 10:09:29 -08:00
Kevin Sawicki
c05ca68811
Throw custom error when remote object is missing from registry
2016-11-17 09:55:13 -08:00
deed02392
489d873306
Update dialog.md
...
Fix 'properties' type in documentation (was missing `[]` notation due to lack of Markdown escaping).
2016-11-17 07:36:37 +00:00
Cheng Zhao
3834f0c6a6
Merge pull request #7974 from electron/chrome-runtime-response-callback
...
Implement chrome.runtime.onMessage response callback
2016-11-17 13:01:38 +09:00
Samuel Attard
7c26ec8bd4
Remove semicolon
2016-11-17 14:56:44 +11:00
Cheng Zhao
eb63bea87c
Merge branch 'gabriel-master'
2016-11-17 12:15:38 +09:00
Cheng Zhao
5639faf069
Also fix the Windows and Linux side of async openExternal
2016-11-17 12:13:07 +09: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
5b260dbee3
Fix win/linux compile (again)
2016-11-17 10:33:24 +09:00
Gabriel Handford
f0ca9dff81
Fix win/linux compile
2016-11-17 10:33:24 +09:00
Gabriel Handford
9382d48708
Update docs
2016-11-17 10:33:24 +09:00
Gabriel Handford
54222bdf28
More general string for OSStatus
2016-11-17 10:33:24 +09:00
Gabriel Handford
2931c27395
More readable
2016-11-17 10:33:24 +09:00
Gabriel Handford
31123f908d
Fix ternary
2016-11-17 10:33:24 +09:00
Gabriel Handford
99a5258999
Callback uses (platform specific) error, with message
2016-11-17 10:33:24 +09:00
Gabriel Handford
5e8059e0fa
Fix method names, move to anon namespace
2016-11-17 10:33:24 +09:00
Gabriel Handford
08a9af3a85
Linting
2016-11-17 10:33:24 +09:00
Gabriel Handford (linux)
d186fd78e3
Fix header
2016-11-17 10:33:23 +09:00
Gabriel Handford
6524a33ffc
Include callback header
2016-11-17 10:33:23 +09:00
Gabriel Handford
21df08d536
Remove redundant comment
2016-11-17 10:33:23 +09:00
Gabriel Handford
cfd2a029ad
Fix linting
2016-11-17 10:33:23 +09:00
Gabriel Handford
c78567aba6
Update shell openExternal docs (from review)
2016-11-17 10:33:23 +09:00
Gabriel Handford
9ca684d87f
Remove redundant method
2016-11-17 10:33:23 +09:00
Gabriel Handford
128feb17cb
Fix method call
2016-11-17 10:33:23 +09:00
Gabriel Handford
3eb5f8d521
Fix typo
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
Electron Bot
c94268a0fe
Update to Electron v1.3.9
2016-11-17 05:57:00 +09:00
Zeke Sikelianos
1b5b29901c
Merge pull request #7969 from electron/one-file-per-api
...
move each API doc into its own file
2016-11-16 11:12:36 -08:00
Electron Bot
fd56129bb5
Update to Electron v1.4.7
2016-11-17 03:46:52 +09:00
Zeke Sikelianos
468d8b7707
reference node's process object
2016-11-16 09:54:29 -08:00
Zeke Sikelianos
1da97f729e
process object is available in renderer processes too
2016-11-16 09:54:19 -08:00
Zeke Sikelianos
f9683ff99f
use unreleased linter
2016-11-16 09:03:17 -08:00
Zeke Sikelianos
a7fdd04751
move menu constructor docs to top of file
2016-11-16 09:02:49 -08:00
Zeke Sikelianos
5979dab13c
fix some class headings
2016-11-16 09:02:49 -08:00
Zeke Sikelianos
c9739abf7f
add description and process for BrowserWindow class
2016-11-16 09:02:49 -08:00
Zeke Sikelianos
39330affda
DownloadItem only needs one heading
2016-11-16 09:02:49 -08:00
Zeke Sikelianos
d6684c4dcd
fix UploadBlob heading
2016-11-16 09:02:49 -08:00
Zeke Sikelianos
4770d2b526
returns an instance, not the module
2016-11-16 09:02:49 -08:00
Zeke Sikelianos
2b689a21e7
fix structure headings
2016-11-16 09:02:49 -08:00
Zeke Sikelianos
b084dc29ea
move each API doc into its own file
2016-11-16 09:02:49 -08:00
Kevin Sawicki
c4d74c48e4
Bump v1.4.7
2016-11-16 08:11:28 -08:00
Kevin Sawicki
436775b1e4
Merge branch 'opener-origin-check'
2016-11-16 08:10:18 -08:00
Kevin Sawicki
aa2824621a
Make scheme const
2016-11-16 08:03:07 -08:00
Kevin Sawicki
651eaec64f
Use sender.id instead of sender.webContents.id
2016-11-16 07:50:30 -08:00
Kevin Sawicki
92577c37c8
Don't log blocked messages when guestWindow is null
2016-11-16 07:50:30 -08:00
Kevin Sawicki
04c68745db
Always call done callback in before block
2016-11-16 07:50:30 -08:00
Cheng Zhao
81f2e76e36
Fix standard linting errors
2016-11-16 07:50:30 -08:00
Cheng Zhao
18fca785c4
Print error messages
2016-11-16 07:50:30 -08:00
Cheng Zhao
a1066617a8
Do permission check when calling guest window methods
2016-11-16 07:50:30 -08:00
Cheng Zhao
a1dfdbdde4
spec: Should check origin before accessing window.opener
2016-11-16 07:50:30 -08:00
Kevin Sawicki
63a138b6de
Merge pull request #7980 from electron/guard-against-missing-members
...
Guard against missing members in setObjectMembers
2016-11-16 07:46:42 -08:00
Kevin Sawicki
5167ccd147
Guard against missing members in setObjectMembers
2016-11-16 07:45:34 -08:00
Kevin Sawicki
cb0845fc49
Merge pull request #7979 from electron/credits-attributed-string
...
Convert about credits to NSAttributedString
2016-11-16 07:45:07 -08:00
Kevin Sawicki
11449b2e8c
Convert about credits to NSAttributedString
2016-11-16 07:42:24 -08:00
Kevin Sawicki
bee5ced8f4
Merge pull request #7978 from electron/memoize-no-asar-env-check
...
Memoize ELECTRON_NO_ASAR env var check
2016-11-16 07:41:48 -08:00
Kevin Sawicki
bea1a0643c
Memoize ELECTRON_NO_ASAR env var check
2016-11-16 07:37:53 -08:00
Kevin Sawicki
f111bb4107
Merge pull request #7989 from electron/pin-electron-docs-linter
...
Pin electron-docs-linter version
2016-11-16 07:37:08 -08:00
Kevin Sawicki
f20ca63dd0
Pin electron-docs-linter to 1.14.1
2016-11-16 07:33:36 -08:00
Márton Salomváry
98e18a62e2
Clarify docs on a before-quit behavior edge case
...
See #7875
2016-11-16 10:38:57 +01:00
Kevin Sawicki
9624bc1403
Merge pull request #7917 from voidbridge/feature/expose-cert-chain
...
Expose whole certificate chain to verify proc
2016-11-15 16:37:58 -08:00
Kevin Sawicki
fc1ce3eeab
Assert certs further up the chain
2016-11-15 16:32:12 -08:00
Kevin Sawicki
095d711848
Remove select-client-certificate issueCert assert
2016-11-15 16:24:50 -08:00
Kevin Sawicki
a1dca8afc9
🎨 Remove buildup asserts and just use assert.equal
2016-11-15 15:53:42 -08:00
Greg Nolle
86321a2c60
Fixed incorrect subject name of test client certificate.
2016-11-15 15:53:42 -08:00
Greg Nolle
2e5c92d41e
Fix listing issues: remove semicolons.
2016-11-15 15:53:42 -08:00
Greg Nolle
f767f0f048
Remove unnecessary ConvertToV8 calls.
2016-11-15 15:53:42 -08:00
Greg Nolle
93ce2f7800
Add assertions for new fields in existing specs.
2016-11-15 15:53:42 -08:00
Greg Nolle
5d028f9163
Expose extra certificate information: full breakdown of issuer and subject principals, as well as full structure of intermediate issuer certificates.
2016-11-15 15:53:42 -08:00
Greg Nolle
446399c3c1
Expose whole certificate chain to verify proc and certificate-error event.
2016-11-15 15:53:42 -08:00
Kevin Sawicki
0ef6d4631d
Merge pull request #7658 from figma/webview-manual-guest-resize
...
Allow webview guests to be resized manually
2016-11-15 14:21:56 -08:00
Kevin Sawicki
b87d86e9d5
Merge pull request #7982 from kirly-af/kirly-af-tray-example-fix
...
[ci skip] Correct Linux limitation example
2016-11-15 14:19:03 -08:00
Kevin Sawicki
35e000024c
Minor doc updates to setSize/disableguestresize
2016-11-15 13:59:01 -08:00
Kevin Sawicki
9e51c779e1
Assert expected height
2016-11-15 13:54:25 -08:00
Alexandre
6f8eb282b7
[ci skip] Correct Linux limitation example
2016-11-15 21:53:54 +01:00
Zeke Sikelianos
dfcc044688
Merge pull request #211 from electron-userland/mafintosh-patch-1
...
log level is missing http
2016-11-15 12:37:56 -08:00
Kevin Sawicki
301b8ec39a
Merge pull request #7962 from liusy182/disable-accelerator
...
disable accelerator when menu item is disabled
2016-11-15 11:05:36 -08:00
Birunthan Mohanathas
2986b7bc4a
Allow webview guests to be resized manually
...
This adds the `disableguestresize` property for webviews to prevent the
webview guest from reacting to size changes of the webview element. This
also partially documents the `webContents.setSize` function in order to
manually control the webview guest size.
These two features can be combined to improve resize performance for
e.g. webviews that span the entire window. This greatly reduces the lag
described in #6905 .
2016-11-15 11:00:09 -08:00
张树源
89feefac2c
update app.md Chinese translation to latest version ( #7973 )
...
* Update Chinese translation to latest version.
* Update app.md translation
* update app.md Chinese translation to latest version.
2016-11-15 10:04:00 -08:00
Kevin Sawicki
68a6b39920
Merge pull request #7971 from electron/modify-install-docs
...
make npm install instructions more prominent
2016-11-15 10:03:23 -08:00
Kevin Sawicki
eeffa42513
Merge pull request #7923 from jhen0409/patch-1
...
Add support remove / clear for chrome.storage
2016-11-15 09:04:45 -08:00
Jhen
8b30439d7f
Update devtools extension spec for chrome.storage
2016-11-15 19:58:08 +08:00
Samuel Attard
01005688b6
Implement chrome.runtime.onMessage response callback
2016-11-15 21:30:40 +11:00
liusi
00d9baa605
fix linting error
2016-11-15 13:23:59 +08:00
liusi
9e91f319c1
fix linting error
2016-11-15 13:19:34 +08:00
Kevin Sawicki
619bb31de2
Merge pull request #7972 from electron/macos-10-11-constants
...
Use visual effect values directly since enums are 10.11+
2016-11-14 17:04:55 -08:00
Kevin Sawicki
dcb3a13361
Use values directly since constants are 10.11+
2016-11-14 16:43:05 -08:00
Kevin Sawicki
c2663e48c1
Merge pull request #7967 from veleek/patch-1
...
Update electron-squirrel-startup link
2016-11-14 15:46:34 -08:00
Zeke Sikelianos
621715e5e5
link to more relevant yarn doc
2016-11-14 13:57:12 -08:00
Zeke Sikelianos
b9991f0494
make npm install instructions more prominent
2016-11-14 13:52:07 -08:00
Ben Randall
c259b4294d
Update electron-squirrel-startup link
...
The currently link points to a non-existent page. I'm pointing it to another link that seems to be appropriate, but I'm not positive.
If someone else knows that this is the correct place to link that would be nice to hear.
2016-11-14 10:16:24 -08:00
Kevin Sawicki
4867475cee
Merge pull request #7540 from deepak1556/form_post_new_window_patch
...
webContents: handle POST navigation for new windows
2016-11-14 07:39:54 -08:00
Kevin Sawicki
8822c7d87d
Merge pull request #7958 from jhen0409/patch-2
...
Add Redux DevTools Extension to support list
2016-11-14 07:32:53 -08:00
liusi
06cfcd612d
disable accelerator when menu item is disabled
2016-11-14 12:29:27 +08:00
Jhen
1404ea1c2c
Add Redux DevTools Extension to support list
2016-11-14 00:32:31 +08:00
deepak1556
4deb7c6fa7
fix lint error
2016-11-12 07:16:48 +05:30
Kevin Sawicki
b9e950f5c7
Mark postData as optional
2016-11-12 07:15:21 +05:30
Kevin Sawicki
134f8afbe6
Add specs for content type on POST forms
2016-11-11 10:54:01 -08:00
Kevin Sawicki
50019f39e9
🎨
2016-11-11 10:54:01 -08:00
deepak1556
5f596b22c7
specify content type depending on post data
2016-11-11 10:54:01 -08:00
Kevin Sawicki
cbb68f6980
Remove quotes around key
2016-11-11 10:54:01 -08:00
deepak1556
61576c39be
uploadData => uploadRawData
2016-11-11 10:54:01 -08:00
deepak1556
9536ebc0ad
fix build error
2016-11-11 10:54:01 -08:00
deepak1556
723a3eda8b
update docs
2016-11-11 10:54:01 -08:00
deepak1556
a5fd6507a9
set default values in converter
2016-11-11 10:54:01 -08:00
deepak1556
dbe57c4ad4
update docs
2016-11-11 10:54:01 -08:00
deepak1556
ad5f944185
add spec
2016-11-11 10:53:36 -08:00
deepak1556
2044208fd6
add docs
2016-11-11 10:53:36 -08:00
deepak1556
2d7ceae320
fix js lint error
2016-11-11 10:53:00 -08:00
deepak1556
0410a184ce
webContents: handle POST navigation for new windows
2016-11-11 10:53:00 -08:00
Kevin Sawicki
7cfe1dd0af
Merge pull request #7946 from electron/move-footer-links-to-bottom
...
Move footer links to bottom
2016-11-11 10:23:03 -08:00
Kevin Sawicki
4de2493d89
Move footer links to bottom
2016-11-11 10:22:27 -08:00
Jhen
b86dff45d7
Add support remove / clear for chrome.storage
2016-11-12 02:16:51 +08:00
Zeke Sikelianos
fb8339830e
Merge pull request #7945 from electron/add-process-to-content-tracing-doc
...
add process to contentTracing doc
2016-11-11 10:09:07 -08:00
Zeke Sikelianos
ec7cae4a34
add process to contentTracing doc
2016-11-11 10:07:36 -08:00
Zeke Sikelianos
80a7835cdf
Merge pull request #7884 from electron/optional-things
...
Update docs to correctly identify props and params that are optional
2016-11-11 09:47:31 -08:00
Zeke Sikelianos
50be8b65d1
update docs linter
2016-11-11 09:22:55 -08:00
Samuel Attard
174e51507d
Update menu.md
2016-11-11 09:22:55 -08:00
Samuel Attard
494afec01d
remote require could resolve to strings/numbers not just objects
2016-11-11 09:22:55 -08:00
Samuel Attard
aeefee7348
Fix the download-item doc so it correctly resembles a class
2016-11-11 09:22:55 -08:00
Samuel Attard
c1af62a3b3
Move crash-report object to it's own struct
2016-11-11 09:22:55 -08:00
Samuel Attard
11f8923c43
Fix tray and menu docs
2016-11-11 09:22:55 -08:00
Samuel Attard
63ebc41778
More docs updates
2016-11-11 09:22:55 -08:00
Samuel Attard
1a9b4b4671
First few docs made optional
2016-11-11 09:22:55 -08:00
Kevin Sawicki
8a29604f1e
Merge pull request #7944 from electron/autorelease-effect-view
...
Autorelease NSVisualEffectView
2016-11-11 09:05:32 -08:00
Kevin Sawicki
483e007b69
🎨
2016-11-11 08:51:33 -08:00
Kevin Sawicki
2d8a61a775
autorelease NSVisualEffectView
2016-11-11 08:51:29 -08:00
gellert
5e62d28e50
adds test, adds view to AtomNSWindow and minor fixes
2016-11-11 08:49:57 -08:00
gellert
2cf30c0d63
remove method transferred to set with null
2016-11-11 08:49:57 -08:00
gellert
16253fe708
doc fixes
2016-11-11 08:49:57 -08:00
gellert
84a3fe50dc
little fix in docs
2016-11-11 08:49:57 -08:00
gellert
8ad50d1e35
adds vibrancy effect for macos
2016-11-11 08:49:57 -08:00
Zeke Sikelianos
ad638097b6
Merge pull request #7933 from joshaber/patch-1
...
Update external frameworks version
2016-11-11 07:43:35 -08:00
liusi
356d0520ae
fix linting error
2016-11-11 17:57:22 +08:00
Mathias Buus
537203469e
log level is missing http
2016-11-11 15:38:02 +09:00
joshaber
999b349e94
Docit
2016-11-10 13:35:56 -05:00
Kevin Sawicki
76375a83eb
Merge pull request #7925 from mrxf/patch-5
...
Modify the error terms
2016-11-10 09:34:14 -08:00
Kevin Sawicki
ea534aa564
Merge pull request #7922 from mrxf/patch-4
...
Modify some translation errors
2016-11-10 09:33:55 -08:00
Kevin Sawicki
055e49ab9c
Merge pull request #7921 from mrxf/patch-3
...
fix some translation problems
2016-11-10 09:33:04 -08:00
Josh Abernathy
0d43e239d4
Update to version 1.2.0 of external frameworks.
2016-11-10 11:33:01 -05:00
张树源
c04a0381dc
Modify the error terms
...
There is an error in the translation of the last sentence.It may make reader confuse.
2016-11-10 14:42:41 +08:00
张树源
5cebe65310
Modify some translation errors
2016-11-10 11:13:54 +08:00
张树源
ab5a49b6ae
fix some translation problems
...
update translation.
2016-11-10 10:29:43 +08:00
Kevin Sawicki
7b463297c6
Merge pull request #7908 from deepak1556/about_scheme_patch
...
protocol: register about scheme handler
2016-11-09 16:13:27 -08:00
Electron Bot
e3889e7035
Update to Electron v1.4.6
2016-11-10 06:26:29 +09:00
Kevin Sawicki
debdce1e66
Bump v1.4.6
2016-11-09 11:59:25 -08:00
Kevin Sawicki
8a2706d2f4
Merge pull request #7906 from electron/upgrade-chrome-53
...
Upgrade to Chrome 53.0.2785.143
2016-11-09 11:49:33 -08:00
Kevin Sawicki
709dd0bf18
Upgrade to Chrome 53.0.2785.143
2016-11-09 11:03:44 -08:00
Zeke Sikelianos
47636343c9
Merge pull request #202 from nucleardreamer/log-level
...
Download progress should only show for appropriate log levels
2016-11-09 10:57:37 -08:00
Kevin Sawicki
de78f3441e
Merge pull request #7916 from thompsonemerson/patch-7
...
add link for powerSaveBlocker | pt-br
2016-11-09 08:28:21 -08:00
Emerson Thompson
f23624755e
add link for powerSaveBlocker | pt-br
2016-11-09 13:25:24 -03:00
Kevin Sawicki
0c265f8ed4
Merge pull request #7912 from mrxf/patch-2
...
Update translation
2016-11-09 08:17:59 -08:00
Kevin Sawicki
c1f2e30c5a
Merge pull request #7910 from mrxf/patch-1
...
update simplified Chinese translation
2016-11-09 08:17:31 -08:00
Kevin Sawicki
3b415b2e99
Merge pull request #7907 from thompsonemerson/patch-5
...
power-save-blocker.md file translation
2016-11-09 08:16:20 -08:00
张树源
bea9f78ddb
Update translation
...
change link to a simple Chinese page.
2016-11-09 18:29:49 +08:00
张树源
95484a1b1a
修改翻译不完善部分
...
完善翻译内容
2016-11-09 16:53:53 +08:00
deepak1556
a0065e62fa
add about: protocol handler
2016-11-09 13:22:58 +05:30
deepak1556
3aab713d24
add failing spec
2016-11-09 11:00:50 +05:30
Emerson Thompson
5d6f180413
power-save-blocker.md file translation
2016-11-08 14:51:53 -03:00
Kevin Sawicki
ba6f1f5443
Merge pull request #259 from electron/upgrade-chrome-53
...
Upgrade to Chrome 53.0.2785.143
2016-11-08 09:36:17 -08:00
Kevin Sawicki
66b5f0c80c
Upgrade to Chrome 53.0.2785.143
2016-11-08 09:17:29 -08:00
liusi
a69ee76705
fix review comments
2016-11-08 15:36:37 +08:00
Kevin Sawicki
7971ce0dd9
Merge pull request #7895 from electron/windows-symbol-server
...
Update Windows symbols server URL
2016-11-07 15:14:53 -08:00
Lee Dohm
4159a6a41d
Merge pull request #7900 from electron/more-license-clarification
...
More license section clarification and update copyright year
2016-11-07 14:57:46 -08:00
Lee Dohm
e49af23a7d
Add copyright range of 2013-2016 to LICENSE
2016-11-07 14:54:54 -08:00
Lee Dohm
30117816be
More license section clarification
2016-11-07 14:26:21 -08:00
Kevin Sawicki
b6ece7d16c
Merge pull request #7852 from electron/webview-guestinstance
...
Fix reload/destroy webview guestinstance issues
2016-11-07 13:48:01 -08:00
Kevin Sawicki
6fda4fc45c
Guard against attachedCallback firing while handling detachedCallback
2016-11-07 13:42:36 -08:00
Kevin Sawicki
18e1de105f
Add failing spec for deleted guestinstance when moving webview
2016-11-07 13:42:36 -08:00
Kevin Sawicki
133ad6e18b
Only set size and load URL on first attach
2016-11-07 13:42:36 -08:00
Kevin Sawicki
b84fed5cb2
Add failing spec for hide/show reload issue
2016-11-07 13:42:36 -08:00
Kevin Sawicki
a737732521
Only remove guest from embedder when view id changes
2016-11-07 13:42:36 -08:00
Kevin Sawicki
f454cb3408
Add failing spec for hide/show webview issue
2016-11-07 13:42:36 -08:00
Lee Dohm
d18a9eaf65
Merge pull request #7897 from electron/logo-clarification
...
Add logo clarification and standardized licensing language
2016-11-07 12:23:08 -08:00
Lee Dohm
059433511c
Add logo clarification and standardized licensing language
2016-11-07 12:08:11 -08:00
Kevin Sawicki
acacb3f551
Update symbols server URL
2016-11-07 10:58:27 -08:00
Kevin Sawicki
0008bc5f82
Merge pull request #7893 from tinydew4/translate-ko
...
Update the korean docs up to 'ef9d8fe' commit.
2016-11-07 08:55:22 -08:00
Kevin Sawicki
a3e10aba95
Merge pull request #7863 from electron/coffee-script-webview-cleanup
...
Clean up CoffeeScript leftovers in webview code
2016-11-07 08:53:08 -08:00
Kevin Sawicki
73774f21b7
🎨
2016-11-07 08:28:02 -08:00
Kevin Sawicki
3c18de9c5a
Only return when guestInstance is non-null
2016-11-07 08:25:01 -08:00
Kevin Sawicki
19a5d2ba2b
Use window close helper instead of destroying for coverage
2016-11-07 08:25:01 -08:00
Kevin Sawicki
16f57b219b
Add resize event spec
2016-11-07 08:25:01 -08:00
Kevin Sawicki
0485069c7b
Use spread operator
2016-11-07 08:25:01 -08:00
Kevin Sawicki
e4d6aa30a1
Do truthy check in if block
2016-11-07 08:25:01 -08:00
Kevin Sawicki
89a26684e5
Return webContents directly
2016-11-07 08:25:01 -08:00
Kevin Sawicki
0e1c2b0fcb
Use for/of and remove loop variables
2016-11-07 08:25:01 -08:00
Kevin Sawicki
6eab14359c
Use ES6 style class for WebViewImpl
2016-11-07 08:25:01 -08:00
Kevin Sawicki
76f96bd99c
Destructure requires
2016-11-07 08:25:01 -08:00
Kevin Sawicki
48bcad87c2
Use template strings
2016-11-07 08:25:01 -08:00
Kevin Sawicki
712b15286c
Use let/const instead of var
2016-11-07 08:25:01 -08:00
Kevin Sawicki
3053be345b
Remove unneeded returns
2016-11-07 08:25:01 -08:00
Kevin Sawicki
8e834e9047
Merge pull request #7869 from electron/less-browserify-build-time
...
Only run browserify when sandbox files change
2016-11-07 08:20:20 -08:00
Kevin Sawicki
3e34760eef
Run browserify with --silent
2016-11-07 08:19:59 -08:00
Kevin Sawicki
e0afb814aa
Only call browserify when one of sandbox sources change
2016-11-07 08:19:59 -08:00
tinydew4
0fd35cf768
Update the korean docs up to 'ef9d8fe' commit.
2016-11-07 13:59:53 +00:00
Kevin Sawicki
0b86acfef4
Merge pull request #7881 from electron/node-headers-url
...
Update dist url to be electron instead of atom-shell
2016-11-04 16:22:34 -07:00
Kevin Sawicki
36ee417d3b
Update more download URLs from atom-shell to electron
2016-11-04 16:21:30 -07:00
Kevin Sawicki
a1a07aed44
Add atom-shell URL to planned breaking changes
2016-11-04 16:21:30 -07:00
Kevin Sawicki
f0731be20b
Update dist url to be electron instead of atom-shell
2016-11-04 16:21:30 -07:00
Zeke Sikelianos
58278ee095
Merge pull request #7867 from electron/update-issue-template
...
ask for more info in the issue template
2016-11-04 15:12:20 -07:00
Zeke Sikelianos
494a025fb8
🎨
2016-11-04 15:11:40 -07:00
Zeke Sikelianos
ade8401b5b
add a preamble
2016-11-04 12:12:37 -07:00
Zeke Sikelianos
ef9d8fe9bd
Merge pull request #7843 from electron/process-docs
...
document the process(es) in which APIs are available
2016-11-03 13:14:30 -07:00
Zeke Sikelianos
471b9980ec
line up process annotations consistently
2016-11-03 13:13:21 -07:00
Zeke Sikelianos
9c65b9a9f2
ask for more info in the issue template
2016-11-03 12:58:31 -07:00
Zeke Sikelianos
21105271a4
document processes for APIs nested in parent docs
2016-11-03 11:50:00 -07:00
Kevin Sawicki
7e90bb47a5
Merge pull request #7533 from electron/async-executeJavaScript
...
Allow web frame methods to return async promises
2016-11-03 10:32:21 -07:00
Zeke Sikelianos
ac68de6215
document process(es) for all APIs
2016-11-03 10:26:00 -07:00
Kevin Sawicki
8e203592e2
🎨 Remove extra returns
2016-11-03 09:51:01 -07:00
Samuel Attard
9f18a6e65c
Use ES6 template strings, fix docs and remove _ERROR_ IPC event
2016-11-03 09:33:47 -07:00
Samuel Attard
857e1da6a3
Make executeJavaScript return a Promise so that caught errors can be sent to the caller
2016-11-03 09:33:47 -07:00
Samuel Attard
75b010ce63
Add sync executeJavaScript test
2016-11-03 09:33:47 -07:00
Samuel Attard
124fbdbd74
Allow web frame methods to return async promises
2016-11-03 09:33:47 -07:00
Kevin Sawicki
cf0cd5b50b
Merge pull request #7823 from kanemontreuil/consolidate-gitignore
...
Consolidate log files
2016-11-03 09:26:48 -07:00
liusi
0e9d973715
toggle thick_frame_ along with resizable change
2016-11-03 12:13:06 +08:00
Zeke Sikelianos
cc18670ae1
Merge pull request #7854 from electron/fix-ipc-docs
...
Fix the IPC docs so the docs-linter finds the methods
2016-11-02 20:14:47 -07:00
Samuel Attard
6228ce3f35
Fix the IPC docs so the docs-linter finds the methods
2016-11-03 14:04:03 +11:00
Kevin Sawicki
89511bb0cb
Merge pull request #7847 from tinydew4/translate-ko
...
[ko] Add net document on README.md
2016-11-02 09:23:54 -07:00
Kevin Sawicki
11bc993344
Merge pull request #7846 from thomsonreuters/net-doc-samples
...
Documentation: Formatting JavaScript sample code.
2016-11-02 09:23:35 -07:00
tinydew4
9126ab6766
Add net document on README.md
2016-11-02 11:22:21 +00:00
ali.ibrahim
49cb675057
Fixing a trivial js lint issue.
2016-11-02 11:16:37 +01:00
ali.ibrahim
e8b119e636
Formatting JavaScript sample code.
2016-11-02 10:40:51 +01:00
Zeke Sikelianos
e8bb79310c
document the process(es) in which APIs are available
2016-11-01 16:35:31 -07:00
Zeke Sikelianos
da3dbdcb9b
Merge pull request #7837 from electron/lightweight-docs-linter
...
use docs linter with lots of stuff npmignored
2016-11-01 12:12:04 -07:00
Zeke Sikelianos
b400edcc88
use docs linter with lots of stuff npmignored
2016-11-01 10:45:29 -07:00
Electron Bot
1846dfbbbb
Update to Electron v1.4.5
2016-11-02 02:34:38 +09:00
Kevin Sawicki
6580088574
Bump v1.4.5
2016-11-01 08:51:10 -07:00
Haojian Wu
794479519c
Add missing net document entry.
2016-11-01 16:50:55 +01:00
Kevin Sawicki
97d468cf35
Merge pull request #7822 from tinydew4/translate-ko
...
Update the korean docs up to '379c347' commit.
2016-11-01 08:44:10 -07:00
Kevin Sawicki
af6a3b3173
Merge pull request #7821 from electron/lint-net-docs
...
use new docs linter with support for the new net APIs
2016-11-01 08:43:46 -07:00
Kevin Sawicki
0c8160bfe3
Merge pull request #7820 from tinydew4/trimming
...
Trim: docs/api/net.md
2016-11-01 08:43:28 -07:00
Kane Montreuil
a584acef46
Consolidate log files
2016-11-01 00:47:34 -04:00
tinydew4
691ad97abe
Update the korean docs up to '379c347' commit.
...
Swap two debugging tutorials with each other.
2016-11-01 04:20:23 +00:00
tinydew4
836cd017a9
Trim: docs/api/net.md
2016-11-01 03:53:45 +00:00
Zeke Sikelianos
e70f8acf47
use new docs linter with support for the new net APIs
2016-10-31 20:53:13 -07:00
Zeke Sikelianos
721924b749
Merge pull request #7818 from electron/more-net-doc-fixes
...
fix formatting of new net API doc
2016-10-31 19:36:31 -07:00
liusi
7880d37d73
merge changes from master
2016-11-01 10:20:47 +08:00
Kevin Sawicki
ba6bb45f70
Merge pull request #7813 from electron/ready-to-show-spec
...
Add initial ready-to-show event spec
2016-10-31 16:28:09 -07:00
Zeke Sikelianos
379c3470c8
fix formatting of new net API doc
2016-10-31 15:48:06 -07:00
Kevin Sawicki
038718717c
Add initial ready-to-show spec
2016-10-31 12:40:49 -07:00
Kevin Sawicki
b8f09ecf4f
Merge pull request #7812 from electron/url-format-in-quick-start
...
Format URL passed to BrowserWindow.loadURL
2016-10-31 11:37:41 -07:00
Kevin Sawicki
e9a2792b55
Format URL passed to BrowserWindow.loadURL
2016-10-31 11:34:53 -07:00
Kevin Sawicki
aa3bc13ca3
Merge pull request #7788 from electron/notification-crash
...
Fix notification crash when using permission handler
2016-10-31 09:39:38 -07:00
Kevin Sawicki
ed3a2dae1b
Merge pull request #7787 from julianengel/patch-1
...
Added example usage for the default port
2016-10-31 09:28:20 -07:00
Kevin Sawicki
48eaee0c0e
Match example to node inspector doc
2016-10-31 09:27:42 -07:00
Kevin Sawicki
6b2848307d
Merge pull request #7807 from electron/net-docs-fixup
...
Quick fix up of net docs
2016-10-31 09:23:07 -07:00
DaLun
651a2d4399
ZH_TW docs update ( #7797 )
...
* Update cookie.md
* Update cookie.md
* Update task.md
* ZH_TW docs /structures/cookie add
* Fix a word && add new docs
* Update task.md
* Update cookie.md
* new update
2016-10-31 09:21:56 -07:00
DaLun
7c48dd54e1
ZH_TW docs api/structures/cookie add ( #7793 )
...
* Update cookie.md
* Update cookie.md
* Update task.md
* ZH_TW docs /structures/cookie add
* Fix a word && add new docs
* Update task.md
* Update cookie.md
2016-10-31 09:21:43 -07:00
Zeke Sikelianos
5968346c1e
Merge pull request #7809 from shiftkey/typos-for-net-docs
...
fixed a couple of typos
2016-10-31 09:16:32 -07:00
Zeke Sikelianos
266d3b553b
Merge pull request #7745 from electron/inline-enums
...
update docs linter to add support for inline ENUM values
2016-10-31 09:05:05 -07:00
Kevin Sawicki
53ff706cd2
Upgrade brigthray for notification crash fix
2016-10-31 09:02:18 -07:00
Kevin Sawicki
487287eb1d
Merge pull request #258 from deepak1556/notification_close_patch
...
set notification close callback before requesting user permission
2016-10-31 09:01:57 -07:00
Brendan Forster
651b0c0f82
fixed a couple of typos
2016-10-31 08:59:26 -07:00
Kevin Sawicki
3f8e173452
Call callback asynchronously to match original issue
2016-10-31 08:54:57 -07:00
Kevin Sawicki
078c924760
Upgrade brightray for notification crash fix
2016-10-31 08:54:57 -07:00
Kevin Sawicki
611614c649
Use equal/deepEqual for channel/args asserts
2016-10-31 08:54:57 -07:00
Kevin Sawicki
dda3fcef91
Add failing spec for notification permission crash
2016-10-31 08:54:56 -07:00
Cheng Zhao
92f8c105d9
Merge pull request #7766 from liusy182/window-size-restore
...
incorrect position when restored from maximize-on-top-drag under Windows #7630
2016-10-31 11:04:35 +09:00
Samuel Attard
4ee308fcc2
Quick fix up of net docs
2016-10-31 12:43:57 +11:00
Cheng Zhao
dfefa00a50
Merge pull request #7577 from thomsonreuters/net_module
...
net module
2016-10-31 10:31:56 +09:00
Zeke Sikelianos
44146009ad
Merge pull request #7795 from LaurentLeVan/master
...
[docs-translations\fr-FR]Add section supported platforms
2016-10-30 09:40:22 -07:00
Laurent Le Van
b376c29937
[docs-translations/fr-FR]Correct some typos (double space deletion and 'de' to 'ne') in supported-platforms.md
2016-10-30 14:22:35 +02:00
liusy182
c657186920
address review comments
2016-10-30 09:50:22 +08:00
Laurent Le Van
f613d8d0d0
[docs-translations\fr-FR]Add of the tutorial folder and create supported-platforms.md in French
2016-10-29 18:10:57 +03:00
Kevin Sawicki
a506df4d25
Merge pull request #7791 from electron/io-doc-link-fix
...
Fix README link to Mac debug instructions
2016-10-28 14:49:43 -07:00
Ian Olsen
a0772dbbe9
fix link to Mac debug instructions
2016-10-28 14:32:48 -07:00
Kevin Sawicki
7cb8c1fdb9
Add dismiss notification guard on Linux
2016-10-28 11:24:47 -07:00
Kevin Sawicki
0a5f7171d4
Add more guards around null notification
2016-10-28 10:54:55 -07:00
Kevin Sawicki
f603e47226
Merge pull request #7785 from tinydew4/translate-ko
...
[ko] Update the korean docs up to '2006d64' commit.
2016-10-28 09:46:28 -07:00
Julian Engel
4b0b875d6f
Added example usage for the default port
...
According to Issue ##7756 I added the example usage.
2016-10-28 18:04:51 +03:00
tinydew4
d50cabddc0
[ko] Update the korean docs up to '2006d64' commit.
2016-10-28 08:42:57 +00:00
Kevin Sawicki
cbda2a3e60
Merge pull request #7770 from vitaliel/patch-1
...
Fixed typo in ru-RU/tutorial/application-distribution.md
2016-10-27 10:43:11 -07:00
Kevin Sawicki
2006d64939
Merge pull request #7757 from crilleengvall/master
...
Adding documentation about hidden-inset
2016-10-28 02:42:57 +09:00
Kevin Sawicki
d9f3355dea
Remove excess newlines
2016-10-27 10:42:31 -07:00
Kevin Sawicki
c8263a9a18
Add newlines and backticks
2016-10-27 10:41:43 -07:00
Kevin Sawicki
6d2e9f5311
Merge pull request #7753 from tinydew4/translate-ko
...
[ko] Update the korean docs up to '02a7094' commit.
2016-10-28 02:40:08 +09:00
Kevin Sawicki
bb6d15ee10
Merge pull request #7750 from bheart/master
...
Document the fact that Accelerators are used by the globalShortcut module
2016-10-28 02:39:46 +09:00
Kevin Sawicki
56f7aceec7
Merge pull request #7743 from doraeric/trans-zhtw
...
add zh-tw docs
2016-10-28 02:38:00 +09:00
Vitalie Lazu
933e013e7e
Fixed typo
2016-10-27 14:58:16 +03:00
liusi
a2b3abbf47
incorrect position when restored from maximize-on-top-drag under Windows #7630
2016-10-27 17:42:43 +08:00
liusi
c61414e11b
fix for Window hidden behind taskbar after maximize #7672
2016-10-27 17:14:31 +08:00
Christian Engvall
29470dd018
Adding documentation about hidden-inset
2016-10-26 21:33:48 +02:00
Zeke Sikelianos
ed878b400e
Merge pull request #7752 from tinydew4/clean-up
...
Clean unnecessary sentences on web-contents.md
2016-10-26 11:40:23 -07:00
tinydew4
fbe4394bbd
Clean unnecessary sentences on web-contents.md
2016-10-26 15:41:47 +00:00
tinydew4
3e0d8841ea
Update the korean docs up to '02a7094' commit.
2016-10-26 15:36:06 +00:00
Will Tange
aeb774730b
Link Accelerator docs to globalShortcut module
...
Usage of Accelerators (i.e. `globalShortcut.register`) is now documented in the Accelerator docs themselves.
2016-10-26 14:48:09 +02:00
ali.ibrahim
6d92457095
Fixing code review issues: refactoring emit methods using CustomEmit.
2016-10-26 11:10:15 +02:00
Zeke Sikelianos
8fa3057e19
update docs linter to add support for inline ENUM values
2016-10-25 23:48:48 -07:00
Zeke Sikelianos
eed8f201e2
Merge pull request #7741 from electron/shuffle-bw-docs
...
Clean up nested objects and string ENUMS in the docs
2016-10-25 23:47:32 -07:00
Zeke Sikelianos
0add800240
Merge pull request #7715 from electron/docs-linter-function-param-types
...
update docs linter to support parsing of function parameter types
2016-10-25 23:42:50 -07:00
doraeric
9356843e27
add zh-tw docs
2016-10-26 14:09:36 +08:00
Samuel Attard
02a7094529
Follow docs style guide for string ENUMS
2016-10-26 16:19:41 +11:00
Samuel Attard
76da80c5e9
Further clean up
2016-10-26 16:18:55 +11:00
Samuel Attard
7078ed80fa
Move webPreferences and titleBarStyle to the correct place in the docs
...
In their previous location `electron-docs-linter` would not output an Object structure for `webPreferences` (which is a key part of the constructor)
2016-10-26 14:31:30 +11:00
Cheng Zhao
e97d3c21a3
Merge pull request #7719 from electron/find-pasteboard
...
Add macOS find pasteboard support
2016-10-26 11:23:14 +09:00
Kevin Sawicki
9e266642f9
Merge pull request #7592 from frontapp/master
...
Preview file with QuickLook
2016-10-26 10:12:15 +09:00
Kevin Sawicki
0f5bfadd2b
Merge pull request #7740 from mauriciofauth/pt-br/api/window-open
...
Update docs-translations/pt-BR/api/window-open.md
2016-10-26 09:58:48 +09:00
Kevin Sawicki
d85c4da11b
Minor formatting tweaks
2016-10-26 09:55:34 +09:00
Kevin Sawicki
d982376fc4
filename -> displayName
2016-10-26 09:47:38 +09:00
Pierre Laurac
d26601f695
Convention naming
2016-10-26 09:07:38 +09:00
Pierre Laurac
0ec57cca32
last linter commit
2016-10-26 09:06:50 +09:00
Pierre Laurac
cf5fc3f922
more linter
2016-10-26 09:06:44 +09:00
Pierre Laurac
1f60aff73d
linter
2016-10-26 09:06:39 +09:00
Pierre Laurac
9b19e6ee38
Changing names and memory leak fix
2016-10-26 09:05:42 +09:00
Pierre Laurac
6bac17fb9a
Linter
2016-10-26 09:05:36 +09:00
Pierre Laurac
e759ce72b5
Using UTF8 String for filepath and filename
2016-10-26 09:05:27 +09:00
Pierre Laurac
b44371f4bf
filename as Optional argument
2016-10-26 09:05:01 +09:00
Pierre Laurac
9736dc3115
Specifying macOS only method
2016-10-26 09:04:30 +09:00
Pierre Laurac
18ac4178fe
Validation with linter
2016-10-26 09:04:22 +09:00
Pierre Laurac
2f7cceb11c
Removing extra line break
2016-10-26 09:03:55 +09:00
Pierre Laurac
002462ce7b
Removing unused header dependencies
2016-10-26 09:03:49 +09:00
Pierre Laurac
4d305b06d1
Adding documentation
2016-10-26 09:03:14 +09:00
Pierre Laurac
9673cee4d7
Using string from the std
2016-10-26 09:02:36 +09:00
Pierre Laurac
526debb5ab
Adding easy way to preview files
2016-10-26 09:02:29 +09:00
Pierre Laurac
fb444f646b
default template for PreviewFile
2016-10-26 09:02:21 +09:00
Kevin Sawicki
26f76f8d41
Merge pull request #7739 from electron/fix-incorrect-types-registerURLSchemeAsPrivileged
...
Update web-frame.md
2016-10-26 08:50:20 +09:00
Maurício Meneghini Fauth
9ae18c6194
📝 Update docs-translations/pt-BR/api/window-open.md [ci skip]
2016-10-25 21:48:22 -02:00
Samuel Attard
9e425cd01e
Update web-frame.md
2016-10-26 10:04:18 +11:00
Zeke Sikelianos
171b901c61
Merge pull request #7736 from mauriciofauth/pt-br/readme
...
Fix links in docs-translations/pt-BR/README.md
2016-10-25 14:18:01 -07:00
Zeke Sikelianos
fbade9305c
Merge pull request #7730 from tinydew4/translate-ko
...
[ko] Update the korean docs depend on the '1c7d5df' commit.
2016-10-25 13:55:42 -07:00
Maurício Meneghini Fauth
082cd9b72c
📝 Fix links in docs-translations/pt-BR/README.md [ci skip]
2016-10-25 15:53:33 -02:00
ali.ibrahim
e9db926b48
Fixing code review issues: fixing linter issues in spec file.
2016-10-25 16:55:17 +02:00
ali.ibrahim
bdb3f4d4cb
Fixing code review issues: adding some test cases for partition/session options.
2016-10-25 16:19:26 +02:00
ali.ibrahim
b44d5290e2
Fixing code review issues: adding a partition options and making the session option only takes Session objects.
2016-10-25 15:47:54 +02:00
tinydew4
6a36deec3b
Update the korean docs depend on the '1c7d5df' commit.
2016-10-25 13:34:48 +00:00
deepak1556
ee4442f964
set notification close callback before requesting user permission
2016-10-25 19:04:09 +05:30
ali.ibrahim
6d7f179a9b
Fixing code review issues: making delegate_ a raw pointer.
2016-10-25 15:02:35 +02:00
ali.ibrahim
61278f9ace
Fixing code review issues.
2016-10-25 12:41:01 +02:00
Kevin Sawicki
7ffc1faf5b
Document read/writeFindText
2016-10-25 14:16:40 +09:00
Kevin Sawicki
1c3b5835f4
Add spec for read/write find text
2016-10-25 14:15:54 +09:00
Kevin Sawicki
1718697ef0
Read/write find pasteboard text via IPC in renderer process
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
f7bf8c4fdc
Merge pull request #7718 from mike-engel/mengel/update-docs
...
Clarify the setMenuBarVisibility api
2016-10-25 13:08:37 +09:00
Mike Engel
6f64ad30cb
Clarify the setMenuBarVisibility api
...
The setMenuBarVisibility api is only supported on Windows and Linux.
This adds some minor documentation to make that clearer. Fixes #7686
2016-10-24 22:04:45 -06:00
Kevin Sawicki
1c7d5df2fe
Merge pull request #7717 from electron/doc-lists
...
Add newlines before lists
2016-10-25 12:40:32 +09:00
Kevin Sawicki
65e6da2673
Add newlines before lists
2016-10-25 12:38:08 +09:00
Kevin Sawicki
39a5c7dab9
Merge pull request #7631 from beakerbrowser/webview-policy-flags2
...
Add 'webpreferences' attribute to webview
2016-10-25 12:14:25 +09:00
Kevin Sawicki
b4cc3541a8
Minor tweaks to webpreferences docs
2016-10-25 12:08:19 +09:00
Kevin Sawicki
68c2c9825f
Remove lint warnings
2016-10-25 10:36:43 +09:00
Kevin Sawicki
3aad6a0c99
Use forEach and destructuring for parsing features
2016-10-25 10:31:50 +09:00
Kevin Sawicki
2556ed8744
Add parse-features-strings.js
2016-10-25 10:28:36 +09:00
Paul Frazee
f35536bdc5
factor out parse-features-string.js
2016-10-24 20:21:42 -05:00
Cheng Zhao
775328d5d5
Merge pull request #7707 from electron/focus-window-on-menu-bar-click
...
Focus window on menu bar click
2016-10-25 09:09:45 +09:00
Zeke Sikelianos
1a03e62717
update docs linter to support parsing of function parameter types
2016-10-24 12:04:37 -07:00
Kevin Sawicki
31b4f61815
Merge pull request #7651 from deepak1556/session_cert_verifier_patch
...
session: exclude hosts from CT verification if they are handled by custom cert verifiers
2016-10-24 16:53:04 +09:00
Kevin Sawicki
076e033236
Merge pull request #7711 from tinydew4/translate-ko
...
[ko] Apply the changes till the 'a2a4462' commit.
2016-10-24 16:49:37 +09:00
tinydew4
2c50f14346
Apply the changes till the 'a2a4462' commit.
2016-10-24 07:41:15 +00:00
Kevin Sawicki
82e593b44f
Merge pull request #7709 from tinydew4/translate-ko
...
[ko] Apply the changes till the 'b2559d7' commit.
2016-10-24 16:36:58 +09:00
Kevin Sawicki
224d2ca93c
Merge pull request #7710 from electron/web-frame-lint
...
Remove RegisterURLSchemeAsPrivileged lint error
2016-10-24 16:29:10 +09:00
Kevin Sawicki
0841c4291a
Remove RegisterURLSchemeAsPrivileged lint error
2016-10-24 16:27:54 +09:00
Kevin Sawicki
271733fc53
Add tests for ses.setCertificateVerifyProc
2016-10-24 16:12:49 +09:00
Kevin Sawicki
a2a44621fd
Merge pull request #7708 from tinydew4/fix-typo
...
Fix typo, and trimming.
2016-10-24 16:12:29 +09:00
Cheng Zhao
ad48aeeea4
Merge pull request #7665 from beakerbrowser/privilegedschemeopts
...
Add options to webFrame.registerURLSchemeAsPrivileged
2016-10-24 15:56:18 +09:00
Kevin Sawicki
83f47bc980
Upgrade brighray for RequireCTDelegate
2016-10-24 15:44:21 +09:00
Kevin Sawicki
4fdca64030
Merge pull request #256 from deepak1556/ct_delegate_patch
...
allow embedder to provide RequireCTDelegate
2016-10-24 15:39:49 +09:00
tinydew4
67a09d9fe0
Fix typo, and trimming.
2016-10-24 06:34:09 +00:00
tinydew4
189ae97732
Apply the changes till the 'b2559d7' commit.
2016-10-24 06:32:28 +00:00
Kevin Sawicki
632739ec6e
Merge pull request #7590 from electron/docs-cleanup
...
Cleanup docs and standardize structs
2016-10-24 15:13:39 +09:00
Cheng Zhao
88ac376382
Merge pull request #7628 from deepak1556/geo_request_context_patch
...
browser: fix race in creation of default browser context by AtomAccessTokenStore
2016-10-24 14:57:37 +09:00
Kevin Sawicki
b2559d7d28
Merge pull request #7596 from electron/function-param-types
...
Function param types
2016-10-24 12:40:41 +09:00
Kevin Sawicki
98387e50cc
Focus window on menu bar click
2016-10-24 11:49:51 +09:00
Constantin Dumitrescu
93464b8100
[ci skip] Update docs/README.md to point to the right location of styleguide.md ( #7697 )
2016-10-24 10:22:22 +09:00
kok liu
52783bb67f
update the zh-CN docs README.md and find a error in en docs README.md ( #7676 )
...
* update the zh-CN readme and find a error in en readme
* fix a style problem
2016-10-24 10:21:02 +09:00
Kevin Sawicki
c90d4abcf0
Merge pull request #7654 from scotttrinh/flash-frame-doc
...
📝 Add flashFrame to desktop env integration
2016-10-24 10:20:08 +09:00
Kevin Sawicki
6f85d85c12
Minor tweaks to flash frame section
2016-10-24 10:19:51 +09:00
Kevin Sawicki
280235872b
Add flashframe link
2016-10-24 10:14:52 +09:00
Kevin Sawicki
e93eaed5d0
Merge pull request #7666 from amtj/issue#6939
...
📝 Remove ambiguous default value of nodeintegration Issue #6939
2016-10-24 09:54:46 +09:00
Kevin Sawicki
32cff67fd4
Merge pull request #7641 from rogerlista/master
...
📝 Link to README.md pt-br [ci skip]
2016-10-24 09:19:08 +09:00
Kevin Sawicki
d3f40212db
Merge pull request #7622 from Haraldson/flash-trust
...
Add a note on Flash permissions to Troubleshooting
2016-10-24 09:16:07 +09:00
Zeke Sikelianos
11ad9e7f25
Merge pull request #7650 from davej/patch-3
...
Docs: Fix relative link to MAS builds tutorial
2016-10-22 23:51:59 +09:00
ali.ibrahim
0c44d19249
net module: documenting the session property.
2016-10-20 15:48:36 +02:00
ali.ibrahim
7c17aeb6da
Documenting net module: fixing linter issues.
2016-10-20 14:42:15 +02:00
ali.ibrahim
8c19d3b210
Documenting net module: various fixes.
2016-10-20 13:57:08 +02:00
Flynn Joffray
95cd9d718d
print progress for proper loglevels
2016-10-20 12:20:25 +01:00
ali.ibrahim
9f15191280
Formatting net documentation.
2016-10-20 12:30:03 +02:00
ali.ibrahim
69790bd7ed
Documenting ClientRequest constructor options.
2016-10-20 11:58:06 +02:00
ali.ibrahim
fdfa0f4a6d
Documenting the login event.
2016-10-20 11:45:45 +02:00
ali.ibrahim
7f8b180f70
Fixing authentication cancel with null/undefined credentials.
2016-10-20 11:43:26 +02:00
tinydew4
43ae784a40
Translate releasing
2016-10-20 08:58:48 +00:00
Kevin Sawicki
6a4d9f8a87
Merge pull request #7674 from electron/tweak-releasing-doc
...
Push after bumping version
2016-10-20 16:12:33 +09:00
Electron Bot
92818eb30f
Update to Electron v1.3.8
2016-10-20 16:11:47 +09:00
Kevin Sawicki
e2c646a14b
Push after bumping
2016-10-20 11:34:51 +09:00
Kevin Sawicki
337db9fbb9
Merge pull request #7660 from electron/document-release-process
...
Document release process
2016-10-20 11:31:51 +09:00
Zeke Sikelianos
63267031e9
❌ 💲
2016-10-20 11:30:36 +09:00
Zeke Sikelianos
88b288502a
Add note about Python HTTPS warning
2016-10-20 11:29:02 +09:00
Electron Bot
f9f5854c5e
Update to Electron v1.4.4
2016-10-20 11:23:41 +09:00
Zeke Sikelianos
b0fb0c6492
Document S3 creds
2016-10-20 11:22:32 +09:00
Zeke Sikelianos
3a44663003
Add note about setting $ELECTRON_GITHUB_TOKEN
2016-10-20 11:19:18 +09:00
Zeke Sikelianos
147addbce1
Bump v1.4.4
2016-10-20 09:17:29 +09:00
ali.ibrahim
7549adcfce
Documenting net module: various fixes.
2016-10-19 18:31:08 +02:00
ali.ibrahim
fddbde2fd5
Documenting net module: various fixes.
2016-10-19 18:19:28 +02:00
ali.ibrahim
6e5951b764
Documenting net module: formatting.
2016-10-19 18:11:07 +02:00
ali.ibrahim
3b620b8c0c
Documenting net module: various fixes.
2016-10-19 18:05:38 +02:00
ali.ibrahim
0d82fbcf37
Documenting net.IncomingMessage.
2016-10-19 16:51:44 +02:00
ali.ibrahim
5cd20a8e5d
Documenting net.ClientRequest
2016-10-19 15:34:21 +02:00
Amitoj
4ff73d8b56
📝 Small tweaks
...
[ci skip] Remove ambiguous default value of nodeintegration.
Issue #6939
2016-10-19 13:38:46 +05:30
ali.ibrahim
f651b21cda
Fixing net doc file name.
2016-10-19 09:24:59 +02:00
Zeke Sikelianos
7a73c0189f
bump-release -> bump-version
2016-10-19 11:40:40 +09:00
Paul Frazee
0345b62369
update webFrame.registerURLSchemeAsPrivileged docs to be more specific
2016-10-18 17:13:33 -05:00
Amitoj
3a31f28f27
📝 Remove ambiguous default value of nodeintegration
...
Remove ambiguous default value for nodeintegration in webview.
Issue #6939
2016-10-19 02:38:29 +05:30
Paul Frazee
a5c62bb264
add options to webFrame.registerURLSchemeAsPrivileged
2016-10-18 15:52:41 -05:00
ali.ibrahim
9bddc2cbaa
Adding net documentation skeleton.
2016-10-18 19:14:43 +02:00
ali.ibrahim
43113fcfb4
Fixing net response objects being piped into writable streams test.
2016-10-18 10:28:35 +02:00
Zeke Sikelianos
6b207d65bf
update releasing
2016-10-18 14:04:52 +09:00
Samuel Attard
9d0d1c8341
Fix bd object name
2016-10-18 15:47:18 +11:00
Zeke Sikelianos
82a16ee41f
document the electron release process
2016-10-18 13:41:57 +09:00
Kevin Sawicki
104f8d6057
Merge pull request #7659 from electron/jacob/ally
...
Fire a11y event on touch screens using screen readers
2016-10-18 13:41:48 +09:00
Jacob Groundwater
9c9ba80978
Fire a11y event on touch screens using screen readers
2016-10-18 13:28:32 +09:00
Scott Trinh
a06a1fa262
📝 Add flashFrame to desktop env integration
2016-10-17 16:22:45 -04:00
ali.ibrahim
c198828e58
Adding gc tests: fixing a memory leak with C++ URLRequest objects.
2016-10-17 19:02:25 +02:00
Cheng Zhao
cbe9768529
Merge pull request #7566 from electron/always-shorten-path
...
Shorten Socket path for makeSingleInstance in sandboxed apps
2016-10-17 20:43:51 +08:00
Cheng Zhao
ce847fc3ca
Merge pull request #7578 from electron/windows-logging
...
Show console output from Windows when ELECTRON_RUN_AS_NODE is set
2016-10-17 20:22:39 +08:00
deepak1556
5cbbd6efe6
session: exclude hosts from CT verification if they are handled by custom cert verifiers
2016-10-17 16:35:28 +05:30
deepak1556
aa7255bad5
allow embedder to provide RequireCTDelegate
2016-10-17 16:06:37 +05:30
Dave Jeffery
00d641aaf7
Docs: Fix relative link to MAS builds tutorials
...
The link was 404'ing
2016-10-17 11:26:28 +01:00
ali.ibrahim
9b4e9c642a
Making test code run directly in main browser context to avoid rpc persistent handles.
2016-10-17 11:51:20 +02:00
ali.ibrahim
c6ae27c7c9
Adding a stability test: non referenced, unused requests are collected without crash.
2016-10-17 10:38:10 +02:00
Rogério
9ead3ad0a0
📝 Link to README.md pt-br [ci skip]
2016-10-15 21:01:37 -03:00
Paul Frazee
e7962c7ba2
fixes and tests for webview 'webpreferences' attr
2016-10-14 18:04:33 -05:00
Paul Frazee
194b14100e
add the 'webpreferences' attribute to webviews
2016-10-14 17:16:39 -05:00
Kevin Sawicki
3dd8377218
Merge pull request #7611 from electron/only-enable-msaa-if-needed
...
Check harder before enabling Accessibility support on Win32
2016-10-14 12:46:32 -07:00
deepak1556
bd34db256b
browser: fix race in creation of default browser context by AtomAccessTokenStore
2016-10-15 01:00:54 +05:30
Paul Betts
6fdf40b038
Code Cleanup
2016-10-14 12:17:32 -07:00
Kevin Sawicki
988e2334f5
Merge pull request #7614 from tinydew4/translate-ko
...
[ko] Apply the changes till the '9367c76' commit.
2016-10-14 09:19:04 -07:00
ali.ibrahim
0e13b8dd01
making the net module usable only after the ready event.
2016-10-14 17:57:37 +02:00
ali.ibrahim
ac9e6eda95
Fixing a crash with pending URLRequests on shutdown.
2016-10-14 17:37:39 +02:00
Samuel Attard
ba91bbd397
Fix spaces
2016-10-14 22:54:04 +11:00
Hein Haraldson Berg
63e1b2fb46
Add a note on Flash permissions to Troubleshooting
2016-10-14 12:51:26 +02:00
ali.ibrahim
c0c9e3ac3d
Formatting C++ code using ClangFormat.
2016-10-14 11:51:45 +02:00
ali.ibrahim
4347ce4a53
Formatting C++ code using ClangFormat.
2016-10-14 11:50:47 +02:00
ali.ibrahim
9cc8bfae1c
fixing space formatting issues.
2016-10-14 10:58:16 +02:00
tinydew4
741ae488d5
Apply the changes till the '9367c76' commit.
2016-10-14 02:24:27 +00:00
Samuel Attard
10ef6749b3
Source -> DesktopCapturerSource
2016-10-14 13:10:37 +11:00
Samuel Attard
32c3f17f5a
Rename dcs object
2016-10-14 13:00:03 +11:00
Samuel Attard
ad45c084cc
Fix uploaddata naming
2016-10-14 11:37:36 +11:00
Kevin Sawicki
a13ed2a005
Merge pull request #7610 from LShun/patch-1
...
Word addition and revision for Readme,md
2016-10-13 14:18:56 -07:00
Kevin Sawicki
9367c764be
Merge pull request #7608 from nabeelomer/master
...
Add further information to online-offline event documentation
2016-10-13 14:17:07 -07:00
Kevin Sawicki
4f57b685bd
Add backticks around true/false values
2016-10-13 14:16:37 -07:00
Kevin Sawicki
902a8c57bd
Merge pull request #7602 from danburzo/cli_switches_docs
...
Docs: Command-line switches -- note about node.js flags, added debug flags
2016-10-13 14:13:08 -07:00
Kevin Sawicki
21cfd330c0
Switch from node man to node --help
2016-10-13 14:11:56 -07:00
Long Nhat Nguyen
c017a7a1c7
Update url ( #7598 )
...
* Update EventEmitter URL
* Update EventEmitter URL
* Enable click
* Update EventEmitter URL
* Update EventEmitter URL
* Update URL
* Update URL
* Update EventEmitter URL
* Tweak sentence and add perios
2016-10-13 14:09:14 -07:00
Kevin Sawicki
0756aa663b
Merge pull request #7587 from electron/update-standard
...
Update standard to v8 to be inline with standard-markdown
2016-10-13 14:04:24 -07:00
Kevin Sawicki
4ee94917a0
Merge pull request #7576 from tinydew4/translate-ko
...
Apply the changes of docs on ko-KR
2016-10-13 13:56:39 -07:00
Paul Betts
0df21afcdf
Check harder before enabling Accessibility support
2016-10-13 11:46:55 -07:00
ali.ibrahim
de29f2dde5
Fixing build: removing constness on net::HttpResponseHeaders as otherwise we would need a change in libchromiumcontent.
2016-10-13 17:51:19 +02:00
ali.ibrahim
6f5b0a28c5
Fixing code review issues: function call formatting, renaming JS member variables, refactoring response headers conversion.
2016-10-13 17:14:23 +02:00
LShun
433a825006
Word addition and revision for Readme,md
...
I edited some words as well as added some information ( for example the License ) that was missing in the translation but found in the main site README.md,
2016-10-13 22:58:48 +08:00
Nabeel Omer
4f288e3ba2
Update
2016-10-13 20:22:40 +05:30
Nabeel Omer
392b59be4e
Made relevant changes
2016-10-13 20:12:44 +05:30
Nabeel Omer
6d8d211631
Update online-offline-events.md
2016-10-13 19:45:39 +05:30
Dan Burzo
af17253a72
Changed link to Node docs in MD reference format
2016-10-13 13:03:29 +03:00
Dan Burzo
cfdea04c83
Added note about sending flags to Node.js, additional debug flags
2016-10-13 12:54:22 +03:00
Samuel Attard
5cf03e68d4
Fix missing type
2016-10-13 17:33:12 +11:00
Samuel Attard
20323e7032
Specifiy function param types in docs
2016-10-13 17:30:57 +11:00
Samuel Attard
78343a62b8
Cleanup docs and standardize structs
2016-10-13 14:38:06 +11:00
Zeke Sikelianos
7584e73d70
Merge pull request #7580 from electron/docs-linter-rectangle-rename
...
Update docs linter with Rectangle structure fixes
2016-10-12 19:06:44 -07:00
Samuel Attard
eac5ba4c56
Fix spec linting issues
2016-10-13 12:47:43 +11:00
Samuel Attard
a9d5699a52
Update standard to v8 to be inline with standard-markdown
2016-10-13 12:46:00 +11:00
tinydew4
4e08264522
Apply the changes on early Oct 13, 2016
2016-10-13 00:49:20 +00:00
tinydew4
6b39e4a210
Apply the changes about #7379 to ko_KR
2016-10-13 00:34:39 +00:00
tinydew4
4a1c8f6cb7
Apply the changes
2016-10-13 00:33:12 +00:00
tinydew4
468d5f6c7a
Apply the changes on Oct 12, 2016
2016-10-13 00:32:05 +00:00
Kevin Sawicki
a8382d6794
Moving atom_bindings include to Windows block
2016-10-12 13:48:49 -07:00
Kevin Sawicki
e899050500
Add basic test of spawned ELECTRON_RUN_AS_NODE process
2016-10-12 13:48:49 -07:00
Kevin Sawicki
b01fd9715b
Only expose process.log on Windows
2016-10-12 13:48:48 -07:00
Kevin Sawicki
0417a3e51e
Upgrade node for process logging fix patch
2016-10-12 13:48:48 -07:00
Kevin Sawicki
0740b2f66b
Reuse Log method
2016-10-12 13:48:48 -07:00
Kevin Sawicki
d686916fe2
Expose process.log when running as node
2016-10-12 13:48:48 -07:00
Kevin Sawicki
fefc7c23f9
Merge pull request #7479 from bpasero/process-no-asar
...
Introduce ELECTRON_NO_ASAR
2016-10-12 13:48:03 -07:00
Kevin Sawicki
cef7525d00
Merge pull request #7583 from torn4dom4n/master
...
Update devDependency Status URL
2016-10-12 13:20:16 -07:00
Long Nhat Nguyen
b448b0c796
Update devDependency Status URL
...
[ci skip]
2016-10-12 20:17:26 +00:00
Kevin Sawicki
a97dc6d17a
Merge pull request #7570 from preco21/korean-docs-12
...
docs: Update Korean docs as upstream and small improves
2016-10-12 13:06:02 -07:00
Kevin Sawicki
fcfc13c1ea
Merge pull request #7579 from electron/tweak-about-panel-key-names
...
Use lower-case about panel option keys
2016-10-12 11:32:01 -07:00
Kevin Sawicki
1e4ef195bb
Use lower-case about panel option keys
2016-10-12 11:18:21 -07:00
Kevin Sawicki
566d76def2
Mention spawning with ELECTRON_RUN_AS_NODE
2016-10-12 11:11:27 -07:00
Kevin Sawicki
f553d16539
Only support ELECTRON_NO_ASAR in non browser/renderer processes
2016-10-12 11:11:27 -07:00
Kevin Sawicki
8897a7a926
Add specs for ELECTRON_NO_ASAR env var
2016-10-12 11:11:27 -07:00
Benjamin Pasero
656ee0d9c3
introduce ELECTRON_NO_ASAR
2016-10-12 11:11:27 -07:00
Zeke Sikelianos
ecc03fdd40
update docs linter with Rectangle structure fixes
2016-10-12 11:04:53 -07:00
ali.ibrahim
b290415bbd
Fixing build on Mac OS
2016-10-12 19:41:13 +02:00
ali.ibrahim
16069cd477
Commenting some test code.
2016-10-12 17:13:06 +02:00
ali.ibrahim
ae1c33b863
fixing linter issues.
2016-10-12 14:54:32 +02:00
ali.ibrahim
d21def7b8d
Fixing various issues in tests.
2016-10-12 14:54:32 +02:00
ali.ibrahim
bd5e622bec
Adding request/response piping tests.
2016-10-12 14:54:31 +02:00
ali.ibrahim
a5c508d2d7
Adding abort, webRequest interception and creation tests.
2016-10-12 14:54:31 +02:00
ali.ibrahim
b731ca50bc
Adding HTTP request headers manipulation tests.
2016-10-12 14:54:30 +02:00
ali.ibrahim
4eb9fc1bb6
Adding chunked uploading test.
2016-10-12 14:54:29 +02:00
ali.ibrahim
9b94dfcbdc
Adding basic http tests, fixing issues in ClientRequest constructor.
2016-10-12 14:54:29 +02:00
Ali Ibrahim
046f48db51
Fixing build on Linux
2016-10-12 14:54:28 +02:00
ali.ibrahim
b57ffbf1ab
Temporary fix for the post data test.
2016-10-12 14:54:28 +02:00
ali.ibrahim
42bae9d71d
Making the HTTP response a full-fledged Readable stream.
2016-10-12 14:54:27 +02:00
ali.ibrahim
dcffb51e5e
Adding net module spec file skeleton.
2016-10-12 14:54:26 +02:00
ali.ibrahim
8c5751e9f7
Adding systematic checks on the atom_request_ pointer as it may be reset to null.
2016-10-12 14:54:26 +02:00
ali.ibrahim
a655cca0a1
Request/Response state simplification. Removing redundant state flags.
2016-10-12 14:54:25 +02:00
ali.ibrahim
e472d11761
Caching response headers so that AtomURLRequest can be freed after the close event.
2016-10-12 14:54:25 +02:00
ali.ibrahim
ec1fc5a17b
Implementing error, close, finish, abort events management.
2016-10-12 14:54:24 +02:00
ali.ibrahim
bde30b90e8
Adding some implementation comments. Enforcing Chromium coding conventions.
2016-10-12 14:54:23 +02:00
ali.ibrahim
42adb2afd4
Fixing lint-js issues.
2016-10-12 14:54:22 +02:00
ali.ibrahim
0588435882
Fixing cpplint issues.
2016-10-12 14:54:22 +02:00
ali.ibrahim
08947682b0
Implementing abort workflow, emitting error events.
2016-10-12 14:54:21 +02:00
ali.ibrahim
cbbc4376ca
Adding support for upload chunked encoding.
2016-10-12 14:54:20 +02:00
ali.ibrahim
9498a5738a
Refactoring net module, adding a ClientRequest and IncomingMessage classes.
2016-10-12 14:54:20 +02:00
ali.ibrahim
fcaf9cb031
Some code cleaning.
2016-10-12 14:54:19 +02:00
ali.ibrahim
f7525d7877
Adding support for POST requests.
2016-10-12 14:54:18 +02:00
ali.ibrahim
2b3b41d5f9
Implementing authentication callback.
2016-10-12 14:54:18 +02:00
ali.ibrahim
2d9d4af98d
Implementing URLRequest API, getting response body.
2016-10-12 14:54:17 +02:00
ali.ibrahim
81eab9887b
Adding URLResponse to emit response events, implementing status code.
2016-10-12 14:54:16 +02:00
ali.ibrahim
7521aeea09
Implement URLRequest::Delegate, handle thread sync.
2016-10-12 14:54:15 +02:00
ali.ibrahim
e8d4abe78f
Adding net module and URLRequest class.
2016-10-12 14:54:15 +02:00
Cheng Zhao
46cd8708a4
Merge pull request #7561 from electron/windows-system-colors
...
Support retrieving Windows system colors
2016-10-12 15:35:18 +09:00
Zeke Sikelianos
27e1938e9f
Merge pull request #7471 from electron/update-standard-markdown
...
Use standard style JavaScript in all docs translations
2016-10-11 22:37:54 -07:00
Zeke Sikelianos
17198c26d9
update standard-markdown
2016-10-11 22:37:32 -07:00
Zeke Sikelianos
eaeebd3ebd
use newer function syntax
2016-10-11 22:37:32 -07:00
Zeke Sikelianos
253a383168
standardize docs-translations by hand
2016-10-11 22:37:32 -07:00
Zeke Sikelianos
3e4a0705e9
standardize docs
2016-10-11 22:37:32 -07:00
Zeke Sikelianos
7ef374477d
lint docs-translations with standard-markdown
2016-10-11 22:36:11 -07:00
Zeke Sikelianos
4ae6103356
auto-standardize javascript in docs-translations
2016-10-11 22:36:11 -07:00
Zeke Sikelianos
2e4322c230
update to new standard-markdown with --fix feature
2016-10-11 22:36:11 -07:00
Zeke Sikelianos
6b7e375963
Merge pull request #7379 from electron/seperate-structs
...
Move reused object structures to a standard structures folder
2016-10-11 22:28:39 -07:00
Zeke Sikelianos
c46c1dbb1e
Merge pull request #7505 from electron/testing-docs
...
Update test dependencies and documentation
2016-10-11 22:28:16 -07:00
Plusb Preco
af79f4793e
📝 Improve grammar
...
[ci skip]
2016-10-12 12:24:21 +09:00
Plusb Preco
774a15f4c8
📝 Improve grammar
...
[ci skip]
* Use `formal` tense.
* Small fixes.
2016-10-12 12:24:14 +09:00
Plusb Preco
b7c4cde11a
📝 Adjust line wrap to 80
...
[ci skip]
2016-10-12 12:13:59 +09:00
Plusb Preco
9857aa25a3
📝 Update Korean docs as upstream
...
[ci skip]
2016-10-12 12:02:04 +09:00
Zeke Sikelianos
d4a8a64ba7
Merge pull request #7498 from electron/custom-props-in-menu-item-constructor
...
Preserve custom properties passed to MenuItem constructor
2016-10-11 14:24:13 -07:00
Zeke Sikelianos
af0098f064
remove badge count after each setBadgeCount test
2016-10-11 14:22:48 -07:00
Zeke Sikelianos
37c53f2e09
clarify mocha test exclusion
2016-10-11 14:22:48 -07:00
Zeke Sikelianos
a8e59ccd3d
fix links to testing docs
2016-10-11 14:22:48 -07:00
Zeke Sikelianos
57852366bb
mention building before testing
2016-10-11 14:22:48 -07:00
Zeke Sikelianos
a4832c304e
unify testing docs for all platforms
2016-10-11 14:22:48 -07:00
Zeke Sikelianos
156d823b7f
remove badge after setBadgeCount test finishes
2016-10-11 14:22:48 -07:00
Zeke Sikelianos
45d9cc6405
update test dependencies
2016-10-11 14:22:48 -07:00
Zeke Sikelianos
0aeb53435e
add tips for testing
2016-10-11 14:22:48 -07:00
Paul Betts
7dd1ebc734
Fix oops typos
2016-10-11 14:02:29 -07:00
Kevin Sawicki
ce694760bc
Remove const since SkColor is an int
2016-10-11 13:15:27 -07:00
Kevin Sawicki
c8189046fe
Emit color-changed event on Windows
2016-10-11 13:15:27 -07:00
Kevin Sawicki
2656812dea
Doc systemPreferences.getColor
2016-10-11 13:15:27 -07:00
Kevin Sawicki
1978b39337
Remove duplicate colors
2016-10-11 13:15:27 -07:00
Kevin Sawicki
e7bfd1c959
Add systemPreferences.getColor specs
2016-10-11 13:15:26 -07:00
Kevin Sawicki
663f8f4b54
Add systemPreferences.getColor on Windows
2016-10-11 13:15:26 -07:00
Kevin Sawicki
9b0a32f62c
Add ToRGBHex color helper
2016-10-11 13:15:26 -07:00
Paul Betts
06065d1c5d
Instead of gating the path shortening to MAS_BUILD, figure it out at runtime
2016-10-11 13:06:29 -07:00
Paul Betts
e84ae6e2aa
Add a method to determine whether we're in the Apple sandbox
2016-10-11 13:06:29 -07:00
Kevin Sawicki
13f9a6c273
Merge pull request #7563 from rogerlista/master
...
📝 Translation of security.md to pt-BR [ci skip]
2016-10-11 10:06:02 -07:00
Rogério
d89b23c120
📝 Translation of security.md to pt-BR [ci skip]
2016-10-11 14:01:07 -03:00
Kevin Sawicki
479451e7c7
Merge pull request #7562 from odedhb/patch-1
...
Update mac-app-store-submission-guide.md
2016-10-11 10:00:56 -07:00
Oded Breiner
ea8a4f2b51
Update mac-app-store-submission-guide.md
2016-10-11 19:58:53 +03:00
Kevin Sawicki
e26189ba87
Merge pull request #7560 from electron/upgrade-brigthray
...
Upgrade brightray for devtools dock state preference fix
2016-10-11 09:48:39 -07:00
Kevin Sawicki
003522d6f7
Merge pull request #7558 from danburzo/build_instructions
...
Adds link to PyObjC installation instructions
2016-10-11 09:48:20 -07:00
Kevin Sawicki
4db6ccd579
Merge pull request #7555 from tinydew4/translate-ko
...
Apply the changes of docs to ko-KR
2016-10-11 09:47:51 -07:00
Kevin Sawicki
39aa740c88
Merge pull request #7552 from electron/fix-menu-docs
...
fix Menu API example
2016-10-11 09:47:30 -07:00
Kevin Sawicki
66f825beb1
Upgrade brightray for devtools dock state preference fix
2016-10-11 08:45:42 -07:00
Kevin Sawicki
9456ce44c4
Merge pull request #255 from deepak1556/dock_state_use_preferences_patch
...
use dock state from peferences when not set by embedder
2016-10-11 08:44:21 -07:00
Dan Burzo
75feeca0f0
Small fix to grammar in Build instructions (macOS)
2016-10-11 17:41:28 +03:00
Dan Burzo
120aa1c9ce
Adds link to PyObjC installation instructions
2016-10-11 17:34:35 +03:00
tinydew4
7fa2ffc2a7
Apply the changes on Oct 11, 2016
2016-10-11 12:25:34 +00:00
tinydew4
15fae91ac7
Apply changes about crash-reporter
2016-10-11 12:06:32 +00:00
Cheng Zhao
4ae190dab9
Merge pull request #7549 from electron/about-panel-options
...
Support setting about panel options
2016-10-11 20:18:23 +09:00
Cheng Zhao
0baa60caab
Merge pull request #7528 from electron/key-and-code-on-sent-input-events
...
Set key and code on sendInputEvent keyboard events
2016-10-11 19:34:05 +09:00
Cheng Zhao
2a3bcdcaab
Merge pull request #7518 from electron/inverted-color-scheme
...
Support detecting inverted color scheme on Windows
2016-10-11 19:31:34 +09:00
deepak1556
f652760c7a
use dock state from peferences when not set by embedder
2016-10-11 13:47:06 +05:30
Zeke Sikelianos
619f74fa12
fix Menu example
2016-10-10 23:01:35 -07:00
Zeke Sikelianos
8aaf029e55
remove unused var
2016-10-10 15:38:27 -07:00
Zeke Sikelianos
bcce7aff18
test that overrideProperty is not overwritten
2016-10-10 15:25:56 -07:00
Zeke Sikelianos
b575055d7e
inherit user-specific MenuItem properties more safely
2016-10-10 14:40:49 -07:00
Kevin Sawicki
d5b3ef5380
Merge pull request #7548 from malept/electron-packager-mas-doc-fix
...
Docs: clarify ignoring object files with electron-packager
2016-10-10 13:50:41 -07:00
Kevin Sawicki
58ef0bea17
Doc app.setAboutPanelOptions
2016-10-10 13:40:57 -07:00
Kevin Sawicki
7de6a06acf
Support setting about panel options
2016-10-10 13:30:58 -07:00
Zeke Sikelianos
2cd10d339f
remove duplicated prop copying
2016-10-10 11:07:01 -07:00
Kevin Sawicki
38281f3364
Implement SysColorChangeListener directly on Windows
2016-10-10 10:43:09 -07:00
Kevin Sawicki
25bcc2dd0d
🎨
2016-10-10 10:43:09 -07:00
Kevin Sawicki
af27c62b07
Doc inverted-color-scheme-changed event
2016-10-10 10:43:08 -07:00
Kevin Sawicki
8b16b82ce9
Add inverted-color-scheme-changed event
2016-10-10 10:43:08 -07:00
Kevin Sawicki
223e9d97a0
Doc systemPreferences.isInvertedColorScheme
2016-10-10 10:43:08 -07:00
Kevin Sawicki
7b49d94e9f
Add systemPreferences.isInvertedColorScheme API
2016-10-10 10:43:08 -07:00
Mark Lee
a677eb0f95
📝 clarify ignoring object files with electron-packager
...
Note that Electron Packager 8.1.0 ignores object files by default.
2016-10-10 13:08:36 -04:00
Kevin Sawicki
987579d391
Send initial keyDown before char event
2016-10-10 09:35:44 -07:00
Kevin Sawicki
99414065a9
Add char/keypress event tests
2016-10-10 09:35:44 -07:00
Kevin Sawicki
e4b0577cb0
Assert key and code in keyup input event spec
2016-10-10 09:35:44 -07:00
Kevin Sawicki
424afd3faf
Update expected key and code values
2016-10-10 09:35:43 -07:00
Kevin Sawicki
6fac14ad3f
Set key and code on keyboard events
2016-10-10 09:35:43 -07:00
Kevin Sawicki
d69367aa9b
Add keydown sendInputEvent specs
2016-10-10 09:35:43 -07:00
Kevin Sawicki
2efb7a12cb
Merge pull request #7544 from tinydew4/fix-docs
...
Fix dot
2016-10-10 09:19:13 -07:00
Kevin Sawicki
9f616b934b
Merge pull request #7542 from Menq/patch-1
...
update
2016-10-10 09:18:41 -07:00
Kevin Sawicki
c016e83eb3
Merge pull request #7541 from tinydew4/translate-ko
...
Translate clang-format
2016-10-10 09:18:23 -07:00
Kevin Sawicki
7015dbf0d2
Merge pull request #7536 from rogerlista/master
...
📝 Translation of faq.md to pt-BR [ci skip]
2016-10-10 09:18:02 -07:00
tinydew4
9f42c4c441
Fix dot
2016-10-10 14:31:05 +00:00
孟强
1841f826fe
update
...
rename electron-prebuild to electron
2016-10-10 17:08:26 +08:00
Cheng Zhao
e24267d060
Update brightray for #7503
2016-10-10 11:35:59 +09:00
Cheng Zhao
546f685314
Merge pull request #254 from deepak1556/devtools_dock_state_reimplement_patch
...
set dock state using devtools dockController
2016-10-10 11:34:42 +09:00
Cheng Zhao
91591f37e6
Merge pull request #7500 from electron/store-crashes-in-configured-temp-dir
...
Store crash reports in configured temp dir
2016-10-10 10:19:02 +09:00
tinydew4
8875296338
Translate clang-format.md
2016-10-10 00:53:13 +00:00
Rogério
98eb8cd3c1
📝 Translation of faq.md to pt-BR [ci skip]
2016-10-09 10:56:55 -03:00
Zeke Sikelianos
2acd7f4d12
fix NativeImage link path
2016-10-07 21:25:39 -07:00
Samuel Attard
4d49156dac
Rename bounds -> rectangle
2016-10-08 13:09:31 +11:00
Kevin Sawicki
c147e72c8e
Merge pull request #7499 from electron/clang-format
...
Add a guide to use clang-format
2016-10-07 14:06:18 -07:00
Kevin Sawicki
f872799f5c
Minor edits to clang-format guide
2016-10-07 14:05:33 -07:00
Kevin Sawicki
913bc8e198
Merge pull request #7527 from electron/only-set-global-app-name-on-audio-manager-on-linux
...
Only call media::AudioManager::SetGlobalAppName on Linux
2016-10-07 14:04:03 -07:00
Kevin Sawicki
c37740273f
Add linux guard for SetGlobalAppName call
2016-10-07 13:44:54 -07:00
Kevin Sawicki
f09ed4b677
Merge pull request #7524 from deepak1556/pa_app_name_patch
...
media: set the application name for audio streams shown in external apps
2016-10-07 10:15:35 -07:00
Kevin Sawicki
e52f5933a0
Merge pull request #7522 from tinydew4/translate-ko
...
Add REPL doc in ko-KR and apply other changes
2016-10-07 10:11:24 -07:00
Kevin Sawicki
9339853448
Merge pull request #7520 from electron/fix-undef-webprefs
...
Default webPreferences to empty object always
2016-10-07 10:10:40 -07:00
deepak1556
12fb9f1f18
media: set the application name for audio streams shown in external apps
2016-10-07 16:15:30 +05:30
tinydew4
f3b182606b
Add REPL doc in ko-KR and apply other changes
2016-10-07 08:34:27 +00:00
Samuel Attard
a0284a9bc5
Add spec for window.open with webPreferences set to null
2016-10-07 12:13:04 +11:00
Samuel Attard
09e5035ab5
Default webPreferences to empty object always
2016-10-07 11:45:13 +11:00
Zeke Sikelianos
b7e078e98d
sanitize MenuItem options
2016-10-06 14:37:13 -07:00
Zeke Sikelianos
f80e81bf9f
standardize
2016-10-06 12:20:00 -07:00
Zeke Sikelianos
c34d868609
update docs-linter
2016-10-06 12:20:00 -07:00
Samuel Attard
2b05c61ae3
Update docs for parsing
2016-10-06 12:19:38 -07:00
Samuel Attard
b859afc118
Update docs to follow the 'link first instance' standard
2016-10-06 12:19:38 -07:00
Samuel Attard
03979936f3
Move reused object structures to a standard structures folder
2016-10-06 11:59:42 -07:00
Kevin Sawicki
4d7050553c
Merge pull request #7449 from amtj/repl-docs
...
add REPL documentation
2016-10-06 11:38:48 -07:00
Kevin Sawicki
c104858079
Update Node.js docs link and Windows note
2016-10-06 11:38:09 -07:00
Kevin Sawicki
2c8781ed69
Merge pull request #7511 from tinydew4/translate-ko
...
Update korean docs
2016-10-06 11:12:26 -07:00
Kevin Sawicki
e38fc724f8
Merge pull request #7508 from miniak/docs-fix
...
Add missing documentation
2016-10-06 11:11:31 -07:00
Kevin Sawicki
3bbfc4d420
Merge pull request #7507 from toonborgers/translate-nl
...
Add link to dutch translation in CONTRIBUTING.md [ci skip]
2016-10-06 11:06:18 -07:00
Kevin Sawicki
217010a669
Merge pull request #7515 from electron/newline-before-list
...
Add newline before list
2016-10-06 11:03:52 -07:00
Kevin Sawicki
451cea4675
Add newline before list
2016-10-06 11:02:30 -07:00
Kevin Sawicki
d39182b41a
Pass crashes directory instead of product name and temp dir
2016-10-06 10:55:11 -07:00
Zeke Sikelianos
2cda2bd718
Merge pull request #7502 from squarejaw/patch-1
...
Fix misspelling in docs/api/app.md
2016-10-06 10:44:11 -07:00
Kevin Sawicki
16e3991ffa
Guard against app.getPath throwing with OS fallback
2016-10-06 10:07:40 -07:00
Kevin Sawicki
fbbffe03a5
Add getPath specs
2016-10-06 09:57:25 -07:00
Kevin Sawicki
f61ace74bb
Sort includes
2016-10-06 09:50:06 -07:00
Kevin Sawicki
4a8dcec63a
Wait for crash report to become available
2016-10-06 09:47:07 -07:00
Kevin Sawicki
30c6ca6751
Only call UTF8ToUTF16 on Windows
2016-10-06 09:14:16 -07:00
Kevin Sawicki
84b7bb29f0
Fix Windows compiler errors
2016-10-06 09:02:03 -07:00
Kevin Sawicki
9d1d1f21e9
Use FilePath for crash reporter temp directory
2016-10-06 09:02:03 -07:00
Kevin Sawicki
883c4b63d0
temp_path -> temp_dir
2016-10-06 09:02:02 -07:00
Kevin Sawicki
0380d3ae50
Pass crashes directory to crash service process
2016-10-06 09:02:02 -07:00
Kevin Sawicki
2fbb98a97c
Remove directory assert
2016-10-06 09:02:02 -07:00
Kevin Sawicki
43702e0f8e
Support calling getUploadedReports on unstarted crash reporter
2016-10-06 09:02:02 -07:00
Kevin Sawicki
56d9ce34e4
Use valid Linux report id
2016-10-06 09:02:02 -07:00
Kevin Sawicki
76abb2e18d
Add missing temp_dir arg to override
2016-10-06 09:02:02 -07:00
Kevin Sawicki
a0db484510
Use app.getPath directly for temp path
2016-10-06 09:02:02 -07:00
Kevin Sawicki
b3b856f476
Set productName in main process on Linux
2016-10-06 09:02:02 -07:00
Kevin Sawicki
69a7025c96
Fix Linux compiler errors
2016-10-06 09:02:01 -07:00
Kevin Sawicki
773bfea386
Remove unused rimraf spec dependency
2016-10-06 09:02:01 -07:00
Kevin Sawicki
eafc694bba
Mention crash report locations
2016-10-06 09:02:01 -07:00
Kevin Sawicki
81733a523e
DRY up temp directory logging
2016-10-06 09:02:01 -07:00
Kevin Sawicki
1afe501a36
Add tests for crash reports in custom temp directory
2016-10-06 09:02:01 -07:00
Kevin Sawicki
f282b51c98
🎨 Use ES6 class, destructuring, and let/const
2016-10-06 09:02:01 -07:00
Kevin Sawicki
ac0658bbf1
Use PathService for temp dir path for crashes
2016-10-06 09:02:01 -07:00
tinydew4
116dbc0581
Update ko docs
2016-10-06 14:53:57 +00:00
tinydew4
6af8a0fae4
Update ko docs
2016-10-06 14:27:48 +00:00
tinydew4
79b5ae3d57
Modify docs to refelect the latest
2016-10-06 14:27:48 +00:00
deepak1556
968bc5c9a2
set dock state using devtools dockController
2016-10-06 17:31:38 +05:30
Electron Bot
5a5d972a69
Update to Electron v1.4.3
2016-10-06 03:07:56 -07:00
Milan Burda
cb15181f43
Fix typo
2016-10-06 12:03:37 +02:00
Milan Burda
9f342ebbd1
Add missing documentation
2016-10-06 11:30:34 +02:00
Toon Borgers
27795015ff
Add link to dutch translation in CONTRIBUTING.md
2016-10-06 10:56:59 +02:00
Cheng Zhao
79a5de3fd8
Bump v1.4.3
2016-10-06 17:12:07 +09:00
Cheng Zhao
2624738534
Lock the version of electron-docs-linter
2016-10-06 17:12:06 +09:00
Cheng Zhao
10b91b1291
Merge pull request #7488 from electron/native-image-resize-and-crop
...
Support resizing and cropping native images
2016-10-06 15:01:41 +09:00
Cheng Zhao
1781ceb25b
Merge pull request #7494 from thomsonreuters/Update_Test_For_Missing_Additional_Features
...
Update BrowserWindow's test to check additional features upon window.open() call
2016-10-06 14:45:28 +09:00
Cheng Zhao
051e5c27b3
Update brightray for #7332
2016-10-06 14:42:14 +09:00
Cheng Zhao
fca548b2fc
Merge pull request #253 from miniak/large-address-aware
...
Add /LARGEADDRESSAWARE to linker options (Windows)
2016-10-06 14:39:32 +09:00
Cheng Zhao
5285b729be
Merge pull request #7407 from thomsonreuters/New_Window_Handler_Can_Create_And_Return_Window
...
New-window event handler can return its own BrowserWindow instance
2016-10-06 14:37:48 +09:00
Bryan Bess
9bc6000cb5
📝 Fix misspelling in docs/api/app.md [ci skip]
2016-10-05 19:17:49 -05:00
Zeke Sikelianos
fdf3f6ce30
remove unneeded new keyword
2016-10-05 13:44:28 -07:00
Haojian Wu
0d930b65f1
📝 clang-format on Electron C++ code.
2016-10-05 22:12:48 +02:00
Zeke Sikelianos
16b3962b66
preserve custom properties passed to MenuItem constructor
2016-10-05 12:24:08 -07:00
Kevin Sawicki
4b95f3a462
Mark width/height as optional
2016-10-05 11:02:58 -07:00
Kevin Sawicki
4ffae1d563
Add spec for getAspectRatio
2016-10-05 11:02:58 -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
49cc00dedf
Add tests of resizing/cropping an empty image
2016-10-05 11:02:57 -07:00
Kevin Sawicki
9fa13710aa
Document crop and resize
2016-10-05 11:02:57 -07:00
Kevin Sawicki
0eda33f057
Add tests for cropping native images
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
a80f4c1605
Add specs for other create image helpers
2016-10-05 11:02:57 -07:00
Kevin Sawicki
6aba4e916a
🎨 Use deepEqual asserts
2016-10-05 11:02:57 -07:00
Kevin Sawicki
6a7f0d70fd
Add native image resize tests
2016-10-05 11:02:56 -07:00
Kevin Sawicki
042684fb38
Add resize method to native image
2016-10-05 11:02:56 -07:00
Kevin Sawicki
018575de71
Merge pull request #7496 from electron/app-doc-fix
...
Add newline before return list
2016-10-05 09:36:01 -07:00
Kevin Sawicki
8c0588d4e0
Merge pull request #7495 from toonborgers/translate-nl
...
📝 Dutch translation for CONTRIBUTING.md [ci skip]
2016-10-05 09:34:08 -07:00
Kevin Sawicki
aaa8c56686
Merge pull request #7487 from fplucas/master
...
📝 Fix the link source-code-directory-structure.md on pt-br [ci skip]
2016-10-05 09:33:07 -07:00
Milan Burda
cc8b07985d
Add /LARGEADDRESSAWARE to linker options (Windows)
2016-10-05 18:32:24 +02:00
Kevin Sawicki
5e936a24ac
Add newline before list
2016-10-05 09:24:33 -07:00
Michael Vasseur
edd80d88a9
Update BrowserWindow's test to check additional features upon window.open() call
2016-10-05 13:45:15 +02:00
Toon Borgers
25659e482e
Fix relative url
2016-10-05 12:28:36 +02:00
Toon Borgers
a097d17166
Fix relative link, added translation link for dutch
2016-10-05 12:28:08 +02:00
Toon Borgers
d4bbc24031
Translate CONTRIBUTING.md
2016-10-05 12:25:50 +02:00
Michael Vasseur
3dd41bc09a
Fix errors
2016-10-05 11:46:55 +02:00
Michael Vasseur
9490ec7686
Fix JS Lint issues
2016-10-05 09:47:39 +02:00
Michael Vasseur
a2b3cf95a7
Sets correct openerId in mergeBrowserWindowOptions() to give correct options to 'new-window' event handler
2016-10-05 09:47:39 +02:00
Michael Vasseur
cc7f4fedf6
Rebase with recent changes
2016-10-05 09:47:39 +02:00
Michael Vasseur
22bd7c0271
Updated the related documentation
2016-10-05 09:47:38 +02:00
Michael Vasseur
3408c8038e
Fix indentation
2016-10-05 09:47:38 +02:00
Michael Vasseur
5a4cdcfde1
'new-window' event handlers can return their window when default behavior is prevented
2016-10-05 09:46:54 +02:00
Toon Borgers
0babe4a5ed
Add english version to start from
2016-10-05 09:27:20 +02:00
Toon Borgers
a538b37854
Create CONTRIBUTING.md
2016-10-05 09:16:34 +02:00
Cheng Zhao
ebaeec1677
Merge pull request #7491 from electron/initialize-direct-write-font-proxy
...
Enable emoji as fallback font on Windows 10
2016-10-05 14:15:55 +09:00
Kevin Sawicki
1f1d9cefca
Update libchromiumcontent for #7334
2016-10-04 17:28:46 -07:00
Haojian Wu
a846088eac
Add clang-format config file.
2016-10-04 22:42:49 +02:00
Kevin Sawicki
43f4eb76c4
Merge pull request #7489 from davej/patch-2
...
Docs: Correct image.getSize() type signature
2016-10-04 13:36:48 -07:00
Dave Jeffery
29b9fbcc9a
Docs: Move buffer link to end of file
2016-10-04 21:34:24 +01:00
Dave Jeffery
4d10b9a31b
Docs: Correct image.getSize() type signature
2016-10-04 21:20:42 +01:00
Lucas Pugliesi
0727102c5e
📝 Fix the link source-code-directory-structure.md on pt-br [ci skip]
2016-10-04 14:43:11 -03:00
Kevin Sawicki
4c2590ed92
Merge pull request #7486 from fplucas/master
...
📝 Translation of build-instructions-osx.md to pt-br [ci skip]
2016-10-04 10:31:08 -07:00
Lucas Pugliesi
66ce176b22
Merge remote-tracking branch 'upstream/master'
2016-10-04 14:27:00 -03:00
Lucas Pugliesi
a824ff479a
📝 Translation of build-instructions-osx.md to pt-br [ci skip]
2016-10-04 14:26:41 -03:00
Kevin Sawicki
c88c6b1323
Merge pull request #7481 from fplucas/master
...
📝 Translation of synopsis.md to pt-br [ci skip]
2016-10-04 09:11:16 -07:00
Kevin Sawicki
b459f00bd3
Merge pull request #7478 from tinydew4/translate-ko
...
Update the ko-KR docs related to the `additionalFeatures`.
2016-10-04 09:10:55 -07:00
Amitoj
00376c1d59
add note about windows
...
note "REPL is not available on Windows."
2016-10-04 19:32:46 +05:30
Lucas Pugliesi
85a8b149bb
📝 Translation of synopsis.md to pt-br [ci skip]
2016-10-04 09:37:18 -03:00
tinydew4
3fcb57559a
Update the ko-KR docs related to the .
2016-10-04 08:35:07 +00:00
Cheng Zhao
bf21892cfa
Merge pull request #7291 from thomsonreuters/Fix_Missing_Additional_Features_New_Popup_Windows
...
Fix for missing additional features fields when creating new popup windows
2016-10-04 15:42:36 +09:00
Cheng Zhao
c4576463e2
Format the docs according to style guide
2016-10-04 14:41:37 +09:00
Michael Vasseur
3af686daff
Documented JavasScript API changes related to the fix for additional features processing
2016-10-04 14:38:32 +09:00
Michael Vasseur
c811188e22
Updated required code to handle missing additional features for popup windows
2016-10-04 14:38:32 +09:00
Cheng Zhao
ef88a06f08
Update libchromiumcontent for #7291
2016-10-04 14:30:59 +09:00
Cheng Zhao
cf050ff9e2
Merge pull request #7468 from electron/focus-window-when-menu-is-clicked
...
Focus window when menu button is pressed
2016-10-04 14:22:49 +09:00
Kevin Sawicki
f30cef5c78
Merge pull request #252 from electron/update-example-link
...
Link to electron instead of brightray_example
2016-10-03 15:47:39 -07:00
Kevin Sawicki
4172bbd683
Link to electron instead of brightray_example
2016-10-03 15:46:09 -07:00
Kevin Sawicki
bb04069e83
Merge pull request #7437 from fplucas/master
...
📝 Translation of CONTRIBUTING.md to pt-br [ci skip]
2016-10-03 15:37:52 -07:00
Amitoj
a938859eb8
repl-docs: move file to tutorials
...
also add note for renderer processes.
2016-10-04 00:12:25 +05:30
Lucas Pugliesi
8d35576a36
Merge CONTRIBUTING.md
2016-10-03 15:18:03 -03:00
Kevin Sawicki
9cae04edde
Remove unused ButtonListener
2016-10-03 10:26:18 -07:00
Kevin Sawicki
11684c2c73
Focus submenu buttons when clicked
2016-10-03 10:13:41 -07:00
Kevin Sawicki
e258973490
Merge pull request #7434 from rafaelstz/patch-2
...
Update year in LICENSE file
2016-10-03 09:29:54 -07:00
Kevin Sawicki
00d57fa547
Merge pull request #7433 from rafaelstz/patch-1
...
Update license in README file
2016-10-03 09:29:26 -07:00
Kevin Sawicki
24106469c5
Merge pull request #7456 from amitmerchant1990/patch-1
...
Update accessibility.md
2016-10-03 09:28:22 -07:00
Kevin Sawicki
9c55280917
Merge pull request #7457 from josephfrazier/fix-findinpage-links
...
Fix webContents.findInPage links in docs
2016-10-03 09:22:53 -07:00
Cheng Zhao
98333049ec
Merge pull request #7452 from enlight/node-buffer-safe-free
...
Prevent undefined behavior when some Node Buffer objects are destroyed
2016-10-03 21:57:37 +09:00
Cheng Zhao
63b45a873b
Merge pull request #7451 from was4444/master
...
keep up with en version
2016-10-03 21:35:06 +09:00
Cheng Zhao
ec34bfde26
Merge pull request #7432 from electron/check-if-window-closed
...
Ignore already closed windows
2016-10-03 21:21:35 +09:00
Cheng Zhao
8ae91ea2ee
Merge pull request #7444 from rogerlista/master
...
📝 Translation of CODE OF CONDUCT.md to pt-BR [ci skip]
2016-10-03 21:19:35 +09:00
Cheng Zhao
772c456513
Merge pull request #7335 from miniak/set-default-error-mode
...
Add process.setDefaultErrorMode()
2016-10-03 20:53:42 +09:00
Cheng Zhao
3a4cd19226
Merge pull request #7461 from electron/revert-7416-fix-windows-draggable-high-dpi
...
Revert "Fix for issues seen on frameless window (Windows) when at 200% resolution"
2016-10-03 20:42:44 +09:00
Cheng Zhao
4d8c1c61a5
Revert "Fix for issues seen on frameless window (Windows) when at 200% resolution"
2016-10-03 20:41:52 +09:00
Cheng Zhao
bee3abe334
Merge pull request #7416 from bsclifton/fix-windows-draggable-high-dpi
...
Fix for issues seen on frameless window (Windows) when at 200% resolution
2016-10-03 18:34:18 +09:00
Joseph Frazier
5d1c626a53
Fix webContents.findInPage links in docs
2016-10-03 02:07:52 -04:00
Amit Merchant
fb612075c4
Update accessibility.md
2016-10-03 11:13:25 +05:30
Vadim Macagon
7c5d3296e7
Prevent undefined behavior when some Node Buffer objects are destroyed
...
If node::Buffer::New() is used to wrap an existing chunk of memory
without providing a custom callback to release that memory then Node
will just use `free()`. In a couple of places Node buffer objects were
constructed from chunks of memory that were allocated with `new[]`, but
a custom callback to release that memory was omitted, this resulted in
undefined behavior when those buffers were destroyed because `free()`
was used to release memory allocated with `new[]`.
To avoid undefined behavior the aforementioned buffer objects are now
constructed with a custom callback that safely releases the underlying
chunk of memory.
2016-10-03 10:26:26 +07:00
Amitoj
002b9b5d4b
add link to repl documentation
2016-10-02 23:47:11 +05:30
Amitoj
a0a23e04cf
s/provides/provides a/
2016-10-02 23:42:37 +05:30
wxf
763fdb4be1
keep up with en version
2016-10-02 21:45:22 +08:00
Amitoj
4d0cef5070
add REPL documentation
2016-10-02 18:20:29 +05:30
Rogério
18c7ba94f8
📝 Translation of accessibility.md to pt-BR [ci skip]
2016-10-01 21:28:17 -03:00
Rogério
5fb72b5e05
📝 Translation of README.md to pt-BR [ci_skip]
2016-10-01 20:55:12 -03:00
Rogério
960971b195
📝 Translation of CONTRIBUTING.md to pt-BR[ci skip]
2016-10-01 19:56:01 -03:00
Rogério
b10a6422d4
Translation of CODE OF CONDUCT.md to pt-BR [ci skip]
2016-10-01 17:59:30 -03:00
Lucas Pugliesi
2714f280f5
📝 Translation of file-object.md to pt-br [ci skip]
2016-10-01 09:07:49 -03:00
Lucas Pugliesi
9c53d241fa
📝 Translation of CONTRIBUTING.md to pt-br [ci skip]
2016-10-01 08:45:31 -03:00
Rafael Corrêa Gomes
f4d33e366d
Update year in LICENSE file
2016-10-01 00:34:29 -03:00
Rafael Corrêa Gomes
73cdf35c98
Update license in README file
2016-10-01 00:33:51 -03:00
Kevin Sawicki
140651c258
Ignore already closed windows
2016-09-30 15:04:13 -07:00
Kevin Sawicki
ff6a8fac2a
Merge pull request #7417 from electron/check-sheet-parent-before-beginning
...
Only begin sheet when no sheet parent
2016-09-30 13:08:35 -07:00
Kevin Sawicki
1807458c66
Only begin sheet when no sheet parent
2016-09-30 10:43:43 -07:00
Kevin Sawicki
fb41474555
Merge pull request #7429 from electron/webview-max-listeners
...
Ensure webviews get reset after spec finishes
2016-09-30 10:43:27 -07:00
Kevin Sawicki
3f390c6849
Ensure webviews get reset after spec finishes
2016-09-30 10:15:11 -07:00
Kevin Sawicki
4a186069d9
Merge pull request #7428 from electron/sandbox-specs
...
Explicitly close popup window from sandbox spec
2016-09-30 09:28:59 -07:00
Kevin Sawicki
d942694695
openedWindow -> popupWindow
2016-09-30 08:54:24 -07:00
Kevin Sawicki
766f5afabd
Explicitly close popup window
2016-09-30 08:50:41 -07:00
Kevin Sawicki
e16fa08e61
🎨
2016-09-30 08:38:21 -07:00
Kevin Sawicki
b07d4eba11
Merge pull request #7427 from tinydew4/translate-ko
...
Update ko-KR/api/session.md
2016-09-30 08:14:46 -07:00
tinydew4
f1d1070baa
Update ko-KR/api/session.md
2016-09-30 15:09:11 +00:00
Kevin Sawicki
0c146de7dd
Merge pull request #7422 from tinydew4/translate-ko
...
Update korean CODE_OF_CONDUCT.md
2016-09-30 07:56:07 -07:00
Electron Bot
bc6ebd87dd
Update to Electron v1.4.2
2016-09-30 05:22:57 -07:00
Cheng Zhao
5a56de501a
Bump v1.4.2
2016-09-30 17:39:27 +08:00
Cheng Zhao
11d16a7342
Merge pull request #7415 from electron/disable-tab-menu-on-sierra
...
Hide Show Tab Bar menu item on macOS Sierra
2016-09-30 17:23:54 +08:00
Cheng Zhao
1b5db42ec6
Merge pull request #7398 from electron/cookie-changed-event
...
Add cookie changed event
2016-09-30 17:10:44 +08:00
tinydew4
0b6b4ca50d
Update CODE_OF_CONDUCT.md
2016-09-30 06:32:07 +00:00
tinydew4
e7e8b3fdb6
Remove BOM to korean docs
2016-09-30 00:03:29 +00:00
Milan Burda
5bfa898a02
Always drop SEM_NOGPFAULTERRORBOX flag from error mode (enables WER if crashReporter is not started)
2016-09-29 13:57:41 -07:00
Kevin Sawicki
770a3509cf
Add forward declaration of NSWindow.allowsAutomaticWindowTabbing
2016-09-29 10:54:59 -07:00
Kevin Sawicki
b14870d9a1
Merge pull request #7413 from deepak1556/devtools_filesystemapi_patch
...
browser: allow filesystem access for devtools scheme
2016-09-29 10:52:47 -07:00
Brian Clifton
52340b43f5
Possible fix for issues seen on frameless window (Windows) when at 200%
2016-09-29 10:48:36 -07:00
deepak1556
1323542373
browser: allow filesystem access for devtools scheme
2016-09-29 22:54:39 +05:30
Kevin Sawicki
24b9313958
Disable Show Tab Bar menu item on macOS Sierrra
2016-09-29 10:18:15 -07:00
Kevin Sawicki
0e1290fc10
Upgrade brightray for merged cookie delegate support
2016-09-29 09:18:21 -07:00
Kevin Sawicki
4fb32f62f5
Merge pull request #251 from electron/cookies-changed
...
Support configuring a cookie delegate
2016-09-29 09:17:43 -07:00
Kevin Sawicki
8abe8fe01d
Remove unneeded locker and handle scope
2016-09-29 09:16:35 -07:00
Kevin Sawicki
77b35ba7ab
Use separate session for cookies change event test
2016-09-29 09:16:35 -07:00
Kevin Sawicki
96e48ac13c
Document cookie changed event
2016-09-29 09:16:35 -07:00
Kevin Sawicki
d83534d513
Add specs for cookie changed event
2016-09-29 09:16:35 -07:00
Kevin Sawicki
19c7ee0932
Use scoped_refptr for cookie delegate
2016-09-29 09:16:35 -07:00
Kevin Sawicki
24bcf6ac16
Add initial cookie changed event support
2016-09-29 09:16:29 -07:00
Kevin Sawicki
5d23d165a9
Upgrade brigthray for cookie monster delegate
2016-09-29 09:16:29 -07:00
Kevin Sawicki
b3b9994ce8
Configure ink drops on menu bar buttons ( #7397 )
...
* Add ink drop to menu bar buttons
* Pass background color to submenu button
* Sort includes
2016-09-29 09:15:12 -07:00
Arus
df0bda058f
Update korean docs, according to most recent changes and other missing. ( #7400 )
...
* Apply changes
* Apply changes
* Apply changes
* Apply changes
* Fix all JS standard syntax errors
* Apply of recent changes, #7374
2016-09-29 08:52:40 -07:00
Kevin Sawicki
67eff02a65
🎨
2016-09-29 08:43:33 -07:00
Kevin Sawicki
cbe92b5fb5
Support configuring a cookie delegate
2016-09-29 08:43:33 -07:00
Cheng Zhao
15b8449411
Merge pull request #7393 from electron/upgrade-brigthray-for-ct-fix
...
Upgrade Brightray for certificate transparency crash fix
2016-09-29 16:56:31 +08:00
Cheng Zhao
b2f117efb1
Merge pull request #250 from electron/ct-crash
...
Set CT related fields on URLRequestContextStorage
2016-09-29 16:55:39 +08:00
Cheng Zhao
e1d68fa3cd
Merge pull request #7374 from electron/fixup-return-values
...
Update docs to contain more specific return values
2016-09-29 16:44:08 +08:00
Cheng Zhao
2c9ce3f3e0
Merge pull request #7372 from electron/update-docs-linter
...
update electron-docs-linter
2016-09-29 16:43:22 +08:00
Cheng Zhao
734f42b5f9
Merge pull request #7319 from Menci/master
...
Workaround for electron/electron#5050
2016-09-29 16:42:30 +08:00
Kevin Sawicki
3cff64001d
Upgrade brightray for CT crash fix
2016-09-28 16:02:48 -07:00
Kevin Sawicki
c46200761f
Use net::URLRequestContextBuilder::SetHttpNetworkSessionComponents helper
2016-09-28 16:00:23 -07:00
Kevin Sawicki
241297fb2e
Merge pull request #7388 from electron/custom-window-level-test
...
Add test for BrowserWindow.setAlwaysOnTop
2016-09-28 15:47:29 -07:00
Kevin Sawicki
096d3e61fa
Remove unused instance variables
2016-09-28 11:17:42 -07:00
Kevin Sawicki
14c4b1eabb
Set certificate transparency objects on URLRequestContextStorage
2016-09-28 11:14:18 -07:00
Kevin Sawicki
d4583006b3
Merge pull request #7391 from kiavashps/patch-1
...
docs: app.md - fix relaunch arg concat syntax
2016-09-28 10:30:59 -07:00
Kiavash Page
d42e51e33a
app.md - fix relaunch arg concat syntax
2016-09-28 10:23:03 -07:00
Kevin Sawicki
3bed19d70d
Add spec for BrowserWindow.setAlwaysOnTop
2016-09-28 09:23:52 -07:00
Kevin Sawicki
fd6ef6712f
Link to window level macOS docs
2016-09-28 09:20:22 -07:00
Cheng Zhao
c51982a231
Merge pull request #7362 from bsclifton/fix-windows-draggable-high-dpi
...
Fixes mouse coordinates for Windows when display is set to a higher DPI
2016-09-28 19:42:17 +08:00
Cheng Zhao
53d4c36332
Merge pull request #7353 from electron/no-login-item-apis-on-mas
...
document lack of MAS support for login item APIs
2016-09-28 19:20:32 +08:00
Cheng Zhao
de76bf5f63
Merge pull request #7296 from adammeyer/custom-window-level
...
Allow custom window level when sending window to top
2016-09-28 19:18:12 +08:00
Samuel Attard
e0e47ea9a1
Update docs to contain more specific return values
2016-09-28 18:28:44 +13:00
Zeke Sikelianos
3989139378
update electron-docs-linter
2016-09-27 22:04:22 -07:00
Kevin Sawicki
f4962a5212
Merge pull request #195 from electron-userland/upgrade-electron-download
...
Upgrade electron download to fix Mac CI issue
2016-09-27 16:05:23 -07:00
Menci
ca68dfe097
🎨 Remove extra semicolon
2016-09-28 06:45:15 +08:00
Kevin Sawicki
429ceeec23
Use default install script
2016-09-27 15:18:03 -07:00
Kevin Sawicki
3ba3a84159
Remove unneeded silent option
2016-09-27 15:15:07 -07:00
Kevin Sawicki
2227631b44
Upgrade to electron-download@3.0.1
2016-09-27 15:14:42 -07:00
Kevin Sawicki
5114d571df
Merge pull request #7364 from tiagotol/patch-1
...
Update quick-start.md
2016-09-27 13:02:25 -07:00
tiagotol
08808664b6
Update quick-start.md
2016-09-27 14:29:35 -03:00
Brian Clifton
13de65d310
Fixes mouse coordinates for Windows when display is set to a higher DPI (ex: enlarged by 150% using display settings)
2016-09-27 08:23:48 -07:00
Zeke Sikelianos
6728efe87e
Merge pull request #7339 from electron/document-return-values
...
Document the return values of all methods in the docs
2016-09-27 07:39:25 -07:00
Cheng Zhao
458c4dd129
Merge branch 'support-chromium-sandbox' of https://github.com/tarruda/electron into tarruda-support-chromium-sandbox
2016-09-27 20:02:23 +08:00
Menci
ef45b67dbf
🐧 🐛 Move the workaround to lib/browser/init.js
2016-09-27 19:19:52 +08:00
Cheng Zhao
604700187d
Merge pull request #7327 from MaxWhere/osr-fixes
...
Small fixes for offscreen rendering
2016-09-27 19:17:10 +08:00
Cheng Zhao
7e1ae369ed
Merge pull request #7356 from electron/fix-typo
...
fix typo
2016-09-27 19:05:06 +08:00
Cheng Zhao
9850af93c9
Merge pull request #7313 from electron/add-type-to-webview-style-tag
...
add type to webview style tag
2016-09-27 19:03:08 +08:00
Cheng Zhao
4c8d0ab804
Merge pull request #7298 from deepak1556/content_settings_patch
...
protocol: disable storage for non standard custom schemes
2016-09-27 18:52:36 +08:00
Electron Bot
5ea143b08f
Update to Electron v1.3.7
2016-09-27 03:03:26 -07:00
Thiago de Arruda
47fd41715f
Add some tests for "sandbox" option
2016-09-27 06:01:47 -03: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
Thiago de Arruda
524bab530a
Improve AtomSandboxedRendererClient to support preload scripts.
...
Add RenderFrameObserver/RenderViewObserver subclasses that implement the
necessary support for preload scripts in sandboxed renderers.
2016-09-27 06:01:47 -03:00
Thiago de Arruda
72154b64ed
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.
2016-09-27 06:01:47 -03:00
Thiago de Arruda
695509e267
Add browser side support for reading files from renderer.
2016-09-27 06:01:46 -03:00
Thiago de Arruda
0f7652dc85
Move code that defines ipcRenderer methods into another file.
2016-09-27 06:01:46 -03:00
Thiago de Arruda
1713200084
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.
2016-09-27 06:01:46 -03:00
Thiago de Arruda
6afe8aa7f2
Move EmitIPCEvent into AtomRenderViewObserver.
...
Refactor this function as a method so it is possible to inherit most behavior
from AtomRenderViewObserver and override EmitIPCEvent.
2016-09-27 06:01:46 -03:00
Thiago de Arruda
c8629019f5
Expose atom_api_renderer_ipc module API
2016-09-27 06:01:46 -03:00
Thiago de Arruda
a7b6332ed0
Add atom::AtomSandboxedRendererClient class
2016-09-27 06:01:46 -03:00
Thiago de Arruda
06cc9a44fe
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.
2016-09-27 06:01:46 -03:00
Thiago de Arruda
0b3b29938f
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`.
2016-09-27 06:01:46 -03:00
Thiago de Arruda
1b1541fe1a
Decouple api::Window initialization from api::WebContents construction.
2016-09-27 06:01:46 -03:00
Thiago de Arruda
1d228446db
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).
2016-09-27 06:01:46 -03:00
Thiago de Arruda
c783ec72bc
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.
2016-09-27 06:01:46 -03:00
Zeke Sikelianos
90c5972fce
Merge pull request #7342 from tinydew4/update-changes
...
Update changes to korean docs.
2016-09-26 22:19:45 -07:00
Zeke Sikelianos
1f677ed361
fix typo
2016-09-26 22:12:51 -07:00
Zeke Sikelianos
9c19b4e3d5
Merge pull request #7343 from tinydew4/translate-ko
...
Translate newest styleguide.md and update changes to system-preferences.md
2016-09-26 21:47:42 -07:00
Zeke Sikelianos
d4a1f396fb
tweak wording about complex objects
2016-09-26 21:04:54 -07:00
arus
72e3816143
Change a word
2016-09-27 09:38:23 +09:00
arus
9dd181c206
Change some sentences after review
2016-09-27 09:34:59 +09:00
Zeke Sikelianos
9828926002
Merge pull request #7340 from tinydew4/fix-link
...
Fix broken link in original docs
2016-09-26 12:04:22 -07:00
Zeke Sikelianos
bb955b6202
document lack of MAS support for login item APIs
2016-09-26 11:00:13 -07:00
Cheng Zhao
1dd05ff520
Merge pull request #7338 from electron/fix-get-accent-color-docs
...
Fix getAccentColor() docs in system-preferences.md
2016-09-26 15:39:40 +08:00
Cheng Zhao
19bd5ea8ba
Merge pull request #7316 from tinydew4/update-ko
...
Update debugging-main-process and Add planned-breaking-changes
2016-09-26 12:56:22 +08:00
arus
bcf7a86dc7
Update changes to ko-KR/api
2016-09-26 00:03:32 +09:00
arus
2fbdac1034
Update changes to ko-KR/api/app.md
2016-09-25 23:50:36 +09:00
arus
577585df63
Update changes to ko-KR/api/power-monitor.md
2016-09-25 23:48:09 +09:00
arus
f13bd655a1
Update changes to ko-KR/api/screen.md
2016-09-25 23:45:56 +09:00
arus
81de0518d9
Update changes to ko-KR/api/web-contents.md
2016-09-25 23:43:24 +09:00
arus
d93a86e8cc
Remove some changes
2016-09-25 23:37:34 +09:00
arus
7e186cee55
Remove some changes
2016-09-25 23:28:59 +09:00
arus
97da066ae2
Update changes to ko-KR/api/web-contents.md
2016-09-25 23:25:05 +09:00
arus
b58f73b5c9
Update change to ko-KR/README.md
2016-09-25 23:18:18 +09:00
arus
ad1cb16a76
Update changes to web-view-tag.md
2016-09-25 22:58:41 +09:00
arus
cd4a66dca5
Update changes to browser-window.md
2016-09-25 22:40:05 +09:00
arus
cc282a1114
Update /ko-KR/api/system-preferences.md
2016-09-25 21:57:43 +09:00
arus
270d6f774a
Update changes to browser-window and correct a word
2016-09-25 21:40:33 +09:00
Samuel Attard
987a2e173a
Fix docs linting
2016-09-25 21:57:37 +13:00
arus
66efaa5e0f
Update /ko-KR/styleguide.md
2016-09-25 17:04:34 +09:00
arus
27a9f960de
Fix broken link
2016-09-25 16:15:16 +09:00
arus
74e03d285e
Fix broken link
2016-09-25 16:13:34 +09:00
arus
123f2a8265
Update /ko-KR/styleguide.md
2016-09-25 16:05:45 +09:00
arus
d25c2d0f41
Update /ko-KR/api/system-preferences.md
2016-09-25 16:05:45 +09:00
Samuel Attard
d2a701a465
Document the return values of all methods in the docs
2016-09-25 12:59:30 +13:00
Vadim Macagon
1df30821db
Fix getAccentColor() docs in system-preferences.md
...
Example was using a non-existent method.
2016-09-25 01:45:34 +07:00
Zeke Sikelianos
bf88fe32fd
Merge pull request #7333 from tinydew4/translate-ko
...
Translate CODE_OF_CONDUCT and change a word as other docs, in korean
2016-09-24 10:04:04 -07:00
arus
e21d5bd380
Change some sentences more smoothly
2016-09-24 15:58:58 +09:00
arus
04bdc87283
Change some smoothly
2016-09-24 11:33:31 +09:00
arus
177ccbc014
Translate CODE_OF_CONDUCT and change a word as other docs, in korean
2016-09-24 10:37:17 +09:00
Zeke Sikelianos
d6cd9e3034
Merge pull request #7331 from tinydew4/fix-link
...
Fix broken links
2016-09-23 17:19:07 -07:00
Zeke Sikelianos
d391f1b527
Merge pull request #7330 from tinydew4/translate-ko
...
Translate accessibility and change some in korean
2016-09-23 17:07:40 -07:00
arus
8c7a4de27b
Fix broken links
2016-09-24 08:26:25 +09:00
Arus
7cd7894878
Update accessibility.md
2016-09-24 08:23:36 +09:00
arus
d7fc7ef2ee
Fix errata
2016-09-24 08:19:24 +09:00
arus
6aef061362
Translate accessibility.md in korean
2016-09-24 08:14:19 +09:00
arus
e4943b3ab3
Change more smoothly
2016-09-24 07:18:39 +09:00
arus
091136908d
Replace changes as link of original docs
2016-09-24 06:51:28 +09:00
Zeke Sikelianos
c6390e71d9
Merge pull request #7314 from tinydew4/translate-ko
...
Translate ko, debug-instructions-macos.md
2016-09-23 11:53:45 -07:00
gellert
ab5e51c209
fixes software rendering on macos and small resizing addition
2016-09-23 20:27:05 +02:00
Menci
938b9e897a
🐧 🐛 Workaround for electron/electron#5050
...
Chromium only show the Tray icon with libappindicator when the env `XDG_CURRENT_DESKTOP`'s value is `Unity`. But under elementaryOS its value is 'Pantheon'.
Set it to `Unity` before app startup make the tray icon show under elementaryOS.
2016-09-23 18:07:43 +08:00
arus
924033c2ba
Remove notice on top
2016-09-23 14:03:42 +09:00
arus
99e256f461
Translate debug-instructinos-macos.md in korean
2016-09-23 14:03:42 +09:00
arus
d2bcbafe73
Translate additonally
2016-09-23 12:56:21 +09:00
arus
5c07643d24
Apply debugging-main-process changes in korean
2016-09-23 12:51:28 +09:00
Zeke Sikelianos
56d62ff589
add html doctype
2016-09-22 14:47:20 -07:00
Zeke Sikelianos
62375663ab
add type to webview style tag
2016-09-22 14:34:03 -07:00
Kevin Sawicki
f5694daeb7
Merge pull request #7299 from Gioggio/master
...
Docs: Start Italian translations
2016-09-22 12:21:09 -07:00
Gioggio
3a73625ece
📝 Update translation for faq.md
...
[ci skip]
2016-09-22 21:07:13 +02:00
Gioggio
3b45f5a8e9
📝 Add styleguide.md
...
[ci skip]
2016-09-22 21:07:13 +02:00
Gioggio
78791763cf
📝 Fix typos and improve translations in README.md
...
[ci skip]
2016-09-22 21:07:13 +02:00
Gioggio
81b55c1700
📝 Add faq.md
...
[ci skip]
2016-09-22 21:07:13 +02:00
Gioggio
39a3ffdb9d
📝 Add README.md
...
[ci skip]
2016-09-22 21:07:13 +02:00
Kevin Sawicki
df03c92249
Compare against NSNormalWindowLevel in IsAlwaysOnTop
2016-09-22 09:41:06 -07:00
Kevin Sawicki
c336cf59c1
Ignore level when calling SetAlwaysOnTop on Widget
2016-09-22 09:38:04 -07:00
Kevin Sawicki
fcd6fd9fd5
Merge pull request #7310 from BenV/patch-1
...
Add npm_config_target_arch to native module doc
2016-09-22 09:34:19 -07:00
Kevin Sawicki
1ec173ad81
Merge pull request #7308 from tinydew4/translate-ko
...
Apply docs changes to korean docs
2016-09-22 09:32:41 -07:00
Kevin Sawicki
bce62622bb
Fix compiler errors
2016-09-22 09:22:28 -07:00
Kevin Sawicki
83ffe03825
Merge pull request #162 from EmilyFranklin/correct-platform-path
...
Change platform path to match downloaded one
2016-09-22 08:51:31 -07:00
Ben Vinson
1290ddb5c9
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.
2016-09-22 09:46:31 -06:00
Kevin Sawicki
ea42722918
Merge pull request #7284 from enlight/debugging-with-electron-inspector
...
Split up debugging-main-process.md, add electron-inspector guide
2016-09-22 08:40:38 -07:00
arus
aac09e5234
Fix erratum
2016-09-22 22:56:19 +09:00
arus
df3896b143
Apply docs changes to korean docs
2016-09-22 22:53:11 +09:00
Electron Bot
e6c0036726
Update to Electron v1.4.1
2016-09-22 04:25:46 -07:00
Cheng Zhao
903bf444d9
Bump v1.4.1
2016-09-22 19:05:58 +09:00
Cheng Zhao
3dad8734a0
Do not copy api.json on Windows
2016-09-22 19:05:58 +09:00
Vadim Macagon
762a5bbefa
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 )
2016-09-22 15:43:06 +07:00
Cheng Zhao
d3a175cea8
Merge pull request #7303 from electron/fix-out-dir
...
electron-api.json is under out/ instead of out/R/
2016-09-22 14:39:33 +09:00
Cheng Zhao
4e0f810148
electron-api.json is under out/ instead of out/R/
2016-09-22 14:31:28 +09:00
Cheng Zhao
32543997d4
Merge pull request #7297 from electron/clean-docs
...
Mention build cleaning on all three platforms
2016-09-22 14:14:36 +09:00
Cheng Zhao
c9a3ab3a81
Merge pull request #7295 from electron/native-image-bad-path-docs
...
Mention createFromPath bad path return value
2016-09-22 14:14:15 +09:00
Cheng Zhao
3b4a071723
Merge pull request #7294 from electron/mutate-remote-array-docs
...
Mention mutating remote arrays and buffers
2016-09-22 14:13:49 +09:00
Cheng Zhao
de9b01409b
Merge pull request #7293 from electron/bookmark-windows-docs
...
Mention using fallback text when writing bookmarks on Windows
2016-09-22 14:13:28 +09:00
Cheng Zhao
296a53536d
Merge pull request #7292 from electron/ct-log-verifiers
...
Upgrade Brigthray for CT log verifier fix
2016-09-22 14:11:20 +09:00
adammeyer
783d47f78b
custom window level as string
2016-09-21 22:49:06 -04:00
adammeyer
b35bde662a
custom window level docs
2016-09-21 19:06:36 -04:00
deepak1556
ad783652c8
update docs
2016-09-22 00:20:34 +05:30
deepak1556
7ba947aee9
add spec
2016-09-22 00:15:25 +05:30
Kevin Sawicki
696e5e73bc
Upgrade Brigthray for CT log verifier fix
2016-09-21 11:29:09 -07:00
Kevin Sawicki
b46c86d0ec
Merge pull request #249 from electron/ct-log-verifiers
...
Add verifiers for known certificate transparency logs
2016-09-21 11:28:33 -07:00
Kevin Sawicki
a723d17f49
Mention cleaning on all three platforms
2016-09-21 11:10:52 -07:00
Kevin Sawicki
f8236c1a65
Add more failure asserts for nativeImage.createFromPath
2016-09-21 10:48:24 -07:00
Kevin Sawicki
546c0e7822
Mention createFromPath failure cases
2016-09-21 10:48:01 -07:00
Kevin Sawicki
e7c4d2523b
Mention mutating remote arrays and buffers
2016-09-21 10:44:54 -07:00
adammeyer
fbb3a288ec
Allow custom window level when sending window to top
2016-09-21 13:35:59 -04:00
Kevin Sawicki
cae15ad6b5
Mention using fallback text when writing bookmarks on Windows
2016-09-21 10:31:01 -07:00
Kevin Sawicki
bffd87c118
Call AddLogs through unique pointer
2016-09-21 10:16:05 -07:00
Kevin Sawicki
39a69467ed
Add verifiers for known logs
2016-09-21 09:48:17 -07:00
deepak1556
ed465208a2
renderer: add content settings class for managing storage
2016-09-21 21:47:30 +05:30
Kevin Sawicki
c2c48c4079
Merge pull request #7290 from tinydew4/translate-ko
...
Translate tutorial/about.md
2016-09-21 09:04:20 -07:00
Kevin Sawicki
dc7d2dab68
Merge pull request #7287 from tinydew4/translate-update
...
Update windows-store-guide.md in ko-KR docs
2016-09-21 09:03:48 -07:00
arus
146970d29d
Add missing sample codes
2016-09-22 00:35:27 +09:00
arus
ba2cb42f0d
Remove incorrect letters
2016-09-22 00:30:20 +09:00
arus
7dfe1a59b1
Translate remains in about.md
2016-09-22 00:18:28 +09:00
arus
4343f762ac
Translate some in about.md
2016-09-22 00:15:57 +09:00
arus
e2f53c6bcc
Translate some in about.md
2016-09-22 00:13:44 +09:00
arus
5c22f2ca5d
Translate some in about.md
2016-09-22 00:05:26 +09:00
arus
b6d4014bd5
Translate some in about.md
2016-09-22 00:04:24 +09:00
arus
6b8f5f5b7f
Translate some in about.md
2016-09-22 00:01:21 +09:00
arus
b7e2f819a3
Translate Core Philosophy in about.md
2016-09-21 23:55:16 +09:00
arus
a8e0e8d7fd
Translate LTS in about.md
2016-09-21 23:42:07 +09:00
arus
beea9a7c36
Translate Update dependencies and Versioning in about.md
2016-09-21 23:35:19 +09:00
arus
a44d7a3bc6
Translate some in aboud.md
2016-09-21 23:11:29 +09:00
arus
b45db70d21
Translate Releases in about.md
2016-09-21 23:08:32 +09:00
arus
8feff471ce
Modify some in about.md
2016-09-21 23:04:41 +09:00
arus
00dec166e9
Translate Core Team and Contributors in about.md
2016-09-21 23:03:23 +09:00
arus
ebbbaf1ab0
Translate Core Team and Contributors in about.md
2016-09-21 23:03:02 +09:00
arus
29312186de
Translate about/about electron in Korean
2016-09-21 22:38:17 +09:00
arus
e1d9e4ffcb
Merge branch 'translate-update' of https://github.com/tinydew4/electron into translate-update
2016-09-21 22:01:54 +09:00
arus
b6c04c9e35
Update windows-store-guide.md in ko-KR docs
2016-09-21 22:00:48 +09:00
arus
405b411a29
Merge branch 'translate-update' of https://github.com/tinydew4/electron into translate-update
2016-09-21 21:44:07 +09:00
arus
582fc50cf6
Update windows-store-guide.md in ko-KR docs
2016-09-21 21:43:18 +09:00
arus
b74cfda7b9
Update windows-store-guide.md in ko-KR docs
2016-09-21 21:35:35 +09:00
Cheng Zhao
805ce0dee9
Merge pull request #7276 from electron/google-api-key-env2
...
allow GOOGLE_API_KEY to be set
2016-09-21 15:16:29 +09:00
Zeke Sikelianos
f4a8fb9eb4
🎨 standard
2016-09-20 14:55:45 -07:00
Kevin Sawicki
85702604c3
Merge pull request #7277 from electron/dictionary-to-object
...
Set parameter type to Object instead of Dictionary
2016-09-20 14:48:48 -07:00
Kevin Sawicki
98999f4850
Add missing s in progress
2016-09-20 14:46:17 -07:00
Kevin Sawicki
b5e1571204
Set parameter type to Object
2016-09-20 14:26:55 -07:00
Zeke Sikelianos
d7934e7525
add link to chromium API keys doc
2016-09-20 14:13:30 -07:00
Zeke Sikelianos
7fcba6ba0f
document the GOOGLE_API_KEY env var
2016-09-20 13:58:39 -07:00
Kevin Sawicki
ea1927f428
Store api_key_ on TokenLoadingJob
2016-09-20 13:24:45 -07:00
Zeke Sikelianos
fa2aaa48b1
allow GOOGLE_API_KEY to be set in environment
2016-09-20 12:01:59 -07:00
Kevin Sawicki
dee383db07
Merge pull request #7273 from tinydew4/fix-links
...
Fix some bronken links
2016-09-20 09:00:08 -07:00
Kevin Sawicki
04a1dc8e1e
Merge pull request #7272 from tinydew4/translate-ko
...
Translate "offscreen rendering" in Korean
2016-09-20 08:59:53 -07:00
Kevin Sawicki
ae31ded165
Merge pull request #7265 from octref/patch-1
...
Add instruction for debugging main process in VSCode
2016-09-20 08:59:37 -07:00
arus
402e977b40
Fix some bronken links
2016-09-20 23:36:20 +09:00
arus
a65c8cae63
modify some
2016-09-20 23:30:46 +09:00
arus
47a03d3ca1
modify some
2016-09-20 23:29:34 +09:00
arus
b4a13fda3a
Translate offscreen rendering in Korean
2016-09-20 23:19:15 +09:00
Cheng Zhao
e11672d42b
Merge pull request #7262 from tinydew4/patch-1
...
Update browser-window.md
2016-09-20 16:04:25 +09:00
Cheng Zhao
30a6b597a5
Merge pull request #7239 from darkdh/6873
...
Emit scroll-touch-edge event instead of changing the behavior of scrollll-touch-begin/end
2016-09-20 14:51:10 +09:00
Pine
c45ca254e3
Add instruction for debugging main process in VSCode
...
I hope you don't mind me putting the VSCode part before `node-inspector`, because VSCode seems easier to setup, and VSCode could inspect `process` without crashing.
2016-09-19 22:43:05 -07:00
Cheng Zhao
143d7ab98f
Merge pull request #7264 from electron/docs-readme
...
Docs Readme
2016-09-20 14:31:31 +09:00
Cheng Zhao
e3e450613d
Merge pull request #7157 from Mossop/moveguest
...
Allow moving a webcontents to a different webview
2016-09-20 14:28:42 +09:00
Cheng Zhao
77fdc67235
Merge pull request #7173 from electron/windows-system-color
...
Add an app API method to fetch the system ColorizationColor
2016-09-20 14:06:21 +09:00
Zeke Sikelianos
61e50046bd
link to the documentation styleguide
2016-09-19 21:10:36 -07:00
Zeke Sikelianos
1cdf8bbc10
break up run-on sentence
2016-09-19 21:09:31 -07:00
Zeke Sikelianos
a3d2cdaa2c
website doesn't display docs for old versions any more
2016-09-19 21:09:02 -07:00
Arus
159e2f2dab
Update browser-window.md
2016-09-20 11:26:04 +09:00
Kevin Sawicki
bae1cee223
Merge pull request #189 from electron-userland/upgrade-electron-download
...
Upgrade electron-download for checksum support
2016-09-19 15:58:42 -07:00
Kevin Sawicki
1fd1474c9a
Install silently on Travis
2016-09-19 15:01:05 -07:00
Kevin Sawicki
557d062b7f
Remove trailing comma
2016-09-19 14:36:07 -07:00
Kevin Sawicki
fb2f4ae528
Set quiet to true when loglevel is silent
2016-09-19 14:32:11 -07:00
Kevin Sawicki
082c1da548
Add AppVeyor badge
2016-09-19 14:05:53 -07:00
Kevin Sawicki
fb1a5a4646
Only build master branch on Travis
2016-09-19 13:48:59 -07:00
Kevin Sawicki
d0a509a915
npm ignore more meta files and tests
2016-09-19 13:48:05 -07:00
Kevin Sawicki
9fd625fb9b
Add initial AppVeyor config
2016-09-19 13:46:37 -07:00
Kevin Sawicki
5cbc2abf61
Build on node 0.10/0.12
2016-09-19 13:40:17 -07:00
Kevin Sawicki
119535525f
⬆️ electron-download@3.0.0
2016-09-19 13:38:48 -07:00
Kevin Sawicki
e8f3cf164b
Merge pull request #7227 from electron/felix-cmd-strings
...
Ensure correct types for commandLine
2016-09-19 10:22:28 -07:00
Samuel Attard
456f102cdc
Fix k typo
2016-09-20 02:42:41 +10:00
Samuel Attard
ba98109d33
Remove semicolons from spec
2016-09-20 02:41:26 +10:00
Samuel Attard
9f94652792
Add basic spec for getAccentColor
2016-09-20 02:41:26 +10:00
Samuel Attard
1454510549
Alphabetical method ordering
2016-09-20 02:41:26 +10:00
Samuel Attard
c0f8b4895d
Update docs
2016-09-20 02:41:26 +10:00
Samuel Attard
5dd5dbb3d8
Add a systemPreferences API method to fetch the system ColorizationColor
...
This is useful for automatical app theming
* Fetches the color from the registry
* Returns an empty string if the fetch fails (a falsey value)
2016-09-20 02:41:26 +10:00
Kevin Sawicki
48fd2bd35f
binding -> bindings
2016-09-19 09:31:59 -07:00
Felix Rieseberg
29fa48d8c3
🔧 Ensure correct types for commandLine
...
This commit ensures that arguments passed to `appendSwitch` and `appendArgument` are turned into strings before passing them over to the binding.
2016-09-19 09:31:59 -07:00
Felix Rieseberg
90bff4d9de
🔧 Ensure correct types for commandLine
...
This commit ensures that arguments passed to `appendSwitch` and `appendArgument` are turned into strings before passing them over to the binding.
2016-09-19 09:31:59 -07:00
Cheng Zhao
b05254807b
Merge pull request #7253 from electron/osr-crash
...
Unsubscribe observer when OffScreenRenderWidgetHostView is destroyed
2016-09-19 17:54:31 +09:00
Cheng Zhao
e504d82554
spec: Suppress the download.pdf test on AppVeyor
2016-09-19 17:12:33 +09:00
Cheng Zhao
5bf746700e
Unsubscribe observer when OffScreenRenderWidgetHostView is destroyed
2016-09-19 16:51:03 +09:00
Cheng Zhao
07a08077a2
Revert electron/brightray#246
2016-09-19 16:31:00 +09:00
Cheng Zhao
d435df77f8
Revert "initialize crypto delegate in CookieStoreConfig"
...
This reverts commit ad1d1dce72c6fcb6c15a18dac04ff382d9bf4db0.
2016-09-19 16:30:16 +09:00
Cheng Zhao
26004f1a66
Merge pull request #7241 from miniak/crashed-killed
...
Add killed argument for webContents.on("crashed") and app.on("gpu-process-crashed") events
2016-09-19 16:02:52 +09:00
Cheng Zhao
1c6586c4b9
Merge pull request #7238 from electron/felix-windows-store-docs
...
Update Windows Store Language
2016-09-19 15:54:23 +09:00
Cheng Zhao
0ac4b89a0a
Merge pull request #7236 from yuya-oc/accelerator-for-redo
...
Use Ctrl+Y as the accelerator of redo on Windows
2016-09-19 15:53:44 +09:00
Cheng Zhao
6de1eef078
Merge pull request #7234 from Mossop/testhistoryreplace
...
✅ Test that replacement history entries don't break forward navigation.
2016-09-19 15:47:30 +09:00
Cheng Zhao
1fd819e500
Merge pull request #7231 from miniak/default-error-mode
...
Fix ELECTRON_DEFAULT_ERROR_MODE
2016-09-19 15:44:52 +09:00
Cheng Zhao
a260647b4f
Merge pull request #7062 from MaxWhere/osr-sizing-fix
...
Offscreen invalidate and sizing fix
2016-09-19 15:38:11 +09:00
Cheng Zhao
ffe931bde7
Merge pull request #7226 from electron/power-monitor-error
...
Rethrow caught errors from process.binding
2016-09-19 15:25:18 +09:00
Cheng Zhao
27bc6c7883
Merge pull request #7233 from electron/deprecate-atom-shell-version
...
Deprecate process.versions['atom-shell']
2016-09-19 15:24:10 +09:00
Cheng Zhao
6c340cece8
Merge pull request #7229 from electron/update-clang
...
Update clang to r274142.
2016-09-19 15:23:57 +09:00
Cheng Zhao
64718173ef
Merge pull request #7230 from electron/windows-x64-link-crypt32
...
Link against crypt32.lib
2016-09-19 15:23:41 +09:00
Yuya Ochiai
43f955194e
🏁 Use Ctrl+Y as the accelerator of redo on Windows
2016-09-18 17:07:34 +09:00
Milan Burda
8567f79e67
Add killed argument for webContents.on("crashed") and app.on("gpu-process-crashed") events
2016-09-17 17:02:36 -07:00
Anthony Tseng
269a87b26f
Emit scroll-touch-edge event instead of changing the behavior of scroll-touch-begin/end
...
fix #6873
2016-09-17 22:50:10 +08:00
Felix Rieseberg
084110c56f
📝 Update Windows Store Language
2016-09-17 04:19:55 -07:00
Dave Townsend
47df447e4f
✅ Test that replacement history entries don't break forward navigation.
...
This is a test for #7175
2016-09-16 17:08:54 -07:00
Kevin Sawicki
1072519488
Mark atom-shell version as deprecated
2016-09-16 15:59:00 -07:00
gellert
37de2301f7
moves setsize call to osr renderwidgethostview
2016-09-16 23:28:51 +02:00
gellert
fec5a7d67a
removes extra header
2016-09-16 23:27:51 +02:00
gellert
8baaad4e0d
cleanup and adds docs
2016-09-16 23:27:51 +02:00
gellert
10ea0268e5
calling setsize only on osr windows
2016-09-16 23:27:11 +02:00
gellert
b4c220613f
adds invalidate method and proper resizing
2016-09-16 23:27:11 +02:00
Zeke Sikelianos
d4b204799d
Merge pull request #7120 from electron/lint-docs
...
Publish the public API as a JSON object
2016-09-16 14:05:32 -07:00
Milan Burda
12a2b144f3
Only drop the SEM_NOGPFAULTERRORBOX flag when calling SetErrorMode (ELECTRON_DEFAULT_ERROR_MODE)
2016-09-16 14:01:33 -07:00
Kevin Sawicki
7df86c48fa
Link against crypt32.lib
2016-09-16 13:17:58 -07:00
Kevin Sawicki
0c3ad527e3
initialize -> require
2016-09-16 13:09:06 -07:00
Haojian Wu
37e30cef60
Update clang to r274142.
2016-09-16 21:59:25 +02:00
Kevin Sawicki
0fda86f79a
Mention not requiring module until app is ready
2016-09-16 11:42:02 -07:00
Kevin Sawicki
e77d7e7f62
🎨
2016-09-16 11:41:53 -07:00
Kevin Sawicki
5d0f3534eb
Rethrow binding errors
2016-09-16 11:34:52 -07:00
Kevin Sawicki
577394442b
power-monitor -> powerMonitor
2016-09-16 09:58:27 -07:00
Cheng Zhao
d1274bb79f
Update brightray for #7073
2016-09-16 21:28:24 +09:00
Cheng Zhao
7917aa8938
Merge pull request #246 from deepak1556/cookie_crypto_patch
...
initialize crypto delegate in CookieStoreConfig
2016-09-16 21:26:19 +09:00
Cheng Zhao
da677b683b
Merge pull request #7163 from MaxWhere/frame-sub-scale-fix
...
Frame subscriber improvements
2016-09-16 21:24:53 +09:00
Cheng Zhao
9dad9478fa
Merge pull request #7169 from deepak1556/download_defaultname_patch
...
browser: provide a default filename when unable to generate from download data
2016-09-16 21:19:21 +09:00
Cheng Zhao
ea244a5188
Merge pull request #7209 from electron/remote-function-missing-properties
...
Guard against missing remote function properties
2016-09-16 21:11:12 +09:00
Cheng Zhao
69d4cac760
Merge branch 'release'
2016-09-16 21:03:54 +09:00
deepak1556
e7f1265b64
add save-to-disk disposition for new-window event
2016-09-16 16:30:26 +05:30
deepak1556
94faaf7d58
provide a default file name for downloads
2016-09-16 16:02:57 +05:30
deepak1556
d426d4ad90
add failing spec
2016-09-16 16:02:57 +05:30
gellert
64e53a17bd
reverts subscriber api
2016-09-16 11:18:15 +02:00
Cheng Zhao
20d5a50ac9
Merge pull request #7178 from aichingm/master
...
🐧 Add support for different trash implementations
2016-09-16 17:43:09 +09:00
Cheng Zhao
9714348260
Merge pull request #6941 from deepak1556/blob_data_patch
...
protocol: provide blob uuid with uploadData
2016-09-16 17:01:15 +09:00
Plusb Preco
787bc85703
docs: Update Korean docs as upstream ( #7211 )
...
* 📝 Update `README-ko.md`
* Remove Korean readme specified header.
* Add Indonesia community link.
* 📝 Update Korean docs as upstream
* 📝 Update Korean docs as upstream
* 📝 Update Korean docs as upstream
* 📝 Update Korean docs as upstream
* 📝 Update Korean docs as upstream
* 📝 Mark untranslated docs
* 📝 Update Korean docs as upstream
[ci skip]
* 📝 Update Korean docs as upstream
[ci skip]
* 📝 Add untranslated files
[ci skip]
* 📝 Update Korean docs as upstream
[ci skip]
* 📝 Update Korean docs as upstream
* 📝 Update `README-ko.md`
* Remove Korean readme specified header.
* Add Indonesia community link.
* 📝 Update Korean docs as upstream
* 📝 Update Korean docs as upstream
* 📝 Update Korean docs as upstream
* 📝 Update Korean docs as upstream
* 📝 Update Korean docs as upstream
* 📝 Mark untranslated docs
* 📝 Update Korean docs as upstream
[ci skip]
* 📝 Update Korean docs as upstream
[ci skip]
* 📝 Add untranslated files
[ci skip]
* 📝 Update Korean docs as upstream
[ci skip]
* 📝 Update Korean docs as upstream
* 📝 Correct readme name
[ci skip]
* 📝 Update Korean docs as upstream
[ci skip]
2016-09-15 09:27:10 -07:00
Electron Bot
6b715a16cb
Update to Electron v1.4.0
2016-09-15 00:25:33 -07:00
Cheng Zhao
e62e62292a
Bump v1.4.0
2016-09-15 14:44:38 +09:00
Cheng Zhao
b84d29fb32
Merge pull request #7213 from electron/chrome-update
...
Update to Chrome 53.0.2785.113
2016-09-15 14:44:10 +09:00
Cheng Zhao
5be8104104
Update to Chrome 53.0.2785.113
2016-09-15 14:27:56 +09:00
Cheng Zhao
296e06be1c
Update to Chrome 53.0.2785.113
2016-09-15 14:27:07 +09:00
Electron Bot
b8233eb8e6
Update to Electron v1.3.6
2016-09-14 18:30:41 -07:00
Kevin Sawicki
eef42770c6
Don't load remote properties until they are accessed
2016-09-14 13:29:49 -07:00
Kevin Sawicki
f792c720f4
Allow spec to be run multiple times in same runner
2016-09-14 11:16:44 -07:00
Kevin Sawicki
359ab2f9b3
Only set members when members exist
2016-09-14 10:54:23 -07:00
Kevin Sawicki
bc13536208
Add failing spec for missing remote properties
2016-09-14 10:53:25 -07:00
Kevin Sawicki
0d4872755c
Merge pull request #7195 from Joshua-Anderson/update-node-req
...
Update nodejs requirement for building on linux
2016-09-14 09:52:23 -07:00
Cheng Zhao
4627311c34
Merge pull request #7104 from electron/chrome53
...
Upgrade to Chrome 53 and Node 6.5.0
2016-09-14 22:18:08 +09:00
Cheng Zhao
dc2ced14b8
Node module version should be 50
2016-09-14 17:08:13 +09:00
deepak1556
eafb6307d5
fix crash when using geolocation api with enableHighAccuracy option
2016-09-14 16:23:01 +09:00
Cheng Zhao
fbac635687
Only emit finalUpdate found-in-page events
...
Since Chrome 53 all meaningful results of found-in-page are finalUpdate.
2016-09-14 16:23:01 +09:00
Cheng Zhao
5ccd0a24e9
Fix compatibility with canScroll
2016-09-14 16:23:01 +09:00
Cheng Zhao
f8bdc7437d
module search paths have changed
2016-09-14 16:23:01 +09:00
Cheng Zhao
1de2b77ee4
Update to Node 6.5.0
2016-09-14 16:23:00 +09:00
Cheng Zhao
18fd3e0329
Fix js linting error
2016-09-14 16:23:00 +09:00
Cheng Zhao
a510642a25
finalUpdate can be false
2016-09-14 16:23:00 +09:00
Cheng Zhao
30dd65e3a9
Fix failing spec when refreshing test window
2016-09-14 16:23:00 +09:00
Cheng Zhao
5708e86a05
Fix API change of findInPage API
2016-09-14 16:23:00 +09:00
Cheng Zhao
937ae7ef8f
Fix crash caused by new network parameters
2016-09-14 16:23:00 +09:00
Cheng Zhao
4c56c1c2b2
Fix crash in offscreen renderer
2016-09-14 16:22:59 +09:00
Cheng Zhao
6d8f900916
Fix building on Windows
2016-09-14 16:22:43 +09:00
Cheng Zhao
4aa292c7cd
Fix building on Linux
2016-09-14 16:22:43 +09:00
Cheng Zhao
f28e8d7168
Fix API changes of Chrome 53
2016-09-14 16:22:43 +09:00
Cheng Zhao
2e0a1a8a64
Upgrade to Chrome 53
2016-09-14 16:22:41 +09:00
Electron Bot
db0b8b5374
Update to Electron v1.3.6
2016-09-14 00:18:42 -07:00
Cheng Zhao
cfe7bfd7eb
Bump v1.3.6
2016-09-14 14:36:11 +09:00
Cheng Zhao
7086bb8973
Merge pull request #7189 from electron/both-arm-names
...
Upload ARM assets with and without v7l suffix
2016-09-14 14:31:10 +09:00
Cheng Zhao
23ae57fe79
Merge pull request #7188 from electron/app-is-ready-public
...
Mark app.isReady() as public
2016-09-14 14:30:46 +09:00
Joshua Anderson
56b40ae6d2
Update nodejs requirement for building on linux
2016-09-13 19:41:53 -07:00
Kevin Sawicki
34b9ba2edc
Upload ARM assets without v7l suffix
2016-09-13 10:06:09 -07:00
Kevin Sawicki
4c4d585b84
initialization -> initializing
2016-09-13 09:37:03 -07:00
Kevin Sawicki
f373f2ae15
Mark app.isReady() as public
2016-09-13 09:35:39 -07:00
Cheng Zhao
b13bab6fae
Merge pull request #7182 from electron/shell-return-values
...
Return booleans from more shell APIs
2016-09-13 16:46:05 +09:00
Cheng Zhao
4eba8094d4
Merge pull request #7096 from minggo/add-option-to-disable-devtools
...
add option to disable devtools
2016-09-13 16:01:56 +09:00
Cheng Zhao
df3f0a4516
Merge pull request #7175 from bsuh/fix-twitch-navigation
...
Fix navigation controller
2016-09-13 16:01:00 +09:00
Cheng Zhao
036a35ab64
Merge pull request #7160 from PierBover/patch-1
...
added clarification for common Windows pitfalls
2016-09-13 15:09:04 +09:00
Kevin Sawicki
07304e5950
Add missing return value
2016-09-12 14:33:22 -07:00
Kevin Sawicki
00d0887cab
Document shell.moveItemToTrash return value
2016-09-12 14:30:01 -07:00
Kevin Sawicki
55eab8e385
Return boolean from shell.openItem
2016-09-12 14:29:06 -07:00
Kevin Sawicki
72558654ef
Return boolean from shell.showItemInFolder
2016-09-12 14:22:29 -07:00
Zeke Sikelianos
9e8b0953f3
fix indentation
2016-09-12 10:47:36 -07:00
Kevin Sawicki
05043432dd
Merge pull request #7162 from electron/network-entitlements
...
Document com.apple.security.network entitlements
2016-09-12 09:31:11 -07:00
Mario Aichinger
893fc2cd53
🐧 Add support for different trash implementations
...
Make the trash implemantation in MoveItemToTrash selectable via an environment variable
2016-09-12 10:41:23 +02:00
Cheng Zhao
9a56959647
Merge pull request #7140 from liusy182/url-fix
...
fix a bug in navigation-controller where string is used as object
2016-09-12 14:46:05 +09:00
Brian Suh
5fc1f57fb5
Fix navigation controller
...
In-page navigation has not actually started if the current entry is
being replaced. Do not set inPageIndex if replaceEntry is true.
2016-09-11 14:46:17 -07:00
Mark Lee
94f05d350b
Travis: test against Node >= 4 on Linux & OSX
2016-09-10 09:07:17 -07:00
Mark Lee
004d25d248
Upgrade electron-download for checksum support
...
Fixes #51 .
2016-09-10 08:59:40 -07:00
gellert
2435f1b660
lint fix
2016-09-09 23:50:01 +02:00
gellert
afb551e94a
updates tests
2016-09-09 23:40:10 +02:00
gellert
5754f3aea0
update docs
2016-09-09 23:26:14 +02:00
gellert
d3dc66e308
adds scale factor check and simplifies frame subscription
2016-09-09 23:17:17 +02:00
Kevin Sawicki
b128264ae4
Document com.apple.security.network entitlements
2016-09-09 13:55:32 -07:00
Pier Bover
70c1d194ef
added clarification for common Windows pitfalls
2016-09-09 13:51:42 -05:00
Dave Townsend
313b2faa3c
Add a guestinstance attribute to webviews reflecting their current guest
...
instance ID and allowing moving a guest instance to a new webview.
2016-09-09 10:32:05 -07:00
Zeke Sikelianos
18585204b7
wrap line to stay under 80 chars
2016-09-09 10:07:22 -07:00
Zeke Sikelianos
3d40c720dd
fix indentation and rename function
2016-09-09 10:07:22 -07:00
Zeke Sikelianos
8d201ae1ad
generate electron-api.json and upload with release
2016-09-09 10:07:22 -07:00
Zeke Sikelianos
67c89b68d3
use new electron-docs-linter with node 4 support
2016-09-09 10:07:22 -07:00
Zeke Sikelianos
5937d37fc5
move linting work to electron-docs-linter's new CLI
2016-09-09 10:07:22 -07:00
Zeke Sikelianos
56a644d49f
move electron.json to docs/api.json
2016-09-09 10:07:22 -07:00
Zeke Sikelianos
0c54700b16
add electron.json (compiled to target 1.2.7 release)
2016-09-09 10:07:22 -07:00
Zeke Sikelianos
3a5bf51d1d
add lint-docs script
2016-09-09 10:07:22 -07:00
Kevin Sawicki
01fa9827b4
Merge pull request #7153 from VarunAgw/patch-1
...
SSL issue in links
2016-09-09 08:05:38 -07:00
Phil Haack
cadbd7beb1
Merge pull request #7145 from electron/device-scale-factor-failures
...
Get specs passing on displays using certain device scale factors
2016-09-09 07:38:23 -07:00
Cheng Zhao
e189132176
Merge pull request #7123 from deepak1556/asar_range_patch
...
protocol: respect range header when reading from asar
2016-09-09 20:59:12 +09:00
Varun Agrawal
95206682a0
SSL issue in links
2016-09-09 17:27:27 +05:30
Cheng Zhao
7ed33dfbee
Merge pull request #7077 from miniak/title-bar-style
...
Add support for titleBarStyle: 'hidden-inset' on OS X 10.9
2016-09-09 20:27:26 +09:00
Cheng Zhao
b6079ff90b
Merge pull request #7053 from electron/launch-from-notification
...
Send notification info to app.ready, on macOS
2016-09-09 20:01:39 +09:00
Cheng Zhao
693ba1375b
Merge pull request #7146 from electron/resolve-empty-url-values
...
Tweak how empty URLs are resolved
2016-09-09 19:58:41 +09:00
Cheng Zhao
932b6dc0cf
Merge pull request #7142 from electron/require-buffer
...
Require Buffer explicitly instead of relying on global
2016-09-09 19:52:53 +09:00
Kevin Sawicki
64d436682c
Verify resolving URL via console-message event
2016-09-08 17:38:40 -07:00
Kevin Sawicki
7c26fe46b8
=== -> !==
2016-09-08 17:12:53 -07:00
Kevin Sawicki
daf1eec5ec
Use === for string comparison
2016-09-08 17:11:10 -07:00
Kevin Sawicki
7d24df34fc
Place resolve specs in correct outer block
2016-09-08 17:08:49 -07:00
Kevin Sawicki
bfd48fe2ad
Add specs for resolving attribute URLs
2016-09-08 16:56:29 -07:00
Kevin Sawicki
1dbaf4987e
Don't resolve empty src/preload attribute values
2016-09-08 16:48:30 -07:00
Kevin Sawicki
ea069805d1
Add failing specs for empty preload/src attribute
2016-09-08 16:40:31 -07:00
Kevin Sawicki
68c67b64c5
Use delta when scale factor is above 2 and odd
2016-09-08 16:24:11 -07:00
Charlie Hess
32e0e8a151
Use smart pointers in a couple places.
2016-09-08 16:23:55 -07:00
Kevin Sawicki
59a49f6f96
Use bounds helper in failing specs
2016-09-08 16:20:46 -07:00
Kevin Sawicki
7494e286d9
Put actual value first
2016-09-08 16:20:45 -07:00
Kevin Sawicki
d88f70caa2
Use single assert bounds helper
2016-09-08 16:20:45 -07:00
Kevin Sawicki
71fac07a93
Add scale factor assert helpers
2016-09-08 16:20:45 -07:00
Kevin Sawicki
de6f405d98
Merge pull request #7143 from electron/windows-spec-failures
...
Fix windows spec failures
2016-09-08 16:13:16 -07:00
Kevin Sawicki
9829baed46
Open about:blank when window.open is called with no URL
2016-09-08 16:10:21 -07:00
Kevin Sawicki
e4e4e8b2eb
Add missing {}
2016-09-08 13:12:00 -07:00
Kevin Sawicki
4d20c4f3fd
Update productName default in docs
2016-09-08 11:52:29 -07:00
Kevin Sawicki
d407eab0ff
Set crashReporter productName in specs
2016-09-08 11:52:29 -07:00
Kevin Sawicki
63e9bc4804
Assert isTTY is undefined on Windows
2016-09-08 11:52:29 -07:00
Kevin Sawicki
638c96345d
Merge pull request #7133 from electron/update-travis-node-versions
...
Upgrade Travis node version
2016-09-08 11:13:00 -07:00
Kevin Sawicki
74bb4bacd7
Add section about Buffer global
2016-09-08 10:42:43 -07:00
Kevin Sawicki
aaf2bb2751
Add spec for deleting Buffer global in preload
2016-09-08 10:34:09 -07:00
Kevin Sawicki
d476227e16
Remove unneeded return
2016-09-08 10:20:39 -07:00
Kevin Sawicki
902bd0564e
Require Buffer explicitly instead of relying on global
2016-09-08 10:17:06 -07:00
Kevin Sawicki
24da3d181f
Merge pull request #7129 from adamkidder/override_libchromium
...
Allow LIBCHROMIUMCONTENT_COMMIT to be overridden from the environment
2016-09-08 09:37:05 -07:00
Kevin Sawicki
e8fcdebf6d
Update Travis config to build on node 4.5.0
2016-09-08 09:24:59 -07:00
Kevin Sawicki
803943bff8
Merge pull request #7128 from electron/api-breakage-list
...
Document what APIs will break in Electron 2.0
2016-09-08 09:21:26 -07:00
Kevin Sawicki
ae933140af
Add variables to options example
2016-09-08 09:15:05 -07:00
Kevin Sawicki
d1876aa313
Add headings for each module
2016-09-08 09:09:49 -07:00
Kevin Sawicki
25f5135134
Move breaking changes doc to /docs
2016-09-08 09:07:58 -07:00
Kevin Sawicki
2aa64853f4
Add planned 2.0 API breakage
2016-09-08 09:05:49 -07:00
Kevin Sawicki
224d3aef3e
Mark detach option for 2.0 removal
2016-09-08 09:05:49 -07:00
liusy182
2c7690be45
simplify logic
2016-09-08 21:36:39 +08:00
liusy182
180a77e671
fix a minor bug in navigation-controller where a string is used as an object
2016-09-08 21:31:42 +08:00
Cheng Zhao
2885e980a5
Merge pull request #7131 from electron/end-sheet-on-close
...
End sheet in parent when closing modal window
2016-09-08 15:53:07 +09:00
Cheng Zhao
4203b2a4ce
Target OS X 10.9
...
We do not support 10.8.
2016-09-08 15:24:27 +09:00
deepak1556
c003c3e28f
increase spec timeout
2016-09-08 11:38:24 +05:30
Cheng Zhao
a0565bad2e
Merge pull request #247 from electron/chrome53
...
Upgrade to Chrome 53
2016-09-08 15:06:02 +09:00
Cheng Zhao
a0eccdfe1e
Merge pull request #7130 from electron/windows-stdin-renderer
...
Add EOF process.stdin in render process
2016-09-08 15:04:10 +09:00
deepak1556
bd291b9601
protocol: respect range header when reading from asar
2016-09-08 10:14:49 +05:30
deepak1556
1ae7b2fcbc
update
2016-09-08 10:12:23 +05:30
deepak1556
7e6cba1482
add failing spec
2016-09-08 09:37:06 +05:30
Kevin Sawicki
45e8c40ae8
Merge pull request #7132 from electron/lint-python-via-npm-run-lint
...
Run pylint as part of main lint task
2016-09-07 16:49:21 -07:00
Kevin Sawicki
d6b1d61438
Run pylint as part of main lint task
2016-09-07 16:23:59 -07:00
Kevin Sawicki
8652888e27
End sheet in parent when closing modal window
2016-09-07 15:24:37 -07:00
Kevin Sawicki
d76c970da6
Assert read value instead of exception
2016-09-07 14:51:05 -07:00
Kevin Sawicki
28b33074cf
Setup stdin in both processes on Windows
2016-09-07 14:45:56 -07:00
Kevin Sawicki
b5e9bb9e6a
Add spec for accessing process.stdin
2016-09-07 14:40:18 -07:00
Adam Kidder
8ec49fe57c
Allow LIBCHROMIUMCONTENT_COMMIT to be overridden from the environment
2016-09-07 12:06:06 -07:00
Kevin Sawicki
691aec701f
Merge pull request #7119 from electron/arrange-project-translations
...
Arrange meta docs translations
2016-09-07 08:46:37 -07:00
Cheng Zhao
676a389ecd
Add new network parameters needed by chrome53
2016-09-07 17:54:55 +09:00
Cheng Zhao
e561608c0d
Merge pull request #7116 from electron/restore-no-asar
...
Restore process.noAsar in finally block
2016-09-07 16:50:26 +09:00
Cheng Zhao
ade60ed482
Merge pull request #7110 from electron/circular-menu-require
...
Prevent circular Menu require
2016-09-07 16:32:23 +09:00
minggo
3fdc99c3c6
change the option name to devTools
2016-09-07 10:16:52 +08:00
minggo
7d712b77ba
remove duplicate comment
2016-09-07 09:43:06 +08:00
Kevin Sawicki
0686908461
Link to translations
2016-09-06 14:58:50 -07:00
Kevin Sawicki
22368d0f06
Move translated project docs to docs-translations folder
2016-09-06 14:54:17 -07:00
Kevin Sawicki
076d957ab9
Merge pull request #7068 from duncup/master
...
Create translate docs.
2016-09-06 14:47:18 -07:00
Kevin Sawicki
540b1960a8
Merge pull request #7113 from electron/const-default-app
...
Use const instead of var in default app
2016-09-06 13:42:36 -07:00
Kevin Sawicki
46fbb6ed61
Reset process.noAsar in finally block
2016-09-06 13:40:25 -07:00
Kevin Sawicki
b186d752da
Add failing spec for restoring noAsar value
2016-09-06 13:40:15 -07:00
Kevin Sawicki
7bc45c328b
Use const instead of var
2016-09-06 11:58:06 -07:00
Kevin Sawicki
b54b74c310
Prevent missing Menu.buildFromTemplate function
2016-09-06 11:31:14 -07:00
Cheng Zhao
2bb774996b
Link with d3d11.lib
2016-09-06 19:54:49 +09:00
minggo
91fb85947d
WebContents::InspectElement and WebContents::InspenctServiceWorker return immediately if DevTools is disabled
2016-09-06 17:53:42 +08:00
minggo
2db5aa8294
update browser-window.md to add disableDevTools option
2016-09-06 17:46:55 +08:00
Cheng Zhao
ab14221a85
Fix API changes of Chrome 53
2016-09-06 17:22:52 +09:00
Cheng Zhao
bff2d41e73
Update libchromiumcontent to Chrome 53
2016-09-06 17:22:44 +09:00
minggo
baa55caf83
remove unneeded whitespace
2016-09-06 11:48:48 +08:00
minggo
19f6811312
initialize disable_devtools_
2016-09-06 11:08:50 +08:00
minggo
1f1180f857
use webPreferences to disable devtools
2016-09-05 18:25:57 +08:00
minggo
0d7e7be748
add option to disable devtools
2016-09-05 16:27:56 +08:00
Charlie Hess
80f046c8df
Update docs.
2016-09-03 12:03:58 -07:00
deepak1556
a56c6b1b79
initialize crypto delegate in CookieStoreConfig
2016-09-03 11:05:38 +05:30
Milan Burda
9911e60f5b
Add support for titleBarStyle: 'hidden-inset' on OS X 10.9
2016-09-03 01:33:20 +02:00
Electron Bot
573332721a
Update to Electron v1.3.5
2016-09-02 00:57:13 -07:00
duncup
742a498f13
Create translate docs.
2016-09-02 14:25:56 +08:00
Cheng Zhao
02ce727ff6
Bump v1.3.5
2016-09-02 13:59:28 +09:00
Cheng Zhao
cdfcca147a
Fix warning when compiling for win32 ia32 build
2016-09-02 13:59:28 +09:00
Cheng Zhao
8471f647a1
Fix arm's zip name
2016-09-02 13:57:56 +09:00
Kevin Sawicki
0c2da5dcea
Merge pull request #7059 from malept/docs-typos
...
Fix documentation typos
2016-09-01 17:37:28 -07:00
Mark Lee
38e1a24304
📝 Make arch references more consistent
...
[ci skip]
2016-09-01 07:53:32 -07:00
Mark Lee
00154c7f9c
📝 Add missing words
...
[ci skip]
2016-09-01 07:49:36 -07:00
Cheng Zhao
249777721c
Fix symbols zip's name
2016-09-01 19:18:19 +09:00
Cheng Zhao
31e947a9f7
Update brightray submodule
2016-09-01 19:12:44 +09:00
Cheng Zhao
db6f2462c0
Update libchromiumcontent
2016-09-01 19:12:33 +09:00
Cheng Zhao
308f3bb77b
Update libchromiumcontent for #5665
2016-09-01 16:38:52 +09:00
Cheng Zhao
14f625d61b
Merge pull request #6826 from enlight/set-jump-list
...
Extend the custom Jump List API provided by Electron
2016-09-01 15:35:21 +09:00
deepak1556
7b85ca0301
create helper class to read blob data
2016-09-01 08:52:44 +05:30
Vadim Macagon
c64294cf60
Extend the custom Jump List API
...
Add `app.getJumpListSettings()` and `app.setJumpList(callback)` that
make it possible to fully customize the Jump List of an Electron app.
It is now possible to:
- Add tasks to the standard `Tasks` category.
- Add separators to the standard `Tasks` category.
- Add custom categories containing tasks and file links.
- Add system managed Recent/Frequent categories.
- Remove the custom Jump List.
2016-09-01 09:56:14 +07:00
Charlie Hess
f0517812b1
Linter fascism.
2016-08-31 18:12:35 -07:00
Charlie Hess
cd25066c9f
Fix oops on Windows / Linux.
2016-08-31 17:26:25 -07:00
Charlie Hess
af9e010162
Send notification userInfo to app.ready, on macOS.
...
Check if the user launched the app from a notification and send the notification args across if so.
2016-08-31 17:17:44 -07:00
deepak1556
5cbc8d5c71
fix ambiguous constructor call
2016-09-01 01:01:52 +05:30
deepak1556
be4bc6b7ef
fix docs and update specs
2016-09-01 01:01:52 +05:30
deepak1556
d2e40d4fc1
update api to work on public url and uuid
2016-09-01 01:01:52 +05:30
deepak1556
a23e7ecf8f
add docs
2016-09-01 01:01:52 +05:30
deepak1556
0fb2339e3d
session: api to retrieve blob data from uuid
2016-09-01 01:01:52 +05:30
deepak1556
2b0f632d51
provide blob uuid from upload data
2016-09-01 01:01:52 +05:30
Cheng Zhao
a37544cef4
Merge pull request #7041 from Ikana/document-webcontents-fromId
...
documents webContents.fromId
2016-08-31 21:01:49 +09:00
Cheng Zhao
4833c4800e
Merge pull request #6998 from electron/ipc-v8-converter-crash
...
Don't serialize external values over IPC
2016-08-31 20:45:25 +09:00
Cheng Zhao
5c051c9941
Merge pull request #6986 from electron/arm-release-asset-name
...
Add v7l to ARM release assets
2016-08-31 20:35:59 +09:00
Cheng Zhao
f854b27bfb
Merge pull request #6867 from electron/remote-function-properties
...
Allow accessing remote function properties
2016-08-31 17:28:09 +09:00
roderik
1ff58a6066
documents webContents.fromId
2016-08-30 22:25:04 -05:00
Kevin Sawicki
3e7a0e4b43
Test external value as send argument
2016-08-30 09:27:12 -07:00
Kevin Sawicki
8a9776b227
Move IsExternal check to FromV8ValueImpl
2016-08-30 08:51:22 -07:00
Cheng Zhao
e2d70fb92b
Merge pull request #7028 from electron/default-exit-code
...
Default app exit code to 0
2016-08-30 19:36:03 +09:00
Cheng Zhao
f30ebc6839
Merge pull request #7026 from Menci/master
...
Add guide for force new page in print / printToPDF
2016-08-30 19:31:31 +09:00
Cheng Zhao
572f58bc34
Merge pull request #7018 from HanaeKae/jpfont-in-flash
...
Japanese font rendering in flash.
2016-08-30 17:52:05 +09:00
Cheng Zhao
46b2579441
Merge pull request #7029 from electron/revert-7003-exit-tab-fullscreen
...
Revert "exit tab fullscreen on destroy"
2016-08-30 17:09:37 +09:00
Cheng Zhao
ee1571e556
Revert "exit tab fullscreen on destroy"
2016-08-30 17:08:51 +09:00
Samuel Attard
adf9acc468
Default app exit code to 0
2016-08-30 13:30:56 +10:00
Menci
ec60c149f5
Add guide for force new page in print / printToPDF
2016-08-30 08:45:39 +08:00
Kevin Sawicki
679ee95e8a
Explicitly mention external objects
2016-08-29 10:38:17 -07:00
Kevin Sawicki
625bfe53f7
🎨
2016-08-29 10:38:17 -07:00
Kevin Sawicki
558ee08be9
Add explicit test for IPC cycle detection
2016-08-29 10:38:16 -07:00
Kevin Sawicki
434e7cb5e9
Add test for sending webContents instance over IPC
2016-08-29 10:38:16 -07:00
Kevin Sawicki
0f7e43aa47
Re-enable DOM object over IPC asserts
2016-08-29 10:38:16 -07:00
Kevin Sawicki
58fc1b7933
Ignore external values when serializing
2016-08-29 10:38:16 -07:00
Kevin Sawicki
b17a2874f8
Add empty request error handler
2016-08-29 10:38:16 -07:00
Kevin Sawicki
e38bc17a7b
Add regression spec for HTTP request over IPC
2016-08-29 10:38:16 -07:00
Kevin Sawicki
3f4af3a2ba
Convert specs to expect empty objects
2016-08-29 10:38:16 -07:00
Kevin Sawicki
4579ec6094
Don't convert values with internal fields
2016-08-29 10:38:16 -07:00
Cheng Zhao
b5dec9990e
Merge pull request #7003 from brave/exit-tab-fullscreen
...
exit tab fullscreen on destroy
2016-08-29 16:36:44 +09:00
Hanae Kae
6ea5e50179
Japanese font rendering in flash.
2016-08-29 16:02:09 +09:00
Cheng Zhao
4e800e7fef
Merge pull request #7002 from electron/include-alpha
...
Enable alphabetical include order cpplint rule
2016-08-29 15:19:05 +09:00
Cheng Zhao
ac9e64cfd4
Merge pull request #7001 from electron/debug-wait-connect
...
Port --debug-brk support to Node 6.3.0
2016-08-29 15:15:14 +09:00
Kevin Sawicki
9965423c4d
Merge pull request #7006 from electron/fix-optional-param-spacing
...
fix optional param spacing
2016-08-27 12:18:45 -07:00
Zeke Sikelianos
7ff5649965
fix optional param spacing
2016-08-26 23:47:04 -07:00
Kevin Sawicki
3dd5628ded
Include windows.h first
2016-08-26 16:00:05 -07:00
bridiver
4532114965
exit tab fullscreen on destroy
2016-08-26 15:52:15 -07:00
Kevin Sawicki
6285500cdc
Sort includes alphabetically
2016-08-26 15:30:02 -07:00
Kevin Sawicki
56c17ae516
Enable alphabetical include order lint filter
2016-08-26 15:29:53 -07:00
Kevin Sawicki
307b504eb4
Merge pull request #6925 from BraveNewMath/patch-1
...
fix windows command prompt error
2016-08-26 14:17:55 -07:00
Kevin Sawicki
8d194691fe
Add separate platform examples for running electron
2016-08-26 14:16:30 -07:00
Kevin Sawicki
7dd1a7e6f4
Only set _debugWaitConnect in main process
2016-08-26 12:30:27 -07:00
Kevin Sawicki
a2f0111205
Remove v8debug flag no longer supported by node
2016-08-26 12:08:18 -07:00
Kevin Sawicki
056e5b951b
Set process._debugWaitConnect with --debug-brk is specified
2016-08-26 12:06:15 -07:00
Cheng Zhao
723c74ace6
Merge pull request #6989 from Menci/master
...
[doc] Add support for titleBarStyle hidden on macOS 10.9
2016-08-26 20:57:26 +09:00
Cheng Zhao
c5ece2bfb1
Merge pull request #6984 from electron/zoom-webview
...
Document <webview>.setZoomFactor/Level as public
2016-08-26 20:56:47 +09:00
Cheng Zhao
cd469b5f31
Merge pull request #6983 from electron/download-item-prompt
...
Check DownloadItem save path before prompting
2016-08-26 20:41:03 +09:00
Cheng Zhao
d35613b5ad
Merge pull request #6977 from electron/ipc-cycle-detection
...
Improve cycle detection in IPC arguments
2016-08-26 20:26:00 +09:00
Menci
a9eb6b7238
Add support for titleBarStyle hidden on macOS 10.9
...
"titleBarStyle: 'hidden'" supports macOS 10.9 now. See https://github.com/electron/electron/pull/6848 and ab8fd49c72 for more info.
2016-08-26 12:06:56 +08:00
Kevin Sawicki
fd38cfd88c
Remove unused imports
2016-08-25 17:57:14 -07:00
Kevin Sawicki
d0b95e9298
Add v7l suffix to ARM build assets
2016-08-25 17:51:37 -07:00
Kevin Sawicki
87e60466d3
Add helper for generating zip file names
2016-08-25 17:50:12 -07:00
Zeke Sikelianos
34e0f8c644
Merge pull request #6985 from electron/more-parameter-fixes
...
More parameter fixes
2016-08-25 17:28:36 -07:00
Zeke Sikelianos
e91dc83b2c
capitalize
2016-08-25 17:26:57 -07:00
Zeke Sikelianos
0ba9564629
use the right bullet
2016-08-25 17:26:52 -07:00
Zeke Sikelianos
ab1238d8fd
add a description for BrowserWindowProxy
2016-08-25 15:20:05 -07:00
Kevin Sawicki
bdaea02d8a
Document <webview>.setZoomFactor/Level as public
2016-08-25 14:55:01 -07:00
Zeke Sikelianos
5619558689
document some missing parameters
2016-08-25 14:43:06 -07:00
Zeke Sikelianos
0e4e60625f
fix method heading level
2016-08-25 14:42:53 -07:00
Kevin Sawicki
3108b8aacd
Use path to non-existent file
2016-08-25 14:40:15 -07:00
Kevin Sawicki
cf93e3e713
Check download item save path before prompting
2016-08-25 14:34:48 -07:00
Kevin Sawicki
1de8a0dcf9
Add failing spec for unwanted save dialog
2016-08-25 14:27:37 -07:00
Kevin Sawicki
e14e92147d
Merge pull request #6981 from electron/typo-in-method-name
...
Correct misspelling of destroy in method name
2016-08-25 13:45:42 -07:00
Kevin Sawicki
7a0129bbc7
Correct misspelling of destroy in method name
2016-08-25 12:28:57 -07:00
Zeke Sikelianos
9548184b15
Merge pull request #6980 from electron/method-params-take-2
...
Document all Method Parameters
2016-08-25 11:25:01 -07:00
Zeke Sikelianos
28d42ba35b
document missing method parameters
2016-08-25 10:52:19 -07:00
Kevin Sawicki
50e2e26e4f
Improve cycle detection in V8ValueConverter
2016-08-25 09:26:07 -07:00
Kevin Sawicki
10d39f673a
Add failing spec for duplicate references over IPC
2016-08-25 09:25:13 -07:00
Cheng Zhao
97a004a357
Merge pull request #6963 from electron/remote-buffers
...
Serialize ArrayBuffers as Buffers instead of Arrays over remote
2016-08-25 17:29:12 +09:00
Cheng Zhao
764c84f569
Merge pull request #6952 from deepak1556/custom_scheme_filesystem_patch
...
protocol: allow standard schemes to support filesystem api
2016-08-25 09:28:34 +09:00
Cheng Zhao
6e75e8e2bf
Merge pull request #6961 from electron/fullscreen-linux
...
Only change window state when fullscreen is true
2016-08-25 09:23:02 +09:00
Kevin Sawicki
b688539fe9
🎨 Use const
2016-08-24 17:00:03 -07:00
Kevin Sawicki
e1cf61f0cb
Add spec for Int16Array remote parameter
2016-08-24 16:47:14 -07:00
Kevin Sawicki
a1a7b1779c
Add missing space after comma
2016-08-24 16:41:59 -07:00
Kevin Sawicki
01e69353d5
Don't serialize ArrayBuffer as Array
2016-08-24 15:18:42 -07:00
Kevin Sawicki
363a02b82d
Add more remote Buffer specs
2016-08-24 15:01:52 -07:00
Kevin Sawicki
554e944105
Add test of sending Buffer
2016-08-24 14:49:25 -07:00
Zeke Sikelianos
a97b40eff5
Install node 4 on GitHub CI ( #6948 )
2016-08-24 14:37:19 -07:00
Kevin Sawicki
459c80da4e
Only change window state when fullscreen is true
2016-08-24 14:30:29 -07:00
Kevin Sawicki
4ce2c221c9
Minor doc edits and link to MDN page
2016-08-24 09:03:44 -07:00
deepak1556
62cb8428fb
use schemes from global instead of commandline
2016-08-24 20:22:35 +05:30
Cheng Zhao
7bdce52290
Merge pull request #6944 from electron/check-window-from-native-view
...
Access native window through native view
2016-08-24 16:25:27 +09:00
Cheng Zhao
dc73a5afea
Merge pull request #6896 from malept/fix-checksum-format
...
The checksum file needs to indicate that the files should be opened in binary mode
2016-08-24 16:15:22 +09:00
deepak1556
ae297760af
add spec and docs
2016-08-24 06:53:14 +05:30
deepak1556
ad0c86db7a
register custom schemes to access files through filesystem api
2016-08-24 05:46:54 +05:30
Kevin Sawicki
21de91d6e2
Don't open dev tools if already initialized
2016-08-23 15:26:13 -07:00
Kevin Sawicki
1276587ebe
Merge pull request #6934 from electron/add-missing-class-descriptions
...
Give every class a description
2016-08-23 10:16:29 -07:00
Kevin Sawicki
463b3de199
Use correct GetToplevelWindow signature
2016-08-23 10:12:55 -07:00
Kevin Sawicki
399470e281
Add spec for detached window crash
2016-08-23 10:06:05 -07:00
Kevin Sawicki
dd5ee28b2f
Access window through native view
2016-08-23 09:51:54 -07:00
Jessica Lord
bb7599cddd
Merge pull request #6938 from electron/add-accessibility-doc
...
Add accessibility doc
2016-08-23 09:30:02 -07:00
Electron Bot
518e8cc2f7
Update to Electron v1.3.4
2016-08-23 03:50:37 -07:00
Cheng Zhao
88979a9844
Bump v1.3.4
2016-08-23 17:03:07 +09:00
Cheng Zhao
4ca6587660
Merge pull request #6935 from electron/default-network-conditions
...
Default network conditions to 0.0
2016-08-23 16:40:36 +09:00
Zeke Sikelianos
098d4dc0ca
improve wording about class instantiation
2016-08-22 21:45:25 -07:00
Kevin Sawicki
ec44a5d198
Add tests for setting remote function properties
2016-08-22 17:07:18 -07:00
Kevin Sawicki
666a668d91
Support remote function keys and property descriptors
2016-08-22 17:07:18 -07:00
Kevin Sawicki
d226b7bc6c
Use Proxy for accessing properties of remote function
2016-08-22 17:07:18 -07:00
Kevin Sawicki
8b38018ab4
Add helper for including function properties
2016-08-22 17:07:17 -07:00
Kevin Sawicki
3245bb99b2
Only register methods with members
2016-08-22 17:07:17 -07:00
Kevin Sawicki
600076b46d
Remove lint from fixtures
2016-08-22 17:07:17 -07:00
Kevin Sawicki
d333cc5e38
Support remote function properties
2016-08-22 17:07:17 -07:00
Kevin Sawicki
9e4665fbc4
Add failing spec for remote static members
2016-08-22 17:07:17 -07:00
Kevin Sawicki
5cc61089d9
Add failing spec for remote function with properties
2016-08-22 17:07:17 -07:00
Jessica Lord
d2ad88978a
Add accessibility doc
2016-08-22 16:27:33 -07:00
Kevin Sawicki
0485e9eb36
🎨 Go back to single line declaration
2016-08-22 16:26:31 -07:00
Kevin Sawicki
0955c2fd4d
Merge pull request #6936 from electron/add-missing-require
...
add missing require to win.loadURL doc
2016-08-22 15:49:48 -07:00
Zeke Sikelianos
84fc1d022f
add missing require to win.loadURL doc
2016-08-22 14:25:48 -07:00
Kevin Sawicki
4fc6cf48b0
Document enableNetworkEmulation defaults
2016-08-22 14:25:42 -07:00
Kevin Sawicki
ad3dc3766e
Default network values to 0.0
2016-08-22 14:19:09 -07:00
Zeke Sikelianos
3d371e09b7
add a blockquote for every class
2016-08-22 14:11:03 -07:00
Kevin Sawicki
e84d0ebb7e
Merge pull request #6932 from electron/fix-power-save-blocker-doc-bug
...
Fix some invalid docs
2016-08-22 12:30:00 -07:00
Zeke Sikelianos
8c0a551d25
fix linting errors in docs
2016-08-22 11:47:55 -07:00
Zeke Sikelianos
ee44ab7ecd
wrap MenuItem constructor in backticks
2016-08-22 11:29:15 -07:00
Zeke Sikelianos
39c5ff2077
missing space in doc
2016-08-22 11:17:05 -07:00
Cheng Zhao
d6a63855c4
Merge pull request #6926 from electron/fix-fetch
...
Use scoped policy for micro tasks
2016-08-22 20:08:08 +09:00
Cheng Zhao
103fea5cdf
Use scoped policy for micro tasks
2016-08-22 19:34:59 +09:00
Cheng Zhao
9bc6302aea
spec: Add test case for fetch
2016-08-22 19:26:07 +09:00
Cheng Zhao
374e23fc37
Merge pull request #6922 from TomKaltz/patch-1
...
Update devtools-extension.md
2016-08-22 16:52:18 +09:00
Elias
1fe3b70a23
fix windows command prompt error
...
path to electron needs to be wrapped in quotes or else windows command prompt will error out
2016-08-22 00:29:33 -07:00
Cheng Zhao
c1989fb794
Merge pull request #6913 from markwylde/bugfix-spelling-fix
...
Fix spelling mistake from registred to registered
2016-08-22 11:19:09 +09:00
Cheng Zhao
be9fa3c9d3
Merge pull request #6923 from electron/fix-path-compatibility
...
Do not add extra space when args is empty
2016-08-22 11:00:07 +09:00
Cheng Zhao
23ca9fcd02
Merge pull request #6900 from electron/loadurl-example
...
Improve doc for loadURL
2016-08-22 10:46:03 +09:00
Cheng Zhao
31b82731ac
Cleanup the usages of std::wstring
2016-08-22 09:57:52 +09:00
Cheng Zhao
77dfd3a76c
Do not add extra space when args is empty
2016-08-22 09:50:58 +09:00
Cheng Zhao
8b9fd8a76e
Merge pull request #6858 from electron/default-protocol-launch-args
...
Allow settings of launch args when using defaultProtocol
2016-08-22 09:32:54 +09:00
Thomas Kaltz III
77dc700c51
Update devtools-extension.md
...
Cerebral Debugger is now supported under Electron
2016-08-21 17:36:26 -04:00
Mark Wylde
c55b1e87ed
Fix spelling mistake from registred to registered
2016-08-20 14:25:13 +01:00
Zeke Sikelianos
1985432e8e
recommend url.format for file URLs
2016-08-19 13:31:57 -07:00
Zeke Sikelianos
d9901e62b6
improve doc for loadURL
2016-08-18 22:20:55 -07:00
Will Eccles
488fe53276
fixed grammar for 32bit
2016-08-18 08:56:12 -07:00
Mark Lee
aaf9c5327c
The checksum file needs to indicate that the files should be opened in binary mode
2016-08-18 08:35:54 -07:00
Samuel Attard
ab7899d0fb
Fix linting issues
2016-08-18 20:42:06 +10:00
Samuel Attard
73246112d2
Use base::string16 and base::JoinString instead of custom methods
2016-08-18 20:35:57 +10:00
Samuel Attard
ca971e978e
Return boolean instead of empty string when error occurs. Update docs
2016-08-18 18:02:13 +10:00
Cheng Zhao
293ba4230d
Merge pull request #6888 from electron/show-spec-runner-initially
...
Show spec window initially when not on CI
2016-08-18 15:27:09 +09:00
Cheng Zhao
b9b6fc238e
docs: Correctly fomart titleBarStyle line
2016-08-18 14:42:10 +09:00
Cheng Zhao
105597c7e8
Merge pull request #6848 from miniak/titlebar-style-hidden
...
Add support for titleBarStyle: 'hidden' on OS X 10.9
2016-08-18 14:40:54 +09:00
Cheng Zhao
06d2dfe119
Merge pull request #6788 from electron/felix-progress-enum
...
Use enum to declare ProgressState
2016-08-18 14:35:00 +09:00
Cheng Zhao
56d17a1449
Merge pull request #6829 from electron/fix-thumbar-buttons-vanishing
...
Save the thumbar buttons when setting them to restore later
2016-08-18 14:34:26 +09:00
Cheng Zhao
9b00e3f432
Merge pull request #6882 from duncup/patch-1
...
Fix typos
2016-08-18 11:51:43 +09:00
Kevin Sawicki
dfb6a9b07d
Show window when not on CI
2016-08-17 14:25:42 -07:00
Kevin Sawicki
6813c03f30
Merge pull request #6853 from electron/about-documentation
...
Add About Electron documentation
2016-08-17 08:53:33 -07:00
Kevin Sawicki
b8971ae185
Merge pull request #6871 from electron/update-docs-for-electron-npm
...
Update docs re: electron module update
2016-08-17 08:52:42 -07:00
Kevin Sawicki
09adffe48f
Merge pull request #6870 from electron/more-permissive-standard-markdown
...
Use a more permissive version of standard-markdown
2016-08-17 08:52:06 -07:00
Kevin Sawicki
bc3d2cfc34
Merge pull request #6875 from electron/remove-styleguide-rule-about-endlines
...
source files DO have newlines at the end
2016-08-17 08:51:20 -07:00
wolf
e9b5833ed4
Fix typos
...
Fix typos,`当前也` change to `当前页`
修正错别字,`当前也`改为`当前页`
2016-08-17 22:16:28 +08:00
Cheng Zhao
0b7b6b38c0
Merge pull request #6872 from electron/only-show-extension-button-on-save-dialog
...
Only call setCanSelectHiddenExtension on save dialogs
2016-08-17 22:35:15 +09:00
Cheng Zhao
faebe5259d
Merge pull request #6861 from megahertz/bug_window_location
...
Apply resolveURL when set a location of a window opened by window.open()
2016-08-17 22:04:46 +09:00
Cheng Zhao
fc57201406
Merge pull request #6857 from brave/object-registry
...
clear the storage for the webContentsId when the render view is deleted
2016-08-17 21:47:39 +09:00
Cheng Zhao
79f35fa475
Merge pull request #6850 from electron/disable-resize-when-changing-style-mask
...
Disable all resizes when changing the window's style mask
2016-08-17 21:19:35 +09:00
Cheng Zhao
2e8d7cd6db
Merge pull request #6881 from electron/data-string
...
Certificate data is now a string
2016-08-17 21:13:31 +09:00
Cheng Zhao
8f9a0100e3
Certificate data is now a string
2016-08-17 20:48:09 +09:00
Cheng Zhao
47c37d6f51
Merge pull request #6814 from brave/net-converter-fix
...
don't convert a string to an array buffer
2016-08-17 20:44:13 +09:00
Cheng Zhao
bd03ae53f2
Merge pull request #6832 from hammerandchisel/bug/remote_object_freer_crash
...
fix intermittent crash in RemoteObjectFreer
2016-08-17 20:31:06 +09:00
Cheng Zhao
4e355355a9
Merge pull request #6851 from electron/focused-web-contents-from-hidden-windows
...
Prevent web contents in hidden windows from reporting as focused
2016-08-17 20:15:37 +09:00
Zeke Sikelianos
515e25b749
source files DO have newlines at the end
2016-08-16 21:24:53 -07:00
Kevin Sawicki
4fc4f0ae53
Only call setCanSelectHiddenExtension for save dialogs
2016-08-16 17:22:44 -07:00
Kevin Sawicki
925fb27b1e
Merge pull request #6874 from electron/tweak-flaky-web-contents-spec
...
Tweak flaky web contents spec
2016-08-16 16:42:01 -07:00
Kevin Sawicki
6cca62788d
Assert first and last web contents types
2016-08-16 16:19:32 -07:00
Jessica Lord
3ebd5fbd8f
Update docs re: electron module update
2016-08-16 15:57:07 -07:00
Zeke Sikelianos
cc2b95fac3
js → javascript
2016-08-16 14:50:21 -07:00
Zeke Sikelianos
e71280f31c
restore js label to orphan code blocks
2016-08-16 14:49:42 -07:00
Zeke Sikelianos
8527bc360a
bump standard-markdown for orphan array support
2016-08-16 14:48:35 -07:00
Zeke Sikelianos
6b298213ab
update standard-markdown to 1.2.0
2016-08-16 14:07:50 -07:00
Jessica Lord
8d9aaf1d5e
Fix date
2016-08-16 11:34:20 -07:00
Kevin Sawicki
959613bb04
Merge pull request #6865 from electron/test-for-request-headers-without-path-expansion
...
Add test for header with . characters
2016-08-16 10:05:48 -07:00
Kevin Sawicki
1f46574efe
Add test for header with . characters
2016-08-16 09:08:36 -07:00
Kevin Sawicki
c93a8fb4ea
Merge pull request #6856 from brave/nested-header-fix
...
don't convert header names to nested values
2016-08-16 08:54:26 -07:00
Alexey Prokhorov
16f2702495
Apply resolveURL when set a location of a window opened by window.open()
2016-08-16 16:24:49 +05:00
Samuel Attard
88bf089504
Pass args through correctly
2016-08-16 17:40:44 +10:00
Samuel Attard
14154e374a
Fix cpp linting issues
2016-08-16 15:54:30 +10:00
Samuel Attard
ce986590cf
Clarify defaults
2016-08-16 15:39:36 +10:00
Samuel Attard
db27da5db0
Document the optional params
2016-08-16 15:38:35 +10:00
Samuel Attard
e5daf63b0e
Allow client to specify EXE file and args to set as default handler
...
* Optional path param to setAsDefaultProtocolClient
* Optional args param to setAsDefaultProtocolClient
2016-08-16 15:35:33 +10:00
bridiver
3b11bf5e41
clear the storage for the webContentsId when the render view is deleted
2016-08-15 21:53:58 -07:00
bridiver
ca4cbe34a0
don't convert header names to nested values
...
fixes #6855
2016-08-15 17:21:14 -07:00
Jessica Lord
fd9a032839
Add About Electron documentation
2016-08-15 16:26:30 -07:00
Kevin Sawicki
0755349e70
Ensure hidden windows don't have focused webContents
2016-08-15 14:13:24 -07:00
Kevin Sawicki
cc7fe82b74
Add failing webContents.isFocused spec
2016-08-15 14:11:08 -07:00
Kevin Sawicki
86e5bd3552
Disable resize during any stylemask change
2016-08-15 13:18:22 -07:00
Milan Burda
ab8fd49c72
Add support for titleBarStyle: 'hidden' on OS X 10.9 (hidden-inset falls back to hidden)
2016-08-15 22:10:38 +02:00
Kevin Sawicki
c754b5efdc
Add failing spec for state changes resizing frameless window
2016-08-15 12:30:26 -07:00
Kevin Sawicki
420f756c47
Merge pull request #6846 from ysagal/patch-1
...
Added `title` to `page-title-updated` return args
2016-08-15 10:11:16 -07:00
Stan
c9f80dfc7b
Added title to page-title-updated return args
2016-08-15 13:06:29 -04:00
Kevin Sawicki
2a67b05fcf
Merge pull request #6838 from Gerhut/master
...
📝 Rename `electron-prebuilt` to `electron` when install [ci skip]
2016-08-15 08:53:45 -07:00
程启翔
91ed01df26
📝 Rename electron-prebuilt to electron when install [ci skip]
...
ref electron-userland/electron-prebuilt#160
2016-08-14 12:42:26 +08:00
bridiver
94c60379d1
don't convert a string to an array buffer
2016-08-13 13:35:23 -07:00
Andy Dill
704561b255
use MSG_ROUTING_NONE to initialize routing_id_ rather than 0
2016-08-12 13:03:31 -07:00
Haojian Wu
6a9801b82c
Remove an extra space in front of #.
2016-08-12 22:01:30 +02: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
Samuel Attard
2fa7aa3c71
Save the thumbar buttons when setting them
...
Then restore the buttons when restoring the taskbar icon
2016-08-13 01:55:42 +10:00
Cheng Zhao
912307386c
Merge pull request #6 from enlight/add-readme
...
Add README
2016-08-12 20:48:19 +09:00
Vadim Macagon
03b4f57d23
Add README
2016-08-12 17:33:41 +07:00
Cheng Zhao
05518ccd52
Merge pull request #6817 from deepak1556/context_menu_image_patch
...
webContents: fix value of contextMenu hasImageContents property
2016-08-12 17:51:40 +09:00
Cheng Zhao
d84098c4c1
Merge pull request #6816 from deepak1556/webframe_scheme_patch
...
webFrame: enable privileged schemes to send CORS requests
2016-08-12 17:48:50 +09:00
Cheng Zhao
620847d2fd
Merge pull request #6755 from electron/upgrade-clang
...
Upgrade clang
2016-08-12 17:38:03 +09:00
Cheng Zhao
c41183302b
Update brightray for #6755
2016-08-12 17:37:38 +09:00
Cheng Zhao
46644d1789
Merge pull request #245 from electron/upgrade-clang
...
Upgrade clang.
2016-08-12 17:37:14 +09:00
Cheng Zhao
f30fe5643a
Merge pull request #6812 from electron/bootstrap-defines
...
Support build variable setting during bootstrap
2016-08-12 17:11:22 +09:00
Cheng Zhao
6a7c6cae3a
Merge pull request #6810 from electron/iframe-ismainpage-event
...
Send isMainFrame as argument to did-navigate-in-page event
2016-08-12 17:10:47 +09:00
deepak1556
ee298ea0e3
webContents: fix value of contextMenu hasImageContents property
2016-08-12 00:55:20 +05:30
Haojian Wu
fc36048d78
Move project-specific flags to common.gypi.
2016-08-11 21:08:12 +02:00
Haojian Wu
42a5b1f5bc
Don't show -Wvarargs warning in libuv.
2016-08-11 20:59:06 +02:00
Haojian Wu
2e5eeef70e
Pass compilation on mac.
2016-08-11 20:59:06 +02:00
Haojian Wu
cd169f933e
Upgrade clang to r269902.
2016-08-11 20:59:06 +02:00
Haojian Wu
c3049688b8
Disable -Wundefined-var-template.
2016-08-11 20:57:17 +02:00
deepak1556
77173be1c6
webFrame: enable privileged schemes to send CORS requests
2016-08-11 23:01:10 +05:30
Kevin Sawicki
d07e40b415
Support build variable setting during bootstrap
2016-08-11 09:50:40 -07:00
Samuel Attard
0b624315b2
Fix attribute typo in docs
2016-08-12 01:49:56 +10:00
Samuel Attard
5b07e8dd5b
Send isMainFrame as argument to did-navigate-in-page event
2016-08-12 01:27:50 +10:00
Cheng Zhao
58b391cb77
Merge pull request #6801 from electron/libchromiumcontent-packages
...
Add gperf and bison to package install commands
2016-08-11 17:23:33 +09:00
Cheng Zhao
b285b22b07
Update native_mate
2016-08-11 17:23:03 +09:00
Cheng Zhao
b5e5de626c
Merge pull request #5 from kevinsawicki/detail-string
...
Use ToDetailString for arguments error message
2016-08-11 17:22:39 +09:00
Cheng Zhao
919571a5fc
Merge pull request #6804 from electron/clean-libchromiumcontent-src
...
Clean libchromiumcontent/src
2016-08-11 17:20:44 +09:00
Cheng Zhao
e491b7932f
Merge pull request #6789 from electron/felix-ignore-vscode
...
Gitignore Visual Studio Files
2016-08-11 17:16:41 +09:00
Kevin Sawicki
bc28f8d3cc
Add clean npm run script
2016-08-10 17:36:58 -07:00
Kevin Sawicki
321e953a1d
Clean libchromiumcontent/src
2016-08-10 17:36:57 -07:00
Kevin Sawicki
252aca8834
Add gperf and bison to package install commands
2016-08-10 17:34:58 -07:00
Kevin Sawicki
8155da152f
Add back empty handle string
2016-08-10 10:04:04 -07:00
Kevin Sawicki
e290d51412
Merge pull request #6796 from electron/disable-global-shortcut-spec-on-windows-ci
...
Disable globalShortcut spec on Windows CI
2016-08-10 09:57:51 -07:00
Kevin Sawicki
1dbaec0edd
Use ToDetailString for processing error message
2016-08-10 09:34:33 -07:00
Felix Rieseberg
8b85ee8a20
🔧 Use enum to declare ProgressState
...
As recommended in #6768 , this commit adds an enum for progress states for windows.
2016-08-10 08:56:26 -07:00
Felix Rieseberg
96632370b2
Gitignore Visual Studio Files
...
Adds Visual Studio and Visual Studio Code configuration files (auto-generated) to .gitignore.
2016-08-10 08:54:50 -07:00
Kevin Sawicki
b017d2d324
Disable globalShortcut spec on Windows CI
2016-08-10 08:52:50 -07:00
Electron Bot
2a8b97ce34
Update to Electron v1.3.3
2016-08-10 04:09:36 -07:00
Cheng Zhao
912c7716b3
Bump v1.3.3
2016-08-10 16:00:24 +09:00
Cheng Zhao
d9b872b073
Merge pull request #6787 from electron/api-specs
...
Add initial specs for untested modules
2016-08-10 15:55:23 +09:00
Kevin Sawicki
2a0eb72334
Add asserts for crash report APIs
2016-08-09 15:44:04 -07:00
Kevin Sawicki
ce0165367c
Add spec for invalid capture options
2016-08-09 15:31:24 -07:00
Kevin Sawicki
a6353eb98f
Add initial global shortcut spec
2016-08-09 15:13:05 -07:00
Kevin Sawicki
39e1541a7e
Add initial power save blocker spec
2016-08-09 15:05:56 -07:00
Mark Lee
eef534259f
Merge pull request #177 from electron-userland/readme-cleanup
...
Cleanup README
2016-08-09 11:56:58 -07:00
Kevin Sawicki
ab0d726594
Merge pull request #6782 from electron/dip-thumbnail-clip
...
Convert DIP to screen rect for thumbnail clip
2016-08-09 09:16:10 -07:00
Kevin Sawicki
2802d2f3f9
Use gfx::Rect::ToRECT
2016-08-09 08:50:06 -07:00
Kevin Sawicki
5f2a13d01b
Convert dip to screen rect for thumbnail clip
2016-08-09 08:40:38 -07:00
Cheng Zhao
6cd99ebf6b
Merge pull request #6752 from lgalabru/feature/macos-native-notifications
...
Send events as native macOS notifications
2016-08-09 21:34:52 +09:00
Cheng Zhao
dd79c71302
Style fixes for SetProgressBar
2016-08-09 21:02:14 +09:00
Cheng Zhao
81244c2221
Merge pull request #6768 from electron/felix-set-progress
...
Enable mode indication for setProgressBar
2016-08-09 20:58:07 +09:00
Cheng Zhao
01f92a83ab
Merge pull request #6780 from electron/update-available-check
...
Mark update available until restart
2016-08-09 20:44:26 +09:00
Cheng Zhao
25f29e30f5
Merge pull request #6776 from electron/remove-has-real-name-callback-property-check
...
Remove HasRealNamedCallbackProperty check when converting objects
2016-08-09 20:26:26 +09:00
Cheng Zhao
4a9bb87f31
Merge pull request #6777 from electron/zoom-roles
...
Add zoom menu item roles
2016-08-09 20:24:06 +09:00
Ludovic Galabru
a5351407c5
Fixing indentation
2016-08-09 05:57:02 -04:00
Felix Rieseberg
73c91dae9e
🔧 Enable mode indication for setProgressBar
...
This commit enables setting a mode for the setProgressBar method.
Old behavior is kept intact, usage is entirely optional.
2016-08-08 15:52:20 -07:00
Kevin Sawicki
0747957919
Add spec for quitAndInstall with no update on Windows
2016-08-08 13:13:08 -07:00
Kevin Sawicki
dd6c69c90b
Use const instead of var
2016-08-08 13:07:01 -07:00
Kevin Sawicki
49908fd818
Keep update available flag set until restart
2016-08-08 13:03:02 -07:00
Kevin Sawicki
11b14f7621
Add zoom items to menu template
2016-08-08 11:09:30 -07:00
Kevin Sawicki
af607f8b67
🎨 function -> =>
2016-08-08 11:09:30 -07:00
Kevin Sawicki
bcc372568f
Add zoom menu item roles
2016-08-08 11:09:30 -07:00
Kevin Sawicki
59ffe35781
Merge pull request #6765 from miniak/menu-speaking-roles
...
Add macOS specific speaking roles for MenuItem
2016-08-08 11:06:45 -07:00
Kevin Sawicki
e767d3c131
Add spec for executeJavaScript DOM class prototype
2016-08-08 09:42:43 -07:00
Kevin Sawicki
42a1136c88
Remove HasRealNamedCallbackProperty check
2016-08-08 09:35:40 -07:00
Kevin Sawicki
8b3aa4dbb4
Add spec for sending document.location over IPC
2016-08-08 09:35:30 -07:00
Cheng Zhao
872fbe8ba0
Merge pull request #6762 from miniak/set-thumbnail-clip
...
Add BrowserWindow.prototype.setThumbnailToolTip
2016-08-08 20:27:15 +09:00
Cheng Zhao
3dd57d1171
Update brightray and libchromiumcontent to latest for #6769
2016-08-08 20:17:41 +09:00
Cheng Zhao
0060cd5b1b
Update libchromiumcontent to latest
2016-08-08 20:17:22 +09:00
Cheng Zhao
f5abae31a3
Code cleanup for native_window_mac
...
Method definitions should matche sequence of declarations.
2016-08-08 20:15:45 +09:00
Milan Burda
a6125c538e
Add BrowserWindow.prototype.setThumbnailToolTip
2016-08-08 12:05:47 +02:00
Cheng Zhao
a432fb0c34
Merge pull request #6766 from miniak/set-user-tasks-result
...
Report app.setUserTasks success/failure
2016-08-08 17:43:08 +09:00
Cheng Zhao
850ea37abd
Merge pull request #6761 from bbondy/master
...
Fix printing on Windows when sandbox is enabled
2016-08-08 16:52:07 +09:00
Cheng Zhao
d1b9d03c74
Merge pull request #6754 from darkdh/swipe_conflict
...
Fix scroll conflict
2016-08-08 16:23:52 +09:00
Cheng Zhao
b6becdeae7
Merge pull request #6741 from MaxWhere/native-window-widget-mac
...
Offscreen rendering fixes for macOS
2016-08-08 16:10:30 +09:00
Cheng Zhao
443761b047
Merge pull request #6745 from electron/remove-lint-ignore-files
...
Remove files from cpplint ignore list
2016-08-08 16:04:07 +09:00
Cheng Zhao
2137c42215
Merge pull request #6744 from sairoutine/jpdocs
...
Japanese: add build-instructions-linux.md
2016-08-08 16:03:30 +09:00
Cheng Zhao
fd461cdd27
Merge pull request #6743 from electron/recovery-suggestion
...
Add recovery suggestion to auto update failure string
2016-08-08 16:02:13 +09:00
Milan Burda
e84c82b4a7
Document boolean return value of app.setAsDefaultProtocolClient + app.removeAsDefaultProtocolClient
2016-08-08 02:26:27 +02:00
Milan Burda
a0cf013112
Report app.setUserTasks success/failure
2016-08-08 02:22:51 +02:00
Milan Burda
edc1a9614c
Add macOS specific speaking roles for MenuItem
2016-08-08 00:02:32 +02:00
Mark Lee
60d8c732c1
Cleanup README
2016-08-07 13:22:46 -07:00
Brian R. Bondy
95d5de1444
Fix printing on Windows when sandbox is enabled
...
Auditors: @bridiver
This makes it closer to how it works in Chromium and fixes the forever spooling problem on Windows.
The old way worked when the sandbox was disabled but failed on the call for shared_buf.CreateAndMapAnonymous when the sandbox was enabled
This also fixes a handle leak which Chromium already had fixed.
2016-08-07 10:46:08 -04:00
Ludovic Galabru
38cc56efee
🍎 Send events as native macOS notifications
2016-08-06 14:54:07 +02:00
Anthony Tseng
1aedccaeeb
Fix scroll conflict
2016-08-06 14:02:40 +08:00
gellert
541116ff24
removes recycling of compositors on mac
2016-08-06 00:00:32 +02:00
Kevin Sawicki
a9c6ee997f
Remove ignore files that are lint free
2016-08-05 10:53:10 -07:00
Kevin Sawicki
fdc666708f
Use ATOM_COMMON_ATOM_VERSION_H_ as ifdef guar
2016-08-05 10:52:56 -07:00
sairoutine
c8369c8890
📝 Japanese: add build-instructions-linux.md [ci skip]
2016-08-06 02:03:15 +09:00
Kevin Sawicki
0c5b49c402
Add recovery suggestion to failure string
2016-08-05 09:24:13 -07:00
gellert
f29dc3402b
reverts AcceleratedWidgetMacNSView into offscreen class
2016-08-05 15:23:36 +02:00
Cheng Zhao
5eeadb0ad4
Merge pull request #6737 from MaxWhere/setpainting-fix
...
Fix for transparent frames when offscreen window restarted painting
2016-08-05 20:47:35 +09:00
Cheng Zhao
d23418728f
Merge pull request #6721 from electron/osr-refactor
...
Emit NativeImage objects in paint event
2016-08-05 20:44:40 +09:00
Heilig Benedek
29f30aa6ba
added checks for painting_ when setting the outputdevice to active state and removed show/hide from start/stoppainting since during testing they caused transparent frames to appear when a window was set to paint again after stopping
2016-08-05 12:30:47 +02:00
gellert
795753286b
moves AcceleratedWidgetMacNSView to NativeWindowMac
2016-08-05 12:29:35 +02:00
Cheng Zhao
7173d8b01b
Use getBitmap in docs
2016-08-05 18:08:36 +09:00
Cheng Zhao
1be253e1aa
Cleanup the code of getBitmap
2016-08-05 18:05:44 +09:00
Heilig Benedek
b5c19a9c6d
update docs
2016-08-05 17:40:42 +09:00
Heilig Benedek
37f5ef5712
add getBitmap to NativeImage
2016-08-05 17:40:42 +09:00
Cheng Zhao
736fbd46c6
docs: Show how to use bitmap data directly
2016-08-05 17:40:42 +09:00
Cheng Zhao
8c4ebdc88e
Emit NativeImage objects in paint event
2016-08-05 17:40:42 +09:00
Cheng Zhao
3be68ba136
Merge pull request #6736 from electron/maximizable-state
...
Always restore maximizable state after changing window behavior/style
2016-08-05 17:25:22 +09:00
Cheng Zhao
8a33464d41
Merge pull request #6654 from electron/content-bounds
...
Add BrowserWindow.get/setContentBounds()
2016-08-05 17:23:24 +09:00
Cheng Zhao
2ef33bc158
Merge pull request #6739 from electron/cookies-refactor
...
Remove AtomBrowserContext::SetCookieableSchemes
2016-08-05 16:46:40 +09:00
Cheng Zhao
a14b2c1cf8
Remove AtomBrowserContext::SetCookieableSchemes
...
The standard schemes are already stored, we don't have to duplicate the
list for every session.
2016-08-05 16:35:37 +09:00
Cheng Zhao
6cd1aa21af
Merge pull request #6708 from deepak1556/cookieable_schemes_patch
...
protocol: custom standard schemes should support cookies
2016-08-05 16:25:23 +09:00
Cheng Zhao
ce5bdaf46f
Update brightray for #6708
2016-08-05 16:23:59 +09:00
Cheng Zhao
900225bb03
Put definetion of GetCookieableSchemes in .cc to match other methods
2016-08-05 16:23:31 +09:00
Cheng Zhao
5ecefd298a
Merge pull request #244 from deepak1556/cookieable_schemes_patch
...
allow additional schemes that should support cookies
2016-08-05 16:19:13 +09:00
Kevin Sawicki
23203daf95
Non-resizable windows should only maximizable on Mac
2016-08-04 17:22:09 -07:00
Kevin Sawicki
b77a553de7
Always reset maximizable state
2016-08-04 16:50:22 -07:00
Kevin Sawicki
41a0a3fff2
Add failing spec
2016-08-04 16:46:40 -07:00
Kevin Sawicki
dbddf5028a
Adjust y position if menu bar is visible
2016-08-04 13:18:58 -07:00
Kevin Sawicki
2a20630f2f
Use same position as setPosition test
2016-08-04 13:02:41 -07:00
Kevin Sawicki
3a0ceb40b9
Assert new content bounds after resize event
2016-08-04 12:54:45 -07:00
Kevin Sawicki
3041fcc79e
Add spec for BrowserWindow.setContentBounds
2016-08-04 12:34:09 -07:00
Kevin Sawicki
01f95c149a
Doc BrowserWindow.setContentBounds
2016-08-04 12:15:29 -07:00
Kevin Sawicki
7bca105e15
Set max size on window constraints
2016-08-04 12:14:23 -07:00
Kevin Sawicki
7ae9c7616d
Use empty origin when only adjusting size
2016-08-04 12:10:01 -07:00
Kevin Sawicki
52199a008d
Add initial setContentBounds method
2016-08-04 12:02:24 -07:00
Kevin Sawicki
5681ee5220
Use current content position when adjusting content size
2016-08-04 11:41:32 -07:00
Kevin Sawicki
a190495df3
Use bounds for converting window/content sizes
2016-08-04 11:27:27 -07:00
Kevin Sawicki
4751f971e2
Use View::GetBoundsInScreen to compute content bounds
2016-08-04 09:58:36 -07:00
Kevin Sawicki
4f90abce23
Set bounds size to content size
2016-08-04 09:58:36 -07:00
Kevin Sawicki
a868bffd73
Document BrowserWindow.getContentBounds()
2016-08-04 09:58:36 -07:00
Kevin Sawicki
79eee0fdf1
Assert after size through getContentBounds() API
2016-08-04 09:58:35 -07:00
Kevin Sawicki
48cc13d009
Add BrowserWindow.getClientBounds API
2016-08-04 09:58:35 -07:00
Cheng Zhao
cdfbeb1a0a
Merge pull request #6726 from MaxWhere/dummy-view-fix
...
Omits setMouseDownCanMoveWindow call for OffScreenView
2016-08-04 22:07:30 +09:00
gellert
0bb5dabf99
omits setMouseDownCanMoveWindow call for OffScreenView
2016-08-04 12:00:35 +02:00
Cheng Zhao
7624958cf2
Merge pull request #6723 from electron/dummy-view
...
Show a dummy view in the offscreen window
2016-08-04 17:04:32 +09:00
Cheng Zhao
c0c7b81aed
Fix building on Linux
2016-08-04 16:43:30 +09:00
Cheng Zhao
03e2250638
Fix building under linux
2016-08-04 16:40:13 +09:00
Cheng Zhao
31d8e1b9c9
Also show the text on Windows and Linux
2016-08-04 16:36:01 +09:00
Cheng Zhao
1a80cb22b7
Show label for offscreen webview
2016-08-04 16:35:09 +09:00
deepak1556
e96b224307
allow delegate to provide cookieable schemes
2016-08-04 12:21:54 +05:30
deepak1556
2aa1c9e556
register cookieable schemes with browser context
2016-08-04 12:17:30 +05:30
Cheng Zhao
41df037f64
Show dummy view under offscreen mode
2016-08-04 15:35:08 +09:00
deepak1556
52431506ba
protocol: custom standard schemes should support cookies
2016-08-04 11:06:21 +05:30
Cheng Zhao
64334fd40b
Pass SkBitmap directly
2016-08-04 13:22:19 +09:00
Cheng Zhao
530fcc8de1
Pass OnPaint callback in constructor
...
This can catch the paint events happened before onload event.
2016-08-04 13:03:24 +09:00
Cheng Zhao
32d9382417
Merge pull request #6713 from MaxWhere/offscreen-rendering-fixes
...
Fixes buffer size in offscreen mode
2016-08-04 13:00:54 +09:00
Heilig Benedek
1b0af6f6f1
removed bpp (it can be calculated)
...
fixed buffer size calculation (we actually send the whole image, not just the dirty part)
removed the unnecessary resets and const
now we use Copy instead of New
2016-08-04 05:18:27 +02:00
Cheng Zhao
01d3f76f92
Merge pull request #6718 from electron/coverage
...
Add JavaScript code coverage reporting
2016-08-04 10:59:54 +09:00
Cheng Zhao
4a5a4729b4
Merge pull request #6720 from deepak1556/extension_scheme_patch
...
browser: register extension scheme as web safe scheme
2016-08-04 10:51:48 +09:00
Cheng Zhao
6e63ea7d91
Merge pull request #6719 from electron/is-destroyed-public
...
Mark isDestroyed as public on BrowserWindow/WebContents
2016-08-04 10:49:01 +09:00
Cheng Zhao
f9a3ed10b8
Merge pull request #6714 from sairoutine/jpdocs
...
Add: japanese build-instructions-osx.md
2016-08-04 10:26:00 +09:00
Cheng Zhao
28cb0c7f6b
Merge pull request #6709 from saghul/uv-fixes
...
A couple of small libuv related fixes
2016-08-04 10:09:58 +09:00
Cheng Zhao
361161df0a
Merge pull request #6711 from miniak/cleanup
...
isSwipeTrackingFromScrollEventsEnabled cleanup
2016-08-04 10:09:39 +09:00
Kevin Sawicki
1ee244c1b2
Upgrade to electabul@0.0.4
2016-08-03 16:37:53 -07:00
Kevin Sawicki
e1eef5f7ca
Upgrade to electabul@0.0.3
2016-08-03 16:23:40 -07:00
Kevin Sawicki
a665cf1935
Remove unused spec modules
2016-08-03 16:23:40 -07:00
Kevin Sawicki
ad07a20d9a
Use electabul to instrument and report coverage
2016-08-03 16:23:39 -07:00
Kevin Sawicki
2c0de93f06
Use once when calling done callback
2016-08-03 16:23:39 -07:00
Kevin Sawicki
0ebe142b2f
Close windows instead of destroying them
2016-08-03 16:23:39 -07:00
Kevin Sawicki
cce6be1900
Only prevent unload the first time it is attempted
2016-08-03 16:23:39 -07:00
Kevin Sawicki
916920844e
Use once instead of on
2016-08-03 16:23:39 -07:00
Kevin Sawicki
60e60d86d1
Send coverage from chrome extension iframe
2016-08-03 16:23:39 -07:00
Kevin Sawicki
9aec425ea8
Save dev tools coverage when available
2016-08-03 16:23:39 -07:00
Kevin Sawicki
e034bd05d3
Save type in coverage filename
2016-08-03 16:23:39 -07:00
Kevin Sawicki
88dc281242
Use web contents id when pid is unavailable
2016-08-03 16:23:38 -07:00
Kevin Sawicki
eaa567dd86
Ignore windows with no URLs
2016-08-03 16:23:38 -07:00
Kevin Sawicki
016faacf86
Save coverage on beforeunload event
2016-08-03 16:23:38 -07:00
Kevin Sawicki
300bf24241
Save coverage data when browser windows are destroyed
2016-08-03 16:23:38 -07:00
Kevin Sawicki
9299921ee9
Delete output lib folder before instrumenting
2016-08-03 16:23:38 -07:00
Kevin Sawicki
491f69df80
Add ability to run tests with coverage report
2016-08-03 16:23:38 -07:00
Kevin Sawicki
e17e195479
Add run script to generate instrumented code coverage .asar
2016-08-03 16:23:38 -07:00
Kevin Sawicki
5b5d51ecf4
Add helper to instrument electron.asar
2016-08-03 16:23:38 -07:00
Kevin Sawicki
afdff69482
Add initial code coverage reporting
2016-08-03 16:23:37 -07:00
deepak1556
835891b373
browser: register extension scheme as web safe scheme
2016-08-04 04:30:25 +05:30
Kevin Sawicki
05ab7d39ad
Mark isDestroyed as public on BrowserWindow/WebContents
2016-08-03 14:58:22 -07:00
Kevin Sawicki
15e6028f38
Merge pull request #6710 from miniak/docs-fixes
...
docs: fix cwd description for shell.writeShortcutLink
2016-08-03 14:36:27 -07:00
Kevin Sawicki
ff590850f9
Merge pull request #173 from electron-userland/platform-error
...
Mention builds not available when platform not found
2016-08-03 14:28:15 -07:00
Zeke Sikelianos
e241dd1079
Merge pull request #171 from electron-userland/update-readme-after-package-rename
...
Update readme after package rename
2016-08-03 14:22:45 -07:00
gellert
ca16132268
renames to bytesPerPixel and use nullptr
2016-08-03 19:39:23 +02:00
Milan Burda
d8f79bf29b
docs: fix cwd description for shell.writeShortcutLink
2016-08-03 18:27:15 +02:00
sairoutine
cedb3714a1
📝 delete no need text in japanese readme.md [ci skip]
2016-08-04 01:17:01 +09:00
sairoutine
ca0ac9c586
📝 build-instructions-osx.md [ci skip]
2016-08-04 01:13:57 +09:00
gellert
8a5e96056e
adds resets to destructor
2016-08-03 17:38:56 +02:00
Milan Burda
136f10c4e8
Remove unnecessary comment + respondsToSelector for isSwipeTrackingFromScrollEventsEnabled implementation
2016-08-03 15:46:39 +02:00
Saúl Ibarra Corretgé
d6ff804b9a
Remove unneeded flag check
...
stop_flag is only set if uv_stop was called, which is never the case, so
skipping the test should be harmless.
2016-08-03 12:52:17 +01:00
Saúl Ibarra Corretgé
0da72be8a9
Remove unneeded libuv callback
2016-08-03 12:48:58 +01:00
gellert
50485a28d3
fixes buffer size and adds pixel size to paint event
2016-08-03 13:28:19 +02:00
Cheng Zhao
3ea48a822e
Merge pull request #6706 from sairoutine/jpdocs
...
Japanese: add atom-shell-vs-node-webkit.md
2016-08-03 20:06:03 +09:00
deepak1556
826fbf3e21
allow additional schemes that should support cookies
2016-08-03 15:52:09 +05:30
Cheng Zhao
230943d425
Merge pull request #6707 from electron/auto-run-micro-tasks
...
Revert Node's call of SetAutorunMicrotasks(false)
2016-08-03 18:14:01 +09:00
Cheng Zhao
1445ea8baf
Revert Node's call of SetAutorunMicrotasks(false)
2016-08-03 17:57:10 +09:00
sairoutine
cdeef7c20a
📝 japanese: add atom-shell-vs-node-webkit.md [ci skip]
2016-08-03 17:21:30 +09:00
Cheng Zhao
617820dfc2
Merge pull request #6705 from electron/remove-view-painted
...
Remove the view-painted event
2016-08-03 16:55:48 +09:00
Cheng Zhao
5dabc47440
Remove the view-painted event
2016-08-03 16:20:55 +09:00
Cheng Zhao
1e4c83eb93
Cleanup atom_api_system_preferences_mac.mm
2016-08-03 16:13:51 +09:00
Cheng Zhao
322fb97d8d
Merge pull request #6686 from darkdh/swipe_prefs
...
Swipe back/forward should respect system preferences
2016-08-03 16:10:29 +09:00
Cheng Zhao
b9bcba7abe
docs: Do not repeat processes for multiple times in menu.md
2016-08-03 16:08:54 +09:00
Cheng Zhao
163a6bd5c5
Merge pull request #6700 from calidion/patch-1
...
Update menu.md
2016-08-03 16:00:52 +09:00
Cheng Zhao
53831d71e3
Merge pull request #6703 from electron/merge-offscreen
...
Merge #6691
2016-08-03 15:58:31 +09:00
Cheng Zhao
2e8ccfd8df
Add Offscreen Rendering to guides
2016-08-03 15:38:24 +09:00
Cheng Zhao
1f41e22614
Put constants in annoymouse namespace
2016-08-03 14:09:38 +09:00
Cheng Zhao
82da3b6c66
Fix accidentally changed lines
2016-08-03 14:03:57 +09:00
Cheng Zhao
4d85c1a557
Refactor osr_render_widget_host_view
2016-08-03 13:53:11 +09:00
Cheng Zhao
ea8ea1543f
Refactor osr_output_device
2016-08-03 13:06:38 +09:00
Cheng Zhao
9d8e510a55
Refactor the code in atom_api_web_contents
2016-08-03 13:06:34 +09:00
Cheng Zhao
921aaf9aa3
Move osr related files to atom/browser/osr
2016-08-03 13:05:47 +09:00
Anthony Tseng
e0c0e3e5f7
Add IsSwipeTrackingFromScrollEventsEnabled in system prefs
2016-08-03 10:27:56 +08:00
Eric
5ae112677b
Update menu.md
...
1. add difference notice
2. changed `render process` to `main process`
2016-08-03 10:10:56 +08:00
Cheng Zhao
b0e36ec93a
Revert unnecessary changes
2016-08-03 10:48:07 +09:00
Cheng Zhao
aefd99ec7f
Only enable kEnableBeginFrameScheduling for offscreen
...
It has effects on performance and only gets turned on after Chrome 54.
2016-08-03 10:40:12 +09:00
Cheng Zhao
63c34f3dcf
docs: Use app.disableHardwareAcceleration() instead of --disable-gpu
...
The --disable-gpu switch does not work when passed with `appendSwitch`.
2016-08-03 10:32:29 +09:00
Cheng Zhao
c8b544ee1f
spec: Remove duplicate code in tests
2016-08-03 10:27:55 +09:00
Cheng Zhao
ba9aa13bd8
Fix lint warnings in documentations
2016-08-03 10:15:38 +09:00
Cheng Zhao
d8a030fa9b
Revert the change on default_app
2016-08-03 10:13:32 +09:00
Cheng Zhao
7b34b8d183
Update libchromiumcontent for offscreen patches
2016-08-03 10:12:41 +09:00
Cheng Zhao
c68e9cb595
Use electron/brightray
2016-08-03 10:10:58 +09:00
Cheng Zhao
363fabdcb4
Merge branch 'offscreen-rendering' of https://github.com/MaxWhere/electron into merge-offscreen
2016-08-03 10:09:48 +09:00
Cheng Zhao
e644e883ba
Merge pull request #243 from MaxWhere/master
...
Offscreen rendering support for Electron
2016-08-03 09:24:31 +09:00
Cheng Zhao
1fa18aeba2
Merge pull request #6693 from sairoutine/jpdocs
...
Japanese: add coding-style.md
2016-08-03 08:30:32 +09:00
Cheng Zhao
549aa59d18
Merge pull request #6694 from ssdong/fixed_typo_in_chinese_doc_translation
...
fixed typo in simplified chinese doc translation
2016-08-03 08:30:18 +09:00
Electron Bot
6c7d426b2c
Update to Electron v1.3.2
2016-08-02 16:27:38 -07:00
Cheng Zhao
59076711cb
Bump v1.3.2
2016-08-03 07:18:31 +09:00
Susu Dong (LCL)
ddb7b5cff9
fixed typo in simplified chinese doc translation
2016-08-02 15:21:49 -04:00
sairoutine
93e37a92a2
📝 Japanese: add coding-style.md [ci skip]
2016-08-03 03:21:22 +09:00
gellert
1663a9cd13
fixes linendings
2016-08-02 19:31:30 +02:00
Kevin Sawicki
820f3968aa
Merge pull request #6677 from miniak/default-app-menu
...
Add zooming commands to menu in default app
2016-08-02 10:27:56 -07:00
Milan Burda
87c9926fe8
Move Toggle Fullscreen to the bottom of the View menu
2016-08-02 18:08:41 +02:00
Milan Burda
2e043453c0
Add zooming commands to menu (default app)
2016-08-02 18:08:35 +02:00
gellert
362f3deb93
fixes linting
2016-08-02 16:39:07 +02:00
gellert
9872fa0f52
restoring default app
2016-08-02 15:17:50 +02:00
gellert
8eed91d87a
Merge remote-tracking branch 'upstream/master' into speedup-gpu
2016-08-02 14:59:03 +02:00
Cheng Zhao
217156f76c
Update libchromiumcontent: close #6668
2016-08-02 21:38:34 +09:00
Cheng Zhao
91169396f6
Merge pull request #6688 from electron/constructor-refactor
...
Use FunctionTemplate instead of ObjectTemplate for native classes
2016-08-02 21:37:56 +09:00
Cheng Zhao
8c0a033b6f
Fix lint errors of using __proto__
2016-08-02 21:02:28 +09:00
Cheng Zhao
edb573d69e
Make WebContents inherit NavigationController
2016-08-02 20:55:56 +09:00
Cheng Zhao
025034127a
Set JavaScript APIs on prototype of WebContents
2016-08-02 20:52:07 +09:00
Cheng Zhao
844f32aa36
Set prototype of constructor directly
2016-08-02 20:38:35 +09:00
Heilig Benedek
4088f0eb33
remove unneeded windows specific things
2016-08-02 12:57:23 +02:00
Heilig Benedek
9068182664
small fixes
2016-08-02 12:56:03 +02:00
Cheng Zhao
8c3232dc56
Every native class now gets a name
2016-08-02 19:28:12 +09:00
Cheng Zhao
fa483e1fe0
Do not set constructor name in SetConstructor
2016-08-02 19:27:58 +09:00
Cheng Zhao
cb19efe49c
Pass FunctionTemplate in BuildPrototype
2016-08-02 18:08:12 +09:00
Cheng Zhao
895b8b47ee
Save the prototype of EventEmitter
2016-08-02 18:07:58 +09:00
Cheng Zhao
4dbe051494
Pass FunctionTemplate in BuildPrototype
2016-08-02 18:06:20 +09:00
Cheng Zhao
892026458d
Cleanup init.js
2016-08-02 17:45:46 +09:00
Cheng Zhao
8f62e79243
GetConstructor now returns FunctionTemplate
2016-08-02 17:20:58 +09:00
Cheng Zhao
3a7a6efffb
GetConstructor should init default constructor
2016-08-02 17:20:41 +09:00
Cheng Zhao
6e0cde5b24
All native objects have prototype now
2016-08-02 17:12:17 +09:00
Cheng Zhao
8cd4612fe0
Get rid of Constructor class
2016-08-02 17:02:04 +09:00
Cheng Zhao
2d26eebca8
Remove the Constructor class
2016-08-02 17:01:19 +09:00
Cheng Zhao
a259d10bcb
NewOperatorFactory is not used
2016-08-02 16:20:29 +09:00
Cheng Zhao
0a48af9ff7
Create objects from InstanceTemplate
2016-08-02 16:08:00 +09:00
Cheng Zhao
d55c3c5030
Turn Wrappable into using FunctionTemplate
2016-08-02 15:56:47 +09:00
Cheng Zhao
846ec5ba49
AttachAsUserData now can assume the existence of wrapper
2016-08-02 15:28:32 +09:00
Cheng Zhao
ab62755a88
Make InitWith virtual
2016-08-02 15:28:09 +09:00
Cheng Zhao
1505a46ed0
Do not rely on Constructor to call Init
...
This makes it deterministic when the JavaScript is initialized, which
can make our logic more clear.
2016-08-02 15:15:40 +09:00
Cheng Zhao
bd20bde1a2
Call the user call Init in Constructor
2016-08-02 15:14:48 +09:00
Cheng Zhao
84bb82866d
docs: the callbacks
2016-08-02 14:44:06 +09:00
Cheng Zhao
56b1abd64a
Merge pull request #6685 from electron/document-contents-zoom
...
Implement and Document the zoom methods that are mapped to the webContents object
2016-08-02 14:41:09 +09:00
Cheng Zhao
7ac28b53e6
Merge pull request #6683 from gabriel/master
...
Add isVisible() to app.dock
2016-08-02 12:33:36 +09:00
Cheng Zhao
2330f927ed
Merge pull request #6684 from electron/felix-debugging-link-fix
...
Fix link to macOS Debugging Instructions
2016-08-02 12:19:05 +09:00
Anthony Tseng
beca2d26f3
Swipe back/forward should respect system preferences
2016-08-02 11:18:46 +08:00
Samuel Attard
a498cf5b79
Fix linting issues
2016-08-02 13:13:17 +10:00
Samuel Attard
b59f37de98
Document the async versions of getZoomFactor and getZoomLevel
2016-08-02 13:04:21 +10:00
Samuel Attard
e4f6083753
Implement asynchronous versions of getZoomFactor and GetZoomLevel on the webContents object
2016-08-02 13:02:55 +10:00
Samuel Attard
a1f5ca1ad2
Document the zoom methods that are mapped to the webContents object
2016-08-02 12:28:13 +10:00
Felix Rieseberg
c36bcf47d3
📝 Fix link to macOS Debugging Instructions
2016-08-01 19:15:03 -07:00
Cheng Zhao
f8025d95b8
Merge pull request #6678 from sairoutine/jpdocs
...
Japanese: add system-preferences.md
2016-08-02 09:31:39 +09:00
Cheng Zhao
f7150228d8
Merge pull request #6675 from miniak/docs-ico-sizes
...
docs: Improve ICO size list
2016-08-02 09:31:19 +09:00
Gabriel Handford
7bde92deb9
Add isVisible() to app.dock
2016-08-01 15:22:37 -07:00
sairoutine
0e6c2f9971
📝 Japanese: add system-preferences.md [ci skip]
2016-08-01 23:43:07 +09:00
Cheng Zhao
eb73303f28
Merge pull request #6676 from electron/fix-upload
...
Fix a few errors when running the script to upload checksum files
2016-08-01 22:54:10 +09:00
Cheng Zhao
9765599b49
Must pass unicode to StringIO
2016-08-01 22:08:52 +09:00
Cheng Zhao
94a17bb494
Use spaces between checksum and filename
2016-08-01 22:08:52 +09:00
Cheng Zhao
217b639597
Fix filename when uploading to github
2016-08-01 22:08:52 +09:00
Cheng Zhao
c943e4a61f
Fix error in run_boto_script
2016-08-01 22:08:52 +09:00
Cheng Zhao
d00bff4d94
Fix error of run_python_script
2016-08-01 21:41:55 +09:00
Cheng Zhao
079a7a1a1c
Do not put the upload logic in make_zip
2016-08-01 21:16:16 +09:00
Cheng Zhao
8f75f10239
Merge pull request #6588 from malept/dist-checksums
...
Generate and upload checksums for released ZIPs to GitHub
2016-08-01 20:47:07 +09:00
Cheng Zhao
d56057b186
Merge pull request #6674 from electron/session-no-gc
...
Do not garbage collect sessions
2016-08-01 20:40:55 +09:00
gellert
935d47d83e
Merge branch 'speedup-gpu' of https://github.com/MaxWhere/electron into speedup-gpu
2016-08-01 13:28:12 +02:00
gellert
56f5749675
adds transparency
2016-08-01 13:27:39 +02:00
Cheng Zhao
e1152ae96c
Remove usages of linked_ptr
...
It is no longer needed since we now have move semantic.
2016-08-01 20:26:06 +09:00
Heilig Benedek
a4a2579423
brightray commit update
2016-08-01 13:22:16 +02:00
Heilig Benedek
bc5fff148e
Merge branch 'master' of https://github.com/MaxWhere/brightray
2016-08-01 13:16:57 +02:00
Milan Burda
e7322edb3a
docs: Improve ICO size list
2016-08-01 13:13:40 +02:00
Cheng Zhao
ffed3e9c0c
Move the code to native
2016-08-01 20:11:17 +09:00
Cheng Zhao
d23d9dcf01
Do not garbage collect sessions
2016-08-01 19:35:51 +09:00
gellert
36918250ec
a possible fix for dragging
2016-08-01 12:06:46 +02:00
gellert
439ad94afe
Merge remote-tracking branch 'upstream/master' into speedup-gpu
2016-08-01 12:00:34 +02:00
Mark Lee
59de146a9f
Use S3 as an intermediary store & merge shasum files before uploading to GitHub
2016-07-31 19:25:26 -07:00
Mark Lee
5b07154b8e
Generate and upload checksums for released ZIPs to GitHub
...
When generating an Electron release, create a `sha256sum`-compatible
file for each ZIP file, and upload them to the corresponding GitHub release.
This is primarily to confirm that the download of a given ZIP completed
successfully, as opposed to verifying that an Electron team member uploaded
the given ZIP files (which would require using a trusted GPG key).
2016-07-31 19:00:57 -07:00
Cheng Zhao
01ebc77228
Fix styling issues
2016-08-01 09:58:33 +09:00
Cheng Zhao
fb76aaac39
Merge pull request #6667 from liusy182/restore-issue
...
fix maximize restore issue caused by restore window size change
2016-08-01 09:56:08 +09:00
Cheng Zhao
1d33275374
Merge pull request #6661 from MaxWhere/minor-fixes
...
A minor fix for sendInputEvent and improvements related to cursor-changed event
2016-08-01 09:45:41 +09:00
Heilig Benedek
c39ded0481
Merge branch 'speedup-gpu' of https://github.com/MaxWhere/electron into speedup-gpu
2016-08-01 02:18:37 +02:00
Heilig Benedek
0eacee0058
add documentation for changes
2016-08-01 02:18:19 +02:00
Heilig Benedek
64f220fb50
fix UTF character sending as suggested by @zcbenz
2016-08-01 02:18:07 +02:00
Heilig Benedek
bc9adcd5ca
fix toBUFFER naming issue and cursor-changed parameter order
2016-08-01 02:17:49 +02:00
Heilig Benedek
2b05be64b4
add documentation for changes
2016-08-01 02:14:45 +02:00
Heilig Benedek
7a471e1ab7
fix UTF character sending as suggested by @zcbenz
2016-08-01 02:14:11 +02:00
Heilig Benedek
bc7c5c567c
fix toBUFFER naming issue and cursor-changed parameter order
2016-08-01 02:13:31 +02:00
Cheng Zhao
3d47ab20c2
Merge pull request #6663 from simonmysun/patch-1
...
Typo fix
2016-08-01 08:45:15 +09:00
Cheng Zhao
feb8a4b905
Merge pull request #6662 from sairoutine/jpdocs
...
Japanese: add testing-on-headless-ci.md
2016-08-01 08:44:54 +09:00
gellert
8e1214fc3a
paint toggling fix cleanup
2016-08-01 01:01:55 +02:00
gellert
aac5fb0377
fixes paint toggling, for real tho hopefully
2016-08-01 00:47:53 +02:00
gellert
690ca7ec2a
filtering out offscreen webcontents in getAllWebcontents call
2016-07-31 22:06:34 +02:00
gellert
1cd1c5e01c
fixes paint toggling
2016-07-31 22:05:36 +02:00
Heilig Benedek
0098d5bca7
Hide when not painting + cursor event fix
2016-07-31 18:40:35 +02:00
gellert
35ee99265e
adds tests for osr
2016-07-31 17:10:53 +02:00
liusi
db671702df
fix maximize restore issue caused by restore window size change
2016-07-31 21:49:54 +08:00
gellert
5525ac36b8
does linting
2016-07-31 12:19:56 +02:00
孙茂胤
1d5a126135
Typo fix
2016-07-31 16:11:03 +08:00
sairoutine
a77a83761f
📝 Japanese: add testing-on-headless-ci.md [ci skip]
2016-07-31 17:05:13 +09:00
Heilig Benedek
f3b723c9fa
Send some more data with the cursor-changed event
2016-07-31 05:24:54 +02:00
Heilig Benedek
21962be60e
Adds option to get raw data from NativeImage
2016-07-31 05:24:44 +02:00
Heilig Benedek
af80b9a7df
Fixes not being able to send UTF8 characters anymore
2016-07-31 05:24:28 +02:00
Heilig Benedek
015516497c
Merge pull request #13 from electron/master
...
update as upstream
2016-07-31 05:19:43 +02:00
Heilig Benedek
0a349ef16c
remove fpscounter, can be enabled from node
2016-07-31 05:13:29 +02:00
Heilig Benedek
3e7ff466cd
Merge branch 'speedup-gpu' of https://github.com/MaxWhere/electron into speedup-gpu
2016-07-31 05:12:34 +02:00
Heilig Benedek
3a1285aeac
Send some more data with the cursor-changed event
2016-07-31 05:11:56 +02:00
Heilig Benedek
d0bda76a2d
Adds option to get raw data from NativeImage
2016-07-31 05:11:18 +02:00
Heilig Benedek
94e52f0738
Fixes not being able to send UTF8 characters anymore
2016-07-31 05:10:14 +02:00
gellert
092fc92cb8
adds tutorial
2016-07-31 00:47:08 +02:00
gellert
f60d791fa8
adds docs for osr
2016-07-31 00:22:34 +02:00
gellert
e4000850cd
head part updates
2016-07-30 21:35:14 +02:00
gellert
916063f370
handles destroyed renderer process
2016-07-30 21:25:49 +02:00
gellert
976277ffbf
webcontentsview cleanup
2016-07-30 20:39:17 +02:00
gellert
6486d80f87
api impl + cleanups + stability improvements
2016-07-30 15:40:16 +02:00
Cheng Zhao
a769996b8d
Merge pull request #6641 from electron/felix-macos-debugging
...
Add debugging instructions for macOS
2016-07-30 11:55:05 +09:00
gellert
2190c4dd8d
adds destructors + more code cleanup
2016-07-30 00:51:19 +02:00
Heilig Benedek
70656dc991
revert framesubscription
2016-07-29 19:54:35 +02:00
Zeke Sikelianos
5c0edc55a8
update issue template to help avoid misfiled issues
2016-07-29 10:25:18 -07:00
Zeke Sikelianos
9627ad923b
update repo url in contributing.md
2016-07-29 10:25:03 -07:00
Felix Rieseberg
ab69ae07b7
📝 Add debugging instructions for macOS
...
I already wrote up debugging instructions for Windows, but never got
around to writing them for macOS - until now! This adds a very basic
introduction to LLDB from the command line, which should empower people
to figure out what’s happening inside Electron when they call an
Electron method from JavaScript.
2016-07-29 10:19:58 -07:00
Cheng Zhao
67ef47104f
Merge pull request #6649 from miniak/docs-fix
...
docs: fix argument types
2016-07-29 22:51:26 +09:00
gellert
6abf7475b8
cleaning up osr pt1
2016-07-29 14:50:27 +02:00
Milan Burda
e428d5db4f
docs: fix argument types
2016-07-29 11:56:32 +02:00
Cheng Zhao
ea6e6dab8c
Merge pull request #6644 from electron/webcontents-is-focused-crash
...
Check view before checking top level native window
2016-07-29 11:08:11 +09:00
Cheng Zhao
6bb342ef2a
Merge pull request #6646 from electron/linux-200
...
Load 200 DPI resources on Linux
2016-07-29 11:07:23 +09:00
Cheng Zhao
5643feabc3
Load 200 DPI resources on Linux
2016-07-29 10:51:31 +09:00
Cheng Zhao
10ea1606df
Load 200 DPI resources on Linux
2016-07-29 10:50:48 +09:00
Cheng Zhao
72612ed2f5
Merge pull request #6637 from electron/check-window-class
...
Check that window is an EventDispatchingWindow
2016-07-29 10:42:36 +09:00
Cheng Zhao
e5e4c53b1e
Merge pull request #6645 from electron/ico-125
...
Update ico to include sizes for 125% DPI
2016-07-29 10:33:55 +09:00
Cheng Zhao
5e7ee675f7
Update ico to include sizes for 125% DPI
2016-07-29 10:32:48 +09:00
Cheng Zhao
8bf30ace4b
Merge pull request #6636 from yuya-oc/docs-win32-icon
...
docs: Add recommended sizes for Windows ICO icons
2016-07-29 10:11:05 +09:00
Cheng Zhao
6d3120b05c
Merge pull request #6626 from Starefossen/patch-1
...
docs: mention app ready event for DevTools Extension tutorial
2016-07-29 10:02:01 +09:00
Heilig Benedek
fdff60132c
update brightray commit
2016-07-29 01:48:29 +02:00
Heilig Benedek
f28fb3838c
add gl2chromium headers too direct dependent settings so we don't have to copy anymore : )
2016-07-29 01:17:59 +02:00
Kevin Sawicki
5982e3a75e
Fix typo in comment
2016-07-28 15:48:01 -07:00
Kevin Sawicki
bd2ce5327c
Return early when render widget host view is null
2016-07-28 15:47:52 -07:00
Kevin Sawicki
7dc95671cd
Tweak unknown platform error message
2016-07-28 13:47:03 -07:00
Heilig Benedek
ab38e7700f
brightray url update
2016-07-28 22:18:21 +02:00
Zeke Sikelianos
e2f3f6828c
add a note about the name change
2016-07-28 10:52:05 -07:00
Zeke Sikelianos
0733ec9758
update links in readme intro
2016-07-28 10:51:46 -07:00
Zeke Sikelianos
11fc32b59b
electron moved to the electron org
2016-07-28 10:44:20 -07:00
Zeke Sikelianos
0946859d1e
update docs to use new electron package name
2016-07-28 10:44:20 -07:00
Zeke Sikelianos
675a47b42c
Merge pull request #169 from electron-userland/clean-up-package-json
...
clean up package.json
2016-07-28 10:26:14 -07:00
Zeke Sikelianos
216714f27a
clean up package.json
2016-07-28 10:12:50 -07:00
Zeke Sikelianos
e8f5d30bad
Merge pull request #168 from electron-userland/rename-npm-package-to-electron
...
change npm package name to `electron`
2016-07-28 09:23:40 -07:00
Zeke Sikelianos
a14acd2134
change npm package name to electron
2016-07-28 09:06:23 -07:00
Kevin Sawicki
5eaae8136e
Check that window is an EventDispatchingWindow
2016-07-28 08:48:56 -07:00
Yuya Ochiai
29d66eb0d0
📝 Add recommended sizes for Windows ICO icons
...
For #6396
Please refer to https://msdn.microsoft.com/en-us/library/windows/desktop/dn742485(v=vs.85).aspx
[ci skip]
2016-07-28 23:22:41 +09:00
Heilig Benedek
7b61c5c9d0
removed some junk and added offscreen webcontents type
2016-07-28 12:10:56 +02:00
Cheng Zhao
b790ad6c1a
Merge pull request #6631 from amor520/master
...
update Prerequisites
2016-07-28 18:07:33 +09:00
amor
46e707fd6d
update Prerequisites
2016-07-28 15:01:36 +08:00
Cheng Zhao
e73bd00854
Merge pull request #6629 from electron/download-item-get-save-path
...
Set download item save path to selected path from dialog
2016-07-28 15:23:43 +09:00
Kevin Sawicki
55d6e0de1a
Assert save path of download item
2016-07-27 17:52:36 -07:00
Kevin Sawicki
4e9b19074f
Make downloadItem.getSavePath() public
2016-07-27 17:33:36 -07:00
Kevin Sawicki
0ad8c66b65
Use selected dialog path as item save path
2016-07-27 17:31:26 -07:00
Heilig Benedek
97b153fce6
fix for offscreen and added khronos
2016-07-28 02:11:57 +02:00
Heilig Benedek
ecef83f8f5
added khronos and fix for offscreen
2016-07-28 02:07:37 +02:00
Heilig Benedek
0dbe4bc417
api base
2016-07-28 01:58:23 +02:00
Cheng Zhao
bf20bbc247
Merge pull request #6623 from electron/shortcut
...
Add shell.writeShortcutLink/readShortcutLink APIs
2016-07-28 08:48:52 +09:00
Kevin Sawicki
34f33c3b45
Merge pull request #6627 from davej/patch-1
...
docs: Explain how to use highlightMode with BrowserWindow
2016-07-27 15:57:34 -07:00
DaveJ
42640b6170
docs: Add click handler to tray window example
2016-07-27 23:56:00 +01:00
DaveJ
322fe36dea
docs: Fix undefined variables
2016-07-27 23:23:26 +01:00
Dave Jeffery
4823b5582f
docs: Explain how to use highlightMode with BrowserWindow
...
As discussed on https://github.com/electron/electron/pull/6620
2016-07-27 21:35:13 +01:00
Hans Kristian Flaatten
ba2b8c8d3e
docs: mention app ready event for DevTools Extension tutorial
2016-07-27 22:01:01 +02:00
gellert
c45d9555e7
cleans up class names
2016-07-27 20:31:03 +02:00
gellert
f90e62a7a5
apply fixes
2016-07-27 19:59:01 +02:00
gellert
6e1db86a77
fixes software output device rendering
2016-07-27 19:44:41 +02:00
Heilig Benedek
221714e141
added onpaint to software path
2016-07-27 19:19:53 +02:00
Heilig Benedek
783c9d9218
Merge branch 'speedup-gpu' of https://github.com/MaxWhere/electron into speedup-gpu
2016-07-27 18:25:28 +02:00
Heilig Benedek
da5c95710f
software bump
2016-07-27 18:24:58 +02:00
gellert
d0bd4816cb
adds tracing calls and osx fix
2016-07-27 18:02:54 +02:00
Heilig Benedek
a39bb35744
use electron nativewindow
2016-07-27 14:36:22 +02:00
Cheng Zhao
242ce4f818
Fix building on non-Windows
2016-07-27 19:55:05 +09:00
Cheng Zhao
ac8a490d56
Fix lint warnings
2016-07-27 19:51:16 +09:00
Cheng Zhao
eadffc6db8
docs: icon and iconIndex have to be set together
2016-07-27 19:49:17 +09:00
Cheng Zhao
57dbf284c1
spec: shell.writeShortcutLink/readShortcutLink
2016-07-27 19:43:11 +09:00
Cheng Zhao
d6234e11df
docs: shell.writeShortcutLink/readShortcutLink
2016-07-27 16:47:24 +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
Cheng Zhao
7f3443b138
Add shell.writeShortcutLink/readShortcutLink
2016-07-27 16:16:21 +09:00
=^._.^=
b562ad9484
Update to Electron v1.3.1
2016-07-26 22:47:36 -07:00
Cheng Zhao
367f94aa76
Bump v1.3.1
2016-07-27 13:21:17 +09:00
Cheng Zhao
1e61743242
Merge pull request #6602 from electron/appusermodelid-remove-spaces
...
Remove all spaces from potential appUserModelID as it isn't allowed by the spec
2016-07-27 10:53:52 +09:00
Cheng Zhao
b8bafbc5a3
Merge pull request #6620 from electron/tray-highlight-toggle
...
Add option to always highlight the tray icon
2016-07-27 10:49:38 +09:00
Cheng Zhao
99b523176b
Merge pull request #6619 from electron/web-contents-copy-image-at
...
Add webContents.copyImageAt(x, y)
2016-07-27 10:15:38 +09:00
Cheng Zhao
7994f087fb
Merge pull request #6618 from electron/code-range-registration
...
Only register code range in Windows crash reporter once
2016-07-27 09:52:18 +09:00
Cheng Zhao
4dc8e90586
Merge pull request #6603 from electron/standard-markdown
...
Standardize JavaScript code snippets in the documentation
2016-07-27 09:36:44 +09:00
Cheng Zhao
0bfd31e7cb
Update brightray for #6613
2016-07-27 08:53:55 +09:00
Cheng Zhao
b3530a55a9
Merge pull request #6613 from deepak1556/pref_init_patch
...
browser: initialize pref registry in brightray
2016-07-27 08:53:33 +09:00
Cheng Zhao
c00dfcdd6a
Merge pull request #239 from deepak1556/pref_init_patch
...
bring back fix from #152
2016-07-27 08:53:23 +09:00
Samuel Attard
9f0299cc31
Use better regex to match spaces
2016-07-27 09:38:49 +10:00
Kevin Sawicki
c4e743d207
Add TODO to deprecate boolean param
2016-07-26 14:18:15 -07:00
Kevin Sawicki
8e1de88512
Correct typo in variable name
2016-07-26 14:17:41 -07:00
Kevin Sawicki
0ff6b87f8c
Update tray.setHighlightMode docs
2016-07-26 13:59:19 -07:00
Kevin Sawicki
b2f9cce297
Add option to always highlight the tray icon
2016-07-26 13:51:43 -07:00
Kevin Sawicki
31564f079f
Document webContents.copyImageAt(x,y)
2016-07-26 12:08:05 -07:00
Kevin Sawicki
bde432b64d
Add webContents.copyImageAt
2016-07-26 12:06:11 -07:00
Kevin Sawicki
7a1b796dd0
Change registered flag from InitBreakpad
2016-07-26 10:54:30 -07:00
Kevin Sawicki
3279f5c80a
Add spec for starting crash reporter twice
2016-07-26 10:43:57 -07:00
Kevin Sawicki
8956388804
Only register code range once
2016-07-26 10:40:11 -07:00
Zeke Sikelianos
c3f26df577
standardize electron-capturer doc snippets
2016-07-26 09:49:02 -07:00
Zeke Sikelianos
c38f505001
update standard-markdown to use linux-friendly local require statements
2016-07-26 09:48:19 -07:00
Zeke Sikelianos
3a16a9b0bf
update to standard-markdown with node 0.10 support
2016-07-26 09:48:19 -07:00
Zeke Sikelianos
784bee8faa
update npm run lint to include docs
2016-07-26 09:48:19 -07:00
Zeke Sikelianos
06a354a2eb
standardize all javascript blocks in English docs
2016-07-26 09:48:19 -07:00
Zeke Sikelianos
dd9935a9d7
add npm script to lint all javascript blocks in the docs using standard
2016-07-26 09:47:16 -07:00
gellert
8392ece321
updates impl to newer version of chromium
2016-07-26 16:52:43 +02:00
deepak1556
e65bc481a8
browser: initialize pref registry in brightray
2016-07-26 16:34:04 +05:30
deepak1556
de692c9896
bring back fix from #152
2016-07-26 16:32:14 +05:30
Cheng Zhao
7c1f48808b
Merge pull request #6612 from electron/cc-cxx
...
Do not overwrite CC and CXX in bootstrap
2016-07-26 19:55:25 +09:00
Cheng Zhao
7d11912a03
No more need to overwrite env when running update.py
2016-07-26 19:24:58 +09:00
Cheng Zhao
49181403ef
Ignore CC and CXX in env
2016-07-26 19:24:28 +09:00
Cheng Zhao
0cdd764161
Merge pull request #6609 from electron/msvs
...
Add --msvs parameter to bootstrap.py
2016-07-26 19:03:25 +09:00
Cheng Zhao
89de791e9d
docs: Mention the --msvs
2016-07-26 17:42:12 +09:00
Cheng Zhao
b34deb1d2f
docs: x64 is the default build
2016-07-26 17:40:58 +09:00
Cheng Zhao
9bf3150237
Add --msvs parameter to bootstrap.py
2016-07-26 17:38:31 +09:00
Cheng Zhao
a4d983c236
Merge pull request #6607 from enlight/patch-4
...
Normalize string quotes in desktopCapturer docs
2016-07-26 16:29:01 +09:00
Cheng Zhao
61d16d5caa
Merge pull request #6606 from electron/font-settings
...
Set page's font settings with system settings
2016-07-26 14:11:20 +09:00
Vadim Macagon
6cc68638e7
Normalize string quotes in desktopCapturer docs
...
Missed one string in my previous PR :(
2016-07-26 11:57:39 +07:00
Cheng Zhao
2b0cd97bb8
Merge pull request #6593 from enlight/improved-desktop-capturer-docs
...
Improve readability, and add a link to the navigator.getUserMedia API
2016-07-26 13:35:54 +09:00
Cheng Zhao
d2ce50e3dd
c++11 styling
2016-07-26 13:32:17 +09:00
Cheng Zhao
0da1a772be
Set page's font settings with system settings
2016-07-26 13:29:27 +09:00
Vadim Macagon
89309244b5
Improve the desktopCapturer docs
...
Made minor improvements to readability, and added a link to the
`navigator.getUserMedia` docs on MDN for convenience.
2016-07-26 10:48:38 +07:00
Cheng Zhao
8d941a6559
Merge pull request #6566 from electron/win-autoupdater-es6
...
Move autoUpdater to ES6
2016-07-26 12:46:00 +09:00
Cheng Zhao
b139d5ad1c
Merge pull request #6598 from electron/fs-access-asar
...
Add asar implementation of fs.access/accessSync
2016-07-26 12:42:59 +09:00
Cheng Zhao
7b6d74fdc2
Merge pull request #6596 from liusy182/restore-issue
...
Window position doesn't restore correctly minimize and restore window
2016-07-26 11:21:59 +09:00
Cheng Zhao
c70ec47138
Merge pull request #6595 from lukeapage/patch-8
...
Clarify the default arguments for Menu popup
2016-07-26 11:16:57 +09:00
Samuel Attard
12dba2cb67
Remove all spaces from potential appUserModelID as it isn't allowed by the spec
2016-07-26 11:44:01 +10:00
Samuel Attard
20e26a9639
Move auto-updater-win to ES6
2016-07-26 11:40:55 +10:00
Kevin Sawicki
c730800f0c
Merge pull request #6601 from feross/master
...
Fix test for PR #6600
2016-07-25 17:45:50 -07:00
Feross Aboukhadijeh
9bc144c880
Fix test for PR #6600
...
Just realized that the tests don't pass after my PR. This fixes that :)
2016-07-25 17:27:45 -07:00
Kevin Sawicki
8c7d28de27
Merge pull request #6600 from feross/master
...
MenuItem: Use 'Close Window' for 'close' role label
2016-07-25 15:21:05 -07:00
Feross Aboukhadijeh
d6a7ced32c
MenuItem: Use 'Close Window' for 'close' role label
...
On OS X, the standard label that's used for the 'close' role is 'Close
Window'. You can see this in the default macOS apps from Apple.
2016-07-25 15:13:17 -07:00
gellert
9d83ce1676
resolves
2016-07-25 21:09:49 +02:00
Kevin Sawicki
b627b8711a
Add spec for accessing normal files
2016-07-25 11:17:40 -07:00
Kevin Sawicki
8eca019157
Support paths as Buffers
2016-07-25 11:10:36 -07:00
Kevin Sawicki
30fbe92970
Add asar-supported fs.accessSync implementation
2016-07-25 11:05:18 -07:00
gellert
8fb7872b84
removes logs and adds webcontentsview init
2016-07-25 19:58:21 +02:00
gellert
0ad0c79202
adds beginframe scheduling
2016-07-25 19:58:14 +02:00
Kevin Sawicki
3ad5504194
Add asar-supported fs.access implementation
2016-07-25 10:50:30 -07:00
gellert
9e10f211d7
removes commented includes
2016-07-25 19:44:44 +02:00
gellert
8090278708
breaks down osr api to separate files
2016-07-25 19:44:44 +02:00
gellert
14836cef02
using damage_rect
2016-07-25 19:44:44 +02:00
gellert
96e1ba9c14
gpu acclereted osr added
2016-07-25 19:44:44 +02:00
Heilig Benedek
5371921f8a
speed(up) bump
2016-07-25 19:44:44 +02:00
Heilig Benedek
4a0f0063a0
speedup base
2016-07-25 19:44:44 +02:00
Kevin Sawicki
a518c47f4c
Use let/const instead of var
2016-07-25 10:43:38 -07:00
liusi
8129c27a4a
Merge branch 'master' of https://github.com/electron/electron into restore-issue
2016-07-25 22:53:18 +08:00
liusi
2cc01eea30
issue 6574 - Window position doesn't restore correctly
2016-07-25 22:51:27 +08:00
gellert
6eba509d53
removes logs and adds webcontentsview init
2016-07-25 15:55:00 +02:00
Luke Page
c365aa85c2
Clarify the default arguments for popup
...
The null / -1 defaults weren't very helpful, so changed to follow other documentation and write the behaviour if that param is missing.
2016-07-25 13:57:38 +02:00
Cheng Zhao
729b84f2ca
Merge pull request #6576 from electron/browser-window-proxy-docs
...
Fix BrowserWindowProxy documentation
2016-07-25 16:55:49 +09:00
Cheng Zhao
66086880e2
Merge pull request #6575 from electron/asar-doc-fixes
...
fix wording in asar doc
2016-07-25 16:55:20 +09:00
Cheng Zhao
a30997867f
Merge pull request #6573 from electron/native-image-doc
...
Fix documentation for NativeImage
2016-07-25 16:55:09 +09:00
Cheng Zhao
72c4952907
Merge pull request #6590 from electron/reliable-typed-array
...
Use ArrayBuffer.isView to detect Buffer and ArrayBuffer
2016-07-25 16:54:54 +09:00
Cheng Zhao
7a61966423
Use deepEqual for comparing type arrays
2016-07-25 16:41:20 +09:00
Cheng Zhao
9ddb62c42a
Use Buffer.from instead of deprecated new Buffer
2016-07-25 16:40:22 +09:00
Cheng Zhao
1c9421bc89
Use ArrayBuffer.isView to detect Buffer and ArrayBuffer
2016-07-25 16:39:09 +09:00
Cheng Zhao
eb51e080e5
spec: TypeArray should work in remote
2016-07-25 16:30:40 +09:00
Cheng Zhao
200d09cc70
Merge pull request #6572 from haadcode/master
...
Add support for TypedArrays in IPC.
2016-07-25 16:22:29 +09:00
Cheng Zhao
fb251ac09b
Update brightray for #6156
2016-07-25 16:08:38 +09:00
Cheng Zhao
f3b85e915d
Merge pull request #238 from deepak1556/devtools_file_input_patch
...
allow delegate to handle file and color chooser
2016-07-25 16:07:57 +09:00
Cheng Zhao
e95da6ad1b
Merge pull request #6565 from TiagoDanin/Update-Doc
...
Update docs-translations
2016-07-25 16:05:04 +09:00
Cheng Zhao
fd8cc63ca9
Merge pull request #6558 from deepak1556/session_proxy_patch
...
session: add proxyBypassRules option to setProxy api
2016-07-25 16:03:50 +09:00
Cheng Zhao
c497765dea
Merge pull request #6524 from liusy182/painted-event-6426
...
add "view-painted" event to WebContent.
2016-07-25 16:02:50 +09:00
=^._.^=
3168465759
Update to Electron v1.3.0
2016-07-24 22:08:44 -07:00
Cheng Zhao
c0f81d14e4
Bump v1.3.0
2016-07-25 12:57:10 +09:00
Cheng Zhao
4af72617ee
Merge pull request #6589 from electron/200-resources
...
Load a few resources pak added in Chrome 52
2016-07-25 12:54:45 +09:00
Cheng Zhao
b013abf829
Copy a few more files to out dir
2016-07-25 12:11:01 +09:00
Cheng Zhao
221f53ab08
Load a few more pak files
2016-07-25 11:10:53 +09:00
Cheng Zhao
2b87813ed3
Load a few more pak files
2016-07-25 11:10:20 +09:00
Cheng Zhao
f4207560f2
Update libchromiumcontent: fix linking error on Linux
2016-07-25 08:53:58 +09:00
Cheng Zhao
f09fc2f6e9
Merge pull request #6585 from electron/win-release
...
Do not export symbols of OpenSSL on Windows
2016-07-24 22:23:19 +09:00
Cheng Zhao
e8c03f2555
Do not export symbols of OpenSSL on Windows
2016-07-24 21:56:16 +09:00
Cheng Zhao
ed14f661dd
Merge pull request #6584 from electron/fix-ci
...
Do not throw exception when channel name is "error"
2016-07-24 21:55:11 +09:00
Cheng Zhao
751ee53683
Do not throw exception when channel name is "error"
2016-07-24 21:08:25 +09:00
haad
fac330fb50
Fix TypedArray check, add check when instanceof doesn't work for TypedArrays.
2016-07-23 12:43:49 +01:00
haad
2757046e71
Add isTypedArray to Electron exports
2016-07-23 11:30:14 +01:00
Zeke Sikelianos
a2ffab40f9
use an instance-variable-style name for BrowserWindowProxy
2016-07-22 15:00:10 -07:00
Zeke Sikelianos
3a9c57231e
fix wording in asar doc
2016-07-22 14:52:43 -07:00
Zeke Sikelianos
9432cb9170
use standard-style javascript in nativeImage doc
2016-07-22 13:47:05 -07:00
Zeke Sikelianos
9ca0fbaeb7
fix capitalization and headings for NativeImage class
2016-07-22 13:42:27 -07:00
haad
e6c8900a18
Fix linting
2016-07-22 20:20:24 +01:00
haad
c717cd9192
🐛 Add support for TypedArrays in IPC.
...
Fixes https://github.com/electron/electron/issues/2104 .
2016-07-22 19:44:19 +01:00
deepak1556
caba44ab6c
allow delegate to handle file and color chooser
2016-07-22 21:09:55 +05:30
Cheng Zhao
99ec841a8e
Merge pull request #6342 from electron/chrome52
...
Upgrade to Chrome 52
2016-07-22 08:53:33 -06:00
Cheng Zhao
06489342a9
Merge pull request #232 from electron/chrome52
...
Upgrade to Chrome 52
2016-07-22 08:38:28 -06:00
Cheng Zhao
0c1d91a895
display.h needs to be used together with screen.h
2016-07-22 23:37:20 +09:00
gellert
81be0bc123
adds beginframe scheduling
2016-07-22 13:55:58 +02:00
TiagoDanin
c7c6dda122
Replace OSX to macOS and Update references
2016-07-21 16:07:03 -05:00
Cheng Zhao
cf6f4708bc
Fix building on Windows
2016-07-21 11:20:43 -06:00
Kevin Sawicki
7bcd76aa93
Merge pull request #6562 from liusy182/hasImageContents
...
fix documentation error pointed out in issue #6541
2016-07-21 10:38:22 -06:00
liusy182
6e83f454d7
documentation error pointed out in issue #6541
2016-07-21 22:46:46 +08:00
Cheng Zhao
6850500a65
Fix building on Linux
2016-07-21 07:09:01 -06:00
Cheng Zhao
0fa4e58557
Bump node module version
2016-07-21 06:32:29 -06:00
Cheng Zhao
d22dc6c7d3
Update to Chrome 52.0.2743.82
2016-07-21 06:07:05 -06:00
Cheng Zhao
f6f7b41f0a
Fix compilation error after merge
2016-07-21 06:03:38 -06:00
Cheng Zhao
b2546a2b34
Fix compilation error after merge
2016-07-21 06:03:11 -06:00
Cheng Zhao
b57665330c
Merge branch 'master' into chrome52
2016-07-21 05:34:36 -06:00
Cheng Zhao
4f3e9df055
Merge remote-tracking branch 'origin/master' into chrome52
2016-07-21 05:34:20 -06:00
Cheng Zhao
50b6b500fd
Merge pull request #6557 from LittleboyHarry/patch-1
...
Translate the comments
2016-07-21 04:55:56 -06:00
Cheng Zhao
9cdc74e431
Merge pull request #6559 from electron/node-6-3
...
Update to Node.js 6.3.0
2016-07-21 03:28:37 -06:00
Cheng Zhao
fbfae70803
spec: Fix exception when refreshing test window
2016-07-21 17:08:43 +09:00
Cheng Zhao
39bd2bee8e
Avoid using CHECK in files using node headesr
...
Node has its own CHECK macro which requires linking with node::Assert.
2016-07-21 16:56:48 +09:00
Cheng Zhao
d9bfe6a49d
CHECK is not needed
2016-07-21 16:51:48 +09:00
Cheng Zhao
cef86f5257
Use node::FreeEnvironment
2016-07-21 16:43:21 +09:00
Cheng Zhao
334f03fc42
Fix compilation errors on Windows
2016-07-21 16:36:50 +09:00
Cheng Zhao
5fc0201ca1
There is no node_extern.h anymore
2016-07-21 16:36:31 +09:00
Cheng Zhao
8488b84b53
Update .node-version
2016-07-21 01:17:07 -06:00
=^._.^=
1e3d131f46
Update to Electron v1.2.8
2016-07-21 00:16:30 -07:00
Cheng Zhao
567714f07c
Add a few new node defines
2016-07-21 00:57:34 -06:00
Cheng Zhao
39e39ae913
Make use of some new Node config flags
2016-07-21 00:57:34 -06:00
Cheng Zhao
7d42797c1f
Update node headers including
2016-07-21 00:57:34 -06:00
Cheng Zhao
8f5bd4afaf
Update to Node 6.3.0
2016-07-21 00:57:34 -06:00
Cheng Zhao
498e9089b3
Bump v1.2.8
2016-07-20 23:57:08 -06:00
deepak1556
aa6d79a3d8
session: add proxyBypassRules option to setProxy api
2016-07-21 10:14:54 +05:30
Harry
9b12cf75ec
Translate the comments
2016-07-21 10:37:55 +08:00
Cheng Zhao
a0c5749ac1
Merge pull request #6547 from electron/update-web-view-docs
...
docs: Update nodeintegration of web-view-tag.md
2016-07-20 05:18:47 -06:00
Cheng Zhao
99524bf490
Merge pull request #6540 from mattslay/patch-1
...
Update file-object.md
2016-07-20 05:13:43 -06:00
Cheng Zhao
e9e67179c3
docs: Update nodeintegration of web-view-tag.md
...
webview is now disabled when nodeIntegration is off.
2016-07-20 05:13:05 -06:00
Cheng Zhao
81c790dfdb
Merge pull request #6529 from darkdh/serial_number
...
serial number in hex string
2016-07-20 05:00:57 -06:00
gellert
504c79cae7
removes commented includes
2016-07-20 11:32:59 +02:00
gellert
84a5c50b62
breaks down osr api to separate files
2016-07-20 11:30:06 +02:00
Matt Slay
0e24d148fd
Update file-object.md
...
Added a for loop to iterate over the array of files, which allows processing of multiple files being dropped over the "holder" div.
2016-07-19 23:51:58 -05:00
gellert
7fc9df4f8f
using damage_rect
2016-07-19 23:50:49 +02:00
Anthony Tseng
9e6f623a5c
Using base::HexEncode()
2016-07-19 11:06:56 +08:00
Anthony Tseng
42eb0c3eae
serial number in hex string
2016-07-18 23:42:42 +08:00
Cheng Zhao
4081381700
Merge pull request #6527 from electron/mac-relaunch
...
Apply #6412 on macOS
2016-07-18 09:00:36 -06:00
Cheng Zhao
1a0199c2ad
Merge pull request #6520 from MagiCarbon/master
...
error link
2016-07-18 08:49:13 -06:00
Cheng Zhao
2ed733fedc
Redirect relaunch process's stdout to /dev/null
2016-07-18 08:46:01 -06:00
gellert
50dc71d1c2
gpu acclereted osr added
2016-07-18 16:16:23 +02:00
liusi
d335d7d706
add "view-painted" event to WebContent.
2016-07-18 14:54:52 +08:00
Moriarty!~~
d10323b057
error link
...
> `[security introduction](../tutorial/security.md)`.
it should be `[security introduction](tutorial/security.md)`
2016-07-17 09:22:53 +08:00
Cheng Zhao
08491e1ceb
Merge pull request #6511 from electron/more-docs-cleanup
...
Clean up API Docs
2016-07-16 09:57:04 +09:00
Kevin Sawicki
12cb678562
Merge pull request #6510 from electron/reset-thumbnail-docs
...
Mention how to reset thumbnail to entire window
2016-07-15 10:40:32 -07:00
Kevin Sawicki
e24885b160
Mention how to reset thumbnail to entire window
2016-07-15 10:38:11 -07:00
Kevin Sawicki
efcdad2751
Merge pull request #6509 from electron/brightray-devtools-focus-fix
...
Upgrade brightray for undocked devtools focus fix
2016-07-15 10:17:59 -07:00
Kevin Sawicki
e15d7a1fd3
Upgrade brightray for undocked devtools focus fix
2016-07-15 09:21:08 -07:00
Cheng Zhao
4d46189928
Fix cpplint warnings
2016-07-15 22:47:40 +09:00
Cheng Zhao
43b5e655a4
Merge pull request #6502 from liusy182/optional-callback-6491
...
Make the callback of session.clearStorageData optional
2016-07-15 22:45:49 +09:00
liusi
154daa8d6a
make Session::ClearStorageData's callback optional
2016-07-15 14:13:56 +08:00
Emily
dfde9ea814
added or to handle undefined
2016-07-15 13:09:12 +09:00
Emily
4f20a15907
change platform path to match downloaded one
2016-07-15 11:17:54 +09:00
Cheng Zhao
9eacd07eda
Merge pull request #6489 from electron/webcontents-static-api
...
Document static methods on webContents
2016-07-15 11:02:00 +09:00
Cheng Zhao
2791f71c03
webContents is now a public module
2016-07-15 10:59:19 +09:00
Cheng Zhao
52808d5342
Merge pull request #6499 from electron/drop-vista
...
Remove implicit references to Vista in docs
2016-07-15 10:20:14 +09:00
Cheng Zhao
d186a01815
Merge pull request #6497 from electron/windows-thumbnail
...
Add setThumbnailClip API on Windows
2016-07-15 10:18:39 +09:00
Cheng Zhao
5db758297f
Merge pull request #6486 from MarshallOfSound/master
...
Add a getFeedURL API for the autoUpdater
2016-07-15 10:02:05 +09:00
Kevin Sawicki
297365b4f0
Add require example for webContents
2016-07-14 17:54:18 -07:00
Kevin Sawicki
4de4774325
Update headings/sections to follow docs styleguide
2016-07-14 17:46:58 -07:00
Cheng Zhao
7c56169633
Merge pull request #6495 from electron/link-to-boilerplates
...
link to boilerplates
2016-07-15 09:44:29 +09:00
Cheng Zhao
c3ed4b5527
Merge pull request #6493 from electron/elecron-devtools-installer
...
mention electron-devtools-installer as an alternative
2016-07-15 09:44:01 +09:00
Kevin Sawicki
1aa645522a
Remove implicit references to Vista
2016-07-14 17:33:48 -07:00
Cheng Zhao
16e43a7f15
Merge pull request #6490 from wilsonpage/add-drop-text-support
...
Add support for dropped text in osx
2016-07-15 09:12:35 +09:00
Cheng Zhao
3ace677b41
Merge pull request #6474 from darkdh/cert_detail
...
Add more detail attributes for certificate-error
2016-07-15 08:45:36 +09:00
Zeke Sikelianos
7700c5e249
denote return type on process memory info methods methods
2016-07-14 16:10:19 -07:00
Zeke Sikelianos
595b827a13
Use common style to denote OS-specific arguments
2016-07-14 16:09:29 -07:00
Kevin Sawicki
f4a160d0fb
Add properties as sub-list
2016-07-14 16:02:06 -07:00
Kevin Sawicki
ccee3e1fc2
Document setThumbnailClip
2016-07-14 15:54:57 -07:00
Kevin Sawicki
86218fe773
win: Add setThumbnailClip window API
2016-07-14 15:50:31 -07:00
Samuel Attard
450c181da3
Add autoUpdater getFeedURL specs
2016-07-15 10:13:41 +12:00
Samuel Attard
d42e6b3c1f
Fix casing issue on the windows update JS file
2016-07-15 10:05:36 +12:00
Zeke Sikelianos
ee677ea212
link to boilerplates
2016-07-14 14:57:06 -07:00
Zeke Sikelianos
52a2ed9205
fix typo
2016-07-14 14:16:02 -07:00
Zeke Sikelianos
f857be431a
mention electron-devtools-installer as an automated alternative
2016-07-14 14:12:06 -07:00
Wilson Page
90f8a7e828
Add support for dropped text in osx
2016-07-14 18:25:58 +01:00
Kevin Sawicki
a4001fbc55
Sort contents by id for consistent ordering
2016-07-14 09:41:10 -07:00
Kevin Sawicki
34f454a0f5
Use let and const
2016-07-14 09:33:16 -07:00
Kevin Sawicki
d9e15151fb
Use getCurrentWebContents()
2016-07-14 09:25:59 -07:00
Kevin Sawicki
446e3f06c9
Add spec for webContents.getFocusedWebContents()
2016-07-14 09:17:16 -07:00
Kevin Sawicki
ebdf8e1fa1
Add initial webContents spec
2016-07-14 09:10:40 -07:00
Kevin Sawicki
c680c0b85e
Document static webContents methods
2016-07-14 09:00:29 -07:00
Kevin Sawicki
a7badd43d5
Expose getAllWebContents() API
2016-07-14 08:59:49 -07:00
Samuel Attard
84a8c393a8
Fix linting, removes additional semicolon
2016-07-15 00:29:53 +12:00
Samuel Attard
fa7526202b
Remove unnecessary method
2016-07-15 00:13:04 +12:00
Samuel Attard
b367c65bcd
Add docs for getFeedURL
2016-07-15 00:07:17 +12:00
Samuel Attard
51687e1bc9
Add the getFeedURL API for macOS and Windows
2016-07-15 00:04:48 +12:00
Anthony Tseng
02e89d60f1
Use CalculateFingerprint256()
2016-07-14 19:09:11 +08:00
Cheng Zhao
ba887dbde7
Merge pull request #6482 from deepak1556/webcontents_navigation_obs_patch
...
webcontents: replace deprecated navigation observers
2016-07-14 12:57:26 +09:00
Cheng Zhao
21a2feaf23
Merge pull request #6480 from electron/webcontents-focus
...
Execute role-based menu items on focused web contents
2016-07-14 12:47:07 +09:00
Cheng Zhao
183b599b9c
Merge pull request #6470 from electron/session-options
...
Ad options for creating Session
2016-07-14 12:07:39 +09:00
deepak1556
c8bf6edcc6
webcontents: replace deprecated navigation observers
2016-07-14 06:47:38 +05:30
Kevin Sawicki
72cdba2b8e
🎨
2016-07-13 14:49:25 -07:00
Kevin Sawicki
e1459b7db7
Doc webContents.isFocused
2016-07-13 14:20:33 -07:00
Kevin Sawicki
d8eb8f4007
Sort filenames
2016-07-13 14:18:41 -07:00
Kevin Sawicki
f9a8bd3ea5
Call role method on focused web contents
2016-07-13 14:16:56 -07:00
Kevin Sawicki
06e595e7cc
Add webContents.getFocusedWebContents()
2016-07-13 14:16:56 -07:00
Kevin Sawicki
7877fa7c0a
Add webContents.isFocused()
2016-07-13 14:16:56 -07:00
Kevin Sawicki
5d95b544dd
Merge pull request #6476 from AndrewTsao/patch-1
...
fix a typo.
2016-07-13 09:41:10 -07:00
andi
7807310c02
fix a typo.
2016-07-14 00:37:55 +08:00
Heilig Benedek
6e25aea49f
speed(up) bump
2016-07-13 17:43:00 +02:00
Anthony Tseng
db39867ad9
Add more detail attributes for certificate-error
2016-07-13 22:14:47 +08:00
Cheng Zhao
6d2e633c82
Merge pull request #6469 from abdihaikal/master
...
Add electron-id.slack.com for Indonesia
2016-07-13 17:24:28 +09:00
Cheng Zhao
1faa567d09
Merge pull request #6467 from electron/enforce-new-docs-styleguide
...
Update documentation guidelines for Classes
2016-07-13 16:41:13 +09:00
Cheng Zhao
41d2799514
Run background pages in separate partition
...
This avoids the default partition always being created on startup, so it
gives users a chance to run session.fromParititon.
2016-07-13 16:22:55 +09:00
Abdi Haikal
de352f71cb
Add electron-id.slack.com for Indonesia
2016-07-13 14:07:46 +07:00
=^._.^=
5c36709ff2
Update to Electron v1.2.7
2016-07-12 22:19:41 -07:00
Zeke Sikelianos
9b1d1dc2c7
clarify rules for documenting classes
2016-07-12 22:00:28 -07:00
Zeke Sikelianos
4905d30dd6
fix heading levels on BrowserWindowProxy
2016-07-12 21:57:07 -07:00
Zeke Sikelianos
5ab4fd261c
🎨
2016-07-12 21:50:43 -07:00
Zeke Sikelianos
b20606c718
fix heading levels in Menu doc
2016-07-12 21:47:28 -07:00
Zeke Sikelianos
2486512c71
use h3/h4 for instance headings and children
2016-07-12 21:42:08 -07:00
Zeke Sikelianos
f8045fd743
💄
2016-07-12 21:40:46 -07:00
Cheng Zhao
749ed3473b
spec: Fix js lint warning
2016-07-13 13:34:19 +09:00
Zeke Sikelianos
6d8a6e6471
use consistent wording for instances
2016-07-12 21:30:27 -07:00
Zeke Sikelianos
a304a59d36
use h3/h4 for static method headings and methods
2016-07-12 21:29:09 -07:00
Zeke Sikelianos
fff036b6ab
distinguish static methods from module methods
2016-07-12 21:28:27 -07:00
Zeke Sikelianos
a08ee97fb0
use h3/h4 for instance events headings and events
2016-07-12 21:24:22 -07:00
Zeke Sikelianos
67dbff1d4a
events -> instance events
2016-07-12 21:22:54 -07:00
Zeke Sikelianos
e866c68938
📝 minor style changes and typos
2016-07-12 21:21:25 -07:00
Cheng Zhao
e653c67153
Move chromeExtensionHandler out of ready handler
...
This code were in ready handler because we could not require "protocol"
before ready before. It is now safe to move the code out.
2016-07-13 12:23:14 +09:00
Cheng Zhao
6db75a3458
Fix building on Linux
2016-07-13 12:23:14 +09:00
Cheng Zhao
fd73279d16
spec: Test lifetime of sessions returned by session.fromPartition
2016-07-13 12:23:14 +09:00
Cheng Zhao
62153f4117
spec: Name of tests should match docs
2016-07-13 12:23:14 +09:00
Cheng Zhao
3ce3004595
spec: session.defaultSession test case
2016-07-13 12:23:14 +09:00
Cheng Zhao
e7666b0448
docs: options of session.fromPartition
2016-07-13 12:23:14 +09:00
Cheng Zhao
753e92c845
Add cache option for session
2016-07-13 12:23:14 +09:00
Cheng Zhao
e213e09c3e
Add options to session.fromPartition
2016-07-13 12:23:14 +09:00
Cheng Zhao
00804e5f98
Move the ability to create BrowserContext to embedder
2016-07-13 12:23:14 +09:00
Cheng Zhao
400bb8d0f3
Hide in_memory parameter in native interface
2016-07-13 12:23:14 +09:00
Cheng Zhao
06a41cedab
Move check of isReady to native code
2016-07-13 12:23:14 +09:00
Cheng Zhao
d739d8772c
Move session-created event to app
...
This follows the convention of other *-created events.
2016-07-13 12:23:14 +09:00
Cheng Zhao
45500701f1
Do not access default session before app is ready
2016-07-13 12:23:14 +09:00
Cheng Zhao
fcd3357fb8
Use Proxy to provide protocol APIs
...
In this way we can avoid initializing defaultSession when protocol
module is used.
2016-07-13 12:23:14 +09:00
Cheng Zhao
4ebb83e999
Move the warning of registerStandardSchemes to native code
2016-07-13 12:23:14 +09:00
Cheng Zhao
c0bfc56c5c
Merge pull request #237 from electron/undocked-focused-state
...
Fix IsDevToolsViewFocused on undocked windows
2016-07-13 10:39:51 +09:00
Kevin Sawicki
22b3b69e17
Return focus state of window web view when available
2016-07-12 14:03:08 -07:00
Cheng Zhao
6413a4c516
Move the ability to create BrowserContext to embedder
2016-07-12 21:39:23 +09:00
Cheng Zhao
240b5c42b4
Merge pull request #236 from electron/devtools-window-bounds
...
Allow devtools window to show on other screens
2016-07-11 15:10:23 +09:00
Cheng Zhao
f6171c53ca
Allow devtools window to show on other screens
2016-07-11 15:08:39 +09:00
Cheng Zhao
6dfd0518cd
Merge pull request #235 from electron/modernize-to-c11
...
Modernize to C++11
2016-07-11 09:03:09 +09:00
Haojian Wu
1d1dd6301a
Don't use auto to static variables.
2016-07-10 15:38:34 +02:00
Haojian Wu
3e041b2c91
Modernize C++11: Use override.
2016-07-10 13:22:54 +02:00
Haojian Wu
0cf7454d4b
Modernize to C++11 : use auto.
2016-07-10 13:12:33 +02:00
Haojian Wu
7474e5ec28
Modernize to C++11 : NULL => nullptr
2016-07-10 12:30:17 +02:00
Cheng Zhao
d6b1814065
Merge pull request #234 from electron/remove-unused-using-decls
...
Remove unused using decls.
2016-07-10 19:30:11 +09:00
Haojian Wu
b85c3b5e7f
Remove unused using decls.
2016-07-09 22:40:41 +02:00
Heilig Benedek
74120493fd
Merge pull request #12 from electron/master
...
update as upstream
2016-07-06 14:12:24 +02:00
=^._.^=
07fefbcf40
Update to Electron v1.2.6
2016-07-05 23:43:56 -07:00
=^._.^=
ac3ced0287
Update to Electron v1.2.6
2016-07-05 23:20:58 -07:00
Heilig Benedek
6fb6b93003
speedup base
2016-07-05 21:33:22 +02:00
Cheng Zhao
437164deec
Force linking with MeasureFormat of icu
2016-07-05 14:49:03 +09:00
Cheng Zhao
41b8dda071
For hidden window focus() should do nothing
2016-07-05 10:34:52 +09:00
Cheng Zhao
de502d8012
Initialize MaterialDesignController
2016-07-05 09:41:23 +09:00
Cheng Zhao
fd1448dd8b
Initialize MaterialDesignController
2016-07-05 09:41:05 +09:00
Cheng Zhao
381689d3ed
Fix building on Windows
2016-07-05 09:31:29 +09:00
Cheng Zhao
8d3e09747a
directWrite option is removed
2016-07-05 09:20:57 +09:00
Cheng Zhao
d0719e9b4b
Fix cpplint warnings
2016-07-04 19:19:20 +09:00
Cheng Zhao
6c2825c0c4
spec: Ignore cache when testing protocol module
2016-07-04 18:08:41 +09:00
Cheng Zhao
ea5c5d2680
Fix building on Linux
2016-07-04 16:41:18 +09:00
Cheng Zhao
0ae344e5cd
Fix building on Linux
2016-07-04 16:41:11 +09:00
Cheng Zhao
0a6bb9c36a
Fix crash when creating protocol module
2016-07-04 15:32:43 +09:00
Cheng Zhao
48f819f337
Do not use home cooked SkUserConfig.h
2016-07-04 15:32:43 +09:00
Cheng Zhao
1ba3907038
Update to API changes of Chrome 52
2016-07-04 15:32:43 +09:00
Cheng Zhao
eb378bef3a
Upgrade to Chrome 52
2016-07-04 15:32:43 +09:00
Cheng Zhao
4afa3f7206
Add BrowserContext::GetRequestContext
2016-07-04 15:29:43 +09:00
Cheng Zhao
8a31e2d9c0
Update to API changes of V8 5.2
2016-07-04 15:08:08 +09:00
Cheng Zhao
c1b07b3da9
Make it possible to include SkUserConfig.h
2016-07-04 15:06:58 +09:00
Cheng Zhao
d166ba9ed2
Disable compiler warning caused by blink
2016-07-04 15:06:15 +09:00
Cheng Zhao
4e9782897c
Update to API changes of Chrome 52
2016-07-04 15:06:05 +09:00
Cheng Zhao
8f7394a7b7
Upgrade to Chrome 52
2016-07-04 13:48:28 +09:00
Cheng Zhao
bf9d2b7fa9
Avoid adding WebContentsAudioMuted method
2016-07-02 16:53:48 +09:00
Cheng Zhao
b217fb07a6
Merge pull request #231 from MarshallOfSound/master
...
Patch OnWebNotificationAllowed to mark notifications as silent in muted WebContents
2016-07-02 07:44:30 +00:00
Cheng Zhao
b8ac95660f
Update to Chrome Update to Chrome 51.0.2704.106
2016-07-02 13:53:28 +09:00
Samuel Attard
f7a8aa12ac
Patch OnWebNotificationAllowed to mark notifications as silent in muted WebContents
2016-07-02 13:30:55 +12:00
Cheng Zhao
a1efa28520
Setup v8::MicrotasksScope for callbacks
2016-06-24 14:40:47 +09:00
=^._.^=
e35a83b62a
Update to Electron v1.2.5
2016-06-23 01:03:52 -07:00
Cheng Zhao
6140fb2b14
Merge pull request #229 from electron/revert-228-no-whole-archive
...
Revert "Replace --whole-archive with --start-group"
2016-06-23 03:04:37 +00:00
Cheng Zhao
7fd7699ada
Revert "Replace --whole-archive with --start-group"
2016-06-23 11:15:56 +09:00
Cheng Zhao
8eca432b6d
Call on GetUserAgent on UI thread
2016-06-22 15:52:04 +09:00
Cheng Zhao
babd741786
Get rid of default BrowserContext
2016-06-22 15:40:52 +09:00
=^._.^=
9e123b484a
Update to Electron v1.2.4
2016-06-21 21:21:35 -07:00
Cheng Zhao
2fb73a266a
Merge pull request #228 from tensor5/no-whole-archive
...
Replace --whole-archive with --start-group
2016-06-21 03:23:51 +00:00
Nicola Squartini
ecf9052ace
Replace --whole-archive with --start-group
2016-06-19 21:27:28 +09:00
Cheng Zhao
1d5e9fe7da
Update to Chrome 51.0.2704.103
2016-06-19 21:06:46 +09:00
Cheng Zhao
a5ed7b73e1
Merge pull request #227 from electron/redispatch-events
...
Redispatch key events to handle native shortcuts
2016-06-19 11:12:32 +00:00
Kevin Sawicki
ebc7432893
Remove unused import
2016-06-17 11:37:29 -07:00
Kevin Sawicki
8bee2d7b7f
Break out EventDispatchingWindow into separate class
2016-06-17 11:05:25 -07:00
Kevin Sawicki
df726d0f41
Redispatch key events to handle native shortcuts
2016-06-17 10:27:32 -07:00
=^._.^=
9881f3a2c4
Update to Electron v1.2.3
2016-06-15 23:02:50 -07:00
Cheng Zhao
d37a120a6a
Provide access to JobFactory in URLRequestContextGetter
2016-06-15 20:31:11 +09:00
Cheng Zhao
ced54c4ada
Merge pull request #226 from electron/fix-crash
...
Fix double free when closing window with devtools opened
2016-06-14 04:40:11 +00:00
Cheng Zhao
8ebc34aeee
Fix double free when closing window with devtools opened
2016-06-14 13:39:19 +09:00
Cheng Zhao
e75f2aa087
Add converter for std::map
2016-06-13 09:26:48 +09:00
=^._.^=
c4e7d97205
Update to Electron v1.2.2
2016-06-08 03:22:05 -07:00
Cheng Zhao
98eeadeb84
Update libchromiumcontent to 51.0.2704.84
2016-06-08 11:06:06 +09:00
Cheng Zhao
7eb78777d7
Update libchromiumcontent to 51.0.2704.79
2016-06-06 15:21:32 +09:00
=^._.^=
1d7991f2db
Update to Electron v1.2.1
2016-06-01 11:03:09 +02:00
Cheng Zhao
d53cb54d29
Merge pull request #225 from deepak1556/bluetooth_patch
...
initialize bluetooth for linux
2016-06-01 05:00:39 +00:00
deepak1556
a09e270efd
initialize bluetooth for linux
2016-05-31 12:36:51 +05:30
=^._.^=
cac2f560c3
Update to Electron v1.2.0
2016-05-26 13:00:40 +02:00
Cheng Zhao
1cc0d0599e
Update to Chrome 51.0.2704.63
2016-05-26 14:38:36 +09:00
=^._.^=
9f0229d768
Update to Electron v1.1.3
2016-05-25 07:03:55 +00:00
Cheng Zhao
95e555ffbc
Merge pull request #224 from electron/chrome51
...
Update to Chrome 51
2016-05-24 10:58:54 +00:00
=^._.^=
4db88fa7e8
Update to Electron v1.1.2
2016-05-24 10:26:17 +00:00
Cheng Zhao
f395b35b62
Add a few more media related libs
2016-05-23 23:24:16 +09:00
Cheng Zhao
cbcd48257d
Link with necessary DLLs of Chrome 51
2016-05-23 22:53:19 +09:00
Cheng Zhao
8250a66968
Link with AVFoundation and CoreMedia
2016-05-23 22:05:08 +09:00
Cheng Zhao
e23ffd1694
Merge branch 'master' into chrome51
...
Conflicts:
browser/url_request_context_getter.cc
browser/url_request_context_getter.h
2016-05-23 19:46:28 +09:00
Cheng Zhao
17064b483e
Link with xscrnsaver
2016-05-23 19:44:09 +09:00
Cheng Zhao
b41d9fd6c0
Merge pull request #223 from deepak1556/iwa_patch
...
flags to control iwa enabled server whitelist
2016-05-23 10:37:36 +00:00
Cheng Zhao
f5bfbada97
NetLog should be managed by BrowserClient
2016-05-23 19:02:13 +09:00
Cheng Zhao
4ccf4394d7
Fix compilation errors on Linux
2016-05-23 15:26:44 +09:00
Cheng Zhao
0a5c4b8ced
Call BrowserContext::Initialize
2016-05-23 12:36:34 +09:00
Cheng Zhao
7c39075c2c
Initialize FeatureList
2016-05-23 12:34:09 +09:00
Cheng Zhao
76d180a80d
Adapt to changes of Chrome 51 API changes (Part 2)
2016-05-23 12:28:41 +09:00
Cheng Zhao
851ef398fb
Adapt to changes of Chrome 51 API changes
2016-05-23 10:59:07 +09:00
Cheng Zhao
e7be3d0ef9
Update to Chrome 51
2016-05-23 10:07:06 +09:00
deepak1556
b8e8e08f63
flags to control iwa enabled server whitelist
2016-05-21 23:40:02 +05:30
Cheng Zhao
4ad6ecd196
Handle.ToV8 should return Object
2016-05-20 15:38:51 +09:00
=^._.^=
c28a0c313b
Update to Electron v1.1.1
2016-05-20 01:42:29 +00:00
Cheng Zhao
7d126e1734
Merge pull request #222 from deepak1556/disable_http2_patch
...
flag to disable HTTP/2 and SPDY/3.1 protocols
2016-05-19 10:21:23 +00:00
Cheng Zhao
3d01930122
Link with static runtime library for Release build
2016-05-19 15:06:04 +09:00
deepak1556
e716830671
flag to disable HTTP/2 and SPDY/3.1 protocols
2016-05-18 06:55:05 +05:30
Cheng Zhao
a45af78b15
Remove unneeded lines when importing code
2016-05-18 09:42:14 +09:00
Cheng Zhao
d27a20f1cd
Merge pull request #221 from electron/no-link-libnotify
...
Do not link with libnotify
2016-05-17 11:33:03 +00:00
Cheng Zhao
eb215c173c
Try linking with libnotify.so.5
2016-05-17 20:30:53 +09:00
Cheng Zhao
80cd5ae43b
Do not link with libnotify
...
We are already loading it dynamically.
2016-05-17 20:26:19 +09:00
=^._.^=
7344bb81a4
Update to Electron v1.1.0
2016-05-14 01:46:45 +00:00
Cheng Zhao
616fa30019
Update gyp with support for CLANG_ENABLE_OBJC_WEAK
2016-05-13 13:49:15 +09:00
=^._.^=
70e2fa0312
Update to Electron v1.0.2
2016-05-13 04:32:12 +02:00
Cheng Zhao
9d742d6135
Update libchromiumcontent to chrome50
2016-05-13 11:10:33 +09:00
Brian R. Bondy
c6f198a1af
Update SetScreenInstance call for linux
2016-05-13 11:07:34 +09:00
Brian R. Bondy
88d8effa01
Iterator to use size_t
2016-05-13 11:07:34 +09:00
Brian R. Bondy
df386f854f
GetNativeScreen -> GetScreen
2016-05-13 11:07:34 +09:00
Brian R. Bondy
f8f97687dc
Update to new pref service location in components
2016-05-13 11:07:34 +09:00
Brian R. Bondy
f9dfa5466d
Rename PERMISSION_STATUS enum value
2016-05-13 11:07:34 +09:00
Brian R. Bondy
270fc41024
Remove NetworkDelegate::OnResolveProxy
...
It doesn't exist anymore
2016-05-13 11:07:34 +09:00
Brian R. Bondy
23eda6930a
Refactor for NotificationResources bitmaps
...
SkBitmap icon moves into content::NotificationResources
2016-05-13 11:07:34 +09:00
Brian R. Bondy
9d31297d27
Use HttpNetworkSession::Params::enable_http2
...
next_protos is a private member now and HTTP1.1 is always added
2016-05-13 11:07:34 +09:00
Brian R. Bondy
71aa9a605a
Remove user_gesture parameter from PermissionManager::RequestPermission
2016-05-13 11:07:34 +09:00
Cheng Zhao
768efe89cf
Merge pull request #219 from deepak1556/devtools_lifecycle_events_patch
...
notify devtools open and close once per lifetime
2016-05-13 09:14:44 +09:00
deepak1556
a01f8ba739
notify devtools opened and closed once per lifetime
2016-05-12 19:16:13 +05:30
deepak1556
7e0918f95a
Revert "Merge pull request #218 from deepak1556/devtools_extensions_load_patch"
...
This reverts commit c0942cbbe67158c68ecfd9bf4cb7bdea84e0d529, reversing
changes made to a370461f3420ec285838126da7e7efd6a3101640.
2016-05-12 18:57:54 +05:30
Cheng Zhao
c860689a9b
Merge pull request #218 from deepak1556/devtools_extensions_load_patch
...
notify delegate when devtools is loaded
2016-05-12 17:50:58 +09:00
deepak1556
db0c931d60
notify delegate when devtools is loaded
2016-05-12 07:15:49 +05:30
=^._.^=
f09443c70a
Update to Electron v1.0.1
2016-05-11 14:54:14 +02:00
=^._.^=
481659a195
Update to Electron v1.0.0
2016-05-11 13:08:01 +02:00
=^._.^=
2e177ff567
Update to Electron v1.0.0
2016-05-11 08:04:42 +02:00
Cheng Zhao
ea07d4c6c8
Leak Wrappable's template
...
Since it is declared as static variable it will be released
automatically when process exits, which causes crashes in
renderer process because the template will then be released
later than V8 is closed.
This commit simply leaks the template so the crash won't happen,
this leak should be fine since leaking resource on exit is not
a bad thing.
2016-05-10 16:07:04 +09:00
Cheng Zhao
3797d4b8aa
Merge pull request #217 from deepak1556/devtools_file_system_indexer_patch
...
handle devtools file system indexing requests
2016-05-07 10:51:50 +09:00
deepak1556
f15940e703
port DevToolsFileSystemIndexer
2016-05-07 04:36:42 +05:30
deepak1556
2db138f2dc
allow delegate to handle file system indexing requests
2016-05-07 04:36:00 +05:30
Cheng Zhao
8e94d5ab0f
Update libchromiumcontent for --defines parameter
2016-05-02 21:18:43 +09:00
Cheng Zhao
434456e771
Do not check existence of paths
2016-05-02 16:17:20 +09:00
Cheng Zhao
d5d16844b5
Update libchromiumcontent for --build-libchromiumcontent
2016-05-02 16:14:20 +09:00
=^._.^=
562e751842
Update to Electron v0.37.8
2016-04-29 06:30:31 -07:00
Cheng Zhao
0df2d882ea
Make Wrappable a template class
2016-04-25 10:17:39 +09:00
=^._.^=
21c66e1aee
Update to Electron v0.37.7
2016-04-22 04:10:55 -07:00
Cheng Zhao
80fff89f88
Merge pull request #215 from deepak1556/devtools_dock_state_patch
...
pass the current dock state to devtools url when available
2016-04-20 13:34:11 +09:00
deepak1556
e858c0c6d2
pass the current dock state to devtools url when available
2016-04-19 18:13:08 +05:30
Cheng Zhao
aafc48ae2c
Merge pull request #213 from 3v1n0/linux-notifications-append
...
Linux notifications append
2016-04-15 20:57:02 +09:00
Cheng Zhao
1b11bb56be
Merge pull request #212 from deepak1556/devtools_network_controller_patch
...
Fix race initialising DevtoolsNetworkController
2016-04-15 19:41:54 +09:00
=^._.^=
3a001a30f1
Update to Electron v0.37.6
2016-04-15 03:31:16 -07:00
Cheng Zhao
ffe88163bb
Update libchromiumcontent for printing fix
2016-04-15 16:46:55 +09:00
Cheng Zhao
08b6fe5229
Merge pull request #214 from electron/fix-notification
...
Fix notification not showing on Windows
2016-04-15 16:34:43 +09:00
Cheng Zhao
593fb8cdf0
Delay notification events to next tick
...
It is possible that the events get emitted when calling Show(), which
would then delete the class before Show() ends, results in using members
of a deleted class.
By delaying the events to next tick we can effectively avoid this.
2016-04-15 16:20:36 +09:00
Cheng Zhao
f4c27c6d29
Store weak ref to Notification in ToastEventHandler
2016-04-15 16:14:13 +09:00
Cheng Zhao
ddee77fae4
Do not use get_Setting to determine whether notification is enabled
...
On Windows 10 get_Setting always returns DISABLED when the program has a
AppUserModelID.
2016-04-15 16:01:21 +09:00
Marco Trevisan (Treviño)
83cbc1182d
LibnotifyNotification: use "append" when supported
...
This behavior can be overridden by just providing unique tags to notifications
2016-04-14 18:31:02 +02:00
Marco Trevisan (Treviño)
8962da380b
LibnotifyLoader: add notify_notification_set_hint_string
2016-04-14 18:29:00 +02:00
Marco Trevisan (Treviño)
8dd7a8d7fe
LibNotifyLoader: implement generic HasCapability
2016-04-14 18:24:00 +02:00
Cheng Zhao
77ca9bc76e
Do not link with ppapi_cpp.lib
2016-04-14 18:22:05 +09:00
Cheng Zhao
4c42fe2bb0
Link with other dependencies of pdf.lib
2016-04-14 17:09:09 +09:00
Cheng Zhao
0b68117822
Link with pdf.dll
2016-04-14 16:30:16 +09:00
Cheng Zhao
17fcd09e66
Merge pull request #208 from deepak1556/devtools_security_panel_patch
...
link libsecurity_state for providing security style
2016-04-14 15:10:48 +09:00
deepak1556
de60acbfde
Fix race initialising DevtoolsNetworkController
2016-04-14 08:57:20 +05:30
Cheng Zhao
2f107fcbe1
Merge pull request #211 from 3v1n0/notifications-tags
...
Notifications tags
2016-04-13 20:12:37 +09:00
Cheng Zhao
f716ae58a6
Merge pull request #210 from 3v1n0/notify-check-actions-cap
...
Notify check actions cap
2016-04-13 20:08:00 +09:00
Marco Trevisan (Treviño)
1ce34fb8d2
LibnotifyNotification: add support for notification tag
...
We set the id of the notification if tag is provided.
As per the protocol, this should cause the old notification with same ID to be replaced.
2016-04-13 06:12:46 +02:00
Marco Trevisan (Treviño)
59ed6ad413
Notification: pass tag to Show method
2016-04-13 06:12:46 +02:00
Marco Trevisan (Treviño)
743ceed780
LibnotifyNotification: verify if the "actions" capability is supported before adding actions
...
This would prevent to add actions to notifier such as Ubuntu's Notify-OSD
which doesn't support them.
2016-04-13 04:43:22 +02:00
Marco Trevisan (Treviño)
a22dc8676f
LibnotifyLoader: add notify_get_server_caps support
2016-04-13 04:42:01 +02:00
Marco Trevisan (Treviño)
4e7f478d1e
LibnotifyLoader: add notify_get_server_info support
2016-04-13 04:02:23 +02:00
Cheng Zhao
11685faffa
Hijack the Page.reload command
2016-04-12 16:35:35 +09:00
Cheng Zhao
3d3cc8c226
Merge pull request #207 from deepak1556/localized_media_strings_patch
...
register localized media strings
2016-04-11 19:30:09 +09:00
deepak1556
13a5dd4800
link libsecurity_state for providing security style
2016-04-11 15:08:15 +05:30
deepak1556
2b3813135c
register localized media strings
2016-04-08 12:42:50 +05:30
=^._.^=
05bf926f6b
Update to Electron v0.37.5
2016-04-06 21:44:14 -07:00
Kevin Sawicki
b6312ce63c
Update urls for new GitHub org
2016-04-04 12:55:40 -07:00
=^._.^=
63b10afd28
Update to Electron v0.37.4
2016-04-03 04:04:39 -07:00
=^._.^=
5565c5825a
Create issue_template.md
2016-04-01 12:51:12 -07:00
Cheng Zhao
553326b006
Merge pull request #4 from deepak1556/dictionary_patch
...
use v8::private symbols as identifiers for object properties
2016-03-31 10:18:26 +09:00
Nate Goldman
e644df65ef
Merge pull request #112 from mitchhentges/master
...
Make npm badge link to package page
2016-03-29 11:41:54 -07:00
Mitchell Hentges
36969c8a1d
Make npm badge link to package page
2016-03-29 09:41:39 +02:00
=^._.^=
0d16de7ef7
Update to Electron v0.37.3
2016-03-26 21:51:19 -07:00
=^._.^=
4ee1c49bf0
Update to Electron v0.36.12
2016-03-26 20:15:39 -07:00
Robo
309887c444
use v8::private symbols as identifiers for object properties
2016-03-24 01:32:08 +05:30
Cheng Zhao
39595c7a05
Merge pull request #205 from felixrieseberg/fix-win-not
...
[Windows] Notify only when enabled
2016-03-17 21:44:00 +09:00
Felix Rieseberg
b68be5c583
🏁 Notify only when enabled
...
- Previously, we'd attempt to create a notification no matter what the
user's configuration was. Microsoft advises against that, because it
can create race conditions if notifications are disabled.
- This fixes the issue.
Closes https://github.com/atom/electron/issues/4681
2016-03-15 17:10:24 -07:00
Cheng Zhao
bbfa5835e7
Merge pull request #204 from deepak1556/workspace_patch
...
fix devtools filesystem api
2016-03-15 21:07:51 +09:00
Robo
c25264113f
fix devtools filesystem api and allow delegate to request stored filesystem paths
2016-03-15 07:53:40 +05:30
=^._.^=
7683eec6d3
Update to Electron v0.37.2
2016-03-14 04:21:56 -07:00
Cheng Zhao
17ff8f2e7e
Merge pull request #203 from deepak1556/devtools_network_patch
...
update devtools network interceptor to throttle uploads
2016-03-14 10:39:12 +09:00
Robo
215a81d0e6
update devtools network interceptor to throttle uploads
2016-03-14 04:01:30 +05:30
=^._.^=
8327ee3f1d
Update to Electron v0.37.1
2016-03-12 20:14:41 -08:00
=^._.^=
b82ef0b3da
Update to Electron v0.37.1
2016-03-12 19:00:05 -08:00
Cheng Zhao
95e63f6b8e
Dealy loading powrprof.dll
2016-03-13 10:10:56 +09:00
=^._.^=
6b35f5200b
Update to Electron v0.37.0
2016-03-11 21:35:41 -08:00
=^._.^=
dccd2cfbc5
Update to Electron v0.36.11
2016-03-11 04:39:31 -08:00
Cheng Zhao
6b3d4fdc61
Update to lastest master of libchromiumcontent
2016-03-11 10:41:22 +09:00
Cheng Zhao
909c66fa9f
Merge pull request #200 from atom/chrome49
...
Upgrade to Chrome 49
2016-03-11 10:37:12 +09:00
Cheng Zhao
deb1abe152
Fix linking error for Release build
2016-03-10 21:00:49 +09:00
Cheng Zhao
5652af8e61
Merge pull request #202 from deepak1556/sysroot
...
allow setting pkg-config variable
2016-03-10 17:15:09 +09:00
Cheng Zhao
6b79926cc7
Link with sandbox_helper_win.lib
2016-03-10 16:11:38 +09:00
Cheng Zhao
b68d2ba8b5
Fix compilation error on Windows
2016-03-10 15:56:13 +09:00
Cheng Zhao
5ce6592e1c
Handle nullptr in RequestConextGetter
2016-03-10 14:39:07 +09:00
Robo
3983566fa3
allow setting pkg-config variable
2016-03-09 19:43:55 +05:30
Cheng Zhao
f70ece1669
No more libyuv_neon
2016-03-09 22:24:25 +09:00
Cheng Zhao
82c30ef9b9
Fix RenderFrameHostChanged
2016-03-09 18:47:11 +09:00
Cheng Zhao
ead0bb0cfc
Fix devtools not working
2016-03-09 14:55:46 +09:00
Cheng Zhao
d3a39540b5
Fix compilation errors on OS X
2016-03-08 23:28:28 +09:00
Cheng Zhao
baf5f384cd
Pass() is deprecated for std::move
2016-03-08 20:59:29 +09:00
Cheng Zhao
948e7c4055
virutal should not be used together with override
2016-03-08 17:51:16 +09:00
Cheng Zhao
d49e240fd4
Merge pull request #201 from atom/chrome49-win32
...
Updates to Chrome 49 on Win32
2016-03-08 17:49:02 +09:00
Cheng Zhao
38834cb997
Merge pull request #3 from paulcbetts/chrome49
...
basictypes.h => macros.h
2016-03-08 17:43:54 +09:00
Paul Betts
dba6680578
Everyone gets permission
2016-03-07 23:09:25 -08:00
Paul Betts
6517dffa04
Start to update UrlRequestContextGetter
2016-03-07 22:58:25 -08:00
Paul Betts
18a75b5124
Renamed enum in MediaStreamDeviceRequest
2016-03-07 22:38:48 -08:00
Paul Betts
d204febecf
Update DevtoolsNetworkTransaction
2016-03-07 22:29:23 -08:00
Paul Betts
40c98381ab
Update headers for InspectableWebContentsImpl
2016-03-07 22:18:16 -08:00
Paul Betts
157f3abe64
Not quite sure how this ever worked
2016-03-07 22:02:42 -08:00
Paul Betts
e901b1c6ca
Update NetworkDelegate
2016-03-07 21:59:14 -08:00
Paul Betts
da59c0f58b
basictypes.h => macros.h
2016-03-07 21:40:41 -08:00
Paul Betts
16270fa080
basic_types.h => macros.h
2016-03-07 20:36:14 -08:00
Cheng Zhao
c72c89bd75
No more basictypes.h
2016-03-08 10:14:16 +09:00
Cheng Zhao
9fd88e9bb7
Update to Chrome 49
2016-03-08 10:04:06 +09:00
Max Ogden
03f53099b5
0.36.10
2016-03-05 10:19:20 -08:00
Max Ogden
079d8aa7b4
upgrade to electron-download 2
2016-03-03 18:09:02 -08:00
=^._.^=
2cdceb00a9
Merge pull request #97 from mramato/fix-npm-usage
...
Fix npm usage
2016-03-02 14:02:49 -08:00
Matthew Amato
9295aa6103
Fix strict-ssl detection.
...
When `strict-ssl` is set to a truthy value, npm always turns the
environment variable into the string `true`, when the value is falsy, npm
always sets it to a blank string. This fixes strict-ssl detection by
always comparing the value of npm_config_strict_ssl to the string `"true"`
2016-03-02 16:45:48 -05:00
Max Ogden
79f552e69e
rename mafintosh -> electron-userland
2016-02-27 12:52:39 -08:00
Max Ogden
86f9316ee0
update github urls
2016-02-27 12:29:07 -08:00
=^._.^=
2791c70c7d
Update to Electron v0.36.9
2016-02-25 23:33:04 -08:00
=^._.^=
4659135fe6
Merge pull request #95 from RocketChat/master
...
Allow download builds for MAS
2016-02-22 20:41:21 -08:00
Rodrigo Nascimento
fc78d2d8f5
Allow download builds for MAS
2016-02-22 23:56:27 -03:00
=^._.^=
703ec1658c
Update to Electron v0.36.8
2016-02-19 02:11:19 -08:00
Cheng Zhao
93c7126bc7
Link with ffmpeg
2016-02-17 22:20:40 +08:00
Cheng Zhao
e719eab878
Clear internal field when Wrapper is destroyed
2016-02-02 19:50:27 +08:00
Cheng Zhao
26520c5cf4
Improve error message for type error
...
Close atom/electron#4307 .
2016-02-02 10:10:59 +08:00
Cheng Zhao
c61e6f3f17
Remove DefaultWebContentsDelegate
2016-02-01 21:08:52 +08:00
=^._.^=
1989552be4
Update to Electron v0.36.7
2016-01-30 02:08:35 -05:00
=^._.^=
7b4c7a1624
Update to Electron v0.36.6
2016-01-29 01:32:36 -05:00
Cheng Zhao
7cfc9fad83
Fix compilation error
2016-01-27 23:18:42 +08:00
Cheng Zhao
144061cb2e
Merge pull request #195 from deepak1556/notification_disable_patch
...
allow client to decide displaying web notifications
2016-01-27 21:02:52 +08:00
Robo
3b09c370d4
allow client to decide displaying web notifications
2016-01-25 22:09:36 +05:30
=^._.^=
c70e83da58
Update to Electron v0.36.5
2016-01-22 07:47:38 -08:00
Cheng Zhao
147c09f7d2
Merge pull request #192 from felixrieseberg/silent-notification
...
Add Silent Notification Support
2016-01-21 14:07:45 -07:00
Felix Rieseberg
728f0f985b
🏁 🍎 Add Silent Notification Support
...
* Implements support for silent notifications on Windows and OS X
* Exposes bool `silent` to Linux notification presenters
2016-01-21 09:24:42 -08:00
Cheng Zhao
c9993ccc26
Merge pull request #191 from etiktin/update_libchromiumcontent_47.0.2526.110
...
Update libchromiumcontent reference to match libchromiumcontent-static
2016-01-16 11:42:21 +08:00
Eran Tiktin
f6ebf83513
update libchromiumcontent 47.0.2526.110
2016-01-15 22:39:20 +02:00
Eran Tiktin
b4dae4ef5e
Merge pull request #1 from atom/master
...
Update from upstream
2016-01-15 22:24:00 +02:00
=^._.^=
db2645c12e
Update to Electron v0.36.4
2016-01-15 00:09:52 -08:00
=^._.^=
9f87866b41
Update to Electron v0.35.6
2016-01-10 22:38:06 -08:00
=^._.^=
c8962dc43a
Update to Electron v0.35.6
2016-01-10 22:30:28 -08:00
Cheng Zhao
f5bb23124a
Change our PATH_START to 11000
2016-01-11 10:40:20 +08:00
=^._.^=
612848ae4d
Update to Electron v0.36.3
2016-01-10 18:23:14 -08:00
=^._.^=
1876ae1912
Update to Electron v0.36.3
2016-01-07 23:39:28 -08:00
Cheng Zhao
d6051e9580
Initialize resource bundle on browser process separately
2016-01-08 12:04:23 +08:00
Cheng Zhao
2374149b18
Load cocoa locale before initializing resources
2016-01-08 11:29:43 +08:00
Cheng Zhao
0980f53a93
Merge pull request #190 from atom/fix-menu
...
Load content_shell.pak for current scale factor
2016-01-05 10:21:29 +08:00
Cheng Zhao
ae14829472
Load content_shell.pak for current scale factor
2016-01-05 10:20:02 +08:00
Cheng Zhao
33a9551410
Merge pull request #189 from deepak1556/resource_bundle_patch
...
initialize resource bundle with application locale awareness
2016-01-04 10:58:42 +08:00
=^._.^=
cdafc6a3c6
Update to Electron v0.35.5
2015-12-30 21:02:21 -08:00
Cheng Zhao
cf93f6fd58
componenet_updater is not needed
2015-12-30 16:14:36 +08:00
Robo
5990acf51b
initialize resource bundle with application locale awareness
2015-12-30 10:49:45 +05:30
Cheng Zhao
8f26c0d849
Update libchromiumcontent with widevine support
2015-12-30 11:39:43 +08:00
Cheng Zhao
cd95e7b9ce
Update libchromiumcontent
2015-12-29 21:37:11 +08:00
Cheng Zhao
d3f215dadf
Merge pull request #178 from clebeaupin/widevine
...
Add widevine third party
2015-12-29 14:16:13 +08:00
=^._.^=
c6e68a0dc3
Update to Electron v0.36.2
2015-12-24 23:19:37 -08:00
Cheng Zhao
47237cfbd2
Merge pull request #188 from atom/improve-notifications
...
Decouple notification code from content module
2015-12-25 11:56:55 +08:00
Cheng Zhao
870e6a6f89
linux: Adapt to new Notification style
2015-12-25 11:52:19 +08:00
Cheng Zhao
82cef44623
win: Fire NotificationFailed when failed to show notification
2015-12-25 11:17:35 +08:00
Cheng Zhao
c81bacc840
mac: Emit closed when notification is dismissed
2015-12-25 11:12:25 +08:00
Cheng Zhao
b091f27abf
win: Adapt to new Notification style
2015-12-25 11:05:48 +08:00
Cheng Zhao
5b7c7be804
Decouple notification code from content module
2015-12-25 10:16:07 +08:00
Cheng Zhao
6f81d1e29f
Expose NotificationPresenter to public
2015-12-24 22:20:47 +08:00
Cheng Zhao
9897f3aab0
Add an abstract Notification class
2015-12-24 22:06:41 +08:00
Cheng Zhao
41084883cf
Refactor the notification code
2015-12-24 21:55:18 +08:00
Cheng Zhao
b4664ce897
Merge pull request #187 from atom/fix-win-icon
...
Do not use icon url when showing notification
2015-12-24 20:07:41 +08:00
Cheng Zhao
513b6ae0d6
Do not use icon url when showing notification
2015-12-24 20:03:54 +08:00
Cheng Zhao
53e8c8841b
Merge pull request #186 from atom/dlopen-notify
...
Load libnotify dynamically
2015-12-24 11:16:09 +08:00
Cheng Zhao
862f3c21f6
Load libnotify dynamically
2015-12-24 11:12:51 +08:00
Mathias Buus
d4ca2ffae3
Merge pull request #84 from jcreekmore/strict-ssl
...
Allow specifying StrictSSL in the NPM config file
2015-12-21 18:36:25 +01:00
Jonathan Creekmore
7922082090
Allow specifying StrictSSL in the NPM config file
...
The standard way of specifying whether you want strict-ssl or not
is to add an entry into your npm config file for strict-ssl. Use
that entry (which is passed to the install.js as an environment
variable) to set the option for strictSSL in electron-download.
2015-12-21 11:28:03 -06:00
Cheng Zhao
395a2eb1cc
Merge pull request #185 from deepak1556/devtools_network_transaction_patch
...
devtools: exclude devtools related http header from serviceworker context
2015-12-21 10:08:50 +08:00
Robo
9b88fd4021
devtools: exclude devtools related http header from serviceworker context
2015-12-19 02:29:39 +05:30
=^._.^=
67a80969f7
Update to Electron v0.36.1
2015-12-17 23:17:32 -08:00
Cheng Zhao
30cebb491f
Merge pull request #184 from deepak1556/idr_value_patch
...
fix value of IDR_CONTENT_SHELL_DEVTOOLS_DISCOVERY_PAGE
2015-12-14 18:10:41 +08:00
Mathias Buus
037c347d0e
Merge pull request #81 from teran-mckinney/master
...
Add FreeBSD path to install.js
2015-12-12 23:20:22 +01:00
Teran McKinney
23c928afc9
Add FreeBSD path to install.js
2015-12-12 22:14:09 +00:00
Robo
d12787303c
use value from shell_resources.h
2015-12-12 23:31:00 +05:30
Robo
a3f85a93a0
fix value of IDR_CONTENT_SHELL_DEVTOOLS_DISCOVERY_PAGE
2015-12-12 10:56:47 +05:30
Cyrille Lebeaupin
975a47825b
Add widevine third party
2015-12-11 18:18:55 +01:00
Cheng Zhao
a3dcf8ced6
Fix converter for std::set
2015-12-11 21:13:33 +08:00
=^._.^=
c5394ecdc4
Update to Electron v0.36.0
2015-12-10 23:49:49 -08:00
Mathias Buus
49fa2314ae
Merge pull request #80 from yoz/install-dirname-movable
...
Don't save __dirname into path.txt.
2015-12-11 00:21:19 +01:00
Yoyo Zhou
999a998469
Don't save __dirname into path.txt.
...
Allows install to work even if our directory is moved later.
2015-12-10 14:43:35 -08:00
Mathias Buus
b152f6d215
be standard
2015-12-09 16:30:46 +01:00
Mathias Buus
3ce46663b9
allow rebuilds. fixes #78
2015-12-09 16:16:56 +01:00
Cheng Zhao
517db752d7
Merge pull request #183 from deepak1556/next_proto_patch
...
add list of next_protos to use
2015-12-09 12:32:52 +08:00
Cheng Zhao
e0719f52bf
Link with libyuv_neon.a on ARM
2015-12-08 18:12:11 +08:00
Cheng Zhao
e0b6dd9171
Link a few more X libraries
2015-12-08 17:02:41 +08:00
Cheng Zhao
c9376142ca
Xcomposite is needed for ia32 build
2015-12-08 16:55:59 +08:00
Cheng Zhao
161147fa1a
webrtc requires IOKit
2015-12-08 16:52:38 +08:00
Cheng Zhao
c33c045964
There is no libdesktop_capture_differ_sse2 no arm
2015-12-08 16:40:49 +08:00
deepak1556
43add44f09
add list of next_protos to use
2015-12-08 03:39:05 -05:00
Cheng Zhao
46677e3a36
Link with libdesktop_capture_differ_sse2 on darwin
2015-12-08 14:48:46 +08:00
Cheng Zhao
4004e4836a
Merge pull request #148 from atom/desktop-capture-api
...
Desktop capture API support
2015-12-08 12:40:57 +08:00
Cheng Zhao
b50d23feff
Update libchromiumcontent
2015-12-08 12:06:17 +08:00
Cheng Zhao
f8e688badd
Merge pull request #182 from atom/chrome47
...
Upgrade to Chrome 47
2015-12-08 10:45:18 +08:00
Cheng Zhao
cbd4a25ea6
Link with libsandbox
2015-12-07 22:44:15 +08:00
Cheng Zhao
75d0bc848d
Update to API changes of Chrome 47
2015-12-07 19:55:01 +08:00
=^._.^=
90f113cd90
Update to Electron v0.35.4
2015-12-04 04:39:13 -08:00
Cheng Zhao
5e70868fd0
isDestroy => isDestroyed
2015-12-04 19:23:13 +08:00
=^._.^=
85c8b66944
Update to Electron v0.35.3
2015-12-04 01:50:12 -08:00
Cheng Zhao
e859228db1
Do not manually destroy native resources
2015-12-03 15:38:14 +08:00
Max Ogden
b1416644d5
add standard
2015-11-30 12:00:54 -08:00
=^._.^=
1ce13f2764
Update to Electron v0.35.2
2015-11-27 07:02:58 -08:00
Cheng Zhao
5d8167afd6
Merge pull request #181 from atom/helper-process
...
Change how Helper process is detected
2015-11-26 19:10:19 +08:00
Cheng Zhao
b81876775e
Check ElectronMainProcess key in Info.plist
2015-11-26 19:07:03 +08:00
Cheng Zhao
77f7cfc938
Change how we detect Helper process
2015-11-26 18:52:07 +08:00
=^._.^=
466e4c20b4
Update to Electron v0.34.5
2015-11-26 00:07:47 -08:00
=^._.^=
b91a830cad
Update to Electron v0.34.4
2015-11-24 06:24:13 -08:00
Cheng Zhao
c46fa6d959
Merge pull request #179 from etiktin/support_proxy_bypass_list
...
Add support for --proxy-bypass-list
2015-11-24 18:37:51 +08:00
Cheng Zhao
5ce2ebf264
Merge pull request #180 from atom/no-app-user-model-id
...
Use application name when app user model ID is not available
2015-11-24 15:13:47 +08:00
Cheng Zhao
087eeedab8
Use application name when app user model ID is not available
2015-11-24 15:11:43 +08:00
Cheng Zhao
c060539562
Only create NotificationPresenter when succeeded to initailize toast manager
...
This fix crash when we failed to initailize toast manager.
2015-11-24 14:40:58 +08:00
Eran Tiktin
1a18c3a3af
Add support for --proxy-bypass-list
2015-11-22 22:56:35 +02:00
=^._.^=
3f95ecb2c7
Update to Electron v0.35.1
2015-11-19 23:01:42 -08:00
Cheng Zhao
2468c7c34e
Merge pull request #177 from atom/toast-app-name
...
Use AppUserModelID as app id
2015-11-20 13:32:22 +08:00
Cheng Zhao
aa8d164036
Use AppUserModelID as app id
2015-11-20 13:28:37 +08:00
Felix Rieseberg
8db246d770
Merge pull request #175 from atom/iss3458
...
Fix Tag Typo
2015-11-16 07:43:01 -08:00
Felix Rieseberg
571b595571
Fix Tag Typo
...
We should probably have tests for Windows notifications ;-)
2015-11-16 07:41:37 -08:00
=^._.^=
23b0e7679a
Update to Electron v0.35.0
2015-11-16 03:08:23 -08:00
Cheng Zhao
8ff0b050f8
There is no more NotificationError
2015-11-16 16:47:34 +08:00
Cheng Zhao
0e7f09523b
Merge pull request #170 from miniak/windows_toast_notification
...
Call NotificationError when toast notification fails on Windows
2015-11-16 16:12:46 +08:00
Milan Burda
dedf3553e2
Call content::DesktopNotificationDelegate::NotificationError when toast notification fails on Windows
2015-11-13 15:42:35 +01:00
Cheng Zhao
cdc27a85c0
Merge pull request #174 from tejaspathak/master
...
Fix build error
2015-11-12 09:48:20 +08:00
Cheng Zhao
5d03058e9e
Merge pull request #171 from miniak/notification_presenter_mac
...
Call [NSUserNotification setContentImage] conditionally using respondsToSelector
2015-11-12 00:09:51 +08:00
Felix Rieseberg
f4ac70f2da
Merge pull request #173 from felixrieseberg/windows-7-3
...
Windows Toasts: Don't call WFI statically
2015-11-11 03:39:52 +01:00
Felix Rieseberg
b4ac9547c4
Windows Toasts: Don't call WFI statically
2015-11-10 18:37:43 -08:00
Felix Rieseberg
08e54d8a1e
Merge pull request #172 from felixrieseberg/windows-7-2
...
Delay Load WinRT Libraries, Full Compat with Windows 7
2015-11-11 03:13:13 +01:00
Felix Rieseberg
2c84d70f8f
Delay Load WinRT Libraries
2015-11-10 18:04:09 -08:00
Milan Burda
71d582bc68
Call [NSUserNotification setContentImage] conditionally using respondsToSelector instead of hardcoded OS X version check
2015-11-10 22:18:24 +01:00
Cheng Zhao
9398494100
Add Dictionary::Delete
2015-11-11 00:25:10 +08:00
tejaspathak
90d142b641
Fix build error
2015-11-10 23:26:42 +09:00
Cheng Zhao
da0197543a
Merge pull request #167 from atom/code-cleanup
...
Cleanup of the notification code
2015-11-10 20:31:29 +08:00
Cheng Zhao
f9f8a289d9
Simplify the management of objects
2015-11-10 20:23:08 +08:00
Cheng Zhao
4f73de0930
Make the toast type really work
2015-11-10 20:07:12 +08:00
Cheng Zhao
6b9371c4cd
Use smart pointer for everything
2015-11-10 19:50:38 +08:00
Cheng Zhao
1b9c9e40e3
Code cleanup with Chromium's coding style
2015-11-10 18:30:58 +08:00
Cheng Zhao
37a89ee0d9
Fix compilation error
2015-11-10 18:04:46 +08:00
Cheng Zhao
e3bcb15b81
Merge pull request #165 from felixrieseberg/windows-7
...
Ensure Notifications are Windows 8+ Only
2015-11-10 16:19:05 +08:00
Felix Rieseberg
995b094858
Ensure Notifications are Windows 8 and up only
2015-11-10 07:49:42 +01:00
Cheng Zhao
b79b7f7e2d
Merge pull request #166 from miniak/windows_toast_notification
...
Simplify ToastEventHandler using WRL::RuntimeClass, which implements the IUnknown interface
2015-11-10 13:16:08 +08:00
Milan Burda
8f5463faab
Simplify ToastEventHandler using WRL::RuntimeClass, which implements the IUnknown interface
2015-11-09 20:47:18 +01:00
Cheng Zhao
ecb35883f6
Merge pull request #161 from atom/windows-notifications-lib
...
Windows Notifications
2015-11-09 22:49:49 +08:00
Jason Poon
8dbeca8c7f
Windows Toasts: Hide(), Runtime Check, Header Cleanup
2015-11-09 12:00:50 +01:00
Felix Rieseberg
86ea0759d8
Windows Toasts: Icons, Events, Cleanup, Documentation
...
- Enable documentations
- Add a small usage example to the header
- Final cleanups
2015-11-09 12:00:49 +01:00
Jason Poon
498bff9e5a
Windows Toasts: Enable Basic Notifications
...
To test this puppy out, build and open up the Chromium Dev Tools.
Then, run `new Notification("Test title", {body: "Test body"});`
2015-11-09 12:00:21 +01:00
Cheng Zhao
7720346ee7
Update libchromiumcontent for filenames.gypi fix
2015-11-09 18:19:32 +08:00
Cheng Zhao
93ebbb1c86
Update libchromiumcontent for atom/electron#3310
2015-11-09 16:38:09 +08:00
Cheng Zhao
d456e87ee6
Merge pull request #164 from tejaspathak/master
...
Add option to build local libchromiumcontent
2015-11-09 16:36:54 +08:00
tejaspathak
1017ec0d87
Add option to build local libchromiumcontent
...
- Currently libchromiumcontent is downloaded by default.
- Now developer can choose to provide local libchromiumcontent src, shared and static path
2015-11-08 17:08:42 +09:00
Cheng Zhao
cbc107f441
Merge pull request #162 from deepak1556/certificate_verifier_patch
...
allow delegate to provide certificate verifier
2015-11-07 21:36:55 +08:00
Cheng Zhao
b8cd4f7981
linux: Link Xi with pkg-config
...
Fix atom/electron#3357 .
2015-11-07 12:11:12 +08:00
=^._.^=
2b289bb758
Update to Electron v0.34.3
2015-11-06 07:56:36 -08:00
Robo
3dfb75b530
allow delegate to provide certificate verifier
2015-11-05 20:56:46 +05:30
Cheng Zhao
21cda4e7fc
Don't return v8::Maybe for std::vector
2015-11-02 20:45:29 +08:00
=^._.^=
ca2498ff25
Update to Electron v0.34.2
2015-10-30 00:33:56 -07:00
=^._.^=
7436910324
Update to Electron v0.34.1
2015-10-23 06:52:35 -07:00
Cheng Zhao
54997db5f2
No more need to call setrlimit
...
Chrome has removed the limiations on fd, this actually became the new limitation.
2015-10-20 22:38:20 +08:00
Cheng Zhao
9efc5fffa2
Merge pull request #157 from atom/allow-ntlm-everywhere
...
Optionally allow NTLM authentication for all domains
2015-10-20 13:12:42 +08:00
Paul Betts
b7b3029e2a
Nuke old declaration
2015-10-19 19:42:49 -07:00
Cheng Zhao
2f2dc063dd
Merge pull request #158 from Dwaynekj/xcode-7-dylib
...
Update to brightray.gyp : libresolv
2015-10-20 10:34:14 +08:00
Paul Betts
5168b44932
Remove our plumbed methods
2015-10-19 12:57:32 -07:00
Paul Betts
0d63eaa07b
Move the NTLM check to the URLRequestContextGetter delegate
2015-10-19 12:57:24 -07:00
Dwayne Jones
9d8bff7d04
Update to brightray.gyp : libresolv
...
In Following with this PR https://github.com/atom/brightray/pull/153
@joshaber helped me to work out this was causing a build error Xcode 7 for libresolv
2015-10-19 15:36:08 -04:00
Paul Betts
91a62640ab
Come Correct with cpplint
2015-10-16 16:48:07 -07:00
Paul Betts
66a14c5eb5
Fallback to default behavior if boolean is false
2015-10-16 16:43:03 -07:00
Paul Betts
d123c8613d
Create a new API to trump IE security settings if desired
2015-10-16 16:40:30 -07:00
Paul Betts
2c21f1a304
Replace the default one with our own
2015-10-16 16:40:07 -07:00
Paul Betts
73a60ea3e3
Create a new URLSecurityManager that allows explicit settings
2015-10-16 16:39:42 -07:00
=^._.^=
136ac2dae7
Update to Electron v0.34.0
2015-10-16 05:16:38 -07:00
=^._.^=
cad5d6c245
Update to Electron v0.33.9
2015-10-16 03:36:54 -07:00
=^._.^=
c3c5c65de3
Update to Electron v0.33.8
2015-10-13 22:23:50 -07:00
Cheng Zhao
859ef0b298
Update libchromiumcontent to latest master
2015-10-14 11:56:01 +08:00
Cheng Zhao
abe749e6be
💄
2015-10-14 09:47:22 +08:00
Cheng Zhao
cab52fedc6
Merge pull request #156 from deepak1556/nss_ocsp_patch
...
provide request context for oscp session creation
2015-10-14 09:46:28 +08:00
Robo
ec6304c0b2
provide request context for nss_oscp initialisation
2015-10-13 18:20:12 +05:30
Cheng Zhao
34fb1c65bf
Merge pull request #155 from atom/remove-websql-limitation
...
Remove websql's storage limitation
2015-10-13 09:03:20 +08:00
Haojian Wu
2981a7e256
Remove storage limitation of WebSQL.
2015-10-12 21:21:45 +08:00
=^._.^=
b5d84cbd74
Update to Electron v0.33.7
2015-10-10 04:15:59 -07:00
Cheng Zhao
7caaad2c7a
Control linking of QTKit in electron
2015-10-09 21:29:51 +08:00
Cheng Zhao
0659be44bc
Update to mas branch of libchromiumcontent
2015-10-09 21:07:21 +08:00
Cheng Zhao
e3c657045d
Merge pull request #154 from deepak1556/accept_language_patch
...
set accept-language header from system locale
2015-10-09 21:05:15 +08:00
Robo
b7296d8a4e
set accept-language header from system locale
2015-10-09 13:21:53 +05:30
Cheng Zhao
343cbea8a7
Merge pull request #153 from atom/xcode-7
...
Don't reference the bsm dylib directly.
2015-10-08 13:57:42 +08:00
Mathias Buus
1c38cf6fe5
Merge pull request #64 from itchio/exit-code
...
Relay electron exit code
2015-10-06 23:34:46 +02:00
Amos Wenger
02f5fabd6c
Relay electron exit code
2015-10-06 22:45:12 +02:00
joshaber
407b406f34
Don't reference the dylib directly.
...
https://forums.developer.apple.com/thread/4572 is the best reference I
could find for this.
Apple replaced (some?) dylibs with “text-based stub libraries”
(.tbd’s). So we shouldn’t try to reference the dylib directly anymore.
2015-10-06 16:07:54 -04:00
Cheng Zhao
43bfdace86
Merge pull request #152 from atom/register-prefs
...
Fix RegisterPrefs not working in subclass.
2015-10-06 22:44:32 +08:00
Cheng Zhao
dd5c962942
Merge pull request #151 from atom/xcode-7-support
...
Xcode 7 support
2015-10-06 21:39:34 +08:00
Haojian Wu
73632d4189
Fix RegisterPrefs not working in subclass.
...
Don't call virtual function in subclass's constructor.
2015-10-06 16:11:28 +08:00
joshaber
3d0ab70aa1
mac: Force Xcode to use C++11.
...
For whatever reason, this is necessary in Xcode 7.
2015-10-05 10:15:54 -04:00
joshaber
7f0b8f01e1
mac: Don't define an SDKROOT.
...
This way Xcode will use the latest SDK, whatever it is, and we don’t
have to bump this every time Apple releases an OS update.
2015-10-05 10:15:34 -04:00
=^._.^=
0b267d3fa6
Update to Electron v0.33.6
2015-10-05 06:13:31 -07:00
Haojian Wu
ef9f6eb8c3
Define related marcos for webrtc on Windows and OS X.
2015-10-05 12:50:18 +08:00
=^._.^=
96263ea914
Update to Electron v0.33.5
2015-10-04 21:46:52 -07:00
Cheng Zhao
dee9f59b19
Merge pull request #150 from atom/linux-menu
...
Fix tooltip cropped by the window on Linux
2015-10-04 22:18:39 +08:00
Cheng Zhao
c205ab0944
Fix tooltip can not show outside window
2015-10-04 22:15:01 +08:00
Cheng Zhao
6ca7767f09
linux: Set device scaling factor
2015-10-04 16:52:14 +08:00
Cheng Zhao
9f978cc19f
Merge pull request #149 from atom/ignore-x-window-error
...
Don't crash when X Window System errors happen
2015-10-04 15:52:14 +08:00
Cheng Zhao
6044ab05f3
Ignore X Window System errors
2015-10-04 15:40:51 +08:00
Haojian Wu
63085fb0b0
[Linux] Link libraries for desktop capture API.
2015-10-03 13:43:20 +08:00
Haojian Wu
59cbd0a00d
[Windows] Link libraries for desktop capture API.
2015-10-03 10:49:42 +08:00
=^._.^=
5613fd6088
Merge pull request #60 from airtimemedia/master
...
Add target arch support
2015-10-02 10:58:37 -07:00
Haojian Wu
64b0333964
[OS X] Link dependent libraries for desktop capture API.
2015-10-02 17:27:48 +08:00
=^._.^=
f0a0fe116d
Update to Electron v0.33.4
2015-10-01 23:14:53 -07:00
Cheng Zhao
5a97cfaa64
Code cleanup
2015-10-01 17:30:59 +08:00
Cheng Zhao
1f2d934d9d
Merge pull request #147 from atom/gnotify
...
Rewrite Ubuntu check to look for libunity .so files
2015-10-01 17:15:19 +08:00
Cheng Zhao
c9956c2ae0
Merge pull request #146 from deepak1556/remote_devtools_module_patch
...
provide remoteBase to load remote devtools modules
2015-10-01 17:02:56 +08:00
Paul Betts
1a8377b198
Add environment variable as escape hatch
2015-09-30 09:14:31 -07:00
Paul Betts
50a95792a1
Rewrite unity check to look for libunity SOs
2015-09-30 09:09:35 -07:00
Robo
9122922133
provide remoteBase to load remote devtools modules
2015-09-30 16:34:44 +05:30
Cheng Zhao
3f3fbc03fc
Merge pull request #145 from deepak1556/devtools_network_emulation_patch
...
enabling network emulation in devtools
2015-09-28 12:14:14 +08:00
Robo
a1e646f1b3
enabling network emulation in devtools
2015-09-27 21:38:38 +05:30
=^._.^=
1631b9e231
Update to Electron v0.33.3
2015-09-26 07:39:23 -07:00
=^._.^=
3dff092a6e
Update to Electron v0.30.8
2015-09-26 07:04:26 -07:00
=^._.^=
31bce2281b
Update to Electron v0.33.2
2015-09-25 05:32:43 -07:00
=^._.^=
8b79453b50
Update to Electron v0.30.7
2015-09-24 00:23:47 -07:00
Cheng Zhao
ab878c5f98
Merge pull request #143 from deepak1556/ssl_version_config_patch
...
allowing delegates to provide their sslconfigservice
2015-09-23 10:41:27 +08:00
Tom Hughes
dd59736393
Clean up target arch support based on pull request #55 comments.
2015-09-22 10:34:52 -07:00
Attila Sukosd
f1f061e1e3
Added target arch support
...
Previously electron-prebuilt would download the prebuilt binaries
for the architecture native to the platform. However there are
cases where being able to download for another architecture is
favourable.
This patch adds support for setting the architecture through
npm's --arch= parameter. (Issue #53 )
2015-09-22 10:17:36 -07:00
=^._.^=
b3af5a9475
Update to Electron v0.33.1
2015-09-22 01:03:54 -07:00
Robo
5d9c41c416
allowing delegates to provide their sslconfigservice
2015-09-21 22:14:32 +05:30
=^._.^=
0b06748d9b
Update to Electron v0.33.0
2015-09-17 04:39:21 -07:00
Cheng Zhao
ca9a54a41e
Check whether devtools is opened when executing js code
...
Fixes atom/electron#2808 .
2015-09-17 15:00:14 +08:00
Cheng Zhao
fc33eb99f7
Unsubscribe from NSNotificationCenter when WebContents is destroyed
...
Due to ref-counted references the NSView is not destroyed immediately
when WebContents is destroyed, so it is not reliable to do this in
the destructor.
2015-09-17 11:19:08 +08:00
Cheng Zhao
fa588f104c
Set MACOSX_DEPLOYMENT_TARGET to 10.8
...
Fixes atom/electron#2790 .
2015-09-16 19:54:52 +08:00
=^._.^=
5d4dd00c41
Update to Electron v0.32.3
2015-09-15 01:27:32 -07:00
Cheng Zhao
3f53564a4f
Use the SDKROOT under 10.10
2015-09-15 12:14:46 +08:00
Cheng Zhao
34e1a38d18
Use 10.10 SDK
2015-09-15 11:59:57 +08:00
Cheng Zhao
43c4efb4c7
Merge pull request #142 from atom/devtools-focus
...
Add IsDevToolsViewFocused method and make DevToolsFocused work in OS X
2015-09-15 11:26:34 +08:00
Cheng Zhao
352f758cd1
Make DevToolsFocused in OS X
2015-09-15 11:24:35 +08:00
Cheng Zhao
c30f458d4f
Add IsDevToolsViewFocused method
2015-09-15 11:04:46 +08:00
Cheng Zhao
9d7fbdfd8e
Merge pull request #140 from deepak1556/net_log_patch
...
create net log file after context is created
2015-09-14 19:24:22 +08:00
=^._.^=
7749e9a808
Update to Electron v0.32.2
2015-09-10 06:22:19 -07:00
Cheng Zhao
b7387da085
Check whether key exists in Dictionary::Get
2015-09-10 15:57:30 +08:00
=^._.^=
4c4b2f44e7
Update to Electron v0.32.1
2015-09-09 05:26:36 -07:00
Cheng Zhao
024d643f98
Merge pull request #139 from toyoshim/sysex_permission
...
Grant ChildProcessSecurityPolicy for MIDI from PermissionManager
2015-09-09 13:34:40 +08:00
=^._.^=
a3109ed011
Update to Electron v0.32.0
2015-09-08 22:06:20 -07:00
Robo
451dd03866
create net log file after context is created
2015-09-07 22:44:13 +05:30
Cheng Zhao
87a1b68c47
Fix typo
2015-09-06 10:29:59 +08:00
Cheng Zhao
d2ea3b496d
Only store weak ref to BrowserContext
2015-09-05 22:34:42 +08:00
Cheng Zhao
1a8dc77951
Move management of browser context to BrowserContext
2015-09-05 20:52:50 +08:00
Cheng Zhao
dc1e50c62e
Store BrowserContext in ref-counted ptr
2015-09-05 20:03:18 +08:00
Cheng Zhao
58fb166b0b
Pass partition name instead of path to BrowserContext
2015-09-05 19:46:55 +08:00
Takashi Toyoshima
af505db908
Grant ChildProcessSecurityPolicy for MIDI from PermissionManager
...
PermissionManager should set ChildProcessSecurityPolicy for MIDI SysEx
permission. Otherwise, the browser kills unauthorized renderers that are
going to send MIDI SysEx messages.
Fixes #138 .
2015-09-05 14:56:32 +09:00
Cheng Zhao
82b9ced3e0
Merge pull request #137 from atom/chrome45
...
Upgrade to Chrome 45
2015-09-03 21:17:32 +09:00
Cheng Zhao
dca5c763e9
Use the new devtools URL
2015-09-02 18:25:59 +08:00
Cheng Zhao
f077a51459
Define ENABLE_WEBRTC
2015-09-02 17:49:51 +08:00
Cheng Zhao
90125c44e3
Fix API changes on Linux
2015-09-02 17:29:30 +08:00
Cheng Zhao
38a211db2e
Fix API changes
2015-09-02 15:16:34 +08:00
Cheng Zhao
5e004b4c24
Upgrade to Chrome 45
2015-09-02 14:22:50 +08:00
=^._.^=
b23b1eb0f0
Update to Electron v0.31.2
2015-09-01 23:12:43 -07:00
Cheng Zhao
7612b10dc1
Merge pull request #136 from deepak1556/browser_context_partition_patch
...
handle partition config in browser context
2015-09-01 20:01:29 +08:00
Robo
0e956c497d
use browser context from webcontents for registering datasource
2015-08-31 21:04:48 +05:30
=^._.^=
1dcb609622
Update to Electron v0.31.1
2015-08-27 22:57:33 -07:00
Robo
fa5c8fc943
handle partition config in browser context
2015-08-27 17:31:31 +05:30
Cheng Zhao
8ca005eb41
Use the new SetWeak in Wrappable
2015-08-27 15:55:48 +08:00
Cheng Zhao
f5e34deb1a
Add SetHidden for Dictionary
2015-08-27 15:21:27 +08:00
=^._.^=
19109b2c51
Update to Electron v0.30.6
2015-08-26 02:29:27 -07:00
=^._.^=
c2a88b7996
Update to Electron v0.30.6
2015-08-26 01:39:58 -07:00
Cheng Zhao
89e66f15c3
Link with 10.9 SDK
2015-08-26 15:57:35 +08:00
Cheng Zhao
c0b9fd415d
Revert "Make bottom corner more round"
...
This reverts commit f9a64dde5da537f615cd7080a335c6304c6a814e.
2015-08-26 15:56:39 +08:00
=^._.^=
06d41a5230
Update to Electron v0.31.0
2015-08-25 21:22:37 -07:00
Cheng Zhao
eb709a9a8f
Fix building on OS X
2015-08-25 20:55:07 +08:00
Cheng Zhao
c3e1ceaf61
Merge pull request #132 from deepak1556/devtools_title_patch
...
Allowing devtools window to update title
2015-08-25 20:29:03 +08:00
Max Ogden
2e0c44a91f
update docs and readme
2015-08-22 13:14:26 +02:00
=^._.^=
a3cdead9a8
Update to Electron v0.31.0
2015-08-21 15:07:45 +02:00
Cheng Zhao
0180eea8a9
Merge pull request #127 from atom/chrome44
...
Upgrade to Chrome 44
2015-08-21 19:28:43 +08:00
Cheng Zhao
c9557f2b39
win: Fix Release build
2015-08-21 16:19:57 +08:00
Cheng Zhao
c4d192b9a4
linux: Fix building
2015-08-21 16:14:19 +08:00
=^._.^=
d752ffeb06
Update to Electron v0.30.5
2015-08-21 07:51:02 +02:00
Cheng Zhao
b41635e809
Don't pass callback as const reference
2015-08-13 12:07:35 +08:00
Cheng Zhao
24d31e2046
Don't convert Function to Dictionary
2015-08-12 21:31:45 +08:00
Cheng Zhao
7160054927
GetNext should have no side effect when failed
2015-08-12 21:31:31 +08:00
Cheng Zhao
b6c353ee80
Add Dictionary::CreateEmpty
2015-08-12 21:18:59 +08:00
Cheng Zhao
8a92ef34a7
Store NetLog in BrowserClient
2015-08-11 18:29:55 +08:00
Cheng Zhao
edda9d0488
Link with a few more static libraries on Linux and OS X
2015-08-11 10:45:30 +08:00
Cheng Zhao
3deb8297e1
Update to Chrome 44
2015-08-11 10:24:53 +08:00
Cheng Zhao
1cd7434a66
Include Foundation.h at right place
2015-08-11 10:05:27 +08:00
Cheng Zhao
089a4cf08f
Disable -Wunneeded-internal-declaration warning
2015-08-11 10:04:07 +08:00
Haojian Wu
f82ab5f193
Implement devtools preference interfaces.
2015-08-11 09:49:57 +08:00
Haojian Wu
6171ab8f6b
[Win] Link http_server.lib.
2015-08-11 09:49:57 +08:00
Haojian Wu
68a45aa29a
[Win] Link devtools_discovery.lib and devtools_http_handler.lib in component builds.
2015-08-11 09:49:57 +08:00
Haojian Wu
7d22da5169
Fix API changes in DevToolsManagerDelegate.
2015-08-11 09:49:57 +08:00
Haojian Wu
2dd8bc0c78
ffmpegsumo.dll => ffmpeg.dll
2015-08-11 09:49:57 +08:00
Haojian Wu
2703f186a6
DevToolsHttpHandler is moved from content to devtools_http_handler namespace.
2015-08-11 09:49:56 +08:00
Haojian Wu
dd11ad8db3
DevToolsHttpHandler::GetFrontendResourceId is removed.
2015-08-11 09:49:56 +08:00
Haojian Wu
c5ae2926e1
WebContentsFocused is removed.
...
Use OnWebContentsFocused instead.
2015-08-11 09:49:56 +08:00
Haojian Wu
ce6172b829
Update PlatformNotificationServiceImpl Interfaces.
2015-08-11 09:49:56 +08:00
Haojian Wu
ef91261aa5
No NetLog anymore, use NetLogCaptureMode.
2015-08-11 09:49:56 +08:00
=^._.^=
0a281df10b
Update to Electron v0.30.4
2015-08-10 17:36:15 +02:00
=^._.^=
57f7250a82
Update to Electron v0.30.3
2015-08-07 16:48:07 +02:00
Cheng Zhao
67d9eaa215
Remove locker.h
2015-08-07 19:32:27 +08:00
Robo
26f4d09b2c
implement for osx
2015-08-07 16:24:45 +05:30
Cheng Zhao
ebcf4c0224
Remove callback.h
2015-08-07 18:09:37 +08:00
Robo
1f65b47e8e
allow updating devtools title in undocked mode
2015-08-07 14:30:49 +05:30
Cheng Zhao
97cf8ca609
Merge pull request #131 from atom/devtools-size
...
Don't show devtools window in too small size or out of screen
2015-08-04 22:52:29 +08:00
Cheng Zhao
5b4a42f7e9
Show devtools window in the middle of display
2015-08-04 22:50:30 +08:00
Cheng Zhao
0ef2857534
Don't show devtools window in too small size or out of screen
2015-08-04 22:43:59 +08:00
Cheng Zhao
545c62994f
Merge pull request #130 from atom/linux-notification
...
Guard against outside input in Linux notifications
2015-08-04 16:46:53 +08:00
Cheng Zhao
bb7cd8f261
Guard agains empty notification
2015-08-04 16:44:32 +08:00
Cheng Zhao
81ba4e3a3e
Guard against empty image
2015-08-04 16:43:46 +08:00
=^._.^=
5252079b3b
Update to Electron v0.30.2
2015-07-29 23:57:13 -07:00
Max Ogden
33d63ac712
update readme
2015-07-29 15:39:15 -07:00
Cheng Zhao
51f0485898
Merge pull request #128 from deepak1556/inspectable_web_contents_api_patch
...
fix devtools workspace api
2015-07-29 17:14:49 +08:00
Cheng Zhao
4f124e0f44
Merge pull request #129 from deepak1556/devtools_zoom_level_patch
...
save devtools zoom level preference
2015-07-29 14:45:14 +08:00
Robo
a56a0505fa
save devtools zoom level preference
2015-07-29 12:08:31 +05:30
Robo
e9da74e58a
fix devtools workspace api to accept file path
2015-07-29 09:31:00 +05:30
=^._.^=
9daed39907
Update to Electron v0.30.1
2015-07-24 03:36:37 -07:00
Cheng Zhao
656e403f01
Use C++11 version of CreateFunctionTemplate
2015-07-23 14:59:32 +08:00
Cheng Zhao
bd6019ba0d
Merge pull request #126 from atom/round-corner
...
Make bottom corner more round
2015-07-20 18:27:25 +08:00
Cheng Zhao
935d1e142f
Make bottom corner more round
2015-07-20 18:24:24 +08:00
=^._.^=
c2e552de02
Update to Electron v0.30.0
2015-07-16 10:56:17 -07:00
Cheng Zhao
89546a9c19
Merge pull request #124 from deepak1556/devtools_network_patch
...
create netlog instance for devtoolsnetlogobserver
2015-07-16 06:35:29 -07:00
Robo
7496cb29fe
create netlog for devtoolsnetlogobserver
2015-07-15 00:54:28 +05:30
Cheng Zhao
6b1e4cc91a
Set user agent from the delegate
2015-07-14 11:37:57 -07:00
Cheng Zhao
8bb0ea438d
Enable override user agent in URLRequestContextGetter
2015-07-14 10:04:34 -07:00
Cheng Zhao
032401edf8
Merge pull request #123 from deepak1556/proxy_patch
...
adding support for kProxyPacUrl
2015-07-13 15:14:11 -07:00
Robo
ca09f32548
adding support for kProxyPacUrl
2015-07-10 13:52:02 +05:30
=^._.^=
bd94d8028d
Update to Electron v0.29.2
2015-07-07 03:06:55 -07:00
Cheng Zhao
681e868a5b
Link with nss
2015-07-07 14:15:45 +08:00
Cheng Zhao
41cd6d13c9
Allow specify methods that can be called after object is destroyed
2015-07-06 21:25:55 +08:00
Cheng Zhao
7b9926807d
Add IsDestroyed method for Wrappable
2015-07-06 18:16:57 +08:00
Cheng Zhao
08b851dd0f
Load cursor from current module
2015-07-06 13:48:31 +08:00
Cheng Zhao
e67d0db448
OpenSSL is still used on Windows and Mac
2015-07-06 12:03:33 +08:00
Cheng Zhao
31b88f7370
USE_NSS is used before Chrome 45
2015-07-06 11:49:49 +08:00
Cheng Zhao
36447f6613
Use NSS instead of OpenSSL
2015-07-06 10:52:20 +08:00
=^._.^=
52c92032d2
Update to Electron v0.29.1
2015-07-03 09:21:10 -07:00
=^._.^=
5fb9c596b2
Update to Electron v0.29.0
2015-07-03 04:16:28 -07:00
Cheng Zhao
c210c68bee
Remove -std=gnu++11 flag
2015-07-01 07:48:29 +00:00
Cheng Zhao
3826e8864a
Fix a compiler warning
2015-07-01 06:50:07 +00:00
Cheng Zhao
d440a3c21d
Do not force using clang
2015-07-01 14:32:04 +08:00
Cheng Zhao
de57d822d7
Merge pull request #121 from darwin/missing-overrides
...
Missing overrides
2015-06-26 21:30:56 +08:00
Antonin Hildebrand
899c730ece
Missing overrides
...
ninja compilation failed for me under OS X 10.11
2015-06-26 11:39:41 +02:00
Cheng Zhao
f477e6ca6a
Don't hide methods of content::BrowserContext
2015-06-26 10:58:06 +08:00
Cheng Zhao
f9dc87ba97
Add InspectableWebContentsViewDelegate
2015-06-25 12:29:34 +08:00
Cheng Zhao
cc4e2fcd94
Check for null when converting Wrappable
2015-06-24 16:35:37 +08:00
Cheng Zhao
cad1fa50a9
Make isolate() public
2015-06-23 17:13:02 +08:00
Cheng Zhao
0586822808
Remember isolate in Wrappable
2015-06-23 17:09:20 +08:00
=^._.^=
4e6381056a
Update to Electron v0.28.3
2015-06-23 07:40:05 +00:00
=^._.^=
e43c524ca4
Update to Electron v0.28.2
2015-06-18 05:48:49 +00:00
Cheng Zhao
9fb30b702a
Check if image is empty.
2015-06-18 12:41:36 +08:00
Cheng Zhao
a24d4cd0d9
Merge pull request #120 from atom/osx-image-on-109-only
...
Ensure we don't try to set notification contentImage on < OS X 10.9
2015-06-18 12:35:59 +08:00
=^._.^=
56270a505d
document proxy env vars. closes #21
2015-06-17 20:52:37 -07:00
Paul Betts
c3de789fd7
Ensure we don't try to set contentImage on 10.7/10.8. That would be rude!
2015-06-17 13:01:48 -07:00
Cheng Zhao
0e6e4b6c5e
Merge pull request #118 from atom/osx-notification-image
...
Set contentImage based on the passed-in image
2015-06-17 12:37:15 +08:00
Paul Betts
0e98519d3b
Set contentImage based on the passed-in image
2015-06-16 18:00:39 -07:00
Max Ogden
5176c62287
Merge branch 'ralphtheninja-master'
2015-06-16 16:30:24 -07:00
Max Ogden
a09ae620d8
merge regex
2015-06-16 16:29:46 -07:00
Cheng Zhao
ca021d030f
Add --ignore-connections-limit switch
2015-06-16 16:03:43 +08:00
Cheng Zhao
cb6fba94fc
Merge pull request #117 from deepak1556/gyp_defines_patch
...
define openssl_certs on linux
2015-06-16 13:36:54 +08:00
Max Ogden
b9fa0fdbe2
0.28.1
2015-06-15 09:38:04 -07:00
Max Ogden
2706679589
0.28.1
2015-06-15 09:38:01 -07:00
Max Ogden
df8d88916b
0.28.0
2015-06-15 09:37:36 -07:00
Max Ogden
cf7b552625
0.28.0
2015-06-15 09:37:33 -07:00
=^._.^=
4c528355bf
Merge pull request #41 from masom/masom-patch-1
...
Bump to version 0.28.1
2015-06-15 16:36:20 +00:00
Martin Samson
a58788822c
Updated to 0.28.1
2015-06-12 12:04:59 -04:00
deepak1556
27fbdf3cf2
define openssl_certs on linux
2015-06-11 23:18:47 +05:30
Cheng Zhao
3cea64b0f6
Fix typo
2015-06-10 19:30:57 +08:00
Cheng Zhao
9868d46d63
OpenSSL is actually used by all platforms
2015-06-10 19:15:45 +08:00
Cheng Zhao
4b26cbf24b
Merge pull request #115 from deepak1556/cert_store_patch
...
intiailse platform clientcertstore
2015-06-10 19:14:58 +08:00
Cheng Zhao
f310222ce1
Allow converting Array
2015-06-10 11:14:42 +08:00
deepak1556
3ac3a2f115
intiailse platform clientcertstore
2015-06-10 02:37:11 +05:30
Lars-Magnus Skog
efd51295c9
use version from package.json
2015-06-09 20:59:04 +02:00
Max Ogden
0a93f3691c
0.27.3
2015-06-09 11:13:40 -07:00
=^._.^=
0367374f90
Merge pull request #38 from mattdesl/patch-1
...
bump to 0.27.3
2015-06-09 18:12:14 +00:00
Matt DesLauriers
811935b3b2
bump to 0.27.3
2015-06-09 10:42:26 -04:00
Cheng Zhao
5e943e1456
view_ needs to be destroyed after web_contents_
2015-06-09 11:09:16 +08:00
Cheng Zhao
e0992884e6
Merge pull request #116 from atom/delete-requests
...
Make devtools_web_contents_ is destroyed before everything
2015-06-09 11:02:45 +08:00
Cheng Zhao
64c4a34507
Make devtools_web_contents_ is destroyed before everything
...
The WebContentsDestroyed still access the other members, so if they are
destroyed before the devtools_web_contents_ in the destructor, we will
crash there.
2015-06-09 10:44:48 +08:00
Cheng Zhao
418264d42a
Merge pull request #114 from deepak1556/webcontents_patch
...
fix dereferencing possibly null pointer
2015-06-09 10:31:07 +08:00
Cheng Zhao
b2eb23aa01
Clean up code
2015-06-09 09:51:38 +08:00
Cheng Zhao
a56c132835
Merge pull request #113 from deepak1556/net_log_patch
...
adding support for kLogNetLog switch
2015-06-08 23:13:03 +08:00
deepak1556
8adb65fa29
fix dereferencing null pointer
2015-06-08 20:31:07 +05:30
deepak1556
2ba119f395
fix memory leak
2015-06-08 19:56:48 +05:30
deepak1556
15255944b6
create net log instance only when needed
2015-06-08 19:19:44 +05:30
deepak1556
33f65ba981
fix crash on quit
2015-06-06 14:33:07 +05:30
deepak1556
1022357700
adding netconstants to log
2015-06-06 00:13:10 +05:30
deepak1556
ee6b14d1d8
adding support for kLogNetLog switch
2015-06-05 20:25:08 +05:30
Cheng Zhao
51bb357405
Add DevToolsOpened and DevToolsClosed events
2015-06-05 16:57:17 +08:00
Cheng Zhao
d1e70e7826
Add InspectableWebContents::GetDevToolsWebContents
2015-06-05 14:33:37 +08:00
Cheng Zhao
9ab9b392d6
Fix crash when quitting
2015-06-05 12:35:41 +08:00
Cheng Zhao
44ba4e87aa
Merge pull request #112 from atom/devtools-load-network-resources
...
Fix networking requests not loading in devtools
2015-06-05 12:27:00 +08:00
Cheng Zhao
05f182f650
Clean up code
2015-06-05 12:24:48 +08:00
Cheng Zhao
aa926680a2
No more need to override DidFinishLoad
2015-06-05 12:10:01 +08:00
Cheng Zhao
95d28c398e
Update cpplint
2015-06-05 12:07:27 +08:00
Cheng Zhao
56747e975e
Avoid calling JavaScript of devtools WebContents too early
...
It would craete a context that window.location is about:blank
2015-06-05 11:58:27 +08:00
Cheng Zhao
9a9bc5530e
Handle network requests from devtools
2015-06-05 11:20:20 +08:00
Cheng Zhao
d48a80bdfa
Update to new devtools messages
2015-06-05 11:03:47 +08:00
Cheng Zhao
3f2c2e3484
Merge pull request #111 from deepak1556/devtools_workspace_patch
...
delegate filesystem request calls
2015-06-05 10:32:10 +08:00
deepak1556
62f860123d
delegate filesystem request calls
2015-06-04 22:21:23 +05:30
Cheng Zhao
894cc64276
Link with gmodule-2.0, fix atom/electron#1809
2015-06-04 14:41:16 +08:00
Cheng Zhao
239ddea0ce
Merge pull request #110 from aroben/devtools-security
...
Make devtools work when web security is enabled
2015-06-03 09:51:32 +08:00
Adam Roben
2025b60968
Make devtools work when web security is enabled
...
These changes bring our copy of devtools_ui.cc in line with
https://chromium.googlesource.com/chromium/src.git/+/43.0.2357.92/chrome/browser/ui/webui/devtools_ui.cc
Without these changes, opening the devtools prints errors like:
[0602/165604:ERROR:CONSOLE(0)] "Refused to display 'chrome-devtools://devtools/inspector.html?can_dock=true&toolbarColor=rgba(223,223,223,1)&textColor=rgba(0,0,0,1)&experiments=true' in a frame because it set 'X-Frame-Options' to 'DENY'.", source: about:blank (0)
[0602/165604:ERROR:CONSOLE(1514)] "Uncaught SecurityError: Sandbox access violation: Blocked a frame at "chrome-devtools://devtools" from accessing a frame at "null". The frame being accessed is sandboxed and lacks the "allow-same-origin" flag.", source: chrome-devtools://devtools/devtools.js (1514)
2015-06-02 16:56:17 -04:00
Max Ogden
df1ee48faa
0.27.2
2015-06-01 15:38:24 -07:00
Max Ogden
740849270c
0.27.2
2015-06-01 15:38:17 -07:00
Cheng Zhao
3a005fd52a
Update libchromiumcontent
2015-05-29 17:51:50 +08:00
Cheng Zhao
155a50d00e
Revert "Link with ui_zoom in component build"
...
This reverts commit b48bc01c8f1fc11862f96db835a5f257aa6e53aa.
2015-05-29 17:51:22 +08:00
Cheng Zhao
f494f90a3e
Link with ui_zoom in component build
2015-05-29 16:54:28 +08:00
Cheng Zhao
eb2d94faf7
Update to latest libchromiumcontent
2015-05-29 15:50:12 +08:00
Cheng Zhao
ad207eeabb
Enter context before calling callback
2015-05-29 13:41:59 +08:00
Max Ogden
afc89ce2e9
0.27.1
2015-05-28 11:17:07 -07:00
Max Ogden
1d8a289ed2
0.27.1
2015-05-28 11:17:04 -07:00
Max Ogden
834e181a38
0.27.0
2015-05-28 11:16:46 -07:00
Max Ogden
2cd0ee5321
0.27.0
2015-05-28 11:16:44 -07:00
Cheng Zhao
a9a5765544
Remove trailing space
2015-05-27 15:02:01 +08:00
Cheng Zhao
bf99380c5d
Merge pull request #107 from deepak1556/devtools_patch
...
method to reset devtools agent host
2015-05-26 16:15:04 +08:00
Cheng Zhao
8818f9c448
Merge pull request #106 from hokein/pdf-dll
...
No need to link pdf related libraries in component build.
2015-05-26 12:40:40 +08:00
Cheng Zhao
564b9ec56f
Merge pull request #109 from atom/chrome43
...
Upgrade to Chrome 43
2015-05-23 12:24:07 +08:00
Cheng Zhao
ce266e8647
Link with d3d11.lib
2015-05-23 11:25:37 +08:00
Cheng Zhao
847dc32f74
Suppress compiler warning
2015-05-23 11:10:40 +08:00
Cheng Zhao
1696237a3f
Pass Handle to upper HandleScope when returning a V8 Handle
2015-05-22 21:23:16 +08:00
Cheng Zhao
269be86998
Use Local instead of Handle
2015-05-22 19:11:02 +08:00
Cheng Zhao
0f64da9dfc
Implement NetworkDelegate::OnFirstPartyOnlyCookieExperimentEnabled
2015-05-22 14:56:28 +08:00
Cheng Zhao
66d49a5241
ProxyResolverV8::EnsureIsolateCreated is removed
2015-05-22 14:54:33 +08:00
Cheng Zhao
37bd7fe331
Remove parameter |by_user| in NotificationClosed
2015-05-22 14:51:16 +08:00
Cheng Zhao
0cbf8b6cd2
Implement PermissionManager
2015-05-22 14:50:41 +08:00
Max Ogden
38f0c02ea1
0.26.1
2015-05-21 20:15:58 -07:00
=^._.^=
38dda0639d
Merge pull request #31 from ingorichter/ingo/update-electron-to-0.26.1
...
update electron shell to 0.26.1
2015-05-21 20:15:36 -07:00
Ingo Richter
458a4f95ff
- update electron shell to 0.26.1
2015-05-21 18:21:22 -07:00
Cheng Zhao
eee334c7f6
Merge pull request #108 from atom/no-incremental-linking
...
Turn off incremental linking for Release build
2015-05-20 13:53:48 +08:00
Cheng Zhao
c60fcc4c9a
Turn off incremental linking for Release build
2015-05-20 13:52:24 +08:00
deepak1556
145c18f4c8
method to reset agent_host
2015-05-18 19:26:03 +05:30
Haojian Wu
e76b06b84c
No need to link pdf related libraries in component build.
2015-05-13 09:54:56 +08:00
Max Ogden
d4d5e0f771
Merge pull request #30 from RnbWd/scripts2
...
updated scripts / .ignores
2015-05-12 17:27:55 -07:00
Max Ogden
bd2b0f2c2f
0.26.0
2015-05-12 17:22:08 -07:00
Max Ogden
19c6a6195d
0.26.0
2015-05-12 17:22:05 -07:00
RnbWd
eeb0d4439e
updated scripts / .ignores
2015-05-12 16:10:22 -07:00
Cheng Zhao
d350e73dff
win: Link with msvcrt dll for Release build
2015-05-12 17:00:18 +08:00
Max Ogden
baae0583c9
0.25.3-2 - add missing devDeps for tests
2015-05-10 13:55:44 -07:00
Max Ogden
009925d0fb
0.25.3-1
2015-05-10 13:54:36 -07:00
Max Ogden
e2fc1a0fb1
refactor to use electron-download
2015-05-10 13:54:06 -07:00
Cheng Zhao
6e603ddae9
Merge pull request #102 from hokein/win-print
...
Link pdf related libraries for component build.
2015-05-10 11:31:25 +08:00
Mathias Buus
92a2eb2864
0.25.3
2015-05-09 00:19:09 +02:00
Misumi Rize
0ba1f030a3
version 0.25.3
2015-05-09 00:16:05 +02:00
Mathias Buus
2e4881ba68
0.25.2-1
2015-05-09 00:16:05 +02:00
Mathias Buus
0a8ac33911
reset version for #18
2015-05-09 00:16:05 +02:00
RnbWd
bbdec2be1a
v0.25.3
2015-05-08 06:11:40 -07:00
RnbWd
ce8c95127e
simplify cache paths
2015-05-07 14:21:51 -07:00
RnbWd
7864197291
added cache
2015-05-06 21:44:10 -07:00
Cheng Zhao
9b1302b894
Merge pull request #104 from atom/enable-ntlm-auth
...
Explicitly create HttpAuthHandlerFactory to enable NTLM / Kerberos authentication
2015-05-07 10:48:37 +08:00
RnbWd
8fdb5b42d8
update
2015-05-06 17:52:51 -07:00
RnbWd
9afad0a3d7
ignore path.txt
2015-05-06 17:52:20 -07:00
RnbWd
3c8af7564b
fs.existsSync() is depreciated in io.js
2015-05-06 17:50:49 -07:00
Paul Betts
a18e5d7d5c
Come Correct with memory management
2015-05-05 22:35:48 -07:00
Paul Betts
dbe969b5c5
Fix indentation
2015-05-05 22:28:00 -07:00
Paul Betts
9737ba3e37
Explicitly create HttpAuthHandlerFactory
...
The CreateDefault method does not set a URLSecurityManager, so the code will
fall-back to disabling all built-in authentication. Instead, use the default
URLSecurityManager which will use IE Security Zones on Windows to determine
whether a URL is part of the Local Intranet zone or on non-Windows, default
proxy rules will be used (i.e. would a default proxy map vs. connect direct).
2015-05-04 15:49:00 -07:00
Haojian Wu
34a5e0865d
Link pdf related libraries for component build.
2015-05-04 18:55:03 +08:00
Mathias Buus
a6ac7c98ec
0.25.2
2015-05-03 16:52:12 +02:00
Mathias Buus
5024fe0495
Merge pull request #18 from hemanth/patch-1
...
version 0.25.2
2015-05-03 16:50:32 +02:00
hemanth.hm
7b079a23b5
version 0.25.2
...
We must pick this up from the repo itself.
2015-05-01 15:10:01 +05:30
Mathias Buus
a76d0acb2e
0.25.1-1
2015-04-30 11:40:32 +02:00
Mathias Buus
3aa660c4cc
Merge pull request #13 from JamesKyburz/issue-9
...
replaced run.bat with cli.js closes #9
2015-04-30 11:33:36 +02:00
Max Ogden
fad1fd6635
0.25.1
2015-04-25 12:50:23 -07:00
Max Ogden
cfddeef6ba
upgrade
2015-04-25 12:50:21 -07:00
Max Ogden
f70969be0f
0.25.0
2015-04-25 12:49:56 -07:00
Max Ogden
230a17909c
upgrade
2015-04-25 12:49:53 -07:00
James Kyburz
0b0472a999
replaced run.bat with cli.js closes #9
2015-04-23 21:38:02 +02:00
James Kyburz
c973ebc84a
update electron version fixing windows issues
2015-04-23 21:38:02 +02:00
Cheng Zhao
7e376c1f73
win: Delay load of BluetoothApis.dll, fixes atom/electron#1462
2015-04-23 13:26:34 +08:00
Cheng Zhao
a99d29b859
linux: Fix compiler warning
2015-04-22 05:50:27 +00:00
Cheng Zhao
e65f0941e0
Merge pull request #100 from atom/chrome42
...
Upgrade to Chrome 42
2015-04-22 12:12:47 +08:00
Cheng Zhao
b62896d571
Merge pull request #99 from paulcbetts/ubuntu-notifications
...
Ubuntu notification improvements
2015-04-22 12:11:19 +08:00
Paul Betts
a0e5d36305
Free some stuff
2015-04-21 14:09:48 -07:00
Cheng Zhao
7e88fe107d
linux: Pass v8 snapshot's fd to child process
2015-04-21 21:43:30 +08:00
Cheng Zhao
a5b6ffd93c
mac: Link with IOBluetooth.framework
2015-04-21 19:05:39 +08:00
Cheng Zhao
90b255f2cd
Fix API changes
2015-04-21 18:54:57 +08:00
Cheng Zhao
80dd72b93c
Upgrade to Chrome 42
2015-04-21 18:54:48 +08:00
Cheng Zhao
027a474fa2
Include headers of mojo
2015-04-21 14:30:06 +08:00
Paul Betts
5d82bab10d
Use DBus to detect indicator, not testing for files like an animal
2015-04-20 15:31:24 -07:00
Paul Betts
7c52838ece
Fix the build on OS X
2015-04-20 13:29:10 -07:00
Paul Betts
3357dc0ef7
Set icon for notification, and disable action on Ubuntu
2015-04-20 13:22:18 -07:00
Paul Betts
a31ce8ce50
Make PlatformNotificationService pass along the icon
2015-04-20 13:21:18 -07:00
Paul Betts
b8689dc6cc
Add a parameter to ShowNotification for the icon
2015-04-20 13:20:50 -07:00
Cheng Zhao
1cf1b5243d
win: Delay load of MFReadWrite.dll
...
Fixes atom/electron#1442 .
2015-04-20 19:47:21 +08:00
Cheng Zhao
047a8de934
Merge pull request #1 from deepak1556/converter_patch
...
added std::set converter
2015-04-20 16:16:42 +08:00
deepak1556
39fae3a480
added std::set converter
2015-04-18 01:33:54 +05:30
Max Ogden
d0e3084a4c
Merge pull request #12 from steelbrain/patch-1
...
Fix a typo
2015-04-17 11:32:33 -07:00
Steel Brain
fa13ebf502
🎨 Fix a typo
2015-04-17 11:30:44 -07:00
Max Ogden
b365cdc283
0.24.0
2015-04-17 11:20:02 -07:00
Max Ogden
698d0c5e70
rename to electron-prebuilt
2015-04-17 11:19:50 -07:00
Mathias Buus
cb161234e5
v0.23.0
2015-04-12 01:36:42 -07:00
Cheng Zhao
4769e21e3d
Add required defines under 32bit Linux
2015-04-12 08:15:57 +00:00
Cheng Zhao
36e6243085
linux: Define _LARGEFILE_SOURCE
2015-04-12 07:56:14 +00:00
Cheng Zhao
2e7b3f0d78
win: Optimize for size
2015-04-11 23:28:41 +08:00
Cheng Zhao
f3c83b55dd
Merge pull request #98 from atom/win_64bit
...
Allow specifying the arch of libchromiumcontent to download
2015-04-11 20:21:53 +08:00
Cheng Zhao
5bb9c180f9
win: Don't use _x64 targets
2015-04-11 18:58:46 +08:00
Cheng Zhao
a4a1812f17
Require target_arch parameter
2015-04-11 18:29:51 +08:00
Cheng Zhao
0deeae0214
Allow specifying the arch of libchromiumcontent to download
2015-04-11 18:02:52 +08:00
Cheng Zhao
5c9a1d9a43
Merge pull request #97 from atom/component_build
...
Add support for shared_library and static_library build of libchromiumcontent
2015-04-11 13:47:51 +08:00
Cheng Zhao
59d99f7b60
Set libchromiumcontent_component when bootstrapping
2015-04-11 13:44:58 +08:00
Cheng Zhao
decf522f48
Cleanup the brightray.gyp file
2015-04-11 13:35:22 +08:00
Cheng Zhao
a1b682cd50
Debug_Base and Release_Base configs are abstract
2015-04-11 12:07:14 +08:00
Cheng Zhao
48c9f4a0a6
No longer link with shared library of boringssl
2015-04-10 18:53:14 +08:00
Cheng Zhao
10122304ed
Fix including icu libraries
2015-04-10 12:06:55 +08:00
Cheng Zhao
b85b08ef8c
Separate V8 libraries from other libraries
2015-04-09 20:48:27 +08:00
Cheng Zhao
62e9452831
win: Do not use link time code generation
...
It causes problems on Windows
2015-04-09 14:39:52 +08:00
Cheng Zhao
a8eb750efa
win: Cleanup the compiler settings
2015-04-09 14:26:33 +08:00
Cheng Zhao
02ee07c4a0
win: No need to set default linked libraries
2015-04-09 13:38:54 +08:00
Cheng Zhao
9d921afff0
win: Remove unused config variables
2015-04-09 13:33:44 +08:00
Cheng Zhao
794b459ccd
linux: Work around linker OOM on 32bit target
2015-04-09 12:05:42 +08:00
Cheng Zhao
6e3de02554
mac: "xcode_settings" doesn't work under "configurations"
2015-04-09 11:30:01 +08:00
Cheng Zhao
8a1a39b7b1
Add flag to build with clang
2015-04-09 10:49:36 +08:00
Cheng Zhao
0ae78f98eb
mac: Improve configs for Release build
2015-04-09 10:41:26 +08:00
Cheng Zhao
9a691d1be8
Add "linux_system_libraries" variable
2015-04-09 10:14:25 +08:00
Cheng Zhao
845986750c
Move filenames to another file
2015-04-09 10:11:28 +08:00
Cheng Zhao
48966c3046
Move filename rules to another file
2015-04-09 10:03:01 +08:00
Cheng Zhao
62d845f09e
linux: Improve building flags for Release build
2015-04-09 09:58:07 +08:00
Cheng Zhao
2ef9e85f5e
Remove linux_clang option
2015-04-08 19:20:51 +08:00
Cheng Zhao
891856f3af
linux: Fix linking with system libraries
2015-04-08 08:22:55 +00:00
Cheng Zhao
c5f8e4360c
Link with static_library version of libgtk2ui
2015-04-08 04:08:21 +00:00
Cheng Zhao
a7f7834be9
linux: Link with libboringssl.so
2015-04-08 02:42:19 +00:00
Cheng Zhao
feeb1da5ca
Don't call download twice
2015-04-07 23:39:08 +08:00
Cheng Zhao
d1fb13b260
Fix path to boringssl.dll
2015-04-07 20:18:09 +08:00
Cheng Zhao
b9ddf0eb31
Still link with shared_library of boringssl
2015-04-07 17:25:13 +08:00
Cheng Zhao
92ce000bb2
win: Link with DLL version of vcrt in component build
2015-04-07 13:48:09 +08:00
Cheng Zhao
938182a3eb
mac: Fix linking with boringssl
2015-04-07 11:28:56 +08:00
Cheng Zhao
512deae254
Fix generating configs on OS X and Linux
2015-04-06 21:41:36 +08:00
Cheng Zhao
9934985974
win: Link with libraries from other places
2015-04-06 16:01:31 +08:00
Cheng Zhao
d522443c75
win: Import system libraries in content_common.gypi
2015-04-06 15:20:27 +08:00
Cheng Zhao
f1a508f643
win: Link with boringssl.dll
2015-04-06 15:14:57 +08:00
Cheng Zhao
3b5edb461a
win: Fix linking with libyuv
2015-04-06 15:04:07 +08:00
Cheng Zhao
4c36b747e0
win: Fix linking with ffmepg
2015-04-06 15:03:53 +08:00
Cheng Zhao
7b7a94140d
win: Fix defines under component build
2015-04-06 14:19:28 +08:00
Cheng Zhao
ed5660909b
win: Link with sandbox and base_static under component build
2015-04-06 12:03:22 +08:00
Cheng Zhao
9fd0f7e78e
win: Add configurations for x64 build
2015-04-05 23:03:34 +08:00
Cheng Zhao
f9f891bd03
win: Fix libchromiumcontent_src_dir not defined
2015-04-05 22:51:38 +08:00
Cheng Zhao
0ed4626776
Download static_library build of libchromiumcontent
2015-04-05 22:28:00 +08:00
Cheng Zhao
5ef7a0d1da
Use "D" and "R" as short names
2015-04-03 11:39:03 +08:00
Cheng Zhao
d9056135d7
Link with libboringssl.dylib
2015-04-03 11:37:27 +08:00
Cheng Zhao
038afadd1b
mac: Link with all necessary system libraries
2015-04-03 09:56:03 +08:00
Cheng Zhao
4977741f35
Set libraries' path according to libchromiumcontent_component variable
2015-04-02 22:14:18 +08:00
Cheng Zhao
faac37a85c
Only do component build in Debug mode
2015-04-02 15:11:15 +08:00
Cheng Zhao
7e41b9e44d
Link with component build shared libraries
2015-04-02 14:05:43 +08:00
Cheng Zhao
19198a579a
Upgrade libchromiumcontent for component build
2015-04-02 13:46:16 +08:00
Cheng Zhao
1a45176c24
Merge pull request #96 from deepak1556/web_contents_patch
...
detecting focus on devtools webcontents
2015-04-02 10:19:44 +08:00
Robo
4ae52721c4
detecting focus on devtools webcontents
2015-04-01 15:22:53 +05:30
Max Ogden
008535029a
0.22.3
2015-03-31 11:59:15 -07:00
Max Ogden
7f925cb5f4
0.22.3
2015-03-31 11:59:11 -07:00
Max Ogden
a6f1089100
0.22.2
2015-03-31 11:58:38 -07:00
Max Ogden
8b6f0b42e7
0.22.2
2015-03-31 11:58:34 -07:00
Cheng Zhao
17f1fc618e
Merge pull request #95 from hokein/webui
...
Enable webui in content layer.
2015-03-29 20:57:24 +08:00
Haojian Wu
0eae030f67
Enable webui in content layer.
...
Allow to access Chrome's webuis(chrome://gpu, chrome://tracing) in Atom Shell.
2015-03-29 16:33:51 +08:00
Max Ogden
f04376455d
add --save-dev instructions to readme
2015-03-25 17:56:46 -07:00
Cheng Zhao
6090358f16
Update libchromiumcontent
2015-03-23 08:29:44 +00:00
Cheng Zhao
40da835cbb
Don't reset handle before Wrappable is destroyed
...
It is possible that the user wants to use the V8 object in the destructor.
Fixes atom/atom-shell#1112 .
2015-03-23 16:20:59 +08:00
Max Ogden
7eb594d6b5
0.22.1
2015-03-18 15:40:27 -07:00
Max Ogden
6c43acbb8d
0.22.1
2015-03-18 15:40:25 -07:00
Max Ogden
98ced7f077
0.22.0
2015-03-18 15:40:13 -07:00
Max Ogden
f0492b803b
0.22.0
2015-03-18 15:40:10 -07:00
Cheng Zhao
afca245916
Merge pull request #94 from atom/chrome41
...
Upgrade to Chrome 41
2015-03-18 12:57:01 +08:00
Cheng Zhao
4e14c8634b
Fix building on Windows
2015-03-18 12:55:02 +08:00
Cheng Zhao
21ee1f257f
Upgrade libchromiumcontent
2015-03-18 09:55:13 +08:00
Kevin Sawicki
ac77c9df54
Update URLs for new atom org location
2015-03-17 11:24:10 -07:00
Cheng Zhao
54e58ae255
Fix compilation on Linux
2015-03-16 14:45:19 +08:00
Cheng Zhao
38aba07290
usigned long is uint64 on Linux
2015-03-14 18:47:36 +00:00
Cheng Zhao
6033e5bea3
Upgrade libchromiumcontent
2015-03-13 16:33:48 -07:00
Cheng Zhao
1a53e293dd
Use DevToolsAPI instead of InspectorFrontendAPI
...
Now InspectorFrontendAPI is available in the iframe, we have to call DevToolsAPI
which delegates the call.
2015-03-11 14:51:37 -07:00
Cheng Zhao
a636fad51e
Add converter for unsigned long
2015-03-10 16:46:54 -07:00
Cheng Zhao
56a1691588
MEDIA_LOOPBACK_AUDIO_CAPTURE renamed to MEDIA_DESKTOP_AUDIO_CAPTURE
2015-03-08 20:04:25 -07:00
Cheng Zhao
bb8da7ec7e
Fix browser_context.cc
2015-03-08 19:56:45 -07:00
Cheng Zhao
5e1a4e1222
Fix url_request_context_getter.cc
2015-03-08 19:54:27 -07:00
Cheng Zhao
f04ee342ea
Remove RemoteDebuggingServer class
2015-03-08 19:53:37 -07:00
Cheng Zhao
2837b730f2
Fix network_delegate.cc
2015-03-08 19:47:12 -07:00
Cheng Zhao
95f0f25dc4
Fix inspectable_web_contents_impl.cc
2015-03-08 19:38:40 -07:00
Cheng Zhao
a5026907e4
Implement PlatformNotificationService
2015-03-08 19:37:13 -07:00
Cheng Zhao
99e2dbd6e8
Fix inspectable_web_contents_impl.h
2015-03-08 19:13:17 -07:00
Cheng Zhao
8467fee8d8
Fix devtools_manager_delegate.cc
2015-03-08 19:07:53 -07:00
Cheng Zhao
c0356f0269
Fix ui/gfx/geometry headers
2015-03-08 19:02:38 -07:00
Cheng Zhao
33f0b2ad89
Upgrade to Chrome 41
2015-03-05 12:28:41 -08:00
Max Ogden
9679e68f7a
0.21.3-1 (0.21.3 had a bug on our end, sorry)
2015-03-04 13:17:38 -08:00
Max Ogden
82d6782479
fix typo
2015-03-04 13:14:47 -08:00
Max Ogden
1809db5669
use standard js style
2015-03-04 13:08:16 -08:00
Max Ogden
2a048369fe
0.21.3
2015-03-04 13:04:51 -08:00
Max Ogden
fafb79c2e0
0.21.3
2015-03-04 13:04:36 -08:00
Cheng Zhao
d0db7bfb58
Add AfterInit method for Wrappable
2015-02-13 11:37:55 +08:00
Cheng Zhao
8d537ee2b6
Remove unneeded helper
2015-02-12 12:55:50 +08:00
Cheng Zhao
b23da34ce9
Upgrade to latest gyp
2015-02-12 10:43:31 +08:00
Cheng Zhao
3387f33a8e
Check internal field before converting
2015-02-11 22:09:42 +08:00
Max Ogden
023ed1c82f
0.21.2
2015-02-05 18:45:56 -08:00
Max Ogden
43897e8239
0.21.1
2015-02-05 18:45:24 -08:00
Cheng Zhao
657a394b12
Merge pull request #88 from brightray/chrome40
...
Upgrade to Chrome 40
2015-02-03 10:58:28 -08:00
Cheng Zhao
5e4c90f264
NotificationError is discarded
2015-02-03 10:57:33 -08:00
Cheng Zhao
1c65f5d7d9
Fix cpplint warning
2015-02-03 10:57:25 -08:00
Cheng Zhao
c874219101
Use the new devtools API
2015-02-03 10:57:25 -08:00
Cheng Zhao
dc01ba5a72
scoped_ptr.PassAs is deprecated
2015-02-03 10:57:25 -08:00
Cheng Zhao
02d632c4f7
Fix change of ShowDesktopNotification API
2015-02-03 10:57:25 -08:00
Cheng Zhao
f8a9348bcf
Upgrade libchromiumcontent to 40.0.2214.91
2015-02-03 10:42:52 -08:00
Cheng Zhao
963a3475e8
Merge pull request #91 from dcposch/master
...
Fix the build on Linux
2015-02-03 10:39:59 -08:00
Max Ogden
d9c358c4d5
add contributing
2015-02-01 17:25:28 -08:00
Max Ogden
beb6cac8a2
0.21.0
2015-02-01 17:24:30 -08:00
Max Ogden
4060ebcc94
0.20.8
2015-02-01 17:24:10 -08:00
Max Ogden
45c0e7075b
0.20.7
2015-02-01 17:23:53 -08:00
Max Ogden
1e2d986430
0.20.6
2015-02-01 17:23:38 -08:00
Max Ogden
049e988137
0.20.5
2015-02-01 17:23:21 -08:00
Max Ogden
2b4e4622c5
0.20.4
2015-02-01 17:23:02 -08:00
Max Ogden
384266ce76
0.20.3
2015-02-01 17:22:44 -08:00
Max Ogden
4b784d03a6
0.20.2
2015-02-01 17:22:16 -08:00
Max Ogden
b9fced9f6b
0.20.1
2015-02-01 17:21:54 -08:00
Max Ogden
85ee9028bb
0.20.0
2015-02-01 17:21:23 -08:00
Max Ogden
5841a68f08
0.19.5
2015-02-01 17:19:38 -08:00
DC
9aa2fd9119
Fix the build on Linux
...
See https://github.com/atom/atom-shell/issues/1074 for details
2015-01-30 03:54:30 -08:00
Cheng Zhao
6e5505c34f
Merge pull request #90 from hokein/fix-c++11-mac
...
Use libc++ on mac.
2015-01-26 10:41:06 -08:00
Haojian Wu
f922419f03
Use libc++ on mac.
2015-01-26 22:38:01 +08:00
Cheng Zhao
98bf5bf3ed
Implement CheckMediaAccessPermission
...
Part of the fixes for #1017 .
2015-01-23 15:13:04 -08:00
Cheng Zhao
4bbe026d48
register DIR_CACHE and DIR_USER_CACHE in path service
2015-01-18 21:00:47 -08:00
Cheng Zhao
dc4ccfcbdc
Merge pull request #89 from brightray/user-data-path
...
Use PathService to set and get DIR_USER_DATA
2015-01-18 18:03:56 -08:00
Cheng Zhao
c9463d815c
linux: Override DIR_APP_DATA before loading .js
2015-01-18 17:34:36 -08:00
Cheng Zhao
76e3d56760
Make DIR_APP_DATA available on Linux
2015-01-18 17:19:25 -08:00
Cheng Zhao
5b4e5a7e55
Override DIR_USER_DATA as data path
2015-01-18 16:59:57 -08:00
Cheng Zhao
964e1d6bb6
Override DIR_APP_DATA on Linux
2015-01-18 16:42:32 -08:00
Cheng Zhao
167995119a
Use current exe's icon as default window icon.
...
Fixes atom/atom-shell#863 .
2015-01-15 15:30:04 -08:00
Cheng Zhao
1116a36c15
Avoid unnecessary copy in ConvertToV8
2015-01-14 18:55:38 -08:00
Cheng Zhao
bcf87fd3c9
OVERRIDE => override
2015-01-09 17:23:18 -08:00
Cheng Zhao
0e0079956c
Add support for --ignore-certificate-errors
2015-01-06 20:36:20 -08:00
Cheng Zhao
1166a56ceb
Add a way to custom http cache backend
2015-01-05 13:29:16 -08:00
Cheng Zhao
ff0afc688d
Fix devtools window can not minimize
...
Closes atom/atom-shell#941 .
2015-01-04 22:32:49 -08:00
Cheng Zhao
753d5675dd
Fix ignored exception thrown from constructor.
2015-01-04 22:13:19 -08:00
Cheng Zhao
be2934d9b5
Fix throwing error in constructor
2015-01-02 18:05:25 -08:00
Cheng Zhao
51ef072de5
Implement GetDevToolsManagerDelegate, fixes atom/atom-shell#969
2015-01-02 15:18:24 -08:00
Cheng Zhao
ad81698651
Merge pull request #84 from brightray/chrome39
...
Upgrade to Chrome39
2014-12-17 13:15:42 -08:00
Cheng Zhao
dc86ab58a9
Remove DownloadManagerDelegate
...
Having a partial implemented DownloadManagerDelegate will cause crashes under
certain places.
2014-12-17 13:13:19 -08:00
Cheng Zhao
779c44424f
Upgrade libchromiumcontent
2014-12-12 14:48:36 -08:00
Mathias Buus
99eb5987ee
1.2.1
2014-12-12 14:19:54 -08:00
Mathias Buus
cfa1c2e15d
Merge pull request #8 from eyeofhell/master
...
Fixed 64-bit windows install
2014-12-12 14:19:23 -08:00
Grigory
c09c7a2248
Fixed 64-bit windows install
...
64-bit version is not available under Windows, so install fails with 404 download error. Fixed by patching windows install.
2014-12-12 22:20:20 +03:00
Cheng Zhao
01fde40299
Fix compilation warning on Windows
2014-12-10 13:26:57 -08:00
Cheng Zhao
c25dfcb71d
Upgrade libchromiumcontent to 39.0.2171.65
2014-12-09 22:39:45 -08:00
Cheng Zhao
2c81fb4719
Fix compilation warnings due to API changes
2014-12-09 22:39:44 -08:00
Cheng Zhao
289d3b54f3
Add DevToolsManagerDelegateA
2014-12-09 22:39:44 -08:00
Cheng Zhao
8ec5b5ad20
DevToolsClientHost is discarded
2014-12-09 22:39:44 -08:00
Cheng Zhao
f764a449af
Merge pull request #85 from paulcbetts/default-framework-name
...
Fix the default Framework name
2014-12-08 12:30:04 -08:00
Paul Betts
d4be5b6e8e
Fix the default framework name to be 'Product Framework.framework', not 'Product.framework'
2014-12-07 21:24:23 -08:00
Cheng Zhao
75eb15fa1f
Merge pull request #83 from IgorKlopov/patch-1
...
Same as https://github.com/atom/atom-shell/pull/867
2014-12-04 11:44:41 -08:00
Mathias Buus
c083acae97
1.2.0
2014-12-01 14:27:46 +01:00
Mathias Buus
6566b9a6a5
bump to 0.19.5 for #5
2014-12-01 14:16:31 +01:00
IgorKlopov
6e1c4d2860
Same as https://github.com/atom/atom-shell/pull/867
...
Indeed there are two places worth changing. After these two changes i am able to build Atom-Shell using Pyhon installed by default (without adding to paths)
2014-11-28 19:45:25 +03:00
Cheng Zhao
85d633aea3
Merge pull request #81 from rprichard/master
...
Move Linux pkg-config dependencies from atom-shell to brightray.
2014-11-25 21:23:30 +08:00
Ryan Prichard
f617eb5810
Move Linux pkg-config dependencies from atom-shell to brightray.
2014-11-24 03:27:11 -08:00
Cheng Zhao
06eff5cd8c
linux: Add a way to set WM_CLASS for devtools window
2014-11-24 16:03:55 +08:00
Mathias Buus
ff3019ace6
1.1.8
2014-11-22 20:31:37 +01:00
Mathias Buus
6af9dfc915
add shebang. fixes #4
2014-11-22 20:29:44 +01:00
Mathias Buus
cff6b91d46
1.1.7
2014-11-15 10:21:33 +01:00
Mathias Buus
99aa39b854
separate path file
2014-11-15 10:21:07 +01:00
Mathias Buus
8f5714396a
1.1.6
2014-11-15 10:14:52 +01:00
Mathias Buus
0980ba367a
arg fwd should also work on windows
2014-11-15 10:13:23 +01:00
Mathias Buus
df42990770
forward arguments
2014-11-15 10:11:09 +01:00
Cheng Zhao
601ee75bcf
linux: Use native window frame for devtools
...
Fixes atom/atom-shell#646 .
2014-11-06 19:08:41 +08:00
Cheng Zhao
c4aebe3ba1
No need to write "virtual" when we have "override"
2014-11-06 19:08:41 +08:00
Cheng Zhao
21e0907bfc
Merge pull request #78 from frankhale/maximize-devtools-window
...
Make devtools window maximizable
2014-11-04 10:00:28 +08:00
Frank Hale
513d84cd3e
Make devtools window maximizable
2014-11-03 11:10:14 -05:00
Cheng Zhao
dbfa9b5660
mac: Clean delegate before releasing window
2014-11-03 22:12:33 +08:00
Cheng Zhao
b75dc9b08d
mac: Close the devtools window before releasing it
...
Sometime simply releasing it may leave it open for a while.
2014-11-03 22:05:16 +08:00
Cheng Zhao
92244500c6
mac: Clean delegate after closing window
2014-11-03 21:46:59 +08:00
Cheng Zhao
74025ee985
Enable setting devtools to not able to dock
2014-11-03 21:32:11 +08:00
Cheng Zhao
2bbfdea8bb
Handle localized string
2014-10-31 19:42:06 +08:00
Cheng Zhao
4a1d11b2be
Guard against non-constructor call in Constructor::New
2014-10-30 21:54:29 +08:00
Cheng Zhao
b1f7cfa9da
Don't throw error in Constructor
2014-10-30 21:31:53 +08:00
Cheng Zhao
6b49e23312
Fix leaking WebContents from devtools.
2014-10-27 16:42:54 +08:00
Cheng Zhao
7b39673215
No need for "virtual" when "override" is used
2014-10-27 16:39:54 +08:00
Cheng Zhao
f809fef22d
OVERRIDE => override
2014-10-23 11:10:39 +08:00
Mathias Buus
3ac73f7e91
1.1.5
2014-10-21 14:43:02 +09:00
Mathias Buus
d0a0afdd71
set verbose mode
2014-10-21 14:42:55 +09:00
Mathias Buus
572220aa84
bump nugget
2014-10-21 14:41:57 +09:00
Mathias Buus
eb04836d51
add programmatic usage
2014-10-20 16:16:35 +09:00
Mathias Buus
4708eba69e
1.1.4
2014-10-20 14:57:00 +09:00
Mathias Buus
1bbd199e34
add tests
2014-10-20 14:56:57 +09:00
Mathias Buus
74c7a9455b
make travis build
2014-10-20 14:52:02 +09:00
Mathias Buus
f23cdf8d18
1.1.3
2014-10-20 14:40:49 +09:00
Mathias Buus
d28d2d9c23
add travis
2014-10-20 14:40:41 +09:00
Mathias Buus
1f3c285ccf
fix spaces in path issue
2014-10-20 14:40:06 +09:00
Max Ogden
93f5cc7d79
update readme
2014-10-20 14:39:27 +09:00
Mathias Buus
9cd9d09ef7
1.1.2
2014-10-20 14:16:46 +09:00
Mathias Buus
c074689930
better windows support
2014-10-20 14:16:38 +09:00
Mathias Buus
88f796c574
1.1.1
2014-10-20 14:04:37 +09:00
Mathias Buus
a8f6fc1005
bundle empty run.bat
2014-10-20 14:02:57 +09:00
Mathias Buus
a685e2d545
1.1.0
2014-10-20 14:00:19 +09:00
Mathias Buus
c1dc3e09a8
better cross platform support
2014-10-20 13:58:52 +09:00
Max Ogden
359504809b
1.0.1
2014-10-20 13:40:19 +09:00
Max Ogden
0d2b614506
update readme
2014-10-20 13:36:27 +09:00
Mathias Buus
7e2ce00b21
add missing fields
2014-10-20 13:26:56 +09:00
Mathias Buus
576add15cf
1.0.0
2014-10-20 13:17:49 +09:00
Mathias Buus
2a1e246e2a
reset version
2014-10-20 13:17:47 +09:00
Mathias Buus
beb4696b23
first commit
2014-10-20 13:17:38 +09:00
Cheng Zhao
e94795a600
Merge pull request #77 from brightray/chrome38
...
Upgrade to Chrome 38
2014-10-13 19:36:07 +08:00
Cheng Zhao
6d62b0960e
Fix building on Linux
2014-10-13 11:03:37 +08:00
Cheng Zhao
9e12036823
Upgrade to Chrome 38
2014-10-11 19:03:53 +08:00
Cheng Zhao
733931c7ad
Fix loading devtools
2014-10-11 19:00:30 +08:00
Cheng Zhao
5bec155c81
Adapt to API changes of Chrome 38
2014-10-11 16:38:27 +08:00
Cheng Zhao
5c455b6ff9
Fix compilation warning on Linux
2014-10-08 01:34:01 +00:00
Cheng Zhao
f7819f369b
Don't warn about deprecated-register
2014-10-06 11:11:41 +08:00
Cheng Zhao
ccaf23b338
Merge pull request #76 from brightray/usermedia
...
Add support for capturing screen in getUserMedia
2014-10-01 15:25:25 +08:00
Cheng Zhao
09678cc485
Clean the callback after executed
2014-10-01 15:18:34 +08:00
Cheng Zhao
ea28f518d3
Add handling of user media requests
2014-10-01 11:07:29 +08:00
Cheng Zhao
cc9d222923
Use NODE_VERSION_AT_LEAST to determine node version
2014-09-30 22:44:27 +08:00
Cheng Zhao
c5b39126ee
Make throwing exception when parsing args easier
2014-09-23 23:28:52 +08:00
Cheng Zhao
469f55ef5a
Merge pull request #75 from brightray/devtools-toolbar
...
Make devtools toolbar more eye candy
2014-09-09 19:32:48 +09:00
Cheng Zhao
30025fe6ef
Set toolbar color for devtools.
2014-09-09 18:28:02 +08:00
Cheng Zhao
c58bf15345
mac: Send focus/blur event to devtools web contents.
2014-09-09 17:57:23 +08:00
Cheng Zhao
a6627a7286
Add a method in InspectableWebContentDelegate to set icon for devtools window.
2014-09-09 15:29:35 +08:00
Cheng Zhao
c67ba6de6a
Merge pull request #73 from brightray/chrome37
...
Upgrade to Chrome37
2014-09-09 15:27:36 +08:00
Cheng Zhao
12f4e9b7ea
Add PersistentDictionary.
2014-09-09 14:12:59 +08:00
Cheng Zhao
742923c73d
Remove unused constructor of Dictionary.
2014-09-09 13:32:41 +08:00
Cheng Zhao
f013a98920
views: Use new devtools resizing strategy.
2014-09-01 20:09:08 +08:00
Cheng Zhao
2a8691d981
mac: Use new devtools resizing strategy.
2014-09-01 19:18:12 +08:00
Cheng Zhao
4107089363
Use new devtools resizing strategy from Chrome 37.
2014-09-01 19:15:07 +08:00
Cheng Zhao
f8c8c415eb
Fix cpplint warnings.
2014-08-31 20:05:14 +08:00
Cheng Zhao
6010539914
Don't create empty url request job factory.
2014-08-31 19:57:15 +08:00
Cheng Zhao
dca1c51b32
Fix API changes of Chrome37.
2014-08-31 18:43:01 +08:00
Cheng Zhao
f0e46a4728
Add skia related defines.
2014-08-31 18:28:53 +08:00
Cheng Zhao
bf6722ab4f
Upgrade libchromiumcontent to chrome37.
2014-08-31 17:44:07 +08:00
Cheng Zhao
47bc6a29a7
Print console output of devtools.
2014-08-28 12:53:35 +08:00
Cheng Zhao
3872db20d8
Merge pull request #72 from brightray/devtools-zoom
...
Make zooming work in devtools
2014-08-26 15:10:51 +08:00
Cheng Zhao
20efd82c98
Implement zoom messages for devtools.
2014-08-26 15:07:06 +08:00
Cheng Zhao
69bf54cebe
Merge pull request #71 from brightray/request-context-getter-delegate
...
Add delegate class for URLRequestContextGetter
2014-08-20 15:29:59 +08:00
Cheng Zhao
6e420d5137
Cleanup URLRequestContextGetter.
...
In brightray line length limit is 100 so we could make code formatted more
tidy.
2014-08-20 15:26:53 +08:00
Cheng Zhao
3fefdcba0d
Move creation of URLRequestJobFactoryImpl into default delegate.
2014-08-20 14:48:02 +08:00
Cheng Zhao
c30f11f38c
Add Delegate for URLRequestContextGetter.
2014-08-20 14:39:09 +08:00
Cheng Zhao
bbb3702543
Merge pull request #70 from brightray/proxy-server
...
Add --proxy-server and --no-proxy-server switch
2014-08-20 11:55:08 +08:00
Cheng Zhao
44bfa328f1
Add --proxy-server switch.
2014-08-20 11:49:18 +08:00
Cheng Zhao
d136c44792
Add --no-proxy-server switch.
2014-08-20 11:44:45 +08:00
Cheng Zhao
59398bc24b
Merge pull request #69 from brightray/host-rules
...
Add support for --host-rules and --host-resolver-rules
2014-08-15 12:47:07 +08:00
Cheng Zhao
8c73e6aba4
Implement --host-resolver-rules switch.
2014-08-15 12:42:11 +08:00
Cheng Zhao
052ddd961f
Implement --host-rules switch.
2014-08-15 12:30:50 +08:00
Cheng Zhao
8aa422a3e8
Merge pull request #68 from brightray/expose-url_request_context_getter
...
Add CreateURLRequestJobFactory override for BrowserContext
2014-08-15 12:16:23 +08:00
Cheng Zhao
b06970fda0
Remove unneeded headers and declarations.
2014-08-13 17:39:25 +08:00
Cheng Zhao
da3bafd490
Pass parameter by pointers when creating job factory.
...
1. The caller needs to modify protocol_handlers.
2. We need to make sure protocol_handlers and interceptors are not touched
if user doesn't create a job factory.
2014-08-13 17:31:33 +08:00
Cheng Zhao
604361f93d
Pass ProtocolHandlerScopedVector by value.
2014-08-13 16:16:01 +08:00
Cheng Zhao
b95b621dfc
Add url_request_context_getter getter for BrowserContext.
2014-08-13 16:09:32 +08:00
Cheng Zhao
3f9f778274
Clean handlers when custom job factory is used.
2014-08-13 16:05:22 +08:00
Cheng Zhao
2d03c983e4
Give user a chance to create custom URLRequestJobFactory.
2014-08-13 15:48:16 +08:00
Cheng Zhao
d01aa51686
using content::BrowserThread
2014-08-13 15:11:23 +08:00
Cheng Zhao
f05199d4e4
Don't be too strict on media requests.
2014-08-11 23:22:49 +08:00
Cheng Zhao
37fcbba516
Merge pull request #67 from brightray/devtools-experiments
...
Enable devtools experiments.
2014-08-11 10:52:04 +08:00
Cheng Zhao
eafa888757
Enable devtools experiments.
2014-08-11 10:42:50 +08:00
Cheng Zhao
980036b78a
Make ScopedPersistent's interface consistent with V8.
2014-08-10 21:18:42 +08:00
Cheng Zhao
1387d3969e
Add callback converter.
2014-08-10 19:05:25 +08:00
Cheng Zhao
5d6921ff2a
Use pump to generate source files.
2014-08-10 16:59:50 +08:00
Cheng Zhao
cbb5004ff9
Fix compilation error of Constructor and ScopedPersistent in node 0.10.
2014-08-10 12:17:47 +08:00
Cheng Zhao
9145a08395
Fix compilation error with node 0.10.
2014-08-10 11:20:41 +08:00
Cheng Zhao
760f7ed24f
Fix "warning: field 'widget_' is uninitialized when used here".
2014-08-09 09:34:06 +08:00
Cheng Zhao
488f7d168b
Merge pull request #66 from brightray/crash-closing-devtools
...
mac: Close devtools when web contents is destroyed.
2014-08-08 12:51:20 +08:00
Cheng Zhao
4ed7934567
mac: Close devtools when web contents is destroyed.
...
After the BRYInspectableWebContentsView is added as subview to other
NSWindow owned by users, the view_ would not be dealloc when the web
contents got destroyed, which made the devtools window a ghost.
2014-08-08 12:45:26 +08:00
Cheng Zhao
eab44d5045
Merge pull request #65 from brightray/mac-devtools-focus
...
Focus on devtools when it is opened on Mac.
2014-08-07 10:51:28 +08:00
Cheng Zhao
f455798c05
Fix cpplint warnings.
2014-08-07 10:50:50 +08:00
Cheng Zhao
e5a57b02d8
Focus on devtools when it is opened on Mac.
2014-08-07 10:48:02 +08:00
Cheng Zhao
a4dd362398
Merge pull request #64 from hokein/master
...
Add remote debugging support.
2014-07-30 22:44:34 +08:00
Haojian Wu
5a5c92ad2d
Add remote debugging support.
2014-07-30 22:19:05 +08:00
Cheng Zhao
fd90f2c360
Merge pull request #63 from brightray/chrome36
...
Upgrade to Chrome36
2014-07-29 14:36:23 +08:00
Cheng Zhao
7b6fbff40d
Implement BrowserClient::GetDefaultDownloadDirectory().
2014-07-28 17:48:55 +08:00
Cheng Zhao
a866718b49
Initialize ProxyResolverV8 at very early phrase.
...
In atom-shell we need to ensure node environment is initialized after the
ProxyResolverV8 has been initialized.
2014-07-28 15:28:38 +08:00
Cheng Zhao
a8e879d0c5
mac: Fix blank page after devtools is opened.
2014-07-28 12:40:38 +08:00
Cheng Zhao
8ff2683ae8
Ignore warning 4189 on Windows.
...
The warning comes from mojo/public/cpp/system/core.h.
2014-07-28 12:12:14 +08:00
Cheng Zhao
f552dc7ba4
mac: Fix the notification presenter of new API.
2014-07-28 11:52:26 +08:00
Cheng Zhao
e52a089ec2
mac: Remove usages of WebContentsView.
2014-07-28 09:34:42 +08:00
Cheng Zhao
edbce1c167
Update libchromiumcontent to fix gfx::display link errors.
2014-07-28 00:21:58 +00:00
Cheng Zhao
d47a94b1fe
DispatchBeforeUnload is now a method of WebContents.
2014-07-27 11:27:05 +00:00
Cheng Zhao
8d6a879707
Update libchromiumcontent to include mojo headers.
2014-07-27 11:27:04 +00:00
Cheng Zhao
9821cd1f58
web_contents_view.h has been hidden from user.
2014-07-27 11:27:04 +00:00
Cheng Zhao
a98199511a
Implement GetGuestManagerDelegate.
2014-07-27 11:27:04 +00:00
Cheng Zhao
8bf3e084f1
Interface of ProxyResolverV8 has changed.
2014-07-27 11:27:04 +00:00
Cheng Zhao
bb87492897
No more need to init aura::Env.
2014-07-27 11:27:04 +00:00
Cheng Zhao
6dd580526e
Refactor notification presenter for new desktop notification interface.
2014-07-27 11:27:04 +00:00
Cheng Zhao
4e63780e4a
Prototype of WebContentsDestroyed has changed.
2014-07-27 10:27:19 +00:00
Cheng Zhao
8ad833b333
Merge pull request #62 from brightray/window-frame
...
Some tweaks on making application looks better
2014-07-27 16:12:27 +08:00
Cheng Zhao
8c38a7547b
Upgrade libchromiumcontent to chrome36.
2014-07-27 08:08:27 +00:00
Cheng Zhao
3d713baa4c
Enable converting ScopedPersistent.
2014-07-21 13:07:56 +08:00
Cheng Zhao
14c851e9f8
Reset handle in weak callback.
...
This doesn't seem to be neccesary, but we had better follow what upstream does.
2014-07-18 09:37:07 +08:00
Cheng Zhao
a318b1c5d1
views: Use DesktopNativeWidgetAura for menu view.
2014-07-14 15:56:04 +08:00
Cheng Zhao
46e765f79b
Fix crash when closing docked devtools by clicking close button.
...
We need to send ack for the close message, so we should destroy web contents
after the beforeunload event has fired.
2014-07-13 10:08:28 +08:00
Cheng Zhao
9d4e977c01
win: Fix window frame on detached window.
2014-07-12 21:26:29 +08:00
Cheng Zhao
cf1009ab30
Refactor the AddPakPaths to make it possible to set pak's scale factor.
...
This is needed when adding high DPI resources.
2014-07-12 21:16:13 +08:00
Cheng Zhao
8d3f615e61
win: Setup font.
2014-07-12 19:46:26 +08:00
Cheng Zhao
0f5b427648
Always shows window frame except for maximized window on Unity.
2014-07-12 11:45:24 +08:00
Cheng Zhao
14235a65a9
Merge pull request #60 from brightray/new-mac-devtools
...
Rewrite the devtools view for Chromium's new devtools architecture
2014-07-11 23:36:49 +08:00
Cheng Zhao
a080d2c5bb
Remove GetNativeView() when compiled with views toolkit.
2014-07-11 23:32:00 +08:00
Cheng Zhao
4b57e1f4f8
Warn about using GetNativeView() in views.
2014-07-11 23:14:20 +08:00
Cheng Zhao
52c521f8b0
Remove duplicate library.
2014-07-11 23:10:57 +08:00
Cheng Zhao
891b7434db
Separate the message parsing into a new function.
2014-07-11 23:03:42 +08:00
Cheng Zhao
de08cc1d52
No need for custom dealloc.
2014-07-11 22:22:03 +08:00
Cheng Zhao
e553e11226
Use shortcut way to create scoped_ptr.
2014-07-11 21:55:57 +08:00
Adam Roben
6fd2fc6d3d
Merge pull request #61 from tnm/patch-1
...
Time goes on
2014-07-11 06:09:20 -04:00
Ted Nyman
88e168ada4
Time goes on
2014-07-11 00:39:21 -07:00
Cheng Zhao
24c1544ca5
Upgrade libchromiumcontent to 4b4bcec11a02d1c7981562cf0b8a4670c338992b.
2014-07-09 20:14:49 +08:00
Cheng Zhao
739b352de6
Only init WMState on Linux.
2014-07-09 20:06:31 +08:00
Cheng Zhao
a0ee4a9bf1
Ignore C4819 warning in VS.
2014-07-09 20:04:30 +08:00
Cheng Zhao
aba65c23f6
Give user a chance to override child process and framework path.
2014-07-09 17:07:00 +08:00
Cheng Zhao
d5283b2337
Allow access FileSystem api in devtools.
...
It is required by the load/save feature of profilers.
2014-07-09 15:38:53 +08:00
Cheng Zhao
1fbeb11371
Send message ack to devtools.
2014-07-09 15:34:10 +08:00
Cheng Zhao
a5bb24284e
views: Follow WidgetDelegateView's convention on deleting self.
...
It could avoid invoking WidgetDelegate's methods when the delegate has been
deleted as a view.
2014-07-09 11:08:17 +08:00
Cheng Zhao
9747ee4411
Fix cpplint warning for obj-c header.
2014-07-09 10:38:00 +08:00
Cheng Zhao
81d31b1d49
Remove Windows's devtools implementation.
2014-07-09 10:37:54 +08:00
Cheng Zhao
0a7b1fdd87
Add new devtools messages in Chrome 35.
2014-07-09 10:26:01 +08:00
Cheng Zhao
7a196933bb
views: Don't leak ViewsDelegate.
2014-07-09 10:26:01 +08:00
Cheng Zhao
651ebdde65
views: Remember bounds of devtools window.
2014-07-09 10:26:01 +08:00
Cheng Zhao
4fb4b2d7ba
views: Implement undocked devtools.
2014-07-09 10:26:01 +08:00
Cheng Zhao
e574bf6d0f
views: Initial docked devtools implementation.
2014-07-09 10:26:01 +08:00
Cheng Zhao
4048d491f0
views: Use chromium's custom frame view.
2014-07-09 10:26:01 +08:00
Cheng Zhao
da5daecb1d
Initialize aura environment.
2014-07-09 10:26:01 +08:00
Cheng Zhao
02f52f7e20
Allow override BrowserMainParts::InitProxyResolverV8.
2014-07-09 10:26:01 +08:00
Cheng Zhao
8f3546ed30
Initialize screen for aura.
2014-07-09 10:26:01 +08:00
Cheng Zhao
bad7b95ed7
Add ViewsDelegate, required when using views::Widget on aura.
2014-07-09 10:26:01 +08:00
Cheng Zhao
2682f3db87
Ignore *_views files on mac.
2014-07-09 10:26:01 +08:00
Cheng Zhao
d59c027996
Link with chromiumviews on Linux and Windows.
...
Without using chromiumviews it would be quite hard to setup a fully working
environment with Aura on Linux now.
2014-07-09 10:26:01 +08:00
Cheng Zhao
48ed03eb39
Initialize Linux UI.
2014-07-09 10:26:01 +08:00
Cheng Zhao
d4e81da19a
Make BrowserMainParts's overrides available on all platforms.
2014-07-09 10:26:01 +08:00
Cheng Zhao
bc6237375e
Define TOOLKIT_VIEWS for Linux.
2014-07-09 10:26:01 +08:00
Cheng Zhao
7050b7944f
Remove devtools view on Linux.
...
GTK+ has been replaced, we need to rewrite the whole thing.
2014-07-09 10:24:10 +08:00
Cheng Zhao
7f5b84fdea
Aura has replaced GTK+ in Linux.
2014-07-09 10:24:10 +08:00
Cheng Zhao
563d6e87ff
Fix cpplint warning.
2014-07-09 10:24:10 +08:00
Cheng Zhao
1722532e6d
No need to remember dock state.
...
All devtools states are remembered by devtools itself now.
2014-07-09 10:24:10 +08:00
Cheng Zhao
7a2dc3fc4f
mac: Make focus back to browser window when devtools is closed.
2014-07-09 10:24:10 +08:00
Cheng Zhao
2efeaa268f
Place DevTools WebContents underneath inspected WebContents.
...
This commit has this strategy implemented on Mac.
See https://code.google.com/p/chromium/issues/detail?id=318751 .
2014-07-09 10:24:10 +08:00
Cheng Zhao
7d130c9697
mac: Revert to simplest undocked-only devtools.
...
This makes porting Chrome's devtools easier.
2014-07-09 10:24:10 +08:00
Adam Roben
6c825042b5
Merge pull request #58 from brightray/chrome35
...
Update to Chrome 35
2014-07-07 14:43:14 -04:00
Adam Roben
8f367f6b35
More coding style fixes
2014-07-07 14:42:30 -04:00
Adam Roben
859051669b
Make sure our copy of gyp is used
...
If gyp is installed on the system, gyp_main.py might find it instead of our own
version.
2014-07-07 14:42:02 -04:00
Adam Roben
e86c409e6b
Update DevToolsWindow to use views and aura
...
This is required to make it work in Chrome 35.
2014-07-07 14:27:23 -04:00
Adam Roben
f65246b3cd
Fix coding style
2014-07-07 14:27:02 -04:00
Adam Roben
8f2a2e19b5
Really fix unused-variable warnings
...
I misunderstood how ALLOW_UNUSED is meant to be used. Using a macro like
MSV_WARNING_SUPPRESS() would be nice, but for some reason it isn't working for
me. So now we just manually reference the variable in the code.
2014-07-07 14:21:40 -04:00
Adam Roben
5b2a62627e
Silence unused variable warning on Windows
2014-07-07 13:55:10 -04:00
Adam Roben
6bae1f4b44
Set up a native screen on Windows
...
This is needed to prevent a crash inside aura::WindowTreeHost::InitCompositor.
2014-07-07 13:53:24 -04:00
Adam Roben
a1cf58f811
Link against chromiumviews
...
This is needed for InspectableWebContentsViewWin.
2014-07-07 13:53:02 -04:00
Adam Roben
8fd78b3593
Pull in generated headers from libchromiumcontent
...
ui/views/view.h now includes ui/accessibility/ax_enums.h, which is a generated
header.
2014-07-07 12:28:10 -04:00
Adam Roben
ae1995f849
Update libchromiumcontent for better Chrome 35 support
...
* vendor/libchromiumcontent ded3c0a...331dbed (2):
> Merge pull request #48 from brightray/chrome35-brightray
> Merge pull request #49 from brightray/linux-fix
2014-07-07 12:27:38 -04:00
Cheng Zhao
e6db1875d0
Some more APIs fixes.
2014-06-28 22:32:35 +08:00
Cheng Zhao
8e056672bc
Bring back ScopedPersistent.SetWeak.
2014-06-28 21:26:34 +08:00
Cheng Zhao
6f574c3802
Add APIs to match new V8 APIs.
2014-06-28 19:48:49 +08:00
Adam Roben
1269e59a35
Update for move of string conversion functions into base::
2014-06-27 14:02:44 -04:00
Adam Roben
08c017bd7d
Ignore a couple more files on Windows
2014-06-27 13:45:04 -04:00
Adam Roben
307d936d75
Update to use CR_* Windows message macros
...
See https://codereview.chromium.org/146833020 .
2014-06-27 13:40:33 -04:00
Adam Roben
78dd3390f5
Define USE_AURA for Windows
...
This is true inside of libchromiumcontent, so we need to mirror that here.
2014-06-27 13:40:06 -04:00
Adam Roben
f8b44a1785
Use the MSBuild that comes with Visual Studio
...
See http://msdn.microsoft.com/en-us/library/hh162058.aspx
2014-06-27 12:06:48 -04:00
Adam Roben
918f38e13f
Fix long line
2014-06-27 11:59:01 -04:00
Adam Roben
9602a9aed9
Fix assertion in InitializeICU on launch
...
We have to tell Chromium about our framework bundle earlier in the launch
sequence so it can find icudtl.dat. See
https://codereview.chromium.org/12470006
2014-06-27 11:54:28 -04:00
Adam Roben
8e7fbd604c
Update for move of BuildUserAgentFromProduct in Chrome 35
...
See https://codereview.chromium.org/186883002
2014-06-27 11:54:28 -04:00
Adam Roben
51ac56e4c4
Update cookie store code for Chrome 35
...
See https://codereview.chromium.org/110883017
2014-06-27 11:54:28 -04:00
Adam Roben
afc889b883
Update NetworkDelegate for Chrome 35
2014-06-27 11:54:27 -04:00
Adam Roben
3a71958e16
Update MediaStreamDevicesController for Chrome 35
...
See https://codereview.chromium.org/180633008
2014-06-27 11:54:27 -04:00
Adam Roben
e003cc9a0a
Update MediaCaptureDevicesDispatcher for Chrome 35
...
See https://codereview.chromium.org/183743021
2014-06-27 11:54:27 -04:00
Adam Roben
5b788476a5
Update for move of string symbols into base::
2014-06-27 11:54:27 -04:00
Adam Roben
5b93dc74e6
Update BrowserContext for Chrome 35
2014-06-27 11:54:27 -04:00
Adam Roben
42b86242ea
Add support for Chrome 35's "protocol interceptors"
...
See https://codereview.chromium.org/187223003
2014-06-27 11:54:27 -04:00
Adam Roben
500861d63d
Update prefs code for Chrome 35
...
See https://codereview.chromium.org/64193003
2014-06-27 11:54:27 -04:00
Adam Roben
202f7bcd41
Fix include paths for WebIconURL.h
...
It contains #include "public/platform/WebSize.h", so we have to set up the
include path to make that work.
2014-06-27 11:54:27 -04:00
Adam Roben
ad0a5bdf80
Include Chrome's Skia config, not the default one
...
This ensures we get Chrome's Skia settings.
2014-06-27 11:54:27 -04:00
Adam Roben
55cfef4432
Update libchromiumcontent to Chrome 35
...
* vendor/libchromiumcontent 656be94...ded3c0a (1):
> Merge pull request #47 from brightray/chrome35
2014-06-27 11:54:15 -04:00
Adam Roben
1467b18f25
Merge pull request #57 from padopolis/master
...
remember position and size of developer tools window
2014-06-23 16:26:03 -04:00
Rus Maxham
cca71fce9f
less removal of whitespace
2014-06-23 13:16:01 -07:00
Rus Maxham
3acba90225
brightray namespaced frameAutosaveName
2014-06-23 13:12:20 -07:00
Rus Maxham
92a4b25e47
- remember position and size of developer tools window
2014-06-23 12:48:52 -07:00
Cheng Zhao
a5c4a2c7c6
Add .gitignore.
2014-06-23 21:50:00 +08:00
Cheng Zhao
bfd5f5d221
Strictly check for boolean type.
2014-06-23 21:47:39 +08:00
Cheng Zhao
94044b2950
Mark Dictionary.Get as const.
2014-06-23 21:39:03 +08:00
Cheng Zhao
51a55810b9
Enable creating empty Dictionary directly.
2014-06-23 21:38:46 +08:00
Cheng Zhao
1884b9a235
Add converter for const char*.
2014-06-23 21:24:18 +08:00
Cheng Zhao
730acd59c7
Add object() accessor for Dictionary.
2014-06-23 21:11:00 +08:00
Cheng Zhao
8dcaccf561
Merge pull request #56 from brightray/detached-devtools-quirks
...
Closing detached window should mark devtools as not visible
2014-06-17 18:31:54 +08:00
Cheng Zhao
e71927c5da
Closing devtools window means it is not visible.
2014-06-17 16:51:46 +08:00
Cheng Zhao
8180075944
Merge pull request #55 from brightray/windows-attached-devtools
...
Implement attached devtools on Windows
2014-06-11 09:01:50 +08:00
Cheng Zhao
1b274a1fd6
Add comments on the usage of attached devtools.
2014-06-10 12:44:30 +08:00
Cheng Zhao
9a70c9bb44
Enable undocked devtools.
2014-06-10 12:35:23 +08:00
Cheng Zhao
d70d24c360
Implement setting dock side.
2014-06-10 12:03:20 +08:00
Cheng Zhao
1943d88bdc
Handle focus correctly.
2014-06-10 11:37:07 +08:00
Cheng Zhao
bd0f9df96c
Put devtools in split view.
2014-06-10 10:29:39 +08:00
Cheng Zhao
566022cb66
ContainerView should manage itself.
2014-06-10 10:03:35 +08:00
Cheng Zhao
b0374b6a1d
Use views::View to represent web view.
2014-06-10 09:58:28 +08:00
Cheng Zhao
4e69bd1733
Add 'third_party/skia/include/core' to include_dirs.
2014-06-10 09:10:26 +08:00
Cheng Zhao
d5d923439e
Update to latest libchromiumcontent.
2014-06-04 21:55:50 +08:00
Cheng Zhao
c79aecf64d
Call object._init if we have one.
2014-05-27 08:47:06 +08:00
Cheng Zhao
55cbf8aaf2
Merge pull request #54 from brightray/latest-gyp
...
Update to latest gyp.
2014-05-18 19:55:33 +08:00
Cheng Zhao
e1988d3b8e
Update to latest gyp.
...
This fixes warnings like 'xxx.o has no symbols'.
2014-05-18 19:48:31 +08:00
Cheng Zhao
0a75ddb49f
Merge pull request #52 from brightray/expose-message-dispatcher
...
Add InspectableWebContentsDelegate
2014-05-15 17:24:53 +08:00
Cheng Zhao
f033e23ea3
No need to reset wrapper_ when we would run destructor.
2014-04-23 12:29:22 +08:00
Cheng Zhao
5e0dd5c687
Remove from notification center when web contents is destroyed.
2014-04-23 11:20:12 +08:00
Cheng Zhao
3d219b4be6
Do not wrap an object when it's already wrapped.
2014-04-22 15:57:23 +08:00
Cheng Zhao
d950fe3736
Add Arguments.Length method.
2014-04-22 15:57:11 +08:00
Cheng Zhao
9cc90ac7d5
Make ScopedPersistent do type conversion.
2014-04-18 16:45:44 +08:00
Cheng Zhao
94dec0ff85
Add v8::Handle<v8::String> to converter.
2014-04-16 15:28:43 +08:00
Cheng Zhao
c9fa29ef64
Enable setting method in Dictionary.
2014-04-16 15:13:44 +08:00
Cheng Zhao
213ac43721
Enable converting void*.
2014-04-16 14:56:33 +08:00
Cheng Zhao
d0bf1a842f
Support function with 7 parameters.
2014-04-16 14:56:05 +08:00
Cheng Zhao
2d3af6fc38
Remove helper typedefs.
2014-04-16 14:29:45 +08:00
Cheng Zhao
ace550d6b2
Simplify Wrappable API.
2014-04-16 11:58:17 +08:00
Cheng Zhao
ac5be7dad7
Constructor should wrap the this pointer.
2014-04-16 10:36:54 +08:00
Cheng Zhao
bdfbef41c6
Cleanup.
2014-04-16 10:25:22 +08:00
Cheng Zhao
e2e1faa225
Make the Constructor accept arbitrary callback.
2014-04-16 09:50:51 +08:00
Cheng Zhao
78ab726ec7
Fix passing the wrong parameter.
2014-04-15 15:39:13 +08:00
Cheng Zhao
caa5ea0316
Add initial Constructor type.
2014-04-15 15:30:46 +08:00
Cheng Zhao
a20e02ee23
Fix compilation error of function_template.
2014-04-15 15:30:30 +08:00
Cheng Zhao
6ac926aa32
Enable modifying existing ObjectTemplate.
2014-04-15 11:34:07 +08:00
Cheng Zhao
4cada31f80
Do not rely on latest base/template_util.
2014-04-15 11:15:19 +08:00
Cheng Zhao
ff65b7dae1
Initial commit.
2014-04-15 11:04:36 +08:00
Cheng Zhao
54060ed53d
Enable delegate to override SaveToFile and AppendToFile.
2014-04-05 09:21:47 +08:00
Cheng Zhao
d2ff5ad798
Provide a way to close devtools completely.
2014-03-20 09:26:21 +08:00
Cheng Zhao
5768ff6981
Enable delegate to change the dock side.
2014-03-04 19:47:33 +08:00
Cheng Zhao
e3aaaf2643
Add InspectableWebContentsDelegate.
2014-03-04 16:26:50 +08:00
Adam Roben
967efaad58
Merge pull request #51 from brightray/osx-fd-limit
...
Increase the open file limit on OS X to 1024
2014-01-31 07:44:06 -08:00
Adam Roben
f7fb6371c2
Increase the open file limit on OS X to 1024
...
The default (256) is too low for pages that load a lot of resources all at
once. See https://codereview.chromium.org/125151 and bugs like
https://code.google.com/p/chromium/issues/detail?id=14137 and
https://code.google.com/p/chromium/issues/detail?id=151039 . The new limit
matches what Chrome itself uses.
2014-01-31 10:43:38 -05:00
Adam Roben
8b80473ef9
Merge pull request #50 from brightray/debug
...
Fix assertions when building against Debug libchromiumcontent
2014-01-30 06:06:16 -08:00
Adam Roben
b1eed728b5
Merge pull request #49 from brightray/commit-argument
...
Enable passing --commit to download script
2014-01-30 06:05:31 -08:00
Adam Roben
e8de51a8dd
Destroy ResourceContext on the IO thread
...
This matches content_shell and fixes a debug assertion (and maybe even a
crash).
2014-01-30 09:03:00 -05:00
Adam Roben
c4935acbb1
Fix debug assertions about transport_security_state
...
This code was added to content_shell in
https://chromiumcodereview.appspot.com/16501002 and we never picked it up.
2014-01-30 09:01:23 -05:00
Cheng Zhao
a8f34982a0
Enable passing --commit to download script.
2014-01-30 22:01:22 +08:00
Cheng Zhao
5cf32f1f9c
Update libchromiumcontent for --commit argument of download script.
2014-01-30 21:58:55 +08:00
Adam Roben
dcaaeacfe3
Fix assertions in Debug builds about using NetworkDelegate on the wrong thread
...
We have to create it on the IO thread.
2014-01-30 08:36:54 -05:00
Cheng Zhao
dc8c14f61f
Merge pull request #48 from brightray/disable-linux-clang
...
Add flag to disable clang under Linux.
2014-01-02 06:18:14 -08:00
Cheng Zhao
167b2f5881
'-std=gnu++11' is also needed by g++.
2014-01-01 02:29:27 +00:00
Cheng Zhao
13f816b4bb
Add flag to disable clang under Linux.
2013-12-31 11:11:46 +00:00
Patrick Reynolds
37679214d1
Merge pull request #46 from brightray/linux-notifications
...
Linux notifications
2013-12-19 14:01:47 -08:00
Patrick Reynolds
967e8170f5
brevity and style
2013-12-19 16:01:01 -06:00
Adam Roben
076183c181
Merge pull request #47 from brightray/longer-lines
...
allow 100-character lines
2013-12-19 11:48:14 -08:00
Patrick Reynolds
8d2b392f07
undo some ugly line wrapping
2013-12-19 13:39:37 -06:00
Patrick Reynolds
df190caefd
Merge branch 'longer-lines' into linux-notifications
2013-12-19 13:20:55 -06:00
Patrick Reynolds
46ec999b13
allow 100-character lines
2013-12-19 13:19:12 -06:00
Patrick Reynolds
4e31c0011d
keep cpplint happy, mostly about line length
2013-12-19 13:06:05 -06:00
Adam Roben
de07839bb6
Update to latest libchromiumcontent
...
* vendor/libchromiumcontent ee2e80a...2cd1a60 (1):
> Merge pull request #35 from brightray/content-test-suite
2013-12-19 09:08:21 -05:00
Patrick Reynolds
ef6d5dbf4e
authorship
2013-12-18 23:20:00 -06:00
Patrick Reynolds
c6424672f5
comments and cleanup
2013-12-18 23:14:36 -06:00
Patrick Reynolds
04d5ed25d8
call PostClose when notification closed by click
2013-12-18 23:14:36 -06:00
Patrick Reynolds
272b3c30d3
free notifications properly
2013-12-18 23:14:36 -06:00
Patrick Reynolds
a82e9f30ed
use libnotify to pop up notifications on Linux
2013-12-18 23:14:36 -06:00
Adam Roben
8aba54e71a
Merge pull request #45 from brightray/fix-proxy-crash
...
Fix a crash introduced by #41
2013-12-15 05:54:23 -08:00
Cheng Zhao
b1dc139e4b
Set the proxy service a bit earlier to avoid crash.
2013-12-15 15:00:52 +08:00
Adam Roben
dc3f2050c0
Merge pull request #44 from brightray/fix-devtools-flash
...
Fix flash of page while resizing devtools NSSplitView divider.
2013-12-12 07:36:16 -08:00
Cheng Zhao
e0b8935fda
Remove the unused dividerHidden property of GraySplitView.
2013-12-12 23:33:50 +08:00
Cheng Zhao
39f5f52423
Fix flash of page while resizing devtools NSSplitView divider.
2013-12-12 18:46:46 +08:00
Adam Roben
e314e52393
Merge pull request #43 from brightray/arches-key
...
The 'ARCHS' key should be an array.
2013-12-11 13:28:11 -08:00
Cheng Zhao
1a09de0956
The 'ARCHS' key should be an array.
...
The ninja generator only supports setting the 'ARCHS' key as array, and
ninja does not support '$(ARCHS_STANDARD_64_BIT)' too. The 'x86_64' is
accepted by both ninja and xcodebuild, and is also used by node.
2013-12-10 23:54:46 -08:00
Adam Roben
64b487a8d5
Merge pull request #42 from brightray/devtools-is-opened
...
Add API to get whether the devtools is opened.
2013-12-10 18:39:47 -08:00
Cheng Zhao
b080e5c52d
Rename IsDevToolsOpened to IsDevToolsViewShowing.
2013-12-10 18:38:35 -08:00
Cheng Zhao
7a5415a3b7
Fix IsDevToolsOpened when devtools is attched to pane on Linux.
2013-12-09 13:27:22 +00:00
Cheng Zhao
a8c5911094
Implement IsDevToolsOpened for Linux.
2013-12-09 09:03:41 +00:00
Cheng Zhao
de7892cd6e
Add API to get whether the devtools is opened.
2013-12-09 09:03:29 +00:00
Adam Roben
afc627aae1
Merge pull request #41 from brightray/v8-proxy-resolver
...
Use "ProxyResolverV8" instead of "SystemProxyResolver" as proxy service
2013-12-06 10:03:02 -08:00
Cheng Zhao
0a1f756ca6
Use "ProxyResolverV8" instead of "SystemProxyResolver" as proxy service.
...
SystemProxyResolver is untested and could cause random crashes.
2013-12-05 02:56:28 -08:00
Cheng Zhao
cf08bb098f
Update libchromiumcontent for net_with_v8.
2013-12-05 02:50:56 -08:00
Adam Roben
873f52ffe2
Merge pull request #40 from brightray/default-browser-client
...
Create a BrowserClient by default
2013-12-03 14:14:18 -08:00
Adam Roben
1c56afe9d8
Create a BrowserClient by default
...
This way applications that don't need to customize the BrowserClient get one
for free.
2013-12-03 17:13:40 -05:00
Adam Roben
837bd784aa
Merge pull request #39 from brightray/mac-x64
...
Build 64-bit on OS X
2013-12-02 13:42:11 -08:00
Adam Roben
c9c218edc6
Update to 64-bit libchromiumcontent
...
* vendor/libchromiumcontent 4252769...5cce386 (1):
> Merge pull request #31 from brightray/mac-x64
2013-12-02 16:37:06 -05:00
Adam Roben
56237a5875
Merge pull request #38 from brightray/chrome-31
...
Update to Chrome 31
2013-12-02 10:02:21 -08:00
Adam Roben
7e6f5aa734
Update for ui -> gfx moves in Chrome 31
...
See https://codereview.chromium.org/23769011 .
2013-12-02 13:00:39 -05:00
Adam Roben
9c5b81bf7a
Stop setting helper process names on OS X
...
See https://codereview.chromium.org/45253002 .
2013-12-02 13:00:39 -05:00
Adam Roben
ab8cb1e3a5
Update for changes to content::CreatePersistentCookieStore in Chrome 31
...
I just copied how Chrome initializes this object.
2013-12-02 13:00:39 -05:00
Adam Roben
cfeddb5bcb
Update for changes to net::FileProtocolHandler in Chrome 31
...
I just copied the way that Chrome initializes this object.
2013-12-02 13:00:39 -05:00
Adam Roben
265076f19a
Update for changes to devtools in Chrome 31
...
browser/devtools_embedder_message_dispatcher.* came from
chrome/browser/devtools, and were modified just enough to compile within
brightray.
2013-12-02 13:00:39 -05:00
Adam Roben
1da8c37098
Update libchromiumcontent to Chrome 31
...
* vendor/libchromiumcontent f484ce1...4252769 (1):
> Merge pull request #32 from brightray/chrome-31
2013-12-02 13:00:15 -05:00
Patrick Reynolds
a98d5194d9
Merge pull request #37 from brightray/virtual-initialize
...
make BrowserContext::Initialize virtual
2013-11-27 13:57:08 -08:00
Patrick Reynolds
711aa5282b
make BrowserContext::Initialize virtual
2013-11-27 15:55:06 -06:00
Patrick Reynolds
1f2c2d416c
Merge pull request #36 from brightray/linux
...
include library dependencies explicitly
2013-11-26 08:54:25 -08:00
Patrick Reynolds
e1b6718c39
include library dependencies explicitly
...
This is necessary for more recent versions of Clang, e.g., on Debian
unstable.
2013-11-26 10:51:27 -06:00
Adam Roben
c2854a4302
Merge pull request #35 from brightray/fix-black-devtools
...
Stop the devtools from turning black when the window gets big enough
2013-11-25 13:30:02 -08:00
Adam Roben
89795c9b14
Stop the devtools from turning black when the window gets big enough
...
We need to use UnderlayOpenGLHostingWindow to show the devtools to ensure they
remain visible even when they get large.
2013-11-25 16:28:57 -05:00
Adam Roben
963e0f1c76
Merge pull request #34 from brightray/cpplint
...
Fix all cpplint errors
2013-11-18 05:31:52 -08:00
Patrick Reynolds
470daa571c
back to reinterpret_cast
2013-11-17 22:27:23 -06:00
Patrick Reynolds
9f9aeac59f
safer casts, clearer if-else chain
2013-11-17 22:25:24 -06:00
Adam Roben
c9e948dc58
Make ignoring files work on Windows
2013-11-17 19:22:53 -05:00
Adam Roben
3d8b636f9e
Fix remaining cpplint errors in inspectable_web_contents_view_linux.cc
2013-11-17 19:21:50 -05:00
Adam Roben
07de5ef462
Silence warnings about ui::WindowImpl's BOOL& parameters
2013-11-17 19:19:58 -05:00
Adam Roben
cdbfff2fcf
Fix backwards typedef
2013-11-17 19:15:26 -05:00
Adam Roben
654f415a49
Fix cpplint errors in common/mac/foundation_util.h
2013-11-17 19:14:24 -05:00
Adam Roben
7b47a6152d
Fix cpplint errors in media_capture_devices_dispatcher.cc
2013-11-17 19:14:08 -05:00
Adam Roben
d0566e6e05
Fix cpplint errors in application_info_win.cc
2013-11-17 19:13:44 -05:00
Adam Roben
4938fc62ad
Fix most cpplint errors in inspectable_web_contents_view_linux.cc
2013-11-17 19:12:50 -05:00
Adam Roben
1595940723
Fix cpplint errors in devtools_window.cc
2013-11-17 19:05:21 -05:00
Adam Roben
0271ff1964
Fix cpplint errors in inspectable_web_contents_view_win.h
2013-11-17 19:03:41 -05:00
Adam Roben
ae504c319e
Fix cpplint errors in content_client.h
2013-11-17 19:03:09 -05:00
Adam Roben
073b1c164b
Fix cpplint errors in inspectable_web_contents_view_win.cc
2013-11-17 19:02:49 -05:00
Adam Roben
779dfd2baf
Fix most cpplint errors in devtools_window.h
...
It's still complaining about the non-const reference in BOOL&.
2013-11-17 19:01:36 -05:00
Adam Roben
51a2779fdb
Fix cpplint errors in main_delegate.cc
2013-11-17 18:58:25 -05:00
Adam Roben
32f4862e56
Fix cpplint errors in main_delegate.h
2013-11-17 18:57:54 -05:00
Adam Roben
2c1e1b039d
Fix cpplint errors in main_application_bundle.h
2013-11-17 18:57:25 -05:00
Adam Roben
9306fecea8
Fix cpplint errors in content_client.cc
2013-11-17 18:56:44 -05:00
Adam Roben
6aec3006e6
Fix whitespace/comment errors
2013-11-17 18:56:07 -05:00
Adam Roben
84ae61744d
Ignore cpplint errors in bry_inspectable_web_contents_view_private.h
...
It's not a C++ header.
2013-11-17 18:55:06 -05:00
Adam Roben
236efa8be5
Fix cpplint errors in bry_application.h
2013-11-17 18:53:34 -05:00
Adam Roben
e5e3dc6a78
Ignore .mm files for cpplint
...
It doesn't process them anyway.
2013-11-17 18:53:16 -05:00
Adam Roben
23bcf4099f
Fix cpplint errors in inspectable_web_contents_view_linux.h
2013-11-17 18:52:02 -05:00
Adam Roben
9f82d58761
Fix cpplint errors in web_ui_controller_factory.h
2013-11-17 18:46:23 -05:00
Adam Roben
7a362b7413
Fix cpplint errors in url_request_context_getter.h
2013-11-17 18:43:46 -05:00
Adam Roben
cf4d966958
Fix cpplint errors in notification_presenter_mac.h
2013-11-17 18:43:20 -05:00
Adam Roben
d4ad45334f
Turn off build/include_what_you_use
...
Chromium doesn't seem to use this rule.
2013-11-17 18:42:15 -05:00
Adam Roben
ec59df1a51
Fix cpplint errors in network_delegate.h
2013-11-17 18:36:34 -05:00
Adam Roben
cb684c5c6e
Fix cpplint errors in inspectable_web_contents_view_mac.h
2013-11-17 18:24:36 -05:00
Adam Roben
ea689b31a4
Fix cpplint errors in inspectable_web_contents_view.h
2013-11-17 18:23:13 -05:00
Adam Roben
877a1f0371
Fix cpplint errors in inspectable_web_contents_impl.h
2013-11-17 18:22:48 -05:00
Adam Roben
0805b414e9
Fix cpplint errors in inspectable_web_contents.h
2013-11-17 18:20:54 -05:00
Adam Roben
9ac1a539ee
Fix all remaining readability/namespace errors
2013-11-17 18:20:17 -05:00
Adam Roben
fd54c435a9
Fix cpplint errors in default_web_contents_delegate.h
2013-11-17 18:18:22 -05:00
Adam Roben
7bada78519
Fix cpplint errors in browser_main_parts.h
2013-11-17 18:17:23 -05:00
Adam Roben
a6ecd039e2
Fix typos
2013-11-17 18:16:41 -05:00
Adam Roben
24fbf6e2ef
Build before running cpplint
...
Let's make sure things build before we check coding style. If it doesn't
even build, who cares about the style?
2013-11-17 18:15:45 -05:00
Adam Roben
991133b8e9
Fix cpplint errors in browser_context.h
2013-11-17 18:15:10 -05:00
Adam Roben
74661c342f
Fix cpplint errors in browser_client.h
2013-11-17 18:13:10 -05:00
Adam Roben
80dab9d862
Fix cpplint errors in web_ui_controller_factory.cc
2013-11-17 18:12:05 -05:00
Adam Roben
57ae05b636
Fix cpplint errors in url_request_context_getter.cc
2013-11-17 18:11:47 -05:00
Adam Roben
843b21a3e8
Fix cpplint errors in network_delegate.cc
2013-11-17 18:09:21 -05:00
Adam Roben
784e270a4f
Fix cpplint errors in inspectable_web_contents_impl.cc
2013-11-17 18:08:34 -05:00
Adam Roben
c97a22ef8d
Fix cpplint errors in inspectable_web_contents.cc
2013-11-17 17:54:14 -05:00
Adam Roben
ef5992b0eb
Fix cpplint errors in devtools_ui.cc
2013-11-17 17:53:38 -05:00
Adam Roben
dfb8a809ee
Fix cpplint errors in default_web_contents_delegate.cc
2013-11-17 17:52:24 -05:00
Adam Roben
0c13adb134
Don't require all files to have a copyright/license header
...
The LICENSE file at the root of the repository is enough.
2013-11-17 17:52:05 -05:00
Adam Roben
a35a57c3c4
Fix cpplint errors in browser_main_parts.cc
2013-11-17 17:51:19 -05:00
Adam Roben
cc4aeb995b
Fix cpplint errors in browser_context.cc
2013-11-17 17:42:56 -05:00
Adam Roben
101a7bfa21
Fix cpplint errors in browser_client.cc
2013-11-17 17:39:01 -05:00
Adam Roben
43f3d0acdc
Run cpplint as part of our CI build
...
This will help ensure a consistent C++ coding style.
2013-11-17 17:38:09 -05:00
Adam Roben
904cb1a564
Merge pull request #33 from brightray/linux
...
builds on Linux
2013-11-17 14:03:56 -08:00
Patrick Reynolds
ceb8113ca6
current libchromiumcontent
2013-11-16 01:14:51 -06:00
Patrick Reynolds
5ae0b3094c
current libchromiumcontent
2013-11-16 00:49:53 -06:00
Patrick Reynolds
c0543d9b46
current libchromiumcontent
2013-11-15 23:04:02 -06:00
Patrick Reynolds
a18842de1a
give member variables trailing _
...
- also, reorder member variables to come after methods
2013-11-15 22:22:25 -06:00
Patrick Reynolds
7e1a4003df
don't force all applications to link libencryptor.a
2013-11-15 22:18:59 -06:00
Patrick Reynolds
282639a79a
implement dev tools
2013-11-15 14:23:52 -06:00
Patrick Reynolds
85a86a9621
current libchromiumcontent
2013-11-13 23:50:23 -06:00
Patrick Reynolds
3b3d6b2938
current libchromiumcontent
2013-11-13 23:48:06 -06:00
Patrick Reynolds
cbb00f77c2
current libchromiumcontent
2013-11-13 23:22:50 -06:00
Patrick Reynolds
616cb8212d
current libchromiumcontent
2013-11-13 22:17:02 -06:00
Patrick Reynolds
236e993ac5
use linux branch of libchromiumcontent
2013-11-13 01:45:08 -06:00
Patrick Reynolds
e6cdeead3e
link libencryptor
2013-11-13 00:42:14 -06:00
Patrick Reynolds
5e7359bc5a
don't build Linux sources on other platforms
2013-11-12 11:51:25 -06:00
Patrick Reynolds
80cdf77a77
use merged master of libchromiumcontent
2013-11-12 11:43:29 -06:00
Patrick Reynolds
f6784a1801
move gtk dependency to brightray
2013-11-12 10:19:42 -06:00
Patrick Reynolds
72b41ed31b
pick up chrome_sandbox changes
2013-11-11 18:15:22 -06:00
Patrick Reynolds
7ebb19b9b1
use linux branch of libchromiumcontent
2013-11-11 16:34:27 -06:00
Patrick Reynolds
90db457258
move -fno-rtti into brightray.gypi target_defaults
2013-11-09 01:03:46 -06:00
Patrick Reynolds
6053911bd2
Merge branch 'master' into linux
2013-11-08 20:53:43 -06:00
Patrick Reynolds
c6ce51863a
implement GetNativeView
2013-11-07 23:42:15 -06:00
Patrick Reynolds
90e619a6d9
fix typo
2013-11-07 17:25:51 -06:00
Patrick Reynolds
04b9bd21f8
WIP: builds (but displys nothing) on Linux
2013-11-07 14:02:35 -06:00
Adam Roben
bd02203151
Merge pull request #32 from brightray/appcache-hang
...
Fix a hang on quit when application cache is used
2013-10-23 09:17:39 -07:00
Adam Roben
ae1e26bddd
Fix a hang on quit when application cache is used
...
If you navigated to a page that used the HTML Application Cache, you'd see a
hang on quit with a backtrace like so:
+ 2825 content::ContentMain(int, char const**, content::ContentMainDelegate*) (in libchromiumcontent.dylib) + 64 [0xb33190]
+ 2825 ??? (in libchromiumcontent.dylib) load address 0x1c9000 + 0x96b261 [0xb34261]
+ 2825 ??? (in libchromiumcontent.dylib) load address 0x1c9000 + 0x96a409 [0xb33409]
+ 2825 content::BrowserMain(content::MainFunctionParams const&) (in libchromiumcontent.dylib) + 200 [0x14290b8]
+ 2825 ??? (in libchromiumcontent.dylib) load address 0x1c9000 + 0x1265426 [0x142e426]
+ 2825 content::BrowserMainLoop::~BrowserMainLoop() (in libchromiumcontent.dylib) + 17 [0x14294a1]
+ 2825 content::BrowserMainLoop::~BrowserMainLoop() (in libchromiumcontent.dylib) + 357 [0x1429625]
+ 2825 brightray::BrowserMainParts::~BrowserMainParts() (in ) + 70 [0x68df6]
+ 2825 scoped_ptr<brightray::BrowserContext, base::DefaultDeleter<brightray::BrowserContext> >::~scoped_ptr() (in ) + 23 [0x68ff7]
+ 2825 scoped_ptr<brightray::BrowserContext, base::DefaultDeleter<brightray::BrowserContext> >::~scoped_ptr() (in ) + 23 [0x69297]
+ 2825 base::internal::scoped_ptr_impl<brightray::BrowserContext, base::DefaultDeleter<brightray::BrowserContext> >::~scoped_ptr_impl() (in ) + 23 [0x692b7]
+ 2825 base::internal::scoped_ptr_impl<brightray::BrowserContext, base::DefaultDeleter<brightray::BrowserContext> >::~scoped_ptr_impl() (in ) + 50 [0x692f2]
+ 2825 base::DefaultDeleter<brightray::BrowserContext>::operator()(brightray::BrowserContext*) const (in ) + 46 [0x6916e]
+ 2825 brightray::BrowserContext::~BrowserContext() (in ) + 127 [0x672bf]
+ 2825 base::SupportsUserData::~SupportsUserData() (in libchromiumcontent.dylib) + 57 [0xccc019]
+ 2825 ??? (in libchromiumcontent.dylib) load address 0x1c9000 + 0xb03230 [0xccc230]
+ 2825 ??? (in libchromiumcontent.dylib) load address 0x1c9000 + 0xb0324e [0xccc24e]
+ 2825 ??? (in libchromiumcontent.dylib) load address 0x1c9000 + 0x14c4239 [0x168d239]
+ 2825 content::StoragePartitionImpl::~StoragePartitionImpl() (in libchromiumcontent.dylib) + 17 [0x16899a1]
+ 2825 content::StoragePartitionImpl::~StoragePartitionImpl() (in libchromiumcontent.dylib) + 491 [0x1689bab]
+ 2825 content::ChromeAppCacheService::DeleteOnCorrectThread() const (in libchromiumcontent.dylib) + 66 [0x1424f32]
+ 2825 content::ChromeAppCacheService::~ChromeAppCacheService() (in libchromiumcontent.dylib) + 50 [0x1424e32]
+ 2825 appcache::AppCacheService::~AppCacheService() (in libchromiumcontent.dylib) + 301 [0x2b8ad2d]
+ 2825 ??? (in libchromiumcontent.dylib) load address 0x1c9000 + 0x29c9b81 [0x2b92b81]
+ 2825 ??? (in libchromiumcontent.dylib) load address 0x1c9000 + 0x29c9da4 [0x2b92da4]
+ 2825 appcache::AppCacheDiskCache::~AppCacheDiskCache() (in libchromiumcontent.dylib) + 17 [0x2b78c71]
+ 2825 appcache::AppCacheDiskCache::~AppCacheDiskCache() (in libchromiumcontent.dylib) + 135 [0x2b78d17]
+ 2825 disk_cache::BackendImpl::~BackendImpl() (in libchromiumcontent.dylib) + 17 [0x25979a1]
+ 2825 disk_cache::BackendImpl::~BackendImpl() (in libchromiumcontent.dylib) + 305 [0x2597af1]
+ 2825 base::WaitableEvent::Wait() (in libchromiumcontent.dylib) + 50 [0xccd942]
+ 2825 base::WaitableEvent::TimedWait(base::TimeDelta const&) (in libchromiumcontent.dylib) + 347 [0xccdb3b]
+ 2825 base::ConditionVariable::Wait() (in libchromiumcontent.dylib) + 35 [0xcccbb3]
+ 2825 pthread_cond_wait$UNIX2003 (in libsystem_c.dylib) + 71 [0x964d3089]
+ 2825 _pthread_cond_wait (in libsystem_c.dylib) + 833 [0x9644d280]
+ 2825 __psynch_cvwait (in libsystem_kernel.dylib) + 10 [0x94b8e8e2]
BackendImpl was waiting on BrowserThread::CACHE, but that thread had already
been stopped. The solution is to destroy the BrowserContext before threads have
been stopped. We now do this in BrowserMainParts::PostMainMessageLoopRun, which
matches content_shell.
2013-10-23 12:16:25 -04:00
Adam Roben
8ff43b034c
Merge pull request #13 from brightray/devtools-scheme
...
Use "chrome-devtools://" scheme for devtools
2013-10-11 07:29:27 -07:00
Cheng Zhao
f623ddf7fc
Cleanup unused headers, data members and functions.
2013-10-11 07:17:53 -04:00
Cheng Zhao
2cd6dd791e
Setup devtools in the correct phase.
...
* RegisterDevToolsClientHostFor should be called right after the agent_host and
the frontend host are created.
* SetupDevToolsFrontendClient should be called before the devtools window is
going to start navigation.
2013-10-11 07:17:03 -04:00
Cheng Zhao
9d29c8eb7c
Use the "chrome-devtools://" scheme to open devtools.
2013-10-10 16:56:52 -04:00
Adam Roben
c949fd931c
Merge pull request #31 from brightray/less-flashing
...
Fix flashing in devtools views
2013-10-10 13:29:14 -07:00
Adam Roben
6b9e61c65d
Fix flashing in WebContents we create
...
If the embedding app creates them it's up to them to fix this.
2013-10-10 16:24:22 -04:00
Adam Roben
8ae459e9fa
Work around http://crbug.com/279472 for devtools views
2013-10-10 14:17:30 -04:00
Adam Roben
c0e744db78
Update libchromiumcontent to use Xcode's clang
...
* vendor/libchromiumcontent 759a8d0...21d99bd (1):
> Merge pull request #28 from brightray/xcode-clang
2013-10-09 12:58:36 -04:00
Adam Roben
d06ac20947
Update to latest libchromiumcontent
...
* vendor/libchromiumcontent bfb2d7b...759a8d0 (1):
> Remove googleurl/ from the distribution
2013-10-08 13:20:43 -04:00
Adam Roben
1f1f93465b
Make MediaStreamDevicesController::Accept/Deny public again
...
Clients rely on this.
2013-10-07 17:04:40 -04:00
Adam Roben
b3b4ab2c70
Update ICU header include path
...
I should have done this as part of #30 .
2013-10-07 17:02:35 -04:00
Adam Roben
4e5f6a10f9
Merge pull request #30 from brightray/chrome-30
...
Update to Chrome 30
2013-10-07 13:36:23 -07:00
Adam Roben
9165424348
Update ResourceContext for Chrome 30
...
See http://src.chromium.org/viewvc/chrome?view=revision&revision=215991 .
2013-10-07 16:31:58 -04:00
Adam Roben
4d6ee2c416
URLRequestContextStorage::set_http_server_properties takes a scoped_ptr in Chrome 30
...
See http://src.chromium.org/viewvc/chrome?view=revision&revision=212466 .
2013-10-07 16:31:58 -04:00
Adam Roben
d1623535e8
Update browser/media/* for Chrome 30
...
I took the latest versions of these files from chrome/browser/media,
then pared them down to remove all Chrome-isms and uses of UI to prompt
the user about allowing access to devices.
2013-10-07 16:31:58 -04:00
Adam Roben
aa4f991659
Add DevToolsFrontendHostDelegate indexing methods from Chrome 30
...
See http://src.chromium.org/viewvc/chrome?view=revision&revision=215622 .
2013-10-07 16:31:57 -04:00
Adam Roben
4d59060657
BrowserContext::RequestMIDISysExPermission was added in Chrome 30
...
See http://src.chromium.org/viewvc/chrome?view=revision&revision=211437 .
2013-10-07 16:31:57 -04:00
Adam Roben
c1c4344879
BrowserContext::GetSpeechRecognitionPreferences is gone in Chrome 30
...
See http://src.chromium.org/viewvc/chrome?view=revision&revision=210616 .
2013-10-07 16:31:57 -04:00
Adam Roben
eb446fc707
content::BrowserContext::GetPath is a const member function in Chrome 30
...
See http://src.chromium.org/viewvc/chrome?view=revision&revision=211931 .
2013-10-07 16:31:57 -04:00
Adam Roben
64a5ce6e15
Update for move of scoped_nsobject header and namespace
...
See http://src.chromium.org/viewvc/chrome?view=revision&revision=207616 .
2013-10-07 16:31:57 -04:00
Adam Roben
1e99ec9aed
Update #includes for moves of string-related headers
...
See http://src.chromium.org/viewvc/chrome?view=revision&revision=205050 .
2013-10-07 16:31:57 -04:00
Adam Roben
0575987343
Update to Chrome 30
...
* vendor/libchromiumcontent a56056d...bfb2d7b (1):
> Merge pull request #27 from brightray/chrome-30
2013-10-07 16:31:42 -04:00
Adam Roben
8c7de2259b
Update to latest libchromiumcontent
...
* vendor/libchromiumcontent ccec3a4...a56056d (1):
> Stop exporting GURL symbols from test_support_chromiumcontent
2013-08-23 17:30:53 -04:00
Adam Roben
345bc3fc6b
Merge pull request #29 from brightray/chrome-29
...
Update to Chrome 29
2013-08-23 14:03:13 -07:00
Adam Roben
b24d7d7c76
Update utf_string_conversions.h path in another place
2013-08-23 17:01:18 -04:00
Adam Roben
2c030a419d
Update for webkit header moves
2013-08-23 16:56:53 -04:00
Adam Roben
7d3f371b51
Update for move of MessageLoop into base namespace
2013-08-23 16:56:41 -04:00
Adam Roben
4946ec9081
Update for utf_string_conversions.h move in Chrome 29
2013-08-23 16:56:30 -04:00
Adam Roben
7dd1b8195f
Update libchromiumcontent to Chrome 29
...
* vendor/libchromiumcontent 5ffcb39...ccec3a4 (2):
> Merge pull request #25 from brightray/29.0.1547.57
> Switch back to using s3put on Linux
2013-08-23 16:56:05 -04:00
Adam Roben
79a1731921
Merge pull request #28 from brightray/vendor-gyp
...
Include gyp as a submodule
2013-08-23 04:52:20 -07:00
Adam Roben
f17f9d932c
Include gyp as a submodule
...
This makes it so you don't have to install gyp on your system before you
can build.
2013-08-23 07:48:37 -04:00
Adam Roben
710d0fc6c5
Make overriding BrowserContext::RegisterPrefs actually work
...
We were calling it before derived classes' vtables were set up. Now we wait to
call it until the BrowserContext is fully constructed.
2013-08-15 16:07:14 -04:00
Adam Roben
1161da6527
Mention that Clang 3.0 is needed on Linux
2013-08-14 08:17:52 -04:00
Adam Roben
3df85640a6
Merge pull request #26 from brightray/linux
...
Get a basic Linux build working
2013-08-14 05:16:15 -07:00
Adam Roben
9638e3956f
Don't use base::DIR_APP_DATA on Linux
...
It doesn't exist. Instead, match content_shell by putting
application-specific data in $XDG_CONFIG_HOME or ~/.config.
2013-08-14 08:14:54 -04:00
Adam Roben
22ea2073df
Compile as C++11 on Linux
2013-08-14 08:14:54 -04:00
Adam Roben
7f3afbaf3d
Force building with Clang on Linux to get C++11 support
2013-08-14 08:14:54 -04:00
Adam Roben
d27a984378
Define USE_X11 on Linux
2013-08-06 17:29:08 -04:00
Adam Roben
3076781c8a
Build using make on Linux
2013-08-06 17:25:07 -04:00
Adam Roben
b596adc237
Start teaching script/build about Linux
2013-08-06 16:49:59 -04:00
Adam Roben
efad174995
Update libchromiumcontent to get better Linux support
...
* vendor/libchromiumcontent be71317...5ffcb39 (2):
> Delete commented-out code in script/download
> Teach script/download about Linux
2013-08-06 16:43:21 -04:00
Adam Roben
af20c55519
Spew less when script/cibuild fails
2013-08-06 16:42:21 -04:00
Adam Roben
6841801538
Spew less when script/bootstrap fails
2013-08-06 16:39:11 -04:00
Adam Roben
a61fa01c5d
Update libchromiumcontent to get basic Linux support
...
* vendor/libchromiumcontent 33472d4...be71317 (4):
> Merge pull request #24 from brightray/linux
> Fix gyp syntax
> Fix Release linker error on Linux
> Make sure we always apply patches in alphabetical order
2013-07-31 16:27:00 -07:00
Adam Roben
53ac82b6c1
Merge pull request #25 from brightray/getusermedia
...
Enable navigator.webkitGetUserMedia()
2013-07-31 11:52:51 -07:00
Adam Roben
c2623d2bdc
Fix typos
2013-07-31 11:52:21 -07:00
Adam Roben
2595335045
Enable navigator.webkitGetUserMedia()
...
The code came from chrome/browser/media, but was simplified to remove
dependencies on other parts of chrome/ and to always allow the media stream
request.
2013-07-31 11:08:45 -07:00
Adam Roben
bd648ce58f
Put ICU headers on the include path for embedders
2013-07-25 12:31:41 -04:00
Adam Roben
d32a2fbc97
Update libchromiumcontent to get ICU headers
...
* vendor/libchromiumcontent ee4cea0...33472d4 (5):
> Export ICU headers
> When `gclient sync` fails, revert all local changes and try again
> Merge pull request #23 from brightray/chromiumviews_pdb
> Merge pull request #22 from brightray/cygwin2
> Update to Chrome 28.0.1500.71
2013-07-25 12:22:58 -04:00
Adam Roben
56b904947b
Avoid a crash when starting a download by disallowing downloads
...
Chromium crashes when starting a download if a content::DownloadManagerDelegate
is not provided. We now provide a default implementation of
content::DownloadManagerDelegate which disallows all downloads.
2013-07-24 07:56:55 -04:00
Adam Roben
bacf11d53f
Rename the Helper process to Renderer/Plug-In Host/Utility as appropriate
...
This matches Chrome.
2013-07-17 11:04:45 -04:00
Adam Roben
33b574b434
Allow clients to supply their own NetworkDelegate implementation
2013-07-17 10:21:33 -04:00
Adam Roben
09efd19d2f
Update to latest libchromiumcontent
...
* vendor/libchromiumcontent 929f9c9...ee4cea0 (2):
> Merge pull request #21 from brightray/ui_views
> Include all headers from testing/
2013-07-09 07:48:17 -04:00
Adam Roben
29237e21ce
Always build 32-bit in Xcode
...
libchromiumcontent is 32-bit-only, so we need to match.
2013-07-08 12:17:48 -04:00
Adam Roben
a77a170cab
Merge pull request #24 from brightray/skmatrix
...
Some headers are including SkMtrix.h, fix compilation errors for them.
2013-07-08 05:54:10 -07:00
Cheng Zhao
8e0f5624dd
Some headers are including SkMtrix.h, fix compilation errors for them.
2013-07-05 12:18:34 +08:00
Adam Roben
b17e63d13c
Update libchromiumcontent to be based on Chrome 28
...
* vendor/libchromiumcontent f4f8a7e...929f9c9 (3):
> Merge pull request #19 from brightray/chrome-28
> Merge pull request #18 from brightray/encryptor
> Merge pull request #17 from brightray/cygwin
2013-07-02 10:11:28 -04:00
Adam Roben
6b68847a0d
Merge pull request #23 from brightray/ninja
...
Fix building with ninja
2013-07-02 07:03:26 -07:00
Cheng Zhao
5e807cffc8
Use abusolute path when linking to external libraries. Fixes #22 .
...
The ninja generator of gyp behaves strangely on the 'libraries' field of link
settings, for example, specifying path to an external library works well on
both xcodebuild and msvc generators, but the ninja generator would link to
the wrong path (it can neither translate relative path correctly, nor convert
the command line parameter to the '-lxxx' form).
The only way to make all generators work on all platforms is to use abusolute
paths for external libraries.
2013-07-02 15:24:24 +08:00
Adam Roben
3d00cded27
Update to latest libchromiumcontent
...
* vendor/libchromiumcontent fc02d93...f4f8a7e (4):
> Include encryptor.lib and its symbols and headers in the distribution
> Build encryptor.lib on Windows
> Revert all changes before building if any unexpected files are modified
> Export headers from cc/
2013-06-06 18:50:55 -04:00
Adam Roben
496b246405
Give BrowserContext subclasses access to GetPath()
2013-06-06 18:50:37 -04:00
Adam Roben
57066d414c
Merge pull request #20 from brightray/windows-dev-tools
...
Implement undocked dev tools on Windows
2013-06-04 11:36:41 -07:00
Adam Roben
9ad77c4a38
Implement undocked dev tools on Windows
...
DevToolsWindow represents a vanilla top-level window that shows the dev tools.
It uses ui::WindowImpl to implement window functionality, which requires a
newer libchromiumcontent which contains the necessary headers for using that
class, and requires some modifications to brightray.gypi to make WTL's headers
available.
* vendor/libchromiumcontent 2f53a96...fc02d93 (4):
> Export third_party/wtl/include headers
> Export test_support_base.pdb and test_support_content.pdb
> Fix linker errors with test_support_base on Windows
> Fix linker errors with base_prefs_test_support on Windows
2013-06-04 14:33:29 -04:00
Adam Roben
4c9870e753
Fix debug assertion about performing IO on the UI thread
...
We were querying the application's FILEVERSIONINFO every time we needed to
figure out the path for storing BrowserContext data. Now we cache the path the
first time we need it, which is during application initialization and before IO
prohibitions begin.
2013-06-04 14:17:16 -04:00
Adam Roben
14edfc7f7c
Merge pull request #19 from brightray/file-protocol-handler
...
Set file and data protocol handler.
2013-06-03 06:27:14 -07:00
Cheng Zhao
27d55031f4
Set file and data protocol handler.
2013-06-02 00:25:04 +08:00
Adam Roben
3d12cb2c64
Don't crash when HTML notifications are used on Windows
...
Eventually we'll implement real support for this, but for now not crashing is
more important.
2013-05-31 08:05:14 -04:00
Adam Roben
2582e8561c
Update to Chromium r202921
...
* vendor/libchromiumcontent 0d02a8d...2f53a96 (1):
> Merge pull request #14 from brightray/latest-chromium
2013-05-30 15:07:32 -04:00
Adam Roben
f88634fea5
Pull in libchromiumcontent's Windows test support
...
* vendor/libchromiumcontent 3cbc11e...0d02a8d (1):
> Merge pull request #13 from brightray/windows-test-support
2013-05-29 13:15:29 -04:00
Adam Roben
a24c390318
Use the user-visible version number in our user agent string
...
I.e., use CFBundleShortVersionString instead of CFBundleVersion on OS X and
ProductVersion instead of FileVersion on Windows.
This is generally more useful (although slightly lower granularity) than the
machine-readable version number.
2013-05-28 15:42:52 -04:00
Adam Roben
54419bbbb1
Set the user agent string correctly on Windows
...
We use the main executable's ProductName and FileVersion resources to build the
user agent string.
2013-05-28 15:24:55 -04:00
Adam Roben
70af1f351f
Automatically exclude platform-specific files for all targets
...
This way embedding applications don't have to do this themselves, as long as
they follow our naming conventions.
2013-05-28 14:27:57 -04:00
Adam Roben
3070c6a723
Merge pull request #18 from brightray/better-windows-defaults
...
Improve Windows default build settings
2013-05-28 09:01:25 -07:00
Adam Roben
427ba96062
Set up linker defaults for Windows
...
These match Chromium's defaults.
2013-05-28 11:56:50 -04:00
Adam Roben
3f40456161
Make our Windows build settings actually take effect
...
We need to put them inside the target_defaults dictionary. Now that these
settings are turned on, we need to ignore some warnings that Chromium ignores.
2013-05-28 11:56:17 -04:00
Adam Roben
37d847c416
Fix linker errors about __imp___CrtDbgReportW
...
We were linking against the release CRT but defining _DEBUG, which should only
be defined when using the debug CRT.
2013-05-28 11:55:25 -04:00
Adam Roben
51cb56e604
Get libchromiumcontent back on master
2013-05-22 16:58:59 -04:00
Adam Roben
cf14f09228
Stub out InspectableWebContentsViewWin
...
This class doesn't implement any devtools behavior yet. Right now it's just a
glorified wrapper around a content::WebContents. But it's enough to show web
content on screen on Windows!
2013-05-22 16:57:32 -04:00
Adam Roben
b970e9d5c3
Only compile HandleKeyboardEvent on Mac
2013-05-22 16:08:40 -04:00
Adam Roben
f2ff1fb406
Merge pull request #17 from brightray/windows-brightray_example
...
Changes needed for building brightray_example on Windows
2013-05-22 12:08:13 -07:00
Adam Roben
d54f4e2bdd
Update libchromiumcontent to get icudt.dll
...
* vendor/libchromiumcontent 31efc77...e436974 (2):
> Export icudt.dll for Windows clients
> Export libGLESv2.dll on Windows
2013-05-22 14:04:28 -04:00
Adam Roben
f2909b0d90
Set up the resource bundle on Windows
2013-05-22 14:00:43 -04:00
Adam Roben
3713ea6403
Exclude platform-specific files from other platforms
2013-05-22 14:00:43 -04:00
Adam Roben
1ec7280663
Link against the DLL version of the CRT
...
* vendor/libchromiumcontent 04ccdd8...31efc77 (3):
> Use the DLL version of the CRT
> Generate libchromiumcontent-symbols.zip on Windows
> Fix exporting of WebKit symbols
2013-05-22 14:00:31 -04:00
Adam Roben
18b64f375c
Link client apps against base_static.lib
...
This is required to get base::win::PEImage, which is required by sandboxing
code.
* vendor/libchromiumcontent c973a7c...04ccdd8 (1):
> Export base_static.lib for Windows clients
2013-05-22 13:55:56 -04:00
Adam Roben
6a8ee865f4
Fix linker errors about missing Win32 APIs
2013-05-22 13:55:56 -04:00
Adam Roben
7e03f93dcd
Add a stub application_info_win.cc
2013-05-22 13:55:56 -04:00
Adam Roben
12d01e4fd5
ifdef out a bunch of Mac-specific code
...
This is a hacky solution but helps us deal with other compiler/linker errors.
2013-05-22 13:55:56 -04:00
Adam Roben
12773cff6e
Fix linker errors about missing registry APIs
2013-05-22 13:55:54 -04:00
Adam Roben
2813bef741
Link against sandbox_static.lib
...
* vendor/libchromiumcontent 15ada44...c973a7c (3):
> Create and export sandbox_static.lib for Windows clients
> Export content/app/startup_helper_win.cc to clients
> Rename dist/include to dist/src
2013-05-22 13:55:12 -04:00
Adam Roben
7f463b8962
Give clients access to libchromiumcontent's src directory
...
* vendor/libchromiumcontent 15ada44...65b85bf (2):
> Export content/app/startup_helper_win.cc to clients
> Rename dist/include to dist/src
2013-05-22 13:55:12 -04:00
Adam Roben
4c0765b413
Use __declspec(dllimport) for functions from chromiumcontent.dll
2013-05-22 13:55:11 -04:00
Adam Roben
7b65fe4948
Link against chromiumcontent.dll
...
* vendor/libchromiumcontent 4aae27b...15ada44 (3):
> Include chromiumcontent.dll's import library
> Export sandbox/ headers
> Mention that Python is required to build
2013-05-22 13:55:11 -04:00
Adam Roben
35f4dfe4b0
Add some more default build settings for Windows
2013-05-22 13:55:02 -04:00
Adam Roben
3cf6e5eda2
Make sure dependents can #include "brightray/foo.h"
2013-05-22 13:54:07 -04:00
Adam Roben
f387535eae
Beef up .gitignore
2013-05-22 13:54:07 -04:00
Adam Roben
d6b4e430f8
Update links after move to brightray org
2013-05-21 14:57:52 -04:00
Adam Roben
df24a0a816
Merge pull request #16 from brightray/windows-build
...
Get a basic Windows build working
2013-05-16 06:22:23 -07:00
Adam Roben
e531f46a4b
Ignore files created by Visual Studio
2013-05-16 09:16:29 -04:00
Adam Roben
d07c45080d
Don't use range-based for loops
...
VS2010 doesn't support them :-(
2013-05-16 09:15:57 -04:00
Adam Roben
5fa005d5da
Fix Windows build error about passing std::string to base::FilePath::Append
2013-05-16 09:15:56 -04:00
Adam Roben
a6c5cb04f7
Use FILE_PATH_LITERAL to fix build errors
2013-05-16 09:15:56 -04:00
Adam Roben
35199ba31f
MSVC doesn't allow override on destructors
2013-05-16 09:15:55 -04:00
Adam Roben
ae7331da82
Add some build defaults for Windows
...
These came from Chromium's build/common.gypi file.
2013-05-16 09:15:55 -04:00
Adam Roben
689496afb8
Make sure sk_stdint.h is in the include path
2013-05-16 09:15:54 -04:00
Adam Roben
a5b118ce34
Use MSBuild to build on Windows
2013-05-16 09:15:54 -04:00
Adam Roben
3d83416c04
Ignore .sln/.vcxproj files created by gyp
2013-05-16 09:15:47 -04:00
Adam Roben
fd6e43baf9
Make script/build actually run gyp on Windows
...
We don't yet build, but we're getting closer.
2013-05-16 09:15:05 -04:00
Adam Roben
0dfd5ec320
Ensure consistent line endings in all files
2013-05-16 09:15:05 -04:00
Adam Roben
39f0694cce
Add prerequisites to the README
2013-05-16 09:15:04 -04:00
Adam Roben
90e1370d7f
Update libchromiumcontent for Windows support
...
* vendor/libchromiumcontent e70a88f...4aae27b (2):
> Merge pull request #11 from brightray/windows-build
> Merge pull request #10 from brightray/windows-scripts
2013-05-16 08:54:01 -04:00
Adam Roben
586141f51f
Merge pull request #15 from brightray/cibuild
...
Get brightray building in CI
2013-05-14 09:24:56 -07:00
Adam Roben
33d4b7398a
Add script/cibuild
...
This just ensures that we can bootstrap and build.
2013-05-14 12:20:50 -04:00
Adam Roben
a922d8a529
Update for libchromiumcontent repo transfer
2013-05-14 09:26:40 -04:00
Adam Roben
de9b0a008b
Fix script/bootstrap
...
* vendor/libchromiumcontent 588f368...e70a88f (1):
> Make script/download work when we're a submodule
2013-05-14 08:31:10 -04:00
Adam Roben
ebabb0aef2
Merge pull request #12 from aroben/python
...
Rewrite scripts in Python
2013-05-14 05:04:47 -07:00
Adam Roben
46c887b62d
Rewrite script/build in Python
...
The script is still Mac-specific, but this will make it easier to add
Windows support later.
2013-05-13 18:59:03 -04:00
Adam Roben
c29074ff94
Rewrite script/boostrap in Python
...
This is the first step toward supporting Windows.
2013-05-13 18:59:03 -04:00
Adam Roben
0526aa45e7
Update libchromiumcontent to get its Python scripts
...
* vendor/libchromiumcontent 3f6f01c...588f368 (17):
> Merge pull request #8 from aroben/menu-controller
> Merge pull request #6 from aroben/shell_dialogs
> Fix typo in script/create-dist
> Merge pull request #5 from aroben/python
> Add libtest_support_chromiumcontent.a
> Build and distribute libgtest.a
> Stop trying to compile SQLitePersistentCookieStore separately
> Update to latest Chromium trunk revision
> Merge pull request #4 from aroben/atom
> Actually compile the base/prefs code
> Export symbols from base/prefs
> Compile and export SQLitePersistentCookieStore
> Export webkit/plugins headers
> Export skia/ext headers
> Export ui/surface headers, too
> Export Skia symbols from libchromiumcontent
> Update to match chrome/trunk
2013-05-13 18:58:44 -04:00
Adam Roben
57ed898128
Merge pull request #9 from aroben/frontend-host-crash
...
frontend_host_ should be destructed after devtools_web_contents_.
2013-05-01 07:50:39 -07:00
Cheng Zhao
082f88ed3c
frontend_host_ should be destructed after devtools_web_contents_.
2013-05-01 22:00:20 +08:00
Adam Roben
676e92e322
Fix crashes when dragging links
...
Turns out we needed to implement ContentClient::GetNativeImageNamed, which is
called to get the default drag image.
2013-04-26 22:49:58 -04:00
Adam Roben
73d467d657
Turn off C++ exceptions
...
We weren't using them anyway, and don't intend to. This matches Chromium.
2013-04-26 14:13:45 -04:00
Adam Roben
6908eecd0c
Allow embedders to specify extra .pak files
2013-04-26 11:04:51 -04:00
Adam Roben
3b879a6178
Allow embedders to provide their own ContentClient subclass
2013-04-24 18:30:47 -04:00
Adam Roben
c27ac79969
Update to latest libchromiumcontent
...
* vendor/libchromiumcontent 4ae397b...d5cef3b (1):
> Add libtest_support_chromiumcontent.a
2013-04-24 15:56:43 -04:00
Adam Roben
94d7b383c5
Fix DCHECK() assertion in BrowserClient
2013-04-24 10:54:53 -04:00
Adam Roben
48878af0db
Let embedders add their own protocol handlers
2013-04-23 15:50:17 -04:00
Adam Roben
67081a64b0
Pull in latest libchromiumcontent to get gtest
...
* vendor/libchromiumcontent 0d607ee...4ae397b (1):
> Build and distribute libgtest.a
2013-04-23 13:27:29 -04:00
Adam Roben
7d9e271333
Merge pull request #8 from aroben/atom
...
InspectableWebContents should be able to accept existing WebContents.
2013-04-22 05:47:14 -07:00
Cheng Zhao
a5e1c46674
💄
2013-04-22 20:41:58 +08:00
Cheng Zhao
082aa61870
InspectableWebContents should be able to accept existing WebContents.
2013-04-20 13:24:45 +08:00
Adam Roben
80cb76355c
Update to latest libchromiumcontent
...
* vendor/libchromiumcontent b6a0d85...0d607ee (3):
> Stop trying to compile SQLitePersistentCookieStore separately
> Update to latest Chromium trunk revision
> Merge pull request #4 from aroben/atom
2013-04-17 23:27:53 -04:00
Adam Roben
0b5ab8e43d
Size dev tools correctly when starting out docked to the right
2013-04-16 21:06:07 -04:00
Adam Roben
d9df9bcf47
Send focus/blur events when an InspectableWebContents's window gains/loses focus
...
We listen for key window chages and inform content::RenderWidgetHostView as
appropriate.
2013-04-09 15:11:16 -04:00
Adam Roben
3c513d6ae8
Remember where the dev tools were docked between launches
2013-04-08 13:53:53 -04:00
Adam Roben
a2a2cd1936
Add preferences support for embedding applications
...
Applications can use brightray::BrowserContext::prefs to get access to
preferences that are persisted between launches.
brightray::BrowserContext::RegisterPrefs must be used to register preferences
before they're accessed.
Updated libchromiumcontent to pull in preferences support.
* vendor/libchromiumcontent 3944c1c...b6a0d85 (2):
> Actually compile the base/prefs code
> Export symbols from base/prefs
2013-04-08 13:53:42 -04:00
Adam Roben
5db043f7d4
Strip whitespace from the application name in the user agent
...
Having whitespace in the application name makes the user agent hard to parse.
2013-04-08 12:42:50 -04:00
Adam Roben
d2c04779e4
Include the application's version number in the user agent string
2013-04-08 12:41:30 -04:00
Adam Roben
3cef0dd98c
Allow embedders to provide their own BrowserContext implementation
2013-04-01 20:10:00 -04:00
Adam Roben
080d9f59e9
Implement Notification.close()
2013-03-29 09:36:07 -04:00
Adam Roben
dde3c3f78f
Make NotificationID more useful
2013-03-29 09:23:10 -04:00
Adam Roben
e59c549e62
Fire a click event when a notification is clicked
2013-03-29 09:02:40 -04:00
Adam Roben
c1463f9799
Don't fire the show event until the notification is actually shown
2013-03-29 08:59:21 -04:00
Adam Roben
e592f3ffa1
Add CreateUserNotification helper function
2013-03-29 08:32:00 -04:00
Adam Roben
08f393437e
Show notifications even when the app is focused
...
It's a little icky to be taking over global state (NSUserNotificationCenter's
delegate) like this, but until we have evidence that it gets in someone's way
it's the pragmatic thing to do.
2013-03-28 18:09:04 -04:00
Adam Roben
651ab18a21
Turn NotificationPresenter into an abstract base class
...
This will allow us to have Mac-specific member variables without a bunch of
ifdefs.
2013-03-28 18:03:58 -04:00
Adam Roben
3c41af84a1
Move notification-related code into a new NotificationPresenter class
2013-03-28 17:50:07 -04:00
Adam Roben
1328c85eef
Fire a show event when a notification is shown
2013-03-28 17:50:07 -04:00
Adam Roben
0893253188
Add bare-bones HTML notifications support
...
Calling Notification.show() now works. But Notification.close() does nothing,
and none of the notification's events fire.
2013-03-28 17:50:07 -04:00
Adam Roben
1a1fecf423
Bump the base SDK and deployment target to 10.8
...
This required working around an incompatibility in base/mac/foundation_util.h.
2013-03-28 17:50:07 -04:00
Adam Roben
e4e4cb6ec4
Allow embedders to customize the deployment target and base SDK
2013-03-28 15:56:35 -04:00
Adam Roben
93d9b61215
Allow overriding MainDelegate::BasicStartupComplete
2013-03-28 12:34:49 -04:00
Adam Roben
fa9a1d7b35
Support undocking the devtools view into its own window
2013-03-27 12:35:01 -04:00
Adam Roben
c22d1cca79
Support docking the devtools on the right side of the window
2013-03-27 11:20:21 -04:00
Adam Roben
001d0197de
Make the devtools close button work
2013-03-27 11:20:21 -04:00
Adam Roben
d20ecc0e2b
Merge InspectableWebContentsImpl and DevToolsFrontend
...
While this prevents clients from easily implementing their own devtools
windows, it gives us much easier control over the devtools experience.
2013-03-27 11:20:15 -04:00
Adam Roben
881a203b57
Fix double-delete of BrowserMainParts
...
The caller of BrowserClient::CreateBrowserMainParts handles destroying the
BrowserMainParts instance we return.
2013-03-27 08:55:54 -04:00
Adam Roben
90691e394f
Fix lifetime management of URLRequestContextGetter
...
I noticed this bug while adding persistent cookie storage.
2013-03-27 08:55:54 -04:00
Adam Roben
4fc0fed081
Persist cookies to disk
...
We use Chrome's SQLitePersistentCookieStore to save cookies to a file called
"Cookies" within the application support directory.
Fixes #5 .
2013-03-27 08:55:38 -04:00
Adam Roben
115eef52a3
Update libchromiumcontent
...
* vendor/libchromiumcontent cf87e4d...3944c1c (1):
> Compile and export SQLitePersistentCookieStore
2013-03-26 16:30:32 -04:00
Adam Roben
3d3b989806
Update libchromiumcontent to pull in more headers
...
* vendor/libchromiumcontent 9152595...cf87e4d (1):
> Export webkit/plugins headers
2013-03-25 12:53:30 -04:00
Adam Roben
5120887571
Update libchromiumcontent to pull in more headers
2013-03-25 12:28:30 -04:00
Adam Roben
5c0323cf23
Allow overwriting vendor/download/libchromiumcontent when its version changes
2013-03-25 12:23:37 -04:00
Adam Roben
3cda49b894
Update to latest libchromiumcontent
2013-03-21 15:18:25 -04:00
Adam Roben
909b3cd18f
Stop disabling the sandbox
...
Now that we have the resources bundle hooked up correctly, the sandbox
functions just fine.
Fixes #4 .
2013-03-14 14:01:12 -04:00
Adam Roben
4ca59ba279
Make keyboard shortcuts work when the dev tools are focused
...
We just pass unhandled key events from dev tools along to the main
WebContentsDelegate.
Part of #2 .
2013-03-14 13:50:21 -04:00
Adam Roben
be6d990a97
Make keyboard shortcuts work on Mac
...
When the renderer doesn't handle a key event, we pass it off to the main menu
to see if it can handle it.
Part of #2 .
2013-03-14 13:50:15 -04:00
Adam Roben
561fc9a342
Fix a NSSplitView leak
2013-03-14 13:06:58 -04:00
Adam Roben
4bff7a592a
Enforce better header hygiene
...
Apple recommends disabling ALWAYS_SEARCH_USER_PATHS, so we now do. And we also
disable USE_HEADER_MAP to match other platforms more closely.
2013-03-14 13:06:17 -04:00
Adam Roben
fe35a92de5
Get the linen background painting during elastic scrolling
...
We weren't setting the location of the resource bundle correctly in the
renderer process. It turns out base::mac::OuterBundle() returns the helper
app's bundle in the renderer process. So now we have MainApplicationBundle() to
give us the bundle of the main app.
2013-03-14 13:05:01 -04:00
Adam Roben
b2a79856ef
Add InspectableWebContents
...
This class can be used to create a content::WebContents that can be inspected
by the Chrome Dev Tools. This requires embedding applications to copy
content_shell.pak into their resource bundle.
Right now the dev tools are always docked to the bottom of the view; we don't
yet support undocking or changing the docked side.
Fixes #1 .
2013-03-14 09:05:42 -04:00
Adam Roben
e1b5e5e1bf
Store the disk cache in an app-specific location
...
We deduce the name of the application from the CFBundleName of the .app bundle
and use a path based on that. Similar logic should be implementable for other
platforms.
Fixes #3 .
2013-03-13 16:45:00 -04:00
Adam Roben
65dd011fa3
Use Google-style header guards everywhere
2013-03-13 15:42:16 -04:00
Adam Roben
e451d92121
Initial commit
2013-03-13 15:31:24 -04:00