Commit graph

108 commits

Author SHA1 Message Date
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
Lee Mallabone a6ef912d3b Unhide GtkSizeGroup as it's a useful class.
svn path=/trunk/gtk-sharp/; revision=14775
2003-05-21 20:40:15 +00:00
Alp Toker 96fa7da5a8 2003-05-02 Alp Toker <alp@atoker.com>
* sources/gtk-sharp.sources:
        * api/glade-api.xml:
        * glade/XML.custom: Use libglade-2.0-0.dll not glade-2.0 (for win32)

svn path=/trunk/gtk-sharp/; revision=14228
2003-05-02 23:06:21 +00:00
Lee Mallabone 7284a1f6a2 Add a rule that stops private classes/structs getting generated into the Gtk assembly.
svn path=/trunk/gtk-sharp/; revision=14079
2003-04-28 21:23:25 +00:00
Gonzalo Paniagua Javier b5cfb4ba67 2003-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* gtk/TreeView.custom:
	(GetPathAtPos): added 3 overloads of this method so that the caller
	does not need to create extra variables that may not use.

	* api/gtk-api.xml:
	* sources/Gtk.metadata: added pass_out attribute for tx and ty
	arguments of TreeView::WidgetToTreeCoords. Hide TreeView::GetPathAtPos.

svn path=/trunk/gtk-sharp/; revision=13677
2003-04-16 02:26:12 +00:00
Lee Mallabone 90fac8a1ad Hide the Copy, Free and Hash methods in Gdk.Color and override GetHashCode().
svn path=/trunk/gtk-sharp/; revision=13606
2003-04-14 18:01:28 +00:00
Lee Mallabone 6395590d34 Fix bugs #27835 and #38672 by correcting problems in the generated ColorSelection binding.
svn path=/trunk/gtk-sharp/; revision=13600
2003-04-14 17:04:13 +00:00
Lee Mallabone 591c9eca8f Apply a modified version of a patch from Artemis <artemis@yandex.ru>, to fix and clean DrawPolygon and DrawLines in Gdk.Drawable.
svn path=/trunk/gtk-sharp/; revision=13133
2003-04-04 07:24:02 +00:00
Lee Mallabone 95a81a7706 Add a custom constructor to Entry, and fix API bugs with Widget and Frame.
svn path=/trunk/gtk-sharp/; revision=13021
2003-04-02 08:26:36 +00:00
Lee Mallabone b68542269f Add a default zero-arg constructor for Gtk.Viewport.
svn path=/trunk/gtk-sharp/; revision=12869
2003-03-27 19:15:04 +00:00
Lee Mallabone 438b788722 Fix crashes in TreeView.ScrollToCell.
svn path=/trunk/gtk-sharp/; revision=12830
2003-03-25 19:05:40 +00:00
Gonzalo Paniagua Javier 7ab055de16 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* api/gtk-api.xml: changed DisplayOptions by SetDisplayOptions.
	* sources/Gtk.metadata: added rename hint for DisplayOptions. Moved
	GtkHTMLStream hints to 'misc' area (they were in 'rename' area).

	* gtk/Calendar.custom: added a .net style GetDate override.
	* sample/CalendarApp.cs: updated to new methods in the Calendar API.

svn path=/trunk/gtk-sharp/; revision=12799
2003-03-25 00:47:13 +00:00
Charles Iliya Krempeaux 94f05965a8 2003-03-14 Charles Iliya Krempeaux <charles@reptile.ca>
* sources/makefile : Added a "distclean" rule, so
	  that typing it will remove any source code directories,
	  and their contents.  (This works by just deleting all
	  the subdirectories.  Except for "CVS" of course.)

svn path=/trunk/gtk-sharp/; revision=12546
2003-03-15 19:09:53 +00:00
Rodrigo Moya b2cdb3a585 2003-03-14 Rodrigo Moya <rodrigo@ximian.com>
* configure.in:
	* sources/makefile:
	* sources/gtk-sharp.sources: updated for libgda/libgnomedb 0.11.

	* sources/Gda.metadata: hide GdaBatch class.

svn path=/trunk/gtk-sharp/; revision=12509
2003-03-14 11:45:19 +00:00
Duncan Mak a3d22ce2c2 * gdk/Pixbuf.custom: Add a nice version of Gdk.Pixbuf.Pixels that
return a 'byte *'.

* sources/Gdk.metadata:
* api/gdk-api.xml: Hide Gdk.Pixbuf.Pixels.

svn path=/trunk/gtk-sharp/; revision=12491
2003-03-14 03:04:15 +00:00
Charles Iliya Krempeaux b08b51132f 2003-03-01 Charles Iliya Krempeaux <charles@reptile.ca>
* sources/README : Updated it to include mention of GStreamer
	  and librsvg.  Also mentioned being able to use
	  "make get-source-code" to get the source code too.
	  Then added alot of content.

svn path=/trunk/gtk-sharp/; revision=12490
2003-03-14 01:41:12 +00:00
Charles Iliya Krempeaux 5ebd8d64a7 2003-02-27 Charles Iliya Krempeaux <charles@reptile.ca>
* sources/makefile : Updated the "make get-source-code"
	  functionality to create the Symbolic Links and get
	  gtkhtml from CVS, as specified by "sources/READDME".

svn path=/trunk/gtk-sharp/; revision=12489
2003-03-14 01:07:39 +00:00
Mike Kestner 68f214f699 2003-03-01 Mike Kestner <mkestner@speakeasy.net>
* api/gdk-api.xml : make Color.Parse retval a gboolean. Also change
	some libname override rules to use win32 dllnames.
	* sources/Gdk.metadata : rules for above.

svn path=/trunk/gtk-sharp/; revision=12095
2003-03-01 22:18:09 +00:00
Gonzalo Paniagua Javier 5fa688fb04 2003-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* api/gdk-api.xml:
	* sources/Gdk.metadata: hide GdkColormap.AllocColor.

	* gdk/Colormap.custom: AllocColor is here.

	* gconf/tools/schemagen.cs: XmlDocument.Load (string) takes an Uri.

svn path=/trunk/gtk-sharp/; revision=12055
2003-02-28 07:41:59 +00:00
Mike Kestner d5ec2ba7cb 2003-02-26 Charles Iliya Krempeaux <charles@reptile.ca>
* configure.in : Added support for Rsvg.NET -- librsvg
 	  .NET bindings.  (Made a check for the library.  And
 	  made it so "rsvg/Makefile" would be generated.  Also
 	  made it so it will display if rsvg-sharp.dll will
 	  be generated or not.)
 	* makefile :  Added support for Rsvg.NET -- librsvg
           .NET bindings.  (Added an entry for Rsvg.NET.)
        * sources/gtk-sharp.sources : Added an entry for
 	  Rsvg.NET -- librsvg .NET bindings.
        * rsvg/ : Created "rsvg/" directory.  (To hold stuff
 	  for Rsvg.NET.)
        * rsvg/Tool.cs : Created Rsvg.Tool class to hold
 	  various procedures (which were not automatically
 	  wrapped).
 	* rsvg/Makefile.in : Created "rsvg/Makefile.in".
 	* api/Makefile.in : Added and entry for Rsvg.NET.

svn path=/trunk/gtk-sharp/; revision=12020
2003-02-27 05:16:47 +00:00
Mike Kestner 4bf0846a5f 2003-02-22 Mike Kestner <mkestner@speakeasy.net>
* sources/makefile : patch from Charles Krempeaux to add
	get-source-code target which wgets tarballs.

svn path=/trunk/gtk-sharp/; revision=11842
2003-02-22 19:19:15 +00:00
Mike Kestner c0b574a686 2003-02-21 Mike Kestner <mkestner@speakeasy.net>
* mapdllnames.pl : a little whitespace action
	* api/*-api.xml : move to win32 dllnames
	* */makefile.win32 : remove the mapdllnames step
	* */*.cs : move to win32 dllnames
	* */*.custom : move to win32 dllnames
	* sources/gtk-sharp.sources : move to win32 dllnames

svn path=/trunk/gtk-sharp/; revision=11823
2003-02-22 04:34:56 +00:00
Mike Kestner 90913930a7 oops, mark the Set method, not Get.
svn path=/trunk/gtk-sharp/; revision=11791
2003-02-21 03:44:42 +00:00
Mike Kestner 82cc097ef4 2003-02-20 Mike Kestner <mkestner@speakeasy.net>
* api/gtk-api.xml : hide the Arrow::Set method.
	* sources/Gtk.metadata : metadata for above.

svn path=/trunk/gtk-sharp/; revision=11790
2003-02-21 03:33:42 +00:00
Mike Kestner 284ab36d8b 2003-02-19 Mike Kestner <mkestner@speakeasy.net>
* api/gtk-api.xml : mark TreeModel::GetValue value param out
	suggested by Lee Mallabone <gnome@phonicmonkey.net>
	* sources/Gtk.metadata : metadata for above
	* sources/README : update the gnomedb/gda version reqs

svn path=/trunk/gtk-sharp/; revision=11766
2003-02-20 05:31:14 +00:00
Duncan Mak 8e10c2d7ff * TestFileSelection.cs: Update to reflect FileSelection changes.
* sources/Gtk.metadata: Add GetLayoutOffsets to the rule for out params.

* gtk/FileSelection.custom (Button): Rename to FSButton, so that
we won't wipe out our original Gtk.Button docs.

svn path=/trunk/gtk-sharp/; revision=11761
2003-02-20 04:03:15 +00:00
Duncan Mak bab803685d * api/gtk-api.xml:
* sources/Gtk.metadata: Mark 'out' param in GetSelectionBounds,
thanks to Lee Mallabone for spotting that.

svn path=/trunk/gtk-sharp/; revision=11584
2003-02-14 19:17:10 +00:00
Duncan Mak fdaa84817e * sources/Gtk.metadata:
* api/gtk-api.xml: Gtk.Editable.InsertText should have the
position be marked 'ref', not 'out', because it is an in-out parameter.

* gtk/Entry.custom: Overload for InsertText.
* gtk/Clipboard.custom: New overload for SetText.

svn path=/trunk/gtk-sharp/; revision=11430
2003-02-10 00:32:14 +00:00
Duncan Mak 7a1734be34 Mark out params for methods in GtkCalendar,
GtkCellRenderer, GtkWindow, GtkRuler, GtkLayout, GtkScrolledWindow
and GtkSpinButton. Monotalk is very useful for this kind of work.

svn path=/trunk/gtk-sharp/; revision=11429
2003-02-10 00:09:42 +00:00
Duncan Mak 101589b057 Correct the metadata for the HTMLStream
Write method to make it always regenerate the correct
stuff. Thanks to Rachel for helping me out at the middle of the
night.

svn path=/trunk/gtk-sharp/; revision=11269
2003-02-06 07:25:16 +00:00