From 0f015db6e007ada64b92ba5e2241774dcd0e8967 Mon Sep 17 00:00:00 2001 From: Yutaro Sakamoto Date: Mon, 29 Sep 2025 00:50:56 +0000 Subject: [PATCH 1/3] chore: update the version number --- README.md | 12 ++++----- README_JP.md | 12 ++++----- configure | 26 +++++++++---------- configure.ac | 2 +- libcobj/app/build.gradle.kts | 2 +- .../opensourcecobol/libcobj/Const.java | 2 +- .../user_util/cobj_api/ApiFilesOptions.java | 2 +- .../command-line-options.src/info-java-dir.at | 8 +++--- tests/package.m4 | 6 ++--- win/config.h | 8 +++--- 10 files changed, 40 insertions(+), 40 deletions(-) diff --git a/README.md b/README.md index 0ff5e4ef..89099a09 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.12.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.12.tar.gz -tar zxvf opensourcecobol4j-v1.1.12.tar.gz -cd opensourcecobol4j-1.1.12 +curl -L -o opensourcecobol4j-v1.1.13.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.13.tar.gz +tar zxvf opensourcecobol4j-v1.1.13.tar.gz +cd opensourcecobol4j-1.1.13 ./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.12.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.12.tar.gz -tar zxvf opensourcecobol4j-v1.1.12.tar.gz -cd opensourcecobol4j-1.1.12 +curl -L -o opensourcecobol4j-v1.1.13.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.13.tar.gz +tar zxvf opensourcecobol4j-v1.1.13.tar.gz +cd opensourcecobol4j-1.1.13 ./configure --prefix=/usr/ --enable-utf8 touch cobj/*.m4 make diff --git a/README_JP.md b/README_JP.md index 20a535f0..f4d1fa27 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.12.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.12.tar.gz -tar zxvf opensourcecobol4j-v1.1.12.tar.gz -cd opensourcecobol4j-1.1.12 +curl -L -o opensourcecobol4j-v1.1.13.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.13.tar.gz +tar zxvf opensourcecobol4j-v1.1.13.tar.gz +cd opensourcecobol4j-1.1.13 ./configure --prefix=/usr/ make sudo make install @@ -57,9 +57,9 @@ sudo make install UTF-8のCOBOLソースコード対応版コンパイラをインストールする場合は、下記のコマンドを実行する。 ``` -curl -L -o opensourcecobol4j-v1.1.12.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.12.tar.gz -tar zxvf opensourcecobol4j-v1.1.12.tar.gz -cd opensourcecobol4j-1.1.12 +curl -L -o opensourcecobol4j-v1.1.13.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.13.tar.gz +tar zxvf opensourcecobol4j-v1.1.13.tar.gz +cd opensourcecobol4j-1.1.13 ./configure --prefix=/usr/ --enable-utf8 touch cobj/*.m4 make diff --git a/configure b/configure index ff5d3f09..2d6b4e36 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.12. +# Generated by GNU Autoconf 2.69 for opensource COBOL 4J 1.1.13. # # Report bugs to . # @@ -589,9 +589,9 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='opensource COBOL 4J' -PACKAGE_TARNAME='opensource-cobol-4j-1.1.12' -PACKAGE_VERSION='1.1.12' -PACKAGE_STRING='opensource COBOL 4J 1.1.12' +PACKAGE_TARNAME='opensource-cobol-4j-1.1.13' +PACKAGE_VERSION='1.1.13' +PACKAGE_STRING='opensource COBOL 4J 1.1.13' 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.12 to adapt to many kinds of systems. +\`configure' configures opensource COBOL 4J 1.1.13 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.12] + [DATAROOTDIR/doc/opensource-cobol-4j-1.1.13] --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.12:";; + short | recursive ) echo "Configuration of opensource COBOL 4J 1.1.13:";; 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.12 +opensource COBOL 4J configure 1.1.13 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.12, which was +It was created by opensource COBOL 4J $as_me 1.1.13, 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.12' - VERSION='1.1.12' + PACKAGE='opensource-cobol-4j-1.1.13' + VERSION='1.1.13' 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.12, which was +This file was extended by opensource COBOL 4J $as_me 1.1.13, 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.12 +opensource COBOL 4J config.status 1.1.13 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 73d87449..14d401f3 100644 --- a/configure.ac +++ b/configure.ac @@ -19,7 +19,7 @@ AC_PREREQ(2.59) -AC_INIT([opensource COBOL 4J],[1.1.12],[ws-opensource-cobol-contact@osscons.jp],[opensource-cobol-4j-1.1.12]) +AC_INIT([opensource COBOL 4J],[1.1.13],[ws-opensource-cobol-contact@osscons.jp],[opensource-cobol-4j-1.1.13]) AC_CONFIG_SRCDIR([libcobj.h]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_TESTDIR([tests]) diff --git a/libcobj/app/build.gradle.kts b/libcobj/app/build.gradle.kts index d1003063..8e133a4d 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.12" + version = "1.1.13" 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 e7cd01b9..436b8e87 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.12"; + public static final String version = "1.1.13"; } 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 83b2b596..c138aeac 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.12"); + System.out.println("1.1.13"); 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 29cb3a3c..005d7029 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.12", + "opensourcecobol4j_version": "1.1.13", "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.12", + "opensourcecobol4j_version": "1.1.13", "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.12", + "opensourcecobol4j_version": "1.1.13", "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.12", + "opensourcecobol4j_version": "1.1.13", "program_id": "prog", "procedure_division_using_parameters": @<:@ @:>@ diff --git a/tests/package.m4 b/tests/package.m4 index dd603d25..e49ee4bf 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.12]) -m4_define([AT_PACKAGE_VERSION], [1.1.12]) -m4_define([AT_PACKAGE_STRING], [opensource COBOL 4J 1.1.12]) +m4_define([AT_PACKAGE_TARNAME], [opensource-cobol-4j-1.1.13]) +m4_define([AT_PACKAGE_VERSION], [1.1.13]) +m4_define([AT_PACKAGE_STRING], [opensource COBOL 4J 1.1.13]) m4_define([AT_PACKAGE_BUGREPORT], [ws-opensource-cobol-contact@osscons.jp]) diff --git a/win/config.h b/win/config.h index 03dd19ba..bf933811 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.12" +#define PACKAGE "opensource-cobol4j-1.1.13" /* 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.12" +#define PACKAGE_STRING "opensource COBOL 4J 1.1.13" /* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "opensource-cobol4j-1.1.12" +#define PACKAGE_TARNAME "opensource-cobol4j-1.1.13" /* Define to the version of this package. */ -#define PACKAGE_VERSION "1.1.12" +#define PACKAGE_VERSION "1.1.13" /* Define a patch level */ #define PATCH_LEVEL 0 From f179952f52ec40634458d071e5150f7b3b8f4971 Mon Sep 17 00:00:00 2001 From: Yutaro Sakamoto Date: Mon, 29 Sep 2025 01:16:37 +0000 Subject: [PATCH 2/3] doc: update documents --- CHANGELOG.md | 10 ++++++++++ ChangeLog | 4 ++++ NEWS | 12 ++++++++++++ README.md | 2 +- README_JP.md | 2 +- ReleaseNote.md | 14 +++++++------- doc/requirements-all.md | 4 ++++ 7 files changed, 39 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb4146f4..0f2cfd9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,16 @@ 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.13] - 2025-09-29 + +### Fixed + +* Fix file locking of SEQUENTIAL, LINE SEQUENTIAL and RELATIVE file types. (#714) +* Fix reading process for variable length SEQUENTIAL files. (#722) + +## Miscellaneous + +* `cobj-idx unlock` and `cobj-idx migrate` can handle multiple files at once. (#708) ## [1.1.12] - 2025-08-28 diff --git a/ChangeLog b/ChangeLog index bae45e82..c25f3c4b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2025-09-29 OSS Consortium + + * opensource COBOL 4J v1.1.13 released. + 2025-08-28 OSS Consortium * opensource COBOL 4J v1.1.12 released. diff --git a/NEWS b/NEWS index 7799ce77..604f07e1 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,17 @@ NEWS - user visible changes -*- outline -*- + +* opensource COBOL 4J 1.1.12 + +** Bug Fixes + +(1) Fix file locking of SEQUENTIAL, LINE SEQUENTIAL and RELATIVE file types. +(2) Fix reading process for variable length SEQUENTIAL files. + +** Miscellaneous + +(1) `cobj-idx unlock` and `cobj-idx migrate` can handle multiple files at once. + * opensource COBOL 4J 1.1.12 ** New Features diff --git a/README.md b/README.md index 89099a09..8bffeb28 100644 --- a/README.md +++ b/README.md @@ -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:20250828 +docker pull opensourcecobol/opensourcecobol4j:20250929 ``` Execute the following commands in order to run the "Hello World" COBOL program. diff --git a/README_JP.md b/README_JP.md index f4d1fa27..07717afb 100644 --- a/README_JP.md +++ b/README_JP.md @@ -126,7 +126,7 @@ Windows版のopensource COBOL 4JはVisual Studioに含まれるCLコンパイラ opensource COBOL 4JのDockerコンテナを利用できます。 ```bash -docker pull opensourcecobol/opensourcecobol4j:20250828 +docker pull opensourcecobol/opensourcecobol4j:20250929 ``` 以下のコマンドを実行して、"Hello World"のCOBOLプログラムを実行します。 diff --git a/ReleaseNote.md b/ReleaseNote.md index c94b89c7..f7ac4e16 100644 --- a/ReleaseNote.md +++ b/ReleaseNote.md @@ -1,8 +1,8 @@ -### Add +### Fixed -* Implemented new file locking and record locking for INDEXED files. -* Add a new sub command `migrate` for `cobj-idx`. - * With this command, you can convert an old version of an INDEXED file to a new version compatible with the latest opensource COBOL 4J. -* Add a new sub command `unlock` for `cobj-idx`. - * With this command, you can unlock all record locks and file locks on an INDEXED file. -* Add documentation of locking for INDEXED files. +* Fix file locking of SEQUENTIAL, LINE SEQUENTIAL and RELATIVE file types. (#714) +* Fix reading process for variable length SEQUENTIAL files. (#722) + +## Miscellaneous + +* `cobj-idx unlock` and `cobj-idx migrate` can handle multiple files at once. (#708) \ No newline at end of file diff --git a/doc/requirements-all.md b/doc/requirements-all.md index 3deb09bd..24cba2d4 100644 --- a/doc/requirements-all.md +++ b/doc/requirements-all.md @@ -1,5 +1,9 @@ | version (opensource COBOL 4J) | OS | version (JDK) | | -- | -- | -- | +| 1.1.13 | Windows | 21 | +| 1.1.13 | Ubuntu 24.04 | 21 | +| 1.1.13 | AlmaLinux 9 | 11 | +| 1.1.13 | Amazon Linux 2023 | 21 | | 1.1.12 | Windows | 21 | | 1.1.12 | Ubuntu 24.04 | 21 | | 1.1.12 | AlmaLinux 9 | 11 | From 7efe96eacecacd1fe3594e2ea3405b7428bf7aff Mon Sep 17 00:00:00 2001 From: Yutaro Sakamoto Date: Mon, 29 Sep 2025 01:55:32 +0000 Subject: [PATCH 3/3] doc: fix NEWS slightly --- NEWS | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 604f07e1..787bf422 100644 --- a/NEWS +++ b/NEWS @@ -1,7 +1,8 @@ NEWS - user visible changes -*- outline -*- +----------------------------------------------------------------------- -* opensource COBOL 4J 1.1.12 +* opensource COBOL 4J 1.1.13 ** Bug Fixes @@ -12,6 +13,8 @@ NEWS - user visible changes -*- outline -*- (1) `cobj-idx unlock` and `cobj-idx migrate` can handle multiple files at once. +----------------------------------------------------------------------- + * opensource COBOL 4J 1.1.12 ** New Features