Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Micha Nelissen
Florian Klaempfl wrote: Micha Nelissen schrieb: Florian Klaempfl wrote: And applications can implement a configuration file lock much easier if they want to detect multiple activity. Do they :)? Does lazarus? IIRC OpenOffice (3.0) does detect it already and warn me. Well, then you need two

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Micha Nelissen
Vincent Snijders wrote: I am not sure having a 100 MB lazarus *roaming* profile by default would be a good idea. Probably the choice to compile lazarus itself to its "configuration" directory is not such a good idea ;-). Micha ___ fpc-pascal mailli

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Florian Klaempfl
Micha Nelissen schrieb: > Florian Klaempfl wrote: >>> Then you must be the only one since everybody I know despises it. We use >>> multiple times login sometimes and then the settings are always messed >>> up. >> >> Well, this causes a headache with fully networked home drives as well ;) > > If c

[fpc-pascal] [admin] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Jonas Maebe
Hello, Can this discussion please be moved to either the fpc-other or lazarus lists? Thanks, Jonas FPC mailing lists admin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Micha Nelissen
Florian Klaempfl wrote: My conclusion: I agree with Jonas, you can use network shares for development machines.. Consider 10-50 people working and accessing a server this way :) Using roaming profiles and local source checkouts, this can be handled easily by a 1k Eur server which even doesn't r

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Jürgen Hestermann
Roaming profiles using auto copy/delete are not the best choice for that. For me it works fine for years ;) Then you must be the only one since everybody I know despises it. As I wrote, the company I work for uses this setup for *all* (30,000+) machines all over the world. And I doubt that it

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Jürgen Hestermann
Roaming profiles using auto copy/delete are not the best choice for that. For me it works fine for years ;) But not with Larazus, or? That's just the problem that it stores the settings in parts of the profile that are *not* roamed/copied. ___ fpc-p

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Micha Nelissen
Florian Klaempfl wrote: Then you must be the only one since everybody I know despises it. We use multiple times login sometimes and then the settings are always messed up. Well, this causes a headache with fully networked home drives as well ;) If configuration files are per application it's

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Jürgen Hestermann
I wouldn't lose my settings on logoff. ;-) Then don't. ;) Usually I just locked the machine overnight. But as soon as I reboot my machine (for whatever reason and at whatever day) I lose all my settings. I am not able to configurate anything different from default because each reboot would ma

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Florian Klaempfl
Micha Nelissen schrieb: > Florian Klaempfl wrote: >>> Roaming profiles using auto copy/delete are not the best choice for >>> that. >> >> For me it works fine for years ;) > > Then you must be the only one since everybody I know despises it. We use > multiple times login sometimes and then the set

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Micha Nelissen
Florian Klaempfl wrote: Roaming profiles using auto copy/delete are not the best choice for that. For me it works fine for years ;) Then you must be the only one since everybody I know despises it. We use multiple times login sometimes and then the settings are always messed up. If the prof

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Florian Klaempfl
Mattias Gärtner schrieb: > Zitat von Florian Klaempfl : > >> Mattias Gärtner schrieb: >>> Zitat von Florian Klaempfl : >>> > [...] >> A network file system is too slow for developing. Compiling anything >> via nfs or smb is a nightmare speedwise. > > NFS over gigabit is not that bad. For how

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Zaher Dirkey
I will make small patch(or some modify on code), i think it be more understandable more than my bad language :) -- Zaher Dirkey ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Vinzent Hoefler
On Thursday 16 July 2009, Jürgen Hestermann wrote: > >> Well, this is happening now, since CSIDL_LOCAL_APPDATA isn't > >> roamed. > > > > Yes. So what's the advantage in using the Lazarus directory > > instead? ;) > > I wouldn't lose my settings on logoff. ;-) Then don't. ;) Usually I just locked

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Mattias Gärtner
Zitat von Zaher Dirkey : Hi, - "Use setup to define the link", i am compile Lazarus from the source not install the by setup. Is it bad idea to make Lazarus read ini/config file in same Lazarus dir, if the file exists then read the path to config directory from it, if not leave Lazarus as is.

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Mattias Gärtner
Zitat von Florian Klaempfl : Mattias Gärtner schrieb: Zitat von Florian Klaempfl : [...] A network file system is too slow for developing. Compiling anything via nfs or smb is a nightmare speedwise. NFS over gigabit is not that bad. For example compiling 94k lines of codetools on a networ

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Jonas Maebe
On 16 Jul 2009, at 16:35, Florian Klaempfl wrote: A network file system is too slow for developing. I do quite a bit of developing on an AFS volume. It's slower than working locally of course, but it's quite doable in general. Jonas ___ fpc-pas

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Zaher Dirkey
Hi, - "Use setup to define the link", i am compile Lazarus from the source not install the by setup. Is it bad idea to make Lazarus read ini/config file in same Lazarus dir, if the file exists then read the path to config directory from it, if not leave Lazarus as is. Eclipse IDE ask to workspac

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Florian Klaempfl
Mattias Gärtner schrieb: Zitat von Florian Klaempfl : Mattias Gaertner schrieb: On Thu, 16 Jul 2009 10:30:23 +0200 Jürgen Hestermann wrote: Jürgen Hestermann, how often do you change your working machine? Well, I seldom change it [...] If I log off, the local profile is saved (partely) to

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Mattias Gärtner
Zitat von Florian Klaempfl : Mattias Gaertner schrieb: On Thu, 16 Jul 2009 10:30:23 +0200 Jürgen Hestermann wrote: Jürgen Hestermann, how often do you change your working machine? Well, I seldom change it [...] If I log off, the local profile is saved (partely) to the (Novell) home dir and

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Jürgen Hestermann
Well, this is happening now, since CSIDL_LOCAL_APPDATA isn't roamed. Yes. So what's the advantage in using the Lazarus directory instead? ;) I wouldn't lose my settings on logoff. ;-) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Vinzent Hoefler
On Thursday 16 July 2009, Luca Olivetti wrote: > En/na Vinzent Hoefler ha escrit: > > But you would lose your settings when changing the machine, because > > then the settings aren't part of your profile anymore. > > Well, this is happening now, since CSIDL_LOCAL_APPDATA isn't roamed. Yes. So what

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Florian Klaempfl
Mattias Gaertner schrieb: > On Thu, 16 Jul 2009 10:30:23 +0200 > Jürgen Hestermann wrote: > >>> Jürgen Hestermann, how often do you change your working machine? >> Well, I seldom change it [...] >> >> If I log off, the local profile is saved (partely) to the (Novell) >> home dir and then the loca

Re: [fpc-pascal] Persistent blocks in Lazarus

2009-07-16 Thread Michael Van Canneyt
On Thu, 16 Jul 2009, Andreas Berger wrote: Out of curiosity (because I never used this feature in any editor), what would you use it for? Persistent blocks and the full Wordstar keyboard shortcuts is why I use the Delphi IDE until today. Me too. I never got used to the windows way... Mic

Re: [fpc-pascal] Persistent blocks in Lazarus

2009-07-16 Thread Andreas Berger
Out of curiosity (because I never used this feature in any editor), what would you use it for? Persistent blocks and the full Wordstar keyboard shortcuts is why I use the Delphi IDE until today. ___ fpc-pascal maillist - fpc-pascal@lists.freepasca

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Luca Olivetti
En/na Michael Van Canneyt ha escrit: I will attempt to solve the discussion: AFAIK Lazarus uses the getappconfigdir() call. I'll add a optional parameter called 'Roaming', which defaults to 'False' (for backward compatibility), and which can then be used to get the roaming profile directory. O

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Luca Olivetti
En/na Vinzent Hoefler ha escrit: But you would lose your settings when changing the machine, because then the settings aren't part of your profile anymore. Well, this is happening now, since CSIDL_LOCAL_APPDATA isn't roamed. Bye -- Luca ___ fpc-pasc

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Jürgen Hestermann
IMHO, that is more a problem of your novel setup than of Lazarus. I don't think so. It's a vaild setup for Windows machines since many years (see http://www.novell.com/coolsolutions/feature/3136.html). So why consider all other setups but not this one? Anyway you know now the trick: --pcp.

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Jürgen Hestermann
If I log off, the local profile is saved (partely) to the (Novell) home dir and then the local Windows user is deleted completely (including the profile!) IMO: This type of sharing does not sound very suitable for a development machine. Our company has a world wide identical setup for computer

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Mattias Gaertner
On Thu, 16 Jul 2009 11:51:29 +0200 Jürgen Hestermann wrote: > >> Therefore it would be the best of all worlds to save the Lazarus > >> settings to the Lazarus directory. > > No. A sane environment shouldn't even grant you write permissions > > there. > > Then Lazarus should ask where to put the

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Vincent Snijders
Jürgen Hestermann schreef: Therefore it would be the best of all worlds to save the Lazarus settings to the Lazarus directory. No. A sane environment shouldn't even grant you write permissions there. Then Lazarus should ask where to put the settings on installation because there are so many d

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Jürgen Hestermann
Therefore it would be the best of all worlds to save the Lazarus settings to the Lazarus directory. No. A sane environment shouldn't even grant you write permissions there. Then Lazarus should ask where to put the settings on installation because there are so many different configurations and

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Mattias Gaertner
On Thu, 16 Jul 2009 10:30:23 +0200 Jürgen Hestermann wrote: > > Jürgen Hestermann, how often do you change your working machine? > > Well, I seldom change it [...] > > If I log off, the local profile is saved (partely) to the (Novell) > home dir and then the local Windows user is deleted complet

[fpc-pascal] DUnit2 ported to Free Pascal

2009-07-16 Thread Graeme Geldenhuys
Hi All, Just thought I would let you know I successfully ported the DUnit2 code to Free Pascal. FPCUnit has some nice features and is included with FPC, but in its current state, there are some major headaches (defects). Michael Van Canneyt is going to work on fixing up FPCUnit (and I'll try and

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Michael Van Canneyt
On Thu, 16 Jul 2009, Vinzent Hoefler wrote: On Thursday 16 July 2009, Jürgen Hestermann wrote: I am not sure having a 100 MB lazarus *roaming* profile by default would be a good idea. That's true (although my settings are only 130 kB but they may grow). Therefore it would be the best of all

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Vinzent Hoefler
On Thursday 16 July 2009, Jürgen Hestermann wrote: > > I am not sure having a 100 MB lazarus *roaming* profile by default > > would be a good idea. > > That's true (although my settings are only 130 kB but they may grow). > Therefore it would be the best of all worlds to save the Lazarus > settings

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Jürgen Hestermann
I am not sure having a 100 MB lazarus *roaming* profile by default would be a good idea. That's true (although my settings are only 130 kB but they may grow). Therefore it would be the best of all worlds to save the Lazarus settings to the Lazarus directory. Then you would not have any problem

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Jürgen Hestermann
Jürgen Hestermann, how often do you change your working machine? Well, I seldom change it and I would not even need the Lazarus settings on other machines because I did not install it on these machines. But our system works the following (I don't know whether it is specific to our company or