platform/core/uifw/dali-toolkit.git
3 years agoMerge "Support animation of Visual transform properties" into devel/master
Heeyong Song [Wed, 23 Dec 2020 23:19:27 +0000 (23:19 +0000)]
Merge "Support animation of Visual transform properties" into devel/master

3 years agoEnsure DALI_*_API is stripped out from the doxygen documentation 41/250341/1
Adeel Kazmi [Wed, 23 Dec 2020 18:21:29 +0000 (18:21 +0000)]
Ensure DALI_*_API is stripped out from the doxygen documentation

Change-Id: I8d0871bcbbebbef32ca3a54801f764d97f06e50d

3 years agoAdd dali-scene-loader to doxygen documentation 39/250339/1
Adeel Kazmi [Wed, 23 Dec 2020 17:03:57 +0000 (17:03 +0000)]
Add dali-scene-loader to doxygen documentation

Change-Id: I0f36a01a349113556745dbc1a186e339bb0607e7

3 years agoMerge "Make -DUSE_DEFAULT_RESOURCE_DIR=OFF compile again" into devel/master
Adeel Kazmi [Wed, 23 Dec 2020 17:11:58 +0000 (17:11 +0000)]
Merge "Make -DUSE_DEFAULT_RESOURCE_DIR=OFF compile again" into devel/master

3 years agoMerge "Updated patch coverage script." into devel/master
Adeel Kazmi [Wed, 23 Dec 2020 16:19:42 +0000 (16:19 +0000)]
Merge "Updated patch coverage script." into devel/master

3 years agoFixed the SVACE issue in ExceptionFlinger. 28/250328/2
György Straub [Wed, 23 Dec 2020 11:29:58 +0000 (11:29 +0000)]
Fixed the SVACE issue in ExceptionFlinger.

This ensures that the exception is only thrown following the destruction
of all other data members.

Change-Id: Ice35cc81130a056c168e7124b0277ec32a9526ce
Signed-off-by: György Straub <g.straub@partner.samsung.com>
3 years agoCosmetic fixes in dali-scene-loader. 77/250177/4
György Straub [Mon, 21 Dec 2020 17:05:03 +0000 (17:05 +0000)]
Cosmetic fixes in dali-scene-loader.

- implementation of (public-api) structors moved out of headers;
- default structors replaced with 'default' keyword where possible;
- disallowed construction of 'namespace' classes;
- whitespace;
- etc.

Change-Id: I9c2e5ef3d8620cad9f7077cd2e8bacd352ea37ee
Signed-off-by: György Straub <g.straub@partner.samsung.com>
3 years agoSupport animation of Visual transform properties 91/250191/2
Heeyong Song [Tue, 22 Dec 2020 01:05:34 +0000 (10:05 +0900)]
Support animation of Visual transform properties

Change-Id: I95cc81b6e0e0a545d18db480a715afb9660851b1

3 years agoAdded documentation of the DLI format. 76/250176/2
György Straub [Mon, 21 Dec 2020 17:03:23 +0000 (17:03 +0000)]
Added documentation of the DLI format.

Change-Id: I722a7c27831c67d471f072b840328d06ffbbf411
Signed-off-by: György Straub <g.straub@partner.samsung.com>
3 years agoFixed SVACE and related issues in dali-scene-loader. 67/250267/1
György Straub [Tue, 22 Dec 2020 13:50:36 +0000 (13:50 +0000)]
Fixed SVACE and related issues in dali-scene-loader.

- sprintf() replaced with snprintf() in gltf2-loader;
- ExceptionFlinger's destructor is marked as [[noreturn]]; other
  methods are marked noexcept(true);
- fixed the assertion in MeshDefinition::Blob::ApplyMinMax(), where
  either min or max can be empty, or they have to be the same size;

Change-Id: Ib05c2cde99fb3b3403c5993740fc2d72e2399f48

3 years agoFixed the libdir that dali-scene-loader's CMakeLists.txt uses. 51/250251/1
György Straub [Tue, 22 Dec 2020 09:19:41 +0000 (09:19 +0000)]
Fixed the libdir that dali-scene-loader's CMakeLists.txt uses.

This fixes the Tizen 64 build.

Change-Id: I796aceed451cb0f900ff56b006434c9e8f8a5565

3 years agoAdded libdli to dali-toolkit as dali-scene-loader. 97/247197/52
György Straub [Thu, 12 Nov 2020 10:21:32 +0000 (10:21 +0000)]
Added libdli to dali-toolkit as dali-scene-loader.

Change-Id: I002e58331035101d9d92d719a864be9baeacc44d

3 years agoMake -DUSE_DEFAULT_RESOURCE_DIR=OFF compile again 69/250069/1
Wander Lairson Costa [Mon, 14 Dec 2020 17:53:32 +0000 (14:53 -0300)]
Make -DUSE_DEFAULT_RESOURCE_DIR=OFF compile again

DALI_IMAGE_DIR isn't defined as a path when
USE_DEFAULT_RESOURCE_DIR=OFF. Use the AssetManager class to get the
image path.

Change-Id: I75099c046a248d643419779747a4235e52f510c4

3 years agoDALi Version 2.0.6 50/250050/1 dali_2.0.6
adam.b [Fri, 18 Dec 2020 11:08:34 +0000 (11:08 +0000)]
DALi Version 2.0.6

Change-Id: Ie44592f896114985917d568e346d84eb27e96169

3 years agoMerge "Avoid shader string copy when possible." into devel/master
David Steele [Thu, 17 Dec 2020 11:25:52 +0000 (11:25 +0000)]
Merge "Avoid shader string copy when possible." into devel/master

3 years agoMerge "Check renderer when call DisplayNextFrame()" into devel/master
Adeel Kazmi [Thu, 17 Dec 2020 10:59:33 +0000 (10:59 +0000)]
Merge "Check renderer when call DisplayNextFrame()" into devel/master

3 years agoMerge "Fix SVACE error in npatch-data" into devel/master
Adeel Kazmi [Thu, 17 Dec 2020 10:59:24 +0000 (10:59 +0000)]
Merge "Fix SVACE error in npatch-data" into devel/master

3 years agoFix SVACE error in npatch-data 23/249923/1
Adeel Kazmi [Thu, 17 Dec 2020 10:11:09 +0000 (10:11 +0000)]
Fix SVACE error in npatch-data

Change-Id: I04df0451ded3b1a097f31e96d0a6e7f0558ff17c

3 years agoCheck renderer when call DisplayNextFrame() 19/249319/5
Sunghyun Kim [Thu, 10 Dec 2020 05:55:06 +0000 (14:55 +0900)]
Check renderer when call DisplayNextFrame()

Sometimes DisplayNextFrame() is called even if animatedImageVisual is
disposed.
for avoid this issue, i added this patch.

Change-Id: I4912dbc38e2c911bc7bbfe7815a8fc8f6b9f4d37

3 years agoRemove unnecessary log in the npatch-loader 20/249820/1
seungho [Thu, 17 Dec 2020 03:21:06 +0000 (12:21 +0900)]
Remove unnecessary log in the npatch-loader

 - GetNPatchData method is allowed that can be called before npatchData is created.(like GetNaturalSize)
 - And, to fail to find cache with the id is not an error too.
 - Therefore, this patch removes the error log from the GetCacheIndexFromId

Change-Id: If88dc611d8e5ad7431ae4485a5cbc8e2e08a4111
Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years agoAvoid shader string copy when possible. 75/248975/3
Subhransu Mohanty [Fri, 4 Dec 2020 01:38:56 +0000 (10:38 +0900)]
Avoid shader string copy when possible.

As shader creation will take a copy if the shader is not in the cache
we don't have to create new String for each shader creation request.

we create a new string only when we need to update the shader data
and only pass a string_view to the shader creation.

Change-Id: I595d5f2af8216c2526ba0865fe33b6c0c2538405

3 years agoMerge "use string_view to avoid string copy" into devel/master
David Steele [Wed, 16 Dec 2020 18:08:56 +0000 (18:08 +0000)]
Merge "use string_view to avoid string copy" into devel/master

3 years agoMerge "Fix SVACE error in animated-image-visual.cpp" into devel/master
David Steele [Wed, 16 Dec 2020 17:08:00 +0000 (17:08 +0000)]
Merge "Fix SVACE error in animated-image-visual.cpp" into devel/master

3 years agoFix SVACE error in animated-image-visual.cpp 42/249642/3
Adeel Kazmi [Tue, 15 Dec 2020 21:24:45 +0000 (21:24 +0000)]
Fix SVACE error in animated-image-visual.cpp

Change-Id: I688715d694f5a726cebb95c1a69bf051177b4085

3 years agoMake NPatchData receive LoadComplete call from TextureManager. 92/248592/18
Seungho Baek [Mon, 30 Nov 2020 05:45:41 +0000 (14:45 +0900)]
Make NPatchData receive LoadComplete call from TextureManager.

 - If an NPatchVisual is destroyed before it receives LoadComplete,
   the loading process of the npatch image is never completed.
 - At that time, because the cache data is already created, every request of the image after that is ignored.
 - In this patch, NPatchData is separated from NpatchLoader and NPatchData request npatch loading to Texture Manager instead of NPatchVisual as a representative.
 - After the loading is completed, NPatchData receives LoadComplete call and makes textureSet.
 - And, The NpatchData sends UploadComplete call to the each NPatchVisuals those originally request it.

 + Additionally, this patch includes an method to remove unused cached data.

Change-Id: I0879a9eaa62aac8533fbc6b8d9416805ab7a0675
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
3 years agoFix 2 animatedImageVisual issues 19/249119/4
Seungho Baek [Mon, 7 Dec 2020 08:10:34 +0000 (17:10 +0900)]
Fix 2 animatedImageVisual issues

 - 1. Make animate image visual do not caching in texture-manager
  - If 2 visual those have same image url and play without sync, it makes caching error.
 - 2. Make NextFrame methods.
  - Currently, the visual requests to load specific frame with index.
    But, if the system getting slow(like so many agif/webp in playing), the request and the loading can not be synchronized.
  - The visual will request next frame index with identical timing, but because the loading is slow, the loading frame will be throwed away and start next frame of the index.
  - This make bottle neck and also make stop to play.
  - This patch adds NextFrame that returns prepared next frame. If the next frame is in loading, this method is not to increase index and returns current rendered frame again.

Change-Id: Ia301ae654bcf8ee88167585bc4f4b1259a1e4e46
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
3 years agoUpdated patch coverage script. 62/249462/1
David Steele [Fri, 11 Dec 2020 18:11:01 +0000 (18:11 +0000)]
Updated patch coverage script.

Ensured that the coverage output is only shown in verbose mode after
all other errors have been found.
Clearly separate the script output from the coverage output
Added errors and warning tags to... errors and warnings.

Change-Id: I9376854620f110e28ca8cad9a54c8b98948970f9

3 years agoMerge "DALi Version 2.0.5" into devel/master
Adeel Kazmi [Fri, 11 Dec 2020 12:14:17 +0000 (12:14 +0000)]
Merge "DALi Version 2.0.5" into devel/master

3 years ago[dali_2.0.5] Merge branch 'devel/master' 49/249449/1
David Steele [Fri, 11 Dec 2020 12:11:22 +0000 (12:11 +0000)]
[dali_2.0.5] Merge branch 'devel/master'

Change-Id: I51314b44ee6975ec1d0d9e2af19b507fb5c069d4

3 years agoDALi Version 2.0.5 43/249443/1 dali_2.0.5
David Steele [Fri, 11 Dec 2020 12:10:34 +0000 (12:10 +0000)]
DALi Version 2.0.5

Change-Id: I36efbd79a451153bfccc5cdbe0197fad01d0685f

3 years agoAdd GetVisualProperty to Control 41/247841/6
Heeyong Song [Tue, 17 Nov 2020 10:16:33 +0000 (19:16 +0900)]
Add GetVisualProperty to Control

Change-Id: I099bb989dfc5808907c6ebe7cc260727b39faaa4

3 years agoRemove unstable tc 95/248795/2
Heeyong Song [Wed, 2 Dec 2020 08:55:57 +0000 (17:55 +0900)]
Remove unstable tc

Change-Id: If37151a695a1d184f97d106b0ac97f7ed687b664

3 years agoMerge "add Padding parameter at RendererParameters" into devel/master
joogab yun [Tue, 8 Dec 2020 01:54:31 +0000 (01:54 +0000)]
Merge "add Padding parameter at RendererParameters" into devel/master

3 years agoAdd AnimatedVectorImageVisual property 66/248766/2
Heeyong Song [Wed, 2 Dec 2020 06:02:06 +0000 (15:02 +0900)]
Add AnimatedVectorImageVisual property

A property not to render again when the visual is scaled down.

Change-Id: I53d1e78d1376a24318055fa787ea8ee16e4fa0f2

3 years agoMerge "Further refactoring of text-controller-impl" into devel/master
Adeel Kazmi [Fri, 4 Dec 2020 16:18:56 +0000 (16:18 +0000)]
Merge "Further refactoring of text-controller-impl" into devel/master

3 years ago[dali_2.0.4] Merge branch 'devel/master' 58/249058/1
Adeel Kazmi [Fri, 4 Dec 2020 14:57:56 +0000 (14:57 +0000)]
[dali_2.0.4] Merge branch 'devel/master'

Change-Id: Ie72aa85fde0ba7f13355416036bd6e0feef854cc

3 years agoDALi Version 2.0.4 52/249052/1 dali_2.0.4
Adeel Kazmi [Fri, 4 Dec 2020 14:57:13 +0000 (14:57 +0000)]
DALi Version 2.0.4

Change-Id: Ib30bd1701e610cda7fe56ec4b95cf979c91fecb7

3 years agouse string_view to avoid string copy 25/249025/2
Subhransu Mohanty [Fri, 4 Dec 2020 09:08:25 +0000 (18:08 +0900)]
use string_view to avoid string copy

Change-Id: I44af920c24d7ffe8722272118c39163003f6b08e

3 years agoadd Padding parameter at RendererParameters 93/248993/2
Joogab Yun [Fri, 4 Dec 2020 06:30:12 +0000 (15:30 +0900)]
add Padding parameter at RendererParameters

Change-Id: If8d78e1363bc02b5f872119af59f6d3b89550b90

3 years agoFurther refactoring of text-controller-impl 53/248853/4
Adeel Kazmi [Wed, 2 Dec 2020 22:46:22 +0000 (22:46 +0000)]
Further refactoring of text-controller-impl

Change-Id: I3f8253122378cd7f1de6afb742419a726dceefeb

3 years agoMerge "(TextController) Refactored out Text updating methods & moved another method...
Adeel Kazmi [Thu, 3 Dec 2020 12:22:49 +0000 (12:22 +0000)]
Merge "(TextController) Refactored out Text updating methods & moved another method to the Relayouter" into devel/master

3 years agosupport string_view in DALI_TEST_EQUALS 19/248919/1
Subhransu Mohanty [Thu, 3 Dec 2020 07:49:41 +0000 (16:49 +0900)]
support string_view in DALI_TEST_EQUALS

Change-Id: Ie7ba0149c936bd02b50253c136642ac7fe9f2728

3 years ago(TextController) Refactored out Text updating methods & moved another method to the... 52/248852/3
Adeel Kazmi [Wed, 2 Dec 2020 18:34:33 +0000 (18:34 +0000)]
(TextController) Refactored out Text updating methods & moved another method to the Relayouter

Change-Id: I9a3e48c86f593a05fceda2bd29f9d9d72e1c4dc4

3 years ago(Text Controller) Moved ShowPlaceholder method into PlaceholderHandler 08/248708/2
Adeel Kazmi [Tue, 1 Dec 2020 20:33:59 +0000 (20:33 +0000)]
(Text Controller) Moved ShowPlaceholder method into PlaceholderHandler

Change-Id: I3733c34fd78ef6e43d006c8e032fd0869a136f0a

3 years agoMerge "Added TextController Relayouter class to handle relayouting" into devel/master
David Steele [Tue, 1 Dec 2020 19:20:30 +0000 (19:20 +0000)]
Merge "Added TextController Relayouter class to handle relayouting" into devel/master

3 years agoAdded TextController Relayouter class to handle relayouting 87/246987/7
Adeel Kazmi [Thu, 5 Nov 2020 23:03:54 +0000 (23:03 +0000)]
Added TextController Relayouter class to handle relayouting

Change-Id: I001ee4508bbe4d7d5658afe8634fde1acf5a16f8

3 years agoMerge "Do not change BlendMode by following whether advanced blend equation is appied...
David Steele [Tue, 1 Dec 2020 11:54:01 +0000 (11:54 +0000)]
Merge "Do not change BlendMode by following whether advanced blend equation is appied or not" into devel/master

3 years agoFix Coverity issue 67/248567/2
Heeyong Song [Mon, 30 Nov 2020 05:31:27 +0000 (14:31 +0900)]
Fix Coverity issue

Change-Id: I579967f438c62a7b25a96f78ba6942885fa8d53a

3 years agoDo not change BlendMode by following whether advanced blend equation is appied or not 28/248328/5
Seungho Baek [Wed, 25 Nov 2020 10:10:58 +0000 (19:10 +0900)]
Do not change BlendMode by following whether advanced blend equation is appied or not

Change-Id: I9fb5eb3c9cb52095ca032a5e2e63028d8d04d203
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
3 years agoMerge "DALi Version 2.0.3" into devel/master
Adeel Kazmi [Fri, 27 Nov 2020 12:05:02 +0000 (12:05 +0000)]
Merge "DALi Version 2.0.3" into devel/master

3 years agoMerge "(Automated Tests) Ensure we pick up all the tests" into devel/master
Adeel Kazmi [Fri, 27 Nov 2020 12:02:05 +0000 (12:02 +0000)]
Merge "(Automated Tests) Ensure we pick up all the tests" into devel/master

3 years ago[dali_2.0.3] Merge branch 'devel/master' 32/248532/1
Richard Huang [Fri, 27 Nov 2020 11:57:59 +0000 (11:57 +0000)]
[dali_2.0.3] Merge branch 'devel/master'

Change-Id: I76b99bd86b1793f1c8c7d4950005bb227ddfca01

3 years agoDALi Version 2.0.3 26/248526/1 dali_2.0.3
Richard Huang [Fri, 27 Nov 2020 11:57:02 +0000 (11:57 +0000)]
DALi Version 2.0.3

Change-Id: I862e7f4c3636d2644207c390e51fa59381243754

3 years ago(Automated Tests) Ensure we pick up all the tests 53/248453/1
Adeel Kazmi [Thu, 26 Nov 2020 20:53:51 +0000 (20:53 +0000)]
(Automated Tests) Ensure we pick up all the tests

Change-Id: I76f887742f7cb8b212808197deae91bd83bebe31

3 years agoReduced Cyclomatic Complexity of ProcessMarkupString in the Markup Processor 54/248354/5
Adeel Kazmi [Wed, 25 Nov 2020 22:17:43 +0000 (22:17 +0000)]
Reduced Cyclomatic Complexity of ProcessMarkupString in the Markup Processor

Change-Id: I98357df9fb48eb55e53d00ea64159f3f6782bba0

3 years agoMerge "Make do not caching pixelBuffer in texture-manager." into devel/master
David Steele [Wed, 25 Nov 2020 10:10:12 +0000 (10:10 +0000)]
Merge "Make do not caching pixelBuffer in texture-manager." into devel/master

3 years agoMake do not caching pixelBuffer in texture-manager. 94/247194/11
seungho [Fri, 6 Nov 2020 12:50:56 +0000 (21:50 +0900)]
Make do not caching pixelBuffer in texture-manager.

 - In current implementation, npatch textureSet is cached in npatch-loader.
 - This patch prevent to sent empty loadComplete call from texture manager to npatch-visual.
 - And also, this patch let the npatch-loader handle all the caching process without texture-manager caching.

Change-Id: Ibd5f14996420f8651cab6f5b6ccefa67689e4f7f
Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years agoMerge "Fix the build fail of toolkit-test-util" into devel/master
Adeel Kazmi [Mon, 23 Nov 2020 16:48:40 +0000 (16:48 +0000)]
Merge "Fix the build fail of toolkit-test-util" into devel/master

3 years ago(Automated Tests) Synchronise with dali-core following Semaphore class addition 62/247862/5
Adeel Kazmi [Tue, 17 Nov 2020 18:43:02 +0000 (18:43 +0000)]
(Automated Tests) Synchronise with dali-core following Semaphore class addition

Change-Id: Ib72d70e3ba4a5407658610a73584ca293e0adb9b

3 years agoFix the build fail of toolkit-test-util 23/244823/3
Wonsik Jung [Thu, 24 Sep 2020 11:51:38 +0000 (20:51 +0900)]
Fix the build fail of toolkit-test-util

Fix the build fail of toolkit-test-util for new scene-holder-impl API.

Change-Id: Ie5cff593e8326c4318884f6f1e6f8543e7e28f2e

3 years ago[dali_2.0.2] Merge branch 'devel/master' 87/248087/1
György Straub [Fri, 20 Nov 2020 07:47:22 +0000 (07:47 +0000)]
[dali_2.0.2] Merge branch 'devel/master'

Change-Id: Ia06552ba13af19b41adda7be5836fedb0d688eaa

3 years agoDALi Version 2.0.2 81/248081/1 dali_2.0.2
György Straub [Fri, 20 Nov 2020 07:46:10 +0000 (07:46 +0000)]
DALi Version 2.0.2

Change-Id: I550494e590c92ab52353845ce0da618be859c528

3 years agoMerge "[dali-toolkit] TextEditor/TextField add PrimaryCursorPosition property Add...
joogab yun [Thu, 19 Nov 2020 09:35:54 +0000 (09:35 +0000)]
Merge "[dali-toolkit] TextEditor/TextField add PrimaryCursorPosition property Add property to control primary cursor position" into devel/master

3 years agoStop observing visuals when a control is destroyed 38/247238/3
Heeyong Song [Mon, 9 Nov 2020 07:30:18 +0000 (16:30 +0900)]
Stop observing visuals when a control is destroyed

Change-Id: I6c46f3090cfb8235ed0a081ab328d48c410f039e

3 years agoMerge "Remove blend mode change when mixColor is changed" into devel/master
Heeyong Song [Wed, 18 Nov 2020 00:45:10 +0000 (00:45 +0000)]
Merge "Remove blend mode change when mixColor is changed" into devel/master

3 years ago[windows] Use unsigned for enums used as bitfields 36/246136/3
Wander Lairson Costa [Fri, 23 Oct 2020 21:50:36 +0000 (18:50 -0300)]
[windows] Use unsigned for enums used as bitfields

When using enums as bitfields, the Microsoft C++ compiler will generated
shift intructions to when comparing the enum with one of its constants.
As by default enums are signed interegers, the compiler will generated
signed shifts, yielding trash values.

We define the enums in the TextureInfo class as unsigned ints to avoid
this bug.

Change-Id: Icdd49c3b417b09313964c71381b7c8230c844f12

3 years agoRemove blend mode change when mixColor is changed 65/247765/2
Heeyong Song [Mon, 16 Nov 2020 07:59:06 +0000 (16:59 +0900)]
Remove blend mode change when mixColor is changed

Now the mix color opacity uses Renderer opacity.
The Renderer change it internally if the blend mode is AUTO.
So we don't need to change it.

Change-Id: I63ed004e3263cd6f7a5f19a79f3031fedeb8ad81

3 years ago[dali_2.0.1] Merge branch 'devel/master' 12/247712/1
Cheng-Shiun Tsai [Fri, 13 Nov 2020 14:54:21 +0000 (14:54 +0000)]
[dali_2.0.1] Merge branch 'devel/master'

Change-Id: Ie63f92d9f407f46ca66006c6eb2c13d7d422bb16

3 years agoDALi Version 2.0.1 06/247706/1 dali_2.0.1
Cheng-Shiun Tsai [Fri, 13 Nov 2020 14:53:34 +0000 (14:53 +0000)]
DALi Version 2.0.1

Change-Id: I240ffdc6a04a326c60fed4fbf644ba408165ee35

4 years ago[dali-toolkit] TextEditor/TextField add PrimaryCursorPosition property 40/246740/3
ali198724 [Tue, 3 Nov 2020 20:31:24 +0000 (22:31 +0200)]
[dali-toolkit] TextEditor/TextField add PrimaryCursorPosition property
Add property to control primary cursor position

Change-Id: I77d4a7f375101dfe9e7afad4ca378ac8a5744c37

4 years agoMerge "added FONT_SIZE_SCALE("fontSizeScale") DevelProperty into TextLabel, TextField...
HyunJu Shin [Wed, 11 Nov 2020 07:55:23 +0000 (07:55 +0000)]
Merge "added FONT_SIZE_SCALE("fontSizeScale") DevelProperty into TextLabel, TextField and TextEditor" into devel/master

4 years agoMerge "Blend Equation Advanced Supporting" into devel/master
Seungho BAEK [Wed, 11 Nov 2020 03:07:22 +0000 (03:07 +0000)]
Merge "Blend Equation Advanced Supporting" into devel/master

4 years agoMerge "Fix a texture manager crash" into devel/master
Heeyong Song [Tue, 10 Nov 2020 14:08:10 +0000 (14:08 +0000)]
Merge "Fix a texture manager crash" into devel/master

4 years agoMerge "refactor Dictionary class." into devel/master
David Steele [Tue, 10 Nov 2020 12:01:27 +0000 (12:01 +0000)]
Merge "refactor Dictionary class." into devel/master

4 years agoFix a texture manager crash 63/246063/7
Heeyong Song [Thu, 22 Oct 2020 07:52:59 +0000 (16:52 +0900)]
Fix a texture manager crash

In case of ReleasePolicy::NEVER,
Load an image in the UploadComplete callback, then it is inserted to the mLoadQueue
Delete the image visual before the queue is processed.
Then mObserver of LoadQueueElement has an invalid reference.

So reset the mObserver when the visual is deleted

Change-Id: Ie90e6374d419f614a1c08579b7591a7e21b43197

4 years ago(patch-coverage.pl) Outputs covered and total lines as well 07/247307/1
Adeel Kazmi [Mon, 9 Nov 2020 19:07:51 +0000 (19:07 +0000)]
(patch-coverage.pl) Outputs covered and total lines as well

Change-Id: I3710708fa6f57b362802de4289d4c230da928741

4 years agorefactor Dictionary class. 22/242922/9
Subhransu Mohanty [Wed, 2 Sep 2020 02:25:10 +0000 (11:25 +0900)]
refactor Dictionary class.

- use range for and algorithms instead of iterators.
- use std::string_view as argument for Remove() and Find() Api.
- remove redundant apis.

Change-Id: I88954d471f736982a400c2e2dae62456db17c1b2

4 years agoFixing test harness serial execution using testkit-lite 98/247298/2
David Steele [Mon, 9 Nov 2020 13:50:23 +0000 (13:50 +0000)]
Fixing test harness serial execution using testkit-lite

Change-Id: I8c55023e611c99886f4d7baa3be50e4422392b6f

4 years agoMerge "Fixed non-deterministic test case" into devel/master
Adeel Kazmi [Fri, 6 Nov 2020 12:47:27 +0000 (12:47 +0000)]
Merge "Fixed non-deterministic test case" into devel/master

4 years agoFixed non-deterministic test case 93/247193/1
David Steele [Fri, 6 Nov 2020 11:12:05 +0000 (11:12 +0000)]
Fixed non-deterministic test case

SVG now processes results from the rasterizing thread on both the event
trigger and the core process events. In the test harness, this means
that either application.SendNotification, or
Test::WaitForEventThreadTrigger will complete the rasterizing task.

Added comment to remind testers about this timing, and moved the
test check prior to application.SendNotification.

Change-Id: If2d4298cd38af4f2c3c298f6010f321becfbdaf1

4 years ago[dali_2.0.0] Merge branch 'devel/master' 80/247180/1
Adeel Kazmi [Fri, 6 Nov 2020 09:19:03 +0000 (09:19 +0000)]
[dali_2.0.0] Merge branch 'devel/master'

Change-Id: I70bfb547b34cfc9e4bda6433dbb5d4fa91004642

4 years agoDALi Version 2.0.0 74/247174/1 dali_2.0.0
Adeel Kazmi [Fri, 6 Nov 2020 09:18:06 +0000 (09:18 +0000)]
DALi Version 2.0.0

Change-Id: I8c56acbb1f16e04812f5c02318a61df0d69fa8eb

4 years agoTests autogen'd by CMake allows conditional tests 69/246869/5
David Steele [Wed, 4 Nov 2020 19:37:20 +0000 (19:37 +0000)]
Tests autogen'd by CMake allows conditional tests

Moved autogen of test case header from build script to
CMake. This allows conditional tests. Added check
for local version of ELDBUS to determine if accessibility
tests should be built.

Change-Id: Ibd8f9382937a0e8250982dd2b1733d6eb816c7b0

4 years agoadded FONT_SIZE_SCALE("fontSizeScale") DevelProperty into TextLabel, TextField and... 54/244254/12
Youngbok Shin [Wed, 16 Sep 2020 05:22:58 +0000 (14:22 +0900)]
added FONT_SIZE_SCALE("fontSizeScale") DevelProperty into TextLabel, TextField and TextEditor

The FONT_SIZE_SCALE property is added for scaling up/down a given font size.
A font size will be multiplied with a FONT_SIZE_SCALE value before querying fonts.

The FONT_SIZE_SCALE property will be disabled if TEXT_FIT is enabled in TextLabel.

Change-Id: I4de48af34d14f077e8005a0a1b06ccc34835f83e

4 years agoMerge "Improve asynchronous SVG loading performance" into devel/master
Adeel Kazmi [Wed, 4 Nov 2020 16:52:39 +0000 (16:52 +0000)]
Merge "Improve asynchronous SVG loading performance" into devel/master

4 years agoAdded test-harness timeout check 19/246619/2
David Steele [Mon, 2 Nov 2020 13:39:09 +0000 (13:39 +0000)]
Added test-harness timeout check

Change-Id: Iec480185de70bd63c23211074abb6148f8ffd39a

4 years agoAdded SINCE_2_0 doxygen tag 15/246615/1
David Steele [Mon, 2 Nov 2020 11:41:56 +0000 (11:41 +0000)]
Added SINCE_2_0 doxygen tag

Change-Id: I7d5d1020489b8d696eb7417474acbbca81d64094

4 years agoMerge "DALi Version 1.9.36" into devel/master
David Steele [Fri, 30 Oct 2020 14:47:31 +0000 (14:47 +0000)]
Merge "DALi Version 1.9.36" into devel/master

4 years ago[dali_1.9.36] Merge branch 'devel/master' 37/246537/1
David Steele [Fri, 30 Oct 2020 14:34:21 +0000 (14:34 +0000)]
[dali_1.9.36] Merge branch 'devel/master'

Change-Id: If57bb3d837ffd631a68a13733a63af34688d8147

4 years agoDALi Version 1.9.36 31/246531/1 dali_1.9.36
David Steele [Fri, 30 Oct 2020 14:33:36 +0000 (14:33 +0000)]
DALi Version 1.9.36

Change-Id: I50556cfb50fae6c6987d79d4fe88923b0e0ea968

4 years agoMerge changes I2df640e0,Ia1188305,I7fae506e,I7967a7cc,Ib0fdcdf4, ... into devel/master
David Steele [Fri, 30 Oct 2020 13:19:09 +0000 (13:19 +0000)]
Merge changes I2df640e0,Ia1188305,I7fae506e,I7967a7cc,Ib0fdcdf4, ... into devel/master

* changes:
  [AT-SPI] MERGING MARKER
  [AT-SPI] Correct VISIBLE and SHOWING states
  [AT-SPI] Windows fixes
  [AT-SPI] Fixed uint underflow risk
  [AT-SPI] Guard added for potential null pointer dereference
  [AT-SPI] Implemented reading popup description
  [AT-SPI] Improving utc coverage ToggleButton tests
  [AT-SPI] More coverage
  [AT-SPI] Improving utc coverage
  [AT-SPI] Set both ScreenReaderEnabled and IsEnabled in TestEnableSC
  [AT-SPI] Rewritten UtcDaliControlAccessibilityModal
  [AT-SPI] Pass correct object to dynamic_cast
  [AT-SPI] UTC correction
  [AT-SPI] More UTC fixes
  [AT-SPI] Execute tct under dbus-launch
  [AT-SPI] UTC fixes
  [AT-SPI] Add TestDBusWrapper and bypass compilation problems
  [AT-SPI] Implement accessibility for Popup
  [AT-SPI] Fix cmake cmp0004 error
  [AT-SPI] Catch exception by reference
  [AT-SPI] Migrate Accessibility tests to dali-toolkit-internal
  [AT-SPI] Add notification for a11y name/description change
  [AT-SPI] TextController: emit characters before delete
  [AT-SPI] EmitStateChanged for togglable PushButton
  [AT-SPI] Add FOCUSABLE state to TextField and TextEditor
  [AT-SPI] Add Pause and Resume signals
  [AT-SPI] Let MarkFilter find the closest mark
  [AT-SPI] Emit ObjectPropertyChangeEvent::VALUE
  [AT-SPI] Implement proper accessibility for Slider
  [AT-SPI] Try auto-scrolling in GrabHighlight
  [AT-SPI] Override IsScrollable for Scrollable
  [AT-SPI] Support reading states and tooltips of ToggleButton
  [AT-SPI] Support gaining keyboard focus in TextField, TextEditor
  [AT-SPI] Allow two finger pan gesture
  [AT-SPI] Move setting highlightability property for controls to inheriting classes
  [AT-SPI] Make Accessible::GetName() fall back to actor name
  [AT-SPI] Fix role setting
  [AT-SPI] Squashed implementation

4 years agoMerge "[dali-toolkit]: add texteditor scrolling functionality" into devel/master
joogab yun [Fri, 30 Oct 2020 07:36:19 +0000 (07:36 +0000)]
Merge "[dali-toolkit]: add texteditor scrolling functionality" into devel/master

4 years agoBlend Equation Advanced Supporting 20/225320/33
Seungho, Baek [Wed, 19 Feb 2020 05:35:44 +0000 (14:35 +0900)]
Blend Equation Advanced Supporting

Change-Id: I5aef5144ea9672bf16b72f3fd034ba3d0786e82f
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
4 years agoEnsure AnimatedVectorImageVisual doesn't hang app 62/246462/1
David Steele [Thu, 29 Oct 2020 16:58:41 +0000 (16:58 +0000)]
Ensure AnimatedVectorImageVisual doesn't hang app

Currently, if the AnimatedVectorImageVisual is not destroyed
on Application::Terminate, e.g. if it's actor is kept alive,
then the shutdown order is undefined, and may end up
trying to pend on a mutex which has already been destroyed,
in the dali-extension plugin.

(TizenVectorAnimationManager, which creates the mutex, is a
singleton that is created when first needed, but stays alive
until main() completes)

Prevented the destructor from finalizing in the plugin if
core has already been shutdown.

Change-Id: I9fe547eab4dc3f3e5a4655f5c8dcf96bf664d7e3

4 years agoImprove asynchronous SVG loading performance 58/246158/11
huiyu.eun [Mon, 26 Oct 2020 06:26:33 +0000 (15:26 +0900)]
Improve asynchronous SVG loading performance

Change-Id: I9dc63a5d2a6dcc5e2790771be781e458d33d65fb
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years agoMerge "Dali-Text: Keyboard Shortcut (language layout independent)" into devel/master
joogab yun [Thu, 29 Oct 2020 03:30:49 +0000 (03:30 +0000)]
Merge "Dali-Text: Keyboard Shortcut (language layout independent)" into devel/master

4 years ago[dali-toolkit]: add texteditor scrolling functionality 73/245873/9
ali198724 [Sun, 18 Oct 2020 18:32:31 +0000 (21:32 +0300)]
[dali-toolkit]: add texteditor scrolling functionality

Add support for:
1- ScrollBy(Vector2)    function: scroll texteditor by horizontal,vertical amount
2- HorizontalScroll property: get/set horizontal scroll position
3- VerticalScrolll  property: get/set vertical scroll position

Change-Id: I42afa6fc0b6ce5911d084d8499c0277e716a1149

4 years agoDali-Text: Keyboard Shortcut (language layout independent) 39/244639/9
Ali Alzyod [Tue, 22 Sep 2020 16:37:38 +0000 (19:37 +0300)]
Dali-Text: Keyboard Shortcut (language layout independent)

Keyboard shortcuts like (CTRL+A) to select all text, will work regardless of keyboard language layout.

Before Change:
If keyboard language layout is Arabic, (CTRL+A) will not work.

After Change:
(CTRL+A) will work, regardless of language layout for keyboard.

Change-Id: I44708a85c9499dc54e0d36758f039c0907ee70a2

4 years agoUpdated patch-coverage.pl script 26/246126/1
David Steele [Fri, 23 Oct 2020 14:36:24 +0000 (15:36 +0100)]
Updated patch-coverage.pl script

Change-Id: If8394b2ababc4d6769b3ce04420c855778e0c4b5

4 years ago[AT-SPI] MERGING MARKER 34/244434/27
Artur Świgoń [Fri, 18 Sep 2020 09:40:13 +0000 (11:40 +0200)]
[AT-SPI] MERGING MARKER

This is the tip of the branch with AT-SPI commits to be merged into DALi.

Change-Id: I2df640e0d35dba4957afe53ad916ec9b460816aa