home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Encyclopedia of Graphics File Formats Companion
/
GFF_CD.ISO
/
software
/
unix
/
xv
/
patches.txt
next >
Wrap
Text File
|
1994-06-01
|
5KB
|
143 lines
*** xv-3.00/CHANGELOG Thu Apr 22 21:32:32 1993
--- xv2/CHANGELOG Tue Jun 22 14:49:57 1993
***************
*** 1,5 ****
--- 1,28 ----
Revision History
----------------
+
+ XV 3.00a intermediate bug-fix release
+ -------------------------------------
+ Bug Fix: core dumps in schnauzer fixed. (br->lit wasn't getting zeroed
+ when you moved files to another directory)
+
+ Bug Fix: To vdcomp.c. Strings buffers to hold filenames were too short.
+ (Anthony A. Datri <aad@lovecraft.siemens.com>)
+
+ Bug Fix: If you put an image using the Std. Colormap into the root window
+ (ie, a 24-bit image on an 8-bit display), and exited XV, the colors
+ were freed (and would get overwritten)
+
+ Bug Fix: 'Update' command in Schnauzer now checks both 'mtime' and 'ctime'
+ fields when comparing dates of a file and its thumbfile.
+
+ Bug Fix: XV load window didn't correctly handle 1-character top level
+ directory names (ie, '/u').
+
+
+
+ XV 3.00 Release
+ ---------------
Enhancement: Faster 332 dither algorithm when displaying 24-bit images on
non-TrueColor/DirectColor displays.
*** xv-3.00/vdcomp.c Thu Apr 22 21:32:49 1993
--- xv2/vdcomp.c Thu Jun 3 00:27:19 1993
***************
*** 139,145 ****
int infile;
FILE *outfile;
! char inname[80],outname[80];
int output_format;
int record_bytes, max_lines;
int line_samples, fits_pad;
--- 139,145 ----
int infile;
FILE *outfile;
! char inname[1024],outname[1024];
int output_format;
int record_bytes, max_lines;
int line_samples, fits_pad;
*** xv-3.00/xvbrowse.c Thu Apr 22 21:32:56 1993
--- xv2/xvbrowse.c Mon Jun 21 17:22:33 1993
***************
*** 3716,3724 ****
sprintf(thfname, "%s/%s", THUMBDIR, bf->name);
s2 = stat(thfname, &thumbst);
! if (s1 || s2 || filest.st_mtime > thumbst.st_mtime) {
/* either stat'ing the file or the thumbfile failed, or
! both stat's succeeded and the thumb is older than the pic */
/* free info in 'bf', as it'll get overwritten in genIcon() */
if (bf->imginfo) free (bf->imginfo);
--- 3716,3726 ----
sprintf(thfname, "%s/%s", THUMBDIR, bf->name);
s2 = stat(thfname, &thumbst);
! if (s1 || s2 || filest.st_mtime > thumbst.st_mtime ||
! filest.st_ctime > thumbst.st_ctime) {
/* either stat'ing the file or the thumbfile failed, or
! both stat's succeeded and the file has a newer mod or creation
! time than the thumbnail file */
/* free info in 'bf', as it'll get overwritten in genIcon() */
if (bf->imginfo) free (bf->imginfo);
***************
*** 4364,4369 ****
--- 4366,4382 ----
sprintf(src, "%s%s/bozo", dstp, THUMBDIR);
DIRCreatedFile(src);
}
+
+
+ if (!cpymode) {
+ /* clear all lit files in the source folder (as they've been moved)
+ note: this won't be the optimal behavior if any files failed to
+ move, but screw it, that's not going to happen too often... */
+
+ for (i=0; i<srcBr->bfLen; i++) srcBr->bfList[i].lit = 0;
+ srcBr->numlit = 0;
+ }
+
*** xv-3.00/xvdir.c Thu Apr 22 21:32:29 1993
--- xv2/xvdir.c Tue May 25 17:16:14 1993
***************
*** 648,654 ****
changedDir = strcmp(path, oldpath);
strcpy(oldpath, path);
! if (strlen(path)>2 && path[strlen(path)-1] != '/')
strcat(path,"/"); /* tack on a trailing '/' to make path consistent */
/* path will be something like: "/u3/bradley/src/weiner/whatever/" */
--- 648,654 ----
changedDir = strcmp(path, oldpath);
strcpy(oldpath, path);
! if (strlen(path)>1 && path[strlen(path)-1] != '/')
strcat(path,"/"); /* tack on a trailing '/' to make path consistent */
/* path will be something like: "/u3/bradley/src/weiner/whatever/" */
*** xv-3.00/xvmisc.c Thu Apr 22 21:32:29 1993
--- xv2/xvmisc.c Wed Jun 2 21:28:46 1993
***************
*** 483,489 ****
#endif
/* if NOT using stdcmap for images, free stdcmap */
! { int j;
for (j=0; j<stdnfcols; j++)
xvFreeColors(theDisp, theCmap, &stdfreecols[j], 1, 0L);
}
--- 483,490 ----
#endif
/* if NOT using stdcmap for images, free stdcmap */
! if (colorMapMode != CM_STDCMAP) {
! int j;
for (j=0; j<stdnfcols; j++)
xvFreeColors(theDisp, theCmap, &stdfreecols[j], 1, 0L);
}