CodePorting.Native Cs2Cpp 22.5
Major Features
- The WeakReference class was completely reworked. The template form was supported.
Minor fixes
- The license check issue was fixed. The porter’s output on invalid license was fixed.
- The ‘NULL’ token was added into the restricted lists. If used as an identifier, it is renamed by porter to avoid compilation issues.
- The porter now generates neccessary casting when referencing the overloaded methods.
- The ‘is’ operator is now ported properly for string and integer literals.
- The operators for the System::Nullable class were reworked so they no longer break unrelated code. The unused assignment operator was dropped from the System::Random class.
- The porter now generates the correct inclusion code for accessing the baseclass’es delegates.
- The porter now generates the neccessary global scope references when translating the ‘new’ operators.
- The translation of the ‘string plus null’ expression was fixed.
Please consult respective sections of our wiki for more information.
Full List of Issues Covering all Changes in this Release
Key | Summary | Category |
---|---|---|
CSPORTCPP-5093 | Implement template class System::WeakReference | Enhancement |
CSPORTCPP-5098 | Support CodePorting.Native Cs2Cpp | Task |
CSPORTCPP-5111 | Fix invalid variable name - NULL | Enhancement |
CSPORTCPP-5124 | Add casting for an overloaded static event handler | Bug |
CSPORTCPP-5057 | Fix “is” operator for literals | Bug |
CSPORTCPP-5019 | Check if our operators potentially break any code | Investigation |
PDFCPP-1854 | Casting to base class when referencing delegates | Task |
CSPORTCPP-5149 | Fix a compile error in SameGlobalTypeMember | Bug |
PDFCPP-1865 | Incorrect translation (“string” + null) expression | Bug |
Public API and Backward Incompatible Changes
- The supported glibc version will be changed in the upcoming releases.
- The product will be renamed in the next release. This includes Nuget package naming, DLL and lib files naming, lesser API changes, etc.