Re: [Lazarus] My Island_maker D5/7 port test code - Error: Incompatible type for arg no. 1: Got "TTranslateString", expected "QWord"

2010-05-21 Thread Mattias Gaertner
On Sat, 22 May 2010 16:09:10 +1000 Peter E Williams wrote: > max_x := inttostr( max_x_param.text ); > // ^^^ it is a TEdit > main_island.pas(270,41) Error: Incompatible type for arg no. 1: Got > "TTranslateString", expected "QWord" Use StrToInt or StrToIntDef(,0)

Re: [Lazarus] IDE layouts

2010-05-22 Thread Mattias Gaertner
On Sat, 22 May 2010 09:29:05 +0200 Sven Barth wrote: > Am 22.05.2010 06:15, schrieb Reimar Grabowski: > > On Fri, 21 May 2010 21:26:22 +0200 > > Hans-Peter Diettrich wrote: > > > >> B) With multiple editor windows, the layout includes the files, open in > >> an editor window. > > > > Can you exp

Re: [Lazarus] New AutoSize issue

2010-05-22 Thread Mattias Gaertner
On Fri, 21 May 2010 13:22:13 +0200 faber wrote: > WOW. I found that Windows standard composition is the problem. When I switch > to Classic Windows on XP then everything is OK. What is "Windows standard composition"? Mattias -- ___ Lazarus mailing li

Re: [Lazarus] Find In Files

2010-05-22 Thread Mattias Gaertner
On Sat, 22 May 2010 11:08:27 -0400 Lee Jenkins wrote: > > Is there a way to instruct the IDE to search packages associated with the > current project to be searched as well as files directly belonging to the > project with "Find In Files"? No. But the code browser can search in all used packag

Re: [Lazarus] Hook TComponent streaming system

2010-05-22 Thread Mattias Gaertner
On Sat, 22 May 2010 18:33:47 -0300 Luiz Americo Pereira Camara wrote: > Michael Van Canneyt escreveu: > > > > > > On Sat, 22 May 2010, Luiz Americo Pereira Camara wrote: > > > >> I'd like to set some properties of a TComponent(TForm) through RTTI > >> before TComponent.Loaded is called. > >> > >

Re: [Lazarus] The default local HTML Help path is blank -- what should it be?

2010-05-23 Thread Mattias Gaertner
On Sun, 23 May 2010 09:25:55 +1000 Peter E Williams wrote: > Hi All, > > I asked this question in my previous post but in hindsight I should have > posted it as a separate question. > > > Selecting Help from the message window gives this error. The path to > > the Help Help was blank even tho'

Re: [Lazarus] Fastest way to draw

2010-05-23 Thread Mattias Gaertner
On Sun, 23 May 2010 18:47:08 +0800 Brad Campbell wrote: > Mattias Gaertner wrote: > >> > >> There has to be a faster way to get data to the screen in a cross-platform > >> fashion (I'm developing > >> on Linux but ultimately I'll be compiled

Re: [Lazarus] weird issue with executing project in lazarus

2010-05-23 Thread Mattias Gaertner
On Sun, 23 May 2010 16:14:56 +0300 ik wrote: > Hello List, > > I'm working with Lazarus 0.9.29 r23597:25589M FPC 2.5.1 x86_64-linux-gtk 2 > (beta) . > When I'm trying to execute (using Run or F9), lazarus trying to execute for > some reason the name of the file that the tab is opened at rather t

Re: [Lazarus] Hook TComponent streaming system

2010-05-23 Thread Mattias Gaertner
On Sun, 23 May 2010 22:49:42 -0300 Luiz Americo Pereira Camara wrote: > Michael Van Canneyt escreveu: > > On Sat, 22 May 2010, Luiz Americo Pereira Camara wrote: > >> Mattias Gaertner escreveu: > >>> What do you want to achieve? Why do you think you have to set a

Re: [Lazarus] Save from created in runtime to lfm

2010-05-24 Thread Mattias Gaertner
On Sun, 23 May 2010 23:28:46 -0300 Luiz Americo Pereira Camara wrote: > I have the following code: > > Form := TForm.Create(nil); > //add children Controls to Form > > The form is show in runtime correctly > > What i want is to save this created form (and its children) into a lfm file See

Re: [Lazarus] Hook TComponent streaming system

2010-05-24 Thread Mattias Gaertner
On Sun, 23 May 2010 23:37:29 -0300 Luiz Americo Pereira Camara wrote: > Mattias Gaertner escreveu: >[...] > Here's the actual code (calls a generic TForm descendant): > > The article: http://lazarusroad.blogspot.com/ The article does not explain why the properties must b

Re: [Lazarus] Hook TComponent streaming system

2010-05-24 Thread Mattias Gaertner
On Mon, 24 May 2010 07:01:21 -0300 Luiz Americo Pereira Camara wrote: > Mattias Gaertner escreveu: > > On Sun, 23 May 2010 23:37:29 -0300 > > Luiz Americo Pereira Camara wrote: > > > > > >> Mattias Gaertner escreveu: > >> [...] > >> He

Re: [Lazarus] quick opinion poll / pascal highlighting "case"

2010-05-24 Thread Mattias Gaertner
On Mon, 24 May 2010 13:36:47 +0100 Martin wrote: > What are the opinions. Do you like/dislike the new highlighting of > case-labels? > e.g >case a of > *foo* : > *bar*, *def*: >end; > > In your opinion, should it be: > - off by default > - italics > - underline > - other / col

Re: [Lazarus] quick opinion poll / pascal highlighting "case"

2010-05-24 Thread Mattias Gaertner
On Mon, 24 May 2010 11:20:05 -0400 Doug Chamberlin wrote: > On 5/24/2010 11:03 AM, Alexander Klenin wrote: > > > > IMO, case labels are constants, and should be highlighted as such. > > > > +1 for handling just like any other constant value Like string or like number or like identifier? M

Re: [Lazarus] component installation failure

2010-05-25 Thread Mattias Gaertner
On Tue, 25 May 2010 05:40:40 +0200 Marc Santhoff wrote: > Hi, > > having not made any visual components since Delphi2 I have to ask: > > 1. > When I want to install a visual component to lazarus, does it need to > have a package file (.lpk) or is the classic way of installing from the > compone

Re: [Lazarus] Additional compiler config file is ignored by IDE

2010-05-25 Thread Mattias Gaertner
On Tue, 25 May 2010 11:06:53 +0200 Graeme Geldenhuys wrote: > On 25 May 2010 10:13, Vincent Snijders wrote: > > > > And if you copy the options in Show options to a command line after the > > compiler path, what happens then? > > OK, I finally figured out the problem. My *.cfg files had one line

Re: [Lazarus] clarification / Re: constant-highlight ? [Re: quick opinion poll / pascal highlighting "case"]

2010-05-25 Thread Mattias Gaertner
On Tue, 25 May 2010 10:36:30 +0200 Jürgen Hestermann wrote: >[...] > I always follow a strict indentation rule (each block is indented by 3 > characters, matching BEGINs and ENDs are either on the same line or are > aligned in the same column, all commands of a block start on the same column >

Re: [Lazarus] component installation failure

2010-05-25 Thread Mattias Gaertner
On Tue, 25 May 2010 19:52:57 +0200 Marc Santhoff wrote: >[...] > > > 2. > > > When I make a package file for an ancient Delphi component to port to > > > lazarus and it compiles and installs but doesnt show up in the IDE > > > although it is found in the package list, what has gone wrong there? >

Re: [Lazarus] component installation failure

2010-05-26 Thread Mattias Gaertner
On Wed, 26 May 2010 08:48:23 +0200 Marc Santhoff wrote: > Am Dienstag, den 25.05.2010, 21:07 +0200 schrieb Mattias Gaertner: >[...] > > >[...] > > > But I have used "make bigide" because I needed to recompile lazarus > > > itself after the threading er

Re: [Lazarus] component installation failure

2010-05-26 Thread Mattias Gaertner
On Wed, 26 May 2010 20:07:12 +0200 Marc Santhoff wrote: >[] > > > If I only use lazarus to configure packages, like removing the > > > unfinished and thus questionable one I'm working on, exit afterwards and > > > do "gmake bigide" anything works well. The registration and > > > deregistration of

Re: [Lazarus] Regex and Syntax Highlighting

2010-05-26 Thread Mattias Gaertner
On Wed, 26 May 2010 15:24:33 +0200 Graeme Geldenhuys wrote: > 2010/5/26 Mattias Gärtner : > > > > This is a fake. But a nice one. See below. > > I still don't understand why you say it's fake? I see syntax > highlighter code, so it works. I apologize. Apparently the machine where I tested had

Re: [Lazarus] Regex and Syntax Highlighting

2010-05-26 Thread Mattias Gaertner
On Wed, 26 May 2010 20:09:47 +0100 Martin wrote: > On 26/05/2010 19:54, Mattias Gaertner wrote: > > > > Apparently it uses some kind of line state too and only updates > > till the visible area. Maybe synedit can do the same. At the moment > > syndit u

Re: [Lazarus] Regex and Syntax Highlighting

2010-05-26 Thread Mattias Gaertner
On Wed, 26 May 2010 20:41:39 +0100 Martin wrote: > On 26/05/2010 20:29, Mattias Gaertner wrote: > > On Wed, 26 May 2010 20:09:47 +0100 > > Martin wrote: > > > >> On 26/05/2010 19:54, Mattias Gaertner wrote: > >> > >>> Apparently i

Re: [Lazarus] Auto-identation

2010-05-27 Thread Mattias Gaertner
On Thu, 27 May 2010 12:07:08 +0400 dmitry boyarintsev wrote: > Hello Developers > > Need your help and suggestion. I can't switch off the auto-identation. > I've the option off in Editor->General->Indent and Tabs->"Auto indent" > > But, whenever I'm typing: > > for i:=1 to N do begin| <-- pre

Re: [Lazarus] contnrs.pp(11, 35) Fatal: Can't find unit contnrs used by Masks

2010-05-27 Thread Mattias Gaertner
On Thu, 27 May 2010 12:04:02 +0200 Michael Schnell wrote: > Sorry for bothering you again. > > I (after compiling and installing fpc) again get this message when I > create a new project, but an existing project still does compile OK. Probably you have somewhere an old ppu. > The FPC source

Re: [Lazarus] "unexpected feature" of TPaintBox

2010-05-27 Thread Mattias Gaertner
On Thu, 27 May 2010 12:30:44 +0200 (CEST) Engelbert Buxbaum wrote: > Hi, > > the code below is part of a program to draw the Mandelbrot-set. It works, if > the canvas is small (stamp-size). However, if the size is increased to > 800x800, the middle 1/3 of the image is replaced by a vertical gr

Re: [Lazarus] attn mattias / notebook onchange / sourceeditor

2010-05-27 Thread Mattias Gaertner
On Thu, 27 May 2010 14:11:45 +0100 Martin wrote: > they are no longer triggered at all? Not even if user clicks on another tab? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listi

Re: [Lazarus] fileutil unit dependencies

2010-05-27 Thread Mattias Gaertner
On Thu, 27 May 2010 15:47:46 +0200 Andrea Mauri wrote: > Why FileUtil unit uses LCL? There is a comment in the unit: >// For Smart Linking: Do not use the LCL! > I would like to use some functions included in FileUtil (e.g. > ExtractFileNameOnly) also in a Console Application without LCL >

[Lazarus] virus note about 0.9.28.2 package?

2010-05-27 Thread Mattias Gaertner
Does someone know, if any virus scanner does not like the lazarus-0.9.28.2-fpc-2.2.4-win32.exe ? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] clarification / Re: constant-highlight ? [Re: quick opinion poll / pascal highlighting "case"]

2010-05-28 Thread Mattias Gaertner
On Fri, 28 May 2010 09:15:19 +0200 Graeme Geldenhuys wrote: > On 27 May 2010 21:25, waldo kitty wrote: > >> if x then begin > >>   code > >> end else begin > >>   if y then begin > >>     code > >>   end else begin > >>     code > >>   end; > >> end; > >> > > > > the above format hurts my eyes...

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-28 Thread Mattias Gaertner
On Fri, 28 May 2010 15:26:30 +0200 Sven Barth wrote: > Hi! > > Am 28.05.2010 14:12, schrieb Adem: > > Given that I have some time to spare now, I would like to tackle using > > FPC's own parser/tokenizer engine for a code formatter. > > > > Trouble is, I am not familiar enough with the internals

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-28 Thread Mattias Gaertner
On Fri, 28 May 2010 20:50:15 +0200 Florian Klaempfl wrote: > > It is the only way the code formatter can keep up with new features of FPC. > > FPC isn't moving that fast nowadays regarding syntax so keeping up > shouldn't be that hard. Maybe not in the last month, but it definitely got in the l

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-30 Thread Mattias Gaertner
On Sat, 29 May 2010 17:07:31 +0200 Marco van de Voort wrote: >[...] > ptop has an own parser too btw. So that makes at least 4 or 5 parsers in the > combined FPC/lazarus projects > > - the compiler's > - fpdoc/fcl-passrc > - ptop > - lazarus codetools which has several parsers, depending on usa

Re: [Lazarus] too many TXMLConfigs! (att: fcl-xml package maintainers)

2010-05-30 Thread Mattias Gaertner
On Sat, 29 May 2010 19:41:52 +0300 patspiper wrote: > On 05/29/2010 09:35 AM, dmitry boyarintsev wrote: > > I'm a bit puzzled there're 2 units in fpc-xml: xmlcfg and xmlconfg > > > > Both of them declare TXMLConfig class. The interfaces of both classes > > seems to be quite identical. > > > LCL

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-30 Thread Mattias Gaertner
On Sat, 29 May 2010 15:10:59 +0400 dmitry boyarintsev wrote: > On Sat, May 29, 2010 at 2:30 PM, Graeme Geldenhuys > wrote: > > So what are the main reasons nobody wants to use the fcl-passrc > > parser? > > Lack of the expression parser? The expression parser of the codetools is quite independ

Re: [Lazarus] Installing Components

2010-05-30 Thread Mattias Gaertner
On Sun, 30 May 2010 10:28:24 +0100 "Technical" wrote: > I have a problem with installing components on upgrading from 0.9.26 to > 0.9.29. > > I have installed several extra components on the previous versions of > Lazarus (0.9.26) > which allowed grids to be aligned within each cell, and for e

Re: [Lazarus] Request

2010-05-30 Thread Mattias Gaertner
On Sun, 30 May 2010 12:54:34 -0300 "Leonardo M." Ramé wrote: > The other day I was showing Lazarus to an friend (a Delphi fanatic) to > let him know how it was improved since the last time he looked at it, he > spend the whole afternoon working with it, and he was amazed. The only > thing he didn

Re: [Lazarus] Question about SVN version stability

2010-05-30 Thread Mattias Gaertner
On Sun, 30 May 2010 18:28:59 +0200 theo wrote: > I have a question regarding the current status of trunk. > I have a self written component which is going into eternal loop in the > area BoundsRect. > It worked for several versions before current 0.9.29. Several means what: <10 or <100 or <1000?

Re: [Lazarus] Attn Felipe, Lazarus Digest, Vol 28, Issue 174

2010-05-31 Thread Mattias Gaertner
On Mon, 31 May 2010 13:39:29 +0200 Felipe Monteiro de Carvalho wrote: >[...] > > Felipe, can you update the page for 0.9.28? > > Which page are we talking about? Except for the numbers changing, I > don't know any change in the install process from 0.9.26 to 0.9.28 to > snapshot 0.9.29 Yes, the

Re: [Lazarus] Minimizing Lazarus apps

2010-05-31 Thread Mattias Gaertner
On Mon, 31 May 2010 18:31:59 -0300 Antônio wrote: > Why Lazarus apps randomly minimizes at the left of the screen? Is it a bug? What platform? What lazarus version? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists

Re: [Lazarus] How do I switch from viewing a form in the source editor to viewing in the design GUI interface?

2010-06-01 Thread Mattias Gaertner
On Wed, 02 Jun 2010 08:47:10 +1000 Peter E Williams wrote: > Hi Mattias, > > Mattias Gärtner nc-gaertnma at netcologne.de > Tue Jun 1 16:19:10 CEST 2010 > > Zitat von Peter E Williams : > > > > Hi All, > > > > > > How do I switch from viewing a form in the source editor to viewing > > in > >

Re: [Lazarus] Recent changes broke "Editor Toolbar" add-on

2010-06-03 Thread Mattias Gaertner
On Thu, 3 Jun 2010 12:07:35 +0200 Graeme Geldenhuys wrote: > Hi, > > Anybody recently working on the editor window know what they did? The > Editor Toolbar displays the configuration button, but all the user > defined buttons are not displayed any more. :-( > > I updated my Lazarus to latest SV

Re: [Lazarus] Funny effect in File-New

2010-06-03 Thread Mattias Gaertner
On Thu, 3 Jun 2010 17:05:57 +0200 (CEST) Michael Van Canneyt wrote: > > Please try the following > > File - New > > - Select nothing, press 'Ok' button at once. > - You get a message, saying that you should select something first. > - Click message away. > - File-New dialog closes anyway. Fix

Re: [Lazarus] Installing FPC/Lazarus on Windows using SVN, no binaries

2010-06-05 Thread Mattias Gaertner
On Sat, 5 Jun 2010 13:13:13 -0300 Marcos Douglas wrote: > On Fri, Jun 4, 2010 at 4:47 PM, Marcos Douglas wrote: > > Hi all, > > > > I found the problem: fpc.cfg > > Tip: http://www.mail-archive.com/laza...@miraclec.com/msg20003.html > > > > Before, I had this file created by Installer. I just co

Re: [Lazarus] Installing FPC/Lazarus on Windows using SVN, no binaries

2010-06-05 Thread Mattias Gaertner
On Sat, 5 Jun 2010 13:43:22 -0300 Marcos Douglas wrote: > Hi Mattias, > > On Sat, Jun 5, 2010 at 1:22 PM, Mattias Gaertner > wrote: > > > > Check Environment Options / compiler path. > > If there is 'fpc.exe' then the IDE has not found fpc.exe in the >

Re: [Lazarus] Run builds with different FPC versions

2010-06-07 Thread Mattias Gaertner
On Mon, 07 Jun 2010 17:05:17 + Mark Morgan Lloyd wrote: > Over the last couple of days I've partially regressed and now have > lazarus-stable and lazarus-oldstable directories containing 0.9.28.3 and > 0.9.26.2. I found that I needed to build these with FPC 2.4.0 and 2.2.4 > respectively,

Re: [Lazarus] Dircleaner example application bug

2010-06-08 Thread Mattias Gaertner
On Mon, 07 Jun 2010 23:54:22 +0100 Howard Page-Clark wrote: > There is a minor bug in the very useful example application dircleaner. > The unit dircleaner.pp around line 441 has > > FileNameFits:=Pos(Ext,FWorkExt)<>0; > > to check if the current file under consideration fits the specified file

Re: [Lazarus] Run builds with different FPC versions

2010-06-08 Thread Mattias Gaertner
On Tue, 08 Jun 2010 09:11:06 + Mark Morgan Lloyd wrote: > Mattias Gaertner wrote: > > >> I find that the "FPC source directory" setting appears to accept a macro > >> $FPCVer(), but the "Compiler path" does not. Irrespective of whether >

Re: [Lazarus] Run builds with different FPC versions

2010-06-08 Thread Mattias Gaertner
On Tue, 08 Jun 2010 10:15:36 + Mark Morgan Lloyd wrote: > Mattias Gaertner wrote: > > > Normally you use the latest and greatest fpc version to compile lazarus > > Except that 0.9.26.2 from SVN won't compile with 2.4.0, I had to revert > to 2.2.4. Correct. I ca

Re: [Lazarus] Run builds with different FPC versions

2010-06-08 Thread Mattias Gaertner
On Tue, 08 Jun 2010 12:24:36 + Mark Morgan Lloyd wrote: > Mattias Gaertner wrote: > > >> Except that 0.9.26.2 from SVN won't compile with 2.4.0, I had to revert > >> to 2.2.4. > > > > Correct. I can understand why you might use the 0.9.26 LCL, bu

Re: [Lazarus] contnrs.pp(11, 35) Fatal: Can't find unit contnrs used by Masks

2010-06-10 Thread Mattias Gaertner
On Thu, 10 Jun 2010 09:28:41 +0200 Michael Schnell wrote: > On 05/31/2010 10:34 PM, Vincent Snijders wrote: > > Michael Schnell schreef: > >> On 05/31/2010 03:30 PM, Bogusław Brandys wrote: > >>> You have broken path setting in fpc.cfg > >> > >> I did guess this. But there might be several fpc.cf

Re: [Lazarus] No help found for...

2010-06-10 Thread Mattias Gaertner
On Thu, 10 Jun 2010 11:16:17 +0200 Graeme Geldenhuys wrote: > On 10/06/2010, Marco van de Voort wrote: > > > > It is not that help that is the problem, it is the context sensitive help > > which is currently done by wiki. > > But with DocView and INF help files, I have solved the context > sens

Re: [Lazarus] Dircleaner example application bug

2010-06-10 Thread Mattias Gaertner
On Thu, 10 Jun 2010 14:45:34 +0100 Howard Page-Clark wrote: > On 08/6/10 8:10, Mattias Gaertner wrote: > > On Mon, 07 Jun 2010 23:54:22 +0100 > > Howard Page-Clark wrote: > > > >> There is a minor bug in the very useful example application dircleaner. > >>

Re: [Lazarus] Cross-platform default browser?

2010-06-10 Thread Mattias Gaertner
On Thu, 10 Jun 2010 16:31:51 + "K. P." wrote: > > > Hi all ~ > am in the process of converting one of our win32 delphi apps to lazarus/cross > platform. > Converting something trivial like > ShellExecute( 0, nil, PChar( url ), nil, nil, SW_SHOWDEFAULT ); > How can I find the default brow

Re: [Lazarus] Multiple LCL instances

2010-06-11 Thread Mattias Gaertner
On Fri, 11 Jun 2010 10:23:36 +0200 Michael Schnell wrote: > There were several discussions, that when doing a DLL or .so with > Lazarus and using same with a Lazarus project, it's an issue that the > DLL will create it's own LCL "application" instance and thus you can't > easily do "normal" GUI s

Re: [Lazarus] openglcontext gtk2

2010-06-11 Thread Mattias Gaertner
On Fri, 11 Jun 2010 11:36:07 +0200 Andrea Mauri wrote: > I fund an error compiling last lazarus svn (Lazarus 0.9.29 r26037M FPC 2.4.0 > i386-linux-gtk 2 (beta)) > > glgtkglxcontext.pas(28,14) Fatal: Can't find unit GtkDef used by > GLGtkGlxContext Fixed in svn. Mattias -- __

Re: [Lazarus] watch window raise exception

2010-06-11 Thread Mattias Gaertner
On Fri, 11 Jun 2010 11:39:48 +0200 Andrea Mauri wrote: > Il 11/06/2010 10.45, Mattias Gärtner ha scritto: > > It works here. > > Can you create a backtrace? > > I tried but no significative output: > > C:\lazarus_svn>gdb startlazarus.exe gdb lazarus.exe Mattias > GNU gdb 6.8 > Copyright (C)

Re: [Lazarus] watch window raise exception

2010-06-11 Thread Mattias Gaertner
On Fri, 11 Jun 2010 11:59:14 +0200 Andrea Mauri wrote: > Il 11/06/2010 11.55, Mattias Gaertner ha scritto: > > gdb lazarus.exe > > here the backtrace > > > C:\lazarus_svn>gdb lazarus.exe > GNU gdb 6.8 > Copyright (C) 2008 Free Software Foundation, Inc. >

Re: [Lazarus] opengl and qt

2010-06-11 Thread Mattias Gaertner
On Fri, 11 Jun 2010 12:34:54 +0200 Andrea Mauri wrote: > I would like to ask if openglcontext works with qt too. If you mean the package lazopenglcontext: no, this is a ToDo. In general: yes, you can use opengl with qt. Mattias -- ___ Lazarus mailing

Re: [Lazarus] SynEdit Syntax implementation help

2010-06-11 Thread Mattias Gaertner
On Fri, 11 Jun 2010 22:28:17 +0300 ik wrote: > Hello List, > > Following old emails of mine, I've started first doing some very simple > syntax, and decided to create a BasicConfig syntax > highlight(the > link is

Re: [Lazarus] hexboard2.pas(22, 42) Error: Identifier not found "WM_USER"

2010-06-14 Thread Mattias Gaertner
On Mon, 14 Jun 2010 22:24:54 +1000 Peter E Williams wrote: > Hi All, > > I have been porting a game written in Delphi 5 Enterprise. > > I am getting an Identifier not found for WM_USER when assigning it to > the WM_USER_APPLICATION_MINIMIZE const. What do I do to correct this > error? I am imp

Re: [Lazarus] [FPC] Cross-compiling target libs

2010-06-14 Thread Mattias Gaertner
On Mon, 14 Jun 2010 18:49:02 +0200 Kjow wrote: > Hi! > I want to compile on Linux an SDL demo for arm by command line. > > No problem for Windows and Linux targets, it compiles and the build > runs well. But when I try to cross-compile for arm I can't find the > right option to tell to fpc where

Re: [Lazarus] Iterate TStringToStringTree

2010-06-15 Thread Mattias Gaertner
On Tue, 15 Jun 2010 11:05:34 +0300 Juha Manninen wrote: > Hi > > Is there a cleaner way to iterate TStringToStringTree? This is the > codetoolsstructs version but the LCL version is almost the same. With fpc 2.5.1 you could write an enumerator: http://wiki.lazarus.freepascal.org/for-in_loop

Re: [Lazarus] Regexp syntax

2010-06-15 Thread Mattias Gaertner
On Tue, 15 Jun 2010 11:12:52 +0300 Juha Manninen wrote: > Hi > > any regexp gurus out there? > For converter I need a regexp that matches a string starting with "Tnt", not > followed by "LX" and captures everything after "Tnt". This actually works: > > ^Tnt([^L][^X].+) This would miss TIntL

Re: [Lazarus] Regexp syntax

2010-06-15 Thread Mattias Gaertner
On Tue, 15 Jun 2010 15:21:52 +0300 Juha Manninen wrote: > > > but I am sure it could be written in a cleaner way. > > > > ^Tnt(([^L]|.[^X]).+) > > Hmmm... It doesn't look very clean. It may be more correct but I am not sure > of that. It is not very clean. It does not match TntL and TntL1.

Re: [Lazarus] Rotated Text for Label or Panel

2010-06-15 Thread Mattias Gaertner
On Tue, 15 Jun 2010 14:20:59 -0500 Andrew Brunner wrote: > Is there a component that offers rotated text drawn on component like > TLabel or TPanel? Feel free to improve TLabel and TPanel to support that. > Rotation via the orientation property on the font object does not seem > to work (at l

Re: [Lazarus] Accessing WinControls from DLL

2010-06-15 Thread Mattias Gaertner
On Wed, 16 Jun 2010 12:34:11 +0930 SteveG wrote: > I believe that 'writing' (without syncronization) to a TWinControl from > a thread or dll function is BAD(tm), but just wondering if the same > applies to 'reading' (properties / etc) ? > > another way - can 'non-mainthread' access to WinContr

Re: [Lazarus] Rotated Text for Label or Panel

2010-06-15 Thread Mattias Gaertner
On Wed, 16 Jun 2010 08:18:51 +0200 zeljko wrote: > On Tuesday 15 June 2010 21:20, Andrew Brunner wrote: > > Is there a component that offers rotated text drawn on component like > > TLabel or TPanel? > > > > Rotation via the orientation property on the font object does not seem > > to work (at le

[Lazarus] moved ToDo list to separate package

2010-06-16 Thread Mattias Gaertner
Hi, The ToDo list was moved to a separate package "todolistlaz". It is installed by default when compiling a "bigide". ToDos: The menu item to show the todos of packages is not yet done. I will do that tomorrow. Mattias -- ___ Lazarus mailing list La

Re: [Lazarus] Adding File to Package -> Fatal: Can't find unit Controls used by ugradbtn

2010-06-17 Thread Mattias Gaertner
On Thu, 17 Jun 2010 18:14:26 +1000 Peter E Williams wrote: > Hi dmitry, > > On Thu, 2010-06-17 at 08:49 +0400, dmitry boyarintsev wrote: > > You need to LCL add to the packege's dependency! > > > > Open the package dialog (the one opened with " Package / New > > Package"), press "Add" button (o

Re: [Lazarus] \lazarus\ide\sourceeditor.pp(9095, 28) Error: Wrong number of parameters specified for call to "Add"

2010-06-17 Thread Mattias Gaertner
On Wed, 16 Jun 2010 12:23:31 -0300 Marcos Douglas wrote: > 2010/6/16 Mattias Gärtner : > > Zitat von Marcos Douglas : > > > >> Hi, > >> I'm using: > >> - WinXP > >> - FPC 2.4.1 > >> - Laz 0.9.29 > >> - SVN Revision 25961 (showing in About form of Lazarus, but if I click > >> in TortoiseSVN\Show l

Re: [Lazarus] (no subject)

2010-06-17 Thread Mattias Gaertner
On Thu, 17 Jun 2010 14:00:10 -0700 (PDT) Daniel Simoes de Ameida wrote: > Hello staff, > > I know everyone > is very busy ... But I would ask your > attention to a small patch that I sent to MantisBT > > http://bugs.freepascal.org/view.php?id=16571 I missed that one. Applied. Mattias -- __

Re: [Lazarus] Component installs without icon on component toolbar - tarraybutton.lrs(1, 17) Error: Identifier not found "LazarusResources"

2010-06-17 Thread Mattias Gaertner
On Fri, 18 Jun 2010 03:38:59 +1000 Peter E Williams wrote: > Hi dmitry & All, > > On Thu, 2010-06-17 at 12:21 +0400, dmitry boyarintsev wrote: > > On Thu, Jun 17, 2010 at 12:14 PM, Peter E Williams > > > Any ideas??? > > > > try to clean up manually "lib" directory at the package dir (remove >

Re: [Lazarus] Why was XML format chosen for storing settings in Lazarus IDE?

2010-06-18 Thread Mattias Gaertner
On Fri, 18 Jun 2010 11:15:02 +0200 Graeme Geldenhuys wrote: > Hi, > > I thought I would pose this question in a new thread seeing that the > other thread got totally high-jacked (and not by me for a change). :) > > I'm curious to know what was the reason behind the decision to use XML > for sto

Re: [Lazarus] Why was XML format chosen for storing settings in Lazarus IDE?

2010-06-18 Thread Mattias Gaertner
On Fri, 18 Jun 2010 14:30:19 +0200 Graeme Geldenhuys wrote: > On 18/06/2010, Mattias Gaertner wrote: > > > >> * Not all code in Lazarus IDE uses the same XML read/write code > > > > What do you mean? > > See the examples of reading/writing to XML (all actual

Re: [Lazarus] Failed to initialize component: No streaming method available

2010-06-18 Thread Mattias Gaertner
On Fri, 18 Jun 2010 13:44:21 +0200 Marco van de Voort wrote: > On Fri, Jun 18, 2010 at 12:17:14PM +0100, Frank Church wrote: > > I keep getting this error message whenever I try to open a form. > > > > What does it mean? > > Form contains a (designtime) component that is not installed. To be e

Re: [Lazarus] Lazarus and it's i18n usage

2010-06-18 Thread Mattias Gaertner
On Thu, 10 Jun 2010 00:31:46 +0400 Maxim Ganetsky wrote: > 10.06.2010 0:11, Žilvinas Ledas пишет: > > Hello all, > > > > is it possible to use integrated i18n and .po generation functions only > > with some units? > > For example I do not want to generate translation strings from my main > > form

Re: [Lazarus] Failed to initialize component: No streaming method available

2010-06-18 Thread Mattias Gaertner
On Sat, 19 Jun 2010 04:40:42 +0100 Frank Church wrote: > It was a Datamodule problem. > The only component on it was a TTimer. Is that the cause for that error? No, this works here. What lazarus version? What fpc version? Can you post the unit+lfm? Or send it to me? Mattias --

Re: [Lazarus] creating Handle during loading

2010-06-19 Thread Mattias Gaertner
On Sat, 19 Jun 2010 16:14:50 +0200 theo wrote: > Hello > > I'm trying to write a component. It's working fine so far, but I'm > getting these hints on the console: > > [HINT] TWinControl.CreateWnd creating Handle during loading Form1:TForm1 > csDesigning=False > [HINT] TWinControl.CreateWnd c

Re: [Lazarus] Component installs without icon on component toolbar - tarraybutton.lrs(1, 17) Error: Identifier not found "LazarusResources" (Mattias Gaertner)

2010-06-19 Thread Mattias Gaertner
On Sun, 20 Jun 2010 08:18:15 +1000 Peter E Williams wrote: > [...] > Surely it would not be hard to write a small program which loads a PNG/s > and then calls the > > ~/lazarus/tools/lazres yourunit.lrs TMyComponent.png TMyOtherCom.png ... It is a little bit more complicated. > I think that

Re: [Lazarus] Docking into main window

2010-06-21 Thread Mattias Gaertner
First of all: Don't hijack mail threads. Create a new mail instead of replying. On Sun, 20 Jun 2010 21:18:00 -0300 "Leonardo M." Ramé wrote: > Hi, I want to congratulate the developer(s) of the IDE docking package, > It improved a lot since the last time I tried it. Yes. But the docking packag

Re: [Lazarus] Docking into main window

2010-06-21 Thread Mattias Gaertner
On Mon, 21 Jun 2010 14:51:33 +0200 Hans-Peter Diettrich wrote: > Leonardo M. Ramé schrieb: > > Hi, I want to congratulate the developer(s) of the IDE docking package, > > It improved a lot since the last time I tried it. > > > > A cool addition could be allowing to dock the main window (the one

Re: [Lazarus] Docking into main window

2010-06-21 Thread Mattias Gaertner
On Mon, 21 Jun 2010 15:18:22 -0300 "Leonardo M." Ramé wrote: >[...] > > > The dockable IDE currently is based on the EasyDockMgr. But I've seen > > > another MiniIDE example for AnchorDocking... > > > > The designer package for anchordocking is called anchordockingdsgn.lpk. > > > > > > Mattia

Re: [Lazarus] Docking into main window

2010-06-22 Thread Mattias Gaertner
On Tue, 22 Jun 2010 02:51:48 +0200 Hans-Peter Diettrich wrote: > Mattias Gaertner schrieb: > > >> I have both packages installed, and, in fact I can dock the editor to > >> the main window. The problem is the main window just allows to resize > >> its height to

Re: [Lazarus] Improving Lazarus and Include file handling [feature request]

2010-06-22 Thread Mattias Gaertner
On Tue, 22 Jun 2010 09:00:23 +0200 Graeme Geldenhuys wrote: > Hi, > > Lazarus IDE is already very generous with errors in code - yet still > allows syntax highlighting or jumping around inside the code. Can > Lazarus IDE be improved just a little bit more with Include file > handling. The tiOPF

Re: [Lazarus] Improving Lazarus and Include file handling [feature request]

2010-06-22 Thread Mattias Gaertner
On Tue, 22 Jun 2010 09:57:03 +0200 (CEST) Michael Van Canneyt wrote: > > > On Tue, 22 Jun 2010, Mattias Gaertner wrote: > > > On Tue, 22 Jun 2010 09:00:23 +0200 > > Graeme Geldenhuys wrote: > > > >> Hi, > >> > >> Lazarus IDE

Re: [Lazarus] Exists a macro to FPC path to use at fpc.cfg file?

2010-06-22 Thread Mattias Gaertner
On Tue, 22 Jun 2010 10:28:26 -0300 Marcos Douglas wrote: > On Mon, Jun 21, 2010 at 4:36 PM, Marcos Douglas wrote: > > On Mon, Jun 21, 2010 at 12:25 PM, Michael Van Canneyt > > wrote: > >> > >> Strange. Apparently it happens only when substituting the {$I %VARIABLE%}. > >> I > >> assumed it hap

Re: [Lazarus] Store empty string property in *.lfm

2010-06-22 Thread Mattias Gaertner
On Tue, 22 Jun 2010 13:58:44 +0200 theo wrote: > Hello > > Is it possible to store an empty string property? > > The property is getting a default value a creation time (GetUserDir), > If the user enters an empty string to the obj. insp. it is shown as > empty but still has the value it got at

Re: [Lazarus] Store empty string property in *.lfm

2010-06-22 Thread Mattias Gaertner
On Tue, 22 Jun 2010 18:18:38 +0200 theo wrote: > Thanks for your answer Matthias > > > String properties always have as default value the empty string. > > But you can define a stored procedure. > > See the TControl.Caption property. > > > > I don't get what you mean. There I read: > > p

Re: [Lazarus] Anchor-Docking Bugs

2010-06-22 Thread Mattias Gaertner
On Wed, 23 Jun 2010 00:17:07 +0200 Eugen Bolz wrote: > Hey, > > it is awesome to see that Docking is already "working" :) There are still a lot todos. > But I have some Bugs: > > Under Windows 7 (also months ago on Vista) the Docking had, and still > has, these two Bugs: > > 1. Just Click

Re: [Lazarus] Anchor-Docking Bugs

2010-06-23 Thread Mattias Gaertner
On Wed, 23 Jun 2010 11:06:46 +0200 Hans-Peter Diettrich wrote: > Martin schrieb: > > >>> 1. Just Click, without moving your mouse, on a Docking-Header, after > >>> that the Desktop gets a 3px height and full length - big Rect (hard to > >>> explain :( ) which is also shown if you want to dock a

Re: [Lazarus] Anchor-Docking Bugs

2010-06-23 Thread Mattias Gaertner
On Wed, 23 Jun 2010 15:33:46 +0100 Martin wrote: > On 23/06/2010 15:28, Mattias Gaertner wrote: > > On Wed, 23 Jun 2010 11:06:46 +0200 > > Hans-Peter Diettrich wrote: > > > > > >> Martin schrieb: > >> > >> > >>>>&

Re: [Lazarus] Keyboard shortcuts not always working

2010-06-24 Thread Mattias Gaertner
On Thu, 24 Jun 2010 14:25:13 +0200 Graeme Geldenhuys wrote: > Hi, > > I have a project open and some units open in the editor, I then put > active focus on the main form (one containing the component palettes). > If I press Ctrl+A, all text in the current editor windows is selected. > Good, beha

Re: [Lazarus] .or and .res files

2010-06-27 Thread Mattias Gaertner
On Fri, 25 Jun 2010 17:00:48 + Mark Morgan Lloyd wrote: > Paul Ishenin wrote: > > > IDE adds the new directive once you edit the project options. It does > > not remove the old one. Probably it should but how to decide whether > > this directive was inserted there automatically or manually

Re: [Lazarus] Wiki instructions for installing FPC trunk

2010-06-27 Thread Mattias Gaertner
On Sun, 27 Jun 2010 20:34:26 +0300 Juha Manninen wrote: > I updated info about building and installing svn trunk version of FPC > compiler, based on mails from Marc and Graeme earlier. Here: > > http://wiki.lazarus.freepascal.org/Getting_Lazarus#svn_trunk_version_of_fpc > > It is part of a l

Re: [Lazarus] Patch for registersqldb.pas

2010-06-27 Thread Mattias Gaertner
On Thu, 24 Jun 2010 23:11:04 -0300 Carlos German Tejero wrote: > This patch register TSQLStringsPropertyEditor for Script property of > TSQLScript component. Thanks. Applied in 26302. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepasc

Re: [Lazarus] Wiki instructions for installing FPC trunk

2010-06-27 Thread Mattias Gaertner
On Sun, 27 Jun 2010 18:51:02 +0100 Chris Kirkpatrick wrote: > > > Mattias Gaertner wrote: > > For example because "make install" > > -does not update your fpc.cfg, > > -does not update the symlink under Linux (is this still the case?), > > -no uni

Re: [Lazarus] .or and .res files

2010-06-28 Thread Mattias Gaertner
On Mon, 28 Jun 2010 08:55:42 + Mark Morgan Lloyd wrote: > Mattias Gaertner wrote: > > >> As a related question, is there an easy way of seeing what > >> conditionals/macros/shell variables the IDE is defining, i.e. the > >> equivalent of the Borland VERx

Re: [Lazarus] New component arraybutton Fatal: Can t find unit Graphics used by arraybutton AND Multiple lazarus installations

2010-06-28 Thread Mattias Gaertner
On Mon, 28 Jun 2010 17:02:16 -0400 waldo kitty wrote: > On 6/28/2010 16:44, Peter E Williams wrote: > > uses > >Classes, SysUtils, Controls, graphics, LCLType, LResources, > >LCLIntf , Buttons, urotatebitmap, types; > > ummm... you're on linux... there's a huge difference between "Graphi

Re: [Lazarus] New component arraybutton Fatal: Can't find unit Graphics used by arraybutton AND Multiple lazarus installations

2010-06-28 Thread Mattias Gaertner
On Tue, 29 Jun 2010 06:44:09 +1000 Peter E Williams wrote: > Hi All, > > Well, it's been over a week since I looked at this and I thought that it > was working okay. Now I get Fatal: Can't find unit Graphics used by > arraybutton. Compile with -vut to see where the compiler searches and what it

<    1   2   3   4   5   6   7   8   9   10   >