Skip to content

Commit c0ed74b

Browse files
Release 1.1.7 hotfix (#606)
1 parent eb25686 commit c0ed74b

File tree

15 files changed

+84
-49
lines changed

15 files changed

+84
-49
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

7+
## [1.1.7-hotfix1] - 2025-02-28
8+
9+
### Fix
10+
11+
* Fix bugs related to UTF-8 (#590)
12+
* With older versions, DISPLAY statements output invalid UTF-8 data when the arguments are sub items of group fields.
13+
* With older versions, initilizing data with VALUE clauses fails in some cases.
14+
715
## [1.1.7] - 2025-02-28
816

917
### Add

ChangeLog

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
2025-03-07 OSS Consortium <[email protected]>
2+
3+
* opensource COBOL 4J v1.1.7-hotfix1 released.
4+
15
2025-02-28 OSS Consortium <[email protected]>
26

3-
* opensource COBOL 4J v1.1.6 released.
7+
* opensource COBOL 4J v1.1.7 released.
48

59
2025-01-31 OSS Consortium <[email protected]>
610

NEWS

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
NEWS - user visible changes -*- outline -*-
22

3+
-----------------------------------------------------------------------
4+
5+
* opensource COBOL 4J 1.1.7-hotfix1
6+
7+
** New Features
8+
9+
(1) Fix bugs related to UTF-8
10+
* With older versions, DISPLAY statements output invalid UTF-8 data when the arguments are sub items of group fields.
11+
* With older versions, initilizing data with VALUE clauses fails in some cases.
312

413
-----------------------------------------------------------------------
514

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ dnf install -y java-21-amazon-corretto-devel gcc make bison flex automake autoco
5252

5353
### Install opensource COBOL 4J
5454
```
55-
curl -L -o opensourcecobol4j-v1.1.7.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.7.tar.gz
56-
tar zxvf opensourcecobol4j-v1.1.7.tar.gz
57-
cd opensourcecobol4j-1.1.7
55+
curl -L -o opensourcecobol4j-v1.1.7-hotfix1.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.7-hotfix1.tar.gz
56+
tar zxvf opensourcecobol4j-v1.1.7-hotfix1.tar.gz
57+
cd opensourcecobol4j-1.1.7-hotfix1
5858
./configure --prefix=/usr/
5959
make
6060
sudo make install
@@ -63,9 +63,9 @@ sudo make install
6363
In order to install a compiler for UTF-8 encoded COBOL source code, run the following commands.
6464

6565
```
66-
curl -L -o opensourcecobol4j-v1.1.7.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.7.tar.gz
67-
tar zxvf opensourcecobol4j-v1.1.7.tar.gz
68-
cd opensourcecobol4j-1.1.7
66+
curl -L -o opensourcecobol4j-v1.1.7-hotfix1.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.7-hotfix1.tar.gz
67+
tar zxvf opensourcecobol4j-v1.1.7-hotfix1.tar.gz
68+
cd opensourcecobol4j-1.1.7-hotfix1
6969
./configure --prefix=/usr/ --enable-utf8
7070
touch cobj/*.m4
7171
make
@@ -137,7 +137,7 @@ https://www.oracle.com/java/technologies/downloads/?er=221886#java8-windows
137137
The docker container for opensource COBOL 4J is available.
138138
139139
```bash
140-
docker pull opensourcecobol/opensourcecobol4j:1.1.7
140+
docker pull opensourcecobol/opensourcecobol4j:20250307
141141
```
142142

143143
Execute the following commands in order to run the "Hello World" COBOL program.

README_JP.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ dnf install -y java-21-amazon-corretto-devel gcc make bison flex automake autoco
4646

4747
### opensource COBOL 4Jのインストール
4848
```
49-
curl -L -o opensourcecobol4j-v1.1.7.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.7.tar.gz
50-
tar zxvf opensourcecobol4j-v1.1.7.tar.gz
51-
cd opensourcecobol4j-1.1.7
49+
curl -L -o opensourcecobol4j-v1.1.7-hotfix1.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.7-hotfix1.tar.gz
50+
tar zxvf opensourcecobol4j-v1.1.7-hotfix1.tar.gz
51+
cd opensourcecobol4j-1.1.7-hotfix1
5252
./configure --prefix=/usr/
5353
make
5454
sudo make install
@@ -57,9 +57,9 @@ sudo make install
5757
UTF-8のCOBOLソースコード対応版コンパイラをインストールする場合は、下記のコマンドを実行する。
5858

5959
```
60-
curl -L -o opensourcecobol4j-v1.1.7.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.7.tar.gz
61-
tar zxvf opensourcecobol4j-v1.1.7.tar.gz
62-
cd opensourcecobol4j-1.1.7
60+
curl -L -o opensourcecobol4j-v1.1.7-hotfix1.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.7-hotfix1.tar.gz
61+
tar zxvf opensourcecobol4j-v1.1.7-hotfix1.tar.gz
62+
cd opensourcecobol4j-1.1.7-hotfix1
6363
./configure --prefix=/usr/ --enable-utf8
6464
touch cobj/*.m4
6565
make
@@ -126,7 +126,7 @@ Windows版のopensource COBOL 4JはVisual Studioに含まれるCLコンパイラ
126126
opensource COBOL 4JのDockerコンテナを利用できます。
127127
128128
```bash
129-
docker pull opensourcecobol/opensourcecobol4j:1.1.7
129+
docker pull opensourcecobol/opensourcecobol4j:20250307
130130
```
131131

132132
以下のコマンドを実行して、"Hello World"のCOBOLプログラムを実行します。

ReleaseNote.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
### Add
1+
### Fix
22

3-
* Implement the environment variable `COB_TERMINAL_ENCODING`.
4-
* If the value of `COB_TERMINAL_ENCODING` is `UTF-8`, the DISPLAY statement outputs data after converting it to UTF-8. Otherwise, it outputs raw data (typically encoded in Shift JIS).
5-
* If the value of `COB_TERMINAL_ENCODING` is `UTF-8`, the ACCEPT statement processes input data as UTF-8 encoded. Otherwise, it processes input data as Shift JIS encoded.
6-
* Fix the UTF-8 compatible compiler to recognize that the size of multibyte characters in COBOL source code as 2 bytes instead of 3 bytes.
7-
* This change allows users to write more multibyte characters on each line of the COBOL source code.
3+
* Fix bugs related to UTF-8
4+
* With older versions, DISPLAY statements output invalid UTF-8 data when the arguments are sub items of group fields.
5+
* With older versions, initilizing data with VALUE clauses fails in some cases.

configure

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.69 for opensource COBOL 4J 1.1.7.
3+
# Generated by GNU Autoconf 2.69 for opensource COBOL 4J 1.1.7-hotfix1.
44
#
55
# Report bugs to <[email protected]>.
66
#
@@ -589,9 +589,9 @@ MAKEFLAGS=
589589

590590
# Identity of this package.
591591
PACKAGE_NAME='opensource COBOL 4J'
592-
PACKAGE_TARNAME='opensource-cobol-4j-1.1.7'
593-
PACKAGE_VERSION='1.1.7'
594-
PACKAGE_STRING='opensource COBOL 4J 1.1.7'
592+
PACKAGE_TARNAME='opensource-cobol-4j-1.1.7-hotfix1'
593+
PACKAGE_VERSION='1.1.7-hotfix1'
594+
PACKAGE_STRING='opensource COBOL 4J 1.1.7-hotfix1'
595595
PACKAGE_BUGREPORT='[email protected]'
596596
PACKAGE_URL=''
597597

@@ -1382,7 +1382,7 @@ if test "$ac_init_help" = "long"; then
13821382
# Omit some internal or obsolete options to make the list less imposing.
13831383
# This message is too long to be a string in the A/UX 3.1 sh.
13841384
cat <<_ACEOF
1385-
\`configure' configures opensource COBOL 4J 1.1.7 to adapt to many kinds of systems.
1385+
\`configure' configures opensource COBOL 4J 1.1.7-hotfix1 to adapt to many kinds of systems.
13861386

13871387
Usage: $0 [OPTION]... [VAR=VALUE]...
13881388

@@ -1432,7 +1432,7 @@ Fine tuning of the installation directories:
14321432
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
14331433
--mandir=DIR man documentation [DATAROOTDIR/man]
14341434
--docdir=DIR documentation root
1435-
[DATAROOTDIR/doc/opensource-cobol-4j-1.1.7]
1435+
[DATAROOTDIR/doc/opensource-cobol-4j-1.1.7-hotfix1]
14361436
--htmldir=DIR html documentation [DOCDIR]
14371437
--dvidir=DIR dvi documentation [DOCDIR]
14381438
--pdfdir=DIR pdf documentation [DOCDIR]
@@ -1454,7 +1454,7 @@ fi
14541454

14551455
if test -n "$ac_init_help"; then
14561456
case $ac_init_help in
1457-
short | recursive ) echo "Configuration of opensource COBOL 4J 1.1.7:";;
1457+
short | recursive ) echo "Configuration of opensource COBOL 4J 1.1.7-hotfix1:";;
14581458
esac
14591459
cat <<\_ACEOF
14601460

@@ -1581,7 +1581,7 @@ fi
15811581
test -n "$ac_init_help" && exit $ac_status
15821582
if $ac_init_version; then
15831583
cat <<\_ACEOF
1584-
opensource COBOL 4J configure 1.1.7
1584+
opensource COBOL 4J configure 1.1.7-hotfix1
15851585
generated by GNU Autoconf 2.69
15861586

15871587
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2133,7 +2133,7 @@ cat >config.log <<_ACEOF
21332133
This file contains any messages produced by compilers while
21342134
running configure, to aid debugging if configure makes a mistake.
21352135

2136-
It was created by opensource COBOL 4J $as_me 1.1.7, which was
2136+
It was created by opensource COBOL 4J $as_me 1.1.7-hotfix1, which was
21372137
generated by GNU Autoconf 2.69. Invocation command line was
21382138

21392139
$ $0 $@
@@ -3024,8 +3024,8 @@ fi
30243024

30253025

30263026
# Define the identity of the package.
3027-
PACKAGE='opensource-cobol-4j-1.1.7'
3028-
VERSION='1.1.7'
3027+
PACKAGE='opensource-cobol-4j-1.1.7-hotfix1'
3028+
VERSION='1.1.7-hotfix1'
30293029

30303030

30313031
cat >>confdefs.h <<_ACEOF
@@ -23446,7 +23446,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2344623446
# report actual input values of CONFIG_FILES etc. instead of their
2344723447
# values after options handling.
2344823448
ac_log="
23449-
This file was extended by opensource COBOL 4J $as_me 1.1.7, which was
23449+
This file was extended by opensource COBOL 4J $as_me 1.1.7-hotfix1, which was
2345023450
generated by GNU Autoconf 2.69. Invocation command line was
2345123451

2345223452
CONFIG_FILES = $CONFIG_FILES
@@ -23512,7 +23512,7 @@ _ACEOF
2351223512
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2351323513
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2351423514
ac_cs_version="\\
23515-
opensource COBOL 4J config.status 1.1.7
23515+
opensource COBOL 4J config.status 1.1.7-hotfix1
2351623516
configured by $0, generated by GNU Autoconf 2.69,
2351723517
with options \\"\$ac_cs_config\\"
2351823518

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
AC_PREREQ(2.59)
2121

22-
AC_INIT([opensource COBOL 4J],[1.1.7],[[email protected]],[opensource-cobol-4j-1.1.7])
22+
AC_INIT([opensource COBOL 4J],[1.1.7-hotfix1],[[email protected]],[opensource-cobol-4j-1.1.7-hotfix1])
2323
AC_CONFIG_SRCDIR([libcobj.h])
2424
AC_CONFIG_HEADERS([config.h])
2525
AC_CONFIG_TESTDIR([tests])

doc/requirements-all.md

+16
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
| version (opensource COBOL 4J) | OS | version (JDK) |
22
| -- | -- | -- |
3+
| 1.1.7-hotfix1 | Windows | 21 |
4+
| 1.1.7-hotfix1 | Ubuntu 24.04 | 21 |
5+
| 1.1.7-hotfix1 | AlmaLinux 9 | 11 |
6+
| 1.1.7-hotfix1 | Amazon Linux 2023 | 21 |
7+
| 1.1.7 | Windows | 21 |
8+
| 1.1.7 | Ubuntu 24.04 | 21 |
9+
| 1.1.7 | AlmaLinux 9 | 11 |
10+
| 1.1.7 | Amazon Linux 2023 | 21 |
11+
| 1.1.6 | Windows | 21 |
12+
| 1.1.6 | Ubuntu 24.04 | 21 |
13+
| 1.1.6 | AlmaLinux 9 | 11 |
14+
| 1.1.6 | Amazon Linux 2023 | 21 |
15+
| 1.1.5 | Windows | 21 |
16+
| 1.1.5 | Ubuntu 24.04 | 21 |
17+
| 1.1.5 | AlmaLinux 9 | 11 |
18+
| 1.1.5 | Amazon Linux 2023 | 21 |
319
| 1.1.4 | Windows | 21 |
420
| 1.1.4 | Ubuntu 24.04 | 21 |
521
| 1.1.4 | AlmaLinux 9 | 11 |

libcobj/app/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ publishing {
8080
register<MavenPublication>("gpr") {
8181
groupId = "jp.osscons.opensourcecobol"
8282
artifactId = "libcobj"
83-
version = "1.1.7"
83+
version = "1.1.7-hotfix1"
8484
from(components["java"])
8585
}
8686
}

libcobj/app/src/main/java/jp/osscons/opensourcecobol/libcobj/Const.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@
2323
public class Const {
2424

2525
/** TODO: 準備中 */
26-
public static final String version = "1.1.7";
26+
public static final String version = "1.1.7-hotfix1";
2727
}

libcobj/app/src/main/java/jp/osscons/opensourcecobol/libcobj/user_util/cobj_api/ApiFilesOptions.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ static void getOptions(String[] args) {
4646
System.exit(0);
4747
break;
4848
case "v":
49-
System.out.println("1.1.7");
49+
System.out.println("1.1.7-hotfix1");
5050
System.exit(0);
5151
break;
5252
case "java-package":

tests/command-line-options.src/info-java-dir.at

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ AT_DATA([prog.cbl], [
2828
AT_CHECK([${COBJ} -info-json-dir=./ callee.cbl prog.cbl])
2929
AT_CHECK([cat info_callee.json], [0],
3030
[{
31-
"opensourcecobol4j_version": "1.1.7",
31+
"opensourcecobol4j_version": "1.1.7-hotfix1",
3232
"program_id": "callee",
3333
"procedure_division_using_parameters": @<:@
3434
{
@@ -45,7 +45,7 @@ AT_CHECK([cat info_callee.json], [0],
4545

4646
AT_CHECK([cat info_prog.json], [0],
4747
[{
48-
"opensourcecobol4j_version": "1.1.7",
48+
"opensourcecobol4j_version": "1.1.7-hotfix1",
4949
"program_id": "prog",
5050
"procedure_division_using_parameters": @<:@
5151
@:>@
@@ -64,7 +64,7 @@ AT_CHECK([${COBJ} -info-json-dir=bbb callee.cbl prog.cbl])
6464

6565
AT_CHECK([cat bbb/info_callee.json], [0],
6666
[{
67-
"opensourcecobol4j_version": "1.1.7",
67+
"opensourcecobol4j_version": "1.1.7-hotfix1",
6868
"program_id": "callee",
6969
"procedure_division_using_parameters": @<:@
7070
{
@@ -81,7 +81,7 @@ AT_CHECK([cat bbb/info_callee.json], [0],
8181

8282
AT_CHECK([cat bbb/info_prog.json], [0],
8383
[{
84-
"opensourcecobol4j_version": "1.1.7",
84+
"opensourcecobol4j_version": "1.1.7-hotfix1",
8585
"program_id": "prog",
8686
"procedure_division_using_parameters": @<:@
8787
@:>@

tests/package.m4

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Signature of the current package.
22
m4_define([AT_PACKAGE_NAME], [opensource COBOL 4J])
3-
m4_define([AT_PACKAGE_TARNAME], [opensource-cobol-4j-1.1.7])
4-
m4_define([AT_PACKAGE_VERSION], [1.1.7])
5-
m4_define([AT_PACKAGE_STRING], [opensource COBOL 4J 1.1.7])
3+
m4_define([AT_PACKAGE_TARNAME], [opensource-cobol-4j-1.1.7-hotfix1])
4+
m4_define([AT_PACKAGE_VERSION], [1.1.7-hotfix1])
5+
m4_define([AT_PACKAGE_STRING], [opensource COBOL 4J 1.1.7-hotfix1])
66
m4_define([AT_PACKAGE_BUGREPORT], [[email protected]])

win/config.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@
299299
#define ICONV_CONST
300300

301301
/* Name of package */
302-
#define PACKAGE "opensource-cobol4j-1.1.7"
302+
#define PACKAGE "opensource-cobol4j-1.1.7-hotfix1"
303303

304304
/* Define to the address where bug reports for this package should be sent. */
305305
#define PACKAGE_BUGREPORT "[email protected]"
@@ -308,13 +308,13 @@
308308
#define PACKAGE_NAME "opensource COBOL 4J"
309309

310310
/* Define to the full name and version of this package. */
311-
#define PACKAGE_STRING "opensource COBOL 4J 1.1.7"
311+
#define PACKAGE_STRING "opensource COBOL 4J 1.1.7-hotfix1"
312312

313313
/* Define to the one symbol short name of this package. */
314-
#define PACKAGE_TARNAME "opensource-cobol4j-1.1.7"
314+
#define PACKAGE_TARNAME "opensource-cobol4j-1.1.7-hotfix1"
315315

316316
/* Define to the version of this package. */
317-
#define PACKAGE_VERSION "1.1.7"
317+
#define PACKAGE_VERSION "1.1.7-hotfix1"
318318

319319
/* Define a patch level */
320320
#define PATCH_LEVEL 0

0 commit comments

Comments
 (0)