jankurianski
87667f2635
Pulling in amaitland:CefSharp feature/focus-handler changes
2014-11-25 21:50:42 +11:00
jornh
12c064f4e0
Merge pull request #630 from amaitland/master
...
Slightly modified fix for #622 based on PR #626
2014-11-21 15:05:20 +01:00
Sylvain Hamel
dd29410f22
Implement Focused property
2014-11-21 09:00:20 -05:00
Alex Maitland
e28a31e04a
Merge pull request #612 from bjarteskogoy/fix/bindingDictionarySize
...
Set reader quotas to max value. Any reason not to?
2014-11-21 11:46:19 +10:00
amaitland
06e2a1a86d
Slightly modified fix for #622 based on https://github.com/cefsharp/CefSharp/pull/626
2014-11-21 11:23:33 +10:00
amaitland
37c8c861bd
Close the client channel before closing the ServiceHost
2014-11-20 14:05:25 +10:00
Bjarte Skogøy
f7612f59cf
Set all quotas to int.MaxValue
2014-11-18 20:13:49 +01:00
Bjarte Skogøy
9382889ba8
- Set reader quotas to max value. Any reason not to?
2014-11-18 20:13:48 +01:00
amaitland
5a5dfbcc4a
As per https://github.com/cefsharp/CefSharp/issues/567#issuecomment-62295487 revert LowercaseFirst for name of root object
2014-11-11 20:34:08 +10:00
amaitland
057e90d7f5
Ignore methods and properties marked with JavascriptIgnoreAttribute
2014-10-29 16:55:42 +10:00
amaitland
6022c22fe6
Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP
2014-10-03 18:31:59 +10:00
amaitland
a58b6086c7
First 1750 feature - ShowDevTools/CloseDevTools
2014-10-03 16:41:17 +10:00
amaitland
70e776e94d
Split BeginEvaluateScriptAsync call into two lines, makes more readable and also meets Max columns of 132 style
2014-10-01 22:48:07 +10:00
Bjarte Skogøy
17b56e694a
brackets and removing commented code
2014-09-25 13:49:39 +02:00
Bjarte Skogøy
717c0eedbf
Use Begin/End pattern to not break .Net 4 compatibility.
2014-09-24 14:13:09 +02:00
Bodekaer
99040f9a1a
Fixed #482 WCF timeout issue
2014-09-19 09:59:40 +10:00
amaitland
1c41c051c4
Keep track of all open browsers in Render process for JS execution and later disposal
2014-09-16 12:16:31 +10:00
amaitland
be73858233
Include BrowserId in EvaluateScriptAsync WCF call - needed for when there are multiple browser instances created in the one render process
2014-09-16 11:53:07 +10:00
amaitland
286b590960
Rename EvaluateScript to EvaluateScriptAsync for consistency
2014-09-15 12:15:48 +10:00
amaitland
6505f43b15
EvaluateScript now accepts a nullable timespan and only executes a timeout if a value is specified
2014-09-15 12:11:31 +10:00
amaitland
78ddea334a
Only perform recursive Analysis if property is a Complex Type
2014-09-14 22:52:31 +10:00
amaitland
a424d6775b
Rename Value property to JsObject - more meaningful name
2014-09-14 22:50:31 +10:00
amaitland
a17b49596e
Add Connect() method to IBrowserProcess so it's clearly understood when a new render process is created
...
Update OperationContext every time Connect() is called
2014-09-12 14:47:08 +10:00
amaitland
460c5f5c08
Remove ManagedCefApp base class and move methods into CefAppWrapper
2014-09-12 00:37:36 +10:00
amaitland
0cf75435eb
Cef appears to create a new SubProcess for every web page viewed, so as a short term fix check if TaskCompletionSource has already been completed
2014-09-11 22:55:19 +10:00
amaitland
2c159ee1b6
Changed frameId to long as frame->GetIdentifier() returns long
2014-09-02 21:28:43 +10:00
amaitland
2c4d179c5d
Change ExecuteScriptAsync to return JavascriptResponse so error messages and result can be returned
2014-09-02 12:02:32 +10:00
amaitland
e33c7552dc
Return false when an exception is thrown
2014-09-02 11:27:39 +10:00
amaitland
f6d6b0fe4e
Create BrowserProcessResponse to represent the response from the WCF calls
2014-09-02 11:05:31 +10:00
amaitland
3e5a3ae0cb
Catch and return Exception for TryCallMethod, TryGetProperty, TrySetProperty methods, passed back to the browsersubprocess though currently not displayed in the UI
2014-09-02 10:57:47 +10:00
amaitland
ac28397797
Change IBrowserProcess methods to return bool with out param for result to indicate error
2014-09-02 10:45:14 +10:00
amaitland
779f29fe1b
Tinkering with WCF and service callbacks
...
Add TaskCompletionSource so that script task will execute after a reference to the OperationContext has been obtained (Can then call GetCallbackChannel)
2014-09-01 15:29:22 +10:00
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
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
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