platform/core/dotnet/launcher.git
4 years agoCheck ascii casing in the candidate process (#254) 43/238243/1 accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20200717.033338 accepted/tizen/5.5/unified/wearable/hotfix/20201027.115300 submit/tizen_5.5/20200710.032453 submit/tizen_5.5_wearable_hotfix/20201026.184303
조웅석/Common Platform Lab(SR)/Principal Engineer/삼성전자 [Mon, 29 Jun 2020 21:51:32 +0000 (06:51 +0900)]
Check ascii casing in the candidate process (#254)

If current culture's casing for ASCII is the same as invariant, it can take a fast path than calling out to the OS for culture-aware casing.
However, in certain languages, the "ascii casing check function" may be significantly slowed down.
To avoid that kind situation, call it in advance on the candidate process.

Change-Id: I46509deec025f724b8fdb3bfd81431e08e611209

4 years agoFix rid fallback graph making logic (#236) accepted/tizen/5.5/unified/20200528.043046 accepted/tizen/unified/20200528.132837 submit/tizen/20200528.002636 submit/tizen_5.5/20200528.002729
조웅석/Common Platform Lab(SR)/Principal Engineer/삼성전자 [Thu, 28 May 2020 00:25:15 +0000 (09:25 +0900)]
Fix rid fallback graph making logic (#236)

RID tizen-[version]-armel, tizen-[version] is missed.
And, /usr/share/dotnet.tizen/netcoreapp and /usr/share/dotnet.tizen/lib should be checked first.

Afterwards, when the function of loading the app dll first comes in,
the order of searching this native library must also be changed.

4 years agoShow the warning log when preload skip (#230)
최종헌/Common Platform Lab(SR)/Engineer/삼성전자 [Tue, 26 May 2020 21:34:47 +0000 (06:34 +0900)]
Show the warning log when preload skip (#230)

Change-Id: Ifd9a28c26cecbb996c9452db3bb57930e0311224

4 years agoRemove unnecessary binary dependency (#234)
조웅석/Common Platform Lab(SR)/Principal Engineer/삼성전자 [Tue, 26 May 2020 21:33:11 +0000 (06:33 +0900)]
Remove unnecessary binary dependency (#234)

dotnet doesnot use AUL and CoreRuntime.
So, clean up CMakeList.txt file.

4 years agoFix bugs when generating SPC.ni with --ni-dll option (#235)
최종헌/Common Platform Lab(SR)/Engineer/삼성전자 [Tue, 26 May 2020 21:32:46 +0000 (06:32 +0900)]
Fix bugs when generating SPC.ni with --ni-dll option (#235)

Change-Id: I7f70ec0bf9b4a227b0f11fe35a4080f7685116a3

4 years agoRefactoring the dotnettool (#231)
최종헌/Common Platform Lab(SR)/Engineer/삼성전자 [Mon, 25 May 2020 07:55:10 +0000 (16:55 +0900)]
Refactoring the dotnettool (#231)

Change-Id: Ia41c0548849338b67e9eee143f4b52c74719fadf

4 years agoadd script to generate native image at mic (#232)
조웅석/Common Platform Lab(SR)/Principal Engineer/삼성전자 [Mon, 25 May 2020 07:51:04 +0000 (16:51 +0900)]
add script to generate native image at mic (#232)

4 years agoHide the preload path from the dlog (#229)
최종헌/Common Platform Lab(SR)/Engineer/삼성전자 [Mon, 11 May 2020 00:46:23 +0000 (09:46 +0900)]
Hide the preload path from the dlog (#229)

Change-Id: Ie3cfb0f8b17d12d238921ff03b2e1f02bad7f7f9

4 years agoIntegrate managed code into Tizen.Runtime (#228)
최종헌/Common Platform Lab(SR)/Engineer/삼성전자 [Thu, 7 May 2020 04:49:03 +0000 (13:49 +0900)]
Integrate managed code into Tizen.Runtime (#228)

Change-Id: I8dde5eca0a3115b5ae2eac2527810529f11ebfbb

4 years agoApply rules to .preload file name (#227)
최종헌/Common Platform Lab(SR)/Engineer/삼성전자 [Thu, 7 May 2020 04:40:28 +0000 (13:40 +0900)]
Apply rules to .preload file name (#227)

Change-Id: I2adb4deab7d10a680c8d08fa7d631ffe1d267380

4 years agoSort preload files by name due to dependencies of each module (#225) accepted/tizen/5.5/unified/20200429.140214 accepted/tizen/unified/20200429.051913 submit/tizen/20200429.120649 submit/tizen_5.5/20200429.120457
최종헌/Common Platform Lab(SR)/Engineer/삼성전자 [Wed, 29 Apr 2020 02:37:58 +0000 (11:37 +0900)]
Sort preload files by name due to dependencies of each module (#225)

Change-Id: I4addc2fc049eeb9433f32fb85723d7b6194bed9f

4 years agoAdd .ibc file for Store Apps (#223) accepted/tizen/5.5/unified/20200427.221802 accepted/tizen/unified/20200427.125751 submit/tizen/20200427.054923 submit/tizen_5.5/20200427.054914
최종헌/Common Platform Lab(SR)/Engineer/삼성전자 [Mon, 27 Apr 2020 05:47:50 +0000 (14:47 +0900)]
Add .ibc file for Store Apps (#223)

Change-Id: Iec61395d777557a6fa98cbddf1aebd037720c734

4 years agoDo not need to check if the Tizen.Runtime.dll exists
j-h.choi [Fri, 24 Apr 2020 05:12:41 +0000 (14:12 +0900)]
Do not need to check if the Tizen.Runtime.dll exists

Change-Id: Id645fec023398e52d8caadde300c3f057d2ad66d

4 years agoSupport for preload of ElmSharp and preload.list file
j-h.choi [Wed, 1 Apr 2020 01:12:49 +0000 (10:12 +0900)]
Support for preload of ElmSharp and preload.list file

Change-Id: I1da11acef01294963950d0f2027791c8b70f6063

4 years agoremove exec capability setting
Woongsuk Cho [Fri, 24 Apr 2020 04:48:53 +0000 (13:48 +0900)]
remove exec capability setting

4 years agoDo not pass a native image path to coreclr_execute_assembly (#222)
김상욱/Common Platform Lab(SR)/Engineer/삼성전자 [Fri, 24 Apr 2020 02:37:07 +0000 (11:37 +0900)]
Do not pass a native image path to coreclr_execute_assembly (#222)

Passing a native image path will result in a BadImageFormatException

4 years agoFix to call CoreRuntime dispose() accepted/tizen/unified/20200422.032241 submit/tizen/20200421.041317
Hyungju Lee [Tue, 21 Apr 2020 02:16:38 +0000 (11:16 +0900)]
Fix to call CoreRuntime dispose()

Change-Id: I33f4a07bee4b69195f331952acb699b39e17c9e9

4 years agoRemove dependency of main pkg from devel pkg accepted/tizen/unified/20200416.080012 submit/tizen/20200416.045802
Hyungju Lee [Thu, 16 Apr 2020 03:22:46 +0000 (12:22 +0900)]
Remove dependency of main pkg from devel pkg

Change-Id: Ic058436eb9a34168bb243ce89b4eae4a0ce945e6

4 years agoAdd flags to the install plugin to avoid duplicate execution accepted/tizen/unified/20200413.222040 submit/tizen/20200413.110328
j-h.choi [Thu, 13 Feb 2020 06:46:55 +0000 (15:46 +0900)]
Add flags to the install plugin to avoid duplicate execution

Change-Id: If3297d4939cfbbcc4be106c849bb2b1334213ede

4 years agoRework dotnet executable (#204)
김상욱/Common Platform Lab(SR)/Engineer/삼성전자 [Mon, 13 Apr 2020 03:02:36 +0000 (12:02 +0900)]
Rework dotnet executable (#204)

* Re-implement dotnet binary

* Implement additional switches

* Remove corerun-related code from dotnet_launcher.cc

* Update code formatting

* Fix addAssembliesFromDirectories logic and refactor

* Fix the usage of depth parameter

* Organize command line options

* Minor fixes

4 years agoEnable diagnostics for .NET app
Woongsuk Cho [Fri, 10 Apr 2020 01:13:39 +0000 (10:13 +0900)]
Enable diagnostics for .NET app

In the previous implementation, COMPlus_EnableDiagnostics is set to 0 to avoid creating clr-debug-pipe file.
But, from coreclr 3.1.0, that environment setting also affects the creation of diagnostics socket file.

To enable diagnostics at candidate process, set COMPlus_EnableDiagnostics to 1.

4 years agoUpdate version to 3.1
Hyungju Lee [Fri, 10 Apr 2020 08:23:44 +0000 (17:23 +0900)]
Update version to 3.1

Change-Id: Id0aa148579aed78dd2cc39211cd9b2f8c48a10e4

4 years agoIn some specific language (az, tr, ku, etc), FileNotFoundException is occurred even... accepted/tizen/unified/20200413.070825 submit/tizen/20200410.075941
Woongsuk Cho [Thu, 9 Apr 2020 06:33:01 +0000 (15:33 +0900)]
In some specific language (az, tr, ku, etc), FileNotFoundException is occurred even though the dll exist.

coreclr keep TPA lists at hashmap(SimpleNameToFileNameMap) in the applicationcontext.
To add TPA to hashmap, hash code is generated by hash() function with simple name of dll.
In that hash function, towupper() function is used.
The return value of towupper() can be changed by locale setting.

Also, when lookup in hashmap, towlower() function is called for comparing values,
and the return value of this function also changed according to locale.

To prevent key mismatch issue by locale change, set to the locale before coreclr_initialize().

4 years agoBug-fix: fix wrong probe path for corerun mode.
Woongsuk Cho [Thu, 9 Apr 2020 21:44:39 +0000 (06:44 +0900)]
Bug-fix: fix wrong probe path for corerun mode.

4 years agoseperate executable to apply User execute label to dotnet-loader
Woongsuk Cho [Thu, 26 Mar 2020 03:38:20 +0000 (12:38 +0900)]
seperate executable to apply User execute label to dotnet-loader

4 years agoChange the ownership of the pdb file
j-h.choi [Mon, 6 Apr 2020 01:40:13 +0000 (10:40 +0900)]
Change the ownership of the pdb file

Change-Id: Id3a6d3a3272b5f140b11c0f49004861c66d61cc8

4 years agoUse absolute path of input dll path.
Woongsuk Cho [Tue, 31 Mar 2020 04:46:18 +0000 (13:46 +0900)]
Use absolute path of input dll path.

If only the dll file name is entered as an input parameter without a path, it does not work properly.
To solve that issue, get the absolute path from dll file, and pass that to coreclr

4 years agoSet environment (LANG, LC_MESSAGE, LC_ALL) before using ICU API. accepted/tizen/unified/20200402.155646 submit/tizen/20200401.004644
Woongsuk Cho [Tue, 31 Mar 2020 03:38:39 +0000 (12:38 +0900)]
Set environment (LANG, LC_MESSAGE, LC_ALL) before using ICU API.

In order to operate ICU (used for globalization) normally, "LANG" and "LC_ALL" environment variables must be set before using ICU API.
In case of application running, AppFW set that variable. But when preloading the dll in the candidate process,
those environment variables are not set.
As a result, CultureInfo is incorrectly generated and malfunctions.
For example, uloc_getDefault() returns en_US_POSIX, CultureInfo is set to invariant mode.

Additionally, to apply language setting from native to managed, terminate and recreate candidate process when system language setting is changed.

After applying this patches, launching performance is reduced by 15ms ~ 20ms.
That is because previous .net application is launched in invariant mode.
(In invariant mode, string-related operations are fast.)

4 years agoUse root path only for corerun mode.
Woongsuk Cho [Thu, 26 Mar 2020 04:53:26 +0000 (13:53 +0900)]
Use root path only for corerun mode.

In the current implementation, app's "/bin"  and "/lib" path are set to app_path for coreclr_initialization().
So, when running corerun mode, there is a problem that the assembly in the same directory cannot be found,
but rather, the assembly under "/bin" and "/lib" can be loaded.

4 years agocall ecore_init() in the CoreRuntime constructor.
Woongsuk Cho [Thu, 26 Mar 2020 03:40:20 +0000 (12:40 +0900)]
call ecore_init() in the CoreRuntime constructor.

ecore_init() must called before CoreRuntime initialization.
But, sometimes, calling ecore_init() is missed by mistake.
In order to prevent this mistake, call ecore_init() in the constructor of CoreRuntime.

4 years agoRemove "User" execute label from dotnet-launcher accepted/tizen/unified/20200324.101531 submit/tizen/20200324.021321
Woongsuk Cho [Tue, 24 Mar 2020 01:51:30 +0000 (10:51 +0900)]
Remove "User" execute label from dotnet-launcher

When .NET application launched by standalone mode, launchpad fork & exec the executable.
In that case, process smack label is set to execute label of executable.
(Fail to change smack label to application)
To avoid this issue, remove execute label

4 years agoremove unused variable accepted/tizen/unified/20200323.172926 submit/tizen/20200323.040423
Woongsuk Cho [Mon, 23 Mar 2020 02:16:03 +0000 (11:16 +0900)]
remove unused variable

4 years agoRemove unnecessary ecore_init()
Hyungju Lee [Mon, 23 Mar 2020 00:07:00 +0000 (09:07 +0900)]
Remove unnecessary ecore_init()

Change-Id: I8b882808784f8d5bf2fa6833073742fc9f1d447f

4 years agoChange the name of the define directory(/opt/usr/dotnet) accepted/tizen/unified/20200319.131234 submit/tizen/20200318.232027
j-h.choi [Tue, 17 Mar 2020 05:52:37 +0000 (14:52 +0900)]
Change the name of the define directory(/opt/usr/dotnet)

Change-Id: Ia1b4090f30236c3390a2d89ab993f41e23698fab

4 years agoModify the standard output and error in fprintf
j-h.choi [Wed, 18 Mar 2020 01:39:29 +0000 (10:39 +0900)]
Modify the standard output and error in fprintf

Change-Id: Ib266a4833eccdfb63b30d9ff1b5dffb71858cb82

4 years agolog manager code cleanup
Woongsuk Cho [Wed, 18 Mar 2020 08:02:08 +0000 (17:02 +0900)]
log manager code cleanup

- log redirection is handled in log manager
- log redirection can be turn on / off by calling initializeLogManager() function
- runLoggingThread function is merged to initializeLogManager
- unhanded exception check code is removed
- in corerun mode, log manager disabled

4 years agoSet exec label of dotnet-launcher to "User"
Woongsuk Cho [Wed, 18 Mar 2020 06:01:23 +0000 (15:01 +0900)]
Set exec label of dotnet-launcher to "User"

To attach diagnostics process to app process, exec label should be set to "User".
Additionally, log redirection (to dlog) is turned off for corerun mode.

4 years agoFixed memory corruption. AddressSanitizer: heap-buffer-overflow
j-h.choi [Wed, 18 Mar 2020 05:58:36 +0000 (14:58 +0900)]
Fixed memory corruption. AddressSanitizer: heap-buffer-overflow

Change-Id: Ie71f63fa076a11ac80166e0b11b4e6a6b178cf50

4 years agoSet the native library path with the RIDs value set in TizenFX accepted/tizen/unified/20200315.214822 submit/tizen/20200312.235329
j-h.choi [Tue, 18 Feb 2020 06:38:36 +0000 (15:38 +0900)]
Set the native library path with the RIDs value set in TizenFX

Change-Id: I076c9966eb02552dec7e547933b64665577847d0

4 years agoCopy the pdb file where the native image file exists
j-h.choi [Thu, 5 Mar 2020 01:23:47 +0000 (10:23 +0900)]
Copy the pdb file where the native image file exists

4 years agoFull executable path to support crash-worker in case of standalone accepted/tizen/unified/20200304.123900 submit/tizen/20200303.220215
Hyungju Lee [Tue, 3 Mar 2020 02:37:57 +0000 (11:37 +0900)]
Full executable path to support crash-worker in case of standalone

Change-Id: I519bf8a430c5fd92bb5d43a7fe9092c3514ffa36

4 years agoUpdate README.md accepted/tizen/unified/20200213.121525 submit/tizen/20200212.223712
이형주/Common Platform Lab(SR)/Staff Engineer/삼성전자 [Wed, 12 Feb 2020 06:32:39 +0000 (15:32 +0900)]
Update README.md

4 years agoFixed svace.(HANDLE_LEAK.EX)
j-h.choi [Wed, 12 Feb 2020 01:25:02 +0000 (10:25 +0900)]
Fixed svace.(HANDLE_LEAK.EX)

4 years agoModified to add 'NI_FLAGS_APPNI' flag and appPaths when the app generates ni
j-h.choi [Thu, 6 Feb 2020 03:58:39 +0000 (12:58 +0900)]
Modified to add 'NI_FLAGS_APPNI' flag and appPaths when the app generates ni

4 years agoRemove dos carriage return accepted/tizen/unified/20200207.122334 submit/tizen/20200207.000547
Hyungju Lee [Thu, 6 Feb 2020 05:17:21 +0000 (14:17 +0900)]
Remove dos carriage return

Change-Id: I47f301ead24f4bfd77ce082260d80d9af0f537d9

4 years agoFixed svace.(FILE_SYSTEM_REALPATH)
j-h.choi [Wed, 5 Feb 2020 08:55:53 +0000 (17:55 +0900)]
Fixed svace.(FILE_SYSTEM_REALPATH)

4 years agoChange the function name from updateAssemblyInfo() to copySmackAndOwnership()
j-h.choi [Fri, 17 Jan 2020 02:04:17 +0000 (11:04 +0900)]
Change the function name from updateAssemblyInfo() to copySmackAndOwnership()

4 years agoMerge preloading features
JoonghyunCho [Thu, 30 Jan 2020 08:25:11 +0000 (17:25 +0900)]
Merge preloading features

4 years agoAdd preloading features
JoonghyunCho [Tue, 21 Jan 2020 06:51:44 +0000 (15:51 +0900)]
Add preloading features

4 years agoBug fixed: Skips generation of ni.dll in the TPA list
j-h.choi [Mon, 3 Feb 2020 08:17:42 +0000 (17:17 +0900)]
Bug fixed: Skips generation of ni.dll in the TPA list

4 years agoModify the parameter name of the database function
j-h.choi [Wed, 29 Jan 2020 04:48:33 +0000 (13:48 +0900)]
Modify the parameter name of the database function

4 years agoUse newline char as a delimiter in coreclr_env.list (#158) accepted/tizen/unified/20200130.214634 submit/tizen/20200129.055156
김상욱/Common Platform Lab(SR)/Engineer/삼성전자 [Wed, 29 Jan 2020 03:17:39 +0000 (12:17 +0900)]
Use newline char as a delimiter in coreclr_env.list (#158)

4 years agoRemove console log accepted/tizen/unified/20200116.101948 submit/tizen/20200115.094236
JoonghyunCho [Wed, 15 Jan 2020 08:14:48 +0000 (17:14 +0900)]
Remove console log

4 years agoAdd step for invoking ElmSharp preload method
JoonghyunCho [Mon, 6 Jan 2020 10:42:58 +0000 (19:42 +0900)]
Add step for invoking ElmSharp preload method

4 years agoSupport tizen.6.0.0 rid (#154)
최종헌/Common Platform Lab(SR)/Engineer/삼성전자 [Wed, 15 Jan 2020 08:31:10 +0000 (17:31 +0900)]
Support tizen.6.0.0 rid (#154)

4 years agoSupport tizen.5.5.0 rid
j-h.choi [Wed, 8 Jan 2020 02:12:35 +0000 (11:12 +0900)]
Support tizen.5.5.0 rid

4 years agoModified to skip the assemblies in the TPA list when applying TAC
j-h.choi [Mon, 30 Dec 2019 04:56:55 +0000 (13:56 +0900)]
Modified to skip the assemblies in the TPA list when applying TAC

4 years agoAdd '--ni-reset-dir' option of dotnettool
j-h.choi [Mon, 16 Dec 2019 07:54:39 +0000 (16:54 +0900)]
Add '--ni-reset-dir' option of dotnettool

4 years ago Code cleanup
j-h.choi [Wed, 27 Nov 2019 07:35:20 +0000 (16:35 +0900)]
 Code cleanup

4 years agoadd requires jsoncpp to support iot profile
Woongsuk Cho [Thu, 5 Dec 2019 07:06:38 +0000 (16:06 +0900)]
add requires jsoncpp to support iot profile

4 years agoRevert "A workaround to pre-compile internal methods" (#143)
정동헌/Common Platform Lab(SR)/Principal Engineer/삼성전자 [Tue, 3 Dec 2019 06:07:29 +0000 (15:07 +0900)]
Revert "A workaround to pre-compile internal methods" (#143)

This reverts commit 3abbd74537fea55a1003be2ae0f7bd58ce345d63.

4 years agoapply -Wl,-z,relro option in build flag for library build accepted/tizen/unified/20191128.161914 submit/tizen/20191128.035013
Woongsuk Cho [Thu, 28 Nov 2019 03:42:18 +0000 (12:42 +0900)]
apply -Wl,-z,relro option in build flag for library build

4 years agoupgrade openssl from 1.0 to 1.1
Woongsuk Cho [Thu, 28 Nov 2019 01:45:09 +0000 (10:45 +0900)]
upgrade openssl from 1.0 to 1.1

4 years agoFixed Svace(memory_leak) accepted/tizen/unified/20191120.130641 submit/tizen/20191120.034939 submit/tizen_5.5/20191120.034924
j-h.choi [Wed, 20 Nov 2019 01:30:58 +0000 (10:30 +0900)]
Fixed Svace(memory_leak)

4 years agoFixed Svace issue
j-h.choi [Tue, 19 Nov 2019 05:51:41 +0000 (14:51 +0900)]
Fixed Svace issue

4 years agoFixed bug for TAC when upgrading application
j-h.choi [Thu, 14 Nov 2019 01:54:40 +0000 (10:54 +0900)]
Fixed bug for TAC when upgrading application

4 years agoModify to enable TAC when restoring a database of TAC
j-h.choi [Tue, 29 Oct 2019 07:58:56 +0000 (16:58 +0900)]
Modify to enable TAC when restoring a database of TAC

4 years agochange candidate process name to dotnet-launcher accepted/tizen/5.5/unified/20191111.105448 accepted/tizen/unified/20191111.105536 submit/tizen/20191111.004932 submit/tizen_5.5/20191111.005001
Woongsuk Cho [Fri, 8 Nov 2019 06:03:46 +0000 (15:03 +0900)]
change candidate process name to dotnet-launcher

4 years agoapply launchpad-hydra refactoring
Woongsuk Cho [Wed, 6 Nov 2019 06:16:59 +0000 (15:16 +0900)]
apply launchpad-hydra refactoring

5 years agoFix setEnvFromFile()
Mikhail Aksenov [Mon, 21 Oct 2019 12:21:50 +0000 (15:21 +0300)]
Fix setEnvFromFile()

5 years agoto avoid gdbus blocking issue, call storage api after process forking accepted/tizen/unified/20191017.042739 submit/tizen/20191016.225912
Woongsuk Cho [Thu, 17 Oct 2019 01:33:02 +0000 (10:33 +0900)]
to avoid gdbus blocking issue, call storage api after process forking

5 years agoSkip prelading on standalone mode
Hyungju Lee [Wed, 16 Oct 2019 22:43:01 +0000 (07:43 +0900)]
Skip prelading on standalone mode

Change-Id: If53e8063e1f84edfc360c1d395856bf65a223d37

5 years agouse absoulte path for preloading list on hydra launcher
Woongsuk Cho [Wed, 16 Oct 2019 01:41:15 +0000 (10:41 +0900)]
use absoulte path for preloading list on hydra launcher

5 years agosvace : initialize hydracallback accepted/tizen/unified/20191016.032428 submit/tizen/20191015.233435
Woongsuk Cho [Tue, 15 Oct 2019 03:45:26 +0000 (12:45 +0900)]
svace : initialize hydracallback

5 years agoRevert "turn off hydra-mode temporally. After fixing launchpad issue, it should be... accepted/tizen/unified/20191015.012045 submit/tizen/20191014.221258
Hyungju Lee [Mon, 14 Oct 2019 22:08:27 +0000 (07:08 +0900)]
Revert "turn off hydra-mode temporally. After fixing launchpad issue, it should be turned on again"

This reverts commit 612b1cd945501d15663c5c83c20f8d5799ca6cfd.

5 years agoPreload NI dlls in hydra
Konstantin Baladurin [Fri, 5 Jul 2019 15:35:15 +0000 (18:35 +0300)]
Preload NI dlls in hydra

5 years agoModify regenerate all tac file in dotnettool
j-h.choi [Fri, 11 Oct 2019 02:17:14 +0000 (11:17 +0900)]
Modify regenerate all tac file in dotnettool

5 years agoAdd ecore_init() at hydra adopter.loop_brgin callback
Hyungju Lee [Mon, 14 Oct 2019 05:59:40 +0000 (14:59 +0900)]
Add ecore_init() at hydra adopter.loop_brgin callback

Change-Id: I6baa51356d68ea7527e248776a74f4408d2a6489

5 years agoturn off hydra-mode temporally. After fixing launchpad issue, it should be turned... accepted/tizen/unified/20191011.080132 submit/tizen/20191010.235421
Woongsuk Cho [Thu, 10 Oct 2019 23:37:35 +0000 (08:37 +0900)]
turn off hydra-mode temporally. After fixing launchpad issue, it should be turned on again

5 years agoA workaround to pre-compile internal methods
Sangwook Kim [Tue, 8 Oct 2019 04:10:48 +0000 (13:10 +0900)]
A workaround to pre-compile internal methods

This patch is to avoid JIT compilation of the following methods on
setEnvironmentVariable() at launch time. These methods are not
subject to AOT compilation even if the system assemblies are fully-
NGENed and IBC-optimized.
- System.SpanHelpers:IndexOf(byref,ubyte,int)
- System.SpanHelpers:Contains(byref,ushort,int)

5 years agoCode cleanup
j-h.choi [Thu, 10 Oct 2019 05:40:43 +0000 (14:40 +0900)]
Code cleanup

5 years agoRemove unnecessary code
Sangwook Kim [Tue, 8 Oct 2019 07:51:10 +0000 (16:51 +0900)]
Remove unnecessary code

5 years agoCreate a common root directory for managed csprojs
Sangwook Kim [Tue, 8 Oct 2019 00:27:31 +0000 (09:27 +0900)]
Create a common root directory for managed csprojs

5 years agoChange ownership of TAC database file in dotnettool
j-h.choi [Tue, 8 Oct 2019 00:41:00 +0000 (09:41 +0900)]
Change ownership of TAC database file in dotnettool

5 years agoAdded logic to recover when db file is corrupted.
j-h.choi [Thu, 26 Sep 2019 01:01:20 +0000 (10:01 +0900)]
Added logic to recover when db file is corrupted.

5 years agoEarly init ecore regardless of the current mode
Sangwook Kim [Fri, 20 Sep 2019 05:20:48 +0000 (14:20 +0900)]
Early init ecore regardless of the current mode

5 years agoSupport hydra mode
Gleb Balykov [Thu, 2 Nov 2017 17:01:51 +0000 (20:01 +0300)]
Support hydra mode

5 years agoMore verbose errors logging for libcoreclr.so
Kirill Frolov [Mon, 23 Sep 2019 18:46:11 +0000 (21:46 +0300)]
More verbose errors logging for libcoreclr.so

See https://github.sec.samsung.net/dotnet/home/issues/328
In case of EPERM error write error reason to log.

5 years agofix bugs which found by coverity accepted/tizen/unified/20190923.225320 submit/tizen/20190922.235504
Woongsuk Cho [Mon, 26 Aug 2019 09:57:31 +0000 (18:57 +0900)]
fix bugs which found by coverity

5 years agoskip AOT if skip optimization option is enabled
Woongsuk Cho [Tue, 3 Sep 2019 05:16:42 +0000 (14:16 +0900)]
skip AOT if skip optimization option is enabled

5 years agoto prevent crash while process terminate on profiling mode, kill process immedately... accepted/tizen/unified/20190920.065334 submit/tizen/20190920.013818
Woongsuk Cho [Fri, 20 Sep 2019 01:03:46 +0000 (10:03 +0900)]
to prevent crash while process terminate on profiling mode, kill process immedately without coreclr_shutdown

5 years agoSMACK Label on NamedLock directories accepted/tizen/unified/20190919.010717 submit/tizen/20190918.120121
Hyungju Lee [Wed, 18 Sep 2019 11:54:34 +0000 (20:54 +0900)]
SMACK Label on NamedLock directories

Change-Id: I669703cb1ac8d47b242c7b537235693cbb074ca1

5 years agoBuild error fix accepted/tizen/unified/20190813.220005 submit/tizen/20190813.035844
Hyungju Lee [Tue, 13 Aug 2019 04:44:47 +0000 (13:44 +0900)]
Build error fix

Change-Id: Ib9d113e2e14e1aafa7e407e633a6229ac3ad6504

5 years agoAdd switches for crossgen (#91)
김상욱/Common Platform Lab(SR)/Engineer/삼성전자 [Thu, 8 Aug 2019 01:55:24 +0000 (10:55 +0900)]
Add switches for crossgen (#91)

* Refactor to use NI_FLAGS_* flags

* Enable --legacy and --instrument switches

* Change switch name to --compatibility

* Add more description and fix conditions

* Add a verbose flag

* Update descriptions

5 years agoReenable default base address for system dlls support
Gleb Balykov [Wed, 7 Aug 2019 11:36:51 +0000 (14:36 +0300)]
Reenable default base address for system dlls support

5 years agoSupport 3.0-preview7
Gleb Balykov [Wed, 7 Aug 2019 11:36:19 +0000 (14:36 +0300)]
Support 3.0-preview7

5 years agoBug fixed. Break out of nested loop. accepted/tizen/unified/20190812.235655 submit/tizen/20190807.231743
j-h.choi [Wed, 7 Aug 2019 06:28:11 +0000 (15:28 +0900)]
Bug fixed. Break out of nested loop.

5 years agoNuget with no dependency applies TAC
j-h.choi [Tue, 6 Aug 2019 00:50:38 +0000 (09:50 +0900)]
Nuget with no dependency applies TAC

5 years agoFixed svace (376818, 386676, 386690)
j-h.choi [Mon, 5 Aug 2019 06:09:15 +0000 (15:09 +0900)]
Fixed svace (376818, 386676, 386690)

5 years agoVerify that the assembly is in the TPA list.
j-h.choi [Tue, 23 Jul 2019 23:59:08 +0000 (08:59 +0900)]
Verify that the assembly is in the TPA list.