Commit Graph

4985 Commits

Author SHA1 Message Date
Daniel B 613ddced0a Split CefFileDialogMode into CefFileDialogMode and CefFileDialogFlags 2018-02-18 22:34:51 +01:00
amaitland 4ff892bc48 Nuget - Fix casing of AnyCPU (was previously AnyCpu)
Related to #2276
2018-02-14 19:24:31 +10:00
amaitland be50b75648 JSB - Wpf.Example update to use ResolveObject method for testing fix for #2273 2018-02-13 12:55:01 +10:00
amaitland 43b427bd00 JSB - JavascriptObjectRepository.ResolveObject was only being called when object previously registered
The HasBoundObjects check has been removed, now we always attempt to GetObjects and return a response

Resolves #2273
2018-02-13 09:43:40 +10:00
amaitland 4d8985c5a4 Sandcastle - Upgrade version number to 63.0.0 2018-02-09 13:50:49 +10:00
amaitland 9fc2f33ea8 Xml Doc improvements
Fix some invalid markup
Move some unmanaged constructors and implicit conversion to internal
2018-02-09 13:41:55 +10:00
amaitland e27ba3da5c Release 63.0.0 and remove financial support section 2018-02-08 15:05:13 +10:00
amaitland 2ea878e0d0 CookieManager - Make unmanaged constructor internal 2018-02-08 10:52:22 +10:00
amaitland 4d4607f24a ICookieManager - Improve xmldoc wording around how methods are executed.
Most methods are executed in an async fashion with a callback that notifies of completion.
Set ICookieManager.DeleteCookies params to null by default (they're optional)
2018-02-08 10:46:52 +10:00
amaitland 72ce8cd87f Nuget\Readme.txt - Update VC++ Requirement 2018-02-07 13:24:49 +10:00
amaitland 91da9ea8a4 JSB - Improve xmldoc for IJavascriptObjectRepository 2018-02-07 12:55:40 +10:00
amaitland df1ab21c01 ScriptedMethodsTest.html - Update to use JSB v2 CefSharp.BindObjectAsync 2018-02-07 10:16:19 +10:00
amaitland e7002a7874 WPF - Fix exception in WritableBitmapFactory
WritableBitmapFactory now works as expected
Add option to invalidate whole bitmap in response to #2035 (default is to invalidate only the dirty rect still)
2018-02-06 11:03:38 +10:00
amaitland 26610e4f35 Readme.md Update Release Branches table. 2018-02-06 09:21:30 +10:00
Chris 6175648e80 WinForms: Prevent designer from setting any default values (#2265) 2018-02-06 09:20:57 +10:00
campersau 7802653fb1 add missing space in exception message (#2263)
https://github.com/cefsharp/CefSharp/commit/a086b4b7802da4d8ddc60a38e309968ba8d4cce6
2018-02-05 19:16:54 +10:00
amaitland 38be769f96 OnConsoleMessage - Add LogSeverity 2018-02-05 17:30:44 +10:00
amaitland a38df4a268 Default builds to using VS2015
Builds are now done using VS2015 which will require VC++ 2015 (or VC++ 2017 as they are compatible)

Remove VS2013 target from build.ps1
2018-02-05 17:23:34 +10:00
amaitland 9f5a7efe70 Upgrade to CEF 3.3282.1731.gfc9a4fa / Chromium 64.0.3282.119 2018-02-05 17:11:41 +10:00
amaitland e88baebc17 Minor API Cleanup
- Move ITaskScheduler and InternalWebBrowserExtensions into Internals folder (not for public use)
- Improve some of the API xml doc
2018-02-05 14:28:17 +10:00
amaitland 1ab4168958 WinForms - Temp workaround for a bug where the address passed into the constructor isn't always loading 2018-02-05 13:56:54 +10:00
amaitland a086b4b780 WPF - Throw exception if Load called before browser initialized
Follow up to #2260
2018-02-05 10:46:16 +10:00
Chris 456ec8b935 WinForms: Prevent designer from setting default values (#2261) 2018-02-05 10:36:55 +10:00
Chris 29fc52e6da Revert build breaking change (#2262) 2018-02-05 10:35:32 +10:00
amaitland bfbd30cce5 WinForms - Add custom Designer
Add some custom designer attributes
Converted the logo.png to a 16x16 bmp as a short term placeholder (someone is welcome to contribute something better)
Hide all the handlers from the designer
2018-02-02 15:51:21 +10:00
amaitland da83065ce7 Remove BrowserSettings.OffScreenTransparentBackground
No longer used, transparency controller through setting BackgroundColor property.
2018-02-02 15:51:21 +10:00
Alex Maitland 85512d66cf Update ISSUE_TEMPLATE.md
Clarify version number requirement, need to know exactly version.
2018-02-02 12:39:39 +10:00
Alex Maitland 582d39a020 Update ISSUE_TEMPLATE.md
Add clarification about testing with newer `-pre` release before opening issue.
2018-02-01 13:04:22 +10:00
amaitland fbce2d61de WinForms Example - Update LifeSpanHandler example to host popup in Tab (notify popup of move and resize) 2018-01-30 15:01:38 +10:00
amaitland 6bcca7ac5e JSB LegacyBindingTest.html Import Property Tests
Copy the tests that were added to BindingTest.html
2018-01-30 12:38:16 +10:00
amaitland ea15a4f670 MyGet Key Update
Update to using a limited access expiry key from my account (amaitland)
2018-01-30 11:27:24 +10:00
amaitland 1b00c277b8 JSB Add Caching
Bound object meta data is cached within a render process
CefSharp.IsObjectCached - JS method to test if object cached
CefSharp.RemoveObjectFromCache - JS method to remove object from cache

If a request is made for multiple objects with not all of them being cached then a IPC message is sent.
When all objects already bound return response object for consistency
FindBrowserWrapper signature change - it's really not safe to throw a managed exception in the middle of unmanaged code, changed to logging and null checking
JavascriptObjectRepository - Add All Constant - Used when All objects are requested for binding (objects can also be requested by name)

TODO: Add a JS library to improve user experience when dealing with cached objects
2018-01-30 10:16:28 +10:00
amaitland bd3f336bdc CefSharp.Example - Add example registering a FolderSchemeHandlerFactory for the https scheme (https://cefsharp.example) 2018-01-29 12:57:33 +10:00
amaitland 2b49105b6f JSB - Fix bug where properties weren't being analysed for sync bound objects
Added test case
Reordered method to make it more logical, used named properties so it's clear what's being set.
Add TODO for unresolved object event
2018-01-29 10:15:01 +10:00
amaitland 934cd70ed6 JSB BindObjectAsync return response object
Can now return additional properties, still need better error handling
2018-01-29 09:45:24 +10:00
amaitland 68c9a6418c Disable CanExecuteJavascriptInMainFrame checks for ExecuteScriptAsync/EvaluateScriptAsync
See #2250 for details (appears to be bug in `CEF`)
2018-01-24 10:16:01 +10:00
amaitland 3334d71fc4 WinForms Example - Add binder to registered objects
Required to run BindingTest.html
2018-01-24 10:03:26 +10:00
amaitland 5bd240c269 Fix nuget package mistakes Examples Projects and Test project
Slightly modified packages and reused the same version number which caused some problems
(Manually fixed package references)
2018-01-23 22:11:46 +10:00
amaitland 44b7600600 WinForms Example - Add additional JS binding 2018-01-23 21:35:23 +10:00
amaitland 4b3c04a615 IJavascriptObjectRepository.Register - Improve isAsync xml doco comment 2018-01-23 18:41:13 +10:00
amaitland 0e25149c96 Nupkg Restructure
Resolves #2156

Nuget packages updated to use ItemGroup None instead of Copy target
Nuget props restructure to support Win32 target
x86 and Win32 targets are exactly the same in content, they differ in name only, so switched to using an <Otherwise/> block
Remove AnyCpu <When/> option from props files and consolidate with x86 and Win32. Set Private to false and rely on the
<None/> entires to copy the files to the output folder

Ideally would move the OffScreen, WinForms and WPF targets file content to the props (as they're actually props now), unfortunately
we need guaranteed ordering and Nuget 2.8.x doesn't provide that, if we leave them as .targets it'll happen late enough to make sure
the cef.redist list of files is provided.
https://github.com/NuGet/Home/issues/4229#issuecomment-271387190
2018-01-23 12:21:14 +10:00
amaitland ecbbced91b Example projects update app.manifest version number 2018-01-23 09:24:21 +10:00
amaitland 247d0d688d Nuget packages - create public properties for common, winforms, wpf and offscreen targets so they can be reused if required
Combine Win32 and x86 target in CefSharp.Common.targets
2018-01-22 15:49:26 +10:00
amaitland 2b3508d60a OffScreen/OffScreenBrowserBasicFacts- Add CrossSiteNavigationJavascriptBinding Test case
Very basic, little crude, passing though
Still having some problems with Xunit and shutting down on the correct thread.
2018-01-22 13:06:09 +10:00
amaitland e47157f195 WPF Example - Add LegacyBinding options and some better comments 2018-01-22 12:33:48 +10:00
amaitland fd64b079a2 IJavascriptObjectRepository.ObjectBoundInJavascript - Fix bug and add example 2018-01-22 12:19:51 +10:00
amaitland 7c699e3ec6 IJavascriptObjectRepositry - Add ObjectBoundInJavascript event
Executed on the thread pool when objects are bound in JS
2018-01-22 12:19:43 +10:00
amaitland 1019ee0a71 WcfEnabledSubProcess - Add better error handling when closing the WCF channel/factory
Resolves #2074
2018-01-22 11:15:44 +10:00
amaitland dd4b7d630b WPF - OnMouseLeave send actual x,y coordinates not just the -1 and call SendMouseClickEvent when left mouse button pressed
Resolves #2060

# Conflicts:
#	CefSharp.Wpf/ChromiumWebBrowser.cs
2018-01-22 11:07:42 +10:00
amaitland 738635d38c Hide tooltip if already open when textchanged
Follow up to #2232
2018-01-22 11:06:24 +10:00