platform/core/uifw/dali-toolkit.git
21 months agoDALi Version 2.0.31 95/260095/1 dali_2.0.31
David Steele [Fri, 18 Jun 2021 10:38:05 +0000 (11:38 +0100)]
DALi Version 2.0.31

Change-Id: Id3c7b95f84e162dafbcc09b0a8b9a8735ff782ec

21 months agoMerge "Add TOUCH_FOCUSABLE property" into devel/master
joogab yun [Tue, 15 Jun 2021 05:35:22 +0000 (05:35 +0000)]
Merge "Add TOUCH_FOCUSABLE property" into devel/master

21 months agoMerge "DALi Version 2.0.30" into devel/master
David Steele [Fri, 11 Jun 2021 10:45:45 +0000 (10:45 +0000)]
Merge "DALi Version 2.0.30" into devel/master

21 months agoMerge "Adds transition effect" into devel/master
Seungho BAEK [Fri, 11 Jun 2021 10:36:36 +0000 (10:36 +0000)]
Merge "Adds transition effect" into devel/master

21 months agoDALi Version 2.0.30 28/259728/1 dali_2.0.30
Adeel Kazmi [Fri, 11 Jun 2021 10:35:41 +0000 (11:35 +0100)]
DALi Version 2.0.30

Change-Id: Ie73de85e2403ba74960726545d23561f5b667d47

21 months agoFix svace issues on WebView 78/259578/1
Jiyun Yang [Thu, 10 Jun 2021 02:11:20 +0000 (11:11 +0900)]
Fix svace issues on WebView

Change-Id: I4fad33a155c0e59ae77b1e2f1767255ebf5151c9
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
21 months agoMerge "Fixed SVACE error in animated-image-visual.cpp" into devel/master
Adeel Kazmi [Wed, 9 Jun 2021 07:58:35 +0000 (07:58 +0000)]
Merge "Fixed SVACE error in animated-image-visual.cpp" into devel/master

21 months agoAdds transition effect 67/251367/46
Seungho Baek [Wed, 13 Jan 2021 05:58:54 +0000 (14:58 +0900)]
Adds transition effect

Change-Id: Ie32632d0d8d0b91fe840de56f7bab4a4fed1557f
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
21 months agoFixed SVACE error in animated-image-visual.cpp 79/259479/1
Adeel Kazmi [Tue, 8 Jun 2021 17:16:02 +0000 (18:16 +0100)]
Fixed SVACE error in animated-image-visual.cpp

Change-Id: Iddf37fd1f0be4c25d60a6f7fdb451621dd488abe

21 months ago[AT-SPI] Add AccessibleImpl::ScrollToChild() 98/255698/12
Artur Świgoń [Mon, 22 Mar 2021 16:07:15 +0000 (17:07 +0100)]
[AT-SPI] Add AccessibleImpl::ScrollToChild()

This replaces two virtual methods:
 * EnsureSelfVisible() - redundant, replaced by a simple loop
 * EnsureChildVisible() - renamed to ScrollToChild() to reflect
   that this concerns scrollable containers

Change-Id: I38f7be0a1117dc93ce70b496913b62a400c4432a

21 months agoMerge "Add borderline property for visual + Integrate some shaders in one" into devel...
Eunki Hong [Mon, 7 Jun 2021 03:08:48 +0000 (03:08 +0000)]
Merge "Add borderline property for visual + Integrate some shaders in one" into devel/master

21 months agoAdd TOUCH_FOCUSABLE property 56/259256/7
Joogab Yun [Thu, 3 Jun 2021 06:42:30 +0000 (15:42 +0900)]
Add TOUCH_FOCUSABLE property

This is a property that allows you to have focus even when touched.

It works only when KEYBOARD_FOCUSABLE is set to true.

KEYBOARD_FOCUSABLE :  whether the view can have focus or not
TOUCH_FOCUSABLE    :  Whether the user can focus by touch

Change-Id: Ie308c75931df2cf74f45d851bc76e662c055635a

21 months agoFix the LineCount issue when text is changed. 57/259357/2
Shrouq Sabah [Sun, 6 Jun 2021 12:51:36 +0000 (15:51 +0300)]
Fix the LineCount issue when text is changed.

There is an issue with LineCount of TextLabel and TextEditor.
The issue is that if you set Text in TextLabel and do GetLineCount, an incorrect LineCount is returned.
This issue related to GetHeightForWidth which called in Controller::GetLineCount(float width).

Change-Id: Ia0cc5737432080fbd925bc6e655062f023a1c133

21 months agoAdd borderline property for visual + Integrate some shaders in one 26/254026/27
Eunki, Hong [Mon, 22 Feb 2021 09:37:36 +0000 (18:37 +0900)]
Add borderline property for visual + Integrate some shaders in one

Add borderline properies for visual
 - BORDERLINE_WIDTH "borderlineWidth" (float, default = 0.0)
   : Width of the borderline
 - BORDERLINE_COLOR "borderlineColor" (Vector4, default = Color::BLACK)
   : Color of the borderline
 - BORDERLINE_OFFSET "borderlineOffset" (float, default = 0.0)
   : Relative position offset from 'Real' borderline of visual.
     == 0.0f then half is inside, and half is outside of visual.
     == -1.0f then all borderline will be rendered inside of visual.
     == 1.0f then all borderline will be rendered outside of visual.

These three properties are animatable

Also, I integrate image / color / gradient visual shaders in one file.
Cause If I add above feature, the shader files need so many.

Change-Id: Ieeea3c1fd4703c5f446018ceffb46a7b715b36f1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoMerge "DALi Version 2.0.29" into devel/master
David Steele [Fri, 4 Jun 2021 13:02:54 +0000 (13:02 +0000)]
Merge "DALi Version 2.0.29" into devel/master

21 months agoDALi Version 2.0.29 25/259325/1 dali_2.0.29
Adam Bialogonski [Fri, 4 Jun 2021 08:56:52 +0000 (09:56 +0100)]
DALi Version 2.0.29

Change-Id: I72024b28a4b6b7e1a9928d9818c8f4ed59ff72ce

21 months agoAdd SpaceEvenly to flex justification 52/259252/3
Jaehyun Cho [Thu, 3 Jun 2021 06:05:10 +0000 (15:05 +0900)]
Add SpaceEvenly to flex justification

Flex justification uses Yoga Layout's justify-content.
Up to now, SpaceEvenly of Yoga Layout's justify-content has not been
added to flex justification.

SpaceAround distributes the equal space to before, and after each item.
Therefore, the space between adjacent items is twice bigger than the
space between the beginning edge and the first item.

To distribute the equal space to before, between, and after each item,
SpaceEvenly is added to flex justification.

Change-Id: Icb4e1f1aa74f52a5cfe8f1399e9f42457c8c081f

21 months agoMerge "[AT-SPI] Add SetTextContents, InsertText and DeleteText" into devel/master
Seoyeon Kim [Tue, 1 Jun 2021 09:35:42 +0000 (09:35 +0000)]
Merge "[AT-SPI] Add SetTextContents, InsertText and DeleteText" into devel/master

21 months agoMerge "Add InputMethodSettings property to TextEditor." into devel/master
Bowon Ryu [Tue, 1 Jun 2021 03:15:25 +0000 (03:15 +0000)]
Merge "Add InputMethodSettings property to TextEditor." into devel/master

21 months agoMerge "Set Gesture Propagation" into devel/master
joogab yun [Tue, 1 Jun 2021 03:09:11 +0000 (03:09 +0000)]
Merge "Set Gesture Propagation" into devel/master

21 months agoMerge "Fixed invalid text selection behaviour" into devel/master
Bowon Ryu [Tue, 1 Jun 2021 03:04:23 +0000 (03:04 +0000)]
Merge "Fixed invalid text selection behaviour" into devel/master

21 months ago[AT-SPI] Remove AccessibilityRegister() 70/259070/3
Artur Świgoń [Mon, 31 May 2021 13:53:14 +0000 (15:53 +0200)]
[AT-SPI] Remove AccessibilityRegister()

With this change, component developers and application developers will
need to manually notify any AT clients about changes in widget
visibility. This includes, but is not limited to, scrollable
containers, paginated containers, navigators etc.

Change-Id: I1505a763054b7343ea33ce249bdf1df4c7847d7e

21 months ago[AT-SPI] Do not emit BoundsChanged for all actors 89/258789/2
Artur Świgoń [Tue, 25 May 2021 14:46:30 +0000 (16:46 +0200)]
[AT-SPI] Do not emit BoundsChanged for all actors

This patch also removes the ACCESSIBILITY_ANIMATED property (not to be
confused with AT-SPI state ANIMATED). This property was used to control
automatic emission of the BoundsChanged event (and it had only one user,
the highlight frame actor). However, we no longer emit this event, so
this property serves no purpose.

Change-Id: I8df8b9e7fb75951c9f88d5aec944f9d52f10bf06

21 months agoSet Gesture Propagation 06/258806/5
Joogab Yun [Wed, 26 May 2021 04:33:43 +0000 (13:33 +0900)]
Set Gesture Propagation

Change-Id: I521bccb522b01b4d667dd4e399d4d705ed7160a9

21 months agoMerge "Fixed an issue where the multi-tap did not work properly. (https://review...
joogab yun [Mon, 31 May 2021 05:44:16 +0000 (05:44 +0000)]
Merge "Fixed an issue where the multi-tap did not work properly. (https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-core/+/258466/)" into devel/master

21 months agoMerge "(Vector) Fix deadlock issue: remove lock" into devel/master
Heeyong Song [Mon, 31 May 2021 01:37:34 +0000 (01:37 +0000)]
Merge "(Vector) Fix deadlock issue: remove lock" into devel/master

21 months ago[AT-SPI] Add SetTextContents, InsertText and DeleteText 57/256957/7
Bartlomiej Grzelewski [Thu, 15 Apr 2021 09:27:12 +0000 (11:27 +0200)]
[AT-SPI] Add SetTextContents, InsertText and DeleteText

Extend at-spi implementation for EditableText widgets.

Change-Id: I9669eb4f9fb4c34c3d0a1cd8ed5e751066ce98d7

21 months agoDALi Version 2.0.28 68/258968/1 dali_2.0.28
Richard Huang [Fri, 28 May 2021 09:51:08 +0000 (10:51 +0100)]
DALi Version 2.0.28

Change-Id: If2ec72fd64956a6973fc9856b0a9ddc315604453

21 months agoFixed invalid text selection behaviour 59/258959/1
Bowon Ryu [Fri, 28 May 2021 08:17:00 +0000 (17:17 +0900)]
Fixed invalid text selection behaviour

This patch fixes an issue where selection handles are not updated.
(issue of visual update, not value)

// test case
textField.SetProperty(DevelTextField::Property::PRIMARY_CURSOR_POSITION, 5);
textField.SetProperty(DevelTextField::Property::SELECTED_TEXT_START, 5);
textField.SetProperty(DevelTextField::Property::SELECTED_TEXT_END, 10);

In the test case above, the selection handle is not updated.

* Internal flag status when PRIMARY_CURSOR_POSITION is set :
in SetPrimaryCursorPosition(),

mUpdateCursorPosition = true;

* Internal flag status when SELECTED_TEXT_START, SELECTED_TEXT_END is set :
in SetTextSelectionRange(),

mUpdateHighlightBox = true;
mUpdateLeftSelectionPosition = true;
mUpdateRightSelectionPosition = true;

By the way,
the actual updates such as cursor, selection, grab handle, are handled at once
in ProcessInputEvents() based on the flags above.

In the test case, since mUpdateCursorPosition is true, "else" can not be reached.
That's why the selection handle doesn't update.
This issue is solved by fixing conditional statement.

Also due to this patch,
Issues arising from mPrimaryCursorPosition inside SetTextSelectionRange() are also resolved.

Change-Id: I77890fd3744406a885325e53e2354c1ac9d454d6
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
21 months agoFixed SVACE errors in Test Graphics 01/258901/1
Adeel Kazmi [Thu, 27 May 2021 09:43:24 +0000 (10:43 +0100)]
Fixed SVACE errors in Test Graphics

Change-Id: I67fb0f6d7eddbde198a2d68519afd35f8a9eb667

21 months ago(Vector) Fix deadlock issue: remove lock 84/258884/1
Heeyong Song [Thu, 27 May 2021 05:55:05 +0000 (14:55 +0900)]
(Vector) Fix deadlock issue: remove lock

Change-Id: I145d138f6a6a16e425dae577d2ecc88fd2dbfcbb

21 months agoRemove DevelColorVisual::Property::RENDER_IF_TRANSPARENT 76/258776/3
Heeyong Song [Tue, 25 May 2021 11:32:27 +0000 (20:32 +0900)]
Remove DevelColorVisual::Property::RENDER_IF_TRANSPARENT

Change-Id: I985ae68c61246dec81360e94c827f236d9e27a4e

21 months agoMerge "Merge branch 'devel/master' into devel/graphics" into devel/master
David Steele [Wed, 26 May 2021 12:27:08 +0000 (12:27 +0000)]
Merge "Merge branch 'devel/master' into devel/graphics" into devel/master

21 months agoMerge branch 'devel/master' into devel/graphics 95/258795/2
David Steele [Tue, 25 May 2021 23:28:35 +0000 (00:28 +0100)]
Merge branch 'devel/master' into devel/graphics

Change-Id: I51fef49392010ab166900229c74b05bb0520fcd3

21 months agoAdd ACCESSIBILITY_HIGHLIGHTABLE for ATSPI 99/258799/1
Joogab Yun [Wed, 26 May 2021 02:22:31 +0000 (11:22 +0900)]
Add ACCESSIBILITY_HIGHLIGHTABLE for ATSPI

Change-Id: Iff574b2342ac6a1d55d5618eee24119c7475b6b0

22 months agoManaged Unified Uniform Buffer 30/258430/2 devel/graphics
Adam Bialogonski [Mon, 17 May 2021 16:45:05 +0000 (17:45 +0100)]
Managed Unified Uniform Buffer

Test harness update

Change-Id: Ie65fb2564dc7d7be8c946b14c870062211af745c

22 months agoAdd InputMethodSettings property to TextEditor. 49/258649/2
Bowon Ryu [Fri, 21 May 2021 09:53:23 +0000 (18:53 +0900)]
Add InputMethodSettings property to TextEditor.

This property is provided in TextField.
TextEditor also needs a property that controls the options of the input method.

Change-Id: Idc0d8252180f547e84072981fb5ff9bd4bebf00b
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
22 months agoMerge "DALi Version 2.0.27" into devel/master
Adeel Kazmi [Fri, 21 May 2021 09:26:13 +0000 (09:26 +0000)]
Merge "DALi Version 2.0.27" into devel/master

22 months agoDALi Version 2.0.27 36/258636/1 dali_2.0.27
David Steele [Fri, 21 May 2021 09:17:51 +0000 (10:17 +0100)]
DALi Version 2.0.27

Change-Id: Id18e88f8537ede6503fe27c5400cd71b180587cf

22 months agoFixed an issue where the multi-tap did not work properly. 74/258474/2
Joogab Yun [Tue, 18 May 2021 08:16:25 +0000 (17:16 +0900)]
Fixed an issue where the multi-tap did not work properly.
(https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-core/+/258466/)

Due to this bug, using multi-tap in automated-tests worked fine.

Modify not to be multi-tap.

Change-Id: I459520faf346da7aa380773ebf04c6b85c3e4e87

22 months agoMerge "Implement FocusFinder" into devel/master
joogab yun [Fri, 21 May 2021 05:28:29 +0000 (05:28 +0000)]
Merge "Implement FocusFinder" into devel/master

22 months agoImplement FocusFinder 99/256999/46
Joogab Yun [Fri, 16 Apr 2021 07:19:35 +0000 (16:19 +0900)]
Implement FocusFinder

The class used for finding the next focusable actor in a given direction
from a actor that currently has focus.

Change-Id: If5d5eed2599f3d95a0757b855e420e4edd186756

22 months agoFix TextChanged signal. 59/258559/1
Bowon Ryu [Thu, 20 May 2021 07:17:13 +0000 (16:17 +0900)]
Fix TextChanged signal.

Due to the previous patches (below patches),
3d28744e61ba8b68daa957827a55224f11bbf2f0
33ccee79d16a90d5f7ab427de1503ccc5bee4324

the sequence of Signal emit and Render has been different.
This caused a compatibility issue.
This patch fixes a compatibility issue by change the timing of the signal emit.

Change-Id: I76633936fb32e91d685f4bc6042c69ebd663c08d
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
22 months agoSync tests for sync 19/258519/1
David Steele [Wed, 19 May 2021 17:23:25 +0000 (18:23 +0100)]
Sync tests for sync

Change-Id: I12e0c00cbdaf1d49cf873d6f8908b8ce3a7e64fe

22 months agoMerge "Fix texture manager crash" into devel/master
Heeyong Song [Tue, 18 May 2021 12:48:06 +0000 (12:48 +0000)]
Merge "Fix texture manager crash" into devel/master

22 months agoFix texture manager crash 62/258462/1
Heeyong Song [Tue, 18 May 2021 05:42:26 +0000 (14:42 +0900)]
Fix texture manager crash

mLoadQueue should not be changed in the range based loop.

Change-Id: I7d469a650c78c4f1dfd3c7aa2bc01d0b432daa06

22 months agoMerge "Add property ENABLE_GRAB_HANDLE_POPUP to TextEditor" into devel/master
Bowon Ryu [Tue, 18 May 2021 01:10:56 +0000 (01:10 +0000)]
Merge "Add property ENABLE_GRAB_HANDLE_POPUP to TextEditor" into devel/master

22 months agoMerge "Added pixel format to fix bug with ktx loader" into devel/graphics
Adeel Kazmi [Fri, 14 May 2021 16:42:33 +0000 (16:42 +0000)]
Merge "Added pixel format to fix bug with ktx loader" into devel/graphics

22 months agoMerge "Fixing shader generator build when coverage enabled" into devel/master
Adeel Kazmi [Fri, 14 May 2021 16:25:34 +0000 (16:25 +0000)]
Merge "Fixing shader generator build when coverage enabled" into devel/master

22 months agoFixing shader generator build when coverage enabled 96/258396/1
David Steele [Fri, 14 May 2021 10:57:37 +0000 (11:57 +0100)]
Fixing shader generator build when coverage enabled

Change-Id: Ibe0d9047cefc226bc2daad0a7cf5df177891fc06

22 months agoDALi Version 2.0.26 86/258386/1 dali_2.0.26
Adam Bialogonski [Fri, 14 May 2021 10:21:03 +0000 (11:21 +0100)]
DALi Version 2.0.26

Change-Id: I889f8771b3105039b17c46658c693a85d8d44c3f

22 months agoAdd property ENABLE_GRAB_HANDLE_POPUP to TextEditor 83/258383/1
Bowon Ryu [Fri, 14 May 2021 10:04:30 +0000 (19:04 +0900)]
Add property ENABLE_GRAB_HANDLE_POPUP to TextEditor

This is already provided in TextField.
And this should also be provided in TextEditor.

Change-Id: If4bdaeb86b11400b44ee50cd7484ff10b5405dc7
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
22 months agoMerge branch 'devel/master' into devel/graphics 28/258328/2
Adeel Kazmi [Thu, 13 May 2021 12:01:21 +0000 (13:01 +0100)]
Merge branch 'devel/master' into devel/graphics

Change-Id: Ie1526bf82b84f25cf1cfbd1ccf77d2033bd38190

22 months agoAdded pixel format to fix bug with ktx loader 26/258226/2
David Steele [Wed, 12 May 2021 10:35:01 +0000 (11:35 +0100)]
Added pixel format to fix bug with ktx loader

KTX loader allows GL packed small float format, currently
uses wrong float format when storing pixel data.

Change-Id: I85798fe3b62fb0a78589e045bc5f265ff591f6a6
Signed-off-by: David Steele <david.steele@samsung.com>
22 months agoUpdate shader of image-visual after OnScene for native image 48/258148/4
seungho [Tue, 11 May 2021 07:53:44 +0000 (16:53 +0900)]
Update shader of image-visual after OnScene for native image

Change-Id: If599ff2e56c211d357723a1d903a1bec9d50a687
Signed-off-by: seungho <sbsh.baek@samsung.com>
22 months agoMerge "Fixed SVACE error in text-typesetter.cpp" into devel/master
Adeel Kazmi [Tue, 11 May 2021 14:18:31 +0000 (14:18 +0000)]
Merge "Fixed SVACE error in text-typesetter.cpp" into devel/master

22 months agoFixed SVACE error in text-typesetter.cpp 53/258153/3
Adeel Kazmi [Tue, 11 May 2021 09:01:33 +0000 (10:01 +0100)]
Fixed SVACE error in text-typesetter.cpp

Change-Id: I98d6c357528eba5f87c272c48e3827005dc4b674

22 months agoMerge "[AT-SPI] Call Control::Impl::AccessibilityRegister() unconditionally" into...
Seoyeon Kim [Tue, 11 May 2021 10:31:49 +0000 (10:31 +0000)]
Merge "[AT-SPI] Call Control::Impl::AccessibilityRegister() unconditionally" into devel/master

22 months agoMerge "Fix crash issue when favicon is null." into devel/master
Adeel Kazmi [Tue, 11 May 2021 09:59:26 +0000 (09:59 +0000)]
Merge "Fix crash issue when favicon is null." into devel/master

22 months ago[AT-SPI] Call Control::Impl::AccessibilityRegister() unconditionally 88/257188/4
Artur Świgoń [Tue, 20 Apr 2021 18:26:44 +0000 (20:26 +0200)]
[AT-SPI] Call Control::Impl::AccessibilityRegister() unconditionally

This patch fixes a bug where the screen reader is not notified about
changes of size / position / visibility of controls if accessibility is
enabled in runtime, i.e. after the controls are connected to the scene.

Please note that the callbacks registered with AccessibilityRegister()
already check Accessibility::IsUp(), therefore non-accessibility usage
scenarios are not affected by this patch.

Change-Id: Icc49b0a12a75135ca3d2033b342878b4ab1392bb

22 months agoMerge "atspi: use 'class' key for Dali type name" into devel/master
Seoyeon Kim [Tue, 11 May 2021 08:23:13 +0000 (08:23 +0000)]
Merge "atspi: use 'class' key for Dali type name" into devel/master

22 months agoFix crash issue when favicon is null. 15/258015/5
huayong.xu [Fri, 7 May 2021 11:00:57 +0000 (19:00 +0800)]
Fix crash issue when favicon is null.

When favicon of web page is null, it would cause crash.
This patch is to add a check if pixel data is null or not.

Change-Id: If6b5f88053c2377ed4a87b6d83600cdd7f9c6746

22 months agoMerge "Make to use DevelTexture::ApplyNativeFragmentShader in video-view" into devel...
Seungho BAEK [Mon, 10 May 2021 23:57:10 +0000 (23:57 +0000)]
Merge "Make to use DevelTexture::ApplyNativeFragmentShader in video-view" into devel/master

22 months agoMerge "Add text wrapping hyphen mode support" into devel/master
Bowon Ryu [Mon, 10 May 2021 05:35:17 +0000 (05:35 +0000)]
Merge "Add text wrapping hyphen mode support" into devel/master

22 months agoMerge "Move glyphy shaders into separate files" into devel/master
Adeel Kazmi [Fri, 7 May 2021 15:05:04 +0000 (15:05 +0000)]
Merge "Move glyphy shaders into separate files" into devel/master

22 months agoMove glyphy shaders into separate files 21/258021/1
Richard Huang [Fri, 7 May 2021 14:13:24 +0000 (15:13 +0100)]
Move glyphy shaders into separate files

Change-Id: I7bd2afc719c759d57d73e31680b24c35789a16a9

22 months ago(Automated Tests) Fix summary.xml creation failure when running shader-generator... 19/258019/1
Adeel Kazmi [Fri, 7 May 2021 13:22:19 +0000 (14:22 +0100)]
(Automated Tests) Fix summary.xml creation failure when running shader-generator tests

Change-Id: Idb40ded867f6af5fc7cf4c33d3488aad23b1d6e7

22 months agoMerge "DALi Version 2.0.25" into devel/master
Adeel Kazmi [Fri, 7 May 2021 11:23:19 +0000 (11:23 +0000)]
Merge "DALi Version 2.0.25" into devel/master

22 months agoDALi Version 2.0.25 96/257996/1 dali_2.0.25
Adeel Kazmi [Fri, 7 May 2021 10:34:23 +0000 (11:34 +0100)]
DALi Version 2.0.25

Change-Id: Ibd665f0776541e24534321b10930e39c6800f9c2

22 months agoatspi: use 'class' key for Dali type name 92/257992/1
Shinwoo Kim [Fri, 7 May 2021 10:01:51 +0000 (19:01 +0900)]
atspi: use 'class' key for Dali type name

This will be used by Aurum(AT-Client) for easy of use.
The Chromium-efl provides attribute 'class' as a key.
This patch supports unified usablilty between different toolkit.

Change-Id: I7fb31f21ccb7290e37354496125f146b926a5870

22 months agoReplace rive animation resource for automated utc 51/257951/1
Taehyub Kim [Fri, 7 May 2021 04:25:51 +0000 (13:25 +0900)]
Replace rive animation resource for automated utc

Change-Id: I62126dd4d1ad4e3d60e60a5ae8ed364a05314540

22 months agoTexture mipmap support 22/257922/1
Richard Huang [Thu, 6 May 2021 10:33:10 +0000 (11:33 +0100)]
Texture mipmap support

Change-Id: Iee0f2e0e1bb9407b82f756dffddeb30b638e730c

22 months agoMerge "Rename functions, variables, etc related to policy decision." into devel/master
JIYUN YANG [Thu, 6 May 2021 06:48:43 +0000 (06:48 +0000)]
Merge "Rename functions, variables, etc related to policy decision." into devel/master

22 months agoDALi Version 2.0.24 56/257756/1 dali_2.0.24
Richard Huang [Fri, 30 Apr 2021 10:02:20 +0000 (11:02 +0100)]
DALi Version 2.0.24

Change-Id: Id69cc8a18dbd9a3c3f441496f5c0f4c956727683

22 months agoRename functions, variables, etc related to policy decision. 49/257749/1
huayong.xu [Fri, 30 Apr 2021 07:43:01 +0000 (15:43 +0800)]
Rename functions, variables, etc related to policy decision.

Originally 'policy,newwindow,decide' is processed, it is not
expected. Actually 'policy,response,decide' need be processed.
This patch is to rename some functions, callbacks, variables, etc.

Change-Id: I741b1ffba7bec9bfc863fa8cbc6f007e57fd1c5e

22 months agoMerge "visual: Implements rive animation" into devel/master
Taehyub Kim [Thu, 29 Apr 2021 08:59:14 +0000 (08:59 +0000)]
Merge "visual: Implements rive animation" into devel/master

22 months agovisual: Implements rive animation 50/256450/5
Taehyub Kim [Fri, 2 Apr 2021 12:36:42 +0000 (21:36 +0900)]
visual: Implements rive animation

Change-Id: I6c6db8ff53493ad164142805d2655cb34b9ce10e

22 months agoMake to use DevelTexture::ApplyNativeFragmentShader in video-view 24/257624/2
seungho [Wed, 28 Apr 2021 09:10:53 +0000 (18:10 +0900)]
Make to use DevelTexture::ApplyNativeFragmentShader in video-view

 - The extension name could be different for each device.
 - This patch force to use DevelTexture::ApplyNativeFragmentShader to change shader code for the egl image

Change-Id: Ic87f141c62c844af19da93ce652d7b3ee197f0b5
Signed-off-by: seungho <sbsh.baek@samsung.com>
22 months agoFurther fixes to Windows Build 39/257639/1
Adeel Kazmi [Wed, 28 Apr 2021 18:34:48 +0000 (19:34 +0100)]
Further fixes to Windows Build

Change-Id: I5a64e3190ad303f15be2921d5e0aefb4a971c971

22 months agoMerge "Windows build fixes" into devel/master
Adeel Kazmi [Wed, 28 Apr 2021 17:28:14 +0000 (17:28 +0000)]
Merge "Windows build fixes" into devel/master

22 months agoWindows build fixes 76/257576/6
Adeel Kazmi [Tue, 27 Apr 2021 18:27:29 +0000 (19:27 +0100)]
Windows build fixes

Change-Id: I8ce0746a5119df1df855d7980285e9bcf465f679

22 months agoAdd text wrapping hyphen mode support 79/254279/23
abdullah [Thu, 25 Feb 2021 12:00:05 +0000 (14:00 +0200)]
Add text wrapping hyphen mode support

related to
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-adaptor/+/254278

using namespace Dali;
using namespace Dali::Toolkit;

class SimpleApp : public ConnectionTracker
{
public:
  SimpleApp(Application& application)
  : mApplication(application)
  {
    mApplication.InitSignal().Connect(this, &SimpleApp::Create);
  }

  void Create(Application& application)
  {
    Window window = mApplication.GetWindow();
    mEditor = TextEditor::New();
    mEditor.SetProperty(Actor::Property::PARENT_ORIGIN, ParentOrigin::TOP_CENTER);
    mEditor.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::TOP_CENTER);
    mEditor.SetProperty(Actor::Property::POSITION, Vector3(0.f, 0.0f, 0.f));
    mEditor.SetProperty(Actor::Property::SIZE, Vector2(150, 300.0f));
    window.SetBackgroundColor(Vector4(0.04f, 0.345f, 0.392f, 1.0f));
    mEditor.SetProperty(TextEditor::Property::POINT_SIZE, 26.f);
    mEditor.SetProperty(TextEditor::Property::TEXT, "Experimental!!!!");
    mEditor.SetProperty(TextEditor::Property::LINE_WRAP_MODE, Text::LineWrap::HYPHENATION);
    window.Add(mEditor);
  }

private:
  Application& mApplication;
  TextEditor mEditor;
};

int DALI_EXPORT_API main(int argc, char** argv)
{
  Application application = Application::New(&argc, &argv);
  SimpleApp test(application);
  application.MainLoop();

  return 0;
}

Change-Id: I736a8d251d1f7fb364b7bfb26520767dfd019ccb

22 months agoSyncing test harness 74/257574/1
David Steele [Tue, 27 Apr 2021 17:06:37 +0000 (18:06 +0100)]
Syncing test harness

Change-Id: I6b1bdee8d1e96797baca8e3542c30f041d960b2f

22 months agoFix build error UTC UtcDaliTextEditorMarkupUnderline 47/257547/1
Shrouq Sabah [Tue, 27 Apr 2021 11:46:14 +0000 (14:46 +0300)]
Fix build error UTC UtcDaliTextEditorMarkupUnderline

Change-Id: I9cd9a9518d6549fb302225b4b48a65df667562c6

22 months agoFixing issue: On Text, reducing font-point-size when the Glyph-block-size be larger... 23/254923/24
Shrouq Sabah [Wed, 10 Mar 2021 13:03:20 +0000 (15:03 +0200)]
Fixing issue: On Text, reducing font-point-size when the Glyph-block-size be larger than Atlas-block-size to fit into it.

Issue: On TextEditor or TextField when use font size (Point-Size) which creating Glyphs its size larger than Atlas-block size then logging error says that can’t create block and nothing appear in Text-Controller.

Solution: At Adaptor level, checking block size according to point-size if the block will be larger than Atlas size then keep decreasing point-size until achieve block that fit into Atlas size.
Toolkit calls API named “EnableAtlasLimitation” on Font-Client object to activate this validation on Adaptor level. Since the Atlas size information added as constants in Font-Client class.
Log warning that the point-size is reduced.
Automated test-cases added to Adaptor and Toolkit

Added APIs into font-client/Adaptor for Point-size & Atlas information instead of constants/literal values in toolkit.

Reproduce by:
Creating TextEditor or TextFiled then set properties:
mEditor.SetProperty( TextEditor::Property::POINT_SIZE, 330) ;
mEditor.SetProperty( TextEditor::Property::FONT_FAMILY, " DejaVu Sans ") ;

Logged error appears:
Logged ERROR: “ERROR: DALI: CreateAtlas Atlas 512 x 512 too small. Dimensions need to be at least 517x517”
Logged ERROR: “ERROR: DALI: Add Failed to create an atlas of 512 x 512 blocksize: 514 x 514.”

Change-Id: Ib4c57e80c21ca5efe905681fe050d3a65873c6f5

22 months agoMerge "Support Underline to Markup using underlined-character-run" into devel/master
Bowon Ryu [Tue, 27 Apr 2021 02:20:42 +0000 (02:20 +0000)]
Merge "Support Underline to Markup using underlined-character-run" into devel/master

22 months agoMerge "[AT-SPI] Set default value of ReadingInfoTypes" into devel/master
Seoyeon Kim [Tue, 27 Apr 2021 01:46:23 +0000 (01:46 +0000)]
Merge "[AT-SPI] Set default value of ReadingInfoTypes" into devel/master

22 months agoMerge "(Vector) Drop frames when the animation is delayed" into devel/master
Heeyong Song [Mon, 26 Apr 2021 12:18:05 +0000 (12:18 +0000)]
Merge "(Vector) Drop frames when the animation is delayed" into devel/master

22 months ago(Vector) Drop frames when the animation is delayed 53/256953/5
Heeyong Song [Thu, 15 Apr 2021 08:49:31 +0000 (17:49 +0900)]
(Vector) Drop frames when the animation is delayed

Change-Id: I644c34fa6b1bd008f830fe7c9a3af9860ab211f6

22 months agoAllow building with older cmake versions 61/257461/2
Adeel Kazmi [Mon, 26 Apr 2021 08:20:56 +0000 (09:20 +0100)]
Allow building with older cmake versions

Change-Id: I74afe9eee8e57ea2739971cf04bded17df781c8e

22 months agoSupport Underline to Markup using underlined-character-run 71/256771/9
Shrouq Sabah [Mon, 12 Apr 2021 13:01:32 +0000 (16:01 +0300)]
Support Underline to Markup using underlined-character-run

Change-Id: I21e5639a75a815204060e5d56c342794e23941ff

22 months agoMerge "Add post processor" into devel/master
Seungho BAEK [Mon, 26 Apr 2021 05:22:04 +0000 (05:22 +0000)]
Merge "Add post processor" into devel/master

22 months agoMerge "This is a hotfix for side effect on Scrolling, LineWrap and Invalid position...
Bowon Ryu [Mon, 26 Apr 2021 05:18:15 +0000 (05:18 +0000)]
Merge "This is a hotfix for side effect on Scrolling, LineWrap and Invalid position of cursor in TextEditor after calling GetNaturalSize or GetHeightForWidth." into devel/master

23 months agoReplaced Shader Generator script with an executable for cross-platform support 18/257318/10
Adeel Kazmi [Thu, 22 Apr 2021 13:24:30 +0000 (14:24 +0100)]
Replaced Shader Generator script with an executable for cross-platform support

Change-Id: I203b30afb74ad69b8b7faed5271478c20d4445cc

23 months agoDALi Version 2.0.23 92/257392/1 dali_2.0.23
Adeel Kazmi [Fri, 23 Apr 2021 08:29:15 +0000 (09:29 +0100)]
DALi Version 2.0.23

Change-Id: Ib83517c85e89e0b819b7eadcc6e5a318dd40beac

23 months ago[AT-SPI] Set default value of ReadingInfoTypes 15/256915/3
Bartlomiej Grzelewski [Wed, 14 Apr 2021 12:45:31 +0000 (14:45 +0200)]
[AT-SPI] Set default value of ReadingInfoTypes

Change-Id: I58c437e75749cd9f6307e68a2aa863bde93f95ac

23 months agoThis is a hotfix for side effect on Scrolling, LineWrap and Invalid position of curso... 79/255379/14
Shrouq Sabah [Wed, 17 Mar 2021 13:59:03 +0000 (15:59 +0200)]
This is a hotfix for side effect on Scrolling, LineWrap and Invalid position of cursor in TextEditor after calling GetNaturalSize or GetHeightForWidth.

The number of lines and glyph-positions in visualModel have been changed by calling DoRelayout with size does not equal actualControlSize.

Solution: Store the mLines and mGlyphPositions from visualModel so that they can be restored later on with no modifications made on them.

Change-Id: Ic14995e1c178b094107f4317e9d3835d6bec7470

23 months agoAdd post processor 66/257266/1
seungho [Thu, 22 Apr 2021 01:52:59 +0000 (10:52 +0900)]
Add post processor

Change-Id: I557a9b372d758dbef8412db5cfab800ebb8f713e
Signed-off-by: seungho <sbsh.baek@samsung.com>
23 months agoSyncing test harness 50/257250/1
David Steele [Wed, 21 Apr 2021 17:03:00 +0000 (18:03 +0100)]
Syncing test harness

Change-Id: Ib1277c48ae7fc8e72a2f78cf780d9bbeb3fed4f1

23 months agoSyncing test harness 25/257125/1
David Steele [Mon, 19 Apr 2021 10:07:16 +0000 (11:07 +0100)]
Syncing test harness

Change-Id: Ibca06fbc35ce4943c019cb159ca3494068005096