platform/core/uifw/dali-toolkit.git
20 months agoMake sure that global variables are initialized lazily in scene3d. 02/289102/1
huayong.xu [Wed, 1 Mar 2023 10:18:13 +0000 (18:18 +0800)]
Make sure that global variables are initialized lazily in scene3d.

Global variables are initialized when scene3d so is loaded firstly.
This would allocate more memory in some cases.
This patch is to make the variables be initialized lazily.

Change-Id: I317c04b7d04c74d84a44be8c603ddcdaacdabf83

20 months agoCache manager for 3D models 98/287698/18
Richard [Thu, 2 Feb 2023 15:07:37 +0000 (15:07 +0000)]
Cache manager for 3D models

Change-Id: I6cd522b2ee5c2dc33fa7740d2421d9220ee058de

20 months agoMerge "Allow to load uint32_t as indices" into devel/master
David Steele [Mon, 27 Feb 2023 11:09:45 +0000 (11:09 +0000)]
Merge "Allow to load uint32_t as indices" into devel/master

20 months agoMerge "DALi Version 2.2.15" into devel/master
David Steele [Fri, 24 Feb 2023 12:31:07 +0000 (12:31 +0000)]
Merge "DALi Version 2.2.15" into devel/master

20 months agoDALi Version 2.2.15 23/288923/1 dali_2.2.15
Richard Huang [Fri, 24 Feb 2023 12:24:26 +0000 (12:24 +0000)]
DALi Version 2.2.15

Change-Id: I0155a4d6a971a46f3930dc3a6c6f6fd0782c9d60

20 months agoMerge "Generate Camera from loaded model" into devel/master
Eunki Hong [Fri, 24 Feb 2023 06:30:30 +0000 (06:30 +0000)]
Merge "Generate Camera from loaded model" into devel/master

20 months agoAllow to load uint32_t as indices 37/288537/11
Eunki Hong [Sat, 18 Feb 2023 10:22:52 +0000 (19:22 +0900)]
Allow to load uint32_t as indices

Dali's default indices use uint16_t. But if heavy 3D model who need more than
65536 indexes loaded, It will break index.

This patch make Scene3D can allow to use uint32_t type indeces load
and generete Geometry by it.

Change-Id: I6b8096df3fcf855443e6b407342121b9374d9ff8
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
20 months agoGenerate Camera from loaded model 30/288530/9
Eunki Hong [Fri, 17 Feb 2023 14:15:35 +0000 (23:15 +0900)]
Generate Camera from loaded model

Add API to generete (or apply) the camera what 3D model has.

Note that model cannot have ownership of camera
since we have to add camera into SceneView or whatever we want.
So GenerateCamera create new CameraActor everytime.
Or ApplyCamera into already created CameraActor.

TODO : Should we change all Scene3D::Loader used demo who use camera parameter?

Change-Id: Ief1571d1e8b522c1785b8721c279713b20760a99
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
20 months agoMerge "Fix space font validation condition" into devel/master
Bowon Ryu [Fri, 24 Feb 2023 04:48:47 +0000 (04:48 +0000)]
Merge "Fix space font validation condition" into devel/master

20 months agoFix space font validation condition 20/288820/7
joogab.yun [Thu, 23 Feb 2023 09:38:06 +0000 (18:38 +0900)]
Fix space font validation condition

when character is 0x20, there are various cases of font validation.
but if it is a default font or cached font, or
if a glyph exists in the current font when it is contiguous with the prev char,
it is natural to load current font.
this is same behaviour as before.. and the process of finding fonts can slightly reduced.

Change-Id: I017db2ec38e86642a83a44739a0d2c7af072e14a

20 months agoMerge "Refactoring model-impl.cpp" into devel/master
Seungho BAEK [Wed, 22 Feb 2023 03:12:08 +0000 (03:12 +0000)]
Merge "Refactoring model-impl.cpp" into devel/master

20 months agoMerge "When setting a focus actor, we log the current focused actor and the new focus...
joogab yun [Tue, 21 Feb 2023 06:12:09 +0000 (06:12 +0000)]
Merge "When setting a focus actor, we log the current focused actor and the new focused actor." into devel/master

20 months agoWhen setting a focus actor, we log the current focused actor and the new focused... 48/288648/2
joogab.yun [Tue, 21 Feb 2023 03:27:17 +0000 (12:27 +0900)]
When setting a focus actor, we log the current focused actor and the new focused actor.

Change-Id: Idbdce0ae55d18dbee314b3db0994413d0acf8a30

20 months agoRemove useless warning message for initialized window 65/288365/2
Eunki Hong [Wed, 15 Feb 2023 17:35:27 +0000 (02:35 +0900)]
Remove useless warning message for initialized window

OnWindowFocusChanged can be called when the window is created.
In that case, GetFocusActorFromCurrentWindow() will return empty Actor handle.

SetCurrentFocusActor() doesn't consider empty-handle input case. So we should skip
if GetFocusActorFromCurrentWindow() returns empty handle.

Change-Id: I440e60f7c46e234876a4d5af50445477b88e35f7
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
20 months agoMerge "Replace std::string global variables with C-style string." into devel/master
David Steele [Mon, 20 Feb 2023 15:12:13 +0000 (15:12 +0000)]
Merge "Replace std::string global variables with C-style string." into devel/master

20 months agoMerge "Make sure that global variables are initialized lazily." into devel/master
David Steele [Mon, 20 Feb 2023 15:11:51 +0000 (15:11 +0000)]
Merge "Make sure that global variables are initialized lazily." into devel/master

20 months agoRefactoring model-impl.cpp 85/288585/5
seungho baek [Mon, 20 Feb 2023 06:57:09 +0000 (15:57 +0900)]
Refactoring model-impl.cpp

 - Extract some method to reduce duplicated code.
 - Reduce braces depth
 - Use return early for easy understanding
 - Separate too long method

Change-Id: I54e09138ae968a15be274fe415cfd3fd245047f8

20 months agoFix multiline text size issue in label 81/288581/4
Bowon Ryu [Mon, 20 Feb 2023 06:38:25 +0000 (15:38 +0900)]
Fix multiline text size issue in label

When font validation in the relayout process, if text update info is initialized,
font data should be cleared before UpdateModel() to ensure the number of characters removed and added.
Without this condition, incorrect text updates will occur due to incorrect number of characters.

Change-Id: Ic0a56dc355b746b2e718aa87ae61c507ade427b5
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
20 months agoMake sure that global variables are initialized lazily. 84/288284/14
huayong.xu [Wed, 15 Feb 2023 05:37:56 +0000 (13:37 +0800)]
Make sure that global variables are initialized lazily.

Global variables are initialized before main function or
when dali so is loaded firstly.
This patch is to reduce loading time of dali in theory.

Change-Id: Ica5e9c063e1be2dfe2aa5f7865705481422063d9

20 months agoMerge "Make SceneView's default camera is 3D camera" into devel/master
Eunki Hong [Mon, 20 Feb 2023 03:54:57 +0000 (03:54 +0000)]
Merge "Make SceneView's default camera is 3D camera" into devel/master

20 months agoMerge "Reduce decoding time of embedded gltf + Fix base64 encode bug" into devel...
Eunki Hong [Mon, 20 Feb 2023 02:22:49 +0000 (02:22 +0000)]
Merge "Reduce decoding time of embedded gltf + Fix base64 encode bug" into devel/master

20 months agoMerge "Generate tangent as Vector4 for gltf" into devel/master
Eunki Hong [Mon, 20 Feb 2023 02:22:43 +0000 (02:22 +0000)]
Merge "Generate tangent as Vector4 for gltf" into devel/master

20 months agoMerge "Fix gltf animation's 0 frame behavior." into devel/master
Eunki Hong [Mon, 20 Feb 2023 02:22:36 +0000 (02:22 +0000)]
Merge "Fix gltf animation's 0 frame behavior." into devel/master

20 months agoGenerate tangent as Vector4 for gltf 73/287173/11
Eunki Hong [Fri, 20 Jan 2023 16:28:32 +0000 (01:28 +0900)]
Generate tangent as Vector4 for gltf

Since gltf use aTangent as Vector4 type, we seperate
the tangent load logic and shaders.

But dali auto generated aTangent used only for Vector3.
It mean Vector4's w value was ignored.

This patch branch whether we use Vector3 tangent or not.

Change-Id: I95a8d33c01fa84f06a60f843ec0a84681ccbd003
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
21 months agoDALi Version 2.2.14 19/288519/1 dali_2.2.14
David Steele [Fri, 17 Feb 2023 13:51:45 +0000 (13:51 +0000)]
DALi Version 2.2.14

Change-Id: I39d1c294a624c14438db97acf8db6eabe3641891

21 months agoMake SceneView's default camera is 3D camera 90/288490/2
Eunki, Hong [Fri, 17 Feb 2023 06:36:35 +0000 (15:36 +0900)]
Make SceneView's default camera is 3D camera

Since SceneView used camera don't care about the Dali::Scene size,
Let we use 3D engine style camera. It will not change the property
automatically, and also will looks good to 3D object.

Change-Id: I31d9d0fc042cdbf8b33bc4d87a912ca149e248fe
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoReduce decoding time of embedded gltf + Fix base64 encode bug 35/287635/7
Eunki, Hong [Wed, 1 Feb 2023 23:21:24 +0000 (08:21 +0900)]
Reduce decoding time of embedded gltf + Fix base64 encode bug

Let we don't copy the full string during decode base64.
+
Let we print '=' tags end of encoded base64 result, so
we can decode the encode result at common external library.

Change-Id: I2c671512ffcd986e30a4e773dacdd6e62dca2f31
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoReplace std::string global variables with C-style string. 36/288336/2
huayong.xu [Wed, 15 Feb 2023 08:58:50 +0000 (16:58 +0800)]
Replace std::string global variables with C-style string.

A std::string global variable would allocate a memory in heap,
then copy the string from .text section to the heap.
This patch may reduce loading time & memory a little.

Change-Id: I2ce22c98695cee6edea088d98b9569e11fc6c837

21 months agoFix gltf animation's 0 frame behavior. 22/288422/2
Eunki, Hong [Thu, 16 Feb 2023 09:10:10 +0000 (18:10 +0900)]
Fix gltf animation's 0 frame behavior.

Current dali animation's KeyFrame didn't determine when the time is out of frame.
But gltf 2.0 spec say that we must clamp the time as input range.

To match the spec, make the 0 frame's animation keyframe value.

Change-Id: I2831d9f44c2e21ad12b40fa4b52c1d4e4b1d8e9a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoMerge "Fix the valid condition of text update" into devel/master
Bowon Ryu [Wed, 15 Feb 2023 12:32:03 +0000 (12:32 +0000)]
Merge "Fix the valid condition of text update" into devel/master

21 months agoFix the valid condition of text update 32/288332/5
Bowon Ryu [Wed, 15 Feb 2023 08:21:19 +0000 (17:21 +0900)]
Fix the valid condition of text update

Even when numberOfCharacters is 0u,
mParagraphCharacterIndex and mRequestedNumberOfCharacters cannot be greater than numberOfCharacters.

But in this case(text is empty), normal operation can be guaranteed by clear of update info.

Change-Id: Iad714d19598943492bae5eb51f1904a22d57b66c
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
21 months agoMerge "Add PathFinder algorithm using SPFA" into devel/master
Adeel Kazmi [Wed, 15 Feb 2023 11:23:22 +0000 (11:23 +0000)]
Merge "Add PathFinder algorithm using SPFA" into devel/master

21 months agoDALi Version 2.2.13 33/288133/1 dali_2.2.13
Adeel Kazmi [Fri, 10 Feb 2023 14:15:41 +0000 (14:15 +0000)]
DALi Version 2.2.13

Change-Id: I0bc43f89b418c198ed0776575ad4ce91390ee900

21 months agoFix svace issue (uint32_t to long or std::streamsize) 25/287825/2
Eunki, Hong [Tue, 7 Feb 2023 02:04:06 +0000 (11:04 +0900)]
Fix svace issue (uint32_t to long or std::streamsize)

To convert unsigned value into signed value safely,
we should convert as unsigned type with same size as signed type,
and after done, convert into signed type.

Change-Id: If6e7b613cea0b824866761f19b693fe553190b5a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoAdd PathFinder algorithm using SPFA 22/287422/7
Eunki Hong [Sun, 29 Jan 2023 15:07:00 +0000 (00:07 +0900)]
Add PathFinder algorithm using SPFA

Add new default algorithm using SPFA.
And also, SPFA with doubleway to reduce memory usage per query.

Change-Id: Ia8f7bf98fbc6e94c2e0e47251814b61cf8f9b9d2
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
21 months agoDALi Version 2.2.12 53/287753/1 dali_2.2.12
Adam Bialogonski [Fri, 3 Feb 2023 12:41:29 +0000 (12:41 +0000)]
DALi Version 2.2.12

Change-Id: I7be1046b11780bb1816b310c7a33b76540e37a76

21 months agoFixed SVACE issue in gltf2-loader 24/287624/1
Adeel Kazmi [Wed, 1 Feb 2023 17:02:01 +0000 (17:02 +0000)]
Fixed SVACE issue in gltf2-loader

Change-Id: I6e12e6f9ce3c9286a24436195ae88a04ce32ea0b

21 months agoMake API to set MultiSampling level for SceneView 57/287357/5
Eunki, Hong [Fri, 27 Jan 2023 07:00:00 +0000 (16:00 +0900)]
Make API to set MultiSampling level for SceneView

Make new API to set FBO's multiSamplingLevel what this scene view will use.

Change-Id: I124cc9e7d6bcaffbfaf0323abd509fb84a36dbe3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoMerge "Support embedded texture data for glTF + alpha" into devel/master
Seungho BAEK [Tue, 31 Jan 2023 04:29:02 +0000 (04:29 +0000)]
Merge "Support embedded texture data for glTF + alpha" into devel/master

21 months ago(Automated Tests) Ensure we kill off any sleeping dbus sessions that we create when... 74/287474/1
Adeel Kazmi [Mon, 30 Jan 2023 10:58:16 +0000 (10:58 +0000)]
(Automated Tests) Ensure we kill off any sleeping dbus sessions that we create when running

Change-Id: Ia1f8b6c87ee75f8dee30cea64bdc6d455a918576

21 months agoMerge "Remove useless warning message when multiline TextLabel SceneOff" into devel...
Eunki Hong [Mon, 30 Jan 2023 09:58:08 +0000 (09:58 +0000)]
Merge "Remove useless warning message when multiline TextLabel SceneOff" into devel/master

21 months agoMerge "Doxygen check version and block low version" into devel/master
Eunki Hong [Mon, 30 Jan 2023 02:27:20 +0000 (02:27 +0000)]
Merge "Doxygen check version and block low version" into devel/master

21 months agoMerge "Cleanup .gitignore file" into devel/master
Eunki Hong [Mon, 30 Jan 2023 02:26:48 +0000 (02:26 +0000)]
Merge "Cleanup .gitignore file" into devel/master

21 months agoSupport embedded texture data for glTF + alpha 36/286936/22
seungho baek [Tue, 17 Jan 2023 06:12:12 +0000 (15:12 +0900)]
Support embedded texture data for glTF + alpha

 - Supports embedded gltf
   - Supports data: iri for image.uri
   - Supports data: iri for buffer.uri
   - Supports image.bufferView.
 - Additional Fix
   - Changes default value of Sampler.wrapS, wrapT to Refeat
   - Adds function to decode base64 to std::vector<uint_8>
   - Fixes base64 decoder to do not cut end part.

Change-Id: I413d1f1b48a8a4234ea4c9faf3b3309536e5a53f
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
21 months agoDoxygen check version and block low version 18/287418/3
Eunki Hong [Fri, 27 Jan 2023 15:43:41 +0000 (00:43 +0900)]
Doxygen check version and block low version

Some option did not allow to be used some low version.
This patch make dali.doxy.in block them if version is low.

Change-Id: I5ca620113e7080a261cf84976d2619e231b04bab
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
21 months agoAdded NavigationMesh and PathFinding using A* algorithm to dali-scene3d. 60/286960/25
Adam Bialogonski [Tue, 24 Jan 2023 16:57:07 +0000 (16:57 +0000)]
Added NavigationMesh and PathFinding using A* algorithm to dali-scene3d.

Change-Id: I66776b85e701d043afbd311c1939417fb10ab7fa
Signed-off-by: Adam Bialogonski <adam.b@samsung.com>
21 months agoRemove useless warning message when multiline TextLabel SceneOff 14/287414/1
Eunki Hong [Fri, 27 Jan 2023 14:21:24 +0000 (23:21 +0900)]
Remove useless warning message when multiline TextLabel SceneOff

When TextLabel is not single line, ScrollFinished callback called always.
And if layout is not a singline line, yellow message printed.

This patch try to remove that annoying useless message.

Change-Id: I6f76af40d797632ccaa0b9bba5827dcc41c7ea50
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
21 months agoMerge "DALi Version 2.2.11" into devel/master
David Steele [Fri, 27 Jan 2023 12:26:08 +0000 (12:26 +0000)]
Merge "DALi Version 2.2.11" into devel/master

21 months agoDALi Version 2.2.11 00/287400/1 dali_2.2.11
Richard Huang [Fri, 27 Jan 2023 12:19:28 +0000 (12:19 +0000)]
DALi Version 2.2.11

Change-Id: Ib7afa508934f23f3fa88cdca2c8d71166099eb0b

21 months agoFix default IBL env map type as Cube Map 40/287340/1
seungho baek [Fri, 27 Jan 2023 02:25:23 +0000 (11:25 +0900)]
Fix default IBL env map type as Cube Map

Change-Id: I7778d7cc07c8c0aab2a364b7581e874de58e563e
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
21 months agoUse EnvironmentMapLoadTask to load Equirectangular projection image. 72/286172/38
seungho baek [Thu, 29 Dec 2022 15:22:07 +0000 (00:22 +0900)]
Use EnvironmentMapLoadTask to load Equirectangular projection image.
 - Changes SkymapType to EnvironmentMapType
 - TODO: To make IBL image support Equirectangular projection

Change-Id: I34dce88acdd1271dce54af18bc8080d8e452144a
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
21 months agoCleanup .gitignore file 45/287245/1
Eunki Hong [Wed, 25 Jan 2023 15:50:12 +0000 (00:50 +0900)]
Cleanup .gitignore file

Collect, merge and clean up .gitignore file for all dali repos

Change-Id: I9df3c75f5bfcb19633c7e1294786b63cb1a7fe9b
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
21 months agoFix tc failure 17/287117/3
Heeyong Song [Fri, 20 Jan 2023 02:09:23 +0000 (11:09 +0900)]
Fix tc failure

Change-Id: If6357dcd3b5b1aea5dbf49bcdfee0cda4da87886

21 months agoMerge "Fix occasional tc failure of glView" into devel/master
Heeyong Song [Sat, 21 Jan 2023 13:02:06 +0000 (13:02 +0000)]
Merge "Fix occasional tc failure of glView" into devel/master

21 months agoDALi Version 2.2.10 57/287157/1 dali_2.2.10
David Steele [Fri, 20 Jan 2023 13:10:06 +0000 (13:10 +0000)]
DALi Version 2.2.10

Change-Id: I9d3a2247c2405445c7d36d1b4efbc752a492945c

21 months agoFix occasional tc failure of glView 73/287073/2
Heeyong Song [Thu, 19 Jan 2023 08:59:45 +0000 (17:59 +0900)]
Fix occasional tc failure of glView

Change-Id: I6a6c6ee201bd74bc405b1c3b87b255dc78623594

21 months agoMerge "Updating Test Harness to show wait channel" into devel/master
David Steele [Thu, 19 Jan 2023 14:34:10 +0000 (14:34 +0000)]
Merge "Updating Test Harness to show wait channel" into devel/master

21 months agoUpdating Test Harness to show wait channel 25/287025/2
David Steele [Wed, 18 Jan 2023 15:21:23 +0000 (15:21 +0000)]
Updating Test Harness to show wait channel

If, during parallel execution, a child test case is pending for a
minute, then display the wait channel symbol, and kill the process.

Signed-off-by: David Steele <david.steele@samsung.com>
Change-Id: Idf5d287211464672c82232ff6e6c84c92fe341c6

22 months agoAble to load uint8_t type Joint + Able to animate 0 duration animation 61/286361/6
Eunki, Hong [Wed, 4 Jan 2023 15:17:46 +0000 (00:17 +0900)]
Able to load uint8_t type Joint + Able to animate 0 duration animation

This patch try to resolve 2 kind of unsupported feature.

1. There was possible to set JOINT_0 accessor type as unsigend byte.
Make it supported.

2. If duration of gltf was 0, the keyframe's progress value become -nan.
It may occure some problems.

Change-Id: I166be7d31880c04b9e819e9cd1acd843538c927a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoFix doxygen error + Minor coverity issue resolve 68/286968/1
Eunki Hong [Tue, 17 Jan 2023 20:42:41 +0000 (05:42 +0900)]
Fix doxygen error + Minor coverity issue resolve

Due to the unknown issue, If we set SpanType::Value as enum class +
If we return const Value, doxygen compiled failed at Accessibility::Value.

Error message :

Configuration file '/home/leaf/work/dali-toolkit/build/tizen/docs/dali.doxy' updated.

/home/leaf/work/dali-env/opt/include/dali/devel-api/atspi-interfaces/value.h:88: warning: no matching file member found for
Value * Dali::Accessibility::Value::DownCast(Accessible *obj)
Possible candidates:
 'T DownCast(BaseHandle handle)' at line 275 of file /home/leaf/work/dali-env/opt/include/dali/public-api/object/base-handle.h
 'Application DownCast(Dali::RefObject *refObject)' at line 83 of file /home/leaf/work/dali-env/opt/include/dali/devel-api/adaptor-framework/application-devel.h

Since human cannot read this error, just avoid it.

+

Due to the doxygen make trouble since const value return,
I also try to remove all const return keyword that coverity issue will be occured..

TODO : Should FontSpan::GetFamilyName return const std::string& instead of const std::string?
That API is also kind of meanless const keyword btw.

See https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/282555/ 's case 4.

Change-Id: I6e087e66a3de3ee4a5981bdc540616910ab04b6e
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
22 months agoMerge "Change docs and utc images doesn't print warning log" into devel/master
David Steele [Tue, 17 Jan 2023 11:59:29 +0000 (11:59 +0000)]
Merge "Change docs and utc images doesn't print warning log" into devel/master

22 months agoMerge "Remove png warning log" into devel/master
David Steele [Tue, 17 Jan 2023 11:58:46 +0000 (11:58 +0000)]
Merge "Remove png warning log" into devel/master

22 months agoRemove unnecessray Clipboard creation in text controller 48/286748/5
Bowon Ryu [Thu, 12 Jan 2023 08:20:10 +0000 (17:20 +0900)]
Remove unnecessray Clipboard creation in text controller

Change-Id: Ia6a3dcadaecefb3b5e835734338f5a8c37240f4f
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
22 months agoChange docs and utc images doesn't print warning log 81/286881/2
Eunki, Hong [Mon, 16 Jan 2023 07:51:02 +0000 (16:51 +0900)]
Change docs and utc images doesn't print warning log

Change-Id: I622b0723f776cbaf2a454c3528470a46f6858663
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoFix SVACE issue in text-controller 03/286903/1
Eunki, Hong [Mon, 16 Jan 2023 10:55:16 +0000 (19:55 +0900)]
Fix SVACE issue in text-controller

Make Impl as unique_ptr, so we don't need to make
Dali::Toolkit::Text::Controller::~Controller as virtual

Change-Id: I010ec8d315670ead0c7f679299c500033f3ad7f6
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoMerge "Add GetSpanType API" into devel/master
Bowon Ryu [Mon, 16 Jan 2023 09:34:55 +0000 (09:34 +0000)]
Merge "Add GetSpanType API" into devel/master

22 months agoRemove png warning log 79/286879/1
Eunki, Hong [Mon, 16 Jan 2023 07:41:20 +0000 (16:41 +0900)]
Remove png warning log

libpng warning: iCCP: known incorrect sRGB profile

Change-Id: I6bc33f71b23ce428b12ae89ddde5eedf524ebe6c
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoFix SVACE error in scene-view 52/286852/1
Adeel Kazmi [Fri, 13 Jan 2023 16:18:16 +0000 (16:18 +0000)]
Fix SVACE error in scene-view

Change-Id: I23fff2c90a0254de8a7f9b77026a11963653bf69

22 months agoDALi Version 2.2.9 29/286829/1 dali_2.2.9
Adeel Kazmi [Fri, 13 Jan 2023 09:56:15 +0000 (09:56 +0000)]
DALi Version 2.2.9

Change-Id: Ibd51bec2d786b33a27a416bf416fca472a80b263

22 months agoChange duplicated UTC name 54/286754/1
Bowon Ryu [Thu, 12 Jan 2023 09:14:02 +0000 (18:14 +0900)]
Change duplicated UTC name

Change-Id: I069fe804c6f4d71919736733b1e712cf1a77bac9
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
22 months agoMerge "Asynchronous loading of Scene3D resources" into devel/master
Seungho BAEK [Thu, 12 Jan 2023 08:42:00 +0000 (08:42 +0000)]
Merge "Asynchronous loading of Scene3D resources" into devel/master

22 months agoremove unreachable code in text geometry 23/286723/1
Bowon Ryu [Thu, 12 Jan 2023 06:04:34 +0000 (15:04 +0900)]
remove unreachable code in text geometry

lineIndex can not be -1

Change-Id: I31e9c4a554e93550bbd6e63b0daca3b199556be3
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
22 months agoMerge "Change trace tag in Text" into devel/master
Bowon Ryu [Thu, 12 Jan 2023 05:50:05 +0000 (05:50 +0000)]
Merge "Change trace tag in Text" into devel/master

22 months agoAsynchronous loading of Scene3D resources 11/284211/35
seunghobaek [Fri, 11 Nov 2022 12:50:25 +0000 (21:50 +0900)]
Asynchronous loading of Scene3D resources

Change-Id: Idd19cbcfc1bdcfb7e8cd9d2ea6691a9060bcfb78
Signed-off-by: seunghobaek <sbsh.baek@samsung.com>
22 months agoChange trace tag in Text 11/286711/1
Bowon Ryu [Thu, 12 Jan 2023 03:17:39 +0000 (12:17 +0900)]
Change trace tag in Text

DALI_TRACE_PERFORMANCE_MARKER tag is outputting too many logs by default.
Separate tag for text : DALI_TRACE_TEXT_PERFORMANCE_MARKER

Change-Id: I2d771b2fc64dac052f6a9e6a20bbf1a72a1a22a9
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
22 months agoSet the text decorator's draw mode to OVERLAY_2D 61/286661/1
Bowon Ryu [Wed, 11 Jan 2023 10:18:07 +0000 (19:18 +0900)]
Set the text decorator's draw mode to OVERLAY_2D

Text decorators should be draw as an overlay.
* TextSelectionPopup, GrabHandle, and SelectionHandle

Change-Id: Ic47582890952c36d2a003fd91a7e2b829338102f
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
22 months agoAdd GetSpanType API 55/286155/2
ssabah [Wed, 28 Dec 2022 20:33:19 +0000 (23:33 +0300)]
Add GetSpanType API

Add GetSpanType and SpanType enum
This API help casting from BaseSpan to one of sub classes

Change-Id: I75399a5dfba6d74148951fdd14b57889b86c738f

22 months agoMerge "Add GetTextBoundingRectangle API for Text Controllers" into devel/master
Bowon Ryu [Tue, 10 Jan 2023 08:20:48 +0000 (08:20 +0000)]
Merge "Add GetTextBoundingRectangle API for Text Controllers" into devel/master

22 months agoMerge "Add GetCharacterIndexAtPosition API" into devel/master
Bowon Ryu [Tue, 10 Jan 2023 08:16:42 +0000 (08:16 +0000)]
Merge "Add GetCharacterIndexAtPosition API" into devel/master

22 months agoMerge "Use AsyncTaskManager in animated-vector-image" into devel/master
sunghyun kim [Sun, 8 Jan 2023 23:54:28 +0000 (23:54 +0000)]
Merge "Use AsyncTaskManager in animated-vector-image" into devel/master

22 months agoDALi Version 2.2.8 59/286459/1 dali_2.2.8
Adam Bialogonski [Fri, 6 Jan 2023 10:49:56 +0000 (10:49 +0000)]
DALi Version 2.2.8

Change-Id: I9b384ae07e58257f21380b10945db8bbff663122

22 months agoUse AsyncTaskManager in animated-vector-image 36/286436/1
tscholb [Fri, 6 Jan 2023 03:30:02 +0000 (12:30 +0900)]
Use AsyncTaskManager in animated-vector-image

Change-Id: I05356863dd5bbf63b76bcfa15a1925abb18a4fb6

22 months agoAdd an API for 'create,window' event.
huayong.xu [Thu, 15 Dec 2022 09:50:58 +0000 (17:50 +0800)]
Add an API for 'create,window' event.

Change-Id: I47915f69884b8f609cccda19b402dae7d1f29484

22 months agoBug fix to load animation of dli in Model
seungho baek [Tue, 3 Jan 2023 06:39:15 +0000 (15:39 +0900)]
Bug fix to load animation of dli in Model

Change-Id: I5b174ebc7af111993189e41da54a4f627b277b26
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
22 months agoTrace use scope macro instead of begin-end 75/286175/1
Eunki Hong [Thu, 29 Dec 2022 15:48:07 +0000 (00:48 +0900)]
Trace use scope macro instead of begin-end

Since we don't need to follow functions usecase,
use trace scope macro instead of begin-end

Change-Id: Ie3d53f09b979f6dd8644076ad704c182ded2bf8e
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
22 months ago[Text] Add some more trace marker for text 70/286170/1
Eunki, Hong [Thu, 29 Dec 2022 13:28:01 +0000 (22:28 +0900)]
[Text] Add some more trace marker for text

Change-Id: Id0d9161cce9af8cfcbeb891d9dee18d477be2b46
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months ago[Text] Do not relayout if equal font family setted 69/286169/1
Eunki, Hong [Thu, 29 Dec 2022 13:03:30 +0000 (22:03 +0900)]
[Text] Do not relayout if equal font family setted

Change-Id: I027117ff968b8c4cbd70d9b6a23aca8ae07b2c8e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoChange duplicated UTC name 53/286153/1
Eunki, Hong [Thu, 29 Dec 2022 06:57:23 +0000 (15:57 +0900)]
Change duplicated UTC name

Change-Id: I409d274b56ae91edca58ce16db9a32d79d5b6b11
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months ago[ATSPI] Lazily embed the web content subtree 55/285555/5
Lukasz Oleksak [Wed, 14 Dec 2022 13:34:20 +0000 (14:34 +0100)]
[ATSPI] Lazily embed the web content subtree

Delays necessity to make synchronous call on dbus, what reduces chances
for deadlock.

Change-Id: Ica669ca490619ca0906cc0c14c8f7dfde0925023

22 months agoAdd GetTextBoundingRectangle API for Text Controllers 95/284795/8
sarajammal [Sun, 27 Nov 2022 16:00:26 +0000 (19:00 +0300)]
Add GetTextBoundingRectangle API for Text Controllers

API was already implemented, this patch adds it n Text Label, Field and Editor.
To be able to add it on NUI too.

Change-Id: I98120cc70c805a2bb1fee7abaf6625cc3ec42d65

22 months agoAdd GetCharacterIndexAtPosition API 04/284604/9
sarajammal [Mon, 21 Nov 2022 16:28:54 +0000 (19:28 +0300)]
Add GetCharacterIndexAtPosition API

Retrieve the character index based on a given visual X and Y values.

Function prototype: int GetCharacterIndexAtPosition(ModelPtr textModel, float visualX, float visualY);

Add new API to TextGeometry.

Change-Id: Idea36f92053cd475e48e15c3bbdd57c79311f4c3

22 months agoDALi Version 2.2.7 87/285987/1 dali_2.2.7
Adeel Kazmi [Fri, 23 Dec 2022 11:34:57 +0000 (11:34 +0000)]
DALi Version 2.2.7

Change-Id: I8b3c6691ccca0c8881c91b6676dbe2a913a950cf

22 months agoFix coverity issue 70/285870/2
Eunki, Hong [Thu, 22 Dec 2022 03:28:50 +0000 (12:28 +0900)]
Fix coverity issue

 - sizeof(int) != sizeof(float) case in json parsing
 - mCompletedTaskIds iterator usage issue

Change-Id: I473ed3c61e3218a98aae61b9a8ca0df15f10c32c
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoMerge "Use Renderer::BlendMode::USE_ACTOR_OPACITY instead to use depth write mode...
Seungho BAEK [Thu, 22 Dec 2022 00:44:12 +0000 (00:44 +0000)]
Merge "Use Renderer::BlendMode::USE_ACTOR_OPACITY instead to use depth write mode" into devel/master

22 months agoMerge "Spannable: Add StrikethroughSpan" into devel/master
Bowon Ryu [Wed, 21 Dec 2022 10:08:11 +0000 (10:08 +0000)]
Merge "Spannable: Add StrikethroughSpan" into devel/master

22 months agoMerge "Modify ColorMode Policy for SceneView and Model" into devel/master
Seungho BAEK [Wed, 21 Dec 2022 07:45:11 +0000 (07:45 +0000)]
Merge "Modify ColorMode Policy for SceneView and Model" into devel/master

22 months agoSpannable: Add StrikethroughSpan 09/285409/3
ssabah [Sun, 11 Dec 2022 12:04:15 +0000 (15:04 +0300)]
Spannable: Add StrikethroughSpan

StrikethroughSpan: Span to change the strikethrough properties (Color,Heighth) of characters

This patch should be preceded by the patch below:

https://review.tizen.org/gerrit/c/platform/core/uifw/dali-toolkit/+/285217

Change-Id: Id7823ea49b19fed3ae1a0a9a73e55538ccd2ad2e

22 months agoModify ColorMode Policy for SceneView and Model 11/285811/3
seungho baek [Tue, 20 Dec 2022 13:26:41 +0000 (22:26 +0900)]
Modify ColorMode Policy for SceneView and Model

 - For Model, Use ColorMode::USE_OWN_MULTIPLY_PARENT_ALPHA for ColorMode
 - Actor::Property::COLOR will affect its children Actors.
 - For SceneView, Use ColorMode::USE_OWN_COLOR when mUseFrameBuffer is true.
 - When Opacity of SceneView is animated, it looks natural.
 - But, use ColorMode::USE_OWN_MULTIPLY_PARENT_ALPHA when mUseFrameBuffer is false.
 - Then, Opacity animation is works (but slightly looks unnatural.)

Change-Id: Iaa993f5857f5bd9e2cf3b79b463f2fc5e5db3249
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
22 months agoSpannable: Add BackgroundSpan 49/285049/7
abedalrhman rasem [Mon, 5 Dec 2022 08:36:04 +0000 (11:36 +0300)]
Spannable: Add BackgroundSpan

BackgroundSpan: Span to change the back groundSpan of characters.

Example:
===========================================================================================

    Dali::Toolkit::Text::SpannableString ss =
    Dali::Toolkit::Text::SpannableString::New("Testing");
    auto greenSpan = Dali::Toolkit::Text::BackgroundColorSpan::New(Color::GREEN);
      ss.AttachSpan(
      greenSpan,
      Dali::Toolkit::Text::Range::New(0u, 3u));
    Dali::Toolkit::Text::SetSpannedText(textLabel,ss);

==========================================================================================

Change-Id: I3f5414ee5268799ad8e174db4b693c70f4b9b1b3

22 months agoMerge "Spannable: Add ItalicSpan" into devel/master
Bowon Ryu [Tue, 20 Dec 2022 11:08:50 +0000 (11:08 +0000)]
Merge "Spannable: Add ItalicSpan" into devel/master