Re: [fpc-pascal] Re: Documentation

2012-12-18 Thread michael . vancanneyt
id=23506 ... so if anybody is interested ;) I applied the patch, thank you ! Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Documentation

2012-12-18 Thread michael . vancanneyt
, but didn't appply it. Done now, however. Thanks ! Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Changing variable in conditional

2013-01-08 Thread Michael Fuchs
10 ) { // variable "i" already has value returned by GetSomeValue } I wonder if FPC has equivalent for this. I hope not. Why do you use Pascal if you want this ugly C-crap-style? Even the i += 1 is a sin. *shudder* Michael ___ fpc-pascal maillist

[fpc-pascal] Use of abstract classes

2013-01-08 Thread Michael Fuchs
this would cause a compiler error, while creating a abstract class. Surprisingly it compiles, even without a warning. Do I have to use any compiler switches or is there no sense in using the abstract keyword for a class? Michael ___ fpc-pascal maillist

Re: [fpc-pascal] Use of abstract classes

2013-01-08 Thread Michael Fuchs
delphi. As soon as you add an abstract method the compiler will give a warning. Yes, this behaviour I know. But I would prefer an error for abstract classes. I was hoping, that the class abstract keyword led to this error. Michael ___ fpc-pascal mai

Re: [fpc-pascal] Use of abstract classes

2013-01-08 Thread Michael Fuchs
come with some extra checks for abstract classes and then FPC will follow. Hm, and how about a pioneer solution? For example a compiler error in {$MODE ObjFpc} and the actual behaviour in {$MODE Delphi}. That would not break compatibility, but gets a nice feature for FPC. Mi

Re: [fpc-pascal] Use of abstract classes

2013-01-08 Thread Michael Fuchs
Am 08.01.2013 17:33, schrieb Graeme Geldenhuys: +1 The current behaviour (even if Delphi compatible) seems just wrong - totally defeats the point of "abstract" in object design! What is the best way for a discussion on this? Should I create a feature request in bugtracker?

Re: [fpc-pascal] Use of abstract classes

2013-01-09 Thread Michael Fuchs
new territory for me. Michael [1] - http://bugs.freepascal.org/view.php?id=23247 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Embeded ARM Examples.

2013-01-24 Thread Michael Ring
actually did not mention the OS on that you are trying to build the crosscompiler), perhaps I can help with binaries if you cannot get your build up & running. Michael Am 24.01.13 11:03, schrieb Koenraad Lelong: On 22-01-13 13:36, delph...@smythconsulting.net wrote: Hi All, I’ve been a use

Re: [fpc-pascal] Compiling arm-embedded fpc

2013-01-24 Thread Michael Ring
-dRELEASE -Us -Sg system.pp make[3]: *** [system.ppu] Segmentation fault (core dumped) make[3]: Leaving directory `/home/ring/devel/fpc/rtl/embedded' Michael Am 24.01.13 12:32, schrieb Jeppe Græsdal Johansen: Den 24-01-2013 12:16, Koenraad Lelong skrev: On 24-01-13 11:24, Jeppe Græsdal Jo

Re: [fpc-pascal] Arm Embedded Question

2013-01-30 Thread Michael Ring
JTAG debugger: https://uwe-arzt.de/20130115.html I am currently extending Lazarus so that it natively supports connecting to a debugserver, I still have some problems with initial run command but if you can wait a few days you can help testing this integration. Michael Am 30.01.13 15:09

Re: [fpc-pascal] Compiling arm-embedded fpc

2013-01-30 Thread Michael Ring
l did not support the section . The workarround seems to be to add --build-id to linker command so that the section is automagically created. I will try later tonight if I have the same issue as you. Michael Am 30.01.13 18:47, schrieb Koenraad Lelong: Hi, An update. I tried to m

Re: [fpc-pascal] Arm Embedded Question

2013-01-30 Thread Michael Ring
ayout of the adapter matches. But cutting the board in two peaces looks easier to me ,-) Michael Am 30.01.13 21:28, schrieb delph...@smythconsulting.net: what about using a board like so http://www.ebay.com.au/itm/280970074709?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1438.l2649 to covert an

Re: [fpc-pascal] Re: Fpc Access Violation if AppConfigDir doesn't exist.

2013-02-12 Thread Michael Müller
Am 12.02.2013 um 13:29 schrieb Giuliano Colla: > I've made some further experiments with my minimal test. > Test form is just a Form with a Close button (BitBtn Kind=bkClose). > The full code is the following: > > unit uinitfile; > > {$mode objfpc}{$H+} > > interface > > uses > Classes, SysU

Re: [fpc-pascal] Compiling arm-embedded fpc

2013-02-14 Thread Michael Ring
s hack you are still able to to debug your binary, I did not go that far. I hope that helped, Michael Am 30.01.13 19:02, schrieb Michael Ring: I did some digging and found the following post: http://www.redhat.com/archives/rhl-devel-list/2007-October/msg01192.html and http://www.redhat.co

Re: [fpc-pascal] Compiling arm-embedded fpc

2013-02-14 Thread Michael Ring
er/systems/t_embed.pas seems to be pretty straightforward, I will create the patch and test if debugging still works. Michael by the way: I used binutils-2.23.1 to create the cross-tools, configure script was: ./configure --target=arm-none-eabi --program-prefix=arm-embedded- compiled under

Re: [fpc-pascal] Compiling arm-embedded fpc

2013-02-17 Thread Michael Ring
nilla binutils 2.23.1 from ftp.gnu.org, built on fedora 18 x86_64 Michael Am 17.02.13 16:15, schrieb Florian Klämpfl: Am 17.02.2013 09:28, schrieb Florian Klämpfl: Am 14.02.2013 21:34, schrieb Michael Ring: I did a grep through the fpc sourcecode and found a reference in ./compiler/sy

Re: [fpc-pascal] Compiling arm-embedded fpc

2013-02-17 Thread Michael Ring
I did a quick check on Mac & Linux, on both platforms compiling & loading resulting .elf file into gdb works fine. Thank you very much, Michael Am 17.02.13 19:57, schrieb Florian Klämpfl: Am 17.02.2013 17:50, schrieb Michael Ring: Hi Florian, I am not sure if this was completely

Re: [fpc-pascal] Compiling arm-embedded fpc

2013-02-18 Thread Michael Ring
My guess is that you use an old version of ppcrossarm: Looking at your error message ppcrossarm is located in: /usr/bin/ppcrossarm which is a quite unusual place for it when you install it from trunk. Michael Am 18.02.13 14:16, schrieb Koenraad Lelong: On 17-02-13 20:27, Michael Ring wrote

Re: [fpc-pascal] OOP in FreePascal ARM-Embedded

2013-02-27 Thread Michael Ring
Objects work fine on ARM embedded, the documentation on this topic might be a little thin The minimum thing you need to do is to initialize the heap, after you have a valid Heapmanager you can use objects out of the box: program hellofpc; {$mode objfpc} uses heapmgr; begin RegisterH

Re: [fpc-pascal] Does FPC 2.8.0 can actually still be called Pascal ?

2013-02-28 Thread Michael Fuchs
cross. Otherwise someday someone try to attract PHP developers with removing the type safety from Free Pascal. *shudder* Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Memoryleak in SQLite3db.TSqlite?

2013-03-11 Thread Michael Fuchs
Am 31.10.2012 10:54, schrieb Michael Fuchs: It works, but the heap trace shows a bunch of memory leaks. ... Is this a bug or am I doing something wrong? For information: I created an entry in the bug tracker for this problem: http://bugs.freepascal.org/view.php?id=23247 Hello, I found no

Re: [fpc-pascal] Memoryleak in SQLite3db.TSqlite?

2013-03-11 Thread Michael Fuchs
Am 11.03.2013 16:27, schrieb Michael Van Canneyt: Can anybody apply this patch to the trunk? Done. Thank you. Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] [OT] Pascal compiler for embedded platforms

2013-03-14 Thread Michael Ring
the compiler parser sometimes is a little odd and, most important for me, they do not support objects and have no plans to do so. When you can live without objects a good choice, when you need objects then freepascal is your choice. Michael Am 15.03.13 00:37, schrieb Rainer Stratmann: Am Thur

Re: [fpc-pascal] [OT] Pascal compiler for embedded platforms

2013-03-15 Thread Michael Ring
rget PIC/PIC32 you need a real windows computer because their pic-programmer does not work correctly atm in a Parallels VM. Michael Am 15.03.13 10:40, schrieb Roberto P.: 2013/3/15 Rainer Stratmann <mailto:rainerstratm...@t-online.de>> > Can you make a comparison against

Re: [fpc-pascal] [OT] Pascal compiler for embedded platforms

2013-03-16 Thread Michael Ring
Those two links may help: The first article references the 2nd: http://www.eevblog.com/forum/beginners/help-on-arm-cortex-m3-development-tools-ide/20/?wap2 https://github.com/mossmann/hackrf/wiki/LPC43xx-Debugging Michael Am 16.03.13 03:13, schrieb Justin Smyth: I'm using a LPC

Re: [fpc-pascal] Amazon S3

2013-03-21 Thread Michael Schnell
Of course Android is a rather hot topic in the fpc and Lazarus developer's forums. There are pages in the fpc / Lazarus Wiki on Android. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/lis

Re: [fpc-pascal] How To write an enumerator for trees

2013-03-21 Thread Michael Schnell
On 03/21/2013 04:11 AM, Xiangrong Fang wrote: Now I don't know how to write an enumerator for it. ... Syntax or algorithm ? -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] How To write an enumerator for trees

2013-03-21 Thread Michael Schnell
enumerator accordingly. An Enumerator can work on any sort order it only needs to be strict. Regarding performance it is essential to use a sort order that allows for quickly finding the elements one after the other. -Michael ___ fpc-pascal maillist

Re: [fpc-pascal] Amazon S3

2013-03-22 Thread Michael Schnell
On 03/21/2013 11:58 AM, Sven Barth wrote: Ehm... you do know that "Amazon S3" <> "Samsung Galaxy S3"? Amazon S3 is the cloud storage solution by Amazon. See also: http://en.wikipedia.org/wiki/Amazon_S3 If you see both, you can easily tell th

Re: [fpc-pascal] Windows on ARM, how fast it can be implemented?

2013-03-27 Thread Michael Schnell
On 03/27/2013 09:20 AM, Sven Barth wrote: you need to jailbreak the Windows RT device to be able to run unsigned desktop applications. Never buy such a system ! I am not even sure if this is legal in Europe I.e. you are the owner of the hardware. -Michael

Re: [fpc-pascal] Windows on ARM, how fast it can be implemented?

2013-03-27 Thread Michael Schnell
On 03/27/2013 10:00 AM, Sven Barth wrote: That's why a complete new OS port would be necessary to support WinRT... A new OS would be more appropriate :-P . -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Windows on ARM, how fast it can be implemented?

2013-03-27 Thread Michael Schnell
On 03/27/2013 10:09 AM, Sven Barth wrote: I'm not a fan of Windows 8 either, ... Is Win 8 on normal PCs crippled in a similar manner or is only the ARM version affected ? -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Windows on ARM, how fast it can be implemented?

2013-03-27 Thread Michael Schnell
I need to install. I was told for this Win 8 would offer a better infrastructure than Win 7. In fact I was told that the abysmal Desktop can be deactivated in Win 8. What do you think ? Thanks. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.free

Re: [fpc-pascal] Windows on ARM, how fast it can be implemented?

2013-03-27 Thread Michael Schnell
Thanks a lot for the answers to this very off-topic question. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] socket timeout

2013-04-16 Thread Michael Schnell
On 04/16/2013 11:26 AM, Xiangrong Fang wrote: How can I set the connection and read/write timeout when using socket in free pascal? I seem to remember that synapse can do this. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] How to detect connection status of a socket

2013-04-22 Thread Michael Schnell
dge (-> stays open) - write timeout (socked is forced close) - close request from the other site (-> socket close) - close request by user (-> socket close) If there is just no communication, the socket stays open forever. -Michael _

Re: [fpc-pascal] RAD Studio XE4 Released?

2013-04-24 Thread Michael Schnell
Seemingly no support for Linux and Android. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Odyssey: SSockets and Threads.

2013-04-25 Thread Michael Schnell
ut not with some of the others. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Odyssey: SSockets and Threads.

2013-04-25 Thread Michael Schnell
know that there is no Lazarus port for AsyncPro yet (even though it is open Source and especially the COM-Port flavor is requested rather often). -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/li

Re: [fpc-pascal] Re: Odyssey: SSockets and Threads.

2013-04-25 Thread Michael Schnell
communicated aborts stay undetected. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Odyssey: SSockets and Threads.

2013-04-26 Thread Michael Schnell
. Nonetheless, errors only arise when in fact communication is running. A socket stays open forever, if no communication is executed at all, thus a broken link in between stays undetected. To detect a broken link you need to do a regular life check communication. -Michael

Re: [fpc-pascal] [OT] Pascal compiler for embedded platforms

2013-04-28 Thread Michael Ring
it and does it provide real debugging? Michael Am 28.04.13 15:16, schrieb greim: Hi, http://www.astrobe.com/default.htm Oberon on ARM. I think its worth to try it! Markus Greim Am 19.03.2013 08:46, schrieb Martin Schreiber: On Tuesday 19 March 2013 08:11:49 Justin Smyth wrote: Thanks, i

Re: [fpc-pascal] MS DOS 8086 compiler?

2013-04-29 Thread Michael Schnell
g out some 8" single sided single density diskettes with 160 K or something. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] AT-SPI fpc compatible ?

2013-05-08 Thread Michael Schnell
On 05/08/2013 10:07 AM, Fred van Stappen wrote: Toc, toc, toc, is there anybody here ? You hitchhiked a running forum thread. Nobody likes to answer on such indecent posts. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] AT-SPI fpc compatible ?

2013-05-08 Thread Michael Schnell
On 05/08/2013 10:17 AM, Sven Barth wrote: Except to tell the writer about his/her indecency :) ... if (s)he insists :-) -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: http://www.freepascal.org/future.var

2013-06-05 Thread Michael Schnell
etely different projects ? -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] is there a ready to use FPC Cross compiler x86-Linux -> MIPS-linux?

2013-06-09 Thread Michael Ring
he make command. Of course, if you crossassembler has a different name then please substitute this name with the mipsel-linux-gnu-as example I used here. Michael Von meinem iPad gesendet Am 09.06.2013 um 12:54 schrieb Dennis Poon : > Sven, >> make all CPU_TARGET=mipsel OS_TARGET=linux

Re: [fpc-pascal] is there a ready to use FPC Cross compiler x86-Linux -> MIPS-linux?

2013-06-12 Thread Michael Schnell
ative ones (not to be started on a PC) -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] is there a ready to use FPC Cross compiler x86-Linux -> MIPS-linux?

2013-06-12 Thread Michael Schnell
On 06/09/2013 05:43 PM, Dennis Poon wrote: My binutils as , ld etc files are located at /usr/mips-linux-gnu/bin/ ... first try to start these files form the command-line. (e.g. "ld -v") If they don't work decently (which I do suppose), you need different fi

Re: [fpc-pascal] is there a ready to use FPC Cross compiler x86-Linux -> MIPS-linux?

2013-06-12 Thread Michael Schnell
On 06/12/2013 11:13 AM, Dennis Poon wrote: Michael, I just typed "ld -v" and it replied: GNU ld (GNU Binutils for Debian) 2.22 You'd better do gcc -v This should output (among others) a line starting "Target:" Same will state the architecture and be something

Re: [fpc-pascal] is there a ready to use FPC Cross compiler x86-Linux -> MIPS-linux?

2013-06-12 Thread Michael Ring
The other Michael answering now ;-) Just for fun I downloaded the deb-file you described below, the deb package seems to include the correctly named binaries at correct places: x ./usr/bin/ x ./usr/bin/mipsel-linux-gnu-addr2line x ./usr/bin/mipsel-linux-gnu-c++filt x ./usr/bin/mipsel-linux

Re: [fpc-pascal] is there a ready to use FPC Cross compiler x86-Linux -> MIPS-linux?

2013-06-12 Thread Michael Ring
Small mixup: Please see that BINUTILSPREFIX=mipsel-linux-gnu- is set when you buid your corosscompiler and make sure that -XPmipsel-linux-gnu- is present on your commandline when compiling a program. Michael Am 12.06.13 12:08, schrieb Michael Ring: The other Michael answering now

Re: [fpc-pascal] is there a ready to use FPC Cross compiler x86-Linux -> MIPS-linux?

2013-06-12 Thread Michael Schnell
l/CodeSourcery/Sourcery_CodeBench_for_fido_ELF/bin/../libexec/gcc/fido-none-elf/4.6.1/lto-wrapper Target: fido-none-elf -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] can someone please email me a zipped hello world binary program MIPS big endian for testing on my MIPS hardware?

2013-06-12 Thread Michael Ring
correct endian. Michael Am 12.06.13 14:00, schrieb Dennis Poon: Since I have spent days but still cannot produce a helloworld binary for MIPS big endian, I need someone to to produce that for me so I can test it on my MIPS hardware. I need to know at this stage whether a FPC produced program compi

Re: [fpc-pascal] can someone please email me a zipped hello world binary program MIPS big endian for testing on my MIPS hardware?

2013-06-13 Thread Michael Schnell
On 06/12/2013 05:29 PM, Dennis Poon wrote: My MIPS hardware is too slow to run a compiler. Is the project to be compiled so big, that it will take hours to compile ? -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] can someone please email me a zipped hello world binary program MIPS big endian for testing on my MIPS hardware?

2013-06-13 Thread Michael Schnell
On 06/13/2013 02:17 PM, Dennis Poon wrote: I tested the mipseb helloworld provided by Mark (Thanks again) but the result is the same as my own helloworld, on running, the whole shell just froze. did you try to test a "heloworld" done in C, using the cross toolchain you use ?

Re: [fpc-pascal] is there a ready to use FPC Cross compiler x86-Linux -> MIPS-linux?

2013-06-16 Thread Michael Ring
Michael Von meinem iPad gesendet Am 15.06.2013 um 19:19 schrieb Dennis Poon : > > I eventually found this page which talked about downloading a special > toolchain from openwrt web site > > http://www.dd-wrt.com/phpBB2/viewtopic.php?t=61112 > > I followed its instruc

Re: [fpc-pascal] How to save a huge XML?

2013-06-19 Thread Michael Schnell
On 06/18/2013 02:35 PM, Marcos Douglas wrote: Today I call WriteXMLFile(Doc, AFileName) but I have XML with 5G, 10G.. 30G... What the best way to save "line by line"? Why not push it through a stream compressor ? -Michael ___ fpc-pasca

Re: [fpc-pascal] How to save a huge XML?

2013-06-19 Thread Michael Schnell
or the different tag types used). -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] How to save a huge XML?

2013-06-19 Thread Michael Schnell
On 06/19/2013 01:31 PM, Michael Van Canneyt wrote: What do you think TXMLDocument and XMLWriter do ? Exactly this. In fact I did thinks this until you stated "the source XML is completely in memory" which misled me to the assumption that the XML text would be in memory (the bina

[fpc-pascal] Overloading properties

2013-06-22 Thread Michael Fuchs
e these methods and add a prefix like Set..., but I want to know why this limitation is. And if it is possible to get rid of it and allow the overloading of properties with methods. Thanks Michael And please take a look to the example program: --->8-->8-->8--&g

Re: [fpc-pascal] How to use UART of ARM platforms (e.g. Raspberry Pi ) through free Pascal?

2013-07-03 Thread Michael Schnell
Synaser: http://synapse.ararat.cz/doc/help/synaser.html -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] How to use UART of ARM platforms (e.g. Raspberry Pi ) through free Pascal?

2013-07-04 Thread Michael Schnell
Y drivers that (usually do) setting and resetting support RTS, or (better) by dedicated support in the device driver. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] How to use UART of ARM platforms (e.g. Raspberry Pi ) through free Pascal?

2013-07-04 Thread Michael Schnell
strictly meant for educational use and not very suitable for embedded designs (that I think is the only kind of projects that use field-bus specifications such as RS-485). So I recommend using a different board. -Michael ___ fpc-pascal maillist - fpc

Re: [fpc-pascal] How to use UART of ARM platforms (e.g. Raspberry Pi ) through free Pascal?

2013-07-04 Thread Michael Schnell
r ARM. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] (OT) Re: How to use UART of ARM platforms (e.g. Raspberry Pi ) through free Pascal?

2013-07-04 Thread Michael Schnell
ATEN usb-to-serial cable (UC-232A)" and you have both sides of USB under your control so that you can do the USB procedure you want. Another way is using a pre-programmed PIC chip available by Microchip with USB to-Serial software plus a RS485 tranceiver chip.

Re: [fpc-pascal] How to use UART of ARM platforms (e.g. Raspberry Pi ) through free Pascal?

2013-07-04 Thread Michael Schnell
devices come with their own driver that can do this. I don't know whether they also can work with the standard driver, if DSR/DTR are not necessary. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: (OT) Re: How to use UART of ARM platforms (e.g. Raspberry Pi ) through free Pascal?

2013-07-05 Thread Michael Schnell
ftware in the device and implement a life check protocol. But Standard devices don't feature this. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Console Encoding in Windows (Local VS. UTF8)

2013-07-09 Thread Michael Schnell
-codes, UTF-8, UTF-16, ...), but in fact to be 100% Delphi compatible ("nothing less, nothing more"), it seems that only UTF-16 will gain full decent support (e.g. class inheritance, in TStringList, the Lazarus user API etc.) -Michael ___

Re: [fpc-pascal] Console Encoding in Windows (Local VS. UTF8)

2013-07-09 Thread Michael Schnell
appropriate for the internals of his busyness logic and the programming system does the correct things do use the API of the OS the program is compiled for (while for optimum performance do code conversions only when necessary). -Michael ___ fpc-pascal

Re: [fpc-pascal] Re: JVM backend and language restrictions

2013-07-12 Thread Michael Schnell
ay around... Funny that the Wiki software would not support this. It should be rather easy to extract that information from the database. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Strings

2013-07-16 Thread Michael Schnell
you mean ? - Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Sockets?

2013-07-17 Thread Michael Schnell
Synapse makes handling of sockets rather easy. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Strings

2013-07-22 Thread Michael Schnell
onvert two blocks of free memory into a single block for your program, I assume that would affect an array of byte just as much as a string. (Am I missing something?) Correct. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://

Re: [fpc-pascal] Cross compiling Windows to arm-linux

2013-07-23 Thread Michael Schnell
(Of course when using a GUI, events generated by TThread instances are merged with events generated by the GUI. ) So you you are on your own when using threads on non-GUI enabled systems. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] is there a circular queue implementation already in FPC or FCL?

2013-07-29 Thread Michael Schnell
ist Freeware. Hope this helps, -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Console Encoding in Windows (Local VS. UTF8)

2013-07-29 Thread Michael Schnell
hi compatible String types with predefined encoding. The compiler magic needs to be done appropriately to handle this cases, requesting automatic conversions (only) when necessary. -Michael ___ fpc-pascal maillist - fpc-pascal@lists

Re: [fpc-pascal] Console Encoding in Windows (Local VS. UTF8)

2013-07-29 Thread Michael Schnell
sing UTF8 with this would be easily possible, as this mode does auto-conversion. But forcing a conversion each time when adding and when retrieving a String would result in sluggish behavior. -Michael ___ fpc-pascal maillist - fpc-pascal@

Re: [fpc-pascal] Console Encoding in Windows (Local VS. UTF8)

2013-07-30 Thread Michael Schnell
ng "just works" with UTF8 and/or UTF16. I'm not fine with TStringList and friends forcing any predefined encoding. This in fact does work rather nicely without the application programmer even noticing it. But IMHO a cross platform system like fpc can be expected to

Re: [fpc-pascal] mipsel status/direction?

2013-08-05 Thread Michael Schnell
formal OS. I think this is a kind of "console" program, that should be doable with some tweaking the RTL.. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] mipsel status/direction?

2013-08-05 Thread Michael Schnell
? -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Library callback : how do I do that?

2013-08-08 Thread Michael Schnell
ther in an application, in a command line tool without a main form or in a dll.) You just can't do any GUI stuff in that callback. I understand that you in fact don't want to do that, anyway. -Michael ___ fpc-pascal maillist - fpc-pascal@lists

Re: [fpc-pascal] Re: Library callback : how do I do that?

2013-08-08 Thread Michael Schnell
emory management and to make the Form and/or the Application known to the dll. But these issues need to be soled independently from the fact that the dll calls another dll. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Re: Library callback : how do I do that?

2013-08-08 Thread Michael Schnell
something similar. Hopefully the Wiki might provide some hints. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Library callback : how do I do that?

2013-08-08 Thread Michael Schnell
er way. And I suppose all the steps can and should be debugged separately. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Library callback : how do I do that?

2013-08-09 Thread Michael Schnell
form instances of the calling program If you succeed in doing a really reliable Test implementation of this, I would be happy to see the source code. This could be the basis of a "standard" implementation of something similar to Delphi runtime packages. Thanks

Re: [fpc-pascal] Re: Library callback : how do I do that?

2013-08-09 Thread Michael Schnell
On 08/09/2013 10:57 AM, Henry Vermaak wrote: You seem to think that Lukasz is making a library, This is what I understood from "self contained wrapper unit". But maybe I am wrong. -Michael ___ fpc-pascal maillist -

Re: [fpc-pascal] Re: Library callback : how do I do that?

2013-08-09 Thread Michael Schnell
On 08/09/2013 11:02 AM, Sven Barth wrote: Michael, it seems that you understood Lukasz wrong, Yep. I thought he intents to do a dll himself, but maybe I am wrong. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Re: Library callback : how do I do that?

2013-08-09 Thread Michael Schnell
On 08/09/2013 11:32 AM, Lukasz Sokol wrote: Also it may all be rubbish what I wrote... Sorry If I misled you... -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Compiling to Java

2013-08-12 Thread Michael Schnell
ook at to allow for extending the reach of "Write once compile everywhere" to web applications. Thanks, -Michael (sorry if I still don't understand enough of the Java world to and might be asking silly questions..) ___ fpc-pascal maillist

Re: [fpc-pascal] Compiling to Java

2013-08-12 Thread Michael Schnell
icult or completely impossible to reach. Of course this should be discussed in the "Lazarus dev" list (if at all) . Thanks for your answers ! -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Compiling to Java

2013-08-12 Thread Michael Schnell
cribe them here." Thus using Lazarus as a debugger for such applications is not viable / planned ? -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Compiling to Java

2013-08-12 Thread Michael Schnell
On 08/12/2013 11:46 AM, Sven Barth wrote: I don't know whether GDB is capable of debugging Java applications. see http://gcc.gnu.org/java/gdb.html So it *might* be viable, but I'd not say that it is planned for now. Again to be discussed the other list.

Re: [fpc-pascal] math round vs banker's round

2013-08-14 Thread Michael Schnell
MHO, in fact any attempt to rely on an exact value of a floating point number is erroneous. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] math round vs banker's round

2013-08-14 Thread Michael Schnell
On 08/14/2013 10:42 AM, Vincent Snijders wrote: For any digit x, it still can be represented exactly in binary representation ... Nope, As the bit count of the mantissa is limited to - say - n , with x > 2**(n-1) you will not have an exact representation of x.5. -Mich

Re: [fpc-pascal] Access site from app with login and password using http

2013-08-29 Thread Michael Schnell
details of the necessary actions to a successful login might very between different sites. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] has anyone successfully written an app for iOS using Free Pascal and got it approved by Apple Appstore?

2013-08-29 Thread Michael Schnell
AFAIK, the current Delphi XE can do "native code" apps for iOS (while the next release is supposed to be able to do apps for Android, as well), I don't see why other native code apps should be banned. -Michael ___ fpc-pascal maillist

Re: [fpc-pascal] BeagleBone

2013-08-29 Thread Michael Schnell
access it from a PC VNC seems a good solution. As VNC installs it's own X-Server, you can deactivate the Video software and hardware on the board to save memory and memory bandwidth. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] has anyone successfully written an app for iOS using Free Pascal and got it approved by Apple Appstore?

2013-08-30 Thread Michael Schnell
On 08/30/2013 01:23 PM, Dennis Poon wrote: No wonder there are many categories in which Android has Free (or paid) apps but IOS does not. " AFAIK, Apple keeps a decent share of the price of any APP sold in the shop. So it's no wonder they are not at all interested in free Apps.

<    1   2   3   4   5   6   7   8   9   10   >