Commit graph

37 commits

Author SHA1 Message Date
Mike Kestner 90a870e2de 2005-03-08 Mike Kestner <mkestner@novell.com>
* */*.cs : scrub for StringToPtrAnsi and string usage in DllImports.
	* */*.custom : begin the scrub here too.
	* generator/ConstStringGen.cs : implement IManualMarshaler and move to
	100% IntPtr marshaling.
	* generator/Ctor.cs : call Body.Finish too.
	* generator/IManualMarshaler.cs : new interface for generatables that
	marshal manually and need cleanup.
	* generator/Makefile.am : new file.
	* generator/MethodBody.cs : use IManualMarshaler if applicable.

svn path=/trunk/gtk-sharp/; revision=41579
2005-03-08 21:28:08 +00:00
Dan Winship 65edda888f * parser/gapi2xml.pl: add a hack to allow "foo_bar_get_type()"
rather than "FOO_TYPE_BAR" in G_TYPE_CHECK_INSTANCE_CAST macros,
	allowing large parts of libgda that were previously misparsed to
	be parsed correctly

	* gda/gda-api.raw: Regen

	* gda/Gda.metadata: Make Gda.Value opaque, since it's mostly a
	union and we're horribly butchering its layout.

svn path=/trunk/gtk-sharp/; revision=41103
2005-02-23 17:37:06 +00:00
Dan Winship fec5eff891 * updater/updater.cs (Compare): handle BaseType changes
(Generate, AddTypeSignature): fix spelling of "delegate"
 
        * en/*: regenerate to update BaseType nodes

svn path=/trunk/gtk-sharp/; revision=40721
2005-02-15 21:53:03 +00:00
Mike Kestner ea489c2353 2005-01-24 Mike Kestner <mkestner@novell.com>
* gda/Makefile.am : add new custom.
	* gda/XmlConnection.custom : add backcompat static ctor.
	* generator/ClassBase.cs : refactor lookup logic to here from Ctor
	and improve the collision resolution.
	* generator/Ctor.cs : refactor to use MethodBase.
	* generator/Makefile.am : add new file.
	* generator/MethodBase.cs : new base class for ctors and methods.
	* generator/Method.cs : refactor to use MethodBase.
	* generator/StructBase.cs : move some logic from here to Ctor.
	* gnome/CanvasPathDef.custom : add backcompat static ctor.
	* gnome/GPPath.custom : add backcompat static ctor.
	* gnome/Makefile.am : add new custom.
	* gtk/Gtk.metadata : mark a colliding Button ctor shared.

svn path=/trunk/gtk-sharp/; revision=39431
2005-01-24 18:25:02 +00:00
Miguel de Icaza efc722a12d Contributions from wizito@gentelibre.org
svn path=/trunk/gtk-sharp/; revision=38813
2005-01-12 19:37:30 +00:00
Miguel de Icaza 3156f18c10 Contributions from wizito@gentelibre.org
svn path=/trunk/gtk-sharp/; revision=38811
2005-01-12 19:35:22 +00:00
Mike Kestner 2eb246518a 2005-01-05 Mike Kestner <mkestner@novell.com>
* gtk/TreeView.custom : add back the TreeCellDataFunc overloads for
	backward compat.
	* gtk/TreeViewColumn.custom : add back the TreeCellDataFunc overloads for
	backward compat.

svn path=/trunk/gtk-sharp/; revision=38396
2005-01-05 21:59:06 +00:00
Mike Kestner 458a09ff4c 2005-01-05 Mike Kestner <mkestner@novell.com>
* generator/Field.cs : deal with LPGen/LPUGen fields.
                                                                                                                                                      
2005-01-05  Mike Kestner  <mkestner@novell.com>
                                                                                                                                                      
        * gtk/gtk-api.raw : regen.
        * sources/gtk-sharp-sources.xml : exclude gtkiconthemeparser.h.
        [Fixes #70898]


svn path=/trunk/gtk-sharp/; revision=38391
2005-01-05 20:54:39 +00:00
Dan Winship 88cc4817f5 * parser/gapi_pp.pl: Don't strip out /*< public >*/ and
/*< private >*/ comments.

        * parser/gapi2xml.pl: Use those comments to determine the
        accessibility of struct/object fields, and set the "access"
        attribute on fields with non-default accessibiliy (private for
        structs, public for objects). Also, output a StudlyName for each
        field as well as a c_name.

        * */*-api.raw: Regen

        * generator/Field.cs (StudlyName): Use the parser-generated studly
        name rather than studlifying Name, which might have been mangled
        to avoid conflicts with an all-lowercase keyword.
        (Generate): Respect the access property on all field types rather
        than always making certain types public. Don't bother outputting
        wrapper properties for private fields, since the only code that
        could use them is the generated code, which won't.

        See doc/ChangeLog for the (very minimal) fallout from these
        changes.

        * en/Art/AlphaGamma.xml:
        * en/Gtk/TextAttributes.xml (Refcount):
        * en/Pango/GlyphString.xml (Space): these are now private

        * en/Gda/XqlItem.xml:
        * en/Glade/SignalInfo.xml:
        * en/Gnome.Vfs/ModuleCallbackSaveAuthenticationIn.xml: 
        * en/Gnome.Vfs/ModuleCallbackFullAuthenticationIn.xml: 
        * en/Gnome.Vfs/ModuleCallbackFillAuthenticationIn.xml: rename
        Objekt to Object.

        * en/Atk/KeyEventStruct.xml: rename Str1ng to String

svn path=/trunk/gtk-sharp/; revision=37853
2004-12-16 23:22:07 +00:00
Todd Berman 6d9785c7f7 2004-12-01 Todd Berman <tberman@off.net>
* generator/StructGen.cs: Check to see if a GType is going to be
        generated. If not, generate a GType.Pointer. This fixes bug
        #70017.
        * glib/TypeConverter.cs: Remove the .IsValueType check, as those
        now have GType properties.
        * gda/Gda.metadata: Change GdaValue.GType to GdaValue.GdaType.
        * doc/en/Gda/Value.xml: Regenerated to reflect new API.

svn path=/trunk/gtk-sharp/; revision=36912
2004-12-01 21:41:10 +00:00
Fawad Halim 9e9ba80d18 GDA documentation contributed by Nestor Salceda <wizito@gentelibre.org>
svn path=/trunk/gtk-sharp/; revision=33581
2004-09-08 14:56:46 +00:00
John Luke 189b8b47c6 a PixbufLoader example
and some small random things I forgot about

svn path=/trunk/gtk-sharp/; revision=32104
2004-08-09 20:54:25 +00:00
Miguel de Icaza 17aebcd550 Apply patch from wizito@gentelibre.org
svn path=/trunk/gtk-sharp/; revision=31100
2004-07-13 18:56:58 +00:00
Mike Kestner 9577c1e81d 2004-06-29 Mike Kestner <mkestner@ximian.com>
* en/*/*.xml : remove To be added from enum <remarks> since they aren't
	rendered.  Monodoc needs to be enhanced to render if they are there,
	but we should normally put enum member docs in the summary, not remarks.

svn path=/trunk/gtk-sharp/; revision=30537
2004-06-29 16:25:31 +00:00
Mike Kestner 07fc84a409 2004-06-24 Mike Kestner <mkestner@ximian.com>
* en/*/*.xml : add back the enumtype Value__ fields with "Do not use"
	docs.  Monodoc doesn't show these nodes as fields, but needs them for
	non-int enums.

svn path=/trunk/gtk-sharp/; revision=30320
2004-06-24 16:16:19 +00:00
Mike Kestner bd7ec685ac 2004-06-24 Mike Kestner <mkestner@ximian.com>
* en/*/*.xml : document event args classes and ctors via script-fu.
	Knocks off another 944 TBAs.

svn path=/trunk/gtk-sharp/; revision=30304
2004-06-24 13:44:36 +00:00
Mike Kestner 1dc455cd70 2004-06-21 Mike Kestner <mkestner@ximian.com>
* en/*/*.xml : document event handler delegates via script-fu. 400 TBAs.

svn path=/trunk/gtk-sharp/; revision=30248
2004-06-23 23:10:49 +00:00
Todd Berman bec6f28c89 2004-06-23 Todd Berman <tberman@off.net>
* doc/*/*.xml: s/GtkSharp.SignalArgs/GLib.SignalArgs/;

svn path=/trunk/gtk-sharp/; revision=30246
2004-06-23 21:49:09 +00:00
Mike Kestner 704726109a 2004-06-21 Mike Kestner <mkestner@ximian.com>
* en/*/*.xml : document ctor(GType) members via script-fu. 476 TBAs.

svn path=/trunk/gtk-sharp/; revision=30068
2004-06-21 20:33:11 +00:00
Mike Kestner 2b6efdc91c 2004-06-21 Mike Kestner <mkestner@ximian.com>
* en/*/*.xml : document GType props via script-fu. 620 TBAs killed.

svn path=/trunk/gtk-sharp/; revision=30066
2004-06-21 20:14:42 +00:00
Mike Kestner f73a9c9db9 2004-06-17 Mike Kestner <mkestner@ximian.com>
* scan-deprecations.cs : kill value__ fields of enum types too.
	* en/*/*.xml : remove value__ fields from enum types. 400 more tba's.

svn path=/trunk/gtk-sharp/; revision=29783
2004-06-17 15:45:32 +00:00
Mike Kestner 2b20e653c6 2004-06-15 Mike Kestner <mkestner@ximian.com>
* en/*/*.xml : generated summary and remarks for all the On* virtual
	default handler methods. 700 more To be addeds gone.

svn path=/trunk/gtk-sharp/; revision=29603
2004-06-15 15:41:25 +00:00
Mike Kestner 0372a77462 2004-06-11 Mike Kestner <mkestner@ximian.com>
* doc/en/*/*.xml : update to remove Override* methods.
	* generator/Signal.cs : make the Override* methods private.  They
	should not ever be called manually and it saves about 800 "do not
	call this method" doc entries.

svn path=/trunk/gtk-sharp/; revision=29388
2004-06-11 22:41:01 +00:00
Mike Kestner 070eb3cc64 2004-06-01 Mike Kestner <mkestner@ximian.com>
* en/*/*.xml : run updater to add new protected ctor () 's.

svn path=/trunk/gtk-sharp/; revision=28646
2004-06-01 18:05:26 +00:00
Mike Kestner 581dbea8ec 2004-05-27 Mike Kestner <mkestner@ximian.com>
* en/* : run updater

svn path=/trunk/gtk-sharp/; revision=28301
2004-05-27 19:02:19 +00:00
Hector E. Gomez Morales 90c98e5b37 2004-03-08 Hector E. Gomez Morales <hectorgm@ciencias.unam.mx>
* en/Art/Global.xml
	* en/Art/Render.xml
	* en/Art/Rgb.xml
	* en/Art/Rgba.xml
	* en/Art/Uta.xml
	* en/Gda/Command.xml
	* en/Gda/Field.xml
	* en/Gda/FieldAtributes,xml
	* en/Gda/Parameter.xml
	* en/Gdk/*.xml
	* en/Glade/XML.xml
	* en/Pango/Analysis.xml
	* en/Pango/AttrIterator.xml
	* en/Pango/Context.xml
	* en/Pango/EngineLang.xml
	* en/Pango/EngineShape.xml
	* en/Pango/FontFamily.xml
	* en/Pango/FontMap.xml
	* en/Pango/FontMetrics.xml
	* en/Pango/Global.xml
	* en/Pango/GlyphItem.xml
	* en/Pango/GlyphString.xml
	* en/Pango/Layout.xml
	* en/Pango/LayoutLine.xml: Updated and/or removed various nodes.

svn path=/trunk/gtk-sharp/; revision=23824
2004-03-09 06:02:51 +00:00
Hector E. Gomez Morales 5d8e9c5dd3 2004-03-05 Hector Gomez M <hectorgm@ciencias.unam.mx>
* en/* : Created TODO files for every namespace (except *Sharp namespaces).

2004-02-29  Hector Gomez M  <hectorgm@ciencias.unam.mx>
	* Changelog: Corrected bogus year dates.
	* en/Gtk/TODO: updated TODO list.
	* en/Atk/EditableText.xml
	* en/Atk/Free.xml
	* en/Atk/NoOpObject.xml
	* en/Atk/Object.xml
	* en/Atk/StateSet.xml
	* en/Gnome/CanvasProxy.xml
	* en/Gnome/CanvasRichText.xml
	* en/Gnome/Config.xml
	* en/Gnome/DateEdit.xml
	* en/Gnome/Entry.xml
	* en/Gnome/FileEntry.xml
	* en/Gnome/Font.xml
	* en/Gnome/FontFamily.xml
	* en/Gnome/GlyphList.xml
	* en/Gnome/IconList.xml
	* en/Gnome/IconTheme.xml
	* en/Gnome/Pgl.xml
	* en/Gtk/Combo.xml
	* en/Gtk/ListStore.xml
	* en/Gtk/RadioMenuItem.xml
	* en/Gtk/StockItem.xml
	* en/Gtk/StockManager.xml
	* en/Gtk/TextBuffer.xml
	* en/Gtk/TextIter.xml
	* en/Gtk/TextView.xml
	* en/Gtk/TooltipsData.xml
	* en/Gtk/TreeModelSort.xml
	* en/Gtk/TreeStore.xml
	* en/Gtk/TreeView.xml
	* en/Gtk/Widget.xml
	* en/Gtk/Window.xml: Restored and/or removed various nodes.
	* en/Gtk/Accel.xml: Removed deprecated GroupsFromObject Method.
	* en/Gtk/Application: Removed deprecated CurrentEvent Property.
	* en/Gtk/Container.xml: FocusChain and Children update.
	* en/Gtk/DeleteEventArgs.xml: Removed deprecated Event Property.
	* en/Gtk/DestroyEventArgs.xml: Removed deprecated Event Property.
	* en/Gtk/MenuItem.xml: ToggleSizeRequest update.
	* en/Gtk/IMContext.xml: Removed deprecated GetPreeditString Method.
	* en/Gtk/IMContextSimple.xml: Removed deprecated AddTable Method.
	* en/Gtk/Init.xml: Removed deprecated AbiCheck Method
	* en/Gtk/MapEventArgs.xml: Removed deprecated Event Property.
	* en/Gtk/MenuItem.xml: Removed deprecated ToggleSizeRequest Method.
	* en/Gtk/NoExposeEventArgs.xml: Removed deprecated Event Property.
	* en/Gtk/SelectionData.xml: Removed deprecated Set Method.
	* en/Gtk/TextChildAnchor.xml: Widget update.
	* en/Gtk/TreeIter.xml: Stamp update.
	* en/Gtk/TreeModel.xml: EmitRowsReordered update.
	* en/Gtk/TreeRowReference.xml: Removed deprecated Reordered Method.
	* en/Gtk/TreeSelection.xml: Removed deprecated GetSelectedRows Method.
	* en/Gtk/TreeViewColumn.xml: Removed deprecated CellRenders Property.
	* en/Gtk/UnmapEventArgs.xml: Removed deprecated Event Property.

svn path=/trunk/gtk-sharp/; revision=23736
2004-03-05 13:40:13 +00:00
Mike Kestner 4924b52190 2003-02-26 Mike Kestner <mkestner@ximian.com>
* All: run updater and kill stubbed deprecates

svn path=/trunk/gtk-sharp/; revision=23497
2004-02-26 19:18:47 +00:00
Mike Kestner d066f892af 2003-02-25 Mike Kestner <mkestner@ximian.com>
* All: update events to new handler namespaces.

svn path=/trunk/gtk-sharp/; revision=23475
2004-02-25 23:39:06 +00:00
Mike Kestner 10b7879ab0 2003-02-25 Mike Kestner <mkestner@ximian.com>
* */*Handler.xml : move all signal delegates from *Sharp to base namespaces.

svn path=/trunk/gtk-sharp/; revision=23472
2004-02-25 21:46:24 +00:00
Mike Kestner 4a1e0cc220 2003-02-25 Mike Kestner <mkestner@ximian.com>
* All: move all signal args from *Sharp to base namespaces.

svn path=/trunk/gtk-sharp/; revision=23465
2004-02-25 20:15:44 +00:00
John Luke ec87d5d92d 2003-12-22 John Luke <jluke@cfl.rr.com>
* en/GLib/GType.xml:
	* en/GLib/DefaultSignalHandlerAttribute.xml: added
	* */*/.xml: run updater

svn path=/trunk/gtk-sharp/; revision=21469
2003-12-24 01:35:30 +00:00
John Luke f844057a89 run updater
svn path=/trunk/gtk-sharp/; revision=19636
2003-11-05 04:30:47 +00:00
John Luke 0b12cb5378 run the updater
svn path=/trunk/gtk-sharp/; revision=19429
2003-10-28 00:48:23 +00:00
John Luke 0a5c79b320 2003-10-13 John Luke <jluke@cfl.rr.com>
* en/*/*.xml: fix finalize signature (override not virtual)

svn path=/trunk/gtk-sharp/; revision=18998
2003-10-13 22:55:58 +00:00
John Luke 74ceff8411 run updater
svn path=/trunk/gtk-sharp/; revision=18908
2003-10-12 09:06:39 +00:00
John Luke cc1f6e10f2 run the updater, add docs for Art, Gda, and GnomeDb
(includes Gnome.Print)

svn path=/trunk/gtk-sharp/; revision=18154
2003-09-17 21:56:59 +00:00