[lazarus] TSPeedButton background painting

2007-08-23 Thread Stephano
As per the current implementation, TSpeedbutton's background is mostly dependent on themes. I would like to submit a patch that will extract the background painting code into a separate virtual protected method (TCustomSpeedButton.PaintBackground), thus allowing a descendant to control its back

Re: [lazarus] TSPeedButton background painting

2007-08-29 Thread Stephano
is, and develop components that look the way we'd like them to look. What you are doing with fpGUI is a good step in this direction. Will fpGUI be comparable to other widgetsets as far as component variety is concerned? Ste

[lazarus] Creating a window in a console app

2007-09-01 Thread Stephano
I am trying to create a window from a console app using AllocateHWnd(@WndProc), but keep on getting a SIGSEGV error due to WidgetSet being nil in LCLIntf. This is my first try at console apps (TCustomApplication) and thus I must be missing the obvious. What is it? ___

Re: [lazarus] Creating a window in a console app

2007-09-01 Thread Stephano
You need to add Interfaces as the first unit on your program, so it can create the Widgetset object. Lazarus doesn't support using it's libraries without a widgetset object. -- Felipe Monteiro de Carvalho That was it. Thanks!!

[lazarus] How to recompile FCL units

2007-09-01 Thread Stephano
I reported a bug (in daemonapp.pp) that has been fixed today. It addresses the uninstall process of daemons. How can this unit be recompiled? _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Sub

[lazarus] Compilation failure

2007-09-11 Thread Stephano
Compiling latest Lazarus SVN (FPC 2.2.0) fails (Lazarus.exe is generated) with: LazarusManager.pas(40,34) Fatal: Can't find unit LRemoteControl used by StartLazarus I can't locate the unit LRemoteControl anywhere. Where should it be?

Re: [lazarus] Another icons for Lazarus

2007-09-12 Thread Stephano
Paul, - The icons for the step into and step over in the IDE toolbar are still the old ones. - Shouldn't the stop button be there too? Laurent, - A stop icon (square) would be a nice complement to your icon series ;) Ste

Re: [lazarus] Another icons for Lazarus

2007-09-12 Thread Stephano
statement regarding automatic generation of disabled icons. It is clear now. Can we add a stop button to the IDE toolbar? I promice that this work will be done and icons on toolbar will be consistent with menu. I promise not to ask again soon ;) Thanks, Stephano

Re: [lazarus] MRU (most recently used) component

2007-09-14 Thread Stephano
Does Lazarus have a MRU component? If not, anybody know where I could get one to port. RX components, JV pack, and Delphi Free Stuff have such a component. Stephano _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] Another icons for Lazarus

2007-09-16 Thread Stephano
>Does nobody others have opinion on this subject? You are quite talented!

[lazarus] IDE SaveAll button

2007-09-20 Thread Stephano
I am working on a patch that would disable the saveall button in the IDE if all the project files are saved. I am able to track the status of the editor files, but how can I have access to the project main file + lpi/lps/... status? Stephano

Re: [lazarus] IDE SaveAll button

2007-09-20 Thread Stephano
function SomethingOfProjectIsModified is what I need. Power of posting! - Original Message - From: Stephano To: lazarus@miraclec.com Sent: Thursday, September 20, 2007 6:42 PM Subject: [lazarus] IDE SaveAll button I am working on a patch that would disable the saveall

[lazarus] IDE SaveAll button part2

2007-09-20 Thread Stephano
to save, discard, or cancel. - or should it save all unsaved info? Stephano

Re: [lazarus] IDE SaveAll button part2

2007-09-21 Thread Stephano
Do you mean the other way around? Definitely! Tired brain can do wonders :) _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

[lazarus] AllocateHWnd on Linux

2007-10-26 Thread Stephano
Are there any plans to implement AllocateHWnd for Linux? It already exists for win platform in Lazarus. Stephano _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archiv

Re: [lazarus] AllocateHWnd on Linux

2007-10-26 Thread Stephano
From: "Felipe Monteiro de Carvalho" I think there is a very partial implementation on LCLIntf unit already. I don't think we should really try to replicate it. Lazarus doesn't intend to replicate the Windows API. -- Felipe Monteiro de Carvalho I am asking because I recall you had a proposal for

Re: [lazarus] AllocateHWnd on Linux

2007-10-26 Thread Stephano
Marc Weustink wrote: And there we go :( Marc Is that supposed to be an answer to the question? _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepa

Re: [lazarus] AllocateHWnd on Linux

2007-10-27 Thread Stephano
From: "Michael Van Canneyt"> Your original question was not very clear: AllocateHwnd simply doesn't make sense on other systems than Windows. You should specify why you need it. After that, we can try to present you with an alternative. If the idea is to do communication with another process, (i

Re: [lazarus] Serial Comm Support Windows

2007-11-24 Thread Stephano
Jeff Steinkamp wrote: I know there is a serial unit for Linux/Unix, but is there similar support for serial communications for the Windows Platform? http://www.luisdigital.com/programacion/fpc/serial.pp _ To unsubscribe: mai

Re: [lazarus] Serial Comm Support Windows

2007-12-02 Thread Stephano
FPC's modified LGPL. But I will email him anyway to get his approval. His post mentions 2 additional issues: 1- SerOpen return value of 0 or -1 in case of error. 2- Unix/termios and Windows/DCB structures are different. Maybe a common structure should be used to have cross-platform support?

Re: [lazarus] Serial Comm Support Windows

2007-12-02 Thread Stephano
Jeff Steinkamp wrote: I do not think that will be a problem, although I was not the one who posted that link. After looking at the content of the file, it look quite similar to the serial.pas using I use with windows on Delphi. Do you mean it is tainted code?

Re: [lazarus] Serial Comm Support Windows

2007-12-03 Thread Stephano
Luis R. Hilario B. wrote: Look at your inbox. 2007/12/2, Stephano <[EMAIL PROTECTED]>: Florian Klaempfl wrote: May I add this to the rtl? My inbox contained a positive answer :) Florian, I will send you privately the approval for ref

[lazarus] SVN

2008-01-17 Thread Stephano
I can't update nor checkout (SVN) both FPC & Lazarus anymore! I used to do it daily, but stopped for about a month. Now I can't. As if punishment time has come :( I use http://svn.freepascal.org/svn/lazarus/trunk for Lazarus svn. TortoiseSVN retrieves a few KB and hangs with no message. SVN init

Re: [lazarus] SVN

2008-01-17 Thread Stephano
Vincent Snijders wrote: Can you try with svn2.freepascal.org? Same problem with http://svn2.freepascal.org/svn/lazarus/trunk! Moreover, http://svn.freepascal.org:8080/svn/lazarus/trunk and https://svn.sourceforge.net/svnroot/lazarus/trunk do not work but give an error message. _

Re: [lazarus] SVN

2008-01-17 Thread Stephano
can access other svn sites. I know how to access webpages through proxy servers, but how do you do it for svn? Stephano _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject ar

Re: [lazarus] SVN

2008-01-18 Thread Stephano
John wrote: I don't know about SVN, but with TortoiseSVN open the "settings" panel and go to the network item, and there is a sheet to fill in just like browser settings. Works for me via a squid proxy cache. (But not necessarily at the moment, I haven't updated for a few weeks). Same beh

Re: [lazarus] SVN

2008-01-18 Thread Stephano
Marc Weustink wrote: The other svn repositories you mentioned, are they too on the default http port 80 (and have you recently accessed them )? Now things have gone back to normal! I can access FPC & Lazarus svn again :) The working svn urls are (at the time FPC & Lazarus svn were out of reac

Re: [lazarus] Reports

2008-02-01 Thread Stephano
Lee Jenkins wrote: I tried LazReport yesterday and it was unworkable for me. Just adding a single detail and group bands hooked up to Zeos/Firebird was enough to make it AV. Just dropping a TfrReport on an empty form will trigger once run a SIGSEGV at procedure unidrv!DrvEnableDriver. __

Re: [lazarus] Reports

2008-02-01 Thread Stephano
Jesus Reyes wrote: --- Stephano <[EMAIL PROTECTED]> escribió: Lee Jenkins wrote: I tried LazReport yesterday and it was unworkable for me. Just adding a single detail and group bands hooked up to Zeos/Firebird was enough to make it AV. Just dropping a TfrReport on an empty for