platform/upstream/efl.git
9 years agoevas image loaders - silence noisy warnings that are just not needed
Carsten Haitzler (Rasterman) [Fri, 15 Aug 2014 03:45:01 +0000 (12:45 +0900)]
evas image loaders - silence noisy warnings that are just not needed

several loaders make too much noise when a file fails to load - almost
all of this is because the file isnt actually an image format file at
all, and an ap is just asking evas to try do a load to see if it is a
loadable image at all. this results in noisy strerr output that simply
shouldnt be there. so silence for loaders. @fix

9 years agoevas gl - fix yuv smooth rendering
Carsten Haitzler (Rasterman) [Fri, 15 Aug 2014 03:11:33 +0000 (12:11 +0900)]
evas gl - fix yuv smooth rendering

i found that we are not setting u and v to be smooth (linear
interpolate) for yuv reendering, even when asked. they remain at a
default "nearest". this enables linear for u and v always, meaning
even when smooth is off, we still interpolate u and v (not y), and
even when at 1:1 with no scaling u and v get interpolation for better
quality.

@fix!

9 years agoedje text should actually call ellipsis functions instead of attempting to call ...
zmike [Thu, 14 Aug 2014 18:17:11 +0000 (14:17 -0400)]
edje text should actually call ellipsis functions instead of attempting to call -1(obj)

9 years agoedje - and make logic right for no elipsis with min.x too
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 16:36:14 +0000 (01:36 +0900)]
edje - and make logic right for no elipsis with min.x too

9 years agoelipsis fix - use -1 not 0 to turn off - unusual value for off
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 16:26:38 +0000 (01:26 +0900)]
elipsis fix - use -1 not 0 to turn off - unusual value for off

9 years agoedje - fix elipsis complaints/bugs with "old" themes
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 15:45:14 +0000 (00:45 +0900)]
edje - fix elipsis complaints/bugs with "old" themes

this fixes the elipsis changes xmike made by assuming elipsis of 0
whenn text min x is set (which is what we want anyway). this is a
complaint that is all through phab and other places where people
complain about "x..." or something now replacing formerly perfectly
find labels

9 years agomake indenting consistent
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 11:56:55 +0000 (20:56 +0900)]
make indenting consistent

this doesnt mean its right - it just matches. efreet needs some indent
love.

9 years agoefreet: replace 4096 with sizeof(buf) in snprintf(buf, 4096, ...).
Adrien Nader [Sat, 9 Aug 2014 10:18:31 +0000 (12:18 +0200)]
efreet: replace 4096 with sizeof(buf) in snprintf(buf, 4096, ...).

buf is a local variable defined as:
  char buf[4096];
The current code is correct; this change only makes sure the value won't
get out-of-sync later on.

9 years agoefreet: reverse if's condition and swap then/else blocks for readability
Adrien Nader [Sat, 9 Aug 2014 10:09:44 +0000 (12:09 +0200)]
efreet: reverse if's condition and swap then/else blocks for readability

The reversal makes it possible to merge two #if and unspaghetti the code
a bit.

Since the diff is not very readable, here is the before/after to show
the spirit:

  before:

    #if cond
      if (...)
    #endif
        do_foo();
    #if cond
      else
        do_bar();
    #endif

  after:

    #if cond
      if ( ! ...)
        do_bar();
      else
    #endif
        do_foo();

9 years agoefreet: remove #ifdef GETUID inside #ifdef _WIN32 (it's always false).
Adrien Nader [Sat, 9 Aug 2014 10:00:32 +0000 (12:00 +0200)]
efreet: remove #ifdef GETUID inside #ifdef _WIN32 (it's always false).

9 years agoefreet: use eina_file_mkstemp to create filename
Sebastian Dransfeld [Thu, 14 Aug 2014 11:29:24 +0000 (13:29 +0200)]
efreet: use eina_file_mkstemp to create filename

9 years agobenchmarks: close mkstemp file
Sebastian Dransfeld [Thu, 14 Aug 2014 11:26:11 +0000 (13:26 +0200)]
benchmarks: close mkstemp file

eina_file_mkstemp returns an open filedescriptor, so we need to close
it.

9 years agofix structurally dead code warning
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 11:21:19 +0000 (20:21 +0900)]
fix structurally dead code warning

CID 1039494

9 years agoevas gl - fix structurally dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 11:18:56 +0000 (20:18 +0900)]
evas gl - fix structurally dead code

unused var protection in ifdef - use unused macro instead. fixes
CID 1039495

9 years agoevas render i386 - comment out structurally dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 11:16:32 +0000 (20:16 +0900)]
evas render i386 - comment out structurally dead code

this code has bugs, so comment it out rather than just have a return
get rid of it - CID 1039499

9 years agofix structurally dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 11:11:42 +0000 (20:11 +0900)]
fix structurally dead code

this cleans up fixing of unused param warnings - fix

CID 1039524 1039504 1039523 1039503 1039522 1039502 1039521 1039501
1039540 1039520 1039539 1039519 1039538 1039537 1039517 1039536
1039516 1039535 1039515 1039534 1039514 1039533 1039513 1039532
1039512 1039531 1039511 1039530 1039510 1039529 1039509 1039528
1039508 1039527 1039507 1039526 1039506 1039525 1039505

9 years agoeet init - fix structurally dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 11:05:30 +0000 (20:05 +0900)]
eet init - fix structurally dead code

CID 1039542

9 years agoedje - edje load - remove structurally dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 11:02:47 +0000 (20:02 +0900)]
edje - edje load - remove structurally dead code

CID 1039543

9 years agoevas xpm loader - fix xpm loader overrun check
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:53:24 +0000 (19:53 +0900)]
evas xpm loader - fix xpm loader overrun check

coverity CID 1039596 - the code actually was wrong. do not multiple by
sizeof(DATA32) for ptr compare here.

9 years agoefreet: remove creation of XDG_RUNTIME_DIR
Sebastian Dransfeld [Thu, 14 Aug 2014 11:00:28 +0000 (13:00 +0200)]
efreet: remove creation of XDG_RUNTIME_DIR

XDG_RUNTIME_DIR should be created and set by the system, not a library.

9 years agoevas sw-x11 - fix pointless code in dri swapper
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:49:34 +0000 (19:49 +0900)]
evas sw-x11 - fix pointless code in dri swapper

this fixes CID 1039620 - it pointed out a pointless null check.

9 years agoevas gl generic - remove dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:44:16 +0000 (19:44 +0900)]
evas gl generic - remove dead code

coverity CID 1039633 pointed out dead code and some invalid null
checks. fixed!

9 years agoeio - fix possible stringhare del bug in dir chmod
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:40:54 +0000 (19:40 +0900)]
eio - fix possible stringhare del bug in dir chmod

coverity picked this up - CID 1039645. it does indeed look like a real
bug. if order->dirs is empty. for example.

9 years agoformatting fix
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:39:46 +0000 (19:39 +0900)]
formatting fix

9 years agoedje swallow resize handling
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:36:40 +0000 (19:36 +0900)]
edje swallow resize handling

this fixes some deadcode in CID 1039646 that suggests we should do a
check for rp->typedata.swallow first before we go using it.

9 years agoedje entry - fix format appending with just empty strings
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:32:45 +0000 (19:32 +0900)]
edje entry - fix format appending with just empty strings

this fixes CID 1039647 - it caught a real bug. we were not skipping
out on an empty + or - push/pop format fomamnt if it had nothing
there. not actually something people do - but possible. fix!

9 years agoedje_pick - remove unused var that we just free and nothing else
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:25:32 +0000 (19:25 +0900)]
edje_pick - remove unused var that we just free and nothing else

this should fix CID 1039669

9 years agoeina unicode - remove pointless operands
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:18:46 +0000 (19:18 +0900)]
eina unicode - remove pointless operands

fixes CID 1039676

9 years agoembryo_cc - check return value
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:11:06 +0000 (19:11 +0900)]
embryo_cc - check return value

this matches the check for fgetpos()

9 years agoembryo_cc - fix return value checking
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:09:30 +0000 (19:09 +0900)]
embryo_cc - fix return value checking

fixes CID 1039712

9 years agoepp - fix unchecked return
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:04:38 +0000 (19:04 +0900)]
epp - fix unchecked return

fix CID 1039717

9 years agoepp - fix unchecked return
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:02:39 +0000 (19:02 +0900)]
epp - fix unchecked return

this fixes CID 1039718

9 years agoedje_decc - fix unchecked return value
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:00:37 +0000 (19:00 +0900)]
edje_decc -  fix unchecked return value

fix CID 1039719

9 years agoembryo_cc - make assert clearer
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 09:55:02 +0000 (18:55 +0900)]
embryo_cc - make assert clearer

this fixes coverity warning CID 1039730

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