Adeel Kazmi [Mon, 21 Jun 2021 10:38:25 +0000 (11:38 +0100)]
(Control) Fix some SVACE issues in Transition
Change-Id: Iea4054b9942f3b2b27a2f7cf1110d89f47673561
Bowon Ryu [Mon, 21 Jun 2021 02:51:21 +0000 (02:51 +0000)]
Merge "Fix invalid update to TextUpdateInfo in SELECTING state." into devel/master
Adeel Kazmi [Fri, 18 Jun 2021 14:33:35 +0000 (14:33 +0000)]
Merge "Discard fragments out of corner radius" into devel/master
Adeel Kazmi [Fri, 18 Jun 2021 12:53:50 +0000 (12:53 +0000)]
Merge "Add Fade Transition" into devel/master
David Steele [Fri, 18 Jun 2021 10:38:05 +0000 (11:38 +0100)]
DALi Version 2.0.31
Change-Id: Id3c7b95f84e162dafbcc09b0a8b9a8735ff782ec
Bowon Ryu [Fri, 18 Jun 2021 07:42:57 +0000 (16:42 +0900)]
Fix invalid update to TextUpdateInfo in SELECTING state.
mTextUpdateInfo is updated even if no selecting state in SetInputColor().
This causes a crash in some cases.
(When TextColor, InputColor is changed by the user in TextChanged callback)
This patch prevents invalid update of TextUpdateInfo.
Most of the known Text Crash issues are fixed by this patch.
Change-Id: I16488d3a9f9f063c441834f622afbe33b3ea7a74
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Eunki, Hong [Wed, 16 Jun 2021 05:33:34 +0000 (14:33 +0900)]
Discard fragments out of corner radius
discard of some fragments so we can clip rounded corner when ClippingMode::CLIP_CHILDREN.
Note : This patch doesn't decrease performance.
Below table show average FPS of perf-scroll.example + corner radius
| Ubuntu | NikeM2 | TM1 | Meson |
before | 44.241 | 54.549 | 27.113 | 48.442 |
after | 44.414 | 54.953 | 27.207 | 48.315 |
Change-Id: I01f18f9d7025c629ee46f57e02361d24eaf76280
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
seungho [Wed, 2 Jun 2021 09:38:35 +0000 (18:38 +0900)]
Add Fade Transition
Change-Id: Ic906ebf56b3cd21e3cf1877da54039f3e0550049
Signed-off-by: seungho <sbsh.baek@samsung.com>
joogab yun [Tue, 15 Jun 2021 05:35:22 +0000 (05:35 +0000)]
Merge "Add TOUCH_FOCUSABLE property" 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
Seungho BAEK [Fri, 11 Jun 2021 10:36:36 +0000 (10:36 +0000)]
Merge "Adds transition effect" into devel/master
Adeel Kazmi [Fri, 11 Jun 2021 10:35:41 +0000 (11:35 +0100)]
DALi Version 2.0.30
Change-Id: Ie73de85e2403ba74960726545d23561f5b667d47
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>
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
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>
Adeel Kazmi [Tue, 8 Jun 2021 17:16:02 +0000 (18:16 +0100)]
Fixed SVACE error in animated-image-visual.cpp
Change-Id: Iddf37fd1f0be4c25d60a6f7fdb451621dd488abe
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
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
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
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
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>
David Steele [Fri, 4 Jun 2021 13:02:54 +0000 (13:02 +0000)]
Merge "DALi Version 2.0.29" into devel/master
Adam Bialogonski [Fri, 4 Jun 2021 08:56:52 +0000 (09:56 +0100)]
DALi Version 2.0.29
Change-Id: I72024b28a4b6b7e1a9928d9818c8f4ed59ff72ce
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
Seoyeon Kim [Tue, 1 Jun 2021 09:35:42 +0000 (09:35 +0000)]
Merge "[AT-SPI] Add SetTextContents, InsertText and DeleteText" 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
joogab yun [Tue, 1 Jun 2021 03:09:11 +0000 (03:09 +0000)]
Merge "Set Gesture Propagation" 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
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
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
Joogab Yun [Wed, 26 May 2021 04:33:43 +0000 (13:33 +0900)]
Set Gesture Propagation
Change-Id: I521bccb522b01b4d667dd4e399d4d705ed7160a9
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
Heeyong Song [Mon, 31 May 2021 01:37:34 +0000 (01:37 +0000)]
Merge "(Vector) Fix deadlock issue: remove lock" into devel/master
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
Richard Huang [Fri, 28 May 2021 09:51:08 +0000 (10:51 +0100)]
DALi Version 2.0.28
Change-Id: If2ec72fd64956a6973fc9856b0a9ddc315604453
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>
Adeel Kazmi [Thu, 27 May 2021 09:43:24 +0000 (10:43 +0100)]
Fixed SVACE errors in Test Graphics
Change-Id: I67fb0f6d7eddbde198a2d68519afd35f8a9eb667
Heeyong Song [Thu, 27 May 2021 05:55:05 +0000 (14:55 +0900)]
(Vector) Fix deadlock issue: remove lock
Change-Id: I145d138f6a6a16e425dae577d2ecc88fd2dbfcbb
Heeyong Song [Tue, 25 May 2021 11:32:27 +0000 (20:32 +0900)]
Remove DevelColorVisual::Property::RENDER_IF_TRANSPARENT
Change-Id: I985ae68c61246dec81360e94c827f236d9e27a4e
David Steele [Wed, 26 May 2021 12:27:08 +0000 (12:27 +0000)]
Merge "Merge branch 'devel/master' into devel/graphics" into devel/master
David Steele [Tue, 25 May 2021 23:28:35 +0000 (00:28 +0100)]
Merge branch 'devel/master' into devel/graphics
Change-Id: I51fef49392010ab166900229c74b05bb0520fcd3
Joogab Yun [Wed, 26 May 2021 02:22:31 +0000 (11:22 +0900)]
Add ACCESSIBILITY_HIGHLIGHTABLE for ATSPI
Change-Id: Iff574b2342ac6a1d55d5618eee24119c7475b6b0
Adam Bialogonski [Mon, 17 May 2021 16:45:05 +0000 (17:45 +0100)]
Managed Unified Uniform Buffer
Test harness update
Change-Id: Ie65fb2564dc7d7be8c946b14c870062211af745c
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>
Adeel Kazmi [Fri, 21 May 2021 09:26:13 +0000 (09:26 +0000)]
Merge "DALi Version 2.0.27" into devel/master
David Steele [Fri, 21 May 2021 09:17:51 +0000 (10:17 +0100)]
DALi Version 2.0.27
Change-Id: Id18e88f8537ede6503fe27c5400cd71b180587cf
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
joogab yun [Fri, 21 May 2021 05:28:29 +0000 (05:28 +0000)]
Merge "Implement FocusFinder" into devel/master
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
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>
David Steele [Wed, 19 May 2021 17:23:25 +0000 (18:23 +0100)]
Sync tests for sync
Change-Id: I12e0c00cbdaf1d49cf873d6f8908b8ce3a7e64fe
Heeyong Song [Tue, 18 May 2021 12:48:06 +0000 (12:48 +0000)]
Merge "Fix texture manager crash" into devel/master
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
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
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
Adeel Kazmi [Fri, 14 May 2021 16:25:34 +0000 (16:25 +0000)]
Merge "Fixing shader generator build when coverage enabled" into devel/master
David Steele [Fri, 14 May 2021 10:57:37 +0000 (11:57 +0100)]
Fixing shader generator build when coverage enabled
Change-Id: Ibe0d9047cefc226bc2daad0a7cf5df177891fc06
Adam Bialogonski [Fri, 14 May 2021 10:21:03 +0000 (11:21 +0100)]
DALi Version 2.0.26
Change-Id: I889f8771b3105039b17c46658c693a85d8d44c3f
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>
Adeel Kazmi [Thu, 13 May 2021 12:01:21 +0000 (13:01 +0100)]
Merge branch 'devel/master' into devel/graphics
Change-Id: Ie1526bf82b84f25cf1cfbd1ccf77d2033bd38190
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>
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>
Adeel Kazmi [Tue, 11 May 2021 14:18:31 +0000 (14:18 +0000)]
Merge "Fixed SVACE error in text-typesetter.cpp" into devel/master
Adeel Kazmi [Tue, 11 May 2021 09:01:33 +0000 (10:01 +0100)]
Fixed SVACE error in text-typesetter.cpp
Change-Id: I98d6c357528eba5f87c272c48e3827005dc4b674
Seoyeon Kim [Tue, 11 May 2021 10:31:49 +0000 (10:31 +0000)]
Merge "[AT-SPI] Call Control::Impl::AccessibilityRegister() unconditionally" 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
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
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
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
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
Bowon Ryu [Mon, 10 May 2021 05:35:17 +0000 (05:35 +0000)]
Merge "Add text wrapping hyphen mode support" 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
Richard Huang [Fri, 7 May 2021 14:13:24 +0000 (15:13 +0100)]
Move glyphy shaders into separate files
Change-Id: I7bd2afc719c759d57d73e31680b24c35789a16a9
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
Adeel Kazmi [Fri, 7 May 2021 11:23:19 +0000 (11:23 +0000)]
Merge "DALi Version 2.0.25" into devel/master
Adeel Kazmi [Fri, 7 May 2021 10:34:23 +0000 (11:34 +0100)]
DALi Version 2.0.25
Change-Id: Ibd665f0776541e24534321b10930e39c6800f9c2
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
Taehyub Kim [Fri, 7 May 2021 04:25:51 +0000 (13:25 +0900)]
Replace rive animation resource for automated utc
Change-Id: I62126dd4d1ad4e3d60e60a5ae8ed364a05314540
Richard Huang [Thu, 6 May 2021 10:33:10 +0000 (11:33 +0100)]
Texture mipmap support
Change-Id: Iee0f2e0e1bb9407b82f756dffddeb30b638e730c
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
Richard Huang [Fri, 30 Apr 2021 10:02:20 +0000 (11:02 +0100)]
DALi Version 2.0.24
Change-Id: Id69cc8a18dbd9a3c3f441496f5c0f4c956727683
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
Taehyub Kim [Thu, 29 Apr 2021 08:59:14 +0000 (08:59 +0000)]
Merge "visual: Implements rive animation" into devel/master
Taehyub Kim [Fri, 2 Apr 2021 12:36:42 +0000 (21:36 +0900)]
visual: Implements rive animation
Change-Id: I6c6db8ff53493ad164142805d2655cb34b9ce10e
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>
Adeel Kazmi [Wed, 28 Apr 2021 18:34:48 +0000 (19:34 +0100)]
Further fixes to Windows Build
Change-Id: I5a64e3190ad303f15be2921d5e0aefb4a971c971
Adeel Kazmi [Wed, 28 Apr 2021 17:28:14 +0000 (17:28 +0000)]
Merge "Windows build fixes" into devel/master
Adeel Kazmi [Tue, 27 Apr 2021 18:27:29 +0000 (19:27 +0100)]
Windows build fixes
Change-Id: I8ce0746a5119df1df855d7980285e9bcf465f679
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
David Steele [Tue, 27 Apr 2021 17:06:37 +0000 (18:06 +0100)]
Syncing test harness
Change-Id: I6b1bdee8d1e96797baca8e3542c30f041d960b2f
Shrouq Sabah [Tue, 27 Apr 2021 11:46:14 +0000 (14:46 +0300)]
Fix build error UTC UtcDaliTextEditorMarkupUnderline
Change-Id: I9cd9a9518d6549fb302225b4b48a65df667562c6
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
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
Seoyeon Kim [Tue, 27 Apr 2021 01:46:23 +0000 (01:46 +0000)]
Merge "[AT-SPI] Set default value of ReadingInfoTypes" 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
Heeyong Song [Thu, 15 Apr 2021 08:49:31 +0000 (17:49 +0900)]
(Vector) Drop frames when the animation is delayed
Change-Id: I644c34fa6b1bd008f830fe7c9a3af9860ab211f6
Adeel Kazmi [Mon, 26 Apr 2021 08:20:56 +0000 (09:20 +0100)]
Allow building with older cmake versions
Change-Id: I74afe9eee8e57ea2739971cf04bded17df781c8e
Shrouq Sabah [Mon, 12 Apr 2021 13:01:32 +0000 (16:01 +0300)]
Support Underline to Markup using underlined-character-run
Change-Id: I21e5639a75a815204060e5d56c342794e23941ff
Seungho BAEK [Mon, 26 Apr 2021 05:22:04 +0000 (05:22 +0000)]
Merge "Add post processor" into devel/master
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