Re: [Lazarus] Get Lazarus January 2016 Update
Okay Don a new Pi bundle has been uploaded which fixes the rebuild IDE problem you experienced. Just run setup.sh again to update. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Get Lazarus January 2016 Update
> > Also, you should know that the bundles I put together are specifically > designer not to interfere with other copies of Lazarus and Free Pascal. > Both programs have been setup to store their configuration information in > their own folders and they will not create issues with or change the > settings of other Free Pascal compilers or Lazarus copies you might have > installed side by side. > > This is why I really like your bundle. I already have own configuration of Lazarus 1.4.4 to develop my application on Ubuntu 14.04. I can't try experimental versions because deb package of the application will be created with Lazarus and Freepascal available for Ubuntu 14.04 and newer. If I want newer Lazarus and fpc, I have to create own Ubuntu 14.04 packages. These packages are used as dependency for my personal repository on Launchpad. You bundle is my easy-to-use way to see what is happening in trunk right now. BTW my personal repository with Lazarus 1.4.4 and fpc 2.6.4 is available at https://launchpad.net/~ok2cqr/+archive/ubuntu/lazarus. I suppose there will be also packages for fpc 3.0 and newer version of Lazarus as well. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?
On Thu, 21 Jan 2016 14:50:23 +, Graeme Geldenhuys 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 be on the ball quite quickly if there are any >noted issues. I would like to check out an earlier version of Indy10 but I don't understand how to find the correct tag name to use in the checkout... If I browse to the server using https://svn.atozed.com:444/svn/Indy10 then I can enter the tags dir but the names there are seemingly incompatible with the svn co command since they seem to contain loads of spaces, for example: Indy 10.5.8 - XE2 RTM How could I retrieve the 10.5.8 version (last before 10.6.x)? On my Delphi I use the 10.5.7 version so I thought (in hindsight) taht it would be better to use that also in Lazarus... -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?
On Fri, 22 Jan 2016 12:43:09 +0100, Bo Berglund wrote: >If I browse to the server using https://svn.atozed.com:444/svn/Indy10 >then I can enter the tags dir but the names there are seemingly >incompatible with the svn co command since they seem to contain loads >of spaces, for example: >Indy 10.5.8 - XE2 RTM Never mind, I realized I could put %20 as an override for all spaces. Then it worked. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?
On 2016-01-22 11:43, Bo Berglund wrote: > On my Delphi I use the 10.5.7 version so I thought (in hindsight) taht > it would be better to use that also in Lazarus... Glad you got it sorted out in the end. I would still recommend using the latest code in SVN Trunk though. Bug fixes are always a good thing. :) Regards, - Graeme - My public PGP key: http://tinyurl.com/graeme-pgp -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Get Lazarus January 2016 Update
On 01/22/2016 03:51 AM, Anthony Walter wrote: Okay Don a new Pi bundle has been uploaded which fixes the rebuild IDE problem you experienced. Just run setup.sh again to update. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus IT WORKS! I haven't re-installed the component that uses RegExpr in the package yet, but what I have is sufficient for this project so far. Now all I need is to get the IDE/debugger to run as root so I can debug the Pi's hardware I/O software. Will keep you posted. Many thanks, Don -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Unable to stream selected components! TIdSimpleServer
I have FPC 3.0.0 and Lazarus 1.6RC2 installed on an RPi2B platform running Raspbian Jessie (latest). In Lazarus I have installed the Indy 10.6.2 components from code downloaded by svn (trunk) yesterday. Now I tried to use them for the first time by starting a new project and then selecting the tab "Indy Servers - Core", clicking on the middle icon (TIdSimpleServer). Next I clicked in the form that was displayed by Lazarus in order to place the component there. Up pops a message with a red stop sign: "Unable to stream selected components There was an error during writing the selected component IdSimpleServer1:TIdSimpleServer: Access violation" When I click OK the message goes away and the component is present on the form. I have not seen such a message earlier and it will not happen if I drop any of the other components on the same tab onto the form. As expected it does not happen when I drop standard components like TButton and the like either. It seems to be tied only to this TIdSimpleServer component, which of course is the one I want to use and the reason I installed Indy10 in the first place... Any ideas? -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] New menu designer
On Sun, Jan 17, 2016 at 8:40 PM, Howard wrote: > On 17/01/2016 13:00, Juha Manninen wrote: >> Howard, for curiosity, your patch has: LCLVersion = '1.6.0.2' The menu >> editor is developed in trunk 1.7. Are you using a fixex_1_6 version for >> editing? Juha > > Yes, the code I worked on was the latest trunk (well perhaps it was from the > day before). The IDE I used was 1.6.0. Does this matter? I forgot to answer this earlier. No it does not matter. It only means that you must open 2 different IDE versions, one for editing and one for testing your changes. I personally use the same binary where I did my changes. Usually it works well enough. Sometimes rarely I break it badly and then I use a backup binary which I have copied to another name. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Raspberry Pi Debug Digital I/O
Hi All! This applies to the Raspberry Pi 2 B. After a bit of cut and try, I got Anthony Walter's version of Lazarus to run as root (from the Raspbian menu) so I could debug programs which do DigitalRead, DigitalWrite, etc. using h2wiringPi. Note that this could be dangerous if you are permanently connected to the web while using Lazarus, but in my case, the only time that my Pi will be connected to the web is when I am getting Lazarus set up (and it is not yet running as root). Thereafter I will be connected directly from Pi to Laptop on a private subnet with no router. Once the app is developed the Pi will not be networked at all. Incidentally, I got the Pi setup so that if it fails DHCP (is not connected to a router) it reverts to the private subnet. If anyone wants to do this, let me know and I'll publish the "magic incantations". ;-) It is much more convenient than editing /etc/network/interfaces every time you need to change from accessing the web to a local private subnet. The application itself must run as root to do digital I/O. If you don't want to debug using the IDE, you don't have to make the IDE run as root, though, just the app. Using Anthony's default paths, I created a file in /home//Development/FreePascal/lazarus called lazroot.sh This file contains two lines: xhost +localhost sudo /home//Development/FreePascal/lazarus/lazarus.sh Then chmod +x lazroot.sh I used the Menu > Preferences > Main Menu Editor to change the command which starts Lazarus to: /home//Development/FreePascal/lazarus/lazroot.sh Obviously is the directory where lazarus is located. At first I tried to change the Menu command to the two lines in the lazroot.sh file, but the internals of the menu system did not support multi-command arguments. For some reason, Lazarus re-built itself (as if I were installing components) the very first time I ran it as root. After that it starts normally. Hope this helps someone in return for all the help I have been given here. Don Ziesig -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] [PATCH] components/turbopower_ipro: added the Iphttpbroker and its example
Hello, Issue ID: #29483. [1] This patch implements the HTTP support in the TurboPower IPro component. Thank you! [1] http://bugs.freepascal.org/view.php?id=29483 -- Silvio Clécio -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus