1561 Commits

Author SHA1 Message Date
Kevin Driedger 11dee93bf3 Fix spelling error (#1) (#1797) 2016-09-13 16:57:02 -05:00
amaitland e7a5c0c3dd IBrowserProcessHandler now implements IDisposable 2016-09-01 14:33:18 +10:00
amaitland 96742a1ed3 Update build version to 53.0.0 2016-08-28 20:28:18 +10:00
Alex Maitland d4feffb554 Feature - Add IBinder (#1749)
* Add basic ModelBinding which was imported from NancyFx framework - more can be stripped out that's unused

* Add IBinder as a param when registering an object for binding
Binding is disabled by default

* Add license and remove unused using statements

* Make bind method virtual to allow for overriding
Make methods protected

* Add very basic collection support - only primitive types supported for now.
Remove unused exceptions

* Support binding a list of sub objects

* Add null check for null params

* Add BindingOptions class - remove binder and CamelCaseJavascriptNames properties - allow for additional options in the future
Breaking change.

* Add support for List<object> binding type
2016-07-20 13:38:24 +10:00
amaitland 63ef6beb5f Refactor OnContextInitialized out as part of IBrowserProcessHandler interface
Add OnScheduleMessagePumpWork for use with integrating into existing message loop - probably better for WinForms integration, will look at providing an example later
2016-07-20 13:08:47 +10:00
amaitland 20503f2289 Upgrade dev build version to 52.0.0 2016-07-18 09:21:49 +10:00
amaitland c8177da0b6 Upgrade to 3.2743.1441
Add TransitionType to FrameLoadStartEventArgs
2016-07-16 21:24:00 +10:00
amaitland c1eecdc709 Add IBrowserHost.HasDevTools 2016-07-15 07:31:33 +10:00
PrinceOfEgypt 652a09bf6a Add overloads for EvaluateScriptAsync to support methodName and args (#1738)
* Add overloads for EvaluateScriptAsync to support passing in methodName and args

* Fixing typo (teh => the)
2016-07-13 09:11:32 +10:00
amaitland 6a52dad66e DynamicDictionary Add implicit conversions back to Dictionary 2016-07-06 11:06:40 +10:00
chylex 2532c80971 Fix bool, number culture, and string escaping in ExecuteScriptAsync with parameters (#1731) 2016-07-05 11:23:01 +10:00
amaitland b9084796d4 Add basic DynamicDictionary for use with JS binding 2016-07-05 11:20:16 +10:00
amaitland 2d062a4a1e Add IWindowInfo.ExStyle 2016-07-01 11:30:30 +10:00
amaitland ca2085ef05 Add FolderSchemeHandlerFactory - maps request urls to files on disk within a specified folder.
Resolve #1717
2016-06-22 12:23:50 +10:00
amaitland 153296df63 Add ErrorCode to ResourceHandler - can now set the IResponse.ErrorCode without having to manually implement IResourceHandler 2016-06-22 11:52:15 +10:00
amaitland c5a15b709d Remove CefLoader class - it's not possible to call this class using the AnyCPU method as it's not loaded in time to be useful 2016-06-20 13:10:17 +10:00
amaitland 60a1e615fc Upgrade to 3.2704.1429 - Required for following changes as cef.redist targets files have changed
Update CefSharp.Common.targets so it copies the cef.redist packages
Add support for Win32 target (obviously uses x86 files)
Update CefSharp.Native.props to copy the files also for local builds
Add AnyCPU target
Add CefLoader helper class for AssemblyResolver
2016-06-17 10:35:12 +10:00
amaitland 04d2a8ede8 Add ResourceHandler.FromFilePath method that takes in a MimeType
Make ResourceHandler.FromFileName obsolete
2016-06-16 15:16:30 +10:00
amaitland 6ac19aaf50 Remove IsWindowsXp from DependencyChecker 2016-06-16 08:01:15 +10:00
amaitland 933bad3dcc Add a more detailed description of what thread events are executed on
Should be enough to generate some meaningful API docs now
2016-06-15 14:14:39 +10:00
amaitland 56eda64d8a Improve IKeyboardHandler doc 2016-06-15 13:58:36 +10:00
amaitland afe758eb51 Use GhostDoc to generate bulk xml documentation - it's not perfect at least a lot of the interface doco has been copied into the
ChromiumWebBrowser instance classes
2016-06-15 13:44:16 +10:00
amaitland 101b473f51 CefLibraryHandle.IsInvalid was correct in the first place - revert back 2016-06-13 20:12:52 +10:00
amaitland 9c055dcbf6 CefLibraryHandle - Fix IsInvalid 2016-06-13 19:55:52 +10:00
amaitland 3568629535 Remove Cef.LoadLibCefLibrary - needs to be called before the managed wrapper is loaded
Added CefLibraryHandle - uses P/Invoke to call LoadLibraryEx
2016-06-13 09:27:21 +10:00
amaitland 40f00d2ce8 Implement IBrowserHost.GetNavigationEntries
Added TaskNavigationEntryVisitor - currently there is no async method exposed on IBrowserHost (be nice if someone else contributed a PR that implemented this).
Resolve #1503
2016-06-07 12:32:34 +10:00
amaitland 2d72e1f07c Add more xml doc 2016-06-06 15:11:03 +10:00
amaitland 9d5abddc9a Fix typos 2016-06-01 16:30:34 +10:00
amaitland e97fe18165 ResourceHandler - Add AutoDisposeStream (Stream will be disposed when the ResourceHandler is Disposed) 2016-06-01 15:09:58 +10:00
amaitland 2542cca33a If result from cookie visit is null then delete the visitor callback (dispose) 2016-05-31 19:11:37 +10:00
amaitland 74af952377 Expose PrintToPdf - can use the callback directly if required 2016-05-31 19:11:01 +10:00
amaitland feff68895f Add Visit cookie async methods 2016-05-31 18:46:45 +10:00
amaitland ec8952073a TaskStringVisitor now explicitly implements the interface 2016-05-31 18:27:34 +10:00
amaitland c6d7945813 Add TaskCookieVisitor to wrap CookieVisit in an async fashion 2016-05-31 18:27:20 +10:00
amaitland 18e3cb77de Add IResponse.ErrorCode
Add IResponse.IsReadOnly
2016-05-30 08:20:25 +10:00
amaitland 28f6abd508 Update to 51.0.0 2016-05-30 07:59:51 +10:00
amaitland 62292e4211 NPAPI Plugin methods removed from API
cef_runnable.h has been removed
Update IJsDialogHandler.OnJSDialog - acceptLang removed from API
2016-05-30 07:57:48 +10:00
amaitland bc298f6415 Add GetSource and GetText methods that take an IStringVisitor 2016-05-29 22:21:32 +10:00
amaitland 3061becb3f IResourceHandler now implements IDisposable - you can cleanup and resources when the handler is disposed 2016-05-26 07:28:19 +10:00
amaitland 9262d731d5 IResponseFilter now implements IDisposable
Call delete in CefResponseFilterAdapter destructor
2016-05-20 08:13:14 +10:00
amaitland d1d754cf58 Remove CefWindowInfo from ClientAdapter::OnBeforePopup they will now need to be made in client code
(This is now possible as IWindowInfo exposes all the relevant pieces).
This will allow for a little more flexibility, specially on the WinForms front, it should be possible to create the control and then show the window later
2016-05-19 12:11:29 +10:00
amaitland 7bbcf162f9 Remove CefSubProcess.cpp - having such trivial cpp files seems silly
Convert CefRenderProcess into a cpp class - this should theoretically allow users to add CefSharp.BrowserSubprocess.Core as a reference then use their own process to spawn it
Move CefRenderProcess and CefSubProcess into CefSharp.BrowserSubprocess namespace - otherclasses should really be moved as well

Only use our custom subProcess when type is render, for gpu and plugin processes the standard implementation is just fine

Remove CefSubProcess
Rename CefAppWrapper to CefSubProcess
2016-05-16 19:46:30 +10:00
amaitland 54f7fccdaa Upgrade to .Net 4.5.2
Resolve #1572
2016-05-10 20:28:21 +10:00
amaitland c9944c981a Split paramArray and missing arg logic out into two if statements. Previously null was being replaced by Type.Missing.
Two seperate if statement branches allows for a method that has options params and a param array

Resolve #1673
2016-04-29 18:10:43 +10:00
amaitland a15cb795dd Add default values to DependencyChecker.AssertAllDependenciesPresent - make it easier to execute stand alone 2016-04-28 19:40:04 +10:00
amaitland 60ae3cc739 Switch to using TrySetResult instead of SetResult
Invoke TrySetResult using TaskFactory.Run so continuations are run in an async fashion

Reference #1672
2016-04-27 21:01:58 +10:00
amaitland cb5f4f6586 Add new CefMenuCommand enum items 2016-04-19 14:24:17 +10:00
Akash Jana d0e74f819f Fix Issue #1582, Use ToLowerInvariant while converting Function names to avoid culture specific conversion. 2016-04-17 19:17:09 -07:00
amaitland f16db5567c More xmldoc 2016-04-15 16:28:52 +10:00
amaitland 560fa2b867 Improve ResourceHandler documentation, add a minor simplification and update the FlashResourceHandler example to demo how simple it is to use a ResourceHandler when extending FlashResourceHandler 2016-04-15 16:25:06 +10:00