[ENH] OptionalWarningForMacOSFileNameLength-dgd

Bert Freudenberg bert at isg.cs.uni-magdeburg.de
Wed Apr 2 18:22:11 UTC 2003


Hi John,

you obviously missed the point - file out names on *any* platform  
should be limited to the lowest common acceptable denominator (DOS 8.3  
would not be acceptable).

Apropos Mac: Andreas recently clarified the behaviour of the  
ioSetScreenSize primitive. AFAICT the Mac implementation does not  
comply, because it changes the display resolution even if fullscreen  
was not requested. Similarily, there is no way to go back to the  
original resolution. Are you going to change this?

-- Bert


Am Mittwoch, 02.04.03 um 19:59 Uhr schrieb John M McIntosh:

> Hi, I'll point out this isn't quite correct. The check is for
>
> Preferences warningForMacOSFileNameLength and: [nameToUse size > 31]
>
> Technically the check should be
>
> Preferences warningForMacOSFileNameLength and: [nameToUse size >  
> FileDirectory default class maxFileNameLength]
>
> Although somehow I think you could remove the Preferences  
> warningForMacOSFileNameLength since it could be a generic check for  
> file name size violations based on the underlying file name size  
> rules. Right now all platform specific paths names are 255, excluding  
> the classic mac file path names. But you never know if someone will  
> introduce a platform say with 64 character restrictions. This would  
> make this a generic check versus a mac specific preference.
>
>
> On Wednesday, April 2, 2003, at 06:47  AM,  
> <diegogomezdeck at consultar.com> wrote:
>
>> Hi guys...
>>
>> I made optional (via a preference option) the warning about the file  
>> name
>> length for MacOS in file-out operations.
>>
>> Cheers,
>>
>> Diego Gomez Deck
>>
>>
>> <OptionalWarningForMacOSFileNameLength-dgd.1.cs.gz>
>>
> --
> ======================================================================= 
> ====
> John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
> ======================================================================= 
> ====
>
>



More information about the Squeak-dev mailing list