diff --git a/CHANGELOG.md b/CHANGELOG.md index da1414d4..38927d7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - +## [1.0.21] - 2024-03-29 +### Added +* Implement a new option `-info-json-dir` (#362) +* Fix DISPLAY/ACCEPT for environment variables (#351) +* Implement a new option `-ext` (#354) +* Implement a new option `-Wcall-params` (#353) +### Miscellaneous +* Improve the maintainability of generate Java files (#361) ## [1.0.20] - 2024-02-28 ### Added * Add command line options diff --git a/ChangeLog b/ChangeLog index 85419584..593f8bae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2024-03-29 OSS Consortium + + * opensource COBOL 4J v1.0.21 released. + 2024-02-28 OSS Consortium * opensource COBOL 4J v1.0.20 released. diff --git a/NEWS b/NEWS index 91015758..be32d638 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,18 @@ NEWS - user visible changes -*- outline -*- ----------------------------------------------------------------------- +* opensource COBOL 4J 1.0.21 + +** New Features + (1) Implement a new option `-info-json-dir` + (2) Fix DISPLAY/ACCEPT for environment variables + (3) Implement a new option `-ext` + (4) Implement a new option `-Wcall-params` +** Miscellaneous + (1) Improve the maintainability of generate Java files + +----------------------------------------------------------------------- + * opensource COBOL 4J 1.0.20 ** New Features diff --git a/README.md b/README.md index 935bc066..5aaa5ebf 100644 --- a/README.md +++ b/README.md @@ -53,9 +53,9 @@ dnf install -y java-21-amazon-corretto-devel gcc make bison flex automake autoco ### Install opensource COBOL 4J ``` -curl -L -o opensourcecobol4j-v1.0.20.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.20.tar.gz -tar zxvf opensourcecobol4j-v1.0.20.tar.gz -cd opensourcecobol4j-1.0.20 +curl -L -o opensourcecobol4j-v1.0.21.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.21.tar.gz +tar zxvf opensourcecobol4j-v1.0.21.tar.gz +cd opensourcecobol4j-1.0.21 ./configure --prefix=/usr/ make sudo make install @@ -72,7 +72,7 @@ In order to check installations of older versions, The docker container for opensource COBOL 4J is available. ```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.20 +docker pull opensourcecobol/opensourcecobol4j:1.0.21 ``` Execute the following commands in order to run the "Hello World" COBOL program. diff --git a/README_JP.md b/README_JP.md index 34ed883d..e35c116f 100644 --- a/README_JP.md +++ b/README_JP.md @@ -23,7 +23,7 @@ opensource COBOL 4J は下記の環境でテストされています. ## インストール -opensource COBOL 4J v1.0.20はUbuntuとAlmaLinuxで動作を確認しています. +opensource COBOL 4J v1.0.21はUbuntuとAlmaLinuxで動作を確認しています. ## 手動インストール @@ -57,9 +57,9 @@ dnf install -y java-21-amazon-corretto-devel gcc make bison flex automake autoco 下記のコマンドを実行する ``` -curl -L -o opensourcecobol4j-v1.0.20.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.20.tar.gz -tar zxvf opensourcecobol4j-v1.0.20.tar.gz -cd opensourcecobol4j-1.0.20 +curl -L -o opensourcecobol4j-v1.0.21.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.21.tar.gz +tar zxvf opensourcecobol4j-v1.0.21.tar.gz +cd opensourcecobol4j-1.0.21 ./configure --prefix=/usr/ make sudo make install @@ -73,10 +73,10 @@ sudo make install ## Dockerによるインストール -opensource COBOL 4J v1.0.20をインストールしたDockerイメージを利用できます. +opensource COBOL 4J v1.0.21をインストールしたDockerイメージを利用できます. ```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.20 +docker pull opensourcecobol/opensourcecobol4j:1.0.21 ``` コンテナ内で下記のコマンドを実行すると、Hello Worldプログラムをコンパイル&実行できる。 diff --git a/configure b/configure index e78169bb..fdfc3b37 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for opensource COBOL 4J 1.0.20. +# Generated by GNU Autoconf 2.71 for opensource COBOL 4J 1.0.21. # # Report bugs to . # @@ -620,9 +620,9 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='opensource COBOL 4J' -PACKAGE_TARNAME='opensource-cobol-4j-1.0.20' -PACKAGE_VERSION='1.0.20' -PACKAGE_STRING='opensource COBOL 4J 1.0.20' +PACKAGE_TARNAME='opensource-cobol-4j-1.0.21' +PACKAGE_VERSION='1.0.21' +PACKAGE_STRING='opensource COBOL 4J 1.0.21' PACKAGE_BUGREPORT='ws-opensource-cobol-contact@osscons.jp' PACKAGE_URL='' @@ -1411,7 +1411,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures opensource COBOL 4J 1.0.20 to adapt to many kinds of systems. +\`configure' configures opensource COBOL 4J 1.0.21 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1461,7 +1461,7 @@ Fine tuning of the installation directories: --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root - [DATAROOTDIR/doc/opensource-cobol-4j-1.0.20] + [DATAROOTDIR/doc/opensource-cobol-4j-1.0.21] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] @@ -1483,7 +1483,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of opensource COBOL 4J 1.0.20:";; + short | recursive ) echo "Configuration of opensource COBOL 4J 1.0.21:";; esac cat <<\_ACEOF @@ -1611,7 +1611,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -opensource COBOL 4J configure 1.0.20 +opensource COBOL 4J configure 1.0.21 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -2099,7 +2099,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by opensource COBOL 4J $as_me 1.0.20, which was +It was created by opensource COBOL 4J $as_me 1.0.21, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -3397,8 +3397,8 @@ fi # Define the identity of the package. - PACKAGE='opensource-cobol-4j-1.0.20' - VERSION='1.0.20' + PACKAGE='opensource-cobol-4j-1.0.21' + VERSION='1.0.21' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -24216,7 +24216,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by opensource COBOL 4J $as_me 1.0.20, which was +This file was extended by opensource COBOL 4J $as_me 1.0.21, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -24284,7 +24284,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -opensource COBOL 4J config.status 1.0.20 +opensource COBOL 4J config.status 1.0.21 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 34f3dba4..7c273453 100644 --- a/configure.ac +++ b/configure.ac @@ -19,7 +19,7 @@ AC_PREREQ(2.59) -AC_INIT([opensource COBOL 4J],[1.0.20],[ws-opensource-cobol-contact@osscons.jp],[opensource-cobol-4j-1.0.20]) +AC_INIT([opensource COBOL 4J],[1.0.21],[ws-opensource-cobol-contact@osscons.jp],[opensource-cobol-4j-1.0.21]) AC_CONFIG_SRCDIR([libcobj.h]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_TESTDIR([tests]) diff --git a/doc/requirements-all.md b/doc/requirements-all.md index 811efabd..24e39757 100644 --- a/doc/requirements-all.md +++ b/doc/requirements-all.md @@ -1,5 +1,8 @@ | version (opensource COBOL 4J) | OS | version (JDK) | | -- | -- | -- | +| 1.0.21 | Ubuntu 22.04 | 21 | +| 1.0.21 | AlmaLinux 9 | 11 | +| 1.0.21 | Amazon Linux 2023 | 21 | | 1.0.20 | Ubuntu 22.04 | 21 | | 1.0.20 | AlmaLinux 9 | 11 | | 1.0.20 | Amazon Linux 2023 | 21 | diff --git a/libcobj/app/build.gradle.kts b/libcobj/app/build.gradle.kts index 58eab329..92d241d9 100644 --- a/libcobj/app/build.gradle.kts +++ b/libcobj/app/build.gradle.kts @@ -64,7 +64,7 @@ publishing { register("gpr") { groupId = "jp.osscons.opensourcecobol" artifactId = "libcobj" - version = "1.0.20" + version = "1.0.21" from(components["java"]) } } diff --git a/libcobj/app/src/main/java/jp/osscons/opensourcecobol/libcobj/Const.java b/libcobj/app/src/main/java/jp/osscons/opensourcecobol/libcobj/Const.java index f8651268..b6e0ad42 100644 --- a/libcobj/app/src/main/java/jp/osscons/opensourcecobol/libcobj/Const.java +++ b/libcobj/app/src/main/java/jp/osscons/opensourcecobol/libcobj/Const.java @@ -41,5 +41,5 @@ public class Const { // TODO 標準パスの設定 public static final String COB_LIBRARY_PATH = ""; - public static final String version = "1.0.20"; + public static final String version = "1.0.21"; } diff --git a/tests/command-line-options.src/info-java-dir.at b/tests/command-line-options.src/info-java-dir.at index fba67216..1d49b5d6 100644 --- a/tests/command-line-options.src/info-java-dir.at +++ b/tests/command-line-options.src/info-java-dir.at @@ -28,7 +28,7 @@ AT_DATA([prog.cbl], [ AT_CHECK([${COBJ} -info-json-dir=./ callee.cbl prog.cbl]) AT_CHECK([cat info_callee.json], [0], [{ - "opensourcecobol4j_version": "1.0.20", + "opensourcecobol4j_version": "1.0.21", "program_id": "callee", "procedure_division_using_parameters": @<:@ { @@ -45,7 +45,7 @@ AT_CHECK([cat info_callee.json], [0], AT_CHECK([cat info_prog.json], [0], [{ - "opensourcecobol4j_version": "1.0.20", + "opensourcecobol4j_version": "1.0.21", "program_id": "prog", "procedure_division_using_parameters": @<:@ @:>@ @@ -64,7 +64,7 @@ AT_CHECK([${COBJ} -info-json-dir=bbb callee.cbl prog.cbl]) AT_CHECK([cat bbb/info_callee.json], [0], [{ - "opensourcecobol4j_version": "1.0.20", + "opensourcecobol4j_version": "1.0.21", "program_id": "callee", "procedure_division_using_parameters": @<:@ { @@ -81,7 +81,7 @@ AT_CHECK([cat bbb/info_callee.json], [0], AT_CHECK([cat bbb/info_prog.json], [0], [{ - "opensourcecobol4j_version": "1.0.20", + "opensourcecobol4j_version": "1.0.21", "program_id": "prog", "procedure_division_using_parameters": @<:@ @:>@