Commit Graph

  • e94f063b47 WPF - Change from storing a reference to the Matrix to having a DpiScaleFactor property, can be used to manually set the scale factor. If the scale factor is set after the browser has been created then it's necessary to manually call IBrowserHost.NotifyScreenInfoChanged amaitland 2017-05-30 14:19:13 +10:00
  • fe026a8f9e Add IWebBrowser.GetHost() extension method - make it easier to directly get the IBrowserHost reference amaitland 2017-05-29 13:49:23 +10:00
  • c2891c5d1e Add protected virtual methods for the most common IRenderWebBrowser methods that users would need to override. Still maintain the explicit interface methods - prefer the additional compiler checks and readability Rename IRenderWebBrowser.InvokeRenderAsync to OnPaint - keeps inline with CEF naming Added better comments to IRenderWebBrowser.OnPaint amaitland 2017-05-29 12:43:21 +10:00
  • b2143f60d1 Add IWebBrowser.LoadUrlWithPostData extension method (in WebBrowserExtensions) - simplifies calling LoadRequest Add IPostData.AddData extension method (in PostDataExtensions) WPF Example change from calling LoadRequest to using new LoadUrlWithPostData extension method amaitland 2017-05-26 11:24:45 +10:00
  • d8520e8166 WPF - Hook the parent Window.StateChanged event and call IBrowserHost.WasHidden depending on visibility. Seems like the only reliable way to determine when the window was minimized/restored Should improve performance when browser is hidden amaitland 2017-05-22 16:17:32 +10:00
  • f93a387593 Use fully qualified cli::array as it appears VS2015 gets confused with the generic std::array (must be in the newer C++ library as code builds fine in VS2013) amaitland 2017-05-16 23:13:06 +10:00
  • 7ba2de4392 Example - RequestHandler: Throw exception on invalid URI (#2047) Chris 2017-05-15 17:28:01 +02:00
  • 2b7bdf863f Updated OnTooltipChanged to allow for modifying text (#1953) Chris 2017-05-15 02:52:02 +02:00
  • 1609379ffe Update Readme with correct version of VC++ Version (#2043) Eirik Mildestveit Hammerstad 2017-05-11 11:46:46 +02:00
  • ab4e513693 Improve ByteArrayResourceHandler and FileResourceHandler comments They should probably be renamed before the next version is branched, give a better indication they're classes that represent unmanaged CEF implementations amaitland 2017-05-11 13:02:13 +10:00
  • 504d04dc43 Include FindReplaceMultiResponseFilter in example project, update it's copyright year and tweak it's formatting amaitland 2017-05-08 16:02:46 +10:00
  • 2cb7753b0b Add MemoryStreamResponseFilter example - data is copied into a memoryStream which can be read in IRequestHandler.OnResourceLoadComplete amaitland 2017-05-08 15:57:51 +10:00
  • 79b5a8e5a6 Add error logging for CefApp::OnRegisterCustomSchemes amaitland 2017-05-08 13:27:42 +10:00
  • c8d0127f31 In rare cases CefStreamReader::CreateForFile returns null - rather than causing a hard crash, log the error and return NULL amaitland 2017-05-08 13:22:57 +10:00
  • 16dbb10c61 Add ThrowExceptionIfCanExecuteJavascriptInMainFrameFalse method to reduce duplication. Improve error message, add info about V8Context not being created for pages with no javascript amaitland 2017-05-08 13:16:24 +10:00
  • 0067d02360 Add UnicodeExamples one equal to 32kb (the default buffer size) and one slightly greater. Change CefSharpSchemeHandlerFactory to always include a BOM (premable) to the front of the response data amaitland 2017-05-05 12:52:59 +10:00
  • 6691d0080a Refactor ResourceHandler, split FileResourceHandler out into it's own class, rather than relaying on ResourceHandlerType - this allows us to add more underlying CEF type wrappers without a huge amount of effort now. Add new ByteArrayResourceHandler - uses CefStreamReader::CreateForData to load the byte array, for use with CefStreamResourceHandler Add ResourceHandler.FromByteArray method for ease of use Change ResourceHandler.FromString to use the new ByteArrayResourceHandler class amaitland 2017-05-05 11:25:37 +10:00
  • 5b472f7258 Upgrade version numbers to 58 - this is for development purposes only, there is no planned 58 version, next version is 59 Upgrade to CEF 3.3029.1611.g44e39a8 / Chromium 58.0.3029.81 amaitland 2017-05-05 10:32:25 +10:00
  • 7ddca1be50 Update ISSUE_TEMPLATE.md Alex Maitland 2017-05-05 10:19:31 +10:00
  • 921c70fc14 Update CONTRIBUTING.md Alex Maitland 2017-05-05 10:18:42 +10:00
  • 767b478dc6 Add Experimental option where bound async methods are queued on TaskScheduler.Default. Set CefSharpSettings.ConcurrentTaskExecution = true; to enable this feature, should be set before the first ChromiumWebBrowser instance is created. amaitland 2017-05-04 12:53:48 +10:00
  • 3015bc31de Fix typo on IRenderProcessMessageHandler.OnContextCreated amaitland 2017-05-03 09:50:30 +10:00
  • 2d2fa023e6 Upgrade helpfile version numbers amaitland 2017-04-27 12:58:39 +10:00
  • 0866fefa1b Update CONTRIBUTING.md Alex Maitland 2017-04-22 06:52:14 +10:00
  • ef27fb5cf0 Enable implementation of GetScreenPoint (was commented out) Looks like the Point returned from PointToScreen is pre-scaled, so no need to perform a Transform amaitland 2017-04-19 12:23:13 +10:00
  • dac81cdc0e Update README.md for 57.0.0 release amaitland 2017-04-18 16:15:46 +10:00
  • c138ba2519 Remove experimental option #1 from WinForms LifeSpanHandler example - should use SetAsChild method instead (I know the example is incomplete, contributions welcome). newBrowser should only be used in WPF/OffScreen amaitland 2017-04-18 15:33:02 +10:00
  • 06da5d28c6 Update README.md Chris 2017-04-15 00:36:04 +02:00
  • 96d583c361 Used an array rather then creating a list then calling ToArray Chris 2017-04-13 15:52:49 +02:00
  • 8df4ec5342 Expanded proxy support, made it easier to set proxy settings (#2007) Chris 2017-04-12 02:43:11 +02:00
  • 71409abc9a Upgrade to CEF 3.2987.1601 v57.0.0 amaitland 2017-04-10 11:11:41 +10:00
  • 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 amaitland 2017-04-10 12:08:05 +10:00
  • 955867dfc1 Merge branch 'pr30' of https://github.com/merceyz/CefSharp amaitland 2017-04-10 11:34:30 +10:00
  • 9801cc55fc Untabify amaitland 2017-04-10 11:12:45 +10:00
  • c953bb5675 Merge branch 'master' of https://github.com/GrabzIt/CefSharp amaitland 2017-04-10 11:12:08 +10:00
  • 858bfd3cf6 Upgrade to CEF 3.2987.1601 amaitland 2017-04-10 11:11:41 +10:00
  • 2526c818fc Added support for PDF scaling GrabzIt 2017-04-08 10:48:43 +01:00
  • d03e4a44bd Made LoadHtml register a "one-time use" handler Chris 2017-04-07 14:22:47 +02:00
  • 563505c3c6 Made it possible to register a "one-time use" ResourceHandler Chris 2017-04-07 14:18:05 +02:00
  • b357b736bb Set ResponseLength when Stream.CanSeek Don't attempt to write bytes when the bytesRead count is 0 amaitland 2017-04-06 17:25:34 +10:00
  • 40a719ede3 Upgrade to CEF 3.2987.1599 amaitland 2017-04-06 12:20:59 +10:00
  • 440cc7a67c Remove ResourceHandler.FromFileName - was marked as Obsolete a while back amaitland 2017-04-06 16:05:18 +10:00
  • 9bbe75f287 Upgrade to CEF 3.2987.1599 amaitland 2017-04-06 12:20:59 +10:00
  • 25be728b74 Moved structs into a Structs folder (#2006) Chris 2017-04-05 13:55:54 +02:00
  • 325ec0f3cf Fixed NullReferenceException in DoClose (#1980) Chris 2017-03-30 23:29:32 +02:00
  • 41b038a6b5 Fixed NullReferenceException in DoClose (#1980) Chris 2017-03-30 23:29:32 +02:00
  • d1a7f5b65b Update CONTRIBUTING.md Alex Maitland 2017-03-31 06:27:38 +10:00
  • f98833f561 Update ISSUE_TEMPLATE.md Alex Maitland 2017-03-31 06:24:48 +10:00
  • d0ce4ea20f Add 57.0.0 branch details (branch to follow) v57.0.0-pre01 amaitland 2017-03-30 10:38:26 +10:00
  • 6ded700373 Add Recaptcha test - https://cefsharp.com/Recaptcha.html amaitland 2017-03-30 07:55:47 +10:00
  • 6d7e21bb62 Revert "Disable VS hosting process for x64" amaitland 2017-03-29 16:15:04 +10:00
  • 6d88927be8 Upgrade to CEF 3.2987.1597 amaitland 2017-03-29 16:12:49 +10:00
  • 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 amaitland 2017-03-28 10:03:21 +10:00
  • 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 amaitland 2017-03-28 09:43:59 +10:00
  • 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 amaitland 2017-03-22 09:54:50 +10:00
  • 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 amaitland 2017-03-21 14:40:40 +10:00
  • 5132883d9e Changed from Uri.ToString to Uri.AbsoluteUri (#1994) Chris 2017-03-27 01:27:54 +02:00
  • 223334b025 Update Readme.txt Alex Maitland 2017-03-22 12:05:44 +10:00
  • 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 amaitland 2017-03-21 11:46:08 +10:00
  • 488b1d091a WPF - Minor internal method name changes and tweak a few comments amaitland 2017-03-21 10:13:44 +10:00
  • 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 amaitland 2017-03-21 09:32:27 +10:00
  • a35a030ee8 Added minimal WPF designer support (#1989) Chris 2017-03-20 02:35:09 +01:00
  • 673ede5d36 Update sandcastle help file version numbers to 55.0.0 Fix some other xml comments and remove some unused fields - still lots of comments that could be added cefsharp/55 amaitland 2017-02-06 14:54:42 +10:00
  • 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 amaitland 2017-03-16 15:22:42 +10:00
  • 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 amaitland 2017-03-14 06:10:02 +10:00
  • bc83d6c247 Allow calling managed methods from objects bound with RegisterAsyncJsObject that return arrays of structs (#1981) João Neves 2017-03-13 11:37:55 +00:00
  • 26574eb2f6 Disable VS hosting process for x64 amaitland 2017-03-13 11:08:40 +10:00
  • 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 amaitland 2017-03-13 10:28:44 +10:00
  • 789888f4c9 Merge branch 'remove-caretbrowsing-setting' of https://github.com/mtschoen/CefSharp amaitland 2017-03-13 10:26:52 +10:00
  • 6173f4db43 Change PluginVisitor to accept the newly added IWebPluginInfoVisitor Extract PluginVisitor TaskCompletionSource out into TaskWebPluginInfoVisitor amaitland 2017-03-10 15:31:25 +10:00
  • 43aa8a35ea Remove IBrowserHost.PrintToPdfAsync - code is now implemented in the PrintToPdfAsync extension method amaitland 2017-03-10 14:43:35 +10:00
  • 423fc2a806 OnBeforePopup - throw exception if newBrowser == _browserControl (should never be) amaitland 2017-03-10 11:59:05 +10:00
  • e596199c6c Merge branch 'mouse-capture-crash' of https://github.com/taylorjonl/CefSharp amaitland 2017-03-08 10:24:56 +10:00
  • d3a8f3a432 Revert "WPF - Remove Mouse.Capture and directly forward popup mouse events Resolves #1723" amaitland 2017-03-08 10:20:04 +10:00
  • 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 amaitland 2017-03-07 11:00:53 +10:00
  • 5d459a5d32 Add IRenderProcessMessageHandler.OnContextReleased - native IPC message sent from render process amaitland 2017-03-07 09:23:10 +10:00
  • 8ff319fdb5 Update ClientAdapter::OnBeforeClose to use auto dispose method and improve the comment amaitland 2017-03-06 09:10:38 +10:00
  • 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 amaitland 2017-03-02 09:55:34 +10:00
  • e130d7e36b WPF - Remove volatile keyword from disposeCount and browserInitialized - switch to using Interlocked class amaitland 2017-03-01 14:05:46 +10:00
  • 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). amaitland 2017-03-02 15:09:55 +10:00
  • 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 amaitland 2017-03-02 14:14:24 +10:00
  • 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) amaitland 2017-03-02 14:13:23 +10:00
  • 7bf33f4a36 Expose ResourceH.GetMemoryStream - turns a string into a memory stream and optionally appends a BOM to the beginning amaitland 2017-03-02 14:11:26 +10:00
  • eee0a9e9d1 Add example of new CookieManager code amaitland 2017-02-27 10:03:31 +10:00
  • 6a437710b6 WinForms example use args.IsLoading rather than !args.CanReload amaitland 2017-02-23 12:37:44 +10:00
  • cd934267c6 Updated copyright year and made sure it used same format everywhere (#1966) Chris 2017-03-05 23:44:37 +01:00
  • 24841e73b4 Remove CaretBrowsing from IBrowserSettings to match latest CEF master cdcdfa99913a01f3617a0d25a2e2f2ed145987bd Matt Schoen 2017-02-26 19:28:06 -08:00
  • 20b1200010 WinForms Example - Add httpbin.org url to test menu amaitland 2017-02-24 09:02:04 +10:00
  • 65adaa1846 Update README.md Alex Maitland 2017-02-24 08:42:27 +10:00
  • 144dbe8f8a Made GetViewRect always round up (#1962) Chris 2017-02-23 21:57:26 +01:00
  • c0e8e8ef8d WPF - Remove Mouse.Capture and directly forward popup mouse events Resolves #1723 amaitland 2017-02-22 12:19:05 +10:00
  • 5c70fb4fb8 Removed Mouse capture in mouse events Jonathan Taylor 2017-02-21 19:05:09 -07:00
  • a89d4070af Updated build script and added assembly details to the C++CLI projects (#1947) Chris 2017-02-22 01:56:40 +01:00
  • ad29104605 Fixed WPF browser going blank when connecting over RDP (#1952) Chris 2017-02-20 03:30:46 +01:00
  • c827af48b3 Re-add call to Cef.RemoveDisposable amaitland 2017-02-16 19:24:49 +10:00
  • a9c29ae279 Refactor Dispose pattern - remove new Dispose override and destructor Design time checks are now implemented in the protected Dispose override Rename some methods amaitland 2017-02-16 19:10:52 +10:00
  • e844bed531 Add Minimal WinForms Designer Support (#1946) Chris 2017-02-16 10:11:33 +01:00
  • 55f2c82ac7 Fixed LoadHtml loading the Url even if RegisterHandler returns false (#1943) Chris 2017-02-15 01:01:35 +01:00
  • 74be8c8edf Remove SuppressOpen enum value to line up with CEF (#1942) Mike Bragg 2017-02-14 16:27:28 -05:00
  • e9da14822b Remove SuppressOpen enum value to line up with CEF (#1941) Mike Bragg 2017-02-14 16:27:09 -05:00