Commit Graph

3956 Commits

Author SHA1 Message Date
Vincent Torri 059ac47170 Ecore_con: fix compilation on Windows
ecore_con_dns.c is using EAGAIN. On linux, errno.h is certainly
indirectly included by other header files, it's not the case
on Windows.


SVN revision: 72489
2012-06-19 15:56:44 +00:00
Christopher Michael 0c4febd6f2 Ecore_Wayland: Patches from Rob Bradford to fix ticket(s): 1030 & 1031
Ecore_Wayland: Drop the unused timestamp from the configure event
Ecore_Wayland: Port to updated Wayland API
The cursor on the pointer is now a Wayland surface rather than a buffer.



SVN revision: 72381
2012-06-18 10:48:29 +00:00
Carsten Haitzler 78dcf2b689 fix ecore-evas name/class set on ecore-evas's when alpha is enabled
SVN revision: 72279
2012-06-17 07:24:11 +00:00
Carsten Haitzler 8b03052c0e fix alpha change losing some properties
SVN revision: 72258
2012-06-17 02:37:18 +00:00
Carsten Haitzler 7e326357fb tone down mempool sizes
SVN revision: 72254
2012-06-17 01:54:28 +00:00
Stefan Schmidt 17e3f9d47c ecore/ecore_anim: Dead initial assignment. The value gets set two lines later in any case.
SVN revision: 72192
2012-06-15 14:11:38 +00:00
Stefan Schmidt ec9a93ff43 ecore_evas/fb: Also check for NULL argument to strtol()
We can't be sure that disp_name is not NULL here. Better check before handing it over to strtol()

SVN revision: 72143
2012-06-14 15:01:54 +00:00
Mike Blumenkrantz 87c142844f fix a somewhat alarming fd leak with the new resolver
SVN revision: 72063
2012-06-13 06:52:02 +00:00
Mike Blumenkrantz 8ece74f1fd fix ecore-file inotify monitoring on soon-to-be deleted files
SVN revision: 71985
2012-06-12 07:40:37 +00:00
Christopher Michael 19e75367b0 Ecore_Wayland: Patch from Rob Bradford to add missing NULL checks for
ecore_wl_input.



SVN revision: 71957
2012-06-11 17:11:38 +00:00
Mike Blumenkrantz 5c75633883 print error message when local connect fails
SVN revision: 71950
2012-06-11 14:15:12 +00:00
Mike Blumenkrantz 079c2aa1d3 use new compiler flag macro to disable tons of warnings
thx vtorri!


SVN revision: 71858
2012-06-08 18:53:39 +00:00
Mike Blumenkrantz 8ace34c81a by the magic of ecrustify and a lot of manual labor, this file's formatting has been unfucked
SVN revision: 71847
2012-06-08 12:33:53 +00:00
Mike Blumenkrantz 31ef42826c move and doxyfy docs for ecore_x_randr_screen_primary_output_current_size_get
SVN revision: 71846
2012-06-08 12:06:37 +00:00
Cedric BAIL a5f1960427 ecore: typos, thanks kuri.
SVN revision: 71835
2012-06-08 07:47:25 +00:00
Vincent Torri 695dba94f2 Remove the stupid hack, and remove the warning flag (best way to break on some compilers. If you want it, set your own env vars)
SVN revision: 71819
2012-06-07 15:39:27 +00:00
Mike Blumenkrantz 5dc9809f66 force c99 mode when using dns.c
SVN revision: 71790
2012-06-07 10:27:18 +00:00
Mike Blumenkrantz 7948321b93 C99 isn't good enough for us, we use C89
SVN revision: 71782
2012-06-07 08:29:45 +00:00
Mike Blumenkrantz a00765361d on the advice of the insightful creator of dns.c, account for when a UDP
answer is truncated and the resolver switches to TCP, causing the pollfd
descriptor will change. Any poll on this old descriptor will either
timeout or continually poll as ready


SVN revision: 71776
2012-06-07 07:22:53 +00:00
Christopher Michael a4114e2aa8 Ecore_Wayland: Patch from Rob Bradford <rob@linux.intel.com> for
updating axis events to be fixed point numbers.



SVN revision: 71756
2012-06-06 14:10:43 +00:00
Christopher Michael f636cb730c Ecore_Wayland: Add patch from Rob Bradford <rob@linux.intel.com> to
enhance keyboard input handling.

* Associate the keymap with the input device rather than the display
since you could could have different keymaps associated with different
devices.

* Increase the size of character arrays used for the string
representations of
the keyname, keysym and for the string representing the key.

* Re-enable the code that converts the keysym to a printable
definition - this
is required where the keysym is not the same as the printable definition



SVN revision: 71750
2012-06-06 13:20:02 +00:00
Christopher Michael 0f378c9331 Ecore_Wayland: Use the input's pointer_enter_serial instead of
timestamp for setting pointer image.



SVN revision: 71748
2012-06-06 12:55:53 +00:00
Mike Blumenkrantz 020bf40113 don't return value in void functions
SVN revision: 71742
2012-06-06 10:52:45 +00:00
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 416d9d4cd4 ecore_imf: insert example link in ecore_imf_context group
SVN revision: 71659
2012-06-03 12:39:48 +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
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