[FIX] browsingCodeFiles

Magistrello Alejandro (SFA) magistra at TELEFONICA.COM.AR
Mon May 5 14:17:32 UTC 2003


hi all,

two fixes,

1 - when you want to open a changeList browser for a file 
that is readOnly you a get a nil dNU: browseStream: because 
the file wasn't opened in write mode, this is fixed by 
opening the file in readOnlyMode.


2 - if you open a code-file browser on a File that contains
the definition of a non-existing class in the system and 
goes from the classSide to the instanceSide you'll get: 
PseudoMetaclass/PseudoClass dNU: #compiledMethodAt:ifAbsent:
this one is fixed by testing (aClass isKindOf: PseudoClass) in 
CodeHolder.didCodeChangeElsewhere, as one can't change code 
on a FileContents browser just answer false
one file that gaves this error is
<http://minnow.cc.gatech.edu/squeak/uploads/3030/AppRegistry.cs>

regards
   Alejandro

 <<browsingCodeFixes-asm.1.cs.gz>> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: browsingCodeFixes-asm.1.cs.gz
Type: application/octet-stream
Size: 921 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030505/65a9a1b9/browsingCodeFixes-asm.1.cs.obj


More information about the Squeak-dev mailing list