Commit Graph

2191 Commits

Author SHA1 Message Date
amaitland f40c1d2f9f Fix bug where JavascriptName wasn't being set for Complex Property types
Added example called SubBoundObject can be tested from the WPF example using code like "bound.subObject.simpleProperty"
2014-08-29 16:50:16 +10:00
amaitland 4a3f459956 Add Task Timeout and change default timeout value to 60 seconds 2014-08-29 12:55:22 +10:00
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 e9fdeceb63 Change IRenderProcess to return Task<object> - moving towards having proper WCF async 2014-08-29 11:15: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 a18a64d70a Add basic ReadOnly property support 2014-08-28 22:43:56 +10:00
amaitland 44ad743355 For consistency always match on JavascriptName 2014-08-28 20:42:49 +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 55119d501a Init list in JavascriptRootObject 2014-08-28 18:29:36 +10:00
amaitland 0130fa427d Make wrapper objects contain references to the Properties/Methods they represent 2014-08-28 15:48:16 +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 0a7e264914 Create a basic RootMemberWrapper wrapper - still needs work 2014-08-28 13:28:52 +10:00
amaitland 68494b91b4 Move object analysis into JavascriptObjectRepository - start of converting JavascriptObject to more like a DTO 2014-08-28 13:01:45 +10:00
amaitland 901a6358cb Change BrowserProcessService to reference JavascriptObjectRepository directly - simplifies code
Also had to fix up int to long conversion as Id must have changed types at some point
2014-08-28 12:53:36 +10:00
amaitland 6ddd2d07f0 Fix whitespace 2014-08-28 12:11:59 +10:00
amaitland a8435f3e57 Remove unused JavascriptObjectRepository Clone method 2014-08-27 15:01:07 +10:00
amaitland e10f79cca2 Merge remote-tracking branch 'remotes/upstream/JsBinding_WIP' into JsBinding/Wip2 2014-08-27 14:21:04 +10:00
amaitland 5672ffc166 Fix mistake in previous master merge where no longer files were re-added to project file 2014-08-27 10:38:42 +10:00
amaitland c99cad1c9e Merge branch 'enhancement/minor-api-changes' into feature/winforms-tabbed 2014-08-25 12:16:21 +10:00
amaitland 902d61094e Change new status event to use generic EventHandler<> 2014-08-22 13:51:54 +10:00
amaitland 762b5af0cb Merge remote-tracking branch 'remotes/upstream/master' into enhancement/minor-api-changes 2014-08-22 13:49:17 +10:00
amaitland 024620cd78 Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-08-21 20:17:47 +10:00
Adrian Phinney d5d3077735 Implemented OnStatusMessage and event for WPF and WinForms. 2014-08-12 08:57:06 -04:00
amaitland 5f413552bc Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-08-12 10:57:21 +10:00
amaitland fcfa3c372a Merge remote-tracking branch 'remotes/upstream/master' into enhancement/minor-api-changes 2014-08-08 11:21:51 +10:00
Alex Maitland e5e53133de Merge pull request #396 from amaitland/feature/OnRenderProcessTerminated
Add OnRenderProcessTerminated - Resolves issue #207
2014-08-05 11:30:17 +10:00
amaitland 05db513251 Amend IsComplexType check to include string as special case 2014-07-16 17:14:36 +10:00
amaitland 962fc5ec09 Return top level bound object 2014-07-16 16:33:19 +10:00
amaitland 8db02a1445 Merge branch 'JsBinding_WIP' into JsBinding/Wip2 2014-07-16 16:13:25 +10:00
amaitland f55060a947 Get property get method calling - still problems that need to be resolved 2014-07-16 15:58:15 +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 d82232241f Remove Description classes - simplify code 2014-07-11 16:30:28 +10:00
amaitland f55d218798 Remove Handlers from IWebBrowserInternal (minor issue created when merging in master) 2014-07-11 12:45:06 +10:00
amaitland a2debed38a Move Focus methods from IWebBrowserInternal to IWinFormsWebBrowser and only call them in the context of the WinForms ChromiumWebBrowser 2014-07-09 11:37:10 +10:00
amaitland 435910df6c Add license disclaimer 2014-07-09 11:23:06 +10:00
amaitland f507216311 Add OnGotFocus and OnSetFocus
Add CefFocusSource enum for mapping from cef_focus_source_t enum
2014-07-09 11:20:54 +10:00
amaitland e8f3a5e8cf Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-07-01 14:08:16 +10:00
amaitland 6d673a9917 Improve Xml comment 2014-07-01 12:06:57 +10:00
amaitland ac9ab99620 Remove duplicate Back() and Forward() - caused by manual cherry pick 2014-07-01 11:44:11 +10:00
amaitland bfc9cb9552 Fix cherry pick, spaces not tabs and remove unused delegate 2014-07-01 11:43:07 +10:00
amaitland 118a7661ff Add methods and event handlers to IWinFormsWebBrowser
Conflicts:
	CefSharp.WinForms.Example/BrowserTabUserControl.cs
2014-07-01 11:41:21 +10:00
amaitland 305c506bff Add back and forward to interface 2014-07-01 11:41:02 +10:00
amaitland d9f3885eeb Make print public and add to IWebBrowser
Conflicts:
	CefSharp/IWebBrowser.cs
2014-07-01 11:40:53 +10:00