platform/core/csapi/tizenfx.git
12 months ago[NUI] Binds GetCurrentProperty to Animatable class
seungho baek [Mon, 15 May 2023 06:47:06 +0000 (15:47 +0900)]
[NUI] Binds GetCurrentProperty to Animatable class

Signed-off-by: seungho baek <sbsh.baek@samsung.com>
12 months ago[NUI.Sample] BlendPoint demo
Eunki Hong [Fri, 12 May 2023 12:37:09 +0000 (21:37 +0900)]
[NUI.Sample] BlendPoint demo

Let we use blendpoint on Scene3DSample and BlendPointSample

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
12 months ago[NUI.Scene3D] Change the API name for BlendShape morphing
Eunki, Hong [Wed, 10 May 2023 08:11:44 +0000 (17:11 +0900)]
[NUI.Scene3D] Change the API name for BlendShape morphing

Since json file can change not only facial, The name of API is not good.

Instead, Let we change the name of facial API as 'BlendShapeAnimation'.
Now user can notify that this API can control all kinds of blendshape.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Add FontPreLoad API to FontClient
Bowon Ryu [Tue, 9 May 2023 11:07:39 +0000 (20:07 +0900)]
[NUI] Add FontPreLoad API to FontClient

This patch adds a new FontPreLoad API that preloads font faces.
this can prevents delays on main thread during the inital call of FT_New_Face.

using memoryFontPathList involves loading font buffers into memory.
And using FT_New_Memory_Face at runtime, which uses more memory
but can lead to greater performance improvements.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
12 months ago[NUI] Add BlendPoint to blend animation of AnimateBetween
seungho baek [Mon, 8 May 2023 09:18:54 +0000 (18:18 +0900)]
[NUI] Add BlendPoint to blend animation of AnimateBetween

Signed-off-by: seungho baek <sbsh.baek@samsung.com>
12 months ago[NUI] Add Touch source type for gesture
joogab.yun [Tue, 9 May 2023 08:08:05 +0000 (17:08 +0900)]
[NUI] Add Touch source type for gesture

12 months ago[NUI] Remove duplicate ?. operator and use using statement
Jiyun Yang [Wed, 19 Apr 2023 07:27:50 +0000 (16:27 +0900)]
[NUI] Remove duplicate ?. operator and use using statement

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
12 months ago[NUI] Binding GetDeviceClass and GetDeviceSubclass of touch event
joogab.yun [Thu, 4 May 2023 09:37:45 +0000 (18:37 +0900)]
[NUI] Binding GetDeviceClass and GetDeviceSubclass of touch event

refer :
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/292340/

12 months ago[NUI.Scene3D] Make API to apply ModelMotion
Eunki Hong [Fri, 28 Apr 2023 01:30:00 +0000 (10:30 +0900)]
[NUI.Scene3D] Make API to apply ModelMotion

Make a prototype of MotionData settor & Animation generator

Let we can use two type of motion as index
- MotionTransformIndex
- BlendShapeIndex

MotionTransformIndex can control only Position / Orientation / Scale.
and, BlendShape can control only BlendShape.

Currently a lots of case are not supported.
But we can test MotionData usecase by "string" ModelNodeId + "int" blendshape

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Add WindowMouseInOutEvent (#5242)
JoogabYun [Thu, 4 May 2023 01:56:27 +0000 (10:56 +0900)]
[NUI] Add WindowMouseInOutEvent (#5242)

MouseInOutEvent is used when the mouse enters or exits a window

refer :
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/292271/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/292272/

12 months ago[NUI] Binding EnableFocusIndicator and IsFocusIndicatorEnabled
joogab.yun [Wed, 3 May 2023 05:17:00 +0000 (14:17 +0900)]
[NUI] Binding EnableFocusIndicator and IsFocusIndicatorEnabled

refer : https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/292280/

12 months ago[NUI.Scene3D] Add property for bvh that translate root from ModelNode or not
Eunki, Hong [Mon, 24 Apr 2023 09:00:10 +0000 (18:00 +0900)]
[NUI.Scene3D] Add property for bvh that translate root from ModelNode or not

Add input parameter for bvh animation loader
that we should ignore root position translate or not.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months agoPost-review fixes #2 (#4)
Adam Michalski/System (PLT) /SRPOL/Engineer/Samsung Electronics [Wed, 10 May 2023 06:52:22 +0000 (08:52 +0200)]
Post-review fixes #2 (#4)

12 months agoFix SubsessionEventInfoNative struct definition and usage (#3)
adaszkiewicza [Fri, 28 Apr 2023 12:40:03 +0000 (14:40 +0200)]
Fix SubsessionEventInfoNative struct definition and usage (#3)

Now it does not use unrolled arrays

12 months agoFix issues from review (#2)
adaszkiewicza [Thu, 27 Apr 2023 11:28:30 +0000 (13:28 +0200)]
Fix issues from review (#2)

Add ref keyword where needed, change IntPtrToStringArray method

12 months agoPost-review fixes to pull request #5203 part 1
Adam Michalski [Tue, 25 Apr 2023 17:35:08 +0000 (19:35 +0200)]
Post-review fixes to pull request #5203 part 1

12 months agoImplement libsessiond wrapper
adaszkiewicza [Thu, 20 Apr 2023 11:12:08 +0000 (13:12 +0200)]
Implement libsessiond wrapper

12 months ago[NUI.WindowSystem] introduce the taskbar service feature
Doyoun Kang [Fri, 12 May 2023 01:42:58 +0000 (10:42 +0900)]
[NUI.WindowSystem] introduce the taskbar service feature

Signed-off-by: Doyoun Kang <doyoun.kang@samsung.com>
12 months ago[Tdbc] Fix Sqlite update hook (#5251)
ilho159kim [Thu, 11 May 2023 06:11:42 +0000 (15:11 +0900)]
[Tdbc] Fix Sqlite update hook (#5251)

If the delete statement is executed, the record can't be returned
because the value for the rowid doesn't exist in the database
Therefore, in the case of delete, the record is returned to null

Signed-off-by: ilho kim <ilho159.kim@samsung.com>
Co-authored-by: pjh9216 <jh9216.park@samsung.com>
12 months ago[DevicePolicyManager] Deprecate DevicePolicyManager APIs (#5180)
y01k [Thu, 11 May 2023 05:29:42 +0000 (14:29 +0900)]
[DevicePolicyManager] Deprecate DevicePolicyManager APIs (#5180)

Signed-off-by: yeji01.kim <yeji01.kim@samsung.com>
12 months agoMark all Tizen.Security.PrivacyPrivilegeManager APIs as deprecated (#4934)
Dariusz Michaluk [Mon, 8 May 2023 10:26:45 +0000 (12:26 +0200)]
Mark all Tizen.Security.PrivacyPrivilegeManager APIs as deprecated (#4934)

Change-Id: I519abb343b5f4e49d2256a9b0abf69d4fb755632

12 months ago[MediaVision] Fix Design QR bug (#5245)
Haesu Gwon [Thu, 4 May 2023 08:23:34 +0000 (17:23 +0900)]
[MediaVision] Fix Design QR bug (#5245)

* [MediaVision] Fix Design QR bug

12 months ago[Tizen.Log] Fix gbs build error
youngjae [Wed, 3 May 2023 05:22:48 +0000 (14:22 +0900)]
[Tizen.Log] Fix gbs build error

Signed-off-by: youngjae <y0.cho@samsung.com>
12 months ago[NUI.Gadget] Modify NUIGadgetResourceManager class (#5233)
hjhun [Tue, 2 May 2023 09:15:15 +0000 (18:15 +0900)]
[NUI.Gadget] Modify NUIGadgetResourceManager class (#5233)

When getting the resource manager using the current culture info is failed,
the NUIGadgetResourceManager tries to get the resource manager using
the "default" string. It means using "/res/allowed/<resource>.dll" file.

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
12 months ago[NUI] Version up 22224
Daekwang Ryu [Tue, 2 May 2023 06:20:29 +0000 (15:20 +0900)]
[NUI] Version up 22224

12 months ago[NUI] Reuse internally created Key/Touch and reuse it
Eunki, Hong [Wed, 26 Apr 2023 09:10:39 +0000 (18:10 +0900)]
[NUI] Reuse internally created Key/Touch and reuse it

To reduce the GC call for each Event getter, let we create
Key/Touch only one time for each window, and reuse it.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months agoAdd GenerateUrl API to FrameBuffer
Jiyun Yang [Thu, 27 Apr 2023 11:09:35 +0000 (20:09 +0900)]
Add GenerateUrl API to FrameBuffer

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
12 months ago[NUI] Fix empty item case crash. wrong bracket conditions.
EverLEEst(SangHyeon Lee) [Thu, 27 Apr 2023 09:39:16 +0000 (18:39 +0900)]
[NUI] Fix empty item case crash. wrong bracket conditions.

when failed flag is true,
other condition should be ingored.

12 months ago[NUI] Add Default Image & transition effect
sunghyun kim [Wed, 5 Apr 2023 06:23:27 +0000 (15:23 +0900)]
[NUI] Add Default Image & transition effect

12 months ago[NUI] LoopingMode enum for Animation class
Eunki, Hong [Wed, 26 Apr 2023 05:45:11 +0000 (14:45 +0900)]
[NUI] LoopingMode enum for Animation class

Let we allow to animation auto_reversed

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[Tdbc] Fix static analysis issues (#5231)
jeremy-jang [Tue, 2 May 2023 02:41:40 +0000 (11:41 +0900)]
[Tdbc] Fix static analysis issues (#5231)

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
12 months ago[NUI.Gadget] Add Assembly property to NUIGadgetInfo (#5226)
hjhun [Fri, 28 Apr 2023 02:04:17 +0000 (11:04 +0900)]
[NUI.Gadget] Add Assembly property to NUIGadgetInfo (#5226)

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
12 months ago[Tizen.Log] Optimize garbage collection (#5156)
조영재 [Thu, 27 Apr 2023 04:27:17 +0000 (13:27 +0900)]
[Tizen.Log] Optimize garbage collection (#5156)

* [Tizen.Log] Optimize garbage collection

The CLR automatically converts string into byte array when it invokes
native function. In this process, the CLR allocates byte array on heap,
which will be a garbage, for every single string. If applications are
printing dlog too bursty, those garbage would pile up, consuming too much
memory. To reduce those garbage, manually allocates byte array on stack
and convert string into that byte array.

Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
* [Tizen.Log] Remove Substring function (#2)

To cut filename from whole filepath, Print function uses Substring function.
Also, filename string is newly created.
To avoid newly create memory which can be garbage collecting target,
Substring function is removed.

Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
Co-authored-by: Yunhee <yuni.seo@samsung.com>
---------

Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
Co-authored-by: yuni.seo <129935814+yuni-seo@users.noreply.github.com>
Co-authored-by: Yunhee <yuni.seo@samsung.com>
12 months ago[NUI] version update
joogab.yun [Wed, 26 Apr 2023 06:29:36 +0000 (15:29 +0900)]
[NUI] version update

12 months ago[NUI] Change the call to GetRootLayer() so that the layer index can be updated.
joogab.yun [Wed, 26 Apr 2023 04:43:57 +0000 (13:43 +0900)]
[NUI] Change the call to GetRootLayer() so that the layer index can be updated.

If the root layer index is not updated and another layer is added first, a problem occurs in calculating the layer index.
Something like LowerBelow may not work.

12 months agoModify property name of Property class
huiyu [Wed, 19 Apr 2023 07:18:06 +0000 (16:18 +0900)]
Modify property name of Property class

Signed-off-by: huiyu <huiyu.eun@samsung.com>
12 months ago[NUI] Add SetTapRecognizerTime
joogab.yun [Wed, 26 Apr 2023 01:47:03 +0000 (10:47 +0900)]
[NUI] Add SetTapRecognizerTime

This is the time from touch down to touch up to recognize a tap gesture.

If set to 300ms, a touch up after a touch down must occur within 300ms to be recognized as a tap gesture.

12 months ago[NUI] Remove some TCs which are not effective.
huayong.xu [Tue, 25 Apr 2023 01:07:07 +0000 (09:07 +0800)]
[NUI] Remove some TCs which are not effective.

12 months ago[NUI] Fix some comments of Animation class
Eunki, Hong [Mon, 24 Apr 2023 06:38:51 +0000 (15:38 +0900)]
[NUI] Fix some comments of Animation class

1. Change mismatched comment format
2. Change default value of DisconnectAction
3. Add some remarks at EndAction property

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Remove unused signal : Window.ViewAdded
Eunki, Hong [Fri, 21 Apr 2023 05:23:55 +0000 (14:23 +0900)]
[NUI] Remove unused signal : Window.ViewAdded

Due to the performance issue, we do not allow to use Window.ViewAdded signal.
Instead, We need to guide app to use View.AddedToWindow event

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Remove default parameter of Animation.Stop(EndActions)
Eunki, Hong [Fri, 21 Apr 2023 07:29:05 +0000 (16:29 +0900)]
[NUI] Remove default parameter of Animation.Stop(EndActions)

Since we already have empty-parameter function named Stop(),
Let we remove Stop(EndActions)'s default value so compiler don't feel confuse.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Fix NUIApplication svace issue
Xianbing Teng [Thu, 20 Apr 2023 05:54:28 +0000 (13:54 +0800)]
[NUI] Fix NUIApplication svace issue

12 months ago[NUI] Make bvh/facial Animation from string buffer
Eunki, Hong [Tue, 18 Apr 2023 11:01:47 +0000 (20:01 +0900)]
[NUI] Make bvh/facial Animation from string buffer

Let we allow to create facial animations from buffer, not from file.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Fix SVACE issues.
huayong.xu [Thu, 20 Apr 2023 06:42:43 +0000 (14:42 +0800)]
[NUI] Fix SVACE issues.

12 months ago[NUI] Add OverlayLayer to Window's LayersChildren to calculate Layout
Jaehyun Cho [Thu, 20 Apr 2023 05:11:21 +0000 (14:11 +0900)]
[NUI] Add OverlayLayer to Window's LayersChildren to calculate Layout

Previously, OverlayLayer was not added to Window's LayersChildren so
Layouts inside the OverlayLayer were not calculated.

Now, OverlayLayer is added to Window's LayerChildren to calculate
Layouts inside the OverlayLayer.

12 months ago[Tdbc] Fix binding methods (#5213)
jeremy-jang [Wed, 26 Apr 2023 04:51:03 +0000 (13:51 +0900)]
[Tdbc] Fix binding methods (#5213)

Fix type mismatch.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Co-authored-by: pjh9216 <jh9216.park@samsung.com>
12 months ago[Tizen.Log] Replace dlog_print with dlog_print_dotnet (#5101)
Chanwoo Choi [Wed, 26 Apr 2023 04:03:25 +0000 (13:03 +0900)]
[Tizen.Log] Replace dlog_print with dlog_print_dotnet (#5101)

Replace dlog_print with dlog_print_dotnet which is used for only csharp api.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
12 months ago[Camera] Add new camera setting APIs (#5172)
Haesu Gwon [Tue, 25 Apr 2023 23:50:53 +0000 (08:50 +0900)]
[Camera] Add new camera setting APIs (#5172)

* [Camera] Add new camera setting APIs

12 months ago[Tdbc] Split Tizen.Data.Tdbc.Driver.Sqlite project from Tizen.Data.Tdbc (#5209)
jeremy-jang [Tue, 25 Apr 2023 07:08:23 +0000 (16:08 +0900)]
[Tdbc] Split Tizen.Data.Tdbc.Driver.Sqlite project from Tizen.Data.Tdbc (#5209)

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
12 months ago[Application.Common][TCSACR-536]Add APIs for getting path related resource control...
ilho159kim [Tue, 25 Apr 2023 02:06:28 +0000 (11:06 +0900)]
[Application.Common][TCSACR-536]Add APIs for getting path related resource control (#5126)

* [Application.Common][TCSACR-536]Add APIs for getting path related resource control

- DirectoryInfo.GetResControlAllowedResource()
- DirectoryInfo.GetResControlGlobalResource()

Signed-off-by: ilho kim <ilho159.kim@samsung.com>
* Adjust review

ResControl -> ResourceControl
res_type -> resourceType
Fix ambiguous description

Signed-off-by: ilho kim <ilho159.kim@samsung.com>
---------

Signed-off-by: ilho kim <ilho159.kim@samsung.com>
Co-authored-by: pjh9216 <jh9216.park@samsung.com>
12 months ago[Tdbc] Add Tizen.Data.Tdbc (#5145)
jeremy-jang [Mon, 24 Apr 2023 23:22:41 +0000 (08:22 +0900)]
[Tdbc] Add Tizen.Data.Tdbc (#5145)

* [Tdbc] Add Tizen.Data.Tdbc

Provides a standard C# API for accessing various database for Tizen platform.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [Tdbc] Add a default sqlite driver

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [Tdbc] Add enum OperationType

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [Tdbc] Fix Tdbc

- Fix doxygen comments
- Fix nameing of interfaces

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [Tdbc] Fix doxygen

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [Tdbc] Fix Tdbc

- Fix doxygen.
- Remove rowid from RecordChangedEventArgs.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [Tdbc] Fix wrong implemented IEnumeratable

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [Tdbc] Fix RecordChangedEventArgs

Add a Record to event.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [Tdbc] Fix TDBC

- Add namespace document.
- Fix dictionary type of Statement class.
- Fix some doxygen comments.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [Tdbc] Add remarks for privileges

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [Tdbc] Fix Connection class

- IsOpened() -> IsOpen()
- Add readonly keyworkd at lock object

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [Tdbc] Rename files

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
---------

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
13 months agoVersion up 22222 (#5189)
ANZ1217 [Wed, 19 Apr 2023 07:38:51 +0000 (16:38 +0900)]
Version up 22222 (#5189)

Co-authored-by: Chihun Jeong <chihun.jeong@samsung.com>
13 months ago[NUI] Collect Renderer Property enum as public hidden (#5165)
Eunki Hong [Tue, 18 Apr 2023 06:56:21 +0000 (15:56 +0900)]
[NUI] Collect Renderer Property enum as public hidden (#5165)

* [NUI] Collect Renderer Property enum as public hidden

Since the enum type was internally hidden, User don't know what
value should we use for some Renderer's property.

Until do Modify ACR, make them as hidden

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
* [NUI] Change RendererConstants value name as Pascal Case

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
* [NUI] Mark all RenderConstants enum value as hidden

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
---------

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Co-authored-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months ago[NUI][AT-SPI] Add IAtspiValue.AccessibilityGetValueText()
Artur Świgoń [Thu, 13 Apr 2023 08:45:11 +0000 (10:45 +0200)]
[NUI][AT-SPI] Add IAtspiValue.AccessibilityGetValueText()

This API allows the application to provide the Screen Reader with a formatted
string value rather than the default, floating-point one. This in turn, allows
to customize in detail how e.g. slider values are read.

13 months ago[Applications.Common] Add an internal API (#5183)
hjhun [Tue, 18 Apr 2023 02:12:52 +0000 (11:12 +0900)]
[Applications.Common] Add an internal API (#5183)

Adds:
 - AppControl.UnsetAutoRestart()

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
13 months ago[Applications.UI] Add Get window position api (#5085)
sukhyungkang [Mon, 17 Apr 2023 08:07:01 +0000 (17:07 +0900)]
[Applications.UI] Add Get window position api (#5085)

Signed-off-by: SukhyungKang <shine.kang@samsung.com>
Co-authored-by: hjhun <36876573+hjhun@users.noreply.github.com>
13 months ago[Applications] Add Set/Get window position api for AppControl (#5084)
sukhyungkang [Mon, 17 Apr 2023 07:55:47 +0000 (16:55 +0900)]
[Applications] Add Set/Get window position api for AppControl (#5084)

Signed-off-by: SukhyungKang <shine.kang@samsung.com>
Co-authored-by: hjhun <36876573+hjhun@users.noreply.github.com>
13 months agoClean up (#5179)
hjhun [Mon, 17 Apr 2023 07:04:41 +0000 (16:04 +0900)]
Clean up (#5179)

- Remove an unnecessary space
- Remove an unnecessary semicolon
- Change descriptions

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
13 months ago[MediaVision] Add APIs for Design QR feature (#5104)
Haesu Gwon [Thu, 13 Apr 2023 08:09:15 +0000 (17:09 +0900)]
[MediaVision] Add APIs for Design QR feature (#5104)

* [MediaVision] Add Design QR feature

13 months ago[NUI] Version up 22221
jykeon [Wed, 12 Apr 2023 06:29:36 +0000 (15:29 +0900)]
[NUI] Version up 22221

Signed-off-by: jykeon <jykeon@samsung.com>
13 months ago[NUI] Rotation class with EulerAngle (pitch/yaw/roll)
Eunki Hong [Mon, 10 Apr 2023 17:01:19 +0000 (02:01 +0900)]
[NUI] Rotation class with EulerAngle (pitch/yaw/roll)

Add API that we can set Rotation by pitch/yaw/roll +
Get Rotation informations as pitch/yaw/roll

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
13 months ago[NUI] Fix svace issues
Xianbing Teng [Thu, 6 Apr 2023 13:08:16 +0000 (21:08 +0800)]
[NUI] Fix svace issues

13 months ago[NUI] Add a LoadContents API with byte array for WebView.
huayong.xu [Tue, 4 Apr 2023 09:20:03 +0000 (17:20 +0800)]
[NUI] Add a LoadContents API with byte array for WebView.

13 months ago[NUI] Use ModelNode for the child of Model
seungho baek [Fri, 31 Mar 2023 10:03:55 +0000 (19:03 +0900)]
[NUI] Use ModelNode for the child of Model

Signed-off-by: seungho baek <sbsh.baek@samsung.com>
13 months ago[NUI][AT-SPI] Promote DoAction implementation from CustomView to View
Artur Świgoń [Tue, 4 Apr 2023 11:59:36 +0000 (13:59 +0200)]
[NUI][AT-SPI] Promote DoAction implementation from CustomView to View

This is a follow-up to #5109 that enables controls derived from View,
but not CustomView, that use the ViewAccessibilityMode.Custom (e.g.
FluxView), to customize their behaviour related to the AT-SPI Action
interface.

The implementation of AccessibilityDoAction() and its helper methods
is moved up from CustomView to View. Note that the events that
AccessibilityDoAction invokes have already been declared at the View
level, in ViewAccessibilityEvent.cs (e.g. AccessibilityActivated), so
they do not have to be moved anywhere in this PR.

13 months ago[Tizen.Security] Deprecate GetPrivacyDisplayName() (#5148)
yl33 [Tue, 11 Apr 2023 03:44:54 +0000 (12:44 +0900)]
[Tizen.Security] Deprecate GetPrivacyDisplayName() (#5148)

13 months ago[Tizen.Content.Download] Update protection level to 'public' for CacheManager class...
akash1-kumar [Mon, 10 Apr 2023 02:20:24 +0000 (07:50 +0530)]
[Tizen.Content.Download] Update protection level to 'public' for CacheManager class (#5162)

Signed-off-by: Akash Kumar <akash1.kumar@samsung.com>
13 months ago[NUI] Add view helper API to rotate : LookAt
Eunki, Hong [Wed, 5 Apr 2023 01:55:44 +0000 (10:55 +0900)]
[NUI] Add view helper API to rotate : LookAt

Add helper API to rotate View
Note that this API change View's Orientation property

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months ago[NUI] Version up 22220
Hosang Kim [Wed, 5 Apr 2023 07:57:54 +0000 (16:57 +0900)]
[NUI] Version up 22220

13 months ago[NUI.Samples] Fix visual defect for SpringAnimationSample
Eunki, Hong [Wed, 5 Apr 2023 01:48:53 +0000 (10:48 +0900)]
[NUI.Samples] Fix visual defect for SpringAnimationSample

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months ago[NUI.Samples] Add sample for spring like animation
Eunki Hong [Mon, 3 Apr 2023 15:37:19 +0000 (00:37 +0900)]
[NUI.Samples] Add sample for spring like animation

Simple sample with custom alpha function

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
13 months ago[NUI][AT-SPI] Override ContentPage.AccessibilityGetName() (#5141)
Artur Świgoń [Mon, 3 Apr 2023 09:43:26 +0000 (11:43 +0200)]
[NUI][AT-SPI] Override ContentPage.AccessibilityGetName() (#5141)

ContentPage often serves as a default label in scenarios where Navigator is
used, so Screen Reader will ask ContentPage about the accessibility name (text
to read) when a Navigator page is pushed. Therefore, it makes sense to try to
provide the text from ContentPage.AppBar.Title (if it exists). The application
developer can always customize this by setting the AccessibilityName property
or adding an AccessibilityRelation.LabelledBy.

Co-authored-by: Artur Świgoń <a.swigon@samsung.com>
13 months ago[NUI] Introduce WindowLayoutType enum and SetLayout Method
Daekwang Ryu [Thu, 23 Mar 2023 08:41:59 +0000 (17:41 +0900)]
[NUI] Introduce WindowLayoutType enum and SetLayout Method

The new `SetLayout` method allows users to easily snap windows to specific positions and sizes.
This feature is allowing users to quickly arrange their windows in a convenient and efficient manner.

13 months ago[NUI] Remove regacy Interop files
Jiyun Yang [Fri, 31 Mar 2023 00:52:23 +0000 (09:52 +0900)]
[NUI] Remove regacy Interop files

* Button
* CheckBoxButton
* Popup
* ProgressBar
* PushButton
* RadioButton
* Slider
* ToggleButton
* Signals that are not removed in #5136

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
13 months agoAdd new cache APIs (#5088)
akash1-kumar [Mon, 3 Apr 2023 03:58:01 +0000 (09:28 +0530)]
Add new cache APIs (#5088)

* Add new APIs for cache.

Signed-off-by: Akash Kumar <akash1.kumar@samsung.com>
* Add new APIs for cache.

Signed-off-by: Akash Kumar <akash1.kumar@samsung.com>
* Change methods to C# properties for set/get APIs.

Signed-off-by: Akash Kumar <akash1.kumar@samsung.com>
* Add class 'CacheManager' for managing cache properties.

Signed-off-by: Akash Kumar <akash1.kumar@samsung.com>
* Update documentation: Add '<feature>' tag

Signed-off-by: Akash Kumar <akash1.kumar@samsung.com>
---------

Signed-off-by: Akash Kumar <akash1.kumar@samsung.com>
13 months ago[NUI] Fix typo
Jiyun Yang [Fri, 31 Mar 2023 07:14:26 +0000 (16:14 +0900)]
[NUI] Fix typo

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
13 months ago[NUI] Refactor Signal structure.
Jiyun Yang [Thu, 30 Mar 2023 04:26:07 +0000 (13:26 +0900)]
[NUI] Refactor Signal structure.

Previously, When NUI wanted to connect or disconnect a handler to the Signal,
it had to create a Signal instance just for it and dispose the instance right after.
Repeating this over and over again isn't cheap.
And also NUI had to declare many Signal classes with almost idential structures.

This patch provides Signal connection/disconnection pinvoke functions
to make it possible to remove redundant signal classes and instance creations.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
13 months ago[NUI] Fix size calculation for TextLabel with Margin in RelativeLayout
Jaehyun Cho [Wed, 29 Mar 2023 11:04:19 +0000 (20:04 +0900)]
[NUI] Fix size calculation for TextLabel with Margin in RelativeLayout

Previously, RelativeLayout calculated the size for TextLabel with Margin
incorrectly by calling MeasureChildWithMargins().
Because TextLabel size was decreased by its Margin size incorrectly.

Now, RelativeLayout calculates the size for TextLabel with Margin
correctly by calling MeasureChild().
Because TextLabel size is not decreased by its Margin size.

13 months ago[NUI] Fix signal bugs in View and Window
Jiyun Yang [Wed, 29 Mar 2023 10:31:03 +0000 (19:31 +0900)]
[NUI] Fix signal bugs in View and Window

* Do not try to disconnect callback unless the callback is not null.
* Ensure a signal has valid cptr before calling Connect/Disconnect.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
13 months ago[NUI] refactoring collectionView and Layouters for extended class (#5123)
SangHyeon Jade Lee [Wed, 29 Mar 2023 05:25:55 +0000 (14:25 +0900)]
[NUI] refactoring collectionView and Layouters for extended class (#5123)

* [NUI] refactoring collectionView and Layouters for extended class

to create customized collectionView and Layouters,
some properties must be extendable.
this change includes properties access modifier
which is internal or private to protected.

* [NUI] publize reyclerviewitem properties

* [NUI] fix item source getter more efficiently.

* [NUI] refactoring getter.

* [NUI] add GroupItems

* [NUI] fix build error

* [NUI] fix build error

* [NUI] change property overridable.

13 months ago[NUI] Add Font PreCache API to FontClient
Bowon Ryu [Mon, 27 Mar 2023 02:12:07 +0000 (11:12 +0900)]
[NUI] Add Font PreCache API to FontClient

This patch adds a new PreCache API to enable pre-caching of fonts
and improve the runtime performance of the application.

Pre-caching default fonts and fallback lists can enhance the responsiveness performance
by minimizing the calls to FcFontSort and FcFontMatch, during the early stages of boot-up.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
13 months ago[WebRTC] Change Stats enum value and add new enum value (#5117)
Haesu Gwon [Wed, 29 Mar 2023 08:14:41 +0000 (17:14 +0900)]
[WebRTC] Change Stats enum value and add new enum value (#5117)

* [WebRTC] Change Stats enum value and add new value in WebRTCStatisticsCategory enum

13 months ago[NUI] Version up 22219
Woochan Lee [Tue, 28 Mar 2023 06:25:54 +0000 (15:25 +0900)]
[NUI] Version up 22219

13 months ago[NUI] Register HitTest callback only if GrabTouchAfterLeave = true
Eunki, Hong [Tue, 28 Mar 2023 02:11:06 +0000 (11:11 +0900)]
[NUI] Register HitTest callback only if GrabTouchAfterLeave = true

Since useless HitTest checkup function make performance down for
standard cases, Let we make we use custom callback only if
GrabTouchAfterLeave case.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months ago[NUI] Add GetOverlayLayer in NUI window.
Eunki, Hong [Mon, 27 Mar 2023 13:25:22 +0000 (22:25 +0900)]
[NUI] Add GetOverlayLayer in NUI window.

This PR is FrontPort of #4922

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months ago[NUI][AT-SPI] Add ViewAccessibilityMode
Artur Świgoń [Mon, 20 Mar 2023 12:31:52 +0000 (13:31 +0100)]
[NUI][AT-SPI] Add ViewAccessibilityMode

The accessibility mode helps select the right Accessible implementation for
a given view. It does not affect controls derived from CustomView (or any of
its subclasses), e.g. Tizen.NUI.Components, which already behave in the custom
mode. The default mode is kept for Tizen.NUI.BaseComponents. However, this
patch add a possibility of opting into the custom mode for controls derived
directly from View (e.g. FluxView), and by doing so, to be able to implement
accessibility support for them in the C# language.

13 months ago[NUI] Refactor ButtonExtension
Jiyun Yang [Fri, 17 Mar 2023 04:53:15 +0000 (13:53 +0900)]
[NUI] Refactor ButtonExtension

* Rename some functions to better match the design intent.
* Extract Helper class to provide common methods used by multiple classes.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
13 months ago[NUI] DragAndDrop : allow to control shadow view opacity
Taehyub Kim [Wed, 22 Mar 2023 04:08:18 +0000 (13:08 +0900)]
[NUI] DragAndDrop : allow to control shadow view opacity

13 months ago[Connection] Fix race condition (#5113)
chleun-moon [Tue, 28 Mar 2023 07:23:27 +0000 (16:23 +0900)]
[Connection] Fix race condition (#5113)

* [Connection] Fix race condition

* Add locks

* Use lock objects

14 months ago[Packagemanager] Add APIs for internal (#4991)
jeremy-jang [Thu, 23 Mar 2023 06:48:16 +0000 (15:48 +0900)]
[Packagemanager] Add APIs for internal (#4991)

* [Packagemanager] Add APIs for internal

- Tizen.PackageManager.ActivatePackage()
- Tizen.PackageManager.DeactivatePackage()

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [Packagemanager] Fix return type of EnablePackage/DisablePackage

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
---------

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
14 months ago[NUI] Version up 22218
Wonsik Jung [Mon, 20 Mar 2023 10:26:06 +0000 (19:26 +0900)]
[NUI] Version up 22218

14 months ago[NUI] Add RotationCompletedAcknowledgement APIs
Wonsik Jung [Fri, 17 Mar 2023 01:18:08 +0000 (10:18 +0900)]
[NUI] Add RotationCompletedAcknowledgement APIs

Add RotationCompletedAcknowledgement APIs in Window.
The APIs are SetNeedsRotationCompletedAcknowledgement and SendRotationCompletedAcknowledgement

14 months ago[NUI] Remove unnecessary gesture events from DefaultBorder.
joogab.yun [Fri, 17 Mar 2023 07:51:50 +0000 (16:51 +0900)]
[NUI] Remove unnecessary gesture events from DefaultBorder.

14 months ago[NUI] fix svace issue. check Selected item existance.
EverLEEst(SangHyeon Lee) [Fri, 17 Mar 2023 05:57:37 +0000 (14:57 +0900)]
[NUI] fix svace issue. check Selected item existance.

14 months ago[NUI] Fix some SVACE issues.
huayong.xu [Thu, 16 Mar 2023 07:31:06 +0000 (15:31 +0800)]
[NUI] Fix some SVACE issues.

14 months ago[NUI] Change log info to debug in ThemeManager
Jiyun Yang [Wed, 15 Mar 2023 08:27:44 +0000 (17:27 +0900)]
[NUI] Change log info to debug in ThemeManager

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
14 months ago[NUI] Refactor NUI.ThemeManager
Jiyun Yang [Wed, 15 Mar 2023 07:58:12 +0000 (16:58 +0900)]
[NUI] Refactor NUI.ThemeManager

* Remove dependency: ExternalThemeManager -> ThemeManager

The NUI theme modules (ThemeManager and ExternalThemeManager) had dependencies
to each other and that did not meet "Seperation of concerns" principle.
This patch makes dependency direction one way: ThemeManager -> ExtenalThemeManager

* Add a sample application to verify functional regressions.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
14 months ago[NUI] AIAgentLayer : fix animation usage issue
Taehyub Kim [Wed, 15 Mar 2023 08:19:19 +0000 (17:19 +0900)]
[NUI] AIAgentLayer : fix animation usage issue

14 months ago[NUI] Load facial blendshape animation
Eunki, Hong [Tue, 14 Mar 2023 05:06:40 +0000 (14:06 +0900)]
[NUI] Load facial blendshape animation

Load facial blendshape animation from json format.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months ago[NUI.Gadget] Support Internationalization (#5091)
hjhun [Fri, 17 Mar 2023 04:29:24 +0000 (13:29 +0900)]
[NUI.Gadget] Support Internationalization (#5091)

* [NUI.Gadget] Add NUIGadgetResourceManager class

To support multilanguage, a new class is added.

Adds:
 - NUIGadgetResourceManager

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* [NUI.Gadget] Modify property & metadata name

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
---------

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>