*** drawing.c.orig Wed May 15 13:49:15 1996 --- drawing.c Wed May 15 13:49:15 1996 *************** *** 30,34 **** #ifndef lint static char RCSid[] = ! "@(#)$Header: /n/opus/u/guest/william/src/tgif/v3/RCS/drawing.c,v 3.1 1996/05/14 17:31:10 william Exp $"; #endif --- 30,34 ---- #ifndef lint static char RCSid[] = ! "@(#)$Header: /n/opus/u/guest/william/src/tgif/v3/RCS/drawing.c,v 3.2 1996/05/15 17:33:08 william Exp $"; #endif *************** *** 1782,1790 **** int CallShortCut(name, argc, argv, code, state) ! char *name, *argv[], code; int argc; unsigned int state; { ! DoShortCut(name, (KeySym)code, state, (argc<=1 ? NULL : argv[1])); return TRUE; } --- 1782,1790 ---- int CallShortCut(name, argc, argv, code, state) ! char *name, *argv[], *code; int argc; unsigned int state; { ! DoShortCut(name, (KeySym)(*code), state, (argc<=1 ? NULL : argv[1])); return TRUE; } *** exec.c.orig Wed May 15 13:49:21 1996 --- exec.c Wed May 15 13:49:23 1996 *************** *** 30,34 **** #ifndef lint static char RCSid[] = ! "@(#)$Header: /n/opus/u/guest/william/src/tgif/v3/RCS/exec.c,v 3.2 1996/05/14 17:31:14 william Exp $"; #endif --- 30,34 ---- #ifndef lint static char RCSid[] = ! "@(#)$Header: /n/opus/u/guest/william/src/tgif/v3/RCS/exec.c,v 3.3 1996/05/15 17:33:15 william Exp $"; #endif *************** *** 4501,4505 **** return FALSE; } ! CallShortCut(func_name, 1, &buf, code, state); free(buf); free(func_name); --- 4501,4505 ---- return FALSE; } ! CallShortCut(func_name, 1, &buf, &code, state); free(buf); free(func_name); *************** *** 4554,4558 **** } sprintf(ppsz_buf[1], "%s)", arg); ! CallShortCut(func_name, 2, ppsz_buf, code, state); free(ppsz_buf[1]); free(ppsz_buf[0]); --- 4554,4558 ---- } sprintf(ppsz_buf[1], "%s)", arg); ! CallShortCut(func_name, 2, ppsz_buf, &code, state); free(ppsz_buf[1]); free(ppsz_buf[0]); *** shortcut.c.orig Wed May 15 13:49:29 1996 --- shortcut.c Wed May 15 13:49:30 1996 *************** *** 30,34 **** #ifndef lint static char RCSid[] = ! "@(#)$Header: /n/opus/u/guest/william/src/tgif/v3/RCS/shortcut.c,v 3.1 1996/05/14 17:31:08 william Exp $"; #endif --- 30,34 ---- #ifndef lint static char RCSid[] = ! "@(#)$Header: /n/opus/u/guest/william/src/tgif/v3/RCS/shortcut.c,v 3.2 1996/05/15 17:33:12 william Exp $"; #endif *************** *** 39,42 **** --- 39,43 ---- #include "types.h" + #include "msg.e" #include "setup.e" #ifndef _NO_EXTERN *************** *** 427,431 **** int ValidShortCut(name, num_args, code, state) char *name, *code; ! short num_args; unsigned int *state; { --- 428,432 ---- int ValidShortCut(name, num_args, code, state) char *name, *code; ! int num_args; unsigned int *state; { *************** *** 434,438 **** if (len <= 2) return FALSE; for (j=0; *(shortCutXlateTbl[j].name) != '\0'; j++) { ! if (num_args == shortCutXlateTbl[j].num_args && strncmp(shortCutXlateTbl[j].name, name, len-2) == 0 && shortCutXlateTbl[j].name[len] == '(' && --- 435,439 ---- if (len <= 2) return FALSE; for (j=0; *(shortCutXlateTbl[j].name) != '\0'; j++) { ! if (num_args == ((int)shortCutXlateTbl[j].num_args) && strncmp(shortCutXlateTbl[j].name, name, len-2) == 0 && shortCutXlateTbl[j].name[len] == '(' && *** drawing.e.orig Wed May 15 13:49:34 1996 --- drawing.e Wed May 15 13:49:35 1996 *************** *** 28,32 **** * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * ! * @(#)$Header: /n/opus/u/guest/william/src/tgif/v3/RCS/drawing.e,v 3.1 1996/05/14 17:31:13 william Exp $ */ --- 28,32 ---- * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * ! * @(#)$Header: /n/opus/u/guest/william/src/tgif/v3/RCS/drawing.e,v 3.2 1996/05/15 17:33:10 william Exp $ */ *************** *** 76,80 **** extern int ShortHand ARGS_DECL((XEvent *)); extern int CallShortCut ARGS_DECL((char *Name, int argc, char *argv[], ! char Code, unsigned int State)); extern int SomethingDirty ARGS_DECL((void)); extern int DrawingEventHandler ARGS_DECL((XEvent *)); --- 76,80 ---- extern int ShortHand ARGS_DECL((XEvent *)); extern int CallShortCut ARGS_DECL((char *Name, int argc, char *argv[], ! char *Code, unsigned int State)); extern int SomethingDirty ARGS_DECL((void)); extern int DrawingEventHandler ARGS_DECL((XEvent *)); *** shortcut.e.orig Wed May 15 13:49:39 1996 --- shortcut.e Wed May 15 13:49:40 1996 *************** *** 28,32 **** * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * ! * @(#)$Header: /n/opus/u/guest/william/src/tgif/v3/RCS/shortcut.e,v 3.1 1996/05/14 17:31:09 william Exp $ */ --- 28,32 ---- * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * ! * @(#)$Header: /n/opus/u/guest/william/src/tgif/v3/RCS/shortcut.e,v 3.2 1996/05/15 17:33:14 william Exp $ */ *************** *** 38,42 **** extern int FetchShortCut ARGS_DECL((int C, char *Code, unsigned int *State, char **Name, char *Args)); ! extern int ValidShortCut ARGS_DECL((char *name, short num_args, char *Code, unsigned int *State)); --- 38,42 ---- extern int FetchShortCut ARGS_DECL((int C, char *Code, unsigned int *State, char **Name, char *Args)); ! extern int ValidShortCut ARGS_DECL((char *name, int num_args, char *Code, unsigned int *State)); *** patchlvl.h.orig Wed May 15 13:49:43 1996 --- patchlvl.h Wed May 15 13:49:44 1996 *************** *** 28,32 **** * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * ! * @(#)$Header: /n/opus/u/guest/william/src/tgif/v3/RCS/patchlvl.h,v 3.4 1996/05/14 12:55:54 william Exp $ */ --- 28,32 ---- * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * ! * @(#)$Header: /n/opus/u/guest/william/src/tgif/v3/RCS/patchlvl.h,v 3.5 1996/05/15 17:33:07 william Exp $ */ *************** *** 34,38 **** #define _TGIF_PATCHLEVEL_H_ ! #define TGIF_PATCHLEVEL 4 #endif /*_TGIF_PATCHLEVEL_H_*/ --- 34,38 ---- #define _TGIF_PATCHLEVEL_H_ ! #define TGIF_PATCHLEVEL 5 #endif /*_TGIF_PATCHLEVEL_H_*/ *** Imakefile.orig Wed May 15 13:49:48 1996 --- Imakefile Wed May 15 13:49:49 1996 *************** *** 36,40 **** XCOMM PERFORMANCE OF THIS SOFTWARE. XCOMM ! XCOMM @(#)$Header: /n/opus/u/guest/william/src/tgif/v3/RCS/Imakefile,v 3.5 1996/05/14 13:00:53 william Exp $ XCOMM --- 36,40 ---- XCOMM PERFORMANCE OF THIS SOFTWARE. XCOMM ! XCOMM @(#)$Header: /n/opus/u/guest/william/src/tgif/v3/RCS/Imakefile,v 3.6 1996/05/15 17:33:06 william Exp $ XCOMM *************** *** 45,49 **** XCOMM EXTRA_LDOPTIONS = ! TGIFVERSION = 3.0-p4 PROGRAMS = tgif prtgif XCOMM frontend11.o testdrive XCOMM CDEBUGFLAGS= -g --- 45,49 ---- XCOMM EXTRA_LDOPTIONS = ! TGIFVERSION = 3.0-p5 PROGRAMS = tgif prtgif XCOMM frontend11.o testdrive XCOMM CDEBUGFLAGS= -g *** HISTORY.orig Wed May 15 13:49:53 1996 --- HISTORY Wed May 15 13:49:54 1996 *************** *** 1,2 **** --- 1,33 ---- + -----------------------> tgif-3.0-p4 => tgif-3.0-p5 <----------------------- + I've just put tgif-3.0-patch5 (5th patch for tgif-3.0) in + the following places for anonymous ftp (binaries are still not + available at the time of this release, please check + for availability): + + ftp://ftp.x.org/contrib/applications/tgif/tgif-3.0-patch5.gz + ftp://ftp.cs.ucla.edu/pub/tgif/tgif-3.0-patch5.gz + ftp://bourbon.cs.ucla.edu/pub/tgif-3.0-patch5.gz + + Tgif is an Xlib-based 2-D drawing tool. It's also a hyper-graphics (or + hyper-structured-graphics) browser on the World-Wide-Web. Its hyper-text home + page is at and its hyper-graphics + home page is at . + (Please note that the Content-type of a tgif file sent by the httpd at + bourbon.cs.ucla.edu:8001 is applications/x-tgif.) + + Tgif is free, but please read the Copyright file in the distribution + (or select Copyright from the Help Menu in tgif) for restrictions. + + (Pelase note that tgif is NEITHER an html viewer NOR an html editor. + It is also NOT directly related to GIF nor Transparent GIF.) + + Please gunzip and then apply the patch with + 'patch -p -N < tgif-3.0-patch5'. + Here's a short list of added features/bug fixes. + + 1) Fix a problem with certain HP and Solaris compilors. These compilors + do not like short or char in function prototypes! Thanks to + Jaap Haalboom for pointing + out the problem. -----------------------> tgif-3.0-p3 => tgif-3.0-p4 <----------------------- I've just put tgif-3.0-patch4 (4th patch for tgif-3.0) in *************** *** 184,187 **** /* ! * @(#)$Header: /n/opus/u/guest/william/src/tgif/v3/RCS/HISTORY,v 3.6 1996/05/14 17:55:44 william Exp $ */ --- 215,218 ---- /* ! * @(#)$Header: /n/opus/u/guest/william/src/tgif/v3/RCS/HISTORY,v 3.8 1996/05/15 17:44:13 william Exp $ */