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

[NUI] Reinforce sample app for window #5669

Closed
wants to merge 82 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
1a39687
[Tts] Make SynthesizedPcmEventArgs inherit System.EventArgs (#5540)
stom-hwang Sep 13, 2023
d949790
[NUI] Binding GetLastHoverEvent
JoogabYun Sep 13, 2023
372e37d
[NUI] Particle System binding and implementation of C# side
Aug 4, 2023
45a1f50
[NUI] Hide ParticleBlendingMode and ParticleEmitter
jmmhappy Sep 11, 2023
3a2a212
[NUI] Fix partial update issue
jmmhappy Sep 11, 2023
506452a
[NUI] Add Dispose()
jmmhappy Sep 13, 2023
4b75e58
[NUI] Remove unsafe functions
jmmhappy Sep 13, 2023
9f10983
[NUI] Remove unused arguments and enum for AddLocalStream().
jmmhappy Sep 13, 2023
2bb3c43
[NUI] Remove underlines in function names
jmmhappy Sep 14, 2023
49e9719
[NUI] Use Disposed instead of disposed.
jmmhappy Sep 14, 2023
ed92cad
[NUI] Change RendererTexture(texture) into TextureResourceUrl(imageUrl)
jmmhappy Sep 14, 2023
d552157
[NUI] Call base.Dispose(type) at derived class's Dispose.
jmmhappy Sep 14, 2023
42cea84
[NUI.Physics2D] Add binding for Chipmunk2D physics engine
hrdisaac Sep 12, 2023
fe8dcbd
[NUI.Physics2D] Adding Dali/Chipmunk interop
DavidIanSteele Sep 11, 2023
f5e10f1
[NUI] Fix ImageColor alpha not applied issue
Sep 13, 2023
f019f9f
[System.Feedback] Add new feedback_pattern for "da" profile
Sep 7, 2023
32ce225
[System.Feedback] Add internal API to support feedback stop by feedba…
Sep 15, 2023
21b2c1e
[System.Feedback] Add new feedback_pattern to support general feedbac…
Sep 14, 2023
8d79376
[NUI] DragAndDrop : Add APIs for Window
taehyub Sep 15, 2023
ad62027
[NUI] Version Update (22244)
Seoyeon2Kim Sep 18, 2023
a89de98
DragAndDrop : hide window event handler
taehyub Sep 18, 2023
19de269
[NUI.Scene3D] Fix MotionData TCT error
Sep 19, 2023
b8a3550
[NUI.WindowSystem] Introduce the new InputGenerate feature
juns-kim Sep 14, 2023
7807a09
[NUI.WindowSystem] Add new request of KVM Service
juns-kim Aug 30, 2023
b0c2ef1
[NUI] bug fixed about windowPointerConstraintsEventCallback
JoogabYun Sep 20, 2023
65aa1ed
[NUI] Add HoverEvent in Window
JoogabYun Aug 28, 2023
7c25a74
[NUI] Binding DispatchTouchMotion and DispatchHoverMotion
JoogabYun Sep 21, 2023
fa38f30
[NUI] Add widget list for keeping widget instance
tscholb Sep 25, 2023
dcfbbf0
Add VisualFactory.UsePrecompiledShader()
bshsqa Sep 25, 2023
0bbde07
[NUI] Version Update (22245)
rabbitfor Sep 25, 2023
7ebb212
[NUI] Do not registry last event items who get retrieved
Sep 25, 2023
9a325ae
[NUI] Implement defaut key construct
Sep 25, 2023
1316251
[NUI] Let we don't dispose cached LastEvents
Sep 26, 2023
30b593a
[NUI] fix IME window crash issue
dongsug-song Sep 26, 2023
1859e09
Add API12
JoonghyunCho Oct 5, 2023
0e39693
Add API12 Update pkg
JoonghyunCho Oct 6, 2023
d388a7f
Update README.md
JoonghyunCho Oct 10, 2023
417dbaa
Update README.md
JoonghyunCho Oct 10, 2023
781fa26
Deprecating Tizen.Location.Geofence APIs (#5598)
priyakohl Oct 11, 2023
b7950e8
[Tdbc] Fix UpdateHookCallback released issue (#5528)
upple Oct 12, 2023
8f0787e
[System.Feedback] Add new feedback_pattern
Oct 12, 2023
193e03d
Deprecating Tizen.Messaging.Email APIs (#5596)
priyakohl Oct 16, 2023
cd4f4e2
Use Marshal.FreeHGlobal() instead of Libc.Free() (#5628)
hjhun Oct 17, 2023
1f08093
Change visibility of NUIGadgetResourceManager ctor (#5626)
hjhun Oct 17, 2023
257a368
Deprecating Tizen.Messaging.Messages APIs (#5593)
k-jaju Oct 17, 2023
f1981b6
[Connection] Fix ASAN crash issue (#5625)
SeonahMoon Oct 17, 2023
b95715b
Use Marshal.FreeHGlobal() instead of Libc.Free() (#5636)
hjhun Oct 18, 2023
333b0e4
[Nsd] Fix ASAN crash (#5632)
SeonahMoon Oct 18, 2023
3a250f5
[System.Feedback] Add feedback theme index range description
Oct 19, 2023
3930b1c
[WiFi] Fix ASAN crash (#5631)
SeonahMoon Oct 20, 2023
168fe31
[System.Information] Use Marshal.FreeHGlobal() instead of Libc.Free()
devusr-sw-kim Oct 18, 2023
27de0d2
[Bluetooth] Fix ASAN crash issue (#5624)
wootak-jung Oct 24, 2023
6754a81
[NUI] Fix some SVACE issues.
zhouhao02 Sep 27, 2023
cd27b38
[NUI] Let registry throw exception at error case
Sep 26, 2023
bb8a3c2
[NUI] Fix some SVACE issues of null reference.
zhouhao02 Oct 8, 2023
f510b0a
[NUI] Fix some SVACE issues related to methods of Marshal.
zhouhao02 Oct 8, 2023
47da519
[NUI] Remove build warnings
Oct 8, 2023
8a97b53
[NUI] BaseHandle without Registry but own memory
Oct 8, 2023
9ac9e93
[NUI] Consider WeakReference resurrection at Registry.
Oct 8, 2023
5b59d58
[NUI] bug fixed about cMemoryOwn
JoogabYun Oct 10, 2023
af8e7b5
[NUI] revert default key construct
JoogabYun Oct 10, 2023
564869c
[NUI] Add TextFitArray
wonrst Oct 10, 2023
a85ebe2
[NUI] Resolve TextLable build warning
Oct 12, 2023
49f5d20
[NUI] Fix Registry exception for custom view wrapper
Oct 12, 2023
8778ac9
[NUI] Resolve registry issue for CanvasView Gradient
Oct 13, 2023
54aad26
[NUI][AT-SPI] Fix Accessibility.Say interop (#5612)
aswigon Oct 16, 2023
cfbf799
[NUI.Wearable] Remove build warning
Oct 15, 2023
c3a4fad
[NUI] Fix the SVACE issue.
zhouhao02 Oct 17, 2023
40f895b
[NUI] Resolve registry issue for RenderTaskList
Oct 17, 2023
e5f0349
[NUI] Make AddFrameUpdateCallback with root view
Oct 18, 2023
8823da2
[NUI] Add an API to set offset for drag window
taehyub Oct 18, 2023
3fcc1eb
[NUI] Public RemoveBinding and ClearBinding apis
elishateng Oct 17, 2023
debba29
[NUI] Flush action implement for LottieAnimationView
Oct 24, 2023
0a05a28
[NUI.Scene3D] Bug fix when we get ModelNode from Model
Oct 23, 2023
bee9ece
[NUI] Preload some static values
Oct 24, 2023
ec95af6
[NUI] Supports to set/get full screen sized window
sparrow74 Oct 24, 2023
609c200
[NUI.Components] Remove build warning for Control.Preload()
Oct 24, 2023
1673f02
[NUI] Make View.TooltipText return valid value
Oct 18, 2023
23fbd19
[NUI] Fix some SVACE issues.
zhouhao02 Oct 11, 2023
54c0a28
[NUI] Change Accessibility.cs don't use net6.0 specific function
Oct 24, 2023
47da1cf
[NUI] Version up nui22249
Oct 25, 2023
a3659d0
[NUI] Reinforce window sample
sparrow74 Oct 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 7 additions & 1 deletion .github/branch-metadata.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
master:
api-level: API12
labels: [ API12 ]
tizen-branch: tizen
version-prefix: 12.0.0

API11:
api-level: API11
labels: [ API11 ]
tizen-branch: tizen
tizen-branch: tizen_8.0
version-prefix: 11.0.0

API10:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_dispatch:

env:
TARGET_BRANCHES: 'master API10 API9'
TARGET_BRANCHES: 'master API11 API10'

jobs:
nightly:
Expand Down
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ TizenFX API, which allows you to access platform-specific features not covered b

| Branch | API Level | Target Framework | API Reference | Platform | myget.org | nuget.org |
|--------|:---------:|------------------|---------------|-------------------|-----------|------------|
|master | 11 | net6.0-tizen8.0 | [Link](https://samsung.github.io/TizenFX/master/) | Tizen 8.0 | [![api11_myget](https://img.shields.io/tizen.myget/dotnet/vpre/Tizen.NET.API11.svg)](https://tizen.myget.org/feed/dotnet/package/nuget/Tizen.NET) | |
|master | 12 | net6.0-tizen9.0 | [Link](https://samsung.github.io/TizenFX/master/) | Tizen vNext | [![api12_myget](https://img.shields.io/tizen.myget/dotnet/vpre/Tizen.NET.API12.svg)](https://tizen.myget.org/feed/dotnet/package/nuget/Tizen.NET) | |
|API11 | 11 | net6.0-tizen8.0 | [Link](https://samsung.github.io/TizenFX/API11/) | Tizen 8.0 | [![api11_myget](https://img.shields.io/tizen.myget/dotnet/vpre/Tizen.NET.API11.svg)](https://tizen.myget.org/feed/dotnet/package/nuget/Tizen.NET) | |
|API10 | 10 | tizen10.0 | [Link](https://samsung.github.io/TizenFX/API10/) | Tizen 7.0 | [![api10_myget](https://img.shields.io/tizen.myget/dotnet/vpre/Tizen.NET.API10.svg)](https://tizen.myget.org/feed/dotnet/package/nuget/Tizen.NET) | [![api10_nuget](https://img.shields.io/nuget/v/Tizen.NET.API10.svg)](https://www.nuget.org/packages/Tizen.NET/) |
|API9 | 9 | tizen90 | [Link](https://samsung.github.io/TizenFX/API9/) | Tizen 6.5 | [![api9_myget](https://img.shields.io/tizen.myget/dotnet/vpre/Tizen.NET.API9.svg)](https://tizen.myget.org/feed/dotnet/package/nuget/Tizen.NET) | [![api9_nuget](https://img.shields.io/nuget/v/Tizen.NET.API9.svg)](https://www.nuget.org/packages/Tizen.NET/) |
|API8 | 8 | tizen80 | [Link](https://samsung.github.io/TizenFX/API8/) | Tizen 6.0 | [![api8_myget](https://img.shields.io/tizen.myget/dotnet/vpre/Tizen.NET.API8.svg)](https://tizen.myget.org/feed/dotnet/package/nuget/Tizen.NET) | [![api8_nuget](https://img.shields.io/nuget/v/Tizen.NET.API8.svg)](https://www.nuget.org/packages/Tizen.NET/) |
Expand All @@ -19,26 +20,26 @@ TizenFX API, which allows you to access platform-specific features not covered b
|API4 | 4 | tizen40 | [Link](https://samsung.github.io/TizenFX/API4/) | Tizen 4.0 | [![api4_myget](https://img.shields.io/tizen.myget/dotnet/vpre/Tizen.NET.API4.svg)](https://tizen.myget.org/feed/dotnet/package/nuget/Tizen.NET) | [![api4_nuget](https://img.shields.io/nuget/v/Tizen.NET.API4.svg)](https://www.nuget.org/packages/Tizen.NET/) |

### master
The __master__ branch is the main development branch for the Tizen .NET __API Level 11__.
The __master__ branch is the main development branch for the Tizen .NET __API Level 12__.

The following NuGet packages will be published to [Tizen MyGet Gallery](https://tizen.myget.org/gallery/dotnet) and [Github Packages Registry](https://github.com/orgs/Samsung/packages?tab=packages&q=Tizen.NET) every day if there are any changes. (Nightly Build)

> - MyGet Feed : ```https://tizen.myget.org/F/dotnet/api/v3/index.json```
> - GitHub Packages Feed : ```https://nuget.pkg.github.com/Samsung/index.json```
> - GitHub Packages only supports authentication using a personal access token (classic). For more information, see [Working with the NuGet registry](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry) and [Managing your personal access tokens](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens)

* Tizen.NET 11.0.0.#####
* Tizen.NET.API11 11.0.0.#####
* Tizen.NET.Internals 11.0.0.#####
* Tizen.NET 12.0.0.#####
* Tizen.NET.API12 12.0.0.#####
* Tizen.NET.Internals 12.0.0.#####

And, This branch is pushed to the [tizen branch](https://git.tizen.org/cgit/platform/core/csapi/tizenfx/?h=tizen) in the tizen gerrit and submitted for the next Tizen platform.

### API4 ~ API10 branches
### API4 ~ API11 branches
The __API#__ branches are the release branch for Tizen .NET __API Level #__.

These release branches were __FROZEN__. No new public APIs can be added to these branches, only bug fixes and internal APIs can be added.

## Using `net6.0-tizen` target framework
## Using `net6.0-tizen` target framework for API11 or above
If you want to use the `net6.0-tizen` target framework, you need to [install Tizen workload](https://github.com/Samsung/Tizen.NET/wiki/Installing-Tizen-.NET-Workload).

## Using `tizen` target framework
Expand All @@ -55,6 +56,7 @@ For more information, please see [Using Tizen.NET.Sdk as SDK-style](https://deve
### Minimum required versions of Tizen.NET.Sdk and Visual Studio
| API Level | Target Framework | Tizen.NET.Sdk | Visual Studio |
|:---------:|------------------|---------------|-------------------|
| API12 | net6.0-tizen9.0 | [Tizen .NET Workloads](https://github.com/samsung/Tizen.NET) | 2022 |
| API11 | net6.0-tizen8.0 | [Tizen .NET Workloads](https://github.com/samsung/Tizen.NET) | 2022 |
| API10 | tizen10.0 | 1.1.9 | 2019 |
| API9 | tizen90 | 1.1.7 | 2019 |
Expand Down Expand Up @@ -92,4 +94,5 @@ You can download the latest binaries with TizenFX from the link below :
| Tizen 6.0 | http://download.tizen.org/snapshots/TIZEN/Tizen-6.0/Tizen-6.0-Unified/latest/ |
| Tizen 6.5 | http://download.tizen.org/snapshots/TIZEN/Tizen-6.5/Tizen-6.5-Unified/latest/ |
| Tizen 7.0 | http://download.tizen.org/snapshots/TIZEN/Tizen-7.0/Tizen-7.0-Unified/latest/ |
| Tizen 8.0 | http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/ |
| Tizen 8.0 | http://download.tizen.org/snapshots/TIZEN/Tizen-8.0/Tizen-8.0-Unified/latest/ |
| Tizen 9.0 | http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/latest |
6 changes: 3 additions & 3 deletions packaging/500.tizenfx_upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

PATH=/bin:/usr/bin

vconftool set -f -t int db/dotnet/tizen_api_version 10
vconftool set -f -t string db/dotnet/tizen_rid_version "4.0.0:5.0.0:5.5.0:6.0.0:6.5.0:7.0.0"
vconftool set -f -t string db/dotnet/tizen_tfm_support "tizen10.0:tizen90:tizen80:tizen70:tizen60:tizen50:tizen40"
vconftool set -f -t int db/dotnet/tizen_api_version 12
vconftool set -f -t string db/dotnet/tizen_rid_version "4.0.0:5.0.0:5.5.0:6.0.0:6.5.0:7.0.0:8.0.0:9.0.0"
vconftool set -f -t string db/dotnet/tizen_tfm_support "net6.0-tizen9.0:net6.0-tizen8.0:tizen10.0:tizen90:tizen80:tizen70:tizen60:tizen50:tizen40"
10 changes: 5 additions & 5 deletions packaging/csapi-tizenfx.spec
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Auto-generated from csapi-tizenfx.spec.in by makespec.sh

%define TIZEN_NET_API_VERSION 11
%define TIZEN_NET_RPM_VERSION 11.0.0.999+nui22243
%define TIZEN_NET_NUGET_VERSION 11.0.0.99999
%define TIZEN_NET_API_VERSION 12
%define TIZEN_NET_RPM_VERSION 12.0.0.999+nui22249
%define TIZEN_NET_NUGET_VERSION 12.0.0.99999

%define DOTNET_ASSEMBLY_PATH /usr/share/dotnet.tizen/framework
%define DOTNET_ASSEMBLY_DUMMY_PATH %{DOTNET_ASSEMBLY_PATH}/ref
Expand All @@ -11,8 +11,8 @@
%define DOTNET_PRELOAD_PATH /usr/share/dotnet.tizen/preload
%define DOTNET_NUGET_SOURCE /nuget

%define TIZEN_NET_RUNTIME_IDENTIFIERS 4.0.0:5.0.0:5.5.0:6.0.0:6.5.0:7.0.0:8.0.0
%define TIZEN_NET_TARGET_FRAMEWORK_MONIKERS tizen11.0:tizen10.0:tizen90:tizen80:tizen70:tizen60:tizen50:tizen40
%define TIZEN_NET_RUNTIME_IDENTIFIERS 4.0.0:5.0.0:5.5.0:6.0.0:6.5.0:7.0.0:8.0.0:9.0.0
%define TIZEN_NET_TARGET_FRAMEWORK_MONIKERS net6.0-tizen9.0:net6.0-tizen8.0:tizen11.0:tizen10.0:tizen90:tizen80:tizen70:tizen60:tizen50:tizen40
%define DOTNET_CORE_RUNTIME_VERSION 6.0

%define UPGRADE_SCRIPT_PATH /usr/share/upgrade/scripts
Expand Down
8 changes: 4 additions & 4 deletions packaging/version.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Tizen .NET API Level
API_VERSION=11
API_VERSION=12

# Default Versions (will be replaced by CI)
RPM_VERSION=11.0.0.999
NUGET_VERSION=11.0.0.99999
RPM_VERSION=12.0.0.999
NUGET_VERSION=12.0.0.99999

# RPM Version Suffix
RPM_VERSION_SUFFIX=nui22243
RPM_VERSION_SUFFIX=nui22249
Binary file not shown.
10 changes: 5 additions & 5 deletions pkg/Tizen.NET.API11/Tizen.NET.API11.nuspec → pkg/Tizen.NET.API12/Tizen.NET.API12.nuspec
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>Tizen.NET.API11</id>
<id>Tizen.NET.API12</id>
<version>$fxversion$</version>
<authors>Samsung Electronics</authors>
<owners>Samsung Electronics</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<licenseUrl>https://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
<projectUrl>https://www.tizen.org/</projectUrl>
<iconUrl>https://developer.tizen.org/sites/default/files/images/tizen-pinwheel-on-light-rgb_64_64.png</iconUrl>
<description>Reference assemblies of Tizen .NET API Level 11.</description>
<description>Reference assemblies of Tizen .NET API Level 12.</description>
<copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>
</metadata>
<files>
<file src="pkg\Tizen.NET.API11\build\**" target="build" />
<file src="pkg\Tizen.NET.API11\design\*.dll" target="ref\net6.0\Design" />
<file src="pkg\Tizen.NET.API11\xamlbuild\**" target="buildTransitive" />
<file src="pkg\Tizen.NET.API12\build\**" target="build" />
<file src="pkg\Tizen.NET.API12\design\*.dll" target="ref\net6.0\Design" />
<file src="pkg\Tizen.NET.API12\xamlbuild\**" target="buildTransitive" />
<file src="Artifacts\bin\dummy\*.dll" target="ref\net6.0" />
<file src="Artifacts\bin\public\*.xml" target="ref\net6.0" />
</files>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 5 additions & 1 deletion pkg/Tizen.NET/Tizen.NET.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@
<dependency id="Microsoft.NETCore.Platforms" version="3.1.0" />
</group>
<group targetFramework=".NET6.0">
<dependency id="Tizen.NET.API11" version="$fxversion$" />
<dependency id="Tizen.NET.API11" version="11.0.0.18030" />
<dependency id="Microsoft.NETCore.Platforms" version="6.0.9" />
</group>
<group targetFramework=".NET6.0">
<dependency id="Tizen.NET.API12" version="$fxversion$" />
<dependency id="Microsoft.NETCore.Platforms" version="6.0.9" />
</group>
</dependencies>
Expand Down
3 changes: 0 additions & 3 deletions src/Tizen.Applications.Common/Interop/Interop.Libc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ internal static partial class Interop
{
internal static partial class Libc
{
[DllImport(Libraries.Libc, EntryPoint = "free", CallingConvention = CallingConvention.Cdecl)]
internal static extern int Free(IntPtr ptr);

[DllImport(Libraries.Libc, EntryPoint = "getenv")]
internal static extern IntPtr GetEnvironmentVariable(string name);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1335,9 +1335,9 @@ public bool TryGet(string key, out IEnumerable<string> value)
{
IntPtr charArr = Marshal.ReadIntPtr(valuePtr, IntPtr.Size * i);
stringList.Add(Marshal.PtrToStringAnsi(charArr));
_ = Interop.Libc.Free(charArr);
Marshal.FreeHGlobal(charArr);
}
_ = Interop.Libc.Free(valuePtr);
Marshal.FreeHGlobal(valuePtr);
value = stringList;
return true;
}
Expand Down Expand Up @@ -1491,9 +1491,9 @@ private IEnumerable<string> GetDataCollection(string key)
{
IntPtr charArr = Marshal.ReadIntPtr(valuePtr, IntPtr.Size * i);
valueArray.Add(Marshal.PtrToStringAnsi(charArr));
_ = Interop.Libc.Free(charArr);
Marshal.FreeHGlobal(charArr);
}
_ = Interop.Libc.Free(valuePtr);
Marshal.FreeHGlobal(valuePtr);
}
return valueArray;
}
Expand Down
1 change: 0 additions & 1 deletion src/Tizen.Content.MimeType/Interop/Interop.Libraries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@ internal static partial class Libraries
{
public const string Mime = "libcapi-content-mime-type.so.0";
public const string Glib = "libglib-2.0.so.0";
public const string Libc = "libc.so.6";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ public static IEnumerable<string> GetFileExtension(string mime)
foreach (IntPtr extension in extensionList)
{
coll.Add(Marshal.PtrToStringAnsi(extension));
Interop.Libc.Free(extension);
Marshal.FreeHGlobal(extension);
}
Interop.Libc.Free(extensionArray);
Marshal.FreeHGlobal(extensionArray);
return coll;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ internal class Connection : IConnection
private bool disposedValue;
private readonly object _lock = new object();
private EventHandler<RecordChangedEventArgs> _recordChanged;

private Interop.Sqlite.UpdateHookCallback _hook;

static Connection()
{
Expand Down Expand Up @@ -70,6 +70,7 @@ public void Close()
Interop.Sqlite.UpdateHook(_db, null, IntPtr.Zero);
Interop.Sqlite.Close(_db);
_opened = false;
_hook = null;
}
}

Expand Down Expand Up @@ -154,7 +155,12 @@ public void Open(Uri uri)
if (ret != (int)Interop.Sqlite.ResultCode.SQLITE_OK)
throw new InvalidOperationException("code:" + ret);

Interop.Sqlite.UpdateHook(_db, UpdateHookCallback, IntPtr.Zero);
if (_hook == null)
{
_hook = new Interop.Sqlite.UpdateHookCallback(UpdateHookCallback);
}

Interop.Sqlite.UpdateHook(_db, _hook, IntPtr.Zero);
_opened = true;
}

Expand Down
14 changes: 14 additions & 0 deletions src/Tizen.Location.Geofence/Tizen.Location.Geofence/Fence.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ namespace Tizen.Location.Geofence
/// and the manufacturer's assigned 24-bit identifier for the radio chipset in the WAP.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API11. Might be removed in API13")]
public class Fence : IDisposable
{
private bool _disposed = false;
Expand Down Expand Up @@ -59,6 +60,7 @@ internal Fence(IntPtr handle)
/// Gets the type of geofence.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API11. Might be removed in API13")]
public FenceType Type
{
get
Expand All @@ -78,6 +80,7 @@ public FenceType Type
/// Gets the ID of the place.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API11. Might be removed in API13")]
public int PlaceId
{
get
Expand All @@ -97,6 +100,7 @@ public int PlaceId
/// Gets the longitude of geofence.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API11. Might be removed in API13")]
public double Longitude
{
get
Expand All @@ -117,6 +121,7 @@ public double Longitude
/// Gets the latitude of geofence.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API11. Might be removed in API13")]
public double Latitude
{
get
Expand All @@ -136,6 +141,7 @@ public double Latitude
/// Gets the radius of geofence.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API11. Might be removed in API13")]
public int Radius
{
get
Expand All @@ -155,6 +161,7 @@ public int Radius
/// Gets the address of geofence.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API11. Might be removed in API13")]
public string Address
{
get
Expand All @@ -174,6 +181,7 @@ public string Address
/// Gets the BSSID of geofence.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API11. Might be removed in API13")]
public string Bssid
{
get
Expand All @@ -193,6 +201,7 @@ public string Bssid
/// Gets the SSID of geofence.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API11. Might be removed in API13")]
public string Ssid
{
get
Expand Down Expand Up @@ -221,6 +230,7 @@ public string Ssid
/// <exception cref="ArgumentException">In case of an invalid parameter.</exception>
/// <exception cref="InvalidOperationException">In case of any system error.</exception>
/// <exception cref="NotSupportedException">In case the geofence is not supported.</exception>
[Obsolete("Deprecated since API11. Might be removed in API13")]
public static Fence CreateGPSFence(int placeId, double latitude, double longitude, int radius, string address)
{
IntPtr handle = IntPtr.Zero;
Expand All @@ -244,6 +254,7 @@ public static Fence CreateGPSFence(int placeId, double latitude, double longitud
/// <exception cref="ArgumentException">In case of an invalid parameter.</exception>
/// <exception cref="InvalidOperationException">In case of any system error.</exception>
/// <exception cref="NotSupportedException">In case the geofence is not supported.</exception>
[Obsolete("Deprecated since API11. Might be removed in API13")]
public static Fence CreateWifiFence(int placeId, string bssid, string ssid)
{
IntPtr handle = IntPtr.Zero;
Expand All @@ -267,6 +278,7 @@ public static Fence CreateWifiFence(int placeId, string bssid, string ssid)
/// <exception cref="ArgumentException">In case of an invalid parameter.</exception>
/// <exception cref="InvalidOperationException">In case of any system error.</exception>
/// <exception cref="NotSupportedException">In case the geofence is not supported.</exception>
[Obsolete("Deprecated since API11. Might be removed in API13")]
public static Fence CreateBTFence(int placeId, string bssid, string ssid)
{
IntPtr handle = IntPtr.Zero;
Expand All @@ -283,6 +295,7 @@ public static Fence CreateBTFence(int placeId, string bssid, string ssid)
/// The overloaded Dispose API for destroying the fence handle.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API11. Might be removed in API13")]
public void Dispose()
{
Dispose(true);
Expand All @@ -293,6 +306,7 @@ public void Dispose()
/// Dispose.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API11. Might be removed in API13")]
protected virtual void Dispose(bool disposing)
{
if (_disposed)
Expand Down
Loading