GtkSharp/gtk
Gonzalo Paniagua Javier 3821938764 2003-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2003-04-06 09:21:15 +00:00
..
.cvsignore 2002-06-21 Mike Kestner <mkestner@speakeasy.net> 2002-06-21 12:29:04 +00:00
Adjustment.custom Add patches from Cesar 2002-11-08 23:32:27 +00:00
Application.cs 2003-03-25 Martin Baulig <martin@ximian.com> 2003-03-25 16:57:05 +00:00
Calendar.custom 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com> 2003-03-25 00:47:13 +00:00
Clipboard.custom 2003-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com> 2003-04-06 09:21:15 +00:00
ClipboardClearFunc.cs * generator/StructBase.cs: create a Zero static member for 2002-11-10 10:03:51 +00:00
ClipboardGetFunc.cs * generator/StructBase.cs: create a Zero static member for 2002-11-10 10:03:51 +00:00
ColorSelectionDialog.custom * gtk/ColorSelectionDialog.custom: Rename the inner Button class 2003-03-16 00:08:18 +00:00
Combo.custom Added new call 2002-11-07 19:19:38 +00:00
Dialog.custom 2003-02-21 Mike Kestner <mkestner@speakeasy.net> 2003-02-22 04:34:56 +00:00
Entry.custom Add a custom constructor to Entry, and fix API bugs with Widget and Frame. 2003-04-02 08:26:36 +00:00
FileSelection.custom * TestFileSelection.cs: Update to reflect FileSelection changes. 2003-02-20 04:03:15 +00:00
Frame.custom new file, adds Frame () constructor which creates a frame without label 2003-01-21 21:41:10 +00:00
GtkSharp.GtkClipboardClearFuncNative.cs 2003-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com> 2003-04-06 09:21:15 +00:00
GtkSharp.GtkClipboardGetFuncNative.cs 2003-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com> 2003-04-06 09:21:15 +00:00
HTMLStream.custom Update API 2003-02-05 06:30:34 +00:00
ListStore.custom 2003-02-21 Mike Kestner <mkestner@speakeasy.net> 2003-02-22 04:34:56 +00:00
Makefile.in 2002-12-22 Robert McQueen <robot101@debian.org> 2002-12-22 05:08:52 +00:00
makefile.win32 2003-02-21 Mike Kestner <mkestner@speakeasy.net> 2003-02-22 04:34:56 +00:00
MessageDialog.custom 2003-02-21 Mike Kestner <mkestner@speakeasy.net> 2003-02-22 04:34:56 +00:00
Object.custom * generator/StructBase.cs: create a Zero static member for 2002-11-10 10:03:51 +00:00
Paned.custom 2002-07-19 Duncan Mak <duncan@ximian.com> 2002-07-19 07:54:33 +00:00
ScrolledWindow.custom use this (null, null) 2002-07-17 15:38:03 +00:00
SelectionData.custom 2003-02-21 Mike Kestner <mkestner@speakeasy.net> 2003-02-22 04:34:56 +00:00
Style.custom 2003-02-08 Radek Doulik <rodo@ximian.com> 2003-02-08 17:33:17 +00:00
Table.custom 2002-10-26 Mike Kestner <mkestner@speakeasy.net> 2002-10-27 02:30:51 +00:00
TextBuffer.custom * gtk/ColorSelectionDialog.custom: Rename the inner Button class 2003-03-16 00:08:18 +00:00
TextView.custom 2003-01-10 Duncan Mak <duncan@ximian.com> 2003-01-10 19:16:48 +00:00
ThreadNotify.cs 2003-02-21 Mike Kestner <mkestner@speakeasy.net> 2003-02-22 04:34:56 +00:00
TreeModel.custom Forgot to cvs add, mike :-) 2002-08-10 23:40:20 +00:00
TreeModelSort.custom 2003-02-21 Mike Kestner <mkestner@speakeasy.net> 2003-02-22 04:34:56 +00:00
TreeSelection.custom 2003-02-21 Mike Kestner <mkestner@speakeasy.net> 2003-02-22 04:34:56 +00:00
TreeStore.custom 2003-02-21 Mike Kestner <mkestner@speakeasy.net> 2003-02-22 04:34:56 +00:00
TreeView.custom 2003-02-21 Mike Kestner <mkestner@speakeasy.net> 2003-02-22 04:34:56 +00:00
Viewport.custom Add a default zero-arg constructor for Gtk.Viewport. 2003-03-27 19:15:04 +00:00
Widget.custom * gtk/Widget.custom: Add a nice overload, rename it to 2003-01-30 02:56:49 +00:00
Window.custom 2003-02-06 Duncan Mak <duncan@ximian.com> 2003-02-06 07:03:49 +00:00