platform/core/uifw/dali-toolkit.git
6 months ago[Tizen] Fix ZWJ issue 53/300253/1 tizen_6.5
Bowon Ryu [Tue, 17 Oct 2023 06:36:03 +0000 (15:36 +0900)]
[Tizen] Fix ZWJ issue

Added ZWJ sequence to solve the issue of ZWJ not working.
this patch processes ZWJ as one sequnce.
and this condition has been merged with the previous emoji logic.

Added exception handling in editable environment.
Removed unnecessary variables related to emoji.

Change-Id: Id7825732d96c3e87a8c93b6c2e8d57e057eb7435
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 months ago[Tizen] Fix space font validation condition 46/288946/2
joogab.yun [Thu, 23 Feb 2023 09:38:06 +0000 (18:38 +0900)]
[Tizen] 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

6 months ago[Tizen] fix incorrect index range in emoji-helper 52/300252/1
Bowon Ryu [Thu, 23 Jun 2022 09:56:41 +0000 (18:56 +0900)]
[Tizen] 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>
11 months ago[Tizen] Fix initial white space issue in text 85/293085/1
Bowon Ryu [Fri, 19 May 2023 07:38:40 +0000 (16:38 +0900)]
[Tizen] Fix initial white space issue in text

Current logic does not send text and cursor position for initial white space to IME.
I don't know the exact history of this logic.
But in case of efl, it is sending information about initial white space to IME.
Change behavior for consistency.

Change-Id: I86bc7ecfece9f02c2eb670c3359efc31d79daabb
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
12 months ago[Tizen] Delete callback memory when rasterize callback not processed 48/291548/1 accepted/tizen_6.5_unified accepted/tizen/6.5/unified/20230517.090737 submit/tizen_6.5/20230418.081305
Eunki, Hong [Tue, 18 Apr 2023 03:52:06 +0000 (12:52 +0900)]
[Tizen] Delete callback memory when rasterize callback not processed

When Rasterize callback register into VectorAnimationManager, and
visual was destroyed, the callback base memory might not be deleted.

Change-Id: Ia2d09856e989ac29f8c39cd5cabb2af29d1ed80d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months ago[Tizen] Add Filter in InputFilter 43/285743/2
Bowon Ryu [Thu, 15 Dec 2022 06:33:30 +0000 (15:33 +0900)]
[Tizen] Add Filter in InputFilter

This patch enables filtering of strings from InsertText() by regex.

Change-Id: I1b28f0e24c782f94ee0453b1366d51ea08e45c36
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
14 months ago[Tizen] fix white space issue in hidden input 12/288912/1
Bowon Ryu [Tue, 29 Nov 2022 10:48:44 +0000 (19:48 +0900)]
[Tizen] fix white space issue in hidden input

The calculated text size is used in atlas renderer.
When the text is all white space, partial render issue occurs because the width is 0.
To avoid issue, do not remove the white space size in hidden input mode.

Change-Id: Id92becdb0103fa6dee20c5cd272ee3d4314121c6
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
14 months ago[Tizen] Fix hidden input issue 11/288911/1
Bowon Ryu [Thu, 24 Nov 2022 10:56:16 +0000 (19:56 +0900)]
[Tizen] Fix hidden input issue

Fixed issues with SHOW_LAST_CHARACTER mode
- After all text is deleted, the first input character is not visible.
- The last character is always visible regardless of the position of the cursor.

Change-Id: I48689bf7e38b05c655d416c4e2df1d4553dca992
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
14 months ago[Tizen] Fix multiline text size issue in label 86/288686/1
Bowon Ryu [Mon, 20 Feb 2023 06:38:25 +0000 (15:38 +0900)]
[Tizen] 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>
14 months ago[Tizen] Fix the valid condition of text update 85/288685/1
Bowon Ryu [Wed, 15 Feb 2023 08:21:19 +0000 (17:21 +0900)]
[Tizen] 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>
14 months ago[Tizen] Fix TextUpdateInfo::Clear() issue 84/288684/1
Bowon Ryu [Fri, 14 Oct 2022 02:43:59 +0000 (11:43 +0900)]
[Tizen] Fix TextUpdateInfo::Clear() issue

The Clear method sets (uint)mCharacterIndex to -1,
so it makes a maximum uint value.
This causes many problems, but since it was implemented,
all index logic is related to it, so it is difficult to fix.

This patch avoids this issue by backup/restore of mCharacterIndex like TextEditor.
But we should consider changing mCharacterIndex to an integer.

Change-Id: Ida2c2af83438e71f6f05713a7de927f7b15aa7bd
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
15 months ago[Tizen] Resolve textureInfo validation for some cases 57/287057/3 accepted/tizen/6.5/unified/20230121.141921 submit/tizen_6.5/20230119.074135
Eunki, Hong [Thu, 19 Jan 2023 07:01:42 +0000 (16:01 +0900)]
[Tizen] Resolve textureInfo validation for some cases

1. Alphamask image load failed
2. Multiply request same images during ResourceReady signal

Change-Id: Ib9dc71bca3487d51d60717ccac2f8b20c96b89b3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
20 months ago[Tizen] cleanup auto scroll in text label 07/280207/1 accepted/tizen/6.5/unified/20220831.133856 submit/tizen_6.5/20220831.054421
Bowon Ryu [Tue, 23 Aug 2022 23:15:20 +0000 (08:15 +0900)]
[Tizen] cleanup auto scroll in text label

1. fixed a bug where auto scroll did not work
when the property value changed after the label was disconnected from the scene

2. keep StopScrolling() depending only on TextScroller class properties as is

Change-Id: I6f92ded38f9c671787e72798cbc1602f9709f0df
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
20 months ago[Tizen] stop text scrolling when label is disconnected from scene 51/280051/1
Bowon Ryu [Sun, 21 Aug 2022 22:59:26 +0000 (07:59 +0900)]
[Tizen] stop text scrolling when label is disconnected from scene

Change-Id: I8909dc858467d85574310ba50c30ffa143b2eb8d
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
21 months ago[Tizen] Fix RemoveText issue in text controller 08/277708/1
Bowon Ryu [Tue, 12 Jul 2022 07:56:05 +0000 (16:56 +0900)]
[Tizen] 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: I5d790fbeccf5a8191417b96cacaa31e9a3d1bdf9
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
22 months ago[Tizen] fix incorrect calculaion of natural size in text 94/276394/1 accepted/tizen/6.5/unified/20220629.152606 submit/tizen_6.5/20220616.150849 submit/tizen_6.5/20220628.104132
Bowon Ryu [Thu, 16 Jun 2022 02:16:34 +0000 (11:16 +0900)]
[Tizen] 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: I7fd1bca412325772ddc24b3ab36753b82a08e7de
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
23 months agoMerge "[Tizen] Fix text AutoScroll ellipsis issue" into tizen_6.5
Bowon Ryu [Thu, 9 Jun 2022 10:29:00 +0000 (10:29 +0000)]
Merge "[Tizen] Fix text AutoScroll ellipsis issue" into tizen_6.5

23 months ago[Tizen] Resolve incorrect position for Ellipsis when mixed LTR & RTL languages and... 66/276066/1
ssabah [Sun, 5 Jun 2022 12:08:04 +0000 (15:08 +0300)]
[Tizen] 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: I6dc8fc429a80eb767bc65eace9ef356a7763c585

23 months ago[Tizen] Fix text AutoScroll ellipsis issue 93/275993/2
Bowon Ryu [Wed, 8 Jun 2022 05:57:57 +0000 (14:57 +0900)]
[Tizen] 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: I36707856c8fd1a077f2cc4f31d05678a28697b05
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
23 months ago[Tizen] Fix visual defect during text scroll 78/275878/1
Eunki, Hong [Thu, 2 Jun 2022 05:54:18 +0000 (14:54 +0900)]
[Tizen] Fix visual defect during text scroll

Change-Id: Idf9d2f3bbf08dcb0832b1493ce9c3526f12440ae
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[Tizen] Transfer uploadOnly flag to the core and update manager 78/274278/1 accepted/tizen/6.5/unified/20220513.142108 submit/tizen_6.5/20220512.140748 submit/tizen_6.5/20220513.051335 submit/tizen_6.5/20220513.083701
seungho [Mon, 18 Apr 2022 07:16:26 +0000 (16:16 +0900)]
[Tizen] Transfer uploadOnly flag to the core and update manager

Change-Id: I096fc8b2bac265e1aa78f5a45b439ec16d1d1b8e
Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years ago[Tizen] Fix the cache to load the correct texture 05/273105/4
sunghyun kim [Wed, 30 Mar 2022 08:57:07 +0000 (17:57 +0900)]
[Tizen] Fix the cache to load the correct texture

if new animated image visual use previous texture, textureId is not updated properly some case.
so invalid texture is loaded in AnimatedImageUploadComplete.
To solve this problem, i fix the cache to load the correct texture

Change-Id: Ie4c8154e7de5e2a0e91104458c898531df372df9

2 years ago[Tizen] Fix crash issue when animated image loading failed 41/273241/2
Eunki, Hong [Fri, 1 Apr 2022 03:40:10 +0000 (12:40 +0900)]
[Tizen] Fix crash issue when animated image loading failed

Change-Id: I052bbc7669d765b4fc21a6eb5ccaccead566875c
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "[Tizen] Fix the gif issue when ImageView uses SynchronosLoading" into tizen_6.5 accepted/tizen/6.5/unified/20220323.134113 submit/tizen_6.5/20220323.020202
sunghyun kim [Thu, 24 Feb 2022 07:02:54 +0000 (07:02 +0000)]
Merge "[Tizen] Fix the gif issue when ImageView uses SynchronosLoading" into tizen_6.5

2 years ago[Tizen] Fix the gif issue when ImageView uses SynchronosLoading 94/271094/4
tscholb [Tue, 15 Feb 2022 08:13:16 +0000 (17:13 +0900)]
[Tizen] Fix the gif issue when ImageView uses SynchronosLoading

when ImageView with gif used synchronosLoading, its animation stopped.
it is because image cache can't get probably imageCount.
so i fix them.

Change-Id: I56a54562ad99e40ca27e7cc47b0eee924414998f

2 years ago[Tizen] Fix webp issue 87/271487/6
sunghyun kim [Tue, 22 Feb 2022 05:13:01 +0000 (14:13 +0900)]
[Tizen] Fix webp issue

1. Change Fitting mode
- animated image visual use FIT_KEEP_ASPECT_RATIO by default, but image visual use FILL.
  i think we need to use same fitting mode by default.

2. use npatch in webp
- if webp use npatch, it need to be chage regular type

Change-Id: Ib29234e86d5d2efaa38dce9ef391a79a1065dd5d

2 years ago[Tizen] Fix issue when animated image loading fail 98/271598/2
Eunki, Hong [Wed, 23 Feb 2022 08:28:58 +0000 (17:28 +0900)]
[Tizen] Fix issue when animated image loading fail

Make works well if animate-image loading failed.

Previous behaviour make mFrameCount = 0.
And this can make many side effects.

This patch make fast-cut when loading failed.

Change-Id: Ia221ffba049e7f7b353b928d0d9c5caadeed5c8b
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[Tizen] For custom wheel events, event propagation starts from the focused actor. 46/271546/1 accepted/tizen/6.5/unified/20220223.132705 submit/tizen_6.5/20220223.022356
joogab.yun [Wed, 26 Jan 2022 06:59:56 +0000 (15:59 +0900)]
[Tizen] For custom wheel events, event propagation starts from the focused actor.

Previously, RotaryEvents could always be received only by window.
Now, User can receive Rotary Events in focused View as well.
It is also possible to propagate events to the parent view.

If there is no focused View, the window will receive the event.

This only applies to Rotary Event(CustomWheel type).

Change-Id: Ifc2f180246bb282efeb5094f970f38b0b76d8dad

2 years ago[Tizen] Caching cropToMask in texture manager 51/271151/4 submit/tizen_6.5/20220222.065506
tscholb [Mon, 14 Feb 2022 08:09:43 +0000 (17:09 +0900)]
[Tizen] Caching cropToMask in texture manager

cropToMask need to be cahing,
so i added this patch

Change-Id: I9efd84a1aa03b2050aed97071e123b9fec91167d

2 years ago[Tizen] Support YUV decoding for JPEG 35/270335/6 accepted/tizen/6.5/unified/20220218.152712 submit/tizen_6.5/20220217.044919
Heeyong Song [Fri, 28 Jan 2022 04:46:20 +0000 (13:46 +0900)]
[Tizen] Support YUV decoding for JPEG

Change-Id: Iea9312b49bc9e4d4d395dd53afde947c4e577d41

2 years ago[Tizen] Add forward and backward type for Tab, Shift-Tab key 80/270980/1
joogab.yun [Wed, 9 Feb 2022 02:01:31 +0000 (11:01 +0900)]
[Tizen] Add forward and backward type for  Tab, Shift-Tab key

Change-Id: I3f74f543463c776abf3f1d2a4b5e2ce856868fb4

2 years ago[Tizen] Add null check for currentFocusActor 67/270267/1
joogab.yun [Thu, 27 Jan 2022 06:44:28 +0000 (15:44 +0900)]
[Tizen] Add null check for currentFocusActor

 Integration::SceneHolder::Get(currentFocusActor);
it crashes if currentFocusActor is null.

Change-Id: Ia3d5f2e47060bd33ee691ebf36b5e0504b1a4a7d

2 years ago[Tizen] Fix nullptr issue when we use fixed image cache 38/269138/1 accepted/tizen/6.5/unified/20220113.123426 submit/tizen_6.5/20220113.015715
Eunki, Hong [Mon, 10 Jan 2022 09:18:45 +0000 (18:18 +0900)]
[Tizen] Fix nullptr issue when we use fixed image cache

Change-Id: I717ce37a32cd262dd3ce4f26f4a05639139b6792
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[Tizen] Add DesiredWidth/Height and samplingMode in animated image visual 29/268629/3 accepted/tizen/6.5/unified/20220104.122930 submit/tizen_6.5/20220103.151838
seungho [Tue, 28 Dec 2021 08:28:07 +0000 (17:28 +0900)]
[Tizen] Add DesiredWidth/Height and samplingMode in animated image visual

Change-Id: Icd2205738a6d9c7af0f2aa06c7887ac9ea85b576
Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years ago[Tizen] GPU Alpha Masking for Animated Image Visual 97/267997/15
seungho [Tue, 14 Dec 2021 08:20:09 +0000 (17:20 +0900)]
[Tizen] GPU Alpha Masking for Animated Image Visual

Change-Id: I1780deec4964ae76656fc83a23781870b07b180c
Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years ago[Tizen] CPU Alpha Masking for Animated Image Visual 36/267936/13
seungho [Mon, 13 Dec 2021 12:57:14 +0000 (21:57 +0900)]
[Tizen] CPU Alpha Masking for Animated Image Visual

Change-Id: Ia8b705570b0b9e9ad792c4c4f7863261ce66a5f4
Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years ago[Tizen] Refactoring Animated image visual 11/267311/26
seungho [Wed, 1 Dec 2021 08:20:05 +0000 (17:20 +0900)]
[Tizen] Refactoring Animated image visual

 - Animated image file will be opened when the visual is on scene.
 - Cache first frame only to cache single frame image as like image visual.
 - Pause timer when next frame is not cached yet. And resume it after the frame is ready.
 - Load policy and release policy is now supported.

Change-Id: I86548fc0d1952a70959f710a7005eb1d4b66624b
Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years agoRevert "[Tizen] Make do not support animated webp" 75/267675/6
seungho [Wed, 8 Dec 2021 11:47:13 +0000 (20:47 +0900)]
Revert "[Tizen] Make do not support animated webp"

This reverts commit e93aea3d5a3394addd4ce67b688c37f83407539c.

Change-Id: I109012c6b986515444a7614f1bd27f7468853aa2

2 years ago[Tizen] Set focusable to true when touched in default. 09/268609/1
huayong.xu [Mon, 27 Dec 2021 11:53:56 +0000 (19:53 +0800)]
[Tizen] Set focusable to true when touched in default.

- Applied to WebView class.

Change-Id: Ie9c333b5a0f760434a25d3519b8edee0c22bc6d1

2 years ago[Tizen] Fix text cursor position issue 42/268442/1
Bowon Ryu [Tue, 21 Dec 2021 11:10:38 +0000 (20:10 +0900)]
[Tizen] Fix text cursor position issue

When the size or direction of text is changed,
all decorator elements should be updated.

Change-Id: Ib2fb61f684801c5743762df67e8e6d53399c8098
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[Tizen] Changed GetNearestFocusableActor interface to receive rootActor 78/268078/1 accepted/tizen/6.5/unified/20211217.121947 submit/tizen_6.5/20211217.020153
joogab.yun [Tue, 14 Dec 2021 05:02:16 +0000 (14:02 +0900)]
[Tizen] Changed GetNearestFocusableActor interface to receive rootActor

Change-Id: I7994d630cc9544ae048d3fbb4415e393d9870b2b

2 years ago[Tizen] Scaledown image when visual is bigger than n-patch fixed length 50/267350/1 accepted/tizen/6.5/unified/20211212.212900 accepted/tizen/6.5/unified/20211213.212433 submit/tizen_6.5/20211209.112504 submit/tizen_6.5/20211213.025248
Eunki, Hong [Wed, 1 Dec 2021 12:02:20 +0000 (21:02 +0900)]
[Tizen] Scaledown image when visual is bigger than n-patch fixed length

When n-patch image's fixed length is bigger than visual size,
the visual's geometry breakdown.

This patch calculate good scales in vertex shader.

NOTE : We scaledown same rates both width and height. This action follow up CSS current action.

Change-Id: Ief2c6e6e2deb04dac36a1b9575e7bd620697d81d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[Tizen] Fix text relayouter update issue 46/267246/1
Bowon Ryu [Tue, 30 Nov 2021 03:07:36 +0000 (12:07 +0900)]
[Tizen] Fix text relayouter update issue

When the size of the text control is 0,
there is a issue that the mRequestedNumberOfCharacters becomes 0
even if the actural text exists.

This patch avoids this issue by updating mNumberOfCharactersToAdd
in textUpdateInfo in that situation.

Change-Id: I440b39f846aa7c9c410a1d121dae7b8a63b811ae
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[Tizen] Use default broken image when the url of custom broken is invalid 78/266978/10 accepted/tizen/6.5/unified/20211125.060620 accepted/tizen/6.5/unified/20211129.211953 submit/tizen_6.5/20211124.102337 submit/tizen_6.5/20211124.153736 submit/tizen_6.5/20211124.234723 submit/tizen_6.5/20211129.074532
tscholb [Tue, 23 Nov 2021 07:10:10 +0000 (16:10 +0900)]
[Tizen] Use default broken image when the url of custom broken is invalid

Change-Id: I21f33392f864996e8419715b40e66a5d16eccb6a

2 years ago[Tizen] Fix svace issue at text-controller-impl.h 21/267021/1
Eunki, Hong [Wed, 24 Nov 2021 07:48:15 +0000 (16:48 +0900)]
[Tizen] Fix svace issue at text-controller-impl.h

Minor fix

Change-Id: Ic1aa06bcd3ae296dae7782de1bd4a59e38c9e476
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[Tizen] Remove return; statement at fragment shader 10/266910/1 accepted/tizen/6.5/unified/20211123.213627 submit/tizen_6.5/20211122.092303
Eunki, Hong [Mon, 22 Nov 2021 09:09:18 +0000 (18:09 +0900)]
[Tizen] Remove return; statement at fragment shader

Some graphic driver doesn't support return statement at fragment shader's main.
This patch just avoid that case with same logic

Change-Id: I54ea6c9a880c8a8e64bc1128cc94856210face06
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[Tizen] Make do not support animated webp
dongsug.song [Mon, 22 Nov 2021 08:18:00 +0000 (17:18 +0900)]
[Tizen] Make do not support animated webp

This reverts commit 11175aae6b681a7996d7cdcc774926ce4426772c.

Change-Id: Ib482f2bee38cecf12d212f36f0fa9d07eca272e9

2 years agoMerge branch 'devel/master' into tizen_6.5
dongsug.song [Mon, 22 Nov 2021 08:17:41 +0000 (17:17 +0900)]
Merge branch 'devel/master' into tizen_6.5

Change-Id: I87779c57a002ee411d9777b03c443b174540c777

2 years agoRevert "[Tizen] Make do not support animated webp"
dongsug.song [Mon, 22 Nov 2021 08:17:29 +0000 (17:17 +0900)]
Revert "[Tizen] Make do not support animated webp"

This reverts commit fa49ea063652afb7d4d169d26cb3f2d7f9f07025.

2 years agoMerge "Add a callback to get textfitted font size." into devel/master
joogab yun [Mon, 22 Nov 2021 06:40:15 +0000 (06:40 +0000)]
Merge "Add a callback to get textfitted font size." into devel/master

2 years agoMerge "[AT-SPI] Support for hidden text added" into devel/master
Seoyeon Kim [Mon, 22 Nov 2021 05:17:43 +0000 (05:17 +0000)]
Merge "[AT-SPI] Support for hidden text added" into devel/master

2 years ago(TextController/ScrollView) Reduced LOC 50/266850/5
Adeel Kazmi [Fri, 19 Nov 2021 12:20:32 +0000 (12:20 +0000)]
(TextController/ScrollView) Reduced LOC

 - TextController - Moved some methods to the Impl class
 - TextControllerImpl - Moved a lot of functionality outside of the class
 - ScrollView - Added a class which handles the properties

Change-Id: I69127a9bc3dbd3e892f1fe0019cac9ad41fc2f3e

2 years agoRefactoring ImageVisualShaderFactory::GetShader 96/265996/8
Eunki, Hong [Wed, 3 Nov 2021 13:02:00 +0000 (22:02 +0900)]
Refactoring ImageVisualShaderFactory::GetShader

There are two Intention this patch
1. Clean up GetShader params
2. Allow that native image also use visual features (a.k.a. RoundedCorner + Borderline)

Change-Id: I8b0cbd0a4c7c622268c90d3cbbbd345ae83dfa07
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "(Text Controller) Moved some input properties into a different class & some...
Adeel Kazmi [Thu, 18 Nov 2021 18:32:21 +0000 (18:32 +0000)]
Merge "(Text Controller) Moved some input properties into a different class & some functionality into impl" into devel/master

2 years agoMerge "DALi Version 2.0.53" into devel/master
Adeel Kazmi [Thu, 18 Nov 2021 14:15:20 +0000 (14:15 +0000)]
Merge "DALi Version 2.0.53" into devel/master

2 years agoDALi Version 2.0.53 77/266777/1 dali_2.0.53
Richard [Thu, 18 Nov 2021 12:00:02 +0000 (12:00 +0000)]
DALi Version 2.0.53

Change-Id: I48308ed392eb944d51206b5b31307f0b99beb178

2 years ago(Text Controller) Moved some input properties into a different class & some functiona... 40/266340/2
Adeel Kazmi [Wed, 10 Nov 2021 21:17:38 +0000 (21:17 +0000)]
(Text Controller) Moved some input properties into a different class & some functionality into impl

Change-Id: I4d2cbd392d305ccd2ee31972df132713ff5cc19c

2 years ago[Tizen] Make do not support animated webp 55/266755/1
seungho [Thu, 18 Nov 2021 08:20:08 +0000 (17:20 +0900)]
[Tizen] Make do not support animated webp

 - Current WebP do not support cache even it is single frame static image
 - This patch temporarilly block to use animated webp so that any kind of webp file well be loaded by image visual when the case of ImageView.

Change-Id: Ie5a1000842a8a9b0c8cd5b9f469e2894b4c178f5
Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years agoMerge "Fix alignment issues with field and editor." into devel/master
joogab yun [Thu, 18 Nov 2021 06:21:55 +0000 (06:21 +0000)]
Merge "Fix alignment issues with field and editor." into devel/master

2 years agoMerge "Support Emoji sequences" into devel/master
Bowon Ryu [Thu, 18 Nov 2021 06:11:55 +0000 (06:11 +0000)]
Merge "Support Emoji sequences" into devel/master

2 years agoFix alignment issues with field and editor. 39/266739/2
joogab.yun [Thu, 18 Nov 2021 05:30:46 +0000 (14:30 +0900)]
Fix alignment issues with field and editor.

Change-Id: I4bf0c7dbad30ff74b6c5ed455db2f6b6f75b108d

2 years agoSupport Emoji sequences 47/266047/17
Shrouq Sabah [Wed, 3 Nov 2021 07:43:33 +0000 (09:43 +0200)]
Support Emoji sequences

This is a common solution that handles emoji sequences:
  :: text presentation sequence and selector
  :: emoji presentation sequence and selector
  :: emoji modifier sequence like skin tone
  :: emoji keycap sequence
  :: emoji flag sequence
  :: emoji tag sequence like England flag
  :: more cases in emoji zwj sequence like Rainbow Flag

This patch handle display cases.
The editing cases will be handled in another patch.

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

Change-Id: I1bc7aed8a73b1d396019b2ef0a7fab5ea187d39f

2 years agoAdd a callback to get textfitted font size. 56/266656/3
joogab.yun [Mon, 15 Nov 2021 02:21:54 +0000 (11:21 +0900)]
Add a callback to get textfitted font size.

Change-Id: I1aea1a5d5b03a27c89feb709d4877369c29290bb

2 years agoMerge branch 'devel/master' into tizen_6.5 submit/tizen_6.5/20211117.085954
Shinwoo Kim [Wed, 17 Nov 2021 03:59:25 +0000 (12:59 +0900)]
Merge branch 'devel/master' into tizen_6.5

2 years agoRevert "[Tizen] fixed ellipsis position with multi line"
Shinwoo Kim [Wed, 17 Nov 2021 03:59:14 +0000 (12:59 +0900)]
Revert "[Tizen] fixed ellipsis position with multi line"

This reverts commit b2fbd11ada7e982e200a1f29ced8192ff43bb578.

2 years ago[AT-SPI] Support for hidden text added 66/265666/34
Maria Bialota [Tue, 26 Oct 2021 17:43:01 +0000 (19:43 +0200)]
[AT-SPI] Support for hidden text added

- Modified AT-SPI API to not disclose the hidden text in returned values.
- Values returned instead are either empty string or replacement characters.

Change-Id: I6736a30ad70a45b77b0b4ac4b54c2a2c0072df25

2 years agoMerge "Fix: The last line of the text overlaps with the text-editor's border/edge...
Bowon Ryu [Tue, 16 Nov 2021 09:27:48 +0000 (09:27 +0000)]
Merge "Fix: The last line of the text overlaps with the text-editor's border/edge" into devel/master

2 years ago[Tizen] fixed ellipsis position with multi line 00/266600/1
joogab.yun [Mon, 15 Nov 2021 06:45:05 +0000 (15:45 +0900)]
[Tizen] fixed ellipsis position with multi line

Change-Id: I2b2e47c307dab38770717bf483e302097ddbcf38

2 years agofixed ellipsis position with multi line 93/266593/2
joogab.yun [Mon, 15 Nov 2021 06:45:05 +0000 (15:45 +0900)]
fixed ellipsis position with multi line

Change-Id: I2b2e47c307dab38770717bf483e302097ddbcf38

2 years agoMerge "[ATSPI] make ScrollToChild use descendant" into devel/master
Shinwoo Kim [Mon, 15 Nov 2021 11:40:56 +0000 (11:40 +0000)]
Merge "[ATSPI] make ScrollToChild use descendant" into devel/master

2 years agoDALi Version 2.0.52 79/266479/1 dali_2.0.52
Adeel Kazmi [Fri, 12 Nov 2021 10:48:36 +0000 (10:48 +0000)]
DALi Version 2.0.52

Change-Id: I263b610f85720c5f22ce490a17d4b05081f494df

2 years ago[ATSPI] make ScrollToChild use descendant 14/266414/2
Shinwoo Kim [Fri, 12 Nov 2021 01:46:10 +0000 (10:46 +0900)]
[ATSPI] make ScrollToChild use descendant

It is not make a child visible if the child is 1st generation child.
Usually the 1st generation child is content container.
So we need to use descendant.

This patch makes the CollectionView work with following change;
https://github.com/Samsung/TizenFX/pull/3726

We need to enhance this part and related places later.

Change-Id: I9e88312b7b1936909dc350cc1154f2a18e900748

2 years agoMerge "[ATSPI] Update accessibility-test-utils files" into devel/master
Seoyeon Kim [Wed, 10 Nov 2021 07:17:09 +0000 (07:17 +0000)]
Merge "[ATSPI] Update accessibility-test-utils files" into devel/master

2 years agoMerge "Adding theme for Raspberry Pi" into devel/master
David Steele [Tue, 9 Nov 2021 10:30:45 +0000 (10:30 +0000)]
Merge "Adding theme for Raspberry Pi" into devel/master

2 years agoMerge branch 'devel/master' into tizen_6.5 accepted/tizen/6.5/unified/20211111.115718 submit/tizen_6.5/20211111.075609
Taehyub Kim [Tue, 9 Nov 2021 03:24:48 +0000 (12:24 +0900)]
Merge branch 'devel/master' into tizen_6.5

Change-Id: I769c8eb3f4fedc938b04791a490cf6c571d02c25

2 years agoAdding theme for Raspberry Pi 64/266164/1
David Steele [Mon, 8 Nov 2021 15:22:02 +0000 (15:22 +0000)]
Adding theme for Raspberry Pi

Change-Id: I9abb4298532e3184e976fe4869598b5fd05c5d69

2 years agoFix alignment issues in backgroundActor. 59/266159/1
joogab.yun [Mon, 8 Nov 2021 10:35:45 +0000 (19:35 +0900)]
Fix alignment issues in backgroundActor.

Change-Id: I7fd58d1437a1118ab60568567e3613adcf0ab0c4

2 years agoMerge "CanvasView: Do ApplyNativeFragmentShader for NativeImage buffer" into devel...
junsu choi [Mon, 8 Nov 2021 05:45:50 +0000 (05:45 +0000)]
Merge "CanvasView: Do ApplyNativeFragmentShader for NativeImage buffer" into devel/master

2 years agoMerge "Support multiple transitions for a Control." into devel/master
Seungho BAEK [Mon, 8 Nov 2021 02:47:39 +0000 (02:47 +0000)]
Merge "Support multiple transitions for a Control." into devel/master

2 years ago[ATSPI] Update accessibility-test-utils files 79/265679/5
Seoyeon Kim [Wed, 27 Oct 2021 06:10:47 +0000 (15:10 +0900)]
[ATSPI] Update accessibility-test-utils files

- Set 'true' to Accessibility::Accessible::Get() for the first time

- This patch should be merged together with dali-adaptor one :
  https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/264762/

Change-Id: I95034fce30d391942d24d3a0be10d21f04bb64b6
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years agoSupport multiple transitions for a Control. 22/265822/6
seungho [Fri, 29 Oct 2021 07:04:54 +0000 (16:04 +0900)]
Support multiple transitions for a Control.

 - If a Control has multiple transitions, the Control must be hidden durring only the minimum delay of the transitions.
 - During delay time, the transitioned property of the Control will be set to the source value.

Change-Id: If158d01511b373edaad59b5e288bc33e5adde9bb
Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years agoMerge "DALi Version 2.0.51" into devel/master
Adeel Kazmi [Fri, 5 Nov 2021 10:49:37 +0000 (10:49 +0000)]
Merge "DALi Version 2.0.51" into devel/master

2 years agoDALi Version 2.0.51 82/266082/1 dali_2.0.51
Adeel Kazmi [Fri, 5 Nov 2021 10:44:12 +0000 (10:44 +0000)]
DALi Version 2.0.51

Change-Id: I657554cccea1b9c262bdd8dd60a04a459a523947

2 years agoMerge "Move ModelUpdating method outside of Text::Controller::Impl class to reduce...
Adeel Kazmi [Fri, 5 Nov 2021 09:57:57 +0000 (09:57 +0000)]
Merge "Move ModelUpdating method outside of Text::Controller::Impl class to reduce LOC" into devel/master

2 years agoMove ModelUpdating method outside of Text::Controller::Impl class to reduce LOC 48/266048/1
Adeel Kazmi [Thu, 4 Nov 2021 18:19:06 +0000 (18:19 +0000)]
Move ModelUpdating method outside of Text::Controller::Impl class to reduce LOC

Change-Id: Id4e4c47793b3e37ef999b0014403d3d30f2b77e8

2 years agoFix text visual issue 04/266004/3
Heeyong Song [Thu, 4 Nov 2021 02:21:04 +0000 (11:21 +0900)]
Fix text visual issue

uTextColorAnimatable property should always be registered.

Change-Id: I3ffbccc896f6abe4665a6f133b5be22df64df043

2 years agoMerge "Fix text constraint issue" into devel/master
Heeyong Song [Wed, 3 Nov 2021 05:27:34 +0000 (05:27 +0000)]
Merge "Fix text constraint issue" into devel/master

2 years agoCanvasView: Do ApplyNativeFragmentShader for NativeImage buffer 74/265874/3
JunsuChoi [Mon, 1 Nov 2021 06:52:20 +0000 (15:52 +0900)]
CanvasView: Do ApplyNativeFragmentShader for NativeImage buffer

Change-Id: I916af0c85333a53d8c22063522c53c010d503b21

2 years agoMerge branch 'devel/master' into tizen_6.5
tscholb [Mon, 1 Nov 2021 08:49:16 +0000 (17:49 +0900)]
Merge branch 'devel/master' into tizen_6.5

Change-Id: I06e4a1c0a63bdd1ef377f45081eb6fb6fc94b4b9

2 years agoRevert "[Tizen] Support to use NPatchImage in brokenImage"
tscholb [Mon, 1 Nov 2021 08:49:02 +0000 (17:49 +0900)]
Revert "[Tizen] Support to use NPatchImage in brokenImage"

This reverts commit bc3933c59153f3e59d22222941be39e5e6551e31.

Change-Id: Id22fd9e81d67f8672df88661a6fdc09dee893605

2 years agoRevert "[Tizen] Fix ZWJ, ZWNJ issues"
tscholb [Mon, 1 Nov 2021 08:48:53 +0000 (17:48 +0900)]
Revert "[Tizen] Fix ZWJ, ZWNJ issues"

This reverts commit a995feabfdceed564876ae754c14d571b02285c7.

Change-Id: I63aeaf1e495be649b6e49771eddfb63bf4ae80a9

2 years agoFix text constraint issue 65/265865/2
Heeyong Song [Mon, 1 Nov 2021 05:54:57 +0000 (14:54 +0900)]
Fix text constraint issue

Not to create new Constraints when the visual is added to the Scene again

Change-Id: I19d30064d9f8cd08ca500a5ad2dee17b4b775b5a

2 years agoRefactored text editor/field to reduce loc 46/265846/1
David Steele [Fri, 29 Oct 2021 13:18:26 +0000 (14:18 +0100)]
Refactored text editor/field to reduce loc

Change-Id: I408f8931071c6c4464ba3dafb00e36311d01379c
Signed-off-by: David Steele <david.steele@samsung.com>
2 years agoRefactored text field/editor property getters/setters 96/265796/2
David Steele [Thu, 28 Oct 2021 18:18:58 +0000 (19:18 +0100)]
Refactored text field/editor property getters/setters

Change-Id: Iab27acf2f198af060d3eee398b9874116ff7e562

2 years agoDALi Version 2.0.50 30/265830/1 dali_2.0.50
David Steele [Fri, 29 Oct 2021 09:06:01 +0000 (10:06 +0100)]
DALi Version 2.0.50

Change-Id: I7a4514833e041b15e4f638009762739f913e187a

2 years ago[Tizen] Fix ZWJ, ZWNJ issues 78/265778/1
Bowon Ryu [Fri, 1 Oct 2021 04:20:55 +0000 (13:20 +0900)]
[Tizen] Fix ZWJ, ZWNJ issues

Current font load logic classifies ZWJ, ZWNJ as COMMON script.
This interrupts them from being combined into one emoji in the EMOJI + ZWJ + EMOJI case.

This patch treats ZWJ, ZWNJ as EMOJI script in this case,
so that they can be loaded with the same color emoji font.

Please refer the example below.
The expected result is to be combined into one emoji character due to ZWJ.
But the actual result is 3 characters rendered.

// example
TextLabel label = TextLabel::New("&#x1f469;&#x200d;&#x1f52c;");

Change-Id: Ic8e921ffcb63c27638afe781527b5c6b90aa92b1
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years agoCanvasView: Refactoring to get rasterized buffer 19/265519/7
JunsuChoi [Thu, 21 Oct 2021 08:46:12 +0000 (17:46 +0900)]
CanvasView: Refactoring to get rasterized buffer

When the rasterized buffer is fetched after the task is rasterized,
it is received as a texture, not as pixel data.
This makes the buffer in dali-adaptor not dependent on whether
to use NativeImageQueue's tbm_surface or PixelData.

Change-Id: I80338ea2454847ce88a8f79fa67e38a842cf67f2

2 years agoMerge "(TextController) Reformatted to reduce LOC" into devel/master
Adeel Kazmi [Tue, 26 Oct 2021 18:53:23 +0000 (18:53 +0000)]
Merge "(TextController) Reformatted to reduce LOC" into devel/master

2 years agoMerge "Fix numeric error on BLUR_RADIUS" into devel/master
Adeel Kazmi [Tue, 26 Oct 2021 15:11:18 +0000 (15:11 +0000)]
Merge "Fix numeric error on BLUR_RADIUS" into devel/master

2 years ago(TextController) Reformatted to reduce LOC 47/265547/3
Adeel Kazmi [Thu, 21 Oct 2021 22:32:31 +0000 (23:32 +0100)]
(TextController) Reformatted to reduce LOC

Change-Id: Idaf7745fb13fa60864fa6f1dd39c1558a8d942f1