Gerardo García Peña [Wed, 3 Apr 2013 15:26:14 +0000 (17:26 +0200)]
Implemented method 'IsUnknownSurrogate()'.
Gerardo García Peña [Wed, 3 Apr 2013 15:24:35 +0000 (17:24 +0200)]
Refactorized Convert(char[], int, ...) to use the pointer version.
Gerardo García Peña [Wed, 3 Apr 2013 15:21:58 +0000 (17:21 +0200)]
Refactorized convert(byte[], int, ...), now uses the pointer version.
Marek Safar [Tue, 2 Apr 2013 08:08:38 +0000 (10:08 +0200)]
Add new test
Marek Safar [Mon, 1 Apr 2013 08:13:23 +0000 (10:13 +0200)]
Fix reported warning location
Marek Safar [Sun, 31 Mar 2013 17:00:25 +0000 (19:00 +0200)]
Error reporting improvements
Marek Safar [Sun, 31 Mar 2013 07:59:45 +0000 (09:59 +0200)]
Report missing type definition dependency only once per type.
Alex Rønne Petersen [Tue, 2 Apr 2013 20:50:11 +0000 (22:50 +0200)]
Fix another cast warning in sgen-debug.c.
Alex Rønne Petersen [Tue, 2 Apr 2013 20:40:42 +0000 (22:40 +0200)]
Fix an `#if` in System.Delegate.IsTransparentProxy () to use DISABLE_REMOTING.
Alex Rønne Petersen [Tue, 2 Apr 2013 20:01:24 +0000 (22:01 +0200)]
`#ifndef` some variables out to silence warnings in builds with COM/remoting disabled.
Alex Rønne Petersen [Tue, 2 Apr 2013 20:00:55 +0000 (22:00 +0200)]
Remove an unneeded inner `#ifndef DISABLE_COM`.
Alex Rønne Petersen [Tue, 2 Apr 2013 20:00:28 +0000 (22:00 +0200)]
Only define get_local_interface_id () on Apple platforms.
Alex Rønne Petersen [Tue, 2 Apr 2013 19:59:48 +0000 (21:59 +0200)]
Explicitly ignore some return values with a G_GNUC_UNUSED variable.
Alex Rønne Petersen [Tue, 2 Apr 2013 19:59:22 +0000 (21:59 +0200)]
Fix the tramp_names table when remoting is disabled.
Alex Rønne Petersen [Tue, 2 Apr 2013 19:59:09 +0000 (21:59 +0200)]
Silence a couple of unused variable warnings with G_GNUC_UNUSED.
Alex Rønne Petersen [Tue, 2 Apr 2013 19:57:59 +0000 (21:57 +0200)]
Fix some warnings caused by casts.
Alex Rønne Petersen [Tue, 2 Apr 2013 18:39:31 +0000 (20:39 +0200)]
Unbreak the build when Boehm is enabled and remoting is disabled.
Mark Probst [Tue, 2 Apr 2013 19:32:52 +0000 (12:32 -0700)]
Merge remote-tracking branch 'origin/fix-concurrent-wbarrier'
Mark Probst [Tue, 2 Apr 2013 19:31:33 +0000 (12:31 -0700)]
[sgen] Fix binary protocol concurrent crashes.
Mark Probst [Tue, 2 Apr 2013 17:36:05 +0000 (10:36 -0700)]
[sgen] Mark major->major references in unmanaged wbarrier, too.
Mark Probst [Tue, 2 Apr 2013 17:34:48 +0000 (10:34 -0700)]
[sgen] Update mod-union with regular, not shadow cardtable.
Mark Probst [Tue, 2 Apr 2013 17:33:26 +0000 (10:33 -0700)]
[sgen] Mod-union consistency check MONO_GC_DEBUG option.
Mark Probst [Tue, 2 Apr 2013 17:13:03 +0000 (10:13 -0700)]
[sgen] Cmdline option to print all entries in sgen-grep-binprot.
Mark Probst [Tue, 2 Apr 2013 17:11:36 +0000 (10:11 -0700)]
[sgen] Binary protocol entry for user-forced GCs.
Miguel de Icaza [Tue, 2 Apr 2013 01:28:03 +0000 (18:28 -0700)]
Merge pull request #606 from sesef/master
Fix .NET incompatibility in UpDownBase
Jeffrey Stedfast [Mon, 1 Apr 2013 20:34:01 +0000 (16:34 -0400)]
[Mono.Debugger.Soft] fixed the build
Jeffrey Stedfast [Mon, 1 Apr 2013 20:31:23 +0000 (16:31 -0400)]
[Mono.Debugger.Soft] Throw AbsentInformationException, not ArgumentException which makes no sense
Zoltan Varga [Sun, 31 Mar 2013 11:42:08 +0000 (13:42 +0200)]
Don't disable sharing for open generic async methods, since the JIT can't compile these without sharing.
Marek Safar [Sat, 30 Mar 2013 09:44:49 +0000 (10:44 +0100)]
Set async block flag also for partial methods
Marek Safar [Fri, 29 Mar 2013 17:35:17 +0000 (18:35 +0100)]
Make table name comparison dataset locale specific. Fixes #7899
Zoltan Varga [Fri, 29 Mar 2013 05:56:19 +0000 (06:56 +0100)]
Hopefully fix the windows build.
Zoltan Varga [Fri, 29 Mar 2013 03:24:16 +0000 (04:24 +0100)]
Hopefully fix the windows build.
Sebastien Pouliot [Thu, 28 Mar 2013 21:07:15 +0000 (17:07 -0400)]
Have the linker skip mixed-mode assemblies since it won't be able to save them later
Zoltan Varga [Thu, 28 Mar 2013 09:48:03 +0000 (10:48 +0100)]
Remove some debug printfs.
Zoltan Varga [Thu, 28 Mar 2013 09:46:58 +0000 (10:46 +0100)]
Fix the build.
Zoltan Varga [Thu, 28 Mar 2013 05:23:55 +0000 (06:23 +0100)]
Fix the build.
Jonathan Pryor [Thu, 28 Mar 2013 03:28:56 +0000 (23:28 -0400)]
Fix build break.
5329fab3 requires <sys/uio.h>, which wasn't being included.
Zoltan Varga [Thu, 28 Mar 2013 03:08:13 +0000 (04:08 +0100)]
Move atomic.h/atomic.h to utils/.
Zoltan Varga [Thu, 28 Mar 2013 02:44:57 +0000 (03:44 +0100)]
Add implementations of atomic functions using gcc atomic ops. Not yet used.
Jonathan Pryor [Wed, 27 Mar 2013 22:12:07 +0000 (18:12 -0400)]
[mkbundle] Remove Mono.Posix, ICSharpCode.SharpZipLib deps
I want to make execution of mkbundle possible under .NET, and as such
I want to remove unnecessary dependencies.
Mono.Posix is only used for UnixMarshal heap methods; there's NO need
to use these when Marshal can be used.
That leaves DeflaterOutputStream, and it's possible to configure zlib
to accept deflate streams, allowing us to use GZipStream:
http://stackoverflow.com/a/
1838702/83444
Update template_z.c accordingly so that the compressed data works.
Two side results of this:
1. Increased compression; my (really stupid) test app went from a
compression ration of 31.39% to 32%
2. This MAY make things WORSE when running on .NET < 4.5. This is
fixed in .NET 4.5:
http://msdn.microsoft.com/en-us/library/system.io.compression.deflatestream.aspx
Starting with the .NET Framework 4.5, the DeflateStream class
uses the zlib library. As a result, it provides a better
compression algorithm and, in most cases, a smaller compressed
file than it provides in earlier versions of the .NET
Framework.
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.
Sesef [Sat, 23 Mar 2013 10:52:12 +0000 (11:52 +0100)]
tabs
Sesef [Sat, 23 Mar 2013 10:43:33 +0000 (11:43 +0100)]
Fix NET incompatibility
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