Re: [Lazarus] Webcam access

2012-02-15 Thread dhkblaszyk
There are several ways to do it. On Linux you can use V4L, on windows there are VFW or DirectShow (and more). I have even bindings to OpenCV which provide access. My plan has always been to create a plugable crossplatform library, but so far I have not had the time yet. If you want we can discu

[Lazarus] Webcam access

2012-02-15 Thread Dhanu M
hi: how to access the web camera in the lazarus.., is there any component for access the webcamera.. pls reply -- Regards, Dhanasekaran M -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listi

Re: [Lazarus] vtUnicodeString

2012-02-15 Thread zeljko
On Wednesday 15 of February 2012 18:37:08 Mattias Gaertner wrote: > Juha Manninen 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 th

Re: [Lazarus] Anchoring buttons (or other graphical elements)

2012-02-15 Thread Jürgen Hestermann
Mattias Gaertner schrieb: >> but what strikes me is that horizontal >> and vertical borders seem >> to be treated differently. Is there a reason for this? > Why do you think so? Well, at first the documentation only mentions horizontal borders to be the maximum of both elements but nothing that

Re: [Lazarus] installing chm help

2012-02-15 Thread waldo kitty
On 2/15/2012 17:50, Graeme Geldenhuys wrote: On 15 February 2012 19:58, waldo kitty wrote: @graeme: does docview work with chm files? i haven't looked at it, yet, if if does, i'm curious if it will find things that lhelp doesn't in the same chm files when invoked by placing the cursor on a {da

Re: [Lazarus] installing chm help

2012-02-15 Thread waldo kitty
On 2/15/2012 14:09, Andrew Haines wrote: On 02/15/12 13:45, waldo kitty wrote: i note that martin has added a step 6 to those wiki instructions... it has you confirm that HelpExe is proper and also says to set HelpFilesPath to where the chm files are... but[!!] i _have not_ changed HelpFilesPat

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Mattias Gaertner
On Thu, 16 Feb 2012 00:20:35 +0100 Massimo Soricetti wrote: > Il 15/02/2012 23:14, Graeme Geldenhuys ha scritto: > > Yes, it is a known problem, and why Lazarus IDE uses TTreeview in many > > places like the Messages dialog, instead of TStringGrid. > > Well, at least there is a workaround for t

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Mattias Gaertner
On Thu, 16 Feb 2012 00:14:41 +0200 Graeme Geldenhuys wrote: > On 15 February 2012 21:19, Massimo Soricetti wrote: > > I wonder if something in TStringList internals goes really bad when has more > > than 65.536 lines? > > Maybe this problem afflicts the lazarus IDE too... > > Yes, it is a known

Re: [Lazarus] installing chm help

2012-02-15 Thread Mattias Gaertner
On Thu, 16 Feb 2012 00:34:55 +0200 Graeme Geldenhuys wrote: > 2012/2/15 Mattias Gaertner : > > Just an idea: > > > > The chmhelppkg can use this to perform a search in lhelp. Then F1 would show > > lhelp with the search results. > > > In that case, why bother with the chmhelppkg in the first pl

[Lazarus] I made a visualization of the Lazarus SVN repository

2012-02-15 Thread Bernd
...using gource. Its quite interesting and funny to watch: http://vimeo.com/36868024 Its only a few months from last summer until yesterday but you can watch busy developers flying around from file to file, watch the customdrawn interface grow and see which developers are mostly "attracted" by wh

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Massimo Soricetti
Il 15/02/2012 23:14, Graeme Geldenhuys ha scritto: Yes, it is a known problem, and why Lazarus IDE uses TTreeview in many places like the Messages dialog, instead of TStringGrid. Well, at least there is a workaround for the problem :-) -- ___ Lazarus

Re: [Lazarus] installing chm help

2012-02-15 Thread Graeme Geldenhuys
On 15 February 2012 21:03, waldo kitty wrote: > > (that /is/ a valid situation in my world) Your world sounds awesome! :) -- Regards,   - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- __

Re: [Lazarus] installing chm help

2012-02-15 Thread Graeme Geldenhuys
On 15 February 2012 19:58, waldo kitty wrote: > > @graeme: does docview work with chm files? i haven't looked at it, yet, if > if does, i'm curious if it will find things that lhelp doesn't in the same > chm files when invoked by placing the cursor on a {dang, what terms to > use??} word in the ID

Re: [Lazarus] installing chm help

2012-02-15 Thread Graeme Geldenhuys
2012/2/15 Mattias Gaertner : > Just an idea: > > The chmhelppkg can use this to perform a search in lhelp. Then F1 would show > lhelp with the search results. In that case, why bother with the chmhelppkg in the first place? What you are describing, is exactly what I do with the "docview integrati

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Graeme Geldenhuys
On 15 February 2012 15:40, Sven Barth wrote: > > This does not help if some features that one needs (or wants) are only > implemented in trunk... (yes, I'm aware that one could merge manually, but > it's far easier for me to just use trunk) Stability is more important to me than the latest eye-c

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Graeme Geldenhuys
On 15 February 2012 21:19, Massimo Soricetti wrote: > I wonder if something in TStringList internals goes really bad when has more > than 65.536 lines? > Maybe this problem afflicts the lazarus IDE too... Yes, it is a known problem, and why Lazarus IDE uses TTreeview in many places like the Messa

Re: [Lazarus] Looking for a general text editor

2012-02-15 Thread Graeme Geldenhuys
On 15 February 2012 20:49, Zaher Dirkey wrote: > > Oh, 40 minutes, i bet you, it is get more than pure 40 hours :D (that what i > said when started my editor). Like I said in my reply to Bart, I decided in the end to use an editor component I already created for another application. So I reused

Re: [Lazarus] installing chm help

2012-02-15 Thread waldo kitty
On 2/15/2012 11:39, Felipe Monteiro de Carvalho wrote: Sending again on-list now: On Wed, Feb 15, 2012 at 5:26 PM, waldo kitty 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 :?

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Marco van de Voort
On Wed, Feb 15, 2012 at 09:39:35PM +0100, Mattias Gaertner wrote: > > > 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 ID

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Mattias Gaertner
On Wed, 15 Feb 2012 20:19:11 +0100 Massimo Soricetti wrote: > Il 15/02/2012 09:14, Michael Van Canneyt ha scritto: > > 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

Re: [Lazarus] [fpc-devel] Documentation contribution

2012-02-15 Thread Everton Vieira
Em 15/02/2012, às 17:52, Martin escreveu: > On 15/02/2012 19:27, Mattias Gaertner wrote: >> On Fri, 10 Feb 2012 14:52:13 +0100 >> Hans-Peter Diettrich wrote: >> >>> [...] >>> IMO notes should not be hidden in comments. I want them displayed also >>> in the final docs - just as a reminder that s

Re: [Lazarus] [fpc-devel] Documentation contribution

2012-02-15 Thread Martin
On 15/02/2012 19:27, Mattias Gaertner wrote: On Fri, 10 Feb 2012 14:52:13 +0100 Hans-Peter Diettrich wrote: [...] IMO notes should not be hidden in comments. I want them displayed also in the final docs - just as a reminder that some text is not reliable. Reminders must be clearly marked. A s

Re: [Lazarus] Anchoring buttons (or other graphical elements)

2012-02-15 Thread Mattias Gaertner
On Tue, 14 Feb 2012 18:03:14 +0100 Jürgen Hestermann wrote: > Mattias Gaertner schrieb: > > > I am trying to understand the logic of the anchors of graphic elements > > > like buttons etc., especially the meaning of the margin values. > > > Maybe you want read the documentation: > > > http:

Re: [Lazarus] [fpc-devel] Documentation contribution

2012-02-15 Thread Mattias Gaertner
On Fri, 10 Feb 2012 14:52:13 +0100 Hans-Peter Diettrich wrote: >[...] > IMO notes should not be hidden in comments. I want them displayed also > in the final docs - just as a reminder that some text is not reliable. Reminders must be clearly marked. A simple [?] can be misleading. Mattias --

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Massimo Soricetti
Il 15/02/2012 09:14, Michael Van Canneyt ha scritto: 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. Don't know if this is related,

Re: [Lazarus] installing chm help

2012-02-15 Thread Andrew Haines
On 02/15/12 13:45, waldo kitty wrote: > i note that martin has added a step 6 to those wiki instructions... it > has you confirm that HelpExe is proper and also says to set > HelpFilesPath to where the chm files are... but[!!] i _have not_ changed > HelpFilesPath from its blank setting and the hel

Re: [Lazarus] installing chm help

2012-02-15 Thread Everton Vieira
Em 15/02/2012, às 17:03, waldo kitty escreveu: > On 2/15/2012 07:17, michael.vancann...@wisa.be wrote: >> On Tue, 14 Feb 2012, waldo kitty wrote: >>> why does basic stuff, eg: 'write' and 'writeln' not have any help at all? >> >> Where do you get that from ? It is documented. >> >> See >> >> h

Re: [Lazarus] installing chm help

2012-02-15 Thread waldo kitty
On 2/15/2012 07:17, michael.vancann...@wisa.be wrote: On Tue, 14 Feb 2012, waldo kitty wrote: why does basic stuff, eg: 'write' and 'writeln' not have any help at all? Where do you get that from ? It is documented. See http://www.freepascal.org/docs-html/rtl/system/index-5.html but that's

Re: [Lazarus] installing chm help

2012-02-15 Thread waldo kitty
On 2/15/2012 07:10, Hans-Peter Diettrich wrote: Sven Barth schrieb: Please validate first by either checking the documentation by hand (using lHelp's search) or using "IDENTIFER site:freepascal.org" on Google. I trust a user when he says that something doesn't work, e.g. he doesn't get help di

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 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 pure 40 hours :D (th

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 compile

[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] vtUnicodeString

2012-02-15 Thread Juha Manninen
Thanks, I added it in r35381. Juha 2012/2/15, Mattias Gaertner : > > Juha Manninen 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 th

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

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 Andrew Haines
On 02/15/12 12:46, Mattias Gaertner wrote: > > Andrew Haines 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 one. If the

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" wher

Re: [Lazarus] installing chm help

2012-02-15 Thread Mattias Gaertner
Andrew Haines 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 help can b

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

Re: [Lazarus] vtUnicodeString

2012-02-15 Thread Mattias Gaertner
Juha Manninen 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} > vtUnicodeString: > s:=AnsiStr

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

[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} Juha

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 th

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 nee

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 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 thread: > placed the

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 : > The code explorer still needs a lot of time on this unit, because it creates > 60.000 nodes and for each node it creates a description. Maybe

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Mattias Gaertner
zeljko 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 > > tree. > >

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 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] 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 wrote: > On 15/02/2012 13:01, ik wrote: >> >> On Wed, Feb 15, 2012 at 14:19, ik  wrote: >>> >>> On Wed, Feb 15, 2012 at 13:59, Everton Vieira >>>  wrote: Em 15/02/2012, às 09:49, ik escreveu: > Hello, > > I have a code with a lot of

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 complicanti

[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 likes.

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, ik wrote: On Wed, Feb 15, 2012 at 13:59, Everton Vieira 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 On

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 Vieira 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 br

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] Lazarus slow on large files

2012-02-15 Thread Mattias Gaertner
Mattias Gaertner 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 compilation is rather

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
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 for

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, 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].

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Graeme Geldenhuys
On 15 February 2012 15:04, > 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 codetools don't work. I can't jump to

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 un

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 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 CHMs loaded.

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 wrote: >> On Wed, Feb 15, 2012 at 13:59, Everton Vieira 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 so

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 x86

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 wrote: > On Wed, Feb 15, 2012 at 13:59, Everton Vieira 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 >>> somet

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 indexe

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

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 und

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 complementatio

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 x86_

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 *dire

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

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

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 fin

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] 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] 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('', '', [], '', [] , [])

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 > featur

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread michael . vancanneyt
On Wed, 15 Feb 2012, Mattias Gaertner wrote: zeljko 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

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Mattias Gaertner
zeljko 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 a

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) op

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 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 code. >> Th

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", "TProce

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 http://lists.lazarus.freepascal.

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, Ubunt

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,

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 complicat

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 e

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 *direct

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 th

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 anothe

[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 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 o

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

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

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, 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? Here http://svn

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 se

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). >

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 f

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread Graeme Geldenhuys
On 15 February 2012 13:17, 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 - _

  1   2   >