Commit Graph

114 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Andrés G. Aragoneses
a40efc856c * atk/Makefile.am:
* atk/SelectionAdapter.custom: new method for firing selection-changed
( http://library.gnome.org/devel/atk/stable/AtkSelection.html#AtkSelection-selection-changed )

svn path=/trunk/gtk-sharp/; revision=119840
2008-11-24 20:45:48 +00:00
Mike Kestner
74105a1c80 2008-11-05 Mike Kestner <mkestner@novell.com>
* atk/atk-api-2.12.raw: regen
	* gtk/gtk-api-2.12.raw: regen
	* generator/Signal.cs: reinstate old custom marshaler generation and
	generate custom marshaling when 'manual' attr is set.
	* parser/gapi2xml.pl: set manual attr on sigs that have G_TYPE_POINTER
	parameters since the generic closure can't cope with them.

svn path=/trunk/gtk-sharp/; revision=118068
2008-11-06 02:23:21 +00:00
Mike Gorse
c9d658f381 2008-11-04 Mike Gorse <mgorse@novell.com>
* glib/PtrArray.cs, glib/glue/ptrarray.c, glib/Makefile.am,
	  glib/glue/Makefile.am, glib/gtype.cs, generator/SymbolTable.cs,
	  generator/ReturnValue.cs: Add PtrArray.
	* glib/Marshaller.cs: Add PtrArrayToArray.

	* atk/Atk.metadata: Specify GetTarget return type.

	* atk/Object.custom, atk/glue/object.c: Support overriding
	  RefRelationSet.

svn path=/trunk/gtk-sharp/; revision=117919
2008-11-04 20:17:00 +00:00
Mike Gorse
dfd06255db Atk/Object.custom: Pass Handle in EmitChildrenChanged (fix critical)
svn path=/trunk/gtk-sharp/; revision=117006
2008-10-24 22:11:46 +00:00
Mike Gorse
9dd35dd137 Add function handlers for ObjectFactory.
svn path=/trunk/gtk-sharp/; revision=115220
2008-10-08 15:06:49 +00:00
Mike Gorse
2791971e57 * Atk/Makefile.am, Atk/Hyperlink.custom, Atk/glue/Makefile.am,
Atk/glue/hyperlink.c: Add Hyperlink.custom and glue/hyperlink.c.

svn path=/trunk/gtk-sharp/; revision=114702
2008-10-02 19:56:15 +00:00
Mike Gorse
2247739bd6 * atk/Atk.metadata: Mark rect in GetRangeExtents as out.
svn path=/trunk/gtk-sharp/; revision=114249
2008-09-26 22:22:38 +00:00
Mike Gorse
39acfc9643 * atk/Makefile.am: add atk/atk.h to glue_includes.
* atk/glue/Makefile.am: Compile atk/glue/generated.c.

svn path=/trunk/gtk-sharp/; revision=113845
2008-09-23 15:35:57 +00:00
Andrés G. Aragoneses
d21970a0cd Fixes BNC#384475.
* atk/Object.custom: Provide a new overload that receives an
enum instead of an ulong, for a friendlier managed API.

svn path=/trunk/gtk-sharp/; revision=113822
2008-09-23 13:59:30 +00:00
Mike Gorse
cbf6068edf Support GetIndexInParent.
svn path=/trunk/gtk-sharp/; revision=112901
2008-09-12 19:47:38 +00:00
Andrés G. Aragoneses
1a681abfac 2008-08-28 Andrés G. Aragoneses <aaragoneses@novell.com>
* atk/Util.custom: unregister get_root function when the setter
        receives null. Partial fix for BNC#411444.


svn path=/trunk/gtk-sharp/; revision=111872
2008-08-28 20:43:58 +00:00
Andrés G. Aragoneses
a3e074c46a Cosmetic, remove some bogus spaces.
svn path=/trunk/gtk-sharp/; revision=111869
2008-08-28 20:35:59 +00:00
Brad Taylor
70b8817f12 2008-08-19 Brad Taylor <brad@getcoded.net>
* atk/Object.custom: Add method to allow emission of
	  visible-data-changed signal.

	* atk/TextChangedDetail.cs: 
	* atk/TextAdapter.custom: Add method to allow emission of text-changed
	  signal.


svn path=/trunk/gtk-sharp/; revision=111015
2008-08-19 22:00:33 +00:00
Mike Kestner
253fd7954c 2008-08-13 Mike Kestner <mkestner@novell.com>
* atk/Atk.metadata: switch Value methods to ref params since atk
	actually checks for initialized values instead of just treating it
	like uninitialized memory.  Makes for uglier API, but avoids crashes
	in unfortunate memory content scenarios.

svn path=/trunk/gtk-sharp/; revision=110382
2008-08-13 17:15:00 +00:00
Mike Kestner
c7dd6cdfda 2008-07-23 Mike Kestner <mkestner@novell.com>
* atk/Atk.metadata: map some out params on Atk.Value.  They
	were unusable in their existing form.

svn path=/trunk/gtk-sharp/; revision=108600
2008-07-23 21:47:03 +00:00
Andrés G. Aragoneses
dddf13e2fb * atk/Object.custom:
* atk/glue/object.c:
Simplified code for previous issue (recommendation from mkestner).

svn path=/trunk/gtk-sharp/; revision=105929
2008-06-16 18:03:28 +00:00
Andrés G. Aragoneses
bd2330adf2 * atk/Object.custom:
* atk/glue/object.c:
Temporary workaround for infinite recursion issue.

svn path=/trunk/gtk-sharp/; revision=105329
2008-06-09 16:12:03 +00:00
Mike Kestner
40b8a8c5d9 2008-06-06 Mike Kestner <mkestner@novell.com>
* atk/Object.custom: use 'as StateSet' instead of cast to avoid
	cast exceptions in the null case.

svn path=/trunk/gtk-sharp/; revision=105170
2008-06-06 15:46:24 +00:00
Andrés G. Aragoneses
535ffa6c40 cosmetic
svn path=/trunk/gtk-sharp/; revision=105161
2008-06-06 15:06:29 +00:00
Andrés G. Aragoneses
15cf27b0dd * atk/Object.custom:
* atk/glue/object.c: Implement virtual method OnRefStateSet().

svn path=/trunk/gtk-sharp/; revision=105160
2008-06-06 14:56:01 +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
Andrés G. Aragoneses
52e68fbeb6 * atk/Object.custom: Track API changes in GLib.Signal.
* glib/Signal.cs: AddEmissionHook binding (for closing #386950), and
  change API of Emit to mimic the detailed_signal pattern.
* glib/GType.cs: GType.FromName: new wrapper for native call.
* glib/ObjectManager.cs: Use the new FromName managed method.

svn path=/trunk/gtk-sharp/; revision=103198
2008-05-14 16:03:13 +00:00
Mike Kestner
d1dbdf0316 2008-05-08 Mike Kestner <mkestner@novell.com>
* atk/atk-api-2.12.raw: reparsed.
	* gdk/gdk-api-2.12.raw: reparsed.
	* gtk/gtk-api-2.12.raw: reparsed.
	* parser/gapi2xml.pl: fixes for signal and vm order needed for 
	proper interface struct layout. [Fixes #386802]

svn path=/trunk/gtk-sharp/; revision=102848
2008-05-08 23:23:49 +00:00
Andrés G. Aragoneses
c4967d7cb9 * atk/Object.custom, atk/glue/object.c: Remove unneeded
return types (I don't  know why gcc ever let this compile...).

svn path=/trunk/gtk-sharp/; revision=102720
2008-05-07 12:49:37 +00:00
Mike Kestner
9ff6fc7588 2008-05-02 Mike Kestner <mkestner@novell.com>
* atk/Atk.metadata: hide Global.AddGlobalEventListener.
	* atk/Global.custom: AddGlobalEventListener impl.
	* atk/Util.custom: AddGlobalEventListenerHandler prop.
	[Fixes the rest of #365437]

svn path=/trunk/gtk-sharp/; revision=102333
2008-05-02 15:13:35 +00:00
Mike Kestner
a3f799ceb0 2008-04-30 Mike Kestner <mkestner@novell.com>
* parser/gapi2xml.pl: put class struct field in the signal elems.
	* atk/atk-api-2.12.raw:
	* gdk/gdk-api-2.12.raw:
	* gtk/gtk-api-2.12.raw:

svn path=/trunk/gtk-sharp/; revision=102238
2008-04-30 19:42:11 +00:00
Andrés G. Aragoneses
d0b8f4c279 * atk/Object.custom: custom protected method for firing
the ChildrenChanged signal.
* glib/Signal.cs: first implementation of a managed
method for emitting signals.

svn path=/trunk/gtk-sharp/; revision=101700
2008-04-24 17:11:11 +00:00
Mike Kestner
504323bf30 2008-04-17 Mike Kestner <mkestner@novell.com>
* atk/glue/misc.c: glue for vms and singleton setup.
	* atk/Misc.custom: add OnThreadsEnter, OnThreadsLeave, and
	SetSingletonInstance members for Bridge implementors.
	[More of #365437]

svn path=/trunk/gtk-sharp/; revision=101092
2008-04-18 01:10:08 +00:00
Mike Kestner
2f990f1396 2008-04-04 Mike Kestner <mkestner@novell.com>
* atk/Atk.metadata: add a few more owned refs.

svn path=/trunk/gtk-sharp/; revision=99884
2008-04-04 21:27:04 +00:00
Mike Kestner
bdeb30bbad 2008-04-04 Mike Kestner <mkestner@novell.com>
* atk/Atk.metadata: markup all the Ref* methods to indicate owned refs.
	* generator/ReturnValue.cs: Add owned object ToNative handling.
	* generator/VirtualMethod.cs: Split ToNative call from managed method
	invocation to avoid duplicate calls in null checking scenarios.
	* glib/Object.cs: add OwnedHandle property for use by language binding
	code which needs to pass owned refs to native methods.

svn path=/trunk/gtk-sharp/; revision=99849
2008-04-04 16:10:08 +00:00
Mike Kestner
1a64851790 2008-04-04 Mike Kestner <mkestner@novell.com>
* atk/Object.custom: take out a ref on the return value of
	OnRefChild.  Also add some null guarding and default to IntPtr.Zero
	on exceptions.

svn path=/trunk/gtk-sharp/; revision=99826
2008-04-04 05:00:42 +00:00
Andrés G. Aragoneses
4320fd5ffd Reflect correct name.
svn path=/trunk/gtk-sharp/; revision=99309
2008-03-29 21:47:47 +00:00
Andrés G. Aragoneses
c909f241f4 Fix build, I'm dumb (related: r99178, r99183)
svn path=/trunk/gtk-sharp/; revision=99184
2008-03-28 11:35:53 +00:00
Andrés G. Aragoneses
fe733e53a3 oops, forgot this on r99178
svn path=/trunk/gtk-sharp/; revision=99183
2008-03-28 11:32:45 +00:00
Andrés G. Aragoneses
f4ca73fd5d * atk/Object.custom: custom properties for overriding class methods.
* atk/Makefile.am: include Object.custom.
* atk/glue/object.c: glue to override class methods.
* atk/glue/Makefile.am: include object.c.
(Patch reviewed by mkestner)

svn path=/trunk/gtk-sharp/; revision=99178
2008-03-28 11:02:39 +00:00
Mike Kestner
cc746fa93e 2008-02-29 Mike Kestner <mkestner@novell.com>
* configure.in.in: atk checks and SUBSTs.
	* atk/Util.custom: custom properties for overriding class methods.
	* atk/glue/util.c: glue to override class methods.

svn path=/trunk/gtk-sharp/; revision=96985
2008-02-29 16:30:21 +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
ff2836315e kill unused api versions
svn path=/trunk/gtk-sharp/; revision=90552
2007-12-03 16:15:13 +00:00
Mike Kestner
d09ebd1d3b indentation whitespace changes from eno's nice XmlWriter patch
svn path=/trunk/gtk-sharp/; revision=63080
2006-07-28 15:58:03 +00:00
Mike Kestner
2ac6bb5457 2006-05-10 Mike Kestner <mkestner@novell.com>
* bootstrap-2.10 : strap for the new 2.9.0 API.
	* generator/SymbolTable.cs : add GLib.InitiallyUnowned mapping.
	* glib/InitiallyUnowned.cs : new floating class "stub".
	* glib/Makefile.am : build new class.
	* gdk/gdk-api-2.10.raw: parse from 2.9.0
	* gtk/Gtk.metadata: cleanup conflicts in 2.10 API.
	* gtk/gtk-api-2.10.raw: parse from 2.9.0
	* pango/pango-api-2.10.raw: parse from 1.11.99
	* sources/Makefile.am : 2.10 parse setup and api-2.10 
	* sources/gtk_tree_model_signal_fix-2.10.patch : 2.10 patch.
	* sources/gtk-sharp-2.10-sources.xml : parse rules for 2.10

svn path=/trunk/gtk-sharp/; revision=60521
2006-05-10 17:13:30 +00:00
Mike Kestner
da63620038 copy 2.8 file to 2.10
svn path=/trunk/gtk-sharp/; revision=60510
2006-05-10 14:21:17 +00:00
Mike Kestner
6f612e3fff 2005-12-13 Mike Kestner <mkestner@novell.com>
* sources/Makefile.am : move to stable gtk 2.8 versions.
	* sources/gtk-sharp-2.8-sources.xml : move to stable gtk 2.8 versions.
	* */*.raw : regenerate.
	* gdk/Gdk.metadata : hide a few gtk+ internal methods.
	* gtk/Gtk.metadata : hide a win32 internal enum.

svn path=/trunk/gtk-sharp/; revision=54308
2005-12-13 17:11:31 +00:00
Mike Kestner
6c67e4ffb6 2005-07-28 Mike Kestner <mkestner@novell.com>
* bootstrap-for-the-insane : beginnings of 2.8 binding.
	* */*-api-2.8.raw : 2.8 api files.
	* gdk/Gdk.metadata : work around #define used in Pixbuf props in 2.7.
	* parser/gapi2xml.pl : collision guarding for privatestruct defs.
	* sources/gtk-sharp-2.8-sources.xml : parse for 2.8.
	* sources/Makefile.am : api-2.8, get-2.8-sources, etc...

svn path=/trunk/gtk-sharp/; revision=47820
2005-07-28 21:24:55 +00:00
Mike Kestner
5713b3c340 2005-06-24 Mike Kestner <mkestner@novell.com>
* atk/Atk.metadata : couple of small api cleanups.

svn path=/trunk/gtk-sharp/; revision=46481
2005-06-24 19:35:00 +00:00