platform/upstream/efl.git
8 years agoefl api release - fix @since in new elm slider range api's
Carsten Haitzler (Rasterman) [Fri, 12 Aug 2016 14:26:18 +0000 (23:26 +0900)]
efl api release - fix @since in new elm slider range api's

8 years agoefl api release - fix @since in new elm glview api's
Carsten Haitzler (Rasterman) [Fri, 12 Aug 2016 14:15:59 +0000 (23:15 +0900)]
efl api release - fix @since in new elm glview api's

8 years agoefl api release - fix @since in new elm genlist api's
Carsten Haitzler (Rasterman) [Fri, 12 Aug 2016 14:09:04 +0000 (23:09 +0900)]
efl api release - fix @since in new elm genlist api's

8 years agoefl api release - fix @since in new elm gengrid apis
Carsten Haitzler (Rasterman) [Fri, 12 Aug 2016 14:07:10 +0000 (23:07 +0900)]
efl api release - fix @since in new elm gengrid apis

8 years agoefl api release - fix @since in new elm entry api's
Carsten Haitzler (Rasterman) [Fri, 12 Aug 2016 13:58:46 +0000 (22:58 +0900)]
efl api release - fix @since in new elm entry api's

8 years agoefl api release - fix @since in new elm config apis
Carsten Haitzler (Rasterman) [Fri, 12 Aug 2016 13:51:07 +0000 (22:51 +0900)]
efl api release - fix @since in new elm config apis

8 years agoefl api release - fix exposing of eo fake legacy api for elm check
Carsten Haitzler (Rasterman) [Fri, 12 Aug 2016 13:39:57 +0000 (22:39 +0900)]
efl api release - fix exposing of eo fake legacy api for elm check

8 years agoefl api release - fix exposing of eo api types for elm fileselector
Carsten Haitzler (Rasterman) [Fri, 12 Aug 2016 13:29:49 +0000 (22:29 +0900)]
efl api release - fix exposing of eo api types for elm fileselector

8 years agoefl api release - fix @since in new eina iterator api
Carsten Haitzler (Rasterman) [Fri, 12 Aug 2016 13:13:44 +0000 (22:13 +0900)]
efl api release - fix @since in new eina iterator api

8 years agoefl api release - fix @since in new edje edit api
Carsten Haitzler (Rasterman) [Fri, 12 Aug 2016 12:58:05 +0000 (21:58 +0900)]
efl api release - fix @since in new edje edit api

8 years agoelementary: fix memory leaks when using elm_prefs
Jean Guyomarc'h [Fri, 12 Aug 2016 14:36:12 +0000 (16:36 +0200)]
elementary: fix memory leaks when using elm_prefs

"regex" is heap-allocated and is not handled by regfree().
We must explicitely call free() after a regfree() to remove
the regex_t from memory.

8 years agoelementary: fix segmentation faults when using elm_prefs
Jean Guyomarc'h [Fri, 12 Aug 2016 14:20:34 +0000 (16:20 +0200)]
elementary: fix segmentation faults when using elm_prefs

There are several cases of failure:
- if regex is NULL, regfree(regex) may lead to segmentation fault
  (undefined behaviour, as specified in POSIX.1)
- if regex is not NULL, there are cases of use-after-free.

@fix

8 years agodocs: expose func types via doctree properly
Daniel Kolesa [Fri, 12 Aug 2016 13:30:48 +0000 (14:30 +0100)]
docs: expose func types via doctree properly

8 years agodocs: use more abstracted doctree APIs
Daniel Kolesa [Fri, 12 Aug 2016 13:22:14 +0000 (14:22 +0100)]
docs: use more abstracted doctree APIs

8 years agodocs: fully utilize Function's type_str_get
Daniel Kolesa [Fri, 12 Aug 2016 13:19:32 +0000 (14:19 +0100)]
docs: fully utilize Function's type_str_get

8 years agodocs: namespace generator for funcs in doctree
Daniel Kolesa [Fri, 12 Aug 2016 13:16:57 +0000 (14:16 +0100)]
docs: namespace generator for funcs in doctree

8 years agodocs: always wrap events from events_get
Daniel Kolesa [Fri, 12 Aug 2016 13:11:31 +0000 (14:11 +0100)]
docs: always wrap events from events_get

8 years agodocs: initial Function in doctree
Daniel Kolesa [Fri, 12 Aug 2016 13:09:50 +0000 (14:09 +0100)]
docs: initial Function in doctree

8 years agodocs: theme string retrieval for doctree classes
Daniel Kolesa [Fri, 12 Aug 2016 12:51:39 +0000 (13:51 +0100)]
docs: theme string retrieval for doctree classes

8 years agodocs: abstract away class types within doctree
Daniel Kolesa [Fri, 12 Aug 2016 12:35:57 +0000 (13:35 +0100)]
docs: abstract away class types within doctree

8 years agodocs: get rid of dependency of doctree on mappings
Daniel Kolesa [Fri, 12 Aug 2016 12:25:58 +0000 (13:25 +0100)]
docs: get rid of dependency of doctree on mappings

8 years agoeo: fix guard to avoid redefinition of Efl_Object
Jean Guyomarc'h [Fri, 12 Aug 2016 10:51:59 +0000 (12:51 +0200)]
eo: fix guard to avoid redefinition of Efl_Object

Clang raised the warning:
   redefinition of typedef 'Efl_Object' is a
   C11 feature [-Wtypedef-redefinition]
for every compiling unit including Eo.h, which
caused a huge console pollution during compilation.

8 years agoEfl text interactive: Don't ship internal header.
Tom Hacohen [Fri, 12 Aug 2016 09:32:11 +0000 (10:32 +0100)]
Efl text interactive: Don't ship internal header.

8 years agoevas: Fix shader for text masking
Jean-Philippe Andre [Fri, 12 Aug 2016 02:09:16 +0000 (11:09 +0900)]
evas: Fix shader for text masking

Fixes T4338

@fix

8 years agoimage: Remove all new EAPI that shouldn't exist
Jean-Philippe Andre [Thu, 11 Aug 2016 23:58:28 +0000 (08:58 +0900)]
image: Remove all new EAPI that shouldn't exist

Remove EAPI symbols and functions that were
wrongfully added:
 - elm_image_scale_down_set
 - elm_image_scale_down_get
 - elm_image_scale_up_set
 - elm_image_scale_up_get
 - elm_image_fill_inside_set
 - elm_image_fill_inside_get
 - elm_image_scale_get
 - elm_image_scale_set

Doing this before the 1.18.x release announcement.

Fixes T4343
@fix

8 years agoelm_image: Remove EAPI sizing_eval
Jean-Philippe Andre [Thu, 11 Aug 2016 23:50:48 +0000 (08:50 +0900)]
elm_image: Remove EAPI sizing_eval

This is an internal API, should not be exposed as EAPI.
Doing this before the 1.18.x announcement.

@fix

8 years agoelm_win: Fix ABI break with missing EAPIs
Jean-Philippe Andre [Thu, 11 Aug 2016 22:44:08 +0000 (07:44 +0900)]
elm_win: Fix ABI break with missing EAPIs

EAPI elm_win_type_set
EAPI elm_win_name_set

Those two APIs should never have been part of the legacy API,
but they have been generated since at least 1.16. The commits
  1aceb3bc198f3f9a07671f37564efc6657fe2a41
and
  41aa19447c2a324a8cca59799a0a058fea56b575
removed the legacy symbols generation. It seemed like a good
idea since the APIs shouldn't exist, but in fact this broke
ABI. I hate this. So sorry about it.

I'm adding them back in with no documentation and as
EINA_DEPRECATED.

This is an emergency commit before the 1.18.x release
announcement.

Fixes T4344
@fix

8 years agoeolian-cxx: Fix compilation break from changes in Eo nomenclature
Felipe Magno de Almeida [Thu, 11 Aug 2016 19:24:15 +0000 (16:24 -0300)]
eolian-cxx: Fix compilation break from changes in Eo nomenclature

Rename of classes and function calls in generated code and C++ headers

8 years agoefl: add EFL_VERSION_1_19
Mike Blumenkrantz [Thu, 11 Aug 2016 17:42:42 +0000 (13:42 -0400)]
efl: add EFL_VERSION_1_19

indicate that features from this version can be used

8 years agoEo: Rename Eo to the EFL namespace
Tom Hacohen [Thu, 11 Aug 2016 16:04:02 +0000 (17:04 +0100)]
Eo: Rename Eo to the EFL namespace

8 years agoChange the EFL to follow the new Eo rename.
Tom Hacohen [Wed, 10 Aug 2016 14:23:04 +0000 (15:23 +0100)]
Change the EFL to follow the new Eo rename.

8 years agoEo: Rename most of Eo to the Efl prefix.
Tom Hacohen [Tue, 9 Aug 2016 13:10:05 +0000 (14:10 +0100)]
Eo: Rename most of Eo to the Efl prefix.

This includes Eo.Base -> Efl.Object and many (but not all) of the eo
functions. This commit is only for eo itself, not the rest of the EFL.

8 years agoconfigure: Switch to dev mode again. Merge window for 1.19 is now open.
Stefan Schmidt [Thu, 11 Aug 2016 15:54:59 +0000 (17:54 +0200)]
configure: Switch to dev mode again. Merge window for 1.19 is now open.

8 years agorelease: Update NEWS and bump version for 1.18.0 release
Stefan Schmidt [Thu, 11 Aug 2016 15:06:30 +0000 (17:06 +0200)]
release: Update NEWS and bump version for 1.18.0 release

8 years agodocs: always generate arrays instead of iterators in Class
Daniel Kolesa [Thu, 11 Aug 2016 15:03:12 +0000 (16:03 +0100)]
docs: always generate arrays instead of iterators in Class

8 years agodocs: implement nspaces_get for Class
Daniel Kolesa [Thu, 11 Aug 2016 15:00:12 +0000 (16:00 +0100)]
docs: implement nspaces_get for Class

8 years agodocs: initial Class in doctree
Daniel Kolesa [Thu, 11 Aug 2016 14:48:55 +0000 (15:48 +0100)]
docs: initial Class in doctree

8 years agoevas image update calculation - account for clipped color changes
Carsten Haitzler (Rasterman) [Thu, 11 Aug 2016 14:18:15 +0000 (23:18 +0900)]
evas image update calculation - account for clipped color changes

if clipped color changed and not object color on image objects, then
the updates could be missed. this also fixes some corner cases where
opaqueness should not count for update deletion too. this bug seems to
have been here a while unnoticed.

fixes T4246

@fix

8 years agoRevert "eina threadqueue - for paranoia lock+ulock+free in order locks taken"
Stefan Schmidt [Thu, 11 Aug 2016 12:26:16 +0000 (14:26 +0200)]
Revert "eina threadqueue - for paranoia lock+ulock+free in order locks taken"

This reverts commit d19cd4e63caf461e28fb536968f82e0d8a365cdc.

This causes a SIGBUS error on OpenBSD when closing any application. As this
was safety patch only I will revert it for the 1.18 release and we can work
out what breaks OpenBSD here for 1.19

Fixes T4332

8 years agoevas-gl-drm: Don't release gbm buffer twice
Chris Michael [Thu, 11 Aug 2016 11:53:51 +0000 (07:53 -0400)]
evas-gl-drm: Don't release gbm buffer twice

Not sure how this got in there, but it looks like
gbm_surface_release_buffer was being called twice on the same buffer.
This should sort out the double-free mentioned in ref T4335

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoelementary: Add call to set opaque_region for case of borderless and
Chris Michael [Wed, 27 Jul 2016 12:24:27 +0000 (08:24 -0400)]
elementary: Add call to set opaque_region for case of borderless and
alpha

If we have a borderless alpha window, then make call to set opaque
region accordingly. This still avoids calling opaque_region_set twice,
yet maintains opaque region for the above mentioned case.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoManual revert of: commit 07404215a91d7e2ef7d7fa9ebbdd5e0c0312384a
Stefan Schmidt [Thu, 11 Aug 2016 09:27:25 +0000 (11:27 +0200)]
Manual revert of: commit 07404215a91d7e2ef7d7fa9ebbdd5e0c0312384a

    combobox: add Multiple selection feature

This exposes problems with name clashes and behaviour change for the legacy API.
Revert for now and we can revisit for 1.19.

Git revert got to confused as this was committed before we merged elm in. I did
the revert manually.

8 years agoFix the implementation of the "Genlist Reusable Contents" test
Dave Andreoli [Thu, 11 Aug 2016 10:06:51 +0000 (12:06 +0200)]
Fix the implementation of the "Genlist Reusable Contents" test

I didn't understand well how the reusable mechanism should have be used,
now I do, and the test is not failing anymore :)

8 years agowayland_egl: Fix double free in case of failure
Jean-Philippe Andre [Thu, 11 Aug 2016 02:34:00 +0000 (11:34 +0900)]
wayland_egl: Fix double free in case of failure

When trying to create a window, the WL EGL engine creates
an ecore_evas and connects to the wayland display. But if
EGL is not supported (in weston with nvidia for instance),
the egl initialization fails and the window must be detroyed
in order to fallback to wayland_shm.

This led to a double disconnect from the wayland display
as both the ecore_evas del and the error handling code
were trying to disconnect.

Also, use ref == 0 in two places rather than ref <= 0, as
it can prevent double frees in bad situations (ref < 0).
And reset a global variable to NULL on shutdown.

8 years agowayland_shm: Fix basic support for Evas GL
Jean-Philippe Andre [Thu, 11 Aug 2016 02:03:54 +0000 (11:03 +0900)]
wayland_shm: Fix basic support for Evas GL

Simply add support for EVASGL native surfaces.
I removed all code related to OPENGL surfaces (deprecated stuff
from old Evas GL).

Fixes T2936

Note that here are still some missing features in Evas GL
support on Wayland (at least pbuffers support is not implemented).

8 years agodocs: add Event to new the doctree
Daniel Kolesa [Wed, 10 Aug 2016 15:05:16 +0000 (16:05 +0100)]
docs: add Event to new the doctree

8 years agodocs: unified feature testing in writer api
Daniel Kolesa [Wed, 10 Aug 2016 14:54:11 +0000 (15:54 +0100)]
docs: unified feature testing in writer api

8 years agodocs: disable graph writing from writer api when appropriate
Daniel Kolesa [Wed, 10 Aug 2016 14:50:19 +0000 (15:50 +0100)]
docs: disable graph writing from writer api when appropriate

8 years agodocs: abstracted writing of folded sections
Daniel Kolesa [Wed, 10 Aug 2016 14:44:55 +0000 (15:44 +0100)]
docs: abstracted writing of folded sections

8 years agoREADME: catch up with configure flags for Wayland support
Stefan Schmidt [Wed, 10 Aug 2016 09:09:36 +0000 (11:09 +0200)]
README: catch up with configure flags for Wayland support

We need elput for input handling and drm here as well. Already fixed in the
release notes but better catchup here as well.

8 years agoevas: Call legacy events before new key/pointer eo events
Jean-Philippe Andre [Wed, 10 Aug 2016 07:29:17 +0000 (16:29 +0900)]
evas: Call legacy events before new key/pointer eo events

This affects pointer & key events.

Here's the scenario: in Enventor, an elm_button object
grabs the up & down keys for the autocompletion feature.
But the entry will also listen to up & down to move the
cursor. Moreover, the scroller listens to up & down arrow
keys to scroll around.

So, when calling the new eo event first, the scroller
or the entry would catch it and do some action. In
Enventor, this triggered a hide on the magic anchor
object. Bad, bad.

I fear something will be wrong with this order as well.
Both events (legacy & eo) should be called simultaneously,
following the order & priorities that were set.

This being said, in real life most of EFL internals will
move to the new eo events (right now elm relies on the
new events, but edje doesn't, yet), so any app grabbing a
key probably wants to handle the event before elm. Same
for an app using focus manually.

Fixes T4310

8 years agoRevert "evas: Optimize out a function call if not required"
Jean-Philippe Andre [Wed, 10 Aug 2016 06:30:50 +0000 (15:30 +0900)]
Revert "evas: Optimize out a function call if not required"

This reverts commit 8cb3b79a82b1769cba5a7a10f9937aa18dd65d8a.
I shouldn't have pushed this. So wrong. Sorry about the noise.

8 years agoevas: Optimize out a function call if not required
Jean-Philippe Andre [Wed, 10 Aug 2016 06:25:44 +0000 (15:25 +0900)]
evas: Optimize out a function call if not required

Same as the previous patch in elm_widget: don't call
flags_set() if the flags have not changed.

8 years agowidget: Optimize out one function call if not needed
Jean-Philippe Andre [Wed, 10 Aug 2016 05:17:00 +0000 (14:17 +0900)]
widget: Optimize out one function call if not needed

8 years agoevas: Fix evas_objects_at_xy_get() for smart objects
Jean-Philippe Andre [Wed, 10 Aug 2016 04:52:26 +0000 (13:52 +0900)]
evas: Fix evas_objects_at_xy_get() for smart objects

Due to the way the clip geometry calculation changed
(see 25d77bc1d24d9fd539c681fa58db976c1ca65051) to be
based on the bounding box rather than the raw geometry
of smart objects, the internal function
evas_object_is_in_output_rect() now returns true if the
rectangle intersects with that bounding box, even if
it's outside the raw geometry.

This breaks the drop area in E's pager, as it relies on
evas_objects_at_xy_get() to find which objects are at
this point. What I saw on my desktop was that only the
lower 10 or 20 pixels were droppable in the pager,
as maximized windows would have shadows covering the
upper 20 pixels or so.

Arguably objects_at_xy_get could also return all objects
at (x,y) including smart objects that extend beyong their
geometry. This can be added as a flag in the EO API, but
not in the legacy API.

8 years agofix double delcaration of variable in elm_code
Carsten Haitzler (Rasterman) [Wed, 10 Aug 2016 02:12:17 +0000 (11:12 +0900)]
fix double delcaration of variable in elm_code

this fixes T4318 - thanks romain.

8 years agotests: elm: follow up fix for _animation_disabled_ rename
Stefan Schmidt [Tue, 9 Aug 2016 21:03:19 +0000 (23:03 +0200)]
tests: elm: follow up fix for _animation_disabled_ rename

This is a follow up fix for 4f840c5febe94c16627f034926cb8fdf933b465e
Due to the abbreviated use in this macro I missed this occurrence.

With this fix it passes make check as well.

8 years agodocs: add since tag writing into doctree
Daniel Kolesa [Tue, 9 Aug 2016 16:18:59 +0000 (17:18 +0100)]
docs: add since tag writing into doctree

8 years agoevas smart obj delete on shutdown - fix weird child with null parent
Carsten Haitzler (Rasterman) [Tue, 9 Aug 2016 15:30:55 +0000 (00:30 +0900)]
evas smart obj delete on shutdown - fix weird child with null parent

while removing children from a parent smart object, the destruction of
the smart obj encountered childrne with NULL parents. they were in the
child list but had no parent. This was totally odd and unexpected,
thus caused an infinite loop trying to dlete a child that won't be
removed from the list because parent is NULL thus it cna't find the
parent list to remove it from. This works around that and then
complains with an error. The workaround also seems to have encountered
what might be a compiler bug so I prepended to the layer object list
rather than appended. this at leats stops the hang.

@fix

8 years agoelm: config: fix API naming to use disabled instead of disable to unify
Stefan Schmidt [Tue, 9 Aug 2016 14:17:14 +0000 (16:17 +0200)]
elm: config: fix API naming to use disabled instead of disable to unify

We use disabled across our APIs so better fix this new one to unify it before
we release. This was introduced in commit 0116e072888feeade7a15ad8e206d1e35dc3511b

Many thanks to DaveMDS for reporting this!

8 years agodocs: initial documentation tree
Daniel Kolesa [Tue, 9 Aug 2016 14:19:39 +0000 (15:19 +0100)]
docs: initial documentation tree

This will abstract away Eolian APIs to get more maintaineable code.
For now, the Eolian_Documentation structure is abstracted away.

8 years agoAdd a FAILING test for genlist reusable contents
Dave Andreoli [Tue, 9 Aug 2016 13:30:07 +0000 (15:30 +0200)]
Add a FAILING test for genlist reusable contents

shortly explained in T4319

8 years agoedje_pick:set the correct compression for sample
Vyacheslav Reutskiy [Tue, 9 Aug 2016 11:26:44 +0000 (14:26 +0300)]
edje_pick:set the correct compression for sample

@fix
Fixes T4314

8 years agoedje_pick: set the correct file name for copied sample
Vyacheslav Reutskiy [Tue, 9 Aug 2016 11:22:39 +0000 (14:22 +0300)]
edje_pick: set the correct file name for copied sample

@fix

8 years agoAdd a test for elm_gengrid_item_all_contents_unset()
Dave Andreoli [Tue, 9 Aug 2016 09:58:23 +0000 (11:58 +0200)]
Add a test for elm_gengrid_item_all_contents_unset()

The function is good, and the test works as expected, I have written
this because I have problems in pyefl with this function

8 years agoedje_pick: don't copy dependencies group if they in the import list
Vyacheslav Reutskiy [Tue, 9 Aug 2016 07:17:31 +0000 (10:17 +0300)]
edje_pick: don't copy dependencies group if they in the import list

If a dependence group in the import list - don't copy it as dependence,
it make group duplicate and make a recurcive load.

@fix
Fixes T4313

8 years agoelementary_test: Search menu performance optimization.
Umesh Tanwar [Tue, 9 Aug 2016 06:00:41 +0000 (15:00 +0900)]
elementary_test: Search menu performance optimization.

Summary:
elementary_test search menu is created again and again
at each search query. Here the optimaization is to remember
the menu item and retain them instead of deletion and reuse them.

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>
Test Plan:
search item in elementary_test and measure the
performace time.

Reviewers: jpeg

Subscribers: cedric

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

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
8 years agoecore_input_evas: Enable cancel events by default
Jean-Philippe Andre [Tue, 9 Aug 2016 05:50:36 +0000 (14:50 +0900)]
ecore_input_evas: Enable cancel events by default

After my input event changes, the propagation path has been altered
from:
 ecore_x -> evas_event
to:
 ecore_x -> ecore_input_evas -> evas_event

But ecore_input_evas was ignoring cancel events by default. There
should be no good reason to disable cancel events anymore,
according to @jypark. Also, this fixes an actual bug :)

Fixes T4301

8 years agoevas filters: Fix minor issue with print
Jean-Philippe Andre [Tue, 9 Aug 2016 02:19:11 +0000 (11:19 +0900)]
evas filters: Fix minor issue with print

If the call to tostring() fails, replace the string by (invalid)
rather than ignore the error.

Fixes CID 1308612

8 years agoedje_cc: Remove unused variable 'got_hash'
Jean-Philippe Andre [Tue, 9 Aug 2016 01:56:29 +0000 (10:56 +0900)]
edje_cc: Remove unused variable 'got_hash'

got_hash will always be zero at the point where it's read.

Fixes CID 1261439

8 years agoexamples: elm: enable +evas3d_scene_on_button_example again
Stefan Schmidt [Mon, 8 Aug 2016 15:46:46 +0000 (17:46 +0200)]
examples: elm: enable +evas3d_scene_on_button_example again

This was disabled at some point but works fien in my testing so enable it
again. If we no longer want it we should remove it completely.

8 years agobuild: examples: make sure we build all examples in list
Stefan Schmidt [Mon, 8 Aug 2016 15:20:50 +0000 (17:20 +0200)]
build: examples: make sure we build all examples in list

At some point we lost the \ after track_example_01 and in combination with the
commented out line right afterwards we lost all examples coming after this line.

This just surfaced with JPs latest commit when I did a distcheck build but was
there for a longer time. We now make sure all disabled examples are moved out of
the multi-line list.

8 years agoeina: add includes for getpid() to work on MacOSX
Stefan Schmidt [Mon, 8 Aug 2016 14:02:39 +0000 (16:02 +0200)]
eina: add includes for getpid() to work on MacOSX

Without this I get errors from the clang compiler used on Travis for some OSX
builds:
../src/lib/eina/eina_inline_lock_posix.x:845:27: error: use of undeclared identifier 'getpid'

8 years agoElm.Entry: force cursor change on size_eval signal
Daniel Hirt [Mon, 8 Aug 2016 13:41:06 +0000 (16:41 +0300)]
Elm.Entry: force cursor change on size_eval signal

This is a follow-up to ba060fe93236da37e4c8bbd84c1bcf58e27979d6.
Fixes T4274.

8 years agoelua: load modules from local dirs first
Daniel Kolesa [Mon, 8 Aug 2016 13:38:08 +0000 (14:38 +0100)]
elua: load modules from local dirs first

This fixes cases when running scripts locally - local modules
are preferred over systemwide, avoiding possibly outdated system
scripts from being run.

8 years agoeina: safepointer: add since tags to new eina safepointer EAPI
Stefan Schmidt [Mon, 8 Aug 2016 12:47:46 +0000 (14:47 +0200)]
eina: safepointer: add since tags to new eina safepointer EAPI

8 years agoCanvas.text: fix segfault with ellipsis cases
Daniel Hirt [Mon, 8 Aug 2016 12:10:56 +0000 (15:10 +0300)]
Canvas.text: fix segfault with ellipsis cases

The specific handling for (0.0 <= ellip < 1) doesn't support multi-line cases.
One of the main reasons is that we haven't had the chance to define the wanted
behavior for multi-line.
This is a temporary hack to fix a segfault. The behavior is still undefined,
though.

Fixes T3885.

8 years agoexamples: Fix button theme
Jean-Philippe Andre [Mon, 8 Aug 2016 11:40:41 +0000 (20:40 +0900)]
examples: Fix button theme

A program was not handling the various states properly.

8 years agoelm filesel - handle api that might provide path too big for buffer
Carsten Haitzler (Rasterman) [Mon, 8 Aug 2016 09:32:16 +0000 (18:32 +0900)]
elm filesel - handle api that might provide path too big for buffer

this addresses a path that could be too small (unlikely due to max
path generally being 4k), for a stack buffer. this should make
coverity happy. fix CID 1356634

8 years agoeina_module - check result of module load from an array of modules
Carsten Haitzler (Rasterman) [Mon, 8 Aug 2016 09:25:32 +0000 (18:25 +0900)]
eina_module - check result of module load from an array of modules

we don't give any debug or info if a module in a list fails to load.
we should at least offer debug info. do that. this fixes coverity
issue CID 1039687

8 years agoexamples: Fix path to edj theme files (theme examples)
Jean-Philippe Andre [Mon, 8 Aug 2016 09:09:58 +0000 (18:09 +0900)]
examples: Fix path to edj theme files (theme examples)

A bit complex but should work in most cases (installed & not)

8 years agoexamples: Compile edj files in elementary examples
Jean-Philippe Andre [Mon, 8 Aug 2016 08:44:22 +0000 (17:44 +0900)]
examples: Compile edj files in elementary examples

8 years agoecore gl module - dont check value that is already valid
Carsten Haitzler (Rasterman) [Mon, 8 Aug 2016 08:15:22 +0000 (17:15 +0900)]
ecore gl module - dont check value that is already valid

make coverity happy with CID 1347410 - it's technically right that the
code assumes the im ptr is valid until then as it dereferences it
until then and then stores it under pd->image but then checks for
NULL.. it would have crashed already if it were, so rmemove the
pointless check.

8 years agoelm init - handle return value of ecore_file_init make coverity happy
Carsten Haitzler (Rasterman) [Mon, 8 Aug 2016 08:06:40 +0000 (17:06 +0900)]
elm init - handle return value of ecore_file_init make coverity happy

this isn't an issue as init will never fail, but makes coverity happy
with CID 1353589

8 years agoelm dbus menu - handle return value of eldbus_message_iter_arguments_get
Carsten Haitzler (Rasterman) [Mon, 8 Aug 2016 07:58:16 +0000 (16:58 +0900)]
elm dbus menu - handle return value of eldbus_message_iter_arguments_get

handle possible error return of eldbus_message_iter_arguments_get()
according to coverity CID 1353591. this should fix that.

8 years agoelm app client - check return of eldbus_message_iter_arguments_get
Carsten Haitzler (Rasterman) [Mon, 8 Aug 2016 07:55:19 +0000 (16:55 +0900)]
elm app client - check return of eldbus_message_iter_arguments_get

as accoding to coverity CID 1353593 chekc returns of the above
function and return/continue as apporpriate if these fail (which
generallly they shouldnt unless some end of the dbus client is broken).

8 years agoefl vpath - make sure we check returns of mkdir just in case for errors
Carsten Haitzler (Rasterman) [Mon, 8 Aug 2016 07:50:34 +0000 (16:50 +0900)]
efl vpath - make sure we check returns of mkdir just in case for errors

so vpath has a fallback if all things bad go wrong to mkdir a homedir
in /tmp and if that fails use /tmp or use / - if $HOME isnt set ... but
$HOME alwasy should be, so this is only for "a broken system".

this should fix CID 1354286

8 years agoedje entry - handle insanely low lemory if list_append fails
Carsten Haitzler (Rasterman) [Mon, 8 Aug 2016 06:33:18 +0000 (15:33 +0900)]
edje entry - handle insanely low lemory if list_append fails

this fixes coverity CID 1357752

8 years agoelm_need_efret() - improve error handling according to coverity
Carsten Haitzler (Rasterman) [Mon, 8 Aug 2016 06:18:56 +0000 (15:18 +0900)]
elm_need_efret() - improve error handling according to coverity

fix CID 1360466

we don't actually chekc if efreet inits right with elm_need_efreet()
as we just assume it inits (And there pretty much is no case where it
will not), but make coverity happy and check.

@fix

8 years agoemotion modules -0 check return value of eina_module_load and print err
Carsten Haitzler (Rasterman) [Mon, 8 Aug 2016 05:49:35 +0000 (14:49 +0900)]
emotion modules -0 check return value of eina_module_load and print err

this should inform the user via eina log errors that a module load
failed. this fixes CID 1360954

8 years agoevas: Mark native_surface as const
Jean-Philippe Andre [Mon, 8 Aug 2016 06:15:54 +0000 (15:15 +0900)]
evas: Mark native_surface as const

The void* argument should be considered read-only.
This doesn't change anything, really.

8 years agoelm_map: fix wrong check of source search
Sungtaek Hong [Fri, 5 Aug 2016 06:36:41 +0000 (15:36 +0900)]
elm_map: fix wrong check of source search

Summary:
When map source is set by elm_map_source_set(),
it foreaches enlisted sources, and should return
when the source cannot be found.

@fix

Test Plan:
Call elm_map_source_set(map, [any type], [Wrong source name]);
         Observe  ERR("source name (%s) is not found", source_name) message.

Reviewers: Hermet, cedric, jpeg

Reviewed By: jpeg

Subscribers: conr2d

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

8 years agoefl - edje entry - dont emit changed on markup set unless text changed
Carsten Haitzler (Rasterman) [Mon, 8 Aug 2016 05:27:26 +0000 (14:27 +0900)]
efl - edje entry - dont emit changed on markup set unless text changed

if the text didnt actually change we generat a lot of noise in changed
signals for no change at all in text. shortcut this and check the new
and old text and compare ptrs, 0 length and strings etc.

this fixes T4045

@fix

8 years agoevas cserve2 client - treat an invalid size header as fatal
Carsten Haitzler (Rasterman) [Mon, 8 Aug 2016 05:15:02 +0000 (14:15 +0900)]
evas cserve2 client - treat an invalid size header as fatal

this should make coverity CID 1361430 happy

8 years agoecore_cocoa: remove pointless debug message
Jean Guyomarc'h [Sun, 7 Aug 2016 22:12:49 +0000 (00:12 +0200)]
ecore_cocoa: remove pointless debug message

This message was also very annoying because systematically
printed out in the syslog when a cocoa window was closed.

8 years agoEdje_Edit.h: undef EAPI at the end of the header file
Vincent Torri [Sun, 7 Aug 2016 09:40:48 +0000 (11:40 +0200)]
Edje_Edit.h: undef EAPI at the end of the header file

Fixes T4303

8 years agoRevert "elementary: keep theme consistent regarding the disabling of odd/even."
Carsten Haitzler (Rasterman) [Sun, 7 Aug 2016 09:27:33 +0000 (18:27 +0900)]
Revert "elementary: keep theme consistent regarding the disabling of odd/even."
Revert "elementary: disable visual hint at odd/even."

This reverts commit c64071ae132ddc5894d5daad8a874377a176aac5.
This reverts commit 7affe8c2047a41a2945cf6c048d59f28c974aa7a.

This reverds the odd/even theme changes because this BREAKS
ENLIGHTENMENT COMPLETELY. Enlightement also uses odd/even list looks
and REMOVING this REMOVES every 2nd lost item member (it makes them
0x0 sized). This is a major break in actual FUNCTIONALITY in the name
of looks. NO. Revert.

We ship with this look. no more breaking stuff like this in the name
of cosemtics and not ACTUALLY fixing any bug at all. it creates bugs.

8 years agoEvas font: fix size query again
Daniel Hirt [Sun, 7 Aug 2016 08:13:16 +0000 (11:13 +0300)]
Evas font: fix size query again

Some wrong variables were used in the rewrite at
8c6effae8ee027a928bcee79968a0b21d8250487, basically reverting the original fix.

8 years agoedje_cc - fix inheritance of programs and store channel too in copy
Carsten Haitzler (Rasterman) [Sat, 6 Aug 2016 10:10:24 +0000 (19:10 +0900)]
edje_cc - fix inheritance of programs and store channel too in copy

this fixes programs that inherit and play audio on specific channels.
i found that sound worked on single line entries but not multipline
beause single line inherit from multi but didnt copy this program
param - the channel number. this fixes this

@fix

8 years agoelm config - dont rescale ui if no config that needs rescale changed
Carsten Haitzler (Rasterman) [Sat, 6 Aug 2016 09:10:36 +0000 (18:10 +0900)]
elm config - dont rescale ui if no config that needs rescale changed

also finger size, and other thigns that could affect ui look that may
need elm rescale to work.

this fixes T4296

@fix