Compare commits

...
243 Commits
Author SHA1 Message Date
Zoltan Varga db33692ca0 [llvm] Avoid using the preserveall calling convention in another place on watchos.
Fixes https://github.com/mono/mono/issues/9318.
2018-07-16 19:50:49 +02:00
monojenkins 10feb7c1d8 [llvm] Avoid using the preserveall calling convention on watchos, xcode10 asserts on it. (#9355)
[2017-12] [llvm] Avoid using the preserveall calling convention on watchos, xcode10 asserts on it.

Backport of #9322.

/cc @luhenry
2018-07-03 14:55:33 -04:00
Rodrigo Kumpera 4d38f69507 [profiler] Switch tls storage to use mono_thread_info_get/set_tools_data. Fixes #7683
External threads are detached using TLS destructors and this leads to non-determinism around to cleanup ordering of keys.
This causes the profiler to see the profiler tls key null'd even though it was not detached yet.
2018-05-28 10:49:52 +02:00
Rodrigo Kumpera 7344e17620 [mono-threads] Introduce mono_thread_info_get/set_tools_data so they can store data sanely.
The tools_data is a helper to bind tls data lifecycle to MonoThreadInfo.
This is needed to make it sane to deal with posix TLS destructors.
2018-05-28 10:49:52 +02:00
Ludovic Henry ea8a24b1bb [2017-12] [mini] Don't verify types if you store to a pointer byref. (#8425)
* [mini] Don't verify types if you store to a pointer byref. Workarounds #8403.

* [mini] Add regression test for punting a type system check.
2018-04-24 13:46:20 -04:00
Alexis Christoforides a5b924fa68 Merge pull request #8412 from mono/backport-new-boottime-2017-12
Backport new mono_msec_boottime() to 2017-12
2018-04-24 12:00:06 -04:00
monojenkins 34396522f3 [arm] Fix a regression introduced by: (#8415)
[watch] Align cinfo->stack_usage to 16 on watchos. (#8354)

Fixes https://github.com/mono/mono/issues/8409.
2018-04-24 11:55:53 -04:00
Alexis Christoforides dd6e11936b [runtime] Don't use clock_gettime on WatchOS and tvOS. 2018-04-23 14:24:32 -04:00
Alexis Christoforides e81726eb29 [runtime] Don't use clock_gettime in MacOS.
Even though it's found during configure when targetting 10.7, it's not "really" available before versions 10.12 and it would crash with "lazy symbol binding failed".
2018-04-23 14:24:30 -04:00
Zoltan Varga c7a91c01fa [runtime] Fix mono_msec_boottime () so it compiles on older ios versions, clock_gettime () is only available from ios 10. (#7671) 2018-04-23 14:24:26 -04:00
Alexis Christoforides c6b39a0614 [mono-time] Replace mono_msec_boottime() with CoreCLR implementation. Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=58413 2018-04-23 14:17:44 -04:00
monojenkins 99af4a9eda [watch] Align cinfo->stack_usage to 16 on watchos. (#8377)
Fixes https://github.com/mono/mono/issues/7685.
2018-04-23 12:56:34 -04:00
monojenkins 75be2e6537 [sdks] Match more closely the pre-SDKs configure flags passed to LLVM (#8382) 2018-04-20 16:15:33 -04:00
monojenkins 9273efd973 [sdks] Fix mktemp parameters (#8325) 2018-04-18 19:20:21 -04:00
monojenkins 8eb8f7d5e7 [sdks] Fix typo + Fix verbosity of unzip-android-archive.sh (#8245) 2018-04-13 19:37:57 -04:00
Rolf Bjarne Kvinge c6a8c0e38a [System.Net.Http] Use '*' as the host instead of '+' in the tests. Fixes xamarin/maccore#673.
Use '*' as the host instead of '+' in the tests.

The behavior should be the same, just faster, because '+' will fail to resolve
("Could not resolve host '+'"), and we'll fall back to the same behavior as
'*': https://github.com/mono/mono/blob/5128cce2dcd097aa4e7b86dd3b56e833c15a9ff0/mcs/class/System/System.Net/EndPointManager.cs#L83-L96

The problem arises when failing to resolve '+' takes a long time: on some of
our bots it takes 5-10 seconds. This adds up quickly since the tests try many
times, effectively increasing a test run from 1-2 seconds to 30+ minutes.

Fixes https://github.com/xamarin/maccore/issues/673.
2018-04-13 14:26:58 +02:00
Aleksey Kliger (λgeek) c2e1021ed0 [2017-12][TermInfo] support new file format terminfo2 introduced with ncurses6.1 (#8203)
* support new file format terminfo2 introduced with ncurses6.1

see also
https://github.com/mirror/ncurses/commit/1501ae2a13db0ffd2db8404c24aa5010a88ea91b#diff-2c0786db969084ba9e087d82f8275e0b

fixes https://github.com/mono/mono/issues/6752

* change wording for unknown magic number

* Bump corlib version
2018-04-12 18:08:48 -04:00
monojenkins 29bbcfb022 [sdks] Add ANDROID_BUILD_TOOLS_DIR to differentiate it from ANDROID_BUILD_TOOLS_VERSION (#8193) 2018-04-11 19:10:17 -04:00
monojenkins 2cc6bede97 [sdks] Fix typo (#8189) 2018-04-11 18:18:31 -04:00
Zoltan Varga 16cad3ccd4 [sdks] Add support for building llvm unless the USE_PREBUILT_LLVM Make.config var is set. (#8017) (#8151)
* [sdks] Add support for building llvm unless the USE_PREBUILT_LLVM Make.config var is set.

* [sdks] Use prebuilt llvm binaries on ios CI.

* [sdks] Use the IGNORE_PACKAGE_LLVM variable to enable the building of llvm.
2018-04-10 15:53:30 -04:00
Alexander Köplinger 8605da46f5 [System] Don't use http://www.mono-project.com for test (#8147)
When we tried switching mono-project.com to enforce HTTPS these tests
started failing on systems without working SSL configuration.

Use a different domain which is guaranteed to be available over HTTP instead.

(cherry picked from commit a748bad303)
2018-04-10 15:08:18 +02:00
Alexander Köplinger d194b8fd4d [2017-12] [Facades] Add System.Drawing.Common on mobile only (#8130)
* [Facades] Add System.Drawing.Common on mobile only

* Bump API snapshot submodule
2018-04-10 02:37:40 +02:00
monojenkins a749680783 [sdks] Fix arguments passed to llvm on Linux (#8108) 2018-04-09 08:46:48 -04:00
monojenkins b4e428d7c4 [sdks] Use wget in place of curl, it's installed by default on Linux (#8060)
[2017-12] [sdks] Use wget in place of curl, it's installed by default on Linux
2018-04-05 19:22:19 -04:00
monojenkins 1cb70ef771 [SDKS] fix Linux (and possibly other OSes) build for Android (#8045)
OS: Ubuntu 18.03
CMake: 3.10

For some reason cmake fails to detect any make program (be it ninja or make)
when cross-compiling for Android in XA. It happens despite the programs being in
$PATH and working correctly. The effect is that CMAKE_MAKE_PROGRAM is set to
"not found" in CMakeCache.txt and configuration fails as follows:

 Call Stack (most recent call first):
   external/mono/external/boringssl/util/android-cmake/android.toolchain.cmake:1140 (CMAKE_FORCE_CXX_COMPILER)
   external/mono/sdks/builds/android-armeabi-v7a-debug/mono/btls/build-shared/CMakeFiles/3.10.2/CMakeSystem.cmake:6 (include)
      CMakeLists.txt:3 (project)
   CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
      -- Configuring incomplete, errors occurred!

This commit does not fix the issue, per se, but it works around it by finding
the first ninja/make (as configured) executable in $PATH and setting the
CMAKE_MAKE_PROGRAM to full path of the executable. I haven't spent too much time
investigating *why* cmake fails to find the executable (I merely ran it with
--trace-expand --debug-output which revealed nothing of consequence) but this
workaround should be safe for any version of CMake and any OS we use makefiles
on.
2018-04-05 15:24:43 -04:00
monojenkins 00f930c13d [SDKS] Fix Android SDK build on Linux (#8022)
Current build uses `tar` to extract ZIP archives. This works with BSD
tar but not with GNU tar, alas. Tar was used in order to strip the root
directory of Android archive while moving files into place. This commit
replaces `tar` with a call to a shell script (because doing what it does
using Make defines is an exercise in pain) which works both on macOS/BSD
and on Linux.
2018-04-05 11:39:00 -04:00
monojenkins 911b32aef0 [runtime] Fix --disable-btls. (#8001) 2018-04-04 18:20:14 -04:00
monojenkins 82306753f9 [sdks] Fix MXE_PREFIX for XA (#8011)
It should take 7 characters from the hash, not 6.
2018-04-04 15:28:32 -04:00
monojenkins edabe88417 [sdb] Add reference counting for single step requests, they can be accessed concurrently by the single step processing code and the event request clearing code. Fixes #7137. (#7973) 2018-04-04 13:38:49 -04:00
Alexander Köplinger 12304ec458 [2017-12] [Facades] Add System.Memory facade to mobile profiles (#7969)
* [Facades] Add System.Memory facade to mobile profiles

Contains only the types we have right now.

Fixes https://github.com/mono/mono/issues/7610

(cherry picked from commit ddcb792c01)

* Bump API snapshot submodule
2018-04-04 02:33:20 +02:00
monojenkins 9340ebefcd [2017-12] Disable building btls/ and support/ on the bcl build, they are not needed. (#7959)
* [runtime] Add a --disable-btl-lib configure option to disable the building of the btls lib, but compile the managed code with btls support.

* Disable building btls/ and support/ on the bcl build, they are not needed.
2018-04-03 16:00:29 -04:00
Ludovic Henry 32031273ec [2017-12] [sdks] Add provisioning for Android SDK and NDK (#7980)
* [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-04-03 11:17:42 -04:00
monojenkins 083c130d4a [System] Disable SocketTest.AcceptBlockingStatus (#7976)
It frequently fails on ARM: https://github.com/mono/mono/issues/6513
2018-04-03 10:47:38 -04:00
Bernhard Urban b149c23832 [ppc] use ucontext_t
`struct ucontext` has been removed from glibc and `ucontext_t` has been
around for a while now.

Fixes a build failure on Ubuntu 18.04

Related glibc change
https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=251287734e89a52da3db682a8241eb6bccc050c9;hp=c86ed71d633c22d6f638576f7660c52a5f783d66
2018-04-03 04:15:11 -04:00
Rodrigo Kumpera 8aa3f6182f [runtime] Add regression test for nested famility visibility. 2018-03-31 23:54:21 +02:00
Rodrigo Kumpera db135e42db [runtime] Fix class visibility check for protected nested classes. Fixes #7657.
A nested class that has protected access must be checked using the same inheritance based rules as members.
The existing code ignores that and does a plain visibility check that is only amendable for public/internal nested types.
2018-03-31 23:54:21 +02:00
monojenkins de7bff2994 [sdks] Fix LLVM build for XA (#7918) 2018-03-29 20:48:38 -04:00
monojenkins 28f285b972 [2017-12] [sdks] Fix LLVM build on Linux for XA + Fix MXE usage on non-Darwin platforms (#7911)
* [sdks] Fix LLVM build on Linux for XA

* [sdks] Fix MXE usage on non-Darwin platforms
2018-03-29 13:06:46 -04:00
monojenkins 9b8ba28bac Bump API snapshot submodule 2018-03-29 17:29:11 +02:00
Marek Safar 3c76d261e1 Hide new API which didn't make it to stable on time for dev15.7 2018-03-29 17:29:11 +02:00
Marek Safar b932a792d8 Bump corefx 2018-03-29 17:29:11 +02:00
monojenkins 34c3d019ed [sdks] Fix usage of MXE for XA (#7899) 2018-03-28 22:05:53 -04:00
monojenkins 6c4c039c9b [jit] Add signature checking for CALLI. (#7881)
Fixes #7792.
2018-03-28 21:49:00 -04:00
monojenkins 4de0fb710b [2017-12] [sdks] Pass LLVM_SRC from XA to use xamarin-android/external/llvm + Pass IGNORE_PACKAGE_MXE from XA + Only checkout specific MXE and LLVM commit when cloning (#7896)
* [sdks] Pass LLVM_SRC from XA to use `xamarin-android/external/llvm`

We do not clone to `$(LLVM_SRC)` because this is up to XA.

* [sdks] Pass IGNORE_PACKAGE_MXE from XA

This is to avoid rebuilding MXE while XA already took care of it.

* [sdks] Only checkout specific MXE and LLVM commit when cloning
2018-03-28 21:44:50 -04:00
monojenkins c45f358856 [sdks] Pass MXE_SRC from XA to use xamarin-android/external/mxe (#7889)
We do not clone to or remove `$(MXE_SRC)` because this is up to XA.
2018-03-28 18:27:21 -04:00
Ludovic Henry bf27e25446 Remove suspicious mono_gchandle_free
Fixes https://github.com/mono/mono/issues/7786
2018-03-26 18:01:42 +02:00
monojenkins 4e276971c0 Fix the ios sdk build. (#7823) 2018-03-25 17:39:56 -04:00
monojenkins 1075824929 Fix Android build for toolchain (#7819) 2018-03-23 21:21:00 -04:00
monojenkins 2dbce94d6f Disable the interpreter on ios device builds. (#7796) 2018-03-23 14:23:02 -04:00
monojenkins 1f09e9af88 Fix Android build for mxe (#7783) 2018-03-22 20:50:08 -04:00
monojenkins 847a2de1d0 Fix Android build on Linux (#7776) 2018-03-22 18:36:54 -04:00
monojenkins beb137dd79 Fix Android build (#7770) 2018-03-22 16:55:56 -04:00
Alexis Christoforides d95eaa61b1 Revert "Disable a flaky test."
Wrong branch

This reverts commit 264e0d4bb2.
2018-03-22 11:59:26 -04:00
Marek Safar f3a6da6d94 Bump corefx to bring a fix for #7696 2018-03-22 16:49:47 +01:00
Alexis Christoforides 264e0d4bb2 Disable a flaky test.
https://github.com/mono/mono/issues/7568
2018-03-22 11:43:10 -04:00
Zoltan Varga 2eba668040 Fix partially shared constrained calls in llvmonly mode.
Fixes https://github.com/mono/mono/issues/7535.
2018-03-21 12:56:33 +01:00
Zoltan Varga 607e20ee6c Avoid aot-ing the bcl libs twice in make fullaotcheck/llvmonlycheck. 2018-03-21 12:56:33 +01:00
monojenkins 47631c34a7 [2017-12] [sgen] Use current nursery size when computing allowance (#7653)
* Use current nursery size when computing allowance

The allowance is the minimum heap growth that we allow between two majors (which is 4 * nursery_size). We need to use the current nursery size instead of the 4MB default, in order to facilitate low memory uses.

* Account for soft heap limit in allowance calculation

This is relevant in cases where the nursery size and soft heap limit are comparable in size.
2018-03-20 15:08:00 -04:00
Alexander Köplinger 942eb2b779 Revert "Replace mono_msec_boottime() with CoreCLR implementation. Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=58413" (#7704)
This reverts commit e3466bc325.

It caused issues such as https://github.com/mono/mono/pull/7671 and since it's just an enhancement we don't need it in 2017-12.
2018-03-20 11:36:38 +01:00
Alexis Christoforides 225ba3efa4 Merge pull request #7687 from mono/backport-gh-7584-2017-12
[System.Net] Replace use of obsolete `SupportsIPv6` property.
2018-03-19 23:02:11 -04:00
Alexander Köplinger 7bdd7b1738 Bump version to 5.10.1 (#7690) 2018-03-19 23:02:19 +01:00
Alexis Christoforides 42672fbcb2 [System.Net] Replace use of obsolete SupportsIPv6 property.
The obsolete property was always set to false. Fixes https://github.com/mono/mono/issues/6940
2018-03-19 12:51:12 -04:00
monojenkins 129dc324e7 [2017-12] [sdks] Fix concurrent building of MonoAotOffsetsDumper.exe + Simplify building of support library (#7667)
* Simply building of support library

* Fix concurrent building of MonoAotOffsetsDumper.exe

* Cleanup of some targets
2018-03-18 11:43:58 -04:00
Zoltan Varga dac6077561 Increase the buffer size in emit_exception_debug_info ().
Fixes https://github.com/mono/mono/issues/7637.
2018-03-16 13:10:01 +01:00
Zoltan Varga 3141c9490d [sdks] IOS fixes. (#7617) (#7628)
* [sdks] Fix ios build.

* [sdks] Pass -DMONOTOUCH to the ios cross compiler builds. Compile monotouch/tvos/watchos profiles for the bcl build.
2018-03-15 14:57:16 -04:00
Alexis Christoforides e3466bc325 Replace mono_msec_boottime() with CoreCLR implementation. Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=58413 2018-03-15 19:02:49 +01:00
Bernhard Urban a7adb18ce2 only target macOS, HOST_DARWIN includes iOS etc. as well 2018-03-14 09:14:21 +01:00
Alexander Kyte 131c3dd675 Add icall to configure MERP options / enable it 2018-03-13 12:43:55 +01:00
Alexander Kyte c836aa14af Add optional Microsoft Telemetry unmanaged dumper 2018-03-13 12:43:55 +01:00
Marek Safar 5dae72b19b Update source file location from commit d4816ef1ab 2018-03-13 08:49:32 +01:00
Zoltan Varga 4050681098 [tests] Disable delegate-15.exe in the full-aot profile. (#7529) (#7564)
* [jit] Avoid calling mono_class_vtable () for open constructed types.

* [tests] Disable delegate-15.exe in the full-aot profile.
2018-03-12 11:15:34 -04:00
Zoltan Varga ef8ab4986a Fix the clearing of bits in the gc descriptor bitmap when using weak fields. Fixes #7378. 2018-03-12 09:15:25 +01:00
monojenkins 266326d7c2 Move the check for open constructed types later in mono_jit_compile_method_with_opt (), this function can receive gshared methods in llvmonly mode. (#7505)
Fixes https://github.com/mono/mono/issues/7364.
2018-03-08 19:09:11 -05:00
Ludovic Henry 89cc3619d5 Use runtime template for iOS 2018-03-08 14:29:13 +01:00
Ludovic Henry 05453b1c80 Use runtime template for Android 2018-03-08 14:29:13 +01:00
Ludovic Henry 0938bbc98c Create common runtime compilation template 2018-03-08 14:29:13 +01:00
Ludovic Henry c06eb62b14 Have RELEASE be empty when CONFIGURATION != 'release' 2018-03-08 14:29:13 +01:00
Ludovic Henry 0fb02c88cd Move common targets 2018-03-08 14:29:13 +01:00
Aleksey Kliger d4aa545f56 [metadata] An array is not an IEnumerator`1
Address https://github.com/mono/mono/issues/7093 in kind of an adhoc way.

The correct fix is to make
```
    ((IEnumerable<U>) (new T[] {...})).GetEnumerator()
```
return an `IEnumerator<U>` (like .NET does) instead of `IEnumerator<T>`
and to stop marking IEnumerator as an array special interface.
2018-03-08 10:51:54 +01:00
Aleksey Kliger ff7f5576d2 [test] An array is not an IEnumerator`1
regression test for Regression test for https://github.com/mono/mono/issues/7093
2018-03-08 10:51:54 +01:00
Aleksey Kliger d5d67eab6a [metadata] Add IEnumerator`1 to MonoDefaults struct 2018-03-08 10:51:54 +01:00
Alex Rønne Petersen 15d76bf5e2 Revert "[profiler] Correctly encode counter type/unit/variance values."
This reverts commit 26de079c89.

This resulted in 2017-12 having only a small part of the full v15 format as
seen in master or 2018-02. As such, files produced with 2017-12 were
effectively unreadable by mprof-report and the Xamarin Profiler.

Revert 2017-12 to v14 as backporting all of v15 (including the GC roots revamp)
is a fairly huge undertaking.
2018-03-07 13:16:47 +01:00
monojenkins f3ac8fdeb3 Fix for gcc 4.4; nominal support for older. attribute(deprecated(message)) was introduced in gcc 4.5. attribute(deprecated) was introduced in gcc 4.0? pragma GCC diagnostic 4.2? https://github.com/mono/mono/issues/7408 (#7436) 2018-03-06 13:35:16 -05:00
Marek Safar 1f48672a90 Fixes decoding of CMS/PKCS #7 messages with an explicit cryptographic object identifier 2018-03-06 18:24:17 +01:00
Rolf Bjarne Kvinge becded2606 [2017-12] [corlib] Ignore TimeZoneTest.TestCtors on iOS under certain conditions due to an Apple bug. (#7427)
Fixes https://github.com/xamarin/maccore/issues/629.
2018-03-06 14:31:19 +01:00
Alexander Köplinger d21cb0853b Don't throw NotImplementedException in Dispose()
We had a few stubs that threw not implemented exceptions in Dispose()
which causes the finalizer thread to abort.

Since those classes throw in the constructor already there's no way
to create a valid object and we can remove the throw in Dispose().

Fixes https://github.com/mono/mono/issues/7338
2018-03-05 23:11:49 +01:00
Zoltan Varga f7f359a2dd IOS SDK fixes. (#7417)
* [sdks] Pass -DMONOTOUCH to the ios cross compiler builds.

* [sdks] Compile monotouch/tvos/watchos profiles for the bcl build.
2018-03-05 14:29:40 -05:00
monojenkins 607cbde47a Reenable HttpRequestIgnoreBadCookies in monotouch. (#7392)
The test was ran in the current xamarin-macions and works as expected.
2018-03-03 00:19:18 +01:00
Aleksey Kliger 85fb6bce10 [appdomain] Fix path clobbering when trying to shadow copy siblings
The original version of this code overwrote the same string over and over
again.  Because of the order of operations, when looking for siblings of
Test.dll, we would probe for Test.dll.mdb, then Test.pdb, then Test.pdb.config
(note the last one - should be Test.dll.config).

New version of the code uses fresh strings for each sibling.

Fixes https://github.com/mono/mono/issues/7262
2018-03-02 08:43:35 +01:00
monojenkins 78136c4a90 Use attribute(deprecated) instead of attribute(error). (#7370)
Backport of #7362.
2018-03-01 22:31:01 +01:00
Zoltan Varga b4c45099fb [sdks] Add watch device build. 2018-03-01 15:17:49 +01:00
Zoltan Varga 70837feda9 [sdks] Add watch simulator build. 2018-03-01 15:17:49 +01:00
Zoltan Varga c2728d29f7 [sdks] Add tv simulator build. 2018-03-01 15:17:49 +01:00
Aleksey Kliger 54b2e194f3 [runtime] Don't assert in mono_class_is_assignable_from on iface gtd
Don't assert when comparing if an "array special interface" is assignable from
an array.

The code assumed that the special interface is some sort of generic instance
like ``IList`1<string>``, but it could be a generic type definition
``IList`1``.

There is a case where we would be obligated to return TRUE:
If someone used reflection to get the generic param of ``IList`1`` and then made an
array:
```
   var i = typeof (IList<>);
   var iparam = i.GetTypeInfo().GenericTypeParameters [0]; // returns gparam T
   var a = iparam.MakeArrayType (); // T[]

   Console.WriteLine (i.IsAssignableFrom (a));
```

But that case is handled by the `MONO_CLASS_IMPLEMENTED_INTERFACE` check,
earlier in mono_class_is_assignable_from.

So we can return FALSE here.

Fixes https://github.com/mono/mono/issues/7095
2018-03-01 14:18:37 +01:00
Aleksey Kliger 10f1f84138 [test] System.Type.IsAssignableFrom of gtd array special interfaces.
Regression test for https://github.com/mono/mono/issues/7095
2018-03-01 14:18:37 +01:00
Alexander Köplinger e1ff841329 [ci] Consistently use CI_TAGS instead of label (#6782)
The `label` environment variable is set by Jenkins based on the
chroot/node configuration a given job is using.

This crept into the CI scripts while it should have been a
separate concern and caused all sorts of issues when we bumped
from e.g. debian-8-* to debian-9-* in some jobs.

Instead we should consistently use the CI_TAGS env var which we
control exclusively.

(cherry picked from commit eafd6e916f)
2018-02-28 22:33:19 +01:00
monojenkins 46912f8f80 Fix errors in cpu-s390x.md which are exposed by the new genmdesc. (#7323) 2018-02-28 16:29:01 +01:00
Bernhard Urban 3f4f070d3d disable test_42_arm64_dyncall_vtypebyval
regression test introduced by https://github.com/mono/mono/pull/6826
fails on ARM64 with interp
2018-02-28 09:58:02 +01:00
monojenkins 331f927bfe Bump nunitlite (#7276)
Backport of #7275.
2018-02-27 21:26:07 +01:00
Vlad Brezae da6a45a158 Check if we are exceeding the worker count limit 2018-02-27 09:27:57 +01:00
Zoltan Varga 21d6b331fc Ios sdk changes (#7258)
* [sdks] Add armv7s device build.

* [sdks] Disable dtrace on the cross compiler builds.

* [sdks] Avoid building mono-dtrace.h for the cross compilers, its not needed anymore.

* [sdks] Add a configure-mono target.

* [sdks] Put back the call to CheckXcodeDir.

* [sdks] Enable ccache if possible.

* [sdks] Generalize iosDeviceTemplate so it can build the tvos runtime as well. Add tvos device build.
2018-02-27 03:19:05 -05:00
monojenkins e87d1235da Merge mxe-Win32 and mxe-Win64 targets since we are building both in XA anyway (#7280) 2018-02-26 15:22:39 -05:00
Alexander Köplinger b9fb4d8857 Bump bockbuild to get curl error changes 2018-02-23 17:35:24 +01:00
Zoltan Varga b7031bccfc Emit the same instances in hybrid aot mode as in full aot mode.
Fixes https://github.com/mono/mono/issues/7086.
2018-02-23 15:18:44 +01:00
monojenkins 3538148a18 [2017-12] [xbuild] add property that is available in msbuild (#7224)
* add property that is available in msbuild

They fsharp team decided to remove a `#if MONO` with the assumption that
`xbuild` is dead and everything has switched over to `msbuild`:
https://github.com/Microsoft/visualfsharp/pull/3969/files#diff-bcb4028a918d13bbab2d0c1c15c97e6aL181
https://github.com/Microsoft/visualfsharp/pull/3969/commits/5e17e3111f88b1a1f025ac54c8147052e12f347f#r151844561

which, alas, is not true yet.

With this PR we started to ship above modifications in the MDK:
https://github.com/mono/mono/pull/7018

* Bump API snapshot submodule
2018-02-23 13:28:06 +01:00
Zoltan Varga 947e457f0e [sdks] Instead of using a XCODE_VERSION variable, let the caller set the XCODE_DIR variable directly, since x.ios is using a full path. (#7111) 2018-02-22 13:31:50 -05:00
Alexis Christoforides 7f0c97aa03 Bump bockbuild for https://github.com/mono/bockbuild/pull/62 (#7207) 2018-02-22 15:39:58 +01:00
Zoltan Varga 85cfb9ccab Disable partial sharing during JITting, its only been tested in full aot mode, and doesn't seem to work with JITted methods. Fixes https://github.com/mono/mono/issues/7085. 2018-02-22 14:45:04 +01:00
Zoltan Varga 22a6ec10b1 Add hybrid aot tests. 2018-02-22 14:45:04 +01:00
Marek Safar 454bd206aa Remove reflection calls for value has to be set 2018-02-22 08:39:57 +01:00
Bernhard Urban 4adf8229e8 bump nunit-lite (#7139)
Commit list for mono/NUnitLite:

* mono/NUnitLite@b777682 [FinallyDelegate] only call it if available, on some platforms (e.g. iOS) it can be set to null (#7)
* mono/NUnitLite@0dc7716 [FinallyDelegate] make key for `lookupTable` actually unique (#6)
* mono/NUnitLite@a8bef89 make FinallyDelegate more resilient regarding unhandled exceptions (#5)

Diff: https://github.com/mono/NUnitLite/compare/764656cdafdb3acd25df8cb52a4e0ea14760fccd...b7776829bb7b2f9c58db045a6f40be40bcd96761
2018-02-21 10:45:25 -05:00
Jonathan Pryor de4729fae2 [mono-api-html] Expand "ignore" functionality (#7154)
Context: https://github.com/xamarin/xamarin-android/pull/1078

xamarin-android uses `mono-api-html` and `mono-api-info` in order to
perform API comparisons; see e.g. 4e459045.

A recent problem has arisen regarding "inter-API-level diffs": there
are many API changes which we consider to be acceptable, and thus
would like to ignore. Unfortunately, `mono-api-html` doesn't support
ignoring many of these constructs, e.g. base class changes:

	<h3>Type Changed: Android.Preferences.CheckBoxPreference</h3>
	Modified base type: <span class='removed removed-inline removed-breaking-inline'>Android.Preferences.Preference</span> <span class='added '>Android.Preferences.TwoStatePreference</span>

and property type changes:

	<h3>Type Changed: Android.Views.InputEvent</h3>
	<p>Modified properties:</p>
	<pre>
	<div data-is-breaking>	public <span class='added added-breaking-inline'>abstract</span> int DeviceId { get; }
	</div><div data-is-breaking>	public <span class='added added-breaking-inline'>abstract</span> InputSourceType Source { get; }

Overhaul the `mono-api-html` "ignore" infrastructure:

  * Introduce ignore "scoping". Previously, the ignore options would
    only match the *member* text against any provided regular
    expression. Thus, `mono-api-html -r ToString` would ignore *all*
    members containing `ToString`. Furthermore, there was no way to
    restrict the ignore to a particular type. Expand the regex
    semantics so that the declaring type is used as a "prefix" for the
    to-be-matched text. For example, if a class `Example` is removed,
    `mono-api-html` will now match the following value against any
    `-r` regular expressions:

	Example: Removed type

  * Add a `mono-api-html -v` option, to control output verbosity.
    When specified, `mono-api-html` will print out available `-r`/etc.
    option values:

	$ mono-api-html expected.xml new.xml -v
	Possible -a value: Android.Resource: Added fields: public static const int AccessibilityEventTypes;
	Possible -r value: Android.Preferences.CheckBoxPreference: Modified base type: 'Android.Preferences.Preference' to 'Android.Preferences.TwoStatePreference'
	Possible -r value: Android.Views.InputEvent: Modified properties: public int DeviceId { get; }
	Possible -n value: Android.Views.UnavailableException: Added type
	...

Additionally, allow `mono-api-html` to take a
`Mono.Options.ResponseFileSource`, which allows `@response-files` to
be used as command-line options.
2018-02-21 13:57:17 +01:00
monojenkins 721462c4a1 [2017-12] [corlib] Fix RuntimeFeatureTest.NoNewFeaturesAdded on mobile (#7152)
Backport of #7149.
2018-02-21 00:13:27 +01:00
Ludovic Henry 177997b063 [sdks] Fix for XA integration (#7108) 2018-02-18 21:13:59 -05:00
Zoltan Varga c8845164ad Merge more SDK changes from mono master. (#7090)
* [sdks] Add targets for the watch cross compiler. (#7061)

* [offsets-tool] Add an '--output' argument to specify the output file directly instead of generating it from the target triple.

* [sdks] Add targets for the watch cross compiler.

* [sdks] Set XCODE_VERSION to 'Xcode' for now to fix the ios build. (#6568)

* [sdks] Set more ios version variables to empty to fix the build. (#6571)
2018-02-18 14:02:48 -05:00
Ludovic Henry ac87945049 Revert "Merge more SDK changes from mono master." (#7106)
* Revert "[sdks] Fix for XA integration (#7092)"

This reverts commit 5ef368bb1e.

* Revert "Merge more SDK changes from mono master. (#7090)"

This reverts commit c67ec40879.
2018-02-18 13:40:01 -05:00
Ludovic Henry 5ef368bb1e [sdks] Fix for XA integration (#7092) 2018-02-18 13:31:24 -05:00
Zoltan Varga c67ec40879 Merge more SDK changes from mono master. (#7090)
* [sdks] Add targets for the watch cross compiler. (#7061)

* [offsets-tool] Add an '--output' argument to specify the output file directly instead of generating it from the target triple.

* [sdks] Add targets for the watch cross compiler.

* [sdks] Set XCODE_VERSION to 'Xcode' for now to fix the ios build. (#6568)

* [sdks] Set more ios version variables to empty to fix the build. (#6571)
2018-02-16 23:14:25 -05:00
monojenkins fd1fd05f18 * Generalize commit 0c6932a985 to support LDARG{0|1|2|3}, LDLOC{0|1|2|3}, LDARGS, LDLOCS, LDARG and LDLOC instead of LDLOC and LDLOCS. Improves generated code similar to issue #60945 (#7062)
Backport of #6226.
2018-02-16 21:50:49 +01:00
Alexander Köplinger 936f7841d7 [ci] Disable monodoc tests on Windows for now
They fail: https://github.com/mono/mono/issues/6956

(cherry picked from commit 939d720770)
2018-02-16 21:49:23 +01:00
Ludovic Henry 9a2f778a91 [coop] Disable failing tests on PR (#6472)
(cherry picked from commit b58dee4b87)
2018-02-16 21:47:26 +01:00
Alexis Christoforides 96eee2f901 Disable some PngCodecTest that have trouble on CI right now
(cherry picked from commit dcda4c77bc)

See https://github.com/mono/mono/issues/6908
2018-02-16 21:33:42 +01:00
Bernhard Urban 28e047fd35 [debugger] disable StepOutAsync test because it's flaky
(cherry picked from commit 8f35227b88)
2018-02-16 21:33:30 +01:00
Ludovic Henry 0d51a8063b [sdks] Backport changes from master (#7084)
This allows us to start integration to the products straight from the mono:2017-12 branch, without having to wait for mono:2018-02 to be merged.
2018-02-16 13:01:17 -05:00
monojenkins b232a3929b Bump aot file format version because of 7cac757e60. (#7083) 2018-02-16 03:00:56 -05:00
Ludovic Henry fbc4f0546d Bump to cecil:mono-2017-12 2018-02-15 15:06:27 -05:00
Alexander Köplinger d0c1e9d32b Revert nunit-lite to earlier version
The recent FinallyDelegate changes have issues on iOS
2018-02-15 16:13:32 +01:00
Ankit Jain 778a70ba01 Add denied assembly versions from previous ms extensions nugets
Extracted from Microsoft.NET.Build.Extensions

	2.1.0-preview1-62414-02   # https://github.com/dotnet/cli/blob/501e11d928c21608999c934f0a7078570b688c6c/build/DependencyVersions.props
	15.5.0-preview-20171027-2 # https://github.com/dotnet/cli/blob/ed916bb13e798a470855fb4f60acd3cabb2765fc/build/DependencyVersions.props
	2.0.0-preview3-20170622-1 # https://github.com/dotnet/cli/blob/7c928a9f18f81001e586e5bf0411f9bfa92e30d4/build/DependencyVersions.props

And also remove incorrect entries from earlier version
2.1.0-preview1-62516-03 , which were not committed to mono's msbuild.

A future commit will sort and de-dedup the lists, but this one avoids
removing any existing duplicates, to make review easier.
2018-02-15 10:53:21 +01:00
Ludovic Henry f83b8da83e Bump to cecil:master 2018-02-15 09:27:35 +01:00
Alexander Köplinger f12e936ca3 [packaging] Remove FSharp patches that are no longer required
Obsoleted by the bump from 3da56339ec
2018-02-14 23:49:57 +01:00
Alexander Köplinger 3977339940 [packaging] Windows: remove FSharp.Core from GAC (#6345)
See https://github.com/mono/mono/pull/6295#issuecomment-354156711.

(cherry picked from commit f93caff1c8)
2018-02-14 23:49:57 +01:00
Zoltan Varga cb15effa2f Emit the weak field indexes table using the MONO_AOT_TABLE code, so it works with separate aot data files/bitcode.
Fixes https://github.com/mono/mono/issues/6948.
2018-02-14 18:31:56 +01:00
Zoltan Varga 2ad3f0bf9e Bug 60088 - Assertion at ../../../../external/mono/mono/mini/debugger-agent.c:4765, condition `array->len == 1' not met (#7004)
Problem was that I didn't consider `async void` method when adding that assert
2018-02-13 23:39:18 -05:00
Alexander Köplinger 899599b951 Bump nunitlite 2018-02-14 02:45:53 +01:00
Alexander Köplinger 3da56339ec [2017-12] Update F# to 4.1.33 (#7020)
Backport of #7003
2018-02-14 02:38:36 +01:00
Ludovic Henry a0af42ab18 [corlib] Pass null-terminated string for logging (#6954) 2018-02-13 14:08:32 -05:00
Alexander Kyte aab818fbf3 Revert mkbundle defaulting behavior made in ca8b8bd346
Fixes https://github.com/mono/mono/issues/6187
2018-02-13 19:07:18 +01:00
Ludovic Henry 4b1745401d Revert to NUnitLite:764656c
This would break on iOS with following stacktrace:

```
Unhandled Exception:
System.ArgumentException: An item with the same key has already been added. Key: MonoTouchFixtures.CoreFoundation.BundleTest.TestStaticResourceUrlsNullType
  at System.ThrowHelper.ThrowAddingDuplicateWithKeyArgumentException (System.Object key) [0x00000] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/mcs/class/referencesource/mscorlib/system/throwhelper.cs:176
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x001ad] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/external/corefx/src/Common/src/CoreLib/System/Collections/Generic/Dictionary.cs:466
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/external/corefx/src/Common/src/CoreLib/System/Collections/Generic/Dictionary.cs:232
  at NUnit.Framework.Internal.FinallyDelegate.Set (NUnit.Framework.Internal.TestExecutionContext context, System.Int64 startTicks, NUnit.Framework.Internal.TestResult result) [0x00023] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/external/nunit-lite/NUnitLite-1.0.0/src/framework/FinallyDelegate.cs:77
  at NUnit.Framework.Internal.WorkItems.WorkItem.DispatchWork (System.Object o) [0x00059] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/external/nunit-lite/NUnitLite-1.0.0/src/framework/Internal/WorkItems/WorkItem.cs:204
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:957
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:904
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:893
  at NUnit.Framework.Internal.WorkItems.WorkItem.RunTest () [0x00005] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/external/nunit-lite/NUnitLite-1.0.0/src/framework/Internal/WorkItems/WorkItem.cs:188
  at NUnit.Framework.Internal.WorkItems.WorkItem.Execute (NUnit.Framework.Internal.TestExecutionContext context) [0x00063] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/external/nunit-lite/NUnitLite-1.0.0/src/framework/Internal/WorkItems/WorkItem.cs:136
  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.RunChildren () [0x00035] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/external/nunit-lite/NUnitLite-1.0.0/src/framework/Internal/WorkItems/CompositeWorkItem.cs:154
  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.PerformWork () [0x000de] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/external/nunit-lite/NUnitLite-1.0.0/src/framework/Internal/WorkItems/CompositeWorkItem.cs:93
  at NUnit.Framework.Internal.WorkItems.WorkItem.DispatchWork (System.Object o) [0x00071] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/external/nunit-lite/NUnitLite-1.0.0/src/framework/Internal/WorkItems/WorkItem.cs:205
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:957
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:904
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:893
  at NUnit.Framework.Internal.WorkItems.WorkItem.RunTest () [0x00005] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/external/nunit-lite/NUnitLite-1.0.0/src/framework/Internal/WorkItems/WorkItem.cs:188
  at NUnit.Framework.Internal.WorkItems.WorkItem.Execute (NUnit.Framework.Internal.TestExecutionContext context) [0x00063] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/external/nunit-lite/NUnitLite-1.0.0/src/framework/Internal/WorkItems/WorkItem.cs:136
  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.RunChildren () [0x00035] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/external/nunit-lite/NUnitLite-1.0.0/src/framework/Internal/WorkItems/CompositeWorkItem.cs:154
  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.PerformWork () [0x000de] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/external/nunit-lite/NUnitLite-1.0.0/src/framework/Internal/WorkItems/CompositeWorkItem.cs:93
  at NUnit.Framework.Internal.WorkItems.WorkItem.DispatchWork (System.Object o) [0x00071] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/external/nunit-lite/NUnitLite-1.0.0/src/framework/Internal/WorkItems/WorkItem.cs:205
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:957
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:904
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:893
  at NUnit.Framework.Internal.WorkItems.WorkItem.RunTest () [0x00005] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/external/nunit-lite/NUnitLite-1.0.0/src/framework/Internal/WorkItems/WorkItem.cs:188
  at NUnit.Framework.Internal.WorkItems.WorkItem.Execute (NUnit.Framework.Internal.TestExecutionContext context) [0x00063] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/external/nunit-lite/NUnitLite-1.0.0/src/framework/Internal/WorkItems/WorkItem.cs:136
  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.RunChildren () [0x00035] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/external/nunit-lite/NUnitLite-1.0.0/src/framework/Internal/WorkItems/CompositeWorkItem.cs:154
  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.PerformWork () [0x000de] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/external/nunit-lite/NUnitLite-1.0.0/src/framework/Internal/WorkItems/CompositeWorkItem.cs:93
  at NUnit.Framework.Internal.WorkItems.WorkItem.DispatchWork (System.Object o) [0x00071] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/external/nunit-lite/NUnitLite-1.0.0/src/framework/Internal/WorkItems/WorkItem.cs:205
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:957
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:904
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:893
  at NUnit.Framework.Internal.WorkItems.WorkItem.RunTest () [0x00005] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/external/nunit-lite/NUnitLite-1.0.0/src/framework/Internal/WorkItems/WorkItem.cs:188
  at NUnit.Framework.Internal.WorkItems.WorkItem.Execute (NUnit.Framework.Internal.TestExecutionContext context) [0x00063] in /Users/poupou/git/d15-7/xamarin-macios/external/mono/external/nunit-lite/NUnitLite-1.0.0/src/framework/Internal/WorkItems/WorkItem.cs:136
  at MonoTouch.NUnit.UI.BaseTouchRunner.Run (NUnit.Framework.Internal.Test test) [0x0004d] in /Users/poupou/git/d15-7/xamarin-macios/external/Touch.Unit/NUnitLite/TouchRunner/TouchRunner.cs:449
  at MonoTouch.NUnit.UI.BaseTouchRunner.Run () [0x00030] in /Users/poupou/git/d15-7/xamarin-macios/external/Touch.Unit/NUnitLite/TouchRunner/TouchRunner.cs:171
  at MonoTouch.NUnit.UI.BaseTouchRunner.<AutoRun>b__40_0 () [0x00000] in /Users/poupou/git/d15-7/xamarin-macios/external/Touch.Unit/NUnitLite/TouchRunner/TouchRunner.cs:139
  at MonoTouch.NUnit.UI.TouchRunner+<>c__DisplayClass19_0.<ExecuteOnMainThread>b__0 () [0x00000] in /Users/poupou/git/d15-7/xamarin-macios/external/Touch.Unit/NUnitLite/TouchRunner/TouchRunner.cs:685
  at Foundation.NSAsyncActionDispatcher.Apply () [0x00000] in /Users/poupou/git/d15-7/xamarin-macios/src/Foundation/NSAction.cs:125
--- End of stack trace from previous location where exception was thrown ---
  at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
  at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Users/poupou/git/d15-7/xamarin-macios/src/UIKit/UIApplication.cs:79
  at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00038] in /Users/poupou/git/d15-7/xamarin-macios/src/UIKit/UIApplication.cs:63
at monotouchtest.Application.Main (System.String[] args) [0x00011] in /Users/poupou/git/d15-7/xamarin-macios/tests/monotouch-test/Main.cs:28
```
2018-02-12 16:20:03 -05:00
monojenkins 1746c18f79 [2017-12] nuget-hash-extractor: Add support for handling nuget with multiple (#6912)
* nuget-hash-extractor: Add support for handling nuget with multiple

.. assemblies.

This is specifically required for handling .net assemblies in
`Microsoft.NET.Build.Extensions` nuget which don't work on mono. These
assemblies are bundled with msbuild and we want to be able to deny these
at runtime.

* nuget-hash-extractor: Add msbuild extensions nuget to list of nugets to

.. process. Version from:

https://github.com/dotnet/cli/blob/501e11d928c21608999c934f0a7078570b688c6c/build/DependencyVersions.props

```
    <MicrosoftNETSdkPackageVersion>2.1.0-preview1-62414-02</MicrosoftNETSdkPackageVersion>
    <MicrosoftNETBuildExtensionsPackageVersion>$(MicrosoftNETSdkPackageVersion)</MicrosoftNETBuildExtensionsPackageVersion>
```

Also, update the list in the runtime and deniedAssembliesList.txt
installed for use by msbuild.
2018-02-12 17:38:53 +01:00
monojenkins 38c4fa936f Bump API snapshot submodule 2018-02-09 16:30:18 -05:00
Marek Safar c1fcbe0ae8 [System.Data] Add missing api 2018-02-09 16:30:18 -05:00
Zoltan Varga b66bc5390f Handle arguments of type ArgVtypeOnStack in the dyn call code. Part of the fix for #59184. 2018-02-08 16:53:28 -05:00
Alexander Köplinger 0501da7b55 [bcl] Fix more assembly identity mismatches (#6870)
As a follow up to https://github.com/mono/mono/issues/6848 I checked
all the assemblies and found some more identity mismatches with .NET

(cherry picked from commit c84e6c81a2,
minus the Microsoft.VisualC.dll version fix)
2018-02-08 22:33:55 +01:00
Alexander Köplinger 587fed1498 Bump bockbuild to get new gtk+ repo location 2018-02-08 19:50:51 +01:00
Marius Ungureanu e62d2ff40f Bump bockbuild to add gtk# generator fix (#6882)
Bug 61202 - Fatal error when adding aspect ratio constraint
2018-02-08 15:32:46 +01:00
Bernhard Urban f5e8783eee ignore LocalId test on XAMMAC_4_5 too
https://github.com/xamarin/maccore/issues/628
2018-02-08 10:41:22 +01:00
monojenkins 231983017c [2017-12] [reference-assemblies] Fix public key for some newer v4.7.1 facades (#6866)
Fixes https://github.com/mono/mono/issues/6848
2018-02-08 01:08:34 +01:00
Egor Bogatov b6bff2a286 Add stubs for Interop.NetSecurityNative 2018-02-07 13:09:08 -05:00
Jonathan Chambers 142047819b Pass TRUE for 'repeat' of send variants. This matches behavior of receive variants. Fixes blocking send call where Win32 returns WSAEWOULDBLOCK.
Related to issue https://github.com/mono/mono/issues/6464
2018-02-07 11:18:39 +01:00
Alexander Köplinger e146c01ec9 [ci] Add setting artifacts.json status
Needed for QA automation.

(cherry picked from commit f8a4bbd357)
2018-02-07 00:42:48 +01:00
Alexander Köplinger 7d20732432 [ci] Add Windows .msi PR build (#6815)
Use the trigger `@monojenkins build pkg and msi`.

(cherry picked from commit 687dc212dc)
2018-02-07 00:32:36 +01:00
monojenkins fa7740e0a1 Bump API snapshot submodule 2018-02-06 10:39:06 -05:00
Marek Safar 8a3c54a555 Bump corefx 2018-02-06 10:39:06 -05:00
Rodrigo Kumpera a5ccbc4f92 Fix the Android xattr check to not disable it on all other platforms. 2018-02-06 09:07:27 -05:00
Alexander Köplinger 71fdb336b8 [ci] Make sure packageFileName is a string
It was the file object before and just got turned into string
by coincidence in most places.

(cherry picked from commit c7f89e7837)
2018-02-05 21:37:11 +01:00
Alexander Köplinger 6ea480ea70 [ci] Report pending/failed status on GitHub for pkg/msi
(cherry picked from commit 0bfda265b7)
2018-02-05 18:36:09 +01:00
Alexander Köplinger 9407a08c98 [ci] Include commit hash in blob URL of pkg/msi
This makes it easier to infer the commit just based on the URL.

(cherry picked from commit 4682391599)
2018-02-05 18:36:06 +01:00
Alexander Köplinger a024fe40af [packaging] Add install of Visual Basic compiler (#6787)
Backport of https://github.com/mono/mono/pull/6127
2018-02-05 17:56:40 +01:00
Zoltan Varga 6094376b9d Fix a regression introduced by e05343ddf5: Disable the ldobj+stobj optimization for reference types.
Fixes https://github.com/mono/mono/issues/6777.
2018-02-05 09:37:30 -05:00
Marek Safar bfc7397859 [build] Bump corlib counter for mcs changes 2018-02-05 09:36:00 -05:00
Alexander Köplinger 4cefdc21f5 Improve ZipCreateFromEntryChangeTimestamp test
`entry.LastWriteTime` is an unspecified/local DateTime but we're
comparing it against `date` which is in UTC. This could lead to
issues where the Day isn't matching when running the test around
midnight.

Examples:

https://github.com/xamarin/maccore/issues/597
https://jenkins.mono-project.com/job/xamarin-android-pr-builder/2387/testReport/Xamarin.Android.Bcl_Tests,%20MonoTests.System.IO.Compression.FileSystem/ZipArchiveTests/ZipCreateFromEntryChangeTimestamp___Debug/
2018-02-04 17:42:17 -05:00
Zoltan Varga 79b419483f Fix OP_ICONV_TO_OVF_I8_UN, it should use OP_ZEXT_I4 instead of a 0 shift which can be eliminated by cprop.
Fixes https://github.com/mono/mono/issues/6721.
2018-02-04 17:40:25 -05:00
Marek Safar 0dbef43aa8 Disable few tests which blocks when run on main loop 2018-02-03 21:18:07 -05:00
Ludovic Henry 6be8ed4490 [Mono.Security] Be a bit more verbose on assertion failure 2018-02-01 18:08:23 -05:00
Vlad Brezae e87f9d77e7 Revert "[mini] Align stack when resuming to catch handler"
This reverts commit ab20369d5f.

It breaks llvm EH : https://github.com/xamarin/xamarin-macios/issues/3241
2018-01-30 22:59:50 -05:00
Marek Safar 2c07caaa89 Add a detection for ByRefLikeMarker 2018-01-30 22:59:11 -05:00
Ludovic Henry f59d94b8ef [mkbundle] Fix generated file when passing --bundled-header
There would be a compilation error in the XA build as follow:

```
obj/Release/bundles/armeabi-v7a/temp.c: In function 'install_aot_modules':
obj/Release/bundles/armeabi-v7a/temp.c:49:25: error: 'MONO_AOT_MODE_NORMAL' undeclared (first use in this function)
  mono_jit_set_aot_mode (MONO_AOT_MODE_NORMAL);
                         ^
obj/Release/bundles/armeabi-v7a/temp.c:49:25: note: each undeclared identifier is reported only once for each function it appears in
```
2018-01-30 22:56:13 -05:00
Marek Safar 8690335a1b Implements 7.2 stackalloc to Span assignment conversion. 2018-01-30 22:54:54 -05:00
Marek Safar 98a566225a Allow calling by-ref types virtual methods which can be devirtualized. 2018-01-30 15:37:59 -05:00
Marek Safar 4837409ab5 Implements C# 7.0 Generalized async return types 2018-01-30 15:36:53 -05:00
Marek Safar b05dad9f31 readonly struct this can be reassigned within ctor 2018-01-30 15:36:33 -05:00
Marek Safar 94fa6e513e [mcs] Adds parser support for readonly ref syntax 2018-01-30 12:17:30 +01:00
Marek Safar 84c3251449 Bump mono-basic to bring latest fixes 2018-01-29 21:03:37 +01:00
Zoltan Varga f9011ff53a Use sgen_is_object_alive_for_current_gen () instead of sgen_is_object_alive (), the latter doesn't work for oldspace objects, causing the gc handle to be freed even through the object is still alive. Fixes https://github.com/mono/mono/issues/6490. 2018-01-29 17:50:05 +01:00
monojenkins 664424113b Bump API snapshot submodule 2018-01-29 17:46:25 +01:00
Marek Safar 008fadc689 [System.Data] Fixes mobile build 2018-01-29 17:46:25 +01:00
Marek Safar 8ab23120b1 [System.Data] Disable test which has complex dependency 2018-01-29 17:46:25 +01:00
EgorBo d7e3297640 fix system.data ssl-bug on linux 2018-01-29 17:46:25 +01:00
Zoltan Varga 2ab1f71dc7 [runtime] Disallow casts between int[] and IList<int?> etc. Fixes #6401. 2018-01-29 17:46:25 +01:00
Marek Safar c0264304e7 Bump corefx 2018-01-29 17:46:25 +01:00
Marek Safar c7837d7526 Bump corefx 2018-01-29 17:46:25 +01:00
Marek Safar df24f1e8da [mcs] Fixes parsing of default literal inside conditional expression 2018-01-29 17:46:25 +01:00
Marek Safar d54e8b4e13 Bump corert 2018-01-29 17:46:25 +01:00
Marek Safar 4eae0ba533 Bump corefx (#6119) 2018-01-29 17:46:25 +01:00
Marek Safar f4ac568f87 [mcs] Implements C# 7 tuples implicit deconstruction 2018-01-29 17:46:25 +01:00
Marek Safar 62f7ec0ae8 [mcs] Adds missing default literal conversion test in probing code path 2018-01-29 17:46:25 +01:00
Marek Safar bb98788ef5 [mcs] Fixes assumption that string class has no implicit/explicit conversion operators 2018-01-29 17:46:25 +01:00
Marek Safar e292c7b245 [mcs] Implements C# 7.0 discards 2018-01-29 17:46:25 +01:00
Alexander Köplinger b0a755079e [packaging] Add GitHub status for packaging result
PKG-mono for the OSX .pkg and MSI-mono_{x86|x64} for the Windows .msi

(cherry picked from commit 1177d7cad9)
2018-01-29 15:02:08 +01:00
Alexander Köplinger e131c9ce2a [packaging] Move setting build description to end
This ensures we don't advertise the link if e.g. signing fails.

(cherry picked from commit 3238bf3586)
2018-01-28 03:53:46 +01:00
Alexander Köplinger 4da306a2ca [packaging] Add signing to Windows build
(cherry picked from commit 758154731a)
2018-01-28 03:53:45 +01:00
Alexander Köplinger ba2ad8a64e [packaging] Produce correct Windows .msi file name
We've been using a certain pattern for the Windows .msi for a long
time but the build output used a different name which we simply
manually renamed before publishing.

Since we want to automate as much as possible we can change the
build to produce the correct name right away.

(cherry picked from commit d9a7a04f05
and b153e9074a)
2018-01-28 03:53:44 +01:00
Alexander Köplinger 5a725c544d [packaging] Set MONO_BUILD_REVISION for OSX package build (#6698)
Otherwise the default bockbuild behavior is to use the tip of
MONO_BRANCH which is not what we want when building on Jenkins.

(cherry picked from commit 4248d073d6)
2018-01-28 03:52:43 +01:00
Zoltan Varga aa440dbfba [runtime] Avoid padding classes with an explicit size. Fixes #60298. (#6223) 2018-01-25 10:14:00 +01:00
Alexander Köplinger c085d00019 [build] Redirect api build to reference-assemblies (#6657)
(cherry picked from commit 7bf60c3ec9)
2018-01-25 02:25:37 +01:00
Manuel de la Pena 57500fce5d [Test] Skip some tests from System.ServiceModel on WatchOS. (#6649) 2018-01-24 12:51:04 +01:00
Ludovic Henry 11bea3ec41 Fix watchos tests for system.data (#6600) (#6619) 2018-01-23 16:02:08 -05:00
Alexander Kyte 570226dc13 [tests] Fix cscs/mcs specific GetMethodBody logic 2018-01-23 14:37:37 +01:00
Alexander Kyte 123d623cf8 [runtime] Apply cctor filters to callees of cctors (#6562) 2018-01-23 09:37:51 +01:00
Ludovic Henry 9ccd1450ab Bump linker (#6627) 2018-01-22 18:12:45 -05:00
Manuel de la Pena d303a9096c [Tests] Skip a subset of the System.IdentityModel for iOS and Mac. (#6595) 2018-01-22 13:02:50 +01:00
Alexander Köplinger 12fa379c6a [tests] Disable weak-fields.exe on LLVM as well
(cherry picked from commit 0c59209931)
2018-01-19 01:02:44 +01:00
Ankit Jain 4796de33e9 Bump msbuild to track mono-2017-12 msbuild branch HEAD (#6578) 2018-01-19 00:51:05 +01:00
Manuel de la Pena 1d5a4b8440 [Tests] Skip System.ServiceModel tests that are not supported on XamMac 4.5 (#6575) 2018-01-18 19:09:17 +01:00
Radek Doulik a9e184e780 [Tests] Do not assume order of returned interfaces
Updated the System.Reflection.Emit/SaveTest to not depend on order of
interfaces returned from the System.Type::GetInterfaces method, as the
order is not guaranted. As described in the [documentation][0].

Also see github [issue][1] for more information and reasoning.

[0]: https://msdn.microsoft.com/en-us/library/system.type.getinterfaces(v=vs.110).aspx#Anchor_2
[1]: https://github.com/xamarin/xamarin-android/issues/1186
2018-01-18 09:31:47 +01:00
Alexander Köplinger 041e1dd073 Make sure .sources has newline at end of file
Confuses linux packaging otherwise
2018-01-18 09:05:09 +01:00
Marek Safar a4c1776ccb Bump linker 2018-01-18 09:05:09 +01:00
Ludovic Henry 30737519b8 Merge pull request #6554 from luhenry/backport-2017-12-cdecb851ff6bbf2d0602104d4db0df86b0c4b7ba
[sgen] Fix overflow on large arrays (#6542)
2018-01-17 15:09:32 -05:00
Alexander Köplinger 0a30e46bb2 [Tests] Skip some of the System.ServiceModel tests when using MOBILE (#6549)
Mobile does not support all clases found in System.ServiceModel, we skip
those tests of the not supported classes yet run all the others.

(cherry picked from commit 3f372d06ee)
2018-01-17 16:37:57 +01:00
Vlad Brezae a76978f83a [sgen] Fix overflow on large arrays (#6542) 2018-01-17 09:13:40 -05:00
Miguel de Icaza becaba2655 Use Environment.Platform to access the platform, rather than probing the file system (#6541)
Backport of #6535 to 2017-12
2018-01-17 00:52:00 +01:00
Marek Safar 88f7b739ee [corlib] Fixes StoppedThreadsThrowThreadStateException test build 2018-01-16 13:07:37 +01:00
Ludovic Henry 40432cd2ca [w32process] Ensure process_handle is a legal value (#6449)
* [w32process] Ensure process_handle is a legal value

Fixes https://github.com/mono/mono/issues/6383

* [w32process] Remove dead code
2018-01-16 12:22:32 +01:00
Marek Safar 52e225e4b1 [mcs] C# 7.2 non-trailing named arguments 2018-01-16 09:06:47 +01:00
Alexander Köplinger 70a71e69fe [2017-12] [class] Add Obsolete message to ICSharpCode.SharpZipLib.dll (#6517)
* [class] Add Obsolete message to ICSharpCode.SharpZipLib.dll

Users should use the nuget package instead, we'll remove the assembly in Mono 6.0

Don't install it into the 4.7.1 reference assembly directory anymore.

* Bump api-snapshot
2018-01-15 20:22:55 +01:00
Alexander Köplinger a59563176a Bump gtksharp in bockbuild (#6386) 2018-01-15 16:57:26 +01:00
Bernhard Urban a496a9a5ff [valuetypes] incorporate review feedback for 77a53f0dc9 (#6403) 2018-01-15 16:24:46 +01:00
Bernhard Urban 26f12f2f9c [valuetypes] use memcmp in default implementation of Equals for unaligned fields
some architectures (e.g. ARM) do not support reads of unaligned pointers

fixes https://github.com/mono/mono/issues/6320
2018-01-15 16:24:46 +01:00
Manuel de la Pena bdf199da26 [Tests] Ensure that tests are runnable on xamarin-macios (#5875) 2018-01-15 09:27:58 +01:00
Zoltan Varga 00413c20a2 [runtime] Fix some default interface method problems. (#6484) (#6502)
* [runtime] Allow access to protected default interface methods from classes which implement the interface.

* [interp] Add some automatic conversations between virtual and non-virtual calls that .net has. Fixes dim-valuetype.il.

* [bcl] Sort the MethodImpl table in PEAPI.

* [runtime] Enable dim-methodimpl.exe test.

* [runtime] Fix vtable construction tracing.

* [interp] Fix null checks on the receiver when converting virtual calls to non-virtual.
2018-01-13 06:05:06 -05:00
Brendan Zagaeski 70fe915df2 [System]: Ensure WebConnection calls nstream.EndWrite()
Also ensure that WebConnection calls nstream.EndRead().

Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=61002

This bug is a regression in HTTPS web request cancellation behavior
first introduced on the 2017-06 branch by
https://github.com/mono/mono/commit/1b5e0f73316ee7b83c8947bc738015443fabd7af.
It is in fact resolved already for the master branch by the refactoring
in https://github.com/mono/mono/pull/6125.  But since that refactoring
is too large to backport and since the master branch won't be integrated
into a release for a while longer, it is worth adding a separate smaller
fix for the older active development branches.

This proposed fix is intentionally conservative in how it modifies
`WebConnection.EndWrite()` and `WebConnection.EndRead()`.  It makes sure
to keep precisely the same return values and exceptions as before.

The fix also makes a small change to the `Close()` method to avoid
setting `nstream = null`.  This allows any pending `EndWrite()`,
`EndRead()`, or `ReadDone()` callbacks to use the `nstream` field even
after `Close()` has run.  This shouldn't cause any new garbage
collection issues because the closed `WebConnection` object is not
expected to live much longer than the `NetworkStream` object referenced
by `nstream`.

Example of the problem for canceling `HttpClient.SendAsync()`
=============================================================

1. `WebConnectionStream.SetHeadersAsync()` calls
   `WebConnection.BeginWrite()`, passing in an anonymous callback method
   that will later call `WebConnection.EndWrite()` when the asynchronous
   write operation completes [1].

2. When the `CancellationToken` for the call to `HttpClient.SendAsync()`
   is notified about the cancellation, it calls `HttpWebRequest.Abort()`
   [2], which calls `WebConnection.Abort()`, which calls
   `WebConnection.Close()`.

3. `WebConnection.Close()` calls `Close()` on both the
   `MobileAuthenticatedStream` and the network `Socket` and nulls out
   the `WebConnection`'s field references to those objects [3].
   `MobileAuthenticatedStream.Close()` in turn calls
   `MobileAuthenticatedStream.Dispose()`, which sets the `lastException`
   field to an `ObjectDisposedException`.  If the asynchronous write
   operation from step 1 is still in progress at this point, it will
   throw the `ObjectDisposedException`.

4. When `MobileAuthenticatedStream.StartOperation()` throws the
   `ObjectDisposedException` (thus completing the running Task), the
   anonymous callback method from step 1 gets invoked, and it calls
   `WebConnection.EndWrite()`.

5. The problem is that now `WebConnection.EndWrite()` fails to call
   `MobileAuthenticatedStream.EndWrite()`.  There are 2 parts of the
   problem:

   (a) `WebConnection.EndWrite()` always returns _before_ calling
   `MobileAuthenticatedStream.EndWrite()` [4] because the call to
   `Abort()` at step 2 has set the request status to canceled [5].

   (b) Even if the cancellation status check weren't there, the attempt
   to call `MobileAuthenticatedStream.EndWrite()` still wouldn't work
   because `Close()` has set the reference to the stream to `null` at
   step 3.

The proposed fix addresses (a) by rearranging `WebConnection.EndWrite()`
and `WebConnection.EndRead()` so that they _always_ call the
corresponding `MobileAuthenticatedStream` methods.  It addresses (b) by
removing the line in `Close()` that sets the `nstream` field to `null`.

How did mono/2017-06 commit 1b5e0f7 introduce this problem?
===========================================================

Commit 1b5e0f7 uses Tasks and the `TaskToApm()` helper method
_correctly_, so by itself it's OK.  The problem is that the older
`WebConnection` methods already had underlying limitations _before_
commit 1b5e0f7.  In the Asynchronous Programming Model, "for each call
to BeginOperationName, the application should also call EndOperationName
to get the results of the operation" [6].  But `WebConnection` did not
strictly follow this rule.  For example, `WebConnection.EndWrite()` did
_not_ always call `MobileAuthenticatedStream.EndWrite()`.  This
imprecise behavior worked until now because unlike unobserved exceptions
in Tasks, "unobserved" exceptions in AsyncResult objects don't trigger
any behaviors when the objects are finalized.  (The exceptions are just
discarded.)  But now that `MobileAuthenticatedStream.BeginWrite()` uses
Tasks behind the scenes, `WebConnection` needs to be stricter about
following the rules.

Testing the proposed fix against old bugs from `git blame`
==========================================================

- Commit 613c2a9182

  https://bugzilla.xamarin.com/show_bug.cgi?id=31507

  Results: Verified still fixed.  I was able to reproduce the original
  behavior by intentionally removing the old fix.  I then put the old
  fix back, added the new proposed changes, and verified that the test
  case still produced the good behavior (only task cancellation
  messages).

- Commit 7584df6cf8

  Neither of the bugs mentioned in the commit message for 7584df6cf8
  appears to be related to the `Data.request` check.  Since that check
  is the only part of the commit touched by the new proposed changes,
  neither of the bugs should be affected.  But just to be thorough, I
  quickly ran through the test cases associated with those bugs.

  https://bugzilla.novell.com/show_bug.cgi?id=515931

  Results: OK.  I tried the test case from
  https://bugzilla.novell.com/show_bug.cgi?id=515097 with
  `AllowWriteStreamBuffering` set to `true` or `false`.  The write
  operation started successfully in both cases, and the call to
  `Abort()` was able to cancel the operation as expected.

  https://bugzilla.novell.com/show_bug.cgi?id=510642

  Results: OK.  The test case still produced the expected overflow
  exception.

References
==========

[1] https://github.com/mono/mono/blob/b293f453027bc075ce636988b383451e5c346347/mcs/class/System/System.Net/WebConnectionStream.cs#L664-L666
[2] https://github.com/mono/mono/blob/b293f453027bc075ce636988b383451e5c346347/mcs/class/System.Net.Http/System.Net.Http/HttpClientHandler.cs#L347
[3] https://github.com/mono/mono/blob/b293f453027bc075ce636988b383451e5c346347/mcs/class/System/System.Net/WebConnection.cs#L1131-L1143
[4] https://github.com/mono/mono/blob/b293f453027bc075ce636988b383451e5c346347/mcs/class/System/System.Net/WebConnection.cs#L1033-L1034
[5] https://github.com/mono/mono/blob/b293f453027bc075ce636988b383451e5c346347/mcs/class/System/System.Net/WebConnection.cs#L1169
[6] https://docs.microsoft.com/dotnet/standard/asynchronous-programming-patterns/asynchronous-programming-model-apm
2018-01-10 09:33:12 +01:00
Zoltan Varga 4dee5cabd9 [jit] Convert stores into sign/zero extensions for small ints during alias-analysis. Fixes gh #6414. 2018-01-10 09:17:30 +01:00
Alexander Köplinger a250365791 [System] Set exception on Finish*Failure in SocketAsyncEventArgs (#6462)
Follow up to https://github.com/mono/mono/pull/6431, we should
capture the exception that is passed to the methods.

Copied the SetResult() method that referencesource uses.

(cherry picked from commit ad5703adfd)
2018-01-09 17:32:27 +01:00
Miguel de Icaza b6677cc2ba Implement a couple of SocketAsyncEventArgs methods 2018-01-09 17:32:27 +01:00
Marek Safar dcaf47f518 [runtime] Adds System.Numeric remapping. Fixes #6339 2018-01-03 11:25:00 +01:00
Alexander Köplinger 30d69ae55e [packaging] Remove files from gtksharp package that would overwrite Mono files
I found out that we were packaging e.g. MonoPosixHelper.dll from
the gtksharp msi instead of the one we build in Mono :P

This only happened in the x86 build because we don't package
gtksharp in the x64 build.

(cherry picked from commit ff197eb405)
2018-01-03 03:29:59 +01:00
Alexander Köplinger 519e15744c [packaging] Add check for cygwin paths on Windows (#6364)
We don't want to package these, found a few that needed to be removed/fixed.

(cherry picked from commit d3356e6aab)
2018-01-03 03:29:55 +01:00
Aleksey Kliger (λgeek) 907075a5f0 Merge pull request #6308 from lambdageek/bug-gh-6192-2017-12
[SRE] Emit a memberref token for fields,methods of a gtd
2017-12-29 10:55:13 -05:00
Aleksey Kliger 3a0de9703b [sre] Emit a memberref token for fields,methods of a gtd
This can happen when emitting code like:
```
  class Foo<T> {
    T elt;
    public T getter () {
      return elt;  // ILGenerator.Emit (OpCodes.Ldfld, /*FieldBuilder of Foo::elt*/)
    };
  }
```

the old incorrect code emitted a fielddef token for Foo::elt, but it should be a
memberref for Foo<!0>::elt.

Likewise, if we have
```
class Foo<T> {
  public T f () { /*...*/}
  public void g () {
    var x = f (); // ILGenerator.Emit (OpCodes.Call, /* MethodBuilder of Foo::f */)
    /*... */
  }
}
```

Fixes https://github.com/mono/mono/issues/6192

the old incorrect code would emit a fieldref token for Foo::f but it should be
a memberref for Foo<!0>::f
2017-12-20 15:53:11 -05:00
Aleksey Kliger d4ffec6385 [tests] SRE check that a memberref token is emitted for a gtd
Regression test for https://github.com/mono/mono/issues/6192
2017-12-20 15:53:10 -05:00
Radek Doulik 4116105b8b [monodroid] Build linker-analyzer tool for monodroid
We would like to include linker analyzer in the Xamarin.Android
installation (https://github.com/xamarin/xamarin-android/issues/1093)
2017-12-20 15:29:45 +01:00
Ludovic Henry 34634352e1 [interp] Fix build when disabled (2) 2017-12-19 23:08:41 +01:00
Alexander Kyte 4b62c55e7d [runtime] Fixes issue when compiling with -no_weak_imports 2017-12-19 22:08:44 +01:00
Alexis Christoforides 9a2543e8c0 Merge pull request #6275 from vargaz/2017-12-6191
[interp] disable weak-fields.exe (#6191)
2017-12-18 19:01:27 -05:00
Alexis Christoforides a68cfd2ffa Merge branch '2017-12' into 2017-12-6191 2017-12-18 18:58:32 -05:00
Bernhard Urban 84f05e8817 [interp] disable weak-fields.exe (#6191) 2017-12-18 15:04:52 -05:00
Zoltan Varga ea6f8ab201 [aot] Fix aot+llvm after the weak field changes. (#6248) 2017-12-18 15:03:42 -05:00
Ludovic Henry 17f4b4286f [threads] Fix leak of gchandle to MonoInternalThread
Fixes https://github.com/mono/mono/issues/6169
2017-12-18 16:58:48 +01:00
Bernhard Urban 4f130913c6 [mini] isalnum() respects encoding in python3, we only want to have ASCII chars (#6199) (#6265) 2017-12-17 12:10:43 +01:00
Marek Habersack dd1faf6f54 [android] Android NDK does not contain API level/platform 12
Lack of it causes a build error in XA:

   CMake Error at [..]mono/external/boringssl/util/android-cmake/android.toolchain.cmake:800 (message):
         Specified Android native API level 'android-12' is not supported by your

The set of minimum API levels in `configure.ac` is incorrect. The current
NDK (r16) requires minimum API level of 14 for the 32-bit targets and level 21
for the 64-bit targets.
2017-12-16 10:32:53 +01:00
Ludovic Henry febbfd1e3e [interp] Fix build when disabled (#6224) 2017-12-12 21:29:27 -05:00
Alexander Köplinger 0c5a524e50 [tests] Disable weak-fields.exe on FullAOT as well
(cherry picked from commit 399c2c89c7)
2017-12-04 18:13:56 -05:00
Alexander Köplinger ec4a957151 Bump version to 5.10 (#6157) 2017-12-04 15:20:44 -05:00
581 changed files with 7973 additions and 2116 deletions

No files matched your search

+2
View File
@@ -7,6 +7,7 @@
[submodule "external/cecil"]
path = external/cecil
url = git://github.com/mono/cecil.git
branch = mono-2017-12
[submodule "external/rx"]
path = external/rx
url = git://github.com/mono/rx.git
@@ -43,6 +44,7 @@
[submodule "external/linker"]
path = external/linker
url = git://github.com/mono/linker.git
branch = mono-2017-12
[submodule "external/roslyn-binaries"]
path = external/roslyn-binaries
url = git://github.com/mono/roslyn-binaries.git
+2 -8
View File
@@ -11,15 +11,9 @@ else
tools_dir = tools
endif
if BUILD_SUPPORT
support_dir = support
else
support_dir =
endif
SUBDIRS = po $(libgc_dir) mono $(ikvm_native_dir) $(support_dir) data runtime scripts man samples $(tools_dir) msvc $(docs_dir) acceptance-tests llvm
SUBDIRS = po $(libgc_dir) mono $(ikvm_native_dir) support data runtime scripts man samples $(tools_dir) msvc $(docs_dir) acceptance-tests llvm
# Keep in sync with SUBDIRS
DIST_SUBDIRS = m4 po $(libgc_dir) mono ikvm-native $(support_dir) data runtime scripts man samples tools msvc docs acceptance-tests llvm
DIST_SUBDIRS = m4 po $(libgc_dir) mono ikvm-native support data runtime scripts man samples tools msvc docs acceptance-tests llvm
all: update_submodules
+45 -11
View File
@@ -1,7 +1,7 @@
# Process this file with autoconf to produce a configure script.
#AC_PREREQ([2.62])
AC_INIT(mono, [5.9.0],
AC_INIT(mono, [5.10.1],
[http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono])
AC_CONFIG_SRCDIR([README.md])
@@ -40,7 +40,7 @@ MONO_VERSION_BUILD=`echo $VERSION | cut -d . -f 3`
# This can be reset to 0 when Mono's version number is bumped
# since it's part of the corlib version (the prefix '1' in the full
# version number is to ensure the number isn't treated as octal in C)
MONO_CORLIB_COUNTER=1
MONO_CORLIB_COUNTER=4
MONO_CORLIB_VERSION=`printf "1%02d%02d%02d%03d" $MONO_VERSION_MAJOR $MONO_VERSION_MINOR 0 $MONO_CORLIB_COUNTER`
AC_DEFINE_UNQUOTED(MONO_CORLIB_VERSION,$MONO_CORLIB_VERSION,[Version of the corlib-runtime interface])
@@ -1545,6 +1545,33 @@ if test x$platform_android = xyes; then
fi
if test x$host_win32 = xno; then
dnl *************************************
dnl *** Checks for time capabilities ***
dnl *************************************
AC_MSG_CHECKING(for CLOCK_MONOTONIC)
AC_TRY_COMPILE([#include <time.h>], [
const int foo = CLOCK_MONOTONIC;
],[
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_CLOCK_MONOTONIC, 1, [CLOCK_MONOTONIC])
], [
AC_MSG_RESULT(no)
])
AC_MSG_CHECKING(for CLOCK_MONOTONIC_COARSE)
AC_TRY_COMPILE([#include <time.h>], [
const int foo = CLOCK_MONOTONIC_COARSE;
],[
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_CLOCK_MONOTONIC_COARSE, 1, [CLOCK_MONOTONIC_COARSE])
], [
AC_MSG_RESULT(no)
])
AC_CHECK_FUNC(mach_absolute_time, [AC_DEFINE(HAVE_MACH_ABSOLUTE_TIME, 1, [mach_absolute_time])])
AC_CHECK_FUNC(gethrtime, [AC_DEFINE(HAVE_GETHRTIME, 1, [gethrtime])])
AC_CHECK_FUNC(read_real_time, [AC_DEFINE(HAVE_READ_REAL_TIME, 1, [read_real_time])])
dnl hires monotonic clock support
AC_SEARCH_LIBS(clock_gettime, rt)
@@ -2673,8 +2700,10 @@ if test x$host_win32 = xno; then
dnl *********************************
dnl *** Checks for random ***
dnl *********************************
AC_CHECK_HEADERS(sys/random.h)
AC_CHECK_FUNCS(getrandom getentropy)
if test x$host_darwin = xno; then
AC_CHECK_HEADERS(sys/random.h)
AC_CHECK_FUNCS(getrandom getentropy)
fi
else
dnl *********************************
dnl *** Checks for Windows compilation ***
@@ -4352,9 +4381,14 @@ dnl *** Btls ***
dnl **************
AC_ARG_ENABLE(btls, [ --disable-btls Disable the BoringTls provider], enable_btls=$enableval, enable_btls=$BTLS_SUPPORTED)
AC_ARG_ENABLE(btls-lib, [ --disable-btls-lib Disable building the BTLS native library], enable_btls_lib=$enableval, enable_btls_lib=$BTLS_SUPPORTED)
AC_ARG_WITH(btls_android_ndk, [ --with-btls-android-ndk Android NDK for BoringTls])
AM_CONDITIONAL(BTLS, test x$enable_btls = xyes)
if test "x$enable_btls" = "xno"; then
enable_btls_lib=no
fi
AM_CONDITIONAL(BTLS, test x$enable_btls_lib = xyes)
btls_android=no
if test "x$enable_btls" = "xyes"; then
@@ -4393,22 +4427,22 @@ if test "x$enable_btls" = "xyes"; then
btls_arch=aarch64
;;
android-armv5)
BTLS_CMAKE_ARGS="-DANDROID_ABI=\"armeabi\" -DANDROID_NATIVE_API_LEVEL=12"
BTLS_CMAKE_ARGS="-DANDROID_ABI=\"armeabi\" -DANDROID_NATIVE_API_LEVEL=14"
;;
android-armv6)
BTLS_CMAKE_ARGS="-DANDROID_ABI=\"armeabi\" -DANDROID_NATIVE_API_LEVEL=12"
BTLS_CMAKE_ARGS="-DANDROID_ABI=\"armeabi\" -DANDROID_NATIVE_API_LEVEL=14"
;;
android-armv7)
BTLS_CMAKE_ARGS="-DANDROID_ABI=\"armeabi-v7a\" -DANDROID_NATIVE_API_LEVEL=12"
BTLS_CMAKE_ARGS="-DANDROID_ABI=\"armeabi-v7a\" -DANDROID_NATIVE_API_LEVEL=14"
;;
android-v8a)
BTLS_CMAKE_ARGS="-DANDROID_ABI=\"arm64-v8a\" -DANDROID_NATIVE_API_LEVEL=12"
BTLS_CMAKE_ARGS="-DANDROID_ABI=\"arm64-v8a\" -DANDROID_NATIVE_API_LEVEL=21"
;;
android-x86)
BTLS_CMAKE_ARGS="-DANDROID_ABI=\"x86\" -DANDROID_NATIVE_API_LEVEL=12"
BTLS_CMAKE_ARGS="-DANDROID_ABI=\"x86\" -DANDROID_NATIVE_API_LEVEL=14"
;;
android-x64)
BTLS_CMAKE_ARGS="-DANDROID_ABI=\"x86_64\" -DANDROID_NATIVE_API_LEVEL=12"
BTLS_CMAKE_ARGS="-DANDROID_ABI=\"x86_64\" -DANDROID_NATIVE_API_LEVEL=21"
;;
*)
AC_MSG_ERROR(Invalid BTLS platform)
+1 -1
+1 -1
+1 -1
+1 -1
+1 -1
View File
@@ -47,7 +47,7 @@ all-profiles $(STD_TARGETS:=-profiles): %-profiles: profiles-do--%
@:
profiles-do--%:
$(MAKE) $(PROFILES:%=profile-do--%--$*)
$(if $(PROFILES),$(MAKE) $(PROFILES:%=profile-do--%--$*))
# The % below looks like profile-name--target-name
profile-do--%:
+1 -1
View File
@@ -37,7 +37,7 @@ LIB_MCS_FLAGS += $(patsubst %,-r:%.dll, $(subst =,=$(topdir)/class/lib/$(PROFILE
else
ifdef API_BIN_REFS
LIB_MCS_FLAGS += $(patsubst %,-r:$(topdir)/../external/api-snapshot/profiles/$(API_BIN_PROFILE)/%.dll,$(API_BIN_REFS))
LIB_MCS_FLAGS += $(patsubst %,-r:$(topdir)/../external/binary-reference-assemblies/$(API_BIN_PROFILE)/%.dll,$(API_BIN_REFS))
endif
LIB_MCS_FLAGS += $(patsubst %,-r:$(topdir)/class/lib/$(PROFILE_DIRECTORY)/%.dll,$(LIB_REFS_FULL))
+1 -1
View File
@@ -31,7 +31,7 @@ MCS = $(BOOTSTRAP_MCS)
DEFAULT_REFERENCES = -r:$(topdir)/class/lib/$(PROFILE)/mscorlib.dll
PROFILE_MCS_FLAGS = -d:NET_4_0 -d:NET_4_5 -d:MONO -d:WIN_PLATFORM -d:BOOTSTRAP_BASIC -nowarn:1699 -nostdlib $(DEFAULT_REFERENCES)
API_BIN_PROFILE = net_4_x
API_BIN_PROFILE = v4.7.1
NO_SIGN_ASSEMBLY = yes
NO_TEST = yes
+1 -1
View File
@@ -15,7 +15,7 @@ profile-check:
DEFAULT_REFERENCES = -r:$(topdir)/class/lib/$(PROFILE_DIRECTORY)/mscorlib.dll
PROFILE_MCS_FLAGS = -d:NET_4_0 -d:NET_4_5 -d:MONO -d:WIN_PLATFORM -nowarn:1699 -nostdlib $(DEFAULT_REFERENCES)
API_BIN_PROFILE = net_4_x
API_BIN_PROFILE = v4.7.1
NO_SIGN_ASSEMBLY = yes
NO_TEST = yes
+1 -1
View File
@@ -27,7 +27,7 @@ PROFILE_MCS_FLAGS = \
$(DEFAULT_REFERENCES) \
$(PLATFORM_DEBUG_FLAGS)
API_BIN_PROFILE = monodroid
API_BIN_PROFILE = build/monodroid
FRAMEWORK_VERSION = 2.1
# the tuner takes care of the install
+1 -1
View File
@@ -28,7 +28,7 @@ PROFILE_MCS_FLAGS = \
$(PLATFORM_DEBUG_FLAGS) \
$(MONOTOUCH_MCS_FLAGS)
API_BIN_PROFILE = monotouch
API_BIN_PROFILE = build/monotouch
FRAMEWORK_VERSION = 2.1
# This is utility build only
+1 -1
View File
@@ -14,7 +14,7 @@ profile-check:
DEFAULT_REFERENCES = -r:$(topdir)/class/lib/$(PROFILE_DIRECTORY)/mscorlib.dll
PROFILE_MCS_FLAGS = -d:NET_4_0 -d:NET_4_5 -d:NET_4_6 -d:MONO -d:WIN_PLATFORM -d:MULTIPLEX_OS -nowarn:1699 -nostdlib $(DEFAULT_REFERENCES) $(PLATFORM_DEBUG_FLAGS)
API_BIN_PROFILE = net_4_x
API_BIN_PROFILE = v4.7.1
FRAMEWORK_VERSION = 4.5
XBUILD_VERSION = 4.0
+1 -1
View File
@@ -29,7 +29,7 @@ PROFILE_MCS_FLAGS = \
$(DEFAULT_REFERENCES) \
$(PLATFORM_DEBUG_FLAGS)
API_BIN_PROFILE = monotouch
API_BIN_PROFILE = build/monotouch
FRAMEWORK_VERSION = 2.1
# the tuner takes care of the install
+1 -1
View File
@@ -28,7 +28,7 @@ PROFILE_MCS_FLAGS = \
$(DEFAULT_REFERENCES) \
$(PLATFORM_DEBUG_FLAGS)
API_BIN_PROFILE = monotouch
API_BIN_PROFILE = build/monotouch
FRAMEWORK_VERSION = 2.1
# the tuner takes care of the install
+1 -1
View File
@@ -25,7 +25,7 @@ PROFILE_MCS_FLAGS = \
$(DEFAULT_REFERENCES) \
$(PLATFORM_DEBUG_FLAGS)
API_BIN_PROFILE = monotouch
API_BIN_PROFILE = build/monotouch
FRAMEWORK_VERSION = 2.1
NO_INSTALL = yes
+1 -1
View File
@@ -25,7 +25,7 @@ PROFILE_MCS_FLAGS = \
$(DEFAULT_REFERENCES) \
$(PLATFORM_DEBUG_FLAGS)
API_BIN_PROFILE = monotouch
API_BIN_PROFILE = build/monotouch
FRAMEWORK_VERSION = 2.1
NO_INSTALL = yes
+1 -1
View File
@@ -29,7 +29,7 @@ PROFILE_MCS_FLAGS = \
$(DEFAULT_REFERENCES) \
$(PLATFORM_DEBUG_FLAGS)
API_BIN_PROFILE = monotouch
API_BIN_PROFILE = build/monotouch
FRAMEWORK_VERSION = 2.1
# the tuner takes care of the install
+1 -1
View File
@@ -29,7 +29,7 @@ PROFILE_MCS_FLAGS = \
$(DEFAULT_REFERENCES) \
$(PLATFORM_DEBUG_FLAGS)
API_BIN_PROFILE = monotouch
API_BIN_PROFILE = build/monotouch
FRAMEWORK_VERSION = 2.1
# the tuner takes care of the install
+1 -1
View File
@@ -27,7 +27,7 @@ PROFILE_MCS_FLAGS = \
$(PLATFORM_DEBUG_FLAGS) \
$(XAMMAC_MCS_FLAGS)
API_BIN_PROFILE = monotouch
API_BIN_PROFILE = build/monotouch
FRAMEWORK_VERSION = 2.1
NO_TEST = yes
@@ -39,6 +39,7 @@ namespace ICSharpCode.SharpZipLib.BZip2
/// Base class for both the compress and decompress classes.
/// Holds common arrays, and static data.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public sealed class BZip2Constants
{
public readonly static int[] rNums = {
@@ -44,6 +44,7 @@ namespace ICSharpCode.SharpZipLib.BZip2
/// An input stream that decompresses from the BZip2 format (without the file
/// header chars) to be read as any other stream.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class BZip2InputStream : Stream
{
/// <summary>
@@ -45,6 +45,7 @@ namespace ICSharpCode.SharpZipLib.BZip2
/// header chars) into another stream.
/// TODO: Update to BZip2 1.0.1, 1.0.2
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class BZip2OutputStream : Stream
{
/// <summary>
@@ -86,6 +86,7 @@ namespace ICSharpCode.SharpZipLib.Checksums
/// </summary>
/// <see cref="ICSharpCode.SharpZipLib.Zip.Compression.Streams.InflaterInputStream"/>
/// <see cref="ICSharpCode.SharpZipLib.Zip.Compression.Streams.DeflaterOutputStream"/>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public sealed class Adler32 : IChecksum
{
/// <summary>
@@ -64,6 +64,7 @@ namespace ICSharpCode.SharpZipLib.Checksums
/// the information needed to generate CRC's on data a byte at a time for all
/// combinations of CRC register values and incoming bytes.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public sealed class Crc32 : IChecksum
{
readonly static uint CrcSeed = 0xFFFFFFFF;
@@ -45,6 +45,7 @@ namespace ICSharpCode.SharpZipLib.Checksums
/// <code>getValue</code>. The complete checksum object can also be reset
/// so it can be used again with new data.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public interface IChecksum
{
/// <summary>
@@ -41,6 +41,7 @@ using System;
namespace ICSharpCode.SharpZipLib.Checksums
{
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class StrangeCRC : IChecksum
{
readonly static uint[] crc32Table = {
@@ -41,6 +41,7 @@ namespace ICSharpCode.SharpZipLib.GZip
/// <summary>
/// This class contains constants used for gzip.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class GZipConstants
{
/// <summary>
@@ -79,6 +79,7 @@ namespace ICSharpCode.SharpZipLib.GZip
/// }
/// </code>
/// </example>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class GZipInputStream : InflaterInputStream
{
/// <summary>
@@ -72,6 +72,7 @@ namespace ICSharpCode.SharpZipLib.GZip
/// }
/// </code>
/// </example>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class GZipOutputStream : DeflaterOutputStream
{
//Variables
@@ -43,6 +43,7 @@ namespace ICSharpCode.SharpZipLib.Tar {
/// This exception is used to indicate that there is a problem
/// with a TAR archive header.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class InvalidHeaderException : System.IO.IOException
{
public InvalidHeaderException()
@@ -38,6 +38,7 @@ using System.Text;
namespace ICSharpCode.SharpZipLib.Tar {
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public delegate void ProgressMessageHandler(TarArchive archive, TarEntry entry, string message);
/// <summary>
@@ -61,6 +62,7 @@ namespace ICSharpCode.SharpZipLib.Tar {
/// TarBuffer.getCurrentRecordNum() and TarBuffer.getCurrentBlockNum()
/// methods, this would be rather trvial.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class TarArchive
{
bool verbose;
@@ -51,6 +51,7 @@ namespace ICSharpCode.SharpZipLib.Tar
/// TarBuffers are created by Tar IO Streams.
/// </p>
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class TarBuffer
{
@@ -67,6 +67,7 @@ namespace ICSharpCode.SharpZipLib.Tar
///
/// <see cref="TarHeader"/>
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class TarEntry
{
/// <summary>
@@ -74,6 +74,7 @@ namespace ICSharpCode.SharpZipLib.Tar
/// This class encapsulates the Tar Entry Header used in Tar Archives.
/// The class also holds a number of tar constants, used mostly in headers.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class TarHeader : ICloneable
{
/// <summary>
@@ -45,6 +45,7 @@ namespace ICSharpCode.SharpZipLib.Tar
/// the archive, and the read each entry as a normal input stream
/// using read().
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class TarInputStream : Stream
{
protected bool debug;
@@ -598,6 +599,7 @@ namespace ICSharpCode.SharpZipLib.Tar
/// the programmer to have their own TarEntry subclass instantiated for the
/// entries return from getNextEntry().
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public interface IEntryFactory
{
TarEntry CreateEntry(string name);
@@ -607,6 +609,7 @@ namespace ICSharpCode.SharpZipLib.Tar
TarEntry CreateEntry(byte[] headerBuf);
}
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class EntryFactoryAdapter : IEntryFactory
{
public TarEntry CreateEntry(string name)
@@ -45,6 +45,7 @@ namespace ICSharpCode.SharpZipLib.Tar
/// by writing to this stream using write().
/// </summary>
/// public
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class TarOutputStream : Stream
{
protected bool debug;
@@ -50,6 +50,7 @@ namespace ICSharpCode.SharpZipLib.Zip.Compression
///
/// author of the original java version : Jochen Hoenicke
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class Deflater
{
/// <summary>
@@ -43,6 +43,7 @@ namespace ICSharpCode.SharpZipLib.Zip.Compression
/// <summary>
/// This class contains constants used for the deflater.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class DeflaterConstants
{
public const bool DEBUGGING = false;
@@ -42,6 +42,7 @@ using ICSharpCode.SharpZipLib.Checksums;
namespace ICSharpCode.SharpZipLib.Zip.Compression
{
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public enum DeflateStrategy
{
// The default strategy.
@@ -57,6 +58,7 @@ namespace ICSharpCode.SharpZipLib.Zip.Compression
HuffmanOnly = 2
}
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class DeflaterEngine : DeflaterConstants
{
static int TOO_FAR = 4096;
@@ -48,6 +48,7 @@ namespace ICSharpCode.SharpZipLib.Zip.Compression
///
/// author of the original java version : Jochen Hoenicke
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class DeflaterHuffman
{
private static int BUFSIZE = 1 << (DeflaterConstants.DEFAULT_MEM_LEVEL + 6);
@@ -79,6 +80,7 @@ namespace ICSharpCode.SharpZipLib.Zip.Compression
15
};
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class Tree
{
public short[] freqs;
@@ -43,6 +43,7 @@ namespace ICSharpCode.SharpZipLib.Zip.Compression
///
/// author of the original java version : Jochen Hoenicke
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class DeflaterPending : PendingBuffer
{
public DeflaterPending() : base(DeflaterConstants.PENDING_BUF_SIZE)
@@ -64,6 +64,7 @@ namespace ICSharpCode.SharpZipLib.Zip.Compression
///
/// author of the original java version : John Leuner, Jochen Hoenicke
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class Inflater
{
/// <summary>
@@ -42,6 +42,7 @@ using ICSharpCode.SharpZipLib.Zip.Compression.Streams;
namespace ICSharpCode.SharpZipLib.Zip.Compression
{
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class InflaterHuffmanTree
{
private static int MAX_BITLEN = 15;
@@ -48,6 +48,7 @@ namespace ICSharpCode.SharpZipLib.Zip.Compression
///
/// author of the original java version : Jochen Hoenicke
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class PendingBuffer
{
protected byte[] buf;
@@ -49,6 +49,7 @@ namespace ICSharpCode.SharpZipLib.Zip.Compression.Streams
///
/// authors of the original java version : Tom Tromey, Jochen Hoenicke
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class DeflaterOutputStream : Stream
{
/// <summary>
@@ -53,6 +53,7 @@ namespace ICSharpCode.SharpZipLib.Zip.Compression.Streams
///
/// author of the original java version : John Leuner
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class InflaterInputStream : Stream
{
//Variables
@@ -47,6 +47,7 @@ namespace ICSharpCode.SharpZipLib.Zip.Compression.Streams
///
/// author of the original java version : John Leuner
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class OutputWindow
{
private static int WINDOW_SIZE = 1 << 15;
@@ -55,6 +55,7 @@ namespace ICSharpCode.SharpZipLib.Zip.Compression.Streams
///
/// authors of the original java version : John Leuner, Jochen Hoenicke
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class StreamManipulator
{
private byte[] window;
@@ -43,6 +43,7 @@ namespace ICSharpCode.SharpZipLib.Zip
/// <summary>
/// This class contains constants used for zip.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public sealed class ZipConstants
{
/* The local file header */
@@ -40,6 +40,7 @@ using System;
namespace ICSharpCode.SharpZipLib.Zip
{
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public enum CompressionMethod
{
Stored = 0,
@@ -54,6 +55,7 @@ namespace ICSharpCode.SharpZipLib.Zip
///
/// author of the original java version : Jochen Hoenicke
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class ZipEntry : ICloneable
{
static int KNOWN_SIZE = 1;
@@ -82,6 +82,7 @@ namespace ICSharpCode.SharpZipLib.Zip
/// }
/// }
/// </example>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class ZipFile : IEnumerable
{
string name;
@@ -90,6 +90,7 @@ namespace ICSharpCode.SharpZipLib.Zip
/// }
/// </code>
/// </example>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class ZipInputStream : InflaterInputStream
{
Crc32 crc = new Crc32();
@@ -94,6 +94,7 @@ namespace ICSharpCode.SharpZipLib.Zip
/// }
/// </code>
/// </example>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class ZipOutputStream : DeflaterOutputStream
{
private ArrayList entries = new ArrayList();
@@ -43,6 +43,7 @@ namespace ICSharpCode.SharpZipLib
/// <summary>
/// Is thrown during the creation or input of a zip file.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class ZipException : Exception
{
/// <summary>
@@ -0,0 +1,35 @@
//
// Copyright (c) 2018 Microsoft
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("System.Drawing.Common")]
[assembly: AssemblyDescription ("System.Drawing.Common")]
[assembly: AssemblyDefaultAlias ("System.Drawing.Common")]
[assembly: AssemblyCompany ("Mono development team")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("(c) Various Mono authors")]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
@@ -0,0 +1,49 @@
MCS_BUILD_DIR = ../../../build
thisdir = class/Facades/System.Drawing.Common
SUBDIRS =
include $(MCS_BUILD_DIR)/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Drawing.Common.dll
KEYFILE = ../../Open.snk
LIBRARY_SNK = $(KEYFILE)
SIGN_FLAGS = /delaysign /nowarn:1616,1699
LIB_REFS =
LIB_MCS_FLAGS = $(SIGN_FLAGS) $(EXTRA_LIB_MCS_FLAGS)
ifdef false # we'll enable this at a later point
# xammac_net_4_5 and the testing_* profiles are special, they don't build
# System.Drawing.dll or equivalent neither in Mono nor in the XM repo.
# For now we embed the types directly here.
# TODO: find a better solution.
EMBEDDED_DRAWING_DEP := $(filter xammac_net_4_5 testing_aot_full testing_aot_hybrid, $(PROFILE))
ifndef EMBEDDED_DRAWING_DEP
# profiles which build a System.Drawing.dll in the repo
REPO_DRAWING_DEP := $(filter net_4_x orbis winaot unreal wasm, $(PROFILE))
ifdef REPO_DRAWING_DEP
LIB_REFS += System.Drawing
else
# When System.Drawing.dll is not built in the Mono repo but in
# the product repo like in the XI/XA case we need to pass in a reference
# to the assembly containing drawing types like Rectangle etc. from there.
# This needs to be passed in via EXTERNAL_FACADE_DRAWING_REFERENCE.
LIB_MCS_FLAGS += /r:$(EXTERNAL_FACADE_DRAWING_REFERENCE)
endif
endif
endif
PLATFORM_DEBUG_FLAGS =
NO_TEST = yes
include $(MCS_BUILD_DIR)/library.make
@@ -0,0 +1,2 @@
TypeForwarders.cs
AssemblyInfo.cs
@@ -0,0 +1,174 @@
//
// Copyright (c) 2018 Microsoft
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
#if false // we'll enable these at a later point
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Bitmap))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.BitmapSuffixInSameAssemblyAttribute))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.BitmapSuffixInSatelliteAssemblyAttribute))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Brush))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Brushes))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.BufferedGraphics))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.BufferedGraphicsContext))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.BufferedGraphicsManager))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.CharacterRange))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.ColorTranslator))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.ContentAlignment))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.CopyPixelOperation))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Design.CategoryNameCollection))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.AdjustableArrowCap))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.Blend))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.ColorBlend))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.CombineMode))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.CompositingMode))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.CompositingQuality))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.CoordinateSpace))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.CustomLineCap))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.DashCap))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.DashStyle))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.FillMode))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.FlushIntention))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.GraphicsContainer))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.GraphicsPath))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.GraphicsPathIterator))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.GraphicsState))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.HatchBrush))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.HatchStyle))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.InterpolationMode))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.LinearGradientBrush))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.LinearGradientMode))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.LineCap))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.LineJoin))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.Matrix))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.MatrixOrder))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.PathData))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.PathGradientBrush))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.PathPointType))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.PenAlignment))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.PenType))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.PixelOffsetMode))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.QualityMode))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.RegionData))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.SmoothingMode))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.WarpMode))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Drawing2D.WrapMode))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Font))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.FontFamily))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.FontStyle))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Graphics))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Graphics.DrawImageAbort))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Graphics.EnumerateMetafileProc))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.GraphicsUnit))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Icon))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.IDeviceContext))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Image))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Image.GetThumbnailImageAbort))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.ImageAnimator))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.BitmapData))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.ColorAdjustType))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.ColorChannelFlag))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.ColorMap))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.ColorMapType))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.ColorMatrix))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.ColorMatrixFlag))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.ColorMode))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.ColorPalette))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.EmfPlusRecordType))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.EmfType))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.Encoder))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.EncoderParameter))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.EncoderParameters))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.EncoderParameterValueType))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.EncoderValue))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.FrameDimension))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.ImageAttributes))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.ImageCodecFlags))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.ImageCodecInfo))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.ImageFlags))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.ImageFormat))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.ImageLockMode))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.Metafile))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.MetafileFrameUnit))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.MetafileHeader))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.MetafileType))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.MetaHeader))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.PaletteFlags))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.PixelFormat))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.PlayRecordCallback))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.PropertyItem))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Imaging.WmfPlaceableFileHeader))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Pen))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Pens))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.Duplex))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.InvalidPrinterException))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.Margins))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PageSettings))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PaperKind))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PaperSize))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PaperSource))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PaperSourceKind))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PreviewPageInfo))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PreviewPrintController))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PrintAction))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PrintController))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PrintDocument))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PrinterResolution))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PrinterResolutionKind))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PrinterSettings))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PrinterSettings.PaperSizeCollection))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PrinterSettings.PaperSourceCollection))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PrinterSettings.PrinterResolutionCollection))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PrinterSettings.StringCollection))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PrinterUnit))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PrinterUnitConvert))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PrintEventArgs))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PrintEventHandler))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PrintPageEventArgs))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PrintPageEventHandler))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.PrintRange))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.QueryPageSettingsEventArgs))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.QueryPageSettingsEventHandler))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Printing.StandardPrintController))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Region))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.RotateFlipType))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.SolidBrush))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.StringAlignment))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.StringDigitSubstitute))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.StringFormat))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.StringFormatFlags))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.StringTrimming))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.StringUnit))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.SystemBrushes))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.SystemColors))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.SystemFonts))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.SystemIcons))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.SystemPens))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Text.FontCollection))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Text.GenericFontFamilies))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Text.HotkeyPrefix))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Text.InstalledFontCollection))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Text.PrivateFontCollection))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Text.TextRenderingHint))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.TextureBrush))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.ToolboxBitmapAttribute))]
#endif
@@ -9,7 +9,7 @@ LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.IO.Compression.ZipFile.dll
KEYFILE = ../../msfinal.pub
KEYFILE = ../../ecma.pub
SIGN_FLAGS = /delaysign /nowarn:1616,1699
LIB_REFS = System System.IO.Compression.FileSystem
LIB_MCS_FLAGS = $(SIGN_FLAGS)
@@ -0,0 +1,35 @@
//
// Copyright (c) 2018 Microsoft
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("System.Memory")]
[assembly: AssemblyDescription ("System.Memory")]
[assembly: AssemblyDefaultAlias ("System.Memory")]
[assembly: AssemblyCompany ("Mono development team")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("(c) Various Mono authors")]
[assembly: AssemblyVersion ("4.0.1.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
+24
View File
@@ -0,0 +1,24 @@
MCS_BUILD_DIR = ../../../build
thisdir = class/Facades/System.Memory
SUBDIRS =
include $(MCS_BUILD_DIR)/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Memory.dll
KEYFILE = ../../Open.snk
LIBRARY_SNK = $(KEYFILE)
SIGN_FLAGS = /delaysign /nowarn:1616,1699
LIB_REFS =
LIB_MCS_FLAGS = $(SIGN_FLAGS)
PLATFORM_DEBUG_FLAGS =
NO_TEST = yes
include $(MCS_BUILD_DIR)/library.make
@@ -0,0 +1,3 @@
TypeForwarders.cs
AssemblyInfo.cs
@@ -0,0 +1,47 @@
//
// Copyright (c) 2018 Microsoft
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Memory<>))]
[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ReadOnlyMemory<>))]
[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ReadOnlySpan<>))]
[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Span<>))]
[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Buffers.OperationStatus))]
// TODO: we don't have these types yet
//[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.MemoryExtensions))]
//[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.SequencePosition))]
//[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Buffers.BuffersExtensions))]
//[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Buffers.IBufferWriter<>))]
//[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Buffers.IMemoryOwner<>))]
//[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Buffers.IPinnable))]
//[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Buffers.MemoryHandle))]
//[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Buffers.MemoryManager<>))]
//[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Buffers.MemoryPool<>))]
//[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Buffers.ReadOnlySequenceSegment<>))]
//[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Buffers.ReadOnlySequence<>))]
//[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Buffers.StandardFormat))]
//[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Buffers.Binary.BinaryPrimitives))]
//[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Buffers.Text.Base64))]
//[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Buffers.Text.Utf8Formatter))]
//[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Buffers.Text.Utf8Parser))]
//[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.InteropServices.MemoryMarshal))]
//[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.InteropServices.SequenceMarshal))]
+1 -1
View File
@@ -90,7 +90,7 @@ wasm_SUBDIRS = $(common_DEPS_SUBDIRS) $(netstandard_drawing_SUBDIRS) $(mobile_on
wasm_PARALLEL_SUBDIRS = $(common_SUBDIRS) $(mobile_only_SUBDIRS)
mobile_only_SUBDIRS = System.Net.Ping System.Runtime.Serialization.Formatters System.Security.Cryptography.Csp System.Security.Cryptography.Pkcs \
System.Security.Cryptography.Cng System.Runtime.Loader System.Xml.XPath.XmlDocument System.Reflection.DispatchProxy
System.Security.Cryptography.Cng System.Runtime.Loader System.Xml.XPath.XmlDocument System.Reflection.DispatchProxy System.Memory System.Drawing.Common
mobile_only_DEPS_SUBDIRS = System.Security.Cryptography.OpenSsl
@@ -44,6 +44,7 @@ namespace ICSharpCode.SharpZipLib.BZip2
/// Sets up the streams and file header characters.
/// Uses multiply overloaded methods to call for the compress/decompress.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public sealed class BZip2
{
/// <summary>
@@ -38,6 +38,7 @@ namespace ICSharpCode.SharpZipLib.BZip2
/// <summary>
/// Defines internal values for both compression and decompression
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public sealed class BZip2Constants
{
/// <summary>
@@ -41,6 +41,7 @@ namespace ICSharpCode.SharpZipLib.BZip2
/// <summary>
/// BZip2Exception represents exceptions specific to Bzip2 algorithm
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class BZip2Exception : SharpZipBaseException
{
/// <summary>
@@ -44,6 +44,7 @@ namespace ICSharpCode.SharpZipLib.BZip2
/// <summary>
/// An input stream that decompresses files in the BZip2 format
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class BZip2InputStream : Stream
{
/// <summary>
@@ -46,6 +46,7 @@ namespace ICSharpCode.SharpZipLib.BZip2
/// An output stream that compresses into the BZip2 format
/// including file header chars into another stream.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class BZip2OutputStream : Stream
{
/// <summary>
@@ -86,6 +86,7 @@ namespace ICSharpCode.SharpZipLib.Checksums
/// </summary>
/// <see cref="ICSharpCode.SharpZipLib.Zip.Compression.Streams.InflaterInputStream"/>
/// <see cref="ICSharpCode.SharpZipLib.Zip.Compression.Streams.DeflaterOutputStream"/>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public sealed class Adler32 : IChecksum
{
/// <summary>
@@ -64,6 +64,7 @@ namespace ICSharpCode.SharpZipLib.Checksums
/// the information needed to generate CRC's on data a byte at a time for all
/// combinations of CRC register values and incoming bytes.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public sealed class Crc32 : IChecksum
{
readonly static uint CrcSeed = 0xFFFFFFFF;
@@ -45,6 +45,7 @@ namespace ICSharpCode.SharpZipLib.Checksums
/// <code>getValue</code>. The complete checksum object can also be reset
/// so it can be used again with new data.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public interface IChecksum
{
/// <summary>
@@ -43,6 +43,7 @@ namespace ICSharpCode.SharpZipLib.Checksums
/// <summary>
/// Bzip2 checksum algorithm
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class StrangeCRC : IChecksum
{
readonly static uint[] crc32Table = {
@@ -42,6 +42,7 @@ namespace ICSharpCode.SharpZipLib.Core
/// <summary>
/// Event arguments for scanning.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class ScanEventArgs : EventArgs
{
/// <summary>
@@ -79,6 +80,7 @@ namespace ICSharpCode.SharpZipLib.Core
/// <summary>
/// Event arguments for directories.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class DirectoryEventArgs : ScanEventArgs
{
/// <summary>
@@ -106,6 +108,7 @@ namespace ICSharpCode.SharpZipLib.Core
/// <summary>
/// Arguments passed when scan failures are detected.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class ScanFailureEventArgs
{
/// <summary>
@@ -155,26 +158,31 @@ namespace ICSharpCode.SharpZipLib.Core
/// <summary>
/// Delegate invokked when a directory is processed.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public delegate void ProcessDirectoryDelegate(object Sender, DirectoryEventArgs e);
/// <summary>
/// Delegate invoked when a file is processed.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public delegate void ProcessFileDelegate(object sender, ScanEventArgs e);
/// <summary>
/// Delegate invoked when a directory failure is detected.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public delegate void DirectoryFailureDelegate(object sender, ScanFailureEventArgs e);
/// <summary>
/// Delegate invoked when a file failure is detected.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public delegate void FileFailureDelegate(object sender, ScanFailureEventArgs e);
/// <summary>
/// FileSystemScanner provides facilities scanning of files and directories.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class FileSystemScanner
{
/// <summary>
@@ -38,6 +38,7 @@ namespace ICSharpCode.SharpZipLib.Core
/// <summary>
/// INameTransform defines how file system names are transformed for use with archives.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public interface INameTransform
{
/// <summary>
@@ -50,6 +50,7 @@ namespace ICSharpCode.SharpZipLib.Core
/// and not matching an exclude spec are deemed to match the filter.
/// An empty filter matches any name.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class NameFilter
{
/// <summary>
@@ -42,6 +42,7 @@ namespace ICSharpCode.SharpZipLib.Core
/// <summary>
/// Scanning filters support these operations.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public interface IScanFilter
{
/// <summary>
@@ -55,6 +56,7 @@ namespace ICSharpCode.SharpZipLib.Core
/// <summary>
/// PathFilter filters directories and files by full path name.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class PathFilter : IScanFilter
{
/// <summary>
@@ -84,6 +86,7 @@ namespace ICSharpCode.SharpZipLib.Core
/// <summary>
/// NameAnsSizeFilter filters based on name and file size.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class NameAndSizeFilter : PathFilter
{
@@ -47,6 +47,7 @@ namespace ICSharpCode.SharpZipLib.Encryption
/// While it has been superceded by more recent and more powerful algorithms, its still in use and
/// is viable for preventing casual snooping
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public abstract class PkzipClassic : SymmetricAlgorithm
{
/// <summary>
@@ -368,6 +369,7 @@ namespace ICSharpCode.SharpZipLib.Encryption
/// Defines a wrapper object to access the Pkzip algorithm.
/// This class cannot be inherited.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public sealed class PkzipClassicManaged : PkzipClassic
{
/// <summary>
@@ -41,6 +41,7 @@ namespace ICSharpCode.SharpZipLib.GZip
/// <summary>
/// This class contains constants used for gzip.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class GZipConstants
{
/// <summary>
@@ -41,6 +41,7 @@ namespace ICSharpCode.SharpZipLib.GZip
/// <summary>
/// GZipException represents a Gzip specific exception
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class GZipException : SharpZipBaseException
{
/// <summary>
@@ -80,6 +80,7 @@ namespace ICSharpCode.SharpZipLib.GZip
/// }
/// </code>
/// </example>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class GZipInputStream : InflaterInputStream
{
/// <summary>
@@ -73,6 +73,7 @@ namespace ICSharpCode.SharpZipLib.GZip
/// }
/// </code>
/// </example>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class GZipOutputStream : DeflaterOutputStream
{
/// <summary>
@@ -44,6 +44,7 @@ namespace ICSharpCode.SharpZipLib
/// SharpZipBaseException is the base exception class for the SharpZipLibrary.
/// All library exceptions are derived from this.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class SharpZipBaseException : ApplicationException
{
/// <summary>
@@ -38,6 +38,7 @@ namespace ICSharpCode.SharpZipLib.Tar {
/// This exception is used to indicate that there is a problem
/// with a TAR archive header.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class InvalidHeaderException : TarException
{
/// <summary>
@@ -41,6 +41,7 @@ namespace ICSharpCode.SharpZipLib.Tar {
/// <summary>
/// Used to advise clients of 'events' while processing archives
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public delegate void ProgressMessageHandler(TarArchive archive, TarEntry entry, string message);
/// <summary>
@@ -64,6 +65,7 @@ namespace ICSharpCode.SharpZipLib.Tar {
/// TarBuffer.getCurrentRecordNum() and TarBuffer.getCurrentBlockNum()
/// methods, this would be rather trvial.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class TarArchive
{
bool keepOldFiles;
@@ -51,6 +51,7 @@ namespace ICSharpCode.SharpZipLib.Tar
/// TarBuffers are created by Tar IO Streams.
/// </p>
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class TarBuffer
{
@@ -68,6 +68,7 @@ namespace ICSharpCode.SharpZipLib.Tar
///
/// <see cref="TarHeader"/>
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class TarEntry : ICloneable
{
/// <summary>
@@ -40,6 +40,7 @@ namespace ICSharpCode.SharpZipLib.Tar {
/// <summary>
/// TarExceptions are used for exceptions specific to tar classes and code.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class TarException : SharpZipBaseException
{
/// <summary>
@@ -77,6 +77,7 @@ namespace ICSharpCode.SharpZipLib.Tar
/// This class encapsulates the Tar Entry Header used in Tar Archives.
/// The class also holds a number of tar constants, used mostly in headers.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class TarHeader : ICloneable
{
/// <summary>
@@ -46,6 +46,7 @@ namespace ICSharpCode.SharpZipLib.Tar
/// the archive, and the read each entry as a normal input stream
/// using read().
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class TarInputStream : Stream
{
/// <summary>
@@ -551,6 +552,7 @@ namespace ICSharpCode.SharpZipLib.Tar
/// the programmer to have their own TarEntry subclass instantiated for the
/// entries return from getNextEntry().
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public interface IEntryFactory
{
/// <summary>
@@ -588,6 +590,7 @@ namespace ICSharpCode.SharpZipLib.Tar
/// <summary>
/// Standard entry factory class creating instances of the class TarEntry
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class EntryFactoryAdapter : IEntryFactory
{
/// <summary>
@@ -46,6 +46,7 @@ namespace ICSharpCode.SharpZipLib.Tar
/// by writing to this stream using write().
/// </summary>
/// public
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class TarOutputStream : Stream
{
/// <summary>
@@ -52,6 +52,7 @@ namespace ICSharpCode.SharpZipLib.Zip.Compression
///
/// author of the original java version : Jochen Hoenicke
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class Deflater
{
/// <summary>
@@ -45,6 +45,7 @@ namespace ICSharpCode.SharpZipLib.Zip.Compression
/// <summary>
/// This class contains constants used for deflation.
/// </summary>
[System.ObsoleteAttribute("This assembly has been deprecated. Please use https://www.nuget.org/packages/SharpZipLib/ instead.")]
public class DeflaterConstants
{
/// <summary>
Loaded 100 of 581 files, more files were not shown because too many files have changed in this diff. Show more