summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog113
1 files changed, 113 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1955fdcf..8552474a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -28,12 +28,48 @@
if you sort SYMTAB. Thanks to zhou shuiqing
<zhoushuiqing321@outlook.com> for the report.
+2023-04-13 Andrew J. Schorr <aschorr@telemetry-investments.com>
+
+ * io.c (csvscan): Convert CR-LF pairs to plain LF, both at the
+ end of the line and when embedded. Plain CRs are not touched.
+
+2023-04-07 Andrew J. Schorr <aschorr@telemetry-investments.com>
+
+ * io.c (csvscan): Instead of stripping all carriage returns in the
+ input, simply include the CR in the RT if it occurs just before
+ the linefeed character.
+
2023-04-07 Arnold D. Robbins <arnold@skeeve.com>
* array.c (assoc_info): Update to handle additional cases so
that one may dump SYMTAB or FUNCTAB. Issue reported by
zhou shuiqing <zhoushuiqing321@outlook.com>.
+2023-03-26 Arnold D. Robbins <arnold@skeeve.com>
+
+ * NEWS: Updated.
+
+2023-03-24 Arnold D. Robbins <arnold@skeeve.com>
+
+ Add support for \u escape sequence.
+
+ * awk.h (parse_escaape): New bool* parameter for unicode.
+ * node.c (make_str_node): Deal with a \u escape.
+ (parse_escape): Handle \u.
+ * re.c (make_regexp): Deal with a \u escape.
+
+2023-03-24 Arnold D. Robbins <arnold@skeeve.com>
+
+ * io.c (set_RS): Fix first time and warning logic for csv mode.
+
+2023-03-23 Arnold D. Robbins <arnold@skeeve.com>
+
+ * io.c (csvscan): Strip CRs.
+
+2023-03-21 Manuel Collado <mcollado2011@gmail.com>
+
+ * io.c (csvscan): Real implementation.
+
2023-03-18 Miguel Pineiro Jr. <mpj@pineiro.cc>
Allow records longer than INT_MAX. For test cases,
@@ -49,6 +85,27 @@
(do_getline): Ditto.
(inrec): Ditto.
+2023-03-17 Arnold D. Robbins <arnold@skeeve.com>
+
+ * field.c (do_split): Modify behavior for --csv.
+
+2023-03-16 Arnold D. Robbins <arnold@skeeve.com>
+
+ * awk.h (enum do_flag_values): Add DO_CSV.
+ (do_csv): New macro.
+ (init_csv_fields, init_csv_records): Add declarations.
+ * field.c (init_csv_fields): New function.
+ (set_parser): Don't set the parser if doing CSV. Add warnings.
+ * io.c (csvscan): New function (placeholder for now).
+ (init_csv_records): New function.
+ (set_RS): Don't set the parser if doing CSV. Add warnings.
+ * main.c (optab): Add new options -k/--csv.
+ (main): Fatal out if --posix and --csv. Call init_csv_records()
+ and init_csv_fields().
+ (usage): Add a line for the new options.
+ (load_procinfo): Install PROCINFO["CSV"] if doing CSV.
+ (parse_args): Update for new options.
+
2023-03-09 Arnold D. Robbins <arnold@skeeve.com>
* gawkapi.h: Update copyright year. Small edit in leading comment.
@@ -104,6 +161,11 @@
2023-02-24 Arnold D. Robbins <arnold@skeeve.com>
+ * field.c (set_comma_field): Free the string node. Fixes a
+ memory leak. Thanks to Andrew Schorr for the report.
+
+2023-02-24 Arnold D. Robbins <arnold@skeeve.com>
+
* awk.h (boolval): Handle Node_var. Thanks to
Daniel Pouzzner <douzzer@mega.nu> for the report, relayed
by Andrew Schorr.
@@ -124,6 +186,17 @@
* io.c (redflags2str, check_duplicated_redirections,
redirect_string): Ditto.
+2023-02-12 Arnold D. Robbins <arnold@skeeve.com>
+
+ * NEWS: Updated.
+
+2023-02-10 Arnold D. Robbins <arnold@skeeve.com>
+
+ * io.c (avoid_flush): New function.
+ (redirect_string): Use it when setting up an output pipeline.
+ Thanks to Alexandre Ferrieux <alexandre.ferrieux@orange.com>
+ for pointing out the performance issue.
+
2023-02-09 Arnold D. Robbins <arnold@skeeve.com>
* main.c (usage): Include URL for source code in the message.
@@ -171,6 +244,11 @@
* README: Updated with texinfo.tex and makeinfo versions.
Update copyright year.
+2022-12-27 Arnold D. Robbins <arnold@skeeve.com>
+
+ * main.c (extra_stack): Remove variable and its uses. Left over
+ from libsigsegv cleanup.
+
2022-12-23 Arnold D. Robbins <arnold@skeeve.com>
* README: Updated with texinfo.tex version.
@@ -182,6 +260,12 @@
2022-12-11 Arnold D. Robbins <arnold@skeeve.com>
+ * main.c (load_procinfo): Remove "mb_cur_max" and "utf8"
+ entries, they're not of any real use.
+ * NEWS: Updated.
+
+2022-12-11 Arnold D. Robbins <arnold@skeeve.com>
+
* main.c (get_pma_version): Add declaration.
(load_procinfo): Use it to set PROCINFO["pma"] if PMA is in use.
Thanks to J Naman for the feature suggestion.
@@ -212,6 +296,16 @@
* main.c (parse_args): Call pma_mpfr_check() if using persisent
malloc.
+2022-12-01 Arnold D. Robbins <arnold@skeeve.com>
+
+ * configure.ac: Removed use of libsigsegv.
+ * main.c: Removed code related to libsigsegv.
+ * NEWS: Updated.
+
+2022-11-25 Arnold D. Robbins <arnold@skeeve.com>
+
+ * field.c (comma_parse_field): Remove unused variable `field'.
+
2022-11-23 Arnold D. Robbins <arnold@skeeve.com>
* msg.c: Update to GPL 3. Thanks to Corinna Vinschen for
@@ -364,6 +458,25 @@
* awkgram.c, command.c: Regenerated, using Bison 3.8.2.
+2022-09-01 Arnold D. Robbins <arnold@skeeve.com>
+
+ * field.c (do_split): Check for not do_posix if separator is comma.
+
+2022-08-31 Arnold D. Robbins <arnold@skeeve.com>
+
+ * field.c (do_split): Make "," as third arg do CSV parsing.
+
+2022-08-30 Arnold D. Robbins <arnold@skeeve.com>
+
+ * field.c (comma_parse_field): Add resizing of new field buffer;
+ No Arbitrary Limits!
+
+2022-08-29 Arnold D. Robbins <arnold@skeeve.com>
+
+ * field.c (comma_parse_field, set_comma_field): New functions.
+ (set_FS): If FS is "," and not posix mode, use CSV parsing.
+ Code follows what BWK's new code does.
+
2022-08-25 Arnold D. Robbins <arnold@skeeve.com>
* awkgram.y (yyerror): Exit at the end, to make syntax errors