Marek Safar [Wed, 28 Aug 2013 15:49:51 +0000 (17:49 +0200)]
Use IReflectType interface instead of TypeDelegator for introspection type extensions. Fixes #14168
Marek Safar [Wed, 28 Aug 2013 08:18:26 +0000 (10:18 +0200)]
Make setProperties private
Marek Safar [Wed, 28 Aug 2013 08:15:59 +0000 (01:15 -0700)]
Merge pull request #743 from gvillanueva/master
Rewrote Font.GetHashCode() to improve uniqueness
gvillanueva [Wed, 28 Aug 2013 05:22:09 +0000 (22:22 -0700)]
Rewrote Font.GetHashCode() to improve uniqueness.
Added test cases to prevent reintroduction of collision scenarios observed in Font.GetHashCode().
Rodrigo Kumpera [Tue, 27 Aug 2013 18:29:41 +0000 (14:29 -0400)]
Naming cleanup.
Miguel de Icaza [Tue, 27 Aug 2013 16:01:50 +0000 (12:01 -0400)]
Console.iOS: Reset sb.Length in all cases, even for poor man's print
Marek Safar [Tue, 27 Aug 2013 08:20:02 +0000 (10:20 +0200)]
Invalid syntax during attribute target parsing can crash parser. Fixes #14245
Miguel de Icaza [Tue, 27 Aug 2013 03:22:35 +0000 (23:22 -0400)]
Console.iOS: add fallback for the case where monotouch_log is not linked in
Michael Hutchinson [Mon, 26 Aug 2013 19:19:28 +0000 (12:19 -0700)]
Merge pull request #742 from remobjects/import-project-userfile
Import ".user" as if it was part of the project, this lets users overrid...
Carlo Kok [Mon, 26 Aug 2013 15:53:46 +0000 (17:53 +0200)]
Import ".user" as if it was part of the project, this lets users override the options without checking changes to the main project file.
Marek Habersack [Mon, 26 Aug 2013 12:20:46 +0000 (05:20 -0700)]
Merge pull request #726 from pruiz/xamarin-bug-13708
Fixed xamarin bug #13708: ASP.NET routing constraints should be treated as 'convertible to string' in order to be compat with MS.NET
Marek Safar [Mon, 26 Aug 2013 11:08:55 +0000 (04:08 -0700)]
Merge pull request #741 from marcominetti/master
Clean verbose (debug) logs in mcs for MakeExpression function call
marcominetti [Mon, 26 Aug 2013 10:47:16 +0000 (12:47 +0200)]
cleaned console logs in MakeExpression function
Cleaned verbose logs leftovers (probably debug ones) that are currently printed on every compiling that involves dynamic objects...
marcominetti [Mon, 26 Aug 2013 10:46:34 +0000 (12:46 +0200)]
cleaned console logs in MakeExpression function
Cleaned verbose logs leftovers (probably debug ones) that are currently printed on every compiling that involves dynamic objects...
Marek Safar [Mon, 26 Aug 2013 09:59:07 +0000 (02:59 -0700)]
Merge pull request #740 from pruiz/dataannotations-enhancements
Some enhancements and additions to DataAnnotations, incluiding implementation of a few missing pieces of Sys.ComponentModel.DataAnnotations v4.5, like:
Pablo Ruiz Garcia [Mon, 26 Aug 2013 09:42:02 +0000 (11:42 +0200)]
Reverted string.Format(CultureInfo.CurrentCulture, ..) change.
Marek Safar [Mon, 26 Aug 2013 09:13:03 +0000 (11:13 +0200)]
Add test for #12745
Pablo Ruiz Garcia [Sun, 25 Aug 2013 15:28:59 +0000 (17:28 +0200)]
Set correct author on test files.
Pablo Ruiz Garcia [Sun, 25 Aug 2013 01:42:30 +0000 (03:42 +0200)]
Some enhancements and additions to DataAnnotations, incluiding implemented of a few missing pieces of Sys.ComponentModel.DataAnnotations v4.5, like:
- CompareAttribute
- CreditCardAttribute
- EmailAddressAttribute
- FileExtensionsAttribute
- PhoneAttribute
- Implemented IsValid() methods of Min/MaxLengthAttribute.
- Fixed all existing Validation attributes so they take into account current's locale when composing ErrorMessage.
Sebastien Pouliot [Sat, 24 Aug 2013 15:33:30 +0000 (11:33 -0400)]
SRE.ParameterBuilder cannot be exposed in FULL_AOT_RUNTIME
Rodrigo Kumpera [Fri, 23 Aug 2013 21:23:56 +0000 (17:23 -0400)]
We have g_getenv for portability reasons, so let's use it.
Zoltan Varga [Fri, 23 Aug 2013 21:17:41 +0000 (23:17 +0200)]
Fix yet another DISABLE_JIT bug in wrapper generation. Fixes #14194.
Marek Safar [Fri, 23 Aug 2013 11:25:14 +0000 (13:25 +0200)]
Annonymous method storey inside async storey has to capture this directly when the storey does not have any parents. Fixes #14126
Rodrigo Kumpera [Thu, 22 Aug 2013 19:59:16 +0000 (15:59 -0400)]
Add tests for the new 4.0 behavior in ParameterInfo.
Rodrigo Kumpera [Thu, 22 Aug 2013 19:51:07 +0000 (15:51 -0400)]
[corlib]Implement .net 4.0 ParameterInfo.
Marek Safar [Thu, 22 Aug 2013 17:07:29 +0000 (19:07 +0200)]
Fixes negative symbol definition for few locales to be simple -. Fixes #14185
Zoltan Varga [Thu, 22 Aug 2013 16:56:56 +0000 (18:56 +0200)]
Disable two delegate tests on mobile.
Marek Safar [Thu, 22 Aug 2013 15:42:09 +0000 (17:42 +0200)]
Enable fixed failing test
Neale Ferguson [Thu, 22 Aug 2013 12:15:56 +0000 (08:15 -0400)]
Enable INLINE support for s390x
Sebastien Pouliot [Wed, 21 Aug 2013 23:54:01 +0000 (19:54 -0400)]
Fix test case not to assume it can write in the current directory
Mark Probst [Wed, 21 Aug 2013 23:24:03 +0000 (16:24 -0700)]
[sgen] Disable cementing for parallel mark&sweep.
Cementing isn't parallel-ready yet.
Sebastien Pouliot [Wed, 21 Aug 2013 18:15:27 +0000 (14:15 -0400)]
Use the invarient culture calendar if the requested one is not available. Partial fix for #13977
Atsushi Eno [Wed, 21 Aug 2013 17:15:24 +0000 (02:15 +0900)]
Fix bug #14143 - xsl:import in included stylesheet caused compilation error.
Simply ignoring xsl:import causes regression in
XslTransformTests.ImportIncorrectlyLocated so no-go. The actual error for
that case is now reported better (not just "unrecognized element").
Rodrigo Kumpera [Wed, 21 Aug 2013 16:08:11 +0000 (12:08 -0400)]
[runtime] Don't allow execution of dynamic assemblies without run access. Fixes #7126
Rodrigo Kumpera [Wed, 21 Aug 2013 14:52:08 +0000 (10:52 -0400)]
[corlib]Fix 2.0 test suite breakage.
Rodrigo Kumpera [Wed, 21 Aug 2013 14:22:23 +0000 (10:22 -0400)]
[verifier]Remove duplicate check.
Atsushi Eno [Wed, 21 Aug 2013 06:44:27 +0000 (15:44 +0900)]
revert default serialization: ignore non-public members. Also need to exclude backing field in non-default serialization.
Rodrigo Kumpera [Tue, 20 Aug 2013 23:09:47 +0000 (19:09 -0400)]
[runtime]Add some error checking to custom attr parsing and plug a memory leak. Fixes #13435.
Zoltan Varga [Tue, 20 Aug 2013 22:56:25 +0000 (00:56 +0200)]
Make the dmcs/gmcs scripts identical to the mcs script with an extra -sdk: argument, to avoid PATH problems, and to allow the windows installer to generate .bat files for them. Hopefully fixes #8813.
Rodrigo Kumpera [Tue, 20 Aug 2013 22:31:43 +0000 (18:31 -0400)]
[runtime] Handle custom attributes with nested array of enums. Fixes #13767
When decoding a custom attribute value, an array value in an object
position can have type of an enum.
Zoltan Varga [Tue, 20 Aug 2013 22:24:26 +0000 (00:24 +0200)]
Use i686-pc-mingw32-gcc as the mkbundle compiler on windows.
Zoltan Varga [Tue, 20 Aug 2013 22:20:14 +0000 (15:20 -0700)]
Merge pull request #737 from Mixaill/master
Remove deprecated -mno-cygwin flag.
Rodrigo Kumpera [Tue, 20 Aug 2013 19:49:24 +0000 (15:49 -0400)]
[verify]Relax the restriction on global methods visibility. Fixes #13890.
Rodrigo Kumpera [Tue, 20 Aug 2013 18:47:55 +0000 (14:47 -0400)]
[verifier]Since 4.5 arrays now implement IReadOnlyList<T> and IReadOnlyCollection<T>. Verify this properly. Fixes #13879.
Zoltan Varga [Tue, 20 Aug 2013 17:50:29 +0000 (19:50 +0200)]
Add support for more return types for constrained gsharedvt calls. Fixes #13030.
Zoltan Varga [Tue, 20 Aug 2013 17:09:31 +0000 (19:09 +0200)]
Enable support for constrained gsharedvt calls to Object.GetType ().
Zoltan Varga [Tue, 20 Aug 2013 14:08:32 +0000 (16:08 +0200)]
Fix a regression introduced by
d84a165c8e799d8734df5f51a6dcf12b1f2a3695. Unbox casts were failing for enums. Fixes #14026.
Paolo Molaro [Tue, 20 Aug 2013 13:10:07 +0000 (06:10 -0700)]
Merge pull request #739 from mono/upstream-master
Ported perf code to work on arm and adjusted to changes in the kernel th...
Paolo Molaro [Tue, 20 Aug 2013 12:50:47 +0000 (14:50 +0200)]
Ported perf code to work on arm and adjusted to changes in the kernel that broke mmap().
The kernel doesn't allow anymore to setup a perf fd with any cpu and the inherit flag
(to take into account threads created later on), so now we setup a fd/mmap area for each
cpu in the system.
Zoltan Varga [Mon, 19 Aug 2013 23:30:10 +0000 (01:30 +0200)]
[aot] Add support for constrained gsharedvt calls which return a reference value. Fixes #13030.
Marek Safar [Mon, 19 Aug 2013 20:05:16 +0000 (13:05 -0700)]
Merge pull request #738 from strawd/bug14077
Fix for #14077. HashSet no longer grows in capacity on deserialize
David Straw [Mon, 19 Aug 2013 19:48:17 +0000 (13:48 -0600)]
Fix for #14077. HashSet no longer grows in capacity on deserialize
Not all necessary members were being initialized during deserialization
Rodrigo Kumpera [Mon, 19 Aug 2013 19:40:05 +0000 (15:40 -0400)]
[runtime]Fix mono-config.h to use the mono API public types and not the glib ones.
Alex Rønne Petersen [Mon, 19 Aug 2013 19:30:40 +0000 (21:30 +0200)]
Add an #else -> #error path to mono-membar.h.
Jeffrey Stedfast [Mon, 19 Aug 2013 15:30:31 +0000 (11:30 -0400)]
Only disable __thread with clang on Mac OS X
Marek Safar [Mon, 19 Aug 2013 11:22:13 +0000 (13:22 +0200)]
Add argument modifiers to generated base proxy when needed. Fixes #13892
Marek Safar [Sun, 18 Aug 2013 12:15:37 +0000 (14:15 +0200)]
Add dispose checks to ReaderWriterLockSlim and fix race in currentThreadState initialization
Marek Safar [Sun, 18 Aug 2013 12:13:37 +0000 (14:13 +0200)]
Optimize common path
Atsushi Eno [Mon, 19 Aug 2013 03:13:38 +0000 (12:13 +0900)]
Revert "Revert "Fix bug #7829 - do NOT reject ConstructorInfo in DynamicILInfo.GetTokenFor().""
This reverts commit
0ef5f49c1f5a1f9fd059e701685e09639c95aab3.
Michael Pavlyshko [Sun, 18 Aug 2013 18:12:14 +0000 (21:12 +0300)]
Remove deprecated -mno-cygwin flag.
Atsushi Eno [Sun, 18 Aug 2013 06:34:37 +0000 (15:34 +0900)]
Revert "Fix bug #7829 - do NOT reject ConstructorInfo in DynamicILInfo.GetTokenFor()."
This reverts commit
b43211d101e5e058b0d57e92a350515ffd71df26.
Atsushi Eno [Sun, 18 Aug 2013 06:31:40 +0000 (15:31 +0900)]
Fix bug #7829 - do NOT reject ConstructorInfo in DynamicILInfo.GetTokenFor().
It is only one of probably many reasons that prevents Jurassic JavaScript engine.
Marek Safar [Sat, 17 Aug 2013 14:31:45 +0000 (16:31 +0200)]
Grow underlying buffer only when necessary. Fixes #13552
Marek Safar [Sat, 17 Aug 2013 09:12:24 +0000 (11:12 +0200)]
Report error for name collision between property and generic method with same name. Fixes #14053
Marek Safar [Sat, 17 Aug 2013 08:39:41 +0000 (01:39 -0700)]
Merge pull request #736 from wtfrank/charting
add missing ZTestResult properties
Francis Fisher [Sat, 17 Aug 2013 07:36:49 +0000 (08:36 +0100)]
add missing ZTestResult properties
Marek Safar [Fri, 16 Aug 2013 21:14:38 +0000 (23:14 +0200)]
Fixes GZipStream dispose order. Fixes #14032
Zoltan Varga [Fri, 16 Aug 2013 17:48:45 +0000 (19:48 +0200)]
Convert nan/infinity to uint 0 to match MS.NET. Fixes #13927.
Rodrigo Kumpera [Fri, 16 Aug 2013 13:21:31 +0000 (06:21 -0700)]
Merge pull request #725 from knocte/threadpool_init
[ThreadPool] Allow heavier initialization when using --server flag
Marek Safar [Fri, 16 Aug 2013 13:18:49 +0000 (15:18 +0200)]
Implements lifted nullable comparison with null
Marek Safar [Fri, 16 Aug 2013 09:14:50 +0000 (11:14 +0200)]
Rewrites RuntimeReflectionExtensions to actually do something. Fixes #13626
Marek Safar [Fri, 16 Aug 2013 08:13:05 +0000 (10:13 +0200)]
Disable test failing due to runtime bug
Zoltan Varga [Fri, 16 Aug 2013 01:10:39 +0000 (03:10 +0200)]
Simplify the caching of delegate-invoke wrappers with a bound first argument, caching can be done using just the signature.
Zoltan Varga [Fri, 16 Aug 2013 00:53:33 +0000 (17:53 -0700)]
Merge pull request #734 from joncham/domain-debug-leaks
Fix domain related leaks of debug information
Marek Safar [Thu, 15 Aug 2013 16:06:36 +0000 (18:06 +0200)]
Remove some unused parameters
Marek Safar [Thu, 15 Aug 2013 14:55:59 +0000 (16:55 +0200)]
Type parameter inflated interfaces needs to be marked too. Fixes #13996
Atsushi Eno [Thu, 15 Aug 2013 13:09:49 +0000 (22:09 +0900)]
Fix regression from
2cc36e3, missing BaseURI caused external schema resolution failure.
Marek Safar [Thu, 15 Aug 2013 10:18:36 +0000 (12:18 +0200)]
Correct parsing of invalid
00000000-0000-0000-0000-
000000000000 guid format. Fixes #13970
Marek Safar [Thu, 15 Aug 2013 09:41:05 +0000 (11:41 +0200)]
Small optimization of GuidParser
Marek Safar [Thu, 15 Aug 2013 09:17:02 +0000 (11:17 +0200)]
Workaround for legacy nunit
Marek Safar [Thu, 15 Aug 2013 09:01:50 +0000 (11:01 +0200)]
Inflate explicit delegate parameters using type inference context too. Fixes second part of #13969
Atsushi Eno [Thu, 15 Aug 2013 04:18:16 +0000 (13:18 +0900)]
Fix build (giconv.c)
Jeffrey Stedfast [Wed, 14 Aug 2013 23:40:59 +0000 (19:40 -0400)]
[eglib] Fixed g_utf8_to_utf16_general() to handle invalid utf8
Rodrigo Kumpera [Wed, 14 Aug 2013 22:54:07 +0000 (18:54 -0400)]
Add tests for the recently fixed issues with block guards.
Rodrigo Kumpera [Wed, 14 Aug 2013 22:13:37 +0000 (18:13 -0400)]
[runtime]Generate the proper exit code for block guard trampolines.
Finally blocks use a non-standard calling convention which means we need to take it
into account in the return address hijacking trampoline.
A finally block is called with ESP % 16 == 4. Once inside the finally block, ESP returns
to be % 16 == 0 due to the call instruction pushing the return address.
The problem comes when we want to hijack the return address. Our trampolines expect a
normal calling convention with ESP properly aligned, so we use a small thunk of code that
does that before jumping into the trampoline itself. This is required as we'll enter native.
The problem lies on the exit path as the trampoline jump to an arbitrary place instead back
to the above thunk. This leaves the stack with the thunk adjustment in, which will cause
the resulting code to misalign the stack even further.
The solution, though a big ugly, is to change the exit path of the trampoline fix the stack
to be "properly" misaligned.
Rodrigo Kumpera [Wed, 14 Aug 2013 22:11:31 +0000 (18:11 -0400)]
[runtime]Properly compute the end address of a finally block when it ends in a dead basic-block.
We compute the end address of a finally block by using cil_offset_to_bb, which can point to dead
basic blocks if those were killed by CFG simplification.
Rodrigo Kumpera [Wed, 14 Aug 2013 22:09:40 +0000 (18:09 -0400)]
[runtime] Make sure mono_create_handler_block_trampoline is async signal safe.
We call mono_create_handler_block_trampoline when installing the block guard,
so this function must be async safe at that stage in the runtime.
Since it is eagerly called during startup, we should be fine with just
memory barriers.
Zoltan Varga [Wed, 14 Aug 2013 20:59:13 +0000 (22:59 +0200)]
Add a WrapperInfo for delegate-invoke wrappers to make it possible to distinguish between normal wrappers and ones with a bound first argument.
Marek Safar [Wed, 14 Aug 2013 19:54:49 +0000 (21:54 +0200)]
Add test for #13969
Marek Safar [Wed, 14 Aug 2013 19:49:49 +0000 (21:49 +0200)]
Fix recursive check for non dependent return types during type inference. Fixes #13969
Mark Probst [Wed, 14 Aug 2013 18:22:59 +0000 (11:22 -0700)]
Fixed a few bugs that were found by Visual Studio's static code analysis.
Mark Probst [Wed, 14 Aug 2013 18:04:28 +0000 (11:04 -0700)]
[sgen] Fix another posix handshake issue.
Jonathan Chambers [Thu, 1 Aug 2013 20:40:00 +0000 (16:40 -0400)]
Free domain specific sequence point information.
Conflicts:
mono/mini/mini.c
Jonathan Chambers [Thu, 1 Aug 2013 20:37:42 +0000 (16:37 -0400)]
Free returned offsets and line numbers from mono_debug_symfile_get_line_numbers.
Marek Safar [Wed, 14 Aug 2013 13:46:41 +0000 (06:46 -0700)]
Merge pull request #733 from amoiseev-softheme/bugfix/monofix
Applying fixes to Https from Windows team to mono
Marek Safar [Wed, 14 Aug 2013 13:32:21 +0000 (15:32 +0200)]
Don't crash when reporting invalid case label value. Fixes #13952
Alexey Moiseev [Wed, 14 Aug 2013 13:26:18 +0000 (16:26 +0300)]
Applying fixes to Https from Windows team to mono
Marek Safar [Wed, 14 Aug 2013 07:48:17 +0000 (00:48 -0700)]
Merge pull request #732 from wtfrank/charting
placement of MonoTODO
Francis Fisher [Tue, 13 Aug 2013 23:14:23 +0000 (00:14 +0100)]
placement of MonoTODO
Zoltan Varga [Tue, 13 Aug 2013 22:15:04 +0000 (00:15 +0200)]
[sgen] Add a workaround for #13951. Register the jit info for GC critical methods as soon as they are loaded, and avoid lookups in the AOT images when calling mono_jit_info_table_find () during STW.