Commit Graph

956 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
Dan Winship
a54009c47a * gdk/Window.custom: add a new constructor that takes a
Gdk.WindowAttributesType rather than an int for attributes_mask.

svn path=/trunk/gtk-sharp/; revision=35182
2004-10-20 18:39:05 +00:00
Dan Winship
5e9eb345d5 * generator/OpaqueGen.cs: Don't build the (IntPtr raw) constructor
if "disable_raw_ctor" is set on the opaque type.

        * gtk/Gtk.metadata: Make GtkTargetList opaque (fixes a crash in
        Gtk.Drag.Begin), hide the generated constructor and ref/unref
        methods, and fix up the interpretation of AddTable.

        * gtk/TargetList.custom (TargetList, ~TargetList): Implement the
        suppressed constructors and add a finalizer, which handle
        refcounting the underlying struct.
        (Add, Find, Remove): convenience overloads that take string
        instead of Gdk.Atom.

        * gtk/Makefile.am (customs): add TargetList.custom

svn path=/trunk/gtk-sharp/; revision=35135
2004-10-19 14:21:48 +00:00
Mike Kestner
10d1d2843d 2004-10-07 Mike Kestner <mkestner@ximian.com>
* gdk/Makefile.am : add missing custom file.
	* gdk/Pixmap.custom : add overloads for *CreateFromXPM* methods which
	default transparency mask and color.

svn path=/trunk/gtk-sharp/; revision=34783
2004-10-07 15:44:00 +00:00
Mike Kestner
2ac6d65dc2 2004-10-05 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide Selection.GetTargets.
	* gtk/SelectionData.custom : impl Targets prop and add Selection,
	Target, and Type field accessors.
	* gtk/glue/selectiondata.c : field accessor glue.

svn path=/trunk/gtk-sharp/; revision=34719
2004-10-05 14:09:05 +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
Mike Kestner
f923d44d7a 2004-09-29 Mike Kestner <mkestner@ximian.com>
* generator/GStringGen.cs : new generatable impl for GStrings.
	* generator/InterfaceGen.cs : better error reporting.
	* generator/Makefile.am : add new source file.
	* generator/Method.cs : better error reporting.
	* generator/SymbolTable.cs : add new GString igen.

svn path=/trunk/gtk-sharp/; revision=34525
2004-09-29 18:00:38 +00:00
Mike Kestner
cd85c4b3de 2004-09-29 Mike Kestner <mkestner@ximian.com>
* glib/GString.cs : new marshaling class for GStrings.  Used by
	generator to map GString params and returns onto managed strings.
	* glib/Makefile.am : add new file.

svn path=/trunk/gtk-sharp/; revision=34523
2004-09-29 17:47:51 +00:00
Mike Kestner
1d4f5536af 2004-09-27 Mike Kestner <mkestner@ximian.com>
* gtk/Button.custom : add a ctor (Widget). reworked from patch by
	John Luke.
	[Fixes #66228]

svn path=/trunk/gtk-sharp/; revision=34441
2004-09-27 19:20:35 +00:00
Mike Kestner
d75f4ef6ca 2004-09-26 Mike Kestner <mkestner@ximian.com>
* glib/Idle.cs : proxy hash keys are uints, not ints.

svn path=/trunk/gtk-sharp/; revision=34420
2004-09-27 00:28:16 +00:00
Mike Kestner
9d8263d89d 2004-09-24 Mike Kestner <mkestner@ximian.com>
* gtk/Bin.custom : make Child get/set.
	* gtk/Gtk.metadata : hide the Bin.get_child method.
	[Fixes #66232]

svn path=/trunk/gtk-sharp/; revision=34364
2004-09-24 15:58:05 +00:00
Mike Kestner
3eb398a12f 2004-09-23 Mike Kestner <mkestner@ximian.com>
* gtk/Widget.custom : new OnSetScrollAdjustments VM.
	* gtk/glue/widget.c : glue for new VM.

svn path=/trunk/gtk-sharp/; revision=34293
2004-09-23 16:50:18 +00:00
Miguel de Icaza
95978e0ce7 2004-09-18 Miguel de Icaza <miguel@ximian.com>
* glib/Source.cs: Add new base class to hold the method to be
	called, and the proxy handler we use to keep references to them
	and avoid a collection.

	Exposes a new variables that references all the active Timeouts
	and Idle handlers to avoid collection/

	* glib/Timeout.cs: Implement TimeoutProxy that acts as a filter to
	remove the proxy when the timeout is removed.

	Register a TimeoutProxy when we create a timeout.

	* glib/Idle.cs: Implement IdleProxy that acts as a filter to
	remove the proxy when the idle handler is removed.

	Register an IdleProxy when we create a timeout.

svn path=/trunk/gtk-sharp/; revision=34094
2004-09-20 16:43:16 +00:00
Mike Kestner
a9aae652d5 2004-09-17 Mike Kestner <mkestner@ximian.com>
* configure.in : bump version and tag for 1.0.2.

svn path=/trunk/gtk-sharp/; revision=34026
2004-09-17 20:36:57 +00:00
Mike Kestner
6a14c60ea0 2004-09-17 Mike Kestner <mkestner@ximian.com>
* configure.in : use either gtkhtml 3.0 or 3.2

svn path=/trunk/gtk-sharp/; revision=34014
2004-09-17 15:07:38 +00:00
Mike Kestner
37304e11a8 2004-09-14 Mike Kestner <mkestner@ximian.com>
* gdk/* : remaining API audit fixes.

svn path=/trunk/gtk-sharp/; revision=33877
2004-09-14 13:25:49 +00:00
Mike Kestner
48e9e4d138 2004-09-09 Mike Kestner <mkestner@ximian.com>
* gdk/Device.custom : manual GetHistory impl.
	* gdk/Display.custom : manual GetPointer overloads.
	* gdk/Gdk.metadata : hides and array params.
	* gdk/Makefile.am : add new file.
	* gdk/TextProperty.cs : new manual impl of methods.

svn path=/trunk/gtk-sharp/; revision=33664
2004-09-09 18:05:37 +00:00
Mike Kestner
97f5a62824 2004-09-03 Mike Kestner <mkestner@ximian.com>
* configure.in : expand new doc/updater makefile
	* gtk/Gtk.metadata : hide Init.Check and AbiCheck*.
	* gtk/Init.custom : manual Init.Check impl.
	* gtk/Makefile.am : add Init.custom.

svn path=/trunk/gtk-sharp/; revision=33288
2004-09-03 15:59:29 +00:00
Mike Kestner
a68da950ed 2004-08-31 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : mark out params on *CreateWithXpm*.
	[Fixes #61116]

svn path=/trunk/gtk-sharp/; revision=33116
2004-08-31 18:41:08 +00:00