1. 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.
      77ec8774
  2. 17 Mar, 2014 1 commit
  3. 03 Jul, 2013 1 commit
  4. 03 May, 2013 3 commits
  5. 05 Apr, 2013 1 commit
  6. 27 Apr, 2012 1 commit
  7. 21 Feb, 2012 1 commit
    • Robert Bragg's avatar
      Reduce our internal dependence on the Cogl 1.x api · a8e63154
      Robert Bragg authored
      Since Cogl has started restricting what cogl 1.x api is exposed when
      COGL_ENABLE_EXPERIMENTAL_2_0_API is defined and since we build all
      Clutter internals with COGL_ENABLE_EXPERIMENTAL_2_0_API defined this
      patch makes a first pass at reducing our internal use of the Cogl 1.x
      api.
      
      The most notable api that's no longer exposed to us internally is
      the cogl_material_ api so this switches all Clutter internals to use the
      cogl_pipeline_ api instead. This patch also makes quite a bit of
      progress removing internal uses of CoglHandle although there is still
      more to go.
      a8e63154
  8. 01 Dec, 2011 1 commit
  9. 14 Oct, 2011 1 commit
  10. 21 Oct, 2010 1 commit
  11. 18 Oct, 2010 1 commit
  12. 08 Sep, 2010 1 commit
  13. 03 Sep, 2010 1 commit
  14. 10 Aug, 2010 1 commit
    • Neil Roberts's avatar
      Conditionally use g_object_notify_by_pspec · 8d516179
      Neil Roberts authored
      This adds a wrapper macro to clutter-private that will use
      g_object_notify_by_pspec if it's compiled against a version of GLib
      that is sufficiently new. Otherwise it will notify by the property
      name as before by extracting the name from the pspec. The objects can
      then store a static array of GParamSpecs and notify using those as
      suggested in the documentation for g_object_notify_by_pspec.
      
      Note that the name of the variable used for storing the array of
      GParamSpecs is obj_props instead of properties as used in the
      documentation because some places in Clutter uses 'properties' as the
      name of a local variable.
      
      Mose of the classes in Clutter have been converted using the script in
      the bug report. Some classes have not been modified even though the
      script picked them up as described here:
      
      json-generator:
      
       We probably don't want to modify the internal copy of JSON
      
      behaviour-depth:
      rectangle:
      score:
      stage-manager:
      
       These aren't using the separate GParamSpec* variable style.
      
      blur-effect:
      win32/device-manager:
      
       Don't actually define any properties even though it has the enum.
      
      box-layout:
      flow-layout:
      
        Have some per-child properties that don't work automatically with
        the script.
      
      clutter-model:
      
        The script gets confused with ClutterModelIter
      
      stage:
      
        Script gets confused because PROP_USER_RESIZE doesn't match
        "user-resizable"
      
      test-layout:
      
        Don't really want to modify the tests
      
      http://bugzilla.clutter-project.org/show_bug.cgi?id=2150
      8d516179
  15. 01 Jun, 2010 1 commit
    • Damien Lespiau's avatar
      analysis: FALSE/0 used in pointer context · 52a78a72
      Damien Lespiau authored
      While this is totally fine (0 in the pointer context will be converted
      in the right internal NULL representation, which could be a value with
      some bits to 1), I believe it's clearer to use NULL in the pointer
      context.
      
      It seems that, in most case, it's more an overlook than a deliberate
      choice to use FALSE/0 as NULL, eg. copying a _COGL_GET_CONTEXT (ctx, 0)
      or a g_return_val_if_fail (cond, 0) from a function returning a
      gboolean.
      52a78a72
  16. 04 Feb, 2010 1 commit
  17. 07 Oct, 2009 1 commit
  18. 16 Apr, 2009 1 commit
  19. 20 Feb, 2009 2 commits
  20. 20 Jan, 2009 1 commit
  21. 19 Dec, 2008 3 commits
    • Emmanuele Bassi's avatar
      Avoid masking math.h exported variables · 4e493d19
      Emmanuele Bassi authored
      Our beloved math.h exports, from bits/mathcalls.h, a bare "y1" symbol.
      Apparently, it's unthinkable for code including <math.h> to also declare
      arguments or variable named "y0", "y1" and "yn".
      
      Anyway, the quick fix already used elsewhere in Clutter's codebase is
      to rename the colliding variables "y_0", "y_1" and "y_n" - and
      obviously everything similar to them as well, using the same pattern.
      4e493d19
    • Emmanuele Bassi's avatar
      Whitespace fixes · 2f230034
      Emmanuele Bassi authored
      Let's try to honour the coding style document, now that we have one.
      2f230034
    • Emmanuele Bassi's avatar
      [docs] Parameter naming fixes · 81541e69
      Emmanuele Bassi authored
      The name of the parameter in the header and the one in the gtk-doc
      annotation on top of a function must match.
      
      Unfortunately, there is an index() function declared inside strings.h
      which makes gcc complain for the "index" argument as soon as we
      enable the extra compiler flags we use when distchecking.
      
      Hence, we need to rename "index" to "index_" in the header and in
      the source files.
      81541e69
  22. 16 Dec, 2008 1 commit
  23. 12 Dec, 2008 1 commit
  24. 05 Dec, 2008 1 commit
    • Neil Roberts's avatar
      Bug 1252 - Merge ClutterBehaviourPath and ClutterBehaviourBspline · 1a634149
      Neil Roberts authored
      	* clutter/clutter-path.h:
      	* clutter/clutter-path.c: Implementation of new ClutterPath object
      	to represent a path combining straight line and bezier curve
      	elements.
      
      	* clutter/clutter.h: Include clutter-path.h and remove
      	clutter-behaviour-bspline.h
      
      	* tests/interactive/test-threads.c (test_threads_main):
      	* tests/interactive/test-script.c:
      	* tests/interactive/test-behave.c (test_behave_main): Use new path
      	API
      
      	* clutter/clutter-effect.c: Use the new ClutterBehaviourPath API.
      
      	* clutter/clutter-bezier.h:
      	* clutter/clutter-bezier.c: Moved bezier curve handling code out
      	from clutter-behaviour-bspline.c to a separate file.
      
      	* clutter/clutter-behaviour-path.h:
      	* clutter/clutter-behaviour-path.c: Reimplemented to work with a
      	ClutterPath
      
      	* clutter/clutter-behaviour-bspline.h:
      	* clutter/clutter-behaviour-bspline.c: Removed
      
      	* clutter/Makefile.am: Add clutter-path and clutter-bezier, remove
      	clutter-behaviour-bspline.
      
      	* tests/conform/test-path.c: New automatic test for ClutterPath
      	consistency
      
      	* tests/conform/test-conform-main.c (main): Add test_path
      
      	* tests/conform/Makefile.am (test_conformance_SOURCES): Add
      	test-path.c
      
      	* clutter/clutter-sections.txt: Add ClutterPath docs
      
      	* clutter/clutter.types:
      	* clutter/clutter-docs.xml:
      	* doc/reference/clutter/clutter-animation-tutorial.xml: Remove
      	mention of ClutterBehaviourBspline
      
      	* clutter/clutter-marshal.list: Add VOID:UINT
      1a634149