Skip to content

Commit 333d880

Browse files
Release 1.1.5 (#566)
1 parent 3acf3e4 commit 333d880

File tree

14 files changed

+79
-49
lines changed

14 files changed

+79
-49
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

77

8+
## [1.1.5] - 2024-12-27
9+
10+
### Add
11+
12+
* Convert string literals containing SJIS characters to Java string literals. (#561)
13+
* The older versions convert string literals containing SJIS characters into byte arrays with hexdecimal integers.
14+
* Older versions convert `"日本語"` into `CobolUtil.toBytes((byte)0x93, (byte)0xfa, (byte)0x96, (byte)0x7b, (byte)0x8c, (byte)0xea)`.
15+
* Latest version converts `"日本語"` to `CobolUtil.stringToBytes("日本語")`.
16+
17+
### Fix
18+
19+
* Fix comparisons of COMP data. (#559)
20+
* With older versions, comparisons of COMP data are invalid in some cases.
21+
822
## [1.1.4] - 2024-11-29
923

1024
### Fix

ChangeLog

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2024-12-27 OSS Consortium <ws-opensource-cobol-contact@osscons.jp>
2+
3+
* opensource COBOL 4J v1.1.5 released.
4+
15
2024-11-29 OSS Consortium <ws-opensource-cobol-contact@osscons.jp>
26

37
* opensource COBOL 4J v1.1.4 released.

NEWS

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

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

5+
** New Features
6+
7+
(1) Convert string literals containing SJIS characters to Java string literals. (#561)
8+
* The older versions convert string literals containing SJIS characters into byte arrays with hexdecimal integers.
9+
* Older versions convert `"日本語"` into `CobolUtil.toBytes((byte)0x93, (byte)0xfa, (byte)0x96, (byte)0x7b, (byte)0x8c, (byte)0xea)`.
10+
* Latest version converts `"日本語"` to `CobolUtil.stringToBytes("日本語")`.
11+
12+
** Bug Fixes
13+
14+
(1) Fix comparisons of COMP data.
15+
* With older versions, comparisons of COMP data are invalid in some cases.
16+
17+
-----------------------------------------------------------------------
18+
519
* opensource COBOL 4J 1.1.4
620

721
*** Bug Fixes

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.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
55+
curl -L -o opensourcecobol4j-v1.1.5.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.5.tar.gz
56+
tar zxvf opensourcecobol4j-v1.1.5.tar.gz
57+
cd opensourcecobol4j-1.1.5
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.4
128+
docker pull opensourcecobol/opensourcecobol4j:1.1.5
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.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
49+
curl -L -o opensourcecobol4j-v1.1.5.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.5.tar.gz
50+
tar zxvf opensourcecobol4j-v1.1.5.tar.gz
51+
cd opensourcecobol4j-1.1.5
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.4
117+
docker pull opensourcecobol/opensourcecobol4j:1.1.5
118118
```
119119

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

ReleaseNote.md

+11-13
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
### Fixed
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.
1+
### Add
2+
3+
* Convert string literals containing SJIS characters to Java string literals.
4+
* The older versions convert string literals containing SJIS characters into byte arrays with hexdecimal integers.
5+
* Older versions convert `"日本語"` into `CobolUtil.toBytes((byte)0x93, (byte)0xfa, (byte)0x96, (byte)0x7b, (byte)0x8c, (byte)0xea)`.
6+
* Latest version converts `"日本語"` to `CobolUtil.stringToBytes("日本語")`.
7+
8+
### Fix
9+
10+
* Fix comparisons of COMP data.
11+
* With older versions, comparisons of COMP data are invalid 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.4.
3+
# Generated by GNU Autoconf 2.69 for opensource COBOL 4J 1.1.5.
44
#
55
# Report bugs to <ws-opensource-cobol-contact@osscons.jp>.
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.4'
593-
PACKAGE_VERSION='1.1.4'
594-
PACKAGE_STRING='opensource COBOL 4J 1.1.4'
592+
PACKAGE_TARNAME='opensource-cobol-4j-1.1.5'
593+
PACKAGE_VERSION='1.1.5'
594+
PACKAGE_STRING='opensource COBOL 4J 1.1.5'
595595
PACKAGE_BUGREPORT='ws-opensource-cobol-contact@osscons.jp'
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.4 to adapt to many kinds of systems.
1385+
\`configure' configures opensource COBOL 4J 1.1.5 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.4]
1435+
[DATAROOTDIR/doc/opensource-cobol-4j-1.1.5]
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.4:";;
1457+
short | recursive ) echo "Configuration of opensource COBOL 4J 1.1.5:";;
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.4
1584+
opensource COBOL 4J configure 1.1.5
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.4, which was
2136+
It was created by opensource COBOL 4J $as_me 1.1.5, 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.4'
3028-
VERSION='1.1.4'
3027+
PACKAGE='opensource-cobol-4j-1.1.5'
3028+
VERSION='1.1.5'
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.4, which was
23449+
This file was extended by opensource COBOL 4J $as_me 1.1.5, 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.4
23515+
opensource COBOL 4J config.status 1.1.5
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.4],[ws-opensource-cobol-contact@osscons.jp],[opensource-cobol-4j-1.1.4])
22+
AC_INIT([opensource COBOL 4J],[1.1.5],[ws-opensource-cobol-contact@osscons.jp],[opensource-cobol-4j-1.1.5])
2323
AC_CONFIG_SRCDIR([libcobj.h])
2424
AC_CONFIG_HEADERS([config.h])
2525
AC_CONFIG_TESTDIR([tests])

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.4"
83+
version = "1.1.5"
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.4";
26+
public static final String version = "1.1.5";
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.4");
49+
System.out.println("1.1.5");
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.4",
31+
"opensourcecobol4j_version": "1.1.5",
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.4",
48+
"opensourcecobol4j_version": "1.1.5",
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.4",
67+
"opensourcecobol4j_version": "1.1.5",
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.4",
84+
"opensourcecobol4j_version": "1.1.5",
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.4])
4-
m4_define([AT_PACKAGE_VERSION], [1.1.4])
5-
m4_define([AT_PACKAGE_STRING], [opensource COBOL 4J 1.1.4])
3+
m4_define([AT_PACKAGE_TARNAME], [opensource-cobol-4j-1.1.5])
4+
m4_define([AT_PACKAGE_VERSION], [1.1.5])
5+
m4_define([AT_PACKAGE_STRING], [opensource COBOL 4J 1.1.5])
66
m4_define([AT_PACKAGE_BUGREPORT], [ws-opensource-cobol-contact@osscons.jp])

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.4"
302+
#define PACKAGE "opensource-cobol4j-1.1.5"
303303

304304
/* Define to the address where bug reports for this package should be sent. */
305305
#define PACKAGE_BUGREPORT "ws-opensource-cobol-contact@osscons.jp"
@@ -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.4"
311+
#define PACKAGE_STRING "opensource COBOL 4J 1.1.5"
312312

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

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

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

0 commit comments

Comments
 (0)