platform/core/csapi/tizenfx.git
20 months ago[NUI.Gadget] Modify NUIGadgetManager.Add() method (#5011)
hjhun [Wed, 8 Mar 2023 04:02:36 +0000 (13:02 +0900)]
[NUI.Gadget] Modify NUIGadgetManager.Add() method (#5011)

When calling the CreateInstance() method, this patch modifies the set
the ignoreCase to true that the case of the className is no checked.

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Co-authored-by: Jay Cho <chojoong@gmail.com>
20 months agoupdate action script methods (#5062)
Jay Cho [Wed, 8 Mar 2023 01:44:14 +0000 (10:44 +0900)]
update action script methods (#5062)

20 months agoUpdate github action (#5059)
Jay Cho [Tue, 7 Mar 2023 08:46:00 +0000 (17:46 +0900)]
Update github action (#5059)

20 months ago[NUI] Fix layer MoveAbove/MoveBelow API change window's List
Eunki, Hong [Tue, 7 Mar 2023 06:28:45 +0000 (15:28 +0900)]
[NUI] Fix layer MoveAbove/MoveBelow API change window's List

Previous MoveAbove / MoveBelow API change only native side layer order.
It didn't apply to the window who hold this layer.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
20 months ago[NUI] Remove duplicate URL settup
Eunki, Hong [Mon, 6 Mar 2023 14:20:49 +0000 (23:20 +0900)]
[NUI] Remove duplicate URL settup

When we create ImageView with url, It will create image visual twice.
To avoid this situation, make we replace internal url value for
creation time.

And also, setup some missing values when we inputed desired size.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
20 months ago[NUI] Add getter property about WindowPositionSizeWithBorder and WindowSizeWithBorder
joogab.yun [Mon, 6 Mar 2023 09:40:34 +0000 (18:40 +0900)]
[NUI] Add getter property about WindowPositionSizeWithBorder and WindowSizeWithBorder

In the case of a border window, the size including the border area is required.

20 months ago[NUI] Version up 22216
seungho baek [Mon, 6 Mar 2023 10:27:30 +0000 (19:27 +0900)]
[NUI] Version up 22216

Signed-off-by: seungho baek <sbsh.baek@samsung.com>
20 months ago[NUI] Remove duplicate size setter
Eunki, Hong [Mon, 6 Mar 2023 08:45:51 +0000 (17:45 +0900)]
[NUI] Remove duplicate size setter

When if we set View.Size, It will call WidthPolicy / HeightPolicy internal.
And then it will call SizeWidth and SizeHeight.

This patch ignore some duplicated size setting each other.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
20 months ago[NUI] Add Dispose to LongPressGestureDetector and modify ReleaseSwigCPtr.
joogab.yun [Mon, 6 Mar 2023 05:29:34 +0000 (14:29 +0900)]
[NUI] Add Dispose to LongPressGestureDetector and modify ReleaseSwigCPtr.

20 months ago[NUI] Fix SetInputRegion binding
Wonsik Jung [Fri, 3 Mar 2023 05:41:13 +0000 (14:41 +0900)]
[NUI] Fix SetInputRegion binding

Fix SetInputRegion binding function  with correct internal function.
Because previous binded with includedRegion.

20 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

20 months ago[NUI] Fix dispose xaml elements
Xianbing Teng [Thu, 2 Mar 2023 10:48:00 +0000 (18:48 +0800)]
[NUI] Fix dispose xaml elements

20 months ago[NUI][Samples] Add .sln file to load projects
Eunki, Hong [Tue, 28 Feb 2023 05:53:06 +0000 (14:53 +0900)]
[NUI][Samples] Add .sln file to load projects

To make we build by Visual Studio in Windows OS,
Add some sln files that we can build it.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
20 months ago[NUI][Scene3D] Use Model defined camera
Eunki Hong [Fri, 17 Feb 2023 17:00:57 +0000 (02:00 +0900)]
[NUI][Scene3D] Use Model defined camera

Make API that we can use gltf model file defined camera.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
20 months ago[NUI] Fix Menu not to show Content if there is no menu item
Jaehyun Cho [Thu, 23 Feb 2023 08:01:30 +0000 (17:01 +0900)]
[NUI] Fix Menu not to show Content if there is no menu item

Menu.Content is a container of menu items.

Previously, Menu.Content was displayed even if there is no menu item.
Now, Menu.Content is displayed only if menu item exists.

20 months agoDragAndDrop : don't reuse drag window
Taehyub Kim [Tue, 14 Feb 2023 12:28:14 +0000 (21:28 +0900)]
DragAndDrop : don't reuse drag window

20 months ago[NUI] Version up 22214
Eunki, Hong [Tue, 21 Feb 2023 10:32:40 +0000 (19:32 +0900)]
[NUI] Version up 22214

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
20 months ago[NUI] DragAndDrop : Add multi-window sample
Taehyub Kim [Tue, 21 Feb 2023 07:41:28 +0000 (16:41 +0900)]
[NUI] DragAndDrop : Add multi-window sample

20 months 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.

20 months 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>
20 months 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.

20 months 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.

20 months 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>
20 months 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>
20 months 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>
20 months 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>
20 months 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>
20 months 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>
20 months 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.

20 months 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.

20 months 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.

20 months 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.

20 months 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>
21 months ago[NUI] Version Update 22213
Heeyong Song [Mon, 13 Feb 2023 07:32:01 +0000 (16:32 +0900)]
[NUI] Version Update 22213

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

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

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

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

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

21 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>
21 months 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>
21 months ago[NUI] Fix some SVACE issues.
huayong.xu [Sun, 29 Jan 2023 02:44:23 +0000 (10:44 +0800)]
[NUI] Fix some SVACE issues.

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

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