mono.git
8 years ago[runtime] Add condition variable definitions that are missing on MinGW.
Vladimir Kargov [Mon, 29 Jun 2015 21:12:08 +0000 (00:12 +0300)]
[runtime] Add condition variable definitions that are missing on MinGW.

8 years agoFix the build.
Zoltan Varga [Sun, 28 Jun 2015 22:53:42 +0000 (18:53 -0400)]
Fix the build.

8 years agoFix and simplify float conversions
Neale Ferguson [Sun, 28 Jun 2015 19:55:12 +0000 (15:55 -0400)]
Fix and simplify float conversions

8 years agoMerge pull request #1901 from oafasting/master
Zoltan Varga [Sun, 28 Jun 2015 14:31:23 +0000 (10:31 -0400)]
Merge pull request #1901 from oafasting/master

Removed obsolete flag '-no-cpp-precomp' from darwin $CPPFLAGS

8 years agoremoved flag -no-cpp-precomp from darwin cppglags, so that build is possible on osx
Ole A. Sjo Fasting [Sun, 28 Jun 2015 11:58:49 +0000 (13:58 +0200)]
removed flag -no-cpp-precomp from darwin cppglags, so that build is possible on osx

8 years agoFix the build.
Zoltan Varga [Sat, 27 Jun 2015 17:09:53 +0000 (13:09 -0400)]
Fix the build.

8 years ago[aot] Emit AOT data structures using LLVM when using LLVM.
Zoltan Varga [Fri, 26 Jun 2015 19:06:58 +0000 (15:06 -0400)]
[aot] Emit AOT data structures using LLVM when using LLVM.

8 years agoCoverity: test if this is the way of silencing warnings
Miguel de Icaza [Fri, 26 Jun 2015 16:41:02 +0000 (12:41 -0400)]
Coverity: test if this is the way of silencing warnings

8 years agoFix the loadable llvm build.
Zoltan Varga [Fri, 26 Jun 2015 15:59:07 +0000 (11:59 -0400)]
Fix the loadable llvm build.

8 years ago[corlib] Fixes warning
Marek Safar [Fri, 26 Jun 2015 14:29:58 +0000 (16:29 +0200)]
[corlib] Fixes warning

8 years ago[corlib] Chinese (Simplified) and its legacy version are not equal. Fixes #31398
Marek Safar [Fri, 26 Jun 2015 14:21:15 +0000 (16:21 +0200)]
[corlib] Chinese (Simplified) and its legacy version are not equal. Fixes #31398

8 years ago[corlib] Bump WaitAll_TimeoutWithExceptionsAfter timeouts
Marek Safar [Fri, 26 Jun 2015 10:14:14 +0000 (12:14 +0200)]
[corlib] Bump WaitAll_TimeoutWithExceptionsAfter timeouts

8 years ago[corlib] Add test for .net bug
Marek Safar [Fri, 26 Jun 2015 06:08:45 +0000 (08:08 +0200)]
[corlib] Add test for .net bug

8 years ago[aot] Improve support for situations where mono_aot_get_method () etc. is passed...
Zoltan Varga [Fri, 26 Jun 2015 03:33:54 +0000 (23:33 -0400)]
[aot] Improve support for situations where mono_aot_get_method () etc. is passed an already gshared method.

8 years ago[aot] Remove an unused field from MonoAotModule.
Zoltan Varga [Fri, 26 Jun 2015 03:24:47 +0000 (23:24 -0400)]
[aot] Remove an unused field from MonoAotModule.

8 years ago[aot] Encode the various aot tables into binary ourselves instead of relying on the...
Zoltan Varga [Fri, 26 Jun 2015 03:08:33 +0000 (23:08 -0400)]
[aot] Encode the various aot tables into binary ourselves instead of relying on the assembler to do it, to make it easier to emit them using LLVM.

8 years agoFix the DISABLE_JIT build.
Zoltan Varga [Fri, 26 Jun 2015 02:48:41 +0000 (22:48 -0400)]
Fix the DISABLE_JIT build.

8 years ago[aot] Clean up the naming of global symbols.
Zoltan Varga [Fri, 26 Jun 2015 02:24:00 +0000 (22:24 -0400)]
[aot] Clean up the naming of global symbols.

8 years ago[aot] Reorganize the emission of the MonoAotFileInfo structure to make it easier...
Zoltan Varga [Fri, 26 Jun 2015 01:47:40 +0000 (21:47 -0400)]
[aot] Reorganize the emission of the MonoAotFileInfo structure to make it easier to emit it as LLVM data.

8 years ago[aot] Pass the aot method index to mini_method_compile ().
Zoltan Varga [Fri, 26 Jun 2015 00:28:10 +0000 (20:28 -0400)]
[aot] Pass the aot method index to mini_method_compile ().

8 years ago[aot] Get rid of the 'methods' symbol in aot images, its no longer used.
Zoltan Varga [Fri, 26 Jun 2015 00:07:08 +0000 (20:07 -0400)]
[aot] Get rid of the 'methods' symbol in aot images, its no longer used.

8 years ago[mono.sqlite] Provide the full path to the library for iOS
Sebastien Pouliot [Thu, 25 Jun 2015 22:43:12 +0000 (18:43 -0400)]
[mono.sqlite] Provide the full path to the library for iOS

8 years agoGet rid of the of the usage of code offsets in aot-runtime.c, use method addresses...
Zoltan Varga [Thu, 25 Jun 2015 22:22:41 +0000 (18:22 -0400)]
Get rid of the of the usage of code offsets in aot-runtime.c, use method addresses instead.

8 years ago[aot] Add support for running without a GOT for JITted code.
Zoltan Varga [Thu, 25 Jun 2015 21:58:32 +0000 (17:58 -0400)]
[aot] Add support for running without a GOT for JITted code.

8 years agoFix the leaking of process streams when using RedirectStandardOutput etc., introduced...
Zoltan Varga [Thu, 25 Jun 2015 20:52:07 +0000 (16:52 -0400)]
Fix the leaking of process streams when using RedirectStandardOutput etc., introduced by 3c47caca34e3c96aa43dc1009e285b7a79ee366c.

8 years agoRefactor the IMT call handling code into a separate function so it can be called...
Zoltan Varga [Sat, 20 Jun 2015 02:39:45 +0000 (22:39 -0400)]
Refactor the IMT call handling code into a separate function so it can be called from outside the trampoline code.

8 years agoClean up the trampoline code a bit.
Zoltan Varga [Sat, 20 Jun 2015 01:53:40 +0000 (21:53 -0400)]
Clean up the trampoline code a bit.

8 years agoClean up the imt trampoline code a bit.
Zoltan Varga [Sat, 20 Jun 2015 00:52:23 +0000 (20:52 -0400)]
Clean up the imt trampoline code a bit.

8 years ago[system.net.http] Convert default request headers to string values using correct...
Marek Safar [Thu, 25 Jun 2015 20:17:47 +0000 (22:17 +0200)]
[system.net.http] Convert default request headers to string values using correct separator. Fixes #31336

8 years agoMerge pull request #1898 from alexanderkyte/debugger_variable_reflection
Zoltan Varga [Thu, 25 Jun 2015 20:14:34 +0000 (16:14 -0400)]
Merge pull request #1898 from alexanderkyte/debugger_variable_reflection

Fix TransparentProxy ObjectMirror value queries via debugger

8 years agoFix the compilation of the System tests.
Zoltan Varga [Thu, 25 Jun 2015 20:04:24 +0000 (16:04 -0400)]
Fix the compilation of the System tests.

8 years ago[runtime] Handle TransparentProxies when getting object field values
Alexander Kyte [Thu, 25 Jun 2015 19:29:20 +0000 (15:29 -0400)]
[runtime] Handle TransparentProxies when getting object field values

8 years ago[runtime] Added a test for the repro of being unable to reflect an instance variable.
Alexander Kyte [Thu, 25 Jun 2015 00:32:52 +0000 (20:32 -0400)]
[runtime] Added a test for the repro of being unable to reflect an instance variable.

8 years agoAttempts to locate the C# and VB compilers based on the location of mscorlib, does...
Miguel de Icaza [Thu, 25 Jun 2015 17:56:54 +0000 (13:56 -0400)]
Attempts to locate the C# and VB compilers based on the location of mscorlib, does not assume they are on the path.   Fixes #31369

8 years ago[system] Disable external process redirect test on mobile
Marek Safar [Thu, 25 Jun 2015 13:57:40 +0000 (15:57 +0200)]
[system] Disable external process redirect test on mobile

8 years agoAdd a monotouch_watch profile.
Rolf Bjarne Kvinge [Thu, 18 Jun 2015 18:09:13 +0000 (20:09 +0200)]
Add a monotouch_watch profile.

8 years agoSupport #include directives in external sources files.
Rolf Bjarne Kvinge [Thu, 18 Jun 2015 18:08:53 +0000 (20:08 +0200)]
Support #include directives in external sources files.

8 years agoRemove --with-[monotouch|xammac]=only from configure.
Rolf Bjarne Kvinge [Wed, 17 Jun 2015 10:25:19 +0000 (12:25 +0200)]
Remove --with-[monotouch|xammac]=only from configure.

The Xamarin.iOS and Xamarin.Mac builds don't use these options,
so remove them to reduce unnecessary complexity.

8 years ago[mcs] Add null operator propagation to probing expressions. Fixes #31289
Marek Safar [Thu, 25 Jun 2015 07:22:20 +0000 (09:22 +0200)]
[mcs] Add null operator propagation to probing expressions. Fixes #31289

8 years ago[runtime] Use MONO_GENERIC_CONTEXT_USED_CLASS/METHOD constants to mini.h.
Zoltan Varga [Thu, 25 Jun 2015 01:38:43 +0000 (21:38 -0400)]
[runtime] Use MONO_GENERIC_CONTEXT_USED_CLASS/METHOD constants to mini.h.

8 years ago[runtime] Get rid of the MONO_GENERIC_SHARING env variable, its no longer needed.
Zoltan Varga [Thu, 25 Jun 2015 01:36:13 +0000 (21:36 -0400)]
[runtime] Get rid of the MONO_GENERIC_SHARING env variable, its no longer needed.

8 years ago[ilasm] Custom attributes syntax with typeref expression
Marek Safar [Wed, 24 Jun 2015 18:59:16 +0000 (20:59 +0200)]
[ilasm] Custom attributes syntax with typeref expression

8 years ago[runtime] Update incorrect test (exposed by f2039ff7201a53ae5e9e9be6ffffa885fb73c35b)
Marek Safar [Wed, 24 Jun 2015 14:49:13 +0000 (16:49 +0200)]
[runtime] Update incorrect test (exposed by f2039ff7201a53ae5e9e9be6ffffa885fb73c35b)

8 years agoMerge pull request #1869 from alexanderkyte/appdomain_parallel
Alex Rønne Petersen [Wed, 24 Jun 2015 03:29:36 +0000 (05:29 +0200)]
Merge pull request #1869 from alexanderkyte/appdomain_parallel

[runtime] Fixed use-after-free in context freeing

8 years ago[jit] Properly set the klass of the MonoInst pushed on the IL stack by the refanyval...
Zoltan Varga [Wed, 24 Jun 2015 02:17:05 +0000 (22:17 -0400)]
[jit] Properly set the klass of the MonoInst pushed on the IL stack by the refanyval opcode. Fixes #31231.

8 years ago[corlib] Fix NRE in TaskScheduler.GetTaskSchedulersForDebugger
Ludovic Henry [Tue, 23 Jun 2015 22:52:44 +0000 (19:52 -0300)]
[corlib] Fix NRE in TaskScheduler.GetTaskSchedulersForDebugger

See external/referencesource/mscorlib/system/threading/Tasks/TaskScheduler.cs:582

8 years ago[ilasm] Pair methods using their calling convention, this allows to have static and...
Marek Safar [Tue, 23 Jun 2015 16:44:35 +0000 (18:44 +0200)]
[ilasm] Pair methods using their calling convention, this allows to have static and non-static properties with same name

8 years ago[ilasm] Even more undocumented custom attributes syntax
Marek Safar [Tue, 23 Jun 2015 16:12:53 +0000 (18:12 +0200)]
[ilasm] Even more undocumented custom attributes syntax

8 years ago[linker] Add Mono.Cecil.*.Has* checks when comparing methods/types
Sebastien Pouliot [Tue, 23 Jun 2015 17:03:10 +0000 (13:03 -0400)]
[linker] Add Mono.Cecil.*.Has* checks when comparing methods/types

* It reduce memory allocations by avoiding the creation of empty
  collections (only used to tell us there's a Count of 0);

* It also speed up execution, less object creation/GC time;

* Patch also remove some double-casts (is + as/cast)

8 years agoMerge pull request #1874 from saper/bug_29679
Zoltan Varga [Mon, 22 Jun 2015 19:54:14 +0000 (15:54 -0400)]
Merge pull request #1874 from saper/bug_29679

[msbuild][crash] Enums are classes that can be assigned to value types

8 years ago[sgen] Remove a weird unnecessary cast.
Mark Probst [Fri, 22 May 2015 23:01:00 +0000 (16:01 -0700)]
[sgen] Remove a weird unnecessary cast.

8 years ago[sgen] `GCObject*` instead of `void*`
Mark Probst [Fri, 22 May 2015 22:59:05 +0000 (15:59 -0700)]
[sgen] `GCObject*` instead of `void*`

8 years ago[runtime] GC descriptor typedef.
Mark Probst [Mon, 18 May 2015 18:07:43 +0000 (11:07 -0700)]
[runtime] GC descriptor typedef.

8 years ago[sgen] Typedef for GC descriptors.
Mark Probst [Fri, 15 May 2015 22:32:04 +0000 (15:32 -0700)]
[sgen] Typedef for GC descriptors.

8 years ago[sgen] `GCObject*` instead of `char*` where appropriate.
Mark Probst [Mon, 11 May 2015 16:32:18 +0000 (09:32 -0700)]
[sgen] `GCObject*` instead of `char*` where appropriate.

8 years ago[sgen] Make GCVTable type opaque, not a pointer.
Mark Probst [Sun, 10 May 2015 23:23:24 +0000 (16:23 -0700)]
[sgen] Make GCVTable type opaque, not a pointer.

8 years agoMerge pull request #1887 from debugerr/patch-2
Miguel de Icaza [Mon, 22 Jun 2015 18:50:59 +0000 (14:50 -0400)]
Merge pull request #1887 from debugerr/patch-2

Null reference check before calling delegate

8 years ago[threadpool-ms-io] Rework socket removal job cancellation
Ludovic Henry [Sat, 20 Jun 2015 20:08:38 +0000 (17:08 -0300)]
[threadpool-ms-io] Rework socket removal job cancellation

8 years ago[threadpool-ms-io] Remove dependency on SocketAsyncResult list in the backends
Ludovic Henry [Sat, 20 Jun 2015 16:31:28 +0000 (13:31 -0300)]
[threadpool-ms-io] Remove dependency on SocketAsyncResult list in the backends

This reduce the duplication and complexity of the code in the different backends

8 years ago[threadpool-ms-io] Fix race between socket add and remove
Ludovic Henry [Sat, 20 Jun 2015 16:22:31 +0000 (13:22 -0300)]
[threadpool-ms-io] Fix race between socket add and remove

The following race could occur and lead to a EBADF error with kevent and epoll :
 1. mono_threadpool_ms_io_add is called with fd 1234
 2. mono_threadpool_ms_io_remove_socket is called when closing fd 1234
 3. selector_thread calls update_add with socket 1234, which will call kevent with this already closed socket

The solution is simply to remove all the SocketAsyncResult from states, as well as updates, for the given socket fd

8 years ago[threadpool-ms-io] Rework AsyncReadHandler detection
Ludovic Henry [Fri, 12 Jun 2015 21:41:41 +0000 (18:41 -0300)]
[threadpool-ms-io] Rework AsyncReadHandler detection

8 years ago[threadpool-ms-io] Fix update on epoll
Ludovic Henry [Fri, 19 Jun 2015 22:22:31 +0000 (19:22 -0300)]
[threadpool-ms-io] Fix update on epoll

8 years ago[ilasm] Add another undocumented custom attributes initializer syntax
Marek Safar [Mon, 22 Jun 2015 15:56:16 +0000 (17:56 +0200)]
[ilasm] Add another undocumented custom attributes initializer syntax

8 years agoFix System.Messaging makefile logic issue
Chris Hamons [Mon, 22 Jun 2015 15:22:12 +0000 (10:22 -0500)]
Fix System.Messaging makefile logic issue

- Introduced in b044a27fe0006830b2793e3d34f45407b656b8b2

8 years ago[ilasm] Fix invalid codegen for method overloads with unique modop/modreq type only
Marek Safar [Mon, 22 Jun 2015 12:05:49 +0000 (14:05 +0200)]
[ilasm] Fix invalid codegen for method overloads with unique modop/modreq type only

8 years ago[S.R.Serialization] fix default value comparison.
Atsushi Eno [Mon, 22 Jun 2015 11:12:38 +0000 (20:12 +0900)]
[S.R.Serialization] fix default value comparison.

The fixed code used to invoke null.Equals(other).

The new test (by @alien0ada) shows the failing case.

8 years ago[ilasm] Add emit of custom string attribute using member syntax
Marek Safar [Sun, 21 Jun 2015 11:20:10 +0000 (13:20 +0200)]
[ilasm] Add emit of custom string attribute using member syntax

8 years agoMerge pull request #1889 from alexanderkyte/debugger_locals_failure
Zoltan Varga [Sat, 20 Jun 2015 23:19:59 +0000 (19:19 -0400)]
Merge pull request #1889 from alexanderkyte/debugger_locals_failure

[runtime] Add a missing NOP to the OP_SEQ_POINT arm code

8 years ago[runtime] Add a missing NOP to the OP_SEQ_POINT arm code
Alexander Kyte [Sat, 20 Jun 2015 22:01:25 +0000 (22:01 +0000)]
[runtime] Add a missing NOP to the OP_SEQ_POINT arm code

We were failing MonoTests.DebuggerTests.Locals and
MonoTests.DebuggerTests.SingleStepping because we
stepped forward too far as a side effect of this missing
"padding" NOP.

8 years agoFix the build.
Zoltan Varga [Fri, 19 Jun 2015 20:28:18 +0000 (16:28 -0400)]
Fix the build.

8 years ago[runtime] Make multiple -O= flags cumultative instead of negating the effects of...
Zoltan Varga [Fri, 19 Jun 2015 20:22:22 +0000 (16:22 -0400)]
[runtime] Make multiple -O= flags cumultative instead of negating the effects of the previous ones.

8 years agoMerge pull request #1886 from BrzVlad/fix-arm-thread-state
Zoltan Varga [Fri, 19 Jun 2015 18:15:04 +0000 (14:15 -0400)]
Merge pull request #1886 from BrzVlad/fix-arm-thread-state

[ios] Fix setting of thread state due to invalid argument

8 years ago[mcs] Add support for interpolated quoted strings
Marek Safar [Fri, 19 Jun 2015 16:35:38 +0000 (18:35 +0200)]
[mcs] Add support for interpolated quoted strings

8 years ago[aot] Build the LLVM temporary file paths with the temporary base name.
João Matos [Fri, 19 Jun 2015 14:59:30 +0000 (15:59 +0100)]
[aot] Build the LLVM temporary file paths with the temporary base name.

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

8 years ago[aot] Build the temporary base name with the temporary path when it's present.
João Matos [Fri, 19 Jun 2015 14:58:40 +0000 (15:58 +0100)]
[aot] Build the temporary base name with the temporary path when it's present.

8 years ago[aot] Initialize the temporary path to an empty string.
João Matos [Fri, 19 Jun 2015 14:56:50 +0000 (15:56 +0100)]
[aot] Initialize the temporary path to an empty string.

8 years ago[ilasm] Add project file
Marek Safar [Fri, 19 Jun 2015 09:47:39 +0000 (11:47 +0200)]
[ilasm] Add project file

8 years ago[ilasm] Add support for multiple custom type modifiers attached to single type
Marek Safar [Fri, 19 Jun 2015 09:46:01 +0000 (11:46 +0200)]
[ilasm] Add support for multiple custom type modifiers attached to single type

8 years ago[mcs] Implements virtual read-only auto-property assignment via derived private field
Marek Safar [Fri, 19 Jun 2015 09:43:16 +0000 (11:43 +0200)]
[mcs] Implements virtual read-only auto-property assignment via derived private field

8 years ago[ilasm] Remove unused files
Marek Safar [Thu, 18 Jun 2015 16:37:54 +0000 (18:37 +0200)]
[ilasm] Remove unused files

8 years agoNull reference check before calling delegate
debugerr [Fri, 19 Jun 2015 08:09:00 +0000 (10:09 +0200)]
Null reference check before calling delegate

We see a crash in LinuxNetworkChange.OnAvailabilityChanged when dereferencing the AvailabilityChanged delegate (NullReferenceException). There is a race here: the OnAvailabilityChanged is fired by deferring to the ThreadPool, which allows an unregister to come in between, removing the potential registration before we get called back.

8 years agoCreate xammac_net_4_5 profile for XM 4.5 Unified to remove references to unshippable...
Chris Hamons [Fri, 22 May 2015 19:13:59 +0000 (14:13 -0500)]
Create xammac_net_4_5 profile for XM 4.5 Unified to remove references to unshippable assmblies

8 years ago[ios] Fix setting of thread state due to invalid argument
Vlad Brezae [Thu, 18 Jun 2015 18:27:52 +0000 (11:27 -0700)]
[ios] Fix setting of thread state due to invalid argument

This prevented aborts from working.

8 years ago[System.Core] Test MemoryMappedFile.CreateFromFile
Marcos Henrich [Thu, 18 Jun 2015 17:27:11 +0000 (18:27 +0100)]
[System.Core] Test MemoryMappedFile.CreateFromFile

Test MemoryMappedFile.CreateFromFile with null napName parameter.

Covers #30741 #30825.

8 years ago[system] Implements IPv4Mask property on mac. Fixes #30880
Marek Safar [Thu, 18 Jun 2015 15:19:41 +0000 (17:19 +0200)]
[system] Implements IPv4Mask property on mac. Fixes #30880

8 years agoMerge pull request #1884 from mono/fix-vb
João Matos [Thu, 18 Jun 2015 13:04:52 +0000 (14:04 +0100)]
Merge pull request #1884 from mono/fix-vb

[xbuild] Fix Microsoft.VisualBasic.targets to contain correct VbcToolExe

8 years ago[xbuild] Fix Microsoft.VisualBasic.targets to contain correct VbcToolExe
Alexander Köplinger [Thu, 18 Jun 2015 12:46:34 +0000 (14:46 +0200)]
[xbuild] Fix Microsoft.VisualBasic.targets to contain correct VbcToolExe

Compiling VB projects was broken since a few releases but apparently went unnoticed.
The VbcToolExe path needs to be set to "vbnc.exe" because vbnc2 and vbnc shell scripts
don't work in this case and we only support building against the reference assemblies anyway
now for different targets.

8 years ago[jit] Disable passing the rgctx/vtable in some cases, its doesn't seem to be needed...
Zoltan Varga [Wed, 17 Jun 2015 20:21:18 +0000 (16:21 -0400)]
[jit] Disable passing the rgctx/vtable in some cases, its doesn't seem to be needed. The newobj code doesn't use the same logic, so the same method might end up being called with/without an rgctx, which is an error on LLVM since methods which receive an rgctx have a different signature.

8 years ago[runtime] Mark some linq tests as GSHAREDVT so they are skipped when running the...
Zoltan Varga [Wed, 17 Jun 2015 20:12:44 +0000 (16:12 -0400)]
[runtime] Mark some linq tests as GSHAREDVT so they are skipped when running the fullaot tests on amd64.

8 years ago[amd64] Fix some partial sharing problems.
Zoltan Varga [Wed, 17 Jun 2015 19:58:44 +0000 (15:58 -0400)]
[amd64] Fix some partial sharing problems.

8 years ago[mcs] Add better logging for ikvm crashes during HasObject loading
Marek Safar [Wed, 17 Jun 2015 15:52:51 +0000 (17:52 +0200)]
[mcs] Add better logging for ikvm crashes during HasObject loading

8 years ago[mcs] Handle null propagation operator inside nested member access expression. Fixes...
Marek Safar [Wed, 17 Jun 2015 15:35:22 +0000 (17:35 +0200)]
[mcs] Handle null propagation operator inside nested member access expression. Fixes #31092

8 years agoMerge pull request #1881 from mono/Therzok-patch-1
Marek Safar [Wed, 17 Jun 2015 05:41:43 +0000 (07:41 +0200)]
Merge pull request #1881 from mono/Therzok-patch-1

[mcs] Fix order of parameters for LineNumberEntry

8 years ago[mcs] Fix order of parameters for LineNumberEntry
Marius Ungureanu [Wed, 17 Jun 2015 04:56:08 +0000 (07:56 +0300)]
[mcs] Fix order of parameters for LineNumberEntry

Discovered by coverity in NRefactory.

8 years agoFix a warning.
Zoltan Varga [Wed, 17 Jun 2015 02:45:38 +0000 (22:45 -0400)]
Fix a warning.

8 years ago[runtime] More full-aot+amd64 fixes.
Zoltan Varga [Wed, 17 Jun 2015 00:52:15 +0000 (20:52 -0400)]
[runtime] More full-aot+amd64 fixes.

8 years ago[runtime] Fix full aot on amd64.
Zoltan Varga [Wed, 17 Jun 2015 00:25:12 +0000 (20:25 -0400)]
[runtime] Fix full aot on amd64.

8 years ago[runtime] Fixed use-after-free in context freeing
Alexander Kyte [Wed, 17 Jun 2015 00:07:08 +0000 (20:07 -0400)]
[runtime] Fixed use-after-free in context freeing

We had a use-after-free bug in context freeing that creating and freeing AppDomains in parallel exposed.

We called g_hash_table_remove in a callback to g_hash_table_foreach,
which
resulted in freeing the Slot struct that the g_hash_table_foreach was
holding a local reference to.

When it tried to get the chained 'next' element in the table, if
other threads caused enough memory pressure to reuse that memory
between freeing and getting the 'next' pointer, then we try to
dereference a garbage value and get a SIGSEGV.

8 years ago[WindowsBase] Fixed potential string overflow bug when getting Zip entry file length.
João Matos [Tue, 16 Jun 2015 18:27:28 +0000 (19:27 +0100)]
[WindowsBase] Fixed potential string overflow bug when getting Zip entry file length.

8 years ago[WindowsBase] Fixed string buffer overflow when handling Zip entries.
João Matos [Tue, 16 Jun 2015 18:26:16 +0000 (19:26 +0100)]
[WindowsBase] Fixed string buffer overflow when handling Zip entries.

Fixes NuGet package handling, see https://bugzilla.xamarin.com/show_bug.cgi?id=26205.