Commit Graph

1825 Commits

Author SHA1 Message Date
Christian Hoff
53d7ae45e3 2009-07-10 Christian Hoff <christian_hoff@gmx.net>
* pango/Pango.metadata: Mark "ink_rect" and "logical_rect" parameters of Get*Extends
	methods as "out".  [Fixes #510105]

svn path=/trunk/gtk-sharp/; revision=137712
2009-07-10 18:51:12 +00:00
Christian Hoff
940cf88750 2009-07-02 Christian Hoff <christian_hoff@gmx.net>
* configure.in.in: Target .net 2.0 profile
	* gapi-cdecl-insert: Kill. We are now using the UnmanagedFunctionPointerAttribute
	for callbacks.
	* glib/CdeclCallback: Mark obsolete.
	* generator/*.cs:
	* *.custom: Use [UnmanagedFunctionPointer (CallingConvention.Cdecl)] instead of
	[GLib.CDeclCallback].

svn path=/trunk/gtk-sharp/; revision=137323
2009-07-02 20:18:10 +00:00
Christian Hoff
3d6b4f7281 2009-06-15 Christian Hoff <christian_hoff@gmx.net>
* gtk/Widget.custom: Don't use [MarshalAs] for struct fields since
	that is not supported in the .net framework

svn path=/trunk/gtk-sharp/; revision=136157
2009-06-15 19:48:08 +00:00
Christian Hoff
f84bc5f1ac 2009-06-08 Christian Hoff <christian_hoff@gmx.net>
* generator/Signal.cs: Fix indexing of the signal arguments array for
	"out" and "ref" parameters.  [Fixes #508572]

svn path=/trunk/gtk-sharp/; revision=135661
2009-06-08 13:21:01 +00:00
Aaron Bockover
9d215affce 2009-05-28 Aaron Bockover <abockover@novell.com>
* generator/EnumGen.cs: Fix enum generator to properly parse integer
    values with type modifier suffixes (UL, L, U), and not accidentally
    munge named values that happen to end in one of these suffixes


svn path=/trunk/gtk-sharp/; revision=134980
2009-05-28 18:49:11 +00:00
Stephane Delcroix
8c120e4763 2009-05-18 Stephane Delcroix <sdelcroix@novell.com>
* configure.in.in:
	* bootstrap-generic:
	* bootstrap-2.14: check for mono >= 2.2. not that it requires it to
	build, but the generated bindings need it to run.

svn path=/trunk/gtk-sharp/; revision=134336
2009-05-18 18:15:22 +00:00
Mike Kestner
8bb550b893 2009-05-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* glib/Value.cs: return int object value for GType.Enum values if
	the explicit gtype is not found.  [Fixes #503060]

svn path=/trunk/gtk-sharp/; revision=134075
2009-05-13 19:27:39 +00:00
Mike Kestner
95c418fe40 2009-05-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* glib/ValueArray.cs: use type specific PtrToStructure marshaling to
	avoid ArgumentExceptions.  [Fixes #503467]

svn path=/trunk/gtk-sharp/; revision=134074
2009-05-13 19:04:40 +00:00
Mike Kestner
a979e2211b 2009-05-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* glib/Value.cs: Add support for ValueArrays inside GLib.Values.
	* glib/ValueArray.cs: Add GType property to get the ValueArray GType.
	[Fixes #503048]

svn path=/trunk/gtk-sharp/; revision=134073
2009-05-13 18:57:31 +00:00
Mike Kestner
bccd244a70 2009-05-12 Mike Kestner <mkestner@novell.com>
* glib/Value.cs: explicit exception for unknown props.
	[Fixes #502043] Patch by Sebastian Dröge.

svn path=/trunk/gtk-sharp/; revision=134021
2009-05-12 23:53:50 +00:00
Mike Kestner
bb08d67c7a 2009-05-12 Mike Kestner <mkestner@novell.com>
* glib/ValueArray.cs: make ctor(IntPtr) public for binding usage. 
	[Fixes #503189] Patch by Sebastian Dröge.

svn path=/trunk/gtk-sharp/; revision=134011
2009-05-12 23:10:27 +00:00
Mike Kestner
bf6b4299e5 2009-05-12 Mike Kestner <mkestner@novell.com>
* gtk/Application.cs: add the theme initialization workaround for 
	windows.  Hopefully we can find a better solution that doesn't
	involve loading SWF.  [Fixes #471682]

svn path=/trunk/gtk-sharp/; revision=134008
2009-05-12 23:05:37 +00:00
Mike Kestner
64d2064d48 2009-05-06 Mike Kestner <mkestner@novell.com>
* gtk/RadioMenuItem.custom: implement subclassing for group/label 
	ctor.  [Fixes #320971]

svn path=/trunk/gtk-sharp/; revision=133706
2009-05-07 03:43:45 +00:00
Mike Kestner
71656c5839 2009-05-06 Mike Kestner <mkestner@novell.com>
* gtk/PaperSize.custom: add static props for Letter and the other
	named papers.  [Fixes #324687]

svn path=/trunk/gtk-sharp/; revision=133704
2009-05-07 01:50:02 +00:00
Mike Kestner
e91a71949a 2009-05-06 Mike Kestner <mkestner@novell.com>
* glib/Idle.cs: add a Remove overload for consistency.
	* glib/Timeout.cs: add a Remove overload for consistency.
	[Fixes #356138]

svn path=/trunk/gtk-sharp/; revision=133702
2009-05-07 01:22:41 +00:00
Mike Kestner
60618ca6f0 2009-05-06 Mike Kestner <mkestner@novell.com>
* generator/EnumGen.cs: support 1L long values or explicit types.

svn path=/trunk/gtk-sharp/; revision=133685
2009-05-06 20:52:24 +00:00
Mike Kestner
2d8692338d 2009-05-06 Mike Kestner <mkestner@novell.com>
* generator/ReturnValue.cs: null-term array marshaling for vms.
	* generator/VirtualMethod.cs: use ToNative return type in native 
	callbacks.
	[Fixes #501294] Patch by Sebastian Dröge.

svn path=/trunk/gtk-sharp/; revision=133670
2009-05-06 16:20:35 +00:00
Mike Kestner
8c8138e17e 2009-05-06 Mike Kestner <mkestner@novell.com>
* generator/FieldBase.cs: mangle compound typenames for glue.
	[Fixes #501329] Patch by Sebastian Dröge.

svn path=/trunk/gtk-sharp/; revision=133659
2009-05-06 14:58:39 +00:00
Mike Kestner
20ad2b1a31 2009-05-06 Mike Kestner <mkestner@novell.com>
* generator/VirtualMethod.cs: refactoring to reuse retval prop.
	[Fixes #501307] Patch by Sebastian Dröge.

svn path=/trunk/gtk-sharp/; revision=133658
2009-05-06 14:15:21 +00:00
Mike Kestner
26362ced64 2009-05-05 Mike Kestner <mkestner@novell.com>
* glib/GType.cs: ensure threading is initialized in cctor.
	* gtk/Application.cs: ditto.

svn path=/trunk/gtk-sharp/; revision=133585
2009-05-05 15:15:46 +00:00
Stephane Delcroix
9233c9f11a fix the chngelog
svn path=/trunk/gtk-sharp/; revision=133531
2009-05-04 20:35:11 +00:00
Christian Hoff
8996f860ad 2009-05-04 Christian Hoff <christian_hoff@gmx.net>
* generator/ClassField.cs: Derive from StructField.
	* generator/ObjectBase.cs: Implement validation mechanism for
	class structures. If the structure contains bitfields or fields
	of unknown types, we cannot generate it in managed code.
	* generator/GObjectVM.cs: Fall back to glue if the class structure
	cannot be generated.	[Fixes #498051]

svn path=/trunk/gtk-sharp/; revision=133514
2009-05-04 17:39:45 +00:00
Mike Kestner
f11bd79000 2009-05-03 Mike Kestner <mkestner@novell.com>
* glib/Object.cs: revert to old LookupType behavior when Handle is
	not set.  [Fixes #500417]

svn path=/trunk/gtk-sharp/; revision=133451
2009-05-03 22:49:12 +00:00
Stephane Delcroix
983fb81a96 2009-05-03 Stephane Delcroix <sdelcroix@novell.com>
* glib/Idle.cs:
	* glib/Timeout.cs: add Add() overloads taking a priority
	* glib/Makefile.am:
	* glib/Property.cs: Property enum, used as argument for the new Add
	overloads

svn path=/trunk/gtk-sharp/; revision=133444
2009-05-03 19:34:22 +00:00
Mike Kestner
db6124ebd4 oops
svn path=/trunk/gtk-sharp/; revision=133394
2009-05-02 16:52:07 +00:00
Mike Kestner
2e86916282 2009-05-02 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata: updates for new RecentItems prop.
	* gtk/Makefile.am: add new custom.
	* gtk/RecentManager.custom: obsolete Items prop impl.

svn path=/trunk/gtk-sharp/; revision=133393
2009-05-02 16:51:34 +00:00
Mike Kestner
d83dcd8994 2009-05-02 Mike Kestner <mkestner@novell.com>
* configure.in.in: forward port of a win32 fix from 2-12-branch.

svn path=/trunk/gtk-sharp/; revision=133392
2009-05-02 16:21:07 +00:00
Mike Kestner
a3bb0c1e31 2009-05-01 Mike Kestner <mkestner@novell.com>
* glib/Object.cs: get gtype from instance data.
	* glib/Value.cs: use instance NativeType when initing for props.
	[Fixes #500157] Patch by Sebastian Dröge.

svn path=/trunk/gtk-sharp/; revision=133282
2009-05-01 18:40:44 +00:00
Mike Kestner
9e3a996ea6 2009-04-28 Mike Kestner <mkestner@novell.com>
* generator/Parameters.cs: ref parameter marshaling fix.
	[Fixes #498472] Patch by Sebastian Dröge.

svn path=/trunk/gtk-sharp/; revision=132863
2009-04-28 17:09:41 +00:00
Christian Hoff
e886e07a1f 2009-04-27 Christian Hoff <christian_hoff@gmx.net>
* gtk/Widget.custom: Implement signal registration for the
	Activate, SettScrollAdjustments and key binding signals
 	in managed code.

svn path=/trunk/gtk-sharp/; revision=132771
2009-04-27 17:55:30 +00:00
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
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
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
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
Mike Kestner
2110dad6d1 2009-01-08 Mike Kestner <mkestner@novell.com>
* cairo/Makefile.am: use mono.snk to sign the Mono.Cairo assembly
	so that it's compatible with mono built versions.  Initial patch
	from Christian Hoff with a few tweaks.

svn path=/trunk/gtk-sharp/; revision=122821
2009-01-08 20:05:24 +00:00
Mike Kestner
756e0c49b9 2009-01-08 Mike Kestner <mkestner@novell.com>
* generator/InterfaceGen.cs: generate Adapters for consume_only ifaces
	too.  This seems unusual, but is primarily to produce at least one
	'generic' implementation of every interface and a GetObject method
	so that the marshaling code can always return an object which
	implements the interface, even if no public object wrapper exists for
	the underlying c GObject type.

svn path=/trunk/gtk-sharp/; revision=122814
2009-01-08 19:27:54 +00:00
Mike Kestner
1a16f66803 2009-01-08 Mike Kestner <mkestner@novell.com>
* generator/ReturnValue.cs: map gfilename* list elements to type
	ListBase.FilenameString so they are marshaled correctly.
	* glib/Marshaller.cs: handle FilenameStrings in ListPtrToArray.
	* gtk/Gtk.metadata: FileChooser.GetFilenames and ListShortcutFolders
	return type mangling to avoid custom implementations.
	* gtk/FileChooser*.custom: kill manual Filenames and ShortcutFolders.

svn path=/trunk/gtk-sharp/; revision=122802
2009-01-08 18:43:00 +00:00
Stephane Delcroix
d1c4559b3b 2009-01-08 Stephane Delcroix <sdelcroix@novell.com>
* gio/Gio.metadata: change AppInfo's CanRemoveSupportsType to a
	property.

svn path=/trunk/gtk-sharp/; revision=122775
2009-01-08 15:27:31 +00:00
Stephane Delcroix
651654d72b 2009-01-08 Stephane Delcroix <sdelcroix@novell.com>
* gio/Gio.metadata: change AppInfo's ShouldShow, SupportsFiles and
	SupportsUris to properties.

svn path=/trunk/gtk-sharp/; revision=122746
2009-01-08 10:15:28 +00:00
Mike Kestner
f38c129f6d 2009-01-07 Mike Kestner <mkestner@novell.com>
* generator/MethodBody.cs: avoid null ref when passing null to
	destroy notified callback parameters. [Fixes #464120]

svn path=/trunk/gtk-sharp/; revision=122677
2009-01-07 17:10:08 +00:00
Mike Kestner
33cd36a8fd 2009-01-06 Mike Kestner <mkestner@novell.com>
* configure.in.in: update to use mdoc.
	* doc/Makefile.am: update to use mdoc.
	* doc/gtk-sharp-docs.source: add node element to conform to new
	monodoc layout model.

svn path=/trunk/gtk-sharp/; revision=122568
2009-01-06 17:38:06 +00:00
Andrés G. Aragoneses
8ffc1097fb revert r122505
svn path=/trunk/gtk-sharp/; revision=122553
2009-01-06 15:27:12 +00:00
Stephane Delcroix
24512d951a 2009-01-06 Stephane Delcroix <sdelcroix@novell.com>
* gtk/Gtk.metadata: fix gtk_icon_theme_lookup_by_gicon return-type
	and name.

svn path=/trunk/gtk-sharp/; revision=122530
2009-01-06 09:40:54 +00:00
Stephane Delcroix
c003c94a2a 2009-01-06 Stephane Delcroix <sdelcroix@novell.com>
* gtk/Gtk.metadata: fix gicon property name for CellRendererPixbuf

svn path=/trunk/gtk-sharp/; revision=122529
2009-01-06 09:40:23 +00:00
Stephane Delcroix
5658b0feb7 2009-01-06 Stephane Delcroix <sdelcroix@novell.com>
* gtk/Gtk.metadata: fix gicon property, getter and setter for StatusIcon

svn path=/trunk/gtk-sharp/; revision=122528
2009-01-06 09:40:00 +00:00
Stephane Delcroix
af3707e207 2009-01-06 Stephane Delcroix <sdelcroix@novell.com>
* gtk/Gtk.metadata: rename SetFromGicon to SetFromIcon and GetGicon to
	GetIcon.

svn path=/trunk/gtk-sharp/; revision=122527
2009-01-06 09:39:21 +00:00
Stephane Delcroix
866ba3561a 2009-01-06 Stephane Delcroix <sdelcroix@novell.com>
* gtk/Gtk.metadata: fix the gtk_image_get_gicon signature (pass as out)

svn path=/trunk/gtk-sharp/; revision=122526
2009-01-06 09:39:08 +00:00
Stephane Delcroix
438788f2a9 2009-01-06 Stephane Delcroix <sdelcroix@novell.com>
* gtk/Gtk.metadata: rename the Gicon property of GtkImage to Icon.

svn path=/trunk/gtk-sharp/; revision=122525
2009-01-06 09:38:45 +00:00
Andrés G. Aragoneses
1f40330573 2009-01-05 Andrés G. Aragoneses <aaragoneses@novell.com>
* GType.cs: convert GType.Is to a non-static function.
        * Value.cs: track API.
        [Last cosmetic bit from #448009]


svn path=/trunk/gtk-sharp/; revision=122505
2009-01-06 03:36:56 +00:00
Stephane Delcroix
f5e7bbb7b0 2009-01-05 Stephane Delcroix <sdelcroix@novell.com>
* bootstrap-2.14:
	* bootstrap-generic:
	* configure.in.in: depend on glib/gio 2.18

svn path=/trunk/gtk-sharp/; revision=122467
2009-01-05 16:30:59 +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
65f96d21dc 2009-01-04 Mike Kestner <mkestner@novell.com>
* glib/GType.cs: fix incorrect null check noticed by Christian Hoff.
	[Fixes #463445]

svn path=/trunk/gtk-sharp/; revision=122390
2009-01-04 16:52:22 +00:00
Mike Kestner
6e4604699e 2009-01-02 Mike Kestner <mkestner@novell.com>
* configure.in.in: clarify the Mono.Cairo summary comment.

svn path=/trunk/gtk-sharp/; revision=122356
2009-01-02 22:03:06 +00:00
Andrés G. Aragoneses
a8b28619be 2008-12-22 Andrés G. Aragoneses <aaragoneses@novell.com>
* glib/GType.cs: simplify, avoiding a static method.  
        * generator/InterfaceGen.cs: track API.
        * glib/Value.cs: reuse g_type_is_a.
        [Improves fix for #448009 in r121990]


svn path=/trunk/gtk-sharp/; revision=121991
2008-12-22 17:16:03 +00:00
Andrés G. Aragoneses
8191911b26 2008-12-22 Andrés G. Aragoneses <aaragoneses@novell.com>
* generator/InterfaceGen.cs: use the new GLib API to detect
	instances that don't implement GInterfaces.
	* glib/GType.cs: add new API for checking if an IntPtr instance
	implements a certain GType.
	[Fixes #448009]


svn path=/trunk/gtk-sharp/; revision=121990
2008-12-22 17:02:09 +00:00
Stephane Delcroix
3a87d8d650 2008-12-11 Stephane Delcroix <sdelcroix@novell.con>
* glib/Timeout.cs: map AddSeconds ().

svn path=/trunk/gtk-sharp/; revision=121925
2008-12-20 13:03:07 +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
8cf702ea12 2008-12-12 Mike Kestner <mkestner@novell.com>
* bootstrap-2.12: tagged for 2.12.7.  Bump svn version.
	* audit/base: update base apiinfo's for 2.12 stable api.

svn path=/trunk/gtk-sharp/; revision=121431
2008-12-12 16:10:15 +00:00
Andrés G. Aragoneses
470776ccea * glib/Signal.cs: Improve protection against invalid signals.
svn path=/trunk/gtk-sharp/; revision=121045
2008-12-08 21:54:20 +00:00
Stephane Delcroix
66be12eebe 2008-12-02 Stephane Delcroix <sdelcroix@novell.com>
* generator/Ctor.cs:
	* generator/Method.cs:
	* generator/MethodBase.cs: refactor the Protection from Method to
	MethodBase, generate ctors with the correct proteciton too.

svn path=/trunk/gtk-sharp/; revision=120487
2008-12-02 15:03:02 +00:00
Mike Kestner
b519876db7 2008-12-01 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata: automarshal TreeSelection.GetSelectedRows.
	* gtk/TreeSelection.custom: kill GetSelectedRows customization.
	[Fixes #450689]

svn path=/trunk/gtk-sharp/; revision=120458
2008-12-02 04:26:50 +00:00
Mike Kestner
d6b581ba94 2008-12-01 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata: automarshal TreeView.Columns.
	* gtk/TreeView.custom: kill Columns customization.
	[Fixes #450685]

svn path=/trunk/gtk-sharp/; revision=120455
2008-12-02 03:59:48 +00:00
Mike Kestner
0018a5a4f0 2008-11-28 Mike Kestner <mkestner@novell.com>
* generator/Signal.cs: remove ref int workaround now that we fallback
	to signal-specific marshalers for G_TYPE_POINTER using signals.
	Fixes #450119.

svn path=/trunk/gtk-sharp/; revision=120254
2008-11-28 20:16:26 +00:00
Stephane Delcroix
6a9baad400 2008-11-26 Stephane Delcroix <sdelcroix@novell.com>
* gtk/Image.custom:
	* gtk/Gtk.metadata: obsolete Image.FromPixbuf, FromAnimation,
	FromFile setters in favor of already existing Pixbuf, Animation and
	File.

svn path=/trunk/gtk-sharp/; revision=120096
2008-11-26 20:34:27 +00:00
Mike Kestner
346d4d685c 2008-11-26 Mike Kestner <mkestner@novell.com>
* bootstrap-2.12: bump svn version.
	* cairo/Makefile.am: policy config is hard-coded, not generated.

svn path=/trunk/gtk-sharp/; revision=120087
2008-11-26 18:02:08 +00:00
Mike Kestner
e710d47363 2008-11-26 Mike Kestner <mkestner@novell.com>
* configure.in.in: prepend CFLAGS environment setting to AC_SUBST.
	Patch from Diego Petteno.  [Fixes #443175]

svn path=/trunk/gtk-sharp/; revision=120084
2008-11-26 17:41:12 +00:00
Mike Kestner
7a52b14c1c 2008-11-25 Mike Kestner <mkestner@novell.com>
* glib/Value.cs: fix for 'IntPtr as object' value construction.

svn path=/trunk/gtk-sharp/; revision=120041
2008-11-26 01:56:46 +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
8d6e58e175 2008-11-21 Mike Kestner <mkestner@novell.com>
* glib/ManagedValue.cs: rework to ref count a ManagedValue instance
	and pass a GCHandle to it around, instead of taking out multiple
	gchandles on the managed target itself.

svn path=/trunk/gtk-sharp/; revision=119648
2008-11-21 17:42:16 +00:00
Stephane Delcroix
1d63a0e3e7 Global.ApplicationName property
2008-11-21  Stephane Delcroix  <sdelcroix@novell.com>

	* glib/Global.cs: implement Global.ApplicationName for localized
	application name.

svn path=/trunk/gtk-sharp/; revision=119633
2008-11-21 16:54:10 +00:00