Commit Graph

341 Commits

Author SHA1 Message Date
Gonzalo Paniagua Javier
4465050e40 2003-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* generator/SignalHandler.cs: the generated Dispose method now calls
	base.Dispose and always disconnects the handler. Thanks to
	Petr Danecek <danecek@ucl.cas.cz>.

svn path=/trunk/gtk-sharp/; revision=12060
2003-02-28 10:55:59 +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
Miguel de Icaza
ae21ffa9f2 2003-02-28 Miguel de Icaza <miguel@ximian.com>
* gdk/Color.custom: Added constructors from System.Drawing.Color
	and from rgb byte tuples.

	* gdk/Colormap.custom: Add new .custom file for the AllocColor
	call.

svn path=/trunk/gtk-sharp/; revision=12054
2003-02-28 07:28:06 +00:00
Miguel de Icaza
f28a0d72b8 2003-02-27 Miguel de Icaza <miguel@ximian.com>
* gdk/Drawable.custom: Added nice overload for DrawRectangle.

Plus older ChangeLog entries that I had not commited

svn path=/trunk/gtk-sharp/; revision=12052
2003-02-28 04:54:01 +00:00
Mike Kestner
11a68cfecf 2003-02-26 Charles Iliya Krempeaux <charles@reptile.ca>
* gtk/TextBuffer.custom : Added method, named
 	  "GetIterAtOffset" to wrap C API procedure
 	  "gtk_text_buffer_get_iter_at_offset" in a
 	  more expected way.

svn path=/trunk/gtk-sharp/; revision=12022
2003-02-27 05:41:32 +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
Gonzalo Paniagua Javier
4a6b18ee0f 2003-02-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* generator/Parser.cs: use XmlDocument.Load (Stream). The one using
	(String) expects an uri.

	* generator/Signal.cs: always remove the delegate from the signal
	callback (prior to this, the last handler was not being removed).
	Dispose the callback (ie, disconnect from the signal) when there are
	no registered delegates to handle it.

	* generator/SignalHandler.cs: added 2 new fields to hold the instance
	and the handler ID. The finalization is now done in Dispose and
	disconnects the signal handler when no delegate will handle the signal.
	Changed gobject-2.0 to libgobject-2.0-0.dll.

	* glib/SignalCallback.cs: implemented IDisposable interface.

svn path=/trunk/gtk-sharp/; revision=11976
2003-02-26 02:16:38 +00:00
Mike Kestner
38750dcd9a 2003-02-24 Mike Kestner <mkestner@speakeasy.net>
* sample/TreeViewDemo.cs : fix Type ambiguities

svn path=/trunk/gtk-sharp/; revision=11924
2003-02-24 08:04:42 +00:00
Mike Kestner
1f43eeef6b 2003-02-24 Mike Kestner <mkestner@speakeasy.net>
* sample/Subclass.cs : rework the GType code.

svn path=/trunk/gtk-sharp/; revision=11923
2003-02-24 07:56:32 +00:00
Mike Kestner
0e5ab4bdea 2003-02-24 Mike Kestner <mkestner@speakeasy.net>
* generator/Parameters.cs : fix some ref/out bugs

svn path=/trunk/gtk-sharp/; revision=11922
2003-02-24 07:36:30 +00:00
Mike Kestner
95fc33f785 2003-02-24 Mike Kestner <mkestner@speakeasy.net>
* generator/ObjectGen.cs : gen GLib.Value ctor, not uint
	* glib/Object.cs : use GLib.Type in RegisterGType and
	  make the g_object_new ctor use GLib.Type.
	* glib/Type.cs : new thin wrapper for GValue type
	* glib/*.cs : s/Type/System.Type

svn path=/trunk/gtk-sharp/; revision=11920
2003-02-24 06:39:30 +00:00
Mike Kestner
0a60bc2916 2003-02-23 Mike Kestner <mkestner@speakeasy.net>
* generator/GenBase.cs : quote the custom filenames in
	#file directives.

svn path=/trunk/gtk-sharp/; revision=11918
2003-02-24 05:20:04 +00:00
Mike Kestner
554450a33a 2003-02-23 Mike Kestner <mkestner@speakeasy.net>
* generator/CallbackGen.cs : suppress len params from
	  string/len pairs.
	* generator/Parameters.cs : begin the refactoring to use
	  Parameter class. Suppress len params from string/len pairs.
	*/*.custom : remove all overrides of string/len pairs
	*/*.cs : ditto.  Thanks to Alp Toker for the foundation
	  patch that this change was built upon.

svn path=/trunk/gtk-sharp/; revision=11913
2003-02-24 03:13:08 +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
d743db9340 2003-02-21 Mike Kestner <mkestner@speakeasy.net>
* api/*-api.xml : remove stray enum get_type methods.
	* parser/gapi2xml.pl : ignore get_type methods on enums.

svn path=/trunk/gtk-sharp/; revision=11796
2003-02-21 05:54:32 +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
367de43b68 2003-02-19 Mike Kestner <mkestner@speakeasy.net>
* generator/Parameters.cs (Initialize): construct a GLib.Value
	for out params.

svn path=/trunk/gtk-sharp/; revision=11768
2003-02-20 06:17:23 +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
Mike Kestner
ccd555425e 2003-02-19 Mike Kestner <mkestner@speakeasy.net>
* generator/GenBase.cs : mark #line 1 for .customs
	* generator/SignalHandler.cs : fix for GObj retvals

svn path=/trunk/gtk-sharp/; revision=11714
2003-02-19 06:23:36 +00:00
Mark Crichton
ff931046db generator/EnumGen.cs: Added support for different types. Useful for the
GtkMozEmbed headers.

svn path=/trunk/gtk-sharp/; revision=11696
2003-02-18 17:28:51 +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
Mike Kestner
2c3cae3be8 2003-02-13 Mike Kestner <mkestner@speakeasy.net>
* glib/Boxed.cs : fix a ctor bug reported to the list by
	u900842@oz.nthu.edu.tw.

svn path=/trunk/gtk-sharp/; revision=11564
2003-02-14 01:16:05 +00:00
Mike Kestner
b568293a66 2003-02-13 Mike Kestner <mkestner@speakeasy.net>
* sample/Makefile.in: add a distclean target

2003-02-13  Charles Iliya Krempeaux  <charles@reptile.ca>

	* README : Clarifications and additions

svn path=/trunk/gtk-sharp/; revision=11563
2003-02-14 01:09:43 +00:00
Gonzalo Paniagua Javier
6c24bab63c ugh, remove entry added by mistake
svn path=/trunk/gtk-sharp/; revision=11546
2003-02-13 03:14:07 +00:00
Gonzalo Paniagua Javier
9360454d79 2003-02-13 Stefan Sarin <gprojects@saring.de>
* gdk/Color.custom: fixed ToString ().

svn path=/trunk/gtk-sharp/; revision=11545
2003-02-13 03:10:22 +00:00
Gonzalo Paniagua Javier
011ad9f4bf 2003-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* gconf/GConf/Client.cs:
	* gconf/GConf/NoSuchKeyException.cs: added key string to the exception
	when Get does not find it.

svn path=/trunk/gtk-sharp/; revision=11544
2003-02-13 03:05:17 +00:00
Duncan Mak
23747622f0 * gnome/voidObjectAffineSVPintSignal.cs:
* gnome/CanvasProxy.cs: Make the voidObjectAffineSVPintSignal
class be in the 'GtkSharp' namespace, instead of 'GtkSharp.Gnome'.

svn path=/trunk/gtk-sharp/; revision=11502
2003-02-12 01:44:35 +00:00
Gonzalo Paniagua Javier
3c2f83a107 2003-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glade/XML.custom: added a couple of checks for null.

svn path=/trunk/gtk-sharp/; revision=11435
2003-02-10 08:30:59 +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
Radek Doulik
395c0cdf6f 2003-02-08 Radek Doulik <rodo@ximian.com>
* glib/MainContext.cs: beginning of MainContext class, just
	Iteration and Pending methods to be able to refresh Gtk in the
	middle of time consuming function where it's not worth while to
	use threads

	* glue/style.c (gtksharp_gtk_style_get_font_description): new
	function to access style's font_description field

	* gtk/Style.custom: added font description property

svn path=/trunk/gtk-sharp/; revision=11358
2003-02-08 17:33:17 +00:00
Radek Doulik
2270b314f8 2003-02-08 Radek Doulik <rodo@ximian.com>
* gconf/GConf/Client.cs: added SyggestSync method

svn path=/trunk/gtk-sharp/; revision=11341
2003-02-08 10:11:56 +00:00
Peter Williams
5eea705bc6 2003-02-07 Peter Williams <peterw@ximian.com>
* glue/Makefile.am (libgtksharpglue_la_LIBADD): Set this so
	that people linking to libgtksharpglue.so get their
	dependencies.

	(I've had this patch sitting around forever, I think it got
	approved, and it certainly appears correct.)

svn path=/trunk/gtk-sharp/; revision=11329
2003-02-07 20:01:22 +00:00
Martin Willemoes Hansen
3b905a607c * Added a constructor to gdk/Point.custom
svn path=/trunk/gtk-sharp/; revision=11316
2003-02-07 16:05:20 +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
Duncan Mak
b566d8b21a 2003-02-06 Duncan Mak <duncan@ximian.com>
* api/gtk-api.xml:
* sources/Gtk.metadata:
* gtk/Window.custom: Mark out params in gtk_window_get_size and gtk_window_get_default_size.

svn path=/trunk/gtk-sharp/; revision=11268
2003-02-06 07:03:49 +00:00
Gonzalo Paniagua Javier
97fec24e46 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glib/SignalCallback.cs: new methods AddDelegate and RemoveDelegate.

	* generator/Signal.cs: add/remove signal handlers from the delegate used
	to invoke them.

	* generator/SignalHandler.cs: use Delegate instead of MulticastDelegate.

svn path=/trunk/gtk-sharp/; revision=11255
2003-02-06 00:58:02 +00:00
Rodrigo Moya
147f0bac8f 2003-02-05 Rodrigo Moya <rodrigo@ximian.com>
* gda/Application.cs:
	* gnomedb/Application.cs: synced version number with its corresponding
	C library version.

svn path=/trunk/gtk-sharp/; revision=11248
2003-02-05 18:52:45 +00:00
Duncan Mak
87387bc38b Add some overloads.
svn path=/trunk/gtk-sharp/; revision=11043
2003-01-30 02:34:20 +00:00
Duncan Mak
984d952967 * api/gtk-api.xml:
* sources/Gtk.metadata:
* sources/Pango.metadata: Add some more metadata rules.

svn path=/trunk/gtk-sharp/; revision=11042
2003-01-30 02:33:38 +00:00
Rodrigo Moya
52081ec9ed 2003-01-28 Rodrigo Moya <rodrigo@ximian.com>
* configure.in:
	* api/gda-api.xml:
	* api/gnomedb-api.xml:
	* sources/gtk-sharp.sources:
	* sources/Gda.metadata: added support for latest libgda/libgnomedb.

svn path=/trunk/gtk-sharp/; revision=10999
2003-01-28 17:59:36 +00:00
Radek Doulik
a60825ae80 2003-01-22 Radek Doulik <rodo@ximian.com>
* sources/Gtk.metadata: disable default contructor for Frame in
	metadata

svn path=/trunk/gtk-sharp/; revision=10815
2003-01-22 14:00:06 +00:00
Radek Doulik
c9d21b1900 2003-01-22 Radek Doulik <rodo@ximian.com>
* parser/gapi2xml.pl: add comment to .xml files with warning that
	they were auto generated

svn path=/trunk/gtk-sharp/; revision=10814
2003-01-22 13:57:34 +00:00
Mike Kestner
854fd22859 tagging for 0.7
svn path=/trunk/gtk-sharp/; revision=10768
2003-01-21 06:25:22 +00:00
Martin Baulig
44265207bf 2003-01-12 Martin Baulig <martin@ximian.com>
* parser/gapi2xml.pl (addNameElem): Make this work if the $cname
	doesn't start with $prefix.

svn path=/trunk/gtk-sharp/; revision=10427
2003-01-12 17:45:19 +00:00
Duncan Mak
c3137abd9d 2003-01-10 Duncan Mak <duncan@ximian.com>
* gtk/TextView.custom (WindowToBufferCoords): Remove the hack, as
	the generator produces correct code now.

svn path=/trunk/gtk-sharp/; revision=10356
2003-01-10 19:16:48 +00:00
Duncan Mak
26a40b9ebf 2003-01-10 Duncan Mak <duncan@ximian.com>
* sources/Gtk.metadata (GtkTextView): Add a patch from Fredrik
	Nilsson <jymdman@home.se> to add needed 'out' parameters.

svn path=/trunk/gtk-sharp/; revision=10355
2003-01-10 19:11:39 +00:00
Rodrigo Moya
4d30832fa7 2003-01-09 Rodrigo Moya <rodrigo@ximian.com>
* makefile:
	* configure.in:
	* api/Makefile.in:
	* api/gphoto-api.xml:
	* sources/gtk-sharp.sources:
	* gphoto/Makefile.in:
	* gphoto/.cvsignore: removed gphoto2 bindings, to be moved to mphoto.

svn path=/trunk/gtk-sharp/; revision=10314
2003-01-09 22:54:37 +00:00