platform/core/uifw/dali-toolkit.git
2 years agoMerge branch 'devel/master' into tizen accepted/tizen/unified/20210818.124530 submit/tizen/20210818.031410
Wonsik Jung [Tue, 17 Aug 2021 23:55:24 +0000 (08:55 +0900)]
Merge branch 'devel/master' into tizen

2 years agoRevert "[Tizen] Change raw pointer to unique_ptr"
Wonsik Jung [Tue, 17 Aug 2021 23:55:12 +0000 (08:55 +0900)]
Revert "[Tizen] Change raw pointer to unique_ptr"

This reverts commit 3d44f4febf05c13f1fb567012bb7ec7d7a97858c.

2 years ago[Tizen] Change raw pointer to unique_ptr 14/262614/1 accepted/tizen/unified/20210817.123144 submit/tizen/20210817.021059
Bowon Ryu [Fri, 13 Aug 2021 09:20:00 +0000 (18:20 +0900)]
[Tizen] Change raw pointer to unique_ptr

The mPlaceholderFont pointer is allocated memory once only
when the text-controller uses a placeholder.
This will persist until mEventData is destroyed.
Changed to a smart pointer suitable for maintenance.

Additionally,
In SetPlaceholderTextFontWidth() and SetPlaceholderTextFontSlant(), mPlaceholderFont can not be NULL.

Even if there is no value in SetFontStyleProperty, it is always set to None,
This is because an instance of mPlaceholderFont is created through SetPlaceholderTextFontWeight(), which is called first.

So this causes coverage issues.
Replace the duplicate code with CreatePlaceholderFont() solves this problem.

Change-Id: Ibd11b02f22e505be8643c9360b5d5e5e2de1b318
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years agoMerge "Fixed IsCandidate bug" into devel/master
joogab yun [Tue, 17 Aug 2021 01:03:37 +0000 (01:03 +0000)]
Merge "Fixed IsCandidate bug" into devel/master

2 years agoMerge "Change raw pointer to unique_ptr" into devel/master
Bowon Ryu [Tue, 17 Aug 2021 01:03:23 +0000 (01:03 +0000)]
Merge "Change raw pointer to unique_ptr" into devel/master

2 years agoMerge "DALi Version 2.0.39" into devel/master
David Steele [Fri, 13 Aug 2021 13:03:57 +0000 (13:03 +0000)]
Merge "DALi Version 2.0.39" into devel/master

2 years agoDALi Version 2.0.39 91/262591/1 dali_2.0.39
Adeel Kazmi [Fri, 13 Aug 2021 12:46:37 +0000 (13:46 +0100)]
DALi Version 2.0.39

Change-Id: Ia024d79423aef61658cba1f8d9cb1162f472c2e4

2 years agoChange raw pointer to unique_ptr 83/262583/5
Bowon Ryu [Fri, 13 Aug 2021 09:20:00 +0000 (18:20 +0900)]
Change raw pointer to unique_ptr

The mPlaceholderFont pointer is allocated memory once only
when the text-controller uses a placeholder.
This will persist until mEventData is destroyed.
Changed to a smart pointer suitable for maintenance.

Additionally,
In SetPlaceholderTextFontWidth() and SetPlaceholderTextFontSlant(), mPlaceholderFont can not be NULL.

Even if there is no value in SetFontStyleProperty, it is always set to None,
This is because an instance of mPlaceholderFont is created through SetPlaceholderTextFontWeight(), which is called first.

So this causes coverage issues.
Replace the duplicate code with CreatePlaceholderFont() solves this problem.

Change-Id: Ibd11b02f22e505be8643c9360b5d5e5e2de1b318
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years agoMerge "CanvasView: Change CanvasRenderer::GetSize() method to const" into devel/master
junsu choi [Fri, 13 Aug 2021 00:14:52 +0000 (00:14 +0000)]
Merge "CanvasView: Change CanvasRenderer::GetSize() method to const" into devel/master

2 years agoMerge branch 'devel/master' into tizen accepted/tizen/unified/20210811.132057 submit/tizen/20210810.110054
Woochanlee [Tue, 10 Aug 2021 07:20:50 +0000 (16:20 +0900)]
Merge branch 'devel/master' into tizen

2 years agoMerge "Fix comments about CornerRadiusPolicy and BorderlineColor" into devel/master
Eunki Hong [Tue, 10 Aug 2021 04:41:58 +0000 (04:41 +0000)]
Merge "Fix comments about CornerRadiusPolicy and BorderlineColor" into devel/master

2 years agoFix comments about CornerRadiusPolicy and BorderlineColor 60/262360/1
Eunki, Hong [Mon, 9 Aug 2021 05:26:55 +0000 (14:26 +0900)]
Fix comments about CornerRadiusPolicy and BorderlineColor

When CornerRadiusPolicy is Relative, the maximum value is 0.5f.
If value is bigger than 0.5f, it will be clampled internally.
But we cannot notificate that informations only by documents.
Now fix it.
+
We add some more informations about borderline color;
It will be affected by visual opacity

Change-Id: Ic8afc5de3fd92b9cefcb1378959cb9ff4ab8102d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "Add TextSelect()" into devel/master
Bowon Ryu [Mon, 9 Aug 2021 04:38:35 +0000 (04:38 +0000)]
Merge "Add TextSelect()" into devel/master

2 years agoMerge "fix wrong behaviour of SelectWholeText()" into devel/master
Bowon Ryu [Mon, 9 Aug 2021 04:38:31 +0000 (04:38 +0000)]
Merge "fix wrong behaviour of SelectWholeText()" into devel/master

2 years agoMerge "Fix SetPrimaryCursorPosition() behaviour when no focus" into devel/master
Bowon Ryu [Mon, 9 Aug 2021 04:38:20 +0000 (04:38 +0000)]
Merge "Fix SetPrimaryCursorPosition() behaviour when no focus" into devel/master

2 years agoFixed IsCandidate bug 01/262301/1
joogab.yun [Fri, 6 Aug 2021 15:54:27 +0000 (00:54 +0900)]
Fixed IsCandidate bug

Change-Id: Ibaa8a6412f28acf60011173487123f0d9dc6ec08

2 years agoMerge "DALi Version 2.0.38" into devel/master
Adeel Kazmi [Fri, 6 Aug 2021 10:28:07 +0000 (10:28 +0000)]
Merge "DALi Version 2.0.38" into devel/master

2 years agoDALi Version 2.0.38 15/262315/1 dali_2.0.38
Richard Huang [Fri, 6 Aug 2021 09:47:51 +0000 (10:47 +0100)]
DALi Version 2.0.38

Change-Id: Id8fc11eea89453a28282de08ba8635d0df8006e6

2 years agoMerge "[ATSPI] Fix for SCREEN coordinate type in GetExtents" into devel/master
Eunki Hong [Fri, 6 Aug 2021 03:46:40 +0000 (03:46 +0000)]
Merge "[ATSPI] Fix for SCREEN coordinate type in GetExtents" into devel/master

2 years agoMerge "[AT-SPI] enhance SHOWING state decision logic" into devel/master
Shinwoo Kim [Fri, 6 Aug 2021 00:41:17 +0000 (00:41 +0000)]
Merge "[AT-SPI] enhance SHOWING state decision logic" into devel/master

2 years agoFixed bug 59/262259/1
joogab.yun [Thu, 5 Aug 2021 17:11:27 +0000 (02:11 +0900)]
Fixed bug

Change-Id: Ib1f9d1ebbab42399dd8437247adea2072061b30c

2 years agoFix to build incrementally with gbs 86/259386/3
Daekwang Ryu [Thu, 3 Jun 2021 06:27:49 +0000 (15:27 +0900)]
Fix to build incrementally with gbs

Incremental build with gbs calls the prep section in the rpm spec once.
It doesn't execute the section from second.

Change-Id: I5eaa375566013bd91de206a34fd0acee937a4e6b

2 years agoCheck if actor can be focused. 96/262196/3
joogab.yun [Wed, 4 Aug 2021 03:05:34 +0000 (12:05 +0900)]
Check if actor can be focused.

Change-Id: I7066fae12059dbdb29e333dd2aac653bf7656ba7

2 years agoAdd TextSelect() 09/261509/6
Bowon Ryu [Tue, 20 Jul 2021 08:39:16 +0000 (17:39 +0900)]
Add TextSelect()

This api can replace the SELECTED_TEXT_START and SELECTED_TEXT_END properties.
The feature to select a range of text should be provided as a method like SelectWholeText(), SelectNone().

Currently, the SELECTED_TEXT_START and SELECTED_TEXT_END properties are causing several problems.
1. User can not set start and end at the same time.
2. Since it is not an event method, it does not work if it is called before text is rendered.

This patch adds SelectText().
And I will make a separate patch to remove the property.

Change-Id: I5a050cd88b9597b939766e1a6ec0e39edf96e2d4
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years agoCanvasView: Change CanvasRenderer::GetSize() method to const 50/262250/1
JunsuChoi [Thu, 5 Aug 2021 06:19:27 +0000 (15:19 +0900)]
CanvasView: Change CanvasRenderer::GetSize() method to const

Change-Id: Ia75ec89ae37ef457102e124eb4ad186dcee480b3

2 years agofix wrong behaviour of SelectWholeText() 53/261153/6
Bowon Ryu [Mon, 12 Jul 2021 10:56:15 +0000 (19:56 +0900)]
fix wrong behaviour of SelectWholeText()

When there are multiple text controls,
there is a problem that the selection is keeped even if the text control loses focus
due to another text control's SelectWholeText().

This patch prevents wrong selection updates via flags.

// example
DevelTextField::SelectWholeText(field1);
DevelTextField::SelectWholeText(field2);
DevelTextField::SelectWholeText(field3);
DevelTextField::SelectWholeText(field4);

In the case of above example, all TextFields display a selection.

Change-Id: I96f87d0b12e4a91493831ca55e0f8b662391456e
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years agoFix SetPrimaryCursorPosition() behaviour when no focus 37/260837/8
Bowon Ryu [Mon, 5 Jul 2021 11:12:31 +0000 (20:12 +0900)]
Fix SetPrimaryCursorPosition() behaviour when no focus

If TextField does SetPrimaryCursorPosition() before CONNECTED_TO_SCENE,
there is an issue that the caret renders regardless of focus.

Also, SetPrimaryCursorPosition() always sets focus to the Text Control regardless of the user's intent.
This creates unintended bugs in the app.

This patch only updates the value of PrimaryCursorPosition when there is no focus.
When there is focus, the behaviour is the same.

Change-Id: I2bc5851c36e2c08976e7ca4656bfe38f6afe0653
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[ATSPI] Fix for SCREEN coordinate type in GetExtents 63/261963/10
Lukasz Oleksak [Thu, 29 Jul 2021 13:58:34 +0000 (15:58 +0200)]
[ATSPI] Fix for SCREEN coordinate type in GetExtents

Change-Id: I9c030b9cd7d153e19de13d381778ab1750c71cb3

2 years agoMerge "PositionSize API at dali-toolkit-test-utils/toolkit-window.cpp" into devel...
Eunki Hong [Tue, 3 Aug 2021 11:10:06 +0000 (11:10 +0000)]
Merge "PositionSize API at dali-toolkit-test-utils/toolkit-window.cpp" into devel/master

2 years agoPositionSize API at dali-toolkit-test-utils/toolkit-window.cpp 73/262173/2
Eunki, Hong [Tue, 3 Aug 2021 09:44:08 +0000 (18:44 +0900)]
PositionSize API at dali-toolkit-test-utils/toolkit-window.cpp

Previous version don't use Window.RenderSurface's PositionSize information
I add some interface that toolkit UTC can use it.

Change-Id: I59aae83bdf84c71dcc936b076b424eb0fcc8df9e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoRemove VisualFactory::Get() code at AsyncImageLoader 49/262049/2
Eunki, Hong [Mon, 2 Aug 2021 05:29:12 +0000 (14:29 +0900)]
Remove VisualFactory::Get() code at AsyncImageLoader

Make to send EncodedImageBuffer from TextureManager to AsyncImageLoader directly.
Now we don't need to get standalone factory at AsyncImageLoader.
So we don't need fearful exception check

Change-Id: I9b903c6a446fc167d11bdf7e22e6c7e19d085cc5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[AT-SPI] enhance SHOWING state decision logic 13/258813/6
Shinwoo Kim [Wed, 26 May 2021 05:11:14 +0000 (14:11 +0900)]
[AT-SPI] enhance SHOWING state decision logic

To define SHOWING state, using CULLED and VISIBLE property is not enough.
If a child is clipped out by its parent, then CULLED property is not TRUE.
We need to use similar logic as EFL does.

./src/lib/elementary/efl_ui_widget.c > _elm_widget_onscreen_is
is used for calculating SHOWING state using parents geometry information.

So this patch set is using parents extent information for SHOWING state.

Change-Id: I5eecf93c66ce199bd0ca88f3ad3ff471c1ff79a5

2 years agoMerge branch 'devel/master' into tizen accepted/tizen/unified/20210803.124006 submit/tizen/20210803.014805
seungho [Tue, 3 Aug 2021 00:28:15 +0000 (09:28 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: Ie090bebf9447c29b86156c062adc4cdebbee8c10

2 years agoRemove Unnecessary Doxygen PREDEFINED 78/262078/2
Eunki, Hong [Mon, 2 Aug 2021 10:58:44 +0000 (19:58 +0900)]
Remove Unnecessary Doxygen PREDEFINED

This typoerror exist since 2014-11-14. And today, It fixed.

Change-Id: I51d71ca119ea061bf369b97535fed7526c2d9419
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "Set TapGesture only if there is an anchor." into devel/master
joogab yun [Sun, 1 Aug 2021 23:52:33 +0000 (23:52 +0000)]
Merge "Set TapGesture only if there is an anchor." into devel/master

2 years agoSet TapGesture only if there is an anchor. 51/261851/10
joogab.yun [Tue, 27 Jul 2021 18:40:45 +0000 (03:40 +0900)]
Set TapGesture only if there is an anchor.

Change-Id: I3787911cbedda12b5d781e8de6b16902c23186e7

2 years agoDALi Version 2.0.37 03/262003/1 dali_2.0.37
Adam Bialogonski [Fri, 30 Jul 2021 10:21:48 +0000 (11:21 +0100)]
DALi Version 2.0.37

Change-Id: Ifb9bf35a343400030e3731d3d2506ed30d8b0cad

2 years agoMerge "Add transition headers in dali-toolkit.h" into devel/master
Adeel Kazmi [Thu, 29 Jul 2021 11:19:13 +0000 (11:19 +0000)]
Merge "Add transition headers in dali-toolkit.h" into devel/master

2 years agoAdd transition headers in dali-toolkit.h 88/261888/3
seungho [Wed, 28 Jul 2021 08:13:49 +0000 (17:13 +0900)]
Add transition headers in dali-toolkit.h

Change-Id: I76cc0118a6312c81d4477d47a14ee849bfdf3e92
Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years agoCanvasView: Add RemoveAllDrawables() API 81/261181/7
JunsuChoi [Tue, 13 Jul 2021 03:00:12 +0000 (12:00 +0900)]
CanvasView: Add RemoveAllDrawables() API

Add an API that removes the all drawables registered with AddDrawable().

Change-Id: I6a47c4ce980cdebb374acfe8dfb87b0a815de138

2 years agoCanvasView: Add RemoveDrawable() API 77/261177/5
JunsuChoi [Tue, 13 Jul 2021 02:05:56 +0000 (11:05 +0900)]
CanvasView: Add RemoveDrawable() API

Add an API that removes the Drawable registered with AddDrawable().

Change-Id: Icf5796ca03093d20f13e5fe12db8c75aa5965a7e

2 years agoCanvasView: Add Property::VIEW_BOX 11/261111/9
JunsuChoi [Mon, 12 Jul 2021 05:55:09 +0000 (14:55 +0900)]
CanvasView: Add Property::VIEW_BOX

Add VIEW_BOX property to change canvas's viewbox value.

Change-Id: I4b23049f390158b232d1055703968637ebcbc3fa

2 years agoAdd CanvasView::New() API that can be created without viewbox. 81/261081/7
JunsuChoi [Fri, 9 Jul 2021 09:29:31 +0000 (18:29 +0900)]
Add CanvasView::New() API that can be created without viewbox.

This is provided in case the viewBox argument is not absolutely necessary.

Change-Id: Ic955b4cacb93620c1f48b62f82ef5cc16c335f59

2 years agoMerge "Add CanvasView thread rasterization" into devel/master
junsu choi [Thu, 29 Jul 2021 04:10:13 +0000 (04:10 +0000)]
Merge "Add CanvasView thread rasterization" into devel/master

2 years agoFix SVACE error caused by recent ATSPI change 07/261907/1
Adeel Kazmi [Wed, 28 Jul 2021 15:56:23 +0000 (16:56 +0100)]
Fix SVACE error caused by recent ATSPI change

Change-Id: I150b9d4a0afd74081baa92fddf153824dd44faa6

2 years ago[ATSPI] Blocking unwanted emission of "MoveOuted" signal 38/261238/10
Lukasz Oleksak [Tue, 13 Jul 2021 16:31:24 +0000 (18:31 +0200)]
[ATSPI] Blocking unwanted emission of "MoveOuted" signal

This patch is blocking unwanted emission of "MoveOuted" signal to dbus
when auto-scroll feature moves highlighted object into the screen.

This patch requires following dali-adaptor patch:
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/261237/

Change-Id: I43115faf0e9a061436d6751069ca1541ff0d4017

2 years agoMerge branch 'devel/master' into tizen accepted/tizen/unified/20210727.124503 submit/tizen/20210726.090353 submit/tizen/20210726.093224
Heeyong Song [Mon, 26 Jul 2021 08:56:42 +0000 (17:56 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I7b9247079ed22e1a8a78971411cee99d4d92f5b5

2 years agoGenerate url and load texture from encoded image buffer 15/259415/24
Eunki, Hong [Tue, 8 Jun 2021 06:07:20 +0000 (15:07 +0900)]
Generate url and load texture from encoded image buffer

Make some way to load image from raw-buffer stream.
This raw-buffer will alive when some actor contain this buffer.

Limitation : animated-image, vector-image, animated-vector-image not working now. Will support another patch

1. Generate url from encoded raw buffer like this
  ImageUrl url = Toolkit::Image::GenerateUrl(const EncodedImageBuffer &);
2. When we use URL as this string, we can load it like normal LOCAL file.
  ImageView imageView = Toolkit::ImageView::New(url.GetUrl());
3. Buffer will automatically removed when ImageUrl scope is out-of-date, and no actor use it.

NOTE : even ImageUrl lifecycle is done, cached texture can use internally.

Change-Id: I517d9526d13a6b761792dcb7054864643f209b67
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoAdd CanvasView thread rasterization 50/259050/33
JunsuChoi [Mon, 31 May 2021 05:44:59 +0000 (14:44 +0900)]
Add CanvasView thread rasterization

When a rasterize request occurs, create a task and rasterize on thread.

Change-Id: I8f9117490fb242c91d0124759e0a1f7df9ed701a

2 years agoRevert "[Tizen] Fix to do not remove entity inside loop (Transition)"
Heeyong Song [Mon, 26 Jul 2021 08:25:36 +0000 (17:25 +0900)]
Revert "[Tizen] Fix to do not remove entity inside loop (Transition)"

This reverts commit 1dc43144c8b8287634aa96dee002a1f58e0bfa79.

Change-Id: Id91cf9a8d111557e35b55940e9c58768eb5d091a

2 years agoRevert "[Tizen] Generate url and load texture from encoded image buffer"
Heeyong Song [Mon, 26 Jul 2021 08:25:26 +0000 (17:25 +0900)]
Revert "[Tizen] Generate url and load texture from encoded image buffer"

This reverts commit 304180106d1b3d08fbcd9ce594ea1f7180e79bc4.

Change-Id: Ia38a055957efc039ef44bd268cd344777edae7bf

2 years agoRevert "[Tizen] Fix coverity issue in text layout-engine"
Heeyong Song [Mon, 26 Jul 2021 08:25:13 +0000 (17:25 +0900)]
Revert "[Tizen] Fix coverity issue in text layout-engine"

This reverts commit a944be3216b8def4762166b1627878631a87e4da.

Change-Id: I4c7f1ae69f85792f86cdd67369c2aab32b5091bf

2 years agoRevert "[Tizen] Added missing initialization in text layout-engine"
Heeyong Song [Mon, 26 Jul 2021 08:25:01 +0000 (17:25 +0900)]
Revert "[Tizen] Added missing initialization in text layout-engine"

This reverts commit 19ed8867ffd0f9145ac62c0ea83e6d51922c2903.

Change-Id: Idf3b72b2aedbe69959770f587bbe7d2d3b1fd2ab

2 years agoMerge "Reduce the number of conversion between std::string <-> VisaulUrl at interal...
Eunki Hong [Mon, 26 Jul 2021 05:49:33 +0000 (05:49 +0000)]
Merge "Reduce the number of conversion between std::string <-> VisaulUrl at interal" into devel/master

2 years agoFix SVACE errors in accessibility code in control-data-impl 53/261753/2
Adeel Kazmi [Fri, 23 Jul 2021 11:06:41 +0000 (12:06 +0100)]
Fix SVACE errors in accessibility code in control-data-impl

Change-Id: I08d2e79b19cb269ed48db198ebd04a45f9f89d18

2 years agoMerge "DALi Version 2.0.36" into devel/master
David Steele [Fri, 23 Jul 2021 10:33:01 +0000 (10:33 +0000)]
Merge "DALi Version 2.0.36" into devel/master

2 years agoDALi Version 2.0.36 37/261737/1 dali_2.0.36
Richard Huang [Fri, 23 Jul 2021 09:28:32 +0000 (10:28 +0100)]
DALi Version 2.0.36

Change-Id: I4aad1dc9a06436b74dd92396c2e0cf7bf3436ef6

2 years agoMerge "Implement WebView::GetPlainTextAsynchronously" into devel/master
JIYUN YANG [Fri, 23 Jul 2021 08:44:58 +0000 (08:44 +0000)]
Merge "Implement WebView::GetPlainTextAsynchronously" into devel/master

2 years agoMerge "[ATSPI] Check higlight area using PropertyNotification" into devel/master
Shinwoo Kim [Thu, 22 Jul 2021 22:51:48 +0000 (22:51 +0000)]
Merge "[ATSPI] Check higlight area using PropertyNotification" into devel/master

2 years agoImplement WebView::GetPlainTextAsynchronously 89/261689/2
Jiyun Yang [Thu, 22 Jul 2021 13:07:20 +0000 (22:07 +0900)]
Implement WebView::GetPlainTextAsynchronously

Change-Id: I6691a877ec987dc9971216a43a34bb6daa2ba95d
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
2 years ago[Tizen] Added missing initialization in text layout-engine 85/261685/1 accepted/tizen/unified/20210723.122655 submit/tizen/20210723.022907
Bowon Ryu [Thu, 22 Jul 2021 10:01:17 +0000 (19:01 +0900)]
[Tizen] Added missing initialization in text layout-engine

Change-Id: Ie9c22749be2d2bf9a362db03ccb1d09f411f055f
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years agoAdded missing initialization in text layout-engine 84/261684/1
Bowon Ryu [Thu, 22 Jul 2021 10:01:17 +0000 (19:01 +0900)]
Added missing initialization in text layout-engine

Change-Id: Ie9c22749be2d2bf9a362db03ccb1d09f411f055f
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[Tizen] Fix coverity issue in text layout-engine 81/261681/1
Bowon Ryu [Thu, 22 Jul 2021 09:14:32 +0000 (18:14 +0900)]
[Tizen] Fix coverity issue in text layout-engine

middleLineIndex is always bigger than 0u by the while condition (0u < middleLineIndex).
therefore execution cannot reach the expression 0u inside the statement below.
: ellipsisLineIndex = middleLineIndex > 0u ? middleLineIndex - 1u : 0u;

Change-Id: I1f2f85768ba638d3493f62a22b3d89a75ef462ae
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years agoFix coverity issue in text layout-engine 80/261680/1
Bowon Ryu [Thu, 22 Jul 2021 09:14:32 +0000 (18:14 +0900)]
Fix coverity issue in text layout-engine

middleLineIndex is always bigger than 0u by the while condition (0u < middleLineIndex).
therefore execution cannot reach the expression 0u inside the statement below.
: ellipsisLineIndex = middleLineIndex > 0u ? middleLineIndex - 1u : 0u;

Change-Id: I1f2f85768ba638d3493f62a22b3d89a75ef462ae
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years agoMerge "Fix to do not remove entity inside loop.(Transition)" into devel/master
Seungho BAEK [Wed, 21 Jul 2021 06:30:11 +0000 (06:30 +0000)]
Merge "Fix to do not remove entity inside loop.(Transition)" into devel/master

2 years agoMerge "Add ApplyCustomFragmentPrefix" into devel/master
Seungho BAEK [Wed, 21 Jul 2021 06:30:00 +0000 (06:30 +0000)]
Merge "Add ApplyCustomFragmentPrefix" into devel/master

2 years ago[ATSPI] Check higlight area using PropertyNotification 42/260342/18
Shinwoo Kim [Wed, 23 Jun 2021 11:29:30 +0000 (20:29 +0900)]
[ATSPI] Check higlight area using PropertyNotification

Move highlight to next or prev if highlighted object goes out of screen.
This patch is using PropertyNotification only for highlighted object.

Change-Id: Idaea158fa9e9a1eb569ab619210d2aa916f28f22

2 years ago[Tizen] Generate url and load texture from encoded image buffer accepted/tizen/unified/20210720.123515 submit/tizen/20210719.090525
Daekwang Ryu [Mon, 19 Jul 2021 06:29:14 +0000 (15:29 +0900)]
[Tizen] Generate url and load texture from encoded image buffer

This reverts commit 36484f5485abd08adf26fa7e8e44a2fb37eb6329.

Change-Id: Ifd8d548108c93942c8d967122b497aac4e2868e0

2 years ago[Tizen] Fix to do not remove entity inside loop (Transition)
Daekwang Ryu [Mon, 19 Jul 2021 06:29:10 +0000 (15:29 +0900)]
[Tizen] Fix to do not remove entity inside loop (Transition)

This reverts commit 26958021c74c7984db256ad61e2349ee51acd42e.

Change-Id: I881a4930e879859a0345cd12c3c06904552b1442

2 years agoMerge branch 'devel/master' into tizen
Daekwang Ryu [Mon, 19 Jul 2021 06:24:43 +0000 (15:24 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I570b253508ab42dc8ba90138e3ec7b0b5279b974

2 years agoRevert "[Tizen] Add ImageUrl Class and reference count for external texture"
Daekwang Ryu [Mon, 19 Jul 2021 06:23:13 +0000 (15:23 +0900)]
Revert "[Tizen] Add ImageUrl Class and reference count for external texture"

This reverts commit 9e72398197ea9e54de1e64f4fbe79f73ea1c9d76.

2 years agoRevert "[Tizen] Fix to do not remove entity inside loop (Transition)"
Daekwang Ryu [Mon, 19 Jul 2021 06:23:10 +0000 (15:23 +0900)]
Revert "[Tizen] Fix to do not remove entity inside loop (Transition)"

This reverts commit c8d23dabd3b8d59570cc6860dcb0beb9f191102b.

2 years agoRevert "[Tizen] Generate url and load texture from encoded image buffer"
Daekwang Ryu [Mon, 19 Jul 2021 06:22:59 +0000 (15:22 +0900)]
Revert "[Tizen] Generate url and load texture from encoded image buffer"

This reverts commit e2f37baead455ee7c0ac151d0d195109e0146107.

2 years agoRevert "[Tizen] Add Tab key focus movement."
Daekwang Ryu [Mon, 19 Jul 2021 06:22:57 +0000 (15:22 +0900)]
Revert "[Tizen] Add Tab key focus movement."

This reverts commit b4587f97560124034db43d3ae0d4cbb520eba1ed.

2 years agoAdd Timer at TapGestureRecognizer 08/260808/8
Joogab Yun [Mon, 5 Jul 2021 03:05:23 +0000 (12:05 +0900)]
Add Timer at TapGestureRecognizer

Change-Id: Iea2b71b2eb9020cd71067554cdea621e86ae8f7b

2 years agoMerge "Users can implement focus movement by SetCustomAlgorithm." into devel/master
joogab yun [Mon, 19 Jul 2021 01:07:03 +0000 (01:07 +0000)]
Merge "Users can implement focus movement by SetCustomAlgorithm." into devel/master

2 years agoFix SVACE error in bidirectional-support.cpp 12/261412/1
Adeel Kazmi [Fri, 16 Jul 2021 11:05:29 +0000 (12:05 +0100)]
Fix SVACE error in bidirectional-support.cpp

Change-Id: I732e088e83a76642a4e4bce1bd3f54a04adcd992

2 years agoMerge "DALi Version 2.0.35" into devel/master
Adeel Kazmi [Fri, 16 Jul 2021 09:33:40 +0000 (09:33 +0000)]
Merge "DALi Version 2.0.35" into devel/master

2 years agoDALi Version 2.0.35 95/261395/1 dali_2.0.35
David Steele [Fri, 16 Jul 2021 09:29:09 +0000 (10:29 +0100)]
DALi Version 2.0.35

Change-Id: I16146a5047a3099ee0f57c5687f0e715112ba309

2 years agoUsers can implement focus movement by SetCustomAlgorithm. 22/261222/6
Joogab Yun [Tue, 13 Jul 2021 10:13:36 +0000 (19:13 +0900)]
Users can implement focus movement by SetCustomAlgorithm.

So User implemented focus movement by SetCustomAlgorithm(AutoFocusAlgorithm.Instance);

And if user do SetCustomAlgorithm(null), the user expects the focus not to move.

this is for backward-compatibility.

Add EnableDefaultAlgorithm() and IsDefaultAlgorithmEnabled() for enable/disable the default algorithm

Change-Id: I231508ace0f378edc268731e80ac7878af5cd650

2 years agoAdd ImageUrl Class and reference count for external texture 98/259398/34
Sunghyun Kim [Mon, 7 Jun 2021 07:42:25 +0000 (16:42 +0900)]
Add ImageUrl Class and reference count for external texture

1.Add ImageUrl Class
ImageUrl is a class for wrapping url that is get from external buffer
the purpose of this class is that manage this external buffer

2.Add reference count for external texturea

Change-Id: I3eb0bb3280d84035db9d981ae73807847e5b74bc

2 years agoMerge "(Vector) Fix tc random failure" into devel/master
Heeyong Song [Fri, 16 Jul 2021 00:49:16 +0000 (00:49 +0000)]
Merge "(Vector) Fix tc random failure" into devel/master

2 years agoMerge "Replace Signal with std::function." into devel/master
JIYUN YANG [Thu, 15 Jul 2021 09:45:26 +0000 (09:45 +0000)]
Merge "Replace Signal with std::function." into devel/master

2 years agoMerge "Fixed doxygen error in web-view.h" into devel/master
David Steele [Thu, 15 Jul 2021 09:37:32 +0000 (09:37 +0000)]
Merge "Fixed doxygen error in web-view.h" into devel/master

2 years ago(Vector) Fix tc random failure 25/261325/1
Heeyong Song [Thu, 15 Jul 2021 09:02:03 +0000 (18:02 +0900)]
(Vector) Fix tc random failure

Change-Id: I7a64a22da07ae9975f31db11c1ede41219a7654a

2 years agoMerge "Support Ellipsis Position Property" into devel/master
Bowon Ryu [Thu, 15 Jul 2021 06:51:59 +0000 (06:51 +0000)]
Merge "Support Ellipsis Position Property" into devel/master

2 years agoMerge "Add Tab key focus movement." into devel/master
joogab yun [Thu, 15 Jul 2021 04:37:11 +0000 (04:37 +0000)]
Merge "Add Tab key focus movement." into devel/master

2 years agoFixed doxygen error in web-view.h 36/261236/1
Adeel Kazmi [Tue, 13 Jul 2021 14:20:51 +0000 (15:20 +0100)]
Fixed doxygen error in web-view.h

Change-Id: I4aaf2b56485946c42376a7b1ca771c743c2ea2ba

2 years agoSupport Ellipsis Position Property 60/259560/33
Shrouq Sabah [Wed, 9 Jun 2021 21:39:31 +0000 (00:39 +0300)]
Support Ellipsis Position Property

Added new property Ellipsis to TextEditor
Added new property Ellipsis_Position to TextLabel, TextField and TextEditor

Example:
textLabel.SetProperty(DevelTextLabel::Property::ELLIPSIS_POSITION, DevelText::EllipsisPosition::START);

Handled Ellipsis location for below cases:
Positions: END, START and MIDDLE
TextController: TextLabel, TextField and TextEditor
SingleLine and Muilt-lines with differnat LineWrap modes
Text direction LTR and RTL

END algorithm already exits
START and MIDDLE algorithms added according to END one

Change-Id: If059878f7128141169e95cf237b690ce900c70b3

2 years agoChange default value of WebView::Property::VIDEO_HOLE_ENABLED to false 24/261224/2
Jiyun Yang [Tue, 13 Jul 2021 10:21:52 +0000 (19:21 +0900)]
Change default value of WebView::Property::VIDEO_HOLE_ENABLED to false

Change-Id: I5d3cd11ea1ce5a0b510b45a316c17aae16c0a82b
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
2 years agoAdd Tab key focus movement. 56/261056/3
Joogab Yun [Fri, 9 Jul 2021 06:41:24 +0000 (15:41 +0900)]
Add Tab key focus movement.

If the focus group is not changed, Move the focus towards right, "Shift-Tap" key moves the focus towards left.
Still if the focus is not moved, Move the focus towards down, "Shift-Tap" key moves the focus towards up.

Change-Id: Iecfbe8a94ca96caff580714ef94ead7002e01e4b

2 years ago[Tizen] Add Tab key focus movement. 00/261200/1
Joogab Yun [Fri, 9 Jul 2021 06:41:24 +0000 (15:41 +0900)]
[Tizen] Add Tab key focus movement.

If the focus group is not changed, Move the focus towards right, "Shift-Tap" key moves the focus towards left.
Still if the focus is not moved, Move the focus towards down, "Shift-Tap" key moves the focus towards up.

Change-Id: Iecfbe8a94ca96caff580714ef94ead7002e01e4b

2 years agoReplace Signal with std::function. 03/260903/5
huayong.xu [Tue, 6 Jul 2021 02:52:40 +0000 (10:52 +0800)]
Replace Signal with std::function.

Originally Signal is used to notify webview when callback of web
engine is called. If Signal is called with a std::shared_ptr<X>,
lifecyle of object X would be managed by Signal only in
csharp-binder. So if Signal are destroyed, object X would be
destroyed too. This might cause some problem.
This patch is to replace Signal with std::fuction, and replace
std:shared_ptr with unique_ptr. Lifecycle of object X would not
be associated with that of Signal.

Change-Id: I3878d3a4a9bacc64d94e3dd2b55479da85980e90

2 years ago[Tizen] Generate url and load texture from encoded image buffer 95/261195/1 accepted/tizen/unified/20210713.124100 submit/tizen/20210713.070142
Eunki, Hong [Tue, 8 Jun 2021 06:07:20 +0000 (15:07 +0900)]
[Tizen] Generate url and load texture from encoded image buffer

Make some way to load image from raw-buffer stream.
This raw-buffer will alive when some actor contain this buffer.

Limitation : animated-image, vector-image, animated-vector-image not working now. Will support another patch

1. Generate url from encoded raw buffer like this
  ImageUrl url = Toolkit::Image::GenerateUrl(const EncodedImageBuffer &);
2. When we use URL as this string, we can load it like normal LOCAL file.
  ImageView imageView = Toolkit::ImageView::New(url.GetUrl());
3. Buffer will automatically removed when ImageUrl scope is out-of-date, and no actor use it.

NOTE : even ImageUrl lifecycle is done, cached texture can use internally.

Change-Id: I517d9526d13a6b761792dcb7054864643f209b67
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoRevert "[Tizen] Generate url and load texture from encoded image buffer"
Eunki Hong [Tue, 13 Jul 2021 06:28:24 +0000 (23:28 -0700)]
Revert "[Tizen] Generate url and load texture from encoded image buffer"

This reverts commit 23b2d6d1f1500b7eb6a33f860af84f63276cb69f.

2 years ago[Tizen] Generate url and load texture from encoded image buffer
Eunki, Hong [Tue, 8 Jun 2021 06:07:20 +0000 (15:07 +0900)]
[Tizen] Generate url and load texture from encoded image buffer

Make some way to load image from raw-buffer stream.
This raw-buffer will alive when some actor contain this buffer.

Limitation : animated-image, vector-image, animated-vector-image not working now. Will support another patch

1. Generate url from encoded raw buffer like this
  ImageUrl url = Toolkit::Image::GenerateUrl(const EncodedImageBuffer &);
2. When we use URL as this string, we can load it like normal LOCAL file.
  ImageView imageView = Toolkit::ImageView::New(url.GetUrl());
3. Buffer will automatically removed when ImageUrl scope is out-of-date, and no actor use it.

NOTE : even ImageUrl lifecycle is done, cached texture can use internally.

Change-Id: I517d9526d13a6b761792dcb7054864643f209b67
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[Tizen] Fix to do not remove entity inside loop (Transition)
Seoyeon Kim [Tue, 13 Jul 2021 05:08:10 +0000 (14:08 +0900)]
[Tizen] Fix to do not remove entity inside loop (Transition)

This reverts commit d97b779bf5fa67f69e6f43d5aabfefcfd05ec43d.

Change-Id: Ibbd8668823832791cd0654727387b5f9a3150fd5

2 years ago[Tizen] Add ImageUrl Class and reference count for external texture
Seoyeon Kim [Tue, 13 Jul 2021 05:07:53 +0000 (14:07 +0900)]
[Tizen] Add ImageUrl Class and reference count for external texture

This reverts commit 3a51170bdaa51aca80b699b8207210d8991cfe89.

Change-Id: Id7063fc358800f0de556315fd0992615c6da8784

2 years agoMerge branch 'devel/master' into tizen
Seoyeon Kim [Tue, 13 Jul 2021 05:06:58 +0000 (14:06 +0900)]
Merge branch 'devel/master' into tizen

2 years agoRevert "[Tizen] Add ImageUrl Class and reference count for external texture"
Seoyeon Kim [Tue, 13 Jul 2021 05:06:08 +0000 (14:06 +0900)]
Revert "[Tizen] Add ImageUrl Class and reference count for external texture"

This reverts commit 47d45eb381a4dcd8efa82f616aa5e42f189d53ab.