Jonathan Pryor [Wed, 27 Mar 2013 13:38:11 +0000 (06:38 -0700)]
Merge pull request #609 from steffen-kiess/stat-st_atim
Add nanosecond resolution times to struct Stat
Steffen Kieß [Wed, 27 Mar 2013 12:45:50 +0000 (13:45 +0100)]
Add nanosecond resolution times to struct Stat
Zoltan Varga [Wed, 27 Mar 2013 01:00:11 +0000 (02:00 +0100)]
Fix sdb asserts when seq-points are not found for a method because its assembly was AOTed without the 'soft-debug' option. Fixes #11435.
Jonathan Pryor [Tue, 26 Mar 2013 21:42:30 +0000 (14:42 -0700)]
Merge pull request #221 from steffen-kiess/master
Add various methods and flags to Syscall
Steffen Kieß [Tue, 26 Mar 2013 20:26:09 +0000 (21:26 +0100)]
Add various methods and flags to Syscall
* Add OpenFlags.O_CLOEXEC and OpenFlags.O_PATH
* Add AtFlags for AT_* values
* Add fdopendir, mkdtemp, futimens
* Add readv, writev, preadv, pwritev
* Add *at methods: openat, renameat, fchmodat, fstatat, utimensat,
mkdirat, mknodat, mkfifoat, faccessat, fchownat, linkat, readlinkat,
symlinkat, unlinkat
* Add constants AT_FDCWD, UTIME_NOW, UTIME_OMIT
Zoltan Varga [Tue, 26 Mar 2013 19:15:06 +0000 (20:15 +0100)]
Export a few more symbols for LLVM.
Miguel de Icaza [Tue, 26 Mar 2013 19:04:53 +0000 (15:04 -0400)]
[corlib] Marshal: fine-tune the pointer Read/Write operations.
This patch reworks the Marshal's Read and Write pointer operations
to avoid performing a modulo operation to choose the fast path, as
in some platforms the modulo operation is implemented as a C subroutine.
Instead we use bit operations which always run in constant time.
It also avoids the IntPtr.XXX method calls, factors out "unsafe", only
ever performs one IntPtr->pointer conversion, and makes the source
code uniform.
Zoltan Varga [Tue, 26 Mar 2013 19:01:41 +0000 (20:01 +0100)]
Remove a redundant null check.
Zoltan Varga [Tue, 26 Mar 2013 18:58:55 +0000 (19:58 +0100)]
Return null when null was passed to Marshal.PtrToStructure () instead of throwing an exception. Fixes #11417.
Steffen Kieß [Tue, 26 Mar 2013 18:53:00 +0000 (19:53 +0100)]
Set errno to 0 before calling readdir in Syscall.readdir().
This will allow the caller to distinguish between errors and end-of-directory.
Marek Safar [Tue, 26 Mar 2013 18:17:10 +0000 (19:17 +0100)]
Update number separators for mexican and similar locales. Fixes #8084
Marek Safar [Tue, 26 Mar 2013 16:23:18 +0000 (17:23 +0100)]
Set invariant DateTimeFormatInfo for all invariant format specifiers. Fixes #11364
Marek Safar [Tue, 26 Mar 2013 15:38:53 +0000 (16:38 +0100)]
Populate AbbreviatedMonthNames values. Fixes #11361
Atsushi Eno [Tue, 26 Mar 2013 16:56:13 +0000 (01:56 +0900)]
update cecil rev.
We cannot fully update cecil to the latest master which seems to break
some existing code, so use specific branch so far.
Paolo Molaro [Tue, 26 Mar 2013 15:35:28 +0000 (16:35 +0100)]
Export a few functions needed by llvm.
Marek Safar [Tue, 26 Mar 2013 10:35:55 +0000 (11:35 +0100)]
Fix quoting of some date time patters. Fixes #11363
Marek Safar [Tue, 26 Mar 2013 10:05:27 +0000 (11:05 +0100)]
Add zh-CHT parent lcid handling. Fixes #11375
Alex Rønne Petersen [Tue, 26 Mar 2013 07:46:16 +0000 (00:46 -0700)]
Merge pull request #608 from metanest/bin_bash_spike
#!/bin/bash -> #!/usr/bin/env bash
KISHIMOTO, Makoto [Tue, 26 Mar 2013 03:56:22 +0000 (12:56 +0900)]
#!/bin/bash -> #!/usr/bin/env bash
Zoltan Varga [Tue, 26 Mar 2013 03:31:07 +0000 (04:31 +0100)]
Don't emulate idiv.un/irem.un on ARM in cases where it can be optimized away.
Zoltan Varga [Tue, 26 Mar 2013 00:32:20 +0000 (01:32 +0100)]
Marek Safar [Mon, 25 Mar 2013 15:01:53 +0000 (16:01 +0100)]
Add configure await
Marek Safar [Mon, 25 Mar 2013 14:44:13 +0000 (07:44 -0700)]
Merge pull request #607 from maksimenko/master
use await GetRequestStreamAsync on System.Net.Http.HttpClientHandler SendAsync to avoid blocking
Rodrigo Kumpera [Mon, 25 Mar 2013 14:36:57 +0000 (10:36 -0400)]
Change mono_gc_get_managed_array_allocator to receive a MonoClass instead of a vtable, rank pair.
* method-to-ir.c: Given mono_gc_get_managed_array_allocator now takes a class and not an vtable,
we can now use it for shared code allocating arrays.
Rodrigo Kumpera [Mon, 25 Mar 2013 14:25:44 +0000 (10:25 -0400)]
Fast path Array::Resize with small arrays.
Marek Safar [Mon, 25 Mar 2013 14:11:50 +0000 (15:11 +0100)]
Don't capture any variables when block yield only breaks
Marek Safar [Mon, 25 Mar 2013 13:22:16 +0000 (14:22 +0100)]
Don't create interator parameters copies for unmodified parameters
Marek Safar [Mon, 25 Mar 2013 13:16:35 +0000 (14:16 +0100)]
Marek Safar [Mon, 25 Mar 2013 10:05:42 +0000 (11:05 +0100)]
Don't copy hoisted iterator parameters when not needed
Zoltan Varga [Mon, 25 Mar 2013 01:47:26 +0000 (02:47 +0100)]
Fix the hashing of MonoJumpInfo structures, previously many had the same hash code.
Zoltan Varga [Mon, 25 Mar 2013 01:44:55 +0000 (02:44 +0100)]
Add a mono_print_ji () helper function to print a MonoJumpInfo structure.
Miguel de Icaza [Sun, 24 Mar 2013 23:18:37 +0000 (19:18 -0400)]
Add a test for the WebUtility.HtmlEncode bits
Zoltan Varga [Sun, 24 Mar 2013 22:28:18 +0000 (23:28 +0100)]
Move the 'Created object count' stat to the GC section when using --stats.
Zoltan Varga [Sun, 24 Mar 2013 21:54:57 +0000 (22:54 +0100)]
Avoid using an rgctx when making delegate invokes from shared code, the delegate trampoline code already handles this.
Marek Safar [Sun, 24 Mar 2013 14:03:22 +0000 (15:03 +0100)]
Add optimized where iterator for arrays
Marek Safar [Sat, 23 Mar 2013 09:01:34 +0000 (10:01 +0100)]
Optimize entity conversion
Marek Safar [Sat, 23 Mar 2013 08:59:36 +0000 (09:59 +0100)]
Try to recover incomplete ternary expression. Fixes #5195
Marek Safar [Fri, 22 Mar 2013 16:18:19 +0000 (17:18 +0100)]
Better error message for not matching overload when expanded params conversion fails.
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.
Victor H. Maksimenko [Sat, 23 Mar 2013 20:29:48 +0000 (15:59 -0430)]
use the GetRequestStreamAsync method to avoid blocking on HttpClientHandler SendAsync
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