1. 13 Jun, 2011 1 commit
  2. 09 Jun, 2011 1 commit
    • Emmanuele Bassi's avatar
      Move some old doc files under doc/ · 4944a5e7
      Emmanuele Bassi authored
      ChangeLog.pre-git-import is useless since the Git log contains the
      pre-Git history anyway.
      
      AUTHORS is not really useful, as many more people have been committing
      to Clutter for a while now.
      4944a5e7
  3. 14 Jan, 2010 1 commit
  4. 18 Nov, 2009 1 commit
  5. 29 Jan, 2009 1 commit
    • Emmanuele Bassi's avatar
      Move the old ChangeLog into its own file · 945d2616
      Emmanuele Bassi authored
      The old ChangeLog is there to track the project history when it
      was in SVN -- also because the commit messages we imported from
      Subversion were not that great.
      
      Unfortunately, we need a ChangeLog for autotools to work in
      GNU mode; for this reason, we can use a dummy ChangeLog redirecting
      to git log.
      
      The ChangeLog will be generated on release from the commit
      messages, for users of the tarballs.
      945d2616
  6. 10 Dec, 2008 2 commits
    • Neil Roberts's avatar
      * clutter/cogl/gl/cogl.c: · dc6545cc
      Neil Roberts authored
      	* clutter/cogl/gl/cogl-defines.h.in:
      	* clutter/cogl/gl/cogl-context.h:
      	* clutter/cogl/common/cogl-mesh.c: Rename the glBufferDataSub
      	function to glBufferSubData. When calling glXGetProcAddress with
      	the former Mesa returns a stub dispatch function which will
      	segfault if you try to use it. With NVIDIA it returns NULL so
      	_cogl_features_init decides the card doesn't have VBO support.
      dc6545cc
    • Neil Roberts's avatar
      Bug 1323 - ClutterBehaviorDepth conflicts with other behaviors · c81a0b32
      Neil Roberts authored
      	* clutter/clutter-behaviour-ellipse.c (actor_apply_knot_foreach):
      	Don't set the depth if there is no x or y tilt. That way it can
      	still be used in conjunction with ClutterBehaviourDepth. Thanks to
      	Tonny Tzeng.
      c81a0b32
  7. 08 Dec, 2008 3 commits
    • Emmanuele Bassi's avatar
      2008-12-08 Emmanuele Bassi <ebassi@linux.intel.com> · e3dd18dc
      Emmanuele Bassi authored
      	* clutter/clutter-binding-pool.h: Fix the ActivateFunc
      	documentation by adding a "return value" annotation.
      e3dd18dc
    • Emmanuele Bassi's avatar
      2008-12-08 Emmanuele Bassi <ebassi@linux.intel.com> · 8a537b62
      Emmanuele Bassi authored
      	* clutter/Makefile.am:
      	* clutter/clutter.h: Add ClutterBindingPool to the build.
      
      	* clutter/clutter-binding-pool.c:
      	* clutter/clutter-binding-pool.h: Add ClutterBindingPool, a data
      	structure meant to hold (key symbol, modifiers) pairs and associate
      	them to a closure. The ClutterBindingPool can be used to install
      	key bindings for actors and then execute closures inside the
      	key-press-event signal handlers, removing the need for big
      	switch() or if() blocks for each key.
      
      	* clutter/clutter-event.c: Consistently use "key symbol" instead
      	of "key value".
      
      	* clutter/clutter-event.h: Add more modifier masks.
      
      	* clutter/clutter-marshal.list:
      
      	* tests/conform/Makefile.am:
      	* tests/conform/test-binding-pool.c:
      	* tests/conform/test-conform-main.c: Add ClutterBindingPool
      	conformance test.
      
      	* tests/interactive/Makefile.am:
      	* tests/interactive/test-binding-pool.c: Add interactive test (and
      	example code) for the ClutterBindingPool usage.
      8a537b62
    • Neil Roberts's avatar
      * clutter/clutter-main.c (_clutter_do_pick): Restore the GL_DITHER · 008693d8
      Neil Roberts authored
      	state after reading the pixel value instead of before. Suggested
      	in bug 1328 thanks to Guy Zadickario.
      008693d8
  8. 05 Dec, 2008 4 commits
    • Emmanuele Bassi's avatar
      2008-12-05 Emmanuele Bassi <ebassi@linux.intel.com> · 2410f74e
      Emmanuele Bassi authored
      	Bug 1309 - clutter_timeline_new and clutter_timeline_set_speed
      	have two standard of the fps limitation
      
      	* clutter/clutter-timeline.c:
      	(clutter_timeline_class_init): Set the maximum value of the
      	:fps property to be G_MAXUINT. (Zhang Wei)
      2410f74e
    • Neil Roberts's avatar
      b105efae
    • Neil Roberts's avatar
      * clutter/clutter-timeline.c: · 74ba6fd8
      Neil Roberts authored
      	* clutter/clutter-texture.c:
      	* clutter/clutter-stage.c:
      	* clutter/clutter-label.c:
      	* clutter/clutter-behaviour-path.c:
      	* clutter/clutter-actor.c: Fix the 'Since' annotation in the
      	gtk-doc.
      74ba6fd8
    • 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
  9. 04 Dec, 2008 2 commits
    • Neil Roberts's avatar
      Bug 1297 - Bring back support for GL_ARB_texture_rectangle · 98035e4d
      Neil Roberts authored
      	* clutter/cogl/gl/cogl-texture.c (cogl_texture_new_from_foreign,
      	(_cogl_texture_quad_hw, cogl_texture_polygon),
      	(_cogl_texture_quad_sw): Support GL_ARB_texture_rectangle textures
      
      	* clutter/glx/clutter-glx-texture-pixmap.c: Use rectangle textures
      	when NPOTs are not available or it is forced by the
      	CLUTTER_PIXMAP_TEXTURE_RECTANGLE environment variable.
      
      	* clutter/cogl/gl/cogl.c (cogl_enable): Allow enabling
      	GL_TEXTURE_RECTANGLE_ARB.
      98035e4d
    • Neil Roberts's avatar
      Bug 1172 - Disjoint paths and clip to path · 89e7552c
      Neil Roberts authored
      	* clutter/cogl/cogl-path.h:
      	* clutter/cogl/common/cogl-primitives.c:
      	* clutter/cogl/common/cogl-primitives.h:
      	* clutter/cogl/gl/cogl-primitives.c:
      	* clutter/cogl/gles/cogl-primitives.c: Changed the semantics of
      	cogl_path_move_to. Previously this always started a new path but
      	now it instead starts a new disjoint sub path. The path isn't
      	cleared until you call either cogl_path_stroke, cogl_path_fill or
      	cogl_path_new. There are also cogl_path_stroke_preserve and
      	cogl_path_fill_preserve functions.
      
      	* clutter/cogl/gl/cogl-context.c:
      	* clutter/cogl/gl/cogl-context.h:
      	* clutter/cogl/gles/cogl-context.c:
      	* clutter/cogl/gles/cogl-context.h: Convert the path nodes array
      	to a GArray.
      
      	* clutter/cogl/gl/cogl-texture.c:
      	* clutter/cogl/gles/cogl-texture.c: Call cogl_clip_ensure
      
      	* clutter/cogl/common/cogl-clip-stack.c:
      	* clutter/cogl/common/cogl-clip-stack.h: Simplified the clip
      	stack code quite a bit to make it more maintainable.  Previously
      	whenever you added a new clip it would go through a separate route
      	to immediately intersect with the current clip and when you
      	removed it again it would immediately rebuild the entire clip. Now
      	when you add or remove a clip it doesn't do anything immediately
      	but just sets a dirty flag instead.
      
      	* clutter/cogl/gl/cogl.c:
      	* clutter/cogl/gles/cogl.c: Taken away the code to intersect
      	stencil clips when there is exactly one stencil bit. It won't work
      	with path clips and I don't know of any platform that doesn't have
      	eight or zero stencil bits. It needs at least three bits to
      	intersect a path with an existing clip. cogl_features_init now
      	just decides you don't have a stencil buffer at all if you have
      	less than three bits.
      
      	* clutter/cogl/cogl.h.in: New functions and documentation.
      
      	* tests/interactive/test-clip.c: Replaced with a different test
      	that lets you add and remove clips. The three different mouse
      	buttons add clips in different shapes. This makes it easier to
      	test multiple levels of clipping.
      
      	* tests/interactive/test-cogl-primitives.c: Use
      	cogl_path_stroke_preserve when using the same path again.
      
      	* doc/reference/cogl/cogl-sections.txt: Document the new
      	functions.
      89e7552c
  10. 03 Dec, 2008 1 commit
  11. 01 Dec, 2008 1 commit
    • Neil Roberts's avatar
      Bug 1305 - NPOT textures unaligned to a pixel sometimes have · 55cec1f6
      Neil Roberts authored
      	border artifacts
      
      	* clutter/cogl/gl/cogl-texture.c: Set the wrap mode of a texture
      	on demand
      
      	Instead of setting the wrap mode once per texture at creation, it
      	is now changed whenever the texture is drawn. The previous value
      	is cached so that it isn't changed if the value is the same.
      
      	This is used in _cogl_texture_quad_hw to only enable GL_REPEAT
      	mode when the coordinates are not in the range [0,1]. Otherwise it
      	can pull in pixels from the other edge when the texture is
      	rendered off-pixel.
      55cec1f6
  12. 28 Nov, 2008 3 commits
  13. 26 Nov, 2008 2 commits
  14. 25 Nov, 2008 2 commits
  15. 24 Nov, 2008 2 commits
    • Neil Roberts's avatar
      Add a wrapper library to help testing without NPOTs. · 596d4628
      Neil Roberts authored
      	* tests/tools/Makefile.am: Optionally build the
      	libdisable-npots.la library depending on whether libdl was
      	detected in the configure script. A helper script is also
      	generated to setup the LD_PRELOAD.
      
      	* tests/conform/Makefile.am: There are now two versions of the
      	test-report and full-report rules. test-report-normal is the same
      	as before and test-report-disable-npots runs the tests with the
      	disable-npots wrapper script. The full-report rule runs both of
      	them and displays two separate HTML files. The test-report rule
      	just runs the normal version as before.
      
      	* configure.ac: Add a test for libdl
      
      	* tests/tools/disable-npots.sh.in: New file. Template for the
      	helper script
      
      	* tests/tools/disable-npots.c: New file
      596d4628
    • Neil Roberts's avatar
      * clutter/cogl/gl/cogl-texture.c (cogl_texture_polygon): Fix the · 8ff85615
      Neil Roberts authored
      	equation for calculating texture coordinates when using sliced
      	textures. This became broken in revision 3520.
      8ff85615
  16. 21 Nov, 2008 6 commits
    • Neil Roberts's avatar
      Bug 1270 - Update to mingw-cross-compile.sh · 46d45064
      Neil Roberts authored
      	* build/mingw/mingw-cross-compile.sh: Update to download latest
      	binaries. Patch thanks to David Kedves.
      46d45064
    • Neil Roberts's avatar
      Bug 1271 - mingw compiling failed: undefined reference to · 21617cc0
      Neil Roberts authored
      	`_glDrawRangeElements@24'
      
      	Resolve glDrawRangeElements with cogl_get_proc_address instead of
      	calling it directly because functions defined in GL > 1.1 are not
      	directly exported under Windows.
      
      	* clutter/cogl/common/cogl-mesh.c: Use the function pointer from
      	the context
      
      	* clutter/cogl/gl/cogl-context.c (cogl_create_context): Initialise
      	function pointer.
      
      	* clutter/cogl/gl/cogl-context.h (CoglContext): Add a function
      	pointer
      
      	* clutter/cogl/gl/cogl-defines.h.in: Add a typedef for the
      	function pointer.
      
      	* clutter/cogl/gl/cogl.c (_cogl_features_init): Resolve
      	glDrawRangeElements
      21617cc0
    • Neil Roberts's avatar
      * tests/interactive/Makefile.am: · fccc0879
      Neil Roberts authored
      	* tests/conform/Makefile.am: Use $(EXEEXT) when specifying a
      	dependency on an executable otherwise there won't be a rule to
      	build it on Windows.
      fccc0879
    • Neil Roberts's avatar
      Bug 1269 - mingw32 building failed at clutter-media.c · 1c4bd93b
      Neil Roberts authored
      	* clutter/clutter-media.c: Rename the 'ERROR' signal enum to
      	'ERROR_SIGNAL' otherwise it clashes with windgi.h. Thanks to David
      	Kedves
      1c4bd93b
    • Neil Roberts's avatar
      * clutter/pango/cogl-pango.h: Include pango/pango.h to get · 8ca07482
      Neil Roberts authored
      	pango-renderer.h. In versions prior to 1.18.4 pangocairo.h does
      	not include pango-renderer.h
      8ca07482
    • Neil Roberts's avatar
      Bug 1280 - clutter_score_append_at_marker lead to segmentation · 1ce98c97
      Neil Roberts authored
      	fault in trunk and incorrect appearance in clutter-0.8
      
      	* clutter/clutter-score.c (start_children_entries): Check whether
      	the child timeline is actually attached at a marker before
      	comparing whether the marker's name matches the marker
      	reached. This fixes a crash that happens when a marker is reached
      	on a timeline that also has child timelines attached at the
      	end. Thanks to zhangwei for spotting.
      1ce98c97
  17. 20 Nov, 2008 1 commit
    • Emmanuele Bassi's avatar
      2008-11-20 Emmanuele Bassi <ebassi@linux.intel.com> · 47150304
      Emmanuele Bassi authored
      	* clutter/clutter-actor.c:
      	(clutter_actor_set_property): Add sanity checks for NULL
      	boxed values when setting the rotation center.
      
      	* tests/interactive/test-animation.c:
      	(on_button_press): Add an example on how to use the rotation
      	properties to animate an actor.
      47150304
  18. 18 Nov, 2008 6 commits
    • Neil Roberts's avatar
      Fixed some trivial compiler warnings · eeab42b7
      Neil Roberts authored
      	* tests/interactive/test-pixmap.c (create_pixmap): Use a format
      	string instead of passing the error message directly to g_error.
      
      	* tests/interactive/test-easing.c (test_easing_main)
      	(on_button_press):
      	* tests/interactive/test-animation.c (on_button_press): Use
      	unsigned variables for the results from clutter_actor_get_size
      	otherwise it complains about the pointer signedness being
      	different.
      
      	* clutter/clutter-script.c (clutter_script_add_search_paths): Use
      	G_GSIZE_FORMAT instead of %d for a gsize parameter otherwise it
      	gets upset on 64-bit.
      eeab42b7
    • Neil Roberts's avatar
      * tests/conform/test-timeline.c (test_timeline): Remove the delay · 7324db4a
      Neil Roberts authored
      	idle handler after the test is finished, otherwise it will
      	continue running during subsequent tests. This was breaking
      	test_timeline_interpolate.
      7324db4a
    • Robert Bragg's avatar
      * clutter/cogl/common/cogl-mesh.c: · 27055474
      Robert Bragg authored
      	Re-works validate_custom_attribute_name() so it doesn't access an
      	un-initialised variable.
      27055474
    • Robert Bragg's avatar
      A comparison of gl/cogl-texture.c and gles/cogl-texture.c, to reduce · 39aa5c27
      Robert Bragg authored
      	differences and improve maintainability.
      
      	* clutter/cogl/gl/cogl-context.h:
      	Adds a CoglTextureGLVertex typedef + texture_vertices and
      	texture_vertices_size members to CoglContext for using vertex arrays
      	like GLES does
      
      	* clutter/cogl/gl/cogl-context.c:
      	Initializes texture_vertices + texture_vertices_size members
      
      	* clutter/cogl/gl/cogl-internal.h:
      	Adds COGL_ENABLE_COLOR_ARRAY
      
      	* clutter/cogl/gl/cogl.c:
      	Add COGL_ENABLE_COLOR_ARRAY support to cogl_enable
      
      	* clutter/cogl/gles/cogl-context.h:
      	Change the CoglTextureGLVertex to use GLfloat for the position
      	and texture coord attributes and GLubyte for the color.
      
      	* clutter/cogl/gles/cogl-texture-private.h:
      	Adds a wrap_mode member like GL has.
      
      	* clutter/cogl/gl/cogl-texture.c
      	* clutter/cogl/gles/cogl-texture.c:
      	Improves the comparability of the files, such that the remaining
      	differences, better reflect the fundamental differences needed
      	between GL and GLES. Notably GL no longer uses glBegin/glEnd for
      	submitting vertices, it uses vertex arrays like GLES and this gives
      	a small but measurable fps improvement for test-text.
      39aa5c27
    • Robert Bragg's avatar
      * clutter/cogl/gl/cogl-internal.h · 41ec02c8
      Robert Bragg authored
      	* clutter/cogl/gles/cogl-internal.h:
      	Removes semicolon after the GE() macro since that breaks using it as a
      	single statement.
      41ec02c8
    • Emmanuele Bassi's avatar
      2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com> · 5e9282bd
      Emmanuele Bassi authored
      	* clutter/clutter.h: Add clutter-shader.h and
      	clutter-shader-types.h to the global include.
      5e9282bd