platform/core/uifw/dali-adaptor.git
2 years ago[AT-SPI] Clean up event emission code for BridgeObject 74/268774/8
Artur Świgoń [Fri, 31 Dec 2021 12:55:40 +0000 (13:55 +0100)]
[AT-SPI] Clean up event emission code for BridgeObject

1. Ensure early return if !IsUp() or IsHidden().
2. Use a map to convert C++ names to DBus names.

Change-Id: Iab0548c0561d9db0224ef81815a87b7d1aa012d7

2 years ago[AT-SPI] Filter out hidden children 72/268672/9
Artur Świgoń [Wed, 29 Dec 2021 07:57:51 +0000 (08:57 +0100)]
[AT-SPI] Filter out hidden children

Change-Id: Idfd44364ed26258616711ef9ed786eef1d860c60

2 years agoMerge "[AT-SPI] Rework children handling in ActorAccessible" into devel/master
Seoyeon Kim [Tue, 18 Jan 2022 08:09:06 +0000 (08:09 +0000)]
Merge "[AT-SPI] Rework children handling in ActorAccessible" into devel/master

2 years agoChange method names of GlWindow 53/268653/2
Daekwang Ryu [Tue, 28 Dec 2021 05:40:48 +0000 (14:40 +0900)]
Change method names of GlWindow

It copies from GlView.

Change-Id: I7b26e752a0efd972b24e785aa2e661f5674bb132

2 years agoDALi Version 2.1.5 65/269465/1 dali_2.1.5
David Steele [Fri, 14 Jan 2022 15:40:29 +0000 (15:40 +0000)]
DALi Version 2.1.5

Change-Id: I776ecec92051be11c681f2a393051dea91f647fd

2 years ago[AT-SPI] Rework children handling in ActorAccessible 71/268671/8
Artur Świgoń [Wed, 29 Dec 2021 07:57:50 +0000 (08:57 +0100)]
[AT-SPI] Rework children handling in ActorAccessible

This patch reorganizes the children-related methods in ActorAccessible.
A few methods are also marked 'final' to prevent overriding in derived
classes. A new overridable method, DoGetChildren() is provided instead,
to offer a simple and bulletproof mechanism for derived classes to
customize the children to be reported in the AT-SPI tree (possibly
including non-ActorAccessible objects).

Change-Id: I0c34c3493091c108e94aa140f883f012aea347f6

2 years agoMerge "Add a callback for navigation policy in web engine." into devel/master
Seoyeon Kim [Tue, 11 Jan 2022 06:45:13 +0000 (06:45 +0000)]
Merge "Add a callback for navigation policy in web engine." into devel/master

2 years agoMerge "Revert "Change to latest wayland inputmethod protocol"" into devel/master
Daekwang Ryu [Mon, 10 Jan 2022 23:57:41 +0000 (23:57 +0000)]
Merge "Revert "Change to latest wayland inputmethod protocol"" into devel/master

2 years agoRevert "Change to latest wayland inputmethod protocol" 53/269153/2
Daekwang Ryu [Mon, 10 Jan 2022 12:21:18 +0000 (12:21 +0000)]
Revert "Change to latest wayland inputmethod protocol"

This reverts commit a011cb5ffb818680944c1e6c7cb7a77e9a0739d0.

Reason for revert: It cuases build fail from the dali build server. because the target image isn't created with the new wayland protocol

Change-Id: I2ffa27d9d160e213feb8ae115481efc5a0fd92bf

2 years agoMerge "Change to latest wayland inputmethod protocol" into devel/master
Daekwang Ryu [Mon, 10 Jan 2022 06:08:37 +0000 (06:08 +0000)]
Merge "Change to latest wayland inputmethod protocol" into devel/master

2 years agoMerge "Fix CommandPool reallocation bugs" into devel/master
Adeel Kazmi [Sat, 8 Jan 2022 05:51:50 +0000 (05:51 +0000)]
Merge "Fix CommandPool reallocation bugs" into devel/master

2 years agoDALi Version 2.1.4 88/269088/1 dali_2.1.4
Adam Bialogonski [Fri, 7 Jan 2022 10:05:36 +0000 (10:05 +0000)]
DALi Version 2.1.4

Change-Id: I1999ba331e94b62c83ca5c89ba741aef89021330

2 years agoChange to latest wayland inputmethod protocol 28/269028/1
Daekwang Ryu [Thu, 6 Jan 2022 06:06:58 +0000 (15:06 +0900)]
Change to latest wayland inputmethod protocol

refer to
https://review.tizen.org/gerrit/#/c/platform/core/uifw/wayland-extension/+/266078/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/wayland-extension/+/266733/

Change-Id: I5baa59ab0b4cfdd282e7a4cec13e25fc7cfa081d

2 years agoMerge "[ATSPI] do not make window hidden when bridge removes top level window" into...
Shinwoo Kim [Thu, 6 Jan 2022 07:02:30 +0000 (07:02 +0000)]
Merge "[ATSPI] do not make window hidden when bridge removes top level window" into devel/master

2 years ago[ATSPI] do not make window hidden when bridge removes top level window 80/268980/4
Shinwoo Kim [Thu, 6 Jan 2022 01:02:18 +0000 (10:02 +0900)]
[ATSPI] do not make window hidden when bridge removes top level window

OnAccessibilityDisabled > RemoveTopLevelWindow > WindowHidden
makes mIsShown become FALSE

After this point, if the Accessibility is Enabled then the Bridge
does not call EmitActivate in ForceUp because mIsShown is FALSE by
RemoveTopLevelWindow > WindowHidden (mentioned above)

I cannot find any reason calling WindowHidden in RemoveTopLevelWindow
Please refer to following patch

ttps://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/264762/8/dali/internal/accessibility/bridge/bridge-base.cpp@277

Change-Id: I6ebf2e4b94ff00867950047591539e8c8bc96c3a

2 years agoFix CommandPool reallocation bugs 45/268645/3
Eunki, Hong [Tue, 28 Dec 2021 10:49:36 +0000 (19:49 +0900)]
Fix CommandPool reallocation bugs

When fixedCapacity is > 0 and data.size() == fixedCapacity,
There was some logical bugs when data.size() == offset + count.

We can hold 'data.size()'`s data, and after Allocate(count),
we will hold 'offset + count'`s data.
So we should reallocate only data.size() < offset + count.

+

Furthermore, We just set default Command Pool Increment as 32kb exactly.
Previous code increase 32 * sizeof(Command) kb = 2MB for each command pool.

Change-Id: I5e845839057bc75c40c275e884b7677fe2c4d812
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[AT-SPI] Add Accessible::IsHidden() 18/266918/10
Artur Świgoń [Mon, 22 Nov 2021 10:04:37 +0000 (11:04 +0100)]
[AT-SPI] Add Accessible::IsHidden()

Hidden means not present in the AT-SPI tree.

Change-Id: Ic6f51ae6fde88828c482adc6966c57d8bc1d805f

2 years ago[AT-SPI] Add ActorAccessible 55/267455/7
Artur Świgoń [Fri, 3 Dec 2021 12:45:05 +0000 (13:45 +0100)]
[AT-SPI] Add ActorAccessible

This change adds a new ActorAccessible class as a common ancestor for
both AdaptorAccessible and ControlAccessible. This will allow to reduce
code duplication between dali-adaptor and dali-toolkit. There are no
significant changes to methods moved from AdaptorAccessible to
ActorAccessible, as they will be reworked in a later change.

Change-Id: I61fb8c6610e761cd8d49f8cf67f61af35cfe8dda

2 years agoMerge "[ATSPI] recover ForceUp failure" into devel/master
Shinwoo Kim [Mon, 27 Dec 2021 01:55:14 +0000 (01:55 +0000)]
Merge "[ATSPI] recover ForceUp failure" into devel/master

2 years ago[ATSPI] recover ForceUp failure 23/268323/3
Shinwoo Kim [Mon, 20 Dec 2021 10:14:19 +0000 (19:14 +0900)]
[ATSPI] recover ForceUp failure

It is able to be failed at ForceUp.
We did throw an exception if bridge cannot get a11y dbus-daemon address.
There is no proper way to handle this exception on application side.
So we need to recover the failure of ForceUp with this patch set.

Change-Id: I7f58c2fa3283bf6855d58a545ace9acb38252bb8

2 years ago[AT-SPI] Clean up AT-SPI interfaces 54/267454/6
Artur Świgoń [Fri, 3 Dec 2021 17:39:33 +0000 (18:39 +0100)]
[AT-SPI] Clean up AT-SPI interfaces

This patch adds a `const` qualifier to most getter methods across all
AT-SPI interfaces, with the exception of those that return an
`Accessible*`, since these objects are by nature mutable (i.e. exposed
on DBus for external manipulation, and DBus does not have const
objects), and there is always a possibility to return to `this` with the
`const` cast away, e.g. GetParent()->GetChildAtIndex(i).

There are also some other minor changes like a `noexcept` qualifier for
`~Accessible`, the `EditableText` interface now implying `Text`, and a
data-driven `GetRoleName` in `Accessible`.

Change-Id: I2ab0bb451f188fe0bd6dbd47c4aa0bad56624b42

2 years agoAdd a callback for navigation policy in web engine. 16/268416/1
huayong.xu [Wed, 22 Dec 2021 12:11:27 +0000 (20:11 +0800)]
Add a callback for navigation policy in web engine.

Change-Id: Ia8858c98e29d4f9de59c81d78a1007fdb1295dc8

2 years ago[AT-SPI] Use a std::shared_ptr for Bridge 35/268335/2
Artur Świgoń [Mon, 20 Dec 2021 13:44:06 +0000 (14:44 +0100)]
[AT-SPI] Use a std::shared_ptr for Bridge

BridgeImpl was constructed with an unpaired `new`, causing a memory
leak. Using a smart pointer guarantees that the memory will be freed at
the end of application lifetime.

Change-Id: Ib983d600cda082fa68e87c7d67130770acb78bef

2 years agoMerge "[AT-SPI] Split accessibility-impl.h" into devel/master
Lukasz Oleksak [Fri, 17 Dec 2021 14:36:06 +0000 (14:36 +0000)]
Merge "[AT-SPI] Split accessibility-impl.h" into devel/master

2 years agoDALi Version 2.1.3 22/268222/1 dali_2.1.3
Adeel Kazmi [Fri, 17 Dec 2021 06:58:40 +0000 (06:58 +0000)]
DALi Version 2.1.3

Change-Id: Ib89ba13662a31013a7f8e01552aaddfd7c7c9a16

2 years ago[AT-SPI] Split accessibility-impl.h 53/267453/5
Artur Świgoń [Fri, 3 Dec 2021 15:35:25 +0000 (16:35 +0100)]
[AT-SPI] Split accessibility-impl.h

Every AT-SPI interface now resides in a separate header file. There are
no major changes besides moving code between files and making necessary
adjustments to #include statements.

Change-Id: If693012e7babc63518d9d314d27e534497f7014b

2 years ago[ATSPI] ignore ScreenReaderEnabled property on suppress mode 39/267839/5
Shinwoo Kim [Fri, 10 Dec 2021 08:42:21 +0000 (17:42 +0900)]
[ATSPI] ignore ScreenReaderEnabled property on suppress mode

The 'suppress' mode means that we do not want screen-reader working
for our ATSPI related event. In this case, it would be better NOT to
enable ATSPI bridge.

So far we have used 'suppress-screen-reader' attribute. But sometimes
GetAttributes does not work with following error message.

"get attribute error: Did not receive a reply. Possible causes include:
 the remote application did not send a reply, the message bus security
 policy blocked the reply, the reply timeout expired, or the network
 connection was broken."

We could handle this case, but the best is NOT to send unnecessary
ATSPI events.

The screen-reader should turning on ScreenReaderEnabled property only
The ATSPI bridge will be enabled, when IsEnabled property is set by
another AT client such as Aurum.

Change-Id: I529ae8cc29594915b20c23279371a6488d11ea2d

2 years agoMerge "Fix RenderTarget and RenderPass doesn't destroy issue" into devel/master
Adeel Kazmi [Wed, 15 Dec 2021 14:06:49 +0000 (14:06 +0000)]
Merge "Fix RenderTarget and RenderPass doesn't destroy issue" into devel/master

2 years agoFix RenderTarget and RenderPass doesn't destroy issue 23/267923/5
Eunki, Hong [Mon, 13 Dec 2021 09:03:42 +0000 (18:03 +0900)]
Fix RenderTarget and RenderPass doesn't destroy issue

When we create and delete windows repeatly,
previous code doesn't release the memory of
GLES::RenderTarget and GLES::RenderPass.

And cause GLES::~RenderTarget not called,
graphics controller just stack suface infomations
in mSurfaceContexts.

This patch implement the 'TODO' codes so fix the memory issue.

Change-Id: Iebb87a4d4662e8f6c418690950ef46ca09b63d58
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[ATSPI] Fix for DefaultLabel 21/267321/10
Lukasz Oleksak [Wed, 1 Dec 2021 11:48:17 +0000 (12:48 +0100)]
[ATSPI] Fix for DefaultLabel

Previously the call to GetDefaultLabelInfo() was delegated by bridge to
the corresponding Accessible object which computed the reply locally (by default returned self).
However default labels should be managed globally within given application.

This patch:

* replaces existing API AddPopup()/RemovePopup() by RegisterDefaultLabel()/UnregisterDefaultLabel()
  which has wider applicability (not only for popups)
* changes the logic of GetDefaultLabelInfo() to compute default label object globally

Related patches:
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/267323/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/267375/

Change-Id: I68ccaf55835109139ba00e2204fcdfcf2627d403

2 years agoMerge "Fix emoji vertical alignment issue" into devel/master
Bowon Ryu [Mon, 13 Dec 2021 02:16:04 +0000 (02:16 +0000)]
Merge "Fix emoji vertical alignment issue" into devel/master

2 years agoMerge "DALi Version 2.1.2" into devel/master
David Steele [Fri, 10 Dec 2021 12:04:12 +0000 (12:04 +0000)]
Merge "DALi Version 2.1.2" into devel/master

2 years agoDALi Version 2.1.2 51/267851/1 dali_2.1.2
Richard Huang [Fri, 10 Dec 2021 11:58:37 +0000 (11:58 +0000)]
DALi Version 2.1.2

Change-Id: Id939e1c72f97e2a4e681b0811e225987b942fb28

2 years ago[ATSPI] reduce initialization attempts 20/267720/2
Shinwoo Kim [Thu, 9 Dec 2021 06:46:16 +0000 (15:46 +0900)]
[ATSPI] reduce initialization attempts

The at-spi-bus-launcher cannot reponse immediately on booting time.
So there were lots of error logs can overwrite other logs.
This patch is reducing attempt to initialize bridge and read properties.

Change-Id: I546cc71c7e05b7d494a02b4ce73e16f96a8ef707

2 years agoFix emoji vertical alignment issue 79/267379/3
Bowon Ryu [Thu, 2 Dec 2021 10:03:22 +0000 (19:03 +0900)]
Fix emoji vertical alignment issue

This patch uses ascender, descender, yBearing of font metrics to ensure that
the emoji is placed on the proper baseline when it is with a plain text glyphs.

Change-Id: I9b80e84820299c95da824eac286b98dbc40ed014
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years agoMerge "[AT-SPI] Fix not working screen reader when rerunning it" into devel/master
Seoyeon Kim [Wed, 8 Dec 2021 01:48:41 +0000 (01:48 +0000)]
Merge "[AT-SPI] Fix not working screen reader when rerunning it" into devel/master

2 years agoCanvasRenderer: Set initial value of the viewBox to be same as Size. 06/267506/2
JunsuChoi [Mon, 6 Dec 2021 08:46:38 +0000 (17:46 +0900)]
CanvasRenderer: Set initial value of the viewBox to be same as Size.

If the CanvasRenderer's viewBox is not declared, the value will be Vector2::ZERO.
Even if mSize is changed, the size of the drawables does not change. This is not the intended result.
Therefore, depending on the size, the drawables are always modified to be affected by the mSize.

Change-Id: I7ff09282e53c194401bc5e3fc7d6b90fdc379d37

2 years ago[AT-SPI] Fix not working screen reader when rerunning it 92/267192/4
Seoyeon Kim [Mon, 29 Nov 2021 08:02:20 +0000 (17:02 +0900)]
[AT-SPI] Fix not working screen reader when rerunning it

[Reproduce Steps]
 1. Screen Reader ON
 2. Run any application
 3. Turn Screen Reader OFF
 4. Turn Screen Reader ON

- It is caused by NULL windowAccessible which is returned
 by following function used by EmitActivate()
 Dali::Accessibility::Accessible* GetWindowAccessible(Dali::Window window)

- Connected Enabled / Disabled signals to Window
 so that Window can add and remove itself from bridge
 when the state of bridge changes.

Change-Id: I3bdebedd7bf4f9017d24b72999412a0f70cfd24b
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years agoMerge "CanvasRenderer: Update tvgRoot" into devel/master
junsu choi [Mon, 6 Dec 2021 03:50:50 +0000 (03:50 +0000)]
Merge "CanvasRenderer: Update tvgRoot" into devel/master

2 years agoMerge "DALi Version 2.1.1" into devel/master
David Steele [Fri, 3 Dec 2021 14:03:57 +0000 (14:03 +0000)]
Merge "DALi Version 2.1.1" into devel/master

2 years agoDALi Version 2.1.1 38/267438/1 dali_2.1.1
David Steele [Fri, 3 Dec 2021 13:57:31 +0000 (13:57 +0000)]
DALi Version 2.1.1

Change-Id: I6ab625e063624fc4cf23b550813ade2ade8f5b8d

2 years agoCanvasRenderer: Update tvgRoot 30/267430/1
JunsuChoi [Fri, 3 Dec 2021 09:49:24 +0000 (18:49 +0900)]
CanvasRenderer: Update tvgRoot

Before setting the target buffer, the push to the root is completed,
so the buffer is set and the root should be updated.

Change-Id: I0ffe524aa60a05086960d0fd349e7816b9a97d95

2 years ago[AT-SPI] Added support for menu item count listing 13/267113/8
Maria Bialota [Thu, 25 Nov 2021 18:52:06 +0000 (19:52 +0100)]
[AT-SPI] Added support for menu item count listing

Change-Id: Ic1fd8fc8404614c09d8d35bf630dbc45406ebb92

2 years agoFix build error when enable_debug flag is enabled. 98/267198/1
Wonsik Jung [Mon, 29 Nov 2021 09:10:09 +0000 (18:10 +0900)]
Fix build error when enable_debug flag is enabled.

When enable_debug flag is enable, one build error occurs.
It is to fix that.

Change-Id: Ifc9f49a39097852d81c23be42492850f3e634fc7

2 years agoMerge "DALi Version 2.1.0" into devel/master
Adeel Kazmi [Fri, 26 Nov 2021 09:28:47 +0000 (09:28 +0000)]
Merge "DALi Version 2.1.0" into devel/master

2 years agoDALi Version 2.1.0 45/267145/1 dali_2.1.0
Adam Bialogonski [Fri, 26 Nov 2021 08:41:03 +0000 (08:41 +0000)]
DALi Version 2.1.0

Change-Id: Ib0d4e71580673fb2650e27c378589fda2da87705

2 years agoRevert "Adjust the yBearing value of the emoji." 18/267118/1
joogab.yun [Fri, 26 Nov 2021 01:31:12 +0000 (10:31 +0900)]
Revert "Adjust the yBearing value of the emoji."

This reverts commit a932dd3114e4dd69aed3a3760b7ca13ea9226a58.

Change-Id: I06bd63c9999326db1fb448a30ad8fb6d3b402bca

2 years agoMerge "[ATSPI] Hypertext and Hyperlink interface support - dbus glue-code" into devel...
Seoyeon Kim [Tue, 23 Nov 2021 08:59:20 +0000 (08:59 +0000)]
Merge "[ATSPI] Hypertext and Hyperlink interface support - dbus glue-code" into devel/master

2 years agoMerge "[ATSPI] make NotifyAccessibilityStateChange work" into devel/master
Shinwoo Kim [Tue, 23 Nov 2021 07:31:25 +0000 (07:31 +0000)]
Merge "[ATSPI] make NotifyAccessibilityStateChange work" into devel/master

2 years ago[ATSPI] Hypertext and Hyperlink interface support - dbus glue-code 58/263758/17
Lukasz Oleksak [Thu, 9 Sep 2021 10:26:42 +0000 (12:26 +0200)]
[ATSPI] Hypertext and Hyperlink interface support - dbus glue-code

Change-Id: I76987be672b6fba5c994b909973385f4defdeef8

2 years agoMerge "Add auxiliary message for window" into devel/master
Wonsik Jung [Sun, 21 Nov 2021 23:54:59 +0000 (23:54 +0000)]
Merge "Add auxiliary message for window" into devel/master

2 years ago[ATSPI] make NotifyAccessibilityStateChange work 74/266774/3
Shinwoo Kim [Thu, 18 Nov 2021 11:25:03 +0000 (20:25 +0900)]
[ATSPI] make NotifyAccessibilityStateChange work

The NotifyAccessibilityStateChange did not work correctly.
Because "currentState.size()" return 2 always.
And following line set newValue to 1 always.

  data->mBridge->EmitStateChanged(this, index, 1, 0);

The NotifyAccessibilityStateChange was totally incorrect.

Change-Id: If897084dc5b12b1c92711ef752187cc82fd7b01b

2 years ago(Partial update) Fix clipping area issue during window rotation 68/266768/2
Eunki, Hong [Thu, 18 Nov 2021 10:07:53 +0000 (19:07 +0900)]
(Partial update) Fix clipping area issue during window rotation

When window rotation events come from ecore, the result will be stored
at mPositionSize, and send event message to render thread.

But when the event is not comes to render thread,
the window's size value (mPositionSize) and
the scene's size value (scene.GetCurrentSurfaceRect()) mismatched
So the clippingRect will calculate wrong value.

This patch make clipping area always use current scene surface

Change-Id: Id70fd2819b84314db5ef441512a7e042da1b1c81
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoAdd auxiliary message for window 98/266098/7
Wonsik Jung [Sun, 7 Nov 2021 07:38:02 +0000 (16:38 +0900)]
Add auxiliary message for window

Auxiliary message is sent by display server.
When client application added the window's auxiliary hint and if the auxiliary is changed,
display server send the auxiliary message.
Auxiliary message has the key, value and options.

Change-Id: I128cefc8b678fe239a74615f114a8e2611e2fc71

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

2 years agoDALi Version 2.0.53 76/266776/1 dali_2.0.53
Richard [Thu, 18 Nov 2021 11:59:57 +0000 (11:59 +0000)]
DALi Version 2.0.53

Change-Id: I710b9afe73a24e72e22c73bb9ea84c3e5e0be1a5

2 years agoMerge "Add set of APIs for emoji-character-properties" into devel/master
Bowon Ryu [Thu, 18 Nov 2021 06:11:49 +0000 (06:11 +0000)]
Merge "Add set of APIs for emoji-character-properties" into devel/master

2 years agoMerge "Adjust the yBearing value of the emoji." into devel/master
joogab yun [Thu, 18 Nov 2021 01:12:28 +0000 (01:12 +0000)]
Merge "Adjust the yBearing value of the emoji." into devel/master

2 years agoAdd set of APIs for emoji-character-properties 46/266046/8
Shrouq Sabah [Wed, 3 Nov 2021 07:39:47 +0000 (09:39 +0200)]
Add set of APIs for emoji-character-properties

defined-characters.h contains set of the defined unicodes
emoji-character-properties.h/cpp contains set of the for emoji-data and properties

Change-Id: I42eb6d580a8803ddb90b1b0cc4a0fa9fbe2fdc33

2 years agoAdd mutex to the Adaptor 36/266336/2
Heeyong Song [Wed, 10 Nov 2021 15:25:21 +0000 (00:25 +0900)]
Add mutex to the Adaptor

Prevent the main thread and the update thread from accessing the
mWindows at the same time

Change-Id: I3ab8e9565b37165451468771d89967493a27985b

2 years agoMerge "Fixed SVACE error in dbus.h" into devel/master
David Steele [Fri, 12 Nov 2021 11:40:22 +0000 (11:40 +0000)]
Merge "Fixed SVACE error in dbus.h" into devel/master

2 years agoMerge "DALi Version 2.0.52" into devel/master
David Steele [Fri, 12 Nov 2021 10:57:14 +0000 (10:57 +0000)]
Merge "DALi Version 2.0.52" into devel/master

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

Change-Id: Icb448b98b43d41f6386fe2f862bafeda34f754e6

2 years agoFixed SVACE error in dbus.h 72/266472/1
Adeel Kazmi [Fri, 12 Nov 2021 10:11:49 +0000 (10:11 +0000)]
Fixed SVACE error in dbus.h

Change-Id: I4316bb3d1332d5459b6e02676fb9af28933ef954

2 years agoFix build error of native-image-source-impl 84/266384/2
seungho [Thu, 11 Nov 2021 08:23:35 +0000 (17:23 +0900)]
Fix build error of native-image-source-impl

 - When we build dali-adaptor with gbs debug mode, native-image-source-impl-tizen requires "include <memory>".
 - And also, this patch remove unnecessary header in the native-image-source-impl-x and adds "include <memory>" too.

Change-Id: I571f84b015e8d356cc5611e241e4ee0db5de43c5
Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years agoMerge "[AT-SPI] Add Bridge::{Enabled,Disabled}Signal()" into devel/master
Seoyeon Kim [Thu, 11 Nov 2021 02:19:50 +0000 (02:19 +0000)]
Merge "[AT-SPI] Add Bridge::{Enabled,Disabled}Signal()" into devel/master

2 years ago[ATSPI] Read property in Async way 13/265913/5
Shinwoo Kim [Mon, 1 Nov 2021 11:45:53 +0000 (20:45 +0900)]
[ATSPI] Read property in Async way

An application could launch and read a property before at-spi-bus-launcher
is running. The at-spi-bus-launcher is a process writing the property.
If the application reads the property in syncronous way, then it is waiting
until the at-spi-bus-launcher can respond.

For the performance reason we will not read properties in syncronous way.

Change-Id: I0c7f33b25f99d37d57c67bca48e2e617ab5b1b1a

2 years agoMerge "[ATSPI] Apply multi-window to ATSPI" into devel/master
Seoyeon Kim [Wed, 10 Nov 2021 07:17:03 +0000 (07:17 +0000)]
Merge "[ATSPI] Apply multi-window to ATSPI" into devel/master

2 years agoMerge "Resolve memory issues of webp" into devel/master
Seungho BAEK [Wed, 10 Nov 2021 04:13:06 +0000 (04:13 +0000)]
Merge "Resolve memory issues of webp" into devel/master

2 years ago[AT-SPI] Add Bridge::{Enabled,Disabled}Signal() 49/266049/2
Artur Świgoń [Thu, 4 Nov 2021 19:11:39 +0000 (20:11 +0100)]
[AT-SPI] Add Bridge::{Enabled,Disabled}Signal()

These signals are emitted whenever the AT-SPI bridge is turned on or
off. Note that `EnabledSignal` is only emitted for the first `ForceUp`
call, i.e. the one that returns `ForceUpResult::JUST_STARTED` (and
a similar story for `DisabledSignal`).

These signals are necessarily static members of `Bridge`, to guarantee
that they are delivered to consumers even in those use cases in which
the object returned by `GetCurrentBridge()` changes during the lifetime
of the application.

Change-Id: Id266b7ed064b8b2690e093804c3f7d23ac4347ce

2 years agoCanvasRenderer: Use stride instead of width 69/266169/2
JunsuChoi [Tue, 9 Nov 2021 00:53:59 +0000 (09:53 +0900)]
CanvasRenderer: Use stride instead of width

Change-Id: I65f53d502dc1ddd2beaf5017f37eacb31055075f

2 years ago[ATSPI] Apply multi-window to ATSPI 62/264762/10
Seoyeon Kim [Wed, 29 Sep 2021 08:19:15 +0000 (17:19 +0900)]
[ATSPI] Apply multi-window to ATSPI

- Updated ATSPI codes to tell which window is visible or focused now.
- DevelWindow::VisibilityChangedSignal is used to check
  whether the window is shown or not.
- Added Window::FocusChangeSignal to check whether the window is
activated.

 1. Window show / hide -> object:state-chaged:showing
 2. Window focus / unfocus -> WindowEvent::ACTIVATE

Change-Id: I38a6f8f67c303234857a57e8d812511942a95917
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years agoMerge "CanvasRenderer: Remove unnecessary condition" into devel/master
junsu choi [Mon, 8 Nov 2021 05:45:47 +0000 (05:45 +0000)]
Merge "CanvasRenderer: Remove unnecessary condition" into devel/master

2 years agoCanvasRenderer: Remove unnecessary condition 16/266116/1
JunsuChoi [Mon, 8 Nov 2021 05:42:50 +0000 (14:42 +0900)]
CanvasRenderer: Remove unnecessary condition

Change-Id: I043134ab226ac2d2b6de45d09427524fa5a8cdb2

2 years agoMerge "CanvasRenderer: Use NativeImageSourceQueue in Tizen profile" into devel/master
junsu choi [Mon, 8 Nov 2021 05:39:02 +0000 (05:39 +0000)]
Merge "CanvasRenderer: Use NativeImageSourceQueue in Tizen profile" into devel/master

2 years agoCanvasRenderer: Use NativeImageSourceQueue in Tizen profile 14/265814/6
JunsuChoi [Fri, 29 Oct 2021 06:05:19 +0000 (15:05 +0900)]
CanvasRenderer: Use NativeImageSourceQueue in Tizen profile

For performance, instead of PixelData

Change-Id: Ia20e249a271ba9ea9cbf91bc020b18ce194c4260

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

Change-Id: Id5858458411f40046ea5340938599f690a2c0199

2 years agoResolve memory issues of webp 00/266000/4
Seungho Baek [Wed, 3 Nov 2021 14:21:43 +0000 (23:21 +0900)]
Resolve memory issues of webp

 - If an webp is loaded by image-visual, the image-visual loads only the first frame and renders.
 - So, after the first frame is loaded, the opened file should be closed.
 - And if a single frame webp is loaded by animated-image-visual, we don't keep the buffer until the loader is deleted.

Change-Id: Ibbee0b5e410edeb49593648975e19eeb82e929f8
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
2 years agoAdjust the yBearing value of the emoji. 11/266011/1
joogab.yun [Thu, 4 Nov 2021 04:21:10 +0000 (13:21 +0900)]
Adjust the yBearing value of the emoji.

Change-Id: Ie3491ba85ede1cc56e5315ce0a44b9c4f6dcc159

3 years agoMerge "[ATSPI] Add more descriptions to Bridge objects" into devel/master
Seoyeon Kim [Mon, 1 Nov 2021 01:51:52 +0000 (01:51 +0000)]
Merge "[ATSPI] Add more descriptions to Bridge objects" into devel/master

3 years agoMerge "Refactored font-client-plugin-impl" into devel/master
David Steele [Fri, 29 Oct 2021 11:07:43 +0000 (11:07 +0000)]
Merge "Refactored font-client-plugin-impl" into devel/master

3 years agoMerge "Moved font client plugin to new folder" into devel/master
David Steele [Fri, 29 Oct 2021 11:04:43 +0000 (11:04 +0000)]
Merge "Moved font client plugin to new folder" into devel/master

3 years agoMerge "Reduced font client debug logging" into devel/master
David Steele [Fri, 29 Oct 2021 11:04:22 +0000 (11:04 +0000)]
Merge "Reduced font client debug logging" into devel/master

3 years agoDALi Version 2.0.50 29/265829/1 dali_2.0.50
David Steele [Fri, 29 Oct 2021 09:05:56 +0000 (10:05 +0100)]
DALi Version 2.0.50

Change-Id: I55e26c05d5a508d521394d9412e5d609e8b45444

3 years agoRefactored font-client-plugin-impl 18/265718/3
David Steele [Wed, 27 Oct 2021 12:17:54 +0000 (13:17 +0100)]
Refactored font-client-plugin-impl

Refactored cached item structs into separate classes
with own methods.

FontFaceCacheItem   <|--- FontCacheItemInterface
BitmapFontCacheItem <|-+

This simplifies a lot of the hidden type lookup within the plugin
code. There is some scope for integrating EmbeddedItem into this
interface as well.

Change-Id: I7370355ff307f9aef7b19e2bbb6ed2225e7e92b6
Signed-off-by: David Steele <david.steele@samsung.com>
3 years ago[ATSPI] Add more descriptions to Bridge objects 61/264861/4
Seoyeon Kim [Fri, 1 Oct 2021 08:29:00 +0000 (17:29 +0900)]
[ATSPI] Add more descriptions to Bridge objects

- Added descriptions of the remaining Bridge classes.
- Updated some bridge codes according to dali coding style.

Change-Id: Icf1c9d5968b3397ee7a869ec2ba312037c5d3c56
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years agoMoved font client plugin to new folder 17/265717/2
David Steele [Wed, 27 Oct 2021 11:35:41 +0000 (12:35 +0100)]
Moved font client plugin to new folder

Moved font client helper & font client utility methods into
font-client-utils.cpp/h.

Change-Id: Idd57ddc426f1a85ce296b009e18d33c72bf0f587
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoReduced font client debug logging 16/265716/2
David Steele [Tue, 26 Oct 2021 15:04:21 +0000 (16:04 +0100)]
Reduced font client debug logging

Change-Id: Ia46c0a82692693771d3af467e19926b81f781d15

3 years agoCanvasRenderer: Refactoring to pass rasterized buffer 20/265520/4
JunsuChoi [Thu, 21 Oct 2021 08:47:04 +0000 (17:47 +0900)]
CanvasRenderer: Refactoring to pass rasterized buffer

This makes the buffer not dependent on whether
to use NativeImageQueue's tbm_surface or PixelData.
After this work, we can make a patch using NativeImageQueue for the tizen profile.

This patch is related to https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/265519/.

Change-Id: Ib29c0fb1364bc958852af9ec4a9da4baf5b4248e

3 years agoMerge "DALi Version 2.0.49" into devel/master
Adeel Kazmi [Fri, 22 Oct 2021 11:25:41 +0000 (11:25 +0000)]
Merge "DALi Version 2.0.49" into devel/master

3 years agoMerge "[ATSPI] Sort children using middle line" into devel/master
Shinwoo Kim [Fri, 22 Oct 2021 10:48:07 +0000 (10:48 +0000)]
Merge "[ATSPI] Sort children using middle line" into devel/master

3 years agoDALi Version 2.0.49 80/265580/1 dali_2.0.49
Adam Bialogonski [Fri, 22 Oct 2021 10:24:59 +0000 (11:24 +0100)]
DALi Version 2.0.49

Change-Id: Ib217805a284b84737aad2ad2782d66baa8d3e41c

3 years agoFix LogMessage format to print Filename / Functioname / Line 39/265539/3
Eunki, Hong [Thu, 21 Oct 2021 13:38:42 +0000 (22:38 +0900)]
Fix LogMessage format to print Filename / Functioname / Line

Add LogMessageDlogFormat macro to apply these informations :
Filename: Function(Line#) > "messages"

Previous LogMessage function always print like this
logging-tizen.cpp: LogMessage(38) > "messages"
So we fix to print actual informations

Default LogMessage(~~) will be used when someone don't need to follow up
Dlog format. (like ttrace and perfomance logger)

Change-Id: Ib54b6ad2dd904dffa3d5e705b9209790850e779d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years agoMerge "Support to get the rect value to recalulate with the default system coordinate...
Wonsik Jung [Thu, 21 Oct 2021 23:29:37 +0000 (23:29 +0000)]
Merge "Support to get the rect value to recalulate with the default system coordinates." into devel/master

3 years ago[ATSPI] Sort children using middle line 62/265362/4
Shinwoo Kim [Fri, 15 Oct 2021 09:32:54 +0000 (18:32 +0900)]
[ATSPI] Sort children using middle line

So far, it has been judged that thye are on different lines
if the "y" value of child A is less than "y + 0.25 * h" value of child B.
But it caused unwanted children order in following case.

 [(class=ContentPage)],[0,0,720,1280]
     [(class=AppBar)],[0,0,720,120]
         [(class=Button)],[64,36,48,48]
         [(class=TextLabel)],[136,0,300,120],[NUI Tizen Gallery]
         [(class=Control)],[476,0,180,120]

The order should be "Button" > "TextLabel".

Change-Id: Icb11cf1fb63de7a5cea8fbf7697cabdf5a5179eb

3 years agoSupport to get the rect value to recalulate with the default system coordinates. 87/265087/7
Wonsik Jung [Fri, 8 Oct 2021 10:53:46 +0000 (19:53 +0900)]
Support to get the rect value to recalulate with the default system coordinates.

Some native window APIs ask the geometry value based on the default system coordinates.
when the surface is rotated, current window's geometry already were set with the rotated angle.
So, re-calculation is needed.

Change-Id: I3b6de8acffefc9e5939a801be9badd8f608d8a98

3 years agoMerge "Reset gPreInitializedApplication to reduce reference count" into devel/master
Heeyong Song [Wed, 20 Oct 2021 01:50:27 +0000 (01:50 +0000)]
Merge "Reset gPreInitializedApplication to reduce reference count" into devel/master

3 years agoSupports to acknowledge for completing window rotation 95/262895/22
Wonsik Jung [Mon, 23 Aug 2021 07:04:29 +0000 (16:04 +0900)]
Supports to acknowledge for completing  window rotation

It is waited the window rotation completing until a view finishes to draw.
The view is drawn on the other thread.
It means asychronous rendering occurs between dali render thread and the other thread when window is rotated.

Change-Id: I6bc0fc45337f7972cf2d2bdc7f1a53c3a3710cf3

3 years agoReset gPreInitializedApplication to reduce reference count 86/265286/2
Heeyong Song [Thu, 14 Oct 2021 05:33:58 +0000 (14:33 +0900)]
Reset gPreInitializedApplication to reduce reference count

Change-Id: I50f1140a90569a7c7be419346438e50a3874305d

3 years ago(Partial update) Change calculation of damaged rects 00/265200/4
Heeyong Song [Tue, 12 Oct 2021 14:46:29 +0000 (23:46 +0900)]
(Partial update) Change calculation of damaged rects

Separate the empty damaged rect case and the full damaged rect case

Change-Id: I6f515504f95b32c0d1a01b3851ecbc2044020a05