platform/upstream/efl.git
6 years agoelput: Fix @brief's in docs
Bryce Harrington [Thu, 17 Aug 2017 14:41:26 +0000 (10:41 -0400)]
elput: Fix @brief's in docs

Summary:
It is not necessary to specify @brief since the first line will
automatically be used, but if it is used it should be only for the brief
description, not the detailed description.

Also reformat other docs in this file to follow convention for the brief
docs.

Reviewers: cedric

Subscribers: jpeg

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

6 years agoElm Examples: Fix undefined function references.
Guilherme Iscaro [Wed, 16 Aug 2017 14:12:47 +0000 (11:12 -0300)]
Elm Examples: Fix undefined function references.

They were renamed by 599bb616ec5

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
6 years agoevas: Fix auto-show of EO objects
Jean-Philippe Andre [Wed, 16 Aug 2017 11:04:07 +0000 (20:04 +0900)]
evas: Fix auto-show of EO objects

Objects show should happen as early as possible during the render cycle,
as it affects smart objects calculation and everything else.

Thanks @JackDanielZ for the report!

Fixes T5880

6 years agoui.box: add aspect ratio support
Thiep Ha [Thu, 17 Aug 2017 00:53:30 +0000 (09:53 +0900)]
ui.box: add aspect ratio support

Adding support for aspect ratio.

ref T5487

6 years agoui.box: Add handling for weight + align
Thiep Ha [Wed, 16 Aug 2017 22:56:23 +0000 (07:56 +0900)]
ui.box: Add handling for weight + align

Issue: If the item has weight and non-filled align, item is not resized.
This patch fixes this issue.
Test: elementary_test -> ui.box -> Equal weight. Buttons Btn1, BtnA, B, C
do not resize when resize the window.

ref T5487

6 years agoevas: Fix crash with filters
Jean-Philippe Andre [Wed, 16 Aug 2017 05:06:51 +0000 (14:06 +0900)]
evas: Fix crash with filters

Since the EO APIs are defined as weak symbols, invalid definitions of
EAPI lead to runtime crashes on non-public APIs. This is a fix following
a series of changes wrt. EAPI definitions.

6 years agovalue size is stored in type, no need to manually specify them.
Gustavo Sverzut Barbieri [Tue, 15 Aug 2017 21:59:50 +0000 (18:59 -0300)]
value size is stored in type, no need to manually specify them.

6 years agoector: fix EAPI on Windows
Vincent Torri [Tue, 15 Aug 2017 14:42:13 +0000 (16:42 +0200)]
ector: fix EAPI on Windows

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoeina: remove tests and benchmark for long dead mempool.
Cedric BAIL [Tue, 15 Aug 2017 20:46:38 +0000 (13:46 -0700)]
eina: remove tests and benchmark for long dead mempool.

6 years agoeina: add tests for from.
Cedric BAIL [Tue, 15 Aug 2017 20:46:38 +0000 (13:46 -0700)]
eina: add tests for from.

6 years agoeina: add support for from in pass through
Cedric BAIL [Tue, 15 Aug 2017 20:46:37 +0000 (13:46 -0700)]
eina: add support for from in pass through

6 years agoeina: add support for from in one big.
Cedric BAIL [Tue, 15 Aug 2017 20:46:37 +0000 (13:46 -0700)]
eina: add support for from in one big.

6 years agoeina: add support for from in chained mempool.
Cedric BAIL [Tue, 15 Aug 2017 20:46:36 +0000 (13:46 -0700)]
eina: add support for from in chained mempool.

6 years agoeina: add an API to check if a pointer is a valid element of a mempool.
Cedric BAIL [Tue, 15 Aug 2017 20:46:34 +0000 (13:46 -0700)]
eina: add an API to check if a pointer is a valid element of a mempool.

6 years agoeio: fix correct stat structure on Windows 32 bits
Vincent Torri [Mon, 14 Aug 2017 13:50:03 +0000 (15:50 +0200)]
eio: fix correct stat structure on Windows 32 bits

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agobuild: don't pass -fPIC on Windows
Vincent Torri [Mon, 14 Aug 2017 05:07:05 +0000 (07:07 +0200)]
build: don't pass -fPIC on Windows

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoecore_evas: win32 module - fix possibly uninitialized variables
Vincent Torri [Sun, 13 Aug 2017 21:21:39 +0000 (23:21 +0200)]
ecore_evas: win32 module - fix possibly uninitialized variables

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoevas: move EAPI undef to the correct place
Vincent Torri [Sun, 13 Aug 2017 19:11:02 +0000 (21:11 +0200)]
evas: move EAPI undef to the correct place

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoevas: undef EAPI properly.
Vincent Torri [Sun, 13 Aug 2017 19:10:33 +0000 (21:10 +0200)]
evas: undef EAPI properly.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoevas GDI engine: improve speed
Vincent Torri [Sun, 13 Aug 2017 19:08:53 +0000 (21:08 +0200)]
evas GDI engine: improve speed

expedite mean value goes from ~125 to ~205

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agowayland: bump wayland protocol version requirement
Derek Foreman [Mon, 14 Aug 2017 16:23:26 +0000 (11:23 -0500)]
wayland: bump wayland protocol version requirement

We need a newer version for recent dmabuf changes.

6 years agoefl: add EFL_VERSION_1_21
Mike Blumenkrantz [Mon, 14 Aug 2017 11:24:48 +0000 (07:24 -0400)]
efl: add EFL_VERSION_1_21

indicate that features from this version can be used

6 years agoEfl.ui.panes: move legacy APIs at bottom of file
Amitesh Singh [Mon, 14 Aug 2017 00:55:38 +0000 (09:55 +0900)]
Efl.ui.panes: move legacy APIs at bottom of file

6 years agoRevert "evas: we should be able to access this data during an object being destroyed."
Cedric Bail [Sat, 12 Aug 2017 17:27:01 +0000 (10:27 -0700)]
Revert "evas: we should be able to access this data during an object being destroyed."

This reverts commit 207cab086f290878cd584e6c61b3cd2696c5fd88.

Better make efl_data_scope_safe_get work during EFL_EVENT_DEL.

6 years agoeo: only return NULL when the object is destructed.
Cedric Bail [Sun, 13 Aug 2017 20:14:31 +0000 (13:14 -0700)]
eo: only return NULL when the object is destructed.

There is a problem with the previous version. The object can still be
alive due to the use of manual_free in evas. So you wouldn't be able
for example to remove a callback from an object that hasn't been
destroyed yet. If that callback is triggered by the destruction
of the object, you would end up with an unexpected and impossible to
prevent effect of access after free on a callback that you had removed.

Not sure if that still solve the original problem that the code was
trying to prevent in Ecore_Evas.

6 years agoecore_evas: define the predefine for wl2 instead of wayland
Marcel Hollerbach [Sat, 12 Aug 2017 13:19:45 +0000 (15:19 +0200)]
ecore_evas: define the predefine for wl2 instead of wayland

6 years agoecore_imf/wayland: Check the return value of memory allocation function
Jihoon Kim [Sat, 12 Aug 2017 01:23:01 +0000 (10:23 +0900)]
ecore_imf/wayland: Check the return value of memory allocation function

6 years agoefl-wl: max size of 0x0 from shell is -1x-1 in efl
Mike Blumenkrantz [Fri, 11 Aug 2017 22:43:15 +0000 (18:43 -0400)]
efl-wl: max size of 0x0 from shell is -1x-1 in efl

6 years agoefl-wl: initialize seat keymap fd to -1
Mike Blumenkrantz [Fri, 11 Aug 2017 22:43:15 +0000 (18:43 -0400)]
efl-wl: initialize seat keymap fd to -1

@fix

6 years agoecore: always set delete_me before removing fd from poll
Mike Blumenkrantz [Fri, 11 Aug 2017 22:43:15 +0000 (18:43 -0400)]
ecore: always set delete_me before removing fd from poll

ensure bad fds don't immediately get re-added to polling

@fix

6 years agoefl-wl: handle case where eglBindWaylandDisplay fails
Mike Blumenkrantz [Fri, 11 Aug 2017 22:43:15 +0000 (18:43 -0400)]
efl-wl: handle case where eglBindWaylandDisplay fails

@fix

6 years agoefl-wl: always dismiss popups on hide
Mike Blumenkrantz [Fri, 11 Aug 2017 22:43:15 +0000 (18:43 -0400)]
efl-wl: always dismiss popups on hide

@fix

6 years agoelm_widget: do not reparent subobjs to top widget for non-elm objects
Mike Blumenkrantz [Fri, 11 Aug 2017 22:43:15 +0000 (18:43 -0400)]
elm_widget: do not reparent subobjs to top widget for non-elm objects

this breaks handling of non-elm objects and makes it impossible to safely manage
object lifetimes

ref D3957
ref 62cf70034de38b17f2025e08f81b5758b3d6d6e3

@fix

6 years agoefl-wl: use correct accessor method for keyboard resource hash
Mike Blumenkrantz [Fri, 11 Aug 2017 22:43:15 +0000 (18:43 -0400)]
efl-wl: use correct accessor method for keyboard resource hash

@fix

6 years agowayland: set min/max size hints to surface before show
Mike Blumenkrantz [Fri, 11 Aug 2017 22:43:15 +0000 (18:43 -0400)]
wayland: set min/max size hints to surface before show

with deferred surface creation the first canvas change of hints may not
be able to trigger protocol methods for size hints, so ensure that hints are
set

6 years agoefl-wl: add functionality for extracting surfaces for external use
Mike Blumenkrantz [Fri, 11 Aug 2017 22:43:15 +0000 (18:43 -0400)]
efl-wl: add functionality for extracting surfaces for external use

@feature

6 years agoefl-wl: add EFL_WL_DEBUG env variable for enabling wayland debug
Mike Blumenkrantz [Fri, 11 Aug 2017 22:43:15 +0000 (18:43 -0400)]
efl-wl: add EFL_WL_DEBUG env variable for enabling wayland debug

@feature

6 years agowayland: remove xdg5 support
Mike Blumenkrantz [Fri, 11 Aug 2017 22:43:15 +0000 (18:43 -0400)]
wayland: remove xdg5 support

this has not been used or tested since last year and there are no major
compositors which lack xdg6 support

6 years agowayland: fix xdg-shell popup windows
Mike Blumenkrantz [Fri, 11 Aug 2017 22:43:15 +0000 (18:43 -0400)]
wayland: fix xdg-shell popup windows

@fix

6 years agoecore_evas_drm: Tick from the animator registration callback
Derek Foreman [Fri, 11 Aug 2017 22:02:23 +0000 (17:02 -0500)]
ecore_evas_drm: Tick from the animator registration callback

If we're not ticking already when a new animator is started then we have
to wait for a vblank to get a tick.  That's not great.

If we can, use the time of the last vblank to generate an immediate tick
to avoid this latency.

6 years agoecore_evas_drm: Let ecore_drm2 track pending page flips
Derek Foreman [Fri, 11 Aug 2017 19:51:30 +0000 (14:51 -0500)]
ecore_evas_drm: Let ecore_drm2 track pending page flips

Since the engines can call the flip functions, we need to protect the
ticker from missing those flips.  Thus, we let ecore_drm2, which obviously
sees all flips, track them.

6 years agoecore_drm2: Add query for pending pageflip
Derek Foreman [Fri, 11 Aug 2017 19:48:41 +0000 (14:48 -0500)]
ecore_drm2: Add query for pending pageflip

We've been tracking this in ecore_evas, but ecore_evas isn't the only
caller, and it doesn't know about flips initiated by the evas engines.

6 years agomakefile_evas: fix includes when openjpeg 1.5 and 2.0 are installed.
Al Poole [Fri, 11 Aug 2017 18:10:10 +0000 (13:10 -0500)]
makefile_evas: fix includes when openjpeg 1.5 and 2.0 are installed.

Reviewers: vtorri

Subscribers: ManMower, cedric, jpeg

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

6 years agoevas: we should be able to access this data during an object being destroyed.
Cedric Bail [Fri, 11 Aug 2017 17:15:14 +0000 (10:15 -0700)]
evas: we should be able to access this data during an object being destroyed.

So, this is maybe not the best fix. The question is should we be able to
get efl_data_scope_safe_get return the object private data, when we are
currently executing the object EFL_EVENT_DEL callbacks. Right now we don't
and this lead to bug where we wouldn't have been able to destroy a callback
and get that callback triggered later on destroyed data (I had a crash in
terminology). I have switched back to the not _safe_ version which doesn't
enforce this, but that might not be the only place that need a fix.

6 years agoevas tests - add Jpeg2000 tests
Vincent Torri [Fri, 11 Aug 2017 08:51:29 +0000 (17:51 +0900)]
evas tests - add Jpeg2000 tests

add tests for loading jp2k files correctly and the images

6 years agoefl_ui_focus_manager_calc: fix the class check of the redirect
Marcel Hollerbach [Fri, 11 Aug 2017 08:31:30 +0000 (10:31 +0200)]
efl_ui_focus_manager_calc: fix the class check of the redirect

this came up with a huge load of errors, i havent noticed them last
night. Sorry.

6 years agoEfl.Ui.Panes: rename min_split_ratio to split_ratio_min
Amitesh Singh [Fri, 11 Aug 2017 05:32:13 +0000 (14:32 +0900)]
Efl.Ui.Panes: rename min_split_ratio to split_ratio_min

6 years agoEfl.Ui.Panes: rename allow_user_size_hints to hint_min_allow
Amitesh Singh [Fri, 11 Aug 2017 05:27:27 +0000 (14:27 +0900)]
Efl.Ui.Panes: rename allow_user_size_hints to hint_min_allow

thanks to raster for suggestion.

6 years agocommon3d: correct converting number to float
Thiep Ha [Fri, 11 Aug 2017 05:17:58 +0000 (14:17 +0900)]
common3d: correct converting number to float

6 years agoelm_scroller: focus_direction should not be called when scroller focusable and no...
Jeonghyun Yun [Fri, 11 Aug 2017 04:55:22 +0000 (13:55 +0900)]
elm_scroller: focus_direction should not be called when scroller focusable and no focusable child

Summary:
when scroller can have focus and scroller's child can't have focus,
there is a problem that scroller is always selected to next focus object.
In this case, it should not enter into _elm_scroller_elm_widget_focus_direction()

Reviewers: woohyun

Subscribers: cedric, jpeg

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

6 years agoCast to double before division during region/coord calculation.
Sungtaek Hong [Fri, 11 Aug 2017 04:50:56 +0000 (13:50 +0900)]
Cast to double before division during region/coord calculation.

Summary:
int var devided by int is cast to double after devision.
This might cause wrong calculation result.

Reviewers: cedric, jpeg, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

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

6 years agowin: Prevent crash inside ecore evas callbacks
Jean-Philippe Andre [Fri, 11 Aug 2017 01:24:54 +0000 (10:24 +0900)]
win: Prevent crash inside ecore evas callbacks

After any complex call on the window, a foreign evas/efl callback may be
triggered that could delete the window object. This leads to crashes in
queued jobs or even immediately after said callback (right now EO
prevents immediate memory free using eina_freeq or eina_trash so the
effects aren't immediate).

Funnily enough, this was a known issue according to some comments, but
no one bothered fixing it...

In this particular instance, a focus_out job was crashing while trying
to access now-invalid sd data.

I believe some uses of ELM_WIN_DATA_GET() may still be slightly unsafe
but most look like they should be the result of an EO call on the object
(eg. a call to efl_event_callback_call), which ensures the object is
alive.

Fixes T5869

6 years agoeo: Check refs in efl_data_scope_safe_get
Jean-Philippe Andre [Fri, 11 Aug 2017 01:58:56 +0000 (10:58 +0900)]
eo: Check refs in efl_data_scope_safe_get

This makes sure the object is actually still alive and kicking before
returning any data. Otherwise the "safe" word is a bit of an abuse...

Ref T5869

@fix

6 years agoEfl.Ui.Panes: don't use edje restrict cal to calculate min size
Amitesh Singh [Fri, 11 Aug 2017 00:20:21 +0000 (09:20 +0900)]
Efl.Ui.Panes: don't use edje restrict cal to calculate min size

6 years agoefl_ui_focus_manager: make focus a property
Marcel Hollerbach [Tue, 18 Jul 2017 10:40:17 +0000 (12:40 +0200)]
efl_ui_focus_manager: make focus a property

6 years agoefl_ui_focus_manager: split this of tinto a class and a interface
Marcel Hollerbach [Wed, 5 Jul 2017 10:48:52 +0000 (12:48 +0200)]
efl_ui_focus_manager: split this of tinto a class and a interface

it turns out to be very handy to have a interface for the moving and
border elements, that is unconnected to the way of how widgets are
registering themself.

This for example enables us to get a simple focus manager that just
redirects the call into a internal 2 dimensional data struct

6 years agoeolian-cxx: Add workaround for clang removing const from parameters
Felipe Magno de Almeida [Thu, 10 Aug 2017 18:52:25 +0000 (15:52 -0300)]
eolian-cxx: Add workaround for clang removing const from parameters

6 years agoefl_wl: Update to latest dmabuf protocol version
Derek Foreman [Thu, 10 Aug 2017 16:36:38 +0000 (11:36 -0500)]
efl_wl: Update to latest dmabuf protocol version

Weston's dmabuf code continues to be modular enough that we can pull
it in with little change.

This updates us to version 3 of the protocol.

Currently only contains stubs for format queries.

6 years agoeolian cxx: fix the remaining type errors
Daniel Kolesa [Thu, 10 Aug 2017 12:10:52 +0000 (14:10 +0200)]
eolian cxx: fix the remaining type errors

6 years agoeolian cxx: fix build after eolian type api change
Daniel Kolesa [Thu, 10 Aug 2017 11:38:38 +0000 (13:38 +0200)]
eolian cxx: fix build after eolian type api change

6 years agoecore, ecore_con: fix const on Eina.Slice
Daniel Kolesa [Thu, 10 Aug 2017 10:53:14 +0000 (12:53 +0200)]
ecore, ecore_con: fix const on Eina.Slice

Fixes TODOs from dd5cdda64b5fd3966718af62d417117942e2f323
after fixing T5024.

6 years agoeolian: fix tests
Daniel Kolesa [Thu, 10 Aug 2017 10:47:56 +0000 (12:47 +0200)]
eolian: fix tests

6 years agoeolian: implement proper return type serialization
Daniel Kolesa [Thu, 10 Aug 2017 10:41:03 +0000 (12:41 +0200)]
eolian: implement proper return type serialization

This accounts for const so that you can't generate functions
that return const values, as that makes no sense.

@fix T5024

6 years agoelua: update eolian bindings with c type serialization change
Daniel Kolesa [Thu, 10 Aug 2017 10:17:10 +0000 (12:17 +0200)]
elua: update eolian bindings with c type serialization change

6 years agoeolian: change C type serialization API to account for returns
Daniel Kolesa [Thu, 10 Aug 2017 10:12:38 +0000 (12:12 +0200)]
eolian: change C type serialization API to account for returns

This will allow proper handling of const.

6 years agoelm test: rename efl.ui.panes test case
Amitesh Singh [Thu, 10 Aug 2017 07:48:46 +0000 (16:48 +0900)]
elm test: rename efl.ui.panes test case

6 years agoEfl.Ui.Image: use internal func to detect legacy usage
Amitesh Singh [Thu, 10 Aug 2017 07:43:30 +0000 (16:43 +0900)]
Efl.Ui.Image: use internal func to detect legacy usage

6 years agoEfl.Ui.Panes: use internal func to detect legacy usage
Amitesh Singh [Thu, 10 Aug 2017 07:29:50 +0000 (16:29 +0900)]
Efl.Ui.Panes: use internal func to detect legacy usage

Ref T5359

6 years agoEfl.Ui.Panes: set dir to EFL_UI_DIR_VERTICAL
Amitesh Singh [Thu, 10 Aug 2017 07:23:50 +0000 (16:23 +0900)]
Efl.Ui.Panes: set dir to EFL_UI_DIR_VERTICAL

6 years agoEfl.Ui.Panes: switch to Efl.Ui.Dir (EO)
Amitesh Singh [Thu, 10 Aug 2017 06:58:34 +0000 (15:58 +0900)]
Efl.Ui.Panes: switch to Efl.Ui.Dir (EO)

Ref T5870

6 years agoEfl.Ui.Panes: rename left/right_size_set to split_ratio
Amitesh Singh [Wed, 9 Aug 2017 11:45:02 +0000 (20:45 +0900)]
Efl.Ui.Panes: rename left/right_size_set to split_ratio

This name makes more sense and one api does the job of two.
We never needed two apis at first place though.
Mark left/right_size_set as legacy apis too.
This patch also implements min_split_ratio on parts.

@feature

refer T5359

6 years agoEfl.Ui.Panes: implement allow_user_size_hints on parts
Amitesh Singh [Wed, 9 Aug 2017 01:49:21 +0000 (10:49 +0900)]
Efl.Ui.Panes: implement allow_user_size_hints on parts

This allows user to set size hints to be respected and
request panes to ignore combined min size.
If this flag is set, the minimum size set by efl_gfx_size_hint_min_set()
is respected forcefully.

@feature

refer T5359

6 years agoEfl.Ui.Panes: allow panes to respect the min size of its content
Amitesh Singh [Tue, 8 Aug 2017 08:22:05 +0000 (17:22 +0900)]
Efl.Ui.Panes: allow panes to respect the min size of its content

refer T5359

6 years agoctxpopup: Remove use of Orientation API (EO)
Jean-Philippe Andre [Thu, 10 Aug 2017 05:55:30 +0000 (14:55 +0900)]
ctxpopup: Remove use of Orientation API (EO)

ctxpopup belongs to legacy, some work is ongoing to provide a cleaner EO
based API for popups, etc... See T5326

Revert "ctxpopup: implement Efl.Orientation interface functions"

This reverts commit 736fb9d4980a7dee83ca0721d8b9b58c6c12a39d.

Ref T5870

6 years agoelm_ctxpopup: Implemented elm_widget_item_part_content_unset for elm_ctxpopup_item
JEONGHYUN YUN [Thu, 10 Aug 2017 05:13:51 +0000 (14:13 +0900)]
elm_ctxpopup: Implemented elm_widget_item_part_content_unset for elm_ctxpopup_item

Summary:
ctxpopup item have elm_list item internally.
item_part_content_unset need to pass on content part to elm_list item.

Test Plan:
1. launch elementary_test - ctxpopup
2. click Ctxpopup with part text & content function
3. press "Icon Set" and press "Icon Unset"

Reviewers: jpeg, woohyun, herb, Blackmole

Subscribers: cedric, jpeg

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

6 years agoelm_ctxpopup: Add APIs to insert before/after item to a ctxpopup object.
JEONGHYUN YUN [Thu, 10 Aug 2017 05:12:08 +0000 (14:12 +0900)]
elm_ctxpopup: Add APIs to insert before/after item to a ctxpopup object.

Summary:
There were only 2 APIs (item_append, item_prepend) for ctxpopup item add.
Added more item add APIs (item_insert_before and item_insert_after) for convenience.

Test Plan:
1. launch elementary_test - ctxpopup
2. click Ctxpopup with callback function sample
3. check whether there are 3 items on ctxpopup

Reviewers: woohyun, Jaehyun, jpeg, cedric

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

6 years agoelm_ctxpopup: Implemented elm_widget_item_del_pre for elm_ctxpopup_item
arosis [Thu, 10 Aug 2017 05:02:06 +0000 (14:02 +0900)]
elm_ctxpopup: Implemented elm_widget_item_del_pre for elm_ctxpopup_item

Summary:
ctxpopup item have elm_list item internally.
But when elm_ctxpopup item was deleted, elm_list item was not deleted.
elm_list item in elm_ctxpopup item should be deleted in del_pre
when elm_ctxpopup item is deleted by elm_wdg_item_del()

Test Plan:
1. launch elementary_test - ctxpopup
2. click Ctxpopup with label only
3. "Never Show" item should not shown in ctxpopup

Reviewers: jpeg, cedric, woohyun

Subscribers: cedric, jpeg

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

6 years agotoolbar: Switch to Efl.Ui.Dir (EO)
Jean-Philippe Andre [Thu, 10 Aug 2017 04:54:05 +0000 (13:54 +0900)]
toolbar: Switch to Efl.Ui.Dir (EO)

Ref T5870

6 years agoseparator: Remove orientation API use (EO)
Jean-Philippe Andre [Thu, 10 Aug 2017 04:38:50 +0000 (13:38 +0900)]
separator: Remove orientation API use (EO)

Revert "Separtor: use orientation APIs"

This reverts commit f043c3be617f7257001b9fc779b64cebf4370781.
Separator is not part of EO API so no need to use Orientation or
Direction API here.

Ref T5870

6 years agoindex: Switch to Efl.Ui.Dir (EO)
Jean-Philippe Andre [Thu, 10 Aug 2017 03:19:34 +0000 (12:19 +0900)]
index: Switch to Efl.Ui.Dir (EO)

Ref T5870

6 years agoslider: Switch to Efl.Ui.Dir (EO)
Jean-Philippe Andre [Wed, 9 Aug 2017 15:01:32 +0000 (00:01 +0900)]
slider: Switch to Efl.Ui.Dir (EO)

Ref T5870

6 years agoprogressbar: Switch to Efl.Ui.Dir (EO)
Jean-Philippe Andre [Wed, 9 Aug 2017 14:47:24 +0000 (23:47 +0900)]
progressbar: Switch to Efl.Ui.Dir (EO)

Ref T5870

6 years agogrid: Switch to Efl.Ui.Dir (EO)
Jean-Philippe Andre [Wed, 9 Aug 2017 14:36:02 +0000 (23:36 +0900)]
grid: Switch to Efl.Ui.Dir (EO)

Ref T5870

6 years agoflip: Switch to Efl.Ui.Dir (EO)
Jean-Philippe Andre [Wed, 9 Aug 2017 14:25:59 +0000 (23:25 +0900)]
flip: Switch to Efl.Ui.Dir (EO)

Ref T5870

6 years agoefl.ui.box: Switch to Efl.Ui.Dir (EO)
Jean-Philippe Andre [Wed, 9 Aug 2017 13:36:29 +0000 (22:36 +0900)]
efl.ui.box: Switch to Efl.Ui.Dir (EO)

This makes the default box vertical, just like in legacy.
The flow box is horizontal by default.

Ref T5870

6 years agoevas: Modify wheel events direction to bool (EO)
Jean-Philippe Andre [Wed, 9 Aug 2017 12:04:10 +0000 (21:04 +0900)]
evas: Modify wheel events direction to bool (EO)

The orientation was overkill here. We only want a bool.

Ref T5870

6 years agoelm_test: Fix some test cases to use legacy
Jean-Philippe Andre [Wed, 9 Aug 2017 12:02:47 +0000 (21:02 +0900)]
elm_test: Fix some test cases to use legacy

Legacy test cases should keep using the legacy API, not the EO API.

Ref T5870

6 years agoefl: Introduce Efl.Ui.Direction interface
Jean-Philippe Andre [Wed, 9 Aug 2017 11:59:30 +0000 (20:59 +0900)]
efl: Introduce Efl.Ui.Direction interface

This introduces, but doesn't make any use of, two types:
 - EO interface Efl.Ui.Direction
 - Enum Efl.Ui.Dir

This is to clean up inconsistencies with Efl.Orient values when used
with widgets.

Ref T5870

@feature

6 years agoEfl.Ui.Panes: add first and second as content aliases
Amitesh Singh [Mon, 7 Aug 2017 08:20:09 +0000 (17:20 +0900)]
Efl.Ui.Panes: add first and second as content aliases

'first' and 'second' are more meaningful than
'left'/'right' & 'up'/'down' names.

refer T5359

6 years agoupdate po files
Carsten Haitzler (Rasterman) [Thu, 10 Aug 2017 04:41:46 +0000 (13:41 +0900)]
update po files

6 years agoevas: Fix crash in E
Jean-Philippe Andre [Thu, 10 Aug 2017 02:48:01 +0000 (11:48 +0900)]
evas: Fix crash in E

Somehow starting VirtualBox would crash E when trying to upload invalid
data. I believe checking for NULL data here is all we need to do in
order to keep the image data consistent and valid.

I have to admit I'm not 100% sure what is happening here.

Fixes T5868

@fix

6 years agoecore_drm2: Remove ecore_drm2_output_resolution_get()
Derek Foreman [Tue, 8 Aug 2017 17:03:51 +0000 (12:03 -0500)]
ecore_drm2: Remove ecore_drm2_output_resolution_get()

No local callers.  Superseded by ecore_drm2_output_info_get()

6 years agoecore_drm2: Remove ecore_drm2_output_crtc_size_get()
Derek Foreman [Tue, 8 Aug 2017 17:03:12 +0000 (12:03 -0500)]
ecore_drm2: Remove ecore_drm2_output_crtc_size_get()

Replaced with ecore_drm2_output_info_get()

6 years agoecore_drm2: Remove ecore_drm2_output_geometry_get()
Derek Foreman [Tue, 8 Aug 2017 17:02:15 +0000 (12:02 -0500)]
ecore_drm2: Remove ecore_drm2_output_geometry_get()

Replaced with ecore_drm2_output_info_get()

6 years agoecore_drm2: Add ecore_drm2_output_info_get
Derek Foreman [Thu, 3 Aug 2017 23:26:18 +0000 (18:26 -0500)]
ecore_drm2: Add ecore_drm2_output_info_get

We've got too many ways to query output information, so let's add more.
(this will soon replace all of them)

6 years agoecore_drm2: Remove useless safety checks
Derek Foreman [Thu, 3 Aug 2017 20:09:06 +0000 (15:09 -0500)]
ecore_drm2: Remove useless safety checks

Now that the device is opened and found in one operation it's impossible
to have fd == -1, so we can stop testing for it.

6 years agoecore_drm2: Merge ecore_drm2_device_free and _close
Derek Foreman [Thu, 3 Aug 2017 20:07:53 +0000 (15:07 -0500)]
ecore_drm2: Merge ecore_drm2_device_free and _close

There's no reason to have them be separate, all callers must do them
back to back, so let's just combine them.

6 years agoecore_drm2: Merge ecore_drm2_device_find and ecore_drm2_device_open
Derek Foreman [Thu, 3 Aug 2017 19:56:19 +0000 (14:56 -0500)]
ecore_drm2: Merge ecore_drm2_device_find and ecore_drm2_device_open

There's never a reason to find a device and not open it, so all callers
end up calling these two functions back to back.

6 years agoecore_drm2: Remove connector bitfield
Derek Foreman [Thu, 3 Aug 2017 18:42:32 +0000 (13:42 -0500)]
ecore_drm2: Remove connector bitfield

This is unreliable - there's no reason to expect these connector ids
will be low enough to sensibly store in a bit field.

6 years agoecore_drm2: remove unused crtc bitfield
Derek Foreman [Tue, 1 Aug 2017 18:38:13 +0000 (13:38 -0500)]
ecore_drm2: remove unused crtc bitfield

We'll need something like this when multi-head works, but it can't
be implemented this way anyway.  There's no guarantee that crtc
ids will be low enough to fit sensibly in a bitfield.