mutter/clutter
Damien Lespiau 96859959bd [units] Be more strict in the grammar we are parsing
Current parsing of units has a number of shortcomings:
  * a number followed by trailing space (without any unit specified) was
    not recognized,
  * "5 emeralds" was parsed as 5em,
  * the way we parse the digits after the separator makes us lose
    precision for no good reason (5.0 is parsed as 5.00010014...f which
    makes g_assert_cmpfloat() fail)

Let's define a stricter grammar we can recognize and try to do so. The
description is in EBNF form, removing the optional <> which is a pain
when having to write DocBook, and using '' for the terminal symbols.

Last step, add more ClutterUnits unit test to get a better coverage of
the grammar we want to parse.

Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
2009-10-07 16:06:26 +01:00
..
cogl [cogl-debug] avoid warnings when using COGL_NOTE with unbraced else clauses 2009-09-24 21:41:50 +01:00
eglnative [build] Clean up the eglnative and fruity Makefile.am 2009-08-14 13:08:17 +01:00
eglx [eglx] Create a StageWindow, not an Actor 2009-10-05 15:57:14 +01:00
fruity [build] Clean up the eglnative and fruity Makefile.am 2009-08-14 13:08:17 +01:00
glx Merge branch 'stage-window-object' 2009-10-05 12:37:08 +01:00
json Update Clutter to use G-I 0.6.4 2009-08-17 14:14:18 +01:00
osx [build] Fix LDADD -> LIBADD usage 2009-08-11 13:27:25 +01:00
pango [build] Split out the custom silent rules 2009-09-16 17:47:59 +01:00
sdl [sdl] Update the SDL backend to the new StageWindow API 2009-10-05 15:57:14 +01:00
win32 [build] GCC_FLAGS is no more, MAINTAINER_CFLAGS is the One. 2009-08-03 14:25:08 +01:00
x11 Merge branch 'stage-window-object' 2009-10-05 12:37:08 +01:00
clutter-actor.c [script] Clean up the ad hoc parsing code in Actor 2009-08-26 16:49:45 +01:00
clutter-actor.h Add ::queue-relayout signal to ClutterActor for ClutterClone 2009-08-20 14:12:54 +01:00
clutter-alpha.c [timeline] Remove the concept of frames from timelines 2009-06-04 13:21:57 +01:00
clutter-alpha.h
clutter-animatable.c
clutter-animatable.h
clutter-animation.c [animation] Move the check for the 'signal::' prefix into a separate function 2009-09-07 12:44:06 +01:00
clutter-animation.h [animation] Add Animation::update() 2009-08-25 12:16:41 +01:00
clutter-backend.c [stage] Rework the Stage implementation class 2009-09-08 10:52:58 +01:00
clutter-backend.h [stage] Rework the Stage implementation class 2009-09-08 10:52:58 +01:00
clutter-behaviour-depth.c
clutter-behaviour-depth.h
clutter-behaviour-ellipse.c Remove the last few fixed-point entry points 2009-06-19 16:38:35 +01:00
clutter-behaviour-ellipse.h Remove the last few fixed-point entry points 2009-06-19 16:38:35 +01:00
clutter-behaviour-opacity.c
clutter-behaviour-opacity.h
clutter-behaviour-path.c
clutter-behaviour-path.h
clutter-behaviour-rotate.c Remove the last few fixed-point entry points 2009-06-19 16:38:35 +01:00
clutter-behaviour-rotate.h Remove the last few fixed-point entry points 2009-06-19 16:38:35 +01:00
clutter-behaviour-scale.c Remove the last few fixed-point entry points 2009-06-19 16:38:35 +01:00
clutter-behaviour-scale.h Remove the last few fixed-point entry points 2009-06-19 16:38:35 +01:00
clutter-behaviour.c [docs] Small annotation fixes 2009-09-08 10:21:46 +01:00
clutter-behaviour.h
clutter-bezier.c
clutter-bezier.h
clutter-binding-pool.c
clutter-binding-pool.h
clutter-cairo-texture.c [ClutterCairoTexture] Use the right component ordering when uploading data 2009-06-15 12:41:13 +01:00
clutter-cairo-texture.h
clutter-child-meta.c
clutter-child-meta.h
clutter-clone.c Add ::queue-relayout signal to ClutterActor for ClutterClone 2009-08-20 14:12:54 +01:00
clutter-clone.h
clutter-color.c color: Measure the string just once when parsing 2009-10-07 13:00:57 +01:00
clutter-color.h [misc] Update headers #endif comments 2009-06-29 21:37:02 +02:00
clutter-container.c [container] Remove the unused 'object' variable in destroy_child_meta 2009-09-22 17:55:04 +01:00
clutter-container.h [docs] Fixes for the API reference 2009-05-28 17:18:13 +01:00
clutter-debug.h [debug] Adds a dump-pick-buffers CLUTTER_DEBUG option 2009-09-24 21:41:49 +01:00
clutter-deprecated.h Fix copy-and-paste errors in the deprecation macros 2009-07-21 09:22:38 +01:00
clutter-enum-types.c.in Use g_once when registering enumeration types 2009-05-29 12:40:23 +01:00
clutter-enum-types.h.in
clutter-event.c [input] Rework input device API 2009-06-19 13:12:05 +01:00
clutter-event.h [input] Rework input device API 2009-06-19 13:12:05 +01:00
clutter-feature.c Hide clutter_context_get_default() 2009-06-18 14:20:28 +01:00
clutter-feature.h
clutter-fixed.c
clutter-fixed.h
clutter-frame-source.c
clutter-frame-source.h
clutter-group.c [ClutterGroup] Don't take into account the left edges when calculating the size 2009-10-05 15:34:00 +01:00
clutter-group.h
clutter-id-pool.c [clutter-id-pool] Also warn if the ID refers to a deleted actor 2009-10-07 12:53:19 +01:00
clutter-id-pool.h
clutter-interval.c Remove usage of Units and macros 2009-06-04 16:30:30 +01:00
clutter-interval.h
clutter-json.h.in [json] Include only json-glib.h 2009-08-12 15:31:16 +01:00
clutter-keysyms-table.h
clutter-keysyms.h
clutter-list-model.c
clutter-list-model.h
clutter-main.c [debug] Guard the use of gdk_pixbuf for pick debugging by #ifdef USE_GDKPIXBUF 2009-10-05 17:35:46 +01:00
clutter-main.h Decrease the main-loop priority of the frame cycle 2009-06-09 15:03:56 +01:00
clutter-marshal.list [actor] Add the ::allocation-changed signal 2009-06-04 16:30:31 +01:00
clutter-master-clock.c ensure next iteration 2009-07-10 11:38:42 +01:00
clutter-master-clock.h ensure next iteration 2009-07-10 11:38:42 +01:00
clutter-media.c
clutter-media.h
clutter-model-private.h
clutter-model.c [docs] Clutter's model implementation is called ClutterListModel 2009-09-10 13:28:54 +01:00
clutter-model.h
clutter-path.c
clutter-path.h [path] MOVE_TO and LINE_TO only use a pair of coordinates 2009-10-06 10:43:41 +01:00
clutter-private.h [stage] Rework the Stage implementation class 2009-09-08 10:52:58 +01:00
clutter-rectangle.c Revert "[rectangle] Avoid modifying materials mid scene" 2009-06-30 17:13:38 +01:00
clutter-rectangle.h
clutter-score.c
clutter-score.h
clutter-script-parser.c Add copyright and license notice 2009-08-12 10:30:11 +01:00
clutter-script-private.h Include clutter-json.h, not json-types.h 2009-08-12 15:57:25 +01:00
clutter-script.c [script] Convert double to float when parsing 2009-08-26 16:48:32 +01:00
clutter-script.h
clutter-scriptable.c
clutter-scriptable.h
clutter-shader-types.c Convert gint to GLints in the Shader types wrapper 2009-07-27 15:01:52 +01:00
clutter-shader-types.h
clutter-shader.c [cogl-shader] Make get_info_log() slightly nicer 2009-06-01 17:40:23 +01:00
clutter-shader.h
clutter-stage-manager.c [stage manager] Add peek_stages() 2009-05-29 15:13:55 +01:00
clutter-stage-manager.h [stage manager] Add peek_stages() 2009-05-29 15:13:55 +01:00
clutter-stage-window.c [stage] Rework the Stage implementation class 2009-09-08 10:52:58 +01:00
clutter-stage-window.h [stage] Rework the Stage implementation class 2009-09-08 10:52:58 +01:00
clutter-stage.c [stage] Rework the Stage implementation class 2009-09-08 10:52:58 +01:00
clutter-stage.h Allow disabling motion event throttling 2009-07-20 11:44:52 +01:00
clutter-text.c [text] implement get_property for "use-markup" 2009-09-08 14:15:18 +01:00
clutter-text.h
clutter-texture.c Take a reference to the material in clutter_texture_set_cogl_material 2009-08-26 18:28:35 +01:00
clutter-texture.h
clutter-timeline.c [timeline] Account for clock roll backs between frames 2009-09-16 11:57:57 +01:00
clutter-timeline.h Remove the last few fixed-point entry points 2009-06-19 16:38:35 +01:00
clutter-timeout-interval.c
clutter-timeout-interval.h
clutter-timeout-pool.c
clutter-timeout-pool.h
clutter-types.h Add more ActorBox utility methods 2009-06-16 16:43:00 +01:00
clutter-units.c [units] Be more strict in the grammar we are parsing 2009-10-07 16:06:26 +01:00
clutter-units.h [units] Add binding-friendly initializers 2009-07-28 13:46:11 +01:00
clutter-util.c
clutter-util.h
clutter-version.h.in
clutter.h [stage] Rework the Stage implementation class 2009-09-08 10:52:58 +01:00
Makefile.am Merge branch 'stage-window-object' 2009-10-05 12:37:08 +01:00