platform/core/uifw/dali-toolkit.git
5 years agoSupport multiple window rendering 80/198680/5
Anton Obzhirov [Mon, 28 Jan 2019 16:49:50 +0000 (16:49 +0000)]
Support multiple window rendering

Change-Id: I709fc27d6e1f4f118139ebfcd877a8421a908969

5 years agoMerge "Text improvement 1. Text - Layout text & icons. * Feature added to layout...
joogab yun [Wed, 20 Feb 2019 00:39:56 +0000 (00:39 +0000)]
Merge "Text improvement 1. Text - Layout text & icons. * Feature added to layout text and icons.   Icons can be added using the mark-up string feature." into devel/master

5 years agoFix Underline property issue 21/199521/8
huiyu.eun [Tue, 12 Feb 2019 10:13:30 +0000 (19:13 +0900)]
Fix Underline property issue

if an underline is not set a string, property map is set to value.

Change-Id: I3036d036d7178d59d26e6608f01c3aa69cf562f8
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
5 years agoFix z value issue 81/193381/7
huiyu.eun [Tue, 20 Nov 2018 02:49:30 +0000 (11:49 +0900)]
Fix z value issue

Change-Id: I9d3f72e5001cdf9ef81a8d30d0e9ee9733790e0a
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
5 years agoText improvement 73/197773/28
Joogab Yun [Wed, 16 Jan 2019 07:18:38 +0000 (16:18 +0900)]
Text improvement
1. Text - Layout text & icons.
* Feature added to layout text and icons.
  Icons can be added using the mark-up string feature.

  i.e.
   "Hello <item 'url'='icon.png'/>"

  The icon can be resized with the 'width' and 'height' properties.

  "Hello <item 'url'='icon.png' 'width'=24 'height'=24/>"

  Optionally only a size can be specified. The layout engine will layout the text with the gaps of the given size and
  retrieve the layout info of those gaps. It's the responsability of the user to fill the pixel buffer with the images.

* New 'item' tag added to the mark-up processor.

2. Text - Bitmap fonts
* Add support for bitmap fonts.

3. Text renderer utils - Set color to glyphs.
* Required to set the color of the embedded items
  and the glyphs of the bitmap fonts.
* Attribute added to the <item> tag that
  specifies if the color of the item has to be
  blended with the color of the text.
* <color> tag processed and sent to the
  TextRenderer class in adaptor.

* The color of font and bitmap font glyphs can be set
  individually with the <color> tag in a markup string
  or globally if the default color is set.
  If no default color is set, font glyphs will be white
  and bitmap font glyphs will use their colors.

* By default embedded items will use their colors. If
  the attribute 'color-blending' is set to 'multiply'
  the color of the text will be multiplied by the color
  of the item image. If the image is white the result
  will be the color of the text.

  "Hello <item 'url'='image.png' 'color-blending'='multiply'>

4. Text Utils - Render color Emojis.

* Cairo renders Emojis in black and white. This
  patch tells the Cairo renderer whether each
  glyph is an Emoji.

5. Circular text implementation.
* New parameters added to the DevelText::RendererParameters
  struct for circular text.
  - layout: The type of layout: one of {"singleLine",
    "multiLine", "circular"}
  - circularAlignment: The text alignment within the arc:
    one of {"begin", "center", "end"}
  - radius: The radius in pixels of the circular text.
    Measured from the center to the top of the line.
  - beginAngle: The begin angle in degrees of the text area
    on the circle. The top of the circle is 0°, the right
    side 90°, the bottom 180° and the left 270°.
  - incrementAngle: The increment angle in degrees of the
    text area on the circle. The @p incrementAngle defines
    a direction. If positive, the text will be laid out
    clockwise.

  @note the horizontalAlignment and verticalAlignment can
  be used to align the whole text within the text area.

* Example: How to set parameters for circular text from
  a C++ application

  Dali::Toolkit::DevelText::RendererParameters textParameters;
  textParameters.text = "Hello world, this is a demo of circular text.";
  textParameters.horizontalAlignment = "center";
  textParameters.verticalAlignment = "center";
  textParameters.circularAlignment = "center";
  textParameters.layout = "circular";
  textParameters.textColor = Color::BLACK;
  textParameters.fontSize = 16.f;
  textParameters.textWidth = 360u;
  textParameters.textHeight = 360u;
  textParameters.radius = 130u;
  textParameters.beginAngle = 180.f;
  textParameters.incrementAngle = 360.f;
  textParameters.ellipsisEnabled = true;

6. Text Utils - Rotate emojis/embedded items.
* Retrieves the layout for rotated embedded items
  added in a second step.
* When the emoji glyph is the one that is replaced
  by the ellipsis glyph, the 'isEmoji' vector pased
  to the cairo-renderer needs to be updated to
  state that '...' is not an emoji.

7. Software italic/bold issues fixed.
* Fixes issues with the synthesis of bold and italic style by software.

Change-Id: I74129ae2e79e23e825a2ef92baa651d7db4e1e57

5 years agoFix SVACE issue - missing break 72/199972/1
Heeyong Song [Mon, 18 Feb 2019 04:23:10 +0000 (13:23 +0900)]
Fix SVACE issue - missing break

Change-Id: Ic17215546c81e06fe7a91dbf2eb44cf53f9b4832

5 years agoMerge "Fixing SVACE error on 3rd party template" into devel/master
Adeel Kazmi [Fri, 15 Feb 2019 12:15:01 +0000 (12:15 +0000)]
Merge "Fixing SVACE error on 3rd party template" into devel/master

5 years agoFixing SVACE error on 3rd party template 35/199335/2
David Steele [Fri, 8 Feb 2019 16:18:04 +0000 (16:18 +0000)]
Fixing SVACE error on 3rd party template

Separated error value from decoded value.

Change-Id: If4d6f683d2f7d212a7146699c375454011170674

5 years agoMerge "Fix ImageVisual to work Action::RELOAD" into devel/master
Heeyong Song [Thu, 14 Feb 2019 23:51:38 +0000 (23:51 +0000)]
Merge "Fix ImageVisual to work Action::RELOAD" into devel/master

5 years agoDALi Version 1.4.7 01/199801/1 dali_1.4.7
Anton Obzhirov [Thu, 14 Feb 2019 14:07:26 +0000 (14:07 +0000)]
DALi Version 1.4.7

Change-Id: I504298cded2dff86f0c7859dc13eef49f88c5ab9

5 years agoFix ImageVisual to work Action::RELOAD 06/199506/2
Heeyong Song [Tue, 12 Feb 2019 07:52:46 +0000 (16:52 +0900)]
Fix ImageVisual to work Action::RELOAD

Change-Id: Iece581af9dcade430593b09de9ea3dad990d1f9c

5 years agoAdded custom control test for Builder 52/199452/1
Paul Wisbey [Mon, 11 Feb 2019 12:02:07 +0000 (12:02 +0000)]
Added custom control test for Builder

Change-Id: I13e841780547cb9ae98b65ee40c79bcd14a27570

5 years ago(AnimatedVectorImageVisual) Add some features 87/196487/4
Heeyong Song [Mon, 31 Dec 2018 05:25:19 +0000 (14:25 +0900)]
(AnimatedVectorImageVisual) Add some features

- Add Property::CURRNT_PROGRESS
- Add Action::UPDATE_PROPERTY

Change-Id: I61b3bc076ac6cacd1a0fe98af78c112a53f88a9e

5 years agoMerge "Add doxygen tagging support for Tizen 5.5" into devel/master
Adeel Kazmi [Fri, 8 Feb 2019 12:27:10 +0000 (12:27 +0000)]
Merge "Add doxygen tagging support for Tizen 5.5" into devel/master

5 years agoMerge "Processor interface moved from core.h" into devel/master
Adeel Kazmi [Fri, 8 Feb 2019 12:21:42 +0000 (12:21 +0000)]
Merge "Processor interface moved from core.h" into devel/master

5 years agoDALi Version 1.4.6 24/199324/1 dali_1.4.6
Agnelo Vaz [Fri, 8 Feb 2019 12:15:07 +0000 (12:15 +0000)]
DALi Version 1.4.6

Change-Id: I74a58e6dd49700e9fd8fc96887f95b73896abefa

5 years agoAdd doxygen tagging support for Tizen 5.5 92/199292/1
Seoyeon Kim [Fri, 8 Feb 2019 07:19:48 +0000 (16:19 +0900)]
Add doxygen tagging support for Tizen 5.5

Change-Id: I4499ed9a1e19d7ed887c146706ba9df12219f86e
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
5 years agoProcessor interface moved from core.h 46/199246/2
Agnelo Vaz [Thu, 7 Feb 2019 16:23:49 +0000 (16:23 +0000)]
Processor interface moved from core.h

Change-Id: I598786a682f51a53437e44977fa2a78f450a4255

5 years agoMerge "(Automated Tests) All tests passing on Ubuntu 16.04" into devel/master
David Steele [Wed, 6 Feb 2019 15:24:54 +0000 (15:24 +0000)]
Merge "(Automated Tests) All tests passing on Ubuntu 16.04" into devel/master

5 years agoMerge "Ensured ImageView requests inside ResourceReady signal handler are queued...
Adeel Kazmi [Fri, 1 Feb 2019 12:19:12 +0000 (12:19 +0000)]
Merge "Ensured ImageView requests inside ResourceReady signal handler are queued." into devel/master

5 years agoDALi Version 1.4.5 79/199079/1 dali_1.4.5
Adeel Kazmi [Fri, 1 Feb 2019 11:57:42 +0000 (11:57 +0000)]
DALi Version 1.4.5

Change-Id: I144586803888611a0eea61bb34663545a032a626

5 years agoEnsured ImageView requests inside ResourceReady signal handler are queued. 07/172407/9
David Steele [Tue, 13 Mar 2018 20:38:09 +0000 (20:38 +0000)]
Ensured ImageView requests inside ResourceReady signal handler are queued.

Deferring ImageView load requests until after ResourceReady signal
handler.  has completed ensures that attempting to re-load images
doesn't fail to send a second ResourceReady callback.

Now also tries to re-load images that had previously failed.

TextureManager::LoadTexture() now checks for deferred loading when
setting 'loading' flag in output parameters. Note, loading an existing
texture may also cause loading flag to get set - this is to ensure
that the caller, e.g. ImageVisual handles the deferred Complete
callback as if it were asynchronous.

An application can still cause an infinite loop if it doesn't have a max
retry count when attempting to re-load failed images inside the signal
handler. This is considered to be an application bug, not a DALi bug.
( Control::ResourceReady signal is not a one-shot signal).

Change-Id: I2c505623ce5e02d3ae67e6e06fd80d5108dc8ade
Signed-off-by: David Steele <david.steele@samsung.com>
5 years ago(Automated Tests) All tests passing on Ubuntu 16.04 18/198318/5
Adeel Kazmi [Wed, 23 Jan 2019 18:14:09 +0000 (18:14 +0000)]
(Automated Tests) All tests passing on Ubuntu 16.04

Change-Id: I204e5496dd9d0de2a0b558bf2133b5bd4801a5cd

5 years agoMerge "(AnimatedVectorImageVisual) Change renderer on stage again" into devel/master
Heeyong Song [Tue, 29 Jan 2019 07:38:50 +0000 (07:38 +0000)]
Merge "(AnimatedVectorImageVisual) Change renderer on stage again" into devel/master

5 years ago(AnimatedVectorImageVisual) Change renderer on stage again 14/196514/7
Heeyong Song [Wed, 2 Jan 2019 02:42:58 +0000 (11:42 +0900)]
(AnimatedVectorImageVisual) Change renderer on stage again

Change-Id: I9a3d6815fddd6e6c6c6c9c4ccb1d63950b41c283

5 years agoFixed some errors reported by Clang 56/198456/2
Adeel Kazmi [Thu, 24 Jan 2019 15:43:27 +0000 (15:43 +0000)]
Fixed some errors reported by Clang

Change-Id: I0b4cc08c8756fd4c0a080c55ea29c63ae3acd5bf

5 years agoDALi Version 1.4.4 69/198569/1 dali_1.4.4
adam.b [Fri, 25 Jan 2019 12:20:23 +0000 (12:20 +0000)]
DALi Version 1.4.4

Change-Id: Ieeb62a6c66c66d3b1147a2d702e151c814f4a05b

5 years ago(AutomatedTests) Use the correct font but make the test more generic 17/198317/2
Adeel Kazmi [Wed, 23 Jan 2019 17:00:41 +0000 (17:00 +0000)]
(AutomatedTests) Use the correct font but make the test more generic

Rather than rely on hard-coded value

Change-Id: I1b52b61aca3707f412adedd3cb68f2adba9bb316

5 years agoChange WebView API 21/193921/9
Jiyun Yang [Wed, 21 Nov 2018 10:53:39 +0000 (19:53 +0900)]
Change WebView API

* Rename AddJavaScriptInterface to AddJavaScriptMessageHandler
* Change arguments of AddJavaScriptMessageHandler
* Remove RemoveJavascriptInterface

Change-Id: I8bd1eba255fec8913410cac82527be53e5daa832
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
5 years agoDALi Version 1.4.3 76/198076/1 dali_1.4.3
Victor Cebollada [Fri, 18 Jan 2019 10:44:20 +0000 (10:44 +0000)]
DALi Version 1.4.3

Change-Id: Id917078fba3258c445194a603703eec5f12310d9

5 years agoRestore the deprecated properties of TextLabel/TextField 01/197701/2
Seoyeon Kim [Tue, 15 Jan 2019 10:53:41 +0000 (19:53 +0900)]
Restore the deprecated properties of TextLabel/TextField

- One former patch removed some deprecated APIs.
- But, to keep binary compatibility, the table of Property and the number of properties
  should be same, even though the properties can be removed.
- Instead, Property names change to RESERVED_PROPERTY_*, not to be used in an application

Change-Id: I5665228d57f4977ff23cd151a3b36eab003e98e6
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
5 years agoMerge "Enum properties added for the text effects style." into devel/master
Adeel Kazmi [Mon, 14 Jan 2019 10:40:50 +0000 (10:40 +0000)]
Merge "Enum properties added for the text effects style." into devel/master

5 years agoMerge "Add the logical key to Integration::KeyEvent" into devel/master
Seoyeon Kim [Mon, 14 Jan 2019 05:13:41 +0000 (05:13 +0000)]
Merge "Add the logical key to Integration::KeyEvent" into devel/master

5 years agoAdd VisualEventSignal to Control and a property to AnimatedVectorImageVisual 21/196221/6
Heeyong Song [Wed, 26 Dec 2018 09:31:20 +0000 (18:31 +0900)]
Add VisualEventSignal to Control and a property to AnimatedVectorImageVisual

- Add VisualEventSignal to Control
- Add DevelImageVisual::Property::PLAY_STATE
- Add DevelAnimatedVectorImageVisual::Signal::ANIMATION_FINISHED
- Remove DevelAnimatedVectorImageVisual::Action::RESUME

Change-Id: Ic3b75971e58bab8b6f9d97d3220041ead22a2f86

5 years agoEnum properties added for the text effects style. 37/197437/2
Victor Cebollada [Thu, 10 Jan 2019 15:30:15 +0000 (15:30 +0000)]
Enum properties added for the text effects style.

* The keys of type string exist but keys of type Property::Index are missing.

Change-Id: Id959e72a2f5e1ba9b47b85fee1f0419fdce05b14
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
5 years agoDALi Version 1.4.2 95/197495/1 dali_1.4.2
Richard Huang [Fri, 11 Jan 2019 12:39:05 +0000 (12:39 +0000)]
DALi Version 1.4.2

Change-Id: I61627907aade3e4861b91d30102b7ef43027080b

5 years agoMerge "Fix typo in visual-properties" into devel/master
sunghyun kim [Wed, 9 Jan 2019 08:56:55 +0000 (08:56 +0000)]
Merge "Fix typo in visual-properties" into devel/master

5 years agoChange the default value of matchSystemLanguageDirection to false. 36/197036/1
Joogab Yun [Wed, 9 Jan 2019 04:30:14 +0000 (13:30 +0900)]
Change the default value of matchSystemLanguageDirection to false.

Change-Id: I0942ac409b12f4d6e2233cb5713888b66a98b019

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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

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

6 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

6 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

6 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

6 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>
6 years agoAdd the logical key to Integration::KeyEvent 43/193443/2
Seoyeon Kim [Tue, 20 Nov 2018 07:10:47 +0000 (16:10 +0900)]
Add the logical key to Integration::KeyEvent

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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

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

Change-Id: Ia391c66de3ea76c590d5f1fb5caa0d0aba3d05e1

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