| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(RT_SEP, SH_SEP): Separators for the target platform's native path
separator and the build environment, respectively.
(fontpath, tmacpath): Use RT_SEP.
(MDEFINES): Updated.
* contrib/mom/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP.
* doc/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP.
* src/preproc/eqn/Makefile.sub (neqn): Use SH_SEP.
* src/roff/nroff/Makefile.sub (nroff): Use SH_SEP.
* fonts/devlj4/Makefile.sub (LJ4RES): Set to 1200. This helps to
reduce alignment problems with newer printers which use built-in
TrueType fonts (instead of the older Intellifonts). The ideal
solution is to provide a second set of groff metric files, but this
is extremely time-consuming to produce, given that HP's metric
files are very rudimentary.
|
|
|
|
|
|
|
|
|
|
|
| |
s/operand/argument/ in error message.
* src/roff/groff/groff.cpp (main): Don't allow option -o if -Thtml
is in use.
* tmac/s.tmac (XE): Fix error message.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New macros.
* src/roff/groff/pipeline.c: Declare strcasecmp.
(run_pipeline) [_WIN32]: Use function name variants which don't
start with `_'.
Fix stream handling.
* src/include/nonposix.h: Fix declaration of `system_shell_name'.
Declare `spawnvp_wrapper' and macro definitions of spawnvp only
for platforms which use the native Win32 runtime libraries.
(FLUSH_INPUT_PIPE) [_UWIN]: Provide non-empty version.
* src/libs/libgroff/quotearg.c (QUOTE_ARG_MALLOC_ERROR,
QUOTE_ARG_REALLOC_ERROR): Fix string.
* src/preproc/html/pre-html.cpp: Remove declaration of
`spawnvp_wrapper'.
Don't use __MINGW32__.
s/DEBUG_FILE/DEBUG_FILE_DIR/.
(DEBUG_TEXT, DEBUG_NAME, DEBUG_FILE) [DEBUGGING]: New macros.
(OUTPUT_STREAM, PS_OUTPUT_STREAM, REGION_OUTPUT_STREAM): New macros.
(char_buffer::run_output_filter) [MAY_FORK_CHILD_PROCESS]: Fix
calls to `set_redirection' and `WAIT'.
[MAY_SPAWN_ASYNCHRONOUS_CHILD]: Remove unused variable `i' and `j'.
Fix calls to `set_redirection' and `save_and_redirect'.
(char_buffer::do_html, char_buffer::do_image) [DEBUGGING]: Fix calls
to `set_redirection' and `save_and_redirect'.
(usage): Fix message.
(makeTempFiles, main): Use `DEBUG_FILE'.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
quoting for MSVC's spawn* and exec* functions.
* src/libs/libgroff/spawnvp.c: New file, providing a wrapper around
spawnvp with proper quoting for MSVC.
* src/libs/libgroff/assert.cpp (program_name),
src/libs/libgroff/new.cpp (program_name): Declare as `extern "C"'.
* src/libs/libgroff/Makefile.sub (OBJS, CSRCS): Updated.
* src/roff/troff/input.cpp (program_name): Declare as `extern "C"'.
* src/include/error.h (program_name): Declare as `extern "C"'.
* src/include/nonposix.h [__MSDOS__ ...]: Handle spawnvp.
* src/preproc/html/pre-html.cpp [__CYGWIN__ ...]: Declare
spawnvp_wrapper.
[MAY_SPAWN_ASYNCHRONOUS_CHILD]: Declare i and j.
|
|
|
|
|
|
|
|
|
|
|
|
| |
variable.
(sbasename) [__MSDOS__ || ...]: New function.
(system_shell_name) [__MSDOS__ || ...]: Use a different, more
generic algorithm.
(system_shell_dash_c, is_system_shell) [__MSDOS__ || ...]: Updated.
(run_pipeline) [_WIN32]: Use _XXX variants for some macros instead
of XXX.
Use STDOUT_FILENO instead of hardcoded file handle.
(signal_catcher) [__MSDOS__]: Moved to non-_WIN32 section.
|
|
|
|
| |
avoid warnings w.r.t. redefinition of P_tmpdir for some compilers.
|
|
|
|
|
|
|
|
|
|
|
| |
new font and mapping files.
* src/include/nonposix.h (FLUSH_INPUT_PIPE): New macro to empty
an input pipe. This is needed for the MSVC compiler to make troff's
`-o' option work.
* src/roff/troff/div.cpp: Include nonposix.h.
(cleanup_and_exit): Call FLUSH_INPUT_PIPE.
|
|
|
|
|
|
|
|
| |
* font/devlj4/generate/Makefile (S): Use special.awk.
* font/devlj4/*: Regenerated, including the following new files:
Arial (AR, AB, AI, ABI), Times New Roman (TNRR, TNRB, TNRI, TNRBI),
MS Symbol (SYMBOL), Wingdings (WINGDINGS).
* NEWS: Document new lj4 fonts and revised hpftodit.
|
| |
|
|
|
|
|
| |
* src/libs/libgroff/progname.c: New file.
* src/libs/libgroff/Makefile.sub: Updated accordingly.
|
|
|
|
|
|
|
| |
* font/devlj4/generate/wingdings.map,
font/devlj4/generate/symbol.map: Include unnamed glyphs.
Use groff glyph names where possible.
* src/devices/lj4_font.man: Minor updates.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/webpage.ms: Document viewCVS from ffii.org.
* NEWS, README: Updated.
* src/roff/groff/groff.man: Mention lj4_font man page.
* font/devlj4/generate/Makefile (SYMBOLMAP, WINGDINGSMAP): New
variables.
(FONTS): Add SYMBOL and WINGDINGS.
(SYMBOL, WINGDINGS): New targets.
* src/devices/grolj4/lj4_font.man: New man page.
* src/devices/grolj4/Makefile.sub (MAN5): New variable.
* src/devices/grolj4.man: Mention lj4_font man page.
* src/utils/hpftodit/hpftodit.cpp (read_map): Handle line comments.
* src/utils/hpftodit/hpftodit.man: Document it.
(CW): New macro.
Remove details about fonts (which are now in lj4_font.man).
* font/devlj4/generate/symbol.map,
font/devlj4/generate/wingdings.map: New files.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Revert most of the change from 2004-01-03 to better control used
symbol sets.
* src/utils/hpftodit/hpftodit.cpp (symbol_set): New structure.
(text_symbol_sets, special_symbol_sets): New arrays.
(symbol_set_table): New global variable.
(read_symbol_sets): Use search order given in the text_symbol_sets
and special_symbol_sets arrays. If command line flag -a is not
given, search both arrays.
(output_charset): Require x_height_tag only for command line flag -i.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
name of the current drawing and background color, respectively.
* src/roff/troff/symbol.h: Moved to...
* src/include/symbol.h: Here.
Small fixes to make it work outside of the `troff' directory.
* src/roff/troff/symbol.cpp: Moved to...
* src/libs/libgroff/symbol.cpp: Here.
Small fixes to make it work outside of the `troff' directory.
* src/include/Makefile.sub (HDRS), src/libs/libgroff/Makefile.sub
(OBJS, CCSRCS), src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS):
Updated.
* src/include/color.h: Include symbol.h.
(color): Add new field `nm'.
* src/libs/libgroff/color.cpp (color::color): Updated.
* src/roff/troff/dictionary.cpp, src/roff/troff/div.cpp,
src/roff/troff/node.cpp, src/roff/troff/number.cpp,
src/roff/troff/reg.cpp: Don't include symbol.h.
* src/roff/troff/env.cpp: Don't include symbol.h.
(environment::get_glyph_color_string,
environment_get_fill_color_string): New member functions.
(init_env_requests): Handle `.m' and `.M' registers.
* src/roff/troff/input.cpp: Don't include symbol.h.
(default_symbol): Moved to symbol.cpp/symbol.h.
(do_glyph_color, do_fill_color, define_color): Pass symbol name
to color constructor.
* src/roff/troff/env.h: Updated.
* NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
Document new registers.
|
|
|
|
|
|
| |
space_node::nbreaks): Protect against zero `next' field.
Update copyright years.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/utils/hpftodit/hpftodit.cpp (NO_GLYPH): New constant.
(symbol_set, text_symbol_sets, special_symbol_sets,
symbol_set_table): Removed.
(get_printcode): Removed.
(read_symbol_sets): Initialize `symbol_set' field with
`NO_SYMBOL_SET'.
Simplify code to just use the `kind' value.
(output_charset): Improve output formatting.
(dump_symbols): Simplified.
font/devlj4/generate/text.map: Fix typos.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/utils/hpftodit/hpftodit.cpp (is_decomposed): New macro.
(text_symbol_sets): Add more symbol sets.
(debug_flag): New static variable (moved from `main').
(get_printcode, show_symset): New functions.
(main): Remove `debug_flag'.
(output_charset): Use `show_symset'.
(dump_symbols): Use `show_symset'.
Print symsets for all glyphs.
(read_map): Actually call `unicode_to_ucode_make' but this time
correctly.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix placement of comments.
* src/utils/hpftodit/hpftodit.cpp (main): Read map file also if
option `-d' is given.
(output_charset): Improve warning messages to give more information.
(dump_symbols): Make information more precise.
(usage): Updated.
(read_map): Don't call unicode_to_ucode_name; the glyph names must
appear as-is and shouldn't be decomposed.
|
|
|
|
|
|
|
|
| |
* font/devlj4/generate/Makefile (IFLAG): Updated to new units.
(FONTS): Add TrueType font families Arial and Times New Roman.
(TNRR, TNRB, TNRI, TNRBI, AR, AB, AI, ABI): New targets.
* font/devlj4/generate/text.map: Fix Unicode values of `fi' and
`fl'.
|
|
|
|
|
|
| |
* src/roff/troff/node.cpp (suppress_node::tprint): Change type of
`tem' to `char*' to avoid deallocation of a pointer to a constant
object which some compilers don't like.
|
|
|
|
|
|
|
| |
with the new hpftodit version.
* src/utils/hpftodit/hpftodit.cpp (output_charset): Emit HP symbol
set and 8bit character code for all glyphs also.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/Makefile.sub, contrib/mom/Makefile.sub (GROFF_BIN_PATH): Use
$(SEP).
* src/include/nonposix.h (STDIN_FILENO, STDOUT_FILENO,
STDERR_FILENO) [_MSC_VER]: Define conditionally.
(getpid) [_MSC_VER]: Remove.
Include direct.h and process.h conditionally.
* src/roff/troff/node.cpp (suppress_node::tprint): Don't use
parentheses for a_delete.
* src/utils/lookbib/lookbib.cpp: Include nonposix.h.
* test-groff: Replaced with...
* test-groff.in: This new template to handle path separator
properly.
* configure.ac: Check for direct.h and process.h.
Generate test-groff script.
* configure, src/include/config.hin: Regenerated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add new option `-x' to afmtodit to suppress use of built-in AGL.
* font/devhtml/R.proto, font/devutf8/R.proto: Add `u23AE'.
* font/devps/generate/textmap: Provide entry for `integralex' to
override (old) PUA value of the AGL.
* font/devps/generate/Makefile (SS): Add afmtodit option `-x'.
* font/devps/*: Regenerated.
* src/utils/afmtodit/afmtodit.pl: Add option `-x'.
* src/utils/afmtodit/afmtodit.man, NEWS: Updated.
|
|
|
|
|
|
|
| |
* font/devhtml/R.proto, font/devps/generate/textmap,
font/devps/symbolmap, font/devutf8/R.proto, man/groff_char.man,
src/libs/libgroff/uniglyph.cc, src/libs/libgroff/glyphuni.cpp: Add
U+2210 (\[coproduct]).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
more glyphs. See hpftodit.man for more details.
* src/utils/hpftodit/hpftodit.cpp: Include stdio.h, string.h,
ctype.h, and unicode.h.
s/msl/charcode/ everywhere since we now handle Unicode values also.
(equal, NO, YES, MSL, SYMSET, UNICODE, UNICODE): New macros.
Use it where appropriate.
(MULTIPLIER): Replaced with...
(multiplier): New global static variable.
(scale): Updated.
(tag_type): Add more TFM tags.
(tag_name): New array.
(ENUM_TYPE, FLOAT_TYPE): Removed.
(BYTE_TYPE): New value assigned.
(ASCII_TYPE, RATIONAL_TYPE): New enumeration values.
(text_symbol_sets, special_symbol_sets): Extended to cover more
sets.
(check_type): Add return value.
(check_units): Add parameters to get ppi and upem values.
Handle TrueType TFM data.
(output_font_name): New function.
(output_charset): Add parameter to handle TFM type.
Handle TrueType TFMs also.
(em_fract): New macro.
(dump_tags): Be much more verbose and handle more tags.
(dump_ascii, dump_symbol_sets, dump_symbols): New functions.
(hp_msl_to_ucode_name, unicode_to_ucode_name, is_uname): New
functions.
(read_map): Add parameter to handle TFM type.
Handle both MSL and Unicode mappings.
(main): Add two new command line options `-a' and `-q'.
Updated to make use of new functions.
(usage): Updated.
* src/utils/hpftodit/hpuni.cpp: New file.
* src/utils/hpftodit/Makefile.sub, src/utils/hpftodit/hpftodit.man:
Updated.
* src/include/nonposix.h (read) [_MSC_VER]: Define.
|
|
|
|
| |
by Michail Vidiassov <master@iaas.msu.ru>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and u0049_0307.
Add missing latin-2 glyphs.
* font/devutf8/R.proto: Add missing latin-2 glyphs.
* tmac/troffrc: Load `composite.tmac' earlier.
* tmac/dvi.tmac, tmac/ps.tmac, tmac/lbp.tmac: Add u00{47,67}_0306,
u00{53,73}_0327, and u0049_0307.
* tmac/X.tmac: Add u00{47,67}_0306.
* tmac/tty-char.tmac: Use composite glyph names for readability.
* NEWS: Updated.
* src/include/unicode.h: Remove `extern' keywords.
|
|
|
|
|
|
|
|
|
| |
* font/devutf8/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
and u0049_0307.
* tmac/composite.tmac: Add `,' as a synonym for `ac' accent.
* tmac/tty-char.tmac: Add representations for u00{47,67}_0306,
u00{53,73}_0327, and u0049_0307.
|
|
|
|
|
| |
from 2001-10-04.
Remove trailing zeros.
|
|
|
|
|
| |
* src/roff/troff/input.cc (non_interpreted_node): Add
`ends_sentence' member function.
|
|
|
|
| |
Other minor typographical improvements.
|
| |
|
| |
|
|
|
|
| |
* configure, NEWS: Updated.
|
| |
|
|
|
|
| |
* INSTALL: Improved.
|
|
|
|
|
|
|
|
|
|
|
|
| |
default paths.
* aclocal.m4 (GROFF_TARGET_PATH_SEPARATOR): New macro.
* configure.ac: Use GROFF_TARGET_PATH_SEPARATOR.
* configure: Regenerated.
* Makefile.in (SEP): Use GROFF_PATH_SEPARATOR.
* src/include/nonposix.h (PATH_SEP_CHAR): New definition.
Replace `PATH_SEP[0]' with `PATH_SEP_CHAR' everywhere.
|
| |
|
|
|
|
|
|
|
|
|
| |
option -v is given.
* src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix error
messages.
Close stdout copy.
Don't use Unix wait flags.
|
|
|
|
|
|
|
|
|
|
|
|
| |
src/roff/troff/unicode.h, src/roff/troff/uniglyph.cpp,
src/roff/troff/uniuni.cpp: Moved to...
* src/libs/libgroff/glyphuni.cpp, src/libs/libgroff/unicode.cpp,
src/libs/libgroff/unicode.h, src/libs/libgroff/uniglyph.cpp,
src/libs/libgroff/uniuni.cpp: Here.
* src/include/Makefile.sub.old (HDRS),
src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
src/roff/troff/Makefile.sub (HDRS, PBJS, CCSRCS): Updated.
|
|
|
|
|
| |
Improve documentation of `cflags' request.
* NEWS: Updated.
|
|
|
|
| |
* font/devlj4/CORONET: Regenerated.
|
|
|
|
|
|
|
|
| |
if processing hyphenation patterns in traditional mode.
Improve error messages.
* src/roff/troff/node.cpp (troff_output_file::put_char_width,
troff_output_file::put_char): Fix type of local variable `c'.
|
|
|
|
|
|
| |
declarations.
(i_to_a): Removed. libgroff already provides this function.
(run_pipeline) [_WIN32]: Don't use itoa but i_to_a.
|
|
|
|
| |
HAVE_DECL_SYS_LIST.
|
| |
|
|
|
|
|
|
|
| |
* configure.ac: Check for vfprintf.
* configure: Regenerated.
* src/include/lib.h: Handle `NEED_DECLARATION_VFPRINTF'.
* src/include/config.hin: Regenerated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Check for vsnprintf.
* src/include/lib.h: Handle `NEED_DECLARATION_VSNPRINTF' and
`HAVE_VSNPRINTF'.
* src/include/config.hin: Regenerated.
* aclocal.m4: Updated syntax to autoconf 2.59.
(GROFF_HTML_PROGRAMS): Use AC_FOREACH.
Don't check for gsos2.
(GROFF_SRCDIR, GROFF_BUILDDIR): Removed. autoconf 2.59 provides
working abs_top_srcdir and abs_top_builddir.
* configure.ac: Updated syntax to autoconf 2.59.
Don't call GROFF_SRCDIR and GROFF_BUILDDIR.
Replace call to AC_DECL_SYS_SIGLIST with call to AC_CHECK_DECLS.
* configure: Regenerated.
* Makefile.in, doc/Makefile.in: s/@top_srcdir@/@abs_top_srcdir@/,
s/@groff_top_builddir@/@abs_top_builddir@/.
* src/roff/groff/pipeline.c (xstrsignal):
s/SYS_SIGLIST_DECLARED/HAVE_DECL_SYS_SIGLIST/.
* src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) ['a']: Always
make start angle smaller than end angle to circumvent a bug in tpic
handling of some versions of dvipdfm (and dvipdfmx).
|