Zoltan Varga [Sun, 24 Mar 2013 08:39:46 +0000 (09:39 +0100)]
Fix the build.
Zoltan Varga [Sun, 24 Mar 2013 07:46:00 +0000 (08:46 +0100)]
Avoid AOTing PtrToStructure/StructureToPtr() wrappers for the compiler generated '-...' structs.
Zoltan Varga [Sun, 24 Mar 2013 02:33:24 +0000 (03:33 +0100)]
Use (uint) casts in the Marshal.Read/WriteXXX () methods to speed up the alignment checks.
Zoltan Varga [Sun, 24 Mar 2013 01:46:16 +0000 (02:46 +0100)]
Put back a cattr removed by mistake by
70141dc9f523282bc3b3b947cc3e36ef594ad15e.
Zoltan Varga [Sun, 24 Mar 2013 01:43:27 +0000 (02:43 +0100)]
Implement the Marshal.Read/WriteXXX methods using unsafe code instead of icalls.
Jérémie Laval [Sat, 23 Mar 2013 15:07:47 +0000 (15:07 +0000)]
[monodoc] Remove previous horrible generic backtick notation hack and properly handle them in node search.
Jérémie Laval [Sat, 23 Mar 2013 15:05:46 +0000 (15:05 +0000)]
[monodoc] Add a simple stack-based generic argument count method.
Jérémie Laval [Sat, 23 Mar 2013 15:02:19 +0000 (15:02 +0000)]
[IDesigner] Add cref reachability checker unit test though disabled for now.
Mono documentation has a lot of syntax error in its crefs so it's not good material for a reliable unit test until we can do better on that front.
Jérémie Laval [Sat, 23 Mar 2013 15:01:03 +0000 (15:01 +0000)]
[monodoc] Add utility property Generic*IsNumeric to distinguish between types using full generic notation (e.g. Foo<T1, T2>) or just backtick notation (e.g. Foo`2)
Jérémie Laval [Sat, 23 Mar 2013 14:58:01 +0000 (14:58 +0000)]
[monodoc] Add reachability unit test for ASP.NET style URLs
Jérémie Laval [Fri, 22 Mar 2013 15:10:48 +0000 (15:10 +0000)]
[monodoc] Parse correctly '{' and '}' as '<' and '>' (generic params) in ECMA url.
These characters are used in place of normal bracket in some part of the xsl generation code, mostly to prevent ASP.NET default code injection policy to kick in.
Sebastien Pouliot [Fri, 22 Mar 2013 18:03:30 +0000 (14:03 -0400)]
Open test files in read-only mode (so it will work on devices where permissions won't allow read/write)
Marek Safar [Fri, 22 Mar 2013 15:30:33 +0000 (16:30 +0100)]
Maintain more tokens locations.
Marek Safar [Fri, 22 Mar 2013 14:49:27 +0000 (15:49 +0100)]
Don't report error for incomplete member type
Marek Safar [Fri, 22 Mar 2013 14:28:03 +0000 (15:28 +0100)]
Try to recover incomplete initializers. Fixes #4964
Marek Safar [Fri, 22 Mar 2013 12:36:14 +0000 (13:36 +0100)]
Avoid extra space when reporting error for compiler modifiers
Marek Safar [Fri, 22 Mar 2013 09:05:36 +0000 (10:05 +0100)]
Maintain more locations values
Marek Safar [Fri, 22 Mar 2013 08:06:26 +0000 (09:06 +0100)]
Try to recover incomplete member declaration which looks like field. Fixes #7521
Marek Safar [Fri, 22 Mar 2013 07:43:08 +0000 (00:43 -0700)]
Merge pull request #605 from AerisG222/system.web.http.webhost
system.web.http.webhost
Atsushi Eno [Fri, 22 Mar 2013 07:23:45 +0000 (16:23 +0900)]
remove extra printf.
Zoltan Varga [Fri, 22 Mar 2013 02:59:46 +0000 (03:59 +0100)]
Fix the checks in is_async_method ().
Martin Baulig [Fri, 22 Mar 2013 03:06:46 +0000 (04:06 +0100)]
[WCF]: Disable WsdlExporterTest.ExportMessageContract().
Martin Baulig [Fri, 22 Mar 2013 03:02:07 +0000 (04:02 +0100)]
[WCF]: Implement cookie support in .NET 4.0.
Mike Morano [Fri, 22 Mar 2013 01:31:55 +0000 (21:31 -0400)]
making the build system aware of system.web.http.webhost that is a component of the aspnetwebstack
Zoltan Varga [Fri, 22 Mar 2013 01:21:46 +0000 (02:21 +0100)]
Fix deadlock in CreateProcess () if fork () fails. Fixes #11315.
Martin Baulig [Fri, 22 Mar 2013 00:55:53 +0000 (01:55 +0100)]
[WCF]: 2nd part of bug #5827, set CheckCharacters = false in TextMessageEncoder.
Zoltan Varga [Fri, 22 Mar 2013 00:26:59 +0000 (01:26 +0100)]
Fix an LLVM crash when a method ending with a throw is inlined into a catch clause. Fixes #11297.
Martin Baulig [Fri, 22 Mar 2013 00:00:56 +0000 (01:00 +0100)]
Bug #5829: DataContractSerializer should not check for invalid characters.
Martin Baulig [Thu, 21 Mar 2013 23:14:52 +0000 (00:14 +0100)]
[System.ServiceModel.Web]: Fix 'make dist'.
Marek Safar [Thu, 21 Mar 2013 18:00:08 +0000 (19:00 +0100)]
Try to recover from invalid attribute. Fixes #8590
Rodrigo Kumpera [Thu, 21 Mar 2013 17:18:16 +0000 (13:18 -0400)]
Fix the System.Runtime.Serialization test suite to compile.
Marek Safar [Thu, 21 Mar 2013 09:27:38 +0000 (10:27 +0100)]
Try to recover from incomplete group section. Fixes #10228
Elijah Taylor [Thu, 31 Jan 2013 21:55:04 +0000 (13:55 -0800)]
Test for divide by zero for NaCl in software
Elijah Taylor [Thu, 31 Jan 2013 21:00:52 +0000 (13:00 -0800)]
Add explicit laddcc/lsubcc IR opcodes
This allows ladd/lsub to decompose into CC instructions
that correctly maintain the width of the operands. This
was a problem on NaCl amd64 specifically which has 32-bit
longs and ints, but 8 byte registers.
Elijah Taylor [Thu, 31 Jan 2013 21:54:11 +0000 (13:54 -0800)]
NaCl x86 codegen fixes
Elijah Taylor [Thu, 31 Jan 2013 21:09:48 +0000 (13:09 -0800)]
NaCl amd64 codegen fixes
- mostly more code fixes to deal with a 64-bit ILP32 machine
Elijah Taylor [Thu, 31 Jan 2013 20:48:49 +0000 (12:48 -0800)]
NaCl GC improvements
- inline managed code implementation
(add x86 test mem imm8 codegen macro for this as well)
- clean up libgc NaCl code
- centralize mono_nacl_gc into mini.c
Elijah Taylor [Thu, 31 Jan 2013 20:13:21 +0000 (12:13 -0800)]
Add NaCl build scripts
Zoltan Varga [Thu, 21 Mar 2013 04:16:41 +0000 (05:16 +0100)]
Disable the async test in generics.cs as it doesn't work with --regression.
Zoltan Varga [Thu, 21 Mar 2013 02:30:48 +0000 (03:30 +0100)]
Fix full-aot support for generic async methods by treating them as non-sharable. Fixes #11096.
Rodrigo Kumpera [Wed, 20 Mar 2013 21:43:00 +0000 (17:43 -0400)]
Fix multiple issues with System.Data.DataRow::SetParentRow. Fixes #7900.
* DataRow.cs: There is a total of issues been addressed here:
1) SetParentRow (null) would crash instead of setting all relation
columns to DBNull.
2)SetParentRow (parentRow, relation) did not check if both row and relation
belong to the same table.
3)SetParentRow(parentRow) when the child table has multiple relations to different
tables, we should only process those that belong to the table of parentRow.
Marek Safar [Wed, 20 Mar 2013 18:27:43 +0000 (19:27 +0100)]
define/undefine position errros are not reported when excluded from compiletion. Fixes #11292
Marek Safar [Wed, 20 Mar 2013 10:33:38 +0000 (11:33 +0100)]
Use 4.0 path when configured with disabled 4.5 profile. Fixes #11233
Marek Safar [Wed, 20 Mar 2013 10:03:47 +0000 (11:03 +0100)]
Advance column on escaped string characters. Fixes #8097
Marek Safar [Wed, 20 Mar 2013 08:10:16 +0000 (09:10 +0100)]
Copy type parameter constraint interfaces before its base type is expanded.
Marek Safar [Tue, 19 Mar 2013 21:48:45 +0000 (22:48 +0100)]
Fix wrong assembly name hint
Zoltan Varga [Wed, 20 Mar 2013 03:53:46 +0000 (04:53 +0100)]
Fix an infinite loop in decode_llvm_mono_eh_frame () when the last method in an AOT image is processed on ios. Fixes #11212.
Marek Habersack [Wed, 20 Mar 2013 00:38:07 +0000 (01:38 +0100)]
Added CreateNLSocket stub for non-linux platforms
Sebastien Pouliot [Tue, 19 Mar 2013 19:04:49 +0000 (15:04 -0400)]
Do not assume the unit tests can write in the application directory (e.g. iOS devices).
Sebastien Pouliot [Tue, 19 Mar 2013 19:04:09 +0000 (15:04 -0400)]
Disable CAS permission tests for MOBILE profile
Sebastien Pouliot [Tue, 19 Mar 2013 18:06:45 +0000 (14:06 -0400)]
Ensure the linker does not remove some types needed (thru reflection) for some test cases to work
Marek Safar [Tue, 19 Mar 2013 17:27:17 +0000 (18:27 +0100)]
Fix expansion of imported generic interfaces implementing imported types. Fixes #11241
Mark Probst [Tue, 19 Mar 2013 17:09:55 +0000 (10:09 -0700)]
Merge branch 'feature-free-32'
Mark Probst [Mon, 18 Mar 2013 22:51:57 +0000 (15:51 -0700)]
[sgen] Statistics for 32 bit freeing.
Mark Probst [Fri, 15 Mar 2013 22:45:46 +0000 (15:45 -0700)]
[sgen] While iterating over empty block array, compact it.
Mark Probst [Fri, 15 Mar 2013 19:37:40 +0000 (12:37 -0700)]
[sgen] Try allocating M&S blocks in smaller contingents in case of failure.
This might happen when the address space fragments. If it happens due to
OOM, we're probably lost anyway.
Mark Probst [Fri, 15 Mar 2013 17:59:56 +0000 (10:59 -0700)]
[sgen] Free contiguous blocks on 32 bit archs.
Marek Safar [Tue, 19 Mar 2013 11:25:24 +0000 (12:25 +0100)]
Fix parsing decimal values used with integral numbers. Fixes #9090
alexrp [Tue, 19 Mar 2013 04:17:54 +0000 (05:17 +0100)]
Use /bin/bash instead of /bin/sh in autogen.sh.
Sebastien Pouliot [Tue, 19 Mar 2013 01:30:47 +0000 (21:30 -0400)]
Do not assume the unit tests can write in the application directory (e.g. iOS devices)
Sebastien Pouliot [Tue, 19 Mar 2013 01:30:29 +0000 (21:30 -0400)]
Disable CAS permission tests for MOBILE profile
Sebastien Pouliot [Mon, 18 Mar 2013 21:38:01 +0000 (17:38 -0400)]
Do not assume the unit tests can write in the application directory (e.g. iOS devices). Use the temporary directory and open files in read-only
Zoltan Varga [Mon, 18 Mar 2013 18:54:27 +0000 (19:54 +0100)]
Parallelize the compression in mkbundle.
Sebastien Pouliot [Mon, 18 Mar 2013 18:07:10 +0000 (14:07 -0400)]
Return null for AppDomain.Evidence so API accepting this type won't fail (as the type is linked away) when using AppDomain.CurrentDomain.Evidence as an argument. Fix more than 20 System.Xml unit tests on iOS devices
Marek Safar [Mon, 18 Mar 2013 13:57:57 +0000 (14:57 +0100)]
Add localized infinity symbols. Fixes #9052
Marek Safar [Mon, 18 Mar 2013 13:57:25 +0000 (14:57 +0100)]
Use curl instead of wget
Marek Safar [Mon, 18 Mar 2013 09:57:04 +0000 (10:57 +0100)]
Fully resolve extension method argument. Fixes #11213
Marek Safar [Sat, 16 Mar 2013 14:46:44 +0000 (15:46 +0100)]
Remove internal continuations from unfinished tasks used in WhenAny, Fixes #11008
Martin Baulig [Fri, 15 Mar 2013 22:14:44 +0000 (18:14 -0400)]
Revert "Fixes make dist"
This reverts commit
87e95b46ed84d290d1e26806881a9a03e5864633.
This puts DataContractJsonSerializerSettings.cs back into
mcs/class/System.ServiceModel.Web/System.Runtime.Serialization.Json.
Let's please not have a single file from this namespace in another
directory, either move the entire System.Runtime.Serialization.Json
stuff into System.Runtime.Serialization or leave it here.
Rodrigo Kumpera [Fri, 15 Mar 2013 20:30:15 +0000 (16:30 -0400)]
Properly bzero unaligned small blocks. Fixes #11184.
Marek Safar [Fri, 15 Mar 2013 17:37:18 +0000 (18:37 +0100)]
Cache implicitly created static delegates
Atsushi Eno [Fri, 15 Mar 2013 16:19:16 +0000 (01:19 +0900)]
part of fix bug #10160 - give innerException for some rethrown exception.
Zoltan Varga [Fri, 15 Mar 2013 15:43:41 +0000 (16:43 +0100)]
Avoid an assert in sdb for compiler generated byref locals. Fixes #11115.
Marek Safar [Fri, 15 Mar 2013 14:28:27 +0000 (15:28 +0100)]
Add new tests
Marek Safar [Fri, 15 Mar 2013 14:28:06 +0000 (15:28 +0100)]
Update locations
Marek Safar [Fri, 15 Mar 2013 14:25:25 +0000 (15:25 +0100)]
Implement optimization where lambdas can be replaced by direct method-group they are wrapping. Fixes #10663
Marek Safar [Fri, 15 Mar 2013 13:51:06 +0000 (14:51 +0100)]
Fix column info for symbol file expressions
Jeremie Laval [Fri, 15 Mar 2013 11:19:03 +0000 (11:19 +0000)]
[monodoc] Handle summaries for transient root nodes better. Add unit-tests.
Mark Probst [Thu, 14 Mar 2013 21:46:01 +0000 (14:46 -0700)]
[sgen] Remove some dead #defines.
Marek Safar [Thu, 14 Mar 2013 18:09:18 +0000 (19:09 +0100)]
Add new assemblies
Martin Baulig [Thu, 14 Mar 2013 17:37:57 +0000 (13:37 -0400)]
Temporarily revert "Add PCL type-forwarders."
This reverts commit
62559a75df7aac7b46870ca03a0ba71a1a526be4.
Martin Baulig [Wed, 13 Mar 2013 22:35:25 +0000 (18:35 -0400)]
Add PCL type-forwarders.
Marek Safar [Thu, 14 Mar 2013 16:43:16 +0000 (17:43 +0100)]
Remove redundant lambda wrapper
Marek Safar [Thu, 14 Mar 2013 16:42:45 +0000 (17:42 +0100)]
Fixes make dist
Mark Probst [Wed, 13 Mar 2013 23:04:20 +0000 (16:04 -0700)]
[sgen] Don't call sgen_scan_togglerefs() twice.
In the case where they are called twice, the first call must already have
processed the whole heap.
Mark Probst [Wed, 13 Mar 2013 20:12:44 +0000 (13:12 -0700)]
[sgen] Remove superfluous arguments to finish_gray_stack().
Martin Baulig [Wed, 13 Mar 2013 22:07:44 +0000 (18:07 -0400)]
Add type-forwarders for existing assemblies.
Martin Baulig [Wed, 13 Mar 2013 21:35:32 +0000 (14:35 -0700)]
Merge pull request #599 from knocte/ntlm_fixes
[Mono.Data.Tds] Stop using Obsoleted NTLM APIs (partial fix for BXC#11122)
Mark Probst [Wed, 13 Mar 2013 20:39:50 +0000 (13:39 -0700)]
[semaphore] Fix mono_sem_wait() for Darwin, clean up mono_sem_post().
semaphore_wait() never returns -1, but returns KERN_ABORTED if the
call needs to be repeated. This caused a semaphore wait to sometimes
return in the SGen workers code when it shouldn't, which caused a
mysterious assertion failure.
Martin Baulig [Wed, 13 Mar 2013 19:51:34 +0000 (15:51 -0400)]
Implement MonoType.IsConstructedGenericType.
Martin Baulig [Wed, 13 Mar 2013 19:33:16 +0000 (15:33 -0400)]
Implement IntrospectionExtensions.GetTypeInfo().
Andres G. Aragoneses [Wed, 13 Mar 2013 19:00:50 +0000 (19:00 +0000)]
[Mono.Data.Tds] Stop using Obsoleted NTLM APIs (partial fix for BXC#11122)
New NTLM APIs have been pushed recently[1], which made Mono.Data.Tds break
with IOE: Refusing to use legacy-mode LM/NTLM authentication unless
explicitly enabled using DefaultAuthLevel.
This doesn't fix the bug completely, but at least reverts the situation
to the same exception being thrown before the NTLM changes took place.
[1] https://github.com/mono/mono/commit/
45745e5123267e8530b87b8dada9a89c6269b383
Miguel de Icaza [Wed, 13 Mar 2013 18:48:29 +0000 (14:48 -0400)]
Progress<T> (ActioN<T>) constructor now also initializes the context
Martin Baulig [Wed, 13 Mar 2013 18:19:05 +0000 (14:19 -0400)]
Put back MethodInfo.CreateDelegate() and fix DynamicMethod.
Zoltan Varga [Wed, 13 Mar 2013 17:02:50 +0000 (18:02 +0100)]
Don't set the visibility of the type_info_ symbols in the LLVM backend. Fixes #11076.
Zoltan Varga [Wed, 13 Mar 2013 16:44:31 +0000 (17:44 +0100)]
Revert part of
9ec4d6984f8f81f5cfd0760fc70a76336b92839f since it breaks DynamicMethods.
Marek Safar [Wed, 13 Mar 2013 14:52:15 +0000 (15:52 +0100)]
Try to fix statement expression location. Fixes #10306
Jérémie Laval [Wed, 13 Mar 2013 14:25:46 +0000 (14:25 +0000)]
[monodoc] Handle global `root:' url
Marek Safar [Wed, 13 Mar 2013 11:02:18 +0000 (12:02 +0100)]
Resolve switch block without fake sections blocks. Fixes #10781
Martin Baulig [Wed, 13 Mar 2013 02:13:39 +0000 (22:13 -0400)]
Put back unsupported EventWaitHandle and Mutex constructors.