Commit Graph

646 Commits

Author SHA1 Message Date
amaitland d21808b582 Rename variable to be more .net like 2015-06-29 11:58:42 +10:00
amaitland 0a220f2f96 Inline most of the methods in EvaluateScriptDelegate - much easier to step through now (with the CefRefPtrs, it's a lot harder to step into a function than normal) 2015-06-29 11:57:16 +10:00
amaitland f8954dcffe Rename messaging keys to include Request/Response suffix
Would be nice to move them into a class so they're not just out there on their own - whilst it's valid c++, it's not very .net
2015-06-29 11:49:12 +10:00
David Serfozo 93a61c1442 removed unneeded eval script related methods 2015-06-27 19:01:52 +02:00
David Serfozo cc8a07c21f added evaluatescriptasync message handlers and rerouted evalscript to cef ipc 2015-06-27 19:01:21 +02:00
David Serfozo 7588259964 added process message handlers and code to call them on both sides 2015-06-27 17:20:09 +02:00
David Serfozo bf33f0bc7c V8 serialization utils added 2015-06-27 16:52:08 +02:00
amaitland 6520379558 Guard against null reference exception when cleaning up JavascriptCallbackRegistry 2015-06-15 21:47:55 +10:00
amaitland 8c849036b1 CefBrowserWrapper was still implementing DisposableResource 2015-06-15 21:45:26 +10:00
rassilon 431cb511c3 * Move unmanged objects into finalizer and call finalizer from Dispose.
* Remove DisposableResources from ManagedCefBrowserAdapter
* Improve disposing of CefRequestWrapper
* Have callbacks dispose themselves.
* Allow the Application exit handler shutdown CEF from the Winforms example application.
2015-06-13 10:42:33 -04: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
amaitland ba0f49a313 Upgrade to 2272.30 2015-06-09 14:18:31 +10:00
Bill Tutt 86f65c12ca Merge pull request #988 from rassilon/CefFrameWrapper
CefFrameWrapper implementation
2015-05-02 23:01:35 -04:00
Bill Tutt dcd56c27eb Add some descriptive comments about what some of the subprocess classes do. 2015-05-02 02:36:10 -04:00
Bill Tutt 4195b8a2d6 Adding browse info seemed to help Core intellisense, so add it here too. 2015-05-02 00:09:47 -04:00
amaitland 83f3a697bc Upgrade to 3.2272.30 - API changed so build is broken, more changes to follow
(Use the `2272` nuget feed as that's where the new packages were uploaded to)
2015-04-28 13:45:02 +10:00
rassilon 9f3832d06c Make utility class for reporting unhandled exceptions. 2015-04-25 17:54:31 -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 c81d73c587 Split CefTaskWrapper out into it's own .h file 2015-04-24 12:02:15 +10:00
amaitland 99000a4940 Remove CefTaskScheduler.cpp from CefSharp.BrowserSubprocess.Core.vcxproj - was missed during the rebase 2015-04-09 11:35:50 +10:00
amaitland 484a2de0a2 Move CefTaskScheduler from CefSharp.BrowserSubprocess.Core to CefSharp.Core
Add ITaskScheduler interface to simplify the code
2015-04-09 11:25:37 +10:00
amaitland 9f67f6c525 Update to 3.2272.25 (new git based naming) 2015-03-31 12:37:57 +10:00
amaitland 171abe8ee7 Upgrade to 3.2171.2069 2015-03-27 11:54:44 +10:00
amaitland 6c60da63c8 Merge remote-tracking branch 'remotes/upstream/master' into cef/2272 2015-03-23 08:49:45 +10:00
amaitland 2df2a05be7 Update to 2272 nuget packages
Updated OnCertificateError and OnFileDialog as API changed - build now compiles
2015-03-18 11:13:49 +10:00
amaitland 1e7e2210ad Rename JavascriptCallbackDto to JavascriptCallback 2015-03-12 11:29:14 +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 c2b1f48c7c Start to make method naming contestant - methods are now Register and Deregister for javascript callback 2015-03-11 13:52:32 +10:00
amaitland 6f5875a7b0 Convert to using ConcurrentDictionary 2015-03-11 13:23:00 +10:00
amaitland 15f0a20b6d Add ConvertFromCef to else statement so it's only called when not using a function 2015-03-11 12:09:52 +10:00
David Serfozo 9775b438bd dispose fix in CefBrowserWrapper, JavascriptCallback modified to inherit from DisposableResource 2015-03-09 23:57:25 +01:00
David Serfozo 011e94fe6b removed auto keyword for managed type deduction 2015-03-09 23:35:17 +01:00
David Serfozo d9541ab463 added explicit access modifiers where missing,fixed vs2012 build issue,changed field names according to conventions 2015-03-09 20:23:13 +01:00
David Serfozo 8eb889e2a3 added conversion code for CefV8Value::IsFunction 2015-03-08 16:23:14 +01:00
David Serfozo c950e7a0c8 set callbackregistry on jsobjectwrapper 2015-03-08 16:22:31 +01:00
David Serfozo 98ba30bf5d added wcf operations to do javascript callbacks 2015-03-08 13:22:56 +01:00
David Serfozo bb4fe467b8 added JavascriptCallbackRegistry and wired up 2015-03-08 13:11:09 +01:00
David Serfozo 75d8a206e6 moved JavascriptRootObjectWrapper impl to separate cpp 2015-03-08 12:57:51 +01:00
David Serfozo 0bdbd304ae moved JavascriptMethodHandler impl to a separate cpp file 2015-03-08 12:56:36 +01:00
David Serfozo ece611f0df moved CefBrowserWrapper impl into a separate cpp file 2015-03-08 12:42:05 +01:00
amaitland 649c497387 Remove nuget msbuild target from vc++ projects 2015-03-06 18:00:00 +10:00
amaitland 43765ad1c3 Upgrade to 3.2171.1979 2015-01-27 20:03:25 +10:00
amaitland 5d6528f441 Added myget feed to NuGet.config (Uploaded latest redist/sdk pages to myget)
Upgrade to 3.2171.1972
2015-01-21 10:53:33 +10:00
amaitland 4562b984ab Merge remote-tracking branch 'remotes/upstream/master' into cef/2171 2015-01-16 11:53:25 +10:00
BinSys 5af020afcc change c++ file copyright symbol (©) from 0xa9(cp1252) to 0xc2 0xa9(cp65001 with bom) ,
now work on non-english system().
2015-01-10 02:40:23 +08:00
BinSys 3f954dfb0b Revert "change c++ file copyright symbol (©) from 0xa9(cp1252) to 0xc2 0xa9(cp65001 without bom) ,"
This reverts commit defd040dcc.
2015-01-10 02:22:19 +08:00
amaitland 8d3ae5e663 Move JavascriptObject to V8Value mapping from TypeUtils into JavascriptMethodHandler - may be possible to add support for function calls 2015-01-09 13:28:55 +10:00
amaitland 224cbcda9f First step towards getting JSB functions to return complex types - uses JavascriptOjbect/JavascriptProperty classes to represent the metadata transferred over WCF
(Sending the complex type it's self is difficult as the type is not known by both client and server)
2015-01-09 12:18:56 +10:00
BinSys defd040dcc change c++ file copyright symbol (©) from 0xa9(cp1252) to 0xc2 0xa9(cp65001 without bom) ,
now work on non-english system().
2015-01-06 22:23:30 +08:00