Commit Graph

4985 Commits

Author SHA1 Message Date
amaitland 7aa128781d Add IsDisposed checks
Resolves #1307
2015-10-13 19:46:38 +10:00
amaitland 4ba7e95012 Formatting - else if on new line
Minor change to message of callback registry is not available
2015-10-13 18:55:04 +10:00
Alex Maitland 13bdc090ae Merge pull request #1321 from amaitland/enhancement/v8contextperframe
Add support for JSB with frames
2015-10-13 18:47:42 +10:00
Alex Maitland 4d6575f9fa Merge pull request #4 from illfang/fix-v8contextperframe-destructor
Adjustment for the v8 context per frame implementation
2015-10-13 18:23:06 +10:00
illfang adc57b2b2b Merge branch 'enhancement/v8contextperframe' of https://github.com/amaitland/CefSharp into fix-v8contextperframe-destructor 2015-10-13 15:39:46 +09:00
amaitland b1053cb6a5 Merge remote-tracking branch 'remotes/upstream/master' into enhancement/v8contextperframe 2015-10-13 14:08:32 +10:00
illfang e9675a2c3e ensure destroyed root objects are not accessed in cef app unmanaged warpper message handling 2015-10-13 13:00:39 +09:00
illfang c5215bbbca do not delete shared callback registry in js method handler destructor, added comment to clarify the missing destructor call 2015-10-13 12:59:51 +09:00
illfang 1f31ea9573 Merge branch 'enhancement/v8contextperframe' of https://github.com/amaitland/CefSharp into fix-v8contextperframe-destructor 2015-10-13 12:30:38 +09:00
amaitland f341c5ba1f Improve display of TooltipTest.html - minor html cleanup 2015-10-13 13:11:27 +10:00
amaitland cf9f9a1461 Comment out RequestContext from WPF example - it's not required.
Add a comment about OnBeforePluginLoad
2015-10-13 13:00:49 +10:00
Alex Maitland 75ab9c4db0 Merge pull request #1325 from amaitland/implement/OnBeforePluginLoad
Implement IPluginHandler.OnBeforePluginLoad
2015-10-12 22:54:52 +10:00
amaitland ad9f7c70ac Add IPluginHandler.OnBeforePluginLoad
Can now be used through the RequestContext
Add Example to WPF application
2015-10-12 15:32:10 +10:00
amaitland b739c155f9 Make ICookieManager.FlushStore Async
Resolves #1276
2015-10-12 08:47:38 +10:00
Alex Maitland 935d3900ba Merge pull request #1323 from amaitland/implement/RunContextMenu
Implement IContextMenuHandler.RunContextMenu
2015-10-12 08:12:37 +10:00
amaitland 514d7e275d Add IContextMenuHandler.RunContextMenu 2015-10-12 08:08:41 +10:00
Alex Maitland 01b51fa746 Merge pull request #1322 from amaitland/feature/OnDraggableRegionsChanged
Implement IDragHandler.OnDraggableRegionsChanged
2015-10-12 07:38:19 +10:00
amaitland 20b8aa5732 Add IDragHandler.OnDraggableRegionsChanged 2015-10-12 07:16:33 +10:00
amaitland 2f3d9f868f Make js callbacks and async methods Frame aware - add FrameId so they can be executed on a specific frame
Resolves a problem where multiple contexts are created and only the first one is dealt with properly (each frame has it's own V8 context)
2015-10-11 20:41:17 +10:00
amaitland 5869b20068 Change CefBrowserWrapper Dictionary to ConcurrentDictionary 2015-10-11 19:50:55 +10:00
Alex Maitland a707902485 Merge pull request #1318 from illfang/feature-multi-binding-test
Feature multi binding test
2015-10-09 19:46:36 +10:00
Alex Maitland de0009c1e9 Merge pull request #1320 from illfang/quickfix-test-html-format-spaces-for-tab
Quickfix format test HTML files
2015-10-09 19:45:43 +10:00
illfang 1f601c9beb replaced tabs for spaces in test html files 2015-10-09 17:56:17 +09:00
illfang 06597c3368 fix formatting of multi binding test 2015-10-09 17:55:14 +09:00
illfang 441a2872c5 added multi binding test for testing bindings with multiple contexts and dynamic context creation / destruction
1 browser, multiple changing contexts
also added a link to the popuptest
2015-10-09 15:23:50 +09:00
amaitland d1ba723bd5 Add CefSharpSettings.WcfTimeout - allow user to specify custom timeout when closing the WCF channel host
Can set to TimeSpan.Zero to Abort the channel (close without timeout)
2015-10-08 22:42:37 +10:00
amaitland efb841fdca Add CefSharpSettings.ShutdownOnExit - all the user to disable the inbuilt call to Cef.Shutdown
(Also needs to set shutdownOnProcessExit:false when calling Cef.Initialize, or the ParentProcessExitHandler will be called to Shutdown Cef)
2015-10-08 22:37:14 +10:00
Alex Maitland ac4df2e7c5 Merge pull request #1310 from illfang/quickfix-build-script-redist-version-upgrade
Upgrade build.ps1 to reference cef.redist 3.2454.1326
2015-10-02 13:44:43 +10:00
illfang 35de8bc137 quickfix for the upgraded default redist version of the build script (3.2454.1317 -> 3.2454.1326)
cefsharp/CefSharp#1306
2015-10-02 12:21:37 +09:00
amaitland c2b712f06c Update to CEF 3.2454.1326
Remove IRequestHandler.OnBeforePluginLoad (was moved on the upstream API, will need to be re-added)
Fixes #1306
2015-10-01 20:21:21 +10:00
amaitland 8f2dbcbe91 Remove stray quotes 2015-09-30 08:30:03 +10:00
Alex Maitland 5c95498799 Merge pull request #1303 from amaitland/cleanup/vcpp
Fix VC++ Include mess
2015-09-29 16:40:34 +10:00
amaitland b9ee476e8e Fix up some of the vc++ include mess that we had going
Cleanup using namespace statements as well
2015-09-29 16:26:06 +10:00
Alex Maitland d95083ae4e Merge pull request #1284 from amaitland/bug/popupjsb
Add support for JSB in Popups
2015-09-29 08:16:13 +10:00
Alex Maitland 2b80c2a823 Merge pull request #1300 from amaitland/feature/OnResourceResponse
Add IRequestHandler.OnResourceResponse
2015-09-29 08:07:04 +10:00
amaitland d9c3569bd7 Add IRequestHandler.OnResourceResponse 2015-09-29 08:03:54 +10:00
amaitland 73df171a22 Add example of setting Referer in OnBeforeResourceLoad 2015-09-29 06:51:38 +10:00
amaitland 9a7f427c29 Simplify WPF example opening of test Url's
(Should be very easy to add new Url's now)
2015-09-28 19:07:43 +10:00
Alex Maitland 2f82452fa2 Merge pull request #1282 from amaitland/feature/geocallback
Add GetGeolocationAsync Implementation
2015-09-28 07:21:37 +10:00
amaitland d161cefa6c Merge remote-tracking branch 'remotes/upstream/master' into feature/geocallback 2015-09-28 07:21:14 +10:00
amaitland 2153c51d15 Add PostData null checks to examples
Add basic ajax post example for custom scheme handler test page/handler
2015-09-25 11:47:10 +10:00
amaitland 5e2546067b Change CefRequestWrapper to return null when PostData is null; 2015-09-25 11:47:09 +10:00
amaitland 77796eb375 CefPdfPrintCallbackWrapper was not included in vcxproj 2015-09-25 07:45:39 +10:00
amaitland cb989648cb Keep a WeakReference to IBrowserAdapter instead of IBrowser and lookup the browser by it's Id for callbacks 2015-09-24 21:00:53 +10:00
amaitland 8bba47d383 Add TODO about callbacks being executed in the context of a popup 2015-09-24 20:24:16 +10:00
amaitland 8a8da5b35a Async JSB now working in popups
Still have the issue of callbacks not working as expect, for some reason it can't find the context
2015-09-24 20:08:15 +10:00
amaitland 10ebd0d8cd Remove unused MethodInvocation constructor 2015-09-24 19:56:01 +10:00
amaitland a93e9e51e5 Only send kJavascriptRootObjectRequest when main browser is created (OnRenderViewReady)
Remove IsPopup check from async binding
2015-09-24 19:50:48 +10:00
amaitland 32a9f7fe81 Only keep reference to the property/method objects long enough to bind the object
No need to store a reference to them long term
2015-09-24 19:36:47 +10:00
Alex Maitland a6fa598bac Update README.md
Move CefSharp1 details into their own section
Reorder a few parts
Add contributing.md reference int he hopes that people will actually read it.
2015-09-24 19:12:26 +10:00