platform/upstream/efl.git
8 years agoelementary: Add correct icon fallback for fdo icons
Andy Williams [Sat, 21 May 2016 09:14:45 +0000 (10:14 +0100)]
elementary: Add correct icon fallback for fdo icons

Fixes missing app icons (and others) when using elementary icon theme.
This is required to comply with the fdo icon spec.
Now that we have a fuller icon theme in elementary it's not intrusive

8 years agoelementary: Icon config don't disable elements
Andy Williams [Sat, 21 May 2016 08:54:42 +0000 (09:54 +0100)]
elementary: Icon config don't disable elements

Use some smarter logic to make elementary vs fdo selection mutually exclusive

8 years agogl_drm: switch to GLERRV macro for error reporting
Derek Foreman [Fri, 20 May 2016 20:24:28 +0000 (15:24 -0500)]
gl_drm: switch to GLERRV macro for error reporting

eglGetError() is actually somewhat heavy, so hide it behind the GLERRV
macro which compiles out the test by default.

8 years agogl_drm: Fix silly run time warning for wayland dmabuf
Derek Foreman [Fri, 20 May 2016 20:23:19 +0000 (15:23 -0500)]
gl_drm: Fix silly run time warning for wayland dmabuf

DMABuf buffers destroy their glimage in the unbind callback, so it's
usually already gone for the free callback.

Now we test if we actually need to destroy anything.

Also, switch to GLERRV macro for error reporting - it saves us the heavy
eglGetError() unless we've built it in intentionally.

8 years agoelm_win: define EFL_TEAMWORK_VERSION in all cases
Mike Blumenkrantz [Fri, 20 May 2016 20:10:28 +0000 (16:10 -0400)]
elm_win: define EFL_TEAMWORK_VERSION in all cases

8 years agoelm_win: implement v2 of teamwork api using window-based display protocol
Mike Blumenkrantz [Fri, 20 May 2016 18:04:21 +0000 (14:04 -0400)]
elm_win: implement v2 of teamwork api using window-based display protocol

this adds support for wayland and makes teamwork integration trivial for any
application

@feature

8 years agoeolian: add warnings for class/complex types with pointers (with env var)
Daniel Kolesa [Fri, 20 May 2016 16:14:38 +0000 (17:14 +0100)]
eolian: add warnings for class/complex types with pointers (with env var)

8 years agoelput: Check return of calibration_get_default_matrix function
Chris Michael [Fri, 20 May 2016 15:28:48 +0000 (11:28 -0400)]
elput: Check return of calibration_get_default_matrix function

We should be checking the return value when we try to get the default
matrix calibration for an input device so we can fail properly

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoEdje cc out: Make list removal slightly more efficient.
Tom Hacohen [Fri, 20 May 2016 15:22:48 +0000 (16:22 +0100)]
Edje cc out: Make list removal slightly more efficient.

8 years agoEdje cc: Rename shadowing variables.
Tom Hacohen [Fri, 20 May 2016 15:20:41 +0000 (16:20 +0100)]
Edje cc: Rename shadowing variables.

8 years agoelput: Don't calculate pointer constraints twice
Chris Michael [Fri, 20 May 2016 15:17:01 +0000 (11:17 -0400)]
elput: Don't calculate pointer constraints twice

As constraints for pointer movement are already handled in the
function which sends the pointer motion event, there is no need to
handle them inside the function which gets pointer position.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoEo: Fix compilation for people using GCC.
Tom Hacohen [Fri, 20 May 2016 15:16:14 +0000 (16:16 +0100)]
Eo: Fix compilation for people using GCC.

Apparently you can't cast when initializing static consts, even if
the cast is to the same type. This commit splits the macro used
so we have an additional one that casts and thus works with
eo_override().

8 years agoevas 3d - fix mesh savers/loaders to not leave memory unset
Carsten Haitzler (Rasterman) [Fri, 20 May 2016 12:43:46 +0000 (21:43 +0900)]
evas 3d - fix mesh savers/loaders to not leave memory unset

i've been gettign persistent evas test suite suite failures ffor a
while. annoying as i can't get 100% pass anymore. it's due to segv's
in evas test suite thanks to chunks of uninitialized memory in the
mesh loaders/saver code.

this fixes that

@fix

8 years agofix warnings about double/float comparisons in eina vector
Carsten Haitzler (Rasterman) [Fri, 20 May 2016 11:55:48 +0000 (20:55 +0900)]
fix warnings about double/float comparisons in eina vector

this should fix T3245

this is basicall where we go double a == double b and due to precision
issues this may not always be right, but this means that the
equivalent now checks for "really close values" rather than perfectly
exact.

@fix

8 years agoEo super: Validate class in eo_super instead of call_reslove.
Tom Hacohen [Fri, 20 May 2016 10:47:32 +0000 (11:47 +0100)]
Eo super: Validate class in eo_super instead of call_reslove.

This is more correct and fixes a segfault that occurs when eo_id is
disabled.

8 years agoEo tests: Fix compilation warnings with eoid disabled.
Tom Hacohen [Fri, 20 May 2016 10:39:36 +0000 (11:39 +0100)]
Eo tests: Fix compilation warnings with eoid disabled.

8 years agoEo: Implement eo_override() to enable overriding functions of objects.
Tom Hacohen [Thu, 19 May 2016 10:33:17 +0000 (11:33 +0100)]
Eo: Implement eo_override() to enable overriding functions of objects.

This change lets you override the functions of objects so that those
functions will be called instead of the functions of the class. This
lets you change objects on the fly and makes using the delegate pattern
easier (no need to create a class every time anymore).
You can see the newly added tests (in this commit) for usage examples.

@feature

8 years agoEo: Improve error message when overriding functions.
Tom Hacohen [Thu, 19 May 2016 10:27:41 +0000 (11:27 +0100)]
Eo: Improve error message when overriding functions.

8 years agoEo: Reorganise the vtable in classes and add pointer from objects.
Tom Hacohen [Wed, 18 May 2016 17:12:39 +0000 (18:12 +0100)]
Eo: Reorganise the vtable in classes and add pointer from objects.

This is the first step towards supporting eo_override().
More details about eo_override() to follow.

8 years agoEo: Remove useless test.
Tom Hacohen [Thu, 19 May 2016 10:48:36 +0000 (11:48 +0100)]
Eo: Remove useless test.

We no longer have a call stack, so there's no need to have
this test.

8 years agoecore: promise for timeout and job are clearly never optional, so return them.
Cedric Bail [Fri, 20 May 2016 09:25:48 +0000 (02:25 -0700)]
ecore: promise for timeout and job are clearly never optional, so return them.

8 years agoeolian: enable incorrect property doc warnings with env var
Daniel Kolesa [Thu, 19 May 2016 15:57:12 +0000 (16:57 +0100)]
eolian: enable incorrect property doc warnings with env var

This adds env var EOLIAN_PROPERTY_DOC_WARN which enables extra
warnings for properties that don't have a general doc but have
getter/setter doc. This will eventually become an error and
will be enabled by default. For now it's too verbose.

8 years agoecore-wl2: Minor formatting fix
Chris Michael [Thu, 19 May 2016 13:12:29 +0000 (09:12 -0400)]
ecore-wl2: Minor formatting fix

NB: No functional changes, just making this readable for me

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoevas-vg: Don't fetch parent if we are not going to use it
Chris Michael [Thu, 19 May 2016 12:43:32 +0000 (08:43 -0400)]
evas-vg: Don't fetch parent if we are not going to use it

Essentially, this removes a compiler warning wrt 'parent' being set
but not used.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoevas: propagate the change to child when object is a vector graphic container
Subhransu Mohanty [Thu, 19 May 2016 08:55:06 +0000 (01:55 -0700)]
evas: propagate the change to child when object is a vector graphic container

Summary: let me know whats your thought

Reviewers: Hermet, cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agoelementary: remove elm_mapbuf_eo.h target from Makefile.am
Jee-Yong Um [Thu, 19 May 2016 08:45:02 +0000 (01:45 -0700)]
elementary: remove elm_mapbuf_eo.h target from Makefile.am

Reviewers: cedric

Subscribers: jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agoLazEDC: introduce simple external param syntax
Jee-Yong Um [Thu, 19 May 2016 08:42:14 +0000 (01:42 -0700)]
LazEDC: introduce simple external param syntax

Summary:
EXTERNAL parts can have parameters, and its form is like the next.
   params.string: "param_name" "param_value";

This patch will shorten above line by the next syntax.
   params.param_name: "param_value";

The type of param will be determined by the type of inserted value.

Reviewers: cedric, raster, Hermet

Subscribers: jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agoevas: changed the interpolate() implementaion
Subhransu Mohanty [Thu, 19 May 2016 08:39:44 +0000 (01:39 -0700)]
evas: changed the interpolate() implementaion

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agoevas: fix the ref issue of newly created object in shape_dup() function
Subhransu Mohanty [Thu, 19 May 2016 08:36:33 +0000 (01:36 -0700)]
evas: fix the ref issue of newly created object in shape_dup() function

Summary:
There are couple of issue.

    By adding the gradient to both parent container as well as to the shape. when we dupe the container it copies twice.
    Usually we create one gradient and set it to multiple shape , in that case when we call dupe() function it is going to make a separate copy for each of the shape.

The patch fixes 1st issue. for 2nd one we need to maybe change the way we implemented dupe function

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agoelm_win: add elm_win_indcator_overlap mode into window's eo.
Ji-Youn Park [Thu, 19 May 2016 08:49:40 +0000 (17:19 +0830)]
elm_win: add elm_win_indcator_overlap mode into window's eo.

elm_window will be changed to control layout related with conformant.
one of features is overlap between indicator and layout.

8 years agoexamples: emotion: adapt to name change from obj to object
Stefan Schmidt [Thu, 19 May 2016 07:19:06 +0000 (09:19 +0200)]
examples: emotion: adapt to name change from obj to object

In commit 75a53ece1007d927b8f0b6c5d3f269726afb9108 obj was changed to object.
As one can claerly see though make examples have not been run to verify this
change. Catch up in examples with this rename.

8 years agosclae : add the feature for rounding off
Jaehwan Kim [Thu, 19 May 2016 02:13:04 +0000 (11:13 +0900)]
sclae : add the feature for rounding off

Add the feature for rounding off to the nearest in ELM_SCALE_SIZE
macro. It makes to be more close to calculated value.

8 years agoefl: Define if systemd version >= 209
Chris Michael [Wed, 18 May 2016 20:42:59 +0000 (16:42 -0400)]
efl: Define if systemd version >= 209

Elput conditionally requires this to choose proper codepath wrt systemd-logind

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoedje: fix condition scope
Jean Guyomarc'h [Wed, 18 May 2016 20:25:49 +0000 (22:25 +0200)]
edje: fix condition scope

Commit 3faf3f3fc converted an eo_do() into two functions.
However the eo_do() was implicitely enclosed within an if,
which after conversion led to the if coverting only one
of these functions instead of both.

Pointed out by GCC's -Wmisleading-indentation.

8 years agoecore-wl2: Minor formatting fixes
Chris Michael [Wed, 18 May 2016 20:08:06 +0000 (16:08 -0400)]
ecore-wl2: Minor formatting fixes

NB: No function changes, just formatting

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoignores: eo_suite_add_fallback
Jean Guyomarc'h [Wed, 18 May 2016 19:55:24 +0000 (21:55 +0200)]
ignores: eo_suite_add_fallback

8 years agoefl: fix misleading indentation
Jean Guyomarc'h [Wed, 18 May 2016 19:27:58 +0000 (21:27 +0200)]
efl: fix misleading indentation

GCC's -Wmisleading-indentation is complaining...
It is a warning flag introduced in GCC 6.x, and
is enabled by -Wall.

8 years agoeina: add missing header guards
Jean Guyomarc'h [Wed, 18 May 2016 19:29:02 +0000 (21:29 +0200)]
eina: add missing header guards

8 years agoecore-evas: Fix Makefile to not include Ecore_Wayland
Chris Michael [Wed, 18 May 2016 19:20:25 +0000 (15:20 -0400)]
ecore-evas: Fix Makefile to not include Ecore_Wayland

Ecore_Wayland is deprecated for 1.18 so this should have been removed
during that commit. Fell through the cracks sadly

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelementary: Add missing EINA_UNUSED for unused parameter
Chris Michael [Wed, 18 May 2016 19:19:29 +0000 (15:19 -0400)]
elementary: Add missing EINA_UNUSED for unused parameter

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agosoftware_generic: Add wayland dmabuf native surface support
Derek Foreman [Wed, 18 May 2016 15:27:32 +0000 (10:27 -0500)]
software_generic: Add wayland dmabuf native surface support

8 years agogl_drm: Add wayland dmabuf native surface support
Derek Foreman [Tue, 17 May 2016 18:43:31 +0000 (13:43 -0500)]
gl_drm: Add wayland dmabuf native surface support

8 years agoevas: Add wayland dmabuf native surface type
Derek Foreman [Tue, 17 May 2016 18:42:32 +0000 (13:42 -0500)]
evas: Add wayland dmabuf native surface type

Add the structures required for supporting dmabuf native surfaces

8 years agosoftware_generic: Call native surface free callbacks
Derek Foreman [Mon, 16 May 2016 21:47:05 +0000 (16:47 -0500)]
software_generic: Call native surface free callbacks

In the near future this will prevent leaking native surface data for
wayland dmabuf buffers.

8 years agowayland_shm: Attempt to create mmappable dmabuf objects
Derek Foreman [Thu, 5 May 2016 20:48:16 +0000 (15:48 -0500)]
wayland_shm: Attempt to create mmappable dmabuf objects

To composite from dmabuf buffers without GL we need to be able to mmap them
in the compositor - create the buffers in a way that makes that possible.

8 years agowayland_shm: Fix dmabuf failed allocation handling
Derek Foreman [Thu, 5 May 2016 16:48:42 +0000 (11:48 -0500)]
wayland_shm: Fix dmabuf failed allocation handling

We frequently attempt to generate multiple buffers before any come back
as failed - the orphaned buffers need to be handled more carefully.

8 years agojs fixes
Felipe Magno de Almeida [Tue, 17 May 2016 09:22:42 +0000 (11:22 +0200)]
js fixes

8 years agoeo: for consistency use object like all our API.
Cedric Bail [Wed, 18 May 2016 15:17:36 +0000 (08:17 -0700)]
eo: for consistency use object like all our API.

8 years agoeo datarefcount - only use in debug mode
Carsten Haitzler (Rasterman) [Wed, 18 May 2016 14:02:09 +0000 (23:02 +0900)]
eo datarefcount - only use in debug mode

8 years agoelc_popup: add escape key binding
Taehyub Kim [Wed, 18 May 2016 12:55:35 +0000 (21:55 +0900)]
elc_popup: add escape key binding

Summary:
There are no methods to close the popup with key down.
So I added the escape key binding to close the popup with escape key.

Test Plan:
1. patch this code
2. delete /home/{user}/.elementary to refresh the config value
3. launch elementary_test -to "popup"
4. click one example of the list and press escape key
5. see closing the popup

Reviewers: cedric, raster, jpeg, Jaehyun_Cho, Hermet

Reviewed By: Hermet

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

Conflicts:
src/lib/elementary/elm_priv.h

8 years agoEo: Fix singleton pattern and add a test to make sure it works.
Tom Hacohen [Wed, 18 May 2016 12:29:45 +0000 (13:29 +0100)]
Eo: Fix singleton pattern and add a test to make sure it works.

8 years agoexamples: elementary: remove unused variable
Stefan Schmidt [Wed, 18 May 2016 10:31:52 +0000 (12:31 +0200)]
examples: elementary: remove unused variable

8 years agoexamples: evas: remove unused variable
Stefan Schmidt [Wed, 18 May 2016 10:29:06 +0000 (12:29 +0200)]
examples: evas: remove unused variable

pi is never used here. Actually for such cases we should use M_PI anyway.

8 years agoexamples: evas: build evas-3d-fog example
Stefan Schmidt [Wed, 18 May 2016 10:16:23 +0000 (12:16 +0200)]
examples: evas: build evas-3d-fog example

So far this file has only been in our tree but the example has not been build.

8 years agoexamples: ecore: add all needed files to SOURCES to make sure they are distributed
Stefan Schmidt [Wed, 18 May 2016 09:34:21 +0000 (11:34 +0200)]
examples: ecore: add all needed files to SOURCES to make sure they are distributed

This worked in-tree but never landed in a distribution tarball and thus the
examples build form such a tarball would fail.

8 years agoexamples: evas: add all needed files to SOURCES to make sure they are distributed
Stefan Schmidt [Wed, 18 May 2016 09:16:46 +0000 (11:16 +0200)]
examples: evas: add all needed files to SOURCES to make sure they are distributed

This worked in-tree but never landed in a distribution tarball and thus the
examples build form such a tarball would fail.

8 years agoIndex : Use orientation interface APIs instead of horizontal set/get APIs
Yeshwanth Reddivari [Wed, 18 May 2016 09:33:53 +0000 (18:33 +0900)]
Index : Use orientation interface APIs instead of horizontal set/get APIs

Test Plan: elementary_test

Reviewers: singh.amitesh, jpeg, cedric, raster, Hermet

Subscribers: Hermet

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

8 years agoindex: Avoid SIGSEV in elm_index_item_sorted_insert
Yeshwanth Reddivari [Wed, 18 May 2016 09:31:48 +0000 (18:31 +0900)]
index: Avoid SIGSEV in elm_index_item_sorted_insert

Summary:
Avoid SIGSEV in elm_index_item_sorted_insert when cmp_data_func returns >=0
After deleting eo_item and making it NULL in above case, view(it) is created which resulted in crash.

Test Plan: elementary_test -to 'index 2'

Reviewers: singh.amitesh, jpeg, cedric, raster, Hermet

Reviewed By: Hermet

Subscribers: Hermet

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

8 years agoefl: change name of animator,tick event in C.
Cedric Bail [Wed, 18 May 2016 08:56:21 +0000 (01:56 -0700)]
efl: change name of animator,tick event in C.

8 years agoeo: fix borked test.
Cedric Bail [Wed, 18 May 2016 08:56:06 +0000 (01:56 -0700)]
eo: fix borked test.

8 years agoelm_list: perform a null check before accessing its member
Jee-Yong Um [Wed, 18 May 2016 08:56:12 +0000 (17:56 +0900)]
elm_list: perform a null check before accessing its member

Summary:
In inline function _elm_list_item_free, null check is performed
after accessing its member.

@fix

Reviewers: cedric, Hermet

Reviewed By: Hermet

Subscribers: jpeg

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

8 years agoEo cxx: remove leftover usage of eo_del().
Tom Hacohen [Wed, 18 May 2016 08:55:03 +0000 (09:55 +0100)]
Eo cxx: remove leftover usage of eo_del().

8 years agoelementary/colorselector: apply scale factor.
Hermet Park [Wed, 18 May 2016 08:53:05 +0000 (17:53 +0900)]
elementary/colorselector: apply scale factor.

Some parts of ui have scale factor, but some don't
Apply scale factor to whole parts for working properly.

8 years agoecore_imf: Add multiline hint in input hint
Jihoon Kim [Wed, 18 May 2016 06:20:05 +0000 (15:20 +0900)]
ecore_imf: Add multiline hint in input hint

@feature

8 years agoeina test suite vector - make correctness range 2x as big
Carsten Haitzler (Rasterman) [Tue, 17 May 2016 16:51:52 +0000 (01:51 +0900)]
eina test suite vector - make correctness range 2x as big

make correctness rand 2 * DBL_EPSILON due to compilers, fastmath and
being a little inaccurate sometimes at the bottom end of precision.

@fix

8 years agoecore audio test - improve samples for ecore audio test
Carsten Haitzler (Rasterman) [Tue, 17 May 2016 16:39:45 +0000 (01:39 +0900)]
ecore audio test - improve samples for ecore audio test

8 years agoecore wl2 - remove warning with unused goto label
Carsten Haitzler (Rasterman) [Tue, 17 May 2016 16:05:20 +0000 (01:05 +0900)]
ecore wl2 - remove warning with unused goto label

8 years agoefl - key/data/value/obj attach to eo objects - make these properties
Carsten Haitzler (Rasterman) [Tue, 17 May 2016 16:02:37 +0000 (01:02 +0900)]
efl - key/data/value/obj attach to eo objects - make these properties

the key data now is a property so they come out in bindings really
nicely like:

  obj.key_data["blah"] = x;

  x = obj.key_data["blah"];

etc.

8 years agoeolian: add event_prefix and have classes follow that or eo_prefix by default
Daniel Kolesa [Tue, 17 May 2016 16:14:47 +0000 (17:14 +0100)]
eolian: add event_prefix and have classes follow that or eo_prefix by default

Previously events used to use class name as a prefix and ignored eo_prefix
when specified. This is no longer the case. Events follow eo_prefix by default
now. In order to get around this for classes where this is undesirable, a new
field event_prefix was added which takes priority over eo_prefix. If neither
is specified, class name is used like previously.

@feature

8 years agoPanes: Use orientation interface APIs instead of horizontal set/get APIs
Amitesh Singh [Tue, 17 May 2016 15:00:03 +0000 (00:00 +0900)]
Panes: Use orientation interface APIs instead of horizontal set/get APIs

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

8 years agoEo: Remove eo_del() and make eo_unref() the replacement.
Tom Hacohen [Tue, 17 May 2016 15:08:28 +0000 (16:08 +0100)]
Eo: Remove eo_del() and make eo_unref() the replacement.

We used to have eo_del() as the mirrored action to eo_add(). No longer,
now you just always eo_unref() to delete an object. This change makes it
so the reference of the parent is shared with the reference the
programmer has. So eo_parent_set(obj, NULL) can free an object, and so
does eo_unref() (even if there is a parent).

This means Eo no longer complains if you have a parent during deletion.

8 years agoEo name: Rename Eo.Base.id to Eo.Base.name.
Tom Hacohen [Tue, 17 May 2016 15:00:13 +0000 (16:00 +0100)]
Eo name: Rename Eo.Base.id to Eo.Base.name.

This is there to reduce confusion with Eo_Id and also the name
is just better.

8 years agoecore: do not create another main loop object
Cedric Bail [Tue, 17 May 2016 14:38:36 +0000 (07:38 -0700)]
ecore: do not create another main loop object

So ecore main loop does restart everything with an main loop shutdown
and init when it detect a bad fd. This can happen if you del a fd after
you have destroyed it. Something terminology is doing (and should be
legal), but that then ended up with a main loop with no event handler
registered and the process was looking like stuck with nothing happening.

8 years agodocs: progressbar: correct minor typos
Shuhrat Dehkanov [Tue, 17 May 2016 12:36:59 +0000 (14:36 +0200)]
docs: progressbar: correct minor typos

Reviewers: q66, stefan_schmidt

Subscribers: cedric, seoz, jpeg

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

8 years agoedje: attaching viewport of camera to the image part
perepelits.m [Tue, 17 May 2016 12:21:39 +0000 (05:21 -0700)]
edje: attaching viewport of camera to the image part

Summary:
According to D3710 new field "camera" in edc was added for IMAGE parts.
It is the name of the CAMERA part to set its viewport as a source of image if no image name is given.

Reviewers: raster, Hermet, cedric

Reviewed By: cedric

Subscribers: jpeg, artem.popov

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agoelementary: mapbuf is legacy for now and should be automatic in the future.
Cedric Bail [Tue, 17 May 2016 12:16:27 +0000 (05:16 -0700)]
elementary: mapbuf is legacy for now and should be automatic in the future.

8 years agoEo: Rename an internal function to reduce confusion.
Tom Hacohen [Tue, 17 May 2016 09:29:14 +0000 (10:29 +0100)]
Eo: Rename an internal function to reduce confusion.

@raster added eo_id_get() which was confusing because we already had
_eo_id_get() that was used internally.

8 years agoEo children: Make children tracking an inlist instead of a list.
Tom Hacohen [Tue, 17 May 2016 09:25:31 +0000 (10:25 +0100)]
Eo children: Make children tracking an inlist instead of a list.

This saves us a pointer in every eo object and a pointer indirection
when accessing children.

8 years agoEo: change refcount to short from int.
Tom Hacohen [Tue, 17 May 2016 08:39:12 +0000 (09:39 +0100)]
Eo: change refcount to short from int.

A short is more than enough for reference counting.

8 years agoEdje_edit: generate code of the image sets.
Mykyta Biliavskyi [Tue, 17 May 2016 09:00:44 +0000 (12:00 +0300)]
Edje_edit: generate code of the image sets.

Added support generate the edc code of the image sets in the image top level block.
And correct support inside the image.normal attribute.

8 years agopopup: add popup default scrollable flag config for other profiles.
Jinyong Park [Tue, 17 May 2016 01:22:07 +0000 (10:22 +0900)]
popup: add popup default scrollable flag config for other profiles.

Summary:
The default scrollable flag of popup can be different in each profiles.
So I added the scrollable configuration of popup.
@feature

Test Plan:
1. Before
 1) elementary_test -to popup
 2) resize window to smaller
 3) Click 15th item, "popup-center-title + genlist content + 1 button"
 4) Then popup will show, but its list is very long, only small part of popup could be shown.

2. After Patch
 1) change "popup_scroller" value to 1 in base.src, then run elementary_test -to popup or ELM_POPUP_SCROLLABLE=1 elemantary_test -to popup
 2) resize window to smaller
 3) Click 15th item, "popup-center-title + genlist content + 1 button"
 4) Then popup will show, popup's genlist will be in scroller, so entire popup can be shown.

Reviewers: jaehwan, id213sin, cedric, raster, singh.amitesh, SanghyeonLee, Hermet

Subscribers: Hermet, minkyu, herb, jpeg

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

8 years agoecore_imf/wayland: Change sequence to call preedit changed and end callback
Jihoon Kim [Mon, 16 May 2016 23:34:17 +0000 (08:34 +0900)]
ecore_imf/wayland: Change sequence to call preedit changed and end callback

preedit changed and end callback should be called before commit callback

8 years agoEo name find: Fix possible out of bounds write in eo name find.
Tom Hacohen [Mon, 16 May 2016 16:41:59 +0000 (17:41 +0100)]
Eo name find: Fix possible out of bounds write in eo name find.

CID1354840

8 years agoRevert "autotools: fix lots of warning."
Cedric Bail [Mon, 16 May 2016 16:25:43 +0000 (09:25 -0700)]
Revert "autotools: fix lots of warning."

This reverts commit 885d6c7d9bb0c253c49fd3f6351dd06d28a4cf74.

Reverting all as it seems those warning where actually for working code...

8 years agoautotools: fix make clean
Cedric Bail [Mon, 16 May 2016 16:22:19 +0000 (09:22 -0700)]
autotools: fix make clean

8 years agoautotools: fix lots of warning.
Cedric Bail [Mon, 16 May 2016 16:08:30 +0000 (09:08 -0700)]
autotools: fix lots of warning.

Thankcs Jean Guyomarc'h.

8 years agobuild: more non-cocoa fixes
Mike Blumenkrantz [Mon, 16 May 2016 16:02:16 +0000 (12:02 -0400)]
build: more non-cocoa fixes

ref 1f03bba199fbbda435a34bba141354456a353c54

8 years agofix non-cocoa configure/build
Mike Blumenkrantz [Mon, 16 May 2016 15:47:04 +0000 (11:47 -0400)]
fix non-cocoa configure/build

ref 1f03bba199fbbda435a34bba141354456a353c54

8 years agoautotools: enable gl_cocoa on OS X by default
Jean Guyomarc'h [Mon, 11 Apr 2016 22:05:40 +0000 (00:05 +0200)]
autotools: enable gl_cocoa on OS X by default

Before this commit, X11 (via Xquartz) was the default engine to be
enabled on OS X.
Since the Cocoa backend became quite stable and considering applications
running within the Xquartz windowing environment are arguably ugly,
the Cocoa backend will now be enabled by default and X11 will be
selected only if explicitely requested.

8 years agoEdje_edit: generate states of the box and table part edc code with inheritance.
Mykyta Biliavskyi [Mon, 16 May 2016 12:48:15 +0000 (15:48 +0300)]
Edje_edit: generate states of the box and table part edc code with inheritance.

Generate inheritance box and table attributes from similar state.

8 years agoEdje_edit: generate states of the proxy part edc code with inheritance.
Mykyta Biliavskyi [Mon, 16 May 2016 12:21:59 +0000 (15:21 +0300)]
Edje_edit: generate states of the proxy part edc code with inheritance.

Generate inheritance proxy attribute "source" from similar state.

8 years agoEdje_edit: generate states of the image part edc code with inheritance.
Mykyta Biliavskyi [Mon, 16 May 2016 12:12:31 +0000 (15:12 +0300)]
Edje_edit: generate states of the image part edc code with inheritance.

Generate inheritance image attributes from similar state.

8 years agoEdje_edit: generate states of the text part edc code with inheritance.
Mykyta Biliavskyi [Mon, 16 May 2016 11:55:11 +0000 (14:55 +0300)]
Edje_edit: generate states of the text part edc code with inheritance.

Generate inheritance text attributes from similar state.

8 years agoEdje_edit: generate state code with inheritance map block.
Mykyta Biliavskyi [Mon, 16 May 2016 11:34:02 +0000 (14:34 +0300)]
Edje_edit: generate state code with inheritance map block.

Add ability to generate inherited code for map block.

8 years agoEdje_edit: generate state code with inheritance rel block.
Mykyta Biliavskyi [Mon, 16 May 2016 11:25:00 +0000 (14:25 +0300)]
Edje_edit: generate state code with inheritance rel block.

Add ability to generate inherited code for relative block.

8 years agoEdje_edit: generate state code with inheritance general attributes.
Mykyta Biliavskyi [Mon, 16 May 2016 10:57:52 +0000 (13:57 +0300)]
Edje_edit: generate state code with inheritance general attributes.

Support inheritance for part states on the edc code generate time.
Only for general attributes are supported, except relative and
map blocks.
Added functions for calculation coefficient of similarity
between two different states of the same part.

8 years agoEdje_edit: move text state edc code generate to standalone func.
Mykyta Biliavskyi [Mon, 16 May 2016 10:33:42 +0000 (13:33 +0300)]
Edje_edit: move text state edc code generate to standalone func.

Created internal function _edje_generate_source_state_text.
This is needed for implementation generate inheritance
states in edc code.

8 years agoecore-wl2: Remove erroneous check for wayland display
Chris Michael [Mon, 16 May 2016 10:53:27 +0000 (06:53 -0400)]
ecore-wl2: Remove erroneous check for wayland display

NB: No real major changes, just removal of an extra 'if' block. If
getenv of wayland display fails, we hard-code the default wayland
display name so subsequent check for 'if (n)' is erroneous

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore_wl2: connect to default display
Marcel Hollerbach [Mon, 16 May 2016 10:14:40 +0000 (19:14 +0900)]
ecore_wl2: connect to default display

Summary: if there is no env var AND no name, connection to wayland-0

Reviewers: raster, jpeg, devilhorns

Subscribers: cedric

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

8 years agoelementary: Fix icon name to standard
Andy Williams [Mon, 16 May 2016 08:12:21 +0000 (09:12 +0100)]
elementary: Fix icon name to standard