platform/upstream/efl.git
5 years agoImplement missing APIs in elm_photo
Xavi Artigas [Fri, 25 Jan 2019 12:32:48 +0000 (12:32 +0000)]
Implement missing APIs in elm_photo

This widget does not seem to support dragging things on top of it, so implement
the missing property drag_target as a readonly EINA_FALSE.

Ref T5719

Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de>
Differential Revision: https://phab.enlightenment.org/D7779

5 years agoevas_canvas3d_mesh: implement get methods for efl.file file and mmap props
Mike Blumenkrantz [Fri, 25 Jan 2019 17:47:38 +0000 (12:47 -0500)]
evas_canvas3d_mesh: implement get methods for efl.file file and mmap props

also add unit tests for new methods

ref T5719

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de>
Differential Revision: https://phab.enlightenment.org/D7785

5 years agoecore: make ecore_audio_out abstract
Marcel Hollerbach [Fri, 25 Jan 2019 14:32:53 +0000 (15:32 +0100)]
ecore: make ecore_audio_out abstract

ecore_audio does define format and source, those are then used in some
leave classes, ecore_audio is only used in the tests, and should not be
used externally. Therefore make it abstract.
The other missing implementations are in the leave classes,
They are resolved with providing empty implementations, since no format
switching is supported.

ref T5719

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7782

5 years agoevas_canvas3d_primitives: make unused functions empty
Marcel Hollerbach [Fri, 25 Jan 2019 12:18:11 +0000 (13:18 +0100)]
evas_canvas3d_primitives: make unused functions empty

it appears that primiteves where not designed to redirect notify calls
etc. to its children elements (if there are any). Thus those can be
empty.

ref T5719

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7778

5 years agoefl_net_dialer_websocker: set cannot be called here
Marcel Hollerbach [Fri, 25 Jan 2019 12:16:51 +0000 (13:16 +0100)]
efl_net_dialer_websocker: set cannot be called here

the state of eos is decided weather on internals, therefore calling set
on it does not work, and should never do anything.

ref T5719

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7777

5 years agoefl_ui_tab_page: implement missing api
Marcel Hollerbach [Thu, 24 Jan 2019 16:06:14 +0000 (17:06 +0100)]
efl_ui_tab_page: implement missing api

unset is now implemented, and is mirrored to the main object, just like
in the setter above.

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7760

5 years agoefl_ui_pan: implement content interface
Marcel Hollerbach [Thu, 24 Jan 2019 13:09:42 +0000 (14:09 +0100)]
efl_ui_pan: implement content interface

the last two functions for the content interface have been missing.
Now the pan object can also unset and set new content

ref T5719

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7757

5 years agoefl_ui_scroller: support the complete efl.content API
Marcel Hollerbach [Thu, 24 Jan 2019 12:19:50 +0000 (13:19 +0100)]
efl_ui_scroller: support the complete efl.content API

content_get and content_unset was not added.

ref T5719

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7756

5 years agoefl_ui_slider: this does not use anything from Efl.Content
Marcel Hollerbach [Thu, 24 Jan 2019 12:12:57 +0000 (13:12 +0100)]
efl_ui_slider: this does not use anything from Efl.Content

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7783

5 years agoefl: introduce efl_ui_direction_readonly
Marcel Hollerbach [Thu, 24 Jan 2019 11:47:38 +0000 (12:47 +0100)]
efl: introduce efl_ui_direction_readonly

the readonly mixin implement the efl_ui_direction interface and prints a
error in case it is written.

ref T5719

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7755

5 years agoelm_fileselector_entry: resolve missing interface api by composition
Marcel Hollerbach [Thu, 24 Jan 2019 10:40:34 +0000 (11:40 +0100)]
elm_fileselector_entry: resolve missing interface api by composition

this patch will redirect every elm_interface_fileselector call to the
added fileselector button. This resolves the missing fileselector API on
the fileselector entry.

ref T5719

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7754

5 years agoelm_fileselector_button: support the whole interface
Marcel Hollerbach [Thu, 24 Jan 2019 10:32:38 +0000 (11:32 +0100)]
elm_fileselector_button: support the whole interface

this adds full support of the full elm_fileselector interface to
elm_fileselector_button.

ref T5719

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7753

5 years agoelm_fileselector: improve documentation
Marcel Hollerbach [Thu, 24 Jan 2019 10:01:53 +0000 (11:01 +0100)]
elm_fileselector: improve documentation

lets safe up the time of the next one trying to figure out what
current_name is.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7752

5 years agoelm_code: remove the implementation of efl.access.text
Marcel Hollerbach [Thu, 24 Jan 2019 09:45:55 +0000 (10:45 +0100)]
elm_code: remove the implementation of efl.access.text

its not implementing any of those functions, so better drop it

ref T5719

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7751

5 years agoelm: add container api for the two objects
Marcel Hollerbach [Thu, 24 Jan 2019 09:20:23 +0000 (10:20 +0100)]
elm: add container api for the two objects

this resolves unimplemented API by just mirroring the calls to different
API calls.

ref T5719

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7749

5 years agoedje: implement container api
Marcel Hollerbach [Thu, 24 Jan 2019 09:18:01 +0000 (10:18 +0100)]
edje: implement container api

the container api returns the number of added swallows.
the content iterator returns a iterator over all swallowed objects.

The reason this is only for swallows is that the interface explicitly
mentions UI elements at the count. Since i am believing the the result
of the count operation should mirror to the amount of elements in the
iterator, the iterator only returns swallowed objects.

ref T5719

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7748

5 years agoefl_task: remove efl.io.* interfaces
WooHyun Jung [Fri, 25 Jan 2019 08:57:54 +0000 (08:57 +0000)]
efl_task: remove efl.io.* interfaces

Remove efl.io.* interfaces from efl_task, and make other extended
classes properly.

ref T7657

Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de>
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
Differential Revision: https://phab.enlightenment.org/D7747

5 years agogesture_manager: Filter events we add hooks for
Derek Foreman [Thu, 24 Jan 2019 18:57:19 +0000 (12:57 -0600)]
gesture_manager: Filter events we add hooks for

Gesture manager doesn't care about focus manager events, animation events,
and various other things it's currently hooking.

We can save a lot of pointer indirection nonsense by only paying attention
to events it can actually do something with.

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

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
5 years agogesture_manager: Use private data getter to save some lookups
Derek Foreman [Thu, 24 Jan 2019 17:34:12 +0000 (11:34 -0600)]
gesture_manager: Use private data getter to save some lookups

We frequently process an array of several events at once, so we can now
look up the gesture manager private data once for the entire array.

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

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
5 years agogesture_manager: Add a call to get private data
Derek Foreman [Thu, 24 Jan 2019 17:32:08 +0000 (11:32 -0600)]
gesture_manager: Add a call to get private data

We end up looking this up multiple times, having a getter will sometimes
allow us to get it and use it multiple times.

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

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
5 years agoeolian: clear the unimplemented implement set for each tree
Daniel Kolesa [Fri, 25 Jan 2019 13:11:25 +0000 (14:11 +0100)]
eolian: clear the unimplemented implement set for each tree

We keep a hash tracking implements that were already errored on
so that we don't print some errors multiple times. The problem is
that it wasn't getting cleared when switching to a new inheritance
tree so errors from an interface implemented in multiple distinct
inheritance trees would only get printed once.

5 years agodocs: Fix Efl.Object Freeze and Thaw docs
Xavi Artigas [Mon, 21 Jan 2019 10:54:41 +0000 (11:54 +0100)]
docs: Fix Efl.Object Freeze and Thaw docs

Summary: Fixes T7641

Test Plan: Only docs affected.

Reviewers: zmike, cedric

Reviewed By: cedric

Subscribers: bu5hm4n, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7641

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

5 years agoefl-mono: Add new dependencies to autotools
Felipe Magno de Almeida [Fri, 25 Jan 2019 11:57:07 +0000 (20:57 +0900)]
efl-mono: Add new dependencies to autotools

Summary: This fix make check for csharp bindings

Reviewers: woohyun

Reviewed By: woohyun

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoefl_ui_pager : Add missing meson config for pager test.
JunsuChoi [Fri, 25 Jan 2019 06:57:37 +0000 (06:57 +0000)]
efl_ui_pager : Add missing meson config for pager test.

   it occur to build fail in meson build.

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D7768

5 years agoRevert "Revert "efl_ui_pager: add tests for efl_ui_pager""
Stefan Schmidt [Fri, 25 Jan 2019 08:41:24 +0000 (09:41 +0100)]
Revert "Revert "efl_ui_pager: add tests for efl_ui_pager""

This reverts commit a686b7d9fee99c631756eca2ce3e2dad1e296f0d.

Turns out in my eagerness to un-break the build I did not check the
patch queue before reverting. If I would have done this I would have
seen the fix for the break alreay being submitted by Junsu Choi.

This is my bad, the two reverts could have been avoid. Sorry.
Note to self: give yourself a moment, and check the patch queue, before
rushing out a revert. :/

5 years agoRevert "efl_ui_pager: add tests for efl_ui_pager"
Stefan Schmidt [Fri, 25 Jan 2019 08:30:00 +0000 (09:30 +0100)]
Revert "efl_ui_pager: add tests for efl_ui_pager"

This reverts commit 0b79064f4c5c383bf75833c7f3b64cd9a2d37af9.

Appreciating the new tests but they are breaking the meson build.

/usr/bin/ld: src/bin/elementary/aea5856@@elementary_test@exe/test.c.o: in function `my_win_main':
test.c:(.text+0x501e): undefined reference to `test_ui_pager'
/usr/bin/ld: test.c:(.text+0x504d): undefined reference to `test_ui_pager_scroll'
collect2: error: ld returned 1 exit status

Once the meson build break is fixed this could go in again.

5 years agoefl_ui_pager: add tests for efl_ui_pager
Jaeun Choi [Wed, 23 Jan 2019 11:10:55 +0000 (20:10 +0900)]
efl_ui_pager: add tests for efl_ui_pager

5 years agoefl_ui_pager: remove unnecessary lines
Jaeun Choi [Fri, 25 Jan 2019 04:46:12 +0000 (13:46 +0900)]
efl_ui_pager: remove unnecessary lines

5 years agoefl_page_indicator_icon: set size_hint_fill as 0
Jaeun Choi [Fri, 25 Jan 2019 04:42:26 +0000 (13:42 +0900)]
efl_page_indicator_icon: set size_hint_fill as 0

5 years agoefl_page_indicator_icon: fix update function
Jaeun Choi [Fri, 25 Jan 2019 04:38:49 +0000 (13:38 +0900)]
efl_page_indicator_icon: fix update function

pd->adj is NULL if pos equals 0

5 years agoefl_page_indicator_icon: refactor update function
Jaeun Choi [Fri, 25 Jan 2019 04:37:29 +0000 (13:37 +0900)]
efl_page_indicator_icon: refactor update function

5 years agoefl_page_indicator_icon: mark selected item in pack function if necessary
Jaeun Choi [Fri, 25 Jan 2019 04:26:03 +0000 (13:26 +0900)]
efl_page_indicator_icon: mark selected item in pack function if necessary

5 years agoefl_page_indicator_icon: refactor if-else statement
Jaeun Choi [Fri, 25 Jan 2019 02:17:19 +0000 (11:17 +0900)]
efl_page_indicator_icon: refactor if-else statement

5 years agoefl_ui_pager: implement unpack function
Jaeun Choi [Thu, 24 Jan 2019 10:06:07 +0000 (19:06 +0900)]
efl_ui_pager: implement unpack function

5 years agoefl_page_indicator: add unpack function
Jaeun Choi [Thu, 24 Jan 2019 09:42:24 +0000 (18:42 +0900)]
efl_page_indicator: add unpack function

5 years agoefl_page_indicator: add a variable 'curr_idx; in data
Jaeun Choi [Thu, 24 Jan 2019 09:47:50 +0000 (18:47 +0900)]
efl_page_indicator: add a variable 'curr_idx; in data

5 years agoefl_page_indicator_icon: remove unnecessary function
Jaeun Choi [Thu, 24 Jan 2019 09:32:11 +0000 (18:32 +0900)]
efl_page_indicator_icon: remove unnecessary function

invalidate function is not necessary since each item is deleted
when it's parent (box) is deleted.

5 years agoefl_page_transition_scroll: fix _efl_page_transition_scroll_update() function
Jaeun Choi [Thu, 24 Jan 2019 08:27:55 +0000 (17:27 +0900)]
efl_page_transition_scroll: fix _efl_page_transition_scroll_update() function

% operator should not be used when loop is disabled

5 years agoefl_page_transition_scroll: remove _content_show() function
Jaeun Choi [Thu, 24 Jan 2019 07:32:19 +0000 (16:32 +0900)]
efl_page_transition_scroll: remove _content_show() function

_content_show() function was used in page_info_geometry_change() and
_efl_page_transition_scroll_loop_set() function since they need to
show/hide page info objects in common. but using a common function
made each function inefficient and buggy.
this patch removes _content_show() function.

5 years agoefl_page_transition_scroll: refactor calculation code for beffer readability
Jaeun Choi [Thu, 24 Jan 2019 07:11:30 +0000 (16:11 +0900)]
efl_page_transition_scroll: refactor calculation code for beffer readability

5 years agoefl_ui_pager: make loop set function to return boolean value
Jaeun Choi [Thu, 24 Jan 2019 06:38:40 +0000 (15:38 +0900)]
efl_ui_pager: make loop set function to return boolean value

loop mode might not be available if the number of pages is
less than required to make a loop

5 years agoefl_page_transition_scroll: remove unnecessary line
Jaeun Choi [Thu, 24 Jan 2019 06:00:11 +0000 (15:00 +0900)]
efl_page_transition_scroll: remove unnecessary line

5 years agoefl_ui_pager: move page_box when page size is changed
Jaeun Choi [Thu, 24 Jan 2019 02:32:48 +0000 (11:32 +0900)]
efl_ui_pager: move page_box when page size is changed

5 years agoefl_ui_pager: add missing cases in pack_at function
Jaeun Choi [Wed, 23 Jan 2019 12:36:49 +0000 (21:36 +0900)]
efl_ui_pager: add missing cases in pack_at function

5 years agoefl_ui_pager: set current page as -1 when pager is empty
Jaeun Choi [Wed, 23 Jan 2019 12:17:29 +0000 (21:17 +0900)]
efl_ui_pager: set current page as -1 when pager is empty

it makes more sense that the current page number is -1 when pager is empty
since numbering starts from 0 when pager actually contains pages.
this patch also fixes a bug in pack_begin function, in which
the current page is increased by 1.

5 years agoefl_ui_pager: use '++' instead of '+= 1'
Jaeun Choi [Wed, 23 Jan 2019 12:03:34 +0000 (21:03 +0900)]
efl_ui_pager: use '++' instead of '+= 1'

5 years agoefl_ui_pager: add missing conditions in pack before/after function
Jaeun Choi [Wed, 23 Jan 2019 11:57:09 +0000 (20:57 +0900)]
efl_ui_pager: add missing conditions in pack before/after function

the functions should return if the 'existing' object is not in the content list

5 years agoefl_ui_pager: add missing condition in current page set function
Jaeun Choi [Wed, 23 Jan 2019 11:52:07 +0000 (20:52 +0900)]
efl_ui_pager: add missing condition in current page set function

5 years agoefl_ui_pager: return some functions if pager is in the middle of animation
Jaeun Choi [Wed, 23 Jan 2019 11:43:34 +0000 (20:43 +0900)]
efl_ui_pager: return some functions if pager is in the middle of animation

after this patch is applied,
if users try to pack a page object or bind a transition object
to a pager while it is in the middle of page changing animation,
related functions do nothing and just return.

5 years agoefl_ui_pager: removed unnecessary lines
Jaeun Choi [Wed, 23 Jan 2019 11:36:04 +0000 (20:36 +0900)]
efl_ui_pager: removed unnecessary lines

5 years agoefl_ui_pager: add missing NULL checks
Jaeun Choi [Wed, 23 Jan 2019 11:25:08 +0000 (20:25 +0900)]
efl_ui_pager: add missing NULL checks

5 years agoefl_ui_pager: modify a part of default theme
Jaeun Choi [Wed, 23 Jan 2019 03:23:58 +0000 (12:23 +0900)]
efl_ui_pager: modify a part of default theme

5 years agoefl_page_transition_scroll: removed unnecesary variable
Jaeun Choi [Thu, 13 Dec 2018 12:13:37 +0000 (21:13 +0900)]
efl_page_transition_scroll: removed unnecesary variable

5 years agoefl_page_transition_scroll: code refactoring in curr_page_change function
Jaeun Choi [Thu, 13 Dec 2018 12:06:42 +0000 (21:06 +0900)]
efl_page_transition_scroll: code refactoring in curr_page_change function

- removed unnecesary codes
- moved codes for better cohesion

5 years agoefl_page_transition_scroll: bug fix in curr_page_change function
Jaeun Choi [Thu, 13 Dec 2018 11:54:59 +0000 (20:54 +0900)]
efl_page_transition_scroll: bug fix in curr_page_change function

mark when a page's content is unset so that it can be refilled when necessary

5 years agoefl_page_transition_scroll: code refactoring in update function
Jaeun Choi [Thu, 13 Dec 2018 11:27:56 +0000 (20:27 +0900)]
efl_page_transition_scroll: code refactoring in update function

5 years agoefl_page_transition_scroll: bug fix in update function
Jaeun Choi [Thu, 13 Dec 2018 08:59:47 +0000 (17:59 +0900)]
efl_page_transition_scroll: bug fix in update function

since page_infos are connected in a circular manner,
one node (head or tail) moves in the opposite direction when scrolled.
there was a bug in hiding such nodes and
this patch fixes it.

5 years agoeo: improve efl_isa to be able to know if a class is part of the hierarchy of another...
Cedric BAIL [Fri, 18 Jan 2019 22:04:59 +0000 (14:04 -0800)]
eo: improve efl_isa to be able to know if a class is part of the hierarchy of another class.

Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7703

5 years agoevas: Defer object lookup until it's necessary
Derek Foreman [Thu, 24 Jan 2019 17:15:11 +0000 (11:15 -0600)]
evas: Defer object lookup until it's necessary

We frequently BAIL from this function before we actually need the
efl_data_scope_get() return, so we can save some pointer indirection by
deferring.

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

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
5 years agoeo: propagate knowledge of EFL_EVENT_NOREF callback registration to the event call...
Cedric BAIL [Thu, 24 Jan 2019 00:29:47 +0000 (16:29 -0800)]
eo: propagate knowledge of EFL_EVENT_NOREF callback registration to the event call generation.

This reduce the amount of time efl_event_callback_call(EFL_EVENT_NOREF) is triggered by a factor of 10.

Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
Differential Revision: https://phab.enlightenment.org/D7744

5 years agoeo: remove EFL_EVENT_SPECIAL_SKIP.
Cedric BAIL [Wed, 23 Jan 2019 23:44:29 +0000 (15:44 -0800)]
eo: remove EFL_EVENT_SPECIAL_SKIP.

EFL_EVENT_SPECIAL_SKIP has been defined to 1 for a long time and there
wasn't a way to disable it at all. There is no reason to not use it at
all, so here we go. This was default, now it is without useless code.

Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7743

5 years agoeo: remove function efl_noref that duplicate EFL_EVENT_NOREF.
Cedric BAIL [Wed, 23 Jan 2019 23:33:01 +0000 (15:33 -0800)]
eo: remove function efl_noref that duplicate EFL_EVENT_NOREF.

efl_noref is unused, but will still trigger the full eo call for nothing.
This was the most expensive NOOP. EFL_EVENT_NOREF does the same thing and
we can even filter generating that call as we know when someone is listening.
So removing the function.

Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7742

5 years agomeson - edje_cc use -fastcomp for fast builds in mesa
Carsten Haitzler (Rasterman) [Thu, 24 Jan 2019 12:23:30 +0000 (12:23 +0000)]
meson - edje_cc use -fastcomp for fast builds in mesa

5 years agoelm theme - use -fastcomp again as it is actually much faster now
Carsten Haitzler (Rasterman) [Thu, 24 Jan 2019 12:18:27 +0000 (12:18 +0000)]
elm theme - use -fastcomp again as it is actually much faster now

5 years agoeet - fix eet compression to differentiate lx4 and lz4hc
Carsten Haitzler (Rasterman) [Thu, 24 Jan 2019 12:11:15 +0000 (12:11 +0000)]
eet - fix eet compression to differentiate lx4 and lz4hc

so edje uses -fastcomp and -fastdecomp for lz4 and lz4hc .. before.
but the emile conversion nuked this difference and uses lz4hc no
matter what (EET_COMPRESSION_SUPERFAST vs EET_COMPRESSION_VERYFAST).
lz4hc is actuallly massively slower than lz4. this fixes -fastcomp to
be fast again... i tested a theme compile and it went from down from
81sec to 10sec.

5 years agoefl_ui_list_view: Hide SegArray and PreciseLayouter
Larry Lira [Thu, 24 Jan 2019 13:29:28 +0000 (22:29 +0900)]
efl_ui_list_view: Hide SegArray and PreciseLayouter

Summary:
Changed seg_array eolian class to struct
Changed PreciseLayouter and Relayout to private eolian
Removed relayout set/get in Efl.Ui.List.View

Reviewers: cedric, felipealmeida, SanghyeonLee

Reviewed By: cedric, felipealmeida, SanghyeonLee

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agodocs: Update efl_ui_zoom documentation
Xavi Artigas [Thu, 24 Jan 2019 12:57:50 +0000 (13:57 +0100)]
docs: Update efl_ui_zoom documentation

Although, it would have been really great that using the getter paused the
animation and using the setter resumed it...

5 years agoefl_ui_layout: use the correct object
Marcel Hollerbach [Thu, 24 Jan 2019 08:52:37 +0000 (09:52 +0100)]
efl_ui_layout: use the correct object

the obejct used in D7740 have been false.
Here comes the fix + a few tests.

Reviewed-by: YeongJong Lee <yj34.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7746

5 years agoelm_gesture_layer: Allow a negative zoom with scroll wheel
Michael Bouchaud (yoz) [Thu, 24 Jan 2019 09:05:14 +0000 (10:05 +0100)]
elm_gesture_layer: Allow a negative zoom with scroll wheel

Summary:
In my point of view, we have no reasons to forbid a negative zoom here.
This make gesture_layer more user friendly as we have no more arbitrary
constaint. (A good example is elm_map)

Reviewers: tasn, zmike, raster, cedric

Reviewed By: cedric

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoefl_ui_image: implement remaining efl.layout.calc methods
Mike Blumenkrantz [Wed, 23 Jan 2019 20:39:43 +0000 (15:39 -0500)]
efl_ui_image: implement remaining efl.layout.calc methods

this is just proxying the method calls onto the inner edje object if
the image is an edje object

ref T5719

Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de>
Differential Revision: https://phab.enlightenment.org/D7741

5 years agoefl_ui_layout: implement remaining efl.layout.calc methods
Mike Blumenkrantz [Wed, 23 Jan 2019 20:39:43 +0000 (15:39 -0500)]
efl_ui_layout: implement remaining efl.layout.calc methods

this is just proxying the method calls onto the inner edje object

ref T5719

Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de>
Differential Revision: https://phab.enlightenment.org/D7740

5 years agoexamples: remove data parameter of efl_loop_promise_new
Jaehyun Cho [Thu, 24 Jan 2019 04:27:50 +0000 (13:27 +0900)]
examples: remove data parameter of efl_loop_promise_new

Build error is fixed by removing data parameter of efl_loop_promise_new.
This patch is for 563f91eaf98fff474a4858f2d81c6374f0d777b9

5 years agoexamples: fix edc build error
Jaehyun Cho [Thu, 24 Jan 2019 04:27:24 +0000 (13:27 +0900)]
examples: fix edc build error

The state changes which set non-exist state are removed.
Missing states are added.
Incorrect state value is fixed.

5 years agomeson: fix to make results same as a way it does in autotools 92/198892/2
Wonki Kim [Wed, 30 Jan 2019 08:43:32 +0000 (08:43 +0000)]
meson: fix to make results same as a way it does in autotools

I found that results of build are different by build tools.
this patch fixes meson.build to make results same as a way it does in autotools.
Differential Revision: https://phab.enlightenment.org/D7819

Change-Id: I8ff17e7064a022dbc965e4d2ab63a6a114515e10

5 years agobuild: remove eina-bench-cmp from DIST list 91/198891/1
Wonki Kim [Tue, 29 Jan 2019 22:40:21 +0000 (22:40 +0000)]
build: remove eina-bench-cmp from DIST list

the script has been removed on meson.build cause it's quite useless.
this patch removes it from autotools build also.
Differential Revision: https://phab.enlightenment.org/D7828

Change-Id: I60250e1f08642d6f0db6659c9eaa0cad11ffc2c3

5 years agoecore_wl2_input: update a timestamp whenever possible 90/198890/1
Wonki Kim [Tue, 29 Jan 2019 12:06:33 +0000 (07:06 -0500)]
ecore_wl2_input: update a timestamp whenever possible

Summary:
gettimeofday function returns a accumulated timestamp since around 1970 by the way,
a argument from server looks like a system uptime based timestamp
in some distribution such as tizen.

so that this patch appends a logic that updates a timestamp
inside Ecore_Wl2_Input* whenever possible to
prevent gettimeofday function from being called.

Reviewers: #reviewers, cedric, devilhorns

Reviewed By: #reviewers, devilhorns

Subscribers: devilhorns, cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I6a74972c326a6484580fed3ab94264ec6f635192

5 years agogengrid: refactored circular mode features 02/198802/3
SangHyeon Jade Lee [Wed, 30 Jan 2019 00:16:50 +0000 (09:16 +0900)]
gengrid: refactored circular mode features

Change-Id: I128d4b368171fde6e8fd24f8667b78701e9e13d2
Signed-off-by: SangHyeon Jade Lee <sh10233.lee@samsung.com>
5 years agoefl_gfx_image_animation_controller: Rename '*.Image_Animation_*' to '*.Frame_*' 22/198822/1
JunsuChoi [Wed, 30 Jan 2019 03:27:52 +0000 (12:27 +0900)]
efl_gfx_image_animation_controller: Rename '*.Image_Animation_*' to '*.Frame_*'

Summary:
Efl.Gfx.Image_Animation_Controller name refers to the control of an animatable image.
However, the method we use is closer to controlling the frame.
We can change the name to Efl.Gfx.Frame_Controller and enhance the functionality of the frame control.

efl_gfx_image_animation_controller: Applies name changed history

Applies the change history changed
from Efl.Gfx.Image_Animation_Controller to Efl.Gfx.Frame_Controller
(409dcfb560e2c3006756787676c86160a226255c)

Test Plan: N/A

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I83e7c56a27bee4ecf3a1203bfa5ec5a084637ff1

5 years agospec: fix build break 05/198805/1
Wonki Kim [Wed, 30 Jan 2019 02:05:03 +0000 (11:05 +0900)]
spec: fix build break

this patch fixes a build break caused by 10ae701ca4b59f79edcf5eb9de2dd622c221a293

Change-Id: I95de9675a8e5af7308fcc42bb4acd5146af07be2
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
5 years agoGengrid : apply circular gengrid for wearable profile 92/191292/5
SangHyeon Jade Lee [Mon, 15 Oct 2018 11:04:06 +0000 (20:04 +0900)]
Gengrid : apply circular gengrid for wearable profile

Change-Id: I94c4de018a0e9b44c8157e3bc92ad2ff65b93c52
Signed-off-by: SangHyeon Jade Lee <sh10233.lee@samsung.com>
5 years agospec: modify definitions for build dependency 76/198776/2
Wonki Kim [Tue, 29 Jan 2019 09:54:53 +0000 (18:54 +0900)]
spec: modify definitions for build dependency

Rpm spec guideline tells us that
build dependency should be defined by calling pkg-config
to reduce maintenance cost.

this patch modify efl.spec file to meet the guideline.

Change-Id: I243f97701400ee3ad350dbac6c35e51a44427f57
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
5 years agospec: prevent examples from being built and packaged 81/198781/3
Wonki Kim [Tue, 29 Jan 2019 10:28:07 +0000 (19:28 +0900)]
spec: prevent examples from being built and packaged

this refactoring patch replaces 'comment out' logic by if-by-defined-value.

in addition, this patch contains a few of clean-up changes also.

Change-Id: Ia2307d67eaf6f86d2896e4c325dd7442a8e6616e
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
5 years agoEfl.Ui.Animation_View: Implement Min/Max_Progress/Frame_Set/Get 77/198777/1
JunsuChoi [Tue, 29 Jan 2019 09:59:51 +0000 (18:59 +0900)]
Efl.Ui.Animation_View: Implement Min/Max_Progress/Frame_Set/Get

Summary:
Implements APIs to set the range when playing.
If we set progress or frame's min and max, it will play within the set value.
keyframe sets the value based on min/max, not the whole frame.

void efl_ui_animation_view_min_progress_set(Eo *obj, double min_progress);
double efl_ui_animation_view_min_progress_get(const Eo *obj);
void efl_ui_animation_view_max_progress_set(Eo *obj, double max_progress);
double efl_ui_animation_view_max_progress_get(const Eo *obj);
void efl_ui_animation_view_min_frame_set(Eo *obj, int min_frame);
int efl_ui_animation_view_min_frame_get(const Eo *obj);
void efl_ui_animation_view_max_frame_set(Eo *obj, int max_frame);
int efl_ui_animation_view_max_frame_get(const Eo *obj);

Test Plan:
Evas_Object *anim_view = elm_animation_view_add(win);
elm_animation_view_auto_repeat_set(anim_view, 1);
elm_animation_view_file_set(anim_view, "a.json", NULL);
elm_animation_view_play(anim_view);
evas_object_show(anim_view);

evas_object_size_hint_align_set(anim_view, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_size_hint_weight_set(anim_view, 1, 1);

elm_animation_view_min_progress_set(anim_view, 0.3);
elm_animation_view_max_progress_set(anim_view, 0.8);

//or
elm_animation_view_min_frame_set(anim_view, 5);
elm_animation_view_max_frame_set(anim_view, 15);

Reviewers: Hermet

Subscribers: cedric, smohanty, #reviewers, SanghyeonLee, #committers

Tags: #efl

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

Change-Id: Ie49ae9d4e24b9710a89102141c67a91d6b0d6371

5 years agoedje_cc: check return value of fseeks 47/198747/1
Yeongjong Lee [Mon, 28 Jan 2019 08:26:09 +0000 (17:26 +0900)]
edje_cc: check return value of fseeks

Reviewers: Jaehyun_Cho, zmike

Reviewed By: Jaehyun_Cho

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I9ccd53b3e60e63696ca59392c952030b803b0062

5 years agoFix dereferencing issue and add chmod error handling(elm_code_file) 15/198715/3
Myoungwoon Roy, Kim [Tue, 29 Jan 2019 04:25:05 +0000 (13:25 +0900)]
Fix dereferencing issue and add chmod error handling(elm_code_file)
Removes unreachable codes(efl_ui_win)

Change-Id: Idbe6fcdf8f60597c8cffe918667f10f09e7f0f83

5 years agodisable rlottie dependency. 06/198706/1 accepted/tizen/unified/20190130.053657 submit/tizen/20190129.023343
Hermet Park [Tue, 29 Jan 2019 01:35:51 +0000 (10:35 +0900)]
disable rlottie dependency.

cut-off dependency to resolve packaging breakage.

Change-Id: I2c40805980b069c0ba09452c99676567124f60c0

5 years agoRevert "edje_cc: fail upon detecting invalid part description references in programs" 59/198659/1 submit/tizen/20190128.120547
Hermet Park [Mon, 28 Jan 2019 12:01:23 +0000 (21:01 +0900)]
Revert "edje_cc: fail upon detecting invalid part description references in programs"

This reverts commit fdec1b505eaf7d79eaba932cc0bafedfe3177d6f.

Change-Id: I38462a5e89facd0452f2c9f6561a62096de0f2fb

5 years agoevas vg: fix a regression bug in caching logic. 38/198638/1
Hermet Park [Mon, 28 Jan 2019 08:27:20 +0000 (17:27 +0900)]
evas vg: fix a regression bug in caching logic.

drop previous cached surface if new caching surface is coming,
Now, evas vg could keep only 1 surface cache ignoring size.

Change-Id: I0144cbe1fac839e82d730370f27dca3e7b878688

5 years agoevas vg: improve masking render logic. 32/198632/1
Hermet Park [Mon, 28 Jan 2019 07:53:42 +0000 (16:53 +0900)]
evas vg: improve masking render logic.

Previous masking image is generated on vg rendering time,
though context is changed to main vg rendering to masking,
This had a issue that ector context switching which is not allowed
in software backend because of asynchronou method.

Now, this improvment brings the masking rendering move to
vg render pre step with synchronous rendering method,
then use the masking surface in the main vg rendering.

Change-Id: I59b4c14899a9c3cd794273bf46e3c286c15561a3

5 years agoelm_win_legacy: remove '@remarks' messages 16/198116/2
Taehyub Kim [Mon, 21 Jan 2019 05:01:27 +0000 (14:01 +0900)]
elm_win_legacy: remove '@remarks' messages

Change-Id: Id01af0b4b06763a81d0a3e6b3ee434bd3211de4e

5 years agoefl_ui_animation: fix wrong installation header files. 85/198385/1 submit/tizen/20190128.112154
Hermet Park [Thu, 24 Jan 2019 08:28:17 +0000 (17:28 +0900)]
efl_ui_animation: fix wrong installation header files.

Change-Id: I885ef7c946fc8b63541e8483e2c69a3ca051eccc

5 years agoEo: up to date with latest interface grammar.
JunsuChoi [Thu, 24 Jan 2019 05:15:47 +0000 (14:15 +0900)]
Eo: up to date with latest interface grammar.

Change-Id: I4c4bb917e04a332e716065b27c8a25a7aa01e6a3

5 years agoecore: fix memory leak when shutding down the application.
Cedric BAIL [Sat, 12 Jan 2019 01:58:23 +0000 (17:58 -0800)]
ecore: fix memory leak when shutding down the application.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7653

5 years agoeina: fix memory leak when a Eina_Value as promise is returned, but no dispatching...
Cedric BAIL [Sat, 12 Jan 2019 01:57:40 +0000 (17:57 -0800)]
eina: fix memory leak when a Eina_Value as promise is returned, but no dispatching Eina_Future is listening on it.

Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7652

5 years agoefl_ui_image: implement the last two APIs from edje
Marcel Hollerbach [Wed, 23 Jan 2019 19:55:51 +0000 (14:55 -0500)]
efl_ui_image: implement the last two APIs from edje

Summary:
this just takes the API and redirects it to the internal edje object if
there is any. If there is no edje object, then just default values are
returned.

ref T5719
Depends on D7738

Reviewers: zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T5719

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

5 years agoelm: note down all composite sections for widgets
Marcel Hollerbach [Wed, 23 Jan 2019 19:55:44 +0000 (14:55 -0500)]
elm: note down all composite sections for widgets

Summary:

A lot of new widgets are using the new Scrollmanager class, the instance of this class is then attached via composition to the widget. This is providing the implementation for Efl.Ui.Scrollbar & Efl.Ui.Scrollable_Interactive.

In the text widgets the same applies to the internal interactive text widgets.

The tags widget is using the text entry as composite, and thus provides efl.ui.text api.

The addition of those composite { } sections are removing the particular unimplemented APIs from the eolian errors.

ref T7652
Depends on D7737

Reviewers: zmike

Reviewed By: zmike

Subscribers: zmike, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7652

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

5 years agoefl_ui_widget_focus_manager: this uses composition to call focus manager
Marcel Hollerbach [Wed, 23 Jan 2019 19:55:37 +0000 (14:55 -0500)]
efl_ui_widget_focus_manager: this uses composition to call focus manager

Summary:
ref T7652
Depends on D7735

Reviewers: zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7652

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

5 years agoefl_ui_video: Efl.Player is used from the emotion object.
Marcel Hollerbach [Wed, 23 Jan 2019 19:55:23 +0000 (14:55 -0500)]
efl_ui_video: Efl.Player is used from the emotion object.

Summary:
ref T7652

Depends on D7734

Reviewers: cedric, zmike, stefan_schmidt

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7652

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

5 years agoefl_ui_focus_object: provide empty on_focus_update function.
Marcel Hollerbach [Wed, 23 Jan 2019 19:55:17 +0000 (14:55 -0500)]
efl_ui_focus_object: provide empty on_focus_update function.

Summary:
there is no point in forcing users of this to implement on_focus_update.

ref T7652

Depends on D7733

Reviewers: cedric, zmike, stefan_schmidt

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7652

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

5 years agoefl_ui_win: this object calls composite_attach for efl.config
Marcel Hollerbach [Wed, 23 Jan 2019 19:55:10 +0000 (14:55 -0500)]
efl_ui_win: this object calls composite_attach for efl.config

Summary:
ref T7652

Depends on D7732

Reviewers: cedric, zmike, stefan_schmidt

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7652

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