summaryrefslogtreecommitdiff
path: root/src/vm/olevariant.cpp
AgeCommit message (Collapse)AuthorFilesLines
2019-04-03Remove ADID and ADIndex from CoreCLR (#23588)David Wrighton1-52/+29
- Remove concept of AppDomain from object api in VM - Various infrastructure around entering/leaving appdomains is removed - Add small implementation of GetAppDomain for use by DAC (to match existing behavior) - Simplify finalizer thread operations - Eliminate AppDomain::Terminate - Remove use of ADID from stresslog - Remove thread enter/leave tracking from AppDomain - Remove unused asm constants across all architectures - Re-order header inclusion order to put gcenv.h before handletable - Remove retail only sync block code involving appdomain index
2019-01-23Remove all traces of FEATURE_STACK_PROBE. (#22149)Filip Navara1-3/+0
2018-12-07Add support for loading registered TLBs (#21430)Aaron Robinson1-4/+4
* Add support for loading registered TLBs
2018-11-29Add more advanced SafeArray tests (#21063)Jeremy Koritzinsky1-0/+4
* Port simple SafeArray tests over from .NET Framework's test suite. * Clean up native calling conventions. * Add basic field array -> field SAFEARRAY* tests. * Fix some hiding stdcall calling convention decorators. * PR Feedback. * Rewrite native part of SafeArray tests * Wrote the managed side of the tests. Non-passing ones are currently commented out. * Fix up tests and enable marshalling a string[] as a SAFEARRAY of LPSTR or LPWSTR. * Add blittable records test with a return parameter. * Add returning non-blittable record safearray test. * Fix which typedef we're using * Clean up * Fix/cleanup RecordNative * Replace "" with <> for platformdefines.h include. * Use macro for calling convention. * PR Feedback. * Remove residual "Helpers.h" include. * Fix remaining incorrect calling conventions. * One more calling convention fix.
2018-11-28Switch to preemptive mode before calling COM (#21238)Jan Kotas1-72/+81
* Switch to preemptive mode before calling COM COM can call back the runtime via RCW that leads to contract violations Fixes #20373 * Fix one places
2018-07-17Move Decimal to shared (#18948)Pent Ploompuu1-15/+3
* Move Decimal to shared * Remove DecimalCanonicalize{Internal}
2018-06-03Warnings cleanup (#18260)Robin Sue1-0/+1
* Cleanup all disabled warnings that do not trigger * Fix warning about line continuation in single line comment * Eliminiate all unreferenced local variables and reenable warning
2018-03-21null terminate the converted LPStr at the right index (#17079)Jeff Schwartz1-2/+3
2018-01-21Remove AppDomainLeaks configuration option (#15956)antofik1-16/+0
Removed all usages of AppDomainLeaks configuration option and CHECK_APP_DOMAIN_LEAKS feature Fix #12094
2017-08-07Cleanup code access security from the unmanaged runtime (#13241)Jan Kotas1-25/+0
2017-02-10Remove always defined FEATURE_CORECLRdanmosemsft1-6/+0
2016-07-07MarshalAs(UnManaged.ByValArray) overflow.Tijoy Tom Kalathiparambil1-55/+54
For non-blittable embedded array in structs we ignored the SizeConst and wrote past the buffer when number of elementsin the arrayis greater than SizeConst.Fix is to truncate the array at SizeConst MarshalAs(UnManaged.ByValTStr) Very subtle case when the SizeConst == Number of bytes required to marshal , we write the null one past the buffer.This happens only on machine with non-english (multi-byte) locale as default. Fix is to check the number of bytes required and truncate the correctly leaving space for the terminating null.
2016-04-11ByValArray marshaling support is implemented in OleVariant.cpp (which ↵Yi Zhang (CLR)1-2/+9
actually implements both regular array marshalling and variant marshalling) and is incorrectly #ifdef-ed out under x-plat. Fix by only #ifdef the COM interop VARIANT part. Re-enable ByValArray test as well.
2016-02-01Fix OACR errors for ProjectKdotnet-bot1-1/+1
[tfs-changeset: 1570939]
2016-01-27Update license headersdotnet-bot1-4/+3
2015-01-30Initial commit to populate CoreCLR repo dotnet-bot1-0/+5272
[tfs-changeset: 1407945]