platform/upstream/efl.git
9 years agoeldbus - fix varargs missing end in iter get and next
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 09:52:31 +0000 (18:52 +0900)]
eldbus - fix varargs missing end in iter get and next

there was an error return handler that would return without doing
va_end(). coverity picked this up. this fixes CID 1039883

9 years agoevas cache - fix logically dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 09:47:38 +0000 (18:47 +0900)]
evas cache - fix logically dead code

fix CID 1039928

9 years agoevas cache - fix logically dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 09:45:59 +0000 (18:45 +0900)]
evas cache - fix logically dead code

fixes CID 1039929

9 years agoevas cache - fix logically dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 09:44:46 +0000 (18:44 +0900)]
evas cache - fix logically dead code

fixes CID 1039930

9 years agoevas cache - fix logically dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 09:42:34 +0000 (18:42 +0900)]
evas cache - fix logically dead code

fixes CID 1039931

9 years agoevas cache - fix logically dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 09:41:16 +0000 (18:41 +0900)]
evas cache - fix logically dead code

this fixes CID 1039932

9 years agoevas cache - remove logically dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 09:36:21 +0000 (18:36 +0900)]
evas cache - remove logically dead code

fix CID 1039934

9 years agoevas cache - fix logically dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 09:33:15 +0000 (18:33 +0900)]
evas cache - fix logically dead code

this fixes CID 1039935

9 years agoeina_inlist_sorted_state_insert - fix logically dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 09:31:04 +0000 (18:31 +0900)]
eina_inlist_sorted_state_insert - fix logically dead code

this fixes CID 1039938

9 years agoeina list insert sorted - fix logically dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 09:29:32 +0000 (18:29 +0900)]
eina list insert sorted - fix logically dead code

this fixes CID 1039941

9 years agoREADME: Update statement about C++ usage.
Stefan Schmidt [Thu, 14 Aug 2014 09:35:13 +0000 (11:35 +0200)]
README: Update statement about C++ usage.

Its no longer interfacing to bullet only but also our C++ bindings that
need the C++ compiler.

9 years agofix noop self-assignment
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 09:25:42 +0000 (18:25 +0900)]
fix noop self-assignment

this fixes CID 1040028

9 years agoevas font - fix null access of font format possibility
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 09:14:08 +0000 (18:14 +0900)]
evas font - fix null access of font format possibility

this fixes NULL access in CID 1099705, 1099703, 1099704

9 years agoevas scalecache - fix thread deadlock posssibility
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 09:10:11 +0000 (18:10 +0900)]
evas scalecache - fix thread deadlock posssibility

there is a re-ordering of how locks are taken and this should cover
that deadlock possibility. fixes CID 1106338

9 years agoevas preload + locking - fix deadlock
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 09:03:07 +0000 (18:03 +0900)]
evas preload + locking - fix deadlock

there is a possible deadlock condition where locks are not taken in
the same order (img lock then cancel lock). re-order so this doesn't
happen. this fixes CID 1106339

9 years agoevas gl - fix possible null tls resource access in bindframebuffer
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 08:41:55 +0000 (17:41 +0900)]
evas gl - fix possible null tls resource access in bindframebuffer

this fixes CID 1181887

9 years agoepp - fix bit underflow in bitshift for multibyte
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 08:39:11 +0000 (17:39 +0900)]
epp - fix bit underflow in bitshift for multibyte

this fixes CID 1193200

9 years agoxpm - colors cant be 96 bytes long.
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 08:34:39 +0000 (17:34 +0900)]
xpm - colors cant be 96 bytes long.

since colors are hex, 96 bytes of hex would be 32bytes per r, g and b,
and that would be 128 bits per  r g and b and that just is never seen
or used. also coverity is right in CID 1193201 that we just can't
shift that many, so go down to max 16 bits per rgb which is sensible
and able to be done. (thats 12 bytes max for hex of color).

9 years agofix possible focket fd of -1 in cserve
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 08:18:57 +0000 (17:18 +0900)]
fix possible focket fd of -1 in cserve

this fixes CID 1193207 where a server fd may be -1, connect fail and
still be -1 due to failed connect.

9 years agoevas cserve - handle possilbe null ref and fentry pointers
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 08:16:02 +0000 (17:16 +0900)]
evas cserve - handle possilbe null ref and fentry pointers

this fixes CID 1193209 with possible NULL refs.

9 years agoevas ico loader - ensure count is within sane ranges
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 08:04:55 +0000 (17:04 +0900)]
evas ico loader - ensure count is within sane ranges

this hopefully addresses CID 1205000

9 years agoevas 3d - remove logically dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 07:35:57 +0000 (16:35 +0900)]
evas 3d - remove logically dead code

coverity is right. this code is misleading - fixes CID 1210806

9 years agofix edje file fetch
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 07:31:45 +0000 (16:31 +0900)]
fix edje file fetch

this fixes CID 1210811

9 years agofix null check of edje file data
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 07:29:03 +0000 (16:29 +0900)]
fix null check of edje file data

this fixes CID 1210812

9 years agoevas/proxy: When src object has no proxies, redraw flag is set for EINA_FALSE.
ChunEon Park [Thu, 14 Aug 2014 06:27:31 +0000 (15:27 +0900)]
evas/proxy: When src object has no proxies, redraw flag is set for EINA_FALSE.

[Problem] When obj which has src object(proxy concept) are excluded from render_object,
src object's 'proxy.redraw' isn't change although src obj have not proxies.
because 'proxy.redraw' flag is changed to EINA_FALSE only in obj's subrender() called.

[Resolution] When the count of source obj's proxies is 0, src obj's 'proxy.redraw' is set for EINA_FALSE.

Signed-Off-By: Min Kyoung Kim <mer.kim@samsung.com>
9 years agoMerge branch 'master' of ssh://git.enlightenment.org/core/efl
ChunEon Park [Thu, 14 Aug 2014 04:15:22 +0000 (13:15 +0900)]
Merge branch 'master' of ssh://git.enlightenment.org/core/efl

9 years agoGrid: fix a mirroring bug
Hosang Kim [Thu, 14 Aug 2014 02:14:49 +0000 (11:14 +0900)]
Grid: fix a mirroring bug

Summary:
When the grid is mirrored, originally code is just changed (x1,y1) to (x2,y2).
I fix calculate logic for the x-axis.
@fix

Test Plan:
1. elementary_test -> grid
2. click UI-MIRRORING toggle

Reviewers: Hermet, woohyun, raster, seoz

Reviewed By: seoz

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1325

9 years agoedje_pick: fix a copied aliases
Vyacheslav Reutskiy [Wed, 13 Aug 2014 15:08:06 +0000 (00:08 +0900)]
edje_pick: fix a copied aliases

Summary:

@fix

Reviewers: raster, Hermet, seoz, cedric

Subscribers: cedric, seoz, Sachiel

Differential Revision: https://phab.enlightenment.org/D1305

9 years agoedje_pick: fix a segfault on 'set' copy
Vyacheslav Reutskiy [Wed, 13 Aug 2014 15:00:56 +0000 (00:00 +0900)]
edje_pick: fix a segfault on 'set' copy

Summary:
wrong structure, a Edje_Image_Directory_Set_Entry, used for copy
a set's data to new file.

@fix

Reviewers: raster, seoz, cedric, Hermet

Reviewed By: Hermet

Subscribers: Sachiel, cedric, seoz

Differential Revision: https://phab.enlightenment.org/D1304

9 years agoevas 3d - fix divide by zero issue from coverity
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 14:50:49 +0000 (23:50 +0900)]
evas 3d - fix divide by zero issue from coverity

this fixes CID 1216432

9 years agoedje edit - clarify src a bit better (change no logic)
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 14:48:52 +0000 (23:48 +0900)]
edje edit - clarify src a bit better (change no logic)

9 years agoedje edit - make source set api clearer as to what it does for coverity
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 14:37:54 +0000 (23:37 +0900)]
edje edit - make source set api clearer as to what it does for coverity

this addresses CID 1222452 - this fallthough is intended, so
document it and make the code clearer

9 years agoRevert "Added support for xdg-shell protocol in ecore-wayland"
Chris Michael [Wed, 13 Aug 2014 14:35:00 +0000 (10:35 -0400)]
Revert "Added support for xdg-shell protocol in ecore-wayland"

This reverts commit 2f4db577b524e0813ee0777642a2690d252977fd.

9 years agoRevert "ecore-wayland: Fix formatting"
Chris Michael [Wed, 13 Aug 2014 14:34:57 +0000 (10:34 -0400)]
Revert "ecore-wayland: Fix formatting"

This reverts commit ff299727038070a34538c208b2031c6d16c18e1f.

9 years agoRevert "ecore-wayland: Calloc Can fail, so check that it works (or return if"
Chris Michael [Wed, 13 Aug 2014 14:34:55 +0000 (10:34 -0400)]
Revert "ecore-wayland: Calloc Can fail, so check that it works (or return if"

This reverts commit a49835a8d165fa5844a902eec035c63036369632.

9 years agoRevert "ecore-wayland: Fix formatting"
Chris Michael [Wed, 13 Aug 2014 14:34:49 +0000 (10:34 -0400)]
Revert "ecore-wayland: Fix formatting"

This reverts commit e14f40a46d5009ff3a6771a20d1b6fac66470cd5.

9 years agoRevert "ecore-wayland: Add missing EINA_UNUSED for unused function paramater"
Chris Michael [Wed, 13 Aug 2014 14:34:28 +0000 (10:34 -0400)]
Revert "ecore-wayland: Add missing EINA_UNUSED for unused function paramater"

This reverts commit 67766929ca56da08dfe28ff0f69930244d53d10c.

Revert all the xdg_shell changes. Should not have been pushed due to
new API function.

9 years agoRevert "Added support for xdg-shell protocol in ecore-wayland."
Chris Michael [Wed, 13 Aug 2014 14:29:58 +0000 (10:29 -0400)]
Revert "Added support for xdg-shell protocol in ecore-wayland."

This reverts commit e591dff56dd36c6f45d28dbbaa05b290d2996113.

Revert this. Should not have been pushed yet. Sorry Stefan !! :)

9 years agoevas-software-x11: Remove EINA_UNUSED for function paramater that is
Chris Michael [Wed, 13 Aug 2014 14:23:47 +0000 (10:23 -0400)]
evas-software-x11: Remove EINA_UNUSED for function paramater that is
used

Render_Mode is used here so we don't need EINA_UNUSED for it in the
function.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoAdded support for xdg-shell protocol in ecore-wayland.
Srivardhan Hebbar [Wed, 13 Aug 2014 13:28:07 +0000 (09:28 -0400)]
Added support for xdg-shell protocol in ecore-wayland.

Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Projects: #efl

Differential Revision: https://phab.enlightenment.org/D1328

9 years agoecore-wayland: Add missing EINA_UNUSED for unused function paramater
Chris Michael [Wed, 13 Aug 2014 13:07:42 +0000 (09:07 -0400)]
ecore-wayland: Add missing EINA_UNUSED for unused function paramater

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wayland: Fix formatting
Chris Michael [Wed, 13 Aug 2014 13:01:50 +0000 (09:01 -0400)]
ecore-wayland: Fix formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wayland: Calloc Can fail, so check that it works (or return if
Chris Michael [Wed, 13 Aug 2014 12:58:39 +0000 (08:58 -0400)]
ecore-wayland: Calloc Can fail, so check that it works (or return if
not).

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wayland: Fix formatting
Chris Michael [Wed, 13 Aug 2014 12:58:17 +0000 (08:58 -0400)]
ecore-wayland: Fix formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoAdded support for xdg-shell protocol in ecore-wayland
vivek [Wed, 13 Aug 2014 12:51:02 +0000 (08:51 -0400)]
Added support for xdg-shell protocol in ecore-wayland

Summary: Signed-off-by: vivek <vivek.ellur@samsung.com>

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1326

9 years agoevas-gl-common: Fix invalid use of Texture
Chris Michael [Wed, 13 Aug 2014 13:38:33 +0000 (09:38 -0400)]
evas-gl-common: Fix invalid use of Texture

We cannot use the texture to find a valid format Before the texture is
actually created. This is invalid, leads to "warning: tex is used
uninitialized' message from the compiler, and just plain wrong.
Instead, use the alpha property of the Evas_GL_Image to find the
proper texture format, Then create the texture.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoautotools: Renamed --disable-c++11 to --disable-cxx-bindings.
Savio Sena [Wed, 13 Aug 2014 13:16:32 +0000 (10:16 -0300)]
autotools: Renamed --disable-c++11 to --disable-cxx-bindings.

The name was misleading.

Fix T1438

9 years agoeolian-cxx: Renamed event_*_callback_{add,call} to callback_*_{add,call}.
Savio Sena [Wed, 13 Aug 2014 00:55:09 +0000 (21:55 -0300)]
eolian-cxx: Renamed event_*_callback_{add,call} to callback_*_{add,call}.

9 years agoecore_drm_dbus: Do not use the same name for global and local variables
Stefan Schmidt [Wed, 13 Aug 2014 11:34:35 +0000 (13:34 +0200)]
ecore_drm_dbus: Do not use the same name for global and local variables

We use conn here for a global Dbus connection variable as well as sometimes
in a local scope. Better rename the global one to avoid confusion and
potential failures when the code would fallback to the global one even if
the local scope should be used and the var was simply forgotten.

9 years agoevas 3d - fix error handling for ftell from coverity
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 11:57:33 +0000 (20:57 +0900)]
evas 3d - fix error handling for ftell from coverity

coverity was right again - CID 1222453 - fix.

9 years agoevas 3d - fix null access for fopen on 3d mesh save
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 11:54:32 +0000 (20:54 +0900)]
evas 3d - fix null access for fopen on 3d mesh save

this fixes CID 1222455 yes fopen for write may fail!

9 years agoevas key bitshifts for 64bit type - fix.
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 11:49:36 +0000 (20:49 +0900)]
evas key bitshifts for 64bit type - fix.

coverity is right. this is another set of thse bitshift problems with
unsigned long long. fix 1224346, 1224345, 1224344 1224343 and 1224342

9 years agoedje - remove logically dead code
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 11:46:52 +0000 (20:46 +0900)]
edje - remove logically dead code

fixes CID 1224348 - coverity is right

9 years agoedje - fix coverity complaint about invalid mem access
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 11:39:17 +0000 (20:39 +0900)]
edje - fix coverity complaint about invalid mem access

fixes real issue for invalid object - CID 1224349

9 years agofix coveirty range complaint on modifer bit mask
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 11:21:14 +0000 (20:21 +0900)]
fix coveirty range complaint on modifer bit mask

this fixes CID 1224356, 1224355, 1224354, 1224353 and 1224352

9 years agoevas software generic engine - fix tb configuring to be consistent
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 10:11:49 +0000 (19:11 +0900)]
evas software generic engine - fix tb configuring to be consistent

this addresses CID 1224761 - consistent checks for tb in render engine

9 years agoeina thread queue - check write return
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 10:06:40 +0000 (19:06 +0900)]
eina thread queue - check write return

this addresses CID 1226191. this should never have an error as the fd
should always be valid as long as needed.

9 years agoevas gl x11 engine do extra check to make coverity happen
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 09:27:46 +0000 (18:27 +0900)]
evas gl x11 engine do extra check to make coverity happen

this fixes CID 1226192

9 years agoecore x vsync - be more conservative about DISPLAY string src
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 09:10:58 +0000 (18:10 +0900)]
ecore x vsync - be more conservative about DISPLAY string src

i hope this addresses CID 1229131 - don't trust the DISPLAY var
content much at all - limit it to [a-z][A-Z][0-9][-] only. hopefully
coverity is happier.

9 years agofix eina unicode realloc fix of coverity complaints - return right buf.
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 09:01:48 +0000 (18:01 +0900)]
fix eina unicode realloc fix of coverity complaints - return right buf.

9 years agoeina thread queue - fix possible deadlock
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 08:36:00 +0000 (17:36 +0900)]
eina thread queue - fix possible deadlock

coverity pointed out a deadlock - CID 1226193. i hope this fixes it
(need to wait days for a coverity re-run). tests pass and real life
usage works, so i assume its ok. in theory i see no problem either.

9 years agoembyro-cc - fix coverity overruun issue
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 08:14:53 +0000 (17:14 +0900)]
embyro-cc - fix coverity overruun issue

overrun in fatal msg access - fix CID 1039315

9 years agoembryo_cc - coverity mem access issue - fix
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 08:13:12 +0000 (17:13 +0900)]
embryo_cc - coverity mem access issue - fix

this fixes CID 1039316 in case error num is beyond errmsg bounds

9 years agoembryo_cc - fix coverity buffer overrun
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 07:19:17 +0000 (16:19 +0900)]
embryo_cc - fix coverity buffer overrun

fixes CID 1039317

9 years agofix coverity leak detection in ecore_evas_x hints...
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 07:15:42 +0000 (16:15 +0900)]
fix coverity leak detection in ecore_evas_x hints...

this fixes CID 1188012

9 years agoevas - cserve - dummy slave - shut coverity up and unmap mmaped mem
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 06:24:00 +0000 (15:24 +0900)]
evas - cserve - dummy slave - shut coverity up and unmap mmaped mem

while right, coverity doest know that this is just a dummy example,
so... make it happy by unmapping. fixes CID 1193218

9 years agofix possible resource leak in edje entry - coverity spotted
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 06:11:06 +0000 (15:11 +0900)]
fix possible resource leak in edje entry - coverity spotted

this should fix CID 1193228

9 years agoeina - and follow-on calloc fixup - 0 terminate first calloced string
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 02:52:59 +0000 (11:52 +0900)]
eina - and follow-on calloc fixup - 0 terminate first calloced string

this follows on from 6dc52db881cbe29dfe8b9a2a0a6745a8b3fa0673

9 years agoeina unicode - fix calloc stupidity
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 00:05:37 +0000 (09:05 +0900)]
eina unicode - fix calloc stupidity

in looking at CID 1230994 i noticed that eina_unicode_unicode_to_utf8
and eina_unicode_utf8_to_unicode are really dumb. they calloc an array
of bytes then proceed to fill them all in anyway. why? also the
realloc handing in eina_unicode_unicode_to_utf8 wasn't strictly corect
and could leak memory. so this just fixes silly slow code and a leak.

9 years agoaddress non nul terminated string due to strncpy
Carsten Haitzler (Rasterman) [Wed, 13 Aug 2014 00:03:02 +0000 (09:03 +0900)]
address non nul terminated string due to strncpy

this addresses CID 1230994. as such  eina_unicode_unicode_to_utf8()
always returns a nul terminated string. so it's guaranteed. but yes -
if string is 7 bytes or longer it will not put a nul byte on the
destination. as such for a single unicode char this can never happen
as in utf8 it's 6 bytes. but since eina_unicode_unicode_to_utf8()
safely returns a nul terminated string at all times - we can just use
strcpy safely. no need for strncpy. also handle null return from
eina_unicode_unicode_to_utf8()

9 years agofix resource leak on format lookup fail
Carsten Haitzler (Rasterman) [Tue, 12 Aug 2014 23:49:07 +0000 (08:49 +0900)]
fix resource leak on format lookup fail

so in fixing one CID for a format lookup failing and thus invalid mem
access, a possible leak was made in this case. fix that by doing
lookup before any allocation and if lookup fails, return there

this fixes CID 1230999 1230998 1230997

9 years agoecore-con - fix possible leak due to other fix
Carsten Haitzler (Rasterman) [Tue, 12 Aug 2014 23:44:44 +0000 (08:44 +0900)]
ecore-con - fix possible leak due to other fix

this fixes potential leak due to
ff652084e028b3c8e8f69cf16baecbad32bb40e7 fixing a valgrind access
issue. make sure the server is in the list before handling error
conditions in case a callback sets delete_me (should never though).

9 years agofix non 0 terminated buffer in ethmubd slave
Carsten Haitzler (Rasterman) [Tue, 12 Aug 2014 08:45:08 +0000 (17:45 +0900)]
fix non 0 terminated buffer in ethmubd slave

this fixes a potential non 0 terminated string buffer in ethumb slave
process -  harmless for apps, but might happen. this fixes CID 1193232

9 years agoautotools: try to simplify our Makefile.am to reduce warnings.
Cedric BAIL [Mon, 11 Aug 2014 16:10:18 +0000 (18:10 +0200)]
autotools: try to simplify our Makefile.am to reduce warnings.

9 years agoautotools: use non deprecated macro.
Cedric BAIL [Mon, 11 Aug 2014 15:26:29 +0000 (17:26 +0200)]
autotools: use non deprecated macro.

I still don't know why there is still a warning.

9 years agoautotools: do not build upower module on Windows system.
Cedric BAIL [Mon, 11 Aug 2014 14:47:17 +0000 (16:47 +0200)]
autotools: do not build upower module on Windows system.

9 years agoEvas textblock: strcpy->strncpy (although the buffer is always big enough).
Tom Hacohen [Tue, 12 Aug 2014 09:11:41 +0000 (10:11 +0100)]
Evas textblock: strcpy->strncpy (although the buffer is always big enough).

Many tools will complain about the use of strcpy, and it's not that hard to use
strncpy anyway.

CID1039581.

9 years agoEvas bidi: Make code more explicit (silence coverity).
Tom Hacohen [Tue, 12 Aug 2014 09:05:52 +0000 (10:05 +0100)]
Evas bidi: Make code more explicit (silence coverity).

CID1039922.

9 years agoEvas textblock: remove checks for impossible null derefs.
Tom Hacohen [Tue, 12 Aug 2014 08:52:18 +0000 (09:52 +0100)]
Evas textblock: remove checks for impossible null derefs.

This improves code clarity based on input from coverity.

CID1190401
CID1190402

9 years agoEdje dbg_info: Mark root as not null (will never be).
Tom Hacohen [Tue, 12 Aug 2014 08:35:57 +0000 (09:35 +0100)]
Edje dbg_info: Mark root as not null (will never be).

9 years agoevas gl common - fix possible negative array accesses if search format fails
Carsten Haitzler (Rasterman) [Tue, 12 Aug 2014 08:32:04 +0000 (17:32 +0900)]
evas gl common - fix possible negative array accesses if search format fails

this should fix CID 1223506, 1223505, 1223504

9 years agoevas gl common - fix potential invalid access during texture free
Carsten Haitzler (Rasterman) [Tue, 12 Aug 2014 08:25:15 +0000 (17:25 +0900)]
evas gl common - fix potential invalid access during texture free

this should address CID 1223507

9 years agoevas-wayland-egl: Add missing free
Gwanglim Lee [Mon, 11 Aug 2014 15:47:25 +0000 (11:47 -0400)]
evas-wayland-egl: Add missing free

Summary:
Add free to eng_gl_context_free
@fix

Test Plan: N/A

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1315

9 years agoevas-wayland-egl: Fix typos about egl context attribute list
Gwanglim Lee [Mon, 11 Aug 2014 15:45:30 +0000 (11:45 -0400)]
evas-wayland-egl: Fix typos about egl context attribute list

Summary:
Fix typos 3 to 2.
@fix

Test Plan: N/A

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1314

9 years agowayland-egl: Fix Outbuf structure not having evas & engine info
Chris Michael [Mon, 11 Aug 2014 15:29:33 +0000 (11:29 -0400)]
wayland-egl: Fix Outbuf structure not having evas & engine info

gl_generic functions expect the Outbuf to contain the canvas, so we
fixed the eng_window_new function to accept that, And the engine info.
This simplifies the calls to eng_window_new.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agowayland-egl: Fix calls to eng_window_new
Chris Michael [Mon, 11 Aug 2014 15:28:50 +0000 (11:28 -0400)]
wayland-egl: Fix calls to eng_window_new

Since we simplified the eng_window_new function to accept the canvas
and engine info, we need to update calls to that function

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agowayland-egl: Fix eng_window_new function prototype
Chris Michael [Mon, 11 Aug 2014 15:28:04 +0000 (11:28 -0400)]
wayland-egl: Fix eng_window_new function prototype

We need to pass in the canvas and engine info structure as the
gl_generic engine needs the outbuf->canvas to be set.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-wayland-egl: Fix evas wayland_egl engine crash on mesa driver
Gwanglim Lee [Mon, 11 Aug 2014 15:08:09 +0000 (11:08 -0400)]
evas-wayland-egl: Fix evas wayland_egl engine crash on mesa driver

Summary:
Evas wayland_egl engine crashes on startup when it is running with mesa.
Evas is trying to get EGL / GLES extension function addresses where evas_gl_symbols.
It is called before eglGetDisplay. Then mesa considers that current egl platform is
X11 if it has no EGL_PLATFORM env var. This behavior of mesa is bad. But we should
provide workaround until it is fixed. Thus EGL_PLATFORM env var should be defined to
wayland before calling eglGetProcAddress.
@fix

Test Plan: run elementary_test under wayland with wayland_egl engine.

Reviewers: raster, stefan_schmidt, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1312

9 years agoeet: fix possible ABI break.
Cedric BAIL [Mon, 11 Aug 2014 14:17:05 +0000 (16:17 +0200)]
eet: fix possible ABI break.

9 years agoeina: rename to eina_module_symbol_global_set
Cedric BAIL [Mon, 11 Aug 2014 12:52:04 +0000 (14:52 +0200)]
eina: rename to eina_module_symbol_global_set

As discussed on the ML, eina_module_global_set should become eina_module_symbol_global_set.

9 years agoEvas text: fix text object size with empty texts.
Tom Hacohen [Mon, 11 Aug 2014 12:33:12 +0000 (13:33 +0100)]
Evas text: fix text object size with empty texts.

@fix.

9 years agofix valgrind report on ecore con server connect failure
Carsten Haitzler (Rasterman) [Mon, 11 Aug 2014 11:48:03 +0000 (20:48 +0900)]
fix valgrind report on ecore con server connect failure

this should fix T1508 - my testing seems to indicate so. test suite
succeeds, some manual tests of mine work. so is ay this is a good fix
that could fix critical segvs in apps using ecore-con - eg like
weather module in e

9 years agorelease: Update NEWS and bump version for 1.11.0-beta2 release v1.11.0-beta2
Stefan Schmidt [Mon, 11 Aug 2014 10:22:20 +0000 (12:22 +0200)]
release: Update NEWS and bump version for 1.11.0-beta2 release

9 years agoautotools: proper fix for generated Makevars and distcheck
Daniel Kolesa [Mon, 11 Aug 2014 09:59:13 +0000 (10:59 +0100)]
autotools: proper fix for generated Makevars and distcheck

Reverts 21da4a54545cd6871d1d888566ce9fe488afef67.

It is needed to generate Makevars in-tree even when building out-of-tree because of
how Autotools work. However, distcheck doesn't properly remove the Makevars file in
the generated distdir and makes po/ read only, preventing the build system from
generating an up-to-date version of Makevars. This commit adds the required hooks
needed to fix this behavior.

9 years agomore versions of vbox mods panic - blacklist all vboxvideo users from vsync
Carsten Haitzler (Rasterman) [Mon, 11 Aug 2014 07:06:54 +0000 (16:06 +0900)]
more versions of vbox mods panic - blacklist all vboxvideo users from vsync

9 years agoimf - fix x11 vs wl fix to leave x11 alone for those without scim
Carsten Haitzler (Rasterman) [Mon, 11 Aug 2014 02:05:41 +0000 (11:05 +0900)]
imf - fix x11 vs wl fix to leave x11 alone for those without scim

scim has a nasty habit of sitting and hanging if tryng to set up and
no scim daemon is there. since in x11 you may have multiple input
methods, leave it to be manually set up via env var, and if not then
dont work at all.

9 years agoecore-imf - fix broken state on non-x11 environments
Carsten Haitzler (Rasterman) [Sun, 10 Aug 2014 23:43:52 +0000 (08:43 +0900)]
ecore-imf - fix broken state on non-x11 environments

this fixes ecore-imf to auto-pick scim or wayland vased in DISPLAY and
WALAND_DISPLAY env vars. it's not a perfect/good/correct fix. it
should be picking based on canvas engine type, but that is a far more
invasive effort, so for release, do this simple one that brings back
wayland input panel and keeps x11 input methods going as long as app
is either x11 (DISPLAY) or wayland (WAYLAND_DISPLAY). if both are set,
it'll get it wrong. as i said - that's a more invasive fix.

9 years agoeldbus: do not ignore numeric "0" in property_set
Wonguk Jeong [Sun, 10 Aug 2014 20:55:38 +0000 (22:55 +0200)]
eldbus: do not ignore numeric "0" in property_set

"0" value was considered to be error even if signature was numeric

@fix

9 years agoevas-wayland-egl: Fix evas wayland_egl engine not loading due to missing symbol
Chris Michael [Sun, 10 Aug 2014 19:54:35 +0000 (15:54 -0400)]
evas-wayland-egl: Fix evas wayland_egl engine not loading due to missing symbol

Seems the newer wayland-egl code was missing the log domain variable
and thus would not load at time of dlsym due to missing symbol. This
fixes that problem by defining the variable.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoethumb client - fix access to pending struct that has been freed
Carsten Haitzler (Rasterman) [Sun, 10 Aug 2014 04:26:33 +0000 (13:26 +0900)]
ethumb client - fix access to pending struct that has been freed

th pending cancel may call callbacks... which can mess with the list
and thus the pending_add we have, sso do our work before calling this
(like set pending_call to NULL).