| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Add it.
|
|
|
|
|
|
|
|
|
|
| |
Problem reported by Alkis Georgopoulos <alkisg@gmail.com>;
see
https://bugs.launchpad.net/ubuntu/+source/groff/+bug/1008115
* src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Flip
values of U+03C6 and U+03D5.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This also fixes a problem with `iconv' on Solaris 10, as reported in
http://lists.gnu.org/archive/html/bug-groff/2012-02/msg00007.html
* configure.ac: Call `gl_LOCALCHARSET.
Call `AM_ICONV' as C++.
* config.guess, config.rpath, config.sub, install-sh, mkinstalldirs:
Updated.
* m4/codeset.m4, m4/glib21.m4, m4/iconv.m4, m4/lib-ld.m4,
m4/lib-link.m4, m4/lib-prefix.m4: Updated.
* m4/fcntl-o.m4, m4/localcharset.m4: New files.
* Makefile.in: Updated.
* src/include/localcharset.h, src/libs/libgroff/config.charset,
src/libs/libgroff/localcharset.c: Updated.
* aclocal.m4, configure, src/include/config.hin: Regenerated.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The invocation was
gnulib-tool --add-import \
--dir=src/libs/gnulib \
wcwidth
Additionally, src/libs/gnulib/configure.ac was adjusted from a
`test' run as described in the change from 2010-12-13.
* src/libs/gnulib/*: Updated.
|
|
|
|
|
|
|
| |
* src/libs/libdriver/input.cpp (odd): Use parentheses.
* src/roff/troff/mtsm.cpp (state_set::is_in): Fix parentheses;
previous code always tested for bit 0.
|
|
|
|
|
| |
* src/libs/libgroff/relocate.cpp (msw2posixpath): Remove redundant
dereferencing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a huge patch, mainly by adding the gnulib infrastructure in
a separate directory tree (in `src/libs/gnulib/lib') for its
`wcwidth' module. However, the actual changes to native groff
source files are just a few lines.
* Makefile.comm (INCLUDES): Updated.
(LIBGNU): Define.
* Makefile.in (NOMAKEDIRS): Updated.
(GNULLIBDIRS): Define.
(DISTDIRS): Add GNULLIBDIRS.
($LIBDIRS): Depend on GNULLIBDIRS.
($GNULLIBDIRS): New target.
* src/libs/libgroff/font.cpp (font::get_width, font::load)
[is_unicode]: Use `wcwidth'.
* src/roff/troff/Makefile.sub (XLIBS): Add LIBGNU.
* src/roff/troff/input.cpp (main): Set LC_CTYPE.
* src/devices/grotty/Makefile.sub (XLIBS): Add LIBGNU.
* src/devices/grotty/tty.cpp (main): Set LC_CTYPE.
* src/libs/gnulib/*: New files. The import was done as follows:
. Call
gnulib-tool --create-testdir \
--dir=src/libs/gnulib \
wcwidth
to get a testbed.
. Manually move directories src/libs/gl{lib,m4} to
src/libs/{lib,m4}, and do s/gllib/lib/ and s/glm4/m4/ everywhere
to `convert' the gnulib testbed to a standard gnulib
configuration as maintained by gnulib-tool.
. Call
gnulib-tool --add-import \
--dir=src/libs/gnulib \
wcwidth
to update everything.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch uses standard C++ headers, contrary to the rest of groff.
Ideally, everything in groff should be updated to do the same.
* src/include/font.h (glyph_to_unicode): New function.
* src/libs/libgroff/font.cpp (glyph_to_unicode): Implement it.
(font::contains, font::get_code): Use it.
* src/roff/troff/charinfo.h: Include <vector> and <utility>.
(charinfo): New members `ranges' and `nested_classes'.
New member functions `get_unicode_code' and `get_flags'.
New member functions `add_to_class', `is_class', and `contains'.
(charinfo::overlaps_horizontally, charinfo::overlaps_vertically,
charinfo::can_break_before, charinfo::can_break_after,
charinfo::can_break_after, charinfo::ends_sentence,
charinfo::transparent,, charinfo:ignore_hcodes): Use `get_flags',
which handles character classes also.
* src/roff/troff/input.cpp (char_class_dictionary): New global
variable.
(define_class): New function.
(init_input_requests): Register `class'.
(charinfo::get_unicode_code, charinfo::get_flags,
charinfo::contains): Implement it.
* NEWS, doc/groff.texinfo (Character Classes), man/groff_diff.man,
man/groff.man: Document it.
|
|
|
|
|
|
|
|
| |
Reported by Louis Guillaume <louis@zabrico.com>.
* src/libs/libgroff/string.cpp (string::remove_spaces): If input
data consists of spaces only and thus reduces to nothing, set `sz'
to 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Without this patch, grotty goes into an infinite loop if it tries to
process
x T utf8
x res 240 24 40
x init
p1
Dt
* src/libs/libdriver/input.cpp (get_integer_arg): Emit a fatal error
on a non-integer argument, bringing the code into line with the
behaviour documented in the header comment.
(get_possibly_integer_args): Terminate the loop on a non-integer
argument.
(next_arg_begin): Return newline or EOF after emitting the
corresponding error, rather than continuing on to the next line.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
m4/lib-link.m4, m4/lib-prefix.m4, src/include/localcharset.h,
src/libs/libgroff/config.charset, src/libs/libgroff/localcharset.c,
src/libs/libgroff/ref-add.sin, src/libs/libgroff/ref-del.sin:
Updated from `gnulib' git repository.
* configure: Regenerated.
|
|
|
|
|
|
|
|
|
|
| |
mention that it should never be called stand-alone.
* tmac/groff_www.man, doc/groff.texinfo, man/groff_font.man,
man/groff_tmac.man, man/groff_out.man, README, README.MinGW,
src/roff/groff/groff.man: Mention -Txhtml.
* man/groff_font.man, man/groff_tmac.man, man/roff.man: Revised.
|
|
|
|
|
|
|
|
| |
Handle single-letter names correctly.
* doc/groff.texinfo, man/groff_diff.man: Extend documentation of \^
and \|.
* NEWS: Updated.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* */*.man: Replace .URL with .UR/.UE (except in groff_www.tmac).
Replace .MTO with .MT/.ME (except in groff_www.tmac).
Insert `\:' in URLs where appropriate.
Don't include www.tmac (except in groff_www.tmac).
* man/groff.man (.ESC[]): Fix font of closing bracket.
(.ESCq): Fix font of closing quote character.
Many other improvements.
|
|
|
|
|
|
|
| |
allocation.
* src/preproc/tbl/table.cpp (table::allocate): Initialize
`blockflag' array.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fonts.
* src/include/font.h (font): Add member variable `zoom'.
Add member functions `set_zoom' and `get_zoom'.
Remove `static' attribute from `scale' member function.
* src/libs/libgroff/font.cpp (font::font): Updated.
(scale_round): New version with three parameters to handle zoom
factor.
(font::scale, font::get_width): Handle zoom factor.
(font::set_zoom, font::get_zoom): New functions.
(font::load): Handle `zoom' while computing `space_width'.
* src/roff/troff/env.h: Declare `env_get_zoom'.
(environment): Add member function `get_zoom'.
* src/roff/troff/env.cpp (environment::get_zoom): New function.
(init_env_requests): Initialize `.zoom' register.
* src/roff/troff/node.cpp (font_info): New member functions
`set_zoom' and `get_zoom'.
(tfont): New member function `get_zoom'.
(env_get_zoom): New function.
(troff_output_file::set_font): Handle zoom factor.
(font_zoom_request): New function.
(init_node_requests): Initialize `fzoom' request.
* docs/groff.texinfo (Changing Fonts), man/groff.man,
man/groff_diff.man, NEWS: Document `fzoom' request and `.zoom'
register.
* src/roff/troff/TODO: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`DESC'.
Reduce number of false positives for `.if F ...' conditionals.
Improve warning messages.
* tmac/Makefile.sub: Add copyright notice.
(NORMALFILES): Add man.tmac and ms.tmac.
(SPECIALFILES): Remove man.tmac and ms.tmac.
(CLEANADD): Remove man.tmac-sed and ms.tmac-sed.
(install_data, uninstall_sub): Don't handle man.tmac and ms.tmac
specially.
(stamp-sed): Don't handle man.tmac and ms.tmac.
Remove obsolete components in sed's regexp.
* doc/Makefile.sub (EXAMPLEFILES): Add gnu.eps.
* Makefile.in (OTHERDIRS, NOMAKEDIRS): Add hdtbl.
|
|
|
|
|
| |
<'F'>): Use `get_extended_arg' to behave as documented. Reported by
Bill Ward <william.a.ward.jr@erdc.usace.army.mil>.
|
|
|
|
|
| |
* LICENSES: This. Collect all licensing information in this file.
* tmac/README, src/libs/snprintf/README: Removed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(install_html, uninstall_sub): Updated.
Introduce Unicode fonts.
* font/devhtml/DESC.proto: Mark as unicode. font/devhtml/R.proto: Remove all
* charset entries that are already
in glyphuni.cpp. font/devutf8/DESC.proto: Mark as unicode.
* font/devutf8/R.proto: Remove all charset entries. src/include/font.h
* (font): New static field `is_unicode'.
Change order of fields. src/libs/libgroff/font.cpp: Include unicode.h.
* (font::font): Update for
changed order of fields. (font::contains, font::get_width, font::get_height,
font::get_depth, font::get_italic_correction,
font::get_left_italic_correction, font::get_subscript_correction,
font::get_character_type, font::get_code,
font::get_special_device_encoding): Handle both the explicitly enumerated
glyphs and use general code for Unicode fonts. (font::load): Make the
charset section optional when the font is declared unicode.
(font::load_desc): Recognize the `unicode' attribute.
* src/libs/libgroff/fontfile.cpp (font::is_unicode): New variable.
|
|
|
|
|
|
|
|
|
|
|
|
| |
for \-.
Remove commented out entries for \' and \` (there are no such glyph
names).
* src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
commented out entries for \' and \`.
* */*: s/legal/valid/ where appropriate.
|
| |
|
|
|
|
| |
and \` entries.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
entry for `shc'.
* font/devlatin1/R.proto, font/devcp1046/R.proto: Replace `shc'
entry with unnamed glyph.
* tmac/html/tmac: Remove `shc' entry from call to `.cflags'.
* src/preproc/preconv/preconv.cpp (unicode_entity): Handle U+00AD
specially.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/include/font.h (struct glyph): Remove class.
(struct glyph): Renamed from struct glyphinfo.
(glyph_to_index): New inline function.
(glyph_to_name): Make extern, not inline.
(glyph_to_number): Update.
(font): Use `glyph *' instead of `glyph'.
* src/libs/libgroff/nametoindex.cpp (charinfo): Inherit from class
`glyph'. Make `name' field public.
(character_indexer, number_to_glyph, name_to_glyph): Use `glyph *'
instead of `glyph'.
(glyph_to_name): Renamed from `glyph::glyph_name'.
* src/roff/troff/charinfo.h (charinfo): Inherit from class `glyph'.
Use `glyph *' instead of `glyph'.
* src/roff/troff/input.cpp (name_to_glyph, number_to_glyph): Use
`glyph *' instead of `glyph'.
(glyph_to_name): Renamed from `glyph::glyph_name'.
* src/libs/libgroff/font.cpp: Use `glyph *' instead of `glyph',
and `glyph_to_index' instead of `glyph::glyph_index'.
* src/include/printer.h (printer): Use `glyph *' instead of `glyph'.
* src/libs/libdriver/printer.cpp: Likewise.
* src/devices/grodvi/dvi.cpp: Likewise.
* src/devices/grohtml/post-html.cpp: Likewise.
* src/devices/grolbp/lbp.cpp: Likewise.
* src/devices/grolj4/lj4.cpp: Likewise.
* src/devices/grops/ps.cpp: Likewise.
* src/devices/grotty/tty.cpp: Likewise.
|
| |
|
|
|
|
| |
for `sqrt'.
|
|
|
|
|
|
|
| |
methods and fields from *_index to *_glyph.
(character_indexer::named_char_glyph): Test for `charNNN' name
here...
(name_to_glyph): ... not here.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
font::name_to_index.
(number_to_glyph): Renamed from font::number_to_index.
(glyph_to_name): Renamed from font::index_to_name.
(glyph_to_number): Renamed from font::index_to_number.
* src/libs/libgroff/nametoindex.cpp: Likewise.
* src/roff/troff/charinfo.h (charinfo::as_glyph): Renamed from
charinfo::get_index.
* src/roff/troff/input.cpp: All callers changed.
* src/roff/troff/node.cpp: Likewise.
* src/libs/libgroff/font.cpp: Likewise.
* src/devices/grops/ps.cpp: Likewise.
* src/devices/grohtml/post-html.cpp: Likewise.
* src/libs/libdriver/printer.cpp: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(struct glyph): Change internal representation.
Change constructor signature.
New method glyph::glyph_number().
(glyph::glyph, glyph glyph::undefined_glyph, glyph::glyph_index,
glyph::operator==, glyph::operator!=): Update.
(font::index_to_name, font::index_to_number): New functions.
* src/include/itable.h: New file, based on src/include/ptable.h.
* src/libs/libgroff/nametoindex.cpp: Include itable.h.
(class charinfo): New class.
(class character_indexer): Change table result type from `int' to
`class charinfo'.
Add table with integer key.
(character_indexer::character_indexer): Update.
(character_indexer::ascii_char_index): Update.
(character_indexer::numbered_char_index): Use NULL as name, not a
string starting with a space.
(character_indexer::named_char_index): Update.
(font::number_to_index, font::name_to_index): Remove no-op cast.
(glyph::glyph_name): New method.
* src/roff/troff/charinfo.h (class charinfo): Inherit from class
glyphinfo.
(NUMBERED): Remove flag bit.
(charinfo::numbered, charinfo::get_index): Update.
* src/roff/troff/input.cpp (charinfo::charinfo): Update.
(charinfo::set_number, charinfo::get_number): Update.
(glyph::glyph_name): New method.
|
|
|
|
| |
entries for `>>', `<<', `*f', and `+f'. Reported by Bruno.
|
| |
|
|
|
|
|
|
|
| |
Update all callers.
* src/devices/grotty/tty.cpp: s/glyph/tty_glyph/.
s/output_character_t/output_character/.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/include/ptable.h (declare_ptable): Add a return value to the
'define' method, and declare a 'lookupassoc' method.
(implement_ptable): Return the stored key in 'define'. Implement
lookupassoc.
* src/include/font.h (glyph_t): Add 'name' field. Add an argument to
the constructor.
(glyph_t::glyph_name): New method.
* src/libs/libgroff/nametoindex.cpp (character_indexer): Change
return type of methods and field member type to glyph_t.
(character_indexer::character_indexer): Update.
(character_indexer::ascii_char_index): Allocate a name for the glyph.
Return a glyph_t with name.
(character_indexer::numbered_char_index): Return a glyph_t without a
name.
(character_indexer::named_char_index): Return a glyph_t with a name.
(font::number_to_index, font::name_to_index): Update.
* src/roff/troff/input.cpp (charinfo::charinfo): Use the symbol as
the glyph's name.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/include/font.h (glyph_t): New class.
(name_to_index, number_to_index): Change return type to glyph_t.
(font::contains, font::get_width, font::get_height, font::get_depth,
font::get_character_type, font::get_kern, font::get_skew,
font::get_italic_correction, font::get_left_italic_correction,
font::get_subscript_correction, font::get_code,
font::get_special_device_encoding, font::add_entry, font::copy_entry,
font::add_kern, font::hash_kern): Change argument type to glyph_t.
* src/libs/libgroff/font.cpp (struct font_kern_list): Change members
type and constructor argument types to glyph_t.
(font::contains, font::get_width, font::get_height, font::get_depth,
font::get_character_type, font::get_kern, font::get_skew,
font::get_italic_correction, font::get_left_italic_correction,
font::get_subscript_correction, font::get_code,
font::get_special_device_encoding, font::add_entry, font::copy_entry,
font::add_kern, font::hash_kern): Change argument type to glyph_t.
(font::load): Use glyph_t variables.
* src/libs/libgroff/nametoindex.cpp (name_to_index, number_to_index):
Change return type to glyph_t.
* src/roff/troff/charinfo.h (charinfo::index): Change type to glyph_t.
(charinfo::get_index): Change return type to glyph_t.
* src/roff/troff/env.cpp: Include font.h.
* src/roff/troff/node.cpp: Include font.h before charinfo.h.
* src/roff/troff/input.cpp: Include font.h before charinfo.h.
(charinfo::charinfo): Update.
(name_to_index, number_to_index): Change return type to glyph_t.
* src/include/printer.h (printer::set_char_and_width): Change return
type to glyph_t.
* src/libs/libdriver/printer.cpp (printer::set_char_and_width): Change
return type to glyph_t.
* src/devices/grodvi/dvi.cpp (dvi_printer::set_char): Change argument
type to glyph_t.
* src/devices/grohtml/post-html.cpp (page::add_and_encode): Update.
(html_printer::space_glyph): Renamed from space_char_index.
(html_printer::add_to_sbuf, html_printer::sbuf_continuation,
html_printer::overstrike, html_printer::set_char): Change argument type
to glyph_t.
(html_printer::set_char_and_width): Change return type to glyph_t.
* src/devices/grolbp/lbp.cpp (lbp_printer::set_char): Change argument
type to glyph_t.
* src/devices/grolj4/lj4.cpp (lj4_printer::set_char): Change argument
type to glyph_t.
* src/devices/grops/ps.cpp (ps_printer::space_glyph): Renamed from
space_char_index.
(ps_printer::set_subencoding, ps_printer::set_char): Change argument
type to glyph_t.
* src/devices/grotty/tty.cpp (tty_printer::set_char): Change argument
type to glyph_t.
|
|
|
|
|
|
| |
negative value.
* src/libs/libgroff/font.cpp (font::load): Remove failure tests for
font::name_to_index.
|
|
|
|
|
|
|
|
|
| |
* src/include/device.h: Add comments.
* src/include/font.h: Add comments.
* src/include/unicode.h: Likewise.
* src/include/ptable.h, src/libs/libgroff/ptable.cpp: Likewise.
Fix quotation in comments to be of the form `xxx'.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure, src/include/config.hin: Regenerated.
* src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Define
ENABLE_RELOCATABLE.
* src/libs/libgroff/relocatable.h: New dummy header file for
localcharset.c.
* src/libs/libgroff/localcharset.c: Updated to (unchanged) CVS
gnulib version.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* m4/glibc21.m4: New file, from gnulib.
* Makefile.sub (M4MACROS): Add m4/glibc21.m4.
* configure.ac: Also test for stddef.h, and invoke jm_GLIBC21.
* Makefile.in (HOST, GLIBC21): New variables.
(MDEFINES): Pass them to subdirectories.
* src/include/relocate.h (relocatep): Define with C linkage.
* src/include/localcharset.h: New file, from gnulib.
* src/libs/libgroff/localcharset.c: New file, from gnulib with a
modification for relocate().
* src/libs/libgroff/config.charset: New file, from gnulib.
* src/libs/libgroff/ref-add.sin: New file, from gnulib.
* src/libs/libgroff/ref-del.sin: New file, from gnulib.
* src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Also define LIBDIR.
(OBJS): Add localcharset.o.
(CSRCS): Add localcharset.c.
(all): Add dependencies to charset.alias, ref-add.sed, ref-del.sed.
(charset.alias): New rule.
(PACKAGE): New variable.
(ref-add.sed, ref-del.sed): New rules.
(MKINSTALLDIRS): New variable.
(install_data): Depend on install_charset_data.
(install_charset_data): New rule for creating or updating
charset.alias.
(uninstall_sub): Depend on uninstall_charset_data.
(uninstall_charset_data): New rule for uninstalling or updating
charset.alias.
* src/preproc/preconv/preconv.cpp: Include localcharset.h instead
of <langinfo.h>.
(main): Initialize default_encoding from locale_charset() instead of
nl_langinfo(CODESET).
* aclocal.m4, configure, src/include/config.hin: Regenerated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/libs/libgroff/uniuni.cpp: Regenerated, using data from Unicode
4.1.0.
* src/utils/afmtodit/make-afmtodit-tables: New script to generate
afmtodit.tables.
* src/utils/afmtodit/afmtodit.tables: New file, representing Unicode
4.1.0 data.
* src/utils/afmtodit/afmtodit.pl (%unicode_decomposed,
%AGL_to_unicode): Removed. Replace it with a tag.
* src/utils/afmtodit/Makefile.sub (afmtodit): Adjust sed expression
to replace tag with actual file contents.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
src/libs/libgroff/relocate.cpp: Use path_name_max everywhere.
|