Re: [Lazarus] Saving namespace files on WinXP

2017-01-29 Thread Lars via Lazarus
I previously wrote: > > ...fpc unit with dots in it, does this file syntax even get > accepted as a unit? > > Delphi has this: > https://sergworks.wordpress.com/2011/08/09/dotted-unit-names-in-delphi/ Answer here: http://wiki.freepascal.org/FPC_New_Features_3.0#Delphi-like_namespaces_units -- _

Re: [Lazarus] Saving namespace files on WinXP

2017-01-29 Thread Lars via Lazarus
> On 1/27/17, Marcos Douglas B. Santos via Lazarus > wrote: > > > If you try to save a file that has a "namespace" like > "foo.bar.unit1.pas" the IDE won't put the file extension. > > > Is this a known bug? > But why save an fpc unit with dots in it, does this file syntax even get accepted as a u

Re: [Lazarus] Saving namespace files on WinXP

2017-01-28 Thread Marcos Douglas B. Santos via Lazarus
On Fri, Jan 27, 2017 at 6:44 PM, Mattias Gaertner via Lazarus wrote: >> I don't know if Lazarus won't support WinXP in the near future, but I >> would like to notify a bug: >> If you try to save a file that has a "namespace" like >> "foo.bar.unit1.pas" the IDE won't put the file extension. > > Wha

Re: [Lazarus] Saving namespace files on WinXP

2017-01-27 Thread Bart via Lazarus
On 1/27/17, Bart wrote: > IIRC there is a difference between XP and newer Windows wrt to > handling of default extension in savedialog. On Win7 in File Save As dialog: type foo -> filename = foo.pas (or foo.pp) type foo.bar -> filename = foo.bar.pas type foo.doc -> filename = foo.doc type foo.t

Re: [Lazarus] Saving namespace files on WinXP

2017-01-27 Thread Bart via Lazarus
On 1/27/17, Marcos Douglas B. Santos via Lazarus wrote: > If you try to save a file that has a "namespace" like > "foo.bar.unit1.pas" the IDE won't put the file extension. > > Is this a known bug? IIRC there is a difference between XP and newer Windows wrt to handling of default extension in sav

Re: [Lazarus] Saving namespace files on WinXP

2017-01-27 Thread Mattias Gaertner via Lazarus
On Fri, 27 Jan 2017 17:19:39 -0200 "Marcos Douglas B. Santos via Lazarus" wrote: > I don't know if Lazarus won't support WinXP in the near future, but I > would like to notify a bug: > If you try to save a file that has a "namespace" like > "foo.bar.unit1.pas" the IDE won't put the file extension