platform/core/csapi/tizenfx.git
2 years agoRelease 9.0.0.16583 submit/tizen/20210824.151735
TizenAPI-Bot [Tue, 24 Aug 2021 15:17:35 +0000 (15:17 +0000)]
Release 9.0.0.16583

2 years agoMerge remote-tracking branch 'origin/master' into tizen
TizenAPI-Bot [Tue, 24 Aug 2021 15:17:35 +0000 (15:17 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

2 years ago[NUI] Version update (nui22040) (#3452)
JunsuChoi [Tue, 24 Aug 2021 04:47:42 +0000 (13:47 +0900)]
[NUI] Version update (nui22040) (#3452)

2 years ago[NUI] Change SelectionChangedEventArgs to TextSelectionChangedEventArgs (#3451)
Bowon Ryu [Tue, 24 Aug 2021 02:37:10 +0000 (11:37 +0900)]
[NUI] Change SelectionChangedEventArgs to TextSelectionChangedEventArgs (#3451)

There is an ambiguous reference problem,
because the newly added SelectionChangedEventArgs for Text
has the same name as the existing SelectionChangedEventArgs.

The SelectionChangedEventArgs for Text is not yet an opened API,
so temporarily renaming it to fix the issue.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] CanvasViewSample: Fix filename typo
JunsuChoi [Mon, 23 Aug 2021 04:40:19 +0000 (13:40 +0900)]
[NUI] CanvasViewSample: Fix filename typo

CanvasViewSamsple.cs -> CanvasViewSample.cs

2 years ago[NUI] Make Unparent() in Dispose() be excuted early
dongsug.song [Sat, 21 Aug 2021 07:45:54 +0000 (16:45 +0900)]
[NUI] Make Unparent() in Dispose() be excuted early

- Unparent() needs to be excuted in explicit dispose() which is also same as disposing = true.
- Also it should be called prior to before the derived class of View deletes the native handle, otherwise when doing Unparent(), the child itself has empty body (native object has been deleted already).

2 years ago[NUI] Add SelectionChanged Event (#3397) (#3449)
Bowon Ryu [Mon, 23 Aug 2021 08:39:31 +0000 (17:39 +0900)]
[NUI] Add SelectionChanged Event (#3397) (#3449)

Add SelectionChanged event, which will be called every time the selection has changed.

editor.SelectionChanged += (s, e) =>
{
    e.OldSelectionStart; // selection before the change
    e.OldSelectionEnd;  // selection before the change
};

This reverts commit 3cdf1f2609b3dd00a4ca2fee04927e7cd0cba070.

2 years ago[NUI] VectorGraphics.PathCommand: Use IEnumerable<> type
JunsuChoi [Fri, 20 Aug 2021 03:15:46 +0000 (12:15 +0900)]
[NUI] VectorGraphics.PathCommand: Use IEnumerable<> type

DO NOT use ArrayList or List in public APIs.
https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/guidelines-for-collections

2 years ago[NUI] VectorGraphics: Add Shape.AddPath API
JunsuChoi [Fri, 13 Aug 2021 08:26:38 +0000 (17:26 +0900)]
[NUI] VectorGraphics: Add Shape.AddPath API

Adds an API that adds a large path information.
The PathCommands has a PathCommandType array, a Point array
and the number of each array.

2 years ago[NUI] Add TCs of NativeBinding(internal) & Accessibility(public).
guowei.wang [Fri, 20 Aug 2021 13:04:37 +0000 (21:04 +0800)]
[NUI] Add TCs of NativeBinding(internal) & Accessibility(public).

2 years ago[NUI] Add CursorPositionChanged Event (#3400)
abdullehghujeh [Fri, 20 Aug 2021 07:10:26 +0000 (10:10 +0300)]
[NUI] Add CursorPositionChanged Event (#3400)

* [NUI] Add CursorMoved Event

* [NUI] Rename CursorMoved to CursorPositionChanged

* [NUI] fix formatting

* Remove new cursor position from event args

* replace event handler with invoke

* rename event arg property to Old

Co-authored-by: abdullah <abdullahhasan10@gmail.com>
2 years agoRevert "[NUI] Add SelectionChanged Event (#3397)" (#3440)
Bowon Ryu [Fri, 20 Aug 2021 07:00:48 +0000 (16:00 +0900)]
Revert "[NUI] Add SelectionChanged Event (#3397)" (#3440)

Accidentally merged before the related dali-csharp-binder patch was merged.

This reverts commit d0e0dc427d0ff7a1d01cec085cb5dda7824a6111.

2 years ago[NUI] Add SelectionChanged Event (#3397)
abdullehghujeh [Fri, 20 Aug 2021 06:49:31 +0000 (09:49 +0300)]
[NUI] Add SelectionChanged Event (#3397)

* Add SelectionChanged Event

* Update TextEditorEvent.cs

fix SelectionChangedEventArgs comments

* Update TextFieldEvent.cs

fix SelectionChangedEventArgs comments

* remove sender from selection event arg and make it common

* Remove new selection start/end event args

* replace event handler with invoke

* rename event arg property to Old

Co-authored-by: abdullah <abdullahhasan10@gmail.com>
2 years ago[NUI] Add MinLineSpacing property & Implement LineSpacing (#3375)
abdullehghujeh [Fri, 20 Aug 2021 02:30:11 +0000 (05:30 +0300)]
[NUI] Add MinLineSpacing property & Implement LineSpacing (#3375)

Co-authored-by: abdullah <abdullahhasan10@gmail.com>
2 years agoRemove ReleaseFunction enum at PixelData (#3436)
Eunki Hong [Thu, 19 Aug 2021 09:55:44 +0000 (18:55 +0900)]
Remove ReleaseFunction enum at PixelData (#3436)

PixelData buffer's allocate / release function is only need for C++ side memory.
And C# cannot control that allocation method.
So ReleaseFunction enum is unneccesary arguments at NUI.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Co-authored-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[NUI] Add TCs of WebView & Update some TCs of NUI.Devel.
guowei.wang [Tue, 17 Aug 2021 12:08:47 +0000 (20:08 +0800)]
[NUI] Add TCs of WebView & Update some TCs of NUI.Devel.

2 years ago[NUI] fix for a owner object to maintain the reference of owned objects
dongsug.song [Wed, 18 Aug 2021 00:29:30 +0000 (09:29 +0900)]
[NUI] fix for a owner object to maintain the reference of owned objects

- Renderer maintains the references of Geometry and Shader
- The references are automatically released when Renderer object is disposed by DisposeQueue
- Tested by test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/DisposeTest.cs

2 years ago[NUI] VectorGraphics: remove obsolete
JunsuChoi [Thu, 19 Aug 2021 08:49:17 +0000 (17:49 +0900)]
[NUI] VectorGraphics: remove obsolete

2 years ago[NUI] VectorGraphics: Move enums out of class
JunsuChoi [Thu, 19 Aug 2021 07:16:43 +0000 (16:16 +0900)]
[NUI] VectorGraphics: Move enums out of class

Move enums to VectorGraphicsConstants.cs to avoid nested types.
And add a warning message to FillRuleType, StrokeCapType,
and StrokeJoinType enums of the Shape class that have become ACR.
https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/nested-types

2 years agoFix Dispose(true) issue
Seungkeun Lee [Thu, 19 Aug 2021 09:33:42 +0000 (18:33 +0900)]
Fix Dispose(true) issue

2 years ago[NUI] Version update (nui22039)
Wonsik Jung [Wed, 18 Aug 2021 02:36:36 +0000 (11:36 +0900)]
[NUI] Version update (nui22039)

2 years agoRelease 9.0.0.16564 submit/tizen/20210820.151731
TizenAPI-Bot [Fri, 20 Aug 2021 15:17:31 +0000 (15:17 +0000)]
Release 9.0.0.16564

2 years agoMerge remote-tracking branch 'origin/master' into tizen
TizenAPI-Bot [Fri, 20 Aug 2021 15:17:31 +0000 (15:17 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

2 years ago[ScreenMirroring] Support NUI window (#3413)
Haesu Gwon [Fri, 20 Aug 2021 05:34:04 +0000 (14:34 +0900)]
[ScreenMirroring] Support NUI window (#3413)

2 years agoRelease 9.0.0.16563 submit/tizen/20210819.151757
TizenAPI-Bot [Thu, 19 Aug 2021 15:17:57 +0000 (15:17 +0000)]
Release 9.0.0.16563

2 years agoMerge remote-tracking branch 'origin/master' into tizen
TizenAPI-Bot [Thu, 19 Aug 2021 15:17:56 +0000 (15:17 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

2 years ago[Tizen.System.SystemSettings] Remove lock about invoking event (#3433)
JinWang An [Thu, 19 Aug 2021 03:25:16 +0000 (12:25 +0900)]
[Tizen.System.SystemSettings] Remove lock about invoking event (#3433)

Signed-off-by: JinWang An <jinwang.an@samsung.com>
2 years agoRelease 9.0.0.16562 accepted/tizen/unified/20210818.124559 submit/tizen/20210818.031410
TizenAPI-Bot [Wed, 18 Aug 2021 03:14:10 +0000 (03:14 +0000)]
Release 9.0.0.16562

2 years agoMerge remote-tracking branch 'origin/master' into tizen
TizenAPI-Bot [Wed, 18 Aug 2021 03:14:09 +0000 (03:14 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

2 years ago[NUI] Add attached bindable property CheckBoxGroup.IsGroupHolder to the View. (#3426)
Jiyun Yang [Tue, 17 Aug 2021 08:11:27 +0000 (17:11 +0900)]
[NUI] Add attached bindable property CheckBoxGroup.IsGroupHolder to the View. (#3426)

In NUI, the parent View that holds checkboxes does not related with CheckBoxGroup.
Which means user must create CheckBoxGroup manually and then add all checkbox to the group.

```
var check1 = new CheckBox();
var check2 = new CheckBox();
var check3 = new CheckBox();

parent.Add(check1);
parent.Add(check2);
parent.Add(check3);

var group = new CheckBoxGroup();
group.Add(check1);
group.Add(check2);
group.Add(check3);
```

In this structure, user can not make a group in XAML code.
This patch introduce attached property to the View for the CheckBoxGroup:
```
<View CheckBoxGroup.IsGroupHolder="True">
  <CheckBox Text="Check1"/>
  <CheckBox Text="Check2"/>
  <CheckBox Text="Check3"/>
</View>
```

And then the user can access check box group from the View using GetCheckBoxGroup(view).

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
2 years ago[NUI] Fix svace defects
zhouleonlei [Mon, 16 Aug 2021 06:27:31 +0000 (14:27 +0800)]
[NUI] Fix svace defects

2 years ago[NUI] Change some properties of Struct to nullable
Bowon Ryu [Wed, 11 Aug 2021 09:45:52 +0000 (18:45 +0900)]
[NUI] Change some properties of Struct to nullable

Some properties in the PropertyMap have default values (set when null).
In this case, user can use the default value implemented in DALi
by changing the property to nullable.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] Change the Regex member variables of InputFitler to string
Bowon Ryu [Wed, 11 Aug 2021 07:08:08 +0000 (16:08 +0900)]
[NUI] Change the Regex member variables of InputFitler to string

The properties of the NUI InputFilter require a regular expression.
But internally DALi uses std::regex.
When passing a regex from NUI to DALi, it is passed as a string.
So the platform can not guarantee all the features of C# Regex (RegexOptions etc).

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] Fix CA1721 warnings
Bowon Ryu [Wed, 11 Aug 2021 04:41:00 +0000 (13:41 +0900)]
[NUI] Fix CA1721 warnings

CA1721: Property names should not match get methods

A warning message occurs as a struct with the same name
and Set/Get Methods are added for easy use of PropertyMap.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] Clean code for TextUtils
Bowon Ryu [Wed, 11 Aug 2021 03:30:34 +0000 (12:30 +0900)]
[NUI] Clean code for TextUtils

The convert code between PropertyMap Key and Enum has been simplified.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] Add SetTextFit, GetTextFit to TextLabel
Bowon Ryu [Tue, 10 Aug 2021 11:10:38 +0000 (20:10 +0900)]
[NUI] Add SetTextFit, GetTextFit to TextLabel

Add a TextFit struct to pass data of DALi TextFit PropertyMap.
The TextFit struct can be used as an argument to
SetTextFit and GetTextFit methods.

// example
var textFit = new Tizen.NUI.Text.TextFit();
textFit.Enable = true;
textFit.MinSize = 10.0f;
textFit.MaxSize = 100.0f;
textFit.StepSize = 5.0f;
textFit.FontSizeType = FontSizeType.PointSize;
label.SetTextFit(textFit);

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] Add SetOutline, GetOutline to Text Components
Bowon Ryu [Tue, 10 Aug 2021 07:13:07 +0000 (16:13 +0900)]
[NUI] Add SetOutline, GetOutline to Text Components

Add a Outline struct to pass data of DALi Outline PropertyMap.
The Outline struct can be used as an argument to
SetOutline and GetOutline methods.

// example
var outline = new Tizen.NUI.Text.Outline();
outline.Width = 2.0f;
outline.Color = new Color("#45B39D");
label.SetOutline(outline);

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] Add SetShadow, GetShadow to Text Components
Bowon Ryu [Tue, 10 Aug 2021 06:25:27 +0000 (15:25 +0900)]
[NUI] Add SetShadow, GetShadow to Text Components

Add a Shadow struct to pass data of DALi Shadow PropertyMap.
The Shadow struct can be used as an argument to
SetShadow and GetShadow methods.

// example
var shadow = new Tizen.NUI.Text.Shadow();
shadow.Offset = new Vector2(3, 3);
shadow.Color = new Color("#F1C40F");
shadow.BlurRadius = 4.0f;
label.SetShadow(shadow);

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] Add SetUnderline, GetUnderline to Text Components
Bowon Ryu [Mon, 9 Aug 2021 12:26:37 +0000 (21:26 +0900)]
[NUI] Add SetUnderline, GetUnderline to Text Components

Add a Underline struct to pass data of DALi Underline PropertyMap.
The Underline struct can be used as an argument to
SetUnderline and GetUnderline methods.

// example
var underline = new Tizen.NUI.Text.Underline();
underline.Enable = true;
underline.Color = new Color("#3498DB");
underline.Height = 2.0f;
label.SetUnderline(underline);

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] Remove duplicate code for TextField, TextEditor
Bowon Ryu [Mon, 9 Aug 2021 10:11:56 +0000 (19:11 +0900)]
[NUI] Remove duplicate code for TextField, TextEditor

Removed duplicate code for converting between struct and PropertyMap.
Added a function to replace this in TextUtils.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] Add SetFontStyle, GetFontStyle to Text Components
Bowon Ryu [Mon, 9 Aug 2021 09:34:42 +0000 (18:34 +0900)]
[NUI] Add SetFontStyle, GetFontStyle to Text Components

Add a FontStyle struct to pass data of DALi FontStyle PropertyMap.
The FontStyle struct can be used as an argument to
SetFontStyle, GetFontStyle, SetInputFontStyle and GetInputFontStyle methods.

If a placeholder struct is added later, it can be used as a property of the placeholder.

// example
var fontStyle = new Tizen.NUI.Text.FontStyle();
fontStyle.Width = FontWidthType.Expanded;
fontStyle.Weight = FontWeightType.Bold;
fontStyle.Slant = FontSlantType.Italic;
textLabel.SetFontStyle(fontStyle);

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] CanvasView: Add picture class for drawing images
JunsuChoi [Wed, 11 Aug 2021 07:34:58 +0000 (16:34 +0900)]
[NUI] CanvasView: Add picture class for drawing images

Add Picture class that can load image and rasterize it on CanvasView's canvas.
This image is drawn with Vector Primitives.
And, since it inherits Drawable, user can use transformation method,
and can use masking and clipping methods together with other shapes.

2 years ago[NUI] CanvasView: Change viewBox method to property
JunsuChoi [Fri, 13 Aug 2021 02:31:35 +0000 (11:31 +0900)]
[NUI] CanvasView: Change viewBox method to property

Changes viewbox interface method to property.

2 years ago[NUI] VectorGraphics: Add Gradient feature
JunsuChoi [Thu, 5 Aug 2021 08:58:47 +0000 (17:58 +0900)]
[NUI] VectorGraphics: Add Gradient feature

Add Gradient, LinearGradient, and RadialGradient classes that
implement Linear and Radial Gradient features.
Each Gradient can be applied to Fill and Stroke of Shape after
setting Bounds and ColorStop suitable for style.

2 years ago[NUI] Fix FlexLayout to measure its child correctly
Jaehyun Cho [Tue, 10 Aug 2021 12:29:05 +0000 (21:29 +0900)]
[NUI] Fix FlexLayout to measure its child correctly

FlexLayout calculated child view's size in OnLayout() without
considering child layout's measured size unlike other layouts'
OnLayout().

This caused that the grand child view's size was calculated incorrectly
if the child and grand child had MatchParent Width/HeightSpecification.

To resolve this issue, child layout's measured size is set with the
child view's size calculated by dali-toolkit's YOGA APIs.

2 years ago[NUI] Fix FlexLayout not to fill its parent with WrapContent
Jaehyun Cho [Tue, 10 Aug 2021 12:21:57 +0000 (21:21 +0900)]
[NUI] Fix FlexLayout not to fill its parent with WrapContent

Previously, FlexLayout filled its parent even if it had WrapContent
Width/HeightSpecification.
Because FlexLayout's width and height always referred its parent's size.
(If Width/HeightSpecification is WrapContent, then Mode becomes AtMost.)

Now, FlexLayout does not fill its parent if it has WrapContent
Width/HeightSpecification.

2 years ago[NUI] CanvasView::DrawableGroup: Add RemoveDrawable method
JunsuChoi [Mon, 2 Aug 2021 05:53:02 +0000 (14:53 +0900)]
[NUI] CanvasView::DrawableGroup: Add RemoveDrawable method

Add a method to selectively remove the added drawable.

2 years ago[NUI] Add a comment about SENSITIVE. (#3402)
bshsqa [Wed, 11 Aug 2021 00:37:56 +0000 (09:37 +0900)]
[NUI] Add a comment about SENSITIVE. (#3402)

- If a View is insensitive, the children are also not hittable.
 - This patch adds that at the sensitive property comment.

Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years ago[NUI] Fix comments of CornerRadiusPolicy and Borderline (#3394)
Eunki Hong [Wed, 11 Aug 2021 00:25:26 +0000 (09:25 +0900)]
[NUI] Fix comments of CornerRadiusPolicy and Borderline (#3394)

When CornerRadiusPolicy is Relative, the maximum value is 0.5f.
If value is bigger than 0.5f, it will be clamped internally.
But we cannot notificate that informations only by documents.
Now fix it.

And more, We add some more informations about borderline color;
It will be affected by view opacity

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Co-authored-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[NUI] Version update (nui22038)
Woochanlee [Tue, 10 Aug 2021 08:41:56 +0000 (17:41 +0900)]
[NUI] Version update (nui22038)

2 years agoRelease 9.0.0.16541 submit/tizen/20210817.151814
TizenAPI-Bot [Tue, 17 Aug 2021 15:18:14 +0000 (15:18 +0000)]
Release 9.0.0.16541

2 years agoMerge remote-tracking branch 'origin/master' into tizen
TizenAPI-Bot [Tue, 17 Aug 2021 15:18:14 +0000 (15:18 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

2 years ago[MetadataEditor] Dispose resource in ctor (#3403)
Haesu Gwon [Tue, 17 Aug 2021 01:53:55 +0000 (10:53 +0900)]
[MetadataEditor] Dispose resource in ctor (#3403)

2 years ago[NLP] Fix crash issue
Jihoon Kim [Wed, 11 Aug 2021 04:53:19 +0000 (13:53 +0900)]
[NLP] Fix crash issue

Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agoRelease 9.0.0.16539 submit/tizen/20210813.151705
TizenAPI-Bot [Fri, 13 Aug 2021 15:17:05 +0000 (15:17 +0000)]
Release 9.0.0.16539

2 years agoMerge remote-tracking branch 'origin/master' into tizen
TizenAPI-Bot [Fri, 13 Aug 2021 15:17:05 +0000 (15:17 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

2 years ago[Bluetooth][Non-ACR] Add internal APIs (#3376)
Wootak Jung [Fri, 13 Aug 2021 02:19:15 +0000 (11:19 +0900)]
[Bluetooth][Non-ACR] Add internal APIs (#3376)

BluetoothAdapter.SelectRole(BluetoothAudioRole role)
BluetoothAdapter.GetUuidSpecificationName(string uuid)
BluetoothGattServer.AttMtuChanged

2 years agoAdd and change lock about event handler (#3419)
JinWang An [Fri, 13 Aug 2021 01:30:07 +0000 (10:30 +0900)]
Add and change lock about event handler (#3419)

Signed-off-by: JinWang An <jinwang.an@samsung.com>
2 years agoRelease 9.0.0.16537 accepted/tizen/unified/20210811.132117 submit/tizen/20210810.110054
TizenAPI-Bot [Tue, 10 Aug 2021 11:00:54 +0000 (11:00 +0000)]
Release 9.0.0.16537

2 years agoMerge remote-tracking branch 'origin/master' into tizen
TizenAPI-Bot [Tue, 10 Aug 2021 11:00:53 +0000 (11:00 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

2 years agofix parameter name to understandable
Bowon Ryu [Mon, 2 Aug 2021 10:13:01 +0000 (19:13 +0900)]
fix parameter name to understandable

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] Add SelectText to TextField, TextEditor
Bowon Ryu [Thu, 29 Jul 2021 11:06:11 +0000 (20:06 +0900)]
[NUI] Add SelectText to TextField, TextEditor

Select text from start to end index.
This API works in the same way as SelectWholeText().
When this is called, a SelectText event is added to the event queue.
So this can guarantee the behavior even if called before the text is rendered.

// example
textField.SelectText(2, 10);

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] Fix wrong code of initialize style in View (#3393)
Jiyun Yang [Mon, 9 Aug 2021 04:05:16 +0000 (13:05 +0900)]
[NUI] Fix wrong code of initialize style in View (#3393)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
2 years ago[NUI] sync with https://github.com/nui-dali/NUITizenGallery
dongsug.song [Mon, 9 Aug 2021 03:00:16 +0000 (12:00 +0900)]
[NUI] sync with https://github.com/nui-dali/NUITizenGallery

2 years agoAdd InputFilter to TextField, TextEditor
Bowon Ryu [Fri, 21 May 2021 08:58:13 +0000 (17:58 +0900)]
Add InputFilter to TextField, TextEditor

Text input filter based on regular expressions.

Add a InputFilter struct to pass data of DALi InputFilter PropertyMap.
The InputFilter struct can be used as an argument to SetInputFilter and GetInputFilter methods.

// example
InputFilter inputFilter;
inputFilter.Accepted = new Regex(@"[\d]");
inputFilter.Rejected = new Regex("[0-3]");

field.SetInputFilter(inputFilter);

field.InputFiltered += (s, e) =>
{
    if (e.Type == InputFilterType.Accept)
    {
        // If input is filtered by InputFilter of Accept type.
    }
    else if (e.Type == InputFilterType.Reject)
    {
        // If input is filtered by InputFilter of Reject type.
    }
};

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] Unparent view when Dispose() is called explicitly (#3392)
Jiyun Yang [Mon, 9 Aug 2021 03:20:00 +0000 (12:20 +0900)]
[NUI] Unparent view when Dispose() is called explicitly (#3392)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
2 years ago[NUI] RiveAnimationView Samples: Add More RiveAnimationView Samples
Taehyub Kim [Thu, 5 Aug 2021 08:49:28 +0000 (01:49 -0700)]
[NUI] RiveAnimationView Samples: Add More RiveAnimationView Samples

1. RiveAnimationUniverse.cs: This sample shows the view animation using user interactive rive animation.
2. RiveAnimationFollowTouch.cs: This sample shows the node position control of rive animation.
3. RiveAnimationRollInOut.cs: This sample shows the animation state change by the  user interaction.

2 years ago[NUI] RiveAnimationView: Add SetAnimationElapsedTime API
Taehyub Kim [Thu, 5 Aug 2021 08:47:28 +0000 (01:47 -0700)]
[NUI] RiveAnimationView: Add SetAnimationElapsedTime API

2 years ago[NUI] Change ColorDepth enum to ColorFormat
Daekwang Ryu [Thu, 5 Aug 2021 06:09:50 +0000 (15:09 +0900)]
[NUI] Change ColorDepth enum to ColorFormat

ColorDepth was changed to ColorFormat in Dali.

2 years agoRelease 9.0.0.16528 accepted/tizen/unified/20210809.001432 submit/tizen/20210806.045216
TizenAPI-Bot [Fri, 6 Aug 2021 04:52:16 +0000 (04:52 +0000)]
Release 9.0.0.16528

2 years agoMerge remote-tracking branch 'origin/master' into tizen
TizenAPI-Bot [Fri, 6 Aug 2021 04:52:16 +0000 (04:52 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

2 years ago[NUI] Fix svace issues
Jiyun Yang [Fri, 6 Aug 2021 02:29:16 +0000 (11:29 +0900)]
[NUI] Fix svace issues

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
2 years ago[NUI] RiveAnimationView: refines the function and parameters name
Taehyub Kim [Tue, 3 Aug 2021 09:40:54 +0000 (18:40 +0900)]
[NUI] RiveAnimationView: refines the function and parameters name

2 years ago[NUI] Update NUI.Devel to fix block and crash issues.
guowei.wang [Tue, 3 Aug 2021 12:30:32 +0000 (20:30 +0800)]
[NUI] Update NUI.Devel to fix block and crash issues.

2 years ago[NUI] CanvasView:: Add ViewBox Property (#3361)
JunsuChoi [Tue, 3 Aug 2021 08:10:00 +0000 (17:10 +0900)]
[NUI] CanvasView:: Add ViewBox Property (#3361)

* [NUI] CanvasView:: Add ViewBox Property

Add a property that can change the viewbox value of CanvasView.
If the viewbox is smaller than the view size, the canvas will appear larger.
Conversely, if the viewbox is large, the canvas will look small.

* [NUI] CanvasView: Change viewBox property to method

we currently recommend NOT to use class type as a property.

2 years ago[NUI] BaseComponent: Add RiveAnimationView Component. (#3315)
Taehyub Kim [Tue, 3 Aug 2021 07:02:44 +0000 (16:02 +0900)]
[NUI] BaseComponent: Add RiveAnimationView Component. (#3315)

This reverts commit bbbe71cc1f8c47516933be9851482564e023a895.

2 years agoRelease 9.0.0.16523 accepted/tizen/unified/20210806.122100 submit/tizen/20210805.154052
TizenAPI-Bot [Thu, 5 Aug 2021 15:40:52 +0000 (15:40 +0000)]
Release 9.0.0.16523

2 years agoMerge remote-tracking branch 'origin/master' into tizen
TizenAPI-Bot [Thu, 5 Aug 2021 15:40:52 +0000 (15:40 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

2 years ago[Applications] Fix wrong implementation of AttachWindowBelow method (#3384)
hjhun [Thu, 5 Aug 2021 09:43:25 +0000 (18:43 +0900)]
[Applications] Fix wrong implementation of AttachWindowBelow method (#3384)

The AttachWindowBelow() method has to use AppManagerAttachWindowBelow().

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease 9.0.0.16522 submit/tizen/20210803.151745
TizenAPI-Bot [Tue, 3 Aug 2021 15:17:45 +0000 (15:17 +0000)]
Release 9.0.0.16522

2 years agoMerge remote-tracking branch 'origin/master' into tizen
TizenAPI-Bot [Tue, 3 Aug 2021 15:17:45 +0000 (15:17 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

2 years ago[NUI] Version update (nui22037)
seungho [Tue, 3 Aug 2021 00:17:03 +0000 (09:17 +0900)]
[NUI] Version update (nui22037)

Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years ago[NUI] GestureOptions Binding
Joogab Yun [Tue, 20 Jul 2021 04:41:12 +0000 (13:41 +0900)]
[NUI] GestureOptions Binding

2 years ago[NUI][EXaml] Support DataTemplate in EXaml
Fang Xiaohui [Fri, 30 Jul 2021 01:48:06 +0000 (09:48 +0800)]
[NUI][EXaml] Support DataTemplate in EXaml

2 years ago[NUI] Apply BorderlineWidth to ImageView and ImageView.Background
Eunki, Hong [Mon, 2 Aug 2021 09:15:46 +0000 (18:15 +0900)]
[NUI] Apply BorderlineWidth to ImageView and ImageView.Background

Add missing implements about borderline

2 years ago[NUI] CanvasView: Change nameDrawableGroup::Clear() to RemoveAllDrawables()
JunsuChoi [Mon, 2 Aug 2021 04:42:42 +0000 (13:42 +0900)]
[NUI] CanvasView: Change nameDrawableGroup::Clear() to RemoveAllDrawables()

Since the method name of the same concept in CanvasView is used as
'RemoveAllDrawables', change it to maintain the concept.

2 years agoUpdate webview sample code. (#3360)
huayongxu [Mon, 2 Aug 2021 07:51:30 +0000 (15:51 +0800)]
Update webview sample code. (#3360)

2 years ago[NUI] Fix bugs in ViewStyle.CopyFrom
Jiyun Yang [Thu, 29 Jul 2021 08:20:58 +0000 (17:20 +0900)]
[NUI] Fix bugs in ViewStyle.CopyFrom

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
2 years agoAdded summary tag and removed comment of API Level 9
Shrouq Sabah [Thu, 15 Jul 2021 09:27:09 +0000 (12:27 +0300)]
Added summary tag and removed comment of API Level 9

2 years agoRemoved unneeded tags and modified Tizen API Level to 9 in TextLabel
Shrouq Sabah [Mon, 5 Jul 2021 14:22:41 +0000 (17:22 +0300)]
Removed unneeded tags and modified Tizen API Level to 9 in TextLabel

2 years agoChanged EllipsisLocation to EllipsisPosition, removed unneeded tags and modified...
Shrouq Sabah [Mon, 5 Jul 2021 14:11:03 +0000 (17:11 +0300)]
Changed EllipsisLocation to EllipsisPosition, removed unneeded tags and modified Tizen API Level to 9

2 years ago[NUI] Support Ellipsis location, END, START and MIDDLE in TextLabel, TextField and...
Shrouq Sabah [Wed, 30 Jun 2021 00:10:55 +0000 (03:10 +0300)]
[NUI] Support Ellipsis location, END, START and MIDDLE in TextLabel, TextField and TextEditor

2 years ago[NUI] CanvasView: Add constructor that can be created without viewbox
JunsuChoi [Thu, 29 Jul 2021 08:13:46 +0000 (17:13 +0900)]
[NUI] CanvasView: Add constructor that can be created without viewbox

Add a constructor so that it can be created without viewBox argument.

2 years ago[NUI] CanvasView: Add RemoveDrawable/RemoveAllDrawables method (#3355)
JunsuChoi [Fri, 30 Jul 2021 00:26:22 +0000 (09:26 +0900)]
[NUI] CanvasView: Add RemoveDrawable/RemoveAllDrawables method (#3355)

Add a method to selectively remove the added drawable or remove all.

2 years ago[NUI] CanvasView: Add ClipPath and Mask feature for Drawable (#3346)
JunsuChoi [Fri, 30 Jul 2021 00:26:11 +0000 (09:26 +0900)]
[NUI] CanvasView: Add ClipPath and Mask feature for Drawable (#3346)

* [NUI] CanvasView: Add ClipPath and Mask feature for Drawable

Shape and DrawableGroup, which inherit drawable class,
can clipping and masking using ClipPath and Mask methods.

* [NUI] CanvasView: Change return type of Mask and ClipPath methods

Throws an exception when masking and clipping fail.

2 years agoRelease 9.0.0.16508 accepted/tizen/unified/20210730.130000 submit/tizen/20210730.024005
TizenAPI-Bot [Fri, 30 Jul 2021 02:40:05 +0000 (02:40 +0000)]
Release 9.0.0.16508

2 years agoMerge remote-tracking branch 'origin/master' into tizen
TizenAPI-Bot [Fri, 30 Jul 2021 02:40:05 +0000 (02:40 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

2 years ago[Bluetooth][Non-ACR] Fix DeviceName converting issue (#3351)
Wootak Jung [Thu, 29 Jul 2021 23:26:24 +0000 (08:26 +0900)]
[Bluetooth][Non-ACR] Fix DeviceName converting issue (#3351)

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
2 years agoRelease 9.0.0.16507 accepted/tizen/unified/20210727.124522 submit/tizen/20210726.090353
TizenAPI-Bot [Mon, 26 Jul 2021 09:03:53 +0000 (09:03 +0000)]
Release 9.0.0.16507

2 years agoMerge remote-tracking branch 'origin/master' into tizen
TizenAPI-Bot [Mon, 26 Jul 2021 09:03:53 +0000 (09:03 +0000)]
Merge remote-tracking branch 'origin/master' into tizen