GtkSharp/gtk
Marek Habersack 2c82d95b58 Fix System.Array usage in {List,Tree}Store
{List,Tree}Store.AppendValues overloads which take System.Array as their
'values' parameter incorrectly pass the array down to SetValues. The latter
expects a 'params object[]' array of parameters but passing an instance of
System.Array to such method will NOT pass the contents of System.Array instance
into the 'params' method as separate members of the parms array. It will instead
box System.Array and the params method will receive one parameter of type
System.Array instead of X parameters of various types. This affects the
following example code:

   var store = new TreeStore (typeof (string), typeof (int));
   store.AppendValues ("One", 1);

If the column configured to retrieve the 'string' value reads data from this
store it will instead get an instance of System.Array and the node displayed by
the TreeView will have no text, won't be clickable etc.

The fix implemented here is to "explode" the System.Array into a separate array
of the 'object[]' type.

The 'TreeStore.AppendValues (params object[] values)' overload no longer calls
the 'TreeStore.Appendvalues (Array values)' overload since the indirection only
wastes time and memory. It now directly calls `SetValues`.
2016-12-18 00:08:05 +01:00
..
glue build: fix automake warning about preprocessor C flags 2013-06-17 10:59:28 +02:00
gui-thread-check build: Only build gui-thread-check profiler module on mono 2014-02-23 16:18:28 +01:00
Accel.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
AccelKey.cs gtk: Re-indent code that was moved inside partial classes 2012-08-05 17:24:05 +02:00
Action.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
ActionEntry.cs 2004-11-26 Jeroen Zwartepoorte <jeroen@xs4all.nl> 2004-11-26 14:59:38 +00:00
ActionGroup.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
Adjustment.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
Application.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
ArrayExtensions.cs Fix System.Array usage in {List,Tree}Store 2016-12-18 00:08:05 +01:00
Bin.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
BindingAttribute.cs 2004-12-23 Mike Kestner <mkestner@novell.com> 2004-12-23 22:59:59 +00:00
Builder.cs gtk: Fix Builder xml definition loading 2014-09-21 15:49:10 +02:00
Button.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
Calendar.cs gtk: Re-indent code that was moved inside partial classes 2012-08-05 17:24:05 +02:00
CellAreaBox.cs The rest of the first pass. 2011-02-08 22:15:37 -06:00
CellLayoutAdapter.cs gtk: Move all .custom files to partial classes 2012-08-05 16:32:41 +02:00
CellRenderer.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
CellView.cs gtk: Move all .custom files to partial classes 2012-08-05 16:32:41 +02:00
CheckMenuItem.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
ChildPropertyAttribute.cs Redo child property handling; now we generate classes to hold 2004-11-18 20:31:22 +00:00
Clipboard.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
ColorSelection.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
ComboBox.cs gtk: Move all .custom files to partial classes 2012-08-05 16:32:41 +02:00
ComboBoxText.cs gtk: Fix creation of ComboBox and ComboBoxText subclasses with entry 2011-12-05 19:14:05 +01:00
Container.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
Dialog.cs Fix Dialog creation 2016-05-06 10:15:22 +02:00
Drag.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
Entry.cs gtk: Re-indent code that was moved inside partial classes 2012-08-05 17:24:05 +02:00
EntryCompletion.cs gtk: Move all .custom files to partial classes 2012-08-05 16:32:41 +02:00
FileChooserDialog.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
FileChooserNative.cs Try to wrap NativeDialog for Windows 2016-07-25 14:40:26 +02:00
Frame.cs gtk: Move all .custom files to partial classes 2012-08-05 16:32:41 +02:00
Global.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
gtk-api.raw Made alias Symbol GdkRgba to GdkRGBA. This will provide properties of the type GdkRGBA in Gtk. 2016-05-17 08:59:19 +02:00
gtk-sharp-3.0.pc.in Revert: Seperate pkgconfig version from package version 2015-10-29 11:43:03 -05:00
gtk-sharp.dll.config.in gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
gtk-symbols.xml Generate GdkColor properties 2016-05-17 09:23:03 +02:00
gtk.csproj Fix System.Array usage in {List,Tree}Store 2016-12-18 00:08:05 +01:00
Gtk.metadata Generate 'rgba' property 2016-05-17 10:51:59 +02:00
HBox.cs gtk: Re-indent code that was moved inside partial classes 2012-08-05 17:24:05 +02:00
HScale.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
ICellLayout.cs gtk: Track API changes (I- interface prefixes) 2013-07-23 12:05:24 -05:00
IconFactory.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
IconSet.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
IconTheme.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
IconView.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
Image.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
ImageMenuItem.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
Init.cs gtk: Move all .custom files to partial classes 2012-08-05 16:32:41 +02:00
ITreeModel.cs gtk: Track API changes (I- interface prefixes) 2013-07-23 12:05:24 -05:00
ITreeNode.cs Re-fix for yesterday's fix that didn't actually work. 2005-03-15 15:49:30 +00:00
Key.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
Label.cs gtk: Move all .custom files to partial classes 2012-08-05 16:32:41 +02:00
ListStore.cs Fix System.Array usage in {List,Tree}Store 2016-12-18 00:08:05 +01:00
Makefile.am Fix System.Array usage in {List,Tree}Store 2016-12-18 00:08:05 +01:00
Menu.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
MenuItem.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
MessageDialog.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
NativeDialog.cs Try to wrap NativeDialog for Windows 2016-07-25 14:40:26 +02:00
NodeCellDataFunc.cs 2009-03-04 Christian Hoff <christian_hoff@gmx.net> 2009-03-04 20:33:12 +00:00
NodeSelection.cs gtk: Re-indent code that was moved inside partial classes 2012-08-05 17:24:05 +02:00
NodeStore.cs gtk: Track API changes (I- interface prefixes) 2013-07-23 12:05:24 -05:00
NodeView.cs gtk: Re-enable NodeView.CreateRowDragIcon method 2011-07-03 16:44:15 +02:00
Notebook.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
PaperSize.cs gtk: Move all .custom files to partial classes 2012-08-05 16:32:41 +02:00
Plug.cs Small change to allow for building against latest gtk3 2016-06-30 17:26:16 +01:00
Printer.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
RadioAction.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
RadioActionEntry.cs 2004-11-26 Jeroen Zwartepoorte <jeroen@xs4all.nl> 2004-11-26 14:59:38 +00:00
RadioButton.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
RadioMenuItem.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
RadioToolButton.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
RecentManager.cs gtk: Move all .custom files to partial classes 2012-08-05 16:32:41 +02:00
RowsReorderedHandler.cs 2007-04-17 Mike Kestner <mkestner@novell.com> 2007-04-17 17:42:58 +00:00
ScrolledWindow.cs gtk: Move all .custom files to partial classes 2012-08-05 16:32:41 +02:00
SelectionData.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
Settings.cs gtk: Move all .custom files to partial classes 2012-08-05 16:32:41 +02:00
SpinButton.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
StatusIcon.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
Stock.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
StockItem.cs gtk: Re-indent code that was moved inside partial classes 2012-08-05 17:24:05 +02:00
StockManager.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
Style.cs gtk: Mark the whole Style class as obsolete 2012-11-18 15:55:03 +01:00
StyleContext.cs Add the gtk_render_* methods to StyleContext 2011-04-21 12:10:36 -05:00
StyleProviderPriority.cs Added StyleProviderPriority 2016-06-08 14:39:17 +02:00
Target.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
TargetEntry.cs gtk: Move all .custom files to partial classes 2012-08-05 16:32:41 +02:00
TargetList.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
TextAttributes.cs gtk: Move all .custom files to partial classes 2012-08-05 16:32:41 +02:00
TextBuffer.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
TextChildAnchor.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
TextIter.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
TextMark.cs gtk: Move all .custom files to partial classes 2012-08-05 16:32:41 +02:00
TextTag.cs gtk: Move all .custom files to partial classes 2012-08-05 16:32:41 +02:00
TextView.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
ThreadNotify.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 18:42:19 +00:00
ToggleActionEntry.cs 2004-11-26 Jeroen Zwartepoorte <jeroen@xs4all.nl> 2004-11-26 14:59:38 +00:00
TreeEnumerator.cs gtk: Track API changes (I- interface prefixes) 2013-07-23 12:05:24 -05:00
TreeIter.cs gtk: Move all .custom files to partial classes 2012-08-05 16:32:41 +02:00
TreeMenu.cs The rest of the first pass. 2011-02-08 22:15:37 -06:00
TreeModelAdapter.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
TreeModelFilter.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
TreeModelSort.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
TreeNode.cs * gtk/TreeNode.cs: Add Interlocked.Increment rather than ++. This 2005-08-22 17:11:37 +00:00
TreeNodeAttribute.cs 2005-09-02 Ben Maurer <bmaurer@ximian.com> 2005-09-02 22:04:05 +00:00
TreeNodeValueAttribute.cs 2005-09-02 Ben Maurer <bmaurer@ximian.com> 2005-09-02 22:04:05 +00:00
TreePath.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
TreeSelection.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
TreeStore.cs Fix System.Array usage in {List,Tree}Store 2016-12-18 00:08:05 +01:00
TreeView.cs Update to Gtk 3.18.2 2015-11-10 11:37:34 +01:00
TreeViewColumn.cs gtk: Remove TreeViewColumn.CellRenderers property (bxc#8593) 2013-04-21 13:50:48 +02:00
UIManager.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
VBox.cs gtk: Re-indent code that was moved inside partial classes 2012-08-05 17:24:05 +02:00
Viewport.cs gtk: Move all .custom files to partial classes 2012-08-05 16:32:41 +02:00
VScale.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00
Widget.cs Update to Gtk 3.18.2 2015-11-10 11:37:34 +01:00
Window.cs gtk: Fix dll name and use a const for all DllImports in custom code 2014-02-23 15:12:20 +01:00