efl/src/lib/edje
Mike Blumenkrantz 7bbf18a950 edje: return available text data in part_text_get without recalc when possible
Summary:
based on the codepaths taken when setting text to a part, a recalc should
only be necessary when returning markup from a textblock, and this is only
the case because the function returns a non-allocated string

in the case where the object is textblock and (legacy || not fetching markup),
the current text is guaranteed to be set on this pointer. the reason a
recalc is necessary for the markup case is because edje TEXTBLOCK parts only
set text to the internal textblock during a recalc, meaning that attempting
to fetch text on a just-set part will fail; this does not mean that the internal
textblock object doesn't exist, only that the text has not yet been set to it
Depends on D6422

Reviewers: herdsman, devilhorns

Reviewed By: devilhorns

Subscribers: cedric, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6423
2018-06-25 15:19:33 -04:00
..
Edje.h all: Simplify definition of EAPI 2018-01-18 18:04:03 +09:00
Edje.hh
Edje_Common.h edje: Add beta api for seat_data_get 2018-05-08 12:26:36 -05:00
Edje_Edit.h all: Simplify definition of EAPI 2018-01-18 18:04:03 +09:00
Edje_Eo.h edje: rename Edje.Object to Efl.Canvas.Layout 2017-12-06 13:12:29 +09:00
Edje_Legacy.h elm_entry: add elm_entry_prediction_hint_hash_set/del API 2018-05-23 11:27:34 +09:00
edje_box_layout.c efl: Use Eina.Size2D for size hint combined min 2017-09-18 16:33:33 +09:00
edje_cache.c Revert "edje: code refactoring for readibility." 2018-06-21 19:33:41 +09:00
edje_calc.c Efl.Gfx.Image* (From Efl.Image*) 2018-04-24 09:03:40 -07:00
edje_callbacks.c edje: Pass extra signal data to program_run 2018-05-08 12:26:13 -05:00
edje_convert.c edje: add efl_version property 2017-06-14 14:24:08 -07:00
edje_convert.h
edje_data.c Revert "edje: code refactoring for readibility." 2018-06-21 19:33:41 +09:00
edje_edit.c Revert "edje: code refactoring for readibility." 2018-06-21 19:33:41 +09:00
edje_edit.eo edje: rename Edje.Object to Efl.Canvas.Layout 2017-12-06 13:12:29 +09:00
edje_embryo.c Revert "edje: code refactoring for readibility." 2018-06-21 19:33:41 +09:00
edje_entry.c elm_entry: add elm_entry_prediction_hint_hash_set/del API 2018-05-23 11:27:34 +09:00
edje_external.c edje: Remove external_object_get from EO 2017-05-30 13:54:34 +09:00
edje_global.eo edje: Hide edje_global from the rest of the world 2017-11-08 20:02:31 +09:00
edje_legacy.c edje: fix backward compatibility issue caused by legacy cursor funcs 2018-05-02 19:48:46 +03:00
edje_load.c Edje load: add safecheck for TEXTBLOCK-specific code path 2018-06-20 19:34:00 +03:00
edje_lua.c edje_lua: Wrap calls to edje_object_part_object_get with freeze/thaw 2018-06-25 11:36:52 -04:00
edje_lua2.c edje_lua2: add null check 2018-04-23 13:39:36 -07:00
edje_lua_script_only.c
edje_main.c edje: properly handle lifecycle of edje global object.x 2018-05-24 16:02:18 -07:00
edje_match.c
edje_message_queue.c Revert "edje: code refactoring for readibility." 2018-06-21 19:33:41 +09:00
edje_misc.c
edje_module.c efl: remove _MSC_VER (Visual Studio macro) usage in source code 2018-01-04 12:59:47 -08:00
edje_multisense.c Revert "efl_add_ref - fis to use efl_add properly with a parent." 2018-05-24 16:02:17 -07:00
edje_part.c Efl.Gfx.Entity (from Efl.Gfx) 2018-04-24 09:03:32 -07:00
edje_part_box.c Efl.Gfx.Entity (from Efl.Gfx) 2018-04-24 09:03:32 -07:00
edje_part_external.c Efl.Gfx.Entity (from Efl.Gfx) 2018-04-24 09:03:32 -07:00
edje_part_helper.h edje: fix edje_part_helpers refcounting 2018-06-10 17:01:33 +02:00
edje_part_invalid.c Efl.Text_* (from Efl.Text.*) 2018-04-24 09:03:49 -07:00
edje_part_swallow.c Efl.Gfx.Entity (from Efl.Gfx) 2018-04-24 09:03:32 -07:00
edje_part_table.c Efl.Gfx.Entity (from Efl.Gfx) 2018-04-24 09:03:32 -07:00
edje_part_text.c Efl.Text_* (from Efl.Text.*) 2018-04-24 09:03:49 -07:00
edje_private.h Revert "edje: code refactoring for readibility." 2018-06-21 19:33:41 +09:00
edje_program.c edje: Send seat name to all seat emitted events 2018-05-08 13:25:46 -05:00
edje_signal.c edje: Move signal APIs to an interface 2017-08-04 11:52:16 +09:00
edje_smart.c edje: fix lifecycle of swallowed children 2018-05-28 21:50:12 -07:00
edje_text.c Efl.Gfx.Entity (from Efl.Gfx) 2018-04-24 09:03:32 -07:00
edje_textblock.c edje: fix an issue "description.text.text" is not shown 2018-06-11 16:19:38 +03:00
edje_textblock_styles.c edje: Dont append font source if fonts are not embedded in edje 2018-04-16 11:23:23 -07:00
edje_types.eot Efl.Canvas.Layout_Part* (from Efl.Canvas.Layout.Part*) 2018-04-24 09:03:37 -07:00
edje_util.c edje: return available text data in part_text_get without recalc when possible 2018-06-25 15:19:33 -04:00
edje_var.c Revert "edje: code refactoring for readibility." 2018-06-21 19:33:41 +09:00
efl_canvas_layout.eo efl: major rewrite of efl_part. 2018-05-24 16:02:18 -07:00
efl_canvas_layout_part.eo Efl.Canvas.Layout_Part* (from Efl.Canvas.Layout.Part*) 2018-04-24 09:03:37 -07:00
efl_canvas_layout_part_box.eo Efl.Pack_* (from Efl.Pack.*) 2018-04-24 09:03:48 -07:00
efl_canvas_layout_part_external.eo eolian: second batch of unused import removals 2018-05-13 18:13:12 +02:00
efl_canvas_layout_part_invalid.eo eolian: second batch of unused import removals 2018-05-13 18:13:12 +02:00
efl_canvas_layout_part_swallow.eo Efl.Canvas.Layout_Part* (from Efl.Canvas.Layout.Part*) 2018-04-24 09:03:37 -07:00
efl_canvas_layout_part_table.eo Efl.Pack_* (from Efl.Pack.*) 2018-04-24 09:03:48 -07:00
efl_canvas_layout_part_text.eo Efl.Text_* (from Efl.Text.*) 2018-04-24 09:03:49 -07:00
efl_layout_calc.eo efl: Add missing event types 2018-05-19 01:42:26 +02:00
efl_layout_group.eo eolian: first batch of unused import removals 2018-05-13 17:28:47 +02:00
efl_layout_signal.eo edje: rename intf Efl.Canvas.Layout.Signal to Efl.Layout.Signal 2017-12-05 16:18:32 +09:00