Commit Graph

1799 Commits

Author SHA1 Message Date
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
c7166115dd * sources/README: update versions of the libs
svn path=/trunk/gtk-sharp/; revision=37460
2004-12-09 03:19:38 +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
Jeroen Zwartepoorte
aca1b3ce98 2004-12-08 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* sample/Makefile.am: Readded TestVfs.cs back and make it conditional.
	* sample/TestVfs.cs: New sample contributed by Tamara Roberson.
	[Fixes #70262]


svn path=/trunk/gtk-sharp/; revision=37374
2004-12-08 08:47:18 +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
Mike Kestner
480af4c763 2004-12-07 Mike Kestner <mkestner@novell.com>
* gtk/glue/style.c : add missing method and prototype. [Fixes #70216]

svn path=/trunk/gtk-sharp/; revision=37350
2004-12-07 22:28:17 +00:00
Mike Kestner
993d91fa31 2004-12-07 Mike Kestner <mkestner@novell.com>
* */*.cs : s/glue-2.0/glue-2 so that dllimport works on win32.
	* */*.custom : s/glue-2.0/glue-2
	* */glue/makefile.win32 : s/glue-2.0/glue-2
	* */glue/Makefile.am : s/glue-2.0/glue-2

svn path=/trunk/gtk-sharp/; revision=37324
2004-12-07 19:03:55 +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
089845650c 2004-12-06 Mike Kestner <mkestner@novell.com>
* generator/SymbolTable.cs : add off_t as an IntPtr.

svn path=/trunk/gtk-sharp/; revision=37247
2004-12-06 22:14:03 +00:00
Mike Kestner
5834d8e024 2004-12-06 Mike Kestner <mkestner@novell.com>
* generator/SignalHandler.cs : s/[]/Array in BaseName. [Fixes #69383]

svn path=/trunk/gtk-sharp/; revision=37239
2004-12-06 21:40:44 +00:00
Mike Kestner
6277977ca5 kill a C.WL that snuck in.
svn path=/trunk/gtk-sharp/; revision=37238
2004-12-06 21:38:53 +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
John Luke
7c2a7206a2 add some new gtk2.4 demos, remove ItemFactory
svn path=/trunk/gtk-sharp/; revision=37062
2004-12-03 22:21:44 +00:00
Mike Kestner
5c6fd447a5 remove branch file
svn path=/trunk/gtk-sharp/; revision=37059
2004-12-03 21:32:30 +00:00
John Luke
e16d2290d7 update these to the gtk2.4 ways (ComboBox and Action/UIManager)
svn path=/trunk/gtk-sharp/; revision=37056
2004-12-03 21:00:33 +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
3d6cb09562 2004-12-03 Jorge Garcia <jgarcia@ac.upc.es>
* glib/Type.cs:          add Int64 and UInt64 support.
	* glib/TypeConverter.cs: add Int64 and UInt64 support.
	* glib/Value.cs:         add Int64 and UInt64 support.

svn path=/trunk/gtk-sharp/; revision=37049
2004-12-03 20:04:18 +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
Mike Kestner
cad68e5b66 2004-12-03 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : mark accel_group null_ok on ImageMenuItem ctor.
	[Fixes #69041]

svn path=/trunk/gtk-sharp/; revision=37042
2004-12-03 18:29:40 +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
Dan Winship
ec0b40c343 * sample/GtkDemo/DemoImages.cs: Fix some crashers discovered while
trying to use this as a test case to figure out whether or not I'd
        broken Gtk#. Sigh. :)

svn path=/trunk/gtk-sharp/; revision=36863
2004-11-30 21:13:42 +00:00
Mike Kestner
70d245e7fe 2004-11-30 Mike Kestner <mkestner@novell.com>
* glib/glue/value.c : add back some code lost in the merge of
	2-4-branch. [Fixes #70045]


svn path=/trunk/gtk-sharp/; revision=36845
2004-11-30 14:36:10 +00:00
Ben Maurer
12b8e718e1 Make the sample have good coding :-)
svn path=/trunk/gtk-sharp/; revision=36750
2004-11-29 03:28:27 +00:00
Miguel de Icaza
6eea226ab7 Update dample
svn path=/trunk/gtk-sharp/; revision=36749
2004-11-29 03:22:33 +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
30cc0b8109 * generator/ClassBase.cs:
* generator/ObjectGen.cs: Move child property handling from
        ClassBase to ObjectGen (as suggested by Mike) since it's only
        used there

svn path=/trunk/gtk-sharp/; revision=36398
2004-11-22 17:52:17 +00:00
Mike Kestner
69eabbd1a3 2004-11-18 Mike Kestner <mkestner@novell.com>
* generator/InterfaceGen.cs : beginnings of a real
	implementation for GInterfaces.  Not quite ready yet,
	so it's not active in generation.

svn path=/trunk/gtk-sharp/; revision=36294
2004-11-18 23:04:32 +00:00
Mike Kestner
0881ba5489 2004-11-18 Mike Kestner <mkestner@novell.com>
* generator/Makefile.am : add new file.
	* generator/Method.cs : add Declaration property.
	* generator/VirtualMethod.cs : new class to generate virtual
	methods for Interfaces and objects. Unfinished.

svn path=/trunk/gtk-sharp/; revision=36292
2004-11-18 22:47:05 +00:00
Mike Kestner
f763364f04 2004-11-18 Mike Kestner <mkestner@novell.com>
* generator/ClassBase.cs : remove a "new" string in the
	ChildProp class holder decl to fix build warnings.

svn path=/trunk/gtk-sharp/; revision=36291
2004-11-18 22:35:19 +00:00
Mike Kestner
7d63d5d86f 2004-11-18 Mike Kestner <mkestner@novell.com>
* atk/Atk.metadata : mark an out param on Value.

svn path=/trunk/gtk-sharp/; revision=36290
2004-11-18 22:25:17 +00:00
Mike Kestner
6072350f1e 2004-11-18 Mike Kestner <mkestner@novell.com>
* generator/*Gen.cs : add ToNativeReturnType to deal with
	the g_free string nonsense in the virtual method case.

svn path=/trunk/gtk-sharp/; revision=36289
2004-11-18 22:19:31 +00:00
Mike Kestner
487929df7f 2004-11-18 Mike Kestner <mkestner@novell.com>
* generator/AliasGen.cs : make this a SimpleGen.

svn path=/trunk/gtk-sharp/; revision=36288
2004-11-18 21:51:56 +00:00
Mike Kestner
26234d915b 2004-11-18 Mike Kestner <mkestner@novell.com>
* parser/gapi2xml.pl : fix a missing semi in a vm regex.
	* */*-api.raw : regen with missing vms.

svn path=/trunk/gtk-sharp/; revision=36287
2004-11-18 21:30:18 +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
Mike Kestner
4584d47fc5 2004-11-17 Jorn Baayen <jorn@nl.linux.org>
* gtk/FileChooserDialog.custom : set TransientFor, not Parent.
	[Fixes #69626]

svn path=/trunk/gtk-sharp/; revision=36230
2004-11-17 19:38:32 +00:00
Mike Kestner
6e6ccc4516 2004-11-17 Mike Kestner <mkestner@novell.com>
* gnome/Makefile.am : kill unused file.
	* gnome/voidObjectAffineSVPintSignal.cs : kill old file.

svn path=/trunk/gtk-sharp/; revision=36228
2004-11-17 19:15:42 +00:00
Mike Kestner
343e5274dd oops, miscommit
svn path=/trunk/gtk-sharp/; revision=36221
2004-11-17 16:06:59 +00:00