Re: [Lazarus] TAChart possible Bug: Series with UserDefinedChart Source not are redrawing properly

2011-04-19 Thread Alexander Klenin
2011/4/19 Miguel A. Risco mris...@gmail.com: Hi All, I found a possible Bug in TAChart component. Lazarus v0.9.30.1  SVN:3056 on Windows 7 x64 Create a Project with a TChart and TButton controls, add a TLineseries and TUserDefinedChartSource with some points, select the last one as source for

Re: [Lazarus] screen.cursor := crHourglass and Linux

2011-04-19 Thread Graeme Geldenhuys
On 18/04/2011 20:21, DSK wrote: To use it, add the unit to the implementation uses clause and then just call DisplayHourglass before any long process. It'll switch back to whatever the cursor was then the method terminates. Unless you store a reference of the result of the DisplayCursor()

Re: [Lazarus] reverse engineering tool wanted

2011-04-19 Thread Graeme Geldenhuys
On 18/04/2011 23:30, Marc Santhoff wrote: I'm searching a reverse engineering tool that can handle lazarus' code. The main goal is to generate class diagrams and sequence diagrams from source. I'm not sure if ModelMaker can do the reverse engineering, but generating code and maintaining code

Re: [Lazarus] Menu caption standards

2011-04-19 Thread Graeme Geldenhuys
On 19/04/2011 01:08, Flávio Etrusco wrote: so it should be used for any menu that invokes a dialog, no matter it's modal or not. That's not the case in Mozilla Thunderbird. Only modal dialogs have the ellipsis in the menu item. Examples: * 'Tools Preferences' does not. * 'File New

Re: [Lazarus] screen.cursor := crHourglass and Linux

2011-04-19 Thread Vincent Snijders
2011/4/19 Graeme Geldenhuys graemeg.li...@gmail.com: Unless you store a reference of the result of the DisplayCursor() call, it will not work under FPC (like it does under Delphi).  FPC is *not* compatible with the way Delphi works in this regard. The FPC developers are also not willing to fix

Re: [Lazarus] TAChart possible Bug: Series with UserDefinedChart Source not are redrawing properly

2011-04-19 Thread Miguel A. Risco
Hi Alexander, your Project is ok, but if your put a tbutton and fill the array on the Onclick event and not in the constructor of the form then the series is not drawing after the zoom on the second point. If I comment the line if not RectIntersectsRect(ext, ParentChart.CurrentExtent) then

Re: [Lazarus] screen.cursor := crHourglass and Linux

2011-04-19 Thread Graeme Geldenhuys
On 19/04/2011 08:44, Vincent Snijders wrote: I thought it was freed just like Delphi (so no resource leak), but not at the same time (which is undocumented) as Delphi. That's exactly the issue I am referring too. Under Delphi the temporary interface reference gets freed only when the

Re: [Lazarus] Menu caption standards

2011-04-19 Thread Juha (gmail)
Graeme Geldenhuys kirjoitti tiistai, 19. huhtikuuta 2011 09:35:01: On 19/04/2011 01:08, Flávio Etrusco wrote: so it should be used for any menu that invokes a dialog, no matter it's modal or not. That's not the case in Mozilla Thunderbird. Only modal dialogs have the ellipsis in the menu

Re: [Lazarus] TAChart possible Bug: Series with UserDefinedChart Source not are redrawing properly

2011-04-19 Thread Miguel A. Risco
Calling ds.Reset make the fix. I also think that Reset could be called by EndUpdate. Thank you Miguel -Mensaje original- De: Alexander Klenin [mailto:kle...@gmail.com] Enviado el: martes, 19 de abril de 2011 02:04 a.m. Para: Lazarus mailing list Asunto: Re: [Lazarus] TAChart possible

Re: [Lazarus] Menu caption standards

2011-04-19 Thread Paul Ishenin
19.04.2011 15:06, Juha (gmail) wrote: User interfaces are difficult to design because there is no single right solution, it is always a matter of opinion. Look at windows (xp/vista) and osx design guidlines. Best regards, Paul Ishenin -- ___

Re: [Lazarus] Menu caption standards

2011-04-19 Thread Mark Morgan Lloyd
Flávio Etrusco wrote: Hello, I noticed some changes to menus' captions and I disagree with them. AFAIK the standard for menu captions is to have '...' (ellipsis) to indicate the menu doesn't have direct action, so it should be used for any menu that invokes a dialog, no matter it's modal or

Re: [Lazarus] TAChart possible Bug: Series with UserDefinedChart Source not are redrawing properly

2011-04-19 Thread Alexander Klenin
On Tue, Apr 19, 2011 at 18:15, Miguel A. Risco mris...@gmail.com wrote: Calling ds.Reset make the fix. I also think that Reset could be called by EndUpdate. Done in r30379 -- Alexander S. Klenin -- ___ Lazarus mailing list

[Lazarus] to the BGRABitmap maintainer...

2011-04-19 Thread Graeme Geldenhuys
Hi, I have been taking a quick look at the BGRABitmap package and looked through a few of the tutorials posted on the FPC Wiki. The library seems quite impressive - nice work. I have found a rather gaping API flaw though, regarding these two methods: function BGRA(red, green, blue, alpha:

[Lazarus] Yet another wiki attack

2011-04-19 Thread Graeme Geldenhuys
http://wiki.freepascal.org/Lazarus_IDE_Tools The above URL has no text regarding the Lazarus IDE Tools feature. Instead it has some spam. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ --

Re: [Lazarus] Yet another wiki attack

2011-04-19 Thread Paul Ishenin
19.04.2011 16:50, Graeme Geldenhuys пишет: http://wiki.freepascal.org/Lazarus_IDE_Tools The above URL has no text regarding the Lazarus IDE Tools feature. Instead it has some spam. Thanks, I reverted those pages and blocked spammers. Best regards, Paul Ishenin --

Re: [Lazarus] Menu caption standards

2011-04-19 Thread José Mejuto
Hello Lazarus-List, Tuesday, April 19, 2011, 8:35:01 AM, you wrote: GG That's not the case in Mozilla Thunderbird. Only modal dialogs have the GG ellipsis in the menu item. Examples: GG * 'Tools Preferences' does not. GG * 'File New Message' does not. GG * 'File Print' does because it

Re: [Lazarus] to the BGRABitmap maintainer...

2011-04-19 Thread Aleksa Todorovic
On Tue, Apr 19, 2011 at 10:47, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Hi, I have been taking a quick look at the BGRABitmap package and looked through a few of the tutorials posted on the FPC Wiki. The library seems quite impressive - nice work. I have found a rather gaping API

[Lazarus] ExecuteProcess - do not wait for process on Linux

2011-04-19 Thread Roland Turcan
Hello Lazarus mailing list! How can I execute process/start external application similar to myapp where I don't want to wait until process ends. Thanks. -- Best regards, TRoland http://www.rotursoft.sk http://exekutor.rotursoft.sk -- ___ Lazarus

Re: [Lazarus] Yet another wiki attack

2011-04-19 Thread Hans-Peter Diettrich
Paul Ishenin schrieb: http://wiki.freepascal.org/Lazarus_IDE_Tools The above URL has no text regarding the Lazarus IDE Tools feature. Instead it has some spam. Thanks, I reverted those pages and blocked spammers. Thanks2 :-) Shouldn't this page be titled Code Tools? DoDi --

Re: [Lazarus] reverse engineering tool wanted

2011-04-19 Thread Hans-Peter Diettrich
Marc Santhoff schrieb: I'm searching a reverse engineering tool that can handle lazarus' code. The main goal is to generate class diagrams and sequence diagrams from source. See FPC utils/fpdoc, e.g. makeskel is quite nice. DoDi -- ___ Lazarus

[Lazarus] What are ppas.bat and link.res?

2011-04-19 Thread Frank Church
what are ppas.bat and link.res? From examining the code it appears that ppas.bat contains code to link the executable and the link.res resource files. I just want to know it if is safe to add them to my .gitignore file. -- Frank Church ===

Re: [Lazarus] to the BGRABitmap maintainer...

2011-04-19 Thread Graeme Geldenhuys
On 19/04/2011 11:34, Aleksa Todorovic wrote: red-green-blue is standard order of RGB components, so changing it to blue-green-red wouldn't be very wise. Maybe changing function names to something more suitable is better? That is exactly the point I'm trying to make. Everybody knows the

[Lazarus] CodeTools facility for documenting source code?

2011-04-19 Thread Frank Church
Is there a codetools facility that can help you annotate changes to your functions, and also help you create some kind of documentation block whenever you create a new function or procedure? eg when I want to commit changes to SCM I would like a tool that can list all procedures which have

Re: [Lazarus] to the BGRABitmap maintainer...

2011-04-19 Thread Felipe Monteiro de Carvalho
It would be good if the author puts his name in the wiki page about this library: http://wiki.lazarus.freepascal.org/BGRABitmap It would also be good if the sources are put in subversion in a normal way, instead of putting zip files in subversion with the sources. -- Felipe Monteiro de Carvalho

Re: [Lazarus] to the BGRABitmap maintainer...

2011-04-19 Thread Felipe Monteiro de Carvalho
On Tue, Apr 19, 2011 at 1:04 PM, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: It would also be good if the sources are put in subversion in a normal way, instead of putting zip files in subversion with the sources. Ok, ignore that =D I was looking at the wrong place ...

Re: [Lazarus] CodeTools facility for documenting source code?

2011-04-19 Thread Mattias Gaertner
    Frank Church vfcli...@gmail.com hat am 19. April 2011 um 12:51 geschrieben: Is there a codetools facility that can help you annotate changes to your functions, and also help you create some kind of documentation block whenever you create a new function or procedure? eg when I

[Lazarus] Missing FPG.CFG on Windows Installer from Snapshot

2011-04-19 Thread Daniel Simoes de Ameida
Hello, Recently I downloded the file Lazarus-0.9.31-30355-fpc-2.5.1-20110418-win32.exe from snapshotFTP Server ftp://ftp.freepascal.org/pub/lazarus/snapshots/;, and noticed that the file fpc.cfg is not included along with the binaries of the FPC, which causes an error in the first execution of

Re: [Lazarus] CodeTools facility for documenting source code?

2011-04-19 Thread Frank Church
2011/4/19 Mattias Gaertner nc-gaert...@netcologne.de Frank Church vfcli...@gmail.com hat am 19. April 2011 um 12:51 geschrieben: Is there a codetools facility that can help you annotate changes to your functions, and also help you create some kind of documentation block whenever you

Re: [Lazarus] CodeTools facility for documenting source code?

2011-04-19 Thread Michael Van Canneyt
On Tue, 19 Apr 2011, Frank Church wrote: 2011/4/19 Mattias Gaertner nc-gaert...@netcologne.de     Frank Church vfcli...@gmail.com hat am 19. April 2011 um 12:51 geschrieben: Is there a codetools facility that can help you annotate changes to your

Re: [Lazarus] CodeTools facility for documenting source code?

2011-04-19 Thread Martin
On 19/04/2011 13:50, Frank Church wrote: I am looking for something manually triggered that can check what procedures have been modified, or added, then I can jump to them one by one and note down my changes. I don't need something that is necessarily hooked into my VCS, but something that

[Lazarus] Converting C++ Uint8 to Red,Green,Blue

2011-04-19 Thread Leonardo M . Ramé
Hi, I'm working with a library that let me get a pointer to an UInt8 array containing the pixels of an image. To show the image on screen, using Lazarus, I must know the Red,Green,Blue and Alpha values of each pixel (am I right?), how can I convert each byte of the UInt8 array to RGBA? Thanks in

Re: [Lazarus] Converting C++ Uint8 to Red,Green,Blue

2011-04-19 Thread Leonardo M . Ramé
On 2011-04-19 10:39:59 -0300, Leonardo M. Ramé wrote: Hi, I'm working with a library that let me get a pointer to an UInt8 array containing the pixels of an image. To show the image on screen, using Lazarus, I must know the Red,Green,Blue and Alpha values of each pixel (am I right?), how can

[Lazarus] SIGSEGV with gdb.exe

2011-04-19 Thread Kjow
Hi all, I have a problem with debugger, I don't know if it is a my specific issue, but simply opening Lazarus and hitting F9 to compile and run an empty project, I get a External: SIGSEGV error. But only if I have gdb.exe as debugger. If I remove it from options, the project works. Anyway... I

Re: [Lazarus] ExecuteProcess - do not wait for process on Linux

2011-04-19 Thread leledumbo
For this, you should use TProcess without poWaitOnExit option. ExecuteProcess would block, always. -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-ExecuteProcess-do-not-wait-for-process-on-Linux-tp2838202p2839464.html Sent from the Free Pascal - Lazarus

[Lazarus] To all users of TBarChart

2011-04-19 Thread zeljko
Hi all, 1. As of Lazarus svn r 30386 unit Chart is renamed to BarChart. 2. BarChart unit will be marked as deprecated soon and removed from lcl package. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

[Lazarus] TTimer on design time

2011-04-19 Thread fluisgira...@gmail.com
I'm doing some some controls that uses TTimer. I don't know why, but from some time ago, TTimer don't fire the OnTimer procedure. I see in their source and is wrote: procedure TCustomTimer.UpdateTimer; begin KillTimer; if (FEnabled) and (FInterval 0) and

Re: [Lazarus] SIGSEGV with gdb.exe

2011-04-19 Thread Martin
On 19/04/2011 18:13, Kjow wrote: ut only if I have gdb.exe as debugger. If I remove it from options, the project This may be caused by your anti-virus solution, firewall, or certain drivers. BitDefender is known to cause this. Comodo firewall is known to cause this. I suspect there may be

Re: [Lazarus] SIGSEGV with gdb.exe

2011-04-19 Thread Kjow
2011/4/19 Martin laza...@mfriebe.de: This may be caused by your anti-virus solution, firewall, or certain drivers. BitDefender is known to cause this. Comodo firewall is known to cause this. I suspect there may be printer drivers that cause this too, but I am not sure. With some anti

Re: [Lazarus] SIGSEGV with gdb.exe

2011-04-19 Thread José Mejuto
Hello Lazarus-List, Tuesday, April 19, 2011, 7:51:35 PM, you wrote: K I had no problems until last Friday (15/04/11) and now, also K deactivating my Avira Antivir the problem persist. K As printer I have an Epson PX720WD, but that never caused errors to K gdb until today. Deactivating Avira is

Re: [Lazarus] SIGSEGV with gdb.exe

2011-04-19 Thread Kjow
2011/4/19 José Mejuto joshy...@gmail.com: Deactivating Avira is not enougth. I had the same problem a few months ago, so uninstalled Avira and reinstalled it a few days later. Now everything is running fine. -- Best regards,  José Thanks you, I will try to re-install it. Best Regards,

Re: [Lazarus] TTimer on design time

2011-04-19 Thread Vincent Snijders
2011/4/19 fluisgira...@gmail.com fluisgira...@gmail.com: I'm doing some some controls that uses TTimer. I don't know why, but from some time ago, TTimer don't fire the OnTimer procedure. I see in their source and is wrote: procedure TCustomTimer.UpdateTimer; begin   KillTimer;   if

Re: [Lazarus] screen.cursor := crHourglass and Linux

2011-04-19 Thread DSK
On Tue, 19 Apr 2011 08:25:49 +0200, Graeme Geldenhuys wrote: NOTE: The issue is only if you call DisplayCursor() without storing the result in a local variable. Good lord. That's a very interesting gotcha. I'm very appreciative that you've caught this. It seemed to work fine in the trivial

Re: [Lazarus] screen.cursor := crHourglass and Linux

2011-04-19 Thread DSK
On Tue, 19 Apr 2011 08:55:00 +0200, Graeme Geldenhuys wrote: FPC I believe frees the temporary interface reference immediately (or something undefined - I can't remember). This is exactly what I see happening in the testing I've just done. Plop a; Application.ProcessMessages; in Destroy

Re: [Lazarus] screen.cursor := crHourglass and Linux

2011-04-19 Thread DSK
On Tue, 19 Apr 2011 08:25:49 +0200, Graeme Geldenhuys wrote: The issue is only if you call DisplayCursor() Actually, just for the record, it is the same for DisplayHourglass as well. -- Dave -- ___ Lazarus mailing list

Re: [Lazarus] Missing FPG.CFG on Windows Installer from Snapshot

2011-04-19 Thread Vincent Snijders
2011/4/19 Daniel Simoes de Ameida dopidan...@yahoo.com.br: Hello, Recently I downloded the file Lazarus-0.9.31-30355-fpc-2.5.1-20110418-win32.exe from snapshot FTP Server ftp://ftp.freepascal.org/pub/lazarus/snapshots/;, and noticed that the file fpc.cfg is not included along with the

Re: [Lazarus] SIGSEGV with gdb.exe

2011-04-19 Thread Martin
On 19/04/2011 18:51, Kjow wrote: Thank you for quick reply, I had no problems until last Friday (15/04/11) and now, also deactivating my Avira Antivir the problem persist. As printer I have an Epson PX720WD, but that never caused errors to gdb until today. Damn... :( Open the Menu / View /

Re: [Lazarus] Menu caption standards

2011-04-19 Thread Flávio Etrusco
On Tue, Apr 19, 2011 at 6:29 AM, José Mejuto joshy...@gmail.com wrote: Hello Lazarus-List, Tuesday, April 19, 2011, 8:35:01 AM, you wrote: GG That's not the case in Mozilla Thunderbird. Only modal dialogs have the GG ellipsis in the menu item. Examples: GG  *  'Tools Preferences' does not.

Re: [Lazarus] screen.cursor := crHourglass and Linux

2011-04-19 Thread Graeme Geldenhuys
On 19 April 2011 20:45, DSK *** wrote: Good lord.  That's a very interesting gotcha. I'm very appreciative that you've caught this. I caught it by trying to create an alternative debugger to gdb, but using the same trick as the cursor cursor code shown here. Unfortunately the FPC

Re: [Lazarus] CodeTools facility for documenting source code?

2011-04-19 Thread Hans-Peter Diettrich
Martin schrieb: It would not show you a diff, of what was changed, but that can be found via svn and co (Maybe another field, indicating which revision a file had, at the time of documenting Git comes with a nice listing of a file's history, which ranges of lines have been changed, by

Re: [Lazarus] reverse engineering tool wanted

2011-04-19 Thread Marc Santhoff
Hi, thanks for the hints, I'll see what I can make out of it. Marc -- Marc Santhoff m.santh...@web.de -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] FPVectorial and TAChart

2011-04-19 Thread Alexander Klenin
I have tried to use FPVectorial as TAChart back-end. So far, without success. I have a few questions/feature fequests, sorted approximately by decreasing importance: 1) How to draw a rectangle? 2) How to measure a text? 3) How to draw a polygon? 4) How to make FPVectorial output anything? It