Commit graph

578 commits

Author SHA1 Message Date
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
Lee Mallabone f674efc1e8 Add full docs for some classes, first draft for File & Color Selection.
svn path=/trunk/gtk-sharp/; revision=11958
2003-02-25 14:22:39 +00:00
Duncan Mak 935bcf45a7 * en/Gtk/WrapMode.xml: From Hector.
* en/Gtk/ButtonsType.xml:
* en/Gtk/MessageType.xml: Can't sleep, wrote (cut-n-pasted) some
documentation for some enums.

svn path=/trunk/gtk-sharp/; revision=11946
2003-02-25 09:15:04 +00:00
Lee Mallabone 0656b6f495 Add documentation to Font selectors.
svn path=/trunk/gtk-sharp/; revision=11944
2003-02-25 08:27:52 +00:00
Kevin Breit 2535823e9a 2003-02-24 Kevin Breit <mrproper@ximian.com>
* en/Gtk/ArrowType.xml: Fixed a tag mismatch error that caused it to break compile.

svn path=/trunk/gtk-sharp/; revision=11942
2003-02-25 04:34:25 +00:00
Duncan Mak 5f16ad9464 Make the path generic again, I forgot to revert the
last patch after Gonzalo checked in a temporary fix to Uri.cs.

svn path=/trunk/gtk-sharp/; revision=11941
2003-02-25 04:29:32 +00:00
Kevin Breit 9ca9b4a738 2003-02-24 Kevin Breit <mrproper@ximian.com>
* en/Gtk/ArrowType.xml: Removed the "To be added" from the remarks sections.

	* en/Gtk/Arrow.xml: Fixed up a few things in the documentation.

svn path=/trunk/gtk-sharp/; revision=11940
2003-02-25 04:19: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 470c852770 oops forgot a cvs add
svn path=/trunk/gtk-sharp/; revision=11921
2003-02-24 06:44:54 +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
Duncan Mak 2f10faa83d Re-add to the repository after accidentally deleting them. Sorry, it's late.
svn path=/trunk/gtk-sharp/; revision=11863
2003-02-23 09:17:59 +00:00
Duncan Mak 32fbdccdcd Messed up and accidentally removed files, pressed the wrong key, fixing now
svn path=/trunk/gtk-sharp/; revision=11862
2003-02-23 09:15:59 +00:00
Duncan Mak 67579ea128 * makefile: the docs target is dangerous, remove it by
default. Also, remove the -f flag, so even if we do run it, it
won't overwrite files, by default.

* en/Gtk/AccelGroup.xml: From Raphael Schmid
<raphael.schmid@gmx.de>, with edits.

svn path=/trunk/gtk-sharp/; revision=11861
2003-02-23 09:11:59 +00:00
Duncan Mak 27f0e8b758 * en/Gtk/DirectionType.xml:
* en/Gtk/SelectionMode.xml: More from Hector.

svn path=/trunk/gtk-sharp/; revision=11860
2003-02-23 08:44:11 +00:00
Duncan Mak f3966a2a4c 2003-02-23 Duncan Mak <duncan@ximian.com>
* en/*/*.xml: a Big patch. This adds code-generated documentation
	for internal constructors, the GType property and the Finalized method.

svn path=/trunk/gtk-sharp/; revision=11858
2003-02-23 07:26:30 +00:00
Duncan Mak 1f227a628f * en/Gtk/MovementStep.xml:
* en/Gtk/ResizeMode.xml:
* en/Gtk/StateType.xml:
* en/Gtk/ToolbarStyle.xml: More from Hector, the Mexican
documentation phenomenon!

svn path=/trunk/gtk-sharp/; revision=11850
2003-02-22 22:32:28 +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
Duncan Mak 2071f16dec * en/Gtk/HSeparator.xml: Hector Gomez.
* en/Gtk/DeleteType.xml:  Kevin Breit, with edits.

svn path=/trunk/gtk-sharp/; revision=11827
2003-02-22 07:39:00 +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
Kevin Breit 951d74accb 2003-02-21 Kevin Breit <mrproper@ximian.com>
* en/Gtk/Arrow.xml: Fixed a small error where a . was missing at the end of a sentence.

svn path=/trunk/gtk-sharp/; revision=11821
2003-02-22 02:47:23 +00:00
Duncan Mak f73c939fd1 * en/Gtk/Arrow.xml: Kevin Breit, <mrproper@ximian.com>.
svn path=/trunk/gtk-sharp/; revision=11818
2003-02-21 23:20:50 +00:00
Duncan Mak 641a3191a1 * en/Gtk/Misc.xml: Raphael J. Schmid, <raphael@arrivingarrow.net>.
* en/Gtk/CornerType.xml: Kevin Breit, <mrproper@ximian.com>.

* en/Gtk/AccelLabel.xml: Hector E. Gomez Morales <hgomez_36@flashmail.com>.

* en/Gtk/AccelFlags.xml: Hector E. Gomez Morales <hgomez_36@flashmail.com>.

svn path=/trunk/gtk-sharp/; revision=11816
2003-02-21 22:52:43 +00:00
Duncan Mak 388ec2d564 Fix a missing <para> tag.
svn path=/trunk/gtk-sharp/; revision=11807
2003-02-21 18:59:43 +00:00
Lee Mallabone e38298641d Correct the maintainer attribute to be consistent.
svn path=/trunk/gtk-sharp/; revision=11806
2003-02-21 18:59:11 +00:00
Lee Mallabone e22306558d Set mono-doc-maintainer correctly
svn path=/trunk/gtk-sharp/; revision=11805
2003-02-21 18:51:17 +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 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
Lee Mallabone 56cc116358 Add documentation, based a little on the C API docs.
svn path=/trunk/gtk-sharp/; revision=11784
2003-02-20 20:55:24 +00:00
Duncan Mak 2a82ba7d27 CheckButton documentation from Kevin Breit <mrproper@ximian.com>
svn path=/trunk/gtk-sharp/; revision=11782
2003-02-20 19:25:37 +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
Miguel de Icaza 806e8d3026 More docs
svn path=/trunk/gtk-sharp/; revision=11765
2003-02-20 05:14:28 +00:00
Miguel de Icaza 293099fcee A simple one
svn path=/trunk/gtk-sharp/; revision=11764
2003-02-20 04:57:07 +00:00
Miguel de Icaza 24cfeb3e41 Add an introduction from the Xlib manual, and add hyperlinks
svn path=/trunk/gtk-sharp/; revision=11763
2003-02-20 04:51:28 +00:00
Jeffrey Stedfast 4db8aaf9c7 2003-02-19 Jeffrey Stedfast <fejj@ximian.com>
* en/Gdk/GC.xml: Documented.

svn path=/trunk/gtk-sharp/; revision=11762
2003-02-20 04:21:06 +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
Miguel de Icaza e6f24508c4 Improve Improve
svn path=/trunk/gtk-sharp/; revision=11760
2003-02-20 03:56:51 +00:00
Duncan Mak 7cd3f7e625 Change the method signature for the various
SignalFuncs. Thanks to Leoric from #mono for pointing it out.

svn path=/trunk/gtk-sharp/; revision=11718
2003-02-19 08:54:47 +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
Miguel de Icaza 3d36c6eda0 2003-02-19 Miguel de Icaza <miguel@ximian.com>
* gdk/Pixbuf.custom: Add overload arguments that take a
	System.Drawing.Color.

	Added a Clone() method, to implement the ICloneable interface.

	Added constructors for inlined in-data RGB/RGBA buffers and file
	images.

svn path=/trunk/gtk-sharp/; revision=11713
2003-02-19 06:00:27 +00:00
Miguel de Icaza c0ea775140 Commit for ct
svn path=/trunk/gtk-sharp/; revision=11712
2003-02-19 05:58:40 +00:00
Duncan Mak bb846f7b01 Documentation for Window from Carlos Alberto Cortez <is118149@mail.udlap.mx>.
svn path=/trunk/gtk-sharp/; revision=11711
2003-02-19 04:02:35 +00:00
Duncan Mak a875178314 Documentation for the scrolling widgets and also Toolbar.
svn path=/trunk/gtk-sharp/; revision=11710
2003-02-19 03:37:52 +00:00
Miguel de Icaza 13a13e60bd Add contribution from Cristopher
svn path=/trunk/gtk-sharp/; revision=11706
2003-02-18 23:03:56 +00:00
Miguel de Icaza 5e4d158452 Box, HBox and VBox from Lee
svn path=/trunk/gtk-sharp/; revision=11705
2003-02-18 21:50:19 +00:00