Commit Graph

2968 Commits

Author SHA1 Message Date
Mike Kestner
39739ae746 2009-04-25 Mike Kestner <mkestner@novell.com>
* generator/OpaqueGen.cs: support abstract opaque classes,
	though I have no idea why anyone would want one.
	[Fixes #494212] Revised patch from Sebastian Dröge.

svn path=/trunk/gtk-sharp/; revision=132678
2009-04-26 03:21:47 +00:00
Mike Kestner
9d5b3e97be 2009-04-25 Mike Kestner <mkestner@novell.com>
* parser/gapi-fixup.cs: add remove-attr and change-node-type
	fixup rules.  [Fixes #494194]

svn path=/trunk/gtk-sharp/; revision=132676
2009-04-26 03:08:54 +00:00
Mike Kestner
a2715073d1 2009-04-25 Mike Kestner <mkestner@novell.com>
* generator/OpaqueGen.cs: support declaring managed ifaces.
	[Fixes #494193] Revised patch from Sebastian Dröge.

svn path=/trunk/gtk-sharp/; revision=132675
2009-04-26 02:57:11 +00:00
Stephane Delcroix
e04bae2434 didn't you get the memo ? Mike REQUIRES ChangeLog entries
svn path=/trunk/gtk-sharp/; revision=132597
2009-04-24 15:25:30 +00:00
Stephane Delcroix
89702a7e51 Read the name attribute for constructors converted to static factory methods
svn path=/trunk/gtk-sharp/; revision=132561
2009-04-24 08:08:17 +00:00
Christian Hoff
643a910cd6 2009-04-21 Christian Hoff <christian_hoff@gmx.net>
* glib/Value.cs: Fixes for fundamental GType support. Patch
	provided by Sebastian Dröge.

svn path=/trunk/gtk-sharp/; revision=132225
2009-04-21 08:16:57 +00:00
Christian Hoff
37c1f46d17 2009-04-21 Christian Hoff <christian_hoff@gmx.net>
* gtk/Widget.custom: Deglued implementation of StyleGetProperty.

svn path=/trunk/gtk-sharp/; revision=132224
2009-04-21 08:11:35 +00:00
Andrés G. Aragoneses
a63841988e * atk/Makefile.am:
* glib/Makefile.am:
* Makefile.include: (Revert revision 131780) Track r131942.

svn path=/trunk/gtk-sharp/; revision=131943
2009-04-16 22:00:07 +00:00
Christian Hoff
8fda284c32 2009-04-16 Christian Hoff <christian_hoff@gmx.net>
* glib/Value.cs: Support for additional fundamental GTypes. Invoke
	constructor of corresponding managed type to convert a GValue into
	its managed representation and a SetGValue method to do that vice
	versa. Patch contributed by Sebastian Dröge.

svn path=/trunk/gtk-sharp/; revision=131931
2009-04-16 20:03:35 +00:00
Andrés G. Aragoneses
005731b75c 2009-04-15 Andrés G. Aragoneses <aaragoneses@novell.com>
* atk/Makefile.am
        * glib/Makefile.am: take advantage of the same InternalsVisibleTo
        because the moon assemblies will be monomerged.


svn path=/trunk/gtk-sharp/; revision=131835
2009-04-15 22:33:26 +00:00
Andrés G. Aragoneses
722954e799 2009-04-15 Andrés G. Aragoneses <aaragoneses@novell.com>
* atk/Makefile.am
        * glib/Makefile.am
        * Makefile.include: Added new 'moonlight' target, to build with
        smcs.


svn path=/trunk/gtk-sharp/; revision=131780
2009-04-15 15:32:41 +00:00
Christian Hoff
da7be52173 2009-04-14 Christian Hoff <christian_hoff@gmx.net>
* gtk/Adjustment.custom: Deglued implementation of SetBounds.
	* gtk/glue/Adjustment.c: Kill.

svn path=/trunk/gtk-sharp/; revision=131691
2009-04-14 19:30:05 +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
Mike Kestner
edf5b066e1 2009-04-09 Mike Kestner <mkestner@novell.com>
* glib/ListBase.cs: fix g_object_unref dllimport lib.
	[Fixes #493128]

svn path=/trunk/gtk-sharp/; revision=131388
2009-04-09 14:38:16 +00:00
Christian Hoff
80632de9e5 2009-04-05 Christian Hoff <christian_hoff@gmx.net>
* gtk/Target.custom: custom implementation of TableNewFromList.
	* gtk/TargetList.custom: use Target.TableNewFromList method
	to convert the TargetList to a TargetEntry array.
	* gtk/glue/targetlist.c: deleted.

svn path=/trunk/gtk-sharp/; revision=131066
2009-04-05 08:36:46 +00:00
Christian Hoff
30b112fb2a 2009-03-28 Christian Hoff <christian_hoff@gmx.net>
* gtk/TextBuffer.custom: Use the right overload of Marshal.Copy
	[Fixes #480010]

svn path=/trunk/gtk-sharp/; revision=130461
2009-03-28 11:46:10 +00:00
Christian Hoff
01ed1a5e3e 2009-03-19 Christian Hoff <christian_hoff@gmx.net>
* parser/gapi2xml.pl: Introduce a "parser_version" attribute.
	* generator/GenBase.cs: Implement a property to access the
	attribute's value.

svn path=/trunk/gtk-sharp/; revision=129807
2009-03-19 18:13:01 +00:00
Mike Kestner
87dc12c27e 2009-03-17 Mike Kestner <mkestner@novell.com>
* bootstrap-generic: expose LIBTOOLIZE env variable to support
	building on mac osx with glibtoolize.  [Fixes #480559]

svn path=/trunk/gtk-sharp/; revision=129640
2009-03-17 23:04:14 +00:00
Christian Hoff
d7095d495c 2009-03-17 Christian Hoff <christian_hoff@gmx.net>
* gdk/Property.custom: add new overloads to the Get method
	for the most common property types
	* gdk/Global.custom: Use the new overloads of Property.Get instead of glue

svn path=/trunk/gtk-sharp/; revision=129618
2009-03-17 18:40:35 +00:00
Mike Kestner
80d16bd3a2 2009-03-16 Mike Kestner <mkestner@novell.com>
* gtk/NodeSelection.cs: use new Adapter prop on NodeStore.
	* gtk/NodeStore.cs: some encapsulation rework.
	* gtk/NodeView.cs: use new Adapter prop on NodeStore. new methods
	to support manipulation of the view by TreeNode, like scrolling
	and cell bounds lookups.  
	* gtk/TreeView.cs: use new Adapter prop on NodeStore.
	* doc/en/Gtk/NodeView.xml: new doc updates. 
	Patch provided by Vladimir Giszpenc.  [Fixes #480067]

svn path=/trunk/gtk-sharp/; revision=129498
2009-03-16 21:05:08 +00:00
Mike Kestner
41ef366e9f 2009-03-07 Mike Kestner <mkestner@novell.com>
* configure.in.in: add --disable-glade-sharp configure option
	to explicitly disable the conditional build.  [Fixes #423131]

svn path=/trunk/gtk-sharp/; revision=128837
2009-03-08 02:05:43 +00:00
Christian Hoff
6cd676ed5b 2009-03-04 Christian Hoff <christian_hoff@gmx.net>
* gtk/NodeStore.cs: reimplement NodeStore as a managed TreeModel using GInterface implementation
	* gtk/glue/nodestore.c: kill

svn path=/trunk/gtk-sharp/; revision=128620
2009-03-04 20:33:12 +00:00
Stephane Delcroix
20f7cd3d78 2009-02-27 Stephane Delcroix <sdelcroix@novell.com>
* gdk/Gdk.metadata:
	* gdk/PixbufFormat.custom:
	* gdk/Makefile.am: deprecate IsDisabled in favor of the Disabled
	property

svn path=/trunk/gtk-sharp/; revision=128194
2009-02-27 10:25:59 +00:00
Stephane Delcroix
360c9c88e2 2009-02-27 Stephane Delcroix <sdelcroix@novell.com>
* gdk/Gdk.metadata: fix GdkPixbufFormat mime_types and extensions

svn path=/trunk/gtk-sharp/; revision=128193
2009-02-27 10:11:36 +00:00
Christian Hoff
b2a4c7ee7c 2009-02-24 Christian Hoff <christian_hoff@gmx.net>
* glib/Value.cs: Change the pad fields handling again as the 
	previous approach didn't work on Win32.   [Fixes #478578]

svn path=/trunk/gtk-sharp/; revision=127892
2009-02-24 20:06:07 +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
835d07adfd marshal the list returned by VolumeMonitor.ConnectedDrives
svn path=/trunk/gtk-sharp/; revision=126611
2009-02-11 15:07:49 +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
54d4f811b2 VolumeMonitor, Volume, Mount, Drive, ...
svn path=/trunk/gtk-sharp/; revision=126609
2009-02-11 15:07:34 +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
d7dfd57c20 customize AppInfoAdapter, drop ApInfoFactory
svn path=/trunk/gtk-sharp/; revision=126578
2009-02-11 12:34:36 +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
03a2481103 remove old file
svn path=/trunk/gtk-sharp/; revision=126576
2009-02-11 12:34:20 +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
2a151534e7 checkpoint
svn path=/trunk/gtk-sharp/; revision=126574
2009-02-11 12:33:59 +00:00
Christian Hoff
b456cc4f0b 2009-02-06 Christian Hoff <christian_hoff@gmx.net>
* gtk/Gtk.metadata: Fix TreeModel.EmitRowsReordered signature


svn path=/trunk/gtk-sharp/; revision=126098
2009-02-06 19:58:00 +00:00
Mike Kestner
bc188c9358 2009-01-29 Mike Kestner <mkestner@novell.com>
* generator/OpaqueGen.cs: generate a finalizer for classes which
	have free or unref methods and ensure it runs on the gui thread.
	* glib/Opaque.cs:  remove finalize handling.
	Fixes a 'resurrection' issue with the previous 419777 fix.

svn path=/trunk/gtk-sharp/; revision=124940
2009-01-29 16:26:09 +00:00
Andrés G. Aragoneses
48da8afce6 2009-01-29 Andrés G. Aragoneses <aaragoneses@novell.com>
* atk/Object.custom: add binding for "focus-event" signal:
	http://library.gnome.org/devel/atk/unstable/AtkObject.html#AtkObject-focus-event


svn path=/trunk/gtk-sharp/; revision=124937
2009-01-29 16:11:08 +00:00
Mike Kestner
d7f231117d 2009-01-27 Mike Kestner <mkestner@novell.com>
* glib/Opaque.cs:  ensure we are running on the gui thread when we
	dispose from the finalizer.  [Fixes #419777]

svn path=/trunk/gtk-sharp/; revision=124683
2009-01-27 17:45:15 +00:00
Mike Kestner
1d9f50edb7 2009-01-26 Mike Kestner <mkestner@novell.com>
* glib/Value.cs:  make the pad fields a blink explicitly sized struct
	instead to avoid alignment issues on x86. [Fixes #469135]

svn path=/trunk/gtk-sharp/; revision=124561
2009-01-26 20:42:50 +00:00
Mike Kestner
27c413091c 2009-01-23 Mike Kestner <mkestner@novell.com>
* Makefile.include:
	* doc/Makefile.am:
	* glib/Makefile.am:
	* gtkdotnet/Makefile.am: parallel make patches from Diego Pettenò  
	and Bertrand Lorentz. [Fixes #421063]

svn path=/trunk/gtk-sharp/; revision=124400
2009-01-24 04:47:54 +00:00
Brad Taylor
abc3237425 2009-01-13 Brad Taylor <brad@getcoded.net>
* atk/Atk.metadata: Bind GetRunAttributes and GetDefaultAttributes as
	Atk.Attribute[] instances instead of GLib.SList. [Fixes #393565]


svn path=/trunk/gtk-sharp/; revision=123249
2009-01-13 20:27:17 +00:00
Mike Kestner
d02c31e387 2009-01-13 Mike Kestner <mkestner@novell.com>
* gdk/glue/event.c: kill
	* gdk/glue/selection.c: kill
	* gdk/Selection.cs: hardcode the primary, secondary, and clipboard
	atom definitions instead of using glue to access their macros.
	* gdk/Event*.cs: rewrite to use layout structures instead of glue
	for field accessors.  Also enable writing for all fields.
	[Fixes #323373]

svn path=/trunk/gtk-sharp/; revision=123197
2009-01-13 15:34:01 +00:00
Mike Kestner
33849fd085 2009-01-09 Mike Kestner <mkestner@novell.com>
* glib/Opaque.cs (GetOpaque): return null for IntPtr.Zero.

svn path=/trunk/gtk-sharp/; revision=123140
2009-01-12 22:15:47 +00:00
Mike Kestner
dc069c7338 2009-01-09 Mike Kestner <mkestner@novell.com>
* configure.in.in: don't hardcode CC when cross-compiling.
	* gapi-cdecl-insert: monodis support on mono.
	* Makefile.am: add a cross-compile bundling target.  The goal is to
	build a .zip which can be extracted on win32 to run candle and light,
	avoiding cygwin to produce installers.  Hopefully some day wix will
	run on linux.

svn path=/trunk/gtk-sharp/; revision=123139
2009-01-12 22:14:25 +00:00