home *** CD-ROM | disk | FTP | other *** search
- Sun Aug 5 13:17:25 1990 Francois Pinard (pinard at icule)
-
- * Makefile, gptx.texinfo, README, ChangeLog, version.c: various
- cleanup. Freeze for first prerelease as `gptx 0.1'.
-
- * Makefile, gptx.c, gptx.texinfo: document and implement default
- Ignore files through IGNORE and PIGNORE defines; one for normal
- mode, the other for ptx compatibility mode. If IGNORE or PIGNORE
- is not defined, there is no corresponding default. For myself, I
- do not want any default Ignore file in normal mode. Document
- Break file, Ignore file and Only file features.
-
- * gptx.c, gptx.texinfo: document and 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, gptx.texinfo: document and 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.
-
- Sat Jul 28 08:19:40 1990 Francois Pinard (pinard at icule)
-
- * README: reports which machines gptx is known to work on.
-
- * xmalloc.c: explicit `(void *)' cast for malloc and realloc,
- since stock C compiler seems to require this. Also, do not use
- <malloc.h> on Appolo's.
-
- * regex.c, Makefile: Add -DBROKEN_ASSERT option.
-
- * assert.h: new file, to support -DBROKEN_ASSERT.
-
- Fri Jul 27 12:04:40 1990 Francois Pinard (pinard at icule)
-
- * gptx.c (initialize_regex), gptx.texinfo: 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.
- (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 was defeating some regexps
- like default end of sentence, which checks for two consecutive
- spaces. This being out of the way, use swallow_file_in_memory
- instead of inputting characters one by one. If white space
- compression is ever reinstated in the future, it should be done in
- output routines.
-
- 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.
-
- * ctype.[ch]: linked from my own library.
-
- * 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.
-
- * xmalloc.c: include <malloc.h>; also check __GNUC__ while
- declaring `abort' routine.
-
- * 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 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.
-
- * xmalloc.c: work on portability. Avoid volatile if not __STDC__.
-
- * Makefile: work on portability. Remove files before making a
- linking copy of them. Non GNU ln does not copy if the file
- exists.
-
- * all: sent to Claude Goutier <goutier@jsp.umontreal.ca> to test
- portability on Appolos, and to myself on Suns 3 and 4 at UdeM.
-
- 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. Not only this is
- faster in most cases, but it simplifies the implementation of the
- Break file. So, finish implementing them.
-
- * Makefile: modify shar goal to use shar-3.32 instead of C-shar,
- there is no nead anymore to preslit regex.c, since this shar will
- split it itself.
-
- Sat Jul 14 10:54:21 1990 Francois Pinard (pinard at icule)
-
- * gptx.[ch], version.c, xmalloc.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.
-
- * bumpalloc.h: new file. I made a separate file for this single
- macro because it serves other projects as well. Link it wherever
- appropriate. Add it in Makefile's FILES.
-
- * 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)
-
- * README: new file, giving a few notes for the installer.
-
- * Makefile: move all testing stuff to a test subdirectory, with
- its own Makefile. Add a FILES definition for all files to be part
- of the distribution: this includes original files, but also,
- redondantly, Depends and gptx.info.
-
- * Makefile: the new shar goal makes a multi-part shar kit; it
- automatically splits regex.c which is too big for any one part, it
- also clean things afterwards. The new tar goal save the
- distribution files into a compressed tar file, all inside one
- directory which has the name of the directory containing this
- Makefile; I renamed it gptx-0.0 for the time being.
-
- * Makefile: to achieve the fact that both shar and tar goals
- recompute Depends before the archive is made, but not uselessly,
- add a `.depend-stamp' file to force the reconstruction, and also
- use it indirectly in the depend goal.
-
- * gptx.c, gptx.texinfo: add -L option, `latin1_charset' variable
- and support. Lexicographical ordering is still dumb, however.
-
- * gptx.c, gptx.texinfo: remove old generate_roff and generate_tex
- variables, replace with output_format which is of enum type.
-
- * gptx.texinfo: include a copy of GNU emacs' Regexps node, linking
- it properly with the remainder of the documentation.
-
- 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. (alloc_and_compile_regex): new.
-
- Sun Jul 8 17:52:14 1990 Francois Pinard (pinard at icule)
-
- * regex.[hc]: new files imported from FileUtils version 1.3.
-
- * 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, gptx.texinfo: 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, which has too many errors. Also, remove
- -Wcast-qual to get rid of lint diagnostic for re_compile_pattern
- calls.
-
- * 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 inline routines, respectively.
-
- * gptx.texinfo: restructure the output, merge in the previous
- README file.
-
- 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, gptx.texinfo: add -F option and logic.
-
- * Makefile, gptx.c, gptx.texinfo: select ptx compatibility mode if
- program is installed under the name `ptx'. Install both gptx and
- ptx.
-
- Wed Jul 4 19:00:38 1990 Francois Pinard (pinard at icule)
-
- * all: Copyright directly assigned to the FSF.
-
- * gptx.texinfo: remove @refill's.
-
- 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.c. Clean up
- documentation in source, 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.
-
- Thu Apr 12 07:15:55 1990 Francois Pinard (pinard at icule)
-
- * RMS asks me if I intend to finish gptx.
-
- 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.
-
- * README: new file. It explains the spirit, the current state and
- the expected development steps for this project.
-
- * gptx.c: gcc linted.
-
- * Makefile: modified to take advantage of GNU make.
-