Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: registerStreamProtocol callback with large chunks (backport: 4-0-x) #16539

Closed
wants to merge 246 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
246 commits
Select commit Hold shift + click to select a range
35df516
Bump v4.0.0-beta.1
electron-bot Oct 11, 2018
f1ec223
Revert "Bump v4.0.0-beta.1"
MarshallOfSound Oct 11, 2018
f9ae1aa
Bump v4.0.0-beta.1
electron-bot Oct 11, 2018
cfbb22b
Revert "FIXME: disable isCurrentlyAudible test to unblock merge" (#15…
trop[bot] Oct 11, 2018
24b809f
build: add "apply_patches" flag to gclient (#15082)
trop[bot] Oct 11, 2018
e9e0219
fix: update and enable osr (backport: 4-0-x) (#15084)
trop[bot] Oct 11, 2018
b7f20f1
Bump v4.0.0-beta.2
electron-bot Oct 11, 2018
8094f1a
fix: Remove `statSyncNoException` for good (backport: 4-0-x) (#15110)
trop[bot] Oct 12, 2018
ebb2c53
docs: app.getLoginItemStatus -> app.getLoginItemSettings (#15114)
trop[bot] Oct 12, 2018
11486b9
chore: roll node (#15115)
trop[bot] Oct 12, 2018
8c2d16f
fix: export zlib symbols (#15118)
trop[bot] Oct 12, 2018
948fc6f
build: add v8_embedder_string to build args (#15120)
trop[bot] Oct 12, 2018
6e30d85
Bump v4.0.0-beta.3
electron-bot Oct 12, 2018
3ee697b
fix: natively implement LoginItem functions (backport: 4-0-x) (#15127)
trop[bot] Oct 13, 2018
1adce94
chore: mark browserview api as not-experimental (#15134)
trop[bot] Oct 13, 2018
446275c
ci: Fix timeout when generating breakpad symbols (backport: 4-0-x) (#…
trop[bot] Oct 13, 2018
c16b345
split out login item tests (#15142)
trop[bot] Oct 13, 2018
203b41f
fix: Revert "fix: export zlib symbols (#15103)" (#15141)
trop[bot] Oct 13, 2018
5f83e07
fix: Memory > Profiles > Load in DevTools (#15156)
trop[bot] Oct 14, 2018
b4f4ce1
fix: preserve background color through reload (backport: 4-0-x) (#15162)
trop[bot] Oct 14, 2018
abbf9c3
fix: add microtask runner and fix promise test (backport: 4-0-x) (#15…
trop[bot] Oct 16, 2018
6281e4e
Bump v4.0.0-beta.4
electron-bot Oct 16, 2018
0c09199
fix: do not enable node integration in child window if not enabled (#…
Oct 16, 2018
df70487
docs: deprecation warning for using nativeWindowOpen with nodeIntegra…
zcbenz Oct 16, 2018
838f108
fix: print warning after DOM is created
zcbenz Oct 17, 2018
5fbf1f9
Merge pull request #15193 from electron/window-open-warn-leak-4-0-x
Oct 17, 2018
f1a8483
add width to webview iframe (#15205)
trop[bot] Oct 17, 2018
d525083
fix: don't call ReadRawDataComplete if it's not necessary (#15210)
trop[bot] Oct 17, 2018
1ff102e
Bump v4.0.0-beta.5
electron-bot Oct 17, 2018
fd205a1
fix: small refactoring regressions (backport: 4-0-x) (#15224)
trop[bot] Oct 17, 2018
a2b4458
Revert "Bump v4.0.0-beta.5"
MarshallOfSound Oct 18, 2018
630bc64
Revert "Bump v4.0.0-beta.4"
MarshallOfSound Oct 18, 2018
3cd67db
Bump v4.0.0-beta.4
electron-bot Oct 18, 2018
b57d125
Revert "Bump v4.0.0-beta.4"
MarshallOfSound Oct 18, 2018
7ab6073
Bump v4.0.0-beta.4
electron-bot Oct 18, 2018
f2ca4c1
Revert "Bump v4.0.0-beta.4"
MarshallOfSound Oct 18, 2018
6c18908
Bump v4.0.0-beta.4
electron-bot Oct 18, 2018
9ac4611
Revert "Bump v4.0.0-beta.4"
MarshallOfSound Oct 18, 2018
85b0f25
ci: make sure git directories don't have unneeded files in them (#15248)
trop[bot] Oct 18, 2018
96a4fce
fix: allow renaming electron.exe (backport: 4-0-x) (#15249)
trop[bot] Oct 18, 2018
f88a06d
Bump v4.0.0-beta.4
electron-bot Oct 19, 2018
f30c382
fix: correctly enable and disable windows on Windows and Linux (backp…
trop[bot] Oct 19, 2018
435ca8c
fix: enable NODE_OPTIONS env var (#15259)
trop[bot] Oct 19, 2018
372fa4c
fix: Convert to lower case in upload symbols script (backport: 4-0-x)…
trop[bot] Oct 19, 2018
b77f414
fix: make release-artifact-cleanup executable (backport: 4-0-x) (#15273)
trop[bot] Oct 19, 2018
6ba390e
chore: make macOS release builds higher priority to skip the queue (#…
trop[bot] Oct 19, 2018
cd1c9c8
fix: trim app name and productName (#15287)
trop[bot] Oct 19, 2018
8a90bbf
test: asyncawaitify one of sandbox related tests (#15278)
trop[bot] Oct 19, 2018
e113ec7
fix: loading of devtools extensions on startup (backport: 4-0-x) (#15…
trop[bot] Oct 19, 2018
57153ea
fix: convert wstring to string on windows in node_bindings (#15268)
trop[bot] Oct 19, 2018
fd4d032
chore: roll node (backport: 4-0-x) (#15260)
trop[bot] Oct 19, 2018
4844af4
spec: increase MAS timeout for login items (#15297)
trop[bot] Oct 20, 2018
9a59159
build: document env vars expected to be set for the CI configs (backp…
trop[bot] Oct 20, 2018
b8bc256
fix: ability to fetch separators by id (#15294)
trop[bot] Oct 20, 2018
f68d59d
docs: we don't emit an event object for session-created (#15307)
trop[bot] Oct 21, 2018
f8450da
Bump v4.0.0-beta.5
electron-bot Oct 22, 2018
fdfcd3c
Revert "Bump v4.0.0-beta.5"
BinaryMuse Oct 23, 2018
e026e9a
Bump v4.0.0-beta.5
electron-bot Oct 23, 2018
daa0be5
Revert "Bump v4.0.0-beta.5"
BinaryMuse Oct 23, 2018
11ebf5c
Bump v4.0.0-beta.5
electron-bot Oct 23, 2018
a313aae
feat: security: add an option to disable the remote module (#15222)
trop[bot] Oct 23, 2018
17b80eb
fix: correct reversed logic in NativeWindowMac::SetEnabled (#15325)
trop[bot] Oct 23, 2018
86e35e6
Revert "Bump v4.0.0-beta.5"
MarshallOfSound Oct 23, 2018
b2d4c51
Bump v4.0.0-beta.5
electron-bot Oct 23, 2018
3a4c20b
fix: Native window close crash (#15337)
trop[bot] Oct 23, 2018
a51ad1f
fix: honor dialog.showMessageBox()'s Icon argument on Linux (#15343)
trop[bot] Oct 23, 2018
041773c
build: add temporary debugging to generate_breakpad_symbols.py (#15346)
Oct 24, 2018
8d4573f
fix: update fs methods for options param (backport: 4-0-x) (#15350)
trop[bot] Oct 24, 2018
9625fae
build: add conditions to check out Chromium and Node.js (#15372)
trop[bot] Oct 24, 2018
436b9a2
fix: set NSResizableWindowMask at init time (#15383)
trop[bot] Oct 25, 2018
ac1bfb2
ci: make sure brew installed node is available in path (#15382)
trop[bot] Oct 25, 2018
d16304f
fix: folder open not working in devtools (#15397)
trop[bot] Oct 25, 2018
74bd220
chore: deprecate apply-patches in favour of git-{import,export}-patch…
nornagon Oct 25, 2018
6e759e0
build: skip pyproto/ resources in zip.py (#15398)
trop[bot] Oct 25, 2018
282829c
doc: correct ipcRenderer sendTo windowId param (#15419)
trop[bot] Oct 26, 2018
d1c4845
fix: use gio as default linux trash impl (backport: 4-0-x) (#15422)
trop[bot] Oct 26, 2018
081af07
doc: clarify menu item properties not available top-level (#15462)
trop[bot] Oct 30, 2018
3e4d771
chore: bump minimum supported macOS version to 10.10 (#15357) (#15440)
miniak Oct 31, 2018
a5fa187
chore: re-enable execFileSync binary exec spec (#15482)
trop[bot] Oct 31, 2018
deac580
docs: add return type for subscribeNotification (#15500)
trop[bot] Oct 31, 2018
2ac5f33
docs: http protocol handlers can access headers (backport: 4-0-x) (#1…
trop[bot] Oct 31, 2018
c268fd8
Bump v4.0.0-beta.6
electron-bot Oct 31, 2018
d07115e
Fix missing remote object error when calling remote function created …
Oct 31, 2018
2b7f854
fix: explicitly set `windowsHide` to the old node default (#15511)
trop[bot] Nov 1, 2018
7e63ca6
chore: publish to the latest tag correctly when releasing old version…
trop[bot] Nov 1, 2018
eef05cb
docs: add Size as an option for pageSize in docs for printToPDF (#15526)
trop[bot] Nov 1, 2018
9153357
fix: use sendToAll method correctly in chrome-api (#15529)
trop[bot] Nov 2, 2018
8e31642
docs: fix the "second-instance" event handler signature in the docs (…
trop[bot] Nov 2, 2018
acea9d1
fix: honor properties.showHiddenFiles on Linux (#15506)
trop[bot] Nov 2, 2018
62c0f84
build: make pyyaml an optional dependency (#15566)
alexeykuzmin Nov 5, 2018
f43920e
feat: add remote.require() / remote.getGlobal() filtering (#15562)
miniak Nov 5, 2018
127ad92
build: store the patches config in a json file (#15572)
trop[bot] Nov 5, 2018
08d8029
fix: use NSURL path for receipt url (#15574)
trop[bot] Nov 5, 2018
3846a1b
Bump v4.0.0-beta.7
electron-bot Nov 5, 2018
43e8dd7
build: add v8_context_snapshot_generator to mksnapshot zip (#15608)
trop[bot] Nov 7, 2018
fec4291
fix: update the "SSL_get_tlsext_status_type" patch (#15593)
trop[bot] Nov 7, 2018
915fc3d
chore: fix missing \n at end of exported patches (#15579) (#15619)
alexeykuzmin Nov 7, 2018
cbc0f45
chore: add simple set/unset loginitem spec (#15599)
trop[bot] Nov 8, 2018
d488baa
fix: correctly display zoom in accelerator on mac (backport: 4-0-x) (…
codebytere Nov 8, 2018
8341445
fix: destroy WebContents synchronously on shutdown (#15640)
Nov 8, 2018
f331b92
fix: don't append Shift modifier text twice to accelerators (backport…
brenca Nov 8, 2018
802e2fa
fix: correctly package Login Helper in mas builds (#15615)
trop[bot] Nov 8, 2018
b488b41
chore: remove the 'get-patch' script (#15643)
trop[bot] Nov 8, 2018
c45ac51
fix: send NSView* as the response to getNativeWindowHandle() instead …
trop[bot] Nov 9, 2018
2d0b80c
ci: add testing for mksnapshot (backport: 4-0-x) (#15655)
trop[bot] Nov 9, 2018
6487466
fix: NSWindow crash happening on macos 10.9 (#15670)
trop[bot] Nov 10, 2018
7cc7d4a
fix: Menu accelerators not working (#15094) (#15662)
nitsakh Nov 10, 2018
98d9e1c
refactor: no longer require submenu for services menuitem (#15671)
trop[bot] Nov 11, 2018
0bb8dda
feat: expose setBackgroundThrottling api (#15623)
trop[bot] Nov 13, 2018
7be10d5
feat: expose showAboutPanel for MacOS (#15680)
trop[bot] Nov 13, 2018
33254c5
fix: window.open site instance should belong to the same browsing ins…
ppontes Nov 13, 2018
6e4ca8b
fix: bypass DOM storage quota (backport: 4-0-x) (#15688)
alexeykuzmin Nov 13, 2018
03e98a0
docs: remove unsafe eval section of security tutorial (backport: 4-0-…
trop[bot] Nov 14, 2018
a7bc01b
build: use different directory for generated breakpad symbols (#15720)
trop[bot] Nov 15, 2018
43be9e9
Bump v4.0.0-beta.8
electron-bot Nov 16, 2018
7973380
chore: Deprecate options in webcontents.findInPage (#15735)
nitsakh Nov 16, 2018
85ece0a
Revert "Bump v4.0.0-beta.8"
MarshallOfSound Nov 17, 2018
6fdbfdb
feat: allow partial setting of window bounds (#15699)
codebytere Nov 18, 2018
c5e3b63
fix: package swiftshader binaries (#15745)
trop[bot] Nov 19, 2018
639c07a
docs: limits of nativeWindowOpen (#15751)
Nov 19, 2018
682e3e3
fix: revert: "window.open site instance should belong to the same bro…
ppontes Nov 19, 2018
2b833da
Bump v4.0.0-beta.8
electron-bot Nov 19, 2018
fd18171
Revert "Bump v4.0.0-beta.8"
BinaryMuse Nov 19, 2018
646a7af
docs: add note about win_delay_load_hook (backport: 4-0-x) (#15771)
trop[bot] Nov 20, 2018
c5fd12c
fix: restore missing .lproj directories (#15769)
trop[bot] Nov 20, 2018
23498bd
build: make make_locale_dirs idempotent (#15780)
trop[bot] Nov 21, 2018
3e5038a
build: fix native_mksnapshot build (backport: 4-0-x) (#15799)
trop[bot] Nov 21, 2018
d3b1f1e
Bump v4.0.0-beta.8
electron-bot Nov 21, 2018
d5f432b
fix: bypass CORB when web security is disabled (#15737) (#15801)
ckerr Nov 22, 2018
907ab93
Revert "Bump v4.0.0-beta.8"
BinaryMuse Nov 22, 2018
8745560
Bump v4.0.0-beta.8
electron-bot Nov 22, 2018
3056868
Revert "Bump v4.0.0-beta.8"
BinaryMuse Nov 22, 2018
3276ebf
fix: ensure that file descriptors 0/1/2 are opened at startup (backpo…
trop[bot] Nov 26, 2018
bcc8a27
Bump v4.0.0-beta.8
electron-bot Nov 26, 2018
49a564e
Revert "Bump v4.0.0-beta.8"
BinaryMuse Nov 26, 2018
3c859a5
Bump v4.0.0-beta.8
electron-bot Nov 26, 2018
a67408e
fix: load the chrome.* API on chrome-extension pages in sandbox mode …
trop[bot] Nov 26, 2018
f451ce6
feat: add registerAccelerator flag to allow menu items to optionally …
trop[bot] Nov 26, 2018
60894aa
Revert "Bump v4.0.0-beta.8"
BinaryMuse Nov 26, 2018
e2925fd
fix: backport patch to fix scrolling problem (#15831)
Nov 27, 2018
7828ea0
Bump v4.0.0-beta.8
electron-bot Nov 27, 2018
9dc6a58
Revert "Bump v4.0.0-beta.8"
codebytere Nov 27, 2018
91a52f7
Bump v4.0.0-beta.8
electron-bot Nov 27, 2018
020457f
fix: add missing shell_resources.pak to repack target (backport: 4-0-…
trop[bot] Nov 27, 2018
87bed0b
fix: schedule a paint after browserview's background is set (#15797)
trop[bot] Nov 28, 2018
5f70bae
Revert "Bump v4.0.0-beta.8"
codebytere Nov 29, 2018
6790282
Bump v4.0.0-beta.8
electron-bot Nov 29, 2018
4fe5956
Revert "Bump v4.0.0-beta.8"
codebytere Nov 29, 2018
428a2b5
fix: form control rendering on 10.14 Mojave (#15869)
trop[bot] Nov 29, 2018
53e4cdf
fix: osr windows respect display scale factor (#15865)
trop[bot] Nov 29, 2018
8b37e62
test: attempt at fixing flaky takeHeapSnapshotTest (#15881)
trop[bot] Nov 29, 2018
d8ab2c7
fix: ignore unused freopen result (#15885)
trop[bot] Nov 29, 2018
39dffbf
Bump v4.0.0-beta.8
electron-bot Nov 29, 2018
284b567
Revert "Bump v4.0.0-beta.8"
codebytere Nov 29, 2018
aa78127
Bump v4.0.0-beta.8
electron-bot Nov 29, 2018
8ac5da5
chore: expose release id for use in cleanup (#15903)
trop[bot] Nov 30, 2018
70ebebf
chore: improve granular release cleanup (backport: 4-0-x) (#15905)
trop[bot] Nov 30, 2018
01f3107
chore: allow bumping stable => beta (#15908)
trop[bot] Nov 30, 2018
a4ed644
test: fix a bunch of flaky tests related to emittedOnce (backport: 4-…
nornagon Nov 30, 2018
64deb36
fix: backport patch that ensures that cookie store is always created …
brenca Nov 30, 2018
00534eb
ci: Renable ffmpeg and mksnapshot tests on Azure Devops (#15902)
Nov 30, 2018
99a9f8a
fix: prevent bluetooth device list from growing without bound (backpo…
trop[bot] Nov 30, 2018
b41722f
chore: remove unused module (#15924)
trop[bot] Dec 4, 2018
4ad3a39
security: only handle related IPCs when <webview> tag is enabled (bac…
trop[bot] Dec 5, 2018
3bd1243
feat: add media access APIs for macOS Mojave (#15948)
trop[bot] Dec 7, 2018
3021870
fix: use appropriate site instance for cross-site nav's (backport: 4-…
ppontes Dec 10, 2018
dec66ea
fix: move NativeWindow tracking to OSR WCV (#15585) (#15970)
codebytere Dec 10, 2018
366bc82
Revert "fix: use appropriate site instance for cross-site nav's (back…
codebytere Dec 10, 2018
c1031f6
fix: incorrect view ordering for customButtonsOnHover (backport: 4-0-…
trop[bot] Dec 10, 2018
d9a920e
fix: do not print an error for an expected condition (#15991) (#16000)
trop[bot] Dec 10, 2018
e8d4a07
Bump v4.0.0-beta.9
electron-bot Dec 10, 2018
913a433
chore: warn when nodeIntegration's default is relied on (#16004)
nornagon Dec 11, 2018
e324fc4
fix: allow 2 threads for CreateIoCompletionPort on single-core to pre…
trop[bot] Dec 11, 2018
61946e4
chore: add webui_resources to pak (#16023)
trop[bot] Dec 11, 2018
dd595a7
fix: return pointer instead of pointer's content (#16022)
trop[bot] Dec 11, 2018
388197d
fix: restore ability to disable color correct rendering (backport: 4-…
poiru Dec 11, 2018
12504cc
build: make it possible to pass a "--directory" arg to "git am" (#16026)
trop[bot] Dec 12, 2018
6ba0534
fix: fix an original-fs regression introduced in 4.0 betas (backport:…
trop[bot] Dec 12, 2018
84d66c8
chore: warn when people attempt to use the Electron module to do Elec…
trop[bot] Dec 12, 2018
8f938c7
ci: Cleanup build dirs on Azure Devops (backport: 4-0-x) (#16048)
trop[bot] Dec 13, 2018
2eaf88e
chore: add deprecation warning for contextIsolation default change (#…
nornagon Dec 13, 2018
05d6dbc
docs: contextIsolation is no longer experimental (#16049)
trop[bot] Dec 13, 2018
b2913e5
chore: add deprecation warning about new webviewTag default (#16059)
nornagon Dec 14, 2018
80ef116
chore: simplify main world setup of contextIsolation (#16065)
Dec 14, 2018
c6145d9
chore: backport new release notes generator to 4-0-x (#15935)
ckerr Dec 14, 2018
6b8ec1c
fix: remove event monitor before destroying window (4-0-x) (#16063)
BinaryMuse Dec 14, 2018
1b0d729
test: fix remote-debugging-port test calling done twice (#15857) (#16…
nornagon Dec 14, 2018
6a9c3ef
chore: correctly capitalize releaseID (#16081)
trop[bot] Dec 17, 2018
bc68c26
build: upgrade //third_party/sqlite from 3.24 to 3.26 (#16073)
deepak1556 Dec 17, 2018
f6fa88a
chore: backport printing changes (#15023, #15143) to 4-0-x (#15976)
bengotow Dec 17, 2018
864bdf6
Bump v4.0.0-beta.10
electron-bot Dec 17, 2018
bf01cd5
fix: register webview in main world when using contextIsolation (#16069)
Dec 18, 2018
5c9f4d6
fix: fix Electron not starting in development from the CLI (4-0-x) (#…
trop[bot] Dec 18, 2018
c50e489
Bump v4.0.0-beta.11
electron-bot Dec 18, 2018
3127367
Revert "Bump v4.0.0-beta.11"
electron-bot Dec 18, 2018
0c690f7
Bump v4.0.0-beta.11
electron-bot Dec 18, 2018
b4472ef
Revert "Bump v4.0.0-beta.11"
BinaryMuse Dec 18, 2018
33c7360
Bump v4.0.0-beta.11
electron-bot Dec 18, 2018
109c4d4
chore: release.id => release.data.id (#16135)
trop[bot] Dec 19, 2018
3be5734
docs: note that visual zoom is disabled by default (#16137)
trop[bot] Dec 19, 2018
3caed83
fix: security warnings misfiring in devtools webcontents (#16152)
nornagon Dec 20, 2018
86cbe5b
fix: set release notes body to a string (#16164)
BinaryMuse Dec 20, 2018
005264c
Bump v4.0.0
electron-bot Dec 20, 2018
2d0097e
fix: extending tracing startRecording API to take a full tracing conf…
trop[bot] Dec 21, 2018
c24717a
chore: make nugget quiet by default (backport: 4-0-x) (#16154)
trop[bot] Dec 21, 2018
0fef224
security: block chrome.tabs.executeScript() for non chrome-extension:…
trop[bot] Dec 21, 2018
a8ccaf1
chore: update @types/node dep (#16177)
trop[bot] Dec 21, 2018
5e82efa
backport: fix menubar item fgcolor (4-0-x) (#16223)
Cobinja Jan 2, 2019
d50bd80
chore: update deprecated LSGetApplicationForURL (backport: 4-0-x) (#1…
trop[bot] Jan 3, 2019
73e3667
security: don't allow arbitrary methods to be invoked on webContents …
trop[bot] Jan 3, 2019
9fa37bd
chore: publish nightlies to electron-nightly (backport: 4-0-x) (#16234)
trop[bot] Jan 3, 2019
c783c5e
fix: don't register some shortcuts without accessibility (#16262)
codebytere Jan 4, 2019
70af1c1
fix: error if a11y support changed before ready (#16268)
trop[bot] Jan 4, 2019
db32fc2
Bump v4.0.1
electron-bot Jan 4, 2019
d9d7c34
docs: Update reference to xcode 8.3.3 (backport: 4-0-x) (#16272)
trop[bot] Jan 4, 2019
ada4005
chore: add additional logging during asset upload (4-0-x) (#16280)
trop[bot] Jan 4, 2019
adf5d60
chore: result => result.data (4-0-x) (#16275)
trop[bot] Jan 4, 2019
26adc6f
chore: @electron/nightly => electron-nightly (#16281)
trop[bot] Jan 4, 2019
bad9ff6
build: extract external binaries config (#16316)
trop[bot] Jan 8, 2019
0b6cc93
fix: register accelerator if role has no registerAccelerator (backpor…
trop[bot] Jan 8, 2019
1f411d3
Add instructions to get Notifications working on Win 10 Update (#16326)
trop[bot] Jan 8, 2019
1089dd3
fix: properly determine if WebContents is offscreen in WebContentsDel…
trop[bot] Jan 10, 2019
52eee85
chore: fix tag cleanup (#16356)
trop[bot] Jan 10, 2019
53a35db
test: allow retries for flaky mas loginitem specs (#16359)
trop[bot] Jan 11, 2019
e05e181
fix: beep on Ubuntu (#16357)
trop[bot] Jan 11, 2019
da6079e
Bump v4.0.2
electron-bot Jan 11, 2019
e601765
Revert "Bump v4.0.2"
electron-bot Jan 11, 2019
8d99172
chore: update script/release/notes/*js to master (#16368)
ckerr Jan 11, 2019
db933fd
security: improve IPC validation in guest-view-manager (#16283)
trop[bot] Jan 12, 2019
2e69f0a
build: fix the build with enable_run_as_node disabled (#16367)
trop[bot] Jan 12, 2019
f3bbb5a
fix: emit IPC event in correct context if isolation and sandbox enabl…
trop[bot] Jan 12, 2019
e3e17c5
chore: remove accidental octokit introduction (#16393)
codebytere Jan 14, 2019
e050af2
Bump v4.0.2
electron-bot Jan 14, 2019
d3fbcb8
Revert "Bump v4.0.2"
electron-bot Jan 14, 2019
19b6921
Bump v4.0.2
electron-bot Jan 14, 2019
9be7ca0
Revert "Bump v4.0.2"
electron-bot Jan 14, 2019
8c88d45
chore: remove unused webrtc patches (#16440)
nornagon Jan 17, 2019
89ea210
chore: always try to nuke tags (#16453)
trop[bot] Jan 19, 2019
e7d7cc3
fix: prevent double-destroy of window (#16478)
trop[bot] Jan 22, 2019
0f02adf
Bump v4.0.2
electron-bot Jan 22, 2019
7c55db2
docs: fix web-request.md listener signatures in electron.d.ts (#16487)
trop[bot] Jan 22, 2019
84f1dc7
fix: takeHeapSnapshot() using public IPC channel for internal impleme…
trop[bot] Jan 22, 2019
67ac664
build: fail a build if some hooks don't succeed (#16505)
trop[bot] Jan 23, 2019
f747a66
refactor: move text-to-speech out of chromium_src (#15024) (#16437)
adill Jan 23, 2019
b8ed4c8
test: add a failing test for large chunks in registerStreamProtocol
nornagon Jan 24, 2019
c24a4f5
fix: flush stream before ending
nornagon Jan 24, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
122 changes: 109 additions & 13 deletions .circleci/config.yml
@@ -1,3 +1,12 @@
# The config expects the following environment variables to be set:
# - "SLACK_WEBHOOK" Slack hook URL to send notifications.
#
# The publishing scripts expect access tokens to be defined as env vars,
# but those are not covered here.
#
# CircleCI docs on variables:
# https://circleci.com/docs/2.0/env-vars/

# Build machines configs.
docker-image: &docker-image
docker:
Expand Down Expand Up @@ -145,6 +154,7 @@ step-install-nodejs-on-mac: &step-install-nodejs-on-mac
if [ "`uname`" == "Darwin" ]; then
brew update
brew install node@10
echo 'export PATH="/usr/local/opt/node@10/bin:$PATH"' >> $BASH_ENV
fi

step-gn-gen-default: &step-gn-gen-default
Expand Down Expand Up @@ -233,6 +243,7 @@ step-persist-data-for-tests: &step-persist-data-for-tests

# Build artifacts
- src/out/Default/dist.zip
- src/out/Default/mksnapshot.zip
- src/out/Default/gen/node_headers

step-electron-dist-unzip: &step-electron-dist-unzip
Expand All @@ -244,6 +255,13 @@ step-electron-dist-unzip: &step-electron-dist-unzip
# TODO(alexeykuzmin): Remove '-o' when it's no longer needed.
unzip -o dist.zip

step-mksnapshot-unzip: &step-mksnapshot-unzip
run:
name: Unzip mksnapshot.zip
command: |
cd src/out/Default
unzip -o mksnapshot.zip

step-ffmpeg-gn-gen: &step-ffmpeg-gn-gen
run:
name: ffmpeg GN gen
Expand Down Expand Up @@ -272,6 +290,13 @@ step-ffmpeg-store: &step-ffmpeg-store
path: src/out/ffmpeg/ffmpeg.zip
destination: ffmpeg.zip

step-verify-mksnapshot: &step-verify-mksnapshot
run:
name: Verify mksnapshot
command: |
cd src
python electron/script/verify-mksnapshot.py --source-root "$PWD" --build-dir out/Default

step-setup-linux-for-headless-testing: &step-setup-linux-for-headless-testing
run:
name: Setup for headless testing
Expand Down Expand Up @@ -311,28 +336,38 @@ step-mksnapshot-store: &step-mksnapshot-store
path: src/out/Default/mksnapshot.zip
destination: mksnapshot.zip

step-generate-breakpad-symbols: &step-generate-breakpad-symbols
step-build-dump-syms: &step-build-dump-syms
run:
name: Generate breakpad symbols
environment:
# TODO(alexeykuzmin): Explicitly pass an out folder path to the scripts.
ELECTRON_OUT_DIR: Default
name: Build dump_syms binary
command: |
cd src

# Build needed dump_syms executable
ninja -C out/Default third_party/breakpad:dump_syms

electron/script/dump-symbols.py -d "$PWD/out/Default/electron.breakpad.syms"
electron/script/zip-symbols.py
step-generate-breakpad-symbols: &step-generate-breakpad-symbols
run:
name: Generate breakpad symbols
command: |
cd src
export BUILD_PATH="$PWD/out/Default"
export DEST_PATH="$BUILD_PATH/breakpad_symbols"
electron/script/dump-symbols.py -b $BUILD_PATH -d $DEST_PATH -v

step-zip-symbols: &step-zip-symbols
run:
name: Zip symbols
command: |
cd src
export BUILD_PATH="$PWD/out/Default"
electron/script/zip-symbols.py -b $BUILD_PATH

step-maybe-native-mksnapshot-gn-gen: &step-maybe-native-mksnapshot-gn-gen
run:
name: Native mksnapshot GN gen (arm/arm64)
command: |
if [ "$BUILD_NATIVE_MKSNAPSHOT" == "1" ]; then
cd src
gn gen out/native_mksnapshot --args='import("//electron/build/args/native_mksnapshot.gn") cc_wrapper="'"$SCCACHE_PATH"'" v8_snapshot_toolchain="'"$MKSNAPSHOT_TOOLCHAIN"'"'" $GN_EXTRA_ARGS"
gn gen out/native_mksnapshot --args='import("'$GN_CONFIG'") cc_wrapper="'"$SCCACHE_PATH"'" v8_snapshot_toolchain="'"$MKSNAPSHOT_TOOLCHAIN"'"'" $GN_EXTRA_ARGS"
else
echo 'Skipping native mksnapshot GN gen for non arm build'
fi
Expand Down Expand Up @@ -453,12 +488,29 @@ steps-electron-build-for-tests: &steps-electron-build-for-tests

- *step-show-sccache-stats

# mksnapshot
- *step-mksnapshot-build
- *step-mksnapshot-store

# native_mksnapshot
- *step-maybe-native-mksnapshot-gn-gen
- *step-maybe-native-mksnapshot-build
- *step-maybe-native-mksnapshot-strip
- *step-maybe-native-mksnapshot-store

# ffmpeg
- *step-ffmpeg-gn-gen
- *step-ffmpeg-build
- *step-ffmpeg-store

# Save all data needed for a further tests run.
- *step-persist-data-for-tests

# Breakpad symbols.
# TODO(alexeykuzmin): We should do it only in nightly builds.
- *step-build-dump-syms
- *step-generate-breakpad-symbols
- *step-zip-symbols

# Trigger tests on arm hardware if needed
- *step-maybe-trigger-arm-test
Expand All @@ -479,7 +531,9 @@ steps-electron-build-for-publish: &steps-electron-build-for-publish
- *step-maybe-electron-dist-strip
- *step-electron-dist-build
- *step-electron-dist-store
- *step-build-dump-syms
- *step-generate-breakpad-symbols
- *step-zip-symbols

# mksnapshot
- *step-mksnapshot-build
Expand Down Expand Up @@ -594,12 +648,25 @@ steps-verify-ffmpeg: &steps-verify-ffmpeg
- *step-verify-ffmpeg
- *step-maybe-notify-slack-failure

steps-verify-mksnapshot: &steps-verify-mksnapshot
steps:
- attach_workspace:
at: .
- *step-depot-tools-add-to-path
- *step-electron-dist-unzip
- *step-mksnapshot-unzip
- *step-setup-linux-for-headless-testing

- *step-verify-mksnapshot
- *step-maybe-notify-slack-failure

steps-tests: &steps-tests
steps:
- attach_workspace:
at: .
- *step-depot-tools-add-to-path
- *step-electron-dist-unzip
- *step-mksnapshot-unzip
- *step-setup-linux-for-headless-testing
- *step-install-nodejs-on-mac

Expand All @@ -625,6 +692,8 @@ steps-tests: &steps-tests
- store_test_results:
path: src/junit

- *step-verify-mksnapshot

- *step-maybe-notify-slack-failure

# Mac build are different in a few ways:
Expand Down Expand Up @@ -665,6 +734,8 @@ steps-build-mac: &steps-build-mac
# to store all gn's dependencies and configs.
- *step-verify-ffmpeg

- *step-verify-mksnapshot

# Node.js headers for tests
- *step-nodejs-headers-build

Expand Down Expand Up @@ -696,8 +767,10 @@ jobs:
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_arm=True --custom-var=checkout_arm64=True'
<<: *steps-checkout

linux-x64-checkout:
linux-checkout-for-native-tests:
<<: *machine-linux-2xlarge
environment:
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_pyyaml=True'
<<: *steps-checkout

# Layer 2: Builds.
Expand Down Expand Up @@ -850,6 +923,7 @@ jobs:
<<: *machine-linux-medium
environment:
<<: *env-arm
<<: *env-release-build
<<: *env-enable-sccache
<<: *env-send-slack-notifications
<<: *steps-native-mksnapshot-build
Expand Down Expand Up @@ -909,6 +983,7 @@ jobs:
<<: *machine-linux-medium
environment:
<<: *env-arm64
<<: *env-release-build
<<: *env-enable-sccache
<<: *env-send-slack-notifications
<<: *steps-native-mksnapshot-build
Expand Down Expand Up @@ -968,6 +1043,13 @@ jobs:
<<: *env-send-slack-notifications
<<: *steps-verify-ffmpeg

linux-x64-verify-mksnapshot:
<<: *machine-linux-medium
environment:
<<: *env-headless-testing
<<: *env-send-slack-notifications
<<: *steps-verify-mksnapshot

linux-ia32-testing-tests:
<<: *machine-linux-medium
environment:
Expand All @@ -992,6 +1074,14 @@ jobs:
<<: *env-send-slack-notifications
<<: *steps-verify-ffmpeg

linux-ia32-verify-mksnapshot:
<<: *machine-linux-medium
environment:
<<: *env-ia32
<<: *env-headless-testing
<<: *env-send-slack-notifications
<<: *steps-verify-mksnapshot

osx-testing-tests:
<<: *machine-mac
environment:
Expand Down Expand Up @@ -1114,6 +1204,9 @@ workflows:
requires:
- linux-x64-release
- linux-x64-ffmpeg
- linux-x64-verify-mksnapshot:
requires:
- linux-x64-release
- linux-x64-chromedriver:
requires:
- linux-checkout
Expand All @@ -1138,6 +1231,9 @@ workflows:
requires:
- linux-ia32-release
- linux-ia32-ffmpeg
- linux-ia32-verify-mksnapshot:
requires:
- linux-ia32-release
- linux-ia32-chromedriver:
requires:
- linux-checkout
Expand Down Expand Up @@ -1199,15 +1295,15 @@ workflows:
- master
- *chromium-upgrade-branches
jobs:
- linux-x64-checkout
- linux-checkout-for-native-tests

# TODO(alexeykuzmin): Enable it back.
# Tons of crashes right now, see
# https://circleci.com/gh/electron/electron/67463
# - linux-x64-browsertests:
# requires:
# - linux-x64-checkout
# - linux-checkout-for-native-tests

- linux-x64-unittests:
requires:
- linux-x64-checkout
- linux-checkout-for-native-tests