Commit graph

43 commits

Author SHA1 Message Date
Mike Kestner ab07fa8056 updates to assembly version elements
svn path=/trunk/gtk-sharp/; revision=46164
2005-06-17 18:43:30 +00:00
Mike Kestner b939f1f390 2005-06-16 Mike Kestner <mkestner@novell.com>
* en/*/*.xml : run the versionator to add since elements for 2.4.

svn path=/trunk/gtk-sharp/; revision=46100
2005-06-16 18:56:42 +00:00
Mike Kestner 5b8c8ab531 2005-05-23 Mike Kestner <mkestner@novell.com>
* Makefile.am : add an update-delete target for --delete.
	* en/*/*.xml : update-delete.

svn path=/trunk/gtk-sharp/; revision=44918
2005-05-23 21:11:27 +00:00
Mike Kestner f8d36b9453 2005-05-23 Mike Kestner <mkestner@novell.com>
* configure.in.in : add monodocer-fu.

2005-05-23  Mike Kestner  <mkestner@novell.com>

	* Makefile.am : switch to monodocer
	* updater : kill
	* en/*/*.xml : enormo-diff from monodocer first run without --delete.

svn path=/trunk/gtk-sharp/; revision=44915
2005-05-23 20:41:51 +00:00
Dan Winship b6d7f14268 * generator/StructBase.cs: update field-generation logic a bit
* generator/CodeGenerator.cs: add a --glue-includes flag

	* generator/GenerationInfo.cs: Accept glue_includes value from
	Main and output it to the glue_filename.

	* generator/FieldBase.cs (Ignored): handle more ignorable cases.
	(CheckGlue): New method to figure out what kind of glue we'll need
	for a field.
	(GenerateImports): generate appropriate imports per CheckGlue.
	(GenerateGlue): Generate C glue for accessing a struct field;
	either a fully-C-based accessor, or a method to just return the
	field's offset in the struct.
	(Generate): Use the generated glue to read the field.

	* generator/PropertyBase.cs (CType): if the field is a single bit,
	set its type to gboolean.

	* generator/ObjectGen.cs (Generate):
	* generator/OpaqueGen.cs (Generate): Call GenFields.

	* generator/StructField.cs: Use FieldBase's glue-generation code
	to handle bitfields. [#54489]

	* generator/ObjectField.cs: Generates accessors for public fields
	of objects and opaque structs. [#69514]

	* generator/ClassBase.cs (ClassBase): Parse <fields> nodes and
	create ObjectField objects.
	(GenFields): Output field properties
	(IgnoreMethod): Ignore Get/Set methods that duplicate fields

	* generator/Makefile.am (sources): update

	* {gdk,gnome,gtk,pango}/*.metadata: Mark some additional fields as
	public. Rename/retype some fields for consistency with earlier
	hand-coded bindings.

	* {gdk,gnome,gtk,pango}/*.custom: Remove custom methods that can
	now be autogenerated.

	* {gdk,gnome,gtk,pango}/glue/*.c: Remove glue methods that can now
	be autogenerated
	
	* {gdk,glade,gnome,gtk,pango,vte}/Makefile.am
	* {gdk,glade,gnome,gtk,pango,vte}/glue/Makefile.am
	* {gdk,gnome,gtk,pango}/glue/makefile.win32: Update

svn path=/trunk/gtk-sharp/; revision=44563
2005-05-16 14:28:55 +00:00
Dan Winship b7e4cc507e * generator/Parameters.cs (IsHidden): method to check if a
parameter should be hidden in the managed sig (eg, because it's
	user_data, or it's the length of the preceding array/string, etc).
	(VisibleCount): the number of parameters that will actually be
	exposed in the managed signature.
	(IsAccessor): test VisibleCount, not Count
	(AccessorReturnType, AccessorName): deal with the fact that the
	accessor parameter might not be the first one.

	* generator/CallbackGen.cs:
	* generator/Signature.cs: use Parameters.IsHidden.

	* generator/Method.cs (Initialize): set is_set based on
	VisibleCount, not Count.
	(Validate): call base.Validate() before Initialize() so that
	VisibleCount will be correct in Initialize.

	* generator/MethodBody.cs (GetCallString, CallArrayLength,
	Initialize): update to deal with accessors with multiple args.

	* gtk/Clipboard.custom (SetText): implement as an Obsolete variant
	of the Text property

	* gtk/IconTheme.custom (SearchPath, SetSearchPath): obsolete
	SetSearchPath, implement a setter on SearchPath instead.

	* gtk/ListStore.custom (SetColumnTypes):
	* gtk/TreeStore.custom (SetColumnTypes): implement as an Obsolete
	variant of the ColumnTypes property.

	* glade/XML.custom (CustomHandler): implement as a property
	(SetCustomHandler): Mark this obsolete

	* glade/Global.custom (SetCustomHandler): deprecate in favor of
	XML.CustomHandler.

	* gnomedb/Editor.custom (SetText): implement as an Obsolete
	variant of the Text property

svn path=/trunk/gtk-sharp/; revision=43898
2005-05-02 20:10:03 +00:00
Miguel de Icaza dc66e2b0e8 Contributions from mvorkosigan@gmail.com
svn path=/trunk/gtk-sharp/; revision=43115
2005-04-16 19:04:39 +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 574aa2ee06 2005-01-07 Mike Kestner <mkestner@novell.com>
* configure.in : check for panelapplet in enable_gnome and remove
	all the stuff for a separate panelapplet-sharp assembly.
	* Makefile.am : remove panelapplet dir from build.
	* gnome/BonoboUIVerb.cs : moved from panelapplet.
	* gnome/Gnome.metadata : add rules from panelapplet.
	* gnome/Makefile.am : add new files.
	* gnome/PanelApplet.custom : moved from panelapplet.
	* gnome/PanelAppletFactory.cs : moved from panelapplet.
	* gnome/glue/panelapplet.c : moved from panelapplet.
	* gnome/glue/Makefile.am : add new file.
	* gnomedb/GnomeDb.metadata : hide a newly parsed "obsolete" type.
	* gtk/Gtk.metadata : hide a newly parsed "obsolete" callback type.
	* panelapplet : kill dir.
	* parser/gapi2xml.pl : update callback name sanity check.
	* sources/gtk-sharp-sources.xml : move panelapplet parse into gnome.
	* */*-api.raw : regen.

svn path=/trunk/gtk-sharp/; revision=38509
2005-01-07 21:29:38 +00:00
Shane Landrum 994538e4f9 2005-01-07 Shane Landrum <epicene@pobox.com>
* en/Glade/*: Cleaned up some parameters, added
	docs.


svn path=/trunk/gtk-sharp/; revision=38498
2005-01-07 17:22:21 +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
Mike Kestner 2ac25a2ff4 updater run for new api
svn path=/trunk/gtk-sharp/; revision=35733
2004-11-05 19:49:12 +00:00
John Luke 95bccc89f3 document new XML ctor
svn path=/trunk/gtk-sharp/; revision=32502
2004-08-18 22:43:14 +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
John Luke 076642e2c7 some more docs: Glade and Atk mostly
svn path=/trunk/gtk-sharp/; revision=31721
2004-08-02 02:38:30 +00:00
Miguel de Icaza b6ac7cea69 Apply patches from jaspervp@gmx.net
svn path=/trunk/gtk-sharp/; revision=31113
2004-07-14 02:01:45 +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
Miguel de Icaza 11f70f092e Updates from alf82@freemail.gr
svn path=/trunk/gtk-sharp/; revision=29905
2004-06-18 17:57:09 +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
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 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
Duncan Mak 5e8e9a1c07 2003-09-09 Duncan Mak <duncan@ximian.com>
* en/Glade: Update the docs to include new helper functions in
	Glade.XML. Also do some XML normalization.

svn path=/trunk/gtk-sharp/; revision=18014
2003-09-09 22:40:47 +00:00
Duncan Mak ad589a0a64 More paramref fixes
svn path=/trunk/gtk-sharp/; revision=16961
2003-07-31 21:47:54 +00:00
Duncan Mak a5594020a2 Finish documentation for Glade.XML.
svn path=/trunk/gtk-sharp/; revision=16823
2003-07-29 04:14:24 +00:00
Duncan Mak a613489634 Add more docs to XML.
svn path=/trunk/gtk-sharp/; revision=16818
2003-07-29 02:44:45 +00:00
Duncan Mak 28a41ea3c7 Added some documentation for Glade.XML.
svn path=/trunk/gtk-sharp/; revision=16802
2003-07-28 23:14:43 +00:00
Joshua Tauberer 9d0a50175b Updated GtkSharp docs for monodoc's needs
svn path=/trunk/gtk-sharp/; revision=16463
2003-07-21 00:13:00 +00:00
Duncan Mak ada2962e92 2003-07-17 Duncan Mak <duncan@ximian.com>
* Added new documentation files for the new classes, and fixed the
	off-by-one enum member name bug that was introduced in the previous
	commit.

svn path=/trunk/gtk-sharp/; revision=16325
2003-07-17 06:38:40 +00:00
Duncan Mak ed163952af 2003-07-17 Duncan Mak <duncan@ximian.com>
* Add new documentation files for the new classes.

svn path=/trunk/gtk-sharp/; revision=16324
2003-07-17 06:35:10 +00:00
Miguel de Icaza de7ee8c896 2003-04-15 Miguel de Icaza <miguel@ximian.com>
* en/Glade/WidgetAttribute.cs: Add docs.

svn path=/trunk/gtk-sharp/; revision=13641
2003-04-15 06:11:12 +00:00
Duncan Mak f7356a040e Remove GladeWidgetAttribute.xml
svn path=/trunk/gtk-sharp/; revision=12570
2003-03-15 23:00:21 +00:00
Duncan Mak 69d72bdf94 Add docs for the renamed WidgetAttribute.
svn path=/trunk/gtk-sharp/; revision=12568
2003-03-15 22:50:55 +00:00
Duncan Mak 99fc829a10 2003-03-08 Duncan Mak <duncan@ximian.com>
* en/*/*.xml: Removed all the Deprecated nodes now.

svn path=/trunk/gtk-sharp/; revision=12345
2003-03-08 06:28:15 +00:00
Duncan Mak efa9acf122 2003-03-06 Duncan Mak <duncan@ximian.com>
* en/*/*.xml: Updated all the docs to match the new API. All the nodes
	that no longer have a corresponding member in the type are now
	marked as deprecated. We'll have to wait for Miguel to implement
	this in the browser to stop displaying them.

	All gtype constructors have been regenerated, because of the
	'uint' to 'GLib.Type' change. However, this patch will preserve
	(well, it was regenerated) the customized text for those GType
	constructors.

	A lot of the 'Finalized' methods are also now marked as
	deprecated, because the classes implement 'Dispose' instead. This
	is a possible place for customized scripts to generate template
	documentation, similar to the GType property and GType constructors.

svn path=/trunk/gtk-sharp/; revision=12270
2003-03-07 01:30:00 +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 7661dafe09 2003-02-14 Duncan Mak <duncan@ximian.com>
* en/*: Updated the docs and added a new Maintainer attribute, also
	fixed the generator to produce 'ref/out' modifiers for parameters.

svn path=/trunk/gtk-sharp/; revision=11599
2003-02-15 03:08:25 +00:00
Duncan Mak 4ff68cbec8 Glade docs
svn path=/trunk/gtk-sharp/; revision=11505
2003-02-12 01:58:03 +00:00