gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, feature/minrx, updated. gawk-4.1.0-5687-g2c1fa0a7


From: Arnold Robbins
Subject: [SCM] gawk branch, feature/minrx, updated. gawk-4.1.0-5687-g2c1fa0a7
Date: Thu, 8 Aug 2024 00:15:52 -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/minrx has been updated
       via  2c1fa0a72d333ed5c1c88ed433777506b7271409 (commit)
       via  0aab2854f12c57dfa190844086950011c0cacf10 (commit)
       via  21b4a1139494fd22530d42ce8dfa784cd7c7c8d2 (commit)
      from  31eded7c8a0189a32d3a861aaa73ba3496c98e3b (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=2c1fa0a72d333ed5c1c88ed433777506b7271409

commit 2c1fa0a72d333ed5c1c88ed433777506b7271409
Merge: 31eded7c 0aab2854
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Thu Aug 8 07:15:40 2024 +0300

    Merge branch 'master' into feature/minrx

diff --cc ChangeLog
index 4c4c492f,f7088e4d..aeba0fe5
--- a/ChangeLog
+++ b/ChangeLog
@@@ -1,7 -1,8 +1,16 @@@
 +2024-07-29         Mike Haertel                <mike@ducky.net>
 +
 +      * re.c (re_numsubpats): For MinRX, return re_nsub + 1.
 +
+ 2024-08-06         Arnold D. Robbins     <arnold@skeeve.com>
+ 
+       * printf.c (format_unsigned_integer, format_signed_integer):
+       Additional fixes. New added tests pass.
+ 
++2024-07-29         Mike Haertel                <mike@ducky.net>
++
++      * re.c (re_numsubpats): For MinRX, return re_nsub + 1.
++
  2024-07-28         Arnold D. Robbins     <arnold@skeeve.com>
  
        * TODO: Updated.
@@@ -10,19 -11,102 +19,111 @@@
  
        * re.c (check_bracket_exp): Make the code actually work.
  
 +2024-07-25         Arnold D. Robbins     <arnold@skeeve.com>
 +
 +      * re.c (refree): Call minrx_regfree() on rp->mre_pat.
 +      Thanks to valgrind and Mike Haertel.
 +
+ 2024-07-23         Arnold D. Robbins     <arnold@skeeve.com>
+ 
+       Finish cleaning up the printf refactoring. All tests run, both
+       regular and -M. Test suite is valgrind clean!
+ 
+       Summary of changes:
+       * printf.c: New file.
+       (format_args): Moved here and renamed from format_tree.  Considerably
+       simplified by moving code out into new routines.
+       (struct flags): New struct.
+       (add_thousands, do_printf, do_sprintf, format_nan_inf, mbc_byte_count,
+       mbc_char_count, out_of_range, printf_common, reverse): Moved to here.
+       (add_alt_format, add_plus_or_space_and_fill, adjust_flags, 
compute_zero_flag,
+       fill_to_field_width, format_float, format_integer_digits,
+       format_mpg_integer_digits, format_out_of_range, format_signed_integer,
+       format_unsigned_integer, zero_fill_to_precision): New routines.
+ 
+ 2024-07-21         Arnold D. Robbins     <arnold@skeeve.com>
+ 
+       * printf.c: Simplify printing of signed integers; move several
+       common tasks out into separate routines, and use char * instead
+       of const char * to avoid a lot of casting.
+ 
  2024-07-20         Tim Rice              <trice@posteo.net>
  
        * io.c (csvscan): Set the sentinel if we found CR-LF.
  
 +2024-07-20         Arnold D. Robbins     <arnold@skeeve.com>
 +
 +      * version.c: Add "-minrx" to the version, for now.
 +
+ 2024-07-20         Arnold D. Robbins     <arnold@skeeve.com>
+ 
+       * printf.c: Continuing fixes and cleanups.
+ 
+ 2024-07-17         Arnold D. Robbins     <arnold@skeeve.com>
+ 
+       * NEWS: Updated.
+       * printf.c (fill_to_field_width): New function.
+       (format_out_of_range, format_unsigned_integer): Start to use it.
+ 
+ 2024-07-16         Arnold D. Robbins     <arnold@skeeve.com>
+ 
+       * printf.c: Continue cleaning up code and removing now-dead code.
+ 
+ 2024-07-16         Arnold D. Robbins     <arnold@skeeve.com>
+ 
+       * awk.h (format_args): Renamed from format_tree. Remove
+       format_tree_old.
+       * debug.c, main.c, mpfr.c, node.c: Adjusted.
+       * printf.c (format_args): Renamed. Removed all old, factored-out
+       code.
+       (format_tree_old): Removed.
+ 
+ 2024-07-16         Arnold D. Robbins     <arnold@skeeve.com>
+ 
+       * printf.c: Use mpfr_sprintf() just to generate digits.
+       All tests now passing, even with -M.
+ 
+ 2024-07-13         Arnold D. Robbins     <arnold@skeeve.com>
+ 
+       * printf.c: Continued progress against the printf-corners test.
+ 
+ 2024-07-11         Arnold D. Robbins     <arnold@skeeve.com>
+ 
+       * printf.c: Signed and unsigned integer printing and float printing
+       working for current tests. MPFR integer printing also for current
+       tests. A few tests still to go in printf-corners.
+ 
+ 2024-07-09         Arnold D. Robbins     <arnold@skeeve.com>
+ 
+       * printf.c: Signed printing I think is working. Unsigned is better.
+       Checkpoint commit.
+ 
+ 2024-07-07         Arnold D. Robbins     <arnold@skeeve.com>
+ 
+       * printf.c: Signed and unsigned integer printing mostly working now.
+       Still to go: Finish that up, get GMP/MPFR integer printing working.
+ 
+ 2024-07-05         Arnold D. Robbins     <arnold@skeeve.com>
+ 
+       * printf.c: Lots of cleanup. Floating point format pretty
+       much working. Signed integer printing getting there.
+       Unsigned integer printing still to do.
+ 
+ 2024-07-02         Arnold D. Robbins     <arnold@skeeve.com>
+ 
+       * awk.h (format_tree_new, format_tree_old): Add declarations.
+       (format_tree): Temporarily make into a function.
+       * main.c (format_tree): Declare it.
+       (main): Check PRINTF_NEW environment variable and if so,
+       use the new version. Otherwise use the old one.
+       * printf.c (struct flags): Declare.
+       (format_tree_old): The original version.
+       (format_tree_new): The new one, being refactored.
+       (add_thousands): Use the global `loc' variable, not a parameter.
+       static const char *format_integer(NODE *arg, struct flags *flags);
+       (format_mpg_integer, format_float, format_out_of_range,
+       compute_zero_flag): New functions.
+ 
  2024-07-02         Arnold D. Robbins     <arnold@skeeve.com>
  
        * re.c (make_regexp): \u escapes also now treated literally
diff --cc test/ChangeLog
index 378343c8,963bd31e..0ecfd820
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@@ -1,11 -1,31 +1,39 @@@
+ 2024-08-06         Arnold D. Robbins     <arnold@skeeve.com>
+ 
+       * printf-corners.awk, printf-corners.ok, printf-corners-mpfr: Add
+       six additional test cases. Thanks to Maciej W. Rozycki
+       <macro@redhat.com>.
+ 
 +2024-07-18         Arnold D. Robbins     <arnold@skeeve.com>
 +
 +      * trailbs.ok: Updated (again) after minrx code change.
 +
 +2024-07-17         Arnold D. Robbins     <arnold@skeeve.com>
 +
 +      * trailbs.ok: Updated after minrx code change.
 +
+ 2024-07-23         Arnold D. Robbins     <arnold@skeeve.com>
+ 
+       * printf-corners.awk, printf-corners.ok, printf-corners-mpfr: Add
+       an additional test case.
+ 
+ 2024-07-05         Maciej W. Rozycki     <macro@redhat.com>
+ 
+       * printf-corners.awk, printf-corners.ok, printf-corners-mpfr: Remove
+       cases with "inf" input.  Add further cases.
+ 
+ 2024-07-11         Arnold D. Robbins     <arnold@skeeve.com>
+ 
+       * Makefile.am (EXTRA_DIST): New test, printf-corners.
+       * printf-corners.awk, printf-corners.ok, printf-corners-mpfr.ok: New
+       files.
+ 
+ 2024-06-27         Arnold D. Robbins     <arnold@skeeve.com>
+ 
+       * hsprint.awk: Add headers to output, fix printing of
+       format string.
+       * hsprint.ok: Updated.
+ 
  2024-06-13         Arnold D. Robbins     <arnold@skeeve.com>
  
        * Makefile.am (EXTRA_DIST): Add asortsymtab-mpfr.ok.

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

Summary of changes:
 ChangeLog                   |  110 +++
 Makefile.am                 |    1 +
 Makefile.in                 |   18 +-
 NEWS                        |    6 +-
 awk.h                       |    4 +-
 builtin.c                   | 1402 +-------------------------------
 debug.c                     |    2 +-
 mpfr.c                      |    6 +-
 node.c                      |    6 +-
 pc/ChangeLog                |    4 +
 pc/Makefile.tst             |    9 +-
 printf.c                    | 1891 +++++++++++++++++++++++++++++++++++++++++++
 test/ChangeLog              |   28 +
 test/Makefile.am            |    5 +-
 test/Makefile.in            |   12 +-
 test/Maketests              |    7 +
 test/hsprint.awk            |   79 +-
 test/hsprint.ok             |  128 +--
 test/printf-corners-mpfr.ok |   86 ++
 test/printf-corners.awk     |   88 ++
 test/printf-corners.ok      |   86 ++
 21 files changed, 2462 insertions(+), 1516 deletions(-)
 create mode 100644 printf.c
 create mode 100644 test/printf-corners-mpfr.ok
 create mode 100644 test/printf-corners.awk
 create mode 100644 test/printf-corners.ok


hooks/post-receive
-- 
gawk



reply via email to

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