Commit Graph

4139 Commits

Author SHA1 Message Date
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 6324743623 Upgrade to 2743 - this is a dev update only, next official release will be based off 2785 2016-07-16 21:30:29 +10:00
amaitland c8177da0b6 Upgrade to 3.2743.1441
Add TransitionType to FrameLoadStartEventArgs
2016-07-16 21:24:00 +10:00
amaitland f05dd327fd Update README.md for 51.0.0 release 2016-07-15 07:58:17 +10:00
amaitland c1eecdc709 Add IBrowserHost.HasDevTools 2016-07-15 07:31:33 +10:00
amaitland e48d0f7bd6 Set per monitor DPI aware attribute in app.manifest
Resolves #1720
2016-07-13 09:12:55 +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 a9661a73eb OffScreen - Allow for retrieval of main, popup or blended bitmap
Change methods to properties.
Add additional xml doc for new params
Rename variables and generally apply same style as rest of project
2016-07-06 21:56:51 +10:00
Valentin Deschaintre 910b56cbd3 Offscreen popup (dropdown list) merge with the background browser. (#1734)
* Enhanced implementation of offscreen ChromiumWebBrowser to enable more possibilities of override. Mainly improved the popup informations accessibility.

* Addition of a blending/merge implementation to set Bitmap to the whole image (full browser + popup) in case of dropdown lists in offscreen project. Fixed 2 comments.

* Remove the use of $"string {var}" for string.Format.

* Removal of "nameof" use.

* Move of the blending in ScreenshotOrNull for better performance. Removed useless function and variables. Samll fixes as asked in the PR.
2016-07-06 21:53:02 +10:00
amaitland 6a52dad66e DynamicDictionary Add implicit conversions back to Dictionary 2016-07-06 11:06:40 +10:00
amaitland c8f6017fa5 Change TestCallbackFromObject to use new DynamicDictionary helper class 2016-07-06 11:06:00 +10:00
amaitland 18793c68e9 Fix TypeUtils.cpp formatting - should have had braces for all if statements 2016-07-06 11:03:09 +10:00
amaitland a58297cc56 Merge branch 'master' of https://github.com/tuxan/CefSharp 2016-07-06 10:32:24 +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 2c4f577820 Add experimental note about hosting devtools as a tab 2016-07-04 08:18:44 +10:00
tuxan 8a800b5bb8 formatting changes 2016-07-01 11:23:13 -04:00
tuxan 6a2ee2cd5b Overload of ConvertFromCef method removed and do some formatting corrections. 2016-07-01 11:00:57 -04:00
amaitland 94cda98eb0 Merge branch 'master' of https://github.com/cefsharp/CefSharp 2016-07-01 11:30:41 +10:00
amaitland 2d062a4a1e Add IWindowInfo.ExStyle 2016-07-01 11:30:30 +10:00
tuxan 2f89c530ba Added support to use object parameters with anonymous function callback inside as parameter of bound functions. 2016-06-30 18:17:39 -04:00
Alex Maitland eb37b567bb Update CONTRIBUTING.md
Add clarification around cef = chromium embedded framework
2016-07-01 07:06:33 +10:00
hathor 995776d232 This lets you do multiple search-and-replaces (#1725)
Add FindReplaceMultiResponseFilter Example
2016-06-30 08:07:34 +10:00
amaitland 6f6ecd3090 Add TooltipTestUrl to WPF Example menu 2016-06-29 12:05:19 +10:00
Dimas Mohammad 925f36cdfc Adding List type conversion (#1719)
* Adding List type conversion
2016-06-23 14:50:13 +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
Alex Maitland 03004efc78 Update CONTRIBUTING.md
Add spoity build link
2016-06-20 14:36:36 +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 11edc4f403 Re-add PlatformCheck to CefSharp.Common.targets - as AnyCPU won't work out of the box we'll still advise to use x86/x64, to use AnyCPU you'll need to
set CefSharpAnyCpuSupport in your project before you'll be allowed to use it, should hopefully reduce all the support complaints for those
who don't read the documentation.
2016-06-20 12:50:35 +10:00
amaitland 84dc406c7f Upgrade to 3.2704.1432 2016-06-20 11:12:27 +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 0276844320 Add CefSettings.PersistUserPreferences
Add RequestContextSettings.PersistUserPreferences

To persist user preferences as a JSON file in the cache path directory set this value to true
2016-06-16 18:28:14 +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 ec0a10095c Disable GPU for windows 7 as it appears to still be a problem with #1634 2016-06-16 08:05:21 +10:00
amaitland 6ac19aaf50 Remove IsWindowsXp from DependencyChecker 2016-06-16 08:01:15 +10:00
amaitland bccfc17e3e Build for x64 didn't work as it couldn't find the vsvars64.bat
Simplify and call editbin directly instead
Remove unnecessary changes to end of file from last commit
2016-06-16 07:37:32 +10:00
JJO30 42caa772f5 Windows Server 2008 R2 TerminalServices BEX Access Violation (#1703)
* Access Violation of BEX or APPCRASH occurrs on Windows Server 2008 R2 with Terminal Service

Hi,
I have AppCrash with CefSharpSubProcess in Windows Server 2008 R2 with Terminal Service.
I can not disable Data Execution Prevention (DEP) for CefSharpSubProcess.exe.
I have this message : " the execution of data protection must be activated to execute this program. You can not disable the protection of data execution for this program."

I think to activate TSAWARE for CefSharpSubprocess.exe. See : https://support.microsoft.com/en-us/kb/2279689 
Option 3

Thanks

* call vsvars64.bat when building the x64 version

* We write only once the target

https://msdn.microsoft.com/en-us/library/8e77sz74.aspx
2016-06-16 07:14:01 +10:00
amaitland af3bc3a037 Change CefSharp.Core.vcxproj so CefSharp.props file is now relative - required for Sandcastle help builder
This change is somewhat experimental, see how we go
2016-06-15 16:40:10 +10:00
amaitland ca5bacea0a Add header text and link to license 2016-06-15 16:39:09 +10:00
amaitland 2a29b7e23e Update CefSharp.shfbproj project to get a basic API doc package building
CefSharp.Core.vcxproj requires a change `$(SolutionDir)\CefSharp.props` to `..\CefSharp.props` - haven't committed this yet, need to think about possible side effects
Add help dir to .gitignore
2016-06-15 16:22:13 +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
Alex Maitland 46b6c31a9a Merge pull request #1710 from VorTechS/patch-1
Update Nuget Readme.txt - Added link to .NET 4.5.2 Developer pack
2016-06-15 07:21:25 +10:00
VorTechS eba393bf73 Update Readme.txt
Added link to Microsoft .NET Framework 4.5.2 for those needing it, for Visual Studio 2012 and 2013
2016-06-14 16:03:50 +01: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 04885eb6d5 Add webkit.webprefs.minimum_font_size example, see that preferences are being set correctly 2016-06-13 19:07:26 +10:00