Commit graph

1729 commits

Author SHA1 Message Date
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
Jeroen Zwartepoorte
55aed28266 2004-11-02 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/AsyncDirectoryLoadCallback.cs:
	* gnomevfs/AsyncDirectoryLoadCallbackNative.cs:
	* gnomevfs/Directory.cs: Implement asynchronous directory loading.
	* gnomevfs/FileInfo.cs: Clear the FileInfoNative struct in the
	destructor.
	* gnomevfs/Makefile.am: Add new callback files.
	* sample/gnomevfs/TestDirectory.cs: Add async test.

svn path=/trunk/gtk-sharp/; revision=35571
2004-11-02 19:17:05 +00:00
Dan Winship
eb4abd9536 ignore .exe.mdb files
svn path=/trunk/gtk-sharp/; revision=35559
2004-11-02 13:48:22 +00:00
Jeroen Zwartepoorte
c551f4c479 2004-11-01 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Directory.cs: New Create and Delete methods. Free the
	FileInfo List returned by gnome_vfs_directory_list_load.
	* gnomevfs/FileInfo.cs: Copy the FileInfoNative struct so the original
	can be properly freed.
	* gnomevfs/Vfs.cs: Move MakeDirectory and RemoveDirectory to Directory.

svn path=/trunk/gtk-sharp/; revision=35535
2004-11-01 21:00:09 +00:00
Jeroen Zwartepoorte
cdfc01223a Committed too much. Part of the commit wasn't supposed to happen (yet). Revert.
svn path=/trunk/gtk-sharp/; revision=35533
2004-11-01 20:38:00 +00:00
Jeroen Zwartepoorte
33dbe7485e 2004-11-01 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Directory.cs: Bind gnome_vfs_directory_list_load as a static
	FileInfo[] GetEntries (uri) method.
	* gnomevfs/FileInfo.cs: Add internal FileInfoNative constructor to
	create a FileInfo class based on an existing FileInfoNative struct.
	* gnomevfs/Makefile.am:
	* sample/gnomevfs/Makefile.am:
	* sample/gnomevfs/TestDirectory.cs:

svn path=/trunk/gtk-sharp/; revision=35532
2004-11-01 20:03:30 +00:00
Dan Winship
ed8c757a0f update to match the new sources
svn path=/trunk/gtk-sharp/; revision=35528
2004-11-01 17:33:53 +00:00
Todd Berman
8464cbb825 2004-10-30 Todd Berman <tberman@off.net>
* gtk/ComboBox.custom:
        * gtk/FileChooserDialog.custom:
        * gtk/FileChooserWidget.custom: Fix c&p error with filename.

svn path=/trunk/gtk-sharp/; revision=35504
2004-10-30 20:32:54 +00:00
Todd Berman
ae8ed25625 2004-10-29 Todd Berman <tberman@off.net>
* gtk/ComboBox.custom: Add a header.
        * gtk/FileChooserDialog.custom: Add subclassing support, and a header.
        * gtk/FileChooserWidget.custom: Add a header.

svn path=/trunk/gtk-sharp/; revision=35493
2004-10-30 03:31:43 +00:00
Todd Berman
3bc36b0d37 2004-10-29 Todd Berman <tberman@off.net>
* gtk/FileChooserDialog.custom: Add Filenames property to return
        the data as a string[] instead of a GSList.
        * gtk/FileChooserWidget.custom: Same as above.
        * gtk/Makefile.am: Add FileChooserWidget.custom

svn path=/trunk/gtk-sharp/; revision=35492
2004-10-30 02:40:00 +00:00
Todd Berman
8d5882f49b 2004-10-29 Todd Berman <tberman@off.net>
* gtk/FileChooserDialog.custom: Allow a null parent.

svn path=/trunk/gtk-sharp/; revision=35491
2004-10-30 02:02:09 +00:00
Jeroen Zwartepoorte
bd247f27ed 2004-10-30 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* sources/gtk-sharp-sources.xml: Invalid XML due to unremoved -->
	closing comment tag.

svn path=/trunk/gtk-sharp/; revision=35484
2004-10-29 21:23:33 +00:00
Todd Berman
0b31887156 2004-10-29 Todd Berman <tberman@off.net>
* gconf/GConf/gconf-sharp-2.0.pc.in: s/PACKAGE/PACKAGE_VERSION/ to fix         -pkg:gtk-sharp

svn path=/trunk/gtk-sharp/; revision=35483
2004-10-29 21:18:46 +00:00
Todd Berman
f28200094e 2004-10-29 Todd Berman <tberman@off.net>
* gtk-sharp-2.0.pc.in: s/PACKAGE/PACKAGE_VERSION/ to fix -pkg:gtk-sharp

svn path=/trunk/gtk-sharp/; revision=35482
2004-10-29 21:15:58 +00:00
Mike Kestner
7f3171c814 merge to HEAD of jeroen and friends' work on the 2-4 branch. HEAD
is now tracking Gnome 2.6.

svn path=/trunk/gtk-sharp/; revision=35479
2004-10-29 20:33:07 +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
Dan Winship
fc0e7dfddf * gdk/Gdk.metadata: Remap all "out Gdk.Bitmap" params to be
Gdk.Pixmaps instead, because the former will crash. Also fix the
	"data" param to Pixmap.CreateFromXpmD and
	Pixmap.ColormapCreateFromXpmD

	* gtk/Style.custom (TextAAGC, SetTextAAGC, LightGC, SetLightGC,
	DarkGC, SetDarkGC, MidGC, SetMidGC): add these to go along with
	BaseGC, SetBaseGC, etc.

	* gtk/glue/style.c: add the glue methods needed for the above

svn path=/trunk/gtk-sharp/; revision=35409
2004-10-28 19:25:50 +00:00
Mike Kestner
ed44e2d365 2004-10-21 Mike Kestner <mkestner@ximian.com>
* generator/SymbolTable.cs : map unsigned int to uint.  [Fixes #67732]

svn path=/trunk/gtk-sharp/; revision=35214
2004-10-21 19:11:13 +00:00
Mike Kestner
6d03cee2fb 2004-10-21 Mike Kestner <mkestner@ximian.com>
* configure.in : guard against broken installs where enable_gnome
	fails but enable_gnomedb succeeds. [Fixes #67986]

svn path=/trunk/gtk-sharp/; revision=35213
2004-10-21 18:49:13 +00:00