Debian Codegraph @

extension/ChangeLog

raw
1 2025-04-02 Arnold D. Robbins <[email protected]>
2
3 * 5.3.2: Release tar made.
4
5 2025-03-09 Arnold D. Robbins <[email protected]>
6
7 * inplace.c (do_inplace_begin): Additional hoop jumping to
8 silence clang warnings. Sheesh.
9
10 2024-11-13 Arnold D. Robbins <[email protected]>
11
12 * time.3am: Fix spelling of "strptime()". Thanks to
13 James Ghofulpo <[email protected]> for the report.
14
15 2024-09-17 Arnold D. Robbins <[email protected]>
16
17 * 5.3.1: Release tar made.
18
19 2024-09-17 Arnold D. Robbins <[email protected]>
20
21 * configure.ac: Bump version, update copyright year.
22 * inplace.3am, time.c: update copyright year.
23
24 2024-06-08 John E. Malmberg <[email protected]>
25
26 * time.c: Remove unneeded define for OpenVMS
27
28 2024-02-12 Tim Rice <[email protected]>
29
30 * inplace.3am: Add a note that symbolic and hard links are
31 replaced with a new file.
32
33 2024-01-20 Arnold D. Robbins <[email protected]>
34
35 * configure.ac: MPFR on 32 bit Power PC is back
36 to working. Remove the check that disables it.
37
38 2024-01-13 Arnold D. Robbins <[email protected]>
39
40 * time.c (do_gettimeofday): Small bug fix. Thanks to
41 Andrew Schorr for pointing it out.
42
43 2024-01-12 Arnold D. Robbins <[email protected]>
44
45 Use newer interfaces for getting the time if they're available.
46 Thanks to Andreas Schwab <[email protected]> and Andrew Schorr.
47
48 * time.c (do_gettimeofday): Use clock_gettime() or gettimeofday() or
49 time(), in that order.
50 * configure.ac: Add check for clock_gettime().
51
52 2023-11-02 Arnold D. Robbins <[email protected]>
53
54 * 5.3.0: Release tar ball made.
55
56 2023-10-22 Arnold D. Robbins <[email protected]>
57
58 * Makefile.am: Update copyright year.
59
60 2023-10-19 Arnold D. Robbins <[email protected]>
61
62 * configure.ac: Update version.
63
64 2023-06-02 Arnold D. Robbins <[email protected]>
65
66 * readdir.3am: Very small fix.
67
68 2023-05-28 Arnold D. Robbins <[email protected]>
69
70 * readdir.c: Add checking of PROCINFO["readdir_override"].
71 * readdir.3am: Updated.
72
73 2023-05-25 Arnold D. Robbins <[email protected]>
74
75 * readdir.c: Synced fully with readdir_test.c.
76 * readdir_test.c: Removed.
77
78 2023-05-25 Arnold D. Robbins <[email protected]>
79
80 * readdir_test.c: Sync somewhat with readdir.c. A full
81 sync is W.I.P.
82
83 2023-05-24 Arnold D. Robbins <[email protected]>
84
85 * readdir.c (dir_can_take_file): Only check the stat buffer;
86 the open fd could be on a regular file.
87 (dir_take_control_of): Add the filename to the error output.
88
89 2023-05-07 Arnold D. Robbins <[email protected]>
90
91
92 * 5.2.2: Release tar ball made.
93
94 2023-05-07 Arnold D. Robbins <[email protected]>
95
96 * configure.ac: Update version.
97
98 2023-04-14 Arnold D. Robbins <[email protected]>
99
100 * filefuncs.c, readdir.c, readdir_test.c, time.c: Update
101 copyright year.
102
103 2023-03-29 Arnold D. Robbins <[email protected]>
104
105 * filefuncs.c: Fix a typo in a comment. Thanks to
106 zhou shvinq <[email protected]> for the report.
107
108 2023-03-12 Arnold D. Robbins <[email protected]>
109
110 * time.c: Include ../missing_d/strptime.c if the strptime()
111 isn't available natively. Adjust other ifdefs.
112 Thanks to Eli Zaretskii for the encouragement.
113
114 2023-03-12 Eli Zaretskii <[email protected]>
115
116 * readdir_test.c (dir_can_take_file): Adjust condition to changes
117 in io.c.
118
119 2023-02-27 Arnold D. Robbins <[email protected]>
120
121 * readdir.c (dir_can_take_file): Test is more flexible, based on
122 change in gawk's iop.c:iop_alloc() function.
123
124 2023-02-09 Arnold D. Robbins <[email protected]>
125
126 * readdir.c (dir_can_take_control_of): If ! HAVE_OPENDIR,
127 don't leak any open file descriptor. Thanks to
128 Eli Zaretskii <[email protected]> for the bug report.
129
130 2023-01-22 Arnold D. Robbins <[email protected]>
131
132 * configure.ac: Check also for strptime.
133 Update copyright year.
134 * time.3am: Update copyright. Undeprecate this extension.
135 Add strptime() doc.
136 * time.c (issue_warning): Removed function and use.
137 (do_strptime): Added.
138 (ext_version): Bump to 1.2.
139
140 2022-11-17 Arnold D. Robbins <[email protected]>
141
142 * 5.2.1: Release tar ball made.
143
144 2022-11-17 Arnold D. Robbins <[email protected]>
145
146 * configure.ac: Update version.
147
148 2022-10-28 Arnold D. Robbins <[email protected]>
149
150 * Makefile.am (DEBUG): New variable with debug compilation flags.
151 * configure.ac: Rework debug compilation to use DEBUG in Makefile.am
152 and to add %no-lines to grammar files. Works around GDB issue
153 with macros and #line directives. Thanks to Ulrich Drepper
154 for the help and for the suggestions.
155
156 2022-10-26 Arnold D. Robbins <[email protected]>
157
158 * configure.ac: Try to get macros to work in the debugger.
159
160 2022-10-23 Arnold D. Robbins <[email protected]>
161
162 * configure.ac: Add handling of persistent malloc stuff. This is
163 for dealing with M1 macOS.
164 * configure.ac: Sync code for .developing with main configure.ac.
165
166 2022-10-14 Andrew J. Schorr <[email protected]>
167
168 * rwarray.c (array_handle_t): Removed.
169 (readelem): No longer need the array_handle_t parameter.
170 All calls adjusted.
171 (readvalue): No longer need the array_handle_t parameter.
172 All calls adjusted. Use create_array() instead calling
173 through the array_handle_t parameter.
174 (regular_array_handle, global_array_handle): Removed.
175 * testext.c: Add more prints for array restoration tests.
176
177 2022-09-17 Arnold D. Robbins <[email protected]>
178
179 * rwarray.c (do_poke): Handle namespaced variables (foo::bar).
180 Thanks to J Naman, <[email protected]> for the report.
181
182 2022-09-04 Arnold D. Robbins <[email protected]>
183
184 * 5.2.0: Release tar ball made.
185
186 2022-07-14 Arnold D. Robbins <[email protected]>
187
188 * time.c: Update copyright.
189
190 2022-07-11 Arnold D. Robbins <[email protected]>
191
192 * time.c: Add a warning upon load that the extension is deprecated.
193 * time.3am: Document same. Update copyright year and date.
194
195 2022-07-01 Arnold D. Robbins <[email protected]>
196
197 * Makefile.am, intdiv.c, readfile.c, rwarray.3am, rwarray.c,
198 testext.c: Update copyright year.
199
200 2022-06-17 Corinna Vinschen <[email protected]>
201
202 Changes required on Cygwin to build extension DLLs successfully.
203
204 * Makefile.am: Add $(LIBMPFR) to rwarray and testext LIBADD.
205 * Makefile.in: Regenerate.
206
207 2022-06-06 Andrew J. Schorr <[email protected]>
208
209 * rwarray.c (free_value): For arrays, we actually need to call
210 the new API function destroy_array to release the allocated NODE,
211 rather than clear_array.
212
213 2022-06-01 Arnold D. Robbins <[email protected]>
214
215 * rwarray.c: Add ifdefs for MPFR in a few places that were
216 missing. The extension wouldn't compile if HAVE_MPFR was
217 not defined.
218
219 2022-04-05 Arnold D. Robbins <[email protected]>
220
221 * testext.c (test_array_param): Init new_array to avoid
222 compiler warnings. Thanks to Michal Jaegermann for the report.
223
224 2022-04-01 Arnold D. Robbins <[email protected]>
225
226 Small fix from the persistent-gawk guys.
227
228 * rwarray.c (read_number): Fix typo in case MPFR isn't available.
229
230 2022-03-11 Arnold D. Robbins <[email protected]>
231
232 * rwarray.3am: Typo fixes, update copyright and modification dates.
233
234 2022-02-25 Andrew J. Schorr <[email protected]>
235
236 Memory issues with MPFR, fix part 1.
237
238 * intdiv.c (do_intdiv): Don't clear quotient and remainder.
239 * testext.c (test_scalar): Add GMP/MPFR support.
240
241 2022-02-22 Arnold D. Robbins <[email protected]>
242
243 Fix resource links found by Coverity. Thanks to
244 Jakub Martisko <[email protected]> for the report.
245
246 * readfile.c (do_readfile): Close fd if text == NULL.
247
248 2021-12-10 Andrew J. Schorr <[email protected]>
249
250 * rwarray.c (write_number): Update comment to reflect that we are
251 now using mpfr_get_default_rounding_mode() instead of MPFR_RNDN.
252
253 2021-12-10 Arnold D. Robbins <[email protected]>
254
255 * rwarray.c (write_number, read_number): Reformat comments a bit.
256
257 2021-12-09 Andrew J. Schorr <[email protected]>
258
259 * rwarray.c (write_number, read_number): Use
260 mpfr_get_default_rounding_mode() instead of arbitrarily choosing
261 MPFR_RNDN, taking advantage of the fact that core gawk maintains
262 this using the ROUNDMODE global variable.
263
264 2021-12-08 Andrew J. Schorr <[email protected]>
265
266 * rwarray.c: Fix valgrind complaints related to creating mpz and mpfr
267 values on the stack in read_number by passing down storage from
268 the calling function that loads the data into gawk.
269 (value_storage): New union type to contain mpz_t or mpfr_t data.
270 (read_global): Allocate value_storage on the stack and pass a pointer
271 to read_elem.
272 (read_array): Ditto.
273 (read_elem): Receive new arg pointing to value_storage, and pass it
274 down to read_value.
275 (read_value): Receive new arg pointing to value_storage, and pass it
276 down to read_number.
277 (read_number): Receive new arg pointing to value_storage, and create
278 mpz and mpfr variables using that storage instead of in the local
279 scope.
280
281 2021-12-08 Andrew J. Schorr <[email protected]>
282
283 * rwarray.c: Add new functions writeall and readall to implement
284 persistent state.
285 (write_backend): New helper function containing most of the logic
286 from do_writea. Note that we do not need to check nargs < 2 because
287 gawk will issue a fatal error if a function is called with fewer
288 than min_required_args. Clean up some minor issues with error
289 handling.
290 (do_writea): Grab the array argument and use write_backend to
291 do the rest of the work.
292 (do_writeall): Lookup SYMTAB and invoke write_backend.
293 (free_value): New function to free memory for data we end up ignoring
294 because the variables exist already.
295 (do_poke): Attempt to create variables that don't exist already or
296 are undefined.
297 (regular_array_handle): Wrapper around create_array.
298 (global_array_handle): Call create_array unless the variable exists
299 already and is an array with zero elements.
300 (read_global): New function used by readall to load global variables
301 from a file.
302 (read_one): New function to read a single array from a file.
303 (read_backend): New helper function containing most of the logic
304 from do_reada. Remove the superfluous nargs check. Read the file
305 prologue and then call read_global or read_one as appropriate to load
306 the data.
307 (do_reada): Grab the array argument and call read_backend with
308 read_one to load the data.
309 (do_readall): Call read_backend with read_global to load the data.
310 (read_array): Call read_elem with additional arg regular_array_handle.
311 (read_elem): Add a function argument controlling array creation to
312 pass down to read_value.
313 (read_value): Add a function argument to call for array creation
314 instead of calling create_array directly, since we may need to use
315 an existing array when populating global arrays in readall.
316 (func_table): Add writeall and readall.
317 * rwarray.3am: Document new functions writeall and readall.
318
319 2021-12-08 Andrew J. Schorr <[email protected]>
320
321 * testext.c (test_array_create): New function to create an array
322 by name that enables testing whether an undefined variable can
323 be converted by the API into an array.
324 (populate_array): New helper function.
325 (fill_in_array): Use populate_array to fill in the elements.
326 (func_table): Add test_array_create.
327
328 2021-12-08 Andrew J. Schorr <[email protected]>
329
330 * rwarray.c (write_number): Since mpfr_fpif_export is experimental
331 and not available in older versions of mpfr, add an ifdef to
332 use mpfr_out_str instead.
333 (read_number): Similarly, use mpfr_inp_str instead of
334 mpfr_fpif_import.
335
336 2021-11-18 Arnold D. Robbins <[email protected]>
337
338 * rwarray.c: Add support for writing/reading GMP and MPFR values.
339 Rework usage of constants while we're at it and bump version
340 numbers.
341
342 2021-11-07 Arnold D. Robbins <[email protected]>
343
344 * rwarray0.c: Removed, it wasn't used.
345 * Makefile.am: Updated.
346
347 2021-10-27 Arnold D. Robbins <[email protected]>
348
349 * 5.1.1: Release tar ball made.
350
351 2021-10-13 Arnold D. Robbins <[email protected]>
352
353 * ordchr.c: Update copyright year.
354
355 2021-09-27 Andrew J. Schorr <[email protected]>
356
357 * ordchr.c (do_ord): Add white space around cast.
358
359 2021-09-27 Andrew J. Schorr <[email protected]>
360
361 * ordchr.c (do_ord): Need to cast to unsigned char to avoid returning
362 negative values.
363
364 2021-09-22 Arnold D. Robbins <[email protected]>
365
366 * configure.ac: Update version to 5.1.1 in preparation for release.
367
368 2021-09-10 Arnold D. Robbins <[email protected]>
369
370 * configure.ac: Updated for Autoconf 2.71. Removes various warnings.
371 * configh.in, configure: Regenerated.
372
373 Unrelated:
374
375 * aclocal.m4: Regenerated: Automake 1.16.4.
376
377 2021-09-09 Arnold D. Robbins <[email protected]>
378
379 Move to Autoconf 2.71 (finally!)
380
381 * aclocal.m4, configh.in, configure: Regenerated.
382
383 2021-05-05 Arnold D. Robbins <[email protected]>
384
385 * CMakeLists.txt: Removed.
386
387 2021-05-05 Arnold D. Robbins <[email protected]>
388
389 Get `make distcheck' working again:
390
391 * Makefile.am (EXTRA_DIST): Remove files that are now in build-aux.
392 * aclocal.m4: Regenerated.
393
394 2021-03-30 Arnold D. Robbins <[email protected]>
395
396 * rwarray.c (write_value): Add support for writing boolean values.
397 (read_value): Ditto.
398
399 2021-03-29 Arnold D. Robbins <[email protected]>
400
401 * testext.c (var_test): Fix a comment. Update copyright year.
402
403 2021-03-22 Arnold D. Robbins <[email protected]>
404
405 * testext.c (valrep2str): Add support for AWK_BOOL.
406
407 2020-07-26 Arnold D. Robbins <[email protected]>
408
409 * intdiv.c (do_intdiv): Change quotient and remainder to
410 local variables. No need to allocate/free them via the API.
411
412 2020-07-22 Arnold D. Robbins <[email protected]>
413
414 * configure.ac: Use parent directory's m4 and build-aux.
415 * Makefile.am (ACLOCAL_AMFLAGS): Updated.
416 * m4, build-aux: Subdirectories removed.
417 * Makefile.in: Regenerated.
418
419 2020-07-21 Arnold D. Robbins <[email protected]>
420
421 * configure.ac (AM_INIT_AUTOMAKE): Update to 1.16.
422
423 2020-07-20 gettextize <[email protected]>
424
425 * configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.20.2.
426
427 2020-07-13 Arnold D. Robbins <[email protected]>
428
429 * intdiv.c (do_intdiv): Release the quotient and remainder
430 values when done with them. Fixes a memory leak. Thanks to
431 Andrew Schorr and valgrind for the report.
432
433 2020-06-10 Arnold D. Robbins <[email protected]>
434
435 Miscellanious fixes from Michael Builov <[email protected]>.
436
437 * gawkfts.c (fts_open): Fix memory leak: fts_sort() allocates
438 sp->fts_array, but it's not freed if next fts_alloc() fails.
439 (fts_build): Need to free "head" list before returning NULL
440 on failure.
441 * readdir.c (get_inode): On Windows handle leak: opened handle
442 was not closed.
443 * filefuncs.c (get_inode): On Windows handle leak: opened handle
444 was not closed.
445 (fill_stat_array): Correct the block size calculation.
446 (init_filefuncs, do_fts): According to the documentation,
447 setting the FTS_NOCHDIR flag should only disable the optimization of
448 changing the current directory when scanning directories.
449 However, setting this flag in the gawk script also included setting
450 FTS_SKIP, which prevented recursive directory traversal. Fix this.
451 * rwarray0.c (read_value): Result of read_array() is awk_bool_t,
452 not error code. Fix the check.
453
454 2020-04-14 Arnold D. Robbins <[email protected]>
455
456 * 5.1.0: Release tar ball made.
457
458 2020-03-11 Arnold D. Robbins <[email protected]>
459
460 * filefuncs.c, ordchr.c, rwarray.c, rwarray0.c: Message updates.
461
462 2020-03-06 Jannick <[email protected]>
463
464 * Makefile.am: Remove trailing spaces.
465 * configure.ac: Use GAWK_CANONICAL_HOST instead of AC_CANONICAL_HOST.
466 Update call to LT_INIT.
467
468 2019-11-21 Arnold D. Robbins <[email protected]>
469
470 * time.3am: Document that this extension is now obsolete.
471
472 2019-11-03 Arnold D. Robbins <[email protected]>
473
474 * readdir.3am: Document that readdir extension can cause a
475 fatal error, which should be handled with BEGINFILE.
476
477 2019-10-16 Andrew J. Schorr <[email protected]>
478
479 * filefuncs.3am: Enhance the stat() documentation to explain that
480 the returned "name" value equals the argument to the function.
481
482 2019-08-21 Arnold D. Robbins <[email protected]>
483
484 * filefuncs.c: Fix a typo in a comment. Update copyright year.
485 * filefuncs.3am: Document statvfs. Thanks to Andrew Schorr
486 for noticing it was missing. Update copyright year.
487
488 2019-06-26 Arnold D. Robbins <[email protected]>
489
490 * inplace.3am: Update to match current code's behavior.
491
492 2019-06-18 Arnold D. Robbins <[email protected]>
493
494 * 5.0.1: Release tar ball made.
495
496 2019-04-18 Arnold D. Robbins <[email protected]>
497
498 * Makefile.am (EXTRA_DIST): Add ChangeLog.1 to the list. Ooops.
499
500 2019-04-12 Arnold D. Robbins <[email protected]>
501
502 * ChangeLog.1: Rotated ChangeLog into this file.
503 * ChangeLog: Created anew for gawk 5.0.0 and on.
504 * 5.0.0: Release tar ball made.