Re: [Lazarus] reverse engineering tool wanted

2011-04-19 Thread Juha (gmail)
Graeme Geldenhuys kirjoitti tiistai, 19. huhtikuuta 2011 09:30:57: > Also there is ESS-Model: http://essmodel.sourceforge.net/ Don't waste your time with ESS-Model. I tried to convert it, partly as a Delphi conversion exercise. I never got it near working. It uses a complex delegated interface s

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

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 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

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 wh

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 impleme

Re: [Lazarus] Menu caption standards

2011-04-19 Thread Flávio Etrusco
On Tue, Apr 19, 2011 at 6:29 AM, José Mejuto 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. > GG>  

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 / D

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

2011-04-19 Thread Vincent Snijders
2011/4/19 Daniel Simoes de Ameida : > 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 binaries > of the

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 Lazarus@lists.lazarus.freep

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 ri

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 tri

Re: [Lazarus] TTimer on design time

2011-04-19 Thread Vincent Snijders
2011/4/19 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 (FInter

Re: [Lazarus] SIGSEGV with gdb.exe

2011-04-19 Thread Kjow
2011/4/19 José Mejuto : > 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, Kjow -- _

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

Re: [Lazarus] SIGSEGV with gdb.exe

2011-04-19 Thread Kjow
2011/4/19 Martin : > 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 virus it is po

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 pr

[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 (([CSDESIGNING,csLoading,csDestroy

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

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 ma

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

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

2011-04-19 Thread Felipe Monteiro de Carvalho
It depends on the pixel format which the image uses. After you read them you can get a TColor with: function RGBToColor(R, G, B: Byte): TColor; from unit Graphics Note that TColor doesn't support Alpha -- Felipe Monteiro de Carvalho -- ___ Lazarus m

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

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     Frank Church 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 so

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

2011-04-19 Thread Frank Church
2011/4/19 Mattias Gaertner > > > > > Frank Church 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 procedur

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

2011-04-19 Thread Felipe Monteiro de Carvalho
2011/4/19 Frank Church : > I just want to know it if is safe to add them to my .gitignore file. Correct, they should not be added to version control. -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http:

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

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

2011-04-19 Thread Mattias Gaertner
    Frank Church 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 want to commit

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 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 ... -- Felipe Monteiro de Carvalho

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

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

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

Re: [Lazarus] Yet another wiki attack

2011-04-19 Thread Frank Church
On 19 April 2011 11:45, Hans-Peter Diettrich wrote: > 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 spamm

[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 === http://devblog.brahmancreations.c

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 mai

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

[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] to the BGRABitmap maintainer...

2011-04-19 Thread Aleksa Todorovic
On Tue, Apr 19, 2011 at 10:47, Graeme Geldenhuys 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 flaw though, regard

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 bec

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

[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/ -- ___

[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: byte):

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 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@lists.lazarus.freepascal.org http

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 n

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 -- ___ Lazaru

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 Bu

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 th

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 17:46, Miguel A. Risco wrote: > 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