summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2014-04-20 23:30:13 -0400
committerMike Blumenkrantz <zmike@samsung.com>2014-04-20 23:30:13 -0400
commit845008da8c7a5022ca5720b746904c2f697649dc (patch)
treed39ca011c5cad0f7b5070210a5fe2610990eaa50
parent80236eed788c305a84b9d6dcb09095d59cb61582 (diff)
edje programs now provide slightly more verbose errors when disabling due to recursion limits
-rw-r--r--src/lib/edje/edje_program.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/edje/edje_program.c b/src/lib/edje/edje_program.c
index 46bb3fd..8e7e823 100644
--- a/src/lib/edje/edje_program.c
+++ b/src/lib/edje/edje_program.c
@@ -454,8 +454,10 @@ _edje_program_run(Edje *ed, Edje_Program *pr, Eina_Bool force, const char *ssig,
454 } 454 }
455 if ((recursions >= 64) || (recursion_limit)) 455 if ((recursions >= 64) || (recursion_limit))
456 { 456 {
457 ERR("Programs recursing up to recursion limit of %i in '%s' with '%s', '%s' from '%s', '%s'. Disabled.", 457 ERR("Programs recursing up to recursion limit of %i in '%s' with sig='%s', src='%s' from '%s', '%s'. Disabled.",
458 64, pr->name, ssig, ssrc, ed->path, ed->group); 458 64, pr->name, ssig, ssrc, ed->path, ed->group);
459 if (pr->action == EDJE_ACTION_TYPE_STATE_SET && ((pr->tween.time > ZERO) && (!ed->no_anim)))
460 ERR("Possible solution: try adding transition time to prevent Schrödinger's part state");
459 recursion_limit = 1; 461 recursion_limit = 1;
460 return; 462 return;
461 } 463 }