ajwillia-ms pushed a commit to branch master. http://git.enlightenment.org/tools/edi.git/commit/?id=7d5b7ba4b83b2e016505a0fcbdf90e3c1b73334a
commit 7d5b7ba4b83b2e016505a0fcbdf90e3c1b73334a Author: Andy Williams <a...@andywilliams.me> Date: Sat Oct 10 12:19:40 2015 -0700 [logs] Ignore some common log lines to avoid clutter in panel. This also removes some infinite loops as the redrawing of the log panel could trigger these lines too --- src/bin/edi_logpanel.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/bin/edi_logpanel.c b/src/bin/edi_logpanel.c index 24f3fd8..de1091d 100644 --- a/src/bin/edi_logpanel.c +++ b/src/bin/edi_logpanel.c @@ -16,6 +16,12 @@ static Evas_Object *_info_widget; static Elm_Code *_elm_code; +static Eina_Bool +_edi_logpanel_ignore(const char *fnc) +{ + return !strncmp(fnc, "_evas_object_smart_need_recalculate_set", strlen(fnc)); +} + static void _edi_logpanel_print_cb(const Eina_Log_Domain *domain, Eina_Log_Level level, const char *file, const char *fnc, int line, const char *fmt, @@ -24,6 +30,9 @@ _edi_logpanel_print_cb(const Eina_Log_Domain *domain, Eina_Log_Level level, unsigned int printed, buffer_len = 512; char buffer [buffer_len]; + if (_edi_logpanel_ignore(fnc)) + return; + printed = snprintf(buffer, buffer_len, "%s:%s:%s (%d): ", domain->domain_str, file, fnc, line); vsnprintf(buffer + printed, buffer_len - printed, fmt, args); --