Re: [Lazarus] Using Lazarus on Embedded Linux?

2010-09-26 Thread Bo Berglund
>I've also replied to you FPC mailing list messages. > >This won't answer all of your questions but I hope it will help: > http://www.turbocontrol.com/embeddedfreepascal.htm Wow! This looks exactly like the product I have been looking around for! Except their datasheet links are broken so I cann

[Lazarus] Syncronising within library

2010-09-26 Thread steveg
Would anybody know if it is possible to access (change) visual controls from within a library IF the controls address has been passed to the library function correctly, and the change is made by that function when called by Synchronize() (therefore assuming now within the main threads scope) ?

Re: [Lazarus] Build configuration

2010-09-26 Thread Bernd Kreuss
On 25.09.2010 23:10, Benito van der Zander wrote: > Hi, > is there an easy way to switch between different compile configurations? > In C++ projects you usually have debug/release configurations, and what > I need > in Lazarus, are three configurations: debug (range/overflow check), > release lin

Re: [Lazarus] Using Lazarus on Embedded Linux?

2010-09-26 Thread Paul Breneman
Bo Berglund wrote: I've also replied to you FPC mailing list messages. This won't answer all of your questions but I hope it will help: http://www.turbocontrol.com/embeddedfreepascal.htm Wow! This looks exactly like the product I have been looking around for! Except their datasheet links are

[Lazarus] Delphi compatible XML lib

2010-09-26 Thread Juha Manninen (gmail)
Hi What is the reason there is no Delphi compatible XML library in LCL? Otherwise Lazarus tries to be Delphi compatible. There are many Delphi projects that can't be converted now because of this difference. Maybe the converter can do automatic conversion for it in the future. Juha -- _

[Lazarus] Delphi converter

2010-09-26 Thread Juha Manninen (gmail)
Hi I have improved the converter so that the known issues are about solved. I know the conversion still fails on many projects. For example Windows API calls are impossible to convert automatically. Some projects however can be converted completely. More feedback is welcome. There is a new wiki

[Lazarus] Tool to convert components properties to Pascal source code.

2010-09-26 Thread Frank Church
Is there a tool that can take an .lfm file and generate the equivqlent Pascol code to create it runtime? -- Frank Church === http://devblog.brahmancreations.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Is there a way to choose with fpc to use in lazarus command?

2010-09-26 Thread Frank Church
On 25 September 2010 23:04, Mattias Gaertner wrote: > On Sat, 25 Sep 2010 22:43:48 +0100 > Frank Church wrote: > > >[...] > > > > I am now get the dreaded "Fatal: Can't find unit Contnrs used by > x" > > > > error, yet it is located in > > > /packages/fcl-base/src/contnrs.pp > > > > > > The

Re: [Lazarus] Delphi compatible XML lib

2010-09-26 Thread Michael Van Canneyt
On Sun, 26 Sep 2010, Juha Manninen (gmail) wrote: Hi What is the reason there is no Delphi compatible XML library in LCL? Because there is no Delphi "XML library". Delphi provides a small wrapper around MSXML (or some other libraries, I think openxml also works). FPC is designed to be po

Re: [Lazarus] Delphi compatible XML lib

2010-09-26 Thread Felipe Monteiro de Carvalho
I don't know the Delphi XML, but FPC has a good XML library, so I guess that one can wrap it to make a delphi-compatible variant: http://wiki.lazarus.freepascal.org/XML_Tutorial -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.l

Re: [Lazarus] Delphi compatible XML lib

2010-09-26 Thread Juha Manninen (gmail)
On Sunday 26 September 2010 18:30:10 Michael Van Canneyt wrote: > It should not be hard to create a Delphi-compatible layer on top of it, > but honestly: I don't see why you would want to do that... I am thinking how to improve the Delphi converter. Some projects fail in conversion only because t

Re: [Lazarus] Delphi compatible XML lib

2010-09-26 Thread Sergei Gorelkin
Juha Manninen (gmail) пишет: On Sunday 26 September 2010 18:30:10 Michael Van Canneyt wrote: It should not be hard to create a Delphi-compatible layer on top of it, but honestly: I don't see why you would want to do that... I am thinking how to improve the Delphi converter. Some projects fail

Re: [Lazarus] Delphi compatible XML lib

2010-09-26 Thread Michael Van Canneyt
On Sun, 26 Sep 2010, Juha Manninen (gmail) wrote: On Sunday 26 September 2010 18:30:10 Michael Van Canneyt wrote: It should not be hard to create a Delphi-compatible layer on top of it, but honestly: I don't see why you would want to do that... I am thinking how to improve the Delphi conver

Re: [Lazarus] Build configuration

2010-09-26 Thread Felipe Monteiro de Carvalho
On Sun, Sep 26, 2010 at 12:56 AM, Graeme Geldenhuys wrote: > Many have asked this, but it is clearly not a high priority for the > Lazarus developers. It is a high priority. Just because it isn't implemented yet doesn't necessarely mean it isn't. -- Felipe Monteiro de Carvalho -- _

[Lazarus] IDE change: Place of project target file name

2010-09-26 Thread Mattias Gaertner
The option for the project target file name was moved to the paths of the compiler options. This is the same dialog, only another page. The options for -o, -FE and -FU are now on the same page. I hope this will reduce the amount of frequently asked questions about output file names. Mattias --

Re: [Lazarus] Lazarus Digest, Vol 32, Issue 79

2010-09-26 Thread Benito van der Zander
Not really easy. The easiest way is to save your compiler options and reload them when you want to switch. Thanks, that works. But it also overrides the path settings, which is not optimal. For the windows build I solve this problem by having an external tool configured that will simply ca

[Lazarus] Lazarus and FPC versions for Ubuntu 10?

2010-09-26 Thread Bo Berglund
I have just installed Ubuntu 10.04.1 desktop in a VMWare virtual machine. I also did a full update of everything after the install. Now for Lazarus In the Synaptic Package Manager I see versions: Lazarus: 0.9.28.2-8ubuntu1 FPC: 2.4.0-2 I don't know if these are current or if there is another

Re: [Lazarus] Lazarus and FPC versions for Ubuntu 10?

2010-09-26 Thread ABorka
Hi, I would do a build of FPC and Lazarus from SVN trunk. It works for me superbly and I don't have to worry about updates or keeping up-to-date with FPC/Lazarus. Nor waiting years for the latest packages to be updated and included in Ubuntu. The 2.5.1 trunk of FPC has a ton of new features and

Re: [Lazarus] Lazarus and FPC versions for Ubuntu 10?

2010-09-26 Thread Frank Church
On 26 September 2010 22:55, ABorka wrote: > Hi, > > I would do a build of FPC and Lazarus from SVN trunk. > It works for me superbly and I don't have to worry about updates or keeping > up-to-date with FPC/Lazarus. > Nor waiting years for the latest packages to be updated and included in > Ubuntu

Re: [Lazarus] Lazarus and FPC versions for Ubuntu 10?

2010-09-26 Thread Bo Berglund
>From: ABorka [mailto:fpc-de...@aborka.com] >Sent: Sunday, September 26, 2010 11:55 PM > >I would do a build of FPC and Lazarus from SVN trunk. I have never ever touched SVN, so I have no clue as to what to do to accomplish this Our outfit is using CVS since the beginning of this millennium (

Re: [Lazarus] Lazarus and FPC versions for Ubuntu 10?

2010-09-26 Thread Mattias Gaertner
On Mon, 27 Sep 2010 00:11:59 +0200 "Bo Berglund" wrote: > >From: ABorka [mailto:fpc-de...@aborka.com] > >Sent: Sunday, September 26, 2010 11:55 PM > > > >I would do a build of FPC and Lazarus from SVN trunk. > > I have never ever touched SVN, so I have no clue as to what to do to > accomplish t

Re: [Lazarus] Tool to convert components properties to Pascal source code.

2010-09-26 Thread Mattias Gaertner
On Sun, 26 Sep 2010 16:05:08 +0100 Frank Church wrote: > Is there a tool that can take an .lfm file and generate the equivqlent > Pascol code to create it runtime? See examples/pascalstream/PascalStream1.lpi. It does not support DefineProperties, for example image data. Mattias -- ___

Re: [Lazarus] Lazarus and FPC versions for Ubuntu 10?

2010-09-26 Thread ABorka
OK, here it is guys. These steps are a little bit raw and some additional apt packages might be needed, but it works for me. Also I did not detail how to extract tar.gz files and such. == Linux install (about 5.6GB disk space is needed to finish, recomme

[Lazarus] Posting to the list via the Gmane news gateway???

2010-09-26 Thread Bo Berglund
I would very much prefer to interact with the Lazarus mail list via a news interface and Gmane has a mirror of this list in just such a format. (see news.gmane.org) So I can read everything that way, but unfortunately whenever I post a reply via the Gmane news server it never shows up even though

Re: [Lazarus] Lazarus and FPC versions for Ubuntu 10?

2010-09-26 Thread Reimar Grabowski
On Sun, 26 Sep 2010 15:29:40 -0700 ABorka wrote: I think it is easier to install FPC via apt if you just need one version: -install fpc via apt -get lazarus and fpc sources via svn -use ~/your_lazarus_dir/tools/install/create_fpc_deb.sh to build fpc deb package -install newly build package via d

Re: [Lazarus] Build configuration

2010-09-26 Thread Graeme Geldenhuys
On 26 September 2010 19:42, Felipe Monteiro de Carvalho wrote: > > It is a high priority. Just because it isn't implemented yet doesn't > necessarely mean it isn't. I simply meant the request for that feature has been around for years, but many other new features (that arrived later) have been imp

Re: [Lazarus] Posting to the list via the Gmane news gateway???

2010-09-26 Thread Graeme Geldenhuys
On 27 September 2010 07:10, Bo Berglund wrote: > I would very much prefer to interact with the Lazarus mail list via a > news interface and Gmane has a mirror of this list in just such a format. > (see news.gmane.org) > > So I can read everything that way, but unfortunately whenever I post a > rep