Commit Graph

6179 Commits

Author SHA1 Message Date
amaitland 5493b1381f WPF - CefSettings Add disable-threaded-scrolling (commented out)
Setting disable-threaded-scrolling as the default when using OSR is something I'm considering
2018-12-10 09:46:03 +10:00
Chris d5aeb20fda Enabled MultiProcessorCompilation for CefSharp.Core and CefSharp.BrowserSubprocess.Core (#2596) 2018-12-09 13:10:55 +01:00
Chris cf2681b68b Update CONTRIBUTING.md (#2592)
* Update CONTRIBUTING.md

* Update CONTRIBUTING.md
2018-12-08 13:13:10 +01:00
maloshuk 5622809d68 WPF - Change PixelFormat from Bgra32 to Pbgra32 to fix control transparency (#2589)
* WPF - set PixelFormats.Pbgra32 for all rendering methods #2127
2018-12-07 19:42:54 +10:00
Chris ac6e6356b8 WinForms - Added missing Browsable Attribute on JavascriptObjectRepository (#2590)
WinForms - Added missing Browsable attribute on JavascriptObjectRepository + Updated DefaultValue attribute on UseParentFormMessageInterceptor
2018-12-07 04:40:36 +01:00
Chris 0df677a509 WPF - Use nameof for DependencyProperty.Register instead of hardcoded strings (#2585)
* WPF - Use nameof for DependencyProperty.Register instead of hardcoded strings

* WPF - Trimmed whitespace
2018-12-03 22:07:55 +10:00
amaitland 73f2d5c638 CONTRIBUTING.md/ISSUE_TEMPLATE.md - Add --enable-gpu to list of command line args for cefclient
cefclient currently has GPU acceleration disabled by default, add --enable-gpu to list of args required for testing
when comparing with WPF version as CefSharp has it enabled by default.

untabify CONTRIBUTING.md
2018-11-28 15:56:42 +10:00
amaitland 0d3f941b11 README.md - Release 69.0.0 2018-11-19 14:01:25 +10:00
amaitland 485297bb7f Fix some xml doc encoding issues 2018-11-19 13:22:45 +10:00
amaitland cbd87dc7ce OnContextCreated/OnContextDestroyed - only continue if valid frame ptr
Follow up to #2563
2018-11-09 07:13:34 +10:00
Mitch Capper 921929484a Make sure frame is not null before accessing it (#2563)
closes #256
2018-11-09 07:09:39 +10:00
amaitland 958df1dc1d CefSettings.BrowserSubProcessPath - Change default absolute path to be relative to CefSharp.Core assembly location. 2018-11-07 12:01:37 +10:00
Mitch Capper 269fa4d537 Updated readme donation information (#2559)
Updated link to salt to actual salt project page and added a note up top.
2018-11-07 06:52:54 +10:00
amaitland a10a5ef897 WPF - ChromiumWebBrowser.GetScreenInfo provide Rect and AvailableRect
Get monitor info based on handle (hwnd).

It's unclear if the coordinates need to be dpi scaled, revisit later if they do
2018-10-29 20:13:02 +10:00
amaitland 4f71295941 CefSharp.Example - Move example classes into handlers/javascriptbinding folders/namespaces
Basic code cleanup
2018-10-29 16:21:42 +10:00
amaitland 19a56bd7f9 CefAppUnmanagedWrapper::OnContextCreated - Fixed up merge mistake
IPC message was only sent for main frame

Follow up #2373
2018-10-28 16:52:21 +10:00
Alex Sukhovy 304a300b0c Call OnContextCreated and OnContextReleased for each frame (#2373)
* ContextEvents for each frame

* set CanExecuteJavascriptOnMainFrame

* example and comments

* whitespace fix

* comments

* whitespace

* update comments
2018-10-28 16:48:50 +10:00
amaitland 436bd9c72d CefTerminationStatus - Add OutOfMemory value
https://bitbucket.org/chromiumembedded/cef/commits/391685c2795d0e9698df4d7bd05fa4692acf5ba9?at=3538

Resolves #2551
2018-10-28 10:58:30 +10:00
amaitland ce93352345 Upgrade version numbers to 70.0.0 2018-10-28 10:53:26 +10:00
amaitland 4e50ad8a95 Upgrade to CEF 3.3538.1849.g458cc98 / Chromium 70.0.3538.77 2018-10-28 10:46:02 +10:00
amaitland 2d845a0db4 README.md - Add cefsharp/69 branch details 2018-10-26 13:28:25 +10:00
amaitland bc2693e76d CefSharpSettings.SubprocessExitIfParentProcessClosed - default to true
This will land in the 71 release, changing the default to true
Can easily be overridden by setting to false before calling Cef.Intialize (if your not explicily calling Cef.Initialize then before creating your first ChromiumWebBrowser instance)
2018-10-26 13:23:45 +10:00
amaitland f146a00b1f Cef.Initialize - Only validate browsersubprocesspath file exists specifically if dependency check is false 2018-10-26 13:22:08 +10:00
amaitland 30ba596db7 CefSettings/Cef.Initialize - Improve BrowserSubprocessPath checks
Change to using an absolute path for the BrowserSubprcessPath and validate the file exists in Cef.Intialize
2018-10-26 13:18:33 +10:00
amaitland 23b905dbda Upgrade to CEF 3.3497.1841.g7f37a0a / Chromium 69.0.3497.100 v69.0.0-pre01 2018-10-23 12:58:37 +10:00
amaitland 8e016789c9 Example - Update Home.html
Fix some mistakes
2018-10-23 12:58:36 +10:00
Atvaark 572a05bbbf Fix IDE1006 in FindReplaceResponseFilter.cs (#2545) 2018-10-22 09:46:28 +10:00
amaitland 5396f70232 WebBrowserExtensions.LoadUrlWithPostData - Update xml doc comment
Follow up to #2451
2018-10-17 07:07:52 +10:00
amaitland 8282482758 Upgrade to CEF 3.3497.1840.gcd24143 / Chromium 69.0.3497.100 2018-10-16 12:24:07 +10:00
Igor e81eb2e217 FolderSchemeHandlerFactory - change resource file share mode. (#2535)
* FolderSchemeHandlerFactory - change resource file share mode to ReadWrite.

* FolderSchemeHandlerFactory - add FileShare to controller parameters; make fields readonly.
2018-10-13 12:10:38 +10:00
Alex Maitland 50f4bce687 Update README.md
Remove google group link, the info there is outdated now and very little of it relevant.
2018-10-10 08:43:04 +10:00
amaitland 35414cac7a Scheme Handling - Don't attempt to register http or https schemes
http and https are built in schemes and don't need to be registered
Convert scheme name to lowercase
2018-10-09 20:26:15 +10:00
amaitland 335f27d2c6 .editorconfig - add manifest to xml config file section
Current files use 2 spaces, update config file to reflect that
2018-10-09 20:26:14 +10:00
João Neves 8025139382 ManagedCefBrowserAdapter disposes methodRunnerQueue before destroying browser to prevent crash (#2529)
* Close cefsharp subprocess if main process dies

* Fixed crash when disposing browser and there's a pending method invocation

* Fixed crash when disposing browser and there's a pending method invocation
2018-10-05 12:40:58 +10:00
amaitland 9c73df0dce WPF - Mouse Scrollbar usability
Send only the mouseUp when leaving, no mouse Move like before, the scrolling behaviour has changes slightly in version 69.

Issue #2258
2018-09-30 15:22:54 +10:00
amaitland 529a463613 Upgrade to CEF 3.3497.1834.g0a87d5f / Chromium 69.0.3497.100 2018-09-30 15:22:53 +10:00
Chris cde90a34b9 WebBrowserExtensions::GetScript - Added support for all numerical types (#2526)
* WebBrowserExtensions::GetScript - Added support for all numerical types

* Removed leftover using
2018-09-29 16:11:38 +10:00
amaitland 63a569c807 WebBrowserExtensions - Add ExecuteScriptAsyncWhenPageLoaded
Extensions method that attempts to execute javascript immediately if the page is loaded or wire up the LoadingStateChanged
event handler.
2018-09-28 14:15:43 +10:00
amaitland 84e7a7d1de OffScreen - Improve IRenderHandler doco 2018-09-28 12:37:42 +10:00
amaitland 92ddcbca5d NuGet/Readme.txt - Add app.manifest info
Also add link to General Usage Need to know/limitations section

Resolves #2524
2018-09-28 12:03:48 +10:00
amaitland 1b39c2a70a WinForms/WPF/OffScreen - Cleanup some xml doc around BrowserInitialized event
Probably still needs some work, would be nice if the event was the same in all three instances, difficult with the WPF version being a DependencyPropertyChangedEventHandler
2018-09-27 22:02:00 +10:00
amaitland 246dad90a1 WebBrowserExtensions - Fix naming private static variable naming
.editorconfig consistency
2018-09-27 17:24:21 +10:00
amaitland dcff3d0094 IJsDialogHandler - Rename OnJSBeforeUnload to OnBeforeUnloadDialog
Also fix xml doc

Resolves #2523
2018-09-25 20:56:31 +10:00
amaitland 62d2bb3071 CefSharp.Example/Resources/Home.html - Remove unused js file reference 2018-09-25 14:12:22 +10:00
amaitland 557b279093 Upgrade to CEF 3.3497.1833.g13f506f / Chromium 69.0.3497.100 2018-09-23 21:05:06 +10:00
amaitland d136830443 CefApp::OnBeforeCommandLineProcessing - When value empty call AppendSwitch
Previously called AppendSwitchWithValue which fails now as it checks for a value

Resolves #2341
2018-09-23 20:30:22 +10:00
amaitland a1fbb578df .editorconfig - change const naming convention 2018-09-23 20:29:21 +10:00
amaitland d8611436b3 V8Serialization - Combine if/else branches for enum serialization
Follow up to #2502
2018-09-23 20:02:39 +10:00
amaitland b4acdfed2b .editorconfig - More minor tweaks 2018-09-23 19:58:55 +10:00
amaitland 52fd98da4a editorconfig - Add c++/xml settings and tweak some of the C# ones 2018-09-23 19:58:54 +10:00