Commit Graph

4985 Commits

Author SHA1 Message Date
Alex Maitland 002edfb058 WPF - Add IME Support (#2757)
* WPF - Add initial IME implementation

* WPF - WpfImeKeyboardHandler handler code cleanup

- Restructure ImeHandler to be a static class as it really didn't maintain any state, now hwnd is passed in as param
- Renamed many of the methods to Ime for consistency (IME in all caps doesn't patch the naming convention used)
- The WpfIMEKeyboardHandler implementation is pretty much self contained now, only a single reference in ChromiumWebBrowser
also moved into Experimental folder/namespace
2019-05-04 12:32:38 +10:00
amaitland 049f576de3 UrlRequestFlags.AllowCachedCredentials rename to AllowStoredCredentials
Resolves #2755

This is a breaking change
2019-05-04 06:43:56 +10:00
amaitland feb1bce34c README.md - Release 73.1.130 2019-05-03 22:34:38 +10:00
amaitland e19357c386 UrlRequestFlags - Update with new values
https://bitbucket.org/chromiumembedded/cef/commits/cd5995a440302e0ef5a97a000faa922149ffb177?at=3683#Linclude/internal/cef_types.hT1281
2019-05-03 21:34:51 +10:00
Alex Maitland 76e5a8d5c0 Add IAudioHandler (#2727)
* Feature Request - Add IAudioHandler

- For performance reasons we return NULL if no audiohandler is assigned
- No example is provided currently

Initial implementation for #2714
2019-05-03 12:54:40 +10:00
amaitland d8d392dff3 WPF - Make PartImageName/PartImagePopup name consts public for external use 2019-04-30 13:16:54 +10:00
amaitland 335c884b08 Javascript Callback - Add additional tests
Add Basic tests, still need some more work.
Test changes added in #2748
2019-04-26 14:17:58 +10:00
Gilberto Stankiewicz db3839a285 Fix typos (#2750) 2019-04-26 12:19:34 +10:00
amaitland 78fe342988 Javascript CallbackRegistry FindWrapper - Improve error message when no wrapper found 2019-04-26 12:03:32 +10:00
amaitland c27524f456 IJavascriptCallback.CanExecute - Add checking for valid frame
Now checks if the frame associated with the callback still exists and if it's valid
Updated some of the QUnit tests to call CanExecute
2019-04-26 08:31:33 +10:00
amaitland 3d14f19867 WPF - Add Experimental ChromiumWebBrowserWithTouchSupport
Based on #2745

Original author https://github.com/GSonofNun
2019-04-26 08:14:45 +10:00
Alex Maitland 4fd0b0b699 Update README.md
Update `master` branch to 3729 (version 74)
2019-04-26 07:46:39 +10:00
amaitland 4ffaeb8cab IMPLEMENT_REFCOUNTING template changed - Add missing semi colon
Follow up to https://github.com/cefsharp/CefSharp/commit/8d70f836860d3d1bf1593afbae66bb60cfa737c7
(Seems I missed a few cases)

https://github.com/chromiumembedded/cef/commit/725ed88529d7542e64b9735cf0da137d8a80a8b9#diff-221201fe823e7238023e4e7f7083e26fL142
2019-04-26 07:32:01 +10:00
amaitland 95ad9cdd06 Remove IRequestContext.ResolveHostCached
Was removed from Chromium

Resolves #2747
2019-04-26 07:31:03 +10:00
amaitland 5b191c0fdf Upgrade version numbers to 74.1.130 2019-04-26 07:19:41 +10:00
amaitland 8d70f83686 IMPLEMENT_REFCOUNTING template changed - Add missing semi colon
https://github.com/chromiumembedded/cef/commit/725ed88529d7542e64b9735cf0da137d8a80a8b9#diff-221201fe823e7238023e4e7f7083e26fL142
2019-04-26 06:44:18 +10:00
amaitland 40117b0cdb Upgrade to CEF 74.1.13+g98f22d3+chromium-74.0.3729.108 / Chromium 74.0.3729.108 2019-04-25 22:18:54 +10:00
amaitland c5cb465b55 Upgrade to CEF 73.1.13+g6e3c989+chromium-73.0.3683.75 / Chromium 73.0.3683.75 2019-04-25 20:40:11 +10:00
GSonofNun b5ee1e0beb WPF - Add TemplatePart Attributes to ChromiumBrowser (#2739) 2019-04-25 08:18:59 +10:00
michalkania d937f0daa9 [WPF.Example] Simple null check to prevent crash if we close a tab during a test. (#2731)
Related issue: https://github.com/cefsharp/CefSharp/issues/2722
2019-04-25 08:17:28 +10:00
Alex Maitland b71d39f05c Update bug_report.md 2019-04-22 12:02:48 +10:00
Alex Maitland c288bf0921 Update issue templates 2019-04-22 11:57:19 +10:00
Alex Maitland fb85df2e98 Update issue templates 2019-04-22 11:54:00 +10:00
amaitland 3cff24cf1f DefaultFocusHandler.OnGotFocus - Add browser null check
For the print dialog we appear to be passed a CefRefPtr<CefBrowser> reference which doesn't appear to trigger an OnAfterCreated call
so we have no reference to it. Looking at the `CefBrowser`, there's no real data of value, empty url, no frame information (just an invalid frame id)
so for now we'll just ignore it in DefaultFocusHandler, we don't want to handle for popups anyway

Resolves #2725
2019-04-17 20:34:47 +10:00
amaitland c7b9d07008 BrowserTabUserControl - Mark DllImport as private 2019-04-16 15:16:58 +10:00
amaitland ad7cbccbf8 WebBrowserExtensions.LoadUrlWithPostData - Set UrlRequestFlags.AllowCachedCredentials
Possible workaround for sending cookies

Issue #2705
2019-04-11 08:03:11 +10:00
amaitland 9a8736c06a Revert "build.ps1 - Upgrade to support new version scheme"
This reverts commit 1f39e42595.
2019-04-11 05:45:32 +10:00
amaitland 0987e3253b appveyor.yml - Upgrade version number to 73.1.120 2019-04-10 21:08:51 +10:00
Chris e22d1c2fd2 Removed IsBrowserInitializedChangedEventArgs (#2710) 2019-04-10 19:51:34 +10:00
amaitland b9e3905986 Readme.md - Add cefsharp/73 release branch 2019-04-10 19:48:39 +10:00
amaitland 5893da9f0a Upgrade version number to 73.1.120 2019-04-10 19:45:05 +10:00
amaitland b97f85cb2a Revert "Upgrade version numbers to 73.1.12.0"
This reverts commit bb9873d410.
2019-04-10 19:02:17 +10:00
amaitland 0b57e52615 Wpf.Example - Add Windows 10 Only VirtualKeyboard example
Change App.xaml StartupUri to TouchKeyboardWin10MainWindow.xaml

Imported WPF example code from https://github.com/Microsoft/WPF-Samples/tree/master/Input%20and%20Commands/TouchKeyboard/TouchKeyboardNotifier
2019-04-06 11:50:27 +10:00
amaitland cddece0cdc WPF - Add VirtualKeyboardRequested and corresponding VirtualKeyboardRequestedEventArgs 2019-04-06 11:48:33 +10:00
amaitland ea843f31c1 Formatting fixes
Follow up to #2691
2019-04-05 12:02:02 +10:00
João Neves 6692749728 WPF - Implement UpdateDragCursor (#2691)
* Close cefsharp subprocess if main process dies

* Implemented UpdateDragCursor

* Fixed braces position

* Added license header

* Fixed cursor flickering

* Added test

* Fixed build

* Fixed move cursor

* Fixed braces

* Simplified solution

* Fixed dropping Link effect

* Fixed encoding + Removed leftovers
2019-04-05 11:58:27 +10:00
amaitland dfb2cd55f1 WPF - Add ChromiumWebBrowser constructor overload with initialAddress param
Allows for address to be passed directly to CefBrowserHost::CreateBrowser which is required for CefExtension support

Resolves #2645
2019-04-05 11:56:45 +10:00
amaitland 8ced344ccd IBrowserHost - Add SendTouchEvent
- Includes Pen support

https://bitbucket.org/chromiumembedded/cef/commits/52d535a6dc4b8ec55c3aa7d6b6820e24f12516e8
https://bitbucket.org/chromiumembedded/cef/commits/7b5d30e9a92bacdcb81c60de19f1712aaf53ff74

Resolves #2663
2019-04-05 11:52:41 +10:00
amaitland 4c069dc566 KeyType - Update xml doc
Ref https://magpcss.org/ceforum/apidocs3/projects/(default)/cef_key_event_type_t.html
2019-04-04 12:28:32 +10:00
Alex Maitland 7b29027eea CefSharpSettings - Change SubprocessExitIfParentProcessClosed xml doc to reflect enabled by default 2019-03-29 09:23:47 +11:00
amaitland a0d74dd63e IDisplayHandler - Add OnLoadingProgressChange
Resolves #2686
2019-03-27 22:05:17 +10:00
amaitland 45a79dc520 WPF/OffScreen - Add OnVirtualKeyboardRequested method
- Added to IRenderHandler in OffScreen
- Added to ChromiumWebBrowser in WPF (protected virtual, so inherit and override to implement)

Resolves #2689
2019-03-27 20:29:27 +10:00
amaitland bb9873d410 Upgrade version numbers to 73.1.12.0
Issue #2706
2019-03-27 15:23:24 +10:00
amaitland 1f39e42595 build.ps1 - Upgrade to support new version scheme
Issue #2706
2019-03-27 14:07:22 +10:00
amaitland 3520581309 Upgrade to CEF 73.1.12+gee4b49f+chromium-73.0.3683.75 / Chromium 73.0.3683.75 2019-03-27 14:00:42 +10:00
Alex Maitland c3bbd37cce Reorder dispose pattern in ChromiumWebBrowser (#2701)
* WinForms/Wpf/OffScreen - Reorder Dispose methods

- Set browser initialized to false
- Release event handlers
- Dispose managedCefBrowserAdapter
- Set handlers to null

* WinForms/WPF/OffScreen - Set Handlers to null immediately after event handlers cleared

The one exception is LifeSpanHandler which is released after managedCefBrowserAdapter.Dispose
2019-03-26 20:14:13 +10:00
amaitland ba008eed35 WebBrowserExtensions.LoadUrlWithPostData - Mark as Obsolete
Issue #2705
2019-03-26 18:18:40 +10:00
Chris 987f988dac Refactoring - Moved RegisterJsObject and RegisterAsyncJsObject to WebBrowserExtensions (#2703) 2019-03-23 13:31:09 +10:00
Chris 12b27f91d5 Refactoring - Move CefNavigationEntry conversion to TypeConversion (#2682) 2019-03-23 13:15:50 +10:00
Alex Maitland 1a2d4a82f1 TypeConversion - Add null check to NavigationEntry^ FromNative
Also added extra comment to SslStatus
2019-03-23 13:13:34 +10:00