platform/core/csapi/tizenfx.git
3 years ago[MessagePort] Fix bug for getting remote value (#2555)
kilig [Tue, 26 Jan 2021 00:25:02 +0000 (09:25 +0900)]
[MessagePort] Fix bug for getting remote value (#2555)

Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
3 years ago[NUI] Support scroll in WebView. (#2549)
huayongxu [Fri, 22 Jan 2021 10:24:11 +0000 (18:24 +0800)]
[NUI] Support scroll in WebView. (#2549)

1) ScrollPosition, ScrollSize, ContentSize properties are added.
2) ScrollBy is added.
3) ScrollEdgeReached events are notified when scrolled to edge.

3 years ago[NUI] remove internal child properly when child view of FlexLayout is removed (#2523)
YeongJong Lee [Thu, 21 Jan 2021 06:34:18 +0000 (15:34 +0900)]
[NUI] remove internal child properly when child view of FlexLayout is removed (#2523)

In `FlexLayout`, when we add new view, the existing view shrink.
but when removed they are in shrinked state. they should change back.

To fix this issue, this patch remove internal child(child of yoga
layout) when child view of `FlexLayout` is removed.

For now, `OnChildRemove` API will work correctly.

Thank you Aman Jeph for the report.

3 years ago[NUI] Add DeleteAccessibilityAttribute
huiyu.eun [Wed, 20 Jan 2021 09:17:12 +0000 (18:17 +0900)]
[NUI] Add DeleteAccessibilityAttribute

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Fix memory leak, Add Dispose (#2543)
huiyueun [Thu, 21 Jan 2021 04:37:45 +0000 (13:37 +0900)]
[NUI] Fix memory leak, Add Dispose (#2543)

refer this patch
https://github.com/Samsung/TizenFX/pull/2536
https://github.com/Samsung/TizenFX/pull/2534

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Fix TV AmbientMode empty screen
dongsug.song [Wed, 20 Jan 2021 06:10:52 +0000 (15:10 +0900)]
[NUI] Fix TV AmbientMode empty screen

3 years ago[NUI] Change Feedback as working on TouchEvent
dongsug.song [Mon, 18 Jan 2021 11:46:49 +0000 (20:46 +0900)]
[NUI] Change Feedback as working on TouchEvent

3 years ago[NUI] Fix AccessibilityManager Event handler
Seoyeon Kim [Mon, 18 Jan 2021 09:35:49 +0000 (18:35 +0900)]
[NUI] Fix AccessibilityManager Event handler

- Changed the old-fashioned code of event handler

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years ago[Bluetooth][Non-ACR] GetBondedDevice converting issue (#2518)
Wootak Jung [Wed, 13 Jan 2021 22:12:17 +0000 (07:12 +0900)]
[Bluetooth][Non-ACR] GetBondedDevice converting issue (#2518)

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
3 years agoFix BluetoothDevice.Name converting issue (#2499)
Wootak Jung [Fri, 8 Jan 2021 00:47:46 +0000 (09:47 +0900)]
Fix BluetoothDevice.Name converting issue (#2499)

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
3 years ago[NUI] fixed memory leak
Joogab Yun [Wed, 6 Jan 2021 16:10:25 +0000 (01:10 +0900)]
[NUI] fixed memory leak

3 years ago[Packagemanager] Fix registering internal event callback (#2482)
jeremy-jang [Tue, 5 Jan 2021 01:16:43 +0000 (10:16 +0900)]
[Packagemanager] Fix registering internal event callback (#2482)

Do not invoke Interop.PackageManager.PackageManagerSetEvent().
This will unset all internal callback information and this may make user cannot
listen the package event completely.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 years ago[Bluetooth][Non-ACR] Fix unhandled exception in GetBondedDevices() (#2484)
dh79pyun [Mon, 4 Jan 2021 23:06:17 +0000 (08:06 +0900)]
[Bluetooth][Non-ACR] Fix unhandled exception in GetBondedDevices() (#2484)

I/DOTNET_LAUNCHER (P 2613, T 2617): Unhandled exception.
I/DOTNET_LAUNCHER (P 2613, T 2617): System.Runtime.InteropServices.COMException (0x8007007A):
The data area passed to a system call is too small.
I/DOTNET_LAUNCHER (P 2613, T 2617):  (0x8007007A)
I/DOTNET_LAUNCHER (P 2613, T 2617):    at System.StubHelpers.ValueClassMarshaler.ConvertToNative(IntPtr dst, IntPtr src,
IntPtr pMT, CleanupWorkListElement& pCleanupWorkList)
I/DOTNET_LAUNCHER (P 2613, T 2617):    at Tizen.Network.Bluetooth.BluetoothAdapterImpl.GetBondedDevices()
I/DOTNET_LAUNCHER (P 2613, T 2617):    at Tizen.Network.Bluetooth.BluetoothAdapter.GetBondedDevices()
I/DOTNET_LAUNCHER (P 2613, T 2617):    at Tizen.Network.Bluetooth.Tests.BluetoothAdapterTests.GetBondedDevices_RETURN_LIST_OF_DEVICES()
in /var/lib/jenkins/jobs/CsharpTCT/TCT_6.0/api/tct-suite-vs/Tizen.Bluetooth.Manual.Tests/testcase/TSBluetoothAdapter.cs:line 435
I/DOTNET_LAUNCHER (P 2613, T 2617): Fatal error.
I/DOTNET_LAUNCHER (P 2613, T 2617): Internal CLR error. (0x80131506)
I/DOTNET_LAUNCHER (P 2613, T 2617): DLOG_ERROR_NOMSG
I/DOTNET_LAUNCHER (P 2613, T 2617):    at Interop+Bluetooth.GetBondedDevices(BondedDeviceCallback, IntPtr)
I/DOTNET_LAUNCHER (P 2613, T 2617):    at Tizen.Network.Bluetooth.BluetoothAdapterImpl.GetBondedDevices()
I/DOTNET_LAUNCHER (P 2613, T 2617):    at Tizen.Network.Bluetooth.BluetoothAdapter.GetBondedDevices()

Change-Id: I04a0a89d75dc973a752950c9274b80d9988a11ed
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Co-authored-by: Anupam Roy <anupam.r@samsung.com>
3 years agoAdd internal APIs for power off and reboot (#2475)
Lee Chang Joo [Tue, 29 Dec 2020 09:00:50 +0000 (18:00 +0900)]
Add internal APIs for power off and reboot (#2475)

Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
3 years ago[NUI] Fix Svace issues
zhouleonlei [Tue, 29 Dec 2020 02:47:05 +0000 (10:47 +0800)]
[NUI] Fix Svace issues

3 years ago[NUI] Initialize feedback instance only when the Feedback property is on.
Jiyun Yang [Thu, 17 Dec 2020 07:08:36 +0000 (16:08 +0900)]
[NUI] Initialize feedback instance only when the Feedback property is on.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years agoUpdate Log.cs (#2424)
hyotaekshim [Thu, 17 Dec 2020 06:54:56 +0000 (15:54 +0900)]
Update Log.cs (#2424)

3 years ago[NUI] fix svace issue for texture
zhouleonlei [Tue, 15 Dec 2020 03:37:49 +0000 (11:37 +0800)]
[NUI] fix svace issue for texture

3 years ago[NUI] Change "IsTapGestureFeedback" as "Feedback"
Dongsug Song [Tue, 15 Dec 2020 02:54:44 +0000 (11:54 +0900)]
[NUI] Change "IsTapGestureFeedback" as "Feedback"

3 years ago[NUI] Add sound feedback and fix scroll build errors
zhouleonlei [Mon, 14 Dec 2020 06:26:08 +0000 (14:26 +0800)]
[NUI] Add sound feedback and fix scroll build errors

3 years ago[NUI] Call show winodw on ApplicationInit
huiyu.eun [Fri, 11 Dec 2020 01:23:54 +0000 (10:23 +0900)]
[NUI] Call show winodw on ApplicationInit

- When preload application, the show is called before the appcore is created.
- Call the window show at OnInit and notify the app core

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Change clipping mode of ScrollableBase (#2358)
bshsqa [Wed, 9 Dec 2020 06:39:08 +0000 (15:39 +0900)]
[NUI] Change clipping mode of ScrollableBase (#2358)

- ClipChildren clipping mode uses stencil buffer.
 - But, scrollableBase is always pretended as rectangular shape so we can change it to ClipToBoundingBox that uses scissor.
 - Usually, Scissor is better than stencil buffer for the performance.

Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
3 years ago[NUI] Add RedrawInScalingDown in LottieAnimationView
Dongsug Song [Wed, 9 Dec 2020 04:56:31 +0000 (13:56 +0900)]
[NUI] Add RedrawInScalingDown in LottieAnimationView

3 years ago[NUI] Fixed svace issue for API8
zhouleonlei [Wed, 9 Dec 2020 03:09:10 +0000 (11:09 +0800)]
[NUI] Fixed svace issue for API8

3 years ago[NUI] Modify NUI Seamless animation bug (#2334)
huiyueun [Mon, 7 Dec 2020 07:20:12 +0000 (16:20 +0900)]
[NUI] Modify NUI Seamless animation bug (#2334)

* [NUI] Modify NUI Seamless animation bug

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
* [NUI] Modify build warning of seamless

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

* Update TransitionAnimations.cs

* Update DefaultFrameBroker.cs

* Update SeamlessBackward.cs

* Update SeamlessForward.cs

* Update TransitionOptions.cs

* Update NUIBrokerSample.cs

* Update DefaultFrameBroker.cs

3 years ago[NUI] Modify popup dismiss bug (#2335)
huiyueun [Mon, 7 Dec 2020 05:42:52 +0000 (14:42 +0900)]
[NUI] Modify popup dismiss bug (#2335)

when dismiss popup, the shadow does not disappear.
-An error occurs after changing the parent to GetParent ().
-layer of converting View is null.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Add Padding parameter for TextPageUtil (#2331)
JoogabYun [Mon, 7 Dec 2020 05:09:36 +0000 (14:09 +0900)]
[NUI] Add Padding parameter for TextPageUtil (#2331)

3 years ago[Uix/VoiceControlManager] Fix svace issue (#2326)
Sooyeon Kim [Thu, 3 Dec 2020 10:51:28 +0000 (19:51 +0900)]
[Uix/VoiceControlManager] Fix svace issue (#2326)

* [Uix/VoiceControlManager] Fix svace issue

Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
* Fix build issue

Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
* Fix indentation

Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
3 years ago[NUI] Let scroll again when displacement for OutOfBound effect become 0
seungho [Thu, 3 Dec 2020 06:59:45 +0000 (15:59 +0900)]
[NUI] Let scroll again when displacement for OutOfBound effect become 0

Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years ago[NUI] Fix not to get framework path via StyleManager
Jiyun Yang [Thu, 3 Dec 2020 07:31:21 +0000 (16:31 +0900)]
[NUI] Fix not to get framework path via StyleManager

StyleManager uses dali singleton service which is not initialized in PreLoad().
Previously in Preload(), ThemeManager got framework resource path via static constant in StyleManager,
which leaded to initialize StyleManager instance that is not valid in PreLoad().

So this patch moved framework resource path constant to the constant file.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Fix wrong AnimationState after VectorAnimatedImageView playing stoped
Dongsug Song [Wed, 2 Dec 2020 02:46:38 +0000 (11:46 +0900)]
[NUI] Fix wrong AnimationState after VectorAnimatedImageView playing stoped

3 years ago[NUI] Add ScrollOutOfBoundWithDisplacement event.
huayong.xu [Thu, 26 Nov 2020 11:20:26 +0000 (19:20 +0800)]
[NUI] Add ScrollOutOfBoundWithDisplacement event.

This patch is to add ScrollOutOfBoundWithDisplacement event,
and provide more information for ScrollOutOfBoundWithDisplacement
event handler.
Meanwhile old APIs of ScrollOutOfBound is not removed.

3 years ago[NUI] Enable/Disable overshooting effect for ScrollableBase.
huayong.xu [Thu, 5 Nov 2020 09:24:04 +0000 (17:24 +0800)]
[NUI] Enable/Disable overshooting effect for ScrollableBase.

A property EnableOverShootingEffect is added. default is false.
And shadow would be raised to top when effect appears.

3 years agoRevert "[NUI] Add direction & displacement into ScrollOutOfBound event."
Jiyun Yang [Fri, 27 Nov 2020 07:43:17 +0000 (16:43 +0900)]
Revert "[NUI] Add direction & displacement into ScrollOutOfBound event."

This reverts commit bd6e9d90575a3f6f6daebd4f1ca716fe86a24843.

3 years ago[NUI] Delete unnecessary log
huiyu.eun [Fri, 27 Nov 2020 00:53:59 +0000 (09:53 +0900)]
[NUI] Delete unnecessary log

- Delete the log commented
- Displays only one log when the value is invalid of color.
- View.Parent is deprecated, modify to use View.GetParent()

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Add direction & displacement into ScrollOutOfBound event.
huayong.xu [Fri, 27 Nov 2020 02:46:41 +0000 (10:46 +0800)]
[NUI] Add direction & displacement into ScrollOutOfBound event.

This patch is to trigger ScrollOutOfBound event as pan gesture state,
and add pan direction & displacement into ScrollOutOfBound event.
Bound of ScrollOutOfBoundEventArgs is removed, because displacement
can be used for checking Top/Bottom.

3 years ago[NUI] Add some APIs to make Accessibility enabled / disabled (#2296)
Seoyeon2Kim [Fri, 27 Nov 2020 01:31:16 +0000 (10:31 +0900)]
[NUI] Add some APIs to make Accessibility enabled / disabled (#2296)

- Added EnableAccessibility and IsEnabled to AccessibilityManager

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years ago[NUI] Change setter of property (#2298)
huiyueun [Fri, 27 Nov 2020 01:12:42 +0000 (10:12 +0900)]
[NUI] Change setter of property (#2298)

* [NUI] Change setter of property

- Setter is deprecated in API8.(Size/Scale/Color/Position)
- An unnecessary log comes out and causes performance degradation.

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

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Fix Svace issues for Components
zhouleonlei [Mon, 23 Nov 2020 12:01:53 +0000 (20:01 +0800)]
[NUI] Fix Svace issues for Components

3 years ago[NUI] Load default theme in preload (#2281)
Jiyun Yang [Wed, 25 Nov 2020 07:11:47 +0000 (16:11 +0900)]
[NUI] Load default theme in preload (#2281)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[Bluetooth][Non-ACR] Fix svace issue (#2270) (#2278)
Wootak Jung [Tue, 24 Nov 2020 01:57:39 +0000 (10:57 +0900)]
[Bluetooth][Non-ACR] Fix svace issue (#2270) (#2278)

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
3 years agoRevert "[NUI] Add ExcludeLayouting to View (#2196)"
Dongsug Song [Fri, 20 Nov 2020 08:33:34 +0000 (17:33 +0900)]
Revert "[NUI] Add ExcludeLayouting to View (#2196)"

This reverts commit 9ef2bbd395c85fdba9b9dcc933bb7088bdcf31e7.

3 years agoRevert "[NUI] Correct the meaning of ExcludeLayouting. (#2256)"
Dongsug Song [Fri, 20 Nov 2020 08:33:22 +0000 (17:33 +0900)]
Revert "[NUI] Correct the meaning of ExcludeLayouting. (#2256)"

This reverts commit 7e9b55153e3417428444b533b61fdc90f0e1d083.

3 years agoRevert "[NUI] Unsubscribe theme changed event when the view is not on window" (#2265)
Jiyun Yang [Fri, 20 Nov 2020 03:30:43 +0000 (12:30 +0900)]
Revert "[NUI] Unsubscribe theme changed event when the view is not on window" (#2265)

This revert revious patch and make sure the theme changed event handler is disconnected when dispose.

This reverts commit 592900fdc380ce27df8c8fdb6de8084caffacc15.

3 years ago[NUI] Correct the meaning of ExcludeLayouting. (#2256)
bshsqa [Thu, 19 Nov 2020 06:03:52 +0000 (15:03 +0900)]
[NUI] Correct the meaning of ExcludeLayouting. (#2256)

Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years ago[NUI] fixed bug about set desired size
Joogab Yun [Wed, 18 Nov 2020 07:06:18 +0000 (16:06 +0900)]
[NUI] fixed bug about set desired size

3 years ago[NUI] Refactoring FrameUpdateCallback
seungho [Wed, 4 Nov 2020 07:06:28 +0000 (16:06 +0900)]
[NUI] Refactoring FrameUpdateCallback

 - Remove FrameCallback.cs and Interop.FrameCallback.cs
 - Rename FrameCallbackInterface to FrameUpdateCallbackInterface

Signed-off-by: seungho <seungho@seungho.tn.corp.samsungelectronics.net>
3 years ago[NUI] Fix build warning CA1507
Yeongjong Lee [Thu, 29 Oct 2020 02:45:03 +0000 (11:45 +0900)]
[NUI] Fix build warning CA1507

Use nameof instead of string

3 years ago[NUI] Unsubscribe theme changed event when the view is not on window
Jiyun Yang [Wed, 18 Nov 2020 08:27:39 +0000 (17:27 +0900)]
[NUI] Unsubscribe theme changed event when the view is not on window

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Remove [Obsolete()] attribute
dongsug.song [Wed, 11 Nov 2020 06:34:11 +0000 (15:34 +0900)]
[NUI] Remove [Obsolete()] attribute

3 years ago[NUI] Fix exception defect when LanguageChanged event has come
dongsug.song [Mon, 16 Nov 2020 08:04:21 +0000 (17:04 +0900)]
[NUI] Fix exception defect when LanguageChanged event has come

- LocaleLanguageChanged event should be unsubscribed when TextLabel, TextField, TextEditor are disposed.

3 years ago[NUI] Add Animation Finished callback debug log temporarily
Dongsug Song [Tue, 17 Nov 2020 07:26:17 +0000 (16:26 +0900)]
[NUI] Add Animation Finished callback debug log temporarily

3 years ago[NUI] Add ExcludeLayouting to View (#2196)
bshsqa [Wed, 18 Nov 2020 01:04:00 +0000 (10:04 +0900)]
[NUI] Add ExcludeLayouting to View (#2196)

* [NUI] Formatting for layout code

Signed-off-by: seungho <sbsh.baek@samsung.com>
* [NUI] Add ExcludeLayouting to View

 - If ExcludeLayouting property is false, the view is not affected by parent layout
 - Even the property is false, the children Views are affected by layout of current View
 - This ExcludeLayouting property is changed synchronously with SetPositionByLayout of its layout
 - Children of AbsoluteLayout can freely be animated.

Signed-off-by: seungho <sbsh.baek@samsung.com>
4 years agoRevert "[NUI] NUI has a default theme in TV profile"
Jiyun Yang [Fri, 13 Nov 2020 05:44:53 +0000 (14:44 +0900)]
Revert "[NUI] NUI has a default theme in TV profile"

This reverts commit 7fcc392ce08112253b2b43194117a58a7aa4cd97.

4 years ago[NUI] NUI has a default theme in TV profile
Jiyun Yang [Thu, 12 Nov 2020 07:16:09 +0000 (16:16 +0900)]
[NUI] NUI has a default theme in TV profile

* Specify the theme for TV profile. (It was null previously)
* To avoid redundant error messages, it checks assembly list in the current app domain before loading the xaml.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] Do not make error message when the profile theme file is not found (#2188)
Jiyun Yang [Fri, 6 Nov 2020 09:44:03 +0000 (18:44 +0900)]
[NUI] Do not make error message when the profile theme file is not found (#2188)

In some profile, not all 3 theme files exists.
So the patch checks file existance not to make error messages.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[Build] Add FOTA script for TizenFX (#2224)
WonYoung Choi [Thu, 12 Nov 2020 05:26:15 +0000 (14:26 +0900)]
[Build] Add FOTA script for TizenFX (#2224)

* [Build] Add FOTA script for TizenFX

* fix upgrade script

4 years ago[NUI] Fixed svace defects of Visuals
zhouleonlei [Tue, 10 Nov 2020 07:04:50 +0000 (15:04 +0800)]
[NUI] Fixed svace defects of Visuals

4 years ago[NUI] Fixed svace issues
zhouleonlei [Mon, 9 Nov 2020 12:56:12 +0000 (20:56 +0800)]
[NUI] Fixed svace issues

4 years agoRevert "[NUI] change orientation angle in GLWindow"
Wonsik Jung [Tue, 10 Nov 2020 01:24:11 +0000 (10:24 +0900)]
Revert "[NUI] change orientation angle in GLWindow"

This reverts commit 8d3249a176a4fb0e34275be698b8394bbdb6f4db.

4 years ago[NUI] change orientation angle in GLWindow
Wonsik Jung [Mon, 9 Nov 2020 02:44:14 +0000 (11:44 +0900)]
[NUI] change orientation angle in GLWindow

Change orientation angle in GLWindow. It is same with NUI.Window.

4 years agoFix static analysis issues (#2193)
hjhun [Fri, 6 Nov 2020 05:57:02 +0000 (14:57 +0900)]
Fix static analysis issues (#2193)

Issues:
 - NO_LOCK.STAT

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years ago[NUI] No need to do Registry.GetManagedBaseHandleFromNativePtr().
Joogab Yun [Thu, 5 Nov 2020 02:26:47 +0000 (11:26 +0900)]
[NUI] No need to do Registry.GetManagedBaseHandleFromNativePtr().

4 years ago[NUI] change Column, Row default value from -1 to AutoColumn, AutoRow
Yeongjong Lee [Tue, 3 Nov 2020 08:57:57 +0000 (17:57 +0900)]
[NUI] change Column, Row default value from -1 to AutoColumn, AutoRow

ArgumentException will be thrown when column,row is a negative value
other than AutoColumn/AutoRow.

4 years agoRevert "[NUI] Add TouchArea property. (#2105)" (#2167)
JoogabYun [Tue, 3 Nov 2020 06:44:12 +0000 (15:44 +0900)]
Revert "[NUI] Add TouchArea property. (#2105)" (#2167)

This reverts commit 26e21f69bc3f056e277f198833f3eba05392459c.

4 years ago[NUI] Fix default animation bug of seamless
huiyu.eun [Tue, 3 Nov 2020 02:31:05 +0000 (11:31 +0900)]
[NUI] Fix default animation bug of seamless

fix virtual to override

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years ago[NUI] Add defensive code for ViewSignal Disconnect()
Dongsug Song [Mon, 5 Oct 2020 10:38:58 +0000 (19:38 +0900)]
[NUI] Add defensive code for ViewSignal Disconnect()

4 years ago[NUI] Add TouchArea property. (#2105)
JoogabYun [Tue, 3 Nov 2020 01:23:13 +0000 (10:23 +0900)]
[NUI] Add TouchArea property. (#2105)

Default touchable area is view's size.
TouchArea can reset the view's touchable area.

This is usefull when the view is small, but it should have a larger touch area.

for example

      View view = new View();
      view.Size = new Size(10, 10);
      view.TouchEvent += OnTouchEvent;
      view.TouchArea = new Size2D(200, 200);

The view is small, If you want to set the touch area to a larger area,
you can use the TouchArea property.

4 years ago[NUI] Add try-catch block in New function (#2119)
huiyueun [Tue, 3 Nov 2020 01:16:33 +0000 (10:16 +0900)]
[NUI] Add try-catch block in New function (#2119)

- VD Kona : DF200922-00146
- Anlayze the log when the problem is reproduced,
 after inserting the try-catch block with log.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Co-authored-by: dongsug-song <35130733+dongsug-song@users.noreply.github.com>
4 years ago[WiFi] Use cloned apHandle (#2155)
chleun-moon [Tue, 3 Nov 2020 01:01:48 +0000 (10:01 +0900)]
[WiFi] Use cloned apHandle (#2155)

4 years ago[NUI] fix ScrollableBase layout issue
seungho [Mon, 2 Nov 2020 08:48:11 +0000 (17:48 +0900)]
[NUI] fix ScrollableBase layout issue

 - Rollback default ContentsContainer layout (AbsoluteLayout)
 - Set false the value of SetPositionByLayout of the AbsoluteLayout

Signed-off-by: seungho <seungho@seungho.tn.corp.samsungelectronics.net>
4 years agorename cs file of testcase
huayong.xu [Mon, 2 Nov 2020 09:10:19 +0000 (17:10 +0800)]
rename cs file of testcase

4 years agoMake sure scrollable shadow is shown only when scrolled vertically
huayong.xu [Mon, 2 Nov 2020 07:58:02 +0000 (15:58 +0800)]
Make sure scrollable shadow is shown only when scrolled vertically

When the scrollable is scrolled horizontally, a background image
is shown accidentally.
This patch adds a check that scrollable shadow is shown only when
scrolled vertically.

4 years ago[NUI] Fix ScrollableBase Size Issue
seungho [Mon, 2 Nov 2020 03:27:10 +0000 (12:27 +0900)]
[NUI] Fix ScrollableBase Size Issue

 - Fix OnMeasure callback in LinearLayout.(handling margin and padding)
 - Fix to handle only layout of ContentContainer to measure and layout of scrollableBase
 - Fix LayoutGroup to do not assert when the child view has no layout in RemoveChildFromLayoutGroup method

Signed-off-by: seungho <seungho@seungho.tn.corp.samsungelectronics.net>
4 years ago[Elmsharp] Add fontconfig reinit method (#2144)
shmin [Sun, 1 Nov 2020 22:00:22 +0000 (07:00 +0900)]
[Elmsharp] Add fontconfig reinit method (#2144)

Co-authored-by: Kangho Hur <rookiejava@gmail.com>
4 years agoRevert "[NUI] fix ScrollableBase wrong size issue (#2126)" (#2150)
huiyueun [Fri, 30 Oct 2020 12:25:17 +0000 (21:25 +0900)]
Revert "[NUI] fix ScrollableBase wrong size issue (#2126)" (#2150)

This reverts commit 663cf117fbee9589ef6b1eda3c26eef902641836.

4 years ago[NUI] Change type of Selector.StateValueList to IList (#2149)
Jiyun Yang [Fri, 30 Oct 2020 09:20:50 +0000 (18:20 +0900)]
[NUI] Change type of Selector.StateValueList to IList (#2149)

This is tempopary error fix to sync with fhub-nui without full build.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[Build] Add a dependent nuget packages (#2147)
WonYoung Choi [Fri, 30 Oct 2020 06:52:36 +0000 (15:52 +0900)]
[Build] Add a dependent nuget packages (#2147)

4 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)

4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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.

4 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>
4 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>
4 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>
4 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>
4 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>
4 years agorename member variables.
huayong.xu [Wed, 21 Oct 2020 05:13:58 +0000 (13:13 +0800)]
rename member variables.

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

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

4 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>
4 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)

4 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

4 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

4 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