platform/core/dotnet/launcher.git
2 weeks agoRecreate TAC folder after deleting empty folder where assembly does not exist (#627) accepted/tizen_unified_x accepted/tizen/unified/20250604.100251 accepted/tizen/unified/x/20250604.211354
최종헌/MDE Lab(SR)/삼성전자 [Wed, 28 May 2025 08:18:35 +0000 (17:18 +0900)]
Recreate TAC folder after deleting empty folder where assembly does not exist (#627)

Change-Id: I70c6235067c5eacc8672afd8c434b0d7e1be640f

2 weeks agoUpdate 10.Dotnet.Launcher.preload
j-h.choi [Wed, 28 May 2025 06:10:34 +0000 (15:10 +0900)]
Update 10.Dotnet.Launcher.preload

2 weeks agoModify to find high priority RID values according to folder name order
j-h.choi [Tue, 27 May 2025 02:57:51 +0000 (11:57 +0900)]
Modify to find high priority RID values according to folder name order

Change-Id: Ib9b7d61b6039d6668099b726f12c13578a61fd05

2 weeks agoRefactoring TAC to support multi-package installation
j-h.choi [Wed, 23 Apr 2025 03:24:16 +0000 (12:24 +0900)]
Refactoring TAC to support multi-package installation

Change-Id: I57b52ad0edeb8cb9c9944de30a43940d0c84aeca

4 weeks agoChanged the repo of riscv (#626)
최종헌/MDE Lab(SR)/삼성전자 [Fri, 16 May 2025 02:52:40 +0000 (11:52 +0900)]
Changed the repo of riscv (#626)

4 weeks agoConsider the logic when AOT is performed before TAC
j-h.choi [Mon, 12 May 2025 04:16:17 +0000 (13:16 +0900)]
Consider the logic when AOT is performed before TAC

Change-Id: I72f9328b7919262f882dcf2a9011f8e0184063d2

4 weeks agoFix TAC_TC and PRELOAD_TC
j-h.choi [Mon, 12 May 2025 04:09:27 +0000 (13:09 +0900)]
Fix TAC_TC and PRELOAD_TC

Change-Id: I958913e9926d9cc276fe30abaa52e6e43a8f03f8

4 weeks agoModfiy measure script (#622)
최종헌/MDE Lab(SR)/삼성전자 [Mon, 12 May 2025 00:49:50 +0000 (09:49 +0900)]
Modfiy measure script (#622)

5 weeks agoModify TC script (#621)
최종헌/MDE Lab(SR)/삼성전자 [Fri, 9 May 2025 05:31:01 +0000 (14:31 +0900)]
Modify TC script (#621)

5 weeks agoModify dude script in action (#620)
최종헌/MDE Lab(SR)/삼성전자 [Fri, 9 May 2025 04:10:01 +0000 (13:10 +0900)]
Modify dude script in action (#620)

7 weeks agouse setenv in initNICommon() function
Woongsuk [Tue, 22 Apr 2025 01:54:49 +0000 (10:54 +0900)]
use setenv in initNICommon() function

In case of VD integration, The function initNICommon() is called by dlsym().
The string pointed by the putenv() in initNICommon() can be invalid
after calling dlclose().

To avoid sigsegv, change putenv to setenv.

8 weeks agoMove RPK check code accepted/tizen/unified/20250428.091730 accepted/tizen/unified/x/20250429.081917
Woongsuk [Thu, 17 Apr 2025 00:22:16 +0000 (09:22 +0900)]
Move RPK check code

The createNIUnderPkgRootWithPath() function can be called out-side.
So, RPK checking code should be don in it.

8 weeks agoUpdate action script (#617)
최종헌/MDE Lab(SR)/삼성전자 [Thu, 17 Apr 2025 00:58:07 +0000 (09:58 +0900)]
Update action script (#617)

Change-Id: I0434df98d881126e432884c33c10077733d8f62f

8 weeks agoUpdate action script (#615)
최종헌/MDE Lab(SR)/삼성전자 [Wed, 16 Apr 2025 10:01:15 +0000 (19:01 +0900)]
Update action script (#615)

Change-Id: Id20f2977265a69ec26453ed07923efe918c4afe3

8 weeks agoModify action script (#614)
최종헌/MDE Lab(SR)/삼성전자 [Wed, 16 Apr 2025 09:52:01 +0000 (18:52 +0900)]
Modify action script (#614)

Change-Id: Id1618902cfa889d227a3ae8d954b8e429f80f93d

8 weeks agoUpdate gbs.conf in action (#612)
최종헌/MDE Lab(SR)/삼성전자 [Wed, 16 Apr 2025 09:34:19 +0000 (18:34 +0900)]
Update gbs.conf in action (#612)

8 weeks agoExchange .ni.dll and .dll extensions of RPK app
j-h.choi [Fri, 11 Apr 2025 05:43:41 +0000 (14:43 +0900)]
Exchange .ni.dll and .dll extensions of RPK app

8 weeks agoAdd r2r_checker.h to devel pkg
Woongsuk [Wed, 16 Apr 2025 08:16:00 +0000 (17:16 +0900)]
Add r2r_checker.h to devel pkg

8 weeks agoApply smack to folders created in relation to the res_mount folder (#611) accepted/tizen/unified/20250415.112926 accepted/tizen/unified/x/20250417.041831
최종헌/MDE Lab(SR)/삼성전자 [Tue, 15 Apr 2025 03:19:41 +0000 (12:19 +0900)]
Apply smack to folders created in relation to the res_mount folder (#611)

2 months agoDisable diagnostics on dotnettool
Woongsuk [Thu, 27 Mar 2025 04:04:38 +0000 (13:04 +0900)]
Disable diagnostics on dotnettool

When crossgen is forcibly terminated due to an external factor,
a file related to diagnostics is left under /tmp directory.

Since the related file is not needed during crossgen, the feature is disabled.

2 months agoUpdate candidate_mcj.py tool (#599)
최종헌/MDE Lab(SR)/삼성전자 [Sun, 23 Mar 2025 23:08:47 +0000 (08:08 +0900)]
Update candidate_mcj.py tool (#599)

2 months agobug-fix: iterate for all runtime paths accepted/tizen/unified/20250318.155610 accepted/tizen/unified/x/20250319.090619
Woongsuk [Tue, 18 Mar 2025 00:58:13 +0000 (09:58 +0900)]
bug-fix: iterate for all runtime paths

There was an error in directory iteration due to an incorrect break
statesment during target resolving.

3 months agoFix coverity issue accepted/tizen/unified/20250310.131221 accepted/tizen/unified/x/20250311.125551
Woongsuk [Mon, 10 Mar 2025 00:24:47 +0000 (09:24 +0900)]
Fix coverity issue

add null check before creating string

3 months agoFix coverity issue accepted/tizen/unified/20250310.024604 accepted/tizen/unified/x/20250310.042802
Woongsuk [Thu, 6 Mar 2025 01:00:12 +0000 (10:00 +0900)]
Fix coverity issue

add & keyword to avoid object copying

3 months agoFix coverity issues. (#601) accepted/tizen/unified/20250304.125321 accepted/tizen/unified/x/20250304.152438
조웅석/MDE Lab(SR)/삼성전자 [Tue, 4 Mar 2025 05:48:28 +0000 (14:48 +0900)]
Fix coverity issues. (#601)

3 months agoSeparate .res_mount path(/lib, /gadget, /service) accepted/tizen/unified/20250304.070226 accepted/tizen/unified/x/20250304.080635
j-h.choi [Fri, 21 Feb 2025 04:42:32 +0000 (13:42 +0900)]
Separate .res_mount path(/lib, /gadget, /service)

4 months agoFix Svace Issue : check callback function accepted/tizen/unified/20250122.130609 accepted/tizen/unified/x/20250122.173314
Woongsuk [Mon, 20 Jan 2025 02:24:14 +0000 (11:24 +0900)]
Fix Svace Issue : check callback function

To avoid bad_function_call exception, check callback function before
calling.

4 months agoDelete unnecessary code
j-h.choi [Thu, 16 Jan 2025 06:50:29 +0000 (15:50 +0900)]
Delete unnecessary code

Change-Id: Ic7ef0c9f6384b8d3969b36c04c9c0dc7cdb69312

4 months agoSkip project and reference type, allow only package(nuget) type
j-h.choi [Thu, 16 Jan 2025 02:02:40 +0000 (11:02 +0900)]
Skip project and reference type, allow only package(nuget) type

Change-Id: I7cae05c5c2500ed46312c6c1167e26a24b3cd5aa

4 months agoTAC disables the --inputbubble option
j-h.choi [Tue, 14 Jan 2025 06:00:38 +0000 (15:00 +0900)]
TAC disables the --inputbubble option

Change-Id: I823b0e941f330da160602f664751e997c171e953

4 months agoSet DOTNET_GCHeapHardLimit on riscv64 (#596) accepted/tizen/unified/20250117.152503 accepted/tizen/unified/x/20250117.125250
이형주/MDE Lab(SR)/삼성전자 [Thu, 16 Jan 2025 07:59:56 +0000 (16:59 +0900)]
Set DOTNET_GCHeapHardLimit on riscv64 (#596)

* Set DOTNET_GCHeapHardLimit on riscv64

Fixes: https://github.sec.samsung.net/dotnet/runtime/issues/655
* Update NativeLauncher/launcher/lib/core_runtime.cc

Co-authored-by: 최종헌/MDE Lab(SR)/삼성전자 <j-h.choi@samsung.com>
---------

Co-authored-by: 최종헌/MDE Lab(SR)/삼성전자 <j-h.choi@samsung.com>
4 months agoChanged the libclrjit_ file name of the riscv64(universal->unix) accepted/tizen/unified/20250115.124144 accepted/tizen/unified/x/20250115.142723
j-h.choi [Fri, 10 Jan 2025 02:29:07 +0000 (11:29 +0900)]
Changed the libclrjit_ file name of the riscv64(universal->unix)

Change-Id: Ia886aed058deb6dbe507aa6cd0325029d2a3d8ab

4 months agoModified to check extensions when deleting native image files
j-h.choi [Wed, 8 Jan 2025 08:22:23 +0000 (17:22 +0900)]
Modified to check extensions when deleting native image files

Change-Id: Ia4442d953a3c27db3679c5d20be108a208669551

4 months agoUse relative symlink for NI files of pre-compiled app
j-h.choi [Mon, 30 Dec 2024 01:16:12 +0000 (10:16 +0900)]
Use relative symlink for NI files of pre-compiled app

Change-Id: Icfde96d93ea5d342f36cc2070fc270b74f6c6ac7

4 months agoRemove temporary files and folders when NI generation fails
j-h.choi [Mon, 18 Nov 2024 06:53:12 +0000 (15:53 +0900)]
Remove temporary files and folders when NI generation fails

Change-Id: I42d4b393684efef79d28198860303e6997de9304

4 months agoChanged API considering multiple apps in one package
j-h.choi [Mon, 4 Nov 2024 02:10:12 +0000 (11:10 +0900)]
Changed API considering multiple apps in one package

Change-Id: I07ca2564d74fb5caf81108b2b634be58f3c7e177

4 months ago[TizenX] Version up to 8.0.11
j-h.choi [Thu, 18 Apr 2024 01:15:20 +0000 (10:15 +0900)]
[TizenX] Version up to 8.0.11

Change-Id: Id74d68efebe7fe5c54fbb930c844e789c8cf346c

4 months agoSupport LSP(clangd) on IDE (#591)
이형주/MDE Lab(SR)/삼성전자 [Mon, 13 Jan 2025 23:12:28 +0000 (08:12 +0900)]
Support LSP(clangd) on IDE (#591)

- Suggest gbs build on x86_64 and fix path in compile_commands.json to
  the local path
- Only a bit better but not perfect as the libs and headers are missing
  outside gbs

6 months agoUse relative symlink for TAC accepted/tizen/9.0/unified/20241121.045854 accepted/tizen/unified/20241121.162200 accepted/tizen/unified/x/20241218.032859
j-h.choi [Mon, 18 Nov 2024 04:19:18 +0000 (13:19 +0900)]
Use relative symlink for TAC

Change-Id: I5f74ac0d713a91062c638ec299db9ac043a083fb

6 months agoAdd TCs(rpk_aot, lib_folder_tlc, .res_mount_folder_create)
j-h.choi [Fri, 8 Nov 2024 06:53:39 +0000 (15:53 +0900)]
Add TCs(rpk_aot, lib_folder_tlc, .res_mount_folder_create)

Change-Id: I45887299314fbf57fddd2540819206936b439350

6 months agoTLC also supports lib directory
j-h.choi [Mon, 4 Nov 2024 07:23:47 +0000 (16:23 +0900)]
TLC also supports lib directory

Change-Id: I45ec7529922710b06f38c99237d5b9dc3c95a519

6 months agoAdded resource path for RPK type
j-h.choi [Mon, 4 Nov 2024 08:19:24 +0000 (17:19 +0900)]
Added resource path for RPK type

Change-Id: If54321c97669092452c70475995b9c446d10b2a7

6 months agoCreate the .res_mount directory
j-h.choi [Thu, 24 Oct 2024 07:30:29 +0000 (16:30 +0900)]
Create the .res_mount directory

Change-Id: Id7bae9f77c41b5ff3d320a67a0de2fb277fca529

6 months agoAdd API to check if package is resource control
j-h.choi [Wed, 23 Oct 2024 06:10:10 +0000 (15:10 +0900)]
Add API to check if package is resource control

Change-Id: I371e7e48b77e33216cace3fdc0731848428fb26f

6 months agoAdd to delete app after benchmark app execution (#587)
최종헌/MDE Lab(SR)/삼성전자 [Wed, 20 Nov 2024 03:16:15 +0000 (12:16 +0900)]
Add to delete app after benchmark app execution (#587)

* Add to delete app after benchmark app execution

Change-Id: I68cc53916dc0cce4227b468b81f59c1595089342

* Update TizenBenchmark.cs

6 months agoFix log message
Woongsuk Cho [Tue, 19 Nov 2024 07:43:02 +0000 (16:43 +0900)]
Fix log message

6 months agoAdd --parallelism option for crossgen2
Woongsuk Cho [Mon, 18 Nov 2024 22:55:52 +0000 (07:55 +0900)]
Add --parallelism option for crossgen2

To control thread number of crossgen2, add --parallelism option
the default value is logical cpu number and it should be bigger than 1

6 months agoAdd script to remove performance measurement app (#583)
최종헌/MDE Lab(SR)/삼성전자 [Mon, 18 Nov 2024 01:00:35 +0000 (10:00 +0900)]
Add script to remove performance measurement app (#583)

Change-Id: I3e698288f24d6a938fa075770052e15f093d6747

6 months agoAdd OOBE skip to action script (#582)
최종헌/MDE Lab(SR)/삼성전자 [Fri, 15 Nov 2024 06:54:16 +0000 (15:54 +0900)]
Add OOBE skip to action script (#582)

Change-Id: I2e9779dc81dde5ab1039f884129c0b945d778bbc

9 months agoUse relative symlink for AOTC accepted/tizen_unified_dev accepted/tizen_unified_toolchain accepted/tizen_unified_x_asan accepted/tizen/9.0/unified/20241030.234312 accepted/tizen/unified/20240909.100119 accepted/tizen/unified/dev/20240910.111451 accepted/tizen/unified/toolchain/20241004.102137 accepted/tizen/unified/x/20240910.014311 accepted/tizen/unified/x/asan/20241014.000546 tizen_9.0_m2_release
Woongsuk Cho [Sun, 8 Sep 2024 23:23:53 +0000 (08:23 +0900)]
Use relative symlink for AOTC

In VD cases, an app is temporarily installed in a temporal location
and then moved to its actual location during device booting.

When the app is installed at the temporary location, if AOTC runs,
it creates internal symlinks for ni.dll and pdb.
If these symlinks are created based on absolute paths,
they will point to incorrect locations when the app's position changes later.

To resolve this issue, modify the code so that symlinks are generated using relative paths.

9 months agoAdded an application to test GC in Tizen (#573)
최종헌/MDE Lab(SR)/삼성전자 [Fri, 30 Aug 2024 07:46:54 +0000 (16:46 +0900)]
Added an application to test GC in Tizen (#573)

9 months agoAdd --ni-pkg-with-path option accepted/tizen/unified/20240828.164026 accepted/tizen/unified/dev/20240829.043822 accepted/tizen/unified/x/20240829.020417
Woongsuk Cho [Wed, 14 Aug 2024 11:37:14 +0000 (20:37 +0900)]
Add --ni-pkg-with-path option

When a package needs to be AOTed in an unpacked state,
there are cases where it is necessary to use the rootpath instead of the pkgid for AppNI.

To support this case, API and dotnettool option are added.

10 months agoSkip AOT in plugin when pkg contains ni files accepted/tizen/unified/20240723.101927 accepted/tizen/unified/dev/20240724.110029 accepted/tizen/unified/toolchain/20240812.133515 accepted/tizen/unified/x/20240724.011735 accepted/tizen/unified/x/asan/20240813.231958
Woongsuk Cho [Thu, 18 Jul 2024 06:14:25 +0000 (15:14 +0900)]
Skip AOT in plugin when pkg contains ni files

10 months agoRemove unnecessary architecture library for lib folder of app
j-h.choi [Fri, 12 Jul 2024 06:53:01 +0000 (15:53 +0900)]
Remove unnecessary architecture library for lib folder of app

10 months agoUpdate gbs-build.yml
최종헌/MDE Lab(SR)/삼성전자 [Thu, 18 Jul 2024 01:15:28 +0000 (10:15 +0900)]
Update gbs-build.yml

10 months agoRemove ni file before RO app AOTC (#570)
조웅석/MDE Lab(SR)/삼성전자 [Wed, 17 Jul 2024 23:41:16 +0000 (08:41 +0900)]
Remove ni file before RO app AOTC (#570)

* Remove ni file before RO app AOTC

If AOTC is performed for a RO app, a native image file will be generated under /opt/usr/dotnet/apps.
During OTN, pkg_upgrade may trigger AOTC again for the RO application.
In this case, it is necessary to remove the previously created file and create a new one.

* Remove RO app ni files under /opt/usr/dotnet/apps

Recreated NI files of RO app, should be removed at FOTA/OTN

11 months agoFixed the arch bug that occurred in the MIC build accepted/tizen/unified/20240704.173844 accepted/tizen/unified/dev/20240708.001519 accepted/tizen/unified/x/20240704.144536
j-h.choi [Thu, 4 Jul 2024 08:01:56 +0000 (17:01 +0900)]
Fixed the arch bug that occurred in the MIC build

11 months agoBugfix: Do not perform heaptrack injection for coreprofiler start. (#567) accepted/tizen/unified/20240704.075658
Oleg Lekarev/Advanced System SW Lab /SRR/Staff Engineer/Samsung Electronics [Wed, 3 Jul 2024 09:13:36 +0000 (12:13 +0300)]
Bugfix: Do not perform heaptrack injection for coreprofiler start. (#567)

11 months agoadd a new debugger section for memory profiler to the 'dotnet.debugger' file accepted/tizen/unified/20240702.162334 accepted/tizen/unified/dev/20240703.060328 accepted/tizen/unified/x/20240702.121010
Jeonghoon Park [Fri, 26 Apr 2024 05:31:19 +0000 (14:31 +0900)]
add a new debugger section for memory profiler to the 'dotnet.debugger' file

11 months agoAdded the 'dude download' command to the action script
j-h.choi [Wed, 19 Jun 2024 00:37:29 +0000 (09:37 +0900)]
Added the 'dude download' command to the action script

Change-Id: I59cf18ad150fb69be313aa9acfd307543309f1d1

11 months agoFix crossgen2 mic build (#557)
최종헌/MDE Lab(SR)/삼성전자 [Tue, 2 Jul 2024 03:36:08 +0000 (12:36 +0900)]
Fix crossgen2 mic build (#557)

Change-Id: Ica3e5993716efb637e01a10030f22ce9596f389a

11 months agoChaanged the TC order of LAUNCH and EXCEPTION
j-h.choi [Mon, 10 Jun 2024 02:40:34 +0000 (11:40 +0900)]
Chaanged the TC order of LAUNCH and EXCEPTION

Change-Id: I5f314b1891e29f74e754fdb214beec5326313337

11 months agoFixed build warning (#558)
최종헌/MDE Lab(SR)/삼성전자 [Mon, 1 Jul 2024 23:58:41 +0000 (08:58 +0900)]
Fixed build warning (#558)

* Fix build warning

11 months agoUse upstream config for debugger enable accepted/tizen/unified/20240621.010434 accepted/tizen/unified/dev/20240701.072838 accepted/tizen/unified/toolchain/20240624.121705 accepted/tizen/unified/x/20240624.032040 accepted/tizen/unified/x/asan/20240625.092939
Woongsuk Cho [Thu, 20 Jun 2024 07:09:37 +0000 (16:09 +0900)]
Use upstream config for debugger enable

see: https://github.com/dotnet/runtime/pull/90159

11 months agoDisable debugger for loader mode
Woongsuk Cho [Thu, 20 Jun 2024 01:53:34 +0000 (10:53 +0900)]
Disable debugger for loader mode

To prevent smack issue related to clr-debug-pipe-xxx file,
disable debugging feature in the runtime side

12 months agoUpdate action script (#556)
최종헌/MDE Lab(SR)/삼성전자 [Thu, 30 May 2024 02:34:09 +0000 (11:34 +0900)]
Update action script (#556)

Change-Id: I08a862bc2d647945432e93610a5270788cf554e4

12 months agoFixed build error (#555)
최종헌/MDE Lab(SR)/삼성전자 [Thu, 30 May 2024 00:25:54 +0000 (09:25 +0900)]
Fixed build error (#555)

12 months agoAdd TizenDotnetBenchmark Test App (#554)
최종헌/MDE Lab(SR)/삼성전자 [Wed, 29 May 2024 08:18:59 +0000 (17:18 +0900)]
Add TizenDotnetBenchmark Test App (#554)

12 months agoAdd launcher-action.yml (#550)
최종헌/MDE Lab(SR)/삼성전자 [Wed, 29 May 2024 08:18:48 +0000 (17:18 +0900)]
Add launcher-action.yml (#550)

12 months agoAdd gbs-build.yml (#548)
최종헌/MDE Lab(SR)/삼성전자 [Wed, 29 May 2024 08:18:29 +0000 (17:18 +0900)]
Add gbs-build.yml (#548)

12 months agoThe policy of NI file created in .NET8 is changed to use '.dll' extension (#535)
최종헌/MDE Lab(SR)/삼성전자 [Wed, 29 May 2024 07:53:51 +0000 (16:53 +0900)]
The policy of NI file created in .NET8 is changed to use '.dll' extension (#535)

12 months ago[Refactoring] The main() method contains too many lines of code (#534)
최종헌/MDE Lab(SR)/삼성전자 [Wed, 29 May 2024 07:44:28 +0000 (16:44 +0900)]
[Refactoring] The main() method contains too many lines of code (#534)

Change-Id: Ie516bd6f22177c78eb99075d9082b209e3a82503

12 months agoModify the injection function for the new memory profiler (#545)
최종헌/MDE Lab(SR)/삼성전자 [Wed, 29 May 2024 07:43:44 +0000 (16:43 +0900)]
Modify the injection function for the new memory profiler (#545)

Change-Id: I139b4564e176f16d98d69cb43fc5bdda67d37c76

12 months agoAdded TC to check NullReferenceException (#537)
최종헌/MDE Lab(SR)/삼성전자 [Wed, 29 May 2024 07:43:20 +0000 (16:43 +0900)]
Added TC to check NullReferenceException (#537)

Change-Id: I98a7d6273f86a60f259299d291f497c58a2e0676

12 months agoSeparate the TAC into the RW area and the RO area (#521)
최종헌/MDE Lab(SR)/삼성전자 [Wed, 29 May 2024 07:37:42 +0000 (16:37 +0900)]
Separate the TAC into the RW area and the RO area (#521)

Change-Id: Iaf90d00dfd65c779ad941d154d733e8a04d278f4

12 months agoDisplays the result of launcher tc (#549)
최종헌/MDE Lab(SR)/삼성전자 [Mon, 27 May 2024 01:53:48 +0000 (10:53 +0900)]
Displays the result of launcher tc (#549)

Change-Id: I601d6f5dd9e198e0079aefec46e0cac64033ca73

13 months agoAdd optionis to remove app NI file
Woongsuk Cho [Fri, 29 Mar 2024 02:03:33 +0000 (11:03 +0900)]
Add optionis to remove app NI file

In case of OS upgrade, there are cases where all app-related ni files must be removed.
For that case, add new options to dotnettool

- ni-reset-all-app
- tac-reset-all

13 months agoAdd gbs.conf
j-h.choi [Wed, 8 May 2024 03:14:09 +0000 (12:14 +0900)]
Add gbs.conf

Change-Id: Iff0dd070177035db2a87de18d23845bda95bd2df

13 months agoAdd CODEOWNERS (#546)
최종헌/MDE Lab(SR)/삼성전자 [Wed, 8 May 2024 02:21:57 +0000 (11:21 +0900)]
Add CODEOWNERS (#546)

Change-Id: Ib82f0a3ab61f4674781cce60e62378aca22fc494

13 months agoadd .vs-code to gitignore
Woongsuk Cho [Tue, 16 Apr 2024 07:21:19 +0000 (16:21 +0900)]
add .vs-code to gitignore

13 months agoBug-fix: fix target dll searching logic accepted/tizen/unified/20240423.164559 accepted/tizen/unified/dev/20240620.005424 accepted/tizen/unified/x/20240425.051143
Woongsuk Cho [Tue, 16 Apr 2024 04:20:11 +0000 (13:20 +0900)]
Bug-fix: fix target dll searching logic

check the target dll is an R2R image or not

14 months agoCall DateTime.Now in the Candidate process accepted/tizen/unified/20240411.142654 accepted/tizen/unified/x/20240412.023911
Woongsuk Cho [Tue, 9 Apr 2024 09:14:17 +0000 (18:14 +0900)]
Call DateTime.Now in the Candidate process

To reduce the delay that occurs when DateTime.Now is first called,
it is called in the candidate process.

14 months agoFix incorrect TPA error accepted/tizen/unified/20240329.131808 accepted/tizen/unified/x/20240401.142627
Woongsuk Cho [Thu, 28 Mar 2024 21:58:08 +0000 (06:58 +0900)]
Fix incorrect TPA error

The isManagedAssembly() function receives a file name as an input and checks only the extension.
But, it calls isR2RImage(), which requires a full path to the file internally.

Upon checking the usage of the isManageAssembly() function,
it is confirmed that it is used only to check whether it is a dll file or not.

So, the isManagedAssembly() function has been modified to return true even in the case of including a native image,
and related codes have been reorganized.

14 months agobug-fix : fix TAC malfunction for multi pkg scenario accepted/tizen/unified/20240326.104912 accepted/tizen/unified/x/20240327.045059
Woongsuk Cho [Fri, 22 Mar 2024 08:21:48 +0000 (17:21 +0900)]
bug-fix : fix TAC malfunction for multi pkg scenario

clear vector before restart tac plugin
close tac_db and tlc_db for next package

14 months agoSupport Multi-Package Install Scenario
Woongsuk Cho [Wed, 20 Mar 2024 23:44:12 +0000 (08:44 +0900)]
Support Multi-Package Install Scenario

Package manager supports scenario in which multiple packages are installed at once.
The previous implementation contains defence code for the case where there are multiple apps in one package.
With this implementation, the multi package installation scenario malfunctioned.
So, the implementation was modified.

14 months agoboost::filesystem::coy_option is deprecated.
Hyungju Lee [Fri, 15 Mar 2024 00:22:46 +0000 (09:22 +0900)]
boost::filesystem::coy_option is deprecated.

    // Deprecated, use copy_options instead
    enum class copy_option
    {
      none = copy_options::none,
      fail_if_exists = none,
      overwrite_if_exists = copy_options::overwrite_existing
    };

15 months agoQuick fix for boost upgrade (#527) accepted/tizen/unified/20240315.033005 accepted/tizen/unified/x/20240315.081626
이형주/MDE Lab(SR)/삼성전자 [Thu, 14 Mar 2024 11:15:11 +0000 (20:15 +0900)]
Quick fix for boost upgrade (#527)

[   86s] /home/abuild/rpmbuild/BUILD/dotnet-launcher-6.0.9/NativeLauncher/tool/privilege_common.cc:52:36: error: variable 'std::ofstream output' has initializer but incomplete type
[   86s]    52 |   std::ofstream output(ipv6FilePath);
[   86s]       |                                    ^

15 months agoChange NI generation location to root for RPK type accepted/tizen/unified/20240313.133711 accepted/tizen/unified/20240313.135114
j-h.choi [Wed, 28 Feb 2024 02:02:16 +0000 (11:02 +0900)]
Change NI generation location to root for RPK type

Change-Id: Ic6696df36d3c3a9b2b15fe39e18eee8e13782c6e

15 months agoRegister default signal handler
Woongsuk Cho [Tue, 12 Mar 2024 01:47:36 +0000 (10:47 +0900)]
Register default signal handler

When the .NET Runtime receives SIGABRT and the previous handler is the default handler,
the .NET Runtime restores the default handler as the current handler and continues.

As a result, if a signal handler has not been registered before the .NET Runtime,
the application will be terminated only after calling SIGAGRT twice.

To avoid this situation, add signal handler before coreclr_initialize()

15 months agoAdd include fstream header for boost 1.83.0 (#525) accepted/tizen/unified/20240311.170424
최종헌/MDE Lab(SR)/삼성전자 [Mon, 11 Mar 2024 02:17:24 +0000 (11:17 +0900)]
Add include fstream header for boost 1.83.0 (#525)

Change-Id: Ifeceb15d3b9eac98b749d4043e5e806a75c0e019

15 months agoRemove a dependency of capi-appfw-app-common package accepted/tizen/unified/20240306.174234
Hyungju Lee [Wed, 6 Mar 2024 03:19:16 +0000 (12:19 +0900)]
Remove a dependency of capi-appfw-app-common package

This patch uses aul_get_app_data_path() instead of app_get_data_path().

Change-Id: If417eb9733be76850eb22d39f7c48c3716379633
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
15 months agoFixed TAC related bugs caused by function integration patch
j-h.choi [Thu, 22 Feb 2024 01:00:32 +0000 (10:00 +0900)]
Fixed TAC related bugs caused by function integration patch

Change-Id: Ib274591f120e7d8ed89b568c67de042cba21e07a

15 months agoChanged the creation location of the NI file to configure smack for RPK
j-h.choi [Wed, 21 Feb 2024 05:05:44 +0000 (14:05 +0900)]
Changed the creation location of the NI file to configure smack for RPK

When the RPK(resource package) is installed through pkgcmd, AOT is performed.
At this time, there was an issue that the smack label did not change for the NI created in the lib folder.
Because the installer does not have the capability of cap_mac_admin.

Change-Id: I74d47104d9edf07187fd1bd942a2993c280a7219

15 months agoremove unnecessary ecore dependency accepted/tizen/unified/20240220.115648 accepted/tizen/unified/20240220.144648
Woongsuk Cho [Tue, 20 Feb 2024 01:41:12 +0000 (10:41 +0900)]
remove unnecessary ecore dependency

15 months agoFixed bug that check the arch of device
j-h.choi [Mon, 19 Feb 2024 08:31:40 +0000 (17:31 +0900)]
Fixed bug that check the arch of device

Change-Id: Ia27f81678ad75cc5d5029a2d9288c27f8319f291

15 months agoRefactoring to extract duplicate logic as a separate method
j-h.choi [Wed, 14 Feb 2024 07:09:54 +0000 (16:09 +0900)]
Refactoring to extract duplicate logic as a separate method

Change-Id: I765201c0249f6415b6c1e3654888ae0567af5889

15 months agoChange implementation of regeneratePkgNI
Woongsuk Cho [Mon, 5 Feb 2024 01:08:27 +0000 (10:08 +0900)]
Change implementation of regeneratePkgNI

15 months agoAOT support for RPK
Woongsuk Cho [Wed, 31 Jan 2024 07:17:32 +0000 (16:17 +0900)]
AOT support for RPK

The RPK (Resource Package) can contain dlls for resources and NUIGadget.
For RPK, Dlls can be located under lib and res/allowed directory.

AOT for RPK is enabled by metadata "http://tizen.org/metadata/prefer_dotnet_aot".
It triggered by metadata installer plugin and dotnettool(--ni-pkg, --ni-regen-all-app).

15 months ago[Refactoring] Code cleanup and remove duplicate methods
j-h.choi [Thu, 18 Jan 2024 06:40:47 +0000 (15:40 +0900)]
[Refactoring] Code cleanup and remove duplicate methods

Change-Id: I6c65e5108b0110a51b5f9d60e34779d7d4f300ef

15 months agoUpdate NativeLauncher/tool/ni_common.cc
조웅석/MDE Lab(SR)/삼성전자 [Mon, 18 Dec 2023 07:21:04 +0000 (16:21 +0900)]
Update NativeLauncher/tool/ni_common.cc

Co-authored-by: 최종헌/MDE Lab(SR)/삼성전자 <j-h.choi@samsung.com>