platform/core/uifw/dali-toolkit.git
6 years ago[4.0] SVACE Error fix TextureManager Thread bounds 32/163632/3
Agnelo Vaz [Tue, 12 Dec 2017 10:19:46 +0000 (10:19 +0000)]
[4.0] SVACE Error fix TextureManager Thread bounds

Should be able to resolve SVACE error by asserting on the maximum number allowed.

Preventing TextureManager sign-compare Error with strtoul (old arch)

Change-Id: I081635e8f1f1a69e7426041344440a53c5b80121

6 years ago[4.0] Modified GetTextDirection for TEXT_DIRECTION property 90/163590/3
taeyoon0.lee [Tue, 12 Dec 2017 08:18:18 +0000 (17:18 +0900)]
[4.0] Modified GetTextDirection for TEXT_DIRECTION property

 - Requirement is to check always the direction if textlabel gets text.

Change-Id: I0fe40c84f9cf1567fa7ae5acdfdea46f1b71911a

6 years ago[4.0] Remove unused conditional in TextController 55/163555/1
Seoyeon Kim [Tue, 12 Dec 2017 05:01:27 +0000 (14:01 +0900)]
[4.0] Remove unused conditional in TextController

 - ( mImpl->mEventData->mPrimaryCursorPosition >= 0 ) conditional is useless,
 becuase mPrimaryCursorPosition is unsigned int type, so it's always greater
 than or equal to zero.
 - Removed the unused conditional in text-controller.cpp

Change-Id: I9b0ec109f29accd8535eb5022ba404270193a9d0
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years ago[4.0] DALi Version 1.2.70 02/163402/2 accepted/tizen/4.0/unified/20171212.064847 submit/tizen_4.0/20171211.060416
dongsug.song [Mon, 11 Dec 2017 04:28:28 +0000 (13:28 +0900)]
[4.0] DALi Version 1.2.70

Change-Id: Ib0a22b4f23eac4291351f8605434f0f7a19b423b
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
6 years ago[4.0] Add codes to prevent underflow 17/163417/1
Heeyong Song [Mon, 11 Dec 2017 05:40:30 +0000 (14:40 +0900)]
[4.0] Add codes to prevent underflow

Change-Id: Id5d5205f587885c288744d7315ba966f0357c951

6 years ago[4.0] Fix shader compile error fix in npatch visual 82/163382/1
Heeyong Song [Mon, 11 Dec 2017 02:48:42 +0000 (11:48 +0900)]
[4.0] Fix shader compile error fix in npatch visual

Change-Id: I86677282cbffcc0744858dd250509dba128fab0b

6 years agoMerge "[4.0] Compare numberOfCharacters to delete all texts" into tizen_4.0
Seoyeon Kim [Mon, 11 Dec 2017 02:10:21 +0000 (02:10 +0000)]
Merge "[4.0] Compare numberOfCharacters to delete all texts" into tizen_4.0

6 years agoMerge "[4.0] Send the empty string to IME when PlaceholderText shows" into tizen_4.0
dongsug song [Mon, 11 Dec 2017 02:02:04 +0000 (02:02 +0000)]
Merge "[4.0] Send the empty string to IME when PlaceholderText shows" into tizen_4.0

6 years agoMerge "[4.0] Fix comment to remove Doxygen tool warning" into tizen_4.0
dongsug song [Mon, 11 Dec 2017 01:55:33 +0000 (01:55 +0000)]
Merge "[4.0] Fix comment to remove Doxygen tool warning" into tizen_4.0

6 years ago[4.0] Compare numberOfCharacters to delete all texts 26/163026/2
Seoyeon Kim [Thu, 7 Dec 2017 02:43:54 +0000 (11:43 +0900)]
[4.0] Compare numberOfCharacters to delete all texts

Change-Id: I408f601f99e76854f47e19ea189b1edb0e8ba05d
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years ago[4.0] Send the empty string to IME when PlaceholderText shows 55/163255/2
Seoyeon Kim [Fri, 8 Dec 2017 07:29:45 +0000 (16:29 +0900)]
[4.0] Send the empty string to IME when PlaceholderText shows

- Fixed to send the empty string to IME when PlaceholderText shows.
  When DALi receives Retrieve surrounding event, should send IME
  only Normal Text, not Placeholder Text.

Change-Id: I9b5cb18fc2c7bc8e57854c4acaaae6a9413cc5da
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years ago[4.0] Ignore DALI_KEY_SOURCE in text controller 32/163232/3
minho.sun [Fri, 8 Dec 2017 05:31:34 +0000 (14:31 +0900)]
[4.0] Ignore DALI_KEY_SOURCE in text controller

Ignore DALI_KEY_SOURCE in text controller.

Change-Id: I789ccd5f7cc54c33c24e24ffca551543ee7e8bb8
Signed-off-by: minho.sun <minho.sun@samsung.com>
6 years ago[4.0] Fix comment to remove Doxygen tool warning 03/163203/1
minho.sun [Fri, 8 Dec 2017 02:36:20 +0000 (11:36 +0900)]
[4.0] Fix comment to remove Doxygen tool warning

Fix comment to remove Doxygen tool warning

Change-Id: I709097c89bd2e2a94d83ee6afca3bcd5733eae24

6 years ago[4.0] Fix the text issue of RTL language while changing font family dynamically 74/163174/1
Richard Huang [Thu, 7 Dec 2017 12:42:35 +0000 (12:42 +0000)]
[4.0] Fix the text issue of RTL language while changing font family dynamically

Change-Id: I29b9df5500d09c060fbe20aa6fa11f8c82fbc15e

6 years ago[4.0] Fixed text scroller pre multiplied alpha issue. 23/163123/1 accepted/tizen/4.0/unified/20171207.124753 submit/tizen_4.0/20171207.094309
Jinho, Lee [Thu, 7 Dec 2017 09:02:05 +0000 (18:02 +0900)]
[4.0] Fixed text scroller pre multiplied alpha issue.

Change-Id: Id35f46c30af5b5f14536a879af93f299e467db26

6 years ago[4.0] Fix bug with mixed language text 02/163102/1
Francisco Santos [Tue, 5 Dec 2017 23:21:04 +0000 (23:21 +0000)]
[4.0] Fix bug with mixed language text

Change-Id: I72d097564961fd8c16678cea46f0f15152f91376

6 years ago[4.0] Add the protected code and fix the crash issue 80/162680/7 accepted/tizen/4.0/unified/20171206.140506 submit/tizen_4.0/20171206.080250
Seoyeon Kim [Mon, 4 Dec 2017 05:59:08 +0000 (14:59 +0900)]
[4.0] Add the protected code and fix the crash issue

- When visualModel->mLines.Begin() is NULL, do nothing in GetCursorPosition().
- When the user tries to input some texts in TextField, and its size is fitted
  to its parent, which size is (0,0) by Relayout, then set mTextUpdateInfo.mNumberOfCharactersToAdd
  as the current text for UpdateModel().

Change-Id: Iea0a251ba2061389bf7a00476bf126d9669da50c
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years ago[4.0] DALi version 1.2.69 54/162754/1 accepted/tizen/4.0/unified/20171205.221941 accepted/tizen/4.0/unified/20171205.222146 submit/tizen_4.0/20171205.071939 submit/tizen_4.0/20171205.085322 submit/tizen_4.0/20171205.134230
Heeyong Song [Tue, 5 Dec 2017 07:09:16 +0000 (16:09 +0900)]
[4.0] DALi version 1.2.69

Change-Id: Ibb06da02aa3060f8d5f7e355ea55c3a044aca988

6 years agoMerge "[4.0] Added devel api header for text direction in Makefile" into tizen_4.0
taeyoon0.lee [Mon, 4 Dec 2017 07:30:04 +0000 (07:30 +0000)]
Merge "[4.0] Added devel api header for text direction in Makefile" into tizen_4.0

6 years ago[4.0] ImageVisual Action::Reload added 85/162385/3
Agnelo Vaz [Mon, 20 Nov 2017 13:23:41 +0000 (13:23 +0000)]
[4.0] ImageVisual Action::Reload added

Reload forces reloading causing the texture to be reloaded even if cached.
It updates all uses of this texture (same id) across all image visuals.

The texture is replaced hence the renderer gets updated
 as already references the TextureSet.

Change-Id: Idb484d18373d54083727c80f563b7a5f7fb2be8c
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
6 years ago[4.0] Support Shift+Left/Right keys for text selection and Ctrl+C/V/X for text copy... 45/162445/3
Richard Huang [Wed, 29 Nov 2017 14:15:20 +0000 (14:15 +0000)]
[4.0] Support Shift+Left/Right keys for text selection and Ctrl+C/V/X for text copy/paste/cut

Change-Id: I2135bf267424dc9e207fc5995280951033d02fc0
(cherry picked from commit 718e975ec30138ecd521ed2e4afdcf84172f0b08)

6 years ago[4.0] Action framework for visuals 84/162384/2
Agnelo Vaz [Thu, 16 Nov 2017 19:36:03 +0000 (19:36 +0000)]
[4.0] Action framework for visuals

Internal::Visual::Base has a DoAction API which calls the OnDoAction in derived Visual if they want
 to act on any Actions they have defined.

Control has a devel API to DoAction on any of it's registered visuals.

If a action is requested on a visual, if the visual does not implement it then
 nothing is done.

Action will be provided by Indexes,  in future may add an API for strings if
 builder requires but internal.
 Property::Key has an explict constructor hence not used.

DummyVisual added to test framework, can be used in Internal tests. Visuals creation not public.

Change-Id: Ib4590f5a76d4b45adcb2213eee70c1bbd91f88a2
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
6 years ago[4.0] ImageView example code correction 83/162383/2
Agnelo Vaz [Tue, 21 Nov 2017 13:44:33 +0000 (13:44 +0000)]
[4.0] ImageView example code correction

Change-Id: I2b0f3b99bbf4a12afdd59e10fbb90656aca78b29
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
6 years ago[4.0] Change the grab handle images to transparent for TV profile 75/162475/2
Richard Huang [Fri, 1 Dec 2017 10:33:02 +0000 (10:33 +0000)]
[4.0] Change the grab handle images to transparent for TV profile

Change-Id: Ied6509acc8b895a781da94ef4d6d812f00b19ea0

6 years ago[4.0] Added Auxiliary image to NPatch visual. 01/162401/1
David Steele [Wed, 29 Nov 2017 21:11:23 +0000 (21:11 +0000)]
[4.0] Added Auxiliary image to NPatch visual.

Auxiliary image sits on top of the NPatch, and scales with the visual,
not with the NPatch stretching. A new Alpha property enables just the
auxiliary image to be faded.

Change-Id: I391f39f2a422ddf97cdf847e70d12a6a254e941a
Signed-off-by: David Steele <david.steele@samsung.com>
(cherry picked from commit 339af74b081016140d2d5e25dc8609913aabaa31)

6 years ago[4.0] Added devel api header for text direction in Makefile 00/162300/3
taeyoon0.lee [Thu, 30 Nov 2017 07:06:00 +0000 (16:06 +0900)]
[4.0] Added devel api header for text direction in Makefile

Change-Id: I080d67ff289c9891cd9b5fe31f5d518c396a9bb7

6 years agoMerge "[4.0] Support 360x360 resoruce package for wearable" into tizen_4.0
HyunJu Shin [Thu, 30 Nov 2017 05:34:56 +0000 (05:34 +0000)]
Merge "[4.0] Support 360x360 resoruce package for wearable" into tizen_4.0

6 years ago[4.0] Added text direction property 55/162255/1
taeyoon0.lee [Wed, 29 Nov 2017 09:15:09 +0000 (18:15 +0900)]
[4.0] Added text direction property

 - The property is read-only
 - The property gets "RightToLeft" or "LeftToRight"

Change-Id: I3dba003762a21ff1ba0e09a98f154d25e9919ca4

6 years agoMerge "[4.0] DALi version 1.2.68" into tizen_4.0
Adeel Kazmi [Wed, 29 Nov 2017 14:41:16 +0000 (14:41 +0000)]
Merge "[4.0] DALi version 1.2.68" into tizen_4.0

6 years agoMerge "[4.0] Fixed an issue where the text would multiply the alpha value twice"... accepted/tizen/4.0/unified/20171129.150245 submit/tizen_4.0/20171129.111338
HyunJu Shin [Wed, 29 Nov 2017 11:06:34 +0000 (11:06 +0000)]
Merge "[4.0] Fixed an issue where the text would multiply the alpha value twice" into tizen_4.0

6 years ago[4.0] Add underflow preventation code 00/162100/4
Jinho, Lee [Wed, 29 Nov 2017 10:16:19 +0000 (19:16 +0900)]
[4.0] Add underflow preventation code

Change-Id: If8dcedc28a23c45912fbd46224e681cc47901525

6 years ago[4.0] DALi version 1.2.68 51/162151/1
Heeyong Song [Wed, 29 Nov 2017 09:36:44 +0000 (18:36 +0900)]
[4.0] DALi version 1.2.68

Change-Id: Ied8de458445c1a2b202e74bac204f2241cd4c91e

6 years ago[4.0] Fix image not show issue 67/162067/3
xb.teng [Wed, 29 Nov 2017 02:52:17 +0000 (10:52 +0800)]
[4.0] Fix image not show issue

Change-Id: I22de84f3fa1f61a85df5c69c73de8d56a0b1f882

6 years ago[4.0] Fixed an issue where the text would multiply the alpha value twice 83/162083/4
Jinho, Lee [Wed, 29 Nov 2017 05:10:54 +0000 (14:10 +0900)]
[4.0] Fixed an issue where the text would multiply the alpha value twice

Change-Id: I40ea8666026d00ec074a8b555ceb75285366a213

6 years agoMerge "[4.0] Fix the child position when Parent sets Padding" into tizen_4.0
HyunJu Shin [Wed, 29 Nov 2017 05:45:20 +0000 (05:45 +0000)]
Merge "[4.0] Fix the child position when Parent sets Padding" into tizen_4.0

6 years ago[4.0] Support 360x360 resoruce package for wearable 57/162057/1
minho.sun [Mon, 20 Nov 2017 10:16:43 +0000 (19:16 +0900)]
[4.0] Support 360x360 resoruce package for wearable

Support 360x360 resource package for wearable.

Make special PushButton for wearable.

Change-Id: I36e41d17c90bb5a4aa7fe76056c962980ed459be

6 years ago[4.0] Update doxygen comments 73/161873/1
Seoyeon Kim [Tue, 28 Nov 2017 05:12:46 +0000 (14:12 +0900)]
[4.0] Update doxygen comments

- Parameters of member Dali::Toolkit::ProgressBar are not documented.
- Return type of member Dali::Toolkit::Control::ResourceReadySignal is not documented.
- Member Type (enumeration) of namespace Dali::Toolkit::Visual::Transform::Policy
  is not documented.
- To show some Visual Properties, added a comment in doxygen.

Change-Id: Ieb5306330aee1bb18dff190863fab4439bad2913
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years ago[4.0] Fix the child position when Parent sets Padding 67/161867/1
Seoyeon Kim [Tue, 21 Nov 2017 04:47:27 +0000 (13:47 +0900)]
[4.0] Fix the child position when Parent sets Padding

Change-Id: I40015356186292f42ec2358fdfc1346623d2884e
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years agoMerge "[4.0] RTL support of FlexContainer" into tizen_4.0
taeyoon0.lee [Tue, 28 Nov 2017 02:49:49 +0000 (02:49 +0000)]
Merge "[4.0] RTL support of FlexContainer" into tizen_4.0

6 years agoMerge "[4.0] Support Right-To-Left of padding/margin in control" into tizen_4.0
Taeyoon Lee [Tue, 28 Nov 2017 02:49:31 +0000 (02:49 +0000)]
Merge "[4.0] Support Right-To-Left of padding/margin in control" into tizen_4.0

6 years agoMerge "[4.0] Support Right-To-Left of tableView" into tizen_4.0
Taeyoon Lee [Tue, 28 Nov 2017 02:49:19 +0000 (02:49 +0000)]
Merge "[4.0] Support Right-To-Left of tableView" into tizen_4.0

6 years agoMerge "[4.0] Support Right-To-Left of padding/margin in imageView" into tizen_4.0
Taeyoon Lee [Tue, 28 Nov 2017 02:49:08 +0000 (02:49 +0000)]
Merge "[4.0] Support Right-To-Left of padding/margin in imageView" into tizen_4.0

6 years ago[4.0] DALi version 1.2.67 48/161748/1 accepted/tizen/4.0/unified/20171128.072827 submit/tizen_4.0/20171127.091326
Heeyong Song [Mon, 27 Nov 2017 08:37:07 +0000 (17:37 +0900)]
[4.0] DALi version 1.2.67

Change-Id: Ia376de3837dc6cdbfabdfcd13b3c52e6f79487be

6 years ago[4.0] Set a new size when Multiline property is changed. 84/161384/3
Jinho, Lee [Thu, 23 Nov 2017 06:14:51 +0000 (15:14 +0900)]
[4.0] Set a new size when Multiline property is changed.

Change-Id: If4be3075c5058c55c36e034fa6ec22fbf7982431

6 years ago[4.0] Animated Gradient Visual in devel-api 54/160754/2
Eunki Hong [Mon, 25 Sep 2017 06:41:41 +0000 (15:41 +0900)]
[4.0] Animated Gradient Visual in devel-api

Animated gradient visual. Can be used for Control's background.

At Internal::AnimatedGradientVisual :
 - Use only one shader codes to draw effects.
    *NOTE : We change shader string at AnimatedGradientVisual::CreateShader()
 - When DoSetProperties occured
   --> Set non-animated properties (for make Renderer)
   --> Set animated properties (for make Animations)
 - When DoSetOnStage occured
   --> Make Renderer
   --> Make Animations
   --> Play Animations
 - When DoSetOffStage occured
   --> Stop Animations

At AnimatedGradientVisual::Property :
 - 3 non-animated properties.
  - GRADIENT_TYPE = LINEAR / RADIAL
  - UNIT_TYPE = OBJECT_BOUNDING_BOX / USER_SPACE (See GradientVisual::units)
  - SPREAD_TYPE = REFLECT / REPEAT / CLAMP (See GradientVisual::spreadMethod)
 - 7 animated properties.
  - START_POSITION ( Vector2 )
  - START_COLOR ( Vector4 )
  - END_POSITION ( Vector2 )
  - END_COLOR ( Vector4 )
  - ROTATE_CENTER ( Vector2 )
  - ROTATE_AMOUNT ( Float )
  - OFFSET ( Float )
 - Every animate properties have there each values
  - START, TARGET, DIRECTION, DURATION, DELAY, REPEAT, REPEAT_DELAY, MOTION_TYPE, and EASING_TYPE.
  - animated by Dali::Animation::AnimateTo()
  - Setup properties by Property::Map

Change-Id: If85c08d4500d132b6d8de6ed016bf985770c846c
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
6 years agoMerge "[4.0] Fixed the appearance of a bold text when setting underline property...
Jinho, Lee [Mon, 27 Nov 2017 05:02:01 +0000 (05:02 +0000)]
Merge "[4.0] Fixed the appearance of a bold text when setting underline property." into tizen_4.0

6 years agoMerge "[4.0] Add Delete Key event in TextController" into tizen_4.0
Seoyeon Kim [Mon, 27 Nov 2017 02:04:18 +0000 (02:04 +0000)]
Merge "[4.0] Add Delete Key event in TextController" into tizen_4.0

6 years ago[4.0] Fixed the appearance of a bold text when setting underline property. 87/161387/1
Jinho, Lee [Mon, 6 Nov 2017 07:56:01 +0000 (16:56 +0900)]
[4.0] Fixed the appearance of a bold text when setting underline property.

Change-Id: I713b9caed94d900ab14585c307e68870d74789a3

6 years ago[4.0] RTL support of FlexContainer 86/161286/1
taeyoon0.lee [Fri, 22 Sep 2017 08:12:25 +0000 (17:12 +0900)]
[4.0] RTL support of FlexContainer

Change-Id: Ibc703d749415cf2b58615ddcb2619284784d4119

6 years ago[4.0] Support Right-To-Left of padding/margin in control 74/161274/1
adun [Fri, 20 Oct 2017 14:25:09 +0000 (22:25 +0800)]
[4.0] Support Right-To-Left of padding/margin in control

Change-Id: I5c0813c2b49645af61a78ca6b37afd90b7dabd17

6 years ago[4.0] Support Right-To-Left of tableView 73/161273/1
adun [Thu, 19 Oct 2017 19:28:16 +0000 (03:28 +0800)]
[4.0] Support Right-To-Left of tableView

Change-Id: Ie01c9eaa56e790b74efcd9705801d146c5ce492c

6 years ago[4.0] Support Right-To-Left of padding/margin in imageView 72/161272/1
adun [Thu, 19 Oct 2017 20:37:42 +0000 (04:37 +0800)]
[4.0] Support Right-To-Left of padding/margin in imageView

Change-Id: Ica0d4a9e2e70cf498f2c42738e3cfacd20968352

6 years ago[4.0] Add Delete Key event in TextController 32/160832/3
Seoyeon Kim [Mon, 20 Nov 2017 07:33:57 +0000 (16:33 +0900)]
[4.0] Add Delete Key event in TextController

- When the user presses 'Delete' key of H/W Keyboard,
  the character after the current cursor position is removed.

Change-Id: I82dd02d79510e7e2197c19fbacad66629595741a
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years ago[4.0] DALi version 1.2.66 95/160795/1 accepted/tizen/4.0/unified/20171121.061731 submit/tizen_4.0/20171120.062402
Heeyong Song [Mon, 20 Nov 2017 06:12:38 +0000 (15:12 +0900)]
[4.0] DALi version 1.2.66

Change-Id: I86be0f6a58d37576abd6e2c98da1f7b5956daf7f

6 years ago[4.0] Outline effect has been fixed to be not front cropped. 73/160773/1
Jinho, Lee [Wed, 15 Nov 2017 18:11:18 +0000 (03:11 +0900)]
[4.0] Outline effect has been fixed to be not front cropped.

Change-Id: I21d773339ccedaaf55627a9f06ce3d6041f28f71

6 years ago[4.0] Fix BloomView bug 49/160749/1
Heeyong Song [Wed, 15 Nov 2017 08:30:46 +0000 (17:30 +0900)]
[4.0] Fix BloomView bug

Reset child controls when BloomView is deactivated

Change-Id: Ifc1a1ab5fe3991344f58c25c8488ea51f375f8be

6 years ago[4.0] (Automated Tests) Sync after stencil/depth buffer changes 29/160729/1
Adeel Kazmi [Thu, 9 Nov 2017 15:59:53 +0000 (15:59 +0000)]
[4.0] (Automated Tests) Sync after stencil/depth buffer changes

Change-Id: I188be8223f23d9e528d281f37c07d1a1748d52d4
(cherry picked from commit 1f172503d4866758631ed95c7c4687ad6d10f1d0)

6 years agoMerge "[4.0] test-application.cpp updatet to match dali-core." into tizen_4.0
Adeel Kazmi [Thu, 16 Nov 2017 16:50:33 +0000 (16:50 +0000)]
Merge "[4.0] test-application.cpp updatet to match dali-core." into tizen_4.0

6 years agoMerge "[4.0] Documenting ResourceReadySignal constraint/usage" into tizen_4.0
Adeel Kazmi [Thu, 16 Nov 2017 16:50:11 +0000 (16:50 +0000)]
Merge "[4.0] Documenting ResourceReadySignal constraint/usage" into tizen_4.0

6 years ago[4.0] test-application.cpp updatet to match dali-core. 53/160553/1
Victor Cebollada [Wed, 25 Oct 2017 09:24:15 +0000 (10:24 +0100)]
[4.0] test-application.cpp updatet to match dali-core.

* Needed to match the patches to render into the FBO

Change-Id: Id888dd607d9632b605527588dd96b4380f601020
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
(cherry picked from commit c0d5f2ce3666b09645224d014411b0f67ade2af4)

6 years ago[4.0] Documenting ResourceReadySignal constraint/usage 49/160549/1
Agnelo Vaz [Thu, 9 Nov 2017 11:50:43 +0000 (11:50 +0000)]
[4.0] Documenting ResourceReadySignal constraint/usage

Change-Id: I92cd68678a1f29d58f54c322ee7282b55c29f987
(cherry picked from commit 30ff20e521d003c00866bb3a821a5d36ca1d71f7)

6 years ago[4.0] ImageVisual ResourceReady signalled regardless of parent 48/160548/1
Agnelo Vaz [Tue, 7 Nov 2017 14:38:55 +0000 (14:38 +0000)]
[4.0] ImageVisual ResourceReady signalled regardless of parent

Regardless of whether the ImageVisual is staged on not it will signal when
 resource has loaded

Reusing the resource over multiple visuals should still return a ResourceReady signal
 once the control registers the visual.

Change-Id: Ib4af7dc79b11fa2a96a96ed1b53a387e4001debc
(cherry picked from commit ed40c470e7713deb2a976212b49c771514b99302)

6 years ago[4.0] Fix SVACE issue 26/160026/1
Seoyeon Kim [Tue, 14 Nov 2017 07:11:59 +0000 (16:11 +0900)]
[4.0] Fix SVACE issue

- Initialized ImageVisual member variables.

Change-Id: I9e069b52bc90558ebbd11d07e0ad25125c06591c
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years ago[4.0] DALi 1.2.61.3 48/159848/1 accepted/tizen/4.0/unified/20171114.062928 submit/tizen_4.0/20171113.081818 submit/tizen_4.0/20171114.000133
Heeyong Song [Mon, 13 Nov 2017 08:12:32 +0000 (17:12 +0900)]
[4.0] DALi 1.2.61.3

Change-Id: I2c153182827da265348da6f6a3ca273a2ffbe705

6 years agoMerge "[4.0] Disable texture atlas in svg visual" into tizen_4.0
HyunJu Shin [Thu, 9 Nov 2017 04:45:24 +0000 (04:45 +0000)]
Merge "[4.0] Disable texture atlas in svg visual" into tizen_4.0

6 years agoMerge "[4.0] Apply markup properties for pre-set text" into tizen_4.0
Jinho, Lee [Thu, 9 Nov 2017 04:42:12 +0000 (04:42 +0000)]
Merge "[4.0] Apply markup properties for pre-set text" into tizen_4.0

6 years ago[4.0] Disable texture atlas in svg visual 54/159454/1
Heeyong Song [Wed, 8 Nov 2017 05:30:02 +0000 (14:30 +0900)]
[4.0] Disable texture atlas in svg visual

Change-Id: Ia984806dedbad41ff5d26510a28898aa57fe7c38

6 years agoSupport Right-To-Left mode of padding in Text Controls 20/159420/1
Seoyeon Kim [Mon, 30 Oct 2017 02:30:19 +0000 (11:30 +0900)]
Support Right-To-Left mode of padding in Text Controls

- Added Padding in Text controls.
- Added Right-To-Left mode in TextLabel, TextField and TextEditor.

Change-Id: Iaf7e78b4c303bbcd442c8db11399231a24701c86
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years agoMerge "[4.0] ImageVisual to store TextureSet when LoadPolicy::IMMEDIATE" into tizen_4.0
Adeel Kazmi [Wed, 8 Nov 2017 10:58:38 +0000 (10:58 +0000)]
Merge "[4.0] ImageVisual to store TextureSet when LoadPolicy::IMMEDIATE" into tizen_4.0

6 years agoMerge "[4.0] Fix ImageView OnRelayout and add a commnet in MARGIN property" into...
Seoyeon Kim [Wed, 8 Nov 2017 09:51:44 +0000 (09:51 +0000)]
Merge "[4.0] Fix ImageView OnRelayout and add a commnet in MARGIN property" into tizen_4.0

6 years ago[4.0] Fix ImageView OnRelayout and add a commnet in MARGIN property 06/159306/1
Seoyeon Kim [Tue, 7 Nov 2017 07:01:24 +0000 (16:01 +0900)]
[4.0] Fix ImageView OnRelayout and add a commnet in MARGIN property

- Removed ImageView Margin implementation.
  Margin property is to be implemented in the future.

Change-Id: I9e1eeea960b7b2a0731f73b8f2a432c0ee5c7649
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years ago[4.0] Added doxygen tag for UNDERLAY( false ) 21/158821/2
taeyoon0.lee [Fri, 3 Nov 2017 08:21:55 +0000 (17:21 +0900)]
[4.0] Added doxygen tag for UNDERLAY( false )

Change-Id: I1f8bd932af6aaa8a31f6ce31c8bd22d30f957f47

6 years ago[4.0] ImageVisual to store TextureSet when LoadPolicy::IMMEDIATE 57/159057/1
Agnelo Vaz [Mon, 6 Nov 2017 16:33:53 +0000 (16:33 +0000)]
[4.0] ImageVisual to store TextureSet when LoadPolicy::IMMEDIATE

Fixes bug
If textures loaded before renderer created (staged) then renderer
does not have valid textures when staged.

Change-Id: Iba4c5d85c01c3e9b821c3d466e8af98dbec08185

6 years ago[4.0] DALi version 1.2.61.2 88/158988/1 accepted/tizen/4.0/unified/20171109.065838 submit/tizen_4.0/20171106.091104 submit/tizen_4.0/20171106.114750 submit/tizen_4.0/20171108.072916
Heeyong Song [Mon, 6 Nov 2017 08:07:55 +0000 (17:07 +0900)]
[4.0] DALi version 1.2.61.2

Change-Id: Ibe354cadf4bae396697a2a3427c0b0c9ea83bb75

6 years agoMerge "[4.0] Text auto scroll animation bug fix" into tizen_4.0
Jinho, Lee [Mon, 6 Nov 2017 05:48:57 +0000 (05:48 +0000)]
Merge "[4.0] Text auto scroll animation bug fix" into tizen_4.0

6 years ago[4.0] Apply markup properties for pre-set text 41/158941/1
Jinho, Lee [Mon, 6 Nov 2017 05:12:09 +0000 (14:12 +0900)]
[4.0] Apply markup properties for pre-set text

Change-Id: Idbff0dabb14f643f44e2268f6db9dacd7d1e1a44

6 years ago[4.0] Text auto scroll animation bug fix 94/158894/2
Jinho, Lee [Mon, 30 Oct 2017 05:58:19 +0000 (14:58 +0900)]
[4.0] Text auto scroll animation bug fix

 Before this patch,
 That code played scroll animation.
    textLabel = TextLabel::New( "Hello World" );
    textLabel.SetProperty( Toolkit::TextLabel::Property::AUTO_SCROLL_STOP_MODE, TextLabel::AutoScrollStopMode::IMMEDIATE);
    textLabel.SetProperty( Toolkit::TextLabel::Property::ENABLE_AUTO_SCROLL,true);
    textLabel.SetProperty( Toolkit::TextLabel::Property::ENABLE_AUTO_SCROLL,false);
    stage.Add(textLabel);

 So I added code for stopping animation when mScrollAnimation was Null.

Change-Id: I4fa881215c4c30228e2cb0fb6f9f80e7060bf6b2

6 years agoAdded a pblic Control Devel API GetVisualResourceStatus. 39/158839/1
Umar [Thu, 27 Jul 2017 14:53:42 +0000 (15:53 +0100)]
Added a pblic Control Devel API GetVisualResourceStatus.

The purpose was to check whether Visual resource loading on given control was successful or not.

Change-Id: Ib8af77e84180d8a04171a93022ba6c3751519158
(cherry picked from commit ecf31ea6865a0ebd5b668166427def6499b3ddc1)

6 years ago[4.0] DALi version 1.2.61.1 49/158649/1 accepted/tizen/4.0/unified/20171103.162655 submit/tizen_4.0/20171102.100953
Heeyong Song [Thu, 2 Nov 2017 08:46:30 +0000 (17:46 +0900)]
[4.0] DALi version 1.2.61.1

Change-Id: I351cc9c936d2ff24bdce0d8ae9f9254dcf237de1

6 years ago[4.0] ImageVisual API for Orientation Correction 46/158546/1
Agnelo Vaz [Mon, 23 Oct 2017 13:27:17 +0000 (14:27 +0100)]
[4.0] ImageVisual API for Orientation Correction

Added Property OrientationCorrection which can control if the image should be rotated
to it's Orientation as defined by exif data.

Provided for JPEG images containing the exif data for Orientation.

Limitations:

The image provided will be cached, the orientation of the first cached image will be
used for subsequent images until the cache image is released.

Change-Id: I7627839c143c06dfde63a32eb8171e2205bf18af
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
6 years ago[4.0] Fix the text visual shaders to work with pre-multiplied alpha 45/158545/1
Richard Huang [Wed, 25 Oct 2017 16:57:34 +0000 (17:57 +0100)]
[4.0] Fix the text visual shaders to work with pre-multiplied alpha

Change-Id: I5f82c3933ef61a1ebc3c8d02d171c5f9b0fe7503
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
6 years ago[4.0] Soft shadow support in text visual 44/158544/1
Richard Huang [Tue, 10 Oct 2017 14:24:02 +0000 (15:24 +0100)]
[4.0] Soft shadow support in text visual

Change-Id: Id6d420e1be92a95edf0b0c6d9b8d91acec78dfde
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
6 years ago[4.0] ImageVisual Load policy 43/158543/1
Agnelo Vaz [Wed, 18 Oct 2017 08:12:00 +0000 (09:12 +0100)]
[4.0] ImageVisual Load policy

ImageVisual can be created with a PropertyMap that inserts a load policy.

Depending on the load policy the image(texture) will load immediately when the visual
is created or when the visual is attached to the stage.

Can be used to preload special images so can be displayed immediately on request.

Registered Visuals with LoadPolicy::IMMEDIATE will signal ResourceReadySignal when attached to stage.

Limitations:

Atlasing not supported with IMMEDIATE mode currently.

Change-Id: I3e1b3fd19f3027edb62858549890972f6a166cd0
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
6 years ago[4.0] ImageVisual Set default to ReleasePolicy::Destroyed 42/158542/1
Agnelo Vaz [Wed, 18 Oct 2017 12:34:53 +0000 (13:34 +0100)]
[4.0] ImageVisual Set default to ReleasePolicy::Destroyed

Change-Id: If7aac9c786cd852136e14e31653fddd62652204f
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
6 years ago[4.0] ImageVisual Release policy 41/158541/1
Agnelo Vaz [Tue, 26 Sep 2017 19:19:51 +0000 (20:19 +0100)]
[4.0] ImageVisual Release policy

ImageVisual can be created with a PropertyMap that inserts a release policy.
Depending on release policy the image lifetime in the texture cache will change.
Can be used for images that are often put on and taken off stage to reduce re-loading time.

Change-Id: If275630f236174ebbea3fde4cefae015b8db3a0f
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
6 years agoMerge "[4.0] Support to reset the image in ImageView" into tizen_4.0
Heeyong Song [Mon, 30 Oct 2017 23:09:13 +0000 (23:09 +0000)]
Merge "[4.0] Support to reset the image in ImageView" into tizen_4.0

6 years agoMerge "[4.0] Update common test util" into tizen_4.0
Heeyong Song [Mon, 30 Oct 2017 23:09:04 +0000 (23:09 +0000)]
Merge "[4.0] Update common test util" into tizen_4.0

6 years agoMerge "[4.0] propagate unhandled key( DALI_KEY_SEARCH )" into tizen_4.0
minho.sun [Fri, 27 Oct 2017 07:43:41 +0000 (07:43 +0000)]
Merge "[4.0] propagate unhandled key( DALI_KEY_SEARCH )" into tizen_4.0

6 years ago[4.0] Support to reset the image in ImageView 89/157989/1
Heeyong Song [Tue, 24 Oct 2017 06:24:31 +0000 (15:24 +0900)]
[4.0] Support to reset the image in ImageView

Change-Id: Ifdd57a09c6ecf3639558ee3ce80af666aa6108e8

6 years ago[4.0] Update common test util 88/157988/1
Heeyong Song [Thu, 19 Oct 2017 07:37:28 +0000 (16:37 +0900)]
[4.0] Update common test util

Change-Id: I56ade51a5143bb887deb81df25362a4c7294b1e7

6 years ago[4.0] Changed constraint to PropertyNotification for updating position/size 44/157144/3
taeyoon0.lee [Mon, 16 Oct 2017 13:45:23 +0000 (22:45 +0900)]
[4.0] Changed constraint to PropertyNotification for updating position/size

Change-Id: Id688eebcc2ac0b6ef4520b207d36b225a5379135

6 years ago[4.0] Fixed VideoView SVACE 75/156975/1 accepted/tizen/4.0/unified/20171023.120637 submit/tizen_4.0/20171023.071729 tizen_4.0.m2_release
taeyoon0.lee [Mon, 23 Oct 2017 03:12:11 +0000 (12:12 +0900)]
[4.0] Fixed VideoView SVACE

Change-Id: I8810d9387991fad42519e7a00de670a2673124fb

6 years ago[4.0] propagate unhandled key( DALI_KEY_SEARCH ) 23/156623/1
minho.sun [Thu, 19 Oct 2017 07:23:23 +0000 (16:23 +0900)]
[4.0] propagate unhandled key( DALI_KEY_SEARCH )

DALI_KEY_SEARCH is not handled in TextEditor/TextField.
Return false(say unconsumed) when this key is comming.

Change-Id: Id52cc8b67150d63d0f22b7e51fb81e6750c353d5
Signed-off-by: minho.sun <minho.sun@samsung.com>
6 years ago[4.0] Fix SVACE issue 60/156560/1
Seoyeon Kim [Wed, 18 Oct 2017 06:26:59 +0000 (15:26 +0900)]
[4.0] Fix SVACE issue

- Expression 'y' and 'x' have type 'unsigned int',
 so they're never less than zero in text-typesetter.cpp

Change-Id: Ia8e54bc18192f6e5eacde7fe899e9ca2978d81a9
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years agoRevert "[4.0] Removed DEPRECATION WARNING by ImageView::New( image ) and SetImage... 19/156219/1 accepted/tizen/4.0/unified/20171017.212917 submit/tizen_4.0/20171017.144330 submit/tizen_4.0/20171017.145254
taeyoon0.lee [Tue, 17 Oct 2017 12:19:08 +0000 (21:19 +0900)]
Revert "[4.0] Removed DEPRECATION WARNING by ImageView::New( image ) and SetImage( image )"

This reverts commit c05798e54f2417f2113ca3de180edebd822cf70b.

Change-Id: I9ed37c5de02b985e63a31f5e2fbdef76d1ad66c0

6 years agoMerge "[4.0] Fix doc and comment for Native API Reference page" into tizen_4.0
minho.sun [Tue, 17 Oct 2017 11:06:45 +0000 (11:06 +0000)]
Merge "[4.0] Fix doc and comment for Native API Reference page" into tizen_4.0

6 years ago[4.0] Fix doc and comment for Native API Reference page 87/156187/1
minho.sun [Tue, 17 Oct 2017 09:45:24 +0000 (18:45 +0900)]
[4.0] Fix doc and comment for Native API Reference page

Change-Id: I6a46a65fd99f9b191df03b03898ec66fe21fb468
Signed-off-by: minho.sun <minho.sun@samsung.com>
6 years ago[4.0] Placeholder properties as enums 75/156175/2
Agnelo Vaz [Fri, 6 Oct 2017 15:34:52 +0000 (16:34 +0100)]
[4.0] Placeholder properties as enums

TextField and TextEditor uses Property::Index (enums) to set the Map for PLACEHOLDER.

return type is a MAP of Property Index keys with corresponding values regardless of setting type.

Change-Id: I70127d906ccb42085ce4ba3215888176ee1720d3

6 years ago[4.0] Add MARGIN and PADDING property in Control 23/155923/1
Seoyeon Kim [Wed, 20 Sep 2017 05:32:08 +0000 (14:32 +0900)]
[4.0] Add MARGIN and PADDING property in Control

- Added MARGIN property in Control
- Added PADDING property in Control

Change-Id: Ib3c023e0851af4eae8efce30335de1a5c5b6c05c
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years ago[4.0] Fix the text visual shader which makes text lighter while containing emoji 85/155885/1
Richard Huang [Fri, 13 Oct 2017 16:22:55 +0000 (17:22 +0100)]
[4.0] Fix the text visual shader which makes text lighter while containing emoji

Change-Id: I883054b333fe5d2759fe2e101857cb985285bd80