Re: [Lazarus] How to see sockets in Lazarus 1.4.0?

2015-09-22 Thread Michael Van Canneyt
On Tue, 22 Sep 2015, Bo Berglund wrote: On Mon, 21 Sep 2015 19:05:53 +0200 (CEST), Michael Van Canneyt wrote: On Mon, 21 Sep 2015, Bo Berglund wrote: Can someone point me to some instructions on how to make the sockets visible in Lazarus? They are not visible, they are not components.

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-22 Thread Martin Schreiber
On Wednesday 23 September 2015 06:33:02 Bo Berglund wrote: > On Tue, 22 Sep 2015 10:00:12 +0200, Michael Schnell > > wrote: > >On 09/21/2015 04:42 PM, Bo Berglund wrote: > >> Unfortunately since the existing code is built on non-blocking serial > >> communications and events to handle the data rec

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-22 Thread Bo Berglund
On Tue, 22 Sep 2015 10:00:12 +0200, Michael Schnell wrote: >On 09/21/2015 04:42 PM, Bo Berglund wrote: >> Unfortunately since the existing code is built on non-blocking serial >> communications and events to handle the data reception ... > >You can convert a blocking socket (or serial port recei

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-22 Thread Bo Berglund
On Tue, 22 Sep 2015 16:18:23 +0100, Graeme Geldenhuys wrote: >Here is the result of just one such case... You often end up with this >after a 15 year development cycle. > > http://geldenhuys.co.uk/~graemeg/datamodule.png > > That was pretty impressively unreadable! I know we have used data modul

[Lazarus] TInetSocket usage - any documentation available?

2015-09-22 Thread Bo Berglund
I have looked for a native FPC TCP/IP socket to use as a replacement for a serial port component and I discovered the ssockets unit that ships with FPC and contains a TInetSocket class. This seemed useful. So I put together a test console application in Lazarus 1.4.0 where I had this in order to ve

Re: [Lazarus] How to see sockets in Lazarus 1.4.0?

2015-09-22 Thread Bo Berglund
On Mon, 21 Sep 2015 19:05:53 +0200 (CEST), Michael Van Canneyt wrote: > > >On Mon, 21 Sep 2015, Bo Berglund wrote: > >> Can someone point me to some instructions on how to make the sockets >> visible in Lazarus? > >They are not visible, they are not components. >You must create them in code. > >I

Re: [Lazarus] LaztoApk troubles

2015-09-22 Thread coppolastudio
"Got it" I meant pay 1000 euros to hit F9 and get apk. Next days when I will have free time I'll take a look and if I got laztoapk working for sure I will share. Samuel Herzog ha scritto: >HelloSalvatore,greattohearitisworkingforyounow.Whatdoyousuggesttochangetomakethingsbetterfornewusers?Ihav

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-22 Thread Lukasz Sokol
On 22/09/15 16:18, Graeme Geldenhuys wrote: > On 2015-09-22 15:27, Lukasz Sokol wrote: >> [...] >> Sometimes I want it to 'just work' and be based on well known and understood >> code base, > > I understand my code just fine. :) I have also built up a "developers > toolbox" over the years which i

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-22 Thread Lukasz Sokol
On 22/09/15 16:18, Graeme Geldenhuys wrote: > On 2015-09-22 15:27, Lukasz Sokol wrote: >> [...] > >> Aren't you making the tiOPF designer and framework for that purpose actually? > > What is "tiOPF designer"? > sorry I meant fpGUI ;) and tiOPF. el es -- ___

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-22 Thread Graeme Geldenhuys
On 2015-09-22 15:27, Lukasz Sokol wrote: > > RAD might not just mean 'drag a component from the palette to a form' ;) Show me one developer that doesn't think that. :) I haven't met any yet. >> over and over. RAD is only good for prototyping or small utility apps. > > Mmmm, from your own garden

Re: [Lazarus] *SPAM* Re: Cross-compiling for Raspberry Pi2

2015-09-22 Thread Michael Schnell
On 09/22/2015 12:32 PM, Michael Schnell wrote: RAD does not require Event Programming, nor makes Event Programming a project "RAD To me "RAD" more means stuff like doing the "business logic" code directly in the unit that is used for the GUI handling. (Using Events that can easily be overcome

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-22 Thread Lukasz Sokol
On 22/09/15 10:43, Graeme Geldenhuys wrote: > On 2015-09-22 at 11:28, Michael Schnell wrote: >> Delphi/Lazarus enabled software and "makes the difference" >> that makes using such programming systems desirable over "legacy" >> programming methods. > > > Now you are approaching “dangerous” terri

Re: [Lazarus] *SPAM* Re: Cross-compiling for Raspberry Pi2

2015-09-22 Thread Michael Schnell
On 09/22/2015 11:43 AM, Graeme Geldenhuys wrote: Now you are approaching “dangerous” territory. :-) Right, but RAD does not require Event Programming, nor makes Event Programming a project "RAD" ! OTHO you can of course state that preferring Event Programming over fully user managed code is a

Re: [Lazarus] Storing projects in subversion (or git etc.)

2015-09-22 Thread Mattias Gaertner
On Tue, 22 Sep 2015 09:09:07 + Mark Morgan Lloyd wrote: > Marco van de Voort wrote: > > On Mon, Sep 21, 2015 at 09:35:13AM +, Mark Morgan Lloyd wrote: > of file should be put in a repository, and what is regenerated reliably? > > Obviously .lpi, .lpr, .lfm and .pas or .pp s

Re: [Lazarus] *SPAM* Re: Cross-compiling for Raspberry Pi2

2015-09-22 Thread Michael Schnell
On 09/22/2015 11:48 AM, Graeme Geldenhuys wrote: Michael said it is possible, and I agree. Of course I do know. I did it myself (doing my version of TTimer and some more EventQueue enabled functions) Martin Schreiber told you many times in the past MSEgui's TTimer can be used in non-GUI projec

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-22 Thread Michael Van Canneyt
On Tue, 22 Sep 2015, Michael Schnell wrote: On 09/22/2015 11:33 AM, Michael Van Canneyt wrote: The answer is: Yes, it is. I never saw a Linux project without GUI binding that use TTimer. (Other than my own TTimer implementation, done in a compatible way.) Please ! sed/TTimer/TFPTimer/ an

Re: [Lazarus] Storing projects in subversion (or git etc.)

2015-09-22 Thread Graeme Geldenhuys
On 2015-09-22 at 09:09, Mark Morgan Lloyd wrote: > Is there a Wiki page for "collected wisdom" relating to both > Subversion and Git, or would it be useful if I created one? It is called “The Internet”. ;-) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free P

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-22 Thread Graeme Geldenhuys
On 2015-09-22 at 11:36, Michael Schnell wrote: > I never saw a Linux project without GUI binding that use TTimer. Michael said it is possible, and I agree. Martin Schreiber told you many times in the past MSEgui's TTimer can be used in non-GUI projects. The Lazarus team simply haven't had the nee

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-22 Thread Graeme Geldenhuys
On 2015-09-22 at 11:28, Michael Schnell wrote: > Delphi/Lazarus enabled software and "makes the difference" > that makes using such programming systems desirable over "legacy" > programming methods. Now you are approaching “dangerous” territory. :-) Just because Delphi and Lazarus promotes th

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-22 Thread Michael Schnell
On 09/22/2015 11:33 AM, Michael Van Canneyt wrote: The answer is: Yes, it is. I never saw a Linux project without GUI binding that use TTimer. (Other than my own TTimer implementation, done in a compatible way.) -Michael -- ___ Lazarus mailing list

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-22 Thread Michael Van Canneyt
On Tue, 22 Sep 2015, Michael Schnell wrote: On 09/22/2015 11:16 AM, Marc Weustink wrote: The Lazarus services I run here at work have zero GUI dependency. Of course you can do programs that don't have a GUI dependency (e.g. a Service/Daemon) using Lazarus. The question discussed is wheth

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-22 Thread Michael Schnell
On 09/22/2015 11:16 AM, Marc Weustink wrote: The Lazarus services I run here at work have zero GUI dependency. Of course you can do programs that don't have a GUI dependency (e.g. a Service/Daemon) using Lazarus. The question discussed is whether it is possible to use the "Event programming

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-22 Thread Marc Weustink
Graeme Geldenhuys wrote: On 2015-09-21 12:37, Michael Schnell wrote: [...] The Lazarus team did a great job but needs to draw a line at certain locations. I don't know what Lazarus does with regards to Service/Daemon apps - my above mentioned application wasn't written with Lazarus (just a

Re: [Lazarus] Storing projects in subversion (or git etc.)

2015-09-22 Thread Mark Morgan Lloyd
Marco van de Voort wrote: On Mon, Sep 21, 2015 at 09:35:13AM +, Mark Morgan Lloyd wrote: of file should be put in a repository, and what is regenerated reliably? Obviously .lpi, .lpr, .lfm and .pas or .pp should be saved, and any static .inc files. .rc Should that be stored in all cases

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-22 Thread Lukasz Sokol
On 22/09/15 08:47, Michael Schnell wrote: > On 09/21/2015 05:16 PM, Bo Berglund wrote: >> I don't really know how Telnet could tie in here. > "Telnet" is just a synonym for "transfer Bytes via TCP/IP without any > additional higher protocol". > > -Michael > https://tools.ietf.org/html/rfc854, i

Re: [Lazarus] Project options lock IDE

2015-09-22 Thread FreeMan
Bug report id #28709 http://bugs.freepascal.org/view.php?id=28709 On 21.09.2015 15:17, FreeMan wrote: fpc sv r31772 lazarus r49851 On 21.09.2015 11:17, Mattias Gaertner wrote: On Mon, 21 Sep 2015 10:12:17 +0300 FreeMan wrote: >I changed "" to "" >in project.lpi, then open in lazarus, IDE lo

Re: [Lazarus] Storing projects in subversion (or git etc.)

2015-09-22 Thread Marco van de Voort
On Mon, Sep 21, 2015 at 09:35:13AM +, Mark Morgan Lloyd wrote: > >> of file should be put in a repository, and what is regenerated reliably? > >> > >> Obviously .lpi, .lpr, .lfm and .pas or .pp should be saved, and any > >> static .inc files. > > > > .rc > > Should that be stored in all case

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-22 Thread Michael Schnell
On 09/21/2015 06:08 PM, Martin Schreiber wrote: pport. Please compile MSEide with -dmse_with_ifirem in order to activate them. It also has "tnoguiapplication" in order to build daemon applications with an event loop where all nonvisual components including ttimer can be used. That is really nice

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-22 Thread Michael Schnell
On 09/21/2015 04:42 PM, Bo Berglund wrote: Unfortunately since the existing code is built on non-blocking serial communications and events to handle the data reception ... You can convert a blocking socket (or serial port receive) to be a non-blocking Event-triggering (i.e. Delphi-Paradigm bas

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-22 Thread Michael Schnell
On 09/21/2015 07:05 PM, Bo Berglund wrote: Fine, then I just need to make it visible inside Lazarus... I suppose you mean "accessible". Is it not enough to include the appropriate unit in the "uses" clause ? If not, I suppose you just need to add the file to the search path. -Michael -- __

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-22 Thread Michael Schnell
On 09/21/2015 05:16 PM, Bo Berglund wrote: I don't really know how Telnet could tie in here. "Telnet" is just a synonym for "transfer Bytes via TCP/IP without any additional higher protocol". -Michael -- ___ Lazarus mailing list Lazarus@lists.lazar