Commit Graph

277 Commits

Author SHA1 Message Date
amaitland 766da920ac Add license disclaimer to new CefSharpArguments class (also some browsersubprocess classes) 2015-06-25 10:37:56 +10:00
David Serfozo b1c7a2b791 CefWcfRenderProcess removed;;examples updated;;added exceptions 2015-06-24 21:38:51 +02:00
David Serfozo 4d62f6ad8e wcf made switchable 2015-06-20 19:50:48 +02:00
amaitland 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
2015-06-20 22:24:46 +10:00
rassilon 7128e40fd1 It's time for copyright updates again. Yay!
Throw in a couple of tab containing files for good measure.
Evil tabs, evil I say.
2015-04-25 02:45:21 -04:00
amaitland 222cb49ae8 Update version numbers from 39 to 41 for assemblies and manifests 2015-03-31 12:55:00 +10:00
David Serfozo 4468961b5e reverted formatting issues, removed entry from DotSettings and fixed copyright notice 2015-03-09 20:19:01 +01:00
David Serfozo 98ba30bf5d added wcf operations to do javascript callbacks 2015-03-08 13:22:56 +01:00
amaitland 700ed67afe Update app.manifest to version 39 2015-01-20 18:50:33 +10:00
amaitland 9f7729c037 IRenderProcess - IncludeExceptionDetailInFaults=true 2015-01-17 00:05:42 +10:00
amaitland 5cc66592c2 Update assemblyIdentity to include correct version and app name 2014-12-16 15:21:38 +10:00
amaitland a8885defed Reformat app.manifest files - was too verbose 2014-12-16 15:21:03 +10:00
Alex Maitland 997e7eda3e Merge pull request #664 from jimnoble/master
Add DPI-Aware Manifests for High DPI Support
2014-12-16 15:13:24 +10:00
amaitland 372f070d8f For popups don't Connect to the Browser process (Attempt to fix issue #614) 2014-12-09 18:35:12 +10:00
James Noble III 3885aec88b Add DPI-Aware Manifests for High DPI Support
add dpi-aware manifest to BrowserSubprocess and WinForms.Example
projects
update .gitignore to allow .manifest files
2014-12-03 19:14:15 -05:00
amaitland 06e2a1a86d Slightly modified fix for #622 based on https://github.com/cefsharp/CefSharp/pull/626 2014-11-21 11:23:33 +10:00
Sylvain Hamel 678f45835c CefRenderProcess process creates too many channels (and does not close them) 2014-11-11 09:06:52 -05:00
amaitland 0f4fb532af Cleanup after Browser Destroyed 2014-10-30 11:21:32 +10:00
amaitland 346239800a Merge branch 'js_binding_browser' of https://github.com/Octopus-ITSM/CefSharp into JsBinding_WIP 2014-10-30 10:55:52 +10:00
Sylvain Hamel 29e5e61160 Fix: js bindings must be kept by browser, not by process 2014-10-29 08:10:40 -04:00
jankurianski 66e8d00427 BrowserSubprocess now targets .NET 4 Client Profile 2014-10-20 14:30:36 +10:00
Bjarte Skogøy 17b56e694a brackets and removing commented code 2014-09-25 13:49:39 +02:00
Bjarte Skogøy 717c0eedbf Use Begin/End pattern to not break .Net 4 compatibility. 2014-09-24 14:13:09 +02:00
amaitland 6f2e316cee Improve EvaluateScriptAsync error handling 2014-09-17 13:53:03 +10:00
amaitland 00b6fc683b Pass a delegate to Create the WCF proxy through the layers of JS binding objects 2014-09-16 13:21:04 +10:00
amaitland e74f48a46b When Browser is popup then use the parent browser Id to connect to the WCF endpoint 2014-09-16 12:23:15 +10:00
amaitland 1c41c051c4 Keep track of all open browsers in Render process for JS execution and later disposal 2014-09-16 12:16:31 +10:00
amaitland be73858233 Include BrowserId in EvaluateScriptAsync WCF call - needed for when there are multiple browser instances created in the one render process 2014-09-16 11:53:07 +10:00
amaitland 0c4ef2099c Move TaskFactory into CefAppWrapper(RenderProcess) so it can be reused rather than recreating for every browser object 2014-09-16 11:42:18 +10:00
amaitland a7c2b8bac8 Revert to previous debugging method as change wasn't working correctly. 2014-09-15 22:08:45 +10:00
amaitland a5dc5ebea2 Another debugging option for render process, can be passed in from user code, so could be handy for 3rd party debugging 2014-09-15 21:44:03 +10:00
amaitland 286b590960 Rename EvaluateScript to EvaluateScriptAsync for consistency 2014-09-15 12:15:48 +10:00
amaitland 6505f43b15 EvaluateScript now accepts a nullable timespan and only executes a timeout if a value is specified 2014-09-15 12:11:31 +10:00
amaitland fdb8af9a45 Keep reference to parentBrowserId so can connect to WCF channel, the subsiquent browsers created for the popups still need to reference the Parent Browser Id 2014-09-15 11:38:14 +10:00
amaitland 74ee6637c2 Add some error handling for opening the WCF Proxy 2014-09-15 00:07:00 +10:00
amaitland 903a56ad80 Close ChannelFactory when Browser destroyed 2014-09-12 14:52:54 +10:00
amaitland dc2ce6c998 Add OnBrowserDestroyed Action and invoke when Cef triggers OnBrowserDestroyed 2014-09-12 14:52:01 +10:00
amaitland a17b49596e Add Connect() method to IBrowserProcess so it's clearly understood when a new render process is created
Update OperationContext every time Connect() is called
2014-09-12 14:47:08 +10:00
amaitland c5f1034109 Remove CefBrowserBase and Merge code into CefBrowserWrapper - More code simplification 2014-09-12 12:05:20 +10:00
amaitland 460c5f5c08 Remove ManagedCefApp base class and move methods into CefAppWrapper 2014-09-12 00:37:36 +10:00
amaitland 8da833891c Only display MessageBox for CefRenderProcess (little crude, though stops having two message boxes appear when predominantly interested in the RenderProcess, not the GPU process) 2014-09-11 23:43:26 +10:00
amaitland 9b4c877a50 Remove unused property getter 2014-09-11 23:39:07 +10:00
amaitland 2c159ee1b6 Changed frameId to long as frame->GetIdentifier() returns long 2014-09-02 21:28:43 +10:00
amaitland 2c4d179c5d Change ExecuteScriptAsync to return JavascriptResponse so error messages and result can be returned 2014-09-02 12:02:32 +10:00
amaitland 4e1a9ece35 Remove debugging code 2014-08-29 12:56:15 +10:00
amaitland b714cf759e Change timeout to timespan 2014-08-29 12:37:33 +10:00
amaitland ca4cd6b9a5 Finish importing #289, script is now executed as a task using CefTaskScheduler 2014-08-29 12:32:52 +10:00
amaitland 5faa2a2e5a Import CefTaskScheduler from @JanEggers TaskPattern branch 2014-08-29 11:57:33 +10:00
amaitland e9fdeceb63 Change IRenderProcess to return Task<object> - moving towards having proper WCF async 2014-08-29 11:15:54 +10:00
amaitland ab21e24211 Create static method for init of NetNamedPipeBinding so can set MaxReceivedMessageSize (to 16MB) 2014-08-29 09:37:13 +10:00