platform/core/uifw/dali-csharp-binder.git
2 years agoAdd error log when Delegate size mismatched 34/275634/3
Eunki, Hong [Fri, 27 May 2022 11:25:16 +0000 (20:25 +0900)]
Add error log when Delegate size mismatched

There was some strange crash issue occured.
For more helpful debug, add one dlog in dali area.

Change-Id: I060bdd09e941c2583bbc849ebbb2995a7b957499
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoAutomate code intent 88/275588/6
Eunki, Hong [Thu, 26 May 2022 16:52:04 +0000 (01:52 +0900)]
Automate code intent

Some files didn't follow dali coding style.
Due to this broken window, some other additional codes also
didn't follow dali coding style.

Let's fix broken window.

Change-Id: I0d96f08d73237292083f2c1bfd84b2443126eae1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "Add text selection popup style" into devel/master
Bowon Ryu [Mon, 23 May 2022 05:11:57 +0000 (05:11 +0000)]
Merge "Add text selection popup style" into devel/master

2 years agoMerge "DALi Version 2.1.23" into devel/master
Adeel Kazmi [Fri, 20 May 2022 12:26:41 +0000 (12:26 +0000)]
Merge "DALi Version 2.1.23" into devel/master

2 years agoDALi Version 2.1.23 14/275314/1 dali_2.1.23
Adam Bialogonski [Fri, 20 May 2022 10:16:41 +0000 (11:16 +0100)]
DALi Version 2.1.23

Change-Id: I7586ad4578ff184c9b103073ef3f6b8d1fa0a4e5

2 years agoMerge "[AT-SPI] Rework bindings for GetAccessibilityRelations()" into devel/master
Artur Świgoń [Fri, 20 May 2022 07:12:43 +0000 (07:12 +0000)]
Merge "[AT-SPI] Rework bindings for GetAccessibilityRelations()" into devel/master

2 years ago[AT-SPI] Rework bindings for GetAccessibilityRelations() 34/275034/3
Artur Świgoń [Fri, 13 May 2022 11:51:29 +0000 (13:51 +0200)]
[AT-SPI] Rework bindings for GetAccessibilityRelations()

With the relation target type changed from Address to Accessible* in
dali-adaptor and dali-toolkit, the result of GetAccessibilityRelations()
can be converted to a mapping from RelationType to Control (View), to
make this API more useful in NUI, in which there are no Accessible
objects, and Address objects are totally useless. Address and
AddressCollection are also removed from NUI.

Change-Id: Ic32ffc559dcf94608a35b89e7e8fdcc82204d89f

2 years agoAdd text selection popup style 00/275000/4
Bowon Ryu [Fri, 13 May 2022 07:39:19 +0000 (16:39 +0900)]
Add text selection popup style

Change-Id: I7a629bb6f45acd43e43d76f127b1ebc3c8633d8d
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[AT-SPI] Remove ShouldReportZeroChildren() 67/275067/3
Artur Świgoń [Mon, 16 May 2022 08:02:59 +0000 (10:02 +0200)]
[AT-SPI] Remove ShouldReportZeroChildren()

This method originated as a hack to cut the AT-SPI tree at a specific
node in the case of compound controls (i.e. composed of multiple views
overlaid on top of each other), so that there is only one leaf node
(instead of a subtree) for Button, Slider, etc.

However, the AccessibilityHidden property was introduced to allow for
controlling which nodes should be removed from the AT-SPI tree, and has
since become the recommended solution over ShouldReportZeroChildren(),
because the latter is less flexible ("all-or-nothing" approach) and
itself requires a hack in dali-csharp-binder to make sure the highlight
frame actor is never removed from the tree.

Change-Id: I761bfaf207e76a23962dcaa0b6c604a163cf8fe5

2 years agoDALi Version 2.1.22 22/275022/1 dali_2.1.22
Richard Huang [Fri, 13 May 2022 11:01:41 +0000 (12:01 +0100)]
DALi Version 2.1.22

Change-Id: If210f64f89018d1ac8dffbbe8b640d54383869e0

2 years ago[AT-SPI] Set ToolkitName to "nui(dali)" 38/274738/1
Artur Świgoń [Fri, 6 May 2022 16:13:49 +0000 (18:13 +0200)]
[AT-SPI] Set ToolkitName to "nui(dali)"

If at least one View is created, then SetAccessibilityDelegate is called
(by the static constructor of View). In such case, the toolkit name
reported to AT-SPI clients should be "nui(dali)" instead of "dali".

Change-Id: Iee4cc8e9e1e402c84bf92c98187c6a0b9a1fa0b3

2 years agoDALi Version 2.1.21 15/274715/1 dali_2.1.21
David Steele [Fri, 6 May 2022 11:37:29 +0000 (12:37 +0100)]
DALi Version 2.1.21

Change-Id: I38bc7edfd735567b85da0c7e26719f3c476e472c

2 years agoBiding SetFocusFinderRootActor and ResetFocusFinderRootActor 24/274424/4
joogab.yun [Thu, 28 Apr 2022 07:09:07 +0000 (16:09 +0900)]
Biding SetFocusFinderRootActor and ResetFocusFinderRootActor

Change-Id: Icf61e4b65c5adc7a7b22795e2141c75ad94ff456

2 years agoMerge "DALi Version 2.1.20" into devel/master
Adeel Kazmi [Fri, 29 Apr 2022 12:22:54 +0000 (12:22 +0000)]
Merge "DALi Version 2.1.20" into devel/master

2 years agoDALi Version 2.1.20 03/274503/1 dali_2.1.20
Adam Bialogonski [Fri, 29 Apr 2022 09:53:15 +0000 (10:53 +0100)]
DALi Version 2.1.20

Change-Id: Ie8f0ece40f8c2f1d91d1da3a86c0fda0e16ac84d

2 years agoAdd to get the status whether window is rotating or not 78/274378/1
Wonsik Jung [Tue, 18 Jan 2022 06:07:43 +0000 (15:07 +0900)]
Add to get the status whether window is rotating or not

Add to getter api of winow rotation stauts.
When window is rotating, the getter api will return true.
Otherwise false.

Change-Id: I56cdcf59dcb84fd21cba4ceb4d1272c2126b9f21

2 years agoMerge "drag and drop: add drag source events binding codes" into devel/master
Taehyub Kim [Mon, 25 Apr 2022 09:03:05 +0000 (09:03 +0000)]
Merge "drag and drop: add drag source events binding codes" into devel/master

2 years agoMerge "Add RelativeLineSize in TextLabel, TextEditor" into devel/master
Bowon Ryu [Mon, 25 Apr 2022 02:50:46 +0000 (02:50 +0000)]
Merge "Add RelativeLineSize in TextLabel, TextEditor" into devel/master

2 years agoDALi Version 2.1.19 88/274188/1 dali_2.1.19
Adeel Kazmi [Fri, 22 Apr 2022 12:54:48 +0000 (13:54 +0100)]
DALi Version 2.1.19

Change-Id: I25cf0fdb209760883df98082f24fa9fd5d8b6c12

2 years agodrag and drop: add drag source events binding codes 73/274173/1
Taehyub Kim [Fri, 22 Apr 2022 10:07:11 +0000 (19:07 +0900)]
drag and drop: add drag source events binding codes

Change-Id: I948d2a1d87180c9a4ec34be518d0ebdc7109c47a

2 years agoFix SuggestedMinimumWidth/Height to calculate required size correctly 89/274089/1
Jaehyun Cho [Thu, 21 Apr 2022 05:59:23 +0000 (14:59 +0900)]
Fix SuggestedMinimumWidth/Height to calculate required size correctly

SuggestedMinimumWidth/Height returns the minimum width and height of a
view required in a layout.

Previously, SuggestedMinimumWidth/Height used GetWidthForHeight and
GetHeightForWidth to calculate the minimum width and height of a view
although width/height were not dependent on height/width.
e.g.
if naturalSize.width = 0 and naturalSize.height = 100,
then SuggestedMinimumHeight would be 0 instead of 100.

Now, SuggestedMinimumWidth/Height uses GetWidthForHeight and
GetHeightforWidth only if width/height are dependent on height/width.

Change-Id: Ib65522b8e5399278b57a8866ad548e4d2be61469

2 years agoAdd RelativeLineSize in TextLabel, TextEditor 14/274014/1
Bowon Ryu [Wed, 20 Apr 2022 04:59:00 +0000 (13:59 +0900)]
Add RelativeLineSize in TextLabel, TextEditor

Change-Id: Iaad864a4117a90a5df9fdc99e66157fa0a920518
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years agoMerge "[AT-SPI] Window: add highlight signal" into devel/master
Shinwoo Kim [Fri, 15 Apr 2022 04:50:16 +0000 (04:50 +0000)]
Merge "[AT-SPI] Window: add highlight signal" into devel/master

2 years ago[AT-SPI] Window: add highlight signal 82/273682/3
Shinwoo Kim [Tue, 12 Apr 2022 08:18:41 +0000 (17:18 +0900)]
[AT-SPI] Window: add highlight signal

The Window will highlight itself on NUI side.
The GrabHighlight emits the Highlight signal.

Change-Id: I4bf321ecc99ab07d29b1f527884c0d7c0def84c0

2 years agoDALi Version 2.1.18 44/273844/1 dali_2.1.18
Richard Huang [Thu, 14 Apr 2022 10:35:45 +0000 (11:35 +0100)]
DALi Version 2.1.18

Change-Id: I557a536671da6d79c6b315b0e5c1317d85a1583f

2 years agoMerge "Added GlView::BackendMode to the NUI/C# binder" into devel/master
Adeel Kazmi [Fri, 8 Apr 2022 14:00:46 +0000 (14:00 +0000)]
Merge "Added GlView::BackendMode to the NUI/C# binder" into devel/master

2 years agoMerge "DALi Version 2.1.17" into devel/master
David Steele [Fri, 8 Apr 2022 12:01:46 +0000 (12:01 +0000)]
Merge "DALi Version 2.1.17" into devel/master

2 years agoDALi Version 2.1.17 06/273606/1 dali_2.1.17
David Steele [Fri, 8 Apr 2022 11:54:55 +0000 (12:54 +0100)]
DALi Version 2.1.17

Change-Id: I15db6a71285a42f4af351328eaf2589ff0af0732

2 years agoAdded GlView::BackendMode to the NUI/C# binder 21/273421/4
Adam Bialogonski [Tue, 5 Apr 2022 11:41:53 +0000 (12:41 +0100)]
Added GlView::BackendMode to the NUI/C# binder

Change-Id: Ice65b25c7dea663692d9741eb3489d5956ae7b7c

2 years agoAdd vertical alignment in text editor 82/273582/1
Bowon Ryu [Fri, 8 Apr 2022 03:42:19 +0000 (12:42 +0900)]
Add vertical alignment in text editor

Change-Id: I46d761b1ca9d78d0d1443494d345d9b824f5ef55
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years agoMerge "DALi Version 2.1.16" into devel/master
David Steele [Fri, 1 Apr 2022 12:07:59 +0000 (12:07 +0000)]
Merge "DALi Version 2.1.16" into devel/master

2 years agoDALi Version 2.1.16 72/273272/1 dali_2.1.16
Adam Bialogonski [Fri, 1 Apr 2022 11:51:59 +0000 (12:51 +0100)]
DALi Version 2.1.16

Change-Id: Ia47acd080c355c6c220b9028209f0c7b67da49b9

2 years agoMerge "[AT-SPI] Introduce AtspiEvents" into devel/master
Shinwoo Kim [Fri, 1 Apr 2022 07:06:35 +0000 (07:06 +0000)]
Merge "[AT-SPI] Introduce AtspiEvents" into devel/master

2 years agoMerge "[AT-SPI] Add ScreenReaderEnabled, Disabled" into devel/master
Shinwoo Kim [Mon, 28 Mar 2022 08:10:17 +0000 (08:10 +0000)]
Merge "[AT-SPI] Add ScreenReaderEnabled, Disabled" into devel/master

2 years agoDALi Version 2.1.15 51/272851/1 dali_2.1.15
Adeel Kazmi [Fri, 25 Mar 2022 10:57:24 +0000 (10:57 +0000)]
DALi Version 2.1.15

Change-Id: Ida0cd9cab5d3b6fcca1bd9a218cc9d2388e12554

2 years ago[AT-SPI] Introduce AtspiEvents 94/272794/1
Shinwoo Kim [Thu, 24 Mar 2022 10:26:41 +0000 (19:26 +0900)]
[AT-SPI] Introduce AtspiEvents

The AtspiEvents can be used for the event mask to suppress
specific event.

This is the second version to provide AtspiEvents.
The first version is
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/272185/

Dependency:
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/272184/

Change-Id: I04bf662b48799c60c46917931cb25057ea996dd7

2 years agoMerge "Remove element of Property::Map by the specified key." into devel/master
Adeel Kazmi [Tue, 22 Mar 2022 15:17:52 +0000 (15:17 +0000)]
Merge "Remove element of Property::Map by the specified key." into devel/master

2 years ago[AT-SPI] Add ScreenReaderEnabled, Disabled 49/272349/2
Shinwoo Kim [Tue, 15 Mar 2022 06:42:16 +0000 (15:42 +0900)]
[AT-SPI] Add ScreenReaderEnabled, Disabled

ScreenReaderEnabled should be distinguished from IsEnabled.
This is because there are things to do only when the screen reader is enabled.

Dependency:
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/272348/

Change-Id: I45b3527bf7f487152c382237993496c21d135296

2 years agoMerge "Add API for consuming keyEvent in Widget" into devel/master
sunghyun kim [Mon, 21 Mar 2022 07:32:35 +0000 (07:32 +0000)]
Merge "Add API for consuming keyEvent in Widget" into devel/master

2 years agoMerge "Add clockwise and countClockwise type" into devel/master
joogab yun [Mon, 21 Mar 2022 00:57:49 +0000 (00:57 +0000)]
Merge "Add clockwise and countClockwise type" into devel/master

2 years agoMerge "Add deviceName to GetNextFocusableView() in CustomFocusAlgorithm." into devel...
joogab yun [Mon, 21 Mar 2022 00:57:28 +0000 (00:57 +0000)]
Merge "Add deviceName to GetNextFocusableView() in CustomFocusAlgorithm." into devel/master

2 years agoDALi Version 2.1.14 45/272545/1 dali_2.1.14
Richard Huang [Fri, 18 Mar 2022 11:23:48 +0000 (11:23 +0000)]
DALi Version 2.1.14

Change-Id: I5accdd74ebbe5971c7f9db3559efc44c0f304c62

2 years agoMerge "Add UserInteractionEnabled Property on Actor Wrap." into devel/master
SangHyeon Lee [Thu, 17 Mar 2022 10:46:49 +0000 (10:46 +0000)]
Merge "Add UserInteractionEnabled Property on Actor Wrap." into devel/master

2 years agoRemove element of Property::Map by the specified key. 47/272447/4
huayong.xu [Thu, 17 Mar 2022 02:38:47 +0000 (10:38 +0800)]
Remove element of Property::Map by the specified key.

Change-Id: Ia35d0390b67e3c00b3edc2ef511d01e818607479

2 years ago[AT-SPI] Remove SetAccessibilityConstructor() 69/271269/3
Artur Świgoń [Mon, 14 Mar 2022 14:56:50 +0000 (15:56 +0100)]
[AT-SPI] Remove SetAccessibilityConstructor()

A related dali-toolkit patch removes this function. An override for
CreateAccessibleObject() is provided instead. Unlike in other
repositories, no explicit assignment of ACCESSIBILITY_ROLE is needed,
because that is always done in C# for NUI controls.

Change-Id: I1481aa46c3849e72a0dbec9ae51d932220777665

2 years agoMerge "[AT-SPI] Remove interops for SetAccessibilityConstructor()" into devel/master
Artur Świgoń [Tue, 15 Mar 2022 09:51:17 +0000 (09:51 +0000)]
Merge "[AT-SPI] Remove interops for SetAccessibilityConstructor()" into devel/master

2 years agoMerge "Add a Hit-Test result events." into devel/master
joogab yun [Tue, 15 Mar 2022 04:07:19 +0000 (04:07 +0000)]
Merge "Add a Hit-Test result events." into devel/master

2 years agoMerge "[AT-SPI] Add a header file for NUIViewAccessible" into devel/master
Seoyeon Kim [Mon, 14 Mar 2022 05:42:10 +0000 (05:42 +0000)]
Merge "[AT-SPI] Add a header file for NUIViewAccessible" into devel/master

2 years agoMerge "[AT-SPI] Rename accessible-impl-nui.cpp to nui-view-accessible.cpp" into devel...
Seoyeon Kim [Mon, 14 Mar 2022 05:19:19 +0000 (05:19 +0000)]
Merge "[AT-SPI] Rename accessible-impl-nui.cpp to nui-view-accessible.cpp" into devel/master

2 years ago[AT-SPI] Remove interops for SetAccessibilityConstructor() 10/272010/6
Artur Świgoń [Fri, 4 Mar 2022 15:33:40 +0000 (16:33 +0100)]
[AT-SPI] Remove interops for SetAccessibilityConstructor()

The method name SetAccessibilityConstructor() in NUI has always been
misleading, because it actually never had an 'accessibilityConstructor'
parameter in the first place. With the recent addition of bindings for
Accessible::GetInterfaces(), all NUI controls use the same Accessible
implementation (NUIViewAccessible) anyway.

Change-Id: I582d32d6cb0aa5705d156d3ea398f76935f85572

2 years agoMerge "DALi Version 2.1.13" into devel/master
Adeel Kazmi [Fri, 11 Mar 2022 15:33:37 +0000 (15:33 +0000)]
Merge "DALi Version 2.1.13" into devel/master

2 years agoDALi Version 2.1.13 49/272249/1 dali_2.1.13
David Steele [Fri, 11 Mar 2022 15:22:05 +0000 (15:22 +0000)]
DALi Version 2.1.13

Change-Id: Ibdaad0866ec57a514597f21376d4bf0c10e1bbf2

2 years ago[AT-SPI] Add a header file for NUIViewAccessible 36/272236/1
Artur Świgoń [Fri, 11 Mar 2022 14:22:43 +0000 (15:22 +0100)]
[AT-SPI] Add a header file for NUIViewAccessible

There will be a need to create an instance of this class from outside of
'nui-view-accessible.cpp', so the most elegant solution is to add a
header file with a declaration of this class.

Change-Id: Ibfb996d7cb0aef12cf38dcbd6c7c68e3d29d4cae

2 years ago[AT-SPI] Rename accessible-impl-nui.cpp to nui-view-accessible.cpp 35/272235/1
Artur Świgoń [Fri, 11 Mar 2022 14:24:29 +0000 (15:24 +0100)]
[AT-SPI] Rename accessible-impl-nui.cpp to nui-view-accessible.cpp

The file name 'accessible-impl-nui.cpp' reflected the old name of this
class, 'AccessibleImpl_NUI'. It is now called 'NUIViewAccessible', hence
'nui-view-accessible.cpp'.

Change-Id: I1f50aa9c54afbe3eea21076940bc755756ccc91f

2 years ago[AT-SPI] Pass a Control to DevelControl functions 93/271393/4
Artur Świgoń [Fri, 18 Feb 2022 13:27:19 +0000 (14:27 +0100)]
[AT-SPI] Pass a Control to DevelControl functions

A related dali-toolkit change narrows down the expected type from an
Actor to a Control. These functions did not work for non-Control Actors
anyway.

Change-Id: I2fde58bfee6eb1daba32becd690ea217c32f7077

2 years agoAdd clockwise and countClockwise type 37/272137/1
joogab.yun [Thu, 10 Mar 2022 05:00:12 +0000 (14:00 +0900)]
Add clockwise and countClockwise type

Change-Id: Ifd7620b969d861dd699e5c671049f65a2f92122e

2 years agoAdd deviceName to GetNextFocusableView() in CustomFocusAlgorithm. 84/271984/5
joogab.yun [Fri, 4 Mar 2022 06:05:58 +0000 (15:05 +0900)]
Add deviceName to GetNextFocusableView() in CustomFocusAlgorithm.

Change-Id: I52c8d5b205db257f6a8276ec716ae7133a2cf99a

2 years ago[AT-SPI] text: add "GetRangeExtents" interface 82/271782/5
Shinwoo Kim [Mon, 28 Feb 2022 13:54:38 +0000 (22:54 +0900)]
[AT-SPI] text: add "GetRangeExtents" interface

This interface will be used for getting MBR(Minimum Bounding Rectangle)
with following usage on the AT client side.

  cc = atspi_text_get_character_count(text, NULL);
  rect = atspi_text_get_range_extents(text, 0, cc, ATSPI_COORD_TYPE_WINDOW, NULL);

Change-Id: Ie4fa25b128235172c98dae1d4bdeabcad0c25910

2 years agoMerge "DALi Version 2.1.12" into devel/master
David Steele [Fri, 4 Mar 2022 11:20:45 +0000 (11:20 +0000)]
Merge "DALi Version 2.1.12" into devel/master

2 years agoDALi Version 2.1.12 89/271989/1 dali_2.1.12
Adeel Kazmi [Fri, 4 Mar 2022 10:01:16 +0000 (10:01 +0000)]
DALi Version 2.1.12

Change-Id: I3b3a969db6845197f1776d0b3353b6cb08d221d6

2 years agodnd : modify dnd interfaces 83/271683/4
Taehyub Kim [Thu, 24 Feb 2022 13:04:57 +0000 (22:04 +0900)]
dnd : modify dnd interfaces

Change-Id: Ie7995033de0d94a8e511c92fe68eeb40daa25c0e

2 years agoAdd API for consuming keyEvent in Widget 73/271973/1
tscholb [Wed, 16 Feb 2022 02:44:24 +0000 (11:44 +0900)]
Add API for consuming keyEvent in Widget

When a widget consumes a keyEvent, the WidgetView must also consume that keyEvent.
An API called SetUsingKeyEvent() allows the WidgetApplication to set this flag.

Change-Id: Ic10a02c216ae1861a9b6b0edff509b2c6e032d2b

2 years agoMerge "[AT-SPI] Clean up atspi-wrap.cpp" into devel/master
Seoyeon Kim [Fri, 4 Mar 2022 00:39:41 +0000 (00:39 +0000)]
Merge "[AT-SPI] Clean up atspi-wrap.cpp" into devel/master

2 years agoAdd UserInteractionEnabled Property on Actor Wrap. 49/271249/6
EverLEEst(SangHyeon Lee) [Thu, 17 Feb 2022 06:57:51 +0000 (22:57 -0800)]
Add UserInteractionEnabled Property on Actor Wrap.

Add UserInteractionEnabled property for c# binding.
See also,
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-core/+/271115

Change-Id: I0961e115d5d1c658762039598b20af18546e3f3e

2 years agoAdd a Hit-Test result events. 76/270976/6
joogab.yun [Sat, 12 Feb 2022 06:26:44 +0000 (15:26 +0900)]
Add a Hit-Test result events.

In the case of TouchEvent or Gesture, there is no way to propagate the event to the view below that is not related.

So, before sending an touch event, send an hitTestResult event to the view in the hit-test process to ask whether it will be hit or not.
If it returns false, it means that it will not be hit, and the hit-test continues to the next view.

Change-Id: Iddd07ace348441e7a51683352bea59531a3548ad

2 years agoMerge "[AT-SPI] Support multiple AT-SPI interfaces for View" into devel/master
Seoyeon Kim [Wed, 2 Mar 2022 07:14:55 +0000 (07:14 +0000)]
Merge "[AT-SPI] Support multiple AT-SPI interfaces for View" into devel/master

2 years ago[AT-SPI] Clean up atspi-wrap.cpp 23/271723/3
Artur Świgoń [Fri, 25 Feb 2022 09:58:21 +0000 (10:58 +0100)]
[AT-SPI] Clean up atspi-wrap.cpp

This is a complementary change to "static class Accessibility" in NUI.

Change-Id: I44e8f102ce68318003fd051451480a55c2f8fc08

2 years agoDALi Version 2.1.11 33/271733/1 dali_2.1.11
Adam Bialogonski [Fri, 25 Feb 2022 11:47:35 +0000 (11:47 +0000)]
DALi Version 2.1.11

Change-Id: I90d4e19cb3c84023ae423daf31ea22e4db1ead92

2 years ago[AT-SPI] Support multiple AT-SPI interfaces for View 72/270872/4
Artur Świgoń [Thu, 10 Feb 2022 08:53:29 +0000 (09:53 +0100)]
[AT-SPI] Support multiple AT-SPI interfaces for View

This patch leaves only one version of NUIViewAccessible that contains
the necessary glue code for all interfaces that are of interest to NUI
and adds bindings for a new virtual method (Accessible::DoGetInterfaces)
to AccessibilityDelegate so that the set of implemented interfaces can
be entirely determined on the C# side (we cannot use dynamic_cast to
inspect C# objects, so we have to rely on C# self-declaring what
interfaces a given object implements).

A new template helper method (NUIViewAccessible::CallMethod) is
introduced, to ensure that it is legal to call a given method (declared
interfaces are checked) and to significantly reduce code duplication,
including null-checking the function pointer and passing the first
argument ('self') which is identical for all methods.

Note that with the singleton AccessibilityDelegate, we no longer allow
null pointers in it, and no longer silently ignore them. It is a bug if
any of the pointers are null (or a version mismatch between DALi and
NUI, although that would probably cause an assertion on structure size
mismatch in SetAccessibilityDelegate).

Change-Id: If706d4d50985ec9694190b7e99c17cedfd44da57

2 years agoMerge "DALi Version 2.1.10" into devel/master
Adeel Kazmi [Fri, 18 Feb 2022 11:13:16 +0000 (11:13 +0000)]
Merge "DALi Version 2.1.10" into devel/master

2 years agoDALi Version 2.1.10 70/271370/1 dali_2.1.10
Richard Huang [Fri, 18 Feb 2022 11:01:45 +0000 (11:01 +0000)]
DALi Version 2.1.10

Change-Id: I185fe4b764e01f705097be11c69912263ffd9aef

2 years agoMerge "Add Maximize/Minimized in Window" into devel/master
Wonsik Jung [Fri, 18 Feb 2022 04:29:43 +0000 (04:29 +0000)]
Merge "Add Maximize/Minimized in Window" into devel/master

2 years agoMerge "dnd: add drag and drop csharp binding codes" into devel/master
Taehyub Kim [Fri, 18 Feb 2022 04:13:05 +0000 (04:13 +0000)]
Merge "dnd: add drag and drop csharp binding codes" into devel/master

2 years agoMerge "[AT-SPI] Singleton AccessibilityDelegate" into devel/master
Seoyeon Kim [Thu, 17 Feb 2022 10:45:03 +0000 (10:45 +0000)]
Merge "[AT-SPI] Singleton AccessibilityDelegate" into devel/master

2 years agodnd: add drag and drop csharp binding codes 09/268209/14
Taehyub Kim [Fri, 17 Dec 2021 05:54:44 +0000 (14:54 +0900)]
dnd: add drag and drop csharp binding codes

Change-Id: Ia537714144d72a7b5d8304f754363e17270093c2

2 years agoMerge "DALi Version 2.1.9" into devel/master
Adeel Kazmi [Fri, 11 Feb 2022 12:07:19 +0000 (12:07 +0000)]
Merge "DALi Version 2.1.9" into devel/master

2 years agoDALi Version 2.1.9 58/270958/1 dali_2.1.9
David Steele [Fri, 11 Feb 2022 12:02:00 +0000 (12:02 +0000)]
DALi Version 2.1.9

Change-Id: If3c6028a664b7650ef74343b20af34ae2ec55c56

2 years agoChanged from Adaptor api to Window api about FeedEvents 18/270918/2
joogab.yun [Fri, 11 Feb 2022 06:14:17 +0000 (15:14 +0900)]
Changed from Adaptor api to Window api about FeedEvents

Change-Id: I3915a9b2a08dfc87b2b85e554e0a448dcee20d5e

2 years agoAdd FeedTouchPoint and FeedWheelEvent api binding 99/270899/1
joogab.yun [Fri, 11 Feb 2022 02:14:55 +0000 (11:14 +0900)]
Add FeedTouchPoint and FeedWheelEvent api binding

Change-Id: I82b947086e17fec100cb84f2b54d662044dd8c7b

2 years ago[AT-SPI] Singleton AccessibilityDelegate 45/269945/4
Artur Świgoń [Fri, 21 Jan 2022 17:25:26 +0000 (18:25 +0100)]
[AT-SPI] Singleton AccessibilityDelegate

The AccessibilityDelegate structure contains function pointers
(initialized in NUI) which allow to redirect virtual C++ Accessible
method calls to virtual C# View method calls (NUI does not have the
concept of Accessible objects, but customizes Accessibility behaviour by
overriding virtual methods in View instead). These function pointers
were initialized from anonymous functions in C# that implicitly captured
'this', which meant that every View / NUIViewAccessible had to have its
own copy of AccessibilityDelegate.

However, if all methods from AccessibilityDelegate had an extra
parameter (an Actor handle or a RefObject* to a View) which would allow
to redirect the virtual method call to the right C# object, then having
only one copy of AccessibilityDelegate would be enough. This patch does
exactly that (together with the complementary TizenFX change).

Since there is no need to increase the reference count for the duration
of the method call, RefObject* was selected as the type of the 'self'
parameter. Passing other objects (specifically, the 'child' parameter of
ScrollToChild) still employs creating a new Actor handle (i.e.
increasing the reference count).

Change-Id: Ie51f0ea204f9d1a08723adbd2c1d7b4bf1bcbb43

2 years ago[AT-SPI] Clean up interops for Accessibility::States 40/270040/6
Artur Świgoń [Mon, 24 Jan 2022 12:16:55 +0000 (13:16 +0100)]
[AT-SPI] Clean up interops for Accessibility::States

This patch:

* Removes legacy interops for Accessibility::States.

* Removes the '2' suffix from
CSharp_Dali_Toolkit_DevelControl_NotifyAccessibilityStateChange and
CSharp_Dali_Accessibility_EmitAccessibilityStateChangedEvent.

* Adds a missing 's' to the end of
CSharp_Dali_Toolkit_DevelControl_GetAccessibilityStates.

* Makes AccessibilityDelegate::calculateStates return the bitset
directly as an std::uint64_t instead of a heap-allocated object (in sync
with the complementary NUI change) to avoid an unnecessary memory
allocation.

* Changes the second parameter of
CSharp_Dali_Accessibility_EmitAccessibilityStateChangedEvent to a single
integer (single State value) instead of a bitmask (potentially multiple
States) and removes ugly conversion code (in sync with a modified
parameter type in NUI).

* Leverages the new BitSet(std::uint64_t) constructor and GetRawData64()
method from Accessibility::BitSet to avoid having to perform bit
operations when serializing Accessibility::States.

Change-Id: I166cf63c70260bea9e3a19d1e3dd08d3990e5097

2 years agoMerge "Set http response body in binary format." into devel/master
dongsug song [Mon, 7 Feb 2022 02:35:09 +0000 (02:35 +0000)]
Merge "Set http response body in binary format." into devel/master

2 years agoMerge "DALi Version 2.1.8" into devel/master
Adeel Kazmi [Fri, 4 Feb 2022 15:36:10 +0000 (15:36 +0000)]
Merge "DALi Version 2.1.8" into devel/master

2 years agoDALi Version 2.1.8 79/270579/1 dali_2.1.8
Adeel Kazmi [Fri, 4 Feb 2022 13:15:17 +0000 (13:15 +0000)]
DALi Version 2.1.8

Change-Id: I77dc34a18c0d951f52480fb0b805a339c47233d1

2 years agoMerge "Add SelectionStarted Signal" into devel/master
Bowon Ryu [Fri, 4 Feb 2022 06:02:05 +0000 (06:02 +0000)]
Merge "Add SelectionStarted Signal" into devel/master

2 years agoMake NUI View/ImageView/TextLabel always DISABLE_STYLE_CNAHGED 06/270006/7
Eunki, Hong [Mon, 24 Jan 2022 06:21:54 +0000 (15:21 +0900)]
Make NUI View/ImageView/TextLabel always DISABLE_STYLE_CNAHGED

Change-Id: Ia74dea0c6e10c17f43a5f614c7d9f460ae5bb3fc
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "DALi Version 2.1.7" into devel/master
David Steele [Fri, 28 Jan 2022 13:19:34 +0000 (13:19 +0000)]
Merge "DALi Version 2.1.7" into devel/master

2 years agoDALi Version 2.1.7 57/270357/1 dali_2.1.7
Adam Bialogonski [Fri, 28 Jan 2022 12:10:56 +0000 (12:10 +0000)]
DALi Version 2.1.7

Change-Id: I9f4d4a227b65d6e3f0876b6c59b4bac2aed362cc

2 years agonullptr check of mHandler and mPostHandler 45/270345/1
Eunki, Hong [Fri, 28 Jan 2022 10:29:36 +0000 (19:29 +0900)]
nullptr check of mHandler and mPostHandler

Same as above

Change-Id: Ic0dbbf7616dd5fc0a116ab7a7fda9808892da756
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMake ProcessorController can use PostProcess 39/270339/2
Eunki, Hong [Fri, 28 Jan 2022 08:10:20 +0000 (17:10 +0900)]
Make ProcessorController can use PostProcess

Make ProcessorController::Process also be called in PostProcess time.
Also, make Awake function didn't have effort during ProcessEvent running.

Change-Id: I47638bc605f513be01f9c38d8faf1c5eccb377d1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoAdd SelectionStarted Signal 43/269643/4
abdullah [Wed, 19 Jan 2022 11:45:34 +0000 (13:45 +0200)]
Add SelectionStarted Signal

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

Change-Id: I8f453456379e7f2506a7633f7a87905fa664b264

2 years ago[NUI] Add CharacterSpacing Property 88/262388/6
Shrouq Sabah [Mon, 9 Aug 2021 16:29:30 +0000 (19:29 +0300)]
[NUI] Add CharacterSpacing Property

The spaces between characters.
A positive value will make the characters far apart (expanded) and a negative value will bring them closer (condensed).

Change-Id: Ia07461744ffec48af66d46154eecda47e1a2075a

2 years agoSet http response body in binary format. 40/269640/2
huayong.xu [Wed, 19 Jan 2022 10:30:35 +0000 (18:30 +0800)]
Set http response body in binary format.

Change-Id: I9265054da0e9e2437c097d4214534c7354a49331

2 years ago[AT-SPI] Remove GetBoundAccessibilityObject 10/269910/2
Artur Świgoń [Fri, 21 Jan 2022 10:03:50 +0000 (11:03 +0100)]
[AT-SPI] Remove GetBoundAccessibilityObject

It is unclear what purpose this function meant to serve, but its
documentation is misleading, because it does exactly the same thing
as Accessible::Get.

Change-Id: I4e61606303a2a77333e7ebc42cfe280dd29c34e0

2 years agoDALi Version 2.1.6 24/269924/1 dali_2.1.6
Richard Huang [Fri, 21 Jan 2022 11:45:01 +0000 (11:45 +0000)]
DALi Version 2.1.6

Change-Id: I5f5237d5189282f1cf7deff2b0834da25ba9bd9b

2 years agoMerge "[AT-SPI] Add DoGetChildren() override to NUIViewAccessible" into devel/master
Seoyeon Kim [Tue, 18 Jan 2022 08:09:09 +0000 (08:09 +0000)]
Merge "[AT-SPI] Add DoGetChildren() override to NUIViewAccessible" into devel/master

2 years agoChange method names of GlWindow 54/268654/2
Daekwang Ryu [Tue, 28 Dec 2021 05:41:17 +0000 (14:41 +0900)]
Change method names of GlWindow

It copies from GlView.

Change-Id: I4db90e37da3e11e6b7ec9ea1fd70cc7e12f2df27

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

Change-Id: I513eba8b631bf70e2707067ba3536a73efae5766

2 years ago[AT-SPI] Add DoGetChildren() override to NUIViewAccessible 73/268673/5
Artur Świgoń [Wed, 29 Dec 2021 07:59:35 +0000 (08:59 +0100)]
[AT-SPI] Add DoGetChildren() override to NUIViewAccessible

ActorAccessible now offers a simpler mechanism to customize children.

Change-Id: I67db9cf95790bc974e802d2c4a09b3b2ca44dc32

2 years agoMerge "Add Strikethrough Property" into devel/master
Bowon Ryu [Tue, 11 Jan 2022 13:10:55 +0000 (13:10 +0000)]
Merge "Add Strikethrough Property" into devel/master