platform/upstream/efl.git
8 years agoElm general: Ignore more types (callbacks) in eolian.
Tom Hacohen [Tue, 19 Apr 2016 15:00:38 +0000 (16:00 +0100)]
Elm general: Ignore more types (callbacks) in eolian.

8 years agoElm interface scrollable: Fix eo type errors.
Tom Hacohen [Tue, 19 Apr 2016 15:00:21 +0000 (16:00 +0100)]
Elm interface scrollable: Fix eo type errors.

8 years agoElm widget item: Fix eo type errors.
Tom Hacohen [Tue, 19 Apr 2016 15:00:05 +0000 (16:00 +0100)]
Elm widget item: Fix eo type errors.

8 years agoElm gen item: Add missing eolian type definitions.
Tom Hacohen [Tue, 19 Apr 2016 14:50:22 +0000 (15:50 +0100)]
Elm gen item: Add missing eolian type definitions.

8 years agoElm eo files: Add missing include of efl_types.
Tom Hacohen [Tue, 19 Apr 2016 14:46:50 +0000 (15:46 +0100)]
Elm eo files: Add missing include of efl_types.

8 years agoEo base: fix parameters to be the correct type.
Tom Hacohen [Tue, 19 Apr 2016 14:33:05 +0000 (15:33 +0100)]
Eo base: fix parameters to be the correct type.

Eo is not a type Eolian is aware of, the correct type is Eo.Base.

8 years agogenlist: call update_job after smart_calculation done
SangHyeon Lee [Tue, 19 Apr 2016 09:41:43 +0000 (18:41 +0900)]
genlist: call update_job after smart_calculation done

Summary :
if item_update happens before the smart calcuate finished,
item can be delayed updated(next frame).
to prevent this issue, if unsolved job is remaining after
smart calc done, call update_job directly and remove job.

@fix

8 years agoeo base - add value keys in addition to object and void ptr data keys
Carsten Haitzler (Rasterman) [Tue, 19 Apr 2016 09:25:15 +0000 (18:25 +0900)]
eo base - add value keys in addition to object and void ptr data keys

eina value would allow any value to be attached to an eo object and
also be freed nicely too. this would allow any generic data to go
there without overloading a void * that us c coders love to abuse.

@feature

8 years agoeo base - clean up base data struct formatting
Carsten Haitzler (Rasterman) [Tue, 19 Apr 2016 08:40:11 +0000 (17:40 +0900)]
eo base - clean up base data struct formatting

just a cleanup of the struct formatting/spacing

8 years agoeo - add object comments - esp useful for erigo and gui builders
Carsten Haitzler (Rasterman) [Tue, 19 Apr 2016 08:21:21 +0000 (17:21 +0900)]
eo - add object comments - esp useful for erigo and gui builders

also useful for debugging and more. this also makes both name/id and
comment an extension blob of ram so objects dont keep growing
boundlessly in memory usage/size

@feature

8 years agoeo - add object names/ids esp useful for erigo as it wants object names
Carsten Haitzler (Rasterman) [Tue, 19 Apr 2016 07:34:53 +0000 (16:34 +0900)]
eo - add object names/ids esp useful for erigo as it wants object names

also evas objects have names too, so add this as this was discussed
and now the feature is in. there is nothing to find objects by name
yet. that's more api's and features to add after this.

@feature

8 years agoeina value test - gix blob check to check only relevant fields
Carsten Haitzler (Rasterman) [Tue, 19 Apr 2016 07:33:33 +0000 (16:33 +0900)]
eina value test - gix blob check to check only relevant fields

the value check for blobs was checking unused fields in a union and
thats just bad. check only fields that matter to the blob.

@fix

8 years agogenlist: recalc item size after item content field updated
SangHyeon Lee [Tue, 19 Apr 2016 05:57:41 +0000 (14:57 +0900)]
genlist: recalc item size after item content field updated

Summary :
after item content fields updated, item and block should be
recalculated about it's height because content size can be updated.
if do not recaculate, items can be overlapped.

@fix

8 years agoedje_cc: Fix filters inheritance
Jean-Philippe Andre [Tue, 19 Apr 2016 03:20:30 +0000 (12:20 +0900)]
edje_cc: Fix filters inheritance

This was broken in c0f887b42965121a0964d3b8a319ca (2015/10/01).
What happened was: ted->filter is not part of tex->text anymore,
so it didn't get copied over from the parent.

Thanks @zmike for the report and pointing out the bad commit.

Fixes T3467.

@fix

8 years agogenlist: scroll to item when calc is done
Jee-Yong Um [Tue, 19 Apr 2016 04:59:59 +0000 (13:59 +0900)]
genlist: scroll to item when calc is done

Summary:
If elm_genlist_item_bring_in() is called immediately after appending
item, genlist will not scroll to the last one but stop in the middle.
This patch blocks genlist from scrolling to not calculated item.

Test Plan:
1. Uncompress attached file
2. make
3. ./test

Reviewers: cedric, SanghyeonLee

Reviewed By: SanghyeonLee

Subscribers: jpeg

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

8 years agoelementary: remove redundant reswallow logic in elm_layout
Jee-Yong Um [Mon, 18 Apr 2016 23:33:41 +0000 (16:33 -0700)]
elementary: remove redundant reswallow logic in elm_layout

Summary:
When theme is changed by elm_layout_theme/file_set,
_edje_object_file_set_internal will be called internally
and it updates swallowed objects.
Elm.Layout doesn't need to reswallow its child objects.
(with current code, searching cost for real part occurs.)

Reviewers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoedje_edit: add missing mempools on group copy
Andrii Kroitor [Mon, 18 Apr 2016 23:32:26 +0000 (16:32 -0700)]
edje_edit: add missing mempools on group copy

Reviewers: reutskiy.v.v, cedric

Subscribers: cedric, FurryMyad, NikaWhite, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoedje: add test for edje_object_part_box_insert_after()
Jee-Yong Um [Mon, 18 Apr 2016 23:17:45 +0000 (16:17 -0700)]
edje: add test for edje_object_part_box_insert_after()

Summary:
This test checks the validity of edje_object_part_box_insert_after().
It depends on D3733.

Reviewers: jpeg, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoefl: add new efl_gfx_shape_append_arc() api.
Subhransu Mohanty [Mon, 18 Apr 2016 22:32:36 +0000 (15:32 -0700)]
efl: add new efl_gfx_shape_append_arc() api.

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoector: rg_etc is always needed for color conversion.
Cedric BAIL [Mon, 18 Apr 2016 21:43:02 +0000 (14:43 -0700)]
ector: rg_etc is always needed for color conversion.

8 years agoevas: etc code is now always needed for the color conversion logic.
Cedric BAIL [Mon, 18 Apr 2016 21:41:47 +0000 (14:41 -0700)]
evas: etc code is now always needed for the color conversion logic.

8 years agoecore_audio: document ecore_audio core class
Stefan Schmidt [Mon, 18 Apr 2016 20:05:22 +0000 (22:05 +0200)]
ecore_audio: document ecore_audio core class

Merging some property descriptions and some smaller changes.

8 years agoecore_audio: document all ecore_audio_out classes
Stefan Schmidt [Mon, 18 Apr 2016 20:04:53 +0000 (22:04 +0200)]
ecore_audio: document all ecore_audio_out classes

8 years agoecore_audio: document all ecore_audio_in classes
Stefan Schmidt [Mon, 18 Apr 2016 09:46:06 +0000 (11:46 +0200)]
ecore_audio: document all ecore_audio_in classes

For the properties we really only need to document the property itself and not
its setter and getter functions.

8 years agoFix Makevars and update all pos'
maxerba [Mon, 18 Apr 2016 12:18:00 +0000 (14:18 +0200)]
Fix Makevars and update all pos'

In the elementary tree all translatable messages are enclosed in a E_() macro, and since this macro was undefined in Makevars all massages was not included in catalog.
If some coder think that the E domain is useless, or deprecated or whatever, please remove it and update all source files accordingly.

8 years agoeolian: fix invalid type_type mapping in lua bindings
Daniel Kolesa [Mon, 18 Apr 2016 15:09:21 +0000 (16:09 +0100)]
eolian: fix invalid type_type mapping in lua bindings

8 years agoelm_photo: make sure we have a separate variable for the sanitized path
Stefan Schmidt [Mon, 18 Apr 2016 12:26:02 +0000 (14:26 +0200)]
elm_photo: make sure we have a separate variable for the sanitized path

That way we can safely free it again after it got memory allocated from
eina_file_path_sanitize(). Fixes a memory leak.

CID: 1353601

8 years agoelm_atspi_bridge: unref eldbus msg before returning to avoid memory leak
Stefan Schmidt [Mon, 18 Apr 2016 11:36:17 +0000 (13:36 +0200)]
elm_atspi_bridge: unref eldbus msg before returning to avoid memory leak

If we goto fail here we still have the ret eldbus message referenced. Make
sure we unref so it can be free'd and we do not leak memory.

CID: 1353603

8 years agoelm_spinner: free string in all cases before returning
Stefan Schmidt [Mon, 18 Apr 2016 10:55:05 +0000 (12:55 +0200)]
elm_spinner: free string in all cases before returning

If len < max_len was true here we leaked new_str. Make sure we also free it
in this case.

CID: 1353605

8 years agoelm_conform: fix memory leak for state variable
Stefan Schmidt [Mon, 18 Apr 2016 10:36:11 +0000 (12:36 +0200)]
elm_conform: fix memory leak for state variable

Make sure we actually free state here before going out of scope.

CID: 1353606

8 years agoeolian: free impl_full_params strbuf before going out of scope
Stefan Schmidt [Mon, 18 Apr 2016 10:29:14 +0000 (12:29 +0200)]
eolian: free impl_full_params strbuf before going out of scope

Just missed impl_full_params here while all others are free'd fine.

CID: 1354287

8 years agoeolian: fix object scope def in lua bindings
Daniel Kolesa [Mon, 18 Apr 2016 12:50:28 +0000 (13:50 +0100)]
eolian: fix object scope def in lua bindings

8 years agoecore exe: don't allocate inside fork to avoid issues with mem debuggers
Carsten Haitzler (Rasterman) [Mon, 18 Apr 2016 12:38:47 +0000 (21:38 +0900)]
ecore exe: don't allocate inside fork to avoid issues with mem debuggers

so i've been doing some debugging and having a mem debugger that
preloads and tracks allocs means you need locks, but locks can do
nasty things after forks + threads.... esp if threads held locks.

this allows mem debugging with preloads easily and doesn't muck things
up.

8 years agoClean up the different parents in the EFL.
Tom Hacohen [Mon, 18 Apr 2016 09:10:43 +0000 (10:10 +0100)]
Clean up the different parents in the EFL.

This change was dubbed "visual parent" on my todo. Essentially what it
does is better defines eo_parent (as seen in the docs), limits the usage
(and exposure of the other parents) and renames them to more descriptive
names.

Merge branch 'devs/tasn/raw_parent'

8 years agoEdje tests: Add parent upadting tests to edje.
Tom Hacohen [Fri, 15 Apr 2016 16:45:52 +0000 (17:45 +0100)]
Edje tests: Add parent upadting tests to edje.

8 years agoElm layout: Add parent updating tests to elm layout.
Tom Hacohen [Fri, 15 Apr 2016 14:06:41 +0000 (15:06 +0100)]
Elm layout: Add parent updating tests to elm layout.

8 years agoElm popup: use the correct parent for calculations.
Tom Hacohen [Mon, 11 Apr 2016 17:11:23 +0000 (18:11 +0100)]
Elm popup: use the correct parent for calculations.

It just so happens that these parents are the same at the moment.
They don't have to be. We should use the correct, popup specific parent for
that.

8 years agoElm widget: rename parent to widget_parent and mark as protected.
Tom Hacohen [Mon, 11 Apr 2016 16:51:15 +0000 (17:51 +0100)]
Elm widget: rename parent to widget_parent and mark as protected.

This removes the conflicts between the different parents and also
indicates that this is to be used internally by widgets and should
not be confused with the normal user visible parent.

It is an internal attribute that should not be used by people
not implementing widgets. Marking it as protected signifies it
as such.

8 years agoElm: Reparent when swallowing an object.
Tom Hacohen [Thu, 7 Apr 2016 13:50:32 +0000 (14:50 +0100)]
Elm: Reparent when swallowing an object.

Make the layout the parent on swallow, and the canvas the parent on
unswallow.

8 years agoEdje: Reparent when swallowing/unswallowing.
Tom Hacohen [Thu, 7 Apr 2016 13:56:57 +0000 (14:56 +0100)]
Edje: Reparent when swallowing/unswallowing.

On swallow make the edje object the parent, on unswallow the canvas.

8 years agoEvas object: rename smart_parent to render_parent and mark as protected.
Tom Hacohen [Thu, 14 Apr 2016 17:33:25 +0000 (18:33 +0100)]
Evas object: rename smart_parent to render_parent and mark as protected.

8 years agoecore_imf/wayland: Fix bug language changed event is always called
Jihoon Kim [Mon, 18 Apr 2016 05:51:46 +0000 (14:51 +0900)]
ecore_imf/wayland: Fix bug language changed event is always called

8 years agoeina mempool: don't allow 0 sized mempools
Carsten Haitzler (Rasterman) [Sun, 17 Apr 2016 03:13:25 +0000 (12:13 +0900)]
eina mempool: don't allow 0 sized mempools

there is no point in having a mempool with a max 0 size. this leads to
us mallocing 0 bytes for the base. not good. make minimim size 1. :)

@fix

8 years agoEo: Silence warning about no side-effect in _eo_add_common
Felipe Magno de Almeida [Sun, 17 Apr 2016 17:53:23 +0000 (14:53 -0300)]
Eo: Silence warning about no side-effect in _eo_add_common

Added a cast to void to silence the warning about no side-effect on
GCC.

8 years agodocs: document ecore_mainloop class, functions and events.
Stefan Schmidt [Fri, 15 Apr 2016 13:45:15 +0000 (15:45 +0200)]
docs: document ecore_mainloop class, functions and events.

8 years agodocs: add description for ecore_poller class and cleanup some other parts
Stefan Schmidt [Fri, 15 Apr 2016 12:37:02 +0000 (14:37 +0200)]
docs: add description for ecore_poller class and cleanup some other parts

8 years agodocs: fix some typos in ecore_timer EO docs
Stefan Schmidt [Fri, 15 Apr 2016 12:19:54 +0000 (14:19 +0200)]
docs: fix some typos in ecore_timer EO docs

8 years agoelua: more file utilities in clib
Daniel Kolesa [Sat, 16 Apr 2016 17:15:35 +0000 (18:15 +0100)]
elua: more file utilities in clib

8 years agoelm_focus: keep all focused states to be consistent when win loses and gets focus
WooHyun Jung [Sat, 16 Apr 2016 04:47:13 +0000 (13:47 +0900)]
elm_focus: keep all focused states to be consistent when win loses and gets focus

Since focus_clear removed all the focused traces, focus was not reverted well
whenever win lost and got focus repeatedly.
For instance,
1. set focus to button1
2. set focus to button2
3. win focus out and in
4. remove button2
5. focus is on win not on button1

So, focus logic changes to not clear focused states when win loses focus.

@fix

8 years agoelm_win: remove duplicated focused/unfocused event call
WooHyun Jung [Sat, 16 Apr 2016 01:37:34 +0000 (10:37 +0900)]
elm_win: remove duplicated focused/unfocused event call

These are already called in elm_widget's on_focus.

@fix

8 years agoevas: update evas-3d-shadow example
Oleksandr Shcherbina [Fri, 15 Apr 2016 18:19:20 +0000 (11:19 -0700)]
evas: update evas-3d-shadow example

Summary: Add possibility turn on/off rendering scene with/without post processing

Reviewers: cedric, raster, Hermet

Subscribers: jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agoedje_cc: delete anonymous lookup during program removal
Jee-Yong Um [Fri, 15 Apr 2016 18:14:31 +0000 (11:14 -0700)]
edje_cc: delete anonymous lookup during program removal

Summary:
program_remove attribute allows to remove program inherited from
parent group, but if its action is EDJE_ACTION_TYPE_SCRIPT,
anonymous lookup also should be deleted.

@fix

Reviewers: cedric, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agoautotools: fix make distcheck.
Cedric Bail [Fri, 15 Apr 2016 18:06:13 +0000 (11:06 -0700)]
autotools: fix make distcheck.

8 years agoEdje tests: Don't ship test edje files and clean up their generation.
Tom Hacohen [Fri, 15 Apr 2016 17:18:03 +0000 (18:18 +0100)]
Edje tests: Don't ship test edje files and clean up their generation.

This was duplication hell and also quite stupid. This commit should fix
this mess (to an extent).

8 years agoEdje tests: Fix tests when running out of source and remove hack.
Tom Hacohen [Fri, 15 Apr 2016 16:54:32 +0000 (17:54 +0100)]
Edje tests: Fix tests when running out of source and remove hack.

There was a seriously horrible hack here to workaround this issue. This
hacks goes all the way back to 3e07236. The essence of the hack was to
try the system files for the tests (and I guess that's why we were
shipping them although we really shouldn't).

This change fixes the file lookup for out of source files.

Hat-tip to zmike for pointing me to abs_top_buildir.

8 years agoElm test layout: Fix indentation.
Tom Hacohen [Fri, 15 Apr 2016 13:10:35 +0000 (14:10 +0100)]
Elm test layout: Fix indentation.

8 years agoElementary tests: Migrate the suite to the efl test infra.
Tom Hacohen [Fri, 15 Apr 2016 13:39:11 +0000 (14:39 +0100)]
Elementary tests: Migrate the suite to the efl test infra.

8 years agoEo: Make sure semi-colons and other directives aren't used in eo_add.
Tom Hacohen [Fri, 15 Apr 2016 12:52:32 +0000 (13:52 +0100)]
Eo: Make sure semi-colons and other directives aren't used in eo_add.

This was already enforced in the legacy version but was not enforced in
the GCC extension version. This change makes sure it's disallowed in
both.

8 years agoElm ctxpopup: Remove useless implementation of sub_object_add.
Tom Hacohen [Fri, 15 Apr 2016 12:40:23 +0000 (13:40 +0100)]
Elm ctxpopup: Remove useless implementation of sub_object_add.

Was just calling super and nothing more.

8 years agoelput: Adjust EAPI for windows build
Chris Michael [Fri, 15 Apr 2016 12:13:47 +0000 (08:13 -0400)]
elput: Adjust EAPI for windows build

Small patch to fix definition of EAPI on Windows. Thanks to vtorri for
reporting.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoElementary Toolbar: Send order signals when a item is added/removed
Youngbok Shin [Fri, 15 Apr 2016 06:10:49 +0000 (15:10 +0900)]
Elementary Toolbar: Send order signals when a item is added/removed

Summary:
Send order signals for changing item's state according to its order.
It does not affect to existing themes. It sends the following signals.
elm,order,first,item
elm,order,default,item
elm,order,last,item
@feature

Test Plan: N/A

Reviewers: woohyun, jaehwan, eagleeye, cedric

Subscribers: cedric, jpeg

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

8 years agoautotools: fix build after hungry rebase.
Cedric BAIL [Fri, 15 Apr 2016 00:05:35 +0000 (17:05 -0700)]
autotools: fix build after hungry rebase.

8 years agoexamples: add DESTDIR support for install.
Cedric BAIL [Fri, 15 Apr 2016 00:00:08 +0000 (17:00 -0700)]
examples: add DESTDIR support for install.

8 years agoelementary: make it possible to build the library alone.
Cedric BAIL [Thu, 14 Apr 2016 23:22:23 +0000 (16:22 -0700)]
elementary: make it possible to build the library alone.

8 years agoeio: make it possible to build the library alone.
Cedric BAIL [Thu, 14 Apr 2016 23:18:19 +0000 (16:18 -0700)]
eio: make it possible to build the library alone.

8 years agoector: make it possible to build the library alone.
Cedric BAIL [Thu, 14 Apr 2016 22:41:40 +0000 (15:41 -0700)]
ector: make it possible to build the library alone.

8 years agoecore: make it possible to build the library alone.
Cedric BAIL [Thu, 14 Apr 2016 22:38:22 +0000 (15:38 -0700)]
ecore: make it possible to build the library alone.

8 years agoedje: make it possible to build the library alone.
Cedric BAIL [Thu, 14 Apr 2016 22:35:34 +0000 (15:35 -0700)]
edje: make it possible to build the library alone.

8 years agoefl: make it possible to build the library alone.
Cedric BAIL [Thu, 14 Apr 2016 22:26:50 +0000 (15:26 -0700)]
efl: make it possible to build the library alone.

8 years agoeo: make it possible to build the library alone.
Cedric BAIL [Wed, 13 Apr 2016 23:23:45 +0000 (16:23 -0700)]
eo: make it possible to build the library alone.

8 years agoautotools: allow reuse of some macro for subdirectory Eolian build.
Cedric BAIL [Thu, 14 Apr 2016 00:28:31 +0000 (17:28 -0700)]
autotools: allow reuse of some macro for subdirectory Eolian build.

8 years agoeet: make it possible to build the library alone.
Cedric BAIL [Wed, 13 Apr 2016 23:16:46 +0000 (16:16 -0700)]
eet: make it possible to build the library alone.

8 years agoemile: make it possible to build the library alone.
Cedric BAIL [Wed, 13 Apr 2016 23:11:44 +0000 (16:11 -0700)]
emile: make it possible to build the library alone.

8 years agoeina: make it possible to build the library alone.
Cedric BAIL [Wed, 13 Apr 2016 23:07:33 +0000 (16:07 -0700)]
eina: make it possible to build the library alone.

8 years agoevil: make it possible to build the library alone.
Cedric BAIL [Wed, 13 Apr 2016 22:55:31 +0000 (15:55 -0700)]
evil: make it possible to build the library alone.

So I have been battling with autotools on this for a full week now,
and what we want is basically impossible. A.k.a. one file definition
and possibility to do a full build or just a partial build of efl.
Even moving to just partial build require to land a massive patch that
change everything in our build system and this is just not a road I
want to take.

For reference, if one day automake allow the use of any kind of variable
(autoconf AC_SUBST expansion or $()) in the _SOURCES parameter, it will
be possible to fix. Alternatively if they allow to build subdirectory
before they do BUILT_SOURCE, it would make it possible to incrementaly
move to only partial build. In the mean time, a less problematic solution
is to duplicate source code.

8 years agoautotools: track dependencies for partial sub build.
Cedric BAIL [Thu, 14 Apr 2016 00:27:31 +0000 (17:27 -0700)]
autotools: track dependencies for partial sub build.

8 years agoEo base: Improve documentation.
Tom Hacohen [Thu, 14 Apr 2016 17:32:45 +0000 (18:32 +0100)]
Eo base: Improve documentation.

8 years agodocs: add description for class and method parameters
Stefan Schmidt [Thu, 14 Apr 2016 16:17:01 +0000 (18:17 +0200)]
docs: add description for class and method parameters

8 years agodocs: add method parameter descriptions for ecore_idle_*
Stefan Schmidt [Thu, 14 Apr 2016 15:10:49 +0000 (17:10 +0200)]
docs: add method parameter descriptions for ecore_idle_*

Now that we support these in docgen catch up in some example EO files.

8 years agodocs: add class and method parameter descriptions to ecore_idler class
Stefan Schmidt [Thu, 14 Apr 2016 15:10:05 +0000 (17:10 +0200)]
docs: add class and method parameter descriptions to ecore_idler class

8 years agoEo base: Make parent nullable.
Tom Hacohen [Mon, 11 Apr 2016 16:29:15 +0000 (17:29 +0100)]
Eo base: Make parent nullable.

It's allowed to be null, so mark it as such. This is useful
for languages that support nullable vs non-nullable types.

8 years agoedje: fix invalid calculation to get a circular dependency
Shinwoo Kim [Thu, 14 Apr 2016 12:55:14 +0000 (21:55 +0900)]
edje: fix invalid calculation to get a circular dependency

8 years agodatetime_input_ctxpopup: delete previously created ctxpopup if theme is broken
Vitalii Vorobiov [Thu, 14 Apr 2016 11:35:42 +0000 (20:35 +0900)]
datetime_input_ctxpopup: delete previously created ctxpopup if theme is broken

Summary:
Or else it will create dozens of ctxpopup's if user applied wrong or broken
theme that do not remove ctxpopups at all (lack of programs/signals or whatever
brokes ctxpopup behaviour)

@fix

Reviewers: cedric, reutskiy.v.v, NikaWhite, raster, an.kroitor, wc, Hermet

Reviewed By: Hermet

Subscribers: jpeg

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

8 years agoevas.canvas3d: Change shade_mode to shader_mode
Oleksandr Shcherbina [Thu, 14 Apr 2016 11:28:20 +0000 (20:28 +0900)]
evas.canvas3d: Change shade_mode to shader_mode

Summary:
enum Evas.Canvas3D.Shade_Mode are using for choose relevant shader source code.
So renaming have a sence.
Rename evas_canvas3d_shade_mode_set/get property to evas_canvas3d_shader_mode_set/get
Rename internal fields and functions

Reviewers: cedric, Hermet, raster

Subscribers: jpeg

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

8 years agoElementary: fix PACKAGE_DATA_DIR value
YOhoho [Thu, 14 Apr 2016 11:06:46 +0000 (20:06 +0900)]
Elementary: fix PACKAGE_DATA_DIR value

Summary:
when run elementary_config, It can't find 'font_preview.edj'.
i modified PACKAGE_DATA_DIR value.

Test Plan: elementary_config

Reviewers: Hermet, cedric

Subscribers: conr2d, jpeg

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

8 years agoelput - update gitignore.
Hermet Park [Thu, 14 Apr 2016 11:02:09 +0000 (20:02 +0900)]
elput - update gitignore.

ignore a generated pc file.

8 years agoeo - key obj reference - don't unref on del event callback
Carsten Haitzler (Rasterman) [Thu, 14 Apr 2016 01:35:18 +0000 (10:35 +0900)]
eo - key obj reference - don't unref on del event callback

object is being deleted by cb - don't unref as we are already at 0.

8 years agoelput: Add missing optional feature check for systemd
Chris Michael [Wed, 13 Apr 2016 19:44:13 +0000 (15:44 -0400)]
elput: Add missing optional feature check for systemd

As elput can potentially use systemd-logind for various input device
functions, we should add this as an optional dependency in the
configure checks.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoMerge branch 'devs/devilhorns/elput'
Chris Michael [Wed, 13 Apr 2016 18:16:39 +0000 (14:16 -0400)]
Merge branch 'devs/devilhorns/elput'

The elput library is an efl abstraction for the libinput library which
can be used by various other subsystems (ecore_fb, ecore_drm, etc)
to handle interfacing with libinput without having to duplicate the
code in each subsystem.

Elput currently uses systemd-logind by default to open/close input
devices, but has the ability for other methods (direct opening) to be
easily added through the Manager implementation.

NB: This library is merged with EFL_BETA_API_SUPPORT and is subject to
API changes.

8 years agoelput: Add API function to set output size on an input device
Chris Michael [Thu, 7 Apr 2016 13:10:48 +0000 (09:10 -0400)]
elput: Add API function to set output size on an input device

This function is used to adjust device calibration based on size of
output

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Add API function to set input window
Chris Michael [Thu, 7 Apr 2016 13:08:00 +0000 (09:08 -0400)]
elput: Add API function to set input window

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Add event which can be raised when devices get added or removed
Chris Michael [Thu, 7 Apr 2016 13:00:18 +0000 (09:00 -0400)]
elput: Add event which can be raised when devices get added or removed

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Handle various events from libinput and pass to ecore_event
Chris Michael [Wed, 6 Apr 2016 15:32:42 +0000 (11:32 -0400)]
elput: Handle various events from libinput and pass to ecore_event

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Add event structures for keymap and modifier sending events
Chris Michael [Wed, 6 Apr 2016 17:23:36 +0000 (13:23 -0400)]
elput: Add event structures for keymap and modifier sending events

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Create and send seat frame events when we need to
Chris Michael [Wed, 6 Apr 2016 14:38:08 +0000 (10:38 -0400)]
elput: Create and send seat frame events when we need to

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Create and raise event when seat capabilities change
Chris Michael [Wed, 6 Apr 2016 14:26:46 +0000 (10:26 -0400)]
elput: Create and raise event when seat capabilities change

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Add support for creating and removing devices
Chris Michael [Wed, 6 Apr 2016 12:46:29 +0000 (08:46 -0400)]
elput: Add support for creating and removing devices

This patch adds start of code to create or remove input devices such
as keyboards, pointers, or touch devices.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Start code to process events from libinput
Chris Michael [Fri, 1 Apr 2016 17:22:16 +0000 (13:22 -0400)]
elput: Start code to process events from libinput

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Add API function to initialize and shutdown input devices
Chris Michael [Fri, 1 Apr 2016 17:04:25 +0000 (13:04 -0400)]
elput: Add API function to initialize and shutdown input devices

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Remove vt activate/restore from input manager interface
Chris Michael [Fri, 1 Apr 2016 13:49:36 +0000 (09:49 -0400)]
elput: Remove vt activate/restore from input manager interface

As this library is just going to deal with libinput, we don't need to
have interface functions to activate or restore a virtual terminal.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>