Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Michael Schnell
On 04/20/2011 05:14 PM, Bernd wrote: In which Unit is PostMessage() defined, and also is there some documentation about This is a windowish artifact provided for Delphi compatibility and thus not a "mainline" feature. I suppose the documentation is bet taken from the Delphi help. -Michael -

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Graeme Geldenhuys
On 21/04/2011 07:45, Hans-Peter Diettrich wrote: > > View > CodeBrowser Nope, that's pretty useless too. See attached screenshot. I tried LM_USER in all the edit fields. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ <>-

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Michael Schnell
On 04/20/2011 05:34 PM, Henry Vermaak wrote: Your synchronise test program works without any patches. OK. This is intended to be just a testing program. I of course do like to add features, but I don't want to change the LCL code when I am not really sure about the implications and I can't ex

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Graeme Geldenhuys
On 20/04/2011 17:41, Bernd wrote: > ¹) some kind of search index or list of all procedures that are > defined in any of the standad units would really be helpful. You can do this already - at least I can for the last year or so. Generate the fpdoc documentation for RTL, FCL, LCL in fpGUI INF outpu

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Hans-Peter Diettrich
Henry Vermaak schrieb: ¹) some kind of search index or list of all procedures that are defined in any of the standad units would really be helpful. Each time somebody mentions the name of a procedure or a class that would solve some problem I find myself grepping though the entirety of FPC and L

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread alex kovacic
- On 20/04/2011 11:15 PM, Marc Santhoff wrote: Am Mittwoch, den 20.04.2011, 18:08 +1000 schrieb alex: http://www.sparxsystems.com.au/ One of the best tools i have used converting java or c to pascal... How long did it take to get that one up and running and how long to be workin

Re: [Lazarus] TLazIntfImage and text

2011-04-20 Thread Felipe Monteiro de Carvalho
On Wed, Apr 20, 2011 at 10:11 PM, Leonardo M. Ramé wrote: > Hi, does anyone knows a tutorial/article/page where I can find > information about working with fonts and text with LazIntfImage?. I usually simply don't. I just build my image in 2 steps: first use LazIntfImage for doing effects which

[Lazarus] TLazIntfImage and text

2011-04-20 Thread Leonardo M . Ramé
Hi, does anyone knows a tutorial/article/page where I can find information about working with fonts and text with LazIntfImage?. Thanks in advance, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.f

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread zeljko
On Wednesday 20 of April 2011 19:52:00 Bernd wrote: > USE_GTK_MAIN_OLD_ITERATION well, that's old way of using gtk main loop iterations. if you have old gtk2 installation probably you can test with that define (but in that case PostMessage() won't work in multithreaded app). zeljko --

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Bernd
2011/4/20 Henry Vermaak : > The patch doesn't touch synchronize.  It worked o.k. for me before the > patch.  Maybe it's an fpc issue?  I use 2.5.1 (about a month old). I've done some more testing now. Maybe its my old GTK2 version, I still have Ubuntu Hardy on my laptop and the GTK2 that came wit

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

2011-04-20 Thread William Oliveira Ferreira
Ow yeah! sorry! i forgot that! William de Oliveira Ferreira Bacharel em Sistemas de Informação 2011/4/20 Sven Barth : > Am 20.04.2011 16:47, schrieb William Oliveira Ferreira: >> >> Borland/CodeGear/Embardcadero Developer Studio cames with a tab that >> stores la

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread Alexander Klenin
On Thu, Apr 21, 2011 at 03:11, Michael Van Canneyt wrote: >> Seeing as TAChart currently consists of 13 components, >> I think your assumption is not likely to be correct ;-) > > I am very glad to hear this, and in that case suggest you change the name of > the > suite to something which covers th

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread zeljko
On Wednesday 20 of April 2011 18:21:11 Henry Vermaak wrote: > On 20/04/11 17:15, Bernd wrote: > > 2011/4/20 Henry Vermaak: > >> As I've noted before, PostMessage does wake up the main thread > > > > Confirmed. It does wakeup my GUI, no need for the empty timer anymore. > > > > Now I will svn up L

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread zeljko
On Wednesday 20 of April 2011 18:05:24 Luca Olivetti wrote: > Al 20/04/2011 15:51, En/na Bernd ha escrit: > > What exactly does the TTimer do when it fires its event? The TTimer > > seems to have the power to wake up the GUI, maybe I can do the same > > manually? > > I don't know, but I've been us

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Henry Vermaak
On 20/04/11 17:15, Bernd wrote: 2011/4/20 Henry Vermaak: As I've noted before, PostMessage does wake up the main thread Confirmed. It does wakeup my GUI, no need for the empty timer anymore. Now I will svn up Lazarus after the latest patch and try my synchronize demo again. The patch doesn

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Bernd
2011/4/20 Henry Vermaak : > As I've noted before, PostMessage does wake up the main thread Confirmed. It does wakeup my GUI, no need for the empty timer anymore. Now I will svn up Lazarus after the latest patch and try my synchronize demo again. -- __

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread Michael Van Canneyt
On Thu, 21 Apr 2011, Alexander Klenin wrote: On Thu, Apr 21, 2011 at 02:45, Michael Van Canneyt wrote: Well, just about every other charting component on the market does it, for better or worse. No doubt. I do doubt I would use them. Because I can't possibly see why you would want this in

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Luca Olivetti
Al 20/04/2011 15:51, En/na Bernd ha escrit: What exactly does the TTimer do when it fires its event? The TTimer seems to have the power to wake up the GUI, maybe I can do the same manually? I don't know, but I've been using for a long time a 10ms timer that just does CheckSynchronize: under w

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread Alexander Klenin
On Thu, Apr 21, 2011 at 02:45, Michael Van Canneyt wrote: >> Well, just about every other charting component on the market does it, >> for better or worse. > > No doubt. I do doubt I would use them. > > Because I can't possibly see why you would want this in a single component. > One is for statis

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Henry Vermaak
On 20/04/11 16:41, Bernd wrote: 2011/4/20 Henry Vermaak: It's a windows thing. More info here: http://lazarus-dev.blogspot.com/2008/01/new-0926-features-part-1-sendmessage.html This mentions gtk and qt too but unfortunately not where to find it¹. I have found a PostMessage() function defin

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread zeljko
On Wednesday 20 of April 2011 17:34:44 Henry Vermaak wrote: > On 20/04/11 16:29, Michael Schnell wrote: > > On 04/20/2011 05:04 PM, Henry Vermaak wrote: > >> On 20/04/11 16:03, Michael Schnell wrote: > >>> On 04/20/2011 04:50 PM, Henry Vermaak wrote: > Hehe, we're saying the same thing, but ta

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread Michael Van Canneyt
On Thu, 21 Apr 2011, Alexander Klenin wrote: 2011/4/20 Michael Van Canneyt : Isn't drawing of diagrams a bit far-fetched for a charting component ? I mean, I can use a screw-driver as a hammer, but this is not really its purpose, and definitely not the best tool for the job ? I can see it as

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Bernd
2011/4/20 Henry Vermaak : > It's a windows thing.  More info here: > > http://lazarus-dev.blogspot.com/2008/01/new-0926-features-part-1-sendmessage.html This mentions gtk and qt too but unfortunately not where to find it¹. I have found a PostMessage() function defined by lclintf but now I'm sti

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Henry Vermaak
On 20/04/11 16:29, Michael Schnell wrote: On 04/20/2011 05:04 PM, Henry Vermaak wrote: On 20/04/11 16:03, Michael Schnell wrote: On 04/20/2011 04:50 PM, Henry Vermaak wrote: Hehe, we're saying the same thing, but talking past each other. I commented exactly this (with a patch) on the bug trac

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread zeljko
On Wednesday 20 of April 2011 17:29:24 Michael Schnell wrote: > On 04/20/2011 05:04 PM, Henry Vermaak wrote: > > On 20/04/11 16:03, Michael Schnell wrote: > >> On 04/20/2011 04:50 PM, Henry Vermaak wrote: > >>> Hehe, we're saying the same thing, but talking past each other. I > >>> commented exactl

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Michael Schnell
On 04/20/2011 05:04 PM, Henry Vermaak wrote: On 20/04/11 16:03, Michael Schnell wrote: On 04/20/2011 04:50 PM, Henry Vermaak wrote: Hehe, we're saying the same thing, but talking past each other. I commented exactly this (with a patch) on the bug tracker, it seems to work for gtk2, can you tes

Re: [Lazarus] SIGSEGV with gdb.exe

2011-04-20 Thread Kjow
2011/4/20 Martin : > I have no idea. I thought about the same, when I encountered the issue with > bitdefender [cut] Thank you all, I'll look for the best way for me. Best Regards, Kjow -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.

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

2011-04-20 Thread Sven Barth
Am 20.04.2011 16:47, schrieb William Oliveira Ferreira: Borland/CodeGear/Embardcadero Developer Studio cames with a tab that stores last saves on currentsaves. It all BDS creates a directory called __history that stores these files. Should be a good idea if lazarus do something like? With the r

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Henry Vermaak
On 20/04/11 16:14, Bernd wrote: 2011/4/20 Henry Vermaak: As I've noted before, PostMessage does wake up the main thread In which Unit is PostMessage() defined, and also is there some documentation about procedure ...; message ...; somewhere, because I can't find anything. Is this an FPC thi

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread Alexander Klenin
2011/4/20 Michael Van Canneyt : > Isn't drawing of diagrams a bit far-fetched for a charting component ? > I mean, I can use a screw-driver as a hammer, but this is not really its > purpose, and definitely not the best tool for the job ? > > I can see it as part of a larger 2-D graphics suite, of c

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Bernd
2011/4/20 Henry Vermaak : > As I've noted before, PostMessage does wake up the main thread In which Unit is PostMessage() defined, and also is there some documentation about procedure ...; message ...; somewhere, because I can't find anything. Is this an FPC thing (because of the procedure deco

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Michael Schnell
On 04/20/2011 04:31 PM, Henry Vermaak wrote: There is nothing "broken in the infrastructure" as you keep saying, or perhaps you'd like to point us to some specific code you find problematic to explain your statements? The fact that the bug report is open since several months and the testing pr

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Henry Vermaak
On 20/04/11 16:03, Michael Schnell wrote: On 04/20/2011 04:50 PM, Henry Vermaak wrote: Hehe, we're saying the same thing, but talking past each other. I commented exactly this (with a patch) on the bug tracker, it seems to work for gtk2, can you test with qt? Is this really this simple ? Wh

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Michael Schnell
On 04/20/2011 04:50 PM, Henry Vermaak wrote: Hehe, we're saying the same thing, but talking past each other. I commented exactly this (with a patch) on the bug tracker, it seems to work for gtk2, can you test with qt? Is this really this simple ? So hopefully he bug report can be closed so

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

2011-04-20 Thread Graeme Geldenhuys
On 20/04/2011 16:47, William Oliveira Ferreira wrote: > called __history that stores these files. Should be a good idea if > lazarus do something like? That's just duplication of what VCS or SCM systems already do (well the good ones at least). I can search my git repositories for a patch/commit c

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

2011-04-20 Thread zeljko
On Wednesday 20 of April 2011 16:47:40 William Oliveira Ferreira wrote: > Borland/CodeGear/Embardcadero Developer Studio cames with a tab that > stores last saves on currentsaves. It all BDS creates a directory > called __history that stores these files. Should be a good idea if > lazarus do someth

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Henry Vermaak
On 20/04/11 15:46, zeljko wrote: On Wednesday 20 of April 2011 16:31:59 Henry Vermaak wrote: On 20/04/11 15:26, Michael Schnell wrote: On 04/20/2011 04:05 PM, Henry Vermaak wrote: PostMessage does wake up the main thread (when you compile your project with -dusecthreads). And I use QueueAsyncC

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

2011-04-20 Thread William Oliveira Ferreira
Borland/CodeGear/Embardcadero Developer Studio cames with a tab that stores last saves on currentsaves. It all BDS creates a directory called __history that stores these files. Should be a good idea if lazarus do something like? William de Oliveira Ferreira Bacharel

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread zeljko
On Wednesday 20 of April 2011 16:31:59 Henry Vermaak wrote: > On 20/04/11 15:26, Michael Schnell wrote: > > On 04/20/2011 04:05 PM, Henry Vermaak wrote: > >> PostMessage does wake up the main thread (when you compile your > >> project with -dusecthreads). And I use QueueAsyncCall with a manual > >>

Re: [Lazarus] GetProcAddress weird problem

2011-04-20 Thread Leonardo M . Ramé
On 2011-04-20 16:26:59 +0200, zeljko wrote: > On Wednesday 20 of April 2011 16:20:52 Leonardo M. Ramé wrote: > > Hi, I'm facing a weird issue with GetProcAddress in a Lazarus program > > > > I have a method that calls GetProcAddress to get a pointer to a function > > in a shared library. The metho

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Henry Vermaak
On 20/04/11 15:26, Michael Schnell wrote: On 04/20/2011 04:05 PM, Henry Vermaak wrote: PostMessage does wake up the main thread (when you compile your project with -dusecthreads). And I use QueueAsyncCall with a manual wakeup, which works well for me on win32 and gtk2. I use svn head, by the way

Re: [Lazarus] GetProcAddress weird problem

2011-04-20 Thread zeljko
On Wednesday 20 of April 2011 16:20:52 Leonardo M. Ramé wrote: > Hi, I'm facing a weird issue with GetProcAddress in a Lazarus program > > I have a method that calls GetProcAddress to get a pointer to a function > in a shared library. The method can be called many times without > problem. > > If

Re: [Lazarus] Menu caption standards

2011-04-20 Thread Juha (gmail)
Flávio Etrusco kirjoitti tiistai, 19. huhtikuuta 2011 23:42:31: > Thanks a lot for all answers. Sorry for the noise, I stand corrected :-) It is not noise, those are valid comments. It seems the convention varies from program to program. For example the KDE programs I am looking have File -> Ope

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Michael Schnell
On 04/20/2011 04:05 PM, Henry Vermaak wrote: PostMessage does wake up the main thread (when you compile your project with -dusecthreads). And I use QueueAsyncCall with a manual wakeup, which works well for me on win32 and gtk2. I use svn head, by the way. You are not _supposed_ to do that.

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Michael Schnell
On 04/20/2011 03:51 PM, Bernd wrote: Are there any other ways under GTK2 (or xorg?) to send a message to a window that simulates user interaction? Something is broken in the infra-structure of the Event queuing mechanism with GTK2 and this can hit in multiple issues. As long as TApplication.Qu

[Lazarus] GetProcAddress weird problem

2011-04-20 Thread Leonardo M . Ramé
Hi, I'm facing a weird issue with GetProcAddress in a Lazarus program I have a method that calls GetProcAddress to get a pointer to a function in a shared library. The method can be called many times without problem. If I try to create another method, with exactly the same content of the former,

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Henry Vermaak
On 20/04/11 14:51, Bernd wrote: 2011/4/20 Michael Schnell: Running my testing program with the GTK "Widget Type", with the newest svn version, TThread.Synchronize in fact seems to work I have now updated to SVN rev. 30401 and the attached demo shows the error. Synchronize does not work. The d

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread zeljko
On Wednesday 20 of April 2011 16:05:47 Henry Vermaak wrote: > On 20/04/11 14:51, Bernd wrote: > > Are there any other ways under GTK2 (or xorg?) to send a message to a > > window that simulates user interaction? I need to find some kind of > > workaround to wake up the GUI. > > As I've noted befor

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread zeljko
On Wednesday 20 of April 2011 15:53:30 Bernd wrote: > 2011/4/20 Bernd : > > the attached demo > > Sorry, forgot to attach it. its less than 2kb, so I think its ok to > attach it here Lazarus 0.9.31 r30393M FPC 2.4.3 i386-linux-qt, but both (qt and gtk2) works fine with this demo (edit.Text is up

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Henry Vermaak
On 20/04/11 14:51, Bernd wrote: Are there any other ways under GTK2 (or xorg?) to send a message to a window that simulates user interaction? I need to find some kind of workaround to wake up the GUI. As I've noted before, PostMessage does wake up the main thread (when you compile your project

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Bernd
2011/4/20 Bernd : > the attached demo Sorry, forgot to attach it. its less than 2kb, so I think its ok to attach it here Synchronize_wont_work.tar.bz2 Description: BZip2 compressed data -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org h

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Bernd
2011/4/20 Michael Schnell : > Running my testing program with the GTK "Widget Type", with the newest svn > version, TThread.Synchronize in fact seems to work I have now updated to SVN rev. 30401 and the attached demo shows the error. Synchronize does not work. The demo contains nothing but an edi

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread Marc Santhoff
Am Mittwoch, den 20.04.2011, 18:08 +1000 schrieb alex: > http://www.sparxsystems.com.au/ > One of the best tools i have used converting java or c to pascal... How long did it take to get that one up and running and how long to be working productively using it? -- Marc Santhoff --

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread Marc Santhoff
Am Mittwoch, den 20.04.2011, 10:05 +0300 schrieb Juha (gmail): > Marc Santhoff kirjoitti tiistai, 19. huhtikuuta 2011 00:30:30: > > 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. > > Is

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread Graeme Geldenhuys
On 20/04/2011 14:57, Marc Santhoff wrote: >> I can see it as part of a larger 2-D graphics suite, of course. I agree with Michael... those screenshots from Alexander has nothing to do with general charting and graphs. I cannot see a use for such functionality. > There is at least aggpas, althoug

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread Marc Santhoff
Am Mittwoch, den 20.04.2011, 14:09 +0200 schrieb Michael Van Canneyt: > > On Wed, 20 Apr 2011, Alexander Klenin wrote: > > > On Wed, Apr 20, 2011 at 21:56, wrote: > >>> Our class design is way to large to fit on any paper our printers can > >>> handle, or what can even be displayed on a single

Re: [Lazarus] recompile the LCL

2011-04-20 Thread Juha (gmail)
Bernd kirjoitti keskiviikko, 20. huhtikuuta 2011 14:52:27: > There is now a dropdown with "Profiles" (whatever that may mean) > and it contains LCL but when I hit the build button then nothing happens > at all, not even an error message. Remove the local config file: miscellaneousoptions.xml The

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread Michael Van Canneyt
On Wed, 20 Apr 2011, Alexander Klenin wrote: On Wed, Apr 20, 2011 at 21:56, wrote: Our class design is way to large to fit on any paper our printers can handle, or what can even be displayed on a single screen. So we have to segment our UML class diagrams to specific areas of our product -

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Michael Schnell
On 04/20/2011 12:55 PM, Bernd wrote: But it does not seem to help :-( It does not, as it is not fixed. Running my testing program with the GTK "Widget Type", with the newest svn version, TThread.Synchronize in fact seems to work, but Application.QueuAsyncCall shows the behavior you mentioned.

Re: [Lazarus] recompile the LCL

2011-04-20 Thread zeljko
On Wednesday 20 of April 2011 13:52:27 Bernd wrote: > Quick question: How does one recompile the LCL nowadays (without > recompiling the entire IDE)? It used to be an option in the Build > Lazarus dialog but this dialog has changed a lot lately and the only 2 > options left are "IDE" and "Examples

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread Alexander Klenin
On Wed, Apr 20, 2011 at 21:56, wrote: >> Our class design is way to large to fit on any paper our printers can >> handle, or what can even be displayed on a single screen. So we have to >> segment our UML class diagrams to specific areas of our product - only >> showing the classes in question. e

[Lazarus] recompile the LCL

2011-04-20 Thread Bernd
Quick question: How does one recompile the LCL nowadays (without recompiling the entire IDE)? It used to be an option in the Build Lazarus dialog but this dialog has changed a lot lately and the only 2 options left are "IDE" and "Examples". Did I mess up my config somehow or is there a different m

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Bernd
2011/4/20 Henry Vermaak : > Hmm, that's strange.  This works for me. I will try to make a minimal example. Either this will work and I have a chance to find what is different or I will post it somewhere. -- ___ Lazarus mailing list Lazarus@lists.lazarus

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread Michael Van Canneyt
On Wed, 20 Apr 2011, Graeme Geldenhuys wrote: On 20/04/2011 12:56, dhkblas...@zeelandnet.nl wrote: All this possible with fpclasschart. I added a graphviz backend to it a couple of months ago. Graphviz will do the automatic layout. Is fpclasschart usage documented somewhere? I tried to

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Henry Vermaak
On 20/04/11 11:55, Bernd wrote: 2011/4/20 Henry Vermaak: See here for a related issue: http://bugs.freepascal.org/view.php?id=13120 You'll have to wake up the main thread after the frame (which is what your timer is doing). For gtk you can use g_main_context_wakeup(g_main_context_default), f

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread Graeme Geldenhuys
On 20/04/2011 12:56, dhkblas...@zeelandnet.nl wrote: > > All this possible with fpclasschart. I added a graphviz backend to it a > couple of months ago. Graphviz will do the automatic layout. Is fpclasschart usage documented somewhere? I tried to use it yesterday, just by looking at the -h h

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread dhkblaszyk
Our class design is way to large to fit on any paper our printers can handle, or what can even be displayed on a single screen. So we have to segment our UML class diagrams to specific areas of our product - only showing the classes in question. eg: Account Invoicing, Learner Registration, etc.

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Bernd
2011/4/20 Henry Vermaak : > See here for a related issue: > > http://bugs.freepascal.org/view.php?id=13120 > > You'll have to wake up the main thread after the frame (which is what your > timer is doing).  For gtk you can use > g_main_context_wakeup(g_main_context_default), for qt there is > QEven

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread Graeme Geldenhuys
On 20/04/2011 11:59, Juha (gmail) wrote: > > Sorry I don't. I remember someone mentioned it during the ESS-Model port > discussion but I didn't find it in the original thread: No problem, I'll search the documentation on Embarcadero's site. > I screwed my code badly and then didn't want to to

[Lazarus] Application.ShowHint requests

2011-04-20 Thread Alexander Klenin
Since r30397, TAChart has TDataPointHintTool that displays a hint about chart points on mouseover. While implementing it, I encountered a few problems: 1) Hint is only displayed if no control key is pressed (see GetHintInfoAt function), so Shift property of TDataPointHintTool does not work. 2) To

Re: [Lazarus] SIGSEGV with gdb.exe

2011-04-20 Thread Martin
On 20/04/2011 09:20, Kjow wrote: from the log you suggested me: " *stopped,reason="signal-received",signal-name="SIGSEGV",signal-meaning="Segmentation fault",frame={addr="0x1000b481",func="CMGxSrv!?removeCOMHook@@YAHXZ",args=[],from="C:\\Windows\\SysWOW64\\HsSrv.dll"},thread-id="1",stopped-threa

Re: [Lazarus] SIGSEGV with gdb.exe

2011-04-20 Thread Marc Weustink
Kjow wrote: 2011/4/19 Martin: Open the "Menu / View / Debug Windows / Debug output" window (before running your app), then start it, and copy, zip, and send the content. Sometimes it gives a clue, sometimes not... Well, I found the problem: from the log you suggested me: " *stopped,reason="si

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread Juha (gmail)
Graeme Geldenhuys kirjoitti keskiviikko, 20. huhtikuuta 2011 10:55:54: > > In fact it doesn't work with new Delphis either because of Delphi's > > changes in interface delegation. > > Have you got any link to this information. I would like to know more on > what has changed. I've been out of the D

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread dhkblaszyk
On Wed, 20 Apr 2011 11:26:30 +0200, Bernd wrote: Hi, I am sure I have read some discussion about this already but I cannot find it anymore, so I will ask here, I don't know whether it is a bug or intentional and I am only using it wrongly. The following is what I have and what I am trying to

Re: [Lazarus] FPVectorial and TAChart

2011-04-20 Thread Felipe Monteiro de Carvalho
On Wed, Apr 20, 2011 at 11:30 AM, Alexander Klenin wrote: > No idea if I want an entity, but I do need a brush :) I'll add a Polygon entity, which should be a closed polyline with brush. > I need to draw a rectangle surrounding given text string. Ummm ... some research is necessary to verify ho

Re: [Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Henry Vermaak
On 20/04/11 10:26, Bernd wrote: Hi, I am sure I have read some discussion about this already but I cannot find it anymore, so I will ask here, I don't know whether it is a bug or intentional and I am only using it wrongly. The following is what I have and what I am trying to do: * Linux (KDE3.5

[Lazarus] Message Loop paused when no interaction with mouse?

2011-04-20 Thread Bernd
Hi, I am sure I have read some discussion about this already but I cannot find it anymore, so I will ask here, I don't know whether it is a bug or intentional and I am only using it wrongly. The following is what I have and what I am trying to do: * Linux (KDE3.5, windowmanager is kwin) Lazarus i

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread Sven Barth
Am 20.04.2011 09:55, schrieb Graeme Geldenhuys: On 20/04/2011 08:58, Juha (gmail) wrote: All drawing objects are TWinControls. It uses some tricks to access protected methods of those TWinControls. Helper Classes or more interface usage should help there. Helper classes are supported in tr

Re: [Lazarus] FPVectorial and TAChart

2011-04-20 Thread Felipe Monteiro de Carvalho
On Wed, Apr 20, 2011 at 7:15 AM, Alexander Klenin wrote: > 1) How to draw a rectangle? > 3) How to draw a polygon? var ADoc: TvVectorialDocument; begin ADoc.StartPath(0, 0); ADoc.AddLineToPath(100, 0); ADoc.AddLineToPath(100, 100); ADoc.AddLineToPath(0, 100); ADoc.AddLineToPath(0, 0);

Re: [Lazarus] SIGSEGV with gdb.exe

2011-04-20 Thread Kjow
2011/4/19 Martin : > Open the "Menu / View / Debug Windows / Debug output" window (before running > your app), then start it, and copy, zip, and send the content. Sometimes it > gives a clue, sometimes not... Well, I found the problem: from the log you suggested me: " *stopped,reason="signal-rece

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread alex
On 4/20/2011 5:05 PM, Juha (gmail) wrote: Marc Santhoff kirjoitti tiistai, 19. huhtikuuta 2011 00:30:30: 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. Is there any tool for any language that

Re: [Lazarus] Yet another wiki attack

2011-04-20 Thread Mattias Gaertner
On Tue, 19 Apr 2011 11:30:53 +0100 Frank Church wrote: > 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

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread Graeme Geldenhuys
On 20/04/2011 08:58, Juha (gmail) wrote: > > Don't waste your time with ESS-Model. I never liked it much myself, I just thought I would mention the product to the original poster. > It uses a complex delegated interface system to pass events. It is not fully > supported by FPC. That's one par

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread Juha (gmail)
Marc Santhoff kirjoitti tiistai, 19. huhtikuuta 2011 00:30:30: > 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. Is there any tool for any language that can reverse engineer sequence diagrams