platform/core/uifw/dali-toolkit.git
5 months ago[dali_1.4.54] Merge branch 'devel/master' 22/222722/1
György Straub [Fri, 17 Jan 2020 08:49:25 +0000 (08:49 +0000)]
[dali_1.4.54] Merge branch 'devel/master'

Change-Id: Ie64e46022308183a60b5dedaaa9b3854ea1a1181

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

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

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

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

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

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

5 months ago[dali_1.4.53] Merge branch 'devel/master' 15/222215/1
greynaga [Fri, 10 Jan 2020 11:51:02 +0000 (11:51 +0000)]
[dali_1.4.53] Merge branch 'devel/master'

Change-Id: I5954ee76d62a46751a1c652d2a10003d66adecdd

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

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

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

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

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

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

5 months ago[dali_1.4.52] Merge branch 'devel/master' 44/221544/1
Richard Huang [Fri, 3 Jan 2020 11:07:33 +0000 (11:07 +0000)]
[dali_1.4.52] Merge branch 'devel/master'

Change-Id: I028f65fb860bea38e712221b2101cd4ff2bf8153

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

5 months 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>
6 months 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

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

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

6 months ago[dali_1.4.51] Merge branch 'devel/master' 31/220731/1
Cheng-Shiun Tsai [Fri, 20 Dec 2019 10:33:55 +0000 (10:33 +0000)]
[dali_1.4.51] Merge branch 'devel/master'

Change-Id: Icf8c6960214dc5139adfacdcceef61359007d053

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

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

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

6 months ago[dali_1.4.50] Merge branch 'devel/master' 58/220158/1
Agnelo Vaz [Fri, 13 Dec 2019 10:58:19 +0000 (10:58 +0000)]
[dali_1.4.50] Merge branch 'devel/master'

Change-Id: I91fcfde38ca82817b4001f5675b2ccca314ddf7e

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

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

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

6 months ago[dali_1.4.49] Merge branch 'devel/master' 24/219524/1
Anton Obzhirov [Thu, 5 Dec 2019 11:54:31 +0000 (11:54 +0000)]
[dali_1.4.49] Merge branch 'devel/master'

Change-Id: I98ab9e86e9abfdc597880f24e63fefec37597ba9

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

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

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

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

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

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

7 months ago[dali_1.4.48] Merge branch 'devel/master' 04/219004/1
adam.b [Fri, 29 Nov 2019 12:17:49 +0000 (12:17 +0000)]
[dali_1.4.48] Merge branch 'devel/master'

Change-Id: I82684ca0f34ed01fdf9ebc9a03edecdd1063d038

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

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

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

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

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

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

7 months ago[dali_1.4.47] Merge branch 'devel/master' 33/218433/1
Victor Cebollada [Fri, 22 Nov 2019 07:15:08 +0000 (07:15 +0000)]
[dali_1.4.47] Merge branch 'devel/master'

Change-Id: Icbe305fff35ed76718f15db8ab9247fc1a95e10e

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

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

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

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

7 months ago[dali_1.4.46] Merge branch 'devel/master' 17/217917/1
Richard Huang [Fri, 15 Nov 2019 14:04:10 +0000 (14:04 +0000)]
[dali_1.4.46] Merge branch 'devel/master'

Change-Id: I3a569a344fda9ad54872c1b5d5c676fc7ea14e41

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

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

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

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

7 months ago[dali_1.4.45] Merge branch 'devel/master' 30/217330/1
György Straub [Fri, 8 Nov 2019 09:45:30 +0000 (09:45 +0000)]
[dali_1.4.45] Merge branch 'devel/master'

Change-Id: I35171759924bf849053ec0f91d69129e92ceb8d6

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

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

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

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

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

8 months 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>
8 months ago[dali_1.4.44] Merge branch 'devel/master' 22/216822/1
greynaga [Fri, 1 Nov 2019 11:25:38 +0000 (11:25 +0000)]
[dali_1.4.44] Merge branch 'devel/master'

Change-Id: Ia3d52cdf699f5381f03a0b4899561ec475d84b03

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

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

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

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

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

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

8 months ago[dali_1.4.43] Merge branch 'devel/master' 81/216481/1
Agnelo Vaz [Fri, 25 Oct 2019 09:30:49 +0000 (10:30 +0100)]
[dali_1.4.43] Merge branch 'devel/master'

Change-Id: I2829cfe1ec68923f0cf5e41668a0268312c66ffe

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

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

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

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

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

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

8 months 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>
8 months ago[dali_1.4.42] Merge branch 'devel/master' 28/216028/1
Cheng-Shiun Tsai [Fri, 18 Oct 2019 10:14:10 +0000 (11:14 +0100)]
[dali_1.4.42] Merge branch 'devel/master'

Change-Id: I2e1b1cc62a36db679b648f59e619bc26ad703202

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

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

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

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

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

8 months ago[dali_1.4.41] Merge branch 'devel/master' 59/215559/1
Anton Obzhirov [Thu, 10 Oct 2019 14:58:29 +0000 (15:58 +0100)]
[dali_1.4.41] Merge branch 'devel/master'

Change-Id: I486cc2a507d2fb0c1eafdec6f82d3a414a328544

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

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

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

8 months ago[dali_1.4.40] Merge branch 'devel/master' 85/215285/1
Adeel Kazmi [Fri, 4 Oct 2019 12:41:21 +0000 (13:41 +0100)]
[dali_1.4.40] Merge branch 'devel/master'

Change-Id: I9026d9b8670c6fac28a51e42fec94cb8acf1fae7

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

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

9 months agoFix TextEditor setting color issues by clearing color runs 93/215193/1
Jiyun Yang [Wed, 2 Oct 2019 09:41:44 +0000 (18:41 +0900)]
Fix TextEditor setting color issues by clearing color runs

Change-Id: If7f04cc080a319745603eef87f72423006f45ec9
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>