Skip to content

Commit 83149fb

Browse files
Release 1.0.14 (#215)
1 parent 18ac914 commit 83149fb

File tree

13 files changed

+148
-138
lines changed

13 files changed

+148
-138
lines changed

.github/workflows/cicd.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535

3636
- name: Install opensource COBOL 4J
3737
run: |
38+
curl -L -k -o libcobj/sqlite-jdbc/sqlite.jar https://github.com/xerial/sqlite-jdbc/releases/download/3.36.0.3/sqlite-jdbc-3.36.0.3.jar
3839
./configure --prefix=/usr/
3940
make
4041
make install
@@ -117,6 +118,7 @@ jobs:
117118
- name: Install opensource COBOL 4J
118119
run: |
119120
sudo apt install -y build-essential bison flex gettext texinfo automake autoconf
121+
curl -L -k -o libcobj/sqlite-jdbc/sqlite.jar https://github.com/xerial/sqlite-jdbc/releases/download/3.36.0.3/sqlite-jdbc-3.36.0.3.jar
120122
./configure --prefix=/usr/
121123
make
122124
sudo make install
@@ -125,7 +127,6 @@ jobs:
125127
run: |
126128
export PATH_GOOGLE_JAVA_FORMAT=${PWD}/google-java-format.jar
127129
./check-format
128-
echo $?
129130
130131
- name: Run SpotBugs
131132
run: |

.github/workflows/coverage.yml

+97
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
name: Make a coverate report
2+
3+
on:
4+
push:
5+
pull_request:
6+
types: [opened, reopened, review_requested, synchronize]
7+
workflow_dispatch:
8+
9+
env:
10+
CLASSPATH: ":/usr/lib/opensourcecobol4j/libcobj.jar:/usr/lib/opensourcecobol4j/sqlite.jar"
11+
12+
jobs:
13+
run-tests:
14+
runs-on: ubuntu-latest
15+
steps:
16+
17+
- name: Install dependencies on Ubuntu 22.04
18+
run: |
19+
sudo apt update -y
20+
sudo apt install -y default-jdk build-essential bison flex gettext texinfo automake autoconf gcovr
21+
22+
- name: Checkout opensource COBOL 4J
23+
uses: actions/checkout@v3
24+
25+
- name: Install opensource COBOL 4J
26+
run: |
27+
curl -L -k -o libcobj/sqlite-jdbc/sqlite.jar https://github.com/xerial/sqlite-jdbc/releases/download/3.36.0.3/sqlite-jdbc-3.36.0.3.jar
28+
./configure CFLAGS='-fprofile-arcs -ftest-coverage' --prefix=/usr/
29+
make
30+
sudo make install
31+
32+
#- name: Run tests "command-line-options"
33+
# run: |
34+
# cd tests/
35+
# ./command-line-options
36+
37+
#- name: Run tests "misc"
38+
# run: |
39+
# cd tests/
40+
# ./misc
41+
42+
#- name: Run tests "data-rep"
43+
# run: |
44+
# cd tests/
45+
# ./data-rep
46+
47+
#- name: Run tests "i18n_sjis"
48+
# run: |
49+
# cd tests/
50+
# ./i18n_sjis
51+
52+
#- name: Run tests "jp-compat"
53+
# run: |
54+
# cd tests/
55+
# ./jp-compat
56+
57+
#- name: Run tests "run"
58+
# run: |
59+
# cd tests/
60+
# ./run
61+
62+
#- name: Run tests "syntax"
63+
# run: |
64+
# cd tests/
65+
# ./syntax
66+
67+
#- name: Run NIST test
68+
# run: |
69+
# cd tests/cobol85
70+
# make test
71+
72+
#- name: Run Extra NIST test
73+
# run: |
74+
# cd tests/cobol85
75+
# make test-extra
76+
77+
# #- name: Run tests "i18n_utf8"
78+
# # run: |
79+
# # ./configure --prefix=/usr/ --with-vbisam --enable-utf8
80+
# # make
81+
# # make install
82+
# # ./i18n_utf8 || true
83+
# # cd ../
84+
85+
#- name: Make a coverage report
86+
# run: |
87+
# cd cobj
88+
# gcov -l *.gcda
89+
# gcovr -r . --html -o report.html
90+
# mkdir coverage-report
91+
# cp *.gcno *.gcda *.gcov report.html coverage-report
92+
93+
#- name: Archive a coverage report
94+
# uses: actions/upload-artifact@v3
95+
# with:
96+
# name: code-coverage-report
97+
# path: cobj/coverage-report/

.github/workflows/coverate.yml

-96
This file was deleted.

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ 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.0.14] - 2023-08-31
8+
### Added
9+
- Add `-jar` and `-single-jar` option (#171)
10+
- Add FUNCTION COMBINED-DATETIM (#207)
11+
- Add FUNCTION CONCATENATE (#212)
12+
### Fixed
13+
- Fix INDEXED files (#203)
14+
- Fix comparison of PIC N (#208)
15+
### Changed
16+
- Improve the readability of CALL statements (#202)
717
## [1.0.13] - 2023-07-31
818
### Added
919
- Add new options

ChangeLog

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

37
* opensource COBOL 4J v1.0.13 released.

NEWS

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

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

5+
* opensource COBOL 4J 1.0.14
6+
7+
** New Features
8+
(1) Add `-jar` and `-single-jar` option
9+
(2) Add FUNCTION COMBINED-DATETIM
10+
(3) Add FUNCTION CONCATENATE
11+
12+
** Bug fixes
13+
(1) Fix INDEXED files
14+
(2) Fix comparison of PIC N
15+
16+
** Miscellaneous
17+
(1) Improve the readability of CALL statements
18+
19+
-----------------------------------------------------------------------
20+
521
* opensource COBOL 4J 1.0.13
622

723
** New Features

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.71 for opensource COBOL 4J 1.0.13.
3+
# Generated by GNU Autoconf 2.71 for opensource COBOL 4J 1.0.14.
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.13'
624-
PACKAGE_VERSION='1.0.13'
625-
PACKAGE_STRING='opensource COBOL 4J 1.0.13'
623+
PACKAGE_TARNAME='opensource-cobol-4j-1.0.14'
624+
PACKAGE_VERSION='1.0.14'
625+
PACKAGE_STRING='opensource COBOL 4J 1.0.14'
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.13 to adapt to many kinds of systems.
1417+
\`configure' configures opensource COBOL 4J 1.0.14 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.13]
1467+
[DATAROOTDIR/doc/opensource-cobol-4j-1.0.14]
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.13:";;
1489+
short | recursive ) echo "Configuration of opensource COBOL 4J 1.0.14:";;
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.13
1620+
opensource COBOL 4J configure 1.0.14
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.13, which was
2108+
It was created by opensource COBOL 4J $as_me 1.0.14, 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.13'
3407-
VERSION='1.0.13'
3406+
PACKAGE='opensource-cobol-4j-1.0.14'
3407+
VERSION='1.0.14'
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.13, which was
25370+
This file was extended by opensource COBOL 4J $as_me 1.0.14, 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.13
25438+
opensource COBOL 4J config.status 1.0.14
2543925439
configured by $0, generated by GNU Autoconf 2.71,
2544025440
with options \\"\$ac_cs_config\\"
2544125441

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.0.13],[ws-opensource-cobol-contact@osscons.jp],[opensource-cobol-4j-1.0.13])
22+
AC_INIT([opensource COBOL 4J],[1.0.14],[ws-opensource-cobol-contact@osscons.jp],[opensource-cobol-4j-1.0.14])
2323
AC_CONFIG_SRCDIR([libcobj.h])
2424
AC_CONFIG_HEADERS([config.h])
2525
AC_CONFIG_TESTDIR([tests])

libcobj/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
/bin/
22
output/
3+
sqlite/sqlite.jar
4+
*.class

libcobj/sqlite-jdbc/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)