Atsushi Eno [Fri, 18 Oct 2013 07:48:26 +0000 (00:48 -0700)]
Merge pull request #767 from ovatsus/Bug14922
Fix for #14922
Zoltan Varga [Thu, 17 Oct 2013 09:53:17 +0000 (11:53 +0200)]
Fill out AssemblyName.ProcessorArchitecture for assemblies. Fixes #15347.
Marek Safar [Wed, 16 Oct 2013 18:21:18 +0000 (20:21 +0200)]
Better check for open generic types in probing expression. Fixes #15422
Marek Safar [Wed, 16 Oct 2013 17:17:25 +0000 (19:17 +0200)]
Fixes too early optimization of binary &&/& bool constants. Fixes part of #15392
Martin Baulig [Wed, 16 Oct 2013 09:24:57 +0000 (11:24 +0200)]
Dummy test commit.
Mark Probst [Tue, 15 Oct 2013 23:47:18 +0000 (16:47 -0700)]
[sgen] Don't crash on nurseries of 512M or larger.
Martin Baulig [Tue, 15 Oct 2013 18:30:29 +0000 (20:30 +0200)]
[PCL]: Update the PCL Facade Assemblies.
Zoltan Varga [Tue, 15 Oct 2013 15:01:24 +0000 (17:01 +0200)]
[aot] Only use an AOT shortcut in the trampoline code if its safe to do so. Fixes #15345.
Martin Baulig [Tue, 15 Oct 2013 12:49:49 +0000 (14:49 +0200)]
Makefile magic ...
Marek Safar [Mon, 14 Oct 2013 17:17:23 +0000 (19:17 +0200)]
Marek Safar [Mon, 14 Oct 2013 07:32:13 +0000 (00:32 -0700)]
Merge pull request #779 from LogosBible/UTF8Encoding
Fixing bugs in UTF8Encoding's GetMaxByteCount and GetMaxCharCount.
Martin Potter [Sun, 13 Oct 2013 00:19:52 +0000 (17:19 -0700)]
Fixing bugs in UTF8Encoding's GetMaxByteCount and GetMaxCharCount.
The previous implementation of GetMaxByteCount has two bugs: it incorrectly took into account the byte order mark and it was taking the max of a byte count (3) and a character count (EncoderFallback.MaxCharCount). This could result in returning the max number of bytes required to convert a string that was less than the number bytes used when converting the string.
GetMaxCharCount did not previously take into account DecoderFallback.MaxCharCount or the fact that there may still be part of a surrogate pair left on the buffer from a previous call to convert.
I removed the #if NET_2_0 conditionals and NotWorking category since these methods now return results consistent with Microsoft's implementation. I also added two simple tests for custom EncoderFallback and DecoderFallback cases.
This commit is licensed under MIT/X11.
Jeffrey Stedfast [Sat, 12 Oct 2013 22:07:27 +0000 (15:07 -0700)]
Merge pull request #774 from DavidS/patch-1
Minor fix to avoid ArgumentOutOfRangeException
Zoltan Varga [Sat, 12 Oct 2013 13:17:59 +0000 (15:17 +0200)]
[runtime] Run the tests in mono/tests in sorted order.
Zoltan Varga [Sat, 12 Oct 2013 00:49:10 +0000 (02:49 +0200)]
[xdebug] Avoid using a MonoDebugMethodJitInfo structure after it has been freed. Fixes #15090.
Sebastien Pouliot [Fri, 11 Oct 2013 20:44:59 +0000 (16:44 -0400)]
[mono-api-html] Several indexer properties (Item) can have the name (with different parameters)
Sebastien Pouliot [Fri, 11 Oct 2013 15:05:02 +0000 (11:05 -0400)]
[mono-api-html] Output nested type correctly (was missing the declaring type name)
Marek Safar [Fri, 11 Oct 2013 13:28:54 +0000 (15:28 +0200)]
The first definite assignment cleanup
Mark Probst [Thu, 10 Oct 2013 23:54:26 +0000 (16:54 -0700)]
[regalloc2] Handle sreg3.
Mark Probst [Thu, 10 Oct 2013 23:47:33 +0000 (16:47 -0700)]
[regalloc2] Lazily allocate intervals.
Rodrigo Kumpera [Thu, 10 Oct 2013 18:44:45 +0000 (11:44 -0700)]
Merge pull request #777 from nealef/master
Remove debug message
Neale Ferguson [Thu, 10 Oct 2013 18:37:43 +0000 (14:37 -0400)]
Remove debug message
Rodrigo Kumpera [Thu, 10 Oct 2013 18:26:54 +0000 (11:26 -0700)]
Merge pull request #776 from nealef/master
Fix memory leaks in Oracle Client. The largest leaks come from the curso...
Neale Ferguson [Thu, 10 Oct 2013 17:17:17 +0000 (13:17 -0400)]
Fix memory leaks in Oracle Client. The largest leaks come from the cursors being created but never freed in OracleParameter.cs. The size of the memory used by these cursors varies from tens to thousands of bytes depending on the statement being executed. Several hours of transactions can lead to OOM errors. The other fixes are relatively minor but they do clean up other unmanaged memory not being returned.
Aaron Bockover [Thu, 10 Oct 2013 16:35:02 +0000 (12:35 -0400)]
bxc#13642: MacNetworkChange: implement using managed code
The previous version used SCNetworkReachability
in C inside libMonoPosixHelper. This was less
than ideal and made it more problematic for
supporting iOS as it doesn't actually link
MPH in.
Rewrite using P/Invokes directly into the
SCNetworkReachability APIs for Mac OS X and
iOS.
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=13642
for iOS and Mac OS X.
Marek Safar [Thu, 10 Oct 2013 14:05:59 +0000 (16:05 +0200)]
Compound assignment of optimized binary constant needs to decompose it first. Fixes #15315
Marek Safar [Thu, 10 Oct 2013 10:10:06 +0000 (12:10 +0200)]
Better debugger visualization for .net 1.1 style custom collections
Sebastien Pouliot [Thu, 10 Oct 2013 12:11:50 +0000 (08:11 -0400)]
[mono-api-html] Output C# 'char' instead of 'System.Char'
Sebastien Pouliot [Thu, 10 Oct 2013 12:10:44 +0000 (08:10 -0400)]
[mono-api-html] Do not produce (near-)empty files when no (public) changes are detected
Marek Safar [Thu, 10 Oct 2013 09:22:03 +0000 (11:22 +0200)]
Ensure that CodeDom generated temporary directory is always created. Fixes #12202
Sebastien Pouliot [Thu, 10 Oct 2013 00:59:21 +0000 (20:59 -0400)]
[mono-api-html] Show 'static' fields as such
Sebastien Pouliot [Thu, 10 Oct 2013 00:30:58 +0000 (20:30 -0400)]
Process/compare/output method's generic parameters [#15311]
Marek Safar [Wed, 9 Oct 2013 18:00:33 +0000 (20:00 +0200)]
Anonymous type are shared across module hence need module counters.
Rodrigo Kumpera [Wed, 9 Oct 2013 16:58:44 +0000 (12:58 -0400)]
Fix net_2_0 test.
Jonathan Pryor [Wed, 9 Oct 2013 15:07:05 +0000 (08:07 -0700)]
Merge pull request #775 from directhex/fix-gendarme-doc-generation
[monodoc] Ensure we don't try to use <Parameters/> when it might be null. Fixes Gendarme doc generation.
Jo Shields [Wed, 9 Oct 2013 14:02:35 +0000 (16:02 +0200)]
[monodoc] Support fields that match operator naming convention
Jo Shields [Wed, 9 Oct 2013 13:57:47 +0000 (15:57 +0200)]
Jo Shields [Wed, 9 Oct 2013 13:31:23 +0000 (15:31 +0200)]
[monodoc] Ensure we don't try to use <Parameters> when it might be null. Fixes Gendarme doc generation.
Gustavo Guerra [Wed, 9 Oct 2013 12:38:35 +0000 (13:38 +0100)]
Adjust defines to check for 4_0 instead of 3_0
Marek Safar [Wed, 9 Oct 2013 12:27:19 +0000 (14:27 +0200)]
anonymous: move counters to TypeContainer
With the anonymous counters on ModuleContainer,
anonymous method and type names will be generated
in a way that depends on the order of the sources
passed to mcs. This can cause undesirable API
and IL differences.
Moving the counters to TypeContainer instead
avoids this issue.
Marek Safar [Wed, 9 Oct 2013 12:04:47 +0000 (14:04 +0200)]
Enum IConvertible can convert to same enum or System.Enum. Fixes #15289
Marek Safar [Wed, 9 Oct 2013 11:52:10 +0000 (13:52 +0200)]
Cleanup redundant code
Marek Safar [Wed, 9 Oct 2013 10:51:16 +0000 (12:51 +0200)]
Simplify work item registration for internal work items
Marek Safar [Wed, 9 Oct 2013 09:39:14 +0000 (11:39 +0200)]
Remove redundant initialization
Marek Safar [Wed, 9 Oct 2013 09:26:34 +0000 (11:26 +0200)]
Allow to queue multicast delegates in thread-pool
Marek Safar [Wed, 9 Oct 2013 08:43:41 +0000 (10:43 +0200)]
Release continuation ancestor before running. Fixes #15036
David Schmitt [Wed, 9 Oct 2013 08:36:37 +0000 (10:36 +0200)]
Minor fix to avoid ArgumentOutOfRangeException
When the file is empty, data[0] would throw and swallow the original exception.
Marek Safar [Tue, 8 Oct 2013 17:30:32 +0000 (19:30 +0200)]
Adds async type inference of void return type. Fixes #15238
Marek Safar [Tue, 8 Oct 2013 08:15:21 +0000 (10:15 +0200)]
Make Task.Delay more reliable. Fixes #14585
Jeffrey Stedfast [Mon, 7 Oct 2013 21:51:17 +0000 (17:51 -0400)]
[System.ComponentModel.DataAnnotations] Implemented EmailAddressAttribute.IsValid()
Atsushi Eno [Mon, 7 Oct 2013 16:57:17 +0000 (01:57 +0900)]
Element() and Elements() could also reduce use of extraneous iterators.
Jonathan Pryor [Mon, 7 Oct 2013 16:27:30 +0000 (12:27 -0400)]
Fallback to $LANG if $LC_ALL isn't set.
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=15214
This is a regression introduced in
be532638.
Xamarin.Android assumes that the $LANG environment variable can be
used to control System.Globalization.CultureInfo.CurrentCulture,
setting LANG based on the current Java locale.
This was broken in
be532638 because $LANG was no longer being checked
to determine the default locale, as $LC_ALL was not set.
Fix the fallback logic so that $LANG is checked when $LC_ALL is not.
Atsushi Eno [Mon, 7 Oct 2013 16:25:51 +0000 (01:25 +0900)]
reduce memory use on Attribute() caused by Attributes().
Marek Safar [Mon, 7 Oct 2013 15:04:13 +0000 (17:04 +0200)]
Inline more is instance checks
Marek Safar [Mon, 7 Oct 2013 13:04:09 +0000 (15:04 +0200)]
Cache only resolved types not expression to report correct error location. Fixes #15035
Atsushi Eno [Mon, 7 Oct 2013 12:32:10 +0000 (21:32 +0900)]
in XLinq XObject there is no need to instantiate XObjectEventArgs every time.
Zoltan Varga [Sun, 6 Oct 2013 04:12:58 +0000 (21:12 -0700)]
Merge pull request #771 from madewokherd/rvamap
For module handles, only check that rva's are within the image size.
Sebastien Pouliot [Fri, 4 Oct 2013 21:08:48 +0000 (17:08 -0400)]
Ignore some asserts since the validation were removed
Miguel de Icaza [Fri, 4 Oct 2013 20:59:36 +0000 (16:59 -0400)]
FixBuild
Marek Safar [Fri, 4 Oct 2013 20:41:24 +0000 (16:41 -0400)]
Better check for instance equality of generic types. Fixes #15100
Marek Safar [Thu, 3 Oct 2013 16:28:18 +0000 (12:28 -0400)]
Fix some code issue warnings
Zoltan Varga [Fri, 4 Oct 2013 19:51:51 +0000 (15:51 -0400)]
[sgen] Use gcc bitcount intrinsics where appropriate.
Miguel de Icaza [Fri, 4 Oct 2013 19:47:22 +0000 (15:47 -0400)]
This regex was wrong in the first place, and second, it uses CC code from Stackoverflow
Miguel de Icaza [Fri, 4 Oct 2013 19:43:47 +0000 (15:43 -0400)]
Remove CodeProject licensed code
Miguel de Icaza [Fri, 4 Oct 2013 19:42:49 +0000 (15:42 -0400)]
Add actual source
Miguel de Icaza [Fri, 4 Oct 2013 19:39:03 +0000 (15:39 -0400)]
Fix inacurrate reference
Vincent Povirk [Fri, 4 Oct 2013 18:26:32 +0000 (13:26 -0500)]
For module handles, only check that rva's are within the image size.
This commit licensed as MIT/X11.
Rodrigo Kumpera [Fri, 4 Oct 2013 16:55:00 +0000 (09:55 -0700)]
Merge pull request #770 from abock/master
mdbrebase: fix prefix replacement, add regex & filename modes
Aaron Bockover [Fri, 4 Oct 2013 14:26:24 +0000 (10:26 -0400)]
mdbrebase: fix prefix replacement, add regex & filename modes
Existing prefix replacement was incorrect as
it tested for a prefix but performed a multi
search and replace instead of just a prefix
replace. Fix that.
Add -r|--regex mode to indicate that path
replacement should be performed with regular
expressions.
Add -f|--filename mode to indicate that
replacements should be performed only on
a file name and not the full absolute path.
Add -v|--verbose mode to print the replacements
that are performed.
Gustavo Guerra [Fri, 4 Oct 2013 09:49:00 +0000 (10:49 +0100)]
[xBuild] Don't set any VisualStudioVersion
Sebastien Pouliot [Fri, 4 Oct 2013 01:59:41 +0000 (21:59 -0400)]
[mdoc] Fix output of GenericParameter (Cecil now overrides DeclaringType since
60ce19429e9cfaa770d72c2f395fdcdf11eb0f7b) not to include namespace (and match previous, correct, output)
Jonathan Pryor [Thu, 3 Oct 2013 15:06:21 +0000 (11:06 -0400)]
Support deserializing relative Uris. Fixes #15169.
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=15169
Marek Safar [Thu, 3 Oct 2013 13:07:13 +0000 (09:07 -0400)]
Rodrigo Kumpera [Wed, 2 Oct 2013 21:45:09 +0000 (14:45 -0700)]
Merge pull request #769 from schani/fix-exception-throw-signal
[x86] Fix bug when getting a signal while throwing exception.
Marek Safar [Wed, 2 Oct 2013 21:29:12 +0000 (17:29 -0400)]
Emit better debugger attribute for stepping over state machine initialization
Sebastien Pouliot [Wed, 2 Oct 2013 20:28:04 +0000 (16:28 -0400)]
Use more detailled assert messages in some, randomly failing, Timer unit tests (to help track #14305)
Zoltan Varga [Wed, 2 Oct 2013 17:20:43 +0000 (13:20 -0400)]
[runtime] Save MonoTrampInfo structures in a list so mono_print_method_from_ip () would work on trampolines.
Gustavo Guerra [Wed, 2 Oct 2013 15:12:29 +0000 (16:12 +0100)]
[xBuild] Add missing VisualStudioVersion propety which was introduced in VS2012
Mark Probst [Wed, 2 Oct 2013 14:58:53 +0000 (10:58 -0400)]
[x86] Fix bug when getting a signal while throwing exception.
Mark Probst [Wed, 2 Oct 2013 14:00:59 +0000 (07:00 -0700)]
[AMD64] Fix bug when getting a signal while throwing exception.
This is a very rarely occurring bug that's also still present on x86
and possibly other architectures, as well.
Atsushi Eno [Wed, 2 Oct 2013 14:04:44 +0000 (23:04 +0900)]
revive XSLT standalone tests (which was broken because of dependency on too old nunit and build profiles).
Zoltan Varga [Wed, 2 Oct 2013 13:24:32 +0000 (09:24 -0400)]
[runtime] Fix a runtime test which got broken by the newly added methods to the Marshal class.
Gustavo Guerra [Tue, 1 Oct 2013 20:43:17 +0000 (21:43 +0100)]
[xBuild] Fix use of properties in project references when those properties use MSBuildExtensionPath after expanded
Robin Neatherway [Tue, 1 Oct 2013 19:21:23 +0000 (20:21 +0100)]
[xBuild] Fix compilation for Mono 2.0
Martin Baulig [Tue, 1 Oct 2013 16:48:00 +0000 (12:48 -0400)]
[System]: Fix System.IO.Compression.CompressionLevel enum.
Sebastien Pouliot [Tue, 1 Oct 2013 00:39:14 +0000 (20:39 -0400)]
Relax name check when deserializing a WindowsIdentity instance as the name can be empty (e.g. iOS7 simulator will hide the user name) [#12789]
Sebastien Pouliot [Mon, 30 Sep 2013 21:32:38 +0000 (17:32 -0400)]
[mono-api-html] Better handling of generic types (so they can be simplified and displayed correctly, e.g. for arrays)
Sebastien Pouliot [Mon, 30 Sep 2013 21:31:50 +0000 (17:31 -0400)]
[mono-api-html] Fix ending quote for non-string fields
Marek Safar [Sun, 29 Sep 2013 21:56:23 +0000 (17:56 -0400)]
Anonymous method with this access inside an iterator needs to initialize captured this field from iterator's copy. Fixes #14926
Gustavo Guerra [Sun, 29 Sep 2013 20:28:56 +0000 (21:28 +0100)]
[xBuild] Fix Import elements with the combination of wildcards and absolute paths
Used in the .targets files shipped with VS2013
Gustavo Guerra [Sun, 29 Sep 2013 20:26:00 +0000 (21:26 +0100)]
[xBuild] Support for ImportGroup element
Used in the .targets files shipped with VS2013
Gustavo Guerra [Sun, 29 Sep 2013 20:22:47 +0000 (21:22 +0100)]
[xBuild] Suport >= in string conditions
e.g: '$(MSBuildAssemblyVersion)' == '' and ('$(VisualStudioVersion)' != '' and '$(VisualStudioVersion)' >= '12.0'), used in the .targets files shipped with VS2013
Gustavo Guerra [Sun, 29 Sep 2013 20:16:34 +0000 (21:16 +0100)]
[xBuild] Support use of properties defined in Choose elements in project references
This is used by the .fsproj files generated by VS2013 which use a Choose element to set the location of the F# targets file to import
Gustavo Guerra [Sun, 29 Sep 2013 20:13:58 +0000 (21:13 +0100)]
[xBuild] Support ToolsVersion 12
From VS2013, MSBuild is now decouple from the .NET Framework and is a separate redistributable. This means it has a new location and version numbering scheme. There are also some addition MSBuild properties because of this
Sebastien Pouliot [Sat, 28 Sep 2013 17:06:35 +0000 (13:06 -0400)]
Fix potential NRE and give better output for fields and some types
Atsushi Eno [Sat, 28 Sep 2013 11:58:52 +0000 (20:58 +0900)]
Add ConsoleLoggerTest and fixed implementation to match .NET implementation.
Atsushi Eno [Sat, 28 Sep 2013 11:57:50 +0000 (20:57 +0900)]
implement some "new in 4.0" build event args types.
Rodrigo Kumpera [Fri, 27 Sep 2013 23:51:54 +0000 (19:51 -0400)]
Revert "Allow workitems to startup faster and reduce polling thread interval in the threadpool."
This commit is causing unbound growth in the number of threads for a series of workloads.
It's leading a sgen test to crash with 800 tp threads around, which doesn't make sense on a
4 cores system with default TP configuration.
This reverts commit
3c347d5d3a9c58666ef33c96e28a16c751e59619.
Rolf Bjarne Kvinge [Fri, 27 Sep 2013 13:03:23 +0000 (15:03 +0200)]
[Mono.Tuner] Remove unused field.
Atsushi Eno [Fri, 27 Sep 2013 11:02:14 +0000 (20:02 +0900)]
Add some "new in 4.0" API regarding build event args.