Commit Graph

42 Commits

Author SHA1 Message Date
amaitland 3d19b3a587 Cleanup Binding, rather than keep references to the V8 objects, just use them and then let them be released
Code should be a little easier to debug now.
2015-07-28 22:22:30 +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 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
David Serfozo bb4fe467b8 added JavascriptCallbackRegistry and wired up 2015-03-08 13:11:09 +01: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
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
amaitland e750874edf Manually fix some merge issues 2014-12-04 13:40:41 +10:00
amaitland b782371fff Rename DeleteGetterSetter to Cleanup and fix formatting 2014-12-04 13:36:45 +10:00
amaitland b893d9ad00 Merge branch 'memleak' of https://github.com/Octopus-ITSM/CefSharp into fix/jsb-memoryleak 2014-12-04 13:34:53 +10:00
amaitland ab79aa8ca6 Remove redundant #include statements
Fix incorrect #include statements
2014-11-27 23:24:00 +10:00
amaitland 189f5135ea Make JsPropertyHandler private 2014-11-27 20:38:51 +10:00
Sylvain Hamel fe63ff340e memleak : show problem 2014-11-25 09:34:15 -05:00
Sylvain Hamel 678f45835c CefRenderProcess process creates too many channels (and does not close them) 2014-11-11 09:06:52 -05:00
amaitland d90cf0af3f Continue to implement object cleanup 2014-09-16 16:34:07 +10:00
amaitland 00b6fc683b Pass a delegate to Create the WCF proxy through the layers of JS binding objects 2014-09-16 13:21:04 +10:00
amaitland d15c4d746a Pass BrowserProcessResponse through to JavascriptMethodHandler and JavascriptPropertyHandler so errors can be conveyed back to CEF 2014-09-02 11:25:39 +10:00
amaitland 87f874f2c9 Store reference to JsPropertyHandler 2014-08-28 22:36:42 +10:00
amaitland 75f3e48e22 Move propertyHandler calls to JavascriptObjectWrapper 2014-08-28 21:00:55 +10:00
amaitland 252c561347 Move bind code from header to cpp file 2014-08-28 20:38:45 +10:00
amaitland 20ca50036f Move GetProperty into JavascriptObjectWrapper.cpp 2014-08-28 20:26:15 +10:00
amaitland c5176d1bd1 Move creation of V8Object from JavascriptRootObjectWrapper to JavascriptObjectWrapper
Not working yet as having some c++ include issues
2014-08-28 20:19:13 +10:00
amaitland 27c5af40d6 Set V8Value (was having managed point problems before) 2014-08-28 18:30:28 +10:00
amaitland 3137911ed2 Add in NotImplementedException's as place holders for next stage of work 2014-08-28 17:19:37 +10:00
amaitland 8dff2fee24 Uncomment out code which now compiles 2014-08-28 17:17:42 +10:00
amaitland 3c49aa90ed Fixup incorrect includes 2014-08-28 17:17:00 +10:00
amaitland b9681c46be Still doesn't compile - some progress though 2014-08-28 16:09:55 +10:00
amaitland b42b6c07a4 Change access modifier to public 2014-08-28 16:08:01 +10:00
amaitland 95dd79d778 Still having issues getting to compile - this is a WIP checking to help troubleshoot 2014-08-28 16:01:28 +10:00
amaitland 0130fa427d Make wrapper objects contain references to the Properties/Methods they represent 2014-08-28 15:48:16 +10:00
amaitland d0dc5d9409 Create JavascriptRootObjectWrapper class to simplify back end binding 2014-08-28 14:57:08 +10:00
amaitland 5caa457210 Start of restructure of JavascriptObject hierarchy 2014-08-28 14:47:11 +10:00
amaitland 1b1f40c99f Separate Methods and Properties into two distinct types (stored differently) 2014-08-28 13:45:23 +10:00
amaitland 8db02a1445 Merge branch 'JsBinding_WIP' into JsBinding/Wip2 2014-07-16 16:13:25 +10:00
amaitland 0c535b1423 Now invokes TryGetProperty as expected, still got some problems and this doesn't allow for a tree hierarchy, so it's rather limited at the moment. 2014-07-11 17:00:17 +10:00
amaitland b75c17b2d4 Rename Value to V8Value as JavascriptObject class already has a public property called Value
Anyone have a better name than V8Value? Thought it was better to fix the duplication in the short term.
2014-07-11 12:50:33 +10:00
Per Lundberg 6a5ac3cf9a I didn't quite like the dummy Bind() implementation in JavascriptMember. Here is my attempt at making it working slightly more elegantly, even though it is by no means perfect... 2014-06-12 06:29:25 +03:00
Per Lundberg 617ca63013 Similar simplification as done elsewhere. 2014-06-12 06:13:19 +03:00
JanEggers 731ebf67a9 reversed subprocess communication now Browser is host and renderer is client 2014-05-24 19:43:34 +02:00
JanEggers fdf00003c8 fixed accessibility warning 2014-05-20 21:57:39 +02:00
JanEggers 363734e0aa next step: metadata can be transported via wcf and is automatically converted to wrapper objects so we have fields to store native stuff 2014-05-10 17:26:57 +02:00
JanEggers 83cfa9e7a3 removed redundant code and added wrapper objects to couple handlers with metadata from browserprocess 2014-05-08 20:12:57 +02:00