-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathChangeLog-2014
5585 lines (4291 loc) · 191 KB
/
ChangeLog-2014
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2014-05-13 Eric Blake <[email protected]>
doc: fix line-wrapped macro definitions
* doc/m4.texi: Drop bogus @c.
Reported by Marijn Schouten, fix by Patrice Dumas copied from
autoconf code base.
2014-02-05 Vitezslav Crhonek <[email protected]> (tiny change)
main: diagnose unsupported --word-regexp
* src/m4.c (long_options): Don't allow long option if short option
is rejected.
2014-01-01 Eric Blake <[email protected]>
maint: bump copyright year
* all files: Version control now has a commit in 2014.
* gnulib: Update to latest.
2013-11-08 Eric Blake <[email protected]>
build: fix regression for DragonFly BSD
* gnulib: Update to latest gnulib, for fpending fix.
2013-09-24 Eric Blake <[email protected]>
build: improve default build for non-gcc
* gnulib: Update to latest gnulib.
* configure.ac (gl_WARN_ADD): Drop flags now guaranteed by gnulib.
(--enable-gcc-warnings): Set default based on a tarball-only file,
rather than whether .git exists.
* THANKS: Update.
2013-09-15 Gary V. Vaughan <[email protected]>
configury: specify subdir-objects for future automake releases.
Latest automake warns about future incompatibility if
subdir-objects is not specified by AM_INIT_AUTOMAKE.
* configure.ac (AM_INIT_AUTOMAKE): Add subdir-objects.
bootstrap: require newer texinfo release.
* bootstrap.conf (buildreq): Bump required makeinfo binary
release number to 4.13 to support --bulid-dir option.
bootstrap: don't double-specify --no-changelog to gnulib-tool.
* bootstrap.conf (gnulib_tool_option_extras): Rename from
this...
(gnulib_tool_options): ...this, and append options rather than
overwrite.
bootstrap: sync with upstream.
* gl/build-aux/bootstrap.in, gl/build-aux/extract-trace,
gl/build-aux/funclib.sh, gl/build-aux/options-parser: Update
from upstream to pick up recent improvements.
* bootstrap: Regenerate.
2013-08-17 Michael Witten <[email protected]> (tiny change)
Clean up documentation
* doc/m4.texinfo: Note that m4 is mostly compatible with SVR4.
2013-08-17 Eric Blake <[email protected]>
maint: update to latest gnulib
* gnulib: Update to latest, for various fixes.
2013-04-18 Eric Blake <[email protected]>
maint: update to latest gnulib
* gnulib: Update to latest, for regex fixes.
2013-03-15 Eric Blake <[email protected]>
build: avoid test failure on HPUX
* doc/m4.texi (Command line files): Skip tests on systems where it
is impossible to start with stdin/out closed.
Reported by Gary V. Vaughan.
2013-03-12 Eric Blake <[email protected]>
maint: update to latest gnulib
* gnulib: Update to latest, for mingw compile fixes.
2013-03-11 Eric Blake <[email protected]>
build: fix large diversions on mingw
* gl/lib/clean-temp.c.diff: New file.
* NEWS: Mention the fix.
2013-03-08 Gary V. Vaughan <[email protected]>
bootstrap: remove reintroduced CVS cruft.
* bootstrap.conf (m4_ignore_gnulib_ignore): Remove.
The code this was factored from was removed between making the
bootstrap branch, and merging, so this function is actually
obsolete.
maint: automake 1.11.5 and earlier generate insecure dist
rules.
* configure.ac (AM_INIT_AUTOMAKE): Require 1.11.5 or newer.
2010-09-17 Gary V. Vaughan <[email protected]>
bootstrap: upgrade to canonical upstream version.
* bootstrap.conf: New file to configure gnulib bootstrap.
* gl: New gnulib overrides directory.
* gl/modules/bootstrap, gl/modules/extract-trace,
gl/modules/funclib.sh, gl/modules/inline-source,
gl/modules/options-parser: Import canonical bootstrap modules.
* gl/build-aux/bootstrap.in, gl/build-aux/extract-trace,
gl/build-aux/funclib.sh, gl/build-aix/inline-source,
gl/build-aux/options-parser: Import module implementations.
* bootstrap: Regenerate.
* m4/gnulib-cache.m4: Regenerate.
2013-01-02 Eric Blake <[email protected]>
maint: automake recommends *.texi now
* doc/m4.texinfo: Move...
* doc/m4.texi: ...here, for the eventual automake 1.14.
* HACKING: Reflect the rename.
* doc/Makefile.am (info_TEXINFOS): Likewise.
* checks/Makefile.am ($(srcdir)/stamp-checks): Likewise.
2013-01-01 Eric Blake <[email protected]>
maint: bump copyright year
* all files: Version control now has a commit in 2013.
maint: update to latest gnulib
* gnulib: Update to latest, for rational range regex, build fixes,
copyright update.
* NEWS: Document this.
2012-12-22 Eric Blake <[email protected]>
maint: enable tight_scope syntax check
* src/Makefile.am (m4_SOURCES): Move m4.h...
(noinst_HEADERS): ...into separate listing for syntax check.
* src/m4.h: Add 'extern' to function declarations.
(expansion_level): Declare extern variable here...
* src/debug.c: ...not here.
maint: move syntax check exemptions into cfg.mk
* .x-sc_prohibit_tab_based_indentation: Delete file.
* .x-update-copyright: Likewise.
* Makefile.am (syntax_check_exceptions): Delete rule.
* cfg.mk (exclude_file_name_regexp): Move exemptions here.
(local-checks-to-skip): Re-enable copyright check.
build: update to latest gnulib
* gnulib: Update to latest.
2012-11-19 Eric Blake <[email protected]>
build: avoid problematic gcc 4.4 warnings
* configure.ac (nw): Disable gcc warnings that cause build
failures under RHEL 6.3.
* gnulib: Update to latest.
2012-11-14 Paul Eggert <[email protected]>
doc: improve prehistory discussion
* doc/m4.texinfo (History): Describe M6 and related processors.
From a suggestion by Doug McIlroy in
<http://lists.gnu.org/archive/html/m4-discuss/2012-05/msg00004.html>.
Also, improve citation quality by giving URLs and so forth.
2012-09-21 Eric Blake <[email protected]>
maint: drop more CVS cruft
* bootstrap (Version control): Don't generate .cvsignore or
prepopulate m4/.gitignore.
* .gitignore: Allow m4/gnulib-cache.m4 manually.
2012-09-06 Eric Blake <[email protected]>
maint: enable gcc warnings during git development
* configure.ac (gl_gcc_warnings): Alter default based on environment.
2012-09-05 Stefanno Lattarini <[email protected]> (tiny change)
maint: convert the last hand-written Makefile to automake
* checks/Makefile.in: Rename ...
* checks/Makefile.am: ... like this, and simplify and adjust to
make it proper as Automake input.
2012-09-04 Eric Blake <[email protected]>
maint: merge gitignore files
* build-aux/.gitignore: Delete.
* checks/.gitignore: Likewise.
* doc/.gitignore: Likewise.
* examples/.gitignore: Likewise.
* src/.gitignore: Likewise.
* .gitignore: Cover rules from deleted files.
maint: drop CVS cruft
* .cvsignore: Remove.
* build-aux/.cvsignore: Likewise.
* checks/.cvsignore: Likewise.
* doc/.cvsignore: Likewise.
* examples/.cvsignore: Likewise.
* src/.cvsignore: Likewise.
build: add more compiler checking
* configure.ac (nw): Turn on some warnings that no longer trigger
a gcc warning, or where we reduce the scope of unwarned code.
* src/m4.h (progname): Drop redundant declaration.
* src/builtin.c (includes): Use header for program_name.
build: pick up latest gnulib fixes
* gnulib: Update to latest.
* m4/gnulib-cache.m4: Regenerate.
* missing: Break symlink in order to work around automake version
mismatch issue.
* .gitignore: Update.
* .cvsignore: Likewise.
build: mark several pure functions
* src/m4.h (M4_GNUC_PURE): New macro.
* src/m4.c (fault_handler): Mark pure.
* src/builtin.c (find_builtin_by_addr, find_builtin_by_name):
Likewise.
* src/symtab.c (hash): Likewise.
2012-09-01 Eric Blake <[email protected]>
build: silence gcc warning
* configure.ac (M4_cv_gcc_pragma_push_works): New test.
(-Wformat-nonliteral): Disable for older gcc.
* src/format.c (expand_format): Mark our only uses of nonliteral
format as being safe.
doc: fix misuse of @xref
* doc/m4.texinfo (Inhibiting Invocation): Reword.
2012-07-21 Eric Blake <[email protected]>
bootstrap: avoid undefined variables
* bootstrap (func_fatal_error, func_usage, func_help)
(func_version): Use constants, not undefined variables; propagate
any write failures.
(func_missing_arg): Drop duplicate declaration. Preinitialize
exit_cmd.
Reported by Stefano Lattarini.
2012-06-26 Eric Blake <[email protected]>
build: get missing from automake, not gnulib
* build-aux/missing: Break link to gnulib.
* .gitignore: Reflect this.
2012-06-25 Eric Blake <[email protected]>
maint: update copyright year
* all files: Run 'make update-copyright'.
build: deal with newer glibc vs. FORTIFY_SOURCE
* configure.ac (FORTIFY_SOURCE): Make conditional on optimization.
2011-05-02 Eric Blake <[email protected]>
build: pick up latest gnulib fixes
* gnulib: Update to latest, for fclose improvements.
2011-04-30 Eric Blake <[email protected]>
build: improve SIGPIPE emulation on mingw
* gnulib: Update to latest.
* m4/gnulib-cache.m4: Import sigpipe module, drop strtol.
2011-04-29 Eric Blake <[email protected]>
m4_defn: avoid compiler warning
* src/builtin.c (m4_defn): Nuke redundant condition.
m4_error: fix missing va_end
* src/m4.c (m4_error, m4_error_at_line): Add missing va_end.
2011-03-01 Eric Blake <[email protected]>
Release Version 1.4.16.
* gnulib: Update to latest.
* NEWS: Mention the release.
* src/builtin.c (m4_defn): Silence spurious -Wstrict-overflow
warnings from gcc 4.5.1 at -O2.
2011-02-28 Eric Blake <[email protected]>
index: fix typo in previous commit
* doc/m4.texinfo (Index macro): Actually expose the bug.
2011-02-26 Eric Blake <[email protected]>
index: fix another regression from faulty strstr
* gnulib: Update to latest, for strstr fix.
* doc/m4.texinfo (Index macro): Test for the bug.
* NEWS: Document the fix.
* THANKS: Update.
Reported by Mike Stump, with additional analysis from Ralf
Wildenhues and Jim Meyering.
2011-02-07 Eric Blake <[email protected]>
maint: speed up configure, using latest gnulib
* gnulib: Update to latest.
* m4/gnulib-cache.m4: Import fclose and rename modules.
* configure.ac (gl_ASSERT_NO_GNULIB_POSIXCHECK): Speed up normal
configure runs (and document how to rerun GNULIB_POSIXCHECK).
* HACKING: Document GNULIB_POSIXCHECK.
maint: update http git cloning instructions
* HACKING: Git http doesn't like the redirect at git.sv.gnu.org.
* THANKS: Update.
Reported by Mike Dupont.
2011-02-01 Eric Blake <[email protected]>
maint: update to latest gnulib
* gnulib: Update to latest.
* m4/gnulib-cache.m4: Regenerate.
* src/builtin.c (m4_ifelse): Use STREQ.
2011-01-25 Eric Blake <[email protected]>
maint: reflect recent copyright assignments
* AUTHORS: Update.
2011-01-03 Eric Blake <[email protected]>
maint: update copyright year
* gnulib: Update to latest.
* m4/gnulib-cache.m4: Regenerate.
* all other files: Run 'make update-copyright'.
maint: document use of copyright ranges
* README: Copy coreutils wording for allowing copyright year
ranges. Also mention libsigsegv 2.9.
* cfg.mk (UPDATE_COPYRIGHT_USE_INTERVALS): Now that GNU Coding
Standards permit it, prefer shorthand copyright.
* HACKING: Update libsigsegv preference.
* NEWS: 1.4.16 will be in 2011.
* doc/m4.texinfo (History): Likewise.
2010-12-31 Eric Blake <[email protected]>
main: avoid leaking string on Haiku
* src/m4.c (main): Avoid leak when SIGBUS == SIGSEGV.
* THANKS: Update.
Reported by Scott McCreary.
2010-12-24 Eric Blake <[email protected]>
build: pull in various gnulib fixes
* gnulib: Update to latest.
* m4/gnulib-cache.m4: Reflect spawn-pipe module name change.
* src/builtin.c (includes): Likewise.
(define_user_macro): Alter comment to appease syntax-check.
* src/input.c (pop_wrapup): Likewise.
* src/output.c (undivert_all): Likewise.
* cfg.mk (local-checks-to-skip): Skip new rule.
maint: reflect recent copyright assignment
* AUTHORS: Add Raphael Poss.
2010-10-21 Eric Blake <[email protected]>
build: work around glibc and libsigsegv bugs
* gnulib: Update to latest.
* m4/gnulib-cache.m4: Regenerate.
* docs/m4.texinfo (Index macro): Expose strstr bug.
* NEWS: Mention fixes.
docs: mention more history
* doc/m4.texinfo (History): Add upcoming 1.4.16 release.
2010-08-31 Eric Blake <[email protected]>
Release Version 1.4.15.
* gnulib: Update to latest.
* NEWS: Mention the release.
2010-08-30 Eric Blake <[email protected]>
Clean up compiler warnings.
* src/builtin.c (m4_patsubst): Drop dead store.
* src/eval.c (unary_term): Likewise.
* src/input.c (match_input): Likewise. Also drop useless casts to
void.
* src/symtab.c (symtab_debug): Drop useless casts.
Test previous commit.
* doc/m4.texinfo (Format): Add a test.
* NEWS: Document the fix.
* THANKS: Update.
2010-08-30 Carlo Teubner <[email protected]> (tiny change)
Avoid a crash with bad format string.
* src/format.c (expand_format): Fix off-by-one error.
2010-08-30 Eric Blake <[email protected]>
Document recent bug fixes.
* NEWS: Add some entries.
* gnulib: Update to latest, for more AIX fixes.
2010-07-30 Eric Blake <[email protected]>
Update to newer gnulib.
* gnulib: Update to latest, for strtod fix.
* src/Makefile.am (m4_LDADD): Update link libraries accordingly.
* cfg.mk (local-checks-to-skip): Skip broken check.
* doc/m4.texinfo: Drop all use of @acronym{}.
* THANKS: Update.
Reported by Rainer Tammer.
2010-06-04 Eric Blake <[email protected]>
Reflect recent copyright assignment.
* AUTHORS: Add David Warme.
Update to newer gnulib.
* gnulib: Update to latest, and include C++ tests.
* configure.ac (gl_CXX_CHOICE_DEFAULT_NO): Make default for C++
tests be disabled...
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): ...but run them when
building package.
* m4/gnulib-cache.m4: Regenerate.
* build-aux/.cvsignore: Likewise.
* build-aux/.gitignore: Likewise.
Fix build on newer glibc.
* src/m4.h (includes): Add <sys/stat.h>.
* THANKS: Update.
Reported by Todd Rinaldo.
2010-03-02 Giuseppe Scrivano <[email protected]> (tiny change)
Support bootstrap --gnulib-srcdir=DIR.
* bootstrap: Add --gnulib-srcdir option, which overrides
GNULIB_SRCDIR, for consistency with gnulib bootstrap.
2010-02-24 Eric Blake <[email protected]>
Release Version 1.4.14.
* gnulib: Update to latest.
* README: Increase libsigsegv recommendation.
* HACKING: Likewise. Tweak release instructions.
* NEWS: Mention the release.
Improve parsing example.
* doc/m4.texinfo (Input processing): Double-quote argument to
translit, for robustness.
* THANKS: Update.
Reported by Chris Penev.
2010-01-29 Eric Blake <[email protected]>
Document upcoming release.
* gnulib: Update to latest.
* doc/m4.texinfo (History): Mention 1.4.14.
2010-01-06 Eric Blake <[email protected]>
Use correct license on auxiliary documentation.
* gnulib: Update to latest.
* AUTHORS: Use GFDL 1.3, not 1.2.
* BACKLOG: Likewise.
* README: Likewise.
* THANKS: Likewise.
* TODO: Likewise.
* NEWS: Place under GFDL.
* cfg.mk (old_NEWS_hash): Update.
2010-01-05 Eric Blake <[email protected]>
Remove more TAB characters.
* THANKS: Use space for alignment.
* bootstrap: Likewise.
* checks/stackovf.test: Likewise.
* configure.ac: Likewise.
* src/builtin.c: Likewise. Also update some stale comments.
* src/debug.c: Likewise.
* src/eval.c: Likewise.
* src/format.c: Likewise.
* src/freeze.c: Likewise.
* src/input.c: Likewise.
* src/m4.c: Likewise.
* src/m4.h: Likewise.
* src/macro.c: Likewise.
* src/output.c: Likewise.
* src/path.c: Likewise.
* src/symtab.c: Likewise.
Clarify minimum bootstrap requirements.
* bootstrap: Avoid out-of-date duplicated data.
Security fix by requiring newer automake features.
* configure.ac (AM_INIT_AUTOMAKE): Add dist-xz, color-tests,
parallel-tests, and silent-rules.
(AC_PREREQ): Bump autoconf requirement to 2.62, per automake.
* HACKING: Update minimum requirements.
* NEWS: Document the fix.
Drop hard-coding of GPG id.
* gnulib: Update to latest.
* m4/gnulib-cache.m4: Regenerate.
* cfg.mk (gpg_key_ID): Delete, now that maint.mk provides a
sensible default.
(update-copyright-env): Don't let environment interfere with wrap
column.
2010-01-01 Eric Blake <[email protected]>
Update copyright year.
All files impacted, via 'make update-copyright'. Additionally:
* .gitignore: Ignore backup files.
2009-12-29 Eric Blake <[email protected]>
Document new indentation policy.
* HACKING: Document indentation policy.
* .x-sc_prohibit_tab_based_indentation: New file.
* cfg.mk (sc_prohibit_tab_based_indentation): New rule.
* Makefile.am (syntax_check_exceptions): New macro.
(EXTRA_DIST): Distribute exception files, and .prev-version.
Switch to indentation by space, not tab.
* .gitmodules: Convert leading tabs to spaces.
* TODO: Likewise.
* bootstrap: Likewise.
* c-boxes.el: Likewise.
* checks/check-them: Likewise.
* checks/get-them: Likewise.
* checks/stackovf.test: Likewise.
* configure.ac: Likewise.
* src/builtin.c: Likewise.
* src/debug.c: Likewise.
* src/eval.c: Likewise.
* src/format.c: Likewise.
* src/freeze.c: Likewise.
* src/input.c: Likewise.
* src/m4.c: Likewise.
* src/m4.h: Likewise.
* src/macro.c: Likewise.
* src/output.c: Likewise.
* src/path.c: Likewise.
* src/symtab.c: Likewise.
Update to latest gnulib.
* gnulib: Update.
* m4/gnulib-cache.m4: Import xoset.
* src/output.c (includes): Ensure that gnulib oset usage will
call xalloc_die on memory failure.
* build-aux/.cvsignore: Regenerate.
* build-aux/.gitignore: Likewise.
2009-11-28 Eric Blake <[email protected]>
Work around BSD getopt bug.
* gnulib: Update.
* doc/m4.texinfo (Command line files): Add test.
Use fastmap for better regex performance.
* src/input.c (word_start): Delete.
(pop_wrapup): Free memory on exit.
(set_word_regexp): Compile a fastmap instead.
(peek_token, next_token): Use the fastmap.
2009-11-26 Eric Blake <[email protected]>
Ignore write failures before stack overflow exit.
* m4/gnulib-cache.m4: Import ignore-value module.
* src/m4.c (fault_handler): Use it to avoid compiler warning.
2009-11-25 Eric Blake <[email protected]>
Allow use of compiler warnings.
* m4/gnulib-cache.m4: Import manywarnings module.
* configure.ac (WERROR_CFLAGS, WARN_CFLAGS): New variables.
* src/Makefile.am (AM_CFLAGS): Use them.
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Turn on warnings during
distcheck.
* src/m4.h (M4_GNUC_NORETURN): New macro.
(trace_post): Delete unused parameter.
* src/m4.c (usage): Mark as noreturn.
(main): Remove unused parameter.
* src/debug.c (trace_post): Likewise.
(trace_pre): Cover all enum values.
* src/symtab.c (lookup_symbol): Likewise.
* src/builtin.c (define_macro, m4_dumpdef): Likewise.
(m4_define, m4_undefine, m4_pushdef, m4_popdef, m4_sysval)
(m4_divert, m4_undivert, m4_dnl, m4_changequote, m4_changecom)
(m4_changeword, m4_syscmd, m4_include, m4_sinclude, m4_m4exit)
(m4_debugmode, m4_debugfile, m4_placeholder): Mark unused
parameters.
(mkstemp_helper): Use parameter.
(substitute): Avoid signed vs. unsigned comparison.
* src/format.c (arg_int, arg_long, arg_double): Likewise.
* src/input.c (next_token): Likewise.
* src/output.c (freeze_diversions): Likewise.
(m4_tmpname): Allow C++ compilation.
* src/freeze.c (produce_frozen_state, GET_NUMBER): Use correct
type.
* src/macro.c (call_macro): Cover all enum values.
(expand_macro): Update caller.
* src/path.c (m4_fopen): Remove unused parameter.
(m4_path_search): Update caller.
Silence syntax-check warnings.
* src/m4.h (STREQ): New macro.
* src/builtin.c (find_builtin_by_name): Use it.
* src/input.c (set_word_regexp): Likewise.
* src/m4.c (process_file): Likewise.
(main): Consistently spell warning, and mark output strings.
Avoid unsafe parsing functions.
(process_file): Mark output strings.
* src/output.c (make_diversion): Likewise.
* src/format.c (arg_int, arg_long, arg_double): New helpers.
(ARG_INT, ARG_LONG, ARG_DOUBLE): Use them to detect parse errors.
* BACKLOG: Avoid whitespace problems.
* TODO: Likewise.
* HACKING: Likewise.
* examples/esyscmd.m4: Likewise.
* examples/file.m4: Likewise.
* examples/fstab.m4: Likewise.
* examples/patsubst.m4: Likewise.
Use gnulib maintainer-makefile module.
* m4/gnulib-cache.m4: Import maintainer-makefile module.
* cfg.mk (local-checks-to-skip): Drop changelog-check; add
sc_cast_of_x_alloc_return_value.
(gnulib_dir, gnu_rel_host, url_dir_list): Delete; provided by
maint.mk.
(config_h_header, old_NEWS_hash): New macros.
* .prev-version: New file.
* maint.mk: Remove from version control; use gnulib instead.
* .gitignore: Update.
* HACKING: Update.
Update from gnulib.
* gnulib: Update.
* m4/gnulib-cache.m4: Use --makefile-name.
* lib/Makefile.am: Wrap the gnulib-generated file.
* tests/Makefile.am: Likewise.
* .gitignore: Track our wrappers.
* doc/m4.texinfo (Improved capitalize): Fix typo.
2009-10-05 Eric Blake <[email protected]>
Update from gnulib.
* gnulib: Update.
* m4/gnulib-cache.m4: Import gnu-web-doc-update module.
* build-aux/.gitignore: Ignore new file.
* build-aux/.cvsignore: Likewise.
2009-08-20 Eric Blake <[email protected]>
Update from gnulib.
* gnulib: Update.
* AUTHORS: Mention recent copyright assignment.
2009-08-17 Eric Blake <[email protected]>
Enhance test with closed descriptors.
* doc/m4.texinfo (Command line files): Enhance test from
2009-07-20 to actually test the bug being fixed.
Update copyright year.
* AUTHORS: Run UPDATE_COPYRIGHT_FORCE=1 make update-copyright.
* BACKLOG: Likewise.
* Makefile.am: Likewise.
* TODO: Likewise.
* acinclude.m4: Likewise.
* c-boxes.el: Likewise.
* cfg.mk: Likewise.
* checks/Makefile.in: Likewise.
* checks/check-them: Likewise.
* checks/stackovf.test: Likewise.
* doc/Makefile.am: Likewise.
* examples/Makefile.am: Likewise.
* src/Makefile.am: Likewise.
* src/debug.c: Likewise.
* src/eval.c: Likewise.
* src/freeze.c: Likewise.
* src/m4.h: Likewise.
* src/macro.c: Likewise.
* src/path.c: Likewise.
* src/symtab.c: Likewise.
Prepare to bulk update copyright year.
* gnulib: Update.
* m4/gnulib-cache.m4: Import update-copyright and vc-list-files
modules.
* maint.mk: Fix copyright.
(build_aux, VC_LIST, VC_LIST_EXCEPT, update-copyright): New macros
and rules borrowed from gnulib.
* cfg.mk (update-copyright-env): Enforce longhand behavior.
* .cvsignore: Reflect these changes.
* .gitignore: Likewise.
* .x-update-copyright: New file.
2009-08-14 Eric Blake <[email protected]>
Explicitly request GNU getopt extensions.
* gnulib: Update.
* m4/gnulib-cache.m4: Use getopt-gnu, not obsolete getopt module.
2009-07-22 Eric Blake <[email protected]>
Fix testsuite on Solaris.
* doc/m4.texinfo (Command line files): Tolerate different spelling
of EBADF.
* src/builtin.c (m4_esyscmd): Clear errno before reaping.
2009-07-21 Eric Blake <[email protected]>
Fix testsuite on mingw.
* gnulib: Update.
2009-07-20 Eric Blake <[email protected]>
Pick up gnulib fixes for sub-process execution.
* gnulib: Update.
* doc/m4.texinfo (Command line files): Add test; regression
introduced 2009-03-05.
* NEWS: Document the change.
Avoid cygwin 1.7 crash with closed stdout.
* gnulib: Update.
* doc/m4.texinfo (Command line files): Add test; regression
introduced 2008-07-17.
* NEWS: Document the change.
A status of 127 does not always imply esyscmd failure.
* src/builtin.c (m4_esyscmd): Silence gnulib message; regression
introduced 2009-03-05.
* doc/m4.texinfo (Sysval): Test this.
* NEWS: Document the change.
2009-06-25 Eric Blake <[email protected]>
Fix description of limits on diversions.
* doc/m4.texinfo (Diversions): Fix grammar. Be less pessimistic
about limitations.
* THANKS: Update.
Reported by Elias Benali.
2009-06-17 Eric Blake <[email protected]>
Update to latest gnulib.
* gnulib: Import fixes for Interix compilation.
* THANKS: Update.
Reported by Jay Krell.
2009-05-22 Eric Blake <[email protected]>
Update to latest gnulib.
* gnulib: Import fixes for AIX compilation.
* THANKS: Update.
Reported by Jens Rehsack.
2009-04-13 Eric Blake <[email protected]>
Fix GFDL usage.
* doc/m4.texinfo (copying): Complete transition to GFDL 1.3,
started 2008-12-12.
Reported by Santiago Vila.
2009-04-01 Eric Blake <[email protected]>
Release Version 1.4.13.
* NEWS: Mention the release.
2009-03-31 Eric Blake <[email protected]>
Tweak submodule instructions.
* HACKING: Improve directions.
* gnulib: Update to latest version.
2009-03-23 Eric Blake <[email protected]>
Don't force file overwrites during bootstrap.
* bootstrap: Ensure that rerunning bootstrap doesn't alter tree.
Drop dist-lzma, now that xz replaces lzma.
* configure.ac (AM_INIT_AUTOMAKE): Drop dist-lzma. Until a stable
automake release includes dist-xz, the release process will just
manually create a .xz tarball.
* gnulib: Update to latest gnulib.
2009-03-19 Eric Blake <[email protected]>
Exploit git submodule by adding appropriate symlinks.
* bootstrap: No longer copy files from gnulib.
* COPYING: Change to symlink pointing into gnulib.
* INSTALL: Likewise.
* build-aux/compile: Likewise.
* build-aux/config.guess: Likewise.
* build-aux/config.sub: Likewise.
* build-aux/depcomp: Likewise.
* build-aux/install-sh: Likewise.
* build-aux/mdate-sh: Likewise.
* build-aux/missing: Likewise.
* build-aux/texinfo.tex: Likewise.
* .cvsignore: Reflect these changes.
* .gitignore: Likewise.
* build-aux/.cvsignore: New file.
* build-aux/.gitignore: Likewise.
2009-03-18 Eric Blake <[email protected]>
Make gnulib a git submodule.
* .gitmodules: New file.
* gnulib: Record which version of gnulib has been tested.
* bootstrap: Aid in submodule usage.
* cfg.mk (gnulib_dir): Alter default location of gnulib.
* HACKING: Mention how to use submodule.
Use latest compile script, even with stable automake.
* bootstrap: Also sync build-aux/compile.
2009-03-12 Eric Blake <[email protected]>
Fix awk script portability.
* checks/get-them: In gsub, properly escape {. Close all files
before exiting.
Reported by Gary V. Vaughan.
2009-03-05 Eric Blake <[email protected]>
Allow configuration choice in syscmd shell.
* configure.ac (SYSCMD_SHELL): New test.
* src/builtin.c (m4_syscmd, m4_esyscmd): Use it to avoid
hard-coding the shell location.
* doc/m4.texinfo (Syscmd, Esyscmd): Document this.
* README: Document new configure option.
* NEWS: Likewise.
Remove cruft now that gnulib modules do the work.
* configure.ac (M4_cv_func_system_consistent): Delete.
* src/builtin.c (M4SYSVAL_EXITBITS, M4SYSVAL_TERMSIGBITS):
Delete.
Use gnulib pipe module instead of popen(3).
* m4/gnulib-cache.m4: Import pipe and wait-process modules.
* src/builtin.c (m4_esyscmd): Rewrite with pipe module.
Resolves a failure on AIX, reported by Gary V. Vaughan.
Use gnulib execute module instead of system(3).
* m4/gnulib-cache.m4: Import execute module.
* src/builtin.c (m4_sysval): Move computation...
(m4_esyscmd): ...into caller.
(m4_syscmd): Rewrite with execute module.
Resolves a failure on AIX, reported by Gary V. Vaughan.
2009-03-03 Eric Blake <[email protected]>
Try to tolerate spaces in directory names in testsuite.
* doc/m4.texinfo (Diversions, Using frozen files): Provide shell
quoting, in case __program__ contains spaces.
Improve web-manual maintainer rule.
* maint.mk (web-manual): Work with VPATH builds. Factor
package-specific detail...
* cfg.mk (manual_title): ...to new variable.
2009-02-26 Eric Blake <[email protected]>
Make bootstrap easier on Solaris.
* bootstrap: Add GNULIB_SRCDIR. Useful when a wrapper script
gnulib-tool exists earlier on the path to work around /bin/sh
failure in parsing $GNULIB_SRCDIR/gnulib-tool.
2009-02-19 Eric Blake <[email protected]>
Fix regression in translit.
* src/builtin.c (m4_translit): Use correct comparison.
* doc/m4.texinfo (Translit): Enhance test.
Speed up input engine, by searching for quotes by buffer.
* src/input.c (struct input_block): Add end pointer to string.
(push_string_finish, push_wrapup): Populate it.
(next_token): For quotes, attempt a buffer search.
* NEWS: Document this.
2009-02-18 Eric Blake <[email protected]>
Speed up translit when from argument is short.
* m4/gnulib-cache.m4: Import memchr2 module.
* src/builtin.c (m4_translit): Use memchr2 when possible.
* doc/m4.texinfo (Translit): Add tests.
* NEWS: Document this.
Update copyright year.
* THANKS: Mention 2009 in copyright year.
Prefer buffer over byte operations.
* src/format.c (expand_format): Use strchr for speed.
* src/builtin.c (substitute, expand_user_macro): Likewise.
Speed up esyscmd with buffer reads.
* src/builtin.c (m4_esyscmd): Read blocks directly into obstack,
rather than repeatedly reading bytes. Detect read errors.
Avoid risk of stack overflow.
* src/output.c (insert_file): Avoid stack allocation of large
buffer.
(freeze_diversions): Avoid spurious semicolon.
2009-02-16 Eric Blake <[email protected]>
Avoid test failure due to different errno.
* doc/m4.texinfo (Using frozen files): Ignore stdout, since
hardened systems can prevent attempts to read /.
* THANKS: Update.
Reported by Ronny Peine, in Gentoo bug 259184.
Avoid tests that make no sense, because m4 is single-threaded.
* m4/gnulib-cache.m4: Avoid lock-tests and tls-tests.
2009-02-12 Eric Blake <[email protected]>
Avoid quadratic code when walking definition stack.
* examples/stack_sep.m4: Use linear, not quadratic
implementation.
* doc/m4.texinfo (Improved copy): Fix documentation and add test,
based on recent autoconf bug fix.
2009-01-24 Eric Blake <[email protected]>
Add URLs to --help output.
* src/m4.c (usage): Use enhanced version-etc features.
2009-01-02 Eric Blake <[email protected]>
Use nicer email address in web manual.
* maint.mk (web-manual): Use new option in gendocs.sh.
Nuke xdelta diffs at release time; no one reported using them.
* maint.mk (got-xdelta, delta-xdelta): Delete.
* HACKING: Likewise.
2009-01-01 Eric Blake <[email protected]>
Update copyright year.
* NEWS: M4 1.4.13 will occur in 2009.
* doc/m4.texinfo (History): Likewise.
2008-12-24 Eric Blake <[email protected]>
Prepare for eventual release.
* doc/m4.texinfo (History): Mention 1.4.13.
2008-12-22 Eric Blake <[email protected]>
Make --debugfile argument optional.
* src/builtin.c (m4_debugfile): Make error message consistent.
* src/m4.c (long_options): Make the argument optional, to allow
setting debug file back to stderr.
(main): Make --debugfile order-dependent.
(usage): Document this.
* doc/m4.texinfo (Debugging options): Likewise.
* NEWS: Likewise.
Use @var correctly.
* doc/m4.texinfo (Operation modes, Preprocessor features)
(Limits control, Frozen state, Debugging options): Use lower case
names in @var.
(Improved copy): Use @code, not @var, as appropriate.
2008-12-18 Eric Blake <[email protected]>
Document optimized forloop.
* doc/m4.texinfo (Improved forloop): Mention alternate style that
avoids define overhead.
* examples/forloop3.m4: New file.
* examples/Makefile.am (EXTRA_DIST): Distribute it.
Deal with M4 1.4.x limitation on builtin tokens.
* doc/m4.texinfo (Composition): Mention limitation on curry.
(Improved copy): New node.
* examples/stack_sep.m4: New file.
* examples/Makefile.am (EXTRA_DIST): Distribute it.
Document copy composite using stack_foreach and curry.
* doc/m4.texinfo (Stacks): New node, to document pushdef stack
manipulation.
(Ifelse): Move define_blind...
(Composition): ...to this new node. Document currying, then use
it to implement copy and rename.
* examples/curry.m4: New file.
* examples/stack.m4: Likewise.
* examples/Makefile.am (EXTRA_DIST): Distribute them.
2008-12-17 Eric Blake <[email protected]>
Don't override signal handlers installed by c-stack.