Alex Maitland
d45aaff7ca
Upgrade to CEF 97.0.11+g695453b+chromium-97.0.4692.71 / Chromium 97.0.4692.71
2022-01-05 10:54:41 +10:00
Alex Maitland
d0c9adcf9d
Core - Add TryGetBrowserCoreById
...
- Can be used to obtain an IBrowser reference by Browser Identifier (Id).
- Added a couple of basic unit tests.
2022-01-05 10:47:48 +10:00
Alex Maitland
f07be8c5e5
build.ps1 - Add new update-build-version target
...
Updated Version/AssemblyVersion
Performs some unnecessary tasks, so could be improved
2021-12-16 13:02:24 +10:00
Alex Maitland
8160ec1ce4
Remove IRequestContextHandler.OnBeforePluginLoad and IRequestContext.PurgePluginListCache
...
Resolves #3924
2021-12-07 14:54:11 +10:00
Alex Maitland
f619a1a194
Upgrade to CEF 97.0.8+g4eb2da6+chromium-97.0.4692.36 / Chromium 97.0.4692.36
2021-12-07 14:46:51 +10:00
Alex Maitland
4d7c354f63
Update build number to 96.0.140
2021-11-25 11:01:57 +10:00
Alex Maitland
0fc3ae2323
Core - Add CefSettingsBase.IsDisposed
...
- Dispose CefSettingsBase
- Take a copy of the CefSettings struct and free our pointer
2021-11-25 09:45:29 +10:00
Alex Maitland
3130caf737
Upgrade to CEF 96.0.14+g28ba5c8+chromium-96.0.4664.55 / Chromium 96.0.4664.55
2021-11-24 13:33:07 +10:00
Alex Maitland
9b63b0caab
Upgrade to CEF 96.0.13+g622afbd+chromium-96.0.4664.45 / Chromium 96.0.4664.45
2021-11-18 10:01:19 +10:00
Alex Maitland
c54205efae
Upgrade to CEF 96.0.12+g147b5f5+chromium-96.0.4664.35 / Chromium 96.0.4664.35
2021-11-11 09:47:59 +10:00
Alex Maitland
cbd5f3f00b
Upgrade to CEF 96.0.11+g4bd7c35+chromium-96.0.4664.35 / Chromium 96.0.4664.35
2021-11-10 10:59:43 +10:00
Alex Maitland
7e0a32af53
Upgrade to CEF 95.7.14+g9f72f35+chromium-95.0.4638.69 / Chromium 95.0.4638.69
2021-11-01 13:19:55 +10:00
Alex Maitland
fe9904e952
Core - WinUseBrowserSpellChecker is now disabled upstream
...
https://bitbucket.org/chromiumembedded/cef/pull-requests/415
2021-10-27 09:56:14 +10:00
Alex Maitland
9993aa78e0
OffScreen - Create Browser when Global CefRequestContext initialized.
...
- GlobalContextInitialized wraps a TaskCompletionSource which is resolved
when the Global CefRequestContext has been created
- Reduce code duplication
If successful we can apply the same changes to WinForms/WPF though they're less likely to have
issues than the OffScreen implementation as the CreateBrowser doesn't happen until much later
Issue #3850 #3634
2021-10-26 14:31:10 +10:00
Alex Maitland
0e242a8706
Upgrade to CEF 95.7.10+g00d4ad5+chromium-95.0.4638.54 / Chromium 95.0.4638.54
...
Remove CefBrowserSettings.universal_access_from_file_urls and CefBrowserSettings.file_access_from_file_urls.
https://bitbucket.org/chromiumembedded/cef/commits/ff33d7f72144
Remove CefBrowserSettings.application_cache
https://bitbucket.org/chromiumembedded/cef/commits/370a7749e950ef6784c29a666d07a0b67148dd5f
Remove ignore_certificate_errors setting
https://bitbucket.org/chromiumembedded/cef/commits/aabe4ce466766f8bd9907e7fa30546a3afada214
RequestContextSettings.IgnoreCertificateErrors was removed, the CefSettings.IgnoreCertificateErrors property
now set the command line arg
Use CefRect for CefWindowInfo bounds
https://bitbucket.org/chromiumembedded/cef/commits/8587cc4e4bbc187aa989152e521318818b3f41d3
Additional overload has been added to pass in a Rect directly to SetAsChild
Rename SendFocusEvent to SetFocus
https://bitbucket.org/chromiumembedded/cef/commits/49a4611e28d7bbc221cff816d7c4a96c55ba2721
SendFocusEvent will now call SetFocus internally, the project internally has been updated to use SetFocus for WPF
Replace CefRequestCallback with CefCallback
https://bitbucket.org/chromiumembedded/cef/commits/3e7f1bb529442a6c7674262d9219df57964e9524
No changes to the API for this, I've kept the same interface and just mapped internally
Resolves #3857 , #3667 , #3668
2021-10-22 14:45:12 +10:00
Alex Maitland
4f51b8a4b2
Upgrade to CEF 94.4.11+gc4d96f0+chromium-94.0.4606.81 / Chromium 94.0.4606.81
2021-10-21 10:25:42 +10:00
Alex Maitland
aedd60e3ff
Upgrade to 94.4.9+g09ee681+chromium-94.0.4606.71 / Chromium 94.0.4606.71
2021-10-16 13:40:20 +10:00
Alex Maitland
221185bf28
WinForms/WPF/OffScreen - Enable Chromium Site Isolation by default
...
Previously was disabled by default
Can still be disabled via disable-site-isolation-trials command line argument
Issue #2967
2021-10-14 10:16:27 +10:00
Alex Maitland
7722881772
GetSource/GetText - Copy string rather than using ptr
...
New Mojo IPC implementation uses shared memory rather than a string copy
Attempt to workaround the access violation that's been reported in a few isolated cases
by copying the string rather than using directly.
https://github.com/chromiumembedded/cef/commit/ebee84755ed14e71388b343231d3a419f1c5c1fd
2021-10-04 15:01:54 +11:00
Alex Maitland
2e55f7d1aa
Upgrade to CEF 94.4.2+g6a963ca+chromium-94.0.4606.61 / Chromium 94.0.4606.61
2021-09-29 09:49:40 +10:00
Alex Maitland
d1c7b8b998
Upgrade to CEF 94.3.0+gffef496+chromium-94.0.4606.54 / Chromium 94.0.4606.54
2021-09-24 10:23:33 +10:00
Alex Maitland
db877d73ec
Core - IFrameHandler.OnFrameAttached add reattached param
...
Resolves #3816
2021-09-20 11:51:10 +10:00
Alex Maitland
0f2e213576
Upgrade to CEF 94.2.2+g0c2cc26+chromium-94.0.4606.50 / Chromium 94.0.4606.50
2021-09-20 11:40:45 +10:00
Alex Maitland
c5ba1ce430
Core - Add Cef.ParseUrl
...
Uses GURL to parse the Url (Google's URL parsing library)
2021-09-16 10:05:34 +10:00
Alex Maitland
d4a9e20a90
Upgrade to CEF 94.0.5+g506b164+chromium-94.0.4606.41 / Chromium 94.0.4606.41
2021-09-12 16:40:10 +10:00
Alex Maitland
738e90dbc2
Upgrade build version to 94.0.30
2021-09-10 15:50:55 +10:00
Alex Maitland
7f870db945
Core - FrameHandler track frame lifecycle
...
- FrameHandler now tracks frame creation and removal and reuses the IFrame reference
- CefFrameWrapper no longer throws exception if accessing Identifier for invalid frame, this appears
to be a valid use case now which makes sense otherwise we'd never be able to identify the frame.
Resolves #3588
2021-09-10 14:32:04 +10:00
Alex Maitland
4596d33f1e
BrowserSubprocess - TreatWarningAsError for debug builds
...
Statically cast size_t to int to remove warnings
2021-09-10 10:08:40 +10:00
Alex Maitland
915063894c
Migrate VC++ projects from GitLink to Source link
...
Forgot to migrate VC++ projects in previous commit
Resolves #3036
2021-09-07 12:14:02 +10:00
Alex Maitland
4cd8c11f49
Upgrade to CEF 94.0.3+g5c40d9f+chromium-94.0.4606.31 / Chromium 94.0.4606.31
2021-09-07 11:09:51 +10:00
Alex Maitland
68dc297e68
Core - IStringVisitor.Visit check for empty string
...
Speculative fix for #3779
2021-09-05 15:41:15 +10:00
Alex Maitland
dcfce1b5d4
Core - Update CefSettings.UserDataPath xml doc
...
Updated to reflect Widevide CDM changes
Issue #3767
2021-09-05 14:23:21 +10:00
Alex Maitland
9567d14ab2
Core - FrameHandler update object lifespan (again)
...
- Only OnFrameCreated provides a heap managed IFrame reference
this should be sufficient to keep track of frames using a
Dictionary in FrameHandler
- Xml doc updates
- Reorder IFrameHandler methods
Issue #3588
2021-09-03 20:41:48 +10:00
Alex Maitland
7937f78b6f
Core - OnFrameCreated/OnFrameAttached/OnFrameDetached allocate IFrame on managed heap
...
- Previously they were stack allocated and disposed when out of scope, they're now managed heap allocated
to allow for users to keep a long lived reference.
FrameHandler still needs to be updated to deal with Disposing of the references.
Follow up to #3757
Issue #3588
2021-09-03 20:21:22 +10:00
campersau
8d98043000
Core - Add IFrameHandler ( #3757 )
...
* Core - Add IFrameHandler/FrameHandler
* Update comments
2021-09-03 20:13:42 +10:00
Alex Maitland
c62563c52c
Upgrade to CEF CEF 93.1.11+g9e254fa+chromium-93.0.4577.63 / Chromium 93.0.4577.63
2021-09-03 11:42:32 +10:00
Alex Maitland
d350cad52a
Update to M93 ( #3781 )
...
* Upgrade to CEF 93.1.7+g9117d6a+chromium-93.0.4577.42 / Chromium 93.0.4577.42
- Core - Add basic ref counting implementation
IMPLEMENT_REFCOUNTING implementation uses atomic which
forces the VC++ compiler to compile as native which doesn't work for our managed ref classes.
- Use InterlockedCompareExchange for custom ref count reads
- Use InterlockedIncrement/InterlockedDecrement directly
- There's no memory barrier for HasOneRef/HasAtLeastOneRef as the read of a LONG should happen in one operation
on 32/64 bit architectures (at least that's my understanding at this point in time).
References:
https://github.com/chromiumembedded/cef/blob/4472/include/base/internal/cef_atomicops_x86_msvc.h#L125
https://github.com/chromiumembedded/cef/blob/4472/include/base/internal/cef_atomicops_arm64_msvc.h#L107
https://github.com/chromiumembedded/cef/blob/4472/include/base/cef_atomic_ref_count.h#L114
https://github.com/chromiumembedded/cef/blob/4472/include/cef_base.h#L91
- Remove Microsoft.Net.Compilers package from projects
Now that we require a min of VS2019 to build there's no need for a custom compiler package
- Start removing VS2015/VC++2015 references
- Remove RegisterWidevineCdm
This is a breaking change. CEF will now automatically download the Widevine CDM component
Resolves #3767
- RequestContext.LoadExtension now uses managed to code spawn on CEF UI Thread
Avoid having to use cef_callback.h which was causing problems for x86 builds
2021-09-03 10:51:18 +10:00
Jozef Izso
5d14f7c159
Add property Cef.IsShutdown to allow checks for the shutdown state of Cef runtime ( #3782 ) ( #3783 )
2021-08-31 07:15:55 +10:00
campersau
898b843d5d
DevTools - Add GetNextDevToolsMessageId to IBrowserHost ( #3774 )
2021-08-28 11:44:12 +10:00
Alex Maitland
e7c4c726ed
Core - Remove Cookie.Creation/LastAccessed setters
...
Resolves #3741
2021-08-25 10:48:58 +10:00
Alex Maitland
e00b1ce0bf
WPF - SendKeyEvent use VK_MENU instead of VK_RMENU || VK_LMENU
...
Follow up to https://github.com/cefsharp/CefSharp/pull/3769
2021-08-25 09:35:57 +10:00
spinalcord
b86aa00c41
WPF - Support ALT(Left) and ALT GR (Right) Key ( #3769 )
...
Allows also to use the left ALT key, which necessary to input symbols e.g. german keyboard layout.
2021-08-25 09:28:08 +10:00
Alex Maitland
ceda8fe390
Upgrade to CEF 92.0.25+gd15cfa8+chromium-92.0.4515.131 / Chromium 92.0.4515.131
2021-08-14 13:38:51 +10:00
Alex Maitland
a18637facd
C++/CLI - Replace NULL with nullptr
...
Issue #3636
2021-07-31 15:52:56 +10:00
Alex Maitland
b24cd8e2d7
C++/CLI - Replace OVERRIDE with override
...
OVERRIDE was a CEF macro which has been removed, use standard compliant override
Issue #3636
2021-07-31 15:52:55 +10:00
Alex Maitland
018aefcda0
Core - Throw exception if calling Cef.Initialize after calling Cef.Shutdown
2021-07-31 15:52:54 +10:00
campersau
b83bebb042
WPF - Simplify Support Shift + AltGr ( #3701 )
2021-07-24 15:46:44 +10:00
Alex Maitland
0a1a8855c5
Core - Add IBrowser.IsValid
...
- Add IBrowser.IsValid
- Update xml doc comments
- Remove ExecuteScriptAsync CanExecuteJavascriptInMainFrame check as CEF should now internally queue commands for ExecuteScript and LoadRequest
https://bitbucket.org/chromiumembedded/cef/issues/2421/add-onframecreated-onframedeleted#comment-60616371
Issue #3588
2021-07-22 13:27:36 +10:00
Alex Maitland
823a6582a9
Upgrade to CEF 92.0.16+g3492b1b+chromium-92.0.4515.107 / Chromium 92.0.4515.107
2021-07-22 13:11:02 +10:00
Alex Maitland
4ef267cabf
Upgrade to CEF 92.0.14+gadd734a+chromium-92.0.4515.81 / Chromium 92.0.4515.81
2021-07-06 11:30:44 +10:00