* api/gtk-api.xml: changed DisplayOptions by SetDisplayOptions.
* sources/Gtk.metadata: added rename hint for DisplayOptions. Moved
GtkHTMLStream hints to 'misc' area (they were in 'rename' area).
* gtk/Calendar.custom: added a .net style GetDate override.
* sample/CalendarApp.cs: updated to new methods in the Calendar API.
svn path=/trunk/gtk-sharp/; revision=12799
* api/gdk-api.xml : make Color.Parse retval a gboolean. Also change
some libname override rules to use win32 dllnames.
* sources/Gdk.metadata : rules for above.
svn path=/trunk/gtk-sharp/; revision=12095
* configure.in : Added support for Rsvg.NET -- librsvg
.NET bindings. (Made a check for the library. And
made it so "rsvg/Makefile" would be generated. Also
made it so it will display if rsvg-sharp.dll will
be generated or not.)
* makefile : Added support for Rsvg.NET -- librsvg
.NET bindings. (Added an entry for Rsvg.NET.)
* sources/gtk-sharp.sources : Added an entry for
Rsvg.NET -- librsvg .NET bindings.
* rsvg/ : Created "rsvg/" directory. (To hold stuff
for Rsvg.NET.)
* rsvg/Tool.cs : Created Rsvg.Tool class to hold
various procedures (which were not automatically
wrapped).
* rsvg/Makefile.in : Created "rsvg/Makefile.in".
* api/Makefile.in : Added and entry for Rsvg.NET.
svn path=/trunk/gtk-sharp/; revision=12020
* api/gtk-api.xml : mark TreeModel::GetValue value param out
suggested by Lee Mallabone <gnome@phonicmonkey.net>
* sources/Gtk.metadata : metadata for above
* sources/README : update the gnomedb/gda version reqs
svn path=/trunk/gtk-sharp/; revision=11766
* api/gtk-api.xml: Gtk.Editable.InsertText should have the
position be marked 'ref', not 'out', because it is an in-out parameter.
* gtk/Entry.custom: Overload for InsertText.
* gtk/Clipboard.custom: New overload for SetText.
svn path=/trunk/gtk-sharp/; revision=11430
GtkCellRenderer, GtkWindow, GtkRuler, GtkLayout, GtkScrolledWindow
and GtkSpinButton. Monotalk is very useful for this kind of work.
svn path=/trunk/gtk-sharp/; revision=11429
* api/gtk-api.xml:
* sources/Gtk.metadata:
* gtk/Window.custom: Mark out params in gtk_window_get_size and gtk_window_get_default_size.
svn path=/trunk/gtk-sharp/; revision=11268
'RequestSize' instead of 'SizeRequest' to avoid a name clash.
* api/gtk-api.xml:
* sources/Gtk.metadata: out param for gtk_widget_get_size_request.
svn path=/trunk/gtk-sharp/; revision=11046
* sources/Gtk.metadata (GtkTextView): Add a patch from Fredrik
Nilsson <jymdman@home.se> to add needed 'out' parameters.
svn path=/trunk/gtk-sharp/; revision=10355
* pango/Layout.custom: Add Size get property and add some nicer overloads
to avoid explicit passing in the string length
svn path=/trunk/gtk-sharp/; revision=10231
* api/gst-api.xml: Give int values to the ElementState enum, remove
incorrectly generated SetInternalConnectionFunction and a duplicated
type field
svn path=/trunk/gtk-sharp/; revision=10054
* sources/Gnome.metadata: add out param rules for a bunch of Canvas
methods (pointed out by Paul Duran).
* api/gnome-xml.api: updated
svn path=/trunk/gtk-sharp/; revision=9838
* api/gst-api.xml: Make Gst# link to libgstreamer.so as per pkg-config
--libs gstreamer
* sources/gtk-sharp.sources: ditto
svn path=/trunk/gtk-sharp/; revision=9791
* api/*.xml : a few new attrs
* generator/Parameters.cs : remove redundant ref keywords
* gtk/ListStore.custom: overload SetColumnTypes
* gtk/TreeStore.custom: overload SetColumnTypes
* parser/GAPI/Metadata.pm : allow callback nodes at class level
* sources/Gtk.metadata : hide ClipboardClearFunc and GetFunc,
tag types param of SetColumnTypes as array, uncomment needs_ref
tags on Widget methods to match the current api.xml file
svn path=/trunk/gtk-sharp/; revision=9148
we need to ref this object once we have a pointer to it or not.
By default this is set to true -- constructors and other functions
where we do own the object need to set this to false before setting
the "Raw" property. Also added Unref and RefCount methods.
* glue/object.c, glue/type.c: some utility functions for
refcounting support
* gdk/Pixbuf.custom: manually wrap a few functions so that
the refcount ends up being correct at the end (need an extra Unref)
* api/gdk-api.xml, sources/Gdk.metadata: metadata updates for
hiding manually-wrapped Pixbuf stuff
svn path=/trunk/gtk-sharp/; revision=8913
use when the IntPtr is NULL.
* generator/SignalHandler.cs, generator/CallbackGen.cs: removed
call to Initialize for structs
* gtk/Clipboard.custom, gtk/ClipboardClearFunc.cs,
gtk/ClipboardGetFunc.cs,
gtk/GtkSharp.GtkClipboardClearFuncNative.cs,
gtk/GtkSharp.ClipboardGetFuncNative.cs, SelectionData.custom:
Hand-wrapped selection handling stuff, along with relevant
signals and the like.
* gnome/voidObjectAffineSVPintSignal.cs: removed Initialize
for hand-wrapped signal
* sample/GnomeHelloWorld.cs, sample/Size.cs: compare against
.Zero instead of using IsNull
* api/gtk-api.xml, sources/Gtk.metadata: metadata updates for
hiding some manually-wrapped stuff
svn path=/trunk/gtk-sharp/; revision=8912
Much of this patch from Vlad, with substantial rework by mk.
* */makefile.win32 : introduce mapdllnames.pl, api, and glue
* generator/CallbackGen.cs : rework namespacing for csc compilation
* generator/Parameters.cs : ditto
* generator/Signal.cs : ditto
* generator/SignalHandler.cs : ditto
* glue/win32dll.c : new dll construction source
* glib/Value.cs : new ushort ctor/cast operator
* gtk/Table.custom : comment this out until we add a default ctor tag
* gtk/ThreadNotify.cs : make ReadyEvent public
* sources/Gdk.metadata : mark a Parse() param as ref
svn path=/trunk/gtk-sharp/; revision=8590
* sources/Gtk.metadata: Set null_ok on the callback argument
to Menu.Popup.
* generator/Parameters.cs: Handle null_ok properly for callback
arguments.
svn path=/trunk/gtk-sharp/; revision=7412
* glib/Object.cs (Ref): Added.
* gtk/Object.custom (Ref): Overload. Note that we were reffed.
(DisposeNative): Unref if we were explicitly reffed.
* generator/Method.cs: Call Ref if needs_ret is set.
* generator/StructBase.cs: Call Ref on all object accessors.
* glue/style.c: Ref returned GCs.
* sources/Gtk.metadata: Set needs_ret on various gdk-related
accessors in GtkWidget. Hide Ref/Unref methods on Widget and
RcStyle as these ought to be deprecated anyway.
svn path=/trunk/gtk-sharp/; revision=7380
* parser/gapi2xml.pl: Add support for "fake struct" opaque types.
* generator/StructBase.cs: Generate wrapper fields for opaque
fields as well as pointer fields.
* api/gdk-symbols.xml: Remove GdkAtom as it is now wrapped.
svn path=/trunk/gtk-sharp/; revision=7311
* generator/CallbackGen.cs: Generate wrappers to map
from managed delegates to native ones.
* generator/Ctor.cs: Call parms.Initialize for the static case.
* generator/Parameters.cs: Add "CType" property. Append []
to CSType if necessary. Add "HideData" property if a container
wishes to hide the user_data (used in callbacks).
(Initialize): Add case for callback.
* generator/SymbolTable.cs: Add size_t.
* glue/program.c: string[] marshalling is no longer broken,
remove hack.
* sources/Gtk.metadata: Disable
GtkColorSelection.SetChangePaletteHook and
GtkTreeView.GetSearchEqualFunc for now, they return delegates and
we don't support native->managed delegate mapping yet.
svn path=/trunk/gtk-sharp/; revision=7133