platform/core/uifw/dali-toolkit.git
3 months agoUpdated the spec file so that it builds for tizen devel/vulkan
Adeel Kazmi [Thu, 1 Aug 2024 17:20:58 +0000 (18:20 +0100)]
Updated the spec file so that it builds for tizen

Change-Id: I0c192acb858a2bc0ac29a73544b8373c690167a2

6 months agoUpdated expected public headers
David Steele [Thu, 9 May 2024 18:02:33 +0000 (19:02 +0100)]
Updated expected public headers

6 months agoDowngrading to API 1
David Steele [Thu, 9 May 2024 16:37:23 +0000 (17:37 +0100)]
Downgrading to API 1

Also fixed up adaptor integration dir changes

8 months agoUpdating to CMake build system
David Steele [Thu, 22 Feb 2024 13:32:57 +0000 (13:32 +0000)]
Updating to CMake build system

8 months agoUpdating code for modern compiler
David Steele [Mon, 19 Feb 2024 17:19:09 +0000 (17:19 +0000)]
Updating code for modern compiler

5 years agoMerge branch 'devel/master' into devel/vulkan
adam.b [Thu, 18 Apr 2019 11:03:32 +0000 (12:03 +0100)]
Merge branch 'devel/master' into devel/vulkan

Change-Id: Id908c078a78f485d7b0d726ca84c69aff61528b5

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 agoMerge branch 'devel/master' into devel/vulkan
adam.b [Thu, 11 Apr 2019 17:13:14 +0000 (18:13 +0100)]
Merge branch 'devel/master' into devel/vulkan

Change-Id: Ife614c2b1fba903974538bfa3f9d28f2ff4fc628

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

5 years agoMerge "Check the keyString value." into devel/master
joogab yun [Mon, 4 Mar 2019 04:32:58 +0000 (04:32 +0000)]
Merge "Check the keyString value." into devel/master

5 years agoDALi Version 1.4.9 40/200740/1 dali_1.4.9
greynaga [Fri, 1 Mar 2019 14:34:49 +0000 (14:34 +0000)]
DALi Version 1.4.9

Change-Id: I6b50db12dee283789e467a1007891b6bd9de31ff

5 years agoCheck the keyString value. 70/200670/2
Joogab Yun [Thu, 28 Feb 2019 04:17:25 +0000 (13:17 +0900)]
Check the keyString value.

* A problem occurs because ClearPreEditFlag is called unnecessarily.
1. input 'A' on ime : case InputMethodContext::PRE_EDIT and text is 'A'
2. input key event : keyString is empty and called
mImpl->ClearEditFlag();
3. callback OnInputMethodContextEvent() : InputMethodContext::commit and
text is 'A'
4. then pre edit text is not removed. Because clearEditFlag was called.
5. so, we see 'AA', not 'A'

Change-Id: I1658ccc0679b763c04c1d13f1faf7e0f9d3ac2ea

5 years agoRemove the indicator 83/200483/3
Richard Huang [Mon, 25 Feb 2019 17:48:14 +0000 (17:48 +0000)]
Remove the indicator

Change-Id: I3416b8fdcccb205ca5c1546304d6a906d4476427

5 years agoMerge "Fixed an incorrect ellipsis" into devel/master
joogab yun [Tue, 26 Feb 2019 00:33:52 +0000 (00:33 +0000)]
Merge "Fixed an incorrect ellipsis" into devel/master

5 years agoUsing delete[] for pointer that created with new[] 11/197611/3
SinJae Lee [Mon, 14 Jan 2019 03:35:07 +0000 (12:35 +0900)]
Using delete[] for pointer that created with new[]

==3825== Thread 1:
==3825== Mismatched free() / delete / delete []
==3825==    at 0x484739C: operator delete(void*) (vg_replace_malloc.c:575)
==3825==    by 0x6AA5BFF: Dali::Toolkit::Text::FreeFontFamilyNames(Dali::Vector<Dali::Toolkit::Text::FontDescriptionRun, true>&) (logical-model-impl.cpp:41)
==3825==    by 0x6AAA8F7: Dali::Toolkit::Text::Controller::SetText(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (text-controller.cpp:501)
==3825==    by 0x6A8FE63: Dali::Toolkit::Internal::TextLabel::SetProperty(Dali::BaseObject*, int, Dali::Property::Value const&) (text-label-impl.cpp:183)
==3825==    by 0x49B0995: Dali::Internal::TypeInfo::SetProperty(Dali::BaseObject*, int, Dali::Property::Value const&) const (type-info-impl.cpp:775)
==3825==    by 0x49ABA7D: Dali::Internal::Object::SetProperty(int, Dali::Property::Value const&) (object-impl.cpp:441)

==3825==  Address 0x11461530 is 0 bytes inside a block of size 5 alloc'd
==3825==    at 0x48466E8: operator new[](unsigned int) (vg_replace_malloc.c:416)
==3825==    by 0x6AA6CD3: Dali::Toolkit::Text::ProcessFontTag(Dali::Toolkit::Text::Tag const&, Dali::Toolkit::Text::FontDescriptionRun&) (markup-processor-font.cpp:62)
==3825==    by 0x6AA6801: Dali::Toolkit::Text::ProcessMarkupString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Dali::Toolkit::Text::MarkupProcessData&) (markup-processor.cpp:633)
==3825==    by 0x6AAA95D: Dali::Toolkit::Text::Controller::SetText(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (text-controller.cpp:529)
==3825==    by 0x6A8FE63: Dali::Toolkit::Internal::TextLabel::SetProperty(Dali::BaseObject*, int, Dali::Property::Value const&) (text-label-impl.cpp:183)
==3825==    by 0x49B0995: Dali::Internal::TypeInfo::SetProperty(Dali::BaseObject*, int, Dali::Property::Value const&) const (type-info-impl.cpp:775)

Change-Id: I2d04f99bbb37a635f0b72929ce8ce9915e124359

5 years agoFix ImageView issue 32/199432/5
Heeyong Song [Mon, 11 Feb 2019 09:12:32 +0000 (18:12 +0900)]
Fix ImageView issue

Fix the issue that ImageView::Property::PRE_MULTIPLIED_ALPHA didn't work

Change-Id: Iaffb788b5202c95e9b109c3a27270ddcb678ca79

5 years agoAdd EmitKeyInputFocusSignal to control-wrapper-impl 03/200003/8
huiyu.eun [Wed, 13 Feb 2019 08:16:03 +0000 (17:16 +0900)]
Add EmitKeyInputFocusSignal to control-wrapper-impl

Fix TCT block issue

Change-Id: I97c54c89c6d9216a4a8908959d7f0d35e3029603
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
5 years agoMerge "Support multiple window rendering" into devel/master
David Steele [Fri, 22 Feb 2019 16:23:07 +0000 (16:23 +0000)]
Merge "Support multiple window rendering" into devel/master

5 years agoDALi Version 1.4.8 90/200390/1 dali_1.4.8
David Steele [Fri, 22 Feb 2019 14:32:14 +0000 (14:32 +0000)]
DALi Version 1.4.8

Change-Id: Ia8a7c51dca5857ddb99903af2b76e261afe6a51a

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 agoAdd right shift handling for text controller 40/198640/4
xb.teng [Mon, 28 Jan 2019 09:09:57 +0000 (17:09 +0800)]
Add right shift handling for text controller

Change-Id: I50568264b6b8aba70b2c23b7d7a7f96502b83ea9

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 agoFixed an incorrect ellipsis 71/199371/2
Joogab Yun [Mon, 11 Feb 2019 04:13:53 +0000 (13:13 +0900)]
Fixed an incorrect ellipsis

ex) An ellipsis may be displayed incorrectly when there are two or more
new-line characters.

    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, 500.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: Ib04a4846eb7a431164913e298dc634561842ba3f

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 branch 'devel/master' into devel/vulkan
David Steele [Thu, 7 Feb 2019 16:15:24 +0000 (16:15 +0000)]
Merge branch 'devel/master' into devel/vulkan

Change-Id: I22b968734e1e0bc5878c4416053e70be1aff7cd1

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