Marek Safar [Sat, 19 Oct 2013 15:34:26 +0000 (08:34 -0700)]
Merge pull request #783 from alistair/timezoneinfo_fix_for__convert_utc_to_local
Bug 15373: Return Local DateTime instead of Unspecified for >net_4_0
Alistair Bush [Sat, 19 Oct 2013 10:41:17 +0000 (23:41 +1300)]
Return Local DateTime instead of Unspecified for >net_4_0
Mark Probst [Fri, 18 Oct 2013 19:46:11 +0000 (12:46 -0700)]
[runtime] JIT debugging option to optimize only single methods.
The --single-method option run regression tests from an assembly, like
--regression. Instead of going through a list of optimizations,
however, it takes one optimization combination, runs all tests with
all optimizations turned off, while gathering a list of which methods
were jitted. Then, for each jitted method, it runs all tests again,
with the optimizations applied to only that one method, stopping as
soon as a test fails. Example:
mono --single-method=branch,peephole basic-float.exe
Zoltan Varga [Fri, 18 Oct 2013 20:23:54 +0000 (22:23 +0200)]
Disable a corlib test assertion which is no longer true.
Rodrigo Kumpera [Fri, 18 Oct 2013 18:09:11 +0000 (11:09 -0700)]
Merge pull request #768 from madewokherd/gcnotdll
Define GC_NOT_DLL for included boehm on win32.
Zoltan Varga [Fri, 18 Oct 2013 17:28:39 +0000 (19:28 +0200)]
[sgen] Set the TLS key offsets in one place in create_allocator ().
Zoltan Varga [Fri, 18 Oct 2013 17:25:09 +0000 (19:25 +0200)]
[aot] Add the JIT icall wrappers later, so it can pick up the JIT icalls registered by the managed allocators.
Zoltan Varga [Fri, 18 Oct 2013 16:32:28 +0000 (18:32 +0200)]
[runtime] Fix the build.
Zoltan Varga [Fri, 18 Oct 2013 16:14:25 +0000 (18:14 +0200)]
[runtime] Really fix the build.
Zoltan Varga [Fri, 18 Oct 2013 16:10:30 +0000 (18:10 +0200)]
[runtime] Fix the build.
Zoltan Varga [Fri, 18 Oct 2013 16:01:44 +0000 (18:01 +0200)]
[runtime] Add a missing file.
Zoltan Varga [Fri, 18 Oct 2013 15:54:01 +0000 (17:54 +0200)]
[runtime] Clean up the usage of the CEE_MONO_TLS opcode in wrappers. Instead of passing it the tls offset, pass one of the TLS_KEY_ constants defined in mono-tls.h, and resolve the offset in the JIT. This allows these wrappers to work with AOT.
Zoltan Varga [Fri, 18 Oct 2013 09:22:32 +0000 (02:22 -0700)]
Merge pull request #781 from directhex/master
SPARC build fixes
Jo Shields [Fri, 18 Oct 2013 08:36:00 +0000 (09:36 +0100)]
Define REG_SP on SPARC in sgen-archdep.h, if needed.
This definition is stolen from exceptions-sparc.c
Jonathan Lima [Thu, 26 Sep 2013 16:56:16 +0000 (13:56 -0300)]
Fix MSVC build.
Jo Shields [Fri, 18 Oct 2013 08:07:52 +0000 (09:07 +0100)]
Add missing ; characters to mono-hwcap-sparc.c. Fixes build failure.
Atsushi Eno [Fri, 18 Oct 2013 07:52:08 +0000 (00:52 -0700)]
Merge pull request #762 from echampet/wsdl
[FIX] Bug 267: wsdl fails with "Argument is out of range."
Atsushi Eno [Fri, 18 Oct 2013 07:49:51 +0000 (00:49 -0700)]
Merge pull request #766 from remobjects/resx-delete-on-clean
When generating resources, it intends to add the .resources file to the ...
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.