Re: [lazarus] Problem with carbon apps

2007-05-25 Thread Mattias Gärtner
Zitat von Felipe Monteiro de Carvalho [EMAIL PROTECTED]: Hi, I created a trivial carbon-lcl app (just an empty form), compiled it successfully, but when I run it from the command line, it will refuse to receive focus. I mean, I click on it, but it doesn' t go to the top of z order, and

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-29 Thread Mattias Gärtner
Zitat von A.J. Venter [EMAIL PROTECTED]: DoubleBuffered is a hint for the interface. The gtk2 intf always paints double buffered for each gdkwindow. That means paint events are double buffered, other painting not. The gtk1 intf has almost no doublebuffering. I'm not sure about the other

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

2007-07-16 Thread Mattias Gärtner
Zitat von Luca Olivetti [EMAIL PROTECTED]: En/na Mattias Gaertner ha escrit: On Mon, 16 Jul 2007 09:03:45 +0200 Luca Olivetti [EMAIL PROTECTED] wrote: En/na Mattias Gaertner ha escrit: Lazarus does not expand the unix shell ~ shortcut. And '*', '?' are normal characters. Ok, that

Re: [lazarus] *.xml config files under Windows

2007-07-19 Thread Mattias Gärtner
Zitat von Marco van de Voort [EMAIL PROTECTED]: On Thu, Jul 19, 2007 at 01:06:36AM +0200, Vincent Snijders wrote: This is likely to change before 1.0 to the some applictiondata directory, as given by the sysutils.GetAppConfigDir (or what is that function name?). Keep it versioned, or you

Re: [lazarus] *.xml config files under Windows

2007-07-19 Thread Mattias Gärtner
Zitat von Marco van de Voort [EMAIL PROTECTED]: On Thu, Jul 19, 2007 at 06:00:55PM +0200, Mattias G?rtner wrote: Zitat von Marco van de Voort [EMAIL PROTECTED]: On Thu, Jul 19, 2007 at 01:06:36AM +0200, Vincent Snijders wrote: This is likely to change before 1.0 to the some

Re: [lazarus] Making Configure Build Lazarus more user friendly

2007-07-23 Thread Mattias Gärtner
Zitat von Al Boldi [EMAIL PROTECTED]: Giuliano Colla wrote: The configure build lazarus IDE provides a lot of options which the majority of us don't use, but we're however forced to check/uncheck. Therefore I've added a small Group Box, named Quick Configure Options with thre buttons:

Re: [lazarus] Form designer code inside .pas unit

2007-07-23 Thread Mattias Gärtner
Zitat von Al Boldi [EMAIL PROTECTED]: Michael Van Canneyt wrote: On Mon, 23 Jul 2007, Al Boldi wrote: Graeme Geldenhuys wrote: So again, what is the pros and cons between the two design choices when using the Object Pascal language? .dfm is good for beginners, who get confused

Re: [lazarus] Code Folding regions in Lazarus

2007-07-23 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys [EMAIL PROTECTED]: Hi, Does Lazarus support some sort of code folding 'region' keyword like the Visual Studio IDE does? I know Lazarus automatically handle begin..end etc. But can the user add there own code folding regions around their code. Here is an

Re: [lazarus] Form designer code inside .pas unit

2007-07-24 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys [EMAIL PROTECTED]: On 23/07/07, Mattias Gärtner [EMAIL PROTECTED] wrote: The lfm reader/writer was at hand at the time. Nowadays we could use the xml reader/writer too, although that is less human readable. Using pascal source as file format would be possible

Re: [lazarus] New User Friendly BuildLazDialog patch

2007-07-25 Thread Mattias Gärtner
Zitat von Giuliano Colla [EMAIL PROTECTED]: Felipe Monteiro de Carvalho ha scritto: could you post a screenshot? thanks, Second screenshot. That's how it looks if you've selected Advanced. Note: You can not use the space right of the checkboxes, because for example in the german version

Re: [lazarus] New User Friendly BuildLazDialog patch

2007-07-25 Thread Mattias Gärtner
Zitat von Al Boldi [EMAIL PROTECTED]: Graeme Geldenhuys wrote: On 25/07/07, Michael Van Canneyt [EMAIL PROTECTED] wrote: All in all I think it would be better to have a PageControl with 2 tabs Quick build and Custom. It's cleaner and more conform the other dialogs in the IDE. The

Re: [lazarus] What about a Lazarus church to raise money?

2007-07-30 Thread Mattias Gärtner
Zitat von Giuliano Colla [EMAIL PROTECTED]: David Lyon ha scritto: Felipe Monteiro de Carvalho wrote: I guess that the hard part will be finding a volunteer to make the legal paper work required by a foundation, not to mention reading the legislation about that and finding the best

Re: [lazarus] arm-linux, system.ppu not found, when creating a new project.

2007-08-21 Thread Mattias Gärtner
Zitat von Bernd Mueller [EMAIL PROTECTED]: -Tlinux -XParm-linux- -FDc:\windows\app\lazarus0922\fpc\2.1.4_8169\bin\arm-linux -FuC:\windows\app\lazarus0922\fpc\2.1.4_8169\units\arm-linux\ -FuC:\windows\app\lazarus0922\fpc\2.1.4_8169\units\arm-linux\*

[lazarus] IDE, start once, open files

2007-09-11 Thread Mattias Gärtner
Is there already a cross platform component for applications to check if it is already running and if yes then pass some commands to the already application? For example clicking on files in the file browser should not open a second instance, but tell the already running instance to open the

Re: [lazarus] Editor issues

2007-09-11 Thread Mattias Gärtner
Zitat von Lepidosteus [EMAIL PROTECTED]: [...] But the editor seems to 1 - lack some features For exemple, when typing begin, I've been used to delphi writing two new lines, end;, ans putting me on the middle line, just where I should type. I understand this is code templates or something

Re: [lazarus] Lazarus on one window (aka SDI)

2007-09-11 Thread Mattias Gärtner
Zitat von Luca Olivetti [EMAIL PROTECTED]: En/na Marc Weustink ha escrit: I've the same layout in separate windows. I never can get used to delphi versions where they are placed in one window, since whin I want to edit some properties in the object inspector, the whole is covering my form

Re: [lazarus] Supporting Visual Form Inheritance in a GUI Designer

2007-09-18 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys [EMAIL PROTECTED]: Hi, This is not really related to Lazarus, but only me asking for advice from developers that handled this issue before that I have now. I created (ported) a very basic GUI Designer for the fpGUI toolkit. Purely for the purpose of speeding up

Re: [lazarus] Default project source code.

2007-09-19 Thread Mattias Gärtner
Zitat von Michael Van Canneyt [EMAIL PROTECTED]: On Wed, 19 Sep 2007, Vincent Snijders wrote: A call for opinion on http://www.freepascal.org/mantis/bug_view_advanced_page.php?bug_id=9605 A *.lpr file opens with uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads,

Re: [lazarus] App Localization

2007-10-01 Thread Mattias Gärtner
Zitat von Mattias Gaertner [EMAIL PROTECTED]: On Mon, 01 Oct 2007 00:15:16 +0100 Luis Rodrigues [EMAIL PROTECTED] wrote: Hi, Attached there is a patch do implement app localization automatically. If Enable 18n is checked in project options when an app is compiled a appname.po file

Re: [lazarus] App Localization

2007-10-01 Thread Mattias Gärtner
Zitat von Mattias Gärtner [EMAIL PROTECTED]: Zitat von Mattias Gaertner [EMAIL PROTECTED]: On Mon, 01 Oct 2007 00:15:16 +0100 Luis Rodrigues [EMAIL PROTECTED] wrote: Hi, Attached there is a patch do implement app localization automatically. If Enable 18n is checked

Re: [lazarus] App Localization

2007-10-02 Thread Mattias Gärtner
Zitat von Luis Rodrigues [EMAIL PROTECTED]: Basically you enable the experimental LRT code *and* remove the working and used RST code. So it breaks existing packages/projects. This must be improved. See below. I didn't remove the RST code, .rst is generated by fpc so it still gets

Re: [lazarus] UTF-8 vs UTF-16 support

2007-10-08 Thread Mattias Gärtner
Zitat von Razvan Adrian Bogdan [EMAIL PROTECTED]: On 10/8/07, Luca Olivetti [EMAIL PROTECTED] wrote: En/na Luca Olivetti ha escrit: You have to go through the string for UTF-8 and UTF-16 encodings so the advantages are at least questionable... Yes, but my (wrong) premise is that

Re: [lazarus] App Localization

2007-10-08 Thread Mattias Gärtner
Zitat von Vincent Snijders [EMAIL PROTECTED]: Razvan Adrian Bogdan schreef: The delphi gnu gettext project has a tool that does a lot of things, allows translating forms, strings, etc, it could be used a a model for something similar in Lazarus and why not integrate something like POEdit

Re: [lazarus] App Localization

2007-10-08 Thread Mattias Gärtner
Zitat von Luis Rodrigues [EMAIL PROTECTED]: Just tried to being implementing this for but it to work there would have to be a function TLRSObjectReader.GetStackPath(Root: TComponent): string; for me to use in procedure TDefaultTranslator.TranslateStringProperty to get the component path

Re: [lazarus] UTF-8 vs UTF-16 support

2007-10-08 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys [EMAIL PROTECTED]: On 08/10/2007, Razvan Adrian Bogdan [EMAIL PROTECTED] wrote: char would be nice too, maybe even implemented in FPC for UTF8string such as Lenght(utf8string) or indexing utf8string[1] to return the char not the byte as UTF32. In fpGUI I have

Re: [lazarus] UTF-8 vs UTF-16 support

2007-10-08 Thread Mattias Gärtner
Zitat von Luca Olivetti [EMAIL PROTECTED]: En/na Mattias Gärtner ha escrit: For most string operations, like computing the byte length or comparing strings ASCII case insensitive, UTF-8 is 100% compatible. but not if you need char length, say limiting a text to 40 characters

Re: [lazarus] [R1259x][GTK2][Ubuntu] SegV in APPLYMASK

2007-10-30 Thread Mattias Gärtner
Zitat von Paul Ishenin [EMAIL PROTECTED]: Milipili Houbi wrote: I have found a way to demonstrate the problem. here is the protocol to reproduce the error with the last rev of lazarus (12641). I have not test with previous one. - Env: Ubuntu 7.10, GTK2 - Create a new project -

Re: [Lazarus] project options - version info (on a linux program)

2007-10-30 Thread Mattias Gärtner
Zitat von Alvise Nicoletti [EMAIL PROTECTED]: Mattias Gaertner ha scritto: On Thu, 25 Oct 2007 17:52:42 +0200 Alvise Nicoletti [EMAIL PROTECTED] wrote: Hi... Configuring a program into project options I have a application.title:= 'title' added after the begin of my program...

Re: [lazarus] Adding AllowFractionalPositioning to TCarbonDeviceContext

2007-11-05 Thread Mattias Gärtner
Zitat von Giuliano Colla [EMAIL PROTECTED]: Mattias Gaertner ha scritto: On Mon, 05 Nov 2007 01:40:06 +0100 Giuliano Colla [EMAIL PROTECTED] wrote: Font size can only be given in either an integer number of pixels, or in Point Size, which (currently) gets rounded to an integer

Re: [lazarus] Primitive classes in fpc/lazarus

2007-11-27 Thread Mattias Gärtner
Zitat von Marco van de Voort [EMAIL PROTECTED]: On Tue, Nov 27, 2007 at 12:42:28PM +0100, Vincent Snijders wrote: It would be nice if the fpcdoc xml files could be easily installed via packages. What do you mean? What is missing? For example: I don't see any of the xml files in the

Re: [lazarus] Back to 0.9.22

2007-11-29 Thread Mattias Gärtner
Zitat von Arí Ricardo Ody [EMAIL PROTECTED]: I wasn't talking about someone find errors, but I was thinking that if the trouble with some legacy code will be fixed... I sent yesterday a project of mine that has problems when compiled in 0.9.24. I think it would help you with the cause(s).

Re: [lazarus] Question about packages and units

2008-01-08 Thread Mattias Gärtner
Zitat von Joost van der Sluis [EMAIL PROTECTED]: Hi al, If you install the fpWeb package, create a new cgi-application with a TFPWebModule. You can drop a THTMLEntityProducer on that module. So far so good. Then you can add an OnWritePage event, but thereafter the program will nog compile

Re: [lazarus] ToDo List not working in IDE

2008-01-16 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys [EMAIL PROTECTED]: Hi, Is anybody currently busy working on the ToDo List feature in the IDE? It's not currently working (v0.9.25 r13293M i386-linux-gtk) - no items get displayed and sometimes even crashes the IDE (no error message output - a direct terminate to

Re: [lazarus] Exception for codehelp

2008-01-21 Thread Mattias Gärtner
Zitat von Vincent Snijders [EMAIL PROTECTED]: Mattias Gaertner schreef: On Mon, 21 Jan 2008 09:27:27 +0100 Damien Gerard [EMAIL PROTECTED] wrote: On Jan 21, 2008, at 9:22 AM, Vincent Snijders wrote: Damien Gerard schreef: I have got this when using Lazarus :

Re: [lazarus] What is wrong with the Toolbar?

2008-01-22 Thread Mattias Gärtner
Zitat von Paul Ishenin [EMAIL PROTECTED]: Damien Gerard wrote: On Jan 22, 2008, at 9:24 AM, Michael Van Canneyt wrote: On Tue, 22 Jan 2008, Graeme Geldenhuys wrote: On 22/01/2008, Paul Ishenin [EMAIL PROTECTED] wrote: Whoever broke it, would you mind taking a look at fixing

Re: [lazarus] Making the IDE work with C/C++

2008-01-22 Thread Mattias Gärtner
Zitat von Al Boldi [EMAIL PROTECTED]: Mattias Gaertner wrote: Al Boldi [EMAIL PROTECTED] wrote: Exactly right! The best feature is find declaration/implementation, but this only works for pascal code. What is needed to make this work for c/c++? Maybe a plugin for ctags can be

Re: [lazarus] Introduction

2008-01-22 Thread Mattias Gärtner
Zitat von Giuliano Colla [EMAIL PROTECTED]: [...] Michael Van Canneyt ha scritto: On Mon, 21 Jan 2008, Giuliano Colla wrote: Florian Klaempfl ha scritto: Lord Satan schrieb: [...] That's correct. And if they had used OpenGL for it, it would be hardware accelerated, cross plattform

Re: [lazarus] Introduction

2008-01-22 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys [EMAIL PROTECTED]: On 22/01/2008, Mattias Gärtner [EMAIL PROTECTED] wrote: About: move from LCL to widgetset That was the goal of lazarus from the beginning. OK, I get that and respect the choice. I'm simply wondering (from a personal point of view) if it's

Re: [lazarus] Making the IDE work with C/C++

2008-01-22 Thread Mattias Gärtner
Zitat von Al Boldi [EMAIL PROTECTED]: Mattias Gärtner wrote: Zitat von Al Boldi [EMAIL PROTECTED]: Mattias Gaertner wrote: Al Boldi [EMAIL PROTECTED] wrote: Exactly right! The best feature is find declaration/implementation, but this only works for pascal code. What

Re: [lazarus] Introduction

2008-01-22 Thread Mattias Gärtner
Zitat von Lord Satan [EMAIL PROTECTED]: [..] - widgetset specific goodies: e.g. tab menu of gtk notebook, unicode input method, assistive technology, hardware acceleration, network support (X client/server modell). @Mattias: What hw acceleration are you talking about? I don't know of

Re: [lazarus] Introduction

2008-01-22 Thread Mattias Gärtner
Zitat von Giuliano Colla [EMAIL PROTECTED]: [...] Well, Lazarus is intended to develop commercial applications, not GPL utilities to be added to Gnome desktop. Oops. Sorry, I didn't know. Commercial applications take care to provide their own specific look. If we look at some widely known

Re: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2008-01-23 Thread Mattias Gärtner
Zitat von John [EMAIL PROTECTED]: Chris Kirkpatrick wrote: Hi John, Joost and Adrian - snip So I should very much like to collaborate with you guys in improving the documentation of sqldb and fc-db, as well as the stuff in the LCL. I agree we should try to use the FPDoc approach as

Re: [lazarus] FPDoc tooltip

2008-01-25 Thread Mattias Gärtner
Zitat von ik [EMAIL PROTECTED]: Hi, I noticed that I can view comments that where added above a function on lazarus as FPDoc, however, it ignores line breaks inside the comment, and does not wrap text. It is a new feature and not yet complete. I will fix the line breaks. So I wonder if

Re: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2008-01-25 Thread Mattias Gärtner
Zitat von Chris Kirkpatrick [EMAIL PROTECTED]: Hi Mattias - I note from the bug report 0010686 that you have fixed the immediate problem, and on re-building Lazarus from SVN this morning I find that I can now save short descriptions from LazDoc in the IDE, and also things that I type in

Re: [lazarus] FPDoc tooltip

2008-01-25 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys [EMAIL PROTECTED]: On 25/01/2008, Mattias Gärtner [EMAIL PROTECTED] wrote: The default viewer is a simple TLabel. When you install the package TurboPowerIProDsgn you get a HTML control. The hint not only shows comment, but fpdoc help too and fpdoc help can

Re: [lazarus] Search paths

2008-01-30 Thread Mattias Gärtner
Zitat von Marius [EMAIL PROTECTED]: Vincent Snijders wrote: Create a package for the units. Should i create a (dummy) package to add search paths to lazarus??? Installing and recompiling the whole ide just to add a few paths sounds kind of stupid. (The tools do not contain any design

Re: [lazarus] I still have an ifdef request

2008-01-30 Thread Mattias Gärtner
Zitat von Peter Vreman [EMAIL PROTECTED]: Yesterday I posted a request for a way to improve ifdef handling, but the discussion was led astray by my example, and turned into widgesets, which was not the real issue. So I repeat my request: Sometimes ifdefs are unavoidable, as when

Re: [lazarus] I still have an ifdef request

2008-01-30 Thread Mattias Gärtner
Zitat von Giuliano Colla [EMAIL PROTECTED]: Yesterday I posted a request for a way to improve ifdef handling, but the discussion was led astray by my example, and turned into widgesets, which was not the real issue. So I repeat my request: Sometimes ifdefs are unavoidable, as when they're

Re: [lazarus] Found serious bug in win32 interface #2

2008-01-30 Thread Mattias Gärtner
Zitat von Andrey Gusev [EMAIL PROTECTED]: --- interfaces/win32/win32callback.inc (revision 13905) +++ interfaces/win32/win32callback.inc (working copy) @@ -504,7 +504,7 @@ if (ControlDC = 0) or not needParentPaint then begin DCIndex := Windows.SaveDC(PaintMsg.DC); -

Re: [lazarus] IDE createds unwanted dependencies

2008-02-05 Thread Mattias Gärtner
Zitat von Giuliano Colla [EMAIL PROTECTED]: I'm trying to implement an usable port of CLX to Lazarus. So I've created a CLX package which declares to provide the same as LCL. So far it works as expected, but unfortunately CLX unit names are different from VCL/LCL: QForms instead of Forms,

Re: [lazarus] Who is the controlling 'native' widget set in LCL?

2008-02-07 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys [EMAIL PROTECTED]: On 07/02/2008, Paul Ishenin [EMAIL PROTECTED] wrote: In summary. TButton.Color is not available in LCL because Win32 doesn't allow a button face to change color without custom drawing. Yet other widget sets do like Qt and GTK1. That