1. 16 Jan, 2012 2 commits
  2. 14 Jan, 2012 1 commit
  3. 12 Jan, 2012 13 commits
  4. 11 Jan, 2012 2 commits
  5. 10 Jan, 2012 2 commits
    • Rob Bradford's avatar
      wayland: Attach cursor buffer to input device when it enters the surface · a9e6137f
      Rob Bradford authored
      The Wayland semantics mean that we must attach a buffer to the input device
      when the pointer enters the surface to provide a cursor.
    • Rob Bradford's avatar
      wayland: Load a buffer from well known location for the cursor · e1434ceb
      Rob Bradford authored
      Semantic changes to Wayland means that we cannot rely on the compositor
      setting a pointer buffer for us if set it to nil. The first part of fixing
      this is to create an shm buffer containing the bytes for our cursor.
      The best way to do this currently is to load the cursor from the well known
      location where weston instals its cursor images. The code to implemente this
      was derivedlifted from the Wayland backend in GTK+.
  6. 09 Jan, 2012 1 commit
  7. 08 Jan, 2012 1 commit
  8. 07 Jan, 2012 1 commit
  9. 06 Jan, 2012 2 commits
    • Emmanuele Bassi's avatar
      actor: Change the point of emission of ::destroy · 95d3e0f9
      Emmanuele Bassi authored
      Currently, we're emitting the ClutterActor::destroy at the end of the
      dispose implementation - right before we chain up to the parent
      The point of emission makes the ::destroy signal handlers able to just
      use the actor pointer - as the actor state will have been mostly cleared
      by the time application can run. This (undocumented) behaviour severely
      limits the amount of things you can do inside a ::destroy signal
      handler, thus making the ::destroy signal just a weird weak reference,
      instead of a proper way to break application reference cycles.
      Given that this change relaxes some of the conditions, this change
      should be safe - obviously, if anything happens, we'll back it out; the
      conformance and interactive tests confirm that, for common patterns of
      usage, this change does not break existing code.
    • Emmanuele Bassi's avatar
      actor: Use g_clear_object() · fa39f67e
      Emmanuele Bassi authored
      GLib has a nice, atomic object clearing function that allows us to drop
      code looking like:
        if (priv->object != NULL)
            g_object_unref (priv->object);
            priv->object = NULL;
      from the ::dispose implementation.
  10. 03 Jan, 2012 5 commits
  11. 30 Dec, 2011 3 commits
    • Emmanuele Bassi's avatar
      docs: Update the release notes · 83c560db
      Emmanuele Bassi authored
    • Emmanuele Bassi's avatar
      stage: Deprecate :use-fog and :fog · e689d018
      Emmanuele Bassi authored
      The depth cueing through GL fog has been broken for a long while, now.
      The fog-related API in Clutter is ridiculously limited, and harks back
      to simpler times; the ClutterFog structure is not enough to express all
      the GL fog machinery, and required application code to connect to the
      Stage's paint implementation and drop into Cogl directly.
      Additionally, the fixed pipeline fog machinery in GL simply does not
      work with premultiplied alpha, unless you use a shader - and in that
      case it would only work for textures. Let's deprecate it, and just
      don't do anything if somebody has the brilliant idea of setting the
      :use-fog property to TRUE.
    • Emmanuele Bassi's avatar
      box: Remove the sentinel annotation · 65889fa0
      Emmanuele Bassi authored
      Sadly, we need to remove the G_GNUC_NULL_TERMINATED annotation from
      ClutterBox packing API; the compiler will otherwise emit a warning
      for perfectly legal statements like:
        clutter_box_pack (box, child, NULL);
      because of the missing sentinel.
      See also: g_object_new().
  12. 28 Dec, 2011 2 commits
    • Emmanuele Bassi's avatar
      docs: Document CLUTTER_ENABLE_DIAGNOSTIC · 180eecbc
      Emmanuele Bassi authored
      Add a note in the API reference.
    • Emmanuele Bassi's avatar
      Add diagnostic mode · 7d4a9c6f
      Emmanuele Bassi authored
      GLib has a "diagnostic mode" switch that can be checked to enable debug
      messages on deprecated properties and signals, as these are purely
      run-time constructs, and as such cannot be caught by compiler warnings.
      The diagnostic mode is toggled by a simple environment variable, and
      can be used to ease porting of application code.
      We can use something similar to mark deprecated virtual functions and
      other run-time constructs; to avoid collisions, we should use our own
      environment variable, CLUTTER_ENABLE_DIAGNOSTIC.
  13. 21 Dec, 2011 1 commit
  14. 19 Dec, 2011 1 commit
  15. 17 Dec, 2011 1 commit
  16. 13 Dec, 2011 2 commits