platform/core/uifw/dali-toolkit.git
2 months agoDALi Version 1.9.12 01/233501/1 dali_1.9.12
Victor Cebollada [Fri, 15 May 2020 05:51:59 +0000 (06:51 +0100)]
DALi Version 1.9.12

Change-Id: Ia4c0a76761d1d3dc946e0c99219921ce67b780b7

2 months agoMerge "Textfield: remove duplicated functionality Getting selected text is done using...
Víctor Cebollada [Wed, 13 May 2020 16:19:34 +0000 (16:19 +0000)]
Merge "Textfield: remove duplicated functionality Getting selected text is done using property no need for special get function" into devel/master

2 months agoTextfield: remove duplicated functionality 42/233042/1
ali198724 [Mon, 11 May 2020 16:17:46 +0000 (19:17 +0300)]
Textfield: remove duplicated functionality
Getting selected text is done using property no need for special get function

Change-Id: I8b0cbcce414d4ac229eef20860929a394ab40126

2 months agoUpdate a font description run only in Selecting state for input font 75/232575/2
Seoyeon Kim [Wed, 6 May 2020 11:06:45 +0000 (20:06 +0900)]
Update a font description run only in Selecting state for input font

- When setting input font properties, its font description run has been
updated in InsertText().
- UpdateSelectionFontStyleRun() resets the FontDescriptionRun value already set.
- So, only in EventData::SELECTING state, updated a new font description run.

Change-Id: I5c6643f919e077b2870d04c8a881ab9a1d125811
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 months agoDALi Version 1.9.11 83/232783/1 dali_1.9.11
Richard Huang [Thu, 7 May 2020 11:16:23 +0000 (12:16 +0100)]
DALi Version 1.9.11

Change-Id: I399f60d55e0dea6dae0a16df23af54a1c84ce75f

2 months agoMerge "Libraries & RPM renamed to provide DALi 2" into devel/master
Adeel Kazmi [Mon, 4 May 2020 19:27:54 +0000 (19:27 +0000)]
Merge "Libraries & RPM renamed to provide DALi 2" into devel/master

3 months agoMerge "Add support to unselect text And Get_SelectedText" into devel/master
joogab yun [Mon, 4 May 2020 06:49:05 +0000 (06:49 +0000)]
Merge "Add support to unselect text And Get_SelectedText" into devel/master

3 months agoDALi Version 1.9.10 46/232346/1 dali_1.9.10
György Straub [Fri, 1 May 2020 11:01:18 +0000 (12:01 +0100)]
DALi Version 1.9.10

Change-Id: I411e023c92053c5c8caadb82669e6ce36f1b75e7

3 months agoLibraries & RPM renamed to provide DALi 2 52/232152/1
Adeel Kazmi [Tue, 28 Apr 2020 16:20:34 +0000 (17:20 +0100)]
Libraries & RPM renamed to provide DALi 2

Change-Id: Ibb3809dd605fa6718e0c7838a2f8b5da89eb1b12

3 months agoAdd support to unselect text And Get_SelectedText 24/231224/4
Ali [Mon, 20 Apr 2020 07:51:54 +0000 (10:51 +0300)]
Add support to unselect text And Get_SelectedText

This patch add two kind of support for TextField
1- SelectNone function: this will unselect text in textfield Programmatically by user.
2- Selected_Text property: this is readonly to return string for selected text.

After this patch approve, I will create other one for dali-csharp-bindings

Change-Id: If93ed6df44a41ff00f772a0abcfc9e2401c41480

3 months agoMerge "DALi Version 1.9.9" into devel/master
Adeel Kazmi [Fri, 24 Apr 2020 15:02:42 +0000 (15:02 +0000)]
Merge "DALi Version 1.9.9" into devel/master

3 months agoDALi Version 1.9.9 78/231878/1 dali_1.9.9
greynaga [Fri, 24 Apr 2020 15:00:47 +0000 (16:00 +0100)]
DALi Version 1.9.9

Change-Id: I5858046599cf88685961114230a623157956df78

3 months agotext tiling 78/230578/38
Joogab Yun [Mon, 13 Apr 2020 01:04:47 +0000 (10:04 +0900)]
text tiling

If the length of text is very long and exceeds maxTextureSize,
it cannot be displayed on the screen.

So tiling is required.
I implement tiling by attaching multiple renderers.

And the MAX_TEXT_LENGTH limit is removed.

sample)

    std::ifstream file;
    file.open(PATH[0]);
    std::stringstream ss;
    ss << file.rdbuf();
    file.close();

    ScrollView scroller = ScrollView::New();
    scroller.SetPosition( 100.f, 100.f);
    scroller.SetSize(500.f, 1000.f);
    scroller.SetAnchorPoint(AnchorPoint::TOP_LEFT);
    scroller.SetParentOrigin(ParentOrigin::TOP_LEFT);
    scroller.SetAxisAutoLock(true);

    TextLabel textLabel = TextLabel::New( );
    textLabel.SetProperty( TextLabel::Property::TEXT,  ss.str() );
    textLabel.SetAnchorPoint( AnchorPoint::TOP_LEFT );
    textLabel.SetParentOrigin(ParentOrigin::TOP_LEFT);
    textLabel.SetProperty( TextLabel::Property::VERTICAL_ALIGNMENT, "TOP" );
    textLabel.SetProperty( TextLabel::Property::MULTI_LINE, true );
    textLabel.SetProperty( TextLabel::Property::ELLIPSIS, false );
    textLabel.SetProperty( TextLabel::Property::ENABLE_MARKUP, true );
    textLabel.SetProperty( TextLabel::Property::POINT_SIZE, 16);
    textLabel.SetProperty( Toolkit::TextLabel::Property::TEXT_COLOR, Color::BLUE );

    scroller.Add( textLabel );
    stage.Add( scroller );

Change-Id: I65082244a801ba697fd9ab0b598c82e702c2a948

3 months agoFix corner radius shader of the ImageVisual 80/230780/3
Heeyong Song [Tue, 14 Apr 2020 06:31:07 +0000 (15:31 +0900)]
Fix corner radius shader of the ImageVisual

It didn't work for premultiplied-alpha images.

Change-Id: I69d612112cb0f1ef132979ce830c8466a639c6f7

3 months agoMerge "Add Pixel format for depth and stencil" into devel/master
Seungho BAEK [Wed, 22 Apr 2020 04:33:41 +0000 (04:33 +0000)]
Merge "Add Pixel format for depth and stencil" into devel/master

3 months agoIntroduce new visual transform property : EXTRA_SIZE 92/231192/2
Jiyun Yang [Mon, 13 Apr 2020 09:28:06 +0000 (18:28 +0900)]
Introduce new visual transform property : EXTRA_SIZE

The EXTRA_SIZE can increase/decrease the computed visual size.

The property can be used when a user want to set a visual size
as a combined value of `absolute` and `relative`: ControlSize * a + b

For example, when a user want to set a visual size to (ControlSize * 2 + 10),
The transform map will be,

transformMap.Add( Transform::Property::SIZE, Vector2( 2.0f, 2.0f ) )
            .Add( Transform::Property::SIZE_POLICY, Vector2( Transform::Policy::Relative, Transform::Policy::Relative ) )
            .Add( Transform::Property::EXTRA_SIZE, Vector2( 10.0f, 10.0f ) );

Change-Id: Ibd1b7667a96900f216f7a9a14ea6813636161b48
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 months agoAdd Pixel format for depth and stencil 07/230907/3
Seungho, Baek [Thu, 16 Apr 2020 03:47:47 +0000 (12:47 +0900)]
Add Pixel format for depth and stencil

 - add cases on the switch to control pixel enum

Change-Id: Ib9c88d92926263e24fbd18c9bbed17ee76559a71
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
3 months agoMerge "Fix VCPKG CMake build issue." into devel/master
Adeel Kazmi [Fri, 17 Apr 2020 10:51:27 +0000 (10:51 +0000)]
Merge "Fix VCPKG CMake build issue." into devel/master

3 months agoDALi Version 1.9.8 15/231115/1 dali_1.9.8
Cheng-Shiun Tsai [Fri, 17 Apr 2020 09:07:09 +0000 (10:07 +0100)]
DALi Version 1.9.8

Change-Id: I1df33883ddd2136037f17dcf6871aa531fa02bfd

3 months agoFix VCPKG CMake build issue. 18/231018/1
Victor Cebollada [Thu, 16 Apr 2020 16:07:13 +0000 (17:07 +0100)]
Fix VCPKG CMake build issue.

Change-Id: Ife6103e8fea70ffc2759ef292e3c82838e719cac
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
3 months agoFix a crash of the TextureManager 66/230766/3
Heeyong Song [Tue, 14 Apr 2020 05:30:18 +0000 (14:30 +0900)]
Fix a crash of the TextureManager

The observer may be deleted during the UploadComplete callback.
So disconnect the signal and erase the object from the list first.

Change-Id: I614008c9a93025aef973dc8fcf38e1b578f8f35c

3 months agoCMake for MS Windows command line 56/224156/11
Victor Cebollada [Thu, 6 Feb 2020 09:23:27 +0000 (09:23 +0000)]
CMake for MS Windows command line

Change-Id: I177976b075d26ddc520c772a801179b5871bad84
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
3 months agoUpdate 360x360 default stylesheet 75/230675/1
Seoyeon Kim [Mon, 13 Apr 2020 10:00:11 +0000 (19:00 +0900)]
Update 360x360 default stylesheet

Change-Id: If57afc8b8339dd6d7c2d9513d5336ab4d285b2be
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 months agoMerge "DALi Version 1.9.7" into devel/master
Adeel Kazmi [Thu, 9 Apr 2020 14:48:43 +0000 (14:48 +0000)]
Merge "DALi Version 1.9.7" into devel/master

3 months agoDALi Version 1.9.7 68/230368/1 dali_1.9.7
Anton Obzhirov [Thu, 9 Apr 2020 14:48:23 +0000 (15:48 +0100)]
DALi Version 1.9.7

Change-Id: I067800b2dfc87df280172caa4f22695877a4653b

3 months agoMerge "AssetManager - Comments added to the code." into devel/master
Adeel Kazmi [Thu, 9 Apr 2020 08:48:11 +0000 (08:48 +0000)]
Merge "AssetManager - Comments added to the code." into devel/master

3 months agoAssetManager - Comments added to the code. 21/230321/1
Victor Cebollada [Thu, 9 Apr 2020 08:25:37 +0000 (09:25 +0100)]
AssetManager - Comments added to the code.

* Doxygen comments added to the interface.
* Comments added to clarify the logic.

Change-Id: Ic707e12b4a479014bfdb9907b094a16fc33a734c
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
4 months agoMerge "DALi Version 1.9.6" into devel/master
Adeel Kazmi [Fri, 3 Apr 2020 08:13:29 +0000 (08:13 +0000)]
Merge "DALi Version 1.9.6" into devel/master

4 months ago[dali_1.9.6] Merge branch 'devel/master' 68/229768/1
Adeel Kazmi [Fri, 3 Apr 2020 07:39:02 +0000 (08:39 +0100)]
[dali_1.9.6] Merge branch 'devel/master'

Change-Id: I98c515fe5baff5d83bff8e4d8ea325962c5d7142

4 months agoDALi Version 1.9.6 62/229762/1 dali_1.9.6
Adeel Kazmi [Fri, 3 Apr 2020 07:38:23 +0000 (08:38 +0100)]
DALi Version 1.9.6

Change-Id: I2bc552e51a1724050b431e43d4a8fa44b7381acd

4 months agoMerge "fixed align problems when whitespaces are included" into devel/master
joogab yun [Fri, 3 Apr 2020 03:16:53 +0000 (03:16 +0000)]
Merge "fixed align problems when whitespaces are included" into devel/master

4 months agoExport Builder::TreeNode::ConstIterator symbols. 52/224152/8
Victor Cebollada [Wed, 29 Jan 2020 07:15:40 +0000 (07:15 +0000)]
Export Builder::TreeNode::ConstIterator symbols.

* These symbols were not exported and failed to link
  on a MS Windows app that uses them.

Change-Id: I655bad09c14611205ebe0b9ae7d9a17c17fe8b17
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
4 months agoMerge "CMake - Option added to define the default toolkit resource path." into devel...
Adeel Kazmi [Thu, 2 Apr 2020 14:46:48 +0000 (14:46 +0000)]
Merge "CMake - Option added to define the default toolkit resource path." into devel/master

4 months agofixed align problems when whitespaces are included 72/229272/5
Joogab Yun [Tue, 31 Mar 2020 01:30:13 +0000 (10:30 +0900)]
fixed align problems when whitespaces are included

    TextLabel ellipsisTest = TextLabel::New( "abcde abced                                ");
    ellipsisTest.SetAnchorPoint( AnchorPoint::TOP_LEFT );
    ellipsisTest.SetProperty(TextLabel::Property::POINT_SIZE, 34.f);
    ellipsisTest.SetPosition(100.f, 600.f);
    ellipsisTest.SetSize( 344.f, 100.f);
    ellipsisTest.SetProperty(TextLabel::Property::HORIZONTAL_ALIGNMENT, "CENTER");
    stage.Add( ellipsisTest );

Change-Id: I1641df673a9407e085da8645737f292d73fc8f0f

4 months agoAdd ArcVisual 44/226744/7
Heeyong Song [Thu, 5 Mar 2020 06:03:46 +0000 (15:03 +0900)]
Add ArcVisual

Change-Id: I6a1838fc5db66d253bb1c41915e7d571387d968e

4 months agoCMake - Option added to define the default toolkit resource path. 83/226783/10
Victor Cebollada [Thu, 5 Mar 2020 07:07:46 +0000 (07:07 +0000)]
CMake - Option added to define the default toolkit resource path.

* Currently the resources folder is harcoded in compile time.
  This works on devices where applications are always installed
  in specific folders but doesn't work in other platforms like
  MS Windows where the user can install the application in any
  folder.

* An option has been added to the CMakeLists.txt file. By default
  the resource folder is hardcoded. This behaviour can be disabled
  by setting the option -DUSE_DEFAULT_RESOURCE_DIR=OFF and setting
  environment variables in installation time for DALI_IMAGE_DIR,
  DALI_SOUND_DIR, DALI_STYLE_DIR, DALI_STYLE_IMAGE_DIR and
  DALI_DATA_READ_ONLY_DIR.

Change-Id: I3eea313da150f577e25171f2d5fb4791209f5181
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
4 months agoMerge "Do not set resources if there isn't mRenderer in nPatch-visual." into devel...
Seungho BAEK [Tue, 31 Mar 2020 07:28:03 +0000 (07:28 +0000)]
Merge "Do not set resources if there isn't mRenderer in nPatch-visual." into devel/master

4 months agoAdd Jump_to frame and StopBehavior of Animated-image-visual(agif) 22/227522/16
Seungho, Baek [Thu, 12 Mar 2020 07:39:50 +0000 (16:39 +0900)]
Add Jump_to frame and StopBehavior of Animated-image-visual(agif)

 - Added Jump_to action. To directly go to a frame.
 - Added StopBehavior to stop agif at the first, current, and last frame

Change-Id: I76fe813fd694df89e8cc8748cc2a82b69ed7a613
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
4 months agoDo not set resources if there isn't mRenderer in nPatch-visual. 30/228730/3
Seungho, Baek [Wed, 25 Mar 2020 04:57:03 +0000 (13:57 +0900)]
Do not set resources if there isn't mRenderer in nPatch-visual.

 - If LoadComplete is called after off-stage, it makes error.

Change-Id: I05338190e8db46faac4eb2a08eaaab3316dd3d2e
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
4 months agoMerge "Fix issue, agif to play a number of times of loopcount." into devel/master
Adeel Kazmi [Mon, 30 Mar 2020 18:24:00 +0000 (18:24 +0000)]
Merge "Fix issue, agif to play a number of times of loopcount." into devel/master

4 months agoMerge "Remove RenderSurface from Core" into devel/master
Adeel Kazmi [Mon, 30 Mar 2020 14:41:01 +0000 (14:41 +0000)]
Merge "Remove RenderSurface from Core" into devel/master

4 months ago[dali_1.9.5] Merge branch 'devel/master' 77/229077/1
adam.b [Fri, 27 Mar 2020 13:29:53 +0000 (13:29 +0000)]
[dali_1.9.5] Merge branch 'devel/master'

Change-Id: I75797d7687e357e31811a849f773211916cdd990

4 months agoDALi Version 1.9.5 72/229072/1 dali_1.9.5
adam.b [Fri, 27 Mar 2020 13:28:58 +0000 (13:28 +0000)]
DALi Version 1.9.5

Change-Id: I2ba43ab7a0895c8d878389cdbf05a98d8d9f0326

4 months agoFix issue, agif to play a number of times of loopcount. 05/229005/2
Seungho, Baek [Fri, 27 Mar 2020 04:38:44 +0000 (13:38 +0900)]
Fix issue, agif to play a number of times of loopcount.

Change-Id: Ifc213ed03f3b5f1c0340d24e406781fcc2ce356f
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
4 months agoRemove RenderSurface from Core 13/226813/4
Richard Huang [Thu, 5 Mar 2020 14:15:13 +0000 (14:15 +0000)]
Remove RenderSurface from Core

Change-Id: I76672f149dade2d214af6408a86e316fa4a452ca

4 months agoSupport the blur radius of the ColorVisual 27/225427/9
Heeyong Song [Thu, 20 Feb 2020 01:19:31 +0000 (10:19 +0900)]
Support the blur radius of the ColorVisual

Change-Id: Iaee00d74e327372c040b5137e0ce1666b5a0b59b

4 months agoMerge "Unparents internalRoot actor when gaussian-blur-view is deactived." into devel...
Seungho BAEK [Wed, 25 Mar 2020 00:43:52 +0000 (00:43 +0000)]
Merge "Unparents internalRoot actor when gaussian-blur-view is deactived." into devel/master

4 months agoMerge "Doxygen script update" into devel/master
Adeel Kazmi [Fri, 20 Mar 2020 18:17:59 +0000 (18:17 +0000)]
Merge "Doxygen script update" into devel/master

4 months agoDoxygen script update 45/228045/4
adam.b [Wed, 18 Mar 2020 10:02:06 +0000 (10:02 +0000)]
Doxygen script update

Change-Id: I470f8aa95222cdcd663cbec19eb2b82933098829

4 months agoMerge "DALi Version 1.9.4" into devel/master
Adeel Kazmi [Fri, 20 Mar 2020 08:23:28 +0000 (08:23 +0000)]
Merge "DALi Version 1.9.4" into devel/master

4 months ago[dali_1.9.4] Merge branch 'devel/master' 22/228322/1
Victor Cebollada [Fri, 20 Mar 2020 07:51:50 +0000 (07:51 +0000)]
[dali_1.9.4] Merge branch 'devel/master'

Change-Id: Ib9055b85bd8580ceaf4b4798aac7598ba3b402c9

4 months agoDALi Version 1.9.4 17/228317/1 dali_1.9.4
Victor Cebollada [Fri, 20 Mar 2020 07:51:05 +0000 (07:51 +0000)]
DALi Version 1.9.4

Change-Id: Ib704db802324148536132ac377a178aba61fc6ed

4 months agoAdd OFL-1.1 license in automated-test 78/228278/1
Seoyeon Kim [Fri, 20 Mar 2020 05:00:55 +0000 (14:00 +0900)]
Add OFL-1.1 license in automated-test

- A font, named NotoSansMalayalam-Regular.ttf, was added for test cases.
- This font is under the SIL Open Font License now, so I notify it in spec file

Change-Id: Icdc846605ede3ad5b022f823a5da5631ad11d92c
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 months agoUnparents internalRoot actor when gaussian-blur-view is deactived. 56/227756/1
Seungho, Baek [Mon, 16 Mar 2020 07:33:20 +0000 (16:33 +0900)]
Unparents internalRoot actor when gaussian-blur-view is deactived.

 - After gaussian-blur-view is once activated, Renderers of internalRoot actor are remained.
   When the gaussian-blur-view become deactived, internalRoot is still child of the View,
   and, the renderers of internalRoot will be renderered.
 - So, to add the internalRoot to gaussian-blur-view when it is actived and
   to unparent the internalRoot when the view become deactived, make the renderers do not affect rendering results.

Change-Id: If147583d008662335c539b0e016abeb67e0a9679
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
4 months ago[dali_1.9.3] Merge branch 'devel/master' 57/227657/1
Richard Huang [Fri, 13 Mar 2020 12:16:22 +0000 (12:16 +0000)]
[dali_1.9.3] Merge branch 'devel/master'

Change-Id: I1cd56b9abb236f53ef57625612ce4cd1207ebb7e

4 months agoDALi Version 1.9.3 52/227652/1 dali_1.9.3
Richard Huang [Fri, 13 Mar 2020 12:15:39 +0000 (12:15 +0000)]
DALi Version 1.9.3

Change-Id: I148e1d85c8a85986827f08fb4267250f2a70b0a6

4 months agoMerge "Disable premultiplied alpha when the Image is used" into devel/master
Heeyong Song [Thu, 12 Mar 2020 00:44:43 +0000 (00:44 +0000)]
Merge "Disable premultiplied alpha when the Image is used" into devel/master

4 months agoMerge "Delete Unused internal methods in Visuals" into devel/master
Seungho BAEK [Thu, 12 Mar 2020 00:17:26 +0000 (00:17 +0000)]
Merge "Delete Unused internal methods in Visuals" into devel/master

4 months agoDisable premultiplied alpha when the Image is used 45/226145/4
Heeyong Song [Thu, 27 Feb 2020 06:27:57 +0000 (15:27 +0900)]
Disable premultiplied alpha when the Image is used

Change-Id: I499a860235c6efc741453701fe0daefb500441eb

4 months agoMerge "DALi Version 1.9.2" into devel/master
Paul Wisbey [Fri, 6 Mar 2020 14:22:06 +0000 (14:22 +0000)]
Merge "DALi Version 1.9.2" into devel/master

4 months ago[dali_1.9.2] Merge branch 'devel/master' 48/226948/1
greynaga [Fri, 6 Mar 2020 12:03:26 +0000 (12:03 +0000)]
[dali_1.9.2] Merge branch 'devel/master'

Change-Id: Ib1da2482373e521a6a105cf1fbb5ef395c0ff428

4 months agoDALi Version 1.9.2 43/226943/1 dali_1.9.2
greynaga [Fri, 6 Mar 2020 12:02:29 +0000 (12:02 +0000)]
DALi Version 1.9.2

Change-Id: I3b9d9140097d64d3f9bf54cb907dbb867e41cc36

4 months agoDelete Unused internal methods in Visuals 25/226925/2
Seungho, Baek [Fri, 6 Mar 2020 09:43:38 +0000 (18:43 +0900)]
Delete Unused internal methods in Visuals

Change-Id: I4aed2eb1b80bf113481fc79b616459f36721746c
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
4 months agoFix for UtcDaliImageViewLoadRemoteSVG utc. 17/226917/2
Victor Cebollada [Fri, 6 Mar 2020 08:40:51 +0000 (08:40 +0000)]
Fix for UtcDaliImageViewLoadRemoteSVG utc.

* The url https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/check.svg is down
  and makes the UTC to fail.

Change-Id: I18c2cc5d3fa0634003f81b0f556bfdac9abcb9c5
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
4 months agoMerge "When calculating the layout size, the problem occurs. because it is calculated...
joogab yun [Thu, 5 Mar 2020 04:47:29 +0000 (04:47 +0000)]
Merge "When calculating the layout size, the problem occurs. because it is calculated smaller when ReorderBiDiLayout() in RTL language." into devel/master

5 months agoFix Coverity issue 57/225757/3
Heeyong Song [Mon, 24 Feb 2020 09:06:12 +0000 (18:06 +0900)]
Fix Coverity issue

Change-Id: Ibf087565f72071ce5e76219a22ee206784739b78

5 months ago[dali_1.9.1] Merge branch 'devel/master' 62/226262/1
György Straub [Fri, 28 Feb 2020 09:10:22 +0000 (09:10 +0000)]
[dali_1.9.1] Merge branch 'devel/master'

Change-Id: I33173f6cd46f1b79dc4d1c490183799707c594e0

5 months agoDALi Version 1.9.1 57/226257/1 dali_1.9.1
György Straub [Fri, 28 Feb 2020 09:09:26 +0000 (09:09 +0000)]
DALi Version 1.9.1

Change-Id: Iffc4abc9c36714fe28ed29d319e3586c463d1ecb

5 months agoMerge "Moved SingletonService into dali-core" into devel/master
Paul Wisbey [Thu, 27 Feb 2020 11:15:58 +0000 (11:15 +0000)]
Merge "Moved SingletonService into dali-core" into devel/master

5 months agoMerge "Update UTF8 text array for 5 and 6 bytes" into devel/master
Seoyeon Kim [Thu, 27 Feb 2020 10:52:53 +0000 (10:52 +0000)]
Merge "Update UTF8 text array for 5 and 6 bytes" into devel/master

5 months agoUpdate UTF8 text array for 5 and 6 bytes 15/224215/7
Seoyeon Kim [Fri, 7 Feb 2020 05:03:46 +0000 (14:03 +0900)]
Update UTF8 text array for 5 and 6 bytes

- Update start and end offsets encoded in UTF8
- Add U5 and U6 cases to UTF8 array

Change-Id: Ic51ee3cc0878c3d09df8d7caeaeff09d7e48cbf7
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
5 months agoWhen calculating the layout size, the problem occurs. 08/226008/8
Joogab Yun [Wed, 26 Feb 2020 06:24:32 +0000 (15:24 +0900)]
When calculating the layout size, the problem occurs.
because it is calculated smaller when ReorderBiDiLayout() in RTL language.

For example, if layout.length is calculated as 487 in GetLineLayoutForBox()
but length is calculated as 482 in ReorderBiDiLayout()
(SetResizePolicy is USE_NATURAL_SIZE and Set MULTI_LINE)

sample)
    TextLabel labe21 = TextLabel::New();
    labe21.SetResizePolicy( ResizePolicy::USE_NATURAL_SIZE, Dimension::WIDTH );
    labe21.SetResizePolicy( ResizePolicy::USE_NATURAL_SIZE, Dimension::HEIGHT );
    labe21.SetProperty(Toolkit::DevelTextLabel::Property::BACKGROUND, backgroundMap);
    labe21.SetParentOrigin(ParentOrigin::TOP_LEFT);
    labe21.SetAnchorPoint(AnchorPoint::TOP_LEFT);
    labe21.SetProperty(TextLabel::Property::POINT_SIZE, 34.f);
    labe21.SetPosition( 145.f, 100.f);
    labe21.SetProperty( TextLabel::Property::HORIZONTAL_ALIGNMENT, "END" );
    labe21.SetProperty(Dali::Toolkit::TextLabel::Property::TEXT,  "مرحبا بالعالم Hello world" );

Change-Id: I1c56ec9a7e54521e55e72fbf28ad8438ea9e718d

5 months agoMoved SingletonService into dali-core 50/225250/8
Paul Wisbey [Tue, 18 Feb 2020 09:56:36 +0000 (09:56 +0000)]
Moved SingletonService into dali-core

Change-Id: Ibf16e4228e5ad319b9abedafcd16fe066f191110

5 months agoUTC Text Shaping Fix. 34/225934/2
Victor Cebollada [Mon, 24 Feb 2020 14:36:35 +0000 (14:36 +0000)]
UTC Text Shaping Fix.

* The test case was written in the old style that relies
  on the fonts installed on the platform.
  The fix adds the specific fonts to be used.

* In order to pass the test cases locally it might be needed
  to install the following fonts:

  dali-toolkit/automated-tests/resources/fonts/noto/NotoSansMalayalam-Regular.ttf
  dali-toolkit/automated-tests/resources/fonts/roboto/Roboto-Bold.ttf
  dali-toolkit/automated-tests/resources/fonts/roboto/Roboto-BoldItalic.ttf
  dali-toolkit/automated-tests/resources/fonts/roboto/Roboto-Italic.ttf
  dali-toolkit/automated-tests/resources/fonts/roboto/Roboto-Regular.ttf

* To install the fonts copy the font files to a relevant folder
  i.e ~/.local/share/fonts
  and execute the command fc-cache.

  Alternatively the Font Viewer application or similar can be used in Ubuntu
  to install fonts.

Change-Id: I82271ddb304bd041180dfa6fb3c3f81a5e2c553c
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
5 months agoFixes a layout bug with the COMBINING GRAVE ACCENT ' ̀' 44/225744/8
Joogab Yun [Mon, 24 Feb 2020 09:16:37 +0000 (18:16 +0900)]
Fixes a layout bug with the COMBINING GRAVE ACCENT ' ̀'

* The layout engine failed to calculate correctly the length
  of the line if that character is used in the last position.

if HORIZONTAL_ALIGNMENT is END, this is a problem.

    example)
    Property::Map backgroundMap;
    backgroundMap["color"] = Color::RED;
    backgroundMap["enable"] = true;
    TextLabel testLabel = TextLabel::New( "Àwọn àgbétẹ́lẹ̀");
    testLabel.SetAnchorPoint( AnchorPoint::TOP_LEFT );
    testLabel.SetProperty(TextLabel::Property::POINT_SIZE, 34.f);
    testLabel.SetPosition(100.f, 100.f);
    testLabel.SetSize( 544.f, 100.f);
    testLabel.SetProperty(TextLabel::Property::HORIZONTAL_ALIGNMENT, "END");
    testLabel.SetProperty(Toolkit::DevelTextLabel::Property::BACKGROUND, backgroundMap);
    stage.Add( testLabel );

Change-Id: Ic66fd96cc010eada7187502b9b65e2b408eff2cd

5 months ago[dali_1.9.0] Merge branch 'devel/master' 58/225658/1
Cheng-Shiun Tsai [Fri, 21 Feb 2020 16:25:51 +0000 (16:25 +0000)]
[dali_1.9.0] Merge branch 'devel/master'

Change-Id: I7dfab44f0a06331de246479f0087ebffb67b88d6

5 months agoDALi Version 1.9.0 53/225653/1 dali_1.9.0
Cheng-Shiun Tsai [Fri, 21 Feb 2020 16:24:57 +0000 (16:24 +0000)]
DALi Version 1.9.0

Change-Id: Iacaa75fdad568b116e5de840000b074ee6a7a4b8

5 months agoMove constants string to visual-string-constants file 15/225315/4
huiyu.eun [Wed, 19 Feb 2020 04:45:43 +0000 (13:45 +0900)]
Move constants string to visual-string-constants file

Change-Id: I3ec0ca86f1d44ed8efaee7fc97374fcea531c5c4
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
5 months agoAdd synchronous loading of svg-visual 55/224355/17
huiyu.eun [Mon, 10 Feb 2020 05:20:49 +0000 (14:20 +0900)]
Add synchronous loading of svg-visual

Change-Id: I56f3c25bcef325fa9299526b783072fef06aaed2
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
5 months agoSupport rounded corners for Visual 02/224802/5
Heeyong Song [Thu, 13 Feb 2020 07:02:29 +0000 (16:02 +0900)]
Support rounded corners for Visual

Change-Id: I22f9511af2f8a860e43f4e7c0c8ecc1ef4493eaf

5 months agoMerge "Asynchronous Load N-patch resource" into devel/master
Seungho BAEK [Tue, 18 Feb 2020 01:41:14 +0000 (01:41 +0000)]
Merge "Asynchronous Load N-patch resource" into devel/master

5 months agoAsynchronous Load N-patch resource 56/221256/34
Seungho, Baek [Mon, 30 Dec 2019 12:36:37 +0000 (21:36 +0900)]
Asynchronous Load N-patch resource

Change-Id: I1e0a25ca7599198ca5793a585af80e2b7d2e8f48
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
5 months agoMerge "Add child flex node with its margin" into devel/master
Adeel Kazmi [Fri, 14 Feb 2020 17:10:11 +0000 (17:10 +0000)]
Merge "Add child flex node with its margin" into devel/master

5 months ago[dali_1.5.0] Merge branch 'devel/master' 41/224941/1
Adeel Kazmi [Fri, 14 Feb 2020 07:31:21 +0000 (07:31 +0000)]
[dali_1.5.0] Merge branch 'devel/master'

Change-Id: I3852d3fcc049175b09b70c5b332558c494ad3a16

5 months agoDALi Version 1.5.0 36/224936/1 dali_1.5.0
Adeel Kazmi [Fri, 14 Feb 2020 07:30:25 +0000 (07:30 +0000)]
DALi Version 1.5.0

Change-Id: Id9e2ec9a084f8dcc7ef5de693f03bcba9e1cbb9b

5 months agoMerge "(patch-coverage.pl) Ignore header files that yield no coverage" into devel...
Adeel Kazmi [Thu, 13 Feb 2020 16:06:04 +0000 (16:06 +0000)]
Merge "(patch-coverage.pl) Ignore header files that yield no coverage" into devel/master

5 months ago(patch-coverage.pl) Ignore header files that yield no coverage 38/224838/1
Adeel Kazmi [Thu, 13 Feb 2020 09:55:58 +0000 (09:55 +0000)]
(patch-coverage.pl) Ignore header files that yield no coverage

Change-Id: I8e1fe875d300fa028bd2f6844422a4fd38f6d3ad

5 months agoAdd log for image file loading failure 82/224682/1
Heeyong Song [Wed, 12 Feb 2020 06:56:20 +0000 (15:56 +0900)]
Add log for image file loading failure

Change-Id: If5bffc5563be5aefd9c6177fb2feaf1985aaece4

5 months agoAdd child flex node with its margin 88/224488/3
neostom432 [Tue, 11 Feb 2020 03:33:17 +0000 (12:33 +0900)]
Add child flex node with its margin

To set margin to FlexLayout child, we should know its margin.
Unfortunately, Margin is set to view's layout object when using layout so we cannot know it in DALi side.

So, make new api which can pass child's margin.

Change-Id: I7f9708eef332a6d9d4d541ddce439e9bc723066f

5 months agoRemove unused Retention policy 68/224568/1
Adeel Kazmi [Tue, 11 Feb 2020 12:45:09 +0000 (12:45 +0000)]
Remove unused Retention policy

Change-Id: Ia053d91a4043be116108e52b6590e0c5b0d1d6bf

5 months ago[dali_1.4.57] Merge branch 'devel/master' 48/224148/1
Anton Obzhirov [Thu, 6 Feb 2020 14:31:31 +0000 (14:31 +0000)]
[dali_1.4.57] Merge branch 'devel/master'

Change-Id: I2b7334af0ef3d29f6f44130ae4be1ff91604c771

5 months agoDALi Version 1.4.57 43/224143/1 dali_1.4.57
Anton Obzhirov [Thu, 6 Feb 2020 14:30:36 +0000 (14:30 +0000)]
DALi Version 1.4.57

Change-Id: I2196449a911d2e2399b882a7b1b0fea10389d121

5 months agoModify UtcDaliTextControllerMaxLengthSetText() 11/224011/2
Joogab Yun [Wed, 5 Feb 2020 11:05:01 +0000 (20:05 +0900)]
Modify UtcDaliTextControllerMaxLengthSetText()
It takes too long to create a string of maxLength. Improve this.

Change-Id: Ic2bb10cc37d5b58c4c246307de336829a32a9bb4

5 months agoRemove the texture element from the load queue 85/222685/3
Heeyong Song [Thu, 16 Jan 2020 05:55:02 +0000 (14:55 +0900)]
Remove the texture element from the load queue

The observer can be deleted before the load queue is processed.
Remove the load element from the queue when the texture is removed.

Change-Id: I290d82b1f6b77db915f400af4cd2c05e0bd9558b

6 months agoEmit ResourceReady signal in SvgVisual in case of loading failure 74/223674/2
Heeyong Song [Fri, 31 Jan 2020 07:52:07 +0000 (16:52 +0900)]
Emit ResourceReady signal in SvgVisual in case of loading failure

Change-Id: I0f52fb5f298b5cfe1b5e13eb78c330b044d55149

6 months ago[dali_1.4.56] Merge branch 'devel/master' 43/223643/1
adam.b [Fri, 31 Jan 2020 11:13:58 +0000 (11:13 +0000)]
[dali_1.4.56] Merge branch 'devel/master'

Change-Id: I0617796f91568a48a0823f00258abcf38c6ed14d

6 months agoDALi Version 1.4.56 38/223638/1 dali_1.4.56
adam.b [Fri, 31 Jan 2020 11:13:03 +0000 (11:13 +0000)]
DALi Version 1.4.56

Change-Id: Icdc415f3a0d5881649580fffb0d6d4a68fad53fb

6 months agoSet mParsedImage of svg-visual 63/223463/2
huiyu.eun [Thu, 30 Jan 2020 03:13:50 +0000 (12:13 +0900)]
Set mParsedImage of svg-visual

Change-Id: I76eb44ee5862968ddb6cb4049c62b8cb78a0bedd
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 months agoDownload remote svg file 24/221424/9
huiyu.eun [Mon, 30 Dec 2019 04:23:27 +0000 (13:23 +0900)]
Download remote svg file

Change-Id: I115ba51843a448015b3c136de0570a3078a92ab6
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 months agoMerge "Fix Coverity issue" into devel/master
Seoyeon Kim [Tue, 28 Jan 2020 00:59:53 +0000 (00:59 +0000)]
Merge "Fix Coverity issue" into devel/master