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>
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>
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>
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.
Jaehyun Cho [Wed, 1 Feb 2023 06:19:45 +0000 (15:19 +0900)]
[NUI] Version Update 22211
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>
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>
huayong.xu [Sun, 29 Jan 2023 02:44:23 +0000 (10:44 +0800)]
[NUI] Fix some SVACE issues.
guowei.wang [Wed, 18 Jan 2023 03:42:48 +0000 (11:42 +0800)]
[NUI] Fix svace issues.
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Taehyub Kim [Wed, 25 Jan 2023 07:05:08 +0000 (16:05 +0900)]
[NUI] Version Update 22210
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>
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>
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>
joogab.yun [Wed, 18 Jan 2023 05:43:41 +0000 (14:43 +0900)]
[NUI] Window resizing is performed in one step if possible.
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.
dongsug.song [Thu, 19 Jan 2023 02:03:22 +0000 (11:03 +0900)]
[NUI] add code owner
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>
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>
dongsug.song [Thu, 19 Jan 2023 00:37:04 +0000 (09:37 +0900)]
[NUI] fix testhub crash issue
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.
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>
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>
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.
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>
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>
dongsug.song [Tue, 17 Jan 2023 04:59:26 +0000 (13:59 +0900)]
[NUI] remove swigCPtrCopy which is useless
dongsug.song [Tue, 17 Jan 2023 07:35:21 +0000 (16:35 +0900)]
[NUI] version update
guowei.wang [Tue, 13 Dec 2022 09:36:04 +0000 (17:36 +0800)]
[NUI][XamlBuild] Fix namespace confused issue.
guowei.wang [Thu, 1 Dec 2022 13:53:23 +0000 (21:53 +0800)]
[NUI][NUI.Devel] Update TCs of NUI.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.
huayong.xu [Thu, 5 Jan 2023 06:18:33 +0000 (14:18 +0800)]
[NUI] Add an API for create,window event.
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>
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>
Haesu Gwon [Fri, 13 Jan 2023 03:28:31 +0000 (12:28 +0900)]
[ImageUtil] Code clean (#4887)
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>
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>
Haesu Gwon [Fri, 6 Jan 2023 07:49:34 +0000 (16:49 +0900)]
[Camera] Fix ExtraPreview bugs (#4861)
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>
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>
Wootak Jung [Wed, 28 Dec 2022 04:45:29 +0000 (13:45 +0900)]
[Bluetooth] Fix overflow issue (#4871)
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
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.
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/
EverLEEst(SangHyeon Lee) [Mon, 19 Dec 2022 12:54:05 +0000 (21:54 +0900)]
[NUI] Pass SelectionChangedEventArgs by default as SelectionChangedCommandParameter.
dongsug.song [Tue, 27 Dec 2022 05:01:52 +0000 (14:01 +0900)]
[NUI] version update
guowei.wang [Mon, 26 Dec 2022 06:22:29 +0000 (14:22 +0800)]
[NUI][SVACE] Fix svace(
DF221214-00106) issue.
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>
dongsug.song [Fri, 23 Dec 2022 01:59:26 +0000 (10:59 +0900)]
[NUI] fix testhub crash issue
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.
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>
Kangho Hur [Mon, 26 Dec 2022 23:29:54 +0000 (08:29 +0900)]
Update README.md
Kangho Hur [Mon, 26 Dec 2022 10:11:24 +0000 (19:11 +0900)]
Update README.md
Daekwang Ryu [Tue, 20 Dec 2022 02:19:56 +0000 (11:19 +0900)]
[NUI] Version Update 22206
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.
Xianbing Teng [Tue, 6 Dec 2022 09:36:33 +0000 (17:36 +0800)]
[NUI] Remove unused reference
EverLEEst(SangHyeon Lee) [Thu, 15 Dec 2022 11:45:54 +0000 (20:45 +0900)]
[NUI][NUITizenGallery] add Animal ListView and GridView examples
EverLEEst(SangHyeon Lee) [Thu, 15 Dec 2022 11:42:29 +0000 (20:42 +0900)]
[NUI] fix DefaultGridItem image to fill available area.
everLEEst(SangHyeon Lee) [Fri, 16 Dec 2022 05:27:35 +0000 (21:27 -0800)]
[NUI] update imageUrl to resourceUrl
EverLEEst(SangHyeon Lee) [Thu, 15 Dec 2022 11:38:44 +0000 (20:38 +0900)]
[NUI] add ImageUrl property on DefaultGridItem.
EverLEEst(SangHyeon Lee) [Thu, 15 Dec 2022 11:35:37 +0000 (20:35 +0900)]
[NUI] fix relative layout to fill regardless of children size.
Seoyeon2Kim [Tue, 20 Dec 2022 05:32:04 +0000 (14:32 +0900)]
Revert "Rebase develnui (#4853)"
This reverts commit
2ae464cf2e05bd2821e43c09c941df484dbae620.
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>
WonYoung Choi [Mon, 19 Dec 2022 06:13:20 +0000 (15:13 +0900)]
Update README.md
joogab.yun [Wed, 14 Dec 2022 01:51:48 +0000 (10:51 +0900)]
[NUI] Version Update 22205
dongsug.song [Tue, 13 Dec 2022 03:38:10 +0000 (12:38 +0900)]
[NUI] make Theme not be loaded in tv profile
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>
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>
dongsug.song [Thu, 8 Dec 2022 14:11:18 +0000 (23:11 +0900)]
[NUI] Not set style in PROFILE_TV
dongsug.song [Thu, 8 Dec 2022 13:19:48 +0000 (22:19 +0900)]
[NUI] fix for PROFILE_TV to be defined and be applied
dongsug.song [Wed, 7 Dec 2022 23:51:00 +0000 (08:51 +0900)]
[NUI] set default theme for TV profile
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
guowei.wang [Thu, 8 Dec 2022 13:56:37 +0000 (21:56 +0800)]
[NUI] Fix svace issue (
DFDF221207-00724).
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>
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>
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>
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>
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.
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.
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.
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);
}
}
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.
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.
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);
}
}
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.
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.
everLEEst(SangHyeon Lee) [Fri, 2 Dec 2022 07:01:44 +0000 (23:01 -0800)]
[NUI] fix group remove error.
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>
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>
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>