Commit Graph

3763 Commits

Author SHA1 Message Date
MIkkel Kruse Johnsen
be3214dd29 Merge pull request #20 from grendello/fix_array_usage
Fix System.Array usage in {List,Tree}Store
2016-12-18 10:18:31 +01:00
MIkkel Kruse Johnsen
669efed8a2 Merge pull request #21 from grendello/fix_actionmap
Fix the ActionMap.AddActionEntries API
2016-12-18 10:17:31 +01:00
Marek Habersack
5e164b4340 Fix the ActionMap.AddActionEntries API
The 'entries' parameter is an array.
2016-12-18 00:09:43 +01:00
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
MIkkel Kruse Johnsen
048ebea24b Merge pull request #19 from ASoftTech/master
Pull request for a few different changes
2016-10-18 11:27:22 +02:00
grbd
43c86d7fe6 updated patches for 3.22 2016-10-17 20:20:23 +01:00
grbd
9c00e25617 Added some code for trying out the build of Gtksharp using dotnet cli from .Net core 2016-10-17 20:09:26 +01:00
grbd
c45e3558b6 Rewrite of the nuget package genertion code, also included the glue libs 2016-10-17 20:05:48 +01:00
MIkkel Kruse Johnsen
3a80531bdb Merge pull request #18 from grbd/Nuget
Added python scripts for building NuGet packages via windows or linux
2016-10-01 10:30:15 +02:00
grbd
99a859932e Added python scripts for building NuGet packages via windows or linux 2016-10-01 02:55:46 +01:00
Mikkel Kruse Johnsen
728c1f5aa7 Try to wrap NativeDialog for Windows 2016-07-25 14:40:26 +02:00
Mikkel Kruse Johnsen
182aa7e702 Updated to 3.20.6 2016-07-25 14:39:55 +02:00
Mikkel Kruse Johnsen
f861aeb27b Merge from upstream 2016-07-25 14:39:39 +02:00
Mikkel Kruse Johnsen
9758c7ab8a Merge branch 'master' of github.com:openmedicus/gtk-sharp 2016-07-25 08:40:13 +02:00
Mikkel Kruse Johnsen
8e355c73d3 Updated to 3.20.6 and included SimpleAction 2016-07-25 08:40:09 +02:00
MIkkel Kruse Johnsen
fe849a7e90 Merge pull request #16 from grbd/master
Small change to allow for building against latest gtk3
2016-07-25 08:21:14 +02:00
grbd
7918531657 Small change to allow for building against latest gtk3 2016-06-30 17:26:16 +01:00
Mikkel Kruse Johnsen
b898323bba Added StyleProviderPriority 2016-06-08 14:39:17 +02:00
Mikkel Kruse Johnsen
7236eb3fa7 Upstream patches 2016-06-08 08:56:55 +02:00
Mikkel Kruse Johnsen
8134f48a5a Generate 'rgba' property 2016-05-17 10:51:59 +02:00
Mikkel Kruse Johnsen
110b73dbb7 Generate GdkColor properties 2016-05-17 09:23:03 +02:00
Mikkel Kruse Johnsen
c1daeff0eb Made alias Symbol GdkRgba to GdkRGBA. This will provide properties of the type GdkRGBA in Gtk. 2016-05-17 08:59:19 +02:00
Mikkel Kruse Johnsen
36b6b713e6 Updated to Gtk+ 3.20.4 2016-05-11 09:50:01 +02:00
MIkkel Kruse Johnsen
c6614375db Merge pull request #8 from cra0zy/fixialogcreation
Fix Dialog creation
2016-05-09 10:28:54 +02:00
cra0zy
5e75d001c8 Fix Dialog creation 2016-05-06 10:15:22 +02:00
MIkkel Kruse Johnsen
f0872700a7 Merge pull request #7 from nyxiscoo1/mleakfix
Fixed memory leak when calling Application.Invoke and GLibSynchronizationContext from non GUI thread
2016-02-17 07:25:48 +01:00
nyx
114899f46e Fixed memory leak when scheduling timeout and idle callbacks 2016-02-17 00:02:47 +03:00
MIkkel Kruse Johnsen
28ba4876e3 Merge pull request #3 from orion75/gtk-sharp-3-14-branch
gtk: Fix return types for null_term_array* methods in AboutDialog
2015-12-02 10:40:51 +01:00
Mikkel Kruse Johnsen
0b38a45627 Update to 3.18.5. Downgrade API tp 3.0.0.0. So that you don't have to change Mono Developer project everytime you update gtk-sharp. We should update API to 4.0.0.0 when gtk+-4.0.0 is out. 2015-12-02 09:22:51 +01:00
Mikkel Kruse Johnsen
2c5ba65fa7 Updated to gtk+ 3.18.5 2015-12-02 09:20:44 +01:00
Mikkel Kruse Johnsen
b0d741fce4 Use PACKAGE_VERSION 3.0 2015-11-10 15:29:21 +01:00
Mikkel Kruse Johnsen
a8d9a119d8 Update to Gtk 3.18.2
Had to change gapi2xml.pl to use the new properties method/macro in gtkwindow.c
- Issue, "invisible-chars" and "inner-border" is generated twice in gtkentry.c

Made patch to gwin32registrykey to use little endian by default. So Windows om ARM may fail.
2015-11-10 11:37:34 +01:00
Harol Alfonso Reina
4c65e70975 gtk: Fix return types for null_term_array* methods in AboutDialog
this corrects the properties Authors, Artists and Documenters
2015-11-06 13:46:10 -05:00
MIkkel Kruse Johnsen
62b9345c7f Merge pull request #2 from orion75/gtk-sharp-3-14-branch
Gtk sharp 3 14 branch
2015-10-30 08:23:19 +01:00
Harol Alfonso Reina
c099ec1fac build: Post-release version bump to 3.14.0, Update API_VERSION, Update PACKAGE_VERSION 2015-10-29 12:31:21 -05:00
Harol Alfonso Reina
c2fd7af4b4 Changed type of property BackgroundGdk in gtk-api.raw 2015-10-29 12:28:34 -05:00
Martin Kupec
a76f60df81 Add possibility to pick glib type name for custom classes
This patch adds TypeName attribute which can be used on custom class
derived from GLib.Object in order to set GLib type name of the class.
2015-10-29 12:25:16 -05:00
Martin Kupec
5a7a0f7a3c Fix properties setting when constructing GLib.Objects
This is a proper fix of old FIXME.
It defers setting of managed properties during GLib.Object construction
until we have paired Managed and Unmanaged objects.
2015-10-29 12:14:55 -05:00
Harol Alfonso Reina Herrera
b20872aa41 Revert: Seperate pkgconfig version from package version 2015-10-29 11:43:03 -05:00
Harol Alfonso Reina Herrera
018b624236 Create gtkdotnet Project in Solution 2015-10-29 11:25:24 -05:00
Harol Alfonso Reina Herrera
c7dfa5decc Update Solution to Visual Studio 2013 2015-10-29 11:19:50 -05:00
Harol Alfonso Reina Herrera
751a5ceed5 Update References file's in csproj 2015-10-29 10:10:23 -05:00
Harol Alfonso Reina Herrera
16310b15a0 Update csproj TargetFrameworkVersion 2015-10-29 09:24:44 -05:00
Antonius Riha
d98f6c3421 csproj ToolsVersion to 4.0 2015-10-29 08:48:49 -05:00
Mikkel Kruse Johnsen
542be14153 Constructor 2015-09-04 13:56:56 +02:00
Mikkel Kruse Johnsen
e34a6d7606 Return false if no border set 2015-09-04 13:21:17 +02:00
Mikkel Kruse Johnsen
e1cba4116a Rename RowActivated to ListRowActivated for ListBox 2015-09-04 12:08:06 +02:00
Mikkel Kruse Johnsen
95f59a7b5a Fix IScrollable and List class 2015-09-04 11:54:19 +02:00
Mikkel Kruse Johnsen
6774f0b71d Track 3.16.6 2015-09-04 11:15:29 +02:00
Mikkel Kruse Johnsen
120b3ce9cd Merge remote-tracking branch 'upstream/master' 2015-07-24 07:42:55 +02:00