platform/core/dotnet/launcher.git
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 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

8 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