Commit graph

6843 commits

Author SHA1 Message Date
leethomas
ce733e5927 add tests to insure window.location.hash changes & window.history.replaceState cause 'did-navigate-in-page' to fire 2016-01-01 18:51:47 -08:00
leethomas
26397d9155 add tests for will-navigate, did-navigate-to-different-page, did-navigate-in-page events in webview 2016-01-01 18:13:07 -08:00
leethomas
9e2b76361f 📝 add 'did-navigate-in-page', 'did-navigate-to-different-page', 'will-navigate' to docs 2016-01-01 17:22:25 -08:00
leethomas
911e60b507 add did-navigate-in-page event to webview & webcontents (triggers on hash/ref changes, anchor links...), pass url into events 2016-01-01 17:13:39 -08:00
leethomas
9f6319dd71 add will-navigate, did-navigate-to-different-page events to webview 2016-01-01 13:36:35 -08:00
leethomas
54c8c3e3fc 📝 update webview docs to include devtools-* events 2016-01-01 04:49:34 -08:00
leethomas
8857eb9cba add tests for webview devtools-* events 2016-01-01 04:49:29 -08:00
leethomas
96d68b9285 🐛 add isDevToolsFocused to WebContents to fix #3928, add devtools-[focused|open|close] events to WebView to fix #3783. 2015-12-31 22:21:54 -08:00
Cheng Zhao
8aced2c31e Add comment on why checking empty set 2015-12-31 18:58:16 +08:00
Cheng Zhao
b308cd6f96 Merge pull request #3967 from leethomas/fix-osx-crash-when-extensions-empty
🍎 fix #3864 where saving a file causes a crash if file extensio…
2015-12-31 18:51:55 +08:00
Cheng Zhao
be2f900d93 Merge pull request #3968 from leethomas/fix-window-submenu-crashes
🍎 only add sub menus to Window when they actually have menu ite…
2015-12-31 18:51:45 +08:00
Cheng Zhao
af5e76f6ae Merge pull request #3959 from deepak1556/remote_object_patch
remote: support arguments of type Date
2015-12-31 18:46:22 +08:00
leethomas
eac2f6fec3 🍎 only add sub menus to Window when they actually have menu items. fixes #3873 2015-12-30 19:38:14 -08:00
leethomas
ba26a4b4e6 🍎 fix #3864 where saving a file causes a crash if file extension array is empty 2015-12-30 13:26:38 -08:00
Cheng Zhao
d4de4505b8 Merge pull request #3961 from atom/widevine-docs
Add documentation for using Widevine plugin
2015-12-30 16:46:31 +08:00
Cheng Zhao
b3832629a2 Update libchromiumcontent: component_updater is not needed 2015-12-30 16:14:50 +08:00
Cheng Zhao
fe87570876 docs: Using Widevine CDM Plugin 2015-12-30 16:10:00 +08:00
Robo
1585a7a0ad browser: provide localized string from resourcebundle 2015-12-30 10:58:46 +05:30
Cheng Zhao
cb5d79e0df Merge pull request #3957 from atom/widevine
Merge #3830
2015-12-30 12:46:19 +08:00
Cheng Zhao
82a293a132 Merge pull request #3955 from nishanths/feature/osx-clear-recent-docs
osx: Implement clear recent documents
2015-12-30 12:07:41 +08:00
Cheng Zhao
d8d3a56c25 Merge pull request #3926 from adam-lynch/patch-3
Fixing link to web contents from ipcMain
2015-12-30 12:00:35 +08:00
Plusb Preco
1f7d72bcc0 📝 Update as upstream
[ci skip]
2015-12-30 11:57:57 +08:00
Cheng Zhao
c5238bb8f0 Update brightray and libchromiumcontent with widevine support 2015-12-30 11:45:39 +08:00
Nishanth Shanmugham
20d03b10d9 osx: Implement clear recent documents
Fixes #3932
2015-12-29 18:36:16 -06:00
Robo
72374b6e31 remote: support arguments of type Date 2015-12-30 01:41:31 +05:30
Adam Lynch
4fd08cccb4 Fixing link to web contents from ipcMain 2015-12-29 16:30:00 +00:00
Cheng Zhao
c47aebaeb4 Do not ship widevine plugin 2015-12-29 21:38:01 +08:00
Cheng Zhao
c0f0685296 Merge pull request #3944 from nishanths/feature/tray-file-drop-osx-dock
tray: Support file-drop from OS X Dock
2015-12-29 19:59:24 +08:00
Cheng Zhao
b392aeb16a Merge pull request #3945 from deepak1556/web_frame_api_patch
webFrame: support fetch api for schemes that are privileged.
2015-12-29 19:48:50 +08:00
Cheng Zhao
c76db0ba1d Fix coding styles 2015-12-29 18:59:27 +08:00
Robo
2e78aba090 webFrame: support fetch api for schemes that are privileged. 2015-12-29 15:57:59 +05:30
Nishanth Shanmugham
2bbf86c524 tray: Support file-drop from OS X Dock
A long-standing Apple bug does not call `prepareForDragOperation:sender`
for file drag-and-drop operations from the Dock. So we manually
call our custom `handleDrop:sender` for all drag-and-drop cases (that
is, from the Dock and from Finder).

References to the bug in question:
- http://stackoverflow.com/q/9534543/3309046
- http://openradar.appspot.com/radar?id=1745403

However, we still need to return YES from `prepareForDragOperation:sender`,
otherwise the "drag failed" animation occurs. For the same reason, we also
return YES from `performDragOperation:sender`.
2015-12-29 03:27:59 -06:00
Cheng Zhao
8ca1bea58b Do not link with unnecessary libraries 2015-12-29 15:45:34 +08:00
Cheng Zhao
38adaf5b3c Remove hacky build settings 2015-12-29 14:51:00 +08:00
Cheng Zhao
19ab68abfb Update libchromiumcontent to include widevine libraries 2015-12-29 14:51:00 +08:00
Cyrille Lebeaupin
9d878ad6b2 Add widevine third party
Add 2 new command options to use widevine:
- widevine-cdm-path: Path to widevine plugin
- widevine-cdm-version: Version of the widevine plugin
2015-12-29 14:50:59 +08:00
Cheng Zhao
5f3c6107d5 Merge pull request #3942 from atom/remote-memory-leak
Fix memory leak in remote module
2015-12-29 11:03:34 +08:00
Cheng Zhao
2294a5ce69 Leak FunctionTemplateHandle
They are cached through the app's lifetime, and freeing them at the
right time is complicate, so just leak them.
2015-12-29 10:40:10 +08:00
Cheng Zhao
d8d963b780 Cache function templates created by CreateObjectWithName 2015-12-29 10:29:48 +08:00
Cheng Zhao
ffc2870ccb Fix circular reference caused by Object.defineProperty 2015-12-29 10:17:35 +08:00
Cheng Zhao
3d2163230b Optimize the case when creating plain object 2015-12-28 22:51:40 +08:00
Cheng Zhao
6785870dde Variables are not shadowed in inline class 2015-12-28 22:51:40 +08:00
Cheng Zhao
b5fd491c2d Fix circular reference caused by RemoteMemberFunction 2015-12-28 22:51:40 +08:00
Cheng Zhao
6fe39e79f4 Merge pull request #3931 from leftstick/master
add zh-CN translation for devtools
2015-12-28 19:22:57 +08:00
Howard.Zuo
6e43be99d7 add zh-CN translation for devtools 2015-12-28 13:10:15 +08:00
Cheng Zhao
dad2586a8a Merge pull request #3920 from flaub/patch-1
s/Phrase/Phase
2015-12-28 09:58:40 +08:00
Frank Laub
ab53e04a80 s/Phrase/Phase 2015-12-24 23:04:44 -08:00
Cheng Zhao
9ffe502fb1 Bump v0.36.2 2015-12-25 13:45:07 +08:00
Cheng Zhao
fb032b03b0 Merge pull request #3918 from deepak1556/renderer_process_fork_patch
renderer: dont fork the process when there is server redirect
2015-12-25 13:43:34 +08:00
Plusb Preco
2f99a1ac8e 📝 Update as upstream
[ci skip]
2015-12-25 12:20:08 +08:00