2008-04-19 Mike Kestner * gtk/glue/statusicon.c: fix time parameter usage. Not even sure how that compiled. I <3 C. 2008-04-17 Mike Kestner * atk/glue/misc.c: glue for vms and singleton setup. * atk/Misc.custom: add OnThreadsEnter, OnThreadsLeave, and SetSingletonInstance members for Bridge implementors. [More of #365437] 2008-04-17 Mike Kestner * glib/Object.cs: add Harden method to reduce the reflection overhead in Gnome.Program. 2008-04-17 Mike Kestner * glib/ToggleRef.cs: Add a Harden method to switch to a standard ref and just leak it. * gtk/Application.cs: revert the QuitPrepare stuff since it didn't always work. 2008-04-17 Mike Kestner * gtk/TreeModelAdapter.custom: * gtk/TreeModelFilter.custom: * gtk/TreeModelSort.custom: reworked patch from Christian Hoff to throw NotImplementedException for SetValue methods. Those should never have been added to the interface, and it's better to throw an exception than have infinite recursion kill the program. [Fixes #379542] 2008-04-16 Mike Kestner * gtk/Gtk.metadata: hide PrintContext.get_CairoContext. * gtk/PrintContext.custom: manual get_cairo_context implementation. Mono.Cairo assumes it is wrapping owned references, so we need to take a ref out on the returned cairo_t pointer. * sample/GtkDemo/DemoPrinting.cs: dispose the CairoContext in to be a good citizen and avoid warnings. 2008-04-15 Mike Kestner * generator/ReturnValue.cs: use new GLib.Opaque.OwnedCopy for owned opaque return values. * glib/Opaque.cs: introduce OwnedCopy property to support returning owned opaque instances from native to managed callbacks. [Fixes #374641] 2008-04-15 Mike Kestner * gtk/Gtk.metadata: hide GtkKey_ for manual impl. * gtk/Key.cs: manual implementation to manage delegate wrapper persistence. [Fixes #378989] 2008-04-15 Mike Kestner * gtk/FileSystemModel.custom: remove dead file. 2008-04-15 Mike Kestner * glib/Marshaller.cs: marshal null string arrays as a null IntPtr[]. [Fixes #378514] 2008-04-14 Mike Kestner * gtk/Application.cs: add QuitPrepare event for Gnome.Program usage. 2008-04-08 Marek Habersack * generator/InterfaceGen.cs: added a check for null obj in the generated GetObject method. 2008-04-04 Mike Kestner * atk/Atk.metadata: add a few more owned refs. 2008-04-04 Mike Kestner * glib/Global.cs: renamed from Program.cs. Program.Name is now Global.ProgramName to try to avoid clashes with existing Gnome.Program usage. * gtk/Application.cs: s/GLib.Program.Name/GLib.Global.ProgramName. 2008-04-04 Mike Kestner * atk/Atk.metadata: markup all the Ref* methods to indicate owned refs. * generator/ReturnValue.cs: Add owned object ToNative handling. * generator/VirtualMethod.cs: Split ToNative call from managed method invocation to avoid duplicate calls in null checking scenarios. * glib/Object.cs: add OwnedHandle property for use by language binding code which needs to pass owned refs to native methods. 2008-04-04 Mike Kestner * atk/Object.custom: take out a ref on the return value of OnRefChild. Also add some null guarding and default to IntPtr.Zero on exceptions. 2008-04-01 Mike Kestner * generator/InterfaceGen.cs: support "generic" interface implementations like those exposed by gio. This is specifically for libraries which return GTypes which are not exposed by the library but which implement GInterfaces which are exposed by the library. 2008-03-28 Andres G. Aragoneses * atk/Object.custom: custom properties for overriding class methods. * atk/Makefile.am: include Object.custom. * atk/glue/object.c: glue to override class methods. * atk/glue/Makefile.am: include object.c. 2008-03-27 Andres G. Aragoneses * glib/Program.cs: Add new static class for utility property, moving the code to call g_set_prgname() from gtk/Application.cs to here, and changing return value of g_set_program_name from bool to void. * gtk/Application.cs: Use Program.Name as a replacement of calling the native function g_set_prgname(). * glib/Makefile.am: add Program.cs. 2008-03-21 Mike Kestner * bootstrap-2.12: bump svn version * generator/CallbackGen.cs: add dnotify support to invoker. Store and respond with incoming UserData params. Start using __prefixed private vars to avoid collisions with parameters, like the 'result' params in gio. * generator/ManagedCallString.cs: use new data/dnotify invoker ctors. * generator/MethodBody.cs: * generator/Parameters.cs: don't link "out" length params to preceding strings. * generator/VMSignature.cs: don't require UserData to be last param, since it can have things like error after it. 2008-03-21 Mike Kestner * gtk/Gtk.metadata: s/GtkDestroyNotify/GDestroyNotify in vms too. 2008-03-14 Mike Kestner * pango/AttrList.custom: pass copies of the attrs to insert* since the list assumes ownership. * pango/Makefile.am: add new custom file. * pango/Pango.metadata: hide AttrList.Insert* for custom impl. 2008-03-12 Mike Kestner * glib/GType.cs: add an Init method for explicit initialization. 2008-03-04 Mike Kestner * bootstrap-2.12: update version to 2.12 and tag