Cheng Zhao
4c48f0cd36
Merge pull request #1882 from atom/get_uploaded_report_api
...
Implement crash-reporter.getUploadedReports API
2015-06-09 16:35:08 +08:00
Cheng Zhao
9f0ac13edc
Pass embedder when creating WebContents
2015-06-09 15:50:20 +08:00
Cheng Zhao
5459137d3d
Remove unused options for WebContents.create
2015-06-09 15:40:04 +08:00
deepak1556
52b2c0d27f
default to first certificate from cert store
2015-06-09 13:00:20 +05:30
Cheng Zhao
89087d402d
Merge pull request #1873 from atom/multiline-headers
...
Support multiple-line headers in `did-get-response-details'
2015-06-09 12:03:45 +08:00
Haojian Wu
64e84b8f6a
Support multiple-line headers in web-contents `did-get-response-details' event.
2015-06-09 11:18:46 +08:00
Cheng Zhao
24586c1330
Merge pull request #1883 from atom/http-referer-doc
...
📝 Add missing `httpreferer` option doc.
2015-06-09 11:15:44 +08:00
Cheng Zhao
03ab9b2686
Merge pull request #1848 from Bitbored/master
...
Added `bounds` payload to tray `clicked` event on Windows
2015-06-09 10:49:01 +08:00
Haojian Wu
f1a8c5a1ca
Use httpReferrer and userAgent new names in webview.
2015-06-09 10:44:54 +08:00
Haojian Wu
488801e244
Rename httpreferrer to httpReferrer, useragent to userAgent.
2015-06-09 10:10:29 +08:00
Seppe Stas
cac97cca0d
Initialized rect with zeros
...
As per @zcbenz 's remark: The rect should be initialized with zeros to prevent random values being passed to the click event handler when `Shell_NotifyIconGetRect` fails.
2015-06-08 19:07:46 +02:00
Seppe Stas
16c08e7e37
Switched to gfx::Rect
constructor that takes a RECT
...
As per @zcbenz's suggestion the rect passed to the click event handler now passes a rect constructed using `gfx::Rect(const RECT& r)`.
2015-06-08 19:04:56 +02:00
deepak1556
2de5f9de6c
browser: support client certificate
2015-06-08 21:00:32 +05:30
Cheng Zhao
1ae8bed96a
Merge pull request #1899 from kirkouimet/guard-for-in-loop
...
Guarding against polluted Object.prototypes
2015-06-08 22:45:43 +08:00
Cheng Zhao
fed9ef0687
Merge pull request #1860 from atom/dialog-show-file-name
...
Fix dialog.showSaveDialog doesn't show the non-exist file name on Linux.
2015-06-08 19:41:33 +08:00
Kirk Ouimet
75448ad7ed
Guarding against polluted Object.prototypes
2015-06-07 23:59:49 -07:00
Cheng Zhao
8363a39a56
Bump v0.27.3
2015-06-08 13:24:47 +08:00
Cheng Zhao
5ae9c633ca
Fix building on Windows, close #1896
2015-06-08 13:19:56 +08:00
Haojian Wu
cd1c331112
Fix coffeelint error.
2015-06-06 17:59:20 +08:00
Haojian Wu
c821a06e2f
Implement crash-reporter.getUploadedReports API.
...
Also redefine the getLastCrashReport API implementation using
getUploadedReports API.
2015-06-05 18:59:03 +08:00
Cheng Zhao
bb42c2c7b6
Avoid destorying api::WebContents for twice
2015-06-05 18:13:30 +08:00
Cheng Zhao
af62b7b5c9
Put common code of OpenURLFromTab to CommonWebContentsDelegate
2015-06-05 17:45:17 +08:00
Cheng Zhao
8f9a109fa6
Implement HTML5 fullscreen in CommonWebContentsDelegate
2015-06-05 17:27:24 +08:00
Cheng Zhao
05468cc3fa
Remove devtools APIs from NativeWindow
2015-06-05 17:01:17 +08:00
Cheng Zhao
94d69777fa
Enable calling WebContents::openDevTools for BrowserWindow's WebContents
2015-06-05 15:41:03 +08:00
Cheng Zhao
67144aaf2a
Remove duplicate def of is_guest
2015-06-05 15:18:15 +08:00
Cheng Zhao
d9efc3b4bf
Move more methods to CommonWebContentsDelegate
2015-06-05 15:12:38 +08:00
Cheng Zhao
c32aac0a56
Manage webview with CommonWebContentsDelegate
2015-06-05 15:01:51 +08:00
Cheng Zhao
92b15c81e9
Manage InspectableWebContents in CommonWebContentsDelegate
2015-06-05 14:55:07 +08:00
Cheng Zhao
19d742de37
Add CommonWebContentsDelegate
2015-06-05 13:49:24 +08:00
Cheng Zhao
e8f33f51fb
Use DefaultWebContentsDelegate in api::WebContents
2015-06-05 13:41:45 +08:00
Cheng Zhao
7f7cdbf775
Remove NativeWindow::CallDevToolsFunction
2015-06-05 13:32:01 +08:00
Cheng Zhao
8306dc427a
Merge pull request #1867 from deepak1556/devtools_workspace_patch
...
devtools: supporting workspace usage
2015-06-05 13:26:37 +08:00
Cheng Zhao
66b3972fbc
Fix typo
2015-06-05 10:03:01 +08:00
deepak1556
790fba598e
devtools: supporting workspace usage
2015-06-05 01:06:53 +05:30
Cheng Zhao
f4c696b922
Merge pull request #1863 from atom/default-menu
...
Create a default menu for apps ran by default_app
2015-06-04 22:36:33 +08:00
Cheng Zhao
f54506acc0
Merge pull request #1822 from hokein/crashpad-mac
...
Crashpad!
2015-06-04 22:11:14 +08:00
deepak1556
683917ae67
renderer: option to override page visiblity state
2015-06-04 14:40:13 +05:30
Cheng Zhao
a22b9be681
mac: Do nothing if calling Menu.setApplicationMenu(null)
2015-06-04 16:14:19 +08:00
Cheng Zhao
5d23b7468e
Allow removing menu bar
2015-06-04 16:10:19 +08:00
Haojian Wu
d5b47d1059
Simplify and polish the code.
2015-06-04 15:53:37 +08:00
Cheng Zhao
47e9deeb9a
Remove Menu::AttachToWindow
...
It makes the logic more complex without any benefit
2015-06-04 15:32:33 +08:00
Cheng Zhao
6d6e75795f
Allow settting menu to null
2015-06-04 15:14:43 +08:00
Cheng Zhao
cc3066e746
Create a default menu for apps ran by default_app
2015-06-04 14:54:53 +08:00
Haojian Wu
da83ba6c06
Fix dialog.showSaveDialog doesn't show the non-exist file name on Linux.
2015-06-04 14:16:53 +08:00
Cheng Zhao
31beee9599
Check for nullness when comparing webContents, close #1838
2015-06-03 18:48:10 +08:00
Cheng Zhao
912ed2ca10
Merge pull request #1839 from deepak1556/devtools_api_patch
...
devtools: initialise devtoolsWebContents when opened with inspect* apis
2015-06-03 18:31:25 +08:00
Cheng Zhao
3a3b05b2f0
Clean up code
2015-06-03 14:53:19 +08:00
Cheng Zhao
95a8f3fc70
Fix changing src would calling loadUrl for twice
2015-06-03 14:33:22 +08:00
Cheng Zhao
34cd1435b4
Clean up code
2015-06-03 14:17:28 +08:00
Cheng Zhao
d4be2da70e
Don't rely on process_id to search for NativeWindow
2015-06-03 14:08:56 +08:00
Seppe Stas
e5c4e34ac4
Ow 💩 , where did that extra space come from?
2015-06-03 07:54:38 +02:00
Cheng Zhao
6dfa7b5383
Don't rely on guest_process_id for searching guest
2015-06-03 13:45:06 +08:00
Haojian Wu
94382cbaa2
Fix cpplint error.
2015-06-03 11:31:34 +08:00
Cheng Zhao
3ee054e316
Merge pull request #1849 from atom/remove-devtools-hack
...
Remove AtomResourceDispatcherHostDelegate
2015-06-03 10:48:31 +08:00
Cheng Zhao
f22d4bf0c0
Merge pull request #1814 from fraserxu/master
...
convert message to string for window.alert method
2015-06-03 10:20:59 +08:00
Cheng Zhao
d46e986e80
Remove AtomResourceDispatcherHostDelegate
2015-06-03 10:08:05 +08:00
Haojian Wu
4457edb1d3
Implement crash-reporter.getLastLastCrashReport API on OS X.
2015-06-03 09:47:42 +08:00
Seppe Stas
ce8aa073ee
Added bounds
payload to tray clicked
event
...
Used [Shell_NotifyIconGetRect function](https://msdn.microsoft.com/en-us/library/windows/desktop/dd378426 ) to get the bounds of the application's tray icon.
Note: only works with Windows 7 and later.
Related to #1159 , #1500 .
2015-06-02 21:43:37 +02:00
Haojian Wu
317406f26d
Update crashpad implementation after code review.
2015-06-02 11:41:47 +08:00
deepak1556
67a9931b55
devtools: initialise devtoolsWebContents when opened with inspect* apis
2015-06-01 17:23:44 +05:30
Cheng Zhao
fe631e6eeb
Bump v0.27.2
2015-06-01 12:22:36 +08:00
Yeechan Lu
c026863d48
Print real error messages even if it looks like an invalid app
2015-06-01 10:13:33 +08:00
Haojian Wu
cd8ceec62e
Send all crash reports to collection server.
...
Crashpad client only send reports once per hour. It's different with breakpad.
With this behavior, the other reports generated within an hour will be totally
skipped, which causes the crash api test only run once with an hour.
This patch unrestricts this time limit.
2015-05-30 08:47:52 +08:00
Haojian Wu
4e2f242ad0
Use Crashpad instead of Breakpad on OS X.
2015-05-29 23:25:11 +08:00
Cheng Zhao
02bdace366
Delete Node's symbols after Environment has been loaded
...
Fix #1803 .
2015-05-29 22:20:20 +08:00
Cheng Zhao
fb37b5720d
Update brightray to use correct Chrome version string
...
Close #1808
2015-05-29 17:52:46 +08:00
fraserxu
57ab704300
convert message to string for window.alert method
2015-05-29 15:55:11 +08:00
Cheng Zhao
a9ad783bca
The ElementSizeChanged has been removed
2015-05-29 13:52:14 +08:00
Cheng Zhao
b5c9fe78f1
Listen to ElementSizeChanged event
2015-05-29 13:47:09 +08:00
Cheng Zhao
e4bb456964
Pass element size when attaching
2015-05-29 11:47:54 +08:00
Cheng Zhao
b45ed8d9a2
pendingGuestCreation is removed
2015-05-29 11:20:28 +08:00
Cheng Zhao
bdf73fcd4c
Update to the new algorithm of setting webview size
2015-05-29 11:12:55 +08:00
Cheng Zhao
3e720bd611
Bump v0.27.1
2015-05-28 16:23:29 +08:00
Cheng Zhao
ad89a923e9
Merge pull request #1785 from deepak1556/browser_client_patch
...
browserClient: dont restart render process for javascript scheme
2015-05-28 16:22:45 +08:00
Cheng Zhao
d9102efff7
Merge pull request #1752 from deepak1556/clipboard_patch
...
clipboard: api to list supported types, reading and writing markup
2015-05-28 15:29:36 +08:00
Cheng Zhao
895ab49857
Merge pull request #1797 from deepak1556/response_headers_patch
...
fix accessing headers from resourcerequestdetails
2015-05-28 14:44:46 +08:00
deepak1556
f98da217e1
fix accessing headers from resourcerequestdetails
2015-05-28 11:20:07 +05:30
deepak1556
9b7ad675c6
browserClient: dont restart render process for javascript: scheme
2015-05-27 16:39:02 +05:30
Cheng Zhao
6ee8f6e4f2
Bump v0.27.0
2015-05-27 16:57:41 +08:00
deepak1556
4d56281972
restore clipboard.has api and fix docs
2015-05-27 13:35:51 +05:30
deepak1556
5584e3fd49
clipboard: api to list supported types, reading and writing markup
2015-05-27 13:21:56 +05:30
Cheng Zhao
4a376694b4
Merge pull request #1719 from deepak1556/service_worker_patch
...
devtools: api to inspect service worker
2015-05-27 15:47:41 +08:00
Cheng Zhao
1c60575dc0
Merge pull request #1738 from deepak1556/http_ptach
...
webContents: providing header details with response event
2015-05-27 15:05:55 +08:00
Cheng Zhao
abf8ffd3a2
Merge pull request #1689 from deepak1556/ftp_patch
...
protocol: adding ftp scheme support
2015-05-27 15:04:21 +08:00
Cheng Zhao
c244e83e10
Merge pull request #1633 from deepak1556/window_event_patch
...
window: adding resize and move events
2015-05-27 14:54:36 +08:00
deepak1556
2de0b025f1
retrieve headers from response info
2015-05-24 10:56:25 +05:30
deepak1556
2b9826404a
using mate::Dictionary instead of base::DictionaryValue
2015-05-23 19:26:47 +05:30
deepak1556
4d5790dc09
return headers as object
2015-05-23 19:26:47 +05:30
deepak1556
c22b138b67
webContents: providing header details with response event
2015-05-23 19:26:47 +05:30
Haojian Wu
c3791bba78
Remove duplicated macro.
2015-05-23 19:24:37 +08:00
Haojian Wu
5ede62459c
Rename PrintHandler to PrintHandlerWin since only used on Windows.
2015-05-23 19:24:29 +08:00
Haojian Wu
abd97a7513
Load pdf component dynamically.
...
Ship pdf as dll library, electron only loads pdf.dll when calling print
API. In this way, the developer who don't need print feature can safe
remove the pdf.dll in saving their binary size.
2015-05-23 19:24:27 +08:00
Cheng Zhao
e233eab4f2
HandleMouseDown is deprecated
2015-05-23 11:58:20 +08:00
Cheng Zhao
b202bba2e6
Don't read Buffer in IO thread
2015-05-22 22:15:13 +08:00
Cheng Zhao
d78efe7c22
Use Local instead of Handle
2015-05-22 19:11:22 +08:00
Cheng Zhao
b169ac016e
Start AtomRenderFrameObserver
2015-05-22 15:59:29 +08:00
Cheng Zhao
d1685f79a2
Initialize V8 in browser process
...
Previously it was initialized by ProxyResolverV8, but after Chrome 43 V8
started to initialize V8 lazily.
2015-05-22 15:30:02 +08:00
Cheng Zhao
01e891652f
Fix compilation errors
2015-05-22 15:24:34 +08:00
Cheng Zhao
c82d21b39f
Add AtomRenderFrameObserver
2015-05-22 15:01:13 +08:00
deepak1556
9a60fde59b
alias move and moved event on OS X
2015-05-22 12:24:12 +05:30
Robo
f46fcd158a
chnage move hook and add details to doc
2015-05-22 12:13:01 +05:30
Robo
1b1735bca9
avoid unnecessary api calls
2015-05-22 12:13:00 +05:30
deepak1556
3a5977e09f
window: adding resize and move events
2015-05-22 12:13:00 +05:30
Cheng Zhao
c372dcb462
Merge pull request #1706 from hammerandchisel/crash-reporter-reinit
...
Explicitly null the crash reporter before assigning it
2015-05-22 10:17:00 +08:00
Andy Dill
9a768dd4f0
Remove explicit nullptr and add clarifying comment.
2015-05-21 09:02:17 -07:00
Cheng Zhao
82377cbfd5
Bump v0.26.1
2015-05-21 15:52:42 +08:00
Cheng Zhao
f31bfab127
gtk: Notify the click event
2015-05-21 15:22:52 +08:00
Cheng Zhao
fd41f1e8bc
Merge pull request #1616 from deepak1556/webview_fullscreen_patch
...
webContents: override fullscreen notification apis for webview
2015-05-21 15:03:48 +08:00
Cheng Zhao
32b2ef3539
Merge pull request #1710 from deepak1556/screen_patch
...
screen: initialise displays_ vector with primary display
2015-05-21 14:58:27 +08:00
Cheng Zhao
cde6b41a05
Merge pull request #1730 from deepak1556/webview_navigation_patch
...
navigation: adding clearHistory method
2015-05-21 14:56:30 +08:00
deepak1556
3ecfadf367
screen: initialise displays_ vector with available displays
2015-05-21 11:28:48 +05:30
deepak1556
27c3727ddb
use generated constants
2015-05-21 11:07:25 +05:30
deepak1556
ea147c588f
protocol: adding ftp scheme support
2015-05-21 10:59:56 +05:30
deepak1556
e8a02316ce
also emit html fullscreen notification on windows when its webview contents trigger it
2015-05-21 10:41:53 +05:30
deepak1556
0dcf061dc1
check if window is html or forced fullscreen
2015-05-21 10:16:11 +05:30
deepak1556
f2d91bc53c
adding events to notify fullscreen state
2015-05-21 10:16:11 +05:30
deepak1556
ddda8e4197
track html api triggered fullscreen separaely
2015-05-21 10:16:11 +05:30
deepak1556
4fe294ed04
check for renderviewhost availability before using
2015-05-21 10:16:10 +05:30
deepak1556
be57151037
webContents: override fullscreen notification apis for webview
2015-05-21 10:16:10 +05:30
Cheng Zhao
427b9567ca
Merge pull request #1713 from deepak1556/navigation_patch
...
navigation: fix accessing url from history array for goToIndex
2015-05-21 10:43:34 +08:00
Cheng Zhao
dbecc8d5f5
Merge pull request #1701 from CharlieHess/paste-and-match-style
...
Paste and Match Style
2015-05-20 23:12:46 +08:00
Cheng Zhao
4ae1998d09
Revert #1604
2015-05-20 20:35:54 +08:00
deepak1556
e80e4ae02c
remove usage global browser context
2015-05-20 16:14:57 +05:30
deepak1556
04b797ff0c
webContents: providing response headers in did-get-response-details event
2015-05-20 15:54:30 +05:30
Cheng Zhao
9b445c27a2
Merge pull request #1668 from deepak1556/carsh_events_patch
...
webContents: adding events to detect gpu and plugin process crashes
2015-05-20 17:51:06 +08:00
deepak1556
c548b9c87e
webContents: adding events to detect gpu and plugin process crashes
2015-05-20 15:05:48 +05:30
Cheng Zhao
097d4d9870
Merge pull request #1734 from atom/forked-original-fs
...
Make "original-fs" available in forked scripts
2015-05-20 16:57:35 +08:00
Cheng Zhao
b238ac5981
Merge pull request #1660 from deepak1556/filesysem_patch
...
browser: create quota permission context to allow quota request
2015-05-20 14:05:53 +08:00
Cheng Zhao
fa169ee7ff
Remove the original-fs.js
...
It is acutally not needed.
2015-05-20 13:31:28 +08:00
Cheng Zhao
0e7bc6b8ec
Make "original-fs" available as built-in module
2015-05-20 13:29:05 +08:00
Cheng Zhao
4129d45d21
Merge pull request #1596 from deepak1556/protocol_interceptor_patch
...
protocol: wrapping HttpJobFactory with a default protocol handler to intercept
2015-05-20 11:52:52 +08:00
Cheng Zhao
361505661f
Merge pull request #1651 from magicae/ppapi-description-patch
...
ppapi: fix PPAPI flash plugin description as chromium does
2015-05-20 11:32:09 +08:00
Cheng Zhao
b558485394
Merge pull request #1732 from atom/web-preferences
...
Simplify how we find NativeWindow from WebContents
2015-05-20 10:45:01 +08:00
Cheng Zhao
7c69c2846b
Simplify how we find NativeWindow from WebContents
2015-05-20 10:27:16 +08:00
Paul Betts
975978b414
Don't be so paranoid about empty opts
2015-05-19 14:27:15 -07:00
Paul Betts
5ee0ff9ee9
Fixup code review items
2015-05-19 14:27:15 -07:00
Paul Betts
22f51372f5
Fix typo
2015-05-19 14:27:15 -07:00
Paul Betts
e4d90f747f
Pass user agent along like http referrer and set user agent in C++
2015-05-19 14:27:15 -07:00
Paul Betts
4a8d7c1819
Right before navigate, set the user agent
2015-05-19 14:27:15 -07:00
Paul Betts
3a81a5224d
Set up a class for it in web-view-attributes
2015-05-19 14:27:14 -07:00
Paul Betts
3993161a63
Define a new useragent attribute on WebView tag
2015-05-19 14:27:14 -07:00
deepak1556
b0e8cafa00
navigation: adding clearHistory method
2015-05-19 22:41:03 +05:30
deepak1556
9963ddc485
implement method on browser window
2015-05-18 20:08:08 +05:30
deepak1556
46d80e8f05
devtools: api to inspect service worker for current webcontents
2015-05-18 19:19:33 +05:30
deepak1556
ef30adcaef
navigation: fix accessing url from history array for goToIndex
2015-05-17 03:31:24 +05:30
Andy Dill
dcbc6a127b
Explicitly null the crash reporter before assigning it to allow the EH to unregister.
2015-05-15 22:37:00 -07:00
Charlie Hess
3913e18447
Add WebContents API for PasteAndMatchStyle.
2015-05-15 00:15:19 -07:00
joshaber
76d33c37d7
Use the textured window for the frameless case too.
2015-05-12 21:11:43 -04:00
joshaber
033f9bcced
If the window's transparent it also needs to be textured.
2015-05-12 21:05:48 -04:00