Commit Graph

2102 Commits

Author SHA1 Message Date
Mike Kestner
f8683d65e0 2005-02-18 Mike Kestner <mkestner@novell.com>
* en/Gtk/ClipboardGetFunc.xml : fix param list.

svn path=/trunk/gtk-sharp/; revision=40878
2005-02-18 19:47:00 +00:00
Mike Kestner
2dfc6f0d5e 2005-02-18 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : remove an incorrect and harmful rule on 
	ClipboardGetFunc.  [Fixes #69013]

svn path=/trunk/gtk-sharp/; revision=40874
2005-02-18 18:34:39 +00:00
Mike Kestner
a790f01a54 2005-02-17 Mike Kestner <mkestner@novell.com>
* */Makefile.am : define SYMBOLS if it isn't already to fix breakage
	with older automakes. 

svn path=/trunk/gtk-sharp/; revision=40810
2005-02-17 16:11:30 +00:00
Dan Winship
fec5eff891 * updater/updater.cs (Compare): handle BaseType changes
(Generate, AddTypeSignature): fix spelling of "delegate"
 
        * en/*: regenerate to update BaseType nodes

svn path=/trunk/gtk-sharp/; revision=40721
2005-02-15 21:53:03 +00:00
Dan Winship
14ae0b1953 * generator/ObjectGen.cs (GenChildProperties): If the class has an
ancestor that also defines child properties, make its child
        properties class be a subclass of that ancestor's child properties
        class. (Eg, make Gtk.ButtonBox.ButtonBoxChild be a subclass of
        Gtk.Box.BoxChild.)

svn path=/trunk/gtk-sharp/; revision=40720
2005-02-15 21:52:21 +00:00
Mike Kestner
a768f58c4f 2005-02-14 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : mark the color in Rgb.FindColor ref.

svn path=/trunk/gtk-sharp/; revision=40643
2005-02-14 19:32:10 +00:00
Mike Kestner
86535bb201 2005-02-11 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide Menu.SetScreen.
	* gtk/Menu.custom : manually implement Screen prop.

svn path=/trunk/gtk-sharp/; revision=40529
2005-02-12 06:30:56 +00:00
Miguel de Icaza
b0fe1620ea Patch from spigaz@gmail.com
svn path=/trunk/gtk-sharp/; revision=40505
2005-02-11 22:59:00 +00:00
Miguel de Icaza
2eaa69000c Contributions from mwh@sysrq.dk
svn path=/trunk/gtk-sharp/; revision=40504
2005-02-11 22:58:07 +00:00
Miguel de Icaza
9dba9353e3 Miguel contributions
svn path=/trunk/gtk-sharp/; revision=40503
2005-02-11 22:55:08 +00:00
Dan Winship
311cda7be0 * gtk/Gtk.metadata: Hide StyleGetProperty and StyleGetValist since
they're generated wrong, and StyleGet to avoid an ellipsis
	warning. (Also hide the deprecated ellipsis method "Set".)

	* gtk/Widget.custom (StyleGetProperty): implement manually, a la
	Gtk.Container.ChildGetProperty.

	* gtk/glue/widget.c (gtksharp_widget_style_get_property): glue for that

svn path=/trunk/gtk-sharp/; revision=40481
2005-02-11 15:59:22 +00:00
Dan Winship
053248d566 * generator/MethodBase.cs (Validate): use CName rather than always
saying "in ctor"

svn path=/trunk/gtk-sharp/; revision=40475
2005-02-11 15:07:22 +00:00
Mike Kestner
2bb68283d2 bump the svn version
svn path=/trunk/gtk-sharp/; revision=40448
2005-02-10 22:19:00 +00:00
Jeroen Zwartepoorte
46007cfd17 2005-02-10 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* sample/Actions.cs: Remove obsolete & unsafe GLib.Object.Data usage.


svn path=/trunk/gtk-sharp/; revision=40441
2005-02-10 21:50:50 +00:00
Mike Kestner
9a715222e4 2005-02-10 Mike Kestner <mkestner@novell.com>
* configure.in : update version for 1.9.2 release.

svn path=/trunk/gtk-sharp/; revision=40440
2005-02-10 21:41:14 +00:00
Mike Kestner
40f7e04616 2005-02-09 Mike Kestner <mkestner@novell.com>
* gtk/Widget.custom : use a static method for the ParentSet hack
	so we don't leak objects because the delegate holds an object ref.

svn path=/trunk/gtk-sharp/; revision=40346
2005-02-09 18:11:31 +00:00
Ben Maurer
ec4072d1b5 In doc:
2005-02-07  Ben Maurer  <bmaurer@ximian.com>

	* en/Gdk/Point.xml, en/Gdk/Rectangle.xml: Document new
	members.

In .:
2005-02-07  Ben Maurer  <bmaurer@ximian.com>

	* gdk/Point.custom, gdk/Rectangle.custom: misc. new apis to make
	this more like the S.D structs.


svn path=/trunk/gtk-sharp/; revision=40282
2005-02-08 00:19:32 +00:00
Mike Kestner
3e5b480903 2005-02-03 Mike Kestner <mkestner@novell.com>
* gtk/NodeStore.cs : use CreateNativeObject to allow subclassing.
	[Fixes #71749]

svn path=/trunk/gtk-sharp/; revision=40065
2005-02-03 15:03:17 +00:00
Mike Kestner
f120479d88 2005-02-03 Mike Kestner <mkestner@novell.com>
* glib/ObjectManager.cs (GetValidParentType): return null if
	G_TYPE_INVALID is returned from glue. [Fixes #72150]

svn path=/trunk/gtk-sharp/; revision=40063
2005-02-03 14:27:24 +00:00
Mike Kestner
5ea462cee4 docs for the new Signal class
svn path=/trunk/gtk-sharp/; revision=40014
2005-02-02 23:58:49 +00:00
Mike Kestner
da4e49bd31 2005-02-02 Mike Kestner <mkestner@novell.com>
* generator/Signal.cs : kill unnecessary BaseName prop.

svn path=/trunk/gtk-sharp/; revision=40008
2005-02-02 22:15:52 +00:00
Mike Kestner
6590388024 2005-02-02 Mike Kestner <mkestner@novell.com>
* generator/Makefile.am : remove source file.
	* generator/Signal.cs : generate marshaling callbacks and use new
	GLib.Signal marshaling class for events.
	* generator/SignalHandler.cs : kill. byebye SignalCallback subclasses.
	* glib/Makefile.am : update source files.
	* glib/GLibSharp.voidObjectIntPtrSignal.cs : kill.
	* glib/Object.cs : mark the old Before/After props Obsolete. Use
	GLib.Signal for the notify prop methods.
	* glib/Signal.cs : new signal marshaling class.  It manages all the 
	ConnectBefore/After stuff internally and connects itself to the native
	object using GCHandles and DestroyNotify lifecycle management.
	* glib/SignalCallback.cs : mark Obsolete.
	[Fixes #72018 and #69847]

svn path=/trunk/gtk-sharp/; revision=40007
2005-02-02 21:57:15 +00:00
Mike Kestner
a8f16beaa7 2005-02-01 Fredrik Nilsson <jymdman@home.se>
* glib/Marshaller.cs : DateTime marshaling fix.

svn path=/trunk/gtk-sharp/; revision=39952
2005-02-01 22:35:48 +00:00
Mike Kestner
6d888d8689 2005-01-31 Mike Kestner <mkestner@novell.com>
* gtk/FileChooserDialog.custom : move backend to first param to
	avoid conflicts with button names in overloaded ctor.

svn path=/trunk/gtk-sharp/; revision=39856
2005-01-31 15:49:56 +00:00
Mike Kestner
31a6de44ca 2005-01-31 Mike Kestner <mkestner@novell.com>
* generator/SymbolTable.cs : handle unsigned-*.
	* parser/gapi2xml.pl : handle const unsigned * parameters. Also fix
	a G_GNUC_PRINTF parsing bug exposed by a GMime.
	* */*-api.raw : regen.
	[Fixes #71825]


svn path=/trunk/gtk-sharp/; revision=39851
2005-01-31 15:23:41 +00:00
Miguel de Icaza
7c91483373 Fixes from spigaz@gmail.com
svn path=/trunk/gtk-sharp/; revision=39813
2005-01-30 20:35:05 +00:00
Miguel de Icaza
9abec7ceb7 Patches from pixelpapst@users.sourceforge.net
svn path=/trunk/gtk-sharp/; revision=39765
2005-01-30 00:01:18 +00:00
Miguel de Icaza
016f468b36 Patch from chris@schweeb.org
svn path=/trunk/gtk-sharp/; revision=39761
2005-01-29 23:51:56 +00:00
Mike Kestner
8364dd2be1 2005-01-28 Mike Kestner <mkestner@novell.com>
* generator/ReturnValue.cs : use ToNativeReturnType for ToNativeType
	instead of MarshalType.
	* generator/Signal.cs : deal with boxed return values. beef up return
	handling in the default handler generation code.
	* generator/SignalHandler.cs : use ToNative return types for native 
	callbacks. Remove redundant casting/conversion in callback impl.
	[Fixes #71899]

svn path=/trunk/gtk-sharp/; revision=39724
2005-01-28 20:24:14 +00:00
Dan Winship
de70fff09f * glib/Object.cs (AddNotification, RemoveNotification): methods to
subscribe to the "notify" signal (with property details). [#71684]

	* glib/GLibSharp.voidObjectIntPtrSignal.cs: autogenerated, for
	notifications

	* glib/NotifyHandler.cs: sort of autogenerated

svn path=/trunk/gtk-sharp/; revision=39717
2005-01-28 16:44:30 +00:00
Mike Kestner
289b127b10 2005-01-28 Mike Kestner <mkestner@novell.com>
* gtk/Dialog.custom : add a params array for button info to the ctor.
	* gtk/FileChooserDialog.custom : add a params array for button info to 
	both ctors.  Chain them to IntPtr.Zero.
	* gtk/Gtk.metadata : hide the ellipsis ctors for the dialog types.
	[Fixes #71818]
	* sample/GtkDemo/DemoDialog.cs : make the InteractiveDialog use the
	new Dialog ctor as it does in the c version.

svn path=/trunk/gtk-sharp/; revision=39713
2005-01-28 16:03:27 +00:00
Mike Kestner
ccd3cebf9d 2005-01-27 Mike Kestner <mkestner@novell.com>
* gtk/NodeSelection.cs : use new GetSelectedRows() overload.
	* gtk/TreeSelection.custom : add a GetSelectedRows overload without the
	out model param. [Fixes #71814]

svn path=/trunk/gtk-sharp/; revision=39654
2005-01-27 16:56:54 +00:00
Mike Kestner
f7e51fd250 Rsvg namespace doc had wrong license specified
svn path=/trunk/gtk-sharp/; revision=39651
2005-01-27 16:23:35 +00:00
Mike Kestner
7ecf198bc9 2005-01-27 Mike Kestner <mkestner@novell.com>
* gtk/NodeView.cs : fix the value creation in the ctor.

svn path=/trunk/gtk-sharp/; revision=39649
2005-01-27 15:30:19 +00:00
Mike Kestner
8152f4899e 2005-01-26 Mike Kestner <mkestner@novell.com>
* glib/Value.cs : add a private debugging DllImport for ref_counts
	since the glue is there already.  g_value_get_object returns an
	unowned ref, so don't pretend like we own it. Make get_Val work for
	GObject subclasses. [Fixes #71125]

svn path=/trunk/gtk-sharp/; revision=39615
2005-01-27 00:50:46 +00:00
John Luke
c672ddc7a3 flush
svn path=/trunk/gtk-sharp/; revision=39607
2005-01-26 23:05:42 +00:00
Mike Kestner
be5138c90b 2005-01-26 Mike Kestner <mkestner@novell.com>
* gtk/NodeView.cs : always use CreateNativeObject.

svn path=/trunk/gtk-sharp/; revision=39604
2005-01-26 22:46:24 +00:00
Mike Kestner
e601006aa3 2005-01-26 Mike Kestner <mkestner@novell.com>
* gtk/NodeView.cs : always use CreateNativeObject.

svn path=/trunk/gtk-sharp/; revision=39603
2005-01-26 22:41:20 +00:00
Mike Kestner
33cb5d82b4 2005-01-26 Mike Kestner <mkestner@novell.com>
* generator/*.cs : refactoring of Parameters class. Added IEnumerable
	to Parameters and gracefully handle elem == null instead of special
	casing parms == null all over the place. Parameter logic is now Count
	driven. [Fixes #71750]

svn path=/trunk/gtk-sharp/; revision=39594
2005-01-26 19:17:07 +00:00
Dan Winship
26198086f4 * generator/Property.cs (Generate): Remove a redundant WriteLine (that
resulted in there being 2 blank lines before every property).

	* generator/Signal.cs (Generate): s/Write/WriteLine/ to fix a
	weirdly-formatted if statement in the generated code.

svn path=/trunk/gtk-sharp/; revision=39584
2005-01-26 14:49:52 +00:00
John Luke
f2343fbb71 2005-01-25 John Luke <john.luke@gmail.com>
* sample/CustomNotebook.cs:
        * sample/CustomWidget.cs: use Widget.WidgetFlags prop to avoid
        obsolete warning


svn path=/trunk/gtk-sharp/; revision=39528
2005-01-25 21:18:33 +00:00
Mike Kestner
a9ecebce8f 2005-01-25 Mike Kestner <mkestner@novell.com>
* gnome/About.custom : implement a subclassable ctor.
	* gnome/Gnome.metadata : hide About ctor, fix About.Construct parms.
	* gnome/Makefile.am : add the new custom.
	[Fixes #71271]

svn path=/trunk/gtk-sharp/; revision=39521
2005-01-25 18:09:20 +00:00
Mike Kestner
ae84ad32ae 2005-01-25 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : hide all the Pixbuf.SaveTo methods.
	* gdk/Pixbuf.custom : implement the SaveTo methods.

svn path=/trunk/gtk-sharp/; revision=39514
2005-01-25 17:20:55 +00:00
Mike Kestner
fb12bb5f61 2005-01-25 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide all the SignalFunc using Toolbar methods.
	* gtk/Makefile.am : add the new custom.
	* gtk/Toolbar.custom : implement the SignalFunc methods. Deal with
	null for Widget params in *Element.

svn path=/trunk/gtk-sharp/; revision=39509
2005-01-25 15:28:42 +00:00
Mike Kestner
b8380e84ba 2005-01-24 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* generator/MethodBody.cs : fix out LPUGen params.

svn path=/trunk/gtk-sharp/; revision=39435
2005-01-24 19:44:37 +00:00
Mike Kestner
ea489c2353 2005-01-24 Mike Kestner <mkestner@novell.com>
* gda/Makefile.am : add new custom.
	* gda/XmlConnection.custom : add backcompat static ctor.
	* generator/ClassBase.cs : refactor lookup logic to here from Ctor
	and improve the collision resolution.
	* generator/Ctor.cs : refactor to use MethodBase.
	* generator/Makefile.am : add new file.
	* generator/MethodBase.cs : new base class for ctors and methods.
	* generator/Method.cs : refactor to use MethodBase.
	* generator/StructBase.cs : move some logic from here to Ctor.
	* gnome/CanvasPathDef.custom : add backcompat static ctor.
	* gnome/GPPath.custom : add backcompat static ctor.
	* gnome/Makefile.am : add new custom.
	* gtk/Gtk.metadata : mark a colliding Button ctor shared.

svn path=/trunk/gtk-sharp/; revision=39431
2005-01-24 18:25:02 +00:00
Jeroen Zwartepoorte
0ca2169a8f 2005-01-23 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gtk/ActionGroup.custom: Add a string index for the GetAction method.


svn path=/trunk/gtk-sharp/; revision=39374
2005-01-23 11:35:12 +00:00
Miguel de Icaza
a310c8747b Improve the documentation
svn path=/trunk/gtk-sharp/; revision=39362
2005-01-22 22:42:44 +00:00
Dan Winship
67e7fc486b * glib/Marshaller.cs (StringFormat): Calls String.Format and makes
sure the output has no unescaped "%"s. (For wrapping printf-style
	unmanaged methods with String.Format-style managed ones.)

	* gtk/MessageDialog.custom (MessageDialog): use it. #71405. Also,
	use gtk_message_dialog_new_with_markup by default, and add an
	overloaded ctor that lets you use the non-markup version.

	* gtk/Gtk.metadata: hide the GtkMessageDialog ctors so we don't
	get ellipsis warnings about them.

	* sample/GtkDemo/DemoApplicationWindow.cs:
	* sample/GtkDemo/DemoDialog.cs: simplify the MessageDialog usage;
	don't need to call String.Format separately now.

svn path=/trunk/gtk-sharp/; revision=39256
2005-01-20 15:45:13 +00:00
Mike Kestner
a5ea868d90 2005-01-18 Mike Kestner <mkestner@novell.com>
* generator/Method.cs : deal with owned retvals.
	* generator/ReturnValue.cs : add Owned prop.
	* gnome/Gnome.metadata : mark Thumbnail.ScaleDownPixbuf return owned.
	[Fixes #71335]

svn path=/trunk/gtk-sharp/; revision=39128
2005-01-19 02:58:42 +00:00