Clarik [Fri, 19 Apr 2024 08:08:45 +0000 (15:08 +0700)]
Scrollable changes
dongsug.song [Fri, 19 Apr 2024 03:21:44 +0000 (12:21 +0900)]
[NUI] Add IsUsingXaml flag in properties of View and AnimatedVectorImageView
Clarik [Fri, 19 Apr 2024 06:25:06 +0000 (13:25 +0700)]
[NUI] LottieAnimationViewBindableProperty changes (#6076)
Clarik [Thu, 18 Apr 2024 07:47:44 +0000 (14:47 +0700)]
[NUI] BindableProperty ImageView
ImageViewBindableProperty changes
joogab.yun [Mon, 22 Apr 2024 02:20:18 +0000 (11:20 +0900)]
[NUI] Change the SetTime of Touch from ulong to uint.
hjhun [Wed, 17 Apr 2024 23:21:51 +0000 (08:21 +0900)]
[NUI.Gadget] Support Unload() method to release assembly (#6073)
* [NUI.Gadget] Support Unload() method to release assembly
To release loaded assembly, the Unload() method is added.
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Set nullptr to NUIGadgetInfo.NUIGadgetAssembly
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
---------
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
hjhun [Wed, 17 Apr 2024 06:19:11 +0000 (15:19 +0900)]
[NUI.Gadget] Fix NUIGadgetResourceManager (#6069)
If getting the resource manager is failed, the NUIGadgeResourceManager
tries to get the resource manager from the TwoLetterISOLanguageName of
the CultureInfo.
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
dongsug.song [Mon, 8 Apr 2024 12:19:16 +0000 (21:19 +0900)]
[NUI] Add IsUsingXaml at NUIWidgetApplication and change AnimatedVectorImageView's property
Jaehyun Cho [Mon, 15 Apr 2024 08:11:38 +0000 (17:11 +0900)]
[NUI] Fix View to use control-accessible State::SENSITIVE
In dali-toolkit, control-accessible's State::SENSITIVE has been modified
from Actor::Property::SENSITIVE to IsHittable() && GetTouchRequired().
Unlike control-accessible, NUI View's custom Accessibility state of
Sensitive still refers Actor::Property::SENSITIVE.
So NUI View with ViewAccessibilityMode.Default's Accessibility state of
Sensitive refers IsHittable() && GetTouchRequired().
In contrast, NUI View with ViewAccessibilityMode.Custom's Accessibility
state of Sensitive refers Actor::Property::SENSITIVE.
To make them have same Sensitive value, NUI View's custom Accessibility
state of Sensitive is modified to use the value from control-accessible.
Xianbing Teng [Mon, 1 Apr 2024 11:02:01 +0000 (19:02 +0800)]
[NUI] Fix svace issue of buffer exceed size
Xianbing Teng [Mon, 1 Apr 2024 08:25:13 +0000 (16:25 +0800)]
[NUI] Fix svace issue of buffer exceed size
joogab.yun [Mon, 1 Apr 2024 08:17:26 +0000 (17:17 +0900)]
[NUI] Add SetTime in Touch
refer:
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-core/+/308797/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/308798/
Junseok Kim [Fri, 26 Jan 2024 13:35:11 +0000 (22:35 +0900)]
[NUI.WindowSystem] Add new API GetSourceMimetypes of KVMService
KVMService.GetSourceMimetypes() returns mimetype list that current drag source offered.
Haesu Gwon [Tue, 2 Apr 2024 07:32:22 +0000 (16:32 +0900)]
[MediaVision] Prevent GC of object including unmanaged handle (#6045)
joogab.yun [Thu, 28 Mar 2024 05:36:13 +0000 (14:36 +0900)]
[NUI] Add SetTapMaximumMotionAllowedDistance
refer
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-core/+/308601/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/308602/
Unsung Lee [Wed, 27 Mar 2024 06:51:24 +0000 (15:51 +0900)]
[Tizen.System.Storage] Register eventhandler if it is already existed
Register event handler in the class Storage if eventhandler is already existed.
If at least one event handler is already registered,
the API returns the storage state from a variable within the class.
Otherwise, it retrieves the status externally.
In the previous implementation, an event handler was only registered within class Storage
when it was registered for each storage ID,
and no event handler was registered within class Storage when it was registered by storage type.
As a result of that, when the USB (or SD card) was removed,
it attempted to obtain the state from outside and provided incorrect information
to the application because there is no storage already removed.
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
Jaehyun Cho [Fri, 29 Mar 2024 03:49:57 +0000 (12:49 +0900)]
[NUI] Fix LottieAnimationView not to reference disposed delegate
Delegate rootCallback of LottieAnimationView is called by multi threads
for lottie dynamic properties.
This causes the following issues.
- Delegate rootCallback of disposed LottieAnimationView can be
referenced.
- Local variables in RootCallback is disposed by multi threads.
To resolve the above issues, the followings are done.
- Delegate rootCallback of LottieAnimationView is changed to be static.
- Local variables in RootCallback is not disposed.
Jiyun Yang [Thu, 21 Mar 2024 05:21:32 +0000 (14:21 +0900)]
[NUI] WeakEvent : Modify invoke param type
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Jiyun Yang [Mon, 18 Mar 2024 11:13:14 +0000 (20:13 +0900)]
[NUI] Move WeakEvent to public and remove unused WeakEventHandler class
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
dongsug.song [Mon, 18 Mar 2024 09:21:39 +0000 (18:21 +0900)]
[NUI] Add IsUsingXaml
dongsug.song [Fri, 15 Mar 2024 13:55:06 +0000 (22:55 +0900)]
[WIP][NUI] Add IsUsingXaml
Eunki Hong [Fri, 19 Jan 2024 01:28:11 +0000 (10:28 +0900)]
[NUI][API11] Fix some memory leak codes what already fixed at API12
Let we backport some minor memory leak resolve PR what we already merged.
This PR squash 4 different patches.
---
Fix some incorrect implements when we get Texture relative items
Since now we have a unified pattern to avoid memory leak problem
between NUI and Native side handle count problem,
Let we change some mis-implementated codes relative with Texture.
(Follow PR #5892)
Add some remarks at BaseHandle class about Dispose
(Follow PR #5893)
Resolve memory leak for DisposeTest sample
There was leak issue since we don't call FreeHGlobal after AllocHGlobal.
And also, let we Dispose Renderer / Geometry / Shader / TextureSet what NUI create.
Those classes memory might give confuse when we test the memory.
(Follow PR #5895)
Call Mashal.FreeHGlobal() what we allocated
Let we free allocated heap memory by Mashal.
It might cause memory leak issue if user try to use VertexBuffer.
And also, let we also fix FrameBrokerBase implementation
that might be the guideline who want to use custom Geometry class.
(Follow PR #5902)
Jiyun Yang [Thu, 14 Mar 2024 04:22:05 +0000 (13:22 +0900)]
[NUI] WeakEvent : Improve clean-up condition
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
dongsug.song [Tue, 12 Mar 2024 09:22:14 +0000 (18:22 +0900)]
[NUI] Add DisableBindableProperty and VoiceInteractionName as hidden APIs
zhouhao [Mon, 26 Feb 2024 05:18:19 +0000 (13:18 +0800)]
[NUI] Fix SVACE issue of null in ViewStyle.
Yelin Jeong [Tue, 5 Dec 2023 08:04:19 +0000 (17:04 +0900)]
[NoACR][MachineLearning.Inference] Fix bug using wrong handle
This patch fixes the bug which use wrong handle.
GetTensorsCount should use TensorsInfo handle instead of TensorsData handle.
Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
Jiyun Yang [Wed, 21 Feb 2024 11:22:42 +0000 (20:22 +0900)]
[NUI] Fix WeakEvent bugs
* Checks that target object is explicitly disposed but not collected yet before invoke
* Consider list item removal/addition while traversing for invoke
* WeakHandler Equal method works well in static case
* Cleanup dead handlers not everytime
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
joogab.yun [Thu, 22 Feb 2024 05:02:50 +0000 (14:02 +0900)]
[NUI] Add backendMode to the DirectRenderingGLView constructor.
refer code :
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-core/+/306186/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/305990/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/306191/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-demo/+/305991/
huayong.xu [Thu, 8 Feb 2024 03:30:27 +0000 (11:30 +0800)]
[NUI][API11] Fix a SVACE issue.
Haesu Gwon [Tue, 20 Feb 2024 04:48:17 +0000 (13:48 +0900)]
[MediaContent] Add missing deprecation description (#5956)
Haesu Gwon [Tue, 20 Feb 2024 04:37:57 +0000 (13:37 +0900)]
[Camera] Fix CameraDeviceManager bug (#5958)
Eunki, Hong [Thu, 15 Feb 2024 06:31:17 +0000 (15:31 +0900)]
[NUI][API11] Fix error if LottieAnimationView set BackgroundData before set URL
Since LottieAnimationView.URL property change whole Visual property by itself, CornerRadius / Borderline properties become ignored when we set URL.
```
lav = new LottieAnimationView();
lav.CornerRadius = new Vector4(100.0f, 100.0f, 100.0f, 100.0f);
lav.URL = "~~~.json"; ///< CornerRadius information ignored.
```
To avoid this case, let we ensure to set CornerRadius / Borderline if we set URL
Same PR with #5951
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
joogab.yun [Tue, 6 Feb 2024 07:02:08 +0000 (16:02 +0900)]
[NUI] Enable relayout only when layout is set for the layer.
If you do not check this, all views on layers that do not have a layout set will be searched unnecessarily.
Eunki, Hong [Mon, 8 Jan 2024 09:01:41 +0000 (18:01 +0900)]
[NUI] Allow to call FrameUpdate callback return value
DALi's FrameUpdateCallback have interface whether we need to update scene or not.
Previously, we always return it as false.
It might make some render / update timing issue when App is paused.
To make ensure whether we need to update scene or not,
Let we override the new API that app can control the return value.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
huayong.xu [Fri, 2 Feb 2024 11:32:06 +0000 (19:32 +0800)]
[NUI][API11] Add a WebView API for notifying orientation change.
ilho159kim [Wed, 31 Jan 2024 09:46:08 +0000 (18:46 +0900)]
[Packagemanager] Fix SetPackageManagerEventStatus (#5930)
Since native API internally unregister event and register event
so fix it to actually set event only when necessary
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Eunki, Hong [Tue, 30 Jan 2024 11:12:55 +0000 (20:12 +0900)]
[NUI] Support FrameUpdateCallback get world transform
Let we bind some more codes that UpdateProxy in dali side already supported.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Jiyun Yang [Tue, 30 Jan 2024 05:02:50 +0000 (14:02 +0900)]
[NUI] Add methods to modify base theme for fhub and fix bugs
* Add ThemeManager.AppendBaseTheme : It enables outer package to modify base theme
* Add SharedResourcePathExtension for xaml supporting
* Fix the bug that broken images in a theme always overwrite existing settings
* Fix the bug that cloning a view style losts SolidNull information.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
hjhun [Fri, 26 Jan 2024 05:35:32 +0000 (14:35 +0900)]
[NUI.Gadget] Remove Unload() method (#5917)
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
hjhun [Fri, 26 Jan 2024 00:12:33 +0000 (09:12 +0900)]
[NUI.Gadget] Change assembly load mothod (#5913)
- Use LoadFromNativeImagePath() instead of LoadFromStream()
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
hjhun [Thu, 25 Jan 2024 04:03:43 +0000 (13:03 +0900)]
[NUI.Gadget] Modify NUIGadget implementation (#5911)
The mount path is changed to the directory path of the executable file.
The environment variable related to resource package IDs is changed to
"GADGET_PKGIDS".
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Jaehyun Cho [Wed, 24 Jan 2024 09:44:22 +0000 (18:44 +0900)]
[NUI] Fix LinearLayout to update its child's MeasuredSizeHeight 0 correctly
LinearLayout updates its child's MeasuredSizeWidth 0 correctly but it
does not update its child's MeasuredSizeHeight 0 due to the range typo.
The range typo has been fixed so child's MeasuredSizeHeight 0 is also
handled correctly.
hjhun [Wed, 24 Jan 2024 04:25:23 +0000 (13:25 +0900)]
[NUI.Gadget] Implement Unload() method (#5898)
To unload the loaded assembly, NUIGadgetManager.Unload() method is
added.
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Jiyun Yang [Thu, 18 Jan 2024 06:58:36 +0000 (15:58 +0900)]
[NUI] Do not check theme applied flag when set ThemeChangeSensitive
New theme can affect to the views that were not affected by previous theme.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
akash1-kumar [Tue, 9 Jan 2024 07:19:43 +0000 (12:49 +0530)]
[Tizen.Network.WiFi] Add APIs for multi-scanning (#5870)
Signed-off-by: Akash Kumar <akash1.kumar@samsung.com>
Xianbing Teng [Mon, 8 Jan 2024 06:56:58 +0000 (14:56 +0800)]
[NUI] Fix svace issue of Marshal.Copy
zhouhao [Fri, 5 Jan 2024 07:46:33 +0000 (15:46 +0800)]
[NUI] Fix some SVACE issues.
Eunki, Hong [Fri, 5 Jan 2024 10:35:35 +0000 (19:35 +0900)]
[NUI.Scene3D] Revert "Add AddLight API"
Revert #5854 PR. We'd better found more good way to fix this issue.
This reverts commit
0cb799167b61395984ee1da9d647f326aad852fa.
Eunki Hong [Wed, 3 Jan 2024 16:44:02 +0000 (01:44 +0900)]
[NUI] Do not recreate visual when we change ImageColor only
Since we don't need to re-create the visual if we only chage the ImageColor property,
let we use UpdateProperty Action.
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Bowon Ryu [Fri, 29 Dec 2023 06:06:24 +0000 (15:06 +0900)]
[NUI] Fix text padding issue
This patch solves the problem that text with padding does not work in nui layout.
For text components, the control's padding is used to calculatie size in native,
so it should not be set to zero value.
This avoids setting padding to zero when it comes to text layout.
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Eunki Hong [Sun, 31 Dec 2023 01:35:16 +0000 (10:35 +0900)]
[NUI] Support NativeImageQueue creation with queue count
Let we allow to create NativeImageQueue with queue count.
Previously, we only allow to create the NativeImageQueue based on the environment value "DALI_TBM_SURFACE_QUEUE_SIZE".
(This value is 3 as default)
It will be useful if some user want to reduce the queue count for some cases, not for whole queue.
relative DALi patches :
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-adaptor/+/303523
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-csharp-binder/+/303524
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
sunghyun kim [Thu, 30 Nov 2023 03:48:29 +0000 (12:48 +0900)]
[NUI] Add EnableFrameCache in LottieAnimationView
Eunki, Hong [Tue, 2 Jan 2024 09:09:36 +0000 (18:09 +0900)]
[NUI.Scene3D] Add AddLight API
Let we make new API for Light class for SceneView.
Note : To avoid the changness of native side code minimalize, let we use
internal API of NUI.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Haesu Gwon [Tue, 2 Jan 2024 05:50:47 +0000 (14:50 +0900)]
[MediaVision] Change feature key of inference face recognition (#5803)
* [MediaVision] Change feature key of inference face recognition
Jaehyun Cho [Wed, 27 Dec 2023 04:15:30 +0000 (13:15 +0900)]
[NUI] Fix Navigator to support Page with Transitions
Previously, PushWithTransition and PopWithTransition did not support
Page. It supported either ContentPage or DialogPage.
Now, PushWithTransition and PopWithTransition supports Page as well.
Eunki, Hong [Wed, 27 Dec 2023 00:10:29 +0000 (09:10 +0900)]
[NUI][API11] NUI version up (nui22304)
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Thu, 14 Dec 2023 02:44:43 +0000 (11:44 +0900)]
[NUI] Initialize C# items if required
We have create ProcessorController constructor without initalize as default.
If NUI core want to change this policy, we can initialize at constructor time.
But this case code has some error. It didn't create C# side objects and only create
native side.
Let we make constructor with initialize works well now.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
seungho baek [Wed, 6 Dec 2023 06:33:49 +0000 (15:33 +0900)]
[NUI.Scene3D] Add DepthIndex in Material
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Xianbing Teng [Mon, 18 Dec 2023 12:03:31 +0000 (20:03 +0800)]
[NUI] Fix svace issue of Marshal.Copy
Bowon Ryu [Mon, 18 Dec 2023 10:27:33 +0000 (19:27 +0900)]
[NUI] Add AnchorColor Property
AnchorColor(or AnchorClickedColor) property is
used as the default color of the markup anchor tag.
If there is a color attribute in the markup anchor tag,
the markup attribute takes precedence.
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/302984/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/302985/
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Eunki Hong [Mon, 18 Dec 2023 10:28:23 +0000 (19:28 +0900)]
[NUI][API11] NUI Version up (nui22303)
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Mon, 18 Dec 2023 07:23:21 +0000 (16:23 +0900)]
[NUI] Revert dispose synchronously logic when APP is not started
We add some logic to dispose items when application created & disposed
before application initialized.
But some app just have some issue when some thread dependency items disposed
before application started.
To avoid this cases, let we block dispose sync logic and revert we always
dispose queue ensure in main thread.
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Taehyub Kim [Tue, 12 Dec 2023 09:48:48 +0000 (18:48 +0900)]
[NUI] DragAndDrop : Allow to get mimetype for Enter and Move events
Eunki, Hong [Mon, 11 Dec 2023 05:55:54 +0000 (14:55 +0900)]
[NUI][API11] NUI Version up (nui22302)
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 11 Dec 2023 04:21:42 +0000 (13:21 +0900)]
[NUI] Add API for ProcessController without Initialize
To keep the backword stability, let we use previous API (CSharp_Dali_new_ProcessorController) call Initialize internally
and new API (CSharp_Dali_new_ProcessorController_Without_Initialize) will not call this.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 11 Dec 2023 03:09:39 +0000 (12:09 +0900)]
[NUI] Make we flush DisposeQueue before app start
If we don't call DisposeQueue.Instance.Initialize(), it might not flush
the dispose queue.
Before #5806 and until currently, we didn't allow to call ProcessDisposables()
before Initialize(). It might occure memory leak if app try to create & dispose
unlimitly before Application start.
To make ensure it, let we make ProcessDisposables() API can be called even if
DisposeQueue is not initialized.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Thu, 7 Dec 2023 16:59:37 +0000 (01:59 +0900)]
[NUI] Skip text getter when Text never setted before
If we never set text into TextLabel before, the result of Text propert getter is always empty.
To avoid useless C# - native network, let we just ignore text getter function if we can assume that previous text was empty.
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Thu, 7 Dec 2023 16:59:37 +0000 (01:59 +0900)]
[NUI] Make ensure ImageView._resourceUrl is latest
Previous code didn't assume that _resourceUrl value of ImageView was not a latest.
- If we set ImageView by ```Image``` property, the _resourceUrl was updated when cached map updating.
- When we try to get ResourceUrl gettor, we ask to cached map always.
But PropertyValue.Get(out string) might spend long time if the URL length is long.
It will make useless string copy, what we can reduce.
Now We make every logic make ensure that _resourceUrl stored valid resource url.
If this is validated, we can reduce some C# - Native networking.
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Wed, 6 Dec 2023 17:36:44 +0000 (02:36 +0900)]
[NUI.Scene3D] Remove build warning
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Wed, 6 Dec 2023 16:12:33 +0000 (01:12 +0900)]
[NUI] Dispose queue incrementally
Let we dispose IDisposable incrementally, not immediately.
It will reduce the main thread blocking during Dispose by GC.
To make the behavior didn't changed as before, let we make
FullGC as defalt. And turn on incremental GC feature if someone need.
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
urmain [Wed, 6 Dec 2023 08:45:10 +0000 (17:45 +0900)]
Fix defect that is detected by static analisys tool (#5805)
There is a portential problem with the code involving the variable 'e.OldItems'.
This variable is the result of a method invocation, and the tool is warning that the method
might return a null value, which can cause deferencing a null reference.
It might cause to crash or behave unpredictably.
Therefore, to prevent this, the variable 'e.OldItems' should be checked if it is null or not before use.
jeremy-jang [Wed, 6 Dec 2023 06:19:43 +0000 (15:19 +0900)]
[Packagemanager] Fix Tizen.Applications.Package for performance (#5794)
Adjust lazy initialization on DependencyFrom, Certificate property.
These properties need additional IPC platform internally, so make these
property initialized lazily for performance.
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
joogab.yun [Tue, 5 Dec 2023 06:14:52 +0000 (15:14 +0900)]
[NUI] Add log for ClearFocus
zhouhao02 [Fri, 17 Nov 2023 08:26:02 +0000 (16:26 +0800)]
[NUI] Fix some SVACE issues.
seungho baek [Thu, 30 Nov 2023 02:18:55 +0000 (11:18 +0900)]
[NUI.Scene3D] Add SetResolution method to SceneView
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
zhouhao02 [Fri, 1 Dec 2023 06:07:21 +0000 (14:07 +0800)]
[NUI] Fix some SVACE issues.
Adam Bialogonski [Thu, 16 Nov 2023 09:50:22 +0000 (09:50 +0000)]
[NUI][API11] Added collider mesh support
Model.SetColliderMesh() function allows creating and setting a collider mesh on the node of model.
Node of model is selected by name (string).
Collider mesh data consists:
List<Vector3> - list of vertices
List<int> - list of indices (3 indices are a triangle face)
Modify issue
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
seungho baek [Tue, 21 Nov 2023 07:27:01 +0000 (16:27 +0900)]
[NUI.Scene3D][API11] Support RootTranslationOnly option for motion capture data
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Wootak Jung [Mon, 4 Dec 2023 22:55:52 +0000 (07:55 +0900)]
[Bluetooth] Fix BluetoothProfileType enum mismatch issue (#5788)
BluetoothProfileType enum does not match native bt_profile_e enum.
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
joogab.yun [Mon, 27 Nov 2023 04:24:01 +0000 (13:24 +0900)]
[NUI] Add DispatchWheelEvents and DispatchPrentWheelEvents
If DispatchWheelEvents sets false, view will not receive any WheelEvent including own.
If DispatchPrentWheelEvents sets false, the parent view does not receive WheelEvent.
joogab.yun [Mon, 20 Nov 2023 06:29:19 +0000 (15:29 +0900)]
[NUI] Change the default color of the border.
Eunki, Hong [Fri, 24 Nov 2023 07:08:55 +0000 (16:08 +0900)]
[NUI.Scene3D][API11] Attach matched interop linker for RemoveModelPrimitive
Match valid native API for RemoveModelPrimitive
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Haesu Gwon [Tue, 21 Nov 2023 08:35:32 +0000 (17:35 +0900)]
[Multimedia] Fix rotation issue for portrait mode (#5766)
Haesu Gwon [Tue, 21 Nov 2023 08:04:06 +0000 (17:04 +0900)]
[Multimedia] Fix to set window size properly (#5763)
Haesu Gwon [Mon, 6 Nov 2023 08:03:28 +0000 (17:03 +0900)]
[Multimedia] Fix ASAN crash issue (#5699)
* [Multimedia] Fix ASAN crash issue
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>
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>
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>
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>
seungho baek [Wed, 15 Nov 2023 14:21:42 +0000 (23:21 +0900)]
[NUI] Add ModelPivotPoint property
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Eunki, Hong [Wed, 15 Nov 2023 02:24:23 +0000 (11:24 +0900)]
[NUI][API11] Version up 22252
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Tue, 14 Nov 2023 15:39:16 +0000 (00:39 +0900)]
[NUI] Remove old frame range if we set marker + Minor fix up when marker invalid
LottieAnimationView cache both frame range as int, and marker.
But two API set same property - PlayRange.
So if some code like below thing was not working well
```
// Let "marker" frame range is 10~20
lottieView.SetMinMaxFrame(30, 40); // play range become 30~40
lottieView.SetMinMaxFrameByMarker(marker); // play range become 10~20
lottieView.SetMinMaxFrame(30, 40); // play range need to be 30~40 again, but it didn't due to the cache.
```
To avoid like above case, let we clean cache explicit parameter.
Also, Let we add some more error check if app use invalid marker
(Lottie file not loaded, or marker is invalid.)
In this case, let we just follow minMaxSetTypes.NotSetByUser logic then.
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 14 Nov 2023 08:17:11 +0000 (17:17 +0900)]
[NUI.Scene3D] Fix exception when ModelNode don't have ModelNode as child
If ModelNode don't have ModelNod as child, it might have
some null handle exception when we DownCast to ModelNode.
(For example, user try to get child ModelNode, but failed.)
Currently, a lots of app don't consider ModelNode now. But in future
we might need to add something under each ModelNode.
To make Scene3D more safety, let we check null or invalidate,
and then get/set the value internally.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dongsug.song [Tue, 14 Nov 2023 13:14:33 +0000 (22:14 +0900)]
[NUI] Add AliveCount property to get currently alived View number
Eunki, Hong [Tue, 14 Nov 2023 03:53:06 +0000 (12:53 +0900)]
[NUI] Support EncodedImageBuffer ImageType property + Upgrade EncodedImageBuffer demo
Let we allow to give the type of buffer s.t. what buffer is mean.
We can load svg and lottie image as encoded image buffer now.
+
Let we make EncodedImageBuffer can be created at worker thread.
And make the demo to load buffer asynchronously.
This patch have dependency with below dali patch :
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-csharp-binder/+/301314
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 14 Nov 2023 09:25:53 +0000 (18:25 +0900)]
[NUI] Change SetMinAndMaxFrameByMarker behavior + Fix some async cases
Let we allow to call SetMinAndMaxFrameByMarker API even if load is not finished.
Instead, let we just call some log if the file is not loaded yet.
Plus, Some API (GetContentInfo, GetMarkerInfo) might cache wrong values
when we use async load
Before try to get correct value, let we check whether the resource is
loaded or not.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Fri, 10 Nov 2023 07:53:52 +0000 (16:53 +0900)]
[NUI] DetachAccessibleObject at Dispose time well
There was several problem when we call DaliAccessibilityDetachAccessibleObject
at Dispose(bool) function
- It will detach accessibility even if view doesn't owned the handle memory
- Dispose(bool) can be called at worker thread (during GC) so we need to check thread here
I make to DaliAccessibilityDetachAccessibleObject function at Dispose(DisposeTypes)
that we can ensure it called at main thread clearly.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Fri, 10 Nov 2023 10:37:15 +0000 (19:37 +0900)]
[NUI] Fix TotalFrame getter bug when async load
There was some bug when we try to get TotalFrame when async load json file.
DALi engine side default total frame number is 0, and NUI is -1.
So, if we try to get TotalFrame from dali which is still loading, it will
cache the internal total frame as 0. After than, we can never get valid value.
To avoid this problem, we have 2 choice
1. Wait until async load finished, and then get total frame at dali side.
2. Just get 0 for now, and try again when total frame cached as 0.
Solution 1 need some time to resolve it. So now just make 2.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Chihun Jeong [Fri, 10 Nov 2023 08:35:09 +0000 (17:35 +0900)]
Add Front Buffer Rendering Sample (#5735)
Co-authored-by: ANZ1217 <chihun.jeong@samsung.com>
Eunki, Hong [Thu, 9 Nov 2023 07:46:28 +0000 (16:46 +0900)]
[NUI] Remove build warning due to unusing API
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>