-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.119
5239 lines (3753 loc) · 171 KB
/
ChangeLog.119
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
Version 1.19.2 released 2005-09-04
==================================
2005-09-04 Werner LEMBERG <[email protected]>
* tmac/groff_ms.man, doc/groff.texinfo: Synchronize.
* doc/webpage.ms: Updated.
* install-sh, mkinstalldirs: New versions; taken from texinfo CVS.
2005-09-04 Jörgen Grahn <[email protected]>
* tmac/groff_ms.man: Document `PO' better.
2005-09-03 Werner LEMBERG <[email protected]>
* NEWS: Document grotty changes.
2005-09-01 Keith Marshall <[email protected]>
Backward compatibility support for `man' program.
* tmac/an-old.tmac (LL): Initialize it to respect prior LL register
assignment, prior `.ll' request and then package defaults, in this
specified order of decreasing priority.
* tmac/groff_man.man, doc/groff.texinfo (Man options): Document
altered `LL' register initialization priorities.
2005-08-29 Gary W. Swearingen <[email protected]>
* tmac/groff_mdoc.man: Go into more details how the `AUTHORS'
section should look like.
2005-08-29 Werner LEMBERG <[email protected]>
* tmac/groff_mdoc.man: The month's name in a call to .Dd shouldn't
be abbreviated.
2005-08-27 Bernd Warken <[email protected]>
* tmac/groff_man.man: Add man(7) too SEE ALSO and more minor
fixes.
2005-08-11 Bernd Warken <[email protected]>
* tmac/www.tmac (URL, MTO): Handle empty \\$1 better.
2005-08-09 Bernd Warken <[email protected]>
* tmac/www.tmac (URL, MTO): Use bold series if color support is
deactivated.
2005-08-02 Bernd Warken <[email protected]>
* doc/Makefile.sub (uninstall_sub): Use --remove, not --delete
as argument to $(INSTALL_INFO). The latter isn't portable.
Remove $(HTMLEXAMPLEFILES) too.
* Makefile.in (uninstall_dirs): Remove $(datadir)/doc/groff and
$(datadir)/doc too.
Suppress warning messages and return always true.
* tmac/Makefile.sub (uninstall_sub): Remove www.tmac too.
2005-07-02 Bernd Warken <[email protected]>
* src/devices/xditview/gxditview.man: Change many `.I' to `.B'.
* man/groff_out.man: More markup and minor improvements.
* src/roff/groff/groff.man: Minor improvements.
2005-06-28 Werner LEMBERG <[email protected]>
* ChangeLog: Split off older entries into...
* ChangeLog.115 ChangeLog.116, ChangeLog.117, ChangeLog.118: New
files.
2005-06-26 Bernd Warken <[email protected]>
* src/devices/xditview/gxditview.man: More minor fixes.
2005-06-24 Werner LEMBERG <[email protected]>
* src/preproc/pic/troff.cpp (troff_output::set_fill,
troff_output::set_color, troff_output::reset_color): Use .bcolor and
.fcolor instead of \m and \M, respectively.
2005-06-23 Bernd Warken <[email protected]>
* src/devices/xditview/gxditview.man: More minor fixes.
* README: Formatting issues.
Mention some problems with Debian.
2005-06-23 Bernd Warken <[email protected]>
* src/devices/xditview/gxditview.man: Revised and improved.
2005-06-22 Werner LEMBERG <[email protected]>
Another round in fixing getopt problems. Hopefully the last one!
This time we use the getopt stuff from gnulib and define a prefix
unconditionally so that there are no collisions with any other
getopt implementations. This is a slight waste of space in case
we already use a GNU getopt implementation, but on
the other hand it really simplifies life.
* src/include/getopt.h: Use gnulib version.
* src/include/getopt_int.h: Use gnulib version.
* src/include/groff-getopt.h: Removed. Obsolete now.
* src/include/lib.h: Regarding getopt, don't handle any platform
specially; just include getopt.h.
(__GETOPT_PREFIX): Define (before getopt.h).
* src/include/Makefile.sub (HDRS): Updated.
* src/libs/libgroff/getopt1.c, src/libs/libgroff/getopt.c: Use
gnulib version.
* src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Set
__GETOPT_PREFIX.
* src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c
(__GETOPT_PREFIX): Define (before getopt.h).
2005-06-21 Werner LEMBERG <[email protected]>
* src/include/lib.h: Provide a fix for Mac OS X to not include
groff-getopt.h.
2005-06-20 Denis M. Wilson <[email protected]>
* font/devps/prologue.ps (EP): Don't use `bind'. Reason: Using
`bind' to define a procedure which contains `showpage' means that an
invocation of `showpage' may execute wrongly (the exact effect
depending on the interpreter). Not usually a problem except under
transformations, such as combining pages.
(PEND): Don't call `clear'. Reason: Using `clear' in the definition
of /PEND means that stack underflow will occur if the stack is
deliberately non-empty before document inclusion. If included
files are found to be generally badly behaved, we could replace the
`clear' with `mark' in /PBEGIN and `cleartomark' in /PEND (I've
never found this necessary).
2005-06-20 Jörgen Grahn <[email protected]>
* src/preproc/soelim/soelim.cpp (do_file): Append trailing zero
earlier to get correct error message.
2005-06-16 Bernd Warken <[email protected]>
* src/roff/nroff/nroff.sh: Add support for iso-8859-15.
2005-06-15 Werner LEMBERG <[email protected]>
Another try to update getopt files. This time we add a dummy
gettext.h file to satisfy the dependency.
* src/include/getopt.h, src/libs/libgroff/getopt.c,
src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.
* src/include/getopt_int.h: New file (from GNU libc CVS).
* src/include/gettext.h: Dummy file which just defines a gettext()
macro.
* src/include/groff-getopt.h: Updated.
* src/include/Makefile.sub (HDRS): Add getopt_int.h and gettext.h.
* src/libs/libdriver/input.cpp (IntArray): Remove superfluous
`const' keywords in return value.
* src/preproc/html/pushback.cpp (pushBackBuffer::~pushBackBuffer):
Remove redundant variable `old'.
(pushBackBuffer::skipToNewline): Remove redundant variable `ch'.
* src/preproc/tbl/main.cpp (process_table): Remove redundant
variable `c'.
Fix more friend name injection problems since modern C++ compilers
fail otherwise. We simply provide (global) declarations for all
functions declared as friends. This is not really necessary but
doesn't harm.
* src/preproc/eqn/lex.cpp: Provide declarations for get_char,
peek_char, and get_location.
* src/preproc/refer/ref.h: Provide declarations for
compare_reference, same_reference, same_year, same_date,
same_author_last_name, and same_author_name.
* src/roff/troff/div.h: Provide declarations for do_divert and
page_offset.
* src/roff/troff/env.h: Provide declarations for title_length,
space_size, fill, no_fill, adjust, no_adjust, center, right_justify,
vertical_spacing, post_vertical_spacing, line_spacing, line_length,
indent, temporary_indent, do_underline, do_input_trap, set_tabs,
margin_character, no_number, number_lines, leader_character,
tab_character, hyphenate_request, no_hyphenate,
hyphen_line_max_request, hyphenation_space_request,
hyphenation_margin_request, line_width, tabs_save, tabs_restore,
line_tabs_request, widow_control_request, and do_divert.
* src/roff/troff/input.cpp: Provide declaration for chop_macro.
* src/roff/troff/node.cpp: Provide declarations for class
tfont_spec.
Provide declaration for make_tfont.
2005-05-29 Werner LEMBERG <[email protected]>
* doc/fdl.texi: Updated to version 1.2. Reported by
Bernd Warken <[email protected]>.
2005-05-28 Werner LEMBERG <[email protected]>
* src/devices/grolbp/lbp.cpp, src/devices/grolbp/lbp.h: Remove
redundant semicolons.
* src/preproc/eqn/Makefile.sub, src/preproc/html/Makefile.sub,
src/preproc/soelim/Makefile.sub, src/preproc/tbl/Makefile.sub:
Define `MLIB'. Some compilers need this for linking with libgroff.
2005-05-27 Werner LEMBERG <[email protected]>
* MANIFEST, README, doc/webpage.ms: Updated.
2005-05-26 Werner LEMBERG <[email protected]>
* All affected files: Update postal address of FSF.
2005-05-25 Keith Marshall <[email protected]>
Bernd Warken <[email protected]>
* README: More fixes.
* README.CVS: Removed. Its contents is now part of the README file.
2005-05-21 Werner LEMBERG <[email protected]>
* README: Updated. Based on a patch from
Bernd Warken <[email protected]>.
2005-05-16 Keith Marshall <[email protected]>
Miscellaneous script portability enhancements.
* aclocal.m4: (GROFF_CSH_HACK): Add space in shebang prototype for
generated conftest.sh script, conforming to portability
recommendation in autoconf docs.
* configure: Likewise, for code generated by GROFF_CSH_HACK.
* contrib/eqn2graph/eqn2graph.sh: Add space in shebang, conforming
to portability recommendation in autoconf docs.
* contrib/grap2graph/grap2graph.sh: Likewise.
* contrib/pic2graph/pic2graph.sh: Likewise.
* font/devps/generate/afmname: Likewise.
* src/devices/xditview/ad2c: Likewise.
* src/preproc/eqn/neqn.sh: Likewise.
* src/roff/grog/grog.pl: Likewise.
* src/roff/grog/grog.sh: Likewise.
* src/roff/nroff/nroff.sh: Likewise.
* PROBLEMS: Likewise, in embedded script examples.
2005-05-16 Keith Marshall <[email protected]>
Improve portability of `pdfroff' shell script.
* arch/misc/shdeps.sh: Add space in shebang, conforming to
portability guidelines in `autoconf' docs.
(PATH_SEARCH_SETUP): New substitution; emits PATH_SEPARATOR
initialization code. Used by contrib/pdfmark/pdfroff.sh's
`searchpath' function.
2005-05-14 Werner LEMBERG <[email protected]>
* contrib/pic2graph/pic2graph.sh, contrib/graph2graph.sh,
contrib/eqn2graph.sh: Add option `-trim' to `convert' which is
needed for newer ImageMagick versions.
2005-05-07 Werner LEMBERG <[email protected]>
* src/preproc/refer/refer.man: Many small typographic fixes.
2005-05-06 Jeff Conrad <[email protected]>
* src/devices/grohtml/post-html.cpp (assert_state::~assert_state):
Use `char *' cast for a_delete.
2005-05-03 Werner LEMBERG <[email protected]>
* src/libs/libgroff/maxpathname.cpp: Include stdlib.h.
src/libs/libgroff/relocate.cpp: Use path_name_max everywhere.
2005-05-03 Jeff Conrad <[email protected]>
* src/devices/grohtml/post-html.cpp: Use casts to `char *' if using
`a_delete' for `const char *'.
2005-05-03 Werner LEMBERG <[email protected]>
* src/devices/grohtml/post-html.cpp,
src/devices/grohtml/html-table.cpp,
src/devices/grohtml/html-text.cpp, src/devices/grohtml/output.cpp:
Replace malloc/free with new/delete/a_delete.
* src/devices/grolbp/lbp.h: Remove superfluous semicolons which
are prohibited with ANSI C++.
(lbpprintf, vdmprintf): Remove useless `inline' keyword (since the
function has a variable number of arguments).
* src/preproc/grn/main.cpp (doinput): Change return type to `int'.
Simplify function and update all callers.
2005-05-02 Werner LEMBERG <[email protected]>
Undo getopt changes from 2005-04-30. We don't want a dependency
on gettext.
* src/include/getopt_int.h: Removed.
* src/include/getopt.h, src/include/groff-getopt.h,
src/include/Makefile.sub, src/libs/libgroff/getopt.c,
src/libs/libgroff/getopt1.c: Revert to previous version.
* src/include/nonposix.h (access) [_MSC_VER]: New macro.
* src/include/posix.h (F_OK): Define conditionally.
* src/devices/grotty/tty.cpp (tty_printer::make_underline): Use
different variable name in second `for' loop to avoid MSVC compiler
problem.
2005-04-30 Werner LEMBERG <[email protected]>
AC_TYPE_SIGNAL from current autoconf can fail if CC=g++.
* aclocal.m4 (GROFF_TYPE_SIGNAL): New function.
* configure.ac: Use GROFF_TYPE_SIGNAL, not AC_TYPE_SIGNAL.
* configure, src/include/config.hin: Regenerated.
* PROBLEMS: Updated.
Update getopt files.
* src/include/getopt.h, src/libs/libgroff/getopt.c,
src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.
* src/include/getopt_int.h: New file (from GNU libc CVS).
* src/include/groff-getopt.h: Updated.
* src/include/Makefile.sub (HDRS): Add getopt_int.h.
* font/devutf8/NOTES: Updated.
2005-04-28 Werner LEMBERG <[email protected]>
Bug fix for Win32 relocatable code. Based on a patch from Keith
Marshall.
* src/libs/libgroff/maxpathname.cpp (PATH_MAX): Test for `_MAX_PATH'
also.
* src/libs/libgroff/relocate.c (DEBUG): Define it conditionally.
(searchpath) [_WIN32]: Use `_fullpath', not `realpath'.
2005-04-28 Keith Marshall <[email protected]>
Correct `gnu.eps' handling for build from distribution tarball, with
separate source and build directories.
* doc/Makefile.sub: (examples.stamp): New target; forces copy of
grnexmpl.g, groff.css and gnu.eps from source to build directory;
generate gnu.eps from gnu.xpm if required; touch examples.stamp.
(prepare_examples): Make it depend on examples.stamp.
(CLEANADD): Add examples.stamp.
2005-04-27 Werner LEMBERG <[email protected]>
Implement the rule
position: `(' position `)'
in pic.
* src/preproc/pic/pic.y (position, position_not_place): Handle
additional parentheses.
* doc/pic.ms: Updated.
2005-04-23 Larry Jones <[email protected]>
* src/utils/xtotroff/xtotroff.c (MapFont): Fix variable declaration.
2005-04-18 Werner LEMBERG <[email protected]>
* src/roff/groff/pipeline.c: Don't include ctype.h.
2005-04-13 Werner LEMBERG <[email protected]>
* src/roff/nroff/nroff.man: Document option `-M'.
2005-04-13 Bruce Lilly <[email protected]>
* src/roff/nroff/nroff.sh: Make the script accept option `-M'.
2005-04-01 Kees Zeelenberg <[email protected]>
Werner LEMBERG <[email protected]>
Add binary relocation support for Windows platforms.
* src/include/Makefile.sub (defs.h): Add `INSTALLPATH'.
* src/include/relocate.h, src/libs/libgroff/relocate.cpp: New files.
* src/libs/libgroff/searchpath.cpp: Handle `relocate'.
(search_path::search_path, search_path::open_file_cautious): Use
`relocate'.
* src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
src/include/Makefile.sub (HDRS): Updated.
2005-04-01 Werner LEMBERG <[email protected]>
* src/devices/grohtml/post-html.cpp: Don't use strdup/free but
strsave/a_delete.
* src/libs/libgroff/font.cpp: Replace strdup with strsave.
* src/libs/libgroff/maxfilename.cpp: Don't include limits.h since
lib.h already does it.
* src/libs/libgroff/maxpathname.cpp: New file, defining
path_name_max.
* src/include/lib.h: Add prototype for path_name_max.
* src/libs/libgroff/Makefile.sub (OBJS, CCSRCS): Updated.
* src/include/nonposix.h (PATH_EXT): New macro.
2005-03-28 Werner LEMBERG <[email protected]>
Add support for double- and zero-width characters in grotty.
* src/devices/grotty/tty.cpp (glyph): Add width.
(tty_printer::make_underline, tty_printer::make_bold,
tty_printer::add_character): Add parameter to pass character width.
Update all callers.
(tty_printer::end_page): Increase hpos by actual character width.
* font/devutf8/R.proto: Specify zero width for non-spacing
characters.
* tmac/unicode.tmac: Remove definitions for non-spacing entities.
* Makefile.comm (extraclean): Remove more junk files.
2005-03-25 Werner LEMBERG <[email protected]>
* configure.ac: Undo change from 2005-03-24.
* configure: Regenerated.
2005-03-24 Werner LEMBERG <[email protected]>
* Makefile.in (NOMAKEDIRS): Add contrib/gdiffmk/tests.
(dist): Search Makefile while descending into $(EXTRADIRS).
* doc/Makefile.in (.PHONY): Add.
(clean): Don't remove *.png and *.eps.
Don't handle *.gif.
(realclean): Remove *.png and *.eps.
(extraclean): Depend on distclean.
* configure.ac: Add copyright.
Handle contrib/pdfmark/Makefile.
* configure: Regenerated.
2005-03-18 Larry Kollar <[email protected]>
Add numbered and definition lists to www.tmac.
* tmac/www.tmac (www-ul-level1, www-ul-level2, www-ul-level3,
www-ol-level1, www-ol-level2, www-ol-level3, www-ol-tmp): New
auxiliary string registers.
(www-ul-level, www-ol-level, www-dl-level, www-ol-ctr1, www-ol-ctr2,
www-ol-ctr3, www-dl-shift): New auxiliary number registers.
(www-level): Removed.
(www-level1, www-level2, www-level3): Initialize to empty.
(www-level0, www-level4, www-level5, www-level6, www-level7,
www-level8, www-level9): New string registers.
(www-push-li, www-pop-li): New macros.
(www-push-level, www-pop-level): Renamed to...
(www-push-ul-level, www-pop-ul-level): This.
Updated.
(www-push-ol-level, www-pop-ol-level): New macros.
(ULS, ULE): Updated.
(OLS, OLE, DLS, DLE): New user macros.
(LI): Removed. It is aliased to one of...
(www-li-ul, www-li-ol, www-li-dl): New macros.
* tmac/groff_www.man: Document new macros.
* NEWS: Updated.
2005-03-18 Werner LEMBERG <[email protected]>
* tmac/doc-common (doc-operating-system-NetBSD-2.0.1,
doc-operating-system-NetBSD-2.0.2): New strings.
* tmac/groff_mdoc.man: Updated.
2005-03-17 Werner LEMBERG <[email protected]>
* doc/Makefile.sub (CLEANADD): Add `groff.html'.
2005-03-17 Werner LEMBERG <[email protected]>
* src/libs/libgroff/hypot.c: Renamed to...
* src/libs/libgroff/hypot.cpp: This. Updated to C++.
* src/libs/libgroff/Makefile.sub (CCSRCS, CSRCS): Updated.
* src/include/lib.h: Updated.
2005-03-16 Werner LEMBERG <[email protected]>
Add workaround for broken hypot() on Interix.
* src/libs/libgroff/hypot.c: New wrapper file for `hypot'.
* src/libs/libgroff/Makefile.sub (OBJS): Add `hypot.o'.
(CSRCS): Add `hypot.c'.
* src/include/lib.h: Declare `groff_hypot'.
* src/preproc/grn/hgraph.cpp: Don't declare `hypot'.
Use `groff_hypot'.
* src/preproc/pic/pic.h: Don't declare `hypot'.
* src/preproc/pic/object.cpp (hypot): Use `groff_hypot'.
2005-03-15 Gaius Mulley <[email protected]>
* src/devices/grohtml/post-html.cpp
(html_printer::lookahead_for_tables): End .ce properly to avoid a
segfault.
2005-03-15 Werner LEMBERG <[email protected]>
makeinfo 4.8 doesn't produce good HTML output from groff.texinfo.
* doc/fixinfo.sh: New script to postprocess makeinfo's HTML output.
* doc/Makefile.in (.texinfo.html): Call fixinfo.sh.
2005-03-14 Werner LEMBERG <[email protected]>
Add Cyrillic support to devutf8 and devhtml.
* font/devutf8/R.proto, font/devhtml/R.proto: Add Cyrillic blocks.
* tmac/unicode.tmac: New file.
* tmac/tty.tmac: Include unicode.tmac if device is utf8.
* tmac/Makefile.sub (NORMALFILES): Add unicode.tmac.
* NEWS: Updated.
2005-03-02 Keith Marshall <[email protected]>
* src/libs/libdriver/printer.cpp (check_for_output_error): New
function. It has been introduced to catch peculiar error contexts
on MS-Windows platforms.
2005-02-28 Werner LEMBERG <[email protected]>
* src/roff/troff/input.cpp (string_iterator::fill): Protect against
null pointer.
* tmac/papersize.tmac: Convert `paper' string contents to lowercase.
* configure: Regenerated.
* NEWS: Updated.
2005-02-28 Keith Marshall <[email protected]>
Integrate `pdfmark' into normal groff build system;
install macro `pdfmark' packages, build and install `pdfroff',
and PDF format documentation.
* Makefile.comm: Add PDFDOCDIR.
* Makefile.in: (MDEFINES) ALT_AWK_PROGS, ALT_GHOSTSCRIPT_PROGS,
pdfdocdir, make_pdfdoc, make_install_pdfdoc: New variables.
(unstall_dirs): Add pdfdocdir.
* aclocal.m4: (GROFF_GHOSTSCRIPT_PREFS): New function; support
`--with-alt-gs' option, set ALT_GHOSTSCRIPT_PROGS.
(GROFF_GHOSTSCRIPT_PATH): Support `--with-gs' option, force use of
GROFF_GHOSTSCRIPT_PREFS, set GHOSTSCRIPT.
(GROFF_HTML_PROGRAMS): Force use of GROFF_GHOSTSCRIPT_PATH; tidy up.
(GROFF_AWK_PREFS): New function; support `--with-alt-awk' option,
set ALT_AWK_PROGS.
(GROFF_AWK_PATH): New function; support `--with-awk' option, force
use of GROFF_AWK_PREFS.
(GROFF_PDFDOC_PROGRAMS): New function; force use of GROFF_AWK_PATH
and GROFF_GHOSTSCRIPT_PATH, set make_pdfdoc and make_install_pdfdoc.
* configure.ac: Add AC_PREREQ(2.59), GROFF_PDFDOC_PROGRAMS.
Remove GROFF_GHOSTSCRIPT_PATH, (forced by GROFF_PDFDOC_PROGRAMS, and
also by modified GROFF_HTML_PROGRAMS).
2005-02-27 Gaius Mulley <[email protected]>
* src/devices/grohtml/html-text.cpp (html_text::do_pre): Preserve
paragraph spacing.
(html_text::done_para): Unset `start_space'.
(html_text::remove_para_align): Call `retrieve_para_space' for the
spacing.
* src/devices/grohtml/post-html.cpp (html_printer::emit_raw): Unset
`seen_space'.
(html_printer::do_check_center): Emit vertical space if necessary.
* src/roff/troff/env.cpp (environment_switch): Preserve
`seen_space', `seen_eol', and `suppress_next_eol' while switching
environments.
* src/roff/troff/node.cpp (suppress_node::suppress_node): Set
`is_special'.
2005-02-20 Werner LEMBERG <[email protected]>
* src/preproc/eqn/eqn.man, NEWS: Document various extensions of
eqn.
2005-02-17 Werner LEMBERG <[email protected]>
* doc/pic.ms, man/groff.man: Fix typos.
* doc/groff.texinfo: Fix typos.
(\LEmacro): Get proper mathematical spacing.
2005-02-16 Werner LEMBERG <[email protected]>
* aclocal.m4 (GROFF_APPRESDIR_CHECK): Improve warning message.
* configure: Regenerated with autoconf 2.59b.
2005-02-16 Gaius Mulley <[email protected]>
* src/devices/grohtml/post-html.cpp (html_printer::is_line_start,
html_printer::start_font): Fix handling of preformatted text.
2005-02-15 Gaius Mulley <[email protected]>
These patches modify the indentation implementation to use `<p
style=margin-left: n%>'. Many thanks to Peter and Larry for
suggesting this solution. Grohtml only uses tables for `.IP' and
related tags when the first operand has a short width.
Similarly, they modify all vertical space code. By default, grohtml
sets up a style sheet which uses no vertical space between `table',
`pre', and `p' tags. It forces spaces when it needs them using
`style="margin-top: 1em"'.
* src/devices/grohtml/html-table.cpp: Include `html-text.h'.
(html_table::emit_table_header, html_table::emit_new_row):
Rewritten.
(html_table::set_space): New function.
(html_indent::html_indent): Don't set `is_used'.
(html_indent::begin): Rewritten.
(html_indent::end): Remove code in function.
* src/devices/grohtml/html-table.h: Updated.
(html_table): Make `out' public.
* src/devices/grohtml/html-text.cpp (html_text::html_text):
Initialize `start_space' with FALSE.
(html_text::end_tag) <P_TAG, PRE_TAG>: Updated.
(html_text::issue_tag): Add argument to handle space style.
(html_text::start_tag) <P_TAG, PRE_TAG>: Updated.
(html_text::flush_text): Don't set `start_space'.
(html_text::push_para): Don't set `p->really_issued'.
(html_text::do_emittext): Updated.
(html_text::do_para): Add parameter to handle space.
Update all callers.
(html_text::retrieve_para_space): New function.
* src/devices/grohtml/html-text.h (STYLE_VERTICAL_SPACE): New macro.
(tag_definition): Remove `really_issued'.
(html_text): Updated.
* src/devices/grohtml/post-html.cpp (html_printer): Add variables
`current_column' and `row_space'.
Update constructor.
(html_printer::emit_raw, html_printer::write_header,
html_printer::do_indent, html_printer::do_check_center,
html_printer::do_tab_ts): Handle vertical space.
(html_printer:do_tab_te, html_printer::do_end_para): Call
`remove_para_space'.
(html_printer::do_col): Rewritten.
(html_printer::flush_globs): Remove debugging code.
(html_printer::is_line_start): New function.
(html_printer::start_font): Use `is_line_start'.
(html_printer::writeHeadMetaStyle): New function.
(html_printer::do_file_components, html_printer::~html_printer):
Call `writeHeadMetaStyle'.
* tmac/www.tmac (www-handle-percent): New macro.
(MPIMG): Handle percent values for width and height parameters.
(DC): Updated.
* tmac/groff_www.man: Updated.
2005-02-14 Werner LEMBERG <[email protected]>
* src/utils/afmtodit/afmtodit.pl: Remove an incorrect `my' from
$psname and $italic_angle.
Immediately restart file input loops if `split' returns an empty
array.
2005-02-13 Michail Vidiassov <[email protected]>
Werner LEMBERG <[email protected]>
Update afmtodit to better support Unicode (Michail).
Update afmtodit to use Perl 5 syntax (Werner).
* src/utils/afmtodit/afmtodit.pl: Don't use `getopts.pl' but
`Getopts::Std'.
Decorate variables with `my' where necessary.
Use `defined' where necessary to avoid warnings.
Don't use `do' for subroutine calls.
Other minor syntax updates.
Check for both `uXXXX[X[X]]' and `uniXXXX'.
Handle glyph variants properly.
(%unicode_decomposed, %AGL_to_unicode): Don't use `u' prefix in
strings.
* src/utils/afmtodit/afmtodit.man: Updated.
2005-02-13 Werner LEMBERG <[email protected]>
Make groff.texinfo work with texinfo 4.8.
* doc/groff.texinfo (@Var): Use @r and @slanted.
(@defdummy, @Def*): Use @c to avoid empty lines.
(\angles): Replaced with...
(\Langlemacro, \Ranglemacro): New TeX macros.
(@Langlemacro, @Ranglemacro): New variables defined with @set.
(@angles): Use @Langlemacro and @Ranglemacro.
(\LE): Replaced with...
(\LEmacro): New TeX macro.
(@LEmacro): New variable defined with @set.
(@LE): Use @LEmacro.
(@Lparenmacro, @Rparenmacro, @Lbrackmacro, @Rbrackmacro): New
variables defined with @set.
(@lparen, @rparen, @lbrack, @rbrack): Replaced with...
(@Lparen, @Rparen, @Lbrack, @Rbrack): New macros.
Update all callers.
Other minor updates.
* doc/texinfo.tex: Update to texinfo version 4.8.
* README.CVS: Updated.
2005-02-09 Alejandro López-Valencia <[email protected]> (tiny change)
* doc/groff.texinfo (ms Document Control Registers): Document `HY'
and `FAM' registers.
2005-02-05 Werner LEMBERG <[email protected]>
* tmac/groff_mdoc.man, tmac/doc-common, tmac/doc-ditroff,
tmac/doc-nroff, tmac/doc-old.tmac, tmac/doc-syms, tmac/doc.tmac:
Update BSD license.
2005-02-01 Werner LEMBERG <[email protected]>
* src/roff/groff/groff.man: Add information about paper size.
2005-01-25 Werner LEMBERG <[email protected]>
* src/roff/nroff/nroff.sh: Handle `*.ISO8859-1' in locale. From
NetBSD bin/29114.
2005-01-22 Ruslan Ermilov <[email protected]>
* tmac/doc.tmac (Sm): Improved. It didn't work properly in many
cases.
(Re): Emit a warning if called without `.Rs'.
(doc-finish-reference): Use parameter for decreasing
`doc-reference-count'.
(doc-print-reference): Pass specific count parameters to
`doc-finish-reference'.
2005-01-21 Werner LEMBERG <[email protected]>
* src/libs/libdriver/input.cpp (delete_current_env, do_file):
Reset pointers to zero after deallocation. This fixes a crash
if a driver is called with multiple input files. Reported by
Ken Chilton <[email protected]>.
* src/devices/grops/grops.man: Add more info on DSC.
2005-01-17 Ruslan Ermilov <[email protected]>
* tmac/doc-common (Dd), tmac/doc-ditroff (gX, doc-setup-header):
Remove dead code.
2005-01-17 Werner LEMBERG <[email protected]>
* src/roff/troff/div.cpp (top_level_diversion::space): Protect
against division by zero.
2005-01-13 Ruslan Ermilov <[email protected]>
* tmac/doc.tmac (Ef): Restore doc-curr-font and doc-curr-size.
2004-12-19 Werner LEMBERG <[email protected]>
* install-sh: New version; taken from texinfo CVS.
2004-12-17 Werner LEMBERG <[email protected]>
* tmac/devtag.tmac: Protect against loading twice.
Protect against compatibility mode.
* tmac/www.tmac: Protect against loading twice.
Load `devtag.tmac' before switching off compatibility mode.
* tmac/an-old.tmac, tmac/s.tmac: Load `devtag.tmac'.
2004-12-16 Mike Bianchi <[email protected]>
* configure.ac: Produce `contrib/gdiffmk/tests/runtests'.
* configure: Updated.
2004-12-15 Thomas Klausner <[email protected]>
* tmac/doc-syms, tmac/groff_mdoc.man: Add `libpam' library.
2004-12-15 Werner LEMBERG <[email protected]>
Make `test-groff' work again -- previously, wrong paths have been
used. Additionally, it can now be called from anywhere.
* test-groff.in: Don't test for groff binary. This is no longer
necessary since the proper paths are determined by `configure'.
(EXEEXT): Removed. No longer used.
(srcdir, builddir): Use values provided by the configure script.
(XENVIRONMENT): Updated.
* INSTALL: Updated.
2004-12-14 Gaius Mulley <[email protected]>
Make .tag and .taga work for all devices (but only grohtml actually
handles them).
* src/devices/grohtml/post-html.cpp: s/html-tag/devtag/.
(text_glob::is_br, page::add_tag, html_printer::troff_tag,
html_printer::handle_assertion): Don't use hard-coded string
lengths.
(html_printer::lookahead_for_table): Reset `tbl' properly if
necessary.
(html_printer::devtag): New function, handling `devtag'.
(html_printer::special): Don't handle `html-tag'.
* src/include/printer.h, src/libs/libdriver/printer.cpp
(printer::devtag): New virtual function.
* src/libs/libdriver/input.cpp (parse_x_command) <'X'>: Handle
`devtag'.
* src/roff/troff/env.cpp, src/roff/troff/mtsm.cpp,
src/roff/troff/node.cpp: s/html-tag/devtag/.
* src/roff/troff/input.cpp (tag, taga): Always call
curenv->add_node.
* tmac/an-old.tmac, tmac/s.tmac, tmac/troffrc-end: Use DEVTAG*
macros instead of HTML-TAG*.
* tmac/devtag.tmac: New file, defining the DEVTAG-* macros.
* tmac/www.tmac: Load devtag.tmac.
Replace HTML-TAG* macros with DEVTAG* macros.
(HTML, HTML-NS): Changed definitions.
(URL): Use HTML-NS.
(HTML-TAG, HTML-TAG-NS, HTML-TAG-NEXT): Removed.
* tmac/Makefile.sub (NORMALFILES): Add devtag.tmac.
2004-12-10 Werner LEMBERG <[email protected]>
Import Mike's `gdiffmk' package.
* contrib/gdiffmk/*: New files.
* Makefile.in (OTHERDIRS): Add contrib/gdiffmk.
* NEWS: Updated.
2004-12-08 Werner LEMBERG <[email protected]>
Import Keith's `pdfmark' package. Integration is very preliminary.
* contrib/pdfmark/*: New files.
* Makefile.in (OTHERDIRS): Add contrib/pdfmark.
* NEWS: Updated.
2004-12-07 Gaius Mulley <[email protected]>
Fix a bug with title handling in HTML.
* src/devices/grohtml/post-html.cpp (text_glob::is_nf,
text_glob::is_fi, text_glob::is_ce): Use strlen to compute string
length.
(html_printer::handle_tag_within_title): New function.
(html_printer::do_title): Use it.
* tmac/s.tmac (TL): Don't set `need_eo_tl'.
(cov*tl-au-print): Emit `.eo.tl' tag.
2004-12-05 Alejandro López-Valencia <[email protected]>
* man/groff_char.man: Minor imrovements.
2004-12-04 Werner LEMBERG <[email protected]>
* src/preproc/eqn/eqn.man: Revised.
2004-11-25 Werner LEMBERG <[email protected]>
* src/utils/xtotroff/xtotroff.c: Reformat to be similar to other
groff source files.
Include config.h.
Include limits.h.
Remove X_NOT_STDC_ENV conditional.
(Version_string, program_name): New global variables.
(groff_flag): Removed.
(MapFont): Updated.
(usage): Take a stream as argument.
Use `program_name'.
Update all callers.
(main): Add `long_options' array for `--help' and `--version'.
Make `-g' a dummy option.
Handle `-v' and unknown options.
Remove unused `position' variable.
* src/utils/xtotroff/Makefile.sub (MAN1): Define.
(XLIBS): Add LIBGROFF.
* src/utils/xtotroff/xtotroff.man, src/utils/xtotroff/Makefile.in:
New files.
* src/devices/xditview/Dvi.c (default_font_map): Split into three
parts to avoid compiler warning.
(resources): Don't initialize with `default_font_map'.
(ClassInitialize): Initialize first element of `resources'.
* src/devices/xditview/Makefile.sub (devdir, xtotroff, DPIS, fonts):
Removed.
* src/utils/lkbib/lkbib.man, src/utils/lookbib/lookbib.man,
src/utils/pfbtops/pfbtops.man: Revised, updated.
* configure.ac: Generate src/utils/xtotroff/Makefile.
* configure: Regenerated.
2004-11-24 Werner LEMBERG <[email protected]>
First fixes to get produce HTML.
* src/devices/grohtml/post-html.cpp (generate_img_src): Add `alt'
attribute.
* tmac/www.tmac (IMG, PIMG, MPIMG): Add `alt' attribute.
(HR, LI): Use `HTML</p>', not `HTML'.
* doc/webpage.ms: Minor updates.
2004-11-23 Larry Kollar <[email protected]>
Add option -S grohtml to determine the file split level.
* src/devices/grohtml/post-html.cpp (split_level): New global
variable.
(html_header::determine_header_level): Use split_level.