From: cedric Date: Tue, 14 Feb 2012 18:07:44 +0000 (+0000) Subject: edje: add EDJE_DUMP_PROGRAMS. X-Git-Tag: submit/2.0alpha-wayland/20121127.221958~384 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2f8badab9b314de564bedccd4752cd2d3d9ada37;p=profile%2Fivi%2Fedje.git edje: add EDJE_DUMP_PROGRAMS. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@67940 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/edje_load.c b/src/lib/edje_load.c index 2c54019..b63cd88 100644 --- a/src/lib/edje_load.c +++ b/src/lib/edje_load.c @@ -226,6 +226,20 @@ _edje_programs_patterns_init(Edje *ed) if (ssp->signals_patterns) return; + if (getenv("EDJE_DUMP_PROGRAMS")) + { + INF("Group '%s' programs:", ed->group); +#define EDJE_DUMP_PROGRAM(Section) \ + for (i = 0; i < ed->collection->programs.Section##_count; i++) \ + INF(#Section" for ('%s', '%s')", ed->collection->programs.Section[i]->signal, ed->collection->programs.Section[i]->source); + + EDJE_DUMP_PROGRAM(strcmp); + EDJE_DUMP_PROGRAM(strncmp); + EDJE_DUMP_PROGRAM(strrncmp); + EDJE_DUMP_PROGRAM(fnmatch); + EDJE_DUMP_PROGRAM(nocmp); + } + edje_match_program_hash_build(ed->collection->programs.strcmp, ed->collection->programs.strcmp_count, &ssp->exact_match);