platform/core/csapi/tizenfx.git
21 months ago[NUI] Fix svace issues.
guowei.wang [Wed, 18 Jan 2023 03:42:48 +0000 (11:42 +0800)]
[NUI] Fix svace issues.

21 months ago[NUI][Scene3D] Load bvh file format
Eunki, Hong [Fri, 27 Jan 2023 07:58:29 +0000 (16:58 +0900)]
[NUI][Scene3D] Load bvh file format

This PR is FrontPorting of #4827

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months ago[NUI] Fix dispose timing error for ImageUrl
Eunki Hong [Sun, 29 Jan 2023 08:03:44 +0000 (17:03 +0900)]
[NUI] 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>
21 months ago[NUI] Add EncodedImageBuffer sample
Eunki Hong [Sun, 29 Jan 2023 07:49:13 +0000 (16:49 +0900)]
[NUI] Add EncodedImageBuffer sample

Add sample to use EncodedImageBuffer.

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

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

Note : Extensions.GetInstanceSafely delete the getted cPtr's reference inside of
that function. So we cannot use it.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
21 months ago[NUI][Test] Commit missing file
Eunki Hong [Sun, 29 Jan 2023 07:53:00 +0000 (16:53 +0900)]
[NUI][Test] Commit missing file

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
21 months ago[NUI] Remove build warning messages in NUI Samples (#4932)
Seoyeon2Kim [Fri, 27 Jan 2023 07:40:07 +0000 (16:40 +0900)]
[NUI] Remove build warning messages in NUI Samples  (#4932)

* [NUI] Remove build warning messages in NUI Samples

 - Replace `PreFocusChangeEventArgs` from `FocusChangingEventArgs`.
 - Use `HorizontalAlignment` or `VerticalAlignment` properties
   instead of `LinearAlignment`/
 - Use new Vector2(...) constructor instead of using `X` or `Y` setter.
 - Remove Unreachable code.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
* [NUI] Remove build warning messages

 - Remove not used variables : `axis` and `degree`.
 - Clean code according to NUI Coding style
 - Use `HorizontalAlignment` or `VerticalAlignment` properties
   instead of `LinearAlignment`.
 - Use `StyleName` property instead of `SetStyleName(string)`.
 - Use `ChildCount` property instead of `GetChildCount()`.
 - Use new Vector2(...) constructor instead of `Width` or `Height` setter.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
* [NUI] Remove build warning messages part.3

 - Remove not used variables : mClippedImagePropertyIndex,
mLogoTapDetector, FocusEffect.actor, oldPageCount, FrameUpdateCallback.text, etc.
 - Use `HorizontalAlignment` or `VerticalAlignment` properties
  instead of `LinearAlignment`.
 - Use `ChildCount` property instead of `GetChildCount()`.
 - Use new Vector2(...) constructor instead of `Width` or `Height` setter.
 - Clean code according to NUI Coding style

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
21 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>
21 months ago[NUI] Apply missing comments for Scene3D demo
Eunki Hong [Wed, 25 Jan 2023 15:07:10 +0000 (00:07 +0900)]
[NUI] Apply missing comments for Scene3D demo

1. Collect all private values in upward of source code.
2. Formatting C#
3. MilliSeconds --> Milliseconds
4. Add some comments

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
21 months agoMake it ineligible for garbage collection for delegate (#4948)
hjhun [Wed, 1 Feb 2023 02:58:23 +0000 (11:58 +0900)]
Make it ineligible for garbage collection for delegate (#4948)

This patch is to prevent the delegate garbage collected.

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
21 months ago[NUI.Gadget] Add NUIGadget class for inhouse developers (#4935)
hjhun [Fri, 27 Jan 2023 07:07:44 +0000 (16:07 +0900)]
[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>
21 months agoAdd a new internal API (#4923)
hjhun [Thu, 26 Jan 2023 00:16:59 +0000 (09:16 +0900)]
Add a new internal API (#4923)

- AppControl.GetDefaultApplicationIds()

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
21 months ago[NUI] Version Update 22210
Taehyub Kim [Wed, 25 Jan 2023 07:05:08 +0000 (16:05 +0900)]
[NUI] Version Update 22210

21 months ago[NUI] Add Tizen.NUI.Scene3D simple demo (#4917)
Eunki Hong [Wed, 25 Jan 2023 05:14:16 +0000 (14:14 +0900)]
[NUI] Add Tizen.NUI.Scene3D simple demo (#4917)

* [NUI] Add Tizen.NUI.Scene3D simple demo

Hello 3d world!

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
* Update Scene3DSample.cs

2022 -> 2023

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Co-authored-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months ago[NUI] Fix perf-view-creation demo think with dali
Eunki Hong [Mon, 23 Jan 2023 14:49:00 +0000 (23:49 +0900)]
[NUI] Fix perf-view-creation demo think with dali

Make recent action match with dali

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
21 months ago[NUI] Remove useless DisposeQueue adding at TextField
Eunki Hong [Thu, 19 Jan 2023 17:19:27 +0000 (02:19 +0900)]
[NUI] Remove useless DisposeQueue adding at TextField

Signed-off-by: Eunki Hong <h.pichulia@gmail.com>
21 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.

21 months ago[NUI] Add NUIApplicaion.GetScreenSize
Jaehyun Cho [Tue, 17 Jan 2023 06:05:24 +0000 (15:05 +0900)]
[NUI] Add NUIApplicaion.GetScreenSize

To provide the screen size, NUIApplication.GetScreenSize is added.

21 months ago[NUI] add code owner
dongsug.song [Thu, 19 Jan 2023 02:03:22 +0000 (11:03 +0900)]
[NUI] add code owner

21 months agoRemove log prints in the thread (#4920)
hjhun [Wed, 25 Jan 2023 08:02:18 +0000 (17:02 +0900)]
Remove log prints in the thread (#4920)

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
21 months agoModify ImportFromArgv method of Bundle (#4911)
hjhun [Thu, 19 Jan 2023 05:12:13 +0000 (14:12 +0900)]
Modify ImportFromArgv method of Bundle (#4911)

- Adds descriptions
- Adds throwing an exception

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
21 months ago[NUI] fix testhub crash issue
dongsug.song [Thu, 19 Jan 2023 00:37:04 +0000 (09:37 +0900)]
[NUI] fix testhub crash issue

21 months ago[NUI] Revert "Make PixelBuffer & PixelData as Disposable"
Eunki, Hong [Wed, 18 Jan 2023 14:28:40 +0000 (23:28 +0900)]
[NUI] Revert "Make PixelBuffer & PixelData as Disposable"

Revert patch of PR #4897

This reverts commit 0e6528a5f7c4ae6523b8dd0c19b2c211c31178f3.

21 months ago[NUI] Reorder Disposable's ReleaseSwigCPtr + Allow to dispose seperate thread
Eunki, Hong [Wed, 18 Jan 2023 05:38:29 +0000 (14:38 +0900)]
[NUI] Reorder Disposable's ReleaseSwigCPtr + Allow to dispose seperate thread

Reorder the `ReleaseSwigCPtr` call time and `SwigCPtr` value setup.
It will be matched as `BaseHandle.cs` doing now.

Plus

Make we don't print any fatal log when we try to dispose `Disposable` class.
For example, `Vector2` or `Uint16Pair` don't need to be used only for main thread.
Only some UI releative things has some dependency issue of Main / UI thread.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months ago[NUI] fix tct block issue in text field and editor
Bowon Ryu [Wed, 18 Jan 2023 06:37:40 +0000 (15:37 +0900)]
[NUI] fix tct block issue in text field and editor

GetInputMethodContext() in ReleaseSwigCPtr crashes due to current changes in BaseHandle.
Move DestroyContext() to Dispose to avoid this.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
21 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.

21 months ago[NUI] Make ReleaseSwigCPtr didn't check HasBody()
Eunki Hong [Tue, 17 Jan 2023 16:08:54 +0000 (01:08 +0900)]
[NUI] Make ReleaseSwigCPtr didn't check HasBody()

After PR #4892 `HasBody()` can be false in `ReleaseSwigCPtr`.
So, some class who check double-released might not release
native memory. It might occure some leak.

This patch make them to check `Disposed` instead of `HasBody()`.

+

Clean up some codes of `ReleaseSwigCPtr`.

TODO : Also need to check `Disposable.Dispose` function

TODO : Need to check third-party library implementation who use
their custom `ReleaseSwigCPtr`

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
21 months ago[NUI] Make PixelBuffer & PixelData as Disposable
Eunki, Hong [Tue, 17 Jan 2023 10:55:07 +0000 (19:55 +0900)]
[NUI] Make PixelBuffer & PixelData as Disposable

Since they were BaseHandle, there was some Fatal log printed
when we try to use them at worker thread.

For example, PixelBuffer buffer = ImageLoader.LoadImageFromFile() was invalid.

This patch make them as Disposable.
So they will not be registed into Registry.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months ago[NUI] remove swigCPtrCopy which is useless
dongsug.song [Tue, 17 Jan 2023 04:59:26 +0000 (13:59 +0900)]
[NUI] remove swigCPtrCopy which is useless

21 months ago[NUI] version update
dongsug.song [Tue, 17 Jan 2023 07:35:21 +0000 (16:35 +0900)]
[NUI] version update

21 months ago[NUI][XamlBuild] Fix namespace confused issue.
guowei.wang [Tue, 13 Dec 2022 09:36:04 +0000 (17:36 +0800)]
[NUI][XamlBuild] Fix namespace confused issue.

21 months ago[NUI][NUI.Devel] Update TCs of NUI.Devel.
guowei.wang [Thu, 1 Dec 2022 13:53:23 +0000 (21:53 +0800)]
[NUI][NUI.Devel] Update TCs of NUI.Devel.

21 months ago[NUI][NUI.Components.Devel] Fix failed isseus of NUI.Components.Devel.
guowei.wang [Thu, 1 Dec 2022 14:07:19 +0000 (22:07 +0800)]
[NUI][NUI.Components.Devel] Fix failed isseus of NUI.Components.Devel.

21 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.

21 months ago[NUI] Remove png/jpg warning log
Eunki Hong [Mon, 16 Jan 2023 17:47:03 +0000 (02:47 +0900)]
[NUI] Remove png/jpg warning log

Resolve below 2 kind of warning messages by mogrify

Corrupt JPEG data: 24 extraneous bytes before marker 0x?? libpng warning: iCCP: known incorrect sRGB profile

TODO : Need to be tested in office.

Signed-off-by: Eunki Hong <h.pichulia@gmail.com>
21 months ago[NUI] Add method to DisposeRecursively. + Fix DisposeTest demo works
Eunki Hong [Fri, 6 Jan 2023 14:59:33 +0000 (23:59 +0900)]
[NUI] Add method to DisposeRecursively. + Fix DisposeTest demo works

Previous Container.cs can dispose recursively only if
it is created by xaml. (DisposeIncludeChildren)
And also, that API only for internal.

Now we add some useful API that user can dispose all
connected children recursively by one button.

```
View a = new View();
View b = new View();

a.Add(b);
a.DisposeRecursively();

// Now b is disposed.
```

Signed-off-by: Eunki Hong <h.pichulia@gmail.com>
21 months ago[ImageUtil] Code clean (#4887)
Haesu Gwon [Fri, 13 Jan 2023 03:28:31 +0000 (12:28 +0900)]
[ImageUtil] Code clean (#4887)

21 months ago[NUI] Version Update 22208 (#4883)
Seoyeon2Kim [Tue, 10 Jan 2023 06:39:48 +0000 (15:39 +0900)]
[NUI] Version Update 22208 (#4883)

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
21 months ago[Applications.PackageManager] Add ClearUserData(package, path) (#4747)
ChangGyu Choi [Mon, 9 Jan 2023 08:33:24 +0000 (17:33 +0900)]
[Applications.PackageManager] Add ClearUserData(package, path) (#4747)

* [Tizen.Applications] Add a new PackageManager API

Adds:
 - ClearUserData(packageId, filePath)

Signed-off-by: ChangGyu Choi <uppletaste@gmail.com>
* Fix the api description

Signed-off-by: ChangGyu Choi <uppletaste@gmail.com>
* Remove a remark sentence

Signed-off-by: ChangGyu Choi <uppletaste@gmail.com>
* Update API description

Signed-off-by: ChangGyu Choi <uppletaste@gmail.com>
Signed-off-by: ChangGyu Choi <uppletaste@gmail.com>
21 months ago[Camera] Fix ExtraPreview bugs (#4861)
Haesu Gwon [Fri, 6 Jan 2023 07:49:34 +0000 (16:49 +0900)]
[Camera] Fix ExtraPreview bugs (#4861)

22 months ago[Applications.AppControl] Add new internal APIs (#4877)
ChangGyu Choi [Wed, 4 Jan 2023 05:27:36 +0000 (14:27 +0900)]
[Applications.AppControl] Add new internal APIs (#4877)

* [Applications.AppControl] Add a new internal API

This patch adds the API below to set the timeout interval when sending an app launch request.

Adds:
 - AppControl.SendLaunchRequestWithTimeout()

Signed-off-by: ChangGyu Choi <uppletaste@gmail.com>
* Change API name

This patch changed to the same name as the existing API for intuition.

Signed-off-by: ChangGyu Choi <uppletaste@gmail.com>
* Fix API description

Signed-off-by: ChangGyu Choi <uppletaste@gmail.com>
* Add a new internal API

Adds.
 - AppControl.SendLaunchRequest(launchRequest, timeout)

Signed-off-by: ChangGyu Choi <uppletaste@gmail.com>
Signed-off-by: ChangGyu Choi <uppletaste@gmail.com>
Co-authored-by: hjhun <36876573+hjhun@users.noreply.github.com>
22 months ago[NUI] Reorder DeleteBaseHandle and SwigCPtrCopy = null;
Eunki, Hong [Thu, 29 Dec 2022 09:28:32 +0000 (18:28 +0900)]
[NUI] Reorder DeleteBaseHandle and SwigCPtrCopy = null;

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

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

22 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

22 months ago[NUI] Fix FlexLayout OnMeasure to calculate size correctly
Jaehyun Cho [Fri, 16 Dec 2022 10:11:13 +0000 (19:11 +0900)]
[NUI] Fix FlexLayout OnMeasure to calculate size correctly

Previously, the measured size of FlexLayout with WrapContent could be
calculated like MatchParent.
The above issue happened in the following case.
Tizen.NUI.Components.DialogPage.ShowAlertDialog("Title", "Message", null);

To resolve the above issue without breaking backward compatibility,
FlexLayout OnMeasure has been fixed to use ResolveSizeAndState()
instead of GetDefaultSize() when calculating the measured size.

To test the issue, showing a dialog without action button case has
been added to Tizen.NUI.StyleGuide.

22 months ago[NUI] Add EmitScrollStartedEvent and EmitScrollFinishedEvent
Hosang Kim [Mon, 14 Nov 2022 11:53:33 +0000 (20:53 +0900)]
[NUI] Add EmitScrollStartedEvent and EmitScrollFinishedEvent

This allows the user to know scrollable object scroll is started or
finished.

Requires:
https://review.tizen.org/gerrit/284124/
https://review.tizen.org/gerrit/284126/

22 months ago[NUI] Pass SelectionChangedEventArgs by default as SelectionChangedCommandParameter.
EverLEEst(SangHyeon Lee) [Mon, 19 Dec 2022 12:54:05 +0000 (21:54 +0900)]
[NUI] Pass SelectionChangedEventArgs by default as SelectionChangedCommandParameter.

22 months ago[NUI] version update
dongsug.song [Tue, 27 Dec 2022 05:01:52 +0000 (14:01 +0900)]
[NUI] version update

22 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.

22 months ago[NUI] Support SetProperty by using string name for Animatable
seungho baek [Tue, 20 Dec 2022 13:23:58 +0000 (22:23 +0900)]
[NUI] Support SetProperty by using string name for Animatable

Signed-off-by: seungho baek <sbsh.baek@samsung.com>
22 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

22 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.

22 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>
22 months agoUpdate README.md
Kangho Hur [Mon, 26 Dec 2022 23:29:54 +0000 (08:29 +0900)]
Update README.md

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

22 months ago[NUI] Version Update 22206
Daekwang Ryu [Tue, 20 Dec 2022 02:19:56 +0000 (11:19 +0900)]
[NUI] Version Update 22206

22 months ago[NUI] Add ActionsProperty to AlertDialog to support xaml
Jaehyun Cho [Mon, 19 Dec 2022 07:59:52 +0000 (16:59 +0900)]
[NUI] Add ActionsProperty to AlertDialog to support xaml

To support Actions property of AlertDialog in xaml, the bindable
property ActionsProperty has been added to AlertDialog.

The AlertDialog example with xaml has been added to NUITizenGallery.

22 months ago[NUI] Remove unused reference
Xianbing Teng [Tue, 6 Dec 2022 09:36:33 +0000 (17:36 +0800)]
[NUI] Remove unused reference

22 months ago[NUI][NUITizenGallery] add Animal ListView and GridView examples
EverLEEst(SangHyeon Lee) [Thu, 15 Dec 2022 11:45:54 +0000 (20:45 +0900)]
[NUI][NUITizenGallery] add Animal ListView and GridView examples

22 months ago[NUI] fix DefaultGridItem image to fill available area.
EverLEEst(SangHyeon Lee) [Thu, 15 Dec 2022 11:42:29 +0000 (20:42 +0900)]
[NUI] fix DefaultGridItem image to fill available area.

22 months ago[NUI] update imageUrl to resourceUrl
everLEEst(SangHyeon Lee) [Fri, 16 Dec 2022 05:27:35 +0000 (21:27 -0800)]
[NUI] update imageUrl to resourceUrl

22 months ago[NUI] add ImageUrl property on DefaultGridItem.
EverLEEst(SangHyeon Lee) [Thu, 15 Dec 2022 11:38:44 +0000 (20:38 +0900)]
[NUI] add ImageUrl property on DefaultGridItem.

22 months ago[NUI] fix relative layout to fill regardless of children size.
EverLEEst(SangHyeon Lee) [Thu, 15 Dec 2022 11:35:37 +0000 (20:35 +0900)]
[NUI] fix relative layout to fill regardless of children size.

22 months agoRevert "Rebase develnui (#4853)"
Seoyeon2Kim [Tue, 20 Dec 2022 05:32:04 +0000 (14:32 +0900)]
Revert "Rebase develnui (#4853)"

This reverts commit 2ae464cf2e05bd2821e43c09c941df484dbae620.

22 months agoRebase develnui (#4853)
dkdk-ryu [Tue, 20 Dec 2022 05:18:51 +0000 (14:18 +0900)]
Rebase develnui (#4853)

* [NUI] fix relative layout to fill regardless of children size.

* [NUI] add ImageUrl property on DefaultGridItem.

* [NUI] update imageUrl to resourceUrl

* [NUI] fix DefaultGridItem image to fill available area.

* [NUI][NUITizenGallery] add Animal ListView and GridView examples

* [NUI] Remove unused reference

* [NUI] Add ActionsProperty to AlertDialog to support xaml

To support Actions property of AlertDialog in xaml, the bindable
property ActionsProperty has been added to AlertDialog.

The AlertDialog example with xaml has been added to NUITizenGallery.

* [NUI] Version Update 22206

Co-authored-by: EverLEEst(SangHyeon Lee) <sh10233.lee@samsung.com>
Co-authored-by: Xianbing Teng <xb.teng@samsung.com>
Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
22 months agoUpdate README.md
WonYoung Choi [Mon, 19 Dec 2022 06:13:20 +0000 (15:13 +0900)]
Update README.md

22 months ago[NUI] Version Update 22205
joogab.yun [Wed, 14 Dec 2022 01:51:48 +0000 (10:51 +0900)]
[NUI] Version Update 22205

22 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

22 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>
22 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>
22 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

22 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

22 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

22 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

22 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).

23 months ago[NUI] Version update 22204
Bowon Ryu [Tue, 6 Dec 2022 06:33:51 +0000 (15:33 +0900)]
[NUI] Version update 22204

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
23 months ago[NUI] clean code
Bowon Ryu [Tue, 6 Dec 2022 02:06:27 +0000 (11:06 +0900)]
[NUI] clean code

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
23 months ago[NUI] Add SystemSettings.FontTypeChanged in Text components
Bowon Ryu [Mon, 5 Dec 2022 05:22:48 +0000 (14:22 +0900)]
[NUI] Add SystemSettings.FontTypeChanged in Text components

Setting FontFamily to UseSystemSetting in NUI Theme,
the default font family follows the system setting.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
23 months ago[NUI] Add GetSystemFonts in FontClient
Bowon Ryu [Thu, 1 Dec 2022 09:32:48 +0000 (18:32 +0900)]
[NUI] Add GetSystemFonts in FontClient

user can get a list of system fonts

sample code:
https://github.com/wonrst/NUI-Test/blob/main/text-font-list/font_list.cs

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
23 months ago[NUI] Fix Navigator to enable multiple Pop()
Jaehyun Cho [Mon, 5 Dec 2022 08:16:09 +0000 (17:16 +0900)]
[NUI] Fix Navigator to enable multiple Pop()

A popped page is removed in the Pop() animation's Finished callback.

Previously, Navigator could not support multiple Pop().
Because Pop() simply stopped the previous Pop() animation without
calling the animation's Finished callback.

Now, Pop() stops the previous Pop() animation with calling the
animation's Finished callback by emitting FinishedSignal().
Consequently, Navigator can support multiple Pop() now.

23 months ago[NUI] Update NUI samples based on the latest back navigation
Jaehyun Cho [Tue, 29 Nov 2022 07:40:33 +0000 (16:40 +0900)]
[NUI] Update NUI samples based on the latest back navigation

NUI samples has been updated to use EnableBackNavigation and
OnBackNavigation of Navigator and Page based on the default action of
the latest back navigation.

23 months ago[NUI] Modify the default action of back navigation
Jaehyun Cho [Thu, 1 Dec 2022 06:04:31 +0000 (15:04 +0900)]
[NUI] Modify the default action of back navigation

Previously, back navigation only pops the peek page.
However, in most cases, application wants to exit the program when back
button is clicked on the first page.
This forces application to customize back navigation to change the
default action of back navigation.

So now, the default action of back navigation has been modified.
If navigator has more than one page, then the peek page is popped by
back navigation.
Otherwise, the current program is exited by back navigation.

23 months ago[NUI] Add OnBackNavigation to Page
Jaehyun Cho [Mon, 28 Nov 2022 11:36:53 +0000 (20:36 +0900)]
[NUI] Add OnBackNavigation to Page

To enable customization of back navigation per page, OnBackNavigation
is added to Page.
e.g.
class CustomPage : Page
{
    protected override OnBackNavigation(PageBackNavigationEventArgs args)
    {
        // Do something when back navigation is started.
        ...

        // To pop this page, call base.OnBackNavigation().
        // Otherwise, do not call base.OnBackNavigation().
        base.OnBackNavigation(args);
    }
}

23 months ago[NUI] Add EnableBackNavigation to Page
Jaehyun Cho [Mon, 28 Nov 2022 08:40:06 +0000 (17:40 +0900)]
[NUI] Add EnableBackNavigation to Page

To support back navigation automatically, EnableBackNavigation is
added to Page like Navigator.
If EnabledBackNavigation is false, then back button and back key do
not cause back navigation on the page.

23 months ago[NUI] Add SetDefaultNavigator
Jaehyun Cho [Mon, 28 Nov 2022 08:25:27 +0000 (17:25 +0900)]
[NUI] Add SetDefaultNavigator

To use customized Navigator as default navigator, SetDefaultNavigator
is added.

23 months ago[NUI] Add OnBackNavigation to Navigator
Jaehyun Cho [Fri, 25 Nov 2022 08:18:16 +0000 (17:18 +0900)]
[NUI] Add OnBackNavigation to Navigator

To enable customization of back navigation, OnBackNavigation is added
to Navigator.
e.g.
class CustomNavigator : Navigator
{
    protected override OnBackNavigation(BackNavigationEventArgs args)
    {
        // Do something when back navigation is started.
        ...

        // To pop the peek page, call base.OnBackNavigation().
        // Otherwise, do not call base.OnBackNavigation().
        base.OnBackNavigation(args);
    }
}

23 months ago[NUI] Add EnableBackNavigation to Navigator
Jaehyun Cho [Wed, 23 Nov 2022 07:51:49 +0000 (16:51 +0900)]
[NUI] Add EnableBackNavigation to Navigator

To support back navigation automatically, EnableBackNavigation is
added to Navigator.
If EnabledBackNavigation is false, then back button and back key do
not cause back navigation.

23 months ago[NUI] Fix Navigator Insert to keep pages order correctly
Jaehyun Cho [Thu, 1 Dec 2022 07:48:39 +0000 (16:48 +0900)]
[NUI] Fix Navigator Insert to keep pages order correctly

Previously, pages order was not kept correctly when a page was inserted.
Because of that, inserted page overlaps the next page's page transition.
e.g.
- Let page1 be pushed.
- Let page2 be inserted before page1.
- Pop page1.
Then page1's page transition is hidden by page2 because page2 is added
later so page2 overlaps page1.

Now, to resolve the above issue, the order of the inserted page is
updated based on its page index value.

23 months ago[NUI] fix group remove error.
everLEEst(SangHyeon Lee) [Fri, 2 Dec 2022 07:01:44 +0000 (23:01 -0800)]
[NUI] fix group remove error.

23 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>
23 months ago[Applications.Common] Fix race condition issue (#4801)
ChangGyu Choi [Mon, 5 Dec 2022 05:55:17 +0000 (14:55 +0900)]
[Applications.Common] Fix race condition issue (#4801)

* [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>
23 months agoCall ToLower() and ToUpper() (#4799)
hjhun [Mon, 5 Dec 2022 03:09:16 +0000 (12:09 +0900)]
Call ToLower() and ToUpper() (#4799)

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>
23 months ago[Packagemanager] Use ToLowerInvariant instead of ToLower (#4789)
jeremy-jang [Fri, 2 Dec 2022 09:30:14 +0000 (18:30 +0900)]
[Packagemanager] Use ToLowerInvariant instead of ToLower (#4789)

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>
23 months ago[NUI] Version update 22203
Hosang Kim [Tue, 29 Nov 2022 07:31:00 +0000 (16:31 +0900)]
[NUI] Version update 22203

23 months ago[NUI] Add more condition when item is last.
everLEEst(SangHyeon Lee) [Fri, 25 Nov 2022 06:56:47 +0000 (22:56 -0800)]
[NUI] Add more condition when item is last.

23 months ago[NUI] Fix Layouter to handle empty group case.
everLEEst(SangHyeon Lee) [Fri, 25 Nov 2022 06:18:12 +0000 (22:18 -0800)]
[NUI] Fix Layouter to handle empty group case.

23 months ago[NUI] Add DirectRenderingGLView
Daekwang Ryu [Wed, 17 Aug 2022 05:39:51 +0000 (14:39 +0900)]
[NUI] Add DirectRenderingGLView

DirectRenderingGLView allows you to render to a Window directly using OpenGL, and
direct rendering is for In-house apps. So this new class is added to distinguish it from GLView.

23 months ago[NUI] Add GetMatrixFromPtr() in Matrix
Daekwang Ryu [Wed, 17 Aug 2022 05:46:56 +0000 (14:46 +0900)]
[NUI] Add GetMatrixFromPtr() in Matrix

23 months ago[NUI] Add GetRectangleFromPtr() in Rectangle
Daekwang Ryu [Wed, 17 Aug 2022 05:45:13 +0000 (14:45 +0900)]
[NUI] Add GetRectangleFromPtr() in Rectangle

23 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