Re: [Lazarus] Create a package - how?

2009-06-03 Thread Vincent Snijders
Hans-Peter Diettrich schreef: After I created the package during above steps, and updated the original sample project to use the new package, everything worked fine on Linux. Not so on Windows :-( [I'll retry and report later] If it works on Linux but not on windows, then you probably have s

[Lazarus] Create a package - how?

2009-06-03 Thread Hans-Peter Diettrich
I want to create a package from my lazarus/examples/dockmanager/easytree/ project, containing the EasyDockSite docking manager. Creating the package is no problem, it compiles without problems, and as a runtime-only package with no visual components it needs no installation. But I could not yet

Re: [Lazarus] FPWeb/Weblaz New Exemples: Error

2009-06-03 Thread ABorka
The examples only work with FPC sources later than 4/30/2009 when the last patch (http://bugs.freepascal.org/view.php?id=13254) of fcl-web was implemented. You need to get the latest FPC fcl-web source codes for them to work. It is possible to just replace the files in your /packages/fcl-web/

Re: [Lazarus] The default Lazarus profile directory location

2009-06-03 Thread Mattias Gaertner
On Wed, 3 Jun 2009 13:30:52 +0200 Graeme Geldenhuys wrote: > 2009/6/3 Vincent Snijders : > > > > If it isn't broken, don't fix it. > > :-) Crappy answer. No, only too condensed. ;) > > Correct. The change was needed, because more and more the executable > > directory was off limits for writin

[Lazarus] FPWeb/Weblaz New Exemples: Error

2009-06-03 Thread Osvaldo Filho
urlsession.lpr(13,39) Error: Identifier not found "TFPWebModule1" urlsession.lpr(13,53) Error: Identifier not found "FPWebModule1" urlsession.lpr(17) Fatal: There were 2 errors compiling module, stopping webmodule.pas(151,33) Error: Identifier not found "Request" webmodule.pas(188,13) Error: ident

Re: [Lazarus] The default Lazarus profile directory location

2009-06-03 Thread Luca Olivetti
En/na Graeme Geldenhuys ha escrit: 2009/6/3 Luca Olivetti : Which is (partially) broken under windows Did you file a bug report for this? If not, please do so. Also, is it a bug in GetAppConfigDir(False) function which means it's a FPC bug report, or is it Lazarus specific. I /think/ it's a

Re: [Lazarus] The default Lazarus profile directory location

2009-06-03 Thread Zaher Dirkey
> Because the installation directory in not necessarily writable by > users. Plus one install of Lazarus IDE could be used by many users, so > a single profile location via lazarus.ini will not work. For example, > we have a shared 64bit Linux server with Lazarus IDE installed. Many > developer con

Re: [Lazarus] The default Lazarus profile directory location

2009-06-03 Thread Graeme Geldenhuys
2009/6/3 Luca Olivetti : > > Which is (partially) broken under windows Did you file a bug report for this? If not, please do so. Also, is it a bug in GetAppConfigDir(False) function which means it's a FPC bug report, or is it Lazarus specific. Regards, - Graeme -

Re: [Lazarus] The default Lazarus profile directory location

2009-06-03 Thread Graeme Geldenhuys
2009/6/3 Zaher Dirkey : > Why can not define where we like to put our config dir, for example > make a lazarus.ini lazarus.config in same Lazarus dir and then read > the path from it. Because the installation directory in not necessarily writable by users. Plus one install of Lazarus IDE could be

Re: [Lazarus] The default Lazarus profile directory location

2009-06-03 Thread Luca Olivetti
En/na Graeme Geldenhuys ha escrit: 2009/6/3 Martin Friebe : So question is, is the idea as such acceptable? I hope so. It promotes consistency with the freedesktop.org and it promotes consistency in Lazarus IDE itself so that ALL platforms use the GetAppConfigDir() location. Which is (parti

Re: [Lazarus] The default Lazarus profile directory location

2009-06-03 Thread Zaher Dirkey
Why can not define where we like to put our config dir, for example make a lazarus.ini lazarus.config in same Lazarus dir and then read the path from it. I know i can use --pcp=x:\workdir\lazarus But that mean i must call lazarus from command prompt or make a shortcut for it. _

Re: [Lazarus] The default Lazarus profile directory location

2009-06-03 Thread Vincent Snijders
Graeme Geldenhuys schreef: 2009/6/3 Vincent Snijders : If it isn't broken, don't fix it. :-) Crappy answer. Correct. The change was needed, because more and more the executable directory was off limits for writing by ordinary users. So why not change all platforms to use the GetAppConfigD

Re: [Lazarus] The default Lazarus profile directory location

2009-06-03 Thread Graeme Geldenhuys
2009/6/3 Martin Friebe : > > So question is, is the idea as such acceptable? I hope so. It promotes consistency with the freedesktop.org and it promotes consistency in Lazarus IDE itself so that ALL platforms use the GetAppConfigDir() location. Regards, - Graeme - __

Re: [Lazarus] The default Lazarus profile directory location

2009-06-03 Thread Graeme Geldenhuys
2009/6/3 Vincent Snijders : > > If it isn't broken, don't fix it. :-) Crappy answer. > Correct. The change was needed, because more and more the executable > directory was off limits for writing by ordinary users. So why not change all platforms to use the GetAppConfigDir(False) result? I'm a

Re: [Lazarus] The default Lazarus profile directory location

2009-06-03 Thread Martin Friebe
Vincent Snijders wrote: Michael Van Canneyt schreef: On Wed, 3 Jun 2009, Graeme Geldenhuys wrote: Hi, We just spoke about the freedesktop.org directory standards in another message thread and this made me think. Why isn't Lazarus using the GetAppConfigDir(False) as it's default location for a

Re: [Lazarus] The default Lazarus profile directory location

2009-06-03 Thread Vincent Snijders
Michael Van Canneyt schreef: On Wed, 3 Jun 2009, Graeme Geldenhuys wrote: Hi, We just spoke about the freedesktop.org directory standards in another message thread and this made me think. Why isn't Lazarus using the GetAppConfigDir(False) as it's default location for all the IDE config file

Re: [Lazarus] The default Lazarus profile directory location

2009-06-03 Thread Michael Van Canneyt
On Wed, 3 Jun 2009, Graeme Geldenhuys wrote: Hi, We just spoke about the freedesktop.org directory standards in another message thread and this made me think.  Why isn't Lazarus using the GetAppConfigDir(False) as it's default location for all the IDE config files. It's hard-coded to $HOME/.l

[Lazarus] The default Lazarus profile directory location

2009-06-03 Thread Graeme Geldenhuys
Hi, We just spoke about the freedesktop.org directory standards in another message thread and this made me think.  Why isn't Lazarus using the GetAppConfigDir(False) as it's default location for all the IDE config files. It's hard-coded to $HOME/.lazarus/ directory for Linux (and probably other un