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. 05 Apr, 2013 1 commit
  3. 07 Jun, 2011 1 commit
    • Emmanuele Bassi's avatar
      Eliminate G_CONST_RETURN · 2b81d90d
      Emmanuele Bassi authored
      The G_CONST_RETURN define in GLib is, and has always been, a bit fuzzy.
      
      We always used it to conform to the platform, at least for public-facing
      API.
      
      At first I assumed it has something to do with brain-damaged compilers
      or with weird platforms where const was not really supported; sadly,
      it's something much, much worse: it's a define that can be toggled at
      compile-time to remove const from the signature of public API. This is a
      truly terrifying feature that I assume was added in the past century,
      and whose inception clearly had something to do with massive doses of
      absynthe and opium — because any other explanation would make the
      existence of such a feature even worse than assuming drugs had anything
      to do with it.
      
      Anyway, and pleasing the gods, this dubious feature is being
      removed/deprecated in GLib; see bug:
      
        https://bugzilla.gnome.org/show_bug.cgi?id=644611
      
      Before deprecation, though, we should just remove its usage from the
      whole API. We should especially remove its usage from Cally's internals,
      since there it never made sense in the first place.
      2b81d90d
  4. 15 Feb, 2011 1 commit
    • Emmanuele Bassi's avatar
      More ISO C90 warning fixes in Clutter · 5c398c18
      Emmanuele Bassi authored
      This time, in Clutter core.
      
      The ObjC standard library provides a type called 'id', which obviously
      requires any library to either drop the useful shadowed variable warning
      or stop using 'id' as a variable name.
      
      Yes, it's almost unbearably stupid. Well, at least it's not 'index' in
      string.h, or 'y2' in math.h.
      5c398c18
  5. 18 Oct, 2010 1 commit
  6. 01 Mar, 2010 1 commit
    • Emmanuele Bassi's avatar
      Remove mentions of the FSF address · 79acb088
      Emmanuele Bassi authored
      Since using addresses that might change is something that finally
      the FSF acknowledge as a plausible scenario (after changing address
      twice), the license blurb in the source files should use the URI
      for getting the license in case the library did not come with it.
      
      Not that URIs cannot possibly change, but at least it's easier to
      set up a redirection at the same place.
      
      As a side note: this commit closes the oldes bug in Clutter's bug
      report tool.
      
      http://bugzilla.openedhand.com/show_bug.cgi?id=521
      79acb088
  7. 26 Feb, 2009 1 commit
  8. 14 Nov, 2007 1 commit
    • Emmanuele Bassi's avatar
      2007-11-14 Emmanuele Bassi <ebassi@openedhand.com> · b0e169d7
      Emmanuele Bassi authored
      	* clutter/clutter-scriptable.[ch]: Rename ::set_name and ::get_name
      	to ::set_id and ::get_id, to avoid potential confusion with the
      	ClutterActor:name property.
      
      	* clutter/clutter-script.h:
      	* clutter/clutter-script.c (clutter_script_construct_object): Use
      	clutter_scriptable_set_id().
      
      	(clutter_get_script_id): Add a public function to retrieve the ID
      	used in the UI definition files from an object.
      
      	* clutter/clutter-actor.c: Do not set the name of the actor with
      	the ID set in the UI definition files.
      
      	* tests/test-script.c: Test clutter_get_script_id().
      
      	* clutter.symbols: Update with the new symbols.
      b0e169d7
  9. 25 Oct, 2007 1 commit
    • Emmanuele Bassi's avatar
      2007-10-25 Emmanuele Bassi <ebassi@openedhand.com> · 6c01499a
      Emmanuele Bassi authored
      	* clutter/Makefile.am:
      	* clutter/clutter.h:
      	* clutter/clutter-scriptable.[ch]: Add the ClutterScriptable
      	interface; by implementing this interface, a class can
      	override the UI definition parsing and transform complex data
      	types into GObject properties, or allow custom properties.
      
      	* clutter/clutter-script.c:
      	* clutter/clutter-script-parser.c:
      	* clutter/clutter-script-private.h: Rearrange the code and
      	use the ClutterScriptable interface to parse and build the
      	custom properties. This cleans up the code and also it makes
      	it more reliable (the complex type parsing is now done using
      	the target type and not just the name of the property).
      6c01499a