platform/core/csapi/tizenfx.git
3 years ago[NUI] Remove theme resource update sample (#2698)
Jiyun Yang [Wed, 3 Mar 2021 01:16:03 +0000 (10:16 +0900)]
[NUI] Remove theme resource update sample (#2698)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Support vertical direction page snap (#2676)
Woochan [Tue, 2 Mar 2021 07:06:34 +0000 (16:06 +0900)]
[NUI] Support vertical direction page snap (#2676)

This patch fixes an issue that the page snap feature not working for vertical direction.

Co-authored-by: Woochanlee <wc0917.lee@samsung.com>
Co-authored-by: huiyueun <35286162+huiyueun@users.noreply.github.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Add APIs for javascript popup. (#2678)
huayongxu [Tue, 2 Mar 2021 05:54:03 +0000 (13:54 +0800)]
[NUI] Add APIs for javascript popup. (#2678)

Support callbacks for 'url,changed', 'load.progress', and javascript
alert/confirm/prompt.

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Fix svace issues for wearable
zhouleonlei [Mon, 1 Mar 2021 06:16:34 +0000 (14:16 +0800)]
[NUI] Fix svace issues for wearable

3 years ago[NUI] Re-design theme resource structure from the tizen-theme-manager (#2633)
Jiyun Yang [Fri, 26 Feb 2021 07:15:40 +0000 (16:15 +0900)]
[NUI] Re-design theme resource structure from the tizen-theme-manager (#2633)

* [NUI] Fix Selector bug and code by throwing proper exception.

* Fix multiple items bug
* Throw proper exception

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
* [NUI] Add Theme.Version and improve GetStyle API

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
* [NUI] Remove build warning and move IThemeCreator to the new file from the ThemeManager

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
* [NUI] Re-design theme resource structure from the tizen-theme-manager

This patch fixes problem that
the data from the tizen-theme-manager was not able to express mutually exclusive style properties,
such as, BackgroundColor and BackgroundImage.

* IExternalTheme
  * The wrapper interface to express external theme such as Tizen.Applications.ThemeManager.Theme.
  * TizenExternalTheme : Wrapped Tizen.Applications.ThemeManager.Theme.
  * DictionaryExternalTheme : Wrapped Dicrionary<stirng, string>. (for testing)
* ExternalKeyList
  * This class defines a set of keys used in external theme syntax.
  * A set of ExternalKeyList is held by a ThemeCreator in each package.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
* [NUI] Fix CornerRadius Policy not applied issue

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Fix Tizen.NUI.Samples build errors
Dongsug Song [Fri, 26 Feb 2021 03:39:49 +0000 (12:39 +0900)]
[NUI] Fix Tizen.NUI.Samples build errors

3 years agoDelete Palette.cs
huiyueun [Thu, 25 Feb 2021 23:37:46 +0000 (08:37 +0900)]
Delete Palette.cs

3 years ago[NUI] Add license, delete unnecessary code(public)
huiyu.eun [Thu, 25 Feb 2021 06:00:21 +0000 (15:00 +0900)]
[NUI] Add license, delete unnecessary code(public)

Modify NUI internal code
 - add license
 - delete unncessary empty line
 - change private variable name(delete '_')
 - delete unusued using

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[Cov] Fix coverage.sh (#2701)
WonYoung Choi [Wed, 3 Mar 2021 06:36:58 +0000 (15:36 +0900)]
[Cov] Fix coverage.sh (#2701)

3 years ago[NUI] Remove APIs which have been deprecated in API7
Dongsug Song [Thu, 25 Feb 2021 08:49:12 +0000 (17:49 +0900)]
[NUI] Remove APIs which have been deprecated in API7

This reverts commit ed2f6c68fa315f66578c231912ded2af9fa8e98d.

3 years ago[NUI] Add license, delete unnecessary code (#2679)
Dongsug Song [Thu, 25 Feb 2021 08:47:51 +0000 (17:47 +0900)]
[NUI] Add license, delete unnecessary code (#2679)

This reverts commit cd2c16f80f6ced4f8076ce376b9bcf2df0c62919.

3 years agoRevert "[NUI] Add license, delete unnecessary code (#2679)"
Dongsug Song [Thu, 25 Feb 2021 07:49:41 +0000 (16:49 +0900)]
Revert "[NUI] Add license, delete unnecessary code (#2679)"

This reverts commit 62e8848bc80566daada96d5b47a014ef33aa3886.

3 years agoRevert "[NUI] Remove APIs which have been deprecated in API7"
Dongsug Song [Thu, 25 Feb 2021 07:49:12 +0000 (16:49 +0900)]
Revert "[NUI] Remove APIs which have been deprecated in API7"

This reverts commit 2a98e467a23af86d104a956b74f02e944bd3b73f.

3 years ago[NUI] Remove APIs which have been deprecated in API7
Dongsug Song [Mon, 28 Dec 2020 07:34:12 +0000 (16:34 +0900)]
[NUI] Remove APIs which have been deprecated in API7

3 years agoRevert "[NUI] Introduce NUI Palette APIs"
Woochan [Thu, 25 Feb 2021 04:11:57 +0000 (13:11 +0900)]
Revert "[NUI] Introduce NUI Palette APIs"

This reverts commit 16cd06ebeae122dccbd7d193ca0eb63cae210ccb.

3 years ago[NUI] Add license, delete unnecessary code (#2679)
huiyueun [Thu, 25 Feb 2021 03:05:22 +0000 (12:05 +0900)]
[NUI] Add license, delete unnecessary code (#2679)

Modify NUI internal code
- add license
- delete unncessary empty line
- change private variable name(delete '_')
- delete unusued using

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Add GetOriginalImageSize() considering rotation (#2667)
tscholb [Wed, 24 Feb 2021 08:13:54 +0000 (17:13 +0900)]
[NUI] Add GetOriginalImageSize() considering rotation (#2667)

Co-authored-by: dongsug-song <35130733+dongsug-song@users.noreply.github.com>
3 years ago[NUI] Delete Tizen.NUI.Components build warnings (#2674)
huiyueun [Wed, 24 Feb 2021 06:41:08 +0000 (15:41 +0900)]
[NUI] Delete Tizen.NUI.Components build warnings (#2674)

* [NUI] Delete Tizen.NUI.Components build warnings

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

* Update Popup.cs

3 years ago[NUI] Fix build error of Tizen.NUI.Samples
Seoyeon Kim [Wed, 24 Feb 2021 04:06:53 +0000 (13:06 +0900)]
[NUI] Fix build error of Tizen.NUI.Samples

- In CulledTest.cs, 'OnKeyEvent' is missed for Window KeyEvent

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years ago[NUI] Create TextLayout when parent has layout
huiyu.eun [Mon, 22 Feb 2021 05:03:42 +0000 (14:03 +0900)]
[NUI] Create TextLayout when parent has layout

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Introduce NUI Palette APIs
Woochanlee [Tue, 16 Feb 2021 11:04:00 +0000 (20:04 +0900)]
[NUI] Introduce NUI Palette APIs

3 years ago[NUI] Fix Svace defects for NUI and wearable
zhouleonlei [Mon, 22 Feb 2021 06:39:38 +0000 (14:39 +0800)]
[NUI] Fix Svace defects for NUI and wearable

3 years ago[NUI] Clean code releated to application
huiyu.eun [Tue, 16 Feb 2021 04:10:25 +0000 (13:10 +0900)]
[NUI] Clean code releated to application

- Delete Application.WindowMode
- Delete state of NewApplication without args in Run().
- Delete unused code & variable
- Change to follow NUI coding rule
- Resolve build warnings

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Add Culled property as Hidden-API
Dongsug Song [Fri, 19 Feb 2021 06:20:35 +0000 (15:20 +0900)]
[NUI] Add Culled property as Hidden-API

- pair with https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/253893/
- should be merged after https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/253893/ is applied

3 years ago[NUI] Remove wrong force casting, Layer as View (#2664)
Eunki Hong [Fri, 19 Feb 2021 06:53:11 +0000 (15:53 +0900)]
[NUI] Remove wrong force casting, Layer as View (#2664)

Remove force casting at LayoutItem.cs
just change Owner.GetParent() as View;
+
tiny typo error fix

Signed-off-by: pichulia <eunkiki.hong@samsung.com>
Co-authored-by: pichulia <eunkiki.hong@samsung.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Add Tizen.NUI.Components.preload (#2663)
huiyueun [Fri, 19 Feb 2021 06:42:08 +0000 (15:42 +0900)]
[NUI] Add Tizen.NUI.Components.preload (#2663)

- Add Tizen.NUI.Components.preload
- Change PreLoad to Preload

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI][VisualFittingModeType] update documentation (#2648)
Ali-Alzyoud [Fri, 19 Feb 2021 06:07:20 +0000 (08:07 +0200)]
[NUI][VisualFittingModeType] update documentation (#2648)

update description for Center,Fill modes

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Added Paused and Resumed to Tizen.NUI.Accessibility.Accessibility.SayFinishedSt...
m-bialota [Fri, 19 Feb 2021 05:57:25 +0000 (06:57 +0100)]
[NUI] Added Paused and Resumed to Tizen.NUI.Accessibility.Accessibility.SayFinishedState enum (#2647)

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Parse Color from Strings (hexCode, RGB, RGBA) (#2646)
Ali-Alzyoud [Fri, 19 Feb 2021 05:12:50 +0000 (07:12 +0200)]
[NUI] Parse Color from Strings (hexCode, RGB, RGBA) (#2646)

- hexcode representation : #RGB #RGBA #RRGGBB #RRGGBBAA
- rgb representation : rgb(0-255,0-255,0-255) rgba(0-255,0-255,0-255,0.0-1.0)

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Add obsolete to Tizen.NUI.Components.StyleManager (#2640)
Jiyun Yang [Fri, 19 Feb 2021 05:08:14 +0000 (14:08 +0900)]
[NUI] Add obsolete to Tizen.NUI.Components.StyleManager (#2640)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years agoRevert "[NUI] Remove APIs which have been deprecated in API7"
Dongsug Song [Thu, 25 Feb 2021 08:06:26 +0000 (17:06 +0900)]
Revert "[NUI] Remove APIs which have been deprecated in API7"

This reverts commit 4c6d61473e4a0fadde471ab1e6291810df4ec23a.

3 years ago[NUI] Open FontSizeScale properties (#2615)
Youngbok Shin [Thu, 25 Feb 2021 03:41:09 +0000 (12:41 +0900)]
[NUI] Open FontSizeScale properties (#2615)

Co-authored-by: Youngbok Shin <youngb.shin@samsung.com>
Co-authored-by: huiyueun <35286162+huiyueun@users.noreply.github.com>
3 years agoAdd EditorBrowsableState.Never attribute at public members (#2673)
jeremy-jang [Tue, 23 Feb 2021 04:38:45 +0000 (13:38 +0900)]
Add EditorBrowsableState.Never attribute at public members (#2673)

* [ThemeManager] Add an attribute at public members

Add EditorBrowsableState.Never attribute at public members to hide
members from editor.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [ThemeManager] Remove unused using statements

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [ThemeManager] Move to src/ from internals/src

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Co-authored-by: pjh9216 <jh9216.park@samsung.com>
3 years ago[NUI] Remove APIs which have been deprecated in API7
Dongsug Song [Mon, 28 Dec 2020 07:34:12 +0000 (16:34 +0900)]
[NUI] Remove APIs which have been deprecated in API7

3 years ago[NUI] Deprecate swigCMemOwn which is not used
Dongsug Song [Thu, 24 Dec 2020 07:43:59 +0000 (16:43 +0900)]
[NUI] Deprecate swigCMemOwn which is not used

3 years ago[NUI] Deprecate Tizen.NUI.StyleManager (#2641)
Jiyun Yang [Mon, 22 Feb 2021 04:29:58 +0000 (13:29 +0900)]
[NUI] Deprecate Tizen.NUI.StyleManager (#2641)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Fix Xaml issue
huiyu.eun [Thu, 18 Feb 2021 07:46:12 +0000 (16:46 +0900)]
[NUI] Fix Xaml issue

Fix xaml issue,
Add property null check

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Delete exception of View.Remove accepted/tizen/unified/20210219.040944 submit/tizen/20210218.043250
huiyu.eun [Tue, 16 Feb 2021 07:41:35 +0000 (16:41 +0900)]
[NUI] Delete exception of View.Remove

VD Application error

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Version update (nui22013)
Woochanlee [Tue, 16 Feb 2021 05:13:19 +0000 (14:13 +0900)]
[NUI] Version update (nui22013)

3 years agoUpdate Control.cs
huiyueun [Mon, 15 Feb 2021 05:19:15 +0000 (14:19 +0900)]
Update Control.cs

3 years ago[NUI] Add PreLoad of Tizen.NUI.Components.Control
huiyu.eun [Thu, 4 Feb 2021 01:27:08 +0000 (10:27 +0900)]
[NUI] Add PreLoad of Tizen.NUI.Components.Control

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] remove empty space (#2642)
Ali-Alzyoud [Mon, 15 Feb 2021 07:10:04 +0000 (09:10 +0200)]
[NUI] remove empty space (#2642)

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Fix vertical scrollbar position bug (#2638)
Jiyun Yang [Mon, 15 Feb 2021 03:04:47 +0000 (12:04 +0900)]
[NUI] Fix vertical scrollbar position bug (#2638)

There was a copy & paste error in vertical scroll position calculator in a scrollbar.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Removed old dependency in Tizen.NUI.csproj (#2645)
m-bialota [Mon, 15 Feb 2021 01:25:50 +0000 (02:25 +0100)]
[NUI] Removed old dependency in Tizen.NUI.csproj (#2645)

* This enables building Tizen.NUI as a reference in Visual Studio
project.

3 years ago[NUI] Make hidden for un-ACR-ed Color APIs (#2635)
Jiyun Yang [Wed, 10 Feb 2021 02:14:58 +0000 (11:14 +0900)]
[NUI] Make hidden for un-ACR-ed Color APIs (#2635)

* And fix typo

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years agoAdd all Dali colors to NUI (#2626)
Ali-Alzyoud [Wed, 10 Feb 2021 01:15:16 +0000 (03:15 +0200)]
Add all Dali colors to NUI (#2626)

Replace NUI defines with Dali exported defines

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Enables animation of view visual properties (#2625)
Jiyun Yang [Tue, 9 Feb 2021 06:59:35 +0000 (15:59 +0900)]
[NUI] Enables animation of view visual properties (#2625)

This enables animation of
* CornerRadius
* BackgroundColor
* BoxShadow.Color
* BoxShadow.BlurRadius
* etc.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Change LayoutController process
huiyu.eun [Tue, 9 Feb 2021 04:16:31 +0000 (13:16 +0900)]
[NUI] Change LayoutController process

Register a callback when Layout is first used.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[MachineLearning.Inference][Non-ACR] Fix the potential bug (#2547)
Sangjung Woo [Wed, 17 Feb 2021 00:51:10 +0000 (09:51 +0900)]
[MachineLearning.Inference][Non-ACR] Fix the potential bug (#2547)

* [MachineLearning.Inference] Update the version number of the shared library

This patch updates the version number of the nnstreamer library.
* libcapi-nnstreamer.so.0 -> libcapi-nnstreamer.so.1

Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
* [MachineLearning.Inference] Remove the name comparision in TensorsInfo.Equals()

Since the name of the TensorsInfo is not used when negociating the
pipeline, the name comparison in TensorsInfo.Equals() should be removed.

Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
* [MachineLearning.Inference] Add Clone() to TensorsInfo class for deep copy

It is not a common case but developers can modify the TensorsInfo after
creating the TensorsData. Because of this reason, TensorsData should
have a hard-copied instance of the TensorsInfo object. If not, it shows
the wrong information of TensorsData. This patch fixes this potential
bug.

Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
3 years ago[NUI] Disable Tizen Theme Manager code (#2636)
Jiyun Yang [Wed, 10 Feb 2021 03:53:15 +0000 (12:53 +0900)]
[NUI] Disable Tizen Theme Manager code (#2636)

Since libcapi-appfw-tizen-theme.so has not released to the binary yet,
the related code should be disabled.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Fix CA1721 warnings of Public APIs
Daekwang Ryu [Wed, 3 Feb 2021 04:47:18 +0000 (13:47 +0900)]
[NUI] Fix CA1721 warnings of Public APIs

CA1721: Property names should not match get methods
https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1721

3 years ago[NUI] Version update (nui22012) (#2629)
heeyongsong [Tue, 9 Feb 2021 04:47:34 +0000 (13:47 +0900)]
[NUI] Version update (nui22012) (#2629)

3 years ago[NUI] Introduce CollectionView and related classes. (#2525)
SangHyeon Jade Lee [Tue, 9 Feb 2021 04:19:19 +0000 (13:19 +0900)]
[NUI] Introduce CollectionView and related classes. (#2525)

* Introduce CollectionView and related classes.

View :
[ItemsView] Base class of model based view. create item by DataTemplate and
            layouting them with layouter using source data. inherited from ScrollableBase.
[CollectionView] groupable and selectable ItemsView.

Item :
[ViewItem] Base item for CollectionView.
[ViewItem.Internal] Internal partial class of ViewItem.
[ViewItemStyle] Style class of ViewItem.
[OneLineLinearItem] Linear type ViewItem of 1 line text Label and Icon, Extra View.
[OutLineGridItem] Grid type ViewItem of outline caption Label and ImageView Image and View Badge.

Layouter :
[ItemsLayouter] Base compositor class of item layouter on ItemsView.
[LinearLayouter] Layouter class of layouting item in linear list. restricted for CollectionView class only.
[GridLayouter] Layouter class of layouting item in grid list. restricted for CollectionView class only.

Item Source :
[ItemsSourceFactory] Factory of creating IItemSource from IEnumerable source.
[IItemSource] Interface for encapsulated data source from IEnumerable user source.
[IGroupedItemSource] Interface for grouped user data.
[EmptySource] Empty data source.
[ListSource] List data source.
[ObservableItemSource] Item source who provide observable notifications.
[ObservableGroupedSource] Grouped item source who provide observable notifications.
[UngroupedItemSource] Ungrouped item source.

Enum and Interface :
[ICollectionChangedNotifier] Interface of collection changed notifier.
[ItemSelectionMode] Mode enum value for Selection.
[ItemSizingStrategy] Sizing strategy for item measure.
[SelectionChangedEventArgs] Event for Selection changed notify.

Helper Class :
[MarshalingObservableCollection] Marshaling ObservableCollection for itemSource.
[SelectionList] Internal list for SelectionModel.

Other Changes :
Moving and change internal to public of DataTemplate related classes.

Known Issues :
- Empty items or pages shows when scroll fast, jump by ScrollTo().
- ScrollTo() is moving incorrectly.
- Scrolling event passing scrollPosition negative value.
- Application cannot initialize the cached ViewItem.
- Image trembling while scrolling.

Remaining Works :
- Implement groupable features.
- Implement observable changes(ICollectionChangedNotifier).
- Implement dynamic size and dynamic template selector.
- Implement Item / Layouter animations and support custom animations.
- Adding samples and test.
- Adding Unit Test.
- Documents and guides.

Design Documents :
https://code.sec.samsung.net/confluence/display/ENUIFWC/5.+Model-based++User+Interfaces

* [NUI] Update templates to EditorBrowsableState.Never

* [CollectionView] fix wrong initialize layouter and item count which makes missing 0 and last indexed item in Header/Footer exist

* [CollectionView] fix missing call of OnRelayout in base class.

* [CollectionView] Implement Groupable Features and Refactoring Items

1. Implement Groupable features in CollectionView, LinearLayouter,
    GridLayouter.
2. Refactoring items and adding styles.
   OneLineLinearItem => DefaultLinearItem : SubLabel added.
                                            Use RelativeLayout.
    Apply DefaultLinerItemStyle.
   OutLineGridItem => DefaultGridItem : Label changed Caption.
                                        Use RelativeLayout.
Support CaptionOrientation.
Apply DefaultGridItemStyle.
   DefaultTitleItem is added for Header / GroupHeader.
3. Sample is udpated.
4. Remove _ in the code.

* [CollectionView] Refactoring class directories

- Move all item source related classes in ItemSource
- Move all item class in Item
- Move all layouter class in Layouter

* [NUI] add copy-right license pre-comments

* Introduce CollectionView and related classes.

View :
[ItemsView] Base class of model based view. create item by DataTemplate and
            layouting them with layouter using source data. inherited from ScrollableBase.
[CollectionView] groupable and selectable ItemsView.

Item :
[ViewItem] Base item for CollectionView.
[ViewItem.Internal] Internal partial class of ViewItem.
[ViewItemStyle] Style class of ViewItem.
[OneLineLinearItem] Linear type ViewItem of 1 line text Label and Icon, Extra View.
[OutLineGridItem] Grid type ViewItem of outline caption Label and ImageView Image and View Badge.

Layouter :
[ItemsLayouter] Base compositor class of item layouter on ItemsView.
[LinearLayouter] Layouter class of layouting item in linear list. restricted for CollectionView class only.
[GridLayouter] Layouter class of layouting item in grid list. restricted for CollectionView class only.

Item Source :
[ItemsSourceFactory] Factory of creating IItemSource from IEnumerable source.
[IItemSource] Interface for encapsulated data source from IEnumerable user source.
[IGroupedItemSource] Interface for grouped user data.
[EmptySource] Empty data source.
[ListSource] List data source.
[ObservableItemSource] Item source who provide observable notifications.
[ObservableGroupedSource] Grouped item source who provide observable notifications.
[UngroupedItemSource] Ungrouped item source.

Enum and Interface :
[ICollectionChangedNotifier] Interface of collection changed notifier.
[ItemSelectionMode] Mode enum value for Selection.
[ItemSizingStrategy] Sizing strategy for item measure.
[SelectionChangedEventArgs] Event for Selection changed notify.

Helper Class :
[MarshalingObservableCollection] Marshaling ObservableCollection for itemSource.
[SelectionList] Internal list for SelectionModel.

Other Changes :
Moving and change internal to public of DataTemplate related classes.

Known Issues :
- Empty items or pages shows when scroll fast, jump by ScrollTo().
- ScrollTo() is moving incorrectly.
- Scrolling event passing scrollPosition negative value.
- Application cannot initialize the cached ViewItem.
- Image trembling while scrolling.

Remaining Works :
- Implement groupable features.
- Implement observable changes(ICollectionChangedNotifier).
- Implement dynamic size and dynamic template selector.
- Implement Item / Layouter animations and support custom animations.
- Adding samples and test.
- Adding Unit Test.
- Documents and guides.

Design Documents :
https://code.sec.samsung.net/confluence/display/ENUIFWC/5.+Model-based++User+Interfaces

* [NUI] Update templates to EditorBrowsableState.Never

* [CollectionView] fix wrong initialize layouter and item count which makes missing 0 and last indexed item in Header/Footer exist

* [CollectionView] fix missing call of OnRelayout in base class.

* [CollectionView] Implement Groupable Features and Refactoring Items

1. Implement Groupable features in CollectionView, LinearLayouter,
    GridLayouter.
2. Refactoring items and adding styles.
   OneLineLinearItem => DefaultLinearItem : SubLabel added.
                                            Use RelativeLayout.
    Apply DefaultLinerItemStyle.
   OutLineGridItem => DefaultGridItem : Label changed Caption.
                                        Use RelativeLayout.
Support CaptionOrientation.
Apply DefaultGridItemStyle.
   DefaultTitleItem is added for Header / GroupHeader.
3. Sample is udpated.
4. Remove _ in the code.

* [CollectionView] Refactoring class directories

- Move all item source related classes in ItemSource
- Move all item class in Item
- Move all layouter class in Layouter

* [NUI] add copy-right license pre-comments

* [NUI] Remove Old RecyclerView and Renamed ItemsView to RecyclerView

Old RecyclerView was never published or browsed, so get rid of this class and renamed ItemsView to RecyclerView.

RecyclerVIew/ -> Removed.
ItemsView -> RecyclerView
ViewItem -> RecyclerViewItem
ViewItemStyle -> RecyclerViewItemStyle

fix warnings.

* [NUI] fix build errors and comments.

FishEyeLayoutManager and WearableList no longer supported as recyclerView is removed.

* [NUI] Update Samples

* [NUI] apply cache in group header and footer

* [NUI] re-alive wearable list and move RecyclerView in wearble.

* Introduce CollectionView and related classes.

View :
[ItemsView] Base class of model based view. create item by DataTemplate and
            layouting them with layouter using source data. inherited from ScrollableBase.
[CollectionView] groupable and selectable ItemsView.

Item :
[ViewItem] Base item for CollectionView.
[ViewItem.Internal] Internal partial class of ViewItem.
[ViewItemStyle] Style class of ViewItem.
[OneLineLinearItem] Linear type ViewItem of 1 line text Label and Icon, Extra View.
[OutLineGridItem] Grid type ViewItem of outline caption Label and ImageView Image and View Badge.

Layouter :
[ItemsLayouter] Base compositor class of item layouter on ItemsView.
[LinearLayouter] Layouter class of layouting item in linear list. restricted for CollectionView class only.
[GridLayouter] Layouter class of layouting item in grid list. restricted for CollectionView class only.

Item Source :
[ItemsSourceFactory] Factory of creating IItemSource from IEnumerable source.
[IItemSource] Interface for encapsulated data source from IEnumerable user source.
[IGroupedItemSource] Interface for grouped user data.
[EmptySource] Empty data source.
[ListSource] List data source.
[ObservableItemSource] Item source who provide observable notifications.
[ObservableGroupedSource] Grouped item source who provide observable notifications.
[UngroupedItemSource] Ungrouped item source.

Enum and Interface :
[ICollectionChangedNotifier] Interface of collection changed notifier.
[ItemSelectionMode] Mode enum value for Selection.
[ItemSizingStrategy] Sizing strategy for item measure.
[SelectionChangedEventArgs] Event for Selection changed notify.

Helper Class :
[MarshalingObservableCollection] Marshaling ObservableCollection for itemSource.
[SelectionList] Internal list for SelectionModel.

Other Changes :
Moving and change internal to public of DataTemplate related classes.

Known Issues :
- Empty items or pages shows when scroll fast, jump by ScrollTo().
- ScrollTo() is moving incorrectly.
- Scrolling event passing scrollPosition negative value.
- Application cannot initialize the cached ViewItem.
- Image trembling while scrolling.

Remaining Works :
- Implement groupable features.
- Implement observable changes(ICollectionChangedNotifier).
- Implement dynamic size and dynamic template selector.
- Implement Item / Layouter animations and support custom animations.
- Adding samples and test.
- Adding Unit Test.
- Documents and guides.

Design Documents :
https://code.sec.samsung.net/confluence/display/ENUIFWC/5.+Model-based++User+Interfaces

* [NUI] Update templates to EditorBrowsableState.Never

* [CollectionView] fix wrong initialize layouter and item count which makes missing 0 and last indexed item in Header/Footer exist

* [CollectionView] fix missing call of OnRelayout in base class.

* [CollectionView] Implement Groupable Features and Refactoring Items

1. Implement Groupable features in CollectionView, LinearLayouter,
    GridLayouter.
2. Refactoring items and adding styles.
   OneLineLinearItem => DefaultLinearItem : SubLabel added.
                                            Use RelativeLayout.
    Apply DefaultLinerItemStyle.
   OutLineGridItem => DefaultGridItem : Label changed Caption.
                                        Use RelativeLayout.
Support CaptionOrientation.
Apply DefaultGridItemStyle.
   DefaultTitleItem is added for Header / GroupHeader.
3. Sample is udpated.
4. Remove _ in the code.

* [CollectionView] Refactoring class directories

- Move all item source related classes in ItemSource
- Move all item class in Item
- Move all layouter class in Layouter

* [NUI] add copy-right license pre-comments

* Introduce CollectionView and related classes.

View :
[ItemsView] Base class of model based view. create item by DataTemplate and
            layouting them with layouter using source data. inherited from ScrollableBase.
[CollectionView] groupable and selectable ItemsView.

Item :
[ViewItem] Base item for CollectionView.
[ViewItem.Internal] Internal partial class of ViewItem.
[ViewItemStyle] Style class of ViewItem.
[OneLineLinearItem] Linear type ViewItem of 1 line text Label and Icon, Extra View.
[OutLineGridItem] Grid type ViewItem of outline caption Label and ImageView Image and View Badge.

Layouter :
[ItemsLayouter] Base compositor class of item layouter on ItemsView.
[LinearLayouter] Layouter class of layouting item in linear list. restricted for CollectionView class only.
[GridLayouter] Layouter class of layouting item in grid list. restricted for CollectionView class only.

Item Source :
[ItemsSourceFactory] Factory of creating IItemSource from IEnumerable source.
[IItemSource] Interface for encapsulated data source from IEnumerable user source.
[IGroupedItemSource] Interface for grouped user data.
[EmptySource] Empty data source.
[ListSource] List data source.
[ObservableItemSource] Item source who provide observable notifications.
[ObservableGroupedSource] Grouped item source who provide observable notifications.
[UngroupedItemSource] Ungrouped item source.

Enum and Interface :
[ICollectionChangedNotifier] Interface of collection changed notifier.
[ItemSelectionMode] Mode enum value for Selection.
[ItemSizingStrategy] Sizing strategy for item measure.
[SelectionChangedEventArgs] Event for Selection changed notify.

Helper Class :
[MarshalingObservableCollection] Marshaling ObservableCollection for itemSource.
[SelectionList] Internal list for SelectionModel.

Other Changes :
Moving and change internal to public of DataTemplate related classes.

Known Issues :
- Empty items or pages shows when scroll fast, jump by ScrollTo().
- ScrollTo() is moving incorrectly.
- Scrolling event passing scrollPosition negative value.
- Application cannot initialize the cached ViewItem.
- Image trembling while scrolling.

Remaining Works :
- Implement groupable features.
- Implement observable changes(ICollectionChangedNotifier).
- Implement dynamic size and dynamic template selector.
- Implement Item / Layouter animations and support custom animations.
- Adding samples and test.
- Adding Unit Test.
- Documents and guides.

Design Documents :
https://code.sec.samsung.net/confluence/display/ENUIFWC/5.+Model-based++User+Interfaces

* [NUI] Update templates to EditorBrowsableState.Never

* [CollectionView] fix wrong initialize layouter and item count which makes missing 0 and last indexed item in Header/Footer exist

* [CollectionView] fix missing call of OnRelayout in base class.

* [CollectionView] Implement Groupable Features and Refactoring Items

1. Implement Groupable features in CollectionView, LinearLayouter,
    GridLayouter.
2. Refactoring items and adding styles.
   OneLineLinearItem => DefaultLinearItem : SubLabel added.
                                            Use RelativeLayout.
    Apply DefaultLinerItemStyle.
   OutLineGridItem => DefaultGridItem : Label changed Caption.
                                        Use RelativeLayout.
Support CaptionOrientation.
Apply DefaultGridItemStyle.
   DefaultTitleItem is added for Header / GroupHeader.
3. Sample is udpated.
4. Remove _ in the code.

* [CollectionView] Refactoring class directories

- Move all item source related classes in ItemSource
- Move all item class in Item
- Move all layouter class in Layouter

* [NUI] add copy-right license pre-comments

* [NUI] Remove Old RecyclerView and Renamed ItemsView to RecyclerView

Old RecyclerView was never published or browsed, so get rid of this class and renamed ItemsView to RecyclerView.

RecyclerVIew/ -> Removed.
ItemsView -> RecyclerView
ViewItem -> RecyclerViewItem
ViewItemStyle -> RecyclerViewItemStyle

fix warnings.

* [NUI] fix build errors and comments.

FishEyeLayoutManager and WearableList no longer supported as recyclerView is removed.

* [NUI] Update Samples

* [NUI] apply cache in group header and footer

* [NUI] re-alive wearable list and move RecyclerView in wearble.

Co-authored-by: dongsug-song <35130733+dongsug-song@users.noreply.github.com>
3 years ago[NUI] Use 'Container GetParent() for derived class' instead of Parent.
guowei.wang [Thu, 4 Feb 2021 03:28:43 +0000 (11:28 +0800)]
[NUI] Use 'Container GetParent() for derived class' instead of Parent.

3 years ago[NUI] Fix dispose bug in ImageView.UpdateImage
Jiyun Yang [Thu, 4 Feb 2021 03:51:16 +0000 (12:51 +0900)]
[NUI] Fix dispose bug in ImageView.UpdateImage

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] ScrollableBase supports Scrollbar properly
Jiyun Yang [Thu, 4 Feb 2021 10:48:39 +0000 (19:48 +0900)]
[NUI] ScrollableBase supports Scrollbar properly

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] NUI ThemeManager works with TizenThemeManager
Yeongjong Lee [Tue, 22 Dec 2020 03:51:50 +0000 (12:51 +0900)]
[NUI] NUI ThemeManager works with TizenThemeManager

3 years ago[NUI] Add Slider warning properties
Seoyeon Kim [Fri, 5 Feb 2021 06:56:12 +0000 (15:56 +0900)]
[NUI] Add Slider warning properties

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years ago[NUI] Add TC template for coverage
Dongsug Song [Thu, 4 Feb 2021 08:24:31 +0000 (17:24 +0900)]
[NUI] Add TC template for coverage

3 years ago[NUI] Remove upcast
huiyu.eun [Thu, 4 Feb 2021 01:22:53 +0000 (10:22 +0900)]
[NUI] Remove upcast

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Add obsolete tag (#2601)
huiyueun [Wed, 3 Feb 2021 07:32:41 +0000 (16:32 +0900)]
[NUI] Add obsolete tag (#2601)

Rmove build warning CA1051.
It is aleady deprecated by TCSACR-396
https://code.sec.samsung.net/jira/browse/TCSACR-396

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Add a VideoHoleEnabled property into WebView. (#2606)
huayongxu [Tue, 2 Feb 2021 09:23:25 +0000 (17:23 +0800)]
[NUI] Add a VideoHoleEnabled property into WebView. (#2606)

Video hole is used for playing videos with high quality in WebView.
This patch is to add a VideoHoleEnabled property.

3 years ago[NUI] Add some APIs into WebView. (#2578)
huayongxu [Tue, 2 Feb 2021 09:05:15 +0000 (17:05 +0800)]
[NUI] Add some APIs into WebView. (#2578)

Title, Favicon, ClearAllTilesResources are added.
Meanwhile WebView can be created with an arguments list
that will be delivered into web engine.

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Fix Selector bug and add new clone method (#2584)
Jiyun Yang [Tue, 2 Feb 2021 06:33:02 +0000 (15:33 +0900)]
[NUI] Fix Selector bug and add new clone method (#2584)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Improve AddPackageTheme (#2603)
Jiyun Yang [Tue, 2 Feb 2021 06:21:11 +0000 (15:21 +0900)]
[NUI] Improve AddPackageTheme (#2603)

To use package theme creator multiple times after it registered,
it needs to register the instance itself, as so the singleton pattern introduced for it.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Fix VectorAnimationImageView pagination visual defect
Dongsug Song [Mon, 1 Feb 2021 07:52:30 +0000 (16:52 +0900)]
[NUI] Fix VectorAnimationImageView pagination visual defect

3 years agoAdd widget component type (#2609)
ChangGyu Choi [Mon, 8 Feb 2021 09:03:49 +0000 (18:03 +0900)]
Add widget component type (#2609)

Co-authored-by: hjhun <36876573+hjhun@users.noreply.github.com>
3 years ago[Tizen.Applications.ComponentBased][TCSACR-400] Add WidgetComponent API (#2604)
ChangGyu Choi [Mon, 8 Feb 2021 08:59:25 +0000 (17:59 +0900)]
[Tizen.Applications.ComponentBased][TCSACR-400] Add WidgetComponent API (#2604)

* Add widget component

* Fix tizen version in description

* Remove unnecessary file

* Remove unnecessary tag

* Fix description

Co-authored-by: hjhun <36876573+hjhun@users.noreply.github.com>
3 years ago[ThemeManager] Add new internal API for ThemeManager (#2610)
jeremy-jang [Wed, 3 Feb 2021 23:17:51 +0000 (08:17 +0900)]
[ThemeManager] Add new internal API for ThemeManager (#2610)

* [ThemeManager] Add new internal API for ThemeManager

A new API added:
 - Tizen.Applications.Theme.HasKey(string key)

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [ThemeManager] Fix ThemeManager native library name

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 years ago[Tizen.Multimedia.Vision][TCSACR-399] Add pose detect API (#2551)
kwangson [Wed, 3 Feb 2021 01:50:41 +0000 (10:50 +0900)]
[Tizen.Multimedia.Vision][TCSACR-399] Add pose detect API (#2551)

* [Vision][ACR] Add pose detect API

3 years ago[NUI] Fix a bug related to CA1721
Daekwang Ryu [Mon, 1 Feb 2021 06:51:59 +0000 (15:51 +0900)]
[NUI] Fix a bug related to CA1721

SetMinimumSwipeDistance and SetMinimumSwipeSpeed were removed.

3 years ago[NUI] Version update (nui22011)
Daekwang Ryu [Mon, 1 Feb 2021 05:49:06 +0000 (14:49 +0900)]
[NUI] Version update (nui22011)

3 years ago[NUI] Fix Dispose memory leak issue
huiyu.eun [Mon, 1 Feb 2021 04:08:29 +0000 (13:08 +0900)]
[NUI] Fix Dispose memory leak issue

- 'disposedThis' blocks the release of memory.
https://github.com/Samsung/TizenFX/pull/2381

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Change button default style in common profile
Jiyun Yang [Thu, 28 Jan 2021 12:36:26 +0000 (21:36 +0900)]
[NUI] Change button default style in common profile

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Change Feedback default as false in Control
Dongsug Song [Tue, 26 Jan 2021 09:10:22 +0000 (18:10 +0900)]
[NUI] Change Feedback default as false in Control

- Change Feedback default as false in Control
- Change Feedback as true in each Components (ex: Switch, Button)
- Add #if PROFILE_MOBILE to make NUI.Components run on Ubuntu

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] Add FontSizeScale property in TextLabel, TextField and TextEditor (#2559)
Youngbok Shin [Thu, 28 Jan 2021 12:07:44 +0000 (21:07 +0900)]
[NUI] Add FontSizeScale property in TextLabel, TextField and TextEditor (#2559)

The value of FontSizeScale will be used for multiplying the given PointSize.
If null, will use the SystemSettings.FontSize. And it will updated when
SystemSettings update the FontSize setting.

Co-authored-by: Youngbok Shin <youngb.shin@samsung.com>
3 years ago[Applications.ComponentBased.ComponentPort] Add a missing exception (#2591)
hjhun [Mon, 1 Feb 2021 06:00:22 +0000 (15:00 +0900)]
[Applications.ComponentBased.ComponentPort] Add a missing exception (#2591)

* Add a missing exception handling

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Use IsNullOrEmpty()

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoMake exception safe codes (#2588)
hjhun [Mon, 1 Feb 2021 02:52:00 +0000 (11:52 +0900)]
Make exception safe codes (#2588)

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years ago[NUI] Move SuggestedMinimumWidth/Height to native
huiyu [Tue, 26 Jan 2021 04:51:41 +0000 (13:51 +0900)]
[NUI] Move SuggestedMinimumWidth/Height to native

Patch to improve layout performance
(LayoutController.Process())

Signed-off-by: huiyu <huiyu.eun@samsung.com>
3 years agoFix WatchTime.UtcTimestamp.Millisecond bug (#2580)
Hyunho Kang [Fri, 29 Jan 2021 03:13:14 +0000 (12:13 +0900)]
Fix WatchTime.UtcTimestamp.Millisecond bug (#2580)

* Fix timestamp millisecond 0 bug

Signed-off-by: hyunho <hhstark.kang@samsung.com>
* Remove ToLocalTime

Signed-off-by: hyunho <hhstark.kang@samsung.com>
Co-authored-by: pjh9216 <jh9216.park@samsung.com>
3 years ago[NUI] Re-structuring NUI by classifying modules
Dongsug Song [Thu, 28 Jan 2021 10:12:05 +0000 (19:12 +0900)]
[NUI] Re-structuring NUI by classifying modules

3 years ago[NUI] Fix nui version
Dongsug Song [Thu, 28 Jan 2021 01:47:03 +0000 (10:47 +0900)]
[NUI] Fix nui version

3 years agoRevert "Revert "[NUI] Rebase DevelNUI (#2507)" (#2508)"
Dongsug Song [Wed, 27 Jan 2021 12:00:55 +0000 (21:00 +0900)]
Revert "Revert "[NUI] Rebase DevelNUI (#2507)" (#2508)"

This reverts commit cb3bab0b559a6abee2f305c86464d627e7ba9fe0.

3 years agoRevert "[NUI] Rebase DevelNUI (#2507)" (#2508)
huiyueun [Mon, 11 Jan 2021 05:37:18 +0000 (14:37 +0900)]
Revert "[NUI] Rebase DevelNUI (#2507)" (#2508)

This reverts commit 48aea0ba4111a0f164f0b0eb2f686ce4f53f6401.

3 years ago[NUI] Rebase DevelNUI (#2507)
huiyueun [Mon, 11 Jan 2021 05:29:41 +0000 (14:29 +0900)]
[NUI] Rebase DevelNUI (#2507)

* [NUI] Fix a build warning CA1717 (#2422)

- Only FlagsAttribute enums should have plural names
 https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1717

- Some enums cannot be fixed because they're already public APIs,
 so added suppress messages for CA1717 build warning.
- Some enums are already used as hidden APIs,
 so added Obsolete tags and made a fixed version as singular name.
- Tizen.NUI.Components.ControlStates enum should be marked with the FlagsAttribute.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
* [NUI] Fix CA2000 warning for Window

* Modify dispose issue for window

* [NUI] Fix CA2002

Do not lock on objects with weak identity
https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca2002

* [NUI] Fix CA2000 issue in DefaultTheme(Dispose object before losing scope)

* [NUI] Add internal and hidden APIs which are currently used

- Add internal and hidden APIs which are currently used. otherwise removing them causes build errors.
- Let users to use proper APIs by deleting these deprecated APIs
- User can be informed that these are deprecated and should not be used by warning messeges during build time.

* [NUI] Fix the behavior as for View.BackgroundImage to be cleared when null set

- Change the behavior of View.BackgroundImage property from API9
- https://code.sec.samsung.net/jira/browse/GRE-2078

* [NUI] Adds StopBehavior and CurrentFrame properties to the AnimatedImageView

Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
* [NUI] Modify CA2000 warnings for Visual

* [NUI] Add Obsolete Attribute for ControlStates enum

`ControlStates` enum will be removed in API10.

We can use `ControlState` class instead.

* Revert "[NUI] Modify CA2000 warnings for Visual"

This reverts commit afa5fef90e7c8b370fc0e505d2420a7a87083344.

* [NUI] Override Dispose() in Navigator

Pages pushed into Navigator are disposed if Navigator is disposed.

To override Dispose() in Navigator, two dictionaries are required to
remove disposed navigator from dictionary.

TODO: Needs to consider how to remove disposed window from dictionary.

* [NUI] Modify CA2000 Warnings for VisualMap (#2460)

* Revert "[NUI] Fix CA2000 issue in DefaultTheme(Dispose object before losing scope)" (#2463)

This reverts commit cff3fd4d9fd6fd461263e742e296a5397e9563a0.

This causes segfault to dispose styles after passing them through `AddStyleWithoutClone` method.
Because the theme object holds the passed style objects.
Which means the responsibility to dispose the object is transferred to the theme object.

In this case, we can suppress this warning.
https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca2000

Instead revert the patch, it suppressed CA2000 warning.

* [NUI] Fix crash issue in PaginationStyle. (#2448)

* [NUI] Add ImageList property (#2449)

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Co-authored-by: YeongJong Lee <cleanlyj@naver.com>
* [NUI] Modify CA2000 Warnings for TextVisual and VisualAnimator

* Use correct calling convention

Some callback and functions from DALi expected the calling convention to
be cdecl, this commit makes it right. The amd64 platforms this is rarely
a problem since arguments are passed through CPU registers, but in x86
this leads to stack corruption.

* [NUI] Fix CA2000 issues in Model3dView and RenderTask.

* [NUI] remove needless null validation in LayoutItem.SetFrame (#2469)

* [NUI] Fix CA1716 build warning

* [NUI] Fix CA2000 issues for Visuals (#2473)

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
* [NUI] Fix build error and large text size issue

* [NUI] Fix null exception in Loading and improve code (#2478)

This fixes null pointer exception in Loading when running following sample,

```C#
var loading1 = new Loading(new LoadingStyle
{
    Size = new Size(100, 100),
    Position = new Position(0, 100),
    Images  = imageArray
});
```

Plus, this patch removes redundant behaviors when applying a style to a Loading component.
All components copies a default style to the component properties when it is created.
When copying a style, all bindable properties defined in the style class that is not null value are copied to the component properties,
so it is important to keep null value for the property that is not set by user.
Hence this patch removes code that allocates empty list object in the getter of ImageList bindable property.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Co-authored-by: Seoyeon2Kim <34738918+Seoyeon2Kim@users.noreply.github.com>
* [NUI] remove unnecessary using in Size2D.cs (#2487)

Co-authored-by: Yeongjong Lee <yj34.lee@samsung.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
* [NUI] Add AppBar class (#2435)

AppBar shows title text and provides navigation and action functions on
Page.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
* [NUI] Fix CA2000 issues for Visual (#2491)

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
* [NUI] fixed memory leak

* [NUI] Update AccessibilitySample for readability (#2500)

- Updated the sample to fit the size and make it easier to read.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
* [NUI] Fix CA2000 warning issues of View and ViewImpl.

* [NUI] Fix the incorrect parameter for XamlBinding

 - Change to `SizeTypeConverter` for the correct compiledVersion

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
* [NUI] Fix CA2000 issues for Render Shadow (#2493)

* [NUI] Fix CA2000 issues for Render Shadow

* [NUI] Fix CA2000 for Render

* [NUI] Fix CA2000 Warnings

* [NUI] Update description of Transition classes

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
* [NUI] Remove since_tizen tag for internal APIs

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
* [NUI] Fix build warning CA1712

CA1712: Do not prefix enum values with type name

The name can not be changed becuase this enum is publicly open.
Suppress warning messages.

* Revert "[NUI] Fix CA2000 Warnings"

This reverts commit 92f2d926ec881a0ccacd447401526dcd19cf01b0.

* Revert "[NUI] Fix CA2000 warning issues of View and ViewImpl."

This reverts commit 424bdae58a6f7d71ad3e531fd157a92d513255c4.

Co-authored-by: Seoyeon2Kim <34738918+Seoyeon2Kim@users.noreply.github.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
Co-authored-by: zhouleonlei <zhouleon.lei@samsung.com>
Co-authored-by: Daekwang Ryu <dkdk.ryu@samsung.com>
Co-authored-by: guowei.wang <guowei.wang@samsung.com>
Co-authored-by: Dongsug Song <dongsug.song@samsung.com>
Co-authored-by: Seungho Baek <sbsh.baek@samsung.com>
Co-authored-by: Yeongjong Lee <cleanlyj@naver.com>
Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Co-authored-by: zhouleonlei <56956725+zhouleonlei@users.noreply.github.com>
Co-authored-by: Wander Lairson Costa <wander.lairson@gmail.com>
Co-authored-by: Moonhee, Choi <mh0310.choi@samsung.com>
Co-authored-by: Yeongjong Lee <yj34.lee@samsung.com>
Co-authored-by: Jaehyun Cho <29364140+jaehyun0cho@users.noreply.github.com>
Co-authored-by: Joogab Yun <joogab.yun@samsung.com>
Co-authored-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Co-authored-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years ago[NUI] Version update (nui2205) (#2406)
dongsug-song [Tue, 15 Dec 2020 06:49:08 +0000 (15:49 +0900)]
[NUI] Version update (nui2205) (#2406)

- matched with dali2-2.0.5

3 years ago[NUI] Add Value Indicator of Slider (#2533)
Seoyeon2Kim [Wed, 27 Jan 2021 01:55:33 +0000 (10:55 +0900)]
[NUI] Add Value Indicator of Slider (#2533)

- Value Indicator is a tooltip of slider.
- Add some properties for value indicator :
  IsValueShown, ValueIndicatorText, ValueIndicatorSize, and ValueIndicatorUrl

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years ago[NUI] Support scroll in WebView. (#2528)
huayongxu [Tue, 26 Jan 2021 11:15:57 +0000 (19:15 +0800)]
[NUI] Support scroll in WebView. (#2528)

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

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years agoAdd some new APIs like Context, Settings, etc. (#2419)
huayongxu [Tue, 26 Jan 2021 09:39:54 +0000 (17:39 +0800)]
Add some new APIs like Context, Settings, etc. (#2419)

Originally only WebView is used to add new APIs, it will become
bigger, and be hard to maintain.
This patch is to move some related APIs into a class like WebContext,
WebSettings, etc.
And it also adds some new APIs like WebBackForwardList, etc.

3 years ago[NUI] Version update (nui2206)
Dongsug Song [Mon, 21 Dec 2020 11:06:33 +0000 (20:06 +0900)]
[NUI] Version update (nui2206)

3 years ago[Tizen.Applications.ComponentBased][TCSACR-398] Add ComponentPort class (#2548)
hjhun [Tue, 26 Jan 2021 23:37:43 +0000 (08:37 +0900)]
[Tizen.Applications.ComponentBased][TCSACR-398] Add ComponentPort class (#2548)

* Devel Component Port

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Change parameter name to endpoint

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Use Serializable instead of Parcelable

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Remove Marker interface

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Check result object

The result has to be a serializble object.

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix wrong description

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Remove SafePortHandle

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Modify using directives

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix typo

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Co-authored-by: pjh9216 <jh9216.park@samsung.com>
3 years ago[NUI] Fix CA1721 warnings (#2541)
dkdk-ryu [Tue, 26 Jan 2021 08:11:35 +0000 (17:11 +0900)]
[NUI] Fix CA1721 warnings (#2541)

Property names should not match get methods
https://docs.microsoft.com/ko-kr/dotnet/fundamentals/code-analysis/quality-rules/ca1721

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Version update (nui22010) (#2561)
bshsqa [Tue, 26 Jan 2021 07:14:40 +0000 (16:14 +0900)]
[NUI] Version update (nui22010) (#2561)

Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years ago[NUI] Fix CA2000 Warnings for View (#2556)
zhouleonlei [Tue, 26 Jan 2021 05:18:16 +0000 (13:18 +0800)]
[NUI] Fix CA2000 Warnings for View (#2556)

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years agoAdd API for delete widgetView (#2521)
tscholb [Tue, 26 Jan 2021 03:41:33 +0000 (12:41 +0900)]
Add API for delete widgetView (#2521)

WidgetViewManager provide API for delete widgetView instead TerminateWidget().
TerminateWidget() will be deprecated.

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Fix CA1819 : Properties should not return arrays (#2409)
AdunFang [Tue, 26 Jan 2021 03:33:52 +0000 (11:33 +0800)]
[NUI] Fix CA1819 : Properties should not return arrays (#2409)

* [NUI] Fix CA1819

* [NUI] Fix CA1819

* [NUI] Rename private member

* [NUI] Modify code by HQ's comments

* [NUI] Change the category of SuppressMessage

Co-authored-by: Fang Xiaohui <xiaohui fang>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Fix CA2000 Warnings for View (#2546)
zhouleonlei [Fri, 22 Jan 2021 04:35:36 +0000 (12:35 +0800)]
[NUI] Fix CA2000 Warnings for View (#2546)

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Support selector for PixelSize in TextLabelStyle and TextEditorStyle (#2539)
Jiyun Yang [Thu, 21 Jan 2021 11:45:05 +0000 (20:45 +0900)]
[NUI] Support selector for PixelSize in TextLabelStyle and TextEditorStyle (#2539)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Fix TV AmbientMode empty screen (#2538)
dongsug-song [Thu, 21 Jan 2021 10:07:38 +0000 (19:07 +0900)]
[NUI] Fix TV AmbientMode empty screen (#2538)

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>