Skip to content

Releases: Goddard-Fortran-Ecosystem/gFTL

Minor fix to support documentation tool

28 Jun 12:36
d8e4edb
Compare
Choose a tag to compare

Fixed

  • Prevented some macro redefinitions in v1/map.inc that caused warning messages and broke documentation tool on downstream projects.

Cleanup, compiler workarounds and minor bugfix

31 May 20:25
012c864
Compare
Choose a tag to compare

Changed

  • Interfaces (intents) to map::at() and ordered_map::at(). The self object should be INTENT(IN) for these interfaces.
  • Updated GitHub Actions
    • OSs
      • Remove macos-10.15
      • Add ubuntu-22.04 and macos-12
    • Compilers
    • Removed gfortran-8
    • Added gfortran-11
    • Added gfortran-12 (for ubuntu-22.04)

Fixed

  • Fixed bug in vector::insert_range() (needs a unit test)

  • Added TARGET to some dummy arguments to prevent NAG from doing copy-in / copy-out. Seems to
    have been causing a memory corruption issue with the yaFyaml package, but might indicate a bug
    in yaFyaml (or gFTL).

  • Fixed non-standard-conforming mismatched integer KIND in deque implementation.

  • Fixed misspelling of SUCCESS

Removed

  • Various unused local variables that were causing annoying compiler warnings.

  • Reactivated unit tests (involving Foo) that were deactivated as a workaround for some NAG 7.1 compiler releases.

Bugfixes for yaFyaml use case

08 May 14:41
5a9a057
Compare
Choose a tag to compare

Fixed

  • Patched (again) such that the assignment operator for Set invokes a deep copy. Previously I mistakenly thought that since the data structure now uses ALLOCATABLE components that Fortran intrinsic assignment would suffice. But forgot that the "parent" component is still a pointer. Failures from this assumption were subtle as often parents would point to correctly looking copies outside the intended data structure.

  • Missing RECURSIVE declarations on some procedures. The issue arises for YAML data structures where a map may contain items of the same map type and similarly for vectors.

Added

  • A verify() method was added to several containers to aid in debugging some of the problems mentioned above. Users of gFTL should not use this method - its interface may change and the procedure may even disappear in later releases.

Bugfix for containers based on sets

24 Apr 21:54
31a36ea
Compare
Choose a tag to compare

Fixed

  • Corrected previous commit that eliminated the non intrinsic
    assignment for set, map, and ordered_map containers. Just had not
    thought through why these are needed: internal pointers are not
    correctly established by intrinsic assignment. I was too focused on
    the nice property that allocatable components ar correctly
    deallocated. Use cases would sometimes work, because the compiler
    was avoiding copies when using constructors.

v1.7.0: Merge pull request #167 from Goddard-Fortran-Ecosystem/develop

08 Apr 20:45
2ad306c
Compare
Choose a tag to compare

Changed

  • Eliminated type-bound overload of assignment(=) for set, map, and ordered_map. It was found that
    it caused problems with ifort 2021.5.0 and not needed by other compilers after other recent changes.

  • Also made deep-copy RECURSIVE, as this is needed in the yaFyaml use
    case. RECURSIVE is of course now default in Fortran, but not all compilers
    have implemented this consistently at this time.

Fixed missing RECURSIVE

08 Apr 18:27
c5bc3fd
Compare
Choose a tag to compare

Some compilers still need this to handle recursive deallocation of containers. (yaFyaml)

Port to NVHPC compiler

23 Mar 16:29
2453d80
Compare
Choose a tag to compare

[1.6.0] - 2022-03-16

Added

  • NVHPC compiler support

Removed

  • Removed PGI.mk and NAG.mk files which seem to be unneeded cruft

Minor changes/fixes

07 Mar 16:08
b62dc9d
Compare
Choose a tag to compare

Changed

  • On Windows M4 program is now downloaded from SourceForge during CMake configuration
    if it is not found.

Fixed

  • Some procedures for map and ordered_map had not been implemented and are now added in. This was an oversight and thus being treated as a bug rather than a feature.

Minor bug fixes

10 Jan 20:23
898bfcc
Compare
Choose a tag to compare

Fixed

  • Minor bug in Pair template that is exposed under certain combinations
    of key/value types. If key has "==" but "value" does not, then some
    local variable declarations are skipped that are needed.

  • Declarion of Ptr argument in Pointer template. Still not ready
    for production use though.

Changed

  • On Windows M4 program is now downloaded from SourceForge during CMake configuration
    if it is not found.

Minor fix to annoying compiler warnings

16 Nov 16:22
709c211
Compare
Choose a tag to compare
Merge pull request #151 from Goddard-Fortran-Ecosystem/fix-510

Fix typo in undef'ing `__algorithm_iterator` in map