Re: [Lazarus] Lazarus rev. 27936 does not compile with CPU_TARGET=i386

2010-10-29 Thread Mattias Gaertner
On Fri, 29 Oct 2010 19:24:41 +0800 Paul Ishenin wrote: > 29.10.2010 15:57, Mattias Gaertner wrote: > > Maybe you have local modifications? > > > > The line gtk2extrah.inc(43,56): > > > > function gdk_window_xwindow(win : PGdkDrawable): TXID;

Re: [Lazarus] Setting default widgetset per IDE installation

2010-11-01 Thread Mattias Gaertner
On Mon, 1 Nov 2010 15:57:58 +0300 Vladimir Zhirov wrote: > Hi, > > I've got a problem with setting widgetset for my project. > > I use Qt version of Lazarus IDE but I want to build my > application using GTK 2 on Linux. Since "default" widgetset > in Project Options points to qt for my IDE, I

Re: [Lazarus] Updated Lazarus SVN

2010-11-02 Thread Mattias Gaertner
On Tue, 2 Nov 2010 13:30:02 +0100 José Mejuto wrote: > Hello Lazarus-List, > > Tuesday, November 2, 2010, 8:38:55 AM, you wrote: > > H> 2010/11/2 José Mejuto : > >> I had updated my Lazarus to lastest SVN (28028) since my "old" which > >> was a month old. Now every package of my projects are be

Re: [Lazarus] Updated Lazarus SVN

2010-11-02 Thread Mattias Gaertner
On Tue, 02 Nov 2010 14:47:05 +0200 Graeme Geldenhuys wrote: > Op 2010-11-02 14:37, Mattias Gaertner het geskryf: > > > > Start the IDE in a terminal. It writes to stdout why a package is > > recompiled. > > Maybe a "View > IDE Internals > IDE Log/Messages&

Re: [Lazarus] Codetools can't find units in 'other sources'

2010-11-02 Thread Mattias Gaertner
On Tue, 02 Nov 2010 19:13:46 +0100 Joost van der Sluis wrote: > Hi all, > > The Lazarus Codetools are complaining that a unit can't be found. But it > is available in the path I've given in the 'compiler-options' as 'Other > Sources'. > > But also placing the path in 'other units /-Fu' doesn't

Re: [Lazarus] How to stop Lazarus from loading previous project on start?

2010-11-02 Thread Mattias Gaertner
On Tue, 02 Nov 2010 23:22:38 +0100 Bo Berglund wrote: > On Tue, 02 Nov 2010 22:09:04 +, Martin wrote: > > >On 02/11/2010 21:57, Bo Berglund wrote: > >> > >> Now I have an error box: > >> > >> Unable to find file "componenttreeview.pas" > >> If it belongs to your project, check search path i

Re: [Lazarus] Undefined value in SdpoSerial

2010-11-02 Thread Mattias Gaertner
On Tue, 02 Nov 2010 23:52:58 +0100 Bo Berglund wrote: > On Tue, 02 Nov 2010 21:45:23 +, Paulo Costa wrote: > > >On 02/11/2010 19:19, Bo Berglund wrote: > > > >> After looking at the 5DPO WIKI page I downloaded and installed an SVN > >> client in order to get the latest version from SVN. > >

Re: [Lazarus] Can't build IDE with Lazbuild

2010-11-04 Thread Mattias Gaertner
On Thu, 4 Nov 2010 12:13:08 -0300 Marcos Douglas wrote: > 2010/11/4 Michael Van Canneyt : > > On Thu, 4 Nov 2010, Marcos Douglas wrote: > >> > >> What is the difference to use lazbuild instead of IDE>Build? > > > > Normally it is the same, except that lazbuild is a command-line tool. > > Ok and

Re: [Lazarus] Lazarus restart

2010-11-04 Thread Mattias Gaertner
On Thu, 04 Nov 2010 20:57:46 +0200 patspiper wrote: > I start Lazarus by double clicking in Nautilus (Ubuntu file manager) on > a bash script which includes FPC path exports and Lazarus binary. If I > rebuild the IDE and "restart after building" is checked, the IDE > restarts (I can sometimes

Re: [Lazarus] Codetools can't find units in 'other sources'

2010-11-04 Thread Mattias Gaertner
On Wed, 03 Nov 2010 11:24:55 +0100 Joost van der Sluis wrote: > On Tue, 2010-11-02 at 23:43 +0100, Mattias Gaertner wrote: > > On Tue, 02 Nov 2010 19:13:46 +0100 > > Joost van der Sluis wrote: > > > > > Hi all, > > > > > > The Lazarus Codetools

Re: [Lazarus] Lazarus restart

2010-11-04 Thread Mattias Gaertner
On Fri, 05 Nov 2010 00:04:15 +0200 patspiper wrote: > On 11/04/2010 11:41 PM, Mattias Gaertner wrote: > > On Thu, 04 Nov 2010 20:57:46 +0200 > > patspiper wrote: > > > > > >> I start Lazarus by double clicking in Nautilus (Ubuntu file manager) on > &

Re: [Lazarus] Lazarus Directory

2010-11-05 Thread Mattias Gaertner
On Fri, 5 Nov 2010 07:50:53 -0200 Antônio wrote: > Is there any environment to Lazarus Dir like {$I %FPCVERSION%} ? No. Why do you need that? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.or

Re: [Lazarus] TPicture.LoadFromStream error

2010-11-05 Thread Mattias Gaertner
On Fri, 5 Nov 2010 12:43:42 -0300 Leonardo M. Ramé wrote: > On 2010-11-05 12:39:28 -0300, Leonardo M. Ramé wrote: > > On 2010-11-05 11:46:01 -0300, Leonardo M. Ramé wrote: > > > Hi, I'm loading PGM files to an TImage.Picture using its LoadFromFile or > > > LoadFromStream methods. > > > > > > Th

Re: [Lazarus] Lazarus Directory

2010-11-05 Thread Mattias Gaertner
On Fri, 5 Nov 2010 15:43:28 -0200 Antônio wrote: > Is there for FPC Dir? No. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Ubuntu Lucid, Lazarus 0.9.28, Error With Menus Widget

2010-11-08 Thread Mattias Gaertner
On Mon, 8 Nov 2010 00:22:42 -0600 aditya siram wrote: > Hi all, > I just installed Lazarus on my Ubuntu Lucid laptop and when I try and > add the pop-up menu widget I get an error saying "unit1.pas(9,8) > Error: source not found: unit > /usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/menus.ppu".

Re: [Lazarus] Codetools can't find units in 'other sources'

2010-11-11 Thread Mattias Gaertner
On Thu, 11 Nov 2010 14:16:34 +0100 Joost van der Sluis wrote: > On Thu, 2010-11-04 at 23:01 +0100, Mattias Gaertner wrote: > > On Wed, 03 Nov 2010 11:24:55 +0100 > > Joost van der Sluis wrote: > > > > > On Tue, 2010-11-02 at 23:43 +0100, Mattias Gaertner wrote:

Re: [Lazarus] Accessing the FormEditor from within a non-lcl designer

2010-11-12 Thread Mattias Gaertner
On Fri, 12 Nov 2010 15:15:01 +0100 Joost van der Sluis wrote: > Hi all, Mattias, > > I would like to use FormEditor.CreateComponent and > FormEditor.CreateuniqueComponentName from within a designer-mediator. So > I don't have to duplicate that code. > > How can I do this? I've tried it using LC

Re: [Lazarus] TGraphicControl and Wm_WindowPosChanged

2010-11-12 Thread Mattias Gaertner
On Wed, 10 Nov 2010 09:41:23 +0300 Max Vlasov wrote: > Hi, > I successfully ported one of my components and was very impressed with how > little I had to do in order for it to work. This was a TGraphicControl > descendant and a single change was changing catching Wm_WindowPosChanged to > DoOnChan

Re: [Lazarus] Utf8ToSys on Linux and cwstring in uses clause

2010-11-12 Thread Mattias Gaertner
On Fri, 12 Nov 2010 20:44:12 +0300 Vladimir Zhirov wrote: > Hi, > > I've just tried to use Utf8ToConsole on my Linux box and was > surprised very much about the result. > > If I run a simple program like this: > > program project1; > > {$mode objfpc}{$H+} > > uses > > FileUtil; > > begin > >

Re: [Lazarus] When do I need a component rather than a plain object?

2010-11-16 Thread Mattias Gaertner
On Tue, 16 Nov 2010 12:13:10 +0200 Graeme Geldenhuys wrote: > Op 2010-11-16 11:45, Frank Church het geskryf: > > It will be good if Lazarus can generate the source code to initialize > > components at the start of a program, rather than stream them in, > > hopefully in a future version. It makes

Re: [Lazarus] Lazarus rebuild with/without packages

2010-11-16 Thread Mattias Gaertner
On Tue, 16 Nov 2010 13:32:34 +0200 patspiper wrote: > 1- In the Lazarus build dialog, is the checkbox option "with packages" > used only for rebuilding the IDE? Yes. > If so, wouldn't it be better to be removed, and the IDE radio button > replaced by 2 radio buttons: IDE with packages and ID

Re: [Lazarus] When do I need a component rather than a plain object?

2010-11-16 Thread Mattias Gaertner
On Tue, 16 Nov 2010 14:46:08 +0200 Graeme Geldenhuys wrote: >[...] > > there is no simple source equivalent. For example images and icons. > > In fpGUI, I use the same method as 'bin2obj', making such resources simply > arrays of bytes. And then? Image.Data := ... > For readability (before

Re: [Lazarus] When do I need a component rather than a plain object?

2010-11-17 Thread Mattias Gaertner
On Wed, 17 Nov 2010 08:56:33 +0200 Graeme Geldenhuys wrote: > Op 2010-11-17 01:22, Juha Manninen het geskryf: > > If I understand right it is caused by different widgetsets and themes and > > whatever. There is no change in the actual layout (all controls are > > anchored) > > but it adds nois

Re: [Lazarus] Should using frames result in duplicate name errors?

2010-11-17 Thread Mattias Gaertner
On Wed, 17 Nov 2010 17:45:01 + Frank Church wrote: > I am trying to use frames to create the same element repeatedly on a form, > but when I copy them in the IDE or create them and set their parents at > runtime, I get duplicate name errors. Isn't Lazarus supposed to give them > different nam

Re: [Lazarus] LCL Defines

2010-11-18 Thread Mattias Gaertner
On Thu, 18 Nov 2010 15:00:37 +0200 "Dimitrios Chr. Ioannidis" wrote: > Hi all, > >where can i find all the current LCL defines ? For example > -dUseVistaDialogs or -UseCLDefault ... These are temporary defines - they are not supported and therefore not documented. The wiki pages about each

Re: [Lazarus] Make option for specific package

2010-11-18 Thread Mattias Gaertner
On Thu, 18 Nov 2010 15:13:41 +0100 Vincent Snijders wrote: > 2010/11/18 Andrew Brunner : > > I was wondering how I can "make" Lazarus build with specific packages. > > Right now I need lazdaemon installed in the ide when I use make clean > > bigide. > > Try make idepkg, e.g. > > make clean all

Re: [Lazarus] Make option for specific package

2010-11-19 Thread Mattias Gaertner
On Fri, 19 Nov 2010 08:22:54 +0200 Graeme Geldenhuys wrote: > Op 2010-11-18 18:50, Mattias Gaertner het geskryf: > >> make clean all > >> make idepkg > > > > This will not update the packages. > > Try: > > > > make clean all > > ./laz

Re: [Lazarus] Turn a TGroupBox into a TPanel

2010-11-19 Thread Mattias Gaertner
On Fri, 19 Nov 2010 13:34:25 -0200 Alexsander Rosa wrote: > The "ChildSizing" property allow several nice things with TGroupBox [1], > congratulations to the team. Under GTK2, the TPanel still have some annoying > bugs. For example? > If we had in TGroupBox a property "HideContourLineWhenCapti

Re: [Lazarus] Web Module not works on Linux

2010-11-21 Thread Mattias Gaertner
On Sun, 21 Nov 2010 11:56:03 +0100 (CET) Michael Van Canneyt wrote: > > > On Sat, 20 Nov 2010, Joost van der Sluis wrote: > > > On Sat, 2010-11-20 at 21:07 +0100, Michael Van Canneyt wrote: > >> > >> On Sat, 20 Nov 2010, Joost van der Sluis wrote: > >> > >>> On Fri, 2010-11-19 at 23:31 +0100,

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-21 Thread Mattias Gaertner
On Sun, 21 Nov 2010 23:16:09 +0100 Bo Berglund wrote: > I have switched to using the SVN version of lazarus. > I put it in parallel to the binary distribution lazarus so now I have > two of them. After I retrieved lazarus from SVN and also the latest > release of fpc I got lazarus to compile with

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-22 Thread Mattias Gaertner
On Mon, 22 Nov 2010 07:40:34 +0100 Bo Berglund wrote: > On Mon, 22 Nov 2010 00:11:23 +0100, Mattias Gaertner > wrote: > > >On Sun, 21 Nov 2010 23:16:09 +0100 > >Bo Berglund wrote: > > > >> I *have* copied SdpoSerial from the original lazarus components dir

Re: [Lazarus] false "disk is full" messages

2010-11-23 Thread Mattias Gaertner
On Tue, 23 Nov 2010 09:50:48 +0100 zeljko wrote: > On Tuesday 23 November 2010 09:35, Graeme Geldenhuys wrote: > > Hi, > > > > Has anybody else received false "Disk is full" error messages from Lazarus > > IDE? > > Yes, I see it sometimes for years (but just sometimes).Already asked what it > c

Re: [Lazarus] Debugging Lazarus IDE (Package access violation)

2010-11-23 Thread Mattias Gaertner
On Tue, 23 Nov 2010 15:04:24 +0300 Max Vlasov wrote: > On Tue, Nov 23, 2010 at 10:26 AM, Paul Ishenin wrote: > > > 23.11.2010 13:54, Max Vlasov пишет: > > > > I suppose I should report an issue, but just > >> wondering, is it hard (if it full reproducible) to run another instance > >> of Lazar

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-23 Thread Mattias Gaertner
On Tue, 23 Nov 2010 20:03:26 +0100 Bo Berglund wrote: > On Tue, 23 Nov 2010 19:54:23 +0100, Bo Berglund > wrote: > > >Anyway, now I understand what is going on and the package is > >recognized. > > > > Well, I was a bit premature. > I now looked in the config dirs and located the packagefiles.

Re: [Lazarus] object casting to pointer

2010-11-23 Thread Mattias Gaertner
On Tue, 23 Nov 2010 15:41:20 -0600 Marco Aurelio Ramirez Carrillo wrote: > Hi. > I'm working witha TTreeview, and trying to assign a object to a > TTreeNode.data property: > > > MyTreeNode := myTreeview.add(nil, "MyTreeNode"); > > // any "TObject" descendant class > MyObject = MyClass.Create()

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-24 Thread Mattias Gaertner
On Wed, 24 Nov 2010 09:30:01 +0100 Bo Berglund wrote: > On Tue, 23 Nov 2010 23:57:11 +0100, Mattias Gaertner > wrote: > > >On Tue, 23 Nov 2010 20:03:26 +0100 > >Bo Berglund wrote: > >> Why is one Lazarus using a relative path and the other an absolute > >

Re: [Lazarus] Debugging Lazarus IDE (Package access violation)

2010-11-24 Thread Mattias Gaertner
On Tue, 23 Nov 2010 16:19:18 +0300 Max Vlasov wrote: > On Tue, Nov 23, 2010 at 3:12 PM, Mattias Gaertner > wrote: > > > > By the way, the bug listed as solved ( > > > http://bugs.freepascal.org/view.php?id=17437) probably still exist. > > Actually > > &g

Re: [Lazarus] Applying optimization to the project units

2010-11-24 Thread Mattias Gaertner
On Thu, 25 Nov 2010 00:03:09 +0300 Max Vlasov wrote: > Hi, > sometimes it takes time for a Delphi developer to understand the logic of > fpc/lazarus packages and it's indeed content and full. Recently tried to > measure different performance related numbers for a project and finally got > that I

Re: [Lazarus] Applying optimization to the project units

2010-11-24 Thread Mattias Gaertner
On Thu, 25 Nov 2010 00:44:52 +0300 Max Vlasov wrote: > On Thu, Nov 25, 2010 at 12:36 AM, Mattias Gaertner < > nc-gaert...@netcologne.de> wrote: > > > On Thu, 25 Nov 2010 00:03:09 +0300 > > Max Vlasov wrote: > > > > > Hi, > > > sometimes it

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-25 Thread Mattias Gaertner
On Thu, 25 Nov 2010 12:09:16 +0100 Bo Berglund wrote: >[...] > >Each package/project should have its own directories. This ensures > >that a package does not depend on a project, so it can work with many > >projects. > > Not if they evolve and we must maintain old code when we need to > retu

Re: [Lazarus] Applying optimization to the project units

2010-11-25 Thread Mattias Gaertner
On Thu, 25 Nov 2010 12:43:09 +0300 Max Vlasov wrote: > On Thu, Nov 25, 2010 at 1:50 AM, Mattias Gaertner > wrote: > > > On Thu, 25 Nov 2010 00:44:52 +0300 > > Max Vlasov wrote: > > > > > On Thu, Nov 25, 2010 at 12:36 AM, Mattias Gaertner <

Re: [Lazarus] Applying optimization to the project units

2010-11-25 Thread Mattias Gaertner
On Thu, 25 Nov 2010 16:17:31 +0300 Max Vlasov wrote: > On Thu, Nov 25, 2010 at 3:47 PM, Mattias Gaertner > wrote: > > > On Thu, 25 Nov 2010 12:43:09 +0300 > > Max Vlasov wrote: > > > > > On Thu, Nov 25, 2010 at 1:50 AM, Mattias Gaertner < >

Re: [Lazarus] Applying optimization to the project units

2010-11-25 Thread Mattias Gaertner
On Thu, 25 Nov 2010 18:42:40 +0300 Max Vlasov wrote: > On Thu, Nov 25, 2010 at 5:10 PM, Mattias Gaertner > wrote: > > > > Create a project that uses this package and conditionalunit, place a > > button, > > > call ShowProjDependentMessage. > > > &g

Re: [Lazarus] TImage wrong image format

2010-11-26 Thread Mattias Gaertner
On Fri, 26 Nov 2010 11:23:01 -0300 Leonardo M. Ramé wrote: > On 2010-11-26 10:55:58 -0300, Leonardo M. Ramé wrote: > > On 2010-11-26 09:39:30 -0300, Leonardo M. Ramé wrote: > > > Hi, I think I found a bug after following the next steps: > > > > > > 1) Place a TImage on a newly created form. > >

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-26 Thread Mattias Gaertner
On Fri, 26 Nov 2010 16:01:45 +0100 Bo Berglund wrote: > On Thu, 25 Nov 2010 21:05:48 -0500, waldo kitty > wrote: > > >On 11/25/2010 06:09, Bo Berglund wrote: > Now, the description on how packages work in lazarus leads me to > believe that any given package can only exist in one singl

Re: [Lazarus] filesystem timing Linux vs Win

2010-11-27 Thread Mattias Gaertner
On Sat, 27 Nov 2010 20:14:38 +0100 Florian Klämpfl wrote: > Am 27.11.2010 18:53, schrieb Henry Vermaak: > > Also, the features of the filesystems > > are so different, you can't even compare them. fat and ntfs are stuck > > in the dark ages compared to ext*. > > Modern NTFS implementations have

Re: [Lazarus] I desperately need some ideas of reducing edit, compile, debug cycle

2010-11-28 Thread Mattias Gaertner
On Sun, 28 Nov 2010 16:29:58 +0300 Max Vlasov wrote: > On Sun, Nov 28, 2010 at 3:35 PM, Vincent Snijders < > vincent.snijd...@gmail.com> wrote: > > > 2010/11/28 Bo Berglund : > > > On Fri, 26 Nov 2010 20:55:19 +, Martin wrote: > > > > > >>> 3. Design them as DLLs initially - I suspect that

Re: [Lazarus] New unit with resource with some components on it by default

2010-11-29 Thread Mattias Gaertner
On Mon, 29 Nov 2010 10:21:07 +0100 Joost van der Sluis wrote: > Hi all, > > Is it possible to add a 'new module' option to the ide which has by > default some components on it? > > With a TFileDescPascalUnitWithResource, it is possible to add a new > module type, but I can't find out a way to a

Re: [Lazarus] Customizing IDE Toolbar

2010-11-29 Thread Mattias Gaertner
On Mon, 29 Nov 2010 13:36:37 -0600 Marco Aurelio Ramirez Carrillo wrote: > Hi. Is there a tutorial or wiki file, on customizing (adding new > toolbars or buttons) to the Lazarus IDE Toolbar. > Not the component toolbar, but the toolbars for saving a file, debugging, etc. No. There is no registe

Re: [Lazarus] Syntax checking from Lazarus

2010-11-30 Thread Mattias Gaertner
On Tue, 30 Nov 2010 09:56:55 +0100 Sven Barth wrote: > Am 30.11.2010 09:12, schrieb Bo Berglund: > > In Delphi I use the "Syntax check" function a lot to verify that my > > project does not contain any illegal constructs or missing begin-end > > terminators etc. > > > > In Lazarus the only compar

Re: [Lazarus] New unit with resource with some components on it by default

2010-11-30 Thread Mattias Gaertner
On Tue, 30 Nov 2010 13:15:19 +0100 Joost van der Sluis wrote: > On Mon, 2010-11-29 at 10:34 +0100, Mattias Gaertner wrote: > > On Mon, 29 Nov 2010 10:21:07 +0100 > > Joost van der Sluis wrote: > > > > > Hi all, > > > > > > Is it possible to a

Re: [Lazarus] Loading old project into Lazarus_fixes causes lock-up...

2010-11-30 Thread Mattias Gaertner
On Mon, 29 Nov 2010 23:16:24 +0100 Bo Berglund wrote: > On Mon, 29 Nov 2010 00:01:59 +0100, Bo Berglund > wrote: > >Retrieved the trunk version into folder lazarus_trunk (I renamed after > >SVN was done, is it possible to redirect the SVN checkout into a > >folder of your own choosing?). > > > >

Re: [Lazarus] How to use environment variables in lazarus IDE config?

2010-11-30 Thread Mattias Gaertner
On Tue, 30 Nov 2010 17:48:47 +0100 Bo Berglund wrote: > I would like to specify things like the base location of files using > environment variables rather than entering full paths. > > In Delphi this can be done by using the $(varname) construct, but this > is apparently not supported by Lazaru

Re: [Lazarus] changing some FPC units

2010-12-01 Thread Mattias Gaertner
On Wed, 01 Dec 2010 09:25:06 +0100 Alberto Manganaro wrote: > Well, but I don't want to install a new version fo the package, I just > want to modify something in the original code, recompile it and use the > unit in Lazarus. > > I tried again but I can't figure it out, so my question is: wher

Re: [Lazarus] How to use environment variables in lazarus IDE config?

2010-12-01 Thread Mattias Gaertner
On Wed, 01 Dec 2010 09:23:23 +0100 Bo Berglund wrote: > On Tue, 30 Nov 2010 18:35:48 +0100, Mattias Gaertner > wrote: > > >On Tue, 30 Nov 2010 17:48:47 +0100 > >Bo Berglund wrote: > > > >> I would like to specify things like the base location of files usi

Re: [Lazarus] Clean Up + Build all

2010-12-06 Thread Mattias Gaertner
On Mon, 6 Dec 2010 17:24:08 +0300 Max Vlasov wrote: > On Mon, Dec 6, 2010 at 12:12 PM, Kjow wrote: > > > Hi all, > > > > what is the equivalent on command line of the "Clean Up + Build all" in the > > IDE? > > > With: > > make bigideclean bigide OPT="-Xg" > > lazbuild --build-ide= > > I don't

Re: [Lazarus] Clean Up + Build all

2010-12-07 Thread Mattias Gaertner
On Tue, 7 Dec 2010 09:42:38 +0100 Kjow wrote: > 2010/12/6 Mattias Gaertner : > >> > what is the equivalent on command line of the "Clean Up + Build all" in > >> > the > >> > IDE? > > Do you want to emulate how the IDE builds or do you want

Re: [Lazarus] Lazarus trunk doesn't compile with FPC 2.4.0 since r28681

2010-12-13 Thread Mattias Gaertner
On Mon, 13 Dec 2010 08:30:03 +0100 Torsten Bonde Christiansen wrote: > Hi List. > > The lazarus trunk is no longer compilable with 2.4.0 as of revision 28681. > > It seem that the file "idecontexthelpedit.pas" uses the method > "UnitName" which was introduced in fpc 2.4.2, hence older versions

Re: [Lazarus] Lazarus trunk doesn't compile with FPC 2.4.0 since r28681

2010-12-13 Thread Mattias Gaertner
    Vincent Snijders hat am 13. Dezember 2010 um 11:11 geschrieben: > 2010/12/13 Mattias Gaertner : > > On Mon, 13 Dec 2010 08:30:03 +0100 > > Torsten Bonde Christiansen wrote: > > > >> Hi List. > >> > >> The lazarus trunk is no longer compilab

Re: [Lazarus] AnchorSide clarification

2011-01-06 Thread Mattias Gaertner
On Sat, 01 Jan 2011 14:28:08 +0100 Hans-Peter Diettrich wrote: > The FPDoc description of TAnchorSide looks wrong to me. I improved it. > IMO it should > reflect the following: > > Every side of a TControl can be anchored to another control, as > described by TControl.AnchorSides[side]. >

Re: [Lazarus] Revision 28960 Compilation Error

2011-01-11 Thread Mattias Gaertner
On Tue, 11 Jan 2011 16:03:06 +0200 Dave Coventry wrote: > On Ubuntu 10.10 I've run the following command: > > r...@sneccii:/opt# svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus > Checked out revision 28960. > > I've got this error: > > compileroptions.pp(427,14) Error: There is no m

Re: [Lazarus] Can't find unit contnrs used by Masks

2011-01-11 Thread Mattias Gaertner
Because this thread is called 'Can't find unit contnrs used by Masks', I will answer to this: The IDE now warns if fpc has no config file and can not find any ppu files. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://li

Re: [Lazarus] Error building IDE using LazBuild

2011-01-11 Thread Mattias Gaertner
On Tue, 11 Jan 2011 18:34:56 +0100 shoKwave wrote: > Thanks for your reply, but > > Am 11.01.2011 17:53, schrieb Andreas Schneider: > > I'm not sure if "make clean all" always rebuilds lazbuild itself. Just > > to be on the safe side, you can run "make lazbuild". > Yes it does. I did what you

Re: [Lazarus] Error building IDE using LazBuild

2011-01-11 Thread Mattias Gaertner
On Wed, 12 Jan 2011 01:20:41 +0100 shoKwave wrote: > Am 11.01.2011 23:54, schrieb Mattias Gaertner: > > > > Fixed. > > BTW, is it ok to post this issues here or would it be better to wait > some time, lets say 24h, and file a bug report? It is ok to post them here.

Re: [Lazarus] Installation of man-files

2011-01-12 Thread Mattias Gaertner
    Joost van der Sluis hat am 12. Januar 2011 um 11:49 geschrieben: > Hi all, > > Currently 'make install' does only install the man-files of the binaries > which are placed in the search-path. (lazarus-ide, rpmbuild and > startlazarus) > > Do we want to install the other man-files by default t

Re: [Lazarus] Error: unit not found: Classes

2011-01-12 Thread Mattias Gaertner
    Kjow hat am 12. Januar 2011 um 14:50 geschrieben: > Lazarus: r28973M > FPC 2.4.2: r16754 > > Double clicking on any component (Form, Button, etc) to create the > relative event or pressing ctrl+space on the source editor, causes > this error: > > -

Re: [Lazarus] Namespace

2011-01-12 Thread Mattias Gaertner
    Marcos Douglas hat am 12. Januar 2011 um 18:05 geschrieben: > On Wed, Jan 12, 2011 at 1:57 PM, Andreas Schneider wrote: > > > > ...  which  you  can  already  do.  The  unit order in the uses clause > > already  determines  which  identifier  is  chosen  when  you do *not* > > specify  a  u

Re: [Lazarus] Namespace

2011-01-12 Thread Mattias Gaertner
On Wed, 12 Jan 2011 15:00:51 -0300 Marcos Douglas wrote: > 2011/1/12 Mattias Gaertner : > >> But I can register a component called TButton? > > > > No, that would conflict with the LCL TButton. See the FCL function > > FindClass. > > I know. > > >

Re: [Lazarus] fpGUI

2011-01-13 Thread Mattias Gaertner
On Thu, 13 Jan 2011 14:19:28 +0200 Graeme Geldenhuys wrote: > Op 2011-01-13 14:12, Mark Morgan Lloyd het geskryf: > > > > Building for LCL still doesn't work. > > Then it seems the issue must be in the Lazarus IDE, in the codetools > search paths or something. > > Mattias or Vincent, any of yo

Re: [Lazarus] fpGUI

2011-01-13 Thread Mattias Gaertner
On Thu, 13 Jan 2011 12:50:33 + Mark Morgan Lloyd wrote: > Graeme Geldenhuys wrote: > > Op 2011-01-13 14:12, Mark Morgan Lloyd het geskryf: > >> Building for LCL still doesn't work. > > > > Then it seems the issue must be in the Lazarus IDE, in the codetools > > search paths or something. >

Re: [Lazarus] fpGUI for the LCL on x86 Linux, and standalone on SPARC Solaris 10

2011-01-13 Thread Mattias Gaertner
On Thu, 13 Jan 2011 14:08:45 + Mark Morgan Lloyd wrote: > Mattias Gaertner wrote: > > > It is a very long mail thread. Maybe you can summarize the problem? > >[...] > Using the instructions at > http://wiki.lazarus.freepascal.org/fpGUI_Interface i.e. with 3x

Re: [Lazarus] Mac App bundle question

2011-01-13 Thread Mattias Gaertner
On Thu, 13 Jan 2011 17:05:26 + Martin wrote: > Since I am not an expert, a quick question regarding app bundles: > > It is always mentioned that without, any app will behave less than > pleasant... > > I understand (or I believe I do) that if you start an app (from the > desktop) you clic

Re: [Lazarus] Mac App bundle question

2011-01-13 Thread Mattias Gaertner
On Thu, 13 Jan 2011 17:31:36 + Martin wrote: > On 13/01/2011 17:29, Mattias Gaertner wrote: > > > >> but maybe > >> macports-gdb ./lazarus.app/Content/MacOs/lazarus > >> can be used? > > Try and tell us. > > > Is the path in the bundl

Re: [Lazarus] Error: unit not found: Classes

2011-01-14 Thread Mattias Gaertner
On Fri, 14 Jan 2011 16:37:42 +0100 Kjow wrote: > 2011/1/12 Kjow : > > Lazarus: r28973M > > FPC 2.4.2: r16754 > > > > Double clicking on any component (Form, Button, etc) to create the > > relative event or pressing ctrl+space on the source editor, causes > > this error: > > > > --

[Lazarus] package SynEdit and IDEIntf

2011-01-14 Thread Mattias Gaertner
Hi all, The packages SynEdit and IDEIntf now work like normal packages. That means, they compile now automatically when they are changed. Therefore they are no longer listed in the "configure build lazarus" dialog. Mattias -- ___ Lazarus mailing list L

Re: [Lazarus] fpGUI for the LCL on x86 Linux, and standalone on SPARC Solaris 10

2011-01-14 Thread Mattias Gaertner
On Thu, 13 Jan 2011 18:02:17 + Mark Morgan Lloyd wrote: > Mattias Gaertner wrote: > > On Thu, 13 Jan 2011 14:08:45 + > > Mark Morgan Lloyd wrote: > > > >> Mattias Gaertner wrote: > >> > >> > It is a very long mail thread. Maybe you ca

Re: [Lazarus] package SynEdit and IDEIntf

2011-01-14 Thread Mattias Gaertner
On Fri, 14 Jan 2011 15:56:08 + Martin wrote: > On 14/01/2011 15:54, Mattias Gaertner wrote: > > Hi all, > > > > The packages SynEdit and IDEIntf now work like normal packages. That > > means, they compile now automatically when they are changed. > > Therefore

Re: [Lazarus] event code tool compilation error

2011-01-14 Thread Mattias Gaertner
On Fri, 14 Jan 2011 14:11:01 -0200 "fluisgira...@gmail.com" wrote: > Hi! > > Some hours ago, I updated my lazarus version via svn. After wait it > completes, I tried rebuild Lazarus without success. The error is > > ... > Compiling eventcodetool.pas > eventcodetool.pas(127,9) Fatal: Syntax erro

Re: [Lazarus] Error: unit not found: Classes

2011-01-14 Thread Mattias Gaertner
On Fri, 14 Jan 2011 17:35:31 +0100 Kjow wrote: > 2011/1/14 Mattias Gaertner : > > Is this correct: > > You only install a newer fpc, you do not change any paths and > > settings. That means the fpc executable, the fpc.cfg, the fpc source > > directory and the fpc ppu

Re: [Lazarus] event code tool compilation error

2011-01-14 Thread Mattias Gaertner
On Fri, 14 Jan 2011 16:47:25 + Martin wrote: > On 14/01/2011 16:24, Mattias Gaertner wrote: > > const > >>MethodKindAsString: array[TMethodKind] of shortstring = ( > >> 'procedure', 'function', 'constructor', '

Re: [Lazarus] event code tool compilation error

2011-01-14 Thread Mattias Gaertner
On Sat, 15 Jan 2011 01:01:07 +0300 Maxim Ganetsky wrote: > 14.01.2011 20:00, Mattias Gaertner пишет: > > On Fri, 14 Jan 2011 16:47:25 + > > Martin wrote: > > > >> On 14/01/2011 16:24, Mattias Gaertner wrote: > >>> const > >>>>

Re: [Lazarus] ERROR in a simple console app

2011-01-15 Thread Mattias Gaertner
On Sat, 15 Jan 2011 10:42:23 -0200 Marcos Douglas wrote: > On Sat, Jan 15, 2011 at 10:27 AM, Henry Vermaak > wrote: > > On 15 January 2011 12:22, Marcos Douglas wrote: > >> Guys, > >> > >> I tried to run an app, converted from Delphi, and I found some errors... > >> So, I tried to run a simple

Re: [Lazarus] fpGUI

2011-01-16 Thread Mattias Gaertner
On Sun, 16 Jan 2011 07:29:56 +0100 Martin Schreiber wrote: > On Sunday, 16. January 2011 01.21:01 Marcos Douglas wrote: > > > I do not understand why Delphi and Lazarus were made like this. Would > > be more easy to write Forms and Widgets just with Pascal code... > > > The separation of code an

Re: [Lazarus] fpGUI

2011-01-16 Thread Mattias Gaertner
On Sun, 16 Jan 2011 14:13:28 +0200 Graeme Geldenhuys wrote: >[...] >fpGUI's UI Designer has a "future / feature > proof" built in. Whatever it doesn't understand gets added to the > "Unknown settings" memo in the Object Inspector. The user can also place > any code in there while designing a form

Re: [Lazarus] fpGUI

2011-01-16 Thread Mattias Gaertner
On Sun, 16 Jan 2011 16:00:44 +0200 Graeme Geldenhuys wrote: > On Sun, 2011-01-16 at 11:30 +0100, Mattias Gaertner wrote: > > > Graeme must write for every component dedicated IDE integration > > > code AFAIK. > > > > Not dedicated IDE, but dedicated streaming c

Re: [Lazarus] fpGUI

2011-01-16 Thread Mattias Gaertner
On Sun, 16 Jan 2011 17:18:57 +0100 Hans-Peter Diettrich wrote: > Graeme Geldenhuys schrieb: > > > Lets say the Form unit is called frm_main.pas, it will have a structure > > as follows: > [...] > This code is not very compatible with the new AutoSize, ? Mattias --

Re: [Lazarus] fpGUI

2011-01-16 Thread Mattias Gaertner
On Sun, 16 Jan 2011 17:41:34 +0100 Hans-Peter Diettrich wrote: > Mattias Gaertner schrieb: > > > Graeme, how does the fpgui writer support circles? > > For example: > > > > object Edit1: TEdit > > AnchorSideLeft.Control = Label1 > > end > > o

Re: [Lazarus] fpGUI

2011-01-16 Thread Mattias Gaertner
On Sun, 16 Jan 2011 18:31:01 +0100 (CET) Michael Van Canneyt wrote: > > > On Sun, 16 Jan 2011, Mattias Gaertner wrote: > > > On Sun, 16 Jan 2011 17:41:34 +0100 > > Hans-Peter Diettrich wrote: > > > >> Mattias Gaertner schrieb: > >> > &g

Re: [Lazarus] fpGUI

2011-01-16 Thread Mattias Gaertner
On Sun, 16 Jan 2011 19:50:20 +0200 Graeme Geldenhuys wrote: >[...] > * I can tweak a property value without having to switch to a UI Designer OTOH: you have to write some code, instead of a few mouse clicks with wysiswyg. > * Lazarus IDE codefolds the AfterCreate method by default, so as not to

Re: [Lazarus] fpGUI

2011-01-16 Thread Mattias Gaertner
On Sun, 16 Jan 2011 20:20:09 +0200 Graeme Geldenhuys wrote: > On Sun, 2011-01-16 at 15:43 +0100, Mattias Gaertner wrote: > > > What about other custom data, that can not be represented as published > > property? > > Could you give an example of such custom data? I

Re: [Lazarus] fpGUI

2011-01-16 Thread Mattias Gaertner
On Sun, 16 Jan 2011 20:28:01 +0200 Graeme Geldenhuys wrote: >[...] > > > * A guaranteed creation order of components > > > > Means? > > I think Michael and yourself told me the streaming used in VCL and LCL > cannot guarantee any creation order or the order in which properties are > set. I can'

Re: [Lazarus] fpGUI

2011-01-16 Thread Mattias Gaertner
On Sun, 16 Jan 2011 23:00:13 +0200 Graeme Geldenhuys wrote: > On Sun, 2011-01-16 at 19:49 +0100, Mattias Gaertner wrote: > > For example TStrings.Data. > > I've never used that before... I'll read up on what that property does > or mean. > > > > That&#x

[Lazarus] pascal component stream

2011-01-16 Thread Mattias Gaertner
Hi, Some users suggested, that components should be stored in pascal source (optionally). IMO there is one big advantage: Storing in source means no need for the streaming system at runtime, which means no need for published properties/methods at runtime, which would help smart linking to reduce

Re: [Lazarus] fpGUI

2011-01-16 Thread Mattias Gaertner
On Sun, 16 Jan 2011 23:19:28 +0200 Graeme Geldenhuys wrote: > On Sun, 2011-01-16 at 18:47 +0100, Mattias Gaertner wrote: > > Ah, well, that is a simple solution. ;) > > I did say that fpGUI's UI Designer was simple. :) I will also say that > the difference between Own

Re: [Lazarus] fpGUI

2011-01-17 Thread Mattias Gaertner
On Mon, 17 Jan 2011 04:13:46 +0100 Hans-Peter Diettrich wrote: > Mattias Gaertner schrieb: > > On Sun, 16 Jan 2011 17:18:57 +0100 > > Hans-Peter Diettrich wrote: > > > >> Graeme Geldenhuys schrieb: > >> > >>> Lets say the Form unit is cal

Re: [Lazarus] pascal component stream

2011-01-17 Thread Mattias Gaertner
On Mon, 17 Jan 2011 09:28:31 +0100 (CET) michael.vancann...@wisa.be wrote: > > > On Mon, 17 Jan 2011, Graeme Geldenhuys wrote: > > > Op 2011-01-17 00:45, Mattias Gaertner het geskryf: > >> 4. what to do with DefineProperties? > > > > What is that? What i

Re: [Lazarus] fpGUI

2011-01-17 Thread Mattias Gaertner
On Mon, 17 Jan 2011 09:59:56 +0100 Michael Schnell wrote: > On 01/16/2011 01:21 AM, Marcos Douglas wrote: > > > > Is it more easy code with .lfm files? > I suppose when a huge lot of controls are to be created in a large > application, storing streams of control codes and handling them by a > s

Re: [Lazarus] fpGUI

2011-01-17 Thread Mattias Gaertner
On Mon, 17 Jan 2011 08:33:50 +0100 Martin Schreiber wrote: >[...] > There is a limitation in Delphi, it is not possible to add components to > submodules. In MSEide I was able to overcome that limitation with some hacks. It also works in Lazarus, but is disabled, because of TWriter. Why does T

Re: [Lazarus] fpGUI

2011-01-17 Thread Mattias Gaertner
On Mon, 17 Jan 2011 11:03:00 +0100 (CET) michael.vancann...@wisa.be wrote: >[...] > I have an application with 1500 forms. Every time you mention this application the number of forms grows by hundreds. I wonder, do you add one form per day? Are these normal forms, each with a whole unit of code?

Re: [Lazarus] pascal component stream

2011-01-17 Thread Mattias Gaertner
On Mon, 17 Jan 2011 13:18:06 +0300 Max Vlasov wrote: > On Mon, Jan 17, 2011 at 1:45 AM, Mattias Gaertner > wrote: > > > Hi, > > > > Point 4 is the real problem. How to store TStrings.Data or TBitmap.Data? > > > > > When the topic appears some t

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