Commit graph

372 commits

Author SHA1 Message Date
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
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
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
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
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
Jeroen Zwartepoorte 0c81f9142c 2004-11-26 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gtk/ActionEntry.cs:
	* gtk/ActionGroup.custom:
	* gtk/Gtk.metadata:
	* gtk/Makefile.am:
	* gtk/RadioActionEntry.cs:
	* gtk/ToggleActionEntry.cs:
	* gtk/UIManager.custom:
	* sample/Actions.cs: Updated to use the new *ActionEntry code. Reflects
	testactions.c from gtk+ now.
	
	Added C# syntactic sugar for easily defining Action's for the UIManager.
	Derived from the same ActionEntry structs in gtk+.


svn path=/trunk/gtk-sharp/; revision=36638
2004-11-26 14:59:38 +00:00
Dan Winship 9d04b4dd06 Redo child property handling; now we generate classes to hold
the
        child properties for a given widget in a container, and generate
        the child properties as properties on those classes.
        
        * parser/gapi2xml.pl (addPropElem): don't prepend "child_" to
        child prop names any more

        * generator/ClassBase.cs (ClassBase): keep childprops separate
        from properties
        (GenChildProperties): create a subclass of Gtk.ContainerChild
        containing the container type's child properties, and override
the
        Container indexer to return that type.

        * generator/ObjectGen.cs (Generate): call GenChildProperties

        * generator/Property.cs:
        * generator/ChildProperty.cs: Simplify these a bunch, since
        * child
        properties are now represented as C# properties as well. Also
add
        [GLib.Property(cname)] and [Gtk.ChildProperty(cname)]
attributes.

        * glib/Makefile.am (sources): add PropertyAttribute.cs

        * glib/PropertyAttribute.cs: attribute used to label
        GObject properties

        * gtk/Makefile.am (sources): add ChildPropertyAttribute.cs

        * gtk/gtk-api.raw: regenerate for parser changes (remove
        "Child"/"child_" from child property names).

        * gtk/ChildPropertyAttribute.cs: attribute used to label
        GtkContainer child properties

        * gtk/Container.custom: define the ContainerChild class, and an
        indexer to return instances of it.

        * doc/en/Gtk/: update for container child property change

svn path=/trunk/gtk-sharp/; revision=36284
2004-11-18 20:31:22 +00:00
Dan Winship acdb2f73da * gtk/glue/container.c (gtksharp_container_get_focus_child): New
glue method to get container->focus_child

        * gtk/Gtk.metadata: hide SetFocusChild

        * gtk/Container.custom (FocusChild): implement with both getter
        and setter

        * en/Gtk/Container.xml (FocusChild): Has a getter now too.
        (Added): Clarify that this only means "Gtk.Container.Add was
        called", and doesn't get fired when you call Gtk.Box.PackStart,
        etc

svn path=/trunk/gtk-sharp/; revision=36143
2004-11-15 17:47:16 +00:00
Mike Kestner f096700a2d 2004-11-15 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide the Get/Set Color methods that are marked
	deprecated but didn't exist in 1.0.

svn path=/trunk/gtk-sharp/; revision=36142
2004-11-15 17:02:37 +00:00
John Luke acdaee5e08 ActionGroup, UIManager, and UIManagerItemType docs
svn path=/trunk/gtk-sharp/; revision=35938
2004-11-10 02:28:55 +00:00
John Luke dce2f4f7b7 doc GtkAction
svn path=/trunk/gtk-sharp/; revision=35912
2004-11-09 20:45:04 +00:00
Dan Winship be5d49f85d * en/GLib/Object.xml:
* en/Gtk/Widget.xml: update for CreateNativeObject changes

svn path=/trunk/gtk-sharp/; revision=35886
2004-11-09 14:22:51 +00:00
Dan Winship cb30686a86 * en/Gtk/Box.xml:
* en/Gtk/ButtonBox.xml:
	* en/Gtk/Container.xml:
	* en/Gtk/Fixed.xml:
	* en/Gtk/Layout.xml:
	* en/Gtk/Menu.xml:
	* en/Gtk/Notebook.xml:
	* en/Gtk/Paned.xml:
	* en/Gtk/Table.xml:
	* en/Gtk/Toolbar.xml: document container child properties

svn path=/trunk/gtk-sharp/; revision=35833
2004-11-08 15:03:02 +00:00
Dan Winship ed13386bf3 update to match latest changes
svn path=/trunk/gtk-sharp/; revision=35832
2004-11-08 14:58:12 +00:00
Mike Kestner 60b7406317 updater run for 2.4 api.
svn path=/trunk/gtk-sharp/; revision=35742
2004-11-05 21:25:40 +00:00
Miguel de Icaza 31b0cf439c From: cmorgan@alum.wpi.edu
svn path=/trunk/gtk-sharp/; revision=35666
2004-11-04 20:03:15 +00:00
Miguel de Icaza ce819aa39f From: jaspervp@gmx.net
svn path=/trunk/gtk-sharp/; revision=35664
2004-11-04 19:59:38 +00:00
Miguel de Icaza 8d94d831e8 From: sebastian.nowozin@web.de
svn path=/trunk/gtk-sharp/; revision=35663
2004-11-04 19:57:10 +00:00
Miguel de Icaza 5634a70cef From Todd Berman
svn path=/trunk/gtk-sharp/; revision=35660
2004-11-04 19:52:07 +00:00
Miguel de Icaza fe6aad5317 Contributions from ddollar@blueshiftdesign.com and bis0n@mail.ru
svn path=/trunk/gtk-sharp/; revision=35651
2004-11-04 19:34:16 +00:00
Dan Winship 764b8ac5d8 * en/Gdk/Pixbuf.xml
* en/Gdk/Pixmap.xml
	* en/Gdk/Window.xml
	* en/Gtk/Style.xml
	* en/Gtk/TargetList.xml: Update to match API fixes

svn path=/trunk/gtk-sharp/; revision=35410
2004-10-28 19:26:15 +00:00
Miguel de Icaza 4f8f06c449 Flush
svn path=/trunk/gtk-sharp/; revision=34925
2004-10-12 19:26:02 +00:00
Mike Kestner 28267de825 run updater for new API
svn path=/trunk/gtk-sharp/; revision=34721
2004-10-05 14:17:03 +00:00
Mike Kestner aa54aa2c95 2004-09-29 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide some ellipsis methods, add pass_as attrs.
	* gtk/Object.custom : new IsFloating property.
	* gtk/glue/object.c : new gtksharp_object_set_floating glue.

svn path=/trunk/gtk-sharp/; revision=34529
2004-09-29 18:45:59 +00:00