+2013-03-14 Mike Blumenkrantz
+
+ * fix use of ecore_con_*_flush functions with unconnected objects
+ * fix setting of write flags on ecore-con servers during connect
+
2013-03-13 Cedric Bail
* Edje: use Eina_Cow to reduce memory usage.
* fix bug scroll works when PgDn, PgUp, Home, End key in entry is pressed in preedit state
* clean up gnutls session initialization
* fix bug not check data value when get deiconify message
+ * fix use of ecore_con_*_flush functions with unconnected objects
+ * fix setting of write flags on ecore-con servers during connect
ecore_con_event_server_add(svr);
}
- if (svr->fd_handler && (!svr->buf))
- ecore_main_fd_handler_active_set(svr->fd_handler, ECORE_FD_READ);
+ if (svr->fd_handler)
+ {
+ if (svr->buf)
+ ecore_main_fd_handler_active_set(svr->fd_handler, ECORE_FD_WRITE);
+ else
+ ecore_main_fd_handler_active_set(svr->fd_handler, ECORE_FD_READ);
+ }
if (!svr->delete_me)
return ECORE_CON_CONNECTED;
Eina_Binbuf *buf_p;
DBG("(svr=%p,buf=%p)", svr, svr->buf);
+ if (!svr->fd_handler) return;
#ifdef _WIN32
if (ecore_con_local_win32_server_flush(svr))
return;
#endif
- if ((!svr->buf) && (!svr->ecs_buf) && svr->fd_handler)
+ if ((!svr->buf) && (!svr->ecs_buf))
{
ecore_main_fd_handler_active_set(svr->fd_handler, ECORE_FD_READ);
return;
{
int num = 0, count = 0;
+ if (!cl->fd_handler) return;
#ifdef _WIN32
if (ecore_con_local_win32_client_flush(cl))
return;
#endif
- if (!cl->buf && cl->fd_handler)
+ if (!cl->buf)
{
ecore_main_fd_handler_active_set(cl->fd_handler, ECORE_FD_READ);
return;