[lazarus] Carbon native IDE

2007-07-12 Thread Felipe Monteiro de Carvalho
Hi, I just tested the Lazarus IDE with carbon, and it loads and looks reasonable: http://magnifier.sourceforge.net/photos/Fullscreen_1.png =) It cannot be used, because SynEdit doesn't work (lot's of bugs: no Caret, when moves around the text the new text is painted over the old text, no

Re: [lazarus] Carbon native IDE

2007-07-12 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: Hi, I just tested the Lazarus IDE with carbon, and it loads and looks reasonable: http://magnifier.sourceforge.net/photos/Fullscreen_1.png =) It cannot be used, because SynEdit doesn't work (lot's of bugs: no Caret, when moves around the text the new text

Re: [lazarus] Carbon native IDE

2007-07-12 Thread Henry Vermaak
On 12/07/07, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Hi, I just tested the Lazarus IDE with carbon, and it loads and looks reasonable: http://magnifier.sourceforge.net/photos/Fullscreen_1.png =) It cannot be used, because SynEdit doesn't work (lot's of bugs: no Caret, when moves

Re: [lazarus] Carbon native IDE

2007-07-12 Thread Felipe Monteiro de Carvalho
On 7/12/07, Marc Weustink [EMAIL PROTECTED] wrote: One more ide to check, before I commit my alpha patch :( (at this moment lazarus doesn't even start) which alpha patch is that? thanks, -- Felipe Monteiro de Carvalho _ To

Re: [lazarus] Carbon native IDE

2007-07-12 Thread Graeme Geldenhuys
Nice one! :) Graeme. On 12/07/07, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Hi, I just tested the Lazarus IDE with carbon, and it loads and looks reasonable: http://magnifier.sourceforge.net/photos/Fullscreen_1.png

Re: [lazarus] Carbon native IDE

2007-07-12 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: On 7/12/07, Marc Weustink [EMAIL PROTECTED] wrote: One more ide to check, before I commit my alpha patch :( (at this moment lazarus doesn't even start) which alpha patch is that? the one in branches/marc-lcl Marc

Re: [lazarus] Carbon native IDE

2007-07-12 Thread Felipe Monteiro de Carvalho
On 7/12/07, Paul Ishenin [EMAIL PROTECTED] wrote: SynEdit uses ExtTextOut to fill background. To do this SynEdit passes Empty Str argument and Count = 0. As result BeginTextRender return False and no bg filling will happen. But which will be the rectangle to be filled if there is no text? The

Re: [lazarus] Carbon native IDE

2007-07-12 Thread Felipe Monteiro de Carvalho
On 7/12/07, Marc Weustink [EMAIL PROTECTED] wrote: the one in branches/marc-lcl What I mean it: What does it have of special? =) -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] Ide doesn't find units in the fcl (or outside the project)

2007-07-12 Thread Mattias Gaertner
On Tue, 10 Jul 2007 12:56:09 +0200 Luca Olivetti [EMAIL PROTECTED] wrote: En/na [EMAIL PROTECTED] ha escrit: - Original Message - From: Luca Olivetti [EMAIL PROTECTED] [...] Error: unit not found: contnrs The unit builds fine. I'm using rev. 11454, but this started

Re: [lazarus] Carbon native IDE

2007-07-12 Thread Felipe Monteiro de Carvalho
On 7/12/07, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: But which will be the rectangle to be filled if there is no text? The one in Rect argument? Cool, I used the Rect argument and it works now =) I commited the change. If only I had a caret now =) Keyboard input also doesn't

Re: [lazarus] Carbon native IDE

2007-07-12 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: On 7/12/07, Marc Weustink [EMAIL PROTECTED] wrote: the one in branches/marc-lcl What I mean it: What does it have of special? =) It adds alpha support to the widgetsets Marc _ To

Re: [lazarus] Ide doesn't find units in the fcl (or outside the project)

2007-07-12 Thread Luca Olivetti
En/na Mattias Gaertner ha escrit: On Tue, 10 Jul 2007 12:56:09 +0200 Luca Olivetti [EMAIL PROTECTED] wrote: En/na [EMAIL PROTECTED] ha escrit: - Original Message - From: Luca Olivetti [EMAIL PROTECTED] [...] Error: unit not found: contnrs The unit builds fine. I'm using rev.

Re: [lazarus] Carbon native IDE

2007-07-12 Thread Andrew Haines
Felipe Monteiro de Carvalho wrote: On 7/12/07, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: But which will be the rectangle to be filled if there is no text? The one in Rect argument? Cool, I used the Rect argument and it works now =) I commited the change. If only I had a

[lazarus] TSpeedButton bugs patch

2007-07-12 Thread Giuliano Colla
The attached patch fixes 2 issues for TSpeedButton: 1) With no Caption, the glyph is centered if Layout is Glyph Left or Glyph right, somewhere up or down with Glyph Top or Glyph Bottom. Reason: in speedbutton.inc, if Caption is empty, Result.CX is set twice to zero while Result.CY is left

[lazarus] timing how long a user is idle

2007-07-12 Thread Charl van Jaarsveldt
Hi, I would like to have a procedure run after, say, 15 minutes of idle on the computer. How do I do this? Is there a platform independent way? Thanks Charl -- I love deadlines. I especially love the whooshing sound they make as they fly by. - Douglas Adams

RE: [lazarus] Carbon native IDE

2007-07-12 Thread Hess, Philip J
Felipe, I believe that SynEdit is a TCustomControl descendent. TCustomControl's can't yet receive focus or keyboard input, as indicated as a bug on this page: http://wiki.lazarus.freepascal.org/Carbon_interface_internals#Bugs Thanks. -Phil -Original Message- From: Felipe Monteiro de

RE: [lazarus] Carbon native IDE

2007-07-12 Thread Hess, Philip J
Same thing further down in TCarbonDeviceContext.GetTextExtentPoint. If BeginTextRender fails due to a blank string, it should probably set Size.cx and Size.cy to 0, which would probably make sense to calling code (that is, the width of the string is 0). I notified Tomas of the issue with

[lazarus] Spell Check and Thesaurus

2007-07-12 Thread Leonardo M. Ramé
Does anybody knows an Open Source Spell Check and/or Thesaurus component for FreePascal/Delphi? Thanks in advance, Leonardo M. Ramé http://leonardorame.blogspot.com _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] Spell Check and Thesaurus

2007-07-12 Thread Christian U.
Leonardo M. Ramé schrieb: Does anybody knows an Open Source Spell Check and/or Thesaurus component for FreePascal/Delphi? you can use aspell to do this, and control it with TProcess. regards Christian Thanks in advance, Leonardo M. Ramé http://leonardorame.blogspot.com

Re: [lazarus] Spell Check and Thesaurus

2007-07-12 Thread Henry Vermaak
On 12/07/07, Christian U. [EMAIL PROTECTED] wrote: Leonardo M. Ramé schrieb: Does anybody knows an Open Source Spell Check and/or Thesaurus component for FreePascal/Delphi? you can use aspell to do this, and control it with TProcess. regards Christian Thanks in advance, Leonardo M. Ramé

[lazarus] Gettext, what am I doing wrong ?

2007-07-12 Thread A.J. Venter
Hi all, I am trying to make OutKafe gettext translateable, using whatever code I can find for samples this is what my code now looks like: --- uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, ExtCtrls,Util, StdCtrls, Buttons , gtkproc, TrayIcon, popupnotifier,

Re: [lazarus] Gettext, what am I doing wrong ?

2007-07-12 Thread Giuliano Colla
A.J. Venter ha scritto: Hi all, I am trying to make OutKafe gettext translateable, using whatever code I can find for samples this is what my code now looks like: --- uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, ExtCtrls,Util, StdCtrls, Buttons , gtkproc,

Re: [lazarus] Gettext, what am I doing wrong ?

2007-07-12 Thread Mattias Gaertner
On Thu, 12 Jul 2007 19:29:00 +0200 A.J. Venter [EMAIL PROTECTED] wrote: Hi all, I am trying to make OutKafe gettext translateable, using whatever code I can find for samples this is what my code now looks like: --- uses Classes, SysUtils, LResources, Forms, Controls, Graphics,

Re: [lazarus] Gettext, what am I doing wrong ?

2007-07-12 Thread Luca Olivetti
En/na Mattias Gaertner ha escrit: Then I run: LANG=af ./oklin You forgot the or ; LANG=af ; ./oklin No, this is actually correct, it will execute a command with that environment variable set. Bye -- Luca _ To

Re: [lazarus] Gettext, what am I doing wrong ?

2007-07-12 Thread A.J. Venter
And there are two TranslateUnitResourceStrings functions. The one with 4 parameters expects the file mask, the other a specific .po file. If the file does not exist it returns false. In which unit is this second one declared ? ? And which one should I use ? Try this:

Re: [lazarus] Gettext, what am I doing wrong ?

2007-07-12 Thread Mattias Gaertner
On Thu, 12 Jul 2007 22:35:40 +0200 A.J. Venter [EMAIL PROTECTED] wrote: And there are two TranslateUnitResourceStrings functions. The one with 4 parameters expects the file mask, the other a specific .po file. If the file does not exist it returns false. In which unit is this second one

Re: [lazarus] Gettext, what am I doing wrong ?

2007-07-12 Thread A.J. Venter
Thanks everybody, By combining this with one other hunch, I have it working, I used Mattias' example code, at first it still failed, until I changed my call as follows: LC_MESSAGES=af ./oklin I don't know why, but LANG does not seem to override LC_MESSAGES Either way, it's working, thanks

Re: [lazarus] Gettext, what am I doing wrong ?

2007-07-12 Thread A.J. Venter
Hi again Well it worked partially, it got the STATIC messages translated, but not the dynamic ones. First of those are the error messages. I use a little wrapper procedure to show them (they are captions on a tpanel) Procedure ShowError(Error:String); Begin OKLinMain.ErrorLabel.Caption :=

Re: [lazarus] Working with XML: crosscompatibility

2007-07-12 Thread David Lyon
Brett Hunter wrote: Has anyone tried NativeXML? I have compiled it under both Delphi and Lazarus and don't seem to have any problems (it took about 5 minutes to change some code to get it to work). it looks good... but I'm after something that is open source also

[lazarus] close application

2007-07-12 Thread faread wajdy
helooo...can u help me.i have problem when i was writing coding lazarus in OS win32/windows after that i compile in lazarus with os linux i get problem.the problem is when i compile in linux the lazarus application close it self.why? thank's faread, -