From 194d9d698a405e56a9aa4abd7854730e49ae8537 Mon Sep 17 00:00:00 2001 From: Sung-jae Park Date: Thu, 20 Jun 2013 15:16:10 +0900 Subject: [PATCH] Reduce the verbose log prints [model] Redwood [binary_type] AP [customer] Docomo/Orange/Open [issue#] N/A [problem] Too many logs are printed [cause] N/A [solution] Reduce the print code [team] HomeTF [request] [horizontal_expansion] Change-Id: Iacadee1c13fe5ca0449d1186e1dc42990c75c22f --- src/script_port.c | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/src/script_port.c b/src/script_port.c index 25d500e..c4d95c4 100644 --- a/src/script_port.c +++ b/src/script_port.c @@ -146,12 +146,10 @@ static inline void rebuild_focus_chain(Evas_Object *obj) elm_object_focus_custom_chain_unset(obj); - DbgPrint("Rebuild focus chain begin\n"); EINA_LIST_FOREACH(obj_info->access_chain, l, ao) { DbgPrint("Append %p\n", ao); elm_object_focus_custom_chain_append(obj, ao, NULL); } - DbgPrint("Rebuild focus chain done\n"); } PUBLIC const char *script_magic_id(void) @@ -892,7 +890,6 @@ static void script_signal_cb(void *data, Evas_Object *obj, const char *emission, ey = (double)(py + ph) / (double)h; } - DbgPrint("Signal emit: source[%s], emission[%s]\n", source, emission); script_signal_emit(handle->e, source, emission, sx, sy, ex, ey); } @@ -982,8 +979,6 @@ PUBLIC int script_feed_event(void *h, Evas *e, int event_type, int x, int y, int struct obj_info *obj_info; int ret = LB_STATUS_SUCCESS; - DbgPrint("event: %d, x: %d, y: %d\n", event_type, x, y); - edje = find_edje(handle, NULL); /*!< Get the base layout */ if (!edje) { ErrPrint("Base layout is not exist\n"); @@ -1126,11 +1121,9 @@ PUBLIC int script_update_script(void *h, Evas *e, const char *src_id, const char struct child *child; char _target_id[32]; - DbgPrint("src_id[%s] target_id[%s] part[%s] path[%s] group[%s]\n", src_id, target_id, part, path, group); - edje = find_edje(handle, src_id); if (!edje) { - ErrPrint("Edje is not exists\n"); + ErrPrint("Edje is not exists (%s)\n", src_id); return LB_STATUS_ERROR_NOT_EXIST; } @@ -1269,8 +1262,6 @@ PUBLIC int script_update_signal(void *h, Evas *e, const char *id, const char *pa struct info *handle = h; Evas_Object *edje; - DbgPrint("id[%s], part[%s], signal[%s]\n", id, part, signal); - edje = find_edje(handle, id); if (!edje) return LB_STATUS_ERROR_NOT_EXIST; @@ -1284,8 +1275,6 @@ PUBLIC int script_update_drag(void *h, Evas *e, const char *id, const char *part struct info *handle = h; Evas_Object *edje; - DbgPrint("id[%s], part[%s], %lfx%lf\n", id, part, x, y); - edje = find_edje(handle, id); if (!edje) return LB_STATUS_ERROR_NOT_EXIST; @@ -1317,8 +1306,6 @@ PUBLIC int script_update_category(void *h, Evas *e, const char *id, const char * { struct info *handle = h; - DbgPrint("id[%s], category[%s]\n", id, category); - if (handle->category) { free(handle->category); handle->category = NULL; @@ -1340,8 +1327,6 @@ PUBLIC void *script_create(const char *file, const char *group) { struct info *handle; - DbgPrint("file[%s], group[%s]\n", file, group); - handle = calloc(1, sizeof(*handle)); if (!handle) { ErrPrint("Error: %s\n", strerror(errno)); @@ -1422,7 +1407,6 @@ PUBLIC int script_load(void *_handle, Evas *e, int w, int h) return LB_STATUS_ERROR_FAULT; } - DbgPrint("Load edje: %s - %s\n", handle->file, handle->group); if (!elm_layout_file_set(edje, handle->file, handle->group)) { int err; const char *errmsg; @@ -1460,7 +1444,6 @@ PUBLIC int script_unload(void *_handle, Evas *e) handle = _handle; - DbgPrint("Unload edje: %s - %s\n", handle->file, handle->group); edje = eina_list_nth(handle->obj_list, 0); if (edje) { struct obj_info *obj_info; -- 2.7.4