summaryrefslogtreecommitdiff
path: root/src/utilcode/sstring.cpp
AgeCommit message (Collapse)AuthorFilesLines
2019-05-24Delete FEATURE_USE_LCID (#24767)Jan Kotas1-4/+0
Never defined and obsolete
2019-05-17Delete unnecessary locale arguments (#24624)Jan Kotas1-72/+36
Everything in the runtime should use Invariant culture. It is not necessary to pass the locale arguments around.
2019-05-16Add support for invariant casing in PAL (#24597)Michal Strehovský1-2/+12
unicodedata.cpp based on UnicodeData.txt v11.0.
2019-01-23Remove all traces of FEATURE_STACK_PROBE. (#22149)Filip Navara1-1/+0
2018-03-19Delete unused downlevel globalization support (#17022)Jan Kotas1-2/+1
Delete ENABLE_DOWNLEVEL_FOR_NLS and everything under it
2016-12-23Remove all usage of vsnprintf (#8709)Jan Vorlicek1-1/+1
This change removes all usages of vsnprintf and modifies runtime to not to use vsnprintf or _vsnprintf I've also fixed two issues in PAL TRACE function string format parameters that caused crashes when I was trying to run all PAL tests with PAL tracing enabled.
2016-11-21Remove unsafe banned functions (#8162)Jan Vorlicek1-2/+2
This change removes _snwprintf, _snprintf and _vsnwprintf usage from CoreCLR and their implementations from PAL. PAL exposes their secure variants instead and CoreCLR now uses those instead. I have also removed the StringCchPrintfA/W, StringCchVPrintfA/W, StringCbVPrintfA/W, StringCbPrintfA/W, StringCbPrintfExA/W, StringCchVPrintfExA/W, StringCbVPrintfExA/W and StringCchPrintfExA/W replaced their usage by the secure variants of the sprintf functions, since they were used at only few places and implementing all of the variants using the secure sprintf variants would be a hassle. I also needed to fix a missing support for size modifiers for %p formatting character and for wide characters / strings in the secure sprintf functions that was revealed by the PAL tests. I have also removed a bunch of PAL tests that were using %n formatting character which was not implemented since it is considered unsafe and translated PAL tests that were using the removed functions to use the safe variants of those.
2016-01-27Update license headersdotnet-bot1-4/+3
2015-02-09Fix build break with minimal Windows OS CRTJan Kotas1-0/+5
va_copy is not available in the minimal Windows OS CRT [tfs-changeset: 1412529]
2015-02-07va_arg can modify the va_list according to the specificationGeoff Norton1-8/+23
SString will attempt to use va_list multiple times in the scenario where the target buffer is not large enough. On platforms like OSX, va_arg modifies the va_list, making these re-attempts overread and fault. The solution is to va_copy the va_list prior to use, to ensure the original is maintained for future use.
2015-01-30Initial commit to populate CoreCLR repo dotnet-bot1-0/+2871
[tfs-changeset: 1407945]