Commit graph

2895 commits

Author SHA1 Message Date
Mike Kestner 11286d19c6 2008-04-15 Mike Kestner <mkestner@novell.com>
* generator/ReturnValue.cs: use new GLib.Opaque.OwnedCopy for owned
	opaque return values.
	* glib/Opaque.cs: introduce OwnedCopy property to support returning
	owned opaque instances from native to managed callbacks. 
	[Fixes #374641]

svn path=/trunk/gtk-sharp/; revision=100762
2008-04-15 19:43:16 +00:00
Mike Kestner a1c4fb0689 2008-04-15 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata: hide GtkKey_ for manual impl.
	* gtk/Key.cs: manual implementation to manage delegate wrapper
	persistence.  [Fixes #378989]

svn path=/trunk/gtk-sharp/; revision=100753
2008-04-15 18:44:53 +00:00
Mike Kestner 4ef0131109 2008-04-15 Mike Kestner <mkestner@novell.com>
* gtk/FileSystemModel.custom: remove dead file. 

svn path=/trunk/gtk-sharp/; revision=100749
2008-04-15 18:18:09 +00:00
Mike Kestner 772790dcb0 2008-04-15 Mike Kestner <mkestner@novell.com>
* glib/Marshaller.cs: marshal null string arrays as a null IntPtr[].
	[Fixes #378514]

svn path=/trunk/gtk-sharp/; revision=100744
2008-04-15 17:43:55 +00:00
Mike Kestner def947943a 2008-04-14 Mike Kestner <mkestner@novell.com>
* gtk/Application.cs: add QuitPrepare event for Gnome.Program usage.

svn path=/trunk/gtk-sharp/; revision=100650
2008-04-14 16:22:26 +00:00
Marek Habersack 20d764bb6f 2008-04-08 Marek Habersack <mhabersack@novell.com>
* generator/InterfaceGen.cs: added a check for null obj in the
	generated GetObject method.

svn path=/trunk/gtk-sharp/; revision=100145
2008-04-08 20:59:34 +00:00
Mike Kestner 28a6603695 webservice contributions from deejay1@srem.org
svn path=/trunk/gtk-sharp/; revision=100125
2008-04-08 18:23:04 +00:00
Mike Kestner 1c0083d2ca webservice contribution from thindil2@gmail.com
svn path=/trunk/gtk-sharp/; revision=100108
2008-04-08 14:48:26 +00:00
Mike Kestner 752e056edc webservice contribution from carlos@cmartin.tk
svn path=/trunk/gtk-sharp/; revision=100082
2008-04-08 01:51:15 +00:00
Mike Kestner fbb7ce0553 webservice contribution from carlos@cmartin.tk
svn path=/trunk/gtk-sharp/; revision=100055
2008-04-07 21:59:40 +00:00
Mike Kestner 767e2126e7 webservice contribution from carlos@cmartin.tk
svn path=/trunk/gtk-sharp/; revision=100053
2008-04-07 21:39:28 +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 213a3b99e3 2008-04-04 Mike Kestner <mkestner@novell.com>
* glib/Global.cs: renamed from Program.cs.  Program.Name is now 
	Global.ProgramName to try to avoid clashes with existing Gnome.Program
	usage.
	* gtk/Application.cs: s/GLib.Program.Name/GLib.Global.ProgramName.

svn path=/trunk/gtk-sharp/; revision=99875
2008-04-04 18:45:13 +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
Mike Kestner b1d6be02d5 2008-04-01 Mike Kestner <mkestner@novell.com>
* generator/InterfaceGen.cs: support "generic" interface
	implementations like those exposed by gio.  This is specifically for
	libraries which return GTypes which are not exposed by the library
	but which implement GInterfaces which are exposed by the library.

svn path=/trunk/gtk-sharp/; revision=99541
2008-04-01 16:08:33 +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
Andrés G. Aragoneses 5fabaace5e * glib/Program.cs: Add new static class for utility property, moving
the code to call g_set_prgname() from gtk/Application.cs to here,
and changing return value of g_set_program_name from bool to void.
* gtk/Application.cs: Use Program.Name as a replacement of
calling the native function g_set_prgname().
* glib/Makefile.am: add Program.cs.
(Patch reviewed by mkestner)

svn path=/trunk/gtk-sharp/; revision=99134
2008-03-27 15:59:26 +00:00
Mike Kestner de56504f8b 2008-03-21 Mike Kestner <mkestner@novell.com>
* bootstrap-2.12: bump svn version
	* generator/CallbackGen.cs: add dnotify support to invoker.
	Store and respond with incoming UserData params. Start using 
	__prefixed private vars to avoid collisions with parameters, 
	like the 'result' params in gio.
	* generator/ManagedCallString.cs: use new data/dnotify invoker
	ctors.
	* generator/MethodBody.cs:
	* generator/Parameters.cs: don't link "out" length params to 
	preceding strings.
	* generator/VMSignature.cs: don't require UserData to be last
	param, since it can have things like error after it.

svn path=/trunk/gtk-sharp/; revision=98782
2008-03-22 01:30:42 +00:00
Mike Kestner c030d70107 2008-03-21 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata: s/GtkDestroyNotify/GDestroyNotify in vms too.

svn path=/trunk/gtk-sharp/; revision=98772
2008-03-21 21:01:01 +00:00
Mike Kestner 173a4a188b 2008-03-17 Mike Kestner <mkestner@novell.com>
* en/Gtk/HBox.xml:
	* en/Gtk/VBox.xml: move example tag outside summary.

svn path=/trunk/gtk-sharp/; revision=98514
2008-03-18 01:49:27 +00:00
Mike Kestner 2a1bb876bf kill a debug cwl
svn path=/trunk/gtk-sharp/; revision=98393
2008-03-15 18:09:32 +00:00
Mike Kestner b218a96484 2008-03-14 Mike Kestner <mkestner@novell.com>
* pango/AttrList.custom: pass copies of the attrs to insert*
	since the list assumes ownership.
	* pango/Makefile.am: add new custom file.
	* pango/Pango.metadata: hide AttrList.Insert* for custom impl.

svn path=/trunk/gtk-sharp/; revision=98381
2008-03-15 03:15:32 +00:00
Mike Kestner 51292d20b3 2008-03-12 Mike Kestner <mkestner@novell.com>
* glib/GType.cs: add an Init method for explicit initialization.

svn path=/trunk/gtk-sharp/; revision=98056
2008-03-12 16:15:06 +00:00
Mike Kestner 708907e311 2008-03-04 Mike Kestner <mkestner@novell.com>
* bootstrap-2.12: update version to 2.12 and tag

svn path=/trunk/gtk-sharp/; revision=97344
2008-03-04 18:58:18 +00:00
Mike Kestner 51edec5cee end of the Gtk stubs
svn path=/trunk/gtk-sharp/; revision=97086
2008-03-01 20:46:39 +00:00
Mike Kestner e81a3b03f5 uggh, more updater whitespace
svn path=/trunk/gtk-sharp/; revision=97083
2008-03-01 17:25:17 +00:00
Mike Kestner 78e5886651 more new types
svn path=/trunk/gtk-sharp/; revision=97080
2008-03-01 15:45:57 +00:00
Mike Kestner e865ea1cc8 some 2.10 stubs
svn path=/trunk/gtk-sharp/; revision=97078
2008-03-01 15:18:53 +00:00
Mike Kestner 0979f84304 implementor and adapter stubs
svn path=/trunk/gtk-sharp/; revision=97077
2008-03-01 15:06:54 +00:00
Mike Kestner 06f1364bc0 stubs
svn path=/trunk/gtk-sharp/; revision=97076
2008-03-01 14:31:59 +00:00
Mike Kestner 33cc251399 html assembly version update and stubs
svn path=/trunk/gtk-sharp/; revision=97075
2008-03-01 13:52:20 +00:00
Mike Kestner c694d46096 more stubs
svn path=/trunk/gtk-sharp/; revision=97073
2008-03-01 13:24:10 +00:00
Mike Kestner a8a412e631 new 2.12 API stubs
svn path=/trunk/gtk-sharp/; revision=97062
2008-03-01 04:37:13 +00:00
Mike Kestner 124720e3d9 new 2.12 API stubs
svn path=/trunk/gtk-sharp/; revision=97061
2008-03-01 04:01:55 +00:00
Mike Kestner dda5dd5bcb update to 0.16 API
svn path=/trunk/gtk-sharp/; revision=97060
2008-03-01 03:44:55 +00:00
Mike Kestner 0685abcb05 assembly versions and stubs
svn path=/trunk/gtk-sharp/; revision=97059
2008-03-01 03:38:13 +00:00
Mike Kestner 5437f1c5da more whitespace
svn path=/trunk/gtk-sharp/; revision=97058
2008-03-01 03:28:39 +00:00
Mike Kestner 0076bc5c72 remainder of 2.20 stubs for Gnome
svn path=/trunk/gtk-sharp/; revision=97057
2008-03-01 03:27:29 +00:00
Mike Kestner 71cb04dfc1 oops
svn path=/trunk/gtk-sharp/; revision=97055
2008-03-01 03:16:15 +00:00
Mike Kestner b47d14c207 print filter doc stubs
svn path=/trunk/gtk-sharp/; revision=97054
2008-03-01 03:12:05 +00:00
Mike Kestner 78d0ebd07b 2008-02-29 Mike Kestner <mkestner@novell.com>
* gdk/Event.cs: add New method for consistency with generated
	boxed types.  Will be used by GLib.Value in the future.

svn path=/trunk/gtk-sharp/; revision=97052
2008-03-01 02:50:08 +00:00
Mike Kestner b92889aad5 a few docs plus some whitespace
svn path=/trunk/gtk-sharp/; revision=97051
2008-03-01 02:48:41 +00:00
Mike Kestner 3529dd94de assembly versions
svn path=/trunk/gtk-sharp/; revision=97048
2008-03-01 02:12:41 +00:00
Mike Kestner 85cfa02a0f assembly version updates
svn path=/trunk/gtk-sharp/; revision=97047
2008-03-01 02:10:44 +00:00
Mike Kestner a42761c758 assembly version updates and new API stubs
svn path=/trunk/gtk-sharp/; revision=97046
2008-03-01 01:46:57 +00:00
Mike Kestner 64c5bade3a stupid whitespace
svn path=/trunk/gtk-sharp/; revision=97034
2008-02-29 23:46:26 +00:00