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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-08Fix the format statements in mono-gdb.Vladimir Kargov
2016-01-06[llvmonly] Share more signatures in the gsharedvt in/out wrappers.Zoltan Varga
2016-01-06[llvmonly] Fix a case where a non-virtual method was called using callvirt.Zoltan Varga
2016-01-06[aot] Fix emission of external aot data by aligning tables in the file.Rolf Bjarne Kvinge
The table reading code depends on data being aligned, so make sure it is.
2016-01-06[runtime] Fix the DISABLE_JIT build.Zoltan Varga
2016-01-06[llvmonly] Add support for runtime invokes with nullable arguments.Zoltan Varga
2016-01-06Merge pull request #2174 from stukselbax/masterAlex Rønne Petersen
[WCF] WebHttpBinding must use http scheme in case when SecurityMode == WebHttpSecurityMode.TransportCredentialOnly
2016-01-06[llvmonly] Implement runtime invokes to gsharedvt methods.Zoltan Varga
2016-01-06[jit] Fix the handling of virtual generic methods on interfaces in the ↵Zoltan Varga
delegate virtual invoke optimization. Fixes #37436.
2016-01-05Revert "[corlib] Fixed the mobile build in ↵Martin Baulig
System.Security.Cryptography.X509Certificates." This reverts commit 0ed6c0f5bf88090b71d2c132ae4e49e3b365f803.
2016-01-05[amd64] Enable LLVM for more parameter passing conventions.Zoltan Varga
2016-01-05[bcl]: Fix 'mobile_static' build.Martin Baulig
2016-01-05[llvm] Fix the linking of the bblocks containing endfinally instructions ↵Zoltan Varga
with the targets of leave instructions, previously we would link the first bblock instead of the last one. Fixes #37412.
2016-01-05Merge pull request #2401 from alexanderkyte/mobile_static_fixesMartin Baulig
Minor mobile-static profile fixes
2016-01-05Merge pull request #2385 from lambdageek/dev/checked-imageset-subsetAleksey Kliger (λgeek)
[checked] ImageSet may reference corlib implicitly in another ImageSet.
2016-01-05[bcl] Fix Win32 network api exclusion on non-monodroid mobileAlexander Kyte
2016-01-05[bcl] Take mobile_static profile into account in preprocessor directiveAlexander Kyte
2016-01-05[Mono.Security] Fixed bootstrap build.Joao Matos
2016-01-05[System]: Cleanup the internal 'MonoTlsProviderFactory'.Martin Baulig
2016-01-05[System]: Include Mono.Security sources in XamMac profile to make it ↵Martin Baulig
consistent with the other mobile profiles.
2016-01-05[Mono.Security]: Add MonoTlsProviderFactory.GetMonoSslStream(SslStream).Martin Baulig
2016-01-05[Mono.Security]: Add 'IMonoSslStream.Provider' and 'GetConnectionInfo()'.Martin Baulig
2016-01-05Fix some compiler warnings in Mono.Security and System.Martin Baulig
2016-01-05[System]: Only use the 'MONO_SECURITY_ALIAS' conditional to determine ↵Martin Baulig
whether or not to use 'extern alias MonoSecurity'.
2016-01-05Merge pull request #2396 from akoeplinger/flaky-osx-socket-testAlexander Köplinger
[System] Fix flaky AcceptBlockingStatus test that sometimes failed on OSX
2016-01-05Revert "[amd64] Remove some restrictions on passing/returning vtypes in ↵Zoltan Varga
registers." This reverts commit 25105bd605a078ea399b8ae21cf151cba29c6e9b. Revert this as it breaks tests.
2016-01-05[runtime] Fix the loaded llvm build.Zoltan Varga
2016-01-05[runtime] Allocate a parameter array in mono_jit_runtime_invoke () using ↵Zoltan Varga
g_alloca.
2016-01-05[amd64] Remove some restrictions on passing/returning vtypes in registers.Zoltan Varga
2016-01-04[jit] Disable the support for -O=shared, use it only for icall wrappers.Zoltan Varga
2016-01-04[llvmonly] Introduce a MonoFtnDesc structure to represent an ↵Zoltan Varga
address+argument pair, use this to explicitly mark functions returning function descriptors.
2016-01-04[llvmonly] Remove some jit icalls which are no longer used.Zoltan Varga
2016-01-04[llvmonly] Add an optimized implementation for generic virtual calls on ↵Zoltan Varga
interfaces.
2016-01-04[llvmonly] Clean up the optimized virtual call code a bit.Zoltan Varga
2016-01-04[System] Fixes Process::WaitForExit to honour EnableRaisingEvents settingMarek Safar
2016-01-04[llvmonly] Add an optimized implementation for generic virtual calls.Zoltan Varga
2016-01-04[System] Fix flaky AcceptBlockingStatus test that sometimes failed on OSXAlexander Köplinger
We were sometimes seeing the following failure on Jenkins on OSX: ``` Test Case Failures: 1) MonoTests.System.Net.Sockets.SocketTest.AcceptBlockingStatus : System.Net.Sockets.SocketException : Operation on non-blocking socket would block at System.Net.Sockets.Socket.Accept () [0x00033] in /Users/builder/jenkins/workspace/test-mono-mainline/label/osx-i386/mcs/class/System/System.Net.Sockets/Socket.cs:896 at MonoTests.System.Net.Sockets.SocketTest.BlockingConnect (Boolean block) [0x0003e] in /Users/builder/jenkins/workspace/test-mono-mainline/label/osx-i386/mcs/class/System/Test/System.Net.Sockets/SocketTest.cs:129 at MonoTests.System.Net.Sockets.SocketTest.AcceptBlockingStatus () [0x0001e] in /Users/builder/jenkins/workspace/test-mono-mainline/label/osx-i386/mcs/class/System/Test/System.Net.Sockets/SocketTest.cs:147 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038] in /Users/builder/jenkins/workspace/test-mono-mainline/label/osx-i386/mcs/class/corlib/System.Reflection/MonoMethod.cs:295 ``` In non-blocking mode accept() is specified to return this error when no client connection is available right now. It looks like on OSX we don't immediately get that connection. To fix this issue, we try to accept in a loop for 100ms and only fail when we don't get a connection in this time.
2016-01-04[aot] Add another special case for wrappers+gshared methods.Zoltan Varga
2016-01-04Merge pull request #2393 from akoeplinger/servicemodel-collection-modifiedAlexander Köplinger
[System.ServiceModel] Fix "collection was modified" exception in tests
2016-01-04Bumpr reference source for mobile profile fixesMarek Safar
2016-01-04[mcs] Fixes typoMarek Safar
2016-01-04Merge pull request #2395 from akoeplinger/rijndaelMarek Safar
[corlib] Remove RijndaelManaged test that makes no sense with referencesource impl
2016-01-04[corlib] Remove RijndaelManaged test that makes no sense with ↵Alexander Köplinger
referencesource impl The CreateEncryptor_KeyNull and CreateDecryptor_KeyNull tests tried to verify the previous Mono behavior of throwing a CryptographicException when a null key is passed to the methods [1]. However, with the move to referencesource this no longer happens since when a null key is passed a random one is generated instead [2]. The existing tests passed out of pure luck because a different CryptographicException is thrown later on: ``` System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed. at System.Security.Cryptography.RijndaelManagedTransform.DecryptData (System.Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, System.Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) [0x007b5] in /Users/alexander/dev/mono/external/referencesource/mscorlib/system/security/cryptography/rijndaelmanagedtransform.cs:751 at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock (System.Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) [0x000bb] in /Users/alexander/dev/mono/external/referencesource/mscorlib/system/security/cryptography/rijndaelmanagedtransform.cs:336 at MonoTests.System.Security.Cryptography.RijndaelManagedTest.CreateDecryptor_KeyNull () [0x00066] in /Users/alexander/dev/mono/mcs/class/corlib/Test/System.Security.Cryptography/RijndaelManagedTest.cs:233 ``` Unfortunately, sometimes it happens with the random key that this exception *doesn't* get thrown as the padding is valid, which makes the test randomly fail on Jenkins. Deleting those tests is the simplest fix. [1] https://github.com/mono/mono/blob/mono-4.0.0-branch/mcs/class/corlib/System.Security.Cryptography/RijndaelManagedTransform.cs#L107 [2] https://github.com/mono/referencesource/blob/33edf60ec4d35aba11850872777c8b3a484ca484/mscorlib/system/security/cryptography/rijndaelmanaged.cs#L66
2016-01-03[System.ServiceModel] Fix "collection was modified" exception in testsAlexander Köplinger
We sometimes see the following exception in the ServiceModel tests: ``` System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.ThrowHelper.ThrowInvalidOperationException (ExceptionResource resource) [0x00000] in /var/lib/jenkins/workspace/test-mono-mainline/label/debian-amd64/external/referencesource/mscorlib/system/throwhelper.cs:99 at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00016] in /var/lib/jenkins/workspace/test-mono-mainline/label/debian-amd64/external/referencesource/mscorlib/system/collections/generic/list.cs:1180 at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x00050] in /var/lib/jenkins/workspace/test-mono-mainline/label/debian-amd64/external/referencesource/mscorlib/system/collections/generic/list.cs:1174 at System.Linq.Enumerable.FirstOrDefault[TSource] (IEnumerable`1 source, System.Func`2 predicate) [0x00041] in /var/lib/jenkins/workspace/test-mono-mainline/label/debian-amd64/external/referencesource/System.Core/System/Linq/Enumerable.cs:960 at System.ServiceModel.Channels.Http.HttpListenerManager.TryDequeueRequest (System.ServiceModel.Dispatcher.ChannelDispatcher channel, TimeSpan timeout, System.ServiceModel.Channels.Http.HttpContextInfo& context) [0x00016] in /var/lib/jenkins/workspace/test-mono-mainline/label/debian-amd64/mcs/class/System.ServiceModel/System.ServiceModel.Channels.Http/HttpListenerManager.cs:93 at System.ServiceModel.Channels.Http.HttpListenerManager.TryDequeueRequest (System.ServiceModel.Dispatcher.ChannelDispatcher channel, TimeSpan timeout, System.ServiceModel.Channels.Http.HttpContextInfo& context) [0x000ab] in /var/lib/jenkins/workspace/test-mono-mainline/label/debian-amd64/mcs/class/System.ServiceModel/System.ServiceModel.Channels.Http/HttpListenerManager.cs:104 at System.ServiceModel.Channels.Http.HttpReplyChannel.TryReceiveRequest (TimeSpan timeout, System.ServiceModel.Channels.RequestContext& context) [0x00003] in /var/lib/jenkins/workspace/test-mono-mainline/label/debian-amd64/mcs/class/System.ServiceModel/System.ServiceModel.Channels.Http/HttpReplyChannel.cs:154 at System.ServiceModel.Channels.ReplyChannelBase+<BeginTryReceiveRequest>c__AnonStorey0.<>m__0 (TimeSpan tout, System.ServiceModel.Channels.RequestContext& ctx) [0x00056] in /var/lib/jenkins/workspace/test-mono-mainline/label/debian-amd64/mcs/class/System.ServiceModel/System.ServiceModel.Channels/ReplyChannelBase.cs:129 ``` I managed to repro this consistently on the debian-7-x64-1 Jenkins machine by running the test in a loop with the following code for about 15mins: while [ $? -eq 0 ]; do make check FIXTURE=System.ServiceModel.Dispatcher; done The problem happens when RegisterListenerCommon/UnregisterListenerCommon is invoked through HttpChannelListener.OnOpen/OnAbort/OnClose which modifies the 'Entries' collection on another thread. The fix is to add locking around the collection accesses.
2016-01-03[mini] Fixed non-JIT runtime support in generic sharing.Joao Matos
2016-01-03[corlib] Fixed the mobile build in ↵Joao Matos
System.Security.Cryptography.X509Certificates.
2016-01-03Add an optimized implementation for interface calls.Zoltan Varga
This works by using the imt entries in the vtable to store 'imt thunks', which in llvm-only mode, are C functions which receive an info structure and the imt method and return the real method which needs to be called. Thus interface calls are compiled into two calls: one to the imt thunk, and one to the method address returned by the thunk.
2016-01-03[runtime] Pass the vtable to the vtable/imt trampoline creation functions so ↵Zoltan Varga
they can return a vtable specific value. Not yet used.
2016-01-03Merge pull request #2380 from alexanderkyte/pdb_fix_local_varsDavid Karlaš
[runtime] Fixed off-by-one bug in local variable counting for ppdb files.
2016-01-03[llvmonly] Optimize virtual calls by storing a function descriptor in vtable ↵Zoltan Varga
slots, and using an icall to initialize it if needed.