* parser/gen_keysyms: Generates a C# Keys enum from the Gdk headers
(gdkkeysyms.h)
* gdk/Keys.cs: The generated Keys
svn path=/trunk/gtk-sharp/; revision=13542
* glib/Object.cs:
(GetObject): check that the target of the WeakReference is still there. Otherwise,
create a new wrapper for the IntPtr.
This fixes the random nullrefs when running nunit-gtk.
svn path=/trunk/gtk-sharp/; revision=13450
* generator/CallbackGen.cs: the new generated wrappers have:
-(optional) Field of the same type returned by the callback.
-A call to RemoveIfNotAlive at the beginning. It returns true,
return the dummy field.
-Added an object to the ctor signature and pass it to the base
class.
* generator/Ctor.cs: added a Params property.
* generator/Method.cs: set Static property in Parameters if the method
is static.
* generator/Parameters.cs: added Static property. The call creation of
the delegate wrapper (if applicable) uses the new signature. Pass a null
as object is the method is static.
* generator/StructBase.cs: set Static for the parameters of the ctors.
* glib/DelegateWrapper.cs: the ctor takes an object (the one creating
the wrapper or null) and creates a weak reference to it. Store it in
a static Hashtable (this way the wrapper itself is not garbage
collected).
(RemoveIfNotAlive): called from the native delegate callbacks. If the
target of the weak reference has been garbage collected, removes itself
from the hashtable to let the GC dispose this instance and returns true.
* gdk/Pixbuf.custom:
* gtk/Clipboard.custom:
* gtk/GtkSharp.GtkClipboardClearFuncNative.cs:
* gtk/GtkSharp.GtkClipboardGetFuncNative.cs:
* glade/XML.custom: changed delegate wrappers to match the new
signature.
svn path=/trunk/gtk-sharp/; revision=13237
* generator/SignalHandler.cs : Added Patch submitted by
Mark Crichton <crichton@gimp.org>, to get GtkMozEmbed
bindings working.
svn path=/trunk/gtk-sharp/; revision=13043
* 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
* sample/Fifteen.cs: work-around for bug 106145 in gnome bugzilla.
* sample/DbClient/client.cs: updated to make it compile again.
svn path=/trunk/gtk-sharp/; revision=12752
* README : Did some spelling and grammar corrections.
Fixed indentation problem. And added some more info.
* HACKING: Added info for people getting started with
hacking Gtk#.
svn path=/trunk/gtk-sharp/; revision=12583
to be ColorSelectionButton to avoid a name clash in the doc generator.
* gtk/TextBuffer.custom: Fix the Text property. Patch from Mathias
Hasselmann <mathias.hasselmann@gmx.de>.
svn path=/trunk/gtk-sharp/; revision=12572
were wrong.
There's a bug in the signature formation code. 'string []' is now
'String[]', which leads to deprecation of valid nodes. I'll be fixing that now.
svn path=/trunk/gtk-sharp/; revision=12571
* sample: Update samples to new Glade.Widget.
* glade/WidgetAttribute.cs: Moved the old GladeWidgetattribute
here. Now its called `Glade.WidgetAttribute'.
* glade/GladeWidgetAttribute.cs: Removed
* glib/Idle.cs: Do not allow Idle class to be instantiated.
svn path=/trunk/gtk-sharp/; revision=12554
* gtk/Application.cs (CurrentEvent): Property implementing the
suggestion from Paolo.
* glib/Object.cs (Dispose): Destructor might be invoked in a
thread, queue the object for destruction using the Gtk idle
handler. We perform the real destruction of the object in the
same thread as the Gtk+ main thread.
svn path=/trunk/gtk-sharp/; revision=12551
* sources/makefile : Added a "distclean" rule, so
that typing it will remove any source code directories,
and their contents. (This works by just deleting all
the subdirectories. Except for "CVS" of course.)
svn path=/trunk/gtk-sharp/; revision=12546
* sample/Makefile.in : Modified it to make it so "make clean"
will clean the "sample/rsvg" directory too. And made it so
a "make distclean" will do a distclean to the "sample/rsvg"
too.
* sample/rsvg/Makefile.in : Added the "distclean" rule to
it.
svn path=/trunk/gtk-sharp/; revision=12545