gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, select, updated. gawk-4.1.0-95-gc4300d6


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, select, updated. gawk-4.1.0-95-gc4300d6
Date: Tue, 13 Aug 2013 21:07:12 +0000

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, select has been updated
       via  c4300d657ba49db0b6d0f0884f41a29622edc58b (commit)
       via  15a922b8a62092fab8b0e9b9fa06c3182b38b596 (commit)
       via  0760e1cc9c568b49ce3befc1a76799408c49562a (commit)
       via  05ed60a28ae8feb6798aac19b27c561f64e00c5a (commit)
       via  f0c2c7a6a614995911c1030048325d402f29574c (commit)
       via  9f7102c1f47859673f4a78197ed3bd01b8f02580 (commit)
       via  4cd5e81481d79644fbaee082116ada10da1df1ca (commit)
       via  3f60b6ccc298f1eddac0ce917712d84212e015d0 (commit)
       via  f37f28526d9ba96d6b21ab6d8ddb3a73de2dea5b (commit)
       via  7ac1bb98e0ec7cc957b965bea8a1c489669c24b6 (commit)
       via  b8b8ab0e46aaa2725259bb5788261464cb851120 (commit)
       via  0981cc089ea88f146a6c949146e73f88c1b295e9 (commit)
       via  893f4e3b9bf37cbfd4222970b0bc472e7e6f11d9 (commit)
       via  2377ea235bd13f0327bdd4b2195958ce504dbd19 (commit)
       via  9ff2ae36ec0633b8017612b13224447c716bbcc2 (commit)
       via  b9a7f4a3512f770fe86be8f32d32642b6ff95bb3 (commit)
       via  133125e373eebdd96cfe5ed54951d2770c01ef7d (commit)
       via  ddd5dad408190860cb362ddef5944f90284b565b (commit)
       via  71cc2e70847d5a3b99c249fa609ea6ba8b1a00d6 (commit)
       via  08af4ee49aac78ac73df6849fd8f4fa3f0f97cbe (commit)
       via  96cb55baaa352714943b94e73cbf94866250628d (commit)
       via  92f568ff2b446ffa309a663cbe434ebf86d78c08 (commit)
       via  9fe77c4d6778eb6b0ad377abf702e3472cd40564 (commit)
      from  69b59a73db108ede65e4dfce90fcfb10723e1feb (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=c4300d657ba49db0b6d0f0884f41a29622edc58b

commit c4300d657ba49db0b6d0f0884f41a29622edc58b
Merge: 69b59a7 15a922b
Author: Arnold D. Robbins <address@hidden>
Date:   Wed Aug 14 00:06:55 2013 +0300

    Merge branch 'master' into select

diff --cc ChangeLog
index 9bdbf83,daa8005..2ac1a58
--- a/ChangeLog
+++ b/ChangeLog
@@@ -1,43 -1,14 +1,53 @@@
+ 2013-07-24         Arnold D. Robbins     <address@hidden>
+ 
+       * io.c (FAKE_FD_VALUE): Move definition from here ...
+       * awk.h (FAKE_FD_VALUE): ... to here. Fixes compilation on MinGW.
+ 
+ 2013-07-08         Arnold D. Robbins     <address@hidden>
+ 
+       * io.c (get_a_record): Change `min' to `MIN' for consistency with
+       other files and general practice.
+ 
 +2013-07-07         Andrew J. Schorr     <address@hidden>
 +
 +      * configure.ac (AC_CHECK_FUNCS): Check for sigprocmask.
 +      * io.c (wait_any): If sigprocmask is available, block signals instead
 +      of ignoring them temporarily.
 +
 +2013-07-05         Andrew J. Schorr     <address@hidden>
 +
 +      * gawkapi.h (gawk_api): Document that the api_get_file function will not
 +      access the file type and length arguments if the file name is empty.
 +
 +2013-07-04         Andrew J. Schorr     <address@hidden>
 +
 +      * configure.ac (AC_CHECK_FUNCS): Add a check for waitpid.
 +      * io.c (wait_any): Enhance comment to explain why we loop reaping all
 +      exited children when the argument is zero.  When available, use waitpid
 +      with WNOHANG to avoid blocking.  Remove my previous incorrect patch to
 +      exit after reaping the first child.  The function is intended to
 +      wait for all children, since we are not careful about reaping children
 +      as soon as they die.
 +
 +2013-07-02         Andrew J. Schorr     <address@hidden>
 +
 +      * gawkapi.h (gawk_api): Remove unused api_lookup_file hook.
 +      (lookup_file): Remove associated macro.
 +      * gawkapi.c (api_lookup_file): Remove unused function.
 +      (api_impl):  Remove unused api_lookup_file hook.
 +
 +2013-07-02         Andrew J. Schorr     <address@hidden>
 +
 +      * awkgram.y (main_beginfile): Declare new global INSTRUCTION *.
 +      (parse_program): Set main_beginfile to point to the BEGINFILE
 +      instruction block.
 +      * gawkapi.c (api_get_file): After nextfile starts a new file,
 +      we need to run the BEGINFILE actions.  We retrieve the
 +      instruction pointer from main_beginfile and execute it until
 +      we reach the Op_after_beginfile opcode.  We then run after_beginfile
 +      manually and restore the value of currule and source.
 +
- 2013-07-02         Andrew J. Schorr     <address@hidden>
+ 2013-07-04         Andrew J. Schorr     <address@hidden>
  
        * gawkapi.h (awk_element_t): Add comment indicating that the array
        element index will always be a string!
@@@ -47,44 -18,17 +57,55 @@@
        force_string redundant, since node_to_awk_value does that internally
        when we request a string.
  
 +2013-07-02         Andrew J. Schorr     <address@hidden>
 +
 +      * eval.c (update_ERRNO_string): Set PROCINFO["errno"] to 0.
 +      * io.c (inrec): Since get_a_record may now return -2, be sure
 +      to throw an error in that case as well.
 +      (wait_any): Fix what appears to be a bug.  The old logic repeatedly
 +      called wait until it failed.  When a process has multiple children,
 +      this causes it to stall until all of them have exited.  Instead,
 +      we now exit the function after the first successful wait call.
 +      (do_getline_redir, do_getline): Handle case where get_a_record
 +      returns -2.
 +      (errno_io_retry): New function to decide whether an I/O operation should
 +      be retried.
 +      (get_a_record): When read returns an error, call errno_io_retry to
 +      decide whether the operation should be retried.  If so, return -2
 +      instead of setting the IOP_AT_EOF flag.
 +
 +2013-07-01         Andrew J. Schorr     <address@hidden>
 +
 +      * eval.c (update_ERRNO_int, unset_ERRNO): Update PROCINFO["errno"].
 +
 +2013-06-30         Andrew J. Schorr     <address@hidden>
 +      * awk.h (redirect_string): Declare new function that provides API access
 +      to the redirection mechanism.
 +      * gawkapi.h (GAWK_API_MINOR_VERSION): Bump from 0 to 1 since 2 new
 +      hooks were added to the api.
 +      (gawk_api_t): Add 2 new functions api_lookup_file and api_get_file.
 +      (lookup_file, get_file): New macros to wrap the new API functions.
 +      * gawkapi.c (curfile): Declare this extern, since it is needed
 +      by lookup_file and get_flie.
 +      (api_lookup_file): Find an open file using curfile or getredirect().
 +      (api_get_file): Find or open a file using curfile or redirect_string().
 +      (api_impl): Add api_lookup_file and api_get_file.
 +      * io.c (redirect_string): Renamed from redirect and changed arguments
 +      to take a string instead of a 'NODE *'.  This allows it to be called
 +      through the API's new get_file hook.
 +      (redirect): Now implemented by calling redirect_string backend function.
 +
+ 2013-07-04         Arnold D. Robbins     <address@hidden>
+ 
+       * builtin.c (format_tree): Fixes for %c with multibyte characters
+       and field width > 1. Bugs reported by Nethox <address@hidden>.
+ 
+ 2013-07-02         Arnold D. Robbins     <address@hidden>
+ 
+       * profile.c (pp_string): Add a call to chksize and fix another.
+       Avoids valgrind errors on profile5 test. Thanks to Andrew
+       Schorr for the report.
+ 
  2013-06-27         Arnold D. Robbins     <address@hidden>
  
        * awkgram.y: Minor whitespace cleanup, remove redundant ifdef.
diff --cc extension/ChangeLog
index 7642797,97c3f40..2fb742a
--- a/extension/ChangeLog
+++ b/extension/ChangeLog
@@@ -1,105 -1,19 +1,121 @@@
+ 2013-08-06         Arnold D. Robbins     <address@hidden>
+ 
+       * filefuncs.c: Change _WIN32 to __MINGW32__ globally, per
+       Eli Zaretskii.
+ 
+ 2013-08-02         Arnold D. Robbins     <address@hidden>
+ 
+       * filefuncs.c (do_fts): Add a version for _WIN32 that prints a
+       "not supported" fatal message.  This is slightly better than the
+       "fts not found" which is otherwise produced.
+ 
+ 2013-07-24         Arnold D. Robbins     <address@hidden>
+ 
+       * gawkdirfd.h (FAKE_FD_VALUE): Move definition up in the file to give
+       clean compile on MinGW.
+ 
 +2013-07-07         Andrew J. Schorr     <address@hidden>
 +
 +      * configure.ac (AC_CHECK_FUNCS): Check for fcntl.
 +      * select.c (set_non_blocking): Check that fcntl and O_NONBLOCK are
 +      available.
 +
 +2013-07-07         Andrew J. Schorr     <address@hidden>
 +
 +      * select.c (signal_handler): On platforms lacking sigaction, reset
 +      the signal handler each time a signal is trapped to protect in case
 +      the system resets it to default.
 +
 +2013-07-05         Andrew J. Schorr     <address@hidden>
 +
 +      * select.c (signal_result): New function to set result string from
 +      signal function and detect when we need to roll back.
 +      (do_signal): Now takes an optional 3rd override argument.  Instead
 +      of returning -1 or 0, we now return information about the previously
 +      installed signal handler: default, ignore, trap, or unknown.  An
 +      empty string is returned on error.  If it is an unknown handler,
 +      and override is not non-zero, we roll back the handler and return "".
 +
 +2013-07-05         Andrew J. Schorr     <address@hidden>
 +
 +      * select.c (set_non_blocking): Do not attempt F_SETFL if F_GETFL fails.
 +      (do_set_non_blocking): Add support for case when called with a single
 +      "" argument.
 +
 +2013-07-05         Andrew J. Schorr     <address@hidden>
 +
 +      * select.c (do_signal): If sigaction is unavailable, fall back to
 +      signal and hope that it does the right thing.
 +
 +2013-07-05         Andrew J. Schorr     <address@hidden>
 +
 +      * configure.ac (AC_CHECK_FUNCS): Add kill and sigprocmask.
 +      * select.c (get_signal_number): Change error messages since now may
 +      be called by "kill" as well as "select_signal".
 +      (do_signal): Add a lint warning if there are more than 2 args.
 +      (do_kill): Add new function to send a signal.
 +      (do_select): Support platforms where sigprocmask is not available.
 +      There will be a race condition on such platforms, but that is not
 +      easily avoided.
 +
 +2013-07-02         Andrew J. Schorr     <address@hidden>
 +
 +      * select.c (do_select): Now that the API flatten_array call has been
 +      patched to ensure that the index values are strings, we can remove
 +      the code to check for the AWK_NUMBER case.
 +
 +2013-07-02         Andrew J. Schorr     <address@hidden>
 +
 +      * select.c (do_select): Do not treat a numeric command value as a
 +      file descriptor unless the command type is empty.
 +
 +2013-07-02         Andrew J. Schorr     <address@hidden>
 +
 +      * Makefile.am (EXTRA_DIST): Add errlist.h and siglist.h.
 +
 +2013-07-02         Andrew J. Schorr     <address@hidden>
 +
 +      * select.c (set_non_blocking): New helper function to call fcntl.
 +      (do_set_non_blocking): Add support for the case where there's a single
 +      integer fd argument.
 +
 +2013-07-01         Andrew J. Schorr     <address@hidden>
 +
 +      * select.c (do_set_non_blocking): Implement new set_non_blocking
 +      function.
 +      (func_table): Add set_non_blocking.
 +
 +2013-07-01         Andrew J. Schorr     <address@hidden>
 +
 +      * errlist.h: New file containing a list of all the errno values I could
 +      find.
 +      * errno.c: Implement a new errno extension providing strerror,
 +      errno2name, and name2errno.
 +      * Makefile.am (pkgextension_LTLIBRARIES): Add errno.la.
 +      (errno_la_SOURCES, errno_la_LDFLAGS, errno_la_LIBADD): Build new errno
 +      extension.
 +      * select.c (ext_version): Fix version string.
 +      * siglist.h: Update to newest glibc version.
 +
 +2013-07-01         Andrew J. Schorr     <address@hidden>
 +
 +      * siglist.h: New file copied from glibc to provide a mapping between
 +      signal number and name.
 +      * select.c: Add a new "select_signal" function and provide support
 +      for trapping signals.
 +      (do_select): Add support for a 5th argument to contain an array
 +      of returned signals.  Improve the argument processing, and add
 +      better warning messages.
 +
 +2013-06-30         Andrew J. Schorr     <address@hidden>
 +
 +      * Makefile.am (pkgextension_LTLIBRARIES): Add select.la.
 +      (select_la_SOURCES, select_la_LDFLAGS, select_la_LIBADD): Build new
 +      select extension.
 +      * configure.ac (AC_CHECK_HEADERS): Add signal.h.
 +      (AC_CHECK_FUNCS): Add sigaction.
 +      * select.c: Implement the new select extension.
 +
  2013-06-10         Arnold D. Robbins     <address@hidden>
  
        * configure.ac (AC_HEADER_MAJOR): New macro added.

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

Summary of changes:
 ChangeLog             |   25 ++++++++++++++-
 README_d/ChangeLog    |    4 ++
 README_d/README.pc    |    9 +++--
 TODO                  |    9 +++++-
 awk.h                 |    6 ++++
 builtin.c             |   27 +++++++++-------
 extension/ChangeLog   |   16 ++++++++++
 extension/filefuncs.c |   33 +++++++++++++++-----
 extension/gawkdirfd.h |   14 ++++++--
 io.c                  |   14 +++-----
 profile.c             |    4 ++-
 test/ChangeLog        |    8 ++++-
 test/Makefile.am      |   11 ++++++-
 test/Makefile.in      |   11 ++++++-
 test/mbprintf4.awk    |   32 +++++++++++++++++++
 test/mbprintf4.in     |    3 ++
 test/mbprintf4.ok     |   81 +++++++++++++++++++++++++++++++++++++++++++++++++
 17 files changed, 263 insertions(+), 44 deletions(-)
 create mode 100644 test/mbprintf4.awk
 create mode 100644 test/mbprintf4.in
 create mode 100644 test/mbprintf4.ok


hooks/post-receive
-- 
gawk



reply via email to

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