4007 Commits

Author SHA1 Message Date
amaitland 16df485ffe Split paramArray and missing arg logic out into two if statements. Previously null was being replaced by Type.Missing.
Two seperate if statement branches allows for a method that has options params and a param array

Resolve #1673
v49.0.0
2016-05-03 20:09:02 +10:00
amaitland 5c20c7e920 Add default values to DependencyChecker.AssertAllDependenciesPresent - make it easier to execute stand alone 2016-05-03 20:09:00 +10:00
amaitland 29e0167e2d Update KeyboardHandler to ignore left, right, up, down as they were being cancelled
Some resharper inspired cleanup as well
2016-04-21 07:07:26 +10:00
amaitland 63ff0168a0 Comment out the enable-begin-frame-scheduling command line flag from OSR examples - DevTools wasn't working 2016-04-19 15:05:33 +10:00
amaitland d763dbbadd Add ShowDevtools menu item to WPF example 2016-04-19 14:59:40 +10:00
amaitland f850c125b7 Add new CefMenuCommand enum items 2016-04-19 14:23:13 +10:00
Akash Jana bd564d0a17 Fix Issue #1582, Use ToLowerInvariant while converting Function names to avoid culture specific conversion. 2016-04-18 13:52:59 +10:00
edgchen1 70961190ad Issue 1594 - Updated calls to GetBrowserWrapper()
Changed the returnNullIfBrowserNotFound parameter to true for some calls to GetBrowserWrapper() to prevent exceptions when closing a popup window.
2016-04-18 11:40:41 +10:00
amaitland 8ada754c01 Add enable-logging command line argument example v49.0.0-pre02 2016-04-11 08:00:41 +10:00
dga711 2cd49a2c60 Add some xml documentation (#1643)
* add some xml doc

* add missing drag xml doc

* xml doc corrections

* more xml doc
2016-04-11 08:00:41 +10:00
amaitland 8b5d0df37b Change new paramAray test methods in BindingTest.html to execute immediately (same as all the majority)
Revert changes to NuGet.config
Remove unused using statement from ScriptedMethodsBoundObject
Rename JavascriptMethod.Parameters to just JavascriptMethod.Parameters (it's in the context of the method so naming was redundant)
Pre compute HasParamArray for minor (very minor) performance improvement - relevant when executing method many times in a tight loop
2016-04-11 08:00:41 +10:00
Chris Bardsley a078eaeb39 Refactored changes from build#1644 to account for discussed changes. 2016-04-11 08:00:40 +10:00
Chris Bardsley f08e05a98d Fix for C# paramArray and refactor on arguments mismatch 2016-04-11 08:00:28 +10:00
amaitland dfa14804f0 Forgot to upgrade the build script to the latest package. Will need to push out new packages (which is exactly what I was trying to avoid!) 2016-04-08 06:30:27 +10:00
amaitland 93d602d407 OffScreen - Provide direct access to the underlying Bitmap (no locking or copying of the bitmap takes place). This maybe required in advanced scenarios
Add some additional doco to InvokeRenderAsync
2016-04-05 07:16:06 +10:00
amaitland 274ab21f8f Upgrade to 3.2623.1396 v49.0.0-pre01 2016-04-04 08:03:18 +10:00
amaitland 872152e826 Update IDisplayHandler documentation - add return values that were missing 2016-04-04 08:03:04 +10:00
amaitland 7937d4d1dc Only call editbin /largeaddressaware for x86 configuration - probably not necessary 2016-03-23 09:06:13 +10:00
amaitland 4745f45f18 BrowserSubProcess set largeaddressaware - resolves #1348 2016-03-23 08:18:26 +10:00
amaitland 8f89271f02 Rename CreateOffscreenBrowserWhenActualSizeChanged to CreateOffscreenBrowser
Make CreateOffscreenBrowser protected virtual to allow for customisation
(it's not something I think you should in general be doing, so I'm not going to make it easy to do so, need to subclass `ChromiumWebBrowser`,
then override CreateOffscreenBrowser, making it a NOOP then create a method that calls base.CreateOffscreenBrowser(size)).
2016-03-22 08:29:31 +10:00
amaitland 105bdf3f80 ContextMenuEditState - Rename NONE to None for consistency 2016-03-22 07:20:58 +10:00
amaitland cd322af03d Switch to using SizeChanged event rather than being notified of changes to the ActualWidth and ActualHeight (not really sure the original reason that method was choose)
Remove no longer used DisposableEventWrapper
2016-03-21 08:58:57 +10:00
amaitland b1b38ac62c Disable GPU in WPF and Offscreen examples until #1634 has been resolved 2016-03-21 06:46:20 +10:00
amaitland 5f087838ac Improve comments around CEF UI thread 2016-03-20 10:01:49 +10:00
amaitland 466fa67525 Change origin from string to Uri as that's what the code is expecting - so github.com wasn't working, http://www.github.com does
Improved the documentation a little
2016-03-20 09:45:28 +10:00
amaitland 8e817b3feb IRequestContext.ResolveHost changed to ResolveHostAsync with a TaskCompletionSource wrapper 2016-03-20 09:30:42 +10:00
amaitland 174beb2371 Add IRequestContext.ResolveHost
Add IRequestContext.ResolveHostCached
Both methods are for DNS -> IPAddress resolution

https://bitbucket.org/chromiumembedded/cef/commits/ce1e9e65fd3f5a075cac924ed987165bb4641d9d?at=master
2016-03-20 09:14:23 +10:00
amaitland 7b29d7a665 RequestContext now implements CefWrapper
ThrowIfDisposed(); called in each method now
2016-03-20 08:42:58 +10:00
amaitland 1f2b7b50f6 CefPostDataWrapper set _disposed flag when object disposed 2016-03-20 08:17:40 +10:00
amaitland ee67324a24 Add IRequestContext.CloseAllConnections
Add IRequestContext.ClearCertificateExceptions
Also forgot to make IRequestContext extend IDisposable

https://bitbucket.org/chromiumembedded/cef/commits/cd7e8a055816f1bfc681c18a2e959ef3e414f265?at=master
2016-03-20 08:13:45 +10:00
amaitland e4b2f24792 Add missing ResourceType enums as per https://bitbucket.org/chromiumembedded/cef/commits/3c1f28b051a44f3ec6d07bed99ff2ac11f4b88fe?at=master 2016-03-20 08:02:25 +10:00
amaitland 599ad179fb Update OnContextInitialized example to dispose of requestcontext via a using statement 2016-03-19 07:32:47 +10:00
amaitland f18fe9d4ae Add Cef.CurrentlyOnThread method for checking if your on a particular CEF thread
Add Cef.GetGlobalRequestContext, can be used to set preferences and other related features
Update IRequestContext.SetPreference documentation, preferences set via the command line are read only
2016-03-19 07:30:03 +10:00
amaitland f1fdac2907 Update README.md as master has been upgraded to 2623 2016-03-18 09:11:10 +10:00
amaitland cad16c40e4 CEF API Changes for 2623 upgrade
Update IGeolocationHandler.OnCancelGeolocationPermission - remove requestUrl
2016-03-18 08:47:24 +10:00
amaitland 57a6ac84d6 Upgrade to 2623.1395 2016-03-18 08:47:23 +10:00
Alex Maitland 56ef0a3ed1 Merge pull request #1633 from dga711/master
MethodRunnerQueue target default scheduler
2016-03-18 08:14:41 +10:00
Alex Maitland ec4e195fa2 Merge pull request #1632 from vasiliy-vdovichenko/master
Fixed Wpf ObjectDisposedException when quickly disposing ChromiumWebBrowser
2016-03-18 08:12:47 +10:00
dga 86c3ec547e Target default scheduler to fix #1630 2016-03-17 21:58:14 +01:00
Vasiliy Vdovichenko 45c4221a51 Fixed Wpf ChromiumWebBrowser throws ObjectDisposedException after dispose - https://github.com/cefsharp/CefSharp/issues/1631 2016-03-17 16:20:00 +02:00
amaitland e3c0d8b013 Formatting of NuGet/CefSharp.Common.nuspec file was still a little out 2016-03-16 11:58:30 +10:00
amaitland 3b0a934ffb Untabify 2016-03-16 11:49:39 +10:00
amaitland 6e66d172a7 Cleanup bin/obj folder output for the VC++ projects - more c# style now than vc++ (overall consistency)
Update nuspec file to reference new locations
2016-03-16 11:36:23 +10:00
amaitland d6f44844a1 Update RenderClientAdapter reference url - CEF project structure changed 2016-03-15 10:46:50 +10:00
amaitland 7ac0044c89 CookieVisitor.cpp - formatting braces on new line 2016-03-14 08:35:14 +10:00
Alex Maitland a2bc4694f2 Merge pull request #1628 from YaiEf/master
Added try-catches to CookieVisitor.cpp to avoid crashes on invalid va…
2016-03-14 08:30:48 +10:00
YaiEf 150daa4ff5 Changed formatting and set Cookie DateTimes to MinValue instead of default value on exception 2016-03-13 12:08:50 +01:00
YaiEf f9688a0a2e Added try-catches to CookieVisitor.cpp to avoid crashes on invalid values for DateTime. 2016-03-13 10:53:55 +01:00
Alex Maitland de059dde26 Update Readme.txt
Change line about opening issue on github, let's keep issues for bugs only
2016-03-11 09:18:51 +10:00
amaitland 703a7beb10 Add disable javasript to BrowserSettings comment so it's easier to search for 2016-03-11 08:56:09 +10:00