Commit Graph

17 Commits

Author SHA1 Message Date
Mike Blumenkrantz 172a0ccf0c edje: reformat all C files
this has been unreadable for years due to the french tabber.
2015-06-08 14:43:00 -04:00
Tom Hacohen c9232109f0 Revert "edje: refactor styles_del() logic like styles_add()"
We are in a feature freeze. No room for refactoring/new features, only
surgical (or if you must, non-surgical) fixes!

This reverts commit fa0384ed2c.
2015-04-17 09:26:48 +01:00
Sohyun Kim fa0384ed2c edje: refactor styles_del() logic like styles_add() 2015-04-17 17:22:31 +09:00
Cedric BAIL 6d6fa6b715 edje: optimize style matching.
Most of the time the style string will come from the eet file directly, so
thanks to the dictionnary build in they should be pointing to the same string.
We still need to keep strcmp case for Edje_Edit case, but that shouldn't be
a real issue as the worst case is when it match. When it doesn't match strcmp
should return quite fast on average.
2015-02-24 22:37:53 +01:00
Cedric BAIL a08c59eacf edje: refactor styles add logic. 2015-02-24 22:37:24 +01:00
Sohyun Kim 78ddad3daf edje: Add edje to text_class_member_hash properly.
Summary:
When textblock styles have text_classes, all edjes in the files were added
to text_class_member_hash even if the edjes didn't use the textblock styles. It
makes time long to update text_class.
This will add the edje using the textblock style which has a text_class to
text_class_member_hash.

Reviewers: cedric, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2035
2015-02-24 18:26:18 +01:00
Andrii Kroitor 0c72d75051 edje: textblock style loading changed
Summary:
Keeping "font=", "font_size=" and "text_class" in tag->value fixes
style loading issues (after saving edj file with edje_edit_save method).

Reviewers: cedric, raster, seoz, Hermet, tasn

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D940

@fix
2014-06-26 19:35:56 +09:00
Jihoon Kim a9cfcf8dde Fix dereference null return value
CID 1193210
CID 1193211
2014-03-20 08:44:56 +09:00
Sohyun Kim 85b2a8f5dc reset textblock cache when text_class is changed
If text_class in the textblock is changed, it is not applied because of the cache.
When text_class is changed, reset cache to update text information.
2014-02-27 13:31:42 +09:00
Cedric Bail 89970215e4 edje: fix a git merge issue that did slip in. 2013-08-01 11:22:29 +09:00
Cedric Bail 072f73a453 edje: improve loading time of Edje_Object with Evas_Object_Textblock and multiple styles.
This bring you a 10% speedup to the first frame of Elementary_Test.
2013-08-01 10:52:41 +09:00
Cedric Bail 21ad1916ae edje: remove a stringshare leak on object close with textblock. 2013-07-11 16:16:25 +09:00
ChunEon Park e83accf1ee edje/textblock - keep the styles if the new font by the text class is applied.
text is already did. for the consistency textblock should be kept the same way.
2013-05-22 18:04:34 +09:00
ChunEon Park f380fa75cf edje - oops remove not intended lines 2013-05-22 16:53:31 +09:00
ChunEon Park f45f2ef0ae edje/text - trivial change (typo, indent) 2013-05-22 16:49:43 +09:00
Tom Hacohen 20c0394ba2 Edje textblock: Fixed issue with quoted formats. (Fixes T113). 2013-05-16 11:04:01 +01:00
Gustavo Sverzut Barbieri 9ea2ce1041 efl: merge edje.
this is still in progress, mostly the multisense stuff is pending.

it seems that when we merge ecore_audio in edje the libremix and
similar are gone, at least from Edje, and will be in ecore_audio
itself (or pulseaudio).

Changes:
 * __UNUSED__ to EINA_UNUSED
 * binaries (epp, embryo_cc, edje_cc) now consider EFL_RUN_IN_TREE and
   will assume the binaries are still not installed, running from
   build tree location (needs more testing, maybe doesn't work with
   srcdir != builddir, still doesn't solve cross compile builds)



SVN revision: 82139
2013-01-04 02:08:14 +00:00