illfang
aad399ba5f
detailed exception string generation for exceptions in injected native functions / properties
2015-09-08 10:49:33 +09:00
cefsharp-ms
38fe85cf71
TargetInvocationException is converted properly in JavascriptObjectRepository.TryCallMethod
2015-09-04 13:31:23 +02:00
amaitland
65d44b3962
Only send register IPC message of there are is a bound object
2015-08-18 09:29:50 +10:00
amaitland
74d987a02d
Switch to Interlocked.Increment for Id generation
...
Add missing xml comment
2015-08-03 10:59:31 +10:00
cefsharp-ms
a99e020138
added option to register async js objects with only method bindings
2015-07-23 15:10:28 +02:00
Bill Tutt
dcd56c27eb
Add some descriptive comments about what some of the subprocess classes do.
2015-05-02 02:36:10 -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
f12643ea47
Cherry picked changes from https://github.com/cefsharp/CefSharp/pull/972
...
Remove empty set from BoundObject example
Untabify BrowserProcessResponse
Make CamelCaseJavascriptNames (consistency, class should probably be made internal as a whole)
make JavascriptObjectRepository.CreateJavascriptObject private
Remove redundant using
2015-04-25 11:50:52 +10:00
Erguotou
fa43ec9997
Pass down camelCaseJavascriptNames to subobjects
...
For consistency, pass down camelCaseJavascriptNames flag to
sub-objects so that naming remain the same.
2015-04-25 11:50:52 +10:00
amaitland
39c8194b49
rename lowerCaseJavascriptNames to camelCaseJavascriptNames - more accurate description of what's going on
2015-04-16 16:31:54 +10:00
amaitland
e470bcf50c
Rename LowercaseFirst tp GetJavascriptName - more descriptive naming
2015-04-07 20:42:26 +10:00
amaitland
64906605ce
Pass lowerCaseJavascriptNames as param to LowercaseFirst method - reduces code duplication
2015-04-07 20:41:35 +10:00
amaitland
ce12ff0a04
Remove unnecessary method overloads, the lowerCaseJavascriptNames param wasn't being propagated recursively.
...
Default TryCallMethod to using LowercaseFirst
2015-04-07 20:36:19 +10:00
Exinferis
8581c3f03b
Added parameter for lowercasing JS functions (or not)
2015-04-02 15:37:12 +02:00
amaitland
953d917226
Add JSB support for Methods with optional params
2015-01-22 12:54:38 +10:00
amaitland
bf4983b52d
Resolve null pointer exception - Functions/Methods that return null or have no return value were through an exception
2015-01-19 11:45:24 +10:00
amaitland
ff678b5ae2
Remove duplicate JavascriptObject analysis code - add additional params
2015-01-09 13:33:24 +10:00
amaitland
6f5730e5c8
Rename Analyse method to AnalyseObjectForBinding
...
Add additional comment about it's functionality
2015-01-09 12:26:27 +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
amaitland
901a70ac00
Automatically register function return types with WCF (only solves have the equation as the subprocess has no idea during deserialization)
2015-01-08 15:43:56 +10: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
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
e33c7552dc
Return false when an exception is thrown
2014-09-02 11:27:39 +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
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
0b4d80a460
Add License disclaimer
2014-08-29 12:39:53 +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
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
a8435f3e57
Remove unused JavascriptObjectRepository Clone method
2014-08-27 15:01:07 +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
d82232241f
Remove Description classes - simplify code
2014-07-11 16:30:28 +10:00
Per Lundberg
824c9667c4
Very simple ReSharper cleanups.
2014-06-12 02:52:24 +03:00
JanEggers
52b52cead9
fixed global rigistered objects not to be bound
2014-06-07 09:27:52 +02:00
JanEggers
96d19deb34
fine tuning on analyse of .Net Objects so the BoundObject registered by the example does not throw exceptions
2014-06-02 22:39:23 +02:00
Per Lundberg
5c0785570b
Thank you, ReSharper. :)
2014-06-02 12:26:08 +01:00
Per Lundberg
73f477295c
Cleaned up usings a little.
2014-06-02 12:20:10 +01:00
JanEggers
db71d32881
Merge remote-tracking branch 'upstream/master' into JsBinding_WIP
2014-05-20 20:47:13 +02:00
JanEggers
c9ce4b6732
added reflection code in browser process
2014-05-10 20:36:47 +02:00
JanEggers
0ef76dca05
wire calls from the renderprocess with the objects in the browserprocess
2014-05-10 20:01:35 +02:00