Commit Graph

4985 Commits

Author SHA1 Message Date
Alex Maitland 5ca4cf6ff4 Update README.md
Release 49.0.0
2016-05-03 21:05:29 +10:00
amaitland c9944c981a 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
2016-04-29 18:10:43 +10:00
amaitland a15cb795dd Add default values to DependencyChecker.AssertAllDependenciesPresent - make it easier to execute stand alone 2016-04-28 19:40:04 +10:00
amaitland 60ae3cc739 Switch to using TrySetResult instead of SetResult
Invoke TrySetResult using TaskFactory.Run so continuations are run in an async fashion

Reference #1672
2016-04-27 21:01:58 +10:00
amaitland b246192b1b Remove shutdownOnExit handler - WinForms and WPF have their own, OffScreen it's better to call explicitly.
Resolve #1671
2016-04-27 19:13:23 +10:00
amaitland 3e55460bb1 Change CefGetGeolocationCallbackWrapper to SetResult in destructor if no result has been returned - remove the need for task timeout 2016-04-27 19:11:53 +10:00
amaitland 6644fd7208 Update KeyboardHandler to ignore left, right, up, down as they were being cancelled
Some resharper inspired cleanup as well
2016-04-21 07:03:19 +10:00
amaitland b78e166340 Example below shows how to use a control to host DevTools (in this case it's added as a new TabPage) 2016-04-20 22:25:25 +10:00
amaitland 509ab98b05 Add example of disable spell checking through preferences 2016-04-20 07:45:54 +10:00
amaitland 1e18b55116 Comment out the enable-begin-frame-scheduling command line flag from OSR examples - DevTools wasn't working 2016-04-19 15:06:11 +10:00
amaitland ad71cf547f Add ShowDevtools menu item to WPF example 2016-04-19 14:52:52 +10:00
amaitland cb5f4f6586 Add new CefMenuCommand enum items 2016-04-19 14:24:17 +10:00
amaitland 370ffc2769 ThrowUnknownPopupBrowser has been removed - throwing an exception would crash CEF is a lot of cases, so now we'll just pass null into the interface methods
Change EvaluateScriptAsyncto check for null and subsequently return null (would have caused a nullptr exception)
2016-04-18 13:51:24 +10:00
amaitland 42a7ed1948 Add basic Sandcastle help file builder project
Need to compile the source for the relevant version in VS first, then let sandcastle do it's thing after (not using the VS integration at the moment, just using the standalone tool)
2016-04-18 13:51:24 +10:00
Alex Maitland c6878615ef Merge pull request #1660 from akjana35/master
Fix Issue #1582, Use ToLowerInvariant while converting Javascript Function names to camelCase
2016-04-17 22:43:12 -05:00
Akash Jana d0e74f819f Fix Issue #1582, Use ToLowerInvariant while converting Function names to avoid culture specific conversion. 2016-04-17 19:17:09 -07:00
Alex Maitland 009f5f0bf7 Merge pull request #1659 from edgchen1/master
Issue 1594 - Updated calls to GetBrowserWrapper()
2016-04-17 20:39:39 -05:00
edgchen1 0a01649b58 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-15 10:32:44 -07:00
amaitland f16db5567c More xmldoc 2016-04-15 16:28:52 +10:00
amaitland 560fa2b867 Improve ResourceHandler documentation, add a minor simplification and update the FlashResourceHandler example to demo how simple it is to use a ResourceHandler when extending FlashResourceHandler 2016-04-15 16:25:06 +10:00
amaitland e2a690dca9 Change PluginVisitor to set the TaskCompletionSource to an empty list when Visit is never called
Slightly nicer behaviour than timing out
Update the example
2016-04-15 15:44:35 +10:00
amaitland 4de3a1795d Remove DisposableResource - only class implementing it was JavascriptObjectRepository and it didn't override the InternalDispose method 2016-04-15 15:42:40 +10:00
amaitland fb5c6f7ecb More xml doc improvements 2016-04-15 15:27:19 +10:00
amaitland 7f1278d7e6 ICookieVisitor now implements IDisposable - call delete in CookieVisitor.h so there's a notification when the visitor
Improve ICookieVisitor doc
2016-04-15 15:26:02 +10:00
amaitland 98e8e1812f Add some remarks to FrameLoadStart about executing javascript 2016-04-15 12:05:50 +10:00
amaitland 0833f147e1 Even more complicated example of draggable regions - it works fine until the browser scrolls, for which there is no region change, probably a bug in CEF 2016-04-13 11:42:03 +10:00
amaitland 165cc1f88a Add a more complex example of using a non draggable region within a draggable one
Switched to using System.Drawing.Region for proper region handle
2016-04-13 11:35:40 +10:00
amaitland 4c4eb210f4 Add WPF Draggable Regions Test
Remove old generic DragHandler - maybe someone will write a WinForms specific one?
Remove some unused references from CefSharp.csproj
2016-04-12 16:57:47 +10:00
amaitland ca074ab4f2 Add PrintToPdf example to WinForms example project 2016-04-12 12:39:38 +10:00
amaitland f96ef1aa8f Add destructor to CefPdfPrintCallbackWrapper 2016-04-12 11:36:16 +10:00
amaitland c90d67c14d Add enable-logging command line argument example 2016-04-11 07:52:11 +10:00
amaitland c4960d6d36 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-11 07:52:11 +10:00
amaitland 38254a59d5 Rewrite ChromeWidgetHandleFinder to use a GCHandle - much cleaner method of interfacing with dllimport 2016-04-11 07:52:10 +10:00
dga711 4e79f1091b Add some xml documentation (#1643)
* add some xml doc

* add missing drag xml doc

* xml doc corrections

* more xml doc
2016-04-08 18:55:29 -05:00
amaitland 669404f74c 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-05 17:03:33 +10:00
Alex Maitland 7cf5f17565 Merge pull request #1644 from ChrisBardsley/master
Add paramArray support to Javascript Binding
2016-04-05 01:06:54 -05:00
Chris Bardsley d3d6907dac Refactored changes from build#1644 to account for discussed changes. 2016-04-04 21:44:22 -07:00
amaitland 81e909d772 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:15:11 +10:00
amaitland e5a6c6c32c Upgrade to 3.2623.1396 2016-04-04 07:57:25 +10:00
amaitland f106ab8b81 Change the remaining classes in the CefSharp.Internals namespace to private (where possible)
In general tighten up the access modifiers
2016-03-31 19:36:57 +10:00
amaitland e368a1a55e Update IDisplayHandler documentation - add return values that were missing 2016-03-30 10:58:29 +10:00
amaitland 7f1f1c5f21 Add example IDisplayHandler.OnFullscreenModeChange to WinForms example - reparent ChromiumWebBrowser control to demo switching to fullscreen, little bit of screen resize which isn't perfect, it works ok though. 2016-03-30 10:58:05 +10:00
amaitland c3f3331148 Add InMemorySchemeAndResourceHandlerFactory to demo how easy it is to implement a IResourceHandlerFactory/ISchemeHandlerFactory
Both implementations are included in the single file so it's easy to compare the two, the implementation is almost identical for the method body.
2016-03-29 13:04:06 +10:00
Chris Bardsley b628199ee9 Fix for C# paramArray and refactor on arguments mismatch 2016-03-23 21:17:47 -07:00
Alex Maitland 968ba286d1 Add cefsharp/49 release branch 2016-03-23 14:49:48 +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