platform/core/csapi/tizenfx.git
16 months ago[NUI] update NUI.XamlBuild.dll
송동석/Tizen Platform Lab(SR)/삼성전자 [Tue, 14 Feb 2023 07:52:06 +0000 (16:52 +0900)]
[NUI] update NUI.XamlBuild.dll

16 months ago[NUI] Prevent NullReferenceException when creating TextLabel
Jiyun Yang [Fri, 27 Jan 2023 05:26:59 +0000 (14:26 +0900)]
[NUI] Prevent NullReferenceException when creating TextLabel

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
16 months ago[NUI] Fix Picker's HeightSpecification
Jaehyun Cho [Thu, 9 Feb 2023 07:12:49 +0000 (16:12 +0900)]
[NUI] Fix Picker's HeightSpecification

Previously, HeightSpecifications of Picker, DatePicker, TimePicker are
MatchParent.
So the Pickers' SizeHeights are calculated based on their parent's
SizeHeight.
This causes the recursive size calculation problem if Picker's parent
has WrapContent HeightSpecification. (e.g. Dialog)

Now, the Pickers' SizeHeights are set in DefaultThemeCommon as follows.
Picker's SizeHeight is set in DefaultThemeCommon.
DatePicker's Pickers SizeHeights are set in DefaultThemeCommon.
TimePicker's Pickers SizeHeights are set in DefaultThemeCommon.

Therefore, Picker does not need to have MatchParent HeightSpecification.

16 months ago[NUI] Fix to use SizeHeight instead of Size with width 0
Jaehyun Cho [Wed, 1 Feb 2023 07:28:52 +0000 (16:28 +0900)]
[NUI] Fix to use SizeHeight instead of Size with width 0

Previously, although users sets size with width 0, the width is updated
by dali's size calculation (e.g. text calculation) instead of width 0
set by user.

The following patch fixed the above bug.
8033b0ed4a31ebcd9449c2e0c98074247502c9be

By applying the above patch, some size assignment in theme should be
fixed to set size height instead of size with width 0.

16 months ago[NUI.Gadget] Fix static analysis issue (#4969)
hjhun [Tue, 7 Feb 2023 02:52:11 +0000 (11:52 +0900)]
[NUI.Gadget] Fix static analysis issue (#4969)

Checker:
 - DEREF_OF_NULL

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
17 months ago[Applications.Common] Fix getting default locale (#4966)
hjhun [Fri, 3 Feb 2023 08:25:01 +0000 (17:25 +0900)]
[Applications.Common] Fix getting default locale (#4966)

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
17 months ago[NUI] Disable compiler warnings complaining about theme off in TV profile
Jiyun Yang [Fri, 3 Feb 2023 01:21:17 +0000 (10:21 +0900)]
[NUI] Disable compiler warnings complaining about theme off in TV profile

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
17 months ago[NUI][API10] Fix some SVACE issue
huayong.xu [Thu, 2 Feb 2023 07:31:47 +0000 (15:31 +0800)]
[NUI][API10] Fix some SVACE issue

17 months ago[NUI] Fix PropertyNotification & PanGestureDetector svace issues
Xianbing Teng [Wed, 18 Jan 2023 07:53:31 +0000 (15:53 +0800)]
[NUI] Fix PropertyNotification & PanGestureDetector svace issues

17 months ago[NUI] Revive View constructor with style working again in TV
Jiyun Yang [Wed, 1 Feb 2023 23:33:03 +0000 (08:33 +0900)]
[NUI] Revive View constructor with style working again in TV

And hide PROFILE_TV flags to make clear code

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
17 months ago[NUI.Gadget] Add NUIGadget class for inhouse developers (#4957)
hjhun [Thu, 2 Feb 2023 04:33:36 +0000 (13:33 +0900)]
[NUI.Gadget] Add NUIGadget class for inhouse developers (#4957)

* [NUI.Gadget] Add NUIGadget class for inhouse developers (#4935)

* Implement NUIGadget

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Adjust project file

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

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

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Remove dll unload

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Remove unnecessary file

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Update sln file

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Add missing dependencies

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Add a missing property

The type is added.

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

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

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Check return type of Assembly.CreateInstance()

This patch uses 'as' keyword to check the instance type.
If it's not NUIGadget, the return value will be null.
In that case, the Add() method throws an exception.

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Add abstract keyword to NUIGadget class

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Modify Create() method of NUIGadget

If the Create() method returns 'false', the Add() method of NUIGadgetManager
throws an exception.

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Use CoreApplication.Post() instead of TizenUISynchronzationContext.Post()

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Change API version to 10

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

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
17 months ago[NUI][XamlBuild][API10] Fix namespace confused issue.
huayong.xu [Tue, 31 Jan 2023 09:09:08 +0000 (17:09 +0800)]
[NUI][XamlBuild][API10] Fix namespace confused issue.

17 months ago[NUI] Fix NUI button not working when style disabled
Jiyun Yang [Mon, 30 Jan 2023 09:58:35 +0000 (18:58 +0900)]
[NUI] Fix NUI button not working when style disabled

There was a flag that prevent state updating while applying style.
But the flag seemed to have a bug : when style is disabled, the state updating is never going to be done.

This patch fixes the bug and changes the flag's name to be more contextual: styleApplied -> styleApplying.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
17 months agoMake it ineligible for garbage collection for delegate (#4949)
hjhun [Wed, 1 Feb 2023 02:58:43 +0000 (11:58 +0900)]
Make it ineligible for garbage collection for delegate (#4949)

This patch is to prevent the delegate garbage collected.

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
17 months ago[NUI][Scene3D][API10] FBO MultiSamplingLevel Property for SceneView
Eunki, Hong [Fri, 27 Jan 2023 07:41:42 +0000 (16:41 +0900)]
[NUI][Scene3D][API10] FBO MultiSamplingLevel Property for SceneView

Backporting PR of #4937

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
17 months ago[NUI][API10] Fix dispose timing error for ImageUrl
Eunki Hong [Sun, 29 Jan 2023 08:14:03 +0000 (17:14 +0900)]
[NUI][API10] Fix dispose timing error for ImageUrl

Since we update ImageView lazy, ImageUrl's lifecycle might not matched
what user think.

```
ImageUrl imageUrl = ~~~.GenerateUrl();
ImageView imageView = new ImageView(imageUrl.ToString());
imageUrl.Dispose(); ///< We should allow this situation.
```

To make scene, We allow to call UpdateImage(); synchoronously
if we use GeneratedUrl().

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
17 months ago[NUI][Scene3D][API10] Fix memory leak issue for Model's Animation
Eunki Hong [Sat, 28 Jan 2023 14:19:21 +0000 (23:19 +0900)]
[NUI][Scene3D][API10] Fix memory leak issue for Model's Animation

Since we create new handle at csharp binder, we should call DeleteHandle function.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
17 months ago[NUI] Window resizing is performed in one step if possible.
joogab.yun [Wed, 18 Jan 2023 05:43:41 +0000 (14:43 +0900)]
[NUI] Window resizing is performed in one step if possible.

17 months ago[NUI] Fix bug where window size didn't change when borderline was dynamically changed.
joogab.yun [Wed, 18 Jan 2023 02:09:58 +0000 (11:09 +0900)]
[NUI] Fix bug where window size didn't change when borderline was dynamically changed.

17 months ago[NUI][API10] Load bvh file
Eunki, Hong [Tue, 13 Dec 2022 12:33:30 +0000 (21:33 +0900)]
[NUI][API10] Load bvh file

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
17 months agoRemove log prints in the thread (#4921)
hjhun [Wed, 25 Jan 2023 08:02:31 +0000 (17:02 +0900)]
Remove log prints in the thread (#4921)

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
17 months ago[NUI] Add GetOverlayLayer in NUI window.
seungho baek [Wed, 25 Jan 2023 05:07:05 +0000 (14:07 +0900)]
[NUI] Add GetOverlayLayer in NUI window.

 - The overlay layer is rendered at the end of rendering order

Signed-off-by: seungho baek <sbsh.baek@samsung.com>
17 months ago[NUI] Add an API for create,window event.
huayong.xu [Thu, 5 Jan 2023 06:18:33 +0000 (14:18 +0800)]
[NUI] Add an API for create,window event.

17 months ago[XamlBuild] Fix extents convert issue
Xianbing Teng [Tue, 22 Nov 2022 09:38:55 +0000 (17:38 +0800)]
[XamlBuild] Fix extents convert issue

17 months ago[NUI] Modify TabContent to help customizing class
Jaehyun Cho [Thu, 3 Nov 2022 08:09:00 +0000 (17:09 +0900)]
[NUI] Modify TabContent to help customizing class

To help application to customize TabContent, some methods and properties
have been modified.

18 months ago[NUI] Support Device orientation and window orientation event.
Wonsik Jung [Thu, 5 Jan 2023 08:04:01 +0000 (17:04 +0900)]
[NUI] Support Device orientation and window orientation event.

Supporting  Device orientation and Window Orienation event
when device orientation is changed or window orientation is changed.
Window orientation event is emitted by display server.
To emit the Window Orientation event, AddAvailableOrientation()
or SetPreferredOrientation() should be called before the device is rotated.
Otherwise, Device Orientation event is emitted by Application framework
and any condition is not needed.

18 months ago[NUI][API10] Reorder DeleteBaseHandle and SwigCPtrCopy = null;
Eunki, Hong [Thu, 29 Dec 2022 09:34:07 +0000 (18:34 +0900)]
[NUI][API10] Reorder DeleteBaseHandle and SwigCPtrCopy = null;

Now HasBody() become false during DeleteBaseHandle() emitted signals

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
18 months ago[Bluetooth] Fix overflow issue (#4872)
Wootak Jung [Wed, 28 Dec 2022 04:45:11 +0000 (13:45 +0900)]
[Bluetooth] Fix overflow issue (#4872)

18 months ago[NUI] fix testhub fail, Add Dispose() in BaseHandle.Reset() where the body was delete...
dongsug.song [Tue, 27 Dec 2022 09:37:24 +0000 (18:37 +0900)]
[NUI] fix testhub fail, Add Dispose() in BaseHandle.Reset() where the body was deleted in previous patch

18 months ago[NUI][SVACE] Fix svace(DF221214-00106) issue.
guowei.wang [Mon, 26 Dec 2022 06:22:29 +0000 (14:22 +0800)]
[NUI][SVACE] Fix svace(DF221214-00106) issue.

18 months ago[NUI] Add GetRenderThreadId() as hidden API
dongsug.song [Mon, 26 Dec 2022 12:26:23 +0000 (21:26 +0900)]
[NUI] Add GetRenderThreadId() as hidden API

18 months agoUpdate README.md
Kangho Hur [Mon, 26 Dec 2022 10:11:59 +0000 (19:11 +0900)]
Update README.md

18 months ago[NUI] fix testhub crash issue
dongsug.song [Fri, 23 Dec 2022 01:59:26 +0000 (10:59 +0900)]
[NUI] fix testhub crash issue

18 months ago[NUI] make BaseHandle.Reset() not work
dongsug.song [Fri, 16 Dec 2022 07:01:02 +0000 (16:01 +0900)]
[NUI] make BaseHandle.Reset() not work

- this came from native dali and it is not propriate for nui.
- it makes BaseHandle's reference count as 0, but this action could cause memory leak in nui side.
- in nui side, calling Dispose() explicitly or doing nothing to delegate disposing action to the DisposeQueue is recommended.

18 months ago[Camera] Fix bugs for ExtraPreview (#4858)
Haesu Gwon [Fri, 23 Dec 2022 01:04:24 +0000 (10:04 +0900)]
[Camera] Fix bugs for ExtraPreview (#4858)

* [Camera] Fix bugs for ExtraPreview

* [Camera] Fix bugs

18 months ago[NUI] Support sub node's Animation
seungho [Thu, 17 Nov 2022 06:29:04 +0000 (15:29 +0900)]
[NUI] Support sub node's Animation

Signed-off-by: seungho <sbsh.baek@samsung.com>
18 months agoRevert "[NUI] fix the defect that the focus of VitualRemote App is stuck very rarely"
dongsug.song [Thu, 15 Dec 2022 02:03:12 +0000 (11:03 +0900)]
Revert "[NUI] fix the defect that the focus of VitualRemote App is stuck very rarely"

This reverts commit 0017dd0e49ffbc78d8c51c6f068afd6e8fdbc8d0.

18 months ago[NUI] fix the defect that the focus of VitualRemote App is stuck very rarely
dongsug.song [Wed, 14 Dec 2022 18:09:54 +0000 (03:09 +0900)]
[NUI] fix the defect that the focus of VitualRemote App is stuck very rarely

18 months ago[NUI] make Theme not be loaded in tv profile
dongsug.song [Tue, 13 Dec 2022 03:38:10 +0000 (12:38 +0900)]
[NUI] make Theme not be loaded in tv profile

18 months ago[NUI] Fix svace issue (DFDF221207-00724).
guowei.wang [Thu, 8 Dec 2022 13:56:37 +0000 (21:56 +0800)]
[NUI] Fix svace issue (DFDF221207-00724).

18 months ago[NUI] Fix WidthSpecification and HeightSpecification not to set Size2D
Eunki, Hong [Fri, 9 Dec 2022 04:29:48 +0000 (13:29 +0900)]
[NUI] Fix WidthSpecification and HeightSpecification not to set Size2D

We don't need to change the width value when we try to set the height.
Also, widthPolicy might not matched with SizeWidth when we use NUI.Animation

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
18 months ago[NUI][API10] Animated view's size cache into NUI
Eunki, Hong [Thu, 8 Dec 2022 14:10:49 +0000 (23:10 +0900)]
[NUI][API10] Animated view's size cache into NUI

When view's size animated, the DALi known size and NUI stored size
(mean, userSizeWidth and widthPolicy like) will not be matched.

If NUI use fixed size policy (mean, It "May" not use NUI.Layout system
so can use animation feature.) Let we make NUI keep dali-side size's information
and keep it.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
18 months ago[NUI] Not set style in PROFILE_TV
dongsug.song [Thu, 8 Dec 2022 14:11:18 +0000 (23:11 +0900)]
[NUI] Not set style in PROFILE_TV

18 months ago[NUI] fix for PROFILE_TV to be defined and be applied
dongsug.song [Thu, 8 Dec 2022 13:19:48 +0000 (22:19 +0900)]
[NUI] fix for PROFILE_TV to be defined and be applied

19 months ago[NUI] set default theme for TV profile
dongsug.song [Wed, 7 Dec 2022 23:51:00 +0000 (08:51 +0900)]
[NUI] set default theme for TV profile

19 months ago[NUI] FocusIndicator is not used in TV profile so it can be removed to reduce launchi...
dongsug.song [Wed, 7 Dec 2022 03:04:00 +0000 (12:04 +0900)]
[NUI] FocusIndicator is not used in TV profile so it can be removed to reduce launching delay

19 months ago[Applications.Common] Fix race condition issue (#4803)
ChangGyu Choi [Mon, 5 Dec 2022 05:55:23 +0000 (14:55 +0900)]
[Applications.Common] Fix race condition issue (#4803)

* [Applications.Common] Fix race condition issue

Signed-off-by: ChangGyu Choi <uppletaste@gmail.com>
* Add lock for each callback API

Signed-off-by: ChangGyu Choi <uppletaste@gmail.com>
Signed-off-by: ChangGyu Choi <uppletaste@gmail.com>
19 months agoCall ToLower() and ToUpper() (#4800)
hjhun [Mon, 5 Dec 2022 03:09:30 +0000 (12:09 +0900)]
Call ToLower() and ToUpper() (#4800)

To improve the performance of calling ToLower() and ToUpper(), the thread
prints logs.

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
19 months ago[Packagemanager] Use ToLowerInvariant instead of ToLower (#4795)
jeremy-jang [Fri, 2 Dec 2022 09:30:46 +0000 (18:30 +0900)]
[Packagemanager] Use ToLowerInvariant instead of ToLower (#4795)

ToLower can cause unexpected error when system is busy.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
19 months ago[NUI] fix to be able to set null to AnimatedVectorImageView.ResoureUrl property
dongsug.song [Tue, 29 Nov 2022 03:45:12 +0000 (12:45 +0900)]
[NUI] fix to be able to set null to AnimatedVectorImageView.ResoureUrl property

19 months ago[NUI] Use smaller NearPlaneDistance and bigger FarPlaneDistance during CameraTransiti...
seungho baek [Tue, 22 Nov 2022 07:37:46 +0000 (16:37 +0900)]
[NUI] Use smaller NearPlaneDistance and bigger FarPlaneDistance during CameraTransition of SceneView

 - To do not cull fragments during camera transition

Signed-off-by: seungho baek <sbsh.baek@samsung.com>
19 months ago[NUI] Remove useless macros
dongsug.song [Tue, 22 Nov 2022 07:28:02 +0000 (16:28 +0900)]
[NUI] Remove useless macros

19 months ago[NUI] Add ScreenPositionSize (#4759)
JoogabYun [Fri, 18 Nov 2022 06:58:07 +0000 (15:58 +0900)]
[NUI] Add ScreenPositionSize (#4759)

The ScreenPositionSize api gets the screen position and size.

19 months ago[NUI] Add Desktop WindowType (#4746)
JoogabYun [Mon, 14 Nov 2022 06:47:37 +0000 (15:47 +0900)]
[NUI] Add Desktop WindowType (#4746)

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

19 months ago[NUI] Add CameraTransitionFinished in SceneView
seunghobaek [Fri, 4 Nov 2022 13:58:18 +0000 (22:58 +0900)]
[NUI] Add CameraTransitionFinished in SceneView

Signed-off-by: seunghobaek <sbsh.baek@samsung.com>
19 months ago[API10][NUI.Scene3D] Remove useless default property setter on Model (#4743)
Eunki Hong [Fri, 11 Nov 2022 06:15:30 +0000 (15:15 +0900)]
[API10][NUI.Scene3D] Remove useless default property setter on Model (#4743)

This PR don't make FocusableChildren as false in default.
Now we can add focusable children under the Model as default.

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>
19 months ago[NUI][NUI.Components] Fix SVACE issue in CollectionView.
guowei.wang [Tue, 8 Nov 2022 07:33:49 +0000 (15:33 +0800)]
[NUI][NUI.Components] Fix SVACE issue in CollectionView.

19 months ago[NUI] remove unnecessary dispose code.
joogab.yun [Tue, 8 Nov 2022 08:43:18 +0000 (17:43 +0900)]
[NUI] remove unnecessary dispose code.

19 months ago[NUI] Changed from BaseHande to BindableObject, IDispose
joogab.yun [Tue, 8 Nov 2022 07:03:38 +0000 (16:03 +0900)]
[NUI] Changed from BaseHande to BindableObject, IDispose

20 months ago[NUI] Add back trace and debugging msg when SwigCPtr is null
dongsug.song [Mon, 7 Nov 2022 11:53:33 +0000 (20:53 +0900)]
[NUI] Add back trace and debugging msg when SwigCPtr is null

20 months ago[Applications.Common] Keep delegate objects (#4720)
hjhun [Mon, 7 Nov 2022 01:09:35 +0000 (10:09 +0900)]
[Applications.Common] Keep delegate objects (#4720)

To prevent removing delegate objects by GC, this patch adds private
member variables.

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
20 months ago[Network] Add lock to _callback_map (#4711)
chaeheehong [Thu, 3 Nov 2022 05:13:43 +0000 (14:13 +0900)]
[Network] Add lock to _callback_map (#4711)

20 months ago[NUI] Fix SVACE issue (#4712)
Seoyeon2Kim [Thu, 3 Nov 2022 03:09:40 +0000 (12:09 +0900)]
[NUI] Fix SVACE issue (#4712)

- The issue is 'Casting a signed value which has type int to a bigger
unsigned integer type std::size_t while initializing a variable.'

- Changed the parameter type from `int` to `uint32_t` for `size_t` casting

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

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
20 months ago[NUI] Lets you know if the window is maximized.
joogab.yun [Thu, 3 Nov 2022 00:29:52 +0000 (09:29 +0900)]
[NUI] Lets you know if the window is maximized.

20 months ago[NUI] Version update 22146
dongsug.song [Wed, 2 Nov 2022 08:29:02 +0000 (17:29 +0900)]
[NUI] Version update 22146

20 months ago[NUI] Change WindowPosition from IntPair to Int32Pair (#4702)
Eunki Hong [Wed, 2 Nov 2022 08:16:42 +0000 (17:16 +0900)]
[NUI] Change WindowPosition from IntPair to Int32Pair (#4702)

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>
20 months ago[EXaml] Support Dictionary
Fang Xiaohui [Wed, 2 Nov 2022 03:31:30 +0000 (11:31 +0800)]
[EXaml] Support Dictionary

20 months ago[NUI] Fixed crash when destroy border window.
joogab.yun [Wed, 2 Nov 2022 06:39:07 +0000 (15:39 +0900)]
[NUI] Fixed crash when destroy border window.

20 months ago[NUI] add null type checking after as operation.
EverLEEst(SangHyeon Lee) [Mon, 31 Oct 2022 07:36:17 +0000 (16:36 +0900)]
[NUI] add null type checking after as operation.

20 months ago[NUI.Scene3D] Transition animation with FieldOfView
Eunki, Hong [Tue, 1 Nov 2022 17:21:57 +0000 (02:21 +0900)]
[NUI.Scene3D] Transition animation with FieldOfView

Add camera's FieldOfView animated by
Scene3D.SceneView's CameraTransition API.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
20 months ago[NUI] Remove AnyContainerBase type
Eunki, Hong [Thu, 13 Oct 2022 03:11:29 +0000 (12:11 +0900)]
[NUI] Remove AnyContainerBase type

AnyContainerBase is private data. We don't need to access there
and also, we don't need to change it now.
Actually, nobody use it. So remove this API

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
20 months ago[NUI] Fix some errors when we remove NUI_PROPERTY_CHANGE tag
Eunki, Hong [Wed, 26 Oct 2022 05:44:15 +0000 (14:44 +0900)]
[NUI] Fix some errors when we remove NUI_PROPERTY_CHANGE tag

1. Add nullcheck when NUI_VISUAL_PROPERTY_CHANGE_1 not defined.
2. Fix compile error when NUI_ANIMATION_PROPERTY_CHANGE_1 not defined.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
20 months ago[NUI] Add CornerRadiusPolicy property for VisualMap
Eunki, Hong [Tue, 1 Nov 2022 06:49:49 +0000 (15:49 +0900)]
[NUI] Add CornerRadiusPolicy property for VisualMap

There was some missing implement for property for CornerRadiusPolicy.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
20 months ago[NUI] Add native handle null check in Uint16Pair
dongsug.song [Tue, 1 Nov 2022 04:55:46 +0000 (13:55 +0900)]
[NUI] Add native handle null check in Uint16Pair

20 months ago[NUI] Add input source type to Gesture.
joogab.yun [Wed, 26 Oct 2022 01:57:10 +0000 (10:57 +0900)]
[NUI] Add input source type to Gesture.

This is similar to MouseButton in TouchEvent.
Now, you can see from which input the gesture was made.

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

20 months ago[NUI] Add constructor with style instance
Jaehyun Cho [Fri, 28 Oct 2022 02:59:06 +0000 (11:59 +0900)]
[NUI] Add constructor with style instance

To customize and apply app's own style instance, constructor with style
instance should be added.

For now, ApplyStyle() modifies the given properties only based on the
default style unlike applying style in constructor.
e.g. Let default style contain properties A, B, C.
     Let custom style contain properties B, C.
     Then ApplyStyle(custom style) contain default style's A and custom
     style's B and C.

Consequently, to apply custom style without applying default style,
constructor with style instance is required.

20 months ago[NUI] Modify Menu to help customizing class
Jaehyun Cho [Thu, 27 Oct 2022 10:41:34 +0000 (19:41 +0900)]
[NUI] Modify Menu to help customizing class

To help application to customize Menu, Menu's size calculation should be
modified not to set its size to its Content's size.

20 months ago[NUI] Correct code format
Fang Xiaohui [Mon, 31 Oct 2022 01:40:39 +0000 (09:40 +0800)]
[NUI] Correct code format

20 months ago[NUI] Correct code format
Fang Xiaohui [Wed, 26 Oct 2022 06:18:23 +0000 (14:18 +0800)]
[NUI] Correct code format

20 months ago[NUI] 1. Move the Transparency setting to OnMaximize().
joogab.yun [Wed, 26 Oct 2022 05:23:08 +0000 (14:23 +0900)]
[NUI] 1. Move the Transparency setting to OnMaximize().

2. Fixed the wrong condition when resizing.

3. backgroundImage and backgroundColor are exclusive.
So if the user has set the backgroundImage then the backgroundColor should not be reset.

4. BorderLineThickness can be changed dynamically.

20 months ago[NUI] Fix crash on ScrollableBase.Dispose()
Jaehyun Cho [Thu, 27 Oct 2022 02:28:39 +0000 (11:28 +0900)]
[NUI] Fix crash on ScrollableBase.Dispose()

In ScrollableBase.Dispose(), propertyNotification is disposed as well.
To dispose propertyNotification, RemovePropertyNotifications was called
inappropriately and it caused crash.

To resolve the above, RemovePropertyNotification is called by
ContentContainer with propertyNotification like AddPropertyNotification
is called by ContentContainer with propertyNotification.

20 months ago[NUI] Modify TabView and TabBar to help customizing classes
Jaehyun Cho [Tue, 25 Oct 2022 09:58:22 +0000 (18:58 +0900)]
[NUI] Modify TabView and TabBar to help customizing classes

To help application to customize TabView and TabBar, some methods and
properties have been modified.

20 months ago[NUI] Fix issue item is not unrealized after insertion.
EverLEEst(SangHyeon Lee) [Tue, 25 Oct 2022 07:09:35 +0000 (16:09 +0900)]
[NUI] Fix issue item is not unrealized after insertion.

20 months ago[NUI] Apply dotnet-nui type
Daekwang Ryu [Fri, 30 Sep 2022 01:22:52 +0000 (10:22 +0900)]
[NUI] Apply dotnet-nui type

NUI apps have to set dotnet-nui app type in tizen-manifest.xml.
Then the apps are preloaded from dotnet-loader.
It improves the launching performance.

20 months ago[NUI] Fix the propertyNotification to be disposed in ScrollableBase
dongsug.song [Mon, 17 Oct 2022 07:51:48 +0000 (16:51 +0900)]
[NUI] Fix the propertyNotification to be disposed in ScrollableBase

20 months ago[NUI] Fix Linear Layouter crash and update issue
EverLEEst(SangHyeon Lee) [Fri, 14 Oct 2022 09:30:44 +0000 (18:30 +0900)]
[NUI] Fix Linear Layouter crash and update issue

1. Linear Layouter get crashed when group has no children.
2. Linear, Grid Layouter update is not working well because delayed
update timer is not started.
3. remmove spaces.

20 months ago[Applications.Common] Increment the reference counter on SafeHandle instances (#4693)
hjhun [Mon, 31 Oct 2022 02:13:48 +0000 (11:13 +0900)]
[Applications.Common] Increment the reference counter on SafeHandle instances (#4693)

* Increment the reference counter on SafeHandle instances.

To prevent the common language runtime from reclaiming memory used by
a handle, this patch adds calling DangerousAddRef() before calling
DangerousGetHandle().

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Modify implementation of using SafeHandle

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Remove unnecesary blank line

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
20 months ago[NUI] Fix relative layout issue on DefaultLinearItem
EverLEEst(SangHyeon Lee) [Wed, 26 Oct 2022 11:53:17 +0000 (20:53 +0900)]
[NUI] Fix relative layout issue on DefaultLinearItem

20 months ago[Applications.ThemeManager] Fix return type of theme loader add event callback for...
ilho159kim [Tue, 25 Oct 2022 06:42:24 +0000 (15:42 +0900)]
[Applications.ThemeManager] Fix return type of theme loader add event callback for internal. (#4636)

* Fix return type of ThemeLoaderChangedCallback

Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
* Fix internal callback function's return type

Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Co-authored-by: Ilho Kim <ilho159.kim@samsung.com>
Co-authored-by: hjhun <36876573+hjhun@users.noreply.github.com>
20 months ago[Applications.WidgetControl] change return type of get instance list callback for...
sukhyungkang [Mon, 24 Oct 2022 23:11:54 +0000 (08:11 +0900)]
[Applications.WidgetControl] change return type of get instance list callback for internal. (#4648)

Signed-off-by: SukhyungKang <shine.kang@samsung.com>
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
Co-authored-by: hjhun <36876573+hjhun@users.noreply.github.com>
20 months ago[NUI][API10] Reduce PropertyValue creation during Animation
Eunki, Hong [Thu, 20 Oct 2022 12:30:37 +0000 (21:30 +0900)]
[NUI][API10] Reduce PropertyValue creation during Animation

There was some PropertyValue creation during data conversion.
Let we reduce new PropertyValue class creation so GC feel happy

This patch is copy of https://github.com/Samsung/TizenFX/pull/4674

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
20 months ago[NUI][API10] Change property get/set not to use PropertyValue (patch set5)
Eunki, Hong [Thu, 20 Oct 2022 10:21:46 +0000 (19:21 +0900)]
[NUI][API10] Change property get/set not to use PropertyValue (patch set5)

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
20 months agoModify Post() method of CoreApplication and CoreTask (#4671)
hjhun [Tue, 18 Oct 2022 04:14:52 +0000 (13:14 +0900)]
Modify Post() method of CoreApplication and CoreTask (#4671)

The static keyword is added to the methods.
The runner of the CoreApplication.Post() method will be delivered to
the UI thread if the application uses the UI thread App Model.
The runner of the CoreTask.Post() method will be delivered to the main thread.

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
20 months ago[NUI] Remove debugging code
dongsug.song [Tue, 18 Oct 2022 01:12:03 +0000 (10:12 +0900)]
[NUI] Remove debugging code

20 months ago[NUI] Add null checking in internalSet/GetPropertyXXX()
dongsug.song [Mon, 17 Oct 2022 04:20:31 +0000 (13:20 +0900)]
[NUI] Add null checking in internalSet/GetPropertyXXX()

20 months ago[NUI] Add null checking in InternalSet/GetPropertyXXX(), Change to use internalName
dongsug.song [Fri, 14 Oct 2022 05:33:53 +0000 (14:33 +0900)]
[NUI] Add null checking in InternalSet/GetPropertyXXX(), Change to use internalName

20 months ago[NUI] Change property get/set not to use PropertyValue (patch set4)
dongsug.song [Thu, 13 Oct 2022 07:39:27 +0000 (16:39 +0900)]
[NUI] Change property get/set not to use PropertyValue (patch set4)

20 months ago[NUI] Picker: Protect delegate from GC
WoochanLee [Thu, 13 Oct 2022 10:47:24 +0000 (19:47 +0900)]
[NUI] Picker: Protect delegate from GC

20 months ago[NUI] Picker: Fix scroll area height calc logic and Expand default scroll area
WoochanLee [Thu, 13 Oct 2022 07:48:51 +0000 (16:48 +0900)]
[NUI] Picker: Fix scroll area height calc logic and Expand default scroll area

20 months ago[NUI] Include json files
Taehyub Kim [Wed, 12 Oct 2022 08:48:33 +0000 (17:48 +0900)]
[NUI] Include json files