Re: [Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?

2016-01-21 Thread Michael Schnell
On 01/21/2016 10:42 AM, Bo Berglund wrote: I could probably rip out the APro component and replace it with a TCPIP socket one instead since the RS232 is not going to be used anymore. The beauty of AsyncPro is that it provides the same user interface for serial and socket component. Hence a

[Lazarus] How to install LNet package in Lazarus 1.6RC2?

2016-01-21 Thread Bo Berglund
Want to install LNet into the Lazarus component palette in order to create a GUI program with TCPIP socket communications. I have already installed the lnet package in FPC 3.0.0 using the fppkg command line function. Then I could use lnet in a console program. Now I need the visual components

Re: [Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?

2016-01-21 Thread Michael Schnell
On 01/21/2016 01:25 PM, Mark Morgan Lloyd wrote: I didn't say anything wouldn't work. Sorry. I took "issue" for a potential problem Copying data tends to introduce a significant performance hit, which is why many OSes try to avoid it by passing pointers. The typical result of passing

Re: [Lazarus] New menu designer

2016-01-21 Thread Mattias Gaertner
On Thu, 21 Jan 2016 13:21:57 + Howard Page-Clark wrote: >[...] > I don't know anything about the translation process, or at what stage in > the IDE initialization captions are replaced with translated > resourcestrings. > Is there a standard notification, or other means

Re: [Lazarus] New menu designer

2016-01-21 Thread Howard Page-Clark
On 20/01/16 17:30, Péter Gábor wrote: Width of the designed menu must be calculated using the length of captions including the lenght of actual translation of "Add menuitem"... Otherwise if the menu captions are too short the command's caption will not fit. See the attached screenshot. Yes, in

Re: [Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?

2016-01-21 Thread Bo Berglund
On Thu, 21 Jan 2016 10:13:23 +, Graeme Geldenhuys wrote: >On 2016-01-21 09:42, Bo Berglund wrote: >> I started testing LNet a few months ago but did not get so far then >> and had to drop it for other tasks. > >I can also recommend Indy 10 (source code direct

Re: [Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?

2016-01-21 Thread Michael Schnell
On 01/21/2016 11:38 AM, Mark Morgan Lloyd wrote: That of course is a significant issue. I don't see what could prevent this from working. The simple method would be to create a new buffer for the data to be transferred to the main thread and copy the data already received in a "static

Re: [Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?

2016-01-21 Thread Mark Morgan Lloyd
Michael Schnell wrote: On 01/21/2016 11:38 AM, Mark Morgan Lloyd wrote: That of course is a significant issue. I don't see what could prevent this from working. I didn't say anything wouldn't work. The simple method would be to create a new buffer for the data to be transferred to the

Re: [Lazarus] Get Lazarus January 2016 Update

2016-01-21 Thread Marcos Douglas
On Wed, Jan 20, 2016 at 7:53 PM, Anthony Walter wrote: > > I've posted new installer for Free Pascal and Lazarus at getlazarus.org. Here > is an overview of the what's new: > > Video: > > http://www.getlazarus.org/new/ WOW! Very professional. Amazing job, congratulations.

Re: [Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?

2016-01-21 Thread Bo Berglund
On Thu, 21 Jan 2016 12:24:51 +0100, Michael Schnell wrote: >The beauty of AsyncPro is that it provides the same user interface for >serial and socket component. Hence a serial port could be local or done >with a "ComServer" device without a problem > That is why the

Re: [Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?

2016-01-21 Thread Michael Schnell
On 01/21/2016 10:09 AM, Bo Berglund wrote: . which implements an *event driven* serial comm port, which can switch between serial and sockets communications. The incoming data are dealt with in the OnTriggerAvail event. So these are the only specific items used by me, but obviously in the

Re: [Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?

2016-01-21 Thread Mark Morgan Lloyd
Michael Schnell wrote: - Once the appropriate data is collected you *create* a "transfer object" (an instance of a transfer class that allocates and includes buffer for the data (not just a pointer if the buffer could be reused by the thread ! That of course is a significant issue. I've

[Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?

2016-01-21 Thread Bo Berglund
I have a device comm simulation program created in Delphi 7 (or maybe 2007), which uses TurboPower Async Pro components for the serial and TCPIP communications. It is used for production testing and also for development purposes. On Windows of course Now I would like to port this to the

Re: [Lazarus] Can I build a Lazarus GUI program only with fpc installed?

2016-01-21 Thread Bo Berglund
On Sun, 17 Jan 2016 09:09:37 +0100, Bo Berglund wrote: Thanks for your comments! After looking through them and a lot of web resources I came to the conclusion that it is not worth the time. I decided to go with a Lazarus installation instead and ditch the platforms that

Re: [Lazarus] Raspberry Pi bundles now available

2016-01-21 Thread Bo Berglund
On Sun, 17 Jan 2016 23:21:00 +0800, Dennis wrote: >> Hi, >> I need a working lazarus on a RPi1B 256MB in order to compile a simple >> program that I have converted from Delphi7 on an RPi2B. On the RPi2B >> it works just fine but if I transfer it to the RPi1B it causes an

Re: [Lazarus] Can I build a Lazarus GUI program only with fpc installed?

2016-01-21 Thread Michael Schnell
On 01/21/2016 09:51 AM, Bo Berglund wrote: ditch the platforms that would not allow me to install Lazarus... It should be possible to link a project against the LCL without completely installing Lazarus or using Lazarus on that platform This does not even require cross compiling. The

Re: [Lazarus] Can I build a Lazarus GUI program only with fpc installed?

2016-01-21 Thread Mattias Gaertner
On Thu, 21 Jan 2016 10:14:33 +0100 Michael Schnell wrote: > On 01/21/2016 09:51 AM, Bo Berglund wrote: > > ditch the platforms that would not > > allow me to install Lazarus... > > It should be possible to link a project against the LCL without > completely installing

Re: [Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?

2016-01-21 Thread Michael Schnell
On 01/21/2016 10:09 AM, Bo Berglund wrote: I have a device comm simulation program created in Delphi 7 (or maybe 2007), which uses TurboPower Async Pro components for the serial and TCPIP communications. It is used for production testing and also for development purposes. On Windows of

Re: [Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?

2016-01-21 Thread Bo Berglund
On Thu, 21 Jan 2016 10:21:12 +0100, Michael Schnell wrote: >On 01/21/2016 10:09 AM, Bo Berglund wrote: >> I have a device comm simulation program created in Delphi 7 (or maybe >> 2007), which uses TurboPower Async Pro components for the serial and >> TCPIP communications. It

Re: [Lazarus] Can I build a Lazarus GUI program only with fpc installed?

2016-01-21 Thread Michael Van Canneyt
On Thu, 21 Jan 2016, Mattias Gaertner wrote: On Thu, 21 Jan 2016 10:14:33 +0100 Michael Schnell wrote: On 01/21/2016 09:51 AM, Bo Berglund wrote: ditch the platforms that would not allow me to install Lazarus... It should be possible to link a project against the

Re: [Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?

2016-01-21 Thread Graeme Geldenhuys
On 2016-01-21 09:42, Bo Berglund wrote: > I started testing LNet a few months ago but did not get so far then > and had to drop it for other tasks. I can also recommend Indy 10 (source code direct from their SVN repository). Indy 10 works very well these days with FPC 2.6.4 and FPC 3.0 -

Re: [Lazarus] Get Lazarus January 2016 Update

2016-01-21 Thread Petr Hložek
Excellent work! I'm looking forward to official version with this look & feel. Petr 2016-01-21 14:15 GMT+01:00 Marcos Douglas : > On Wed, Jan 20, 2016 at 7:53 PM, Anthony Walter wrote: > > > > I've posted new installer for Free Pascal and Lazarus at

Re: [Lazarus] How to install LNet package in Lazarus 1.6RC2?

2016-01-21 Thread Mattias Gaertner
On Thu, 21 Jan 2016 14:29:14 +0100 Bo Berglund wrote: >[...] > 2) Next I am supposed to open the lnetvisual.lpk package file in > Lazarus "Component/Open", but there is no such "Component" menu > command in my Lazarus! > The closest I get is "Package/Open package file", so

Re: [Lazarus] How to install LNet package in Lazarus 1.6RC2?

2016-01-21 Thread Bo Berglund
On Thu, 21 Jan 2016 15:19:42 +0100, Mattias Gaertner wrote: >On Thu, 21 Jan 2016 14:29:14 +0100 >Bo Berglund wrote: > >>[...] >> 2) Next I am supposed to open the lnetvisual.lpk package file in >> Lazarus "Component/Open", but there is no such

Re: [Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?

2016-01-21 Thread Graeme Geldenhuys
On 2016-01-21 16:48, Bo Berglund wrote: > My earlier experience is that the Indy download is VERY big and when I > analyzed what needed to be actually used I found that the only files > needed (for Delphi) were those in subdirectories Core, Protocols and I don't know the exact dependencies per

Re: [Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?

2016-01-21 Thread Bo Berglund
On Thu, 21 Jan 2016 17:11:29 +, Graeme Geldenhuys wrote: >On 2016-01-21 16:48, Bo Berglund wrote: >> My earlier experience is that the Indy download is VERY big and when I >> analyzed what needed to be actually used I found that the only files >> needed (for

Re: [Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?

2016-01-21 Thread Bo Berglund
On Thu, 21 Jan 2016 14:50:23 +, Graeme Geldenhuys wrote: >On 2016-01-21 14:10, Bo Berglund wrote: >> >> What svn URL do you recommend? >> And which tag? > >I use the URL: https://svn.atozed.com:444/svn/Indy10/trunk > > >ie: I use Trunk (v10.6.2) directly.

Re: [Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?

2016-01-21 Thread Graeme Geldenhuys
On 2016-01-21 17:25, Bo Berglund wrote: > Sizewise this is what I got: > pi@rpi2-jessie2:~/dev $ du -sh ./indy10/ > 77M ./indy10/ > > So the total download is 77 MB Yes, and that is only one revision. SVN is terrible! As far as I remember from SVN, it keeps a full (uncompressed) copy of

Re: [Lazarus] New menu designer

2016-01-21 Thread Howard Page-Clark
On 21/01/16 13:29, Mattias Gaertner wrote: On Thu, 21 Jan 2016 13:21:57 + Howard Page-Clark wrote: [...] I don't know anything about the translation process, or at what stage in the IDE initialization captions are replaced with translated resourcestrings. Is there a

Re: [Lazarus] Get Lazarus January 2016 Update

2016-01-21 Thread Anthony Walter
Sandro, If you're using my bundles and you want more packages, just use the "Packages > Install/Uninstall Packages" menu item, choose any of the packages you want, then click "Save and rebuild IDE". If the package you want to install isn't in the "Install/Uninstall Packages" list, then use the

Re: [Lazarus] Get Lazarus January 2016 Update

2016-01-21 Thread Anthony Walter
Petr, I'm unsure when or if the official Lazarus builds will include anchor docking and the docked form designer installed and arranged ergonomically. These are additional packages which users are supposed to know about and install themselves. There is also the of issue that there is no default

Re: [Lazarus] Win API function calls with array as parameter

2016-01-21 Thread John Landmesser
works!! Thank you very much!! ( googled in vain for such a tip ) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Get Lazarus January 2016 Update

2016-01-21 Thread Donald Ziesig
HI Anthony, You recently replied to Sandro: If you're using my bundles and you want more packages, just use the "Packages > Install/Uninstall Packages" menu item, choose any of the packages you want, then click "Save and rebuild IDE". I had not used those steps before so I tried, using the

Re: [Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?

2016-01-21 Thread Graeme Geldenhuys
On 2016-01-21 19:15, Bo Berglund wrote: > So I copied the entire Lib directory over and then renamed to indy10. > > And I copied in indylaz.lpk file from your previous message on top of > the one from svn. > > Opened it in Lazarus Packages/Open... and hit Use/Install. > > Unfortunately it did

Re: [Lazarus] Lazarus January 2016 Update Can't install custom components.

2016-01-21 Thread Anthony Walter
Don, you should probably take this to the forums at http://www.getlazarus.org/forums/viewforum.php?f=22 But to answer your question, in order to reduce the total install size of Raspberry Pi I've removed many fpc packages which do not fall under the domain of the rtl or fcl. I know for a lot of

Re: [Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?

2016-01-21 Thread Bo Berglund
On Thu, 21 Jan 2016 20:33:33 +, Graeme Geldenhuys wrote: >On 2016-01-21 19:15, Bo Berglund wrote: >> So I copied the entire Lib directory over and then renamed to indy10. >> >> And I copied in indylaz.lpk file from your previous message on top of >> the one

Re: [Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?

2016-01-21 Thread Žilvinas Ledas
On 2016-01-21 22:53, Bo Berglund wrote: Well, nz looked quite like one to me. OTOH the tabs contain different components so the duplication is really only the names. First tab is for components with names starting with letters A to N, and second tab for components starting with letters M to

Re: [Lazarus] Get Lazarus January 2016 Update

2016-01-21 Thread Anthony Walter
Mattias, I am pretty sure the problem is I removed a few files I shouldn't have while attempting to reduce the total install size for Pi. I'll issue a post an updated Pi bundle in a few hours (later tonight). -- ___ Lazarus mailing list

[Lazarus] Cross-Compile for arm-linux under Windows7PC

2016-01-21 Thread banana
Hi. I tried to install lazarus for arm-linux compiling under Windows7 PC. But It was too difficult to do.. If anyone use or know, Plz let me know how to do. Thank you. -- ___ Lazarus mailing list

Re: [Lazarus] Get Lazarus January 2016 Update

2016-01-21 Thread Donald Ziesig
On 01/21/2016 04:34 PM, Anthony Walter wrote: Okay Don, that's a valid problem. I'll look into it and reissue a new bundle for the Pi. I may have been overzealous in removing files from the lazarus folder to squeeze down the size. I'll message you when it's fixed and tested. You'll just need

Re: [Lazarus] Get Lazarus January 2016 Update

2016-01-21 Thread Donald Ziesig
On 01/21/2016 04:37 PM, Mattias Gaertner wrote: On Thu, 21 Jan 2016 15:32:39 -0500 Donald Ziesig wrote: [...] I did try make clean bigide and make bigide and the response was that it could not find target 'clean' or target 'bigide'. What platform? You need to change to

Re: [Lazarus] Get Lazarus January 2016 Update

2016-01-21 Thread Anthony Walter
Okay Don, that's a valid problem. I'll look into it and reissue a new bundle for the Pi. I may have been overzealous in removing files from the lazarus folder to squeeze down the size. I'll message you when it's fixed and tested. You'll just need to rerun the setup script and give it the same

Re: [Lazarus] Get Lazarus January 2016 Update

2016-01-21 Thread Mattias Gaertner
On Thu, 21 Jan 2016 15:32:39 -0500 Donald Ziesig wrote: >[...] > I did try make clean bigide and make bigide and the response was that it > could not find target 'clean' or target 'bigide'. What platform? You need to change to the lazarus directory before calling make.

Re: [Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?

2016-01-21 Thread Paul Breneman
On 01/21/2016 08:50 AM, Graeme Geldenhuys wrote: On 2016-01-21 14:10, Bo Berglund wrote: What svn URL do you recommend? And which tag? I use the URL: https://svn.atozed.com:444/svn/Indy10/trunk ie: I use Trunk (v10.6.2) directly. The repository is not that fast moving, and Remy seems to

Re: [Lazarus] How to install LNet package in Lazarus 1.6RC2?

2016-01-21 Thread Bo Berglund
On Thu, 21 Jan 2016 17:22:51 +0100, Bo Berglund wrote: > >Question: >Is there supposed to be some indication towards the user that >something is going on when a package is being compiled or installed? >If not then I suggest that it is added to Lazarus. > >If there is a

Re: [Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?

2016-01-21 Thread Bo Berglund
On Thu, 21 Jan 2016 18:29:56 +, Graeme Geldenhuys wrote: >On 2016-01-21 17:25, Bo Berglund wrote: >> Sizewise this is what I got: >> pi@rpi2-jessie2:~/dev $ du -sh ./indy10/ >> 77M ./indy10/ >> >> So the total download is 77 MB > >Yes, and that is only one

[Lazarus] Lazarus January 2016 Update Can't install custom components.

2016-01-21 Thread Donald Ziesig
On 01/20/2016 04:53 PM, Anthony Walter wrote: I've posted new installer for Free Pascal and Lazarus at getlazarus.org . Here is an overview of the what's new: Video: http://www.getlazarus.org/new/ Changes include: A new Lazarus layout with the component pallet

Re: [Lazarus] Get Lazarus January 2016 Update

2016-01-21 Thread Sandro Cumerlato
I would prefer to build useride with all my favourite packages. Is it possible to pass: --primary-config-path= or --pcp= while calling "make useride"? Thanx in advance for the answer. Sandro On 21 Jan 2016 17:12, "Anthony Walter" wrote: > Petr, > > I'm unsure when or