platform/core/uifw/dali-toolkit.git
20 months agoAdd DevelControl::Property::AUTOMATION_ID 52/278352/3
Artur Świgoń [Tue, 19 Jul 2022 10:28:36 +0000 (12:28 +0200)]
Add DevelControl::Property::AUTOMATION_ID

This is a string identifier (compared to Actor::Property::ID which
is an integer).  It will also appear in the AT-SPI tree under the
key "automationId".

Change-Id: Id6abce5d43d6f5f3bfde60352033e4e399dfdff6

20 months agoMerge "Revert "If the currently focused actor is hidden, it should lose focus. and...
joogab yun [Thu, 21 Jul 2022 04:00:08 +0000 (04:00 +0000)]
Merge "Revert "If the currently focused actor is hidden, it should lose focus. and If VISIBLE is false, the focus cannot be set"" into devel/master

20 months agoRevert "If the currently focused actor is hidden, it should lose focus. and If VISIBL... 96/278396/1
joogab.yun [Wed, 20 Jul 2022 05:47:14 +0000 (14:47 +0900)]
Revert "If the currently focused actor is hidden, it should lose focus. and If VISIBLE is false, the focus cannot be set"

This reverts commit e3cb09bfd9a25de3fa35db1b2c3082bcb838d700.

Change-Id: Ibe37b34b400239bd193f9dbe60cca077f50ad4e2

20 months agoMake web engine context be a singleton. 06/277706/4
huayong.xu [Tue, 12 Jul 2022 08:03:25 +0000 (16:03 +0800)]
Make web engine context be a singleton.

Change-Id: I602af540c5d8f475ebd18c3ba3e8ff5460dfc45d

20 months agoMerge "Fix svace issue" into devel/master
Seungho BAEK [Tue, 19 Jul 2022 11:13:34 +0000 (11:13 +0000)]
Merge "Fix svace issue" into devel/master

20 months agoFix svace issue 11/278311/3
seungho [Tue, 19 Jul 2022 04:06:31 +0000 (13:06 +0900)]
Fix svace issue

Change-Id: I845f1656be95881afc48174304cffee7f598c155
Signed-off-by: seungho <sbsh.baek@samsung.com>
20 months agoMerge "Fix: VS15 hides non-Emoji Negative Squared Latin Capital Letter" into devel...
Bowon Ryu [Tue, 19 Jul 2022 01:47:15 +0000 (01:47 +0000)]
Merge "Fix: VS15 hides non-Emoji Negative Squared Latin Capital Letter" into devel/master

20 months agoMerge "Fix UTC after stopping hb_buffer_set_invisible_glyph when Shape" into devel...
Bowon Ryu [Tue, 19 Jul 2022 01:47:04 +0000 (01:47 +0000)]
Merge "Fix UTC after stopping  hb_buffer_set_invisible_glyph when Shape" into devel/master

20 months agoMerge "Add bvh loader in scene-loader" into devel/master
Seungho BAEK [Tue, 19 Jul 2022 01:14:40 +0000 (01:14 +0000)]
Merge "Add bvh loader in scene-loader" into devel/master

20 months agoFix: VS15 hides non-Emoji Negative Squared Latin Capital Letter 22/277822/9
ssabah [Wed, 13 Jul 2022 12:02:24 +0000 (15:02 +0300)]
Fix: VS15 hides non-Emoji Negative Squared Latin Capital Letter

The non-emoji letters form Negative-Squared-Latin-Capital-Letter become invisible
when use VS16 or Emoji Color Font.

Examples:
   "1F170 ~ 1F174 with variation selector, text vs emoji: &#x1f170;&#xfe0f;&#x1f171;&#xfe0f;&#x1f172;&#xfe0e;&#x1f173;&#xfe0e;&#x1f174;&#xfe0e;\n"
   "1F170 ~ 1F174 with VS15: &#x1f170;&#xfe0e;&#x1f171;&#xfe0e;&#x1f172;&#xfe0e;&#x1f173;&#xfe0e;&#x1f174;&#xfe0e;\n"
   "1F170 ~ 1F174 with VS16: &#x1f170;&#xfe0f;&#x1f171;&#xfe0f;&#x1f172;&#xfe0f;&#x1f173;&#xfe0f;&#x1f174;&#xfe0f;\n";

In Negative-Squared-Latin-Capital-Letter from enclosed-alphanumeric-supplement,
The Letters A,B,O,P are Emoji Variation Sequences.
https://unicode-table.com/en/blocks/enclosed-alphanumeric-supplement/

This patch depends on the patch below:
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-adaptor/+/277821

Change-Id: I890d7c74e7b71d9d074d1fb1cd68af578b56e16c

20 months agoFix UTC after stopping hb_buffer_set_invisible_glyph when Shape 91/277891/4
ssabah [Thu, 14 Jul 2022 14:25:39 +0000 (17:25 +0300)]
Fix UTC after stopping  hb_buffer_set_invisible_glyph when Shape

This patch depends on the patch below:
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-adaptor/+/277666

Change-Id: I0843a1357ad35a3dcda3098c886e3a96e8571b8d

20 months agoMerge "Change dali-scene-loader to dali-scene3d" into devel/master
Seungho BAEK [Mon, 18 Jul 2022 11:09:16 +0000 (11:09 +0000)]
Merge "Change dali-scene-loader to dali-scene3d" into devel/master

20 months agoMerge "Add log for font load validation" into devel/master
Bowon Ryu [Mon, 18 Jul 2022 10:28:35 +0000 (10:28 +0000)]
Merge "Add log for font load validation" into devel/master

20 months agoMerge "Compute min/max value if min/max is not defined." into devel/master
Seungho BAEK [Mon, 18 Jul 2022 09:12:20 +0000 (09:12 +0000)]
Merge "Compute min/max value if min/max is not defined." into devel/master

20 months agoMerge "Supports cube map images in scene-loader" into devel/master
Seungho BAEK [Mon, 18 Jul 2022 09:12:11 +0000 (09:12 +0000)]
Merge "Supports cube map images in scene-loader" into devel/master

20 months agoMerge "ModelView using scene-loader" into devel/master
Seungho BAEK [Mon, 18 Jul 2022 09:12:00 +0000 (09:12 +0000)]
Merge "ModelView using scene-loader" into devel/master

20 months agoAdd bvh loader in scene-loader 58/277758/13
seungho [Wed, 13 Jul 2022 02:28:17 +0000 (11:28 +0900)]
Add bvh loader in scene-loader

Change-Id: I51b859d6c7ad828c25e89d4ea3627bf3f56c6699
Signed-off-by: seungho <sbsh.baek@samsung.com>
20 months agoChange dali-scene-loader to dali-scene3d 54/277854/9
seungho [Thu, 14 Jul 2022 03:51:50 +0000 (12:51 +0900)]
Change dali-scene-loader to dali-scene3d

Change-Id: Iffdf883fafc2b272326265e0a4b4b121fde7a9cb
Signed-off-by: seungho <sbsh.baek@samsung.com>
20 months agoCompute min/max value if min/max is not defined. 78/277678/10
seungho [Tue, 12 Jul 2022 05:27:03 +0000 (14:27 +0900)]
Compute min/max value if min/max is not defined.

Change-Id: I84f8b912e00aed48f5c45c7a64a2e3e3e00dd371
Signed-off-by: seungho <sbsh.baek@samsung.com>
20 months agoMerge "Put the time in TestGenerateTap()" into devel/master
joogab yun [Mon, 18 Jul 2022 06:06:31 +0000 (06:06 +0000)]
Merge "Put the time in TestGenerateTap()" into devel/master

20 months agoAdd log for font load validation 31/277931/4
Bowon Ryu [Fri, 15 Jul 2022 06:32:38 +0000 (15:32 +0900)]
Add log for font load validation

Add log when isValidFont is false for easy debugging.
It is usually false if the platform couldn't find a suitable glyph.

Change-Id: Icdc1e929a7c11ee3033c877b35ba7048e44bbd17
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
21 months agoSupports cube map images in scene-loader 73/277073/15
seungho [Thu, 30 Jun 2022 06:38:14 +0000 (15:38 +0900)]
Supports cube map images in scene-loader

Change-Id: I297f8c1cc146399e11a6749e236368549b7a1e57
Signed-off-by: seungho <sbsh.baek@samsung.com>
21 months agoModelView using scene-loader 30/275630/48
seungho [Fri, 27 May 2022 10:10:57 +0000 (19:10 +0900)]
ModelView using scene-loader

Change-Id: I4b4c4859f890aedfd01a1ed208fb545484e9486a
Signed-off-by: seungho <sbsh.baek@samsung.com>
21 months agoDALi Version 2.1.31 70/277970/1 dali_2.1.31
Richard Huang [Fri, 15 Jul 2022 12:16:42 +0000 (13:16 +0100)]
DALi Version 2.1.31

Change-Id: I2ac0aeb9682fb839e4f7efe235e8cd2f1bab4bbe

21 months agoPut the time in TestGenerateTap() 41/277941/1
joogab.yun [Fri, 15 Jul 2022 07:03:54 +0000 (16:03 +0900)]
Put the time in TestGenerateTap()

dependency : https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-core/+/277923/

Change-Id: I7b2378fa34de4aaa3f43cbfdb58998534308a833

21 months agoUpdates following web-engine devel header location change 17/277817/1
Adeel Kazmi [Wed, 13 Jul 2022 17:12:47 +0000 (18:12 +0100)]
Updates following web-engine devel header location change

Change-Id: I0e000275e887558dfeaa01e45b55581b5caca282

21 months agoUpdates following canvas-renderer devel header location change 11/277811/1
Adeel Kazmi [Wed, 13 Jul 2022 15:49:03 +0000 (16:49 +0100)]
Updates following canvas-renderer devel header location change

Change-Id: Idb80c4559836d3e096e870de9d9cf1f2b1110fd0

21 months agoMerge "Moved Text Controller & Markup Processor to sub-folders" into devel/master
Adeel Kazmi [Wed, 13 Jul 2022 11:36:46 +0000 (11:36 +0000)]
Merge "Moved Text Controller & Markup Processor to sub-folders" into devel/master

21 months agoMerge "(Vector) Fix occasional tc failure" into devel/master
Adeel Kazmi [Wed, 13 Jul 2022 10:41:13 +0000 (10:41 +0000)]
Merge "(Vector) Fix occasional tc failure" into devel/master

21 months agoMoved Text Controller & Markup Processor to sub-folders 31/277731/3
Adeel Kazmi [Tue, 12 Jul 2022 11:33:41 +0000 (12:33 +0100)]
Moved Text Controller & Markup Processor to sub-folders

Change-Id: If5a17c1c568584840ec7f07ebe24cd72bc6a0356

21 months ago(Vector) Fix occasional tc failure 85/277785/1
Heeyong Song [Wed, 13 Jul 2022 07:29:44 +0000 (16:29 +0900)]
(Vector) Fix occasional tc failure

Change-Id: I9690000614119603e40385cb785277e10140bd5a

21 months agoRemove custom comparision on UTC 77/277577/2
Eunki, Hong [Fri, 8 Jul 2022 10:02:37 +0000 (19:02 +0900)]
Remove custom comparision on UTC

sync with dali-core

Change-Id: I52e109a59744a9103141bd80fe6243b3bccdc106
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoMerge "Fix RemoveText issue in text controller" into devel/master
Bowon Ryu [Tue, 12 Jul 2022 08:32:54 +0000 (08:32 +0000)]
Merge "Fix RemoveText issue in text controller" into devel/master

21 months agoMerge "[AT-SPI] Update test DBusWrapper for ABI compatibility" into devel/master
Artur Świgoń [Tue, 12 Jul 2022 07:53:54 +0000 (07:53 +0000)]
Merge "[AT-SPI] Update test DBusWrapper for ABI compatibility" into devel/master

21 months agoUpdate automated tests 28/277628/3
Heeyong Song [Mon, 11 Jul 2022 07:46:10 +0000 (16:46 +0900)]
Update automated tests

Change-Id: Ib3aed8aa713bdbad3eeb3d6e65e03f1c62f4d325

21 months agoFix RemoveText issue in text controller 49/277649/3
Bowon Ryu [Mon, 11 Jul 2022 11:28:08 +0000 (20:28 +0900)]
Fix RemoveText issue in text controller

RemoveText() fails to remove text in some cases
before mPreviousNumberOfCharacters of mTextUpdateInfo is updated.

In all text remove situation, it can be removed regardless of the update of this info.
It's same as the previous preedit all remove behavior.

Change-Id: I7c64a133e6d0df84829dc35c25b71f100da6d702
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
21 months agoFix markup underline, strikethrough in overlay style 87/277487/3
Bowon Ryu [Thu, 7 Jul 2022 11:15:53 +0000 (20:15 +0900)]
Fix markup underline, strikethrough in overlay style

Change-Id: Ib5352c423f558ca4ffc6be2c37d644eb02249151
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
21 months agoCombine textvisual shader by TextShaderFactory 06/276106/15
Eunki, Hong [Thu, 9 Jun 2022 13:20:36 +0000 (22:20 +0900)]
Combine textvisual shader by TextShaderFactory

Let TextVisual can control the shader & textures as factory.
Now we don't need to create new shader file
when we add more feature for text visual.

Change-Id: I4615de30f39715f45678c87dd2755a8be99f861e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoMerge "(Vector) Support asynchronous file loading" into devel/master
Heeyong Song [Mon, 11 Jul 2022 00:51:11 +0000 (00:51 +0000)]
Merge "(Vector) Support asynchronous file loading" into devel/master

21 months agoDALi Version 2.1.30 49/277549/1 dali_2.1.30
Adeel Kazmi [Fri, 8 Jul 2022 05:47:59 +0000 (06:47 +0100)]
DALi Version 2.1.30

Change-Id: I78ff2780b11b70d8014f3e4cfd2df088530f49e2

21 months ago(Vector) Support asynchronous file loading 93/276493/5
Heeyong Song [Fri, 17 Jun 2022 09:04:09 +0000 (18:04 +0900)]
(Vector) Support asynchronous file loading

Change-Id: Ifd2f779cdaa4a52f0c9fc7cd25c17f2c1163f115

21 months ago[AT-SPI] Update test DBusWrapper for ABI compatibility 95/277495/1
Artur Świgoń [Thu, 7 Jul 2022 16:06:17 +0000 (18:06 +0200)]
[AT-SPI] Update test DBusWrapper for ABI compatibility

Two new virtual methods were added to the normal DBusWrapper.

Change-Id: I7ca528cb8fd786f48855a4115ee68dfd0be35cc1

21 months agoMerge "Fix npatch visual auxiliary bug" into devel/master
David Steele [Thu, 7 Jul 2022 10:14:51 +0000 (10:14 +0000)]
Merge "Fix npatch visual auxiliary bug" into devel/master

21 months agoMerge "Fix visual defect when BorderlineOffset = 1.0f" into devel/master
David Steele [Thu, 7 Jul 2022 10:14:37 +0000 (10:14 +0000)]
Merge "Fix visual defect when BorderlineOffset = 1.0f" into devel/master

21 months agoMerge "DrawableViewNativeRenderer for Direct Rendering" into devel/master
Adeel Kazmi [Thu, 7 Jul 2022 09:22:39 +0000 (09:22 +0000)]
Merge "DrawableViewNativeRenderer for Direct Rendering" into devel/master

21 months agoDrawableViewNativeRenderer for Direct Rendering 09/276109/20
Adam Bialogonski [Mon, 20 Jun 2022 06:39:39 +0000 (07:39 +0100)]
DrawableViewNativeRenderer for Direct Rendering

The DirectViewNativeRenderer has been introduced in order to provide:
1) parallel rendering compatible with the current GlView behaviour
2) provide a switch between 'injected' direct rendering and parallel.

Change-Id: I9e2acd19247c5232c995e520111100644d027aee

21 months agoMerge "Fix the SVACE error for facial animation loader" into devel/master
David Steele [Thu, 7 Jul 2022 09:19:49 +0000 (09:19 +0000)]
Merge "Fix the SVACE error for facial animation loader" into devel/master

21 months agoMerge "Fix RemoteSVG UTC failed due to the proxy block (2)" into devel/master
Eunki Hong [Thu, 7 Jul 2022 04:46:03 +0000 (04:46 +0000)]
Merge "Fix RemoteSVG UTC failed due to the proxy block (2)" into devel/master

21 months agoMerge "Apply WrapMode in animated visual" into devel/master
sunghyun kim [Thu, 7 Jul 2022 01:29:48 +0000 (01:29 +0000)]
Merge "Apply WrapMode in animated visual" into devel/master

21 months agoMerge "Support SVG thread pool" into devel/master
Heeyong Song [Thu, 7 Jul 2022 00:44:16 +0000 (00:44 +0000)]
Merge "Support SVG thread pool" into devel/master

21 months agoFix the SVACE error for facial animation loader 21/277421/1
Richard [Wed, 6 Jul 2022 12:41:48 +0000 (13:41 +0100)]
Fix the SVACE error for facial animation loader

Change-Id: Id98a169cbf79496944335ca1723f79f7c4c6012d

21 months agoFix npatch visual auxiliary bug 50/277350/5
Eunki, Hong [Tue, 5 Jul 2022 09:46:35 +0000 (18:46 +0900)]
Fix npatch visual auxiliary bug

Bug 1 : If auxiliary image and npatch image has alpha,
The final scene doesn't have alpha color.
It cause mask npatch shader don't consider alpha value.

Bug 2 : LoadPixelBuffer reload policy is FORCE in default.
And we load auxiliary image as LoadPixelBuffer.
So, sometimes auxiliary load canceled due to the force reload.
+ auxiliary didnt cached.
We make Auxiliary load as TextureManager so the lifecycle
works well.

Change-Id: I4ed0c7f8a539c0d84a9aed2f13829f5b24cde068
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoFix RemoteSVG UTC failed due to the proxy block (2) 91/277391/3
Eunki, Hong [Wed, 6 Jul 2022 06:49:32 +0000 (15:49 +0900)]
Fix RemoteSVG UTC failed due to the proxy block (2)

127.0.0.1 also passed at HQ dali server.
Make super-invalid url that toolkit UTC always failed

Change-Id: I5914e8c77b34ed4c3da75022a0cd100264c275ba
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoSupport SVG thread pool 83/277183/2
Heeyong Song [Fri, 1 Jul 2022 09:37:48 +0000 (18:37 +0900)]
Support SVG thread pool

Change-Id: Icbd6fc81adc7790f27e11f62eeb48d9fb1a09ce7

21 months agoApply WrapMode in animated visual 34/277334/3
tscholb [Tue, 5 Jul 2022 07:44:03 +0000 (16:44 +0900)]
Apply WrapMode in animated visual

animated visual only support default wrap mode.
After this patch, animated visual can use other wrap mode.

Change-Id: I8ac58895a724d1ff510577d76d30320cf501739f

21 months agoFix visual defect when BorderlineOffset = 1.0f 87/277387/1
Eunki, Hong [Wed, 6 Jul 2022 05:41:51 +0000 (14:41 +0900)]
Fix visual defect when BorderlineOffset = 1.0f

Change-Id: I6a76f8a1f565b6b01315250301cd346d754bd687
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoFacial animation support 64/275164/10
Richard [Tue, 17 May 2022 12:47:00 +0000 (13:47 +0100)]
Facial animation support

Change-Id: I079348f3164b53704f7a7c6a652e22afc7195d0b

21 months agoFix RemoteSVG UTC failed due to the proxy block 56/277356/1
Eunki, Hong [Tue, 5 Jul 2022 10:55:42 +0000 (19:55 +0900)]
Fix RemoteSVG UTC failed due to the proxy block

Due to the security issue, https://bar.org/ networking blocked.
And the blocked request give us some result,
and UTC don't parse this data.

So, we change url as 127.0.0.1 (== localhost) so we can fail
to get data successfully.

Change-Id: Ib027856d674b794c9e31f066189a23f17a8cd9cf
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoMake sure to register blendshape weight properties for all the nodes with blendshapes 02/277202/1
Richard Huang [Fri, 1 Jul 2022 13:03:09 +0000 (14:03 +0100)]
Make sure to register blendshape weight properties for all the nodes with blendshapes

Change-Id: Ia78fe48a91ed98b5313bf90f14a2a98fe6d461ed

21 months agoMerge "DALi Version 2.1.29" into devel/master
David Steele [Fri, 1 Jul 2022 11:12:19 +0000 (11:12 +0000)]
Merge "DALi Version 2.1.29" into devel/master

21 months agoDALi Version 2.1.29 91/277191/1 dali_2.1.29
David Steele [Fri, 1 Jul 2022 11:07:04 +0000 (12:07 +0100)]
DALi Version 2.1.29

Change-Id: Ia1c36497d9c97a9fcb2db79438e7b4ad71c5ea31

21 months agoFix name of glyph compression name 74/277174/1
Eunki, Hong [Fri, 1 Jul 2022 07:58:30 +0000 (16:58 +0900)]
Fix name of glyph compression name

Change-Id: I825f6ac95ef78457513b5cd984ce00d1c220a2af
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoCopyless glyph bitmap creation 32/276732/13
Eunki, Hong [Thu, 23 Jun 2022 12:54:44 +0000 (21:54 +0900)]
Copyless glyph bitmap creation

We update glyphBufferData check the buffer's ownership.
So Typesetter now can use the glyph buffer without memcpy.

Change-Id: I2fff8a10f5ed93c2e053825a61350ae5d384f3e8
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoFix crash issue at VisualBase (DoAction + AnimateTo) 32/277032/4
Eunki, Hong [Wed, 29 Jun 2022 08:16:06 +0000 (17:16 +0900)]
Fix crash issue at VisualBase (DoAction + AnimateTo)

Case 1 :

When we try to change decorated properties by DoAction and UPDATE_PROPERTY,
It can be crashed due to the VisualRenderer is not DecoratedVisualRenderer.
This patch make we update properties only for valid visual types.

Case 2 :

When we try to animate with DevelVisual's animatable property, It become crashed.
This cause we miss some logic of found registered property.
Now, we can run arc-visual.example

Change-Id: Icee700608277a4133426bb39a4c30b92ab8acc8f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoMerge "Fix shader compile crash issue" into devel/master
Eunki Hong [Tue, 28 Jun 2022 03:02:12 +0000 (03:02 +0000)]
Merge "Fix shader compile crash issue" into devel/master

21 months agoMerge "Support YUV decoding for JPEG" into devel/master
Heeyong Song [Tue, 28 Jun 2022 01:34:36 +0000 (01:34 +0000)]
Merge "Support YUV decoding for JPEG" into devel/master

21 months agoMerge "Allows TextField and TextEditor to propagate PanGestures." into devel/master
joogab yun [Tue, 28 Jun 2022 01:06:30 +0000 (01:06 +0000)]
Merge "Allows TextField and TextEditor to propagate PanGestures." into devel/master

21 months agoSupport YUV decoding for JPEG 04/276404/7
Heeyong Song [Thu, 16 Jun 2022 04:46:29 +0000 (13:46 +0900)]
Support YUV decoding for JPEG

Change-Id: Ibf098d991e21813c0a388c66e7420a51f628706d

21 months agoMerge "fix incorrect index range in emoji-helper" into devel/master
Bowon Ryu [Mon, 27 Jun 2022 05:30:24 +0000 (05:30 +0000)]
Merge "fix incorrect index range in emoji-helper" into devel/master

21 months agoDALi Version 2.1.28 90/276790/1 dali_2.1.28
Adeel Kazmi [Fri, 24 Jun 2022 13:08:43 +0000 (14:08 +0100)]
DALi Version 2.1.28

Change-Id: I0811bddaf558ef7312e68fcd1b92bf67a48e95a0

21 months agoAllows TextField and TextEditor to propagate PanGestures. 15/276715/5
joogab.yun [Thu, 23 Jun 2022 08:33:34 +0000 (17:33 +0900)]
Allows TextField and TextEditor to propagate PanGestures.

This is because TextField and TextEditor use PanGesture, parent actors will not be able to receive PanGesture.

So let's propagate the pan gesture to the parent unless the text is being scrolled by the pan gesture.

Change-Id: Ia3b9995fab97287cbf4db271f3912712b7f78695

21 months agofix incorrect index range in emoji-helper 20/276720/2
Bowon Ryu [Thu, 23 Jun 2022 09:56:41 +0000 (18:56 +0900)]
fix incorrect index range in emoji-helper

Length lastCharacter = startIndex + numberOfCharacters;

Previous lastCharacter's actual value is "lastCharacter + 1"
This incorrect value makes the whole code misleading.

Change-Id: Idcb2582b05b2e36d064779f85942cea6d967a755
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
21 months agoFix shader compile crash issue 40/276640/2
Eunki, Hong [Wed, 22 Jun 2022 09:27:23 +0000 (18:27 +0900)]
Fix shader compile crash issue

Due to the unknown reason, we got crash during glShaderSource.
To "avoid" that crash, we fix the code that we don't use !defined(~)

Change-Id: I54c7278baffb16ee63481ea92ccc67baa227b071
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoFix remote UTC SIGKILL issue. 29/276529/1
Eunki, Hong [Mon, 20 Jun 2022 05:37:22 +0000 (14:37 +0900)]
Fix remote UTC SIGKILL issue.

Due to the utc can test maximum 60 seconds,
We cannot test 2 or more network sample.
(Current dali's CONNECTION_TIMEOUT_SECOND is 30 seconds)

Change-Id: I7bf6e1bbbb685f3439b88f96b31cd5ae344ce5eb
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoMerge "Fix uint16 max issue in TextLabel" into devel/master
Bowon Ryu [Mon, 20 Jun 2022 04:40:19 +0000 (04:40 +0000)]
Merge "Fix uint16 max issue in TextLabel" into devel/master

21 months agoFix uint16 max issue in TextLabel 75/276475/4
Bowon Ryu [Fri, 17 Jun 2022 06:16:16 +0000 (15:16 +0900)]
Fix uint16 max issue in TextLabel

If the size of TextLabel is bigger than uint16 max value,
there is a problem that assert occurs in Texture::New.

We can avoid the assert by setting the VisualTransform size to uint16 max,
but this also doesn't guaranteed rendering behavior.

To guaranteed the behavior, VisualTransform size is limitted to maxTextureSize.

Change-Id: I68523c89aecc71a9158e59948bca037d5c73c95a
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
22 months agoMerge "DALi Version 2.1.27" into devel/master
David Steele [Fri, 17 Jun 2022 10:40:10 +0000 (10:40 +0000)]
Merge "DALi Version 2.1.27" into devel/master

22 months agoDALi Version 2.1.27 97/276497/1 dali_2.1.27
David Steele [Fri, 17 Jun 2022 10:28:05 +0000 (11:28 +0100)]
DALi Version 2.1.27

Change-Id: I255331086656ae9578381d4ac1f64b269129fe00

22 months agoMerge "If the default algorithm is enabled, there is no need to do "MoveFocus(Toolkit...
joogab yun [Fri, 17 Jun 2022 08:36:41 +0000 (08:36 +0000)]
Merge "If the default algorithm is enabled, there is no need to do "MoveFocus(Toolkit::Control::KeyboardFocus::RIGHT, deviceName);" because nextFocus is automatically found." into devel/master

22 months agoIf the default algorithm is enabled, there is no need to do "MoveFocus(Toolkit::Contr... 23/276423/3
joogab.yun [Thu, 16 Jun 2022 07:25:37 +0000 (16:25 +0900)]
If the default algorithm is enabled, there is no need to do "MoveFocus(Toolkit::Control::KeyboardFocus::RIGHT, deviceName);" because nextFocus is automatically found.

So we add conditional statements.

Change-Id: I7b4cafd7f514d38141e4918c1651f229b063d595

22 months agoMerge "It may be outside the range of type int. Change to uint64_t." into devel/master
joogab yun [Thu, 16 Jun 2022 07:25:39 +0000 (07:25 +0000)]
Merge "It may be outside the range of type int. Change to uint64_t." into devel/master

22 months agofix incorrect calculaion of natural size in text 13/276413/1
Bowon Ryu [Thu, 16 Jun 2022 02:16:34 +0000 (11:16 +0900)]
fix incorrect calculaion of natural size in text

In DoRelayout of GetNaturalSize/GetHeightForWidth,
operationsPending should inlcude LAYOUT.
Without this, incorrect size calculations will occur.

Change-Id: I4cfcf392d07eac2b5929b7b2cc36d08c8fc519a8
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
22 months agoIt may be outside the range of type int. 03/276403/3
joogab.yun [Thu, 16 Jun 2022 04:51:11 +0000 (13:51 +0900)]
It may be outside the range of type int.
Change to uint64_t.

Change-Id: I41cc20a97e7213f8a27de6281bc861f6b9292867

22 months agoAdd observer during ProcessLoadQueue 26/276326/6
Eunki, Hong [Tue, 14 Jun 2022 12:21:44 +0000 (21:21 +0900)]
Add observer during ProcessLoadQueue

Due to we request LoadTexture multiple time during ProcessLoadQueue,
same AnimatedImageLoading can be requested on multiple ImageLoadThread.

Decode same textureId in multiple thread is just waste the CPU resource.

This patch make we add observer in ProcessLoadQueue.

Change-Id: I5656befa209db967e0a6f1ccd90959f38ff731fc
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoThe FocusChanged event callback is called before the FocusLost 89/276289/7
joogab.yun [Tue, 14 Jun 2022 05:37:42 +0000 (14:37 +0900)]
The FocusChanged event callback is called before the FocusLost

Change-Id: I131c7e32a4372b54b2b57c5acf53bfdc5a82c15a

22 months agoMerge "[AT-SPI] Fix EditableTextControlAccessible::InsertText()" into devel/master
Lukasz Oleksak [Mon, 13 Jun 2022 06:31:58 +0000 (06:31 +0000)]
Merge "[AT-SPI] Fix EditableTextControlAccessible::InsertText()" into devel/master

22 months agoDALi Version 2.1.26 74/276174/1 dali_2.1.26
Adam Bialogonski [Fri, 10 Jun 2022 08:53:42 +0000 (09:53 +0100)]
DALi Version 2.1.26

Change-Id: I653b9e9c59e0273ff52582a065e13d836f00cf04

22 months ago[AT-SPI] Fix EditableTextControlAccessible::InsertText() 82/276082/5
Artur Świgoń [Thu, 9 Jun 2022 09:31:37 +0000 (11:31 +0200)]
[AT-SPI] Fix EditableTextControlAccessible::InsertText()

This method did not work when appending to the end of the text
(including the case where the text was initially empty).

Change-Id: I981531feb1eea3d067a06292104145d48de0a76f

22 months agoMerge "Fix text AutoScroll ellipsis issue" into devel/master
Bowon Ryu [Thu, 9 Jun 2022 10:28:54 +0000 (10:28 +0000)]
Merge "Fix text AutoScroll ellipsis issue" into devel/master

22 months agoMerge "Resolve incorrect position for Ellipsis when mixed LTR & RTL languages and...
Bowon Ryu [Thu, 9 Jun 2022 09:49:27 +0000 (09:49 +0000)]
Merge "Resolve incorrect position for Ellipsis when mixed LTR & RTL languages and set layout direction RTL" into devel/master

22 months agoMerge "Remove useless iteration when debug mode" into devel/master
Eunki Hong [Thu, 9 Jun 2022 09:30:56 +0000 (09:30 +0000)]
Merge "Remove useless iteration when debug mode" into devel/master

22 months agoRemove useless iteration when debug mode 68/276068/2
Eunki, Hong [Thu, 9 Jun 2022 06:24:54 +0000 (15:24 +0900)]
Remove useless iteration when debug mode

Some API; like fontClient.GetDescription, are very slow.
But these result values only used for debug log printing.

This patch make some useless iteration will not works for
normal debug mode + NoLogging level.

Change-Id: I1feafda4d18b46902724a3cd305a1a87e030bfd5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoFix include path value of scene-loader 71/276071/1
Heeyong Song [Thu, 9 Jun 2022 06:41:44 +0000 (15:41 +0900)]
Fix include path value of scene-loader

Change-Id: I9753119ea72cc3db33f7251ef5d9235389f6c5a8

22 months agoMerge "Free GlyphData buffer" into devel/master
Adeel Kazmi [Wed, 8 Jun 2022 15:39:40 +0000 (15:39 +0000)]
Merge "Free GlyphData buffer" into devel/master

22 months agoResolve incorrect position for Ellipsis when mixed LTR & RTL languages and set layout... 95/275895/6
ssabah [Sun, 5 Jun 2022 12:08:04 +0000 (15:08 +0300)]
Resolve incorrect position for Ellipsis when mixed LTR & RTL languages and set layout direction RTL

Here's sample code for issues:
    //Case 1:
    TextLabel textLabel = TextLabel::New("Projector استكشاف");
    textLabel.SetProperty(Dali::Toolkit::DevelTextLabel::Property::ELLIPSIS, true);
    textLabel.SetProperty(Dali::Toolkit::DevelTextLabel::Property::ELLIPSIS_POSITION, Dali::Toolkit::DevelText::EllipsisPosition::END);
    textLabel.SetProperty(Dali::Actor::Property::LAYOUT_DIRECTION, LayoutDirection::RIGHT_TO_LEFT);
    textLabel.SetProperty(Actor::Property::SIZE, Vector2(145.0f, 60.0f)); // minimize width until the ellipsis comes between two languages

    //Case 2:
    TextLabel textLabel = TextLabel::New("استكشاف Projector");
    textLabel.SetProperty(Dali::Toolkit::DevelTextLabel::Property::ELLIPSIS, true);
    textLabel.SetProperty(Dali::Toolkit::DevelTextLabel::Property::ELLIPSIS_POSITION, Dali::Toolkit::DevelText::EllipsisPosition::START);
    textLabel.SetProperty(Dali::Actor::Property::LAYOUT_DIRECTION, LayoutDirection::RIGHT_TO_LEFT);
    textLabel.SetProperty(Actor::Property::SIZE, Vector2(145.0f, 60.0f)); // minimize width until the ellipsis comes between two languages

Change-Id: Ia645d143083074383f4db3b8b2407810b69e4862

22 months agoMake visualOffset as Absolute scale. 18/276018/1
Eunki, Hong [Wed, 8 Jun 2022 12:05:13 +0000 (21:05 +0900)]
Make visualOffset as Absolute scale.

offset / uSize.xy might make some precision issue.
For example, tiling use TRANSFORM_OFFSET.
If tiling has some high value, vertex position might missmatched.

This patch will reduce precision.

Change-Id: I185595680c882d75e989d864053079f801d14440
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoFix text AutoScroll ellipsis issue 97/275997/1
Bowon Ryu [Tue, 7 Jun 2022 16:19:50 +0000 (01:19 +0900)]
Fix text AutoScroll ellipsis issue

Text should ellipsis while AutoScroll is running
when text length is bigger than MaxTextureSize.

this issue occurs as a side effect of another patch.
74f7af1b08ce65dde5959d22b2d533cbc64b9d2e

the height comparison condition is for another AutoScroll ellipsis issue
and this should not be removed.

Change-Id: I18a4011bec882e483bc0c184417403661a9fa635
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
22 months agoFree GlyphData buffer 79/275979/1
Eunki, Hong [Wed, 8 Jun 2022 04:55:40 +0000 (13:55 +0900)]
Free GlyphData buffer

We make GlyphData's buffer as malloc.
So, we need to change the release method as free.

Change-Id: Id3c1b7ed9f6b8683b05440edc1c6f52fca5fb6c1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoMerge "Fix bug when we use bitmap font." into devel/master
Adeel Kazmi [Tue, 7 Jun 2022 15:33:13 +0000 (15:33 +0000)]
Merge "Fix bug when we use bitmap font." into devel/master

22 months agoFix bug when we use bitmap font. 68/275968/2
Eunki, Hong [Tue, 7 Jun 2022 13:42:50 +0000 (22:42 +0900)]
Fix bug when we use bitmap font.

We can use custom bitmap font without using glyph.
In this case, glyphBuffer can be RGBA.

Current logic assume that glyphBuffer only L8 if isColor is false.
This patch it that case works well

Change-Id: Ia68bfb4a292cb4bc34f4041b55f2a9d661e58df7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>