platform/core/uifw/dali-toolkit.git
3 years 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

3 years agoAdd APIs of webview context 80/256680/9
zhouleonlei [Fri, 9 Apr 2021 06:18:08 +0000 (14:18 +0800)]
Add APIs of webview context

ewk_context_cache_disabled_get
ewk_context_certificate_file_get
ewk_context_tizen_app_id_set
ewk_context_tizen_app_version_set
ewk_context_application_type_set
ewk_context_time_offset_set
ewk_context_timezone_offset_set
ewk_context_register_url_schemes_as_cors_enabled
ewk_context_register_jsplugin_mime_types
ewk_context_default_zoom_factor_set
ewk_context_default_zoom_factor_get
ewk_context_application_cache_delete_all
ewk_context_web_indexed_database_delete_all
ewk_context_form_password_data_list_free
ewk_context_form_password_data_delete_all
ewk_context_form_candidate_data_delete_all
ewk_context_proxy_uri_get
ewk_context_proxy_set
ewk_context_proxy_bypass_rule_get
ewk_context_notify_low_memory

Change-Id: I8644022e5f68eb0d15cb8aca97d55236c9f791c2

3 years agoMerge "DALi Version 2.0.22" into devel/master
Adeel Kazmi [Fri, 16 Apr 2021 13:20:17 +0000 (13:20 +0000)]
Merge "DALi Version 2.0.22" into devel/master

3 years agoDALi Version 2.0.22 25/257025/1 dali_2.0.22
David Steele [Fri, 16 Apr 2021 13:03:00 +0000 (14:03 +0100)]
DALi Version 2.0.22

Change-Id: Idf58802bc4495999febc3d24425787f84aa08d3b

3 years agoAdd changesWatch for webview cookie 51/255351/7
zhouleonlei [Wed, 17 Mar 2021 08:08:19 +0000 (16:08 +0800)]
Add changesWatch for webview cookie

Change-Id: Ice11a906d847d8abf4fcfe5317e2d1b0935825d1

3 years agoMerge "[dali-toolkit] fix set max character length when text already set" into devel...
joogab yun [Thu, 15 Apr 2021 05:09:23 +0000 (05:09 +0000)]
Merge "[dali-toolkit] fix set max character length when text already set" into devel/master

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

Change-Id: Ibebe7eae9e94d59e515465d67e3b2f276fb49740

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

Change-Id: I204c191c5a54e198996557bdfbae12212f9e0c96

3 years agoMerge "atspi: remove property notification" into devel/master
Seoyeon Kim [Wed, 14 Apr 2021 06:32:40 +0000 (06:32 +0000)]
Merge "atspi: remove property notification" into devel/master

3 years agoMerge branch 'devel/master' into devel/graphics 62/256762/2
Adam Bialogonski [Tue, 13 Apr 2021 09:29:53 +0000 (10:29 +0100)]
Merge branch 'devel/master' into devel/graphics

Change-Id: I463df1dd7bdc73045a561fe1dfd4fe39f8773268

3 years agoCorner Radius become Vector4 75/255275/14
Eunki, Hong [Tue, 16 Mar 2021 07:16:57 +0000 (16:16 +0900)]
Corner Radius become Vector4

Now we can set corner radius to each corners

When radius is Vector4(x, y, z, w)
x    y
 +--+
 |  |
 +--+
w    z

NOTE) radius order reference : https://drafts.csswg.org/css-backgrounds-3/#border-radius

Change-Id: If0ee9427095d4aaad07d565256aa512ccd13f274
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years agoatspi: remove property notification 50/256650/3
Shinwoo Kim [Thu, 8 Apr 2021 11:36:48 +0000 (20:36 +0900)]
atspi: remove property notification

If a control registers and deregisters accessiblity repeatedly,
the number of notification becomes larger and larger. And it
makes system slower and slower.

This patch is removeing property notification, when a control
unregisters accessibility.

Change-Id: I99d4831c70aebe148031eba552756fb08f603bc6

3 years agoMerge "Add the APIs of webview settings" into devel/master
JIYUN YANG [Fri, 9 Apr 2021 10:24:43 +0000 (10:24 +0000)]
Merge "Add the APIs of webview settings" into devel/master

3 years agoMerge "DALi Version 2.0.21" into devel/master
Adeel Kazmi [Fri, 9 Apr 2021 09:19:15 +0000 (09:19 +0000)]
Merge "DALi Version 2.0.21" into devel/master

3 years agoAdd the APIs of webview settings 27/255227/7
zhouleonlei [Mon, 15 Mar 2021 09:19:32 +0000 (17:19 +0800)]
Add the APIs of webview settings

Change-Id: Id76de24b2c5a26f7f57f0e8d111c578b3b32fe2d

3 years agoDALi Version 2.0.21 99/256699/1 dali_2.0.21
Adam Bialogonski [Fri, 9 Apr 2021 08:43:36 +0000 (09:43 +0100)]
DALi Version 2.0.21

Change-Id: Icf4ca84f7bd2d40d76cb471bbdc261eb7c3d0743

3 years agoAdd APIs for hit test in web view. 57/254357/9
huayong.xu [Mon, 1 Mar 2021 10:20:45 +0000 (18:20 +0800)]
Add APIs for hit test in web view.

This patch is to add some APIs for hit test into web view.
Meanwhile WebFormRepostDecision is removed.

Change-Id: I54fbb798f36ea6eaab197d993b2691ddfdc20a32

3 years agoMerge "Add APIs of webview back forward list" into devel/master
JIYUN YANG [Fri, 9 Apr 2021 05:59:01 +0000 (05:59 +0000)]
Merge "Add APIs of webview back forward list" into devel/master

3 years agoMerge "Allow Large font size in dali" into devel/master
Adeel Kazmi [Thu, 8 Apr 2021 18:51:41 +0000 (18:51 +0000)]
Merge "Allow Large font size in dali" into devel/master

3 years agoFixed memory leaks 60/256660/1
Adam Bialogonski [Thu, 8 Apr 2021 16:34:20 +0000 (17:34 +0100)]
Fixed memory leaks

Change-Id: I3aa89c8621ce651adf2a3577237e674da7bac4df

3 years agoMerge branch 'devel/master' into devel/graphics 46/256646/1
Adeel Kazmi [Thu, 8 Apr 2021 09:55:22 +0000 (10:55 +0100)]
Merge branch 'devel/master' into devel/graphics

Change-Id: I8ba1b31b2b1b0af4c5ad38fdfada31d63fcec8a8

3 years agoMerge "Fixing the issue where characters were being drawn at the same location whenev...
Bowon Ryu [Thu, 8 Apr 2021 07:56:12 +0000 (07:56 +0000)]
Merge "Fixing the issue where characters were being drawn at the same location whenever GetNaturalSize was called." into devel/master

3 years agoAdd APIs for context menu into web view. 13/254413/7
huayong.xu [Tue, 2 Mar 2021 12:04:46 +0000 (20:04 +0800)]
Add APIs for context menu into web view.

This patch is to add some APIs for context menu in web view.
Items of context menu is a short-cut to do something, e.g. back,
forward, etc.

Change-Id: If7820f5e1ea169a9a6645581e018e08d3c18bd70

3 years agoMerge "Add some APIs into web context." into devel/master
JIYUN YANG [Thu, 8 Apr 2021 06:03:11 +0000 (06:03 +0000)]
Merge "Add some APIs into web context." into devel/master

3 years agoAllow Large font size in dali 64/255164/14
ali198724 [Sun, 14 Mar 2021 13:01:35 +0000 (15:01 +0200)]
Allow Large font size in dali

- This is done by allowing larger Atlas size, but make restriction for max 1024 size
- Padding will be handled when calculating the new atlas size
- If Max Atlas is not enough, we will fall back to default old behavior.
- This will service rendering font size even larger 500pt which services almost all users needs

Change-Id: Ib05abbc0eced6f440451b4ecf8cc8cc4640c09c8

3 years agoMerge "[AT-SPI] Use WeakHandle<Actor> in Accessible objects" into devel/master
Seoyeon Kim [Wed, 7 Apr 2021 10:27:01 +0000 (10:27 +0000)]
Merge "[AT-SPI] Use WeakHandle<Actor> in Accessible objects" into devel/master

3 years agoMerge "Support anchor to TextLabel, TextField, TextEditor" into devel/master
Bowon Ryu [Wed, 7 Apr 2021 10:23:49 +0000 (10:23 +0000)]
Merge "Support anchor to TextLabel, TextField, TextEditor" into devel/master

3 years agoSupport anchor to TextLabel, TextField, TextEditor 97/253197/27
Bowon Ryu [Fri, 5 Feb 2021 10:42:37 +0000 (19:42 +0900)]
Support anchor to TextLabel, TextField, TextEditor

example: <a href='https://wwww.tizen.org'>TIZEN</a>

using AnchorClickedSignal(),
users can get the anchor's href when clicking on the anchor.

Change-Id: I1c61c285c95295aea3c27de2bedd586211a0f036
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years ago[AT-SPI] Use WeakHandle<Actor> in Accessible objects 38/256538/3
Artur Świgoń [Tue, 6 Apr 2021 09:03:39 +0000 (11:03 +0200)]
[AT-SPI] Use WeakHandle<Actor> in Accessible objects

This breaks a strong reference cycle between Control::Impl, Actor, and
AccessibleImpl. AccessibleImpl objects are stored as a std::unique_ptr
in Control::Impl, so they do not need a strong actor handle.

Change-Id: Iadf366dde0fe9cf1ca41128b027bc8add0717b39

3 years ago[dali-toolkit] fix set max character length when text already set 22/246622/12
a.ghujeh [Mon, 2 Nov 2020 14:05:47 +0000 (16:05 +0200)]
[dali-toolkit] fix set max character length when text already set

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

  void Create(Application& application)
  {
    window = application.GetWindow();
    window.SetBackgroundColor(Vector4(0.04f, 0.345f, 0.392f, 1.0f));

    mTextField = TextField::New();
    mTextField.SetBackgroundColor(Color::WHITE);
    mTextField.SetProperty(TextField::Property::TEXT_COLOR, Color::BLACK);
    mTextField.SetProperty(TextField::Property::TEXT, "123456789");
    mTextField.SetProperty(TextField::Property::MAX_LENGTH, 3);
    mTextField.SetProperty(Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER);
    mTextField.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER);
    mTextField.SetProperty(Actor::Property::SIZE, Vector2(140.f, 50.f));
    mTextField.SetProperty(Actor::Property::POSITION, Vector2(0.f, 0.f));

    window.Add(mTextField);
  }

private:
  Application& mApplication;
};

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

  return 0;
}

Change-Id: I03ddf782eadb0d816e613aea6ef09a1133d7230e

3 years agoAdd APIs of webview back forward list 52/254352/15
zhouleonlei [Mon, 1 Mar 2021 07:19:43 +0000 (15:19 +0800)]
Add APIs of webview back forward list

API added list:
ewk_back_forward_list_previous_item_get
ewk_back_forward_list_next_item_get

Change-Id: Ia1f686d50d5805eca0ec179633c14c47d537f633

3 years agoAdd some APIs into web context. 38/254838/6
huayong.xu [Fri, 2 Apr 2021 11:18:33 +0000 (19:18 +0800)]
Add some APIs into web context.

This patch is to add some APIs with callbacks into web context.

Change-Id: I234c433a169569b944162edf5f8d4ac34733dacb

3 years agoAdd APIs for ssl certificate and http authentication. 81/254281/8
huayong.xu [Thu, 25 Feb 2021 11:59:54 +0000 (19:59 +0800)]
Add APIs for ssl certificate and http authentication.

This patch is to add some APIs for ssl certificate and http
authentication in web view.

Change-Id: Ic1e3790d2ec5e9754f613cdcc969132440c48241

3 years agoSupport policy decision in web view. 55/252955/10
huayong.xu [Wed, 3 Feb 2021 08:45:16 +0000 (16:45 +0800)]
Support policy decision in web view.

This patch is to add policy decision feature in web view.

Change-Id: Iddf70088cd663a3362a995b317edda04cdf05817

3 years agoMerge "Add APIs for console message & loading error in web view." into devel/master
JIYUN YANG [Tue, 6 Apr 2021 05:15:02 +0000 (05:15 +0000)]
Merge "Add APIs for console message & loading error in web view." into devel/master

3 years agoMerge "add theme to TextSelectionPopup/Button/Toolbar according to 6.5 IoT UX" into...
Bowon Ryu [Mon, 5 Apr 2021 10:14:21 +0000 (10:14 +0000)]
Merge "add theme to TextSelectionPopup/Button/Toolbar according to 6.5 IoT UX" into devel/master

3 years agoAdd APIs for console message & loading error in web view. 41/254041/7
huayong.xu [Mon, 22 Feb 2021 11:55:47 +0000 (19:55 +0800)]
Add APIs for console message & loading error in web view.

This patch is to add some APIs into web view for console message
and loading error.

Change-Id: I122871ca03ca164c8778f0d4af07100dd945c284

3 years agoFix misplaced arguments in text-selection-popup 22/256422/1
Bowon Ryu [Fri, 2 Apr 2021 08:25:45 +0000 (17:25 +0900)]
Fix misplaced arguments in text-selection-popup

Change-Id: Id153c1d8bb836cc8728f74cd76d6d1102d1e91b1
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years agoMerge "Add APIs for intercepting http request in web view." into devel/master
JIYUN YANG [Fri, 2 Apr 2021 05:10:59 +0000 (05:10 +0000)]
Merge "Add APIs for intercepting http request in web view." into devel/master

3 years agoMerge "Implements CanvasView control" into devel/master
Adeel Kazmi [Thu, 1 Apr 2021 17:06:50 +0000 (17:06 +0000)]
Merge "Implements CanvasView control" into devel/master

3 years agoFixing the issue where characters were being drawn at the same location whenever... 86/253286/11
Sara Samara [Mon, 8 Feb 2021 09:48:08 +0000 (11:48 +0200)]
Fixing the issue where characters were being drawn at the same location whenever GetNaturalSize was called.

*********************************************************************************
Description:
GetNaturalSize method was updating a copy by reference of the pending operations mask.
The value of the mask was being updated to Layout and Render.
After calling GetNaturalSize and giving focus to the editor by tapping it, the UpdateModel was attempting to perform an update based on the mask but had no update details stored in the the object and this caused all the characters to be pushed to the same paragraph.
The change stored a back-up of the mask as soon as it entered the GetNaturalSize so that its value can be restored before exiting GetNaturalSize. This ensured that no modifications made on the mask copy while getting the natural size were reflected on the original mask.
The utc checks on the line count before calling GetNaturalSize and tapping the text-editor and after doing so. The line count is expected to not change.
*********************************************************************************

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 = application.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(200.f, 100.0f));
    mEditor.SetBackgroundColor(Vector4(0.04f, 0.345f, 0.392f, 1.0f));
    mEditor.SetProperty(TextEditor::Property::TEXT, "A\na\n");

    mButton = PushButton::New();
    mButton.SetProperty(Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER);
    mButton.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER);
    mButton.SetProperty(Actor::Property::SIZE, Vector2(100.f, 50.0f));
    mButton.SetProperty(Actor::Property::POSITION, Vector3(0.f, 0.0f, 0.f));
    mButton.SetProperty(Button::Property::LABEL, "click");
    mButton.SetBackgroundColor(Vector4(0.5f, 0.5f, 0.5f, 1.0f));
    mButton.ClickedSignal().Connect(this, &SimpleApp::OnButtonClicked);

    window.Add(mButton);
    window.Add(mEditor);
  }
  std::string str1,str2;

  bool OnButtonClicked(Button button)
  {
    if(button == mButton)
    {
      Vector3 originalSize = mEditor.GetNaturalSize();
    }
    return true;
  }
private:
  Application& mApplication;
  TextEditor mEditor;
  PushButton mButton;
};

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

  return 0;
}

Change-Id: I287f2f195d861a2cebbb256195d25cb653702dc7

3 years agoMerge "(Automated Tests) Remove unused TestGraphicsProgram Constructor" into devel...
David Steele [Thu, 1 Apr 2021 13:44:43 +0000 (13:44 +0000)]
Merge "(Automated Tests) Remove unused TestGraphicsProgram Constructor" into devel/master

3 years ago(Automated Tests) Remove unused TestGraphicsProgram Constructor 59/256359/2
Adeel Kazmi [Thu, 1 Apr 2021 09:59:36 +0000 (10:59 +0100)]
(Automated Tests) Remove unused TestGraphicsProgram Constructor

Change-Id: Iec9a7dac30e93147985edcf40bf0d3ee97cea20a

3 years agoMerge "DALi Version 2.0.20" into devel/master
David Steele [Thu, 1 Apr 2021 11:27:44 +0000 (11:27 +0000)]
Merge "DALi Version 2.0.20" into devel/master

3 years agoDALi Version 2.0.20 64/256364/1 dali_2.0.20
Richard Huang [Thu, 1 Apr 2021 11:15:42 +0000 (12:15 +0100)]
DALi Version 2.0.20

Change-Id: I0276539ce7d51fd79674eefcef118e1da17f7f3f

3 years agoadd theme to TextSelectionPopup/Button/Toolbar according to 6.5 IoT UX 68/256168/2
Bowon Ryu [Mon, 29 Mar 2021 06:37:37 +0000 (15:37 +0900)]
add theme to TextSelectionPopup/Button/Toolbar according to 6.5 IoT UX

Change-Id: I3ee1fc5003743fa647418d73a83f54e53b498681
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years agoMerge "(Coverage) Remove system & third-party files, fix path shown in html" into...
Adeel Kazmi [Thu, 1 Apr 2021 09:21:33 +0000 (09:21 +0000)]
Merge "(Coverage) Remove system & third-party files, fix path shown in html" into devel/master

3 years ago(Coverage) Remove system & third-party files, fix path shown in html 69/256269/1
Adeel Kazmi [Wed, 31 Mar 2021 18:53:22 +0000 (19:53 +0100)]
(Coverage) Remove system & third-party files, fix path shown in html

- Removed files in /usr/local/*
- Removed files in third-party directories
- Specified the prefix to strip from genhtml rather than it working it
  out on its own, now we don't see the full path of the files in
  dali-scene-loader anymore

Change-Id: Ie6c548a0b641e078ef07c2e7502119372c01ba85

3 years agoAdd APIs for intercepting http request in web view. 04/254304/4
huayong.xu [Fri, 26 Feb 2021 03:45:08 +0000 (11:45 +0800)]
Add APIs for intercepting http request in web view.

This patch is to add APIs for intercepting http request in web
view.

Change-Id: I214b9d03eaa69f67b80a62bf9dff923941570aff

3 years agoColorVisual can use both BLUR_RADIUS and CORNER_RADIUS 80/252080/9
Eunki, Hong [Fri, 22 Jan 2021 09:20:05 +0000 (18:20 +0900)]
ColorVisual can use both BLUR_RADIUS and CORNER_RADIUS

modify shader to use blur_radius and corner_radius both of them

Change-Id: I65315709a7dff4e574f645b370c950e03d00fcfe
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years agoMerge "Add some APIs into web view." into devel/master
JIYUN YANG [Tue, 30 Mar 2021 05:06:28 +0000 (05:06 +0000)]
Merge "Add some APIs into web view." into devel/master