Skip to content

Releases: opensourcecobol/opensourcecobol4j

v1.1.5

27 Dec 04:54
333d880

Choose a tag to compare

Add

  • String literals containing SJIS characters are remained as they are, not being converted into byte arrays.
    • The older versions convert string literals containing SJIS characters into byte arrays with hexdecimal integers.
      • Older versions convert "日本語" into CobolUtil.toBytes((byte)0x93, (byte)0xfa, (byte)0x96, (byte)0x7b, (byte)0x8c, (byte)0xea).
      • Latest version converts "日本語" into CobolUtil.stringToBytes("日本語").

Fix

  • Fix comparisons of COMP data.
    • With older versions, comparisons of COMP data are invalid in some cases.

v1.1.4

29 Nov 06:56
371d85b

Choose a tag to compare

Fixed

  • Process Japanese identifiers in COBOL correctly.
    • The older versions convert some Japanese characters in COBOL identifiers to another characters in Java.
  • Fix the conditions PERFORM UNTIL.
    • If COBOL source code contains divisions in conditions of PERFORM UNTIL, the older versions emit compile errors.
  • Fix SEARCH statements with data specified OCCURS and DEPENDING.
    • The older versions emit compile errors when SEARCH statements with data specified OCCURS and DEPENDING
  • Fix ADD statements and SUBTRACT statements.
    • In some case, the result of SUBTRACT was previously incorrect when the operands contais PIC S9(n) negative values.
    • In some case, the result of ADD was -0 instead of +0 previously.
  • Fix the process of checking signs of PIC 9(n) containing spaces.
  • Fix INSPECT statements.
    • The older versions change signs of some values accidentally because of the bug of INSPECT statements.

v1.1.3

30 Oct 19:19
a9c7869

Choose a tag to compare

Added

  • Add a new option -variable
    • With -variable, cobj allows 73 or more characters for each lines
  • Add documentations that describe the structure of libcobj and generated Java files
  • Add Visual Studio Code Dev Container of opensource COBOL 4J

Fixed

  • Fix a build error of opensource COBOL 4J on Windows 10
  • Fix a build error of opensource COBOL 4J on Docker
  • Fix cobj-api
    • cobj-api previously generated invalid constructors in record classses
  • Fix typos of cobj-idx command
  • Fix a command line option -fserial-variable

Miscellaneous

  • Improve the readability of variable names containing multi-byte characters
  • Convert some EVALUATE statements to switch statements

v1.1.2

31 Jul 00:39
750d459

Choose a tag to compare

Added

  • Add a new command line option -Wtruncate.
    • When -Wtruncate is enabled, cobj warns data truncations of MOVE statements.

Fix

  • Fix CALL (an integer) BY CONTENT.
  • Change -m option so that generated jar files contains only class files. Now -m becomes an alias of -jar.
  • Show an error message when SCREEN SECTION is found.

Miscellaneous

  • Improve code generated by cobj-api.

v1.1.1

28 Jun 00:38

Choose a tag to compare

Added

  • Release API refenrence of the runtime library libcobj.jar
  • opensource COBOL 4J on Windows passed COBOL85 test suites

Miscellaneous

  • Upgrade dependencies of libcobj.jar to the latest versions

v1.1.0

31 May 08:24
45f7caf

Choose a tag to compare

New! opensource COBOL 4J supports Windows!

Added

  • Add a command line option -Wimplicit-define option

Fix

  • Fix READ PREVIOUS statement after START statement with <= operator
  • Fix Java code generated by cobj-api
    • "-" in Java variables are converted to "_"

Miscellaneous

  • Refactor libcobj/
  • Support Ubuntu 24.04

v1.0.22

30 Apr 06:27
8ab21f2

Choose a tag to compare

Added

Miscellaneous

  • Simplify generated Java code based on SonarQube analysis (#366)
  • Improve the error message for record keys with duplicates (#368)

v1.0.21

29 Mar 02:42
f37d2c3

Choose a tag to compare

Added

  • Implement a new option -info-json-dir
    • With this option, cobj generates JSON files containing information of COBOL programs
  • Fix DISPLAY/ACCEPT for environment variables
  • Implement a new option -ext
  • Implement a new option -Wcall-params

Miscellaneous

  • Improve the maintainability of generate Java files
    • This modification resolves issues reported by SonarQube's security review

v1.0.20

28 Feb 01:10
3b8e8b3

Choose a tag to compare

Added

  • Add command line options
    • -conf: Specify the configuration file
    • -std: Specify the dialect
    • -Wconstant: Warn inconsistent constant
    • -Warchaic: Warn if archaic features are used
    • -Wobsolete: Warn if obsolete features are used
  • Add intrinsic functions
    • LOCALE-DATE
    • LOCALE-TIME
    • LOCALE-TIME-FROM-SECONDS

Fixed

  • Fix runtime checkings
  • Detect invalid indexed record keys
  • Accept field names which contain Japanese characters

v1.0.19

01 Feb 20:12
830d9e0

Choose a tag to compare

cobj-idx

cobj-idx, a new CLI tool for indexed files is available!

Added

  • Implement COB_FILE_SEQ_WRITE_BUFFER_SIZE
    • File write speed can be specified by user.
  • Implement options -ffold-copy-upper and -ffold-copy-lower

Changed

  • Change label names in Java source files based on COBOL labels

Fixed

  • Fix CobolUtil.isNationalPadding

Miscellaneous

  • Refactor source code and resolve all gcc warnings
  • Remove unused directory