Commit graph

61 commits

Author SHA1 Message Date
John Luke ab20101e76 2005-05-06 John Luke <john.luke@gmail.com>
* pango/Makefile.am: add Matrix.custom
        * pango/Matrix.custom: add Pango.Matrix.Identity field
        which is the equivalent of PANGO_MATRIX_INIT
        * sample/GtkDemo/DemoRotatedText.cs: use Pango.Matrix.Identity
        * doc/en/Pango/Matrix.xml: add docs for Pango.Matrix.Identity


svn path=/trunk/gtk-sharp/; revision=44181
2005-05-07 00:16:47 +00:00
Dan Winship a7d8b64f7a * generator/Parameters.cs (Parameters.Validate): If the parameters
end with "callback, gpointer, GDestroyNotify", then mark the
	callback as having "notified" Scope.
	(Parameters.IsHidden): Hide user_data and GDestroyNotify after a
	callback.
	(Parameter.Scope): make this settable
	(Parameter.IsDestroyNotify): new test

	* generator/MethodBody.cs (Initialize): Handle "notified" callback
	scope (using a GCHandle and GLib.DestroyHelper.NotifyHandler)

	* generator/CallbackGen.cs (GenWrapper): Add a static
	"GetManagedDelegate" method to the wrapper type, to translate a
	native delegate back to its corresponding managed delegate.
	(FromNative): use GetManagedDelegate.

	* generator/ReturnValue.cs (Validate): We handle callback return
	values now

	* generator/SymbolTable.cs: marshal GDestroyNotify as
	GLib.DestroyNotify

	* glib/DestroyNotify.cs: Moved from gtk

	* gtk/Gtk.metadata: globally change GtkDestroyNotify to
	GDestroyNotify, but then change back the ones that are exposed in
	the API. Un-hide lots of methods we can correctly autogenerate
	now.

	* gtk/DestroyHelper.cs: moved to glib

	* gtk/*.custom: remove methods that are autogenerated now, add
	Obsolete wrappers where needed, replace Gtk.DestroyHelper usage
	with GLib.DestroyHelper.

	* gdk/Gdk.metadata: 
	* gnome/Gnome.metadata: Turn Gdk.Drawable.SetData and
	Gnome.IconList.SetIconDataFull's GDestroyNotify args into
	gpointers so the generated API stays the same as it used to be.

	* rsvg/Handle.custom: implement deprecated SetSizeCallback

	* sample/GtkDemo/DemoIconView.cs (CreateSort): update for API
	changes

svn path=/trunk/gtk-sharp/; revision=44020
2005-05-04 11:47:25 +00:00
Dan Winship b4a4db44dd * pango/Attribute.cs: Base class for Pango attributes, a la
Gdk.Event

	* pango/pango-symbols.xml: explain how to marshal PangoAttribute.

	* pango/AttrBackground.cs:
	* pango/AttrFallback.cs:
	* pango/AttrFamily.cs: 
	* pango/AttrFontDesc.cs:
	* pango/AttrForeground.cs:
	* pango/AttrLanguage.cs:
	* pango/AttrLetterSpacing.cs:
	* pango/AttrRise.cs:
	* pango/AttrScale.cs:
	* pango/AttrShape.cs:
	* pango/AttrSize.cs:
	* pango/AttrStretch.cs:
	* pango/AttrStrikethrough.cs:
	* pango/AttrStrikethroughColor.cs:
	* pango/AttrStyle.cs:
	* pango/AttrUnderline.cs:
	* pango/AttrUnderlineColor.cs:
	* pango/AttrVariant.cs:
	* pango/AttrWeight.cs: subclasses of Attribute, with proper
	constructors. These don't actually correspond one-to-one with
	the underlying types, but they're nicer this way.

	* pango/Pango.metadata: Hide Attribute and its subclasses from the
	generator. Also hide "Attr" (which previously contained
	non-working badly-named static methods to create Attributes)
	and AttrClass (which is not really useful outside of pango
	itself).

	* pango/AttrIterator.custom: use Pango.Attribute.GetAttribute.

	* pango/glue/attribute.c: glue for Attribute and its subclasses

	[Fixes #52575 and its semi-dup #46552]

svn path=/trunk/gtk-sharp/; revision=43520
2005-04-24 22:35:43 +00:00
John Luke 8855f7a5a7 add some automatic docs for the new stuff
svn path=/trunk/gtk-sharp/; revision=43452
2005-04-22 17:20:16 +00:00
Mike Kestner 1f555ab568 2005-04-21 Mike Kestner <mkestner@novell.com>
* configure.in : require gtk+ 2.6.
	* generator/ReturnValue.cs : invalidate Callback returns for now.
	* gtk/Gtk.metadata : some renames for conflicting new API.
	* parser/gapi2xml.pl : whitespace tweak for class VM regexen.
	* sources/Makefile.am : add new patch, kill atk patch, revise dirs.
	* sources/atkhyperlink.patch : kill unnecessary patch.
	* sources/gtkclipboard.patch : add new clipboard patch.
	* sources/gtk-sharp-sources.xml : parse gtk+-2.6.
	* */*-api.raw : regen pango, atk, gdk, and gtk for new versions.

svn path=/trunk/gtk-sharp/; revision=43412
2005-04-21 17:10:54 +00:00
Dan Winship b59ca6cdba * pango/Scale.cs: rename the size constants to not have
underscores in their names (and add obsolete aliases for the old
	names).

	* sample/GtkDemo/DemoTextView.cs: use the new names

svn path=/trunk/gtk-sharp/; revision=42532
2005-04-04 18:50:50 +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 ba4b11a21b 2004-12-22 Mike Kestner <mkestner@novell.com>
* gdk/gdk-api.raw : update enum values.
	* gnome/gnome-api.raw : update enum values.
	* gtk/gtk-api.raw : update enum values.
	* pango/pango-api.raw : update enum values.
	* parser/gapi2xml.pl : pull whitespace out of enum prefixing logic.
	[Fixes #70593]

svn path=/trunk/gtk-sharp/; revision=38051
2004-12-22 19:12:15 +00:00
Dan Winship a610fb9a79 * generator/GUnicharGen.cs: generatable for gunichar, using
GLib.Marshaller.CharToGUnichar and .GUnicharToChar [#70704]

        * generator/SymbolTable.cs (SymbolTable): add a GUnicharGen.

        * generator/Makefile.am (sources): add GUnicharGen.cs

        * parser/gapi2xml.pl (addPropElem): g_param_spec_unichar() has
        type "gunichar" not "unichar".

        * gtk/gtk-api.raw: Regen

        * glib/Marshaller.cs: Import CharToGUnichar's glue method by the
        right name

svn path=/trunk/gtk-sharp/; revision=37998
2004-12-20 22:05: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
John Luke e3e4c2528a 2004-12-15 John Luke <john.luke@gmail.com>
* en/Pango/FcFont.xml:
        * en/Pango/FcFontMap.xml:
        * en/Pango/Script.xml:
        * en/Pango/ScriptIter.xml: doc'em

svn path=/trunk/gtk-sharp/; revision=37806
2004-12-15 20:37:05 +00:00
Mike Kestner c6d0343586 updater run for 2.4 api.
svn path=/trunk/gtk-sharp/; revision=35720
2004-11-05 19:05:29 +00:00
Mike Kestner 959b20df4e updater whitespace
svn path=/trunk/gtk-sharp/; revision=33229
2004-09-02 14:56:51 +00:00
John Luke a8b81fb34d validation/rendering fixes
svn path=/trunk/gtk-sharp/; revision=32766
2004-08-24 17:01:00 +00:00
Mike Kestner b45b49ac61 2004-08-18 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : unhide ExpanderStyle.
	* doc/en/Gtk/Style.xml : doc PaintExpander.
	* doc/en/Gtk/ExpanderStyle.xml : new enum docs.
	[Fixes #60480] metadata patch from Jeroen Zwartepoorte.

svn path=/trunk/gtk-sharp/; revision=32498
2004-08-18 16:08:02 +00:00
Mike Kestner fdcc41a70b 2004-08-17 Mike Kestner <mkestner@ximian.com>
* pango/Pango.metadata : metadata for the pango audit.
	* pango/*.custom : customizations to fix audited API.
	* doc/en/* : docs for some api changes and additions.
	* glib/Marshaller.cs : some gunichar marshal-fu.
	* glib/glue/unichar.c : a new glue method.

svn path=/trunk/gtk-sharp/; revision=32462
2004-08-17 20:43:49 +00:00
Miguel de Icaza 7b583db145 Fix
svn path=/trunk/gtk-sharp/; revision=31776
2004-08-03 04:46:28 +00:00
Shane Landrum c0cb153d7d 2004-08-01 Shane Landrum <epicene@pobox.com>
* en/Pango/*: Filled in all "To be added"; cleaned
	up existing docs and made them more consistent.

svn path=/trunk/gtk-sharp/; revision=31738
2004-08-02 13:36:06 +00:00
John Luke 8de889da0e more pango docs
svn path=/trunk/gtk-sharp/; revision=31265
2004-07-17 18:05:37 +00:00
John Luke 38b2f0fd39 more pango docs
svn path=/trunk/gtk-sharp/; revision=31262
2004-07-17 17:24:02 +00:00
John Luke 0bf3897a25 more pango stuff
svn path=/trunk/gtk-sharp/; revision=31245
2004-07-17 04:14:39 +00:00
John Luke b69c76c9f2 more pango stuff
svn path=/trunk/gtk-sharp/; revision=31241
2004-07-17 00:03:17 +00:00
John Luke 9f018d8c94 some more Pango stuff
and a little Rsvg and Vte

svn path=/trunk/gtk-sharp/; revision=31098
2004-07-13 17:20:13 +00:00
John Luke 2f76fc8c42 document Pango.Context
svn path=/trunk/gtk-sharp/; revision=31020
2004-07-12 01:10:51 +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 f9675851e9 2004-06-24 Mike Kestner <mkestner@ximian.com>
* en/Pango/Layout.xml : document IndexToPosition.

svn path=/trunk/gtk-sharp/; revision=30334
2004-06-24 20:11:04 +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 0b0e441876 2004-06-24 Mike Kestner <mkestner@ximian.com>
* en/*/*.xml : kill all the dead files where types have been removed.
	Mark several gtkhtml types as being in gtkhtml-sharp, not gtk-sharp.
	Another 601 dead TBAs.

svn path=/trunk/gtk-sharp/; revision=30318
2004-06-24 15:13: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 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 9a53d28203 2004-06-01 Mike Kestner <mkestner@ximian.com>
* en/*/*.xml : run updater to fix Rgb method sigs. And LayoutLine.

svn path=/trunk/gtk-sharp/; revision=29028
2004-06-08 11:28:43 +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
Miguel de Icaza d846b31f50 Pango contributions from alf82@freemail.gr
svn path=/trunk/gtk-sharp/; revision=27038
2004-05-10 17:26:50 +00:00
John Luke f5aa31077b add example
svn path=/trunk/gtk-sharp/; revision=26092
2004-04-28 01:46:09 +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 80a32deaa6 2003-02-25 Mike Kestner <mkestner@ximian.com>
* Pango/*.xml : run updater and kill stubbed deprecates
	* Atk/*.xml : run updater and kill stubbed deprecates
	* Gdk/*.xml : run updater and kill stubbed deprecates
	* Gtk/*.xml : run updater and kill stubbed deprecates

svn path=/trunk/gtk-sharp/; revision=23492
2004-02-26 18:46:28 +00:00
Miguel de Icaza 6507489ef9 Next batch of commits
svn path=/trunk/gtk-sharp/; revision=22035
2004-01-13 21:25:07 +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 46acd2b617 2003-12-04 John Luke <jluke@cfl.rr.com>
* All: run updater

svn path=/trunk/gtk-sharp/; revision=20789
2003-12-04 21:09: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
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
John Luke fe7973b7a8 2003-07-17 John Luke <jluke@cfl.rr.com>
* en/Gtk/TreeView.xml: add TreeViewDemo example
	* en/Pango/Weight.xml: remove trailing "n"

svn path=/trunk/gtk-sharp/; revision=16409
2003-07-18 17:23:36 +00:00