Commit Graph

3450 Commits

Author SHA1 Message Date
Tom Hacohen 361cc51340 Ecore imf: Free the module list on shutdown.
Freeing the content (using eina_module_list_free) is not enough, we need
to also free the array itself.

SVN revision: 64326
2011-10-23 12:01:36 +00:00
Christopher Michael 880a34d2a6 Ecore_X(cb): Make sure we have argv[i] before we try to strlen it.
SVN revision: 64302
2011-10-22 18:06:44 +00:00
Rafael Antognolli ca46030e4d ecore_evas_fb: use _ecore_evas_fb_render instead of the buffer one.
This mistake was introduced long ago on a cleanup.
Patch for SiT.



SVN revision: 64258
2011-10-21 16:07:29 +00:00
Carsten Haitzler 37e2ab21c1 ecrustify on ecore-x.
SVN revision: 64239
2011-10-21 05:40:59 +00:00
Carsten Haitzler 58cbf16625 ran ecrustify on ecore. some manual fixing too.
SVN revision: 64238
2011-10-21 05:40:39 +00:00
Carsten Haitzler ff45aac69d lets have envrionment var control over semisync in ecore-evas
SVN revision: 64191
2011-10-20 06:39:03 +00:00
Carsten Haitzler be90232bc0 match changes in ews code
SVN revision: 64126
2011-10-17 07:00:38 +00:00
Carsten Haitzler 210c5a9377 handle buffer allocation failure - null buffer.
SVN revision: 64125
2011-10-17 06:59:08 +00:00
ChunEon Park ba1bd2a8a1 ecore/animator - never be reached there
SVN revision: 64101
2011-10-16 04:47:42 +00:00
Youness Alaoui 84e9551521 Ecore: IN6_IS_ADDR_V4MAPPED needs an in6_addr as input on OSX
SVN revision: 64090
2011-10-15 09:30:58 +00:00
Carsten Haitzler 4866f72938 commit changes and notes for matrchnig multitouch xcb stuff
SVN revision: 64082
2011-10-15 03:34:01 +00:00
Carsten Haitzler 194df9ef24 for gustavo -> ews matching changes.
SVN revision: 64081
2011-10-15 03:19:25 +00:00
Carsten Haitzler d45161691a and now make my modifications to multittouch this morning also work
again with mpx automatically. yay!



SVN revision: 64071
2011-10-14 09:11:49 +00:00
Carsten Haitzler ee158e76fc 1. make inline image ee buffer non-alpha by default. thats the default
for all eee's. this was wrong.
2. make sure it sets back data when finished - check data in and check
it out.



SVN revision: 64069
2011-10-14 07:28:45 +00:00
Carsten Haitzler 57e5fd31d1 put in hardcoded bitmask define if headers dont provide it.
SVN revision: 64068
2011-10-14 07:23:09 +00:00
Carsten Haitzler bf1b8531b7 support slave pointer and try not to kill mpx support.
SVN revision: 64056
2011-10-14 02:32:34 +00:00
Cedric BAIL c26c5b6fa2 ecore: define Video XAtoms.
SVN revision: 64041
2011-10-13 07:41:55 +00:00
Carsten Haitzler f543d932c4 segv over there in xlib ecore_x... suddenly... in a test app.
SVN revision: 64012
2011-10-12 09:26:09 +00:00
Bruno Dilly 220e9e7a66 Ecore exe: check for prctl header instead of OS
Suggested by vtorri


SVN revision: 63987
2011-10-11 18:19:37 +00:00
Carsten Haitzler 2c08cfa53c add env var to disable compositor syncing for testing
SVN revision: 63979
2011-10-11 06:18:13 +00:00
Sebastian Dransfeld 33c929baa8 ecore/ecore_con: Remove the other while multi
SVN revision: 63962
2011-10-10 17:51:34 +00:00
Carsten Haitzler 11917747d0 try and fix post with null data?
SVN revision: 63956
2011-10-10 09:37:30 +00:00
Carsten Haitzler e5756206b7 this should fix curl support from hacning for up to 0.7* 1/fps sec on
1 or more calls and even in idlers etc. only do it once then rely on
fd's to wake up and do it again.



SVN revision: 63955
2011-10-10 09:36:56 +00:00
Bruno Dilly 88fdfeff4c Ecore_Exe: ifdef prctl usage
SVN revision: 63916
2011-10-08 01:17:19 +00:00
Bruno Dilly 8bc303995a Ecore Exe: add flag to send SIGTERM when parent die
Add a new ecore exe flag, ECORE_EXE_TERM_WITH_PARENT,
that will operate on child process,
sending a SIGTERM when parent process dies.



SVN revision: 63915
2011-10-07 23:37:42 +00:00
Christopher Michael f06f66b0a9 Ecore_Evas: Fix building of ecore_evas when ews is disabled.
SVN revision: 63888
2011-10-06 20:54:46 +00:00
Gustavo Sverzut Barbieri fc1cf7e259 ews: do not allow resize the window using a mouse.
EWS is meant to run in FB or other systems without actual windows, but
as we test on X11 let's forbid to change the resolution.

One is still able to do it using ecore_evas_ews_setup().



SVN revision: 63860
2011-10-06 00:09:17 +00:00
Gustavo Sverzut Barbieri f51d00e4cf ecore_evas_ews: focus-out may be called during deletion.
SVN revision: 63857
2011-10-05 23:41:39 +00:00
Gustavo Sverzut Barbieri 5be92e7d21 ecore_evas_ews: apply modifiers to target evas.
SVN revision: 63855
2011-10-05 23:24:45 +00:00
Gustavo Sverzut Barbieri b136246078 ecore_evas_ews: fixed bug with rendering.
Ouch, did not notice the engines were hardcode to buffer engine, let's
make it generic to the render function of the engine.



SVN revision: 63853
2011-10-05 22:52:41 +00:00
Gustavo Sverzut Barbieri 27bd62e087 ecore_evas_ews: fix focus of inner canvas.
SVN revision: 63852
2011-10-05 22:51:37 +00:00
Gustavo Sverzut Barbieri 163272dc48 Welcome EWS - Ecore+Evas Single Process Windowing System.
EWS is a new Ecor_Evas engine that builds on top of other engines. It
will create a backing store Ecore_Evas and ecore_evas_ews_new()
windows are created in it as images, but transparent to the outside
users (similar to buffer's ecore_evas_object_image_new()).

It provides a basic windowing system, with a known background object
that can be changed to your pleasure, and issue Ecore_Events to notify
of new windows and changes like movement, etc. Then you can write a
simple window manager based on it. (See example, Elementary will
contain one as well).

Backing store is determined by your best engine (as in
ecore_evas_new()) or specified with ecore_evas_ews_engine_set() or
environment variable $ECORE_EVAS_EWS (format:
engine-namey:w:h:options). The size can be set with
ecore_evas_ews_setup().



SVN revision: 63848
2011-10-05 22:11:00 +00:00
Christopher Michael 2dde82d216 Ecore_X(cb): Return correct screen from ecore_x_screen_get
SVN revision: 63818
2011-10-05 00:52:02 +00:00
Christopher Michael a4b22379b0 Ecore_X(cb): Readd missing connection checks.
SVN revision: 63813
2011-10-04 21:54:36 +00:00
Christopher Michael ed291bafe1 Ecore_X(cb): Fix randr code to work with randr 12 or 13.
NB: This fixes the slow startup times that some people have reported
when using certain drivers (intel, nouveau, etc).



SVN revision: 63812
2011-10-04 21:47:49 +00:00
Youness Alaoui da2fb1b6f5 Ecore-con: Oups, fix ipv6 support in cares support after previous commit misstep
SVN revision: 63755
2011-10-02 23:41:42 +00:00
Youness Alaoui 0618b78f1e Ecore-con: Allow to disable local sockets support, and disable them on ps3
SVN revision: 63683
2011-09-29 21:05:32 +00:00
Youness Alaoui 84796ed59b Ecore-con: Use inet_ntop instead of getnameinfo.
getnameinfo is a blocking call would would resolve a sockaddr into
its hostname, not into an IP address, so the ip_get should use the
inet_ntop call instead.

SVN revision: 63682
2011-09-29 21:05:20 +00:00
Youness Alaoui 1fc4a13f80 Ecore-con: Test for IPV6 availability
SVN revision: 63680
2011-09-29 21:04:54 +00:00
Youness Alaoui ed03a201ef ecore-con: Do not use TCP_NODELAY if netinet/tcp.h is not found
SVN revision: 63679
2011-09-29 21:04:45 +00:00
Carsten Haitzler 8c26779f16 update modifiers on mapping changes too.
SVN revision: 63665
2011-09-29 09:56:07 +00:00
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
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 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 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
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
Youness Alaoui 0db90cab00 Ecore-sdl: remove unused events and fix semicolon typo and docs
SVN revision: 63338
2011-09-12 03:43:46 +00:00
Christopher Michael 5427b07823 Ecore_X(cb): Add missing window types to return in netwm code.
SVN revision: 63303
2011-09-08 23:28:12 +00:00
Christopher Michael 8da3a6993f Ecore_X(cb): Dnd now works with efm. Add some debugging prints (to
debug gtk dnd events).



SVN revision: 63301
2011-09-08 23:11:33 +00:00
Christopher Michael 67a369fee3 Ecore_X(cb): Add simple .Xdefaults file parser for getting dpi, cursor
size, etc.

NB: Xcb has no support for xrdb (yet), so parse dpi, etc from
.Xdefaults (if exists).



SVN revision: 63299
2011-09-08 21:51:08 +00:00
Daniel Juyung Seo 044f49800b ecore Ecore.h: Fixed documentation.
SVN revision: 63280
2011-09-08 04:44:25 +00:00
Youness Alaoui bad6a1bc33 Ecore: SDL 1.3 doesn't define SDLK_FIRST and SDLK_WORLD_* keys
SVN revision: 63254
2011-09-07 06:58:35 +00:00
Youness Alaoui 5714e384d7 Ecore: Allow ecore-evas-sdl to work with software-sdl-16 engine. Also removed dead code
SVN revision: 63253
2011-09-07 06:58:28 +00:00
Youness Alaoui ea4aa8f446 Ecore: Add the noframe extra option to the ecore-evas-sdl
SVN revision: 63252
2011-09-07 06:58:21 +00:00
Youness Alaoui b2392e422c Ecore: _ecore_thread_handler must not be defined if threads aren't supported
SVN revision: 63251
2011-09-07 06:58:10 +00:00
Mike McCormack cfddcef5d1 ecore (glib): Fix build break
SVN revision: 63082

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63184
2011-09-05 01:27:07 +00:00
Carsten Haitzler f67bdb7c37 mainloop cleanups on top of previous ones and fixes for previous refactors
SVN revision: 63082
2011-09-02 03:29:11 +00:00
Christopher Michael 6acb1d8ddb Ecore_X(cb): When sending client messages, message_type needs to be
ev->type.



SVN revision: 63067
2011-09-01 20:21:36 +00:00
Christopher Michael 96a210d07c Ecore_X(cb): Port Hermits xlib code to support double/triple click for
multi-touch devices to xcb.
Remove dead code.
Add missing flush calls after change_window_attributes.
Quiet down the event code by commenting out some LOGFN's.
Make selection event code more like Xlib.
Add missing flush calls after send_event.



SVN revision: 63009
2011-08-30 19:22:51 +00:00
Christopher Michael 0c3a54457d Ecore_X: Function expects a Eina_Bool return, so let's use those ;)
SVN revision: 63008
2011-08-30 18:38:27 +00:00
Christopher Michael f1804f736b Ecore_X(cb): Add missing flush after send_event(s). Remove unused code.
SVN revision: 63007
2011-08-30 18:37:47 +00:00
Christopher Michael 2a3c45fd63 Ecore_X(cb): Add missing flush after change_property.
SVN revision: 63006
2011-08-30 18:37:12 +00:00
Christopher Michael 9dcd3cf466 Ecore_X(cb): Add missing free of reply.
SVN revision: 63005
2011-08-30 18:36:43 +00:00