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-min-max, updated. gawk-4.1.0


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, feature/api-min-max, updated. gawk-4.1.0-2371-g0f15f82
Date: Thu, 22 Dec 2016 15:24:36 +0000 (UTC)

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-min-max has been updated
       via  0f15f82e19b32823fe3fdf51052389ca3b60e92e (commit)
       via  e3cd9ec142f30026b36d63b74d7dc14e220a5c8b (commit)
       via  725d2f781b48ba83f4c8784a0fbe62fe2a6c107a (commit)
       via  cd35e365b6f8d356645093bab1c67c1867a63aef (commit)
      from  a87bc7765999c01467ad9c7fb2c8921de7b9b523 (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=0f15f82e19b32823fe3fdf51052389ca3b60e92e

commit 0f15f82e19b32823fe3fdf51052389ca3b60e92e
Merge: a87bc77 e3cd9ec
Author: Arnold D. Robbins <address@hidden>
Date:   Thu Dec 22 17:24:28 2016 +0200

    Merge branch 'master' into feature/api-min-max

diff --cc ChangeLog
index dfedd36,2ddf016..50e4a4f
--- a/ChangeLog
+++ b/ChangeLog
@@@ -1,46 -1,31 +1,74 @@@
+ 2016-12-22         Arnold D. Robbins     <address@hidden>
+ 
+       * dfa.c: Sync with GNULIB.
+       * intprops.h: New file.
+       * Makefile.am (base_sources): Add intprops.h.
+ 
+       Unrelated.  Import GNULIB fix for regex: fix integer-overflow
+       bug in never-used code.
+       Problem reported by Clément Pit–Claudel in:
+       http://lists.gnu.org/archive/html/emacs-devel/2016-12/msg00654.html
+       Fix by Paul Eggert  <address@hidden>:
+ 
+       * regex_internal.h: Include intprops.h.
+       * regexec.c (re_search_2_stub): Use it to avoid undefined
+       behavior on integer overflow.
+ 
+       Unrelated. Set up a support directory for externally obtained
+       support files.
+ 
+       * Makefile.am (base_sources, EXTRA_DIST): Edit lists.
+       (SUBDIRS): Get ordering right.
+       (LDADD): Add support/libsupport.a.
+       (DEFS): Add -I for support directory.
+       * dfa.c, dfa.h, getopt.c, getopt.h, getopt1.c, getopt_int.h,
+       intprops.h, localeinfo.c, localeinfo.h, random.c, random.h,
+       regcomp.c, regex.c, regex.h, regex_internal.c, regex_internal.h,
+       regexec.c, verify.h, xalloc.h: Moved to support.
+ 
 +2016-12-17         Arnold D. Robbins     <address@hidden>
 +
 +      * gawkapi.h (api_add_ext_func): Add comment about point to
 +      awk_ext_func_t not being const but gawk doesn't use it.
 +      * * interpret.h (Op_ext_builtin): Simplify code, check only
 +      if do_lint and ! f->suppress_lint and num_args > max_expected.
 +
 +2016-12-16         Arnold D. Robbins     <address@hidden>
 +
 +      * gawkapi.h (awk_ext_func_t): Put max back before min. Restores
 +      source compatibility, although there will be compile warnings
 +      because of the 3rd argument for the C function being missing.
 +      * interpret.h (Op_ext_builtin): Used size_t instead of int for
 +      the various variables. Add a check that max expected > 0.
 +
 +2016-12-14         Arnold D. Robbins     <address@hidden>
 +
 +      MAJOR BREAKING API CHANGE.
 +
 +      * awk.h (INSTRUCTION): Update extension function pointer to
 +      take 3rd argument of pointer to struct awk_ext_func.
 +      * gawkapi.c (api_add_ext_func): Update third arg to not be const.
 +      * gawkapi.h (awk_ext_func_t): Put min before max. Add suppress_lint
 +      and data pointer.
 +      [gawk_api_major_version]: Update to 2.
 +      [gawk_api_minor_version]: Reset to 0.
 +      (api_add_ext_func): Update third arg to not be const.
 +      * interpret.h (Op_ext_symbol): Revise lint check.
 +
 +2016-12-12         Arnold D. Robbins     <address@hidden>
 +
 +      * awk.h (INSTRUCTION): Replace min_required and max_expected
 +      with a pointer to the extension functions awk_ext_func_t struct.
 +      * ext.c (make_builtin): Store a pointer to the extension function
 +      struct into the INSTRUCTION instead of the min and max.
 +      * gawkapi.h (awk_ext_func): Use size_t instead of unsigned short.
 +      Put min second, which preserves source code compatibility.
 +      * interpret.h (Op_ext_builtin): Use the pointer for the info
 +      directly. If lint and max_expected > 0 and args > max_expected
 +      print a message and set max_expected to zero so we only print once
 +      per function. Remove special case of both min and max being zero.
 +      (Op_ext_func): Adjust creation of the data structures.
 +
  2016-12-11         Arnold D. Robbins     <address@hidden>
  
        * dfa.c: Sync with GNULIB.

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

Summary of changes:
 ChangeLog                                    |   28 ++
 Makefile.am                                  |   37 +-
 Makefile.in                                  |   61 ++--
 awklib/Makefile.in                           |    1 +
 configure                                    |   96 +++++-
 configure.ac                                 |    2 +
 doc/Makefile.in                              |    1 +
 extras/Makefile.in                           |    1 +
 support/ChangeLog                            |    8 +
 support/Makefile.am                          |   61 ++++
 {awklib => support}/Makefile.in              |  243 +++++---------
 dfa.c => support/dfa.c                       |  345 ++++++++++++-------
 dfa.h => support/dfa.h                       |    0
 getopt.c => support/getopt.c                 |    0
 getopt.h => support/getopt.h                 |    0
 getopt1.c => support/getopt1.c               |    0
 getopt_int.h => support/getopt_int.h         |    0
 support/intprops.h                           |  464 ++++++++++++++++++++++++++
 localeinfo.c => support/localeinfo.c         |    0
 localeinfo.h => support/localeinfo.h         |    0
 random.c => support/random.c                 |    0
 random.h => support/random.h                 |    0
 regcomp.c => support/regcomp.c               |    0
 regex.c => support/regex.c                   |    0
 regex.h => support/regex.h                   |    0
 regex_internal.c => support/regex_internal.c |    0
 regex_internal.h => support/regex_internal.h |    3 +
 regexec.c => support/regexec.c               |    6 +-
 verify.h => support/verify.h                 |    0
 xalloc.h => support/xalloc.h                 |    0
 test/Makefile.in                             |    1 +
 31 files changed, 1008 insertions(+), 350 deletions(-)
 create mode 100644 support/ChangeLog
 create mode 100644 support/Makefile.am
 copy {awklib => support}/Makefile.in (72%)
 rename dfa.c => support/dfa.c (94%)
 rename dfa.h => support/dfa.h (100%)
 rename getopt.c => support/getopt.c (100%)
 rename getopt.h => support/getopt.h (100%)
 rename getopt1.c => support/getopt1.c (100%)
 rename getopt_int.h => support/getopt_int.h (100%)
 create mode 100644 support/intprops.h
 rename localeinfo.c => support/localeinfo.c (100%)
 rename localeinfo.h => support/localeinfo.h (100%)
 rename random.c => support/random.c (100%)
 rename random.h => support/random.h (100%)
 rename regcomp.c => support/regcomp.c (100%)
 rename regex.c => support/regex.c (100%)
 rename regex.h => support/regex.h (100%)
 rename regex_internal.c => support/regex_internal.c (100%)
 rename regex_internal.h => support/regex_internal.h (99%)
 rename regexec.c => support/regexec.c (99%)
 rename verify.h => support/verify.h (100%)
 rename xalloc.h => support/xalloc.h (100%)


hooks/post-receive
-- 
gawk



reply via email to

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