forked from opensourcecobol/opensourcecobol4j
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NEWS
426 lines (314 loc) · 12.7 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
NEWS - user visible changes -*- outline -*-
-----------------------------------------------------------------------
* opensource COBOL 4J 1.1.2
** New Features
(1) Add a new command line option `-Wtruncate`
** Bug Fixes
(1) Fix `CALL (an integer) BY CONTENT`.
(2) Change `-m` option so that generated jar files contains only class files.
Now `-m` becomes an alias of `-jar`.
(3) Show an error message when SCREEN SECTION is found.
** Miscellaneous
(1) Improve code generated by cobj-api.
-----------------------------------------------------------------------
* opensource COBOL 4J 1.1.1
** New Features
(1) Release [documentations](https://opensourcecobol.github.io/opensourcecobol4j/javadoc/libcobj/index.html) of the runtime library `libcobj.jar`
(2) opensource COBOL 4J on Windows passed COBOL85 test suites
** Miscellaneous
(1) Upgrade dependencies of `libcobj.jar` to the latest versions
-----------------------------------------------------------------------
* opensource COBOL 4J 1.1.0
** New Features
(1) Support Windows
(2) Add `-Wimplicit-define`
** Bug Fixes
(1) Fix READ PREVIOUS statement after START statement with <= operator
(2) Fix Java code generated by cobj-api. Symbols "-" in Java variables are converted to "_"
** Miscellaneous
(1) Refactor libcobj/
(2) Support Ubuntu 24.04
-----------------------------------------------------------------------
* opensource COBOL 4J 1.0.22
** New Features
(1) Add cobj-api command
(2) Implement `-Wstrict-typing`
** Miscellaneous
(1) Simplify generated Java code based on SonarQube analysis
(2) Improve the error message for record keys with duplicates
-----------------------------------------------------------------------
* opensource COBOL 4J 1.0.21
** New Features
(1) Implement a new option `-info-json-dir`
(2) Fix DISPLAY/ACCEPT for environment variables
(3) Implement a new option `-ext`
(4) Implement a new option `-Wcall-params`
** Miscellaneous
(1) Improve the maintainability of generate Java files
-----------------------------------------------------------------------
* opensource COBOL 4J 1.0.20
** New Features
(1) 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
(2) Add intrinsic functions
* LOCALE-DATE
* LOCALE-TIME
* LOCALE-TIME-FROM-SECONDS
** Bug Fixes
(1) Fix runtime checkings
(2) Detect invalid indexed record keys
(3) Accept field names which contain Japanese characters
-----------------------------------------------------------------------
* opensource COBOL 4J 1.0.19
** New Features
(1) A new CLI tool for indexed files
(2) Implement `COB_FILE_SEQ_WRITE_BUFFER_SIZE`
(3) Implement options `-ffold-copy-upper` and `-ffold-copy-lower`
** Changed
(1) Change label names in Java source files based on COBOL labels
** Bug Fixes
(1) Fix CobolUtil.isNationalPadding
** Miscellaneous
(1) Refactor source code and resolve all gcc warnings
(2) Remove unused directory
-----------------------------------------------------------------------
* opensource COBOL 4J 1.0.18
** New Features
(1) Support Amazon Linux 2023
(2) Implement runtime numeric checkings
(3) Implement sorting a table based on ebcdic
(4) Implement KEY IS option of SORT statements
(5) Add documents that describes installations and requirements
(6) Implement the environemt variable COB_NIBBLE_C_UNSIGNED
(7) Add built-in subroutines
(a) `C$CALLEDBY`
(b) `C$LIST-DIRECTORY`
(8) Implement `NUMBER-OF-CALL-PARAMETERS`
** Bug fixes
(1) Fix the message of COB_VERBOSE file sort
(2) Fix the process that checks MOVE statements
(3) Fix `INSPECT` statement
(4) Fix error handlings of 0 divisions
(5) Fix an error of comparing large numbers
(6) Fix checkings for subscripts
(7) Fix FUNCTION VARIANCE
** Miscellaneous
(1) Optimize the file reading process
-----------------------------------------------------------------------
* opensource COBOL 4J 1.0.17
** New Features
(1) Implement sorting a table
(2) Implement functions SUBSTITUTE and SUBSTITUTE-CASE
** Miscellaneous
(1) Support JDK 11
(a) Older versions are tested with JDK 17 and 1.0.17 is tested with JDK 11.
(b) Plan to support JDK 8 in the future.
-----------------------------------------------------------------------
* opensource COBOL 4J 1.0.16
** New Features
(1) Publish libcobj.jar in GitHub Packages
(2) Implement intrinsic functions
(a) ORD-MAX
(b) ORD-MIN
(c) SECONDS-FROM-FORMATTED-TIME
(d) SIGN
(e) STORED-CHAR-LENGTH
(f) TRIM
** Bug fixes
(1) Fix `DECIMAL POINT IS COMMA` in `SPECIAL NAMES` clause.
-----------------------------------------------------------------------
* opensource COBOL 4J 1.0.15
** New Features
(1) Add new intrinsic functions
(a) EXCEPTION-FILE
(b) EXCEPTION-LOCATION
(c) EXCEPTION-STATEMENT
(d) EXCEPTION-STATUS
(e) FRACTION-PART
(2) Add -Wredefinition option
(3) Implement FD with EXTERNAL clause
** Bug fixes
(1) Fix a build error on some platforms
** Miscellaneous
(1) Add a guidelines for contributing
-----------------------------------------------------------------------
* 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
(1) Add -debug option
(2) Add -Wparentheses option
(3) Add -Wcolumn-overflow option
(4) Add -fmfcomment option
(5) Add -ffunctions-all option
(6) Implement COB_IO_ASSUME_REWRITE
(7) Output version strings in generated Java files
** Improve Performance
(1) Optimize ADD statement and SUBTRACT statement
(2) Optimize comparison of PIC S9(n)V(m)
(3) Implement the precomputation for CobolDataStorage
** Bug fixes
(1) Fix non-NIST tests
(2) Fix CALL parameter
(3) Fix COMPUTE statement
(4) Fix SORT statement
(5) Fix EXIT PERFORM CYCLE
(6) Fix functions CURRENT-DATE and SYSTEM
(1) Fix displaying numbers
** Miscellaneous
(1) Improve the variable names in generated Java files
(2) Update tests for NIST COBOL85 tests
(3) Refactor generated Java files
-----------------------------------------------------------------------
* opensource COBOL 4J 1.0.12
** New Features
(1) Add -fdefaultbyte option
** Improve Performance
(1) Improve the performance of converting String to a byte array and comparision of 9(m)V9(n)
(2) Improve the performance of file processing slightly
** Bug fixes
(1) Fix the bugs of USAGE COMP, USAGE COMP-3 and PIC N(m)
(2) Fix CANCEL statement
** Miscellaneous
(1) Run NIST85 tests for Relative files and add the test status to README.md
(2) Refactor Java files in libcobj/ in order to pass static analysis "PMD"
-----------------------------------------------------------------------
* opensource COBOL 4J 1.0.11
** New Features
(1) Add -j and -java-source-dir options to control the file paths where Java files are generated
(2) Add -o and -class-file-dir options to control the file paths where class files are generated
** Bug fixes
(1) Fix a bug related to RELATIVE files
(2) Fix a minor bug
-----------------------------------------------------------------------
* opensource COBOL 4J 1.0.10
** Bug fixes
(1) Fix a bug related to string literals containing specified multi-byte characters
* For example, "十郎"
** Miscellaneous
(1) Fix some tests
-----------------------------------------------------------------------
* opensource COBOL 4J 1.0.9
** New Features
(1) Implement -constant option and $IF macro
(2) Improve the readability of Shift_JIS string literals in generated Java files
** Bug fixes
(1) Fix some mathematical functions
(2) Fix error messages for invalid MOVE statements
(3) Fix some broken tests
** Miscellaneous
(1) Remove some unused variables in generated Java files
(2) Fix some warning messages of make command
-----------------------------------------------------------------------
* opensource COBOL 4J 1.0.8
** New Features
(1) Implement RELATIVE files
(a) Pass all NIST tests on Relative files
(2) Implement ${DESTDIR} of libcobj/Makefile
** Bug fixes
(1) Fix move statement for COMP-3
(a) Fix moveFrom method of CobolNumericPackedField
(2) Fix warnings found by static analyzers
** Miscellaneous
(1) Format all C source code in cobj/ using clang-format
-----------------------------------------------------------------------
* opensource COBOL 4J 1.0.7
** New Features
(1) Implement DELETE FILE statement of SEQUENTIAL files and LINE SEQUENTIAL files
(2) Improve Java interface, much better way to call COBOL from Java
(3) Add -java-package option
(4) Implement SET ENVIRONMENT statement
** Bug fixes
(1) Fix the bug involved with the environment variables COB_I_O_CREATE and COB_EXTEND_CREATE
(2) Fix the comparison process of COMP-3
(3) Fix EXIT PERFORM and EXIT PERFORM CYCLE
** Miscellaneous
(1) Format all Java source code in libcobj/ using Google Java Format
-----------------------------------------------------------------------
* opensource COBOL 4J 1.0.6
** New Features
(1) Add -fshort-variable option
(2) make install command installs libcobj.jar in ${prefix}/lib/opensourcecobol4j
** Bug fixes
(1) Fix FUNCTION CURRENT-DATE
** Miscellaneous
(1) Build and run tests on AlmaLinux 9
-----------------------------------------------------------------------
* opensource COBOL 4J 1.0.5
** New Features
(1) -m option and cobjrun command (an experimental feature)
(2) -g option
(3) -E option
(4) -B option
(5) --list-reserved option
(6) -fsyntax-only option
(7) -Wunreachable option
(8) -t option
(9) -C option
(10) -free and -free_1col_aster options
** Bug fixes
(1) Fix exit perform and perform cycle
(2) Fix comparing NATIONAL characters
(3) Fix "FUNCTION CURRENT-DATE"
(4) Fix the bug of "IS NUMERIC" for COMP-3 data
(5) Fix comparing HIGH-VALUE and PIC X(n) data
(6) Fix moving sign-leading-separate to COMP3
** Miscellaneous
(1) Remove libcob/ directory
(2) Resolve some warnings displayed when executing make command
-----------------------------------------------------------------------
* opensource COBOL 4J 1.0.4
** New Features
(1) Rename cobc, the compile command, to cobj.
(2) -fserial-variable option
(2-1) By default, Java variable names are f_{COBOL variable name} or b_{COBOL variable name}. With -fvar-number option, Java variable names are f_{serial number}.
(3) Improve the performance of control statements.
(4) 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.
(4-1) Due to the fix, the number of class files that cobj command genearates increase compared to earlier version in some cases.
(6) Implement -ftrace and -ftraceall options.
(7) Change the license of libcobj to LGPL3.
** Bug fixes
(1) Fix the problem of signed comp-3 data.
(2) Fix the problem of MOVE statement.
(3) Fix the problem of EXTERNAL
** Miscellaneous
(1) Remove some unnecessary directories(bin/, vbisam/, m4/, win32).
(2) Remove dependencies on ncurses.
(3) Fix the build system of tests/ directory.
(4) Add test cases for new features and bug fixes.
(5) When converting COBOL source code with EXTERNAL to Java source code, insert line breaks to make them easier to read.
-----------------------------------------------------------------------
* opensource COBOL 4J 1.0.3
** New features
(1) Change the storage library for indexed file to SQLite.
-----------------------------------------------------------------------
* opensource COBOL 4J 1.0.2
** New features
(1) Upgrade the license to GPL3.
** Bug fixes
(1) Fix the problem that cobc translates EXIT PERFORM statements to invalid Java source code.
-----------------------------------------------------------------------
* opensource COBOL 4J 1.0.1
** Bug fixes
(1) Fix the transformation of call arguments
-----------------------------------------------------------------------
* opensource COBOL 4J 1.0.0
** Bug fixes
(1) Fix the status code after opening indexed files.
(2) Fix the behavior of delete and rewrite indexed files
-----------------------------------------------------------------------
* release opensource COBOL 4J developers edition.
-----------------------------------------------------------------------