Commit Graph

4148 Commits

Author SHA1 Message Date
Mike Blumenkrantz eee42b60d9 revert ecore-con refcounting stuff, fix the problem in ipc (hopefully)
wfm


SVN revision: 71738
2012-06-06 09:49:24 +00:00
Rob Bradford b170d36865 Ecore_Wayland: Update to latest wayland git and add support for keymap
& modifier change(s). Also, add patches from Rob Bradford
<rob@linux.intel.com> for basic support for setting wayland cursor:

From c5d9094f4792bf7375c216682947de334002cdad Mon Sep 17 00:00:00 2001
From: Rob Bradford <rob@linux.intel.com>
Date: Tue, 29 May 2012 16:35:01 +0100
Subject: [PATCH] Ecore_Wayland: Add basic support for setting the cursor

* Add api to the ecore_wl_input_ namespace to allow setting the buffer
to use
for the pointer and for loading a named cursor from a cursor theme.
Under the
Wayland protocol the cursor is associated with the input device.

* Add helper functions to ecore_wl_window to set the cursor based on the
active pointer input device for the window.

* Load the cursor theme when the SHM interface is ready and provide an
API
call to provide a wl_cursor for a given name.

* Add API to restore to the default cursor and then use that when the
pointer
enters the surface to ensure compliance with the Wayland protocol.

Cheers :)



SVN revision: 71734
2012-06-06 08:18:58 +00:00
Christopher Michael be3784dab9 Ecore_Evas (wayland_shm): Reduce processing overhead by not feeding a
mouse_move when we feed an in/out.



SVN revision: 71733
2012-06-06 08:16:36 +00:00
Christopher Michael b4924826c3 Ecore_X(cb): Add more trapping for build when randr is not
found/enabled.



SVN revision: 71732
2012-06-06 08:15:29 +00:00
Mike Blumenkrantz 3d656b021e some dns.c usage changes as suggested by its author
SVN revision: 71702
2012-06-05 07:44:44 +00:00
Jihoon Kim bb56b0b09c fix @version in each EFL header doxygen
SVN revision: 71691
2012-06-04 23:27:02 +00:00
Mike Blumenkrantz 161ac501e5 as I promised long, long ago, ecore now has its own asynchronous dns resolver! everyone cheer for not needing c-ares any longer!
dns.c is the work of William Ahern (http://25thandclement.com/~william/projects/dns.c.html) and has been in development for ~4 years.
it has zero documentation, no examples, and no comments: I'm pretty sure he's an EFL developer in disguise.

this new resolver is roughly 10-12% faster than c-ares, will never randomly break, requires no external libraries, and is much simpler on the efl side.

by default, dns.c resolution is enabled any time ipv6 support is detected and c-ares support is not requested;
it should work on all platforms (wink wink vtorri), but it has no way of disabling ipv6 (someone can go through dns.c/h and do that if they feel so inclined)


SVN revision: 71690
2012-06-04 21:10:17 +00:00
Mike Blumenkrantz dec06820ec trivial -Wshadow fix
SVN revision: 71689
2012-06-04 20:49:02 +00:00
Mike Blumenkrantz fd3b513079 unbreak my last commit
SVN revision: 71682
2012-06-04 09:16:19 +00:00
Mike Blumenkrantz f472e919e2 add ECORE_{CON,IPC}_NO_PROXY flag to disable proxying on specified connections
SVN revision: 71681
2012-06-04 09:03:04 +00:00
Mike Blumenkrantz 9dc6c51fa0 properly include headers when you use their types...
SVN revision: 71679
2012-06-04 08:40:21 +00:00
Jerome Pinot ac27c27083 ecore_x: XKeycodeToKeysym
ecore_x is calling XKeycodeToKeysym from xlib, but this function has issues. It
has been deprecated 6 months ago in X.org and it is suggested to use
XkbKeycodeToKeysym instead: https://bugs.freedesktop.org/show_bug.cgi?id=25732

This commit makes a wrapper function that makes use of XkbKeycodeToKeysym when
possible or fallback to XKeycodeToKeysym otherwise.


SVN revision: 71677
2012-06-04 05:46:33 +00:00
Jihoon Kim ac270da3bb ecore_imf_evas: insert example link in Ecore_IMF_Evas_Group
SVN revision: 71661
2012-06-03 12:50:11 +00:00
Jihoon Kim aed2b82302 ecore_imf_example: fix formatting
SVN revision: 71660
2012-06-03 12:49:21 +00:00
Jihoon Kim 416d9d4cd4 ecore_imf: insert example link in ecore_imf_context group
SVN revision: 71659
2012-06-03 12:39:48 +00:00
Jihoon Kim 763c581e43 ecore_imf_example.c: revise example code
SVN revision: 71640
2012-06-02 06:00:09 +00:00
ChunEon Park ebdbff021c ecore/ecore_x - let just leave one atom list for maintainance
SVN revision: 71625
2012-06-01 13:53:18 +00:00
Jihoon Kim 645bc20b1a fix indentation of ecore_imf_example.c
SVN revision: 71621
2012-06-01 12:48:15 +00:00
Jihoon Kim 27c45e60db add ecore_imf_example code. I will add Makefile.am in example directory later
SVN revision: 71620
2012-06-01 12:46:24 +00:00
Carsten Haitzler bb16ca7cb0 i wonder if this patches over some odd signal processing hang i see in
edje_cc! :(



SVN revision: 71583
2012-05-31 13:32:09 +00:00
Jihoon Kim 163df8ccbd ecore: fix doxygen warnings
SVN revision: 71569
2012-05-31 00:18:38 +00:00
Leif Middelschulte 66f32b2b03 ecore_x_randr: Add _ASK policy for new monitors.
SVN revision: 71565
2012-05-30 19:16:29 +00:00
Cedric BAIL 6d2b2f366f ecore: force pthread_join even when main loop isn't running.
pthread_create can fail if to much pthread are pending. As pthread_join
is only called when the main loop can flush the async call list, there was
a possibility for edje_cc to run out of thread due to that. We know
force the flush of the async call list and so call pthread_join when
pthread_create fail.


SVN revision: 71555
2012-05-30 12:14:34 +00:00
Cedric BAIL 3f662e32a7 ecore: fix count of objects in the Ecore_Thread trash.
SVN revision: 71550
2012-05-30 10:25:44 +00:00
Carsten Haitzler 318bd30043 This is a small change, so I won't changelog it (or backport), but
make _shutdown() funcs across efl complain and be unhappy if you
shutdown to < 0 shutdowns and not pull init count below 0.



SVN revision: 71548
2012-05-30 10:08:41 +00:00
Mariusz Grzegorczyk a3dd1169da From: Mariusz Grzegorczyk <mariusz.g@samsung.com>
Subject: [E-devel] Ecore: Save proper evas engine buffer depth when
_ecore_evas_resize is done

I have found bug in ecore evas buffer. It is created by default as RGB32,
and then it can be changed by ecore_evas_alpha_set function, but when resize
is done it is always created as ARGB32.

Patch in attachment checks in resize if alpha channel is set, and then set
appropriate buffer depth.



SVN revision: 71537
2012-05-30 07:05:50 +00:00
Cedric BAIL a5f658a4b2 ecore: cancel all pending thread at shutdown.
Hopefully this will fix bug #961.


SVN revision: 71526
2012-05-30 03:10:30 +00:00
ChunEon Park 995e8c338f ecore - revert 71421 cause of posibility of abi break
thanks Vincent.



SVN revision: 71485
2012-05-29 02:42:13 +00:00
Stefan Schmidt 7912d00e32 ecore: We can't really use index as variable as it is already in use.
A bit annoying I know. But ignoring all this shadowing global declaritions might bring us into
trouble.

SVN revision: 71457
2012-05-28 13:08:38 +00:00
Christopher Michael 74a4a3ff81 Ecore_Evas: Patch from Robert Bradford <robert.bradford@intel.com>:
The challenge here is that the native window representation is stored
in Ecore_Evas's prop.window. But currently there is no checking of
what driver the Ecore_Evas is for when calls are made to e.g.

ecore_evas_software_x11_window_get.

The attached change to Ecore makes the appropriate functions return 0
or NULL if the driver for the Ecore doesn't match as expected. This
can then be used to identify if an Ecore_Evas is e.g. from X11 or from
Wayland.



SVN revision: 71453
2012-05-28 12:24:30 +00:00
Christopher Michael be66a4e03b Ecore_Evas (wayland_shm): Add support for ecore_evas_move_resize
engine function.



SVN revision: 71452
2012-05-28 12:19:17 +00:00
Stefan Schmidt 44d90c2c58 ecore/tests: Remove unused var and mark unused parameter
SVN revision: 71443
2012-05-26 22:01:58 +00:00
Stefan Schmidt 76367dd846 ecore_imf_xim: Rename variable to avoid shadowing
index is already used in string.h, avoid it here.
src/modules/immodules/xim/ecore_imf_xim.c:116: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:487: warning: shadowed declaration is here

Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>

SVN revision: 71442
2012-05-26 22:01:53 +00:00
Jihoon Kim 12de52d9e9 ecore XIM module: fixformatting
SVN revision: 71434
2012-05-26 00:10:56 +00:00
ChunEon Park 1bb2daff42 ecore/ecore_x - Changed ecore_x_error_get() return type to Ecore_X_Error_Code from int
SVN revision: 71421
2012-05-25 10:15:27 +00:00
Carsten Haitzler 3280ada8e9 fix mainloop begin/quit then begin again issue.
SVN revision: 71419
2012-05-25 09:18:48 +00:00
Jihoon Kim 8f5c520633 scim_immodule: fix some typos
SVN revision: 71417
2012-05-25 07:54:46 +00:00
Christopher Michael 196e8b9aad Ecore_X(cb): Also fix send of new events here ... someone is slacking ;)
SVN revision: 71410
2012-05-24 10:18:32 +00:00
Carsten Haitzler 55bdb51962 ok ok - doesnt make a difference.. but only limit if MORE than 16xcpu
count



SVN revision: 71409
2012-05-24 10:13:30 +00:00
Carsten Haitzler 4bf005eede fix ecore-thread scheduler starvation issue.
SVN revision: 71404
2012-05-24 09:51:17 +00:00
Carsten Haitzler 01e40c8253 fix send of new events alreayd added. oops. should test shouldnt i.
SVN revision: 71402
2012-05-24 08:57:58 +00:00
Carsten Haitzler dcf4d1401e and no more segv's in ecore-con and ecore-ipc. see changelog.
SVN revision: 71400
2012-05-24 07:49:30 +00:00
Mike Blumenkrantz 5d3573c054 better fix for ecore-con client disconnecting maybe
SVN revision: 71393
2012-05-24 06:39:43 +00:00
Doyoun Kang 49ac07a2ac From: Doyoun Kang <doyoun.kang@samsung.com>
Subject: Re: [E-devel] [Patch] Add Ecore_X_Error_Code enumeration

I added the Ecore_X_Error_Code enumeration which wraps X error codes.
I think this will be useful when the X error occurs.



SVN revision: 71379
2012-05-24 04:27:01 +00:00
Vincent Torri 790db28168 ecore_win32: fix doc
SVN revision: 71369
2012-05-23 20:46:52 +00:00
Carsten Haitzler c824a97c71 before i changelog and backport this... discomfitor - look at this!
how the hell did we get ecore_con to the state of NEVER
closing/freeing clients?



SVN revision: 71352
2012-05-23 09:07:47 +00:00
Christopher Michael 7d9ec3120f Ecore_Wayland: Fix global interface name, thanks Alex ;)
SVN revision: 71350
2012-05-23 08:01:15 +00:00
Christopher Michael 66dffc9b9d Ecore_X(cb): And memset the appropriate structure too.
SVN revision: 71328
2012-05-22 15:15:52 +00:00
Christopher Michael 8b6d662acb Ecore_X(cb): Fix ecore_x to build again with xcb.
SVN revision: 71327
2012-05-22 15:12:40 +00:00
Carsten Haitzler 06a3cbaf42 Add ecore_x_mouse_in_send() and ecore_x_mouse_out_send()
Add ecore_x illume access control/action atoms+api's
                


SVN revision: 71320
2012-05-22 12:09:06 +00:00