| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
ICONV_CONST in call to iconv. Reported by Robert Goulding.
|
|
|
|
|
|
|
| |
`conversion_utf8'.
* src/preproc/preconv/preconv.man: New file. Not complete yet.
* src/preproc/proconv/Makefile.sub (MAN1): New variable.
|
|
|
|
|
|
|
|
| |
(raw_flag): New global variable.
(do_file): Use .lf to set file name (if `raw_flag' isn't set).
(usage): Updated.
(main): Handle `-r' command line switch to set `raw_flag'.
(get_BOM): Fix encodings in `BOM_table'.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bruno, comment out most encodings to support only a small set of
coding tags, thus reducing potential problems with legacy encodings
and character sets in the future.
Add many XEmacs coding tags (now commented out).
Add `cp1047'.
(check_encoding_tag): Renamed to...
(check_coding_tag): This.
(get_BOM): Return encoding as specified by BOM.
Test for UTF32-LE too.
(do_file): Don't check for coding tag if a BOM has been found.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* m4/codeset.m4: New file, from gnulib.
* m4/iconv.m4: New file, from gnulib.
* m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4: New files, from
gnulib.
* config.rpath: New file, from gnulib.
* config.guess, config.sub: New files, from gnulib.
* Makefile.sub (M4MACROS): New variable.
(configure): Fix typo.
(aclocal.m4): New rule.
(stamp-h.in): Depend on aclocal.m4.
* configure.ac: Invoke AM_ICONV and AM_LANGINFO_CODESET.
* Makefile.in (LIBICONV): New variable.
(MDEFINES): Pass it to recursive makes.
* src/preproc/preconv/preconv.cpp: Use HAVE_LANGINFO_CODESET and
HAVE_ICONV instead of I18N macro.
* src/preproc/preconv/Makefile.sub (EXTRA_LDFLAGS): New variable.
* aclocal.m4, configure, src/include/config.hin: (Re)generated.
* doc/Makefile.in (webpage.html): Simplify.
* doc/Makefile.sub (webpage.html): Synchronize with doc/Makefile.in.
* doc/webpage.ms, tmac/groff_www.man, tmac/www.tmac: Minor updates.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
corrections:
. Don't map ascii to latin-1.
. Don't use IBMxxx encodings but cpxxx for portability.
. Map cp932, cp936, cp949, cp950 to itself.
(emacs2mime): Protect calls to strcasecmp.
(conversion_iconv): Add missing call to iconv_close.
(do_file): Emit error message in case of unsupported encoding.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
from Michail Vidiassov.
* src/roff/groff/pipeline.h (MAX_COMMANDS): Increase by 1.
* src/roff/groff/groff.cpp (PRECONV_INDEX): New macro.
(SOELIM_INDEX): Updated.
(help, synopsis): Updated.
(main): Add command line options `-k' and `-K enc' to select
encoding.
Add support for GROFF_ENCODING environment variable.
* src/roff/groff/groff.man: Updated and revised.
Start with autoconf support for preconv.
* configure.ac: Call AC_C_BIGENDIAN.
* configure, src/include/config.hin: Regenerated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
groff can understand. Not yet integrated within groff. Proper
autoconf stuff is missing too.
Tomohiro Kubota has written a first draft of this program, and some
ideas have been reused (while almost no code has been taken
actually).
* src/preproc/preconv/preconv.cpp. src/preproc/preconv/Makefile.sub:
New files.
* MANIFEST, Makefile.in (CCPROGDIRS), test-groff.in
(GROFF_BIN_PATH): Add preconv.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
glyphs which have kern values but aren't handled (glyph variants,
for example).
|
| |
|
|
|
|
| |
subfont index. Reported by Michail Vidiassov <master@iaas.msu.ru>.
|
|
|
|
|
| |
added fputs calls to emit the head contents and shutdown the head tag
whenever a new file component is generated.
|
|
|
|
|
| |
added call to flush_text to flush any outstanding html tags
on the paragraph stack.
|
|
|
|
|
|
| |
definition of __GETOPT_PREFIX to the beginning of file to ensure
that it is defined even on platforms where getopt.h is already
included by other header files.
|
|
|
|
|
| |
(html_printer::do_heading): reset font to NULL to ensure
that a font block is recreated during the next paragraph.
|
|
|
|
| |
* doc/webpage.ms, src/devices/grotty/grotty.man, NEWS: Updated.
|
|
|
|
|
| |
* man/groff_out.man: More markup and minor improvements.
* src/roff/groff/groff.man: Minor improvements.
|
| |
|
|
|
|
|
|
|
|
|
| |
troff_output::set_color, troff_output::reset_color): Use .bcolor and
.fcolor instead of \m and \M, respectively.
* src/devices/xditview/gxditview.man: More minor fixes.
* README: Formatting issues.
Mention some problems with Debian.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
groff-getopt.h.
|
|
|
|
| |
earlier to get correct error message.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
`--style'.
* 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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/gdiffmk/gdiffmk.sh: Likewise.
* contrib/gdiffmk/tests/runtests.in: Likewise.
* contrib/grap2graph/grap2graph.sh: Likewise.
* contrib/groffer/groffer.sh: Likewise.
* contrib/mm/mmroff.pl: Likewise.
* contrib/mom/momdoc/appendices.html: 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.
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.
|
| |
|
|
|
|
| |
Use `char *' cast for a_delete.
|
|
|
|
| |
src/libs/libgroff/relocate.cpp: Use path_name_max everywhere.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`a_delete' for `const char *'.
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
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'.
|
|
|
|
|
|
|
|
|
|
|
| |
position: '(' position ')'
in pic.
* src/preproc/pic/pic.y (position, position_not_place): Handle
additional parentheses.
* doc/pic.ms: Updated.
|
| |
|
| |
|
|
|
|
| |
* src/roff/nroff/nroff.sh: Make the script accept option `-M'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
* 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.
|
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
|
|
|
| |
* src/libs/libgroff/hypot.cpp: This. Updated to C++.
* src/libs/libgroff/Makefile.sub (CCSRCS, CSRCS): Updated.
|