amaitland
eee5a35b78
Core - Fix Broken Build
...
- DefaultRequestHandler now implements OnDocumentAvailableInMainFrame
- Removed non existent files from project
v83.4.20
2020-07-02 10:31:06 +10:00
amaitland
fd239df361
appveyor - Update myget api key
2020-07-02 10:03:32 +10:00
amaitland
c9fedb28d1
Upgrade to CEF 83.4.2+gc8d4f85+chromium-83.0.4103.106
2020-07-02 10:03:31 +10:00
yeyezizhi
780d96ce71
Fix Chinese IME character Composition issue ( #3163 )
2020-07-02 10:03:30 +10:00
campersau
dc733f0f52
WinForms Example - Use Uri.EscapeDataString instead of WebUtility.HtmlEncode for escaping query string value ( #3162 )
2020-07-02 10:03:29 +10:00
amaitland
cc31e2b149
Core - Add ExecuteDevToolsMethodAsync extension method
...
ExecuteDevToolsMethod has to be called exclusively on the CEF UI thread.
This extension method will invoke into the CEF UI thread if required.
2020-07-02 10:03:28 +10:00
amaitland
a889c47abf
WinForms Example - Use google.com as search engine when invalid url entered in address
...
If Uri.IsWellFormedUriString is false then we'll load using https://www.google.com/search?q=
2020-07-02 10:03:28 +10:00
amaitland
1eb896728d
Example - Add DevToolsExtensions.CaptureScreenShotAsPng
...
Example of taking a screenshot as a png using the new devtools interface
2020-07-02 10:03:27 +10:00
amaitland
e9a7c67b5e
Core - IBrowserHost.AddDevToolsMessageObserver can be run on any thread.
...
Remove ThrowIfExecutedOnNonCefUiThread as it appears the observer
can be added on any thread.
2020-07-02 10:03:26 +10:00
amaitland
e12bd023f1
Core - Add support for direct DevTools protocol messaging
...
Add support for direct DevTools protocol messaging (fixes issue #2961 ).
This change allows the client to directly send and receive DevTools
protocol messages (send method calls, and receive method results and
events) without requiring a DevTools front-end or remote-debugging
session.
https://bitbucket.org/chromiumembedded/cef/commits/fd6631bd181233d36b98e1327da84c44372add76
2020-07-02 10:03:26 +10:00
amaitland
9de4b8242a
WinForms - Possible null reference when Dispose
...
If you've somehow managed to set BrowserSettings to null then Dispose would throw a NullReferenceException
2020-07-02 10:03:25 +10:00
amaitland
05712c38e7
Core - Add IRequestHandler.OnDocumentAvailableInMainFrame
...
Resolves #3157
2020-07-02 10:03:25 +10:00
amaitland
a2fc01c4e3
Upgrade to CEF 83.4.0+gfd6631b+chromium-83.0.4103.106 / Chromium 83.0.4103.106
2020-07-02 10:03:24 +10:00
Alex Maitland
43b97f6b14
Update README.md
...
Update contact section
2020-07-02 10:02:46 +10:00
Jozef Izso
5bed00b3cc
Fix whitespace in .targets files ( #3156 )
2020-07-02 10:02:46 +10:00
amaitland
e736bf201d
WPF Example - ExperimentalLifespanHandler remove targetUrl from constructor
...
Avoid unnecessary memory allocation. The initialAddress passed into the constructor
wasn't used.
2020-07-02 10:02:45 +10:00
amaitland
9019c3247f
README.md - Update amount
...
There's no $25 donation amount setup, go with $20
2020-06-19 21:09:20 +10:00
amaitland
edf36f90bd
WPF Example - Improve ExperimentalLifespanHandler
...
- Pass targetUrl into constructor instead of setting Address property (avoid unnecessarily calling Load(url)
- Rename the popup ChromiumWebBrowser instance to make code more readable.
2020-06-19 20:55:59 +10:00
amaitland
bdcb7633e4
Core - Allow overriding of enable-features command line arg
...
Added example of NetworkServiceInProcess
NOTE: Running the Network Service in Process is not something CEF officially supports
It may or may not work for newer versions.
2020-06-19 20:55:58 +10:00
amaitland
56a301acfb
Upgrade version number to 83.3.120
v83.3.120-pre
2020-06-14 14:05:09 +10:00
amaitland
50143cee51
README.md - Add 83 branch details (-pre release)
2020-06-14 13:36:28 +10:00
amaitland
79cd7c4c93
WPF - Disable GPU Compositing
...
Resize was causing glitches, doesn't reproduce with cefclient
Needs further investigation.
Revert to disabling GPU compositing
Issue #3114
2020-06-14 13:36:28 +10:00
Alex Maitland
19ec934de3
Update Readme.txt
...
Update .Net Core link
2020-06-09 20:59:03 +10:00
amaitland
c2745c2c7e
Upgrade to CEF 83.3.12+g0889ff0+chromium-83.0.4103.97 / Chromium 83.0.4103.97
2020-06-09 15:58:21 +10:00
amaitland
f202760967
Core - IDownloadItemCallback incorrectly disposed on Pause/Resume
...
Resolves #3145
2020-06-09 15:58:20 +10:00
amaitland
e290d5ab23
Core - ByteArrayResourceHandler throw exception if byte[] length 0
...
We cannot create a CefStreamReader when buffer length is 0
CefStreamReader::CreateForData returns null and CefStreamResourceHandler crashes
as the stream is null
https://github.com/chromiumembedded/cef/blob/9df4a54308a88fd80c5774d91c62da35afb5fd1b/libcef/browser/stream_impl.cc#L27
https://github.com/chromiumembedded/cef/blob/a94dc6a0588e15deb184650b9015cd259e52a702/libcef_dll/wrapper/cef_stream_resource_handler.cc#L79
2020-06-09 15:58:19 +10:00
amaitland
37a5193441
Core - ResourceHandler default Access-Control-Allow-Origin to *
2020-06-09 15:58:19 +10:00
amaitland
631814f9e5
Core - Improve CefSharpSettings.ConcurrentTaskExecution xml doc
2020-06-09 15:58:18 +10:00
amaitland
2ec5a21da9
Nuget - Set PublishState Include for <None/> entries
...
Hopefully this will allow support for ClickOnce installer
2020-05-31 20:07:03 +10:00
amaitland
16aa59d6aa
WPF - Add AddressChanged event
...
Typically the address would be databound, there's been a few requests to add an event
so adding one.
2020-05-31 20:05:37 +10:00
amaitland
159ccfc38a
Upgrade to CEF 83.3.9+ged43e55+chromium-83.0.4103.61 / Chromium 83.0.4103.61
2020-05-31 20:04:58 +10:00
amaitland
223054d94a
README.md - release 81.3.100 packages
2020-05-23 12:04:03 +10:00
amaitland
b2e0e04d58
Update version number to 81.3.100
v81.3.100
2020-05-23 10:17:08 +10:00
deonberlin
a2b61f3e37
WPF - Implement AltGr support. ( #3131 )
...
* Fixed #3104 AltGr support.
* Code format adjusted.
* Moved AltGr code to better location within the function.
Co-authored-by: Daniel Bitterlich <bitterlich@deon.de >
2020-05-23 10:12:02 +10:00
amaitland
2a62f97392
Tests - Add OffScreenBrowserBasicFacts.CanExecuteJavascriptInMainFrameAfterNavigatingToDifferentOrigin
...
Confirm CanExecuteJavascriptInMainFrame is true after navigating to a different origin
Resolves #3021
2020-05-19 08:25:02 +10:00
amaitland
919487452e
Tests - Convert BinderFacts.NullToValueType to NullToValueTypeTheory
...
Now uses Theory with InlineData
2020-05-18 11:46:40 +10:00
amaitland
d1b4492549
Core - Cef.GetMimeType custom/fallback mimeType mapping
...
- return application/octet-stream when no mapping found
- Add custom dictionary with some additional mimeTypes, users can add their own to this dictionary
- Add xunit test
Resolves #3041
2020-05-18 11:40:38 +10:00
amaitland
8803f1c041
Core - DefaultBinder InvalidOperationException when binding [1,2,3,1.23] to double[]
...
- Bind for all elements in a collection, not just when the collection contains list/arrays
- Add additional unit tests
JavaScript array of [1,2,3,1.23] translates to [int, int, int, double], when attempting to Bind
to a double[] an InvalidOperationException was thrown. We now call Bind for each element,
when the type is directly assignable we return the value, for cases like above we perform a
type conversion.
Resolves #3129
2020-05-18 09:12:11 +10:00
amaitland
7dc74b2e2f
Upgrade to CEF 81.3.10+gb223419+chromium-81.0.4044.138
2020-05-16 20:25:54 +10:00
amaitland
8b40e9bd05
WPF - Resize Hack for when browser switches from hidden to visible ( #2779 )
...
- Add 1 to the width/height rather than subtracts like the hack in the previous
versions
- Delay between resizes is now configurable via ResizeHackForIssue2279DelayInMs
v81.3.20-pre
2020-05-09 06:33:04 +10:00
amaitland
1e2ddba7a6
Update README.md - Add details for the upcoming cefsharp/81 branch
2020-05-09 06:03:05 +10:00
amaitland
99dd3f4273
Upgrade version number to 81.3.20
2020-05-09 05:56:39 +10:00
amaitland
0f3de6f432
Upgrade to CEF 81.3.2+gb9282cc+chromium-81.0.4044.138 / Chromium 81.0.4044.138
2020-05-09 05:54:38 +10:00
amaitland
6c29d3b4e6
Core - Update CefErrorCode
...
Resolves #3106
2020-05-08 10:22:56 +10:00
amaitland
d6ca2531eb
WPF Example - Add LoadExtension Test
...
Uses the set_page_color that CEF uses for testing
2020-05-05 15:06:11 +10:00
amaitland
c63c301451
Core - Improve IBrowserHost.NotifyMoveOrResizeStarted xml doc
2020-05-05 08:34:48 +10:00
amaitland
545cbce36d
WinForms - Form minimise set browser size to 0,0
...
When the form is minimized set the browser window size to 0x0 to reduce resource usage.
https://github.com/chromiumembedded/cef/blob/c7701b8a6168f105f2c2d6b239ce3958da3e3f13/tests/cefclient/browser/browser_window_std_win.cc#L89
Issue #2922
2020-05-05 08:30:27 +10:00
amaitland
1824a0334d
WPF/WinForms/OffScreen - CanExecuteJavascriptInMainFrame incorrectly false after loading page with different origin
...
Proof of concept for a workaround. The frameId for the second OnContextReleased that arrives after the OnContextCreated from
the old render process strangely has a frameId greater than the new frameId
TODO: Unit tests
Issue #3021
2020-05-04 12:34:47 +10:00
amaitland
71a190dfe6
OffScreen Example - Demo Cef.WaitForBrowsersToClose();
...
Issue #3047
2020-05-04 11:34:52 +10:00
amaitland
6b440a84a3
Shutdown - Improve WaitForBrowsersToClose
...
- Add Cef.PreShutdown
- For WPF hook the DispatcherShutdownStarted and DispatcherShutdownFinished events then call Cef.PreShutdown
- Add NoOpBrowserRefCounter and set as default, needs a little more testing before it's enabled by default.
Can be enabled by calling Cef.EnableWaitForBrowsersToClose before calling Cef.Initialize
Issue #3047
2020-05-03 21:58:05 +10:00