Agnelo Vaz [Fri, 29 Jun 2018 11:02:03 +0000 (12:02 +0100)]
Prevent Control from positioning controls with margin/padding
Fixes the issue in which adding margins or padding to a Layout causes
the child control's Relayout to re-position itself using
this margin/padding.
This should be done by the layoutgroup not in Control.
Change-Id: Ic50b94f2d6c9503313ca93bfc7de413129e0824b
Adeel Kazmi [Fri, 29 Jun 2018 13:17:18 +0000 (13:17 +0000)]
Merge "DALi Version 1.3.30" into devel/master
adam.b [Fri, 29 Jun 2018 12:50:50 +0000 (13:50 +0100)]
DALi Version 1.3.30
Change-Id: Id90032a8f56dc96415f217dfb46c50f73e746b58
Anton Obzhirov [Tue, 26 Jun 2018 10:18:26 +0000 (11:18 +0100)]
Simplify and improve FlexLayout::OnChildMeasure.
Also FlexLayout::OnChildMeasure now uses LayoutGroup::GetChildMeasureSpec
to get measure spec for its children which is in line with other layouts.
Change-Id: I71a05e092e2ba524d1a1eb5ac3b0cd78fcac4797
Adeel Kazmi [Thu, 28 Jun 2018 16:33:58 +0000 (16:33 +0000)]
Merge "Use Actor target size for default layout." into devel/master
Seoyeon Kim [Thu, 28 Jun 2018 07:58:28 +0000 (16:58 +0900)]
Fix to use width and height correctly in flex-layout-impl.cpp
Change-Id: I2535ead9236099f738bf07c420eb058396eace50
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Agnelo Vaz [Mon, 25 Jun 2018 15:13:40 +0000 (16:13 +0100)]
Fix crash when Layer added to LayoutGroup
Change-Id: I17ca7a07509f376ad0a49cd6015147a04886cdfe
Anton Obzhirov [Fri, 22 Jun 2018 10:49:23 +0000 (11:49 +0100)]
Use Actor target size for default layout.
Change-Id: I0497f5e3284e6a5e733d5dbf9ebb13c7562ba7ab
Anton Obzhirov [Mon, 25 Jun 2018 10:04:30 +0000 (11:04 +0100)]
Fix svace issues in LinearLayout.
Change-Id: If82808ed8390cc5ae9305f495ca4647cca1a8a7a
David Steele [Fri, 22 Jun 2018 08:27:46 +0000 (08:27 +0000)]
Merge "DALi Version 1.3.29" into devel/master
Victor Cebollada [Fri, 22 Jun 2018 07:54:56 +0000 (08:54 +0100)]
DALi Version 1.3.29
Change-Id: Ie44c304b9b2a02db3a1dc23250ffa05d970f2fed
David Steele [Fri, 15 Jun 2018 15:38:10 +0000 (16:38 +0100)]
On Actor child order change signal, forces relayout of container.
If the child order changes, then relayout occurs. Note that the basic layouts work
in LayoutID order, not actor sibling order. A specialized layout has to be written
to order the children by sibling order.
Added custom layout to test harness.
Change-Id: I7c8f393ff804192eed74a23fd06b0b5763de1dc1
Signed-off-by: David Steele <david.steele@samsung.com>
Heeyong Song [Thu, 21 Jun 2018 07:01:11 +0000 (16:01 +0900)]
Inherit parent's layout animation
Change-Id: I049b087506c4aa1ed286b8aaf797709256b78e8e
David Steele [Wed, 20 Jun 2018 14:43:22 +0000 (14:43 +0000)]
Merge "Fix request layout propagation in layout tree" into devel/master
David Steele [Wed, 20 Jun 2018 14:41:40 +0000 (14:41 +0000)]
Merge "Fix RTL direction layout for LinearLayout." into devel/master
David Steele [Wed, 20 Jun 2018 13:22:38 +0000 (13:22 +0000)]
Merge "Exporting one constructor used by csharpbinder and making an API private." into devel/master
Anton Obzhirov [Tue, 19 Jun 2018 14:45:14 +0000 (15:45 +0100)]
Fix RTL direction layout for LinearLayout.
Change-Id: I43be3b6a10aa76455a920a61d20981a26070b1b4
Anton Obzhirov [Mon, 18 Jun 2018 16:10:58 +0000 (17:10 +0100)]
Fix request layout propagation in layout tree
Change-Id: I5af25ad0e7699659cb1329c7685c891873200eed
David Steele [Wed, 20 Jun 2018 11:10:15 +0000 (11:10 +0000)]
Merge "Fix linear layout size issue" into devel/master
David Steele [Wed, 20 Jun 2018 11:09:47 +0000 (11:09 +0000)]
Merge "Fix nested layout issue" into devel/master
Heeyong Song [Fri, 18 May 2018 01:26:15 +0000 (10:26 +0900)]
Change the API macros of layout
Change-Id: I149912ba6bcb33de04d27c7dbb86aa5ff56754a5
Heeyong Song [Wed, 20 Jun 2018 06:08:04 +0000 (15:08 +0900)]
Fix linear layout size issue
Change-Id: Ic129628d5a8eba3d40f074de445e31ebd441359b
Heeyong Song [Wed, 20 Jun 2018 06:00:35 +0000 (15:00 +0900)]
Fix nested layout issue
Change-Id: Ic739aa8787aa972c3fd6752f394537d15c40eb66
Anton Obzhirov [Fri, 8 Jun 2018 16:30:45 +0000 (17:30 +0100)]
Merge HBoxLayout and VBoxLayout into LinearLayout.
Change-Id: I4e1f6b50e37f8050312116f73048a026c1855b4f
David Steele [Thu, 14 Jun 2018 18:22:56 +0000 (19:22 +0100)]
Removed obsolete MARGIN_SPECIFICATION child property
LayoutGroup no longer defines MARGIN_SPECIFICATION child property
Removed from header, and migrated Vbox to use LayoutItem::GetMargin instead.
Change-Id: Id9bb90cf5faffb6162d1b9d661f855a7b7164af6
Signed-off-by: David Steele <david.steele@samsung.com>
David Steele [Thu, 14 Jun 2018 18:18:56 +0000 (19:18 +0100)]
Turned off Layout logging by default
Extended layouting logging to show when measures happen
Change-Id: Ifb2fd075162af175e3982da19ef8ef022e707dd1
Adeel Kazmi [Fri, 15 Jun 2018 08:08:40 +0000 (08:08 +0000)]
Merge "Adding Absolute layout" into devel/master
Heeyong Song [Thu, 7 Jun 2018 05:49:32 +0000 (14:49 +0900)]
Add a parameter of AddIdle function
Change-Id: I5aac12993d17d41830116298845a3b870e1e6d85
Agnelo Vaz [Tue, 12 Jun 2018 16:22:41 +0000 (17:22 +0100)]
Adding Absolute layout
An layout that allows it's children to be positioned explictly.
Use Actor::Property::POSITION to provide the position.
The children can overlap and exceed their parent's boundary.
Limitations
The absolute layout does not have it's own Padding.
Change-Id: I52d15128acd22250c90d993bb1a33afd738e1cbe
Muhammad Umar [Thu, 14 Jun 2018 18:50:36 +0000 (19:50 +0100)]
Exporting one constructor used by csharpbinder and making an API private.
Change-Id: I041537afa224654dc45db335b57778ecba074e8c
Heeyong Song [Thu, 14 Jun 2018 08:13:14 +0000 (17:13 +0900)]
Fix layout group crash
Change-Id: I6c6574794b2a8eab30fb9910426dca665f94b9a1
Anton Obzhirov [Mon, 11 Jun 2018 18:04:29 +0000 (19:04 +0100)]
Fix WIDTH_SPECIFICATION & HEIGHT_SPECIFICATION bug.
Change-Id: I10b5faacc51491fdd2cf3ca6c9181a526c0f271c
Adeel Kazmi [Wed, 13 Jun 2018 12:04:17 +0000 (12:04 +0000)]
Merge "Add FlexLayout." into devel/master
Anton Obzhirov [Thu, 24 May 2018 10:15:46 +0000 (11:15 +0100)]
Add FlexLayout.
Change-Id: Ib8aff13cf5b3ecc93eb0826b3c4ef47c39b6efb2
György Straub [Fri, 8 Jun 2018 10:49:49 +0000 (11:49 +0100)]
DALi Version 1.3.28
Change-Id: I5c77066a09061c90067e7498a6f000a2d3a03138
Anton Obzhirov [Thu, 7 Jun 2018 14:31:11 +0000 (15:31 +0100)]
Add Layout property ranges in devel Dali Toolkit properties ranges.
Change-Id: Ic01adb37b87f27058ba2362944fe98b48f1f1d58
Heeyong Song [Tue, 29 May 2018 09:43:23 +0000 (18:43 +0900)]
Added automatic premultiplication of npatch visual images
Change-Id: I9d54e66470bef8465545d59b771ae501a2a44d6b
David Steele [Fri, 1 Jun 2018 13:16:06 +0000 (14:16 +0100)]
DALi Version 1.3.27
Change-Id: I187f54fb09b9545043fd5dbbef1af05a641a6fec
Adeel Kazmi [Tue, 29 May 2018 14:25:19 +0000 (15:25 +0100)]
Fix DALI_DEBUG_RENDERING crash
Change-Id: I4a01e1b38f01e21eb45fb6995f531a36e99774ac
Adeel Kazmi [Tue, 29 May 2018 14:08:03 +0000 (14:08 +0000)]
Merge "Control Padding and Margin Properties used for layouts" into devel/master
Agnelo Vaz [Fri, 27 Apr 2018 16:08:45 +0000 (17:08 +0100)]
Control Padding and Margin Properties used for layouts
Layout base gets and sets padding and margin using Control Properties.
Control::Property::PADDING
Control::Property::MARGIN
Extra logging and GetNaturalSize fix squashed in
Change-Id: I4a8acbb2bf9761fea153581a66c1f76d620f852b
Adeel Kazmi [Thu, 24 May 2018 13:26:54 +0000 (13:26 +0000)]
Merge "DALi Version 1.3.26" into devel/master
thothamon [Thu, 24 May 2018 13:18:13 +0000 (14:18 +0100)]
DALi Version 1.3.26
Change-Id: Ia7ed67b0e6107ae50fbc8d305347addff17bc983
Adeel Kazmi [Wed, 23 May 2018 18:11:06 +0000 (19:11 +0100)]
Synchronise Automated Tests
Change-Id: Ib5167962dc478a8878dfb74d04f9e64fa1227855
Adeel Kazmi [Wed, 23 May 2018 11:23:05 +0000 (12:23 +0100)]
Fixed SVACE errors
Change-Id: I478b27d3ca840a0f867415bf7326c658177e8fb4
Adeel Kazmi [Fri, 18 May 2018 16:08:36 +0000 (16:08 +0000)]
Merge "Fix some SVACE issues for yoga third-party code." into devel/master
Adeel Kazmi [Fri, 18 May 2018 14:04:18 +0000 (14:04 +0000)]
Merge "Fix SVACE issue" into devel/master
Anton Obzhirov [Fri, 18 May 2018 13:51:56 +0000 (14:51 +0100)]
Fix some SVACE issues for yoga third-party code.
Change-Id: Ia5997f1b8c50353f8308ea5f4da00c5a9631ea28
greynaga [Fri, 18 May 2018 11:03:39 +0000 (12:03 +0100)]
DALi Version 1.3.25
Change-Id: I223d0abbe29f20e8b51d054deca707482cbc5b3a
Seoyeon Kim [Fri, 18 May 2018 02:01:46 +0000 (11:01 +0900)]
Fix SVACE issue
- Initialized member variables in control-data-impl.cpp and measure-size.h
Change-Id: I05695f892d9a0fb84c457c630d495130a7448022
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Muhammad Umar [Wed, 9 May 2018 17:15:55 +0000 (18:15 +0100)]
Rename LayoutBase class to LayoutItem.
Fixed destructors (objects with a unique_ptr to an opaque structure
cannot use default destructor, instead, the destructor must be in a
translation unit where the opaque structure is available.
Change-Id: I105907af2ff970346c5418b1121919302a67e80a
Agnelo Vaz [Thu, 12 Apr 2018 17:54:13 +0000 (18:54 +0100)]
Layout changes for NUI support.
Change-Id: Ia7e8df957468902caa675caff3c297288ea69800
David Steele [Thu, 19 Apr 2018 10:41:59 +0000 (11:41 +0100)]
New layouting classes
Rolls up the work done so far into a single patch, to avoid reviewing more code than necessary.
Updated doxygen comments.
The layout structure has been streamlined to ensure new layout classes have to do as little work
as possible; concentrating on the child-properties & measure/layout steps.
Test cases for Hbox/VboxLayout test classes are available - these 2 should be rolled up into a single
LinearLayout class (As per NUI/Android).
Change-Id: I72697b22c6cf8f08d197a0418a288b2646148308
Signed-off-by: David Steele <david.steele@samsung.com>
Anton Obzhirov [Tue, 15 May 2018 08:57:23 +0000 (09:57 +0100)]
Rebase of facebook flexbox to yoga
Change-Id: I5e9298aa22453a79393cc90d5a8e2803d38b51dd
adun [Fri, 11 May 2018 01:58:38 +0000 (09:58 +0800)]
Seperate the API macros
Change-Id: I854e0627c2890799974ab3757bf67ce3bfd1950d
xb.teng [Mon, 14 May 2018 07:59:36 +0000 (15:59 +0800)]
Fix can't call GetInputMethodContext api issue
Change-Id: I17130e11cb941b0e780bcec6206e4f55b27adb0d
Adeel Kazmi [Thu, 10 May 2018 17:37:58 +0000 (17:37 +0000)]
Merge "Add check for whether the Renderer has been created." into devel/master
thothamon [Thu, 10 May 2018 14:05:36 +0000 (15:05 +0100)]
Add check for whether the Renderer has been created.
- the Renderer is not created until after an actor has been added to
the Stage
- add test case 'UtcDaliImageVisualAnimateOpacity02' which checks
whether the Renderer is resident before the actor is staged but after a
transition has been created.
Change-Id: Ib9d450d98d8c482ff3396ddaea7b2e720d385d4e
Anton Obzhirov [Thu, 10 May 2018 14:55:31 +0000 (15:55 +0100)]
DALi Version 1.3.24
Change-Id: I677fe0ae706ecbb7c51c110da12ad4475ffccb65
Seoyeon Kim [Wed, 9 May 2018 05:57:52 +0000 (14:57 +0900)]
Check NULL return value in video-view-impl.cpp
- The return value of GetMap() has to be checked for NULL pointer dereference
in video-view-impl.cpp
Change-Id: Ic6b13c491cf8c8ac1dfef710a851833e8bf55769
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Adeel Kazmi [Fri, 4 May 2018 17:34:06 +0000 (17:34 +0000)]
Merge "Fix SVG visual not adding rasterization task on on/off stage" into devel/master
Angelos Gkountis [Fri, 4 May 2018 15:28:29 +0000 (16:28 +0100)]
DALi Version 1.3.23
Change-Id: Ia66afa08b979a4e55603f68f47bd29b55338c3fe
Anton Obzhirov [Fri, 4 May 2018 13:49:28 +0000 (14:49 +0100)]
Fix SVG visual not adding rasterization task on on/off stage
Change-Id: I8ebe1bff76378ab70bb270c277948e72d3270f0b
Adeel Kazmi [Wed, 2 May 2018 17:48:14 +0000 (18:48 +0100)]
(Automated Tests) Updated README to state the installation of the required font files
Change-Id: I4f1e92877132305dfe061b6d14c60adaa0aa8e80
Adeel Kazmi [Wed, 2 May 2018 13:02:08 +0000 (13:02 +0000)]
Merge changes I90752dc1,If040eaa9,I50559f33 into devel/master
* changes:
Fixed child property accessor in FlexContainer
Enforced member initialization for TextureManagerImpl class
Adding debug methods for Control internals
Heeyong Song [Wed, 2 May 2018 05:24:01 +0000 (14:24 +0900)]
Change test util file
Change-Id: I6ed3c8556c1f19f03643e7f3a1ef3a9ccc4d676d
David Steele [Fri, 27 Apr 2018 13:55:48 +0000 (14:55 +0100)]
Fixed child property accessor in FlexContainer
Change-Id: I90752dc1e503571ef5e69b582c5e8b9e95feacd1
David Steele [Fri, 27 Apr 2018 10:50:53 +0000 (11:50 +0100)]
Enforced member initialization for TextureManagerImpl class
Change-Id: If040eaa951abf2b0a5b10fd8d3bd2bcfbad73d8f
David Steele [Fri, 27 Apr 2018 10:24:22 +0000 (11:24 +0100)]
Adding debug methods for Control internals
Enables writing the Actor hierarchy, including control internals, as
a JSON file. Extremely useful for validating test cases.
Change-Id: I50559f3361c839ac7996581a0ba3ba902b3d2f81
David Steele [Fri, 27 Apr 2018 12:02:38 +0000 (12:02 +0000)]
Merge "DALi Version 1.3.22" into devel/master
Agnelo Vaz [Fri, 27 Apr 2018 11:05:29 +0000 (12:05 +0100)]
DALi Version 1.3.22
Change-Id: I333a29d32851c443394cbf93f19e967492d60e52
Adeel Kazmi [Fri, 27 Apr 2018 07:53:39 +0000 (07:53 +0000)]
Merge "Previous model height return problem fixed" into devel/master
Heeyong Song [Thu, 26 Apr 2018 22:57:10 +0000 (22:57 +0000)]
Merge "Change surface type in tc" into devel/master
Heeyong Song [Mon, 23 Apr 2018 06:12:57 +0000 (15:12 +0900)]
Change surface type in tc
Change-Id: Ib5c2a6835332b109d0c7eac6272137b49cc8e8c1
Joogab Yun [Thu, 12 Apr 2018 01:22:19 +0000 (10:22 +0900)]
Changed fragment shader for video playback.
value of 0,0,0,0 is required for underlay video.
the mixColor and uColor is not needed.
Change-Id: I14db8c47e51afcc498bb229d0f1e353cfa7d447e
xb.teng [Fri, 5 Jan 2018 11:39:31 +0000 (19:39 +0800)]
Refractor ImfManager to InputMethodContext
Here are some changes:
1. Add process procedure for text controls
2. Update text-editor/field for refractoring ImfManager
Change-Id: I8928b2a244d64c93e19f0df9d2486262a01ee56f
Joogab Yun [Mon, 16 Apr 2018 01:47:23 +0000 (10:47 +0900)]
Replaced ImageVisual to Renderer for video texture
- VideoView renders video textures sequentially.
- Renderer will be suitable for it.
- remove native image
Change-Id: I81d59582642be1732a4cf3d817e3dd63aa5e5c34
David Steele [Fri, 20 Apr 2018 15:10:53 +0000 (15:10 +0000)]
Merge "Remove @ref tag in front of namespace" into devel/master
David Steele [Fri, 20 Apr 2018 11:20:01 +0000 (11:20 +0000)]
Merge "Add brokenImageUrl configuration" into devel/master
Adeel Kazmi [Fri, 20 Apr 2018 10:58:15 +0000 (11:58 +0100)]
DALi Version 1.3.21
Change-Id: I9e35d3c7b39cf5c9991b1f5c9548747b4250d447
Seoyeon Kim [Fri, 20 Apr 2018 02:30:00 +0000 (11:30 +0900)]
Remove @ref tag in front of namespace
- @ref command does not need to use in front of namespace.
Change-Id: Ia5f69d2b2b52eaf2cea03d7785a4e152f7364fbe
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Jinho, Lee [Mon, 18 Dec 2017 13:45:00 +0000 (22:45 +0900)]
Previous model height return problem fixed
- GetHeightForWidth is returend text layout size.
- In two consecutive calls, this function return the previous height value, not the height value of the new model after the first time.
Change-Id: I71e8f841fd0cb0c6b816b9996344c7cd0d27530e
minho.sun [Mon, 9 Apr 2018 08:06:59 +0000 (17:06 +0900)]
Add brokenImageUrl configuration
App developers can set their own broken image by stylesheet now
Signed-off-by: minho.sun <minho.sun@samsung.com>
Please enter the commit message for your changes. Lines starting
with '#' will be ignored, and an empty message aborts the commit.
On branch devel/master
Change-Id: Iedc819063ba6782dcf36c4b83ce115bcd820bbea
adam.b [Fri, 13 Apr 2018 10:49:04 +0000 (11:49 +0100)]
DALi Version 1.3.20
Change-Id: I27f6885e95b55fc2d42264a719c226295709f161
Seoyeon Kim [Wed, 28 Feb 2018 04:18:39 +0000 (13:18 +0900)]
Modify InputMethod enumeration in utc-Dali-TextField.cpp
Change-Id: I52c73edda3ec3a151c343f7a071b5c85ba481b52
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Adeel Kazmi [Mon, 9 Apr 2018 16:56:47 +0000 (16:56 +0000)]
Merge "Check NULL return value in builder-impl.cpp" into devel/master
Richard Huang [Fri, 6 Apr 2018 13:55:16 +0000 (14:55 +0100)]
DALi Version 1.3.19
Change-Id: I8e662ea60213a2b9f5a9766228842fa51fdf8d21
Umar [Tue, 3 Apr 2018 13:22:47 +0000 (14:22 +0100)]
Modified spec file to add support for tracing.
Change-Id: Ie61d351b3ac5dcb0e8a5a41185f42bad71e41d9f
Joogab Yun [Sun, 1 Apr 2018 23:43:24 +0000 (08:43 +0900)]
add doc for API reference
Change-Id: I7b11790c7d352bdfe2de00fc3e05bfce9586e62a
Joogab Yun [Thu, 29 Mar 2018 09:16:05 +0000 (18:16 +0900)]
add doc for API reference
Change-Id: I31ca273bd345fd9bb509e67925a8fcbac8a13df1
György Straub [Thu, 29 Mar 2018 13:03:42 +0000 (14:03 +0100)]
DALi Version 1.3.18
Change-Id: Ic4f20ca1f120abf27d73189f46bc521602173422
Seoyeon Kim [Wed, 28 Mar 2018 02:25:14 +0000 (11:25 +0900)]
Check NULL return value in builder-impl.cpp
Change-Id: I898260969132bdfcca32ece6c9fdac4efe693f08
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Heeyong Song [Tue, 27 Mar 2018 01:25:02 +0000 (01:25 +0000)]
Merge "supports remote URL gif image" into devel/master
Adeel Kazmi [Mon, 26 Mar 2018 16:59:40 +0000 (16:59 +0000)]
Merge "Fix Coverity issues" into devel/master
Joogab Yun [Mon, 26 Mar 2018 05:26:12 +0000 (14:26 +0900)]
supports remote URL gif image
Change-Id: I4ab7bff9b1330e0745b3c31ef574fd5cffcd788e
Heeyong Song [Fri, 16 Mar 2018 02:30:09 +0000 (11:30 +0900)]
Make alpha value pre-multiplied in all text cases
Change-Id: I2260efc5546b1b11e35102d481ed96e0a72a39c8
Heeyong Song [Mon, 26 Mar 2018 01:44:35 +0000 (01:44 +0000)]
Merge "Change the fitting mode to FILL" into devel/master
Seoyeon Kim [Wed, 21 Mar 2018 08:08:53 +0000 (17:08 +0900)]
Fix Coverity issues
Change-Id: I1fe9eeda77d162f0471e24a81b626fe7c24d21a9
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Umar [Fri, 23 Mar 2018 13:40:52 +0000 (13:40 +0000)]
DALi Version 1.3.17
Change-Id: Ie51cf194df729dcf6e557b86071c9c8039c7c92f
Heeyong Song [Thu, 22 Mar 2018 06:56:14 +0000 (06:56 +0000)]
Merge "Replace visual opacity with Renderer's opacity" into devel/master