platform/core/csapi/tizenfx.git
4 weeks ago[NUI] Add RenderScale to TextLabel
Bowon Ryu [Thu, 27 Mar 2025 07:37:34 +0000 (16:37 +0900)]
[NUI] Add RenderScale to TextLabel

Added RenderScale to prevent text rendering quality degradation when scaling up with View.Scale.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
4 weeks ago[NUI] Implement InnerShadow + Bind Control Borderline and remove relative codes.
Eunki, Hong [Tue, 22 Apr 2025 05:11:28 +0000 (14:11 +0900)]
[NUI] Implement InnerShadow + Bind Control Borderline and remove relative codes.

Let we make property for InnerShadow.
It will be used when we want to render the shadow inset the view.

Also, Let we make Borderline as top of views, not to touch visual directly.
It will be rendered above the inner shadow now.

* How to use

UIExtents = Inset length of each direction's shadow.
BlurRadius = Radius of shadow. Same as BoxShadow usage.
Color = Color of shadow, Same as BoxShadow usage.

```cs
// InnerShadow for top-left
view.InnerShadow = new InnerShadow(new UIExtents(20.0f, 0.0f, 20.0f, 0.0f), blurRadius, color);

// InnerShadow for inset
view.InnerShadow = new InnerShadow(new UIExtents(20.0f), blurRadius, color);
```

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 weeks ago[NUI] Add IsEnabled binding property
everLEEst(SangHyeon Lee) [Tue, 13 May 2025 10:56:35 +0000 (19:56 +0900)]
[NUI] Add IsEnabled binding property

4 weeks ago[NUI] Add measure invalidated event for detecting layout changes
everLEEst(SangHyeon Lee) [Wed, 30 Apr 2025 08:37:36 +0000 (17:37 +0900)]
[NUI] Add measure invalidated event for detecting layout changes

4 weeks ago[NUI] Introduce Conic Gradient (#6906)
Chihun Jeong [Tue, 13 May 2025 06:27:38 +0000 (15:27 +0900)]
[NUI] Introduce Conic Gradient (#6906)

You can use conic gradient using Center and StartAngle.

Co-authored-by: ANZ1217 <chihun.jeong@samsung.com>
4 weeks ago[NUI] Fix some CA2000 warnings in NUI.
huayong.xu [Mon, 28 Apr 2025 08:12:01 +0000 (16:12 +0800)]
[NUI] Fix some CA2000 warnings in NUI.

Meanwhile some memory leaks are fixed. For example,
Vector2.Dispose is not called in Wheel constructor.

4 weeks ago[NUI] Introduce MaskEffect (#6905)
Chihun Jeong [Tue, 13 May 2025 04:07:39 +0000 (13:07 +0900)]
[NUI] Introduce MaskEffect (#6905)

Co-authored-by: ANZ1217 <chihun.jeong@samsung.com>
4 weeks ago[NUI] Remove unused codes in VisualBase.
huayong.xu [Thu, 3 Apr 2025 09:12:13 +0000 (17:12 +0800)]
[NUI] Remove unused codes in VisualBase.

Properties private setter in VisualBase is not called by others.

4 weeks ago[NUI.Samples] Fix rendering bugs at RendererUpdateAreaTest
Eunki, Hong [Mon, 12 May 2025 04:37:05 +0000 (13:37 +0900)]
[NUI.Samples] Fix rendering bugs at RendererUpdateAreaTest

We should match shader uniform's value type and
registered value type.

Unfortunatly, UIVector2 become Vector3 when we make it input of PropertyValue.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 weeks ago[NUI] Adds Spring Like AlphaFunction for NUI.Animation
Seungho Baek [Thu, 8 May 2025 07:43:57 +0000 (16:43 +0900)]
[NUI] Adds Spring Like AlphaFunction for NUI.Animation

Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
4 weeks ago[Recorder] Add finalizer and modify dispose logic (#6902)
Haesu Gwon [Wed, 14 May 2025 05:37:15 +0000 (14:37 +0900)]
[Recorder] Add finalizer and modify dispose logic (#6902)

5 weeks ago[NUI] Add Gradient.StartOffset to upper case table
ANZ1217 [Thu, 8 May 2025 06:38:27 +0000 (15:38 +0900)]
[NUI] Add Gradient.StartOffset to upper case table

5 weeks ago[NUI] version up to 22417
sunghyun kim [Thu, 8 May 2025 06:24:59 +0000 (15:24 +0900)]
[NUI] version up to 22417

5 weeks ago[NUI] Add StartOffset of GradientVisual
Chihun Jeong [Thu, 8 May 2025 05:01:01 +0000 (14:01 +0900)]
[NUI] Add StartOffset of GradientVisual

### Description of Change ###
Add StartOffset of GradientVisual.
Start offset is the offset value that shifts the starting position of the gradient.
0.0 is start position of gradient, 1.0 is end position of gradient.
It is possible to set the startOffset outside the [0, 1] range.
For example, you can animate it from 0.5 to 1.5.

How to use:
Animation anim = new Animation(1000);
anim.AnimateTo(bgView, "gradient.StartOffset", 1.0f);
anim.Play();

5 weeks agoBind background blur effect public functions
jmm [Wed, 16 Apr 2025 10:36:40 +0000 (19:36 +0900)]
Bind background blur effect public functions

5 weeks ago[NUI.Samples] Upgrade PropertyTest sample
Eunki Hong [Tue, 29 Apr 2025 13:22:17 +0000 (22:22 +0900)]
[NUI.Samples] Upgrade PropertyTest sample

Let we check common arthimetic types test, and print more detail logs if not matched.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
5 weeks ago[NUI.Sample] Revive Ruler at Tizen.NUI.Samples
Eunki Hong [Tue, 29 Apr 2025 12:32:50 +0000 (21:32 +0900)]
[NUI.Sample] Revive Ruler at Tizen.NUI.Samples

After remove unused codes #6621 and #6670 Ruler was removed.

But the ruler was useful when we use ScrollView at Tizen.NUI.Sample.

To make the demo app works well, let we implement it only inside the demo components.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
6 weeks ago[NUI] version up to 22416
jmm [Tue, 29 Apr 2025 05:50:46 +0000 (14:50 +0900)]
[NUI] version up to 22416

Signed-off-by: jmm <j0064423.lee@samsung.com>
6 weeks ago[NUI] Refactor app to allow rotation
Taehyub Kim [Tue, 29 Apr 2025 05:29:18 +0000 (14:29 +0900)]
[NUI] Refactor app to allow rotation

6 weeks ago[NUI] Implement LowerFirstLetter as Native side
Eunki, Hong [Mon, 28 Apr 2025 01:55:50 +0000 (10:55 +0900)]
[NUI] Implement LowerFirstLetter as Native side

Relative dali patches:
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-csharp-binder/+/323372

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 weeks ago[NUI] Add OverScrolled in WebView
dongsug.song [Fri, 28 Mar 2025 09:30:01 +0000 (18:30 +0900)]
[NUI] Add OverScrolled in WebView

6 weeks ago[NUI] Hide UIState
Jiyun Yang [Fri, 25 Apr 2025 07:21:58 +0000 (16:21 +0900)]
[NUI] Hide UIState

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
6 weeks ago[NUI][Xaml] Remove warnings logs in xaml.
huayong.xu [Mon, 21 Apr 2025 08:43:55 +0000 (16:43 +0800)]
[NUI][Xaml] Remove warnings logs in xaml.

6 weeks ago[NUI] Remove all files with copyright issues
dongsug.song [Fri, 25 Apr 2025 01:54:48 +0000 (10:54 +0900)]
[NUI] Remove all files with copyright issues

6 weeks ago[NUI] Add copyright notices to files lacking security copyright headers
dongsug.song [Thu, 24 Apr 2025 02:43:34 +0000 (11:43 +0900)]
[NUI] Add copyright notices to files lacking security copyright headers

7 weeks ago[PackageManager] Add RPK type
dongkwan [Thu, 17 Apr 2025 10:42:50 +0000 (19:42 +0900)]
[PackageManager] Add RPK type

7 weeks ago[NUI] version up to 22415
Jiyun Yang [Wed, 23 Apr 2025 05:11:58 +0000 (14:11 +0900)]
[NUI] version up to 22415

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
7 weeks ago[NUI] Fix FlexLayout not to use Dictionary taking child views
Jaehyun Cho [Thu, 17 Apr 2025 12:24:30 +0000 (21:24 +0900)]
[NUI] Fix FlexLayout not to use Dictionary taking child views

Not to block GC of child views, Dictionary taking child views is removed
from FlexLayout.

7 weeks ago[NUI] Cache KeyEventArgs in View.
huayong.xu [Wed, 16 Apr 2025 07:24:14 +0000 (15:24 +0800)]
[NUI] Cache KeyEventArgs in View.

When KeyEvent is triggered frequently, a cache can reduce the peak value
of memory usage.

7 weeks ago[NUI] Fix ScrollableBase Layout to respect MaximumSize
Jaehyun Cho [Thu, 17 Apr 2025 08:44:44 +0000 (17:44 +0900)]
[NUI] Fix ScrollableBase Layout to respect MaximumSize

Previously, ScrollableBase Layout did not respect MaximumSize so the
Size property value might be bigger than actual rendered size on screen
if MaximumSize is smaller than Size property value.
Because actual rendered size respects MaximumSize in DALi.

Now, ScrollableBase Layout respects MaximumSize so the Size property
value and actual rendered size on screen are the same.

7 weeks ago[MediaContent] Remove .scan_ignore documentation (#6847)
Haesu Gwon [Tue, 22 Apr 2025 02:56:37 +0000 (11:56 +0900)]
[MediaContent] Remove .scan_ignore documentation (#6847)

* [MediaContent] Remove .scan_ignore documentation

8 weeks ago[WebRTC] Add debug log (#6856)
Haesu Gwon [Fri, 18 Apr 2025 00:01:55 +0000 (09:01 +0900)]
[WebRTC] Add debug log (#6856)

8 weeks ago[NUI] version up to 22414
everLEEst(SangHyeon Lee) [Thu, 17 Apr 2025 07:29:20 +0000 (16:29 +0900)]
[NUI] version up to 22414

8 weeks ago[NUI] Fix more CA2000 warnings in NUI.
huayong.xu [Mon, 7 Apr 2025 08:41:02 +0000 (16:41 +0800)]
[NUI] Fix more CA2000 warnings in NUI.

After this patch, about 87 CA2000 warnings are remaining in VS.

8 weeks ago[NUI] Fix some CA2000 warnings in NUI
huayong.xu [Thu, 3 Apr 2025 07:58:13 +0000 (15:58 +0800)]
[NUI] Fix some CA2000 warnings in NUI

Some directives '#pragma warning disable CA2000' are removed too.

8 weeks ago[NUI][DirectRenderingGLView] Add RenderCallbackInput include WorldColor
Eunki, Hong [Wed, 16 Apr 2025 10:24:42 +0000 (19:24 +0900)]
[NUI][DirectRenderingGLView] Add RenderCallbackInput include WorldColor

Let we include `RenderCallbackInput` world color infomation.
It will be useful when DRGLView itself (or it's parent's) opacity changed.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
8 weeks ago[NUI] Catch exception when Tizen.System.SystemSettings throw excpetion
Eunki, Hong [Wed, 16 Apr 2025 08:50:03 +0000 (17:50 +0900)]
[NUI] Catch exception when Tizen.System.SystemSettings throw excpetion

There was some exception throwing at some targets s.t. SystemSettings not supported.

If then, we should not do anything after those exception occured.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
8 weeks ago[NUI] Bump Ubuntu version in github action to 24.04
Eunki, Hong [Thu, 17 Apr 2025 01:17:56 +0000 (10:17 +0900)]
[NUI] Bump Ubuntu version in github action to 24.04

Add missing jobs #6848

Also, bump-up the version as 24.04, not 22.04
(24.04 is latest)

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
8 weeks ago[NUI.Samples] Change corner radius source name as "ViewCornerRadius"
Eunki, Hong [Tue, 15 Apr 2025 07:34:45 +0000 (16:34 +0900)]
[NUI.Samples] Change corner radius source name as "ViewCornerRadius"

Their was conflict issue in dali side, both DecoratedVisualRenderer and
Control has same name as animatable.

To fix this issue, we should seperate the name as unique.

After now, we sould access to View's CornerRadius by string "viewCornerRadius".

Relative dali patch:
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-toolkit/+/322738

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
8 weeks ago[NUI] Remove Default field from UI structs except UIColor
Jiyun Yang [Wed, 16 Apr 2025 05:03:22 +0000 (14:03 +0900)]
[NUI] Remove Default field from UI structs except UIColor

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
8 weeks ago[NUI] Fix layout sibiling order changes by RaiseToTop and LowerToBottom
everLEEst(SangHyeon Lee) [Tue, 15 Apr 2025 08:12:01 +0000 (17:12 +0900)]
[NUI] Fix layout sibiling order changes by RaiseToTop and LowerToBottom

8 weeks ago[NUI] Bind Constraint with custom function
Eunki, Hong [Wed, 26 Mar 2025 04:07:36 +0000 (13:07 +0900)]
[NUI] Bind Constraint with custom function

Let we bind custom constraints generate API.

Relative dali patch :

https://review.tizen.org/gerrit/c/platform/core/uifw/dali-toolkit/+/322672 (To make CornerRadius as constraint input)
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-csharp-binder/+/322068

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
8 weeks ago[NUI](GestureOptions) Add missing comments.
joogab.yun [Wed, 9 Apr 2025 06:59:53 +0000 (15:59 +0900)]
[NUI](GestureOptions) Add missing comments.

8 weeks ago[NUI] Implement Rotation.Assign + Call Constraint.Remove at Dispose + Minor cleanup
Eunki, Hong [Thu, 10 Apr 2025 01:40:42 +0000 (10:40 +0900)]
[NUI] Implement Rotation.Assign + Call Constraint.Remove at Dispose + Minor cleanup

Prepare to implement NUI Constraint feature.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
8 weeks agoBump Ubuntu version in github action to 22.04 (#6848)
shmin [Wed, 16 Apr 2025 08:12:09 +0000 (17:12 +0900)]
Bump Ubuntu version in github action to 22.04 (#6848)

2 months agoRevert "[NUI] Rewrite LowerFirstLetter"
dongsug.song [Mon, 14 Apr 2025 04:20:28 +0000 (13:20 +0900)]
Revert "[NUI] Rewrite LowerFirstLetter"

This reverts commit b61e9111329191dc5ab0f28412e3fc21b2231134.

2 months ago[Tizen.Network.WiFiDirect] Add VSIE and connection related APIs (#6755)
akash1-kumar [Fri, 11 Apr 2025 04:35:27 +0000 (10:05 +0530)]
[Tizen.Network.WiFiDirect] Add VSIE and connection related APIs (#6755)

* [Tizen.Network.WiFiDirect] Add new wifi-direct API signature

Signed-off-by: Akash Kumar <akash1.kumar@.samsung.com>
* Implement newly added wifi-direct apis

Signed-off-by: Akash Kumar <akash1.kumar@.samsung.com>
* Apply review comments

Signed-off-by: Akash Kumar <akash1.kumar@.samsung.com>
* Update description

Signed-off-by: Akash Kumar <akash1.kumar@.samsung.com>
* Apply review comment

Signed-off-by: Akash Kumar <akash1.kumar@.samsung.com>
---------

Signed-off-by: Akash Kumar <akash1.kumar@.samsung.com>
Co-authored-by: Akash Kumar <akash1.kumar@.samsung.com>
2 months ago[Applications.Common] Add internal API to toggle watchdog
newb1e-kim [Wed, 9 Apr 2025 04:54:09 +0000 (13:54 +0900)]
[Applications.Common] Add internal API to toggle watchdog

Add internal APIs to handling watchdog timer
Implement WatchdogTimer, for application to request related operation

2 months ago[NUI] version up to 22413
dongsug.song [Tue, 8 Apr 2025 13:22:03 +0000 (22:22 +0900)]
[NUI] version up to 22413

2 months ago[NUI] Update and sync all the latest patches related to WebView that have been modifi...
dongsug.song [Fri, 4 Apr 2025 07:57:44 +0000 (16:57 +0900)]
[NUI] Update and sync all the latest patches related to WebView that have been modified so far

- Add SetVideoHole() for EFL window
- Fix WebView delegate GC error
- Add WebView DeviceListGet,SetDefaultAudio
- Add FeedMouseWheel as hidden api
- Add some logs in NUICoreBackend.Exit() by request from GBM

2 months ago[NUI] Add SetPanGestureMinimumTouchesRequired and SetPanGestureMaximumTouchesRequired...
joogab.yun [Mon, 7 Apr 2025 07:15:24 +0000 (16:15 +0900)]
[NUI] Add SetPanGestureMinimumTouchesRequired and SetPanGestureMaximumTouchesRequired() to GestureOptions.

This sets MinimumTouchesRequired and MaximumTouchesRequired when creating a PanGesture.

2 months ago[NUI] Keep DRGLView delegate at least 1 frame rendering
Eunki Hong [Fri, 4 Apr 2025 17:50:36 +0000 (02:50 +0900)]
[NUI] Keep DRGLView delegate at least 1 frame rendering

Since DRGLView's rendering callback invoked at render thread,
we need to keep those delegate at least 1 frame until those
delegate will never be called at native side.

We have good internal class for this case, named `RenderThreadObjectHolder`.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
2 months ago[NUI] Bind corner radius properties
jmm [Tue, 25 Feb 2025 08:45:39 +0000 (17:45 +0900)]
[NUI] Bind corner radius properties

Signed-off-by: jmm <j0064423.lee@samsung.com>
2 months ago[NUI] Remove text build warning CA1031
Bowon Ryu [Wed, 2 Apr 2025 06:03:31 +0000 (15:03 +0900)]
[NUI] Remove text build warning CA1031

https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1031

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 months ago[NUI] Fix wrong disposal bug
Jiyun Yang [Wed, 2 Apr 2025 06:48:08 +0000 (15:48 +0900)]
[NUI] Fix wrong disposal bug

Previously BackgroundExtraData did dispose its disposable members which can be also used outside of this view. So it caused problems, for example it could dispose static color member such as Color.Black

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
2 months ago[NUI] Remove unused NUI extension
Jiyun Yang [Wed, 2 Apr 2025 02:13:53 +0000 (11:13 +0900)]
[NUI] Remove unused NUI extension

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
2 months ago[NUI] Reduce build warning CA1805 (Deprecated, BaseComponents, etc)
Eunki Hong [Tue, 1 Apr 2025 15:17:13 +0000 (00:17 +0900)]
[NUI] Reduce build warning CA1805 (Deprecated, BaseComponents, etc)

Phase 2 of #6805.

Build warning counts : 1521 -> 1424 (Reduce 97)

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
2 months ago[NUI] Reduce more build warnings : CA1707, CA2211, CA1815, CA1720
Eunki Hong [Tue, 1 Apr 2025 12:50:09 +0000 (21:50 +0900)]
[NUI] Reduce more build warnings : CA1707, CA2211, CA1815, CA1720

- CA1707: Remove the underscores from member name
- CA2211: Non-constant fields should not be visible
- CA1815: {Strut} should override the equality (==) and inequality (!=) operators
- CA1720: Identifier 'Double' contains type namew

Build warning counts 1524 -> 1426 (Reduce 98)

Build command : dotnet build /p:NuiRoslynAnalysis=true

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
2 months ago[NUI] Apply Global.ruleset what TizenFX using
Eunki Hong [Tue, 1 Apr 2025 15:46:05 +0000 (00:46 +0900)]
[NUI] Apply Global.ruleset what TizenFX using

Let we use `analyzers.props` what `Global.ruleset` defined already.

For NUI csproj hijack, let we don't import duplicated property settings

Build warning : 1523 -> 1407 (Reduce 116)

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
2 months ago[NUI] Fix wrong equality check of UICorner
Jiyun Yang [Wed, 2 Apr 2025 02:06:30 +0000 (11:06 +0900)]
[NUI] Fix wrong equality check of UICorner

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
2 months ago[NUI] Rewrite LowerFirstLetter
Leee [Thu, 3 Apr 2025 06:56:26 +0000 (15:56 +0900)]
[NUI] Rewrite LowerFirstLetter

Reduce string creation.

- Prune unnecessary case
- Unsafe char[] access to avoid string creation

2 months ago[NUI] version up 22412
Jaehyun Cho [Tue, 1 Apr 2025 11:02:44 +0000 (20:02 +0900)]
[NUI] version up 22412

2 months ago[NUI] Fix height calculation of TextLabelLayout
Bowon Ryu [Tue, 1 Apr 2025 09:45:38 +0000 (18:45 +0900)]
[NUI] Fix height calculation of TextLabelLayout

When the label's HeightSpecification is wrap content,
the result of GetHeightForWidth() is used to calculate the text height.

The previous behavior simply used NaturalSize,
so it could not guarantee the behavior of the case below.

```
var label = new TextLabel
{
    Text = "Something long long text...",
    WidthSpecification = LayoutParamPolicies.WrapContent,
    HeightSpecification = LayoutParamPolicies.WrapContent,
    MaximumSize = new Size(400, 400),
    Padding = new Extents(25, 25, 10, 10),
    MultiLine = true,
};
```

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 months ago[NUI] Implement IEquatable for primitive structures and make them immutable
Jiyun Yang [Tue, 1 Apr 2025 05:12:55 +0000 (14:12 +0900)]
[NUI] Implement IEquatable for primitive structures and make them immutable

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
2 months ago[NUI.Samples] Make NUI Samples use Renderable instead Renderer
Eunki, Hong [Tue, 1 Apr 2025 08:39:24 +0000 (17:39 +0900)]
[NUI.Samples] Make NUI Samples use Renderable instead Renderer

Let we use latest `Renderable` class, instead of `Renderer`.

Furthermore, Let we implement some missing property for Renderable : UpdateArea

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months ago[NUI] Refactoring of Rendering Directory
Seungho Baek [Wed, 11 Dec 2024 10:16:28 +0000 (19:16 +0900)]
[NUI] Refactoring of Rendering Directory

Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
2 months ago[NUI.UIColor] Explain more constant colors
Eunki Hong [Mon, 31 Mar 2025 14:01:58 +0000 (23:01 +0900)]
[NUI.UIColor] Explain more constant colors

Let we follow all colors from https://www.w3.org/TR/css-color-3 X11 colors.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
2 months ago[NUI] Reduce build warning CA1805: Do not initialize unnecessarily (Phase Internal...
Eunki Hong [Mon, 31 Mar 2025 15:05:59 +0000 (00:05 +0900)]
[NUI] Reduce build warning CA1805: Do not initialize unnecessarily (Phase Internal/Devel/some public)

https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1805

Let we don't initialize known values as default.

warning messages
```
TizenFX/src/Tizen.NUI/src/devel/Lite/UIRect.cs(66,35): warning CA1805: Member 'Zero' is explicitly initialized to its default value
TizenFX/src/Tizen.NUI/src/internal/Application/Application.cs(369,55): warning CA1805: Member 'rootIdleCallback' is explicitly initialized to its default value
...
```

For now, just resolve this errors for internal and devel and some non-touched public recently.

Warning counts 1817 -> 1519 (reduce 298 warnings)

Remained warnings for CA1805 : `BaseComponents`, `Color`, `Renderer`.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
2 months ago[NUI] Remove build warnings
Eunki Hong [Mon, 31 Mar 2025 14:23:31 +0000 (23:23 +0900)]
[NUI] Remove build warnings

- Fix comments error at UIVector3
- Make Alignment's Padding getter and setter name as `GetAlignmentPaddng()` / `SetAlignmentPadding()`. (It was same name with `UIExtents GetPadding()`

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
2 months ago[NUI.Palette] Make Palette.GenerateAsync() thread safe
Eunki, Hong [Mon, 31 Mar 2025 05:25:28 +0000 (14:25 +0900)]
[NUI.Palette] Make Palette.GenerateAsync() thread safe

Until now, We use some static pointer at `ColorCutQuantizer` class.

Since we could create that class at worker thread freely, we should not access
static pointer without any locking points.
And also, those static values should not be static.

To fix this issue, let we make `ColorCutQuantizer.Vbox` hold it's parent,
and remove static keyword.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months ago[NUI] Define constant color values at seperated files
Eunki, Hong [Mon, 31 Mar 2025 06:00:01 +0000 (15:00 +0900)]
[NUI] Define constant color values at seperated files

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months ago[NUI] Remove UIColor constructor with vector4 and etc.
Jiyun Yang [Fri, 14 Mar 2025 07:34:55 +0000 (16:34 +0900)]
[NUI] Remove UIColor constructor with vector4 and etc.

* Remove UIColor constructor with vector4 type.
* Add predefined colors: Yellow, Cyan, Magenta, Gray

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
2 months ago[NUI] Remove code about boxing/unboxing in Layouting.
huayong.xu [Wed, 26 Mar 2025 01:25:32 +0000 (09:25 +0800)]
[NUI] Remove code about boxing/unboxing in Layouting.

2 months ago[NUI] Add SetGestureGrabMode to InputGesture
Junkyeong Kim [Fri, 21 Mar 2025 08:42:57 +0000 (17:42 +0900)]
[NUI] Add SetGestureGrabMode to InputGesture

2 months ago[NUI.Samples] Make AsyncLoaderSample use Palette.
Eunki, Hong [Thu, 27 Mar 2025 12:04:14 +0000 (21:04 +0900)]
[NUI.Samples] Make AsyncLoaderSample use Palette.

Add some case that using Palette feature.

Let make user could use Palette's color picking system by this demo

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months ago[NUI] Exclude layouting on invisible children
everLEEst(SangHyeon Lee) [Tue, 4 Feb 2025 11:13:09 +0000 (20:13 +0900)]
[NUI] Exclude layouting on invisible children

2 months ago[NUI] Clean up system manager code
Bowon Ryu [Tue, 25 Mar 2025 05:12:29 +0000 (14:12 +0900)]
[NUI] Clean up system manager code

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 months ago[NUI] Add background blur effect option: blur once
jmm [Tue, 25 Mar 2025 09:31:31 +0000 (18:31 +0900)]
[NUI] Add background blur effect option: blur once

2 months ago[NUI] Add SetGestureGrabMode to InputGesture
Junkyeong Kim [Fri, 28 Mar 2025 04:09:49 +0000 (13:09 +0900)]
[NUI] Add SetGestureGrabMode to InputGesture

2 months ago[Applications.Common] Update libiniparser so version
Changgyu Choi [Fri, 28 Mar 2025 01:32:53 +0000 (10:32 +0900)]
[Applications.Common] Update libiniparser so version

libiniparser has been updated to version 4.

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 months ago[Applications.Common] Add some properties for RecentApplicationInfo (#6767)
kilig [Thu, 27 Mar 2025 05:45:15 +0000 (14:45 +0900)]
[Applications.Common] Add some properties for RecentApplicationInfo (#6767)

Signed-off-by: kilig <inkyun.kil@samsung.com>
Co-authored-by: hjhun <36876573+hjhun@users.noreply.github.com>
2 months ago[NUI] Fix to check IsPaddingHandledByNative for Padding getter
Jaehyun Cho [Wed, 26 Mar 2025 05:34:15 +0000 (14:34 +0900)]
[NUI] Fix to check IsPaddingHandledByNative for Padding getter

If a view.Layout.IsPaddingHandledByNative is true, then the
view.Padding setter sets view.Padding instead of view.Layout.Padding.
Because the padding is applied by DALi instead of NUI Layout.

In the same way, view.Padding getter gets view.Padding instead of
view.Layout.Padding if view.Layout.IsPaddingHandledByNative is true.

2 months ago[NUI] Fix AbsoluteLayout typo in calculating Padding size
Jaehyun Cho [Wed, 26 Mar 2025 02:09:49 +0000 (11:09 +0900)]
[NUI] Fix AbsoluteLayout typo in calculating Padding size

Typo of padding top + end is fixed to top + bottom.

2 months ago[NUI] Fix SetSize of ExcludeLayouting with LayoutWidth/Height
Jaehyun Cho [Tue, 25 Mar 2025 12:27:00 +0000 (21:27 +0900)]
[NUI] Fix SetSize of ExcludeLayouting with LayoutWidth/Height

Previously, ExcludeLayouting case sets layout size only if
Width/HeightSpecification is negative value.
If Width/HeightSpecification is negative value, then it is either
MatchParent or WrapContent instead of fixed size value.
Therefore, calculated layout size should be set to view size.

Now, LayoutWidth/Height is used instead of Width/HeightSpecification.
Width/HeightSpecification sets view size if it is fixed size value.
Unlike Width/HeightSpecification, LayoutWidth/Height does not set view
size although it is fixed size value. View size is set by Layout.

Therefore, the condition that LayoutWidth/Height is not fixed size value
is not the same with the condition that Width/HeightSpecification is not
fixed size value since view size may not be set.

To make the condition same as before, additional condition is added.

2 months ago[NUI] Fix Layout to respect MinimumSize and MaximumSize
Jaehyun Cho [Thu, 20 Mar 2025 10:41:02 +0000 (19:41 +0900)]
[NUI] Fix Layout to respect MinimumSize and MaximumSize

Previously, MinimumSize and MaximumSize were not respected by Layout.
e.g. AbsoluteLayout, LinearLayout, RelativeLayout, etc.

Now, MinimumSize and MaximumSize are respected by Layout.

Since the priority of MinimumSize is higher than MaximumSize in DALi,
Layout also follows it.

2 months agoRelocate the function about Font Variations and enhance its explanation (#6780)
Chihun Jeong [Wed, 26 Mar 2025 01:53:17 +0000 (10:53 +0900)]
Relocate the function about Font Variations and enhance its explanation (#6780)

Co-authored-by: ANZ1217 <chihun.jeong@samsung.com>
2 months ago[NUI] Reduce build warnings at VisualObjects
Eunki, Hong [Tue, 25 Mar 2025 10:36:45 +0000 (19:36 +0900)]
[NUI] Reduce build warnings at VisualObjects

- Remove CA1030
- Disable warning for CA2000 for several codes
- Fix unmatched binding function
- Remove CA1001 : Make VisualTransformInfo as disposable

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months ago[NUI] Keep CustomAlphaFunction's delegate at least 1 frame
Eunki, Hong [Tue, 25 Mar 2025 04:57:43 +0000 (13:57 +0900)]
[NUI] Keep CustomAlphaFunction's delegate at least 1 frame

Let we collect all custom alpha functor when we all Animate() API.

If we call Clear() or Animation become Dispose(), let we move those
delegates reference to some global static holder, named `RenderThreadObjectHolder`.

The `RenderThreadObjectHolder` will clear the items after at least 1 frame updated.

We determine the frame updated by the Animation's finished callback.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months ago[NUI] Introduce FONT_VARIATIONS Property (#6772)
Chihun Jeong [Tue, 25 Mar 2025 10:03:29 +0000 (19:03 +0900)]
[NUI] Introduce FONT_VARIATIONS Property (#6772)

* [NUI] Introduce FONT_VARIATIONS Property

* Edit comments and remove Bindable Property.

* Add new function SetProperty(int, float) to modify font variations

* Modify SetProperty function of TextEditor

* Adjust API

* Change SetProperty to InternalSetPropertyFloat

---------

Co-authored-by: ANZ1217 <chihun.jeong@samsung.com>
2 months ago[NUI] version up 22411
angler [Tue, 25 Mar 2025 05:36:52 +0000 (14:36 +0900)]
[NUI] version up 22411

2 months ago[NUI] Clean up text code
Bowon Ryu [Thu, 20 Mar 2025 10:29:16 +0000 (19:29 +0900)]
[NUI] Clean up text code

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 months ago[NUI] Minimize system LocaleLanguage API calls in Text
Bowon Ryu [Thu, 20 Mar 2025 08:07:12 +0000 (17:07 +0900)]
[NUI] Minimize system LocaleLanguage API calls in Text

Every time we set Translatable text,
system LocaleLanguage API is called, which creates overhead.
This patch updates through static classes only when a specific value is needed.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 months ago[NUI] DirectRenderingGLView Demo
Eunki, Hong [Thu, 20 Mar 2025 05:34:18 +0000 (14:34 +0900)]
[NUI] DirectRenderingGLView Demo

Add DirectRenderingGLView demo application

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months ago[NUI](Rendering) Get newly added property index + Implement UpdateAreaExtents
Eunki, Hong [Fri, 14 Mar 2025 00:24:13 +0000 (09:24 +0900)]
[NUI](Rendering) Get newly added property index + Implement UpdateAreaExtents

Let we bind some missing enums for Renderer.

And also, make new property for extents update area of attached view.

relative dali patches:
- https://review.tizen.org/gerrit/c/platform/core/uifw/dali-core/+/321077
- https://review.tizen.org/gerrit/c/platform/core/uifw/dali-csharp-binder/+/321089

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months ago[NUI] Remove github action error part
dongsug.song [Fri, 21 Mar 2025 05:53:11 +0000 (14:53 +0900)]
[NUI] Remove github action error part

2 months ago[NUI] Try to fix github action error
dongsug.song [Fri, 21 Mar 2025 04:36:14 +0000 (13:36 +0900)]
[NUI] Try to fix github action error

2 months ago[NUI] Remove some unused codes that are related to Signal.
huayong.xu [Thu, 20 Mar 2025 03:24:12 +0000 (11:24 +0800)]
[NUI] Remove some unused codes that are related to Signal.

2 months ago[NUI] Add Min/Max of AbsoluteLayout cases in NUILayout
Jaehyun Cho [Wed, 19 Mar 2025 08:17:39 +0000 (17:17 +0900)]
[NUI] Add Min/Max of AbsoluteLayout cases in NUILayout

To test MinimumSize and MaximumSize of AbsoluteLayout in NUILayout,
those test cases are added.

2 months ago[NUI] Apply Margin to LinearLayout cases in NUILayout
Jaehyun Cho [Wed, 19 Mar 2025 07:48:44 +0000 (16:48 +0900)]
[NUI] Apply Margin to LinearLayout cases in NUILayout

In LinearLayout cases of NUILayout, LinearLayout is a child of
AbsoluteLayout.
To apply Margin of LinearLayout as a child of AbsoluteLayout,
AbsoluteLayout.SetLayoutBounds is added.

2 months ago[NUI] Add github action of code style review only for NUI
dongsug.song [Tue, 18 Mar 2025 04:52:48 +0000 (13:52 +0900)]
[NUI] Add github action of code style review only for NUI