Commit graph

3057 commits

Author SHA1 Message Date
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
Stephane Delcroix 5b60a2f909 fix a dllimport
svn path=/trunk/gtk-sharp/; revision=123027
2009-01-12 11:29:21 +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
Mike Kestner 3030c6d535 fix inconsistent line endings
svn path=/trunk/gtk-sharp/; revision=122798
2009-01-08 18:00:47 +00:00
Mike Kestner 4e1837a017 updater namespace file moves
svn path=/trunk/gtk-sharp/; revision=122795
2009-01-08 17:10:47 +00:00
Mike Kestner aa928785b7 GConf doc updates
svn path=/trunk/gtk-sharp/; revision=122792
2009-01-08 16:49:42 +00:00
Mike Kestner 1b41f742f6 glade doc update
svn path=/trunk/gtk-sharp/; revision=122791
2009-01-08 16:40:35 +00:00
Mike Kestner 9efe6c804f whitespace/reordering changes from updater run
svn path=/trunk/gtk-sharp/; revision=122790
2009-01-08 16:34:10 +00:00
Stephane Delcroix fcf0a617e4 doc for MountOperationResult
svn path=/trunk/gtk-sharp/; revision=122781
2009-01-08 15:28:35 +00:00
Stephane Delcroix 7059fb503e doc for Ask[Password|Question][Args|Flags|Handler], MountOperation, PasswordSave, Reply[Args|Handler]
svn path=/trunk/gtk-sharp/; revision=122780
2009-01-08 15:28:27 +00:00