Skip to content

Commit a9c7869

Browse files
Release v1.1.3 (#535)
1 parent 6b1f0e7 commit a9c7869

File tree

15 files changed

+103
-45
lines changed

15 files changed

+103
-45
lines changed

CHANGELOG.md

+20
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,26 @@
33
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/).
6+
7+
## [1.1.3] - 2024-10-31
8+
### Add
9+
* Add a new option `-variable` (#513)
10+
* With `-variable`, cobj allows 73 or more characters for each lines
11+
* Add documentations that describe the structure of libcobj and generated Java files (#492)
12+
* Add Visual Studio Code Dev Container of opensource COBOL 4J (#529, #530)
13+
14+
### Fix
15+
* Fix a build error of opensource COBOL 4J on Windows 10 (489)
16+
* Fix a build error of opensource COBOL 4J on Docker (#511)
17+
* Fix `cobj-api` (#528)
18+
* `cobj-api` previously generated invalid constructors in record classses
19+
* Fix typos of `cobj-idx` command (#503)
20+
* Fix a command line option `-fserial-variable` (#534)
21+
22+
### Miscellaneous
23+
* Improve the readability of variable names containing multi-byte characters (#502)
24+
* Convert some EVALUATE statements to switch statements (#504)
25+
626
## [1.1.2] - 2024-07-31
727
### Added
828
* Add a new command line option `-Wtruncate` (#459)

ChangeLog

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2024-10-31 OSS Consortium <ws-opensource-cobol-contact@osscons.jp>
2+
3+
* opensource COBOL 4J v1.1.3 released.
4+
15
2024-07-31 OSS Consortium <ws-opensource-cobol-contact@osscons.jp>
26

37
* opensource COBOL 4J v1.1.2 released.

NEWS

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

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

5+
* opensource COBOL 4J 1.1.3
6+
7+
** New Features
8+
(1) Add a new option `-variable`
9+
* With `-variable`, cobj allows 73 or more characters for each lines
10+
(2) Add documentations that describe the structure of libcobj and generated Java files
11+
(3) Add Visual Studio Code Dev Container of opensource COBOL 4J
12+
13+
** Bug Fixes
14+
(1) Fix a build error of opensource COBOL 4J on Windows 10
15+
(2) Fix a build error of opensource COBOL 4J on Docker
16+
(3) Fix `cobj-api`
17+
* `cobj-api` previously generated invalid constructors in record classses
18+
(4) Fix typos of `cobj-idx` command
19+
(5) Fix a command line option `-fserial-variable`
20+
21+
** Miscellaneous
22+
(1) Improve the readability of variable names containing multi-byte characters
23+
(2) Convert some EVALUATE statements to switch statements
24+
25+
-----------------------------------------------------------------------
26+
527
* opensource COBOL 4J 1.1.2
628

729
** 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.2.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.2.tar.gz
56-
tar zxvf opensourcecobol4j-v1.1.2.tar.gz
57-
cd opensourcecobol4j-1.1.2
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
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.2
128+
docker pull opensourcecobol/opensourcecobol4j:1.1.3
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.2.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.2.tar.gz
50-
tar zxvf opensourcecobol4j-v1.1.2.tar.gz
51-
cd opensourcecobol4j-1.1.2
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
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.2
117+
docker pull opensourcecobol/opensourcecobol4j:1.1.3
118118
```
119119

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

ReleaseNote.md

+17-9
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
1-
# Added
2-
* Add a new command line option `-Wtruncate`.
3-
* When `-Wtruncate` is enabled, cobj warns data truncations of MOVE statements.
4-
# Fix
5-
* Fix `CALL (an integer) BY CONTENT`.
6-
* Change `-m` option so that generated jar files contains only class files. Now `-m` becomes an alias of `-jar`.
7-
* Show an error message when SCREEN SECTION is found.
8-
# Miscellaneous
9-
* Improve code generated by cobj-api.
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+
7+
### 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

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.2.
3+
# Generated by GNU Autoconf 2.69 for opensource COBOL 4J 1.1.3.
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.2'
593-
PACKAGE_VERSION='1.1.2'
594-
PACKAGE_STRING='opensource COBOL 4J 1.1.2'
592+
PACKAGE_TARNAME='opensource-cobol-4j-1.1.3'
593+
PACKAGE_VERSION='1.1.3'
594+
PACKAGE_STRING='opensource COBOL 4J 1.1.3'
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.2 to adapt to many kinds of systems.
1385+
\`configure' configures opensource COBOL 4J 1.1.3 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.2]
1435+
[DATAROOTDIR/doc/opensource-cobol-4j-1.1.3]
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.2:";;
1457+
short | recursive ) echo "Configuration of opensource COBOL 4J 1.1.3:";;
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.2
1584+
opensource COBOL 4J configure 1.1.3
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.2, which was
2136+
It was created by opensource COBOL 4J $as_me 1.1.3, 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.2'
3028-
VERSION='1.1.2'
3027+
PACKAGE='opensource-cobol-4j-1.1.3'
3028+
VERSION='1.1.3'
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.2, which was
23449+
This file was extended by opensource COBOL 4J $as_me 1.1.3, 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.2
23515+
opensource COBOL 4J config.status 1.1.3
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.2],[ws-opensource-cobol-contact@osscons.jp],[opensource-cobol-4j-1.1.2])
22+
AC_INIT([opensource COBOL 4J],[1.1.3],[ws-opensource-cobol-contact@osscons.jp],[opensource-cobol-4j-1.1.3])
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.3 | Windows | 21 |
4+
| 1.1.3 | Ubuntu 24.04 | 21 |
5+
| 1.1.3 | AlmaLinux 9 | 11 |
6+
| 1.1.3 | Amazon Linux 2023 | 21 |
37
| 1.1.2 | Windows | 21 |
48
| 1.1.2 | Ubuntu 24.04 | 21 |
59
| 1.1.2 | 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.2"
83+
version = "1.1.3"
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.2";
26+
public static final String version = "1.1.3";
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.2");
49+
System.out.println("1.1.3");
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.2",
31+
"opensourcecobol4j_version": "1.1.3",
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.2",
48+
"opensourcecobol4j_version": "1.1.3",
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.2",
67+
"opensourcecobol4j_version": "1.1.3",
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.2",
84+
"opensourcecobol4j_version": "1.1.3",
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.2])
4-
m4_define([AT_PACKAGE_VERSION], [1.1.2])
5-
m4_define([AT_PACKAGE_STRING], [opensource COBOL 4J 1.1.2])
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])
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.2"
302+
#define PACKAGE "opensource-cobol4j-1.1.3"
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.2"
311+
#define PACKAGE_STRING "opensource COBOL 4J 1.1.3"
312312

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

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

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

0 commit comments

Comments
 (0)