efl/legacy/edje/src/lib
Gustavo Sverzut Barbieri 08bfdacdee Bugfix and refactor get of font based on text_class.
Edje tries to copy original style to font provided by text_class if
this have no style.

However code was supposing that text_class font always had more than
one occurrence, these separated with ',' and did not check if this is
not the case, so "e = strchr(',', tok);" was returning NULL and all
the math were using negative values.

The fix now does the proper checking, avoid one useless alloca() and
the respective copy, also doing the copies with memcpy() since sizes
are already known.

Refactory was done to make code simpler and also avoid having it
copied 3 times.


SVN revision: 33869
2008-02-29 21:43:55 +00:00
..
.cvsignore added .cvsignore files 2004-01-17 16:36:46 +00:00
Edje.h make edje binaries compile and allow the creation of the edje shared lib on windows. Remove some trailing spaces 2007-08-26 12:54:51 +00:00
Makefile.am remvoe fnmatch checks 2008-01-18 06:38:46 +00:00
edje_cache.c remove trailingspaces 2007-09-08 18:31:56 +00:00
edje_calc.c Bugfix and refactor get of font based on text_class. 2008-02-29 21:43:55 +00:00
edje_callbacks.c remove trailingspaces 2007-09-08 18:31:56 +00:00
edje_container.c remove trailingspaces 2007-09-08 18:31:56 +00:00
edje_container.h remove trailingspaces 2007-09-08 18:31:56 +00:00
edje_data.c remove trailingspaces 2007-09-08 18:25:43 +00:00
edje_embryo.c asparagus! also pass distcheck and have common autofoo init that is 2008-01-25 03:35:49 +00:00
edje_load.c Cleanup of last patches and revert my patching mistakes. 2008-02-26 20:12:00 +00:00
edje_main.c Cleanup of last patches and revert my patching mistakes. 2008-02-26 20:12:00 +00:00
edje_match.c Cleanup of last patches and revert my patching mistakes. 2008-02-26 20:12:00 +00:00
edje_message_queue.c Don't clean up this job, ecore_job will clean it up itself. 2007-11-04 12:41:15 +00:00
edje_misc.c fully supported message queues now. that was a chunk of work! 2004-07-02 10:17:25 +00:00
edje_private.h Bugfix and refactor get of font based on text_class. 2008-02-29 21:43:55 +00:00
edje_program.c Cleanup of last patches and revert my patching mistakes. 2008-02-26 20:12:00 +00:00
edje_smart.c fix edje to get the current default object size as initial size data. 2007-10-05 04:53:17 +00:00
edje_text.c Bugfix and refactor get of font based on text_class. 2008-02-29 21:43:55 +00:00
edje_textblock_styles.c formatting 2008-01-19 00:24:53 +00:00
edje_util.c Fix formatting ugliness. 2008-02-15 19:30:12 +00:00
edje_var.c remove trailingspaces 2007-09-08 18:31:56 +00:00