Commit Graph

38 Commits

Author SHA1 Message Date
Chris bef5dd37c4 Maintenance - Fixed formatting, file encoding, and copyright year (#2504)
* Applied formatting

* Fixed file encoding + Updated copyright year

* Updated License

* Fixed more file encoding

* Copyright notice now shows the year the file was created
2018-09-10 10:41:13 +10:00
Chris cd934267c6 Updated copyright year and made sure it used same format everywhere (#1966) 2017-03-06 08:44:37 +10:00
amaitland 627f80c8ec Pass in only the required params into BrowserProcessServiceHost - was passing in the browser adapter which wasn't strictly required.
Pass the IBrowser instance into IWebBrowserInternal.OnAfterBrowserCreated
Keep a reference to IBrowser in the ChromiumWebBrowser instances (reduces the number of GetBrowser calls and also makes it clearer internally when the browser variable is set)
2016-01-12 14:01:37 +10:00
amaitland bae3c28e92 Update copyright to 2016 2016-01-11 14:11:30 +10:00
amaitland 3861ebec3d Remove some unused WCF pieces now that native IPC is used to register js binding objects 2015-08-07 13:24:50 +10:00
David Serfozo d6661df344 removed unnecessary code from previous js callback implementation 2015-07-07 19:30:50 +02:00
David Serfozo 7c9a449158 added new IJavascriptCallback implementation into the pipeline 2015-07-07 19:30:43 +02:00
David Serfozo 93a61c1442 removed unneeded eval script related methods 2015-06-27 19:01:52 +02:00
David Serfozo 762d94942a added jscallback support for new evaluatescript implementation 2015-06-27 19:01:41 +02:00
rassilon eab58306c1 Merge remote-tracking branch 'origin/master' into development
Merges master into the formerly cef/2272 branch.

Conflicts:
	CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj
	CefSharp.BrowserSubprocess.Core/packages.config
	CefSharp.Core/CefSharp.Core.vcxproj
	CefSharp.Core/Internals/ClientAdapter.cpp
	CefSharp.Core/Internals/ClientAdapter.h
	CefSharp.Core/packages.config
	CefSharp.Example/RequestHandler.cs
	CefSharp.Example/TempFileDialogHandler.cs
	CefSharp.OffScreen.Example/packages.config
	CefSharp.Test/packages.config
	CefSharp.WinForms.Example/packages.config
	CefSharp.Wpf.Example/packages.config
	CefSharp/IDialogHandler.cs
	CefSharp/IKeyboardHandler.cs
	CefSharp/IRequestHandler.cs
	build.ps1
2015-06-10 11:31:16 -04:00
rassilon fd0f8499fc Add example Ctrl-T menu handler that gets invoked when you have focus inside browser. 2015-06-09 23:29:09 -04: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 1d2b5fa55c Up the WCF MaxRecieveMessageSize as per discussion in https://github.com/cefsharp/CefSharp/issues/958#issuecomment-94410222
It's now 128MB in line with the Chromium IPC
2015-04-20 21:37:24 +10:00
amaitland a5688b4510 Revert "Remove WCF Surrogate and inject browser host"
This reverts commit 746e51432a.
2015-03-12 11:08:01 +10:00
amaitland 746e51432a Remove WCF Surrogate and inject browser host 2015-03-11 14:46:36 +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 0644cf1c18 added actual callback code on browserprocess side and IJavascriptCallback 2015-03-08 16:15:41 +01:00
David Serfozo 754bf3f913 added browserprocess side of javascriptcallback and wcf classes for conversion 2015-03-08 13:18:20 +01:00
Alex Maitland e28a31e04a Merge pull request #612 from bjarteskogoy/fix/bindingDictionarySize
Set reader quotas to max value. Any reason not to?
2014-11-21 11:46:19 +10:00
amaitland 37c8c861bd Close the client channel before closing the ServiceHost 2014-11-20 14:05:25 +10:00
Bjarte Skogøy f7612f59cf Set all quotas to int.MaxValue 2014-11-18 20:13:49 +01:00
Bjarte Skogøy 9382889ba8 - Set reader quotas to max value. Any reason not to? 2014-11-18 20:13:48 +01:00
amaitland 7bf0d1159f Split BeginEvaluateScriptAsync call into two lines, makes more readable and also meets Max columns of 132 style 2014-10-01 22:44:45 +10:00
Bjarte Skogøy 717c0eedbf Use Begin/End pattern to not break .Net 4 compatibility. 2014-09-24 14:13:09 +02:00
Bodekaer 99040f9a1a Fixed #482 WCF timeout issue 2014-09-19 09:59:40 +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 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 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 0cf75435eb Cef appears to create a new SubProcess for every web page viewed, so as a short term fix check if TaskCompletionSource has already been completed 2014-09-11 22:55:19 +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 779f29fe1b Tinkering with WCF and service callbacks
Add TaskCompletionSource so that script task will execute after a reference to the OperationContext has been obtained (Can then call GetCallbackChannel)
2014-09-01 15:29:22 +10:00
amaitland 0b4d80a460 Add License disclaimer 2014-08-29 12:39:53 +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
amaitland 901a6358cb Change BrowserProcessService to reference JavascriptObjectRepository directly - simplifies code
Also had to fix up int to long conversion as Id must have changed types at some point
2014-08-28 12:53:36 +10:00
Per Lundberg b60de42153 And again, similar. :) 2014-06-12 02:48:17 +03:00
Per Lundberg 55ac83c546 Similar changes. 2014-06-12 02:46:47 +03:00
Per Lundberg 01a2e27275 Likewise. 2014-06-12 02:45:09 +03:00