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
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
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
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
Erick Zhao
f654da9f56
feat: add about panel customization on Windows ( #19420 )
2019-08-12 16:32:51 -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
Milan Burda
0fb3c8cb7c
feat: add new options to tray.displayBalloon() ( #19544 )
2019-08-08 14:43:33 -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
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
Electron Bot
c3d0fed9ed
Bump v8.0.0-nightly.20190806
2019-08-06 08:31:49 -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
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
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
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
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
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
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
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
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
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
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
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
636dd38164
Bump v7.0.0-nightly.20190726
2019-07-26 08:31:42 -07: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
Jeremy Apthorp
477661d0e4
feat: allow setting capture mode and max file size in netLog API ( #19215 )
2019-07-25 16:06:39 -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
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
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
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
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
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
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
Electron Bot
6ff2d69842
Bump v7.0.0-nightly.20190722
2019-07-22 08:31:37 -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
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
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