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
path: root/mcs
AgeCommit message (Collapse)Author
2021-03-10CredScan issue - remove hardcoded password (#20908)Sam Patel
* CredScan issue - remove hardcoded password Remove commented out lines of code which had a hardcoded password flagged by the CredScan tool (line 86) * update net_4_)/web.config file * update net_1_1\machine.config * update net_4_5/web.config * update net_2_0/web.config
2021-03-09Update password - CredScan issues (#20901)Fan Yang
* Update password * Revert change for one file * Update password round 2 * Update more password
2021-03-08Disable DebuggerTests.Crash since it fails on Linux i386 in CIAlexander Köplinger
See https://github.com/mono/mono/issues/20905
2021-03-05Another CredScan suppression (#20900)Ryan Lucia
2021-03-05[sdb] Add Module.ApplyChanges (#20889)Aleksey Kliger (λgeek)
* [sdb] Add Module.ApplyChanges * [mini] Add CMD_MODULE_APPLY_CHANGES Unused, but reserved to keep the protocol enums in sync with dotnet/runtime * Exclude Mono.Debugger.Soft.dll from apidiff check * Bump api-snapshot submodule Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
2021-03-05Fix some CredScan issues (#20898)Ryan Lucia
2021-03-03WCF process PATCH verb (#20612)Rodrigo Cesar
* Check if ContentType was passed on http request. * Process PATCH http verb. Co-authored-by: Rodrigo Cesar <rodrigo@fullgauge.com.br>
2021-02-27Remove .csproj files from mcs/ build, they were never used (#20883)Alexander Köplinger
This allows us to remove a lot of cruft and simplifies our CI build.
2021-02-20Adding an ARM64 lane, running on docker in a private pool (#20849)Jo Shields
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
2021-02-17Add more Linux CI jobs to Azure Pipelines build (#20851)Alexander Köplinger
Also template-ify it a bit.
2021-02-12Remove incorrect password (#20846)Nathan Ricci
This password was picked up by credscan. It gives the default password of a database, but I can't find any script that actually uses that default password. It seems like we may as well just remove it.
2021-02-09[System.Drawing] Work around libgdiplus Metafile dispose ordering (#20827)Aleksey Kliger (λgeek)
* [System.Drawing] Work around libgdiplus Metafile dispose ordering * Bump API snapshot submodule Co-authored-by: monojenkins <jo.shields+jenkins@xamarin.com>
2021-02-05Revert "[mono][debugger] First PR to implement iCorDebug on mono (#20757)"Thays
This reverts commit 8e82ce21b607f57f2f4889c81edd9c9813530a3f.
2021-01-26[mono][debugger] First PR to implement iCorDebug on mono (#20757)monojenkins
* [mono][debugger] First PR to implement iCorDebug on mono The goal of this PR is change the current files to support the implementation of iCorDebug on mono: - Split debugger-agent into debugger-protocol and debugger-agent, debugger-protocol will be used in the next PR in mscordbi implementation. - Fix strings with the meaning of the commands, there were missing strings and then the PRINT_DEBUG_MSG was printing wrong information. - On debugger-engine pass the offset of the IL when stop in a breakpoint. - Created a new protocol major version to support the changes that we need to implement mscordbi. - When mono debugger is started with server=n will waint until the timeout for a server to connect, this is necessary because depending on how we will launch the process with iCorDebug implementation, maybe mono will start before the debugger server(mscordbi).
2021-01-26mkbundle: add support for hybrid aot (#20685)Andoni Morales Alastruey
2021-01-26mkbundle: fix initialization segfault in custom mode (#20684)Andoni Morales Alastruey
The mono api struct is never initialized causing a segfault in the first method that uses it install_dll_config_files. The init funtion init_default_mono_api_struct is also incorrectly included in the #ifdef USE_COMPRESSED_ASSEMBLY, making it available only when using compressed assemblies
2020-12-18[sdb] Add ability to retrieve custom attributes on assemblies (#20672)Jb Evain
* [sdb] Add ability to retrieve custom attributes on assemblies * Bump API snapshot submodule Co-authored-by: monojenkins <jo.shields+jenkins@xamarin.com>
2020-12-11[metadata] Generate type-3 GUIDs for interfaces. (#20499)Rémi Bernon
* [metadata] Generate type-3 GUIDs for interfaces. When they don't provide a fixed GUID already. Fixing L.A.Noire Launcher not being able to load its ErrorHandler class. * [System.RuntimeType] Use native same method to query type GUID. * [cominterop] Factor GUID lookup mechanism with System.RuntimeType. * [tests] Test that generated Type.GUID match .NET Framework. * [tests] Test that generated GUID can be used to query COM interface. * use getters for MonoClass members * Add mono_md5_ctx_byte_length to get the digest length Fixes the OSX and iOS builds where we use CommonCrypto * fix Win32 build * Don't build icall on netcore Will need a separate followup PR to add it to RutnimeType in dotnet/runtime Co-authored-by: Aleksey Kliger <alklig@microsoft.com>
2020-12-10Add support for full AOT of System.Windows.Forms on Windows. (#20645)Johan Lorensson
2020-10-26[w32process-win32] Implement System.Diagnostics.Process::MainWindowHandle. ↵Rémi Bernon
(#20504) L.A.Noire splash screen calls it to check if the game has opened its window, and stays forever visible if this is not implemented.
2020-10-13Minor spelling and grammar fixes. (#20474)Maxwell Cody
2020-10-09[corlib] ThreadAbortException protection for ArraySortHelper (#20467)Aleksey Kliger (λgeek)
* [test] Abort a thread doing a long-running Array.Sort The custom comparer is wrapped in a try/finally. Verify that it doesn't turn thread abort exceptions into some other exception. Regression test for https://github.com/mono/mono/issues/15418 * Bump corert To pick up fix for https://github.com/mono/mono/issues/15418 * disable new test on platforms without Thread.Abort
2020-10-05[sdb] Add support for function pointers. (#20448)Zoltan Varga
* [sdb] Add support for function pointers. * Fix mcs build.
2020-09-11WiX cannot package UNIX symlinks; force Cygwin to use Windows symlinks (#20372)Jo Shields
2020-09-04[Winforms] Real fix for #18606 PropertyGrid didn`t edit value with ↵Александр Хухлаев
CustomTypeDescriptor (#19452) (#20347) * Revert "[Winforms] fix #18606 PropertyGrid didn`t edit value with CustomTypeDescriptor (#19452)" This reverts commit a26d2f0c3ea1804e7794f66ef37a4d9e48e1d755. * "[Winforms] Real fix for #18606 PropertyGrid didn`t edit value with CustomTypeDescriptor (#19452)" In Line 552 value and properties[i].GetValue (propertyOwners[i]) will not be same cause custom Converter can change object reference on its side, so there will be enough check at line 523
2020-09-04[Android] Enable access to up-to-date tzdata on Android 10+ (#20349)Marek Habersack
Context: https://source.android.com/devices/architecture/modular-system/runtime#time-zone-data-interactions Context: https://source.android.com/devices/tech/config/timezone-rules#timezone-apex Context: https://android.googlesource.com/platform/frameworks/base/+/a1ae02519d6fb5de636fc8728dec7cb9b14de356 Maybe helps with: https://github.com/xamarin/xamarin-android/issues/5080 Add support to read ICANN timezone data from two new locations found on devices running Android 10+. The data in the previously searched location still exists but it's most likely out of date. On Android 10+ tzdata updates will be derived via an APEX TimeData package update, whose data directory this commit sets as the first location to be searched. This commit potentially fixes the Xamarin.Android issue mentioned above. "Potentially" because I can't be sure this is what's causing it since I'm unable to reproduce the issue locally. However, out-of-date tz database seems to be the most probable cause.
2020-08-31Fix potential crash for Encoder.Convert (#20271)jeffgoku
GetByteCount will not return the right number of bytes needed, so GetBytes in Encoder.Convert will crash for some input
2020-08-31[resgen] Honour absence of -usesourcepath (#20247)Eberhard Beilharz
* Only set basepath to the source directory if useSourcePath is set. * Fixes a regression from mono 4 that happened when changing the code to not use reflection. Co-authored-by: MarkS <marksvc@gmail.com>
2020-08-25[runtime] Catch attempts to create enum types with an underlying type that ↵imhameed
is itself an incomplete enum type. (#20282) * Catch attempts to create enum types with an underlying type that is itself an incomplete enum type. Previously, only non-enum types containing fields with incomplete enum types were forbidden. * Permit static constant fields with incomplete types if the incomplete type is the type currently being defined Co-authored-by: Alexis Christoforides <alexis@thenull.net>
2020-08-11Fixing debugger hang that would occur when inspecting a field that has a ↵Alex Thibodeau
Debugger.Break in it's accessor. (#20211) Fixing TypeInfo debugger test. I added a new property which broke the num properties check.
2020-07-29jay.exe (ILASM): Incorrect loop indexing, fixes #14241 (#20144)Glenn Slayden
Fix incorrect loop indexing. Fixes #14241
2020-07-29[System] Mark BTLS callbacks as cdecl. (#19872)Esme
Fixes crashes when BTLS is compiled for Windows x86 with Clang. Co-authored-by: Vincent Povirk <vincent@codeweavers.com>
2020-07-29Fix Line problem with wrapping and tabs (#20112)Karl
Also adds a minor improvement to line wrapping, by not updating the wrap position when it can only move it earlier. This means when processing end-of-wrapped-line whitespace that it doesn't get adjusted every time. Also doesn't update the previous wrap position, but that shouldn't be used in this situation as it is only for wrapping after dashes. The real problem that this fixes is that wrapping a line at a point such that there was whitespace including a tab after the wrap position could cause an infinite loop. Without the fix, with a wrap_pos > 0 (normal), it only split the line after reaching non-whitespace. In most situations that was OK as we norwally wrap after whitespace. However a tab is whitespace we wrap before. Once pos was equal to wrap_pos it stopped incrementing pos as it was now at the split position and therefore it shouldn't change. But it didn't set split_tag, so didn't split, and therefore didn't exit the outer loop.
2020-07-17[Wasm] Additional signatures for SkiaSharp interop + More (#20133)Matthew Leibowitz
* [Wasm] Additional signatures for SkiaSharp interop * Update InterpToNativeGenerator.cs * Generate more APIs Include the bits in https://github.com/dotnet/runtime/commit/aa667de1e3fff0f951d5136a45fbe8acefad9be9
2020-07-17[wasm] Fix handling of enum types in the pinvoke generator. (#20125)Zoltan Varga
Fixes https://github.com/mono/mono/issues/20123.
2020-07-16[wasm] Fix handling of void types in the pinvoke generator. (#20121)Zoltan Varga
Fixes https://github.com/mono/mono/issues/20120.
2020-07-10[bcl] Update BCL Linked Size (#19446)monojenkins
2020-07-08Init a timer on TransactionScope initialization to be able to timeout (#20080)Pablo Martínez
Fixes #19955
2020-07-08[wasm] Implement support for pinvoke callbacks in the interpeter. (#20076)Zoltan Varga
* [wasm] Refactor the wasm tuner. Move the pinvoke table generation code into a new PInvokeTableGenerator.cs file, to be similar to the corresponding code in WasmAppBuilder in dotnet/runtime. NFC. * [wasm] Implement support for pinvoke callbacks in the interpeter. * Modify the tuner to generate a table of trampoline functions which have the same signature as the pinvoke callback methods. * These functions transfer control to the interpreter. * Modify the interpreter/wasm runtime to look up the functions corresponding to the pinvoke callback methods. * [csproj] Update project files * Fix license. * Remove leftover debug code. Co-authored-by: monojenkins <jo.shields+jenkins@xamarin.com>
2020-07-02[wasm][System.IO.Compression]: Disable BrotliStream on wasm. (#19961)Martin Baulig
* [wasm][System.IO.Compression]: Disable Brotli on wasm. * [csproj] Update project files Co-authored-by: monojenkins <jo.shields+jenkins@xamarin.com>
2020-06-30[wasm] Optimize interp->native transitions. (#20034)Zoltan Varga
* [wasm] Optimize interp->native transitions. * Generate tables of signatures/transition functions. * Add mono_wasm_get_interp_to_native_trampoline () function to look up the transition function for a signature. * Cache the transition function in a imethod->method_data slot. Previously, we were calling a mono_wasm_interp_to_native_trampoline () function and a generated icall_trampoline_dispatch () function which added a lot of overhead. * Avoid sharing cache entries.
2020-06-24[mcs] Fix help text for default value of -sdk: option (#20011)Steffen Kieß
The `mcs` help text says that it will use the value `4.5` by default for the option `-sdk:`, but it actually uses `4.x`. Fix the help text.
2020-06-24[wasm] Missing signatures for Microsoft.Extensions.EventSource (#20017)Alexander Köplinger
Fixes tests in dotnet/runtime that currently fail with `WASM-ERR: CANNOT HANDLE COOKIE VL`.
2020-06-24[WASM] Missing signatures for OpenGLES (#20001)David Ávila
* Added missing signatures for OpenGLES/WebGL * Remove duplicated signatures * Update Wasm_m2n_invoke.g.h to include new signatures
2020-06-12[merp] Add API methods for getting hashcode/reason of last crash (#19901)Alexis Christoforides
* [merp] Add API methods for getting hashcode/reason of last crash * Add test * Review feedback and cleanup
2020-06-09[wasm] Throw PlatformNotSupportedException instead of NotSupportedException ↵Zoltan Varga
when starting threads/waiting on monitors. (#19937) * [wasm] Throw PlatformNotSupportedException instead of NotSupportedException when starting threads/waiting on monitors. * Preseve PlatformNotSupportedException.
2020-06-05[wasm] Fix icall linking with netcore. (#19917)Zoltan Varga
2020-05-30[wasm] Print a warning in the pinvoke generator if multiple incompatible ↵Zoltan Varga
declarations would be emitted, and error (#19873) out at runtime. Fixes https://github.com/mono/mono/issues/19869.
2020-05-27[wasm] Include the pinvoke table into a separate file, so the generated ↵Zoltan Varga
declarations don't conflict with the ones in the header files included by driver.c. (#19853) Fixes https://github.com/mono/mono/issues/19837.
2020-05-20Always include Unicode charinfo, so tar made in csc mode works in mcs mode ↵Jo Shields
(#19807) As-is, a tarball created in Roslyn mode is missing the file charinfo.nlp, which mcs needs to build the classlib.