Commit Graph

330 Commits

Author SHA1 Message Date
amaitland 48525ad926 Merge remote-tracking branch 'remotes/upstream/master' into JsBinding/Wip2 2014-09-22 21:54:06 +10:00
Bodekaer f07b0f6120 Fixed #464 NullReferenceException when browser is disposed while focused 2014-09-19 10:08:16 +10:00
amaitland 286b590960 Rename EvaluateScript to EvaluateScriptAsync for consistency 2014-09-15 12:15:48 +10:00
amaitland 6505f43b15 EvaluateScript now accepts a nullable timespan and only executes a timeout if a value is specified 2014-09-15 12:11:31 +10:00
amaitland 631b8956ca Merge remote-tracking branch 'remotes/upstream/master' into JsBinding/Wip2 2014-09-11 15:58:10 +10:00
amaitland ecafbe9ef3 Call RemoveSourceHook before dispose of managedCefBrowserAdapter 2014-09-11 15:27:10 +10:00
amaitland efc4b79552 Merge remote-tracking branch 'remotes/upstream/master' into JsBinding/Wip2
Conflicts:
	CefSharp.Core/CefAppWrapper.cpp
	CefSharp.Core/Wrappers/CefAppWrapper.h
	CefSharp.Core/Wrappers/CefSubprocessWrapper.h
2014-09-11 14:04:24 +10:00
amaitland 318c00b2be Remove call to Application.Current.Dispatcher.CheckAccess() - seems there's a null point happening on a rare instance when Application.Current.Dispatcher is null
Rely on parent calling code to execute on the correct thread (which it was already executing on the UI Thread)
2014-09-08 18:21:07 +10:00
amaitland 08d557ca46 Fix whitespace 2014-09-02 12:04:39 +10:00
amaitland 2c4d179c5d Change ExecuteScriptAsync to return JavascriptResponse so error messages and result can be returned 2014-09-02 12:02:32 +10:00
amaitland 4a3f459956 Add Task Timeout and change default timeout value to 60 seconds 2014-08-29 12:55:22 +10:00
amaitland e9fdeceb63 Change IRenderProcess to return Task<object> - moving towards having proper WCF async 2014-08-29 11:15:54 +10:00
amaitland ef5ef1a704 Remove unused BoundObjects dictionary 2014-08-29 10:09:02 +10:00
amaitland 0ed7555ba0 Change ExecuteScript to ExecuteScriptAsync and return a Task, changed IWebBrowser interface and simply wrapped the backend call.
This at least gets the API inline with what I'd expect in the future, still need to change WCF to use Async, this is a start.
Ideally would like to port @JanEggers PR #289 and have a Cef driven TaskScheduler
2014-08-29 10:00:41 +10:00
amaitland 31efce45e7 Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-08-22 13:44:10 +10:00
amaitland 4fb72c9237 Fix incorrect version number in comment 2014-08-21 20:20:08 +10:00
amaitland 5e7e8b6304 Merge remote-tracking branch 'remotes/upstream/master' into feature/add-devtoolsurl 2014-08-21 20:18:42 +10:00
amaitland 024620cd78 Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-08-21 20:17:47 +10:00
Adrian Phinney d5d3077735 Implemented OnStatusMessage and event for WPF and WinForms. 2014-08-12 08:57:06 -04:00
amaitland 5f413552bc Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-08-12 10:57:21 +10:00
amaitland d3237a0721 Add DevToolsUrl property for temporary use until upgrade to Cef 1738 2014-08-05 11:45:54 +10:00
taylorjonl 22c8a8b113 Implemented Cut, Copy, Paste and other text based actions for WPF 2014-07-15 16:55:19 -06:00
amaitland e8f3a5e8cf Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-07-01 14:08:16 +10:00
amaitland d48bf5fbd9 Add license disclaimer to rest of solution files (hopefully got them all now) 2014-06-25 16:00:28 +10:00
jornh feabb4fe48 Merge pull request #391 from amaitland/feature/DownloadHandler
Implement DownloadHandler based on current Cef API fixes #387
2014-06-23 23:27:51 +02:00
JanEggers b2a17e965d matrix is a struct so it cant be null 2014-06-12 21:04:07 +02:00
JanEggers 048af5e8ad use initializers 2014-06-12 21:03:46 +02:00
amaitland ba1dc57204 Merge remote-tracking branch 'remotes/upstream/master' into feature/DownloadHandler 2014-06-12 13:42:29 +10:00
amaitland 7a65a3f41f Execute SetNavState on UI Thread 2014-06-12 12:33:09 +10:00
amaitland eef01bb1ed Merge remote-tracking branch 'remotes/upstream/master' into feature/DownloadHandler 2014-06-12 12:24:22 +10:00
Per Lundberg 0fd7e6c84a Let's use a better name for this one. 2014-06-12 02:37:01 +03:00
amaitland e3a0589547 Execute SetNavState on UI Thread 2014-06-12 02:35:06 +03:00
Per Lundberg d662860344 Merge branch 'master' into JsBinding_WIP. This was a bit of work but not *that* hard after all. Let's see if it compiles also, but I'll keep any required changes for that in a changeset of its own (so that it's easier to follow for you guys).
Conflicts:
	CefSharp.Core/CefSharp.Core.vcxproj
	CefSharp/CefErrorCode.cs
	CefSharp/CefEventFlags.cs
	CefSharp/CefSettingsBase.cs
	CefSharp/Internals/IWebBrowserInternal.cs
2014-06-12 02:07:27 +03:00
amaitland 9e19bce707 Set WebBrowser = null on UI thread - when hosting the WPF control under WinForms the dispose is called on a different thread and this causes an exception. So executing on UI thread resolves this. 2014-06-12 01:44:50 +03:00
amaitland 32a68c0a1c Implement IWebBrowserInternal explicitly 2014-06-12 01:43:40 +03:00
amaitland 1dd617015e ReSharper-inspired cleanups from e911753dc7. 2014-06-12 01:41:11 +03:00
Per Lundberg 26f3778262 Surround dependency properties with regions, like the rest of the (unfortunately massively huge) file.
Manual cherry-pick of @JanEggers 9b9bfee8f9.
2014-06-12 01:38:46 +03:00
Per Lundberg 5ad6a0f34d Trivial ReSharpenings/cleanups. 2014-06-12 01:35:55 +03:00
Per Lundberg ecbb961624 Once again, the lack of "continuous integration" before commit is apparent. :P 2014-06-12 01:28:42 +03:00
Per Lundberg cd948339b2 Changed CanGoBack, CanGoForward and CanReload to be dependency properties, to simplify data binding scenarios for WPF.
Cherry-pick of 082faa5266 (which had a totally incorrect/misleading commit message for whatever reason, @JanEggers... ;)
2014-06-12 01:25:14 +03:00
amaitland 305ebfbefb Extract DisposableEventWrapper into separate internal class 2014-06-12 01:21:10 +03:00
amaitland 9670d94597 Explicitly implement IRenderWebBrowser.BytesPerPixel - IRenderWebBrowser should now be fully explicit 2014-06-12 01:20:21 +03:00
Per Lundberg 26e7a36d3e Forward-port of ec4e0650c6 from @amaitland: API cleanup - move non WPF specific commands from IWpfWebBrowser to IWebBrowser (The files had changed, so it was easier to just redo the change than trying to get the merge working). 2014-06-12 01:12:34 +03:00
amaitland f2510c31a1 Change IWebBrowser.LoadError to have proper EventArgs (LoadErrorEventArgs) 2014-06-11 23:46:42 +03:00
amaitland 8c97e29e2a Move DownloadHandler from IRequestHandler to directly on IWebBrowser 2014-06-11 14:47:19 +10:00
amaitland a8074f8807 Merge remote-tracking branch 'remotes/upstream/master' into feature/DialogHandler 2014-06-06 07:43:16 +10:00
amaitland 086172c606 Merge remote-tracking branch 'remotes/upstream/master' into feature/DialogHandler 2014-06-03 19:28:30 +10:00
Per Lundberg 9bf90d573f Merge commit '254f1c7bba9bde5b7acf1a8a538ca0d53421d0bd' into feature/rename-webview
Conflicts:
	CefSharp.WinForms.Example/BrowserForm.cs (manually merged)
2014-06-02 23:36:25 -07:00
amaitland 42c0419d41 Resolve issue #242 CEF3: Keyboard input is sent to wrong WebView instance sometimes 2014-06-03 11:45:42 +10:00
Per Lundberg daadce8417 Simplified the documentation comments a bit. We don't need to prefix every single command description with "Command which"... :) 2014-06-02 13:04:39 -07:00