Commit Graph

6294 Commits

Author SHA1 Message Date
amaitland 0b4d80a460 Add License disclaimer 2014-08-29 12:39:53 +10:00
amaitland b714cf759e Change timeout to timespan 2014-08-29 12:37:33 +10:00
amaitland ca4cd6b9a5 Finish importing #289, script is now executed as a task using CefTaskScheduler 2014-08-29 12:32:52 +10:00
amaitland 5faa2a2e5a Import CefTaskScheduler from @JanEggers TaskPattern branch 2014-08-29 11:57:33 +10:00
amaitland e9fdeceb63 Change IRenderProcess to return Task<object> - moving towards having proper WCF async 2014-08-29 11:15:54 +10:00
amaitland 085c6d5531 Move CefAppUnmanagedWrapper into it's own class (.cpp and .h) 2014-08-29 10:53:50 +10:00
amaitland 85d3b87ed9 Move CefBrowserUnmanagedWrapper into it's own .h file 2014-08-29 10:42:54 +10:00
amaitland ef5ef1a704 Remove unused BoundObjects dictionary 2014-08-29 10:09:02 +10:00
amaitland 0ed7555ba0 Change ExecuteScript to ExecuteScriptAsync and return a Task, changed IWebBrowser interface and simply wrapped the backend call.
This at least gets the API inline with what I'd expect in the future, still need to change WCF to use Async, this is a start.
Ideally would like to port @JanEggers PR #289 and have a Cef driven TaskScheduler
2014-08-29 10:00:41 +10:00
amaitland ab21e24211 Create static method for init of NetNamedPipeBinding so can set MaxReceivedMessageSize (to 16MB) 2014-08-29 09:37:13 +10:00
amaitland 777f2fe746 Remove unused class 2014-08-28 23:26:12 +10:00
amaitland 0fd5d0ac03 Comment out debugging code 2014-08-28 22:48:53 +10:00
amaitland a18a64d70a Add basic ReadOnly property support 2014-08-28 22:43:56 +10:00
amaitland 87f874f2c9 Store reference to JsPropertyHandler 2014-08-28 22:36:42 +10:00
amaitland 0105c778a5 Improve comment and variable name 2014-08-28 22:34:02 +10:00
amaitland 21b145ee6d Rename variable to better reflect it's purpose 2014-08-28 22:30:29 +10:00
amaitland fdca1ef7b6 Whitespace fix 2014-08-28 21:01:02 +10:00
amaitland 75f3e48e22 Move propertyHandler calls to JavascriptObjectWrapper 2014-08-28 21:00:55 +10:00
amaitland fc6b68a374 Fix bug - was passing in incorrect v8value 2014-08-28 20:46:10 +10:00
amaitland 44ad743355 For consistency always match on JavascriptName 2014-08-28 20:42:49 +10:00
amaitland cdd8e661ff Change to javascript case 2014-08-28 20:40:21 +10:00
amaitland 252c561347 Move bind code from header to cpp file 2014-08-28 20:38:45 +10:00
amaitland 0ba4f95194 Move Bind code from header to cpp file 2014-08-28 20:37:57 +10:00
amaitland 9686584a84 Get complex object support code to compile! 2014-08-28 20:37:10 +10:00
amaitland dbc90a6712 Move bind code from header to cpp file 2014-08-28 20:36:41 +10:00
amaitland 96230e1c0b Remove unused virtual modifier 2014-08-28 20:35:04 +10:00
amaitland 549ae4b9d9 Add commented out code for handling complex types to JavascriptPropertyWrapper 2014-08-28 20:34:41 +10:00
amaitland 7e512c9429 Change Id from Long to int 2014-08-28 20:29:02 +10:00
amaitland 20ca50036f Move GetProperty into JavascriptObjectWrapper.cpp 2014-08-28 20:26:15 +10:00
amaitland 0dd085a770 Remove unused includes 2014-08-28 20:25:53 +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 da3412969d Revery name change for TryGetMethod - seems slightly inconsistent so will need to be fixed. 2014-08-28 19:40:01 +10:00
amaitland 2aa87c2034 Change to use JavascriptName instead of Managed name 2014-08-28 19:35:04 +10:00
amaitland ccc4cb3c99 Add property name to Setter 2014-08-28 19:32:04 +10:00
amaitland 96c512eeb8 Pass through property name to Getter 2014-08-28 19:30:26 +10:00
amaitland e6b26a07ac Create a property for each member object 2014-08-28 19:22:06 +10:00
amaitland 5b135e32d8 Add in some debugging code 2014-08-28 19:21:54 +10:00
amaitland ff1c849559 Create missing root v8object 2014-08-28 19:02:03 +10:00
amaitland 27c5af40d6 Set V8Value (was having managed point problems before) 2014-08-28 18:30:28 +10:00
amaitland 55119d501a Init list in JavascriptRootObject 2014-08-28 18:29:36 +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 d76ae257ee Add #pragma once to files 2014-08-28 16:35:54 +10:00
amaitland ef4b2dc4bc Remove redundant return statement 2014-08-28 16:33:25 +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