Re: [Lazarus] Example of full screen console program anywhere?

2016-04-28 Thread Bo Berglund
On Thu, 28 Apr 2016 15:23:01 +0200, Bo Berglund <bo.bergl...@gmail.com> wrote: I went ahead and created a new Console Application in Lazarus where I use the same object for controlling the GPIO pins as I did in the GUI program. The Console program just initializes the control object then

Re: [Lazarus] Example of full screen console program anywhere?

2016-04-28 Thread Bo Berglund
On Mon, 25 Apr 2016 16:59:25 +0200, Bo Berglund <bo.bergl...@gmail.com> wrote: >I need to create a console program, but one that works similar to the >nano editor, the gpsd position/satellite view or raspi-config on a >Raspberry Pi. >I.e. the program manages the full terminal s

[Lazarus] Example of full screen console program anywhere?

2016-04-25 Thread Bo Berglund
that does not work decently with the graphical interface. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Fatal: Cannot find IdMappedPortTCP used by xxxx

2016-04-23 Thread Bo Berglund
This message seems not to have made it to Gmane, so trying again... On Sat, 23 Apr 2016 11:01:38 +0200, Mattias Gaertner <nc-gaert...@netcologne.de> wrote: >On Sat, 23 Apr 2016 10:12:33 +0200 >Bo Berglund <bo.bergl...@gmail.com> wrote: > >>[...] >> I have google

Re: [Lazarus] Fatal: Cannot find IdMappedPortTCP used by xxxx

2016-04-23 Thread Bo Berglund
On Sat, 23 Apr 2016 11:01:38 +0200, Mattias Gaertner <nc-gaert...@netcologne.de> wrote: >On Sat, 23 Apr 2016 10:12:33 +0200 >Bo Berglund <bo.bergl...@gmail.com> wrote: > >>[...] >> I have googled and looked at old list messages but to no avail. The >&g

Re: [Lazarus] How to clear screen in console app

2016-04-23 Thread Bo Berglund
the slow Internet speed. SSH via PuTTY works much better and I plan on using screen to run the mapper program while I can continue to work in the terminal base. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.

[Lazarus] Fatal: Cannot find IdMappedPortTCP used by xxxx

2016-04-23 Thread Bo Berglund
used unit cannot be found So it seems like if one creates a non-GUI application in Lazarus then the packages installed in Lazarus are not available anymore. :( Note: the Indy10 components are all non-GUI in the first place and I usually always create them in code. How to solve this? -- B

Re: [Lazarus] How to clear screen in console app

2016-04-22 Thread Bo Berglund
On Sat, 23 Apr 2016 07:32:55 +0200, Bo Berglund <bo.bergl...@gmail.com> wrote: >I need to make a console app that can run on Linux. >It would be a simple thing I believed, but no... > >I cannot get the ClrScr command working, it just puts strange >characters on the scree

[Lazarus] How to clear screen in console app

2016-04-22 Thread Bo Berglund
in a new line being displayed rather than staying on the same line and erasing the previous output. What am I doing wrong? -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] TLabel justification not obeyed (Lazarus 1.6 release)

2016-04-21 Thread Bo Berglund
need Lazarus. The final target system is Linux. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] TLabel justification not obeyed (Lazarus 1.6 release)

2016-04-21 Thread Bo Berglund
it is a description for. This was a surprise because it is not working like this in Delphi. What did I do wrong? -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org

Re: [Lazarus] Testing Rapberry Pi 3 performance

2016-04-06 Thread Bo Berglund
on variables that are double and currency. Like getting the wrong exponent when multiplying them. I never ever use currency variables so I guess I am good. :) -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepas

Re: [Lazarus] Testing Rapberry Pi 3 performance

2016-04-05 Thread Bo Berglund
g GMANE News mirror but I cannot find it without some hint on the actual subject text. I am working on a project where I will have to process floating point values and do endian conversion and such stuff. So I am really anxious that this could be affected by such a bug. -- Bo Berglund Develop

Re: [Lazarus] Raspberry Pi 3 build issues

2016-03-25 Thread Bo Berglund
orum user repeatedly claimed it was not necessary so I took tha part out and it does work on the RPi3 at least when I tried. Afetr all it has more RAM. But I agree that having bigger swap might not hurt anyway. -- Bo Berglund Developer in Sweden -- _

Re: [Lazarus] Testing Rapberry Pi 3 performance

2016-03-25 Thread Bo Berglund
sie: http://blog.boberglund.com/install_laz_pi.sh Revisions to download are modified in the script configuration at the top. It needs a user response when it is running the install of the seed compiler, otherwise it is unattended. -- Bo Berglund Developer

Re: [Lazarus] Having multiple Lazarus like GetLazarus version

2016-03-25 Thread Bo Berglund
e the --pcp parameter. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Raspberry Pi 3 build issues

2016-03-21 Thread Bo Berglund
.0.0 release and finally uses that to build the lazarus ide. It also creates a start menu entry for Lazarus at the end. HTH -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal

Re: [Lazarus] clean installation

2016-03-10 Thread Bo Berglund
On Thu, 10 Mar 2016 12:56:36 +0100, Bo Berglund <bo.bergl...@gmail.com> wrote: >4) Install Lazarus >-- Forgot to mention that you need to update your system and get these libraries: sudo apt-get update sudo apt-get install -y libx11-dev libgdk-pixbuf2.0-dev libcairo

Re: [Lazarus] clean installation

2016-03-10 Thread Bo Berglund
ategories=Development;IDE;Pascal; Save this (Ctl-X and yes...) Finally: chmod +x ~/Desktop/lazarus_1.6.desktop Now the start icon will appear on the desktop. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazaru

Re: [Lazarus] PWM on raspberry pi

2016-03-09 Thread Bo Berglund
>Did you try PWM, e.g. with the demo-program ? Does it work ? No, I just needed to use In-Out to control relays and check digital levels. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://list

Re: [Lazarus] PWM on raspberry pi

2016-03-08 Thread Bo Berglund
tha the second change is because of the RPi2 hardware, it was probably put there in order to make my program run as a normal user rather than su. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.free

Re: [Lazarus] Form Resizing

2016-03-07 Thread Bo Berglund
On Mon, 7 Mar 2016 03:09:26 +0200, Juha Manninen <juha.mannine...@gmail.com> wrote: >On Sun, Mar 6, 2016 at 7:27 PM, Bo Berglund <bo.bergl...@gmail.com> wrote: >> I have no idea what you mean by this statement... >> What is LXDE and how do I test Lazarus for LXDE? >

Re: [Lazarus] Form Resizing

2016-03-07 Thread Bo Berglund
On Sun, 6 Mar 2016 23:47:19 +0100, Giuliano Colla <giuliano.co...@fastwebnet.it> wrote: >Il 06/03/2016 18:27, Bo Berglund ha scritto: >[...] >> I have no idea what you mean by this statement... >> What is LXDE and how do I test Lazarus for LXDE? >A general hint: w

Re: [Lazarus] Form Resizing

2016-03-06 Thread Bo Berglund
On Sat, 5 Mar 2016 19:55:46 +0200, Juha Manninen <juha.mannine...@gmail.com> wrote: >On Mar 5, 2016 4:48 PM, "Bo Berglund" <bo.bergl...@gmail.com> wrote: >> I looked at Lazarus Tools/Configure "Bild Lazarus" I see that the LCL >> widget type is set t

Re: [Lazarus] Form Resizing

2016-03-05 Thread Bo Berglund
On Wed, 02 Mar 2016 10:08:36 +0100, Bo Berglund <bo.bergl...@gmail.com> wrote: >In fact one does not even need to compile the default project, the >Lazarus IDE is likewise afflicted. Cannot reduce width of Object >Inspector, Code editor or the main top window. Only possible to ma

Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-03 Thread Bo Berglund
aim not so much is to be gained with 64 bit mode since RAM is just 1GB (currently). -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-02 Thread Bo Berglund
gt; will come later. >> >So Alfred will only be able to run 64 Bit Lazarus programs after >updating the OS to a 64 bit version. I asked on the RPi forum but it appears thta a 64 bit Raspbian kernel is a bit away from nos. See: https://www.raspberrypi.org/forums/viewtopic.php?f=66=13838

Re: [Lazarus] Form Resizing

2016-03-02 Thread Bo Berglund
hanks for reporting. > Updated my trunk Lazarus and checked the state. Now the doubleclick on the button brings me as expected to a newly created OnClick event handler ready to be filled in. Thanks! But the Form resizing issue persists. :( -- Bo Berglund Developer in Sweden -

Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-02 Thread Bo Berglund
On Tue, 01 Mar 2016 20:45:11 +, Alfred <alf...@consulab.nl> wrote: >While preparing fpc(laz)up for my RPi3 Quick action! They are sold out now everywhere I looked... -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing lis

Re: [Lazarus] Form Resizing

2016-03-02 Thread Bo Berglund
On Tue, 01 Mar 2016 17:39:53 +0100, zeljko <zel...@holobit.net> wrote: >On 03/01/2016 05:32 PM, Bo Berglund wrote: > >> Either that fix is not part of that revision or the fix does not work. > >Maybe I've wrongly connected this thread and issue >http://bugs.freepascal.

Re: [Lazarus] Form Resizing

2016-03-01 Thread Bo Berglund
solution to the resizing issue that was purported to be done. Either that fix is not part of that revision or the fix does not work. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Form Resizing

2016-03-01 Thread Bo Berglund
On Tue, 01 Mar 2016 14:27:05 +0100, Bo Berglund <bo.bergl...@gmail.com> wrote: >>> Most likely a GTK2 library version dependent issue. >> >>I've fixed that issue (gtk3 also). >> > >I guess I can make a test by checking out Lazarus trunk and make a "Tr

Re: [Lazarus] Form Resizing

2016-03-01 Thread Bo Berglund
itch to Lazarus trunk (1.7.xxx) from release to be able to fix this in my 1.6 release. Or is there a simple patch I can apply to the release revision? I guess I can make a test by checking out trunk and make a "Trunk" Lazarus... -- Bo Berglund Developer in Sweden -- _

Re: [Lazarus] Form Resizing

2016-02-29 Thread Bo Berglund
was a Lazarus IDE problem only. But your post widens the scope a bit to ALL programs compiled using this particular combination of FPC, Lazarus and Operating system environment (possibly the OS widgetset as well). My RPi2 runs Raspbian Jessie from Feb 9 2016. --

Re: [Lazarus] Form Resizing

2016-02-29 Thread Bo Berglund
you. I don't know how I can get the revision number for Lazarus, but Help/About shows FPC 3.0.0 as svn rev 51666 I checked out the release tag for 1.6 when I installed Lazarus 1.6. That should be what you need to find the revision number. -- Bo Berglund Developer in Sweden -- __

Re: [Lazarus] Form Resizing

2016-02-29 Thread Bo Berglund
I am getting to the wrong place? If so exactly how do I reach this new local menu? As I stated in my reply a short while ago I also have this behaviour. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepas

Re: [Lazarus] Form Resizing

2016-02-29 Thread Bo Berglund
elow the initial size. It is as if there were Constraints set on the minimum size in X and Y but I just checked and there are none. My setup is: FreePascal 3.0.0 release Lazarus 1.6 release Both built from svn sources. Hardware: Raspberry Pi2 Operating system: Raspbian Jessie from Feb 9, 2016 (arm-linu

Re: [Lazarus] Raspberry Pi 3 Now Available

2016-02-29 Thread Bo Berglund
RM Cortex A53 clocked at 1.2 GHz. > >https://www.raspberrypi.org/blog/raspberry-pi-3-on-sale Such a unit plus Raspbian Jessie and an FPC/Lazarus installation would go a long way towards programming students with small means. The Pi2 is decent enough, but the Pi3 seems to be approaching deskt

Re: [Lazarus] conditionals for detecting hardware platforms?

2016-02-29 Thread Bo Berglund
On Mon, 29 Feb 2016 16:55:04 +0200, Chavoux Luyt <chav...@gmail.com> wrote: >Hi Bo, > >From: Bo Berglund <bo.bergl...@gmail.com> > >> >> So I need to put some kind of conditional into my code to redirect the >> GPIO calls to some simu

[Lazarus] conditionals for detecting hardware platforms?

2016-02-29 Thread Bo Berglund
debugging in the development PC. Is there something like "RPi2Hardware" already set up that can be used to check for this? -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepasca

Re: [Lazarus] Feature Request: hide button text in windows with toolbars

2016-02-26 Thread Bo Berglund
is also the mantis server) in a reliable data >center. > >Bigger discs (accomodating more images) means more money needs to be put on >the table. How do I donate for FreePascal/Lazarus? -- Bo Berglund Developer in Sweden -- __

Re: [Lazarus] Feature Request: hide button text in windows with toolbars

2016-02-25 Thread Bo Berglund
k any more. :-/ I support this! The images should be downloaded to the server so they won't go away when someone moves his site or makes other changes. I have seen so many such problems in other cases that I fully support usning the Mantis server itself as home to the images. -- Bo Berglund D

Re: [Lazarus] Lazarus 1.6 Object Inspector width, how to reduce?

2016-02-25 Thread Bo Berglund
On Thu, 25 Feb 2016 04:20:30 +0100, Ondrej Pokorny <laza...@kluug.net> wrote: >On 24.02.2016 19:23, Bo Berglund wrote: >> On Wed, 24 Feb 2016 19:19:00 +0100, Bo Berglund >> <bo.bergl...@gmail.com> wrote: >>> A quick test: >>> In 1.6RC2 the min

Re: [Lazarus] Wiki and docs- where?

2016-02-25 Thread Bo Berglund
orbidden". All 3 links work OK from here (Sweden) -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor [OT]

2016-02-25 Thread Bo Berglund
On Thu, 25 Feb 2016 10:11:57 +, Lukasz Sokol <el.es...@gmail.com> wrote: >gmane.comp.compilers.free-pascal.social = fpc-other ... recently added (less >than a week ago) > I saw the "social" one and thought that it is another than "other".... I'll have a loo

Re: [Lazarus] SQLDb and TSQLQuery usage for MSSQL database...

2016-02-25 Thread Bo Berglund
ansaction-Commit sequence in the background if I do not explicitly code for it? -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] SQLDb and TSQLQuery usage for MSSQL database...

2016-02-24 Thread Bo Berglund
ction object really is involved here... It seems like a TSQLTransaction activity is only needed if data are to be changed in the database and not if they are only read from the database. Is this correct? -- Bo Berglund Developer in Sweden -- __

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Bo Berglund
owing starting XMing on windows. Amazingly I got the lazarus separate panels painted on top of my Win7 desktop but it was not possible to copy/paste or anything and the windows were sluggish at best and could not be moved. Better closing this discussion before we get purged from the list.... Thanks

Re: [Lazarus] Lazarus 1.6 Object Inspector width, how to reduce?

2016-02-24 Thread Bo Berglund
On Wed, 24 Feb 2016 19:19:00 +0100, Bo Berglund <bo.bergl...@gmail.com> wrote: >A quick test: >In 1.6RC2 the minimum width is about 233 pixels whereas in 1.6 it is >more like 430 pixels. That is a rather big part of my total width... It turns out tha the code editor has als

[Lazarus] Lazarus 1.6 Object Inspector width, how to reduce?

2016-02-24 Thread Bo Berglund
: In 1.6RC2 the minimum width is about 233 pixels whereas in 1.6 it is more like 430 pixels. That is a rather big part of my total width... -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Bo Berglund
ght not qualify... ;-/ However, Gmane does not carry the "-other" mail lists on its news mirror and I do all of my talking here through Gmane Can't stand the email interface because I lose totally the overview and threading offered by a news service. -- Bo Ber

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Bo Berglund
On Wed, 24 Feb 2016 15:40:15 +, Graeme Geldenhuys <mailingli...@geldenhuys.co.uk> wrote: >On 2016-02-24 15:33, Bo Berglund wrote: >> Or understand how the Raspbian desktop would land on the Win7 X >> screen. :( > >As far as I know you do get a X Server implement

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Bo Berglund
On Wed, 24 Feb 2016 15:00:42 +, Martin Frb <laza...@mfriebe.de> wrote: >On 24/02/2016 13:10, Bo Berglund wrote: >> I have discovered a strange problem with my Lazarus 1.6 release >> installation on RPi2 (Raspbian Jessie) concerning keyboard entries. >> >&g

[Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Bo Berglund
in Windows7 *can* be pasted in the code editor though. So this is a one-directional problem. And in other applications like the text editor copy/paste works perfectly good. -- Bo Berglund Developer in Sweden -- ___ Lazarus mail

Re: [Lazarus] SQLDb and TSQLQuery usage for MSSQL database...

2016-02-24 Thread Bo Berglund
Lazaus on Linux towards a Windows MSSQL Server database! Now I can convert all of the other stuff as well (going from Delphi 7 to Lazarus 1.6 on Linux) -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.free

Re: [Lazarus] Clean and build as sudo?

2016-02-24 Thread Bo Berglund
; >Should I run Lazarus as sudo? What are the risks? > I always install Lazarus as the user and inside user home where file permissions are OK: For example: ~/dev/lazarus/1.6 THen there are no problems when Lazarus needs to rebuild etc.

[Lazarus] SQLDb and TSQLQuery usage for MSSQL database...

2016-02-24 Thread Bo Berglund
fication Project DBTest raised exception class 'EDatabaseError' with message: Database not assigned! At address 2DD4B0 [Break] [Continue] -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org htt

Re: [Lazarus] Simple MSSQL database connection fails from Lazarus 1.6/FPC 3.0.0...

2016-02-23 Thread Bo Berglund
QL queries using the established connection! -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Simple MSSQL database connection fails from Lazarus 1.6/FPC 3.0.0...

2016-02-23 Thread Bo Berglund
runs to a green panel! Time to expand it to see if it is actually working... Will try to run a query and see the result. :) -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Simple MSSQL database connection fails from Lazarus 1.6/FPC 3.0.0...

2016-02-23 Thread Bo Berglund
that since there was a SQLDb component TMSSQLConnection available it would be possible to connect to a database server running MSSQL, but apparently something is missing here. THe message talks about libsybdb.so, what is that and do I need some other stuff to go with Lazarus to do database work

[Lazarus] Do I need separate package files for multiple Lazarus versions?

2016-02-21 Thread Bo Berglund
for each Lazarus version or can I just install the packages from the same source location? I am using separate Lazarus configuration directories for each version. And it is all in Raspbian Jessie. Finally: All runs on FPC 3.0.0 release. -- Bo Berglund Developer in Sweden

[Lazarus] Lazarus 1.6 EditorMacroScript error on startup

2016-02-19 Thread Bo Berglund
: "Failed getstr2 [Exp: "456" / Got: "abc"]" I have seen this before but thought it would be fixed in the release version... It does not matter much because it will be shown only once on first start, however it is pretty strange. -- B

Re: [Lazarus] Lazarus Release 1.6

2016-02-19 Thread Bo Berglund
On Thu, 18 Feb 2016 13:43:07 -0300, silvioprog <silviop...@gmail.com> wrote: >(SF still "Looking for the latest version? Download >lazarus-1.4.4-fpc-2.6.4-win32.exe") svn co http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_6 This is rev 51666 -- Bo Berglu

Re: [Lazarus] How to set defines for a project? Lazarus crashes...

2016-02-09 Thread Bo Berglund
when I built Lazarus. Different workaround solution: If I open the project file and add this directly on the next line following the top line "program MyTCPTest": {$DEFINE UseCThreads} then it actually does work. But the Delphi way seems easier with a separate project option for the def

Re: [Lazarus] How to set defines for a project? Lazarus crashes...

2016-02-09 Thread Bo Berglund
F7 to go back to X > >UseCThreads is normaly added in the *.lpr file >Project->Project Inspektor > doubleclick lpr file When I added {$DEFINE UseCThreads} as the first line following the program line it works. :) -- Bo Berglund Developer in Sweden -- ___

Re: [Lazarus] How to set defines for a project? Lazarus crashes...

2016-02-09 Thread Bo Berglund
-jessie2:~ $ ps -u pi |grep lazarus 5091 ?00:00:00 startlazarus 5094 ?00:00:10 lazarus Seems to be two processes with lazarus in the name. Which one (or both) do I kill? -- Bo Berglund Developer in Sweden -- ___ L

[Lazarus] Lazarus code editor width not smaller than 1060 px?

2016-02-09 Thread Bo Berglund
xact behaviour on the HDMI output channel (display :0) and on the VNC connection (display :1) What can be the reason for this behaviour? -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] FreePascal TCPIP data tunnel code sample?

2016-02-08 Thread Bo Berglund
cial program for this to work. Thanks for getting me look for a different way of solving the problem! -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] "Test" button in project inspector

2016-02-08 Thread Bo Berglund
on: In Delphi there is a Project menu function "syntax check", which checks the syntax of the project without actually compiling it. Is there a corresponding "Test" function available in Lazarus? In Delphi I use this a lot! -- Bo Berglund Developer in Sweden

[Lazarus] How to set defines for a project? Lazarus crashes...

2016-02-08 Thread Bo Berglund
In Delphi this is available in a dialog along with the path settings, which is very convenient to use... I am using Lazarus 1.6RC2 and FPC 3.0.0 on Raspbian Jessie. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing li

Re: [Lazarus] FreePascal TCPIP data tunnel code sample?

2016-02-05 Thread Bo Berglund
On Thu, 4 Feb 2016 21:10:54 +0100, Koenraad Lelong <lazar...@de-brouwerij.be> wrote: >Op 04-02-16 om 17:17 schreef Bo Berglund: >> Then whatever data comes in through the Ethernet port should be sent >> via the WiFi connection to the instrument. >> All data received

[Lazarus] FreePascal TCPIP data tunnel code sample?

2016-02-04 Thread Bo Berglund
ry Pi2B so it can be easily deployed in the place the instrument is located. Meanwhile I can sit in another building and test the actual client code. Is there something like this available already? -- Bo Berglund Developer in Sweden -- ___ Lazarus ma

Re: [Lazarus] Free Pascal and Lazarus learning center

2016-02-04 Thread Bo Berglund
On Mon, 01 Feb 2016 15:24:13 +0100, Michael Schnell <mschn...@lumino.de> wrote: >On 02/01/2016 03:00 PM, Bo Berglund wrote: >> And very complex to hack into as well. >If I can provide any help., please let me know. > >> So I turned to Indy10 now > >Not a good

[Lazarus] FreePascal TCPIP data tunnel code sample?

2016-02-04 Thread Bo Berglund
be running on a Raspberry Pi2B so it can be easily deployed in the place the instrument is located. Meanwhile I can sit in another building and test the actual client code. Is there something like this available already? -- Bo Berglund Developer

Re: [Lazarus] Free Pascal and Lazarus learning center

2016-02-01 Thread Bo Berglund
On Mon, 01 Feb 2016 13:53:30 +0100, Michael Schnell <mschn...@lumino.de> wrote: >On 02/01/2016 12:47 PM, Bo Berglund wrote: >> Blocking sockets is where I am now... >So Porting AsyncPro would be a great exercise :-) !!! > >This is an exceptionally useful tool, great op

Re: [Lazarus] Free Pascal and Lazarus learning center

2016-02-01 Thread Bo Berglund
anyway why I proposed the thread section here, believing that if I don't know enough to use it properly there are for shure a whole bunch others that share this predicament -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazar

Re: [Lazarus] Free Pascal and Lazarus learning center

2016-01-31 Thread Bo Berglund
ood examples using threads for TCPIP networking or similar would be good. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Unexpected error from intfgraphics.pas when running GPIO test program

2016-01-25 Thread Bo Berglund
how can I find it when the problem is in a Lazarus internal file??? I created it in an earlier Lazarus and FPC version back in October 2015. Why does this happen and is there a solution? -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing li

Re: [Lazarus] Unexpected error from intfgraphics.pas when running GPIO test program

2016-01-25 Thread Bo Berglund
On Mon, 25 Jan 2016 12:26:03 +0100, Bo Berglund <bo.bergl...@gmail.com> wrote: > >gpiotest >Bitmap with unknown compression (21060) >Press OK to ignore and risk data corruption >Press Cancel to kill the prog

Re: [Lazarus] Raspberry Pi Debug Digital I/O

2016-01-24 Thread Bo Berglund
:pi input:x:101:pi netdev:x:108:pi spi:x:999:pi i2c:x:998:pi gpio:x:997:pi <== This for GPIO I never use the NOOBS disk, I always create the start image from the offiocial Raspbian Jessie image, currently I am on the Nov 2015 release. And the groups above were set from the start on that distro

Re: [Lazarus] Raspberry Pi Debug Digital I/O

2016-01-24 Thread Bo Berglund
zarus.freepascal.org/pipermail/lazarus/2015-October/094438.html Specifically see how the change from using /dev/mem to /dev/gpiomem made it possible to run as user pi. I personally totally detest having to be root in a development system and having my programs require root to run.

Re: [Lazarus] Raspberry Pi Debug Digital I/O

2016-01-24 Thread Bo Berglund
ubsystem -rwxrwx--- 1 root gpio 4096 Jan 17 16:47 uevent >and > >$ ls -lL ../../devices/platform/soc/3f20.gpio/gpio/ This is a relative path and you did not specify where one should be located in order to execute it. Cannot perform this command. Please supply an absolute path i

Re: [Lazarus] Raspberry Pi Debug Digital I/O - PiGpio.zip (1/1)

2016-01-24 Thread Bo Berglund
begin 644 PiGpio.zip M4$L#!!0``@`(`..:*DBT1R3E"@L``%\E```*4'<+G!A<\U:;4_; MRA+^W$K]#U,)Z22G*;&=0(&<'IU`$AH52)2$(MT/C9QX#;YU;,MVH+3BO]]G M=NVU"8'"%>7>B`9[9W;>=W9FZ#+P4AIZAY$7MMZ\_OGF->T?'%L[C2TZ'/8' M-!+G7I+]2)O4L1U\CVDY#F=D#+1%`:TL(.O@>;2D,+T0,<7Y+CL6

Re: [Lazarus] Raspberry Pi Debug Digital I/O - PiGpio.zip (0/1)

2016-01-24 Thread Bo Berglund
On Sun, 24 Jan 2016 20:59:40 +0100, Koenraad Lelong <lazar...@de-brouwerij.be> wrote: >Op 24-01-16 om 11:47 schreef Bo Berglund: >> On Fri, 22 Jan 2016 20:55:59 -0500, Donald Ziesig <don...@ziesig.org> >> wrote: >> >>> The application itself must ru

Re: [Lazarus] Raspberry Pi Debug Digital I/O

2016-01-24 Thread Bo Berglund
jessie2:~/dev $ ls -lL /sys/class/gpio total 0 -rwxrwx--- 1 root gpio 4096 Jan 17 16:47 export drwxrwx--- 2 root gpio0 Jan 17 16:47 gpiochip0 -rwxrwx--- 1 root gpio 4096 Jan 17 16:47 unexport -- Bo Berglund Developer in Sweden -- ___

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

2016-01-22 Thread Bo Berglund
.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?

2016-01-22 Thread Bo Berglund
On Fri, 22 Jan 2016 12:43:09 +0100, Bo Berglund <bo.bergl...@gmail.com> 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 l

[Lazarus] Unable to stream selected components! TIdSimpleServer

2016-01-22 Thread Bo Berglund
d 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

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

2016-01-21 Thread Bo Berglund
ssible?) (And update the wiki page above.) -- 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?

2016-01-21 Thread Bo Berglund
On Thu, 21 Jan 2016 10:13:23 +, Graeme Geldenhuys <mailingli...@geldenhuys.co.uk> 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

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

2016-01-21 Thread Bo Berglund
ays just by setting a single property on the component. Then I used that later on in my own projects too -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

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

2016-01-21 Thread Bo Berglund
. Has anyone here tried/succeeded? If so is there some web resource that describes how it is done? Or is there some other way to accomplish the task? -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

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 <bo.bergl...@gmail.com> 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 pla

Re: [Lazarus] Raspberry Pi bundles now available

2016-01-21 Thread Bo Berglund
RPi2b and RPi1b? New >raspbian OS has something called device tree that was not present in old >raspbian. >That could interact differently to your program. > I gave up on the RPi1B 256M device and bought another RPi2B instead. Then I could just copy the already compiled program and get it running d

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 <mschn...@lumino.de> 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 &g

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 <nc-gaert...@netcologne.de> wrote: >On Thu, 21 Jan 2016 14:29:14 +0100 >Bo Berglund <bo.bergl...@gmail.com> wrote: > >>[...] >> 2) Next I am supposed to open the lnetvisual.lpk package f

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 <mailingli...@geldenhuys.co.uk> 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

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 <mailingli...@geldenhuys.co.uk> 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 > &

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 <mailingli...@geldenhuys.co.uk> 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 m

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 <bo.bergl...@gmail.com> 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 i

  1   2   3   4   5   6   >