From 64e484ca714cd4d928cf47a6556745a62de09c65 Mon Sep 17 00:00:00 2001 From: styluseater Date: Sat, 26 Feb 2011 05:38:16 +0000 Subject: Add old changelogs forgotten in last commit. Remove object files. --- ChangeLog.new | 626 ++++++++++++++++++ fontconvert/ChangeLog.old | 604 ++++++++++++++++++ gf/ChangeLog.old | 308 +++++++++ imageto/ChangeLog.old | 1113 ++++++++++++++++++++++++++++++++ include/ChangeLog.old | 1533 +++++++++++++++++++++++++++++++++++++++++++++ lib/ChangeLog.old | 1414 +++++++++++++++++++++++++++++++++++++++++ lib/basename.o | Bin 4956 -> 0 bytes lib/fmod-deprecated.c | 145 +++++ lib/strstr.o | Bin 5172 -> 0 bytes pbm/ChangeLog.old | 41 ++ pk/ChangeLog.old | 138 ++++ tfm/ChangeLog.old | 371 +++++++++++ 12 files changed, 6293 insertions(+) create mode 100644 ChangeLog.new create mode 100644 fontconvert/ChangeLog.old create mode 100644 gf/ChangeLog.old create mode 100644 imageto/ChangeLog.old create mode 100644 include/ChangeLog.old create mode 100644 lib/ChangeLog.old delete mode 100644 lib/basename.o create mode 100644 lib/fmod-deprecated.c delete mode 100644 lib/strstr.o create mode 100644 pbm/ChangeLog.old create mode 100644 pk/ChangeLog.old create mode 100644 tfm/ChangeLog.old diff --git a/ChangeLog.new b/ChangeLog.new new file mode 100644 index 0000000..2be54cb --- /dev/null +++ b/ChangeLog.new @@ -0,0 +1,626 @@ +Tue Jan 13 19:51:00 2011 Adam M. Dutko (dutko.adam@gmail.com) + + * bpltobzr/main.c: Make GCC 4.5.2 build work. Add line continuation. + * bzr/bzr_input.c: Make GCC 4.5.2 build work. Add line continuation. + * bzrto/main.c: Make GCC 4.5.2 build work. Add line continuation. + * charspace/main.c: Make GCC 4.5.2 build work. + * fontconvert/main.c: Make GCC 4.5.2 build work. + * gf/gf_input.c: Make GCC 4.5.2 build work. + * gsrenderfont/main.c: Make GCC 4.5.2 build work. + * imageto/main.c: Make GCC 4.5.2 build work. + * imgrotate/main.c: Make GCC 4.5.2 build work. + * include/cmdline.h: Make GCC 4.5.2 build work. + * limn/main.c: Make GCC 4.5.2 build work. + * pbm/libpbm1.c: Make GCC 4.5.2 build work. + * tfm/tfm_input.c: Make GCC 4.5.2 build work. + * widgets/Form.c: Make GCC 4.5.2 build work. + * widgets/Viewport.c: Make GCC 4.5.2 build work. + * xbfe/main.c: Make GCC 4.5.2 build work. + +Fri May 13 15:18:27 1994 Karl Berry (karl@cs.umb.edu) + + * configure.in: Include kpathsea/common.ac. + +Sat Jul 31 11:38:21 1993 Karl Berry (karl@cs.umb.edu) + + * configure.in: Remove AC_PREFIX. + +Wed Jun 2 08:09:17 1993 Karl Berry (karl@cs.umb.edu) + + * configure.in: Call AC_PROG_CPP explicitly. Don't bother with + AC_GCC_TRADITIONAL. + +Sat May 22 11:22:57 1993 Karl Berry (karl@cs.umb.edu) + + * GNUmakefile.in (dist): Run gzip -9. + +Thu May 20 16:59:38 1993 Karl Berry (karl@cs.umb.edu) + + * GNUmakefile.in (default_tfm_path): Put . first. + +Tue May 18 14:02:05 1993 Karl Berry (karl@cs.umb.edu) + + * Makefile.in (install-*): mkdirchain on install dirs, and put + mkdirchain in the dist. + +Sun Apr 11 14:59:50 1993 Karl Berry (karl@cs.umb.edu) + + * GNUmakefile.in (dist): Copy info files to the local info directory. + +Sat Apr 10 14:58:43 1993 Karl Berry (karl@cs.umb.edu) + + * configure.in: Do AC_XENIR_DIR after AC_DIR_HEADER. + +Thu Mar 25 16:01:51 1993 Karl Berry (karl@cs.umb.edu) + + * configure.in (AC_ISC_WLIBS): Remove. + * aclocal.m4: New version, see web2c ChangeLog. + +Tue Feb 23 16:52:13 1993 Karl Berry (karl@cs.umb.edu) + + * GNUmakefile.in (dist): Copy info files to my local info directory. + +Sat Jan 9 15:22:51 1993 Karl Berry (karl@cs.umb.edu) + + * GNUmakefile.in (configure, config.status): cd $(srcdir) first. + +Fri Jan 1 13:57:15 1993 Karl Berry (karl@cs.umb.edu) + + * configure.in: Changes for new Autoconf. + +Sun Dec 13 16:39:23 1992 Karl Berry (karl@cs.umb.edu) + + * GNUmakefile.in (default_tfm_path): Use $(texdatadir). + +Thu Dec 10 10:34:30 1992 Karl Berry (karl@cs.umb.edu) + + * GNUmakefile.in (GNUmakefile): Add $(srcdir) to dependency, and + use $(SHELL) instead of sh. + (config.status): Use $(SHELL). + +Sun Nov 29 17:17:46 1992 Karl Berry (karl@cs.umb.edu) + + * GNUmakefile.in (emacslispdir): Doc fix. + +Wed Oct 28 15:09:29 1992 Karl Berry (karl@claude.cs.umb.edu) + + * Version 0.6. + + * GNUmakefile.in (install): Install data files with file as second + arg, not directory. + +Sun Oct 25 15:29:19 1992 Karl Berry (karl@cs.umb.edu) + + * GNUmakefile.in (realclean): Depend on distclean. + + * GNUmakefile.in (installargs): Passed texinputdir as mfinputdir. + + * GNUmakefile.in (install): Correct to `emacs_datadir' in the mkdir. + +Thu Oct 15 08:35:21 1992 Karl Berry (karl@cs.umb.edu) + + * configure: Ran Autoconf 1.2. + +Mon Oct 5 10:24:15 1992 Karl Berry (karl@cs.umb.edu) + + * configure.in: Generate doc/Makefile. (arif@stat.fsu.edu) + + * GNUmakefile.in (install): Install common.cmi. (ab@meiko.co.uk) + +Sun Oct 4 11:22:45 1992 Karl Berry (karl@cs.umb.edu) + + * GNUmakefile.in (examplefiles): Remove; just make links. + (dist): Don't copy them. + +Sun Sep 20 12:53:29 1992 Karl Berry (karl@cs.umb.edu) + + * GNUmakefile.in (config.status): use sh to run configure --no-create. + + * GNUmakefile.in (realclean): OK, don't remove configure. + +Mon Sep 14 17:50:54 1992 Karl Berry (karl@hayley) + + * GNUmakefile.in (realclean): separate from distclean. + (distclean): remove GNUmakefile. + (config.status): new target. + (GNUmakefile): depend on config.status. + +Sat Sep 12 14:53:31 1992 Karl Berry (karl@hayley) + + * GNUmakefile.in (dist): replace remaining occurrences of + `fontutils-$(version) with `$(top_distdir)'. + +Thu Sep 10 08:57:02 1992 Karl Berry (karl@hayley) + + * GNUmakefile.in (dist): changed where the COPYING* files are kept. + + * GNUmakefile.in (xincludedir, xlibdir): say that these are + options, not just directories. + + * GNUmakefile.in (realclean): remove configure. + +Tue Sep 8 16:42:04 1992 Karl Berry (karl@hayley) + + * configure.in: test for more Unix variants. + +Fri Sep 4 08:39:15 1992 Karl Berry (karl@hayley) + + * GNUmakefile.in (extraclean): new target. + +Thu Sep 3 08:54:12 1992 Karl Berry (karl@hayley) + + * Version 0.5. + + * GNUmakefile.in (distargs): pass $(version) down. + +Sat Aug 29 16:11:47 1992 Karl Berry (karl@hayley) + + * GNUmakefile.in (tex{data,input}dir): new variables. + (installargs): pass texinputdir. + +Thu Aug 27 08:56:47 1992 Karl Berry (karl@hayley) + + * configure: regenerated from Autoconf 1.1. + +Wed Aug 19 07:55:50 1992 Karl Berry (karl@hayley) + + * GNUmakefile.in (install): do make install in `doc', and install + the .enc and encoding.map files from `data'. + +Tue Aug 18 15:50:55 1992 Karl Berry (karl@hayley) + + * GNUmakefile.in (completedirs): remove `doc' (yay!). + +Sat Aug 15 13:32:38 1992 Karl Berry (karl@hayley) + + * GNUmakefile.in (mfdatadir, mfinputdir): new variables. + (installargs): pass mfinputdir. + +Mon Aug 3 16:00:58 1992 Karl Berry (karl@hayley) + + * GNUmakefile.in (emacs_datadir, emacslispdir): new variables. + (install): mkdir them. + (installargs): pass emacslispdir down. + +Fri Jul 31 17:02:22 1992 Karl Berry (karl@hayley) + + * GNUmakefile.in (dist): include our aclocal.m4. + + * GNUmakefile.in (LIBS): include $(extralibs) for the user to + define. + +Wed Jul 22 08:42:46 1992 Karl Berry (karl@hayley) + + * GNUmakefile.in (topfiles): add `NEWS'. + * NEWS: new file. + + * configure.in: changes for Autoconf 1.0. + +Thu Jul 2 15:26:14 1992 Karl Berry (karl@hayley) + + * GNUmakefile.in (makeargs): pass srcdir and CFLAGS. + (CCFLAGS): remove. + + * Run Autoconf 0.119. + +Mon Jun 29 08:58:37 1992 Karl Berry (karl@hayley) + + * GNUmakefile.in (paths.h): delete it before creating it. + Also, new target `GNUmakefile'. + (fu_datadir): new variable for the subdirectory in $(datadir) + which we create. + (install): mkdir all the directories we install into. + (CFLAGS): change to CCFLAGS, so the user can set CFLAGS on the + command line. + +Sat Jun 27 11:04:17 1992 Karl Berry (karl@hayley) + + * GNUmakefile.in (paths.h): depend on GNUmakefile.in and GNUmakefile. + +Sun Jun 21 12:43:32 1992 Karl Berry (karl@hayley) + + * GNUmakefile.in (app_defaults): change default and describe better. + +Thu Jun 11 09:07:01 1992 Karl Berry (karl@hayley) + + * GNUmakefile.in (.NOEXPORT): new target, since Autoconf doesn't add + it automatically any more. + +Sun Jun 7 08:09:17 1992 Karl Berry (karl@hayley) + + * GNUmakefile.in (examplefiles): new variable. + (dist): copy $(examplefiles) into doc/example. + +Thu Jun 4 08:24:46 1992 Karl Berry (karl@hayley) + + * configure.in (AC_HEADER_FILE): rename to AC_CONFIG_HEADER, for + Autoconf 0.115. + +Wed Jun 3 08:41:33 1992 Karl Berry (karl@hayley) + + * GNUmakefile.in (dist): add-version in top_distdir. + +Fri May 29 08:36:46 1992 Karl Berry (karl@hayley) + + * GNUmakefile.in (completedirs): add `doc' (temporarily). + +Thu May 21 15:00:30 1992 Karl Berry (karl@hayley) + + * GNUmakefile.in (programs): `imagetofont' => `imageto'. + +Mon May 18 12:01:42 1992 Karl Berry (karl@hayley) + + * configure.in: change top-level Makefile name to `GNUmakefile.in'. + * GNUmakefile.in: renamed from Makefile.in. + + * Makefile.in (dist): rewrite to `make dist' in subdirs. + + * Makefile.in (alldirs): move `doc' here. + (completedirs): from here. + + * Makefile.in (dist): copy testfont.tex into `data'. + +Sat May 16 10:09:34 1992 Karl Berry (karl@hayley) + + * configure.in: PROG_CPP must come before GCC_TRADITIONAL. + +Fri May 15 09:05:22 1992 Karl Berry (karl@hayley) + + * configure.in: add AC_GCC_TRADITIONAL and AC_PROG_CPP. + + * configure.in: AC_HEADER_MISSING is now AC_HEADER_CHECK. + + * Makefile.in (exec_prefix): new variable. + (bindir): use it. + +Thu May 14 06:41:19 1992 Karl Berry (karl@hayley) + + * Makefile.in (app_defaults_dir): -> app-defaults. + +Wed May 13 08:55:11 1992 Karl Berry (karl@hayley) + + * Makefile.in (VPATH): change for new Autoconf. + +Sat May 9 10:21:08 1992 Karl Berry (karl@hayley) + + * Makefile.in (dist): make dist in doc; copy COPYING*. + +Thu May 7 08:10:40 1992 Karl Berry (karl@hayley) + + * Makefile.in (dist): don't link include/*.in, we've already got it. + +Mon May 4 14:24:39 1992 Karl Berry (karl@hayley) + + * Makefile.in (gsrenderfont): remove this target. + (all): don't depend on it. + +Tue Apr 28 10:16:39 1992 Karl Berry (karl@hayley) + + * configure.in: Autoconf's prefix is now AC_, not M_. + +Thu Apr 23 07:32:29 1992 Karl Berry (karl@hayley) + + * configure.in: test $GCC instead of grepping for `gcc' in $CC. + + * Makefile.in (dist): distribute include/*.in. + + * Makefile.in (.NOEXPORT): remove this, as configure now puts it + in automatically. + +Wed Apr 22 12:58:49 1992 Karl Berry (karl@hayley) + + * Makefile.in (prefix): set to /usr/local; configure doesn't do + M_SUBST. + + * configure.in: M_MEMORY_H is now M_NEED_MEMORY_H. + +Sun Apr 19 10:41:07 1992 Karl Berry (karl@hayley) + + * Makefile.in (distclean): add this as a target. + +Sun Apr 12 14:08:35 1992 Karl Berry (karl@hayley) + + * Makefile.in (bzrtospecial): add *.el to the distributed list. + +Wed Apr 8 09:31:37 1992 Karl Berry (karl@hayley) + + * Makefile.in (all): depend on gsrenderfont. + (gsrenderfont/gsrenderfont): make it by substituting for the lib-path. + (gsrenderspecial): dist gsrf.in instead of gsrenderfont. + (versionfiles): likewise. + +Tue Apr 7 13:58:50 1992 Karl Berry (karl@hayley) + + * Makefile.in (dist): copy the .ad files into the distribution + directory, not the working dirs. + +Sun Mar 29 08:42:54 1992 Karl Berry (karl at hayley) + + * Makefile.in (programs, libraries, etc.): use $(MAKE), not `make'. + +Sat Mar 28 07:44:42 1992 Karl Berry (karl at hayley) + + * Version 0.4. + + * Change copyright years to 1992 only. + +Fri Mar 27 19:46:49 1992 Karl Berry (karl at hayley) + + * PROJECTS: move to doc. + * Makefile.in (topfiles): remove it. + +Thu Mar 26 19:54:28 1992 Karl Berry (karl at claude.cs.umb.edu) + + * Makefile.in (makeargs): pass xlibdir. + + * Makefile.in (installargs): missing quote. + (install): do `install' in subdirs. + +Thu Mar 26 06:37:55 1992 Karl Berry (karl at hayley) + + * Makefile.in (dist): remove include/paths.h. + +Wed Mar 25 07:20:10 1992 Karl Berry (karl at hayley) + + * Makefile.in (topfiles): remove PROBLEMS, add COPYING.LIB. + +Tue Mar 10 10:48:19 1992 Karl Berry (karl at hayley) + + * Makefile.in (programs): replace xbce and xlse with xbfe. + (dist): similarly. + +Sun Mar 8 12:48:52 1992 Karl Berry (karl at hayley) + + * configure.in: guess the value for `prefix'. + * Makefile.in (prefix): define it as a substitution. + + * Makefile.in (mostlyclean): new target. + (distclean): remove. + (clean): remove the config files here, not at realclean. + +Sat Mar 7 13:34:55 1992 Karl Berry (karl at fosse) + + * Makefile.in (xincludedir): new variable. + (CFLAGS): use it. + * configure.in: test for it. + +Sat Mar 7 09:59:10 1992 Karl Berry (karl at hayley) + + * configure.in: change config-auto.h to c-auto.h. + + * configure.in: substitute for LDFLAGS. + +Thu Mar 5 17:31:06 1992 Karl Berry (karl at claude.cs.umb.edu) + + * Makefile.in (makeargs): don't double the $'s. + +Thu Mar 5 07:12:13 1992 Karl Berry (karl at hayley) + + * Makefile.in (dist): add version numbers automatically; add in + special files in bzrto and gsrenderfont. + (bzrtospecial, gsrenderspecial): new variables. + +Wed Mar 4 11:24:12 1992 Karl Berry (karl at hayley) + + * gnuw: rename to `widgets'. + * Makefile.in (libraries): corresponding. + +Sun Mar 1 12:59:09 1992 Karl Berry (karl at hayley) + + * Makefile.in (libraries): add pbm. + pbm: new directory. + +Tue Feb 25 10:48:47 1992 Karl Berry (karl at hayley) + + * AUTHORS: new file. + Makefile.in (topfiles): dist it. + +Mon Feb 24 08:36:00 1992 Karl Berry (karl at hayley) + + * configure.in [isc]: include -shlib in LDFLAGS. + +Sun Feb 23 09:04:51 1992 Karl Berry (karl at hayley) + + * GNUmakefile (dist): update for various new directories and files. + +Tue Feb 11 09:56:23 1992 Karl Berry (karl at hayley) + + * configure.in: test for memcpy et al. only in . + + * configure.in: test for missing. + + * configure.in: test for extra window system libraries. + Makefile.in (wlibs): new variables. + (makeargs): pass it down to submakes. + + * configure.in: test M_ISC early, before any compiles. + + * Makefile.in (copt): remove it; use CC instead. + +Mon Feb 10 09:36:22 1992 Karl Berry (karl at hayley) + + * Makefile.in (copt): new variable. + +Sat Feb 8 14:48:28 1992 Karl Berry (karl at hayley) + + * Makefile.in (realclean): remove config.status and Makefile. + +Sun Feb 2 13:50:53 1992 Karl Berry (karl at hayley) + + * Makefile.in: rename paths.h-dist to paths.h.in. + +Sat Feb 1 14:57:12 1992 Karl Berry (karl at hayley) + + * Makefile.in (default_subdir_path): remove. + (default_tfm_path): change to new syntax for subdirs. + +Wed Jan 15 13:00:59 1992 Karl Berry (karl at hayley) + + * configure.in: do not test for getwd. + +Sun Jan 12 12:13:59 1992 Karl Berry (karl at hayley) + + * Makefile.in (default_lib_path): remove `.', as it is added + automatically now. + + * Makefile.in (.NOEXPORT): new target. + +Sat Jan 11 09:53:56 1992 Karl Berry (karl at hayley) + + * Makefile.in (CFLAGS): remove -I$(srcdir), and use + -I../$(srcdir)/include. + +Fri Jan 10 15:36:17 1992 Karl Berry (karl at hayley) + + * Makefile.in (default_tfm_path): set to null. + +Wed Jan 8 15:41:13 1992 Karl Berry (karl at hayley) + + * config: we don't need this directory any more. + * configure: or this script. + * fontutils.in: the input to autoconf, so it can make the + configure script. + + * GNUmakefile (programs): remove ospace and gsrenderfont, add + charspace. + + * rename `lib' as `data', and `kbase' as `lib'. Merge `getopt' + into `lib'. + * GNUmakefile (libraries): change to match. + +Tue Dec 24 16:41:51 1991 Kathy Hargreaves (kathy at hayley) + + * GNUmakefile (DEFAULT_LIB_PATH): define using $(shell pwd), not + the nonexistent $(PWD). + +Tue Oct 1 10:07:34 1991 Karl Berry (karl at hayley) + + * all files: change copyright notices to not use dashes. + +Tue Jul 30 13:16:38 1991 Karl Berry (karl at ra.cs.umb.edu) + + * Version 0.3. + +Fri Jul 26 10:33:26 1991 Karl Berry (karl at hayley) + + * PROJECTS: new file. + + * GNUmakefile (programs): `fit-outlines' is now `limn'; include + `gsrenderfont'. + +Wed Jul 24 15:17:33 1991 Karl Berry (karl at ra.cs.umb.edu) + + * configure: exit 0 at the end. + +Mon Jul 22 06:08:10 1991 Karl Berry (karl at hayley) + + * GNUmakefile (programs): add imagetofont. + +Fri Jul 19 08:31:06 1991 Karl Berry (karl at hayley) + + * GNUmakefile: add many variables to be overridden. + + * config: rename to configure. + * configfiles: rename to config. + +Wed Jun 12 05:42:44 1991 Karl Berry (karl at hayley) + + * GNUmakefile (tags): rename to `TAGS'. + (distclean): new target. + +Thu Jun 6 07:11:45 1991 Karl Berry (karl at hayley) + + * COPYING: change to version 2 of the GPL. + +Sun Mar 24 16:17:03 1991 Karl Berry (karl at hayley) + + * GNUmakefile (dist): new dependencies `depend' and `TAGS'. + +Mon Mar 11 08:19:59 1991 Karl Berry (karl at hayley) + + * GNUmakefile (dist): put bzrto/KKBuildChar.PS in the + distribution. + +Sun Mar 10 16:26:14 1991 Karl Berry (karl at hayley) + + * GNUmakefile (DEFAULT_TFM_PATH): change the default to `.'. + +Fri Mar 8 08:42:49 1991 Karl Berry (karl at hayley) + + * GNUmakefile (install): pass bindir as an arg to make. + + * GNUmakefile (dist): make an empty directory `bin'. (from + rich@rice.edu) + + * GNUmakefile (include/s.h): run ./config, not config, for the + sake of people who might have a system config earlier in their + path. (from ian@sq.com) + +Thu Mar 7 07:30:59 1991 Karl Berry (karl at hayley) + + * Version 0.2. + +Wed Mar 6 10:05:28 1991 Kathy Hargreaves (kathy at hayley) + + * config: use `sunosNNN' instead of `sunNNN'. + +Mon Mar 4 15:14:41 1991 Karl Berry (karl at hayley) + + * GNUmakefile (programs): fontconcat is gone. + +Fri Mar 1 09:53:28 1991 Karl Berry (karl at hayley) + + * GNUmakefile (completedirs, topfiles): new variables to help in + `make dist'. + +Mon Feb 25 09:20:37 1991 Karl Berry (karl at hayley) + + * GNUmakefile (programs): include `bzrto'. + + * GNUmakefile (DEFAULT_LIB_PATH): include `pwd`/lib. + +Sun Feb 17 09:54:28 1991 Karl Berry (karl at hayley) + + * GNUmakefile (realclean): remove include/{s,paths}.h. + +Sat Feb 16 17:21:39 1991 Karl Berry (karl at hayley) + + * GNUmakefile (all): new dependencies, on include/paths.h + and include/s.h. + * GNUmakefile (include/paths.h): new target. + +Sat Nov 17 11:28:25 1990 Karl Berry (karl at hayley) + + * GNUmakefile (programs): add fit-outlines. + +Thu Nov 1 08:51:29 1990 Karl Berry (karl at hayley) + + * INSTALL: DEFAULT_TFM_PATH has moved from kbase/filename.c to + kbase/font.c. + +Wed Oct 24 14:57:57 1990 Karl Berry (karl at aten) + + * Version 0.1. + +Sun Oct 21 16:23:20 1990 Karl Berry (karl at hayley) + + * GNUmakefile (libraries): add gnuw. + +Sun Sep 30 08:43:44 1990 Karl Berry (karl at hayley) + + * GNUmakefile (programs): add fontconcat. + + +Copyright (C) 1990, 1991, 1992, 1993, 1994 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. + + +Local Variables: +mode: indented-text +left-margin: 8 +fill-column: 76 +version-control: never +End: diff --git a/fontconvert/ChangeLog.old b/fontconvert/ChangeLog.old new file mode 100644 index 0000000..ec8be64 --- /dev/null +++ b/fontconvert/ChangeLog.old @@ -0,0 +1,604 @@ +Sat Mar 30 07:17:23 1996 Kathy Hargreaves + + * output-epsf.c: don't assign NAME to OUTPUT_NAME, as NAME is + already it. Doc fix. + + * output-gf.c (gf_start_output): copy gf_name and write actual + filenames when prepending an `x' to the output filename. + +Fri Nov 24 07:03:53 1995 Kathy Hargreaves + + * main.c: call kpse_set_progname(argv[0]). + +Thu Nov 23 06:25:51 1995 Kathy Hargreaves + + * output-tfm.c: (tfm_start_output): call kpse_find_tfm instead of + find_tfm_filename. + + * main.c (tfm): Added warning about below to help. + + * output-tfm.c: (tfm_start_output): Added warning about outputting + to a file with the input PL filename except with an `x' prepended, + analogous to the one for the GF output filename. + +Mon Oct 16 06:11:45 1995 Kathy Hargreaves + + * output-tfm.c (tfm_start_output): no longer extend output_root to + have .pl for pl_name, as pltotf adds it (which may be a bug). + +Sat Aug 7 11:55:02 1993 Karl Berry (karl@cs.umb.edu) + + * *.h: types.h now in kpathsea. + +Thu Dec 3 15:40:46 1992 Karl Berry (karl@cs.umb.edu) + + * main.c: Don't bother to include getopt.h, cmdline.h already does. + +Tue Oct 27 13:01:55 1992 Karl Berry (karl@cs.umb.edu) + + * Version 0.6. + +Fri Oct 23 14:15:22 1992 Karl Berry (karl@cs.umb.edu) + + * main.c (main): Remove the -space option. + * output-gf.c (gf_finish_output): And remove the code that + implemented it. + (space_char): And this global. + * output-gf.h (space_char): And the decl. + +Tue Oct 20 11:54:55 1992 Karl Berry (karl@cs.umb.edu) + + * main.c (main): Change the reporting so the space or newline + comes before the character, not after. + + * main.c (main): Don't remove the suffix when making the output + filename, as we already did; pass the input name to + `gf_start_output', not the full bitmap filename. + +Mon Oct 5 10:12:03 1992 Karl Berry (karl@cs.umb.edu) + + * main.c (read_command_line): If -text is given, set `report_file' + to stderr. + +Sun Oct 4 14:03:53 1992 Karl Berry (karl@cs.umb.edu) + + * output-tfm.c (tfm_start_output): Report the TFM filename if we + are reading one. + + * main.c (main): Report the full pathname of the font, not just + what the user gave us. + + * main.c (main): Call `tfm_finish_output' before `gf_finish_output'. + +Tue Sep 22 16:30:25 1992 Karl Berry (karl@cs.umb.edu) + + * output-gf.c (gf_finish_output): output a newline after the space + char's code. + +Thu Sep 3 09:30:31 1992 Karl Berry (karl@hayley) + + * Version 0.5. + +Mon Aug 24 16:41:02 1992 Karl Berry (karl@hayley) + + * random.c (random_number): seed the random number with the + process ID. + +Sun Aug 23 13:37:00 1992 Karl Berry (karl@hayley) + + * main.c (USAGE): put a newline before concatenating GETOPT_USAGE. + +Fri Jul 3 19:12:36 1992 Karl Berry (karl@hayley) + + * main.c (encoding_name, encoding_info_ptr): delete these globals. + (most parsing routines): just use `encoding_info'. + + * main.c (read_command_line): use xparse_charspec for -space. + +Sat Jun 27 11:10:01 1992 Kathy Hargreaves (kathy@hayley) + + * main.c (charspec.h, encoding.h, libfile.h): included. + (encoding_name, encoding_info, encoding_info_ptr): added. + (main): added newline after font_name report. + (USAGE): added `encoding', updated `omit' + (read_command_line): added `encoding' option. + (scan_*): use ARG_SEP instead of a comma. Use xparse_charspec + instead of xparse_charcode. + +Sun Jun 14 08:45:21 1992 Karl Berry (karl@hayley) + + * output-tfm.c (tfm_output_char): compare elt of `baseline_adjust' + to 0, not NULL. + + * output-tfm.c (tfm_do_chars_defaults): update for new tfm routines. + +Mon Jun 8 15:24:49 1992 Karl Berry (karl@hayley) + + * output-tfm.c (tfm_do_chars_defaults): pass kern list to + tfm_set_kern instead of the whole TFM char. + +Fri Jun 5 09:19:27 1992 Karl Berry (karl@hayley) + + * filter.c (filter_once): look at all the pixels, and don't crash + when `filter_size' is bigger than the bitmap. + + * main.c (main): `return 0' instead of `exit (0)'. (From Paul Eggert) + +Sun May 31 08:04:27 1992 Karl Berry (karl@hayley) + + * main.c: rename `design-size' option to `designsize'. + + * main.c (read_command_line): have the arg to -space be optional, + and make the default 32. + * output-gf.c (gf_finish_output): report the charcode of the space + if we output it. + + * output-tfm.c (tfm_start_font): new routine. + (main_input_font_p): new static. + (tfm_output_char): don't look in TFM file for the main font if + we're on some subsequent (concatenated) font. + * output-tfm.h (tfm_start_font): declare it. + * main.c (main): call it as we start each font. + + * main.c (main): report the input font names as we process them. + + * main.c (USAGE): doc fix. + +Sat May 30 14:54:37 1992 Karl Berry (karl@hayley) + + * output-tfm.c (tfm_start_output): remove any suffix before adding + `pl'; prepend an `x' if we'd overwrite the input. + (output_tfm_name): new static. + +Fri May 29 11:45:05 1992 Karl Berry (karl@hayley) + + * main.c (main): change return type to `int'. + +Wed May 27 10:38:45 1992 Karl Berry (karl@hayley) + + * main.c (main): remove `output_basename', and redo the code for + deciding on the output name. + +Sun May 24 12:40:38 1992 Kathy Hargreaves (kathy@hayley) + + * main.c (fontname_list): doc change. + +Fri May 15 09:04:39 1992 Karl Berry (karl@hayley) + + * random.c (random_number): `srand' is now `seed_rand', `rand' + is `k_rand'. + +Mon May 4 09:31:34 1992 Karl Berry (karl@hayley) + + * output-tfm.c (tfm_do_chars_defaults, tfm_output_char, + tfm_finish_output): if we don't have an existing file, don't + read from it. + + * output-tfm.c (tfm_start_output): fix designsize algorithm. + + * main.c (report): remove; it's defined in report.c. + +Wed Apr 15 15:26:30 1992 Karl Berry (karl@hayley) + + * output-{gf,tfm}.c: `make_output_filename' is now `extend_filename'. + +Thu Apr 9 08:20:46 1992 Karl Berry (karl@hayley) + + * output-gf.c (gf_finish_output): convert the space width from + points to fixes. + +Wed Apr 8 15:16:17 1992 Karl Berry (karl@hayley) + + * output-gf.c (gf_finish_output): output a space character, if + desired. + (space_char): new global. + * gf-output.h (space_char): declare it. + * main.c (read_command_line): new option `-space' to set it. + (USAGE): document it. + +Fri Apr 3 13:30:02 1992 Karl Berry (karl@hayley) + + * random.c: include rand.h; remove conditional decls of RAND_MAX, + rand, srand. + +Sun Mar 29 19:10:18 1992 Karl Berry (karl at hayley) + + * main.c (read_command_line): remove empty else. + +Sat Mar 28 07:48:07 1992 Karl Berry (karl at hayley) + + * Version 0.4. + + * Change copyright years to 1992 only. + +Wed Mar 25 08:30:41 1992 Karl Berry (karl at hayley) + + * random.c [!STDC_HEADERS]: declare rand, srand. + [!RAND_MAX]: define RAND_MAX. + (random_number): use rand instead of drand48. + +Mon Mar 23 14:59:49 1992 Kathy Hargreaves (kathy at hayley) + + * output-tfm.c (tfm_start_output): only try to set design size to + user's if it's been set. + +Sun Mar 22 13:46:31 1992 Kathy Hargreaves (kathy at hayley) + + * output_gf.[hc] (gf_output_char): added DESIGN_SIZE_RATIO. + Multiply char's TFM width by this. + + * main.c [design_size_ratio]: added. + + * main.c (main): if unset, set design_size to the bitmap one *after* + calling tfm_set_design_size, and then check that it's in range. + + * output_tfm.c (tfm_start_output): added USER_DESIGN_SIZE. + Call with `design_size' for USER_DESIGN_SIZE and the bitmap's + design size for DEFAULT_DESIGN_SIZE. + After saving value in new variable `tfm_file_design_size', zero + out tfm_info's design size if got it from a TFM file. After + calling tfm_set_header, try setting design_size in following + order: to USER_DESIGN_SIZE, tfm_file_design_size, + DEFAULT_DESIGN_SIZE. + +Sat Mar 21 11:53:04 1992 Kathy Hargreaves (kathy at hayley) + + * output_tfm.c (tfm_start_output): set the fontsize if wasn't done + already as a TFM header option. + Move TFM_CHECK_DESIGNSIZE from main. + Set design size to the default only if it isn't set yet. + +Thu Mar 19 12:52:46 1992 Kathy Hargreaves (kathy at hayley) + + * output_tfm.c (tfm_output_char): OR (not AND) the conditions for + recalculating dimensions and italic corrections. + +Wed Mar 18 12:20:38 1992 Kathy Hargreaves (kathy at hayley) + + * output-tfm.c (tfm_do_chars_defaults): added. + + * output-tfm.c (tfm_output_char): only recalculate dimensions and + initialize the italic correction if we've altered the bitmap; + otherwise, use that of the original TFM character. + + * output-tfm.c (tfm_finish_output): moved tfm_close_input_file + from tfm_start_output to here. + +Tue Mar 17 16:01:09 1992 Kathy Hargreaves (kathy at hayley) + + * main.c [USAGE], (read_command_line): added design-size option. + (global): moved `design_size' from main. + + * main.c (do_char): filter bitmap if `filter_passes' > 0. + + * filter.[hc]: deleted `wants_filter'; default `filter_passes' to 0. + + * main.c [USAGE], (read_command_line): deleted -filter option. + + * output_tfm.c (tfm_start_ouput): fill in nonrequested TFM header + items and fontdimens with tfm_info from input_basename.tfm, if + it exists. If it does, zero out the checksum. + + +Mon Mar 16 12:28:15 1992 Kathy Hargreaves (kathy at hayley) + + * output_tfm.c (tfm_start_ouput): call tfm_set_header. + Set tfm_info's design size only if unset. + + * main.c [USAGE], (read_command_line): added -tfm-header option. + +Sun Mar 15 16:49:32 1992 Karl Berry (karl at hayley) + + * main.c: doc fix. + +Sat Mar 7 13:11:59 1992 Kathy Hargreaves (kathy at hayley) + + * main.c (main): fatal if wants_gf and want_tfm and the output + filename has a suffix. + +Sat Mar 7 09:52:57 1992 Karl Berry (karl at hayley) + + * GNUmakefile (libraries): define again. + (files, headers, sources): replace with `c_and_h', etc. + +Thu Mar 5 17:50:04 1992 Karl Berry (karl at claude.cs.umb.edu) + + * main.c (do_char): do the baseline adjustment after + randomization, to preserve the baselines when randomizing. + * random.c (randomize_bitmap): return the number of rows/columns + added at each side of the bitmap. + * random.h (randomize_bitmap): change declaration. + + * main.c (do_char): use puts instead of printf where possible. + +Wed Mar 4 15:31:23 1992 Kathy Hargreaves (kathy at hayley) + + * output_tfm.c (tfm_start_output): changed OUTPUT_BASENAME to + OUTPUT_NAME and call make_output_filename to make pl_name. + + * output_epst.c (epsf_start_output): changed global + `output_basename' to `output_name' and BASE_NAME to NAME. + Fatal if NAME has a suffix. + + * output-gf.c (gf_start_output): changed `font_basename' to + `output_name' and call make_output_filename to make gf_name. + +Wed Mar 4 11:18:22 1992 Karl Berry (karl at hayley) + + * GNUmakefile (libraries): remove. + +Mon Feb 10 16:09:25 1992 Karl Berry (karl at claude.cs.umb.edu) + + * random.c (random_threshold): new global to say how often to move a + pixel at all. + * random.h (random_threshold): declare it. + * main.c (read_command_line): new option `random-threshold. + + * output-tfm.c (tfm_start_output): check for a TFM file if the + user hasn't given us a fontdimen string. Take the input + filename to construct the TFM name. + * output-tfm.h (tfm_start_output): change declaration. + * main.c (main): change call. + +Mon Feb 10 10:04:00 1992 Karl Berry (karl at hayley) + + * main.c (do_split_char, do_char): free the bitmap here. + (main): not here. + + * random.c (randomize_bitmap): fix algorithm for pixels moved more + than one. + +Thu Feb 6 18:26:11 1992 Karl Berry (karl at claude.cs.umb.edu) + + * random.c (enlarge_bitmap): return the result, of changing an arg. + + * random.c: do not include global.h and ; they already are. + +Sat Feb 1 15:16:13 1992 Karl Berry (karl at hayley) + + * output-gf.c: include filename.h. + +Fri Jan 31 17:07:31 1992 Karl Berry (karl at hayley) + + * main.c (read_command_line): declare `option_index' (for new + getopt). + +Wed Jan 22 12:49:25 1992 Kathy Hargreaves (kathy at hayley) + + * output-gf.c (gf_start_output): use make_prefix instead of concat + when prepending an `x' onto a filename. + +Thu Jan 9 08:30:12 1992 Karl Berry (karl at hayley) + + * main.c (scan_column_split): rename `scan_integer_list' to + `scan_unsigned_list'. + + * *.c: do not include global.h. + + * *.h: remove #pragma once. + +Wed Jan 8 15:28:56 1992 Karl Berry (karl at hayley) + + * update copyright messages. + + * change `allocate to `xmalloc', `reallocate' to `xrealloc', and + `string_copy' to `strdup'. + +Mon Jan 6 16:49:26 1992 Karl Berry (karl at claude.cs.umb.edu) + + * main.c (USAGE): new option `randomize'. + (do_char): if set, call `randomize_bitmap'. + * random.[ch]: new files. + (random_max): new global. + +Thu Sep 12 10:24:14 1991 Karl Berry (karl at hayley) + + * main.c (read_command_line): new option, `-epsf'. + (main): initialize and finalize epsf output (if desired). + (do_char): output the characters in epsf (if desired). + * epsf-output.[ch]: new files. + * GNUmakefile (files): add `epsf-output'. + + * output-tfm.c (tfm_output_char): set the character code. + +Tue Jul 30 13:17:47 1991 Karl Berry (karl at ra.cs.umb.edu) + + * Version 0.3. + +Mon Jun 17 15:21:49 1991 Karl Berry (karl at hayley) + + * output-tfm.c (tfm_output_char): change calls to `PIXELS_TO_POINTS'. + +Thu Jun 6 07:26:13 1991 Karl Berry (karl at hayley) + + * All files: change to version 2 of the GPL. + +Sun Mar 24 16:22:44 1991 Karl Berry (karl at hayley) + + * main.c (read_command_line): don't concatenate with the old + fontdimens, just assign `fontdimens' from the argument. + * output-tfm.c (fontdimens): move definition of global here from + `main.c'. + * output-tfm.h (fontdimens): declare it. + +Sun Mar 10 10:21:52 1991 Karl Berry (karl at hayley) + + * output-tfm.c (tfm_start_output): call `tfm_init_global_info', + and don't bother setting the checksum and coding scheme. + +Sat Mar 9 16:17:39 1991 Karl Berry (karl at hayley) + + * GNUmakefile (files): add main, since we now have main.h. + * main.h: new file. + * main.c (read_command_line): new option `-fontdimens'. + * output-tfm.c (tfm_start_output): set the font parameters + according to -fontdimens. + +Thu Mar 7 07:32:21 1991 Karl Berry (karl at hayley) + + * Version 0.2. + +Tue Mar 5 15:19:04 1991 Karl Berry (karl at hayley) + + * main.c (scan_baseline_adjust): new routine. + (baseline_adjust): new global variable. + (read_command_line): new option `-baseline-adjust'. + (do_char): adjust the baselines of each character before we + process it. + +Mon Mar 4 14:42:30 1991 Karl Berry (karl at hayley) + + * main.c (do_char): don't do a character if we've already done it. + + * main.c (fontname_list): new global variable to hold all the + fonts we deal with. + (read_command_line): new option `-concat-lists'. + +Tue Feb 26 06:45:57 1991 Karl Berry (karl at hayley) + + * output-tfm.c (tfm_finish_output): call `tfm_convert_pl' with the + argument `verbose'. + +Mon Feb 25 13:30:57 1991 Karl Berry (karl at hayley) + + * output-gf.c: use `gf_...' instead of `..._gf_...'. + + * output-tfm.c: use `tfm_...' instead of `..._tfm_...'. + + * output-gf.c: include file-misc.h. + +Sun Feb 17 09:30:23 1991 Karl Berry (karl at hayley) + + * *.c: include config.h. + +Sun Jan 13 16:49:03 1991 Karl Berry (karl at hayley) + + * main.c (read_command_line): set `explicit_dpi' via the option + table. + +Mon Jan 7 15:09:15 1991 Karl Berry (karl at hayley) + + * main.c: include file-misc.h. + +Sun Nov 4 09:23:28 1990 Karl Berry (karl at hayley) + + * filter.c (read_command_line): use atou to do -filter-size. + + * These changes suggested by rich@rice.edu: + * filter.h (filter_passes): declare it. + * filter.c (filter_passes): new variable. + (filter_bitmap): loop through the number of passes. + (filter_once): new routine. + * main.c (read_command_line): new option, `filter-passes'. + * README: warn that filtering rounds off corners. + +Wed Oct 24 14:58:15 1990 Karl Berry (karl at aten) + + * Version 0.1. + +Sun Oct 14 07:05:51 1990 Karl Berry (karl at hayley) + + * filter.c (filter_bitmap): don't invert the pixel, set it to the + right intensity. + +Tue Oct 9 09:43:03 1990 Karl Berry (karl at hayley) + + * main.c (read_command_line): new option, -output-file. + (output_name): new global. + (main): use it, if it's set. + + * main.c (do_split_char, do_char, scan_column_split): new + routines. + (read_command_line): new argument, -column-split. + (main): split each character at given columns, if requested. + +Mon Oct 8 05:55:50 1990 Karl Berry (karl at hayley) + + * main.c: include cmdline.h. + + * main.c (main): filter the character, if desired. + (read_command_line): new options -filter, -filter-size, + -filter-threshold. + * filter.h, filter.c: new files. + * GNUmakefile (files): add filter. + (This stuff contributed by rich@rice.edu.) + +Tue Oct 2 17:25:22 1990 Karl Berry (karl at hayley) + + * output-gf.c (gf_start_output): assign to gf_name after the + warning, not before. + +Sat Sep 29 07:10:11 1990 Karl Berry (karl at hayley) + + * output-gf.c (gf_start_output): announce it to the user when we + change the output filename. + + * main.c (main): use atou (dpi), not atoi. + +Fri Sep 28 13:47:34 1990 Karl Berry (karl at hayley) + + * main.c (read_command_line): new argument, `omit'. + (scan_remap_list): don't make a target character code of -1 mean + omit the original. + (scan_omit_list): new routine. + +Fri Sep 21 11:32:45 1990 Karl Berry (karl at hayley) + + * main.c (read_command_line): return NULL at the end. + +Fri Sep 14 12:01:26 1990 Karl Berry (karl at hayley) + + * main.c: include "getopt.h", not . + +Thu Sep 13 10:58:45 1990 Karl Berry (karl at hayley) + + * main.c (main): report omitted characters. + +Tue Sep 11 07:02:50 1990 Karl Berry (karl at hayley) + + * main.c (scan_remap_list): set `omit' if a target ``character + code'' is -1. Also, parse the character codes correctly. + (omit): new global variable. + (main): if `omit' is true, skip the character. + +Sat Sep 8 10:58:03 1990 Karl Berry (karl at hayley) + + * main.c (scan_remap_list): use PARSE_CHAR_CODE. + + * main.c (read_command_line): use GET_RANGE. + +Thu Sep 6 06:42:24 1990 Karl Berry (karl at hayley) + + * main.c (scan_remap_list): new routine. + (read_command_line): new option, -remap. + (translate): new global to remap character codes. + (main): map each character as we read it. + +Wed Sep 5 06:22:18 1990 Karl Berry (karl at hayley) + + * output-gf.c (gf_start_output): don't overwrite the input file. + * main.c (main): pass the filename of the input font. + + * main.c (main): output a GF file if asked. + (read_command_line): new option, -gf. + * output-gf.[ch]: new files. + * GNUmakefile (files): add them. + + * main.c (main): free the bitmap for each character. */ + + * main.c (main): output a TFM file if asked. + (read_command_line): new option, -tfm. + * output-tfm.[ch]: new files. + * GNUmakefile (files): add them. + +Sat Sep 1 09:27:14 1990 Karl Berry (karl at hayley) + + * main.c (main): output a newline at the end of the program if + warranted. + + * main.c (main): use `get_bitmap_font' instead of `get_font'. + +Sat Aug 25 13:52:43 1990 Karl Berry (karl at hayley) + + * main.c (main): print a newline before each character output as + text. diff --git a/gf/ChangeLog.old b/gf/ChangeLog.old new file mode 100644 index 0000000..b7178de --- /dev/null +++ b/gf/ChangeLog.old @@ -0,0 +1,308 @@ +Sun Feb 20 17:08:21 1994 Kathy Hargreaves (karl@cs.umb.edu) + + * gf_output.c: changed doc. + +Tue Oct 27 12:56:09 1992 Karl Berry (karl@cs.umb.edu) + + * Version 0.6. + +Mon Sep 21 13:20:29 1992 Karl Berry (karl@cs.umb.edu) + + * gf_output.c (start_put_char): don't claim we are part of the + nonexistent put_gf_char in the warning. + +Thu Sep 3 09:30:43 1992 Karl Berry (karl@hayley) + + * Version 0.5. + +Sat Jun 6 10:03:52 1992 Karl Berry (karl@hayley) + + * gf_input.c (gf_get_postamble): if the input file is empty, give + a decent error message. + +Mon May 4 09:28:57 1992 Karl Berry (karl@hayley) + + * gf_output.c (start_put_char): use `put_gf_char' in the warning. + +Sat Apr 4 13:53:55 1992 Karl Berry (karl@hayley) + + * gf_output.c (gf_put_char): remove unneeded local `charcode'. + +Sat Mar 28 07:48:16 1992 Karl Berry (karl at hayley) + + * Version 0.4. + + * Change copyright years to 1992 only. + +Sat Mar 7 13:18:42 1992 Karl Berry (karl at fosse) + + * gf_input.c (gf_get_three): complete prototype. + * gf_output.c (init_locators, put_locators): likewise. + +Sat Mar 7 09:12:14 1992 Karl Berry (karl at hayley) + + * GNUmakefile (files, headers, sources): replace with `c_and_h', etc. + + * gf_input.c (get_character_bitmap): use puts instead of printf + where possible. + +Thu Jan 9 08:30:06 1992 Karl Berry (karl at hayley) + + * *.c: do not include global.h. + + * *.h: remove #pragma once. + +Wed Jan 8 15:28:34 1992 Karl Berry (karl at hayley) + + * update copyright messages. + + * change `allocate to `xmalloc', `reallocate' to `xrealloc', and + `string_copy' to `strdup'. + +Wed Jan 1 16:45:14 1992 Kathy Hargreaves (kathy at hayley) + + * gf_output.c (gf_put_preamble): Just truncate comment if it's too + long, instead of fataling. + +Tue Oct 1 07:52:47 1991 Karl Berry (karl at hayley) + + * gf_input.c (deblank): remove blank rows at the top and bottom. + +Tue Jul 30 13:18:02 1991 Karl Berry (karl at ra.cs.umb.edu) + + * Version 0.3. + +Sat Jun 15 09:50:04 1991 Karl Berry (karl at hayley) + + * all files: change `checked_' to `x'. + +Thu Jun 6 07:28:10 1991 Karl Berry (karl at hayley) + + * all files: change to version 2 of the GPL. + +Tue Apr 23 13:39:09 1991 Karl Berry (karl at ra.cs.umb.edu) + + * gf_input.c (get_paint): remove assertion that we're at a valid + location. + +Thu Mar 7 07:32:38 1991 Karl Berry (karl at hayley) + + * Version 0.2. + +Mon Feb 25 16:15:06 1991 Karl Berry (karl at hayley) + + * gf_output.c (put_boc): declare static + + * gf_{input,output}.c: change names to `gf_...' from `..._gf_...'. + + * GNUmakefile (sources): remove `gf_common.c'. + * gf_input.c (gf_get_postamble): initialize the postamble inline. + +Sun Feb 17 09:31:14 1991 Karl Berry (karl at hayley) + + * *.c: include config.h. + +Sun Jan 13 09:37:11 1991 Karl Berry (karl at hayley) + + * gf_input.c (get_raw_gf_char, append_byte, append_n_bytes): use + `raw_char_type' instead of `raw_gf_char_type', and RAW_... + macros instead of GF_RAW... + * gf_output.c (put_raw_gf_char): likewise. + + * gf_input.c (get_raw_gf_char): loop until eoc reading the + character, instead of while (0). + + * gf_input.c (ENSURE_AVAILABLE): loop as long as we need more + space, instead of testing once. + + * gf_input.c (get_raw_gf_char): allocate the space for the new + character before storing into it. + +Sat Jan 12 14:56:18 1991 Karl Berry (karl at hayley) + + * gf_input.c (get_raw_gf_char, append_byte, append_n_bytes, + new_gf_raw_char): new routines to handle reading raw characters. + * gf_output.c (start_put_char, put_raw_gf_char): more new + routines. + +Sat Nov 17 12:46:52 1990 Karl Berry (karl at hayley) + + * gf_input.c, gf_output.c: include appropriate file-...h files. + +Wed Oct 17 18:06:17 1990 Karl Berry (karl at aten) + + * gf_input.c (deblank): when the bitmap is all zero, ensure that + all its dimensions are also zero. + +Fri Oct 5 07:03:35 1990 Karl Berry (karl at hayley) + + * gf_input.c (close_gf_input_file): null the elements of + `char_list'. + (get_given_gf_char): make `char_list' global to the file. + +Wed Aug 29 14:13:08 1990 Karl Berry (karl at hayley) + + * gf_input.c (gf_get_byte, ...): pass gf_input_filename, and + rewrite as macros. + * gf_output.c (gf_put_byte, ...): likewise. + +Tue Jul 24 13:19:40 1990 Karl Berry (karl at hayley) + + * gf_output.c (put_gf_postamble): the pointer after the POST byte + is still wrong. + +Thu Jul 5 06:30:56 1990 Karl Berry (karl at hayley) + + * gf_output.c (put_gf_postamble): output the right pointer after + the POST byte. + +Wed Jul 4 09:00:19 1990 Karl Berry (karl at hayley) + + * gf_input.c (get_full_boc): allow the character with code + MAX_CHAR_CODE. + +Wed Jun 20 07:24:23 1990 Karl Berry (karl at hayley) + + * gf_output.c (put_gf_preamble): just output the characters of the + comment here, instead of calling gf_put_string. Also, don't give + a fatal message if the comment is too long. + (gf_put_string): delete this. + + * gf_input.c (gf_cur_pos): use checked_ftell; rename to gf_ftell, + and change callers. + (gf_set_pos): rename to gf_fseek. + * gf_output.c (gf_cur_pos): likewise. + +Tue Jun 19 10:56:10 1990 Karl Berry (karl at hayley) + + * gf_input.c (open_gf_input_file): complain if the input file + already exists and the caller tries to open a second. + +Sun Jun 3 11:06:31 1990 Karl Berry (karl at hayley) + + * gf_input.c (get_character_bitmap): ignore NO_OPs before the EOC + of a blank character. + +Fri Jun 1 15:14:29 1990 Karl Berry (karl at hayley) + + * gf_output.c (close_gf_output_file): use checked_fclose. + + * gf_output.c (open_gf_output_file): make sure the output file + hasn't already been opened. + +Wed May 30 15:36:46 1990 Karl Berry (karl at hayley) + + * gf_input.c (get_full_boc): make sure the character code is in + range. + +Thu May 3 09:29:17 1990 Karl Berry (karl at hayley) + + * gf_common.c (new_gf_char): delete this. + * gf_input.c (get_gf_char): don't call it. + +Sat Apr 21 09:43:34 1990 Karl Berry (karl at hayley) + + * gf_input.c (gf_get_string): add a trailing null to the end of + the returned string. + +Thu Apr 19 16:10:21 1990 Karl Berry (karl at hayley) + + * gf_common.c (new_gf_postamble): forgot to initialize character + #255 in a new postamble. + + * gf_input.c (get_postamble): don't ignore the checksum. + +Mon Apr 16 07:21:42 1990 Karl Berry (karl at hayley) + + * gf_opcodes.h: add #pragma once. + +Sat Apr 14 17:04:40 1990 Karl Berry (karl at hayley) + + * gf_input.c (get_character_bitmap): call get_specials when we see + a special opcode, so that we skip over the arguments. + +Mon Apr 9 07:11:48 1990 Karl Berry (karl at hayley) + + * gf_common.c (new_gf_postamble): remove references to the + specials; upcase `max_char_code' and `null_byte_ptr'. + (new_gf_char): new name for `new_generic_char'; remove references + to the specials. + gf_input.c (thoughout): use macros to look at the postamble and + character structures; upcase `fatal' and other global macros. + gf_output.c: likewise. + GNUmakefile: remove references to gf_util.c and generic.h. + +Tue Apr 3 17:32:24 1990 Karl Berry (karl at hayley) + + * gf_input.c (deblank): forgot to initialize width and height. + +Thu Mar 1 11:19:06 1990 Karl Berry (karl at hayley) + + * gf_output.c (put_gf_char): don't fail when a character is output + more than once; just give a warning (and only outpt the first one). + + * gf_input.c (deblank): don't fail if the character is all white + (in which case white_on_right=white_on_left, and we don't want to + subtract them both from the width). + + * gf_input.c (get_character_bitmap): and fix the same off-by-one + bug fixed on Feb 23, this time for the height. Will I ever get + this right? + [no, rescind that. The height IS inclusive, and the width is NOT + inclusive.] + + * gf_input.c (get_character_bitmap): if the character is zero + wide, read the EOC following. + + * gf_input.c (get_character_bitmap): don't assert that the + max_row >= min_row (or col), because if the character is zero + high (or wide), it won't be. + (deblank): make this_col be int, not unsigned, since we subtract + one from it. + +Tue Feb 27 20:58:52 1990 Kathy Hargreaves (kathy at hayley) + + * gf_input.c (gf_get_string): if the length is zero, don't try to + read anything from the file. + +Fri Feb 23 13:28:07 1990 Karl Berry (karl at hayley) + + * gf_input.c (get_character_bitmap): fix off-by-one in deciding how + wide the bitmap should be. + +Sat Feb 3 10:28:28 1990 Karl Berry (karl at hayley) + + * Makefile: rename to GNUmakefile. + +Wed Jan 24 17:49:01 1990 Karl Berry (karl at hayley) + + * gf_util.c (ascender_part): new routine. + +Mon Oct 30 18:41:42 1989 Karl Berry (karl at hayley) + + * all files: add the copyleft. + +Sun Oct 29 07:33:50 1989 Karl Berry (karl at hayley) + + * gf_output.c (put_boc): have to test the maximums of the bounding + box for sign, as well as the deltas. + +Sat Oct 28 15:20:26 1989 Karl Berry (karl at hayley) + + * gf_output.c (put_skip): correct misinterpretation of the SKIP0 + opcode. + + * gf_output.c (put_paint, put_skip, put_new_row): define these. + + * gf_output.c (font_bb): initialize using MAXINT, from . + +Tue Oct 17 21:36:31 1989 Karl Berry (karl at hayley) + + * gf_input.c (get_locators): CHAR_LOC commands take a one-byte + character residue, like CHAR_LOC0 commands, not four-byte + character codes. + +Fri Oct 6 19:18:58 1989 Karl Berry (karl at hayley) + + * gf_util.c (print_gf_char): pass in a file parameter, instead of + always writing to stdout. diff --git a/imageto/ChangeLog.old b/imageto/ChangeLog.old new file mode 100644 index 0000000..7870509 --- /dev/null +++ b/imageto/ChangeLog.old @@ -0,0 +1,1113 @@ +Mon Apr 8 09:25:30 1996 Kathy Hargreaves + + * out-chars.c: doc fix. + +Sat Dec 9 07:21:29 1995 Kathy Hargreaves + + * out-chars.c: (do_image_line): doc fix. + +Wed Dec 6 08:28:15 1995 Kathy Hargreaves + + * out-chars.c: (output_chars): doc fix. + +Tue Dec 5 09:40:23 1995 Kathy Hargreaves + + * out-chars.c: doc fix. + +Mon Dec 4 07:40:24 1995 Kathy Hargreaves + + * main.c (USAGE): doc fix. + + * out-chars.c: doc fix. Changed image_bitmap to image_line_bitmap. + (do_image_line): Changed original_box_count to previous_box_count. + +Sun Dec 3 09:05:05 1995 Kathy Hargreaves + + * out-chars.c: (do_image_line): doc fix. + +Thu Nov 30 09:03:47 1995 Kathy Hargreaves + + * out-chars.c: (output_chars): doc fix. + +Tue Nov 28 09:47:19 1995 Kathy Hargreaves + + * out-chars.c: (output_chars): reconsider the current bounding box + if the current character is ignored. + +Thu Nov 23 08:36:07 1995 Kathy Hargreaves + + * out-chars.c: (bitmap_to_gf_char): call kpse_find_tfm instead of + find_tfm_filename. + +Thu Nov 16 09:01:31 1995 Kathy Hargreaves + + * out-chars.c: (bitmap_to_gf_char): Remove output_name's suffix + before calling find_tfm_filename with it. + + * main.c: (OUTPUT_NAME): Made on-static so could do below. + + * main.h: Added output_name extern declaration. + + * out-chars.c: (bitmap_to_gf_char): Call kpse_find_tfm with + find_tfm_filename(output_name) instead of something built with + input_name, so that will have the design size in the name. + +Tue Nov 14 07:28:21 1995 Kathy Hargreaves + + * ifi.c: (read_ifi_file): increment n after setting the charcode, + not before, so first character will have charcode 0. + +Sat Oct 14 14:54:27 1995 Kathy Hargreaves + + * out-chars.c: (bitmap_to_gf_char): Also have to call + remove_suffix on input name passed to kpse_find_tfm. + +Thu Oct 12 10:44:23 1995 Karl Berry + + * out-chars.c (bitmap_to_gf_char): Have to call basename on the + input name passed to kpse_find_tfm. + +Sun Aug 13 18:01:11 1995 Karl Berry + + * main.c: Call kpse_set_progname. + +Sun May 15 11:32:54 1994 Karl Berry (karl@cs.umb.edu) + + * out-chars.c (output_chars): Change `x' to `'. + +Fri May 13 15:27:29 1994 Karl Berry (karl@cs.umb.edu) + + * out-chars.c (bitmap_to_gf_char): Call kpse_find_tfm, now that it + exists. + +Sun Aug 22 13:32:49 1993 Karl Berry (karl@cs.umb.edu) + + * out-epsf.c (PIXELS_TO_BP): No longer needed. + +Sat Aug 7 13:44:10 1993 Karl Berry (karl@cs.umb.edu) + + * input-img.c (img_get_header): Allow grayscale images. + + * *.h: types.h now in kpathsea. + +Tue Jul 27 09:04:12 1993 Karl Berry (karl@cs.umb.edu) + + * GNUmakefile (libraries): Add tfm. + +Sun Jul 25 19:20:04 1993 Karl Berry (karl@cs.umb.edu) + + * out-chars.c (bitmap_to_gf_char): Get TFM width from existing TFM + file, if we can find one. Convert for use with kpathsea. + +Thu May 20 17:11:25 1993 Karl Berry (karl@cs.umb.edu) + + * ifi.c: Doc fix. + +Mon Nov 9 09:46:32 1992 Karl Berry (karl@cs.umb.edu) + + * image-header.h: Doc fix. + +Tue Oct 27 13:02:04 1992 Karl Berry (karl@cs.umb.edu) + + * Version 0.6. + +Sat Oct 24 05:13:02 1992 Karl Berry (karl@cs.umb.edu) + + * ifi.c (read_ifi_file): Just do successive character codes if we + don't have an encoding file. + * main.c (USAGE): Change doc. + +Fri Oct 23 10:43:46 1992 Karl Berry (karl@cs.umb.edu) + + * out-chars.c (output_chars): Free the bounding box list we construct. + + * out-chars.c (output_chars): If the IFI struct says no bounding + boxes, don't read any of the bitmap, and reconsider the current bb. + +Tue Oct 20 17:17:26 1992 Karl Berry (karl@cs.umb.edu) + + * GNUmakefile (install): Make the second arg a file, not a directory. + +Fri Oct 16 15:40:53 1992 Karl Berry (karl@cs.umb.edu) + + * out-epsf.c: Doc fix. + +Mon Oct 5 09:31:30 1992 Karl Berry (karl@cs.umb.edu) + + * main.c (read_command_line): Make -print-clean-info imply -verbose. + (main): Remove now-redundant test for `print_clean_info'. + + * out-chars.c (write_image_chars): Only report "+" if we have to + keep reading vertically, not horizontally. + (do_image_line): Remove the report from here. + +Sun Oct 4 08:59:55 1992 Karl Berry (karl@cs.umb.edu) + + * out-chars.c (write_image_chars): Don't keep adding to + `row_height' for appended image rows, just assign. + + * main.c (main): Test for zero resolution here. + (set_input_format): Not here. + + * out-chars.c (clean_threshold): Remove. + * out-chars.h: Likewise. + * main.c (USAGE, read_command_line): And here. + + * out-chars.c (bb_equal_p): New fn. + + * out-chars.c (offset_bb_list): Function moved here from bb-outline.c. + + * out-chars.c (clean_bitmap): Rewrite to take a list of known + boxes, and remove those that aren't in the list. + (output_chars): Only call `clean_bitmap' once, after we've + combined everything. + (image_to_bitmap_bbs): New fn. + +Sat Oct 3 13:54:39 1992 Karl Berry (karl@cs.umb.edu) + + * out-chars.c (write_image_chars): Don't abort if the image ends + prematurely, just give a warning and return. + + * out-chars.c (OUTPUT_CHAR_P): New macro. + (output_chars): Use it, instead of repeating the same expr several + times. + +Fri Oct 2 16:14:03 1992 Karl Berry (karl@cs.umb.edu) + + * out-chars.[ch]: New files constructed from main.[ch]. + * main.c: Include out-chars.h. + + * extract.c (REPORT_SCANLINE): use REPORT. + + * main.c (-info-filename): remove this option. + + * {epsf,strips}.[ch]: Rename to out-*. + * GNUmakefile (c_and_h): Likewise. + + * ifi.[ch]: New files constructed from image-char.[ch] and main.c. + * main.c: include ifi.h. + (extract_chars): Change call to read_ifi_file. + * GNUmakefile (c_and_h): add `ifi', remove `image-char'. + +Mon Sep 28 11:11:59 1992 Karl Berry (karl@cs.umb.edu) + + * main.c: change `fprintf (stderr's to use REPORT*. + + * main.c (clean_bitmap): print the size of the bounding box being + cleaned, not that of the enclosing character. (halvers@sol.crd.ge.com) + +Tue Sep 22 13:01:54 1992 Karl Berry (karl@cs.umb.edu) + + * main.c (read_ifi_file): call make_suffix to make the default IFI + filename, instead of appending to the root. + (input_rootname): remove. + (main): don't assign to input_rootname; just set output_name to + the fn call. + (input_name): new static. + + * main.c (clean_bitmap): if clean_threshold is 1.0, do nothing; + else only clean if the gray value is > threshold, not >=. + + * main.c: make diagnostic messages consistent. + + * main.c (do_image_line): set `bb_offset' to just the width + of the previous bb, since we're already incorporating the + interbb whitespace in the second bb. + +Mon Sep 21 10:32:07 1992 Karl Berry (karl@cs.umb.edu) + + * main.c (read_command_line): new option -ifi-file, a synonym for + -info-file. + (USAGE): document it. + + * main.c (set_input_format): don't call strcmp on NULL if the + input filename lacks an extension. + +Thu Sep 3 09:30:54 1992 Karl Berry (karl@hayley) + + * Version 0.5. + +Sat Aug 29 16:14:35 1992 Karl Berry (karl@hayley) + + * GNUmakefile (dist, install): new targets to deal with strips.tex. + +Fri Aug 21 16:14:10 1992 Karl Berry (karl@hayley) + + * main.c (read_ifi_file): improve warning message. + +Mon Jul 13 16:58:44 1992 Karl Berry (karl@hayley) + + * epsf.c (write_epsf): use `width_used' for the width of image buffer. + +Thu Jul 2 14:06:09 1992 Kathy Hargreaves (kathy@hayley) + + * main.c (BB_TO_CARTESIAN): subtract IMAGE_CHAR_BASELINE_ADJUST(.) + instead of adding it. + + * main.c (bitmap_to_gf_char): removed `char_baseline'. + +Sun Jun 28 11:54:23 1992 Kathy Hargreaves (kathy@hayley) + + * main.c (bitmap_to_gf_char): added cartesian_bb; fill it using + BB_TO_CARTESIAN and assign to the GF char. Print out the GF + char's rows for baseline adjustment. + +Fri Jun 26 13:45:20 1992 Kathy Hargreaves (kathy@hayley) + + * main.c (read_ifi_file): changed warning to include encoding name. + +Mon Jun 15 07:37:29 1992 Karl Berry (karl@hayley) + + * extract.c (get_image_row): allocate more than one row at a time. + + * extract.c (get_image_row): don't realloc if we're keeping + leading white rows. + + * main.c (extract_chars): change `nchars_per_line' to one if + `print_guidelines' is true. + + * main.c (read_ifi_file): if the character name is undefined in + the encoding, omit it from the output. + + * main.c (get_image_info): rename to `read_ifi_file'. + + * main.c (get_image_info): make `.notdef' mean omission, instead + of `-1'. + + * image-char.h (image_char_type): new field `charname'. + (IMAGE_CHARNAME): new accessor macro. + * main.c (bitmap_to_gf_char): print the character name, instead of + relying on %c. + (get_image_info): set it. + + * main.h (print_scanline): new routine. + * main.c (print_scanline): define it. + * input-img.c (img_get_scanline): print the scanlines if + `trace_scanlines' is set. + * input-pbm.c (pbm_get_scanline): call it, instead of doing the + printing inline. + +Sat Jun 13 12:04:00 1992 Kathy Hargreaves (kathy@hayley) + + * main.c (get_image_info): renamed charcode_str to charname_str. + Removed comment-handling stuff. + + * main.c (encoding_name, encoding_info): added. + (get_image_info): added `encoding_info'; call `encoding_number' + on `charcode_str' instead of `xparse_charcode'. + (USAGE, read_command_line): added -encoding option. + +Tue Jun 9 13:45:42 1992 Kathy Hargreaves (kathy@hayley) + + * main.c (output_chars): deleted clean_all_bbs. + (clean_bitmap): deleted CLEAN_ALL_BBS; call find_outline_bbs + with false instead of this. Updated doc. Now only check + bounding boxes which don't enclose the whole character, instead + of those which also are on the edge, unless clean_all_bbs is + true, whereupon check those also. + (get_image_info): don't handle CLEAN_ALL_BBS_FLAG anymore. + + * image-char.h (image_char_type): deleted clean_inner_bbs field. + (IMAGE_CHAR_CLEAN_ALL_BBS, CLEAN_ALL_BBS_FLAG): deleted + +Mon Jun 8 12:33:45 1992 Kathy Hargreaves (kathy@hayley) + + * input-pbm.c (pbm_get_scanline): increment scanline_count after + printing it. + + * main.c (BB_TO_CARTESIAN): added. + (bitmap_to_gf_char): when print-guidelines is true, print the + bounding box's max and min (in that order) row in Cartesian + coordinates, not the GF char's min and max row. + +Fri Jun 5 21:18:12 1992 Kathy Hargreaves (kathy@hayley) + + * main.c (output_chars): don't clean bounding boxes unless + outputting the character. + + * main.c (get_image_info): set clean_all_bbs field of `c' false if + there's not a CLEAN_ALL_BBS_FLAG at the end of the character string. + +Fri Jun 5 09:19:48 1992 Karl Berry (karl@hayley) + + * main.c (main): `return 0' instead of `exit (0)'. (From Paul Eggert) + +Tue Jun 2 18:03:52 1992 Kathy Hargreaves (kathy@hayley) + + * main.c (output_chars): call clean_bitmap with 0's for LEFT_MARK + and RIGHT_MARK if clean_all_bbs is true. + +Mon Jun 1 11:19:46 1992 Kathy Hargreaves (kathy@hayley) + + * main.c (output_chars): added clean_all_bbs to send to clean_bitmap. + + * main.c (clean_bitmap): clean only those boxes which are on the + edges only if CLEAN_ALL_BBS is false; otherwise, clean them all. + + * main.c (get_image_info): if there's a CLEAN_ALL_BBS_FLAG appended + to the character code, then set the clean_all_bbs field of c. + + * image-char.h (image_char_type): added clean_all_bbs field. + +Sun May 31 13:10:48 1992 Karl Berry (karl@hayley) + + * main.c: rename `design-size' option to `designsize'. + + * epsf.c (write_epsf): change the EPS output to not write one + gigantic image. + +Sat May 30 11:58:02 1992 Kathy Hargreaves (kathy@hayley) + + * main.c (USAGE -clean-threshold): doc fix. + +Fri May 29 11:34:52 1992 Karl Berry (karl@hayley) + + * main.c (main): declare to return an int. + +Tue May 26 07:56:34 1992 Karl Berry (karl@hayley) + + * main.c: simplify comments on IFI file format, since now the real + documentation describes it. + +Mon May 25 11:45:49 1992 Karl Berry (karl@hayley) + + * main.c (clean_bitmap): wasn't printing clean info for bbs that + weren't cleared. + + * main.c (read_command_line): make -print-guidelines => -verbose. + (USAGE): document this. + (main): don't bother to test `print_guidelines' anymore when we + doing verbose things. + + * main.c (main): use `output_name', not `gf_name' (which we no + longer need). + + * main.c (set_{pbm,img}_input_format): set `input_extension' to + just `pbm' or `img', omitting the leading `.'. + +Sun May 24 18:03:09 1992 Karl Berry (karl@hayley) + + * main.c (read_command_line): in -input-format, complain if they + give an unrecognized input format. + (main): call set_input_format. + (set_input_format): new routine to intuit the input format from + the input filename if they didn't specify. + (set_{pbm,img}_input_format): new routines. + +Thu May 21 10:59:23 1992 Karl Berry (karl@hayley) + + * GNUmakefile, version.c, main.c: change `imagetofont' to `imageto'. + + * strips.c (write_chars_as_strips): don't bother to initialize + `gf_row'. + +Wed May 20 07:34:38 1992 Karl Berry (karl@hayley) + + * strips.h: include image-header.h, not input-img.h. + + * main.c (extract_chars): new fn (to shorten main). + (main): call it. + + * main.c (do_epsf): new global. + (read_command_line): new option `-epsf'. + (main): call `write_epsf' if set. + * GNUmakefile (c_and_h): add epsf. + * epsf.[ch]: new files. + +Mon May 4 09:27:55 1992 Karl Berry (karl@hayley) + + * main.c (main): don't lose the `gf' from the output name. + + * strips.c (write_chars_as_strips): add one to `lines_per_char' to + compensate for roundoff error. + + * main.c (verbose): remove this, as it's defined in report.c. + +Sun May 3 19:31:29 1992 Karl Berry (karl@hayley) + + * strips.c (write_chars_as_strips): use REPORT for the progress + report. + +Tue Apr 21 07:44:36 1992 Karl Berry (karl@hayley) + + * extract.c (append_next_image_row): use XTALLOC1. + +Mon Apr 20 12:53:43 1992 Karl Berry (karl@hayley) + + * main.c (main): simplify logic again for figuring out the output + filename; remove any suffix from the input filename before it is + used to make the IFI or output filename. + (get_image_info): the variable is named `input_rootname' now, not + `input_basename'. + +Wed Apr 15 15:26:53 1992 Karl Berry (karl@hayley) + + * main.c (main): `make_output_filename' is now `extend_filename'. + +Wed Apr 8 12:28:59 1992 Karl Berry (karl@hayley) + + * main.c (do_image_line): don't increment the max_col transition + in the horizontally concatenated block, either. + + * main.c: make most of the globals static. + * main.h: remove declarations for unneeded globals. + + * main.c (debug): add this. + +Mon Apr 6 16:43:39 1992 Karl Berry (karl@hayley) + + * extract.c (get_image_row): count white rows in image size; free + the scanline storage after we've copied it. + +Sun Apr 5 11:46:33 1992 Karl Berry (karl@hayley) + + * main.c (do_image_line): don't increment the transition which we + use for the maximum column. + +Sat Apr 4 12:57:15 1992 Karl Berry (karl@hayley) + + * main.c (do_image_line): move test for enough boxes to above + dealing with the current bitmap, so garbage at the end doesn't + mess us up. (from wales@cs.ucla.edu) + +Wed Apr 1 16:17:18 1992 Karl Berry (karl at hayley) + + * main.c (main): simplify the output name creation code. + + * main.c (font_name_extension): rename to `input_extension', and + don't bother to initialize it. + +Sat Mar 28 07:48:43 1992 Karl Berry (karl at hayley) + + * Version 0.4. + + * Change copyright years to 1992 only. + +Mon Mar 9 16:46:10 1992 Kathy Hargreaves (kathy at hayley) + + * main.c (main): move setting of dpi to above (and out of) + do_strips test. + + * main.c (main): set output_name_suffix with static strings + and xmalloc dpi and design_size_str. + + * main.c (main): if output_name has no suffix, append either + output_name_suffix or design_size to its stem before appending + a suffix. + +Sat Mar 7 09:55:42 1992 Karl Berry (karl at hayley) + + * GNUmakefile (libraries): define again. + (files, headers, sources): replace with `c_and_h', etc. + +Thu Mar 5 06:47:26 1992 Karl Berry (karl at hayley) + + * main.c (output_filename): rename to `output_name', and remove + the other `output_name' declaration. + +Wed Mar 4 17:21:32 1992 Kathy Hargreaves (kathy at hayley) + + * main.c (main) changed `output_basename' to `output_name'. + Deleted add_suffix and add_design_size. + Added dpi, design_size_str, and output_name_suffix. + Use make_output_filename to check if output name has a suffix. + If output_name not given and not doing strips, set design_size_str. + If doing strips, set output_name_suffix to "sp". + Always set dpi. + +Mon Mar 2 12:15:52 1992 Karl Berry (karl at hayley) + + * main.c (main): decrease nchars_per_line to 11. + +Sun Mar 1 13:03:23 1992 Karl Berry (karl at hayley) + + * GNUmakefile (files): remove bb-outline. + + * GNUmakefile (need_pbm_library): define. + (sources): remove the PBM stuff. + +Fri Feb 28 07:53:09 1992 Karl Berry (karl at hayley) + + * extract.c (image_row_transitions): new routine. + (some_black_to_all_white_row): call it after getting the image row. + (append_next_image_row): call it after appending. + (get_image_row): do not compute the transitions here. + + * main.c (bitmap_to_gf_char): the GF min_row is the depth, the GF + max_row is the height; we had it the other way around. Also, + `row_baseline' is one-origin, but char rows are 0-origin. + +Tue Feb 25 14:40:54 1992 Karl Berry (karl at hayley) + + * main.c (main): decrease number of chars reported without + guidelines to 12. + + * input-pbm.c (pbm_get_scanline): declare the test character for + EOF as int, not char. Also, print the scanlines if + trace_scanlines is set. + * main.c (trace_scanlines): new global. + (read_command_line): new option. + + * bitmap2.c (bitmap_vconcat): put one blank row between the + bitmaps, to compensate for what some_black... removed. + + * extract.c (get_image_row): don't keep leading white rows if + there weren't any; always append scanline, even if there were. + +Fri Jan 31 17:08:38 1992 Karl Berry (karl at hayley) + + * main.c (read_command_line): declare `option_index' (for new + getopt). + +Tue Jan 21 11:47:26 1992 Kathy Hargreaves (kathy at hayley) + + * main.c (main): wasn't putting the suffix on the gf name when + gave an output filename without a suffix because was finding the + dot in the pathname `../fonts'. + + * main.c (bitmap_to_gf_char): were switching the minimum and + maximum rows when assigning to the gf char. + + * main.c (main): malloc gf_name more precisely. + + * main.c (bitmap_to_gf_char): fixed calculation of gf char's rows. + (main): changed how build the gf output filename: if the user + specifies an output file, don't ever add on a design size and don't + add a suffix if there's one already. + + * main.c (bitmap_to_gf_char): now print gf character's (baseline- + adjusted) row instead of the bounding box's (unadjusted) ones. + +Mon Jan 20 14:46:16 1992 Kathy Hargreaves (kathy at hayley) + + * main.c (main): added variable `output_basename' so user could + specify an output file basename. + (read_command_line): Added `output-file' option. + +Tue Jan 14 13:14:46 1992 Kathy Hargreaves (kathy at hayley) + + * main.c (get_image_info): when call libfile_start with + info_filename, specify "ifi" as the (now-default) suffix. + + * main.c [USAGE] (info-file): use .ifi if + doesn't have a dotted suffix; otherwise use . + +Thu Jan 9 08:29:52 1992 Karl Berry (karl at hayley) + + * main.c (read_command_line): rename `scan_integer_list' to + `scan_unsigned_list'. + + * *.c: do not include global.h. + + * *.h: remove #pragma once. + +Wed Jan 8 15:28:00 1992 Karl Berry (karl at hayley) + + * update copyright messages. + + * change `allocate to `xmalloc', `reallocate' to `xrealloc', and + `string_copy' to `strdup'. + +Tue Jul 30 13:18:48 1991 Karl Berry (karl at ra.cs.umb.edu) + + * Version 0.3. + +Fri Jul 26 07:02:28 1991 Karl Berry (karl at hayley) + + * main.c (get_image_info): read the left and side bearings from + the IFI file, if present. + (bitmap_to_gf_char): use these numbers. + * image-char.h (image_char_type): new members `lsb' and `rsb'. + (IMAGE_CHAR_{L,R}SB): new accessor macros. + +Wed Jul 24 06:07:11 1991 Karl Berry (karl at hayley) + + * bitmap2.c (bitmap_concat): the height of the result is the + height of one, not twice that. + + * main.c (do_image_line): rename `concat_bitmaps' to + `bitmap_concat'. + * GNUmakefile (files): new file `bitmap2'. + + * main.c (do_image_line): return a boolean saying if we need + another image row. + (main): if `do_image_line' fails, read more of the image. + * extract.h (append_next_image_row): declare new routine. + * extract.c (append_next_image_row): define it. + (get_image_row): new routine. + (some_black_to_all_white_row): call `get_image_row'. + + * make-gsfont.ps (octal-value): prepend 0 to the character code. + + * extract.c (some_black_to_all_white_row): use xcalloc to initialize + `or_of_all', not allocate. We need it to be all zeroes + initially. + + * main.c, version.c: change `imgtogf' to `imagetofont'. + + * make-gsfont.ps: remove all the if-verbose's. + + * main.c: doc fix. + +Mon Jul 22 07:54:42 1991 Karl Berry (karl at hayley) + + * make-gsfont.ps (output-encoding): set /output-encoding to the + dictionary. + + * main.c: output ``imagetofont'' as our name in the GF file header, + instead of ``IMGtoGF''. + + * make-gsfont.ps (print-char-dimensions-if-verbose): lose the + `-if-verbose'. + + * make-gsfont.ps (octal-value): `get' the character name, don't + `load' it, so we find it in the right dictionary. + + * libpbm1.c: declare parms, external functions to avoid warnings. + +Sat Jun 15 09:50:46 1991 Karl Berry (karl at hayley) + + * input-*.c: change `checked_' to `x'. + +Thu Jun 6 07:29:06 1991 Karl Berry (karl at hayley) + + * All files: change to version 2 of the GPL. + +Sat Jun 1 15:18:11 1991 Kathy Hargreaves (kathy at hayley) + + * main.c (get_image_info): Now build an info filename if the + variable info_filename *is* NULL, not when it's not. + (USAGE): Deleted that resolution was set only for pbm input. + Stated that input-format is required and shortened comment. + +Fri May 31 14:30:01 1991 Kathy Hargreaves (kathy at hayley) + + * imgtogf: Moved directory to `imagetofont'. + + * GNUmakefile: Changed program name from `imgtogf' to `imagetofont'. + + * main.c (get_image_info): Make default image info file be + .ifi instead of imginf.. + + * main.[hc], input-*.[hc]: *_get_header now don't return a + header but rather modify the global header in main.c. Changed + all references to `[img, pbm]_header->' to `image_header.'. + + * main.c, image-char.[hc]: Replaced all instances of `img_char' + with `image_char'. + + * image-char.[hc]: Moved from img-char.[hc]. + + * main.h (image_header): Made this visible to the outside. + + * input-[pbm, img].c ([pbm, img]_get_header): Set h to + image_header in main.c. #include main.h. + + * main.c (read_command_line): Cast the assignment to + image_header.hres to type two_bytes. + + * image-header.h, input-*.[hc], main.[hc]: Changed `img-header.h' + to `image-header.h'. + + * main.c: Replaced all instances of `img_header*' with + `image_header*'. Moved `img_' and `pbm_' to the front of the + function names. + + * img-header.h: Moved to image_header.h and replaced all + instances of `img_header*' with `image_header*'. + + * input-img.[hc] (*_img_*): Moved `img_' to the front of the + variable names. Replaced instances of `img_header_type' with + `image_header_type'. + + * input-pbm.[hc] (*_pbm_*): Moved `pbm_' to the front of the + variable names. + + * extract.c, strips.c: (ptr_get_scanline): Removed `ptr_' from in + front of this function's name and replaced it with `image'. + Replaced instances of `img_header*' with `image_header*', if any. + + * main.h (ptr_open_input_file, ptr_close_input_file, ptr_get_header, + ptr_get_scanline): Removed `ptr_' from the front of all these + names and replaced it with `image'. Replaced `img_header_type' + with `image_header_type'. + + * main.c (ptr_open_input_file, ptr_close_input_file, ptr_get_header, + ptr_get_scanline): Moved and set all to NULL. + Removed `ptr_' from the front of all these names and replaced it + with `image'. + (read_command_line): Remove "img-input-format" from option + structure. + Removed variable need_resolutions, as don't need it. + Force them to specify the input format on the command line + rather than having a default. + +Wed May 29 16:19:57 1991 Kathy Hargreaves (kathy at hayley) + + * input-pbm.c (line_in_bytes): Deleted this global variable, as + don't need it. (pbm_readpbmrow reads right into line_in_bits in + get_pbm_scanline.) + + * pbm.h: Took out #include for types.h. + + * input-pbm.c (get_pbm_scanline): Check if at EOF before calling + pbm_readpbmrow. + + * libpbm2.c (pbm_readpbmrow): Restored to original; can test if at + EOF in the wrapper get_pbm_scanline. + Took out #include for types.h. + + * input-pbm.c (get_pbm_scanline): Hooked up to libpbm2.c routine. + + * main.c (read_command_line): Combined some options and changed + their names and their input. + Make input-format take an argument. + +Mon May 27 14:52:45 1991 Kathy Hargreaves (kathy at hayley) + + * main.c (read_commandline): If both resolutions are missing and + are required on the commandline, print that they both are, not + just that the horizontal one is. + + * bb-outline.c (is_outline_edge): Changed VALID_LOCATION to + BITMAP_VALID_PIXEL. + + * pbmplus.h: Commented out malloc, etc. declarations. + + * libpbm2.c (pbmreadpbmrow): Make it return a boolean instead of a + void, so will fit into our code. + Make it return false instead of an error message. + + * pbm.h (top): pbmplus.h is in the current directory, so take out + the `../' before it in the #include. + (pbmreadpbmrow): Make it return a boolean instead of a void, so + will fit into our code. + + * extract.c (top): Now #include input-pbm.h. + (some_black_to_all_white_row): Changed all instances of + get_img_scanline to get_scanline. + + * input-img.c (top): Now #include img-header.h. + (get_img_header): Got rid of variable format, as now put that in + the header. + + * main.c: (open_input_file, close_input_file, get_header, + get_scanline): Declared these pointers to functions so could set + them to a set of routines belonging to the type of input we're + using. Set them to .pbm input format routines as a default. + (font_name_extension): Added this static variable so could set + it when get read the input format on the command line. Set to + `.pbm' by default. + (main): Initialize img_header to all zeros so will know if the + user set them using the command line. + Changed call to open_img_input_file to open_input_file and + concat font_name_extension instead of ".img" for the argument. + Changed some comments. + Changed the call to get_img_header to get_header. + Changed the call to close_img_input_file to close_input_file. + (USAGE): Added horz-resolution, img-input-format, + pbm-input-format, and vert-resolution. + (read_command_line): Added boolean variable need_resolutions to + keep track of whether or not the user needs to input the + horizontal and vertical resolutions on the command line. + Added horz-resolution, img-input-format, pbm-input-format, and + vert-resolution to the option variable long_options. + If the argument is horz-resolution or vert-resolution, then set + the appropriate field in the header. + If the argument if img-input-format or pbm-input-format, the set + the input function pointers in main to the appropriate set of + functions that belong to the input format. If the argument is + the former, then set needs_resolution to false; if it's the latter, + set it to true. + If the user wants .pbm input format, then check that the header's + resolutions are set; if not, issue an error message and exit. + + * main.h (open_input_file, close_input_file, get_header, get_scanline): + Added these function pointer declarations so extract.c and strips.c + could use them. + + * strips.c (top): Now #include input-pbm.h. + (write_chars_as_strips): Changed the call to get_img_scanline to + a call to get_scanline. + +Sat Apr 13 17:13:51 1991 Karl Berry (karl at hayley) + + * main.c (get_image_info): use the libfile routines to read the + image info files. + + * main.c, input-img.c: new includes from the library + rearrangements. + +Mon Feb 25 16:32:45 1991 Karl Berry (karl at hayley) + + * main.c, strips.c: use `gf_...' instead of `..._gf_...'. + +Sun Feb 17 09:39:20 1991 Karl Berry (karl at hayley) + + * *.c: include config.h. + +Tue Jan 22 15:43:19 1991 Karl Berry (karl at hayley) + + * extract.[ch] (extract_subimage): move to kbase. + +Thu Jan 17 10:32:09 1991 Karl Berry (karl at hayley) + + * main.c (main): don't put the day of the week in the font comment. + +Tue Oct 9 09:07:02 1990 Karl Berry (karl at hayley) + + * main.c (scan_baseline_list): move to kbase. + (baseline_list): make a vector of ints, not unsigneds. + (main): test for the end of the baseline list being -1, not 0. + +Mon Oct 8 16:37:07 1990 Karl Berry (karl at hayley) + + * main.c: #include cmdline.h. + (read_command_line): call FINISH_COMMAND_LINE. + +Sun Sep 30 09:15:25 1990 Karl Berry (karl at hayley) + + * main.c (do_image_line): don't give a report when we read part of + the line, after all. + +Fri Sep 28 13:47:15 1990 Karl Berry (karl at hayley) + + * main.c (scan_integer_list): use strtok, instead of doing the + work ourselves. + +Sat Sep 22 06:16:49 1990 Karl Berry (karl at hayley) + + * main.c (output_chars): don't increment `current_char' if we've + already seen the box. + +Fri Sep 21 08:40:49 1990 Karl Berry (karl at hayley) + + * img-char.h (img_char_type): new element, `alternating'. + (IMG_CHAR_BB_ALTERNATING): macro to access it. + * main.c (get_image_info): if the bb count is negative, set + `alternating' (and make it positive). + (output_chars): handle the bounding boxes alternating. + + * main.c (do_image_line): give a progress report when we read part + of the line. + + * main.c (read_command_line): return NULL at the end; the POSIX + include files don't declare `exit' as volatile, more's the pity. + * bb-output.c (is_outline_edge): return false at the end, for the + same reason. + +Sun Sep 16 11:13:43 1990 Karl Berry (karl at hayley) + + * main.c: include "getopt.h" instead of . + + * main.c (read_command_line): change call of PARSE_CHAR_CODE to + xparse_char_code. + + * main.c (main): make the default info filename `imginf.', + not `imginfo.'. + +Sat Sep 8 10:06:19 1990 Karl Berry (karl at hayley) + + * main.c (read_command_line): remove any suffix on the font name + before returning it. + + * main.c (read_command_line): use GET_RANGE. + + * main.c (get_image_info): use PARSE_CHAR_CODE to get the + character code from the file. + +Thu Sep 6 06:16:29 1990 Karl Berry (karl at hayley) + + * main.c (scan_integer_list): doc fix. + +Wed Sep 5 06:19:53 1990 Karl Berry (karl at hayley) + + * main.c (USAGE): doc fix in -range. + +Tue Sep 4 09:33:49 1990 Karl Berry (karl at hayley) + + * main.c (do_image_line): pass the current character to + output_chars, not the current box count. + + * extract.c (REPORT_SCANLINE): output to stderr instead of stdout. + + * main.c (get_image_info): always assign to the character code and + omit fields. + +Mon Sep 3 16:57:02 1990 Karl Berry (karl at hayley) + + * main.c (get_image_info): use NULL in subsequent calls to strtok. + + * main.c (get_encoding): replace with get_image_info; change + callers. + * img-char.[ch]: new files to support the data structure. + +Thu Aug 16 08:00:19 1990 Karl Berry (karl at hayley) + + * bb-outline.c (free_bounding_box_list): check if the list is + allocated before freeing it. + + * main.c (do_image_line): only say that we've read too many boxes + once. + +Wed Aug 8 08:06:53 1990 Karl Berry (karl at hayley) + + * main.c (read_command_line): change `encoding-file' to + `info-file'. + +Tue Aug 7 08:53:13 1990 Karl Berry (karl at hayley) + + * main.c (main): use the basename of the image filename to + construct the output name, instead of the full name. + + * main.c (USAGE): explain `-baselines' better. + +Thu Jul 26 06:54:56 1990 Karl Berry (karl at hayley) + + * extract.c (find_transitions): move to kbase. + +Tue Jul 24 13:09:38 1990 Karl Berry (karl at hayley) + + * main.c: don't include time.h. + +Thu Jul 19 15:22:29 1990 Karl Berry (karl at aten) + + * main.c (main): don't dereference baseline_list if it's null. + +Mon Jul 16 08:56:41 1990 Karl Berry (karl at hayley) + + * main.c (clean_bitmap): only print the `. ' if we're printing the + cleaning info. + +Sun Jul 15 08:27:52 1990 Karl Berry (karl at hayley) + + * bb-outline.c (append_bounding_box_list): don't change anything + if we're appending a list of length zero. + +Fri Jul 13 11:35:15 1990 Karl Berry (karl at hayley) + + * main.c (clean_bitmap): also potentially clean bounding boxes on + the bottom edge. + + * main.c (SET_EDGES): make coordinates relative to the bitmap of + the character. + + * main.c (clean_bitmap): only test the gray value for bounding + boxes that are on the edge. + + * main.c (output_chars): return the number of characters actually + output, omitting the ones out of range. + + * main.c (clean_bitmap): print gray values for the bounding boxes + if requested. + (read_command_line): new option, `print_clean_info'. + +Thu Jul 12 06:08:33 1990 Karl Berry (karl at hayley) + + * extract.c (some_black_to_all_white_row): don't output a newline + after reading the scanlines. + + * main.h: new file. + * extract.c: include it, remove declaration of verbose. + + * strips.[ch]: new files. + * main.c (main): cut the image into strips if requested. + (read_command_line): new option `strips'. + + * extract.c (find_transitions): new routine. + (some_black_to_all_white_row): call it, at the end, with a new + variable that is the logical or of all the rows we read. + (some_black_to_all_white_column, found_color_in_column): these + routines aren't needed any more. + * main.c (do_image_line): use the transition vector to set + `char_bitmap'. + + * main.c (scan_integer_list): increment length after checking the + exit condition. + + * main.c (do_image_line): new routine, consisting of a lot of the + main loop. + + * main.c (bitmap_to_gf_char): determine the baseline. + (read_command_line): new option `baselines' to set the baselines. + (scan_integer_list): new routine. + + * extract.c (found_color_in_column): start halfway down the + bitmap. + +Wed Jul 11 06:19:51 1990 Karl Berry (karl at hayley) + + * main.c (bitmap_to_gf_char): take another argument, the character + code, to consolidate where the GF char is set. + + * main.c (nchars_per_line): new static to say how many characters + we can report on per line; different for `print_guidelines' being + set and not set. + + * main.c (print_guidelines): new global. + (read_command_line): new option to set it. + (bitmap_to_gf_char): print the row numbers if it's set. + + * bb-outline.c (find_outline_bbs): take two additional arguments: + column numbers between which we don't look. + * bb-outline.h (find_outline_bbs): change the declaration. + * main.c (main), (clean_bitmap): change the calls. + + * bb-outline.c (append_bounding_box_list): reallocate based on the + element size, not the list size. + + * bb-outline.c (set_bounding_box_list_offset): replace by + `offset_bounding_box_list'. + (append_bb): don't offset the bounding boxes as they come in. + * bb-outline.h (set_bounding_box_list_offset): likewise. + * main.c (main): change call. + + * main.c (output_chars): set char_code to *next_code at the bottom + of the loop, and increment next_code. + +Tue Jul 10 06:10:05 1990 Karl Berry (karl at hayley) + + * bb-outline.c (set_bounding_box_list_offset): new routine. + (append_bb): move the bounding box to the right by the offset. + * bb-outline.h (set_bounding_box_list_offset): declare it. + + * main.c (get_char_code): rename to get_encoding, and read the + whole file. + + * bb-outline.h (init_bounding_box_list, append_bounding_box_list): + declare new routines. + bb-outline.c (same): define them. + +Mon Jul 9 08:10:20 1990 Karl Berry (karl at hayley) + + * main.c (main): don't split each line at white columns. + + * extract.c (clean_bitmap): set verbose to false before calling + find_outline_bbs. + + * main.c (get_char_code): make sure we actually find a character + code. + + * main.c (output_chars): don't extract or clean anything if the + character isn't within range. + + * extract.c (REPORT_SCANLINE): report every 100 scanlines. + + * main.c (output_chars): only give the status report if we + actually output the character. + +Sat Jul 7 10:43:18 1990 Karl Berry (karl at hayley) + + * bb-outline.c (append_bb): changed MAX_ROW, instead of MAX_COL. + + * main.c (clean_bitmap): new routine. + (output_gf_chars): call it. + * bb-outline.c (find_outline_bbs): take an additional parameter to + determine whether to look for inside outlines or not. + + * extract.c (REPORT_SCANLINE): report every 50 scanlines, instead + of every 10. + + * bb-outline.c (find_outline_bbs): look for outlines in + column-major order, instead of row-major. + diff --git a/include/ChangeLog.old b/include/ChangeLog.old new file mode 100644 index 0000000..8391280 --- /dev/null +++ b/include/ChangeLog.old @@ -0,0 +1,1533 @@ +Tue Dec 26 10:15:54 1995 Kathy Hargreaves + + * identity.h (get_identity): Added. + +Sat Nov 25 09:34:01 1995 Kathy Hargreaves + + * bitmap.h: (BITMAP_INTERIOR_PIXEL): added to comment. + +Thu Oct 12 10:42:17 1995 Karl Berry + + * xt-common.h: Add FOIL_X_WCHAR_T. + +Sat May 27 13:52:42 1995 Karl Berry + + * global.h (atou): Now in kpathsea. + +Mon Oct 24 19:08:52 1994 Karl Berry + + * global.h (basename): Now in kpathsea. + +Sat Sep 25 18:03:44 1993 Karl Berry (karl@red.cs.umb.edu) + + * config.h (ALLOC_RETURN_TYPE): Do not define this. + +Sun Aug 22 14:15:01 1993 Karl Berry (karl@cs.umb.edu) + + * rand.h (RAND_MAX): Cast to unsigned before doing a 31-bit shift. + +Sun Aug 8 15:30:57 1993 Karl Berry (karl@cs.umb.edu) + + * global.h (ROUND): Do not cast arg to int. + +Sat Aug 7 11:52:18 1993 Karl Berry (karl@cs.umb.edu) + + * Item.h: types.h now in kpathsea. + +Sun Aug 1 09:41:41 1993 Karl Berry (karl@cs.umb.edu) + + * Most include files: Use instead of "types.h". + + * config.h: Include kpathsea/config.h. + +Tue Jul 27 09:38:13 1993 Karl Berry (karl@cs.umb.edu) + + * types.h: Just include (in lieu of deleting + this file altogether, which would be the right thing). + +Fri Apr 23 16:09:28 1993 Karl Berry (karl@cs.umb.edu) + + * moretypes.h: Create from types.h. + * types.h: Make identical to other distributions. + +Tue Apr 6 20:12:03 1993 Karl Berry (karl@cs.umb.edu) + + * getpagesize.h: Remove, as malloc.c no longer needs it. + +Wed Mar 3 06:19:46 1993 Karl Berry (karl@cs.umb.edu) + + * lib.h (xftell): Back to unsigned long. + +Sun Feb 28 15:41:59 1993 Karl Berry (karl@cs.umb.edu) + + * lib.h (xftell): Declare as four_bytes. + +Sun Feb 7 08:17:26 1993 Karl Berry (karl@cs.umb.edu) + + * lib.h (xfopen, etc.): Use P?H. + +Sat Jan 30 16:47:59 1993 Karl Berry (karl@cs.umb.edu) + + * lib.h (xfopen, xfclose, xfseek, xftell): Move here. + * global.h: From here. + +Wed Jan 20 09:18:36 1993 Karl Berry (karl@cs.umb.edu) + + * lib.h (FATAL_PERROR, WARNING*, FATAL*): Move from global.h. + +Sun Jan 3 19:35:32 1993 Karl Berry (karl@cs.umb.edu) + + * config.h: Move some includes to c-std.h. + + * c-seek.h: Rename to c-unistd.h and add more constants. + +Sat Dec 12 13:06:47 1992 Karl Berry (karl@cs.umb.edu) + + * c-fopen.h (FOPEN_W_MODE): New defn. + +Fri Dec 11 15:14:58 1992 Karl Berry (karl@cs.umb.edu) + + * c-ctype.h: New file. + +Sat Dec 5 15:46:42 1992 Karl Berry (karl@cs.umb.edu) + + * c-minmax.h: Define all the ANSI constants except CHAR_{MIN,MAX}. + +Sun Nov 29 17:04:22 1992 Karl Berry (karl@cs.umb.edu) + + * global.h (dtoa): Rename to `xdtoa', to avoid Linux conflict. + (awasthi@cps.msu.edu) + +Tue Oct 27 13:02:44 1992 Karl Berry (karl@cs.umb.edu) + + * Version 0.6. + +Sun Oct 25 06:27:11 1992 Karl Berry (karl@cs.umb.edu) + + * getopt.h: New version. + +Sat Oct 17 19:36:59 1992 Karl Berry (karl@cs.umb.edu) + + * c-memstr.h (bcmp, bcopy, bzero): Only #define if they are not + already #define'd. + +Tue Oct 6 09:04:23 1992 Karl Berry (karl@cs.umb.edu) + + * bzr.h (BZR_CHAR_BB, etc.): Remove, as the CHAR_... macros work fine. + + * tfm.h (TFM_SAFE_FONTDIMEN): Fully parenthesize. + +Mon Oct 5 10:06:28 1992 Karl Berry (karl@cs.umb.edu) + + * report.h (report_file): New variable. + (REPORT*): Use it. + +Sun Oct 4 09:03:07 1992 Karl Berry (karl@cs.umb.edu) + + * font.h (CHAR_HEIGHT): Just return the max row, don't add one for + the baseline. Why did we want to do this? + + * lib.h: Doc fix. + + * bb-list.h: New file, taken from bb-outline.h; rename + `bounding_box_list' to prefix `bb_list'. + +Fri Oct 2 17:01:25 1992 Karl Berry (karl@cs.umb.edu) + + * report.h (REPORT): Use fputs instead of fprintf. + * logreport.h (LOG): Likewise. + +Tue Sep 15 08:38:19 1992 Karl Berry (karl@hayley) + + * pbmplus.h: include config.h, and remove the old sysv/bsd + configuration stuff. + +Tue Sep 8 17:05:33 1992 Karl Berry (karl@hayley) + + * c-auto.h.in (_MINIX, _{ALL,POSIX,POSIX_1}_SOURCE): add #undef's + for configure to define. + +Sun Sep 6 16:54:48 1992 Karl Berry (karl@hayley) + + * global.h (MAX_INT_LENGTH): increase to 21, for 64-bit numbers. + +Thu Sep 3 09:31:02 1992 Karl Berry (karl@hayley) + + * Version 0.5. + +Mon Aug 31 20:04:12 1992 Karl Berry (karl@hayley) + + * bzr.h (BZR_CHAR_...): remove unneeded parens. + +Sun Aug 23 15:06:34 1992 Karl Berry (karl@hayley) + + * cmdline.h (FINISH_COMMAND_LINE): use `fputs' for the constant + string, instead of `fprintf'. + +Mon Aug 17 16:30:42 1992 Karl Berry (karl@hayley) + + * libfile.h (LIBFILE_WARN*): just use fprintf, instead of the + WARNING macros. + +Fri Aug 14 16:42:33 1992 Karl Berry (karl@hayley) + + * bzr.h: doc fix. + +Mon Aug 10 11:12:41 1992 Karl Berry (karl@hayley) + + * rand.h (RAND_MAX): missing parens. + +Wed Jul 22 08:35:56 1992 Karl Berry (karl@hayley) + + * dirio.h: don't bother using the `defined' operator. + * c-pathch.h: `pathchar' => `pathch', since the file was renamed + (a long time ago). + * c-memstr.h (bcmp) [USG || STDC_HEADERS]: define. + (memcmp) [!(USG || STDC_HEADERS)]: define. + * c-std.h: use #if instead of #ifdef. + +Tue Jul 7 16:41:19 1992 Karl Berry (karl@hayley) + + * tfm.h (tfm_input_filename): new routine. + +Fri Jul 3 17:45:30 1992 Karl Berry (karl@hayley) + + * encoding.h (DEFAULT_ENCODING): document. + +Mon Jun 29 09:15:30 1992 Karl Berry (karl@hayley) + + * cmdline.h (GETOPT_USAGE): terminate with a newline. + +Sat Jun 27 11:18:52 1992 Kathy Hargreaves (kathy@hayley) + + * cmdline.h (ARG_SEP): added. + +Fri Jun 26 16:47:23 1992 Karl Berry (karl@hayley) + + * charspec.h: new file. + + * global.h ({,x}parse_charcode): change return type to + `charcode_type'. + +Sun Jun 21 15:33:30 1992 Karl Berry (karl@io) + + * tfm.h (TFM_SAFE_FONTDIMEN): new macro; if NUMBER is past the end + of the array, return zero. + + * xt-common.h (DECLARE_BUTTON): cast NULL to (XtArgVal) to avoid + warning. + +Mon Jun 15 15:38:40 1992 Karl Berry (karl@hayley) + + * bitmap.h (BITMAP_INTERIOR_PIXEL): assume the pixel at [row,col] + is black. + +Sun Jun 14 07:42:00 1992 Karl Berry (karl@hayley) + + * font.h (font_info_type): remove the `nchars' member. + (FONT_NCHARS): remove macro. + + * global.h (POINTS_TO_REAL_PIXELS): new macro for when we want + fractional pixels. + + * tfm.h (SAFE_TFM_FONT_PARAMETER): remove. + +Sat Jun 13 16:29:26 1992 Karl Berry (karl@hayley) + + * libfile.h (libfile_start): return the FILE *. + +Sat Jun 13 13:52:04 1992 Kathy Hargreaves (kathy@hayley) + + * encoding.h (DEFAULT_ENCODING): added. + +Sat Jun 13 07:57:57 1992 Karl Berry (karl@hayley) + + * str-casefold.h: rename to str-lcase.h and remove str_to_upper. + + * gf.h: change `one_byte' to `charcode_type' where appropriate. + + * list.h (new_list): rename to `list_init'. + (append_element): rename to `list_append'. + (LIST_{TAPPEND,LAST_ELT}): new macros. + (list_free): new routine. + + * tfm.h (tfm_fontdimen_number): new routine. + + * tfm.h (TFM_MAX_FONT_PARAMETERS): rename to `TFM_MAX_FONTDIMENS'. + +Fri Jun 12 10:33:56 1992 Karl Berry (karl@hayley) + + * tfm.h (tfm_set_fontdimen): rename from `tfm_set_font_parameter', + and rearrange args. + + * tfm.h (tfm_set_ligature): change to take a lig list. + +Tue Jun 9 13:27:12 1992 Karl Berry (karl@hayley) + + * tfm.h (tfm_fontdimen_number): declare. + +Mon Jun 8 15:27:15 1992 Karl Berry (karl@hayley) + + * tfm.h (tfm_set_kern): take a kern list as the parameter instead + of the whole TFM character. + +Sun Jun 7 19:33:10 1992 Karl Berry (karl@hayley) + + * encoding.h: doc fix. + +Sun Jun 7 15:09:06 1992 Kathy Hargreaves (kathy@hayley) + + * bitmap.h (BITMAP_INTERIOR_PIXEL): added. + +Sun Jun 7 10:55:40 1992 Karl Berry (karl@hayley) + + * font.h (font_info_type): remove `interword_space'. + (FONT_SPACE): remove the accessor macro. + + * font.h: don't include . + +Wed Jun 3 08:17:47 1992 Karl Berry (karl@hayley) + + * tfm.h: doc fix. + +Tue Jun 2 11:21:31 1992 Karl Berry (karl@hayley) + + * encoding.h (encoding_number): document that NULL is ok as an arg. + + * global.h (FATAL4, WARNING4): new macros. + + * libfile.h (LIBFILE_ERROR2): new macro. + +Mon Jun 1 15:41:46 1992 Karl Berry (karl@hayley) + + * global.h (float_ok, integer_ok): declare new routines. + + * encoding.h: doc fix. + + * libfile.h (LIBFILE_WARN1): new macro. + + * cmdline.h: doc fix. + + * report.h: doc fix. + + * font.h (CHAR_[LR]SB) [!CHAR_[LR]SB]: define conditionally. + +Sun May 31 10:58:30 1992 Karl Berry (karl@hayley) + + * global.h (REAL_EPSILON): decrease, to be less than can be + represented in a fix_word. + +Sat May 30 15:19:49 1992 Karl Berry (karl@hayley) + + * tfm.h (tfm_convert_pl): declare the new TFM_NAME parameter. + +Tue May 26 15:30:55 1992 Kathy Hargreaves (kathy@hayley) + + * tfm.h (SAFE_TFM_FONT_PARAMETER): added. + +Sun May 24 17:58:51 1992 Karl Berry (karl@hayley) + + * cmdline.h (MAYBE_REMOVE_SUFFIX): define, corresponding with + `CMDLINE_NO_DPI'. + (FINISH_COMMAND_LINE): use it, instead of always removing it. + +Thu May 21 11:42:43 1992 Karl Berry (karl@hayley) + + * hexify.h (hexify): take a block of data and a length instead of + a varstring. + +Sat May 16 21:23:12 1992 Kathy Hargreaves (kathy@hayley) + + * varstring.h (vs_concat): added. + +Sat May 16 12:42:11 1992 Karl Berry (karl@hayley) + + * tfm.h (tfm_set_fontsize): don't declare static. + +Fri May 15 10:22:57 1992 Karl Berry (karl@hayley) + + * getopt.h: new version. + +Thu May 14 22:02:41 1992 Karl Berry (karl@claude.cs.umb.edu) + + * c-minmax.h (FLT_MAX): define as 1e+37, not 1e-37! + + * tfm.h (tfm_set_fontsize): declare this. + + * rand.h (RAND_MAX): always define. + (srand): -> seed_rand, to avoid conflicts with headers. + (rand): -> k_rand, same reason. + +Sun May 10 10:03:29 1992 Karl Berry (karl@hayley) + + * encoding.h: doc fix. + +Wed Apr 29 15:39:11 1992 Karl Berry (karl@hayley) + + * lib.h: add P?H calls for non-prototype systems. + +Thu Apr 23 07:37:16 1992 Karl Berry (karl@hayley) + + * c-auto.h.in: new file. + +Wed Apr 22 08:47:49 1992 Karl Berry (karl@hayley) + + * c-std.h: include and first, and include + before , to try avoid redefining NULL. + +Tue Apr 21 07:38:19 1992 Karl Berry (karl@hayley) + + * lib.h (XTALLOC1): new macro. + + * bzr.h: doc fix. + +Sat Apr 18 12:24:15 1992 Kathy Hargreaves (kathy@hayley) + + * str-casefold.h: added. + +Wed Apr 15 15:22:21 1992 Karl Berry (karl@hayley) + + * lib.h (make_output_filename): rename to `extend_filename'. + +Tue Apr 14 12:43:50 1992 Karl Berry (karl@hayley) + + * bounding-box.h (init_real_bounding_box): remove this. + +Fri Apr 10 16:35:30 1992 Karl Berry (karl@hayley) + + * pathsrch.h (initialize_path_list): remove cwd_first_p. + +Wed Apr 8 15:00:56 1992 Karl Berry (karl@hayley) + + * tfm.h (TFM_CHECK_DESIGNSIZE): change msg wording. + +Fri Apr 3 13:20:14 1992 Karl Berry (karl@hayley) + + * config.h (RAND_MAX): remove this. + * rand.h: new file. + +Wed Apr 1 14:14:23 1992 Karl Berry (karl at hayley) + + * (pathshare from web2c) + + * filename.h (make_output_filename): don't say we always return a + mallocated string. + + * filename.h (make_stem_suffix): remove. + + * edge.h: new file. + +Sun Mar 29 08:47:33 1992 Karl Berry (karl at fosse) + + * config.h (ALLOC_RETURN_TYPE): define as void. + * c-std.h (*alloc): use ALLOC_RETURN_TYPE to declare. + (ALLOC_RETURN_TYPE): define as char if not otherwise defined. + +Sun Mar 29 11:07:17 1992 Karl Berry (karl at hayley) + + * c-memstr.h (bzero,bcopy) [USG or STDC_HEADERS]: define these + using the mem fns. + +Sat Mar 28 07:49:02 1992 Karl Berry (karl at hayley) + + * Version 0.4. + + * Change copyright years to 1992 only. + +Fri Mar 27 17:33:01 1992 Karl Berry (karl at hayley) + + * c-memstr.h (memcpy) [!(USG or STDC_HEADERS)]: change condition. + +Thu Mar 26 19:40:46 1992 Karl Berry (karl at jeeves.math.utah.edu) + + * c-minmax.h: make all #definitions conditional + + * c-limits.h: only include if we don't have FLT_MAX + already. + + * c-memstr.h [!NEED_MEMORY_H]: do not declare memchr. + +Thu Mar 26 14:36:08 1992 Karl Berry (karl at claude.cs.umb.edu) + + * Bitmap.h [!XtCBitmap]: make the definition conditional. + + * c-memstr.h: move #include outside of #if + STDC_HEADERS. + +Sat Mar 21 11:11:18 1992 Kathy Hargreaves (kathy at hayley) + + * tfm.h (tfm_set_design_size): added. + + * tfm.h (tfm_set_header): deleted DEFAULT_DESIGN_SIZE; + + * tfm.h [TFM_CHECK_DESIGNSIZE]: changed name from CHECK_DESIGNSIZE. + +Thu Mar 19 17:28:34 1992 Kathy Hargreaves (kathy at hayley) + + * tfm.h: doc fix. + +Thu Mar 19 07:47:58 1992 Karl Berry (karl at hayley) + + * config.h: don't include paths.h, c-pathmx.h, c-namemx.h, + c-pathch.h; just include them in the files where they are + needed. + + * c-{path,name}_max.h: rename to c-*mx.h; new versions. + * pathsearch.h => pathsrch.h. + +Wed Mar 18 12:27:27 1992 Kathy Hargreaves (kathy at hayley) + + * tfm.h (tfm_set_ligature): added. + + * tfm.h (tfm_set_header): doc fix. + +Mon Mar 16 11:42:14 1992 Kathy Hargreaves (kathy at hayley) + + * tfm.h [TFM_MIN_DESIGNSIZE]: added. + + * tfm.h [TFM_MAX_DESIGNSIZE_PLUS_ONE]: added. + +Sun Mar 15 16:59:02 1992 Karl Berry (karl at hayley) + + * font.h: doc fix. + +Sun Mar 15 13:50:40 1992 Kathy Hargreaves (kathy at hayley) + + * paths.h [DEFAULT_LIB_PATH]: change /u/research/data to /w/data. + +Tue Mar 10 15:02:27 1992 Karl Berry (karl at hayley) + + * cmdline.h (GETOPT_USAGE): new macro. + +Mon Mar 9 16:33:34 1992 Kathy Hargreaves (kathy at hayley) + + * filename.h (make_stem_suffix): added. + +Sun Mar 8 17:09:03 1992 Kathy Hargreaves (kathy at hayley) + + * filename.h (make_output_filename): changed comment. + +Sun Mar 8 05:11:50 1992 Karl Berry (karl at fosse) + + * global.h (dtoa): rename from `ftoa'. + + * c-memstr.h (strstr) [!USG or STDC_HEADERS]: declare it. + + * global.h (ROUND): cast the result to int, and simplify. + +Sat Mar 7 16:59:04 1992 Kathy Hargreaves (kathy at hayley) + + * filename.h (sizeless_font_name): removed. + +Sat Mar 7 11:26:59 1992 Karl Berry (karl at fosse) + + * c-std.h [!STDC_HEADERS]: declare getenv. + + * varstring.h (vs_set_char): change parameter name to avoid + warnings. + + * c-minmax.h [!FLT_MIN]: define FLT_MIN and FLT_MAX. + + * c-memstr.h [NEED_MEMORY_H]: include instead of + #defining memcpy. + Also declare strtok if including , and memchr if + using #define of memcpy. + +Sat Mar 7 10:02:24 1992 Karl Berry (karl at hayley) + + * pbmplus.h, c-proto.h: use #if __STDC__, not #ifdef. + + * config.h: break out into various files. + +Tue Mar 3 16:28:26 1992 Karl Berry (karl at hayley) + + * filename.h (find_suffix): new routine. + +Sun Mar 1 14:48:41 1992 Kathy Hargreaves (kathy at hayley) + + * filename.h (make_output_file): added. + +Sun Mar 1 13:00:17 1992 Karl Berry (karl at hayley) + + * bb-outline.h, pbm.h, pbmplus.h: new files from imagetofont. + +Mon Feb 24 08:07:47 1992 Karl Berry (karl at hayley) + + * lib.h (X{RE,}TALLOC): cast the result to the right pointer type, + for the benefit of broken compilers which don't cast void *'s. + + * config.h (P...): new macros to omit prototypes if not __STDC__. + * lib.h: new file with some declarations moved from global.h. + * {pathsearch,xstat,dirio}.h: use un/prototyping macros. + + * global.h (ARE_EQUAL_POINTS): remove, as no one uses this anymore. + + * global.h ({START,END}_{FATAL,WARNING}): use fputs instead of + fprintf for constant strings. + +Mon Feb 17 07:26:13 1992 Karl Berry (karl at hayley) + + * filename.h (sizeless_font_name): new routine. + + * bzr.h (bzr_char_type): declare the character code as + `charcode_type'. + + * hexify.h: new file. + + * tfm.h: doc fixes. + + * varstring.h (vs_{set,append}_char): doc fix. + +Sun Feb 16 11:47:27 1992 Kathy Hargreaves (kathy at hayley) + + * tfm.h (TFM_KERN): added. + +Sun Feb 16 10:38:56 1992 Karl Berry (karl at hayley) + + * config.h: figure out NAME_MAX like we figure out PATH_MAX. + +Fri Feb 14 08:29:42 1992 Karl Berry (karl at hayley) + + * varstring.h (variable_string): add `used' field; rename `length' + to `allocated'. + (VS_USEd): new macro. + + * varstring.h (vs_free): new routine. + + * encoding.h (ENCODING_VECTOR_SIZE): define this. + (encoding_info_type): use it to define the array. + +Tue Feb 11 10:23:43 1992 Karl Berry (karl at hayley) + + * config.h [NEED_MEMORY_H]: include . + + * config.h [LIMITS_H_MISSING]: include . + + * config.h [STDC_HEADERS]: include if this is defined. + +Thu Feb 6 17:25:55 1992 Karl Berry (karl at claude.cs.umb.edu) + + * global.h (MIN) [!MIN]: define it conditionally. + +Sat Feb 1 14:54:51 1992 Karl Berry (karl at hayley) + + * filename.h (depath): remove. + + * pathsearch.h (initialize_path_list): change decl to remove + subdir paths; that's now indicated by // ending a path element. + * paths.h-dist (DEFAULT_SUBDIR_PATH): remove. + * filename.h: doc fix. + +Thu Jan 16 09:27:16 1992 Karl Berry (karl at hayley) + + * global.h (MAX, MIN): remove unnecessary parens. + +Tue Jan 14 16:04:05 1992 Karl Berry (karl at hayley) + + * config.h: include before . + * types.h: don't include again. + +Sun Jan 12 14:58:11 1992 Karl Berry (karl at hayley) + + * pathsearch.h (initialize_path_list): doc fix. + +Sat Jan 11 15:02:09 1992 Karl Berry (karl at hayley) + + * pathsearch.h (initialize_path_list): declare additional arg. + +Fri Jan 10 07:41:51 1992 Karl Berry (karl at hayley) + + * config.h (PATH_MAX): define this as the maximum length of a + filename. + + * types.h (const_string): new type. + + * config.h (DBL_MIN) [!DBL_MIN]: define it. + + * tfm.h: include fix-num.h. + + * varstring.h: change names to start with `vs'. + + * filename.h (find_dpi): move decl to cmdline.h. + (basename): move to global.h. + +Thu Jan 9 08:41:59 1992 Karl Berry (karl at hayley) + + * global.h: don't include kbase.h; declare commonly-used routines here. + * kbase.h, convert.h: remove. + + * cmdline.h: include getopt.h. + (scan_integer_list): rename to `scan_unsigned_list'. + + * scaled-num.h, fix-num.h: new files. + + * *.h: remove #pragma once. + + * config.h: include global.h. + + * config.h: update for new configuration stuff. + + * types.h: include . + +Wed Jan 8 15:30:11 1992 Karl Berry (karl at hayley) + + * config.h: do not include conf-sys.h, as we don't need it + any more; change `conf-sysauto.h' to `config-auto.h'. + + * update copyright messages. + + * change `allocate to `xmalloc', `reallocate' to `xrealloc', and + `string_copy' to `strdup'. + +Tue Jan 7 17:26:38 1992 Karl Berry (karl at hayley) + + * bitmap.h: doc fix. + +Mon Dec 23 16:47:05 1991 Karl Berry (karl at hayley) + + * encoding.h (encoding_number): new declaration. + +Fri Nov 22 16:38:13 1991 Karl Berry (karl at hayley) + + * tfm.h (TFM_VERSION_PARAMETER): new font parameter. + +Wed Nov 20 08:38:28 1991 Karl Berry (karl at hayley) + + * varstring.h: doc fix. + +Tue Oct 1 11:55:29 1991 Karl Berry (karl at hayley) + + * Bitmap.h: document FillSelection. + +Tue Jul 30 13:18:57 1991 Karl Berry (karl at ra.cs.umb.edu) + + * Version 0.3. + +Fri Jul 26 10:37:51 1991 Karl Berry (karl at hayley) + + * vector.h: doc fix. + +Wed Jul 24 06:32:44 1991 Karl Berry (karl at hayley) + + * bitmap.h (concat_bitmaps): remove. + + * kbase.h (xcalloc): new fn declaration. + +Fri Jul 19 09:39:58 1991 Karl Berry (karl at hayley) + + * paths.h-dist (DEFAULT_LIB_PATH): the envvar is FONTUTIL_LIB, not + AUX_FONT_FILES. + + * global.h [STDLIB_H]: reverse conditional, to STDLIB_H_MISSING. + +Tue Jul 16 08:25:49 1991 Karl Berry (karl at hayley) + + * bitmap.h: doc fix. + +Mon Jul 15 18:02:28 1991 Karl Berry (karl at hayley) + + * convert.h (POINTS_TO_PIXELS): round the result after adding .5, + not before. + +Fri Jul 5 07:54:04 1991 Karl Berry (karl at hayley) + + * xt-common.h (DEFINE_RESOURCE): take the field name as an arg. + (IMMEDIATE_RESOURCE2): new macro. + (IMMEDIATE_RESOURCE): call above. + + * xt-common.h (Pointer): define to be a synonym for XtPointer. + + * kbase.h (XRETALLOC): new macro to go with XTALLOC. + +Thu Jul 4 16:20:53 1991 Karl Berry (karl at hayley) + + * convert.h (POINTS_TO_PIXELS): round the result. + +Sun Jun 30 09:13:26 1991 Karl Berry (karl at hayley) + + * xt-common.h (DEFINE_RESOURCE, IMMEDIATE_RESOURCE, + STRING_RESOURCE): new macros. + + * Item.h: include types.h. + +Thu Jun 27 11:26:58 1991 Karl Berry (karl at hayley) + + * xt-common.h (XFIND_WIDGET): improve error message. + + * Bitmap.h: include bitmap.h. + + * font.h (get_char, get_raw_char, raw_char_type): use + `charcode_type' for the character codes. + +Tue Jun 25 08:54:57 1991 Karl Berry (karl at hayley) + + * Bitmap.h (BITMAP_DEFAULT_EXPANSION): new symbol. + +Thu Jun 20 08:06:07 1991 Karl Berry (karl at hayley) + + * xt-common.h (XFIND_WIDGET): safeguard against a collision with + the name `w'. + + * types.h (charcode_type): define to be `one_byte', not `int'. + + * tfm.h (tfm_global_info_type): use `charcode_type' for the + character codes. + * font.h (char_info_type): likewise. + +Tue Jun 18 07:05:03 1991 Karl Berry (karl at hayley) + + * xt-common.h (XFIND_WIDGET): new macro. + +Mon Jun 17 09:52:44 1991 Karl Berry (karl at hayley) + + * xt-common.h (XTPARSE_CHAR_CODE): new macro. + + * Item.h (ItemGetLabelString): new fn. + + * global.h (PIXELS_TO_POINTS): move to convert.h. + * convert.h (POINTS_TO_PIXELS): new macro. + + * xt-common.h (XTARG, SINGLE_CALLBACK, DECLARE_BUTTON, + DEFINE_BUTTON): new macros. + +Sat Jun 15 09:23:41 1991 Karl Berry (karl at hayley) + + * font.h (font_info_type): new member `tfm_filename'. + (FONT_TFM_FILENAME): new macro to get it. + + * file-misc.h (xmove_file): new routine. + + * tfm.h (tfm_char_type): new member `code'. + + * tfm.h (tfm_put_char): new routine. + + * font.h (get_bitmap_font): doc fix. + + * {dirio,font-open,font-misc}.h: change `checked_' to `x'. + + * font.h (font_info_type): new member `tfm_font'. + (FONT_TFM_FONT): new macro to get it. + +Wed Jun 12 10:48:42 1991 Karl Berry (karl at hayley) + + * font.h (CHAR_BITMAP_{WIDTH,HEIGHT}, CHAR_{MIN,MAX}_{COL,ROW}): + remove extra parentheses. + +Tue Jun 11 15:06:04 1991 Karl Berry (karl at hayley) + + * tfm.h (tfm_ligature_type, tfm_kern_type): use `charcode_type' + instead of `one_byte'. + (tfm_{g,s}et_kern): likewise. + + * kbase.h (XTALLOC): new macro to allocate N items of a particular + type. + +Sun Jun 9 11:14:40 1991 Karl Berry (karl at hayley) + + * font.h (CHAR_BITMAP_PIXEL): remove this. + +Thu Jun 6 07:29:43 1991 Karl Berry (karl at hayley) + + * All files: change to version 2 of the GPL. + +Fri May 31 14:31:51 1991 Kathy Hargreaves (kathy at hayley) + + * cmdline.h (GET_PERCENT): Changed test of temp to be > 100, not + >= 100. + +Wed May 29 15:54:41 1991 Kathy Hargreaves (kathy at hayley) + + * cmdline.h (ARGUMENT_IS): Remove unnecesary surrounding parens. + +Tue May 21 10:49:16 1991 Karl Berry (karl at hayley) + + * tfm.h (tfm_get_char): new routine. + + * types.h (file_descriptor_type): delete. + (charcode_type): new type definition. + +Thu May 16 07:36:07 1991 Karl Berry (karl at hayley) + + * font.h: doc fix. + + * xmessage.h: new file. + +Fri Apr 26 15:29:32 1991 Karl Berry (karl at hayley) + + * global.h (SIGN, MAX_EQUALS, MIN_EQUALS): new macros. + +Sun Apr 21 17:34:20 1991 Karl Berry (karl at hayley) + + * bitmap.h (VALID_LOCATION): rename to `BITMAP_VALID_PIXEL'. + (bitmap_to_bb): declare the arg as const. + +Mon Apr 15 14:06:32 1991 Karl Berry (karl at hayley) + + * encoding.h: doc fix. + +Sat Apr 13 17:38:43 1991 Karl Berry (karl at hayley) + + * libfile.h: doc fix. + +Fri Apr 12 15:12:12 1991 Karl Berry (karl at hayley) + + * logreport.h: new file. + +Mon Apr 8 08:39:19 1991 Karl Berry (karl at hayley) + + * font.h (ascender_part): remove declaration. + +Sun Apr 7 14:30:30 1991 Karl Berry (karl at hayley) + + * file-output.c (put_signed_two, put_signed_byte): new routines. + (put_signed_four): make a #define. + +Tue Apr 2 06:40:10 1991 Karl Berry (karl at hayley) + + * tfm.h (TFM_AXISHEIGHT_PARAMETER): I omitted the parameter number + for this (22). + +Mon Apr 1 07:53:15 1991 Karl Berry (karl at hayley) + + * encoding.h, libfile.h: new files. + +Sun Mar 31 14:45:03 1991 Karl Berry (karl at hayley) + + * font.h (get_char): doc fix. + +Sat Mar 23 16:23:31 1991 Karl Berry (karl at hayley) + + * tfm.h: doc fix. + +Mon Mar 11 09:24:01 1991 Karl Berry (karl at hayley) + + * bzr.h (bzr_preamble_type): remove the member `space'. + (BZR_SPACE): remove this macro. + +Sun Mar 10 10:19:39 1991 Karl Berry (karl at hayley) + + * tfm.h (tfm_global_info_type): new member `parameter_count'. + (TFM_FONT_PARAMETER_COUNT): new macro to get it. + + * tfm.h (tfm_init_global_info): declare this. + +Sat Mar 9 17:00:11 1991 Karl Berry (karl at hayley) + + * tfm.h (TFM_CHECKSUM, TFM_DESIGN_SIZE, TFM_CODING_SCHEME): new + accessor macros for `tfm_global_info_type'. + (TFM_MAX_FONT_PARAMETERS): define this. + (tfm_global_info_type): define the parameters as an array, instead + of as separate members. + (TFM_FONT_PARAMETER): new macro to get at the parameters. + + * kbase.h (string functions): declare args as const. + + * kbase.h (lowercasify): declare this. + +Thu Mar 7 07:26:19 1991 Karl Berry (karl at hayley) + + * Version 0.2. + + * cmdline.h: include filename.h. + +Wed Mar 6 10:23:28 1991 Kathy Hargreaves (kathy at hayley) + + * global.h (LIB_ENVVAR): define to be `FONTUTIL_LIB' instead of + `FIT_OUTLINES'. + +Tue Mar 5 14:39:35 1991 Karl Berry (karl at hayley) + + * font.h (CHAR_HEIGHT, CHAR_DEPTH): use CHAR_MAX_ROW and + CHAR_MIN_ROW. + + * tfm.h: doc fix. + +Mon Feb 25 15:15:56 1991 Karl Berry (karl at hayley) + + * font.h: doc fix. + + * gf.h (new_gf_postamble): remove declaration. + + * gf.h: change names to start with `gf_'. + + * pk.h: change names to start with `pk_'. + + * tfm.h (tfm_convert_pl): take a new parameter to say whether we + should run silently. + + * tfm.h: change names to start with `tfm_'. + + * bzr.h: change names to start with `bzr_'. + +Sun Feb 24 12:40:22 1991 Karl Berry (karl at ra.cs.umb.edu) + + * global.h (scanf) [!POSIX]: declare for SunOS4.1. + + * global.h (abs, atoi, free, malloc, rand) [BSD4 || SUNOS4_0]: + declare conditionally. + + * global.h [HAVE_STDLIB_H]: include based on this, + instead of _POSIX_SOURCE. + +Sat Feb 16 16:50:14 1991 Karl Berry (karl at hayley) + + * global.h [USE_MEMORY_H]: change conditional for including + . + + * dirio.h (directory_entry_type) [DIRENT]: change conditional from + being on `BSD43'. + (checked_lstat) [HAVE_SYMBOLIC_LINKS]: change conditional from + being on S_IFLNK and S_ISLNK. + + * global.h (LIB_ENVVAR): new symbol to define the envvar with + which we look up our auxiliary files. + +Tue Jan 29 10:06:33 1991 Karl Berry (karl at hayley) + + * vector.h: doc fix. + +Mon Jan 28 16:53:21 1991 Karl Berry (karl at hayley) + + * global.h [!RAND_MAX]: define it. + +Wed Jan 23 16:25:00 1991 Karl Berry (karl at hayley) + + * Bitmap.h: document the new actions. + +Tue Jan 22 15:44:20 1991 Karl Berry (karl at hayley) + + * bitmap.h (extract_subbitmap): new routine from imgtogf. + +Mon Jan 21 16:11:23 1991 Karl Berry (karl at hayley) + + * xt-common.h (action_proc_type): new typedef. + +Sat Jan 19 06:34:59 1991 Karl Berry (karl at hayley) + + * Item.h (ItemGetValueWidget): new routine. + + * Bitmap.h (BitmapExpansion): new routine. + +Fri Jan 18 08:03:23 1991 Karl Berry (karl at hayley) + + * vector.h: declare args to be const. + + * vector.h (Vabs): new routine. + +Tue Jan 15 15:26:29 1991 Karl Berry (karl at hayley) + + * spline.h (NEXT_SPLINE_LIST_ELT, PREV_SPLINE_LIST_ELT): new + macros. + + * bzr.h (bzr_char_type): the shape is now a spline list array. + + * spline.h (LAST_SPLINE_LIST_ELT): new macro. + + * spline.h (spline_list_array_type): new type, plus the macros to + access the fields. + (new_spline_list_array, free_spline_list_array, + append_spline_list): declare the new routines. + + * spline.h (append_spline_list): rename to concat_spline_lists. + +Sun Jan 13 15:29:36 1991 Karl Berry (karl at hayley) + + * font.h (raw_char_type): move raw_gf_char_type to here, plus the + macros. Add the `bitmap_format' field, and `bitmap_format_type' + from font.c. + (get_raw_char, free_raw_char): declare these. + +Sat Jan 12 14:54:18 1991 Karl Berry (karl at hayley) + + * gf.h (raw_gf_char_type): new type, plus macros to access the + fields. + (get_raw_gf_char, put_raw_gf_char): declare these new routines. + +Mon Jan 7 15:54:11 1991 Karl Berry (karl at hayley) + + * spline.h (spline_type): add a `linearity' member and accessor + macro. + +Wed Dec 12 15:49:43 1990 Karl Berry (karl at ra.cs.umb.edu) + + * global.h (random) [not _POSIX_SOURCE]: declare it. + + * global.h (S_ISDIR) [not S_ISDIR]: change condition from + POSIX_SOURCE, since some non-POSIX systems define it. + + * global.h: make declarations based on SunOS4_0 instead of SunOS4, + because now we have to distinguish SunOS 4.1, also. + +Sun Dec 9 11:08:49 1990 Karl Berry (karl at hayley) + + * bzr.h (bzr_char_type): change the member name to `bb', so the + CHAR_... macros will work. + (BZR_CHAR_BB): change accordingly. + + * bzr.h (BZR_CHAR_CODE, BZR_SET_WIDTH): remove, the CHAR_... + routines will do. + + * dirio.h (checked_chdir, checked_stat, checked_lstat, getwd): + declare these new routines. + (checked_opendir, is_dir): declare the arguments const. + +Sat Nov 17 11:10:13 1990 Karl Berry (karl at hayley) + + * kbase.h: don't include the file routines. + + * kbase.h (distance): declare this. + +Tue Oct 9 08:56:06 1990 Karl Berry (karl at hayley) + + * cmdline.h (scan_integer_list): declare this. + +Mon Oct 8 09:01:36 1990 Karl Berry (karl at hayley) + + * cmdline.h (FINISH_COMMAND_LINE): only look for the resolution if + CMDLINE_NO_DPI is undefined. + + * cmdline.h: new file. + * global.h (ARGUMENT_IS, GET_PERCENT, GET_RANGE): move to cmdline.h. + + * filename.h (find_dpi): new routine. + +Wed Oct 3 07:20:57 1990 Karl Berry (karl at hayley) + + * file-misc.h (same_file_p): doc fix. + + * filename.h (find_pk_filename, find_gf_filename, + find_tfm_filename): new routines. + +Fri Sep 28 10:15:59 1990 Karl Berry (karl at hayley) + + * global.h (M_PI) [!_POSIX_SOURCE]: define this. + +Thu Sep 27 11:59:55 1990 Karl Berry (karl at hayley) + + * global.h (chdir): declare it. + + * filename.h (find_subdir_path_filename): new routine. + +Mon Sep 24 16:39:39 1990 Karl Berry (karl at claude) + + * global.h [!_POSIX_SOURCE] (S_ISDIR): don't give the `.st_mode'. + + * global.h [SunOS40]: include . + + * global.h: use the symbol SunOS40, not SunOS4. + +Sun Sep 23 20:18:56 1990 Karl Berry (karl at claude) + + * global.h: always include ; define stdio functions if + either BSD43 or SunOS4 are defined. + +Fri Sep 21 08:25:22 1990 Karl Berry (karl at hayley) + + * global.h (S_ISDIR) [!_POSIX_SOURCE]: new macro. + + * global.h [BSD43]: conditionally include or else + and . + + * global.h [!USG]: declare functions conditionally based on BSD43, + not !USG. + * dirio.h: likewise. + +Thu Sep 13 10:38:43 1990 Karl Berry (karl at hayley) + + * convert.h (xparse_char_code): new routine. + (parse_char_code): return a status indicator. + * global.h (GET_RANGE): use it. + + * convert.h (all routines): declare parameters as const. + + * font.h (PARSE_CHAR_CODE): rewrite as a routine, in + kbase/convert.c. + * convert.h (parse_char_code): declare it. + +Sun Sep 9 07:14:02 1990 Karl Berry (karl at hayley) + + * font.h (PARSE_CHAR_CODE): test if the character code is less + than zero, not less than -1. + + * convert.h: new file. + * kbase.h: include it. + +Sat Sep 8 10:06:44 1990 Karl Berry (karl at hayley) + + * global.h (GET_RANGE): new macro to read a character range + argument. + + * font.h (PARSE_CHAR_CODE): new macro. + +Thu Sep 6 09:01:01 1990 Karl Berry (karl at hayley) + + * bitmap.h (new_bitmap): say that the bitmap is initialized to + white. + +Mon Sep 3 11:06:25 1990 Karl Berry (karl at hayley) + + * line.h (read_line): say the string is dynamically allocated. + +Sat Sep 1 09:38:31 1990 Karl Berry (karl at hayley) + + * report.h (REPORT*): print to stderr, instead of stdout. + +Fri Aug 31 08:38:31 1990 Karl Berry (karl at hayley) + + * global.h: declare getpid and unlink. + + * font.h (get_bitmap_font, bitmap_font_type): new routine, and the + structure it returns. + +Thu Aug 30 16:29:33 1990 Karl Berry (karl at hayley) + + * systypes.h: define __TYPES__, for the sake of X. + +Wed Aug 29 11:05:25 1990 Karl Berry (karl at hayley) + + * kbase.h: split up declarations of file functions into new files + `file-input.h', `file-output.h', `file-open.h', and `file-misc.h'. + +Thu Aug 23 07:15:38 1990 Karl Berry (karl at hayley) + + * filename.h (remove_suffix): new routine. Also, declare all the + others to take `const string's instead of just `string's. + +Tue Aug 21 11:30:14 1990 Karl Berry (karl at hayley) + + * report.h: new file. + + * global.h (STREQ): new macro. + +Sat Aug 4 14:00:13 1990 Karl Berry (karl at hayley) + + * global.h: use `USG' for the conditional, instead of `USGr3'. + * dirio.h: likewise. + +Wed Jul 25 08:19:28 1990 Karl Berry (karl at hayley) + + * kbase.h (concat5): new routine. + +Tue Jul 24 10:24:35 1990 Karl Berry (karl at hayley) + + * font.c (font_info_type): new member for the design size in + points. + + * filename.h: new file. + * kbase.h (make_suffix, find_path_filename): move declarations to + it. + + * gf.h (put_gf_postamble): doc fix. + + * font.h (char_info_type): define a new field for the TFM width + and a macro to get it. + +Sun Jul 22 10:44:31 1990 Karl Berry (karl at hayley) + + * font.h (get_char): doc fix. + +Sat Jul 21 08:57:24 1990 Karl Berry (karl at hayley) + + * global.h (sleep): declare this standard library function. + +Fri Jul 20 15:20:43 1990 Karl Berry (karl at hayley) + + * global.h (PIXELS_TO_POINTS): define this. + +Thu Jul 19 15:10:08 1990 Karl Berry (karl at aten) + + * global.h [!USGr3]: declare sscanf. + + * global.h: include + +Mon Jul 16 07:25:06 1990 Karl Berry (karl at hayley) + + * bitmap.h (bitmap_to_bb): new routine. + +Tue Jul 10 06:09:55 1990 Karl Berry (karl at hayley) + + * bitmap.h (BITMAP_ROW): new macro. + + * bitmap.h (concat_bitmaps): declare this. + + * spline.h: doc fix. + +Mon Jul 9 11:04:20 1990 Karl Berry (karl at hayley) + + * bitmap.h (get_bitmap_bounding_box): remove declaration. + +Sat Jul 7 11:37:21 1990 Karl Berry (karl at hayley) + + * line.h (read_line): doc fix. + + * global.h (GET_PERCENT): new macro. + +Wed Jul 4 12:05:41 1990 Karl Berry (karl at hayley) + + * bounding-box.h (BB_WIDTH): don't add 1, to make it work with the + GF routines. + + * bounding-box.h (update_bounding_box): declare this. + +Sun Jul 1 15:11:46 1990 Karl Berry (karl at hayley) + + * font.h (ascender_part): declare this. + +Tue Jun 26 11:27:03 1990 Karl Berry (karl at hayley) + + * vector.h (Padd, Pmult_scalar): define as macros. + +Tue Jun 19 10:18:48 1990 Karl Berry (karl at hayley) + + * kbase.h (move_to_byte): delete this. + (cur_pos): rename to `checked_ftell', and take a string argument. + + * bzr.h (bzr_preamble_type): add the interword space. + (bzr_postamble_type): add the number of characters. + (get_next_bzr_char): delete this, and add get_bzr_char, to get a + specific character. + +Mon Jun 4 16:21:56 1990 Karl Berry (karl at hayley) + + * spline.h (spline_bounding_box): remove this declaration. + +Sun Jun 3 11:22:58 1990 Karl Berry (karl at hayley) + + * kbase.h, vector.h: add const declarations. + + * all files: use `(void)' in the prototypes where appropriate. + +Sat Jun 2 07:56:01 1990 Karl Berry (karl at hayley) + + * bounding-box (update_real_bounding_box): declare this. + + * bounding-box.h (increase_int_bound): remove this. + + * font.h, spline.h: include , since we use FILE. + + * spline.h (SPLINE_LIST_LENGTH, SPLINE_LIST_DATA, + SPLINE_LIST_ELT): new accessor macros. + +Wed May 30 16:20:35 1990 Karl Berry (karl at hayley) + + * tfm.h (tfm_char_type): add a new member, `exists', since a width + of zero does not imply the character does not exist. + +Sat May 26 08:19:24 1990 Karl Berry (karl at hayley) + + * varstring.h (variable_string): remove the structure tag, since + it was only needed for an old version of gdb. + +Sat May 19 12:27:35 1990 Karl Berry (karl at hayley) + + * global.h: declare the functions if USGr3 is not defined, instead + of the hardware types. + +Sun May 13 14:33:52 1990 Karl Berry (karl at hayley) + + * dirio.h (is_dir): declare this. + +Sat May 12 08:35:44 1990 Karl Berry (karl at hayley) + + * list.h (LIST_DATA): new macro to get the entire array. + +Thu May 3 08:40:53 1990 Karl Berry (karl at hayley) + + * tfm.h (TFM_FIX_WIDTH): new accessor macro. + + * gf.h (new_gf_char): remove declaration. + +Sun Apr 22 14:51:51 1990 Karl Berry (karl at aten) + + * font.h (CHAR_HEIGHT): don't return the boolean value. + Also, forgot to include the baseline row. + + * font.h (font_info_type): remove the `height' and `depth' members. + +Wed Apr 18 15:54:09 1990 Karl Berry (karl at aten) + + * global.h [!i386]: declare sprintf, scanf. + +Sat Apr 14 14:53:23 1990 Karl Berry (karl at hayley) + + * kbase.h (checked_fclose): declare it. + +Thu Apr 12 12:19:19 1990 Karl Berry (karl at hayley) + + * list.h (LIST_ELT, LIST_SIZE): define these macros to use the + list_type structure. + + * types.h (REAL): take this type out; `real' will suffice. + (COMPLEX): rename this type to `complex'. + + * kbase.h (find_path_name): new argument for a default path. + + * global.h: declare access(2) and an access_bit_type for its + second argument. + +Tue Apr 10 07:14:38 1990 Karl Berry (karl at hayley) + + * global.h (MAX): only define it if it's not already defined. + +Sun Apr 8 10:32:18 1990 Karl Berry (karl at hayley) + + * bitmap.h (BITMAP_DIMENSIONS, ...): upcase names. + (BITMAP_BITS): new macro to access the bitmap pointer itself. + + * global.h: (max, min, ...): upcase names. + + * global.h (MAX_BOUND): only define it if it isn't already defined. + + * types.h (dimensions_width, dimensions_height): upcase names. + + * bounding-box.h (get_min_row, ...): change names to MIN_ROW, ... + + * gf.h (GF_CHECKSUM, GF_FONT_BB): new accessor macros. + + * tfm.h (tfm_get_checksum): declare this new routine. + + * types.h (fix_word): describe it as well as define it. + + * gf.h (gf_postamble_type): remove the special parameters; they + aren't needed anymore. + generic.h (generic_char_type): ditto. + + * generic.h (generic_char_type): change the names of some of the + members, for consistency with the pk names. + +Fri Apr 6 11:55:26 1990 Karl Berry (karl at hayley) + + * tfm.h: rename `get_interword_space' to `tfm_get_interword_space'. + +Fri Mar 16 19:52:12 1990 Karl Berry (karl at hayley) + + * global.h (ARGUMENT_IS): update for new version of getopt. + +Fri Feb 23 08:16:34 1990 Karl Berry (karl at hayley) + + * tfm.h (tfm_char_type): add fix_width et al. to the structure. + + * all files: add #pragma once. + +Wed Feb 7 17:20:51 1990 Karl Berry (karl at hayley) + + * tfm.h (tfm_get_design_size): new routine. + (tfm_get_coding_scheme): rename `get_coding_scheme'. + +Mon Jan 29 12:27:32 1990 Karl Berry (karl at hayley) + + * dirio.h: use USGr3 instead of i386 for the conditional. + + * kbase.h (atou): declare it. + + * global.h (ARGUMENT_IS): macro for use with getopt. + +Wed Jan 24 17:43:36 1990 Karl Berry (karl at hayley) + + * gf.h (ascender_part): declare it. + +Sun Jan 21 09:52:23 1990 Karl Berry (karl at hayley) + + * bounding_box.h (dimensions_to_bounding_box): rename to + dimensions_to_bb. Also, remove various other conversion routines + that are now unused. And rename the file to bounding-box.h. + +Fri Dec 22 17:32:04 1989 Karl Berry (karl at hayley) + + * tfm.h (tfm_get_x_height): new routine. + +Fri Nov 17 07:46:51 1989 Karl Berry (karl at hayley) + + * types.h: only #define FALSE and TRUE if they are not already + defined. (The X library defines them.) + +Tue Nov 14 22:57:50 1989 Karl Berry (karl at hayley) + + * global.h: add declaration for putenv. + +Mon Nov 13 08:18:21 1989 Karl Berry (karl at hayley) + + * global.h: add declaration for calloc. + +Sun Nov 12 20:19:07 1989 Karl Berry (karl at hayley) + + * global.h (get_string_argument, get_real_argument, + get_integer_argument): give error message if we don't have an + argument to get. + +Sat Nov 11 17:37:57 1989 Karl Berry (karl at hayley) + + * global.h (max, min): parenthesize arguments properly. + +Sun Nov 5 08:28:25 1989 Karl Berry (karl at hayley) + + * global.h (start_fatal, start_warning, end_fatal, end_warning): + swallow a trailing semicolon. + (print?): delete these. + +Mon Oct 30 12:36:38 1989 Karl Berry (karl at hayley) + + * all files: add the copyleft. + + * kbase.h (concat4): declare this. + + * tfm.h (put_tfm_global_info): take a structure, not a pointer. + (new_tfm_chars, new_tfm_char): declare these. + (TFM_SIZE): use this, instead of 256, even though it will never change. + +Sun Oct 29 08:03:46 1989 Karl Berry (karl at hayley) + + * global.h [! i386 || sun386]: declaration for strtok. Also add + prototypes for most routines. + + * tfm.h (put_pl_output_file): break this up into two new routines, + put_tfm_global_info and put_tfm_chars. + +Sat Oct 28 15:36:41 1989 Karl Berry (karl at hayley) + + * kbase.h (put_three): declaration for this. + + * types.h (THREE_BYTES_BIG): define this (1 << 24). + +Fri Oct 27 22:14:37 1989 Karl Berry (karl at hayley) + + * types.h, bitmap.h, gf.h, generic.h: cosmetic changes + (via indent -gnu). + +Wed Oct 18 18:43:38 1989 Karl Berry (karl at ice9) + + * global.h: the externs previously conditional on __i386__ are now + included also if the machine is a Sun 386i, i.e., they are + conditional on ! __i386__ || __sun386__. + +Sat Oct 14 16:04:31 1989 Kathy Hargreaves (kathy at hayley) + + * types.h: added dimensions_height and dimensions_width macros. + +Fri Oct 13 21:33:15 1989 Kathy Hargreaves (kathy at hayley) + + * global.h: define POINTS_PER_INCH. + + * global.h: change preprocessor symbol to __i386__ for -ansi's sake. + +Wed Oct 11 17:00:02 1989 Karl Berry (karl at mote) + + * global.h [not i386]: externs for fflush, ungetc, and fscanf. + + * dirio.h: system V calls a directory entry a `struct dirent *', + but BSD calls it a `struct direct *'. Make directory_entry_type + typedef to handle this, ifdefed on i386. + +Sun Oct 8 18:52:10 1989 Karl Berry (karl at hayley) + + * kbase.h (epsilon_equal): declare this. + (REAL_EPSILON): define this for use by epsilon_equal and clients. + + * bitmap.h (free_bitmap): declare this. + +Fri Oct 6 19:15:31 1989 Karl Berry (karl at hayley) + + * global.h: fflush stdout and stderr after warnings, to prevent + timing problems. + + * gf.h (print_gf_char): take a FILE * parameter. diff --git a/lib/ChangeLog.old b/lib/ChangeLog.old new file mode 100644 index 0000000..0f3ff5d --- /dev/null +++ b/lib/ChangeLog.old @@ -0,0 +1,1414 @@ +Tue Dec 26 10:16:08 1995 Kathy Hargreaves + + * identity.c (get_identity): Added. + +Sun Nov 26 12:47:00 1995 Kathy Hargreaves + + * bb-outline.c: (find_outline_bbs): Doc fix. + + * edge.c: (next_unmarked_outline_edge): Doc fix. + +Fri Nov 24 05:48:20 1995 Kathy Hargreaves + + * concat*.c: made arguments const_string's to conform to .h files. + Call assert on the arguments, that they aren't NULL, because it + makes strlen blow up if they are. Set answer to NULL, and only + work on it if all the arguments are non-NULL. + +Thu Nov 23 09:08:00 1995 Kathy Hargreaves + + * font.c: (get_font): replaced find_tfm_filename with kpse_find_tfm. + +Thu Aug 24 16:00:46 1995 Karl Berry + + * GNUmakefile (c_only): strstr is now in kpathsea. + +Sat May 27 13:52:19 1995 Karl Berry + + * GNUmakefile (c_only): atou is in kpathsea. + +Fri Apr 14 15:56:43 1995 Karl Berry + + * GNUmakefile (c_only): Remove xfseek and xftell. + +Mon Oct 24 19:04:34 1994 Karl Berry + + * GNUmakefile (c_only): basename is in kpathsea now. + +Sun May 1 15:31:10 1994 Karl Berry (karl@cs.umb.edu) + + * vector.c (Vangle): Declare const. + +Thu Sep 30 10:13:45 1993 Karl Berry (karl@cs.umb.edu) + + * str-to-bit.c (string_to_bitmap): Call close_font. + +Sun Aug 1 09:56:42 1993 Karl Berry (karl@cs.umb.edu) + + * Most *.c: Include files now in kpathsea. + + * GNUmakefile (c_only): Add statistics, remove many things now in + kpathsea. + +Tue Jul 27 09:24:08 1993 Karl Berry (karl@cs.umb.edu) + + * GNUmakefile (c_only): Remove dir-p and find-suffix (now in kpathsea). + +Fri May 21 13:45:30 1993 Karl Berry (karl@cs.umb.edu) + + * gmalloc.c (my_memmove): New routine, since ISC doesn't have a + real memmove. + +Thu May 20 19:11:05 1993 Karl Berry (karl@cs.umb.edu) + + * gmalloc.c: New file from the malloc distribution (plus a few + edits). + * GNUmakefile (malloc): Define to be gmalloc, and toss the old + malloc.c. + +Thu Apr 22 17:03:53 1993 Karl Berry (karl@cs.umb.edu) + + * remove-suffx.c (remove_suffix): If no suffix, return the string, + not NULL. + +Tue Apr 6 19:58:45 1993 Karl Berry (karl@cs.umb.edu) + + * malloc.c (getpagesize.h): Do not include. + (memalign, valloc): Remove, since we don't need them. + + * filename.c (find_tfm_filename): Call extend_filename to get the + `.tfm', instead of just concatenating. Not sure if this is a good + idea, but periods in font names are problematic all over, I think. + +Tue Mar 16 07:47:38 1993 Karl Berry (karl@cs.umb.edu) + + * fontmap.c (map_lookup): Don't extend the filename if there was + no suffix. + +Wed Mar 3 06:20:09 1993 Karl Berry (karl@cs.umb.edu) + + * xftell.c (xftell): Declare as unsigned long. + +Mon Jan 18 15:43:02 1993 Karl Berry (karl@cs.umb.edu) + + * xrealloc.c: Doc fix. + +Sun Jan 3 19:36:39 1993 Karl Berry (karl@cs.umb.edu) + + * pathsrch.c (R_OK): Defined in the config files now. + +Fri Dec 11 15:00:31 1992 Karl Berry (karl@cs.umb.edu) + + * font.c (print_char): Change ctype references to use uppercase macros. + * libfile.c (libfile_line), + * pathsrch.c (absolute_p), + * str-to-bit.c (string_to_bitmap), + * float-ok.c (float_ok), + * integer-ok.c (integer_ok), + * charspec.c (xparse_charspec): Likewise. + +Sun Nov 29 17:05:40 1992 Karl Berry (karl@cs.umb.edu) + + * xmessage.c [X_DISPLAY_MISSING]: Conditionalize whole file. + + * numtoa.c (xdtoa): Rename from `dtoa', to avoid Linux conflict. + (awasthi@cps.msu.edu) + +Tue Nov 17 09:25:58 1992 Karl Berry (karl@cs.umb.edu) + + * hexify.c: Doc fix. + +Mon Nov 16 16:08:39 1992 Karl Berry (karl@cs.umb.edu) + + * malloc.c (calloc): Complain if the malloc fails. + +Tue Oct 27 12:56:15 1992 Karl Berry (karl@cs.umb.edu) + + * Version 0.6. + +Sun Oct 25 06:26:42 1992 Karl Berry (karl@cs.umb.edu) + + * getopt.c: New version. + +Thu Oct 22 17:58:12 1992 Karl Berry (karl@cs.umb.edu) + + * make-suffix.c: Doc fix. + +Tue Oct 20 11:57:57 1992 Karl Berry (karl@cs.umb.edu) + + * filename.c (find_{gf,pk,tfm}_filename): Just concatenate the + suffix onto the main font name, don't replace a suffix. + +Mon Oct 5 10:07:59 1992 Karl Berry (karl@cs.umb.edu) + + * report.c (report_file): New variable. + +Sun Oct 4 09:13:24 1992 Karl Berry (karl@cs.umb.edu) + + * bb-list.c: New file, from bb-outline.c. + * GNUmakefile (c_only): Add it. + * bb-outline.c: Change calls and decls for new improved names. + +Sat Oct 3 16:58:38 1992 Karl Berry (karl@cs.umb.edu) + + * bb-outline.c: Doc fix. + +Tue Sep 22 12:46:49 1992 Karl Berry (karl@cs.umb.edu) + + * malloc.c (realloc): abort if we can't malloc enough memory to do + the realloc. + + * bitmap.c (bb_ensure_bounds): new routine. + (extract_subbitmap): call it. + +Mon Sep 21 12:00:35 1992 Karl Berry (karl@cs.umb.edu) + + * malloc.c: define NO_NEW_HANDLER. + +Thu Sep 3 09:31:06 1992 Karl Berry (karl@hayley) + + * Version 0.5. + +Thu Aug 27 09:06:25 1992 Karl Berry (karl@hayley) + + * getopt.c: update from MIT. + +Mon Aug 24 15:50:03 1992 Karl Berry (karl@hayley) + + * rand.c (k_rand): use Ghostscript's algorithm exactly, to avoid + overflow problems. + + * rand.c (seed_rand): Our simplification was a loser if the + state ever became zero, so set the state to the seed + 1, and + subtract again before output. + +Wed Aug 19 07:10:12 1992 Karl Berry (karl@hayley) + + * charspec.c: doc fix. + +Mon Aug 17 15:43:42 1992 Karl Berry (karl@hayley) + + * encoding.c: doc fix. + +Mon Aug 10 11:11:52 1992 Karl Berry (karl@hayley) + + * rand.c (x): change the default seed to 1. + +Mon Jul 27 15:29:33 1992 Karl Berry (karl@hayley) + + * charspec.c (xparse_charspec): use an `int' while figuring out + the charcode. + +Sat Jul 25 14:38:23 1992 Karl Berry (karl@hayley) + + * getopt.c: new version. + + * pathsrch.c (expand_tilde): cast the result of getpwnam. + +Sat Jul 18 16:35:41 1992 Karl Berry (karl@hayley) + + * edge.c: add ^L's. + +Fri Jul 3 15:26:12 1992 Karl Berry (karl@hayley) + + * charspec.c (xparse_charspec): if arg is one character long, and + undefined in the encoding, use its value in C. + +Fri Jun 26 16:53:39 1992 Karl Berry (karl@hayley) + + * charspec.c: new file. + * GNUmakefile: add it. + +Thu Jun 25 07:04:49 1992 Karl Berry (karl@hayley) + + * pathsrch.c (readable) [ENAMETOOLONG]: conditionalize the test + for doing our own truncating, since it appears not all systems + have ENAMETOOLONG. + +Sun Jun 14 08:11:32 1992 Karl Berry (karl@hayley) + + * font.c (get_font): remove computation of NCHARS (and reading of + all the TFM chars). + + * str-lcase.c (str_to_lower): assert the arg is non-null. + +Sat Jun 13 16:28:08 1992 Karl Berry (karl@hayley) + + * libfile.c (libfile_start): return the FILE * we open. + +Sat Jun 13 13:52:30 1992 Kathy Hargreaves (kathy@hayley) + + * encoding.c (DEFAULT_ENCODING): moved to .h file. + +Sat Jun 13 09:24:12 1992 Karl Berry (karl@hayley) + + * encoding.c: include `str-lcase.h', not `str-casefold.h'. + + * xmessage.c (x_message): cast initializer in `popup_args' to + avoid warning. + + * str-to-bit.c (string_to_bitmap): `TFM_FONT_PARAMETER' is now + `TFM_FONTDIMEN'. + + * pathsrch.c (absolute_p): add parens to stop GCC 2's stupid warning. + + * encoding.c: change for new list fn names. + * font.c: likewise. + + * list.c (new_list): rename to `list_init', and rewrite to use + accessor macros. + (append_element): rename to `list_append', and likewise rewrite. + (list_free): new routine. + +Sun Jun 7 17:25:43 1992 Karl Berry (karl@hayley) + + * encoding.c (coding_scheme_to_filename): rewrite to avoid + sentinel boolean, lowercasing the passed codingscheme more than + once, etc. + + * str-casefold.c (str_to_lower): rewrite to use ? :. + (str_to_upper): remove this. + Rename to str-lcase.c. + * GNUmakefile (c_only): change str-casefold to str-lcase. + +Sun Jun 7 14:39:09 1992 Kathy Hargreaves (kathy@hayley) + + * bb-outline.c (find_outline_bbs): don't calculate edge if it's an + interior pixel. + + * bb-outline.c (find_outline_bbs): deleted avoiding finding a + bounding box which corresponds to a counterform by not looking + inside existing bounding boxes. + Added finding the bounding box for a counterform (i.e., marking + its edges) but not adding it to the list unless find_all is true. + Changed find_all to find_inner. + +Sun Jun 7 08:55:31 1992 Karl Berry (karl@hayley) + + * GNUmakefile (c_only): add `str-to-bit'. + * font.c (string_to_bitmap): extract the interword space out of + the TFM information, instead of expecting it in the main font + structure. Also, move this fn to its own file, `str-to-bit.c'. + + * float-ok.c (float_ok): don't accept the empty string, or just a + sign, or just a sign and a `.', etc. + * integer-ok.c (integer_ok): likewise. + +Thu Jun 4 08:11:36 1992 Karl Berry (karl@hayley) + + * pathsrch.c (absolute_p): `k./' should not be considered + explicitly relative. + +Tue Jun 2 11:40:32 1992 Karl Berry (karl@hayley) + + * encoding.c (encoding_number): don't crash if NAME is NULL. + +Mon Jun 1 15:16:15 1992 Karl Berry (karl@hayley) + + * GNUmakefile (c_only): add `integer-ok' and `float-ok'. + * {integer,float}-ok.c: new files. + + * libfile.c (libfile_start): use extend_filename. + + * encoding.c (read_encoding_file): initialize the return structure + after we know the file exists. + +Fri May 29 08:29:26 1992 Karl Berry (karl@hayley) + + * getopt*.c: new versions. + +Sat May 23 15:51:53 1992 Karl Berry (karl@hayley) + + * charcode.c (parse_charcode): ensure there are no extra + characters at the end of the charcode; change return type to + charcode_type. + (xparse_charcode): change return type. + +Sat May 23 12:33:32 1992 Kathy Hargreaves (kathy@hayley) + + * str-casefold.c (str_to_lower): added variable `length'; put 0 at + end of return string. + +Sat May 23 06:27:28 1992 Karl Berry (karl@hayley) + + * dir-p.c (leaf_dir_p): remove; `expand_subdir' now calls stat + itself, for efficiency. + + * pathsrch.c (expand_subdir): rewrite to always look for subdirs. + (initialize_path_list): check for the dir-ness of `foo' in + `foo//'. This change makes symlinks under `foo' be considered. + + * pathsrch.c (add_directory): don't check for the arg being a + directory. + (initialize_path_list): check here for the directory-ness of a + path element. + (expand_subdir): check here, too. + + * pathsrch.c (expand_subdir): call closedir after we read the + directory contents. + +Thu May 21 11:40:53 1992 Karl Berry (karl@hayley) + + * hexify.c (hexify): take a block of memory and a length, instead + of a varstring. + +Tue May 19 16:43:43 1992 Kathy Hargreaves (kathy@hayley) + + * line.c (read_line): return a string if not at EOF. + +Sat May 16 21:22:57 1992 Kathy Hargreaves (kathy@hayley) + + * varstring.c (vs_concat): added. + +Fri May 15 10:22:27 1992 Karl Berry (karl@hayley) + + * getopt.c: new version. + +Thu May 14 22:05:10 1992 Karl Berry (karl@claude.cs.umb.edu) + + * rand.c (srand): -> seed_rand, to avoid header conflicts. + (rand): -> k_rand, same reason. + +Sun May 10 10:05:36 1992 Karl Berry (karl@hayley) + + * encoding.c (coding_scheme_to_filename): don't xstrdup the return + value. + (DEFAULT_ENCODING): new macro. + +Fri May 8 15:38:38 1992 Karl Berry (karl@hayley) + + * pathshare from dvips. + +Thu May 7 16:44:14 1992 Karl Berry (karl@hayley) + + * GNUmakefile (c_only): add dlsym. + * dlsym.c: new file. + +Wed May 6 10:08:09 1992 Karl Berry (karl@hayley) + + * bitmap.c (bitmap_find_transitions): don't look outside the + current row when it's only one pixel long. + +Tue May 5 08:46:48 1992 Karl Berry (karl@hayley) + + * dir-p.c: doc fix. + +Sat May 2 07:51:53 1992 Karl Berry (karl@hayley) + + * pathsrch.c (add_directory): use ?:. + +Thu Apr 30 08:52:34 1992 Karl Berry (karl@hayley) + + * pathsrch.c (parse_envpath): expand the ~ here; + (add_directory): not here. + + * pathsrch.c (expand_tilde): free space for the login name. + + * dir-p.c (leaf_dir_p): use stat, not xlstat, so we don't bomb + out on missing directories in paths, and so we get info about + the (potential) dir, not the link. + +Tue Apr 21 07:44:52 1992 Karl Berry (karl@hayley) + + * bitmap.c (bitmap_find_transitions): use XTALLOC1. + * font.c (get_char): likewise. + +Mon Apr 20 08:35:23 1992 Karl Berry (karl@hayley) + + * pathsrch.c: doc fix. + + * malloc.c: don't include config.h. + (my_bzero, my_bcopy): new routines to simplify things. + +Sat Apr 18 12:22:29 1992 Kathy Hargreaves (kathy@hayley) + + * str-casefold.c: added. + + * encoding.c (coding_scheme_to_filename): compare case-folded + versions of the coding scheme and the mapped scheme. + +Wed Apr 15 15:23:20 1992 Karl Berry (karl@hayley) + + * make-output.c: rename to `extend-fname.c'; rename the fn to + `extend_filename'. + * GNUmakefile (c_only): analogously. + +Wed Apr 15 13:20:11 1992 Kathy Hargreaves (kathy@hayley) + + * encoding.c (coding_scheme_to_filename): changed some variable + names; added `mapped_coding' and set it to a second call to + strtok with `mapping'. + +Tue Apr 14 13:46:45 1992 Karl Berry (karl@hayley) + + * scaled-num.c (scaled_to_real): as below. + +Sun Apr 12 15:06:58 1992 Karl Berry (karl@hayley) + + * scaled-num.c (real_to_scaled): simplify to just multiply the + real by SCALED_UNITY. + +Fri Apr 10 16:36:33 1992 Karl Berry (karl@hayley) + + * concat.c: put concat[345] in separate files. + * GNUmakefile (c_only): update. + + * filename.c: remove prefix/suffix routines. + ({make-{output,prefix,suffix},remove-suffx,find-suffix}.c): new files. + * GNUmakefile (c_only): update. + + * pathsrch.c (initialize_path_list): remove cwd_first_p. + * filename.c (find_*_filename): change calls. + * libfile.c (libfile_start): change call. + +Mon Apr 6 13:46:36 1992 Kathy Hargreaves (kathy@fosse) + + * encoding.c (encoding_scheme_to_filename): added. + +Fri Apr 3 13:17:22 1992 Karl Berry (karl@hayley) + + * rand.c: new file. + * GNUmakefile (c_only): include it. + +Wed Apr 1 14:14:01 1992 Karl Berry (karl at hayley) + + * (pathshare from web2c) + + * filename.c (make_output_filename): don't duplicate the input + string, just return it. + + * filename.c (remove_suffix): remove. + + * edge.c: new file. + * GNUmakefile (c_only): add it. + * bb-outline.c: remove edge stuff in favor of this new file. + +Tue Mar 31 13:35:51 1992 Karl Berry (karl at hayley) + + * bitmap.c (bitmap_find_transitions): handle a row with a single + black pixel at the end correctly. + +Sun Mar 29 10:58:27 1992 Karl Berry (karl at hayley) + + * xrealloc.c (xrealloc): cast the ptr. + + * file-input.c (get_n_bytes): had args switched to fatal. + + * bb-outline.c (is_outline_edge): remove the assertion that we're + at a valid pixel, since it's half-implied by the types, anyway. + + * GNUmakefile (malloc.o): remove the special rule and vars. + * malloc.c [STDC_HEADERS | USG]: add the former for memset etc. + +Sat Mar 28 07:49:09 1992 Karl Berry (karl at hayley) + + * malloc.c: new version, from libg++ 2.0. + + * GNUmakefile (malloc_stats): don't define this. + + * Version 0.4. + + * Change copyright years to 1992 only. + +Wed Mar 25 08:37:28 1992 Karl Berry (karl at hayley) + + * GNUmakefile (c_only): add fmod. + * fmod.c: new file. + +Thu Mar 19 07:47:30 1992 Karl Berry (karl at hayley) + + * pathsearch.c, libfile.c, filename.c: include paths.h. + + * pathsearch.c: rename to pathsrch.c; new version. + +Wed Mar 11 10:03:12 1992 Karl Berry (karl at hayley) + + * bitmap.c (bitmap_find_transitions): handle the pixel at the end + of the row specially, unfortunately. + +Tue Mar 10 12:17:09 1992 Kathy Hargreaves (kathy at hayley) + + * libfile.c (libfile_start): use find_suffix instead of finding a + dot position. + +Mon Mar 9 16:42:49 1992 Kathy Hargreaves (kathy at hayley) + + * filename.c (make_stem_suffix): remove suffix from name before + adding stem_suffix and putting suffix back on. + + * filename.c (make_stem_suffix): don't add a dot if no suffix. + + * filename.c (make_stem_suffix): added. + +Sun Mar 8 17:08:06 1992 Kathy Hargreaves (kathy at hayley) + + * filename.c (make_output_filename): put dot between NAME and + DEFAULT_SUFFIX. + +Sun Mar 8 08:37:46 1992 Karl Berry (karl at fosse) + + * numtoa.c (dtoa): rename from ftoa. + + * strstr.c: new file. + GNUmakefile (c_only): add strstr. + +Sat Mar 7 17:00:44 1992 Kathy Hargreaves (kathy at hayley) + + * filename.c (sizeless_font_name): removed. + +Sat Mar 7 13:21:33 1992 Karl Berry (karl at fosse) + + * xmessage.c: include xmessage.h. + + * GNUmakefile (c_only): remove statistics; we never use it. + + * pathsearch.c: add prototypes for the subroutines. + + * line.c: include line.h. + + * bb-outline.c (find_outlines_bbs): rename parameters to avoid + shadow warnings. + +Sat Mar 7 09:14:00 1992 Karl Berry (karl at hayley) + + * GNUmakefile (files, headers, sources): replace with `c_and_h', etc. + + * scaled-num.c (print_scaled): use putchar instead of printf where + possible. + +Wed Mar 4 10:40:02 1992 Karl Berry (karl at hayley) + + * filename.c (remove_suffix): don't include the `.' in what we + return. + +Tue Mar 3 16:28:38 1992 Karl Berry (karl at hayley) + + * filename.c (find_suffix): new routine. + (remove_suffix, make_output_filename, make_suffix): write in terms + of it. + +Sun Mar 1 16:33:49 1992 Kathy Hargreaves (kathy at hayley) + + * filename.c (make_output_file): use concat instead of make_suffix. + +Sun Mar 1 15:17:28 1992 Karl Berry (karl at hayley) + + * GNUmakefile (files): add bb-outline. + +Sun Mar 1 14:48:41 1992 Kathy Hargreaves (kathy at hayley) + + * filename.c (make_output_file): added. + +Mon Feb 24 08:38:56 1992 Karl Berry (karl at hayley) + + * pathsearch.c (truncate_pathname): separate this out from `readable'. + + * concat.c dir-p.c file-p.c pathsearch.c xmalloc.c xopendir.c + xrealloc.c xstat.c xstrdup.c: redo with (un)prototype macros. + +Wed Feb 19 10:00:35 1992 Karl Berry (karl at hayley) + + * varstring.c (vs_set_char): set the allocated field after we + allocate more space. + + * hexify.c (hexify): add 'a' to each hex char to make it visible + ASCII; shift the upper nybble down before adding. + +Mon Feb 17 07:38:27 1992 Karl Berry (karl at hayley) + + * filename.c (sizeless_font_name): new routine. + + * line.c (read_line): use vs_append_char, and generally simplify. + + * varstring.c (vs_append_char): don't append a null afterwards. + + * GNUmakefile (files): add it. + * hexify.c: new file. + +Sun Feb 16 10:31:41 1992 Karl Berry (karl at hayley) + + * pathsearch.c (readable): keep track of the component lengths + properly; do the second test on the new name, not the old. + +Sat Feb 15 16:10:30 1992 Karl Berry (karl at hayley) + + * pathsearch.c (READABLE): redo the macro as a function, and + truncate the pathname if necessary. + +Fri Feb 14 07:26:35 1992 Karl Berry (karl at hayley) + + * varstring.c (vs_append_char): use VS_USED instead of strlen. + (vs_init): initialize VS_USED to zero. + (vs_set_char): set VS_USED. + All routines: rename `VS_LENGTH to `VS_ALLOCATED'. + + * varstring.c (vs_free): new routine. + + * math.c (acosd): clear errno before testing it. + +Thu Feb 13 13:32:54 1992 Karl Berry (karl at hayley) + + * pathsearch.c (READABLE): call it readable if the error is + ENAMETOOLONG; include and declare errno if that is + undefined. + +Sun Feb 2 16:08:44 1992 Karl Berry (karl at hayley) + + * filename.c (find_{gf,pk}_filename): allocate enough space for + the null sprintf writes. + +Sat Feb 1 14:53:39 1992 Karl Berry (karl at hayley) + + * filename.c (depath): remove. + + * pathsearch.c (initialize_path_list): subdirectories are now + indicated by // terminating a path element, instead of as + a separate envvar/path. + * filename.c (find*filename): remove subdirectory stuff. + * libfile.c (libfile_start): likewise. + +Mon Jan 20 11:09:10 1992 Kathy Hargreaves (kathy at hayley) + + * filename.c (depath): added this routine to take the path off the + front of a filename. + + * filename.c (make_prefix): added this routine to add a prefix to + a filename which may or may not be the full pathname. + +Wed Jan 15 16:57:36 1992 Kathy Hargreaves (kathy at hayley) + + * libfile.c (libfile_start): when FATAL, report `name', not it + concatenated with the default suffix. + +Wed Jan 15 13:01:30 1992 Karl Berry (karl at hayley) + + * GNUmakefile (c_only): remove xchdir and xgetcwd, as we don't + need them anymore. + * pathsearch.c: changes from TeX. + +Wed Jan 15 11:59:56 1992 Kathy Hargreaves (kathy at hayley) + + * filename.c (find_*_filename): only free `name' if it's not the + same string as `*_name'. + +Tue Jan 14 12:36:15 1992 Kathy Hargreaves (kathy at hayley) + + * bitmap.c (bitmap_find_transitions): make the last transition + always imply a black-to-white transition, even if ROW's last + pixel is black. + + * libfile.c (libfile_start): make FATAL2 report `name', not + `filename' as the library file not found. Also, only add suffix + to the library file name if it doesn't have one already. + +Sun Jan 12 16:29:11 1992 Kathy Hargreaves (kathy at hayley) + + * filename.c (make_suffix): copy suffix into new_s, not s. + +Sun Jan 12 14:57:24 1992 Karl Berry (karl at hayley) + + * pathsearch.c (check_subdir): add every existing subdirectory, + even if it's not a leaf. + +Sun Jan 12 12:47:57 1992 Kathy Hargreaves (kathy at hayley) + + * libfile.c (libfile_start): don't prepend a dot to the suffix. + + * dir-p.c (dir_p): call stat instead of xstat. + +Sat Jan 11 15:01:02 1992 Karl Berry (karl at hayley) + + * filename.c (find_*_filename): set cwd_first_p. + + * pathsearch.c (initialize_path_list): take an additional + argument, saying whether to search `.' first. + +Fri Jan 10 07:40:50 1992 Karl Berry (karl at hayley) + + * xgetcwd.c (xgetcwd) [GETWD_MISSING]: if it's not missing, use + it. + + * filename.c (find_*_filename): only initialize the path lists + once. + + * pathsearch.c (expand_colon): if env_path is null, return the + default path. + + * file-input.c (MOVE_BACK): use xfseek. + + * filename.c (*_suffix): use strrchr instead of rpos. + + * varstring.c: change names to start with `vs'. + + * memory.c: split into various files. + + * math.c (adjacent_points): rename to `points_adjacent_p'. + + * math.c (find_bounds): use MAXDOUBLE and MINDOUBLE instead of + MAXFLOAT and MINFLOAT. + + * filename.c (find_dpi): move to cmdline.c. + (basename): move to basename.c. + +Thu Jan 9 08:57:39 1992 Karl Berry (karl at hayley) + + * convert.c: split into various files. + * GNUmakefile: update. + + * cmdline.c (scan_integer_list): rename to `scan_unsigned_list'. + + * *.c: do not include global.h. + + * arith.c: split into `scaled-num.c' and `fix-num.c'. + * GNUmakefile: update. + +Wed Jan 8 09:14:45 1992 Karl Berry (karl at hayley) + + * update copyright messages. + + * change `allocate to `xmalloc', `reallocate' to `xrealloc', and + `string_copy' to `strdup'. + + * list.c: doc fix. + +Tue Jan 7 17:28:07 1992 Karl Berry (karl at hayley) + + * filename.c (expand_colon): don't put the default value at the + end if we've already put it at the beginning. + +Thu Sep 12 11:06:58 1991 Karl Berry (karl at hayley) + + * malloc.c (malloc_sanity_check): new function. + + * bitmap.c (bitmap_find_transitions): rearrange logic for clarity. + + * malloc.c, getpagesize.h: new files. + * GNUmakefile (c_only): add Doug Lea's malloc. + (malloc_stats, malloc_inline): new variables. + (malloc.o): rule to explicitly use them. + +Tue Jul 30 13:18:12 1991 Karl Berry (karl at ra.cs.umb.edu) + + * Version 0.3. + +Wed Jul 24 06:34:11 1991 Karl Berry (karl at hayley) + + * bitmap.c (concat_bitmaps): remove; it's only used in one program. + + * bitmap.c (new_bitmap): call it. + + * memory.c (xcalloc): new routine. + +Tue Jul 16 08:24:08 1991 Karl Berry (karl at hayley) + + * memory.c (allocate): don't do assignment inside if. + + * bitmap.c (bitmap_find_transitions): we don't need to look at the + first black pixel twice. + +Fri Jun 28 09:09:59 1991 Karl Berry (karl at hayley) + + * font.c (close_font): only close the TFM file if the font is not + bitmap-only. + +Sat Jun 15 09:51:45 1991 Karl Berry (karl at hayley) + + * font.c (get_font): set the new `tfm_font' and `tfm_filename' + members. + + * {dirio,file-misc,file-open,filename,libfile}.c: change + `checked_' to `x'. + +Tue Jun 11 16:46:25 1991 Karl Berry (karl at hayley) + + * font.c (get_char): use XTALLOC. + + * font.c (close_font): close the TFM file here, instead of in + `get_font'. + +Sun Jun 9 13:23:59 1991 Karl Berry (karl at hayley) + + * font.c (string_to_bitmap): use `BITMAP_PIXEL (CHAR_BITMAP'... + instead of `CHAR_BITMAP_PIXEL'. + +Thu Jun 6 07:30:07 1991 Karl Berry (karl at hayley) + + * All files: change to version 2 of the GPL. + +Sat Jun 1 16:00:03 1991 Kathy Hargreaves (kathy at hayley) + + * libfile.c (libfile_start): Don't concat a `.' to suffix if it's + the empty string. + +Thu May 16 07:35:47 1991 Karl Berry (karl at hayley) + + * GNUmakefile (files): include `xmessage' (from xbce). + * xmessage.c: new file. + +Sun Apr 21 17:38:48 1991 Karl Berry (karl at hayley) + + * bitmap.c (bitmap_to_bb): declare the arg as const. + +Sun Apr 14 13:45:29 1991 Karl Berry (karl at hayley) + + * bitmap.c (print_bitmap): use `bitmap_to_bb' instead of + `dimensions_to_bb'. + +Fri Apr 12 15:12:32 1991 Karl Berry (karl at hayley) + + * math.c: doc fix. + + * GNUmakefile (files): add `report' and `logreport'. + * {log,}report.c: new files. + +Wed Apr 10 11:27:49 1991 Karl Berry (karl at hayley) + + * font.c (save_internal_font): omit needless casts. + +Mon Apr 8 07:57:20 1991 Karl Berry (karl at hayley) + + * font.c (ascender_part): move to ospace. + + * encoding.c (parse_encoding_line): make a copy of the character + name, since the line gets freed. + + * encoding.c (read_encoding_file): reinitialize the character + code, so we fill up the right array. + + * libfile.c (libfile_start): prepend the `.' to the suffix. + +Sun Apr 7 14:34:06 1991 Karl Berry (karl at hayley) + + * file-output.c (put_signed_four): declare this as a macro in the + .h file. + +Thu Apr 4 07:03:36 1991 Karl Berry (karl at hayley) + + * font.c (get_char): don't allocate any space unless the character + actually exists in the font. + +Mon Apr 1 07:57:58 1991 Karl Berry (karl at hayley) + + * {encoding,libfile}.c: new files. + GNUmakefile (files): add them to the list. + +Sat Mar 23 16:42:39 1991 Karl Berry (karl at hayley) + + * font.c (delete_internal_font): free the memory for the internal + font, and for the font name. + +Sat Mar 9 17:06:57 1991 Karl Berry (karl at hayley) + + * string.c: declare args to routines as const. + + * string.c (lowercasify): new routine. + +Thu Mar 7 07:33:05 1991 Karl Berry (karl at hayley) + + * Version 0.2. + +Mon Mar 4 15:06:59 1991 Karl Berry (karl at hayley) + + * font.c (delete_internal_font): new routine. + (close_font): call it, thus preventing us from finding a font that + has been closed. + +Mon Feb 25 15:58:21 1991 Karl Berry (karl at hayley) + + * font.c (get_font): use `tfm_...' instead of `..._tfm_...'; use + `pk_...' instead of `..._pk_...'; use `gf_...' instead of + `..._gf_...'. + +Sun Feb 24 15:34:36 1991 Karl Berry (karl at ra.cs.umb.edu) + + * math.c (int_distance): cast the arguments to `double'. + +Sun Feb 17 09:43:06 1991 Karl Berry (karl at hayley) + + * *.c: include config.h. + +Sat Feb 16 16:54:18 1991 Karl Berry (karl at hayley) + + * dirio.c (checked_lstat) [HAVE_SYMBOLIC_LINKS]: change + conditional from being on S_ISLNK and S_IFLNK. + +Tue Jan 22 15:44:43 1991 Karl Berry (karl at hayley) + + * bitmap.c (extract_subbitmap): new routine from imgtogf. + +Fri Jan 18 08:14:23 1991 Karl Berry (karl at hayley) + + * vector.c (all routines): declare args to be const. + + * vector.c (Vabs): new routine. + +Tue Jan 15 15:29:38 1991 Karl Berry (karl at hayley) + + * spline.c (append_spline): use LAST_SPLINE_LIST_ELT. + + * spline.c (new_spline_list_array, free_spline_list_array, + append_spline_list): new routines. + + * spline.c (append_spline_list): rename to concat_spline_lists. + +Sun Jan 13 09:48:56 1991 Karl Berry (karl at hayley) + + * font.c (bitmap_format_type): move to font.h. + + * file-output.c (put_n_bytes): give the arguments to fwrite in the + correct order. + +Sat Jan 12 16:46:44 1991 Karl Berry (karl at hayley) + + * file-output.c (put_n_bytes): use fwrite to do all the bytes at + one shot. + +Mon Jan 7 10:42:22 1991 Karl Berry (karl at hayley) + + * spline.c (evaluate_spline): no compiler bug anymore without + temporaries (as of gcc 1.38). + +Sat Dec 29 17:43:40 1990 Karl Berry (karl at hayley) + + * spline.c (print_spline): make the output lines shorter. + +Wed Dec 26 15:13:26 1990 Karl Berry (karl at hayley) + + * math.c (find_bounds): use MAXFLOAT and MINFLOAT, instead of + MAXDOUBLE and MINDOUBLE, since Sun's atof can't deal with + the latter. + +Sun Dec 9 11:02:20 1990 Karl Berry (karl at hayley) + + * spline.c: doc fix. + + * dirio.c (getwd): close each directory after we read it. + + * filename.c (find_subdir_path_filename): use getwd instead of + getcwd, and use checked_chdir. + + * dirio.c (checked_opendir, is_dir): make arguments be const strings. + + * dirio.c (checked_chdir, checked_stat, checked_lstat, getwd): new + routines. + +Sat Nov 17 11:09:56 1990 Karl Berry (karl at hayley) + + * file-*.c: include the appropriate file-....h file. + + * math.c (distance): put this back; it's too annoying to call + hypot with the x and y arguments. + +Thu Oct 18 15:00:32 1990 Karl Berry (karl at hayley) + + * filename.c (find_subdir_path_filename): initialize the list of + subdirectories to the empty string. + +Wed Oct 17 17:54:40 1990 Karl Berry (karl at aten) + + * filename.c (find_subdir_path_filename): do not do strlen when + the path is empty. + +Tue Oct 9 08:59:43 1990 Karl Berry (karl at hayley) + + * filename.c (find_dpi): don't crash if the argument doesn't have + a `.' at all. + + * cmdline.c: new file. + * GNUmakefile (files): add it. + +Mon Oct 8 09:08:30 1990 Karl Berry (karl at hayley) + + * filename.c (find_dpi): new routine. + +Wed Oct 3 07:33:07 1990 Karl Berry (karl at hayley) + + * filename.c (find_tfm_filename, find_pk_filename, + find_gf_filename): new routines. + +Sat Sep 29 08:34:52 1990 Karl Berry (karl at hayley) + + * bitmap.c (new_bitmap): don't use memset if the bitmap is null. + + * font.c (find_internal_font): use STREQ. + +Fri Sep 28 08:30:04 1990 Karl Berry (karl at hayley) + + * filename.c (next_component): return NULL after we've read all + the directories in the list. + + * filename.c (next_component): omit the path separator from the + returned directory. + +Thu Sep 27 11:45:36 1990 Karl Berry (karl at hayley) + + * font.c (DEFAULT_SUBDIR_PATH): new macro. + (get_bitmap_font): try to open the PK and GF files using + subdirectories if opening without them fails. + (get_font): likewise, for the TFM file. + * filename.c (get_subdir_path_filename): new routine. + (next_component): new routine, replaces `find_components'. + +Fri Sep 21 09:15:28 1990 Karl Berry (karl at hayley) + + * dirio.o (is_dir): use S_ISDIR. + +Thu Sep 13 10:38:32 1990 Karl Berry (karl at hayley) + + * convert.c (parse_char_code): new routine to replace the + PARSE_CHAR_CODE macro; return a status indicator. + (xparse_char_code): like the above, but gives a fatal error. + +Wed Sep 12 18:19:13 1990 Karl Berry (karl at aten) + + * font.c (get_font): set `bitmap_only' to false. + (save_internal_font): overwrite the old value if we're called with + the same key twice. + +Sun Sep 9 07:10:29 1990 Karl Berry (karl at hayley) + + * convert.c: new file for some numeric conversions. + * math.c: move atou to convert.c. + +Mon Sep 3 11:05:19 1990 Karl Berry (karl at hayley) + + * line.c (read_line): doc fix. + +Fri Aug 31 11:04:02 1990 Karl Berry (karl at hayley) + + * font.c (get_bitmap_font): new routine, taken from get_font. + +Thu Aug 30 16:32:25 1990 Karl Berry (karl at hayley) + + * file-misc.c (same_file_p): new function. + +Wed Aug 29 11:37:24 1990 Karl Berry (karl at hayley) + + * fileio.c: split up into several new files: file-open.c, + file-input.c, file-output.c, file-misc.c. + +Thu Aug 23 07:26:58 1990 Karl Berry (karl at hayley) + + * filename.c (remove_suffix): new routine. + (make_suffix): if the `.' is before a `/', it doesn't start the + extension. + +Thu Aug 16 07:10:48 1990 Karl Berry (karl at hayley) + + * memory.c (safe_free): use fprintf instead of FATAL, so the core dump + will happen. + +Thu Jul 26 06:53:33 1990 Karl Berry (karl at hayley) + + * bitmap.c (bitmap_find_transitions): new routine (from imgtogf). + +Wed Jul 25 08:20:12 1990 Karl Berry (karl at hayley) + + * string.c (concat5): new routine. + +Tue Jul 24 10:24:59 1990 Karl Berry (karl at hayley) + + * font.c (get_font): save the design size in points instead of + pixels. + + * filename.c: new file. + * fileio.c (find_path_filename): move there. + * string.c (make_suffix): ditto. + + * font.c (get_char): retrieve the TFM width also. + +Mon Jul 16 07:30:33 1990 Karl Berry (karl at hayley) + + * bitmap.c (bitmap_to_bb): new routine. + +Thu Jul 12 06:01:16 1990 Karl Berry (karl at hayley) + + * bitmap.c (copy_bitmap): don't use `new_bitmap', to avoid setting + all the bits twice. + +Tue Jul 10 06:23:54 1990 Karl Berry (karl at hayley) + + * bitmap.c (concat_bitmaps): new routine. + +Mon Jul 9 08:27:09 1990 Karl Berry (karl at hayley) + + * bitmap.c (get_bitmap_bounding_box): delete this. + (print_bitmap): use dimensions_to_bb. + + * bitmap.c (free_bitmap): don't free the bitmap if it's null. + + * bitmap.c (new_bitmap): use memset. + (copy_bitmap): use memcpy if the bitmap's size is greater than + zero. + +Sat Jul 7 18:22:55 1990 Karl Berry (karl at hayley) + + * memory.c (safe_free): dump core if we are freeing a null item. + +Fri Jul 6 14:21:07 1990 Karl Berry (karl at hayley) + + * bounding-box.c (bb_to_dimensions): ensure that the dimensions + are nonnegative. + +Wed Jul 4 12:06:49 1990 Karl Berry (karl at hayley) + + * memory.c (allocate): dump core if we run out of memory. + (reallocate): ditto. + + * bounding-box.c (dimensions_to_bb): don't subtract one from the + width, so it will work with the GF routines. + (bb_to_dimensions): use BB_WIDTH and BB_HEIGHT, instead of doing + the subtraction out here. + + * bounding-box.c (update_bounding_box): new routine. + +Sun Jul 1 15:11:56 1990 Karl Berry (karl at hayley) + + * font.c (ascender_part): new routine. + +Tue Jun 26 11:27:15 1990 Karl Berry (karl at hayley) + + * spline.c (evaluate_spline): use temporaries in the computation + to avoid a compiler bug. + + * vector.c (Padd, Pmult_scalar): remove definitions, since they + are defined as macros now. + +Sun Jun 24 15:31:34 1990 Karl Berry (karl at claude) + + * font.c (get_font): don't check the checksums if either one is + zero. + +Sat Jun 23 12:11:47 1990 Karl Berry (karl at hayley) + + * font.c (print_char): change precision for printing the row numbers. + +Tue Jun 19 11:50:52 1990 Karl Berry (karl at hayley) + + * fileio.c (move_to_byte): delete this. + + * fileio.c (cur_pos): rename to checked_ftell, and take a filename + argument for perror. + +Mon Jun 18 12:47:17 1990 Karl Berry (karl at hayley) + + * font.c (find_internal_font): return a pointer to an + internal_font_type, instead of a structure, and change callers. + (get_font): if we have already saved the font, return it, instead + of opening the files again. + +Mon Jun 4 16:20:32 1990 Karl Berry (karl at hayley) + + * math.c (find_bounds): use MAXDOUBLE and MINDOUBLE, instead of + MAXFLOAT and MINFLOAT. + + * spline.c (spline_bounding_box): remove this routine. + +Sun Jun 3 10:51:28 1990 Karl Berry (karl at hayley) + + * arith.c, math.c, vector.c: add const declarations. + + * fileio.c (get_two, get_four): don't bother to initialize the + variable before we read it. + + * fileio.c (get_n_bytes): improve the error message if the read + fails. + +Sat Jun 2 07:51:08 1990 Karl Berry (karl at hayley) + + * bounding-box.c (increase_int_bound): remove this. + + * spline.c (print_spline): print different things for lines and + splines. + +Wed May 30 16:02:26 1990 Karl Berry (karl at hayley) + + * bitmap.c (new_bitmap): if the bitmap is going to be zero bits, + don't try to allocate it. + + * font.c (get_font): figure out how many characters are in the + font by testing the `exists' member of the TFM structure. + + * font.c (get_font): don't try to open the GF file if we couldn't + find it. + +Tue May 22 09:51:20 1990 Karl Berry (karl at hayley) + + * fileio.c (find_path_filename): close the directories in the path. + +Sat May 19 10:30:39 1990 Karl Berry (karl at hayley) + + * fileio.c (find_path_filename): return NULL if we can't find the + file, instead of the original name. + * font.c (get_font): rewrite the file-opening code. + +Wed May 16 18:02:54 1990 Karl Berry (karl at aten) + + * font.c (string_to_bitmap): if the character doesn't exist in the + font, don't crash. + + * fileio.c (find_path_filename): don't get a fatal error when a + directory in the path doesn't exist. + +Sun May 13 13:45:12 1990 Karl Berry (karl at hayley) + + * dirio.c (is_dir): new routine. + + * fileio.c (find_path_filename): just return the name we're given + if the path is relative; move the suffix concatenation out of the + loop; search in subdirectories. + +Tue May 8 12:08:57 1990 Karl Berry (karl at hayley) + + * math.c: doc fix. + +Thu May 3 10:45:05 1990 Karl Berry (karl at hayley) + + * line.c (read_line): use VS_CHARS. + +Wed May 2 12:25:08 1990 Karl Berry (karl at claude) + + * font.c (string_to_bitmap): don't close the font when we're done. + +Wed Apr 25 13:16:28 1990 Karl Berry (karl at aten) + + * font.c (string_to_bitmap): don't asked for chars[x] when x is a + character that isn't there. + +Tue Apr 24 18:35:08 1990 Karl Berry (karl at hayley) + + * math.c (real_to_int_coord): new routine. + +Sun Apr 22 06:42:37 1990 Karl Berry (karl at hayley) + + * font.c (string_to_bitmap): initialize char_y properly. + [whoops, I mean test it properly, and initialize y.] + Pass the row and column to BITMAP_PIXEL in the right order. + Give the row and column to the constructor in the right order, + too. Use MAX to find the depth, not MIN. + + * font.c (print_char): print the bitmap here, so we can print out + the Cartesian row number, instead of calling `print_bitmap'. + +Sat Apr 21 09:49:42 1990 Karl Berry (karl at hayley) + + * fileio.c (get_n_bytes): use fread to read the whole block, + instead of getting them one byte at a time. + +Thu Apr 19 16:19:33 1990 Karl Berry (karl at hayley) + + * font.c (get_font): do checksum test before getting the + postamble. + +Tue Apr 17 16:53:31 1990 Karl Berry (karl at hayley) + + * font.c (print_char): new routine to print a text representation + of a character. + +Mon Apr 16 11:12:28 1990 Karl Berry (karl at hayley) + + * font.c (get_font): get the design size from the TFM file, + instead of the bitmap file. + +Sun Apr 15 07:34:19 1990 Karl Berry (karl at hayley) + + * font.c (get_font): do not set the font bounding box. + +Sat Apr 14 15:11:19 1990 Karl Berry (karl at hayley) + + * fileio.c (checked_fseek): make argument type be + seek_direction_type. + + * fileio.c (checked_fclose): new (trivial) routine. + +Thu Apr 12 12:06:17 1990 Karl Berry (karl at hayley) + + * GNUmakefile: do not define USG and USGr3. + + * time.c: include and declare time(2) and ctime(3) + using time_t. + + * fileio.c (find_path_filename): use access(2) instead of + fopen(3); pass the default path to find_components. + (find_components): use a default path if the environment variable + doesn't exist. + +Mon Apr 9 08:19:53 1990 Karl Berry (karl at hayley) + + * math.c (distance): remove this, I came across hypot(3). + + * all files: upcase macro names. + +Sun Mar 18 14:58:23 1990 Kathy Hargreaves (kathy at hayley) + + * bounding_box.[hc] (increase_int_bound): added this to increase a + bounding boxes bounds nicely, i.e., if the bound is negative, it + gets decreased, and increased otherwise. + +Tue Feb 27 21:01:24 1990 Kathy Hargreaves (kathy at hayley) + + * fileio.c (get_n_bytes): don't try to read zero bytes. + +Wed Feb 7 17:00:47 1990 Karl Berry (karl at hayley) + + * time.c (now): chop off the trailing space. + +Mon Jan 29 12:46:56 1990 Karl Berry (karl at hayley) + + * bounding-box.c (bb_to_dimensions): new routine. + + * math.c (atou): like atoi but < 0 is a fatal error. + +Sun Jan 21 09:55:14 1990 Karl Berry (karl at hayley) + + * Makefile: rename to GNUmakefile. + + * bounding_box.c (dimensions_to_bounding_box): rename to + dimensions_bb. Remove other conversion routines. And rename to + bounding-box.c. + +Tue Oct 31 07:24:05 1989 Karl Berry (karl at hayley) + + * math.c (int_to_real_coordinate): remove this. + +Mon Oct 30 14:03:57 1989 Karl Berry (karl at hayley) + + * all files: add the copyleft. + + * string.c (concat4): define this. + +Sun Oct 29 18:37:33 1989 Karl Berry (karl at claude) + + * math.c (undefined_real_coordinate): remove this. + +Sat Oct 28 15:55:59 1989 Karl Berry (karl at hayley) + + * arith.c (real_to_scaled, real_to_fix): multiply the integer part + by scaled_one and fix_one, respectively. + + * fileio.c (put_three): define this. + (put_three, put_four): had the mask wrong for the + low-order byte. + (put_two, put_three, put_four): a & b >> c is + a & (b >> c), not (a & b) >> c. + +Fri Oct 27 22:14:05 1989 Karl Berry (karl at hayley) + + * bitmap.c (new_bitmap): use the bitmap_dimensions macro. + +Sun Oct 8 15:41:01 1989 Karl Berry (karl at hayley) + + * math.c (epsilon_equal): new function to test if two values are + within epsilon of each other. + (acosd): changed to call that one. + + * bitmap.c (free_bitmap): new function to deallocate storage + used in a bitmap_type. + + * math.c (acosd): normalize to 1.0 or -1.0 if the argument is + within an epsilon of that anyway. + +Fri Oct 6 22:12:05 1989 Karl Berry (karl at hayley) + + * line.c (read_line): overwrite the newline at the end of the + string with a null. diff --git a/lib/basename.o b/lib/basename.o deleted file mode 100644 index 8242dd6..0000000 Binary files a/lib/basename.o and /dev/null differ diff --git a/lib/fmod-deprecated.c b/lib/fmod-deprecated.c new file mode 100644 index 0000000..0c78f52 --- /dev/null +++ b/lib/fmod-deprecated.c @@ -0,0 +1,145 @@ +/* + * Copyright (c) 1989 The Regents of the University of California. + * All rights reserved. + * + * Redistribution and use in source and binary forms are permitted + * provided that: (1) source distributions retain this entire copyright + * notice and comment, and (2) distributions including binaries display + * the following acknowledgement: ``This product includes software + * developed by the University of California, Berkeley and its contributors'' + * in the documentation or other materials provided with the distribution + * and in all advertising materials mentioning features or use of this + * software. Neither the name of the University nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + */ + +#ifndef lint +static char sccsid[] = "@(#)fmod.c 5.2 (Berkeley) 6/1/90"; +#endif /* not lint */ + +/* fmod.c + * + * SYNOPSIS + * + * #include + * double fmod(double x, double y) + * + * DESCRIPTION + * + * The fmod function computes the floating-point remainder of x/y. + * + * RETURNS + * + * The fmod function returns the value x-i*y, for some integer i + * such that, if y is nonzero, the result has the same sign as x and + * magnitude less than the magnitude of y. + * + * On a VAX or CCI, + * + * fmod(x,0) traps/faults on floating-point divided-by-zero. + * + * On IEEE-754 conforming machines with "isnan()" primitive, + * + * fmod(x,0), fmod(INF,y) are invalid operations and NaN is returned. + * + */ +#include /* changed from "mathimpl.h" --karl */ + +#if !defined(vax) && !defined(tahoe) +extern int isnan(),finite(); +#endif /* !defined(vax) && !defined(tahoe) */ +extern double frexp(),ldexp(),fabs(); + +#ifdef TEST_FMOD +static double +_fmod(x,y) +#else /* TEST_FMOD */ +double +fmod(x,y) +#endif /* TEST_FMOD */ +double x,y; +{ + int ir,iy; + double r,w; + + if (y == (double)0 +#if 0 /* removed this --karl */ +#if !defined(vax) && !defined(tahoe) /* per "fmod" manual entry, SunOS 4.0 */ + || isnan(y) || !finite(x) +#endif /* !defined(vax) && !defined(tahoe) */ +#endif + ) + return (x*y)/(x*y); + + r = fabs(x); + y = fabs(y); + (void)frexp(y,&iy); + while (r >= y) { + (void)frexp(r,&ir); + w = ldexp(y,ir-iy); + r -= w <= r ? w : w*(double)0.5; + } + return x >= (double)0 ? r : -r; +} + +#ifdef TEST_FMOD +extern long random(); +extern double fmod(); + +#define NTEST 10000 +#define NCASES 3 + +static int nfail = 0; + +static void +doit(x,y) +double x,y; +{ + double ro = fmod(x,y),rn = _fmod(x,y); + if (ro != rn) { + (void)printf(" x = 0x%08.8x %08.8x (%24.16e)\n",x,x); + (void)printf(" y = 0x%08.8x %08.8x (%24.16e)\n",y,y); + (void)printf(" fmod = 0x%08.8x %08.8x (%24.16e)\n",ro,ro); + (void)printf("_fmod = 0x%08.8x %08.8x (%24.16e)\n",rn,rn); + (void)printf("\n"); + } +} + +main() +{ + register int i,cases; + double x,y; + + srandom(12345); + for (i = 0; i < NTEST; i++) { + x = (double)random(); + y = (double)random(); + for (cases = 0; cases < NCASES; cases++) { + switch (cases) { + case 0: + break; + case 1: + y = (double)1/y; break; + case 2: + x = (double)1/x; break; + default: + abort(); break; + } + doit(x,y); + doit(x,-y); + doit(-x,y); + doit(-x,-y); + } + } + if (nfail) + (void)printf("Number of failures: %d (out of a total of %d)\n", + nfail,NTEST*NCASES*4); + else + (void)printf("No discrepancies were found\n"); + exit(0); +} +#endif /* TEST_FMOD */ diff --git a/lib/strstr.o b/lib/strstr.o deleted file mode 100644 index a882b08..0000000 Binary files a/lib/strstr.o and /dev/null differ diff --git a/pbm/ChangeLog.old b/pbm/ChangeLog.old new file mode 100644 index 0000000..65afe89 --- /dev/null +++ b/pbm/ChangeLog.old @@ -0,0 +1,41 @@ +Sat Aug 7 11:51:41 1993 Karl Berry (karl@cs.umb.edu) + + * libpbm1.c: c-ctype.h now in kpathsea. + +Fri Dec 11 15:06:54 1992 Karl Berry (karl@cs.umb.edu) + + * libpbm1.c (pm_keymatch): Change ctype references to use + uppercase macros. + +Tue Oct 27 12:56:21 1992 Karl Berry (karl@cs.umb.edu) + + * Version 0.6. + +Tue Sep 15 08:39:17 1992 Karl Berry (karl@hayley) + + * libpbm1.c (malloc, free, exit): don't declare these, rely on + config.h. + +Thu Sep 3 09:31:14 1992 Karl Berry (karl@hayley) + + * Version 0.5. + +Wed Apr 15 09:01:07 1992 Karl Berry (karl@hayley) + + * pbmascii.c: new file for debugging. + +Sat Mar 28 07:49:22 1992 Karl Berry (karl at hayley) + + * Version 0.4. + + * Change copyright years to 1992 only. + +Sat Mar 7 10:00:47 1992 Karl Berry (karl at hayley) + + * GNUmakefile (files, headers, sources): replace with `c_and_h', etc. + + * libpbm1.c: use #if __STDC__, not #ifdef. + +Thu Mar 5 07:53:37 1992 Karl Berry (karl at hayley) + + * Created. diff --git a/pk/ChangeLog.old b/pk/ChangeLog.old new file mode 100644 index 0000000..9ee8f4d --- /dev/null +++ b/pk/ChangeLog.old @@ -0,0 +1,138 @@ +Tue Oct 27 12:56:27 1992 Karl Berry (karl@cs.umb.edu) + + * Version 0.6. + +Thu Sep 3 09:31:18 1992 Karl Berry (karl@hayley) + + * Version 0.5. + +Sat Jun 13 11:45:30 1992 Karl Berry (karl@hayley) + + * pk_input.c: change for new names of list fns. + +Sat Mar 28 07:49:27 1992 Karl Berry (karl at hayley) + + * Version 0.4. + + * Change copyright years to 1992 only. + +Sat Mar 7 14:07:52 1992 Karl Berry (karl at fosse) + + * pk_input.c: complete prototypes for static fns. + +Sat Mar 7 11:16:20 1992 Karl Berry (karl at hayley) + + * GNUmakefile (files, headers, sources): replace with `c_and_h', etc. + +Thu Jan 9 08:29:21 1992 Karl Berry (karl at hayley) + + * *.c: do not include global.h. + + * *.h: remove #pragma once. + +Wed Jan 8 15:05:33 1992 Karl Berry (karl at hayley) + + * update copyright messages. + + * change `allocate to `xmalloc', `reallocate' to `xrealloc', and + `string_copy' to `strdup'. + +Tue Jul 30 13:19:47 1991 Karl Berry (karl at ra.cs.umb.edu) + + * Version 0.3. + +Sat Jun 15 09:53:33 1991 Karl Berry (karl at hayley) + + * all files: change `checked_' to `x'. + +Thu Jun 6 07:31:28 1991 Karl Berry (karl at hayley) + + * All files: change to version 2 of the GPL. + +Thu Mar 7 07:33:24 1991 Karl Berry (karl at hayley) + + * Version 0.2. + +Mon Mar 4 15:00:02 1991 Karl Berry (karl at hayley) + + * pk_input.c: doc fix. + +Mon Feb 25 16:04:52 1991 Karl Berry (karl at hayley) + + * pk_input.c: use `pk_...' instead of `..._pk_...'. + +Sun Feb 17 09:48:32 1991 Karl Berry (karl at hayley) + + * pk_input.c: include config.h. + +Sat Nov 17 12:52:59 1990 Karl Berry (karl at hayley) + + * pk_input.c: include appropriate file-...h files. + +Sat Sep 29 09:01:25 1990 Karl Berry (karl at hayley) + + * pk_input.c (find_internal_font): return null at the end. + +Sun Sep 9 12:37:53 1990 Karl Berry (karl at hayley) + + * pk_input.c (pk_get_string): append a trailing null to the + string. + +Wed Aug 29 14:23:26 1990 Karl Berry (karl at hayley) + + * pk_input.c (pk_get_byte, ...): add the filename argument, and + rewrite as macros. + +Sat Aug 25 13:42:42 1990 Karl Berry (karl at hayley) + + * pk_input.c (get_bitmap): ignore bits remaining in the last byte. + +Wed May 30 15:32:37 1990 Karl Berry (karl at hayley) + + * pk_input.c (get_one_pk_char): give a better error message if the + character code is out of range; allow for it to be negative. + +Wed May 2 12:14:57 1990 Karl Berry (karl at claude) + + * pk_input.c (delete_internal_font): new routine. + (close_pk_input_file): call it, instead of doing the work here. + +Sun Apr 22 07:04:07 1990 Karl Berry (karl at hayley) + + * pk_input.c (unpack): off by one in calculation of the minimum row. + +Tue Apr 17 07:17:33 1990 Karl Berry (karl at hayley) + + * pk_input.c (pk_get_two): new routine. + (get_one_pk_char): call it to get the packet length in the + extended short format. + + * pk_input.c (unpack): get the h and v_offset values as signed + numbers. + + * pk_input.c: make `do_upper_nybble' visible to the file, so that + we can set it to true before reading each character. + +Mon Apr 16 16:53:36 1990 Karl Berry (karl at hayley) + + * pk_input.c (get_packed_bitmap): don't overwrite the repeat count + for a row on a subsequent run count. + + * pk_input.c (get_run_count): forgot to initialize *repeat_count + to zero, and to only look for it once. + + * pk_input.c (data_get_nybble): returned the upper nybble when we + wanted the lower, and vice versa. + + * pk_input.c (get_one_pk_char): tested wrong bit to see which + preamble format we were supposed to read. + + * pk_input.c (get_one_pk_char): allocate the space for each packed + character before we fill it in. + + * pk_input.c (get_one_pk_char): the flag byte has already been + read; get it as a parameter, not by reading it from the file. + + * pk_input.c (get_all_pk_chars): test for a non-command first, + since that is so common. And give a fatal error if we hit a + command that isn't undefined. diff --git a/tfm/ChangeLog.old b/tfm/ChangeLog.old new file mode 100644 index 0000000..044da8f --- /dev/null +++ b/tfm/ChangeLog.old @@ -0,0 +1,371 @@ +Fri May 13 16:57:15 1994 Karl Berry (karl@cs.umb.edu) + + * tfm_output.c (tfm_convert_pl): Add NULL to the concatn. + +Sun May 1 15:32:11 1994 Karl Berry (karl@cs.umb.edu) + + * tfm_output.c: Use concatn instead of the no-longer-existing concat5. + +Tue Oct 27 12:56:39 1992 Karl Berry (karl@cs.umb.edu) + + * Version 0.6. + +Mon Oct 19 08:11:44 1992 Karl Berry (karl@cs.umb.edu) + + * tfm_input.c (tfm_get_chars): Return the newly malloced array, + not the static variable. + +Thu Sep 3 09:31:23 1992 Karl Berry (karl@hayley) + + * Version 0.5. + +Tue Jul 7 16:42:47 1992 Karl Berry (karl@hayley) + + * tfm_input.c (tfm_input_filename): new routine. + (tfm_input_filename): change var name to just `tfm_input_name'. + +Sat Jun 13 07:55:29 1992 Karl Berry (karl@hayley) + + * all files: change `font_param{,eter}' to `fontdimen', globally. + + * tfm_fontdim.c: rename from `fontdimen.c'. + * GNUmakefile (c_only): change here. + +Fri Jun 12 09:45:31 1992 Karl Berry (karl@hayley) + + * fontdimen.c (tfm_set_fontdimen): rename from + `tfm_set_font_parameter', and rearrange args. + + * tfm_ligature.c (tfm_set_ligature): take a lig list as the + parameter instead of a TFM char. + +Tue Jun 9 13:57:18 1992 Karl Berry (karl@hayley) + + * fontdimen.c (tfm_set_fontdimens): call `float_ok' on the + potential fontdimen value. + + * fontdimen.c: new file with all the fontdimen stuff. + * tfm_kern.c: new file with the kern stuff. + * tfm_ligature.c: and the ligature stuff. + * tfm_char.c: rename from tfm_util, since that's all that's left. + +Mon Jun 8 15:27:59 1992 Karl Berry (karl@hayley) + + * tfm_util.c (tfm_set_kern): take a kern list as the parameter instead + of the whole TFM character. + +Sun May 31 10:56:10 1992 Karl Berry (karl@hayley) + + * tfm_output.c (tfm_put_char): use `epsilon_equal'. + +Sat May 30 14:58:33 1992 Karl Berry (karl@hayley) + + * tfm_output.c (tfm_convert_pl): allow for passing in the TFM name. + + * tfm_output.c (tfm_convert_pl): free `cmd'. + +Thu May 14 22:20:14 1992 Karl Berry (karl@claude.cs.umb.edu) + + * tfm_util.c (tfm_set_fontsize): make non-static. + +Wed May 13 09:16:19 1992 Karl Berry (karl@hayley) + + * tfm_input.c (get_tfm_header): initialize the parameter count in + global_info here. + (get_tfm_params): not here. + +Tue Apr 21 07:45:29 1992 Karl Berry (karl@hayley) + + * tfm_input.c (tfm_get_global_info): use XTALLOC1. + +Sun Mar 29 19:02:25 1992 Karl Berry (karl at hayley) + + * tfm_input.c (get_tfm_params): forgot arg to printf. + +Sat Mar 28 07:49:38 1992 Karl Berry (karl at hayley) + + * Version 0.4. + + * Change copyright years to 1992 only. + +Sat Mar 21 10:59:51 1992 Kathy Hargreaves (kathy at hayley) + + * tfm_util.c (tfm_set_design_size): set design size unconditionally. + + * tfm_util.c (tfm_set_design_size): added. + + * tfm_util.c (tfm_set_header): deleted DEFAULT_DESIGN_SIZE. + + * tfm_util.c (tfm_set_fontsize): made extern. + + * tfm_util.c [TFM_CHECK_DESIGNSIZE]: changed name from + CHECK_DESIGNSIZE. + + * tfm_util.c (tfm_set_font_parameter, tfm_set_fontsize): added. + (tfm_set_fontdimens): use tfm_set_font_parameter. + +Thu Mar 19 13:24:14 1992 Kathy Hargreaves (kathy at hayley) + + * tfm_util.c (tfm_set_header): use CHECK_DESIGN_SIZE. + Don't range of check default design size; expect it to be valid. + + * tfm_util.h [CHECK_DESIGN_SIZE]: added. + + * tfm_util.c (tfm_set_header): took `design_size' out of + `designsize' else clause. Added DEFAULT_DESIGN_SIZE. If either + variable is set, then arrange to set fontsize. + Set tfm_info's design size to DEFAULT_DESIGN_SIZE if it's not + set by the tfm-header design-size option. + + * tfm_util.c (set_fontsize): changed name from set_fontsize_if_unset. + (tfm_set_header): if -design-size tfm-header option is used, set + the font parameter count so will change the fontsize. + +Wed Mar 18 12:27:44 1992 Kathy Hargreaves (kathy at hayley) + + * tfm_util.c (tfm_set_ligature): added. + + * tfm_util.c (tfm_set_header): dox fix. + +Mon Mar 16 12:22:42 1992 Kathy Hargreaves (kathy at hayley) + + * tfm_util.c (tfm_set_header): set design size correctly. + + * tfm_util.c (set_fontsize_if_unset): added. + (tfm_set_header, tfm_set_fontdimens): call set_fontsize_if_unset. + + * tfm_util.c (tfm_set_header): added. + +Thu Jan 9 11:22:04 1992 Karl Berry (karl at hayley) + + * *.c: do not include global.h. + +Wed Jan 8 15:25:17 1992 Karl Berry (karl at hayley) + + * update copyright messages. + + * change `allocate to `xmalloc', `reallocate' to `xrealloc', and + `string_copy' to `strdup'. + +Tue Sep 17 16:54:26 1991 Karl Berry (karl at hayley) + + * tfm_input.c (tfm_get_bcpl_string): append a null to the data. + +Tue Jul 30 13:20:02 1991 Karl Berry (karl at ra.cs.umb.edu) + + * Version 0.3. + +Tue Jul 16 17:21:19 1991 Karl Berry (karl at hayley) + + * tfm_util.c (tfm_get_kern): move from tfm_input.c, and take a tfm + char as an arg, instead of using the tfm_char_table from the font. + +Sun Jun 16 07:47:49 1991 Karl Berry (karl at hayley) + + * tfm_output.c (put_lig_kern_info): output a `stop' after each + character, since it isn't implied by a `label'. + + * tfm_output.c (tfm_put_global_info): don't output a checksum + property if the checksum is zero. + +Sat Jun 15 09:54:19 1991 Karl Berry (karl at hayley) + + * tfm_input.c (tfm_get_chars, tfm_get_char): set the `code' member + of the TFM character structure. + + * tfm_output.c (put_pl_lig_kern_table): rename to + `put_lig_kern_info' and rewrite to take a single character. + (tfm_put_char): new routine to output only one character. + (tfm_put_chars): call `tfm_put_char'. + + * all files: change `checked_' to `x'. + +Tue Jun 11 15:17:51 1991 Karl Berry (karl at hayley) + + * tfm_util.c (tfm_new_chars): use XTALLOC. + + * tfm_input.c (tfm_get_char): new routine. + + * tfm_input.c (tfm_get_kern): check if the character exists before + looking at its kern list. Also, use LIST_... macros instead of + doing direct selection. Also, use `charcode_type' instead of + `one_byte'. + * tfm_util.c (tfm_set_kern): likewise. + + * tfm_input.c (tfm_get_global_info, tfm_get_chars): don't save and + restore the file position. + + * tfm_input.c (get_tfm_char): rename to `get_char'. + +Thu Jun 6 07:31:49 1991 Karl Berry (karl at hayley) + + * All files: change to version 2 of the GPL. + +Thu Apr 4 05:48:15 1991 Karl Berry (karl at hayley) + + * tfm_util.c (tfm_new_chars): call `tfm_new_char'. + + * tfm_output.c (put_pl_lig_kern_table): test different characters + as we go through the loop! How did this one get past? Ohh, now + I see -- I was incrementing the pointer. + + * tfm_output.c (put_pl_lig_kern_table): test >0 instead of !=0 on + the (unsigned) count variables. + +Wed Apr 3 11:43:28 1991 Karl Berry (karl at hayley) + + * tfm_output.c (tfm_init_global_info): initialize the number of + parameters to zero. + + * tfm_output.c (put_pl_lig_kern_table): don't output a lig/kern + program for a character that doesn't exist -- either the left or + the right. + +Tue Apr 2 06:48:27 1991 Karl Berry (karl at hayley) + + * tfm_util.c (tfm_set_fontdimens): assign zero to all the + intervening fontdimens when we set the fontsize; reset the + parameter count. + + * tfm_output.c (tfm_put_global_info): output the number of + parameters we have, instead of trying to find the last nonzero + one. + + * tfm_output.c (put_string_prop): don't output a space if there is + no value to the string property. + +Sun Mar 10 13:12:51 1991 Karl Berry (karl at hayley) + + * tfm_input.c (get_tfm_params): save the number of parameters we + read. + + * tfm_output.c (tfm_put_global_info): output as many parameters as + we have, instead of just the first six. + * tfm_input.c (get_tfm_params): likewise, for reading. + + * tfm_output.c (tfm_init_global_info): new routine. + +Sat Mar 9 17:23:42 1991 Karl Berry (karl at hayley) + + * tfm_util.c (tfm_set_fontdimens): new routine. + +Thu Mar 7 07:33:33 1991 Karl Berry (karl at hayley) + + * Version 0.2. + +Tue Mar 5 15:34:26 1991 Karl Berry (karl at hayley) + + * tfm_output.c (tfm_convert_pl): use output redirection instead of + -v to make tftopl be quiet. + +Mon Feb 25 15:42:09 1991 Karl Berry (karl at hayley) + + * tfm_output.c (tfm_convert_pl): take a new parameter which says + whether to operate silently. + + * tfm_output.c (INDENT_INCR): define as 2. + + * tfm_input.c (tfm_open_filename): give an error if the caller + tries to open more than one file. + + * tfm_{input,output,util}.c: rename external routines to start with + `tfm'; change error messages, etc. + +Sun Feb 17 09:51:50 1991 Karl Berry (karl at hayley) + + * *.c: include config.h. + +Sun Dec 9 15:08:57 1990 Karl Berry (karl at hayley) + + * tfm_input.c, tfm_output.c: doc fix. + +Sat Nov 17 12:54:02 1990 Karl Berry (karl at hayley) + + * tfm_input.c, tfm_output.c: include appropriate file-...h files. + +Thu Aug 30 16:29:51 1990 Karl Berry (karl at hayley) + + * tfm_input.c (tfm_get_byte, ...): pass the input filename, and + rewrite as macros. + +Tue Jul 24 11:09:46 1990 Karl Berry (karl at hayley) + + * tfm_output.c: include filename.h. + +Fri Jul 13 16:48:56 1990 Karl Berry (karl at hayley) + + * tfm_input.c (get_tfm_chars): declare `this_char' as unsigned, + not one_byte, since it might have to become 256. + +Wed Jul 4 08:39:28 1990 Karl Berry (karl at hayley) + + * tfm_output.c (put_tfm_chars): look at the `exists' member of the + character structure, instead of checking for the width being zero. + +Wed Jun 20 07:32:49 1990 Karl Berry (karl at hayley) + + * tfm_input.c (tfm_cur_pos): rename to tfm_ftell, and use + checked_ftell. + (tfm_set_pos): rename to tfm_fseek. + +Fri Jun 1 15:36:38 1990 Karl Berry (karl at hayley) + + * tfm_input.c (close_tfm_input_file): use checked_fclose. + * tfm_output.c (close_pl_output_file): likewise. + +Wed May 30 16:21:43 1990 Karl Berry (karl at hayley) + + * tfm_input.c (get_tfm_char): set the `exists' member of the + character structure. + * tfm_util.c (new_tfm_char): initialize the `exists' member. + +Thu Apr 12 14:58:24 1990 Karl Berry (karl at hayley) + + * tfm_input.c (get_interword_space): rename to + `tfm_get_interword_space'. + +Mon Apr 9 12:10:26 1990 Karl Berry (karl at hayley) + + * (all files): upcase macro names. + +Sun Apr 8 11:42:53 1990 Karl Berry (karl at hayley) + + * tfm_input.c (get_tfm_global_info): if we've already read the + global info, just return the structure, instead of reading it + again. + +Fri Feb 23 08:43:02 1990 Karl Berry (karl at hayley) + + * tfm_input.c (get_tfm_char): remember the dimensions in their + original fix_word units, as well as in points. + +Wed Feb 7 17:22:27 1990 Karl Berry (karl at hayley) + + * tfm_input.c (tfm_get_design_size): new routine. + (tfm_get_coding_scheme): rename `get_coding_scheme'. + +Sun Jan 28 14:48:35 1990 Karl Berry (karl at hayley) + + * tfm_util.c (set_kern): move this routine from tfm_input.c. + + * tfm_output.c (change_pl_to_tfm): check that pl_output_filename + is non-NULL. + +Fri Dec 22 17:33:30 1989 Karl Berry (karl at hayley) + + * tfm_input.c (tfm_get_x_height): new routine. + +Mon Oct 30 12:37:02 1989 Karl Berry (karl at hayley) + + * all files: add the copyleft. + + * tfm_util.c: define new_tfm_chars. + + * tfm_output.c (put_tfm_global_info): take a structure as input, + not a pointer. + (new_tfm_char): move to tfm_util.c. + +Sun Oct 29 08:13:05 1989 Karl Berry (karl at hayley) + + * tfm_output.c (put_pl_file): remove this, and add put_tfm_chars + and put_tfm_global_info in its place. -- cgit v1.2.1