Enhance readability of log messages 93/108693/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Tue, 3 Jan 2017 01:37:48 +0000 (10:37 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Thu, 5 Jan 2017 10:00:15 +0000 (19:00 +0900)
Change-Id: Ic2cc0f6154e81af9f06543c4fc37b8438d7c31fe

src/e_mod_input_panel.c
src/e_mod_main.c

index d4e45eff7cb6237b0190627e1e13c17f0f3b88dd..f29d36e20fadc5d51a43d272a9c6fd5ec4a0c161 100644 (file)
@@ -126,7 +126,7 @@ _e_input_panel_surface_cb_ready_set(struct wl_client *client EINA_UNUSED, struct
 
    if (g_input_panel->wait_update)
      {
-        WTI_LOG("IPS::SHOW::READY");
+        WTI_LOG("IPS::SHOW::READY\n");
         e_input_panel_visibility_change(EINA_TRUE);
         e_input_panel_wait_update_set(EINA_FALSE);
      }
@@ -224,7 +224,7 @@ _ips_show(E_Client *ec)
    if (ec->visible)
      return;
 
-   WTI_LOG("IPS::SHOW");
+   WTI_LOG("IPS::SHOW\n");
 
    _e_input_panel_position_set(ec, ec->client.w, ec->client.h);
 
@@ -250,7 +250,7 @@ _ips_cb_buffer_change(void *data, int type, void *event)
    if (!ips->wait_update)
      goto clean;
 
-   WTI_LOG("IPS::BUFFER::CHANGED::DEFER_SHOW");
+   WTI_LOG("IPS::BUFFER::CHANGED::DEFER_SHOW\n");
 
    if (_e_input_panel_is_effect_running(ips->ec))
      ips->need_show = EINA_TRUE;
@@ -293,7 +293,7 @@ _e_input_panel_surface_visible_update(E_Input_Panel_Surface *ips)
         if (ec->visible)
           return;
 
-        WTI_LOG("IPS::DEFER_SHOW::ADD");
+        WTI_LOG("IPS::DEFER_SHOW::ADD\n");
         ips->wait_update = EINA_TRUE;
         if (!ips->eh.buf_change)
           {
@@ -305,7 +305,7 @@ _e_input_panel_surface_visible_update(E_Input_Panel_Surface *ips)
      }
    else
      {
-        WTI_LOG("IPS::DEFER_SHOW::HIDE");
+        WTI_LOG("IPS::DEFER_SHOW::HIDE\n");
         ips->wait_update = EINA_FALSE;
         ec->visible = EINA_FALSE;
         /* We have to reset the flag of pending_show to prevent showing after
@@ -631,6 +631,8 @@ e_input_panel_visibility_change(Eina_Bool visible)
 
    if (!g_input_panel) return;
 
+   WTI_LOG("e_input_panel_visibility_change : %d\n", visible);
+
    EINA_LIST_FOREACH(g_input_panel->surfaces, l, ips)
      {
         if (!ips->ec) continue;
@@ -782,7 +784,7 @@ _ips_client_frame_flush(E_Input_Panel_Surface  *ips)
    if (e_object_is_del(E_OBJECT(ips->ec)))
      return;
 
-   WTI_LOG("IPS::FRAME::FLUSH ec %p", ips->ec);
+   WTI_LOG("IPS::FRAME::FLUSH ec %p\n", ips->ec);
    e_pixmap_image_clear(ips->ec->pixmap, EINA_TRUE);
 }
 
index 6607d46c4ed50f5b50c7c94e22d9bd88cefebbc1..d777a0a14a140d3b33155a03928423c5b193e3b8 100644 (file)
@@ -1218,7 +1218,7 @@ _e_text_input_cb_input_panel_show(struct wl_client *client, struct wl_resource *
      {
         /* DO NOT show input panel surface until we get message "show complete" from input method,
          * in order to give a change to update UI */
-        WTI_LOG("IM::SHOW::WAIT_FOR_READY");
+        WTI_LOG("IM::SHOW::WAIT_FOR_READY\n");
 
         wl_input_method_send_show_input_panel(input_method->resource, input_method->context->resource);