Commit Graph

392 Commits

Author SHA1 Message Date
Mike Kestner
ac0b42f717 Kill Size sample
* sample/Size.cs: kill.  was a bug repro sample back in the early
days of broken struct marshaling.  No longer even demonstrates
proper size negotiation with 3.0 and other samples will, like
polarfixed.exe.
* sample/Makefile.am: remove size.exe
2011-02-09 18:12:07 -06:00
Mike Kestner
e8250641d6 Remove [IgnoreClassInitializers] usage.
* Subclass.cs: kill a no longer needed ignore attr.
2011-02-09 17:10:38 -06:00
Mike Kestner
96c8904219 Kill the glade samples.
* sample/Glade*.cs: remove
* sample/test.glade: remove
* sample/Makefile.am: remove glade files from dist and comment out SUDIRS
temporarily.
2011-02-09 16:58:50 -06:00
Mike Kestner
34c0ecbcf7 The rest of the first pass.
*.*: Stubbing and tweaking and cajoling and disabling to get
the first successful build of 3.0 bindings.
2011-02-08 22:15:37 -06:00
Mike Kestner
f6d11d67b6 Cairo# 1.10.0 assembly.
* configure.ac: drop cairo conditionality
* cairo/AssemblyInfo.cs: set version to 1.10.0.0
* cairo/Makefile.am: unconditional build and add Region.cs
* cairo/cairo-api.xml: initial type exposure.
* pango/Makefile.am: use cairo-sharp.dll and cairo-api.xml
* pango/Pango.metadata: drop explicit symbol additions.
* gdk/Gdk.metadata: drop explicit symbol additions.
* gdk/Makefile.am: use cairo-sharp.dll and cairo-api.xml
* gtk/Makefile.am: use cairo-sharp.dll and cairo-api.xml
* sample/Makefile.am: use cairo-sharp.dll
* sample/GtkDemo/Makefile.am: use cairo-sharp.dll

This is an initial stab at a 1.10 binding.  It will probably take
more based on the number of errors still coming out of the Gdk
build.
2011-01-30 17:00:03 -06:00
Mike Kestner
fe2d4c311a Flatten the bootstrap and remove glade-sharp
2010-11-21  Mike Kestner  <mkestner@novell.com>

	* removed the glade dir from the build since libglade is
	no longer supported in gnome3.  removed the gapi2-compat stuff
	since it doesn't make much sense now.  Removed the bootstrap
	mechanism since we are unlikely to be releasing multiple API
	versions from the same tree going forward.  The build is now a
	straight autogen.sh like most autotools projects.
2010-11-21 21:18:06 -06:00
Mike Kestner
a948792be0 2009-11-30 Mike Kestner <mkestner@novell.com>
* */Makefile.am: standardize on - options over / options for 
	consistency.  Also assists with build on msys. [Fixes #550667]

svn path=/trunk/gtk-sharp/; revision=147125
2009-11-30 20:40:34 +00:00
Mike Kestner
8c9e862d70 2009-09-11 Mike Kestner <mkestner@novell.com>
* glib/Object.cs: add support for native instantiation of 
	managed types.
	* glib/ParamSpec.cs: add Flags ctor overload.
	* sample/NativeInstantiationTest.cs: new sample to test the
	unmanaged instantiation capability.
	Based on a patch from Sebastian Dröge [Fixes #499900]

svn path=/trunk/gtk-sharp/; revision=141819
2009-09-12 01:01:12 +00:00
Christian Hoff
f317ded797 2009-08-18 Christian Hoff <christian_hoff@gmx.net>
* sample/GtkDemo/Makefile.am: Resurrect local Mono.Cairo build.

svn path=/trunk/gtk-sharp/; revision=140125
2009-08-18 07:09:07 +00:00
Christian Hoff
089c820cb7 2009-08-05 Christian Hoff <christian_hoff@gmx.net>
* sample/CustomcellRenderer.cs: Use GObject property registration
	instead of a CellDataFunc.

svn path=/trunk/gtk-sharp/; revision=139406
2009-08-05 15:23:43 +00:00
Mike Kestner
e21bb039f9 2009-07-12 Mike Kestner <mkestner@novell.com>
* sample/Makefile.am: fix for cairo conflicts related to the switch to gmcs.
	* sample/GtkDemo/Makefile.am: fix for cairo conflicts related to the switch to gmcs.

svn path=/trunk/gtk-sharp/; revision=137755
2009-07-12 21:24:13 +00:00
Christian Hoff
291ee61b2d 2009-04-13 Christian Hoff <christian_hoff@gmx.net>
Add support for virtual methods(vm) to the generator.

	* parser/gapi2xml.pl: Generate a class_struct element with
	all members of the class structure. Dump the first (instance)
	parameter for signal and vm elements. Bump up parser version.
	* generator/GObjectVM.cs: Added. Support for GObject virtual methods.
	* generator/DefaultSignalHandler.cs: Signal specific part of vm
	generation.
	* generator/InterfaceVM.cs: New class for interface vms.
	* generator/ObjectBase.cs: Parse the class struct.

svn path=/trunk/gtk-sharp/; revision=131604
2009-04-13 17:44:48 +00:00
Christian Hoff
e91ff2bdad 2009-02-17 Christian Hoff <christian_hoff@gmx.net>
* sample/gtk-gio/MountOperation.cs:
	* gtk/Builder.custom:
	* glib/Value.cs: Resurrect build for MS .NET Framework

svn path=/trunk/gtk-sharp/; revision=127183
2009-02-17 17:38:05 +00:00
Stephane Delcroix
9a09de34cb some old compilers are asking for pango too...
svn path=/trunk/gtk-sharp/; revision=127004
2009-02-16 09:38:00 +00:00
Stephane Delcroix
7e138d8aa0 oups
svn path=/trunk/gtk-sharp/; revision=127002
2009-02-16 09:31:26 +00:00
Stephane Delcroix
c3985e01c0 -r to yet another unused assembly :/
svn path=/trunk/gtk-sharp/; revision=127001
2009-02-16 09:26:59 +00:00
Stephane Delcroix
6f9eb7d778 pleased to please you, grendel
svn path=/trunk/gtk-sharp/; revision=126840
2009-02-13 14:54:38 +00:00
Stephane Delcroix
4188e27c76 fixing the sample
svn path=/trunk/gtk-sharp/; revision=126612
2009-02-11 15:07:56 +00:00
Stephane Delcroix
a62a57d877 new sample for VolumeMonitor, Volume, ...
svn path=/trunk/gtk-sharp/; revision=126610
2009-02-11 15:07:42 +00:00
Stephane Delcroix
9174bf3577 adding sample/gtk-gio/ into the build
svn path=/trunk/gtk-sharp/; revision=126582
2009-02-11 13:05:59 +00:00
Stephane Delcroix
0f36039b44 fix the sample for API change
svn path=/trunk/gtk-sharp/; revision=126577
2009-02-11 12:34:28 +00:00
Stephane Delcroix
3b3af77895 adding sample/gio into the build
svn path=/trunk/gtk-sharp/; revision=126575
2009-02-11 12:34:08 +00:00
Stephane Delcroix
7c835c46c5 a sample I used to test Gtk.MountOperation. Works fine, as expected
svn path=/trunk/gtk-sharp/; revision=122551
2009-01-06 15:01:03 +00:00
Mike Kestner
146deaa38c 2009-01-04 Mike Kestner <mkestner@novell.com>
* *: update to 2.14.  parser support for GSEALed fields. svn build
	now uses bootstrap-2.14.  integrate gio-sharp module.  

svn path=/trunk/gtk-sharp/; revision=122402
2009-01-04 22:29:56 +00:00
Mike Kestner
89afb3f49f 2008-12-19 Mike Kestner <mkestner@novell.com>
* generator/BoxedGen.cs: don't generate glue dependencies.
	* glib/*.cs: remove glibsharpglue usage except thread.c.
	* glib/glue/*.c: kill all but thread.c. need glib 2.20 to kill
	it eventually.
	* pango/Attr*.cs: kill glue usage.
	* pango/glue/*.c: kill all but generated.c. it's next.
	* gtk/TreeIter.custom: kill a dumb glibsharpglue usage.

svn path=/trunk/gtk-sharp/; revision=121880
2008-12-19 18:57:42 +00:00
Mike Kestner
b20d37c79c 2008-10-09 Mike Kestner <mkestner@novell.com>
* cairo/*.cs: flatten source hierarchy to simplify win32 build.
	* sample/Makefile.am: fix a ref issue with local cairo.

svn path=/trunk/gtk-sharp/; revision=115401
2008-10-09 23:53:18 +00:00
Mike Kestner
81e6815080 2008-10-09 Mike Kestner <mkestner@novell.com>
* configure.in.in: magic for local Mono.Cairo build.
	* cairo/*: a local build of Mono.Cairo for .Net-only builds on win32.
	* */Makefile.am: use local Mono.Cairo where necessary.

svn path=/trunk/gtk-sharp/; revision=115399
2008-10-09 22:35:02 +00:00
Mike Kestner
eca047e0ce 2008-10-09 Mike Kestner <mkestner@novell.com>
* configure.in.in: kill dead config.in.
	* sample/CairoSample.cs: some dispose handling and cleanup.
	* sample/cairo-sample.exe.config.in: kill, no pinvoke needed now.
	* sample/GException.cs: GException test sample.
	* sample/GtkCairo.cs: kill, replaced by Gdk.CairoHelper.Create.
	* sample/Makefile.am: cleanup.

svn path=/trunk/gtk-sharp/; revision=115366
2008-10-09 17:56:10 +00:00
Mike Kestner
9864a0960d 2008-06-06 Mike Kestner <mkestner@novell.com>
Initial Patch submitted by Christian Hoff with some small
	style alterations and a round trip sample by me.  Supports the 
	registration of managed properties with the GType system, so 
	that things like custom cell renderers can be accessed via the
	native property system from treeview.

	* glib/glue/object.c : property registration related glue.
	* glib/Object.cs: implement managed property registration.
	* glib/PropertyAttribute.cs: add new props and ctor for managed
	property registration.
	* sample/PropertyRegistration.cs: little test app to test round-
	tripping of registered properties.
	* sample/Makefile.am: add new sample.

svn path=/trunk/gtk-sharp/; revision=105177
2008-06-06 16:55:00 +00:00
Mike Kestner
621b39b531 2008-05-15 Mike Kestner <mkestner@novell.com>
* kill the makefile.win32 build system.  it has been unmaintained
	for quite some time, replaced by the auto* build in cygwin.

svn path=/trunk/gtk-sharp/; revision=103308
2008-05-15 17:36:46 +00:00
Mike Kestner
8a29f46b8f 2008-04-16 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata: hide PrintContext.get_CairoContext.
	* gtk/PrintContext.custom: manual get_cairo_context implementation.
	Mono.Cairo assumes it is wrapping owned references, so we need to 
	take a ref out on the returned cairo_t pointer.
	* sample/GtkDemo/DemoPrinting.cs: dispose the CairoContext in
	to be a good citizen and avoid warnings.

svn path=/trunk/gtk-sharp/; revision=100942
2008-04-16 20:23:39 +00:00
Mike Kestner
9b2f9754ed 2008-02-29 Mike Kestner <mkestner@novell.com>
* sample/Action.cs: qualify Action usage.
	* sample/GtkDemo/DemoApplicationWindow.cs: qualify Action usage.
	* sample/GtkDemo/DemoUIManager.cs: qualify Action usage.

svn path=/trunk/gtk-sharp/; revision=97023
2008-02-29 22:22:19 +00:00
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