Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-03egrep/fgrep are deprecated and obsolete (#21551)signed-log
Grep now prints warning messages when using `egrep` and `fgrep` Replacing with the standard `grep -E` and `grep -F` This change is released under the MIT license. Signed-off-by: Nicolas signed-log FORMICHELLA <stigpro@outlook.fr>
2020-08-19Add --sdk_root to sdkmanagerAlexander Köplinger
2020-08-19Support overriding SDK_DIR/NDK_DIR in sdks/android/MakefileAlexander Köplinger
We need this for the new Jenkins Android emulator plugin since it uses a different adb version than what we have in $(ANDROID_TOOLCHAIN_DIR)/sdk.
2020-02-14[sdks] add anroid-interpreter-{arm64-v8a,armeabi-v7a,x86,x86_64} targets ↵Bernhard Urban-Forster
(#18814) The Xamarin.Android team prefers that we ship two different `libmonosgen-2.0.so` for each target, e.g. for arm64 we will have with this PR: * `./sdks/out/android-arm64-v8a-release/lib/libmonosgen-2.0.so` * `./sdks/out/android-interpreter-arm64-v8a-release/lib/libmonosgen-2.0.so` As the names indicate one has the interpreter enabled. This is contrary to what we do for Xamarin.iOS. There, `--enable-minimal=interpreter` has the side-effect that the build will produce a `libmono-ee-interp.dylib` that can be linked next to `libmonosgen-2.0.dylib`. We _could_ do the same for Android, but that would require us to * Add `--disable-visibility-hidden` to the Android Mono runtime builds. There are concerns however that this will slow down `dlopen (libmonosgen-2.0.so)` on the Xamarin.Android side. * Do some changes to the interpreter infrastructure, because `--disable-minimal=interpreter` is designed to be used with a cross compiler in mind. For example, we would need a different solution for this: https://github.com/mono/mono/blob/d7e6fcbda82639fd5afe106b0e7a65a2a72a4f63/mono/mini/tramp-arm64.c#L631-L634
2019-10-19Remove the Legacy TLS Provider. (#17391)Martin Baulig
* `MonoTlsProviderFactory` now treats "legacy" as an alias for "default". * `Mono.Net.Security/LegacySslStream`: Removed. This class also wasn't using the `MobileAuthenticatedStream` base class, thus preventing cleanups simplifications in that area. * `Mono.Net.Security/LegacyTlsProvider`: Removed. * `Mono.Security/Mono.Security.Protocol.Tls*`: Removed all the old legacy code. * `Mono.Security.Interface.MonoTlsProviderFactory`: Bump internal version to 4.
2019-10-11[sdks] Android runner: properly shutdown runtime for Mono.Debugger.Soft test ↵Aleksey Kliger (λgeek)
app (#17261) * [sdks] properly shutdown runtime for Mono.Debugger.Soft test app mini_jit_cleanup will cause mono_runtime_try_shutdown to be called before mono_runtime_quit which will set the shutting down flags in the runtime. * [test] Re-enable disabled tests
2019-07-19[sdks] Add z option to tarAlexander Köplinger
It's required on linux.
2019-05-29[bcl] Add nunit exclude categories for monotouch/monodroid profiles (#14695)Alexander Köplinger
We didn't set all the categories that the products used in our profiles. Now that the products can consume the exclude categories from mono we need to unify the values. Removed ValueAdd since it's not used anymore and combined MacNotWorking into NotOnMac.
2019-03-01[android] Fix Mono.Debugger.Soft tests with Android SDKs (#13218)Ludovic Henry
* [android] Fix Mono.Debugger.Soft tests with Android SDKs * [android] Fix connecting with LLDB * [android] Add scaffolding to run profiler tests * [android] Fix some corlib tests * [android] Fix Mono.DebuggerTests.ExceptionFilter2 * [csproj] Update project files
2019-02-27[ci] Add new mode of execution for nunit tests on Android (#13098)Ludovic Henry
* [ci] Add new mode of execution for nunit tests on Android This makes it possible to run the `nunit-lite-console.exe` on the host, while the tests still run on the device. This makes it transparent wherever the tests are running, giving us a seamless integration with the existing infrastructure based around nunit. * [android] Fix System.Net.Http test suite * [android] Fix System.ServiceModel.Web test suite * [android] Fix Mono.Security test suite * fixup! [ci] Add new mode of execution for nunit tests on Android * [ci] Disable failing tests * [csproj] Update project files
2019-01-10[corlib] Fix monodroid build to reinclude CoreFX System.IO (#12057)Alexis Christoforides
* [corlib] Fix monodroid build to reinclude CoreFX System.IO * [corlib] Fix orbis and unreal builds to reinclude CoreFX System.IO * [Mono.Native] Build on Android * [csproj] Update project files * Bump API snapshot submodule
2018-11-29 [sdks] Reduce android provisioning to minimum + Rework targets generation ↵Ludovic Henry
(#11835) * [sdks] Reduce android provisioning to minimum It's not in use by XA anymore, so we only care about what we require * [sdks] Rework targets generation
2018-11-14[sdks] Compile support/{zlib-helper,nl}.c so XI/XM/XA does not have to ↵Ludovic Henry
cherry-pick them (#11599) * [sdks] Compile support/{zlib-helper,nl}.c so XA doesn't have to cherry-pick it. * [sdks] Fix ios and android compilation and use of tests The tests are already built as part of the archive, so there is no need to recompile them. We just need to pick them from the right folder.
2018-11-07[android sdk] Package resource assemblies into app bundle (#11583)Alexander Köplinger
.NET resource assemblies live in subdirectories named after the culture of the resource. We need to package these assemblies too. Follow up to https://github.com/mono/mono/pull/11575
2018-10-18[Mono.Debugger.Soft] Simplify building dtest-app.exe for monodroid profile ↵Alexander Köplinger
(#11229) We only build it if we're explicitly building the monodroid profile and for the monodroid_tools profile we only build the test assembly but not dtest-app.exe
2018-10-15Fix Mono.Debugger.Soft to use test exe's from different directory (#11033)Alexander Köplinger
And make it work for the monodroid_tools profile.
2018-09-21[sdks] Run Android tests on CI (#10577)Ludovic Henry
It's assuming a device or emulator is already attached or running. On our CI, a new emulator is automatically started at the beginning of the job and shutdown at the end of it.
2018-08-17[sdks] Fix local testing for Android (#10169)Ludovic Henry
2018-04-10[sdks] Add managed debugger tests to sdks (#6309)Alexander Kyte
* [sdks] New SDK target: soft debugger + non-nunit exe This adds support for building an arbitrary .exe (dtest-app is hardcoded now, but changing that and setting the arguments is another line or two, to bu customized to the app being bound) When an environment variable is set, the runtime will wait for the managed debugger. This enables the desktop to debug the deployed .exe. This will be used for the Mono.Debugger.Soft tests, but is useful for isolated reproductions with android bugs. An unmanaged debugger versions of the managed debugger is coming in another PR. * [runtime] Provide argument to dtest-app when running remotely * [runtime] Fix case of VMDisconnectionException when getting Process of remote host that has disconnected * [runtime] Script monodroid desktop debugger agent * [runtime] Use g_warning in debugger agent * [sdks] Ship PDBs on android * [sdks] Add Android target to run debugger tests * [sdks] Add desktop profile target for debugger tests * [sdks] Disable debugger tests on mobile that use unsupported apis * [sdks] Add monodroid test profile to android sdks * [runtime] Allow dtest-app to be built on non-debugger-client profiles * [runtime] Allow dtest-app building on mobile profiles
2018-04-03[sdks] Add provisioning for Android SDK and NDK (#7928)Ludovic Henry
* [sdks] Add provisioning for Android SDK and NDK This will also be used by XA * Add missing backslash to mxe.mk * Only grab bin/autopoint * [sdks] Use provisioning for MXE We want to treat MXE the same way we do Android SDK and NDK because it only rarely changes, and it's very long to build it.
2018-03-23Imports FtpWebRequest from CoreFX (#7644)Egor Bogatov
Contributes to #7682 Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=12850 FtpWebRequest used to work incorrectly with sub directories. Let's say we have a following FTP structure ``` myserver ├── file1 └── subdir └── file2 └── file3 ``` Old behavior: ### 1) For `ftp://myserver/subdir/` printed: ``` file2 file3 ``` Expected: ``` file2 file3 ``` ### 2) For `ftp://myserver/subdir` printed: ``` file1 subdir ``` Expected: ``` subdir/file2 subdir/file3 ``` ### 3) For `ftp://myserver/subdir/file2` printed: ``` file2 file3 ``` Expected: ``` file2 ``` With the fix in this PR it works as expected (matches netfx and netcore behaviors).
2018-02-05[sdks] Script lldb android integration (#6310)Alexander Kyte
2018-01-11[sdks] Extract versions into a dedicated file (#6474)Ludovic Henry
2017-11-28[sdks] Use runtime logging features to intercept Console.{Out,Error} and ↵Ludovic Henry
runtime logs for instrumentation (#6083) * [sdks] Fix Android pick of mono runtime * [android] Have Console.{Out,Error} go through the runtime log mechanism to ease their interception * [sdks] Intercept runtime logs instead of Console to send back for instrumentation * [sdks] Intercept Android test runner logging
2017-11-23Remove CodeDomConfigurationHandler from machine.config (#6070)Egor Bogatov
2017-11-23[sdks] Fix Android pick of mono runtime (#6080)Ludovic Henry
2017-11-21[sdks] Update Android for integration with XA (#6058)Ludovic Henry
* [sdks] Match xamarin-android targets flags and parameters * [sdks] Only compile BCL profiles that are needed * [sdks] Add release and debug out directories for android * [sdks] Add Android SDK and NDK paths from xamarin-android * [sdks] Match xamarin-android x86 SDK version * [sdks] Use make_standalone_toolchain.py to provision the Android toolchain
2017-11-13[sdks] Remove passing AndroidRunner instance to C# and back (#5988)Ludovic Henry
2017-11-10[sdks] Change how we run test suites on the app (#5894)Ludovic Henry
Instead of using a textbox in the app, we use a file which contains which the name of the dll that contains the tests
2017-10-28[sdks] Fix Android build.Rodrigo Kumpera
The generated project.properties file is required by build.xml. Fix the clean target to work on a clean tree and to remove those generated files.
2017-10-26[sdks] Source drop from xamarin/mono-sdks (#5876)Ludovic Henry
``` commit dcd3ed4930fbfa19df1a34c17bc17f5a57badb83 Author: Rodrigo Kumpera <kumpera@gmail.com> Date: Thu Apr 6 15:53:36 2017 -0700 switch mono to 2017-04. external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cbff024be0d2ed30efda0ee228c339e4e2dce866 Author: Rodrigo Kumpera <kumpera@gmail.com> Date: Thu Apr 6 15:53:13 2017 -0700 Update readme with xtc specifics. README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit b385e6ce4ee7ffb92cdb39cdf8bbdb82355d909f Author: Rodrigo Kumpera <kumpera@gmail.com> Date: Thu Apr 6 15:34:18 2017 -0700 Add makefile to build & submit to xtc. android/xtc/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) commit 09ca3773ac25d8415c537f063d057aa471bb1eae Author: Rodrigo Kumpera <kumpera@gmail.com> Date: Thu Apr 6 15:08:29 2017 -0700 UITest based runner. android/xtc/RuntimeTests.csproj | 43 +++++++++++++++++++++ android/xtc/RuntimeTests.sln | 17 +++++++++ android/xtc/Tests.cs | 84 +++++++++++++++++++++++++++++++++++++++++ android/xtc/packages.config | 5 +++ 4 files changed, 149 insertions(+) commit bc20ebfeb58ee9d876e2f675651bdb9afa07fdeb Author: Rodrigo Kumpera <kumpera@gmail.com> Date: Thu Apr 6 15:05:39 2017 -0700 Finish x86 support. android/Makefile | 4 ++++ android/jni/Application.mk | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit dcec00c4ef9240324ef3c4b9a4d5ab7c670c1984 Author: Rodrigo Kumpera <kumpera@gmail.com> Date: Thu Apr 6 13:49:55 2017 -0700 Add new redeploy target plus fix bcl staging. android/Makefile | 4 ++++ android/managed/Makefile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 5d6db27c2a3039271138f9f8c58a72262211793d Author: Bernhard Urban <bernhard.urban@xamarin.com> Date: Thu Mar 30 18:26:24 2017 -0400 [readme] add todo item for android README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9ebd7bed3a5e66ccae2819e4c1045a1714a4274b Author: Bernhard Urban <bernhard.urban@xamarin.com> Date: Thu Mar 30 17:39:49 2017 -0400 fix default make target Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit f307dd3ef39733f528f1ef816741d2a9f4017f7a Author: Bernhard Urban <bernhard.urban@xamarin.com> Date: Thu Mar 30 17:37:11 2017 -0400 [sdks] use $(NDK_DIR) from paths.mk sdks/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 83f470fcd7b039fd7945ec939c314bc18d2829ad Author: Rodrigo Kumpera <kumpera@gmail.com> Date: Thu Mar 30 16:58:45 2017 -0400 More todos README.md | 1 + 1 file changed, 1 insertion(+) commit d5a3d38a848860f5c4ba320c0ca6d26d52eff635 Author: Rodrigo Kumpera <kumpera@gmail.com> Date: Thu Mar 30 16:58:28 2017 -0400 Add x86 and x86_64 android/jni/Application.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3c51f005173a021d1bf6e8ecea22bc3b5fda08ba Author: Rodrigo Kumpera <kumpera@gmail.com> Date: Thu Mar 30 16:55:45 2017 -0400 Fix the mono submodule. external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e293d61090c9e8eb3a113a0d34be7ddd1e2c3597 Author: Bernhard Urban <bernhard.urban@xamarin.com> Date: Wed Mar 29 18:36:29 2017 -0400 [readme] add links to specific NDK README.md | 6 ++++++ 1 file changed, 6 insertions(+) commit 0985f1c448641484de6eac249f9cb9af1f1973b5 Author: Rodrigo Kumpera <kumpera@gmail.com> Date: Wed Mar 29 16:32:47 2017 -0400 fix x86/x86_64 packaging. README.md | 1 + sdks/Makefile | 13 +++---------- sdks/android.erb | 13 +++++++++++++ 3 files changed, 17 insertions(+), 10 deletions(-) commit c0b9498d9afdaea48f474d31358a284b31d621e5 Author: Rodrigo Kumpera <kumpera@gmail.com> Date: Wed Mar 29 15:31:37 2017 -0400 Add x86 and x86-84 to sdks. sdks/Makefile | 15 +++++++++++++-- sdks/android-template.rb | 33 +++++++++++++++++++++++++++++++++ sdks/android.erb | 4 ++-- 3 files changed, 48 insertions(+), 4 deletions(-) commit 53778f4d473798123cf06896ffd2082517afc08d Author: Rodrigo Kumpera <kumpera@gmail.com> Date: Wed Mar 29 11:40:18 2017 -0400 small updates Makefile | 7 ++++++- README.md | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) commit 531603b66b630f3a46d1173124e202867f22460b Author: Rodrigo Kumpera <kumpera@gmail.com> Date: Wed Mar 29 11:33:08 2017 -0400 Add Android app. android/AndroidManifest.xml | 17 + android/Makefile | 56 ++ android/build.xml | 92 ++++ android/jni/Android.mk | 36 ++ android/jni/Application.mk | 2 + android/jni/runtime-bootstrap.c | 588 +++++++++++++++++++++ android/res/layout/main.xml | 22 + android/res/values/strings.xml | 4 + .../src/org/mono/android/main/AndroidRunner.java | 136 +++++ 9 files changed, 953 insertions(+) commit 2ae7f04e5fec696c83e47e8d938d9c9a3804beb8 Author: Rodrigo Kumpera <kumpera@gmail.com> Date: Wed Mar 29 11:05:30 2017 -0400 Add C# test runner, build scripts and the needed machine.config. Makefile | 55 +------ android/machine.config | 278 ++++++++++++++++++++++++++++++++++++ android/managed/Makefile | 80 +++++++++++ android/managed/fake-monodroid.cs | 80 +++++++++++ android/managed/main.cs | 106 ++++++++++++++ android/managed/mini-test-runner.cs | 74 ++++++++++ 6 files changed, 621 insertions(+), 52 deletions(-) commit ded22bbf4a496e5e4a5fc9feb1f615698101718b Author: Rodrigo Kumpera <kumpera@users.noreply.github.com> Date: Tue Mar 28 13:59:42 2017 -0400 update readme README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit f32b490b520da12a68f14ca6adfb00cb06b6733e Author: Rodrigo Kumpera <kumpera@gmail.com> Date: Tue Mar 28 00:26:00 2017 -0400 Initial set of scripts to build Android runtimes. .gitmodules | 4 +++ Makefile | 57 +++++++++++++++++++++++++++++++ README.md | 23 +++++++++++++ external/mono | 1 + paths.mk | 5 +++ sdks/Makefile | 83 +++++++++++++++++++++++++++++++++++++++++++++ sdks/android-template.rb | 58 +++++++++++++++++++++++++++++++ sdks/android.erb | 88 ++++++++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 319 insertions(+) commit c61c02f2f30e513c3f2c471892158958e9a042ca Author: Rodrigo Kumpera <kumpera@gmail.com> Date: Wed May 3 12:22:18 2017 -0700 Build offsets & cross compilers, requires tip of kumpera/mono/naked-mono-goes-ios. Ready for cleanup-a-ton. sdks/ios.mk | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) commit 9b0f4522b96f7f9f91837859ad422e7a5c4300fb Author: Rodrigo Kumpera <kumpera@gmail.com> Date: Tue May 2 19:56:22 2017 -0700 add cross64. sdks/ios.mk | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit 1b03dc6552dd08b1690374e6b73d89a085b59a2e Author: Rodrigo Kumpera <kumpera@gmail.com> Date: Tue May 2 19:55:30 2017 -0700 add cross compilers. cross offset generation missing. sdks/ios.mk | 52 ++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 48 insertions(+), 4 deletions(-) commit 1697337e706220185568eedf52b73e236521576a Author: Rodrigo Kumpera <kumpera@gmail.com> Date: Tue May 2 17:38:52 2017 -0700 add device64 sdks/ios.mk | 115 ++++++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 92 insertions(+), 23 deletions(-) commit 39f5ce7332d2d2cb7f9ca187f5d88f092f030d3c Author: Rodrigo Kumpera <kumpera@gmail.com> Date: Tue May 2 13:18:15 2017 -0700 missing files. ios/MonoTestRunner/main.cs | 106 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) commit e3acb9682de0cf11ceda0ab38649c39fc7518b41 Author: Rodrigo Kumpera <kumpera@gmail.com> Date: Tue May 2 13:15:53 2017 -0700 some IO stuff ios/MonoTestRunner/Makefile | 15 ++++-- .../MonoTestRunner/Base.lproj/Main.storyboard | 41 +++++++++++++++-- ios/MonoTestRunner/MonoTestRunner/ViewController.m | 18 ++++++++ .../MonoTestRunner/runtime-bootstrap.c | 12 +++-- .../MonoTestRunner/runtime-bootstrap.h | 1 + .../MonoTestRunner/runtime-objc-helpers.m | 53 +++++++++++++++++++++- 6 files changed, 129 insertions(+), 11 deletions(-) commit 5c83e9bb5bfdae13ff632d620b4d2a9896c83be3 Author: Rodrigo Kumpera <kumpera@gmail.com> Date: Thu Apr 20 15:41:43 2017 -0700 Skeleton support for iOS. Sim only, not part of regular build. ios/MonoTestRunner/Makefile | 32 ++ .../MonoTestRunner.xcodeproj/project.pbxproj | 373 +++++++++++++++++++++ ios/MonoTestRunner/MonoTestRunner/AppDelegate.h | 17 + ios/MonoTestRunner/MonoTestRunner/AppDelegate.m | 51 +++ .../AppIcon.appiconset/Contents.json | 93 +++++ .../MonoTestRunner/Assets.xcassets/Contents.json | 6 + .../Base.lproj/LaunchScreen.storyboard | 27 ++ .../MonoTestRunner/Base.lproj/Main.storyboard | 26 ++ ios/MonoTestRunner/MonoTestRunner/Info.plist | 45 +++ ios/MonoTestRunner/MonoTestRunner/ViewController.h | 15 + ios/MonoTestRunner/MonoTestRunner/ViewController.m | 32 ++ ios/MonoTestRunner/MonoTestRunner/main.m | 16 + .../MonoTestRunner/runtime-bootstrap.c | 269 +++++++++++++++ .../MonoTestRunner/runtime-bootstrap.h | 16 + .../MonoTestRunner/runtime-objc-helpers.m | 44 +++ sdks/Makefile | 10 +- sdks/ios.mk | 177 ++++++++++ 17 files changed, 1245 insertions(+), 4 deletions(-) ```