Commit graph

360 commits

Author SHA1 Message Date
Mike Kestner a185c2d31d 2008-01-17 Mike Kestner <mkestner@novell.com>
* sample/Assistant.cs: new Gtk.Assistant sample.
	* sample/Makefile.am: hook in new sample.

svn path=/trunk/gtk-sharp/; revision=93150
2008-01-17 14:06:59 +00:00
Mike Kestner 209f353fc8 2007-12-06 Mike Kestner <mkestner@novell.com>
* * : update to 2.12 API.

svn path=/trunk/gtk-sharp/; revision=90823
2007-12-06 17:23:28 +00:00
Mike Kestner 05c22c47b8 2007-11-12 Mike Kestner <mkestner@novell.com>
* sample/TreeModelDemo.cs: lt/gt typo bugfix [Fixes #333653]

svn path=/trunk/gtk-sharp/; revision=89520
2007-11-13 03:19:13 +00:00
Mike Kestner 097537310e 2007-11-12 Mike Kestner <mkestner@novell.com>
* glib/IOChannel.cs: IOChannel wrapper implementation.
	* glib/Makefile.am: build new files.
	* glib/Marshaller.cs: new string array marshaling methods.
	* glib/Spawn.cs: g_spawn* wrapper implementation.
	* sample/SpawnTests.cs: tests for the new GLib.Process class
	and a cursory exercise of IOChannel for SpawnAsyncWithPipes.

svn path=/trunk/gtk-sharp/; revision=89477
2007-11-12 17:27:35 +00:00
Mike Kestner b2db2cda9e 2007-10-02 Mike Kestner <mkestner@novell.com>
* generator/*.cs: implement the interfaces on the adapters too.
	Generate an Implementor interface for users which exposes the 
	methods to implement.  Register based on the Implementor sub-iface.
	* gtk/*Adapter.custom: custom implementations for the custom
	interface members.
	* gtk/TreeIter.custom: make UserData public.
	* sample/TreeModelDemo.cs: sample for implementing a TreeModel
	interface.

svn path=/trunk/gtk-sharp/; revision=86753
2007-10-02 15:57:45 +00:00
Mike Kestner c2230278b3 2007-09-06 Mike Kestner <mkestner@novell.com>
* AssemblyInfo.cs.in : add IgnoreClassInitializers attr to all.
 	* generator/ObjectGen.cs : add custom-attr generation for objects.
 	* glib/ClassInitializerAttribute.cs : obsolete
 	* glib/IgnoreClassInitializersAttribute.cs : new assembly attr
 	to avoid a blind GetMethods reflection.
 	* glib/Makefile.am : add files
 	* glib/TypeInitializerAttribute.cs : new attr to specify init
 	method to be run at type registration.
 	* gtk/Widget.custom : remove the ClassInitializerAttr.
 	* gtk/Gtk.metadata : add a custom-attr node to GtkWidget.
 	* sample/Subclass.cs : use the IgnoreClassInitializers attr.

svn path=/trunk/gtk-sharp/; revision=85480
2007-09-07 14:40:46 +00:00
Mike Kestner 296a0b73d0 2007-01-09 Mike Kestner <mkestner@novell.com>
* sample/GtkDemo/DemoPixbuf.cs : use Marshal.Copy properly
	to avoid expose crashes. Revised from patch provided by
	Fabian Sturm.  [#78262]

svn path=/trunk/gtk-sharp/; revision=70738
2007-01-09 20:59:40 +00:00
Mike Kestner f4ae7e3e8c 2007-01-09 Mike Kestner <mkestner@novell.com>
* sample/GtkDemo/DemoIconView.cs : use Gtk.Stock icons to avoid
	crashes when the previous gnome icons aren't installed. [#78212]

svn path=/trunk/gtk-sharp/; revision=70737
2007-01-09 20:34:59 +00:00
Mike Kestner 418d60d8df 2006-12-28 Brad Taylor <brad@getcoded.net>
* sample/GtkDemo/Makefile.am:
	* sample/GtkDemo/DemoPrinting.cs: Fix build on Win32.

svn path=/trunk/gtk-sharp/; revision=70373
2007-01-02 17:45:09 +00:00
Mike Kestner 6a6cc0ce8b 2006-08-10 Mikkel Kruse Johnsen <mikkel@linet.dk>
* sample/GtkDemo/DemoPrinting.cs : new Gtk.Print sample.
	* sample/GtkDemo/Makefile.am : build new source.

svn path=/trunk/gtk-sharp/; revision=63610
2006-08-10 17:32:11 +00:00
Alp Toker 9ff30d2643 2006-07-29 Alp Toker <alp@atoker.com>
* sample/GstPlayer.cs: Remove the 2002 GStreamer sample. gst-sharp has
  long since found a new home.

svn path=/trunk/gtk-sharp/; revision=63136
2006-07-29 03:54:38 +00:00
Mike Kestner 13d2c2cffb 2006-07-28 Mike Kestner <mkestner@novell.com>
* *: huge amounts of surgery to split off gnome-sharp module.
	Clean out all the gnome related stuff from the auto* files.
	make distcheck works on the leaner-meaner gtk-sharp module.

svn path=/trunk/gtk-sharp/; revision=63111
2006-07-28 19:37:43 +00:00
Mike Kestner 892b7aeac7 gtk-sharp module split
svn path=/trunk/gtk-sharp/; revision=63109
2006-07-28 19:15:29 +00:00
Mike Kestner 1fb32b64d6 gtk-sharp module split
svn path=/trunk/gtk-sharp/; revision=63108
2006-07-28 19:14:54 +00:00
Mike Kestner 8440aeda7f gtk-sharp module split
svn path=/trunk/gtk-sharp/; revision=63107
2006-07-28 19:13:49 +00:00
Mike Kestner ddfeecf8e0 gtk-sharp module split
svn path=/trunk/gtk-sharp/; revision=63106
2006-07-28 19:13:30 +00:00
Mike Kestner b9d1fd5180 gtk-sharp module split
svn path=/trunk/gtk-sharp/; revision=63105
2006-07-28 19:13:09 +00:00
Mike Kestner 9c9d7caed5 gtk-sharp module split
svn path=/trunk/gtk-sharp/; revision=63103
2006-07-28 19:12:51 +00:00
Mike Kestner 7cb83ab8a0 gtk-sharp module split
svn path=/trunk/gtk-sharp/; revision=63100
2006-07-28 19:07:35 +00:00
Mike Kestner 6065e27ab2 gtk-sharp module split
svn path=/trunk/gtk-sharp/; revision=63099
2006-07-28 19:07:22 +00:00
Mike Kestner a881c1a249 gtk-sharp module split
svn path=/trunk/gtk-sharp/; revision=63098
2006-07-28 19:06:49 +00:00
Mike Kestner d430cf6229 gtk-sharp module split
svn path=/trunk/gtk-sharp/; revision=63096
2006-07-28 19:06:38 +00:00
Mike Kestner 6abcf29dfa 2006-07-27 Mike Kestner <mkestner@novell.com>
* bootstrap*: kill the 2.4/2.6/2.8 straps, they are on a 
	branch now. update 2.10 strap for new apis.
	* sources/Makefile.am : parse 2.16 sources for gnome libs.
	* sources/gtk-sharp-2.10-sources.xml : ditto.
	* parser/gapi-parser.cs : explicitly use an indented XML writer.
	* gnomevfs/gnome-vfs-api-2.16.raw: regen
	* gnomevfs/Gnomevfs.metadata: some build fixes
	* gnome/gnome-api-2.16.raw: regen
	* gnome/Gnome.metadata: some build fixes
	* sample/PrintSample.cs: remove new Gtk/Gnome ambiguities.

svn path=/trunk/gtk-sharp/; revision=63078
2006-07-28 15:39:10 +00:00
Mike Kestner c8d0557ac1 2006-07-14 Mike Kestner <mkestner@novell.com>
* sample/gnomevfs/Makefile.am : build fix for !ENABLE_GNOMEVFS.

svn path=/trunk/gtk-sharp/; revision=62597
2006-07-14 13:40:11 +00:00
Mike Kestner c1288db722 2005-02-16 Mike Kestner <mkestner@novell.com>
* sample/gnomevfs/Makefile.am : make TestXfer conditional to a mono
	build since it uses Mono.GetOptions.  [Fixes #77497]

svn path=/trunk/gtk-sharp/; revision=56950
2006-02-16 17:30:08 +00:00
Mike Kestner f879932267 2005-02-03 Mike Kestner <mkestner@novell.com>
* sample/gnomevfs/TestVolume.cs : remove C# 2.0 usage.

svn path=/trunk/gtk-sharp/; revision=56545
2006-02-03 21:32:29 +00:00
Wade Berrier fc339613e6 * Have vte-sharp only depend on gtk-sharp instead of gnome-sharp
* sample/VteTest.cs: use gtk# calls instead of gnome#
* vte/vte-sharp-2.0.pc.in: depend on gtk-sharp instead of gnome-sharp
* configure.in.in: Allow vte to be build if gnome isn't going to be built
[Fixes #77182]


svn path=/trunk/gtk-sharp/; revision=55689
2006-01-17 18:49:14 +00:00
John Luke 65ecbb1fb9 remove cairo-sample.exe from default build
svn path=/trunk/gtk-sharp/; revision=54559
2005-12-17 01:16:35 +00:00
John Luke dff7bfb364 2005-12-16 John Luke <john.luke@gmail.com>
* samples/CairoSample.cs:
        * samples/GtkCairo.cs:
        * samples/Makefile.am: update the cairo sample, fixes bug #76324


svn path=/trunk/gtk-sharp/; revision=54558
2005-12-17 01:06:40 +00:00
Christian Hergert d904ed0fd7 * vte/Vte.metadata: Fix Vte.Terminal.SetColors to reflect proper mapping
to vte_terminal_set_colors. palette is now Gdk.Color[].
    * sample/VteTest.cs: Update to work with fixed parameter.
    * doc/en/Vte/Terminal.xml: Update vte docs to reflect parameter fix.

svn path=/trunk/gtk-sharp/; revision=50671
2005-09-24 07:47:12 +00:00
Miguel de Icaza eb50593ba1 Add sample, not in default build
svn path=/trunk/gtk-sharp/; revision=49380
2005-09-02 22:39:34 +00:00
Ben Maurer 85eee0cb43 2005-09-02 Ben Maurer <bmaurer@ximian.com>
* sample/NodeViewDemo.cs: take advantage of the stuff below

	* gtk/TreeNodeValueAttribute.cs: Allow on props

	* gtk/TreeNodeAttribute.cs: Obsolete column count

	* gtk/NodeStore.cs: Change this to not need the TreeNodeAttribute
	column count. Handle fields as well as properties.


svn path=/trunk/gtk-sharp/; revision=49374
2005-09-02 22:04:05 +00:00
Mike Kestner 5e70f6eb45 2005-08-25 Mike Kestner <mkestner@novell.com>
* configure.in.in : add PLATFORM_WIN32 conditional. Borrow mono's 
	libtool s/cyg// hack. Improve/relocate System.Drawing check.
	* Makefile.include : add gapi-cdecl-insert handling for win32.
	* glib/Makefile.am : add gapi-cdecl-insert handling for win32.
	* gtkdotnet/Makefile.am : s/-r:System.Drawing/-r:System.Drawing.dll/.
	* sample/DrawingSample.cs : remove C# 2.0-isms.
	* sample/Makefile.am : s/-r:System.Drawing/-r:System.Drawing.dll/.

svn path=/trunk/gtk-sharp/; revision=48859
2005-08-25 20:59:21 +00:00
Mike Kestner 92494900ef 2005-08-25 Mike Kestner <mkestner@novell.com>
* sample/GtkDemo/DemoIconView.cs : remove C# 2.0-isms.
	* sample/opaquetest/OpaqueTest.cs : remove C# 2.0-isms.
	* sample/valuetest/ValueTest.cs : remove C# 2.0-isms.
	* sample/PolarFixed.cs : remove C# 2.0-isms.

svn path=/trunk/gtk-sharp/; revision=48852
2005-08-25 19:34:26 +00:00
Mike Kestner 0772f353e2 2005-08-25 Mike Kestner <mkestner@novell.com>
* sample/GtkDemo/DemoIconView.cs : remove some C# 2.0-isms.

svn path=/trunk/gtk-sharp/; revision=48850
2005-08-25 18:44:10 +00:00
Mike Kestner 34fc9c677b 2005-08-15 Mike Kestner <mkestner@novell.com>
* sample/opaquetest/Makefile.am : make clean fixes
	* sample/valtest/Makefile.am : make clean fixes

svn path=/trunk/gtk-sharp/; revision=48394
2005-08-15 16:48:14 +00:00
Dan Winship 54953f69ea * sample/opaquetest/Makefile.am (EXTRA_DIST): add missing files
(generated/*.cs): fix for srcdir!=builddir
	* sample/valtest/Makefile.am (EXTRA_DIST): add missing files
	(Valobj.cs): fix for srcdir!=builddir

svn path=/trunk/gtk-sharp/; revision=48393
2005-08-15 16:38:28 +00:00
Dan Winship 493589eb06 more gda/gnomedb killing
svn path=/trunk/gtk-sharp/; revision=48206
2005-08-09 20:38:06 +00:00
Dan Winship 12cd8d0d17 * generator/OpaqueGen.cs (Generate): Tweak the generated Ref/Unref
a bit; only Ref the pointer if Owned is false (and then set it to
	true), and vice versa for Unref.

	* glib/Opaque.cs (Opaque): set owned before setting Raw, so
	that Raw will be reffed properly.
	(GetOpaque): Fix this up to dtrt in all cases with refcounted
	opaques.
	
	* gtk/TreeView.custom (GetPathAtPos): Use "GetOpaque(...)" rather
	than "new TreePath()"

	* sample/opaquetest/*: regression test for opaque free/ref/unref
	handling

	* sample/Makefile.am (SUBDIRS): add opaquetest

	* configure.in.in (AC_OUTPUT): add opaquetest files

svn path=/trunk/gtk-sharp/; revision=48168
2005-08-09 14:44:32 +00:00
Dan Winship 45ebde9387 * gtk/ComboBoxEntry.custom: add an "Entry" property to cleanly
fetch the ComboBoxEntry's Gtk.Entry

svn path=/trunk/gtk-sharp/; revision=47750
2005-07-27 13:52:51 +00:00
Dan Winship 8c2abbc7ab check in a generated valobj-api.xml rather than doing it at build time
so we don't accidentally depend on perl-libxml

svn path=/trunk/gtk-sharp/; revision=47665
2005-07-25 18:50:52 +00:00
Dan Winship 196be89bc9 * glib/Value.cs: Obsolete the EnumWrapper and UnwrappedObject
constructors and casts. Add a new Enum cast.
	(Val): Handle Pointer values. Change the handling of Enum/Flags
	values to return the value directly rather than returning an
	EnumWrapper. Remove the Char (ie, "byte") handling since there
	aren't any char properties in all of gtk-sharp and the generator
	mistakenly converts them to strings anyway.

	* glib/EnumWrapper.cs: 
	* glib/UnwrappedObject.cs: Mark these Obsolete.

	* glib/glue/type.c (gtksharp_get_parent_type,
	gtksharp_get_type_name_for_id): 
	* glib/glue/value.c (gtksharp_value_get_value_type): Remove some
	unneeded glue methods.

	* generator/Ctor.cs (Generate):
	* generator/Property.cs (Generate): Simplify the enum and object
	property glue to not use EnumWrapper or UnwrappedObject.

	* sample/valtest/*: a regression test for GLib.Value

	* configure.in.in: add sample/valtest

svn path=/trunk/gtk-sharp/; revision=47564
2005-07-22 18:36:50 +00:00
Mike Kestner 762a1576fd make the sample 2.4 friendly
svn path=/trunk/gtk-sharp/; revision=46842
2005-07-01 17:45:07 +00:00
Mike Kestner a0912263e2 2005-06-28 Mike Kestner <mkestner@novell.com>
* gtk/ComboBox.custom : add ctor (string[]).
	* gtk/ComboBoxEntry.custom : add ctor (string[]).
	* sample/test/TestComboBox.cs : simple new ComboBox tester.
	* sample/test/WidgetViewer.cs : button for simple new ComboBox tester.

svn path=/trunk/gtk-sharp/; revision=46657
2005-06-28 16:35:36 +00:00
Mike Kestner fba841b1af some win32 compile fixes
svn path=/trunk/gtk-sharp/; revision=46558
2005-06-27 15:08:39 +00:00
Mike Kestner a539e69747 some makefile win32 lovin
svn path=/trunk/gtk-sharp/; revision=46399
2005-06-22 21:49:25 +00:00
Mike Kestner 64dd7f67d4 2005-06-22 Mike Kestner <mkestner@novell.com>
* sample/GladeTest.cs : add a menu item signal connect to test for the
	problem described in bug#74946.
	* sample/test.glade : add menubar.

svn path=/trunk/gtk-sharp/; revision=46397
2005-06-22 21:44:34 +00:00
Mike Kestner 3a6e5fa8e2 2005-06-22 Mike Kestner <mkestner@novell.com>
* sample/GtkDemo/DemoHyperText.cs : replace PersistentData usage that
	breaks on csc.
	* sample/GtkDemo/DemoTreeStore.cs : fix a 2.0 usage.

svn path=/trunk/gtk-sharp/; revision=46383
2005-06-22 19:18:19 +00:00
Dan Winship 25e70f2a38 * sample/GtkDemo/DemoRotatedText.cs (RotatedTextExposeEvent): Use
Gdk.PangoRenderer.GetDefault() like the C gtk-demo rather than
	creating a new Gdk.PangoRenderer. [Fixes #74865]

	* gdk/Gdk.metadata: fix return type of Gdk.PangoRenderer.GetDefault

svn path=/trunk/gtk-sharp/; revision=45494
2005-06-06 14:40:46 +00:00
Mike Kestner a51e811f17 2005-05-10 Mike Kestner <mkestner@novell.com>
* gdk/Pixbuf.custom : use non-obsolete PixbufLoader.Write overload.
	* gdk/PixbufLoader.custom : add obsolete PixbufLoader.Write overload
	for the uint case for backcompat. Update other uses to the new ulong
	overload.
	* sample/GtkDemo/DemoImage.cs : use PixbufLoader.Write (byte[])
	overload.

svn path=/trunk/gtk-sharp/; revision=44332
2005-05-10 16:11:18 +00:00