mono.git
9 years agoFix typo (and XI builds)
Sebastien Pouliot [Fri, 19 Sep 2014 20:48:37 +0000 (16:48 -0400)]
Fix typo (and XI builds)

9 years ago[System.Numerics] Fix unit test to succeed on different culture (XI runs tests them...
Sebastien Pouliot [Fri, 19 Sep 2014 20:30:16 +0000 (16:30 -0400)]
[System.Numerics] Fix unit test to succeed on different culture (XI runs tests them on several cultures)

9 years ago[sgen] Fix wbarrier use if we define SGEN_HEAVY_BINARY_PROTOCOL, HEAVY_STATISTICS...
Ludovic Henry [Fri, 19 Sep 2014 15:13:24 +0000 (11:13 -0400)]
[sgen] Fix wbarrier use if we define SGEN_HEAVY_BINARY_PROTOCOL, HEAVY_STATISTICS or XDOMAIN_CHECKS_IN_WBARRIER

9 years agoMerge pull request #1245 from StephenMcConnel/bug-22483
Miguel de Icaza [Fri, 19 Sep 2014 14:17:09 +0000 (10:17 -0400)]
Merge pull request #1245 from StephenMcConnel/bug-22483

Fix scrolling in SWF.ListView.EnsureVisible(int index)

9 years agoMerge pull request #1287 from akoeplinger/fix-appconfig-performancecounters
Miguel de Icaza [Fri, 19 Sep 2014 14:15:05 +0000 (10:15 -0400)]
Merge pull request #1287 from akoeplinger/fix-appconfig-performancecounters

[System] Add performanceCounters element to System.Diagnostics app.config configuration section

9 years agoMerge pull request #1290 from directhex/master
Miguel de Icaza [Fri, 19 Sep 2014 14:13:55 +0000 (10:13 -0400)]
Merge pull request #1290 from directhex/master

Put KeyPairPersistence load into a try{}catch{} block.

9 years agoMerge pull request #1273 from joelmartinez/docs-unified-fix
Miguel de Icaza [Fri, 19 Sep 2014 14:11:01 +0000 (10:11 -0400)]
Merge pull request #1273 from joelmartinez/docs-unified-fix

bugfix for mdoc update with --dropns feature

9 years ago[utils] Fix force inlining compilation error with gcc on linux
Ludovic Henry [Fri, 19 Sep 2014 13:45:03 +0000 (09:45 -0400)]
[utils] Fix force inlining compilation error with gcc on linux

[02131]   CC       libmonoruntimesgen_la-sgen-marksweep.lo
[02131] In file included from sgen-major-copy-object.h:35:0,
[02131]                  from sgen-marksweep.c:1128:
[02131] sgen-copy-object.h:38:1: warning: always_inline function might not be inlinable [-Wattributes]
[02131]  par_copy_object_no_checks (char *destination, MonoVTable *vt, void *obj, mword objsize, SgenGrayQueue *queue)
[02131]  ^
[02131] sgen-marksweep.c: In function 'par_copy_object_no_checks':
[02131] sgen-copy-object.h:38:1: error: function 'par_copy_object_no_checks' can never be copied because it saves address of local label in a static variable
[02131] make[3]: *** [libmonoruntimesgen_la-sgen-marksweep.lo] Error 1
[02131] make[3]: Leaving directory `/root/rpmbuild/BUILD/mono-3.10.1/mono/metadata'
[02131] make[2]: *** [all-recursive] Error 1
[02131] make[2]: Leaving directory `/root/rpmbuild/BUILD/mono-3.10.1/mono'
[02131] make[1]: *** [all-recursive] Error 1
[02131] make[1]: Leaving directory `/root/rpmbuild/BUILD/mono-3.10.1'
[02131] make: *** [all] Error 2
[02131] error: Bad exit status from /var/tmp/rpm-tmp.YxcUOE (%build)

9 years ago[mcs] Improve scoring of failed overload resolution. Fixes #22989
Marek Safar [Thu, 18 Sep 2014 22:08:04 +0000 (00:08 +0200)]
[mcs] Improve scoring of failed overload resolution. Fixes #22989

9 years ago[utils] Use MONO_ALWAYS_INLINE + Add MONO_NEVER_INLINE
Ludovic Henry [Thu, 18 Sep 2014 20:39:53 +0000 (16:39 -0400)]
[utils] Use MONO_ALWAYS_INLINE + Add MONO_NEVER_INLINE

9 years agoPut KeyPairPersistence load into a try{}catch{} block.
Jo Shields [Thu, 18 Sep 2014 16:32:06 +0000 (17:32 +0100)]
Put KeyPairPersistence load into a try{}catch{} block.

Kpp.Load() will throw an unhandled exception if _filename (a folder to use as the key store) does not exist and it cannot be created.

This is an entirely valid thing to have happen - cert importing into the machine store (mozroots --import --machine --sync) as root will create a /usr/share/.mono/certs/ folder, but will not create /usr/share/.mono/keypairs - and since the root user owns /usr/share/.mono/, if the user tries to enumerate the certificates in /usr/share/.mono/certs/, they get 0 certificates returned due to the unhandled exception dropping each loaded certificate on the floor.

Closes: Xamarin bug 23015

9 years ago[mcs] Fix output type inference when parameters after first one depend on fixed first...
Marek Safar [Thu, 18 Sep 2014 12:47:19 +0000 (14:47 +0200)]
[mcs] Fix output type inference when parameters after first one depend on fixed first set. Fixes #23024

9 years ago[mcs] Better check for parameterless constructor overload
Marek Safar [Thu, 18 Sep 2014 08:10:04 +0000 (10:10 +0200)]
[mcs] Better check for parameterless constructor overload

9 years ago[sdb] Use new style interrupt on win32 if available.
Zoltan Varga [Thu, 18 Sep 2014 02:49:02 +0000 (22:49 -0400)]
[sdb] Use new style interrupt on win32 if available.

9 years ago[runtime] Use the windows CONTEXT<->MonoContext conversion code to mono-context.c...
Zoltan Varga [Thu, 18 Sep 2014 02:37:18 +0000 (22:37 -0400)]
[runtime] Use the windows CONTEXT<->MonoContext conversion code to mono-context.c, simplify some code.

9 years ago[runtime] Implement the new suspend infrastructure on windows.
Zoltan Varga [Wed, 17 Sep 2014 22:25:00 +0000 (18:25 -0400)]
[runtime] Implement the new suspend infrastructure on windows.

9 years ago[sdb] Implement support for win64.
Zoltan Varga [Wed, 17 Sep 2014 19:20:59 +0000 (15:20 -0400)]
[sdb] Implement support for win64.

9 years ago[xbuild] Workaround for issues with CreateItem task where metadata are not generated...
Marek Safar [Wed, 17 Sep 2014 18:20:35 +0000 (20:20 +0200)]
[xbuild] Workaround for issues with CreateItem task where metadata are not generated due to up-to-data inputs. Fixes #23022

9 years agoMerge pull request #1288 from ylatuya/patch-2
Zoltan Varga [Wed, 17 Sep 2014 18:03:43 +0000 (14:03 -0400)]
Merge pull request #1288 from ylatuya/patch-2

[mkbundle] Fix check for dos2unix

9 years ago[runtime] Use statfs(2) on Android.
Jonathan Pryor [Wed, 17 Sep 2014 16:56:44 +0000 (12:56 -0400)]
[runtime] Use statfs(2) on Android.

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

Reverts commit 53ce92470.

Commit 53ce92470 disabled use of statfs(2) on Android, for unspecified
reasons. (My *suspicion* is that the Android version mono was
originally ported to didn't have statfs(2), but I can neither confirm
nor deny that guess.)

Android has supported statfs(2) since API-4 Android v1.6 (in that
statfs(2) is in the header files); what's missing is MNT_RDONLY. What
IS present is MS_RDONLY, which appears to serve the same purpose.

Re-enable use of statfs(2) and use MS_RDONLY when building against the
Android NDK.

9 years ago[mkbundle] Fix check for dos2unix
Andoni Morales Alastruey [Wed, 17 Sep 2014 14:17:33 +0000 (16:17 +0200)]
[mkbundle] Fix check for dos2unix

This fixes the command to check for dos2unix and makes mkbundle usable again with mingw.
We need first to redirect the standard input, otherwise the check always fails with an InvalidOperationException and set CreateNoWindow=false to avoid spawning a new window.

9 years ago[xbuild] Fix few crashes when task loading fails
Marek Safar [Wed, 17 Sep 2014 09:19:05 +0000 (11:19 +0200)]
[xbuild] Fix few crashes when task loading fails

9 years ago[jit] Make calls from gshared to gsharedvt sharable methods indirect since otherwise...
Zoltan Varga [Wed, 17 Sep 2014 03:17:39 +0000 (23:17 -0400)]
[jit] Make calls from gshared to gsharedvt sharable methods indirect since otherwise at runtime we might find an instantiation and we cannot patch the call, leading to performance problems. Fixes #23021.

9 years agoFix mobile and mobile_static profiles
Michael Hutchinson [Tue, 16 Sep 2014 20:22:02 +0000 (16:22 -0400)]
Fix mobile and mobile_static profiles

And bring them to parity with monodroid and monotouch

9 years ago[WCF]: Update to my last fix for bug #22129.
Martin Baulig [Tue, 16 Sep 2014 19:30:34 +0000 (21:30 +0200)]
[WCF]: Update to my last fix for bug #22129.

The problem already starts when creating the OperationDescription; we need
to also look at the End* method here to correctly parse the reply parameters.

Then ClientRuntimeChannel.Process needs to distinguish between sync/async
and copy the out/byref parameters when needed.

9 years ago[runtime] Make stack walks done by the sampling profiler async safe.
Zoltan Varga [Tue, 16 Sep 2014 19:07:35 +0000 (15:07 -0400)]
[runtime] Make stack walks done by the sampling profiler async safe.

9 years ago[mcs] struct parameterless instance constructors
Marek Safar [Tue, 16 Sep 2014 17:19:04 +0000 (19:19 +0200)]
[mcs] struct parameterless instance constructors

9 years ago[runtime] Disable VS warnings C4273 (inconsistent dll linkage), and C4005 (macro...
Zoltan Varga [Tue, 16 Sep 2014 03:30:40 +0000 (23:30 -0400)]
[runtime] Disable VS warnings C4273 (inconsistent dll linkage), and C4005 (macro redefinition). The former occurs becase we mark exported function declarations using MONO_API, but not the definitions. The latter occurs because we define _WINSOCKAPI_.

9 years ago[runtime] Fix the my_g_bit_nth_msf () function for win64.
Zoltan Varga [Tue, 16 Sep 2014 02:10:23 +0000 (22:10 -0400)]
[runtime] Fix the my_g_bit_nth_msf () function for win64.

9 years ago[runtime] Add support for setting the thread name on windows. On windows, this will...
Zoltan Varga [Mon, 15 Sep 2014 23:14:09 +0000 (19:14 -0400)]
[runtime] Add support for setting the thread name on windows. On windows, this will only work when running under a debugger.

9 years ago[arm64] Increase some opcode sizes. Fixes #23026.
Zoltan Varga [Mon, 15 Sep 2014 22:09:43 +0000 (18:09 -0400)]
[arm64] Increase some opcode sizes. Fixes #23026.

9 years ago[runtime] Fix an assert in w32_dlerror () on winx64.
Zoltan Varga [Mon, 15 Sep 2014 21:34:54 +0000 (17:34 -0400)]
[runtime] Fix an assert in w32_dlerror () on winx64.

9 years ago[xbuild] More tweaks to tool path setup
Marek Safar [Mon, 15 Sep 2014 20:23:30 +0000 (22:23 +0200)]
[xbuild] More tweaks to tool path setup

9 years ago[aot] Use gsharedvt for collection types instantiated with generic structs as well.
Zoltan Varga [Mon, 15 Sep 2014 19:31:25 +0000 (15:31 -0400)]
[aot] Use gsharedvt for collection types instantiated with generic structs as well.

9 years agoAdded missing files to projects csproj files.
Marcos Henrich [Mon, 15 Sep 2014 17:58:52 +0000 (18:58 +0100)]
Added missing files to projects csproj files.

9 years ago[mcs] Revert usage of closed delegates for compiler generated anonymous method
Marek Safar [Mon, 15 Sep 2014 16:33:15 +0000 (18:33 +0200)]
[mcs] Revert usage of closed delegates for compiler generated anonymous method

9 years agoMerge pull request #1280 from nealef/master
Rodrigo Kumpera [Mon, 15 Sep 2014 16:31:16 +0000 (12:31 -0400)]
Merge pull request #1280 from nealef/master

Maximum large object size should be limited by SSIZE_MAX not SIZE_MAX.

9 years ago[WCF]: Copy out/ref parameters on async call; bug #22129.
Martin Baulig [Mon, 15 Sep 2014 15:11:21 +0000 (17:11 +0200)]
[WCF]: Copy out/ref parameters on async call; bug #22129.

9 years agoMerge pull request #1286 from esdrubal/xmlnullablearrayitem
Marek Safar [Mon, 15 Sep 2014 16:20:02 +0000 (07:20 -0900)]
Merge pull request #1286 from esdrubal/xmlnullablearrayitem

XmlSerializer nullable array items.

9 years agoIf not specified assume that array items are nullable. Fixes #19012.
Marcos Henrich [Mon, 15 Sep 2014 14:49:46 +0000 (15:49 +0100)]
If not specified assume that array items are nullable. Fixes #19012.

9 years agoTest xml serialization of nullable array items. Covers #19012.
Marcos Henrich [Mon, 15 Sep 2014 15:55:31 +0000 (16:55 +0100)]
Test xml serialization of nullable array items. Covers #19012.

9 years ago[xbuild] Workaround for null log service (which should never be null)
Marek Safar [Mon, 15 Sep 2014 15:37:16 +0000 (17:37 +0200)]
[xbuild] Workaround for null log service (which should never be null)

9 years agoMerge pull request #1257 from esdrubal/xmloptional
Marek Safar [Mon, 15 Sep 2014 12:44:30 +0000 (03:44 -0900)]
Merge pull request #1257 from esdrubal/xmloptional

Added optional serialization based on ShouldSerialize{V}.

9 years agoIgnore method ShouldSerialize if it is a generic.
Marcos Henrich [Mon, 8 Sep 2014 15:21:01 +0000 (23:21 +0800)]
Ignore method ShouldSerialize if it is a generic.

9 years agoTest serialization wen class has method bool ShouldSerialize<T>().
Marcos Henrich [Mon, 8 Sep 2014 15:16:08 +0000 (23:16 +0800)]
Test serialization wen class has method bool ShouldSerialize<T>().
.NET throws an exception but it should have no effect on the serialization.

9 years agoAdded optional serialization based on ShouldSerialize{V}.
Marcos Henrich [Fri, 5 Sep 2014 12:58:22 +0000 (20:58 +0800)]
Added optional serialization based on ShouldSerialize{V}.
SerializationCodeGenerator and XmlSerializationWriterInterpreter will no longer serialize an attribute named {V} if its object has a method named ShouldSerialize{V}() that returns false.
{V}Specified now is also checked to be true before serializating the attribute even if it is a property that is not settable.
Fixes #1852.

9 years agoAdded test for optional {V}Specified and ShouldSerialize{V}.
Marcos Henrich [Fri, 5 Sep 2014 12:47:48 +0000 (20:47 +0800)]
Added test for optional {V}Specified and ShouldSerialize{V}.
{V}Specified is a property or field and ShouldSerialize{V} is a method that can be set to false if we do not want to serialize an attribute with name {V}.

9 years agoFixed NullReferenceException.
Marcos Henrich [Fri, 5 Sep 2014 12:05:12 +0000 (20:05 +0800)]
Fixed NullReferenceException.

9 years ago[xbuild] Use ToolPath when building ToolTask execution path. Fixes #22981
Marek Safar [Mon, 15 Sep 2014 11:37:56 +0000 (13:37 +0200)]
[xbuild] Use ToolPath when building ToolTask execution path. Fixes #22981

9 years ago[System] Add performanceCounters element to System.Diagnostics app.config configurati...
Alexander Köplinger [Sat, 13 Sep 2014 22:07:26 +0000 (00:07 +0200)]
[System] Add performanceCounters element to System.Diagnostics app.config configuration section

See http://msdn.microsoft.com/en-us/library/ms229387(v=vs.110).aspx for details about the element.
The value that is set by the element isn't currently used in Mono, but applications using it in their app.config crash otherwise (e.g. http://stackoverflow.com/questions/25741651).

9 years ago[runtime] Remove an unused interpreter file.
Zoltan Varga [Sat, 13 Sep 2014 17:56:18 +0000 (13:56 -0400)]
[runtime] Remove an unused interpreter file.

9 years ago[mcs] nullable property pattern
Marek Safar [Sat, 13 Sep 2014 10:43:16 +0000 (12:43 +0200)]
[mcs] nullable property pattern

9 years ago[runtime] Fix the windows build. Define _WINSOCKAPI_ to fix the compilation problems...
Zoltan Varga [Sat, 13 Sep 2014 00:07:05 +0000 (20:07 -0400)]
[runtime] Fix the windows build. Define _WINSOCKAPI_ to fix the compilation problems when windows.h is included before winsock2.h: stackoverflow.com/questions/1372480/c-redefinition-header-files.

9 years ago[mdoc] consolidated dropns and dropns-assemblies into a single parameter.
Joel Martinez [Fri, 12 Sep 2014 21:22:06 +0000 (17:22 -0400)]
[mdoc] consolidated dropns and dropns-assemblies into a single parameter.

Based on pull request feedback, this is a simpler usage, and meets our required use-case. A sample version of this parameter would be: `--dropns MyUnifiedAssembly=MyDroppedPrefix`

9 years ago[runtime] Improve thread dumping reliability by doing it while holding the fat locks.
Rodrigo Kumpera [Fri, 12 Sep 2014 18:15:55 +0000 (14:15 -0400)]
[runtime] Improve thread dumping reliability by doing it while holding the fat locks.

We take the loader and the root domain locks before doing a thread dump. This reduces the odds
of us suspending a thread that holds either of them and deadlocking, for example, while decoding
AOT JIs.

9 years agoMaximum large object size should be limited by SSIZE_MAX not SIZE_MAX.
Neale Ferguson [Fri, 12 Sep 2014 15:37:52 +0000 (11:37 -0400)]
Maximum large object size should be limited by SSIZE_MAX not SIZE_MAX.
The latter appears to be a hangover from 32-bit systems.

9 years agoFixes 19752 -
Neale Ferguson [Fri, 12 Sep 2014 15:19:05 +0000 (11:19 -0400)]
Fixes 19752 -

Users have been complaining about strange errors arising when using the OracleClient classes.
I have tracked it down to the OciDefineHandle and OciDefineByPos calls, and OracleParameter
handling of amanged objects by unmanaged code. Currently two of the parameters passed to the
above OCI  call are short variables. They are passed as "ref" fields as Oracle uses their
address to put size and indicator data once the data is fetched. However, being defined as
short means that they are eligible for being moved during garbage collection. Thus if that
field is moved between the OciDefineByPos call and the fetch of the data then what Oracle is
pointing to may no longer be variable. I'm thinking it may be better to define these fields as
IntPtr and allocate them and retrieve their values via Marshal.ReadInt16. As for OracleParameter,
it uses a managed object "indicator" that is also used in a similar way. This reference is replaced
by a IntPtr and a get/set method to access the contents.

9 years ago[mcs] Don't use `1 naming for compiler generated second level and deeper nested types...
Marek Safar [Fri, 12 Sep 2014 13:18:53 +0000 (15:18 +0200)]
[mcs] Don't use `1 naming for compiler generated second level and deeper nested types. Fixes #22893

9 years agoMerge pull request #1276 from Therzok/master
Zoltan Varga [Fri, 12 Sep 2014 00:58:12 +0000 (20:58 -0400)]
Merge pull request #1276 from Therzok/master

Add concurrent hashtable test to gitignore.

9 years agoMerge pull request #1275 from ranma42/fix-lib64
Zoltan Varga [Fri, 12 Sep 2014 00:57:48 +0000 (20:57 -0400)]
Merge pull request #1275 from ranma42/fix-lib64

Fix build with lib64 folder for arch-specific libraries

9 years ago[System] Fix building unit tests under the mobile profile
Sebastien Pouliot [Fri, 12 Sep 2014 00:43:21 +0000 (20:43 -0400)]
[System] Fix building unit tests under the mobile profile

9 years ago[jit] Always pass the imt arg to interface calls in gsharedvt methods. Fixes #22624.
Zoltan Varga [Thu, 11 Sep 2014 21:57:00 +0000 (17:57 -0400)]
[jit] Always pass the imt arg to interface calls in gsharedvt methods. Fixes #22624.

9 years ago[mdoc] Formatting feedback from pull #1273
Joel Martinez [Thu, 11 Sep 2014 19:43:28 +0000 (15:43 -0400)]
[mdoc] Formatting feedback from pull #1273

9 years ago[mcs] property pattern
Marek Safar [Thu, 11 Sep 2014 17:40:06 +0000 (19:40 +0200)]
[mcs] property pattern

9 years agoDon't throw TimeZoneNotFoundExceptions when iOS gives us invalid data.
Rolf Bjarne Kvinge [Thu, 11 Sep 2014 16:52:43 +0000 (18:52 +0200)]
Don't throw TimeZoneNotFoundExceptions when iOS gives us invalid data.

iOS 8 GM lists "Asia/Chita" among its time zones, but when requesting
the time zone data for that time zone, no data is returned.

With this change we ignore time zones without any data when fetching
all the timezones on the system.

9 years agoMerge pull request #1278 from esdrubal/datetimegmt
Marek Safar [Thu, 11 Sep 2014 14:29:27 +0000 (05:29 -0900)]
Merge pull request #1278 from esdrubal/datetimegmt

GMT DateTimeOffset is now properly parsed.

9 years agoGMT DateTimeOffset is now properly parsed. Fixes #22851.
Marcos Henrich [Thu, 11 Sep 2014 14:12:36 +0000 (15:12 +0100)]
GMT DateTimeOffset is now properly parsed. Fixes #22851.
GMT date formats set useutc to true, so now useutc is checked to init DateTimeOffset with a zero offset.

9 years agoTest that offset is zero when date ends with GMT. Covers #22851.
Marcos Henrich [Thu, 11 Sep 2014 14:11:42 +0000 (15:11 +0100)]
Test that offset is zero when date ends with GMT. Covers #22851.

9 years agoMerge pull request #1277 from esdrubal/calendarsdaysinyear
Marek Safar [Thu, 11 Sep 2014 12:17:52 +0000 (03:17 -0900)]
Merge pull request #1277 from esdrubal/calendarsdaysinyear

Improved CalendricalCalculations fixed_from_dmy methods.

9 years agoImproved CalendricalCalculations fixed_from_dmy methods. Fixes #21930.
Marcos Henrich [Thu, 11 Sep 2014 11:26:47 +0000 (12:26 +0100)]
Improved CalendricalCalculations fixed_from_dmy methods. Fixes #21930.
In some cases fixed_from_dmy is used with the month parameter greater than the number of months of that year.
Year is now incremented until month parameter is valid.

9 years agoTest Calendar.DaysInYear. Covers #21930.
Marcos Henrich [Thu, 11 Sep 2014 11:53:25 +0000 (12:53 +0100)]
Test Calendar.DaysInYear. Covers #21930.

9 years agoAdd concurrent hashtable test to gitignore.
Ungureanu Marius [Thu, 11 Sep 2014 10:39:52 +0000 (13:39 +0300)]
Add concurrent hashtable test to gitignore.

9 years ago[corlib] Enumerate all subdirectories including the first one. Fixes #22857
Marek Safar [Thu, 11 Sep 2014 09:20:44 +0000 (11:20 +0200)]
[corlib] Enumerate all subdirectories including the first one. Fixes #22857

9 years ago[system] Fixes failing test
Marek Safar [Thu, 11 Sep 2014 08:30:58 +0000 (10:30 +0200)]
[system] Fixes failing test

9 years agoDo not hardcode lib path
Andrea Canciani [Wed, 10 Sep 2014 06:36:42 +0000 (08:36 +0200)]
Do not hardcode lib path

The changes from 3408b8e5f194774e529e223173d68a1a8f880ea5 cause
regressions in distros which do not use lib as folder for
arch-specific libraries, like Fedora x86_64.

Instead, reloc_libdir should be used (as in data/mono.pc.in).

This change is released under the MIT/X11 license.

9 years ago[aot] Avoid a stack overflow if profiler enter-leave events are requested in the...
Zoltan Varga [Wed, 10 Sep 2014 23:14:57 +0000 (19:14 -0400)]
[aot] Avoid a stack overflow if profiler enter-leave events are requested in the full-aot mode.

9 years ago[runtime] Fix the RESOLTION_SCOPE->RESOLUTION_SCOPE typo.
Zoltan Varga [Wed, 10 Sep 2014 23:06:15 +0000 (19:06 -0400)]
[runtime] Fix the RESOLTION_SCOPE->RESOLUTION_SCOPE typo.

9 years ago[mdoc] added -dropns-assemblies parameter.
Joel Martinez [Wed, 10 Sep 2014 16:20:25 +0000 (12:20 -0400)]
[mdoc] added -dropns-assemblies parameter.
Will now only replace the namespace when the type or member is in a listed assembly

9 years ago[runtime] Redirect runtime logging to asl_log only on ios, not when running the cross...
Zoltan Varga [Wed, 10 Sep 2014 18:23:57 +0000 (14:23 -0400)]
[runtime] Redirect runtime logging to asl_log only on ios, not when running the cross compiler.

9 years agoMerge pull request #1271 from akoeplinger/fix-switch-ctor
Marek Safar [Wed, 10 Sep 2014 17:19:20 +0000 (08:19 -0900)]
Merge pull request #1271 from akoeplinger/fix-switch-ctor

[System] Fixed Diagnostics.Switch ctor behavior for null parameters

9 years ago[System] Fixed Diagnostics.Switch ctor behavior for null parameters
Alexander Köplinger [Wed, 10 Sep 2014 17:09:34 +0000 (19:09 +0200)]
[System] Fixed Diagnostics.Switch ctor behavior for null parameters

Passing null to the displayName or description ctor parameter on MS.NET makes them equal to an empty string.
Fixed the Mono behavior to match .NET.

9 years ago[system.net.http] Encode ContentDisposition name. Fixes #18422
Marek Safar [Wed, 10 Sep 2014 17:04:22 +0000 (19:04 +0200)]
[system.net.http] Encode ContentDisposition name. Fixes #18422

9 years ago[mcs] Remove value type constrained type parameter instantiation optimization to...
Marek Safar [Wed, 10 Sep 2014 16:22:35 +0000 (18:22 +0200)]
[mcs] Remove value type constrained type parameter instantiation optimization to handle parameterless struct constructors

9 years agoMerge pull request #1270 from esdrubal/xmlimplicit
Marek Safar [Wed, 10 Sep 2014 17:08:26 +0000 (08:08 -0900)]
Merge pull request #1270 from esdrubal/xmlimplicit

When needed serialized objects are now implicitly converted.

9 years agoWhen needed serialized objects are now implicitly converted.
Marcos Henrich [Wed, 10 Sep 2014 16:25:44 +0000 (17:25 +0100)]
When needed serialized objects are now implicitly converted.
Fixes #20403.

9 years agoChanged method ImplicitConvert to internal static.
Marcos Henrich [Wed, 10 Sep 2014 16:24:38 +0000 (17:24 +0100)]
Changed method ImplicitConvert to internal static.

9 years agoImplicitConvert was using method with wrong parameter and return type.
Marcos Henrich [Wed, 10 Sep 2014 16:13:49 +0000 (17:13 +0100)]
ImplicitConvert was using method with wrong parameter and return type.

9 years agoTest XmlSerialization of element that requires implicit conversion.
Marcos Henrich [Wed, 10 Sep 2014 15:30:03 +0000 (16:30 +0100)]
Test XmlSerialization of element that requires implicit conversion.
Covers #20403.

9 years ago[websocket]: Fix ClientWebSocket.ReceiveAsync() with small buffer; bug #22704.
Martin Baulig [Wed, 10 Sep 2014 15:08:09 +0000 (17:08 +0200)]
[websocket]: Fix ClientWebSocket.ReceiveAsync() with small buffer; bug #22704.

When calling ClientWebSocket.ReceiveAsync() with a buffer that's smaller than
the received chunk, we need to cache the header until next call.

9 years agoFix the build
Alexander Köplinger [Wed, 10 Sep 2014 12:26:36 +0000 (14:26 +0200)]
Fix the build

9 years agoMerge pull request #1269 from Therzok/refactorSwitches
Marek Safar [Wed, 10 Sep 2014 11:01:15 +0000 (02:01 -0900)]
Merge pull request #1269 from Therzok/refactorSwitches

[SourceSwitch] Refactor a piece of code.

9 years agoFix build failure caused by #1267.
Marius Ungureanu [Wed, 10 Sep 2014 10:59:49 +0000 (13:59 +0300)]
Fix build failure caused by #1267.

9 years ago[SourceSwitch] Refactor a piece of code.
Marius Ungureanu [Wed, 10 Sep 2014 10:04:10 +0000 (13:04 +0300)]
[SourceSwitch] Refactor a piece of code.

9 years ago[system.net.http] Handle Content-Disposition in textual form as well.
Marek Safar [Wed, 10 Sep 2014 07:47:22 +0000 (09:47 +0200)]
[system.net.http] Handle Content-Disposition in textual form as well.

9 years agoMerge pull request #1267 from ramtinkermani/master
Marek Safar [Wed, 10 Sep 2014 05:40:10 +0000 (20:40 -0900)]
Merge pull request #1267 from ramtinkermani/master

The ShouldTrace method's conditions are fixed to correctly trace the events based...

9 years agoUnit Tests for SourceSwitch. Counting the number of events traced based on the Trace...
ramtin [Tue, 9 Sep 2014 22:07:14 +0000 (15:07 -0700)]
Unit Tests for SourceSwitch. Counting the number of events traced based on the Trace Level

9 years ago[system.net.http] Tokenize dash only in range values. Fixes #22764
Marek Safar [Tue, 9 Sep 2014 21:38:12 +0000 (23:38 +0200)]
[system.net.http] Tokenize dash only in range values. Fixes #22764

9 years ago[jit] Fix error handling in a few places in the jit.
Rodrigo Kumpera [Tue, 9 Sep 2014 20:33:06 +0000 (16:33 -0400)]
[jit] Fix error handling in a few places in the jit.

9 years ago[runtime] Fix error handling in mono_metadata_parse_mh_full.
Rodrigo Kumpera [Tue, 9 Sep 2014 19:54:15 +0000 (15:54 -0400)]
[runtime] Fix error handling in mono_metadata_parse_mh_full.

9 years ago[runtime] Update reflection.c to use mono_class_get_checked.
Rodrigo Kumpera [Tue, 9 Sep 2014 14:26:16 +0000 (10:26 -0400)]
[runtime] Update reflection.c to use mono_class_get_checked.