Commit Graph

21 Commits

Author SHA1 Message Date
Alex Maitland 824ba98c6f WPF - Experimental LifeSpanHandler optional LifespanHandler constructor arg
Resolves #4285
2022-11-14 14:16:16 +10:00
Alex Maitland 7b9770a42a WPF - Experimental LifeSpanHandler renaming
- Rename the delegates (add prefix)

Issue #4285
2022-11-02 13:08:25 +10:00
Alex Maitland ec8e3405bd WPF - Add Experimental LifeSpanHandler capable of hosting pop-ups as Tabs/Controls
Issue #4285
2022-10-25 15:51:35 +10:00
EmilyPaek 6f73ea1bba WPF - Korean IME fix cursor displayed at the left side of current character (#3912)
Co-authored-by: agrina1008 <noely1008@naver.com>
2021-11-30 13:47:16 +10:00
campersau aae39fc1e5 WPF - Check for "ax_tree_id" and avoid referencing IValue in class member (#3770) 2021-08-25 09:13:41 +10:00
Alex Maitland 66cd9ef4b8 WPF - Improve WpfIMEKeyboardHandler browserHost null checks
CancelComposition is now private as it's not used outside the scope of the class. Technically this is a breaking change
though it's incredibly unlikely this method was used outside the scope of WpfImeKeyboardHandler as it requires
the Hwnd which is obtained from the SourceHook which is private.

We can and probably should make most of the private methods protected virtual to allow for overriding of just a small
portion of the class, you currently can copy and paste the whole class into your own code base if small changes are required.

#3690
2021-07-22 10:33:32 +10:00
Shaojun Li d9a7a398cb WPF - Fix WpfIMEKeyboardHandler crash when browser is not initalized. (#3690)
GetBrowserHost will throw exception when browser is not initalized.
2021-07-22 10:17:21 +10:00
billshinji 516de14af6 WPF - Japanese IME unable to enter space (#3455)
This is a fix in response to the issue of not emitting spaces in Japanese IME (from @karthikeyancdm).
After all, it turns out that ImeSetComposition() and ImeFinishComposingText() should be invoked regardless of the current language.
2021-03-22 14:07:54 +10:00
TMOONLIGHT bf8893a58f Update WpfIMEKeyboardHandler.cs (#3346)
fix chinese IMEs ( such as "sogou pinyin", "qq pinyin" etc. ) input window position.
2021-01-11 20:30:38 +10:00
amaitland 233019acdf WPF - TabControlAutomationPeer revert to older style c# syntax for VS2015 compiler 2020-07-27 20:47:25 +10:00
amaitland da8ad192a4 WPF - Add Experimental Accessibility Handler 2020-07-27 20:32:24 +10:00
Konstantin Preißer 5e89f71a44 Add new projects targeting .NET Core 3.1 (#3181)
* Add .NET Core 3.1 projects for CefSharp, CefSharp.Core, CefSharp.BrowserSubprocess.Core, CefSharp.WinForms, CefSharp.Wpf, CefSharp.OffScreen.

Contributes to CefSharp#2796

* - Remove dependencies to "opengl32.lib" and "glu32.lib" which aren't available for ARM64 and don't seem to be needed.
- Clean up project files.

* Switch project CefSharp.netcore.csproj to AnyCPU as it doesn't require different builds for each platform.

* Remove WindowsTargetPlatformVersion property as that is declared in CefSharp.props.

* Use "bin.netcore" and "obj.netcore" as [intermediate] output path for the .NET Core projects, to allow side-by-side builds with the .NET Framework projects.

* Output documentation files.

* Add CefSharp.Example.netcore and CefSharp.WinForms.Example.netcore.

* Follow-up: Remove properties from the example projects that are also not used in the corresponding .NET Framework projects.
2020-07-23 15:21:14 +10:00
yeyezizhi ccd4af84b0 Fix Chinese IME character Composition issue (#3163) 2020-07-02 09:34:21 +10:00
billshinji 6fea930e3a WPF - IME Fix Korean character emitting issue (#3054)
*WPF IME  Fix Korean character emitting issue

Fixes a Korean IME related problem. A user cannot make a word or a sentence by progressing (producing) a single Korean character. Current experimental handler fails to 'emit' a composed Korean character.
2020-02-12 12:25:13 +10:00
amaitland 79c99878c5 Xml Doc improvements 2020-01-29 05:37:45 +10:00
Roh yeon jin b804367cb5 WPF IME - Fixed last hangul letter being duplicated (#2973)
WPF IME - Fixed the problem that the last hangul letter is duplicated.
2019-11-25 11:35:51 +10:00
amaitland b31a365dd4 WPF - Add basic touch support to ChromiumWebBrowser
- Touch support moved from ChromiumWebBrowserWithTouchSupport
- Stylus support was left in ChromiumWebBrowserWithTouchSupport as needs more testing

The CefSharp.Wpf.Example still has System.AppContext.SetSwitch("Switch.System.Windows.Input.Stylus.DisableStylusAndTouchSupport", true);
You will need to remove this for testing

Issue #228
2019-10-03 21:02:25 +10:00
Shaojun Li d70d3155f1 WPF - Fix and improve touch and stylus (#2817)
WPF - Improve Experimental Touch and stylus

- Send all points from stylus event instead of single, which can make handwriting smoother.
- Only send mouse events when stylus is null as WPF uses mouse emulation for stylus
2019-07-08 08:47:27 +10:00
Michael Olsen ae94efa7df WPF Experimental - Fixed IME window not showing or showing at the wrong location (#2782)
* Fixed IME window not showing at all or sometimes showing at the wrong location.

* Added braces for code consistency.

* Added a few more braces for code consistency.

* Removed unnecessary local variable.

* Removed some implementation specific wording in a comment.
2019-05-31 07:22:31 +10:00
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 3d14f19867 WPF - Add Experimental ChromiumWebBrowserWithTouchSupport
Based on #2745

Original author https://github.com/GSonofNun
2019-04-26 08:14:45 +10:00