platform/core/uifw/dali-toolkit.git
21 months agoUnused FrameBufferImage removed from the text atlas renderer. 58/170658/1
Victor Cebollada [Wed, 21 Feb 2018 07:47:27 +0000 (07:47 +0000)]
Unused FrameBufferImage removed from the text atlas renderer.

Change-Id: I1093031d752c550b14cb1213f83f83c33f32e446
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
21 months agoAdd GET_GLYPH_METRICS to onlyOnceOperations in GetTextDirection 76/170376/1
minho.sun [Mon, 19 Feb 2018 11:54:13 +0000 (20:54 +0900)]
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>
21 months agoChange common test application 43/168843/4
Heeyong Song [Wed, 31 Jan 2018 09:41:56 +0000 (18:41 +0900)]
Change common test application

Change-Id: Id3865c8bd930110c5cfeb57f0cf23dd7172ef325

21 months agoMerge "Text background support for TextLabel" into devel/master
Adeel Kazmi [Fri, 16 Feb 2018 15:30:21 +0000 (15:30 +0000)]
Merge "Text background support for TextLabel" into devel/master

21 months agoText background support for TextLabel 03/168603/7
Richard Huang [Mon, 29 Jan 2018 17:37:12 +0000 (17:37 +0000)]
Text background support for TextLabel

Change-Id: I62d1d2a5cec9b0f3d1f73859358385d08357c8b4

21 months agoMerge "Stop caching fonts for unknown text script" into devel/master
Adeel Kazmi [Fri, 16 Feb 2018 14:38:18 +0000 (14:38 +0000)]
Merge "Stop caching fonts for unknown text script" into devel/master

21 months agoDALi Version 1.3.12 74/170274/1 dali_1.3.12
David Steele [Fri, 16 Feb 2018 13:55:49 +0000 (13:55 +0000)]
DALi Version 1.3.12

Change-Id: Ieaa78eba66880243a17383d25fe28a05a38fe514

21 months agoStop caching fonts for unknown text script 29/169729/3
Richard Huang [Thu, 8 Feb 2018 16:29:35 +0000 (16:29 +0000)]
Stop caching fonts for unknown text script

Change-Id: Ic62bdc8cc16a7367c690235acdc66ffde32a39b5

21 months agoPrevent texture removal after TextureManager destroyed 28/169728/2
David Steele [Mon, 22 Jan 2018 15:15:48 +0000 (15:15 +0000)]
Prevent texture removal after TextureManager destroyed

On shutdown, if there is an ImageView actor with an
AnimatedImageVisual still in the tree, then on destruction it tries to
kill off textures. However, TextureManager has already been shutdown
and can't be called.

Adding a lifecycle observer so AnimatedImageVisual helper classes can shutdown cleanly.

Change-Id: I5f07288291b850e69f45df879cce8c27bccb3f6e

21 months agoDALi Version 1.3.11 20/169820/1 dali_1.3.11
adam.b [Fri, 9 Feb 2018 11:08:52 +0000 (11:08 +0000)]
DALi Version 1.3.11

Change-Id: Ie436a2771412ca3214682be5efaeafcfa7eb159d

22 months agoAdded logging function to image loader threads 12/161512/4
David Steele [Thu, 23 Nov 2017 21:49:47 +0000 (21:49 +0000)]
Added logging function to image loader threads

Change-Id: I766605855228ad86fd35e09774e0b82e5f7d1f90

22 months agoAdded tag for capture privilege 34/167834/2
taeyoon0.lee [Mon, 22 Jan 2018 09:12:47 +0000 (18:12 +0900)]
Added tag for capture privilege

Change-Id: I4b0fc1bd0dac9c5f59ba74182373d1fe74ed5636

22 months agoAdded APIs for codec and seek in VideoView 25/166925/14
taeyoon0.lee [Fri, 12 Jan 2018 12:36:25 +0000 (21:36 +0900)]
Added APIs for codec and seek in VideoView

Change-Id: Ib8ccab9464a703444f6a5c65ab0fe3d911c777af

22 months agoMerge "Added doxy comment for video-view" into devel/master
Adeel Kazmi [Mon, 5 Feb 2018 11:50:48 +0000 (11:50 +0000)]
Merge "Added doxy comment for video-view" into devel/master

22 months agoDALi Version 1.3.10 20/169120/1 dali_1.3.10
Adeel Kazmi [Fri, 2 Feb 2018 10:28:40 +0000 (10:28 +0000)]
DALi Version 1.3.10

Change-Id: I7f3f54dcf2b7bba7f8e1c39452f9ec1cc7145af7

22 months agoAdded doxy comment for video-view 15/169115/1
taeyoon0.lee [Fri, 2 Feb 2018 09:31:16 +0000 (18:31 +0900)]
Added doxy comment for video-view

Change-Id: I11f6c2730e6b79f06b9394cb505f3f536e95dcdb

22 months agoSave the previous character's extra width 28/168528/2
Seoyeon Kim [Mon, 29 Jan 2018 07:22:18 +0000 (16:22 +0900)]
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>
22 months agoMerge "DALi Version 1.3.9" into devel/master
Adeel Kazmi [Fri, 26 Jan 2018 14:42:12 +0000 (14:42 +0000)]
Merge "DALi Version 1.3.9" into devel/master

22 months agoDALi Version 1.3.9 37/168437/1 dali_1.3.9
Umar [Fri, 26 Jan 2018 14:18:03 +0000 (14:18 +0000)]
DALi Version 1.3.9

Change-Id: I2f16c073482c726f8daedc130e49669ba84812f8

22 months agoAdd defensive code to detect text memory buffer corruption 38/168038/6
Richard Huang [Tue, 23 Jan 2018 17:08:15 +0000 (17:08 +0000)]
Add defensive code to detect text memory buffer corruption

Change-Id: I2a7114e95538822b8cacb9dfa3012df0f172d821

22 months agoAdd a property to enable/disable the grab handles in TextField and TextEditor 30/167130/4
Richard Huang [Mon, 15 Jan 2018 16:14:16 +0000 (16:14 +0000)]
Add a property to enable/disable the grab handles in TextField and TextEditor

Change-Id: I7d9313a0786526565b70f966f52bdd77262b435b

22 months agoDALi Version 1.3.8 00/167700/1 dali_1.3.8
Victor Cebollada [Fri, 19 Jan 2018 08:16:12 +0000 (08:16 +0000)]
DALi Version 1.3.8

Change-Id: If87eaabf3d57622b372ac48a721ef9615b42c2b6

22 months agoMerge "Rename visual fitting mode property" into devel/master
David Steele [Thu, 18 Jan 2018 18:15:46 +0000 (18:15 +0000)]
Merge "Rename visual fitting mode property" into devel/master

22 months agoMerge "Don't set position or offset on image visuals with fitting mode FILL" into...
David Steele [Thu, 18 Jan 2018 18:15:16 +0000 (18:15 +0000)]
Merge "Don't set position or offset on image visuals with fitting mode FILL" into devel/master

22 months agoMerge "Don't pre-multiply on external images." into devel/master
David Steele [Thu, 18 Jan 2018 18:14:51 +0000 (18:14 +0000)]
Merge "Don't pre-multiply on external images." into devel/master

22 months agoRename visual fitting mode property 04/167604/2
Francisco Santos [Thu, 18 Jan 2018 10:48:45 +0000 (10:48 +0000)]
Rename visual fitting mode property

Change-Id: Ib0ff42211ab5944e885f5a19cc320a2c2d6f6500

22 months agoDon't set position or offset on image visuals with fitting mode FILL 52/167452/2
Francisco Santos [Wed, 17 Jan 2018 18:11:07 +0000 (18:11 +0000)]
Don't set position or offset on image visuals with fitting mode FILL

Change-Id: Id23268884f5a3587d5fb27132f03e2d19f70cb6d

22 months agoDon't pre-multiply on external images. 51/167451/1
Francisco Santos [Wed, 17 Jan 2018 18:10:10 +0000 (18:10 +0000)]
Don't pre-multiply on external images.

Change-Id: I4410604e59d7b4b235f86133c8c5bb9c110f84d7

22 months agoMerge "Don't count '\r' in text-field" into devel/master
Heeyong Song [Wed, 17 Jan 2018 08:30:10 +0000 (08:30 +0000)]
Merge "Don't count '\r' in text-field" into devel/master

22 months agoDon't count '\r' in text-field 41/167041/6
minho.sun [Mon, 15 Jan 2018 06:15:29 +0000 (15:15 +0900)]
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: Ib6114faad89e0a69886c81af147469d7e274dc4e
Signed-off-by: minho.sun <minho.sun@samsung.com>
22 months agoFix doxygen format 07/167207/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

22 months agoKeep aspect ratio of visual in ImageView 06/164006/13
Francisco Santos [Mon, 8 Jan 2018 11:29:37 +0000 (11:29 +0000)]
Keep aspect ratio of visual in ImageView

Change-Id: I6f967dbc52a0835dea6b7e40813c3d2b0add4c15

22 months agoDALi Version 1.3.7 62/166962/1 dali_1.3.7
greynaga [Fri, 12 Jan 2018 14:06:54 +0000 (14:06 +0000)]
DALi Version 1.3.7

Change-Id: If162f7606bc6227b75a85ddd8a94bb08a13dea9e

22 months agoDon't render text visual if the string is empty 22/165222/4
Heeyong Song [Wed, 27 Dec 2017 06:40:53 +0000 (15:40 +0900)]
Don't render text visual if the string is empty

Change-Id: I1da1b0e243b645ad3a8b5e9ce558b81d82f07186

22 months agoMerge "Not use premultiplication on load if custom shader is used" into devel/master
Heeyong Song [Thu, 11 Jan 2018 01:09:20 +0000 (01:09 +0000)]
Merge "Not use premultiplication on load if custom shader is used" into devel/master

22 months agoMerge "(AnimatedImageVisual) Fix SVACE Errors" into devel/master
David Steele [Wed, 10 Jan 2018 18:05:46 +0000 (18:05 +0000)]
Merge "(AnimatedImageVisual) Fix SVACE Errors" into devel/master

22 months ago(AnimatedImageVisual) Fix SVACE Errors 92/166192/2
Adeel Kazmi [Mon, 8 Jan 2018 16:57:39 +0000 (16:57 +0000)]
(AnimatedImageVisual) Fix SVACE Errors

Change-Id: Ib52ed23a81c353c5107546a48313e157667c6e93

22 months agoFix Shift + Left/Right key behavior 20/165220/10
Seoyeon Kim [Wed, 27 Dec 2017 06:05:20 +0000 (15:05 +0900)]
Fix Shift + Left/Right key behavior

- When the cursor was at the end of the text, the text selection couldn't release again by keyboard.
  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.
- When the text is selected by using Shift + Arrow keys or by tapping, if press Left or Right
  arrow keys, the cursor should be at the beginning or the end of the selected text (depending
  on whether it is the left or the right arrow key that is pressed).

Change-Id: I0d7869c0231c52296e37a3268dffe3e707de8cbd
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
22 months agoMerge "Button should not propagate handled touch events" into devel/master
David Steele [Wed, 10 Jan 2018 13:07:33 +0000 (13:07 +0000)]
Merge "Button should not propagate handled touch events" into devel/master

22 months agoNot use premultiplication on load if custom shader is used 43/166443/1
Heeyong Song [Wed, 10 Jan 2018 08:02:17 +0000 (17:02 +0900)]
Not use premultiplication on load if custom shader is used

Change-Id: Idddb7b0cbc5b151ea2554252c46dc9e789fd1975

22 months agoMerge "Make sure mClearAll is true after calling GetNaturalSize()" into devel/master
Adeel Kazmi [Tue, 9 Jan 2018 15:39:07 +0000 (15:39 +0000)]
Merge "Make sure mClearAll is true after calling GetNaturalSize()" into devel/master

22 months agoButton should not propagate handled touch events 90/166190/5
Agnelo Vaz [Mon, 8 Jan 2018 16:42:35 +0000 (16:42 +0000)]
Button should not propagate handled touch events

Change-Id: Id0623f0f9f91ce1e50dfb3da039a60a4198fe900

22 months agoAdded playback (i.e. Play, Pause, Stop) support for the animated GIF. 10/165510/9
Umar [Fri, 29 Dec 2017 20:29:11 +0000 (20:29 +0000)]
Added playback (i.e. Play, Pause, Stop) support for the animated GIF.

Change-Id: I21ba8d2d707fd563977126877f0c74bb73734adc

22 months agoMake sure mClearAll is true after calling GetNaturalSize() 08/166108/1
minho.sun [Fri, 5 Jan 2018 09:47:17 +0000 (18:47 +0900)]
Make sure mClearAll is true after 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>
23 months agoLoop count support for animated GIF 76/165276/9
Umar [Wed, 27 Dec 2017 18:16:57 +0000 (18:16 +0000)]
Loop count support for animated GIF

Change-Id: Ieee7e5441f4c55a69852384b993b6e14ed417ea6

23 months agoFix the issue of disappeared text in Transitions example 78/166078/1
Richard Huang [Fri, 5 Jan 2018 14:37:09 +0000 (14:37 +0000)]
Fix the issue of disappeared text in Transitions example

Change-Id: Ifab94189153a28a15ed1af46b76f6f0e1e59cf38

23 months agoDALi Version 1.3.6 69/166069/1 dali_1.3.6
Richard Huang [Fri, 5 Jan 2018 13:32:58 +0000 (13:32 +0000)]
DALi Version 1.3.6

Change-Id: I5d6b026db69e5720e18606e0c4f9cb14808d52b8

23 months agoMerge "Added automatic premultiplication of image visual images" into devel/master
Adeel Kazmi [Thu, 4 Jan 2018 22:00:39 +0000 (22:00 +0000)]
Merge "Added automatic premultiplication of image visual images" into devel/master

23 months agoAdded automatic premultiplication of image visual images 56/165756/5
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>
23 months agoMerge "Fix text scrolling bug" into devel/master
Adeel Kazmi [Thu, 4 Jan 2018 17:33:31 +0000 (17:33 +0000)]
Merge "Fix text scrolling bug" into devel/master

23 months agoEnsure text starting with weak character reports correct text direction 15/165615/3
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

23 months agoReduce memory consumption of TextLabel by reducing texture size 38/164338/12
Richard Huang [Mon, 18 Dec 2017 17:42:14 +0000 (17:42 +0000)]
Reduce memory consumption of TextLabel by reducing texture size

Change-Id: Ia7350a410d8f308b709bda2e4829eab3dc2ceebf

23 months agoInitialise member variables of ImageFrame struct in rolling image caches 13/165613/1
Adeel Kazmi [Tue, 2 Jan 2018 15:42:15 +0000 (15:42 +0000)]
Initialise member variables of ImageFrame struct in rolling image caches

This was required as in the SVACE compiler, a compiler warning of these values possibly being used without initialising.

Change-Id: I3714be8534679a7769970939d8cea7c4919d0253

23 months agoFix text scrolling bug 85/165285/4
minho.sun [Thu, 28 Dec 2017 01:31:07 +0000 (10:31 +0900)]
Fix text scrolling bug

Change if statement for text scrolling.
Even if text is longer than control, Elided state can be false.

So, comparing texture width with control width is better way.

Change-Id: Iea613cd1bcfc3ecb3bc562cd106367fe00dc4891
Signed-off-by: minho.sun <minho.sun@samsung.com>
23 months agoCheck line is empty or not before getting line of character 62/165262/2
minho.sun [Wed, 27 Dec 2017 07:55:49 +0000 (16:55 +0900)]
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: I950ca6df885080d84bc8c6a7055d0afcce21d8c5

23 months agoRemoved Texture Atlas for the GIF image. 70/159570/26
Umar [Thu, 9 Nov 2017 20:48:49 +0000 (20:48 +0000)]
Removed Texture Atlas for the GIF image.

Added new RollingGifImageCache for animated images.

Change-Id: Idda4fecb7f4c5303f459a9e6b18222fdb3c83a41

23 months agoMerge "Disable pixel alignment while scrolling the text" into devel/master
Adeel Kazmi [Fri, 22 Dec 2017 15:10:04 +0000 (15:10 +0000)]
Merge "Disable pixel alignment while scrolling the text" into devel/master

23 months agoMerge "Add the protected code and fix the crash issue" into devel/master
Adeel Kazmi [Fri, 22 Dec 2017 15:07:43 +0000 (15:07 +0000)]
Merge "Add the protected code and fix the crash issue" into devel/master

23 months agoMerge "(ColorVisual) Don't render if transparent alpha by default" into devel/master
Adeel Kazmi [Fri, 22 Dec 2017 15:01:17 +0000 (15:01 +0000)]
Merge "(ColorVisual) Don't render if transparent alpha by default" into devel/master

23 months agoMerge "DALi Version 1.3.5" into devel/master
Adeel Kazmi [Fri, 22 Dec 2017 14:29:35 +0000 (14:29 +0000)]
Merge "DALi Version 1.3.5" into devel/master

23 months agoDALi Version 1.3.5 41/165041/1 dali_1.3.5
György Straub [Fri, 22 Dec 2017 14:19:06 +0000 (14:19 +0000)]
DALi Version 1.3.5

Change-Id: I79fb4f27838dcc5a3bbd0b7fb74c39558196d71b

23 months ago(ColorVisual) Don't render if transparent alpha by default 31/164731/7
Adeel Kazmi [Wed, 20 Dec 2017 14:56:24 +0000 (14:56 +0000)]
(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

23 months agoFix text scroll start position issue 57/164957/2
minho.sun [Fri, 22 Dec 2017 04:40:58 +0000 (13:40 +0900)]
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: I3d3e93dd7c8bf4925ccfdef083ab0c7ac5c44523
Signed-off-by: minho.sun <minho.sun@samsung.com>
23 months agoMerge "Move Some Devel Properties & APIs to the Public API" into devel/master
Adeel Kazmi [Thu, 21 Dec 2017 18:53:17 +0000 (18:53 +0000)]
Merge "Move Some Devel Properties & APIs to the Public API" into devel/master

23 months agoLine spacing for TextLabel and vertical line alignment feature 86/162386/28
adam.b [Thu, 14 Dec 2017 16:06:54 +0000 (16:06 +0000)]
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

23 months agoMerge "Updated NanoSVG to latest version (9 July 2017)" into devel/master
Adeel Kazmi [Thu, 21 Dec 2017 14:36:25 +0000 (14:36 +0000)]
Merge "Updated NanoSVG to latest version (9 July 2017)" into devel/master

23 months agoUpdated NanoSVG to latest version (9 July 2017) 19/156519/8
David Steele [Wed, 18 Oct 2017 14:42:34 +0000 (15:42 +0100)]
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: I762974cc95e6c1fc30955809b0608bf635291f24

23 months agoDisable pixel alignment while scrolling the text 08/164708/3
Richard Huang [Wed, 20 Dec 2017 11:21:47 +0000 (11:21 +0000)]
Disable pixel alignment while scrolling the text

Change-Id: I8980a4ae249d6b67868e1b0beb21f2d98e39e25e

23 months agoMove Some Devel Properties & APIs to the Public API 73/164473/6
Moonhee Choi [Tue, 19 Dec 2017 08:05:41 +0000 (17:05 +0900)]
Move Some Devel Properties & APIs to the Public API

-control.h
Toolkit::Visual::ResourceStatus GetVisualResourceStatus(
const Dali::Property::Index index );
-visual-properties.h
PREPARING
READY
FAILED
-image-visual-properties.h
LoadPolicy
ReleasePolicy
LOAD_POLICY
RELEASE_POLICY
ORIENTATION_CORRECTION

Change-Id: Ibbb5b53361b299d6f814431f54245512980e198b
Signed-off-by: Moonhee Choi <mh0310.choi@samsung.com>
23 months agoAdd extra tag for tizen_4.0 19/164719/1
minho.sun [Wed, 20 Dec 2017 13:23:14 +0000 (22:23 +0900)]
Add extra tag for tizen_4.0

add extra tag for tizen_4.0

Change-Id: Ifca93a0b299ac4bbbadf419003280bc1b20e55f6
Signed-off-by: minho.sun <minho.sun@samsung.com>
23 months agoMerge "Revert "Move Some Devel Properties & APIs to the Public API"" into devel/master
moonhee choi [Tue, 19 Dec 2017 07:31:48 +0000 (07:31 +0000)]
Merge "Revert "Move Some Devel Properties & APIs to the Public API"" into devel/master

23 months agoMerge "Add ENABLE_SHIFT_SELECTION property" into devel/master
HyunJu Shin [Tue, 19 Dec 2017 07:30:35 +0000 (07:30 +0000)]
Merge "Add ENABLE_SHIFT_SELECTION property" into devel/master

23 months agoRevert "Move Some Devel Properties & APIs to the Public API" 66/164466/1
moonhee choi [Tue, 19 Dec 2017 07:29:39 +0000 (07:29 +0000)]
Revert "Move Some Devel Properties & APIs to the Public API"

This reverts commit 6c3063e269a7f2d370c0ad45efde3eeb38dac3a1.

Change-Id: Ic55062697555bae4da505b444c6e191fc8b1565b

23 months agoMove Some Devel Properties & APIs to the Public API 16/164116/9 PRJGPU_1000
Moonhee Choi [Fri, 15 Dec 2017 10:01:59 +0000 (19:01 +0900)]
Move Some Devel Properties & APIs to the Public API

control-devel.h
DALI_IMPORT_API Toolkit::Visual::ResourceStatus GetVisualResourceStatus(
const Internal::Control& control, Dali::Property::Index index );

texture-manager.h
DALI_IMPORT_API std::string AddTexture( Texture& texture );
DALI_IMPORT_API std::string AddTexture( TextureSet& textureSet );
DALI_IMPORT_API TextureSet RemoveTexture( const std::string& textureUrl
);

image-visual-properties-devel.h
LoadPolicy
ReleasePolicy
LOAD_POLICY
RELEASE_POLICY
ORIENTATION_CORRECTION

Change-Id: I78f93a9783e217e179c110b55c5e7e0a79243438

23 months agoDALi Version 1.3.4 35/164135/1 dali_1.3.4
Francisco Santos [Fri, 15 Dec 2017 11:19:02 +0000 (11:19 +0000)]
DALi Version 1.3.4

Change-Id: Iec81bb38c7b2452b13f5b62ee2621814424105bd

23 months agoAdd outline property to text visual 56/163856/7
Richard Huang [Wed, 13 Dec 2017 15:21:10 +0000 (15:21 +0000)]
Add outline property to text visual

Change-Id: I73bb5d932da84be4b277227b8d5f12748e2ec992

23 months agoMerge "Explictly check upper bound to satisfy SVACE when using strtoul" into devel...
Adeel Kazmi [Thu, 14 Dec 2017 15:38:48 +0000 (15:38 +0000)]
Merge "Explictly check upper bound to satisfy SVACE when using strtoul" into devel/master

23 months agoExplictly check upper bound to satisfy SVACE when using strtoul 05/164005/1
Agnelo Vaz [Thu, 14 Dec 2017 14:36:13 +0000 (14:36 +0000)]
Explictly check upper bound to satisfy SVACE when using strtoul

Should have been able to fix SVACE error by asserting on the maximum number allowed
but that does not work with strtoul only with strtol!!

Possible issue with SVACE.

Added ASSERT_DEBUG so users knows that the set value of threads failed and default
is being used

Merged into other 4.0 branch with patch "SVACE Error fix TextureManager Thread bounds"

Change-Id: Ic412c92160bcb910f99db30a43273af0c9cf68a1

23 months agoMerge "Fixes for text's outline." into devel/master
Adeel Kazmi [Thu, 14 Dec 2017 14:35:13 +0000 (14:35 +0000)]
Merge "Fixes for text's outline." into devel/master

23 months agoFixes for text's outline. 91/163791/2
Victor Cebollada [Wed, 13 Dec 2017 10:19:00 +0000 (10:19 +0000)]
Fixes for text's outline.

* Fixes the position of the cursors, handles and highlight box.

Change-Id: I10d6931f0b0c2051915dfc1c0ff3eecf6f4b0f1f
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
23 months agoAdded since version for Capture in doc 97/163297/3
taeyoon0.lee [Fri, 8 Dec 2017 09:09:08 +0000 (18:09 +0900)]
Added since version for Capture in doc

Change-Id: I3caa44dec661adb791dd784e5c5989b802fe35cd

23 months agoAdd ENABLE_SHIFT_SELECTION property 97/163797/2
Seoyeon Kim [Wed, 13 Dec 2017 10:43:29 +0000 (19:43 +0900)]
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>
23 months agoMerge "Add codes to prevent underflow" into devel/master
HyunJu Shin [Thu, 14 Dec 2017 00:11:01 +0000 (00:11 +0000)]
Merge "Add codes to prevent underflow" into devel/master

23 months agoMerge "Fix shader compile error fix in npatch visual" into devel/master
Adeel Kazmi [Wed, 13 Dec 2017 15:48:17 +0000 (15:48 +0000)]
Merge "Fix shader compile error fix in npatch visual" into devel/master

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

Change-Id: Id4dab4de25d677ccc20d32a06dcc990bc753abf8

23 months agoMerge "SVACE Error fix TextureManager Thread bounds" into devel/master
Adeel Kazmi [Tue, 12 Dec 2017 17:08:40 +0000 (17:08 +0000)]
Merge "SVACE Error fix TextureManager Thread bounds" into devel/master

23 months agoMerge "Text outline support in TextField & TextEditor" into devel/master
Adeel Kazmi [Tue, 12 Dec 2017 17:00:24 +0000 (17:00 +0000)]
Merge "Text outline support in TextField & TextEditor" into devel/master

23 months agoMerge "Text atlas renderer refacor." into devel/master
Adeel Kazmi [Tue, 12 Dec 2017 16:58:17 +0000 (16:58 +0000)]
Merge "Text atlas renderer refacor." into devel/master

23 months agoSVACE Error fix TextureManager Thread bounds 16/163616/2
Agnelo Vaz [Tue, 12 Dec 2017 10:19:46 +0000 (10:19 +0000)]
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

23 months agoText outline support in TextField & TextEditor 70/163170/10
Richard Huang [Thu, 7 Dec 2017 13:33:27 +0000 (13:33 +0000)]
Text outline support in TextField & TextEditor

Measured using memps on TM1 target by creating 500 TextFields.
Memory consumption is increased by 9% after outline is enabled.
Without outiline, the memory comsumption is almost the same as
before.

TextField with text only (no outline):

Before applying this patch:

  PID     CODE     DATA     PEAK     PSS       3D      GEM(PSS)
11272    13572    75120    88692    76920    58860     5568

After applying this patch:

  PID     CODE     DATA     PEAK     PSS       3D      GEM(PSS)
 5782    13580    75244    88824    77055    58508     5568

TextField with text and outline:

After applying this patch:

  PID     CODE     DATA     PEAK     PSS       3D      GEM(PSS)
 5851    13588    82056    95644    83874    63364     5568

Change-Id: I9838fb0867102e920bcc07650ff5c3a8903a7e24

23 months agoMerge "Send the empty string to IME when PlaceholderText shows" into devel/master
Seoyeon Kim [Tue, 12 Dec 2017 10:21:28 +0000 (10:21 +0000)]
Merge "Send the empty string to IME when PlaceholderText shows" into devel/master

23 months agoMerge "Remove unused conditional in TextController" into devel/master
HyunJu Shin [Tue, 12 Dec 2017 10:17:02 +0000 (10:17 +0000)]
Merge "Remove unused conditional in TextController" into devel/master

23 months agoModified GetTextDirection for TEXT_DIRECTION property 94/163594/4
taeyoon0.lee [Tue, 12 Dec 2017 08:18:18 +0000 (17:18 +0900)]
Modified GetTextDirection for TEXT_DIRECTION property

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

Change-Id: I0fe40c84f9cf1567fa7ae5acdfdea46f1b71911a

23 months agoRemove unused conditional in TextController 56/163556/1
Seoyeon Kim [Tue, 12 Dec 2017 05:01:27 +0000 (14:01 +0900)]
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>
23 months agoText atlas renderer refacor. 47/163347/2
Victor Cebollada [Fri, 8 Dec 2017 10:41:22 +0000 (10:41 +0000)]
Text atlas renderer refacor.

* Add some methods to avoid code duplication.

Change-Id: Ifa3952d4fa2995ac735e76624f484c8441a49bc2
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
23 months agoAdd codes to prevent underflow 16/163416/1
Heeyong Song [Mon, 11 Dec 2017 05:40:30 +0000 (14:40 +0900)]
Add codes to prevent underflow

Change-Id: Id5d5205f587885c288744d7315ba966f0357c951

23 months agoFix shader compile error fix in npatch visual 81/163381/1
Heeyong Song [Mon, 11 Dec 2017 02:48:42 +0000 (11:48 +0900)]
Fix shader compile error fix in npatch visual

Change-Id: I86677282cbffcc0744858dd250509dba128fab0b

23 months agoMerge "Fix comment to remove Doxygen tool warning" into devel/master
dongsug song [Mon, 11 Dec 2017 01:55:10 +0000 (01:55 +0000)]
Merge "Fix comment to remove Doxygen tool warning" into devel/master

23 months agoDALi Version 1.3.3 35/163335/1 dali_1.3.3
David Steele [Fri, 8 Dec 2017 14:33:15 +0000 (14:33 +0000)]
DALi Version 1.3.3

Change-Id: Ie883644cb2ef3edbd0f66a8641ae44767223823c

2 years agoSend the empty string to IME when PlaceholderText shows 93/163293/2
Seoyeon Kim [Fri, 8 Dec 2017 07:29:45 +0000 (16:29 +0900)]
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>