Commit Graph

1747 Commits

Author SHA1 Message Date
Dan Winship
dcf31a8f33 * en/GLib/Value.xml: document new constructors
svn path=/trunk/gtk-sharp/; revision=36175
2004-11-16 18:04:23 +00:00
Dan Winship
598f8e28e5 * glib/Value.cs: add new constructors for enum and boxed values
that take the name of the type rather than an object/property
        name pair; this way they work for both GObject properties and
        GtkContainer child properties.

        * glib/glue/value.c (gtksharp_value_create_from_type_name): glue
        for that

        * glib/Opaque.cs (GetOpaque): Fix this.

        * generator/Property.cs (Generate): Use the new GLib.Value
        constructors. (Fixes setting of enum-valued child properties.)

svn path=/trunk/gtk-sharp/; revision=36174
2004-11-16 18:03:58 +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
Dan Winship
bf07e92f42 * generator/DESIGN: Document what the different classes do
svn path=/trunk/gtk-sharp/; revision=36140
2004-11-15 16:00:08 +00:00
Dan Winship
03ca54df2f Fix the handful of LF-only lines in otherwise CRLF files, so that
emacs won't show the ^Ms on the other 99% of lines

svn path=/trunk/gtk-sharp/; revision=36135
2004-11-15 13:56:34 +00:00
Duncan Mak
45b2d7abd3 Remove my Node-fu entry, that hasn't been committed yet
svn path=/trunk/gtk-sharp/; revision=36096
2004-11-14 03:19:36 +00:00
Duncan Mak
0469f00a60 2004-11-13 Duncan Mak <duncan@ximian.com>
* generator/SymbolTable.cs: Add support for GDestroyNotify, so
	that `gtk_cell_layout_set_cell_data_func' will be generated in
	Gtk.ComboBox.

svn path=/trunk/gtk-sharp/; revision=36095
2004-11-14 03:13:09 +00:00
Mike Kestner
84f33f7d9a 2004-11-13 Mike Kestner <mkestner@novell.com>
* gtk/ComboBox.custom : remove now correctly generated dllimport.

svn path=/trunk/gtk-sharp/; revision=36089
2004-11-13 05:34:55 +00:00
Mike Kestner
7b9e2ba720 2004-11-13 Mike Kestner <mkestner@novell.com>
* */*-api.raw : rerun the parser for new vm-age and cleanups.
	* parser/gapi_pp.pl : suppress union types, since we can't generate
	them.  smarter get_type regex. ignore #errors.
	* parser/gapi2xml.pl : generate vm elements for GInterfaces. Deal
	with G_CONST_RETURN in vms. deal with "struct _foo" types in method
	prototypes.

svn path=/trunk/gtk-sharp/; revision=36088
2004-11-13 05:32:26 +00:00
Mike Kestner
c6d0586a44 2004-11-13 Mike Kestner <mkestner@novell.com>
* sources/gda.patch : fix broken signal defs.
	* sources/gnomedb.patch : fix broken signal defs.
	* sources/Makefile.am : apply new patches, and dist some others.

svn path=/trunk/gtk-sharp/; revision=36087
2004-11-13 05:25:21 +00:00
Mike Kestner
220caaa929 2004-11-12 Mike Kestner <mkestner@novell.com>
* parser/gapi_pp.pl : fix multi-line extern parsing.

svn path=/trunk/gtk-sharp/; revision=36086
2004-11-13 03:09:14 +00:00
Mike Kestner
314419c926 2004-11-12 Mike Kestner <mkestner@novell.com>
* parser/gapi_pp.pl : fix a struct parsing bug.

svn path=/trunk/gtk-sharp/; revision=36085
2004-11-13 02:18:31 +00:00
Mike Kestner
d2d56236ce 2004-11-12 Mike Kestner <mkestner@novell.com>
* sources/gtk-sharp-sources.xml : exclude a couple more pango headers.

svn path=/trunk/gtk-sharp/; revision=36084
2004-11-13 01:52:04 +00:00
Mike Kestner
cd10436742 2004-11-09 Mike Kestner <mkestner@novell.com>
* */Makefile.am : make the Obsolete warnings shaddup.

svn path=/trunk/gtk-sharp/; revision=35999
2004-11-11 03:58:14 +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
Miguel de Icaza
16d3714cfb Flush
svn path=/trunk/gtk-sharp/; revision=35908
2004-11-09 18:51:22 +00:00
Mike Kestner
37fc7b8f19 2004-11-09 Mike Kestner <mkestner@novell.com>
* configure.in : conditional stuff for gnomevfs
	* doc/Makefile.am : conditionally update panelapplet and gnomevfs.
	* doc/en/*/* : update to add PanelApplet and Gnome.Vfs stubs.
	* gnomevfs/Makefile.am : make conditional

svn path=/trunk/gtk-sharp/; revision=35905
2004-11-09 18:36:27 +00:00
Dan Winship
6a8fff1578 fix changelog
svn path=/trunk/gtk-sharp/; revision=35887
2004-11-09 14:23:12 +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
e1dc10e4c8 * glib/Object.cs (CreateNativeObject): virtualize
(Object(GType)): Mark this ctor Obsolete

	* gtk/Gtk.metadata: disable the generated GType ctor on Gtk.Widget

	* gtk/Widget.custom (Widget, CreateNativeObject,
	Widget_ParentSet): Connect to our own ParentSet event from
	CreateNativeObject and the GType ctor, and keep a static Hashtable
	of parented widgets, so that adding a managed widget to a
	container keeps both the GObject and the managed object alive.

	* generator/ObjectGen.cs (GenCtors): handle the disable_gtype_ctor
	flag. Also, mark GType ctors [Obsolete]

svn path=/trunk/gtk-sharp/; revision=35885
2004-11-09 14:22:39 +00:00
Dan Winship
9084ce3133 * generator/ChildProperty.cs:
* generator/Property.cs: Fix child property names.

svn path=/trunk/gtk-sharp/; revision=35835
2004-11-08 17:48:27 +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
Jeroen Zwartepoorte
6961bf6020 2004-11-07 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gtk/Gtk.metadata: Fix some TreeModelFilter stuff (similar to
	TreeModelSort).

svn path=/trunk/gtk-sharp/; revision=35780
2004-11-07 16:19:10 +00:00
Mike Kestner
6b3c74ce33 updater run for 2.6 api
svn path=/trunk/gtk-sharp/; revision=35744
2004-11-05 21:37:41 +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
Mike Kestner
2ac25a2ff4 updater run for new api
svn path=/trunk/gtk-sharp/; revision=35733
2004-11-05 19:49:12 +00:00
Mike Kestner
64e658b914 updater run for new api.
svn path=/trunk/gtk-sharp/; revision=35730
2004-11-05 19:40:26 +00:00
Mike Kestner
7adc7e6c8a updater run for 2.6 api.
svn path=/trunk/gtk-sharp/; revision=35729
2004-11-05 19:39:16 +00:00
Mike Kestner
583554cbfb 2004-11-05 Mike Kestner <mkestner@ximian.com>
* Makefile.am : copy assemblies into updater so they don't
	have to be installed to run the updater.

svn path=/trunk/gtk-sharp/; revision=35726
2004-11-05 19:21:23 +00:00
Mike Kestner
2b704d7d25 2004-11-05 Mike Kestner <mkestner@ximian.com>
* updater/updater.cs : fix for recent corlib bugfix. Thanks
	to Dan Winship for identifying the solution.

svn path=/trunk/gtk-sharp/; revision=35721
2004-11-05 19:08: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
603b6f1c45 updater run for 2.4 api
svn path=/trunk/gtk-sharp/; revision=35719
2004-11-05 19:03:16 +00:00
Mike Kestner
45ea3ed705 updater run on docs for 2.4 api
svn path=/trunk/gtk-sharp/; revision=35718
2004-11-05 19:00:43 +00:00
Jeroen Zwartepoorte
3c8715f2e8 2004-11-05 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/*.cs: Add copyright/LGPL header.
	* gnomevfs/*.custom: Idem.
	* gnomevfs/Mime.cs: Obsolete, replaced by MimeType.cs.
	* gnomevfs/MimeActionType.cs: Obsolete, generated now.
	* gnomevfs/OpenMode.cs: Idem.
	* gnomevfs/Result.cs: Idem.
	* gnomevfs/SeekPosition.cs: Idem.

svn path=/trunk/gtk-sharp/; revision=35707
2004-11-05 17:40:03 +00:00
Dan Winship
df41dcc177 * parser/gapi2xml.pl (parseInitFunc, addPropElem): handle
GtkContainer child properties

	* generator/Property.cs:
	* generator/ChildProperty.cs: make Property subclassable and add a
	"ChildProperty" subclass.

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

	* generator/ClassBase.cs: handle "childprop" nodes by creating
	ChildProperty objects.

	* glib/Value.cs (explicit operator EnumWrapper): use
	g_value_get_flags() rather than g_value_get_enum() when
	appropriate.

	* glib/glue/value.c (glibsharp_value_holds_flags): glue for that

	* gtk/gtk-api.raw: regen to pick up child properties

	* gtk/Gtk.metadata:
	* gtk/Container.custom: hide the auto-generated
	Gtk.Container.ChildGetProperty and implement a nicer one by hand.

	* gtk/glue/container.c (gtksharp_container_child_get_property):
	utility function to set up an appropriate GValue for us

svn path=/trunk/gtk-sharp/; revision=35702
2004-11-05 16:47:15 +00:00
Tambet Ingo
2a3d6563db 2004-11-05 Tambet Ingo <tambet@ximian.com>
* generator/OpaqueGen.cs: Add optional "parent" attribute to Opaque
	types.

svn path=/trunk/gtk-sharp/; revision=35681
2004-11-05 07:18:14 +00:00
Jeroen Zwartepoorte
fa86814e94 2004-11-04 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Directory.cs: Add async GetEntries Uri alias.
	* gtk/FileChooserDialog.custom: Add nice custom properties for Uris.
	ListFilters, ListShortcutFolders and ListShortcutFolderUris.
	* gtk/FileChooserWidget.custom: Idem.
	* gtk/Gtk.metadata: Idem.

svn path=/trunk/gtk-sharp/; revision=35669
2004-11-04 20:33:35 +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
Todd Berman
532947448e 2004-11-04 Todd Berman <tberman@off.net>
* glib/ListBase.cs: In Empty, call FreeList, not Dispose.

svn path=/trunk/gtk-sharp/; revision=35665
2004-11-04 20:01:40 +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
Todd Berman
838882b81a 2004-11-04 Todd Berman <tberman@off.net>
* glib/ListBase.cs: Make sure to properly check if it is a
        GLib.Object subclass.

svn path=/trunk/gtk-sharp/; revision=35654
2004-11-04 19:43:10 +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
Todd Berman
cac3c4a368 2004-11-04 Todd Berman <tberman@off.net>
* doc/en/GLib/ListBase.xml: Add documentation for ListBase.Empty
        * glib/ListBase.cs: Add ListBase.Empty, frees the children and the
        list.
        * glib/Markup.cs: Fix Alex's tomboy crash, sending -1 instead of
        Length.
        * gtk/FileChooserDialog.custom:
        * gtk/FileChooserWidget.custom: properly free the list.

svn path=/trunk/gtk-sharp/; revision=35650
2004-11-04 19:29:01 +00:00
Todd Berman
131f2ed0d9 2004-11-03 Todd Berman <tberman@off.net>
* gtk/FileChooserDialog.custom:
        * gtk/FileChooserWidget.custom: Properly implement .Filenames. The old
        code was a really bad c&p job.

svn path=/trunk/gtk-sharp/; revision=35619
2004-11-04 04:06:07 +00:00
Dan Winship
ad4b452f48 you need to say "make api", not just "make"
svn path=/trunk/gtk-sharp/; revision=35602
2004-11-03 15:08:00 +00:00