Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows
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 whether Windows offers this way of working too): If I log on to a machine a Windows user does not exist for me (yet). I log on to Novell Netware first, then a local (duplicate) of my user is created on the local Windows machine. Then the profile is copied from my (Novell) user home dir to the local (Windows) user. 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!). So if I log on the next day all parts of the profile that were not saved are gone! I think it would be much better if the Lazarus settings would be saved to the Lazarus directory by default. Having 2 or more people sharing the same machine for Lazarus developement would be very seldom I suppose. And if so, they would be able to use different settings (if needed) by using a command line option in the same way as people like me have to use them now when having roaming profiles. At least no one would lose any settings this way. It could just happen that people have to search for (command line) options to cope with multiple settings. Jürgen Hestermann. ___ 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
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 problems when using roaming profiles (neither losing settings nor performance impact when copying data on logon). Jürgen Hestermann. ___ 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
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 to the Lazarus directory. No. A sane environment shouldn't even grant you write permissions there. > Then you would not have any > problems when using roaming profiles (neither losing settings nor > performance impact when copying data on logon). But you would lose your settings when changing the machine, because then the settings aren't part of your profile anymore. Vinzent. ___ 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
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 worlds to save the Lazarus settings to the Lazarus directory. No. A sane environment shouldn't even grant you write permissions there. Then you would not have any problems when using roaming profiles (neither losing settings nor performance impact when copying data on logon). But you would lose your settings when changing the machine, because then the settings aren't part of your profile anymore. 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. On non-windows, it will be ignored. It is then up to the lazarus devs to use the call to check for the 2 directories if they are so inclined, and possibly offer the choice. Can everybody live with that ? Michael.___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] DUnit2 ported to Free Pascal
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 help where I can), but I thought it quicker to simply port DUnit2 - Peter McNab seems to have done some excellent work with it. The DUnit2 port also includes the XML results listener and the Text Test Runner (no working GUI Test Runner yet - well I haven't tested it really). Some small sample test cases shows that the test framework is working, but an exhaustive test suite still needs to be applied - like the tiOPF test suite. Any help with testing the framework would be much appreciated. I'll start putting together a self-testing test suite as well. The original DUnit2 code is hosted in the tiOPF repository, but I did not want to make changes there because other projects outside the tiOPF might be using it. So I folked the project and am currently hosting it on GitHub. Some major things I have done to DUnit2 so far: * No need for Delphi.NET support. The product doesn't exist any more and .NET has its own testing framework anyway, called NUnit. * Don't need prior to Delphi 7 support - it's time to upgrade or switch to FPC compiler. * Must have Free Pascal Compiler (FPC) support. * With FPC support comes the idea that it must be cross-platform friendly as well. * Hence the next item - removing the idea of writing to the Windows Registry. INI or XML config files to a great job, are easy to edit and works for all OS platforms. * Removed Jedi JCL dependencies. My thoughts were that memory leak detection is more important in your actual project, not the test suite. But I could be wrong - raise your hands if you disagree. Other things I still need to do is neaten up the cross-compiler (FPC & Delphi) support - there are a few "ifdef FPC else..." cases. Plus Delphi testing must still be done but I can't see any issues there. Overall, I think I got the bulk of the work done. What's left is testing with a bigger test suite and making sure dreaded FPCUnit issues don't appear (Test Decorators being on the top of my list). So I welcome anybody to give the code a try and put it through its paces. That way all potential defects could be ironed out in a short time as possible. Any patches or suggestions are welcome. ;-) To pull a copy for yourself. $ git clone git://github.com/graemeg/dunit2.git dunit2 And if you are stuck behind a firewall you can do the following, but I suggest you ask your network admin to poke a hole in the firewall (port 9418). The 'git' protocol is a LOT faster and efficient than HTTP. Anyway, there is the HTTP alternative. $ git clone http://github.com/graemeg/dunit2.git dunit2 Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___ 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
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 completely (including the > profile!) IMO: This type of sharing does not sound very suitable for a development machine. > [...] > I think it would be much better if the Lazarus settings would be > saved to the Lazarus directory by default. This is not always writable. There are many platforms, many ways to install lazarus and development machines are almost always special. That's why the defaults are made for the binary packages where the lazarus directory is read only. If you don't use the default, you must tell lazarus and pass the pcp parameter. > Having 2 or more people sharing the same machine for Lazarus > developement would be very seldom I suppose. For example a pool for students. > [...] > At least no one would lose any settings this way. No default will fit all cases. Mattias ___ 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
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 Lazarus cannot guess it correctly. I would like to have it in the Lazarus directoy and you can be sure that my environment is "sane". Then you would not have any problems when using roaming profiles (neither losing settings nor performance impact when copying data on logon). But you would lose your settings when changing the machine, because then the settings aren't part of your profile anymore. Well, I now lose the settings even on the one and only machine I am using Lazarus. ___ 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
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 different configurations and Lazarus cannot guess it correctly. I would like to have it in the Lazarus directoy and you can be sure that my environment is "sane". Patches are welcome. Then you would not have any problems when using roaming profiles (neither losing settings nor performance impact when copying data on logon). But you would lose your settings when changing the machine, because then the settings aren't part of your profile anymore. Well, I now lose the settings even on the one and only machine I am using Lazarus. IMHO, that is more a problem of your novel setup than of Lazarus. Anyway you know now the trick: --pcp. Vincent ___ 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
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 settings on installation > because there are so many different configurations and Lazarus cannot > guess it correctly. I would like to have it in the Lazarus directoy > and you can be sure that my environment is "sane". You can create a feature request (bug tracker) for the windows installer to ask for the config directory. Then the windows installer can setup the pcp parameter in the links. > >> Then you would not have any > >> problems when using roaming profiles (neither losing settings nor > >> performance impact when copying data on logon). > > But you would lose your settings when changing the machine, because > > then the settings aren't part of your profile anymore. > > Well, I now lose the settings even on the one and only machine I am > using Lazarus. Use the pcp param. Mattias ___ 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
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 computers. Deleting the user and its profile on logout prevents others from viewing it (favourites, recent lists, etc.) when they logon on to the same machine later. I am not able to change this and have to live with it. And I think that this a logical way of configuration. I think it would be much better if the Lazarus settings would be saved to the Lazarus directory by default. This is not always writable. There are many platforms, many ways to install lazarus and development machines are almost always special. Yes. Therefore I think Lazarus should ask on install. Would be better than letting users first lose settings. Some may blame other processes for the loss (as I did first too) and only find out later that it's the roaming profile. Especially, because all other software I know uses the "Application Data" directory to store application and user specific settings. That's what it is made for. Of course, this can again bring up problems in profile size (which is limited to 10 MB in our envrionment) so I think the only solution is to ask on installation where to put it. This also sensitizes the user to the problem. No default will fit all cases. That's true. Therefore the user should decide IMHO. ___ 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
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. That's true. I am only thinking of others who have to learn this the hard way too. ___ 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
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-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
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. On non-windows, it will be ignored. Thats' a good solution: it won't break backwards compatibility and it gives the option to fix the behaviour of current programs that are using CSIDL_LOCAL_APPDATA. It is then up to the lazarus devs to use the call to check for the 2 directories if they are so inclined, and possibly offer the choice. I'd say that by default it should then use GetAppConfigDir(true) for the settings and GetAppConfigDir(false) for rebuilding the lazarus executable. Bye -- Luca ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Persistent blocks in Lazarus
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.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Persistent blocks in Lazarus
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... Michael. ___ 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
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 local Windows user is deleted completely (including >> the profile!) > > IMO: This type of sharing does not sound very suitable for a development > machine. I think roaming profiles are something very common in a commercial environment? It is a very good solution for the typcial professional use case where you use most of the time the same machine but sometimes you switch the machine. During your daily work you don't have the bottleneck of network/server access and when logging out, all data is stored again on the server so backups can be easily made. It combines the advantages of a networked home/profile directory and a fat client. ___ 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
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's the advantage in using the Lazarus directory instead? ;) Vinzent. ___ 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
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://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows
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 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. I think roaming profiles are something very common in a commercial environment? It is a very good solution for the typcial professional use case where you use most of the time the same machine but sometimes you switch the machine. During your daily work you don't have the bottleneck of network/server access and when logging out, all data is stored again on the server so backups can be easily made. It combines the advantages of a networked home/profile directory and a fat client. Sorry for the confusion. Of course this type of sharing makes perfect sense for office computers, stores and thin clients. The user settings are *normally* only a few MB and are machine independent, so they can be easily shared in whatever way you prefer (copy/delete, network file system, etc...). But development easily creates hundreds or thousands of MB. Sharing this with with auto copy/delete on log on/off is not the best idea. That's why I think there are better network sharing systems for development machines (network file systems, incremental syncs, dfs, ...). just my 2 cents. Mattias ___ 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
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 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. I think roaming profiles are something very common in a commercial environment? It is a very good solution for the typcial professional use case where you use most of the time the same machine but sometimes you switch the machine. During your daily work you don't have the bottleneck of network/server access and when logging out, all data is stored again on the server so backups can be easily made. It combines the advantages of a networked home/profile directory and a fat client. Sorry for the confusion. Of course this type of sharing makes perfect sense for office computers, stores and thin clients. The user settings are *normally* only a few MB and are machine independent, so they can be easily shared in whatever way you prefer (copy/delete, network file system, etc...). But development easily creates hundreds or thousands of MB. Sharing this with with auto copy/delete on log on/off is not the best idea. That's why I think there are better network sharing systems for development machines (network file systems, A network file system is too slow for developing. Compiling anything via nfs or smb is a nightmare speedwise. incremental syncs, dfs, ...). Indeed, sources etc. are just stored on the local harddisk being checked out from the vcs. ___ 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
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 workspace in first run. Thanks -- 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
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-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
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 network share and on local disc makes no difference. Compiling whole lazarus on a network share can be even faster than compiling locally, because saving a big chunk like the IDE executable is faster than the local disk. Lazarus itself had some performance problems with network shares in the past, because of its many file stat calls. I implemented a caching some years ago, which accelerated it by orders of magnitudes. My conclusion: I agree with Jonas, you can use network shares for development machines. Roaming profiles using auto copy/delete are not the best choice for that. incremental syncs, dfs, ...). Indeed, sources etc. are just stored on the local harddisk being checked out from the vcs. Mattias ___ 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
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. I'm not sure what you mean. Can you explain this in other words/with examples? Eclipse IDE ask to workspace in first run. Lazarus does not have the concept of 'workspace' as eclipse. Mattias ___ 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
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 the machine overnight. Vinzent. ___ 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
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
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 much people working simultanously? And don't forget, it's about windows so probably smb is used. > For example compiling 94k lines of codetools on a network share and on > local disc makes no difference. Compiling itself is not a big problem but e.g. for fpc the file handling stuff in the makefiles causes a lot of delay. > > 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 requires high availability/reliability because with a roaming profile you can continue to work even if the server crashes/must rebooted whatever. > Roaming profiles using auto copy/delete are not the best choice for that. For me it works fine for years ;) ___ 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
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 profile locally exists already it sometimes isn't updated but afterwards it does overwrite the server's! The only "solution" is not logging off, wow great engineering indeed! Micha ___ 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
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 settings are always messed > up. Well, this causes a headache with fully networked home drives as well ;) > If the profile locally exists already it sometimes isn't updated but > afterwards it does overwrite the server's! Hmm, I know only of this if the a machine starts up with a messed up clock because e.g. of an empty mainboard battery. ___ 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
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 make me lose it. I don't think you can find any arguments to make that a desired situation. ___ 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
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 much less of a problem. And applications can implement a configuration file lock much easier if they want to detect multiple activity. It reduces the per-login problem to a per-application-start problem; which is much better already. If the profile locally exists already it sometimes isn't updated but afterwards it does overwrite the server's! Hmm, I know only of this if the a machine starts up with a messed up clock because e.g. of an empty mainboard battery. Or a server that is not responding quickly enough or so ... Perhaps a 1k euro server isn't sufficient after all ;-P Micha ___ 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
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-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
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's the only company doing it this way. We use multiple times login sometimes and then the settings are always messed up. I agree that you can have problems with roaming profiles too. But what is the alternative? If you use a special directory on your home drive for (Lazarus) settings and then logon to 2 different machines simulatiously you will get problems too. ___ 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
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 requires high We have like 150+ people accessing all project documents, designs, code on a single file server. Server runs Linux with Samba AFAIK. Some of Linux targeted development checkouts are on another Linux development server accessed by a small group of people though, but it still proves the occasional "home drive" configuration file on a networked drive could be handled easily. Micha ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] [admin] Lazarus settings and roaming profiles in Windows
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
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 configuration files are per application it's much less of a problem. > And applications can implement a configuration file lock much easier if > they want to detect multiple activity. Do they :)? Does lazarus? > It reduces the per-login problem > to a per-application-start problem; which is much better already. > >>> If the profile locally exists already it sometimes isn't updated but >>> afterwards it does overwrite the server's! >> >> Hmm, I know only of this if the a machine starts up with a messed up >> clock because e.g. of an empty mainboard battery. > > Or a server that is not responding quickly enough or so ... Perhaps a 1k > euro server isn't sufficient after all ;-P Well, then you need two 1k Euro servers. Anyways, a server not responding quickly enough to serve a profile will be a real pain serving a fully networked home/profile dir :) ___ 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
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 maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows
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 1k Euro servers. Anyways, a server not responding quickly enough to serve a profile will be a real pain serving a fully networked home/profile dir :) That's the difference between a Windows server and one with a proper OS :-P. Or it's the administration of it. Or ... don't know. I know there are little problems with the file server I described in another post but many problems with corrupted profiles. Micha ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal