home *** CD-ROM | disk | FTP | other *** search
/ Encyclopedia of Graphics File Formats Companion / GFF_CD.ISO / software / unix / xv / patches.txt next >
Text File  |  1994-06-01  |  5KB  |  143 lines

  1. *** xv-3.00/CHANGELOG    Thu Apr 22 21:32:32 1993
  2. --- xv2/CHANGELOG    Tue Jun 22 14:49:57 1993
  3. ***************
  4. *** 1,5 ****
  5. --- 1,28 ----
  6.   Revision History
  7.   ----------------
  8. + XV 3.00a intermediate bug-fix release
  9. + -------------------------------------
  10. + Bug Fix:  core dumps in schnauzer fixed.  (br->lit wasn't getting zeroed 
  11. +     when you moved files to another directory)
  12. + Bug Fix:  To vdcomp.c.  Strings buffers to hold filenames were too short.
  13. +         (Anthony A. Datri <aad@lovecraft.siemens.com>)
  14. + Bug Fix:  If you put an image using the Std. Colormap into the root window
  15. +     (ie, a 24-bit image on an 8-bit display), and exited XV, the colors
  16. +     were freed (and would get overwritten)
  17. + Bug Fix:  'Update' command in Schnauzer now checks both 'mtime' and 'ctime'
  18. +     fields when comparing dates of a file and its thumbfile.
  19. + Bug Fix:  XV load window didn't correctly handle 1-character top level 
  20. +     directory names (ie, '/u').
  21. + XV 3.00 Release
  22. + ---------------
  23.   Enhancement:  Faster 332 dither algorithm when displaying 24-bit images on
  24.       non-TrueColor/DirectColor displays.
  25.   
  26.  
  27. *** xv-3.00/vdcomp.c    Thu Apr 22 21:32:49 1993
  28. --- xv2/vdcomp.c    Thu Jun  3 00:27:19 1993
  29. ***************
  30. *** 139,145 ****
  31.   
  32.   int                infile;
  33.   FILE               *outfile;
  34. ! char               inname[80],outname[80];
  35.   int                output_format;
  36.   int                record_bytes, max_lines;
  37.   int                line_samples, fits_pad;
  38. --- 139,145 ----
  39.   
  40.   int                infile;
  41.   FILE               *outfile;
  42. ! char               inname[1024],outname[1024];
  43.   int                output_format;
  44.   int                record_bytes, max_lines;
  45.   int                line_samples, fits_pad;
  46.  
  47.  
  48.  
  49. *** xv-3.00/xvbrowse.c    Thu Apr 22 21:32:56 1993
  50. --- xv2/xvbrowse.c    Mon Jun 21 17:22:33 1993
  51. ***************
  52. *** 3716,3724 ****
  53.         sprintf(thfname, "%s/%s", THUMBDIR, bf->name);
  54.         s2 = stat(thfname, &thumbst);
  55.   
  56. !       if (s1 || s2 || filest.st_mtime > thumbst.st_mtime) {
  57.       /* either stat'ing the file or the thumbfile failed, or 
  58. !        both stat's succeeded and the thumb is older than the pic */
  59.   
  60.       /* free info in 'bf', as it'll get overwritten in genIcon() */
  61.       if (bf->imginfo) free          (bf->imginfo);
  62. --- 3716,3726 ----
  63.         sprintf(thfname, "%s/%s", THUMBDIR, bf->name);
  64.         s2 = stat(thfname, &thumbst);
  65.   
  66. !       if (s1 || s2 || filest.st_mtime > thumbst.st_mtime ||
  67. !                   filest.st_ctime > thumbst.st_ctime) {
  68.       /* either stat'ing the file or the thumbfile failed, or 
  69. !        both stat's succeeded and the file has a newer mod or creation
  70. !        time than the thumbnail file */
  71.   
  72.       /* free info in 'bf', as it'll get overwritten in genIcon() */
  73.       if (bf->imginfo) free          (bf->imginfo);
  74. ***************
  75. *** 4364,4369 ****
  76. --- 4366,4382 ----
  77.       sprintf(src, "%s%s/bozo", dstp, THUMBDIR);
  78.       DIRCreatedFile(src);
  79.     }
  80. +   if (!cpymode) {
  81. +     /* clear all lit files in the source folder (as they've been moved)
  82. +        note:  this won't be the optimal behavior if any files failed to
  83. +        move, but screw it, that's not going to happen too often... */
  84. +     for (i=0; i<srcBr->bfLen; i++) srcBr->bfList[i].lit = 0;
  85. +     srcBr->numlit = 0;
  86. +   }
  87.  
  88.  
  89.   
  90. *** xv-3.00/xvdir.c    Thu Apr 22 21:32:29 1993
  91. --- xv2/xvdir.c    Tue May 25 17:16:14 1993
  92. ***************
  93. *** 648,654 ****
  94.     changedDir = strcmp(path, oldpath);
  95.     strcpy(oldpath, path);
  96.   
  97. !   if (strlen(path)>2 && path[strlen(path)-1] != '/')
  98.       strcat(path,"/");   /* tack on a trailing '/' to make path consistent */
  99.   
  100.     /* path will be something like: "/u3/bradley/src/weiner/whatever/" */
  101. --- 648,654 ----
  102.     changedDir = strcmp(path, oldpath);
  103.     strcpy(oldpath, path);
  104.   
  105. !   if (strlen(path)>1 && path[strlen(path)-1] != '/')
  106.       strcat(path,"/");   /* tack on a trailing '/' to make path consistent */
  107.   
  108.     /* path will be something like: "/u3/bradley/src/weiner/whatever/" */
  109.  
  110.  
  111. *** xv-3.00/xvmisc.c    Thu Apr 22 21:32:29 1993
  112. --- xv2/xvmisc.c    Wed Jun  2 21:28:46 1993
  113. ***************
  114. *** 483,489 ****
  115.   #endif
  116.   
  117.       /* if NOT using stdcmap for images, free stdcmap */
  118. !     { int j;
  119.         for (j=0; j<stdnfcols; j++) 
  120.       xvFreeColors(theDisp, theCmap, &stdfreecols[j], 1, 0L);
  121.       }
  122. --- 483,490 ----
  123.   #endif
  124.   
  125.       /* if NOT using stdcmap for images, free stdcmap */
  126. !     if (colorMapMode != CM_STDCMAP) { 
  127. !       int j;
  128.         for (j=0; j<stdnfcols; j++) 
  129.       xvFreeColors(theDisp, theCmap, &stdfreecols[j], 1, 0L);
  130.       }
  131.