Commit graph

563 commits

Author SHA1 Message Date
Mike Kestner
5cebcec983 2003-11-19 Peter Williams <peter@newton.cx>
* gtk/Gtk.metadata: Add some array attributes for some "type *elem,
 	int n_elem" array params.

svn path=/trunk/gtk-sharp/; revision=20251
2003-11-19 23:12:47 +00:00
Mike Kestner
cf901a483b 2003-11-19 Mike Kestner <mkestner@ximian.com>
* parser/gapi_pp.pl : handle files and dirs in ARGV.
	* parser/gapi2xml.pl : deal with struct keyword in param decls
	* parser/gapi-parser : handle <file> elements.

svn path=/trunk/gtk-sharp/; revision=20238
2003-11-19 18:44:01 +00:00
Mike Kestner
77a2ac2405 2003-11-18 Mike Kestner <mkestner@ximian.com>
* configure.in : tagged for 0.14 and bumping VERSION.

svn path=/trunk/gtk-sharp/; revision=20211
2003-11-19 02:26:47 +00:00
Mike Kestner
1da954aed6 2003-11-18 Mike Kestner <mkestner@ximian.com>
* gtkhtml/Makefile.in : make the install target conditional too.

svn path=/trunk/gtk-sharp/; revision=20208
2003-11-19 01:50:07 +00:00
Mike Kestner
da2c698abc 2003-11-18 Moritz Balz <verteiler@mbalz.de>
* gdk/Window.custom : remove Visible and Viewable since the Is*
	methods are now gen'd as properties.

svn path=/trunk/gtk-sharp/; revision=20202
2003-11-18 21:59:18 +00:00
Mike Kestner
3ecf658ac2 2003-11-18 Mike Kestner <mkestner@ximian.com>
* pango/Pango.metadata : mark ref params on LayoutLine.GetExtents
	and GetPixelExtents.  [Fixes #50338]
	* pango/pango-api.xml : regenerated.

svn path=/trunk/gtk-sharp/; revision=20199
2003-11-18 21:47:57 +00:00
Mike Kestner
4c24cd0747 2003-11-18 Peter Williams <peter@newton.cx>
* gtk/NodeStore.cs (GetNode): New public function. Patch refactored
	a bit to eliminate code duplication with get_node_cb.

svn path=/trunk/gtk-sharp/; revision=20188
2003-11-18 20:13:39 +00:00
John Luke
e71f1cda17 2003-11-18 John Luke <jluke@cfl.rr.com>
* configure.in: test for gtkhtml3
		* gtkhtml/Makefile.in: build conditionally

svn path=/trunk/gtk-sharp/; revision=20184
2003-11-18 19:57:05 +00:00
Mike Kestner
45faa30e22 2003-11-18 Mike Kestner <mkestner@ximian.com>
* gdk/Pixbuf.custom : resurrect the stream/resource ctors. rename
	LoadResource to LoadFromResource for the string overload.
	* gdk/PixbufLoader.custom: add an internal prop to get an unwrapped
	pixbuf handle.

svn path=/trunk/gtk-sharp/; revision=20183
2003-11-18 19:10:36 +00:00
Gonzalo Paniagua Javier
6506bcb5cc 2003-11-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* gdk/Pixbuf.custom:
	(LoadResource (assembly, resource)): a null assembly uses the calling
	assembly.

svn path=/trunk/gtk-sharp/; revision=20124
2003-11-17 18:54:07 +00:00
Ettore Perazzoli
c3b09b0d5b * gdk/Pixbuf.custom: Removed the Assembly constructors.
(Pixbuf.LoadResource (string)): New.
(Pixbuf.LoadResource (Assembly, string)): New.

svn path=/trunk/gtk-sharp/; revision=20103
2003-11-17 07:38:40 +00:00
Mike Kestner
62a858e0cd 2003-11-16 Mike Kestner <mkestner@ximian.com>
* generator/Parameters: handle array+len param pairs.
	* gtk/Gtk.metadata : unhide DestDefaults and mark targets param of
	drag_dest_set as array.
	* gtk/gtk-api.xml : regenerate

svn path=/trunk/gtk-sharp/; revision=20096
2003-11-17 03:44:32 +00:00
Mike Kestner
8c66c5c7c6 2003-11-14 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : fully qualify attr paths
	* parser/gapi-fixup.cs : compile a path expression per Ben Maurer
	suggestion.

svn path=/trunk/gtk-sharp/; revision=20013
2003-11-14 22:34:07 +00:00
Mike Kestner
0a15e37472 2003-11-14 Mike Kestner <mkestner@ximian.com>
* configure.in : update VERSION to 0.14. Tagged 0.13.

svn path=/trunk/gtk-sharp/; revision=20002
2003-11-14 19:14:31 +00:00
Mike Kestner
5dd6cef552 2003-11-13 Mike Kestner <mkestner@ximian.com>
* generator/SignalHandler.cs : guard against destroyed signalhandlers.

svn path=/trunk/gtk-sharp/; revision=19982
2003-11-14 03:05:20 +00:00
Mike Kestner
d69268abbf 2003-11-07 Mike Kestner <mkestner@ximian.com>
* configure.in : add mono check.  expand wrapper scripts
	* generator/Makefile.in : use install. install a gapi-codegen wrapper.
	* generator/SymbolTable.cs : add SimpleGen for short
	* generator/gapi-codegen.in : new wrapper script in file.
	* parser/Makefile.in : use install. install a gapi-fixup wrapper.
	* generator/gapi-fixup.in : new wrapper script in file.
	* parser/gapi2xml.pl : deal with non-namespaced enums. ignore
	forward struct declarations.

svn path=/trunk/gtk-sharp/; revision=19712
2003-11-07 18:14:35 +00:00
Mike Kestner
b57221cf44 2003-11-05 Mike Kestner <mkestner@ximian.com>
* gtk/ITreeNode.cs : make Parent readonly
	* gtk/TreeNode.cs : use an internal method to set parent on the
	child, and set child.Parent to null in RemoveChild.

svn path=/trunk/gtk-sharp/; revision=19651
2003-11-05 22:11:45 +00:00
Mike Kestner
7553348291 2003-11-05 Moritz Balz <verteiler@mbalz.de>
* gdk/Window.custom : System.Drawing.Rectangle/Point customizations

svn path=/trunk/gtk-sharp/; revision=19650
2003-11-05 21:40:52 +00:00
Mike Kestner
58b580c26f 2003-11-04 Mike Kestner <mkestner@ximian.com>
* gtk/TreeNodeAttribute.cs : sealed per Ben Maurer's suggestion.
	* gtk/TreeNodeValueAttribute.cs : ditto

svn path=/trunk/gtk-sharp/; revision=19648
2003-11-05 21:25:32 +00:00
Mike Kestner
912980c396 2003-11-04 Mike Kestner <mkestner@ximian.com>
* glib/Value.cs : add set to Val prop
	* glue/Makefile.am : build nodestore.c
	* glue/makefile.win32 : link nodestore.o
	* glue/nodestore.c : new, glue for TreeModel implementation
	* gtk/NodeStore.cs : new tree store implementation
	* gtk/ITreeNode.cs : new interface for nodestore node types
	* gtk/TreeNode.cs : abstract class for deriving nodestore nodes
	* gtk/TreeNodeAttribute.cs : tree node marking attr
	* gtk/TreeNodeValueAttribute.cs : node column marking attr
	* gtk/TreeView.custom : add ctor(NodeStore)

svn path=/trunk/gtk-sharp/; revision=19630
2003-11-04 23:20:15 +00:00
John Luke
8c74eb6186 * gtk/Gtk.metadata: set correct preferred constructor for button
* gtk/gtk-api.xml: regenerated

svn path=/trunk/gtk-sharp/; revision=19628
2003-11-04 22:52:11 +00:00
John Luke
6272b94c05 2003-11-04 John Luke <jluke@cfl.rr.com>
* sources/makefile: add gstreamer 0.6.4 sources
	* sources/gstreamer-parse.patch: fixes to parse gst
	* gst/Gst.metadata: new metadata
	* gst/Makefile.in: add gapi-fixup to Makefile
	* gst/gst-api.xml: new api file for 0.6.4

svn path=/trunk/gtk-sharp/; revision=19625
2003-11-04 21:56:24 +00:00
Mike Kestner
7ade209999 2003-11-02 Mike Kestner <mkestner@ximian.com>
* generator/CallbackGen.cs : use a temporary ret value if there
	is any cleanup to be done after the call.  Thanks to John Luke
	for a patch which identified the problem.

svn path=/trunk/gtk-sharp/; revision=19561
2003-11-03 01:36:55 +00:00
Radek Doulik
3fb667172b 2003-11-01 Radek Doulik <rodo@ximian.com>
* gtk/TreeModelSort.custom: implementation of GetValue/SetValue
	(copied from TreeStore.custom)

	* gtk/TreeModel.custom: added GetValue/SetValue

svn path=/trunk/gtk-sharp/; revision=19518
2003-11-01 12:00:26 +00:00
Mike Kestner
7cf6671bce 2003-10-30 Ken Foster <kenfoster@tampabay.rr.com>
* glue/button.c: initial creating of glue file for GdkButton
	* glue/Makefile.am: added button.c to glue make
	* glue/makefile.win32: added button.c to win32 glue make
	* gtk/Button.custom: expose in_button GdkButton member

svn path=/trunk/gtk-sharp/; revision=19486
2003-10-30 18:19:59 +00:00
Martin Willemoes Hansen
d5a4cdb689 * generator/Method.cs: marked Is and Has methods,
to be generated as properties, fixes bug [47910]

svn path=/trunk/gtk-sharp/; revision=19468
2003-10-29 22:11:59 +00:00
Mike Kestner
0a6f618d58 2003-10-28 Mike Kestner <mkestner@ximian.com>
* */Makefile.in : create the apidir before installing to it.

svn path=/trunk/gtk-sharp/; revision=19442
2003-10-28 20:03:29 +00:00
Mike Kestner
21a73a2cbe 2003-10-28 Mike Kestner <mkestner@ximian.com>
* configure.in : releasing 0.12

svn path=/trunk/gtk-sharp/; revision=19439
2003-10-28 18:48:59 +00:00
Mike Kestner
0cdee479e2 2003-10-28 Mike Kestner <mkestner@ximian.com>
* generator/BoxedGen.cs : generate GLib.Value ctors. [fixes #47168]
	* generator/Property.cs : use new Boxed value ctors.
	* generator/StructBase.cs : use existing Writer if available.

svn path=/trunk/gtk-sharp/; revision=19433
2003-10-28 15:45:35 +00:00
Mike Kestner
e65f1814c0 2003-10-27 Moritz Balz <verteiler@mbalz.de>
* gdk/Drawable.custom : add a S.D.Rectangle overload for DrawRect.

svn path=/trunk/gtk-sharp/; revision=19425
2003-10-27 20:00:15 +00:00
Martin Willemoes Hansen
9925ac1e6f * gtk/Gtk.metadata: Added the rest of sources/Gtk.metadata
and sorted the metadata.
        * gtk/gtk-api.xml: Regenerated, to reflect the above changes.
          Tags are swapped around. PaintBox, PaintBoxGap, PaintShadow and
          PaintShadowGap are moved arround as well.
        * sources/Gtk.metadata: Removed

svn path=/trunk/gtk-sharp/; revision=19407
2003-10-26 19:05:59 +00:00
Martin Willemoes Hansen
109fe49de3 * gtk/Gtk.metadata: Added metadata from sources/Gtk.metadata
* gtk/gtk-api.xml: Reflects changes of the metadata move,
          tags are swapped around.
        * sources/Gtk.metadata: Removed metadata, which are moved to
          gtk/Gtk.metadata

svn path=/trunk/gtk-sharp/; revision=19349
2003-10-23 21:28:32 +00:00
Martin Willemoes Hansen
d4c4b4f137 * gtk/Gtk.metadata: Added metadata from sources/Gtk.metadata
* gtk/gtk-api.xml: Reflects changes of the metadata move,
          tags are swapped around.
        * gtkhtml/Gtk.metadata: Added metadata from sources/Gtk.metadata
        * gtkhtml/gtkhtml-api.xml: Reflects changes of the metadata move,
          tags are swapped around.
        * sources/Gtk.metadata: Removed metadata, which are moved to
          gtk/Gtk.metadata and gtkhtml/Gtk.metadata

svn path=/trunk/gtk-sharp/; revision=19310
2003-10-22 19:25:37 +00:00
Mike Kestner
4431ba15e5 2003-10-22 Mike Kestner <mkestner@ximian.com>
* gtkhtml/gtkhtml-api.xml : regenerated
	* sources/makefile : add gtkhtml-embedded.* to the parse. Patch
	proposed by orph on bug #49875.

svn path=/trunk/gtk-sharp/; revision=19302
2003-10-22 15:10:40 +00:00
Mike Kestner
974db35edf 2003-10-20 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : mark TargetEntry.flags as type TargetFlags.
	* gtk/gtk-api.xml : regenerated  [fixes #49859]

svn path=/trunk/gtk-sharp/; revision=19235
2003-10-20 22:05:01 +00:00
Mike Kestner
5eadb9b87c 2003-10-20 Mike Kestner <mkestner@ximian.com>
* generator/Parameters.cs : treat interface out params like objects.
	* gtk/gtk-api.xml : regenerated
	* gtk/Gtk.metadata : mark TreeSelection.GetSelected params out.
	* gtk/TreeSelection.custom : emptied since it's now generated.
	* sources/Gtk.metadata : kill hide of TreeSelection.GetSelected.
	[fixes #49858]

svn path=/trunk/gtk-sharp/; revision=19229
2003-10-20 21:27:38 +00:00
Mike Kestner
8eeccbb55c 2003-10-20 Mike Kestner <mkestner@ximian.com>
* atk/atk-api.xml : regenerated
	* gdk/gdk-api.xml : regenerated
	* gtk/gtk-api.xml : regenerated
	* gtkhtml/gtkhtml-api.xml : regenerated [Fixes #49875]
	* parser/gapi2xml.pl : handle unnamed parameter declarations.

svn path=/trunk/gtk-sharp/; revision=19217
2003-10-20 20:02:16 +00:00
Mike Kestner
0525cb807e 2003-10-20 Mike Kestner <mkestner@ximian.com>
* generator/Parameters.cs : add a cast to the call_string for Length
	params other than int.

svn path=/trunk/gtk-sharp/; revision=19202
2003-10-20 17:33:05 +00:00
Mike Kestner
ff35a19db0 2003-10-18 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : add move-node rules for Paint methods.
	* gtk/gtk-api.xml : regenerated
	* parser/gapi2xml.pl : put paint_ methods in global, not Paint.
	* parser/gapi-fixup.cs : add move-node rule handling. [Fixes #47980]

svn path=/trunk/gtk-sharp/; revision=19184
2003-10-19 01:35:24 +00:00
Mike Kestner
c62e9ab977 2003-10-17 Mike Kestner <mkestner@ximian.com>
* generator/Parameters.cs : mark enum pointer params as out.
	need to audit if any are really arrays.  [Fixes #49779]

svn path=/trunk/gtk-sharp/; revision=19153
2003-10-17 23:06:37 +00:00
Mike Kestner
67e0164e7d 2003-10-17 Mike Kestner <mkestner@ximian.com>
* gtk/Window.cs : override Raw prop and take a ref, since gtk+
	owns the ref to new Windows, and we need a ref.  [Fixes #47721]

svn path=/trunk/gtk-sharp/; revision=19151
2003-10-17 22:31:46 +00:00
Mike Kestner
b922fdc99b 2003-10-17 Mike Kestner <mkestner@ximian.com>
* gnome/CanvasPoints.custom : make New overload a ctor overload.
	* gnome/Gnome.metadata : mark CanvasPoints as opaque
	* gnome/gnome-api.xml : regenerated. [Fixes #37256]

svn path=/trunk/gtk-sharp/; revision=19145
2003-10-17 20:23:24 +00:00
Gonzalo Paniagua Javier
971b309120 2003-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* gtk/ThreadNotify.cs: close the pipe and detach the GSource when
	explicitly requested or finalized.

svn path=/trunk/gtk-sharp/; revision=19142
2003-10-17 19:17:19 +00:00
Gonzalo Paniagua Javier
ca54b617d6 2003-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* gconf/tools/schemagen.cs: support for lists.

svn path=/trunk/gtk-sharp/; revision=19140
2003-10-17 17:36:20 +00:00
Mike Kestner
686688d760 2003-10-15 Mike Kestner <mkestner@ximian.com>
* generator/Property.cs : use new Opaque value ctor and
	rework get/set blocks for Opaque types. [Fixes #47959]
	* glib/Opaque.cs : kill explicit IntPtr operator.
	* glib/Value.cs : rework Opaque value ctor.

svn path=/trunk/gtk-sharp/; revision=19088
2003-10-15 20:13:50 +00:00
Mike Kestner
63887acbb5 2003-10-14 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : rule for ClipboardGetFunc
	* gtk/Clipboard.custom : comment out for now don't think any
	of this is needed.
	* gtk/ClipboardClearFunc.cs : gen'd now
	* gtk/ClipboardGetFunc.cs : gen'd now
	* gtk/GtkSharp.GtkClipboardClearFuncNative.cs : gen'd now
	* gtk/GtkSharp.GtkClipboardGetFuncNative.cs : gen'd now
	* gtk/gtk-api.xml : regenerated
	* sources/Gtk.metadata : remove a couple clipboard hides

svn path=/trunk/gtk-sharp/; revision=19048
2003-10-14 21:27:46 +00:00
Mike Kestner
708906b081 2003-10-14 Mike Kestner <mkestner@ximian.com>
* gtk/gtk-api.xml : regenerated
	* gtk/Gtk.metadata : begin the port of the Gtk rules
	* gtk/Makefile.in : apply metadata in gen target
	* gtkhtml/gtkhtml-api.xml : regenerated
	* gtkhtml/Gtk.metadata : a couple rules ported
	* gtkhtml/Makefile.in : apply metadata in gen target
	* sources/Gtk.metadata : port first 350 lines of rules.

svn path=/trunk/gtk-sharp/; revision=19047
2003-10-14 20:29:59 +00:00
Mike Kestner
4877d314e9 2003-10-14 Mike Kestner <mkestner@ximian.com>
* gtk/gtk-api.xml : regenerated
	* sources/Gtk.metadata : removed all the obsolete "out" rules

svn path=/trunk/gtk-sharp/; revision=19041
2003-10-14 17:36:10 +00:00
Mike Kestner
bdc5c7071f 2003-10-13 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : mark an array param on PixbufDestroyNotify
	* gdk/gdk-api.xml : regenerated
	* generator/CallbackGen.cs : Handle out params in callback sigs
	and ditch the object[] args handling for typed args.
	* generator/Parameters.cs : more proactive PassAs logic.  We now
	default all simple pointer types (uint*, int*, double*, etc...)
	to out params unless they are marked otherwise in the XML with a
	pass_as tag or an array tag.  [Fixes #32104]

svn path=/trunk/gtk-sharp/; revision=18993
2003-10-13 21:53:40 +00:00
Mike Kestner
f314da0c9f 2003-10-13 Mike Kestner <mkestner@ximian.com>
* gnome/Gnome.metadata : new xpath metadata rules
	* gnome/Makefile.in : apply metadata before generation
	* gnome/gnome-api.xml : regenerated
	* parser/gapi-fixup.cs : use XmlDocument.Save (filename)
	instead of opening a stream manually.
	* sources/Gnome.metadata : killed

svn path=/trunk/gtk-sharp/; revision=18975
2003-10-13 17:38:22 +00:00