1. 12 Apr, 2016 1 commit
  2. 07 Jul, 2015 1 commit
    • Emmanuele Bassi's avatar
      Move header inclusion guard at the top · 02b69e4d
      Emmanuele Bassi authored
      GCC has some optimization for the inclusion guard, but they only work if
      the check is the outermost one.
      We're fairly inconsistent because of historical reasons, so we should
      ensure that we follow the same pattern in every public header.
  3. 03 Jan, 2015 1 commit
    • Emmanuele Bassi's avatar
      WARNING: Massive revert commit · 77ec8774
      Emmanuele Bassi authored
      Revert all the work that happened on the master branch.
      Sadly, this is the only way to merge the current development branch back
      into master.
      It is now abundantly clear that I merged the 1.99 branch far too soon,
      and that Clutter 2.0 won't happen any time soon, if at all.
      Since having the development happen on a separate branch throws a lot of
      people into confusion, let's undo the clutter-1.99 → master merge, and
      move back the development of Clutter to the master branch.
      In order to do so, we need to do some surgery to the Git repository.
      First, we do a massive revert in a single commit of all that happened
      since the switch to 1.99 and the API version bump done with the
      89a2862b commit. The history is too long
      to be reverted commit by commit without being extremely messy.
  4. 17 Mar, 2014 1 commit
  5. 05 Apr, 2013 2 commits
  6. 27 Apr, 2012 1 commit
  7. 11 Oct, 2011 1 commit
  8. 14 Oct, 2009 6 commits
    • Emmanuele Bassi's avatar
      [layout, docs] Clean up BinLayout documentation · df6ca3d1
      Emmanuele Bassi authored
      Documentation and code style fixes for BinLayout.
    • Emmanuele Bassi's avatar
      [layout] Store and use the container inside BinLayout · 431a63d0
      Emmanuele Bassi authored
      The BinLayout should store a pointer to the Container that it is
      using it as the layout manager.
      This allows us to fix the API and drop the additional Container
      arguments from set_alignment() and get_alignment().
      This also allows us to add a ClutterBinLayout::add() method which
      adds an actor and sets the alignment policies without dealing with
      variadic arguments functions and GValue (de)marshalling.
    • Emmanuele Bassi's avatar
      [layout, docs] Add layout managers sections · 899db6f2
      Emmanuele Bassi authored
      Add LayoutManager and its subclasses, and the Box actor to the
      gtk-doc machinery needed to generate the API reference.
    • Emmanuele Bassi's avatar
      [layout] Add layers to BinLayout · 9cccff50
      Emmanuele Bassi authored
      Each actor managed by a BinLayout policy should reside inside its
      own "layer", with horizontal and vertical alignment. The :x-align
      and :y-align properties of the BinLayout are the default alignment
      policies, which are copied to each new "layer" when it is created.
      The set_alignment() and get_alignment() methods of BinLayout can
      be changed to operate on a specific "layer".
      The whole machinery uses the new ChildMeta support inside the
      LayoutManager base abstract class.
    • Emmanuele Bassi's avatar
      [layout] Document BinLayout · 83a4e962
      Emmanuele Bassi authored
    • Emmanuele Bassi's avatar
      [layout] Add BinLayout · 1061ebea
      Emmanuele Bassi authored
      A BinLayout is a simple layout manager that allocates a single cell,
      providing alignment on both the horizontal and vertical axis.
      If the container associated to the BinLayout has more than one child,
      the preferred size returned by the layout manager will be as big as
      the maximum of the children preferred sizes; the allocation will be
      applied to all children - but it will still depend on each child
      preferred size and the BinLayout horizontal and vertical alignment
      The supported alignment properties are:
        * center: align the child by centering it
        * start: align the child at the top or left border of the layout
        * end: align the child at the bottom or right border of the layout
        * fill: expand the child to fill the size of the layout
        * fixed: let the child position itself