platform/upstream/efl.git
4 years agoelm menu - fix segv on deletion/shutdown where parent was not done ok
Carsten Haitzler (Rasterman) [Wed, 15 Apr 2020 12:02:54 +0000 (13:02 +0100)]
elm menu - fix segv on deletion/shutdown where parent was not done ok

@fix

4 years agorelease: Update NEWS and bump version for 1.24.0-beta2 release
Stefan Schmidt [Wed, 15 Apr 2020 11:50:55 +0000 (13:50 +0200)]
release: Update NEWS and bump version for 1.24.0-beta2 release

4 years agodoxygen docs: Fix invalid doxygen output
Xavi Artigas [Wed, 15 Apr 2020 09:33:15 +0000 (11:33 +0200)]
doxygen docs: Fix invalid doxygen output

This particular line produces mismatched XML and HTML tags:
"force a <b>rendering update on <code>ee</b></code>"

4 years agodoxygen docs: Define a couple missing ELM_WIN types
Xavi Artigas [Tue, 14 Apr 2020 16:44:45 +0000 (18:44 +0200)]
doxygen docs: Define a couple missing ELM_WIN types

4 years agodoxygen docs: Fix Elm_Toolbar groups
Xavi Artigas [Tue, 14 Apr 2020 16:24:43 +0000 (18:24 +0200)]
doxygen docs: Fix Elm_Toolbar groups

4 years agodoxygen docs: Fix several invalid refs in Elm
Xavi Artigas [Tue, 14 Apr 2020 16:13:12 +0000 (18:13 +0200)]
doxygen docs: Fix several invalid refs in Elm

4 years agodoxygen docs: Fix missing docs in Edje
Xavi Artigas [Tue, 14 Apr 2020 15:58:13 +0000 (17:58 +0200)]
doxygen docs: Fix missing docs in Edje

4 years agodoxygen docs: Fix misplaced Evas_Font group tags
Xavi Artigas [Tue, 14 Apr 2020 14:53:25 +0000 (16:53 +0200)]
doxygen docs: Fix misplaced Evas_Font group tags

Putting things in the wrong group really messes up the organization.

4 years agodoxygen docs: Proper usage of @ingroup and @addtogroup
Xavi Artigas [Tue, 14 Apr 2020 14:11:04 +0000 (16:11 +0200)]
doxygen docs: Proper usage of @ingroup and @addtogroup

This patch brings in a lot of docs which were missing before.
Unfortunately, this brings along their warnings so this ends up adding
more warnings than it fixes. Still, a step in the right direction.

@ingroup puts the current block into the specified group, but IT DOES NOT
allow opening groups with @{.
This was used in lots of places, resulting in misplaced or ignored documentation.
@ingroup should be used only in individual docs. For groups we use @defgroup and
@addtogroup.

Also,this patch adds some small missing docs.

4 years agodoxygen docs: Fix double group
Xavi Artigas [Tue, 14 Apr 2020 10:49:53 +0000 (12:49 +0200)]
doxygen docs: Fix double group

And missing group title in one of them.

4 years agoefl_ui_focus_manager: correct check
Marcel Hollerbach [Tue, 14 Apr 2020 16:29:57 +0000 (12:29 -0400)]
efl_ui_focus_manager: correct check

Summary:
this check was checking for focus_manager to be window_root. This is not
correct, it should check for the root element.

ref D11667
Depends on D11705

Reviewers: zmike, segfaultxavi

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoecore_evas_x: fix typo'ed function name
Marcel Hollerbach [Tue, 14 Apr 2020 15:34:43 +0000 (17:34 +0200)]
ecore_evas_x: fix typo'ed function name

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11705

4 years agoelm_dnd: complete the list of text types
Marcel Hollerbach [Sat, 11 Apr 2020 17:09:21 +0000 (19:09 +0200)]
elm_dnd: complete the list of text types

the text types added here were present as "TEXT" in selection manager,
so add them here again.

Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11684

4 years agobuild: fix libraries of efreet-mime -trash
Marcel Hollerbach [Tue, 14 Apr 2020 15:32:45 +0000 (11:32 -0400)]
build: fix libraries of efreet-mime -trash

Summary:
the dependencies were simply wrong.
Depends on D11684

Reviewers: zmike, stefan_schmidt, raster

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoecore_evas_x: add safety check for data in converter
Marcel Hollerbach [Tue, 14 Apr 2020 15:29:50 +0000 (11:29 -0400)]
ecore_evas_x: add safety check for data in converter

Summary:
since the existance of seleciton manager, the converter callbacks from
ecore_x are expecting custom struct pointers. However, enlightenment
never updated to use the elm dnd API for client side usages. Which
results in the fact that sometimes, when a client sents Notify, and
e_dnd is active, that this converter is executed with the wrong data.

With this commit the data passed in is ensured to have the correct magic
number. The proper solution for this would either be registering the
correct converters in enlightenment, or update to elm_drag. However,
since the continues cried river over the last 5 days has raised enough
hydro power to add these changes. This leaves us with just one question:
How was it possible to generate so many messages about a problem that
can be solved in a fraction of charaters that have been written?

fixes <a-issue-that-was-never-created>
Depends on D11700

Reviewers: zmike, stefan_schmidt, raster

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoecore_evas_x: reject the promise instead of return
Marcel Hollerbach [Tue, 14 Apr 2020 15:29:46 +0000 (11:29 -0400)]
ecore_evas_x: reject the promise instead of return

Summary:
this is needed in order to tell the API user that this is not going to
be completed.
Depends on D11699

Reviewers: zmike, raster, stefan_schmidt

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoecore_evas: add API for finding out if event is used
Marcel Hollerbach [Tue, 14 Apr 2020 15:29:43 +0000 (11:29 -0400)]
ecore_evas: add API for finding out if event is used

Summary:
ecore_x_dnd_send_status can be used to indicate if a item can be dropped
on a client or not. However, we should only indicate that this can be
dropped, if there is a object we signaled that a drop is in.

Long story short: there is no assertion that after indicating that
things can be dropped, that a notify for the data is sent. A drag
implementation should always listen to a mouse up event, and abort the
drag if no further operations are sent.
Depends on D11698

Reviewers: zmike, stefan_schmidt, raster

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoelm_dnd: support target setting on none evas_objects
Marcel Hollerbach [Tue, 14 Apr 2020 15:29:39 +0000 (11:29 -0400)]
elm_dnd: support target setting on none evas_objects

Summary:
before this only worked for elm widgets. This however is the same
behaviour as in efl_ui_selection_manager.c. So this restores the
behaviour prior to selection_manager.

Depends on D11697

Reviewers: zmike, stefan_schmidt, raster

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoecore_evas_x: allow parsing of links form the link list
Marcel Hollerbach [Tue, 14 Apr 2020 15:29:32 +0000 (11:29 -0400)]
ecore_evas_x: allow parsing of links form the link list

Summary:
this is needed in order to return the data the same way the legacy impl
did. This however has the annoying sideeffect that ecore_evas_x now
depends on efreet, and we had to change the build order.
Depends on D11696

Reviewers: zmike, stefan_schmidt, raster

Reviewed By: zmike

Subscribers: devilhorns, cedric, #reviewers, #committers

Tags: #efl

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

4 years agoelm_slider: create timer for hiding later
Marcel Hollerbach [Tue, 14 Apr 2020 15:29:28 +0000 (11:29 -0400)]
elm_slider: create timer for hiding later

Summary:
_popup_show deletes the hide timer, hence we need to create the timer
later on, or this will not automatically hide the indicator.

Reviewers: stefan_schmidt, zmike, Jaehyun_Cho

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl_ui_focus_layer: correctly dismantle redirect chain
Marcel Hollerbach [Tue, 14 Apr 2020 15:29:25 +0000 (11:29 -0400)]
efl_ui_focus_layer: correctly dismantle redirect chain

Summary:
when a redirect manager is unset, all focus managers in the chain upper
to the set manager must be unset. The code uses redirect manager == NULL
as an check for the manager to be active or not.

ref D11667
Depends on D11671

Reviewers: zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl_ui_focus_manager: do not magically set focus to new elements
Marcel Hollerbach [Tue, 14 Apr 2020 15:29:18 +0000 (11:29 -0400)]
efl_ui_focus_manager: do not magically set focus to new elements

Summary:
otherwise this focus manager might get activated again.

ref D11667
Depends on D11670

Reviewers: zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl_ui_focus_manager: do not fallback to the same object
Marcel Hollerbach [Tue, 14 Apr 2020 15:29:12 +0000 (11:29 -0400)]
efl_ui_focus_manager: do not fallback to the same object

Summary:
when redirect gets unset, we shound search for a fallback. However, we
should never fallback to the value we have unset.

ref D11667
Depends on D11669

Reviewers: zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl_ui_focus_manager: refactor _request_subchild_except
Marcel Hollerbach [Tue, 14 Apr 2020 15:29:05 +0000 (11:29 -0400)]
efl_ui_focus_manager: refactor _request_subchild_except

Summary:
this is more usefull with a focusable and not a node, since the node can
be already freed in some cases.

ref D11667

Reviewers: zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl/wl: fix namespacing conflict in rotation enum
Mike Blumenkrantz [Wed, 8 Apr 2020 13:47:53 +0000 (09:47 -0400)]
efl/wl: fix namespacing conflict in rotation enum

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

4 years agomeson: do not install namespace problem legacy files
Marcel Hollerbach [Tue, 7 Apr 2020 11:19:10 +0000 (13:19 +0200)]
meson: do not install namespace problem legacy files

these files are not required for the unified API, but they have
namespace problems, so for now, do not install them

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

4 years agoefl_input_text: rename namespace
Marcel Hollerbach [Tue, 7 Apr 2020 11:53:18 +0000 (13:53 +0200)]
efl_input_text: rename namespace

Efl.Input_Text is a namespace which should not be a interface in the
same moment. So rename this to Efl.Input_Text.Entity

ref T8648

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

4 years agoFix namespace clashes for Efl.Text.Cursor
Xavi Artigas [Tue, 7 Apr 2020 11:11:13 +0000 (11:11 +0000)]
Fix namespace clashes for Efl.Text.Cursor

Three renames are applied here:
Efl.Text.Cursor -> Efl.Text_Cursor.Object (class)
Efl.Text.Cursor_Type -> Efl.Text_Cursor.Type (enum)
Efl.Text.Cursor_Move_Type -> Efl.Text_Cursor.Move_Type (enum)

Nothing changes for the enums on the C side. For the class... Well,
the method names are a bit more verbose now.

These renames are required to avoid clashing with the Efl.Text interface.
This did not cause trouble to C# because interfaces are prefixed with "I",
but it did cause trouble to Eolian when the EO files were installed and
somebody tried to use them.
Ref T8648

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

4 years agoefl_text_formatter: rename from Efl.Text.Formatter to Efl.Text_Formatter
Marcel Hollerbach [Tue, 7 Apr 2020 10:05:15 +0000 (12:05 +0200)]
efl_text_formatter: rename from Efl.Text.Formatter to Efl.Text_Formatter

this is needed in order to not collide with the Efl.Text Interface.
Theoretically eolian should have ordered on that, however, the checks
are buggy and only work out of tree.

ref T8648

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

4 years agoEfl.Canvas.Vg.Container: Prevent duplicate transpacency calculation. 39/230739/1
JunsuChoi [Tue, 14 Apr 2020 02:38:27 +0000 (11:38 +0900)]
Efl.Canvas.Vg.Container: Prevent duplicate transpacency calculation.

Summary:
If Vg.Container has transparency, this is calculated by _evas_vg_render
in Efl.Canvas.Vg.Object. Therefore, there is no need to propagate
the transparency of the container to the child. _evas_vg_render pre-draws
all children and calculates transparency in batches for avoid duplicate calculation.

Test Plan: N/A

Reviewers: Hermet, kimcinoo, herb

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: If1ffe9e6f4799cc42189b55bf515698e4ecbf84c

4 years agoevas_main: add null check for safety 17/230717/1 submit/tizen/20200414.010532 submit/tizen/20200414.064511 submit/tizen/20200414.100322
WooHyun Jung [Mon, 13 Apr 2020 23:49:42 +0000 (08:49 +0900)]
evas_main: add null check for safety

Change-Id: I6cc353ef2f88ec626c5564bd148801d6eb0a2ca2

4 years agoedje_calc: add null check after eet_read
WooHyun Jung [Mon, 13 Apr 2020 01:39:34 +0000 (10:39 +0900)]
edje_calc: add null check after eet_read

4 years agoeo: null check for vtable allocation 88/230688/1
Yeongjong Lee [Mon, 13 Apr 2020 10:50:43 +0000 (19:50 +0900)]
eo: null check for vtable allocation

Reviewers: bu5hm4n, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I305262499dc0af9d9de96ad2daf5335a3b8e1cf0

4 years agogenlist: fix wrong return type 73/230673/1
SangHyeon Jade Lee [Mon, 13 Apr 2020 06:41:01 +0000 (15:41 +0900)]
genlist: fix wrong return type

Change-Id: Ie559847ca82d5d999148458916c4d58e99efc914
(cherry picked from commit 0df97e7a1de61cb25c79abc15cb269d62b7575fe)

4 years agoEctor: Refer to visibility of Ector_Renderer when doing rle_update. 42/230642/1
JunsuChoi [Mon, 13 Apr 2020 04:41:17 +0000 (13:41 +0900)]
Ector: Refer to visibility of Ector_Renderer when doing rle_update.

Summary:
An object with visibility false may not have a normal path or data.
It can cause invalid access or affect other ector renderers.
This is a patch to prevent them.

Test Plan: N/A

Reviewers: Hermet, kimcinoo, herb

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: Iac4a85be912076bd4eb6b36add07b988532112d6

4 years agoelm_cnp: fix memory leaks 37/230637/1
Taehyub Kim [Mon, 13 Apr 2020 06:16:04 +0000 (15:16 +0900)]
elm_cnp: fix memory leaks

Summary:
In copy and paste logic, there are some memory leaks logic.
so fixed.
@fix

Reviewers: bu5hm4n, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I60cd000315dfdc194e980d241c7d83d4be5eeb6b

4 years agoevas text: fix memory leak. 33/230633/1
Hermet Park [Mon, 13 Apr 2020 05:43:00 +0000 (14:43 +0900)]
evas text: fix memory leak.

Summary: free used memory properly.

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I92dd3c482970f81b0a88d78a3027e4ede4634ec6

4 years agoelm_atspi_bridge: fix memory leak 93/230593/2
Shinwoo Kim [Mon, 13 Apr 2020 02:17:19 +0000 (11:17 +0900)]
elm_atspi_bridge: fix memory leak

Summary:
Dynamic memory is allocated by calling function
'eldbus_message_iter_container_new' and lost by returning without free.

Reviewers: Hermet, woohyun, jsuya, herb

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I738496e452f1b75ff491f8bd4bccb0f4213847fa

4 years agoedje_entry: fix wrong parentheses 02/230602/1
Bowon Ryu [Mon, 13 Apr 2020 03:34:06 +0000 (12:34 +0900)]
edje_entry: fix wrong parentheses

Change-Id: I1503383f5bb5fd574dcbc452db48d51e5c60eb1c
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
4 years agoevas: fix dereference after null check 76/230576/2
Shinwoo Kim [Fri, 10 Apr 2020 12:45:22 +0000 (08:45 -0400)]
evas: fix dereference after null check

Summary:
Static analysis tool reports passing a null pointer 'im->gc' to
_evas_gl_image_cache_add which directly dereferences it, so lets
be sure that 'im->gc' is valid before passing it to cache_add

Reviewers: Hermet, jsuya, herb, zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I19652a95320216c141a7b7acd64e1de5403107cc

4 years agofix buid on bsd submit/tizen/20200412.213308
Carsten Haitzler (Rasterman) [Sun, 12 Apr 2020 18:20:13 +0000 (19:20 +0100)]
fix buid on bsd

4 years agoecore con - clean up file lock andunlock on failed bind
Carsten Haitzler (Rasterman) [Sun, 12 Apr 2020 17:30:36 +0000 (18:30 +0100)]
ecore con - clean up file lock andunlock on failed bind

didnt do this if bind failed... so do it now.

4 years agoecore-evas - x dnd/cnp - handle null data content and not segv
Carsten Haitzler (Rasterman) [Sun, 12 Apr 2020 12:21:56 +0000 (13:21 +0100)]
ecore-evas - x dnd/cnp - handle null data content and not segv

4 years agoevas: fix dereference after null check
Shinwoo Kim [Fri, 10 Apr 2020 12:45:22 +0000 (08:45 -0400)]
evas: fix dereference after null check

Summary:
Static analysis tool reports passing a null pointer 'im->gc' to
_evas_gl_image_cache_add which directly dereferences it, so lets
be sure that 'im->gc' is valid before passing it to cache_add

Reviewers: Hermet, jsuya, herb, zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefreetd - ensure on bsd where connects succed despite daemon being gone
Carsten Haitzler (Rasterman) [Thu, 9 Apr 2020 23:15:30 +0000 (01:15 +0200)]
efreetd - ensure on bsd where connects succed despite daemon being gone

just get it to work... getting unamused with this.

4 years agoefreet - try less chaotic efreetd restart and delay 0.5-1.0 rand sec
Carsten Haitzler (Rasterman) [Thu, 9 Apr 2020 19:45:57 +0000 (20:45 +0100)]
efreet - try less chaotic efreetd restart and delay 0.5-1.0 rand sec

try work on T8490

4 years agotests: popup
Alastair Poole [Thu, 9 Apr 2020 10:44:27 +0000 (11:44 +0100)]
tests: popup

I missed this warning on this machine apologies for the
unnecessary noise.

4 years agotests: Add case to match ephoto behaviour.
Alastair Poole [Thu, 9 Apr 2020 10:41:05 +0000 (11:41 +0100)]
tests: Add case to match ephoto behaviour.

4 years agopopup: add safe code for notify position 71/230271/2
Taehyub Kim [Thu, 9 Apr 2020 05:25:19 +0000 (14:25 +0900)]
popup: add safe code for notify position

when calculating scroller size, notify position y value is used.
If parent position of notify is changed, the position of notify should be recalculated
for calculating correct scroller size.

Change-Id: I58a4f51ab39ab13844a0354cff761b8dc237ffc4

4 years agoflipselector: returns invalid widget 19/230219/3
Bartlomiej Grzelewski [Wed, 8 Apr 2020 14:54:50 +0000 (16:54 +0200)]
flipselector: returns invalid widget

Widget returned by flip selector does not contains
x,y coordinates.

Change-Id: Id9df8a683909403d3a8d7e02afb90f4ce8971038

4 years agoelm_dnd: null check for safety accepted/tizen/unified/20200409.083730 submit/tizen/20200408.212617
Yeongjong Lee [Wed, 8 Apr 2020 10:53:17 +0000 (10:53 +0000)]
elm_dnd: null check for safety

Also, it needs to keep backward compatibility.

Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11666

4 years agorelease: Update NEWS and bump version for 1.24.0-beta1 release
Stefan Schmidt [Wed, 8 Apr 2020 09:48:46 +0000 (11:48 +0200)]
release: Update NEWS and bump version for 1.24.0-beta1 release

4 years agowayland: don't resize the window if the size is zero at rotation. 60/230060/3
Hermet Park [Tue, 7 Apr 2020 12:40:04 +0000 (21:40 +0900)]
wayland: don't resize the window if the size is zero at rotation.

Acoording to tizen wl specification,
client should resize the window at rotation only if the size is larger than zero.

Previously, partial window rotation was broken due to wrong understanding.

Change-Id: I269efd2bcfbbd198bdc5a5aa3d3355394a56304f

4 years ago[Genlist] Allow bottom margin to take size as per last item height in item align...
Godly Thekkethottiyil Alias [Tue, 7 Apr 2020 10:12:37 +0000 (15:42 +0530)]
[Genlist] Allow bottom margin to take size as per last item height in item align enabled case

Change-Id: I6fcc26556170fdfa4c25a119cd0b77fe2592583d
Signed-off-by: Godly Thekkethottiyil Alias <godly.talias@samsung.com>
4 years agospinner - add some signal for haptic, changing value
HyukSoon Choi [Fri, 3 Apr 2020 00:48:40 +0000 (09:48 +0900)]
spinner - add some signal for haptic, changing value

Change-Id: I5509d2035dff6f228d675c496ac343da77dc5bc2
Signed-off-by: HyukSoon Choi <hs619.choi@samsung.com>
4 years agoelm_entry, accessibility: Send utf8 text instead of markup to ATSPI client submit/tizen/20200407.212858
Shilpa Singh [Tue, 7 Apr 2020 11:23:46 +0000 (20:23 +0900)]
elm_entry, accessibility: Send utf8 text instead of markup to ATSPI client

Summary:
Markup text cannot be read as per expectation by a text to speech engine, hence send text
in UTF8 format

Test Plan: Test the text returned by connecting to object:text-changed:insert and object:text-changed:delete events in ATSPI-clients

Reviewers: kimcinoo

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl_ui_dnd: cleanup when backend failed to create dnd op
Marcel Hollerbach [Mon, 6 Apr 2020 10:37:40 +0000 (12:37 +0200)]
efl_ui_dnd: cleanup when backend failed to create dnd op

this is needed to not have a dead window on the screen.

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

4 years agoecore_evas_cocoa: be aware of NULL data
Marcel Hollerbach [Mon, 6 Apr 2020 10:35:44 +0000 (12:35 +0200)]
ecore_evas_cocoa: be aware of NULL data

this will now result in the promise beeing rejected.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11653

4 years agomeson: do no build upower on macos
Marcel Hollerbach [Mon, 6 Apr 2020 10:21:17 +0000 (12:21 +0200)]
meson: do no build upower on macos

this is just causing errors and nothing usefull, upower is not available
on macos.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11652

4 years agomeson: build modules on macos as .so
Marcel Hollerbach [Mon, 6 Apr 2020 09:50:34 +0000 (11:50 +0200)]
meson: build modules on macos as .so

this is needed in order to support ecore-evas loading of .so modules

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11651

4 years agomeson: support unified suffixes for modules
Marcel Hollerbach [Mon, 6 Apr 2020 09:41:28 +0000 (11:41 +0200)]
meson: support unified suffixes for modules

A long story in a few words: sometimes on macos modules will be compiled
into .dylib, sometimes, into .so suffix. We did not set the suffix
everywhere in our meson build instructions, hence our suffixes have been
differently, which resulted in random load fails on different maschines.

With this commit, we ensure that we suffix all modules the same way.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11650

4 years agoci: force system zlib on osx
Mike Blumenkrantz [Mon, 6 Apr 2020 21:24:07 +0000 (17:24 -0400)]
ci: force system zlib on osx

osx doesn't ship a pkgconfig file for its own zlib, so now we're shipping
a pkgconfig file for their zlib to avoid future issues

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

4 years agoevas: prepare for cur beeing NULL
Marcel Hollerbach [Mon, 6 Apr 2020 14:16:30 +0000 (16:16 +0200)]
evas: prepare for cur beeing NULL

debug name could be called during any time, even before the constructor,
of this super class is hit. So cur can be NULL here.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11659

4 years agoelementary: add @ingroup to open the APIs publicly 95/229995/2
Jaehyun Cho [Tue, 7 Apr 2020 05:05:50 +0000 (14:05 +0900)]
elementary: add @ingroup to open the APIs publicly

To open the following APIs publicly, the APIs are added to @ingroup.
- elm_object_scroll_back_to_top_enabled_set
- elm_object_scroll_back_to_top_enabled_get
- elm_object_scroll_back_to_top_cb_set
- elm_naviframe_item_push_from

@tizen_only

Change-Id: I58a615380dc110578df44ec3a191b1cafbd84e79

4 years agoelm_win: ingroup new public elm_win_aux_msg... APIs 89/229989/1
Myoungwoon Roy, Kim [Tue, 7 Apr 2020 05:04:45 +0000 (14:04 +0900)]
elm_win: ingroup new public elm_win_aux_msg... APIs

Change-Id: Idd4d9b991a199cd65fbb75ec675563892f3801dc

4 years agoeo: only prepare a empty node 50/229950/1 submit/tizen/20200406.235844
Marcel Hollerbach [Mon, 6 Apr 2020 23:44:17 +0000 (08:44 +0900)]
eo: only prepare a empty node

Summary:
do not take over complete vtables.
This might fix wrong vtable settings when a type is not in the
inheritance of another type, but the function is implemented.

Reviewers: woohyun

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I03c24758082cd28171979a035e3d75bfa106a954

4 years agoelm icon/image efl ui image - respect aspect hints at all if set
Carsten Haitzler (Rasterman) [Mon, 6 Apr 2020 18:33:30 +0000 (19:33 +0100)]
elm icon/image efl ui image - respect aspect hints at all if set

these did not even look at aspect hints when calculating sizing. that
means any attempt to set them would lead to... nothing useful. this
handles horiz/vert/both cases (as best as is possible).

@fix

This reverts previous commit and fixes it in the box layout to respect
aspect in elm boxes. note - this probably needs doing in other
containers too like table...

Revert "elm icon/image efl ui image - respect aspect hints at all if set"

4 years agoelm icon/image efl ui image - respect aspect hints at all if set
Carsten Haitzler (Rasterman) [Mon, 6 Apr 2020 11:38:33 +0000 (12:38 +0100)]
elm icon/image efl ui image - respect aspect hints at all if set

these did not even look at aspect hints when calculating sizing. that
means any attempt to set them would lead to... nothing useful. this
handles horiz/vert/both cases (as best as is possible).

@fix

4 years agoefl.ui.textbox: add test case for copy/paste results
Ali [Fri, 3 Apr 2020 16:11:24 +0000 (16:11 +0000)]
efl.ui.textbox: add test case for copy/paste results

since paste is now  working when called from user source code, this test case can be added

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

4 years agobuild: add version to exactness libs
Marcel Hollerbach [Mon, 6 Apr 2020 05:46:48 +0000 (07:46 +0200)]
build: add version to exactness libs

this patch was submitted through the bugtracker by Andrew Brouwers.

Thank you!

fixes T8644

4 years agoemile: fix a potentional resource leaking.
Wonki Kim [Tue, 17 Mar 2020 04:51:02 +0000 (04:51 +0000)]
emile: fix a potentional resource leaking.

'ctx' can be leaked in some case.
this pathc fixes it.

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

4 years agoecore_evas: fix leaks in macos and win32
Marcel Hollerbach [Fri, 3 Apr 2020 15:20:34 +0000 (17:20 +0200)]
ecore_evas: fix leaks in macos and win32

memory is duplicated in eina_content_new.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11641

4 years agoui textpath: removed unused var. 90/229890/1
Hermet Park [Mon, 6 Apr 2020 08:21:17 +0000 (17:21 +0900)]
ui textpath: removed unused var.

Change-Id: Ib9efde3fbb0da2764a96b30fa3a4424113c4a761

4 years agoui textpath: update map before rendering begins. 89/229889/1
Hermet Park [Mon, 6 Apr 2020 08:14:40 +0000 (17:14 +0900)]
ui textpath: update map before rendering begins.

previously, textpath delays the map calculation to avoid duplicated jobs.
some cases, this job could be delayed to the next frame that occured a
wrong frame result.

This render_pre event gurantees the textpath to update frames exactly.

@fix

Change-Id: I62f61a41991c20299e75df09e014b7357df47233

4 years agoecore_buffer: deprecate unused API and structure 32/228632/4
Junkyeong Kim [Tue, 24 Mar 2020 08:03:29 +0000 (17:03 +0900)]
ecore_buffer: deprecate unused API and structure

Change-Id: I6425deb0097efb96f2c6f4e9018ff55db3f67fe7
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agotests/hover: add behavior tests for elm_hover submit/tizen/20200405.220557
Mike Blumenkrantz [Tue, 31 Mar 2020 16:58:47 +0000 (12:58 -0400)]
tests/hover: add behavior tests for elm_hover

verify geometry and smart callback triggering

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

4 years agotests/layout: add explicit test for freeze and thaw no-op correctness
Mike Blumenkrantz [Tue, 31 Mar 2020 16:58:09 +0000 (12:58 -0400)]
tests/layout: add explicit test for freeze and thaw no-op correctness

this shouldn't trigger any canvas changes since nothing is happening
during the freeze

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

4 years agotests/elm: add wrapper for forcing manual render in tests
Mike Blumenkrantz [Tue, 31 Mar 2020 16:57:28 +0000 (12:57 -0400)]
tests/elm: add wrapper for forcing manual render in tests

this can be useful when a test needs to immediately verify whether a render
is occurring

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

4 years agotests/elm: add helper macros for asserting size and position of objects
Mike Blumenkrantz [Tue, 31 Mar 2020 16:53:10 +0000 (12:53 -0400)]
tests/elm: add helper macros for asserting size and position of objects

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

4 years agoefl_ui/layout: correctly batch object changed state when using freeze/thaw
Mike Blumenkrantz [Tue, 31 Mar 2020 16:40:25 +0000 (12:40 -0400)]
efl_ui/layout: correctly batch object changed state when using freeze/thaw

previously this would always queue a recalc when calling thaw even if the
object hadn't changed

also mimic edje internal behavior with unsetting 'frozen' during force calc
for possible future handling even though it has no effect presently

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

4 years agoeo: use eina_prefetch
Marcel Hollerbach [Tue, 24 Mar 2020 19:10:39 +0000 (20:10 +0100)]
eo: use eina_prefetch

we should prefetch the func pointer here.
Later on we are accessing the func pointer in a streak, after that, we
do not use it anymore.

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

4 years agoReplace strncmp code
Marcel Hollerbach [Mon, 30 Mar 2020 09:03:00 +0000 (11:03 +0200)]
Replace strncmp code

the structure "!strcmp(X, "foo", strlen("foo"))" is equal to
"eina_has_prefix(X, "foo")", and the later is nicer to read, hence this
replaces it.

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11620

4 years agoevas/text: remove paragraph_direction inherit during render
Mike Blumenkrantz [Fri, 20 Mar 2020 15:27:42 +0000 (11:27 -0400)]
evas/text: remove paragraph_direction inherit during render

this is unnecessary:
* for the text object itself, the value is correctly set whenever the
  paragraph_direction property is changed
* for inheritance, smart object already implements propagation which triggers
  on member add or property change

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

4 years agoecore-evas/cocoa: fix cnp leak
Mike Blumenkrantz [Thu, 26 Mar 2020 14:46:20 +0000 (10:46 -0400)]
ecore-evas/cocoa: fix cnp leak

this pointer needs to be freed if it's being copied

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

4 years agoelm_entry: using keycode for main keyboard shortcuts
Ali [Fri, 27 Mar 2020 06:07:16 +0000 (06:07 +0000)]
elm_entry: using keycode for main keyboard shortcuts

Previously we use key strings to detect keyboard shortcuts (for example copy/paste/select_all, .. etc)
Now we will use key code alongside with these key strings (I do not remove the key string, because I am afraid something depends on them because some methods do not send keycode with keys)

This issue can be easily detected when the keyboard layout is not a Latin language, for example Hitting "C" will produce key string depends on related language not letter C, but Keycodes remain the same regardless of keyboard layout.

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

4 years agocode: Silence compiler warnings.
Alastair Poole [Fri, 3 Apr 2020 10:38:48 +0000 (11:38 +0100)]
code: Silence compiler warnings.

4 years agoedje_legacy: Remove EINA_UNUSED when obj is actually used
ProhtMeyhet [Fri, 6 Mar 2020 21:21:58 +0000 (21:21 +0000)]
edje_legacy: Remove EINA_UNUSED when obj is actually used

This removes EINA_UNUSED when obj is actually used
like in a call ed = _edje_fetch(obj);
Please note the macro GET_REAL_PART_ON_FAIL_RETURN
also uses obj.

No functional changes, just cleanup.

Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11471

4 years agofree memory in clipboard notify event and fix clipboard clear event
Vincent Torri [Tue, 24 Mar 2020 14:05:19 +0000 (14:05 +0000)]
free memory in clipboard notify event and fix clipboard clear event

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11564

4 years agobuild: resolve migration build error (bump version for 1.24)
Jongmin Lee [Fri, 3 Apr 2020 02:08:01 +0000 (11:08 +0900)]
build: resolve migration build error (bump version for 1.24)

Change-Id: I5a03078bb805032cc5920416ef2724e3291dfbc0

4 years agoelementary - get/set resources for extension theme to load bundle of Elm_Color_Overla...
Seungwan Woo [Wed, 26 Feb 2020 06:00:57 +0000 (15:00 +0900)]
elementary - get/set resources for extension theme to load bundle of Elm_Color_Overlay / Elm_Font_Overlay

Change-Id: If248a48a03a9dd559475a82a8d55d5b7e4b41076
Signed-off-by: Seungwan Woo <s-w.woo@samsung.com>
4 years agoAdd debug information to ecore_event
HyukSoon Choi [Tue, 31 Mar 2020 04:57:31 +0000 (13:57 +0900)]
Add debug information to ecore_event

- add debug information which for analyzing of many issues related to touch event.
Sometimes we need more information regarding touch events of ecore layer.
(ex. position, timestamp, etc)

Change-Id: I76ee7f9faf6027c914237355be4f3c2eaaf74dcb
Signed-off-by: HyukSoon Choi <hs619.choi@samsung.com>
4 years agoevas_object_main: skip processing when there is no pointer data.
Hosang Kim [Tue, 31 Mar 2020 07:09:35 +0000 (16:09 +0900)]
evas_object_main: skip processing when there is no pointer data.

@tizen_only

Change-Id: Ide0f64bda6f2d11e50b51c9d764eafec9213c71e

4 years agoBack to top feature Contribution.
Godly T.Alias [Fri, 27 Mar 2020 09:06:07 +0000 (14:36 +0530)]
Back to top feature Contribution.

Change-Id: I06224bed8b8fb7cb9354d619a1338ee1802e9cbe
Signed-off-by: Suresh Kumar <suresh.ku1@samsung.com>
4 years ago[text marquee] Fix text marquee with textblock fit.
Subodh Kumar [Wed, 22 Jan 2020 13:30:58 +0000 (19:00 +0530)]
[text marquee] Fix text marquee with textblock fit.

test plan: Please test with fit option and marquee enabled.

@tizen_fix

Change-Id: I51b00c0297283706bfc172b4884cf6e20ccd4305

4 years agogenlist : clean del_fx items on item clear
SangHyeon Jade Lee [Wed, 25 Mar 2020 09:15:01 +0000 (18:15 +0900)]
genlist : clean del_fx items on item clear

del_fx items are already invalidated,
so sd->items walking is broken as efl_del won't able to call
item_free().

so clean del_fx items before sd->items walking.

Change-Id: I1b61f96d58b59a698a08bc0a5ebbd72cbd59df9d

4 years agogenlist : freeze the event before select item
SangHyeon Jade Lee [Mon, 23 Mar 2020 11:15:12 +0000 (20:15 +0900)]
genlist : freeze the event before select item

this is revert patch of commented freeze_events on genlist.

Change-Id: I7e6d2021c2eb37bbc3aa06feb53190c3b3ddede2

4 years agoscroll_interface : change animator object as pan to prventing event freezer
SangHyeon Jade Lee [Mon, 23 Mar 2020 10:55:33 +0000 (19:55 +0900)]
scroll_interface : change animator object as pan to prventing event freezer

Change-Id: I574d1afd2797d5213ff5c7d201dacc3c91df7746

4 years agogenlist : do not calc deferring on scroll in center align mode
SangHyeon Jade Lee [Fri, 20 Mar 2020 08:22:20 +0000 (17:22 +0900)]
genlist : do not calc deferring on scroll in center align mode

Change-Id: Ie98ce347c436b6f08fb5578043a3463affe504d3

4 years ago[efl] Update 'gototop' to 'backtotop'
Yukti Pandey [Mon, 16 Mar 2020 10:59:27 +0000 (16:29 +0530)]
[efl] Update 'gototop' to 'backtotop'

Updated all gototop code with backtotop

Change-Id: Ife763dd93719771fad66b9b316c019f464759590
Signed-off-by: Yukti Pandey <yukti.pandey@samsung.com>
4 years agoRemove remarks flag of elm_win_aux_msg APIs
Hosang Kim [Thu, 12 Mar 2020 08:43:35 +0000 (17:43 +0900)]
Remove remarks flag of elm_win_aux_msg APIs

- elm_win_aux_msg_key_get
- elm_win_aux_msg_val_get
- elm_win_aux_msg_options_get

@tizen_only

Change-Id: Ic9624dde297385c7a0c28ca62ca8b02f3d5e0286