On 4/25/2013 2:29 PM, Dick Hollenbeck wrote:
> On 04/25/2013 01:06 PM, jean-pierre charras wrote:
>> I agree this is a long term fix.
>> If we take in account the footprint library table changes work in progress, my preference is also case sensitive, and do not fix this very minor issue, with is very easily solved by users.
>>
>
> Wayne,
>
> How are we impacted by the fact that Windows is not case sensitive on filenames, but linux
> is, and the effect of this on files residing in a *.pretty dir?
>
> Windows would disallow two files of same spelling with different case
> correct? Linux not.
>
> Or is there a modern Windows file system option now that they've had 20 years to see how
> real operating systems work?
>
It depends. If the user's file system is NTFS, there is a way to make
it case sensitive but it's disabled by default. I doubt many users
enable it. I could use wxFileName::IsCaseSensitive() (assuming that it
works properly) to test for case sensitivity and take the appropriate
action in PCB_IO::FootprintSave(). Otherwise, creating a pretty
footprint on Windows with the same file name spelling irregardless of
case will overwrite the existing footprint without warning. I doubt the
user will be expecting this.
On 4/25/2013 2:29 PM, Dick Hollenbeck wrote: :IsCaseSensitiv e() (assuming that it :FootprintSave( ). Otherwise, creating a pretty
> On 04/25/2013 01:06 PM, jean-pierre charras wrote:
>> I agree this is a long term fix.
>> If we take in account the footprint library table changes work in progress, my preference is also case sensitive, and do not fix this very minor issue, with is very easily solved by users.
>>
>
> Wayne,
>
> How are we impacted by the fact that Windows is not case sensitive on filenames, but linux
> is, and the effect of this on files residing in a *.pretty dir?
>
> Windows would disallow two files of same spelling with different case
> correct? Linux not.
>
> Or is there a modern Windows file system option now that they've had 20 years to see how
> real operating systems work?
>
It depends. If the user's file system is NTFS, there is a way to make
it case sensitive but it's disabled by default. I doubt many users
enable it. I could use wxFileName:
works properly) to test for case sensitivity and take the appropriate
action in PCB_IO:
footprint on Windows with the same file name spelling irregardless of
case will overwrite the existing footprint without warning. I doubt the
user will be expecting this.