trop[bot]
d25e511fc0
fix: ensure document.visibilityState aligns with the visibility of the TopLevelWindow ( #20134 )
...
* fix: ensure document.visibilityState aligns with the visibility of the TopLevelWindow
* chore: disable the specs on linux on CI
2019-09-05 16:46:35 -07:00
trop[bot]
c923aa2fde
fix: ensure modeL_ exists before calling delegate methods ( #20116 )
...
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 15:21:10 -07:00
Cheng Zhao
2d16034854
fix: implement ses.getBlobData() for NetworkService ( #20041 ) ( #20105 )
...
* pass data pipe to JS
* implement reading buffer
* re-enable ses.getBlobData test
* remove AtomBlobReader
2019-09-04 08:39:06 -07:00
trop[bot]
4ce431829f
Revert "fix: make sure that menu bar gets focus even when you click an item to focus it first ( #19710 )" ( #20036 )
...
This reverts commit 27b2747b61 .
2019-09-03 23:19:46 -07:00
trop[bot]
638ca05702
fix: ensure that the "top" coordinate of the inner frame is correct ( #20053 )
...
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 17:05:23 -07:00
Electron Bot
9e7cce3d2b
Bump v7.0.0-beta.4
2019-08-30 09:59:13 -07:00
Electron Bot
c7a3142bab
chore: bump chromium to 78.0.3896.6 (7-0-x) ( #19609 )
...
* chore: Bump 78.0.3894.0
* chore: bump chromium to 32e0bab929213da1019992bf31d29 (master) (#19488 )
* 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 >
* 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
* 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
* chore: update patches
* Require task posters to specify an explicit destination
https://chromium-review.googlesource.com/c/chromium/src/+/1769080
* chore: Revert "Cleanup: Remove Menu Subtitles/Sublabels"
* chore: Bump chromium 78.0.3896.0
* build: add checkout_openxr=False to DEPS
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1745502
* chore: update patches
* Convert TrustedURLLoaderHeaderClient and TrustedHeaderClient to new mojo types
https://chromium-review.googlesource.com/c/chromium/src/+/1767298
https://chromium-review.googlesource.com/c/chromium/src/+/1768841
* skia: more rect api simplifications
https://skia-review.googlesource.com/c/skia/+/237038
* iwyu
* test: fix clearAuthCache test (#20015 )
* fix: nws13n: make ses.setUserAgent work (#20014 )
* refactor tests to better control window creation
* fix: nws13n: make ses.setUserAgent work
* chore: update v8 patches
* Add enterprise policy for renderer CIG.
https://chromium-review.googlesource.com/c/chromium/src/+/1758589
* Convert enum to enum class for Wigdet::FrameType
https://chromium-review.googlesource.com/c/chromium/src/+/1767292
* [JJI] Convert to use string16 for data from JavaScript/Java
https://chromium-review.googlesource.com/c/chromium/src/+/1750093
* chore: Bump chromium 78.0.3896.6
2019-08-30 12:57:57 -04:00
trop[bot]
b6f5e26eab
fix: honor cursor blink rate ( #20044 )
...
* 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 08:41:01 -07:00
Cheng Zhao
3330647834
chore: cache URLLoaderFactory per-session ( #19998 ) ( #20021 )
...
* cache the URLLoaderFactory in AtomBrowserContext
* use cached loader factory in AtomURLLoaderFactory
2019-08-29 15:21:09 -07:00
trop[bot]
4dea193854
fix: i18n of gtk msgbox buttons ( #19982 )
...
* 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-29 16:19:22 +09:00
trop[bot]
080c2c9218
fix: gtk_init() called 2x in AtomBrowserMainParts ( #20012 )
...
Fixes #19984 .
2019-08-29 15:49:28 +09:00
Heilig Benedek
182f63d3a3
fix: handle WM_GETMINMAXINFO instead of letting chromium do it ( #19928 ) ( #20000 )
...
* 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:31:55 -05:00
Robo
d3e0c461f6
feat: migrate webRequest module to NetworkService ( #19979 )
...
* feat: associate InProgressRequest with requests (#19648 )
* feat: migrate webRequest module to NetworkService (Part 4) (#19679 )
* chore: use gin in WebRequest
* Add stubs for APIs
* 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
* feat: migrate webRequest module to NetworkService (Part 6) (#19752 )
* Implement OnBeforeSendHeaders
* Pass the request
* Handle simple listeners
* Handle response listeners
* Read responses from listener
* 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
* 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
* 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 16:38:15 -04:00
Jeremy Apthorp
b09a1c7607
feat: HTTP preconnect feature minimal for electronjs ( #19952 )
...
* feat: HTTP preconnect feature minimal for electronjs
* fix type of PreconnectRequest::PreconnectRequest impl
* roll back past https://chromium-review.googlesource.com/c/chromium/src/+/1713306
* mark docs as experimental
* fix lint
2019-08-27 10:09:31 -05:00
trop[bot]
7cc1efd2e6
fix: don't call SetBounds on restore ( #19957 )
2019-08-27 07:52:03 -07:00
trop[bot]
324096aa37
fix: ensure that reloads retain modified window background colors ( #19974 )
2019-08-27 07:50:35 -07:00
Shelley Vohr
d780a16d78
fix: add default media usage strings to info.plist ( #19948 )
2019-08-27 10:36:05 -04:00
trop[bot]
4f74be084a
fix: adjust window size in NCCALCSIZE instead of adding insets ( #19942 )
2019-08-26 10:07:54 -07:00
trop[bot]
b7c2188d09
fix: crash on input file handler dialog ( #19917 )
...
* fix: crash on input file handler dialog
* invert cancellation logic
2019-08-24 18:04:24 -05:00
Heilig Benedek
1af064a144
feat: enable picture-in-picture mode for video tags ( #19914 )
2019-08-23 15:24:42 -07:00
trop[bot]
dd8bcb67ba
fix: notify views of content view size change ( #19898 )
2019-08-22 15:54:39 -07:00
trop[bot]
36a5ba0d4d
fix: race condition in NodeStreamLoader ( #19869 )
...
* fix: race condition in NodeStreamLoader
* nit: add comments
2019-08-21 10:27:20 -07:00
trop[bot]
3f5222b047
fix: fall back to default logs path in getPath('logs') ( #19836 )
2019-08-19 19:02:04 -07:00
Pedro Pontes
23f7f63405
fix: always use new site instance for a new navigation (backport). ( #19827 )
2019-08-19 13:20:18 -07:00
trop[bot]
30543cec74
fix: use GTK3 stock i18n strings ( #19783 )
...
* fix: use GTK3 stock i18n strings
* address feedback from @ckerr
2019-08-15 12:12:56 -07:00
trop[bot]
b03bc4de83
fix: make sure that menu bar gets focus even when you click an item to focus it first ( #19762 )
2019-08-14 19:21:51 -07:00
Electron Bot
601c3f97ea
Bump v7.0.0-beta.3
2019-08-14 17:54:38 -07:00
trop[bot]
d01a8eaa39
feat: add new nativeTheme API ( #19758 )
...
* 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 17:53:20 -07:00
trop[bot]
356045ff57
fix: avoid losing focus on inputs when opening menu (Windows/Linux) ( #19706 )
...
* remove cause of issue
* remove comment
2019-08-12 19:45:08 -07:00
trop[bot]
171c76e3cb
fix: return correct bounds on will-resize ( #19680 )
2019-08-08 07:50:11 -07:00
Erick Zhao
0299f69fd1
fix: normalize behavior of win.setOpacity() for invalid number values across operating systems ( #19535 ) ( #19673 )
2019-08-07 13:11:12 -07:00
Electron Bot
0bdb7b164c
Bump v7.0.0-beta.2
2019-08-07 09:03:21 -07:00
trop[bot]
ea9cfc127c
fix: crash on print cancellation and silent print settings ( #19668 )
...
* fix: crash on print cancellation
* fix: update printing patch for new options
* refactor: use DictionaryValue for printBackground
2019-08-07 08:44:48 -07:00
trop[bot]
0afb1a8188
fix: handle edge behavior for about panel on Linux ( #19625 )
...
* fix: graceful About dialog fail/exit (Linux)
* Allow current to travel along path with no electrical impedance
2019-08-05 20:57:04 -07:00
trop[bot]
c3013d2e9f
fix: clearRecentDocuments role on Windows ( #19638 )
...
* fix: clear recent documents on windows
* chore: don't check for version < win 7
2019-08-05 17:16:20 -07:00
trop[bot]
8ddf837d49
fix: expose setMenuBarVisibility again ( #19579 )
2019-08-02 19:06:47 -07:00
Samuel Attard
9822953d31
build: lock chromium major to 78 on 7-0-x ( #19552 )
...
* build: lock chromium major to 78 on 7-0-x
* chore: update patches
* fix geometry.mojom
* Adopt more inclusive language in //net
https://chromium-review.googlesource.com/c/chromium/src/+/1718348
* [mojo] Introduce ServiceFactory API
https://chromium-review.googlesource.com/c/chromium/src/+/1717474
2019-08-02 15:41:41 -04:00
Electron Bot
b7e5213afc
Bump v7.0.0-beta.1
2019-07-31 13:36:10 -07:00
Samuel Attard
9b70d9aa68
Revert "Bump v7.0.0-beta.1"
...
This reverts commit d9bfac32e3 .
2019-07-31 13:30:47 -07:00
Electron Bot
d9bfac32e3
Bump v7.0.0-beta.1
2019-07-31 11:07:14 -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
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
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
71b1b69339
fix: [extensions] remove InitForIncognitoProfile ( #19477 )
...
https://chromium-review.googlesource.com/c/chromium/src/+/1699223
2019-07-29 11:34:57 -07:00