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