Commit Graph

243 Commits

Author SHA1 Message Date
amaitland d20599a5b2 Change selectedAcceptFilter to a ref param as the initial value was being hidden by using an out param 2015-06-09 14:47:48 +10:00
amaitland 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

Conflicts:
	CefSharp.Core/Internals/ClientAdapter.cpp
	CefSharp.Core/Internals/ClientAdapter.h
2015-06-09 14:43:18 +10:00
amaitland adc47f075f Update to 2272 nuget packages
Updated OnCertificateError and OnFileDialog as API changed - build now compiles

Conflicts:
	CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj
	CefSharp.BrowserSubprocess.Core/packages.config
	CefSharp.Core/CefSharp.Core.vcxproj
	CefSharp.Core/packages.config
	CefSharp.OffScreen.Example/packages.config
	CefSharp.Test/packages.config
	CefSharp.WinForms.Example/packages.config
	CefSharp.Wpf.Example/packages.config
2015-06-09 14:35:52 +10:00
amaitland 59ded0957d Add disable-plugins-discovery example 2015-05-13 09:25:55 +10:00
amaitland d90b30dbae Specify cache path for CefExample, so data is persisted (outputs to a cache folder in the current app directory path).
Add debug-plugin-loading command line argument example
2015-05-13 09:20:15 +10:00
Harald van Dijk 3043b4192b Automatically detect Windows XP. 2015-05-08 20:09:46 +02:00
amaitland 232a180cf9 Update CEF Google Code references to new bitbucket site 2015-04-26 08:02:30 +10:00
amaitland c24607286b Cherry picked changes from https://github.com/cefsharp/CefSharp/pull/972
Remove empty set from BoundObject example
Untabify BrowserProcessResponse
Make CamelCaseJavascriptNames (consistency, class should probably be made internal as a whole)
make JavascriptObjectRepository.CreateJavascriptObject private
Remove redundant using
2015-04-25 11:48:58 +10:00
Erguotou 9eb61f5945 Added a few KnownTypes to support value type arrays 2015-04-25 11:48:58 +10:00
amaitland 3e3ea4f305 Running example apps in Debug were failing the dependency check as the browsersubprocess resources aren't present.
For now disable check when using the debugger, will look at other solutions
2015-04-23 07:49:00 +10:00
amaitland f3f03cb7b9 Untabify 2015-04-14 13:31:06 +10:00
amaitland 5c43063670 Take PR #896 and add code to CefExample project - proxy lookup 2015-04-14 13:29:47 +10:00
amaitland a82ac6e770 Add OnContextInitialized example to CefExample 2015-04-07 21:48:36 +10:00
Alex Maitland a434d3ca6a Merge pull request #900 from amaitland/feature/dependencychecker
Implement DependencyChecker
2015-04-02 10:08:49 +10:00
amaitland fe59df92ac Cleanup OnBeforeResourceLoad - Remove IResponse and Response classes, to perform Redirect simply set the IRequest.Url 2015-03-28 19:56:26 +10:00
amaitland 4ad11e7261 Move dependency check call into Cef.Initialize() - currently not enabled by default 2015-03-25 13:59:35 +10:00
amaitland 3a47bbbedd Added IsWindowsXp special case (It's not the best code in the world, don't think it's worth spending too much time on though)
Use Path.Combine instead of manual string concat
2015-03-25 13:53:47 +10:00
amaitland 76ea44930a Add packLoadingDisabled check 2015-03-25 12:06:50 +10:00
amaitland be41287497 Refactor to pass params directly in from CefSettings - make life easier then implementing checks in Cef.Initialize() 2015-03-25 12:05:11 +10:00
amaitland a188b862c4 Refactor code so now AssetAllDependenciesPresent throws an exception if dependencies missing
Error message needs some work
2015-03-25 11:34:35 +10:00
amaitland ce3274032b Fix typo in CefExample 2015-03-25 11:20:00 +10:00
amaitland a17b145968 Expand Locale support to check CefSettings for user specified values
For now code is in `CefExample` will eventually be moved into `Cef.Initialize()`
2015-03-25 11:19:44 +10:00
amaitland 0eda96841c Add rough draft of DependencyChecker - loops through list of all Cef/CefSharp dependencies 2015-03-24 10:58:43 +10:00
amaitland f4b3a462b9 Merge remote-tracking branch 'remotes/upstream/master' into feature/jsb-callback 2015-03-19 11:20:48 +10:00
amaitland 0572ef6a25 Add isMainFrame to OnBeforeResourceLoad 2015-03-18 17:44:19 +10:00
dimas 16bc1215ee Passing IsMainFrame as parameter to the OnBeforeBrowse 2015-03-18 13:15:25 +08:00
amaitland 0f48c637db Execute jsb callback in a Task 2015-03-12 11:48:42 +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
amaitland c9d65caa49 Reformat BindingTest.html 2015-03-11 11:47:06 +10:00
David Serfozo 609b13a758 few tests for js callback 2015-03-08 16:23:49 +01:00
Alex Maitland 6fca20b632 Merge pull request #857 from rassilon/CleanupResourceHandler
Rename IResourceHandler to IResourceHandlerFactory.
2015-03-05 18:26:58 +10:00
rassilon a04d3c6eb8 Rename IResourceHandler to IResourceHandlerFactory. 2015-03-02 23:08:04 -05:00
rassilon a300631954 Do a little cleaning up of StreamAdapter to more effeciently deal with MemoryStreams, and add lame header to ResourceHandler usage in CefExample.cs.
Additionally, allocate Headers NameValueCollection in constructor.
2015-03-02 19:02:37 -05:00
amaitland b25bb891ba Add UserAgent example 2015-02-27 10:36:06 +10:00
amaitland e6c2e13078 Add no-proxy-server example command line args 2015-02-24 23:46:44 +10:00
amaitland a17e29d1b9 Merge branch 'issue-672' of https://github.com/rassilon/CefSharp 2015-02-24 13:21:00 +10:00
amaitland 0e230aa957 Add link to chromium command line args 2015-02-19 15:11:55 +10:00
amaitland 5223bbb794 Add --disable-direct-write command line example 2015-02-19 15:10:22 +10:00
rassilon 7c3dcb656e * Code Review changes
* Add float right select drop down for additional move test.
2015-02-11 17:30:33 -05:00
amaitland 572f2bfc70 Add --enable-media-stream to CefExample (how to enable webrtc) 2015-02-08 21:03:41 +10:00
pushplay ef2463d608 Fixes suggested by @jankurianski 2015-01-28 14:38:19 -08:00
amaitland 953d917226 Add JSB support for Methods with optional params 2015-01-22 12:54:38 +10:00
amaitland a0460e83d8 When running stress test of the latest branch (using http://ie.microsoft.com/testdrive/performance/fishbowl/) a ContextSwitchDeadlock exception occurred.
Problem is reproducible, happens after a minute or two. Changing the recently updated schema handler code seems to resolve the problem.
(ContextSwitchDeadlock debugging info http://stackoverflow.com/a/2797936)
2015-01-16 19:40:11 +10:00
amaitland 928da8df5e Update ProcessRequestAsync example to execute in an async fashion 2015-01-16 17:40:09 +10:00
amaitland 973da2813a Upgrade CefSharp.Example.csproj to .net 4.5 2015-01-16 17:39:19 +10:00
amaitland 4562b984ab Merge remote-tracking branch 'remotes/upstream/master' into cef/2171 2015-01-16 11:53:25 +10:00
amaitland eded174711 Add example disable gpu command line args to example 2015-01-14 08:02:35 +10:00
amaitland fce5f06362 Remove unused resultString param, CefJSDialogCallback->Continue is used for multiple callbacks, in this case only the success param is required.
Change isReload to a normal param (was an out param), so the user can be notified correctly
Add some rough documentation to IJsDialogHandlerAdd some additional comments to JsDialogHandler for demonstrating code to users

Add JsDialogHandler that implements the default behavior
Assign in the WinForms example

Fix typo in IRequestHandler
2015-01-11 14:05:10 +10:00
amaitland e68b11a5db Add simple test case of bound.getSubObject().simpleProperty to BindingTest.html 2015-01-09 12:35:03 +10:00