2007-06-18 Mike Kestner * bootstrap-2.10 : bump version and tag. 2007-06-05 Mike Kestner * glib/ManagedValue.cs (ReleaseWrapper): new method. * glib/Value.cs : release the ManagedValue wrapper to avoid leaks. [Fixes #81799] 2007-05-03 Wade Berrier * generator/gapi2-codegen.in: * parser/gapi2-fixup.in: * parser/gapi2-parser.in: Don't use 'which' anymore, as it doesn't work in all caes (ie: when symlinks are in the way) 2007-04-28 Mike Kestner * generator/NativeCallbackSignature.cs : * generator/Signal.cs : don't use ref IntPtr in native callback sigs for struct parameters. Use IntPtr and StructureToPtr. Fixes the layout issues in MD introduced by the structure marshaling rework. 2007-04-24 Aaron Bockover * gtk/Widget.custom (StyleGetProperty): return null if gtksharp_widget_style_get_property returns FALSE (property doesn't exist) [Fixes #81445] * gtk/glue/widget.c (gtksharp_widget_style_get_property): check return of gtk_widget_class_find_style_property for NULL; function now returns TRUE if spec is not NULL, FALSE otherwise 2007-04-23 Brad Taylor * gtk/TreePath.custom: Override Equals and compare based upon the underlying indicies, instead of the object reference. [Fixes #81398] 2007-04-23 Mike Kestner * glib/Value.cs : add support for accessing generic struct boxed types as objects. [Fixes #79224] 2007-04-20 Mike Kestner * generator/CallbackGen.cs : switch to NativeCallbackSignature. * generator/GenBase.cs : add NativeCallbackType member. * generator/IGeneratable.cs : add NativeCallbackType member. * generator/ManagedCallString.cs : add guarded post call struct marshaling back to the native struct. * generator/NativeCallbackSignature.cs : new parallel to ImportSignature but using NativeCallbackType instead of MarshalType. * generator/Signal.cs : switch vm and sig marshaler callbacks to NativeCallbackSignature. Perform guarding post call struct marshaling back to the native struct. * generator/Parameters.cs : add NativeCallbackType member. * generator/SimpleBase.cs : add NativeCallbackType member. * generator/StructBase.cs : add NativeCallbackType member using IntPtr to support NULL handling. * gtk/NodeCellDataFunc.cs : update native marshaler sig. 2007-04-17 Mike Kestner * gtk/Gtk.metadata : hide TreeModel.RowsReordered signal so we can do a correct implementation while maintaining compat with the existing broken "NewOrder" parameter. * gtk/ListStore.custom : manual RowsReordered signal implementation. * gtk/RowsReorderedHandler.cs : manual implementation for preserve compat in the Args class. Adds NewChildOrder to replace the broken ChildOrder. * gtk/TreeModel.custom : manual RowsReordered signal declaration. * gtk/TreeModelFilter.custom : manual RowsReordered signal implementation. * gtk/TreeModelSort.custom : manual RowsReordered signal implementation. * gtk/TreeStore.custom : manual RowsReordered signal implementation. [Fixes #78512] 2007-04-17 Ben Motmans * doc/en/Gtk/Widget.xml: removed documentation for internal method 2007-04-17 Ben Motmans * gtk/Widget.custom: StyleGetPropertyValue that returns a GLib.Value when StyleGetProperty cannot automatically cast the GLib.Value (eg: Gdk.Color) [Fixes #81253] * doc/en/Gtk/Widget.xml: Documentation for the new StyleGetPropertyValue method and improved documentation for StyleGetProperty * gtk/TreeView.custom: OddRowColor and EvenRowColor properties * doc/en/Gtk/TreeView.xml: documentation for OddRowColor and EvenRowColor properties 2007-04-12 Brad Taylor * doc/en/Gtk/Widget.xml: Documentation for OnActivate, but only because Mike asked so nicely. 2007-04-12 Mike Kestner * glib/Object.cs : do the Timeout switch in the finalizer instead of in Dispose, where it can cause problems if people override Dispose. * generator/ObjectGen.cs : don't generate finalizers for every subclass, just rely on the ~GLib.Object implementation. 2007-04-12 Mike Kestner * glib/Idle.cs : * glib/Timeout.cs : don't add the CDeclCallback attr to the public delegate type, since it causes a MissingMethod exception on win32. 2007-04-09 Brad Taylor * gtk/glue/widget.c: * gtk/Widget.custom: Bind activate_signal in GtkWidgetClass. [Fixes #81343] 2007-04-05 Mike Kestner * glib/ToggleRef.cs : flush a few leftover changes from a ToggleRef refinement. 2007-03-15 Mike Kestner * generator/CallbackGen.cs : generate try/catch blocks for native to managed marshallers. [Fixes the rest of #80516] 2007-03-08 Mike Kestner * glib/Signal.cs : guard against NULL gchandles. * gdk/Input.custom : add try/catch blocks to native callbacks. * gtk/*.custom : ditto * gtk/NodeStore.cs : ditto 2007-03-08 Mike Kestner * glib/*.cs : add try/catch blocks to native callback methods for DestroyNotify, Copy/Free, and ToggleNotify handlers. Raise UnhandledException events on catches. 2007-03-06 Mike Kestner * generator/Signal.cs : add try/catch blocks to native callback virtual method delegate too. 2007-03-06 Mike Kestner * generator/Signal.cs : add try/catch blocks to native callback delegates so that exceptions are not propagated across the native boundary. Now raises GLib.ExceptionManager.UnhandledException. * glib/ExceptionManager.cs : new class with UnhandledException event and a static method to raise it. * glib/Signal.cs : wrap the generic EventHandler callback delegate with try/catch blocks and raise the UnhandledException event. 2007-03-05 Mike Kestner * gtk/Application.custom : set prgname in Init methods so that WM_CLASS is more appropriate. Programs using Gnome.Program already get a nice prgname, but Gtk.Application.Init apps were getting a path instead of a filename without extension. 2007-03-01 Brad Taylor * gtk/Dialog.custom: obsolete old, improperly bound SetAlternateButtonOrderFromArray. * gtk/Gtk.metadata: fix binding of the gtk_dialog_set_alternate_button_order_from_array. [Fixes #80706] 2007-03-01 Mike Kestner * generator/MethodBody.cs : handle set method conversion to property for array parameters with preceding count params. 2007-02-21 Peter Johanson * gtk/glue/cellrenderer.c: revert to previous implementation of _base_ functions to maintain backward-stability. [Fixes #77949] 2007-02-16 Peter Johanson * gtk/CellRenderer*.custom: new custom overrides for VMs. * gtk/glue/cellrenderer.c: add GType parameters to the invoke methods so we can identify the correct vtable to invoke from. 2007-02-16 Mike Kestner * glib/Object.cs : switch to ToggleRefs for all items created with CreateNativeObject. This gets all managed subclasses, with a little overhang into simple wrappers. * glib/ToggleRef.cs : new class to manage the weak to strong ref transitions as a native object flips between shared and unshared ownership. * gtk/Object.custom : revamp of the Destroyed signal handling. * gtk/Gtk.metadata : hide destroy signal so we can deal with it manually. [Fixes the reopen note of #72018.] 2007-02-03 Mike Kestner * gtk/StatusIcon.custom : obsolete overload for backcompat on GetGeometry, and custom PresentMenu method to invoke new glue. * gtk/glue/statusicon.c : glue method to connect to gtk_menu_popup without having to go across the native/managed boundary multiple times using gtk_status_icon_position_menu wrapper. [Fixes #79500] 2007-02-02 Brad Taylor * gdk/Gdk.metadata: fix incorrect ref_count with Pixbuf's RotateSimple method. 2007-01-09 Mike Kestner * generator/CallbackGen.cs : add PersistUntilCalled method generation to the wrapper class. Holds a GCHandle for the wrapper which is Freed when the delegate is invoked. * generator/MethodBody.cs : add "async" case for delegate scope. Use this scope to identify a callback parameter that needs to persist until the native side calls back. Only valid for single-invoke callbacks. * gtk/Gtk.metadata : mark Print.RunPageSetupDialogAsync done_cb param with the new async scope. 2007-01-09 Mike Kestner * sample/GtkDemo/DemoPixbuf.cs : use Marshal.Copy properly to avoid expose crashes. Revised from patch provided by Fabian Sturm. [#78262] 2007-01-09 Mike Kestner * sample/GtkDemo/DemoIconView.cs : use Gtk.Stock icons to avoid crashes when the previous gnome icons aren't installed. [#78212] 2007-01-09 Bart Deleye * parser/gapi_pp.pl : regex fix for tinymail parse. 2007-01-09 Brad Taylor * gdk/Pixbuf.custom: Properly dispose of PixbufLoaders when we're done with them. 2006-12-28 Brad Taylor * sample/GtkDemo/Makefile.am: * sample/GtkDemo/DemoPrinting.cs: Fix build on Win32. 2006-08-21 Mike Kestner * bootstrap-2.10 : tag and bump version to 2.10.0.