DataReel 6.4.3 Release Notes
Contents
DataReel 6.4.3 is a bug-fix release of the 6.4 legacy line: the library builds with C++20, and a C++ transition guide shows every example program side by side with a modern C++11, C++17 or C++20 equivalent. The API, the database file format and the gxStream wire format are those of 6.4.2, and everything in RELEASE_NOTES_6.4.2.txt is included. Version 6 is the legacy line: it gets bug fixes and security updates, but no new features. The shared library (Linux makefiles) is built as libdatareel.so.6.4.3.
Changes
- C++20 build: C++20 (P0487R1) removed operator>>(std::istream &, char *), which the UString and UStringw stream input operators used, so the library did not compile with -std=c++20 (src/ustring.cpp). They now read into a 255 byte array. setw() still limits a read to 254 characters, and the behavior is the same with C++17 and C++20. The CMake build still defaults to C++17; set CMAKE_CXX_STANDARD=20 to build the library with C++20.
- C++ transition guide: docs/cpp_transition/index.html maps the 6.x classes and calls (threads, mutexes, conditions, strings, lists, trees, buffers, files, directories, configuration, logs, time) to the C++11, C++17 and C++20 standard library, says which parts stay DataReel (the object database, sockets, TLS, the protocol clients), and lists the differences that need care when porting. One page per example shows the legacy and modern sources side by side (docs/bin/make_transition_html.py makes the pages).
- examples_modern: 82 modern programs cover all 93 source files of examples_threads, examples_general, examples_database and examples_socket. Client and server pairs run both ends in one process on 127.0.0.1, the protocol clients talk to a scripted local server, and every program runs as a self test. examples_modern/ CMakeLists.txt builds them against this library (and the 7.x features with DATAREEL7_FEATURES_DIR); run_modern_tests.sh builds each with every standard from its minimum to C++20 and runs them.
- README.txt, docs/index.html and docs/examples/programs.htm link to the guide. AGENTS.md names DataReel 7.5 as the main release.
Upgrading
No file format or API change. Programs that use UString stream input behave the same. Recompile and relink programs against the 6.4.3 library as with every 6.x release.