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

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

6 years agoFixed SVACE error in WebView 18/190818/1
Adeel Kazmi [Fri, 5 Oct 2018 11:29:47 +0000 (12:29 +0100)]
Fixed SVACE error in WebView

Change-Id: If63b7153b8827915b1f836c382ad1978402e4cd4

6 years agoDALi Version 1.3.44 86/190786/1 dali_1.3.44
György Straub [Fri, 5 Oct 2018 08:43:10 +0000 (09:43 +0100)]
DALi Version 1.3.44

Change-Id: I7f6e9d04c7a5283dc5515dfaf9f4c93898c1863f

6 years agoAdd codes for Dali Windows Backend 10/172010/37
adun [Fri, 9 Mar 2018 02:14:59 +0000 (10:14 +0800)]
Add codes for Dali Windows Backend

1. Remove the unneccesary modification.
2. Move the third-part lib to windows-dependencies.

Remove unneccesary committed files.

Change-Id: I793717f10ba0748906e0cbfed5fd2041c851a122

6 years agoModify codes for Dali Windows backend 85/182185/15
adun [Thu, 21 Jun 2018 06:52:36 +0000 (14:52 +0800)]
Modify codes for Dali Windows backend

Change-Id: I048474ba77af14b291c859b2a19451e377d2e05b

6 years agoMerge "Fix a custom shader issue in ImageView" into devel/master
Adeel Kazmi [Fri, 28 Sep 2018 16:33:42 +0000 (16:33 +0000)]
Merge "Fix a custom shader issue in ImageView" into devel/master

6 years agoDALi Version 1.3.43 62/190262/1 dali_1.3.43
Agnelo Vaz [Fri, 28 Sep 2018 13:04:53 +0000 (14:04 +0100)]
DALi Version 1.3.43

Change-Id: I6aaac4c02f83b6235fe6ff340d8996563123500e

6 years agoFix a custom shader issue in ImageView 08/189708/4
Heeyong Song [Thu, 20 Sep 2018 02:21:08 +0000 (11:21 +0900)]
Fix a custom shader issue in ImageView

A custom shader is ignored if a custom shader is set while loading a new image

Change-Id: I2ffd994376d12488b3af9a73c3a8616514e082a0

6 years agoFix KeyboardFocusManager ClearFocus bug 41/186741/4
minho.sun [Tue, 14 Aug 2018 04:41:50 +0000 (13:41 +0900)]
Fix KeyboardFocusManager ClearFocus bug

- Added 'mAlwaysShowIndicator' member variable to keep the initial value.
- 'mIsFocusIndicatorShown' should be the initial value
  even though ClearFocus() is called.

Change-Id: I6f5e05ba3e444d9bdb1a4853d264e4b8f633efaf
Signed-off-by: minho.sun <minho.sun@samsung.com>
6 years agoMerge "Do not substarct outline width in text-controller" into devel/master
Adeel Kazmi [Wed, 26 Sep 2018 09:06:25 +0000 (09:06 +0000)]
Merge "Do not substarct outline width in text-controller" into devel/master

6 years ago(Text Controls) Use scissor clipping instead of stencil 81/189981/1
Adeel Kazmi [Tue, 25 Sep 2018 11:39:21 +0000 (12:39 +0100)]
(Text Controls) Use scissor clipping instead of stencil

Change-Id: I33287ec1146a0538062f039a060d2baaccfbe08a

6 years agoMerge "Encapsulation and harmonizing operators for LayoutLength" into devel/master
Adeel Kazmi [Tue, 25 Sep 2018 09:48:55 +0000 (09:48 +0000)]
Merge "Encapsulation and harmonizing operators for LayoutLength" into devel/master

6 years agoMerge "DALi Version 1.3.42" into devel/master
David Steele [Fri, 21 Sep 2018 11:42:59 +0000 (11:42 +0000)]
Merge "DALi Version 1.3.42" into devel/master

6 years agoDALi Version 1.3.42 77/189877/1 dali_1.3.42
Adeel Kazmi [Fri, 21 Sep 2018 09:18:08 +0000 (10:18 +0100)]
DALi Version 1.3.42

Change-Id: I79c31e1e7e08c1d28a7093f8119b294215a30296

6 years agoEncapsulation and harmonizing operators for LayoutLength 75/189675/5
Kimmo Hoikka [Wed, 19 Sep 2018 14:21:16 +0000 (15:21 +0100)]
Encapsulation and harmonizing operators for LayoutLength

- changing internal type to float to maintain precision when doing multiplies and divisions

Change-Id: Ifedb450f56d6994c60aceb87d7ffc530739b57c9

6 years agoEnhance WebViewLite 60/183360/15
Youngsoo Son [Thu, 5 Jul 2018 01:23:37 +0000 (10:23 +0900)]
Enhance WebViewLite

Add more APIs to the public API

Change-Id: Id05af42ea9cf89e64c20cca0321e7ffae25ccea4
Signed-off-by: Youngsoo Son <ysoo.son@samsung.com>
6 years agoRemoved dangerous implicit float conversion from LayoutLength and removed some of... 31/189231/7
Kimmo Hoikka [Fri, 14 Sep 2018 10:57:29 +0000 (11:57 +0100)]
Removed dangerous implicit float conversion from LayoutLength and removed some of the related ambiguities caused by use of auto keyword

Change-Id: Ibaaa17f98d7d9d77ca222b70211b162964b19552

6 years agoDALi Version 1.3.41 47/189247/1 dali_1.3.41
adam.b [Fri, 14 Sep 2018 14:20:52 +0000 (15:20 +0100)]
DALi Version 1.3.41

Change-Id: I48090a35fdc145b028c054613747d1d050b2cb3c

6 years agoDo not substarct outline width in text-controller 28/178228/2
minho.sun [Wed, 9 May 2018 01:43:44 +0000 (10:43 +0900)]
Do not substarct outline width in text-controller

Change-Id: I27ae359943599ff50a8635a75adb2c7ab3a367dd
Signed-off-by: minho.sun <minho.sun@samsung.com>
6 years agoAPI for Control to set LayoutRequired flag 06/188406/7
agnelo vaz [Tue, 4 Sep 2018 18:13:48 +0000 (19:13 +0100)]
API for Control to set LayoutRequired flag

Control behaviour can be set to need a layout and use
the Layout system or not and use the legacy size negotiation.

Change-Id: I90848cc238d8857d9ea380d9a6d5f6d82a431085

6 years agoDALi Version 1.3.40 69/188669/1 dali_1.3.40
Victor Cebollada [Fri, 7 Sep 2018 07:31:35 +0000 (08:31 +0100)]
DALi Version 1.3.40

Change-Id: I64c4e6279489397410a68dc0dec1d2a11ea88633

6 years agoMerge "Fix possible error if negative grid columns set" into devel/master
David Steele [Wed, 5 Sep 2018 10:07:50 +0000 (10:07 +0000)]
Merge "Fix possible error if negative grid columns set" into devel/master

6 years agoMerge "Actor's position and size is not updated after DevelControl::SetLayout." into...
David Steele [Wed, 5 Sep 2018 10:04:28 +0000 (10:04 +0000)]
Merge "Actor's position and size is not updated after DevelControl::SetLayout." into devel/master

6 years agoFix possible error if negative grid columns set 44/187944/4
Agnelo Vaz [Wed, 29 Aug 2018 18:25:34 +0000 (19:25 +0100)]
Fix possible error if negative grid columns set

Change-Id: Icd20fe7968f1e77501e4593b2fa81d40aabacb55

6 years agoAdd weight support for LinearLayout. 01/187601/8
Anton Obzhirov [Thu, 23 Aug 2018 09:35:00 +0000 (10:35 +0100)]
Add weight support for LinearLayout.

Change-Id: Ibb97ee80b4346b9cca842043951dab42b3470a52

6 years agoActor's position and size is not updated after DevelControl::SetLayout. 49/188149/2
Anton Obzhirov [Fri, 31 Aug 2018 15:50:01 +0000 (16:50 +0100)]
Actor's position and size is not updated after DevelControl::SetLayout.

In case of reusing a layout LayoutItem::SetFrame
might fail to update actor position/size if the new and
the old layout bounds are the same.

Change-Id: I5c189afae93413866147c8814e3a10f2335872a7

6 years agoMerge "Fix setting z value issue in Layout" into devel/master
Adeel Kazmi [Fri, 31 Aug 2018 13:30:43 +0000 (13:30 +0000)]
Merge "Fix setting z value issue in Layout" into devel/master

6 years agoDALi Version 1.3.39 07/188107/1 dali_1.3.39
Richard Huang [Fri, 31 Aug 2018 09:40:03 +0000 (10:40 +0100)]
DALi Version 1.3.39

Change-Id: I07c0378420792cbbb3d16acd977049cc0f57bbcd

6 years agoFix setting z value issue in Layout 40/187840/8
huiyu.eun [Wed, 29 Aug 2018 02:05:36 +0000 (11:05 +0900)]
Fix setting z value issue in Layout

Change-Id: I3b6dd617b4150b033bb600ae74c59c1dfdeb2d67
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years agoMerge "Fix grid layout defaults" into devel/master
Adeel Kazmi [Tue, 28 Aug 2018 11:12:12 +0000 (11:12 +0000)]
Merge "Fix grid layout defaults" into devel/master

6 years agoMerge "Added IGNORE_SPACES_AFTER_TEXT property" into devel/master
Adeel Kazmi [Tue, 28 Aug 2018 10:40:38 +0000 (10:40 +0000)]
Merge "Added IGNORE_SPACES_AFTER_TEXT property" into devel/master

6 years agoMerge "Add bidirectional text tct." into devel/master
Adeel Kazmi [Tue, 28 Aug 2018 10:38:51 +0000 (10:38 +0000)]
Merge "Add bidirectional text tct." into devel/master

6 years agoMerge "Modify linebreak unit when creating LineLayout" into devel/master
Adeel Kazmi [Tue, 28 Aug 2018 10:38:15 +0000 (10:38 +0000)]
Merge "Modify linebreak unit when creating LineLayout" into devel/master

6 years agoFix grid layout defaults 89/187789/1
Agnelo Vaz [Tue, 28 Aug 2018 10:01:37 +0000 (11:01 +0100)]
Fix grid layout defaults

Change-Id: I6108a67192b01b06d62f8df0bdbbf1426aac5fc6

6 years agoFix typo in namespace description 17/187717/1
Jiyun Yang [Tue, 28 Aug 2018 05:04:01 +0000 (14:04 +0900)]
Fix typo in namespace description

Change-Id: I75a04ea5c74b49a5f0d3e75fe0c06d1ffa3707aa
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
6 years agoModify linebreak unit when creating LineLayout 13/166613/5
minho.sun [Thu, 11 Jan 2018 06:33:32 +0000 (15:33 +0900)]
Modify linebreak unit when creating LineLayout

 - period is reconized word unit.
 - In the past, if the text exceeded the line layout size, only the
   period was down to another line.
 - Modify line breaks to linebreak instead of Wordbreak.

Change-Id: Ice94c19550807f5e7d8907152e07ec0aaa4c6e10
Signed-off-by: minho.sun <minho.sun@samsung.com>
6 years agoAdd bidirectional text tct. 40/187640/1
minho.sun [Mon, 27 Aug 2018 06:01:44 +0000 (15:01 +0900)]
Add bidirectional text tct.

Add bidirectional text tct.
For this, made CreateTextModel() can support markup text.

Change-Id: I13ad4025635ba257611875284563bce09d8c6192
Signed-off-by: minho.sun <minho.sun@samsung.com>
6 years agoAdded IGNORE_SPACES_AFTER_TEXT property 75/186675/7
minho.sun [Mon, 13 Aug 2018 09:52:28 +0000 (18:52 +0900)]
Added IGNORE_SPACES_AFTER_TEXT property

Currently, DALi doesn't make text to ellipsis when there are spaces
after text.

 "AAA                            " can't be ellipsis.
 "AAA                           A" can be ellipsis.

User wants to choose whether ignoring spaces after text or not.
So, added devel text property for this which is named IGNORE_SPACES_AFTER_TEXT.

Change-Id: Ibad9f70b1f8012dc4e04914e4f98072fc8741ad9
Signed-off-by: minho.sun <minho.sun@samsung.com>
6 years agoMerge "Controls are LayoutGroups instead of LayoutItems" into devel/master
Adeel Kazmi [Fri, 24 Aug 2018 11:18:59 +0000 (11:18 +0000)]
Merge "Controls are LayoutGroups instead of LayoutItems" into devel/master

6 years agoControls are LayoutGroups instead of LayoutItems 93/187193/11
Agnelo Vaz [Mon, 20 Aug 2018 16:28:20 +0000 (17:28 +0100)]
Controls are LayoutGroups instead of LayoutItems

LayoutGroup measures and layouts it's children.
Children are currently positioned by their AnchorPoint and Position.
Children are not positioned in relation to each other so may overlap.

Change-Id: I786736a13f5f0b00c15fec461b5a20883da9f346

6 years agoMerge "Add alignment support in LinearLayout." into devel/master
Adeel Kazmi [Thu, 23 Aug 2018 17:02:05 +0000 (17:02 +0000)]
Merge "Add alignment support in LinearLayout." into devel/master

6 years agoDALi Version 1.3.38 81/187481/1 dali_1.3.38
Anton Obzhirov [Thu, 23 Aug 2018 14:02:33 +0000 (15:02 +0100)]
DALi Version 1.3.38

Change-Id: I9f1ecdc0193ae5405f410d16c5de5af1c1867043

6 years agoAdd alignment support in LinearLayout. 48/184648/9
Anton Obzhirov [Thu, 19 Jul 2018 16:54:19 +0000 (17:54 +0100)]
Add alignment support in LinearLayout.

Change-Id: Ie9a575c4318335ab7806f06502a5e624f8365b50

6 years agoMerge "Add ImageVisualShaderFactory" into devel/master
Heeyong Song [Tue, 21 Aug 2018 00:16:38 +0000 (00:16 +0000)]
Merge "Add ImageVisualShaderFactory" into devel/master

6 years agoDALi Version 1.3.37 48/187048/1 dali_1.3.37
thothamon [Fri, 17 Aug 2018 11:15:46 +0000 (12:15 +0100)]
DALi Version 1.3.37

Change-Id: I9a2217b59745816dd2d8254e194e8369cf095c43

6 years agoAdd ImageVisualShaderFactory 12/187012/2
Heeyong Song [Fri, 17 Aug 2018 06:02:58 +0000 (15:02 +0900)]
Add ImageVisualShaderFactory

- Add ImageVisualShaderFactory to share shader sources
- Support custom shader in SVG visual

Change-Id: I58ebab4dbbbb3a3976e1ec7ce84ac284f5bc890b

6 years agoImageView Relayout after ResourceReady 23/183723/2
Agnelo Vaz [Tue, 10 Jul 2018 09:30:18 +0000 (10:30 +0100)]
ImageView Relayout after ResourceReady

Change-Id: I81177df0b26eb8d4108e587724bd35e8d2e1c51e

6 years agoRevert "Fix focus issue after calling ClearFocus api" 60/186760/1
xb.teng [Tue, 14 Aug 2018 06:55:09 +0000 (14:55 +0800)]
Revert "Fix focus issue after calling ClearFocus api"

I revert this patch, because it doesn't cover mobile profile.
Mr. Sun upload a new patch for it:
https://review.tizen.org/gerrit/#/c/186741

This reverts commit f7e78caead4596a66b750444e77343856432d36d.

Change-Id: I8aef3d12907d74af849be9f061f92d65b27dea17

6 years agoFix a custom shader issue 58/186658/2
Heeyong Song [Mon, 13 Aug 2018 07:55:03 +0000 (16:55 +0900)]
Fix a custom shader issue

- Fix a hash key generation in the texture manager
- Set a pre-multiplied state according to the flag

Change-Id: I22481d3a01f9634f8ec2d85506034d8142b2ceaa

6 years agoSvace errors in Grid layout 95/186595/1
Agnelo Vaz [Fri, 10 Aug 2018 14:37:46 +0000 (15:37 +0100)]
Svace errors in Grid layout

Change-Id: I396bded7da473a87a54428105d86ff5b5a85d5d2

6 years agoDALi Version 1.3.36 53/186553/1 dali_1.3.36
György Straub [Fri, 10 Aug 2018 09:11:07 +0000 (10:11 +0100)]
DALi Version 1.3.36

Change-Id: I9901953dfa0791187a721b47efcec40baabebf3f

6 years agoMerge "Adding GridLayout" into devel/master
Adeel Kazmi [Thu, 9 Aug 2018 08:36:07 +0000 (08:36 +0000)]
Merge "Adding GridLayout" into devel/master

6 years agoAdding GridLayout 15/182515/18
Agnelo Vaz [Mon, 25 Jun 2018 15:41:31 +0000 (16:41 +0100)]
Adding GridLayout

Change-Id: I2e23b7b2a396677167a88f6366a6b9ea6d0f617b

6 years agoMerge "Added UseFocusIndicator API to devel keyboard-focus-manager" into devel/master
Adeel Kazmi [Wed, 8 Aug 2018 16:28:18 +0000 (16:28 +0000)]
Merge "Added UseFocusIndicator API to devel keyboard-focus-manager" into devel/master

6 years agoSet the thread name (image/svg) 44/185744/3
huiyu.eun [Thu, 2 Aug 2018 03:01:09 +0000 (12:01 +0900)]
Set the thread name (image/svg)

Change-Id: I367167bbe0e5b6d66080d3d093ba0a1a1d785831
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>