Re: [Lazarus] IDE dialogs mouse wheel scrolling incrments too small

2009-01-26 Thread Graeme Geldenhuys
On Mon, Jan 26, 2009 at 4:58 AM, Lee Jenkins l...@datatrakpos.com wrote: Ooooh. That does sound sexy. I assume by your comments that we can expect fpGUI to support that kind of thing? ;) Yup, already working on it. :-) Regards, - Graeme - ___

Re: [Lazarus] Free Open Source Diagram Components for Lazarus?

2009-01-26 Thread Thierry Coq
Hello Flàvio, I would hope to have rather a Lazarus-compatible license such as LGPL or Mozilla. Pure GPL for a component is, in my case, somewhat of an issue. I would happily give the work to improve the drawing component, but not necessarily the science that the component represents. Thanks

Re: [Lazarus] Free Open Source Diagram Components for Lazarus?

2009-01-26 Thread M.Ali VARDAR
Hi, I wrote circle, rectangle and decision symbols, all three components are so premature. I was start last year but i'm busy with another projects. If anybody want to develop i can upload on to a web site. Best Regads, M.Ali VARDAR On Mon, Jan 26, 2009 at 10:43 AM, Thierry Coq t...@free.fr

Re: [Lazarus] Free Open Source Diagram Components for Lazarus?

2009-01-26 Thread ik
There is the following components (for Delphi, but I think it can be converted): http://angusj.com/delphi/ It's freeware with source, so maybe we shoudl contact the developer if it will be converted to lazarus. Ido On Sun, Jan 25, 2009 at 11:41 PM, Thierry Coq t...@free.fr wrote: I'm looking

[Lazarus] Freepascal 2.2.4rc1 released

2009-01-26 Thread Joost van der Sluis
We have placed the first release-candidate of the Free Pascal Compiler version 2.2.4 on our ftp-servers. You can help improve the upcoming 2.2.4 release by downloading and testing this release. If you want you can report what you have done here: http://wiki.freepascal.org/Testers_2.2.4 With this

Re: [Lazarus] Freepascal 2.2.4rc1 released

2009-01-26 Thread Vincent Snijders
2009/1/26 Joost van der Sluis jo...@cnoc.nl: See http://bugs.freepascal.org/changelog_page.php And switch to the FPC project, if necessary. for the list of reported bugs which have been fixed in this release. Vincent ___ Lazarus mailing list

Re: [Lazarus] TFileStream

2009-01-26 Thread Dave Coventry
I'm having some difficulty over this: = snip === FS:=TFileStream.Create(fname, fmshareDenyWrite); Try FS.ReadBuffer(hdbuffer[0],32); Finally FreeAndNil(FS); end; RecSize:=LEtoN(PSmallInt(@hdbuffer[10])^); SetLength(recbuffer,RecSize);

Re: [Lazarus] TFileStream

2009-01-26 Thread ajv
Dear Dave Coventry, Probably the FileStream still exist in an other thread. Application.ProcessMessages might help. Better is it to open the stream on fname once an reposition the pointer repeatedly. Success. = I'm having some

Re: [Lazarus] Free Open Source Diagram Components for Lazarus?

2009-01-26 Thread Lee Jenkins
ik wrote: There is the following components (for Delphi, but I think it can be converted): http://angusj.com/delphi/ It's freeware with source, so maybe we shoudl contact the developer if it will be converted to lazarus. Ido This one too is freeware and might make a good candidate to

[Lazarus] Unicode data

2009-01-26 Thread theo
In the charactermapdlg.pas unit (IDE) we use some code from unicode.org. Since we should add unicode.org copyright notice to this file, I've created a patch for this file: http://www.theo.ch/lazarus/mypatchlic.diff Vincent suggested to put the relevant code into a separate unit of the LCL. Now Im

Re: [Lazarus] TFileStream

2009-01-26 Thread Dave Coventry
Hi AJ. I was under the impression that this: FS:=TFileStream.Create(fname, fmshareDenyWrite); Try FS.ReadBuffer(hdbuffer[0],32); Finally FreeAndNil(FS);- end; would free the File Pointer to be used again. Do you suggest that I use another variable when I do it the second time?

Re: [Lazarus] TFileStream

2009-01-26 Thread Michael Van Canneyt
On Mon, 26 Jan 2009, Dave Coventry wrote: Hi AJ. I was under the impression that this: FS:=TFileStream.Create(fname, fmshareDenyWrite); Try FS.ReadBuffer(hdbuffer[0],32); Finally FreeAndNil(FS);- end; would free the File Pointer to be used again. That is correct.

Re: [Lazarus] TFileStream

2009-01-26 Thread Dave Coventry
Hi Michael. The file is accessed correctly the first time, but fails the second time. 2009/1/26 Michael Van Canneyt mich...@freepascal.org: This is so by default, unless you create threads yourself ? No, I didn't. More likely is simply the fact that the file cannot be locked. How can I

Re: [Lazarus] TFileStream

2009-01-26 Thread ajv
The application is one thread, the file handling is done by the operating system in an other thread. FreeAndNil releases indded the Class TFileStream but the OS can still have a capture on the file. This will not happen if you use one instance of an attached class throughout your application.

Re: [Lazarus] Free Open Source Diagram Components for Lazarus?

2009-01-26 Thread theo
There's also this (Delphi Freeware) http://meesoft.logicnet.dk/DiagramDesigner/ ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Free Open Source Diagram Components for Lazarus?

2009-01-26 Thread Lee Jenkins
Lee Jenkins wrote: ik wrote: There is the following components (for Delphi, but I think it can be converted): http://angusj.com/delphi/ It's freeware with source, so maybe we shoudl contact the developer if it will be converted to lazarus. Ido This one too is freeware and might make

Re: [Lazarus] Free Open Source Diagram Components for Lazarus?

2009-01-26 Thread Lee Jenkins
theo wrote: There's also this (Delphi Freeware) http://meesoft.logicnet.dk/DiagramDesigner/ LOL! Teach me to actually look at the link before I post. The one that I posted is the official website if that matters any... -- Warm Regards, Lee

Re: [Lazarus] TFileStream

2009-01-26 Thread Hans-Peter Diettrich
Dave Coventry schrieb: FS:=TFileStream.Create(fname, fmshareDenyWrite); IMO you should also specify the requested access (fmCreate or fmOpen...), even if zero happens to mean fmOpenRead. Nonetheless it looks strange when the same file cannot be reopened later. Are you sure that fname is

Re: [Lazarus] TFileStream

2009-01-26 Thread Vincent Snijders
2009/1/26, Mattias Gaertner nc-gaert...@netcologne.de: On Mon, 26 Jan 2009 15:49:24 +0200 Dave Coventry dgcoven...@gmail.com wrote: I'm having some difficulty over this: = snip === FS:=TFileStream.Create(fname, fmshareDenyWrite); Try

[Lazarus] several weird behaviors with Lazarus

2009-01-26 Thread ik
Hello, I'm working with Lazarus v0.9.27 r18450M x86_64-linux-gtk 2 (beta) . I have encountered few weird behaviors with this version of Lazarus, but I do not know if that's a bug or a change that was made to act like this, but it was not ended (the change). 1. When Lazarus starts, all of the

Re: [Lazarus] Free Open Source Diagram Components for Lazarus?

2009-01-26 Thread Thierry Coq
Both SimpleGraph and DiagramDesigner look promising! - SimpleGraph seems easier to understand, and the license is very simple: the original author is not responsible, please mail him the sources changes, and keep his name as original author, - DiagramDesigner has another license: no

Re: [Lazarus] TFileStream

2009-01-26 Thread Dave Coventry
2009/1/26 Vincent Snijders vincent.snijd...@gmail.com: 2009/1/26, Mattias Gaertner nc-gaert...@netcologne.de: Maybe you mean FillChar(recbuffer^,RecSize,' '); ? Or FillChar(recbuffer[1],RecSize,' '); if it is a string or [0] if it is a dynarray. Thanks. I'll put that in. It seemed to

Re: [Lazarus] several weird behaviors with Lazarus

2009-01-26 Thread Vincent Snijders
2009/1/26, ik ido...@gmail.com: Hello, I'm working with Lazarus v0.9.27 r18450M x86_64-linux-gtk 2 (beta) . I have encountered few weird behaviors with this version of Lazarus, but I do not know if that's a bug or a change that was made to act like this, but it was not ended (the

Re: [Lazarus] TFileStream

2009-01-26 Thread Andrew Brunner
Actually, I'm thinking you're creating a memory problem with using fillchar and passing the pointer to the dynarray instead of the element. Try using FillChar with the zero element again... The reason why the construction maybe failing is b/c a potential memory leak created by not using the zero

Re: [Lazarus] TFileStream

2009-01-26 Thread Dave Coventry
2009/1/26 Andrew Brunner andrew.t.brun...@gmail.com: Actually, I'm thinking you're creating a memory problem with using fillchar and passing the pointer to the dynarray instead of the element. Try using FillChar with the zero element again... The reason why the construction maybe failing is

Re: [Lazarus] Unicode data

2009-01-26 Thread Mattias Gaertner
On Mon, 26 Jan 2009 15:33:41 +0100 theo x...@theo.ch wrote: In the charactermapdlg.pas unit (IDE) we use some code from unicode.org. Since we should add unicode.org copyright notice to this file, I've created a patch for this file: http://www.theo.ch/lazarus/mypatchlic.diff What parts are

Re: [Lazarus] TFileStream

2009-01-26 Thread Michael Van Canneyt
On Mon, 26 Jan 2009, Dave Coventry wrote: 2009/1/26 Andrew Brunner andrew.t.brun...@gmail.com: Actually, I'm thinking you're creating a memory problem with using fillchar and passing the pointer to the dynarray instead of the element. Try using FillChar with the zero element again...

Re: [Lazarus] Where to place definition of a record?

2009-01-26 Thread Andreas Berger
But unfortunately an object is not totally record compatible. It can not do this: foo = object a : integer case boolean of true:{...}; fasle: {...} end; procedure b; end; Martin Friebe wrote: try type foo = Object a : integer; Procedure b; end;

Re: [Lazarus] Colors and Themes

2009-01-26 Thread Paul Ishenin
Hans-Peter Diettrich wrote: You're right, it are other cl... colors that are deprecated. The lack of documentation sucks :-( Are the system colors always mapped to the current standards, including themes? Well, with themes some controls are often painted using bitmaps instead of colors

[Lazarus] Debugger Options raises Access Violation

2009-01-26 Thread Bahman Movaqar
Whenever I click on Environment-Deubegger Options, an Access Violation error message is popped up and Lazarus shuts down. The log on console is: Gtk2_ItemSelectionChanged ItemCache=nil lvSignals Gtk2_ItemSelectionChanged ItemCache=nil lvSignals Gtk2_ItemSelectionChanged ItemCache=nil

Re: [Lazarus] Free Open Source Diagram Components for Lazarus?

2009-01-26 Thread Thierry Coq
Yes, I know about StarUML, it's a good tool, but it's dead: little work has been done since 2005. And the code base is so huge, it seems daunting to port the code base to Lazarus as is. What license is it delivered with? BR Thierry Alex Kovacic wrote: - try StarULM (made with delphi?)

Re: [Lazarus] Debugger Options raises Access Violation

2009-01-26 Thread Bahman Movaqar
On 87/11/08, 08:57 Bahman Movaqar wrote: Whenever I click on Environment-Deubegger Options, an Access Violation error message is popped up and Lazarus shuts down. The log on console is: Gtk2_ItemSelectionChanged ItemCache=nil lvSignals Gtk2_ItemSelectionChanged ItemCache=nil lvSignals

Re: [Lazarus] Colors and Themes

2009-01-26 Thread Paul Ishenin
Graeme Geldenhuys wrote: Does clBtnFace update to the correct colour if you apply a new windows colour scheme (without quitting the application)? eg: * using default colour scheme in windows (usual grey colours). * start my app and button is painted in grey (clBtnFace). * I change the

Re: [Lazarus] Colors and Themes

2009-01-26 Thread Graeme Geldenhuys
On Tue, Jan 27, 2009 at 9:24 AM, Paul Ishenin i...@kmiac.ru wrote: If you are about lcl-win32 then yes. When LCL process clBtnFace it calls winapi function GetSysColor. Ofcource there can be problems with already created brushes, pens and fonts which was created before theme change. OK,