platform/core/uifw/dali-toolkit.git
6 weeks ago[Tizen] Fix cursor position issue when only placeholder text show 57/190957/1 tizen_4.0_tv
xb.teng [Wed, 10 Oct 2018 02:12:23 +0000 (10:12 +0800)]
[Tizen] Fix cursor position issue when only placeholder text show

Change-Id: I6f07179f537a72a8d050e66a1375fc6ee4b179d0

5 months ago[4.0] DALi version 1.2.90 60/181060/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>
7 months agoWhen loading two or more imageviews with the same URL 57/176357/4
Joogab Yun [Wed, 18 Apr 2018 16:50:48 +0000 (01:50 +0900)]
When loading two or more imageviews with the same URL
It should not be rendered at not start or loading fail.
check mLoading value in DoSetOnStage() at image-visual.cpp

Change-Id: I920a0a30d9aff202dd2975ad50dc06fa3fec1eef

7 months ago[4.0] DALi version 1.2.89 21/173921/1
huiyu.eun [Tue, 27 Mar 2018 03:26:38 +0000 (12:26 +0900)]
[4.0] DALi version 1.2.89

Change-Id: I1e01034e30fa9e1e77d1992b8853c5fcde17e879
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 months agosupports remote URL gif image 93/173893/1
Joogab Yun [Mon, 26 Mar 2018 05:26:12 +0000 (14:26 +0900)]
supports remote URL gif image

Change-Id: I4ab7bff9b1330e0745b3c31ef574fd5cffcd788e

7 months ago[4.0] Make alpha value pre-multiplied in all text cases 11/173811/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

8 months agoMerge "[4.0] Update text layout utcs" into tizen_4.0_tv
HyunJu Shin [Fri, 16 Mar 2018 01:25:29 +0000 (01:25 +0000)]
Merge "[4.0] Update text layout utcs" into tizen_4.0_tv

8 months ago[4.0] Update text layout utcs 70/172770/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>
8 months ago[4.0] Remove atlas calculation from text-visual shader 72/172672/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: I4962538ab704b0882286892e6597f822ed526699

8 months ago[4.0] Fix NotifyObservers 52/172452/2
Heeyong Song [Wed, 14 Mar 2018 04:58:14 +0000 (13:58 +0900)]
[4.0] Fix NotifyObservers

Change-Id: I0a4c726cfda825d89173d63e53b0c800dfa80b4c

8 months ago[4.0] Ensured ImageView requests inside ResourceReady signal handler are queued. 24/172424/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>
8 months ago[4.0] Fix the issue that GetHeightForWidth returns wrong height after calling GetText... 00/171700/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

8 months ago[4.0] DALi version 1.2.88 29/171129/1
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>
8 months ago[4.0] Change tc according to blending factor change for premultiplied alpha format 75/170875/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

9 months ago[4.0] DALi version 1.2.87 04/170404/1
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>
9 months ago[4.0] Add GET_GLYPH_METRICS to onlyOnceOperations in GetTextDirection 78/170378/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>
9 months ago[4.0] clear cache when locale is changed 39/170039/5
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: I76b2f195be323a87b9076c8b11575f306336225a
Signed-off-by: minho.sun <minho.sun@samsung.com>
9 months ago[4.0] Prevent using an empty textureset 20/170020/1
Heeyong Song [Tue, 13 Feb 2018 01:34:14 +0000 (10:34 +0900)]
[4.0] Prevent using an empty textureset

Change-Id: Id47720179996ff3107bb506ea873f50b254ff895

9 months ago[4.0] DALi version 1.2.86 87/169987/1
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>
9 months ago[4.0] Stop caching fonts for unknown text script 80/169980/1
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

9 months agoRevert "[4.0] Add debug log for glyph positions in text layout engine" 45/169645/1
huiyu,eun [Thu, 8 Feb 2018 06:01:41 +0000 (15:01 +0900)]
Revert "[4.0] Add debug log for glyph positions in text layout engine"

This reverts commit a9ce4ade4d1b2e1a87e9fdcb540da4fe1beb0fd9.

Change-Id: I27e3c64de9ee5675eeb18768035940aa53e21c80

9 months agoRevert "[4.0] Change log level" 44/169644/1
huiyu,eun [Thu, 8 Feb 2018 05:56:07 +0000 (14:56 +0900)]
Revert "[4.0] Change log level"

This reverts commit e1f341a5289fa17760a2a0767866eaa02a7baab7.

Change-Id: Id441768a03ec89a2ff9a03517cc7454612b87cb1

9 months ago[4.0] DALi version 1.2.85 04/169604/1
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>
9 months 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

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

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

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

9 months 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>
10 months 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

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

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

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

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

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

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

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

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

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

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

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

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

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

10 months 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>
10 months 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)

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

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

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

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

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

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

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

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

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

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

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

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

10 months 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)

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

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

11 months 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)

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

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

11 months ago[4.0] Modify linebreak unit when creating LineLayout 45/164645/2
Jinho, Lee [Wed, 20 Dec 2017 07:06:49 +0000 (16:06 +0900)]
[4.0] Modify linebreak unit when creating LineLayout

 - period is reconized word unit.
 - In the past, if the text exceeded the line layout size, only the period was down to another line.
 - Modify line breaks to linebreak instead of Wordbreak.

Change-Id: If7dc8b721b542ab0896326721fc71fed70319d95

11 months agoMerge "[4.0] Move Some Devel Properties & API to the Public-API - Add API & Properti...
Moonhee Choi [Wed, 20 Dec 2017 09:27:10 +0000 (09:27 +0000)]
Merge "[4.0] Move Some Devel Properties & API to the Public-API  - Add API & Properties related to loading status of visual resource     : control.h & visual-properties.h  - Add Properties related to policy of loading & deleting of ImageVisual     : image-visual-properties.h" into tizen_4.0

11 months ago[4.0] Move Some Devel Properties & API to the Public-API 37/164637/2
Moonhee Choi [Wed, 20 Dec 2017 06:03:06 +0000 (15:03 +0900)]
[4.0] Move Some Devel Properties & API to the Public-API
 - Add API & Properties related to loading status of visual resource
    : control.h & visual-properties.h
 - Add Properties related to policy of loading & deleting of ImageVisual
    : image-visual-properties.h

Change-Id: Ic6c9626eff4c6552b98028bbf5d3be3fa325222c
Signed-off-by: Moonhee Choi <mh0310.choi@samsung.com>
11 months ago[4.0] DALi version 1.2.75 17/164617/1 accepted/tizen/4.0/unified/20171221.070832 submit/tizen_4.0/20171220.054557
dongsug.song [Wed, 20 Dec 2017 05:03:36 +0000 (14:03 +0900)]
[4.0] DALi version 1.2.75

Change-Id: I4af3ab5565e9c16921a5283b2bd0121238fea77b
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
11 months agoMerge "[4.0] Previous model height return problem fixed" into tizen_4.0
HyunJu Shin [Tue, 19 Dec 2017 07:30:15 +0000 (07:30 +0000)]
Merge "[4.0] Previous model height return problem fixed" into tizen_4.0

11 months ago[4.0] Add ENABLE_SHIFT_SELECTION property 78/164378/1
Seoyeon Kim [Wed, 13 Dec 2017 10:43:29 +0000 (19:43 +0900)]
[4.0] Add ENABLE_SHIFT_SELECTION property

 - Added ENABLE_SHIFT_SELECTION property in DevelTextField and DevelTextEditor
 - ENABLE_SHIFT_SELECTION property is enabled or disabled Text selection using
 Keyboard Shift key.

Change-Id: I70a712ffd5eab04b1dc81768b6b39ca29c785a2e
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
11 months ago[4.0] Previous model height return problem fixed 31/164331/1
Jinho, Lee [Mon, 18 Dec 2017 13:45:00 +0000 (22:45 +0900)]
[4.0] 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: I72d6a6c56a8dd70aa438a6c37d686847028e75c7

11 months agoMerge "[4.0] Added since version for Capture in doc" into tizen_4.0
taeyoon0.lee [Mon, 18 Dec 2017 10:35:03 +0000 (10:35 +0000)]
Merge "[4.0] Added since version for Capture in doc" into tizen_4.0

11 months ago[4.0] DALi version 1.2.74 02/164202/1 accepted/tizen/4.0/unified/20171219.072148 submit/tizen_4.0/20171218.104831
huiyu,eun [Mon, 18 Dec 2017 05:20:29 +0000 (14:20 +0900)]
[4.0] DALi version 1.2.74

Change-Id: Ic69ef9a8c2e12a29af5935f71dba5bbd9ee0b423
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
11 months ago[4.0] Added since version for Capture in doc 40/164040/1
taeyoon0.lee [Fri, 8 Dec 2017 09:09:08 +0000 (18:09 +0900)]
[4.0] Added since version for Capture in doc

Change-Id: I3caa44dec661adb791dd784e5c5989b802fe35cd

11 months agoAdd outline property to text visual 25/164025/1
Richard Huang [Wed, 13 Dec 2017 15:21:10 +0000 (15:21 +0000)]
Add outline property to text visual

Change-Id: I73bb5d932da84be4b277227b8d5f12748e2ec992
(cherry picked from commit 4c75bf7cad5d505c34f9bcb247b5fa9806115349)

11 months ago[4.0] Text outline support in TextField & TextEditor 83/163483/6
Richard Huang [Thu, 7 Dec 2017 13:33:27 +0000 (13:33 +0000)]
[4.0] Text outline support in TextField & TextEditor

Change-Id: I9838fb0867102e920bcc07650ff5c3a8903a7e24

11 months agoMerge "[4.0] Text atlas renderer refacor." into tizen_4.0
Adeel Kazmi [Thu, 14 Dec 2017 18:03:25 +0000 (18:03 +0000)]
Merge "[4.0] Text atlas renderer refacor." into tizen_4.0

11 months agoMerge "Fix SVACE issue in TextController" into tizen_4.0
Adeel Kazmi [Thu, 14 Dec 2017 15:40:53 +0000 (15:40 +0000)]
Merge "Fix SVACE issue in TextController" into tizen_4.0

11 months ago[4.0] DALi Version 1.2.73 41/163941/1 accepted/tizen/4.0/unified/20171215.060726 submit/tizen_4.0/20171214.071527
huiyu,eun [Thu, 14 Dec 2017 07:01:34 +0000 (16:01 +0900)]
[4.0] DALi Version 1.2.73

Change-Id: Ieeab66b4a169429387a1469a76f44892a97fbd9c
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
11 months ago[4.0] DALi Version 1.2.72 82/163782/1 submit/tizen_4.0/20171213.103220
huiyu,eun [Wed, 13 Dec 2017 10:09:16 +0000 (19:09 +0900)]
[4.0] DALi Version 1.2.72

Change-Id: I27741d08b13e9fa11977036b8ef037221fdf5946
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
11 months ago[4.0] Text atlas renderer refacor. 82/163482/4
Victor Cebollada [Fri, 8 Dec 2017 10:41:22 +0000 (10:41 +0000)]
[4.0] Text atlas renderer refacor.

* Add some methods to avoid code duplication.

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

11 months agoFix SVACE issue in TextController 61/163661/1
Adeel Kazmi [Tue, 12 Dec 2017 17:36:28 +0000 (17:36 +0000)]
Fix SVACE issue in TextController

Change-Id: Id4dab4de25d677ccc20d32a06dcc990bc753abf8
(cherry picked from commit 615b92ce2555a675bfadd2a078728cb9dd222954)

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

11 months ago[4.0] DALi Version 1.2.71 56/163656/1 accepted/tizen/4.0/unified/20171213.040849 submit/tizen_4.0/20171213.004332
huiyu,eun [Tue, 12 Dec 2017 16:25:59 +0000 (01:25 +0900)]
[4.0] DALi Version 1.2.71

Change-Id: Ia6d6c491e8ee2cbbcf649954c753429302463db3
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
11 months 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

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