Skip to content

Release 1.0.14 #215

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:

- name: Install opensource COBOL 4J
run: |
curl -L -k -o libcobj/sqlite-jdbc/sqlite.jar https://git.1-hub.cnxerial/sqlite-jdbc/releases/download/3.36.0.3/sqlite-jdbc-3.36.0.3.jar
./configure --prefix=/usr/
make
make install
Expand Down Expand Up @@ -117,6 +118,7 @@ jobs:
- name: Install opensource COBOL 4J
run: |
sudo apt install -y build-essential bison flex gettext texinfo automake autoconf
curl -L -k -o libcobj/sqlite-jdbc/sqlite.jar https://git.1-hub.cnxerial/sqlite-jdbc/releases/download/3.36.0.3/sqlite-jdbc-3.36.0.3.jar
./configure --prefix=/usr/
make
sudo make install
Expand All @@ -125,7 +127,6 @@ jobs:
run: |
export PATH_GOOGLE_JAVA_FORMAT=${PWD}/google-java-format.jar
./check-format
echo $?

- name: Run SpotBugs
run: |
Expand Down
97 changes: 97 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: Make a coverate report

on:
push:
pull_request:
types: [opened, reopened, review_requested, synchronize]
workflow_dispatch:

env:
CLASSPATH: ":/usr/lib/opensourcecobol4j/libcobj.jar:/usr/lib/opensourcecobol4j/sqlite.jar"

jobs:
run-tests:
runs-on: ubuntu-latest
steps:

- name: Install dependencies on Ubuntu 22.04
run: |
sudo apt update -y
sudo apt install -y default-jdk build-essential bison flex gettext texinfo automake autoconf gcovr

- name: Checkout opensource COBOL 4J
uses: actions/checkout@v3

- name: Install opensource COBOL 4J
run: |
curl -L -k -o libcobj/sqlite-jdbc/sqlite.jar https://git.1-hub.cnxerial/sqlite-jdbc/releases/download/3.36.0.3/sqlite-jdbc-3.36.0.3.jar
./configure CFLAGS='-fprofile-arcs -ftest-coverage' --prefix=/usr/
make
sudo make install

#- name: Run tests "command-line-options"
# run: |
# cd tests/
# ./command-line-options

#- name: Run tests "misc"
# run: |
# cd tests/
# ./misc

#- name: Run tests "data-rep"
# run: |
# cd tests/
# ./data-rep

#- name: Run tests "i18n_sjis"
# run: |
# cd tests/
# ./i18n_sjis

#- name: Run tests "jp-compat"
# run: |
# cd tests/
# ./jp-compat

#- name: Run tests "run"
# run: |
# cd tests/
# ./run

#- name: Run tests "syntax"
# run: |
# cd tests/
# ./syntax

#- name: Run NIST test
# run: |
# cd tests/cobol85
# make test

#- name: Run Extra NIST test
# run: |
# cd tests/cobol85
# make test-extra

# #- name: Run tests "i18n_utf8"
# # run: |
# # ./configure --prefix=/usr/ --with-vbisam --enable-utf8
# # make
# # make install
# # ./i18n_utf8 || true
# # cd ../

#- name: Make a coverage report
# run: |
# cd cobj
# gcov -l *.gcda
# gcovr -r . --html -o report.html
# mkdir coverage-report
# cp *.gcno *.gcda *.gcov report.html coverage-report

#- name: Archive a coverage report
# uses: actions/upload-artifact@v3
# with:
# name: code-coverage-report
# path: cobj/coverage-report/
96 changes: 0 additions & 96 deletions .github/workflows/coverate.yml

This file was deleted.

10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [1.0.14] - 2023-08-31
### Added
- Add `-jar` and `-single-jar` option (#171)
- Add FUNCTION COMBINED-DATETIM (#207)
- Add FUNCTION CONCATENATE (#212)
### Fixed
- Fix INDEXED files (#203)
- Fix comparison of PIC N (#208)
### Changed
- Improve the readability of CALL statements (#202)
## [1.0.13] - 2023-07-31
### Added
- Add new options
Expand Down
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2023-08-31 OSS Consortium <ws-opensource-cobol-contact@osscons.jp>

* opensource COBOL 4J v1.0.14 released.

2023-07-31 OSS Consortium <ws-opensource-cobol-contact@osscons.jp>

* opensource COBOL 4J v1.0.13 released.
Expand Down
16 changes: 16 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@ NEWS - user visible changes -*- outline -*-

-----------------------------------------------------------------------

* opensource COBOL 4J 1.0.14

** New Features
(1) Add `-jar` and `-single-jar` option
(2) Add FUNCTION COMBINED-DATETIM
(3) Add FUNCTION CONCATENATE

** Bug fixes
(1) Fix INDEXED files
(2) Fix comparison of PIC N

** Miscellaneous
(1) Improve the readability of CALL statements

-----------------------------------------------------------------------

* opensource COBOL 4J 1.0.13

** New Features
Expand Down
26 changes: 13 additions & 13 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.71 for opensource COBOL 4J 1.0.13.
# Generated by GNU Autoconf 2.71 for opensource COBOL 4J 1.0.14.
#
# Report bugs to <ws-opensource-cobol-contact@osscons.jp>.
#
Expand Down Expand Up @@ -620,9 +620,9 @@ MAKEFLAGS=

# Identity of this package.
PACKAGE_NAME='opensource COBOL 4J'
PACKAGE_TARNAME='opensource-cobol-4j-1.0.13'
PACKAGE_VERSION='1.0.13'
PACKAGE_STRING='opensource COBOL 4J 1.0.13'
PACKAGE_TARNAME='opensource-cobol-4j-1.0.14'
PACKAGE_VERSION='1.0.14'
PACKAGE_STRING='opensource COBOL 4J 1.0.14'
PACKAGE_BUGREPORT='ws-opensource-cobol-contact@osscons.jp'
PACKAGE_URL=''

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

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

Expand Down Expand Up @@ -1464,7 +1464,7 @@ Fine tuning of the installation directories:
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root
[DATAROOTDIR/doc/opensource-cobol-4j-1.0.13]
[DATAROOTDIR/doc/opensource-cobol-4j-1.0.14]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
Expand All @@ -1486,7 +1486,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of opensource COBOL 4J 1.0.13:";;
short | recursive ) echo "Configuration of opensource COBOL 4J 1.0.14:";;
esac
cat <<\_ACEOF

Expand Down Expand Up @@ -1617,7 +1617,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
opensource COBOL 4J configure 1.0.13
opensource COBOL 4J configure 1.0.14
generated by GNU Autoconf 2.71

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

It was created by opensource COBOL 4J $as_me 1.0.13, which was
It was created by opensource COBOL 4J $as_me 1.0.14, which was
generated by GNU Autoconf 2.71. Invocation command line was

$ $0$ac_configure_args_raw
Expand Down Expand Up @@ -3403,8 +3403,8 @@ fi


# Define the identity of the package.
PACKAGE='opensource-cobol-4j-1.0.13'
VERSION='1.0.13'
PACKAGE='opensource-cobol-4j-1.0.14'
VERSION='1.0.14'


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

CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -25435,7 +25435,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
opensource COBOL 4J config.status 1.0.13
opensource COBOL 4J config.status 1.0.14
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

AC_PREREQ(2.59)

AC_INIT([opensource COBOL 4J],[1.0.13],[ws-opensource-cobol-contact@osscons.jp],[opensource-cobol-4j-1.0.13])
AC_INIT([opensource COBOL 4J],[1.0.14],[ws-opensource-cobol-contact@osscons.jp],[opensource-cobol-4j-1.0.14])
AC_CONFIG_SRCDIR([libcobj.h])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_TESTDIR([tests])
Expand Down
2 changes: 2 additions & 0 deletions libcobj/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/bin/
output/
sqlite/sqlite.jar
*.class
Empty file added libcobj/sqlite-jdbc/.gitkeep
Empty file.
Loading