Repository navigation
The C++20 Windows Compatible Release
Summary
This release makes several major changes warranting the increment of the major version number to 4. morphologica now requires your compiler to support C++20, allowing our use several nice features such as the requires keyword. It switches GL header inclusion over to GLAD (https://github.com/Dav1dde/glad) which makes it possible to support Microsoft Windows as a build platform. This was an involved process and prompted the re-design of the morph::Visual/morph::VisualModel classes to support both multi-context safe GL and single context GL. It adds constexpr-capable maths functions while we await C++26 support/adoption. It includes some maths improvements in morph:vvec, morph::histo, morph::scale and morph::range and some vis improvements in morph::GraphVisual, notably a 'line crossing' feature:
The API has some breaking changes: the struct morph::unicode becomes a namespace (which may require client code changes if you are using morph::unicode). Lastly, if you are querying Visual::readyToFinish you will now need to query with a function call Visual::readyToFinish(). One or two other bool parameters have also changed (e.g. Visual::showCoordArrows).
Special thanks to @rremilian who made massive improvements to the CI actions, these have really improved the development process.
What's Changed
- Adds constexpr_math.h by @sebjameswml in #376
- is Wno-missing-braces stale for clang? by @sebjameswml in #383
- Include rapidxml for schnakenberg recurrentnet by @rremilian in #386
- Improvments to Github workflows by @rremilian in #384
- Auto-cancel redundant pipelines by @rremilian in #399
- Convert to using GLAD for OpenGL header loading by @sebjameswml in #387
- Add Windows workflow by @rremilian in #388
- Fix Windows workflow reference by @rremilian in #404
- Replace OWNED_MODE with an inheritance scheme for morph::Visual by @sebjameswml in #401
- [fix] examples/bootstrap.exe fails by @miyanyan in #407
- Workaround to help this run on Windows by @sebjameswml in #409
- Trying to add caching for vcpkg by @rremilian in #414
- Rearrange inheritance to avoid most #ifdef GLAD_OPTION_GL_MX by @sebjameswml in #405
- Moves boundaries by @sebjameswml in #416
- Rids us of MorphDbg and DBG calls by @sebjameswml in #417
- Adds compiler switches for Visual Studio by @sebjameswml in #419
- Add the other tests in the Windows Workflow by @rremilian in #403
- CoordAxes fixes (crashing issue plus text label placement) by @sebjameswml in #422
- flags c++17 to c++20 by @sebjameswml in #423
- Moves the valgrind suppression file into buildtools by @sebjameswml in #425
- Ordered deconstruction by @sebjameswml in #427
- Force release build on Windows by @sebjameswml in #428
- Adds a program to profile erase-from-std::list by @sebjameswml in #430
- Handles linspace applied to a single element vvec by @sebjameswml in #431
- Enable T{value} * vvec<S> by @sebjameswml in #432
- Adds mat44::scale (plus tweaks) by @sebjameswml in #434
- Quaternion style, trait testing and noexcept by @sebjameswml in #437
- Better handling of unit thresholds by @sebjameswml in #438
- Exceptions removed from range and vec. Reduced in vvec. by @sebjameswml in #436
- Dev/noexcept partial rollback by @sebjameswml in #439
- Marks those functions which can be noexcept with the keyword. by @sebjameswml in #440
- Avoid Wfree-nonheap-object by @sebjameswml in #441
- Dev/histo prop below by @sebjameswml in #442
- Adds Visual::pauseOpen and a demo in the rosenbrock example by @sebjameswml in #443
- Adds a firstlast method to vec and vvec by @sebjameswml in #447
- Dev/graph crossinglines by @sebjameswml in #448
- Adds new exclusion dirs by @sebjameswml in #452
- 451 underscores refactor by @sebjameswml in #453
- 449 refactor the nomx classes by @sebjameswml in #455
- Remove virtual where its not required by @sebjameswml in #456
- Make CI do Qt and WX compilations by @sebjameswml in #458
- Dev/gl defines to remove by @sebjameswml in #459
- Tick numbering bug fixes by @sebjameswml in #461
- Scale a range! by @sebjameswml in #464
- 308 tick numbering again by @sebjameswml in #462
- An idea for a function to set an identity scaling for the morph::scale by @sebjameswml in #446
- Adds scale::null_scaling() by @sebjameswml in #468
- Address nans in vvecs with compile time optional code by @sebjameswml in #466
- stdios flags for HdfData by @sebjameswml in #470
- Adds an append method by @sebjameswml in #474
- Changes unicode from struct to namespace by @sebjameswml in #475
- Shifts the wrap to a template arg, adds a puremaths template arg by @sebjameswml in #471
- morph::flags for options/state in morphvisual by @sebjameswml in #476
New Contributors
- @rremilian made their first contribution in #386
- @miyanyan made their first contribution in #407
Full Changelog: v3.4.4...v4.0
