Skip to content

Commit 371d85b

Browse files
Release 1.1.4 (#555)
1 parent 909b438 commit 371d85b

File tree

15 files changed

+91
-52
lines changed

15 files changed

+91
-52
lines changed

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@ 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+
8+
## [1.1.4] - 2024-11-29
9+
10+
### Fix
11+
* Process Japanese identifiers in COBOL correctly (#540)
12+
* The older versions convert some Japanese characters in COBOL identifiers to another characters in Java.
13+
* Fix the conditions `PERFORM UNTIL` (#544)
14+
* If COBOL source code contains divisions in conditions of `PERFORM UNTIL`, the older versions emit compile errors.
15+
* Fix `SEARCH` statements with data specified `OCCURS` and `DEPENDING`(#545)
16+
* The older versions emit compile errors when `SEARCH` statements with data specified `OCCURS` and `DEPENDING`
17+
* Fix `ADD` statements and `SUBTRACT` statements (#546)
18+
* In some case, the result of `SUBTRACT` was previously incorrect when the operands contais PIC S9(n) negative values.
19+
* In some case, the result of `ADD` was -0 instead of +0 previously.
20+
* Fix the process of checking signs of PIC 9(n) containing spaces (#549)
21+
* Fix `INSPECT` statements (#550)
22+
* The older versions change signs of some values accidentally because of the bug of `INSPECT` statements.
23+
724
## [1.1.3] - 2024-10-31
825
### Add
926
* Add a new option `-variable` (#513)

ChangeLog

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2024-11-29 OSS Consortium <[email protected]>
2+
3+
* opensource COBOL 4J v1.1.4 released.
4+
15
2024-10-31 OSS Consortium <[email protected]>
26

37
* opensource COBOL 4J v1.1.3 released.

NEWS

+18
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@ NEWS - user visible changes -*- outline -*-
22

33
-----------------------------------------------------------------------
44

5+
* opensource COBOL 4J 1.1.4
6+
7+
*** Bug Fixes
8+
(1) Process Japanese identifiers in COBOL correctly (#540)
9+
* The older versions convert some Japanese characters in COBOL identifiers to another characters in Java.
10+
(2) Fix the conditions `PERFORM UNTIL` (#544)
11+
* If COBOL source code contains divisions in conditions of `PERFORM UNTIL`, the older versions emit compile errors.
12+
(3) Fix `SEARCH` statements with data specified `OCCURS` and `DEPENDING`(#545)
13+
* The older versions emit compile errors when `SEARCH` statements with data specified `OCCURS` and `DEPENDING`
14+
(4) Fix `ADD` statements and `SUBTRACT` statements (#546)
15+
* In some case, the result of `SUBTRACT` was previously incorrect when the operands contais PIC S9(n) negative values.
16+
* In some case, the result of `ADD` was -0 instead of +0 previously.
17+
(5) Fix the process of checking signs of PIC 9(n) containing spaces (#549)
18+
(6) Fix `INSPECT` statements (#550)
19+
* The older versions change signs of some values accidentally because of the bug of `INSPECT` statements.
20+
21+
-----------------------------------------------------------------------
22+
523
* opensource COBOL 4J 1.1.3
624

725
** New Features

README.md

+4-4
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.3.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.3.tar.gz
56-
tar zxvf opensourcecobol4j-v1.1.3.tar.gz
57-
cd opensourcecobol4j-1.1.3
55+
curl -L -o opensourcecobol4j-v1.1.4.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.4.tar.gz
56+
tar zxvf opensourcecobol4j-v1.1.4.tar.gz
57+
cd opensourcecobol4j-1.1.4
5858
./configure --prefix=/usr/
5959
make
6060
sudo make install
@@ -125,7 +125,7 @@ https://www.oracle.com/java/technologies/downloads/?er=221886#java8-windows
125125
The docker container for opensource COBOL 4J is available.
126126
127127
```bash
128-
docker pull opensourcecobol/opensourcecobol4j:1.1.3
128+
docker pull opensourcecobol/opensourcecobol4j:1.1.4
129129
```
130130

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

README_JP.md

+4-4
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.3.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.3.tar.gz
50-
tar zxvf opensourcecobol4j-v1.1.3.tar.gz
51-
cd opensourcecobol4j-1.1.3
49+
curl -L -o opensourcecobol4j-v1.1.4.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.4.tar.gz
50+
tar zxvf opensourcecobol4j-v1.1.4.tar.gz
51+
cd opensourcecobol4j-1.1.4
5252
./configure --prefix=/usr/
5353
make
5454
sudo make install
@@ -114,7 +114,7 @@ Windows版のopensource COBOL 4JはVisual Studioに含まれるCLコンパイラ
114114
opensource COBOL 4JのDockerコンテナを利用できます。
115115
116116
```bash
117-
docker pull opensourcecobol/opensourcecobol4j:1.1.3
117+
docker pull opensourcecobol/opensourcecobol4j:1.1.4
118118
```
119119

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

ReleaseNote.md

+12-16
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
1-
### Added
2-
* Add a new option `-variable`
3-
* With `-variable`, cobj allows 73 or more characters for each lines
4-
* Add documentations that describe the structure of libcobj and generated Java files
5-
* Add Visual Studio Code Dev Container of opensource COBOL 4J
6-
71
### Fixed
8-
* Fix a build error of opensource COBOL 4J on Windows 10
9-
* Fix a build error of opensource COBOL 4J on Docker
10-
* Fix `cobj-api`
11-
* `cobj-api` previously generated invalid constructors in record classses
12-
* Fix typos of `cobj-idx` command
13-
* Fix a command line option `-fserial-variable`
14-
15-
### Miscellaneous
16-
* Improve the readability of variable names containing multi-byte characters
17-
* Convert some EVALUATE statements to switch statements
2+
* Process Japanese identifiers in COBOL correctly.
3+
* The older versions convert some Japanese characters in COBOL identifiers to another characters in Java.
4+
* Fix the conditions `PERFORM UNTIL`.
5+
* If COBOL source code contains divisions in conditions of `PERFORM UNTIL`, the older versions emit compile errors.
6+
* Fix `SEARCH` statements with data specified `OCCURS` and `DEPENDING`.
7+
* The older versions emit compile errors when `SEARCH` statements with data specified `OCCURS` and `DEPENDING`
8+
* Fix `ADD` statements and `SUBTRACT` statements.
9+
* In some case, the result of `SUBTRACT` was previously incorrect when the operands contais PIC S9(n) negative values.
10+
* In some case, the result of `ADD` was -0 instead of +0 previously.
11+
* Fix the process of checking signs of PIC 9(n) containing spaces.
12+
* Fix `INSPECT` statements.
13+
* The older versions change signs of some values accidentally because of the bug of `INSPECT` statements.

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.3.
3+
# Generated by GNU Autoconf 2.69 for opensource COBOL 4J 1.1.4.
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.3'
593-
PACKAGE_VERSION='1.1.3'
594-
PACKAGE_STRING='opensource COBOL 4J 1.1.3'
592+
PACKAGE_TARNAME='opensource-cobol-4j-1.1.4'
593+
PACKAGE_VERSION='1.1.4'
594+
PACKAGE_STRING='opensource COBOL 4J 1.1.4'
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.3 to adapt to many kinds of systems.
1385+
\`configure' configures opensource COBOL 4J 1.1.4 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.3]
1435+
[DATAROOTDIR/doc/opensource-cobol-4j-1.1.4]
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.3:";;
1457+
short | recursive ) echo "Configuration of opensource COBOL 4J 1.1.4:";;
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.3
1584+
opensource COBOL 4J configure 1.1.4
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.3, which was
2136+
It was created by opensource COBOL 4J $as_me 1.1.4, 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.3'
3028-
VERSION='1.1.3'
3027+
PACKAGE='opensource-cobol-4j-1.1.4'
3028+
VERSION='1.1.4'
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.3, which was
23449+
This file was extended by opensource COBOL 4J $as_me 1.1.4, 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.3
23515+
opensource COBOL 4J config.status 1.1.4
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.3],[[email protected]],[opensource-cobol-4j-1.1.3])
22+
AC_INIT([opensource COBOL 4J],[1.1.4],[[email protected]],[opensource-cobol-4j-1.1.4])
2323
AC_CONFIG_SRCDIR([libcobj.h])
2424
AC_CONFIG_HEADERS([config.h])
2525
AC_CONFIG_TESTDIR([tests])

doc/requirements-all.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
| version (opensource COBOL 4J) | OS | version (JDK) |
22
| -- | -- | -- |
3+
| 1.1.4 | Windows | 21 |
4+
| 1.1.4 | Ubuntu 24.04 | 21 |
5+
| 1.1.4 | AlmaLinux 9 | 11 |
6+
| 1.1.4 | Amazon Linux 2023 | 21 |
37
| 1.1.3 | Windows | 21 |
48
| 1.1.3 | Ubuntu 24.04 | 21 |
59
| 1.1.3 | 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.3"
83+
version = "1.1.4"
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.3";
26+
public static final String version = "1.1.4";
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.3");
49+
System.out.println("1.1.4");
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.3",
31+
"opensourcecobol4j_version": "1.1.4",
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.3",
48+
"opensourcecobol4j_version": "1.1.4",
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.3",
67+
"opensourcecobol4j_version": "1.1.4",
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.3",
84+
"opensourcecobol4j_version": "1.1.4",
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.3])
4-
m4_define([AT_PACKAGE_VERSION], [1.1.3])
5-
m4_define([AT_PACKAGE_STRING], [opensource COBOL 4J 1.1.3])
3+
m4_define([AT_PACKAGE_TARNAME], [opensource-cobol-4j-1.1.4])
4+
m4_define([AT_PACKAGE_VERSION], [1.1.4])
5+
m4_define([AT_PACKAGE_STRING], [opensource COBOL 4J 1.1.4])
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.3"
302+
#define PACKAGE "opensource-cobol4j-1.1.4"
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.3"
311+
#define PACKAGE_STRING "opensource COBOL 4J 1.1.4"
312312

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

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

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

0 commit comments

Comments
 (0)