summaryrefslogtreecommitdiff
path: root/clr.defines.targets
AgeCommit message (Collapse)AuthorFilesLines
2019-03-18Add Utf8String skeleton (#23209)Levi Broderick1-0/+1
Utf8String is an experimental type that is string-like (heap-allocated, immutable, variable-length, null-terminated) but whose inner representation is UTF-8, not UTF-16. This is a skeleton implementation of the basic API shape. The ecosystem of APIs has not yet been built around it. All Utf8String-related code is currently surrounded by ifdefs to allow easy identification and removal from release branches.
2019-03-13Enable FeatureDefaultInterfaces unconditionally (#23225)Michal Strehovský1-1/+1
Fixes #22940.
2019-02-22Enable FEATURE_BASICFREEZE (#22776)Mukul Sabharwal1-0/+1
2019-02-15Set the 'PLATFORM_OSX' constant during OSX build (#22639)Aaron Robinson1-0/+1
* Set the 'PLATFORM_OSX' constant during OSX build * Remove PLATFORM_OSX define from SPCL
2019-01-03Adds portable version of EncodingTable (#21735)Marek Safar1-1/+0
* Adds portable version of EncodingTable Most of the implementation is extracted from CoreRT * Use string comparer directly * Remove no longer used COMNlsInfo * Adds localization support * Removes FeatureCoreFxGlobalization configuration * Remove redudant encodings look up from GetEncoding * Keep Hashtable for nameToCodePage as it does not lock on read * Replace locked dictionary lookup with short switch * Include comment with msbuild task link used to generate the data file
2018-11-29Enable type equivalence (#21265)Aaron Robinson1-0/+1
* Enable TypeEquivalence feature for Windows platform * Basic test - verified test exercises TypeEquivalence code paths
2018-08-23Enable unloading of AssemblyLoadContext (#18476)Jan Vorlicek1-1/+1
Enable assembly unloading * Allow PInvoke methods on collectible assemblies * Fix test unloadability Several hundreds of tests were using Helper class that created GCHandle, but never freed it. That prevented unloading of those tests. The change modifies the Helper class to keep the handle in a finalizable object. Several GCHandle related tests were not freeing the GCHandle they allocated, so this change adds freeing them to enable the unloading. * Add missing error messages to the resources * Fix shuffle thunk cache for unloadability * Add GetLoaderAllocator to ICLRPrivBinder
2018-07-22Enable profiler attach on Windows (#18762)Sung Yoon Whang1-1/+1
* try building clr with prof attach enabled * define ICLRProfiling interface * profattach.dll now builds with CreateCLRProfiling export * remove try catch * basic attach working now * build with profiler attach feature only on win * Fix linux build * cleanup * more cleanup * more cleanup * remove profattach dll * remove useless unix exports in mscorwks * remove profattach from dll cmakelist * Add back ifdef * cleanup * change LINUX to UNIX in clrdefinitions * Fix broken checked builds * Remove CLRProfilingClassFactory and metadata.h include from profattach.cpp * remove useless extern C * Add this back in * adding ifndef DACCESS_COMPILE * Try building with FWD define ICLRProfiling interface * Test commit - removing additional definition from metahost.h to see if this will pass CI runs * Address pr comments
2017-12-21Revert "Enable EventPipe across Unix and Windows (#14772)" (#15609)Victor "Nate" Graf1-1/+0
This reverts commit 7524d72d4f0f634fe5407280b83c25181dc8c556.
2017-12-20Enable EventPipe across Unix and Windows (#14772)Victor "Nate" Graf1-0/+1
* [squashed] most work complete to enable EventPipe on Windows * Eventpipe now builds on Windows * Ensure evevntpipe is intialized on Windows * Resolve the location of python from build.cmd * Ensure eventing files are generated when needed * moving linkage declaration to cmake * create new event from constructor * enable FEATURE_EVENT_TRACE and FEATURE_PERF_TRACE everywhere * [WIP] checkpoint in fixing contarct errors * add another possible python location * Fix double delete bug in EventPipeConfiguration destructor * Fix typo in function name * Revert changes to .gitgnore * bump to netstandard1.6 in preperation for new version of TraceEvent * Revert changes to groovy files * revert changes to perf-prep scripts * add common.h and use nothrow * Fix issue which was causing double delete of configprovider * Add new test utilizing TraceEvent * Remove accidentally added local directory reference * Add comment to explain the addition of misc/tracepointprovider.cpp * Add back sys.exit(0) and refactor * Change conditional to be more direct * Better handle NULL config * Initialize m_deleteDefered * Eliminate obsolete field * Fix spelling error * Fix nits * Make smaple progiler timing functions easier to read * Move projects back to netstandard1.4 * Incomplete improvements to EventPipeTrace test * Add event integrity checks to test * Clean up some left over code * Add EventSource based test * Remove unused PAL tests on Windows * Fix Linux build breaks * Minor changes to CMake files * Remove //HACK for hack that was previously removed * Fix formatting and negate a #ifdef * Add conditional to ensure PERFTRACING is not enabled without EVENT_TRACE * Take lock on EventPipeProvider and EventPipeConfiguration destruction * Load winmm.dll at runtime * Change function name and compile conditions * Move typedef into #ifndef * Use the correct config in setup * Change lifecycle managment of EventPipeConfiguration's configuration provider * Enable EventPipe tests pri0 and disable broken tests * Replace python3 only error with python2 compatable one * Make common.csproj build pri0 * Change TraceEvent version to 2.0.2 to match published verison * Address cross build failure * Remove use of undefined variable * Add crossgen fix to .cmd * Use more specific types to avoid marshalling errors * Use Assert-style statements and remove one check * Fix cross arch build * Fix flipped branch * Bring build.cmd changes to build.sh * Fix cmake writing * Revert "Bring build.cmd changes to build.sh" This reverts commit 893c6492548d8bc9859ebba5b1b810aa630fac63. * remove stdlib.h * Fix out of order null check
2017-12-05Put default interfaces behind a define (#15358)Michal Strehovský1-0/+7
This is needed so that we can turn default interfaces off in release branches. I can't find a central location where the PRERELEASE flag could be defined because native and managed builds seem to be completely disconnected. To limit the risk of only flipping the flag in one build type, I'm adding a test that verifies being able to load an interface with default methods matches what RuntimeFeature says.
2017-08-31Cleanup CoreLib defines (#13713)Jan Kotas1-18/+2
2017-08-27Remove always defined FEATURE_RANDOMIZE_STRING_HASHING define (#13491)Dan Moseley1-1/+0
* Remove always defined FEATURE_RANDOMIZE_STRING_HASHING * Fully remove randomized hashing * Leftovers * Remove additionalEntropy from HashSortKey as it was always 0 * Remove additionalEntropy from HashString as it was always 0 * Change to private, as not in fact called by reflection in .NET Core * Fix build break due to FCDECLn * Revert removed QCALL * Remove unused strlen parameter
2017-07-24Add the runtime code versioning featurenoahfalk1-0/+2
This makes tiered compilation work properly with profiler ReJIT, and positions the runtime to integrate other versioning related features together in the future. See the newly added code-versioning design-doc in this commit for more information. Breaking changes for profilers: See code-versioning-profiler-breaking-changes.md for more details.
2017-05-17Switch multicast delegate stub on Windows x64 to use stubs-as-il (#11624)Jan Kotas1-0/+1
Fixes #11611. The old hand generated assembly path did not work well for structs passed by reference.
2017-05-10Re-Factor EventSource to Support Writing to EventPipe (#11435)Brian Robbins1-0/+1
Re-Factor EventSource to Support Writing to EventPipe.
2017-05-05Remove ArrayList (#11426)Justin Van Patten1-1/+0
Also cleanup FEATURE_NONGENERIC_COLLECTIONS while on it.
2017-04-10CoreLib Build System portability updates (#10839)Rew1-0/+1
Updates to corelib project file for target specific includes. Intended to ease maintainability of existing targets and clarify necessary work for new targets.
2017-04-10Delete FEATURE_READYTORUN define for CoreLib build (#10840)Jan Kotas1-74/+0
This define does not have much value for the CoreLib build, and it was missing on arm64. Also deleted dead props and targets files left over from the legacy build
2017-03-29Tiered Compilation step 1noahfalk1-0/+1
Tiered compilation is a new feature we are experimenting with that aims to improve startup times. Initially we jit methods non-optimized, then switch to an optimized version once the method has been called a number of times. More details about the current feature operation are in the comments of TieredCompilation.cpp. This is only the first step in a longer process building the feature. The primary goal for now is to avoid regressing any runtime behavior in the shipping configuration in which the complus variable is OFF, while putting enough code in place that we can measure performance in the daily builds and make incremental progress visible to collaborators and reviewers. The design of the TieredCompilationManager is likely to change substantively, and the call counter may also change.
2017-02-15Other props stragglers for never defined symbolsdanmosemsft1-14/+0
2017-02-15More FEATURE_WIN_DB_APPCOMPATdanmosemsft1-2/+0
2017-02-15More FEATURE_ISOSTOREdanmosemsft1-4/+0
2017-02-14Remove never defined FEATURE_REMOTINGdanmosemsft1-2/+0
2017-02-14Remove never defined FEATURE_REFLECTION_ONLY_LOADdanmosemsft1-2/+0
2017-02-12Remove never defined FEATURE_FUSIONdanmosemsft1-2/+0
2017-02-12Remove never defined FEATURE_COMINTEROP_TLB_SUPPORT and files that require ↵danmosemsft1-1/+0
it to be defined
2017-02-12Remove never defined FEATURE_COMINTEROP_REGISTRATIONdanmosemsft1-1/+0
2017-02-12Remove never defined FEATURE_CLICKONCEdanmosemsft1-2/+0
2017-02-12Remove defined but wrapping dead code FEATURE_SYNTHETIC_CULTURESdanmosemsft1-2/+0
2017-02-12Remove never used FEATURE_MERGE_CULTURE_SUPPORT_AND_ENGINEdanmosemsft1-1/+0
2017-02-04Remove stripped code (#9269)Dan Moseley1-2/+0
Delete essentially all the code that the BCL rewriter is removing. Added back some code it shouldn't have been removing, eg., serialization code, debugger visualizers, and some changing of 'protected' to 'protected internal'
2017-01-27Revert `Remove FEATURE_MANAGED_ETW_CHANNELS`danmosemsft1-0/+2
2017-01-23Remove disabled FEATURE_APTCAdanmosemsft1-2/+0
2017-01-23Remove disabled FEATURE_APPDOMAINMANAGER_INITOPTIONSdanmosemsft1-2/+0
2017-01-23Remove disabled FEATURE_APPX_BINDERdanmosemsft1-2/+0
2017-01-23Remove disabled FEATURE_X509_SECURESTRINGSdanmosemsft1-2/+0
2017-01-23Remove disabled FEATURE_X509danmosemsft1-2/+0
2017-01-23Remove disabled FEATURE_SERIALIZATIONdanmosemsft1-2/+0
2017-01-23Remove disabled FEATURE_RWLOCKdanmosemsft1-2/+0
2017-01-23Remove disabled FEATURE_PLSdanmosemsft1-2/+0
2017-01-23Remove disabled FEATURE_NORM_IDNA_ONLYdanmosemsft1-2/+0
2017-01-23Remove disabled FEATURE_METHOD_RENTALdanmosemsft1-2/+0
2017-01-23Remove disabled FEATURE_LEAK_CULTURE_INFOdanmosemsft1-2/+0
2017-01-23Remove disabled FEATURE_CRYPTOdanmosemsft1-2/+0
2017-01-23Remove disabled FEATURE_COMPRESSEDSTACKdanmosemsft1-2/+0
2017-01-23Remove disabled FEATURE_COMINTEROP_WINRT_DESKTOP_HOSTdanmosemsft1-2/+0
2017-01-23Remove disabled FEATURE_COMINTEROP_MANAGED_ACTIVATIONdanmosemsft1-2/+0
2017-01-23Remove disabled FEATURE_CODEPAGES_FILEdanmosemsft1-2/+0
2017-01-23Disable and remove FEATURE_APPDOMAIN_RESOURCE_MONITORING. This is a behavior ↵danmosemsft1-2/+0
change