Commit graph

2569 commits

Author SHA1 Message Date
Mike Kestner b14aca9605 flush
svn path=/trunk/gtk-sharp/; revision=75838
2007-04-17 17:45:19 +00:00
Mike Kestner b108f0142e 2007-04-17 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide TreeModel.RowsReordered signal so we can do
	a correct implementation while maintaining compat with the existing 
	broken "NewOrder" parameter.
	* gtk/ListStore.custom : manual RowsReordered signal implementation.
	* gtk/RowsReorderedHandler.cs : manual implementation for preserve compat
	in the Args class. Adds NewChildOrder to replace the broken ChildOrder.
	* gtk/TreeModel.custom : manual RowsReordered signal declaration.
	* gtk/TreeModelFilter.custom : manual RowsReordered signal implementation.
	* gtk/TreeModelSort.custom : manual RowsReordered signal implementation.
	* gtk/TreeStore.custom : manual RowsReordered signal implementation.
	[Fixes #78512]

svn path=/trunk/gtk-sharp/; revision=75837
2007-04-17 17:42:58 +00:00
Ben Motmans e8c9485a52 2007-04-17 Ben Motmans <ben.motmans@gmail.com>
* doc/en/Gtk/Widget.xml:
	removed documentation for internal method

svn path=/trunk/gtk-sharp/; revision=75817
2007-04-17 12:31:19 +00:00
Ben Motmans dfa98a3ea2 2007-04-17 Ben Motmans <ben.motmans@gmail.com>
* gtk/Widget.custom:
	StyleGetPropertyValue that returns a GLib.Value when StyleGetProperty cannot automatically cast the GLib.Value (eg: Gdk.Color)
	[Fixes #81253]
	* doc/en/Gtk/Widget.xml:
	Documentation for the new StyleGetPropertyValue method and improved documentation for StyleGetProperty
	* gtk/TreeView.custom:
	OddRowColor and EvenRowColor properties
	* doc/en/Gtk/TreeView.xml:
	documentation for OddRowColor and EvenRowColor properties

svn path=/trunk/gtk-sharp/; revision=75816
2007-04-17 12:16:58 +00:00
Brad Taylor a66f097de3 2007-04-12 Brad Taylor <brad@getcoded.net>
* doc/en/Gtk/Widget.xml: Documentation for OnActivate, but only because
	Mike asked so nicely.


svn path=/trunk/gtk-sharp/; revision=75660
2007-04-12 18:54:36 +00:00
Mike Kestner f7c136e1f5 Brad, this one's for you! ;-) Thanks.
svn path=/trunk/gtk-sharp/; revision=75659
2007-04-12 18:34:48 +00:00
Mike Kestner 2ff726d3e6 2007-04-12 Mike Kestner <mkestner@novell.com>
* glib/Object.cs : do the Timeout switch in the finalizer
	instead of in Dispose, where it can cause problems if people
	override Dispose.
	* generator/ObjectGen.cs : don't generate finalizers for every
	subclass, just rely on the ~GLib.Object implementation.

svn path=/trunk/gtk-sharp/; revision=75657
2007-04-12 18:01:33 +00:00
Mike Kestner a8b11a7445 2007-04-12 Mike Kestner <mkestner@novell.com>
* glib/Idle.cs :
	* glib/Timeout.cs : don't add the CDeclCallback attr to the
	public delegate type, since it causes a MissingMethod exception
	on win32.

svn path=/trunk/gtk-sharp/; revision=75656
2007-04-12 17:57:50 +00:00
Brad Taylor 7142444f6c 2007-04-09 Brad Taylor <brad@getcoded.net>
* gtk/glue/widget.c:
	* gtk/Widget.custom: Bind activate_signal in GtkWidgetClass.


svn path=/trunk/gtk-sharp/; revision=75653
2007-04-12 17:17:09 +00:00
Mike Kestner c320772499 2007-04-05 Mike Kestner <mkestner@novell.com>
* glib/ToggleRef.cs : flush a few leftover changes from a
	ToggleRef refinement.

svn path=/trunk/gtk-sharp/; revision=75457
2007-04-05 19:59:23 +00:00
Miguel de Icaza e24aba119a Contribution from pupeno@pupeno.com
svn path=/trunk/gtk-sharp/; revision=74508
2007-03-17 00:30:10 +00:00
Mike Kestner b9a21bee0b 2007-03-15 Mike Kestner <mkestner@novell.com>
* generator/CallbackGen.cs : generate try/catch blocks for
	native to managed marshallers.  [Fixes the rest of #80516]

svn path=/trunk/gtk-sharp/; revision=74425
2007-03-15 21:26:38 +00:00
Miguel de Icaza 67e0177c0b Patch from lluis@ximian.com
svn path=/trunk/gtk-sharp/; revision=74383
2007-03-15 15:27:03 +00:00
Miguel de Icaza e2b1f2b6b1 Contributions from cesar2879@yahoo.com
svn path=/trunk/gtk-sharp/; revision=74378
2007-03-15 15:25:19 +00:00
Mike Kestner fd01afc12b 2007-03-08 Mike Kestner <mkestner@novell.com>
* glib/Signal.cs : guard against NULL gchandles.
	* gdk/Input.custom : add try/catch blocks to native callbacks.
	* gtk/*.custom : ditto
	* gtk/NodeStore.cs : ditto

svn path=/trunk/gtk-sharp/; revision=74004
2007-03-09 14:22:43 +00:00
Mike Kestner 57810954a3 2007-03-08 Mike Kestner <mkestner@novell.com>
* glib/*.cs : add try/catch blocks to native callback
	methods for DestroyNotify, Copy/Free, and ToggleNotify handlers.  
	Raise UnhandledException events on catches.  

svn path=/trunk/gtk-sharp/; revision=73965
2007-03-08 20:28:24 +00:00
Mike Kestner da407f8ed7 2007-03-06 Mike Kestner <mkestner@novell.com>
* generator/Signal.cs : add try/catch blocks to native callback
	virtual method delegate too.

svn path=/trunk/gtk-sharp/; revision=73849
2007-03-06 21:45:51 +00:00
Mike Kestner 32de2832db 2007-03-06 Mike Kestner <mkestner@novell.com>
* generator/Signal.cs : add try/catch blocks to native callback
	delegates so that exceptions are not propagated across the native
	boundary.  Now raises GLib.ExceptionManager.UnhandledException.
	* glib/ExceptionManager.cs : new class with UnhandledException
	event and a static method to raise it.
	* glib/Signal.cs : wrap the generic EventHandler callback delegate
	with try/catch blocks and raise the UnhandledException event.

svn path=/trunk/gtk-sharp/; revision=73840
2007-03-06 20:10:15 +00:00
Mike Kestner 6a00328dd1 2007-03-05 Mike Kestner <mkestner@novell.com>
* gtk/Application.custom : set prgname in Init methods so
	that WM_CLASS is more appropriate.  Programs using Gnome.Program
	already get a nice prgname, but Gtk.Application.Init apps were
	getting a path instead of a filename without extension.

svn path=/trunk/gtk-sharp/; revision=73766
2007-03-05 22:33:19 +00:00
Mike Kestner eab29b501e handle private virtual methods
svn path=/trunk/gtk-sharp/; revision=73648
2007-03-02 18:25:22 +00:00
Mike Kestner d90a1ff3f5 mark an internal win32 api obsolete
svn path=/trunk/gtk-sharp/; revision=73647
2007-03-02 18:08:38 +00:00
Mike Kestner 07cefb227c some more print api docs
svn path=/trunk/gtk-sharp/; revision=73646
2007-03-02 18:06:55 +00:00
Mike Kestner 3e4881d3c1 unstub parameters and reduce spew
svn path=/trunk/gtk-sharp/; revision=73645
2007-03-02 18:05:38 +00:00
Mike Kestner 1b4aec9d52 docs for brad's AlternativeButtonOrder patch
svn path=/trunk/gtk-sharp/; revision=73615
2007-03-01 19:10:21 +00:00
Brad Taylor 90e207c45b 2007-03-01 Brad Taylor <brad@getcoded.net>
* gtk/Dialog.custom: obsolete old, improperly bound
	  SetAlternateButtonOrderFromArray.
	* gtk/Gtk.metadata: fix binding of the
	  gtk_dialog_set_alternate_button_order_from_array. [Fixes #80706]


svn path=/trunk/gtk-sharp/; revision=73614
2007-03-01 18:49:32 +00:00
Mike Kestner fab4c3eed1 2007-03-01 Mike Kestner <mkestner@novell.com>
* generator/MethodBody.cs : handle set method conversion to 
	property for array parameters with preceding count params.

svn path=/trunk/gtk-sharp/; revision=73613
2007-03-01 18:37:06 +00:00
Mike Kestner 6698da1e41 2007-02-21 Peter Johanson <peter@peterjohanson.com>
* gtk/glue/cellrenderer.c: revert to previous implementation of
	_base_ functions to maintain backward-stability. [Fixes #77949]

svn path=/trunk/gtk-sharp/; revision=73271
2007-02-21 19:19:09 +00:00
Mike Kestner 4183bad5cc 2007-02-16 Peter Johanson <peter@peterjohanson.com>
* gtk/CellRenderer*.custom: new custom overrides for VMs.
	* gtk/glue/cellrenderer.c: add GType parameters to the invoke methods
	so we can identify the correct vtable to invoke from.

svn path=/trunk/gtk-sharp/; revision=73037
2007-02-16 18:28:37 +00:00
Mike Kestner 2469ba16ef 2007-02-16 Mike Kestner <mkestner@novell.com>
* glib/Object.cs : switch to ToggleRefs for all items created with
	CreateNativeObject.  This gets all managed subclasses, with a little
	overhang into simple wrappers.
	* glib/ToggleRef.cs : new class to manage the weak to strong ref 
	transitions as a native object flips between shared and unshared
	ownership.
	* gtk/Object.custom : revamp of the Destroyed signal handling. 
	* gtk/Gtk.metadata : hide destroy signal so we can deal with it 
	manually. [Fixes the reopen note of #72018.]

svn path=/trunk/gtk-sharp/; revision=73023
2007-02-16 16:18:59 +00:00
Miguel de Icaza 33dc5b11e5 Contributions from lnc19@hotmail.com
svn path=/trunk/gtk-sharp/; revision=72613
2007-02-11 14:02:31 +00:00
Mike Kestner d2c6e9e528 update to new monodocer stub text
svn path=/trunk/gtk-sharp/; revision=72435
2007-02-07 16:52:56 +00:00
Mike Kestner d224dd1cbc 2007-02-03 Mike Kestner <mkestner@novell.com>
* gtk/StatusIcon.custom : obsolete overload for backcompat on
	GetGeometry, and custom PresentMenu method to invoke new glue.
	* gtk/glue/statusicon.c : glue method to connect to gtk_menu_popup
	without having to go across the native/managed boundary multiple
	times using gtk_status_icon_position_menu wrapper.
	[Fixes #79500]

svn path=/trunk/gtk-sharp/; revision=72236
2007-02-03 17:55:23 +00:00
Brad Taylor 6cfb64e1ca 2007-02-02 Brad Taylor <brad@getcoded.net>
* gdk/Gdk.metadata: fix incorrect ref_count with Pixbuf's
	  RotateSimple method.


svn path=/trunk/gtk-sharp/; revision=72185
2007-02-02 17:52:43 +00:00
Mike Kestner 1d105a960b 2007-01-09 Mike Kestner <mkestner@novell.com>
* generator/CallbackGen.cs : add PersistUntilCalled method generation
	to the wrapper class.  Holds a GCHandle for the wrapper which is Freed
	when the delegate is invoked.
	* generator/MethodBody.cs : add "async" case for delegate scope.  Use
	this scope to identify a callback parameter that needs to persist 
	until the native side calls back.  Only valid for single-invoke
	callbacks.
	* gtk/Gtk.metadata : mark Print.RunPageSetupDialogAsync done_cb param
	with the new async scope.

svn path=/trunk/gtk-sharp/; revision=71767
2007-01-26 20:46:09 +00:00
Mike Kestner 6844495fce another batch of 2.10 API documentation
svn path=/trunk/gtk-sharp/; revision=71672
2007-01-25 16:17:39 +00:00
Mike Kestner be5b4c326f stupid little utility prog to add since tags to a bunch of files
svn path=/trunk/gtk-sharp/; revision=71553
2007-01-23 20:02:33 +00:00
Mike Kestner 300994f723 more 2.10 docs
svn path=/trunk/gtk-sharp/; revision=71551
2007-01-23 19:52:31 +00:00
Mike Kestner 34ce7f7282 close a para element. oops.
svn path=/trunk/gtk-sharp/; revision=71483
2007-01-22 22:21:17 +00:00
Mike Kestner c42a9eb1df event args docs for 2.10 API additions.
svn path=/trunk/gtk-sharp/; revision=71474
2007-01-22 21:47:06 +00:00
Mike Kestner 85c4be0888 event handler docs for 2.10 API additions.
svn path=/trunk/gtk-sharp/; revision=71460
2007-01-22 20:37:22 +00:00
Mike Kestner 9210a3fdcb 2007-01-22 Mike Kestner <mkestner@novell.com>
* gen-handlerargs-docs.cs : update to new stubbing text and
	generate some parameter docs for the event handlers.

svn path=/trunk/gtk-sharp/; revision=71459
2007-01-22 20:29:00 +00:00
Mike Kestner 068ffa492c new vte types in 2.16, stubbed
svn path=/trunk/gtk-sharp/; revision=71206
2007-01-17 16:23:44 +00:00
Mike Kestner a0a7af3df3 updates to latest monodocer -pretty and since tags for 2.16 API
svn path=/trunk/gtk-sharp/; revision=71205
2007-01-17 16:19:38 +00:00
Mike Kestner 79231982e0 updates to latest monodocer -pretty and since tags for 2.16 API
svn path=/trunk/gtk-sharp/; revision=71155
2007-01-16 17:19:22 +00:00
Mike Kestner 3883820c97 updates to latest monodocer -pretty
svn path=/trunk/gtk-sharp/; revision=71153
2007-01-16 17:00:50 +00:00
Mike Kestner 91d63cee7a updates to latest monodocer -pretty
svn path=/trunk/gtk-sharp/; revision=71149
2007-01-16 16:18:05 +00:00
Mike Kestner 004fb39256 updates to latest monodocer -pretty and new assembly version
svn path=/trunk/gtk-sharp/; revision=71144
2007-01-16 15:35:52 +00:00
Mike Kestner faadf1c45d updates to latest monodocer -pretty
svn path=/trunk/gtk-sharp/; revision=71143
2007-01-16 15:33:48 +00:00
Mike Kestner 8446f9e94d updates to latest monodocer -pretty and new assembly version
svn path=/trunk/gtk-sharp/; revision=71142
2007-01-16 15:30:34 +00:00
Mike Kestner 04ec18f4f4 updates to latest monodocer -pretty
svn path=/trunk/gtk-sharp/; revision=71141
2007-01-16 15:28:18 +00:00