mutter/clutter
Emmanuele Bassi d7ce56bb46 Support pango_layout_set_height() in ClutterText
This is the port of the patch attached to bug 1266:

  ClutterLabel support for pango_layout_set_height()

to the ClutterText actor. This patch adds support for the
pango_layout_set_height() function inside the layout creation
and caching, so that setting the height of a ClutterText will
make PangoLayout try to fill out the given height before
ellipsizing the contents of the ClutterText actor.

The original patch is from Havoc Pennington.

This commit ports the patch to ClutterText and applies a small
change to the height computation pointed out by Behdad Esfahbod
on GNOME's Bugzilla:

  http://bugzilla.gnome.org/show_bug.cgi?id=560931

That the layout heights when doing a size request should be
set to be G_MAXINT instead of -1.

Unfortunately, the patch seems to break the conformance suite
when setting the ellipsization on the layout.
2008-12-16 14:10:41 +00:00
..
cogl * clutter/cogl/gl/cogl.c: 2008-12-10 12:13:20 +00:00
eglnative 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
eglx 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
fruity 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
glx Bug 1297 - Bring back support for GL_ARB_texture_rectangle 2008-12-04 17:24:33 +00:00
json 2008-04-09 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-09 14:18:42 +00:00
osx 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
pango * clutter/pango/cogl-pango.h: Include pango/pango.h to get 2008-11-21 16:18:31 +00:00
sdl 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
win32 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
x11 2008-11-07 Matthew Allum <mallum@linux.intel.com> 2008-11-07 16:31:56 +00:00
clutter-actor.c Add Actor::grab_key_focus() method 2008-12-11 11:22:46 +00:00
clutter-actor.h Add Actor::grab_key_focus() method 2008-12-11 11:22:46 +00:00
clutter-alpha.c 2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 12:42:05 +00:00
clutter-alpha.h 2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 12:42:05 +00:00
clutter-animation.c 2008-11-17 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 09:50:03 +00:00
clutter-animation.h 2008-11-17 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 09:50:03 +00:00
clutter-backend.c 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:11:29 +00:00
clutter-backend.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-behaviour-depth.c 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 16:37:55 +00:00
clutter-behaviour-depth.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-behaviour-ellipse.c Bug 1323 - ClutterBehaviorDepth conflicts with other behaviors 2008-12-10 11:27:14 +00:00
clutter-behaviour-ellipse.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-behaviour-opacity.c 2008-01-18 Emmanuele Bassi <ebassi@openedhand.com> 2008-01-18 11:02:34 +00:00
clutter-behaviour-opacity.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-behaviour-path.c * clutter/clutter-timeline.c: 2008-12-05 14:08:06 +00:00
clutter-behaviour-path.h Bug 1252 - Merge ClutterBehaviourPath and ClutterBehaviourBspline 2008-12-05 13:13:37 +00:00
clutter-behaviour-rotate.c 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 16:37:55 +00:00
clutter-behaviour-rotate.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-behaviour-scale.c 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 16:37:55 +00:00
clutter-behaviour-scale.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-behaviour.c 2008-05-01 Emmanuele Bassi <ebassi@openedhand.com> 2008-05-01 09:28:41 +00:00
clutter-behaviour.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-bezier.c Bug 1252 - Merge ClutterBehaviourPath and ClutterBehaviourBspline 2008-12-05 13:13:37 +00:00
clutter-bezier.h Bug 1252 - Merge ClutterBehaviourPath and ClutterBehaviourBspline 2008-12-05 13:13:37 +00:00
clutter-binding-pool.c 2008-12-08 Emmanuele Bassi <ebassi@linux.intel.com> 2008-12-08 13:57:10 +00:00
clutter-binding-pool.h 2008-12-08 Emmanuele Bassi <ebassi@linux.intel.com> 2008-12-08 14:22:52 +00:00
clutter-child-meta.c 2008-08-06 Emmanuele Bassi <ebassi@openedhand.com> 2008-08-06 10:20:57 +00:00
clutter-child-meta.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-clone-texture.c 2008-11-12 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-12 13:57:58 +00:00
clutter-clone-texture.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-color.c * clutter/clutter-color.c (clutter_color_new): Remove CLAMP macros 2008-11-05 12:16:15 +00:00
clutter-color.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-container.c 2008-10-16 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-16 10:28:17 +00:00
clutter-container.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-debug.h 2008-11-17 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 09:50:03 +00:00
clutter-deprecated.h 2008-11-17 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 09:50:03 +00:00
clutter-effect.c Bug 1252 - Merge ClutterBehaviourPath and ClutterBehaviourBspline 2008-12-05 13:13:37 +00:00
clutter-effect.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-enum-types.c.in 2007-12-25 Emmanuele Bassi <ebassi@openedhand.com> 2007-12-25 11:41:10 +00:00
clutter-enum-types.h.in 2007-08-20 Emmanuele Bassi <ebassi@openedhand.com> 2007-08-20 20:16:15 +00:00
clutter-event.c 2008-12-08 Emmanuele Bassi <ebassi@linux.intel.com> 2008-12-08 13:57:10 +00:00
clutter-event.h 2008-12-08 Emmanuele Bassi <ebassi@linux.intel.com> 2008-12-08 13:57:10 +00:00
clutter-feature.c 2008-06-06 Matthew Allum <mallum@openedhand.com> 2008-06-06 13:44:22 +00:00
clutter-feature.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-fixed.c 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 16:37:55 +00:00
clutter-fixed.h Fix a typo 2008-10-31 12:07:01 +00:00
clutter-frame-source.c * clutter/clutter-frame-source.c (clutter_frame_source_add) 2008-05-09 16:27:06 +00:00
clutter-frame-source.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-group.c 2008-11-26 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-26 16:46:48 +00:00
clutter-group.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-id-pool.c 2008-03-09 Matthew Allum <mallum@openedhand.com> 2008-03-09 19:07:17 +00:00
clutter-id-pool.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-interval.c 2008-11-17 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 09:50:03 +00:00
clutter-interval.h 2008-11-17 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 09:50:03 +00:00
clutter-json.h.in 2008-04-23 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-23 13:58:58 +00:00
clutter-keysyms-table.h 7 small miscellaneous fixes 2008-06-10 06:37:46 +00:00
clutter-keysyms.h 2008-08-04 Emmanuele Bassi <ebassi@openedhand.com> 2008-08-05 10:54:40 +00:00
clutter-list-model.c 2008-03-19 Emmanuele Bassi <ebassi@openedhand.com> 2008-03-19 18:33:33 +00:00
clutter-list-model.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-main.c * clutter/clutter-main.c (_clutter_do_pick): Restore the GL_DITHER 2008-12-08 12:02:36 +00:00
clutter-main.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:11:29 +00:00
clutter-marshal.list 2008-12-08 Emmanuele Bassi <ebassi@linux.intel.com> 2008-12-08 13:57:10 +00:00
clutter-media.c Bug 1269 - mingw32 building failed at clutter-media.c 2008-11-21 16:18:38 +00:00
clutter-media.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-model-private.h 2008-01-09 Emmanuele Bassi <ebassi@openedhand.com> 2008-01-09 14:18:53 +00:00
clutter-model.c * clutter/clutter-model.c (clutter_model_set_sorting_column): This 2008-07-30 10:32:25 +00:00
clutter-model.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-path.c Bug 1252 - Merge ClutterBehaviourPath and ClutterBehaviourBspline 2008-12-05 13:13:37 +00:00
clutter-path.h Bug 1252 - Merge ClutterBehaviourPath and ClutterBehaviourBspline 2008-12-05 13:13:37 +00:00
clutter-private.h 2008-11-07 Matthew Allum <mallum@linux.intel.com> 2008-11-07 16:31:56 +00:00
clutter-rectangle.c 2008-11-17 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-17 14:21:49 +00:00
clutter-rectangle.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-score.c Bug 1299 - clutter_score_remove will segmentation fault if 2008-11-25 13:19:48 +00:00
clutter-score.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-script-parser.c 2008-08-04 Emmanuele Bassi <ebassi@openedhand.com> 2008-08-04 16:21:27 +00:00
clutter-script-private.h 2008-08-04 Emmanuele Bassi <ebassi@openedhand.com> 2008-08-04 16:21:27 +00:00
clutter-script.c Fixed some trivial compiler warnings 2008-11-18 18:53:10 +00:00
clutter-script.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-scriptable.c 2007-11-14 Emmanuele Bassi <ebassi@openedhand.com> 2007-11-14 11:32:24 +00:00
clutter-scriptable.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-shader-types.c 2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 15:08:40 +00:00
clutter-shader-types.h 2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 15:08:40 +00:00
clutter-shader.c 2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 15:08:40 +00:00
clutter-shader.h 2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 15:08:40 +00:00
clutter-stage-manager.c Applied patch from bug #947 2008-06-03 20:15:11 +00:00
clutter-stage-manager.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-stage-window.c 2008-04-04 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-04 15:02:11 +00:00
clutter-stage-window.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-stage.c * clutter/clutter-timeline.c: 2008-12-05 14:08:06 +00:00
clutter-stage.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-text.c Support pango_layout_set_height() in ClutterText 2008-12-16 14:10:41 +00:00
clutter-text.h Add ClutterText::set_selection() 2008-12-16 12:41:20 +00:00
clutter-texture.c * clutter/clutter-timeline.c: 2008-12-05 14:08:06 +00:00
clutter-texture.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-timeline.c 2008-12-05 Emmanuele Bassi <ebassi@linux.intel.com> 2008-12-05 17:44:12 +00:00
clutter-timeline.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-timeout-pool.c 2008-09-23 Emmanuele Bassi <ebassi@linux.intel.com> 2008-09-23 13:25:31 +00:00
clutter-timeout-pool.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-types.h 2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 12:42:05 +00:00
clutter-units.c 2008-05-09 Emmanuele Bassi <ebassi@openedhand.com> 2008-05-09 10:58:26 +00:00
clutter-units.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-util.c * clutter/clutter-texture.c: (texture_get_tile_pixbuf), 2008-02-12 17:17:52 +00:00
clutter-util.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-version.h.in 2008-03-31 Matthew Allum <mallum@openedhand.com> 2008-03-31 17:15:02 +00:00
clutter.h Remove ClutterEntry and ClutterLabel from the build 2008-12-11 13:49:39 +00:00
Makefile.am Remove ClutterEntry and ClutterLabel from the build 2008-12-11 13:49:39 +00:00