Re: [Lazarus] Why does cairocanvas makefile.compiled keep changing
On 4-4-2013 0:01, Mattias Gaertner wrote: > On Wed, 03 Apr 2013 16:02:12 +0200 > Reinier Olislagers wrote: >> Whenever I build it lately, >> $(lazdir)\components\cairocanvas\Makefile.compiled >> keeps changing from the version in subversion. > Fixed. Thanks! -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] requires the package "cairocanvas_pkg"
On Wed, 03 Apr 2013 10:24:46 +0200 Eric Kom wrote: > Good day, > > After updated and installed from trunk lazarus, some packages are not > available during the designtime which is normal. Please see below the > error message: > > The package lazreport can not be installed, because it requires the > package "cairocanvas_pkg", which is a runtime only package. I changed that to "runtime" in svn trunk. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Why does cairocanvas makefile.compiled keep changing
On Wed, 03 Apr 2013 16:02:12 +0200 Reinier Olislagers wrote: > I've been updating Lazarus using fpcup. > > Whenever I build it lately, > $(lazdir)\components\cairocanvas\Makefile.compiled > keeps changing from the version in subversion. > > Had a quick look at the changes [1]; it *seems* like parameters are > reordered (but not modified). > > Is this as expected? Why doesn't this happen with other makefile.compileds? > > Thanks, > Reinier > > [1] relevant diff snippet > - > + Fixed. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Why does cairocanvas makefile.compiled keep changing
On 4/3/2013 09:02, Reinier Olislagers wrote: [1] relevant diff snippet - this "-MObjFPC -Scghi -O1 -g -gl -vewnhi -l" is in the above twice... at the beginning right after "Value=" and the end before "cairocanvas_pkg.pas"... + it is removed from the beginning here so that it only appears once... -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Debugging Lazarus in Lazarus - debugger error
Setting breakpoint works as expected, thank. Dňa 3. 4. 2013 15:39 Martin wrote / napísal(a): Have you tried to set breakpoints and start the debugger with F9? That should work. F7 and F8 will work once you reached a breakpoint. Using F7 and &8 before to start the debugger (when the app is not yet running) is currently not working correctly (unless you use the workaround from the link). Also to be sure, you enabled to compile with debug info? http://wiki.lazarus.freepascal.org/Debugger_Setup#Project_Options On 03/04/2013 14:34, Lubos Pintes wrote: I did it "just for fun". Mainly I wanted to see how debugging goes with screen reader, if this will be similar to my Delphi experience. Currently I only met the Assembler window. Is this normal, or something is set up differently? I expected that cursor will be moved in various files like in Delphi 6. Currently I was unable to debug even very simple project. Only assembler window appeared and then program ran normally. Dňa 3. 4. 2013 12:55 Martin wrote / napísal(a): On 03/04/2013 08:28, Lubos Pintes wrote: Hi, Just tried the following: Opened \ide\lazarus.lpi and then pressed F7. The Assembler window appeared and after next F7 press, the following error appeared (copy of window text follows) Debugger Error The debugger encountered an error when trying to run/step the application: Cannot find bounds of current function Press "Ok" to continue debugging (paused), and correct the problem, or choose an alternative run command. Press "Stop" to end the debug session. Pressing OK doesn't help. I am using the latest SVN, fresh build. OS is win 7 pro 64 bit. This is probably the same issue as described here: http://bugs.freepascal.org/view.php?id=24208 There is a workaround described in the notes. However unless you want to debug the startup code (begin end block of the "program"), it makes no sense to use F7. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Why does cairocanvas makefile.compiled keep changing
I've been updating Lazarus using fpcup. Whenever I build it lately, $(lazdir)\components\cairocanvas\Makefile.compiled keeps changing from the version in subversion. Had a quick look at the changes [1]; it *seems* like parameters are reordered (but not modified). Is this as expected? Why doesn't this happen with other makefile.compileds? Thanks, Reinier [1] relevant diff snippet - + -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Debugging Lazarus in Lazarus - debugger error
Have you tried to set breakpoints and start the debugger with F9? That should work. F7 and F8 will work once you reached a breakpoint. Using F7 and &8 before to start the debugger (when the app is not yet running) is currently not working correctly (unless you use the workaround from the link). Also to be sure, you enabled to compile with debug info? http://wiki.lazarus.freepascal.org/Debugger_Setup#Project_Options On 03/04/2013 14:34, Lubos Pintes wrote: I did it "just for fun". Mainly I wanted to see how debugging goes with screen reader, if this will be similar to my Delphi experience. Currently I only met the Assembler window. Is this normal, or something is set up differently? I expected that cursor will be moved in various files like in Delphi 6. Currently I was unable to debug even very simple project. Only assembler window appeared and then program ran normally. Dňa 3. 4. 2013 12:55 Martin wrote / napísal(a): On 03/04/2013 08:28, Lubos Pintes wrote: Hi, Just tried the following: Opened \ide\lazarus.lpi and then pressed F7. The Assembler window appeared and after next F7 press, the following error appeared (copy of window text follows) Debugger Error The debugger encountered an error when trying to run/step the application: Cannot find bounds of current function Press "Ok" to continue debugging (paused), and correct the problem, or choose an alternative run command. Press "Stop" to end the debug session. Pressing OK doesn't help. I am using the latest SVN, fresh build. OS is win 7 pro 64 bit. This is probably the same issue as described here: http://bugs.freepascal.org/view.php?id=24208 There is a workaround described in the notes. However unless you want to debug the startup code (begin end block of the "program"), it makes no sense to use F7. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Debugging Lazarus in Lazarus - debugger error
I did it "just for fun". Mainly I wanted to see how debugging goes with screen reader, if this will be similar to my Delphi experience. Currently I only met the Assembler window. Is this normal, or something is set up differently? I expected that cursor will be moved in various files like in Delphi 6. Currently I was unable to debug even very simple project. Only assembler window appeared and then program ran normally. Dňa 3. 4. 2013 12:55 Martin wrote / napísal(a): On 03/04/2013 08:28, Lubos Pintes wrote: Hi, Just tried the following: Opened \ide\lazarus.lpi and then pressed F7. The Assembler window appeared and after next F7 press, the following error appeared (copy of window text follows) Debugger Error The debugger encountered an error when trying to run/step the application: Cannot find bounds of current function Press "Ok" to continue debugging (paused), and correct the problem, or choose an alternative run command. Press "Stop" to end the debug session. Pressing OK doesn't help. I am using the latest SVN, fresh build. OS is win 7 pro 64 bit. This is probably the same issue as described here: http://bugs.freepascal.org/view.php?id=24208 There is a workaround described in the notes. However unless you want to debug the startup code (begin end block of the "program"), it makes no sense to use F7. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How can I "unlocalize" Lazarus on Windows
> Lubos Pintes hat am 3. April 2013 um 12:51 geschrieben: > > > Hi, > The Slovak translation is very confusing for me. (I don't know to make > better one, in case someone will ask :-)). > How can I unlocalize Lazarus on Windows to have english messages everywhere? Menu: Tools (third from right) Options (first) Environment (first node) Desktop (second node) The language is the first combobox. Click ok. Restart IDE. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How can I "unlocalize" Lazarus on Windows
On 03.04.2013 13:51, Lubos Pintes wrote: Hi, The Slovak translation is very confusing for me. (I don't know to make better one, in case someone will ask :-)). How can I unlocalize Lazarus on Windows to have english messages everywhere? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus Tools / Options / Environment / Desktop / Language Upper combobox regards, Anton -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Debugging Lazarus in Lazarus - debugger error
On 03/04/2013 08:28, Lubos Pintes wrote: Hi, Just tried the following: Opened \ide\lazarus.lpi and then pressed F7. The Assembler window appeared and after next F7 press, the following error appeared (copy of window text follows) Debugger Error The debugger encountered an error when trying to run/step the application: Cannot find bounds of current function Press "Ok" to continue debugging (paused), and correct the problem, or choose an alternative run command. Press "Stop" to end the debug session. Pressing OK doesn't help. I am using the latest SVN, fresh build. OS is win 7 pro 64 bit. This is probably the same issue as described here: http://bugs.freepascal.org/view.php?id=24208 There is a workaround described in the notes. However unless you want to debug the startup code (begin end block of the "program"), it makes no sense to use F7. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Event generator
Sorry Guys, I will have to leave for a while, I have to solve a very urgent problem. I'll be back soon. Antonio. Le 03/04/2013 12:46, Mattias Gaertner a écrit : Antonio Fortuny hat am 3. April 2013 um 11:44 geschrieben: Le 03/04/2013 11:14, Mattias Gaertner a écrit : On Wed, 03 Apr 2013 11:05:45 +0200 Antonio Fortuny wrote: Another strange behaviour is that lots of types are not recognized: On my own units as well on Lazarus units, setting the cursor on the word TPanel using the key Ctrl does not undescore the TPanel and Ctrl+Left click has no effect. Even my own types are not known although the unit is the uses clause and the program compilation looks OK Everything that uses the classes unit suffers. Try the Ctrl key over the uses section. Can you jump to 'sysutils'? yes, and Classes too When I Ctrl+Left click on a TObject descendant of TObject, nothing happens But Ctrl+Left click over a local method variable, brings the curson on the variable definition It seems at some point I lost you. I thought the IDE can not find unit classes. Please use instead of Ctrl+Left Click, the popup menu: Click Left to position the blinking cursor, then right click 'find declaration'. This will give an error message. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] How can I "unlocalize" Lazarus on Windows
Hi, The Slovak translation is very confusing for me. (I don't know to make better one, in case someone will ask :-)). How can I unlocalize Lazarus on Windows to have english messages everywhere? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Event generator
> Antonio Fortuny hat am 3. April 2013 um 11:44 > geschrieben: > > > > Le 03/04/2013 11:14, Mattias Gaertner a écrit : > > On Wed, 03 Apr 2013 11:05:45 +0200 > > Antonio Fortuny wrote: > > > >> Another strange behaviour is that lots of types are not recognized: > >> On my own units as well on Lazarus units, setting the cursor on the word > >> TPanel using the key Ctrl does not undescore the TPanel and Ctrl+Left > >> click has no effect. > >> Even my own types are not known although the unit is the uses clause and > >> the program compilation looks OK > > Everything that uses the classes unit suffers. > > Try the Ctrl key over the uses section. Can you jump to 'sysutils'? > yes, and Classes too > When I Ctrl+Left click on a TObject descendant of TObject, nothing happens > But Ctrl+Left click over a local method variable, brings the curson on > the variable definition It seems at some point I lost you. I thought the IDE can not find unit classes. Please use instead of Ctrl+Left Click, the popup menu: Click Left to position the blinking cursor, then right click 'find declaration'. This will give an error message. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Event generator
Le 03/04/2013 11:14, Mattias Gaertner a écrit : On Wed, 03 Apr 2013 11:05:45 +0200 Antonio Fortuny wrote: Another strange behaviour is that lots of types are not recognized: On my own units as well on Lazarus units, setting the cursor on the word TPanel using the key Ctrl does not undescore the TPanel and Ctrl+Left click has no effect. Even my own types are not known although the unit is the uses clause and the program compilation looks OK Everything that uses the classes unit suffers. Try the Ctrl key over the uses section. Can you jump to 'sysutils'? yes, and Classes too When I Ctrl+Left click on a TObject descendant of TObject, nothing happens But Ctrl+Left click over a local method variable, brings the curson on the variable definition Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Event generator
Le 03/04/2013 11:10, Mattias Gaertner a écrit : On Wed, 03 Apr 2013 10:36:48 +0200 Antonio Fortuny wrote: Bad news. I have unistalled and re-installed Lazarus again: lazarus-1.0.8-0.x86_64.rpm. ~/.lazarus removed Change some options of the editor to my usual requirements Recompile all needes packages. Load the project on which I'm currently working. Compile, rebuild: OK So far so good. :) Add a TButton on main (and only) form double-click on it: same error window and error message asking for TComponent in LCLClasses.pp tagged as read only (sounds reasonable as all files are root owned and "r-x" for group and others. As they should be when installing an rpm. I've done a # chown -R sita:users /usr/share/fpcsrc/ You should undo this. I'm curious. Why do thought that a "can not find unit" error can be fixed by giving write access? You are not the first doing so. Is there some misleading error message? but nothing changed You seem to have a very standard setup, except for your extra packages. What extra packages do you install? Indy 10 IBO (Firebird access and controls) daemon: for that one I've had to chown to myuser to be able to compile it !! After changing the owner, daeon did compile and install Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Event generator
Le 03/04/2013 11:10, Mattias Gaertner a écrit : FPC executable: Compiler=/usr/bin./fpc Do you mean /usr/bin/fpc? yep Options= CompilerDate=18/03/2013 00:51:19 RealCompiler=/usr/lib64/fpc/2.6.2/ppcx64 RealCompilerDate=18/03/2013 00:51:19 RealTargetOS=linux RealTargetCPU=x86_64 RealCompilerPath=/usr/lib64/fpc/2.6.2/ppcx64 Version=2.6.2 CfgFilename=/etc/fpc.cfg Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Event generator
On Wed, 03 Apr 2013 11:05:45 +0200 Antonio Fortuny wrote: > Another strange behaviour is that lots of types are not recognized: > On my own units as well on Lazarus units, setting the cursor on the word > TPanel using the key Ctrl does not undescore the TPanel and Ctrl+Left > click has no effect. > Even my own types are not known although the unit is the uses clause and > the program compilation looks OK Everything that uses the classes unit suffers. Try the Ctrl key over the uses section. Can you jump to 'sysutils'? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Event generator
On Wed, 03 Apr 2013 08:58:37 +0200 Antonio Fortuny wrote: > Le 03/04/2013 08:51, Reinier Olislagers a écrit : > > On 3-4-2013 8:38, Antonio Fortuny wrote: > >> Le 02/04/2013 18:35, Mattias Gaertner a écrit : > >>> What values do you have under "Active Target" and "FPC executable"? > >> Active target: > >> TargetOS=Linux > >> TargetCPU=x86_64 > > FPC executable? > FPC executable: > Compiler=/usr/bin./fpc Do you mean /usr/bin/fpc? > Options= > CompilerDate=18/03/2013 00:51:19 > RealCompiler=/usr/lib64/fpc/2.6.2/ppcx64 > RealCompilerDate=18/03/2013 00:51:19 > RealTargetOS=linux > RealTargetCPU=x86_64 > RealCompilerPath=/usr/lib64/fpc/2.6.2/ppcx64 > Version=2.6.2 > CfgFilename=/etc/fpc.cfg Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Event generator
On Wed, 03 Apr 2013 10:36:48 +0200 Antonio Fortuny wrote: > Bad news. > > I have unistalled and re-installed Lazarus again: > lazarus-1.0.8-0.x86_64.rpm. > ~/.lazarus removed > Change some options of the editor to my usual requirements > Recompile all needes packages. > Load the project on which I'm currently working. > Compile, rebuild: OK > So far so good. :) > Add a TButton on main (and only) form > double-click on it: same error window and error message asking for > TComponent in LCLClasses.pp tagged as read only (sounds reasonable as > all files are root owned and "r-x" for group and others. As they should be when installing an rpm. > I've done a > # chown -R sita:users /usr/share/fpcsrc/ You should undo this. I'm curious. Why do thought that a "can not find unit" error can be fixed by giving write access? You are not the first doing so. Is there some misleading error message? > but nothing changed You seem to have a very standard setup, except for your extra packages. What extra packages do you install? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Event generator
Another strange behaviour is that lots of types are not recognized: On my own units as well on Lazarus units, setting the cursor on the word TPanel using the key Ctrl does not undescore the TPanel and Ctrl+Left click has no effect. Even my own types are not known although the unit is the uses clause and the program compilation looks OK Antonio. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] New package graph - more screenshots
On Tue, 2 Apr 2013 20:30:27 -0300 luiz americo pereira camara wrote: > See previous email about package graph > > http://imagebin.org/252597 > > http://imagebin.org/252598 That's definitely a bug. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Event generator
Bad news. I have unistalled and re-installed Lazarus again: lazarus-1.0.8-0.x86_64.rpm. ~/.lazarus removed Change some options of the editor to my usual requirements Recompile all needes packages. Load the project on which I'm currently working. Compile, rebuild: OK So far so good. Add a TButton on main (and only) form double-click on it: same error window and error message asking for TComponent in LCLClasses.pp tagged as read only (sounds reasonable as all files are root owned and "r-x" for group and others. I've done a # chown -R sita:users /usr/share/fpcsrc/ but nothing changed Antonio. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] requires the package "cairocanvas_pkg"
Good day, After updated and installed from trunk lazarus, some packages are not available during the designtime which is normal. Please see below the error message: The package lazreport can not be installed, because it requires the package "cairocanvas_pkg", which is a runtime only package. The above mentioned package was later compiled but not installed because I can't see it on packages/install/uninstall menu. please what can I do to reverse this? Thanks! -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Debugging Lazarus in Lazarus - debugger error
Hi, Just tried the following: Opened \ide\lazarus.lpi and then pressed F7. The Assembler window appeared and after next F7 press, the following error appeared (copy of window text follows) Debugger Error The debugger encountered an error when trying to run/step the application: Cannot find bounds of current function Press "Ok" to continue debugging (paused), and correct the problem, or choose an alternative run command. Press "Stop" to end the debug session. Pressing OK doesn't help. I am using the latest SVN, fresh build. OS is win 7 pro 64 bit. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Event generator
Sorry Guys. I have to apologize because I guess it is my fault. After the install process I have overwritten some of the config files in ~/.lazarus by other files coming from another Linux installation which works. Unfortunately the source installation was not exactly the same as the very new one. I already used that trick with success for new installations to save Lazarus configuration time. But this time the paths, parameters, etc. were all the same. In this case some of the critical paths between the source and target Lazarus were not identical. I'll install and cofigure all and I'll keep you informed about the final situation. Thank you anyway, your questions helped me to find the error. Thans again. Antonio. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus