Commit graph

569 commits

Author SHA1 Message Date
John Luke
163cacb30f 2004-12-20 John Luke <john.luke@gmail.com>
* en/Gtk/Widget.xml: finish
        * en/Gtk/Window.xml: finish
        * en/Gtk/*.xml: random stuff, mostly enums

svn path=/trunk/gtk-sharp/; revision=38021
2004-12-21 04:08:27 +00:00
John Luke
2cdcc3714c 2004-12-20 John Luke <john.luke@gmail.com>
* en/Gtk/CellView.xml: doc most of this
        * en/Gtk/EntryCompletion.xml: add an example from GtkDemo


svn path=/trunk/gtk-sharp/; revision=38008
2004-12-21 00:16:14 +00:00
Mike Kestner
b6b89a0633 2004-12-20 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : mark a couple array params.
	* generator/Field.cs : remove the MarshalAs hack. We have to
	do something much more evil since MarshalAs can't hang.
	* generator/ImportSignature.cs : deal with out LP(U)Gen params.
	* generator/LPGen.cs : moved from SSizeTGen and generalized.
	* generator/LPUGen.cs : moved from SizeTGen and generalized.
	* generator/Makefile.am : update sources.
	* generator/MethodBody.cs : deal with out LP(U)Gen params.
	* generator/Parameters.cs : deal with out LP(U)Gen params.
	* generator/SymbolTable.cs : make all longs and size_t types LP(U)Gens.

svn path=/trunk/gtk-sharp/; revision=37999
2004-12-20 22:08:43 +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
99735b0d7e * en/Gtk/StockManager.xml: gone
* en/Gtk/Stock.xml (Lookup): document here

svn path=/trunk/gtk-sharp/; revision=37997
2004-12-20 19:55:00 +00:00
Mike Kestner
c9683719ef 2004-12-20 Mike Kestner <mkestner@novell.com>
* en/Gnome.Vfs/*.xml : updater run for recent changes.

svn path=/trunk/gtk-sharp/; revision=37987
2004-12-20 18:09:36 +00:00
Mike Kestner
5e298ce11a 2004-12-20 Mike Kestner <mkestner@novell.com>
* generator/Property.cs : generate Interface properties.
	* gtk/ComboBox.custom : remove dup model prop.
	* gtk/TreeView.custom : remove dup model prop.

svn path=/trunk/gtk-sharp/; revision=37985
2004-12-20 18:01:55 +00:00
Mike Kestner
1cdd16f09c 2004-12-18 Mike Kestner <mkestner@novell.com>
* gconf/GConf/ChangeSet.cs : add internal Handle prop.
	* gconf/GConf/Engine.cs : new class to expose the default gconf engine
	perform changeset commits and reverses.

svn path=/trunk/gtk-sharp/; revision=37921
2004-12-18 16:44:20 +00:00
Mike Kestner
9727ef31e2 2004-12-17 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide Object and Widget.Destroy.
	* gtk/Object.custom : manual virtual Destroy impl.
	* gtk/Widget.custom : manual virtual Destroy impl.
	* gtk/Window.custom : hold a managed ref for all toplevels. Release
	it in a Destroy override.  Window is frequently subclassed and is
	never parented, so this keeps a managed ref around to avoid GC.
	[Fixes #70120]

svn path=/trunk/gtk-sharp/; revision=37914
2004-12-17 23:21:53 +00:00
Mike Kestner
d97845dbf0 2004-12-17 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : mark out param on Window.GetFrameExtents.
	* gdk/WindowAttr.custom : new typed Mask prop.
	* gtk/Widget.custom : new typed WidgetFlags prop. mark Flags obsolete.

svn path=/trunk/gtk-sharp/; revision=37909
2004-12-17 21:44:47 +00:00
Mike Kestner
6f3dd46742 forgot an add
svn path=/trunk/gtk-sharp/; revision=37905
2004-12-17 20:34:25 +00:00
Mike Kestner
59faab866e 2004-12-17 Mike Kestner <mkestner@novell.com>
* gtk/Makefile.am : add new file.
	* gtk/glue/makefile.win32 : add missing file.
	* gtk/NodeCellDataFunc.cs : new callback delegate type and marshaler
	for NodeStore tree views using GtkTreeCellDataFuncs.
	* gtk/NodeStore.cs : add internal GetNode overload by TreeIter.
	* gtk/NodeView.cs : add AppendColumn overload that uses data funcs.
	* gtk/TreeViewColumn.custom : manual implementation for SetCellDataFunc
	to support both TreeIter and ITreeNode models.  We need to hold a ref
	to a delegate for each cell renderer on a column. [Fixes #63062]
	* sample/NodeViewDemo.cs : use a NodeCellDataFunc for one of the 
	cell renderers in the tree.

svn path=/trunk/gtk-sharp/; revision=37904
2004-12-17 20:32:33 +00:00
Shane Landrum
43932ea8ae 2004-12-17 Shane Landrum <epicene@pobox.com>
* en/Gtk/Tooltips.xml
	* en/Gtk/ToggleToolButton.xml
	* en/Gtk/ToolItem.xml
	* en/Gtk/ToolbarChildType.xml
	* en/Gtk/SeparatorToolItem.xml
	* en/Gtk/TooltipSetArgs.xml: Docs for tooltips and toolbar tools.


svn path=/trunk/gtk-sharp/; revision=37895
2004-12-17 19:15:25 +00:00
Dan Winship
104dbedf07 * generator/ClassBase.cs (IgnoreMethod): Don't ignore GetFoo and
SetFoo methods if they aren't in the right form to be turned into
        property accessors. (Causes 13 previously ignored methods to now
        be wrapped. See doc/ChangeLog.)

        * gtk/Gtk.metadata: Fix up a few of those newly-exposed methods

svn path=/trunk/gtk-sharp/; revision=37891
2004-12-17 17:55:07 +00:00
Shane Landrum
93209fbd15 2004-12-17 Shane Landrum <epicene@pobox.com>
* en/Gtk/FontSelectionDialog.xml: Doc 1 property
	* en/Gtk/TargetEntry.xml
	* en/Gtk/TargetPair.xml
	* en/Gtk/SelectionData.xml
	* en/Gtk/SelectionGetArgs.xml
	* en/Gtk/SelectionNotifyEventArgs.xml
	* en/Gtk/SelectionRequestEventArgs.xml: Docs for selection-related
	and DND code.
	* en/Gtk/Stock.xml: Doc some new items for 2.4
	* en/Gtk/ToolButton.xml: Add docs


svn path=/trunk/gtk-sharp/; revision=37890
2004-12-17 17:52:22 +00:00
Shane Landrum
fb2a4b6c9a 2004-12-17 Shane Landrum <epicene@pobox.com>
* en/Gtk/RadioAction.xml
	* en/Gtk/RadioActionEntry.xml
	* en/Gtk/RadioButton.xml
	* en/Gtk/RadioMenuItem.xml
	* en/Gtk/RadioToolButton.xml: Add docs


svn path=/trunk/gtk-sharp/; revision=37889
2004-12-17 17:47:57 +00:00
Dan Winship
faaccd7e0b * generator/ManagedCallString.cs (Setup, Finish, ToString): Add
new methods to allow arbitrary setup and teardown code around the
        managed call. When passing a type with "complicated" marshalling
        requirements as a ref or out param, first assign the value to a
        temporary variable (in Setup), then pass the temp as the ref or
        out param (in ToString), and then assign the new value back to the
        original argument (in Finish).

        * generator/Signal.cs: 
        * generator/SignalHandler.cs: Update to generate correct glue for
        signals with "ref" or "out" params. (#70566)

        * generator/VirtualMethod.cs: Update for ManagedCallString change

        * generator/IGeneratable.cs: add comments explaining what each
        member does

        * gtk/Gtk.metadata: mark Editable.InsertText's "position" arg
        * pass-by-ref

        * sample/Size.cs: connect to the SizeRequested event and override
        it, to test/demo the changes

svn path=/trunk/gtk-sharp/; revision=37854
2004-12-16 23:38:35 +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
48358ccf22 2004-12-16 Mike Kestner <mkestner@novell.com>
* sample/NodeViewDemo.cs : rework of TreeViewDemo to use NodeStore.
	* sample/TreeViewDemo.cs : added some timing and node counting fu.

2004-12-16  Duncan Mak  <duncan@ximian.com>

	* gtk/Makefile.am (sources): Added NodeSelection and NodeView.
	* gtk/NodeSelection.cs: New file, an implementation of
 	TreeSelection that exposes ITreeNodes instead of TreeIters.
	* gtk/NodeStore.cs : added internal GetIter and GetPath methods for 
	NodeSelection. Reworked [TreeNodeValue] lookup logic.
 	out what the Type of data the store holds.
	* gtk/NodeView.cs: New subclass of TreeView utilizing NodeStore and
	NodeSelection.
	* gtk/TreeIter.custom : new internal UserData prop.
	* gtk/TreeNodeValueAttribute.cs: Set AllowMultiple to true.
	* gtk/TreeView.custom: Obsoleted constructor that uses a NodeStore as
 	parameter. NodeView should be used instead.

svn path=/trunk/gtk-sharp/; revision=37845
2004-12-16 20:30:43 +00:00
Mike Kestner
256bc09aee 2004-12-16 Tambet Ingo <tambet@ximian.com>
* glib/Opaque.cs : hold a weakref in the hash, not a strong ref.

svn path=/trunk/gtk-sharp/; revision=37840
2004-12-16 17:09:58 +00:00
Mike Kestner
cf2596acf0 2004-12-15 Mike Kestner <mkestner@novell.com>
* gnome/Gnome.metadata : resolve a collision that was causing
	Print class methods to be lost.

svn path=/trunk/gtk-sharp/; revision=37814
2004-12-15 22:41:14 +00:00
John Luke
f2ef7c5f28 run gen-vm-docs.exe and gen-handlerargs.exe on
all the assemblies

svn path=/trunk/gtk-sharp/; revision=37812
2004-12-15 21:54:42 +00:00
John Luke
4ff5ea4ddb 2004-12-15 John Luke <john.luke@gmail.com>
* en/Atk/LinkSelectedArgs.xml
        * en/Atk/StateSet.xml
        * en/Atk/TextRange.xml
        * en/Atk/HyperLink.xml
        * en/Atk/TextRectangle.xml
        * en/Atk/NoOpObject.xml
        * en/Atk/LinkSelectedHandler.xml
        * en/Atk/StateManager.xml
        * en/Atk/TextClipType.xml
        * en/Gtk/FileChooserAction.xml
        * en/Gtk/FileChooserError.xml: add docs


svn path=/trunk/gtk-sharp/; revision=37811
2004-12-15 21:46:24 +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
Shane Landrum
c01ab2e2ef 2004-12-14 Shane Landrum <epicene@pobox.com>
* en/Gtk/FileChooser.xml: Added full docs.
	* en/Gtk/FileChooserDialog.xml
	* en/Gtk/FileChooserEmbed.xml
	* en/Gtk/FileChooserAction.xml
	* en/Gtk/FileChooserWidget.xml
	* en/Gtk/FileChooserEntry.xml
	* en/Gtk/FileChooserDefault.xml
	* en/Gtk/FileChooserError.xml
	* en/Gtk/FileChooserProp.xml: Began working on docs.


svn path=/trunk/gtk-sharp/; revision=37765
2004-12-15 00:19:32 +00:00
Shane Landrum
5e4e7b1498 2004-12-14 Shane Landrum <epicene@pobox.com>
* en/Gtk/TextTagInfo.xml
	* en/Gtk/TextToggleBody.xml
	* en/Gtk/TextLineSegmentClass.xml
	* en/Gtk/TextPendingScroll.xml
	* en/Gtk/TextView.xml
	* en/Gtk/TextLineSegment.xml: Changed "to be added" to "do not use"
	* en/Gtk/TextIter.xml
	* en/Gtk/TextBuffer.xml : Added docs for remaining TBA items.


svn path=/trunk/gtk-sharp/; revision=37763
2004-12-14 22:04:26 +00:00
Shane Landrum
c11a708513 2004-12-12 Shane Landrum <epicene@pobox.com>
* en/Gtk/ToolItem.xml
	* en/Gtk/Toolbar.xml: Expanded docs for toolbar-related classes.
	* en/Gtk/SubmenuDirection.xml
	* en/Gtk/SubmenuPlacement.xml: Docced submenu enums.


svn path=/trunk/gtk-sharp/; revision=37678
2004-12-13 02:51:29 +00:00
Mike Kestner
81c32f1c38 2004-12-09 Mike Kestner <mkestner@novell.com>
* gtkhtml/HTML.custom : remove obsolete attr for Write overload.
	* gtkhtml/HTMLStream.custom : ditto.

svn path=/trunk/gtk-sharp/; revision=37606
2004-12-10 23:03:33 +00:00
Mike Kestner
84e058dd1a 2004-12-09 Mike Kestner <mkestner@novell.com>
* gtkhtml/HTML.custom : add an back-compat obsolete overload for Write.
	* gtkhtml/HTMLStream.custom : add an obsolete overload for Write.


svn path=/trunk/gtk-sharp/; revision=37516
2004-12-09 19:55:53 +00:00
Mike Kestner
62977484e6 2004-12-09 Mike Kestner <mkestner@novell.com>
* generator/Makefile.am : new files.
	* generator/MethodBody.cs : fix for length param code.
	* generator/SizeTGen.cs : smarter size_t marshaling.
	* generator/SSizeTGen.cs : smarter ssize_t marshaling.
	* generator/SymbolTable.cs : use the new generatables.

svn path=/trunk/gtk-sharp/; revision=37509
2004-12-09 18:40:09 +00:00
John Luke
1cea948a37 2004-12-08 John Luke <john.luke@gmail.com>
* en/Gtk/IconLookupFlags.xml
        * en/Gtk/IconInfo.xml
        * en/Gtk/IconTheme.xml
        * en/Gtk/IconThemeError.xml: doc these


svn path=/trunk/gtk-sharp/; revision=37410
2004-12-08 19:24:38 +00:00
Mike Kestner
5cca5957df 2004-12-08 Mike Kestner <mkestner@novell.com>
* art/Art.metadata : mark some ints as bools. [Fixes #61047]

svn path=/trunk/gtk-sharp/; revision=37408
2004-12-08 18:57:08 +00:00
John Luke
f662bb93a5 doc ComboBoxEntry
svn path=/trunk/gtk-sharp/; revision=37363
2004-12-08 02:52:40 +00:00
John Luke
27fb970cd1 and gen-vm-docs.exe for gtk-sharp.dll
svn path=/trunk/gtk-sharp/; revision=37362
2004-12-08 02:37:02 +00:00
John Luke
62c30e4200 run gen-handlerargs-docs.exe for gtk-sharp.dll
svn path=/trunk/gtk-sharp/; revision=37361
2004-12-08 02:32:32 +00:00
John Luke
8bde6a44a4 doc a few missing things here
svn path=/trunk/gtk-sharp/; revision=37360
2004-12-08 02:27:49 +00:00
John Luke
628493fa3d 2004-12-06 John Luke <john.luke@gmail.com>
* gtk/Gtk.metadata: set with_mnemonic as the preferred ctor
        * doc/en/Gtk/Expander.xml: update


svn path=/trunk/gtk-sharp/; revision=37273
2004-12-07 01:34:17 +00:00
John Luke
75cb1c66db 2004-12-06 John Luke <john.luke@gmail.com>
* gtk/Action.custom
        * gtk/ActionGroup.custom
        * gtk/UIManager.custom
        * gtk/Gtk.metadata
        * doc/en/Gtk/ActionGroup.xml
        * file doc/en/Gtk/Action.xml
        * doc/en/Gtk/UIManager.xml: replace List and SList with arrays
        and update the docs


svn path=/trunk/gtk-sharp/; revision=37272
2004-12-07 01:31:50 +00:00
Mike Kestner
84d8a42f96 2004-12-06 Mike Kestner <mkestner@novell.com>
* doc/en/*/*.xml : docs for new GValue members and size_t changes.
	* generator/SymbolTable.cs : add ssize_t and make size_t a UIntPtr
	instead of the current broken int mapping on 64 bit platforms.
	* gtkhtml/HTMLStream.custom : fix size_t related overload.
	[fixes #69574]

svn path=/trunk/gtk-sharp/; revision=37223
2004-12-06 19:37:03 +00:00
Shane Landrum
dddd3dcc9f 2004-12-06 Shane Landrum <epicene@pobox.com>
* en/Gtk/AccelCanActivateHandler.xml
	* en/Gtk/Widget.xml
	* en/Gtk/AccelCanActivateArgs.xml: Added docs for accelerator-related
	signals and handlers.


svn path=/trunk/gtk-sharp/; revision=37170
2004-12-06 06:21:01 +00:00
John Luke
95fc8a551d doc Expander
svn path=/trunk/gtk-sharp/; revision=37148
2004-12-05 21:05:29 +00:00
Dan Winship
e0a0bd13fa * gdk/gdk-symbols.xml: alias GdkBitmap to GdkPixmap [Fixes
* #68824]

        * gdk/Gdk.metadata: Remove the earlier GdkBitmap hack now that
        it's aliased. Also move Gdk.Bitmap.CreateFromData to
        Gdk.Pixmap.CreateBitmapFromData

        * gdk/Pixbuf.custom (RenderPixmapAndMask,
        RenderPixmapAndMaskForColormap, RenderThresholdAlpha):
        s/Bitmap/Pixmap/

        * sample/GtkDemo/DemoTextView.cs: uncomment the fg/bg stipple
        code, since that works now

        * parser/gapi-fixup.cs: Add an "add-node" rule. This turned out
        * to
        not actually be needed for this fix, but we know we'll need it
        later, so here it is.

svn path=/trunk/gtk-sharp/; revision=37055
2004-12-03 20:42:12 +00:00
Mike Kestner
5f9a153c7f 2004-12-03 Mike Kestner <mkestner@novell.com>
* gtk/Dialog.custom : correct return value for AddButton overload.
	[Fixes #70121]

svn path=/trunk/gtk-sharp/; revision=37043
2004-12-03 18:52:18 +00:00
Dan Winship
2c9ce7d64e * gtk/Gtk.metadata: Pass TextIters by ref almost everywhere.
[Fixes #70187]. Kill two varargs warnings.

        * gtk/TextBuffer.custom: Update for that, and also implement
        InsertWithTagsByName

        * sample/GtkDemo/DemoHyperText.cs:
        * sample/GtkDemo/DemoTextView.cs: Remove kludges for broken
        TextIter handling. Also fix the i18n demo bits by translating the
        octal-encoded UTF-8 to hex-encoded UTF-16.

svn path=/trunk/gtk-sharp/; revision=37039
2004-12-03 18:00:30 +00:00
Mike Kestner
8a6ba75f45 2004-12-03 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide junk methods in Global. [Fixes #60895]

svn path=/trunk/gtk-sharp/; revision=37037
2004-12-03 17:30:29 +00:00
Mike Kestner
59b46e3fed 2004-12-03 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide Visibility enum. [Fixes #60704]

svn path=/trunk/gtk-sharp/; revision=37035
2004-12-03 17:09:37 +00:00
Shane Landrum
fe1260b924 2004-12-02 Shane Landrum <epicene@pobox.com>
* en/Gtk/EntryCompletionMatchFunc.xml
	* en/Gtk/EntryCompletion.xml
	* en/Gtk/CellLayout.xml
	* en/Gtk/CellLayoutDataFunc.xml
	* en/Gtk/Clipboard.xml
	* en/Gtk/ClipboardTargetsReceivedFunc.xml
	* en/Gtk/FileFilter.xml
	* en/Gtk/FileFilterFlags.xml
	* en/Gtk/FileFilterFunc.xml: Doc some delegate classes and the
	methods that use them; mostly functionality new to 2.4.
	* en/Gtk/RBTreeTraverseFunc.xml
	* en/Gtk/TextSegLineChangeFunc.xml
	* en/Gtk/TextSegSplitFunc.xml
	* en/Gtk/TextSegCheckFunc.xml
	* en/Gtk/TextUtilCharChosenFunc.xml
	* en/Gtk/TextSegCleanupFunc.xml
	* en/Gtk/TextSegDeleteFunc.xml
	* en/Gtk/IconThemeFileLineFunc.xml: Removed extraneous TBAs.
	

svn path=/trunk/gtk-sharp/; revision=36921
2004-12-02 06:33:01 +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
John Luke
e03eb3f68d some docs
svn path=/trunk/gtk-sharp/; revision=36872
2004-12-01 00:11:21 +00:00
Shane Landrum
9e9ea5957e 2004-11-30 Shane Landrum <epicene@pobox.com>
* en/Gtk/ColorSelection.xml: Documented deprecated UpdatePolicy prop.
	* en/Gtk/ColorButton.xml: Added docs.
	* en/Gtk/TreeModel.xml
	* en/Gtk/TreeModelFilter.xml
	* en/Gtk/TreeModelFilterModifyFunc.xml
	* en/Gtk/TreeModelFilterVisibleFunc.xml
	* en/Gtk/TreeModelSort.xml: Added and elaborated docs
	for filtering tree models, in compliance with GTK 2.4.


svn path=/trunk/gtk-sharp/; revision=36868
2004-11-30 22:42:26 +00:00