Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-07Allow override of mkbundle generation library extensionJo Shields
2017-12-14[mkbundle] Bundle unmanaged libsJo Shields
2016-10-14Revert "Revert "UTF8 Marshaling APIs (#3736)""Miguel de Icaza
This reverts commit 2a01bde545a47e287977637a4a08f8f965ca45dc.t push :
2016-10-14Revert "UTF8 Marshaling APIs (#3736)"Miguel de Icaza
This reverts commit 4056e80006ee934ec024215cf998baf66aa8d6ae.
2016-10-14UTF8 Marshaling APIs (#3736)Miguel de Icaza
Adds support for the new UTF8 marshaling functionality in .NET, there is support for the new MarshalAs(UnmanagedType.LPUTF8St) as well as a handful of convenience methods in Marshal.cs In Mono, this is mostly a pass-through as we have historically only done UTF8, so this merely adds the constant processing to the runtime. This fixes a few bugs that the new test suite exhibited: when we marshaled UTF8 strings, we assumed Chars() == Bytes() and we would end up chopping when marshaling out, and marshaling in. There is also an additional behavioral bug that was fixed in Marshal.cs, unlike the rest of the runtime that treated Ansi as Utf8, StringToCoTaskMemAnsi behaved as ascii. This brings the API in line with the rest of the runtime. The equivalent CoreCLR changes were: dotnet/coreclr#4793 dotnet/coreclr#6561 This has also surfaced two limitations in Mono's marshaling code, which is why two sets of tests are disabled: StringBuilder return types are not handled specially (char * needs to be turned into a new StringBuilder when present) and StringBuilders with an Out attribute should update the StringBuilder in place, not make a new copy of it.
2016-09-29[scripts] Add script to package the basic runtime to reuse by mkbundleMiguel de Icaza