Re: [Lazarus] Timing of all compiler options on slow machines

2013-08-21 Thread waldo kitty
On 8/21/2013 12:48, waldo kitty wrote: On 8/21/2013 11:45, Sven Barth wrote: [...] Could you also test without antivirus and could you also test a second time (so that the executable might now reside inside the cache). i will try... currently i've just also had some weirdness come up and am h

Re: [Lazarus] how to remove comments (TSynIniSyn)?

2013-08-21 Thread Mattias Gaertner
On Wed, 21 Aug 2013 15:22:16 -0300 Junior wrote: > hello all :) > > I would like to open a file .ini in one TSynEdit removing all existing > comments in this file. > > Component TSynIniSyn Already added to project. There are various definitions what a comment is in an ini file. If you want t

Re: [Lazarus] how to remove comments (TSynIniSyn)?

2013-08-21 Thread Martin
On 21/08/2013 19:22, Junior wrote: hello all :) I would like to open a file .ini in one TSynEdit removing all existing comments in this file. Component TSynIniSyn Already added to project. TsynIniSyn (as all highlighters) only has coloring. It does not edit/modify the file. If you want

[Lazarus] Write full, read only a half of a field !

2013-08-21 Thread Gugui
Hi all, I inserted 30 accents characters in a VARCHAR(30) It wrote correctly, but it shows me only 15 characters in a Select... I've tested in both databases: UTF8 and WIN1252 Anyone knows how to fix that ? Lazarus 1.0.10 Firebird 2.5 Zeos 7 Thanks in advance --

Re: [Lazarus] Environment variable list

2013-08-21 Thread Sven Barth
On 21.08.2013 19:24, Chris Kelling wrote: I knew there was something for what I needed. Thank you, and no, not blind except maybe selectively. I was confused by your "but I'm trying to do this blind". As we already had some questions from really blind people I wanted to be sure :) (that's al

[Lazarus] how to remove comments (TSynIniSyn)?

2013-08-21 Thread Junior
hello all :) I would like to open a file .ini in one TSynEdit removing all existing comments in this file. Component TSynIniSyn Already added to project. thanks -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.f

Re: [Lazarus] Environment variable list

2013-08-21 Thread Chris Kelling
I knew there was something for what I needed. Thank you, and no, not blind except maybe selectively. Information in this message is intended for sole use of the recipient unless otherwise noted. On Aug 21, 2013, at 13:17, Sven Barth wrote: > Stupid question on my side just to check whether

Re: [Lazarus] Environment variable list

2013-08-21 Thread Mattias Gaertner
On Wed, 21 Aug 2013 12:50:01 -0400 Chris Kelling wrote: > This could be a totally stupid question, but I'm trying to do this blind. Is > there a way to get a list if environment variables defined at run time? > There is a get and set, but I don't know the name of the variable I need, so > I w

Re: [Lazarus] Environment variable list

2013-08-21 Thread Sven Barth
Stupid question on my side just to check whether I've understood you correctly: *are* you blind? Regarding your problem: use GetEnvironmentVariableCount and GetEnvironmentString from unit SysUtils. Regards, Sven On 21.08.2013 18:50, Chris Kelling wrote: This could be a totally stupid questi

[Lazarus] Environment variable list

2013-08-21 Thread Chris Kelling
This could be a totally stupid question, but I'm trying to do this blind. Is there a way to get a list if environment variables defined at run time? There is a get and set, but I don't know the name of the variable I need, so I want to get a list. This should work cross platform, I think. -Ch

Re: [Lazarus] Timing of all compiler options on slow machines

2013-08-21 Thread waldo kitty
On 8/21/2013 11:45, Sven Barth wrote: On 20.08.2013 21:23, waldo kitty wrote: as a test, i unloaded all non-essential apps and left only my avast anti-virus running... my script says it takes 15 minutes 35 seconds for make clean tortoise update and the two above make and lazbuild functions th

Re: [Lazarus] VirtualTreeView question, horizontal jump

2013-08-21 Thread luiz americo pereira camara
2013/8/21 Jürgen Hestermann > > Am 2013-08-21 11:16, schrieb Jürgen Hestermann: > > Why does a normal move down shift the whole tree horizontally to the >> right margin each second move (slider is at max right position) and back to >> the left again? >> >> > I now found that "toDisableAutoscroll

[Lazarus] (no subject)

2013-08-21 Thread ahmet adnan çaydere
-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Shell notifications

2013-08-21 Thread Flávio Etrusco
On Wed, Aug 21, 2013 at 9:36 AM, Mark Morgan Lloyd wrote: > Michael Schnell wrote: >> >> On 08/20/2013 02:56 PM, Henry Vermaak wrote: >>> >>> ... together with select().. >> >> >> In Object Pascal I think this should be encapsulated in a thread and same >> fires a main Thread event (via TThread.Qu

Re: [Lazarus] Timing of all compiler options on slow machines

2013-08-21 Thread Sven Barth
On 20.08.2013 21:23, waldo kitty wrote: as a test, i unloaded all non-essential apps and left only my avast anti-virus running... my script says it takes 15 minutes 35 seconds for make clean tortoise update and the two above make and lazbuild functions then i started lazrus and went t

Re: [Lazarus] Timing of all compiler options on slow machines

2013-08-21 Thread waldo kitty
On 8/21/2013 10:03, Juha Manninen wrote: On Tue, Aug 20, 2013 at 10:23 PM, waldo kitty wrote: then i started lazrus and went to Projects->Options->other... the window that popped up says Reading compiler options took: 00:14.125 then i clicked on the [All options] button and the box that po

Re: [Lazarus] Shell notifications

2013-08-21 Thread Mark Morgan Lloyd
Michael Schnell wrote: On 08/21/2013 02:36 PM, Mark Morgan Lloyd wrote: I know it's the obvious way, but surely there is something more elegant than having a thread which exists solely to transfer the result of a select() to the main part of the app, and then repeats I suppose a thread is th

Re: [Lazarus] Timing of all compiler options on slow machines

2013-08-21 Thread Juha Manninen
On Tue, Aug 20, 2013 at 10:23 PM, waldo kitty wrote: > then i started lazrus and went to Projects->Options->other... the window > that popped up says > > Reading compiler options took: 00:14.125 > > then i clicked on the [All options] button and the box that popped up says > > Rendering compil

Re: [Lazarus] Shell notifications

2013-08-21 Thread Michael Schnell
On 08/21/2013 02:36 PM, Mark Morgan Lloyd wrote: I know it's the obvious way, but surely there is something more elegant than having a thread which exists solely to transfer the result of a select() to the main part of the app, and then repeats I suppose a thread is the only way to do this in

Re: [Lazarus] Shell notifications

2013-08-21 Thread Henry Vermaak
On Wed, Aug 21, 2013 at 12:36:56PM +, Mark Morgan Lloyd wrote: > Michael Schnell wrote: > >On 08/20/2013 02:56 PM, Henry Vermaak wrote: > >>... together with select().. > > > >In Object Pascal I think this should be encapsulated in a thread > >and same fires a main Thread event (via TThread.Que

Re: [Lazarus] Shell notifications

2013-08-21 Thread Mark Morgan Lloyd
Michael Schnell wrote: On 08/20/2013 02:56 PM, Henry Vermaak wrote: ... together with select().. In Object Pascal I think this should be encapsulated in a thread and same fires a main Thread event (via TThread.Queue, TThread.Synchronize, or Application.QueueAsyncCall) to notify the user (aka

Re: [Lazarus] VirtualTreeView question, horizontal jump

2013-08-21 Thread Jürgen Hestermann
Am 2013-08-21 11:16, schrieb Jürgen Hestermann: Why does a normal move down shift the whole tree horizontally to the right margin each second move (slider is at max right position) and back to the left again? I now found that "toDisableAutoscrollOnFocus" (under "AutoOptions") is changing b

Re: [Lazarus] Shell notifications

2013-08-21 Thread Michael Schnell
On 08/20/2013 02:56 PM, Henry Vermaak wrote: ... together with select().. In Object Pascal I think this should be encapsulated in a thread and same fires a main Thread event (via TThread.Queue, TThread.Synchronize, or Application.QueueAsyncCall) to notify the user (aka Main Thread). -Michae

Re: [Lazarus] Timing of all compiler options on slow machines [OT]

2013-08-21 Thread Lukasz Sokol
On 20/08/13 20:23, waldo kitty wrote: > On 8/20/2013 09:13, Juha Manninen wrote: [...] >> >> P.S. Computers are truely getting faster! This 233 MHz Pentium 2 >> machine is less than 20 years old (?) and was used for demanding >> CAD work in a big company. I added memory later, it had maybe 256 >>

Re: [Lazarus] VirtualTreeView question, horizontal jump

2013-08-21 Thread Jürgen Hestermann
Am 2013-08-20 19:34, schrieb Sven Barth: > Did you find this page? http://wiki.freepascal.org/VirtualTreeview_Example_for_Lazarus > Also here is a tutorial in German http://www.delphi-treff.de/?id=176 (THE original tutorial for virtual treeview) > Also there is a help download on the original si

Re: [Lazarus] IDE: ignore exception if they are caught

2013-08-21 Thread Martin
On 21/08/2013 08:43, Xiangrong Fang wrote: Hi All, I have the following code: try stream.ReadBuffer(buffer, length); except //handle exceptions... end; Is it possible to configure lazarus to ignore EStreamError in such case? I mean I do NOT want to ignore all such exceptions, only tho

[Lazarus] IDE: ignore exception if they are caught

2013-08-21 Thread Xiangrong Fang
Hi All, I have the following code: try stream.ReadBuffer(buffer, length); except //handle exceptions... end; Is it possible to configure lazarus to ignore EStreamError in such case? I mean I do NOT want to ignore all such exceptions, only those that are already caught by my code. Thanks