platform/core/csapi/tizenfx.git
3 years ago[NUI] TextField/TextEditor: Add enableEditing properties (#2071)
Ali-Alzyoud [Fri, 30 Oct 2020 01:26:54 +0000 (03:26 +0200)]
[NUI] TextField/TextEditor: Add enableEditing properties (#2071)

3 years ago[NUI] Handle null inputs in shadow
Jiyun Yang [Tue, 27 Oct 2020 10:11:44 +0000 (19:11 +0900)]
[NUI] Handle null inputs in shadow

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Make Selector.StateValueList public temporarily (#2142)
YeongJong Lee [Thu, 29 Oct 2020 08:25:03 +0000 (17:25 +0900)]
[NUI] Make Selector.StateValueList public temporarily (#2142)

This will fix DA-NUI build error.
Please revert this patch after the DA build error is fixed.

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] fix ScrollableBase wrong size issue (#2126)
bshsqa [Thu, 29 Oct 2020 08:17:20 +0000 (17:17 +0900)]
[NUI] fix ScrollableBase wrong size issue (#2126)

- Fix OnMeasure callback in LinearLayout.(handling margin and padding)
 - Fix to handle only layout of ContentContainer to measure and layout of ScrollableBase.

Signed-off-by: seungho <seungho@seungho.tn.corp.samsungelectronics.net>
Co-authored-by: seungho <seungho@seungho.tn.corp.samsungelectronics.net>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] avoid duplicated elements in Selector (#2122)
YeongJong Lee [Thu, 29 Oct 2020 07:32:13 +0000 (16:32 +0900)]
[NUI] avoid duplicated elements in Selector (#2122)

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] add ScrollOutOfBound event handler. (#2110)
huayongxu [Thu, 29 Oct 2020 07:22:49 +0000 (15:22 +0800)]
[NUI] add ScrollOutOfBound event handler. (#2110)

* add ScrollOutofBound event handler.

* add EditorBrowsableState.Never

* rename ScrollOutOfBoundEventArgs.

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] TextField/TextEditor: Add SelectedTextStart, SelectedTextEnd properties (#2066)
Ali-Alzyoud [Thu, 29 Oct 2020 07:00:12 +0000 (10:00 +0300)]
[NUI] TextField/TextEditor: Add SelectedTextStart, SelectedTextEnd properties (#2066)

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Add DisallowInterceptTouchEvent (#2109)
JoogabYun [Thu, 29 Oct 2020 06:52:38 +0000 (15:52 +0900)]
[NUI] Add DisallowInterceptTouchEvent (#2109)

If child view doesn't want the parent's view to intercept the touch, you can set it to true.
 for example :
    parent.Add(child);
    parent.InterceptTouchEvent += OnInterceptTouchEvent;
    View view = child.GetParent() as View;
    view.DisallowInterceptTouchEvent = true;
 This prevents the parent from interceping touch.

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years agoRevert "[NUI] Fix Dispose warning error[CA1001] (#2130)"
huiyu.eun [Thu, 29 Oct 2020 06:49:17 +0000 (15:49 +0900)]
Revert "[NUI] Fix Dispose warning error[CA1001] (#2130)"

This reverts commit 00ffabd0eb3ea4f57f1172d466737d25f0bc79c9.

3 years ago[NUI] add exception docs of layout classes (#2052)
YeongJong Lee [Thu, 29 Oct 2020 06:01:13 +0000 (15:01 +0900)]
[NUI] add exception docs of layout classes (#2052)

Requested by TCT reviewr.

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] add null checking for equality operator of ControlState (#2079)
YeongJong Lee [Thu, 29 Oct 2020 05:47:21 +0000 (14:47 +0900)]
[NUI] add null checking for equality operator of ControlState (#2079)

This is patch to prevent a null reference exception in the following
code.

```cs
bool b = null == ControlState.Pressed;
```

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] remove unused exception parameters (#2089)
YeongJong Lee [Thu, 29 Oct 2020 05:00:39 +0000 (14:00 +0900)]
[NUI] remove unused exception parameters (#2089)

Fixes CS0168

Co-authored-by: Yeongjong Lee <yj34.lee@samsung.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] remove unused parameter docs tag. (#2083)
YeongJong Lee [Thu, 29 Oct 2020 04:55:53 +0000 (13:55 +0900)]
[NUI] remove unused parameter docs tag. (#2083)

Fixes CS1572

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Add ThemeManager (#2034)
Jiyun Yang [Thu, 29 Oct 2020 03:22:42 +0000 (12:22 +0900)]
[NUI] Add ThemeManager (#2034)

* [NUI] Refactoring Theme and StyleManager

* [NUI] Fix bugs and improve ThemeManager code

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
* [NUI] Fix button bugs that come after applying ThemeManager

In the DropDown button, the IconRelativeOrientation was not working
because it is set before ApplyStyle().
Potentially, IconPadding and TextPadding had same problem.
This patch fixes it.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years agorename member variables.
huayong.xu [Wed, 21 Oct 2020 05:13:58 +0000 (13:13 +0800)]
rename member variables.

3 years agoupdate some comments.
huayong.xu [Tue, 20 Oct 2020 11:23:08 +0000 (19:23 +0800)]
update some comments.

3 years agoadd shadow effect for scrollablebase.
huayong.xu [Tue, 20 Oct 2020 10:44:05 +0000 (18:44 +0800)]
add shadow effect for scrollablebase.

3 years ago[NUI] Fix Dispose warning error[CA1001] (#2130)
huiyueun [Wed, 28 Oct 2020 09:45:17 +0000 (18:45 +0900)]
[NUI] Fix Dispose warning error[CA1001] (#2130)

* [NUI] Fix DisposeQueue warning error[CA1001]

CA100: Types that own disposable fields should be disposable
https://docs.microsoft.com/ko-kr/dotnet/fundamentals/code-analysis/quality-rules/ca1001

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
* [NUI] Fix Accessibility build warnings

CA100: Types that own disposable fields should be disposable
https://docs.microsoft.com/ko-kr/dotnet/fundamentals/code-analysis/quality-rules/ca1001

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
* [NUI] Fix build warnings- 1001

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
* [NUI] Add destructor

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
3 years ago[NUI] Fix build warning CS1573 (#2137)
dongsug-song [Wed, 28 Oct 2020 07:20:54 +0000 (16:20 +0900)]
[NUI] Fix build warning CS1573 (#2137)

3 years ago[NUI] Fix build warning: CS0105 (#2136)
dongsug-song [Wed, 28 Oct 2020 06:45:22 +0000 (15:45 +0900)]
[NUI] Fix build warning: CS0105 (#2136)

* [NUI] Fix build warning: CS0105

* [NUI] Fix build warning: CS0169

3 years ago[Build] Fix workflow to add branch label for DevelNUI
Wonyoung Choi [Wed, 28 Oct 2020 05:23:25 +0000 (14:23 +0900)]
[Build] Fix workflow to add branch label for DevelNUI

3 years ago[Build] Add DevelNUI branch to workflows (#2135)
WonYoung Choi [Wed, 28 Oct 2020 05:11:31 +0000 (14:11 +0900)]
[Build] Add DevelNUI branch to workflows (#2135)

* Update branch-metadata.yml

* Update build-pull-request.yml

* Update build-branches.yml

3 years agoUpdate README.md
WonYoung Choi [Wed, 28 Oct 2020 03:50:18 +0000 (12:50 +0900)]
Update README.md

3 years ago[NUI] Fix typo in comments (#2127)
jaeunchoi [Tue, 27 Oct 2020 08:27:47 +0000 (17:27 +0900)]
[NUI] Fix typo in comments (#2127)

3 years ago[Build] Update nuget package assets for API8 (#2125)
WonYoung Choi [Tue, 27 Oct 2020 02:15:54 +0000 (11:15 +0900)]
[Build] Update nuget package assets for API8 (#2125)

3 years ago[NUI] Fix Size2D to work correctly in Loading (#2114)
Seoyeon2Kim [Mon, 26 Oct 2020 02:43:15 +0000 (11:43 +0900)]
[NUI] Fix Size2D to work correctly in Loading (#2114)

- Currently, Size2D is not working well because of duplicated size properties.
- Fixed Size2D to work well in Loading

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years ago[NUI] Add frameBroker default setting value (#2113)
huiyueun [Thu, 22 Oct 2020 07:01:59 +0000 (16:01 +0900)]
[NUI] Add frameBroker default setting value (#2113)

Add APIs by hidden in TransitionAnimation
 - GetDefaultSize
 - GetDefaultPosition
 - GetDefaultParentOrigin
 - GetDefaultPivotPoint
These functions set the default value of Calle's main imageView.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Bug fixed about TextPageUtil (#2111)
JoogabYun [Thu, 22 Oct 2020 06:10:57 +0000 (15:10 +0900)]
[NUI] Bug fixed about TextPageUtil (#2111)

add check remainLength and init totalPageCnt value

3 years ago[NUI] Add Seamless MusicPlayer sample (#2103)
huiyueun [Wed, 21 Oct 2020 07:05:50 +0000 (16:05 +0900)]
[NUI] Add Seamless MusicPlayer sample (#2103)

-FHub Demo application

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Add FrameComponent dll sample (#2106)
huiyueun [Wed, 21 Oct 2020 01:13:30 +0000 (10:13 +0900)]
[NUI] Add FrameComponent dll sample (#2106)

- copy FrameComponentDll to '/opt/usr/' path.
- launch
app_launcher -s org.tizen.example.NUIComponentApplication __AUL_COMPONENT_ID__ csharp_frame3

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[Camera] Remove feature check (#2107)
hsgwon [Tue, 20 Oct 2020 09:50:33 +0000 (18:50 +0900)]
[Camera] Remove feature check (#2107)

3 years ago[NUI] Modify seamless bug & update sample (#2102)
huiyueun [Tue, 20 Oct 2020 06:10:49 +0000 (15:10 +0900)]
[NUI] Modify seamless bug & update sample (#2102)

- Set the default X value to be set even if it is not SlideIn.
- Set the parameter 'toProvider' value of 'SendLaunchRequest' to true.
  For FrameBroker, this value must be set to true.
- Update sample code : Add Event callback
- Need to check
 * This sample is currently not working normally in wearable.
 * Backward animation is not performed.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Add InterceptTouchEvent (#2098)
JoogabYun [Tue, 20 Oct 2020 01:27:36 +0000 (10:27 +0900)]
[NUI] Add InterceptTouchEvent (#2098)

The Touch event calls the TouchEvent callback by going back from the last child actor to the parent via hitTest.
InterceptTouchEvent checks the touch event in the parent first.
Returning false from interceptTouchEvent allows child actors to receive TouchEvents.
If it returns true, the actor will receive a TouchEvent.

for example

   View parent = new View();
   View child = new View();
   parent.Add(child);
   child.TouchEvent += childFunctor;
   parent.TouchEvent += parentFunctor;

The callbacks are called in the order childFunctor -> parentFunctor.

If you connect interceptTouchSignal to parentActor.

   parent.InterceptTouchEvent += interceptFunctor;

When interceptFunctor returns false, it is called in the same order childFunctor -> parentFunctor.
If intereptFunctor returns true, it means that the TouchEvent was intercepted.
So the child actor will not be able to receive touch events.
Only the parentFunctor is called.

3 years ago[NUI] Fix Registry's memory leak (#2099)
dongsug-song [Mon, 19 Oct 2020 05:07:56 +0000 (14:07 +0900)]
[NUI] Fix Registry's memory leak (#2099)

- new RefObject(xxx, false), this causes unhandled RefObject in dali.
- "cMemoryOwn = false" means that this doesn't care about dali native's object and will not delete native object when nui dispose.
- currently "ViewAddedEventToWindow" is not used and this will be fixed by using Event subscribing pattern soon.
- remove "internal BaseHandle.GetObjectPtr()" method which is not used anymore.

3 years ago[NUI] Add null pointer check for Scrollbar (#2050)
zhouleonlei [Wed, 14 Oct 2020 07:30:21 +0000 (15:30 +0800)]
[NUI] Add null pointer check for Scrollbar (#2050)

* [NUI] Add null pointer check for Scrollbar

* [NUI] Modified ScrollBar

Co-authored-by: dongsug-song <35130733+dongsug-song@users.noreply.github.com>
3 years ago[NUI] Modify to pass userData object to GestureDetectorManager (#1932)
JoogabYun [Wed, 14 Oct 2020 05:54:22 +0000 (14:54 +0900)]
[NUI] Modify to pass userData object to GestureDetectorManager (#1932)

Co-authored-by: TizenAPI-Bot <37820187+TizenAPI-Bot@users.noreply.github.com>
3 years ago[NUI] Add Tizen.NUI.Tests for tct developing (#2090)
dongsug-song [Tue, 13 Oct 2020 08:55:55 +0000 (17:55 +0900)]
[NUI] Add Tizen.NUI.Tests for tct developing (#2090)

3 years ago[NUI] Add Component Application sample (#2097)
huiyueun [Tue, 13 Oct 2020 08:42:23 +0000 (17:42 +0900)]
[NUI] Add Component Application sample (#2097)

app_launcher -s org.tizen.example.NUIComponentApplication __AUL_COMPONENT_ID__ csharp_frame

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[Bluetooth][Non-ACR] Fix Track data converting logic (#2096)
Wootak Jung [Tue, 13 Oct 2020 06:03:47 +0000 (15:03 +0900)]
[Bluetooth][Non-ACR] Fix Track data converting logic (#2096)

I/DOTNET_LAUNCHER( 1322): System.Runtime.InteropServices.COMException
 (0x8007007A): The data area passed to a system call is too small.
 (0x8007007A) at System.StubHelpers.ValueClassMarshaler.ConvertToNative
 (IntPtr dst, IntPtr src, IntPtr pMT, CleanupWorkListElement& pCleanupWorkList)

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
3 years ago[ElmSharp] Added vd theme file path in ThemeOverlay for product tv (#2095)
arosis78 [Mon, 12 Oct 2020 08:59:49 +0000 (17:59 +0900)]
[ElmSharp] Added vd theme file path in ThemeOverlay for product tv (#2095)

* [ElmSharp] Added vd theme file path in ThemeOverlay for product tv

* [ElmSharp] Added tv theme file path in ThemeOverlay for product tv

Co-authored-by: Kangho Hur <rookiejava@gmail.com>
3 years ago[Bluetooth][Non-ACR] Fix TrackInfoChanged not invoked issue (#2094)
Wootak Jung [Mon, 12 Oct 2020 08:24:03 +0000 (17:24 +0900)]
[Bluetooth][Non-ACR] Fix TrackInfoChanged not invoked issue (#2094)

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
3 years ago[Peripheral] Update toc needed by namespace change. (#2092)
xerrni [Sun, 11 Oct 2020 22:58:58 +0000 (00:58 +0200)]
[Peripheral] Update toc needed by namespace change. (#2092)

Signed-off-by: Ernest Borowski <e.borowski@samsung.com>
3 years agoRelease 8.0.0.15613 accepted/tizen/6.0/unified/20201030.120802 accepted/tizen/6.0/unified/hotfix/20201103.051249 accepted/tizen/unified/20201012.060201 submit/tizen/20201009.005224 submit/tizen_6.0/20201029.205103 submit/tizen_6.0_hotfix/20201102.192503 submit/tizen_6.0_hotfix/20201103.114803 tizen_6.0.m2_release
admin [Thu, 8 Oct 2020 15:52:24 +0000 (15:52 +0000)]
Release 8.0.0.15613

3 years agoMerge remote-tracking branch 'origin/master' into tizen
admin [Thu, 8 Oct 2020 15:52:24 +0000 (15:52 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

3 years ago[NUI] Handle XF86KeyPressed in BackKeyManager (#2048)
stanluk [Thu, 8 Oct 2020 08:16:50 +0000 (10:16 +0200)]
[NUI] Handle XF86KeyPressed in BackKeyManager (#2048)

In Tizen iot-headed the WM dispatches 'XF86Back' event
instead of 'Back'.

Co-authored-by: dongsug-song <35130733+dongsug-song@users.noreply.github.com>
3 years ago[NUI] Deprecate set properties of Color, Rectangle, and etc (#2082)
dongsug-song [Thu, 8 Oct 2020 07:08:37 +0000 (16:08 +0900)]
[NUI] Deprecate set properties of Color, Rectangle, and etc (#2082)

- https://code.sec.samsung.net/jira/browse/TCSACR-376

3 years agoRelease 8.0.0.15611 submit/tizen/20201008.005410
admin [Wed, 7 Oct 2020 15:54:10 +0000 (15:54 +0000)]
Release 8.0.0.15611

3 years agoMerge remote-tracking branch 'origin/master' into tizen
admin [Wed, 7 Oct 2020 15:54:10 +0000 (15:54 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

3 years ago[Sensor] Remove document warning. (#2080)
MuHong Byun [Wed, 7 Oct 2020 09:30:51 +0000 (18:30 +0900)]
[Sensor] Remove document warning. (#2080)

* Add comment to BatchSensor

Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
3 years ago[System][Non-ACR] Change comments in DisplayState and PowerLock (#2087)
Lee Chang Joo [Wed, 7 Oct 2020 08:57:16 +0000 (17:57 +0900)]
[System][Non-ACR] Change comments in DisplayState and PowerLock (#2087)

3 years ago[NUI] Add class SelectedChangedEventArgs to public (#2086)
Jaehyun Cho [Wed, 7 Oct 2020 08:27:58 +0000 (17:27 +0900)]
[NUI] Add class SelectedChangedEventArgs to public (#2086)

To add Switch.SelectedChanged event with using SelectedChangedEventArgs,
SelectedChangedEventArgs is added to public.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
3 years ago[NUI] Add RemoveAllChildren() in ScrollableBase (#2076)
dongsug-song [Wed, 7 Oct 2020 07:53:24 +0000 (16:53 +0900)]
[NUI] Add RemoveAllChildren() in ScrollableBase (#2076)

- Add RemoveAllChildren(bool dispose) as hidden API in ScrollableBase class.
- This removes all children in ContentContainer.
- If dispose is true, removed child is also disposed.

3 years ago[NUI] Modify Seamless sample code (#2075)
huiyueun [Wed, 7 Oct 2020 06:20:05 +0000 (15:20 +0900)]
[NUI] Modify Seamless sample code (#2075)

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Co-authored-by: dongsug-song <35130733+dongsug-song@users.noreply.github.com>
3 years ago[NUI] Change the values of some enumeration types of InputMethod (#2049)
Seoyeon2Kim [Wed, 7 Oct 2020 05:58:38 +0000 (14:58 +0900)]
[NUI] Change the values of some enumeration types of InputMethod (#2049)

- In Tizen.NUI.InputMethod.ActionButtonTitleType, some enumeration types
 are not used anymore : Previous, Unspecified, None
- To match the types of ecore_imf, some values should be changed.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years ago[System][Non-ACR] Add comments in DisplayState and PowerLock (#2085)
Lee Chang Joo [Wed, 7 Oct 2020 05:27:34 +0000 (14:27 +0900)]
[System][Non-ACR] Add comments in DisplayState and PowerLock (#2085)

- Dim is not supported, when DIM state is disabled.

Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
3 years agoRelease 8.0.0.15604 accepted/tizen/unified/20201009.090834 submit/tizen/20201007.111718
admin [Wed, 7 Oct 2020 02:17:18 +0000 (02:17 +0000)]
Release 8.0.0.15604

3 years agoMerge remote-tracking branch 'origin/master' into tizen
admin [Wed, 7 Oct 2020 02:17:18 +0000 (02:17 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

3 years ago[NUI] Delete unnecessary log in BaseHandle (#2081)
huiyueun [Wed, 7 Oct 2020 01:58:36 +0000 (10:58 +0900)]
[NUI] Delete unnecessary log in BaseHandle (#2081)

If Dispose is already called, the log is displayed unnecessarily.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[Internal] Add Docs for Peripheral. (#2053)
xerrni [Tue, 6 Oct 2020 23:24:39 +0000 (01:24 +0200)]
[Internal] Add Docs for Peripheral. (#2053)

Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
3 years agoRelease 8.0.0.15602 submit/tizen/20201007.005426
admin [Tue, 6 Oct 2020 15:54:26 +0000 (15:54 +0000)]
Release 8.0.0.15602

3 years agoMerge remote-tracking branch 'origin/master' into tizen
admin [Tue, 6 Oct 2020 15:54:26 +0000 (15:54 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

3 years ago[NUI] Remove duplicate code (#2077)
JoogabYun [Tue, 6 Oct 2020 08:45:41 +0000 (17:45 +0900)]
[NUI] Remove duplicate code (#2077)

3 years agoRelease 8.0.0.15601 accepted/tizen/unified/20201007.090638 submit/tizen/20201006.153948
admin [Tue, 6 Oct 2020 06:39:48 +0000 (06:39 +0000)]
Release 8.0.0.15601

3 years agoMerge remote-tracking branch 'origin/master' into tizen
admin [Tue, 6 Oct 2020 06:39:48 +0000 (06:39 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

3 years ago[NUI] Version update : nui-21932 (#2074)
dongsug-song [Tue, 6 Oct 2020 06:35:35 +0000 (15:35 +0900)]
[NUI] Version update : nui-21932 (#2074)

- DALi2-1.9.32 matched

3 years ago[NUI] Delete unnecessary log (#2072)
huiyueun [Tue, 6 Oct 2020 01:51:54 +0000 (10:51 +0900)]
[NUI] Delete unnecessary log (#2072)

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years agoRelease 8.0.0.15599 submit/tizen/20201006.005219
admin [Mon, 5 Oct 2020 15:52:19 +0000 (15:52 +0000)]
Release 8.0.0.15599

3 years agoMerge remote-tracking branch 'origin/master' into tizen
admin [Mon, 5 Oct 2020 15:52:19 +0000 (15:52 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

3 years ago[NUI] Add defense code for BaseHandle (#2069)
huiyueun [Mon, 5 Oct 2020 09:39:46 +0000 (18:39 +0900)]
[NUI] Add defense code for BaseHandle (#2069)

* [NUI] Add defense code for BaseHandle

 vd kona - DF200925-00594
Check if the swigCptr value is correct after the dispose.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
* Update BaseHandle.cs

* Update BaseHandle.cs

3 years agoCheck if the feature key is supported at AutoRotationSensor. (#2068)
MuHong Byun [Mon, 5 Oct 2020 05:54:36 +0000 (14:54 +0900)]
Check if the feature key is supported at AutoRotationSensor. (#2068)

* AutoRotationSensor is an algorithmic sensor, whether it is supported or not must be determined through the key.

Signed-off-by: MuHong Byun <mh.byun@samsung.com>
3 years ago[Messaging] Native GC callback fix (#2065)
pvschakradhar [Mon, 5 Oct 2020 00:32:15 +0000 (06:02 +0530)]
[Messaging] Native GC callback fix (#2065)

Native GC callback fix of Messaging

3 years agoRelease 8.0.0.15596 submit/tizen/20200930.005218
admin [Tue, 29 Sep 2020 15:52:18 +0000 (15:52 +0000)]
Release 8.0.0.15596

3 years agoMerge remote-tracking branch 'origin/master' into tizen
admin [Tue, 29 Sep 2020 15:52:18 +0000 (15:52 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

3 years ago[Build] Suppress build warnings (#2062)
WonYoung Choi [Tue, 29 Sep 2020 07:21:01 +0000 (16:21 +0900)]
[Build] Suppress build warnings (#2062)

3 years agoRelease 8.0.0.15595 accepted/tizen/unified/20201005.005843 submit/tizen/20200929.110837
admin [Tue, 29 Sep 2020 02:08:37 +0000 (02:08 +0000)]
Release 8.0.0.15595

3 years agoMerge remote-tracking branch 'origin/master' into tizen
admin [Tue, 29 Sep 2020 02:08:37 +0000 (02:08 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

3 years ago[Build] Fix wrong relative path in maketfm.py (#2059)
WonYoung Choi [Tue, 29 Sep 2020 02:05:50 +0000 (11:05 +0900)]
[Build] Fix wrong relative path in maketfm.py (#2059)

3 years ago[Build] Fix permission of makespec.sh (#2058)
WonYoung Choi [Tue, 29 Sep 2020 01:55:02 +0000 (10:55 +0900)]
[Build] Fix permission of makespec.sh (#2058)

3 years ago[Internal] Add guide for Inspections (#2040)
kkuchciak [Mon, 28 Sep 2020 07:54:19 +0000 (09:54 +0200)]
[Internal] Add guide for Inspections (#2040)

Signed-off-by: Konrad Kuchciak <k.kuchciak@samsung.com>
Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
3 years agoTizen.Peripheral rename classes && move them to namespaces. (#2033)
xerrni [Mon, 28 Sep 2020 01:49:58 +0000 (03:49 +0200)]
Tizen.Peripheral rename classes && move them to namespaces. (#2033)

Signed-off-by: Ernest Borowski <e.borowski@samsung.com>
3 years ago[ElmSharp] Fix elm_more_option_open_get to return bool correctly (#2054)
Kangho Hur [Fri, 25 Sep 2020 01:46:39 +0000 (10:46 +0900)]
[ElmSharp] Fix elm_more_option_open_get to return bool correctly (#2054)

3 years ago[Build] change nitool to dotnettool (#2039)
Hyungju Lee [Thu, 24 Sep 2020 08:32:46 +0000 (17:32 +0900)]
[Build] change nitool to dotnettool (#2039)

Change-Id: I8bd92b02cd1d9f6746fb2aef8a1a4b44dd017765

Co-authored-by: TizenAPI-Bot <37820187+TizenAPI-Bot@users.noreply.github.com>
3 years ago[Build] Set TFM supported by Tizen to vconf (#2026)
JongHeonChoi [Thu, 24 Sep 2020 08:14:36 +0000 (17:14 +0900)]
[Build] Set TFM supported by Tizen to vconf (#2026)

* Added to update TFM with maketfm.py

Co-authored-by: Hyungju Lee <leee.lee@samsung.com>
3 years ago[Sensor] Change tizen feature of AutoRotationSensor (#2037)
MuHong Byun [Thu, 24 Sep 2020 08:00:34 +0000 (17:00 +0900)]
[Sensor] Change tizen feature of AutoRotationSensor (#2037)

Signed-off-by: MuHong Byun <mh.byun@samsung.com>
3 years ago[NUI] Fix ScrollableBase maxScrollDistance issue (#2051)
huiyueun [Thu, 24 Sep 2020 06:19:14 +0000 (15:19 +0900)]
[NUI] Fix ScrollableBase maxScrollDistance issue (#2051)

[TDAF-1221] issue

1. If the size of ScrollableBase is changed, maxScrollDistance update is required.
  maxScrollDistance: Maximum range that ScrollableBase can scroll
2. Change maxScrollDistance by calling OnSCrollingChildRelayout at OnMeasure when size changes.
3. Currently, maxScrollDistance is updated based on ContentContainer size only.
  Change this to be modified even if the ScrollableBase size is changed

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years agoRelease 8.0.0.15586 accepted/tizen/unified/20200924.072523 submit/tizen/20200923.193806
admin [Wed, 23 Sep 2020 10:38:06 +0000 (10:38 +0000)]
Release 8.0.0.15586

3 years agoMerge remote-tracking branch 'origin/master' into tizen
admin [Wed, 23 Sep 2020 10:38:06 +0000 (10:38 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

3 years agoRevert "[NUI] Add ControlStateTypeConverter for xaml (#2002)" (#2047)
huiyueun [Wed, 23 Sep 2020 09:21:18 +0000 (18:21 +0900)]
Revert "[NUI] Add ControlStateTypeConverter for xaml (#2002)" (#2047)

This reverts commit 87dc2534f824b8c35a6961a32a15dfd3a85131a5.

3 years ago[NUI] Modify preload (#2046)
huiyueun [Wed, 23 Sep 2020 09:03:07 +0000 (18:03 +0900)]
[NUI] Modify preload (#2046)

delete to precreate NUIApplication on NUI.
but Application class is created in dali-backend

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] correct logical operator in enum validation (#2045)
YeongJong Lee [Wed, 23 Sep 2020 07:47:32 +0000 (16:47 +0900)]
[NUI] correct logical operator in enum validation (#2045)

Test Code:
```cs
FlexLayout flexLayout = new FlexLayout();
flexLayout.WrapType = FlexLayout.FlexWrapType.Wrap;
```

Co-authored-by: Yeongjong Lee <yj34.lee@samsung.com>
3 years agoRelease 8.0.0.15583 submit/tizen/20200923.133541
admin [Wed, 23 Sep 2020 04:35:41 +0000 (04:35 +0000)]
Release 8.0.0.15583

3 years agoMerge remote-tracking branch 'origin/master' into tizen
admin [Wed, 23 Sep 2020 04:35:41 +0000 (04:35 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

3 years ago[NUI] Version update : nui-21930 (#2044)
dongsug-song [Wed, 23 Sep 2020 04:31:03 +0000 (13:31 +0900)]
[NUI] Version update : nui-21930 (#2044)

3 years ago[NUI] add enum validation for Grid,FlexLayout (#2008)
YeongJong Lee [Wed, 23 Sep 2020 04:16:00 +0000 (13:16 +0900)]
[NUI] add enum validation for Grid,FlexLayout (#2008)

This validation check is added by TCT reviewer request.

Co-authored-by: TizenAPI-Bot <37820187+TizenAPI-Bot@users.noreply.github.com>
Co-authored-by: dongsug-song <35130733+dongsug-song@users.noreply.github.com>
3 years ago[NUI] Add ControlStateTypeConverter for xaml (#2002)
YeongJong Lee [Wed, 23 Sep 2020 03:24:33 +0000 (12:24 +0900)]
[NUI] Add ControlStateTypeConverter for xaml (#2002)

* [NUI] rename from StateValuePair to SelectorItem

* [NUI] add ControlStateTypeConverter for xaml

Custom ConstrolState is now available in xaml.

 ### Sample
XamlPage.xaml
```xaml
<View x:Class="NUIXamlTemplate1.XamlPage"
      xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
      xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
      xmlns:c="clr-namespace:Tizen.NUI.Components;assembly=Tizen.NUI.Components"
      xmlns:local="clr-namespace:NUIXamlTemplate1">
    <local:MyButton x:Name="MyButton">
        <x:Arguments>
            <c:ButtonStyle Size="100, 100">
                <c:ButtonStyle.BackgroundColor>
                    <Selector x:TypeArguments="Color" Normal="1, 1, 0, 1" Pressed="0.77, 0.88, 1, 1" Disabled="0.88, 0.88, 0.88, 1">
                        <SelectorItem x:TypeArguments="Color" State="MyState" Value="0,0,1,1" />
                        <SelectorItem x:TypeArguments="Color" State="MyState,Focused" Value="0,1,1,1" />
                    </Selector>
                </c:ButtonStyle.BackgroundColor>
            </c:ButtonStyle>
        </x:Arguments>
    </local:MyButton>
</View>
```

MyButton.cs
```cs
public class MyButton : Button
{
    public MyButton(ButtonStyle buttonStyle) : base(buttonStyle) {}
    public void SetControlState(ControlState s) => ControlState = s;
}
```

```cs
protected override void OnCreate()
{
    base.OnCreate();
    Window.Instance.BackgroundColor = new Color(227 / 255f, 255 / 255f, 227 / 255f, 1.0f);
    Window.Instance.KeyEvent += OnKeyEvent;

    View root = new View();
    root.WidthSpecification = LayoutParamPolicies.MatchParent;
    root.HeightSpecification = LayoutParamPolicies.MatchParent;
    root.Layout = new AbsoluteLayout();
    Window.Instance.GetDefaultLayer().Add(root);

    XamlPage xamlPage = new XamlPage();
    root.Add(xamlPage);

    ControlState MyState = ControlState.Create("MyState");

    Button button = new Button() { Position2D = new Position2D(100, 100) };
    bool flag = false;
    button.Clicked += (object sender, ClickedEventArgs e) =>
    {
        if (!flag)
        {
            xamlPage.MyButton.SetControlState(MyState);
            flag = true;
        }
        else
        {
            xamlPage.MyButton.SetControlState(ControlState.Focused + MyState);
            flag = false;
        }
    };
    root.Add(button);
}
```

Co-authored-by: dongsug-song <35130733+dongsug-song@users.noreply.github.com>
3 years ago[NUI] Deprecate the callback of OnTouch (#2000)
zhouleonlei [Wed, 23 Sep 2020 03:17:23 +0000 (11:17 +0800)]
[NUI] Deprecate the callback of OnTouch (#2000)

* [NUI] Hide the callback of OnTouch

* [NUI] Change to Deprecated

* [NUI] Change Obsolete words

Co-authored-by: dongsug-song <35130733+dongsug-song@users.noreply.github.com>
3 years ago[NUI] Deprecate Adaptor class, ACR-373 (#1997)
dongsug-song [Wed, 23 Sep 2020 03:12:59 +0000 (12:12 +0900)]
[NUI] Deprecate Adaptor class, ACR-373 (#1997)

3 years ago[NUI] Update MeasureCallback interface for latest Dali::Toolkit (#2043)
dongsug-song [Wed, 23 Sep 2020 03:06:06 +0000 (12:06 +0900)]
[NUI] Update MeasureCallback interface for latest Dali::Toolkit (#2043)

Making MeasureCallback return a struct is causing the .NET runtime on
Windows 10 messes up with argument values. We changed the signature of
MeasureCallback on Dali::Toolkit to make the return value be an out
parameter.

The detailed explanation of what's the problem can be found at [1].

Moreover, we declare MeasureCallback as Cdecl, as it is declared this
way in the C++ header file.

[1] https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/242665/

Co-authored-by: Wander Lairson Costa <wander.lairson@gmail.com>
3 years ago[NUI] Fix fitting mode issue of ImageView (#1977)
Xianbing Teng [Wed, 23 Sep 2020 02:49:20 +0000 (10:49 +0800)]
[NUI] Fix fitting mode issue of ImageView (#1977)

Co-authored-by: Xianbing Teng <reformed_beginner@outlook.com>
Co-authored-by: dongsug-song <35130733+dongsug-song@users.noreply.github.com>
3 years ago[NUI] Fix ObjectDump can't output logs (#1964)
Xianbing Teng [Wed, 23 Sep 2020 02:36:10 +0000 (10:36 +0800)]
[NUI] Fix ObjectDump can't output logs (#1964)

Co-authored-by: Xianbing Teng <reformed_beginner@outlook.com>
Co-authored-by: dongsug-song <35130733+dongsug-song@users.noreply.github.com>