platform/core/uifw/dali-toolkit.git
4 years agoAutomated Tests Sync 84/223184/1
Adeel Kazmi [Fri, 24 Jan 2020 08:44:12 +0000 (08:44 +0000)]
Automated Tests Sync

Change-Id: Id67435bb5de6e169efbfbe4650c6d5a4b7a06647

4 years agoMerge "Syncing common test files." into devel/master
Adeel Kazmi [Thu, 23 Jan 2020 17:00:10 +0000 (17:00 +0000)]
Merge "Syncing common test files." into devel/master

4 years agoMerge "VCPKG - CMakeLists.txt updated to build for vcpkg." into devel/master
Adeel Kazmi [Thu, 23 Jan 2020 16:52:32 +0000 (16:52 +0000)]
Merge "VCPKG - CMakeLists.txt updated to build for vcpkg." into devel/master

4 years agoVCPKG - CMakeLists.txt updated to build for vcpkg. 69/222969/4
Victor Cebollada [Mon, 13 Jan 2020 15:20:41 +0000 (15:20 +0000)]
VCPKG - CMakeLists.txt updated to build for vcpkg.

Change-Id: Idf08d9283e4a054bbbfb5b9b07fdc168adbba973
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
4 years agoSyncing common test files. 12/222612/3
György Straub [Thu, 16 Jan 2020 13:18:40 +0000 (13:18 +0000)]
Syncing common test files.

As required by change I0b4cc593ab5e40b17dc427956cd78950ab49e5ae on dali-core.

Change-Id: Ib5f72aef86fe7e9f5d98cf8d7546f1888c030725
Signed-off-by: György Straub <g.straub@partner.samsung.com>
4 years agoMerge "Add last clear color API in test gl abstraction." into devel/master
Adeel Kazmi [Thu, 23 Jan 2020 14:30:30 +0000 (14:30 +0000)]
Merge "Add last clear color API in test gl abstraction." into devel/master

4 years agoMerge "Add TextField BACKGROUND property and more Preedit style options" into devel...
Adeel Kazmi [Wed, 22 Jan 2020 09:18:31 +0000 (09:18 +0000)]
Merge "Add TextField BACKGROUND property and more Preedit style options" into devel/master

4 years agoAdd TextField BACKGROUND property and more Preedit style options 95/218695/10
Seoyeon Kim [Wed, 27 Nov 2019 05:47:25 +0000 (14:47 +0900)]
Add TextField BACKGROUND property and more Preedit style options

Change-Id: Ia4ce089bbee50bac45542268ef9ddaada8c9a657
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years agoMerge "MS Windows - Fix compile error when debug is enabled." into devel/master
Adeel Kazmi [Tue, 21 Jan 2020 14:17:57 +0000 (14:17 +0000)]
Merge "MS Windows - Fix compile error when debug is enabled." into devel/master

4 years ago(Vector) Stop the animation when the actor is off-stage or invisible 83/220883/6
Heeyong Song [Tue, 24 Dec 2019 07:32:54 +0000 (16:32 +0900)]
(Vector) Stop the animation when the actor is off-stage or invisible

Change-Id: I3b29c64943cc4a52898725ce2e983dd386069867

4 years agoAdd last clear color API in test gl abstraction. 31/222831/1
Anton Obzhirov [Mon, 20 Jan 2020 10:44:03 +0000 (10:44 +0000)]
Add last clear color API in test gl abstraction.

Change-Id: Iba05e95e975bef915b3d440df94bd80f1c420053

4 years agoFix an issue not to unload alpha mask texture 76/222776/1
Heeyong Song [Mon, 20 Jan 2020 04:09:49 +0000 (13:09 +0900)]
Fix an issue not to unload alpha mask texture

ImageVisual needs the alpha mask texture id to unload the texture

Change-Id: I6fe7a1b362cfbba27cdc9eba7e9ec3b3bcee087d

4 years agoMS Windows - Fix compile error when debug is enabled. 28/222728/2
Victor Cebollada [Fri, 17 Jan 2020 08:55:41 +0000 (08:55 +0000)]
MS Windows - Fix compile error when debug is enabled.

* Builds with VCPKG

Change-Id: Idbe5a597fcdfb309e29a729ffba381ffd56b6f27
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
4 years agoMerge "DALi Version 1.4.54" into devel/master
Adeel Kazmi [Fri, 17 Jan 2020 11:14:13 +0000 (11:14 +0000)]
Merge "DALi Version 1.4.54" into devel/master

4 years agoDALi Version 1.4.54 17/222717/1 dali_1.4.54
György Straub [Fri, 17 Jan 2020 08:48:40 +0000 (08:48 +0000)]
DALi Version 1.4.54

Change-Id: I9ebc4c389c63ad1c53532b63d6cab0dbd7951850

4 years agoMerge "Add api for get the internal media player handle of the VideoView" into devel...
joogab yun [Fri, 17 Jan 2020 01:19:54 +0000 (01:19 +0000)]
Merge "Add api for get the internal media player handle of the VideoView" into devel/master

4 years agoUpdated automated-tests' README.md with more specific instructions / caveats. 04/222604/2
György Straub [Thu, 16 Jan 2020 11:21:22 +0000 (11:21 +0000)]
Updated automated-tests' README.md with more specific instructions / caveats.

Change-Id: Ia1f6863a516cbb4e8325fd1bb61af60b1bfd629e
Signed-off-by: György Straub <g.straub@partner.samsung.com>
4 years agoEllipsis sometimes appears incorrect when mixed with RTL + LTR 52/222452/6
Joogab Yun [Wed, 15 Jan 2020 06:11:27 +0000 (15:11 +0900)]
Ellipsis sometimes appears incorrect when mixed with RTL + LTR

sample)
    textRTL = TextLabel::New("فصل 3 قسط  6 - Line of Duty");
    textRTL.SetAnchorPoint( AnchorPoint::TOP_LEFT );
    textRTL.SetSize( 320, 200.f);
    textRTL.SetProperty( TextLabel::Property::POINT_SIZE, 20.f);
    textRTL.SetPosition(  50.f, 300.f);
    stage.Add( textRTL );

Change-Id: Ice8186431b6914286a99366a8c3347529dbb0c1c

4 years agoAdd api for get the internal media player handle of the VideoView 87/222287/9
Joogab Yun [Mon, 13 Jan 2020 08:17:54 +0000 (17:17 +0900)]
Add api for get the internal media player handle of the VideoView

Change-Id: I1671caaa688038c6ee15622c72317b4c90487b98

4 years agoAdd AlphaMask to synchronousLoading 18/216518/26
Seungho, Baek [Mon, 28 Oct 2019 01:41:52 +0000 (10:41 +0900)]
Add AlphaMask to synchronousLoading

Change-Id: I23d5021f31aeb928a899f0c2caaa680ea3a165d9
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
4 years agoTextFit : modified it work even if you change the size 34/222234/1
Joogab Yun [Sat, 11 Jan 2020 22:37:02 +0000 (07:37 +0900)]
TextFit : modified it work even if you change the size

 // text fit test
   Property::Map backgroundMap;
   backgroundMap["color"] = Color::RED;
   backgroundMap["enable"] = true;

   Property::Map textFitMap;
   textFitMap["enable"] = true;
   textFitMap["minSize"] = 10.f;
   textFitMap["maxSize"] = 60.f;
   textFitMap["stepSize"] = 4.f;
   textFitMap["fontSizeType"] = "pointSize";

   width = 700;
   height = 100;
   textFit = TextLabel::New(  "Long enough message for TextLabel!! This is a Text Fit sample text " );
   textFit.SetSize( width, height );
   textFit.SetParentOrigin(ParentOrigin::TOP_LEFT);
   textFit.SetAnchorPoint(AnchorPoint::TOP_LEFT);
   textFit.SetPosition( 100.f, 300.f);
   textFit.SetProperty( Toolkit::DevelTextLabel::Property::TEXT_FIT, textFitMap );
   textFit.SetProperty( Toolkit::DevelTextLabel::Property::BACKGROUND, backgroundMap );
   stage.Add( textFit );

   stage.KeyEventSignal().Connect( this, &HelloWorldController::OnKeyEvent );
  }

  void OnKeyEvent( const KeyEvent& event )
  {
    if( event.state == KeyEvent::Down )
    {
      width -= 40;
      textFit.SetSize( width, height );
    }
  }

Change-Id: Ie7f3cd5cc5e0fa581f8e4912ccb5e88049499f31

4 years agoMerge "Updated NanoSVG to latest version (22 April 2019)" into devel/master
Adeel Kazmi [Fri, 10 Jan 2020 15:58:46 +0000 (15:58 +0000)]
Merge "Updated NanoSVG to latest version (22 April 2019)" into devel/master

4 years agoFix svg memory issue 28/222228/1
Richard Huang [Fri, 10 Jan 2020 15:09:23 +0000 (15:09 +0000)]
Fix svg memory issue

- fix heap-buffer-overflow issue
- nsvgParse : Parses SVG file from a null terminated string

Change-Id: Ie462dd63b03ba212b5e67c89406fb477f83f0692

4 years agoUpdated NanoSVG to latest version (22 April 2019) 24/222224/2
Richard Huang [Fri, 10 Jan 2020 14:10:23 +0000 (14:10 +0000)]
Updated NanoSVG to latest version (22 April 2019)

Change-Id: I3a4082a0afe6411ac197d87bf5a706d8b97e5ab6

4 years agoDALi Version 1.4.53 10/222210/1 dali_1.4.53
greynaga [Fri, 10 Jan 2020 11:50:17 +0000 (11:50 +0000)]
DALi Version 1.4.53

Change-Id: I04835b40e38831129fcc281a35b2d1ae0e731b7b

4 years agoMerge "Fix random crash in TCT when stderr is closed but we try to write to it" into...
Adeel Kazmi [Thu, 9 Jan 2020 17:23:57 +0000 (17:23 +0000)]
Merge "Fix random crash in TCT when stderr is closed but we try to write to it" into devel/master

4 years agoFix random crash in TCT when stderr is closed but we try to write to it 51/221951/4
Richard Huang [Wed, 8 Jan 2020 10:30:42 +0000 (10:30 +0000)]
Fix random crash in TCT when stderr is closed but we try to write to it

Change-Id: If854285fa64582f81625b78a814dcfa61c3a5a2c

4 years agoGCC 9.2 Support 21/221821/1
Adeel Kazmi [Tue, 7 Jan 2020 16:16:15 +0000 (16:16 +0000)]
GCC 9.2 Support

Change-Id: I40fd353eac0a66d4000d4c94e254b4cd02670140

4 years agoFixing 4 SVACE errors 60/221560/2
Agnelo Vaz [Fri, 3 Jan 2020 11:47:05 +0000 (11:47 +0000)]
Fixing 4 SVACE errors

Dereference of null pointer
Asserts if unsigned ints not greater or equal to zero

Change-Id: Ief535cdd8fe70e2e0deed3f721e612bb2a7facb0

4 years agoMerge "DALi Version 1.4.52" into devel/master
Adeel Kazmi [Fri, 3 Jan 2020 11:35:45 +0000 (11:35 +0000)]
Merge "DALi Version 1.4.52" into devel/master

4 years agoDALi Version 1.4.52 39/221539/1 dali_1.4.52
Richard Huang [Fri, 3 Jan 2020 11:06:49 +0000 (11:06 +0000)]
DALi Version 1.4.52

Change-Id: I21e81fd9ef5106f01f75e49b5c10786b50f48c60

4 years agoChange the state of EventData to EDITING in RemoveText 92/221492/1
Seoyeon Kim [Thu, 2 Jan 2020 10:00:02 +0000 (19:00 +0900)]
Change the state of EventData to EDITING in RemoveText

- Currently, in certain cases, even if Backspace key is pressed
 after cursor blink is stopped, cursor blink does not restart and
 the cursor is also not shown.

- It means, after EventData is changed to INACTIVE state due to
 KeyboardFocusLostEvent(), StopCursorBlink() is called.
  After that, in RemoveText(), which is called in Backspace key,
 EventData cannot be changed to EDITING state and StartCursorBlink() is not called.
  On the other hand, when the character commits or the arrow keys are pressed,
 EventData is changed to EDITING state and the cursor is displayed on screen.

- So, added 'ChangeState( EventData::EDITING )' when the state is INACTIVE.

Change-Id: Ib79dfdc6f7308d084772f62dc49918a694cfc438
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
5 years agosscanf() returns incorrect results depending on the locale. 06/221106/2
Joogab Yun [Fri, 27 Dec 2019 06:10:55 +0000 (15:10 +0900)]
sscanf() returns incorrect results depending on the locale.

So, to use nsvg__atof () to get the correct value.

*this patch is taken from the latest nanosvg source.

Change-Id: I157e26edc1e4a3aedec5fb86043a9beba7e71489

5 years agoMove shadow APIs to Internal::Control::Impl from Internal::Control 64/220864/1
Jiyun Yang [Tue, 24 Dec 2019 05:43:36 +0000 (14:43 +0900)]
Move shadow APIs to Internal::Control::Impl from Internal::Control

Change-Id: I86bef469e54996bb83fddfa3b36d07970549d227
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
5 years ago(Vector) Ensure the current frame is not out of the play range 77/220477/3
Heeyong Song [Wed, 18 Dec 2019 10:55:57 +0000 (19:55 +0900)]
(Vector) Ensure the current frame is not out of the play range

Change-Id: I7077b0de7133f4282b66d2c4de2a1ce6b8555256

5 years agoMerge "DALi Version 1.4.51" into devel/master
Adeel Kazmi [Fri, 20 Dec 2019 10:46:07 +0000 (10:46 +0000)]
Merge "DALi Version 1.4.51" into devel/master

5 years agoDALi Version 1.4.51 26/220726/1 dali_1.4.51
Cheng-Shiun Tsai [Fri, 20 Dec 2019 10:33:00 +0000 (10:33 +0000)]
DALi Version 1.4.51

Change-Id: I70d64760f7298bfdcb132ba9a27ee452a93b96c8

5 years agoMerge "Add property SHADOW to Control" into devel/master
HyunJu Shin [Fri, 20 Dec 2019 09:57:27 +0000 (09:57 +0000)]
Merge "Add property SHADOW to Control" into devel/master

5 years agoUpdate tizen document URL 69/220469/1
Seoyeon Kim [Wed, 18 Dec 2019 10:29:24 +0000 (19:29 +0900)]
Update tizen document URL

- According to the address change of tizen documents,
  the site URL in dali-toolkit-doc.h has been updated.

Change-Id: Ief8d5b9425bf995e9171c66c37893d800aeab4e1
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
5 years agoAdd property SHADOW to Control 29/220429/2
Jiyun Yang [Wed, 18 Dec 2019 05:52:32 +0000 (14:52 +0900)]
Add property SHADOW to Control

* The SHADOW will take a set of properties as a map type
* Same as BACKGROUND, it can be any type of visuals

Change-Id: I0b203929021f2c2cda01af4131a9f3f0baaa86ac
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
5 years ago(Vector) Support marker 95/220095/2
Heeyong Song [Fri, 13 Dec 2019 05:16:06 +0000 (14:16 +0900)]
(Vector) Support marker

Change-Id: I0962a3c144d34374352c9759933448df07d00b8e

5 years agoDALi Version 1.4.50 53/220153/1 dali_1.4.50
Agnelo Vaz [Fri, 13 Dec 2019 10:57:23 +0000 (10:57 +0000)]
DALi Version 1.4.50

Change-Id: I51d279df003917709cd9c117e742d077eeb4f63a

5 years agoFix npatch loader issue 81/218981/2
Heeyong Song [Fri, 29 Nov 2019 08:12:02 +0000 (17:12 +0900)]
Fix npatch loader issue

The pixel pointer should be updated after ParseRange method.
Use reference of a pointer

Change-Id: I35b711c73faa5b7a36f5f3dc70825e6fbf4c955a

5 years agoMerge "Change svg visual to load file using adaptor platform API." into devel/master
Paul Wisbey [Thu, 5 Dec 2019 16:11:32 +0000 (16:11 +0000)]
Merge "Change svg visual to load file using adaptor platform API." into devel/master

5 years agoDALi Version 1.4.49 18/219518/1 dali_1.4.49
Anton Obzhirov [Thu, 5 Dec 2019 11:53:31 +0000 (11:53 +0000)]
DALi Version 1.4.49

Change-Id: I5ae98626feeaa4b7fa477bd5e3767ab4cd481502

5 years agoChange svg visual to load file using adaptor platform API. 22/219422/1
Anton Obzhirov [Wed, 4 Dec 2019 15:22:51 +0000 (15:22 +0000)]
Change svg visual to load file using adaptor platform API.

Change-Id: I840d4064c38fe9b4622342b8f53718cbc60b4c09

5 years agoMerge "GetLineCount() after GetTextDirection() returns wrong value." into devel/master
joogab yun [Mon, 2 Dec 2019 01:20:09 +0000 (01:20 +0000)]
Merge "GetLineCount() after GetTextDirection() returns wrong value." into devel/master

5 years agoMerge "Multiple text background color support for left-to-right text only in TextFiel...
Adeel Kazmi [Fri, 29 Nov 2019 17:02:22 +0000 (17:02 +0000)]
Merge "Multiple text background color support for left-to-right text only in TextField" into devel/master

5 years agoMultiple text background color support for left-to-right text only in TextField 75/218675/6
Richard Huang [Tue, 26 Nov 2019 16:45:43 +0000 (16:45 +0000)]
Multiple text background color support for left-to-right text only in TextField

Change-Id: I9beee6072fb72997c94b05b3d1cfebe9ee1217bb

5 years agoMerge "DALi Version 1.4.48" into devel/master
Adeel Kazmi [Fri, 29 Nov 2019 13:32:09 +0000 (13:32 +0000)]
Merge "DALi Version 1.4.48" into devel/master

5 years agoDALi Version 1.4.48 99/218999/1 dali_1.4.48
adam.b [Fri, 29 Nov 2019 12:17:05 +0000 (12:17 +0000)]
DALi Version 1.4.48

Change-Id: I1f4e36b96591cb4ccfa0777b29453f07acf8cbfb

5 years agoAvoid stackoverflow in nanosvg 47/218847/1
Sunghyun kim [Fri, 29 Nov 2019 01:20:01 +0000 (10:20 +0900)]
Avoid stackoverflow in nanosvg

Change-Id: I508a5573e747114176f3bd37b2c77835edbfa7ca

5 years agoMerge "Layout fixes." into devel/master
joogab yun [Tue, 26 Nov 2019 07:31:40 +0000 (07:31 +0000)]
Merge "Layout fixes." into devel/master

5 years agoMerge "Text cleaning." into devel/master
joogab yun [Tue, 26 Nov 2019 07:31:34 +0000 (07:31 +0000)]
Merge "Text cleaning." into devel/master

5 years ago(Vector) Call Finalize method instead of deleting VectorRenderer 10/218510/3
Heeyong Song [Mon, 25 Nov 2019 04:42:42 +0000 (13:42 +0900)]
(Vector) Call Finalize method instead of deleting VectorRenderer

Change-Id: Id7d0a5cab4229e6619122c6294914d512bae9b17

5 years agoLayout fixes. 28/216828/6
Victor Cebollada [Tue, 8 Oct 2019 08:31:18 +0000 (09:31 +0100)]
Layout fixes.

* Fixes some alignment issues with RTL text.

* Reorders the RTL lines while the text is laid-out.
  It might happen that the length of the text changes after
  the reordering. In that case if the lines are reordered
  outside the layout engine update the lenght at that
  step is too late.

Change-Id: If7b3bf488bde75c538a646aa48b7dfe3083597b8
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
5 years agoText cleaning. 27/216827/5
Victor Cebollada [Fri, 1 Nov 2019 10:42:26 +0000 (10:42 +0000)]
Text cleaning.

* Refactor the Layout::Parameters struct
* Remove unnecesary code.

Change-Id: I1ebd7a01b3d7fe33917d51c481b536118c5c9bae
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
5 years agoMerge "DALi Version 1.4.47" into devel/master
Adeel Kazmi [Fri, 22 Nov 2019 08:02:21 +0000 (08:02 +0000)]
Merge "DALi Version 1.4.47" into devel/master

5 years agoDALi Version 1.4.47 28/218428/1 dali_1.4.47
Victor Cebollada [Fri, 22 Nov 2019 07:14:21 +0000 (07:14 +0000)]
DALi Version 1.4.47

Change-Id: I1b5be5e37a66667841bbc28b615ae1629a4f51db

5 years agoMerge "Reset Preedit variables in 'Delete All' state" into devel/master
joogab yun [Fri, 22 Nov 2019 01:22:39 +0000 (01:22 +0000)]
Merge "Reset Preedit variables in 'Delete All' state" into devel/master

5 years ago(FlexNode) Fixed Visual Studio Compilation 24/217924/3
Adeel Kazmi [Fri, 15 Nov 2019 22:05:40 +0000 (22:05 +0000)]
(FlexNode) Fixed Visual Studio Compilation

Change-Id: I063802197a4eb31a5be1439b5332b7c0273c9a83

5 years agoMerge "DALi Version 1.4.46" into devel/master
Adeel Kazmi [Fri, 15 Nov 2019 14:08:41 +0000 (14:08 +0000)]
Merge "DALi Version 1.4.46" into devel/master

5 years agoDALi Version 1.4.46 12/217912/1 dali_1.4.46
Richard Huang [Fri, 15 Nov 2019 14:03:14 +0000 (14:03 +0000)]
DALi Version 1.4.46

Change-Id: Ide56b38d2a9e283733000d579f8dded7b6fb8707

5 years agoFix text jitter issue 96/217796/2
Heeyong Song [Thu, 14 Nov 2019 08:21:25 +0000 (17:21 +0900)]
Fix text jitter issue

Text jitter issue occurs when set a text again during text scrolling.
It is because the same property is used by the old and new animations. 2 PropertyResetters affect the same property.
So I've changed to use properties of Shader which is newly created every time.
Then the same property is not used by the old and new animation now.

Change-Id: I7ec9b266b0be48414d8df5e3ffead6e5c750b338

5 years agoMerge "Add new style for 2048x1080 high dpi." into devel/master
Adeel Kazmi [Fri, 8 Nov 2019 13:11:04 +0000 (13:11 +0000)]
Merge "Add new style for 2048x1080 high dpi." into devel/master

5 years agoAdd new style for 2048x1080 high dpi. 49/217349/1
Anton Obzhirov [Fri, 8 Nov 2019 12:41:07 +0000 (12:41 +0000)]
Add new style for 2048x1080 high dpi.

Change-Id: I2ead85d585050c5cb19c7fd4f9a65c55b86f8ddf

5 years agoDALi Version 1.4.45 24/217324/1 dali_1.4.45
György Straub [Fri, 8 Nov 2019 09:44:37 +0000 (09:44 +0000)]
DALi Version 1.4.45

Change-Id: I0de6884326fb78322b8b50b2717f43ef66b9c2eb

5 years agoGetLineCount() after GetTextDirection() returns wrong value. 49/217049/2
Joogab Yun [Wed, 6 Nov 2019 01:57:57 +0000 (10:57 +0900)]
GetLineCount() after GetTextDirection() returns wrong value.

ex)
   I expect the line count to come out of 3.
   However, after GetProperty(TEXT_DIRECTION), line count is 1.

   labelLine = TextLabel::New();
   labelLine.SetSize( 400, 200 );
   labelLine.SetParentOrigin(ParentOrigin::TOP_LEFT);
   labelLine.SetAnchorPoint(AnchorPoint::TOP_LEFT);
   labelLine.SetPosition( 830.f, 800.f);
   labelLine.SetProperty(TextLabel::Property::POINT_SIZE, 23.f);
   labelLine.SetProperty(Dali::Toolkit::TextLabel::Property::TEXT, "Original text Original text Original text Original text");
   labelLine.SetProperty( TextLabel::Property::MULTI_LINE, true );
   stage.Add( labelLine );

   stage.KeyEventSignal().Connect( this, &HelloWorldController::LineCount );

  void LineCount( const KeyEvent& event )
  {
    if( event.state == KeyEvent::Down )
    {
      // issue
      labelLine.SetProperty(Dali::Toolkit::TextLabel::Property::TEXT, "Changed1 text Changed text Changed text Changed text");
      DALI_LOG_ERROR("lineCount #11: %d \n",labelLine.GetProperty<int>( TextLabel::Property::LINE_COUNT ));
      labelLine.GetProperty< int >( DevelTextLabel::Property::TEXT_DIRECTION );
      DALI_LOG_ERROR("lineCount #22: %d \n",labelLine.GetProperty<int>( TextLabel::Property::LINE_COUNT ));

    }
  }

Change-Id: I197b97aa6f131930627bbef0438950c9679fd58f

5 years agoForce order, Premultiply alpha after alpha mask. 53/213653/5
Seungho, Baek [Tue, 10 Sep 2019 00:36:28 +0000 (09:36 +0900)]
Force order, Premultiply alpha after alpha mask.

 - Force to premultiply alpha after apply alpha mask if there is alpha mask.

Change-Id: I25c8c6a20dcbd39656d195abbff6ca6b4d18a008
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
5 years agoFix premultiplied alpha issue 94/216694/3
Heeyong Song [Thu, 31 Oct 2019 01:02:02 +0000 (10:02 +0900)]
Fix premultiplied alpha issue

Premultiplied alpha value was wrong when using the cached texture

Change-Id: I0040278b084e060bc2269611877bd703491bee57

5 years ago(Vector) Ensure to release VectorRenderer in the main thread 33/216133/4
Heeyong Song [Mon, 21 Oct 2019 08:41:14 +0000 (17:41 +0900)]
(Vector) Ensure to release VectorRenderer in the main thread

Change-Id: Ie7a6798f92a55124a14b04df622b62549347ecfa

5 years agoReset Preedit variables in 'Delete All' state 03/216803/3
Seoyeon Kim [Fri, 1 Nov 2019 08:14:51 +0000 (17:14 +0900)]
Reset Preedit variables in 'Delete All' state

- If the number of current text and the number of characters to be deleted
 are same, it means all texts should be removed
 and all Preedit variables should be initialized.
 : mPreEditStartPosition and mPreEditLength

Change-Id: I3648925c776251ff03aeb77102e2910e4d09ee33
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
5 years agoMerge "Add a GCC compiler version check in the CMakeList.txt file." into devel/master
Adeel Kazmi [Fri, 1 Nov 2019 15:48:12 +0000 (15:48 +0000)]
Merge "Add a GCC compiler version check in the CMakeList.txt file." into devel/master

5 years agoAdd a GCC compiler version check in the CMakeList.txt file. 13/216813/2
Victor Cebollada [Fri, 1 Nov 2019 11:15:15 +0000 (11:15 +0000)]
Add a GCC compiler version check in the CMakeList.txt file.

Change-Id: I8e8a4239c15cf1fced69005d5b07f5239297d257
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
5 years agoDALi Version 1.4.44 17/216817/1 dali_1.4.44
greynaga [Fri, 1 Nov 2019 11:24:41 +0000 (11:24 +0000)]
DALi Version 1.4.44

Change-Id: I4e9e8bdfb007cf6696d537d51fe4369c5ff58d70

5 years agoFix data rw and ro dirs env variables reading for cmake. 92/216692/3
Anton Obzhirov [Wed, 30 Oct 2019 17:05:28 +0000 (17:05 +0000)]
Fix data rw and ro dirs env variables reading for cmake.

Also added install RW and RO dirs for cmake installation
and support logging for Android Yoga."

Change-Id: I754c458b99463ace8a3809ad1f7a0361ccdbb19d

5 years agoFix next frame time build issue to cast to platform supported duration. 91/216691/2
Anton Obzhirov [Wed, 30 Oct 2019 17:04:05 +0000 (17:04 +0000)]
Fix next frame time build issue to cast to platform supported duration.

Change-Id: I87e79baad181286e13c8eac6732add246f778c66

5 years agoMerge "Changes after adaptor integration-api folder move" into devel/master
Adeel Kazmi [Fri, 25 Oct 2019 15:07:21 +0000 (15:07 +0000)]
Merge "Changes after adaptor integration-api folder move" into devel/master

5 years agoMerge "Fix for UtcDaliGetLogicalCursorIndex" into devel/master
Adeel Kazmi [Fri, 25 Oct 2019 13:16:56 +0000 (13:16 +0000)]
Merge "Fix for UtcDaliGetLogicalCursorIndex" into devel/master

5 years agoFix for UtcDaliGetLogicalCursorIndex 89/216489/2
Victor Cebollada [Fri, 25 Oct 2019 10:38:17 +0000 (11:38 +0100)]
Fix for UtcDaliGetLogicalCursorIndex

* The number of characters of the failing experiment
  is 16 not 14.
* The text is split in lines in a different character
  with the new ubuntu fonts.

Change-Id: Iefaf600f02be44e12219c6fedb7a8f7d5664d4f8
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
5 years agoChanges after adaptor integration-api folder move 17/216417/2
Adeel Kazmi [Thu, 24 Oct 2019 18:52:48 +0000 (19:52 +0100)]
Changes after adaptor integration-api folder move

Change-Id: I90b78dff6e2c35414d5eaf0c8ea926a7b22ff0da

5 years agoDALi Version 1.4.43 76/216476/1 dali_1.4.43
Agnelo Vaz [Fri, 25 Oct 2019 09:29:52 +0000 (10:29 +0100)]
DALi Version 1.4.43

Change-Id: Ic9cc2452eab88cf9ee7c9e9acdbb36d690d2ef47

5 years agoFix the incorrect offset of text outline 56/216056/5
Richard Huang [Fri, 18 Oct 2019 13:56:18 +0000 (14:56 +0100)]
Fix the incorrect offset of text outline

Change-Id: I1a40cea5ad20308e2e968331a514eb3adc396aa0

5 years agoMerge "Add Text Preedit Style" into devel/master
Adeel Kazmi [Thu, 24 Oct 2019 08:58:08 +0000 (08:58 +0000)]
Merge "Add Text Preedit Style" into devel/master

5 years agoMerge "(Build) Ensure CXX11 libraries are marked as provided when building the RPM...
Adeel Kazmi [Thu, 24 Oct 2019 08:48:39 +0000 (08:48 +0000)]
Merge "(Build) Ensure CXX11 libraries are marked as provided when building the RPM" into devel/master

5 years agoAdd Text Preedit Style 08/216108/6
Seoyeon Kim [Mon, 21 Oct 2019 06:05:08 +0000 (15:05 +0900)]
Add Text Preedit Style

- Currently, only Underline is supported for Preedit style.
  But, Highlight and Reverse style should be added later.
- Added PreeditStyle::NONE as default preedit style.

Change-Id: I7fe9e3258eba425e8ad408c6c6222d96f54e162d
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
5 years ago(Vector) Pause animation when the window is hidden 84/216184/2
Heeyong Song [Tue, 22 Oct 2019 05:39:18 +0000 (14:39 +0900)]
(Vector) Pause animation when the window is hidden

Change-Id: I26b67436050a3ee2a65c9e38770f77df406c1d1e

5 years ago(Build) Ensure CXX11 libraries are marked as provided when building the RPM 35/216335/1
Adeel Kazmi [Wed, 23 Oct 2019 10:53:37 +0000 (11:53 +0100)]
(Build) Ensure CXX11 libraries are marked as provided when building the RPM

Change-Id: I26e9092513008646739157dc7f76c2b14b3f564a

5 years agoAdd logs for UtcDaliGetLogicalCursorIndex. 54/216254/1
Victor Cebollada [Tue, 22 Oct 2019 15:27:20 +0000 (16:27 +0100)]
Add logs for UtcDaliGetLogicalCursorIndex.

* It fails from time to time. Adding few logs
  to get more info.

Change-Id: If74388f29367d37913c4b20b113b5343b48413d0
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
5 years agoDALi Version 1.4.42 23/216023/1 dali_1.4.42
Cheng-Shiun Tsai [Fri, 18 Oct 2019 10:13:14 +0000 (11:13 +0100)]
DALi Version 1.4.42

Change-Id: I9c4db20c20fb1c8364eec7f6e95e444b6327a776

5 years ago(Vector) Add CONTENT_INFO property 02/215602/2
Heeyong Song [Fri, 11 Oct 2019 08:37:52 +0000 (17:37 +0900)]
(Vector) Add CONTENT_INFO property

Change-Id: I6eeb4b1a92add77f38e116a4e11b58c7acb5713a

5 years ago(Vector) Pause animation when the actor is invisible 10/215410/3
Heeyong Song [Tue, 8 Oct 2019 02:22:33 +0000 (11:22 +0900)]
(Vector) Pause animation when the actor is invisible

Change-Id: Ie9b5cd221e099f711cc63cafa5b1a12f42f7ea82

5 years ago(Vector) Refactor vector to use thread pool 32/214332/8
Heeyong Song [Fri, 20 Sep 2019 09:23:48 +0000 (18:23 +0900)]
(Vector) Refactor vector to use thread pool

Change-Id: If9701ae9b938f4a21cf30f7536d441aedd7d9f08

5 years ago(Automated Tests) Updates after addition of rotation gesture 64/215564/1
Adeel Kazmi [Thu, 10 Oct 2019 17:07:57 +0000 (18:07 +0100)]
(Automated Tests) Updates after addition of rotation gesture

Change-Id: I9b108136c3f03598d8aed8ac461ea2f298432873

5 years agoDALi Version 1.4.41 54/215554/1 dali_1.4.41
Anton Obzhirov [Thu, 10 Oct 2019 14:57:29 +0000 (15:57 +0100)]
DALi Version 1.4.41

Change-Id: I417aec69fe9749110b1722d1c8239175f6c0fdab

5 years agoFix wrong cursor position issues in difference horizontal alignment 51/215251/5
Jiyun Yang [Fri, 4 Oct 2019 06:50:41 +0000 (15:50 +0900)]
Fix wrong cursor position issues in difference horizontal alignment

Previously, it does not align the last line with no character.
So the cursor position in the last empty line is not aligned.

Now it tests whether the alignment target indices includes end of the text
and the last line is generated but empty.

Change-Id: Icc525a94cdaca7e926c06a6615d6e319d7c55ae1
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
5 years agoMerge "Fixed issue where only the last line was aligned in the case of a multiline...
joogab yun [Mon, 7 Oct 2019 00:43:22 +0000 (00:43 +0000)]
Merge "Fixed issue where only the last line was aligned in the case of a multiline input text editor" into devel/master

5 years agoMerge "DALi Version 1.4.40" into devel/master
Adeel Kazmi [Fri, 4 Oct 2019 12:58:51 +0000 (12:58 +0000)]
Merge "DALi Version 1.4.40" into devel/master

5 years agoDALi Version 1.4.40 80/215280/1 dali_1.4.40
Adeel Kazmi [Fri, 4 Oct 2019 12:40:23 +0000 (13:40 +0100)]
DALi Version 1.4.40

Change-Id: If1b9a9a444abc9fba6af5e65632090f25c46a129

5 years agoFixed issue where only the last line was aligned in the case of a multiline input... 38/215238/6
Joogab Yun [Fri, 4 Oct 2019 02:04:11 +0000 (11:04 +0900)]
Fixed issue where only the last line was aligned in the case of a multiline input text editor

If you try to ALIGNMENT after entering multilines, only the last line is aligned.
So when the _ALIGNMENT property is entered, we modify it to be a full aligned.

ex)
    textEditor2 = TextEditor::New();
    textEditor2.SetBackgroundColor( Color::CYAN );
    textEditor2.SetProperty( TextEditor::Property::TEXT_COLOR, Color::YELLOW );
    textEditor2.SetSize( 500.f, 500.f );
    textEditor2.SetPosition( 900.f, 150.f );
    textEditor2.SetAnchorPoint( AnchorPoint::TOP_LEFT );
    textEditor2.SetProperty( TextEditor::Property::TEXT, "test test " );
    stage.Add( textEditor2 );

    Control control2 = Control::New();
    control2.SetSize(80,80);
    control2.SetBackgroundColor(Color::YELLOW);
    control2.SetPosition(750,200);
    control2.SetAnchorPoint( AnchorPoint::TOP_LEFT );
    control2.TouchSignal().Connect(this, &HelloWorldController::OnTouch3);
    stage.Add( control2 );

  bool OnTouch3( Actor actor, const TouchData& touch )
  {
    textEditor2.SetProperty( TextEditor::Property::TEXT_COLOR, Color::RED );
    textEditor2.SetColor(Color::BLUE );
    textEditor2.SetProperty( TextEditor::Property::HORIZONTAL_ALIGNMENT, "END" );
    return true;
  }

Change-Id: Icc98d04d7c556a4d33b5de8640c2fc29587c1b35