platform/core/uifw/dali-toolkit.git
3 years agoFixed an issue where the multi-tap did not work properly.
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

3 years ago(Vector) Fix deadlock issue: remove lock
Heeyong Song [Thu, 27 May 2021 05:55:05 +0000 (14:55 +0900)]
(Vector) Fix deadlock issue: remove lock

Change-Id: I145d138f6a6a16e425dae577d2ecc88fd2dbfcbb

3 years agoDALi Version 2.0.28
Richard Huang [Fri, 28 May 2021 09:51:08 +0000 (10:51 +0100)]
DALi Version 2.0.28

Change-Id: If2ec72fd64956a6973fc9856b0a9ddc315604453

3 years agoFixed SVACE errors in Test Graphics
Adeel Kazmi [Thu, 27 May 2021 09:43:24 +0000 (10:43 +0100)]
Fixed SVACE errors in Test Graphics

Change-Id: I67fb0f6d7eddbde198a2d68519afd35f8a9eb667

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

Change-Id: I985ae68c61246dec81360e94c827f236d9e27a4e

3 years agoManaged Unified Uniform Buffer
Adam Bialogonski [Mon, 17 May 2021 16:45:05 +0000 (17:45 +0100)]
Managed Unified Uniform Buffer

Test harness update

Change-Id: Ie65fb2564dc7d7be8c946b14c870062211af745c

3 years agoSync tests for sync
David Steele [Wed, 19 May 2021 17:23:25 +0000 (18:23 +0100)]
Sync tests for sync

Change-Id: I12e0c00cbdaf1d49cf873d6f8908b8ce3a7e64fe

3 years agoAdded pixel format to fix bug with ktx loader
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>
3 years agoTexture mipmap support
Richard Huang [Thu, 6 May 2021 10:33:10 +0000 (11:33 +0100)]
Texture mipmap support

Change-Id: Iee0f2e0e1bb9407b82f756dffddeb30b638e730c

3 years agoSyncing test harness
David Steele [Tue, 27 Apr 2021 17:06:37 +0000 (18:06 +0100)]
Syncing test harness

Change-Id: I6b1bdee8d1e96797baca8e3542c30f041d960b2f

3 years agoSyncing test harness
David Steele [Wed, 21 Apr 2021 17:03:00 +0000 (18:03 +0100)]
Syncing test harness

Change-Id: Ib1277c48ae7fc8e72a2f78cf780d9bbeb3fed4f1

3 years agoSyncing test harness
David Steele [Mon, 19 Apr 2021 10:07:16 +0000 (11:07 +0100)]
Syncing test harness

Change-Id: Ibca06fbc35ce4943c019cb159ca3494068005096

3 years agoUpdated test harness
Adam Bialogonski [Wed, 14 Apr 2021 14:21:09 +0000 (15:21 +0100)]
Updated test harness

Change-Id: Ibebe7eae9e94d59e515465d67e3b2f276fb49740

3 years agoSyncing test harness
David Steele [Thu, 8 Apr 2021 18:30:52 +0000 (19:30 +0100)]
Syncing test harness

Change-Id: I204c191c5a54e198996557bdfbae12212f9e0c96

3 years agoAdd ACCESSIBILITY_HIGHLIGHTABLE for ATSPI
Joogab Yun [Wed, 26 May 2021 02:22:31 +0000 (11:22 +0900)]
Add ACCESSIBILITY_HIGHLIGHTABLE for ATSPI

Change-Id: Iff574b2342ac6a1d55d5618eee24119c7475b6b0

3 years agoDALi Version 2.0.27
David Steele [Fri, 21 May 2021 09:17:51 +0000 (10:17 +0100)]
DALi Version 2.0.27

Change-Id: Id18e88f8537ede6503fe27c5400cd71b180587cf

3 years agoImplement FocusFinder
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

3 years agoFix TextChanged signal.
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>
3 years agoFix texture manager crash
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

3 years agoAdd property ENABLE_GRAB_HANDLE_POPUP to TextEditor
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>
3 years agoFixing shader generator build when coverage enabled
David Steele [Fri, 14 May 2021 10:57:37 +0000 (11:57 +0100)]
Fixing shader generator build when coverage enabled

Change-Id: Ibe0d9047cefc226bc2daad0a7cf5df177891fc06

3 years agoDALi Version 2.0.26
Adam Bialogonski [Fri, 14 May 2021 10:21:03 +0000 (11:21 +0100)]
DALi Version 2.0.26

Change-Id: I889f8771b3105039b17c46658c693a85d8d44c3f

3 years agoUpdate shader of image-visual after OnScene for native image
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>
3 years agoFixed SVACE error in text-typesetter.cpp
Adeel Kazmi [Tue, 11 May 2021 09:01:33 +0000 (10:01 +0100)]
Fixed SVACE error in text-typesetter.cpp

Change-Id: I98d6c357528eba5f87c272c48e3827005dc4b674

3 years ago[AT-SPI] Call Control::Impl::AccessibilityRegister() unconditionally
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

3 years agoFix crash issue when favicon is null.
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

3 years agoatspi: use 'class' key for Dali type name
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

3 years agoMake to use DevelTexture::ApplyNativeFragmentShader in video-view
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>
3 years agoAdd text wrapping hyphen mode support
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

3 years agoMove glyphy shaders into separate files
Richard Huang [Fri, 7 May 2021 14:13:24 +0000 (15:13 +0100)]
Move glyphy shaders into separate files

Change-Id: I7bd2afc719c759d57d73e31680b24c35789a16a9

3 years ago(Automated Tests) Fix summary.xml creation failure when running shader-generator...
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

3 years agoDALi Version 2.0.25
Adeel Kazmi [Fri, 7 May 2021 10:34:23 +0000 (11:34 +0100)]
DALi Version 2.0.25

Change-Id: Ibd665f0776541e24534321b10930e39c6800f9c2

3 years agoReplace rive animation resource for automated utc
Taehyub Kim [Fri, 7 May 2021 04:25:51 +0000 (13:25 +0900)]
Replace rive animation resource for automated utc

Change-Id: I62126dd4d1ad4e3d60e60a5ae8ed364a05314540

3 years agoRename functions, variables, etc related to policy decision.
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

3 years agoDALi Version 2.0.24
Richard Huang [Fri, 30 Apr 2021 10:02:20 +0000 (11:02 +0100)]
DALi Version 2.0.24

Change-Id: Id69cc8a18dbd9a3c3f441496f5c0f4c956727683

3 years agovisual: Implements rive animation
Taehyub Kim [Fri, 2 Apr 2021 12:36:42 +0000 (21:36 +0900)]
visual: Implements rive animation

Change-Id: I6c6db8ff53493ad164142805d2655cb34b9ce10e

3 years agoFurther fixes to Windows Build
Adeel Kazmi [Wed, 28 Apr 2021 18:34:48 +0000 (19:34 +0100)]
Further fixes to Windows Build

Change-Id: I5a64e3190ad303f15be2921d5e0aefb4a971c971

3 years agoWindows build fixes
Adeel Kazmi [Tue, 27 Apr 2021 18:27:29 +0000 (19:27 +0100)]
Windows build fixes

Change-Id: I8ce0746a5119df1df855d7980285e9bcf465f679

3 years agoFix build error UTC UtcDaliTextEditorMarkupUnderline
Shrouq Sabah [Tue, 27 Apr 2021 11:46:14 +0000 (14:46 +0300)]
Fix build error UTC UtcDaliTextEditorMarkupUnderline

Change-Id: I9cd9a9518d6549fb302225b4b48a65df667562c6

3 years agoFixing issue: On Text, reducing font-point-size when the Glyph-block-size be larger...
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

3 years agoSupport Underline to Markup using underlined-character-run
Shrouq Sabah [Mon, 12 Apr 2021 13:01:32 +0000 (16:01 +0300)]
Support Underline to Markup using underlined-character-run

Change-Id: I21e5639a75a815204060e5d56c342794e23941ff

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

Change-Id: I58c437e75749cd9f6307e68a2aa863bde93f95ac

3 years ago(Vector) Drop frames when the animation is delayed
Heeyong Song [Thu, 15 Apr 2021 08:49:31 +0000 (17:49 +0900)]
(Vector) Drop frames when the animation is delayed

Change-Id: I644c34fa6b1bd008f830fe7c9a3af9860ab211f6

3 years agoAllow building with older cmake versions
Adeel Kazmi [Mon, 26 Apr 2021 08:20:56 +0000 (09:20 +0100)]
Allow building with older cmake versions

Change-Id: I74afe9eee8e57ea2739971cf04bded17df781c8e

3 years agoRevert "[Tizen] Add AutofillContainer class and autofill implementation"
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.

3 years agoRevert "[Tizen] ColorVisual can use both BLUR_RADIUS and CORNER_RADIUS and vector4...
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.

3 years agoRevert "[Tizen] Adds transition effect"
Shinwoo Kim [Tue, 1 Jun 2021 02:10:04 +0000 (11:10 +0900)]
Revert "[Tizen] Adds transition effect"

This reverts commit 437d4501a9088f49d8fa49c505ca32ce40221412.

3 years agoRevert "[Tizen] visual: Implements rive animation"
Shinwoo Kim [Tue, 1 Jun 2021 02:09:56 +0000 (11:09 +0900)]
Revert "[Tizen] visual: Implements rive animation"

This reverts commit 5a9b06018c30b3d3696f4a4d8cb2d91a224ee0e9.

3 years agoRevert "[Tizen] Replace rive animation resource for automated utc"
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.

3 years agoRevert "[Tizen] Set custom fragment shader to the visual used in WebView"
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.

3 years agoRevert "[Tizen] Rename policy decision and fix favicon issue."
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.

3 years agoRevert "[Tizen] Fix webview rendering issue in TV"
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.

3 years agoRevert "[Tizen] Support Underline to Markup using underlined-character-run"
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.

3 years agoRevert "[Tizen] Fixing issue: On Text, reducing font-point-size when the Glyph-block...
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.

3 years agoRevert "[Tizen] Fix build error UTC UtcDaliTextEditorMarkupUnderline"
Shinwoo Kim [Tue, 1 Jun 2021 02:08:53 +0000 (11:08 +0900)]
Revert "[Tizen] Fix build error UTC UtcDaliTextEditorMarkupUnderline"

This reverts commit a6d61c7a28017b470de313c5776de0dcf6affe7b.

3 years agoRevert "[Tizen] Add text wrapping hyphen mode support"
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.

3 years agoRevert "[Tizen] Add property ENABLE_GRAB_HANDLE_POPUP to TextEditor"
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.

3 years agoRevert "[Tizen] Fix TextChanged signal."
Shinwoo Kim [Tue, 1 Jun 2021 02:08:17 +0000 (11:08 +0900)]
Revert "[Tizen] Fix TextChanged signal."

This reverts commit 5511b058e12120555b4b3c3b35b1cf37c52a2990.

3 years agoRevert "[Tizen][AT-SPI] Set default value of ReadingInfoTypes"
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.

3 years ago[Tizen][AT-SPI] Set default value of ReadingInfoTypes 08/258908/1
Bartlomiej Grzelewski [Wed, 14 Apr 2021 12:45:31 +0000 (14:45 +0200)]
[Tizen][AT-SPI] Set default value of ReadingInfoTypes

Change-Id: I0fc2234a089534859ea2ad31b9ea4b221f331f29

3 years ago[Tizen] Fix TextChanged signal. 71/258871/1
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>
3 years ago[Tizen] Add property ENABLE_GRAB_HANDLE_POPUP to TextEditor 70/258870/1
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>
3 years ago[Tizen] Add text wrapping hyphen mode support 69/258869/1
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

3 years ago[Tizen] Fix build error UTC UtcDaliTextEditorMarkupUnderline 68/258868/1
Shrouq Sabah [Tue, 27 Apr 2021 11:46:14 +0000 (14:46 +0300)]
[Tizen] Fix build error UTC UtcDaliTextEditorMarkupUnderline

Change-Id: I9cd9a9518d6549fb302225b4b48a65df667562c6

3 years ago[Tizen] Fixing issue: On Text, reducing font-point-size when the Glyph-block-size... 67/258867/1
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

3 years ago[Tizen] Support Underline to Markup using underlined-character-run 66/258866/1
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

3 years ago[Tizen] Fix webview rendering issue in TV 42/258442/2
Jiyun Yang [Tue, 18 May 2021 04:05:11 +0000 (13:05 +0900)]
[Tizen] Fix webview rendering issue in TV

Change-Id: I7c2cb780862ec9bb27ad35cabfc6238e0b02ee17

3 years ago[Tizen] Rename policy decision and fix favicon issue. 02/258302/1 submit/tizen/20210514.005236
huayong.xu [Fri, 30 Apr 2021 07:43:01 +0000 (15:43 +0800)]
[Tizen] Rename policy decision and fix favicon issue.

Change-Id: I485138a5e467515811008e89a9194bc58d1d9a34

3 years ago[Tizen] Set custom fragment shader to the visual used in WebView 59/258259/1
Jiyun Yang [Thu, 13 May 2021 03:14:47 +0000 (12:14 +0900)]
[Tizen] Set custom fragment shader to the visual used in WebView

Change-Id: I87be6fe6356783ed25c55d6cee53f673ecb93e32
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[Tizen] Replace rive animation resource for automated utc 52/257952/1 accepted/tizen/unified/20210509.123850 submit/tizen/20210507.051341
Taehyub Kim [Fri, 7 May 2021 04:25:51 +0000 (13:25 +0900)]
[Tizen] Replace rive animation resource for automated utc

Change-Id: I62126dd4d1ad4e3d60e60a5ae8ed364a05314540

3 years ago[Tizen] visual: Implements rive animation 45/257945/2
Taehyub Kim [Fri, 2 Apr 2021 12:36:42 +0000 (21:36 +0900)]
[Tizen] visual: Implements rive animation

Change-Id: I6c6db8ff53493ad164142805d2655cb34b9ce10e

3 years ago[Tizen] Adds transition effect accepted/tizen/unified/20210429.101113 submit/tizen/20210428.131742 submit/tizen/20210428.144547 submit/tizen/20210429.005248
Sunghyun Kim [Mon, 26 Apr 2021 07:11:37 +0000 (16:11 +0900)]
[Tizen] Adds transition effect

This reverts commit 2d7f1c8d98c5f0e36009b27a74b8caaddfbdf16e.

Change-Id: Ieb3aee3d5e133cc0eb13e60c9b13270db5d97020

3 years ago[Tizen] ColorVisual can use both BLUR_RADIUS and CORNER_RADIUS and vector4 corner...
Sunghyun Kim [Mon, 26 Apr 2021 06:50:38 +0000 (15:50 +0900)]
[Tizen] ColorVisual can use both BLUR_RADIUS and CORNER_RADIUS and vector4 corner radius

This reverts commit 26b38c4688cb516b82f81efc26dec936642db846.

Change-Id: Ib9ec8f2d9f59f90d1808409ac576abed9aebad91

3 years ago[Tizen] Add AutofillContainer class and autofill implementation
Sunghyun Kim [Mon, 26 Apr 2021 06:50:07 +0000 (15:50 +0900)]
[Tizen] Add AutofillContainer class and autofill implementation

This reverts commit 63befc6c39700bcb25a6819d97ec0d045645e0a5.

Change-Id: I3acff87bf3c1e7dafcb3639040838182c60c066c

3 years agoMerge branch 'devel/master' into tizen
Sunghyun Kim [Mon, 26 Apr 2021 06:49:46 +0000 (15:49 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: Ib43f22fa596c7fbd7184783c26dd25d38394ca4e

3 years agoRevert "[Tizen] Add AutofillContainer class and autofill implementation"
Sunghyun Kim [Mon, 26 Apr 2021 06:49:29 +0000 (15:49 +0900)]
Revert "[Tizen] Add AutofillContainer class and autofill implementation"

This reverts commit 64e2cd729c059995606137d4f13c9957cc424cba.

Change-Id: Ifdfb46c3b06589a2ca1466c49705a02ac6bbcbb0

3 years agoRevert "[Tizen] svg-visual: Add info log message for debug"
Sunghyun Kim [Mon, 26 Apr 2021 06:49:26 +0000 (15:49 +0900)]
Revert "[Tizen] svg-visual: Add info log message for debug"

This reverts commit 78b35411ac901a6e8ed1066dfd4485364682345b.

3 years agoRevert "[Tizen] ColorVisual can use both BLUR_RADIUS and CORNER_RADIUS and vector4...
Sunghyun Kim [Mon, 26 Apr 2021 06:49:23 +0000 (15:49 +0900)]
Revert "[Tizen] ColorVisual can use both BLUR_RADIUS and CORNER_RADIUS and vector4 corner radius"

This reverts commit f501cb0d77191ccaaa0603c955a905c2ad0f1798.

3 years agoRevert "[Tizen] Adds transition effect"
Sunghyun Kim [Mon, 26 Apr 2021 06:49:19 +0000 (15:49 +0900)]
Revert "[Tizen] Adds transition effect"

This reverts commit 68864af60b18a5473a5f49328738facb1b5827e9.

3 years agoRevert "[Tizen] fix visual artifact of Transition"
Sunghyun Kim [Mon, 26 Apr 2021 06:49:15 +0000 (15:49 +0900)]
Revert "[Tizen] fix visual artifact of Transition"

This reverts commit 7dd7f6cce36039c904d335267680edbbecb2eb89.

3 years agoRevert "[Tizen] Fix svace issue"
Sunghyun Kim [Mon, 26 Apr 2021 06:48:57 +0000 (15:48 +0900)]
Revert "[Tizen] Fix svace issue"

This reverts commit 5c0c36764fbf14c38a4d740ec3d20ba5fc4c11dd.

Change-Id: I77b29b1856f80aa585ed699e1bb739c0d97b783e

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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>
3 years ago[Tizen] Fix svace issue accepted/tizen/unified/20210422.090507 submit/tizen/20210420.162238 submit/tizen/20210422.133251
Joogab Yun [Mon, 19 Apr 2021 08:16:58 +0000 (17:16 +0900)]
[Tizen] Fix svace issue

This reverts commit 30bf5d4d4121b42c7b1109c413b4d7bab8201b73.

Change-Id: I514c4ca95b0000fd388981e186243bd4f6d5371c

3 years ago[Tizen] fix visual artifact of Transition
Joogab Yun [Mon, 19 Apr 2021 08:16:15 +0000 (17:16 +0900)]
[Tizen] fix visual artifact of Transition

This reverts commit 750d2f457e14f3801e424efcc8cc84f36e90a207.

Change-Id: Ie89c794f173dfe12dceb1d1d079f364b076043e7

3 years ago[Tizen] Adds transition effect
Joogab Yun [Mon, 19 Apr 2021 08:15:56 +0000 (17:15 +0900)]
[Tizen] Adds transition effect

This reverts commit 91cd4466a56688faab3aa003b428a35f0ece7e74.

Change-Id: I0322537efff6b9473faee4cf5a9553ac02925f01

3 years ago[Tizen] ColorVisual can use both BLUR_RADIUS and CORNER_RADIUS and vector4 corner...
Joogab Yun [Mon, 19 Apr 2021 08:15:38 +0000 (17:15 +0900)]
[Tizen] ColorVisual can use both BLUR_RADIUS and CORNER_RADIUS and vector4 corner radius

This reverts commit f1dc72437e34dcfdbb591a10078648c8aa9521ec.

Change-Id: I9fad56c3ad9484487219fafcc22b0d2aee98da85

3 years ago[Tizen] svg-visual: Add info log message for debug
Joogab Yun [Mon, 19 Apr 2021 08:15:16 +0000 (17:15 +0900)]
[Tizen] svg-visual: Add info log message for debug

This reverts commit 89c1887014e4c90ec6565af555f18e3bb2866831.

Change-Id: I47425dbc854c039627c76bab1e346905f717e7f9

3 years ago[Tizen] Add AutofillContainer class and autofill implementation
Joogab Yun [Mon, 19 Apr 2021 08:14:50 +0000 (17:14 +0900)]
[Tizen] Add AutofillContainer class and autofill implementation

This reverts commit 6dfd8aa9378d7d96ab5e16527c49c58a5518bf7a.

Change-Id: I15b1d67b362a4ddd913fdc671b274becf8293aae

3 years agoMerge branch 'devel/master' into tizen
Joogab Yun [Mon, 19 Apr 2021 08:14:21 +0000 (17:14 +0900)]
Merge branch 'devel/master' into tizen

3 years agoRevert "[Tizen] Add AutofillContainer class and autofill implementation"
Joogab Yun [Mon, 19 Apr 2021 08:14:05 +0000 (17:14 +0900)]
Revert "[Tizen] Add AutofillContainer class and autofill implementation"

This reverts commit 5df2820260e273ded503f498337d357c2b6e1bbc.

3 years agoRevert "[Tizen] Implements CanvasView control"
Joogab Yun [Mon, 19 Apr 2021 08:14:01 +0000 (17:14 +0900)]
Revert "[Tizen] Implements CanvasView control"

This reverts commit aa98a4ef5ee2f876efa25c8f6a02bee1f603b2bb.

3 years agoRevert "[Tizen] svg-visual: Add info log message for debug"
Joogab Yun [Mon, 19 Apr 2021 08:13:57 +0000 (17:13 +0900)]
Revert "[Tizen] svg-visual: Add info log message for debug"

This reverts commit 22f51d5ea824b7f4117626fc36377ca001b5f3d3.

3 years agoRevert "[Tizen] ColorVisual can use both BLUR_RADIUS and CORNER_RADIUS and vector4...
Joogab Yun [Mon, 19 Apr 2021 08:13:55 +0000 (17:13 +0900)]
Revert "[Tizen] ColorVisual can use both BLUR_RADIUS and CORNER_RADIUS and vector4 corner radius"

This reverts commit 7f9a5f3f2307298eab93fec5f0d9afdd3c7810cc.

3 years agoRevert "[Tizen] Adds transition effect"
Joogab Yun [Mon, 19 Apr 2021 08:13:52 +0000 (17:13 +0900)]
Revert "[Tizen] Adds transition effect"

This reverts commit 40b7ceb6791ca9ebc4c413ac7ee02a2439d348ed.

3 years agoRevert "[Tizen] fix visual artifact of Transition"
Joogab Yun [Mon, 19 Apr 2021 08:13:49 +0000 (17:13 +0900)]
Revert "[Tizen] fix visual artifact of Transition"

This reverts commit 725ae799107c650268ec086003fa96e14bdbf206.