platform/core/uifw/dali-toolkit.git
5 years agoDALi Version 1.4.28 32/209932/1 dali_1.4.28
Richard Huang [Fri, 12 Jul 2019 10:17:37 +0000 (11:17 +0100)]
DALi Version 1.4.28

Change-Id: I23927430fb59d2c418b9c678e96dbf909c959903

5 years agoMerge "Use FileStream API in gltf-loader." into devel/master
Adeel Kazmi [Thu, 11 Jul 2019 17:39:05 +0000 (17:39 +0000)]
Merge "Use FileStream API in gltf-loader." into devel/master

5 years agoFixed EffectView background color to match Visual defaults 45/209845/1
Paul Wisbey [Thu, 11 Jul 2019 15:07:30 +0000 (16:07 +0100)]
Fixed EffectView background color to match Visual defaults

Since by default the renderers are expecting images with pre-multiplied alpha,
the default background color has been changed to match.

Change-Id: I47cb16dd551f058b6514ecc3afebfa704d7e444a

5 years agoMerge "TextFit : modified it to work even if you change the text or multi-line attrib...
joogab yun [Thu, 11 Jul 2019 06:06:32 +0000 (06:06 +0000)]
Merge "TextFit : modified it to work even if you change the text or multi-line attributes." into devel/master

5 years agoUse FileStream API in gltf-loader. 33/209733/2
Anton Obzhirov [Tue, 9 Jul 2019 22:53:41 +0000 (23:53 +0100)]
Use FileStream API in gltf-loader.

Change-Id: Ib0658fde4e0d48968631e8e5fa45ef96e568c742

5 years agoMerge "Remove deprecated APIs from GaussianBlurView" into devel/master
Adeel Kazmi [Wed, 10 Jul 2019 12:22:45 +0000 (12:22 +0000)]
Merge "Remove deprecated APIs from GaussianBlurView" into devel/master

5 years agoRemove deprecated APIs from GaussianBlurView 31/208131/11
Paul Wisbey [Tue, 18 Jun 2019 15:10:31 +0000 (16:10 +0100)]
Remove deprecated APIs from GaussianBlurView

Change-Id: I1bb84da3681b77b901a47e3a6c7c215e469dc269

5 years agoprevent out of bounds 85/209485/4
Joogab Yun [Mon, 8 Jul 2019 08:14:04 +0000 (17:14 +0900)]
prevent out of bounds

If bytesPerPixel is 0, the alphaIndex value is 4294967295.
  const unsigned int bytesPerPixel = Dali::Pixel::GetBytesPerPixel(pixelFormat);
  const unsigned int alphaIndex = bytesPerPixel - 1u;

Change-Id: Ia7c1dc67d913141bd8d2c2fad062d7d861843fd1

5 years agoTextFit : modified it to work even if you change the text or multi-line attributes. 26/209326/5
Joogab Yun [Fri, 5 Jul 2019 01:51:23 +0000 (10:51 +0900)]
TextFit : modified it to work even if you change the text or multi-line attributes.

    // 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"] = 100.f;
    textFitMap["stepSize"] = 1.f;
    textFitMap["fontSizeType"] = "pointSize";

    textFit = TextLabel::New(  "This is a Text Fit sample text " );
    textFit.SetSize( 750, 100 );
    textFit.SetParentOrigin(ParentOrigin::TOP_LEFT);
    textFit.SetAnchorPoint(AnchorPoint::TOP_LEFT);
    textFit.SetPosition( 100.f, 100.f);
    textFit.SetProperty( Toolkit::DevelTextLabel::Property::TEXT_FIT, textFitMap );
    textFit.SetProperty( Toolkit::DevelTextLabel::Property::BACKGROUND, backgroundMap );
    stage.Add( textFit );

    stage.GetRootLayer().TouchSignal().Connect( this, &HelloWorldController::OnTextFitTouch );

  bool OnTextFitTouch( Actor actor, const TouchData& touch )
  {

    textFit.SetProperty( TextLabel::Property::TEXT, "Long enough message for TextLabel!! ");
    textFit.SetProperty( TextLabel::Property::MULTI_LINE, true );

    return true;
  }

Change-Id: I81927d70db58211892fc98592eadfccf5a69d374

5 years agoAll file read operations should be done through FileLoader. 28/209228/3
Anton Obzhirov [Tue, 2 Jul 2019 16:07:37 +0000 (17:07 +0100)]
All file read operations should be done through FileLoader.

Change-Id: I3c5cd1a538efb1863aaf6e6f6b349e8619452169

5 years agoMerge "DALi Version 1.4.27" into devel/master
Adeel Kazmi [Fri, 5 Jul 2019 09:45:36 +0000 (09:45 +0000)]
Merge "DALi Version 1.4.27" into devel/master

5 years agoDALi Version 1.4.27 74/209374/1 dali_1.4.27
György Straub [Fri, 5 Jul 2019 07:55:57 +0000 (08:55 +0100)]
DALi Version 1.4.27

Change-Id: I78c430d0e2d7132e08f2e31ae7bf46d466f6e0a2

5 years agoSet size of a new visual in visual replacement case 94/208494/3
Heeyong Song [Tue, 25 Jun 2019 07:05:48 +0000 (16:05 +0900)]
Set size of a new visual in visual replacement case

mVisual is not updated util the resource is ready in the case of visual replacement.
So apply the transform and size to the new visual.

Change-Id: Ied60fd820978d1dcd03fee53b1b105cce750645d

5 years agoRemove V8 plugin 67/208967/2
Adeel Kazmi [Mon, 1 Jul 2019 17:05:15 +0000 (18:05 +0100)]
Remove V8 plugin

Change-Id: If2c1980e49692a99e181fc7e468ef1421bd9fbb2

5 years agoDALi Version 1.4.26 91/208791/1 dali_1.4.26
greynaga [Fri, 28 Jun 2019 10:42:39 +0000 (11:42 +0100)]
DALi Version 1.4.26

Change-Id: I19a311a7e3ad33e5302322bba502584ca16602ce

5 years agoMerge "Fix SVACE issue" into devel/master
Adeel Kazmi [Wed, 26 Jun 2019 09:14:37 +0000 (09:14 +0000)]
Merge "Fix SVACE issue" into devel/master

5 years agoFix SVACE issue 12/208512/1
Adeel Kazmi [Tue, 25 Jun 2019 10:20:16 +0000 (11:20 +0100)]
Fix SVACE issue

No need to check that an unsigned int is greater than 0

Change-Id: I8d898e87578d8aeec61e828af4a798189392741f

5 years agoRemove vsync-monitor. 62/208462/1
Anton Obzhirov [Mon, 24 Jun 2019 15:25:06 +0000 (16:25 +0100)]
Remove vsync-monitor.

Change-Id: I60d01620700cc0bb8ad49058d12e1e91fc5619cd

5 years agoChange to output in priority order. 65/208265/2
Joogab Yun [Fri, 21 Jun 2019 02:19:14 +0000 (11:19 +0900)]
Change to output in priority order.

ex)
The current character(0x2665) is emoji script.
'UIFont' and 'EMOJI' font have '0x2665' unicode.
The priority of font is 'UIFont' -> 'EMOJI'.
The now behavior is that we find and output glyphs in EMOJI fonts. because the current character is an emoji script.
However, we want to be output from a high priority 'UIFont'.
so modified it.

and If you want to print emoji fonts, you can add variation unicode.
0x2665+variation unicode = at 'EMOJI' font file
The logic to check variation unicode will be added later.

Change-Id: Id5b54a75280d1678874665a42291facdbce72042

5 years ago(Vector) Change properties to get frame numbers 07/207707/3
Heeyong Song [Tue, 11 Jun 2019 05:04:24 +0000 (14:04 +0900)]
(Vector) Change properties to get frame numbers

- Get frame numbers instead of normalized progress

Change-Id: I6a85b31ca1715e891c4302ddb5988d8052641446

5 years agoDALi Version 1.4.25 50/208250/1 dali_1.4.25
Anton Obzhirov [Thu, 20 Jun 2019 10:20:22 +0000 (11:20 +0100)]
DALi Version 1.4.25

Change-Id: I61c1b13bf467d08a3e2311dfffeabc6066064842

5 years agofix AnimatedImageVisual SetTextures after renderer was Reset 31/208031/1
junqing.ma [Mon, 17 Jun 2019 09:55:57 +0000 (17:55 +0800)]
fix AnimatedImageVisual SetTextures after renderer was Reset

Change-Id: I961ca73040f80ad00253915bafeb1b6662db37f4

5 years agoMerge "Text Fit - Adjust the text point size to match the size of the TextLabel....
joogab yun [Mon, 17 Jun 2019 02:11:07 +0000 (02:11 +0000)]
Merge "Text Fit - Adjust the text point size to match the size of the TextLabel." into devel/master

5 years agoDALi Version 1.4.24 73/207973/1
Agnelo Vaz [Fri, 14 Jun 2019 10:36:46 +0000 (11:36 +0100)]
DALi Version 1.4.24

Change-Id: I2ae9949f32a7f4010447aaf2c8825c9799abf099

5 years agoText Fit 58/206458/19
Joogab Yun [Mon, 20 May 2019 05:59:13 +0000 (14:59 +0900)]
Text Fit
- Adjust the text point size to match the size of the TextLabel.

sample) If TEXT_FIT is set to true,
        the size of the text will increase to match the size of SetSize()

    Property::Map backgroundMap;
    backgroundMap["color"] = Color::RED;
    backgroundMap["enable"] = true;

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

    TextLabel textFit = TextLabel::New(  "This is a sample text " );
    textFit.SetSize( 450, 100 );
    textFit.SetParentOrigin(ParentOrigin::TOP_LEFT);
    textFit.SetAnchorPoint(AnchorPoint::TOP_LEFT);
    textFit.SetPosition( 100.f, 100.f);
    textFit.SetProperty( Toolkit::DevelTextLabel::Property::TEXT_FIT, textFitMap );
    textFit.SetProperty( Toolkit::DevelTextLabel::Property::BACKGROUND, backgroundMap );
    stage.Add( textFit );

Change-Id: I50fea94547bc8147dd211f597520b27a35c8eb85

5 years agoMerge "Move MultiplyColorByAlpha() from main thread to resource thread" into devel...
sunghyun kim [Mon, 10 Jun 2019 04:30:11 +0000 (04:30 +0000)]
Merge "Move MultiplyColorByAlpha() from  main thread to resource thread" into devel/master

5 years agoMerge "Basic support of keyboard focus for multiple windows" into devel/master
Adeel Kazmi [Fri, 7 Jun 2019 15:36:52 +0000 (15:36 +0000)]
Merge "Basic support of keyboard focus for multiple windows" into devel/master

5 years agoBasic support of keyboard focus for multiple windows 53/207353/7
Richard Huang [Mon, 3 Jun 2019 16:28:33 +0000 (17:28 +0100)]
Basic support of keyboard focus for multiple windows

Change-Id: I56e26f72a3fcf225670d13f8745c4a485399bba8

5 years agoDALi Version 1.4.23 74/207574/1 dali_1.4.23
Adeel Kazmi [Fri, 7 Jun 2019 09:55:57 +0000 (10:55 +0100)]
DALi Version 1.4.23

Change-Id: I04846b949a3afc3623dcce36f4da7182c724186c

5 years agoYoga API wrapped by FlexLayout 68/201568/43
Agnelo Vaz [Fri, 15 Mar 2019 17:20:13 +0000 (17:20 +0000)]
Yoga API wrapped by FlexLayout

Change-Id: If8e80a7e2857d2ea5e8b1b96fb4bb30a7a1279d8

5 years agoMove MultiplyColorByAlpha() from main thread to resource thread 20/204320/12
Sunghyun kim [Tue, 23 Apr 2019 05:40:05 +0000 (14:40 +0900)]
Move MultiplyColorByAlpha() from  main thread to resource thread

Change-Id: I61f8e9b1bb1711de98707aa21ec5325b62bd5b10

5 years agoDALi Version 1.4.22 65/207265/1 dali_1.4.22
adam.b [Fri, 31 May 2019 09:51:56 +0000 (10:51 +0100)]
DALi Version 1.4.22

Change-Id: I2a62c69d434e8435d48a5404b789af4c701aee47

5 years agoDALi Version 1.4.21 37/206737/1 dali_1.4.21
Victor Cebollada [Fri, 24 May 2019 06:06:49 +0000 (07:06 +0100)]
DALi Version 1.4.21

Change-Id: I6a0a9d344647089687bde09701168d8557aaefa0

5 years agoMerge "If the text size is too large, crash or deadlock will occur." into devel/master
joogab yun [Thu, 23 May 2019 02:06:44 +0000 (02:06 +0000)]
Merge "If the text size is too large, crash or deadlock will occur." into devel/master

5 years agoIf the text size is too large, crash or deadlock will occur. 67/205267/14
Joogab Yun [Thu, 2 May 2019 01:30:44 +0000 (10:30 +0900)]
If the text size is too large, crash or deadlock will occur.

So, we limit the length.

  3  Dali::Toolkit::Text::ShapeText (text=..., lineBreakInfo=..., scripts=..., fonts=..., startCharacterIndex=startCharacterIndex@entry=0,
        startGlyphIndex=0, numberOfCharacters=numberOfCharacters@entry=51371,
        glyphs=..., glyphToCharacterMap=..., charactersPerGlyph=...,
        newParagraphGlyphs=...) at
        /usr/src/debug/dali-toolkit-1.3.50.1/build/tizen/dali-toolkit/../../../dali-toolkit/internal/text/shaper.cpp:200
        ...
                currentIndex = 40291
                numberOfGlyphsReserved = 66782
                totalNumberOfGlyphs = 40203
                numberOfNewGlyphs = 40203
                glyphToCharacterMapBuffer = 0x9f85f8
                glyphIndex = 40196
                lastCharacter = 51371
                lastGlyph = <optimized out>

        (gdb)bt
        0  memmove () at /usr/src/debug//////////////glibc-2.24/string/../sysdeps/arm/memmove.S:124
        1  0xaaa57450 in Dali::VectorAlgorithms<true>::Insert (this=0x9c67f8, at=0x896204a0 "", from=0x9f85f8 "\022", to=<optimized out>,
        elementSize=36) at /usr/include/dali/public-api/common/dali-vector.h:373
        2  0xaaa7d25e in Dali::Vector<Dali::TextAbstraction::GlyphInfo, true>::Insert (to=<optimized out>, from=0x9f85f8, at=0x896204a0,
        this=0x9c67f8) at /usr/include/dali/public-api/common/dali-vector.h:624
        3  Dali::Toolkit::Text::ShapeText (text=..., lineBreakInfo=..., scripts=..., fonts=..., startCharacterIndex=startCharacterIndex@entry=0, startGlyphIndex=0,
        numberOfCharacters=numberOfCharacters@entry=51371, glyphs=..., glyphToCharacterMap=..., charactersPerGlyph=...,
        newParagraphGlyphs=...) at /usr/src/debug/dali-toolkit-1.3.50.1/build/tizen/dali-toolkit/../../../dali-toolkit/internal/text/shaper.cpp:200
        4  0xaaa85b68 in Dali::Toolkit::Text::Controller::Impl::UpdateModel (this=0x9f9760, operationsRequired=<optimized out>) at
        /usr/src/debug/dali-toolkit-1.3.50.1/build/tizen/dali-toolkit/../../../dali-toolkit/internal/text/text-controller-impl.cpp:1019

Change-Id: Ic903833a638afaeb8749dfd1f44cd1d40f5f6939

5 years agoAdd '@addtogroup' tag to generate doxygen page 09/206609/1
Seoyeon Kim [Wed, 22 May 2019 05:43:00 +0000 (14:43 +0900)]
Add '@addtogroup' tag to generate doxygen page

- In some classes, @addtogroup tag is mssing.
  So, they cannot be included in each API group.

Change-Id: Idc84d7eda0565ca0d93941d8ac5c4da4d8e42521
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
5 years agoMerge "Purge underscored header file barriers" into devel/master
Adeel Kazmi [Mon, 20 May 2019 13:50:45 +0000 (13:50 +0000)]
Merge "Purge underscored header file barriers" into devel/master

5 years agoPurge underscored header file barriers 25/206425/2
Daniel McEwen [Fri, 17 May 2019 15:24:36 +0000 (16:24 +0100)]
Purge underscored header file barriers

Change-Id: I167a9472588dd950f075991332325dd5f22edc05

5 years ago(Vector) Reset the current frame when stopped 26/206226/2
Heeyong Song [Wed, 15 May 2019 08:18:18 +0000 (17:18 +0900)]
(Vector) Reset the current frame when stopped

Change-Id: Ibe4c77987ddaeecfb2955fd1799cb8ca2893e87d

5 years agoMerge "Remove RotationObserver from toolkit orientaiton implementation" into devel...
Adeel Kazmi [Fri, 17 May 2019 10:58:20 +0000 (10:58 +0000)]
Merge "Remove RotationObserver from toolkit orientaiton implementation" into devel/master

5 years agoDALi Version 1.4.20 05/206405/1 dali_1.4.20
György Straub [Fri, 17 May 2019 10:05:32 +0000 (11:05 +0100)]
DALi Version 1.4.20

Change-Id: I6d3d9b2bd50925bcf98aef48bf791d478c5efadd

5 years agoRemove RotationObserver from toolkit orientaiton implementation 40/206340/1
Richard Huang [Thu, 16 May 2019 13:10:38 +0000 (14:10 +0100)]
Remove RotationObserver from toolkit orientaiton implementation

Change-Id: Id67a0e6b711c6b65fa8981b837fd909b796bf73c

5 years agoImplement WebView APIs 06/205706/7
Jiyun Yang [Wed, 8 May 2019 11:34:32 +0000 (20:34 +0900)]
Implement WebView APIs

Add Properties
* CACHE_MODEL
* COOKIE_ACCEPT_POLICY
* USER_AGENT
* JAVASCRIPT_ENABLED
* LOAD_IMAGE_AUTOMATICALLY
* DEFAULT_TEXT_ENCODING_NAME
* DEFAULT_FONT_SIZE

Add Signals
* PageLoadErrorSignal

Add Methods
* Suspend
* Resume
* ClearCookies

Modify Methods
* EvaluateJavaScript

Change-Id: Ic4c7c74e23f9d63ba5078224e2ad84d1e77e72de
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
5 years agoUpdate adaptor stub code in toolkit automated test to include new Adaptor APIs 97/204397/3
Richard Huang [Tue, 23 Apr 2019 10:54:57 +0000 (11:54 +0100)]
Update adaptor stub code in toolkit automated test to include new Adaptor APIs

Change-Id: I8967b0df90defa723e202c267d3d7ba80d4549fe

5 years agoMerge "Gesture event refactor" into devel/master
Adeel Kazmi [Fri, 10 May 2019 12:10:08 +0000 (12:10 +0000)]
Merge "Gesture event refactor" into devel/master

5 years agoDALi Version 1.4.19 29/205929/1 dali_1.4.19
Richard Huang [Fri, 10 May 2019 10:31:47 +0000 (11:31 +0100)]
DALi Version 1.4.19

Change-Id: I513ef970f5b8c2644bad8f4860c20174874fb299

5 years agoGesture event refactor 26/203326/18
Daniel McEwen [Thu, 11 Apr 2019 16:28:26 +0000 (17:28 +0100)]
Gesture event refactor

Changes for event refactor into core

Change-Id: I6b73acf03a0cf443fffff636c167fbe885422c02

5 years agoFixed an incorrect ellipsis 28/205328/5
Joogab Yun [Thu, 2 May 2019 07:35:30 +0000 (16:35 +0900)]
Fixed an incorrect ellipsis

ex)
1. An ellipsis may be displayed incorrectly when there are two or more new-line characters.
2. The ellipsis location is incorrectly displayed for RTL text.

    TextLabel textLabel1 = TextLabel::New(  "abcdef הגדרות מהירות ");
    textLabel1.SetSize( 150.f, 100.f );
    textLabel1.SetProperty( TextLabel::Property::POINT_SIZE, 20.f );
    textLabel1.SetProperty( TextLabel::Property::ELLIPSIS, true );
    textLabel1.SetPosition( 100.f, 50.f );
    textLabel1.SetParentOrigin( ParentOrigin::TOP_LEFT );
    textLabel1.SetAnchorPoint( AnchorPoint::TOP_LEFT );
    stage.Add( textLabel1 );

    TextLabel textLabel2 = TextLabel::New(  "הגדרות מהירות");
    textLabel2.SetSize( 150.f, 100.f );
    textLabel2.SetProperty( TextLabel::Property::POINT_SIZE, 20.f );
    textLabel2.SetProperty( TextLabel::Property::ELLIPSIS, true );
    textLabel2.SetPosition( 100.f, 125.f );
    textLabel2.SetParentOrigin( ParentOrigin::TOP_LEFT );
    textLabel2.SetAnchorPoint( AnchorPoint::TOP_LEFT );
    stage.Add( textLabel2 );

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

    TextLabel 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, 250.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 );

    TextLabel labe34 = TextLabel::New(  "yesterday all my troubles seemed so\n\n\n\n far away now it looks" );
    labe34.SetSize( 450, 100 );
    labe34.SetParentOrigin(ParentOrigin::TOP_LEFT);
    labe34.SetAnchorPoint(AnchorPoint::TOP_LEFT);
    labe34.SetPosition( 100.f, 400.f);
    labe34.SetProperty(TextLabel::Property::POINT_SIZE, 17.6f);
    labe34.SetProperty( TextLabel::Property::MULTI_LINE, true );
    labe34.SetProperty(TextLabel::Property::ELLIPSIS, true);
    stage.Add( labe34 );

Change-Id: Ie856e38035b5ea6d179ec23ec04a1a9371486b73

5 years agoSet default size when vector visual is initialized 29/205129/2
Heeyong Song [Mon, 29 Apr 2019 09:32:01 +0000 (18:32 +0900)]
Set default size when vector visual is initialized

- OnSetTransform() is not called before rendering
when a vector file is replaced.

Change-Id: I493bf87fd63ecfd9e13292e3cfafa03c442aaf54

5 years agoRemove CXX03 Build 67/205367/1
Adeel Kazmi [Wed, 1 May 2019 09:38:04 +0000 (10:38 +0100)]
Remove CXX03 Build

Change-Id: Ic61075c2d69f31cdd3057bfb92dae930cb93ee85

5 years agoMerge "Allow ImageView padding to be set to Zero" into devel/master
Adeel Kazmi [Thu, 2 May 2019 15:00:48 +0000 (15:00 +0000)]
Merge "Allow ImageView padding to be set to Zero" into devel/master

5 years agoAllow ImageView padding to be set to Zero 35/205235/10
Agnelo Vaz [Tue, 30 Apr 2019 13:17:49 +0000 (14:17 +0100)]
Allow ImageView padding to be set to Zero

Bug existed which meant after Padding set on ImageView
it could not be removed completely.

Change-Id: I7c5e10c6f3538f030bc3f95dd86aa7e7d054dd67

5 years agoDALi Version 1.4.18 34/205334/1 dali_1.4.18
Anton Obzhirov [Thu, 2 May 2019 10:45:52 +0000 (11:45 +0100)]
DALi Version 1.4.18

Change-Id: I8fb03611982795175d87b38a69024b3825e1ca3a

5 years agoMerge "Ensure we do not export Internal::Control::Impl symbols" into devel/master
Adeel Kazmi [Mon, 29 Apr 2019 09:50:36 +0000 (09:50 +0000)]
Merge "Ensure we do not export Internal::Control::Impl symbols" into devel/master

5 years agoChange matrix in shaders 38/204638/2
Heeyong Song [Thu, 25 Apr 2019 07:34:36 +0000 (16:34 +0900)]
Change matrix in shaders

- Change matrix precision to highp
- Use uMvpMatrix in all shaders

Change-Id: I6b178f8926218bbcab307c110a7a5fad507ade2d

5 years agoEnsure we do not export Internal::Control::Impl symbols 26/204826/1
Adeel Kazmi [Fri, 26 Apr 2019 15:06:44 +0000 (16:06 +0100)]
Ensure we do not export Internal::Control::Impl symbols

Change-Id: I6c877681e38cf6a0cef5920f77679e058d967c4c

5 years agoDALi Version 1.4.17 12/204812/1 dali_1.4.17
greynaga [Fri, 26 Apr 2019 12:52:15 +0000 (13:52 +0100)]
DALi Version 1.4.17

Change-Id: I618e9c86c229f12509ba3e5b3cbadb687c330fd3

5 years agoRemoving native layouting 30/204030/3
Agnelo Vaz [Thu, 18 Apr 2019 15:20:53 +0000 (16:20 +0100)]
Removing native layouting

Change-Id: Ib22cdd94cc3159ecc991a44621636f67c0194b11

5 years agoControl impl layout code for Margin removed 31/203731/3
Agnelo Vaz [Tue, 16 Apr 2019 15:25:16 +0000 (16:25 +0100)]
Control impl layout code for Margin removed

Change-Id: I23195c78aeb7c9d385c78b9e3d30428a7529e266

5 years agoDALi Version 1.4.16 00/204000/1 dali_1.4.16
Agnelo Vaz [Thu, 18 Apr 2019 10:19:56 +0000 (11:19 +0100)]
DALi Version 1.4.16

Change-Id: Iacc1ebd80c041a1fd96d275d2e8438961a9a9158

5 years agoMerge "Italic synthesize for circular layout." into devel/master
Adeel Kazmi [Wed, 17 Apr 2019 14:31:22 +0000 (14:31 +0000)]
Merge "Italic synthesize for circular layout." into devel/master

5 years agoCheck the pair of tag. 79/202779/6
Joogab Yun [Fri, 5 Apr 2019 00:19:26 +0000 (09:19 +0900)]
Check the pair of tag.

* A crash occurs if markup is used incorrectly.

ex) these samples will crash.
* label.SetProperty( TextLabel::Property::TEXT, "<color=#ffff0000>10:01:49</color>" );
  - <color value=#fff0000> is correct expression.

* label.SetProperty( TextLabel::Property::TEXT, "10:</b>01:49" );

Change-Id: I380d0209dabbd35756f9a0b3829fc4a7f31da7d9

5 years agoSelect the whole text of TextField. 39/202939/7
Huayong Xu [Mon, 8 Apr 2019 05:53:19 +0000 (13:53 +0800)]
Select the whole text of TextField.

In some cases, the whole text of text-field need be selected,
and grab_handle and its popup need be disabled.

Change-Id: I5c1b5d5287509adf6357f25050c1831215f43f08
Signed-off-by: Huayong Xu <huayong.xu@samsung.com>
5 years agoMerge "Remove DALI_GLES_VERSION compile option in dali-core" into devel/master
Adeel Kazmi [Fri, 12 Apr 2019 15:36:32 +0000 (15:36 +0000)]
Merge "Remove DALI_GLES_VERSION compile option in dali-core" into devel/master

5 years agoMerge "Fix SVACE error in BitmapFont" into devel/master
Adeel Kazmi [Fri, 12 Apr 2019 11:01:51 +0000 (11:01 +0000)]
Merge "Fix SVACE error in BitmapFont" into devel/master

5 years agoDALi Version 1.4.15 18/203418/1 dali_1.4.15
Adeel Kazmi [Fri, 12 Apr 2019 10:48:51 +0000 (11:48 +0100)]
DALi Version 1.4.15

Change-Id: Ia4999111099c3a79f85e24d941fdfe6cc474a68b

5 years agoFix SVACE error in BitmapFont 09/203409/1
Adeel Kazmi [Fri, 12 Apr 2019 08:56:13 +0000 (09:56 +0100)]
Fix SVACE error in BitmapFont

Change-Id: I01b2ce44a7f21babeebb32dac2b0d831b39c8c28

5 years agoItalic synthesize for circular layout. 85/203385/1
Victor Cebollada [Wed, 20 Mar 2019 15:08:22 +0000 (15:08 +0000)]
Italic synthesize for circular layout.

* Catch-up with the Adaptor's patch.

Change-Id: I80ec6566b8294856461588fba5f15d9ceea76dbe
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
5 years agoRemove DALI_GLES_VERSION compile option in dali-core 00/201600/9
Seungho, Baek [Mon, 18 Mar 2019 06:36:57 +0000 (15:36 +0900)]
Remove DALI_GLES_VERSION compile option in dali-core

 - Add SetGlesVersion function
 - Add GetGlesVersion function
 - Add TextureRequiresConverting function

Change-Id: Ic01546c6b91b73912490ae1a222d56649ed9eb64
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
5 years ago(AnimatedVectorImageVisual) Use the content default size 31/202631/3
Heeyong Song [Mon, 1 Apr 2019 08:30:09 +0000 (17:30 +0900)]
(AnimatedVectorImageVisual) Use the content default size

- Use the content default size when a user doesn't set a control size.
- To do this, the vector renderer object creation is moved to VectorRasterizeThread constructor.

Change-Id: Icfeeea9ecbd906e0627c81ed813216b863202c07

5 years agoMerge "Bitmap Font support for TextLabel." into devel/master
Adeel Kazmi [Tue, 9 Apr 2019 14:06:59 +0000 (14:06 +0000)]
Merge "Bitmap Font support for TextLabel." into devel/master

5 years agoMerge "(AnimatedVectorImage) Ensure the progress is kept according to actions" into...
Heeyong Song [Mon, 8 Apr 2019 02:23:24 +0000 (02:23 +0000)]
Merge "(AnimatedVectorImage) Ensure the progress is kept according to actions" into devel/master

5 years agoDALi Version 1.4.14 76/202876/1 dali_1.4.14
adam.b [Fri, 5 Apr 2019 10:50:41 +0000 (11:50 +0100)]
DALi Version 1.4.14

Change-Id: Ia05242d700b5a24824801788b68f211ddcb1c63d

5 years ago(AnimatedVectorImage) Ensure the progress is kept according to actions 54/202654/2
Heeyong Song [Tue, 2 Apr 2019 07:48:24 +0000 (16:48 +0900)]
(AnimatedVectorImage) Ensure the progress is kept according to actions

Change-Id: Ifdda34f50d1da431c4e2459ef8619cc572644beb

5 years agoBitmap Font support for TextLabel. 62/202262/12
Victor Cebollada [Mon, 25 Mar 2019 14:31:03 +0000 (14:31 +0000)]
Bitmap Font support for TextLabel.

* The TextTypesetter supports glyphs from a bitmap font.

Change-Id: Ic8befd32368d9747953545d0c504599fa835c0fd
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
5 years agoMerge "Add right shift handling for text controller" into devel/master
Seoyeon Kim [Mon, 1 Apr 2019 08:18:27 +0000 (08:18 +0000)]
Merge "Add right shift handling for text controller" into devel/master

5 years agoMerge "Fix the build error and runtime coredump in Windows backend" into devel/master
joogab yun [Mon, 1 Apr 2019 00:56:02 +0000 (00:56 +0000)]
Merge "Fix the build error and runtime coredump in Windows backend" into devel/master

5 years agoFix the build error and runtime coredump in Windows backend 01/199101/4
adun [Sat, 2 Feb 2019 06:44:22 +0000 (14:44 +0800)]
Fix the build error and runtime coredump in Windows backend

Change-Id: I3957ac493d1ae7aed1fd765280fc22c414bb268d

5 years agoDALi Version 1.4.13 95/202495/1 dali_1.4.13
Victor Cebollada [Fri, 29 Mar 2019 07:07:11 +0000 (07:07 +0000)]
DALi Version 1.4.13

Change-Id: Ic97a13b1446be0931f39a63f37f4c07113188542

5 years ago(AnimatedVectorImageVisual) Prevent properties from being updated during rendering 92/201192/5
Heeyong Song [Mon, 11 Mar 2019 08:06:01 +0000 (17:06 +0900)]
(AnimatedVectorImageVisual) Prevent properties from being updated during rendering

Change-Id: I9f68e3ad2d116f2a6d92422c864f72479f7e6b07

5 years agoDALi Version 1.4.12 79/202079/1 dali_1.4.12
Richard Huang [Fri, 22 Mar 2019 10:45:55 +0000 (10:45 +0000)]
DALi Version 1.4.12

Change-Id: I25dacaf218d0b768b1e56594249233ca99da23d6

5 years agoMerge "Revert "Remove dali-core dependency of GLES version."" into devel/master
Adeel Kazmi [Fri, 15 Mar 2019 14:35:59 +0000 (14:35 +0000)]
Merge "Revert "Remove dali-core dependency of GLES version."" into devel/master

5 years agoRevert "Remove dali-core dependency of GLES version." 59/201559/1
Richard Huang [Fri, 15 Mar 2019 14:02:16 +0000 (14:02 +0000)]
Revert "Remove dali-core dependency of GLES version."

This reverts commit b2e09d9eeceadc9153c97c64b93639d0c0a94b43.

Change-Id: I1b4d68f82a91f1170ec5caab7a78e8a2353901b6

5 years agoDALi Version 1.4.11 37/201537/1 dali_1.4.11
György Straub [Fri, 15 Mar 2019 09:39:33 +0000 (09:39 +0000)]
DALi Version 1.4.11

Change-Id: I5e2551bb36c15c378b8da17651545cf72c502179

5 years agoRemove dali-core dependency of GLES version. 81/201081/7
Seungho, Baek [Fri, 8 Mar 2019 06:12:26 +0000 (15:12 +0900)]
Remove dali-core dependency of GLES version.

 - Add ConvertTexture function

Change-Id: I5fc750ad1623d39f158ac3d70af68d23d9995219
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
5 years agoMerge "Change Adaptor implementation API in toolkit for multiple windows." into devel...
Adeel Kazmi [Tue, 12 Mar 2019 17:15:59 +0000 (17:15 +0000)]
Merge "Change Adaptor implementation API in toolkit for multiple windows." into devel/master

5 years agoChecked if mInputStyle has changed. 59/198259/3
Joogab Yun [Wed, 23 Jan 2019 03:54:55 +0000 (12:54 +0900)]
Checked if mInputStyle has changed.

If InsertText () is called while mEventData-> mInputStyle is not yet set to defaultInputStyle(),
it will behave wrong action.

ex) corner case :
  style.size = 30 but mImpl->mEventData->mInputStyle.size = 0 in InsertText()
  then this code will behave wrong action.
  const bool addFontSizeRun = style.size != mImpl->mEventData->mInputStyle.size;

  Normally, ProcessInputEvents () is called before InsertText(),
  and the value of mImpl-> mEventData-> mInputStyle.size is set to 30.
  So there is usually no problem.

Change-Id: I7ac15fe4b1bdd55c224e43a23c389fcd74a093a3

5 years agoMerge "Text - Layout improvement." into devel/master
joogab yun [Tue, 12 Mar 2019 00:22:13 +0000 (00:22 +0000)]
Merge "Text - Layout improvement." into devel/master

5 years agoMerge "TextField is re-laied out after its properties are changed." into devel/master
Adeel Kazmi [Mon, 11 Mar 2019 10:35:32 +0000 (10:35 +0000)]
Merge "TextField is re-laied out after its properties are changed." into devel/master

5 years agoText - Layout improvement. 44/200444/20
Joogab Yun [Mon, 25 Feb 2019 06:44:19 +0000 (15:44 +0900)]
Text - Layout improvement.

* Retrieved font metrics are not rounded.
  The position is rounded when is set to
  the glyph.

Change-Id: I379a372cf5c7decaf8eea917a7da5839a58f2cd4

5 years agoChange Adaptor implementation API in toolkit for multiple windows. 26/201126/1
Anton Obzhirov [Fri, 8 Mar 2019 13:55:56 +0000 (13:55 +0000)]
Change Adaptor implementation API in toolkit for multiple windows.

Change-Id: Idc1fff53661dc485c92e40af63e44d03524214a3

5 years agoMerge "DALi Version 1.4.10" into devel/master
Adeel Kazmi [Fri, 8 Mar 2019 11:46:35 +0000 (11:46 +0000)]
Merge "DALi Version 1.4.10" into devel/master

5 years agoDALi Version 1.4.10 15/201115/1 dali_1.4.10
Daniel McEwen [Fri, 8 Mar 2019 11:29:32 +0000 (11:29 +0000)]
DALi Version 1.4.10

Change-Id: Ib8fdee7b2666aa792ac72db482b79ac35829c06c

5 years ago(AnimatedVectorImageVisual) Render frames based on content's fps 26/200526/3
Heeyong Song [Tue, 26 Feb 2019 07:34:25 +0000 (16:34 +0900)]
(AnimatedVectorImageVisual) Render frames based on content's fps

Change-Id: Iaa35523eecde1d22a1d2bdcd9ae07dc1e66ee58b

5 years agoEnsure FontDescriptionRun members are initialized 62/200962/3
Adeel Kazmi [Wed, 6 Mar 2019 11:57:34 +0000 (11:57 +0000)]
Ensure FontDescriptionRun members are initialized

Change-Id: I77b1ca9dab33abd48131ea4ef8069de2b4c263f8

5 years agoMove rather than copy large structures when calling methods 52/200952/1
Adeel Kazmi [Wed, 6 Mar 2019 10:34:47 +0000 (10:34 +0000)]
Move rather than copy large structures when calling methods

Change-Id: Icb268526353c33afb47d312c0f242c2bf5ba3c3b

5 years agoMerge "FontConfig - Remove the font format from the match pattern." into devel/master
joogab yun [Wed, 6 Mar 2019 00:59:31 +0000 (00:59 +0000)]
Merge "FontConfig - Remove the font format from the match pattern." into devel/master

5 years agoGrid layout crash fix 88/200888/3
Daniel McEwen [Tue, 5 Mar 2019 10:12:22 +0000 (10:12 +0000)]
Grid layout crash fix

When there are no items to display, there was a divide by zero error

Change-Id: I51bf2da35b2937e4797c61b20a4bbf027b845cac

5 years agoTextField is re-laied out after its properties are changed. 31/199031/3
Huayong Xu [Fri, 1 Feb 2019 02:03:06 +0000 (10:03 +0800)]
TextField is re-laied out after its properties are changed.

Originally TextField would be re-laid out only when its state is
SELECTING and property is changed.
But in some cases, TextField need be re-laid out immediately
even if its state is INACTIVE or EDITING.

Change-Id: Ib3642e34e0d853f884526b5a9c96bb387f9c74f9
Signed-off-by: Huayong Xu <huayong.xu@samsung.com>
5 years agoFontConfig - Remove the font format from the match pattern. 82/200782/7
Joogab Yun [Mon, 4 Mar 2019 08:13:02 +0000 (17:13 +0900)]
FontConfig - Remove the font format from the match pattern.

refer) https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/200777/

Change-Id: I6ae6afe284f568e80a7d9393ea34a3b92b2b107e