CodePorting.Native Cs2Cpp 19.7
Major Features
- System::Globalization subsystem was reworked for better match to .NET implementation.
- Multiple previously unsupported encodings were added into System::Text submodule.
- ValueSource NUnit attribute was supported by porter.
Minor fixes
- The Initializer list for user IList-implementing classes were supported in porter.
- Test methods alignment issues were fixed in ported code.
- A regression was fixed which was introduced in 19.6 version which broke porting of initializer lists with braces inside them.
- ‘generatedlist_template’ porter option was supported by porter making it possible to enlist generated files.
- Most VS warnings of /W4 level were fixed or suppressed for both library and ported code.
- Imaging::PixelFormat::Format32bppPArgb value was supported by multiple drawing algorithms.
- Porting of IntPtr initializers was fixed.
- System::Compare() method was fixed for NaN values.
- Behavior of Fix System::Decimal::Round() was brought in line with .Net one.
- Decimal behavior for courner cases (e. g. porting direct initialization) was fixed.
- System::BitConverter::Int64BitsToDouble() method was supported.
- System::Threading::ThreadInterruptedException class was supported.
- Metadata was added for System::Drawing::Imaging::PixelFormat enum.
- Assert.Inconclusive NUnit method was supported by porter.
- Some headers unrelated to .Net classes were dropped from package.
Please consult respective sections of our wiki for more information.
Full List of Issues Covering all Changes in this Release
Key | Summary | Category |
---|---|---|
WORDSCPP-787 | Add missing encodings to ICU and asposecpplib | Task |
TASKSCPP-1237 | Implement NUnits’s Assert.Inconclusive method | Task |
TASKSCPP-1142 | Implement ValueSource source at parametrized NUnit test fixtures | Task |
CSPORTCPP-2729 | Support CsPorter for C++ | Task |
WORDSCPP-664 | Rework System::Globalization subsystem | Task |
PDFCPP-1005 | Introduce PixelFormat::Format32bppPArgb | Task |
PDFCPP-1004 | Fix CsToCppPorter IntPtr with initializer | Task |
CSPORTCPP-2018 | Get rid of ‘system on zip’ dependency | Task |
TASKSCPP-1189 | Ported from NUnit google-tests has wrongly aligned bodies, that makes ported code uncomfortable for reading. | Enhancement |
CSPORTCPP-2554 | Raise VS warning level | Enhancement |
TASKSCPP-1197 | Fix tests with failures on Decimal’s accuracy | Bug |
TASKSCPP-1214 | Fix System::Decimal::Round(…) incorrect behaviour | Bug |
WORDSCPP-799 | TestCustomersCharts.TestJira12406 failed with STL assertion “invalid comparator” | Bug |
TASKSCPP-1188 | Porter quietly ignores initializer list for IList implementors. | Bug |
Public API and Backward Incompatible Changes
- Classes inside System::Globalization namespace was reworked. Implementation-specific details not matching The .NET public API may have been removed.
- include/zip headers were dropped as they are not required for ported code to work.