Releases: opensourcecobol/opensourcecobol4j
Releases · opensourcecobol/opensourcecobol4j
v1.0.11
New Features
- Add -j and -java-source-dir options to control the file paths where Java files are generated
- Add -o and -class-file-dir options to control the file paths where class files are generated
Bug fixes
- Fix a bug related to RELATIVE files
- Fix a minor bug
v1.0.10
Bug fixes
- Fix a bug related to string literals containing specified multi-byte characters
- For example, "十郎"
Miscellaneous
- Fix some tests
v1.0.9
New Features
- Implement -constant option and $IF macro
- Improve the readability of Shift_JIS string literals in generated Java files
Bug fixes
- Fix some mathematical functions
- Fix error messages for invalid MOVE statements
- Fix some broken tests
Miscellaneous
- Remove some unused variables in generated Java files
- Fix some warning messages of make command
v1.0.8
New Features
- Implement RELATIVE files
- Pass all NIST tests on Relative files
- Implement ${DESTDIR} of libcobj/Makefile
Bug fixes
- Fix move statement for COMP-3
- Fix moveFrom method of CobolNumericPackedField
- Fix warnings found by static analyzers
Miscellaneous
- Format all C source code in cobj/ using clang-format
v1.0.7
New Features
- Implement DELETE FILE statement of SEQUENTIAL files and LINE SEQUENTIAL files
- Improve Java interface, much better way to call COBOL from Java
- Add -java-package option
- Implement SET ENVIRONMENT statement
Bug fixes
- Fix the bug involved with the environment variables COB_I_O_CREATE and COB_EXTEND_CREATE
- Fix the comparison process of COMP-3
- Fix EXIT PERFORM and EXIT PERFORM CYCLE
Miscellaneous
- Format all Java source code in libcobj/ using Google Java Format
v1.0.6
New Features
- Add -fshort-variable option
- make install command installs libcobj.jar in ${prefix}/lib/opensourcecobol4j
Bug fixes
- Fix FUNCTION CURRENT-DATE
Miscellaneous
- Build and run tests on AlmaLinux 9
v1.0.5
New Features
- -m option and cobjrun command (an experimental feature)
- -g option
- -E option
- -B option
- --list-reserved option
- -fsyntax-only option
- -Wunreachable option
- -t option
- -C option
- -free and -free_1col_aster options
Bug fixes
- Fix exit perform and perform cycle
- Fix comparing NATIONAL characters
- Fix "FUNCTION CURRENT-DATE"
- Fix the bug of "IS NUMERIC" for COMP-3 data
- Fix comparing HIGH-VALUE and PIC X(n) data
- Fix moving sign-leading-separate to COMP3
Miscellaneous
- Remove libcob/ directory
- Resolve some warnings displayed when executing make command
v1.0.4
New Features
- Rename cobc, the compile command, to cobj.
- -fserial-variable option
- Java variable naming rule has been changed. Starting from v1.0.4, variable names are f_{COBOL variable name} or b_{COBOL variable name} by default. With -fvar-number option, Java variable names are set to f_{serial number}. This new option preserves the old naming rule and prevents javac errors in case COBOL variable names contains illegal characters for Java, for example Japanese DBCS characters.
- Improve the performance of control statements.
- In v1.0.3 and earlier, the memory consumption increases the number of GOTO loops increases. In v1.0.4, the memory problem is solved.
- Due to the fix, the number of class files that cobj command genearates increase compared to earlier version in some cases.
- Implement -ftrace and -ftraceall options.
- Change the license of libcobj to LGPL3.
Bug fixes
- Fix the problem of signed comp-3 data.
- Fix the problem of MOVE statement.
- Fix the problem of EXTERNAL
Miscellaneous
- Remove some unnecessary directories(bin/, vbisam/, m4/, win32/).
- Remove dependencies on ncurses.
- Fix the build system of tests/ directory.
- Add test cases for new features and bug fixes.
- When converting COBOL source code with EXTERNAL to Java source code, insert line breaks to make them easier to read
v1.0.3
Implement INDEXED files with SQLite