diff --git a/CHANGELOG.md b/CHANGELOG.md index 31f5fd84..79afe414 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ 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.1.11] - 2025-07-25 + +### Fix + +* Fix OPEN operation for indexed files. (#676) + * The runtime library now correctly sets the file status to 30 when attempting to open indexed files with invalid or corrupted file formats. + ## [1.1.10] - 2025-06-30 ### Add diff --git a/ChangeLog b/ChangeLog index c3feed80..f31e63ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2025-07-25 OSS Consortium + + * opensource COBOL 4J v1.1.11 released. + 2025-06-30 OSS Consortium * opensource COBOL 4J v1.1.10 released. diff --git a/NEWS b/NEWS index 775c0afd..d4cceba1 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,13 @@ NEWS - user visible changes -*- outline -*- ----------------------------------------------------------------------- +** Bug Fixes + +(1) Fix OPEN operation for indexed files. (#676) + * The runtime library now correctly sets the file status to 30 when attempting to open indexed files with invalid or corrupted file formats. + +----------------------------------------------------------------------- + ** New Features (1) Add a manual for the compiler configuration file (#665) diff --git a/README.md b/README.md index c410a331..49f61cda 100644 --- a/README.md +++ b/README.md @@ -52,9 +52,9 @@ dnf install -y java-21-amazon-corretto-devel gcc make bison flex automake autoco ### Install opensource COBOL 4J ``` -curl -L -o opensourcecobol4j-v1.1.10.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.10.tar.gz -tar zxvf opensourcecobol4j-v1.1.10.tar.gz -cd opensourcecobol4j-1.1.10 +curl -L -o opensourcecobol4j-v1.1.11.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.11.tar.gz +tar zxvf opensourcecobol4j-v1.1.11.tar.gz +cd opensourcecobol4j-1.1.11 ./configure --prefix=/usr/ make sudo make install @@ -63,9 +63,9 @@ sudo make install In order to install a compiler for UTF-8 encoded COBOL source code, run the following commands. ``` -curl -L -o opensourcecobol4j-v1.1.10.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.10.tar.gz -tar zxvf opensourcecobol4j-v1.1.10.tar.gz -cd opensourcecobol4j-1.1.10 +curl -L -o opensourcecobol4j-v1.1.11.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.11.tar.gz +tar zxvf opensourcecobol4j-v1.1.11.tar.gz +cd opensourcecobol4j-1.1.11 ./configure --prefix=/usr/ --enable-utf8 touch cobj/*.m4 make @@ -137,7 +137,7 @@ https://www.oracle.com/java/technologies/downloads/?er=221886#java8-windows The docker container for opensource COBOL 4J is available. ```bash -docker pull opensourcecobol/opensourcecobol4j:20250630 +docker pull opensourcecobol/opensourcecobol4j:20250725 ``` Execute the following commands in order to run the "Hello World" COBOL program. diff --git a/README_JP.md b/README_JP.md index 0a653932..f8dba840 100644 --- a/README_JP.md +++ b/README_JP.md @@ -46,9 +46,9 @@ dnf install -y java-21-amazon-corretto-devel gcc make bison flex automake autoco ### opensource COBOL 4Jのインストール ``` -curl -L -o opensourcecobol4j-v1.1.10.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.10.tar.gz -tar zxvf opensourcecobol4j-v1.1.10.tar.gz -cd opensourcecobol4j-1.1.10 +curl -L -o opensourcecobol4j-v1.1.11.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.11.tar.gz +tar zxvf opensourcecobol4j-v1.1.11.tar.gz +cd opensourcecobol4j-1.1.11 ./configure --prefix=/usr/ make sudo make install @@ -57,9 +57,9 @@ sudo make install UTF-8のCOBOLソースコード対応版コンパイラをインストールする場合は、下記のコマンドを実行する。 ``` -curl -L -o opensourcecobol4j-v1.1.10.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.10.tar.gz -tar zxvf opensourcecobol4j-v1.1.10.tar.gz -cd opensourcecobol4j-1.1.10 +curl -L -o opensourcecobol4j-v1.1.11.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.11.tar.gz +tar zxvf opensourcecobol4j-v1.1.11.tar.gz +cd opensourcecobol4j-1.1.11 ./configure --prefix=/usr/ --enable-utf8 touch cobj/*.m4 make @@ -126,7 +126,7 @@ Windows版のopensource COBOL 4JはVisual Studioに含まれるCLコンパイラ opensource COBOL 4JのDockerコンテナを利用できます。 ```bash -docker pull opensourcecobol/opensourcecobol4j:20250630 +docker pull opensourcecobol/opensourcecobol4j:20250725 ``` 以下のコマンドを実行して、"Hello World"のCOBOLプログラムを実行します。 diff --git a/ReleaseNote.md b/ReleaseNote.md index cfcf78d0..2b032fe0 100644 --- a/ReleaseNote.md +++ b/ReleaseNote.md @@ -1,9 +1,5 @@ -### Add +### Fix -* Add a manual for the compiler configuration file (#665) -* Add a built-in subroutine - * C$SLEEP (#669) - -### Miscellaneous +* Fix OPEN operation for indexed files. (#676) + * The runtime library now correctly sets the file status to 30 when attempting to open indexed files with invalid or corrupted file formats. -* Improve the test coverage slightly (#667, #664) \ No newline at end of file diff --git a/configure b/configure index 1da31720..1d427448 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.69 for opensource COBOL 4J 1.1.10. +# Generated by GNU Autoconf 2.69 for opensource COBOL 4J 1.1.11. # # Report bugs to . # @@ -589,9 +589,9 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='opensource COBOL 4J' -PACKAGE_TARNAME='opensource-cobol-4j-1.1.10' -PACKAGE_VERSION='1.1.10' -PACKAGE_STRING='opensource COBOL 4J 1.1.10' +PACKAGE_TARNAME='opensource-cobol-4j-1.1.11' +PACKAGE_VERSION='1.1.11' +PACKAGE_STRING='opensource COBOL 4J 1.1.11' PACKAGE_BUGREPORT='ws-opensource-cobol-contact@osscons.jp' PACKAGE_URL='' @@ -1382,7 +1382,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.1.10 to adapt to many kinds of systems. +\`configure' configures opensource COBOL 4J 1.1.11 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1432,7 +1432,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.1.10] + [DATAROOTDIR/doc/opensource-cobol-4j-1.1.11] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] @@ -1454,7 +1454,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of opensource COBOL 4J 1.1.10:";; + short | recursive ) echo "Configuration of opensource COBOL 4J 1.1.11:";; esac cat <<\_ACEOF @@ -1581,7 +1581,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -opensource COBOL 4J configure 1.1.10 +opensource COBOL 4J configure 1.1.11 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2133,7 +2133,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.1.10, which was +It was created by opensource COBOL 4J $as_me 1.1.11, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3024,8 +3024,8 @@ fi # Define the identity of the package. - PACKAGE='opensource-cobol-4j-1.1.10' - VERSION='1.1.10' + PACKAGE='opensource-cobol-4j-1.1.11' + VERSION='1.1.11' cat >>confdefs.h <<_ACEOF @@ -23446,7 +23446,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.1.10, which was +This file was extended by opensource COBOL 4J $as_me 1.1.11, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -23512,7 +23512,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -opensource COBOL 4J config.status 1.1.10 +opensource COBOL 4J config.status 1.1.11 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 72879d78..5dd566bf 100644 --- a/configure.ac +++ b/configure.ac @@ -19,7 +19,7 @@ AC_PREREQ(2.59) -AC_INIT([opensource COBOL 4J],[1.1.10],[ws-opensource-cobol-contact@osscons.jp],[opensource-cobol-4j-1.1.10]) +AC_INIT([opensource COBOL 4J],[1.1.11],[ws-opensource-cobol-contact@osscons.jp],[opensource-cobol-4j-1.1.11]) 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 b435b211..decff168 100644 --- a/doc/requirements-all.md +++ b/doc/requirements-all.md @@ -1,5 +1,9 @@ | version (opensource COBOL 4J) | OS | version (JDK) | | -- | -- | -- | +| 1.1.11 | Windows | 21 | +| 1.1.11 | Ubuntu 24.04 | 21 | +| 1.1.11 | AlmaLinux 9 | 11 | +| 1.1.11 | Amazon Linux 2023 | 21 | | 1.1.10 | Windows | 21 | | 1.1.10 | Ubuntu 24.04 | 21 | | 1.1.10 | AlmaLinux 9 | 11 | diff --git a/libcobj/app/build.gradle.kts b/libcobj/app/build.gradle.kts index 527ce3e7..c93b60ce 100644 --- a/libcobj/app/build.gradle.kts +++ b/libcobj/app/build.gradle.kts @@ -80,7 +80,7 @@ publishing { register("gpr") { groupId = "jp.osscons.opensourcecobol" artifactId = "libcobj" - version = "1.1.10" + version = "1.1.11" 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 699d62ef..48c51ab4 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 @@ -23,5 +23,5 @@ public class Const { /** TODO: 準備中 */ - public static final String version = "1.1.10"; + public static final String version = "1.1.11"; } diff --git a/libcobj/app/src/main/java/jp/osscons/opensourcecobol/libcobj/user_util/cobj_api/ApiFilesOptions.java b/libcobj/app/src/main/java/jp/osscons/opensourcecobol/libcobj/user_util/cobj_api/ApiFilesOptions.java index 8e0d0c8e..e36f9bf3 100755 --- a/libcobj/app/src/main/java/jp/osscons/opensourcecobol/libcobj/user_util/cobj_api/ApiFilesOptions.java +++ b/libcobj/app/src/main/java/jp/osscons/opensourcecobol/libcobj/user_util/cobj_api/ApiFilesOptions.java @@ -46,7 +46,7 @@ static void getOptions(String[] args) { System.exit(0); break; case "v": - System.out.println("1.1.10"); + System.out.println("1.1.11"); System.exit(0); break; case "java-package": diff --git a/tests/command-line-options.src/info-java-dir.at b/tests/command-line-options.src/info-java-dir.at index 8fa9750e..01263540 100644 --- a/tests/command-line-options.src/info-java-dir.at +++ b/tests/command-line-options.src/info-java-dir.at @@ -29,7 +29,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.1.10", + "opensourcecobol4j_version": "1.1.11", "program_id": "callee", "procedure_division_using_parameters": @<:@ { @@ -50,7 +50,7 @@ AT_CHECK([cat info_callee.json], [0], AT_CHECK([cat info_prog.json], [0], [{ - "opensourcecobol4j_version": "1.1.10", + "opensourcecobol4j_version": "1.1.11", "program_id": "prog", "procedure_division_using_parameters": @<:@ @:>@ @@ -69,7 +69,7 @@ AT_CHECK([${COBJ} -info-json-dir=bbb callee.cbl prog.cbl]) AT_CHECK([cat bbb/info_callee.json], [0], [{ - "opensourcecobol4j_version": "1.1.10", + "opensourcecobol4j_version": "1.1.11", "program_id": "callee", "procedure_division_using_parameters": @<:@ { @@ -90,7 +90,7 @@ AT_CHECK([cat bbb/info_callee.json], [0], AT_CHECK([cat bbb/info_prog.json], [0], [{ - "opensourcecobol4j_version": "1.1.10", + "opensourcecobol4j_version": "1.1.11", "program_id": "prog", "procedure_division_using_parameters": @<:@ @:>@ diff --git a/tests/package.m4 b/tests/package.m4 index dca605f6..a92ee067 100644 --- a/tests/package.m4 +++ b/tests/package.m4 @@ -1,6 +1,6 @@ # Signature of the current package. m4_define([AT_PACKAGE_NAME], [opensource COBOL 4J]) -m4_define([AT_PACKAGE_TARNAME], [opensource-cobol-4j-1.1.10]) -m4_define([AT_PACKAGE_VERSION], [1.1.10]) -m4_define([AT_PACKAGE_STRING], [opensource COBOL 4J 1.1.10]) +m4_define([AT_PACKAGE_TARNAME], [opensource-cobol-4j-1.1.11]) +m4_define([AT_PACKAGE_VERSION], [1.1.11]) +m4_define([AT_PACKAGE_STRING], [opensource COBOL 4J 1.1.11]) m4_define([AT_PACKAGE_BUGREPORT], [ws-opensource-cobol-contact@osscons.jp]) diff --git a/win/config.h b/win/config.h index 46f1a32f..8f41df6a 100644 --- a/win/config.h +++ b/win/config.h @@ -299,7 +299,7 @@ #define ICONV_CONST /* Name of package */ -#define PACKAGE "opensource-cobol4j-1.1.10" +#define PACKAGE "opensource-cobol4j-1.1.11" /* Define to the address where bug reports for this package should be sent. */ #define PACKAGE_BUGREPORT "ws-opensource-cobol-contact@osscons.jp" @@ -308,13 +308,13 @@ #define PACKAGE_NAME "opensource COBOL 4J" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "opensource COBOL 4J 1.1.10" +#define PACKAGE_STRING "opensource COBOL 4J 1.1.11" /* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "opensource-cobol4j-1.1.10" +#define PACKAGE_TARNAME "opensource-cobol4j-1.1.11" /* Define to the version of this package. */ -#define PACKAGE_VERSION "1.1.10" +#define PACKAGE_VERSION "1.1.11" /* Define a patch level */ #define PATCH_LEVEL 0