"Fossies" - the Fresh Open Source Software Archive

Member "gawk-5.1.0/ChangeLog" (14 Apr 2020, 17887 Bytes) of package /linux/misc/gawk-5.1.0.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "ChangeLog": 5.0.1_vs_5.1.0.

    1 2020-04-14         Arnold D. Robbins     <arnold@skeeve.com>
    2 
    3 	* 5.1.0: Release tar ball made.
    4 
    5 2020-04-10         Arnold D. Robbins     <arnold@skeeve.com>
    6 
    7 	* field.c (save_FPAT): New global variable.
    8 	(get_field): Check if using FPAT or not in order to pass in
    9 	the right variables to parse_field function.  Fixes bug in
   10 	delayed field parsing when using FPAT.  Thanks to
   11 	luciole75w <luciole75w@gmail.com> for the bug report.
   12 	(set_FPAT): Use global save_FPAT instead of local save_fpat.
   13 
   14 	Unrelated:
   15 
   16 	* awkgram.c, command.c: Rebuild with Bison 3.5.4.
   17 	* NEWS: Updated.
   18 
   19 	Unrelated:
   20 
   21 	* awk.h (do_lint_extensions): Define to zero if NO_LINT.
   22 
   23 2020-04-02         Arnold D. Robbins     <arnold@skeeve.com>
   24 
   25 	* field.c (re_parse_field): If default parsing and trailing
   26 	whitespace, don't set a null field at the end. Thanks to
   27 	Ed Morton <mortoneccc@comcast.net> for the report.
   28 
   29 2020-03-18         Arnold D. Robbins     <arnold@skeeve.com>
   30 
   31 	* TODO: Add more stuff.
   32 
   33 2020-03-15         Arnold D. Robbins     <arnold@skeeve.com>
   34 
   35 	* Makefile.am (zos-diffout): New target.
   36 	* awkgram.y, command.y: Upgrade to Bison 3.5.3.
   37 	* NEWS: Updated.
   38 
   39 2020-03-11         Arnold D. Robbins     <arnold@skeeve.com>
   40 
   41 	* main.c: Further message update. Thanks again to
   42 	Roland Illig <roland.illig@gmx.de>.
   43 
   44 2020-03-09         Andrew J. Schorr      <aschorr@telemetry-investments.com>
   45 
   46 	* array.c (sort_up_value_string): If either arg is not a Node_val,
   47 	call out to sort_up_value_type instead. If cmp_strings returns zero,
   48 	fall back to sort_up_index_string as a tie-breaker.
   49 	(sort_up_value_number): If either arg is not a Node_val, call out to
   50 	sort_up_value_type instead. If cmp_strings returns zero, fall back
   51 	to sort_up_index_string as a tie-breaker.
   52 	(do_sort_up_value_type): Renamed from sort_up_value_type with one
   53 	change: if both arguments have type Node_var, we compare the
   54 	var_value NODEs instead.
   55 	(sort_up_value_type): New wrapper function around do_sort_up_value_type
   56 	to fall back to sort_up_index_string as a tie-breaker.
   57 
   58 2020-03-09         Arnold D. Robbins     <arnold@skeeve.com>
   59 
   60 	* array.c, awk.h, awkgram.y, builtin.c, command.y, debug.c,
   61 	ext.c, int_array.c, io.c, main.c, symbol.c: Messages refined
   62 	based on suggestions from Roland Illig <roland.illig@gmx.de>.
   63 
   64 2020-03-06         Jannick               <thirdedition@gmx.net>
   65 
   66 	* Makefile.am: Replace AM_MAKEFLAGS with AM_CFLAGS and AM_LDFLAGS.
   67 	Put pc/Makefile.tst into BUILT_SOURCES, instead of in dist-hook.
   68 	Add $(srcdir) to rules for the yacc files. Use AM_LDFLAGS in
   69 	the efence rule.
   70 	* configure.ac: Use GAWK_CANONICAL_HOST instead of AC_CANONICAL_HOST;
   71 	this supplies MSYS2 support. Remove use of EXEEXT.
   72 
   73 2020-03-04         Arnold D. Robbins     <arnold@skeeve.com>
   74 
   75 	* NEWS: Updated.
   76 
   77 2020-02-13         John E. Malmberg      <wb8tyw@qsl.net>
   78 
   79 	* custom.h: OpenVMS needs _REGEX_INCLUDE_LIMITS_H defined.
   80 
   81 2020-02-09         Arnold D. Robbins     <arnold@skeeve.com>
   82 
   83 	* awkgram.y: Add lint check for assignment in condition to
   84 	if and for statements. Thanks to Jannick <thirdedition@gmx.net>
   85 	for the suggestion.
   86 	* debug.c (do_eval): Remove @eval from the symbol table if there
   87 	was a syntax error in the statement being evaluated. Thanks again
   88 	to Jannick, for the report.
   89 
   90 2020-02-04         John E. Malmberg      <wb8tyw@qsl.net>
   91 
   92 	* custom.h: Fix OpenVMS SIZE_MAX value.
   93 
   94 2020-02-01         Arnold D. Robbins     <arnold@skeeve.com>
   95 
   96 	* awk.h, dfa.c: Move include of mbsupport.h to ...
   97 	* custom.h: ... here.
   98 	* configure.ac: Add check for isblank.
   99 
  100 2020-01-27         Arnold D. Robbins     <arnold@skeeve.com>
  101 
  102 	* custom.h: Fix non-VMS compilation.
  103 
  104 2020-01-26         John E. Malmberg      <wb8tyw@qsl.net>
  105 
  106 	* custom.h: Additional OpenVMS typedefs needed.
  107 	* getext.h: Fix macro for implementations without gettext
  108 	to not force the result to be a const char *.
  109 
  110 2020-01-26         Andrew J. Schorr      <aschorr@telemetry-investments.com>
  111 
  112 	* array.c (sort_up_value_type): Small efficiency tweak. Only
  113 	run through the list of other types if both values are not scalars.
  114 
  115 2020-01-24         Arnold D. Robbins     <arnold@skeeve.com>
  116 
  117 	* array.c, profile.c, cint_array.c, builtin.c, interpret.h,
  118 	main.c: Update copyright years.
  119 
  120 2020-01-23         Arnold D. Robbins     <arnold@skeeve.com>
  121 
  122 	* array.c (sort_up_value_type): Handle other types of nodes,
  123 	in case someone applies PROCINFO["sorted_in"] to SYMTAB or
  124 	FUNCTAB. This threw an assertion error if assertions were
  125 	enabled. Thanks to John Namam <Gawer@703n.com> for the report.
  126 	(asort_actual): Disallow SYMTAB and FUNCTAB as first arguments.
  127 	* TODO: Note that we should should eventually allow SYMTAB/FUNCTAB
  128 	passed to asort/asaorti if a destination array is provided. (The
  129 	current code breaks right now.)
  130 
  131 2020-01-19         Arnold D. Robbins     <arnold@skeeve.com>
  132 
  133 	* profile.c (pp_top): New macro.
  134 	(pprint): Be smarter for print[f] with redirection that was
  135 	parenthesized, to not print `printf(("hello\n")) > "..."'.
  136 
  137 	Unrelated:
  138 	* compile, config.guess, config.rpath, config.sub, depcomp: Updated
  139 	from GNULIB.
  140 
  141 2020-01-14         Andrew J. Schorr      <aschorr@telemetry-investments.com>
  142 
  143 	* cint_array.c (cint_array_init): Fix off-by-one error in array 
  144 	bounds overflow check for an NHAT value set in the environment.
  145 	Thanks to Michael Builov <mbuilov@gmail.com> for the report.
  146 
  147 2020-01-08         Arnold D. Robbins     <arnold@skeeve.com>
  148 
  149 	Fix a number of subtle memory leaks. Thanks to the
  150 	combination of MEMDEBUG and valgrind for finding them.
  151 
  152 	* builtin.c (do_print): Unref tmp if force_string_ofmt
  153 	returned something different.
  154 	(call_sub, call_match, call_split_func): Free any
  155 	created regexp.
  156 	* debug.c (do_eval): Free the node holding the @eval function
  157 	when done with it.
  158 	* field.c (init_fields): Create fields_arr[0] and Nnull_field
  159 	in a rational fashion.
  160 	* interpret.h (Op_assign_concat): Handle newly created node
  161 	better.
  162 
  163 	Unrelated:
  164 
  165 	* interpret.h (Op_subscript): When retrieving from SYMTAB, check
  166 	for Node_var_new; variables can exist but have not been assigned
  167 	a value. Thanks to Denis Shirokov <cosmogen@gmail.com> for the report.
  168 
  169 	Unrelated:
  170 
  171 	* builtin.c (do_typeof): Handle Node_array_ref also. Thanks to
  172 	Denis Shirokov <cosmogen@gmail.com> for the report.
  173 
  174 2019-12-22         Arnold D. Robbins     <arnold@skeeve.com>
  175 
  176 	* config.guess: Updated from GNULIB.
  177 
  178 2019-12-22         Jannick               <thirdedition@gmx.net>
  179 
  180 	* configure.ac: Hardcode the shared object extension to dll
  181 	on Windows platforms, i.e.whenever EXEEXT is '.exe'.
  182 
  183 2019-12-22         Arnold D. Robbins     <arnold@skeeve.com>
  184 
  185 	* gettext.h: Update from gettext 0.20.1.
  186 	* NEWS: Updated.
  187 
  188 2019-12-18  Paul Eggert  <eggert@Penguin.CS.UCLA.EDU>
  189 
  190 	Fix memcpy issue found by -fsanitize=undefined
  191 	* field.c (set_record): Don't memcpy (databuf, NULL, 0),
  192 	as the C standard says the resulting behavior is undefined.
  193 
  194 2019-12-16         Arnold D. Robbins     <arnold@skeeve.com>
  195 
  196 	* awkgram.y, command.y: Upgrade to Bison 3.5.
  197 	* NEWS: Updated.
  198 
  199 2019-11-21         Arnold D. Robbins     <arnold@skeeve.com>
  200 
  201 	* config.rpath: Update from GNULIB.
  202 
  203 2019-11-10         Arnold D. Robbins     <arnold@skeeve.com>
  204 
  205 	* compile, config.rpath: Update from GNULIB. Adds msys support.
  206 
  207 2019-11-03         Arnold D. Robbins     <arnold@skeeve.com>
  208 
  209 	* field.c (get_field): Remove special case code for fpat_parse_field.
  210 	Fixes a bug reported by Ed Morton <mortoneccc@comcast.net>.
  211 
  212 2019-10-19         Arnold D. Robbins     <arnold@skeeve.com>
  213 
  214 	* compile, depcomp: Update from GNULIB.
  215 
  216 2019-10-13         Arnold D. Robbins     <arnold@skeeve.com>
  217 
  218 	Fix handling of assigning @/.../ to FS and RS. Thanks
  219 	to Stephane Chazelas <stephane.chazelas@gmail.com>
  220 	for the report.
  221 
  222 	* field.c (set_FS): Check for REGEX in the flags.
  223 	* io.c (set_RS): Ditto.
  224 
  225 2019-10-04         Arnold D. Robbins     <arnold@skeeve.com>
  226 
  227 	* config.guess, config.sub, install-sh: Updated from GNULIB.
  228 
  229 2019-09-30         John E. Malmberg     <wb8tyw@qsl.net>
  230 
  231 	* custom.h: OpenVMS does not provide ULLONG_MAX
  232 
  233 2019-09-20  Florian Weimer  <fweimer@redhat.com>
  234 
  235 	* configure.ac (PRINTF_HAS_F_FORMAT): Include <string.h> for
  236 	strcmp.
  237 	(PRINTF_HAS_A_FORMAT): Likewise.
  238 	* configure: Regenerate.
  239 
  240 2019-09-17         Arnold D. Robbins     <arnold@skeeve.com>
  241 
  242 	* awkgram.y, commands.y: Upgrade to Bison 3.4.2.
  243 	* NEWS: Updated.
  244 
  245 2019-09-10         Andrew J. Schorr      <aschorr@telemetry-investments.com>
  246 
  247 	* awk.h (block_header): Remove cnt field and replace it with
  248 	highwater. If MEMDEBUG is defined, add active counter.
  249 	* node.c (r_getblock): The cnt field was replaced by active. Update
  250 	highwater as appropriate.
  251 	(r_freeblock): Decrement the active counter (renamed from cnt).
  252 	(more_blocks): Bump the highwater counter (renamed from cnt).
  253 	* builtin.c (do_typeof): When providing PROCINFO debug memory stats,
  254 	replace count_<blah> with <blah>_active and <blah>_highwater. When
  255 	MEMDEBUG is not set, we calculate the active value by subtracting the
  256 	number of elements in the free list from the highwater value.
  257 
  258 2019-09-01         Arnold D. Robbins     <arnold@skeeve.com>
  259 
  260 	* profile.c (pp_list, pp_concat): Fix use-after-free errors
  261 	in both routines. Thanks to valgrind and Andy's MEMDEBUG code.
  262 
  263 2019-09-01         Andrew J. Schorr      <aschorr@telemetry-investments.com>
  264 
  265 	* awk.h (block_header): Add cnt field even when MEMDEBUG is not
  266 	defined, and add a name field.
  267 	* node.c (nextfree): Initialize new name field.
  268 	(more_blocks): Bump nextfree[id].cnt by BLOCKCHUNK.
  269 	* builtin.c (do_typeof): When the 1st argument is PROCINFO and the
  270 	2nd arg is provided, return new "count_<blah>" fields containing
  271 	the memory allocation accounts of the various block types.
  272 
  273 2019-08-30         Andrew J. Schorr      <aschorr@telemetry-investments.com>
  274 
  275 	* configure.ac (.developing): Add -DMEMDEBUG to CFLAGS.
  276 	* awk.h (block_header): If MEMDEBUG is defined, add cnt field
  277 	to track the number of allocations.
  278 	(getblock, freeblock): When MEMDEBUG is defined, replace these
  279 	macros with calls to new functions r_getblock and r_freeblock.
  280 	* node.c (r_getblock, r_freeblock): New functions that simply
  281 	use malloc and free when MEMDEBUG is defined.
  282 
  283 2019-08-30         Andrew J. Schorr      <aschorr@telemetry-investments.com>
  284 
  285 	* interpret.h (r_interpret): For Op_match_rec, unref if a
  286 	dynamic regexp. Fixes another memory issue. See the thread starting
  287 	at https://lists.gnu.org/archive/html/bug-gawk/2019-08/msg00023.html.
  288 
  289 2019-08-29         Arnold D. Robbins     <arnold@skeeve.com>
  290 
  291 	Restore a modified version of the change of
  292 	2016-05-03, which used realloc to shrink the buffer.
  293 
  294 	* builtin.c (format_tree): Reduce INITIAL_OUT_SIZE to 64.
  295 	At the end, call realloc only if there is more
  296 	than (2 * INITIAL_OUT_SIZE) bytes to give back.
  297 
  298 2019-08-23         Arnold D. Robbins     <arnold@skeeve.com>
  299 
  300 	* main.c (main): Fix whitespace issues.
  301 	* re.c (re_update): Small code cleanup in handling t->re_cnt.
  302 	Thanks to Andrew Schorr.
  303 
  304 2019-08-21         Arnold D. Robbins     <arnold@skeeve.com>
  305 
  306 	* config.guess: Updated from GNULIB.
  307 
  308 2019-08-15         Arnold D. Robbins     <arnold@skeeve.com>
  309 
  310 	Revert a6df7afc605079df7d85318846a522ef64aaa44d, change of
  311 	2016-05-03, which used realloc to shrink the buffer, in an
  312 	attempt to save memory.  In actuality, it could cause increased
  313 	memory usage, even though there was no memory leak. See
  314 	https://lists.gnu.org/archive/html/bug-gawk/2019-08/msg00003.html
  315 	and the rest of thread for more detail.
  316 
  317 	* builtin.c (format_tree): Don't use realloc, just call
  318 	make_str_node with the original buffer. Remove `olen_final'
  319 	variable and its use.
  320 
  321 2019-08-15         Andrew J. Schorr      <aschorr@telemetry-investments.com>
  322 
  323 	Reduce memory usage by only compiling the IGNORECASE version of
  324 	regexp when it's actually needed.
  325 
  326 	* awkgram.y (make_regnode): Only compile the regular version.
  327 	* re.c (re_cache_get): New function.
  328 	(re_update): Use it as appropriate.
  329 
  330 2019-07-23         Koichi Murase         <myoga.murase@gmail.com>
  331 
  332 	* builtin.c (do_xor): Remove unneeded local variable `i'. Simplify
  333 	the loop's computation.
  334 	(do_and): Improve the initial value for the result.
  335 
  336 2019-07-23         Andrew J. Schorr      <aschorr@telemetry-investments.com>
  337 
  338 	Fix reporting of negative arguments for and(), or() and xor().
  339 	Thanks to Koichi Murase <myoga.murase@gmail.com> for the
  340 	report.
  341 
  342 	* builtin.c (do_and): Use nargs instead of i in the loop to
  343 	check for non-numeric and negative arguments.
  344 	(do_or): Ditto.
  345 	(do_xor): Ditto.
  346 
  347 2019-07-23         Arnold D. Robbins     <arnold@skeeve.com>
  348 
  349 	* Checklist: Updated.
  350 
  351 2019-07-21         Arnold D. Robbins     <arnold@skeeve.com>
  352 
  353 	* command.y, custom.h, eval.c, ext.c, field.c, io.c,
  354 	msg.c, node.c, nonposix.h, re.c: Update copyright year.
  355 	* NEWS: Updated.
  356 	* README: Updated.
  357 
  358 2019-07-16         Arnold D. Robbins     <arnold@skeeve.com>
  359 
  360 	* TODO: Updated.
  361 	* awkgram.y [GRAMMAR]: Change some lint warnings to use lintwarn.
  362 	(yylex): Ditto.
  363 	* field.c (choose_fs_function): Ditto.
  364 	* main.c (main): Ditto.
  365 	* node.c (parse_escape): Ditto.
  366 
  367 2019-07-09         Arnold D. Robbins     <arnold@skeeve.com>
  368 
  369 	* gawkapi.h: Update copyright year, fix some spelling errors.
  370 
  371 2019-07-08         Andrew J. Schorr      <aschorr@telemetry-investments.com>
  372 2019-07-08         Andrew J. Schorr      <aschorr@telemetry-investments.com>
  373 
  374 	* gawkapi.h (gawk_api_major_version): Bump from 2 to 3 because the
  375 	namespace changes altered the function signatures in gawk_api_t.
  376 	And add a comment at the top of the structure with a reminder that
  377 	the version number should be bumped whenever the struct is altered
  378 	in any way.
  379 
  380 2019-06-30         Arnold D. Robbins     <arnold@skeeve.com>
  381 
  382 	* interpret.h (r_interpret): Fix two more cases of warning
  383 	about gawk extensions.
  384 	* awkgram.y [GRAMMAR]: And two more cases here. Thanks to
  385 	Mark Krauze <daburashka@ya.ru> for making me look for them.
  386 
  387 	Unrelated:
  388 
  389 	* config.sub: Updated from GNULIB.
  390 
  391 2019-06-26         Arnold D. Robbins     <arnold@skeeve.com>
  392 
  393 	* symbol.c (install): Strip off any leading `awk::' before
  394 	installing a symbol. Thanks to Andrew Schorr for the
  395 	report.
  396 
  397 2019-06-21         Arnold D. Robbins     <arnold@skeeve.com>
  398 
  399 	* config.guess, config.sub: Updated from GNULIB.
  400 	* awkgram.y (get_src_buf): Set buffers to zero to avoid
  401 	possible issues with accessing uninitialized memory.
  402 	Thanks to valgrind, as pointed out by Nadezhda Vyukova
  403 	<qniva@yandex.ru>.
  404 	* NEWS, README.git: Fix some typos.
  405 
  406 2019-06-19         Arnold D. Robbins     <arnold@skeeve.com>
  407 
  408 	* re.c (make_regexp): If do_posix, have {} in ok_to_escape.
  409 	Thanks to Ed Morton <mortoneccc@comcast.net> for the report.
  410 
  411 2019-06-18         Arnold D. Robbins     <arnold@skeeve.com>
  412 
  413 	* 5.0.1: Release tar ball made.
  414 
  415 2019-06-06         Arnold D. Robbins     <arnold@skeeve.com>
  416 
  417 	* main.c (usage): Update comment for translators.
  418 
  419 2019-06-02         Arnold D. Robbins     <arnold@skeeve.com>
  420 
  421 	* awkgram.c, command.c: Update to Bison 3.4.
  422 	* NEWS: Updated.
  423 
  424 2019-05-22         Arnold D. Robbins     <arnold@skeeve.com>
  425 
  426 	Add --lint=no-ext. Suggest by Mark Krauze <daburashka@ya.ru>.
  427 
  428 	* NEWS: Updated.
  429 	* awk.h (DO_LINT_EXTENSIONS): New enum.
  430 	(do_lint_extensions): New macro.
  431 	* awkgram.y (yylex, snode): Use do_lint_extensions instead of
  432 	do_lint where appropriate.
  433 	* builtin.c (do_length): Ditto.
  434 	* eval.c (set_IGNORECASE, set_BINMODE): Ditto.
  435 	(set_LINT): Revise logic.
  436 	* field.c (do_split, set_FIELDWIDTHS, chose_fs_function, set_FPAT):
  437 	Ditto.
  438 	* io.c (set_RS): Ditto.
  439 	* main.c (usage): Updated.
  440 	(parse_args): Revise the code to handle --lint=no-ext.
  441 
  442 2019-05-10         Arnold D. Robbins     <arnold@skeeve.com>
  443 
  444 	* NEWS: Updated.
  445 
  446 2019-05-06         Arnold D. Robbins     <arnold@skeeve.com>
  447 
  448 	In sandbox mode, disallow assigning filenames that weren't
  449 	there initially. Thanks to Nolan Woods <nolan_w@sfu.ca> for
  450 	pointing out the gap.
  451 
  452 	* awk.h (init_argv_array): Add declaration.
  453 	* cint_array.c (argv_store): New vtable for ARGV.
  454 	(argv_shadow_array): New file static variable
  455 	(argv_store, init_argv_array): New functions.
  456 	* main.c (init_args): If in sandbox mode, build shadow array of
  457 	initial argv values. Call init_argv_array.
  458 
  459 2019-05-05         Arnold D. Robbins     <arnold@skeeve.com>
  460 
  461 	* ext.c (load_ext): Fix the message in the version for when
  462 	extensions are not available.
  463 
  464 2019-04-24         Arnold D. Robbins     <arnold@skeeve.com>
  465 
  466 	* msg.c (msg): Use %ld for the line number value. Thanks to
  467 	Michal Jaegermann for the report.
  468 
  469 2019-04-23         Arnold D. Robbins     <arnold@skeeve.com>
  470 
  471 	* config.sub: Updated from GNULIB.
  472 
  473 2019-02-21         Andrew J. Schorr      <aschorr@telemetry-investments.com>
  474 
  475 	* interpert.h (Op_store_field): Move call to force_string to
  476 	here from unfield.  Speeds up work with fields that are numeric
  477 	only. Thanks to Tom Gray <tom_gray@keysight.com> for the report.
  478 
  479 2019-04-21         Arnold D. Robbins     <arnold@skeeve.com>
  480 
  481 	* POSIX.STD: Updated.
  482 	* field.c (get_field): If NF == -1, check parse high water to
  483 	set in_middle correctly. Thanks to <oguzismailuysal@gmail.com>
  484 	for the report.
  485 
  486 2019-04-18         Arnold D. Robbins     <arnold@skeeve.com>
  487 
  488 	* msg.c (msg): Add an undocumented feature. "Use the Source, Luke."
  489 	* Makefile.am (EXTRA_DIST): Add ChangeLog.1 to the list. Ooops.
  490 	* CheckList: Updated.
  491 
  492 	Fix core dump reported by Steve Kemp <steve@steve.org.uk>:
  493 
  494 	* awk.h (errcount): Declare.
  495 	* awkgram.y (errcount): No longer static.
  496 	* command.y (dbg_errcount): Renamed from errcount.
  497 	* main.c (catchsig, catchsegv): If errcount > 0, just exit,
  498 	don't abort.  
  499 
  500 2019-04-12         Arnold D. Robbins     <arnold@skeeve.com>
  501 
  502 	* configure.ac: Update version to 5.0.0.
  503 	* configure: Regenerated.
  504 	* ChangeLog.1: Rotated ChangeLog into this file.
  505 	* ChangeLog: Created anew for gawk 5.0.0 and on.
  506 	* README: Bump version to 5.0.0.
  507 	* 5.0.0: Release tar ball made.