Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TESTCODE #6416

Closed
wants to merge 158 commits into from
Closed

TESTCODE #6416

wants to merge 158 commits into from

Conversation

JoogabYun
Copy link
Contributor

Description of Change

API Changes

  • ACR:

hsgwon and others added 30 commits July 18, 2024 11:12
* [WebRTC] Change state restriction
- NUI Autofill code was not removed together with dali ones.
- Now, all related codes should be deleted because there's no use case
anywhere and they don't have their internal implementation.

Signed-off-by: Seoyeon Kim <[email protected]>
- `CSharp_Dali_ViewImpl_AccessibilityActivate` was removed in 2018 lol
 However, at that time, NUI codes couldn't be removed together (Not sure)

- The reason `ViewImpl_AccessibilityActivate` was removed is
   `Remove functions which using internal apis

    Some binding functions use internal apis.
    It caused error when dlopen csharp binder.`

- User can use Activated event with `View.AccessibilityActivated`

Signed-off-by: Seoyeon Kim <[email protected]>
System.Reflection.Assembly.CreateInstance() can return null value.

Signed-off-by: Sangyoon Jang <[email protected]>
This patch changes internal tensor size limit in MachineLearning.Inference.
Tizen Native ML api's max tensor size has been changed to 256.

Signed-off-by: Yelin Jeong <[email protected]>
Let we support to BoxShadow and ColorVisual, to ignore rendering inside of
View area.

None is default, same as previous logics.
CutoutView is cutout render area as bounding box of view. It is faster than CutoutViewWithCornerRadius.
CutoutWithCornerRadius is cutout render area consider the corner radius of view.

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

Signed-off-by: Eunki, Hong <[email protected]>
- Make intention revealing names for Some variables.
 Choosing names that reveal intent can make it much easier to understand.

Signed-off-by: Seoyeon Kim <[email protected]>
Since some useless animation was running internally until GC comes,
CPU usage might be increased for this sample.

To avoid useless rendering, let we ensurely dispose not-using animation.

Signed-off-by: Eunki, Hong <[email protected]>
Make we use unified code style when we connect/disconnect native signal
to C# EventHandler.

It will be reduce some copy-paste the non-common style implementation.

This PR will change below classes

* (internal)Application and it's family
* (internal)ObjectRegistry
* (internal)Builder
* (internal)GaussianBlurView
* ImageView and it's family
* View, ViewAccessibility
* Clipboard
* Capture

Signed-off-by: Eunki, Hong <[email protected]>
- TCT crash issue, log =>
E/STDERR  (21795): Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
E/STDERR  (21795):    at Tizen.NUI.BaseComponents.View.Dispose(DisposeTypes type) in Tizen.NUI.dll:token 0x6002b7c+0x591
E/STDERR  (21795):    at Tizen.NUI.BaseHandle.Dispose() in Tizen.NUI.dll:token 0x6000e5c+0xc
E/STDERR  (21795):    at Tizen.NUI.DisposeQueue.ProcessDisposablesIncrementally() in Tizen.NUI.dll:token 0x6000238+0x79
E/STDERR  (21795):    at Tizen.NUI.DisposeQueue.ProcessDisposables() in Tizen.NUI.dll:token 0x6000237+0xd5
E/STDERR  (21795): onSigabrt called
…view

Until now, VisibilityChangedEventArgs.View return sender itself.

It is useless information for user.

Follow up some other platform's behavior,
( reference : https://developer.android.com/reference/android/view/View#onVisibilityChanged(android.view.View,%20int) )
Let we make VisibilityChangedEventArgs.View return visibility changed view.

Relative dali patch :

- https://review.tizen.org/gerrit/c/platform/core/uifw/dali-core/+/315475
- https://review.tizen.org/gerrit/c/platform/core/uifw/dali-csharp-binder/+/315484

Signed-off-by: Eunki, Hong <[email protected]>
Found some build warning list by below command

dotnet build /p:BuildWithAnalyzer=True -consoleloggerparameters:NoSummary

Their are too many warnings occurs, let we remove them by multiple phases.

Signed-off-by: Eunki, Hong <[email protected]>
Apply some comments that report at PR Samsung#6079

- `Color.A` getter apply `Opacity` changeness
- Make `VisualFittingMode` have no effect for `ColorVisual` and `BorderVisual`
- `GetVisualProperty` return valid value after call `GetCurrentVisualProperty`
- Make `VisualBase` class as abstract. Let we don't allow to call this class constructor.

Signed-off-by: Eunki, Hong <[email protected]>
Add SynchrousSizing property - reload as size of visual.

It will be useful when we want to load image as specific size of view,
so the memory is reduced.

Signed-off-by: Eunki Hong <[email protected]>
Signed-off-by: Seoyeon Kim <[email protected]>
Yunhee Seo and others added 18 commits October 10, 2024 17:31
Add more detailed APIs description.

Signed-off-by: Yunhee Seo <[email protected]>
Let we make some class that could create NativeImageSource / NativeImageQueue
with raw-buffer-handle of tbm_surface_h / tbm_queue_h.

It will be used for some advanced tizen platform developer.

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

Signed-off-by: Eunki, Hong <[email protected]>
Signed-off-by: Eunki, Hong <[email protected]>
Since protected level make runtime error for TV FLUX project,
let we revert it as internal again.

Signed-off-by: Eunki, Hong <[email protected]>
There were issues with heap use after free and heap overflow occurring
(TNINE-4152, 4153, 4154).

In order to solve this problem, modified the internal logic of the API.

Signed-off-by: SeoHyungjun <[email protected]>
- fix the crash issue : A callback was made on a garbage collected delegate of type 'Tizen.NUI!Tizen.NUI.WebContext+WebContextHttpRequestInterceptedProxyCallback::Invoke'
1) DF240922-00003
https://sa.sec.samsung.net/dm/tizen90/sb2/main/review#PRJID=1&WGID=43585
false alarm
At line 755, a null check has been already performed ; the item "e.Proposed" which was pointed out as an problem cannot become null.
As such, this issue does not require correction as it is a false alarm.

2) DF240907-00723
https://sa.sec.samsung.net/dm/tizen90/sb2/main/review#PRJID=1&WGID=176282
fixed

3) DF240907-00695
https://sa.sec.samsung.net/dm/tizen90/sb2/main/review#PRJID=1&WGID=176248
fixed

4) DF240906-00277
https://sa.sec.samsung.net/dm/tizen90/sb2/main/review#PRJID=1&WGID=174470
fixed

5) DF240905-01180
https://sa.sec.samsung.net/dm/tizen90/sb2/main/review#PRJID=1&WGID=43601

At line 1014, a null check has been already performed; if it is null, an exception will be thrown.
Therefore, at line 1018, the item which was pointed out as an problem cannot become null.
As such, this issue does not require correction as it is a false alarm.

6) DF240821-00053
https://sa.sec.samsung.net/dm/tizen90/sb2/main/review#PRJID=1&WGID=163282
fixed

7) DF240716-01912
https://sa.sec.samsung.net/dm/tizen90/sb2/main/review#PRJID=1&WGID=163084
already fixed in the previous patch
Since dali_2.3.41, MixColor property animate by Vector4 type.
But NUI animation property helper doesn't apply those changeness.

To match the previous behavior, let we make BackgroundColor and BoxShadow.Color
animate by Color class well.

Signed-off-by: jmm <[email protected]>
Signed-off-by: Eunki, Hong <[email protected]>
@TizenAPI-Bot
Copy link
Collaborator

Public API Changed

Please follow the ACR process for the changed API below.
Added: 103, Removed: 0, Changed: 0

@TizenAPI-Bot
Copy link
Collaborator

Public API Changed

Please follow the ACR process for the changed API below.
Added: 222, Removed: 0, Changed: 0

@TizenAPI-Bot
Copy link
Collaborator

Public API Changed

Please follow the ACR process for the changed API below.
Added: 232, Removed: 0, Changed: 0

@JoogabYun JoogabYun closed this Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.