1 2009-10-05 Sebastien Pouliot <sebastien@ximian.com>
3 * ScriptableObjectGenerator.cs: Seal internal class
8 2009-09-30 Sebastien Pouliot <sebastien@ximian.com>
10 * WebApplication.cs: remove from svn
14 2009-09-30 Sebastien Pouliot <sebastien@ximian.com>
16 * ScriptableObjectGenerator.cs: Use HtmlPage instead of
17 WebApplication. Avoid allocation of Type[0] by using
18 Type.EmptyTypes (gendarme).
19 * WebApplication.cs: Move registration code to HtmlPage.
23 2009-09-29 Sebastien Pouliot <sebastien@ximian.com>
25 * ApplicationUnhandledExceptionEventArgs.cs: Unused, the real class
26 exists in System.Browser.dll
27 * WebApplication.cs: Remove unused code (it's available elsewhere
28 and unused from this instance)
30 2009-08-27 Chris Toshok <toshok@ximian.com>
32 * ScriptableObjectGenerator.cs (TryChangeType): the ScriptObject
33 might not correspond to a managed object at all. If it doesn't,
34 it will have a null ManagedObject property. In this case, if
35 we're expecting an HtmlElement, just create an HtmlElement from
36 the script object's Handle. Fixes the Html5Canvas demo.
40 2009-08-08 Chris Toshok <toshok@ximian.com>
42 * WebApplication.cs: remove an unnecessary "using System.Windows;"
44 2009-07-22 Rolf Bjarne Kvinge <RKvinge@novell.com>
46 * ScriptableObjectGenerator.cs: TryChangeType: Unwrap any
49 2009-07-22 Rolf Bjarne Kvinge <RKvinge@novell.com>
51 * ScriptableObjectGenerator.cs: TryChangeType: check if source type
52 can be assigned to destination type. Fixes types using inheritance.
54 2009-07-22 Rolf Bjarne Kvinge <RKvinge@novell.com>
56 * ScriptableObjectGenerator.cs: Add description to exception message.
58 2009-05-18 Andreia Gaita <avidigal@novell.com>
60 * ScriptableObjectGenerator.cs: Add TryChangeType to the js binder,
61 to make argument validation easier
63 2009-04-14 Rolf Bjarne Kvinge <RKvinge@novell.com>
65 * WebApplication.cs: Generate all P/Invoke methods.
67 2009-03-10 Andreia Gaita <avidigal@novell.com>
69 * ScriptableObjectGenerator.cs: Add generic type support
71 2009-02-23 Andreia Gaita <avidigal@novell.com>
73 * WebApplication.cs: Keep a list of cached objects
75 2009-02-11 Andreia Gaita <avidigal@novell.com>
77 * ScriptableObjectGenerator.cs (ValidateType): Fix infinite recursion
80 2009-02-11 Andreia Gaita <avidigal@novell.com>
82 * WebApplication.cs: Register a dummy script object wrapper to serve
83 as the "services" object and provide the createObject method
85 2009-02-04 Andreia Gaita <avidigal@novell.com>
87 * ScriptableObjectWrapper.cs:
88 - Change Invoke delegate to support a name parameter - custom methods
89 like createManagedObject are a part of the wrapper class but can be
90 called directly on any object, so they're invoked by name and treated
92 - Optimize the constructor a bit.
93 - Implement event removal.
94 - Use the wrapper as a handle for the native calls instead of the
95 object it's wrapping, so we can call stuff directly on the wrapper
96 (like custom methods registered by name).
98 2009-02-02 Andreia Gaita <avidigal@novell.com>
100 * ScriptableObjectGenerator.cs: Set HasTypes property
101 if the object referencs any types that can be created.
103 2009-02-02 Andreia Gaita <avidigal@novell.com>
105 * WebApplication.cs: Move ScriptableTypes from ScriptObject to
106 WebApplication. Validate duplicate type names.
108 * ScriptableObjectGenerator.cs: All the types that are used by
109 properties and methods can be created via script, just as if they
110 were registered with RegisterCreateableType, so go through properties
111 and methods and register all the types used there.
113 2009-02-02 Andreia Gaita <avidigal@novell.com>
115 * ScriptableObjectGenerator.cs: Remove ScriptableObjects add, it's done
116 inside the ScriptableObjectWrapper constructor.
118 2009-02-02 Andreia Gaita <avidigal@novell.com>
120 * ScriptableObjectGenerator.cs: Split out the wrapper
121 class and move it to the S.W.Browser side. It inherits from ScriptObject
122 and has it's own pinvokes, so it deserves it's own little place on the tree.
124 2009-02-02 Andreia Gaita <avidigal@novell.com>
126 * ScriptableObjectGenerator.cs (SetPropertyFromUnmanaged): Catch any setter
127 exceptions and return instead of throwing, for now.
129 2009-01-29 Andreia Gaita <avidigal@novell.com>
131 * ScriptableObjectGenerator.cs (ChangeType): Add support for js value->c# enum
134 2009-01-27 Chris Toshok <toshok@ximian.com>
136 * ScriptableObjectGenerator.cs (ValueFromObject): fix uint32 case.
138 2009-01-22 Geoff Norton <gnorton@novell.com>
140 * ScriptableObjectGenerator.cs: Implement support for marshalling uint32 as well
142 2009-01-21 Andreia Gaita <avidigal@novell.com>
144 * WebApplication.cs: Initial support for creatable types.
146 2009-01-21 Andreia Gaita <avidigal@novell.com>
148 * WebApplication.cs: Implement RegisterScriptableObject, add
149 support for scriptable objects with complex types.
151 * ScriptableObjectGenerator.cs:
152 - ScriptableObjectGenerator: This is now static, and mainly
153 does type validation (optional) when asked to wrap an object instance.
155 - ScriptableObjectWrapper: This class inherits ScriptObject and extends it
156 to support managed lookups of properties, methods, etc. All managed objects
159 2008-12-20 Rolf Bjarne Kvinge <RKvinge@novell.com>
161 * WebApplication.cs: Remove pinvokes from here, they should all go into
162 NativeMethods. Use the correct pinvoke for
163 plugin_instance_get_init_params, fixing a memory corruption.
165 2008-12-03 Rolf Bjarne Kvinge <RKvinge@novell.com>
167 * ScriptableObjectGenerator.cs: Add support for retrieving a null
170 2008-11-21 Rolf Bjarne Kvinge <RKvinge@novell.com>
172 * ScriptableObjectGenerator.cs: Some marshalling fixes for managed
173 objects deriving from ScriptObject.
175 2008-11-20 Rolf Bjarne Kvinge <RKvinge@novell.com>
177 * WebApplication.cs: Corcompare fixes.
179 2008-08-01 Rolf Bjarne Kvinge <RKvinge@novell.com>
181 * ScriptableObjectGenerator.cs: Moved and stubbed stuff according to
184 2008-07-31 Rolf Bjarne Kvinge <RKvinge@novell.com>
186 * WebApplication.cs: GetProperty isn't generic anymore.
188 2008-07-22 Rolf Bjarne Kvinge <RKvinge@novell.com>
190 * WebApplication.cs: Removed ApplicationUnhandledException.
192 2008-04-01 Rolf Bjarne Kvinge <RKvinge@novell.com>
194 * ScriptableObjectGenerator.cs: Completely remove Kind.NPOBJ.
196 2007-08-20 Jb Evain <jbevain@novell.com>
198 * ScriptableObjectGenerator.cs: use Helper methods to
199 avoid calling internal methods of mscorlib.
201 2007-08-09 Miguel de Icaza <miguel@novell.com>
203 * ScriptableObjectGenerator.cs: Some changes to compile with the
204 2.1 mscorlib, it does not build completely yet, and am afraid we
205 will have to resort to using friend assemblies.
207 2007-08-06 Jackson Harper <jackson@ximian.com>
209 * ScriptableObjectGenerator.cs: Fix function name.
211 2007-08-06 Jackson Harper <jackson@ximian.com>
213 * WebApplication.cs: initParams doesn't require a key=value string
214 according to the docs
215 (http://msdn2.microsoft.com/en-us/library/bb417075.aspx). In the
216 "param1, param2" case just add the keys.
218 2007-08-02 Chris Toshok <toshok@ximian.com>
220 * WebApplication.cs: populate the StartupArgs dictionary based on
221 the plugin's initParams.
223 2007-07-27 Jackson Harper <jackson@ximian.com>
225 * ScriptableObjectGenerator.cs: Expose some of these methods
226 (maybe we should move them to agmono?).
227 - Add value<->npobj support
229 2007-07-25 Chris Toshok <toshok@ximian.com>
231 * ScriptableObjectGenerator.cs: more gross stuff. add event
234 2007-07-21 Chris Toshok <toshok@ximian.com>
236 * WebApplication.cs, ScriptableObjectGenerator.cs: rework the
237 scriptable object stuff pretty substantially. separate type
238 validation from the generation of the wrapper object. This is so
239 that eventually with events we won't need to validate the type
240 whenever we wrap event args (since we'll already have validated it
241 during the course of validating the class containing the
242 scriptable event.) Also, fix property sets, gets, and invocation.
243 everything except events should be working. Also, leave a comment
244 about the Binder implementation (and how it's not necessaryin the
247 2007-07-17 Chris Toshok <toshok@ximian.com>
249 * ScriptableObjectGenerator.cs (InvokeFromUnmanaged): marshal the
252 2007-07-16 Chris Toshok <toshok@ximian.com>
254 * ScriptableObjectGenerator.cs: change InvokeFromUnmanaged to take
255 an IntPtr[] for its args, instead of Value[], and do the
256 marshalling manually. this gets the bubblemark start/stop links
259 2007-07-16 Chris Toshok <toshok@ximian.com>
261 * ScriptableObjectGenerator.cs: implement this in terms of the
262 plugin p/invokes for scriptable object wrappers.
264 * WebApplication.cs: rename "instance" to "plugin_handle", and
265 ScriptableObjectGenerator doesn't return a string now - it
266 actually creates the wrapper class in the plugin.
268 2007-06-14 Atsushi Enomoto <atsushi@ximian.com>
270 * WebApplication.cs : more impl. based on assumed PInvokes.
272 2007-06-08 Atsushi Enomoto <atsushi@ximian.com>
274 * ScriptableObjectGenerator.cs : generate javascript object from
276 * WebApplication.cs : use above (still nothing works)
278 2007-06-06 Atsushi Enomoto <atsushi@ximian.com>
280 * WebApplication.cs : some code, still does nothing.
282 2007-06-02 Atsushi Enomoto <atsushi@ximian.com>
284 * ApplicationUnhandledExceptionEventArgs.cs WebApplication.cs :