Commit Graph

734 Commits

Author SHA1 Message Date
Mike Kestner
639c24e0de 2005-03-29 Mike Kestner <mkestner@novell.com>
* generator/Parser.cs : add symbol type='marshal' support.
	* gdk/Event.cs : add GetEvent method to wrap arbitrary events.
	* gdk/gdk-symbols.xml : make Event, EventAny, and EventNoExpose
	marshal symbols using Event.GetEvent (). [Fixes #74184]

svn path=/trunk/gtk-sharp/; revision=42344
2005-03-29 18:02:04 +00:00
Mike Kestner
e13ae8a7d7 2005-03-28 Mike Kestner <mkestner@novell.com>
* gdk/Pixbuf.custom  : add FromNative static method and obsolete
	CreateFromNative, which should've been static.  [Fixes #74155]

svn path=/trunk/gtk-sharp/; revision=42319
2005-03-28 21:57:19 +00:00
Mike Kestner
282924fdf1 add docs for new cdecl cb attr and doc ObjectManager
svn path=/trunk/gtk-sharp/; revision=42260
2005-03-25 21:22:18 +00:00
Dan Winship
415773f269 * en/Gtk/NodeStore.xml (AddNode):
* en/Gtk/TreeNode.xml (AddChild): I, for one, welcome our new
	insert overloads.

	* en/Gtk/TreeNodeRemovedHandler.xml: add "child" arg

svn path=/trunk/gtk-sharp/; revision=41846
2005-03-15 17:34:36 +00:00
Mike Kestner
35395fbfe0 oops, forgot to doc PersistentData
svn path=/trunk/gtk-sharp/; revision=41843
2005-03-15 17:16:21 +00:00
Mike Kestner
320977f58f 2005-03-10 Mike Kestner <mkestner@novell.com>
* generator/SymbolTable.cs : fix gssize and gsize, they aren't 32 bit
	like the docs say they are.

svn path=/trunk/gtk-sharp/; revision=41666
2005-03-10 22:15:07 +00:00
Mike Kestner
9160dec10e 2005-03-09 Alexandre Gomes <alexmipego@hotmail.com>
* gtk/Gtk.metadata: Set GetVisibleRect param to be passed as out.

svn path=/trunk/gtk-sharp/; revision=41601
2005-03-09 15:06:38 +00:00
Mike Kestner
90a870e2de 2005-03-08 Mike Kestner <mkestner@novell.com>
* */*.cs : scrub for StringToPtrAnsi and string usage in DllImports.
	* */*.custom : begin the scrub here too.
	* generator/ConstStringGen.cs : implement IManualMarshaler and move to
	100% IntPtr marshaling.
	* generator/Ctor.cs : call Body.Finish too.
	* generator/IManualMarshaler.cs : new interface for generatables that
	marshal manually and need cleanup.
	* generator/Makefile.am : new file.
	* generator/MethodBody.cs : use IManualMarshaler if applicable.

svn path=/trunk/gtk-sharp/; revision=41579
2005-03-08 21:28:08 +00:00
Mike Kestner
f156babb71 some docs for new marshalers
svn path=/trunk/gtk-sharp/; revision=41460
2005-03-04 19:04:57 +00:00
Dan Winship
c47f1eb8d8 * gtk/Container.custom (ChildType): fix this to just call
gtk_container_child_type().

	* gtk/glue/container.c (gtksharp_container_base_child_type): kill

svn path=/trunk/gtk-sharp/; revision=41330
2005-03-01 18:02:16 +00:00
Dan Winship
217c4a8429 * sources/gnomedb.patch: Patch over a bug in gnome-db-editor.h
* gnomedb/gnomedb-api.raw: Regen

svn path=/trunk/gtk-sharp/; revision=41114
2005-02-23 20:22:19 +00:00
Dan Winship
05ddfae8dc * parser/gapi2xml.pl (parseTypeToken): don't parse punctuation
into the type name

	* gtk/gtk-api.raw: Regen, exposing the previously-broken
	AccelGroup.AccelActivate, AccelMap.Changed,
	ActionGroup.ConnectProxy, ActionGroup.DisconnectProxy,
	ActionGroup.PreActivate, ActionGroup.PostActivate, and
	Widget.EventAfter.

	* gtk/Gtk.metadata: Give proper names to the parameters of those
	signals

svn path=/trunk/gtk-sharp/; revision=41111
2005-02-23 20:16:40 +00:00
Miguel de Icaza
909200cf13 Contributions from spigaz@gmail.com
svn path=/trunk/gtk-sharp/; revision=41109
2005-02-23 19:01:51 +00:00
Dan Winship
65edda888f * parser/gapi2xml.pl: add a hack to allow "foo_bar_get_type()"
rather than "FOO_TYPE_BAR" in G_TYPE_CHECK_INSTANCE_CAST macros,
	allowing large parts of libgda that were previously misparsed to
	be parsed correctly

	* gda/gda-api.raw: Regen

	* gda/Gda.metadata: Make Gda.Value opaque, since it's mostly a
	union and we're horribly butchering its layout.

svn path=/trunk/gtk-sharp/; revision=41103
2005-02-23 17:37:06 +00:00
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
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
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
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
5ea462cee4 docs for the new Signal class
svn path=/trunk/gtk-sharp/; revision=40014
2005-02-02 23:58:49 +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
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
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
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
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
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
b857dbe608 2005-01-17 Mike Kestner <mkestner@novell.com>
* gtk/Style.custom : add Light, LightColors, Mid, MidColors, Dark,
	and DarkColors.
	* gtk/glue/style.c : add get_light and get_dark

svn path=/trunk/gtk-sharp/; revision=39073
2005-01-18 04:11:16 +00:00
Mike Kestner
41982e431d 2005-01-17 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide Stock.
	* gtk/Makefile.am : add new file.
	* gtk/StockManager.cs : stock item management methods.

svn path=/trunk/gtk-sharp/; revision=39068
2005-01-18 03:06:15 +00:00
Miguel de Icaza
50c2fa8c09 Contributions from ultrakorne@paranoici.org
svn path=/trunk/gtk-sharp/; revision=38819
2005-01-12 19:42:14 +00:00
Miguel de Icaza
efc722a12d Contributions from wizito@gentelibre.org
svn path=/trunk/gtk-sharp/; revision=38813
2005-01-12 19:37:30 +00:00
Miguel de Icaza
3156f18c10 Contributions from wizito@gentelibre.org
svn path=/trunk/gtk-sharp/; revision=38811
2005-01-12 19:35:22 +00:00
Miguel de Icaza
5d04249387 Contribution from Sebastien Pouliot
svn path=/trunk/gtk-sharp/; revision=38808
2005-01-12 19:31:30 +00:00
Miguel de Icaza
bd0222a8e4 Typo fixes from Alp Toker
svn path=/trunk/gtk-sharp/; revision=38807
2005-01-12 19:30:23 +00:00
Miguel de Icaza
e85f19bb28 Add contribution from Todd Berman
svn path=/trunk/gtk-sharp/; revision=38806
2005-01-12 19:29:42 +00:00
Miguel de Icaza
466b3796bb More updates from pixelpapst@users.sourceforge.net
svn path=/trunk/gtk-sharp/; revision=38804
2005-01-12 19:27:37 +00:00
Miguel de Icaza
7f8df4726f More updates from pixelpapst@users.sourceforge.net
svn path=/trunk/gtk-sharp/; revision=38803
2005-01-12 19:24:39 +00:00