summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_embryo.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2014-04-21 10:29:53 -0400
committerMike Blumenkrantz <zmike@samsung.com>2014-04-25 10:52:15 -0400
commit939f2eea7f8318864c85010c704a6045d2e77b51 (patch)
tree9dcc2c0e95e19cb808d305d4efc12d12a3a301a5 /src/lib/edje/edje_embryo.c
parentc5b1598e6e21fb11e7a0672e14077f61181b510b (diff)
edje now has the group.script_recursion flag for permitting unsafe embryo recursion
this is enabled for all scripts within a group, and it should only be used if you: 1) know what you are doing 2) know why this is unsafe (T905) @feature
Diffstat (limited to 'src/lib/edje/edje_embryo.c')
-rw-r--r--src/lib/edje/edje_embryo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/edje/edje_embryo.c b/src/lib/edje/edje_embryo.c
index b4ba41f171..2f03c6ba89 100644
--- a/src/lib/edje/edje_embryo.c
+++ b/src/lib/edje/edje_embryo.c
@@ -3871,7 +3871,7 @@ _edje_embryo_test_run(Edje *ed, const char *fname, const char *sig, const char *
3871 /* will likely end up being much longer than 0.016 seconds - more */ 3871 /* will likely end up being much longer than 0.016 seconds - more */
3872 /* like 0.03 - 0.05 seconds or even more */ 3872 /* like 0.03 - 0.05 seconds or even more */
3873 embryo_program_max_cycle_run_set(ed->collection->script, 5000000); 3873 embryo_program_max_cycle_run_set(ed->collection->script, 5000000);
3874 if (embryo_program_recursion_get(ed->collection->script)) 3874 if (embryo_program_recursion_get(ed->collection->script) && (!ed->collection->script_recursion))
3875 ERR("You are running Embryo->EDC->Embryo with script program '%s';\nBy the power of Grayskull, your previous Embryo stack is now broken!", fname); 3875 ERR("You are running Embryo->EDC->Embryo with script program '%s';\nBy the power of Grayskull, your previous Embryo stack is now broken!", fname);
3876 ret = embryo_program_run(ed->collection->script, fn); 3876 ret = embryo_program_run(ed->collection->script, fn);
3877 if (ret == EMBRYO_PROGRAM_FAIL) 3877 if (ret == EMBRYO_PROGRAM_FAIL)