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
2013-06-15Add lldb support to our thread dump capabilities.Rodrigo Kumpera
2013-06-15[Mono.Posix] Fix time_t conversions.Jonathan Pryor
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=12686 Mono.Unix.UnixFileSystemInfo.LastWriteTime & co. were hilariously wrong. Just...hilariously wrong. $ ls -l bxc12686.exe -rwxr-xr-x 1 jon staff 4096 Jun 14 15:43 bxc12686.exe $ csharp -r:Mono.Posix csharp> new Mono.Unix.UnixFileInfo("bxc12686.exe").LastWriteTime; 6/14/2013 7:43:12 PM Note: I'm currently in EDT (US Eastern Daylight Time). LastWriteTime is supposed to be in the local time; it's 4 hours off (which also happens to be the EDT UTF offset: -4:00). The fundamental problem was that NativeConvert.FromTimeT() was written for pre-.NET 2.0 environments, which precluded use (or knowledge of!) DateTimeKind. Now that .NET 1.1 is no longer supported, and 2.0 is on the its deathbead (bring on 4.5!), we can be smarter and let DateTime sanely handle the conversion logic for us. After the fix: $ csharp -r:Mono.Posix csharp> new Mono.Unix.UnixFileInfo("bxc12686.exe").LastWriteTime; 6/14/2013 3:43:12 PM
2013-06-14Small llvm+gsharedvt changes.Zoltan Varga
2013-06-14Add TLS offset probing to mach-arm in the same way it's done on x86.Rodrigo Kumpera
2013-06-14Kill some unused code that is a leftover from when TPL had a managed scheduler.Rodrigo Kumpera
2013-06-14Add TLS offset probing to mach-amd64 in the same way it's done on x86.Rodrigo Kumpera
2013-06-14Introduce mono_runtime_init_tls to centralize all of the late runtime TLS ↵Rodrigo Kumpera
initialization. TLS initialization must be done as early as possible since runtime initialization might be intermingled with 3rd party code running that sometimes create additional slots. Those extra TLS slots do interfere with AOT compilation that might see a different set of offsets when compiling than when running. The current piece of problem is AOT image loading. If the AOT image is not found, the dynamic linker in 10.9 will create a TLS slot to hold error data. AOT image loading is triggered in between the creation of the runtime TLS slots. Since AOT image loading never happens during compilation, the dynamic linker would never create the slot and things would otherwise remain working. The solution is to move all TLS initialization to before any assembly is loaded and, transitively, AOT image loading.
2013-06-14Force the runtime on OSX to use a 8Mb stack.Rodrigo Kumpera
This change doesn't affect any of the cats that default to 8Mb. We need a significantly big main stack because mcs is implemented in a recursive fashion and, right now, parts of the corlib test suite require in excess of 1Mb of stack space to compile.
2013-06-13Make the MONO_DISABLE_SHARED_AREA env variable actually work. Fixes #12655.Zoltan Varga
2013-06-13Fix more warnings/unitialized memory errors.Zoltan Varga
2013-06-13slightly change missing monolite error message.Atsushi Eno
context: https://twitter.com/k1iguchi/status/345084575019577345
2013-06-13Merge pull request #662 from cdrnet/fix-biginteger-gcdMarek Safar
[System.Numerics] BigInteger.GCD(0,x) must return abs(x) instead of x
2013-06-13Fix a memory overwrite in the gsharedvt jit code.Zoltan Varga
2013-06-13[System.Numerics] BigInteger.GCD(0,x) must return abs(x) instead of xChristoph Ruegg
According to the docs and matching the behavior in .Net, BigInteger's GreatestCommonDivisor must return the absolute value of the non-zero parameter if one of the parameters is zero. Contains a fix and extended unit tests to cover the case.
2013-06-13Make test more robust against conservative stack scanning.Rodrigo Kumpera
2013-06-12Fix an unitialized variable bug.Rodrigo Kumpera
2013-06-12Fix configure.in detection of -Wunused-but-set-variable support under clang.Rodrigo Kumpera
2013-06-12Perform TLS offset detection during startup.Rodrigo Kumpera
* mono-suppport-x86.c (mono_mach_init): Probe TLS slots using an unlikely canary. Right now only two offsets are known. * mono-threads.c (mono_threads_init): Initialize mach from here as remote TLS reads are required for mono-threads to work.
2013-06-12Move unload_data to the heap and it can outlive the initiator.Rodrigo Kumpera
The unload thread stores TRUE to the done field when unloading ends so the initiator can break out of the wait loop in case its thread doesn't belong to the domain been unloaded but was still aborted. This means that the initiator could be gone when the unload thread stores into the done field. This is now a random write to the thread stack, which has a high chance of causing crashes. The solution is to move the unload_data to the heap and refcount it so we can release it safely.
2013-06-12Use the same code for aot alignment checks in aot-compiler.c and aot-runtime.c.Zoltan Varga
2013-06-12Merge pull request #631 from kebby/masterGonzalo Paniagua Javier
Fix race condition in System.Net.WebConnectionStream
2013-06-12Reverted whitespace changesTammo 'kb' Hinrichs
2013-06-12Revert "Add beginnings of a managed IL disassembler which uses Mono.Cecil. ↵Zoltan Varga
Not yet part of the build." This reverts commit 535e76a05898eb0bb62932f12c145ad02c215f64. Revert this as we will be using something else.
2013-06-12Add support for nullables to box/unbox in gsharedvt code.Zoltan Varga
2013-06-12Bump ikvm to 10b8312c8024111780ee382688cd4c8754b1f1ac.Martin Baulig
2013-06-12Add System.Net to runtime remapping list.Martin Baulig
2013-06-12Fix the arm build.Zoltan Varga
2013-06-12Allow Nullable.Box/Unbox to be compiled as gsharedvt methods.Zoltan Varga
2013-06-11Fix new BigInteger().GetHashCode() to not throw.Rodrigo Kumpera
2013-06-11Fix delegate combine when left side has already been invoked.Rodrigo Kumpera
2013-06-11Better handle default value BigInteger. Fixes #11945Rodrigo Kumpera
2013-06-11[PCL]: System.Windows and System.Xml.Serialization are no Facade Assemblies.Martin Baulig
2013-06-11Allow the gsharedvt info/local vars to be register allocated.Zoltan Varga
2013-06-11Optimize generated gsharedvt code: Load information from the gsharedvt_info ↵Zoltan Varga
variable instead of using an rgctx fetch trampoline, use optimized memcpy/bzero methods.
2013-06-11Handle shifts by multiple of 32 correctly. Fixes #10887.Rodrigo Kumpera
2013-06-11Add specialized memcpy/bzero methods to String which are called from ↵Zoltan Varga
gsharedvt code.
2013-06-10Eliminate the use of localloc in gsharedvt methods which have no gsharedvt ↵Zoltan Varga
locals.
2013-06-10Fix a couple of warnings in appdomain.c and threads.c.Alex Rønne Petersen
2013-06-10Fix a typo in e5c45f1161604733b116a0a83782c08f74fb3127.Zoltan Varga
2013-06-10Disable gc-altstack.exe on wrench until it is fixed (#12610).Zoltan Varga
2013-06-10Rework the gsharedvt code to add support for vtypes with arbitrary size.Zoltan Varga
2013-06-09Merge pull request #658 from cdrnet/fix-bad-formatstring-forwardingMarek Safar
Complex.ToString must not pass format string to string.Format
2013-06-09Complex.ToString must not pass format string to string.FormatChristoph Ruegg
Type: System.Numerics.Complex IFormattable format strings and string.Format formats are different and incompatible. For example, `x.ToString("G")` and `x.ToString(null)` must be equivalent to `x.ToString()`, but they behave very differently with string.Format, where the former just returns "G" and the latter throws an ArgumentNullException. Changes System.Numerics.Complex.ToString to pass the format string to double.ToString instead of string.Format. Adds UnitTests for the changes in new ComplexTest.cs file
2013-06-08Merge pull request #657 from jbevain-forks/thread-safe-cs-code-generatorMarek Safar
Prevent multiple threads to populate the keyword table
2013-06-08Prevent multiple threads to populate the keyword tableJb Evain
2013-06-07Resolve switch cases without look aheah look-up. Fixes #12583Marek Safar
2013-06-07[ios] Remove code path using UseMachineKeyStore since it's not available ↵Sebastien Pouliot
(and bring extra code inside applications)
2013-06-07Fix the desktop test suite.Rodrigo Kumpera
2013-06-07[System.ComponentModel.Composition]: Disable RefEmit classes on MonoTouch.Martin Baulig
2013-06-07Add regression test for wrench bug where an appdomain unload would race with ↵Rodrigo Kumpera
shutdown and deadlock.