platform/upstream/efl.git
8 years agofix warnings in sanhyeons's patch/fix
Carsten Haitzler (Rasterman) [Fri, 29 Jul 2016 02:52:02 +0000 (11:52 +0900)]
fix warnings in sanhyeons's patch/fix

8 years ago[CONFIG] call elm_rescale() only when scale value is changed
Jonghee Choi [Fri, 29 Jul 2016 02:43:38 +0000 (11:43 +0900)]
[CONFIG] call elm_rescale() only when scale value is changed

Summary: it doesn't need to call elm_rescale() in _config_flush_get() when the scale value is not changed.

Reviewers: jaehwan, cedric, raster

Subscribers: minkyu

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

8 years agogenlist: fix memory-leak in filter queue and refactoring queue iteration
SangHyeon Lee [Fri, 29 Jul 2016 02:21:27 +0000 (11:21 +0900)]
genlist: fix memory-leak in filter queue and refactoring queue iteration

Summary:
There are critical memory-leak in filter queue process.
         It looks typo so I fix it and refactoring queue iteration logic to spend
 less time in for and while loop.

Test Plan: Tested by filter elementary test

Reviewers: shashank0990

Reviewed By: shashank0990

Subscribers: raster, cedric, jpeg

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

8 years agoFix memory leak issue on genlist_example_02
jinwoo.shin [Fri, 29 Jul 2016 02:08:09 +0000 (11:08 +0900)]
Fix memory leak issue on genlist_example_02

Summary: The realized items list should be freed by either eina_list_free() or EINA_LIST_FREE when it is no longer needed

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: minkyu

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

8 years agoevas generic gst loader - handle fwrite return value for coverity
Carsten Haitzler (Rasterman) [Thu, 28 Jul 2016 22:57:17 +0000 (07:57 +0900)]
evas generic gst loader - handle fwrite return value for coverity

fixes CID 1360467

8 years agoevas canvas destruction - detect zombie objs and hack at them with axes
Carsten Haitzler (Rasterman) [Thu, 28 Jul 2016 15:00:49 +0000 (00:00 +0900)]
evas canvas destruction - detect zombie objs and hack at them with axes

ok. so here's the issue at least now. we have eo objects in the canvas
and they have a refcount of 2 user_refcount is 0. the calls stack does
NOT show we are calling callbacks at that time on these objects. they
are not in the backtrace (the canvas is, the objects themselves are
not).

SOMETHING is keeping 2 eo "internal" refs on these objects and i have
no idea what/how/who. it's a royal pain in the butt to find out as the
only way is lots and lots of logging and you get drowned in the
logging...

so what I have now done is a super ugly workaround that detects these
zombie objects that refuse to die and just FORCES them to die when the
evas canvas frees and clears out layers.
ac10a00acc6bacf01bfd208cc78b4eb2a6a925d8 doesn't really cause the
issue, it just brings it out in the open for all to see far more
easily. but something is deeply wrong SOMEWHERE with SOME objects and
our refcounts.

this fixes T4187

8 years agodocs: support for writing edge styles for individual connections
Daniel Kolesa [Thu, 28 Jul 2016 13:18:58 +0000 (14:18 +0100)]
docs: support for writing edge styles for individual connections

8 years agodocs: initial bits for theming support for graphs
Daniel Kolesa [Thu, 28 Jul 2016 13:09:35 +0000 (14:09 +0100)]
docs: initial bits for theming support for graphs

8 years agotests: Add missing function implementations
Jean-Philippe Andre [Thu, 28 Jul 2016 11:10:39 +0000 (20:10 +0900)]
tests: Add missing function implementations

In eolian test cases.
Not a problem when EOAPI is defined as weak, but compilation
will fail if the symbols are strong. Eg. on Solaris (it's just
a guess).

Fixes T3889

8 years agoentry: allow force recalc on "size,eval" "elm" signal
Amitesh Singh [Thu, 28 Jul 2016 09:48:07 +0000 (15:18 +0530)]
entry: allow force recalc on "size,eval" "elm" signal

Summary:
In some use cases, font (style) of elm.text in elm entry is changed
on focus and unfocus. user must send "size,eval",elm signal to entry to
force recalc, but this was not happening. This patch fixes that issue.

fixes T4233

Reviewers: tasn, herdsman, raster

Subscribers: cedric, seoz, jpeg

Maniphest Tasks: T4233

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

8 years agowin: Fix evas framespace under X
Jean-Philippe Andre [Thu, 28 Jul 2016 07:30:41 +0000 (16:30 +0900)]
win: Fix evas framespace under X

Mouse inputs would not work if the window is rotated,
because the framespace was invalid.

Fixes T4132

8 years agoedje entry - check all minor struct callocs and on fail report + unwind
Carsten Haitzler (Rasterman) [Thu, 28 Jul 2016 01:59:15 +0000 (10:59 +0900)]
edje entry - check all minor struct callocs and on fail report + unwind

lots of unchecked malloc/calloc returns, so check these, unwind safely
and complain (highly unlikely to happen unless the system is about to
fall over). this should fix T4230

8 years agoelementary: fix legacy path set/get for Fileselector specializations
Vitor Sousa [Fri, 22 Jul 2016 21:43:12 +0000 (18:43 -0300)]
elementary: fix legacy path set/get for Fileselector specializations

Fix legacy functions elm_fileselector_path_get and
elm_fileselector_path_set.
Make these functions call the correct function when called with a
specialization of Elm.Fileselector (instead of the base class function).

Create internal versions of path set/get functions to avoid warnings
about deprecated function calls.

Fix T4198

@fix

8 years agoecore-drm2: Silence compiler warning
Derek Foreman [Wed, 27 Jul 2016 20:23:12 +0000 (15:23 -0500)]
ecore-drm2: Silence compiler warning

We probably can't actually use this variable uninitialized, but
let's init it anyway to keep gcc happy.

8 years agoecore-drm2: Fix issue of VT-Switching going blank on returns
Chris Michael [Wed, 27 Jul 2016 19:35:42 +0000 (15:35 -0400)]
ecore-drm2: Fix issue of VT-Switching going blank on returns

As it turns out, when we vt-switch Back to a running Enlightenment,
it ends up processing all outputs and causes Evas to create a giant
canvas to cover all outputs. This new canvas causes a blank screen as
the pageflipping fails (due to fb being too large). As we do not yet
support output on more an one screen anyway, temporarily disable any
output which is not marked as primary.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-drm2: Add API for vt-switching
Chris Michael [Wed, 27 Jul 2016 17:28:10 +0000 (13:28 -0400)]
ecore-drm2: Add API for vt-switching

This commit adds a function we can call from inside Enlightenment in
order to fix an issue with VT-Switching. The problem was when a client
application is open, the compositor does not pass along the key-combo
for vt-switch but rather sends it to an application. This patch (along
with upcoming Enlightenment one) fixes the issue.

NB: This late API add approved by Stefan ;)

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoelementary: Reduce variable usage
Chris Michael [Wed, 27 Jul 2016 16:02:51 +0000 (12:02 -0400)]
elementary: Reduce variable usage

As we don't use the framespace x, y here then there is really no need
to have them.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoelementary: Fix issue of wrong minimum size for some E dialogs
Chris Michael [Wed, 27 Jul 2016 15:12:23 +0000 (11:12 -0400)]
elementary: Fix issue of wrong minimum size for some E dialogs

When we are calculating minimum size hints for the window object, we
should be adding framespace to maximum size, not subtracting it...

Honestly this just looks like a brain-dead typo.

Fixes T44225

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoedje_edit: avoid such values like 2.77556e-17
Vitalii Vorobiov [Wed, 27 Jul 2016 12:14:26 +0000 (15:14 +0300)]
edje_edit: avoid such values like 2.77556e-17

using spinner to change double values means that sometimes
if set such weird values while should go to 0.0

@fix

8 years agoelementary: Avoid possibly setting opaque region twice
Chris Michael [Wed, 27 Jul 2016 12:08:00 +0000 (08:08 -0400)]
elementary: Avoid possibly setting opaque region twice

Previously, if the window had no frame object, then this could would
have been setting opaque region twice (for the alpha case). We can
avoid this if we move the alpha check to below the frame check.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoelm: Fix extra mouse,in events in layout_content_unset
Jean-Philippe Andre [Wed, 27 Jul 2016 07:31:52 +0000 (16:31 +0900)]
elm: Fix extra mouse,in events in layout_content_unset

Problem: crash in assert() in terminology.

Scenario:
 Open Terminology,
 Split V by keyboard,
 Move mouse to split 2,
 Create tab by keyboard
 --> abort() in terminology

Cause:
 An extra mouse,in event happens during edje_object_unswallow
 inside elm_layout_content_unset.

Root cause:
 efl_part() in elm_layout had a side effect: edje_recalc on the
 edje object. Causing its geometry to be "properly" defined and
 the mouse event to trigger callbacks.

Solution:
 Avoid calling recalc... somehow.

Conclusion:
 Without adding any new API, edje edit provides internally the
 information that we want: type of an edje part (for box & table).

Fixes T4221
See T4028
See T3509

8 years agoefl - ecore-x - work around e's badness in makeing an x image for all wins
Carsten Haitzler (Rasterman) [Wed, 27 Jul 2016 01:32:41 +0000 (10:32 +0900)]
efl - ecore-x - work around e's badness in makeing an x image for all wins

so e is being stupid and creating an ecore-x image forevery single
window if in x11 mode if it needs it or not. this results in having ti
allocate an actual x image and shm segments. work around this and get
bit order from somewhere else than the x image itself thus avoiding
the allocation until a real get or put is done.

@fix

8 years agoelput: Use correct filename in unlink
Derek Foreman [Tue, 26 Jul 2016 17:34:27 +0000 (12:34 -0500)]
elput: Use correct filename in unlink

We switched from mkstemp to eina_file_mkstemp() but ended up unlinking
the template filename, which didn't exist on the filesystem.

8 years agowayland_shm: Use correct filename in unlink
Derek Foreman [Tue, 26 Jul 2016 17:22:36 +0000 (12:22 -0500)]
wayland_shm: Use correct filename in unlink

We switched from mkstemp to eina_file_mkstemp() but ended up unlinking
the template filename, which didn't exist on the filesystem.

8 years agoecore-wl2: Add safety check for valid compositor
Chris Michael [Tue, 26 Jul 2016 16:43:24 +0000 (12:43 -0400)]
ecore-wl2: Add safety check for valid compositor

As we cannot create a new wl_region without a valid compositor, add a
safety check.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agorelease: Update NEWS and bump version for 1.18.0-beta1 release
Stefan Schmidt [Tue, 26 Jul 2016 10:55:41 +0000 (12:55 +0200)]
release: Update NEWS and bump version for 1.18.0-beta1 release

8 years agoecore-wl2: Remove error message during connect/reconnect
Chris Michael [Tue, 26 Jul 2016 14:55:31 +0000 (10:55 -0400)]
ecore-wl2: Remove error message during connect/reconnect

Since session recovery can cause apps to constantly try and reconnect
to the display server, we probably should not be filling logs here. On
the other hand, any failures on first connect are now not going to
display any error messages.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoedje_pick: copy block 'data'
Vyacheslav Reutskiy [Tue, 26 Jul 2016 12:25:01 +0000 (15:25 +0300)]
edje_pick: copy block 'data'

Copy global data from files. Main resoan for it - elementary.
Elementary needs data "version" for load widget styles.

@fix

8 years agoedje: remove now unused variables
Stefan Schmidt [Tue, 26 Jul 2016 08:26:29 +0000 (10:26 +0200)]
edje: remove now unused variables

Commit e3ed888aa994d96007da15be89649a92c12bcbae removed the code where these
variables have been used before.

8 years agoexamples: edje: make sure we handle the various corner cases for the po files
Stefan Schmidt [Mon, 25 Jul 2016 22:08:33 +0000 (00:08 +0200)]
examples: edje: make sure we handle the various corner cases for the po files

Delete the earlier copied files only. Handles out of tree and in tree builds.

8 years agoedje: Remove invalid call to recalc in efl_part
Jean-Philippe Andre [Tue, 26 Jul 2016 09:27:24 +0000 (18:27 +0900)]
edje: Remove invalid call to recalc in efl_part

What a mess... Assuming efl_part() had no side effect on the
object it took me hours to figure out that there was a wrong
call to _edje_recalc_do in the efl_part() function itself.
That was bad, and existed because efl_part() used to be
efl_content_get().

efl_part() should not have any side effect.

Also, fix a return value in content_remove.

Fixes T4214 (invalid redraw and crash in terminology).

8 years agoelm cnp windows - remove unused vars
Carsten Haitzler (Rasterman) [Tue, 26 Jul 2016 07:49:03 +0000 (16:49 +0900)]
elm cnp windows - remove unused vars

8 years agoelm cnp win32 - do one side at least of unix newlines to windows newln
Carsten Haitzler (Rasterman) [Tue, 26 Jul 2016 07:44:10 +0000 (16:44 +0900)]
elm cnp win32 - do one side at least of unix newlines to windows newln

this PARTLY addresses T3556 ... this handles our own conversion of
makrup to string then to a windows newlined string. this half. i wrote
the conversion code for the other way but it's unused as i am unsure
where exactly to plug in it. following the cnp code makes me not sure
where it goes so for now - not there, but ready to go.

to be clear. out API is unix text. utf8 strings at our api with UNIX
newlines. that is our api. that is the text we accept and produce. if
you deal with another file or interface that does not provide this
then the job of conversion is AT THAT POINT. eg elm_cnp.c has to do
this. as would file loads of text files (and saves) etc. - anything
else like forgivingly handling anything at the api level makes it
totally unclear what our api is and what should go in and come out.

to be portable we have to define what it is and the most portable
thing to do is at the api level within a process we define one and
only one format. UNIX \n format.

@fix - partial

8 years agoefl ui image - fix view size get to NOT apply scaling
Carsten Haitzler (Rasterman) [Tue, 26 Jul 2016 06:22:31 +0000 (15:22 +0900)]
efl ui image - fix view size get to NOT apply scaling

this fixes T3254

8 years agoedje: fixed issue with applying transformation and stroke width
Subhransu Mohanty [Tue, 26 Jul 2016 05:31:44 +0000 (14:31 +0900)]
edje: fixed issue with applying transformation and stroke width

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

8 years agoedje examples - when you cp also just assume success if same file
Carsten Haitzler (Rasterman) [Tue, 26 Jul 2016 05:21:21 +0000 (14:21 +0900)]
edje examples - when you cp also just assume success if same file

fix makefiles for examples.... more

@fix

8 years agoexample/edje: updated vg example with interpolation usecase
Subhransu Mohanty [Tue, 26 Jul 2016 02:45:13 +0000 (11:45 +0900)]
example/edje: updated vg example with interpolation usecase

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

8 years agoedje: fixed issue with vector part state inheritance.
Subhransu Mohanty [Tue, 26 Jul 2016 02:33:26 +0000 (11:33 +0900)]
edje: fixed issue with vector part state inheritance.

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

8 years agoexample/evas: update evas vg example.
Subhransu Mohanty [Tue, 26 Jul 2016 02:33:10 +0000 (11:33 +0900)]
example/evas: update evas vg example.

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

8 years agoefl/interface: fixed the shape interpolation implementation.
Subhransu Mohanty [Tue, 26 Jul 2016 02:32:59 +0000 (11:32 +0900)]
efl/interface: fixed the shape interpolation implementation.

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

8 years agoedje: Minor fix (return proper bool value)
Jean-Philippe Andre [Tue, 26 Jul 2016 02:09:43 +0000 (11:09 +0900)]
edje: Minor fix (return proper bool value)

8 years agoedje: Use eo_del instead of eo_unref where needed
Jean-Philippe Andre [Tue, 26 Jul 2016 01:47:40 +0000 (10:47 +0900)]
edje: Use eo_del instead of eo_unref where needed

This fixes the following error message:
Object '0x40000002f0000030' still has a parent at the time of destruction.

Though I actually wonder why ref == 0 and there was a parent.
Something is still a bit fishy here.

8 years agoedje examples - stop deleting the po files from the src tree!
Carsten Haitzler (Rasterman) [Tue, 26 Jul 2016 05:04:59 +0000 (14:04 +0900)]
edje examples - stop deleting the po files from the src tree!

whatever someones was trying to do.. they just endewd up deleting po
files in the src tree every time you clean! argh! fix!

8 years agoevas software x11 - be agressive with shm cache and keep it low
Carsten Haitzler (Rasterman) [Tue, 26 Jul 2016 04:59:54 +0000 (13:59 +0900)]
evas software x11 - be agressive with shm cache and keep it low

shm cache size is now 1.5x the total number of pixels in sw x11
outbutf's and that's it. 32 segment max limit too. this should keep
things down

@opt

8 years agoevas and ecore_x shm segment management - fix over allocation and perms
Carsten Haitzler (Rasterman) [Tue, 26 Jul 2016 04:18:22 +0000 (13:18 +0900)]
evas and ecore_x shm segment management - fix over allocation and perms

so our sysv shm segments were both over-permissive (nothing bad
really, just other users could read and write to/from our pixel data
destined for the screen... they could do this to x11 directly anyway
so no real issue), but be more restrictive and use 0600 as xserver
runs as root so can read/write anyway and we only want our own uid
access. but even more - fix our shm segment flushing to not keep lots
of segments floating about like a bad smell when we don't need them.
we had a cache but it wasnt flushed when it should be since async
rendering turned up. this fixes that and we're back to agressively
flushing them out when idle.

@fix

8 years agoRevert "access: add an example of elm_object_part_access_object_get"
Shinwoo Kim [Tue, 26 Jul 2016 02:03:32 +0000 (11:03 +0900)]
Revert "access: add an example of elm_object_part_access_object_get"

This reverts commit f8aa67cd18e0f02368ca3aaedc159872feed459d.

8 years agoaccess: add an example of elm_object_part_access_object_get
Shinwoo Kim [Tue, 26 Jul 2016 01:40:42 +0000 (10:40 +0900)]
access: add an example of elm_object_part_access_object_get

8 years agoelm_bg: fix typo in doc
Minkyu Kang [Mon, 25 Jul 2016 08:25:38 +0000 (17:25 +0900)]
elm_bg: fix typo in doc

Summary: Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: seoz, jpeg

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

8 years agoelm_conform: set data pointer to obj from NULL.
Sungtaek Hong [Mon, 25 Jul 2016 08:12:49 +0000 (17:12 +0900)]
elm_conform: set data pointer to obj from NULL.

Summary:
 - In the callback for ELM_PLUG_EVENT_IMAGE_DELETED,
   it tries to get elm_conform's data from NULL.
@fix

Reviewers: Hermet, woohyun, cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

8 years agoevas: Fix inefficient updates with no_render
Jean-Philippe Andre [Mon, 25 Jul 2016 07:45:32 +0000 (16:45 +0900)]
evas: Fix inefficient updates with no_render

is_visible returns 0 if no_render is true, so should
was_visible as well. Yeah, there will be problems if
no_render changes on the fly. Don't do that.

Fixes T4193

8 years agowayland_shm: Fix fd leak in dmabuf
Derek Foreman [Mon, 25 Jul 2016 17:19:43 +0000 (12:19 -0500)]
wayland_shm: Fix fd leak in dmabuf

Need to close the fd from PrimeHandleToFD.

8 years agoecore-wl2: Reduce debug noise on key events
Chris Michael [Mon, 25 Jul 2016 16:18:48 +0000 (12:18 -0400)]
ecore-wl2: Reduce debug noise on key events

This is annoying to see key events flooding a terminal ... so comment
out this debug statement. If a developer really needs this, then
enable it locally.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoRevert "access: add API to get access object of given part"
Stefan Schmidt [Mon, 25 Jul 2016 15:23:37 +0000 (17:23 +0200)]
Revert "access: add API to get access object of given part"

This reverts commit 57d77c9041086ebbf84c2a30d93e95d47fc12705.

We are in freeze right now and this is a new feature. Considering the access
API is still in beta I might have let this slip by but its does not even build

../../../src/tests/elementary/elm_test_popup.c:27:1: error: conflicting types for â€˜elm_object_part_access_object_get’
 START_TEST (elm_object_part_access_object_get)
 ^
In file included from ../../../src/lib/elementary/Elementary.h:240:0,
                 from ../../../src/tests/elementary/elm_test_popup.c:6:
../../../src/lib/elementary/elm_object.h:521:54: note: previous declaration of â€˜elm_object_part_access_object_get’ was here
 EAPI Evas_Object *elm_object_part_access_object_get(const Evas_Object *obj, const char *part);
                                                      ^
../../../src/tests/elementary/elm_test_popup.c: In function â€˜elm_object_part_access_object_get’:
../../../src/tests/elementary/elm_test_popup.c:39:47: warning: passing argument 1 of â€˜elm_object_part_access_object_get’ makes integer from pointer without a cast [-Wint-conversion]
    access = elm_object_part_access_object_get(popup, "access.title");
                                               ^
../../../src/tests/elementary/elm_test_popup.c:27:1: note: expected â€˜int’ but argument is of type â€˜Evas_Object * {aka struct _Eo_Opaque *}’
 START_TEST (elm_object_part_access_object_get)
 ^
../../../src/tests/elementary/elm_test_popup.c:39:13: error: too many arguments to function â€˜elm_object_part_access_object_get’
    access = elm_object_part_access_object_get(popup, "access.title");
             ^
../../../src/tests/elementary/elm_test_popup.c:27:1: note: declared here
 START_TEST (elm_object_part_access_object_get)
 ^
../../../src/tests/elementary/elm_test_popup.c:39:11: error: void value not ignored as it ought to be
    access = elm_object_part_access_object_get(popup, "access.title");
           ^
Makefile:43996: recipe for target 'tests/elementary/tests_elementary_elm_suite-elm_test_popup.o' failed
make[5]: *** [tests/elementary/tests_elementary_elm_suite-elm_test_popup.o] Error 1

If you still want this in make sure it actually can compile the tests you added.

8 years agobuild: enable examples build during distcheck
Stefan Schmidt [Thu, 7 Jul 2016 09:10:55 +0000 (11:10 +0200)]
build: enable examples build during distcheck

No example should be left behind. Make sure we run the build for them during
distcheck so we can be sure we did not introduce any build problems here.

8 years agoexamples: elementary: make sure the prefs_example* files get into dist
Stefan Schmidt [Mon, 25 Jul 2016 08:04:59 +0000 (10:04 +0200)]
examples: elementary: make sure the prefs_example* files get into dist

These files have been missing from dist and thus some example builds failed.
We also need to clean them up afterwards now.

8 years agoexamples: edje: fix build of edje files with translation within distcheck
Stefan Schmidt [Fri, 8 Jul 2016 12:48:47 +0000 (14:48 +0200)]
examples: edje: fix build of edje files with translation within distcheck

The edje text example covers the translation functionality which need the mo
and po files during edje_cc compilation. Further more the folder need to be
writable to create the new mo/po files.

We need to ensure that this is the case during a distcheck which is read only
on the source tree.

8 years agoevas: filters: add return value in all cases
Stefan Schmidt [Mon, 25 Jul 2016 08:08:40 +0000 (10:08 +0200)]
evas: filters: add return value in all cases

Function with non-void return value so we need to add a return in all cases.
Thanks to gcc for complaining here.

8 years agoelementary: Fix formatting
Chris Michael [Mon, 25 Jul 2016 15:39:06 +0000 (11:39 -0400)]
elementary: Fix formatting

NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore_wl2: also add the del control code
Marcel Hollerbach [Mon, 25 Jul 2016 15:08:05 +0000 (17:08 +0200)]
ecore_wl2: also add the del control code

otherwise we are sending the controlcode for delete, which is wrong.

This fixes the backspace on delete problem.

8 years agoelput: Fix issue of losing mouse input when removing a device
Chris Michael [Mon, 25 Jul 2016 14:54:17 +0000 (10:54 -0400)]
elput: Fix issue of losing mouse input when removing a device

When we are adding new input devices, if we already have an existing
one (keyboard, pointer, touch, etc) then we should just be
incrementing the device count and returning from the init function.
Previous code here would increment the device count, then continue on
and create a new internal representation of the device. This was
causing issues when a device gets removed.

Fixes T4192

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoaccess: add API to get access object of given part
Shinwoo Kim [Mon, 25 Jul 2016 13:05:24 +0000 (22:05 +0900)]
access: add API to get access object of given part

8 years agoelm table and box resize themselves on sizing eval - fix this - dont resize
Carsten Haitzler (Rasterman) [Mon, 25 Jul 2016 07:56:15 +0000 (16:56 +0900)]
elm table and box resize themselves on sizing eval - fix this - dont resize

thsi fixes T3031

@fix

8 years agoelm_access: fix typo of atspi action
Shinwoo Kim [Mon, 25 Jul 2016 10:02:21 +0000 (19:02 +0900)]
elm_access: fix typo of atspi action

8 years agoelm button theme - fix anchor style to not pass events when disabled
Carsten Haitzler (Rasterman) [Mon, 25 Jul 2016 07:23:45 +0000 (16:23 +0900)]
elm button theme - fix anchor style to not pass events when disabled

@fix

8 years agoelm button default theme - fix disabled events to not pass through
Carsten Haitzler (Rasterman) [Mon, 25 Jul 2016 06:42:05 +0000 (15:42 +0900)]
elm button default theme - fix disabled events to not pass through

this fixes T2955
@fix

8 years agoefl - when evas generic loaders merged the gst loader was missed. fix
Carsten Haitzler (Rasterman) [Mon, 25 Jul 2016 06:21:45 +0000 (15:21 +0900)]
efl - when evas generic loaders merged the gst loader was missed. fix

this fixes the missing gst loader from generic loaders.

8 years agoelm default config - change default select on focus to be disabled
Carsten Haitzler (Rasterman) [Mon, 25 Jul 2016 02:05:37 +0000 (11:05 +0900)]
elm default config - change default select on focus to be disabled

this also fixes T3198 but only dave's comment.

@fix

8 years agoector module - remove sueless chekc for null done already CID 1347411
Carsten Haitzler (Rasterman) [Sun, 24 Jul 2016 09:42:13 +0000 (18:42 +0900)]
ector module - remove sueless chekc for null done already CID 1347411

fixes a pointeless check coverity found

8 years agoecore-imf - remove usueless checks for context - CID 1351451
Carsten Haitzler (Rasterman) [Sun, 24 Jul 2016 09:39:16 +0000 (18:39 +0900)]
ecore-imf - remove usueless checks for context - CID 1351451

useless checks for ic in code. fix

8 years agoefl ui image async locking -fix CID 1356199 - locked data cant be messed with
Carsten Haitzler (Rasterman) [Sun, 24 Jul 2016 09:33:52 +0000 (18:33 +0900)]
efl ui image async locking -fix CID 1356199 - locked data cant be messed with

this addresses a coverity issue that in theory looks right

fix CID 1356199

@fix

8 years agoefl ui video - fix coverity CID 1356997
Carsten Haitzler (Rasterman) [Sun, 24 Jul 2016 09:24:01 +0000 (18:24 +0900)]
efl ui video - fix coverity CID 1356997

really minor lack of check if emotion init succeeds. check and
complain if it fails.

@fix

8 years agoedje entry - fix coverity CID 1357752
Carsten Haitzler (Rasterman) [Sun, 24 Jul 2016 09:21:07 +0000 (18:21 +0900)]
edje entry - fix coverity CID 1357752

fix potential crash if calloc fails and sel is NULL

@fix

8 years agoevas cache2 - fix coverity CID 1357754
Carsten Haitzler (Rasterman) [Sun, 24 Jul 2016 09:18:36 +0000 (18:18 +0900)]
evas cache2 - fix coverity CID 1357754

@fix

8 years agoelm quicklaunch binary - fix coverity CID 1353607
Carsten Haitzler (Rasterman) [Sun, 24 Jul 2016 09:14:27 +0000 (18:14 +0900)]
elm quicklaunch binary - fix coverity CID 1353607

@fix

8 years agoevas image updates - optimize by over-rendering less with hidden content
Carsten Haitzler (Rasterman) [Fri, 22 Jul 2016 00:50:58 +0000 (09:50 +0900)]
evas image updates - optimize by over-rendering less with hidden content

so if an img obj had some update regions and was opaque, it didnt del
an update region first before adding the updates, thus possibly
letting update regions pass through the opaque image area

@fix

8 years agoGstreamer1: implement subtitles mute/unmute ability
Dave Andreoli [Sat, 23 Jul 2016 21:31:35 +0000 (23:31 +0200)]
Gstreamer1: implement subtitles mute/unmute ability

This seems the only way to disable subtitles embedded in the video file.

WIthout this patch calling em_spu_mute_set/get do not work, thus I consider this a @fix

8 years agorelease: Update NEWS and bump version for 1.18.0-alpha2 release
Stefan Schmidt [Sat, 23 Jul 2016 10:02:52 +0000 (12:02 +0200)]
release: Update NEWS and bump version for 1.18.0-alpha2 release

8 years agowayland_shm: Speed up dmabuf on intel
Derek Foreman [Fri, 22 Jul 2016 19:32:37 +0000 (14:32 -0500)]
wayland_shm: Speed up dmabuf on intel

using map_bo/unmap_bo instead of gem_map_bo_gtt/gem_unmap_bo_gtt
results in a cacheable mapping and a large performance boost.

(dmabuf will still remain turned off by default for the release)

8 years agodocs: split type serializers and keyword ref into their own module in docgen
Daniel Kolesa [Fri, 22 Jul 2016 12:27:24 +0000 (13:27 +0100)]
docs: split type serializers and keyword ref into their own module in docgen

8 years agoelementary: change cursor types for cocoa
Thiep Ha [Fri, 22 Jul 2016 04:27:22 +0000 (13:27 +0900)]
elementary: change cursor types for cocoa

Map more cursor types for cocoa.
Fix T3352

8 years agoecore_wl2: be compatible with x input
Marcel Hollerbach [Thu, 21 Jul 2016 18:15:16 +0000 (20:15 +0200)]
ecore_wl2: be compatible with x input

This commit introduces a new state per input, this state is just for the
keymap and no modifieres, the state is used to get the keysym from a
keycode. This is done to stay compatible with x since keyname in efl is
the characters which are describing the key which is pressed, without
the transformation of shift etc.

This also escapes keycodes from beeing a utf8 character, and passes out
a keyname instead of the utf8 symbol.

fix T3976
fix T4184

8 years agoedje: fix specular color
perepelits.m [Thu, 21 Jul 2016 19:28:17 +0000 (12:28 -0700)]
edje: fix specular color

Summary: We use int from 0 to 255 for color, not float

Reviewers: raster, Hermet, cedric

Reviewed By: cedric

Subscribers: jpeg, artem.popov

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoelementary: disable visual hint at odd/even.
Cedric BAIL [Thu, 21 Jul 2016 18:17:51 +0000 (11:17 -0700)]
elementary: disable visual hint at odd/even.

This is a work around a huge bug in how genlist handle index. Fixing
it in genlist for this release is way to risky. The default theme is
temporary updated to not use this feature and this patch should be
reverted as soon as we start working on 1.19.

8 years agoedje: allow inheritance from an aliased group.
Cedric BAIL [Thu, 21 Jul 2016 18:17:30 +0000 (11:17 -0700)]
edje: allow inheritance from an aliased group.

8 years agoelm_win: move window contents back to 0,0 when deleting frame object
Mike Blumenkrantz [Thu, 21 Jul 2016 17:50:45 +0000 (13:50 -0400)]
elm_win: move window contents back to 0,0 when deleting frame object

fix T4092

8 years agoelm_win: simplify borderless_set when reapplying the same state
Mike Blumenkrantz [Thu, 21 Jul 2016 17:50:07 +0000 (13:50 -0400)]
elm_win: simplify borderless_set when reapplying the same state

8 years agoelementary: Remove logically dead code
Chris Michael [Thu, 21 Jul 2016 17:21:25 +0000 (13:21 -0400)]
elementary: Remove logically dead code

In all code paths leading to this goto statement being called,
'iter_array' variable will already be NULL, so checking it's validity
is just logically dead code.

Fixes Coverity CID1357392

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoelput: Use proper variable type
Chris Michael [Thu, 21 Jul 2016 17:18:57 +0000 (13:18 -0400)]
elput: Use proper variable type

The 'getenv' function returns char * ... not a const char *, so adjust
variable type to match

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoeina: Fix null pointer derefernce
Chris Michael [Thu, 21 Jul 2016 17:07:26 +0000 (13:07 -0400)]
eina: Fix null pointer derefernce

Coverity reports that eina_safepointer_get returns a NULL promise here
(checked 20 out of 21 times). As eina_safepointer_get can return NULL,
we should check the validity of 'promise' here before trying to
derefernce it later.

Fixes Coverity CID1356625

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoelementary: Remove logically dead code
Chris Michael [Thu, 21 Jul 2016 16:58:03 +0000 (12:58 -0400)]
elementary: Remove logically dead code

Coverity reports that this is logically dead code. As we check the
validity of 'model' above this function, then testing 'model' for
validity again in this expression is just logically dead.

Fixes Coverity CID1356617

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoelementary: Remove logically dead code
Chris Michael [Thu, 21 Jul 2016 16:53:13 +0000 (12:53 -0400)]
elementary: Remove logically dead code

Coverity reports that this is logically dead code. As eo_item has been
dereferenced on all paths leading here, and it is also set above, then
it cannot be NULL at this point, thus this check is logically dead.

Fixes Covierty CID1355585

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoeldbus: Check return value and error out if necessary
Chris Michael [Thu, 21 Jul 2016 16:50:19 +0000 (12:50 -0400)]
eldbus: Check return value and error out if necessary

Coverity reports that we do not check the return value of
_eldbus_model_proxy_load here. We likely should be checking that in
case the model proxy fails to load so we can return proper values here.

Fixes Coverity CID1355233

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoedje: Fix unchecked return value
Chris Michael [Thu, 21 Jul 2016 16:29:35 +0000 (12:29 -0400)]
edje: Fix unchecked return value

Coverity reports that we call _circular_dependency_find here without
checking the return value

Fixes Coverity CID1349867

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoevas: Fix missing breaks in switch
Chris Michael [Thu, 21 Jul 2016 16:25:02 +0000 (12:25 -0400)]
evas: Fix missing breaks in switch

Coverity reports that we are missing breaks in the switch blocks here,
so add missing breaks.

Fixes Coverity CID1347413 and CID1347414

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoedje_pick: reset alias flag for copied group
Vyacheslav Reutskiy [Thu, 21 Jul 2016 11:02:46 +0000 (14:02 +0300)]
edje_pick: reset alias flag for copied group

edje_pick make copy of whole group, even if group is alias. So if
group was alias need to reset this flag.

@fix

8 years agoeo: Fix override test case to match new policy
Jean-Philippe Andre [Thu, 21 Jul 2016 04:52:16 +0000 (13:52 +0900)]
eo: Fix override test case to match new policy

The new policy is a lot more restrictive.
Honestly, I don't like it.

8 years agoeo: Prevent eo_override to be called on an already overridden object
Jean-Philippe Andre [Thu, 21 Jul 2016 04:42:37 +0000 (13:42 +0900)]
eo: Prevent eo_override to be called on an already overridden object

I don't see the point of it but can't be bothered to argue.
For Tom.

8 years agowayland_shm: Add missing headers to wayland_shm sources
Derek Foreman [Wed, 20 Jul 2016 16:02:59 +0000 (11:02 -0500)]
wayland_shm: Add missing headers to wayland_shm sources

Some headers weren't being placed in the release tarball.

8 years agoRevert "elementary: Make wl frame borders above content"
Mike Blumenkrantz [Wed, 20 Jul 2016 16:02:42 +0000 (12:02 -0400)]
Revert "elementary: Make wl frame borders above content"

This reverts commit 46904e19a71dbeecbcdb6950c0f372c34f6d0db6.

this breaks stacking entirely and prevents a large number of widgets from
ever becoming visible

8 years agodocs: split off writer and utils into modules in docgen
Daniel Kolesa [Wed, 20 Jul 2016 14:27:29 +0000 (15:27 +0100)]
docs: split off writer and utils into modules in docgen