Chris Michael
397e8afc1a
Avoid potential divide by zero in INF call.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 12:42:31 +01:00
Chris Michael
d9f8e6b525
Do not call _ecore_con_client_flush with a NULL client.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 12:39:19 +01:00
Chris Michael
da275a76b1
Check for Image_Entry being valid before calling evas_cache_image_drop.
...
NB: Image_Entry passed in to this function Could be NULL (hence the
previous if ie check above. Do not call evas_cache_image_drop on a
NULL Image_Entry as evas_cache_image_drop does not validity checking.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 12:32:00 +01:00
Chris Michael
24413bd7ee
Actually declare fd at the top of function.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 12:17:26 +01:00
Chris Michael
76766161d2
ecore_main_fd_handler_fd_get can return -1 so we need to check for a
...
valid fd before calling read().
Reuse returned fd variable in the callback to save extra function call
to ecore_main_fd_handler_fd_get (since we already acquired the fd
above).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 11:46:04 +01:00
Chris Michael
4c9c522337
Check for valid fd returned from ecore_main_fd_handler_fd_get before
...
potentially passing -1 to the read() function.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 11:40:02 +01:00
Chris Michael
65fc207951
Don't pass negative values to close:
...
ecore_main_fd_handler_fd_get can return -1, so check return value
before passing to close().
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 11:36:24 +01:00
Chris Michael
cc0bbacb89
open() can fail for various reasons, so check for valid 'fd' return
...
before calling fdopen.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 11:34:34 +01:00
Chris Michael
8270fc29f3
ecore_main_fd_handler_fd_get can return -1 so check fd validity before
...
calling read() with potentially -1.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 11:24:11 +01:00
Chris Michael
5444ee0681
ecore_main_fd_handler_fd_get Can return -1 so check fd validity before
...
calling close() on it.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 10:56:37 +01:00
Chris Michael
42496ac4ea
fopen can fail. check file is open before trying to write to it.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 10:41:16 +01:00
Chris Michael
62401c257a
strchr can return NULL, so check validity before tryint to pass NULL
...
to ecore_file_cp.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 10:37:15 +01:00
Chris Michael
8b93eaf4c8
_edje_real_part_recursive_get can return NULL so check validity before
...
calling _edje_child_remove (with potentially NULL as the real part).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 10:26:38 +01:00
Chris Michael
016e365424
Don't call fcntl functions if we do not HAVE_FCNTL support built in.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 10:14:46 +01:00
Cedric Bail
35e1ddc6f6
evas: limit resize to always be of the right size.
...
This should fix T157.
2013-08-05 17:46:37 +09:00
Cedric Bail
1927bcea91
edje: do not move object until all positionning information is known.
2013-08-05 17:46:37 +09:00
Sebastian Dransfeld
a76633b930
efreet: Fix allocated data size
...
Since we check for count < 10 and then add 1, we could get count == 11.
Also set array memory to 0 in one command.
2013-08-05 10:45:29 +02:00
Sebastian Dransfeld
92437d7204
efreet: Formatting
2013-08-05 10:45:29 +02:00
Chris Michael
585ad86480
Patch from Phoenix Kayo <kayo@illumium.org> to fix
...
ecore_x_selection_parser functions for mozurl.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 07:44:50 +01:00
Yury Usischev
bd6de4ba8c
Add neon for upscaling and map routines in evas.
2013-08-02 18:06:55 +09:00
Daniel Juyung Seo
a3165bff15
edje: added BLOCK_HANDLE description and vim syntax.
2013-08-02 13:27:54 +09:00
Cedric Bail
e60baa0061
evas: change mapping policy to be less agressive into loading file in memory.
...
Should fix T271.
2013-08-02 10:25:26 +09:00
Chris Michael
aa75297381
Add #ifdef ECORE_XRANDR around the edid functions.
...
NB: Cannot really happen for 1.8 (as --disable-ecore-x-randr has no
effect), but really these should have been ifdef'd from the start.
NB: IMO, Don't think a ChangeLog is really needed for this....
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-01 15:18:01 +01:00
Chris Michael
4d54c97864
Remove calls to ecore_wl_init and ecore_wl_shutdown.
...
NB: These calls are NOT needed here (they setup and tear down the
actual wayland display fd connections, and are not necessary in order
to use ecore_wl functions).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-01 12:50:41 +01:00
Chris Michael
d163e5df1f
Check for valid windows hash before searching it.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-01 12:50:41 +01:00
Mike Blumenkrantz
5d1dec17b3
ecore-evas-x no longer tries making x calls on deleted windows when trying to free its sync counter
2013-08-01 12:17:58 +01:00
Cedric Bail
9104fe7322
evas: let's not leak temporary list left over.
2013-08-01 19:39:58 +09:00
Cedric Bail
2fa49e0da0
edje: fix memory leak introduced by map_colors support.
2013-08-01 19:35:21 +09:00
Cedric Bail
b845a54ee3
edje: another small speedup for elemines startup time (-2%).
2013-08-01 11:40:13 +09:00
Cedric Bail
5710c3acb7
edje: let's not stupiddly create list all over the place when we can avoid it.
2013-08-01 11:22:52 +09:00
Cedric Bail
89970215e4
edje: fix a git merge issue that did slip in.
2013-08-01 11:22:29 +09:00
Cedric Bail
072f73a453
edje: improve loading time of Edje_Object with Evas_Object_Textblock and multiple styles.
...
This bring you a 10% speedup to the first frame of Elementary_Test.
2013-08-01 10:52:41 +09:00
Cedric Bail
6c1833246c
emotion: fix backend order.
2013-08-01 10:52:41 +09:00
Tom Hacohen
dfb2fb2de5
Evas Text object: Improved the docs explaining font selection.
2013-07-31 14:31:23 +01:00
Cedric Bail
4dd259f3b1
eina: add eina_file_refresh().
2013-07-31 17:16:40 +09:00
Carsten Haitzler
5ae4cfd192
edje - Fix efl to use key not keyname (so xmodmap works).
2013-07-31 15:15:51 +09:00
Cedric Bail
e0b8e3f5e7
evas: use eina_file_virtualize() in evas_object_memfile_set().
...
NOTE: I am tempted to mark evas_object_memfile_set() as deprecated due
to the forced memcpy it introduced and the fact that it is now a 3 lines
of code to do the same in a more efficient way.
2013-07-31 11:53:39 +09:00
Cedric Bail
f2de8970a1
eina: add support for in memory only Eina_File.
2013-07-31 11:51:51 +09:00
Guillaume Friloux
9ffd451029
Job--;
2013-07-30 15:39:12 +02:00
Sung W. Park
5ac17a52d5
Evas: Fix Evas_GL engine shutdown error.
...
It was trying to use access a struct for egl_disp after the struct
was freed..
2013-07-30 19:45:40 +09:00
Rajesh P S
916f047935
evas: unset the right backend when unregistering module.
2013-07-30 14:54:26 +09:00
Adrian Negreanu
74fadb26fa
configure: fix build when disabling ecore_con and crypto.
...
configure command:
./configure --disable-ecore-con --disable-curl --with-glib=no --with-crypto=none
EFL_CRYPTO_DEPEND macro appends the crypto libraries to the ECORE_CON dependency list.
In case the ECORE_CON dependency list and the build_crypto are both empty
the resulting list will only contain " ", resulting in an error
configure: error: Package requirements ( ) were not met:
Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
2013-07-29 13:20:49 +01:00
Cedric Bail
0ec54484f7
evil: fix access value to shared memory.
2013-07-29 18:58:41 +09:00
Cedric Bail
fa57dd8b2a
eina: seems like all the compiler we support do support __typeof__.
2013-07-29 16:28:07 +09:00
Ryuan Choi
2692234b60
Moved brace of extern "C" to fix build break in c++ applications
2013-07-28 20:38:34 +09:00
ChunEon Park
e2c395f049
evas/proxy - render the children of the proxy's source object when ther visibility is true.
...
This is not the perfect solution at this moment. This doesn't consider the cached clipper's visibility at all.
But at least this would be better than exist works. Should be improved.
2013-07-28 20:24:46 +09:00
Chris Michael
55094c9eb0
Set Crtc info->outputs and info->possible to NULL initially.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-26 07:06:58 +01:00
Ryuan Choi
f6ba1f69e7
eina: use __typeof__ for public headers to build applications with c++0x.
2013-07-26 14:00:16 +09:00
José Roberto de Souza
cbd0ccbbbe
eldbus: Check if property_get_all() returned a error before read properties
2013-07-25 14:22:40 -03:00
Chris Michael
d65c357b39
During a call to ecore_evas_show (using wayland_shm), we can avoid
...
erroneous calls to engine_setup code if we check surface validity.
NB: Short Version: Don't reassign surface if we don't need to.
NB: Prior to this, during a call to ecore_evas_show we would always
Reset the evas engine data (which was basically triggering code to
tear down and reconstruct all the engine internals including the
buffers and the swapper). By checking surface validity first, we can
potentially avoid all that teardown and reconstruction Thus resulting
in faster "show" speed.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-25 15:48:40 +01:00