- Issue beltoforion#161: Add HasFun function added to query the existance of a function under a given name.
- Issue beltoforion#93: Add cotangent function
- Issue beltoforion#167: Add additional checks to eliminate possibility of access violations due to malformed expressions. I dont have test cases and do not know whether this issue was exploitable at all but fixing them made sense.
- Issue beltoforion#168: ClearConst() now also clears the internal string variable buffer (m_vStringVarBuf) to keep it in sync with the name-to-index map (m_StrVarDef). Previously stale entries accumulated across repeated ClearConst() calls.
- Issue beltoforion#160: Refacturing for better source code compatibility with Fil-C; needlessly "clever" code replaced with a more maintainable version.
- added a rnd() function
- Fix problem with IntelLLVM fast math
- fix for beltoforion#127 minimum required cmake version set to 3.15
- fix for beltoforion#132 example1 fails to builds on Windows with mingw gcc
- fix for beltoforion#147 Build failed with MSVC/C++20
Maintainance Release with updates of the cmake build system.
- cmake is using OpenMP target and setting _UNICODE preprocessor definition
- fix for beltoforion#117 (sprintf deprecated)
To read the full documentation please go to: http://beltoforion.de/en/muparser.
See Install.txt for installation
The following new issues, discovered by oss-fuzz are fixed:
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24167 (Abrt)
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24355 (Heap-buffer-overflow READ 8)
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25402 (Heap-buffer-overflow READ 8)
- Fixed a couple of issues for building the C-Interface (muParserDLL.cpp/.h) with wide character support.
- fix for beltoforion#93
- fix for beltoforion#94
- fix for beltoforion#110; new expression size limit is 20000
- Visual Studio: Disabled compiler warning 26812 (Prefer 'enum class' over 'enum') Use of plain old enums has not been deprecated and only MSVC is complaining.
- Visual Studio: Disabled compiler warning 4251 (... needs to have dll-interface to be used by clients of class ...) For technical reason the DLL contains the class API and the DLL API. Just do not use the class API if you intent to share the dll accross windows versions. (The same is true for Linux but distributions do compile each application against their own library version anyway)
- Adding manual definitions to avoid potential issues with MSVC
- Adding missing overrides
- Added a new option "-DENABLE_WIDE_CHAR" to CMake for building muparser with wide character support
- export muparser targets, such that client projects can import it using find_package() (beltoforion#81 (comment))
