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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

4 years agoDALi Version 1.4.55 93/223193/1 dali_1.4.55
Victor Cebollada [Fri, 24 Jan 2020 13:49:37 +0000 (13:49 +0000)]
DALi Version 1.4.55

Change-Id: Iaadea46217c2618b72571cb7840a520fbda8498a

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 agoFix Coverity issue 12/223012/2
Seoyeon Kim [Wed, 22 Jan 2020 06:37:52 +0000 (15:37 +0900)]
Fix Coverity issue

- If the variable 'pixelFormat' is deliberately set to RGB16F or RGB32F,
 then Pixel::GetBytesPerPixel() returns 12u or 24u.
- Then, 'Out-of-bound' error may occur because the return value exceeds
 the scope of 'outputColor' array.

Change-Id: I5674b20d8976b925e12444eb9fc611e0d5633f49
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
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