platform/core/csapi/tizenfx.git
12 months ago[NUI] Supports to build ModelNode Tree
seungho baek [Tue, 7 Nov 2023 11:39:44 +0000 (20:39 +0900)]
[NUI] Supports to build ModelNode Tree

Signed-off-by: seungho baek <sbsh.baek@samsung.com>
12 months ago[NUI] Add FrontBufferRendering in WindowData (#5725)
Chihun Jeong [Tue, 7 Nov 2023 12:07:08 +0000 (21:07 +0900)]
[NUI] Add FrontBufferRendering in WindowData (#5725)

* [NUI] Add FrontBufferRendering in WindowData

* Add [EditorBrowsable(EditorBrowsableState.Never)] on every public value

---------

Co-authored-by: ANZ1217 <chihun.jeong@samsung.com>
12 months ago[System.Feedback] Add internal API to support get ids
Yunhee Seo [Wed, 8 Nov 2023 07:07:00 +0000 (16:07 +0900)]
[System.Feedback] Add internal API to support get ids

Allows getting feedback theme id array supported.

This is newly added to System.Feedback.
- public uint[] GetThemeIdsInternal(FeedbackType type)
     -> It returns the available id array defined in the conf file according to feedback type.

Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
12 months ago[System.Feedback] Change feedback theme api name index to id
Yunhee Seo [Wed, 8 Nov 2023 04:58:33 +0000 (13:58 +0900)]
[System.Feedback] Change feedback theme api name index to id

As policies dealing with feedback themes have changed from index to id-base selection,
API naming also changed from index to id.
Feedback themes are no longer treated sequentially, also not dependent on index.
It is managed through a unique id.

Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
12 months ago[Build] Modify the script that generates the TFM list (#5704)
JongHeonChoi [Mon, 13 Nov 2023 02:05:34 +0000 (11:05 +0900)]
[Build] Modify the script that generates the TFM list (#5704)

12 months ago[Applications.WidgetControl] Use Marshal.FreeHGlobal() instead of Lib… (#5629)
kilig [Mon, 13 Nov 2023 01:41:58 +0000 (10:41 +0900)]
[Applications.WidgetControl] Use Marshal.FreeHGlobal() instead of Lib… (#5629)

* [Applications.WidgetControl] Use Marshal.FreeHGlobal() instead of Libc.Free()

Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
* [Applications.Cion] Use Marshal.AllocHGlobal() instead of Libc.Malloc()

Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
---------

Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Co-authored-by: pjh9216 <jh9216.park@samsung.com>
12 months agoUpdate README.md
Jay Cho [Fri, 10 Nov 2023 05:54:37 +0000 (14:54 +0900)]
Update README.md

12 months agoUpdate README.md
Jay Cho [Fri, 10 Nov 2023 05:53:36 +0000 (14:53 +0900)]
Update README.md

12 months ago[TizenFX] Update nuspec dependencies (#5692)
Jay Cho [Wed, 8 Nov 2023 02:27:46 +0000 (11:27 +0900)]
[TizenFX] Update nuspec dependencies (#5692)

* Update nuspec dependencies

* Remove dependency for default TFM, net6.0-tizen

* Update targetFramework id properly

* Update the group sequence

12 months ago[Actions] Fix Deploy to push GitHub Packages (#5729)
Jay Cho [Wed, 8 Nov 2023 01:23:44 +0000 (10:23 +0900)]
[Actions] Fix Deploy to push GitHub Packages (#5729)

12 months ago[System] Add power internal APIs
Yunhee Seo [Thu, 2 Nov 2023 12:53:34 +0000 (21:53 +0900)]
[System] Add power internal APIs

Allows using native power internal APIs.

These are newly added to System/Device/Power
- public static void ConfirmWaitCallback(UInt64 wait_callback_id)
-> It informs the deviced that it is okay to take actual action to change state.
- public static void CancelWaitCallback(UInt64 wait_callback_id)
-> It informs the deviced of that it needs to undo the current transition.
- public static int ChangeState(PowerState state, int timeout_sec)
-> It Sends a request for changing power state asynchronously with timeout sec.
- public static int CheckRebootAllowed()
-> It checks if reboot is possible on the current device state.
- public static PowerTransitionReason GetWakeupReason()
-> It returns power wake up reason.
- public static PowerLockState GetLockState(PowerLock type)
-> It returns the status of power lock(locked/unlocked).

To notify callback event, 4 types EventHandler is added.
- public static event EventHandler<PowerStateChangeRequestEventArgs> StartStateChangeRequestCallback
- public static event EventHandler<PowerStateChangeRequestEventArgs> NormalStateChangeRequestCallback
- public static event EventHandler<PowerStateChangeRequestEventArgs> SleepStateChangeRequestCallback
- public static event EventHandler<PowerStateChangeRequestEventArgs> PoweroffStateChangeRequestCallback
- public static event EventHandler<PowerStateChangeRequestEventArgs> RebootStateChangeRequestCallback
- public static event EventHandler<PowerStateChangeRequestEventArgs> ExitStateChangeRequestCallback
-> With this eventhandler, it is possible to get event from ChangeState handling.
For example,
1. Add callback event to NormalStateChangeRequestCallback.
2. Request power state change with ChangeState(PowerState.Normal, timeout_sec)
3. After power state change request done, it returns result as invoke callback event.

- public static event EventHandler<PowerStateWaitEventArgs> StartStateWaitCallback
- public static event EventHandler<PowerStateWaitEventArgs> NormalStateWaitCallback
- public static event EventHandler<PowerStateWaitEventArgs> SleepStateWaitCallback
- public static event EventHandler<PowerStateWaitEventArgs> PoweroffStateWaitCallback
- public static event EventHandler<PowerStateWaitEventArgs> RebootStateWaitCallback
- public static event EventHandler<PowerStateWaitEventArgs> ExitStateWaitCallback
-> As adding event callback to above eventhandler, it is possible to get event
    when the power state changes to Specific Power state.
For example,
1. Add callback event to SleepStateWaitCallback.
2. When the power state changes to Sleep state, callback event will be invoked.

- public static event EventHandler<PowerTransientStateWaitEventArgs> TransientResumingEarlyStateWaitCallback
- public static event EventHandler<PowerTransientStateWaitEventArgs> TransientResumingStateWaitCallback
- public static event EventHandler<PowerTransientStateWaitEventArgs> TransientResumingLateStateWaitCallback
- public static event EventHandler<PowerTransientStateWaitEventArgs> TransientSuspendingEarlyStateWaitCallback
- public static event EventHandler<PowerTransientStateWaitEventArgs> TransientSuspendingStateWaitCallback
- public static event EventHandler<PowerTransientStateWaitEventArgs> TransientSuspendingLateStateWaitCallback
-> As adding event callback to above eventhandler, it is possible to get event
    during the power transition.
For example,
1. Add callback event to TransientResumingLateStateWaitCallback.
2. When the power transient state changes to ResumingLate state, callback event will be invoked.

- public static event EventHandler<PowerLockStateChangedEventArgs> CpuLockStateChangedCallback
- public static event EventHandler<PowerLockStateChangedEventArgs> DisplayNormalLockStateChangedCallback
- public static event EventHandler<PowerLockStateChangedEventArgs> DisplayDimLockStateChangedCallback
-> As adding event callback to above eventhandler, it is possible to get event
    when the power lock state is changed.
For example,
1. Add callback event to DisplayNormalLockStateChangedCallback.
2. When the DisplayNormal power lock state is changed, callback event will be invoked.

To use new APIs, below enumeration is also added.
- public enum PowerTransitionReason
-> It represents power transition reason
- public enum PowerState : uint
-> It represents power state.
- public enum PowerTransientState : uint
-> It represents power transient state.
- public enum PowerLockState
-> It represents power lock state locked or unlocked.

Detailed example, information is added to API/EventHandler/Enumeration definition.

Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
12 months ago[NUI] revert 'Make DaliAccessibilityDetachAccessibleObject called at main thread...
dongsug.song [Tue, 7 Nov 2023 04:15:01 +0000 (13:15 +0900)]
[NUI] revert 'Make DaliAccessibilityDetachAccessibleObject called at main thread' and check native object

12 months ago[Actions] Update token to fine-grained (#5716)
Jay Cho [Mon, 6 Nov 2023 13:56:12 +0000 (22:56 +0900)]
[Actions] Update token to fine-grained (#5716)

12 months ago[NUI] version up (22251)
dongsug.song [Mon, 6 Nov 2023 11:11:33 +0000 (20:11 +0900)]
[NUI] version up (22251)

12 months ago[NUI] Fix some SVACE issues.
zhouhao02 [Tue, 31 Oct 2023 05:11:23 +0000 (13:11 +0800)]
[NUI] Fix some SVACE issues.

12 months ago[NUI] Add a Window constructor using WindowData (#5708)
Chihun Jeong [Fri, 3 Nov 2023 01:41:09 +0000 (10:41 +0900)]
[NUI] Add a Window constructor using WindowData (#5708)

* [NUI] Add a Window constructor using WindowData

* Add Information about WindowData to the summary

---------

Co-authored-by: ANZ1217 <chihun.jeong@samsung.com>
12 months ago[NUI] Remove basehandle usage at Accessibility static
Eunki, Hong [Mon, 30 Oct 2023 05:17:31 +0000 (14:17 +0900)]
[NUI] Remove basehandle usage at Accessibility static

Since we try to resolve some unusual behavior of BaseHandle,
the dummyHandle in Accessibility can give us some confuse logs.

Actually, we don't need to hold it as BaseHandle type. we only need this
as object type. So, let we make it as object, instead of BaseHandle.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Resolve many problems relative with BaseHandle
Eunki, Hong [Tue, 31 Oct 2023 03:59:36 +0000 (12:59 +0900)]
[NUI] Resolve many problems relative with BaseHandle

 - Ensure to get 'already registered, or create new one' what we get item from DALi engine
 - Let we also ensure create only one items if we use static ::Get() API
 - Do not register to Registry if we copy the reference.
  - Remove some useless copy constructor.
 - Do not register to Registry if we create empty object.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Do not register when BaseHandle doesn't have body
Eunki, Hong [Thu, 2 Nov 2023 07:44:01 +0000 (16:44 +0900)]
[NUI] Do not register when BaseHandle doesn't have body

If BaseHandle doesn't have body, the refCPtr value is IntPtr.Zero.

If than, the various cases have wrong registration in future.

To avoid this case, let we ignore to register to registry, and
make BaseHandle.registerMe value as false.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Reinforce NUI Sample for window
Wonsik Jung [Mon, 30 Oct 2023 12:43:30 +0000 (21:43 +0900)]
[NUI] Reinforce NUI Sample for window

Reinforce NUI Sample for window.
It has the sample for testing  window function.

12 months ago[Multimedia] Fix ASAN crash issue (#5699)
Haesu Gwon [Mon, 6 Nov 2023 08:03:28 +0000 (17:03 +0900)]
[Multimedia] Fix ASAN crash issue (#5699)

* [Multimedia] Fix ASAN crash issue

12 months ago[Build] Create a dotnet library dir from the post script (#5711)
JongHeonChoi [Mon, 6 Nov 2023 00:45:03 +0000 (09:45 +0900)]
[Build] Create a dotnet library dir from the post script (#5711)

12 months ago[Build] Set the dotnet_core_runtime_version value to 6.0 (#5706)
JongHeonChoi [Mon, 6 Nov 2023 00:39:57 +0000 (09:39 +0900)]
[Build] Set the dotnet_core_runtime_version value to 6.0 (#5706)

12 months ago[NUI.WindowSystem] Add SetSecondarySelection and UnsetSecondarySelection to fix typo
Junseok Kim [Wed, 1 Nov 2023 05:27:06 +0000 (14:27 +0900)]
[NUI.WindowSystem] Add SetSecondarySelection and UnsetSecondarySelection to fix typo

Add new requests SetSecondarySelection and UnsetSecondarySelection to alternate requests
SetSecondarySelction and UnsetSecondarySelction that have typo.

After all caller that typo requests have been removed, the typo request have been removed.

12 months ago[Build] Fixed an error that could not find the dotnet_resolving.info file (#5702)
JongHeonChoi [Thu, 2 Nov 2023 01:50:15 +0000 (10:50 +0900)]
[Build] Fixed an error that could not find the dotnet_resolving.info file (#5702)

12 months ago[Build] the dotnet_resolving.info file has been renamed (#5687)
JongHeonChoi [Tue, 31 Oct 2023 05:46:06 +0000 (14:46 +0900)]
[Build] the dotnet_resolving.info file has been renamed (#5687)

12 months ago[Build] Create vconf related to .NET as a file in RO location (#5679)
JongHeonChoi [Tue, 31 Oct 2023 04:12:28 +0000 (13:12 +0900)]
[Build] Create vconf related to .NET as a file in RO location (#5679)

12 months ago[NUI] Version up nui22250
Taehyub Kim [Mon, 30 Oct 2023 12:18:25 +0000 (21:18 +0900)]
[NUI] Version up nui22250

12 months ago[NUI] Do not register when we try to copy same handle
Eunki, Hong [Mon, 30 Oct 2023 03:21:46 +0000 (12:21 +0900)]
[NUI] Do not register when we try to copy same handle

Since we register to registry by BaseObjectPtr(), it is impossible to
register duplicated handle.

So, actually, we have to deplicate copy BaseHandle constructor.
But for now, just make we don't register into registry now.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Make DaliAccessibilityDetachAccessibleObject called at main thread
Eunki, Hong [Mon, 30 Oct 2023 04:49:51 +0000 (13:49 +0900)]
[NUI] Make DaliAccessibilityDetachAccessibleObject called at main thread

void Dispose(bool) can be called from worker thread, when disposing value is false.

To ensure we detach AccessibileObject in main thread, let we remove it
at Dispose(DisposeTypes), instead of Dispose(bool).

To avoid this kind of error in future, let we remove View.Dispose(bool)
and let we only use Dispose(DisposeTypes).

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Detach NUIViewAccessible in View.Dispose()
Artur Świgoń [Thu, 19 Oct 2023 15:53:40 +0000 (17:53 +0200)]
[NUI] Detach NUIViewAccessible in View.Dispose()

The application may crash if the View is disposed but the Accessibility
infrastructure calls one of the View methods. Detaching the
NUIViewAccessible proxy object in View.Dispose() should prevent that.

12 months ago[NUI] Temperary revert exception throw at Registry.
Eunki, Hong [Mon, 30 Oct 2023 01:42:20 +0000 (10:42 +0900)]
[NUI] Temperary revert exception throw at Registry.

Until resolve all kind of apps fix wrong behavior,
let we just print error without exception.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Resolve DisposeRecursively crashed when we dispose scrollbase
Eunki, Hong [Fri, 27 Oct 2023 09:47:55 +0000 (18:47 +0900)]
[NUI] Resolve DisposeRecursively crashed when we dispose scrollbase

Due to some app's implements, ContentView can be disposed before ScrollBase
itself disposed. In this case, ContentView is not null.

So, when we try to call RemovePropertyNotification, it become crashed.

To avoid these cases, let we make DisposeRecursively API makes more safety.

And also, fix some crash issue in PerformanceTest1Page.xaml.cs what
can be problem in future.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Make it works on net6.0
Eunki Hong [Thu, 26 Oct 2023 16:48:39 +0000 (01:48 +0900)]
[NUI] Make it works on net6.0

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Make NativeImageQueue generate valid url
Eunki Hong [Thu, 26 Oct 2023 10:42:44 +0000 (19:42 +0900)]
[NUI] Make NativeImageQueue generate valid url

Previously NativeImageQueue.GenerateUrl() binded to
invalid csharp API.

It will make some crash. So let we use valid bind API instead.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Add KeepWidgetSize for control widget's size
sunghyun kim [Thu, 26 Oct 2023 02:30:58 +0000 (11:30 +0900)]
[NUI] Add KeepWidgetSize for control widget's size

WidgetView keep widget instance's size and don't resize even if WidgetView is resized.

12 months ago[NUI] Version up nui22249
Eunki, Hong [Wed, 25 Oct 2023 07:32:47 +0000 (16:32 +0900)]
[NUI] Version up nui22249

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Change Accessibility.cs don't use net6.0 specific function
Eunki, Hong [Tue, 24 Oct 2023 08:26:26 +0000 (17:26 +0900)]
[NUI] Change Accessibility.cs don't use net6.0 specific function

Let we minimize the net core dependency

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Fix some SVACE issues.
zhouhao02 [Wed, 11 Oct 2023 06:05:52 +0000 (14:05 +0800)]
[NUI] Fix some SVACE issues.

12 months ago[NUI] Make View.TooltipText return valid value
Eunki, Hong [Wed, 18 Oct 2023 07:16:27 +0000 (16:16 +0900)]
[NUI] Make View.TooltipText return valid value

Let we remove useless error message + Make getter return valid setting value
for View.TooltipText property.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI.Components] Remove build warning for Control.Preload()
Eunki Hong [Tue, 24 Oct 2023 14:20:08 +0000 (23:20 +0900)]
[NUI.Components] Remove build warning for Control.Preload()

We implement View.Preload() API now. So compiler can feel dizzy
which one is Control.Preload() should do.

To avoid this compilation warning, let we add 'new' keyword for it.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Supports to set/get full screen sized window
Wonsik Jung [Tue, 24 Oct 2023 07:22:16 +0000 (16:22 +0900)]
[NUI] Supports to set/get full screen sized window

To support set/get full screen sized window.
The full screen sized window means the window is resized with screen size.
In addition, this window is the z-order is the highest.

12 months ago[NUI] Preload some static values
Eunki, Hong [Tue, 24 Oct 2023 01:47:09 +0000 (10:47 +0900)]
[NUI] Preload some static values

Since C# initialize static values when that namespace / class access first time,
We need to access some static values at static Preload() timing.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI.Scene3D] Bug fix when we get ModelNode from Model
Eunki, Hong [Mon, 23 Oct 2023 02:50:27 +0000 (11:50 +0900)]
[NUI.Scene3D] Bug fix when we get ModelNode from Model

Since View constructor automatically change 'PositionUsesPivotPoint' value as false,
some logic might changed when we Register ModelNode newly.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Flush action implement for LottieAnimationView
Eunki, Hong [Tue, 24 Oct 2023 02:55:19 +0000 (11:55 +0900)]
[NUI] Flush action implement for LottieAnimationView

Implement Flush action. It will be used when user
want to ensure the Lottie property changed applied sequencly.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Public RemoveBinding and ClearBinding apis
Xianbing Teng [Tue, 17 Oct 2023 10:49:49 +0000 (18:49 +0800)]
[NUI] Public RemoveBinding and ClearBinding apis

12 months ago[NUI] Add an API to set offset for drag window
Taehyub Kim [Wed, 18 Oct 2023 11:07:38 +0000 (20:07 +0900)]
[NUI] Add an API to set offset for drag window

12 months ago[NUI] Make AddFrameUpdateCallback with root view
Eunki, Hong [Wed, 18 Oct 2023 06:17:35 +0000 (15:17 +0900)]
[NUI] Make AddFrameUpdateCallback with root view

Previously, we can only add the root view of FrameUpdateCallback as
root layer of window.

Now let we add some API that user can set specific view
for given FrameUpdateCallback will use.

This API will be used when we want to optimize callback behaviour.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Resolve registry issue for RenderTaskList
Eunki, Hong [Tue, 17 Oct 2023 06:24:58 +0000 (15:24 +0900)]
[NUI] Resolve registry issue for RenderTaskList

After patch #5595 merged, there was some hidden bugs occured.
This PR is one of portential bug fix.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Fix the SVACE issue.
zhouhao02 [Tue, 17 Oct 2023 02:29:02 +0000 (10:29 +0800)]
[NUI] Fix the SVACE issue.

12 months ago[NUI.Wearable] Remove build warning
Eunki Hong [Sun, 15 Oct 2023 01:13:11 +0000 (10:13 +0900)]
[NUI.Wearable] Remove build warning

- Add comment for public API
- Remove some unused private value/method

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
12 months ago[NUI][AT-SPI] Fix Accessibility.Say interop (#5612)
Artur Świgoń [Mon, 16 Oct 2023 09:31:42 +0000 (11:31 +0200)]
[NUI][AT-SPI] Fix Accessibility.Say interop (#5612)

This is one of the oldest interops and was actually problematic for
multiple reasons; the return type didn't match and the third parameter
was expected to have exactly the same value in every invocation. While
fixing these issues, parsing the status string was moved from C++ to C#
for readability.

Co-authored-by: Artur Świgoń <a.swigon@samsung.com>
12 months ago[NUI] Resolve registry issue for CanvasView Gradient
Eunki, Hong [Fri, 13 Oct 2023 04:40:56 +0000 (13:40 +0900)]
[NUI] Resolve registry issue for CanvasView Gradient

Since we always try to register to Registry for Gradient case,
there can make some error for Shape use case.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Fix Registry exception for custom view wrapper
Eunki Hong [Thu, 12 Oct 2023 14:24:45 +0000 (23:24 +0900)]
[NUI] Fix Registry exception for custom view wrapper

1. PanGesture from Accessibility create new handle in
dali csharp side. We need to have memory ownership, but
don't need to register it on NUI side. We can ignore it.

2. For Animation and StyleManager, it is possible to use
that 'already registered' BaseHandle. But in this case,
we should not dispose it by our self.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Resolve TextLable build warning
Eunki Hong [Thu, 12 Oct 2023 14:51:41 +0000 (23:51 +0900)]
[NUI] Resolve TextLable build warning

Reference documents : https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/xmldoc/

To refer to XML elements (for example, your function processes specific XML elements that you want to describe in an XML documentation comment), you can use the standard quoting mechanism (&lt; and &gt;).

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Add TextFitArray
Bowon Ryu [Tue, 10 Oct 2023 02:20:47 +0000 (11:20 +0900)]
[NUI] Add TextFitArray

Add a new function to satisfy the UX that
operates TextFit by considering the PointSize and MinLineSize of the text.

For example, TextFit should be able to find the one that
fits among [PointSize 24 + MinLineSize 40] or [PointSize 28 + MinLineSize 44].

But the previous TextFit only considers PointSize.

TextFitArray can solve this problem,
and this implemented it to respond to additional requirements without modifying the API.

https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/299557/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/299690/

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
12 months ago[NUI] revert default key construct
joogab.yun [Tue, 10 Oct 2023 07:51:35 +0000 (16:51 +0900)]
[NUI] revert default key construct

refer : https://github.com/Samsung/TizenFX/pull/5589/

12 months ago[NUI] bug fixed about cMemoryOwn
joogab.yun [Tue, 10 Oct 2023 05:00:31 +0000 (14:00 +0900)]
[NUI] bug fixed about cMemoryOwn
refer : https://github.com/Samsung/TizenFX/pull/5603

12 months ago[NUI] Consider WeakReference resurrection at Registry.
Eunki Hong [Sun, 8 Oct 2023 07:22:56 +0000 (16:22 +0900)]
[NUI] Consider WeakReference resurrection at Registry.

Since NUI use DisposeQueue system instead of GC directly,
the lifecycle of WeakReference may need to be alive more times.

If we make trackResurrection as false, WeakReference.Target
become null when the item is in DisposeQueue.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] BaseHandle without Registry but own memory
Eunki Hong [Sun, 8 Oct 2023 07:02:42 +0000 (16:02 +0900)]
[NUI] BaseHandle without Registry but own memory

There are some usecase s.t. we have to call ReleaseSwigCPtr
but don't want register to Registry.

For example, PixelBuffer and PixelData dont need to be create
only for main thread.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Remove build warnings
Eunki Hong [Sun, 8 Oct 2023 07:32:54 +0000 (16:32 +0900)]
[NUI] Remove build warnings

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Fix some SVACE issues related to methods of Marshal.
zhouhao02 [Sun, 8 Oct 2023 01:21:10 +0000 (09:21 +0800)]
[NUI] Fix some SVACE issues related to methods of Marshal.

12 months ago[NUI] Fix some SVACE issues of null reference.
zhouhao02 [Sun, 8 Oct 2023 09:23:08 +0000 (17:23 +0800)]
[NUI] Fix some SVACE issues of null reference.

12 months ago[NUI] Let registry throw exception at error case
Eunki, Hong [Tue, 26 Sep 2023 06:25:43 +0000 (15:25 +0900)]
[NUI] Let registry throw exception at error case

Let we throw exception if same object try to register.

Moreover, let we print more useful callstack if we got unmatched case.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI] Fix some SVACE issues.
zhouhao02 [Wed, 27 Sep 2023 03:03:30 +0000 (11:03 +0800)]
[NUI] Fix some SVACE issues.

12 months ago[Bluetooth] Fix ASAN crash issue (#5624)
Wootak Jung [Tue, 24 Oct 2023 03:04:31 +0000 (12:04 +0900)]
[Bluetooth] Fix ASAN crash issue (#5624)

- Use g_free for data allocated by g_malloc

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
12 months ago[System.Information] Use Marshal.FreeHGlobal() instead of Libc.Free()
Seung-Woo Kim [Wed, 18 Oct 2023 05:31:40 +0000 (14:31 +0900)]
[System.Information] Use Marshal.FreeHGlobal() instead of Libc.Free()

Use Marshal.FreeHGlobal() instead of Libc.Free() for ASAN
environment. Also, remove not any more used Libc.Free() Interop.

In ASAN environment, because Interop uses dlopen(), newly opended
libc causes different libc/asan alloc context from already allocaed
buffer, and it gives segment fault crash when calling Libc.Free().

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
12 months ago[WiFi] Fix ASAN crash (#5631)
Seonah Moon [Fri, 20 Oct 2023 04:23:50 +0000 (13:23 +0900)]
[WiFi] Fix ASAN crash (#5631)

* [WiFi] Fix ASAN crash

* [WiFi] Use Marshal.FreeHGlobal()

---------

Co-authored-by: chleun-moon <32117100+chleun-moon@users.noreply.github.com>
12 months ago[System.Feedback] Add feedback theme index range description
Yunhee Seo [Thu, 19 Oct 2023 04:37:28 +0000 (13:37 +0900)]
[System.Feedback] Add feedback theme index range description

The index of sound theme range is 1 ~ N according to conf file.
This index range should be considered when using feedback theme index getter/setter.

Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
12 months ago[Nsd] Fix ASAN crash (#5632)
Seonah Moon [Wed, 18 Oct 2023 08:04:48 +0000 (17:04 +0900)]
[Nsd] Fix ASAN crash (#5632)

12 months agoUse Marshal.FreeHGlobal() instead of Libc.Free() (#5636)
hjhun [Wed, 18 Oct 2023 05:38:58 +0000 (14:38 +0900)]
Use Marshal.FreeHGlobal() instead of Libc.Free() (#5636)

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
12 months ago[Connection] Fix ASAN crash issue (#5625)
Seonah Moon [Tue, 17 Oct 2023 07:16:24 +0000 (16:16 +0900)]
[Connection] Fix ASAN crash issue (#5625)

12 months agoDeprecating Tizen.Messaging.Messages APIs (#5593)
k-jaju [Tue, 17 Oct 2023 06:57:03 +0000 (12:27 +0530)]
Deprecating Tizen.Messaging.Messages APIs (#5593)

Signed-off-by: Krishna Kant Jaju <krishna.jaju@samsung.com>
Co-authored-by: randeepsingh01 <49635973+randeepsingh01@users.noreply.github.com>
12 months agoChange visibility of NUIGadgetResourceManager ctor (#5626)
hjhun [Tue, 17 Oct 2023 04:47:29 +0000 (13:47 +0900)]
Change visibility of NUIGadgetResourceManager ctor (#5626)

The visibility of NUIGadgetResourceManager(NUIGadgetInfo info) is
changed to public.

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
12 months agoUse Marshal.FreeHGlobal() instead of Libc.Free() (#5628)
hjhun [Tue, 17 Oct 2023 04:40:33 +0000 (13:40 +0900)]
Use Marshal.FreeHGlobal() instead of Libc.Free() (#5628)

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
13 months agoDeprecating Tizen.Messaging.Email APIs (#5596)
priyakohl [Mon, 16 Oct 2023 11:37:35 +0000 (17:07 +0530)]
Deprecating Tizen.Messaging.Email APIs (#5596)

* Deprecating Tizen.Messaging.Email APIs

Signed-off-by: Priya Kohli <priya.kohli@samsung.com>
* Added using System

Signed-off-by: Priya Kohli <priya.kohli@samsung.com>
* Modified Note

Signed-off-by: Priya Kohli <priya.kohli@samsung.com>
---------

Signed-off-by: Priya Kohli <priya.kohli@samsung.com>
Co-authored-by: randeepsingh01 <49635973+randeepsingh01@users.noreply.github.com>
13 months ago[System.Feedback] Add new feedback_pattern
Yunhee Seo [Thu, 12 Oct 2023 07:44:39 +0000 (16:44 +0900)]
[System.Feedback] Add new feedback_pattern

Below feedback pattern is supported by mapping feedback pattern id number.
- FEEDBACK_PATTERN_WELCOME
- FEEDBACK_PATTERN_AUTO_DOOR_OPEN

Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
13 months ago[Tdbc] Fix UpdateHookCallback released issue (#5528)
ChangGyu Choi [Thu, 12 Oct 2023 00:13:23 +0000 (09:13 +0900)]
[Tdbc] Fix UpdateHookCallback released issue (#5528)

The issue is that if you don't keep a reference to the UpdateHookCallback,
it may be garbage collected before it is used.

UpdateHookCallback should be referenced during used this.

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Co-authored-by: pjh9216 <jh9216.park@samsung.com>
13 months agoDeprecating Tizen.Location.Geofence APIs (#5598)
priyakohl [Wed, 11 Oct 2023 05:38:12 +0000 (11:08 +0530)]
Deprecating Tizen.Location.Geofence APIs (#5598)

* Deprecating Tizen.Location.Geofence APIs

Signed-off-by: Priya Kohli <priya.kohli@samsung.com>
* Removing type

Signed-off-by: Priya Kohli <priya.kohli@samsung.com>
* Indentation fixes

Signed-off-by: Priya Kohli <priya.kohli@samsung.com>
* Modified Note

Signed-off-by: Priya Kohli <priya.kohli@samsung.com>
---------

Signed-off-by: Priya Kohli <priya.kohli@samsung.com>
Co-authored-by: randeepsingh01 <49635973+randeepsingh01@users.noreply.github.com>
13 months agoUpdate README.md
Jay Cho [Tue, 10 Oct 2023 05:08:41 +0000 (14:08 +0900)]
Update README.md

13 months agoUpdate README.md
Jay Cho [Tue, 10 Oct 2023 05:05:46 +0000 (14:05 +0900)]
Update README.md

13 months agoAdd API12 Update pkg
Jay Cho [Fri, 6 Oct 2023 09:38:09 +0000 (18:38 +0900)]
Add API12 Update pkg

13 months agoAdd API12
Jay Cho [Thu, 5 Oct 2023 04:32:50 +0000 (13:32 +0900)]
Add API12

13 months ago[NUI] fix IME window crash issue
dongsug.song [Tue, 26 Sep 2023 09:39:21 +0000 (18:39 +0900)]
[NUI] fix IME window crash issue

13 months ago[NUI] Let we don't dispose cached LastEvents
Eunki, Hong [Tue, 26 Sep 2023 02:51:06 +0000 (11:51 +0900)]
[NUI] Let we don't dispose cached LastEvents

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months ago[NUI] Implement defaut key construct
Eunki Hong [Mon, 25 Sep 2023 16:22:41 +0000 (01:22 +0900)]
[NUI] Implement defaut key construct

Let we use default key creation API if we only need to use
empty key handle.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
13 months ago[NUI] Do not registry last event items who get retrieved
Eunki, Hong [Mon, 25 Sep 2023 05:38:22 +0000 (14:38 +0900)]
[NUI] Do not registry last event items who get retrieved

Since we change BaseObject internally when we use
Interop.Window.InternalRetrievingLast~~~Event(~~) function.

This behaviour might occure some error cases when we use
Registry system.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months ago[NUI] Version Update (22245)
Jiyun Yang [Mon, 25 Sep 2023 06:21:14 +0000 (15:21 +0900)]
[NUI] Version Update (22245)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
13 months agoAdd VisualFactory.UsePrecompiledShader()
seungho baek [Mon, 25 Sep 2023 03:16:45 +0000 (12:16 +0900)]
Add VisualFactory.UsePrecompiledShader()

Signed-off-by: seungho baek <sbsh.baek@samsung.com>
13 months ago[NUI] Add widget list for keeping widget instance
sunghyun kim [Mon, 25 Sep 2023 04:38:06 +0000 (13:38 +0900)]
[NUI] Add widget list for keeping widget instance

widget need to keep it's instance

13 months ago[NUI] Binding DispatchTouchMotion and DispatchHoverMotion
joogab.yun [Thu, 21 Sep 2023 06:25:39 +0000 (15:25 +0900)]
[NUI] Binding DispatchTouchMotion and DispatchHoverMotion

These determine whether to send touch and hover motion events or not.
This is used when the user does not want to receive motion events.

13 months ago[NUI] Add HoverEvent in Window
joogab.yun [Mon, 28 Aug 2023 06:10:16 +0000 (15:10 +0900)]
[NUI] Add HoverEvent in Window

Window window = NUIApplication.GetDefaultWindow();
window.HoverEvent += OnHover;

private void OnHover(object source, Window.HoverEventArgs e)
{
  // e.Hover.GetState(0); // PointStateType.Motion;
}

13 months ago[NUI] bug fixed about windowPointerConstraintsEventCallback
joogab.yun [Wed, 20 Sep 2023 08:10:21 +0000 (17:10 +0900)]
[NUI] bug fixed about windowPointerConstraintsEventCallback

13 months ago[NUI.WindowSystem] Add new request of KVM Service
Junseok Kim [Wed, 30 Aug 2023 07:23:02 +0000 (16:23 +0900)]
[NUI.WindowSystem] Add new request of KVM Service

Add new request of KVM Service as below:
 - ReceiveDragData: Request to get current drag data.
 - CancelDrag: Request to cancel current drag.

13 months ago[NUI.WindowSystem] Introduce the new InputGenerate feature
Junseok Kim [Thu, 14 Sep 2023 05:07:47 +0000 (14:07 +0900)]
[NUI.WindowSystem] Introduce the new InputGenerate feature

13 months ago[NUI.Scene3D] Fix MotionData TCT error
Eunki, Hong [Tue, 19 Sep 2023 13:43:45 +0000 (22:43 +0900)]
[NUI.Scene3D] Fix MotionData TCT error

Fix unmatched function binding

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoDragAndDrop : hide window event handler
Taehyub Kim [Mon, 18 Sep 2023 10:10:28 +0000 (19:10 +0900)]
DragAndDrop : hide window event handler

13 months ago[NUI] Version Update (22244)
Seoyeon Kim [Mon, 18 Sep 2023 08:41:18 +0000 (17:41 +0900)]
[NUI] Version Update (22244)

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
13 months ago[NUI] DragAndDrop : Add APIs for Window
Taehyub Kim [Fri, 15 Sep 2023 04:25:05 +0000 (13:25 +0900)]
[NUI] DragAndDrop : Add APIs for Window

14 months ago[System.Feedback] Add new feedback_pattern to support general feedback patterns
Yunhee Seo [Thu, 14 Sep 2023 08:07:49 +0000 (17:07 +0900)]
[System.Feedback] Add new feedback_pattern to support general feedback patterns

To support general feedback patterns, newly patterns are added.
With these string pattern, it is possible to use mapped feedback patterns from libfeedback.

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