Electron Bot
8edc7a1fb1
chore: bump chromium to 0f4170320ff37e971064916aed1dc (master) ( #23285 )
...
* chore: bump chromium in DEPS to 53836640273c3d45b05ad74bdff7323ef0ffc610
* chore: bump chromium in DEPS to 17da1064b910f4170320ff37e971064916aed1dc
* Rename attach_same_site_cookies param to force_ignore_site_for_cookies
https://chromium-review.googlesource.com/c/chromium/src/+/2162209
* chore: update patch indices
* Remove single argument HttpResponseHeaders::AddHeader() method
https://chromium-review.googlesource.com/c/chromium/src/+/2155353
* Rename attach_same_site_cookies param to force_ignore_site_for_cookies
https://chromium-review.googlesource.com/c/chromium/src/+/2162209
* fixup! Remove single argument HttpResponseHeaders::AddHeader() method
* Exchange SandboxType::kInvalid for a CHECK.
https://chromium-review.googlesource.com/c/chromium/src/+/2167995
* chore: fix string type on windows
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
2020-04-30 13:20:44 -07:00
Electron Bot
64297e17c4
Bump v10.0.0-nightly.20200430
2020-04-30 08:32:19 -07:00
Electron Bot
ad1f341d7a
Bump v10.0.0-nightly.20200429
2020-04-29 08:33:06 -07:00
Robo
ec7942e8b5
fix: build when some buildflags are disabled ( #23307 )
2020-04-28 23:16:10 -07:00
Electron Bot
a9c17610b5
Bump v10.0.0-nightly.20200428
2020-04-28 08:32:04 -07:00
shelley vohr
ac5c30a707
fix: missing handlescopes in event emission ( #23140 )
...
* fix: missing event emitter handlescopes
* refactor: add static getter to js env
2020-04-27 11:38:43 -07:00
Electron Bot
9bb8e43c9b
Bump v10.0.0-nightly.20200427
2020-04-27 08:31:56 -07:00
Sorah Fukumori
6ab317cc83
style: use build/include_directory for NOLINT ( #23266 )
...
build/include linter was splitted to build/include_directory at
depot_tools upstream.
https://crrev.com/c/2159690
https://crbug.com/1073191
2020-04-24 12:57:41 -07:00
Electron Bot
37db307153
chore: bump chromium to 4563763ef26ad940d4e988d7245dd (master) ( #23219 )
...
* chore: bump chromium in DEPS to 461ecae368fd0832f18e0b13e61f3561d83f0031
* update patches
* update patches
* Remove both vs browser/child split in content gn files.
https://chromium-review.googlesource.com/c/chromium/src/+/2157965
* chore: bump chromium in DEPS to 7ff3897f3104563763ef26ad940d4e988d7245dd
* update patches
* update patches
* Add ElectronKioskDelegate for extensions
https://chromium-review.googlesource.com/c/chromium/src/+/2159760
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
Co-authored-by: Electron Bot <anonymous@electronjs.org>
2020-04-23 21:55:17 -04:00
Electron Bot
69ccf94d45
Bump v10.0.0-nightly.20200423
2020-04-23 08:31:53 -07:00
Electron Bot
3ac4fa85dd
Bump v10.0.0-nightly.20200422
2020-04-22 08:32:17 -07:00
Iván Montes
b3909f5600
fix: moveAbove not working on Windows ( #23161 )
...
* fix moveAbove on Windows systems
The documentation for [setWindowPos](https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowpos ) second argument `hWndInsertAfter` is a bit confusing...
> A handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of the following values.
Since Windows refers to the Z order from low to high it means that the window provided as reference will always _precede_ the electron window, which is the opposite of what we want in this function, since the electron window is displayed behind the referenced window.
The change is simply to ask `SetWindowPos` to position our window *behind* the window that's *above* the reference window, effectively making our window sit just above the reference one.
* lint
2020-04-21 15:58:38 -04:00
loc
cd0dda0125
fix: allow blocking IO for setAppLogsPath to avoid DCHECK ( #23111 )
...
* fix: let setAppLogsPath write to disk on UI thread
Otherwise, the DCHECK in thread_restrictions will fire.
* scope the io allowance more tightly
* oops, scope it tightly in the mac version too
2020-04-21 12:28:01 -07:00
Electron Bot
1bbb407dc9
chore: bump chromium to 2600291d041c530698616a4716cdf (master) ( #23122 )
...
* chore: bump chromium in DEPS to 99e60beb593ecf98f8a441e3f03a13b68cfcb311
* update patches
* chore: bump chromium in DEPS to b1abadda21f417ba5e8276c4dd779d31445d16cd
* update patches
* 2146532: gtkui: Fix standalone Ozone/Wayland configuration
https://chromium-review.googlesource.com/c/chromium/src/+/2146532
* 2145152: Pass source URL when setting a cookie
https://chromium-review.googlesource.com/c/chromium/src/+/2145152
* lint
* chore: bump chromium in DEPS to 8897189f1da5a3670bbe32d343767fd71f80d779
* chore: bump chromium in DEPS to 8ac51eeee93a02ed5b81f47e28627079edeecde0
* chore: bump chromium in DEPS to e897b8003f3a5f3c8d654eee9b03c513046ae7ea
* chore: bump chromium in DEPS to 7b80f9c82122600291d041c530698616a4716cdf
* Update patches
* Move definition of WebInputEvent enums into mojo
https://chromium-review.googlesource.com/c/chromium/src/+/2152777
* update patches
Co-authored-by: Electron Bot <anonymous@electronjs.org>
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net>
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
2020-04-20 20:25:38 -04:00
loc
554830b6ff
fix: explicitly mark unlimited requests as max priority ( #23118 )
...
It's done for us implicitly here, but doing it ourselves avoids the DCHECK.
```
if ((load_flags_ & LOAD_IGNORE_LIMITS) != 0)
SetPriority(MAXIMUM_PRIORITY);
```
Refs: https://source.chromium.org/chromium/chromium/src/+/master:net/url_request/url_request.cc;l=433;drc=0e1e59c69a449885aa58c403e05feb8274a67c3b;bpv=1;bpt=1
2020-04-20 12:16:34 -07:00
Electron Bot
27aa76f058
Bump v10.0.0-nightly.20200420
2020-04-20 08:31:48 -07:00
Electron Bot
41b514f088
Bump v10.0.0-nightly.20200417
2020-04-17 08:31:42 -07:00
Electron Bot
5947ead591
Bump v10.0.0-nightly.20200416
2020-04-16 08:32:54 -07:00
Jeremy Apthorp
5f43c829a0
fix: deinit platform before resetting node env ( #23116 )
2020-04-15 15:30:13 -07:00
Jeremy Apthorp
111f9155e0
fix: add missing handle scope in file_dialog_gtk ( #23109 )
2020-04-15 10:45:32 -07:00
Electron Bot
4ee3c871f3
Bump v10.0.0-nightly.20200415
2020-04-15 08:31:47 -07:00
Electron Bot
e145fcb3f0
chore: bump chromium to 8f405dc5d5e416ffaf640aa3d088a (master) ( #23107 )
...
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net>
2020-04-14 17:14:38 -07:00
Electron Bot
fdf7e288bb
chore: bump node to v12.16.2 (master) ( #23057 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2020-04-14 09:59:03 -07:00
Electron Bot
701c5c90fa
Bump v10.0.0-nightly.20200414
2020-04-14 08:32:13 -07:00
Electron Bot
3e8d77d564
chore: bump chromium to 98ebf6c3f0b7bd96bdb1a4b42208f (master) ( #22999 )
...
Co-authored-by: deepak1556 <hop2deep@gmail.com>
Co-authored-by: Electron Bot <anonymous@electronjs.org>
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net>
2020-04-13 16:39:26 -07:00
Samuel Attard
b8c1709a88
build: rename atom.ico to electron.ico ( #23099 )
2020-04-13 16:07:27 -07:00
Samuel Attard
b03bd8c45c
chore: rename atom things to electron things in our docs / scripts ( #23100 )
2020-04-13 14:32:29 -07:00
Samuel Attard
0e86163a3e
build: rename atom.rc to electron.rc ( #23098 )
2020-04-13 14:28:59 -07:00
Shelley Vohr
714d6c536f
chore: remove discouraged base::Passed ( #22871 )
...
Closes #12640 .
Remove discouraged base::Passed from Bind calls.
2020-04-13 13:52:07 -07:00
loc
5154e8ff75
fix: enable workaround for nativeWindowOpen hang ( #22825 )
2020-04-13 11:37:41 -04:00
Electron Bot
21c839578f
Bump v10.0.0-nightly.20200413
2020-04-13 08:33:06 -07:00
CezaryKulakowski
c65f41dfbd
fix: don't assign NSAlert to window which is not visible ( #22672 )
...
* 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
2020-04-13 17:25:55 +09:00
Electron Bot
95e3e82d10
Bump v10.0.0-nightly.20200410
2020-04-10 08:31:19 -07:00
Jeremy Apthorp
9e8ee3c899
fix: reset node env earlier during shutdown ( #23039 )
2020-04-09 16:40:58 -07:00
Electron Bot
80b780f277
Bump v10.0.0-nightly.20200409
2020-04-09 08:32:52 -07:00
Cheng Zhao
ca947307db
chore: make WebContentsView take webPreferences as parameter ( #22997 )
...
* chore: add WebContentsView.webContents helper
* chore: no need to handle webContents option
* chore: Create WebContentsView in C++
* chore: make WebContentsView accept web_preferences
* fix: nativeWindowOpen still passes WebContents to BrowserWindow
* chore: no more need of WebContentsViewRelay
* test: WebContentsView now takes options
* fix: avoid creating 2 constructors
2020-04-09 16:01:16 +09:00
Shelley Vohr
de893360f7
fix: missing HandleScope in OnDownloadPathGenerated ( #23005 )
2020-04-08 12:47:43 -07:00
Electron Bot
fd3488f0bf
Bump v10.0.0-nightly.20200408
2020-04-08 08:32:12 -07:00
Shelley Vohr
54f8c4e6a3
fix: nullptr check when closing windows ( #22948 )
2020-04-07 20:41:14 -07:00
Shelley Vohr
a7469f82ac
fix: persist maximizable state when toggling fullscreen ( #22988 )
2020-04-07 20:40:32 -07:00
Electron Bot
468994bf6a
Bump v10.0.0-nightly.20200407
2020-04-07 08:31:39 -07:00
Electron Bot
ccf70326c0
chore: bump chromium to 1ba9678489174a6123358a7683f37 (master) ( #22719 )
...
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
Co-authored-by: Andy Locascio <andy@slack-corp.com>
2020-04-06 13:09:52 -07:00
Electron Bot
c85d71903f
Bump v10.0.0-nightly.20200406
2020-04-06 08:31:36 -07:00
Electron Bot
570f4d7272
Bump v10.0.0-nightly.20200403
2020-04-03 08:33:29 -07:00
Jeremy Apthorp
0a78ab4b98
refactor: ginify DownloadItem ( #22924 )
2020-04-02 17:22:46 -07:00
Jeremy Apthorp
6159066c26
refactor: ginify Menu ( #22916 )
2020-04-02 16:07:56 -07:00
Samuel Attard
1d158399a6
feat: expose the sameSite value for cookies ( #22789 )
...
* feat: expose the sameSite value for cookies
* Apply suggestions from code review
Co-Authored-By: Charles Kerr <ckerr@github.com>
* Apply suggestions from code review
Align with cookie samesite values for the extensions API
https://developer.chrome.com/extensions/cookies#type-SameSiteStatus
* chore: add tests for sameSite cookies get/set
* chore: update docs parser
* chore: update docs for MessageChannel and MessagePort to have correct process information
* chore: remove LOG warning
* chore: throw error if the string->samesite conversion fails
Co-authored-by: Charles Kerr <ckerr@github.com>
2020-04-02 11:28:43 -07:00
Electron Bot
429a2f4fe8
Bump v10.0.0-nightly.20200402
2020-04-02 08:32:20 -07:00
Electron Bot
8c632dc747
Bump v10.0.0-nightly.20200401
2020-04-01 08:31:28 -07:00
Cheng Zhao
e6f2605ad0
fix: webRequest module should work with file:// protocol ( #22903 )
...
* fix: override file:// instead of intercepting
* test: webRequest module should work with file://
* fix: service work with file:// url
* fix: original_response_headers can be null
* fix: only register file:// when necessary
2020-04-01 16:38:40 +09:00
Samuel Attard
4ba91c938e
fix: screen module should still be creatable if the first create is before the ready event ( #22895 )
2020-03-31 14:49:15 -07:00
Jeremy Apthorp
765c08c600
refactor: ginify Notification ( #22821 )
2020-03-31 11:42:32 -07:00
Electron Bot
51c2af4df5
Bump v10.0.0-nightly.20200331
2020-03-31 08:32:43 -07:00
Samuel Attard
fea3366bc7
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
2020-03-30 15:39:50 -07:00
Shelley Vohr
b14608c2c1
fix: dialog fails to show after modal close ( #22858 )
2020-03-30 09:48:20 -07:00
Electron Bot
c085d3bf12
Bump v10.0.0-nightly.20200330
2020-03-30 08:32:20 -07:00
Samuel Attard
6ecf729487
feat: default gtk darkTheme option to nativeTheme.shouldUseDarkColors for better platform support ( #20138 )
...
* feat: default gtk darkTheme option to nativeTheme.shouldUseDarkColors for better platform support
* chore: update syntax for PR feedback
* refactor: only define SetGTKDarkThemeEnabled when needed
Co-authored-by: Cheng Zhao <zcbenz@gmail.com>
2020-03-30 15:02:16 +09:00
Jeremy Apthorp
a3e28788ce
refactor: ginify Tray ( #22822 )
...
* refactor: ginify Tray
* lint
* improve argument parsing logic
* remove redundant imports from tray.js
* new Tray produces an instanceof Tray
* make Constructible generic
* lint
* clean up on exit
2020-03-30 10:32:02 +09:00
Cheng Zhao
76ae3b7ecb
chore: remove unused classes of views API ( #22861 )
...
* chore: remove unused views API classes
* chore: remove LayoutManager code
* chore: no more need to make View inherit from TrackabeObject
* chore: make enable_view_api default to true
* chore: enable_view_api => enable_views_api
2020-03-28 15:44:57 +09:00
Electron Bot
d5cae424d8
Bump v10.0.0-nightly.20200327
2020-03-27 08:33:03 -07:00
Shelley Vohr
bd5789a12c
fix: missing HandleScope in WebDialogHelper ( #22843 )
2020-03-26 20:37:28 -07:00
Jeremy Apthorp
ac501e8194
fix: heap-use-after-free in tray.popUpContextMenu ( #22842 )
2020-03-26 18:30:21 -07:00
Heilig Benedek
74372d65ae
feat: enhance native window.open to match the custom implementation's behavior ( #19703 )
...
Co-authored-by: Andy Locascio <andy@slack-corp.com>
2020-03-26 11:05:45 -07:00
Jeremy Apthorp
e73d5e3db5
refactor: ginify protocol ( #22812 )
2020-03-26 10:34:32 -07:00
Electron Bot
b3d3ac4e0f
Bump v10.0.0-nightly.20200326
2020-03-26 08:32:37 -07:00
Jeremy Apthorp
222022556f
refactor: ginify Cookies ( #22823 )
2020-03-25 15:34:53 -07:00
Electron Bot
746266bd93
Bump v10.0.0-nightly.20200325
2020-03-25 08:32:52 -07:00
CezaryKulakowski
bdef77bad8
fix: don't allow window to go behind menu bar on mac ( #22770 )
2020-03-25 11:13:43 +09:00
Jeremy Apthorp
07cd70a37e
refactor: ginify powerMonitor ( #22751 )
2020-03-24 09:03:29 -07:00
Electron Bot
aeae0d47bd
Bump v10.0.0-nightly.20200324
2020-03-24 08:31:18 -07:00
Jeremy Apthorp
decbca734f
refactor: ginify net.request ( #22779 )
2020-03-23 13:09:45 -07:00
Electron Bot
d3d7b3eb54
Bump v10.0.0-nightly.20200323
2020-03-23 08:32:19 -07:00
Cheng Zhao
341f643b81
feat: add ImageView ( #22738 )
2020-03-22 19:11:43 +09:00
Samuel Attard
af46c1ed8d
fix: allow net requests to use Same-Site cookies ( #22788 )
2020-03-20 16:39:03 -07:00
Samuel Attard
60bd52880f
feat: add support for net requests to use the session cookie store ( #22704 )
2020-03-20 15:56:02 -07:00
Jeremy Apthorp
07a049ef1b
chore: stop leaking v8 environment ( #22761 )
2020-03-20 14:15:55 -07:00
Jeremy Apthorp
22c17bcc5b
refactor: ginify ServiceWorkerContext ( #22756 )
2020-03-20 14:15:14 -07:00
Shelley Vohr
24e21467b9
fix: print from PDF viewer not working ( #22760 )
2020-03-20 09:46:13 -07:00
Electron Bot
9d4714f111
Bump v10.0.0-nightly.20200320
2020-03-20 08:31:45 -07:00
Cheng Zhao
42f138282f
refactor: move set_owned_by_client calls to base View ( #22739 )
...
* refactor: move set_owned_by_client() to WebContentsView
* refactor: do set_owned_by_client() in View
2020-03-20 15:41:41 +09:00
Jeremy Apthorp
f1a0d5e811
refactor: ginify globalShortcut ( #22755 )
2020-03-19 14:33:45 -07:00
Jeremy Apthorp
a824e12275
refactor: ginify desktopCapturer ( #22746 )
2020-03-19 11:35:11 -07:00
Shelley Vohr
9aa27e1709
fix: add missing pdfTwoUpViewEnabled status ( #22735 )
2020-03-19 09:27:18 -07:00
Jeremy Apthorp
c4a7eade28
refactor: ginify session.netLog ( #22732 )
2020-03-18 16:46:05 -07:00
Jeremy Apthorp
232ca8af39
refactor: EventEmitters without gin_helper ( #22726 )
2020-03-18 12:57:08 -07:00
Shelley Vohr
fc661ec56b
chore: update app module property support ( #22713 )
2020-03-18 10:06:41 -07:00
Electron Bot
366744d5a0
Bump v10.0.0-nightly.20200318
2020-03-18 08:32:17 -07:00
Shelley Vohr
674e4a9fdd
chore: more modules to dual prop/fn support ( #22688 )
2020-03-17 18:06:52 -07:00
Charles Kerr
01d5154f4f
refactor: omit duplicates from app's x11 icon list ( #22702 )
...
* refactor: omit duplicates from app's x11 icon list
* empty commit for ci
2020-03-18 09:31:31 +09:00
Charles Kerr
83d5833b4f
refactor: precache the IsWindowStateEvent() XAtom ( #22706 )
...
* refactor: precache the IsWindowStateEvent() atom
XAtoms never change after creation so we can perload the atoms we need.
This is useful in WindowStateWatcher's XEvent handler, which is called
on every XEvent, e.g. mouse movement...
* empty commit for ci
2020-03-17 19:30:58 -05:00
Shelley Vohr
f4868c9a28
fix: persist maximizable state through theme change ( #22677 )
2020-03-17 10:58:57 -07:00
Electron Bot
a63e4ef378
Bump v10.0.0-nightly.20200317
2020-03-17 08:31:11 -07:00
Shelley Vohr
97d8caa1e0
chore: support props/fns for BrowserWindow ( #22686 )
2020-03-16 14:03:35 -07:00
Electron Bot
20480c8ea8
Bump v10.0.0-nightly.20200316
2020-03-16 08:32:12 -07:00
Electron Bot
d8737734bf
chore: bump chromium to bc8f70ed4cfe2262ea833750eaddb (master) ( #22649 )
...
* chore: bump chromium in DEPS to 9321f32fb1b3af8fdfce55c7bbfacf3f75118dca
* Update patches
* Update electron_swiftshader_binaries deps
https://chromium-review.googlesource.com/c/chromium/src/+/2056931
* Use Promise with RequestPointerLock calls
https://chromium-review.googlesource.com/c/chromium/src/+/2069199
* Replace content::CursorInfo with ui::Cursor
https://chromium-review.googlesource.com/c/chromium/src/+/1999201
* Convert MaterialDesignController to a true singleton.
https://chromium-review.googlesource.com/c/chromium/src/+/2090877
* Drop WebContentsView::RenderViewCreated hook
https://chromium-review.googlesource.com/c/chromium/src/+/2093535
* chore: bump chromium in DEPS to 6478123cfa0102ed754c70eb9bbdd391d676a4dd
* Splitting context_menu_params.h into separate browser VS common parts.
https://chromium-review.googlesource.com/c/chromium/src/+/2097468
* Fix DCHECK on OnThemeChanged()
https://chromium-review.googlesource.com/c/chromium/src/+/2090713
* chore: bump chromium in DEPS to b0269bb003f699bc8ea7dcba8b0795ef963696d7
* Remove no longer needed patch
* Check PointerLock requests for new options and update accordingly
https://chromium-review.googlesource.com/c/chromium/src/+/2071788
* Address issues from review
* Fixup compile error
* Add additional library files
* chore: bump chromium in DEPS to a41285fb8aebc8f70ed4cfe2262ea833750eaddb
* Update patches
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
2020-03-14 16:54:14 -04:00
Shelley Vohr
a4c4c86b9d
fix: crash on invalid zoomFactor ( #22673 )
2020-03-13 16:13:05 -07:00
Jeremy Apthorp
9c5874306d
fix: crash when destroying WebContentsView during GC ( #22674 )
2020-03-13 10:33:37 -07:00
Shelley Vohr
1b353d1ed3
chore: revert deprecated WebContents properties ( #22640 )
...
* chore: revert deprecated WebContents properties
* Fix failing zoomFactor test
2020-03-13 10:16:08 -07:00
Jeremy Apthorp
0c02d794c9
feat: add onclose method to MessagePort ( #22532 )
...
* feat: add onclose method to MessagePort
* more scope, more good
* de-flake GC test
2020-03-13 10:00:50 -07:00
Electron Bot
829d4815a9
Bump v10.0.0-nightly.20200313
2020-03-13 08:31:41 -07:00