Releases: Sigmyne/xchange
v1.1.2
Maintenance release with improved portability (esp. Windows, MacOS, and BSD). It also enables ports to vcpkg and Homebrew (coming very soon...).
Fixed
- #23: Removed unneeded includes of UNIX-specific
unistd.h(blocking portability).
Added
-
#23: Portability to Windows, MacOS, and BSD.
-
#23: CMake build configuration, alongside the GNU make config.
-
#23: New GitHub Actions workflows for multi-platform checks.
Changed
v1.1.1
v1.1.0
Minor feature release with bug fixes.
Fixed
-
#15:
xPrintFloat()printed an extra digit, which would appear as a 'rounding error' in decimal representations. -
#16: Width detection of platform-specific built-in integer types (i.e.,
short,int,long, andlong long).
The previous implementation includedstdint.hwith__STDC_LIMIT_MACROSdefined. However, if the application
source, then includedstdint.hbeforexchange.h, then the fixed-width integer limits were left undefined. As
a result, we no longer rely onstdint.hproviding these limits.
Added
xParseFloat()to parse floats without rounding errors that might result if parsing asdoubleand then casting
asfloat.
v1.1.0-rc1
Minor feature release with bug fixes.
Fixed
-
#15:
xPrintFloat()printed an extra digit, which would appear as a 'rounding error' in decimal representations. -
Width detection of platform-specific built-in integer types (i.e.,
short,int,long, andlong long). The previous implementation includedstdint.hwith__STDC_LIMIT_MACROSdefined. However, if the application source, then includedstdint.hbeforexchange.h, then the fixed-width integer limits were left undefined. As a result, we no longer rely onstdint.hproviding these limits.
Added
xParseFloat()to parse floats without rounding errors that might result if parsing asdoubleand then casting asfloat.
v1.0.1
Fixed
-
Handling of serialized strings in
xClearField()andxCopyOfField(). -
Handling of heterogeneous arrays (type
X_FIELD) inxCopyOfField().
Added
xDestroyLookupAndData()to destroy a lookup table including all the data that was referenced inside it.
Changed
xCreateField()to treatX_RAWtypes always as scalars, ignoring the dimensions provided.