-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathChangeLog.65
27015 lines (19319 loc) · 941 KB
/
ChangeLog.65
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
2017-09-12 Gavin Smith <[email protected]>
6.5 release.
* configure.ac, NEWS, util/texi2dvi, util/texi2pdf,
doc/refcard/txirefcard.tex: Version number.
2017-09-04 Gavin Smith <[email protected]>
* pretest 6.4.92
* configure.ac: Update version.
2017-09-04 Gavin Smith <[email protected]>
* tp/Makefile.am (AM_T_LOG_FLAGS): Add "-I .".
* tp/tests/run_parser_all.sh: Add "-I ." to perl invocations.
Attempt at getting tests to work if . is not in @INC. Report
from Patrice Dumas.
2017-09-02 Gavin Smith <[email protected]>
* info/infokey.c (compile): Support "1 menu-digit" in .infokey
file in case this default binding is disabled for some reason.
Clark Wang reported that "1 menu-digit" didn't work.
2017-08-29 Patrice Dumas <[email protected]>
* autogen.sh: update regeneration of tests makefile fragment to
match the change in tp/Makefile.am associated with the removal
of "long tests" in 2016-10-23.
2017-08-28 Gavin Smith <[email protected]>
* info/pseudotty.c: Open slave end of pseudoterminal outside of
a conditional block so that it will be open even if that block
is not executed. Otherwise we could fail to turn off the
special interpretation of some characters (C-u, C-s) to the
terminal in time, leading some tests to fail. Assaf Gordon
reported test failures for several platforms.
2017-08-27 Gavin Smith <[email protected]>
* pretest 6.4.91
* configure.ac: Update version.
2017-08-27 Gavin Smith <[email protected]>
* NEWS: Add a couple of news items.
2017-08-25 Mathieu Lirzin <[email protected]>
* tp/Texinfo/Convert/HTML.pm (_default_node_redirection_page)
(_default_begin_file): Move '$encoding' to the top of the '<head>'
element. This removes a warning in recent browsers that check if
the encoding declaration is present in the first 1024 bytes of the
file. See
https://www.w3.org/TR/html5/document-metadata.html#character-encoding-declaration
2017-08-23 Gavin Smith <[email protected]>
* doc/texinfo.tex (\entry): When splitting the text across
multiple lines, do not simply set \leftskip and \parindent to
values, alter the existing values instead. Otherwise, long
entries in a table of contents would not be indented properly,
because \leftskip had been set to a positive value. Arnold
Robbins reported that this happened for the gawk manual. Add or
change some comments.
2017-08-20 Gavin Smith <[email protected]>
* doc/texinfo.tex (\partentry): Add stretch and a bonus for
breaking the page before the part heading in the table of
contents. Arnold Robbins reported that the page could be broken
immediately after the part heading, which separated it from the
entry for the first chapter in that part, which didn't look
good.
2017-08-18 Gavin Smith <[email protected]>
* po_document: Run fix-translations.sh.
* tp/t: Update test results.
2017-08-18 Gavin Smith <[email protected]>
* po_document/fix-translations.sh: Add file.
2017-08-18 Gavin Smith <[email protected]>
* tp/maintain/change_perl_modules.sh: Get version number from
configure.ac instead of from Makefile, as then Makefile doesn't
have to be regenerated before it runs. (Otherwise, there could
be a failure in 'make distcheck' due to a version number
mismatch.)
2017-08-18 Gavin Smith <[email protected]>
* tp/Texinfo/Convert/Text.pm (@ISA). Add Texinfo::Convert::Converter.
Report from Randall Sawyer 2017-07-31.
2017-07-31 Gavin Smith <[email protected]>
* tp/texi2any.pl <DUMP_TREE>: Check if tree is defined, as
happened before.
2017-07-31 Randall Sawyer <[email protected]> (tiny change)
* tp/texi2any.pl: Exchange two conditional blocks, so that we
check if 'DUMP_TREE' was given as an option before 'parse' being
the output format, so that
makeinfo -c DUMP_TREE=1 -c TEXINFO_OUTPUT_FORMAT=parse document.texi
works to dump the parse tree, as mentioned in the comments at
the end of Parser.pm.
2017-07-31 Randall Sawyer <[email protected]> (tiny change)
* tp/texi2any.pl (%formats_table)
<textcontent, rawtext, plaintexinfo>: Change to use 'module'
value instead of a 'converter' value so that these values for
TEXINFO_OUTPUT_FORMAT work again.
* tp/Texinfo/Convert/Text.pm: Add missing 'use File::Basename' line.
2017-07-31 Gavin Smith <[email protected]>
* tp/texi2any.pl (%formats_table): Remove 'debugcount' section
as the corresponding module doesn't exist any more.
2017-07-23 Alexis Bienvenüe <[email protected]> (tiny change)
* tp/Texinfo/Common.pm (expand_today):
Honour the SOURCE_DATE_EPOCH environment variable to get a
reproducible @today value for info output when it is set.
See https://reproducible-builds.org/specs/source-date-epoch/.
2017-07-16 Gavin Smith <[email protected]>
* gnulib/m4/intlmacos.m4: Add this file, as gettextize doesn't
copy it.
2017-07-10 Gavin Smith <[email protected]>
* pretest 6.4.90
* configure.ac: Update version. Add dist-xz to options.
2017-07-10 Gavin Smith <[email protected]>
* tp/Texinfo/Convert/XSParagraph: Run gnulib-tool --add-import.
* (top-level): Run gnulib-tool --add-import.
2017-07-10 Gavin Smith <[email protected]>
* doc/Makefile.am (wwwdoc-build): Remove commands that could
build the "info" manual.
2017-07-10 Gavin Smith <[email protected]>
* NEWS: Update with various news items.
2017-07-09 Gavin Smith <[email protected]>
* info/nodes.c (info_find_subfile): When looking for an
already-loaded file, check that the names match either exactly,
or as an initial substring followed by a period. Previously,
any loaded file which had an initial substring that was the name
of the sought file would be accepted, which would be incorrect
for a case like "libc.info-11" matching when it was "libc.info-1"
that was wanted. Vitezslav Crhonek reported that this could
lead to failure when following cross-references.
* info/t/subfile-initial-match.sh: New test.
2017-07-09 Gavin Smith <[email protected]>
* info/nodes.c (info_get_node_with_defaults): Only use the
directory from the current node's fullpath if this function was
passed a filename as an argument.
2017-07-09 Gavin Smith <[email protected]>
* info/nodes.c
(get_filename_and_nodename, info_get_node_with_defaults):
Merge get_filename_and_nodename into caller.
2017-07-09 Gavin Smith <[email protected]>
* info/nodes.c (build_tags_and_nodes): Call 'skip_node_separator'
in order not to start reading the tag table in the middle of an
"Indirect:" string.
2017-07-09 Gavin Smith <[email protected]>
* info/nodes.c (info_load_file): If calling
'build_tags_and_nodes' didn't set the 'tags' array for the file
buffer, fail to load the file.
* info/info.c (add_initial_nodes): Check if info_load_file failed.
* info/t/malformed-split.sh: New test.
2017-07-09 Gavin Smith <[email protected]>
* info/t/Init-inter.inc (run_ginfo): Shorten a comment.
2017-07-09 Gavin Smith <[email protected]>
* info/nodes.c (info_find_file): Do not convert the filename to
lowercase and check for it again if a file was not found.
Note added 2017-08-30: This change was made for code
simplification, and not to fix anything. The thinking behind
the original code was to support a case-insensitive filesystem
that was mounted in a way that was not case-insensitive.
2017-07-06 Gavin Smith <[email protected]>
* info/t/inc-sea-bs.sh: New test.
2017-07-05 Gavin Smith <[email protected]>
* info/search.c (regexp_search): Call free_matches if the regex
could be compiled, but there were no matches. Free a string
buffer used for displaying an error message.
* info/session.c (info_search_in_node_internal): Do not call
free_matches. It could be called on uninitialised data leading
to a crash if the regex had an error in it. Marco Maggi reported
a crash for incremental search when a single \ was entered.
2017-07-05 Gavin Smith <[email protected]>
* util/texi2dvi (sorted_index_filter): Remove code to list files
created with bibtex, as then xref_files_changed requires them to
exist (since change on 2017-06-21) and they won't if bibtex is
not being used. Report from Daniel Gerbet.
2017-07-04 Gavin Smith <[email protected]>
* doc/texinfo.tex (\unicodechardefs):
Define U+25C7 as \diamond and remove definitions for U+25A1,
U+2A1D, U+2201, U+2127, U+21BE, U+2290, U+22B4, and U+22B5 which
didn't work. (Benno Schulenberg reported that U+25C7 didn't
work.)
2017-07-02 Gavin Smith <[email protected]>
* tp/Texinfo/Parser.pm (_parse_texi) <@image>: Save
'input_perl_encoding' value on @image element.
* tp/Texinfo/Convert/Plaintext.pm (_image_text): Use it instead
of looking at the current value of INPUT_PERL_ENCODING.
2017-07-01 Gavin Smith <[email protected]>
* tp/Texinfo/Parser.pm (_parse_texi_file): Set the parent key on
a created 'preamble' element.
2017-07-01 Gavin Smith <[email protected]>
* tp/Texinfo/Convert/XSParagraph/configure.ac (fetch_conf): Put
all sed commands within an environment variable, 'sed_script'.
Assign 'sed_script' from a double-quoted string, using shell
variables to include awkward characters. This avoids there
being multiple level of quoting present which can be extremely
confusing, i.e., autoconf's quadrigraphs, quoting within the
backquoted string where sed is called, as well as sed's own
escaping of special characters.
* tp/Texinfo/MiscXS/configure.ac (fetch_conf): Make the same
change.
2017-07-01 Gavin Smith <[email protected]>
* info/t/c-u-m-x-scroll-forward.sh, info/t/inc-sea-insensitive.sh,
info/t/search-split-after-index.sh, info/t/split-footnotes.sh,
info/t/star-note-non-whitespace.sh, info/t/tab-argument.sh,
info/t/xref-across-lines.sh: Quote argument to run_ginfo so that
quoting characters are preseved in the subshell that execs ginfo.
2017-07-01 Gavin Smith <[email protected]>
* info/t/xref-across-lines-2.sh: New test.
2017-07-01 Gavin Smith <[email protected]>
* info/info-utils.c (scan_reference_label): Canonicalize the
whitespace in the nodename, otherwise links can't be followed if
the nodename is split across a line.
2017-06-29 Gavin Smith <[email protected]>
* tp/Texinfo/Convert/Converter.pm (_register_command_arg):
Copy function here from Parser.pm.
(_table_item_content_tree): Call it.
2017-06-29 Gavin Smith <[email protected]>
* tp/Texinfo/Parser.pm (_parse_texi) <menu>: Don't store
a list of menus in 'unassociated_menus' array.
* tp/Texinfo/Transformations.pm (_reassociate_to_node)
(set_menus_to_simple_menu): Remove checks of
'unassociated_menus' array.
2017-06-29 Gavin Smith <[email protected]>
* tp/Texinfo/Parser.pm (_parse_texi) <macro expansion>:
Add a check for the return value of _text_to_lines being empty.
2017-06-29 Gavin Smith <[email protected]>
* tp/t/html_tests.t (simple_menu): Add @node and @top commands
so that the menu is inside a node.
2017-06-29 Gavin Smith <[email protected]>
* tp/Texinfo/Transformations.pm (fill_gaps_in_sectioning): Call
Texinfo::Structuring::section_level to get sectioning level
(used in tp/t/test_fill_gaps_in_sectioning.t).
2017-06-29 Gavin Smith <[email protected]>
* tp/Texinfo/Parser.pm (_section_level),
* tp/Texinfo/Structuring.pm (section_level): Move function to
Structuring.pm.
2017-06-29 Gavin Smith <[email protected]>
* tp/Texinfo/Parser.pm (_parse_texi): Do not add 'level' value
on sectioning commands.
* tp/Texinfo/Structuring.pm (sectioning_structure): Add 'level'
value on element.
* tp/Texinfo/Convert/HTML.pm (_convert_heading_command),
* tp/Texinfo/Convert/Text.pm (heading):
Account for the case when 'level' is not set.
* texi2any.pl: Remove a comment.
2017-06-28 Gavin Smith <[email protected]>
* tp/Texinfo/Parser.pm (_end_line) <@copying>: Removing handling
of INLINE_INSERTCOPYING variable. Also remove from the module
documentation section at the end of the file.
(%default_customization_variables): Remove INLINE_INSERTCOPYING.
* tp/Texinfo/Parser.pm (@variable_string_settables)
(@obsolete_variables): Move 'INLINE_INSERTCOPYING' to
@obsolete_variables.
* tp/t/plaintext_tests.t (inline_copying_inline_and_paragraph):
Remove.
* NEWS: Mention removal.
* doc/texinfo.texi (Other Customization Variables)
<INLINE_INSERTCOPYING>: Remove.
2017-06-27 Gavin Smith <[email protected]>
* tp/Texinfo/Parser.pm (_text_to_lines): Do not return an array
containing a single empty string if the input is an empty
string; instead, return a completely empty array. This means
that parse_texi_line does not get as far into parsing for an
empty input.
2017-06-27 Gavin Smith <[email protected]>
* tp/Texinfo/Parser.pm <root commands>: Do not associate a @part
command with a following sectioning command if another @part
command appears first. This means there is no special support
for @part pages following each other immediately.
2017-06-26 Gavin Smith <[email protected]>
* info/t/Timeout-test.inc,
* info/t/Init-test.inc (timeout-test): Move code to timeout the
test to a shell function.
2017-06-26 Gavin Smith <[email protected]>
* info/t/Init-inter.inc (run_ginfo): Time out test by running a
subshell in the background that kills the current shell inside
an "sh -c" command, and execing the ginfo program. Do not use a
FIFO to communicate that the process has finished.
* info/t/Timeout-test.inc: Do not use "read -t" to read from a
FIFO with a timeout. Use the "wait" shell builtin to wait for
the process to finish.
* info/t/Init-test.inc (cleanup): Eliminate use of SUBSHELL,
TIMED_OUT and FINISHEDFIFO variables.
2017-06-26 Gavin Smith <[email protected]>
* info/t/Init-inter.inc (run_ginfo): Remove use of pgrep to get
PID of process. Get PID of ginfo process by running a subshell
with "sh -c", printing the value of $$ (the shell PID), and then
exec'ing the ginfo program.
2017-06-25 Gavin Smith <[email protected]>
* tp/Texinfor/Parser.pm, tp/Texinfo/Common.pm
(complete_indices, _complete_indices): Move function to
Common.pm and rename.
2017-06-25 Gavin Smith <[email protected]>
* tp/Texinfo/Parser.pm (_end_line) <@verbatiminclude>: Save
value of 'input_perl_encoding' on the element.
* tp/Texinfo/Common.pm (expand_verbatiminclude): Use the
saved value of 'input_perl_encoding' instead of looking at
'INPUT_PERL_ENCODING' conf value.
2017-06-25 Gavin Smith <[email protected]>
* info/nodes.c (info_get_node_with_defaults): Remove code that
fell back to a man page. This got in the way of the code in
info_get_info_help_node that fell back to info-stnd.info if
info.info couldn't be loaded. Also, this code is called from
many places where falling back to a man page would definitely
not be what was wanted, so removing the manpage fallback option
makes the program more robust and easy to understand.
* NEWS: Mention info will not try to fall back to a man page if
it failed to follow a cross-reference.
2017-06-25 Gavin Smith <[email protected]>
* tp/Texinfo/Convert/Plaintext.pm (_convert) <def commands>:
Change "@tie{ }" to "@tie{}" in document strings passed to gdt.
* tp/Texinfo/Parser.pm (_parse_texi) <closing a brace command>:
Don't check if we are being called from gdt and the closed
command was @tie.
2017-06-24 Gavin Smith <[email protected]>
* tp/Texinfo/Parser.pm (_parse_texi): Remove debugging code
to dump parse tree every time a new line is read.
2017-06-24 Gavin Smith <[email protected]>
* configure.ac: Increase version to 6.4dev. Remove "dist-xz"
option.
2017-06-23 Gavin Smith <[email protected]>
* README-hacking: Change some instructions and remove some
others.
2017-06-23 Gavin Smith <[email protected]>
6.4 release.
* configure.ac, NEWS, util/texi2dvi, util/texi2pdf,
doc/refcard/txirefcard.tex: Version number.
* configure.ac (TEXINFO_DTD_VERSION): Change to 6.4.
2017-06-21 Gavin Smith <[email protected]>
* util/texi2dvi (sorted_index_filter) <latex input>: Don't
print the name of a *.fls recorder file, as then
'xref_files_changed' would require one to exist, which it may
not.
2017-06-21 Gavin Smith <[email protected]>
* util/texi2dvi (xref_files_changed): Call 'sorted_index_files'
to get a list of the sorted index files that should exist, and
if any of them are missing, go around another cycle of
processing.
2017-06-21 Gavin Smith <[email protected]>
* util/texi2dvi (filter_files): Comment changed.
(add_all_filter): Do not print the argument of the file, so
using this with filter_files only prints secondary files.
(add_all_filter, sorted_index_filter): Rename.
(sorted_index_files): New function.
(all_files): Use sorted_index_files instead of add_all_filter.
No functional changes intended.
2017-06-19 Gavin Smith <[email protected]>
* tp/TODO: Mention that some checks for incorrect nesting
is done already.
2017-06-18 Gavin Smith <[email protected]>
* tp/Texinfo/Report.pm (gdt): Set an 'in_gdt' flag
on the parser.
* tp/Texinfo/Common.pm (%default_parser_state_configuration):
Allow 'in_gdt' as a config value.
* tp/Texinfo/Parser.pm (_parse_texi): Avoid issuing an error
message in a couple of situations when being called from 'gdt'.
(It would be thrown away anyway.) This avoids the need for the
error message to be translated, so is slightly faster.
2017-06-18 Gavin Smith <[email protected]>
* tp/Texinfo/Report.pm (gdt): Remove code dealing with a
'translated_paragraph' argument. Condense code dealing
with subroutine arguments to a single line.
2017-06-18 Gavin Smith <[email protected]>
* tp/Texinfo/Convert/Paragraph.pm: Remove check for UTF-8 locale
that runs "locale -a".
xspara_init in tp/Texinfo/Convert/XSParagraph/xspara.c does its
own check which should be enough.
2017-06-18 Gavin Smith <[email protected]>
* tp/Texinfo/MiscXS.pm: Remove check for UTF-8 locale, as
"locale -a" can be slow to run (about 4.5 seconds on my computer
after disk caches are cleared), and tp/Texinfo/MiscXS/misc.c may
not need it. (Reverses change on 2017-03-12.)
2017-06-18 Gavin Smith <[email protected]>
* pretest 6.3.92
* configure.ac: Update version.
2017-06-18 Gavin Smith <[email protected]>
* info/nodes.c (find_node_from_tag): Remove some unused
variables.
2017-06-08 Gavin Smith <[email protected]>
* tp/Texinfo/Convert/XSParagraph/configure.ac,
* tp/Texinfo/Convert/XSParagraph/Makefile.am,
* tp/Texinfo/MiscXS/configure.ac,
* tp/Texinfo/MiscXS/Makefile.am:
Change name of conditional from HOST_IS_WINDOWS to
HOST_NEEDS_NO_UNDEFINED. Suggestion from Ken Brown.
2017-06-07 Gavin Smith <[email protected]>
* Texinfo/Convert/XSParagraph/configure.ac,
* Texinfo/MiscXS/configure.ac: Check for cygwin when setting
HOST_IS_WINDOWS conditional.
2017-06-06 Gavin Smith <[email protected]>
* tp/Texinfo/Convert/XSParagraph/configure.ac,
* tp/Texinfo/MiscXS/configure.ac: Copy code for HOST_IS_WINDOWS
Automake conditional from top-level configure.ac.
* tp/Texinfo/MiscXS/Makefile.am,
* tp/Texinfo/Convert/XSParagraph/Makefile.am: Only put
-no-undefined -lperl in AM_FLAGS on MS-Windows systems.
Li Er reported that linking against libperl is not necessary,
and it won't work if perl is not built with a shared libperl
library.
2017-06-04 Gavin Smith <[email protected]>
* doc/texinfo.tex
(\dotheinsertindexentrybox, \dotheinsertentrybox)
(\dotheinsertindexentryboxwithpenalty, \dotheinsertentryboxwithpenalty)
(\insertindexentrybox, \insertentrybox)
(\entryindexbox, \entrybox): Rename.
(\dotheinsertentryboxwithpenalty): Simplify by not using
\aftergroup. Move constant string definition outside of macro.
Remove useless \long prefix from definition.
2017-06-04 Gavin Smith <[email protected]>
* doc/texinfo.tex (\finishentry, \dotheinsertindexentrybox):
Use a control sequence \dotheinsertindexentrybox instead of
calling \insertindexentrybox and \entrywidowpenalty. Do not
open a new group and then use \entrywidowpenalty to close the
group, (\entrywidowpenalty could be \let either to \egroup or
our macro \indexwidowpenalty which itself closed the group), as
this requires the reader of the code to understand the
definition of \entrywidowpenalty to follow what is going on. No
functional changes intended; this change is for clarity only.
(\entrywidowpenalty, \indexwidowpenalty): Remove.
(\dotheinsertindexentryboxwithpenalty): Code from
\indexwidowpenalty moved here. This is one possible value
for \dotheinsertindexentrybox.
(\printindex): Use \dotheinsertindexentryboxwithpenalty for
\dotheinsertindexentrybox. Do not set a value for
\entrywidowpenalty.
(\printindex, \indexinputprocessing): Split code that checks the
first token of the next line into a new macro. This should
improve clarity.
2017-06-03 Gavin Smith <[email protected]>
* info/info-utils.c (scan_reference_label): Save filename
and nodename components of the label separately.
(scan_node_contents): Move code dealing with xrefs ending in
"::" into this function out of 'scan_reference_target'. Do
not call 'info_parse_node' to get the filename and nodename
of the target from the 'label' field; use the data that was
already saved in 'scan_reference_label' instead. Add a comment
about possibly ill-formed xrefs.
This change is to simplify the code slightly, and shouldn't
result in any significant functional changes.
2017-05-27 Gavin Smith <[email protected]>
* info/info.c (info_short_help): Move right-hand column of
descriptions so that a word in an example in the left-hand
column doesn't line up with the edge of the right-hand column.
2017-05-27 Gavin Smith <[email protected]>
* info/info.c (info_short_help): Change "options" to
"frequently-used options" and remove documentation of several
options: --dribble, --raw-escapes, --no-raw-escapes, --restore,
--strict-node-location, --vi-keys, --debug. (All of these are
still documented in full in the manual.) Only show one example
of loading a manual for the Info program. Reformat one example.
Remove a blank line from the output.
* info/t/help.sh: Update.
2017-05-24 Gavin Smith <[email protected]>
* doc/texinfo.texi (@code): Fix grammar. Change "variable such
as" to "variables, such as", and add commas around other uses of
"such as".
2017-05-24 Gavin Smith <[email protected]>
* doc/texinfo.texi (@emph @strong): Make output of example
Texinfo code consistent with the input, as was the case before
2012-09-06. Inconsistency reported by Matan Nassau.
2017-05-24 Gavin Smith <[email protected]>
* info/session.c (tree_search_check_node) <no more matches>: Add
the "Top" node to the window history, instead of using a
menu entry in the current node (as the current node may not
have a menu). Otherwise, if a tree search was rooted at a node
without a menu, 'active_menu' would be left with an invalid
value, leading to a crash if it was used again when the user did
a 'tree-search-next' command. Report from Benno Schulenberg.
2017-05-21 Gavin Smith <[email protected]>
* info/info.c (info_short_help): Remove full stops from the ends
of lines describing options.
2017-05-21 Gavin Smith <[email protected]>
* info/session.c (info_xref_item): Give an error message if
there are no cross-references in the node, to be consistent
with 'menu-item'. This happened in Texinfo 5.2 and earlier.
Report from Benno Schulenberg.
2017-05-20 Gavin Smith <[email protected]>
* doc/info-stnd.texi (Custom Key Bindings): Correct '\xr' to
'^xr'. Report from Benno Schulenberg.
2017-05-20 Gavin Smith <[email protected]>
* pretest 6.3.91.
* configure.ac: Update version.
2017-05-20 Gavin Smith <[email protected]>
* info/window.c (window_delete_window): Call 'free_matches' and
free 'search_string' field in order to avoid a memory leak.
* info/t/close-window-after-search.sh: New test.
2017-05-20 Gavin Smith <[email protected]>
* info/session.c (info_search_in_node_internal): Call
free_matches even after a failing search in order to avoid a
memory leak.
2017-05-20 Gavin Smith <[email protected]>
* NEWS (info): Add items about setting style variables and
--vi-keys.
2017-05-20 Gavin Smith <[email protected]>
* info/infodoc.c (replace_in_documentation): Remove code
setting variables whose value is no longer used anywhere.
2017-05-20 Gavin Smith <[email protected]>
* NEWS (info): Add item about the handling of Info files
with CR-LF line endings.
2017-05-20 Gavin Smith <[email protected]>
* info/infodoc.c (replace_in_documentation): Use functions
operating on a struct text_buffer object to keep track of
whether there is enough space in the output buffer.
Benno Schulenberg reported that there would be an out-of-bounds
write when a message reporting an index match was output if the
binding of ',' had been changed away from 'next-index-match'.
2017-05-20 Gavin Smith <[email protected]>
* info/infodoc.c (replace_in_documentation): Explicitly compare
a pointed-to character to the only character value it can be
equal to other than null, for clarity. Move code near other
code that uses the same variables. Change comment for a special
case to make it easier to ignore, and move the default case
before the conditional for the special case. No functional
changes.
2017-05-19 Gavin Smith <[email protected]>
* info/infodoc.c (replace_in_documentation):
Remove code to handle numbers before command name, like
"\\[6next-line]" meaning "M-6 M-x next-line", as it is not used
anywhere, and this simplifies the code.
2017-05-18 Gavin Smith <[email protected]>
* info/t/cr-tag-table.sh: Remove test.
* info/t/inc-sea-bs-after-strip-cr: Remove test.
2017-05-18 Gavin Smith <[email protected]>
* info/nodes.c, info/filesys.c (convert_eols): Function moved
between files. Change arguments and modify text in place. Do
not realloc the buffer to make it smaller.
* info/filesys.c (filesys_read_info_file)
[__MSDOS__, __MINGW32__]: Call convert_eols and realloc buffer.
This reinstates call that was removed on 2014-10-24, except now
it is MS-DOS/Windows only.
* info/nodes.c (find_node_from_tag): Remove most of the code
here that deals with conversion of end-of-lines, including
code updating pointers to node contents in currently-displayed
windows.
* info/nodes.c (adjust_nodestart): Do not take extra argument
giving the slack to search for a node.
* info/nodes.h (N_EOLs_Converted): Remove.
This reverses changes made on 2014-12-29. Although there has
not been a report of any problems with this code, it is too
complicated and difficult to understand for what it achieves
(allow reading Info files whether CR bytes before LF bytes are
counted in the tag table or not). It updates global data across
the program which could cause problems in the future if there
are changes elsewhere in the program.
2017-05-17 Gavin Smith <[email protected]>
* tp/Texinfo/Parser.pm (_next_text):
Do not strip \r from end of line. This reverses the change
on 2017-04-29.
* tp/tests/test_scripts/coverage_formatting_cr.sh,
* tp/tests/coverage (formatting_cr): Remove test.
texi2any does not support CR LF line endings on GNU/Linux.
* tp/tests/coverage/formatting_cr.texi: Removed.
2017-05-17 gettextize <[email protected]>
* gnulib/m4/gettext.m4: New file, from gettext-0.19.8.
* gnulib/m4/iconv.m4: Upgrade to gettext-0.19.8.
* gnulib/m4/lib-ld.m4: Upgrade to gettext-0.19.8.
* gnulib/m4/lib-link.m4: Upgrade to gettext-0.19.8.
* gnulib/m4/lib-prefix.m4: Upgrade to gettext-0.19.8.
* gnulib/m4/nls.m4: New file, from gettext-0.19.8.
* gnulib/m4/po.m4: New file, from gettext-0.19.8.
* gnulib/m4/progtest.m4: New file, from gettext-0.19.8.
2017-05-17 Gavin Smith <[email protected]>
* gnulib: run gnulib-tool to import 'gettext-h' module instead
of 'gettext' module, as the 'gettext' module is deprecated in
Gnulib. run gettexize again to put the files back.
2017-05-16 Gavin Smith <[email protected]>
* doc/info-stnd.texi (Node Commands) <global-prev-node>: Change
'forward or down' to just 'forward'.
2017-05-16 Gavin Smith <[email protected]>
* doc/info-stnd.texi (Node Commands) <goto-node>:
Re-write, describing completion and selection of nodes in other
files separately. The old text implied that you could select a
node in another file without using a filename if that file had
been loaded already in the current Info session.
Benno Schuleberg noticed that the text contained the phrase
"the Info file of the other file", which was wrong.
2017-05-15 Gavin Smith <[email protected]>
* doc/info-stnd.texi (Node Commands) <global-next-node>: Change
'forward or down' to just 'forward'. Explain that the menu is
checked before the Next pointer, rather than the other way
around as it incorrectly stated. Benno Schulenberg reported
that this was documented to happen the wrong way around. In
addition, correct description of what happens when neither a
menu or a Next pointer is present.
2017-05-15 Gavin Smith <[email protected]>
* README-hacking: Mention to always run change_perl_modules.sh
even if it is a pretest release, as this is needed now there is
module version checking.
2017-05-15 Gavin Smith <[email protected]>
* info/infomap.c (default_vi_like_info_keys),
* doc/info-stnd.texi (Custom Key Bindings):
Bind 'b' to 'scroll-backward-page-only' instead of
'scroll-backward' for consistency with f, C-f and C-b.
2017-05-14 Gavin Smith <[email protected]>
* info/session.c (point_backwards_word): Remove unused variable.
2017-05-14 Gavin Smith <[email protected]>
* info/session.c (info_down_line, info_up_line): Call
_scroll_backward and _scroll_forward with argument so that it
possible for scrolling to change node, depending on the value
of 'scroll-behaviour'.
(mouse_event_handler): Call _scroll_backward and _scroll_forward
instead of info_down_line, info_up_line so that mouse scrollwheel
scrolling continues to be confined to an single node.
* NEWS: Mention that 'down-line' and 'up-line' are affected by
the value of 'scroll-behaviour'.
2017-05-14 Gavin Smith <[email protected]>
* doc/info-stnd.texi (infokey format): Add missing documentation
for 'C-x p' for 'prev-node' under --vi-keys. Correct bindings
of 'g' and 'G' to 'first-node' and 'last-node' respectively.
* info/infomap.c (default_vi_like_info_keys): Re-add 'C-x n' for
'next-node' (removed accidentally on 2014-06-10).
Reports from Benno Schulenberg.
2017-05-13 Gavin Smith <[email protected]>
* doc/texinfo.tex (\xrdef): Place a \gdef using a \csname
within a group to avoid save stack build-up for long aux files.
2017-05-13 Gavin Smith <[email protected]>
* info/indices.c (info_next_index_match): Remove full stop from
end of message. (Missed on 2017-05-13. Report from Benno
Schulenberg.)
2017-05-13 Gavin Smith <[email protected]>
* info/sesson.c (point_backward_char): Change return type to int
and return 0 on failure. Make sure we always go backwards.
(point_backward_word): Use point_backward_char to simplify code.
This continues the fix of the bug of the point getting stuck
at the start of a node (partially fixed on 2017-05-11).
2017-05-13 Gavin Smith <[email protected]>
* doc/info-stnd.texi (Xref Commands, Parts of an Xref)
(Selecting Xrefs): Change 'cross reference' to 'cross-reference'.
2017-05-13 Gavin Smith <[email protected]>
* doc/info-stnd.texi (Variables) <scroll-last-node>: Remove full
stop from a quoted message.
2017-05-13 Gavin Smith <[email protected]>
* info/window.c (calculate_line_starts, window_compute_line_map):
Add a comment and cast return value of a function to void to
make it clear that the return value is being discarded.
2017-05-13 Gavin Smith <[email protected]>
* info/indices.c (info_index_search, info_next_index_match),
* info/indices.h (APROPOS_NONE),
* info/info-utils.c (copy_converting),
* info/info.c (get_initial_file, add_initial_nodes, init_messages),
* info/infodoc.c (describe_key, info_where_is),
* info/m-x.c (info_execute_command),
* info/session.c
(menu_digit, info_menu_or_ref_item, info_follow_menus)
(forward_move_node_structure, backward_move_node_structure)
(info_view_file, dump_nodes_to_file, info_print_node)
(info_toggle_regexp, info_search_internal)
(tree_search_check_node, tree_search_check_node_backwards)
(wipe_seen_flags, dispatch_error): Remove full stop from end
of messages given to the user. Inconsistent use of full stops
reported by Benno Schulenberg.
2017-05-12 Gavin Smith <[email protected]>
* doc/info-stnd.texi (infokey format): Correct documentation of
key binding for 'select-reference-this-line' command under --vi-keys.
2017-05-11 Gavin Smith <[email protected]>
* info/session.c (point_forward_char): Make sure that we always
advance the position of the point on the display. The point
could get stuck at the very start of a node if the 'nodeline'
variable was set to 'pointers'. Report from Benno Schulenberg
on 2017-04-27.
2017-05-03 Jason Hood <[email protected]>
Allow style variables to be described and set.
(Patch originally submitted 2017-01-29 on bug-texinfo.)
* info/variables.c (rendition_variable): Remove.
(rendition_choices): New variable.
(info_variables): Use rendition_choices for the style variables.
(rendition_to_string): New variable.
(describe_variable, set_variable, set_variable_to_value):
Special handling for style variables.
2017-05-02 Gavin Smith <[email protected]>
* configure.ac: When checking for Perl XS support, set
TEXINFO_XS environment variable in order to get more
information printed (and also to negate any pre-existing
definition for this variable).
2017-05-01 Eli Zaretskii <[email protected]>
* tp/Texinfo/MiscXS/misc.c (xs_unicode_text): Fix a typo in a
comment.
2017-04-30 Eli Zaretskii <[email protected]>
* info/terminal.c [HAVE_TERMCAP_H]: Don't take this branch for
MinGW, as some MinGW ports of ncurses install termcap.h in
addition to ncurses/termcap.h.
* tp/Texinfo/Convert/XSParagraph/xspara.c [_WIN32]: Include
ctype.h, to work around MinGW compilation errors due to Gnulib
replacement of wint_t type.
(iswspace, iswupper) [_WIN32]: Rename to call w32_iswspace and
w32_iswupper, to avoid conflicts with system headers, due to
Gnulib replacement of wint_t type.
(iswupper) [_WIN32]: Copy argument from wint_t variable to a
wchar_t variable, which is what GetStringTypeW expects.
* tp/Texinfo/MiscXS/misc.c [_WIN32]: Include ctype.h, to work
around MinGW compilation errors due to Gnulib replacement of
wint_t type.
(xs_unicode_text): Use dTHX to avoid perl error about undefined
"my_perl" due to Perl's 'malloc' being used.
2017-04-29 Gavin Smith <[email protected]>
* tp/Texinfo/Parser.pm (_next_text): Strip \r from end of line.
This produces changes in the results of the
test_scripts/coverage_formatting_cr.sh test. (Eli Zaretskii
reported that the results of this test were different under
MinGW on MS-Windows.)
2017-04-29 Gavin Smith <[email protected]>
* tp/Texinfo/Parser.pm (_parse_texi_regex),
* tp/Texinfo/MiscXS/misc.c (xs_parse_texi_regex): Do not
consider any whitespace other than space, tab or newline
to be a possible Texinfo command.
2017-04-27 Gavin Smith <[email protected]>
* info/session.c (tree_search_check_node)
(tree_search_check_node_backwards): Adjust failure message
according to whether a search match was previously found.
Suggestion by Benno Schulenberg.
2017-04-27 Gavin Smith <[email protected]>
* info/display.c (display_process_line): Avoid possibly
dereferencing a null pointer. This could happen if the
'match-rendition' value was set to an empty value in .infokey.
Report by Benno Schulenberg.
2017-04-26 Benno Schulenberg <[email protected]> (tiny change)
* info/session.c (info_tree_search): Mark a message for
translation and add note for translators.
2017-04-26 Gavin Smith <[email protected]>
* info/session.c (info_search_internal): Search starting node at
most twice in order to be able to find matches before starting
offset in starting node. Otherwise searches do not wrap around
the first and last nodes in a file if all the matches are in a
single node. Report from Benno Schulenberg.
2017-04-24 Gavin Smith <[email protected]>
* util/tests/texi2dvi_empty_text.sh: Remove test, as it does not
work if TeX is not installed. Report by Assaf Gordon.
2017-04-23 Gavin Smith <[email protected]>
* pretest 6.3.90.
* configure.ac: Update version. Add dist-xz to options.
2017-04-23 Gavin Smith <[email protected]>
* texindex/ti.twjr,
* info/info.c,
* tp/texi2any.pl: Copyright 2017.