platform/core/dotnet/launcher.git
7 years agoRemove the Mono profile 51/122051/5
JongHeon Choi [Thu, 30 Mar 2017 04:40:14 +0000 (13:40 +0900)]
Remove the Mono profile

Change-Id: If5ce5c0b76d626cfd38cfe607f20b277909f32db

7 years agoReplace the unmanaged name of native module with the library path 98/121898/2 accepted/tizen/unified/20170405.174258 submit/tizen/20170404.225225
JongHeon Choi [Wed, 29 Mar 2017 09:53:00 +0000 (18:53 +0900)]
Replace the unmanaged name of native module with the library path

Change-Id: I9e3ec63c9f485c02a97af0d8104c5384c32c0452

7 years agoMerge "find dlls in the app directory first for app NI" into tizen accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen/common/20170320.173522 accepted/tizen/ivi/20170320.065013 accepted/tizen/mobile/20170320.064937 accepted/tizen/tv/20170320.064953 accepted/tizen/unified/20170320.065026 submit/tizen/20170320.013057
Inhwan Lee [Mon, 20 Mar 2017 01:28:03 +0000 (18:28 -0700)]
Merge "find dlls in the app directory first for app NI" into tizen

7 years agofix test script with change APP_CORE log 91/115691/3
ideal.lee [Tue, 21 Feb 2017 05:35:47 +0000 (14:35 +0900)]
fix test script with change APP_CORE log
 + apply with 2017-02-23 binary

Change-Id: I3d372c162caa122a001ce637e28f1e88ed44fbbc

7 years agofind dlls in the app directory first for app NI 91/119491/1
Cho Woong Suk [Fri, 17 Mar 2017 06:23:42 +0000 (15:23 +0900)]
find dlls in the app directory first for app NI

Change-Id: Id0e89694d0cb1889938741227bf882b3eb6560d4

7 years agoBug fix for multiple parameters of nitool 32/113532/4
JongHeon Choi [Wed, 8 Feb 2017 05:39:43 +0000 (14:39 +0900)]
Bug fix for multiple parameters of nitool

Change-Id: Iddca7fd903e6cb42caed952b803a3f3100497a59

7 years agoMerge "Add tool option for check launching memory" into tizen
woongsuk cho [Tue, 14 Mar 2017 04:08:27 +0000 (21:08 -0700)]
Merge "Add tool option for check launching memory" into tizen

7 years agochange lldb path 25/117225/2 accepted/tizen/common/20170309.175358 accepted/tizen/ivi/20170309.072117 accepted/tizen/mobile/20170309.072109 accepted/tizen/tv/20170309.072113 accepted/tizen/unified/20170309.120727 submit/tizen/20170309.004225 submit/tizen_unified/20170308.100503 submit/tizen_unified/20170310.011402
chunseok lee [Fri, 3 Mar 2017 08:20:33 +0000 (17:20 +0900)]
change lldb path

Change-Id: I234138972d7ccc04c8cfa22a0d7b600a8757f4d5
Signed-off-by: chunseok lee <chunseok.lee@samsung.com>
7 years agoMerge "Add Self-Contained Deployment Launcher" into tizen
woongsuk cho [Tue, 7 Mar 2017 10:10:59 +0000 (02:10 -0800)]
Merge "Add Self-Contained Deployment Launcher" into tizen

7 years agoAdd Self-Contained Deployment Launcher 24/117224/4
chunseok lee [Mon, 20 Feb 2017 06:50:30 +0000 (15:50 +0900)]
Add Self-Contained Deployment Launcher

Change-Id: I889de90eb72a645a32eb8110030fdb0496137d43
Signed-off-by: chunseok lee <chunseok.lee@samsung.com>
7 years agoPass the first argument that name of exe file 82/115482/2 accepted/tizen/common/20170221.135116 accepted/tizen/ivi/20170222.093913 accepted/tizen/mobile/20170222.093831 accepted/tizen/tv/20170222.093853 submit/tizen/20170221.023041 submit/tizen_unified/20170308.100407
Inhwan Lee [Mon, 20 Feb 2017 06:40:38 +0000 (15:40 +0900)]
Pass the first argument that name of exe file

in .NET spec, we have to skip file name in the fist argument
ref : https://msdn.microsoft.com/en-us/library/aa288457(v=vs.71).aspx

Change-Id: If6de1ca6721445ade894c529cb9915db7aaf6084

7 years agoMerge "removre dotnet-launcher from passing argument" into tizen accepted/tizen/common/20170206.124232 accepted/tizen/ivi/20170206.222549 accepted/tizen/mobile/20170206.222515 accepted/tizen/tv/20170206.222531 submit/tizen/20170205.233615
JongHeon Choi [Sun, 5 Feb 2017 23:31:06 +0000 (15:31 -0800)]
Merge "removre dotnet-launcher from passing argument" into tizen

7 years agoRemove _preload_dir define in spec 71/105171/7
JongHeon Choi [Fri, 2 Dec 2016 07:09:38 +0000 (16:09 +0900)]
Remove _preload_dir define in spec

Change-Id: I19082e6bfeba83c2c0f5189cf7da2dc8a3c3baad

7 years agoRemove %ix86 from ExcludeArch 42/113042/1
JongHeon Choi [Sun, 5 Feb 2017 22:33:02 +0000 (07:33 +0900)]
Remove %ix86 from ExcludeArch

Change-Id: Ie0c13da339961683923d959178be7dacae4f2d60

7 years agoremovre dotnet-launcher from passing argument 11/112711/1
Cho Woong Suk [Thu, 2 Feb 2017 09:39:17 +0000 (18:39 +0900)]
removre dotnet-launcher from passing argument

Change-Id: I016ea00ebe79b9bb498da6eb3259eccd7ba8d48e

7 years agoFix build error for upgrading toolchain 22/111222/3 accepted/tizen/common/20170201.172056 accepted/tizen/ivi/20170202.015321 accepted/tizen/mobile/20170202.015241 accepted/tizen/tv/20170202.015301 submit/tizen/20170201.085923
JongHeon Choi [Fri, 20 Jan 2017 02:45:16 +0000 (11:45 +0900)]
Fix build error for upgrading toolchain

Change-Id: I847e364abd8c624df156f7e20c8eb0cc3b2843d8

7 years agoMove the location of .NET modules to %{_datadir} 25/112425/1 accepted/tizen/common/20170201.171804 accepted/tizen/ivi/20170201.090656 accepted/tizen/mobile/20170201.090608 accepted/tizen/tv/20170201.090625 submit/tizen/20170201.062104
Jiyoung Yun [Wed, 1 Feb 2017 02:16:15 +0000 (11:16 +0900)]
Move the location of .NET modules to %{_datadir}

Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Change-Id: Ie415798dec69b62b53db734aad048db85f8427f9

7 years agoImplement metadata plugin for appfw 33/110633/9 accepted/tizen/common/20170123.182352 accepted/tizen/ivi/20170123.114806 accepted/tizen/mobile/20170123.114731 accepted/tizen/tv/20170123.114750 submit/tizen/20170123.081747
Inhwan Lee [Tue, 17 Jan 2017 08:20:10 +0000 (17:20 +0900)]
Implement metadata plugin for appfw

If application has specific metadata,
appfw will call plugin that implemented

Only working for AOT with below metadata
"http://tizen.org/metadata/prefer_dotnet_aot"

Change-Id: I31a13b678ecfff3f430c4fad2656e5f358479cbf

7 years agoAdd tool option for check launching memory 83/108283/6
JongHeon Choi [Wed, 4 Jan 2017 02:20:15 +0000 (11:20 +0900)]
Add tool option for check launching memory

Change-Id: Id683972b75950ff031550bd74c3d4003fb41d032

7 years agoUse executables when trying to resolve an assembly 72/108672/1
Pawel Andruszkiewicz [Thu, 5 Jan 2017 09:22:46 +0000 (10:22 +0100)]
Use executables when trying to resolve an assembly

Some applications define types referenced from XAML in the executable
files, this commit handles such cases.

Change-Id: I422e7ad1b8d463c8afac663a4eab58cd150c983a
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
7 years agofix performance_test for tizen 3.0 mobile/wearable 40/108040/2
Inhwan Lee [Mon, 2 Jan 2017 11:48:10 +0000 (20:48 +0900)]
fix performance_test for tizen 3.0 mobile/wearable

appfw change policy about global application.
so performance test enable in various version for dotnet

Change-Id: I70bc78281d2b5718ddd9e55946e0ec54d4911e69

7 years agoRuntime directory is changed to /opt/usr/share/dotnet because of capacity shortage... 21/107921/1 accepted/tizen/common/20170111.155020 accepted/tizen/ivi/20170113.225721 accepted/tizen/mobile/20170102.060619 accepted/tizen/tv/20170102.060636 submit/tizen/20170102.014244 submit/tizen_common/20170111.150147 submit/tizen_ivi/20170113.100937
Cho Woong Suk [Mon, 2 Jan 2017 01:41:03 +0000 (10:41 +0900)]
Runtime directory is changed to /opt/usr/share/dotnet because of capacity shortage of rootfs

Change-Id: I0670b00e8b180bed23b4469304067dafb324fe0a

7 years agoApply dotnet RPM macros 39/106539/3 accepted/tizen/mobile/20161229.113213 accepted/tizen/tv/20161229.113319 submit/tizen/20161229.014738
WonYoung Choi [Thu, 22 Dec 2016 04:41:31 +0000 (13:41 +0900)]
Apply dotnet RPM macros

dotnet-build-tools provides RPM macros to support C# build.
Each package doesn't need to define macros itself such as
%dotnet_assembly_path, %_dotnet_build_conf, %dotnet_assembly_files,
and so on.

Change-Id: I36e712984e689b938c5872befe4680044004a8de

7 years agoModify help message of nitool 91/106791/1 accepted/tizen/mobile/20161226.131120 submit/tizen/20161223.055238 submit/tizen/20161230.081227
JongHeon Choi [Fri, 23 Dec 2016 05:50:36 +0000 (14:50 +0900)]
Modify help message of nitool

Change-Id: Idcfd43cfafc597292ac1007ce6f718d0269e92b3

7 years agoAdd '--dll' option of nitool 81/106781/7 submit/tizen/20161223.055000
JongHeon Choi [Fri, 23 Dec 2016 04:58:31 +0000 (13:58 +0900)]
Add '--dll' option of nitool
 * Create native image for dll
 * ex) nitool --dll /usr/bin/Tizen.Runtime.Coreclr.dll

Change-Id: I9234719f66ae5f75002d132fa8183c4aabaaba4a

7 years agoMerge "add test tool for check launching time" into tizen accepted/tizen/mobile/20161222.020142 submit/tizen/20161221.042557
woongsuk cho [Tue, 20 Dec 2016 04:05:52 +0000 (20:05 -0800)]
Merge "add test tool for check launching time" into tizen

7 years agoMerge "AssemblyLoader should assist in loading all assemblies" into tizen
woongsuk cho [Tue, 20 Dec 2016 04:05:06 +0000 (20:05 -0800)]
Merge "AssemblyLoader should assist in loading all assemblies" into tizen

7 years agoadd test tool for check launching time 70/105170/6
Inhwan Lee [Thu, 15 Dec 2016 05:27:39 +0000 (14:27 +0900)]
add test tool for check launching time

Change-Id: I4d29972eceb263559135f8ca7c659ffdaefd0c27

7 years agoAssemblyLoader should assist in loading all assemblies 88/105788/1
Pawel Andruszkiewicz [Fri, 9 Dec 2016 07:52:45 +0000 (08:52 +0100)]
AssemblyLoader should assist in loading all assemblies

The Resolving event from the AssemblyLoadContext is invoked each
time it fails to load an assembly. The default AssemblyLoadContext
is used internally i.e. when Assembly.Load() or Type.GetType(string)
methods are called. Registering for the Resolving event from the
default AssemblyLoadContext helps handling the unresolved
assemblies and fixes XAML-related issues in Xamarin.

TASK=TNET-136
TASK=TCAPI-1863

Change-Id: I0f5f4c2925829eac448a6184a3e19dbde5c1dfc0
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
7 years agobug-fix: do not pre-create bg and conformant. 87/105787/1
Cho Woong Suk [Fri, 16 Dec 2016 06:10:10 +0000 (15:10 +0900)]
bug-fix: do not pre-create bg and conformant.

Change-Id: I27cc5e44c72656f87eca5ef94f3c722c20254990

7 years agoExclude arm64 and i586 architecture 58/104758/1 accepted/tizen/mobile/20161215.072340 submit/tizen/20161214.063015
JongHeon Choi [Wed, 14 Dec 2016 08:10:14 +0000 (17:10 +0900)]
Exclude arm64 and i586 architecture

Change-Id: I52410a37cdb4dacf5c3789c23d0a0b5211e88a5b

7 years agobug-fix : load app ni dll file 57/104757/1
Cho Woong Suk [Thu, 8 Dec 2016 13:08:59 +0000 (22:08 +0900)]
bug-fix : load app ni dll file

Change-Id: Iaf03cfb5893bf5ace992c48cbc96756dbdf3f814

7 years agogenerate ni file for dotnet-launcher for nitool --system command 56/104756/1
Cho Woong Suk [Thu, 8 Dec 2016 13:10:16 +0000 (22:10 +0900)]
generate ni file for dotnet-launcher for nitool --system command

Change-Id: I6b2f15085b2e63f11951d0ba3e67e271bacfc77e

7 years agopreload native libraries and pre-create windows to optimize app launching performance 55/104755/1
Cho Woong Suk [Tue, 22 Nov 2016 03:57:02 +0000 (12:57 +0900)]
preload native libraries and pre-create windows to optimize app launching performance

Change-Id: Ia9065c5b2a1470aa3c72675b7bb953bd4bf00dc1
Signed-off-by: Cho Woong Suk <ws77.cho@samsung.com>
7 years agoFix Preload DLL 54/104754/1
pius.lee [Thu, 24 Nov 2016 02:16:25 +0000 (11:16 +0900)]
Fix Preload DLL

Use LoadFromNativeImagePath for ni dlls.
Change directory to text file for reading dll lists.

Change-Id: Icc2142a80765e4551ef6b85bdb1e1643f5c9404d

7 years agoFix unused native image in application. 53/104753/1
pius.lee [Wed, 30 Nov 2016 09:22:11 +0000 (18:22 +0900)]
Fix unused native image in application.

Now launcher use Native image in application's bin, lib directory.
--native option is added to dotnet-launcher.
It must be use with --standalone.
--native launch dll without managed launcher.
But it can't launch ni.dll.

Change-Id: Icf0ab0e9330ec1e94db5440e517e76710f1d81e1

7 years agoFix failed to launch on Exception. 52/104752/1
pius.lee [Wed, 30 Nov 2016 07:29:20 +0000 (16:29 +0900)]
Fix failed to launch on Exception.

Fix Failed to launch on exception happend when unhandled exception
handler failed to set.

Make catch a exception on failed but it goes to launching normally.

If unhandled exception handler is not set, unhandled exception is not
print out to dlog but print into journal log.

Change-Id: I3679470a2fa8d750cfbb1f47fc705dcf3a69e53b

7 years agoAdd License file and comments to sources
pius.lee [Tue, 29 Nov 2016 01:23:11 +0000 (10:23 +0900)]
Add License file and comments to sources

Change-Id: I2d4993dd798ebac2666018289f6359a579e328a0

7 years agoChange dotnet core directory
pius.lee [Tue, 29 Nov 2016 00:39:35 +0000 (09:39 +0900)]
Change dotnet core directory

Change-Id: I174dda342cc9d60f60a08c09d9ee78ba6d35c54d

7 years agoFix missed ni.dll in tpa list
pius.lee [Thu, 24 Nov 2016 01:58:47 +0000 (10:58 +0900)]
Fix missed ni.dll in tpa list

Change-Id: I42a2bad8ebde5b6c056b2f12a5145ba31eda1d98

7 years agoAdd Unhandled Exception handler for Dlog output
pius.lee [Tue, 15 Nov 2016 06:49:52 +0000 (15:49 +0900)]
Add Unhandled Exception handler for Dlog output

Add temporarily implmentation until become Appdomain on API

Change-Id: I6c622d701d94cf3cc29262e066a490f102cfd46b

7 years agoAdd installer plugin and tool for create a NI
pius.lee [Thu, 10 Nov 2016 11:26:43 +0000 (20:26 +0900)]
Add installer plugin and tool for create a NI

nitool : native image maker for system dlls and apps
libui-application.so : native image creating plugin for app installer

Fix bug on getting trusted platform dll.

Change-Id: Ie0b18c9fcca2fa0b814d4056d87c2e5d67e4e0e4

8 years agoAdd dotnet.debugger into /usr/share/aul
chunseok lee [Thu, 27 Oct 2016 05:28:25 +0000 (14:28 +0900)]
Add dotnet.debugger into /usr/share/aul

This patch works after https://review.tizen.org/gerrit/#/c/90185/
has landed.

Change-Id: I745699fd59be991dd842daffbefdeaaf557720fc
Signed-off-by: chunseok lee <chunseok.lee@samsung.com>
8 years agoChange managed build to use Nuget package.
pius.lee [Fri, 21 Oct 2016 08:22:09 +0000 (17:22 +0900)]
Change managed build to use Nuget package.

Change-Id: Ib93ee9123cb406ac3e50aea5eeb51ddbed683d29

8 years agoNow --standalone mode don't use managed launcher
pius.lee [Thu, 20 Oct 2016 11:40:09 +0000 (20:40 +0900)]
Now --standalone mode don't use managed launcher

Launched assembly start on native directly on standalone mode.
It does not use assembly launcher.

Change-Id: I64536ed0bf48a7a9254f51189b53d219b8e4777b

8 years agoAdd README.md for simple explanation.
pius.lee [Wed, 19 Oct 2016 00:13:37 +0000 (09:13 +0900)]
Add README.md for simple explanation.

Change-Id: Id90846de24756eb8ebc79117ee282431fb61a36a

8 years agoFix missed 0 args on standalone
pius.lee [Mon, 17 Oct 2016 10:51:57 +0000 (19:51 +0900)]
Fix missed 0 args on standalone

Add argv[0] to args on standalone.
Fix Console.WriteLine to Dlog debug print out.

Change-Id: Iffc0eed1d0c7a9a538c12f9693b68e58011bea41

8 years agoFix App Root on standalone and support direct exec
pius.lee [Mon, 17 Oct 2016 09:52:23 +0000 (18:52 +0900)]
Fix App Root on standalone and support direct exec

Set application root with aul_get_app_root_path() if AUL_APPID is exist.
Add dotnet.launcher direct execute in launchpad.

Change-Id: I4e45731c791449e3afa4e698b8bbb8ea3bede91f

8 years agoAdd "--version" option for dotnet-launcher
pius.lee [Tue, 11 Oct 2016 07:27:34 +0000 (16:27 +0900)]
Add "--version" option for dotnet-launcher

Change-Id: I74e371732fd617e753711bcf9f1e9d9ba4c7e6a9

8 years agoNow options will be pass to managed launcher
pius.lee [Mon, 10 Oct 2016 10:03:12 +0000 (19:03 +0900)]
Now options will be pass to managed launcher

Commanline options will be pass to managed launcher except --standalone and assembly path.

Change-Id: I2e853c23553152fb9291b4d586b50c133a5781ee

8 years agoCoreclr & Mono Supported launcher and standalone
pius.lee [Mon, 10 Oct 2016 05:12:09 +0000 (14:12 +0900)]
Coreclr & Mono Supported launcher and standalone

Switch launcher engine with "/etc/.use_mono" file
Now can run assembly standalone with "--standalone" option

Change-Id: I120053756f4d86107dfe716cf5675389b7a9760d

8 years agoinitialize new launcher
pius.lee [Fri, 23 Sep 2016 07:22:02 +0000 (16:22 +0900)]
initialize new launcher

Change-Id: I52436781fcc1e00d5e0eace4500b999e4a69ed80

8 years agoFix build configuration for Device api dependency
pius.lee [Wed, 31 Aug 2016 04:31:51 +0000 (13:31 +0900)]
Fix build configuration for Device api dependency

Change-Id: I2517445abaa925531cc92e8e7ec73f658b2992dc

8 years agoRemove ini file and fix argument problem for appfw
pius.lee [Tue, 30 Aug 2016 15:05:53 +0000 (00:05 +0900)]
Remove ini file and fix argument problem for appfw

Change-Id: I0aaae6699ebc1a469e546d89f96a91183d307b91

8 years agoModify default managed launcher name in config
pius.lee [Fri, 26 Aug 2016 09:00:07 +0000 (18:00 +0900)]
Modify default managed launcher name in config

update version to 0.0.2
modify  Tizen.Runtime.dll to Tizen.Runtime.exe in config

8 years agoSplit Native Parts to SharedObject and Executable
pius.lee [Fri, 26 Aug 2016 07:40:52 +0000 (16:40 +0900)]
Split Native Parts to SharedObject and Executable

Make libdnclauncher.so for waiting and launchpad callbacks.
Modify dotnet-launcher to execute managed launcher with libcoreclr.so.
Managed Launcher read ini file to read dll lists for preloading.
Add Targets file building csproj with corefx and device apis.

8 years agoAdd managed launcher part
pius.lee [Fri, 19 Aug 2016 04:57:46 +0000 (13:57 +0900)]
Add managed launcher part

Move native launcher part from src to NativeLauncher
Add Tizen.Runtime.dll to Tizen.Runtime
Tizen.Runtime can preload and launching another assembly

8 years agofix coreclr path and add launching time measure feature
pius.lee [Fri, 12 Aug 2016 07:34:57 +0000 (16:34 +0900)]
fix coreclr path and add launching time measure feature

8 years agoIgnore case file extension on search TPA.
pius.lee [Thu, 4 Aug 2016 04:17:20 +0000 (13:17 +0900)]
Ignore case file extension on search TPA.

Now ignore case on searching trusted platform assemblies.
Launching path (App path) include "lib" direcotry under application
root.

8 years agofix unreleased exit and errata in ini
pius.lee [Mon, 1 Aug 2016 01:28:03 +0000 (10:28 +0900)]
fix unreleased exit and errata in ini

8 years agoMake it runnable with dotnet packages
pius.lee [Thu, 28 Jul 2016 04:28:52 +0000 (13:28 +0900)]
Make it runnable with dotnet packages

add build option for desktop -DNO_TIZEN=1
add config file path build option -DLAUNCHER_PATH=dotnet-launcher.ini
fix bugs in default TPL paths

8 years agofix base config file depends on other dotnet directories
pius.lee [Thu, 28 Jul 2016 04:27:45 +0000 (13:27 +0900)]
fix base config file depends on other dotnet directories

8 years agoadd manifest for smack label
pius.lee [Thu, 28 Jul 2016 04:26:33 +0000 (13:26 +0900)]
add manifest for smack label

8 years agoAdd Launcher and Waiter for dotnet-launcher
pius.lee [Mon, 25 Jul 2016 08:28:32 +0000 (17:28 +0900)]
Add Launcher and Waiter for dotnet-launcher

8 years agoinitialize commit
pius.lee [Mon, 25 Jul 2016 08:26:33 +0000 (17:26 +0900)]
initialize commit