Permalink
Commits on Dec 4, 2011
  1. Object: Fix ToggleRef disposing when we're being finalized

    We should not try to dispose our ToggleRef when Dispose(bool) has been
    called by the finalizer, because we should not reference any managed
    objects.
    
    Set and check the disposed flag inside of Dispose(bool) so that it's
    also done when the object is finalized.
    
    Also clear up a confusion between a local ToggleRef variable in Dispose
    and the ToggleRef member field.
    committed Dec 4, 2011
Commits on Nov 21, 2011
  1. Merge pull request #26 from dufoli/master

    ginterface properties support
    mkestner committed Nov 21, 2011
Commits on Nov 20, 2011
Commits on Nov 16, 2011
Commits on Oct 13, 2011
  1. Remove source delegates by id.

    * glib/Idle.cs: use g_source_remove and id in Remove(Delegate)
    * glib/Timeout.cs: use g_source_remove and id in Remove(Delegate)
    [Fixes #632765]
    mkestner committed Oct 13, 2011
Commits on Oct 8, 2011
  1. Implement IEquatable<T> on structs.

    * gdk/Gdk.metadata: suppress Color.GetHashCode().
    * gdk/Point.custom: remove generated methods.
    * generator/StructBase.cs: Generate Equals(T), Equals(object), and GetHashCode.
    * generator/StructField.cs: helper property for equality testing.
    * gtk/TreeIter.custom: remove generated methods.
    mkestner committed Oct 8, 2011
Commits on Oct 2, 2011
  1. Remove incorrect documentation.

    * doc/en/Pango/Layout.xml: remove null verbiage for out parameters
        to GetExtents.
    mkestner committed Oct 2, 2011
Commits on Sep 26, 2011
  1. Merge pull request #25 from Forage/master

     GAPI: Additonal types support + class const fields support
    mkestner committed Sep 26, 2011
  2. Add support for GValueArray type

    Forage committed Sep 26, 2011
Commits on Sep 6, 2011
  1. Merge pull request #24 from dufoli/master

    Fix NRE for SetBackgroundPattern
    mkestner committed Sep 6, 2011
Commits on Sep 1, 2011
  1. Fix NRE in Gdk.Window.SetBackgroundPattern

    If we set it to null background is set to parent brackground.
    So we must handle null case and sent it to native.
    dufoli committed Sep 1, 2011
Commits on Aug 16, 2011
  1. Merge pull request #23 from bl8/fix-uninstall

    build: Specify assembly version when uninstalling from the GAC
    mkestner committed Aug 16, 2011
Commits on Aug 11, 2011
  1. build: Specify assembly version when uninstalling from the GAC

    We need to qualify the assembly name with the version, otherwise gacutil
    uninstall all versions of the assembly.
    Fixes http://bugzilla.xamarin.com/show_bug.cgi?id=207
    committed Aug 11, 2011
Commits on Aug 3, 2011
  1. Merge pull request #22 from dufoli/master

    Support properties in GInterface
    mkestner committed Aug 3, 2011
Commits on Aug 2, 2011
Commits on Aug 1, 2011
  1. Merge pull request #21 from bl8/gtk-settings-props

    Gtk.Settings: Add all properties as a fixup
    mkestner committed Aug 1, 2011
  2. Merge pull request #20 from bl8/parse-extended

    parser: Handle the G_DEFINE_TYPE_EXTENDED macro
    mkestner committed Aug 1, 2011
Commits on Jul 31, 2011
  1. Gtk.Settings: Add all properties as a fixup

    In gtksettings.c, properties are installed using a custom function. So a
    few properties were added as custom code. Move those as a fixup, and add
    all the other properties too.
    
    The only missing properties now are gtk-im-preedit-style and
    gtk-im-status-style, because their type is hidden.
    committed Jul 31, 2011
  2. parser: Handle the G_DEFINE_TYPE_EXTENDED macro

    G_DEFINE_TYPE_EXTENDED is the general macro for type implementations, on
    which G_DEFINE_TYPE_WITH_CODE is based. Handle it just like
    G_DEFINE_TYPE_WITH_CODE.
    
    Reparse the API with that change, which marks a few classes as
    implementing GtkStyleProvider.
    committed Jul 31, 2011
Commits on Jul 29, 2011
  1. Improve ToggleRef release overhead.

    Candidate patch provided by Andres in pull request #17.
    
    * glib/Object.cs: use ToggleRef.Dispose.
    * glib/ToggleRef.cs: implement IDisposable and expose former Free
        functionality as Dispose().  Free is now private non-lock taking
        called by Dispose and the idle queue handler.
    mkestner committed Jul 29, 2011
  2. Merge pull request #16 from knocte/master

    Pull request, already signed-off by mkestner in #gtk#
    mkestner committed Jul 29, 2011
  3. glib: Fix calling to Free() twice for the same ToggleRef

    Apparently the recent changes in gtk-sharp master that changed
    the destroy/dispose strategy caused a bug about calling
    g_object_remove_toggle_ref() twice because now Dispose(true)
    could call ToggleRef.Free() directly bypassing
    ToggleRef.QueueUnref(). This change makes sure that
    the ref is removed from the PendingDestroys list.
    knocte committed Jul 29, 2011
  4. Merge pull request #15 from bl8/fix-draw-samples

    Fix drawing samples
    mkestner committed Jul 29, 2011
  5. DemoColorSelection: Remove Drawn callback and preserve selected color

    The drawing area is automatically cleared to the background color, so we
    don't need a Drawn callback to do it ourselves.
    
    Preserve the color selected in the color selection dialog, so that it's
    pre-selected the next time the dialog is opened.
    committed Jul 29, 2011
Commits on Jul 28, 2011
  1. Mark Widget::draw as manually marshaled

    * gtk/Gtk.metadata: Widget draw signal has a cairo_t param that is
        problematic to marshal as a GLib.Value.  Manually marshal it.
    mkestner committed Jul 28, 2011
Commits on Jul 24, 2011
  1. Mark calling convention on GInterface callbacks

    Fixes #583901.  Adapted from fix for 2.12 from Markus Henschel.
    
    * glib/GInterfaceAdapter.cs: add UnmanagedFunctionPointer attrs
    mkestner committed Jul 24, 2011
Commits on Jul 18, 2011
Commits on Jul 17, 2011
  1. gio: Fix return type of GMount.GuessContentType*

    Alex Launi committed with Jul 17, 2011
  2. gio: Implement GioStream.SetLength

    gburt committed with Jan 18, 2010