Adeel Kazmi [Mon, 9 Apr 2018 16:56:47 +0000 (16:56 +0000)]
Merge "Check NULL return value in builder-impl.cpp" into devel/master
Richard Huang [Fri, 6 Apr 2018 13:55:16 +0000 (14:55 +0100)]
DALi Version 1.3.19
Change-Id: I8e662ea60213a2b9f5a9766228842fa51fdf8d21
Umar [Tue, 3 Apr 2018 13:22:47 +0000 (14:22 +0100)]
Modified spec file to add support for tracing.
Change-Id: Ie61d351b3ac5dcb0e8a5a41185f42bad71e41d9f
Joogab Yun [Sun, 1 Apr 2018 23:43:24 +0000 (08:43 +0900)]
add doc for API reference
Change-Id: I7b11790c7d352bdfe2de00fc3e05bfce9586e62a
Joogab Yun [Thu, 29 Mar 2018 09:16:05 +0000 (18:16 +0900)]
add doc for API reference
Change-Id: I31ca273bd345fd9bb509e67925a8fcbac8a13df1
György Straub [Thu, 29 Mar 2018 13:03:42 +0000 (14:03 +0100)]
DALi Version 1.3.18
Change-Id: Ic4f20ca1f120abf27d73189f46bc521602173422
Seoyeon Kim [Wed, 28 Mar 2018 02:25:14 +0000 (11:25 +0900)]
Check NULL return value in builder-impl.cpp
Change-Id: I898260969132bdfcca32ece6c9fdac4efe693f08
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Heeyong Song [Tue, 27 Mar 2018 01:25:02 +0000 (01:25 +0000)]
Merge "supports remote URL gif image" into devel/master
Adeel Kazmi [Mon, 26 Mar 2018 16:59:40 +0000 (16:59 +0000)]
Merge "Fix Coverity issues" into devel/master
Joogab Yun [Mon, 26 Mar 2018 05:26:12 +0000 (14:26 +0900)]
supports remote URL gif image
Change-Id: I4ab7bff9b1330e0745b3c31ef574fd5cffcd788e
Heeyong Song [Fri, 16 Mar 2018 02:30:09 +0000 (11:30 +0900)]
Make alpha value pre-multiplied in all text cases
Change-Id: I2260efc5546b1b11e35102d481ed96e0a72a39c8
Heeyong Song [Mon, 26 Mar 2018 01:44:35 +0000 (01:44 +0000)]
Merge "Change the fitting mode to FILL" into devel/master
Seoyeon Kim [Wed, 21 Mar 2018 08:08:53 +0000 (17:08 +0900)]
Fix Coverity issues
Change-Id: I1fe9eeda77d162f0471e24a81b626fe7c24d21a9
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Umar [Fri, 23 Mar 2018 13:40:52 +0000 (13:40 +0000)]
DALi Version 1.3.17
Change-Id: Ie51cf194df729dcf6e557b86071c9c8039c7c92f
Heeyong Song [Thu, 22 Mar 2018 06:56:14 +0000 (06:56 +0000)]
Merge "Replace visual opacity with Renderer's opacity" into devel/master
huiyu.eun [Wed, 21 Mar 2018 08:27:52 +0000 (17:27 +0900)]
Change the fitting mode to FILL
Change-Id: I157db2ae395494f89d5911dea4d378c856bca094
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Adeel Kazmi [Fri, 16 Mar 2018 12:08:32 +0000 (12:08 +0000)]
Merge "DALi Version 1.3.16" into devel/master
Victor Cebollada [Fri, 16 Mar 2018 11:51:52 +0000 (11:51 +0000)]
DALi Version 1.3.16
Change-Id: I67b9cc620aa51a7de846aeb2ed2c3c2faeadec3b
HyunJu Shin [Fri, 16 Mar 2018 01:24:09 +0000 (01:24 +0000)]
Merge "Update text layout utcs" into devel/master
minho.sun [Thu, 8 Mar 2018 07:17:13 +0000 (16:17 +0900)]
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: Ibbca9e74a9455784323982238885393b43633491
Adeel Kazmi [Wed, 14 Mar 2018 10:39:55 +0000 (10:39 +0000)]
Merge "Fix SVACE issue" into devel/master
Heeyong Song [Tue, 20 Feb 2018 08:30:33 +0000 (17:30 +0900)]
Replace visual opacity with Renderer's opacity
Change-Id: I5887c2ec3f041f0fee51fd938c6d461096dcccf2
minho.sun [Mon, 5 Mar 2018 04:28:12 +0000 (13:28 +0900)]
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>
greynaga [Fri, 9 Mar 2018 14:11:59 +0000 (14:11 +0000)]
DALi Version 1.3.15
Change-Id: Icf0ee26a9e4f1063fdce3fd8c6a6ea347b58b30f
Seoyeon Kim [Wed, 7 Mar 2018 10:58:28 +0000 (19:58 +0900)]
Add CONICAL_FRUSTUM in PrimitiveVisual
- Deprecated CONICAL_FRUSTRUM because it is misspelled.
- Added CONICAL_FRUSTUM.
Change-Id: I4b7667ed720319d0da68c017b5a8bacd04ee7967
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Seoyeon Kim [Thu, 8 Mar 2018 02:08:45 +0000 (02:08 +0000)]
Merge "Fix typo error in some descriptions" into devel/master
Seoyeon Kim [Wed, 7 Mar 2018 01:59:05 +0000 (10:59 +0900)]
Fix SVACE issue
- Initialized member variables.
Change-Id: I5eb416431fed0bfc4b3992f35eda626ff665e37b
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Richard Huang [Tue, 6 Mar 2018 17:28:16 +0000 (17:28 +0000)]
Fix the issue that GetHeightForWidth returns wrong height after calling GetTextDirection
Change-Id: If60c7bc18be5d8b7083e70b362c2f69a32a42df8
Joogab Yun [Tue, 13 Feb 2018 06:13:13 +0000 (15:13 +0900)]
Added APIs for setting display mode in video-player
Change-Id: I0ebffe5d69734f817dfa627c4f96c4c4763e85ec
Seoyeon Kim [Mon, 5 Mar 2018 06:25:21 +0000 (15:25 +0900)]
Fix typo error in some descriptions
Change-Id: Ib7b39f3e18f24a2ed23d5e4cc625ff1da45929d5
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Francisco Santos [Fri, 2 Mar 2018 11:51:20 +0000 (11:51 +0000)]
DALi Version 1.3.14
Change-Id: Ie827b49c004e37e605bcbf6b89e2347bf9812be8
Adeel Kazmi [Thu, 1 Mar 2018 15:36:04 +0000 (15:36 +0000)]
Merge "Fix SVACE issues" into devel/master
HyunJu Shin [Wed, 28 Feb 2018 01:21:52 +0000 (01:21 +0000)]
Merge "Revert "Added tag for capture privilege"" into devel/master
Agnelo Vaz [Fri, 23 Feb 2018 13:28:54 +0000 (13:28 +0000)]
DALi Version 1.3.13
Change-Id: I8bbdd877fc63e0ae446306429b2c0e7a51b6227c
Heeyong Song [Thu, 22 Feb 2018 01:53:24 +0000 (01:53 +0000)]
Merge "Change tc according to blending factor change for premultiplied alpha format" into devel/master
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>
Heeyong Song [Wed, 21 Feb 2018 05:29:01 +0000 (14:29 +0900)]
Change tc according to blending factor change for premultiplied alpha format
Change-Id: I3145668707c7b3921e527474e4dc305e224f5f19
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>
Seoyeon Kim [Mon, 19 Feb 2018 08:40:38 +0000 (17:40 +0900)]
Fix SVACE issues
- Initialized some member variables.
Change-Id: I4bb73c17bfb1b80f90f5977e8ad140e8882d6746
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Heeyong Song [Wed, 31 Jan 2018 09:41:56 +0000 (18:41 +0900)]
Change common test application
Change-Id: Id3865c8bd930110c5cfeb57f0cf23dd7172ef325
Adeel Kazmi [Fri, 16 Feb 2018 15:30:21 +0000 (15:30 +0000)]
Merge "Text background support for TextLabel" into devel/master
Richard Huang [Mon, 29 Jan 2018 17:37:12 +0000 (17:37 +0000)]
Text background support for TextLabel
Change-Id: I62d1d2a5cec9b0f3d1f73859358385d08357c8b4
Adeel Kazmi [Fri, 16 Feb 2018 14:38:18 +0000 (14:38 +0000)]
Merge "Stop caching fonts for unknown text script" into devel/master
David Steele [Fri, 16 Feb 2018 13:55:49 +0000 (13:55 +0000)]
DALi Version 1.3.12
Change-Id: Ieaa78eba66880243a17383d25fe28a05a38fe514
Richard Huang [Thu, 8 Feb 2018 16:29:35 +0000 (16:29 +0000)]
Stop caching fonts for unknown text script
Change-Id: Ic62bdc8cc16a7367c690235acdc66ffde32a39b5
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
adam.b [Fri, 9 Feb 2018 11:08:52 +0000 (11:08 +0000)]
DALi Version 1.3.11
Change-Id: Ie436a2771412ca3214682be5efaeafcfa7eb159d
taeyoon0.lee [Wed, 7 Feb 2018 12:03:50 +0000 (21:03 +0900)]
Revert "Added tag for capture privilege"
This reverts commit
cf3522143b89be88890b82eb575cf5b9192c69e9.
Change-Id: I6baa1dad2db32d25747c08342acbdc74fd162cd1
David Steele [Thu, 23 Nov 2017 21:49:47 +0000 (21:49 +0000)]
Added logging function to image loader threads
Change-Id: I766605855228ad86fd35e09774e0b82e5f7d1f90
taeyoon0.lee [Mon, 22 Jan 2018 09:12:47 +0000 (18:12 +0900)]
Added tag for capture privilege
Change-Id: I4b0fc1bd0dac9c5f59ba74182373d1fe74ed5636
taeyoon0.lee [Fri, 12 Jan 2018 12:36:25 +0000 (21:36 +0900)]
Added APIs for codec and seek in VideoView
Change-Id: Ib8ccab9464a703444f6a5c65ab0fe3d911c777af
Adeel Kazmi [Mon, 5 Feb 2018 11:50:48 +0000 (11:50 +0000)]
Merge "Added doxy comment for video-view" into devel/master
Adeel Kazmi [Fri, 2 Feb 2018 10:28:40 +0000 (10:28 +0000)]
DALi Version 1.3.10
Change-Id: I7f3f54dcf2b7bba7f8e1c39452f9ec1cc7145af7
taeyoon0.lee [Fri, 2 Feb 2018 09:31:16 +0000 (18:31 +0900)]
Added doxy comment for video-view
Change-Id: I11f6c2730e6b79f06b9394cb505f3f536e95dcdb
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>
Adeel Kazmi [Fri, 26 Jan 2018 14:42:12 +0000 (14:42 +0000)]
Merge "DALi Version 1.3.9" into devel/master
Umar [Fri, 26 Jan 2018 14:18:03 +0000 (14:18 +0000)]
DALi Version 1.3.9
Change-Id: I2f16c073482c726f8daedc130e49669ba84812f8
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
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
Victor Cebollada [Fri, 19 Jan 2018 08:16:12 +0000 (08:16 +0000)]
DALi Version 1.3.8
Change-Id: If87eaabf3d57622b372ac48a721ef9615b42c2b6
David Steele [Thu, 18 Jan 2018 18:15:46 +0000 (18:15 +0000)]
Merge "Rename visual fitting mode property" into devel/master
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
David Steele [Thu, 18 Jan 2018 18:14:51 +0000 (18:14 +0000)]
Merge "Don't pre-multiply on external images." into devel/master
Francisco Santos [Thu, 18 Jan 2018 10:48:45 +0000 (10:48 +0000)]
Rename visual fitting mode property
Change-Id: Ib0ff42211ab5944e885f5a19cc320a2c2d6f6500
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
Francisco Santos [Wed, 17 Jan 2018 18:10:10 +0000 (18:10 +0000)]
Don't pre-multiply on external images.
Change-Id: I4410604e59d7b4b235f86133c8c5bb9c110f84d7
Heeyong Song [Wed, 17 Jan 2018 08:30:10 +0000 (08:30 +0000)]
Merge "Don't count '\r' in text-field" into devel/master
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>
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
Francisco Santos [Mon, 8 Jan 2018 11:29:37 +0000 (11:29 +0000)]
Keep aspect ratio of visual in ImageView
Change-Id: I6f967dbc52a0835dea6b7e40813c3d2b0add4c15
greynaga [Fri, 12 Jan 2018 14:06:54 +0000 (14:06 +0000)]
DALi Version 1.3.7
Change-Id: If162f7606bc6227b75a85ddd8a94bb08a13dea9e
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
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
David Steele [Wed, 10 Jan 2018 18:05:46 +0000 (18:05 +0000)]
Merge "(AnimatedImageVisual) Fix SVACE Errors" into devel/master
Adeel Kazmi [Mon, 8 Jan 2018 16:57:39 +0000 (16:57 +0000)]
(AnimatedImageVisual) Fix SVACE Errors
Change-Id: Ib52ed23a81c353c5107546a48313e157667c6e93
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>
David Steele [Wed, 10 Jan 2018 13:07:33 +0000 (13:07 +0000)]
Merge "Button should not propagate handled touch events" into devel/master
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
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
Agnelo Vaz [Mon, 8 Jan 2018 16:42:35 +0000 (16:42 +0000)]
Button should not propagate handled touch events
Change-Id: Id0623f0f9f91ce1e50dfb3da039a60a4198fe900
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
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>
Umar [Wed, 27 Dec 2017 18:16:57 +0000 (18:16 +0000)]
Loop count support for animated GIF
Change-Id: Ieee7e5441f4c55a69852384b993b6e14ed417ea6
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
Richard Huang [Fri, 5 Jan 2018 13:32:58 +0000 (13:32 +0000)]
DALi Version 1.3.6
Change-Id: I5d6b026db69e5720e18606e0c4f9cb14808d52b8
Adeel Kazmi [Thu, 4 Jan 2018 22:00:39 +0000 (22:00 +0000)]
Merge "Added automatic premultiplication of image visual images" into devel/master
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>
Adeel Kazmi [Thu, 4 Jan 2018 17:33:31 +0000 (17:33 +0000)]
Merge "Fix text scrolling bug" into devel/master
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
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
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
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>
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
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
Adeel Kazmi [Fri, 22 Dec 2017 15:10:04 +0000 (15:10 +0000)]
Merge "Disable pixel alignment while scrolling the text" 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
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
Adeel Kazmi [Fri, 22 Dec 2017 14:29:35 +0000 (14:29 +0000)]
Merge "DALi Version 1.3.5" into devel/master
György Straub [Fri, 22 Dec 2017 14:19:06 +0000 (14:19 +0000)]
DALi Version 1.3.5
Change-Id: I79fb4f27838dcc5a3bbd0b7fb74c39558196d71b
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