[lazarus] Xinerama

2005-11-05 Thread Colin Western
I attach a patch to the Xinerama support in gtk1. Some recent changes had meant it no longer compiled as is, and I have added a choice between static and dynamic linking. I can get either to work on my Linux system, but neither seem to work on MAC OSX, but that seems to be a limitation of the

[lazarus] Inherited forms

2005-11-05 Thread Colin Western
I attach a patch that provides some of the pieces needed to work with inherited forms. With the patch applied an inherited form will load without error, though the lfm file will be loaded as a text file, rather than display as a form. To improve this I need the lfm files for the super class

Re: [lazarus] Xinerama

2005-11-05 Thread Mattias Gaertner
On Sat, 05 Nov 2005 11:03:23 + Colin Western [EMAIL PROTECTED] wrote: I attach a patch to the Xinerama support in gtk1. Some recent changes had meant it no longer compiled as is, and I have added a choice between static and dynamic linking. I can get either to work on my Linux system,

Re: [lazarus] Inherited forms

2005-11-05 Thread Colin Western
Mattias Gaertner wrote: On Sat, 05 Nov 2005 11:33:47 + Colin Western [EMAIL PROTECTED] wrote: To improve this I need the lfm files for the super class form, but I am not sure how to get hold of them. 1. The IDE must find the uses clause in the unit. 2. Find all these units. 3.

Re: [lazarus] Turbopower Ipro

2005-11-05 Thread listmember
Jesus Reyes wrote: I found a css parser but currently I'm busy in other things. Hi, I am also working on IPro --on and off, and I'd like to see what can be done wrt CSS parser. Could I have a link to the CSS parser you mentioned.

Re: [lazarus] Inherited forms

2005-11-05 Thread Mattias Gaertner
On Sat, 05 Nov 2005 11:33:47 + Colin Western [EMAIL PROTECTED] wrote: I attach a patch that provides some of the pieces needed to work with inherited forms. With the patch applied an inherited form will load without error, though the lfm file will be loaded as a text file, rather than

Re: [lazarus] OnWindowStateChange event

2005-11-05 Thread Mattias Gaertner
On Fri, 04 Nov 2005 20:25:46 +0100 dannym [EMAIL PROTECTED] wrote: hi, patch attached. btw I'm not entirely sure if that ought to be split into multiple events, but my gut feeling says no (probably prejudice by gtk experience :)). I changed the event name to comply with mostly every

Re: [lazarus] Installing Lazarus on SuSE 9.3

2005-11-05 Thread Koenraad Lelong
Andrew Haines wrote: Koenraad Lelong wrote: Hi, I'm having difficulties installing the rpm's on my SuSE 9.3 machine. I'm having dependency problems which I seem unable to resolve. ... Searching the web for gtk+-devel gave no rpm's for it, do I need to make them myself (hope not) ? Any

Re: [lazarus] OnWindowStateChange event

2005-11-05 Thread Mattias Gaertner
On Sat, 05 Nov 2005 16:52:05 +0100 dannym [EMAIL PROTECTED] wrote: Hi, Am Samstag, den 05.11.2005, 14:08 +0100 schrieb Mattias Gaertner: On Fri, 04 Nov 2005 20:25:46 +0100 dannym [EMAIL PROTECTED] wrote: hi, patch attached. btw I'm not entirely sure if that ought to be

Re: [lazarus] OnWindowStateChange event

2005-11-05 Thread dannym
Hi, Am Samstag, den 05.11.2005, 17:03 +0100 schrieb Mattias Gaertner: On Sat, 05 Nov 2005 16:52:05 +0100 dannym [EMAIL PROTECTED] wrote: Hi, Am Samstag, den 05.11.2005, 14:08 +0100 schrieb Mattias Gaertner: On Fri, 04 Nov 2005 20:25:46 +0100 dannym [EMAIL PROTECTED] wrote:

Re: [lazarus] OnWindowStateChange event

2005-11-05 Thread Mattias Gaertner
On Sat, 05 Nov 2005 17:32:41 +0100 dannym [EMAIL PROTECTED] wrote: [...] I'm no gtk2 expert. Can you fix the flags? Depending on the semantics of WMSize, yes. I'd say just swap the ifs like in the attached patch. Should WMSize get the current state, or the change of state ? I'd think

Re: [lazarus] Inherited forms

2005-11-05 Thread Michael Van Canneyt
On Sat, 5 Nov 2005, Mattias Gaertner wrote: On Sat, 05 Nov 2005 12:32:22 + Colin Western [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Sat, 05 Nov 2005 11:33:47 + Colin Western [EMAIL PROTECTED] wrote: To improve this I need the lfm files for the super

Re: [lazarus] Inherited forms

2005-11-05 Thread Mattias Gaertner
On Sat, 05 Nov 2005 17:17:47 + Colin Western [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Sat, 05 Nov 2005 11:33:47 + Colin Western [EMAIL PROTECTED] wrote: I attach a patch that provides some of the pieces needed to work with inherited forms. With the patch applied

Re: [lazarus] Inherited forms

2005-11-05 Thread Mattias Gaertner
On Sat, 5 Nov 2005 17:05:03 +0100 (CET) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Sat, 5 Nov 2005, Mattias Gaertner wrote: On Sat, 05 Nov 2005 12:32:22 + Colin Western [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Sat, 05 Nov 2005 11:33:47 + Colin

Re: [lazarus] Turbopower Ipro

2005-11-05 Thread Jesus Reyes
--- listmember [EMAIL PROTECTED] escribió: Jesus Reyes wrote: I found a css parser but currently I'm busy in other things. Hi, I am also working on IPro --on and off, and I'd like to see what can be done wrt CSS parser. Could I have a link to the CSS parser you mentioned. See

[lazarus] Re: Adding icon to Win API program

2005-11-05 Thread Felipe Monteiro de Carvalho
Razvan Adrian Bogdan wrote: No, it works with any res file wich is compiled correctly, i only had a small issue with some language setting due to the fact that delphi's res compiler and windres were slightly different on that issue, you ca easily have a look at SysRec's .rc file to see how it

[lazarus] ShowInTaskbar for gtk2 doesn't work

2005-11-05 Thread dannym
Hi, I'm trying to get ShowInTaskbar for gtk2 working. I tried to do it as in the attached patch for a quick test. Doesn't work. It has to do with some ridiculously complicated dependency of the default of ShowInTaskbar on MainForm. Can't get it to work. The symptoms after the patch are: - no

Re: [lazarus] Re: Adding icon to Win API program

2005-11-05 Thread dannym
hi, Am Samstag, den 05.11.2005, 17:26 -0200 schrieb Felipe Monteiro de Carvalho: Razvan Adrian Bogdan wrote: No, it works with any res file wich is compiled correctly, i only had a small issue with some language setting due to the fact that delphi's res compiler and windres were slightly

[lazarus] Re: Adding icon to Win API program

2005-11-05 Thread Felipe Monteiro de Carvalho
dannym wrote: you need more available RAM, most probably. At least that's why it does that at my machine. I usually close some resource hogging programs (i.e. web browser :)) and it works. I have 512MB RAM o.O Anyway I retested closing everything except Lazarus with the same result. By the

Re: [lazarus] ShowInTaskbar for gtk2 doesn't work

2005-11-05 Thread dannym
Hi, Am Samstag, den 05.11.2005, 20:34 +0100 schrieb dannym: Hi, I'm trying to get ShowInTaskbar for gtk2 working. I tried to do it as in the attached patch for a quick test. Doesn't work. It has to do with some ridiculously complicated dependency of the default of ShowInTaskbar on

Fwd: Re: [lazarus] Xfce , FVWM or BlackBox

2005-11-05 Thread Chris Gordon-Smith
On Fri, 4 Nov 2005, Edwin Quijada wrote: hi! I developed an app using Lazarus and Suse10.0 but now I wanna run this app into P2 with 32mb using Xfce or another window manager. In this machine I just wanna run the binary package Can I run an app in this window manager?\ Yes. But you

[lazarus] Multithreading in Lazarus = SMP Enabled applications?

2005-11-05 Thread Horacio Jamilis
Hi, I was trying to look for information about how to enable a linux server application to work with any procesor available on the system, being, this way, SMP enabled. Someplace I readed that working in Delphi with the TThread class (this is the way I work), the applications will be SMP

Re: [lazarus] Multithreading in Lazarus = SMP Enabled applications?

2005-11-05 Thread Michael Van Canneyt
On Sat, 5 Nov 2005, Horacio Jamilis wrote: Hi, I was trying to look for information about how to enable a linux server application to work with any procesor available on the system, being, this way, SMP enabled. Someplace I readed that working in Delphi with the TThread class (this

Re: [lazarus] Re: Adding icon to Win API program

2005-11-05 Thread Razvan Adrian Bogdan
On 11/6/05, Razvan Adrian Bogdan [EMAIL PROTECTED] wrote: On 11/5/05, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: dannym wrote: you need more available RAM, most probably. At least that's why it does that at my machine. I usually close some resource hogging programs (i.e. web

Re: [lazarus] icon setting

2005-11-05 Thread dannym
hi, Am Sonntag, den 06.11.2005, 00:57 +0100 schrieb Mattias Gaertner: On Sat, 05 Nov 2005 21:24:47 +0100 dannym [EMAIL PROTECTED] wrote: Hi, setting an icon of a form and then pressing F9 causes exception: Works here under metacity. Can you give more details? What resolution do you

[lazarus] Re: Adding icon to Win API program

2005-11-05 Thread Felipe Monteiro de Carvalho
Razvan Adrian Bogdan wrote: This is verry interesting i can however compile in a dir called C:\Documents and Settings\Pisoo\Desktop\test\Recorder\ but not in one called C:\Documents and Settings\Pisoo\Desktop\sysrec-1.0.0.2-src\Recorder\ or in one called C:\Documents and

Re: [lazarus] icon setting

2005-11-05 Thread Mattias Gaertner
On Sun, 06 Nov 2005 01:13:08 +0100 dannym [EMAIL PROTECTED] wrote: hi, Am Sonntag, den 06.11.2005, 00:57 +0100 schrieb Mattias Gaertner: On Sat, 05 Nov 2005 21:24:47 +0100 dannym [EMAIL PROTECTED] wrote: Hi, setting an icon of a form and then pressing F9 causes exception:

[lazarus] Problem with the Menu at runtime in the IDE

2005-11-05 Thread David Chandler
(I posted a message on this problem on the Forum in two different areas and haven't gotten any response for several days. It looks like this mailing list gets a whole lot more activity, so I'll try here.) I'm new to Lazarus, although I used Borland Pascal a lot in the 1980's-90's. (I've

Re: [lazarus] icon setting

2005-11-05 Thread dannym
Hi, Am Sonntag, den 06.11.2005, 02:39 +0100 schrieb Mattias Gaertner: Can you add DebugLn('TGtkWidgetSet.GetRawImageFromGdkWindow GdkWindow is ... ',RawImageDescriptionAsString(@NewRawImage.Description)); TGtkWidgetSet.GetRawImageFromGdkWindow GdkWindow is ... Format=ricfRGBA

[lazarus] make lazarus use gtk 2.6 filechooser

2005-11-05 Thread dannym
Hi, attached is an initial patch to make the gtk 2.6 filechooser work for lazarus (lcl). Still needs some gtk version detection magic I guess (if we want to support gtk2 2.6, that is) Note that gtk 2.8 contains: voidgtk_file_chooser_set_do_overwrite_confirmation