Skip to content

Commit d4a5cf3

Browse files
Relsease v1.0.18 (#281)
1 parent 599dbd5 commit d4a5cf3

40 files changed

+120
-1814
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,13 @@ jobs:
1414
image: ${{ inputs.os }}
1515
steps:
1616
- uses: actions/setup-java@v3
17-
if: inputs.os != 'amazonlinux:2023'
17+
if: inputs.os == 'ubuntu:22.04'
18+
with:
19+
distribution: 'temurin'
20+
java-version: '21'
21+
22+
- uses: actions/setup-java@v3
23+
if: inputs.os == 'almalinux:9'
1824
with:
1925
distribution: 'temurin'
2026
java-version: '11'
@@ -35,12 +41,7 @@ jobs:
3541
if: inputs.os == 'amazonlinux:2023'
3642
run: |
3743
dnf -y update
38-
dnf install -y gcc make bison flex automake autoconf diffutils gettext tar gzip
39-
40-
- name: Install Java
41-
if: inputs.os == 'amazonlinux:2023'
42-
run: |
43-
dnf install -y java-11-amazon-corretto-devel
44+
dnf install -y java-21-amazon-corretto-devel gcc make bison flex automake autoconf diffutils gettext tar gzip
4445
4546
- name: Checkout opensource COBOL 4J
4647
uses: actions/checkout@v3

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ 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-
## [Unreleased]
7+
## [1.0.18] - 2023-12-26
88
### Added
99
* Support Amazon Linux 2023 (#282)
1010
* Implement runtime numeric checkings (#253)
1111
* Implement sorting a table based on ebcdic (#254)
1212
* Implement KEY IS option of SORT statements (#259)
1313
* Add documents that describes installations and requirements (#256)
1414
* Implement the environemt variable COB_NIBBLE_C_UNSIGNED (#258)
15-
* Add intrinsic functions
15+
* Add built-in subroutines
1616
* `C$CALLEDBY` (#262)
1717
* `C$LIST-DIRECTORY` (#264)
1818
* Implement `NUMBER-OF-PARAMETERS` (#270)
@@ -23,7 +23,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
2323
* Fix error handlings of 0 divisions (#273)
2424
* Fix an error of comparing large numbers (#275)
2525
* Fix checkings for subscripts (#277)
26-
* Fix FUNCTION VARIANCE and a test case of FUNCTION SQRT (#280)
26+
* Fix FUNCTION VARIANCE (#280)
2727
### Optimized
2828
* Optimize the file reading process (#257)
2929

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2023-12-26 OSS Consortium <ws-opensource-cobol-contact@osscons.jp>
2+
3+
* opensource COBOL 4J v1.0.18 released.
4+
15
2023-11-28 OSS Consortium <ws-opensource-cobol-contact@osscons.jp>
26

37
* opensource COBOL 4J v1.0.17 released.

NEWS

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,32 @@ NEWS - user visible changes -*- outline -*-
22

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

5+
* opensource COBOL 4J 1.0.18
6+
7+
** New Features
8+
(1) Support Amazon Linux 2023
9+
(2) Implement runtime numeric checkings
10+
(3) Implement sorting a table based on ebcdic
11+
(4) Implement KEY IS option of SORT statements
12+
(5) Add documents that describes installations and requirements
13+
(6) Implement the environemt variable COB_NIBBLE_C_UNSIGNED
14+
(7) Add built-in subroutines
15+
(a) `C$CALLEDBY`
16+
(b) `C$LIST-DIRECTORY`
17+
(8) Implement `NUMBER-OF-PARAMETERS`
18+
** Bug fixes
19+
(1) Fix the message of COB_VERBOSE file sort
20+
(2) Fix the process that checks MOVE statements
21+
(3) Fix `INSPECT` statement
22+
(4) Fix error handlings of 0 divisions
23+
(5) Fix an error of comparing large numbers
24+
(6) Fix checkings for subscripts
25+
(7) Fix FUNCTION VARIANCE
26+
** Miscellaneous
27+
(1) Optimize the file reading process
28+
29+
-----------------------------------------------------------------------
30+
531
* opensource COBOL 4J 1.0.17
632

733
** New Features
@@ -26,7 +52,7 @@ NEWS - user visible changes -*- outline -*-
2652
(e) STORED-CHAR-LENGTH
2753
(f) TRIM
2854

29-
** Bug fixes Fixed
55+
** Bug fixes
3056
(1) Fix `DECIMAL POINT IS COMMA` in `SPECIAL NAMES` clause.
3157

3258
-----------------------------------------------------------------------

README.md

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ Other software and libraries are distributed under the GNU GENERAL PUBLIC LICENS
1717

1818
opensource COBOL 4J is tested with the following platforms and dependencies
1919

20-
* Ubuntu 22.04 and AlmaLinux 9
21-
* OpenJDK 11
20+
* Ubuntu 22.04 and OpenJDK 21
21+
* AlmaLinux 9 and OpenJDK 11
22+
* Amazon Linux 2023 and OpenJDK 21
2223

2324
In order to check requirements of older versions,
2425
see [doc/requirements-all.md](./doc/requirements-all.md).
@@ -27,16 +28,34 @@ see [doc/requirements-all.md](./doc/requirements-all.md).
2728

2829
### Install dependencies
2930

31+
Run the following commands.
32+
33+
#### Ubuntu 22.04
34+
3035
```
3136
sudo apt-get update
3237
sudo apt-get install -y default-jdk build-essential bison flex gettext texinfo libgmp-dev autoconf
3338
```
3439

40+
#### AlmaLinux 9
41+
42+
```
43+
dnf -y update
44+
dnf install -y java-11-openjdk-devel gcc make bison flex automake autoconf diffutils gettext
45+
```
46+
47+
#### Amazon Linux 2023
48+
49+
```
50+
dnf -y update
51+
dnf install -y java-21-amazon-corretto-devel gcc make bison flex automake autoconf diffutils gettext tar gzip
52+
```
53+
3554
### Install opensource COBOL 4J
3655
```
37-
curl -L -o opensourcecobol4j-v1.0.17.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.17.tar.gz
38-
tar zxvf opensourcecobol4j-v1.0.17.tar.gz
39-
cd opensourcecobol4j-1.0.17
56+
curl -L -o opensourcecobol4j-v1.0.18.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.18.tar.gz
57+
tar zxvf opensourcecobol4j-v1.0.18.tar.gz
58+
cd opensourcecobol4j-1.0.18
4059
./configure --prefix=/usr/
4160
make
4261
sudo make install
@@ -53,7 +72,7 @@ In order to check installations of older versions,
5372
The docker container for opensource COBOL 4J is available.
5473

5574
```bash
56-
docker pull opensourcecobol/opensourcecobol4j:1.0.17
75+
docker pull opensourcecobol/opensourcecobol4j:1.0.18
5776
```
5877

5978
Execute the following commands in order to run the "Hello World" COBOL program.
@@ -134,7 +153,7 @@ rw 4 0 4 0 0 0 0 0 0 REPORT
134153
total 21 0 21 0 0 0 0 0 0
135154
```
136155

137-
# Contributing
156+
## Contributing
138157

139158
Guidelines for contributing to opensource COBOL 4J can be found in [CONTRIBUTING.md](./CONTRIBUTING.md).
140159
Contributors are listed in https://github.com/opensourcecobol/opensourcecobol4j/graphs/contributors

README_JP.md

Lines changed: 34 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,52 +14,69 @@ opensource COBOL 4JはCOBOLからCに変換するCOBOLコンパイラ["opensourc
1414

1515
opensource COBOL 4J は下記の環境でテストされています.
1616

17-
* Ubuntu 22.04 および AlmaLinux 9
18-
* OpenJDK 11
17+
* Ubuntu 22.04 と OpenJDK 21
18+
* AlmaLinux 9 と OpenJDK 11
19+
* Amazon Linux 2023 と OpenJDK 21
1920

2021
古いバージョンの動作環境については、[doc/requirements-all.md](./doc/requirements-all.md)をご覧ください.
2122

2223

2324
## インストール
2425

25-
opensource COBOL 4J v1.0.17はUbuntuとAlmaLinuxで動作を確認しています.
26+
opensource COBOL 4J v1.0.18はUbuntuとAlmaLinuxで動作を確認しています.
2627

27-
# 手動インストール
28+
## 手動インストール
2829

29-
## 依存ライブラリのインストール
30+
### 依存ライブラリのインストール
3031

31-
下記のコマンドを実行する
32+
下記のコマンドを実行する.
33+
34+
#### Ubuntu 22.04
3235

3336
```
3437
sudo apt-get update
3538
sudo apt-get install -y default-jdk build-essential bison flex gettext texinfo libgmp-dev autoconf
3639
```
3740

38-
## opensource COBOL 4Jのインストール
41+
#### AlmaLinux 9
42+
43+
```
44+
dnf -y update
45+
dnf install -y java-11-openjdk-devel gcc make bison flex automake autoconf diffutils gettext
46+
```
47+
48+
#### Amazon Linux 2023
49+
50+
```
51+
dnf -y update
52+
dnf install -y java-21-amazon-corretto-devel gcc make bison flex automake autoconf diffutils gettext tar gzip
53+
```
54+
55+
### opensource COBOL 4Jのインストール
3956

4057
下記のコマンドを実行する
4158

4259
```
43-
curl -L -o opensourcecobol4j-v1.0.17.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.17.tar.gz
44-
tar zxvf opensourcecobol4j-v1.0.17.tar.gz
45-
cd opensourcecobol4j-1.0.17
60+
curl -L -o opensourcecobol4j-v1.0.18.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.18.tar.gz
61+
tar zxvf opensourcecobol4j-v1.0.18.tar.gz
62+
cd opensourcecobol4j-1.0.18
4663
./configure --prefix=/usr/
4764
make
4865
sudo make install
4966
```
5067

51-
## $CLASSPATHの設定
68+
### $CLASSPATHの設定
5269

5370
/usr/lib/opensourcecobol4j/libcobj.jar を 環境変数$CLASSPATH に追加する.
5471

5572
古いバージョンのインストール方法は、[doc/installation_jp](./doc/installation_jp)をご覧ください.
5673

57-
# Dockerによるインストール
74+
## Dockerによるインストール
5875

59-
opensource COBOL 4J v1.0.17をインストールしたDockerイメージを利用できます.
76+
opensource COBOL 4J v1.0.18をインストールしたDockerイメージを利用できます.
6077

6178
```bash
62-
docker pull opensourcecobol/opensourcecobol4j:1.0.17
79+
docker pull opensourcecobol/opensourcecobol4j:1.0.18
6380
```
6481

6582
コンテナ内で下記のコマンドを実行すると、Hello Worldプログラムをコンパイル&実行できる。
@@ -103,9 +120,9 @@ java [PROGRAM-ID]
103120
* SORT文
104121
* 組み込み関数 (ACOS, LENGTH, MAX, ...)
105122

106-
# テストのステータス
123+
## テストのステータス
107124

108-
## NIST COBOL85 test suite
125+
### NIST COBOL85 test suite
109126

110127
opensource COBOL 4Jは[NIST COBOL85 test suite](https://www.itl.nist.gov/div897/ctg/cobol_fo
111128
rm.htm)によりテストされています。
@@ -143,7 +160,7 @@ rw 4 0 4 0 0 0 0 0 0 REPORT
143160
total 21 0 21 0 0 0 0 0 0
144161
```
145162

146-
# コントリビューㇳ
163+
## コントリビューㇳ
147164

148165
コントリビュータの一覧は https://github.com/opensourcecobol/opensourcecobol4j/graphs/contributors に掲載されています。
149166
コントリビュータ向けのガイドラインは[CONTRIBUTING_JP.md](./CONTRIBUTING_JP.md)を参照してください。

configure

Lines changed: 13 additions & 13 deletions
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.71 for opensource COBOL 4J 1.0.17.
3+
# Generated by GNU Autoconf 2.71 for opensource COBOL 4J 1.0.18.
44
#
55
# Report bugs to <ws-opensource-cobol-contact@osscons.jp>.
66
#
@@ -620,9 +620,9 @@ MAKEFLAGS=
620620

621621
# Identity of this package.
622622
PACKAGE_NAME='opensource COBOL 4J'
623-
PACKAGE_TARNAME='opensource-cobol-4j-1.0.17'
624-
PACKAGE_VERSION='1.0.17'
625-
PACKAGE_STRING='opensource COBOL 4J 1.0.17'
623+
PACKAGE_TARNAME='opensource-cobol-4j-1.0.18'
624+
PACKAGE_VERSION='1.0.18'
625+
PACKAGE_STRING='opensource COBOL 4J 1.0.18'
626626
PACKAGE_BUGREPORT='ws-opensource-cobol-contact@osscons.jp'
627627
PACKAGE_URL=''
628628

@@ -1414,7 +1414,7 @@ if test "$ac_init_help" = "long"; then
14141414
# Omit some internal or obsolete options to make the list less imposing.
14151415
# This message is too long to be a string in the A/UX 3.1 sh.
14161416
cat <<_ACEOF
1417-
\`configure' configures opensource COBOL 4J 1.0.17 to adapt to many kinds of systems.
1417+
\`configure' configures opensource COBOL 4J 1.0.18 to adapt to many kinds of systems.
14181418

14191419
Usage: $0 [OPTION]... [VAR=VALUE]...
14201420

@@ -1464,7 +1464,7 @@ Fine tuning of the installation directories:
14641464
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
14651465
--mandir=DIR man documentation [DATAROOTDIR/man]
14661466
--docdir=DIR documentation root
1467-
[DATAROOTDIR/doc/opensource-cobol-4j-1.0.17]
1467+
[DATAROOTDIR/doc/opensource-cobol-4j-1.0.18]
14681468
--htmldir=DIR html documentation [DOCDIR]
14691469
--dvidir=DIR dvi documentation [DOCDIR]
14701470
--pdfdir=DIR pdf documentation [DOCDIR]
@@ -1486,7 +1486,7 @@ fi
14861486

14871487
if test -n "$ac_init_help"; then
14881488
case $ac_init_help in
1489-
short | recursive ) echo "Configuration of opensource COBOL 4J 1.0.17:";;
1489+
short | recursive ) echo "Configuration of opensource COBOL 4J 1.0.18:";;
14901490
esac
14911491
cat <<\_ACEOF
14921492

@@ -1617,7 +1617,7 @@ fi
16171617
test -n "$ac_init_help" && exit $ac_status
16181618
if $ac_init_version; then
16191619
cat <<\_ACEOF
1620-
opensource COBOL 4J configure 1.0.17
1620+
opensource COBOL 4J configure 1.0.18
16211621
generated by GNU Autoconf 2.71
16221622

16231623
Copyright (C) 2021 Free Software Foundation, Inc.
@@ -2105,7 +2105,7 @@ cat >config.log <<_ACEOF
21052105
This file contains any messages produced by compilers while
21062106
running configure, to aid debugging if configure makes a mistake.
21072107

2108-
It was created by opensource COBOL 4J $as_me 1.0.17, which was
2108+
It was created by opensource COBOL 4J $as_me 1.0.18, which was
21092109
generated by GNU Autoconf 2.71. Invocation command line was
21102110

21112111
$ $0$ac_configure_args_raw
@@ -3403,8 +3403,8 @@ fi
34033403

34043404

34053405
# Define the identity of the package.
3406-
PACKAGE='opensource-cobol-4j-1.0.17'
3407-
VERSION='1.0.17'
3406+
PACKAGE='opensource-cobol-4j-1.0.18'
3407+
VERSION='1.0.18'
34083408

34093409

34103410
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -25367,7 +25367,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2536725367
# report actual input values of CONFIG_FILES etc. instead of their
2536825368
# values after options handling.
2536925369
ac_log="
25370-
This file was extended by opensource COBOL 4J $as_me 1.0.17, which was
25370+
This file was extended by opensource COBOL 4J $as_me 1.0.18, which was
2537125371
generated by GNU Autoconf 2.71. Invocation command line was
2537225372

2537325373
CONFIG_FILES = $CONFIG_FILES
@@ -25435,7 +25435,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
2543525435
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2543625436
ac_cs_config='$ac_cs_config_escaped'
2543725437
ac_cs_version="\\
25438-
opensource COBOL 4J config.status 1.0.17
25438+
opensource COBOL 4J config.status 1.0.18
2543925439
configured by $0, generated by GNU Autoconf 2.71,
2544025440
with options \\"\$ac_cs_config\\"
2544125441

configure.ac

Lines changed: 1 addition & 1 deletion
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.0.17],[ws-opensource-cobol-contact@osscons.jp],[opensource-cobol-4j-1.0.17])
22+
AC_INIT([opensource COBOL 4J],[1.0.18],[ws-opensource-cobol-contact@osscons.jp],[opensource-cobol-4j-1.0.18])
2323
AC_CONFIG_SRCDIR([libcobj.h])
2424
AC_CONFIG_HEADERS([config.h])
2525
AC_CONFIG_TESTDIR([tests])

0 commit comments

Comments
 (0)