Thiago de Arruda
5ea3a5886b
Implement {register,intecept}StreamProtocol
...
These new functions are more flexible than the other
{intercept,register}*ProtocoProtocol functions, since it allows the user to
return a node.js stream to feed the data to the protocol handler.
It also allows the user to specify a response header dictionary, which makes it
possible to correctly intercept any request made from renderers.
2017-11-13 16:16:14 -03:00
Thiago de Arruda
68f514b92f
Implement EventSubscriber<T> class.
...
This class simplifies the task of subscribing/handling javascript events from
C++ classes in the main process.
2017-11-13 15:22:50 -03:00
Thiago de Arruda
64bfabdeba
Make BindFunctionWith function visible to other modules.
2017-11-13 15:21:22 -03:00
Thiago de Arruda
6b666b69c0
Implement GetLoadTimingInfo in JsAsker class.
...
This is required to avoid a crash in blink when implementing a custom protocol
handler that deals with redirects.
2017-11-13 15:20:56 -03:00
Thiago de Arruda
6b2ddc4814
Stop allowing electron.net
requests to be intercepted.
...
Not very useful to intercept requests from `electron.net`, since both the
interception machinery and `electron.net` live in the browser process.
2017-11-13 15:20:46 -03:00
Thiago de Arruda
32113bf7f9
Implement V8 -> C++ conversion of net::HttpResponseHeaders.
2017-11-13 15:20:40 -03:00
Thiago de Arruda
9c04d18387
Modify FillRequestDetails to pass headers dictionary.
2017-11-13 15:19:59 -03:00
Cheng Zhao
4d364fa27a
Merge pull request #10510 from brenca/osr-autofill-devtools-fix
...
OSR fixes - devtools, dialogs
2017-11-13 18:04:35 +09:00
Cheng Zhao
72440d4ae7
No need to add new methods to WebContentsPreferences
2017-11-13 17:35:49 +09:00
Cheng Zhao
cee1c459c7
Do not accidentally change the behavior of did-change-theme-color
2017-11-13 16:20:54 +09:00
Cheng Zhao
7e0593950c
Code style fixes
2017-11-13 16:13:54 +09:00
Heilig Benedek
276e12ce71
pass on web_contents to properly handle devtools
2017-11-13 15:50:50 +09:00
Heilig Benedek
573f664899
fix devtools again
2017-11-13 15:50:49 +09:00
Heilig Benedek
26daffea9c
use smart pointer for paint_canvas
2017-11-13 15:50:49 +09:00
Heilig Benedek
4b10445c2e
lint fix
2017-11-13 15:50:49 +09:00
Heilig Benedek
193beb57c9
fix datalist element popup position when menu is hidden
2017-11-13 15:50:49 +09:00
Heilig Benedek
f8b3009ebf
restructure code to use web_preferences if possible
2017-11-13 15:50:49 +09:00
Heilig Benedek
cafb9477b0
lint fix
2017-11-13 15:46:46 +09:00
Heilig Benedek
71b36ef54d
don't show the dummy window for the rest of the dialogs too on mac
2017-11-13 15:46:46 +09:00
Heilig Benedek
5373afa472
set devtools window to visible to avoid a visual glitch on mac with osr window's devtools
2017-11-13 15:46:46 +09:00
Heilig Benedek
13b86598e8
don't show osr dummy window when dialog is shown on mac
2017-11-13 15:46:46 +09:00
Heilig Benedek
35dc6d03b9
lint fix
2017-11-13 15:46:46 +09:00
Heilig Benedek
45d16d5add
don't automatically show window when devtools is opened on mac
2017-11-13 15:46:46 +09:00
Heilig Benedek
e39aacb30e
fix a bug that caused a crash when using an offscreen window with detached devtools, related to autofill popups
2017-11-13 15:46:46 +09:00
Heilig Benedek
5daaff91ea
fix a bug where datalist elements wouldn't actually set the value of the input associated with them
2017-11-13 15:46:46 +09:00
Samuel Attard
40b94e97e5
Merge pull request #11087 from electron/abi-version
...
fix: Bring back --abi
2017-11-11 14:47:45 +11:00
Samuel Attard
a06a8a6f79
Merge pull request #11056 from ajmacd/allow-browser-window-logs
...
Allow BrowserWindows to emit `console-message` events.
2017-11-11 14:34:39 +11:00
Samuel Attard
ba754cf5c3
Merge pull request #11055 from electron/fix-menu-bug
...
fix: Don't crash on `setApplicationMenu(null)`
2017-11-11 14:33:18 +11:00
Felix Rieseberg
ae960027f2
🔧 Bring back —abi
2017-11-10 14:58:21 -08:00
Charles Kerr
9291ab95dd
Merge pull request #11039 from electron/deprecate-docs-translations
...
Deprecate /docs-translations
2017-11-10 13:54:51 -06:00
Charles Kerr
5adbbef6cd
Merge pull request #11079 from sdj01044/add-korean-community
...
Add Korean Community
2017-11-10 11:04:08 -06:00
sdj01044
0c88b073d1
Update README.md
...
Change the URL
https://electron-kr.slack.com -> https://electron-kr.github.io/electron-kr
2017-11-10 18:26:07 +09:00
Dongjo Seo
f5b9e1f732
Add Korean Community
2017-11-10 17:04:21 +09:00
Samuel Attard
912c023c6d
Merge pull request #11060 from electron/ts-artifact
...
Generate API and typescript file as artifact on CircleCI
2017-11-09 15:01:10 +11:00
Zeke Sikelianos
2ad1d8ba28
clean up remaining references to docs-translations content
2017-11-08 19:06:18 -08:00
Zeke Sikelianos
387ed21f94
updates from master
2017-11-08 19:01:58 -08:00
Andrew MacDonald
7c5bd62158
Decrease title size.
2017-11-08 09:37:56 -08:00
Andrew MacDonald
00665b9501
Add documentation to web-contents.md.
2017-11-08 09:35:01 -08:00
Charles Kerr
9bf950aa33
Merge pull request #10997 from xxczaki/patch-1
...
Deleted Korean Community
2017-11-08 09:46:04 -06:00
John Kleinschmidt
26baea58c9
Merge pull request #10990 from electron/fix-10988
...
Enable "document.visibilityState/hidden" tests
2017-11-08 09:55:40 -05:00
Andrew MacDonald
51f6311f32
Handle the possibility of unexpected logs.
2017-11-08 00:09:54 -08:00
Andrew MacDonald
e51042f5a1
Add console-message test.
2017-11-07 23:45:27 -08:00
Samuel Attard
1986236b19
Merge pull request #11058 from electron/forward-declare-scrubber-layout
...
Forward declare the scrubber layout
2017-11-08 17:57:19 +11:00
Samuel Attard
ef78805a1c
Generate API and typescript file as artifact on CircleCI to make verifying changes easier
2017-11-08 16:55:24 +13:00
Samuel Attard
bb997c2ea4
Forward declare the scrubber layout
2017-11-08 16:48:08 +13:00
Felix Rieseberg
d475eaf011
🔧 One commit per character is now hot
2017-11-07 19:44:24 -08:00
Felix Rieseberg
3dcde82485
🔧 Make this easier to read
2017-11-07 18:26:10 -08:00
Andrew MacDonald
c260a0ab78
Allow BrowserWindows to emit console-message
events.
2017-11-07 15:31:15 -08:00
John Kleinschmidt
98eee28cbc
Merge pull request #11054 from electron/jenkins-pipeline
...
Move to using Jenkins pipeline
2017-11-07 16:43:54 -05:00
John Kleinschmidt
a34255ceef
Add Jenkinsfile to enable rebuilds
...
Adding this file will allow us to rerun builds in Jenkins.
2017-11-07 16:32:09 -05:00