home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / x / volume20 / xfig / patch01 < prev    next >
Encoding:
Text File  |  1993-05-31  |  3.9 KB  |  119 lines

  1. Newsgroups: comp.sources.x
  2. From: envbvs@epb10.lbl.gov (Brian V. Smith)
  3. Subject: v20i007:  xfig - Draw amd manipulate objects in an X-Window, Patch01
  4. Message-ID: <1993Jun1.224521.7627@sparky.imd.sterling.com>
  5. X-Md4-Signature: 744c60b06751f4279df628b3c6dde3fd
  6. Sender: chris@sparky.imd.sterling.com (Chris Olson)
  7. Organization: Sterling Software
  8. Date: Tue, 1 Jun 1993 22:45:21 GMT
  9. Approved: chris@sparky.imd.sterling.com
  10.  
  11. Submitted-by: envbvs@epb10.lbl.gov (Brian V. Smith)
  12. Posting-number: Volume 20, Issue 7
  13. Archive-name: xfig/patch01
  14. Environment: X11
  15. Patch-To: xfig: Volume 19, Issue 113-139
  16.  
  17. This patch should be applied to xfig 2.1.7.
  18.  
  19. It fixes the problem of the radius indicator for the arc-box radius button in 
  20. the bottom panel being drawn strangely.
  21. This also caused OpenWindows servers to hang for many minutes.
  22.  
  23. The patch to the app-defaults file Fig.ad prevents xfig from consuming many
  24. megabytes of memory.  Be sure to install the patched Fig.ad file to your 
  25. /usr/.../app-defaults/Fig file.
  26.  
  27. Applying this patch will make your xfig version 2.1.7a.
  28. Brian V. Smith
  29. (bvsmith@lbl.gov)
  30.  
  31. --------------------- patch follows ---------------------
  32. #! /bin/sh
  33. # This is a shell archive.  Remove anything before this line, then feed it
  34. # into a shell via "sh file" or similar.  To overwrite existing files,
  35. # type "sh file -c".
  36. # Contents:  xfig.p1
  37. # Wrapped by chris@sparky on Tue Jun  1 17:20:49 1993
  38. PATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin:/usr/lbin ; export PATH
  39. echo If this archive is complete, you will see the following message:
  40. echo '          "shar: End of archive."'
  41. if test -f 'xfig.p1' -a "${1}" != "-c" ; then 
  42.   echo shar: Will not clobber existing file \"'xfig.p1'\"
  43. else
  44.   echo shar: Extracting \"'xfig.p1'\" \(1737 characters\)
  45.   sed "s/^X//" >'xfig.p1' <<'END_OF_FILE'
  46. X*** patchlevel.h.orig    Wed Apr 28 15:33:35 1993
  47. X--- patchlevel.h    Tue May  4 14:17:51 1993
  48. X***************
  49. X*** 10,13 ****
  50. X   * any purpose.  It is provided "as is" without express or implied warranty."
  51. X   */
  52. X  
  53. X! #define PATCHLEVEL "7"
  54. X--- 10,13 ----
  55. X   * any purpose.  It is provided "as is" without express or implied warranty."
  56. X   */
  57. X  
  58. X! #define PATCHLEVEL "7a"
  59. X*** w_indpanel.c.orig    Fri Feb 12 09:04:25 1993
  60. X--- w_indpanel.c    Tue May  4 09:35:59 1993
  61. X***************
  62. X*** 1489,1495 ****
  63. X            DEF_IND_SW_WD, DEF_IND_SW_HT / 2, ERASE,
  64. X            DEF_IND_SW_HT, PANEL_LINE, 0.0, DEFAULT_COLOR);
  65. X      /* draw current radius into pixmap */
  66. X!     curve(sw->normalPM, 0, cur_boxradius, -cur_boxradius, 0, 1,
  67. X        cur_boxradius, cur_boxradius, DEF_IND_SW_WD - 2, DEF_IND_SW_HT - 2,
  68. X        PAINT, 1, PANEL_LINE, 0.0, 0, DEFAULT_COLOR);
  69. X  
  70. X--- 1489,1495 ----
  71. X            DEF_IND_SW_WD, DEF_IND_SW_HT / 2, ERASE,
  72. X            DEF_IND_SW_HT, PANEL_LINE, 0.0, DEFAULT_COLOR);
  73. X      /* draw current radius into pixmap */
  74. X!     curve(sw->normalPM, 0, cur_boxradius, -cur_boxradius, 0, 1, 50,
  75. X        cur_boxradius, cur_boxradius, DEF_IND_SW_WD - 2, DEF_IND_SW_HT - 2,
  76. X        PAINT, 1, PANEL_LINE, 0.0, 0, DEFAULT_COLOR);
  77. X  
  78. X*** Fig.ad.orig    Tue Feb 23 09:22:33 1993
  79. X--- Fig.ad    Thu May  6 13:06:02 1993
  80. X***************
  81. X*** 38,46 ****
  82. X  
  83. X  ! keyboard accelerators
  84. X  
  85. X- Fig*accelerators: \
  86. X-     Meta<Key>s: SaveFile()\n\
  87. X-     Meta<Key>l: LoadFile()\n
  88. X  
  89. X  Fig*quit*accelerators: \
  90. X      Meta<Key>q: quit()\n
  91. X--- 38,43 ----
  92. X***************
  93. X*** 53,58 ****
  94. X--- 50,57 ----
  95. X  Fig*paste*accelerators: \
  96. X      Meta<Key>t: paste()\n
  97. X  Fig*file*accelerators: \
  98. X+     Meta<Key>s: SaveFile()\n\
  99. X+     Meta<Key>l: LoadFile()\n\
  100. X      Meta<Key>f: file()\n
  101. X  
  102. X  Fig*xfig_file_menu*accelerators: \
  103. X
  104. X
  105. END_OF_FILE
  106.   if test 1737 -ne `wc -c <'xfig.p1'`; then
  107.     echo shar: \"'xfig.p1'\" unpacked with wrong size!
  108.   fi
  109.   # end of 'xfig.p1'
  110. fi
  111. echo shar: End of archive.
  112. exit 0
  113. exit 0 # Just in case...
  114. -- 
  115.   // chris@IMD.Sterling.COM       | Send comp.sources.x submissions to:
  116. \X/  Amiga - The only way to fly! |    sources-x@imd.sterling.com
  117.  "It's intuitively obvious to the |
  118.   most casual observer..."        | GCS d+/-- p+ c++ l+ m+ s++/+ g+ w+ t+ r+ x+
  119.