Commit Graph

4215 Commits

Author SHA1 Message Date
Daniel Juyung Seo c8a62c0cb2 ecore ecore_con_url.c: Applied ui interactoin bug fix patch from Kim
Yunhan <spbear@gmail.com>

On Wed, Sep 21, 2011 at 10:51 PM, Kim Yunhan <spbear@gmail.com> wrote:
> Hello!
>
> elm_map uses Ecore Con with CURL.
> I tested elm_map many times on my device.
> But sometimes UI interaction is held when data connection is poor.
> So I tried to debug and I found that this code lead to hold an Ecore
main
> loop.
>
> ----------------------------------------------
> In ecore_con_url.c
>
> while (curl_multi_perform(_curlm, &still_running) ==
> CURLM_CALL_MULTI_PERFORM) ;
> ----------------------------------------------
>
> curl_multi_perform() is CURL's asynchronous API.
> But above code hold an Ecore main loop.
> When it takes long time in libcurl, UI interaction is delayed.
>
> For example, If you have poor data connection.
> libcurl is trying to resolve DNS in this step.
> But it have to wait until timeout.
> At that time it looks like being locked.
>
> So I write a patch for fixing it.


SVN revision: 63636
2011-09-28 05:30:57 +00:00
Cedric BAIL 9a6c96ee56 ecore: prevent one last spurious wakeup.
SVN revision: 63619
2011-09-27 06:16:11 +00:00
Vincent Torri b46688b148 bump gettext version to 0.17. Patch by xlopez@igalia.com. Fix ticket #813
SVN revision: 63612
2011-09-26 21:50:50 +00:00
Christopher Michael d579c7812d Ecore_X(cb): Disable filtering of MotionNotify events. Could cause
problems with prediction. Thanks mate ;)



SVN revision: 63587
2011-09-24 09:21:17 +00:00
Christopher Michael 67e0df22e7 Ecore: Fix configure.ac for recent xcb_cflags change.
SVN revision: 63585
2011-09-24 07:23:41 +00:00
Christopher Michael 506179e544 Ecore_Xim: No need to link against xcb flags here.
SVN revision: 63584
2011-09-24 07:23:17 +00:00
Christopher Michael 1d08043154 Ecore: Fix configure.ac to use different variable names for pkg-config
libs.



SVN revision: 63583
2011-09-24 06:21:15 +00:00
Christopher Michael 63baac01f2 Ecore_Evas: Rename xcb cflags & libs variable to avoid pkg-config
confusion.



SVN revision: 63582
2011-09-24 06:20:47 +00:00
Christopher Michael c75816a09c Ecore_X(cb): Rename xcb cflags & link libs to avoid any pkg-config
confusion.



SVN revision: 63581
2011-09-24 06:20:15 +00:00
Christopher Michael 6273de0e15 Ecore_X(cb): Fix ecore_x when using unstable (from git) xcb...they
removed the event error enums.



SVN revision: 63579
2011-09-24 05:33:29 +00:00
Cedric BAIL 16fc152856 ecore: lock all broadcast.
SVN revision: 63567
2011-09-23 13:26:54 +00:00
Cedric BAIL f749139212 ecore: prevent spurious wakeup and lock the right mutex.
SVN revision: 63565
2011-09-23 10:47:33 +00:00
Christopher Michael fe35a0421b Ecore_Evas: Don't need the WindowAttributes variable unless we are an
argb window. 

(Sorry vtorri).



SVN revision: 63534
2011-09-22 09:26:02 +00:00
Vincent Torri b25413d367 whitespaces--
SVN revision: 63531
2011-09-22 06:02:26 +00:00
Christopher Michael dd77378588 Ecore_Evas: Rework ecore_evas_x_render function so it does not
allocate memory for list variables & rectangles unless we need to (ie:
If there are no evas_render_updates to do, then there is no need to
allocate extra list variables & rectangles).



SVN revision: 63528
2011-09-22 02:39:23 +00:00
Christopher Michael 0009c82081 Ecore_Evas: When doing rotation_set_internal, no need to fetch the
ecore_x_window_size here as the returned values are not used anyway,
so avoid the extra function call.



SVN revision: 63523
2011-09-21 21:01:15 +00:00
Christopher Michael 42d8b6b481 Ecore_Evas: No need to call ecore_x_window_move/resize is the canvas
is already at the required size or position.



SVN revision: 63522
2011-09-21 20:55:12 +00:00
Christopher Michael 83d9070643 Ecore: Remove checks for xcb_dri extension in configure.ac as we are
not going to use it, but rather dlsym to the libdri/libGL libs (ala
xlib code).



SVN revision: 63518
2011-09-21 11:42:24 +00:00
Christopher Michael c668ac0227 Ecore_X(cb): Make vsync code behave like xlib version and link against
libdri/libGL/etc. Remove use of xcb_dri2 extension (for now).



SVN revision: 63517
2011-09-21 11:41:25 +00:00
Christopher Michael 46b0d6adf0 Ecore_X(cb): Make sync_magic_send more like the xlib version and use
xcb_send_event directly.



SVN revision: 63516
2011-09-21 11:39:08 +00:00
Carsten Haitzler c54441d5ce xcb impl for generic events
SVN revision: 63508
2011-09-21 06:17:22 +00:00
Christopher Michael c748d1b17b Ecore_X(cb): Remove debug printout. Add missing logfn.
SVN revision: 63507
2011-09-21 05:13:03 +00:00
Youness Alaoui bbbf959e77 Ecore: Oups, typo, check for PS3 with __lv2ppu__ and not __ppulv2__
SVN revision: 63504
2011-09-20 22:06:33 +00:00
Christopher Michael 5f68e376b2 Ecore_X(cb): Add macro to check for validity of the xcb_connection
before trying to use it.



SVN revision: 63494
2011-09-20 09:12:02 +00:00
Christopher Michael 663ce7f2fc Ecore_X(cb): Add checks to make sure that extensions are loaded and
available before making calls to them.



SVN revision: 63492
2011-09-20 07:34:50 +00:00
Christopher Michael d7a1fd1630 Ecore_X(cb): Trim down memory usage. Add checks for damage extension
before trying to use it. Enable getting xcursor core & anim from
xdefaults.



SVN revision: 63491
2011-09-20 07:17:55 +00:00
Christopher Michael 3561137e9a Ecore_X(cb): Check composite is available before trying to use it.
SVN revision: 63490
2011-09-20 07:15:52 +00:00
Christopher Michael c7a7c71541 Ecore_X(cb): Fix 'dpy' thingies ;)
SVN revision: 63489
2011-09-20 07:14:11 +00:00
Christopher Michael 7896c9df95 Ecore_X(cb): Make sure screensaver extension is available before
trying to call functions involving it.



SVN revision: 63488
2011-09-20 07:11:36 +00:00
Carsten Haitzler 0849e320a0 fix bug in generic event handling on xlib side of ecore_x
SVN revision: 63475
2011-09-19 10:11:53 +00:00
Youness Alaoui f15246db82 Ecore: Do not call execvp if it's unavailable on the system
SVN revision: 63466
2011-09-18 21:57:47 +00:00
Youness Alaoui df10c78174 Ecore: Do not declare the siginfo_t and signal functions for the PS3
SVN revision: 63465
2011-09-18 21:57:38 +00:00
Christopher Michael 5f037fce40 Ecore_X(cb): Work around (possible) xcb bug where
ecore_x_screen_index_get was not returning the proper 0-based index.

NB: Fixes OpenGL with xcb.



SVN revision: 63440
2011-09-16 14:16:09 +00:00
Cedric BAIL d64c1b9566 ecore: reduce race condition.
SVN revision: 63436
2011-09-16 09:31:47 +00:00
Youness Alaoui 512599f1ba Ecore-Sdl: Must set the mouse event's multi struct to 0
Otherwise ecore-evas will think that the event is for multi touch
and will ignore the actual values of the structure and will only use
the uninitialized data from the multi struct

SVN revision: 63431
2011-09-16 07:08:53 +00:00
Youness Alaoui e4165d053b Ecore: Include sys/select.h before using 'select' to conform to POSIX.1-2001
SVN revision: 63430
2011-09-16 07:08:45 +00:00
Cedric BAIL 8e9fbe5662 ecore: prevent race condition when using sync call after begin/end.
SVN revision: 63407
2011-09-15 11:15:46 +00:00
Vincent Torri d5a1614b2f order of includes
SVN revision: 63397
2011-09-14 19:11:12 +00:00
Vincent Torri dd96a309f4 clean generated files
SVN revision: 63396
2011-09-14 19:09:24 +00:00
Mike Blumenkrantz 681749300e fix and clarify more fd handler docs
SVN revision: 63389
2011-09-14 14:31:54 +00:00
Mike Blumenkrantz 1e533c27b2 fix docs for ecore_main_fd_handler_del
SVN revision: 63388
2011-09-14 14:26:28 +00:00
Mike Blumenkrantz 80bfb5a55e add main loop group to main docs page
SVN revision: 63387
2011-09-14 14:20:13 +00:00
Mike Blumenkrantz b9159044ed more @since 1.1
SVN revision: 63365
2011-09-13 23:04:18 +00:00
Mike Blumenkrantz 20eed93ea3 add ECORE_CON_EVENT_SERVER_WRITE ECORE_CON_EVENT_CLIENT_WRITE
SVN revision: 63364
2011-09-13 23:03:26 +00:00
Mike Blumenkrantz 31908c69f9 add @since 1.1 for some events
SVN revision: 63363
2011-09-13 22:46:46 +00:00
Christopher Michael 4128761216 Ecore_X(cb): Remove extra calls to ecore_x_flush. Move main loop
flushing call to an idler like ecore_evas does...Thanks k-s ;)



SVN revision: 63359
2011-09-13 16:32:34 +00:00
Christopher Michael 6a08cbdd30 Ecore_X(cb): Add missing flush after xcb_send_event.
SVN revision: 63358
2011-09-13 15:47:56 +00:00
Christopher Michael 5bfeec8dab Ecore_X(cb): Add missing flush after xcb_send_event.
SVN revision: 63357
2011-09-13 15:45:56 +00:00
Mike Blumenkrantz e982875277 more useless ecore-con functions: ecore_con_server_fd_get and ecore_con_client_fd_get
SVN revision: 63344
2011-09-12 08:30:22 +00:00
ChunEon Park c032eb32ee AUTHORS - updated.
SVN revision: 63342
2011-09-12 05:03:03 +00:00