Commit Graph

52 Commits

Author SHA1 Message Date
Chris bef5dd37c4 Maintenance - Fixed formatting, file encoding, and copyright year (#2504)
* Applied formatting

* Fixed file encoding + Updated copyright year

* Updated License

* Fixed more file encoding

* Copyright notice now shows the year the file was created
2018-09-10 10:41:13 +10:00
Chris cd934267c6 Updated copyright year and made sure it used same format everywhere (#1966) 2017-03-06 08:44:37 +10:00
amaitland bb4746c612 Minor code cleanup after static analysis from PVS Studio - mostly uninitialized variables (which I don't think was an actual problem as they were all in .Net classes)
Remove a static cast that wasn't required.
2016-02-19 16:24:14 +10:00
amaitland bae3c28e92 Update copyright to 2016 2016-01-11 14:11:30 +10:00
amaitland b9ee476e8e Fix up some of the vc++ include mess that we had going
Cleanup using namespace statements as well
2015-09-29 16:26:06 +10:00
amaitland 32a9f7fe81 Only keep reference to the property/method objects long enough to bind the object
No need to store a reference to them long term
2015-09-24 19:36:47 +10:00
amaitland fc58a7db32 Cleanup some compiler warnings by making classes private
Remove unused using statements
2015-08-07 13:21:09 +10:00
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
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 bff700a965 Add TODO about strongly typing variable 2014-12-04 14:13:36 +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
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 e032025019 Fix long data type compiler warnings 2014-09-02 21:28:43 +10:00
amaitland 75f3e48e22 Move propertyHandler calls to JavascriptObjectWrapper 2014-08-28 21:00:55 +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 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 ff1c849559 Create missing root v8object 2014-08-28 19:02:03 +10:00
amaitland 3c49aa90ed Fixup incorrect includes 2014-08-28 17:17:00 +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 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 88ace1ddf5 Rename Value property to JsObject 2014-07-11 13:04:39 +10:00
amaitland 28788c674f Extract methodName variable (makes consistant with JavascriptMethodWrapper) 2014-07-11 12:53:03 +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 4331ba5a78 Similar change as elsewhere - go for a 'using' directive when possible. 2014-06-12 06:03:36 +03:00
Per Lundberg bad3d65ada Whitespace fix. 2014-06-12 06:02:43 +03:00
JanEggers 36ed4dbdc0 implemented Property Getter / Setter 2014-06-07 09:52:45 +02:00
JanEggers 731ebf67a9 reversed subprocess communication now Browser is host and renderer is client 2014-05-24 19:43:34 +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 e8d60b32c4 added some more meta data 2014-05-10 15:44:00 +02:00