amaitland
a683eade99
Follow up to #2010
...
ResourceFactoryItem renamed to DefaultResourceHandlerFactory - it's only used in the context of that class
Change persist to OneTimeUse and invert logic (false is the default)
Remove unnecessary RegisterHandler overload - user default value instead
2017-04-10 12:08:05 +10:00
amaitland
955867dfc1
Merge branch 'pr30' of https://github.com/merceyz/CefSharp
2017-04-10 11:34:30 +10:00
amaitland
9801cc55fc
Untabify
2017-04-10 11:12:45 +10:00
amaitland
c953bb5675
Merge branch 'master' of https://github.com/GrabzIt/CefSharp
2017-04-10 11:12:08 +10:00
amaitland
858bfd3cf6
Upgrade to CEF 3.2987.1601
2017-04-10 11:11:41 +10:00
GrabzIt
2526c818fc
Added support for PDF scaling
2017-04-08 10:48:43 +01:00
Chris
d03e4a44bd
Made LoadHtml register a "one-time use" handler
2017-04-07 14:22:47 +02:00
Chris
563505c3c6
Made it possible to register a "one-time use" ResourceHandler
2017-04-07 14:18:05 +02:00
amaitland
b357b736bb
Set ResponseLength when Stream.CanSeek
...
Don't attempt to write bytes when the bytesRead count is 0
2017-04-06 17:25:34 +10:00
amaitland
440cc7a67c
Remove ResourceHandler.FromFileName - was marked as Obsolete a while back
2017-04-06 16:05:18 +10:00
amaitland
9bbe75f287
Upgrade to CEF 3.2987.1599
2017-04-06 12:20:59 +10:00
Chris
25be728b74
Moved structs into a Structs folder ( #2006 )
2017-04-05 21:55:54 +10:00
Chris
41b038a6b5
Fixed NullReferenceException in DoClose ( #1980 )
...
* Fixed NullReferenceException in DoClose
2017-03-31 07:29:32 +10:00
Alex Maitland
d1a7f5b65b
Update CONTRIBUTING.md
...
Fix header markdown
2017-03-31 06:27:38 +10:00
Alex Maitland
f98833f561
Update ISSUE_TEMPLATE.md
...
Looks like `GitHub` have broken their `Markdown` parser. Reformat slightly so it's a least better, hopefully they'll fix soon.
2017-03-31 06:24:48 +10:00
amaitland
d0ce4ea20f
Add 57.0.0 branch details (branch to follow)
v57.0.0-pre01
2017-03-30 10:38:26 +10:00
amaitland
6ded700373
Add Recaptcha test - https://cefsharp.com/Recaptcha.html
2017-03-30 07:55:47 +10:00
amaitland
6d7e21bb62
Revert "Disable VS hosting process for x64"
...
This reverts commit 26574eb2f6 .
2017-03-29 16:15:04 +10:00
amaitland
6d88927be8
Upgrade to CEF 3.2987.1597
2017-03-29 16:12:49 +10:00
amaitland
d60d1b73c8
SetCanExecuteJavascriptOnMainFrame was only being set when there was a RenderProcessMessageHandler assigned, change so it's always set
...
Improve the formatting of the exception thrown
2017-03-28 10:03:21 +10:00
amaitland
eecf3aded9
Add IWebBrowser.CanExecuteJavascriptInMainFrame property, set to true/false when V8Context is created/released
...
Added checks in the execute/eval javscript methods in WebBrowserExtensions
Made possibly by the addition of OnContextReleased IPC message being added
2017-03-28 09:43:59 +10:00
amaitland
0a2693fa9b
IsCorsEnabled should be true in most cases where IsStandard is true (we default IsStandard to true)
...
Default IsSecure = true - seems like a logical default
2017-03-27 15:46:35 +10:00
amaitland
b432d5aa38
Change IBrowserHost.SendMouse* to use the MouseEvent struct (added some extension methods to maintain API compatibility)
...
Review classes and structs
Added constructor to structs where all fields were required
Made some classes sealed, mostly those that are passed into the framework where subclassing and adding methods/properties wouldn't make sense
2017-03-27 15:46:34 +10:00
Chris
5132883d9e
Changed from Uri.ToString to Uri.AbsoluteUri ( #1994 )
2017-03-27 09:27:54 +10:00
Alex Maitland
223334b025
Update Readme.txt
...
Update Designer support comment
Add MSDN reference for changing solution platform.
2017-03-22 12:05:44 +10:00
amaitland
aba002a8d7
Start of class/struct cleanup - classes like WebPluginInfo should really have private setters, make it clearer than the values provided are readonly
...
Remove Plugin and replace with WebPluginInfo - resolves #1991
Still need to revisit the class/struct debate
2017-03-21 12:26:35 +10:00
amaitland
488b1d091a
WPF - Minor internal method name changes and tweak a few comments
2017-03-21 10:13:44 +10:00
amaitland
3bc9ca1898
Move Enums into their own folder (again not changing the namespace as to avoid breaking the public API, at least for now)
...
Add copyright disclaimer to JavascriptResponse
Remove Kernel32.OutputDebugString calls and replace with Debug.WriteLine
Removed ScriptException and ResponseAction - unused classes
Rename CefCursorType to CursorType - wasn't exposed as part of the public API so can rename
2017-03-21 10:05:38 +10:00
Chris
a35a030ee8
Added minimal WPF designer support ( #1989 )
2017-03-20 11:35:09 +10:00
amaitland
910df4877a
Make callback ids unique within the render process to avoid overlay between different contexts - was possible to dispose of a callback on a different context to which it was created as the Ids were the same
...
Add IJavascriptCallback.Id - mostly for debugging purposes
2017-03-16 15:32:38 +10:00
amaitland
a86e03b6ef
Update appveyor.yml to 57.0.0
...
Add appveyor.yml to CefSharp3.sln so it's easier to find and replace the version number
2017-03-14 06:11:46 +10:00
João Neves
bc83d6c247
Allow calling managed methods from objects bound with RegisterAsyncJsObject that return arrays of structs ( #1981 )
...
* Fixed problem when calling CefV8Value::CreateArray. Needs prior call to V8 context enter
* Call callback dispose in case of failure
* Support serialization of struct arrays to JS side
* Fixed formatting
2017-03-13 21:37:55 +10:00
amaitland
26574eb2f6
Disable VS hosting process for x64
2017-03-13 11:08:40 +10:00
amaitland
e5ecfde20f
Upgrade version number to 57.0.0
...
Upgrade to cef.redist.x86.3.2987.1591
CefSchemeRegistrar::AddCustomScheme has new params - IsSecure and IsCorsEnabled
Also new CefRawPtr type is used for Scheme registra
2017-03-13 10:58:03 +10:00
amaitland
789888f4c9
Merge branch 'remove-caretbrowsing-setting' of https://github.com/mtschoen/CefSharp
2017-03-13 10:26:52 +10:00
amaitland
6173f4db43
Change PluginVisitor to accept the newly added IWebPluginInfoVisitor
...
Extract PluginVisitor TaskCompletionSource out into TaskWebPluginInfoVisitor
2017-03-10 15:31:25 +10:00
amaitland
43aa8a35ea
Remove IBrowserHost.PrintToPdfAsync - code is now implemented in the PrintToPdfAsync extension method
2017-03-10 14:43:35 +10:00
amaitland
423fc2a806
OnBeforePopup - throw exception if newBrowser == _browserControl (should never be)
2017-03-10 11:59:05 +10:00
amaitland
e596199c6c
Merge branch 'mouse-capture-crash' of https://github.com/taylorjonl/CefSharp
2017-03-08 10:24:56 +10:00
amaitland
d3a8f3a432
Revert "WPF - Remove Mouse.Capture and directly forward popup mouse events Resolves #1723 "
...
This reverts commit c0e8e8ef8d .
2017-03-08 10:20:04 +10:00
amaitland
85f80471bb
IFrame - Add additional xml comment, the underlying CEF framework will return a invalid frame with a identifier < 0
...
CefSharpBrowserWrapper::GetFrame - Only return frame if a valid reference is obtained
2017-03-07 11:05:31 +10:00
amaitland
5d459a5d32
Add IRenderProcessMessageHandler.OnContextReleased - native IPC message sent from render process
2017-03-07 09:23:10 +10:00
amaitland
8ff319fdb5
Update ClientAdapter::OnBeforeClose to use auto dispose method and improve the comment
2017-03-06 09:10:38 +10:00
amaitland
04ff93817e
Add https://pixabay.com/en/beach-pacific-coastline-ocean-coast-2089936/ to CefSharp.Example as embedded resource - test loading of image using browser.RegisterResourceHandler
2017-03-06 08:57:11 +10:00
amaitland
e130d7e36b
WPF - Remove volatile keyword from disposeCount and browserInitialized - switch to using Interlocked class
2017-03-06 08:56:32 +10:00
amaitland
760d81dc23
Change PostDataAjaxTest.html to use https scheme and add CrossOriginWhilstList entry (AJAX post data for custom schemes stopped working ages ago, this just works around the problem).
2017-03-06 08:55:08 +10:00
amaitland
d3e5249b9f
Move most of the logic from CefSharpSchemeHandler into CefSharpSchemeHandlerFactory and use the ResourceHandler.FromStream/FromString methods instead
...
People keep implement IResourceHandler directly, so update the examples in hopes they use the build in methods
2017-03-06 08:55:08 +10:00
amaitland
699a181f95
Change IResourceHandler.ProcessRequest lifetime handling for IRequest
...
Previous it was disposed immediately after the method had executed which made it hard to execute
in an async fashion (which is possible with the callback)
2017-03-06 08:55:08 +10:00
amaitland
7bf33f4a36
Expose ResourceH.GetMemoryStream - turns a string into a memory stream and optionally appends a BOM to the beginning
2017-03-06 08:55:07 +10:00
amaitland
eee0a9e9d1
Add example of new CookieManager code
2017-03-06 08:55:07 +10:00