home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PASCAL / TP6BUGS5.ZIP / TP6BUGS5.LST < prev    next >
Encoding:
File List  |  1992-02-02  |  7.8 KB  |  223 lines

  1. This is a completely *un*official list of bugs in TP 6.0.  There have
  2. been (at least) two releases both numbered 6.00:  the original one in
  3. October 1990, and another in June 1991.  You can identify the later
  4. release by the date or by the file size:  TURBO.EXE is 325982 bytes in
  5. the later release.  Several bugs were fixed in the second release; those
  6. are marked below.  I've also heard of a 6.01 release dated July 1991,
  7. but haven't tested any of these bugs against it.
  8.  
  9. The list is very abbreviated;  if any of the items are too obscure, ask
  10. and I'll expand on them.
  11.  
  12. Juergen Schlegelmilch sent me a very detailed list of bugs & fixes in TP
  13. 6.0 & Turbovision; the file version (TP6BUGS5.ZIP) of this list contains
  14. all of his comments.  It also contains a few patches and fixes that I've
  15. collected.  The file version will be available on Fidonet on the PDN
  16. Pascal file echo area, and on Internet from garbo.uwasa.fi.  It will
  17. also be available on the PC Techniques section of CLMFORUM on
  18. Compuserve.
  19.  
  20. I'd appreciate it if anyone sent me their own bug list; I'll publicize
  21. it on Usenet, Fidonet and Compuserve. I'd also appreciate hearing about
  22. patches.
  23.  
  24. Duncan Murdoch
  25.  
  26.  dmurdoch@watstat.waterloo.edu   (Internet address)
  27.  71631,122 (Compuserve)
  28.  DJ Murdoch at 1:221/177.40.
  29.  
  30. Feb 2, 1992:
  31.  
  32. The Drivers.MoveBuf procedure puts junk into the buffer when Attr is 0.
  33. (It uses a STOSB where a MOVSB instruction is needed.) Not fixed.
  34.  
  35. The Random(N) function doesn't produce a uniform distribution unless N is a
  36. power of 2, especially for large values of N. Not fixed.
  37.  
  38. The Val procedure can't convert the smallest longint value, -2147483648.
  39. Not fixed.
  40.  
  41. The base type for a pointer type definition can't be a qualified
  42. identifier. Not fixed.
  43.  
  44. The following TV bugs are more fully described (and fixes are given!) in
  45. the file TVBUGS in TP6BUGS5.ZIP:
  46.  
  47. TFileEditor.NewBuffer allocates 0 bytes, but does not set BufSize
  48. to 0.
  49.  
  50. If the search string given to Editors.IScan nearly matches the last
  51. chars in the text, the routine runs over the end of the text, eventually
  52. replacing text.
  53.  
  54. TMemo cannot coexist in a TDialog with other objects having scrollbars,
  55. because TEditor.HandleEvent consumes all cmScrollBarChanged events.
  56.  
  57. TEditor.InsertBuffer does not reset the block marker.  If a call to it
  58. is followed by a backspace, the block is deleted.
  59.  
  60. If StdDlg.NoWildchars is called with an empty argument, it overwrites
  61. the stack.
  62.  
  63. THelpTopic.AddCrossRef allocates memory and then forgets to use it.
  64.  
  65. THelpIndex.Position returns garbage values if called with a negative
  66. argument.
  67.  
  68. THistory.Draw uses characters 221 and 222 which are not standard outside
  69. codepage 437.
  70.  
  71. December 3, 1991:
  72.  
  73. TP doesn't handle the denormal exception properly on an 8087 or 80287,
  74. so underflow sometimes creates non-zero results.  Not fixed.
  75.  
  76. Compile time evaluation of the ROUND() function is different than
  77. run-time evaluation in $N+ mode on numbers ending in .5.  Not fixed.
  78.  
  79. Arithmetic on the REAL type is sometimes inaccurate in the last few bits
  80. of the result.  Not fixed.
  81.  
  82. The coprocessor emulator doesn't properly emulate the FINCSTP and
  83. FDECSTP instructions in BASM.  (These aren't used by compiled Pascal
  84. code.)  Not fixed.
  85.  
  86. The coprocessor emulator doesn't respect the precision control bits. Not
  87. fixed.
  88.  
  89. The SEG operator in BASM doesn't work on variables declared in the stack
  90. segment. Not fixed.
  91.  
  92. Referencing fields of records in BASM in a WITH block doesn't add the
  93. base address. Not fixed.
  94.  
  95. BASM doesn't generate correct code for instructions like MOV AX,[WORD
  96. PTR BX]. (This is TASM Ideal mode syntax; MASM syntax MOV AX,WORD PTR
  97. [BX] is fine.)  Not fixed.
  98.  
  99. The Graph.TextWidth function returns incorrect results when fonts are
  100. scaled.
  101.  
  102. October 31, 1991:
  103.  
  104. The instruction "IMUL AX, 16" (valid on an 80186+) is rejected by BASM.
  105. The equivalent "IMUL AX, AX, 16" does work (in $G+ mode).  Not fixed.
  106.  
  107. October 26, 1991:
  108.  
  109. If a byte variable X = 0, then (X-1) DIV 8 produces a zero divide error.
  110. Fixed June 91.
  111.  
  112. October 23, 1991:
  113.  
  114. Hitting tab on a help topic with no crossrefs will crash the help
  115. system.  A patch to HELPFILE.PAS is available from Borland.
  116.  
  117. October 17, 1991:
  118.  
  119. The coprocessor emulator does not respect the rounding bits internally
  120. or when storing results to Single or Double variables.
  121.  
  122. October 11, 1991:
  123.  
  124. Segments in external .OBJ files with no class names (e.g. ABSOLUTE
  125. segments) will crash TURBO, TPC or TPCX.  Not fixed.
  126.  
  127. September 16, 1991:
  128.  
  129. The IDE will give incorrect matches when doing word searches on words at
  130. the start of lines (e.g. "Const" matches "onst").  Fixed June 91.
  131.  
  132. The compiler won't allow the optional identifier in a variant record to
  133. be an already defined scalar type identifer. Not fixed.
  134.  
  135. The compiler gives spurious errors if you nest loops very deeply (e.g.
  136. 256 deep).
  137.  
  138.  
  139. August 16, 1991
  140.  
  141. Dangerous bugs:
  142.  
  143. You can use typed constants and variables in constant expressions,
  144. giving garbage values.  Fixed June 91.
  145.  
  146. The coprocessor emulator doesn't check properly for internal stack
  147. overflow; it just wraps around and trashes the top of the stack segment.
  148. Not fixed.
  149.  
  150. Succ(Seg(v)) = Seg(v)  and Pred(Seg(v)) = Seg(v) !  Fixed June 91.
  151.  
  152. TBufStream writes garbage to the stream sometimes.  (A patch for this is
  153. included in TP6BUGS5.ZIP as TBUFSTRE.FIX.).  Not fixed.
  154.  
  155. IN doesn't properly handle out of range values.  (What it does is to
  156. demote out of range scalars to byte, ignoring any high bits.) Not fixed.
  157.  
  158. Referencing fields of records in inline machine code sometimes makes the
  159. compiler go quietly insane.  Not fixed.
  160.  
  161.  Other bugs:
  162.  
  163. Coprocessor errors are often reported at the wrong address, especially
  164. if the error occurs on the first pass through. Not fixed.
  165.  
  166. GetDir returns a root directory for non-existent drives.  (This is
  167. almost as documented.)
  168.  
  169. Horizontal text justification to the right side doesn't work if the
  170. writing direction is vertical.
  171.  
  172. Intr and MsDos don't always work properly in V86 mode under Windows 3,
  173. because they don't use the INT instruction.
  174.  
  175. The TVEdit unit can't input some digits.  (A patch for this is
  176. included in EDITOR.FIX in TP6BUGS5.ZIP.) Fixed in June 91.
  177.  
  178. ^T in TVEdit sometimes deletes more than the next word.  (This is by
  179. design, but inconsistent with the design of the IDE.)
  180.  
  181. ^QF followed by ^L followed by Space deletes words in TVEdit.  (This is
  182. also by design.)
  183.  
  184. TProgram doesn't clean up memory properly on exit.
  185.  
  186. TFileViewer's FileName field is never disposed.
  187.  
  188. The IDE forgets your snow check setting if you jump to DOS and exit
  189. back.
  190.  
  191. Writeln wipes out the status word in the coprocessor. Not fixed.
  192.  
  193. You can allocate an array bigger than 65528 bytes on the heap; it may
  194. wrap around and trash whatever precedes it.  Not fixed.
  195.  
  196. The coprocessor emulator doesn't propagate NaNs the same way as a real
  197. coprocessor does. Not fixed.
  198.  
  199. The string conversion routines sometimes print NaNs as INF.
  200.  
  201. Complicated expressions involving Reals compiled $N+ will unnecessarily
  202. overflow the coprocessor stack (and trigger the dangerous error above).
  203. Not fixed.
  204.  
  205. The $G+ option makes the inline assembler use inline floating point
  206. code, rather than the CD forms that allow emulation. Not fixed.
  207.  
  208. Graph3.Plot leaves a word on the stack; if you call it repeatedly, you
  209. may get a stack overflow; if you call it from a routine that doesn't
  210. have any locals, you're dead.  Fixed in June 91.
  211.  
  212. Some weird problems with F7 Trace; sometimes it just refuses to do it.
  213.  
  214. There are certain illegal Extended encodings that crash the debugger in
  215. TURBO. Not fixed.
  216.  
  217. Range checking shouldn't apply to the limits in a for loop.
  218.  
  219. Method arguments shouldn't be at the same scoping level as method names.
  220.  
  221. The compiler exports private identifiers in .TPU files (though you can't
  222. use them).
  223.