gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gawk-diffs] [SCM] gawk branch, feature/api-parser, updated. gawk-4.1.0-


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, feature/api-parser, updated. gawk-4.1.0-2457-ga9b388f
Date: Mon, 20 Mar 2017 15:24:58 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, feature/api-parser has been updated
       via  a9b388f5902d8d06eeb2e742c7cea3c8f49cc2d0 (commit)
       via  efc7e96c876ccf3b83ab3249eca852a0292ff943 (commit)
       via  7ec5068a7419cc4dddcf7e060077a1287217c5cd (commit)
       via  de684770acc545bf14f85655d44fe91e9afa0ba3 (commit)
       via  1e9198f58d7d5616e03dc4b2bb6f738ab4e89f06 (commit)
       via  3272a45617a6c6b58096e7e8349c7d5d63b910f6 (commit)
       via  0fb0e8d020571df6f874e1e66f577cff14ba0784 (commit)
      from  39c46265139aa8faf87160b30710876bde4c6ba9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=a9b388f5902d8d06eeb2e742c7cea3c8f49cc2d0

commit a9b388f5902d8d06eeb2e742c7cea3c8f49cc2d0
Merge: 39c4626 efc7e96
Author: Arnold D. Robbins <address@hidden>
Date:   Mon Mar 20 21:24:51 2017 +0200

    Merge branch 'master' into feature/api-parser

diff --cc ChangeLog
index 1d211a0,8290a5f..176142c
--- a/ChangeLog
+++ b/ChangeLog
@@@ -1,81 -1,32 +1,110 @@@
+ 2017-03-20         Arnold D. Robbins     <address@hidden>
+ 
+       Improve handling of EPIPE. Problems reported by
+       Alexandre Ferrieux <address@hidden>
+       and David Kerns <address@hidden>.
+ 
+       * awk.h (ignore_sigpipe, set_sigpipe_to_default,
+       non_fatal_flush_std): Declare new functions.
+       (ignore_sigpipe, set_sigpipe_to_default,
+       non_fatal_flush_std): New macros.
+       * builtin.c (do_fflush): When nonfatal not in force, flush
+       of stdout/stderr and EPIPE exits, simulating SIGPIPE, as
+       in nawk/mawk. Flush of other redirections with EPIPE now
+       also fatals.
+       (do_system): Use ignore_sipipe and set_sigpipe_to_default
+       instead of uglier inline ifdefed code.
+       * main.c (main): Ditto.
+       * io.c (redirect_string, two_way_open, gawk_popen): Ditto.
+       (flush_io): Use non_fatal_flush_std for stdout and stderr.
+ 
+       Unrelated:
+ 
+       * config.guess, config.rpath, config.sub, install-sh:
+       Sync with GNULIB.
+ 
+ 2017-03-16         Arnold D. Robbins     <address@hidden>
+ 
+       * configure.ac: Some cleanups.
+ 
 +2017-03-09         Andrew J. Schorr     <address@hidden>
 +
 +      * gawkapi.h (awk_input_field_info_t): Define new structure to contain
 +      API field parsing info.
 +      (awk_input_buf_t): Update get_record prototype to use an array of
 +      awk_input_field_info_t instead of integers.
 +      * awk.h (set_record): Change 3rd argument from 'const int *' to
 +      'const awk_input_field_info_t *'.
 +      * field.c (api_fw): Now points to an array of awk_input_field_info_t
 +      instead of integers.
 +      (set_record): Change 3rd argument to point to an array of
 +      awk_input_field_info_t.
 +      (api_parse_field): Update parsing logic to use awk_input_field_info_t
 +      structures instead of an array of integers.
 +      * io.c (inrec, do_getline_redir, do_getline): Change field_width type
 +      from 'const int *' to 'const awk_input_field_info_t *'.
 +      (get_a_record): Change field_width argument type from 'const int **'
 +      to 'const awk_input_field_info_t **'.
 +
 +2017-03-09         Arnold D. Robbins     <address@hidden>
 +
 +      * field.c: Minor style edits.
 +
 +2017-03-06         Andrew J. Schorr     <address@hidden>
 +
 +      * field.c (normal_parse_field): Renamed from save_parse_field to reflect
 +      better its purpose. Added a comment to explain more clearly what's
 +      going on.
 +      (set_record, set_parser): Rename save_parse_field to normal_parse_field.
 +
 +2017-03-06         Andrew J. Schorr     <address@hidden>
 +
 +      * gawkapi.h (awk_input_buf_t): Remove field_width array and instead
 +      add it as a 6th argument to the get_record function. This should
 +      not break existing code, since it's fine to ignore the additional
 +      argument. Document the behavior of the field_width argument.
 +      * io.c (inrec): Pass pointer to field_width array to get_a_record,
 +      and then hand it off to set_record.
 +      (do_getline_redir): If not reading into a variable, pass pointer to
 +      field_width array to get_a_record and then hand it off to set_record.
 +      (do_getline): Ditto.
 +      (get_a_record): Add a 4th field_width argument to pass through to
 +      the API get_record method.
 +
 +2017-03-05         Andrew J. Schorr     <address@hidden>
 +
 +      * awk.h (set_record): Add a new argument containing a field-width
 +      array returned by an API parser.
 +      (field_sep_type): Add new enum value Using_API.
 +      (current_field_sep_str): Declare new function.
 +      * field.c (save_parse_field): New static variable to save the
 +      parse_field value in cases where it's overridden by API parsing.
 +      (api_fw): New static variable to hold pointer to API parser fieldwidth
 +      array.
 +      (set_record): Add new field-width array argument. If present, API
 +      parsing will override the default parsing mechanism.
 +      (api_parse_field): New field parser using field widths supplied by the
 +      API. This is very similar to the existing fw_parse_field function.
 +      (get_field): Fix typo in comment.
 +      (set_parser): New function to set default parser and check whether
 +      there's an API parser override in effect. Update PROCINFO["FS"] if
 +      something has changed.
 +      (set_FIELDWIDTHS): Use set_parser and stop updating PROCINFO["FS"].
 +      (set_FS): Ditto.
 +      (set_FPAT): Ditto.
 +      (current_field_sep): Return Using_API when using the API field parsing
 +      widths.
 +      (current_field_sep_str): New function to return the proper string
 +      value for PROCINFO["FS"].
 +      * gawkapi.h (awk_input_buf_t): Add field_width array to enable the
 +      parser get_record function to supply field widths to override the
 +      default gawk field parsing mechanism.
 +      * io.c (inrec): Pass iop->public.field_width to set_record as the
 +      3rd argument to enable API field parsing overrides.
 +      (do_getline_redir, do_getline): Ditto.
 +      * main.c (load_procinfo): Use new current_field_sep_str function
 +      instead of switching on the return value from current_field_sep.
 +
  2017-02-23         Arnold D. Robbins     <address@hidden>
  
        * awk.h (boolval): Return bool instead of int.
diff --cc test/ChangeLog
index acd2bf7,df0ed8f..ad1b35b
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@@ -1,10 -1,10 +1,17 @@@
+ 2017-03-19         Andrew J. Schorr     <address@hidden>
+ 
+       * Makefile.am (argarray): Always copy argarray.in to the local
+       directory as argarray.input instead of trying to figure out whether
+       $(srcdir) is the current directory.
+       * argarray.ok: Replace argarray.in with argarray.input.
+ 
 +2017-03-06         Andrew J. Schorr     <address@hidden>
 +
 +      * Makefile.am (readdir_test): New test to check whether get_record
 +      field_width parsing is working by comparing the results from the
 +      readdir and readdir_test extensions.
 +      (SHLIB_TESTS): Add readdir_test.
 +
  2017-02-21         Andrew J. Schorr     <address@hidden>
  
        * Makefile.am (mktime): New test.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                        |   29 +
 awk.h                            |   12 +
 builtin.c                        |   21 +-
 config.guess                     |   12 +-
 config.rpath                     |    2 +-
 config.sub                       |    5 +-
 configure                        |   33 +-
 configure.ac                     |   33 +-
 doc/ChangeLog                    |    6 +
 doc/gawk.info                    | 1122 ++++++++++++++++++++------------------
 doc/gawk.texi                    |   59 +-
 doc/gawktexi.in                  |   59 +-
 extension/build-aux/ChangeLog    |    5 +
 extension/build-aux/config.guess |   12 +-
 extension/build-aux/config.rpath |    2 +-
 extension/build-aux/config.sub   |    5 +-
 extension/build-aux/install-sh   |    4 +-
 install-sh                       |    4 +-
 io.c                             |   69 ++-
 main.c                           |    5 +-
 test/ChangeLog                   |    7 +
 test/Makefile.am                 |   12 +-
 test/Makefile.in                 |   12 +-
 test/argarray.ok                 |    4 +-
 24 files changed, 888 insertions(+), 646 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]