Re: [Lazarus] language setup / http://bugs.freepascal.org/view.php?id=22574

2012-08-13 Thread Reinier Olislagers
On 12-8-2012 22:51, Martin wrote: Please read: http://bugs.freepascal.org/view.php?id=22574 Then join the discussion here if you wish to add anything. (Thanks to Reinier Olislagers for proposing a patch, though it may be a bit early) - There

Re: [Lazarus] language setup / http://bugs.freepascal.org/view.php?id=22574

2012-08-13 Thread Martin
On 13/08/2012 08:36, Reinier Olislagers wrote: - 2) Lazarus setup dialog However, we can also do both. 1) Use an installer language choice screen that calls 2) a separate program that uses the Lazarus IDE code (similar to how lazbuild does this)

Re: [Lazarus] OT Re: Please remove Arabic language from the release version

2012-08-13 Thread Jürgen Hestermann
Am 2012-08-12 20:50, schrieb Hans-Peter Diettrich: Jürgen Hestermann schrieb: One could try to use the language that was planned as an international language: Esperanto ( http://en.wikipedia.org/wiki/Esperanto ) Then why has this not been chosen by all (most) countries in the world to teach

Re: [Lazarus] language setup / http://bugs.freepascal.org/view.php?id=22574

2012-08-13 Thread Reinier Olislagers
On 13-8-2012 11:04, Martin wrote: On 13/08/2012 08:36, Reinier Olislagers wrote: - 2) Lazarus setup dialog However, we can also do both. 1) Use an installer language choice screen that calls 2) a separate program that uses the Lazarus IDE code

[Lazarus] RE : language setup /http://bugs.freepascal.org/view.php?id=22574

2012-08-13 Thread Ludo Brands
This lazset program can then also be used in people's existing svn update batch files, fpcup, etc, so the main functionality would not be platform/installer dependent. IMHO this lazset is the IDE itself. If the installer creates 2 startupmenu entries: one normal, and one with forced

Re: [Lazarus] OT Re: Please remove Arabic language from the release version

2012-08-13 Thread Lukasz Sokol
On 12/08/2012 13:06, Jürgen Hestermann wrote: Am 2012-08-12 13:06, schrieb Sven Barth: On 12.08.2012 12:35, Jürgen Hestermann wrote: What could be an alternative? One could try to use the language that was planned as an international language: Esperanto (

Re: [Lazarus] RE : language setup /http://bugs.freepascal.org/view.php?id=22574

2012-08-13 Thread Reinier Olislagers
On 13-8-2012 11:22, Ludo Brands wrote: This lazset program can then also be used in people's existing svn update batch files, fpcup, etc, so the main functionality would not be platform/installer dependent. IMHO this lazset is the IDE itself. If the installer creates 2 startupmenu

Re: [Lazarus] RE : language setup /http://bugs.freepascal.org/view.php?id=22574

2012-08-13 Thread Martin
On 13/08/2012 10:22, Ludo Brands wrote: IMHO this lazset is the IDE itself. If the installer creates 2 startupmenu entries: one normal, and one with forced setup Having lazset=IDE is indeed the easiest to maintain. But to accomodate 3rd party setup programs like fpcup, codetyphon(?), it would

[Lazarus] Floating point comparison with ulps precision

2012-08-13 Thread Alexander Klenin
To fix a bug with caused by rounding errors, I have added ulps-based comparison code to TAChart in r38232. The bug was encountered by an actual user, so I requested a merge of that code to 1.0. However, since it depends on floating point and integer representation, it might cause problems for

[Lazarus] StringGrid.LoadFromFile not loading col and row sizes

2012-08-13 Thread Jürgen Hestermann
When I store a StringGrid with StringGrid1.SaveOptions := [soDesign,soPosition,soAttributes,soContent]; StringGrid1.SaveToFile(filename); and reload it later with LoadFromFile() it does not reload the column widths and row heigths. I can see that they are stored in the XML file but are ignored

[Lazarus] RE : RE : language setup/http://bugs.freepascal.org/view.php?id=22574

2012-08-13 Thread Ludo Brands
The need to specify such params should only apply to the 1st start of an installation (or a new primary-conf) Yes. A repair-install would also be a candidate to override settings. The Lazarus installer doesn't have this option but other could have it. Once a config exists, the

[Lazarus] Newbie linking question...

2012-08-13 Thread Chavoux Luyt
Hi guys When I try to install a new package (glScene), everything seems to compile fine, only to stop with a fatal error: /usr/bin/ld: warning: ../link.res contains output sections; did you forget -T? /usr/bin/ld: cannot find -lXxf86vm lazarus.pp(133,1) Error: Error while linking

Re: [Lazarus] RE : RE : language setup/http://bugs.freepascal.org/view.php?id=22574

2012-08-13 Thread Martin
On 13/08/2012 16:03, Ludo Brands wrote: That is what fpcup is currently doing and iirc codetyphon as well. Problem is that the format of the XML file is nowhere specified and versions have changed several times. Current version is 107. I'm not going to repeat all the arguments you all mentioned

[Lazarus] RE : RE : RE : languagesetup/http://bugs.freepascal.org/view.php?id=22574

2012-08-13 Thread Ludo Brands
True you have a point. Though technically this a 2 issues. The language needs a visual setup (it already has a command line option) You need a none visual tool. And I think for that a separate exe (with no forms or dialogs) may be good. It can use existing code. The command line

Re: [Lazarus] Newbie linking question...

2012-08-13 Thread Daniel Gaspary
On Mon, Aug 13, 2012 at 12:48 PM, Chavoux Luyt chav...@gmail.com wrote: /usr/bin/ld: cannot find -lXxf86vm lazarus.pp(133,1) Error: Error while linking lazarus.pp(133,1) Fatal: There were 1 errors compiling module, stopping I believe you are using ubuntu, and this is happening because a

Re: [Lazarus] Newbie linking question...

2012-08-13 Thread Chavoux Luyt
Thanks Daniel On 13 August 2012 19:12, Daniel Gaspary dgasp...@gmail.com wrote: I believe you are using ubuntu, and this is happening because a missing library. Try to install the following package: libxxf86vm-dev sudo apt-get install libxxf86vm-dev I am actually using Debian, but that

Re: [Lazarus] OT Re: Please remove Arabic language from the release version

2012-08-13 Thread Hans-Peter Diettrich
Lukasz Sokol schrieb: I learned Esperanto when I was about 7 years old. It may sound a bit bitter from that perspective, but there are the problems I think why it didn't 'finally win' yet (yes there was a philosophy of 'final victory/fina venko' when I learned it) : - children learning it

[Lazarus] fpWeb long process progress

2012-08-13 Thread Leonardo M . Ramé
As the subject says, I'm looking for a way to notify the caller of a time consuming process. An example could be this: procedure TMyHandler.TimeConsumingProcess(Sender: TObject; ARequest: TRequest; AResponse: TResponse; var Handled: Boolean); var I: Integer; begin for I := 0 to 1000 do

Re: [Lazarus] fpWeb long process progress

2012-08-13 Thread leledumbo
How can I send responses by intervals? AFAIK that's not the way web application works. It's the client that should be querying the server in a regular interval (using AJAX request perhaps). The server can track current progress status and return that right away when asked. -- View this

Re: [Lazarus] fpWeb long process progress

2012-08-13 Thread Leonardo M . Ramé
On 2012-08-13 15:15:56 -0700, leledumbo wrote: How can I send responses by intervals? AFAIK that's not the way web application works. It's the client that should be querying the server in a regular interval (using AJAX request perhaps). The server can track current progress status and

Re: [Lazarus] fpWeb long process progress

2012-08-13 Thread Marcos Douglas
On Mon, Aug 13, 2012 at 7:31 PM, Leonardo M. Ramé l.r...@griensu.com wrote: On 2012-08-13 15:15:56 -0700, leledumbo wrote: How can I send responses by intervals? AFAIK that's not the way web application works. It's the client that should be querying the server in a regular interval

[Lazarus] VERY OT: Re: OT Re: Please remove Arabic language from the release version

2012-08-13 Thread Reinier Olislagers
On 13-8-2012 22:57, Hans-Peter Diettrich wrote: Lukasz Sokol schrieb: I learned Esperanto when I was about 7 years old. It may sound a bit bitter from that perspective, but there are the problems I think why it didn't 'finally win' yet (yes there was a philosophy of 'final victory/fina