home *** CD-ROM | disk | FTP | other *** search
- *** Makefile.orig Thu Oct 18 10:48:43 1990
- --- Makefile Fri Aug 31 14:15:32 1990
- ***************
- *** 46,52 ****
- cp -p contool.man $(MAN)/contool.$(MANEXT)
-
- clean:
- ! rm -f *~ $(OFILES) contool core
-
- #dependencies
-
- --- 46,52 ----
- cp -p contool.man $(MAN)/contool.$(MANEXT)
-
- clean:
- ! rm -f *~ *.o contool core
-
- #dependencies
-
- *** Imakefile.orig Thu Oct 18 10:48:45 1990
- --- Imakefile Thu Oct 18 10:27:16 1990
- ***************
- *** 0 ****
- --- 1,22 ----
- + OPENWINHOME = /usr/openwin
- +
- + HELPDIR = /usr/local/lib/help
- +
- + LOCAL_LIBRARIES = -lxview -lolgx $(XLIB)
- +
- + LDOPTIONS = -L$(OPENWINHOME)/lib
- +
- + CFLAGS = -O -I$(OPENWINHOME)/include
- +
- + SRCS = contool.c contool_ui.c error.c expand.c filters.c \
- + load.c load_icon.c logging.c misc.c parse.y props.c \
- + regexp.c store.c window_misc.c
- +
- + OBJS = contool.o contool_ui.o error.o expand.o filters.o \
- + load.o load_icon.o logging.o misc.o parse.o props.o \
- + regexp.o store.o window_misc.o
- +
- + ComplexProgramTarget(contool)
- +
- + install:: install.man
- + $(INSTALL) -c $(INSTMANFLAGS) contool.info $(HELPDIR)/contool.info
- *** README.orig Thu Oct 18 10:48:46 1990
- --- README Thu Oct 18 10:22:55 1990
- ***************
- *** 171,173 ****
- --- 171,180 ----
- Reworked console overflow handling,
- courtesy of Matt Cohen
- (sysnmc@magic706.chron.com).
- + 3.0a Allowed reading of 1.0 filter files.
- + Fixed handling of custom default icon
- + when blinking stops.
- + Tweaked Makefile slightly.
- + Fixed handling of dialog boxes under
- + window managers other than olwm.
- + Add Imakefile.
- *** contool.man.orig Thu Oct 18 10:48:47 1990
- --- contool.man Mon Oct 1 14:35:10 1990
- ***************
- *** 16,22 ****
- \f2Contool\fP must be run under either Open Windows or X Windows.
- It accepts the standard Open Windows command line options.
- .SH OPTIONS
- ! .IP "\fB\\(hyf\fP \fIfile\fP"
- specifies an alternate configuration file. \f2Contool\fP normally
- reads its configuration information from ~/.contool.
- .IP "\fB\\(hyl\fP"
- --- 16,22 ----
- \f2Contool\fP must be run under either Open Windows or X Windows.
- It accepts the standard Open Windows command line options.
- .SH OPTIONS
- ! .IP "\fB\\(hyc\fP \fIfile\fP"
- specifies an alternate configuration file. \f2Contool\fP normally
- reads its configuration information from ~/.contool.
- .IP "\fB\\(hyl\fP"
- ***************
- *** 46,52 ****
- filters from the file.
- .IP ""
- The text field contains the path of the configuration file. By default,
- ! this is either ~/.contool, or the value of the \fB-f\fP option (above).
- This text field provides file name completion, like \f2csh\fP(1), by typing
- a space or carriage return.
- .IP ""
- --- 46,52 ----
- filters from the file.
- .IP ""
- The text field contains the path of the configuration file. By default,
- ! this is either ~/.contool, or the value of the \fB-c\fP option (above).
- This text field provides file name completion, like \f2csh\fP(1), by typing
- a space or carriage return.
- .IP ""
- ***************
- *** 56,64 ****
- discarded. If \f2contool\fP was in the middle of filtering a multi-line message,
- that filtering action is terminated.
- .IP ""
- ! \f2Contool\fP can read files created by versions 2.0, 2.1, 2.2, and 3.0 of
- ! \f2contool\fP. Files used by version 1.0 will need to be manually converted
- ! by first reading and writing them with any 2.x release of \f2contool\fP.
- .IP "\fBFile: Save Configuration...\fP"
- is analogous to the \fBLoad Configuration\fP operation, bringing up a dialog
- box containing a non-exclusive setting, a text field, and a \fBSave\fP
- --- 56,64 ----
- discarded. If \f2contool\fP was in the middle of filtering a multi-line message,
- that filtering action is terminated.
- .IP ""
- ! \f2Contool\fP can read files created by all previous versions of
- ! \f2contool\fP. Files written by \f2contool\fP cannot be read by any previous
- ! version.
- .IP "\fBFile: Save Configuration...\fP"
- is analogous to the \fBLoad Configuration\fP operation, bringing up a dialog
- box containing a non-exclusive setting, a text field, and a \fBSave\fP
- *** contool.c.orig Thu Oct 18 10:48:50 1990
- --- contool.c Thu Oct 11 10:38:59 1990
- ***************
- *** 365,371 ****
- event_in_progress = TRUE;
- if (event_action(event) == ACTION_OPEN && blinking) {
- notify_set_itimer_func(contool_base->base, blink_proc, ITIMER_REAL, NULL, NULL);
- ! change_icon(good, good = default_good_icon);
- blinking = FALSE;
- }
- event_in_progress = FALSE;
- --- 365,371 ----
- event_in_progress = TRUE;
- if (event_action(event) == ACTION_OPEN && blinking) {
- notify_set_itimer_func(contool_base->base, blink_proc, ITIMER_REAL, NULL, NULL);
- ! change_icon(good, good == default_good_icon);
- blinking = FALSE;
- }
- event_in_progress = FALSE;
- *** contool_ui.c.orig Thu Oct 18 10:48:52 1990
- --- contool_ui.c Thu Oct 18 10:40:18 1990
- ***************
- *** 307,313 ****
- XV_KEY_DATA, INSTANCE, ip,
- XV_WIDTH, 575,
- XV_HEIGHT, 246,
- ! XV_LABEL, "Contool 3.0",
- FRAME_CLOSED, FALSE,
- FRAME_SHOW_FOOTER, TRUE,
- FRAME_SHOW_RESIZE_CORNER, TRUE,
- --- 307,313 ----
- XV_KEY_DATA, INSTANCE, ip,
- XV_WIDTH, 575,
- XV_HEIGHT, 246,
- ! XV_LABEL, "Contool 3.0a",
- FRAME_CLOSED, FALSE,
- FRAME_SHOW_FOOTER, TRUE,
- FRAME_SHOW_RESIZE_CORNER, TRUE,
- *** lex.c.orig Thu Oct 18 10:48:58 1990
- --- lex.c Fri Aug 31 13:58:54 1990
- ***************
- *** 49,54 ****
- --- 49,55 ----
- {"nostamp", NOSTAMP},
- {"open", OPEN},
- {"print", PRINT},
- + {"quiet", QUIET},
- {"save", SAVE},
- {"stamp", STAMP},
- {"timestamp", TIMESTAMP},
- *** parse.y.orig Thu Oct 18 10:49:03 1990
- --- parse.y Fri Aug 31 14:08:54 1990
- ***************
- *** 53,63 ****
-
- %token BEEP CHECK_ICON COMMAND COMMENT DEFAULTS DELETE DISPLAY FILTERS
- FLASH FLASH_ICON GOOD_ICON IGNORE LOG_BEFORE_FILTERING LOG_FILE
- ! MATCH NO NOFLASH NOOPEN NOSTAMP OPEN PRINT SAVE STAMP TIMESTAMP TO YES
-
- %type <ival> beep flash old_flash old_open old_stamp open stamp yes_no
- %type <cpval> command old_end_string string
- ! %type <fval> filter filter_list old_filter old_filter_list old_ignore old_save
-
- %%
-
- --- 53,63 ----
-
- %token BEEP CHECK_ICON COMMAND COMMENT DEFAULTS DELETE DISPLAY FILTERS
- FLASH FLASH_ICON GOOD_ICON IGNORE LOG_BEFORE_FILTERING LOG_FILE
- ! MATCH NO NOFLASH NOOPEN NOSTAMP OPEN PRINT QUIET SAVE STAMP TIMESTAMP TO YES
-
- %type <ival> beep flash old_flash old_open old_stamp open stamp yes_no
- %type <cpval> command old_end_string string
- ! %type <fval> filter filter_list old_filter old_filter_list old_ignore old_quiet old_save
-
- %%
-
- ***************
- *** 86,91 ****
- --- 86,92 ----
-
- old_filter : old_save
- | old_ignore
- + | old_quiet
- ;
-
- old_save : SAVE beep old_flash old_open old_stamp STRING old_end_string
- ***************
- *** 121,126 ****
- --- 122,150 ----
- f->flash = FALSE;
- f->open = FALSE;
- f->stamp = FALSE;
- + f->start = $2;
- + f->stop = $3;
- + f->start_re = NULL;
- + f->stop_re = NULL;
- + f->command = NULL;
- + f->comment = NULL;
- + f->next = NULL;
- + if (msg = compile_exp(f, f->start, f->stop))
- + yyerror(msg);
- + $$ = f;
- + }
- + ;
- +
- + old_quiet : QUIET STRING old_end_string
- + { Filter *f;
- + char *msg;
- +
- + f = (Filter *) malloc(sizeof(Filter));
- + f->save = TRUE;
- + f->beep = 0;
- + f->flash = FALSE;
- + f->open = FALSE;
- + f->stamp = TRUE;
- f->start = $2;
- f->stop = $3;
- f->start_re = NULL;
- *** patchlevel.h.orig Thu Oct 18 10:49:04 1990
- --- patchlevel.h Tue Sep 18 15:06:44 1990
- ***************
- *** 3,6 ****
- --- 3,8 ----
- /* Patch Comments */
- /* 0 Initial release for XView */
- /* */
- + /* 1 Bug fixes; see README for details */
- + /* */
- /************************************************************************/
- *** window_misc.c.orig Thu Oct 18 10:49:09 1990
- --- window_misc.c Thu Oct 18 09:48:19 1990
- ***************
- *** 28,33 ****
- --- 28,34 ----
- #include <xview/xview.h>
- #include <xview/panel.h>
- #include <xview/xv_xrect.h>
- + #include <X11/Xutil.h>
-
- #include "manifest.h"
- #include "contool_ui.h"
- ***************
- *** 80,86 ****
- Xv_opaque base;
- Xv_opaque dialog;
-
- ! { Rect br, dr, sr;
-
- sr = *((Rect *) xv_get(base, WIN_SCREEN_RECT));
- frame_get_rect(base, &br);
- --- 81,88 ----
- Xv_opaque base;
- Xv_opaque dialog;
-
- ! { Rect br, dr, sr;
- ! XWMHints *hints;
-
- sr = *((Rect *) xv_get(base, WIN_SCREEN_RECT));
- frame_get_rect(base, &br);
- ***************
- *** 98,101 ****
- --- 100,109 ----
- dr.r_top = br.r_top + 32;
- }
- frame_set_rect(dialog, &dr);
- +
- + hints = XGetWMHints(xv_get(dialog, XV_DISPLAY), xv_get(dialog, XV_XID));
- + hints->flags |= StateHint;
- + hints->initial_state = NormalState;
- + XSetWMHints(xv_get(dialog, XV_DISPLAY), xv_get(dialog, XV_XID), hints);
- + XFree(hints);
- }
-