platform/core/uifw/dali-toolkit.git
5 years agoFix typo in visual-properties 18/197018/2
Sunghyun kim [Wed, 9 Jan 2019 02:12:02 +0000 (11:12 +0900)]
Fix typo in visual-properties

Change-Id: Iae6f24b1ef05d4764ccabe09965422992352ef85

5 years agoMerge "DALi Version 1.4.1" into devel/master
Adeel Kazmi [Fri, 4 Jan 2019 17:52:16 +0000 (17:52 +0000)]
Merge "DALi Version 1.4.1" into devel/master

5 years agoDALi Version 1.4.1 31/196831/1 dali_1.4.1
David Steele [Fri, 4 Jan 2019 17:39:56 +0000 (17:39 +0000)]
DALi Version 1.4.1

Change-Id: I11a95a2f6eee8ce59a8aabf3a0bd8badfcae6e36

5 years agoMerge "change to highp from mediump for uMvpMatrix" into devel/master
joogab yun [Fri, 4 Jan 2019 04:10:40 +0000 (04:10 +0000)]
Merge "change to highp from mediump for uMvpMatrix" into devel/master

5 years ago(Automated Tests) Ensure we pick up the correct font in the tests 79/196679/1
Adeel Kazmi [Thu, 3 Jan 2019 11:07:24 +0000 (11:07 +0000)]
(Automated Tests) Ensure we pick up the correct font in the tests

Change-Id: Iab173d2d1aac82decba53ebc61a7bed33ced85bd

5 years agochange to highp from mediump for uMvpMatrix 01/196501/2
Joogab Yun [Wed, 2 Jan 2019 01:19:13 +0000 (10:19 +0900)]
change to highp from mediump for uMvpMatrix

When we enter text, the text coordinates look shaky.

Change-Id: Ib1dccf73c629d6efdde89becc62eae5493416ee1

5 years ago(Text Label) Ensure we recalculate natural size when multi-line is 96/196596/1
Adeel Kazmi [Wed, 2 Jan 2019 18:20:55 +0000 (18:20 +0000)]
(Text Label) Ensure we recalculate natural size when multi-line is

Also, make the test cases more generic. They currently rely on the platform
providing a particular value, these test cases are just checking for certain
differences when values are set.

Change-Id: I941f91712542e7c5ae53cfadbd90c3b1b3d0f7c0

5 years agoMerge "Remove deprecated APIs in Tizen 3.0" into devel/master
Adeel Kazmi [Mon, 31 Dec 2018 09:40:02 +0000 (09:40 +0000)]
Merge "Remove deprecated APIs in Tizen 3.0" into devel/master

5 years agoRemove deprecated APIs in Tizen 3.0 99/195799/5
Seoyeon Kim [Tue, 18 Dec 2018 07:17:36 +0000 (16:17 +0900)]
Remove deprecated APIs in Tizen 3.0

- Removed deprecated API of dali-core
- Removed deprecated APIs of TextLabel and TextField in Tizen 3.0
  (~ DALi Version 1.1.45)

Change-Id: I15147d671a2c3a2825faed296c4f96d620ed52c5
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
5 years ago(Third Party Tests) Ensure it builds & runs on Ubuntu 18.04 57/196457/2
Adeel Kazmi [Fri, 28 Dec 2018 13:08:44 +0000 (13:08 +0000)]
(Third Party Tests) Ensure it builds & runs on Ubuntu 18.04

Had to use std::abort instead of return in the assert as some functions
using this assert have void returns, others do not and it produces an
error otherwise.

argc and argv cannot be 0 and nullptr as it seems it's now used within
gtest.

Change-Id: I305b16ba402b7f7066584959fc7a8252e099abcd

5 years agoMerge "Revert "Fixed an incorrect ellipsis"" into devel/master
joogab yun [Fri, 28 Dec 2018 01:06:11 +0000 (01:06 +0000)]
Merge "Revert "Fixed an incorrect ellipsis"" into devel/master

5 years ago(ToggleButton) Fix weird artefacts when toggling the button 60/196360/3
Adeel Kazmi [Thu, 27 Dec 2018 15:03:44 +0000 (15:03 +0000)]
(ToggleButton) Fix weird artefacts when toggling the button

We were not respecting whether the visual was enabled/disabled.

Change-Id: I3619c1d10a9b4e281588b86d4b7556940bbdf739

5 years agoMerge "Enable Property::LABEL visual of a button when CreateVisuals" into devel/master
Adeel Kazmi [Thu, 27 Dec 2018 14:02:25 +0000 (14:02 +0000)]
Merge "Enable Property::LABEL visual of a button when CreateVisuals" into devel/master

5 years agoMerge "Fix resource leaks in layouting." into devel/master
Adeel Kazmi [Thu, 27 Dec 2018 13:27:00 +0000 (13:27 +0000)]
Merge "Fix resource leaks in layouting." into devel/master

5 years agoRevert "Fixed an incorrect ellipsis" 45/196345/1
joogab yun [Thu, 27 Dec 2018 10:00:51 +0000 (10:00 +0000)]
Revert "Fixed an incorrect ellipsis"

This reverts commit 30758c617dee3352070497133b24818674d5d646.

Change-Id: I8ddde73a3c13d15af24525ba70714a17df8d244d

5 years agoMerge "Fixed an incorrect ellipsis" into devel/master
joogab yun [Thu, 27 Dec 2018 00:12:42 +0000 (00:12 +0000)]
Merge "Fixed an incorrect ellipsis" into devel/master

5 years agoMerge "fix SvgVisual transform setting fail" into devel/master
Adeel Kazmi [Mon, 24 Dec 2018 12:43:27 +0000 (12:43 +0000)]
Merge "fix SvgVisual transform setting fail" into devel/master

5 years agoFix resource leaks in layouting. 09/196109/3
Anton Obzhirov [Fri, 21 Dec 2018 15:00:14 +0000 (15:00 +0000)]
Fix resource leaks in layouting.

Change-Id: Ic8f126a9e5de6e9cf20120590843f901878c0889

5 years agoEnable Property::LABEL visual of a button when CreateVisuals 62/196062/2
Jiyun Yang [Fri, 21 Dec 2018 05:19:02 +0000 (14:19 +0900)]
Enable Property::LABEL visual of a button when CreateVisuals

Property::LABEL visual should be selected manually.

Change-Id: I2baac521b22ebc0ef6979d2578e53bdb53a3d843
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
5 years agoDALi Version 1.4.0 92/196092/1 dali_1.4.0
György Straub [Fri, 21 Dec 2018 10:22:19 +0000 (10:22 +0000)]
DALi Version 1.4.0

Change-Id: I5c723074bf46839c5125fc1d8c9aea3db56698c9

5 years agoAdd doxygen tagging support for DALi Version 1.4 96/195996/1
Adeel Kazmi [Thu, 20 Dec 2018 11:23:48 +0000 (11:23 +0000)]
Add doxygen tagging support for DALi Version 1.4

Change-Id: I4b13d1bb6cb7bd52437e66f73e5d47e476e41982

5 years agoFixed an incorrect ellipsis 44/195944/4
Joogab Yun [Thu, 20 Dec 2018 02:00:59 +0000 (11:00 +0900)]
Fixed an incorrect ellipsis

ex) An ellipsis may be displayed incorrectly when there are two or more
new-line characters.
    check text in below samle "here to stay\n\n oh"

    TextLabee labe33 = TextLabel::New(  "yesterday all my troubles seemed so far away\nnow it looks\n as though they`re here to stay\n\n ohi believe in yesterday" );
    labe33.SetSize( 450, 145 );
    labe33.SetParentOrigin(ParentOrigin::TOP_LEFT);
    labe33.SetAnchorPoint(AnchorPoint::TOP_LEFT);
    labe33.SetPosition( 100.f, 200.f);
    labe33.SetProperty(TextLabel::Property::POINT_SIZE, 17.6f);
    labe33.SetProperty( TextLabel::Property::MULTI_LINE, true );
    labe33.SetProperty(TextLabel::Property::ELLIPSIS, true);
    stage.Add( labe33 );

When the index is decremented, it may be reduced to the index of the
previous line. In this case, the value of firstPenX must be
recalculated.

Change-Id: I5cb73dac352d862894d78b86164b3a2c3b7a7c8c

5 years agofix SvgVisual transform setting fail 08/195808/1
junqing.ma [Tue, 18 Dec 2018 08:25:43 +0000 (16:25 +0800)]
fix SvgVisual transform setting fail

Change-Id: Iec6b931f800f92e32ecdcd03c34df7a0843c98bd

5 years agoAdd RemoveAll to LayoutGroup destructor 21/195421/2
huiyu.eun [Thu, 13 Dec 2018 09:24:54 +0000 (18:24 +0900)]
Add RemoveAll to LayoutGroup destructor

Change-Id: Ic8d0aa8a6fe3681ed50bf77d97824aa8c1e6887a
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
5 years agoMerge "DALi Version 1.3.54" into devel/master
Adeel Kazmi [Fri, 14 Dec 2018 15:42:48 +0000 (15:42 +0000)]
Merge "DALi Version 1.3.54" into devel/master

5 years agoDALi Version 1.3.54 00/195600/1 dali_1.3.54
greynaga [Fri, 14 Dec 2018 15:37:39 +0000 (15:37 +0000)]
DALi Version 1.3.54

Change-Id: I2de8f36ff6c6b70f25f9118a9ad45603e30fcdc5

5 years agoMerge "bug fixed about the rtl markup behavior." into devel/master
joogab yun [Fri, 14 Dec 2018 06:09:56 +0000 (06:09 +0000)]
Merge "bug fixed about the rtl markup behavior." into devel/master

5 years agobug fixed about the rtl markup behavior. 33/194833/12
Joogab Yun [Fri, 7 Dec 2018 09:03:59 +0000 (18:03 +0900)]
bug fixed about the rtl markup behavior.

ex)
TextLabel label = TextLabel::New("&rlm;20&rlm;/&rlm;11&rlm;/&rlm;2018&rlm;" );
or
TextLabel label = TextLabel::New("&#x200F;20&&#x200F;/&#x200F;11&#x200F;/&#x200F;2018&#x200F;");

should be displayed not "20/11/2018" but "2018/11/20"

refer)
https://www.w3schools.com/cssref/tryit.asp?filename=trycss_text_direction

Change-Id: Iab595aedc691afbfd53f4b75c5eab4d58b26b59f

5 years agoMerge "Removed unnecessary try-catch from Control base class" into devel/master
Adeel Kazmi [Mon, 10 Dec 2018 10:26:46 +0000 (10:26 +0000)]
Merge "Removed unnecessary try-catch from Control base class" into devel/master

5 years agoMerge "Remove invalid calls to EnableVisual from Button" into devel/master
Adeel Kazmi [Mon, 10 Dec 2018 10:26:43 +0000 (10:26 +0000)]
Merge "Remove invalid calls to EnableVisual from Button" into devel/master

5 years ago(AnimatedVectorImageVisual) Add some functions 57/193757/4
Heeyong Song [Mon, 26 Nov 2018 06:11:17 +0000 (15:11 +0900)]
(AnimatedVectorImageVisual) Add some functions

- Support size change
- Add loop count
- Add play range

Change-Id: Ic3e02708081d3314f664fa25a73db46b8cfaa901

5 years agoMerge "change drag&drop StartedSignal emit" into devel/master
Adeel Kazmi [Thu, 6 Dec 2018 15:27:32 +0000 (15:27 +0000)]
Merge "change drag&drop StartedSignal emit" into devel/master

5 years agochange drag&drop StartedSignal emit 23/194623/4
junqing.ma [Thu, 6 Dec 2018 10:22:03 +0000 (18:22 +0800)]
change drag&drop StartedSignal emit

Change-Id: I104449ac80fe7b1b5d4a2d51087ea7d9024f80c3

5 years agoDALi Version 1.3.53 34/194634/1 dali_1.3.53
Anton Obzhirov [Thu, 6 Dec 2018 11:29:18 +0000 (11:29 +0000)]
DALi Version 1.3.53

Change-Id: I016182c79600b3a10ffd0d9013c57b9539071b86

5 years agoRemoved unnecessary try-catch from Control base class 59/194459/2
Kimmo Hoikka [Tue, 4 Dec 2018 17:41:39 +0000 (17:41 +0000)]
Removed unnecessary try-catch from Control base class

- GetPropertyName used to ASSERT_ALWAYS but now just does a LOG_ERROR

Change-Id: I72a216000e233ec4d83b90019d3bc2ac777d7497

5 years agoRemove invalid calls to EnableVisual from Button 58/194458/3
Kimmo Hoikka [Tue, 4 Dec 2018 17:36:37 +0000 (17:36 +0000)]
Remove invalid calls to EnableVisual from Button

button was causing lots of LOG_WARNING due to enabling visuals unnecessarily
- reduced complexity by removing function pointer usage
- fix the value passed into register visual so that they are correctly enabled
- added a check to test that a visual exists before enabling it (not ideal but nicer than warnings)
- remove redundant RelayoutRequest calls from SetProperty

Change-Id: I45e1deda22e13446d488d74d990ccf96f77e9eb0

5 years agoMerge "add drag&drop support in actor level" into devel/master
Adeel Kazmi [Mon, 3 Dec 2018 14:56:09 +0000 (14:56 +0000)]
Merge "add drag&drop support in actor level" into devel/master

5 years agoDALi Version 1.3.52 69/194269/1 dali_1.3.52
Agnelo Vaz [Fri, 30 Nov 2018 11:14:04 +0000 (11:14 +0000)]
DALi Version 1.3.52

Change-Id: I189436205f60ca73954262bd1611ef27a498b7d0

5 years agoFix Builder to not use deprecated Property::Map API to prevent warnings in most demos 59/194059/3
Kimmo Hoikka [Wed, 28 Nov 2018 14:42:40 +0000 (14:42 +0000)]
Fix Builder to not use deprecated Property::Map API to prevent warnings in most demos

GetKey() is deprecated so using GetKeyAt() instead

Change-Id: I5297168ddc2baa8b3d2e6a9fb205573768bb6ce9

5 years agoAdd size animation in layout measure phase. 12/192212/9
Anton Obzhirov [Wed, 31 Oct 2018 14:26:59 +0000 (14:26 +0000)]
Add size animation in layout measure phase.

Change-Id: If7b9c8478d0c6d84a12b4e4e15f146ec2bec93e5

5 years agoMerge "Remove connecting Layout Child order with Actor child order" into devel/master
Seoyeon Kim [Mon, 26 Nov 2018 06:27:03 +0000 (06:27 +0000)]
Merge "Remove connecting Layout Child order with Actor child order" into devel/master

5 years agoRemove connecting Layout Child order with Actor child order 17/193617/3
Seoyeon Kim [Thu, 22 Nov 2018 08:33:56 +0000 (17:33 +0900)]
Remove connecting Layout Child order with Actor child order

- Layout Child Ordering should be individual as Actor Child ordering.

Change-Id: Id9eff89fb13b5d37e601f07bfc4d079b069b1c0b
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
5 years agoMerge "Relayout again for LTR / RTL order when layout direction is changed." into...
joogab yun [Mon, 26 Nov 2018 05:15:22 +0000 (05:15 +0000)]
Merge "Relayout again for LTR / RTL order when layout direction is changed." into devel/master

5 years agoDALi Version 1.3.51 08/193708/1 dali_1.3.51
Adeel Kazmi [Fri, 23 Nov 2018 11:36:41 +0000 (11:36 +0000)]
DALi Version 1.3.51

Change-Id: If800cd7c0c19324d8c1331f7b7f5055a764e4c61

5 years agoRelayout again for LTR / RTL order when layout direction is changed. 70/193270/6
Joogab Yun [Fri, 16 Nov 2018 23:39:06 +0000 (08:39 +0900)]
Relayout again for LTR / RTL order when layout direction is changed.

Change-Id: Idf8e74af65e29bbc6d5ade7860ac7795ce31c446

5 years agoAdd animated vector image visual 52/191452/10
Heeyong Song [Wed, 17 Oct 2018 08:01:17 +0000 (17:01 +0900)]
Add animated vector image visual

Change-Id: Iefe7615251ce5185f782151ff2bd4510fd829b4c

5 years agoFix SVACE errors 20/193520/1
Adeel Kazmi [Wed, 21 Nov 2018 11:25:31 +0000 (11:25 +0000)]
Fix SVACE errors

Change-Id: Ic78fba8fbfc4deb0ca4609bfd59912caad32b726

5 years agoMerge "If the height is small even if scrolling is enabled, it should be elide."...
Adeel Kazmi [Mon, 19 Nov 2018 08:15:07 +0000 (08:15 +0000)]
Merge "If the height is small even if scrolling is enabled, it should be elide." into devel/master

5 years agoIf the height is small even if scrolling is enabled, it should be elide. 15/192915/5
Joogab Yun [Mon, 12 Nov 2018 07:42:09 +0000 (16:42 +0900)]
If the height is small even if scrolling is enabled, it should be elide.

If you do not want to elide, you can use the TextLabel :: Property ::
ELLIPSIS property.
ex) textLabel.SetProperty(TextLabel::Property::ELLIPSIS, false);

sample)
    TextLabel textLabel;
    textLabel = TextLabel::New( "The certificates can be created,
edited, removed, and set as active. The active certificates are used
when packaging your application.");

    textLabel.SetSize( 400, 31 );
    textLabel.SetPosition(10, 390);
    textLabel.SetParentOrigin(ParentOrigin::TOP_LEFT);
    textLabel.SetAnchorPoint(AnchorPoint::TOP_LEFT);
    textLabel.SetProperty(TextLabel::Property::ENABLE_AUTO_SCROLL,
true);
    textLabel.SetProperty(TextLabel::Property::AUTO_SCROLL_LOOP_COUNT,
0);
    textLabel.SetProperty(TextLabel::Property::AUTO_SCROLL_GAP, 50);
    textLabel.SetProperty(TextLabel::Property::AUTO_SCROLL_SPEED, 50);
    textLabel.SetProperty(TextLabel::Property::AUTO_SCROLL_LOOP_DELAY,
1);
    textLabel.SetProperty(TextLabel::Property::POINT_SIZE, 30);
    textLabel.SetProperty( TextLabel::Property::TEXT_COLOR, Color::RED
);

Change-Id: I1b685226cb24aa1d1f1d0ee490db52439f49ccb3

5 years agoMerge "Remove StereoMode" into devel/master
Adeel Kazmi [Fri, 16 Nov 2018 17:17:44 +0000 (17:17 +0000)]
Merge "Remove StereoMode" into devel/master

5 years agoDALi Version 1.3.50 53/193253/1 dali_1.3.50
adam.b [Fri, 16 Nov 2018 12:21:20 +0000 (12:21 +0000)]
DALi Version 1.3.50

Change-Id: If331ab0b2ed007293c30e5c3617d6539a361d5e2

5 years agoAdvice about compiler versions in README requirements section 74/193174/1
Paul Wisbey [Thu, 15 Nov 2018 14:04:59 +0000 (14:04 +0000)]
Advice about compiler versions in README requirements section

Change-Id: I21d7f8c4fd562e74d3ab649780456a59716d18d4

5 years agoRemove StereoMode 08/192908/1
Kimmo Hoikka [Mon, 12 Nov 2018 18:42:00 +0000 (18:42 +0000)]
Remove StereoMode

Change-Id: Ia391c66de3ea76c590d5f1fb5caa0d0aba3d05e1

5 years agoMerge "Parent of TextLabel does not resize when text changes" into devel/master
Adeel Kazmi [Fri, 9 Nov 2018 10:29:40 +0000 (10:29 +0000)]
Merge "Parent of TextLabel does not resize when text changes" into devel/master

5 years agoDALi Version 1.3.49 81/192781/1 dali_1.3.49
Victor Cebollada [Fri, 9 Nov 2018 09:36:26 +0000 (09:36 +0000)]
DALi Version 1.3.49

Change-Id: Iba84a99e6e81f394035791b037068cb4ebc233ae

6 years agoadd drag&drop support in actor level 88/190288/15
junqing.ma [Sun, 30 Sep 2018 02:26:35 +0000 (10:26 +0800)]
add drag&drop support in actor level

Change-Id: I6d97964a68b6c9b3d8f13e6b3515df1e60695d73

6 years agoParent of TextLabel does not resize when text changes 60/192260/2
Agnelo Vaz [Thu, 1 Nov 2018 17:17:13 +0000 (17:17 +0000)]
Parent of TextLabel does not resize when text changes

Change-Id: I1fb688299dde9296eae0a93308d54e783089ccc1

6 years agoAdd focus transition and other fixes. 69/191869/11
Anton Obzhirov [Wed, 24 Oct 2018 15:48:28 +0000 (16:48 +0100)]
Add focus transition and other fixes.

Change-Id: I8b45e7f16ed2212aa7b3f6a1eba2bf678ee4fa40

6 years agoSet mScrollAfterUpdatePosition to true when you get the keyboard forcus. 15/192615/1
Joogab Yun [Wed, 7 Nov 2018 04:18:30 +0000 (13:18 +0900)]
Set mScrollAfterUpdatePosition to true when you get the keyboard forcus.

- The cursor position is not correctly displayed when The text field is
focus out and then focus in.

[sample]
     Stage stage = Dali::Stage::GetCurrent();
     stage.SetBackgroundColor(Color::WHITE);
     stage.KeyEventSignal().Connect(this, &HelloWorldController::OnKeyEvent);

      test1 = TextField::New( );
      test1.SetProperty( TextField::Property::TEXT,"Abcdefghijklmnopqrstuvw Abcdefghijklmnopqrstuvw Abcdefghijklmnopqrstuvw" );
      test1.SetSize( 400, 50 );
      test1.SetPosition(50, 80);
      test1.SetParentOrigin(ParentOrigin::TOP_LEFT);
      test1.SetAnchorPoint(AnchorPoint::TOP_LEFT);
      test1.SetProperty(TextField::Property::ELLIPSIS, true);
      test1.SetProperty( TextField::Property::TEXT_COLOR, Color::RED );
      stage.Add( test1 );

      test1.SetKeyboardFocusable(true);

void OnKeyEvent(const KeyEvent& event)
{
  if(event.state == KeyEvent::Down)
  {
    if(event.keyPressedName == "1") {
      KeyboardFocusManager::Get().SetCurrentFocusActor( test1 );
    }
  }
}

Change-Id: I3e83998523107f8b64cdce891fbcd17850724df8

6 years agoMerge "bug fixed : Characters are truncated when HorizontalAlignment.End in Multi...
Joogab Yun [Tue, 6 Nov 2018 22:43:25 +0000 (22:43 +0000)]
Merge "bug fixed : Characters are truncated when HorizontalAlignment.End in Multi line text on RTL environment." into devel/master

6 years agobug fixed : Characters are truncated when HorizontalAlignment.End in 86/192086/9
Joogab Yun [Tue, 30 Oct 2018 05:18:14 +0000 (14:18 +0900)]
bug fixed : Characters are truncated when HorizontalAlignment.End in
Multi line text on RTL environment.

Recalculate the alignmentOffset only if the line is RTL.

We need to distinguish the RTL variable for alignment and the RTL variable for the text line for position offset.
So the RTL check of the text line is called isLineRTL.

ex)
When running the sample app below, the characters are truncated.

 Stage stage = Stage::GetCurrent();
 stage.SetBackgroundColor( Color::WHITE );

 TextLabel label = TextLabel::New( "Music, Film & TV, Funny, News,
Sports... Access millions of user generaed content and professional
videos from DAILYMOTION website on your SAMSUNG TV.Search, browse and
watch, get a direct access to your own or favorite accounts, watch a
selection of best" );
 label.SetSize( 1250, 600 );
 label.SetParentOrigin(ParentOrigin::TOP_LEFT);
 label.SetAnchorPoint(AnchorPoint::TOP_LEFT);
 label.SetPosition( 100.f, 700.f);
 label.SetProperty( TextLabel::Property::MULTI_LINE, true );
 label.SetProperty(TextLabel::Property::POINT_SIZE, 30);
 label.SetProperty(TextLabel::Property::HORIZONTAL_ALIGNMENT,
"END");
 label.SetProperty(Toolkit::DevelTextLabel::Property::MATCH_SYSTEM_LANGUAGE_DIRECTION,
true );
 label.SetProperty( Actor::Property::LAYOUT_DIRECTION,
LayoutDirection::RIGHT_TO_LEFT );

 stage.Add( label );

Change-Id: I0c1161330de073cef466d8e7119a56a9be606034

6 years agosupport match align for system language direciton on text Field and 09/192109/11
Joogab Yun [Tue, 30 Oct 2018 07:02:04 +0000 (16:02 +0900)]
support match align for system language direciton on text Field and
text Editor also.

refer see) commit id : 35bc4b3cfcdfb094a15cd8089ad1c19830287018

support match align for system language direciton

if matchSystemLanguageDirection property set true,
text align direction follow system language direction.

Change-Id: I2716284e2e5deb565c18d33e6866d77fee87062a

6 years agoMerge "DALi Version 1.3.48" into devel/master
David Steele [Fri, 2 Nov 2018 12:10:07 +0000 (12:10 +0000)]
Merge "DALi Version 1.3.48" into devel/master

6 years agoDALi Version 1.3.48 54/192354/1 dali_1.3.48
Richard Huang [Fri, 2 Nov 2018 11:42:05 +0000 (11:42 +0000)]
DALi Version 1.3.48

Change-Id: I2686c264f7987aaa8322a85e3dddfe5e84a0bc83

6 years agoSorts text sequences in LTR and RTL by system language direction. 71/191971/16
Joogab Yun [Fri, 26 Oct 2018 06:42:14 +0000 (15:42 +0900)]
Sorts text sequences in LTR and RTL by system language direction.

if matchSystemLanguageDirection property set true,
The text order follows the system language direction.

Change-Id: I4164975b98a2068718a4cc7c0b90afe8839b0acf

6 years agoChanges needed for https://review.tizen.org/gerrit/#/c/192211/ 53/192253/1
Kimmo Hoikka [Thu, 1 Nov 2018 12:29:59 +0000 (12:29 +0000)]
Changes needed for https://review.tizen.org/gerrit/#/c/192211/

Change-Id: Ia1a8ac841de66f28ef07768c217f4f37f56f621f

6 years agoSetting layout already in use 12/192012/4
Agnelo Vaz [Fri, 26 Oct 2018 16:30:14 +0000 (17:30 +0100)]
Setting layout already in use

If a control is using a layout and that layout is then
set to another control the original control gets a BinLayout.

Change-Id: I482d00239eaec765126b3554b982c8e86ab135f6

6 years agoDALi Version 1.3.47 88/191988/1 dali_1.3.47
greynaga [Fri, 26 Oct 2018 11:24:00 +0000 (12:24 +0100)]
DALi Version 1.3.47

Change-Id: Ib9fb158be2404863e0e03fed2daa5cff9957f0c9

6 years agoLayout removal support 07/191507/3
agnelo vaz [Wed, 17 Oct 2018 14:58:10 +0000 (15:58 +0100)]
Layout removal support

Change-Id: I1d840c366696d003b6aa32550d55e1a18a4daf00

6 years agofixed crash issue 61/191761/2
Joogab Yun [Tue, 23 Oct 2018 08:09:09 +0000 (17:09 +0900)]
fixed crash issue
If colorsBuffer and colorIndexBuffer are null, then crash occurs.
so if useDefaultColor is true, colorIndex must be 0u.

(gdb)bt full
 #5  Dali::Toolkit::Text::Typesetter::CreateImageBuffer
(this=this@entry=0x9b9f78, bufferWidth=bufferWidth@entry=166,
bufferHeight=bufferHeight@entry=38,
style=style@entry=Dali::Toolkit::Text::Typesetter::STYLE_NONE,
ignoreHorizontalAlignment=ignoreHorizontalAlignment@entry=true,
pixelFormat=pixelFormat@entry=Dali::Pixel::RGBA8888,
horizontalOffset=<optimized out>, horizontalOffset@entry=0,
verticalOffset=<optimized out>, verticalOffset@entry=0,
fromGlyphIndex=<optimized out>, fromGlyphIndex@entry=0,
toGlyphIndex=<optimized out>, toGlyphIndex@entry=5) at
/usr/src/debug/dali-toolkit-1.3.41/build/tizen/dali-toolkit/../../../dali-toolkit/internal/text/rendering/text-typesetter.cpp:640
         color = <optimized out>
         glyphInfo = 0x90ab28
         position = 0x964330
         glyphIndex = 0
         line = @0x83d4f0: {glyphRun = {glyphIndex = 0, numberOfGlyphs =
6}, characterRun = {characterIndex = 0, numberOfCharacters = 6}, width =
115, ascender = 28, descender = -9, extraLength = 0, alignmentOffset =
0, lineSpacing = 0, direction = false, ellipsis = false}
         outlineWidth = 0
         currentUnderlinePosition = <optimized out>
         currentUnderlineThickness = 0
         lastUnderlinedFontId = 0
         underlineEnabled = false
         lineExtentLeft = 2
         lineExtentRight = 21
         baseline = 0
         underlineHeight = 0
         underlineColor = @0x8e0358: {static ONE = {static ONE = <same
as static member of an already seen type>, static XAXIS = {static ONE =
<same as static member of an already seen type>, static XAXIS = <same as
static member of an already seen type>, static YAXIS = {static ONE =
<same as static member of an already seen type>, static XAXIS = <same as
static member of an already seen type>, static YAXIS = <same as static
member of an already seen type>, static ZAXIS = {static ONE = <same as
static member of an already seen type>, static XAXIS = <same as static
member of an already seen type>, static YAXIS = <same as static member
of an already seen type>, static ZAXIS = <same as static member of an
already seen type>, static ZERO = {static ONE = <same as static member
of an already seen type>, static XAXIS = <same as static member of an
already seen type>, static YAXIS = <same as static member of an already
seen type>, static ZAXIS = <same as static member of an already seen
type>, static ZERO = <same as static member of an already seen type>, {x
= 0, r = 0, s = 0}, {y = 0, g = 0, t = 0}, {z = 0, b = 0, p = 0}, {w =
0, a = 0, q = 0}}, {x = 0, r = 0, s = 0}, {y = 0, g = 0, t = 0}, {z = 1,
b = 1, p = 1}, {w = 0, a = 0, q = 0}}, static ZERO = <same as static
member of an already seen type>, {x = 0, r = 0, s = 0}, {y = 1, g = 1, t
= 1}, {z = 0, b = 0, p = 0}, {w = 0, a = 0, q = 0}}, static ZAXIS =
<same as static member of an already seen type>, static ZERO = <same as
static member of an already seen type>, {x = 1, r = 1, s = 1}, {y = 0, g
= 0, t = 0}, {z = 0, b = 0, p = 0}, {w = 0, a = 0, q = 0}}, static YAXIS
= <same as static member of an already seen type>, static ZAXIS = <same
as static member of an already seen type>, static ZERO = <same as static
member of an already seen type>, {x = 1, r = 1, s = 1}, {y = 1, g = 1, t
= 1}, {z = 1, b = 1, p = 1}, {w = 1, a = 1, q = 1}}, static XAXIS =
<same as static member of an already seen type>, static YAXIS = <same as
static member of an already seen type>, static ZAXIS = <same as static
member of an already seen type>, static ZERO = <same as static member of
an already seen type>, {x = 1, r = 1, s = 1}, {y = 1, g = 1, t = 1}, {z
= 1, b = 1, p = 1}, {w = 1, a = 1, q = 1}}
         numberOfUnderlineRuns = <optimized out>
         underlineRuns = {<Dali::VectorAlgorithms<true>> =
{<Dali::VectorBase> = {mData = 0x0}, <No data fields>}, <No data
fields>}
         thereAreUnderlinedGlyphs = <optimized out>
         maxUnderlineThickness = 0
         lineIndex = 0
         modelNumberOfLines = 1
         modelLinesBuffer = <optimized out>
         numberOfGlyphs = 6
         glyphsBuffer = 0x90ab28
         positionBuffer = 0x964330
         colorsBuffer = 0x0
         colorIndexBuffer = 0x0
         useDefaultColor = true
         defaultColor = @0x8e0338: {static ONE = {static ONE = <same as
static member of an already seen type>, static XAXIS = {static ONE =
<same as static member of an already seen type>, static XAXIS = <same as
static member of an already seen type>, static YAXIS = {static ONE =
<same as static member of an already seen type>, static XAXIS = <same as
static member of an already seen type>, static YAXIS = <same as static
member of an already seen type>, static ZAXIS = {static ONE = <same as
static member of an already seen type>, static XAXIS = <same as static
member of an already seen type>, static YAXIS = <same as static member
of an already seen type>, static ZAXIS = <same as static member of an
already seen type>, static ZERO = {static ONE = <same as static member
of an already seen type>, static XAXIS = <same as static member of an
already seen type>, static YAXIS = <same as static member of an already
seen type>, static ZAXIS = <same as static member of an already seen
type>, static ZERO = <same as static member of an already seen type>, {x
= 0, r = 0, s = 0}, {y = 0, g = 0, t = 0}, {z = 0, b = 0, p = 0}, {w =
0, a = 0, q = 0}}, {x = 0, r = 0, s = 0}, {y = 0, g = 0, t = 0}, {z = 1,
b = 1, p = 1}, {w = 0, a = 0, q = 0}}, static ZERO = <same as static
member of an already seen type>, {x = 0, r = 0, s = 0}, {y = 1, g = 1, t
= 1}, {z = 0, b = 0, p = 0}, {w = 0, a = 0, q = 0}}, static ZAXIS =
<same as static member of an already seen type>, static ZERO = <same as
static member of an already seen type>, {x = 1, r = 1, s = 1}, {y = 0, g
= 0, t = 0}, {z = 0, b = 0, p = 0}, {w = 0, a = 0, q = 0}}, static YAXIS
= <same as static member of an already seen type>, static ZAXIS = <same
as static member of an already seen type>, static ZERO = <same as static
member of an already seen type>, {x = 1, r = 1, s = 1}, {y = 1, g = 1, t
= 1}, {z = 1, b = 1, p = 1}, {w = 1, a = 1, q = 1}}, static XAXIS =
<same as static member of an already seen type>, static YAXIS = <same as
static member of an already seen type>, static ZAXIS = <same as static
member of an already seen type>, static ZERO = <same as static member of
an already seen type>, {x = 1, r = 1, s = 1}, {y = 1, g = 1, t = 1}, {z
= 1, b = 1, p = 1}, {w = 1, a = 1, q = 1}}
         glyphData = {bitmapBuffer = {<Dali::BaseHandle> =
{mObjectHandle = {mPtr = 0x9b9f48}}, <No data fields>}, position = 0x6,
glyphBitmap = {buffer = 0x0, width = 0, height = 0, format =
Dali::Pixel::A8}, width = 166, height = 38, horizontalOffset = 0,
verticalOffset = 28}
         fontClient = {<Dali::BaseHandle> = {mObjectHandle = {mPtr =
0x72bfd0}}, static DEFAULT_POINT_SIZE = 1767076981}

Change-Id: Ia68a0409afecb8c008ccade6e1ce75334bb92ab2

6 years agoMerge "Check supported by font and find fallback font for common script." into devel...
Heeyong Song [Wed, 24 Oct 2018 00:54:23 +0000 (00:54 +0000)]
Merge "Check supported by font and find fallback font for common script." into devel/master

6 years agoMerge "Update to doxygen for SetLayoutParametersUsingResizePolicy API" into devel...
Adeel Kazmi [Tue, 23 Oct 2018 11:18:28 +0000 (11:18 +0000)]
Merge "Update to doxygen for SetLayoutParametersUsingResizePolicy API" into devel/master

6 years agoCheck supported by font and find fallback font for common script. 76/191176/15
Joogab Yun [Fri, 12 Oct 2018 05:32:30 +0000 (14:32 +0900)]
Check supported by font and find fallback font for common script.

There is an issue where '□' is displayed when you input Hangul after
inputting Tab Key.
so we need to check if it supports fonts and find fallback font.

Change-Id: Icf01d5055da7b85cc464905dde04e971f0c1f7dc

6 years agoUpdate to doxygen for SetLayoutParametersUsingResizePolicy API 12/191712/2
Agnelo Vaz [Mon, 22 Oct 2018 14:38:12 +0000 (15:38 +0100)]
Update to doxygen for SetLayoutParametersUsingResizePolicy API

Change-Id: I98cfa2c37417bc33a8b10bc7fb895b77e12510f1

6 years agoAdd Layout complex animation. 74/190274/15
Anton Obzhirov [Mon, 17 Sep 2018 12:21:39 +0000 (13:21 +0100)]
Add Layout complex animation.

Change-Id: I34a0fa03030b3e897f418982ea7b54eb8ea0e418

6 years agoBinLayout added 06/191506/4
agnelo vaz [Wed, 17 Oct 2018 15:50:26 +0000 (16:50 +0100)]
BinLayout added

This layout has children but does not explictly position them itself.
If given a (legacy) container as a child it will check it for ResizePolicies
 and map them to a MeasureSpec so can be used by the Layout system.

The BinLayout by default will take the size of the greatest child dimensions.
(WRAP_CONTENT).
Although can be set to MATCH_PARENT.

PARENT_ORIGIN as always TOP_LEFT, may account for this in future if required.

Change-Id: I2335ee465578d796e1025192ae0f8cdb95ecc60f

6 years agoSVACE error in size negotiation mapper 82/191582/4
Agnelo Vaz [Thu, 18 Oct 2018 13:42:04 +0000 (14:42 +0100)]
SVACE error in size negotiation mapper

Change-Id: Iae3a219ccff0941bc2f4890f72b5f314c5b46e52

6 years agoMerge "Changes needed for https://review.tizen.org/gerrit/#/c/191202/" into devel...
Adeel Kazmi [Thu, 18 Oct 2018 16:40:13 +0000 (16:40 +0000)]
Merge "Changes needed for https://review.tizen.org/gerrit/#/c/191202/" into devel/master

6 years agoMerge "DALi Version 1.3.46" into devel/master
Adeel Kazmi [Thu, 18 Oct 2018 13:28:32 +0000 (13:28 +0000)]
Merge "DALi Version 1.3.46" into devel/master

6 years agoDALi Version 1.3.46 74/191574/1 dali_1.3.46
Anton Obzhirov [Thu, 18 Oct 2018 13:26:39 +0000 (14:26 +0100)]
DALi Version 1.3.46

Change-Id: I9718a49b2d4e09a77ed221601ec8380b73136c03

6 years agoMerge "Add to request Relayout when connected to Stage" into devel/master
Adeel Kazmi [Thu, 18 Oct 2018 13:14:57 +0000 (13:14 +0000)]
Merge "Add to request Relayout when connected to Stage" into devel/master

6 years agoRenderSurface interface change in automated test utils 08/190908/4
Richard Huang [Mon, 8 Oct 2018 12:58:02 +0000 (13:58 +0100)]
RenderSurface interface change in automated test utils

Change-Id: Ia0b42a519d0e9df399cf3b274d410c083e6662e3

6 years agoAdd to request Relayout when connected to Stage 47/191347/2
Seoyeon Kim [Tue, 16 Oct 2018 07:03:43 +0000 (16:03 +0900)]
Add to request Relayout when connected to Stage

Change-Id: I82fd90a662ea52a8b1bf4025fa2c08a30f65de9a
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years agosecurity check : null termination check 14/191414/2
Joogab Yun [Wed, 17 Oct 2018 01:39:24 +0000 (10:39 +0900)]
security check : null termination check

Change-Id: I047b7b4767b9d0c34919c870413a2634c0b4a8de

6 years agoLayouting nesting tests 74/191374/4
Agnelo Vaz [Wed, 10 Oct 2018 10:02:46 +0000 (11:02 +0100)]
Layouting nesting tests

Change-Id: I4596fd700f38d64bdcc3b3c02d74a2b7c5d631fd

6 years agoMerge "Legacy Size negotiation mapper" into devel/master
Adeel Kazmi [Tue, 16 Oct 2018 13:32:06 +0000 (13:32 +0000)]
Merge "Legacy Size negotiation mapper" into devel/master

6 years agoLegacy Size negotiation mapper 84/189684/24
Agnelo Vaz [Tue, 18 Sep 2018 18:31:37 +0000 (19:31 +0100)]
Legacy Size negotiation mapper

Sets a MeasureSpecification on a Layout using the controls existing Resize Policy.
Needed when legacy (pre Layouts) containers are added to Layouts and still need
 their existing Resize polcies to be obeyed.

Change-Id: I1a96cd459ab31aa778b18ebe0e417a01b158f8d3

6 years agoUpdated patch-coverage script to generate correct HTML 05/191305/1
David Steele [Mon, 15 Oct 2018 16:58:52 +0000 (17:58 +0100)]
Updated patch-coverage script to generate correct HTML

Change-Id: I93a05078670a479c6b29a18127c6b3343b884b71

6 years agoMerge "DALi Version 1.3.45" into devel/master
Adeel Kazmi [Fri, 12 Oct 2018 12:40:52 +0000 (12:40 +0000)]
Merge "DALi Version 1.3.45" into devel/master

6 years agoDALi Version 1.3.45 09/191209/1 dali_1.3.45
David Steele [Fri, 12 Oct 2018 12:37:57 +0000 (13:37 +0100)]
DALi Version 1.3.45

Change-Id: Ia2b15a575fc3b670bc9adc86484bb6c500325a9f

6 years agoChanges needed for https://review.tizen.org/gerrit/#/c/191202/ 03/191203/1
Kimmo Hoikka [Fri, 12 Oct 2018 11:20:49 +0000 (12:20 +0100)]
Changes needed for https://review.tizen.org/gerrit/#/c/191202/

Change-Id: Id341996aeeb9e15ae45fd1442878dd343d41f8dc

6 years agoUnparented layout should disconnect all signals connected to the owner. 34/191134/1
Anton Obzhirov [Thu, 11 Oct 2018 15:46:35 +0000 (16:46 +0100)]
Unparented layout should disconnect all signals connected to the owner.

Change-Id: Iaecc7fcdbd11e65ae6f560512a84a9e3b2912426

6 years agoScene and glTF Loader 84/188684/37
Seungho, Baek [Fri, 7 Sep 2018 08:43:50 +0000 (17:43 +0900)]
Scene and glTF Loader

 - Scene for the 3D Mesh object(Animated or not).
 - PBR rendering with Image Based Lighting
 - glTF Loader that loads scene from glTF( TODO: sparse accessor, skeletal animation, morphing. )
 - UTC

Change-Id: I4ee6b5db3315b8d165bbf90269ce01c86cc70531
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
6 years agoMerge "Fix SVACE issue" into devel/master
Adeel Kazmi [Mon, 8 Oct 2018 09:52:04 +0000 (09:52 +0000)]
Merge "Fix SVACE issue" into devel/master

6 years agoMerge "Change LayoutItem::SetParent to set LayoutItem::Impl::PRIVATE_FLAG_FORCE_SET_F...
Adeel Kazmi [Mon, 8 Oct 2018 09:38:45 +0000 (09:38 +0000)]
Merge "Change LayoutItem::SetParent to set LayoutItem::Impl::PRIVATE_FLAG_FORCE_SET_FRAME flag." into devel/master

6 years agoMerge "Fixed SVACE error in WebView" into devel/master
Adeel Kazmi [Mon, 8 Oct 2018 09:27:25 +0000 (09:27 +0000)]
Merge "Fixed SVACE error in WebView" into devel/master

6 years agoFix SVACE issue 77/190577/2
Heeyong Song [Thu, 4 Oct 2018 02:56:47 +0000 (11:56 +0900)]
Fix SVACE issue

Change-Id: I1d5394c68604eef38d808f01a7fd1167a1509711

6 years agosupport match align for system language direciton 60/189860/21
Joogab Yun [Thu, 20 Sep 2018 10:22:19 +0000 (19:22 +0900)]
support match align for system language direciton

if matchSystemLanguageDirection property set true,
text align direction follow system language direction.

Change-Id: Idc1a45057cdc69d310e4c2817960e7c13cf4e48f

6 years agoChange LayoutItem::SetParent to set LayoutItem::Impl::PRIVATE_FLAG_FORCE_SET_FRAME... 17/188617/5
Anton Obzhirov [Thu, 6 Sep 2018 15:04:22 +0000 (16:04 +0100)]
Change LayoutItem::SetParent to set LayoutItem::Impl::PRIVATE_FLAG_FORCE_SET_FRAME flag.

Now it is setting in LayoutItem::SetFrame
and clearing in LayoutItem::SetParent, should be swapped.

Change-Id: Ifca2a432d119600fb4ff3a9351469e26d2661a02

6 years agoMerge "Fix KeyboardFocusManager ClearFocus bug" into devel/master
Adeel Kazmi [Fri, 5 Oct 2018 11:49:24 +0000 (11:49 +0000)]
Merge "Fix KeyboardFocusManager ClearFocus bug" into devel/master