Re: [lazarus] FITS I/O Libraries

2006-04-18 Thread Ido Kanner
Quoting Lv [EMAIL PROTECTED]: here are available fits format library sources. http://fits.gsfc.nasa.gov/fits_libraries.html; What would be the easiest path to incorporate as a unit or library into lazarus or FPC? You can write a Pascal unit that will have the API and read it from the

Re: [lazarus] FITS I/O Libraries

2006-04-18 Thread Michael Van Canneyt
On Mon, 17 Apr 2006, Lv wrote: here are available fits format library sources. http://fits.gsfc.nasa.gov/fits_libraries.html; What would be the easiest path to incorporate as a unit or library into lazarus or FPC? Write an library import unit. It will allow you to use the library

[lazarus] GTK GUI Apps with Lazarus for windows?

2006-04-18 Thread Tiziano - Mekar Srl -
Could I build an application that uses GTK libraries to get GUI GTK on Windows? I mean: Till now I tryed to develop GUI win 32 Apps with Win32 Widgetset, with great difficulty on portability matters. I think that if I exclude GDI API calls and use the GTK library, my program will be more

[lazarus] Slow Lazarus

2006-04-18 Thread Roland Turcan - RoTurSoft
Hello all! I have just got one simple question. Why is Lazarus so slow. My computer contains AMD 64 3000+ 1GB RAM SATA 250GB, I think, problem is not in my computer. I am used to working in Delphi 5 and Delphi 7, but they are much faster. Just compilation of very small hello world takes a

RE: [lazarus] GTK GUI Apps with Lazarus for windows?

2006-04-18 Thread Tiziano - Mekar Srl -
thanks for your kind advise. Please, another question for you: I'm writing an article about FPC/Lazarus for a local italian Linux User Group in order to bring the attention on this project, that here is not so well known. I just have the list of FPC people, but not the Lazarus people names.

Re: [lazarus] Slow Lazarus

2006-04-18 Thread Michael Van Canneyt
On Tue, 18 Apr 2006, Roland Turcan - RoTurSoft wrote: Hello all! I have just got one simple question. Why is Lazarus so slow. My computer contains AMD 64 3000+ 1GB RAM SATA 250GB, I think, problem is not in my computer. I am used to working in Delphi 5 and Delphi 7, but they are much

Re: [lazarus] GTK GUI Apps with Lazarus for windows?

2006-04-18 Thread Vincent Snijders
Tiziano - Mekar Srl - wrote: thanks for your kind advise. Please, another question for you: I'm writing an article about FPC/Lazarus for a local italian Linux User Group in order to bring the attention on this project, that here is not so well known. I just have the list of FPC people, but

Re: [lazarus] Qt events patch

2006-04-18 Thread zeljko
snapshot 20060418) : 1.Radio group shows only checked radiobutton (others are invisible) 2.Notebook tab captions are invisible. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives

Re: [lazarus] Slow Lazarus

2006-04-18 Thread Roland Turcan - RoTurSoft
Michael Van Canneyt wrote: On Tue, 18 Apr 2006, Roland Turcan - RoTurSoft wrote: Hello all! I have just got one simple question. Why is Lazarus so slow. My computer contains AMD 64 3000+ 1GB RAM SATA 250GB, I think, problem is not in my computer. I am used to working in Delphi 5 and

Re: [lazarus] Windows CE Patch

2006-04-18 Thread Mattias Gaertner
On Mon, 17 Apr 2006 20:29:13 -0300 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Hello, This patch tryes to fix the X button close problem, but isn´t fully successfull. I´m not sure if the problem is with my code or the compiler, so it should be suitable anyway. It also fixes

Re: [lazarus] Slow Lazarus

2006-04-18 Thread Michael Van Canneyt
On Tue, 18 Apr 2006, Roland Turcan - RoTurSoft wrote: Michael Van Canneyt wrote: On Tue, 18 Apr 2006, Roland Turcan - RoTurSoft wrote: Hello all! I have just got one simple question. Why is Lazarus so slow. My computer contains AMD 64 3000+ 1GB RAM SATA 250GB, I think, problem is not

Re: [lazarus] panel as parent of a tform

2006-04-18 Thread Alexandre Leclerc
2006/4/17, Christian U. [EMAIL PROTECTED]: As I can see it, it does work under win32, the only problem is the focus/access problem with the mouse. It seams the mouse events are not passed to the parent properly. (?) exactly, thats the problem in windows but in gtk no problem exists i use

Re: [lazarus] Windows CE Patch

2006-04-18 Thread Felipe Monteiro de Carvalho
On 4/18/06, Mattias Gaertner [EMAIL PROTECTED] wrote: Do you mean 'Roozbeh GHolizadeh' or 'Roozbeh G Holizadeh' or 'Roozbeh Gholizadeh'? Honestly, I don't know. On his e-mail he said 'Roozbeh GHolizadeh' G-mail also put's his name as 'Roozbeh GHolizadeh' on the e-mails he sends to me. --

Re: [lazarus] FPC question

2006-04-18 Thread johnf
On Tuesday 18 April 2006 08:25, Alexandre Leclerc wrote: 2006/4/17, johnf [EMAIL PROTECTED]: Or is it better (what a word): sqlunit If you have a 'sqlunit' that handles all the sql stuff of you application, be object oriented in your concepts. Iwould have only one function in the

Re: [lazarus] Qt events patch

2006-04-18 Thread Felipe Monteiro de Carvalho
On 4/18/06, zeljko [EMAIL PROTECTED] wrote: This patch caused caption problems (lazarus snapshot 20060418) : 1.Radio group shows only checked radiobutton (others are invisible) 2.Notebook tab captions are invisible. Thanks for the hint. This was caused by my implementation of SetText

Re: [lazarus] Windows CE Patch

2006-04-18 Thread Vincent Snijders
Felipe Monteiro de Carvalho wrote: On 4/18/06, Mattias Gaertner [EMAIL PROTECTED] wrote: Do you mean 'Roozbeh GHolizadeh' or 'Roozbeh G Holizadeh' or 'Roozbeh Gholizadeh'? Honestly, I don't know. On his e-mail he said 'Roozbeh GHolizadeh' G-mail also put's his name as 'Roozbeh GHolizadeh'

Re: [lazarus] FPC question

2006-04-18 Thread Joost van der Sluis
On Tue, 2006-04-18 at 10:21 -0700, johnf wrote: In the Visual FoxPro world I normally would have an object (class) that is placed on the form to handle all interaction with the data as required. But so far I don't understand how to do this with the SQLdb controls. I could create a class

Re: [lazarus] FPC question

2006-04-18 Thread Alexandre Leclerc
2006/4/18, johnf [EMAIL PROTECTED]: Thanks for answering. You are right the task was very simple. I used the code as an example because in fact I'm having issues with understanding the OOP involved and how the FPC compiler works. It seems that having one call would be the OOP thing to do.

Re: [lazarus] FPC question

2006-04-18 Thread Alexandre Leclerc
2006/4/18, Joost van der Sluis [EMAIL PROTECTED]: But you can have one connection, whith several transactions bound to it. PostgreSQL doesn't support that, but SQLdb handles that for you, it creates new connection internally automatically. Do you mean TPQConnection does not support many

[lazarus] [patch] setcolor for tMemo on gtk2

2006-04-18 Thread darekm
Hi attached patch added setcolor, setfont for tMemo setColor to tComboBox all for gtk2 Darek Index: interfaces/gtk2/gtk2wsstdctrls.pp === --- interfaces/gtk2/gtk2wsstdctrls.pp (wersja 9143) +++

[lazarus] Building revision 9144

2006-04-18 Thread Luc Vigato
Hello, I have problem after building lazarus rev 9144, I can't start lazarus. I compile with interface GTK2. Before i have had the same problem with GTK interface. Has anyone an idea in how i can help you with this ? Here the log: [WARNING]

[lazarus] [patch] tLabel on gtk2

2006-04-18 Thread darekm
Hi attached patch is fo tLabel under GTK2 paint for tLabel is invoked many times, because GTK2 has enabled rendering, painted tex show very bad after some piece of time. for multiline text space between lines are to huge setup size and color of tLabel are make up. Darek Index:

Re: [lazarus] FPC question

2006-04-18 Thread johnf
On Tuesday 18 April 2006 11:31, Joost van der Sluis wrote: On Tue, 2006-04-18 at 10:21 -0700, johnf wrote: In the Visual FoxPro world I normally would have an object (class) that is placed on the form to handle all interaction with the data as required. But so far I don't understand how to

Re: [lazarus] [patch] for tscrollBox

2006-04-18 Thread darekm
Mattias Gaertner wrote: On Sat, 15 Apr 2006 21:44:52 +0200 darekm [EMAIL PROTECTED] wrote: Hi attached patch repair calculation of visibility scrollbar Clicked on tButton now work for scrolled window all under GTK+ Note: DisableAlign/EnableAlign needs try..finally, otherwise

Re: [lazarus] Building revision 9144

2006-04-18 Thread Vincent Snijders
Luc Vigato wrote: Hello, I have problem after building lazarus rev 9144, I can't start lazarus. I compile with interface GTK2. Before i have had the same problem with GTK interface. Has anyone an idea in how i can help you with this ? I assume you are using fpc 2.0.2 or fpc 2.0.3 on

[lazarus] Lazreport on Linux

2006-04-18 Thread Dan
emailHello, after instaling Lazreport package on Linux, I get following error message on Lazarus start: Gdk-ERROR **: BadValue (integer parameter out of range for operation) serial 40 error_code 2 request_code 53 minor_code 0 Tested on: Lazarus 0.9.14 and Lazarus 0.9.15-20060418 Fedora Core

[lazarus] status of development

2006-04-18 Thread Alain Michaud
Hi, just for a change, here is a funny question: What is the status of development of the various widgetsets? Let's assume that 100 % will be the level of a stable version and 50 % is the level required for a simple hello world application. Would that be something like: GTK = 97 % GTK2 =

Re: [lazarus] FPC question

2006-04-18 Thread Alexandre Leclerc
2006/4/18, Joost van der Sluis [EMAIL PROTECTED]: Delphi handled that for you, yes. Just like SQLdb does. ODBC doesn't support more than one transaction for a connection, just like PostgreSQL. Very interesting, I never payed attention to that. I have an app in D3/BDE/ODBC/PostgreSQL8.x and

Re: [lazarus] status of development

2006-04-18 Thread Felipe Monteiro de Carvalho
On 4/18/06, Alain Michaud [EMAIL PROTECTED] wrote: just for a change, here is a funny question: What is the status of development of the various widgetsets? http://wiki.lazarus.freepascal.org/index.php/Road_To_1.0#Widgetset_dependent_components Note that only the status for Qt, Win32 and

Re: [lazarus] status of development

2006-04-18 Thread Micha Nelissen
On Tue, 18 Apr 2006 15:57:30 -0400 Alain Michaud [EMAIL PROTECTED] wrote: What is the status of development of the various widgetsets? Let's assume that 100 % will be the level of a stable version and 50 % is the level required for a simple hello world application. Would that Hmm, 50% for

Re: [lazarus] Compiled with Lazarus

2006-04-18 Thread m2
Darius Blaszijk a écrit : Would be interesting to see a more detailed comparison in speed between delphi and fpc validating the same large prime. Keep us posted. With big numbers, the speed is the same. With such numbers 99% of the running time is spent in computations and both versions make

Re: [lazarus] FPC question

2006-04-18 Thread johnf
On Tuesday 18 April 2006 13:42, Marc Santhoff wrote: Am Dienstag, den 18.04.2006, 21:29 +0200 schrieb Joost van der Sluis: On Tue, 2006-04-18 at 14:43 -0400, Alexandre Leclerc wrote: 2006/4/18, Joost van der Sluis [EMAIL PROTECTED]: But you can have one connection, whith several

Re: [lazarus] FPC question

2006-04-18 Thread Joost van der Sluis
On Tue, 2006-04-18 at 22:42 +0200, Marc Santhoff wrote: Am Dienstag, den 18.04.2006, 21:29 +0200 schrieb Joost van der Sluis: On Tue, 2006-04-18 at 14:43 -0400, Alexandre Leclerc wrote: 2006/4/18, Joost van der Sluis [EMAIL PROTECTED]: But you can have one connection, whith several

[lazarus] PasDoc Lazarus Add-on

2006-04-18 Thread Graeme Geldenhuys
I created a PasDoc Lazarus Add-on. It registers a new submenu under Edit - Insert Text - PasDoc. The add-on allows you to insert keyword used for generating the documentation. I thought it to be best not to bloat Lazarus with something only used by a selected few. So instead of coding this

Re: [lazarus] FPC question

2006-04-18 Thread Marc Santhoff
Am Dienstag, den 18.04.2006, 23:28 +0200 schrieb Joost van der Sluis: On Tue, 2006-04-18 at 22:42 +0200, Marc Santhoff wrote: Am Dienstag, den 18.04.2006, 21:29 +0200 schrieb Joost van der Sluis: 'But you can have one connection, whith several transactions bound to it.' So you

Re: [lazarus] FPC question

2006-04-18 Thread Marc Santhoff
Am Dienstag, den 18.04.2006, 14:27 -0700 schrieb johnf: Yes, it is true if my user opens 10 forms I will have ten connections and if I have 100 users I will have 1000 connections open. This of course sounded like a lot. But then I realized that today Postgres can handle thousands of

Re: [lazarus] status of development

2006-04-18 Thread Alain Michaud
Ok, then what about that score: hello world1 % GTK 98 % GTK2 90 % Win32 99 % QT10 % Right now Laz/linux comes with GTK by default. I supose that we will do a transition to GTK2 (or QT) at some point. Are we? When and how is that going to hapen?