Commit Graph

  • 766da920ac Add license disclaimer to new CefSharpArguments class (also some browsersubprocess classes) amaitland 2015-06-25 10:37:56 +10:00
  • 2acc334570 Remove unused constructor from ResourceHandlerWrapper amaitland 2015-06-24 17:31:19 +10:00
  • 0a197a7701 Merge pull request #1094 from arsher/switchablewcf Alex Maitland 2015-06-25 10:33:56 +10:00
  • b1c7a2b791 CefWcfRenderProcess removed;;examples updated;;added exceptions David Serfozo 2015-06-24 21:30:27 +02:00
  • 996cb9a44c Revert to using embedded home page - added .html extension so the mimeType mapping picks up the correct type. Fix the StatusCode to 200 to represent success (minor type fix as was 300 before) amaitland 2015-06-24 17:00:37 +10:00
  • 4d62f6ad8e wcf made switchable David Serfozo 2015-06-13 10:49:08 +02:00
  • 34d5167ec3 Remove old render process code that showed a message box for purpose of attaching the debugger - was commented out Preferred method is to use the --renderer-startup-dialog command line flag https://github.com/cefsharp/CefSharp/blob/master/CefSharp.Example/CefExample.cs#L35 amaitland 2015-06-20 22:23:42 +10:00
  • 134aac271a Merge pull request #1079 from amaitland/continued/43 Alex Maitland 2015-06-19 09:04:20 +10:00
  • 1a62db2446 Allow the browser/frame instances to be active (i.e. non-disposed) until ResourceHandlerWrapper has completed processing for ResourceHandlers and Schemes. rassilon 2015-06-18 08:27:53 -04:00
  • 1912ee2e5a Fix build issue from prev. merge. rassilon 2015-06-18 07:59:39 -04:00
  • 1d2454b0bc Merge remote-tracking branch 'origin/master' into continued/43 rassilon 2015-06-18 07:56:59 -04:00
  • e334de4e39 Merge pull request #1077 from rassilon/ReduceObjectsBeingFinalized Bill Tutt 2015-06-18 07:54:36 -04:00
  • afb8aae4eb Fix things that break VS2012. rassilon 2015-06-17 19:13:42 -04:00
  • 82dca3b481 Merge remote-tracking branch 'rassilon_fork/ReduceObjectsBeingFinalized' into continued/43 rassilon 2015-06-17 18:42:57 -04:00
  • 8ec01da230 Use GetBrowserWrapper everywhere except popup creation/closing for all of ClientAdapter.cpp. rassilon 2015-06-17 18:14:07 -04:00
  • 0482e8d801 Now that OnLoadStart and OnLoadEnd simply fire event handlers remove the locking v41.0.0 amaitland 2015-04-08 11:07:10 +10:00
  • 048c594cf3 Remove IsLoadingChangedEventArgs amaitland 2015-04-08 11:05:12 +10:00
  • 864f9ea7a2 Rename GetResponseHeaders to GetResponse amaitland 2015-06-15 23:03:40 +10:00
  • fc23de42a2 Seems that Delegating Constructors are a VC++ 2013 feature and won't work in 2012 https://msdn.microsoft.com/en-au/library/dn387583.aspx amaitland 2015-06-15 22:41:18 +10:00
  • 4f1caf2410 Change to use IRequest instead (use interfaces for classes where possible) amaitland 2015-06-15 22:27:07 +10:00
  • c057c256c5 Cleanup - pass in CefRefPtr variables by reference (Should avoid an unnecessary call to AddRef) amaitland 2015-06-15 22:22:27 +10:00
  • a31064a7f5 Change IResponse to public amaitland 2015-06-15 22:07:38 +10:00
  • 6520379558 Guard against null reference exception when cleaning up JavascriptCallbackRegistry amaitland 2015-06-15 21:47:55 +10:00
  • 8c849036b1 CefBrowserWrapper was still implementing DisposableResource amaitland 2015-06-15 21:36:13 +10:00
  • 018598171a Add first draft of CefResponseWrapper amaitland 2015-06-15 21:14:49 +10:00
  • afbed86524 First draft of what is hopefully the final rewrite of ResourceHandler/SchemeHandler amaitland 2015-06-15 21:02:24 +10:00
  • c445a508ea Allow for ISchemeHandlerFactory.Create to return null (allow for default behaviour) Updated ISchemeHandlerFactory xml doc amaitland 2015-06-15 20:00:32 +10:00
  • 35d31bd533 Only set ResourceHandlerWrapper values if we plan to continue, if we Cancel they would be ignored amaitland 2015-06-15 19:03:35 +10:00
  • 63cc978ce6 Change CefRequestWrapper to use the IRequest interface instead amaitland 2015-06-15 18:46:34 +10:00
  • 4b245f1ab9 Revert "Be paranoid about _requestWrapper being disposed properly in ResourceHandlerWrapper." amaitland 2015-06-15 18:45:12 +10:00
  • ddff5f193d Merge branch 'ReduceObjectsBeingFinalized' of https://github.com/rassilon/CefSharp into continued/43 amaitland 2015-06-15 18:40:49 +10:00
  • 124cf84142 Wrap frame calls in using statements (Dispose will be ignored if frame null) amaitland 2015-06-15 12:21:22 +10:00
  • cbd47d7047 Revise documentation for IKeyboardHandler Remove references to |event| and |os_event| Remove duplicate return true/false statement for OnKeyEvent amaitland 2015-06-15 11:59:29 +10:00
  • 7a40a6576b Remove System.Windows.Forms reference from CefSharp.Example.csproj amaitland 2015-06-15 11:49:06 +10:00
  • 4f7302086b Be paranoid about _requestWrapper being disposed properly in ResourceHandlerWrapper. rassilon 2015-06-13 10:45:36 -04:00
  • 431cb511c3 * Move unmanged objects into finalizer and call finalizer from Dispose. * Remove DisposableResources from ManagedCefBrowserAdapter * Improve disposing of CefRequestWrapper * Have callbacks dispose themselves. * Allow the Application exit handler shutdown CEF from the Winforms example application. rassilon 2015-06-13 10:32:15 -04:00
  • 26ad951da4 Ensure IRequest is disposed. rassilon 2015-06-13 10:01:49 -04:00
  • 0ee782e8f4 Make this interface disposable so taht code analysis should hopefully remind users to call .Dispose on it. rassilon 2015-06-13 10:00:02 -04:00
  • 9212cd4ba0 Null out pointer to avoid accidentally causing a double release on the underlying refcounted pointer. rassilon 2015-06-13 09:59:11 -04:00
  • 9ab0ac88fa Merge pull request #1072 from amaitland/rewrite/api Alex Maitland 2015-06-12 13:18:27 +10:00
  • 5cf5fcf24c Few more tweaks to simplify getting the browser instance. Still need to move the wrapper out from ManagedCefBrowserAdapter and into ClientAdapter for the main CefBrowserWrapper amaitland 2015-06-11 13:33:35 +10:00
  • fb8be8c816 Remove outdated comment, both key params are passed through amaitland 2015-06-11 13:07:25 +10:00
  • 4dbd6e36a7 IPopupHandler now implements IKeyboardHandler At some point later on we can then consolidate the code in ClientAdapter to be much simpler amaitland 2015-06-11 12:40:32 +10:00
  • 169a8d1cf6 Dispose of CefContextMenuParamsWrapper amaitland 2015-06-11 12:28:20 +10:00
  • dc6f991065 Auto dispose of drag data amaitland 2015-06-11 12:25:38 +10:00
  • abeaca86a9 Reduce the amount of code required to get the cached popup instance amaitland 2015-06-11 12:24:32 +10:00
  • d2f9ab13b4 Rename entry to browserWrapper (same as all other instances) Remove the browserId variable - was really only there for debugging early on amaitland 2015-06-11 11:49:02 +10:00
  • 6aecd5e2bc Add IBrowser to ILifeSpanHandler.OnBeforeClose amaitland 2015-06-11 11:44:35 +10:00
  • a43090f04a Inline Close and CloseAllPopups code - use new wrapper class to close the main browser instance Might need a quick review amaitland 2015-06-11 11:34:56 +10:00
  • defe059908 Start making the wrapper/callback naming consistent Change to using auto where possible amaitland 2015-06-11 11:21:55 +10:00
  • 60be64f67b Add IBrowser to IRequestHandler.OnBeforeBrowse - reorder params to match CEF API Need to look at loading the cached browser instance amaitland 2015-06-11 11:06:19 +10:00
  • 801bebbbd0 Merge branch 'MorePopupHandlerWork' of https://github.com/rassilon/CefSharp amaitland 2015-06-11 09:45:55 +10:00
  • d0af09c82d Merge remote-tracking branch 'remotes/origin/cleanup/downloadhandler' amaitland 2015-06-11 09:33:41 +10:00
  • 79d8565d9e Add native_key_code paraameter to OnKeyEvent since it isn't exactly the same as windowsKeyCode on Windows. Update docs to adapt. rassilon 2015-06-10 19:22:00 -04:00
  • eab58306c1 Merge remote-tracking branch 'origin/master' into development rassilon 2015-06-10 11:31:16 -04:00
  • 13669e1f4e Merge pull request #1068 from rassilon/ImproveKeyboardHandlingDoc Bill Tutt 2015-06-10 00:40:42 -04:00
  • fdc0cc972a Ref parameters are simple after all. rassilon 2015-06-10 00:17:35 -04:00
  • b31ecf180e Push .csproj update. rassilon 2015-06-10 00:06:00 -04:00
  • e9bfe41b9c KeyboardHandler is WinForms specific. rassilon 2015-06-09 23:46:39 -04:00
  • 415ef3349b Add some additional commentary. rassilon 2015-06-09 23:41:05 -04:00
  • fd0f8499fc Add example Ctrl-T menu handler that gets invoked when you have focus inside browser. rassilon 2015-06-09 23:29:09 -04:00
  • 94e3fecae1 Make isKeyboardShortcut actually settable from the handler, and improve the IKeyboardHandler documentation. rassilon 2015-06-09 16:20:55 -04:00
  • 8ed3993eb6 Update appveyor.yml to version 41 amaitland 2015-06-09 15:13:25 +10:00
  • 294ed9081d Upgrade version numbers and packages version for 41.0.0 (3.2272.32) v41.0.0-pre01 amaitland 2015-06-09 14:50:00 +10:00
  • d20599a5b2 Change selectedAcceptFilter to a ref param as the initial value was being hidden by using an out param amaitland 2015-06-09 14:47:48 +10:00
  • d4630ead1a API changed for OnBeforeResourceLoad, OnCertificateError, OnQuotaRequest. For OnCertificateError, OnQuotaRequest the callback was changed to be a generic one, so no outward facing API change. With OnBeforeResourceLoad there is now a async callback which isn't used, the only two options that will work are Cancel or Continue amaitland 2015-04-28 14:04:35 +10:00
  • ebcf516ce6 Update CefFileDialogMode to reflect new values amaitland 2015-03-18 11:19:26 +10:00
  • adc47f075f Update to 2272 nuget packages amaitland 2015-03-18 11:13:49 +10:00
  • 724a06b3b8 CEF_REVISION is now CEF_VERSION (upstream changed when Cef migrated from svn to git) amaitland 2015-03-31 12:54:41 +10:00
  • ba0f49a313 Upgrade to 2272.30 amaitland 2015-06-09 14:18:31 +10:00
  • a92e44e4ad Move IBrowser into FrameLoadStart/EndEventArgs. Bill Tutt 2015-06-08 23:07:37 -04:00
  • a7ba17fbc2 The changes continue... Bill Tutt 2015-06-08 22:48:29 -04:00
  • b474b27bb9 Missed CefDownloadItemCallbackWrapper - set callback to null after callback amaitland 2015-06-05 15:58:03 +10:00
  • 721894feaf Reorder usings - remove redundant paths and group cef imports at the top amaitland 2015-06-05 15:46:11 +10:00
  • 74eb29e92a Rename callback wrappers to bring them inline with the new ones amaitland 2015-06-05 15:44:25 +10:00
  • 95fcf1623f Set callback to NULL after call has been made amaitland 2015-06-05 15:39:49 +10:00
  • bbaa58faed Expand ISchemeHandlerFactory to pass in browser, frame, schemeName and request amaitland 2015-06-05 13:40:27 +10:00
  • ce70ea25e4 Import basic error handling code from cefclient example (only added to WPF example for now) amaitland 2015-06-05 12:26:28 +10:00
  • c193020c72 Change public API to use Continue and Cancel methods - callback is then somewhat more consistent with other callback wrappers amaitland 2015-06-05 12:17:12 +10:00
  • c8d73574da Add cancel param to ProcessRequestCallback - previously only able to call the Continue() method on the callback amaitland 2015-06-05 12:12:33 +10:00
  • 54790a94c4 Remove return xml comments, not valid anymore amaitland 2015-06-05 12:02:55 +10:00
  • 3a330f4352 Here's some more, and the missing return stmt. GetResourceHandler of course doesn't go on PopupHandler. Bill Tutt 2015-06-03 00:14:43 -04:00
  • 6bda7b20aa Add CefAuthCallbackWrapper amaitland 2015-06-01 16:46:28 +10:00
  • 4b6af9448a Add CefFileDialogCallbackWrapper amaitland 2015-06-01 16:27:42 +10:00
  • 64379bc193 Start updating examples to Dispose() the callbacks Untabify IRequestCallback amaitland 2015-06-01 12:05:53 +10:00
  • 5ad3c3275b Make callbacks disposable amaitland 2015-06-01 12:02:01 +10:00
  • 053c2f0f3f Add CefGeolocationCallbackWrapper amaitland 2015-06-01 11:56:50 +10:00
  • e6e39e773a Add CefBeforeDownloadCallbackWrapper amaitland 2015-06-01 11:48:12 +10:00
  • 2ed594df66 Move CefDownloadItemCallbackWrapper into Internals folder/namespace amaitland 2015-06-01 11:38:53 +10:00
  • 6daff6e780 Update OnBeforeUnloadDialog to expose IJsDialogCallback Add a Continue overload to IJsDialogCallback to simplify use (just passes in an empty CefString) amaitland 2015-06-01 11:31:57 +10:00
  • 1d6bfa09a9 Simplify CloseAllPopups - can now use the IBrowserHost interface rather than casting amaitland 2015-06-01 11:19:06 +10:00
  • 3fb959f7ed Add CefDownloadItemCallback Wrapper - Can now Pause and Resume a download amaitland 2015-06-01 11:12:56 +10:00
  • 48d516edc0 Merge DownloadAdapter code into ClientAdapter - now consistent with other handler code Resolves the issue of passing in the browserAdapter instance amaitland 2015-06-01 10:49:14 +10:00
  • 6d3c45836d Update assembly version to 39.0.2 (This should actually have happened before 39.0.2 was released.....oh well, it'll still work of course) cefsharp/39 amaitland 2015-06-01 10:35:28 +10:00
  • 668738ed58 Add some more methods on IPopupHandler and call them. Bill Tutt 2015-05-29 01:33:44 -04:00
  • c9ce6c41f4 Merge pull request #1049 from Antonyo/master v39.0.2 Alex Maitland 2015-05-29 15:01:27 +10:00
  • bceb3db4c5 Merge remote-tracking branch 'origin/cef/2272' into cef/2272 Bill Tutt 2015-05-28 23:17:59 -04:00
  • 189e83b925 Merge pull request #1041 from amaitland/cleanup/code-duplication Bill Tutt 2015-05-28 23:17:56 -04:00
  • 12c330ad92 Merge remote-tracking branch 'origin/master' into cef/2272 Bill Tutt 2015-05-28 23:14:54 -04:00
  • 3ac316c3c6 Add IBrowser extension methods for IBrowserHost methods, and call from IWebBrowser extensions. Bill Tutt 2015-05-28 23:01:30 -04:00