Skip to content

Releases: BerkeleyLab/julienne

Fix and improve assertions

21 Feb 20:09
6c8f40c
Compare
Choose a tag to compare

This release

  1. Works around an Assert 2.0.1 issue that prevents a procedure containing an assertion from having a variable named string.
  2. Converts several file name extensions to .F90 so that most compilers will automatically preprocess such files.
  3. Switches all assertions to use the new Assert 2.0 macros such as call_assert and call_assert_diagnose to facilitate the complete removal of the assertions by the preprocessor when the ASSERTIONS macro is not set (i.e., when the compiler flag -DASSERTIONS is not present.

What's Changed

Full Changelog: 1.8.2...1.8.3

1.8.1 Update Assert dependency URL in fpm.toml

14 Feb 21:04
3f6dac6
Compare
Choose a tag to compare

What's Changed

  • fix(fpm): update Assert URL to berkeleylab by @rouson in #39

Full Changelog: 1.8.0...1.8.1

1.8.0 Support Intel ifx compiler

06 Feb 03:49
0b83544
Compare
Choose a tag to compare

This release

  • Fixes some compiler-dependent code in the test suite so that all tests pass with the Intel ifx compiler and
  • Works around a gfortran 14.2.0 issue and thereby reduces to one the number of checks that must be disabled with gfortran.

What's Changed

  • Update dependency Assert to 2.0.1 by @rouson in #33
  • Fix: work around gfortran 14.2.0 bug by @rouson in #35
  • test(string_t): fix line continuation by @rouson in #36
  • Fix edit descriptors and add ifx build command to README.md by @rouson in #37

Full Changelog: 1.7.0...1.8.0

String_t construction from logical and complex types

06 Jan 07:44
75d5945
Compare
Choose a tag to compare

What's Changed

  • Feature: construct string_t objects from logical & complex arguments by @rouson in #30
  • Documentation: Fix link to example directory in README by @ktras in #31
  • Testing: temporary test-suite workaround for NAG compiler by @rouson in #32

Full Changelog: 1.6.0...1.7.0

Diagnostic output, test-suite example, and UML diagrams

02 Jan 16:06
d379d91
Compare
Choose a tag to compare

What's New

  • A capability for producing diagnostic output when a test fails. 🩹 🤕
  • An example test suite demonstrating the use of diagnostic in a test failure. 🩺
  • A doc/uml/ subdirectory containing UML class and sequence diagrams describing the example test suite. 📖

Executing fpm run --example main runs the new example test suite.

Changelog Summary

  • Add unit tests for test_description_t and simplify the derived type definition by @rouson in #27
  • Feature: produce diagnostic output for test failures by @rouson in #28

Full Changelog: 1.5.4...1.6.0

Improve test coverage and robustness

19 Dec 06:55
0be1298
Compare
Choose a tag to compare

This release

  1. Replaces the previously fragile unit tests for the command_line_t type with tests that no longer require launching an fpm subprocess via execute_command_line and checking that child process's exit status.
  2. Improves test output: if the flags for running the command_line_t tests are not detected in the fpm test command, the main test program prints instructions for running the command_line_t tests .
  3. Updates the CI testing from macOS 12 to the GitHub CI-supported version 13.
  4. Adds the.smod generated submodule file extensions to the .gitignore file.
  5. Fixes some issues that led to crashes when searched-for flags were not present or the flag value is not present.
  6. Adds command_line_t unit tests.

What's Changed

  • Improve test coverage and robustness by @rouson in #26

Full Changelog: 1.5.3...1.5.4

Fix: eliminate line wrapping in file_t write_lines procedure

27 Oct 17:49
814fa6a
Compare
Choose a tag to compare

What's Changed

  • Fix: eliminate line wrap in file_t write_lines by @rouson in #25

Full Changelog: 1.5.2...1.5.3

Fix: eliminate line wrapping in test-subject report output

27 Oct 16:09
Compare
Choose a tag to compare

This release replaces list-directed printing of the test_t subject with formatted printing to work around flang's relatively short wrapping length for list-directed printing.

1.5.0

27 Oct 04:02
ed308b1
Compare
Choose a tag to compare

This release

  1. A unary operator(.csv.) with a string_t result encapsulating a comma-separated value (CSV) created from
    a. a string_t array or
    b. a character array,
  2. A binary operator(.sv.) with a string_t result encapsulating a CSV created from left- and right-hand operands:
    a. a string_t array and a string_t separator or
    b. a string_t array and a character separator.
    c. a character array and a character separator
    d. a character array and a string_t separator
  3. A unit test that verifies the following identities:
"a,bc,def" == .csv. [string_t("a"), string_t("bc"), string_t("def")]
"abc,def"  == .csv. ["abc", "def"]
    
"do|re|mi" == (string_t(["do", "re", "mi"])         .sv.          "|" )
"dore|mi"  == (([string_t("dore"), string_t("mi")]) .sv. string_t("|"))
"do|re|mi" == (         ["do", "re", "mi"]          .sv.          "|" )
"do|re|mi" == (         ["do", "re", "mi"]          .sv. string_t("|"))
  1. A bracket type-bound procedure and a test verifying the following identities:
scalar%bracket()           == string_t("[do re mi]") &
all(array%bracket()        == [string_t("[do]"), string_t("[re]"), string_t("[mi]")]) &
all(array%bracket('"')     == [string_t('"do"'), string_t('"re"'), string_t('"mi"')]) &
all(array%bracket("{","}") == [string_t('{do}'), string_t('{re}'), string_t('{mi}')]) &
  1. A get_string_t_array specific procedure supporting the generic get_json_value binding and test verifying the following identities:
associate(json_line  => string_t('"lead singer" : ["stevie", "ray", "vaughn"],'))
  all( json_line%get_json_value(key=string_t("lead singer"), mold=[string_t::]) == [string_t("stevie"), string_t("ray"), string_t("vaughn")]))
end associate

What's Changed

  • Features: string bracketing, CSV operators, and JSON array value reader by @rouson in #23

Full Changelog: 1.4.0...1.5.0

Feature: get_json_value reads string-array value from key/value pair

25 Oct 05:17
5ab3443
Compare
Choose a tag to compare

What's Changed

  • Read string_t-array value from JSON key/value pair by @rouson in #22

Full Changelog: 1.3.1...1.4.0