platform/core/uifw/dali-toolkit.git
5 years ago[4.0] Add animated vector image visual 16/192916/1
Heeyong Song [Wed, 17 Oct 2018 08:01:17 +0000 (17:01 +0900)]
[4.0] Add animated vector image visual

Change-Id: Iefe7615251ce5185f782151ff2bd4510fd829b4c

5 years ago[4.0] Fix a custom shader issue in ImageView 74/192874/1
Heeyong Song [Thu, 20 Sep 2018 02:21:08 +0000 (11:21 +0900)]
[4.0] Fix a custom shader issue in ImageView

A custom shader is ignored if a custom shader is set while loading a new image

Change-Id: I2ffd994376d12488b3af9a73c3a8616514e082a0

5 years ago[4.0] Add ImageVisualShaderFactory 69/192869/1
Heeyong Song [Fri, 17 Aug 2018 06:02:58 +0000 (15:02 +0900)]
[4.0] Add ImageVisualShaderFactory

- Add ImageVisualShaderFactory to share shader sources
- Support custom shader in SVG visual

Change-Id: I58ebab4dbbbb3a3976e1ec7ce84ac284f5bc890b

6 years ago[4.0] Change dependency 80/190580/1 accepted/tizen/4.0/unified/20181011.183810 submit/tizen_4.0/20181004.072517 submit/tizen_4.0/20181005.021603 submit/tizen_4.0/20181010.011946
minho.sun [Fri, 20 Apr 2018 03:57:10 +0000 (12:57 +0900)]
[4.0] Change dependency

Currently, we don't use adaptor-uv.
So don't need to give option to app which adaptor app will use.

So, make dali-toolkit directly require dali-adaptor instead of
dali-adaptor-devel.

Change-Id: Id32071301c78c114a2f67e0645a2ff92cd846c59
Signed-off-by: minho.sun <minho.sun@samsung.com>
6 years agoRevert "[Tizen] Fix focus issue after calling ClearFocus api" 61/186761/1
Xianbing Teng [Tue, 14 Aug 2018 06:56:54 +0000 (06:56 +0000)]
Revert "[Tizen] Fix focus issue after calling ClearFocus api"

This patch doesn't cover mobile profile.

This reverts commit eb0e958e1f900ef19b9c5798a1dc4dc4782cf9c8.

Change-Id: Ib9ff5638548e8d5d75e7a76244522055dc8d4584

6 years ago[Tizen] Fix focus issue after calling ClearFocus api 32/186732/2
xb.teng [Tue, 14 Aug 2018 02:28:24 +0000 (10:28 +0800)]
[Tizen] Fix focus issue after calling ClearFocus api

After calling ClearFocus api, mIsFocusIndicatorEnabled will be 0.
In this case, if you call SetCurrentFocusActor again, then the first
pressed direction key is valid, but the second pressed direction key can
works. It's an issue.

Change-Id: I0fdbeff360a2732a8aa34a169dc6d7afa7443457

6 years ago[4.0] Support software styling 84/186084/1
minho.sun [Thu, 26 Jul 2018 08:20:42 +0000 (17:20 +0900)]
[4.0] Support software styling

When DALi fails to find font which support correct style,
apply software styling to glyph.

DALi will support bold / italic by software.

Change-Id: Iad77498511941d1aae34379ac867f71f5d01b530
Signed-off-by: minho.sun <minho.sun@samsung.com>
6 years ago[4.0] Fix text color issue 90/183790/2 accepted/tizen/4.0/unified/20180712.142231 submit/tizen_4.0/20180711.031528
Heeyong Song [Wed, 11 Jul 2018 05:41:09 +0000 (14:41 +0900)]
[4.0] Fix text color issue

Alpha values are pre-multiplied in all text cases.
Don't multiply alpha in text shaders.

Change-Id: I0317639df758ead2e63146690872feacaecdb067

6 years agoMerge "[4.0] DALi version 1.2.90" into tizen_4.0 accepted/tizen/4.0/unified/20180608.011711 submit/tizen_4.0/20180607.102412
Seoyeon Kim [Thu, 7 Jun 2018 10:16:31 +0000 (10:16 +0000)]
Merge "[4.0] DALi version 1.2.90" into tizen_4.0

6 years ago[4.0] (AnimatedImageVisual) Fix SVACE Errors 18/181018/1
Adeel Kazmi [Mon, 8 Jan 2018 16:57:39 +0000 (16:57 +0000)]
[4.0] (AnimatedImageVisual) Fix SVACE Errors

Change-Id: Ib52ed23a81c353c5107546a48313e157667c6e93

6 years ago[4.0] DALi version 1.2.90 89/180989/1
Seoyeon Kim [Thu, 7 Jun 2018 06:23:49 +0000 (15:23 +0900)]
[4.0] DALi version 1.2.90

Change-Id: I48b505c60cd7e99600951753feec5fd1e226521d
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years ago[4.0] add doc for API reference 59/174459/1 accepted/tizen/4.0/unified/20180403.060337 accepted/tizen/4.0/unified/20180416.071454 submit/tizen_4.0/20180402.083414 submit/tizen_4.0/20180416.011224
Joogab Yun [Sun, 1 Apr 2018 23:43:24 +0000 (08:43 +0900)]
[4.0] add doc for API reference

Change-Id: I7b11790c7d352bdfe2de00fc3e05bfce9586e62a

6 years ago[4.0] add doc for API reference 93/174393/2
Joogab Yun [Thu, 29 Mar 2018 09:16:05 +0000 (18:16 +0900)]
[4.0] add doc for API reference

Change-Id: I31ca273bd345fd9bb509e67925a8fcbac8a13df1

6 years ago[4.0] DALi version 1.2.89 20/173920/1 accepted/tizen/4.0/unified/20180327.144909 submit/tizen_4.0/20180327.034507
huiyu.eun [Tue, 27 Mar 2018 03:25:40 +0000 (12:25 +0900)]
[4.0] DALi version 1.2.89

Change-Id: Iaae12ef70d3d1915bf76a6b523f44c87bfaed34b
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years agoMerge "[4.0] Fix Coverity issues" into tizen_4.0
Heeyong Song [Tue, 27 Mar 2018 01:51:27 +0000 (01:51 +0000)]
Merge "[4.0] Fix Coverity issues" into tizen_4.0

6 years agosupports remote URL gif image 96/173896/1
Joogab Yun [Mon, 26 Mar 2018 05:26:12 +0000 (14:26 +0900)]
supports remote URL gif image

Change-Id: I4ab7bff9b1330e0745b3c31ef574fd5cffcd788e

6 years ago[4.0] Make alpha value pre-multiplied in all text cases 10/173810/1
Heeyong Song [Fri, 16 Mar 2018 02:30:09 +0000 (11:30 +0900)]
[4.0] Make alpha value pre-multiplied in all text cases

Change-Id: I2260efc5546b1b11e35102d481ed96e0a72a39c8

6 years ago[4.0] Fix Coverity issues 66/173766/2
Seoyeon Kim [Wed, 21 Mar 2018 08:08:53 +0000 (17:08 +0900)]
[4.0] Fix Coverity issues

Change-Id: I1fe9eeda77d162f0471e24a81b626fe7c24d21a9
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years agoMerge "[4.0] Update text layout utcs" into tizen_4.0
HyunJu Shin [Fri, 16 Mar 2018 01:25:52 +0000 (01:25 +0000)]
Merge "[4.0] Update text layout utcs" into tizen_4.0

6 years ago[4.0] Update text layout utcs 69/172769/1
minho.sun [Mon, 5 Mar 2018 04:28:12 +0000 (13:28 +0900)]
[4.0] Update text layout utcs

After changing option of freetype, glyph metrics from freetype are changed.
So need to update text layout utcs.

Change-Id: I8102e568e5a3c8e96ca5d39f76380e36d3650b1e
Signed-off-by: minho.sun <minho.sun@samsung.com>
6 years ago[4.0] Remove atlas calculation from text-visual shader 71/172671/1
minho.sun [Thu, 8 Mar 2018 07:17:13 +0000 (16:17 +0900)]
[4.0] Remove atlas calculation from text-visual shader

This caculation caused precision problem.
Currently, we don't use atlas for text-visual so this caculation is
redundant.

Change-Id: I30a0eacb91c028b8419048b227efe1818ba7270a

6 years ago[4.0] Fix NotifyObservers 53/172453/1
Heeyong Song [Wed, 14 Mar 2018 04:58:14 +0000 (13:58 +0900)]
[4.0] Fix NotifyObservers

Change-Id: I0a4c726cfda825d89173d63e53b0c800dfa80b4c

6 years ago[4.0] Ensured ImageView requests inside ResourceReady signal handler are queued. 23/172423/1
David Steele [Tue, 13 Mar 2018 20:38:09 +0000 (20:38 +0000)]
[4.0] 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 failed images doesn't
fail to send a second ResourceReady callback.

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>
6 years ago[4.0] Fix typo error in some descriptions 77/171877/1
Seoyeon Kim [Mon, 5 Mar 2018 06:25:21 +0000 (15:25 +0900)]
[4.0] Fix typo error in some descriptions

Change-Id: Ib7b39f3e18f24a2ed23d5e4cc625ff1da45929d5
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years agoMerge "[4.0] Added APIs for setting display mode in video-player" into tizen_4.0
Heeyong Song [Wed, 7 Mar 2018 09:24:52 +0000 (09:24 +0000)]
Merge "[4.0] Added APIs for setting display mode in video-player" into tizen_4.0

6 years ago[4.0] Fix the issue that GetHeightForWidth returns wrong height after calling GetText... 01/171701/2
Richard Huang [Tue, 6 Mar 2018 17:28:16 +0000 (17:28 +0000)]
[4.0] Fix the issue that GetHeightForWidth returns wrong height after calling GetTextDirection

Change-Id: If60c7bc18be5d8b7083e70b362c2f69a32a42df8

6 years ago[4.0] Added APIs for setting display mode in video-player 04/171604/1
Joogab Yun [Tue, 13 Feb 2018 06:13:13 +0000 (15:13 +0900)]
[4.0] Added APIs for setting display mode in video-player

Change-Id: I0ebffe5d69734f817dfa627c4f96c4c4763e85ec

6 years ago[4.0] DALi version 1.2.88 35/171135/1 submit/tizen_4.0/20180227.054541
dongsug.song [Tue, 27 Feb 2018 01:11:39 +0000 (10:11 +0900)]
[4.0] DALi version 1.2.88

Change-Id: I6dca836effaf1b666cc23898e881d76a7f3f70f1
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
6 years ago[4.0] Change tc according to blending factor change for premultiplied alpha format 72/170872/1
Heeyong Song [Wed, 21 Feb 2018 05:29:01 +0000 (14:29 +0900)]
[4.0] Change tc according to blending factor change for premultiplied alpha format

Change-Id: I3145668707c7b3921e527474e4dc305e224f5f19

6 years ago[4.0] DALi version 1.2.87 03/170403/1 accepted/tizen/4.0/unified/20180223.062022 submit/tizen_4.0/20180220.021029
huiyu,eun [Tue, 20 Feb 2018 01:32:06 +0000 (10:32 +0900)]
[4.0] DALi version 1.2.87

Change-Id: I58bc4d9b0de7959263f06bbf966a5612d3cab312
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years agoMerge "[4.0] clear cache when locale is changed" into tizen_4.0
minho.sun [Tue, 20 Feb 2018 01:23:47 +0000 (01:23 +0000)]
Merge "[4.0] clear cache when locale is changed" into tizen_4.0

6 years ago[4.0] Add GET_GLYPH_METRICS to onlyOnceOperations in GetTextDirection 77/170377/1
minho.sun [Mon, 19 Feb 2018 11:54:13 +0000 (20:54 +0900)]
[4.0] Add GET_GLYPH_METRICS to onlyOnceOperations in GetTextDirection

To get glyph metrics, add GET_GLYPH_METRICS to onlyOnceOperations in
GetTextDirection.

Change-Id: I48978751c77738ef586e840985c2eafd49182d9b
Signed-off-by: minho.sun <minho.sun@samsung.com>
6 years agoMerge "[4.0] Added doxy comment for video-view" into tizen_4.0
Heeyong Song [Mon, 19 Feb 2018 06:22:52 +0000 (06:22 +0000)]
Merge "[4.0] Added doxy comment for video-view" into tizen_4.0

6 years agoMerge "[4.0] Added APIs for codec and seek in VideoView" into tizen_4.0
Heeyong Song [Mon, 19 Feb 2018 06:21:28 +0000 (06:21 +0000)]
Merge "[4.0] Added APIs for codec and seek in VideoView" into tizen_4.0

6 years agoMerge "[4.0] Revert "[4.0] Added tag for capture privilege"" into tizen_4.0
Heeyong Song [Mon, 19 Feb 2018 06:20:16 +0000 (06:20 +0000)]
Merge "[4.0] Revert "[4.0] Added tag for capture privilege"" into tizen_4.0

6 years ago[4.0] DALi version 1.2.86 94/170194/1 submit/tizen_4.0/20180214.070807 submit/tizen_4.0/20180214.081753
dongsug.song [Mon, 12 Feb 2018 12:32:20 +0000 (21:32 +0900)]
[4.0] DALi version 1.2.86

Change-Id: I4fd0d3f8167b6c2078da28876db2ce67db10aea5
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
6 years ago[4.0] clear cache when locale is changed 91/170191/3
minho.sun [Mon, 12 Feb 2018 11:35:33 +0000 (20:35 +0900)]
[4.0] clear cache when locale is changed

When locale is change, font configuration might provide a different font
list.

In this case, original cached font might not be valid for same script.
Therefore, we need to clear caches.

Change-Id: I00d1499c1e8816216bc630f1df86b179a3fd4aca
Signed-off-by: minho.sun <minho.sun@samsung.com>
6 years ago[4.0] Prevent using an empty textureset 19/170019/1
Heeyong Song [Tue, 13 Feb 2018 01:34:14 +0000 (10:34 +0900)]
[4.0] Prevent using an empty textureset

Change-Id: Id47720179996ff3107bb506ea873f50b254ff895

6 years ago[4.0] Stop caching fonts for unknown text script 30/169730/3
Richard Huang [Thu, 8 Feb 2018 17:55:52 +0000 (17:55 +0000)]
[4.0] Stop caching fonts for unknown text script

Change-Id: I53ccb43e0c47137f90814be728ee71d6ca70be85

6 years agoRevert "[4.0] Add debug log for glyph positions in text layout engine" 47/169647/1 accepted/tizen/4.0/unified/20180212.141240 submit/tizen_4.0/20180209.045021
huiyu,eun [Thu, 8 Feb 2018 06:02:32 +0000 (15:02 +0900)]
Revert "[4.0] Add debug log for glyph positions in text layout engine"

This reverts commit a9ce4ade4d1b2e1a87e9fdcb540da4fe1beb0fd9.

Change-Id: Ia5438366f1bfc0d87c9cdef79dd9100cfa4d490a

6 years agoRevert "[4.0] Change log level" 46/169646/1
huiyu,eun [Thu, 8 Feb 2018 06:02:10 +0000 (15:02 +0900)]
Revert "[4.0] Change log level"

This reverts commit e1f341a5289fa17760a2a0767866eaa02a7baab7.

Change-Id: I862e13e9d2b814d1c8f1abec2253bafeed2cbd3a

6 years ago[4.0] DALi version 1.2.85 03/169603/1 accepted/tizen/4.0/unified/20180209.064012 submit/tizen_4.0/20180208.050703
huiyu,eun [Thu, 8 Feb 2018 01:42:36 +0000 (10:42 +0900)]
[4.0] DALi version 1.2.85

Change-Id: Ic1e961d5570a0ccf702fed24bbf6cb8217323202
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[4.0] Added doxy comment for video-view 74/169574/1
taeyoon0.lee [Fri, 2 Feb 2018 09:31:16 +0000 (18:31 +0900)]
[4.0] Added doxy comment for video-view

Change-Id: I11f6c2730e6b79f06b9394cb505f3f536e95dcdb

6 years ago[4.0] Revert "[4.0] Added tag for capture privilege" 67/169567/1
taeyoon0.lee [Wed, 7 Feb 2018 12:09:55 +0000 (21:09 +0900)]
[4.0] Revert "[4.0] Added tag for capture privilege"

This reverts commit a6ac7722e3a699cce844273af0c31fe80c7aa7f6.

Change-Id: Id5d1806b4eb5a9f9ae4bf2124ea2b8e9be15aaca

6 years ago[4.0] Added APIs for codec and seek in VideoView 27/169027/2
taeyoon0.lee [Fri, 12 Jan 2018 12:36:25 +0000 (21:36 +0900)]
[4.0] Added APIs for codec and seek in VideoView

Change-Id: Ib8ccab9464a703444f6a5c65ab0fe3d911c777af

6 years ago[4.0] Added tag for capture privilege 32/169332/1
taeyoon0.lee [Mon, 22 Jan 2018 09:12:47 +0000 (18:12 +0900)]
[4.0] Added tag for capture privilege

Change-Id: I4b0fc1bd0dac9c5f59ba74182373d1fe74ed5636

6 years ago[4.0] DALi version 1.2.84 77/168877/1 accepted/tizen/4.0/unified/20180205.144534 submit/tizen_4.0/20180201.050235
huiyu,eun [Thu, 1 Feb 2018 01:05:10 +0000 (10:05 +0900)]
[4.0] DALi version 1.2.84

Change-Id: Ie84de019707f333aa632cdb916e303665b9324c6
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[4.0] Save the previous character's extra width 72/168872/1
Seoyeon Kim [Mon, 29 Jan 2018 07:22:18 +0000 (16:22 +0900)]
[4.0] Save the previous character's extra width

- Added mPreviousCharacterExtraWidth in LayoutEngine
  to compare the current character's extra width with the next character's.

Change-Id: Ic8cb093328f082dbb972441631fea9320ff9f6f8
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years agoMerge "Add more defensive code to detect invalid indices in text data" into tizen_4.0 accepted/tizen/4.0/unified/20180131.050202 submit/tizen_4.0/20180125.045739 submit/tizen_4.0/20180129.062802
Heeyong Song [Thu, 25 Jan 2018 04:02:42 +0000 (04:02 +0000)]
Merge "Add more defensive code to detect invalid indices in text data" into tizen_4.0

6 years ago[4.0] DALi version 1.2.83 86/168186/1
huiyu,eun [Thu, 25 Jan 2018 01:13:34 +0000 (10:13 +0900)]
[4.0] DALi version 1.2.83

Change-Id: I186676aac86eda62ac6980bc73f8e2af1cdfc6fe
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years agoAdd more defensive code to detect invalid indices in text data 62/168162/2
Richard Huang [Wed, 24 Jan 2018 15:00:11 +0000 (15:00 +0000)]
Add more defensive code to detect invalid indices in text data

Change-Id: Ifca4c122032c2f4341c2340f77f189252d8573cb

6 years agoAdd defensive code to detect text memory buffer corruption during relayout 39/168039/2
Richard Huang [Tue, 23 Jan 2018 17:08:15 +0000 (17:08 +0000)]
Add defensive code to detect text memory buffer corruption during relayout

Change-Id: I2a7114e95538822b8cacb9dfa3012df0f172d821

6 years ago[4.0] Add ignoreGlobalFontSizeChage to config section. 72/167572/6 accepted/tizen/4.0/unified/20180123.042144 submit/tizen_4.0/20180123.013215
minho.sun [Thu, 18 Jan 2018 08:10:47 +0000 (17:10 +0900)]
[4.0] Add ignoreGlobalFontSizeChage to config section.

Add ignoreGlobalFontSizeChage to config section.

If app wants to ignore global font size change, they can set this value
to true.

By default, the value is false.

Change-Id: Id2cc5d9860ed14b780aad34717cbcf59444540e2
Signed-off-by: minho.sun <minho.sun@samsung.com>
6 years agoRevert "[4.0] Keep aspect ratio of visual in ImageView" 00/167600/1 accepted/tizen/4.0/unified/20180119.133702 submit/tizen_4.0/20180119.025151
huiyu,eun [Thu, 18 Jan 2018 11:37:25 +0000 (20:37 +0900)]
Revert "[4.0] Keep aspect ratio of visual in ImageView"

This reverts commit 5e20550dbef7745ba12c07ad4bae45c57e57dbad.

Change-Id: Iaba7106d128d95aa4764795ce3d74153232e9609

6 years ago[4.0] DALi version 1.2.82 01/167501/1 accepted/tizen/4.0/unified/20180119.060720 submit/tizen_4.0/20180118.063616
huiyu,eun [Thu, 18 Jan 2018 04:51:57 +0000 (13:51 +0900)]
[4.0] DALi version 1.2.82

Change-Id: I39125263c919c6044ca0ec9355502b91c120a535
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[4.0] Don't count '\r' in text-field 69/167369/1
minho.sun [Mon, 15 Jan 2018 06:15:29 +0000 (15:15 +0900)]
[4.0] Don't count '\r' in text-field

Currently, in text field, '\r' is counted as character.
It can make overflow when user inserts many '\r'.

Change-Id: Ic9f3a3a8448242c818ac79537ed1cd909b08e4b5
Signed-off-by: minho.sun <minho.sun@samsung.com>
6 years agoFix doxygen format 09/167209/1
Seungho, Baek [Tue, 16 Jan 2018 07:17:03 +0000 (16:17 +0900)]
Fix doxygen format

 - modify "/*" to "/**" in item-layout.h:157, text-labe.h:360, video-view.h:340

Change-Id: I9584bce1149a2fb1b0319a1e8e5e6c594766f47b

6 years ago[4.0] Keep aspect ratio of visual in ImageView 18/167118/2
Francisco Santos [Mon, 8 Jan 2018 11:29:37 +0000 (11:29 +0000)]
[4.0] Keep aspect ratio of visual in ImageView

Change-Id: I6f967dbc52a0835dea6b7e40813c3d2b0add4c15

6 years ago[4.0] DALi version 1.2.81 26/166826/1 accepted/tizen/4.0/unified/20180116.022649 submit/tizen_4.0/20180112.054144 tizen_4.0.IoT.p2_release
huiyu,eun [Fri, 12 Jan 2018 04:48:00 +0000 (13:48 +0900)]
[4.0] DALi version 1.2.81

Change-Id: Ie00f5e51afa94ea4bd6fa1d7ae90a4a4b2d45422
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[4.0] Change log level 06/166806/1
Heeyong Song [Fri, 12 Jan 2018 04:20:46 +0000 (13:20 +0900)]
[4.0] Change log level

Change-Id: I5fcd5699c37af9df44fafa0a049952a0b5144e3d

6 years ago[4.0] Don't render text visual if the string is empty 70/166770/1
Heeyong Song [Wed, 27 Dec 2017 06:40:53 +0000 (15:40 +0900)]
[4.0] Don't render text visual if the string is empty

Change-Id: I88ad9e720501024e14a963ce73274ffde80f46f6

6 years agoMerge "[4.0] Fix the cursor position after text selecting using tap" into tizen_4.0
Seoyeon Kim [Thu, 11 Jan 2018 04:42:55 +0000 (04:42 +0000)]
Merge "[4.0] Fix the cursor position after text selecting using tap" into tizen_4.0

6 years ago[4.0] Fix the cursor position after text selecting using tap 83/166583/1
Seoyeon Kim [Thu, 11 Jan 2018 02:07:31 +0000 (11:07 +0900)]
[4.0] Fix the cursor position after text selecting using tap

- If the user select some text by tapping, then when the selected text is highlighted,
 if now the user press left or right arrow key (without shift key),
 the cursor should be at the beginning or the end of the selected key.
 (depending on whether you press the left or the right arrow key)

Change-Id: I5f221b7f4eafbabde54a64f514949931ce235175
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years ago[4.0] Not use premultiplication on load if custom shader is used 69/166569/1
Heeyong Song [Wed, 10 Jan 2018 08:02:17 +0000 (17:02 +0900)]
[4.0] Not use premultiplication on load if custom shader is used

Change-Id: Idddb7b0cbc5b151ea2554252c46dc9e789fd1975

6 years ago[4.0] Added playback (i.e. Play, Pause, Stop) support for the animated GIF. 07/166507/3
Umar [Fri, 29 Dec 2017 20:29:11 +0000 (20:29 +0000)]
[4.0] Added playback (i.e. Play, Pause, Stop) support for the animated GIF.

Change-Id: I21ba8d2d707fd563977126877f0c74bb73734adc

6 years ago[4.0] Loop count support for animated GIF 49/166349/3
Umar [Wed, 27 Dec 2017 18:16:57 +0000 (18:16 +0000)]
[4.0] Loop count support for animated GIF

Change-Id: Ieee7e5441f4c55a69852384b993b6e14ed417ea6

6 years ago[4.0] DALi version 1.2.80 68/166468/1 accepted/tizen/4.0/unified/20180111.051330 submit/tizen_4.0/20180110.094500
huiyu,eun [Wed, 10 Jan 2018 09:18:24 +0000 (18:18 +0900)]
[4.0] DALi version 1.2.80

Change-Id: I9a645415158d8d3065fed2d4dbe7b28462501a09
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[4.0] Add debug log for glyph positions in text layout engine 64/166364/1
Richard Huang [Tue, 9 Jan 2018 14:10:18 +0000 (14:10 +0000)]
[4.0] Add debug log for glyph positions in text layout engine

Change-Id: Ib763fc0c61de70b757199958fc2aacc139e0e721

6 years agoMerge "Revert "[4.0] Don't render text visual if the string is empty or the color...
Seoyeon Kim [Tue, 9 Jan 2018 08:19:34 +0000 (08:19 +0000)]
Merge "Revert "[4.0] Don't render text visual if the string is empty or the color is transparent"" into tizen_4.0

6 years agoRevert "[4.0] Don't render text visual if the string is empty or the color is transpa... 95/166295/2
Seoyeon Kim [Tue, 9 Jan 2018 08:06:23 +0000 (17:06 +0900)]
Revert "[4.0] Don't render text visual if the string is empty or the color is transparent"

This reverts commit c53e6919894a7a8c85984d3d9529ca9ae4b6dbb4.

Change-Id: Ice171d2c1f2a2068f4d598c9cd2a131aa448b211

6 years agoMerge "[4.0] Make sure mClearAll is true when calling GetNaturalSize()" into tizen_4.0
HyunJu Shin [Tue, 9 Jan 2018 01:45:29 +0000 (01:45 +0000)]
Merge "[4.0] Make sure mClearAll is true when calling GetNaturalSize()" into tizen_4.0

6 years ago[4.0] Make sure mClearAll is true when calling GetNaturalSize() 54/166054/1
minho.sun [Fri, 5 Jan 2018 09:47:17 +0000 (18:47 +0900)]
[4.0] Make sure mClearAll is true when calling GetNaturalSize()

Currently, GetNaturalSize() sets mClearAll to false.

It can make bug when calling GetHeightForWidth right after
GetNaturalSize().

Change-Id: Ic290bcdbb649402a1c06f32b63eadb434d7bf867
Signed-off-by: minho.sun <minho.sun@samsung.com>
6 years ago[4.0] Added automatic premultiplication of image visual images 96/165896/1
David Steele [Wed, 3 Jan 2018 16:20:19 +0000 (16:20 +0000)]
[4.0] Added automatic premultiplication of image visual images

To prevent scaling quality issues, image visual images are pre-multiplied after loading.
By default, this is on, but it can be turned off via a new API in VisualFactory.

Conflicts:
automated-tests/src/dali-toolkit-internal/dali-toolkit-test-utils/dummy-visual.cpp
automated-tests/src/dali-toolkit-internal/utc-Dali-TextureManager.cpp
automated-tests/src/dali-toolkit/utc-Dali-ImageVisual.cpp
dali-toolkit/devel-api/visual-factory/visual-factory.h
dali-toolkit/internal/visuals/animated-image/fixed-image-cache.cpp
dali-toolkit/internal/visuals/animated-image/rolling-gif-image-cache.cpp
dali-toolkit/internal/visuals/animated-image/rolling-image-cache.cpp
dali-toolkit/internal/visuals/image/image-visual.cpp
dali-toolkit/internal/visuals/texture-manager-impl.cpp
dali-toolkit/internal/visuals/texture-manager-impl.h
dali-toolkit/internal/visuals/visual-factory-cache.h
dali-toolkit/internal/visuals/visual-factory-impl.cpp
dali-toolkit/internal/visuals/visual-factory-impl.h

Change-Id: Id1606e156f2d31d858bb4ddc65cbf97ed3efba5c
Signed-off-by: David Steele <david.steele@samsung.com>
6 years ago[4.0] DALi version 1.2.79 97/165797/1 accepted/tizen/4.0/unified/20180111.044658 submit/tizen_4.0/20180104.070146
dongsug.song [Thu, 4 Jan 2018 05:15:32 +0000 (14:15 +0900)]
[4.0] DALi version 1.2.79

Change-Id: Ifafbfdf1d6d37807e2d915987b96aa0fe236c38b
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
6 years agoAdded automatic premultiplication of image visual images 80/165780/1
David Steele [Wed, 3 Jan 2018 16:20:19 +0000 (16:20 +0000)]
Added automatic premultiplication of image visual images

To prevent scaling quality issues, image visual images are pre-multiplied after loading.
By default, this is on, but it can be turned off via a new API in VisualFactory.

Change-Id: I53757be33894effdd61b719631fb79527e8a4fbe
Signed-off-by: David Steele <david.steele@samsung.com>
6 years agoMerge "[4.0] Fix UpdateRender if statement." into tizen_4.0 accepted/tizen/4.0/unified/20180104.054040 submit/tizen_4.0/20180104.011142
minho.sun [Thu, 4 Jan 2018 00:08:25 +0000 (00:08 +0000)]
Merge "[4.0] Fix UpdateRender if statement." into tizen_4.0

6 years ago[4.0] Fix UpdateRender if statement. 42/165742/2
minho.sun [Wed, 3 Jan 2018 12:55:12 +0000 (21:55 +0900)]
[4.0] Fix UpdateRender if statement.

Currently, TextVisual makes crash when doing UpdateRender because mAnimatableTextColorPropertyIndex is set to Property::INVALID_INDEX and this property only can be set by TextLabel.

TextVisual can be exist in other control like Buttons so change if
statement which uses mAnimatableTextColorPropertyIndex to get alpha
value.

Change-Id: I5ea04461584126e69490ccc513434200f5751755
Signed-off-by: minho.sun <minho.sun@samsung.com>
6 years agoEnsure text starting with weak character reports correct text direction 57/165757/1
Richard Huang [Tue, 2 Jan 2018 17:45:44 +0000 (17:45 +0000)]
Ensure text starting with weak character reports correct text direction

Change-Id: Ib5523211da9c3c3bb06f05e36cd7ccc959b7b9b6
(cherry picked from commit 46a49ad24f9c8639fd2d5c27218abe885845a689)

6 years ago[4.0] Line spacing for TextLabel and vertical line alignment feature 73/165673/1
minho.sun [Wed, 3 Jan 2018 07:07:01 +0000 (16:07 +0900)]
[4.0] Line spacing for TextLabel and vertical line alignment feature

This reverts commit d9f52831497acf7589958206941179cca4c36b8e.

Change-Id: I93283075607435849addf21c4d0ccff669be41ea

6 years agoMerge "[4.0] Fix Shift + Left/Right key behavior" into tizen_4.0 submit/tizen_4.0/20171228.093240 submit/tizen_4.0/20180103.021210
dongsug song [Thu, 28 Dec 2017 08:56:18 +0000 (08:56 +0000)]
Merge "[4.0] Fix Shift + Left/Right key behavior" into tizen_4.0

6 years ago[4.0] DALi version 1.2.78 40/165340/1
huiyu,eun [Thu, 28 Dec 2017 08:41:29 +0000 (17:41 +0900)]
[4.0] DALi version 1.2.78

Change-Id: I0b5d75f517d8f2d97f9058e03ae3c2c269d25f01
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[4.0] Fix Shift + Left/Right key behavior 06/165306/2
Seoyeon Kim [Wed, 27 Dec 2017 06:05:20 +0000 (15:05 +0900)]
[4.0] Fix Shift + Left/Right key behavior

- When the cursor was at the end of the text, the text selection couldn't release again.
  Fixed to make deselection enabled wherever the cursor is.
- If Left selection handle is at the same position as Right selection handle,
  need to remove Highlights box between them.
- When all text is being selected using Shift + Arrow key and then only Arrow key is pressed,
  1. the text selection is released,
  2. the event state changes to 'EDITING' mode, and
  3. mPrimaryCursorPosition, mLeftSelectionPosition, and mRightSelectionPosition
     should be at the same position.

Change-Id: I0d7869c0231c52296e37a3268dffe3e707de8cbd
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years ago[4.0] Don't render text visual if the string is empty or the color is transparent 13/165313/1
Heeyong Song [Wed, 27 Dec 2017 06:40:53 +0000 (15:40 +0900)]
[4.0] Don't render text visual if the string is empty or the color is transparent

Change-Id: I1da1b0e243b645ad3a8b5e9ce558b81d82f07186

6 years agoMerge "[4.0] Check line is empty or not before getting line of character" into tizen_4.0
HyunJu Shin [Thu, 28 Dec 2017 06:12:58 +0000 (06:12 +0000)]
Merge "[4.0] Check line is empty or not before getting line of character" into tizen_4.0

6 years agoMerge "[4.0] Fix text scroll start position issue" into tizen_4.0
HyunJu Shin [Thu, 28 Dec 2017 06:07:03 +0000 (06:07 +0000)]
Merge "[4.0] Fix text scroll start position issue" into tizen_4.0

6 years ago[4.0] Check line is empty or not before getting line of character 04/165304/1
minho.sun [Wed, 27 Dec 2017 07:55:49 +0000 (16:55 +0900)]
[4.0] Check line is empty or not before getting line of character

mLine can be empty Vector if there is no text or place holder in
text-editor / text-field.

So check mLine is empty or not first and if it is empty, return 0u.

Change-Id: I5521366ab8b5c5c682c7d303a24a90fe31abe548

6 years agoMerge "[4.0] Fixed Text texture quality issue when auto scrolling" into tizen_4.0
Jinho, Lee [Thu, 28 Dec 2017 03:00:45 +0000 (03:00 +0000)]
Merge "[4.0] Fixed Text texture quality issue when auto scrolling" into tizen_4.0

6 years ago[4.0] Fix text scroll start position issue 90/164990/2
minho.sun [Fri, 22 Dec 2017 04:40:58 +0000 (13:40 +0900)]
[4.0] Fix text scroll start position issue

When user sets textlabel auto scroll, it starts after aligning.
It makes long text start its scrolling at the odd position when
horizontal alignment is not begin.

Makes long text always start its scrolling at the begin position even if
horizontal alignment is set.

Change-Id: Ie54bbb570fdce4d92b1178614e2e64951a77dba9

6 years agoRevert "[4.0] Line spacing for TextLabel and vertical line alignment feature" 01/165201/1 accepted/tizen/4.0/unified/20171228.065049 submit/tizen_4.0/20171227.063609
huiyu,eun [Wed, 27 Dec 2017 04:39:10 +0000 (13:39 +0900)]
Revert "[4.0] Line spacing for TextLabel and vertical line alignment feature"

This reverts commit 332c759a5024fd462f1ec0cec8a0dc3ae2ec829e.

Change-Id: If99593fb091b7660ccbd9f4dacc4aee71a551e8c

6 years ago[4.0] DALi version 1.2.77 15/165115/1 submit/tizen_4.0/20171226.082854
huiyu,eun [Tue, 26 Dec 2017 08:26:49 +0000 (17:26 +0900)]
[4.0] DALi version 1.2.77

Change-Id: I4b585115ce27778366f4049aa4810e4146b3be51
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[4.0] Fixed Text texture quality issue when auto scrolling 80/164980/2
Jinho, Lee [Tue, 26 Dec 2017 06:59:40 +0000 (15:59 +0900)]
[4.0] Fixed Text texture quality issue when auto scrolling

 - When using emoji, an unknown line appears at the top of the texture.
 - Add exception handling code to shader code

Change-Id: Ie8368fdff2208ba3c5107b99b88bd9007cd2cf58

6 years ago[4.0] Support custom shader in svg visual 78/165078/1
Heeyong Song [Thu, 14 Dec 2017 00:29:38 +0000 (09:29 +0900)]
[4.0] Support custom shader in svg visual

Change-Id: I928296c64c614c8e4cf9b8bfb1258f90d651a1e9

6 years ago[4.0] Removed Texture Atlas for the GIF image. 58/160558/8
Umar [Thu, 9 Nov 2017 20:48:49 +0000 (20:48 +0000)]
[4.0] Removed Texture Atlas for the GIF image.

Added new RollingGifImageCache for animated images.

Change-Id: Idda4fecb7f4c5303f459a9e6b18222fdb3c83a41

6 years ago[4.0] (ColorVisual) Don't render if transparent alpha by default 36/164736/4
Adeel Kazmi [Wed, 20 Dec 2017 14:56:24 +0000 (14:56 +0000)]
[4.0] (ColorVisual) Don't render if transparent alpha by default

Added a property to force rendering if required. This was needed for the CLIP_CHILDREN use case.

Change-Id: Id5beaf92ed38b2beb30439c7ab760c8a762f1d9f
(cherry picked from commit f20180dbb4cd52afb0305f2aa7889e81f55ef19e)

6 years agoMerge "[4.0] SVACE Error fix TextureManager Thread bounds" into tizen_4.0
Adeel Kazmi [Fri, 22 Dec 2017 10:57:43 +0000 (10:57 +0000)]
Merge "[4.0] SVACE Error fix TextureManager Thread bounds" into tizen_4.0

6 years ago[4.0] Disable pixel alignment while scrolling the text 22/164922/1
Richard Huang [Wed, 20 Dec 2017 11:21:47 +0000 (11:21 +0000)]
[4.0] Disable pixel alignment while scrolling the text

Change-Id: I8980a4ae249d6b67868e1b0beb21f2d98e39e25e

6 years ago[4.0] Line spacing for TextLabel and vertical line alignment feature 14/164914/1
adam.b [Thu, 14 Dec 2017 16:06:54 +0000 (16:06 +0000)]
[4.0] Line spacing for TextLabel and vertical line alignment feature

- Line spacing is now supported by the TextLabel only
- Introduced new devel property VERTICAL_LINE_ALIGNMENT providing
  vertical text aligning within its line area ( TOP, MIDDLE, BOTTOM )

Change-Id: I568a7ef5bed4adcf358e6cab05c3316b93430f1c
(cherry picked from commit 2ef1ec2dc06370b206f95db44c0a59259ce2f7d1)

6 years ago[4.0] Updated NanoSVG to latest version (9 July 2017) 07/164907/1
David Steele [Wed, 18 Oct 2017 14:42:34 +0000 (15:42 +0100)]
[4.0] Updated NanoSVG to latest version (9 July 2017)

This fixes a number of issues, including the arc drawing.
See https://github.com/memononen/nanosvg/commits/master for further details

Change-Id: I9f5bff91167c2dea625efa903a18f9292c3853b5

6 years ago[4.0] DALi version 1.2.76 93/164793/1 accepted/tizen/4.0/unified/20171222.062658 submit/tizen_4.0/20171221.053908
huiyu,eun [Thu, 21 Dec 2017 05:20:03 +0000 (14:20 +0900)]
[4.0] DALi version 1.2.76

Change-Id: I60e7104ca20b4c8460d98939e3a0fc7dcce73f17
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years agoMerge "[4.0] Modify linebreak unit when creating LineLayout" into tizen_4.0
HyunJu Shin [Thu, 21 Dec 2017 05:17:16 +0000 (05:17 +0000)]
Merge "[4.0] Modify linebreak unit when creating LineLayout" into tizen_4.0