Re: NSTemporaryDirectory() Windows

2005-05-12 Thread Marc Brünink
GetLongPathName is supported since Windows 98. So I guess Windows 98 handles the long format correctly. And concerning Windows 95: Sometimes an API should drop support for an operating system release. Particular if the development is discontinued since 6 years. Just one small addition: Probably

Re: NSTemporaryDirectory() Windows

2005-05-12 Thread Marc Brünink
On Mittwoch, Mai 11, 2005, at 14:04 Europe/Berlin, Richard Frith-Macdonald wrote: On 2005-05-11 12:30:06 +0100 Marc Brünink [EMAIL PROTECTED] wrote: 2. A method of NSString which converts 8.3 pathnames to long ones. Again, 'why' windows provides one for you, and it would have no use

Re: NSTemporaryDirectory() Windows

2005-05-12 Thread David Ayers
Marc Brnink wrote: However. I think if we use some nasty internal string representation there SHOULD be a method to convert it to a nice format. And this method shouldn't be an operating system method but a method within GNUstep. But perhaps this is just my opinion. FWIW, I don't

Re: NSTemporaryDirectory() Windows

2005-05-12 Thread Sheldon Gill
David Ayers wrote: Marc Brnink wrote: However. I think if we use some nasty internal string representation there SHOULD be a method to convert it to a nice format. And this method shouldn't be an operating system method but a method within GNUstep. But perhaps this is just my opinion. The nasty

Re: NSTemporaryDirectory() Windows

2005-05-11 Thread Richard Frith-Macdonald
On 2005-05-11 10:13:55 +0100 Marc Brünink [EMAIL PROTECTED] wrote: Isn't it a bit outdated to return a MS-DOS 5.x string? Backwards compatibility with MS-DOS is a Windows feature. Nevertheless GNUstep should handle this. Either by changing NSTemporaryDirectory() or by hacking

Re: NSTemporaryDirectory() Windows

2005-05-11 Thread Sheldon Gill
Nevertheless GNUstep should handle this. Either by changing NSTemporaryDirectory() or by hacking openStepPathFromLocal and/or stringByStandardizingPath. I guess the task of GNUstep is to encapsulate all this awful operating system functions. So GNUstep have be to hacked. I don't understand

Re: NSTemporaryDirectory() Windows

2005-05-11 Thread Marc Brünink
On Mittwoch, Mai 11, 2005, at 11:50 Europe/Berlin, Richard Frith-Macdonald wrote: On 2005-05-11 10:13:55 +0100 Marc Brünink [EMAIL PROTECTED] wrote: Isn't it a bit outdated to return a MS-DOS 5.x string? Backwards compatibility with MS-DOS is a Windows feature. Nevertheless GNUstep should handle

Re: NSTemporaryDirectory() Windows

2005-05-11 Thread Richard Frith-Macdonald
On 2005-05-11 11:12:40 +0100 Marc Brünink [EMAIL PROTECTED] wrote: What exactly is the logic of wanting it to be 'c:\Dokumente und Einstellungen\Administrator\' ? If you want to store files in 'c:\Dokumente und Einstellungen\Administrator\.', I would have thought you should be using that

Re: NSTemporaryDirectory() Windows

2005-05-11 Thread Marc Brünink
However I simply want: 1. A NSTemporaryDirectory() funtions which doesn't return 8.3 paths, but real cool nice and fancy long path names. My question was 'why' ... that is what I don't understand. Given that the NSTemporaryDirectory() is an internal location used for temporary file storage, and

Re: NSTemporaryDirectory() Windows

2005-05-11 Thread Richard Frith-Macdonald
On 2005-05-11 12:30:06 +0100 Marc Brünink [EMAIL PROTECTED] wrote: 2. A method of NSString which converts 8.3 pathnames to long ones. Again, 'why' windows provides one for you, and it would have no use whatsoever outside of the windows environment, so adding it to GNUstep would be

Re: NSTemporaryDirectory() Windows

2005-05-10 Thread Sheldon Gill
Marc Brünink wrote: Hi folks, on my Windows machine NSTemporaryDirectory() returns a string like: ~C/DOKUME~1/ADMINI~1/ So this is the old DOS representation of names which are longer than 8 characters. That is correct. Type 'set' at the command prompt on your windows machines and you'll see

Re: NSTemporaryDirectory() Windows

2005-05-10 Thread Lloyd Dupont
[EMAIL PROTECTED] Cc: discuss-gnustep@gnu.org Sent: Wednesday, May 11, 2005 9:37 AM Subject: Re: NSTemporaryDirectory() Windows Marc Brünink wrote: Hi folks, on my Windows machine NSTemporaryDirectory() returns a string like: ~C/DOKUME~1/ADMINI~1/ So this is the old DOS representation of names