platform/core/uifw/dali-toolkit.git
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] 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

6 years 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

6 years 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

6 years 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>
6 years 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>
6 years 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

6 years 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>
6 years 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

6 years 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

6 years 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>
6 years 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

6 years 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)

6 years 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

6 years 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

6 years 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

6 years 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>
6 years 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>
6 years 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)

6 years 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)

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] 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>
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)