Wed Oct  9 16:13:42 1991  Francois Pinard  (pinard at icule)

	* configure, Makefile.in: New files.
	* Makefile, GNUmakefile, Depends: Deleted.

	* gptx.c: Change -A output from `FILE(NN):' to `FILE:NN:'.

	* gptx.c, gptx.h, version.c: Reinstate __STDC__ tests.

Tue Jun 25 11:35:32 1991  Francois Pinard  (pinard at icule)

	* gptx.c: Something is wrong in -r reference allocation, I suspect
	casting does not do what I expect.  I relax the constraints so to
	make it work for now.  To be revisited.

	* gptx.c: Call initialize_regex sooner, to insure folded_chars is
	properly initialized when -f and -i are simultaneously used.

	* gptx.c, Makefile: Remove -p option and rather compile two
	separate programs, one by defining PTX_COMPATIBILITY, to conform a
	GNU standard asking to not depend on the program installed name.
	This also removes the -p option, so loosing the debatable
	advantage of dynamically reverting to ptx compatibility mode.

	* gptx.h: Cleanup.  Don't duplicate stdlib.h.

Wed Dec  5 18:00:23 1990  Francois Pinard  (pinard at icule)

	* gptx.c (usage_and_exit): Change -C explanation.

Sun Oct 28 16:11:36 1990  Francois Pinard  (pinard at icule)

	* unproto.awk: Simple script to unprotoize the C code.
	* gptx.h: Remove the PROTO macros and usage.
	* gptx.c: Remove all the #ifdef __STDC__ noise.
	* version.c: Remove all the #ifdef __STDC__ noise.
	* Makefile: Add unproto and reproto goals.
	* GNUmakefile: Add unproto and reproto goals.

Fri Sep  7 06:40:36 1990  Francois Pinard  (pinard at icule)

	* Makefile: Add o, x and LD defines, in view of MSDOS.

Thu Sep  6 13:01:47 1990  Francois Pinard  (pinard at icule)

	* Makefile, gptx.c: Documentation moved in from ChangeLog.

	* GNUmakefile: New.
	* Makefile: Gnu make dependant stuff moved to GNUmakefile.

	* --------------------------------------------------------------------

Sun Aug  5 13:17:25 1990  Francois Pinard  (pinard at icule)

	* Makefile, version.c: Various cleanup.  Freeze for first
	prerelease as `gptx 0.1'.

	* Makefile, gptx.c: Implement IGNORE and PIGNORE defines.

	* gptx.c: Implement special character protection for roff and TeX
	output, through the edited_flag array.

Fri Aug  3 12:47:35 1990  Francois Pinard  (pinard at icule)

	* gptx.c: Implement new -R option for automatic referencing, with
	the possibility of multiple input files in normal mode.  Now,
	option -r implies ptx compatibility mode default for -S; exclude
	reference from context whenever easy to do, and allows coselection
	of both -r and -R.

Wed Aug  1 12:00:07 1990  Francois Pinard  (pinard at icule)

	* gptx.[hc]: Define and use OCCURS_ALIGNMENT, to avoid those
	`Bus error's on Sparcs.

Fri Jul 27 12:04:40 1990  Francois Pinard  (pinard at icule)

	* gptx.c (initialize_regex): Use only isalpha and "ctype.h" to
	initialize Sword syntax, getting rid of any other explicit ISO
	8859-1 references.  This will make the MS-DOS port easier,
	character set wise.

	* gptx.c (swallow_file_in_memory): Revised along the lines of io.c
	from diff 1-14, so it could handle stin and fifos, and work faster.

	* gptx.c (perror_and_exit): New function, use it where convenient.

Thu Jul 26 13:28:13 1990  Francois Pinard  (pinard at icule)

	* gptx.c (swallow_input_text): Remove white space compression even
	if not in ptx compatibility mode.  This being out of the way, use
	swallow_file_in_memory instead of inputting characters one by one.

Wed Jul 25 12:20:45 1990  Francois Pinard  (pinard at icule)

	* gptx.c (find_occurs_in_text): Include the sentence separator as
	part of the right context, except for separator's suffix white
	space.  Formerly, it was excluded from all contexts.

	* README: Change the suggestion of -? by -h to get help.  Under
	csh, -? returns `No match'.

	* Makefile, gptx.h: Check STDLIB_PROTO_ALREADY to conditionalize
	prototype declarations for standard C library routines; check
	__GNUC__ before using `volatile' on function prototypes.

	* Makefile: Avoid $^ and use $(OBJS) instead, because some people
	do not use GNU make (yet :-).

	* gptx.c: (find_occurs_in_text): Maintain the maximum length of
	all words read.
	(define_all_fields): Optimize scanning longish left contexts by
	sometimes doing a backward jump from the keyword instead of always
	scanning forward from the left context boundary.

Sun Jul 22 09:18:21 1990  Francois Pinard  (pinard at icule)

	* gptx (alloc_and_compile_regex): Realloc out all extra allocated
	space.

Mon Jul 16 09:07:25 1990  Francois Pinard  (pinard at icule)

	* gptx.c: In OCCURS structure, modify left, right and reference
	pointers and make them displacements, to save some space.  Define
	DELTA typedef, use it, make all other necessary changes.

	* gptx.c: Work on portability.  Define const and volatile to
	nothing if not __STDC__.  On BSD, define str[r]chr to be [r]index.
	Avoid writings specific to GNU C.
	* Makefile: Work on portability.  Use `rm -f' before `ln'.

Sun Jul 15 17:28:39 1990  Francois Pinard  (pinard at icule)

	* gptx.c: Add a word_fastmap array and use it if -W has not been
	specified, instead of using default regexps.  Finish implementing
	the Break files.

	* Makefile: Modify shar goal to use shar-3.32 instead of C-shar.

Sat Jul 14 10:54:21 1990  Francois Pinard  (pinard at icule)

	* gptx.[ch], version.c: Use prototypes in all header
	functions.  Add some missing const declarations, often through the
	STRING define.

Fri Jul 13 10:16:34 1990  Francois Pinard  (pinard at icule)

	* gptx.c: Enforce ptx compatibility mode by disallowing normal
	mode extensions.  Disallow -p if extensions are used.

	* gptx.c: Finish implementation of Ignore and Only files.

Wed Jul 11 10:53:13 1990  Francois Pinard  (pinard at icule)

	* Makefile: Link in all necessary source files.  This directory is
	now self sustaining.

	* gptx.c: Revise WORD typedef and use it in OCCURS typedef;
	adjust all usages.  Add BLOCK and WORD_ARRAY typedefs, revise in
	various place to make better usage of these.  Use BUMP_ALLOC.

Tue Jul 10 09:02:26 1990  Francois Pinard  (pinard at icule)

	* Makefile: Move all testing stuff to a test subdirectory, with
	its own Makefile.  Add FILES definition.

	* Makefile: New shar and tar goals.

	* Makefile: Use `.depend-stamp'.

	* gptx.c: Add -L option, `latin1_charset' variable and support.

	* gptx.c: Remove old generate_roff and generate_tex variables,
	replace with output_format which is of enum type.

Mon Jul  9 10:40:41 1990  Francois Pinard  (pinard at icule)

	* gptx.c (compare_words): Check word_regex.translate and do not
	use the translation table if not computed.  Also protect against
	possible 8-bit problems.

	* gptx.c (alloc_and_compile_regex): New.

Sun Jul  8 17:52:14 1990  Francois Pinard  (pinard at icule)

	* gptx.c: Make a more systematic use of SKIP_* macros, to get rid
	of explicit ' ' references when possible.

	* gptx.c: Replace `head' field by `left' in the OCCURS structure,
	delay the `before' computation from find_occurs_in_text to
	define_all_fields, and make all necessary adjustments.  Also
	add a `right' field in the OCCURS structure, use it to get rid of
	explicit '\n' references when possible.

	* gptx.c (initialize_regex): New function.  Compute the syntax
	table for regex.  Get rid of previous break_chars_init variable
	and break_chars array, use word_regex and word_regex_string
	instead.

	* gptx.c: Use re_search to find words and re_match to skip over
	them.  Add -W option and support.  Use re_search to find end of
	lines or end of sentences, add -S option and support.

	* Makefile: Add -DSYNTAX_TABLE in all cases, split CFLAGS in
	several parts, among which CDEFS, OPTIM and LINTS.  Add a goal
	to not lint regex.c and remove -Wcast-qual.  To be fixed if
	regex.[ch] ever is.

	* gptx.c: Define and use STRING typedef, to minimize const
	explicit usage.

Sat Jul  7 08:50:40 1990  Francois Pinard  (pinard at icule)

	* gptx.c: Change PRINT_SPACES and PRINT_FIELD macros to
	print_spaces and print_field routines, respectively.

Fri Jul  6 09:44:39 1990  Francois Pinard  (pinard at icule)

	* gptx.c (generate_output): Split into define_all_fields,
	generate_all_output, output_one_roff_line, output_one_tex_line,
	and output_one_tty_line.

	* gptx.c: Move the inline code to reallocate the text buffer into
	reallocate_text_buffer.  Correct a small bug in this area.

	* gptx.c: Modify -F to accept a STRING argument, modify output
	routines to handle truncation marks having more than one
	character.

Thu Jul  5 11:08:59 1990  Francois Pinard  (pinard at icule)

	* gptx.c: Add -F option and logic.

	* Makefile, gptx.c: Select ptx compatibility mode if program is
	installed under the name `ptx'.  Install both gptx and ptx.

Thu Jun  7 17:21:25 1990  Francois Pinard  (pinard at icule)

	* gptx.c: Make each OCCURS a variable size thing, depending on
	various options; mark occurs_found table size with an integer
	counter instead of an end pointer.

	* --------------------------------------------------------------------

Sat Apr 14 20:01:09 1990  Francois Pinard  (pinard at icule)

	* gptx.c, Makefile: Removed limitations on table sizes: it
	should now go until an `Out of memory' error.  Use xmalloc.
	Rename some variables.

	* version.c, Makefile, gptx.c (usage_and_exit): Make it version
	0.0 for now, add -C option to print Copyright.  Use version.awk.

Mon Mar 12 17:59:42 1990  Francois Pinard  (pinard at icule)

	* ChangeLog initialisation.  Previous experiments towards gptx
	were done at the defunct site ora.odyssee.qc.ca, which was a
	Sun-3/160 running SunOS 3.0.  The files have been stocked for a
	long time into kovic.iro.umontreal.ca archives, then recently
	imported to icule.

	* gptx.c: GCC linted.

	* Makefile: Modified to take advantage of GNU make.
