mutter/clutter
Emmanuele Bassi 01d172293c [model] Rework Model behaviour with a filter
Currently ClutterModel::get_iter_at_row() ignores whether we have
a filter in place. This also extends to the get_n_rows() method.

The more consistent, more intuitive and surely more correct way to
handle a Model with a filter in place is to take into account the
presence of the filter itself -- that is:

  - get_n_rows() should take into account the filter and return the
    number of *filtered* rows

  - get_iter_at_row() should also take the filter into account and
    get the first non-filtered row

These two changes make the ClutterModel with a filter function
behave like a subset of the original Model without a filter in
place.

For instance, given a model with three rows:

  - [row 0]     <does not match filter>
  - [row 1]     <matches filter>
  - [row 2]     <matches filter>
  - [row 3]     <does not match filter>

The get_n_rows() method will return "2", since only two rows will
match the filter; the get_first_iter() method will ask for the
zero-eth row, which will return an iterator pointing to the contents
of row 1 (but the :row property of the iterator will be set to 0);
the get_last_iter() method will ask for the last row, which will
return an iterator pointing to the contents of row 2 (but the :row
property of the iterator will be set to 1).

This changes will hopefully make the Model API more consistent
in its usage whether there is a filter in place or not.
2009-04-29 15:26:05 +01:00
..
cogl [gl/cogl.c] #include <gmodule.h> for OS X builds 2009-04-20 14:20:37 +01:00
eglnative Remove usage of the grave accent as quotation mark 2009-03-17 14:13:31 +00:00
eglx Remove usage of the grave accent as quotation mark 2009-03-17 14:13:31 +00:00
fruity Remove usage of the grave accent as quotation mark 2009-03-17 14:13:31 +00:00
glx Use $(MAINTAINER_CFLAGS) in clutter/{x11,glx}/Makefile.am 2009-04-17 14:53:24 +01:00
json [json] Avoid leaks on error code paths 2009-04-15 12:18:55 +01:00
osx
pango [cogl-pango-render] Fix returning to default color after a color attribute 2009-04-06 11:14:43 +01:00
sdl Set the mapped flag on the stage in the SDL and eglnative backends 2009-03-09 18:53:31 +00:00
win32 Remove usage of the grave accent as quotation mark 2009-03-17 14:13:31 +00:00
x11 [x11-texture-pixmap] Fixes a reported lockup due to an undesireable X server grab 2009-04-22 13:43:53 +01:00
clutter-actor.c Add debug annotations for the layout process 2009-04-15 17:25:50 +01:00
clutter-actor.h [docs] Add description of queue_redraw 2009-03-16 14:01:43 +00:00
clutter-alpha.c [alpha] Sanitize easing equations 2009-04-23 11:35:10 +01:00
clutter-alpha.h Merge branch 'cogl-float' 2009-01-20 18:47:50 +00:00
clutter-animatable.c Add license notice to ClutterAnimation files 2009-01-08 13:18:00 +00:00
clutter-animatable.h Add license notice to ClutterAnimation files 2009-01-08 13:18:00 +00:00
clutter-animation.c [animation] Do not connect to ::completed multiple times 2009-04-05 20:32:15 +01:00
clutter-animation.h [animation] Add the ::started signal 2009-04-03 14:19:20 +01:00
clutter-backend.c [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-backend.h [backend] Constify font options 2009-02-26 15:32:48 +00:00
clutter-behaviour-depth.c Fix compiler warnings 2009-01-23 13:08:46 +00:00
clutter-behaviour-depth.h [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-behaviour-ellipse.c [docs] Remove ClutterFixed from the documentation 2009-03-10 12:38:04 +00:00
clutter-behaviour-ellipse.h Move ClutterBehaviourEllipse to CoglFixed 2009-03-10 12:38:03 +00:00
clutter-behaviour-opacity.c [animation] Move the alpha value to floating point 2009-01-20 16:42:49 +00:00
clutter-behaviour-opacity.h [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-behaviour-path.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-behaviour-path.h [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-behaviour-rotate.c Move ClutterBehaviourRotate to CoglFixed 2009-03-10 12:38:03 +00:00
clutter-behaviour-rotate.h Move ClutterBehaviourRotate to CoglFixed 2009-03-10 12:38:03 +00:00
clutter-behaviour-scale.c Move BehaviourScale to CoglFixed 2009-03-10 12:38:03 +00:00
clutter-behaviour-scale.h Move BehaviourScale to CoglFixed 2009-03-10 12:38:03 +00:00
clutter-behaviour.c Remove usage of the grave accent as quotation mark 2009-03-17 14:13:31 +00:00
clutter-behaviour.h [animation] Move the alpha value to floating point 2009-01-20 16:42:49 +00:00
clutter-bezier.c [Automatic fixed-to-float.sh change] Applies a number fixed to float patches 2009-01-20 16:20:54 +00:00
clutter-bezier.h
clutter-binding-pool.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-binding-pool.h Add declaration of clutter_binding_pool_get_type() 2009-01-14 15:03:30 +00:00
clutter-cairo-texture.c [docs] Documentation fixes for CairoTexture 2008-12-19 17:48:30 +00:00
clutter-cairo-texture.h [docs] Documentation warnings 2009-01-09 14:26:35 +00:00
clutter-child-meta.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-child-meta.h [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-clone.c [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-clone.h [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-color.c Remove usage of the grave accent as quotation mark 2009-03-17 14:13:31 +00:00
clutter-color.h Clean up of the ClutterColor API 2009-03-10 12:38:02 +00:00
clutter-container.c Remove usage of the grave accent as quotation mark 2009-03-17 14:13:31 +00:00
clutter-container.h
clutter-debug.h Add debug annotations for the layout process 2009-04-15 17:25:50 +01:00
clutter-deprecated.h [shader] Remove deprecated set_uniform_1f() 2009-04-03 12:47:21 +01:00
clutter-enum-types.c.in
clutter-enum-types.h.in
clutter-event.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-event.h Bug 1440 - Add clutter_get_current_event_time() 2009-02-14 11:38:16 +00:00
clutter-feature.c
clutter-feature.h
clutter-fixed.c [docs] Remove ClutterFixed from the documentation 2009-03-10 12:38:04 +00:00
clutter-fixed.h [fixed] Remove ClutterFixed API 2009-03-10 12:38:04 +00:00
clutter-frame-source.c Count timeline frames using the FPS instead of an integer interval 2009-03-16 15:40:18 +00:00
clutter-frame-source.h Count timeline frames using the FPS instead of an integer interval 2009-03-16 15:40:18 +00:00
clutter-group.c [group] Fix compilation 2009-04-03 13:36:30 +01:00
clutter-group.h [group] avoid double evaluation of arguments in clutter_group_add 2009-04-08 18:19:46 +01:00
clutter-id-pool.c
clutter-id-pool.h
clutter-interval.c [interval] Update fixed-point handling 2009-03-10 12:38:03 +00:00
clutter-interval.h [animation] Allow registering custom progress function 2009-01-08 11:15:09 +00:00
clutter-json.h.in
clutter-keysyms-table.h
clutter-keysyms.h
clutter-list-model.c [model] Rework Model behaviour with a filter 2009-04-29 15:26:05 +01:00
clutter-list-model.h [list-model] Make ClutterListModel subclassable 2009-02-14 11:31:00 +00:00
clutter-main.c Add debug annotations for the layout process 2009-04-15 17:25:50 +01:00
clutter-main.h Count timeline frames using the FPS instead of an integer interval 2009-03-16 15:40:18 +00:00
clutter-marshal.list [animation] Move the alpha value to floating point 2009-01-20 16:42:49 +00:00
clutter-media.c [media] Add sub-second resolution for the duration 2009-02-24 16:22:02 +00:00
clutter-media.h [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-model-private.h
clutter-model.c [model] Rework Model behaviour with a filter 2009-04-29 15:26:05 +01:00
clutter-model.h [model] Rework Model behaviour with a filter 2009-04-29 15:26:05 +01:00
clutter-path.c Prevent a possible zero division 2009-04-16 17:16:31 +01:00
clutter-path.h [build] Replaces use of #include <cairo/cairo.h> with #include <cairo.h> 2008-12-21 21:52:50 +00:00
clutter-private.h Bug 1440 - Add clutter_get_current_event_time() 2009-02-14 11:38:16 +00:00
clutter-rectangle.c Changes cogl_rectangle to take x1, y1, x2, y2 args not x1, y1, width, height 2009-01-28 17:20:15 +00:00
clutter-rectangle.h [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-score.c Remove usage of the grave accent as quotation mark 2009-03-17 14:13:31 +00:00
clutter-score.h [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-script-parser.c
clutter-script-private.h
clutter-script.c Remove usage of the grave accent as quotation mark 2009-03-17 14:13:31 +00:00
clutter-script.h [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-scriptable.c Intern the ClutterScriptable type name 2009-02-26 14:57:58 +00:00
clutter-scriptable.h
clutter-shader-types.c Remove usage of the grave accent as quotation mark 2009-03-17 14:13:31 +00:00
clutter-shader-types.h Do not use GL types in Clutter headers 2009-02-20 11:47:14 +00:00
clutter-shader.c [shader] Remove deprecated set_uniform_1f() 2009-04-03 12:47:21 +01:00
clutter-shader.h [shader] Remove deprecated set_uniform_1f() 2009-04-03 12:47:21 +01:00
clutter-stage-manager.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-stage-manager.h
clutter-stage-window.c
clutter-stage-window.h
clutter-stage.c [stage] Warn if perspective's z_far - z_near is 0 2009-04-15 17:27:04 +01:00
clutter-stage.h [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-text.c [ClutterText] Fix actors with a width but no wrapping and the wrap modes 2009-04-27 17:43:48 +01:00
clutter-text.h [clutter-text] Add a separate property for the selection color 2009-04-06 15:22:31 +01:00
clutter-texture.c [cogl-handle] Optimize how we define cogl handles 2009-04-02 11:58:43 +01:00
clutter-texture.h [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-timeline.c [ClutterTimeline] Fix clutter_timeline_set_delay 2009-03-26 20:29:23 +00:00
clutter-timeline.h [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-timeout-interval.c Count timeline frames using the FPS instead of an integer interval 2009-03-16 15:40:18 +00:00
clutter-timeout-interval.h Count timeline frames using the FPS instead of an integer interval 2009-03-16 15:40:18 +00:00
clutter-timeout-pool.c [docs] Fix naming of the interval parameter 2009-03-16 16:56:51 +00:00
clutter-timeout-pool.h Count timeline frames using the FPS instead of an integer interval 2009-03-16 15:40:18 +00:00
clutter-types.h [docs] Update API reference 2009-03-10 12:38:04 +00:00
clutter-units.c Remove usage of the grave accent as quotation mark 2009-03-17 14:13:31 +00:00
clutter-units.h [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-util.c
clutter-util.h
clutter-version.h.in
clutter.h Add more deprecation notices 2009-03-13 14:29:27 +00:00
Makefile.am Count timeline frames using the FPS instead of an integer interval 2009-03-16 15:40:18 +00:00