Re: [Lazarus] Error while compiling resources...

2011-01-31 Thread Graeme Geldenhuys
Op 2011-02-01 08:46, Paul Ishenin het geskryf: > > As I know Lazarus does not have a feature to show a help for compiler > error/warnings/hints. Well, my copy of Lazarus 0.9.29 (.30 fixes branch) does indeed show such help. It's small, but it's there. See attached screenshot. > And yes, I like

Re: [Lazarus] CGILazIDE cannot be found...

2011-01-31 Thread Bo Berglund
On Mon, 31 Jan 2011 19:55:07 -0500, waldo kitty wrote: >i recall a time, way back yonder, when i discovered a major bug in the >published >documentation of the Tandy 1000... this was a machine with no HD so it had to >boot off of a floppy disk in drive A:... after an initial season of selling

Re: [Lazarus] Error while compiling resources...

2011-01-31 Thread Paul Ishenin
01.02.2011 13:40, Graeme Geldenhuys wrote: Paul, I haven't tried the original posters sample app, but if your hint is indeed the solution, maybe that hint could be added to the F1 help on compiler errors/hints in Messages window? As I know Lazarus does not have a feature to show a help for comp

Re: [Lazarus] Error while compiling resources...

2011-01-31 Thread Graeme Geldenhuys
Op 2011-02-01 01:07, Paul Ishenin het geskryf: > 01.02.2011 5:28, Bo Berglund wrote: >> {$IFDEF WINDOWS}{$R commtest.rc}{$ENDIF} > resource which was added by lazarus 0.9.26 >> {$R *.res} > added by lazarus 0.9.30? > > Remove {$IFDEF WINDOWS}{$R commtest.rc}{$ENDIF} and try again. > Paul, I have

Re: [Lazarus] Lazarus Project Group

2011-01-31 Thread Graeme Geldenhuys
Op 2011-02-01 01:07, silvioprog het geskryf: > > In Delphi7 I use only one file (bpg) to manage my projects (to open > projects, compiles, deletes etc.) Currently this feature is present in > Lazarus? As a work-around, increase the 'recent file' and 'recent project' count from 5 (default) to say

Re: [Lazarus] CGILazIDE cannot be found...

2011-01-31 Thread Hans-Peter Diettrich
waldo kitty schrieb: > > CGILazIDE is deprecated for some time now and as it seems > > finally gone (or renamed?). If you don't need it, kick it out ;-) > > OK, but I don't even know what it is. Well, if you as developer do not know, how should the IDE know? because he is a new developer

Re: [Lazarus] Lazarus Project Group

2011-01-31 Thread Hans-Peter Diettrich
silvioprog schrieb: In Delphi7 I use only one file (bpg) to manage my projects (to open projects, compiles, deletes etc.) Currently this feature is present in Lazarus? No. What special features of a ProjectGroup are you missing? DoDi -- ___ Laza

Re: [Lazarus] Lazarus Project Group

2011-01-31 Thread Paul Ishenin
01.02.2011 6:45, silvioprog wrote: x( There are many features which are nice to have but we should release 1.0 version some day. We can't implement everything for 1.0 version. Let's postpone something like this one. Best regards, Paul Ishenin -- ___

Re: [Lazarus] CGILazIDE cannot be found...

2011-01-31 Thread waldo kitty
On 1/31/2011 13:41, Sven Barth wrote: While adding the path to CompilerOptions/Paths/OtherUnitFiles is a possibilty I personally don't consider it the "clean" way. Open the Project Inspector and click the "plus". Select the Tab "Dependency" and search for your Sdpo package in the combobox. Now cl

Re: [Lazarus] CGILazIDE cannot be found...

2011-01-31 Thread waldo kitty
On 1/31/2011 11:27, Bo Berglund wrote: Being a developer does not mean that one searches out each and every item in an IDE and learns its use. I sure don't when I am just evaluating lazarus and fpc as a development platform alternative to Delphi... +100 or even just trying to get involved and

Re: [Lazarus] CGILazIDE cannot be found...

2011-01-31 Thread waldo kitty
On 1/31/2011 10:30, Mattias Gaertner wrote: Bo Berglund hat am 31. Januar 2011 um 16:06 geschrieben: >[..] > > CGILazIDE is deprecated for some time now and as it seems > > finally gone (or renamed?). If you don't need it, kick it out ;-) > > OK, but I don't even know what it is. Well, if

Re: [Lazarus] Lazarus Project Group

2011-01-31 Thread silvioprog
2011/1/31 Mattias Gaertner > On Mon, 31 Jan 2011 21:07:52 -0200 > silvioprog wrote: > > > Hi guys, > > > > In Delphi7 I use only one file (bpg) to manage my projects (to open > > projects, compiles, deletes etc.) Currently this feature is present in > > Lazarus? > > No. > > Mattias > x( -- *S

Re: [Lazarus] IDE package interface question

2011-01-31 Thread dhkblaszyk
CodeTool.ExtractProcHead(ProcNode,Attributes); Perfect, thanks! -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] IDE package interface question

2011-01-31 Thread Mattias Gaertner
On Tue, 01 Feb 2011 00:13:50 +0100 wrote: > On Mon, 31 Jan 2011 23:35:11 +0100, Mattias Gaertner > wrote: > >> if AUnit <> CachedUnit then > >> begin > > > > Maybe the above if is the cause. Remove it. > > I found the problem. The line and column number were switched. > Therefore Clea

Re: [Lazarus] Lazarus Project Group

2011-01-31 Thread Mattias Gaertner
On Mon, 31 Jan 2011 21:07:52 -0200 silvioprog wrote: > Hi guys, > > In Delphi7 I use only one file (bpg) to manage my projects (to open > projects, compiles, deletes etc.) Currently this feature is present in > Lazarus? No. Mattias -- ___ Lazarus ma

Re: [Lazarus] IDE package interface question

2011-01-31 Thread dhkblaszyk
On Mon, 31 Jan 2011 23:35:11 +0100, Mattias Gaertner wrote: if AUnit <> CachedUnit then begin Maybe the above if is the cause. Remove it. I found the problem. The line and column number were switched. Therefore CleanPos was bogus. Now one last problem, how to find the method name? Pr

[Lazarus] Lazarus Project Group

2011-01-31 Thread silvioprog
Hi guys, In Delphi7 I use only one file (bpg) to manage my projects (to open projects, compiles, deletes etc.) Currently this feature is present in Lazarus? Thanks. -- *Silvio Clécio* *Blog.* blog.silvioprog.com.br *Twitter.* twitter.com/silvioprog -- ___

Re: [Lazarus] Error while compiling resources...

2011-01-31 Thread Paul Ishenin
01.02.2011 5:28, Bo Berglund wrote: {$IFDEF WINDOWS}{$R commtest.rc}{$ENDIF} resource which was added by lazarus 0.9.26 {$R *.res} added by lazarus 0.9.30? Remove {$IFDEF WINDOWS}{$R commtest.rc}{$ENDIF} and try again. Best regards, Paul Ishenin -- __

Re: [Lazarus] IDE package interface question

2011-01-31 Thread Mattias Gaertner
On Mon, 31 Jan 2011 22:38:54 +0100 Darius Blaszyk wrote: > > Martin / Mattias, > > Thanks for the help. I finally used RegisterChangeEvent and it works fine. > Unfortunately I have a another problem now. After modifying the caret > position the event is fired and from the caret position I nee

[Lazarus] Error while compiling resources...

2011-01-31 Thread Bo Berglund
I have created a class to handle the communications towards a data acquisition instrument. Now I am preparing the test application so I have simply made a form with some entry boxes and a button. Here is the main program file content: program commtest; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$

Re: [Lazarus] IDE package interface question

2011-01-31 Thread Darius Blaszyk
Martin / Mattias, Thanks for the help. I finally used RegisterChangeEvent and it works fine. Unfortunately I have a another problem now. After modifying the caret position the event is fired and from the caret position I need to resolve the method name. I have looked at how this is done ./exam

[Lazarus] OpenSSL.pas update functions

2011-01-31 Thread Daniel Simoes de Ameida
Hi all, I create a new issue on MantisBT adding a patch with new functions to OpenSSL.pas http://bugs.freepascal.org/view.php?id=18652 []s Daniel Conheça o Projeto ACBr - Automaçao Comercial Brasil DJSystem a Loja Patrocinadora do ACBr -- __

Re: [Lazarus] CGILazIDE cannot be found...

2011-01-31 Thread Sven Barth
On 31.01.2011 21:06, Bo Berglund wrote: On Mon, 31 Jan 2011 19:41:13 +0100, Sven Barth wrote: No, I did not know about such a shortcut. Instead I located the project options and in CompilerOptions/Paths/OtherUnitFiles I added the path to the unit file that was missing. But I still do not know

Re: [Lazarus] CGILazIDE cannot be found...

2011-01-31 Thread Bo Berglund
On Mon, 31 Jan 2011 19:41:13 +0100, Sven Barth wrote: >> No, I did not know about such a shortcut. Instead I located the >> project options and in CompilerOptions/Paths/OtherUnitFiles I added >> the path to the unit file that was missing. >> But I still do not know if this is the right place. It

Re: [Lazarus] CGILazIDE cannot be found...

2011-01-31 Thread Sven Barth
Am 31.01.2011 17:27, schrieb Bo Berglund: Anyway, I stopped the process after answering yes to this and the following similar dialogue and instead went to the rebuild of the complete lazarus IDE and now I have done this and the 5dpo component tab appears in the IDE, so I thought that all was done

Re: [Lazarus] CGILazIDE cannot be found...

2011-01-31 Thread Mattias Gaertner
    Bo Berglund hat am 31. Januar 2011 um 17:27 geschrieben: > On Mon, 31 Jan 2011 16:30:08 +0100 (CET), Mattias Gaertner > wrote: > >Bo Berglund hat am 31. Januar 2011 um 16:06 > >geschrieben: > > > >>[..] > >> Hmmpf... After checking out lazarus there is no IDE to run, right? > >> So I canno

Re: [Lazarus] CGILazIDE cannot be found...

2011-01-31 Thread Bo Berglund
On Mon, 31 Jan 2011 16:30:08 +0100 (CET), Mattias Gaertner wrote: >Bo Berglund hat am 31. Januar 2011 um 16:06 >geschrieben: > >>[..] >> Hmmpf... After checking out lazarus there is no IDE to run, right? >> So I cannot use any IDE dialog to specify a better way of compiling >> since as yet there

Re: [Lazarus] Test the Lazarus fixes_0_9_30 branch

2011-01-31 Thread Alexsander Rosa
Only 2 now! 2011/1/26 Alexsander Rosa > Only 3 issues left. Good work, guys! > > 2010/12/24 Vincent Snijders > > See >> http://bugs.freepascal.org/view_all_set.php?type=3&source_query_id=1811 >> for current open issues for the next release. >> >> Vincent >> > > -- Atenciosamente, Alexsander da

Re: [Lazarus] How to use GetElementById?

2011-01-31 Thread silvioprog
Hi Benito, Good parser. ;) Instead of DOM, I could use GetPart, but I need something native with DOM. :/ Unfortunately I had to use a 'generic' option (...Item[NUMBER]...): http://code.google.com/p/lazsolutions/source/browse/trunk/Demos/LSHTTPSend/MainFrm.pas#297 Anyway, thanks for the help. :

Re: [Lazarus] CGILazIDE cannot be found...

2011-01-31 Thread Mattias Gaertner
    Bo Berglund hat am 31. Januar 2011 um 16:06 geschrieben: >[..] > Hmmpf... After checking out lazarus there is no IDE to run, right? > So I cannot use any IDE dialog to specify a better way of compiling > since as yet there is no lazarus.exe to start  You can compile Lazarus from scratch

Re: [Lazarus] CGILazIDE cannot be found...

2011-01-31 Thread Felipe Monteiro de Carvalho
On Mon, Jan 31, 2011 at 4:06 PM, Bo Berglund wrote: > Hmmpf... After checking out lazarus there is no IDE to run, right? > So I cannot use any IDE dialog to specify a better way of compiling > since as yet there is no lazarus.exe to start I usually do: make bigide But it requires then that y

Re: [Lazarus] CGILazIDE cannot be found...

2011-01-31 Thread Bo Berglund
On Mon, 31 Jan 2011 14:27:22 +0100, Andreas Schneider wrote: > How did you rebuild Lazarus in the first place? I presume by using > "make". - I checked out the branch to a new directory - Then in this directory I executed these statements (in a batch file): set PATH=C:\Programs\lazarus\fpc\2.4.2

Re: [Lazarus] CGILazIDE cannot be found...

2011-01-31 Thread Felipe Monteiro de Carvalho
On Mon, Jan 31, 2011 at 2:16 PM, Bo Berglund wrote: > But now I get another dialog saying: > "The package "CGILazIDE" is marked for installation, but can not be > found. Remove the dependency from the installation list of packages?" Just remove this package from your list of packages. It was obso

Re: [Lazarus] CGILazIDE cannot be found...

2011-01-31 Thread Andreas Schneider
On Mon, 31 Jan 2011 14:16:58 +0100, Bo Berglund wrote: I have checked out lazarus_0_9_30_fixes branch today into a new folder and successfully rebuilt lazarus using the release fpc 2.4.2 (on windows). Now inside Lazarus I need to register the SdpoSeriial package so I open the sdposerial.laz pac

Re: [Lazarus] CGILazIDE cannot be found...

2011-01-31 Thread Bo Berglund
On Mon, 31 Jan 2011 14:16:58 +0100, Bo Berglund wrote: >I have checked out lazarus_0_9_30_fixes branch today into a new folder >and successfully rebuilt lazarus using the release fpc 2.4.2 (on >windows). > >Now inside Lazarus I need to register the SdpoSeriial package so I >open the sdposerial.la

[Lazarus] CGILazIDE cannot be found...

2011-01-31 Thread Bo Berglund
I have checked out lazarus_0_9_30_fixes branch today into a new folder and successfully rebuilt lazarus using the release fpc 2.4.2 (on windows). Now inside Lazarus I need to register the SdpoSeriial package so I open the sdposerial.laz package and clickcompile and it all works. Then I click the I

Re: [Lazarus] Package: "LCL 1.0.1" Unit not found: "Menus"

2011-01-31 Thread Vincent Snijders
2011/1/31 Mattias Gaertner : > > > > http://svn2.freepascal.org/svn/lazarus/trunk > > Maybe the svn2 admin can kick the synchronize daemon/cron. > Done. Vincent -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freep

Re: [Lazarus] Package: "LCL 1.0.1" Unit not found: "Menus"

2011-01-31 Thread ik
2011/1/31 Mattias Gaertner > > > > > ik hat am 31. Januar 2011 um 12:14 geschrieben: > > > > > 2011/1/31 Mattias Gaertner > > > > > > ik hat am 31. Januar 2011 um 11:25 geschrieben: > > [...] > > > I'm using revision 29212 compiled like so: > > The fix came later. > Why not update? > > > I

Re: [Lazarus] Package: "LCL 1.0.1" Unit not found: "Menus"

2011-01-31 Thread Mattias Gaertner
    ik hat am 31. Januar 2011 um 12:14 geschrieben: > > > > > 2011/1/31 Mattias Gaertner [mailto:nc-gaert...@netcologne.de] > > > > > >   > >   > > > > > > ik mailto:ido...@gmail.com] > hat am 31. Januar 2011 um > > 11:25 geschrieben: > > > > > > > > > > > > > [...] > > > > > >

Re: [Lazarus] Package: "LCL 1.0.1" Unit not found: "Menus"

2011-01-31 Thread ik
2011/1/31 Mattias Gaertner > > > > > ik hat am 31. Januar 2011 um 11:25 geschrieben: > > [...] > > > I'm using revision 29212 compiled like so: > > The fix came later. > Why not update? > > > It's the latest revision I get on svn update. > > > Trunk: > URL: http://svn.freepascal.org/svn/lazar

Re: [Lazarus] Package: "LCL 1.0.1" Unit not found: "Menus"

2011-01-31 Thread Mattias Gaertner
    ik hat am 31. Januar 2011 um 11:25 geschrieben: > > > [...] > > > > > > I'm using revision 29212 compiled like so: > > > > The fix came later. > > Why not update? > > > > It's the latest revision I get on svn update. Trunk: URL: http://svn.freepascal.org/svn/lazarus/trunk Revision

Re: [Lazarus] [fpc-pascal] Re: How to use GetElementById?

2011-01-31 Thread silvioprog
Oh, the email of Sergeiwas in the spam page. Sorry Sergei. ^^' Oops, I did not know about the crosspost, it will not happen again. ;) Hm..., I did not understand much about how to use the GetElementById function, I'll

Re: [Lazarus] Package: "LCL 1.0.1" Unit not found: "Menus"

2011-01-31 Thread ik
On Mon, Jan 31, 2011 at 12:18, Mattias Gaertner wrote: > On Mon, 31 Jan 2011 12:11:50 +0200 > ik wrote: > > > On Mon, Jan 31, 2011 at 12:06, Mattias Gaertner > > wrote: > > > > > On Mon, 31 Jan 2011 11:56:53 +0200 > > > ik wrote: > > > > > > > On Mon, Jan 31, 2011 at 11:50, Mattias Gaertner > >

Re: [Lazarus] Package: "LCL 1.0.1" Unit not found: "Menus"

2011-01-31 Thread Mattias Gaertner
On Mon, 31 Jan 2011 12:11:50 +0200 ik wrote: > On Mon, Jan 31, 2011 at 12:06, Mattias Gaertner > wrote: > > > On Mon, 31 Jan 2011 11:56:53 +0200 > > ik wrote: > > > > > On Mon, Jan 31, 2011 at 11:50, Mattias Gaertner > > > wrote: > > > > > > > On Mon, 31 Jan 2011 11:33:36 +0200 > > > > ik wrot

Re: [Lazarus] Package: "LCL 1.0.1" Unit not found: "Menus"

2011-01-31 Thread ik
On Mon, Jan 31, 2011 at 12:06, Mattias Gaertner wrote: > On Mon, 31 Jan 2011 11:56:53 +0200 > ik wrote: > > > On Mon, Jan 31, 2011 at 11:50, Mattias Gaertner > > wrote: > > > > > On Mon, 31 Jan 2011 11:33:36 +0200 > > > ik wrote: > > > > > > > I think that LCL package was renamed to a new name,

Re: [Lazarus] Package: "LCL 1.0.1" Unit not found: "Menus"

2011-01-31 Thread Mattias Gaertner
On Mon, 31 Jan 2011 11:56:53 +0200 ik wrote: > On Mon, Jan 31, 2011 at 11:50, Mattias Gaertner > wrote: > > > On Mon, 31 Jan 2011 11:33:36 +0200 > > ik wrote: > > > > > I think that LCL package was renamed to a new name, > > > > You think wrong. > > > > > > > so now all of the 3rd party package

Re: [Lazarus] Package: "LCL 1.0.1" Unit not found: "Menus"

2011-01-31 Thread Mattias Gaertner
On Mon, 31 Jan 2011 11:33:36 +0200 ik wrote: > I think that LCL package was renamed to a new name, You think wrong. > so now all of the 3rd party packages that require LCL can not find it. Please give an example. > I think that the package should the be renamed again back to LCL for > backw

Re: [Lazarus] Package: "LCL 1.0.1" Unit not found: "Menus"

2011-01-31 Thread ik
I think that LCL package was renamed to a new name, so now all of the 3rd party packages that require LCL can not find it. I think that the package should the be renamed again back to LCL for backward compatibility. Ido 2011/1/29 Mattias Gaertner > > > Marcos Douglas hat am 28. Januar 2011