Age | Commit message (Collapse) | Author |
|
|
|
* Bump corert
* Bump API snapshot submodule
|
|
|
|
* Fix some ThreadPool performance counters.
https://bugzilla.xamarin.com/show_bug.cgi?id=41294
The bug is that some performance counters are always zero.
Because we do not update them.
This addresses two of them: Work items added and thread count.
There is PerformanceCounter class and you can Increment instances,
however its metadata and some of the implementation is in System.dll.
Most of the code is in native.
ThreadPool is in mscorlib.dll, so can't use System.dll.
A few options exist to address this.
We could move and forward the type. We could duplicate and rename
and possibly subset the type.
Here we add a new icall very specifically for the scenario.
There is slight cost for the icall, and for the atomic increment.
There is an attempt to measure but the results were unclear.
Note that the count of work items is not specifically for QueueUserWorkItem
as one might expect, but also for any async calls.
Fix a little bit of typos.
* Take command lines from command line per PR feedback.
* newline at end of file
|
|
|
|
runtime (#6062)
* Checkpoint: Implement SynchronizationContext.Wait
* Add missing check for null synchronization context
* Update bug 60568 fix to cover WaitAll and add test cases
* Add missing file
|
|
|
|
|
|
|
|
|
|
UnsafeRegisterWaitForSingleObject is used. Fixes #60029 (#6013)
|
|
signature. Fixes #60505
This fix is a bit weird but it's due to some restrictions of the managed API.
MissingMemberException & friends require both ClassName and MemberName to be supplied independently, so the signature
can't simply be applied to MemberName. So we pass it on a separate field.
The next thing is that we want C#'esque signatures, where the return type comes before ClassName.MemberName, so we pass
a format string and apply it in managed.
|
|
|
|
|
|
[System.URI] Don't reset host string processing on Unicode paths. Fix…
|
|
* [System.Data] move to corefx
* [System.Data] Missing API: SqlTypesSchemaImporters
* [System.Data] Missing API: SqlNotification*
* [System.Data] Missing API: SqlDataSourceEnumerator
* [System.Data] Missing API: SQLDebugging
* [System.Data] fix build
* [System.Data] remove public API from different assemblies
* Apply corefx changes
* Hide some PropertiesTest (missing API in corefx)
* Missing API: TypedDataSetGenerator*, etc
* Missing API: SqlClientMetaDataCollectionNames
* Missing API: SqlCredential
* SqlMetaDataFactory.cs is actually sqlmetadatafactory.cs (case sensitive)
* Missing API: PoolBlockingPeriod
* Fix case-sensitive issues
* Odbc support (requires changes in corefx)
* ODBC support
* Re-enable ODBC ProviderTests
* Apply corefx changes
* temp commit: fix build
* Missing API: Microsoft.SqlServer.Server.*
* Missing API: DBDataPermission, OdbcPermission, SqlClientPermission
* Missing API: DbProviderFactoriesConfigurationHandler, DbProviderConfigurationHandler, DbProviderFactory.CreatePermission
* Missing API: DbProviderFactories
* Missing API: SqlCommand BeginXXX methods, SqlException.Message, OdbcFactory.CreatePermission
* Add System.Data.SqlClient.SqlMetaData.xml (embedded resource)
* reorganize *.sources files for win32, macos and linux
* bump corefx
* [System.Data] API: SqlDataSourceEnumerator, SqlClientFactory, SqlParameter, SqlMetaData
* [System.Data] cleanup
* [System.Data] mobile profile, cleanup
* [System.Data] Fix few odbc tests (changes are in corefx PR)
* [System.Data] fix Open_ConnectionString_DatabaseInvalid test
* [System.Data] enable all tests
* Add AsynchronousProcessing and ConnectionReset to SqlConnectionStringBuilder
* [System.Data] fix build
* fix all ProvierTests
* fix tests (files several issues against the corefx)
* system-data code cleanup
* system-data code cleanup
* add SqlTypesSchemaImporters
* remove corefx/RuntimeInformation.cs, add OleDbPermission stub
* OleDbPermission should be serializable (fixing tests)
* remove ODBC from mobile profile
* fix linux build - add 619 (obsolete) to nowarn list.
* temp commit
* fix a few api diff issues
* add OleDbType type (currently exists even in mobile profiles)
* add stubs
* Add stubs for OleDb
* improve oledb stubs
* improve oledb stubs
* improve oledb stubs
* more oledb stubs
* add xunit tests from corefx
* Add SqlClient corefx tests
* use corefx sources for System.Data.DataSetExtensions
* Remove [InternalsVisibleTo ("System.Data.DataSetExtensions")] from System.Data
* [System.Data] sync with external/corefx
* fix linux\macOS builds
* Fix xunit tests
* System.Data/Makefile cleanup
* tabify System.Data
* Rollback changes in System.Web & SqlSharpCli
* small cleanup
* [System.Data] Remove redundant .sources files
* [System.Data] update odbc Res.cs
* [System.Data] Remove redundant .sources files
* fix System.Data.dll.sources (add a blank line)
* remove TypeForwarder for DBNull and register xunit tests for System.Data
* Bump API snapshot submodule
|
|
This may not be the final fix; the Mono-only workaround was introduced in b5dc9a4951bd35b61b29faa4df93bca3c31bfa3e to fix a crash with Unicode paths in TryCreate. However the test case for that issue now succeeds without the workaround.
|
|
|
|
|
|
referencesource changes for the xamaran folks
|
|
allocating for a wrapper struct
|
|
|
|
|
|
|
|
|
|
classes. (#4810)
|
|
It was accidentally removed in 2729605554a10de4ebc74cc163409792885420af.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ORBIS #ifdefs in BCL, exclude several files and assembly directories
from the orbis build, HAVE_LOCALTIME_R define in C.
|
|
because it can hang if the thread which sets the event is aborted during shutdown. Fixes #53843. (#4609) (#4617)
|
|
|
|
|
|
|
|
|
|
* [System.Data] referencesource -> corefx
* [System.Data] referencesource -> corefx
* [System.Data] corefx migration, fix ActivityCorrelator
* [System.Data] use DbProviderFactory, DbConnectionPoolGroupProviderInfo, OperationAbortedException from corefx
|
|
|
|
We're always using the code now and will deal with the
differences to .NET 4.x by producing reference assemblies.
|
|
To get a process by name, we need to access the other process ProcessName, but it can fails on non-win32 platforms. This failure wouldn't be caught in the referencesource implementation trigerring this bug.
The exception we would observe would be:
Unhandled Exception:
System.InvalidOperationException: Process has exited, so the requested information is not available.
at System.Diagnostics.Process.get_ProcessName () [0x0002d] in /Users/alexander/dev/mono/mcs/class/System/System.Diagnostics/Process.cs:336
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:get_ProcessName ()
at Program.Main (System.String[] args) [0x0003b] in <9c838a66cdc44c81b38c974edcc9c029>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Process has exited, so the requested information is not available.
at System.Diagnostics.Process.get_ProcessName () [0x0002d] in /Users/alexander/dev/mono/mcs/class/System/System.Diagnostics/Process.cs:336
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:get_ProcessName ()
at Program.Main (System.String[] args) [0x0003b] in <9c838a66cdc44c81b38c974edcc9c029>:0
Fixes bug https://bugzilla.xamarin.com/show_bug.cgi?id=52345
|
|
* [System.Data] SQLTypes from corefx
* [System.Data] DataStorage + subclasses from corefx
* [System.Data] remove dead referencesource.sources references
* [System.Data] Generate SR.cs from corefx using resx2sr tool
* [System.Data] move common references to corefx.common.sources
* [System.Data] remove /ReferenceSources/SR.cs
* [System.Data] remove duplicates in corefx.common.sources (accidentally were added)
* [System.Data] simple types & enums from corefx
* [System.Data] referencesource -> corefx
* [System.Data] Referencesource -> corefx
* [System.Data] re-order (sort) files in corefx.common.sources, DbCommandBuilder from corefx
* [System.Data] Referencesource -> corefx
* [System.Data] DataRow, DataSet, Filters, etc from corefx. XmlDataDocument is internal in corefx but used to be public in mono.
* [System.Data] rollback referencesource changes
* [System.Data] Wrap /referencesource/DataSet.cs with #ifdef COREFX in order to include missing DataSetSchemaImporterExtension and ignore DataSet
|
|
|
|
* Enabling windows specific code for winaot profile
which were disabled with MOBILE define.
* Making sure Win32_FIXED_INFO struct can get marshalled
correctly for AOT builds.
|
|
To be consistent with the other MONO_FEATURE_* defines.
|
|
We won't import it into Mono anytime soon and the long paths
cause issues when checking out Mono on Windows.
|