Commit Graph

137 Commits

Author SHA1 Message Date
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
Mike Kestner
6e44bd8cdb 2003-10-12 Mike Kestner <mkestner@ximian.com>
* art/Art.metadata : new xpath metadata rules
	* art/Makefile.in : apply metadata before generation
	* atk/Atk.metadata : new xpath metadata rules
	* atk/Makefile.in : apply metadata before generation
	* gda/Gda.metadata : new xpath metadata rules
	* gda/Makefile.in : apply metadata before generation
	* gdk/Gdk.metadata : new xpath metadata rules
	* gdk/Makefile.in : apply metadata before generation
	* gnomedb/GnomeDb.metadata : new xpath metadata rules
	* gnomedb/Makefile.in : apply metadata before generation
	* pango/Pango.metadata : new xpath metadata rules
	* pango/Makefile.in : apply metadata before generation
	* parser/Makefile.in : build and install new gapi-fixup
	* parser/gapi-fixup.cs : new xpath based metadata engine
	* sources/*.metadata : remove most of the old metadata,
	still have to convert Gtk and Gnome to xpaths.

svn path=/trunk/gtk-sharp/; revision=18947
2003-10-13 03:06:22 +00:00
Mike Kestner
4fa6636411 2003-10-11 Mike Kestner <mkestner@ximian.com>
* gtk/gtk-api.xml : regenerated
	* sources/Gtk.metadata : applied patch from jluke for hides
	requested in bug #38660. Also cleaned up the sprawling "hidden"
	rules to reduce the overall footprint.

svn path=/trunk/gtk-sharp/; revision=18894
2003-10-11 22:42:26 +00:00
Mike Kestner
45bc875da7 2003-10-11 Mike Kestner <mkestner@ximian.com>
* gtk/gtk-api.xml : regenerated
	* sources/Gtk.metadata : markes some out tags on
	TreeView.GetCursor.  [Fixes #49556]

svn path=/trunk/gtk-sharp/; revision=18892
2003-10-11 21:13:15 +00:00
Mike Kestner
71e9414883 2003-10-11 Mike Kestner <mkestner@ximian.com>
* generator/Parameters.cs : Properly handle out params for
	Object and Opaque types.
	* gtk/ListStore.custom: remove out on GetValue overload
	* gtk/TreeStore.custom: remove out on GetValue overload
	* gtk/gtk-api.xml : regenerated
	* sources/Gtk.metadata : remove some incorrect out tags

svn path=/trunk/gtk-sharp/; revision=18891
2003-10-11 20:53:10 +00:00
Mike Kestner
e72ae71073 2003-10-10 Mike Kestner <mkestner@ximian.com>
* gtk/gtk-api.xml : regenerated
	* sources/Gtk.metadata : mark pos and path pass_as="out" for
	TreeView.GetDragDestRow and GetDestRowAtPos [Fixes #49517]

svn path=/trunk/gtk-sharp/; revision=18869
2003-10-10 22:14:01 +00:00
Mike Kestner
55d02e6062 2003-10-10 Mike Kestner <mkestner@ximian.com>
* gtk/gtk-api.xml : regenerated
	* gtk/TreePath.custom : implement Indices property by
	hand. Patch from tds00mahi@thn.htu.se (malte) [Fixes #49254]
	* sources/Gtk.metadata : hide TreePath.Indices.

svn path=/trunk/gtk-sharp/; revision=18867
2003-10-10 21:55:32 +00:00
Mike Kestner
8fd17765c1 2003-10-10 Mike Kestner <mkestner@ximian.com>
* gtk/gtk-api.xml : regenerated
	* gtk/FileSelection.custom : implement the Selections property by
	hand.  [Fixes #49254]
	* sources/Gtk.metadata : hide FileSelection.GetSelections.

svn path=/trunk/gtk-sharp/; revision=18866
2003-10-10 21:34:34 +00:00
Mike Kestner
bc8ca2e212 2003-10-10 Mike Kestner <mkestner@ximian.com>
* gdk/gdk-api.xml : regenerated
	* sources/Gdk.metadata : mark Cursor opaque. mark confine_to and
	cursor null_ok in Gdk.Pointer.Grab. [Fixes #48273]

svn path=/trunk/gtk-sharp/; revision=18847
2003-10-10 04:45:42 +00:00
Martin Willemoes Hansen
6b629e8cef * Makefile.in: Updated to reflect moval of api xml files from api/
to each assembly dir.
        * configure.in: Ditto
        * art/.cvsignore Ditto
        * art/Makefile.in: Ditto
        * atk/.cvsignore Ditto
        * atk/Makefile.in: Ditto
        * gda/.cvsignore Ditto
        * gda/Makefile.in: Ditto
        * gdk/.cvsignore Ditto
        * gdk/Makefile.in: Ditto
        * gdk/gdk-symbols.xml Ditto
        * glade/.cvsignore Ditto
        * glade/Makefile.in: Ditto
        * gnome/.cvsignore Ditto
        * gnome/Makefile.in: Ditto
        * gnomedb/.cvsignore Ditto
        * gnomedb/Makefile.in: Ditto
        * gst/.cvsignore Ditto
        * gst/Makefile.in: Ditto
        * gtk/.cvsignore Ditto
        * gtk/Makefile.in: Ditto
        * gtk/gtk-symbols.xml Ditto
        * gtkhtml/.cvsignore Ditto
        * gtkhtml/Makefile.in: Ditto
        * pango/.cvsignore Ditto
        * pango/Makefile.in: Ditto
        * rsvg/.cvsignore Ditto
        * rsvg/Makefile.in: Ditto
        * sources/gtk-sharp-sources.xml: Ditto
        * api/: Removed

svn path=/trunk/gtk-sharp/; revision=18827
2003-10-09 22:29:59 +00:00
Martin Willemoes Hansen
5d8abb4523 Added: comment explaining guchar* to gchar conversion
svn path=/trunk/gtk-sharp/; revision=18739
2003-10-08 07:18:36 +00:00
Martin Willemoes Hansen
691173a8ac * gnome/PrintJob.custom: Added default ctor.
* gnome/PrintDialog.custom: Added overloaded ctor with fewer parameters.
        * sources/Gnome.metadata: Disabled default ctor for PrintJob,
          changed type from int to PrintDialogFlags for PrintDialog ctor and
          changed return type from byte to string for PrintConfig.Get.

svn path=/trunk/gtk-sharp/; revision=18738
2003-10-08 07:16:39 +00:00
Mike Kestner
f716fb7003 2003-10-07 Mike Kestner <mkestner@ximian.com>
* api/gtk-api.xml : regenerated
	* generator/Method.cs : gen new_flag automatically if set
	* sources/Gtk.metadata : mark new_flag on Gtk.Bin.GetChild

svn path=/trunk/gtk-sharp/; revision=18736
2003-10-08 02:56:44 +00:00
Mike Kestner
0ea6f12c9e 2003-10-07 Mike Kestner <mkestner@ximian.com>
* gtkhtml/Makefile.in : add art-sharp ref
	* sources/Gtk.metadata : make gtk_widget_size_request pass_as ref
	instead of out.  [Fixes #46354]

svn path=/trunk/gtk-sharp/; revision=18709
2003-10-07 17:11:19 +00:00
Mike Kestner
f350dd74fa 2003-10-07 Mike Kestner <mkestner@ximian.com>
* gtkhtml/Makefile.in : add gnome api to includes and ref in build
	* gtkhtml/gkthtml-api.xml : regenerated
	* sources/Gtk.metadata : remove the gtkhtml gnomeprint hides

svn path=/trunk/gtk-sharp/; revision=18708
2003-10-07 16:19:51 +00:00
Mike Kestner
65fec771bb 2003-10-06 Mike Kestner <mkestner@ximian.com>
* Makefile.in : add gtkhtml dir.
	* configure.in : expand gtkhtml/Makefile
	* api/Makefile.in : remove gtkhtml-api.xml
	* generator/CodeGenerator.cs : parse new --outdir, --customdir,
	and --assembly-name args.
	* generator/GenerationInfo.cs (Ctor): new (dir, dir,assembly) ctor
	* gtkhtml/HTMLStream.custom : moved here from gtk dir
	* gtkhtml/gtkhtml-api.xml : moved here from api dir
	* gtkhtml/Makefile.in : gen source and build dll
	* sources/gtk-sharp-sources.xml : write gtkhtml api to new dir

svn path=/trunk/gtk-sharp/; revision=18696
2003-10-07 05:52:23 +00:00
Mike Kestner
4da6295257 2003-10-01 Mike Kestner <mkestner@ximian.com>
* README.generator : updates for new parser script
	* api/Makefile.in : add gtkhtml-api.xml
	* api/*-api.xml : regenerated
	* parser/makefile : install new parsing script
	* parser/gapi-parser : new xml-driven parsing script
	* sources/makefile : call new parsing script
	* sources/gtk-sharp-sources.xml : new parser input file
	* sources/gtk-sharp.sources : killed

svn path=/trunk/gtk-sharp/; revision=18491
2003-10-01 21:42:29 +00:00
Martin Willemoes Hansen
08d90b259b * sources/Gnome.metadata: Use const-gchar* instead of const-guchar*,
when the value is realy a string
        * api/gnome-api.xml: Ditto

svn path=/trunk/gtk-sharp/; revision=18384
2003-09-29 11:05:30 +00:00
Martin Willemoes Hansen
8241667807 2.2 should be 2-2
svn path=/trunk/gtk-sharp/; revision=18356
2003-09-28 18:44:35 +00:00
Martin Willemoes Hansen
a366cb0987 * sources/gtk-sharp.sources: Fixed, wrong library used for libgnomeprintui
* api/gnome-api.xml: Ditto

svn path=/trunk/gtk-sharp/; revision=18343
2003-09-28 11:20:01 +00:00
John Luke
c5bc3138ea 2003-09-23 John Luke <jluke@cfl.rr.com>
* README:
	* sources/README: reflect the current targets

svn path=/trunk/gtk-sharp/; revision=18272
2003-09-24 01:36:36 +00:00
Rachel Hestilow
a0d8f5872d 2003-09-19 Rachel Hestilow <rachel@nullenvoid.com>
* sources/Gtk.metadata, api/gtk-api.xml: Rename
	'Event' signals on Widget and TextTag to WidgetEvent
	and TextTag event, respectively, to avoid
	ambiguity with System.EventHandler/EventArgs.

svn path=/trunk/gtk-sharp/; revision=18196
2003-09-20 02:56:10 +00:00
Martin Willemoes Hansen
37e2bd78e5 * api/gda-api.xml: Updated to reflect new versions of the targeted
libraries + addition of GnomePrint
        * api/gdk-api.xml: Ditto
        * api/gnome-api.xml: Ditto
        * api/gnomedb-api.xml: Ditto
        * api/gtk-api.xml: Ditto
        * api/rsvg-api.xml: Ditto
        * sources/.cvsignore: Ditto
        * sources/makefile: Ditto
        * sources/gtk-sharp.sources: Ditto
        * sources/Gda.metadata: Added a couple of new_flags
        * sources/Gdk.metadata: Fixed name filter level type, it was missed by
        the parser.
        * sources/Gtk.metadata: Added hides for the GtkHtml releations to GnomePrint,
        these hides can be removed when GtkHtml is put in its own assembly.

svn path=/trunk/gtk-sharp/; revision=18131
2003-09-16 18:07:40 +00:00
Alp Toker
df9c3bc1cc 2003-09-06 Alp Toker <alp@atoker.com>
* api/gdk-api.xml:
        * sources/Gdk.metadata: out params for Gdk.Window.GetInternalPaintInfo
        * glade/makefile.win32: new win32 makefile
        * glue/win32dll.c:
        * glue/makefile.win32: Patch to remove cygwin1.dll dependency on win32
        from Todd Berman <tberman@gentoo.org>
        * glue/makefile.win32: Update list of sources
        * glue/Makefile.am: Remind people to keep makefile.win32 up to date

svn path=/trunk/gtk-sharp/; revision=17945
2003-09-06 18:11:13 +00:00
Alp Toker
71e7c10e79 2003-08-31 Alp Toker <alp@atoker.com>
* api/gdk-api.xml:
        * sources/Gdk.metadata: out params for Gdk.Window.GetOrigin

svn path=/trunk/gtk-sharp/; revision=17772
2003-08-31 19:37:47 +00:00
Martin Willemoes Hansen
1272d759e0 * sources/Gtk.metadata: Fixed new_flag rules, they did not
get applied to the gtk-api.xml.

svn path=/trunk/gtk-sharp/; revision=17701
2003-08-28 16:35:19 +00:00
Martin Willemoes Hansen
a591aef382 Reverted last bad patch
svn path=/trunk/gtk-sharp/; revision=17647
2003-08-26 21:35:28 +00:00
Martin Willemoes Hansen
cf917e3981 * sources/makefile
* sources/gtk-sharp.sources
        * sources/.cvsignore: Target Gtk+-2.2.3 and Pango-1.2.4

svn path=/trunk/gtk-sharp/; revision=17637
2003-08-26 20:27:41 +00:00
Martin Willemoes Hansen
dbc1750326 sources/.cvsignore: Added
svn path=/trunk/gtk-sharp/; revision=17403
2003-08-19 11:27:06 +00:00
Duncan Mak
8e1bf959d0 (Gtk.TreeView.CellArea): Apply patch from
Aleksey Sanin <aleksey@aleksey.com> to declare the "Gdk.Rectangle
rect" parameter as an out parameter. This is required because
Gdk.Rectangle is a struct.

svn path=/trunk/gtk-sharp/; revision=17362
2003-08-15 23:19:56 +00:00
Martin Willemoes Hansen
11eb925508 * sources/Gnome.metadata: Added GObject as the parent for GnomePrintTransport and
GnomePrintPdf
        * sources/gtk-sharp.sources: Added libgnomeprintui/gpaui

svn path=/trunk/gtk-sharp/; revision=17327
2003-08-14 14:47:19 +00:00
Martin Willemoes Hansen
fe0b380f6b * sources/makefile:
* sources/gtk-sharp.sources: Added libgnomeprint-2.2.2 and
        libgnomeprintui-2.2.2

svn path=/trunk/gtk-sharp/; revision=17308
2003-08-13 18:41:20 +00:00
Mike Kestner
64b0c972b6 2003-08-08 Mike Kestner <mkestner@ximian.com>
* sources/gtk-sharp.sources : point to gtkhtml-3.0.8 dir
	* sources/gtkhtml-font-style-enum.patch : ditto
	* sources/makefile : fix some urls, make a get-gtkhtml-code
	target, and use gtkhtml-3.0.8 instead of cvs.

svn path=/trunk/gtk-sharp/; revision=17194
2003-08-08 17:45:44 +00:00
Duncan Mak
5b6a4b3dfb 2003-08-06 Duncan Mak <duncan@ximian.com>
* sources/Atk.metadata: Make Mr. Art.VpathDash an Opaque struct
	instead of a plain ol' struct.

svn path=/trunk/gtk-sharp/; revision=17145
2003-08-06 22:14:45 +00:00
Duncan Mak
59a430ee35 (Gtk.Widget.SizeRequest): Mark the
requisition parameter as out.

svn path=/trunk/gtk-sharp/; revision=17140
2003-08-06 20:52:02 +00:00
Duncan Mak
710bbc7959 2003-08-06 Xavier Amado <xavier@blackbloodstudios.com>
* gtk/Notebook.custom (CurrentPageWidget): Added a property for
	getting the current page widget directly.

2003-07-30  Duncan Mak  <duncan@ximian.com>

	* en/Gnome/CanvasShape.xml: documented.

svn path=/trunk/gtk-sharp/; revision=17100
2003-08-06 04:40:02 +00:00
Duncan Mak
4d5ffe430c * sources/Gnome.metadata:
(CanvasItem.SetValist):
(CanvasItem.Construct): Hidden, because we don't support va_list
params.
	(CanvasItem): Hid the constructor, as each subclass has their own
contsructor and we don't support va_list params.
	(CanvasItem.W2i):
(CanvasItem.I2w): Marked parameters as ref, so they can be used as
in/out parameters.
	(Canvas.GetMiterPoints):
(Canvas.GetColor): Fixed return type to be 'bool' instead of 'int'.
	(CanvasClipgroup.Wind): Fixed property type. It should be an
Art.WindRule enum, not a UInt.
	(Canvas.W2cAffine):
(CanvasItem.AffineAbsolute):
(CanvasItem.AffineRelative):
(CanvasItem.I2wAffine):
(CanvasItem.I2cAffine): Hidden, use the impl. in the custom file
instead.
	* gnome/Canvas.custom: Added for W2cAffine.
* gnome/CanvasItem.custom: Reformatted. Added AffineRelative,
AffineAbsolute, I2wAffine, I2cAffine. These are needed because of
the 'const double affine[6]' parameter.

svn path=/trunk/gtk-sharp/; revision=16876
2003-07-30 06:36:18 +00:00
Duncan Mak
51ae478c43 * en/Gtk/Label.xml: Finished documentation for the Gtk.Label
class.

* sources/Gtk.metadata:
* api/gtk-api.xml: Marked the arguments to GetSelectionBounds and
GetLayoutOffsets as out params.

svn path=/trunk/gtk-sharp/; revision=16861
2003-07-29 23:02:50 +00:00
Duncan Mak
573ef76a41 * sources/makefile (get-source-code): make it go a bit faster by
checking out all files in one go.

* gtk/IconSet.custom (Sizes): added proper binding to
gtk_icon_set_get_sizes (), this fixes bug #45835.

svn path=/trunk/gtk-sharp/; revision=16284
2003-07-16 03:29:47 +00:00
Duncan Mak
c3ff06ea8d Flush
svn path=/trunk/gtk-sharp/; revision=16283
2003-07-16 02:19:05 +00:00
Duncan Mak
870b00b76e * en/Gtk/ItemFactory.xml: Rename GetItemByAction and
GetWidgetByAction to GetItem and GetWidget, to reflect metadata
changes.

* en/Gtk/TextBuffer.xml: Remove all references to *ByName methods,
as they are now all overrides.

* en/Gtk/HTML.xml: Update to use the new Begin overloads, since
bug #46427 is fixed.

* sources/Gtk.metadata
(GtkIconSet): hide the GetSizes method.
(GtkTextBuffer): new overrides
        MoveMarkByName    -> MoveMark
        DeleteMarkByName  -> DeleteMark
        ApplyTagByName    -> ApplyTag
        RemoveTagByName   -> RemoveTag
(GtkItemFactory): new overrides
        GetItemByAction   -> GetItem
        GetWidgetByAction -> GetWidget

* sources/gtkhtml-font-style-enum.patch: A patch to use real values
in gtkhtml-enums.h so that the parser won't choke on the complex enum
declarations.

svn path=/trunk/gtk-sharp/; revision=16282
2003-07-16 02:07:51 +00:00
Duncan Mak
9d32a838a0 Sigh, M-x tabify'd.
svn path=/trunk/gtk-sharp/; revision=16276
2003-07-15 23:04:47 +00:00
Duncan Mak
ed0079acdf * sources/gtkhtml-font-style-enum.patch: A patch to use real values
in gtkhtml-enums.h so that the parser won't choke on the complex enum
declarations.

* sources/makefile: Apply the above patch after checking out the
source code for GtkHTML

svn path=/trunk/gtk-sharp/; revision=16275
2003-07-15 23:00:42 +00:00
Mike Kestner
90705a1c98 2003-07-14 Mike Kestner <mkestner@speakeasy.net>
* api/*-api.xml : regenerated
	* gdk/Drawable.custom : DrawRectangle filled param is now bool
	* generator/Parameters.cs : studlify names ending w/ uscore
	* gtk/GtkSharp.GtkClipboardClearFuncNative : s/Opaque/Object
	* gtk/GtkSharp.GtkClipboardGetFuncNative : s/Opaque/Object
	* parser/gapi2xml.pl : put <ns>_string_* methods in Global
	* sample/Scribble.cs : update to new DrawRectangle api
	* sources/Gdk.metadata : hide some conflicting methods
	* sources/Gtk.metadata : finally fix the Progress crap and
	renames, hides and such to fix conflicts
	* sources/README : mention new gtk-2.2 reqs
	* sources/gtk-sharp.sources : update to new gtk-2.2 reqs
	* sources/makefile : update for 2.2 api

svn path=/trunk/gtk-sharp/; revision=16254
2003-07-15 05:52:09 +00:00
Mike Kestner
1200492df5 2003-07-12 Mike Kestner <mkestner@speakeasy.net>
* api/gda-api.xml : hide the new Type class
	* source/Gda.metadata : hide the new Type class

svn path=/trunk/gtk-sharp/; revision=16148
2003-07-12 17:59:05 +00:00
Mike Kestner
3ff827ed69 2003-07-10 Mike Kestner <mkestner@speakeasy.net>
* api/*-api.xml : regenerated
	* gdk/Threads.cs : killed since the methods are now gen'd
	* generator/ClassGen.cs : new, static class generatable
	* generator/Parameters.cs : mangle new and byte as param names
	* generator/Parser.cs : parse new <class> elements
	* generator/SymbolTable.cs : add GC SimpleGen
	* parser/gapi2xml.pl : static class element fixes
	* parser/GAPI/Metadata.pm : add class element
	* sources/Art.metadata: new, rename Affine.ToString method
	* sources/Atk.metadata: rename State class
	* sources/Gdk.metadata: hide Pixbuf static class for now. rename
	Event and Pango static classes to avoid collisions.
	* sources/Gnome.metadata: rename Gtk and Gdk static classes to
	avoid collisions.
	* sources/GnomeDb.metadata: rename Stock static class to
	avoid collisions.
	* sources/Gtk.metadata: rename Stock static class to
	avoid collisions. Hide Idle class.

svn path=/trunk/gtk-sharp/; revision=16115
2003-07-11 02:00:13 +00:00
Mike Kestner
2d3e7d7c9c 2003-07-06 Mike Kestner <mkestner@speakeasy.net>
* api/gtk-api.xml : regenerated
	* parser/GAPI/Metadata.pm : add support for property
	attribute alteration.
	* sources/Gtk.metadata : rule to mark TextTag.Weight as
	PangoWeight instead of gint. fixes 45214.

svn path=/trunk/gtk-sharp/; revision=15977
2003-07-06 06:33:15 +00:00
Mike Kestner
5f59a56e26 2003-07-05 Mike Kestner <mkestner@speakeasy.net>
* sources/makefile : fix the download uri's for the gnomedb
	lib source.

svn path=/trunk/gtk-sharp/; revision=15975
2003-07-06 03:56:17 +00:00
Rodrigo Moya
7962dfd294 2003-07-04 Rodrigo Moya <rodrigo@ximian.com>
* sources/makefile: updated download targets for libgda and
	libgnomedb.

svn path=/trunk/gtk-sharp/; revision=15925
2003-07-04 16:54:35 +00:00
Rodrigo Moya
38725b7a49 2003-07-04 Rodrigo Moya <rodrigo@ximian.com>
* sources/gtk-sharp.sources:
	* api/gda-api.xml:
	* api/gnomedb-api.xml: updated for libgda/libgnomedb 0.90.

svn path=/trunk/gtk-sharp/; revision=15921
2003-07-04 11:48:17 +00:00