[Lazarus] Lazarus slow on large files

2012-02-15 Thread Michael Van Canneyt
Hi, I was doing some test programming for android. The android SDK unit contains 68000 lines (.pas and .inc together). Opening it in the IDE (by right-clicking an identifier in my sources) virtually stops the IDE. The source of the android include file are drawn, but the scrollbars are not

Re: [Lazarus] installing chm help

2012-02-15 Thread Michael Schnell
On 02/14/2012 07:33 PM, waldo kitty wrote: placed the cursor on a pascal keyword (ie: implementation in the currently opened file from when i opened the lhelp.lpi), pressed F1 and... no help :( To get context help for pascal language keywords, you need to install a combined chm file that (in

Re: [Lazarus] A game developed with Lazarus.

2012-02-15 Thread Kjow
2012/2/14 Lazarus Portugal Lazarus Portugal lazarusportugalwebmast...@gmail.com: Is very cool. 2012/2/13 Kjow antispamm...@gmail.com 2012/2/13 Lukasz Sokol el.es...@gmail.com On 13/02/2012 10:25, Kjow wrote: Hi all! I added to the Lazarus wiki a video game I developed with

[Lazarus] SIGSEGV error on close.

2012-02-15 Thread Kjow
Hi all, I'm getting this error on application close. Also with an empty project. Anyone have this? I just updated Lazarus/FPC via svn: Lazarus: 0.9.30.3 - 35369M FPC: 2.4.5 - r20352 Thank you, Kjow -- ___ Lazarus mailing list

Re: [Lazarus] How about Ctrl+Shift+Alt+Space completes code with empty values.

2012-02-15 Thread Lukasz Sokol
On 14/02/2012 17:43, Everton Vieira wrote: How about Ctrl+Shift+Alt+Space completes the code with empty values. Like this: Trim(); After Ctrl+Shift+Alt+Space inside that parentheses makes this: Trim(''); Just, another idea. :) Trim is bad example :) but if you wanted

Re: [Lazarus] installing chm help

2012-02-15 Thread Marco van de Voort
On Wed, Feb 15, 2012 at 08:52:56AM +0200, Graeme Geldenhuys wrote: On 15 February 2012 04:58, waldo kitty wrote: i used the term 'keyword' to cover basic pascal verbs or whatever the proper verbiage is for them... i also see/use this term to cover all library items and am surprised that

Re: [Lazarus] installing chm help

2012-02-15 Thread Marco van de Voort
On Tue, Feb 14, 2012 at 10:21:46PM +0100, felipemonteiro.carva...@gmail.com wrote: Em 14/02/2012, ??s 19:33, waldo kitty wkitt...@windstream.net escreveu: so why isn't this working??? what is the key step that has been left out of the instructions?? Read the wiki section title.

Re: [Lazarus] How about Ctrl+Shift+Alt+Space completes code with empty values.

2012-02-15 Thread Everton Vieira
Em 14/02/2012, às 18:56, Martin escreveu: On 14/02/2012 17:43, Everton Vieira wrote: How about Ctrl+Shift+Alt+Space completes the code with empty values. Like this: Trim(); After Ctrl+Shift+Alt+Space inside that parentheses makes this: Trim(''); Just, another idea. :) You

Re: [Lazarus] installing chm help

2012-02-15 Thread Marco van de Voort
On Tue, Feb 14, 2012 at 09:53:38PM -0500, waldo kitty wrote: I got ref, prog, user and toc CHMs, too. hunh? there are only 3 in the ~16Meg fpc-lazarus-doc-chm-0.9.30.2.tar.bz2 file i pulled off of sourceforge as directed by the wiki page /scratching head Check the FPC documentation

Re: [Lazarus] How about Ctrl+Shift+Alt+Space completes code with empty values.

2012-02-15 Thread Everton Vieira
Em 15/02/2012, às 07:21, Lukasz Sokol escreveu: On 14/02/2012 17:43, Everton Vieira wrote: How about Ctrl+Shift+Alt+Space completes the code with empty values. Like this: Trim(); After Ctrl+Shift+Alt+Space inside that parentheses makes this: Trim(''); Just, another idea. :)

Re: [Lazarus] Should the at word be painted as reserved word ?

2012-02-15 Thread Marco van de Voort
On Mon, Feb 13, 2012 at 10:25:34AM +0800, Paul Ishenin wrote: According to my Sprachgef??hl this cannot be anything other than a reserved word. Its not an identifier, its not an operator, it can only be a reserved word. At is not a reserved word. It works only in the context of a raise

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Sven Barth
Am 15.02.2012 09:14, schrieb Michael Van Canneyt: Hi, I was doing some test programming for android. The android SDK unit contains 68000 lines (.pas and .inc together). Opening it in the IDE (by right-clicking an identifier in my sources) virtually stops the IDE. The source of the android

Re: [Lazarus] installing chm help

2012-02-15 Thread Sven Barth
Am 15.02.2012 03:48, schrieb waldo kitty: On 2/14/2012 14:40, Sven Barth wrote: On 14.02.2012 19:33, waldo kitty wrote: so why isn't this working??? what is the key step that has been left out of the instructions?? What about trying not a keyword? What about things like FileExists, TProcess,

Re: [Lazarus] Should the at word be painted as reserved word ?

2012-02-15 Thread Sven Barth
Am 15.02.2012 11:36, schrieb Marco van de Voort: On Mon, Feb 13, 2012 at 10:25:34AM +0800, Paul Ishenin wrote: According to my Sprachgef??hl this cannot be anything other than a reserved word. Its not an identifier, its not an operator, it can only be a reserved word. At is not a reserved

Re: [Lazarus] installing chm help

2012-02-15 Thread Hans-Peter Diettrich
Michael Schnell schrieb: To get context help for pascal language keywords, you need to install a combined chm file Nope. Simply download the additional CHM files, and it works as expected. (Se the lots of recent discussions on the help system that pointed out the benefits of DocView.) I

Re: [Lazarus] installing chm help

2012-02-15 Thread Hans-Peter Diettrich
waldo kitty schrieb: Download all the CHM, and keyword help works (here, Win7). I got ref, prog, user and toc CHMs, too. hunh? there are only 3 in the ~16Meg fpc-lazarus-doc-chm-0.9.30.2.tar.bz2 file i pulled off of sourceforge as directed by the wiki page /scratching head See

Re: [Lazarus] installing chm help

2012-02-15 Thread Hans-Peter Diettrich
waldo kitty schrieb: also basic things like 'writeln', 'write', and similar do not give any help... but then some stuff, like 'integer' popup with a Help selector window as mentioned above and one of the two RTL (ahh! found a RTL[] hit) options (objpas.pp) talks about redefinition of integer

Re: [Lazarus] installing chm help

2012-02-15 Thread Graeme Geldenhuys
On 15 February 2012 12:50, Hans-Peter Diettrich wrote: I don't see a reason or need for another (incompatible) help system. Learn to use the existing one first, before praising other systems. Please explain or elaborate on incompatible help system? I do not understand your comment or what you

Re: [Lazarus] installing chm help

2012-02-15 Thread Sven Barth
Am 15.02.2012 07:52, schrieb Graeme Geldenhuys: On 15 February 2012 04:58, waldo kitty wrote: i used the term 'keyword' to cover basic pascal verbs or whatever the proper verbiage is for them... i also see/use this term to cover all library items and am surprised that 'writeln' is not

Re: [Lazarus] installing chm help

2012-02-15 Thread Sven Barth
Am 15.02.2012 11:18, schrieb Marco van de Voort: On Tue, Feb 14, 2012 at 10:21:46PM +0100, felipemonteiro.carva...@gmail.com wrote: Em 14/02/2012, ??s 19:33, waldo kittywkitt...@windstream.net escreveu: so why isn't this working??? what is the key step that has been left out of the

Re: [Lazarus] Should the at word be painted as reserved word ?

2012-02-15 Thread Marco van de Voort
On Wed, Feb 15, 2012 at 11:51:27AM +0100, Sven Barth wrote: At is not a reserved word. It works only in the context of a raise statement. How is this different from until ? Maybe because the at was introduced rather late by Borland and then they didn't want to break compatibility

Re: [Lazarus] installing chm help

2012-02-15 Thread Marco van de Voort
On Wed, Feb 15, 2012 at 11:58:11AM +0100, Sven Barth wrote: two years. But iirc only .31 supports it, not .30. (and it is one of the things that would be nice to backport to a future stable release) As the next Lazarus release seems to be based on 0.9.31 (0.99) this does not seem to

Re: [Lazarus] installing chm help

2012-02-15 Thread Sven Barth
Am 15.02.2012 11:30, schrieb Hans-Peter Diettrich: waldo kitty schrieb: also basic things like 'writeln', 'write', and similar do not give any help... but then some stuff, like 'integer' popup with a Help selector window as mentioned above and one of the two RTL (ahh! found a RTL[] hit)

Re: [Lazarus] installing chm help

2012-02-15 Thread Graeme Geldenhuys
On 15 February 2012 12:30, Hans-Peter Diettrich wrote: I found no time yet to create an overview of all the basic (built-in) types, which would allow to update all these types in one single place, whenever the declarations are changed in the compiler. Once again you are creating unnecessary

Re: [Lazarus] Should the at word be painted as reserved word ?

2012-02-15 Thread Sven Barth
Am 15.02.2012 12:03, schrieb Marco van de Voort: On Wed, Feb 15, 2012 at 11:51:27AM +0100, Sven Barth wrote: At is not a reserved word. It works only in the context of a raise statement. How is this different from until ? Maybe because the at was introduced rather late by Borland and then

Re: [Lazarus] installing chm help

2012-02-15 Thread Graeme Geldenhuys
On 15 February 2012 12:30, Hans-Peter Diettrich wrote: why does basic stuff, eg: 'write' and 'writeln' not have any help at all? Thanks, I didn't realize that yet. It's for the same reason: these are compiler magics, for which FPDoc doesn't find a declaration in the source They ARE

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread michael . vancanneyt
On Wed, 15 Feb 2012, Sven Barth wrote: Am 15.02.2012 09:14, schrieb Michael Van Canneyt: Hi, I was doing some test programming for android. The android SDK unit contains 68000 lines (.pas and .inc together). Opening it in the IDE (by right-clicking an identifier in my sources) virtually

Re: [Lazarus] installing chm help

2012-02-15 Thread Graeme Geldenhuys
On 15 February 2012 12:56, Sven Barth wrote: searching for Writeln in the search tab of lHelp works (Note: Other identifiers that are not physically present in the system unit are not shown either, like Boolean. But e.g. PtrInt exists) In my setup, DocView is told to automatically open up 4

Re: [Lazarus] Should the at word be painted as reserved word ?

2012-02-15 Thread Marco van de Voort
On Wed, Feb 15, 2012 at 12:09:06PM +0100, Sven Barth wrote: That was what I thought too initially. But there is also a gramatical difference that in the case of repeat..until there is a zero or more intermittent statements, while in the case of raise .. at there is one, and only exactly

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Graeme Geldenhuys
On 15 February 2012 13:17, michael.vancanneyt@. wrote: It should be able to handle this with its fingers up its nose, I would think... I can't say I heard that one before. :-) Where can I find this unit and include file? Is it part of the FCL? -- Regards,   - Graeme -

Re: [Lazarus] installing chm help

2012-02-15 Thread Sven Barth
Am 15.02.2012 12:13, schrieb Graeme Geldenhuys: On 15 February 2012 12:30, Hans-Peter Diettrich wrote: why does basic stuff, eg: 'write' and 'writeln' not have any help at all? Thanks, I didn't realize that yet. It's for the same reason: these are compiler magics, for which FPDoc doesn't

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Everton Vieira
Em 15/02/2012, às 09:17, michael.vancann...@wisa.be escreveu: On Wed, 15 Feb 2012, Sven Barth wrote: Am 15.02.2012 09:14, schrieb Michael Van Canneyt: Hi, I was doing some test programming for android. The android SDK unit contains 68000 lines (.pas and .inc together). Opening it in

Re: [Lazarus] installing chm help

2012-02-15 Thread Sven Barth
Am 15.02.2012 12:17, schrieb Graeme Geldenhuys: On 15 February 2012 12:56, Sven Barth wrote: searching for Writeln in the search tab of lHelp works (Note: Other identifiers that are not physically present in the system unit are not shown either, like Boolean. But e.g. PtrInt exists) In my

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Sven Barth
Am 15.02.2012 12:21, schrieb Graeme Geldenhuys: On 15 February 2012 13:17,michael.vancanneyt@. wrote: It should be able to handle this with its fingers up its nose, I would think... I can't say I heard that one before. :-) Where can I find this unit and include file? Is it part of the

Re: [Lazarus] SIGSEGV error on close.

2012-02-15 Thread zeljko
On Wednesday 15 of February 2012 10:06:18 Kjow wrote: Hi all, I'm getting this error on application close. Also with an empty project. Anyone have this? I just updated Lazarus/FPC via svn: Lazarus: 0.9.30.3 - 35369M FPC: 2.4.5 - r20352 Let me first take my crystall ball, then I'll

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread zeljko
On Wednesday 15 of February 2012 12:17:00 michael.vancann...@wisa.be wrote: On Wed, 15 Feb 2012, Sven Barth wrote: Am 15.02.2012 09:14, schrieb Michael Van Canneyt: Hi, I was doing some test programming for android. The android SDK unit contains 68000 lines (.pas and .inc together).

Re: [Lazarus] installing chm help

2012-02-15 Thread Michael Schnell
On 02/15/2012 11:30 AM, Hans-Peter Diettrich wrote: where is the help for items like 'PadRight', 'AddChar', 'PadLeft', 'AddCharR' and similar?? I just can't find in which units these are declared. IMHO, the help viewer should do this for you and show any appropriate occurrence in the any

[Lazarus] i'm looking for tips on debugging deep nested code with recursive functions

2012-02-15 Thread ik
Hello, I have a code with a lot of loops and recursive calls. Somewhere at the code, at some point, I think I have an Off By One or something similar that happens that break my code. The question is, how would you suggest to compile such complicated calls to figure out where the problem/s exists

Re: [Lazarus] installing chm help

2012-02-15 Thread Hans-Peter Diettrich
Sven Barth schrieb: Both are correct. The default size of Integer in FPC is 2 Bytes (16 Bit). Only if you use mode Delphi or ObjFPC the size is 4 Bytes (32 Bit) and there it is indeed introduced by the ObjPas unit which is automatically included by the compiler in these modes. This is

Re: [Lazarus] Should the at word be painted as reserved word ?

2012-02-15 Thread Hans-Peter Diettrich
Marco van de Voort schrieb: On Mon, Feb 13, 2012 at 10:25:34AM +0800, Paul Ishenin wrote: According to my Sprachgef??hl this cannot be anything other than a reserved word. Its not an identifier, its not an operator, it can only be a reserved word. At is not a reserved word. It works only in the

Re: [Lazarus] Should the at word be painted as reserved word ?

2012-02-15 Thread Marco van de Voort
On Wed, Feb 15, 2012 at 12:12:38PM +0100, Hans-Peter Diettrich wrote: be a reserved word. At is not a reserved word. It works only in the context of a raise statement. How is this different from until ? Borland made a distinction between *reserved* words and *directives*. Reserved

Re: [Lazarus] installing chm help

2012-02-15 Thread Michael Schnell
On 02/15/2012 11:50 AM, Hans-Peter Diettrich wrote: Nope. Simply download the additional CHM files, and it works as expected. I once asked how the CHM help can be configured to search across multiple files. I never got a positive answer. But things might be improved by now. Learn to use the

Re: [Lazarus] i'm looking for tips on debugging deep nested code with recursive functions

2012-02-15 Thread Everton Vieira
Em 15/02/2012, às 09:49, ik escreveu: Hello, I have a code with a lot of loops and recursive calls. Somewhere at the code, at some point, I think I have an Off By One or something similar that happens that break my code. The question is, how would you suggest to compile such complicated

Re: [Lazarus] installing chm help

2012-02-15 Thread Marco van de Voort
On Wed, Feb 15, 2012 at 12:23:08PM +0100, Sven Barth wrote: Please create an according FPC bug report, if none exists yet, and hope that somebody will update the documentation. No, maybe use a help viewer that actually works. Then if it is still not found or documented, report as a

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread stootch
W dniu 15.02.2012 09:14, Michael Van Canneyt pisze: All this is on Linux, GTK, 64-bit, Lazarus from yesterday. Has anyone else experienced similar problems ? Just checked, both files load and display seamlessly. Navigation and search work like a charm. I'm on Phenom 4 core, 4 GB RAM,

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread stootch
W dniu 15.02.2012 13:12, stootch pisze: I'm on Phenom 4 core, 4 GB RAM, Ubuntu 10.04. I forgot to mention: Lazarus from today, 64 bit as well. stootch -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] installing chm help

2012-02-15 Thread michael . vancanneyt
On Tue, 14 Feb 2012, waldo kitty wrote: On 2/14/2012 14:40, Sven Barth wrote: On 14.02.2012 19:33, waldo kitty wrote: so why isn't this working??? what is the key step that has been left out of the instructions?? What about trying not a keyword? What about things like FileExists,

Re: [Lazarus] i'm looking for tips on debugging deep nested code with recursive functions

2012-02-15 Thread ik
On Wed, Feb 15, 2012 at 13:59, Everton Vieira tonvie...@gmail.com wrote: Em 15/02/2012, às 09:49, ik escreveu: Hello, I have a code with a lot of loops and recursive calls. Somewhere at the code, at some point, I think I have an Off By One or something similar that happens that break my

Re: [Lazarus] installing chm help

2012-02-15 Thread michael . vancanneyt
On Wed, 15 Feb 2012, Hans-Peter Diettrich wrote: waldo kitty schrieb: also basic things like 'writeln', 'write', and similar do not give any help... but then some stuff, like 'integer' popup with a Help selector window as mentioned above and one of the two RTL (ahh! found a RTL[] hit)

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Mattias Gaertner
zeljko zel...@holobit.net hat am 15. Februar 2012 um 12:44 geschrieben: On Wednesday 15 of February 2012 12:17:00 michael.vancann...@wisa.be wrote: On Wed, 15 Feb 2012, Sven Barth wrote: Am 15.02.2012 09:14, schrieb Michael Van Canneyt: Hi, I was doing some test programming for

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread michael . vancanneyt
On Wed, 15 Feb 2012, Mattias Gaertner wrote: zeljko zel...@holobit.net hat am 15. Februar 2012 um 12:44 geschrieben: On Wednesday 15 of February 2012 12:17:00 michael.vancann...@wisa.be wrote: On Wed, 15 Feb 2012, Sven Barth wrote: Am 15.02.2012 09:14, schrieb Michael Van Canneyt: Hi,

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Graeme Geldenhuys
On 15 February 2012 13:25, Everton Vieira wrote: If someone had to go on the drawing of the editor, please someone, consider to put lines to show block structure if an option is marked, like the cnpack does in delphi. I`m aware this is an complicanting of it, but is also a good feature

Re: [Lazarus] How about Ctrl+Shift+Alt+Space completes code with empty values.

2012-02-15 Thread Lukasz Sokol
On 15/02/2012 10:27, Everton Vieira wrote: As a code complementation suggestion theres no need to put 0 instead is better only put the comma when the parameter is required. [...] This idea came when i had to type about ten times a function like this func('', '', [], '', [] , []); wich

Re: [Lazarus] Should the at word be painted as reserved word ?

2012-02-15 Thread Sven Barth
Am 15.02.2012 12:12, schrieb Hans-Peter Diettrich: Marco van de Voort schrieb: On Mon, Feb 13, 2012 at 10:25:34AM +0800, Paul Ishenin wrote: According to my Sprachgef??hl this cannot be anything other than a reserved word. Its not an identifier, its not an operator, it can only be a reserved

Re: [Lazarus] installing chm help

2012-02-15 Thread Hans-Peter Diettrich
Sven Barth schrieb: IMO Integer is a compiler built-in type, and thus it doesn't have a reference to the current declaration. The same for Char and string types :-( You don't like to validate your assumptions, do you? You're right, the *basic* types (SmallInt...) are not documented, the

Re: [Lazarus] installing chm help

2012-02-15 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: Once again you are creating unnecessary work for yourself. Michael van Canneyt has already documented all the basic (built-in) types in the FPC Language Reference (the chapter on Types). Can't get more clear than that. Sorry, I just tried SmallInt and could not find

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Graeme Geldenhuys
On 15 February 2012 13:27, Sven Barth wrote: Here http://svn.freepascal.org/cgi-bin/viewvc.cgi/branches/jvmbackend/rtl/android/jvm/ files androidr14.pas and androidr14.inc. Thanks. Tested here under Lazarus 0.9.30.1 r33214M FPC 2.5.1 x86_64-linux-gtk 2 and it works fine performance wise.

Re: [Lazarus] How about Ctrl+Shift+Alt+Space completes code with empty values.

2012-02-15 Thread Everton Vieira
Em 15/02/2012, às 10:35, Lukasz Sokol escreveu: On 15/02/2012 10:27, Everton Vieira wrote: As a code complementation suggestion theres no need to put 0 instead is better only put the comma when the parameter is required. [...] This idea came when i had to type about ten times a

Re: [Lazarus] Should the at word be painted as reserved word ?

2012-02-15 Thread Hans-Peter Diettrich
Marco van de Voort schrieb: On Wed, Feb 15, 2012 at 12:12:38PM +0100, Hans-Peter Diettrich wrote: be a reserved word. At is not a reserved word. It works only in the context of a raise statement. How is this different from until ? Borland made a distinction between *reserved* words and

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Sven Barth
Am 15.02.2012 13:46, schrieb Graeme Geldenhuys: On 15 February 2012 13:27, Sven Barth wrote: Here http://svn.freepascal.org/cgi-bin/viewvc.cgi/branches/jvmbackend/rtl/android/jvm/ files androidr14.pas and androidr14.inc. Thanks. Tested here under Lazarus 0.9.30.1 r33214M FPC 2.5.1

Re: [Lazarus] How about Ctrl+Shift+Alt+Space completes code with empty values.

2012-02-15 Thread Everton Vieira
And of course there`s the overload statements, that can receive an special/exceptional treatment as well. Em 15/02/2012, às 10:50, Everton Vieira escreveu: Em 15/02/2012, às 10:35, Lukasz Sokol escreveu: On 15/02/2012 10:27, Everton Vieira wrote: As a code complementation suggestion

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Sven Barth
Am 15.02.2012 13:52, schrieb Sven Barth: Am 15.02.2012 13:46, schrieb Graeme Geldenhuys: On 15 February 2012 13:27, Sven Barth wrote: Here http://svn.freepascal.org/cgi-bin/viewvc.cgi/branches/jvmbackend/rtl/android/jvm/ files androidr14.pas and androidr14.inc. Thanks. Tested here under

Re: [Lazarus] installing chm help

2012-02-15 Thread Graeme Geldenhuys
On 15 February 2012 14:25, Hans-Peter Diettrich wrote: Sorry, I just tried SmallInt and could not find an according entry. Even types leads to a single meaningless sentence about unit types :-( See my previous screenshot of the FPC Language Reference showing the help for the Integer type. In

Re: [Lazarus] installing chm help

2012-02-15 Thread Marco van de Voort
On Wed, Feb 15, 2012 at 12:59:52PM +0100, Michael Schnell wrote: Nope. Simply download the additional CHM files, and it works as expected. I once asked how the CHM help can be configured to search across multiple files. There is no CHM help. There is Lazarus help, which loads the indexes

Re: [Lazarus] i'm looking for tips on debugging deep nested code with recursive functions

2012-02-15 Thread ik
On Wed, Feb 15, 2012 at 14:19, ik ido...@gmail.com wrote: On Wed, Feb 15, 2012 at 13:59, Everton Vieira tonvie...@gmail.com wrote: Em 15/02/2012, às 09:49, ik escreveu: Hello, I have a code with a lot of loops and recursive calls. Somewhere at the code, at some point, I think I have an Off

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread michael . vancanneyt
On Wed, 15 Feb 2012, Graeme Geldenhuys wrote: On 15 February 2012 13:27, Sven Barth wrote: Here http://svn.freepascal.org/cgi-bin/viewvc.cgi/branches/jvmbackend/rtl/android/jvm/ files androidr14.pas and androidr14.inc. Thanks. Tested here under Lazarus 0.9.30.1 r33214M FPC 2.5.1

Re: [Lazarus] i'm looking for tips on debugging deep nested code with recursive functions

2012-02-15 Thread Everton Vieira
Em 15/02/2012, às 11:01, ik escreveu: On Wed, Feb 15, 2012 at 14:19, ik ido...@gmail.com wrote: On Wed, Feb 15, 2012 at 13:59, Everton Vieira tonvie...@gmail.com wrote: Em 15/02/2012, às 09:49, ik escreveu: Hello, I have a code with a lot of loops and recursive calls. Somewhere at the

Re: [Lazarus] installing chm help

2012-02-15 Thread Felipe Monteiro de Carvalho
On Wed, Feb 15, 2012 at 2:02 PM, Marco van de Voort mar...@stack.nl wrote: There is no CHM help. There is Lazarus help, which loads the indexes from individual CHMs, and a viewer for single CHMs. Correction: LHelp can view and handle multiple CHM files at the same time and will keep multiple

Re: [Lazarus] installing chm help

2012-02-15 Thread Michael Schnell
On 02/15/2012 02:02 PM, Marco van de Voort wrote: There is no CHM help. ... Sorry for being vague. I learned that the help viewer for the Lazarus IDE is installed as a package. What I meant is the installable help viewer that works on CHM files. That's because the question is vague and

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Graeme Geldenhuys
On 15 February 2012 15:04, michael.vancanneyt@... wrote: Hm. You use a very old lazarus. If it ain't broken, don't fix it. :-) This applies doubly so to Lazarus - though I do have a couple of my own fixes or mods applied [itches need to be scratched every now and again]. But the

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Sven Barth
Am 15.02.2012 14:28, schrieb Graeme Geldenhuys: On 15 February 2012 15:04,michael.vancanneyt@... wrote: Hm. You use a very old lazarus. If it ain't broken, don't fix it. :-) This applies doubly so to Lazarus - though I do have a couple of my own fixes or mods applied [itches need to be

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Mattias Gaertner
michael.vancann...@wisa.be hat am 15. Februar 2012 um 12:17 geschrieben: [...] Though it was bearable as I moved my Android development to my rather powerful machine (because JVM compilation is rather slow and also blocks my single core main computer -.- ) and used it through X11

Re: [Lazarus] Should the at word be painted as reserved word ?

2012-02-15 Thread Martin
On 15/02/2012 10:51, Sven Barth wrote: Am 15.02.2012 11:36, schrieb Marco van de Voort: On Mon, Feb 13, 2012 at 10:25:34AM +0800, Paul Ishenin wrote: According to my Sprachgef??hl this cannot be anything other than a reserved word. Its not an identifier, its not an operator, it can only be a

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Mattias Gaertner
Mattias Gaertner nc-gaert...@netcologne.de hat am 15. Februar 2012 um 15:26 geschrieben: michael.vancann...@wisa.be hat am 15. Februar 2012 um 12:17 geschrieben: [...] Though it was bearable as I moved my Android development to my rather powerful machine (because JVM

Re: [Lazarus] Should the at word be painted as reserved word ?

2012-02-15 Thread Sven Barth
Am 15.02.2012 15:32, schrieb Martin: On 15/02/2012 10:51, Sven Barth wrote: Am 15.02.2012 11:36, schrieb Marco van de Voort: On Mon, Feb 13, 2012 at 10:25:34AM +0800, Paul Ishenin wrote: According to my Sprachgef??hl this cannot be anything other than a reserved word. Its not an identifier,

Re: [Lazarus] i'm looking for tips on debugging deep nested code with recursive functions

2012-02-15 Thread Martin
On 15/02/2012 12:19, ik wrote: On Wed, Feb 15, 2012 at 13:59, Everton Vieiratonvie...@gmail.com wrote: Em 15/02/2012, às 09:49, ik escreveu: Hello, I have a code with a lot of loops and recursive calls. Somewhere at the code, at some point, I think I have an Off By One or something similar

Re: [Lazarus] i'm looking for tips on debugging deep nested code with recursive functions

2012-02-15 Thread Martin
On 15/02/2012 13:01, ik wrote: On Wed, Feb 15, 2012 at 14:19, ikido...@gmail.com wrote: On Wed, Feb 15, 2012 at 13:59, Everton Vieiratonvie...@gmail.com wrote: Em 15/02/2012, às 09:49, ik escreveu: Hello, I have a code with a lot of loops and recursive calls. Somewhere at the code, at

[Lazarus] [Lazarusdev] CNPack lines

2012-02-15 Thread Martin
On 15/02/2012 11:25, Everton Vieira wrote: If someone had to go on the drawing of the editor, please someone, consider to put lines to show block structure if an option is marked, like the cnpack does in delphi. I`m aware this is an complicanting of it, but is also a good feature that many

Re: [Lazarus] [Lazarusdev] CNPack lines

2012-02-15 Thread Everton Vieira
Em 15/02/2012, às 12:47, Martin escreveu: On 15/02/2012 11:25, Everton Vieira wrote: If someone had to go on the drawing of the editor, please someone, consider to put lines to show block structure if an option is marked, like the cnpack does in delphi. I`m aware this is an complicanting of

Re: [Lazarus] i'm looking for tips on debugging deep nested code with recursive functions

2012-02-15 Thread ik
On Wed, Feb 15, 2012 at 16:45, Martin laza...@mfriebe.de wrote: On 15/02/2012 13:01, ik wrote: On Wed, Feb 15, 2012 at 14:19, ikido...@gmail.com  wrote: On Wed, Feb 15, 2012 at 13:59, Everton Vieiratonvie...@gmail.com  wrote: Em 15/02/2012, às 09:49, ik escreveu: Hello, I have a code

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread zeljko
On Wednesday 15 of February 2012 15:34:28 Mattias Gaertner wrote: Yes. It is TLazAccessibleObject.GetChildAccessibleObjectWithDataObject. It uses a linear search for the 10.000 items. I will replace it with an avl tree. Exact point. zeljko -- ___

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread michael . vancanneyt
On Wed, 15 Feb 2012, zeljko wrote: On Wednesday 15 of February 2012 15:34:28 Mattias Gaertner wrote: Yes. It is TLazAccessibleObject.GetChildAccessibleObjectWithDataObject. It uses a linear search for the 10.000 items. I will replace it with an avl tree. Exact point. So - as workaround

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Mattias Gaertner
zeljko zel...@holobit.net hat am 15. Februar 2012 um 16:48 geschrieben: On Wednesday 15 of February 2012 15:34:28 Mattias Gaertner wrote: Yes. It is TLazAccessibleObject.GetChildAccessibleObjectWithDataObject. It uses a linear search for the 10.000 items. I will replace it with an avl

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Felipe Monteiro de Carvalho
Thanks for doing the AVL fix =) I will study it and see if I can substitute FPList in some other projects too with AVL tree. 2012/2/15 Mattias Gaertner nc-gaert...@netcologne.de: The code explorer still needs a lot of time on this unit, because it creates 60.000 nodes and for each node it

Re: [Lazarus] installing chm help

2012-02-15 Thread Felipe Monteiro de Carvalho
Sending again on-list now: On Wed, Feb 15, 2012 at 5:26 PM, waldo kitty wkitt...@windstream.net wrote: uhh... reserved words are not keywords... at least not in my 30+ year old coding book of terms... and definitely not in my ~50 years of life experience :? From your first e-mail in this

Re: [Lazarus] installing chm help

2012-02-15 Thread waldo kitty
On 2/15/2012 03:33, Michael Schnell wrote: On 02/14/2012 07:33 PM, waldo kitty wrote: placed the cursor on a pascal keyword (ie: implementation in the currently opened file from when i opened the lhelp.lpi), pressed F1 and... no help :( To get context help for pascal language keywords, you

Re: [Lazarus] installing chm help

2012-02-15 Thread waldo kitty
On 2/15/2012 04:58, Hans-Peter Diettrich wrote: waldo kitty schrieb: Download all the CHM, and keyword help works (here, Win7). I got ref, prog, user and toc CHMs, too. hunh? there are only 3 in the ~16Meg fpc-lazarus-doc-chm-0.9.30.2.tar.bz2 file i pulled off of sourceforge as directed by

[Lazarus] vtUnicodeString

2012-02-15 Thread Juha Manninen
LCLProc has procedure DebuglnThreadLog which refers to vtUnicodeString which doesn't compile with FPC 2.4.4. It should be embedded in IFDEF. Is VER2_6 the right define? Like: {$ifdef VER2_6} vtUnicodeString: s:=AnsiString(UnicodeString(s)+UnicodeString(Args[i].VUnicodeString)); {$endif}

Re: [Lazarus] installing chm help

2012-02-15 Thread waldo kitty
On 2/15/2012 05:30, Hans-Peter Diettrich wrote: waldo kitty schrieb: also basic things like 'writeln', 'write', and similar do not give any help... but then some stuff, like 'integer' popup with a Help selector window as mentioned above and one of the two RTL (ahh! found a RTL[] hit) options

Re: [Lazarus] vtUnicodeString

2012-02-15 Thread Mattias Gaertner
Juha Manninen juha.mannine...@gmail.com hat am 15. Februar 2012 um 18:15 geschrieben: LCLProc has procedure DebuglnThreadLog which refers to vtUnicodeString which doesn't compile with FPC 2.4.4. It should be embedded in IFDEF. Is VER2_6 the right define? Like: {$ifdef VER2_6}

Re: [Lazarus] installing chm help

2012-02-15 Thread Andrew Haines
On 02/15/12 08:02, Marco van de Voort wrote: On Wed, Feb 15, 2012 at 12:59:52PM +0100, Michael Schnell wrote: Nope. Simply download the additional CHM files, and it works as expected. I once asked how the CHM help can be configured to search across multiple files. There is no CHM help.

Re: [Lazarus] installing chm help

2012-02-15 Thread Mattias Gaertner
Andrew Haines andrewd...@aol.com hat am 15. Februar 2012 um 18:38 geschrieben: On 02/15/12 08:02, Marco van de Voort wrote: On Wed, Feb 15, 2012 at 12:59:52PM +0100, Michael Schnell wrote: Nope. Simply download the additional CHM files, and it works as expected. I once asked how the CHM

Re: [Lazarus] installing chm help

2012-02-15 Thread waldo kitty
On 2/15/2012 05:47, Sven Barth wrote: Am 15.02.2012 03:48, schrieb waldo kitty: but then some stuff, like 'integer' popup with a Help selector window as mentioned above and one of the two RTL (ahh! found a RTL[] hit) options (objpas.pp) talks about redefinition of integer as 32-bit type whereas

Re: [Lazarus] installing chm help

2012-02-15 Thread Andrew Haines
On 02/15/12 12:46, Mattias Gaertner wrote: Andrew Haines andrewd...@aol.com hat am 15. Februar 2012 um 18:38 geschrieben: When you press F1 in lazarus it performs it's own search of what it is looking for. If it finds something it presents a list of possible results if there are more than

Re: [Lazarus] installing chm help

2012-02-15 Thread waldo kitty
On 2/15/2012 05:56, Sven Barth wrote: Am 15.02.2012 07:52, schrieb Graeme Geldenhuys: On 15 February 2012 04:58, waldo kitty wrote: i used the term 'keyword' to cover basic pascal verbs or whatever the proper verbiage is for them... i also see/use this term to cover all library items and am

Re: [Lazarus] installing chm help

2012-02-15 Thread waldo kitty
On 2/15/2012 05:58, Sven Barth wrote: Am 15.02.2012 11:18, schrieb Marco van de Voort: Putting ref.chm in the same directory. The keywords are in there for nearly two years. But iirc only .31 supports it, not .30. (and it is one of the things that would be nice to backport to a future stable

Re: [Lazarus] vtUnicodeString

2012-02-15 Thread Juha Manninen
Thanks, I added it in r35381. Juha 2012/2/15, Mattias Gaertner nc-gaert...@netcologne.de: Juha Manninen juha.mannine...@gmail.com hat am 15. Februar 2012 um 18:15 geschrieben: LCLProc has procedure DebuglnThreadLog which refers to vtUnicodeString which doesn't compile with FPC 2.4.4. It

[Lazarus] pppoe dialer

2012-02-15 Thread Osvaldo Filho
Hi, all! Can anyone help me with some information on how I can create a dialer for a PPPoE connection? Grateful. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] installing chm help

2012-02-15 Thread waldo kitty
On 2/15/2012 06:08, Graeme Geldenhuys wrote: On 15 February 2012 12:30, Hans-Peter Diettrich wrote: I found no time yet to create an overview of all the basic (built-in) types, which would allow to update all these types in one single place, whenever the declarations are changed in the

Re: [Lazarus] Looking for a general text editor

2012-02-15 Thread Zaher Dirkey
On Tue, Feb 14, 2012 at 11:32 AM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: I guess I'll just have to knock together a basic fpGUI editor from scratch in my lunchtime. It should be 40 minutes well spent. Thanks anyway for the suggestion. Oh, 40 minutes, i bet you, it is get more than

  1   2   >