Jaehyun Cho [Mon, 28 Jun 2021 10:37:26 +0000 (19:37 +0900)]
Merge branch 'devel/master' into tizen
Change-Id: Ib006a767a69275551def98fdf3fde28612bd1d62
Bowon Ryu [Tue, 22 Jun 2021 08:23:53 +0000 (17:23 +0900)]
Reduce unnecessary calc in CalculateVerticalOffset()
The calculation for offsetY is only needed when the placeholder is show.
This patch adds that condition, reducing unnecessary calculations.
Change-Id: I264671de296236f069971081999063524105897b
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Mon, 28 Jun 2021 07:47:56 +0000 (07:47 +0000)]
Merge "Add support for span tag" into devel/master
Adeel Kazmi [Fri, 25 Jun 2021 10:57:55 +0000 (10:57 +0000)]
Merge "DALi Version 2.0.32" into devel/master
Richard Huang [Fri, 25 Jun 2021 10:17:26 +0000 (11:17 +0100)]
DALi Version 2.0.32
Change-Id: Ief016646c0845e75882c4a559113398e3eccea8a
Heeyong Song [Fri, 18 Jun 2021 05:39:10 +0000 (14:39 +0900)]
Revert "visual: Implements rive animation"
This reverts commit
ef1f2122e3825ec5fa1d2d3b568caec69ecd3d0c.
Change-Id: Iea2dcb4faf48c7af5226fc6820f207a998abdec9
Seungho BAEK [Fri, 25 Jun 2021 01:54:48 +0000 (01:54 +0000)]
Merge "Fix initialization of singleton variable in Transition-lifecycle-controller" into devel/master
abdullah [Sun, 2 May 2021 07:08:25 +0000 (10:08 +0300)]
Add support for span tag
support span tag to be used for grouping font properties & text color.
for example :
Hello <span font-size='50' text-color='blue'>World</span>
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(300, 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::ENABLE_MARKUP, true);
mEditor.SetProperty(TextEditor::Property::TEXT, "Hello <span font-size='50' text-color='blue'>World</span>");
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: Ie1be3e9d980dbca8ee4f0154000f94defd517a7c
joogab yun [Thu, 24 Jun 2021 09:34:15 +0000 (09:34 +0000)]
Merge "Change MatchSystemLanguageDirection is true." into devel/master
Bowon Ryu [Thu, 24 Jun 2021 08:20:09 +0000 (17:20 +0900)]
Fix underline issue when PreeditStyle is REVERSE, HIGHLIGHT
Even if it is PreeditStyle without underline,
need to do UnderlineRuns for any markup underlines that may exist in text.
Change-Id: I6920dde2c7be93583eef4adfa5c026a671fcbbf6
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
abdullah [Mon, 31 May 2021 14:38:06 +0000 (17:38 +0300)]
add support for background markup tag
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(300, 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::ENABLE_MARKUP, true);
mEditor.SetProperty(TextEditor::Property::TEXT, "<background color='red'>W</background><background color='blue'>oo</background>d");
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: Ib3259932cb1bf0efc3f8690e7bdcdd8ca37423fd
Heeyong Song [Wed, 9 Jun 2021 08:21:43 +0000 (17:21 +0900)]
Change FocusFinder to a method
Change-Id: I7513ef3142fe649ad3d2c614b76b863b6d6c0c1a
huiyu.eun [Wed, 23 Jun 2021 08:00:15 +0000 (17:00 +0900)]
Merge branch 'devel/master' into tizen
Change-Id: I3777a05036583324365d2f48496eb74da815effb
huiyu.eun [Wed, 23 Jun 2021 08:00:08 +0000 (17:00 +0900)]
Revert "[Tizen] Add AutofillContainer class and autofill implementation"
This reverts commit
c7c3b8c465a009265c95c8faa0e92c2990986738.
Adeel Kazmi [Mon, 21 Jun 2021 15:47:41 +0000 (16:47 +0100)]
(ImageView) Fix some SVACE issues in Transition
Change-Id: Ia4b4f5c2a74dfa4a5d53dc105c6dcd8ebda5036a
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>
Joogab Yun [Wed, 16 Jun 2021 10:01:05 +0000 (19:01 +0900)]
Change MatchSystemLanguageDirection is true.
Default text LTR/RTL direction follows the system language direction.
And check DALI_MATCH_SYSTEM_LANGUAGE_DIRECTION environment.
If you set export DALI_MATCH_SYSTEM_LANGUAGE_DIRECTION=0 then MatchSystemLanguageDirection is false.
Change-Id: Ic9c1516a8cdcf45a5ec187097509e7d996d374ff
Seungho Baek [Thu, 17 Jun 2021 03:02:28 +0000 (12:02 +0900)]
Fix initialization of singleton variable in Transition-lifecycle-controller
Change-Id: I6bd2c7c40e02a40775510f7950e865f67df65700
Signed-off-by: Seungho Baek <sbsh.baek@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
Dongsug Song [Mon, 14 Jun 2021 09:05:17 +0000 (18:05 +0900)]
Revert "[Tizen] Remove an External texture when ImageVisual is destroyed"
This reverts commit
4f76b257d6c28521105c6feb5df502b2c4e832eb.
Change-Id: I22042697921d9ee1ebeff6cfa08681e5d8afe4fa
Dongsug Song [Mon, 14 Jun 2021 09:04:29 +0000 (18:04 +0900)]
[Tizen] Remove an External texture when ImageVisual is destroyed
This reverts commit
7f55bcf3436a75d9849194ca31817bb061e662a4.
Change-Id: I04fe12db27601d6de1780eefa69a7821d2f0e64b
Dongsug Song [Mon, 14 Jun 2021 09:03:59 +0000 (18:03 +0900)]
[Tizen] Add AutofillContainer class and autofill implementation
This reverts commit
35071ee849b000e2df87e2428bf18bdf50d023c2.
Change-Id: I0e27ded77b1cf5aea71378da29d0d844db7122e7
Dongsug Song [Mon, 14 Jun 2021 09:03:37 +0000 (18:03 +0900)]
Merge branch 'devel/master' into tizen
Dongsug Song [Mon, 14 Jun 2021 09:03:24 +0000 (18:03 +0900)]
Revert "[Tizen] Add AutofillContainer class and autofill implementation"
This reverts commit
55ebcb7c7080b6b1eed31a0680fbfc6ad7636929.
Dongsug Song [Mon, 14 Jun 2021 09:03:21 +0000 (18:03 +0900)]
Revert "[Tizen] ColorVisual can use both BLUR_RADIUS and CORNER_RADIUS and vector4 corner radius"
This reverts commit
06f9e0816c65034a0861a8b9be92061f00970944.
Dongsug Song [Mon, 14 Jun 2021 09:03:18 +0000 (18:03 +0900)]
Revert "[Tizen] Adds transition effect"
This reverts commit
d4d4d1eacfb59a370b2f56787bb93f9f36939ab7.
Dongsug Song [Mon, 14 Jun 2021 09:03:00 +0000 (18:03 +0900)]
Revert "[Tizen] Remove an External texture when ImageVisual is destroyed"
This reverts commit
2c68c58357ed293af4056a9652dc6a3261be618d.
Dongsug Song [Mon, 14 Jun 2021 09:02:56 +0000 (18:02 +0900)]
Revert "Revert "[Tizen] Remove an External texture when ImageVisual is destroyed""
This reverts commit
e77a88e3251a8324ba55d70ee4ebef26d1a83fd3.
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
Eunki, Hong [Thu, 10 Jun 2021 03:36:46 +0000 (12:36 +0900)]
Revert "[Tizen] Remove an External texture when ImageVisual is destroyed"
This reverts commit
2c68c58357ed293af4056a9652dc6a3261be618d.
Change-Id: Ibf464816306507ebd06806c1afac397bbd64d4ce
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
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
Sunghyun Kim [Thu, 3 Jun 2021 10:53:15 +0000 (19:53 +0900)]
[Tizen] Remove an External texture when ImageVisual is destroyed
Change-Id: I9e5971ae5075b74cfab88e02c9f369f8c89f7a88
Taehyub Kim [Tue, 8 Jun 2021 10:41:30 +0000 (19:41 +0900)]
[Tizen] Adds transition effect
This reverts commit
5bd7d5e641d8b52c9249c84a2b2256ef4a87b7e5.
Taehyub Kim [Tue, 8 Jun 2021 10:41:16 +0000 (19:41 +0900)]
[Tizen] ColorVisual can use both BLUR_RADIUS and CORNER_RADIUS and vector4 corner radius
This reverts commit
a822574ea0ecc311e7294fb7b72991ab8549cbfe.
Change-Id: Ieb3c37ab124a21d106111f9ad07587cbef140bcc
Taehyub Kim [Tue, 8 Jun 2021 10:40:56 +0000 (19:40 +0900)]
[Tizen] Add AutofillContainer class and autofill implementation
This reverts commit
68bea01301d8b48200f7af4d4d5ec1f65fbb09f6.
Change-Id: I9a700a8ae6be46bcac2f499beeb89c20175bd8ff
Taehyub Kim [Tue, 8 Jun 2021 10:38:49 +0000 (19:38 +0900)]
Merge branch 'devel/master' into tizen
Change-Id: I070b4e6e450ecdf2d052b0fb834eecd1962f2119
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
Shinwoo Kim [Tue, 1 Jun 2021 02:10:23 +0000 (11:10 +0900)]
Revert "[Tizen] Add AutofillContainer class and autofill implementation"
This reverts commit
b36e920f7a271dd68fb55fb6f138d509c457c802.
Shinwoo Kim [Tue, 1 Jun 2021 02:10:12 +0000 (11:10 +0900)]
Revert "[Tizen] ColorVisual can use both BLUR_RADIUS and CORNER_RADIUS and vector4 corner radius"
This reverts commit
53521fe9d91d0d21897d499fcf154114b8bc82df.
Shinwoo Kim [Tue, 1 Jun 2021 02:10:04 +0000 (11:10 +0900)]
Revert "[Tizen] Adds transition effect"
This reverts commit
437d4501a9088f49d8fa49c505ca32ce40221412.
Shinwoo Kim [Tue, 1 Jun 2021 02:09:56 +0000 (11:09 +0900)]
Revert "[Tizen] visual: Implements rive animation"
This reverts commit
5a9b06018c30b3d3696f4a4d8cb2d91a224ee0e9.
Shinwoo Kim [Tue, 1 Jun 2021 02:09:47 +0000 (11:09 +0900)]
Revert "[Tizen] Replace rive animation resource for automated utc"
This reverts commit
ec7e7cf0fc1ceffd50b6d1f25a69382a27486be2.
Shinwoo Kim [Tue, 1 Jun 2021 02:09:38 +0000 (11:09 +0900)]
Revert "[Tizen] Set custom fragment shader to the visual used in WebView"
This reverts commit
57755dceaf86afbff2893ff27380ca78cf8b4f8e.
Shinwoo Kim [Tue, 1 Jun 2021 02:09:29 +0000 (11:09 +0900)]
Revert "[Tizen] Rename policy decision and fix favicon issue."
This reverts commit
7da437b37f1cc54db1fbe76a0aff94663184c96c.
Shinwoo Kim [Tue, 1 Jun 2021 02:09:21 +0000 (11:09 +0900)]
Revert "[Tizen] Fix webview rendering issue in TV"
This reverts commit
2159a622030595fe54fd63c34756483e62821c57.
Shinwoo Kim [Tue, 1 Jun 2021 02:09:10 +0000 (11:09 +0900)]
Revert "[Tizen] Support Underline to Markup using underlined-character-run"
This reverts commit
22eac3ef0861b270474850ab9376b19581208af4.
Shinwoo Kim [Tue, 1 Jun 2021 02:09:02 +0000 (11:09 +0900)]
Revert "[Tizen] Fixing issue: On Text, reducing font-point-size when the Glyph-block-size be larger than Atlas-block-size to fit into it."
This reverts commit
e6b8da56953a1a9ee3db04178b6d121ea9aa24a4.
Shinwoo Kim [Tue, 1 Jun 2021 02:08:53 +0000 (11:08 +0900)]
Revert "[Tizen] Fix build error UTC UtcDaliTextEditorMarkupUnderline"
This reverts commit
a6d61c7a28017b470de313c5776de0dcf6affe7b.
Shinwoo Kim [Tue, 1 Jun 2021 02:08:35 +0000 (11:08 +0900)]
Revert "[Tizen] Add text wrapping hyphen mode support"
This reverts commit
789eeee3b25f9fef05ec67722204ea51bc4fd23c.
Shinwoo Kim [Tue, 1 Jun 2021 02:08:26 +0000 (11:08 +0900)]
Revert "[Tizen] Add property ENABLE_GRAB_HANDLE_POPUP to TextEditor"
This reverts commit
fe30a4e3cf67c5a302a89dad0e12fea79ed5ae42.
Shinwoo Kim [Tue, 1 Jun 2021 02:08:17 +0000 (11:08 +0900)]
Revert "[Tizen] Fix TextChanged signal."
This reverts commit
5511b058e12120555b4b3c3b35b1cf37c52a2990.
Shinwoo Kim [Tue, 1 Jun 2021 02:08:06 +0000 (11:08 +0900)]
Revert "[Tizen][AT-SPI] Set default value of ReadingInfoTypes"
This reverts commit
21ca0977fc96c16cf990be1f096b205800e385ca.
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>
Bartlomiej Grzelewski [Wed, 14 Apr 2021 12:45:31 +0000 (14:45 +0200)]
[Tizen][AT-SPI] Set default value of ReadingInfoTypes
Change-Id: I0fc2234a089534859ea2ad31b9ea4b221f331f29
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
Bowon Ryu [Thu, 20 May 2021 07:17:13 +0000 (16:17 +0900)]
[Tizen] 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>
Bowon Ryu [Fri, 14 May 2021 10:04:30 +0000 (19:04 +0900)]
[Tizen] 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>
abdullah [Thu, 25 Feb 2021 12:00:05 +0000 (14:00 +0200)]
[Tizen] 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
Shrouq Sabah [Tue, 27 Apr 2021 11:46:14 +0000 (14:46 +0300)]
[Tizen] Fix build error UTC UtcDaliTextEditorMarkupUnderline
Change-Id: I9cd9a9518d6549fb302225b4b48a65df667562c6
Shrouq Sabah [Wed, 10 Mar 2021 13:03:20 +0000 (15:03 +0200)]
[Tizen] 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
Shrouq Sabah [Mon, 12 Apr 2021 13:01:32 +0000 (16:01 +0300)]
[Tizen] Support Underline to Markup using underlined-character-run
Change-Id: I21e5639a75a815204060e5d56c342794e23941ff
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