Switch branches/tags
Commits on Aug 20, 2013
  1. Fix a regression introduced by d84a165. Unbox casts were failing for …

    vargaz committed Aug 20, 2013
    …enums. Fixes #14026.
Commits on Aug 16, 2013
  1. [sgen] Disable freeing of OS memory on win32, it causes asserts becau…

    vargaz committed Aug 12, 2013
    …se VirtualFree () fails.
  2. Remove the usage of gcc-3 on mingw, the gcc-3 package no longer exist…

    vargaz committed Aug 8, 2013
    …s on cygwin. Mono can be built by configuring with --host=i686-pc-mingw32. Building without this will not work, since the libtool wrapper executables created by libtool will be unusable, i.e. they exit before the real runtime process exits.
Commits on Aug 15, 2013
  1. Fix build (giconv.c)

    atsushieno authored and vargaz committed Aug 15, 2013
Commits on Aug 14, 2013
  1. Fixed System.Text.Decoder.GetChars(byte*,int,char*,int,bool) to copy …

    jstedfast committed Aug 12, 2013
    …output into the char* buffer.
  2. [sgen] Add a workaround for #13951. Register the jit info for GC crit…

    vargaz committed Aug 13, 2013
    …ical methods as soon as they are loaded, and avoid lookups in the AOT images when calling mono_jit_info_table_find () during STW.
Commits on Aug 13, 2013
  1. [mscorlib] Support OID names in RSACryptoServiceProvider.SignData()

    jonpryor committed Aug 13, 2013
    MSDN documents that RSACryptoServiceProvider.SignData()'s provider
    paramter may contain an OID name:
    > The halg parameter can accept a String, a HashAlgorithm, or a Type.
    > The string value can be one of the following:
    > * The object identifier (OID) friendly name of the hash algorithm to use,
    >   either a name registered in the crypto config file or one in the
    >   Crypto API OID table.
    > * The OID value. The OID must be one recognized by the Crypto API.
    > For example, you could use SignData(new byte[5], "") or
    > SignData(new byte[5], "sha1"), or SignData(new byte[5], "SHA1").
    Add support for this OID names as the provider.
Commits on Aug 12, 2013
  1. [System.Core/Android] Android's doesn't export getpagesize()

    jonpryor committed Aug 12, 2013
    Partially fixes:
    Android's doesn't export getpagesize(3), resulting in an
    	System.EntryPointNotFoundException: getpagesize
    	  at (wrapper managed-to-native) System.IO.MemoryMappedFiles.MemoryMapImpl.getpagesize ()
    	  at System.IO.MemoryMappedFiles.MemoryMapImpl.Map (int,long,long&,System.IO.MemoryMappedFiles.MemoryMappedFileAccess,intptr&,int&)
    	  at System.IO.MemoryMappedFiles.MemoryMappedViewAccessor.Create (long,long,System.IO.MemoryMappedFiles.MemoryMappedFileAccess)
    	  at System.IO.MemoryMappedFiles.MemoryMappedViewAccessor..ctor (int,long,long,System.IO.MemoryMappedFiles.MemoryMappedFileAccess)
    	  at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateViewAccessor (long,long,System.IO.MemoryMappedFiles.MemoryMappedFileAccess)
    Android does provide getpagesize(3); it's just an inline function.
    The full fix will require two parts:
     1. Update MemoryMapImpl to P/Invoke!monodroid_getpagesize()
     2. Add a!monodroid_getpagesize() export.
    This commit implements (1).
Commits on Aug 9, 2013
Commits on Aug 8, 2013
  1. [mdoc-validate] Allow <format/> to have ANY content.

    jonpryor committed Aug 8, 2013
    The intent of the <format/> element is to assist encapsulating
    arbitrary HTML content within an mdoc(5) container. This frequently
    requires having more than _one_ element within the <format/> block.
    (WTF was I thinking forgetting the maxOccurs attribute?!)
Commits on Aug 6, 2013
  1. [System.Core/Android] Support Android v4.3's timezone DB format

    jonpryor committed Aug 6, 2013
    Android v4.3 changed the timezone DB format described in 8a26398 and
    replaced it with a single file containing version, index, data, and a
    "zoneTab" (which is parsed but unused).
    Port/rewrite the Java libcore.util.ZoneInfoDB type into
    System.AndroidTzData so that this new file format is supported.
    (Another day, another file format...)
Commits on Aug 5, 2013
Commits on Jul 31, 2013
Commits on Jul 29, 2013
Commits on Jul 27, 2013
Commits on Jul 26, 2013
  1. [System] Support FTP download where PWD starts with '\'.

    jonpryor committed Jul 25, 2013
    There are some Industrial Automation Hardware devices which return a
    '\'-prefixed path to the FTP PWD command, which would break:
    	System.UriFormatException: Invalid URI: The hostname could not be parsed.
    	  at System.Uri.Parse (UriKind kind, System.String uriString)
    	  at System.Uri.ParseUri (UriKind kind)
    	  at System.Uri..ctor (System.String uriString, Boolean dontEscape)
    	  at System.Uri..ctor (System.String uriString) [0x0000
    	  at System.Net.FtpWebRequest.GetRemoteFolderPath (System.Uri uri)
    	  at System.Net.FtpWebRequest.CWDAndSetFileName (System.Uri uri)
    	  at System.Net.FtpWebRequest.ProcessMethod ()
    	  at System.Net.FtpWebRequest.ProcessRequest ()
    	There was an error connecting to the FTP Server.
    The problem was this statement:
    	Uri initial = new Uri ("ftp://dummy-host" + initial_path);
    Since the FTP server was returning "\" to the PWD command,
    `initial_path` was "\", and the above was equivalent to:
    	Uri initial = new Uri (@"ftp://dummy-host\");
    This results in the UriFormatException.
    The solution is to not assume that `initial_path` will start with '/',
    and instead use UriBuilder.
  2. Revert the use of mono_binary_search () in support/supportw.c.

    alexrp authored and jonpryor committed Jul 26, 2013
    This code can't depend on mono/utils and doesn't need the 'fixed'
    implementation of bsearch () anyway since keys are never null.
  3. Add a mono_binary_search () function.

    alexrp authored and jonpryor committed Jul 26, 2013
    This is a replacement for bsearch () because some platforms
    have bogus asserts in their implementations.
  4. Remove CultureInfo.CurrentCulture dependency from ordinal based strin…

    marek-safar committed Jul 26, 2013
    …g::EndsWith. Fixes #13509