platform/core/csapi/tizenfx.git
2 years ago[NUI] Resize slider normal thumb to calculate thumb position correctly
Jaehyun Cho [Tue, 21 Feb 2023 03:06:47 +0000 (12:06 +0900)]
[NUI] Resize slider normal thumb to calculate thumb position correctly

Previously, slider thumb size for normal and pressed were different.
This caused that the thumb position was calculated incorrectly.

Now, slider thumb for normal is resized to be the same with the thumb
for pressed.
By the above, the thumb position is calculated correctly.

2 years ago[NUI] Fix Pagination bug
Jiyun Yang [Tue, 21 Feb 2023 01:02:05 +0000 (10:02 +0900)]
[NUI] Fix Pagination bug

* Bug: When user changes indicator image url, all indicators turn into unselected look.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
2 years ago[NUI][NUITizenGallery] fix build error.
EverLEEst(SangHyeon Lee) [Mon, 20 Feb 2023 11:28:45 +0000 (20:28 +0900)]
[NUI][NUITizenGallery] fix build error.

2 years ago[NUI] Fix to remove Button's min size
Jaehyun Cho [Mon, 20 Feb 2023 08:47:32 +0000 (17:47 +0900)]
[NUI] Fix to remove Button's min size

To support button size set by user, Button's min size is removed.

2 years ago[NUI] Fix Progress and improve Loading
Jiyun Yang [Mon, 20 Feb 2023 05:47:18 +0000 (14:47 +0900)]
[NUI] Fix Progress and improve Loading

* Progress
Previously, the Progress did not update the distance of the indeterminate animation on resize.

* Loading
Add a property that can help to set lottie animation image url.
This is for using Theme.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
2 years ago[NUI] Fix button bugs and improve switch.
Jiyun Yang [Fri, 17 Feb 2023 08:51:57 +0000 (17:51 +0900)]
[NUI] Fix button bugs and improve switch.

* Button's IconOrientation bug
In the previous code, when the IconOrientation property changed,
the LayoutItems() was called and it created a new layout.
But in case the button was inside another layout, the behaviour
described above caused unexpect look. Therefore I fixed it
by changing orientation related properties to the existing layout
instead of creating a new layout.

* Improve switch and extension relationship
The switch extension does not register any event handler to the switch components anymore.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
2 years ago[NUI.Scene3D] Change native default camera create API
Eunki, Hong [Fri, 17 Feb 2023 06:34:26 +0000 (15:34 +0900)]
[NUI.Scene3D] Change native default camera create API

Change default camera generate API as 3D engine style.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[NUI] Fix Slider ValueIndicatorImage and Thumb size (#5002)
Seoyeon2Kim [Fri, 17 Feb 2023 03:57:02 +0000 (12:57 +0900)]
[NUI] Fix Slider ValueIndicatorImage and Thumb size (#5002)

- Update Slider ValueIndicatorImage / Text to change its size depending
on the content.
- Thumb size uses natural size of its image size.
- Update Slider style guide sample for ValueIndicator

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years ago[NUI] Fix switch animation bug
Jiyun Yang [Fri, 17 Feb 2023 03:31:53 +0000 (12:31 +0900)]
[NUI] Fix switch animation bug

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
2 years ago[NUI] Improve behaviors of ThemeManager and add an event
Jiyun Yang [Wed, 15 Feb 2023 04:35:27 +0000 (13:35 +0900)]
[NUI] Improve behaviors of ThemeManager and add an event

* ThemeManager.AppendTheme: While ApplyTheme() clears previous applied user theme, AppendTheme() appends it to the previous one.
* ThemeChanging event: An event called right after the theme changed and before applying it to the view.
* Open Theme.indexer public: This is for C_XAML.
* Theme implements IResourcesProvider: to support XAMLResources in xaml code

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
2 years ago[NUI] Add constructors with string style to apply string style
Jaehyun Cho [Thu, 16 Feb 2023 10:17:18 +0000 (19:17 +0900)]
[NUI] Add constructors with string style to apply string style

To apply string style during constructing controls, constructors with
string style are added.

2 years ago[NUI] Fix TextLabel Theme to set FontSizeScale with UseSystemSetting
Jaehyun Cho [Wed, 15 Feb 2023 11:39:11 +0000 (20:39 +0900)]
[NUI] Fix TextLabel Theme to set FontSizeScale with UseSystemSetting

To follow system font size scale, TextLabel Theme sets FontSizeScale
with UseSystemSetting.

2 years ago[NUI] Fix Button Theme not to set fixed size
Jaehyun Cho [Wed, 15 Feb 2023 11:02:05 +0000 (20:02 +0900)]
[NUI] Fix Button Theme not to set fixed size

To increase Button width based on the Button's text, Button Theme sets
MinimumSize instead of fixed Size.

2 years ago[NUI] Add TabItem to support TabView in xaml
Jaehyun Cho [Wed, 8 Feb 2023 11:45:53 +0000 (20:45 +0900)]
[NUI] Add TabItem to support TabView in xaml

To support TabView in xaml, TabItem has been added.

TabView provides Add(TabItem) to add a tab from the given TabItem.
TabItem contains Title, IconURL of a new TabButton in TabView's TabBar
and Content of a new View in TabView's TabContent.

2 years ago[NUI] Fix Switch thumb positioning
Jiyun Yang [Wed, 15 Feb 2023 02:36:52 +0000 (11:36 +0900)]
[NUI] Fix Switch thumb positioning

When the size of thumb or track changes, the it should update the position of the thumb properly.

And to prevent unnecessary switch state updating while applying style, upgrade styleApplying flag to int type.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
2 years ago[NUI] Version Update 22213
Heeyong Song [Mon, 13 Feb 2023 07:32:01 +0000 (16:32 +0900)]
[NUI] Version Update 22213

2 years ago[NUI.Scene3D] Remove warning messages
Eunki, Hong [Thu, 9 Feb 2023 11:41:33 +0000 (20:41 +0900)]
[NUI.Scene3D] Remove warning messages

Tested by `dotnet build /p:BuildWithAnalyzer=True` and checked there is no warning.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[NUI.Scene3D] Do not dispose camera internally
Eunki, Hong [Tue, 7 Feb 2023 13:47:10 +0000 (22:47 +0900)]
[NUI.Scene3D] Do not dispose camera internally

SceneView's camera is not an instance object anymore.
It can be holded by app side.
So, if we dispose it inside of CameraTransition Function, It become sudden dead.

Actually, Dali side camera object still alive, but the NUI.Camera handle is dereferenced.
So, If app try to access that camera, crash occured.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years 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.

2 years ago[MediaContent] Remove deprecated APIs (#4977)
Haesu Gwon [Fri, 10 Feb 2023 05:10:11 +0000 (14:10 +0900)]
[MediaContent] Remove deprecated APIs (#4977)

* [MediaContent] Remove deprecated APIs

2 years ago[Applications.RPCPort] Add a new Parcel constructor (#4964)
hjhun [Thu, 9 Feb 2023 00:34:34 +0000 (09:34 +0900)]
[Applications.RPCPort] Add a new Parcel constructor (#4964)

* [Applications.Common] Modify Parcel constructor

The withoutHeader parameter is added to the Parcel constructor.
If it's true, the parcel object does not have the header.

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years 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

2 years 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>
2 years 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>
2 years ago[NUI.Gadget] Fix static analysis issue (#4968)
hjhun [Tue, 7 Feb 2023 02:51:59 +0000 (11:51 +0900)]
[NUI.Gadget] Fix static analysis issue (#4968)

Checker:
 - DEREF_OF_NULL

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

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years ago[NUI.Gadget] Change API version to API10 (#4959)
hjhun [Thu, 2 Feb 2023 05:40:24 +0000 (14:40 +0900)]
[NUI.Gadget] Change API version to API10 (#4959)

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years 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.

2 years ago[NUI] Version Update 22211
Jaehyun Cho [Wed, 1 Feb 2023 06:19:45 +0000 (15:19 +0900)]
[NUI] Version Update 22211

2 years 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>
2 years ago[NUI][Scene3D] FBO MultiSamplingLevel Property for SceneView
Eunki, Hong [Fri, 27 Jan 2023 07:24:13 +0000 (16:24 +0900)]
[NUI][Scene3D] FBO MultiSamplingLevel Property for SceneView

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[NUI] Fix some SVACE issues.
huayong.xu [Sun, 29 Jan 2023 02:44:23 +0000 (10:44 +0800)]
[NUI] Fix some SVACE issues.

2 years ago[NUI] Fix svace issues.
guowei.wang [Wed, 18 Jan 2023 03:42:48 +0000 (11:42 +0800)]
[NUI] Fix svace issues.

2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years ago[NUI] Version Update 22210
Taehyub Kim [Wed, 25 Jan 2023 07:05:08 +0000 (16:05 +0900)]
[NUI] Version Update 22210

2 years 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>
2 years 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>
2 years 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>
2 years 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.

2 years 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.

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

2 years 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>
2 years 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>
2 years ago[NUI] fix testhub crash issue
dongsug.song [Thu, 19 Jan 2023 00:37:04 +0000 (09:37 +0900)]
[NUI] fix testhub crash issue

2 years 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.

2 years 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>
2 years 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>
2 years 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.

2 years 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>
2 years 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>
2 years 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

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

2 years 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.

2 years 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.

2 years 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.

2 years 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.

2 years 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>
2 years 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>
2 years ago[ImageUtil] Code clean (#4887)
Haesu Gwon [Fri, 13 Jan 2023 03:28:31 +0000 (12:28 +0900)]
[ImageUtil] Code clean (#4887)

2 years 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>
2 years 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>
2 years ago[Camera] Fix ExtraPreview bugs (#4861)
Haesu Gwon [Fri, 6 Jan 2023 07:49:34 +0000 (16:49 +0900)]
[Camera] Fix ExtraPreview bugs (#4861)

2 years 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>
2 years 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>
2 years ago[Bluetooth] Fix overflow issue (#4871)
Wootak Jung [Wed, 28 Dec 2022 04:45:29 +0000 (13:45 +0900)]
[Bluetooth] Fix overflow issue (#4871)

2 years 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

2 years 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.

2 years 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/

2 years 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.

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

2 years 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.

2 years 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>
2 years ago[NUI] fix testhub crash issue
dongsug.song [Fri, 23 Dec 2022 01:59:26 +0000 (10:59 +0900)]
[NUI] fix testhub crash issue

2 years 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.

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

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

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

2 years 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.

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

2 years 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

2 years 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.

2 years 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

2 years 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.

2 years 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.

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

This reverts commit 2ae464cf2e05bd2821e43c09c941df484dbae620.

2 years 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>
2 years agoUpdate README.md
WonYoung Choi [Mon, 19 Dec 2022 06:13:20 +0000 (15:13 +0900)]
Update README.md

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

2 years 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