~reviczky/gtksharp/+git/gtksharp:gtk-sharp-2-12-branch

Last commit made on 2021-03-05
Get this branch:
git clone -b gtk-sharp-2-12-branch https://git.launchpad.net/~reviczky/gtksharp/+git/gtksharp

Branch merges

Branch information

Name:
gtk-sharp-2-12-branch
Repository:
lp:~reviczky/gtksharp/+git/gtksharp

Recent commits

3440993... by Pierre-Louis Prevost <email address hidden>

[Gtk] Fix leak on SizeRequest (#262)

33fabaf... by Marius Ungureanu <email address hidden>

[GLib] Avoid keeping a reference to the error (#292)

The original impl did not take into account exceptions marshalling across thread boundaries so it could end up with the error being accessed after being disposed
Fix this by querying the message in-place, and also clear the error after, to signal to glib that we've suceeded in recovering

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1247180

a915b2c... by Marius Ungureanu <email address hidden>

Fix a regression with tree model interfaces (#284)

04c2981... by =?utf-8?q?Alexander_K=C3=B6plinger?= <email address hidden>

Add Azure Pipelines CI (#281)

76a9a14... by Marius Ungureanu <email address hidden>

Optimize some things that happen on startup paths (#280)

* Reorganize some things and simplify some checks

* [GLib] Fix up binding for g_markup_escape_text

The binding takes gssize, which means we could've passed junk to native via int32 register values

* Seal the gtype attribute, it's internal

* Remove some allocations on a loop and avoid lazy delegate initialization as it always is initialized

* Simplify GetObject code

* No need to clone assemblies here

* TODO Add ignore map for assemblies which don't contain interesting types

* Fast path on GInterfaceAttribute

* Move this back

* Deprecate IgnoreClassInitializers

* Simplify the Object default signal handler usage

* Modify some callback initializations.

They're always initialized right after, having one allocation done early is not that big of a problem

* Use TypeEqualityComparer for type->gtype lookup

* Revert "Deprecate IgnoreClassInitializers"

This reverts commit aeb7f5c76f3759131e623322af1875c0fb129ce8.

* Skip some redundant work

* Add sealed

* Remove todo

* Fix windows to use int, since clong is int

* Apply feedback

* We don't support x64 windows

dedce8d... by Marius Ungureanu <email address hidden>

Add optimize+ flags the build

a663d4e... by Marius Ungureanu <email address hidden>

[Gtk] Fix targetentry bindings (#206)

* [Gtk] Fix targetentry bindings

Part of fix for Bug 27842 - Broken clipboard bindings

* Annotate backwards compat method

* Manually bind WaitForTargets and RequestTargets

* Custom generate TableNewFromList

* Fixups

6a98cdb... by Marius Ungureanu <email address hidden>

[GLib] Fix GLib.Signal.Emit for non-void return values (#276)

2e6bab5... by =?utf-8?q?Alexander_K=C3=B6plinger?= <email address hidden>

Use csc instead of mcs (#272)

mcs sets the timestamp in the PE header to 0 which breaks some MS internal tools, let's use csc instead.

3faabd7... by Ankit Jain

Fix build failure with mcs caused by C#8 changes in mcs

Recent addition of C#8 features to mcs possibly broke this:

```
mcs -out:WidgetViewer.exe -r:../../glib/glib-sharp.dll -r:../../pango/pango-sharp.dll -r:../../atk/atk-sharp.dll -r:../../gdk/gdk-sharp.dll -r:../../gtk/gtk-sharp.dll ./TestCheckButton.cs ./TestColorSelection.cs ./TestRadioButton.cs ./TestRange.cs ./TestStatusbar.cs ./TestDialog.cs ./TestFlipping.cs ./TestSizeGroup.cs ./TestCombo.cs ./TestComboBox.cs ./WidgetViewer.cs
./TestCombo.cs(17,14): warning CS0612: `Gtk.Combo' is obsolete
./TestRange.cs(35,6): error CS0104: `Range' is an ambiguous reference between `System.Range' and `Gtk.Range'
@/external/bockbuild/stage/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error)
@/external/bockbuild/builds/gtk-sharp-None/sample/test/../../gtk/gtk-sharp.dll (Location of the symbol related to previous error)
./TestRange.cs(35,13): error CS0030: Cannot convert type `Gtk.HScale' to `System.Range'
./TestRange.cs(42,6): error CS0104: `Range' is an ambiguous reference between `System.Range' and `Gtk.Range'
@/external/bockbuild/stage/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error)
@/external/bockbuild/builds/gtk-sharp-None/sample/test/../../gtk/gtk-sharp.dll (Location of the symbol related to previous error)
./TestRange.cs(42,13): error CS0030: Cannot convert type `Gtk.HScrollbar' to `System.Range'
./TestRange.cs(62,6): error CS0104: `Range' is an ambiguous reference between `System.Range' and `Gtk.Range'
@/external/bockbuild/stage/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error)
@/external/bockbuild/builds/gtk-sharp-None/sample/test/../../gtk/gtk-sharp.dll (Location of the symbol related to previous error)
./TestRange.cs(62,13): error CS0030: Cannot convert type `Gtk.VScale' to `System.Range'
```

This is because the compiler is resolving `Range` in the test as `System.Range`
instead of `Gtk.Range`, so we disambiguate it.

/cc @marek-safar