Re: [fpc-pascal] Different idea

2015-08-19 Thread Mark Morgan Lloyd
of an Rpi. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman

Re: [fpc-pascal] quality of FPC random

2015-08-17 Thread Mark Morgan Lloyd
Michael Schnell wrote: On 08/14/2015 04:38 PM, Mark Morgan Lloyd wrote: It seeds itself with entropy from the intervals between LAN packets, intervals between typed characters and so on. Unfortunately Randomize (in Linux in System) just does randseed:=longint(Fptime(nil)); if it would

Re: [fpc-pascal] quality of FPC random

2015-08-14 Thread Mark Morgan Lloyd
got broken security, which probably describes the majority. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

[fpc-pascal] Android and Atom

2015-08-12 Thread Mark Morgan Lloyd
I seem to have a tablet with Android 5.0 based on an Intel Atom CPU (Z3735F) here. I've got rather a lot of stuff on my plate so I'm putting off playing with this as long as I can, but can anybody comment on where FPC (and possibly Lazarus) are with this sort of device? -- Mark Morgan Lloyd

Re: [fpc-pascal] FPC's documentation license?

2015-08-08 Thread Mark Morgan Lloyd
on things and claim that their files are the original and anything published by FPC/Lazarus is an unauthorised copy. Sorting things out would probably be messy and expensive. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers

Re: [fpc-pascal] which GUI (noob)

2015-08-05 Thread Mark Morgan Lloyd
Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] which GUI (noob)

2015-08-05 Thread Mark Morgan Lloyd
Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: I think that the one thing I'd suggest to everybody is that it would be highly desirable if the dangling else fix were guaranteed to break Pascal syntax. As such end if; etc. might be a better choice If you start

Re: [fpc-pascal] which GUI (noob)

2015-08-04 Thread Mark Morgan Lloyd
Gour wrote: Mark Morgan Lloyd markMLl.fpc-pascal-wEaNgGkE20o7VdE/foj...@public.gmane.org writes: The first option would be a pure Pascal one, driving either a graphical or a text-based (curses etc.) UI. Here you mean fpGUI MSEgui? No, more than anything I mean going directly

Re: [fpc-pascal] which GUI (noob)

2015-08-04 Thread Mark Morgan Lloyd
learning curve I think. Graeme, could you update us on the extent to which Lazarus or an equivalent IDE supports form design etc. for fpGUI these days? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues

Re: [fpc-pascal] which GUI (noob)

2015-08-04 Thread Mark Morgan Lloyd
careful choice of compiler version and- if using Lazarus- widget set. fpGUI and MSEgui definitely have their good points, they're lean and are only mean in self-defence :-) -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers

Re: [fpc-pascal] which GUI (noob)

2015-08-04 Thread Mark Morgan Lloyd
experience so far is that GTK2 doesn't work and that Qt is the only viable option. GOK what it's like on other platforms that might not have such a well-tested Qt etc. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues

Re: [fpc-pascal] Interactive command recognition mapping to program functions other 'cli' features as a unit

2015-08-03 Thread Mark Morgan Lloyd
Lukasz Sokol wrote: On 31/07/15 16:41, Mark Morgan Lloyd wrote: Lukasz Sokol wrote: On 31/07/15 14:46, Mark Morgan Lloyd wrote: Lukasz Sokol wrote: Hi, I tried piecing something like in $topic together, intended as an 'interactive' command interpreter for my program. (which will in time

Re: [fpc-pascal] Interactive command recognition mapping to program functions other 'cli' features as a unit

2015-07-31 Thread Mark Morgan Lloyd
to process lines rather than characters. I think this was discussed a few months ago, and consensus was that there wasn't an adequate terminal emulator component. See below. http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Xterm-konsole-etc-td4031905.html -- Mark Morgan Lloyd markMLl

Re: [fpc-pascal] Interactive command recognition mapping to program functions other 'cli' features as a unit

2015-07-31 Thread Mark Morgan Lloyd
Lukasz Sokol wrote: On 31/07/15 14:46, Mark Morgan Lloyd wrote: Lukasz Sokol wrote: Hi, I tried piecing something like in $topic together, intended as an 'interactive' command interpreter for my program. (which will in time grow an 'embedded' web server and intended to run as a (windows

Re: [fpc-pascal] Modems etc.

2015-07-27 Thread Mark Morgan Lloyd
Lukasz Sokol wrote: On 24/07/15 12:12, Mark Morgan Lloyd wrote: It turns out that there's a more-or-less off-the-shelf solution in SpanDSP http://www.soft-switch.org/ which is one of the libraries that underlies IAXmodem. It provides a function to process a block of samples, hence a callback

Re: [fpc-pascal] Basic Sockets in FreePascal

2015-07-27 Thread Mark Morgan Lloyd
Coyo wrote: On Sun, 26 Jul 2015 15:47:52 + Mark Morgan Lloyd markmll.fpc-pas...@telemetry.co.uk wrote: Michael Van Canneyt wrote: On Sun, 26 Jul 2015, Coyo wrote: I have read on the wiki and documentation that FreePascal does not have any native support for socket handling, and that you

Re: [fpc-pascal] Basic Sockets in FreePascal

2015-07-26 Thread Mark Morgan Lloyd
but aren't packaged with FPC because their developers prefer to stay independent. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] Parsers and Unicode

2015-07-25 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: On Fri, 24 Jul 2015, Mark Morgan Lloyd wrote: When writing something like a parser, does FPC have anything that exposes the properties of each Unicode codepoint? I'm thinking in particular of Unicode properties like BidiMirroring, which Perl6 uses to define

Re: [fpc-pascal] Modems etc.

2015-07-24 Thread Mark Morgan Lloyd
Lukasz Sokol wrote: On 20/07/15 17:32, Mark Morgan Lloyd wrote: Lukasz Sokol wrote: It's been years since I had anything to do with DSP, unfortunately, but with the FFT running on the sliding 26-sample-long window, and a /reverse/ FFT to produce the 26-long sample from just having a byte or 2

[fpc-pascal] Parsers and Unicode

2015-07-24 Thread Mark Morgan Lloyd
-- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Modems etc.

2015-07-20 Thread Mark Morgan Lloyd
Lukasz Sokol wrote: Hi Mark, On 18/07/15 17:43, Mark Morgan Lloyd wrote: Has anybody used FPC to decode (and generate) FSK modem tones on a VOIP connection? Strictly V.21, don't need the complexity of QAM etc. i haven't ;) but it's interesting: are you just assembling/decoding the ulaw

Re: [fpc-pascal] Modems etc.

2015-07-20 Thread Mark Morgan Lloyd
Lukasz Sokol wrote: On 20/07/15 10:49, Mark Morgan Lloyd wrote: Lukasz Sokol wrote: Hi Mark, On 18/07/15 17:43, Mark Morgan Lloyd wrote: Has anybody used FPC to decode (and generate) FSK modem tones on a VOIP connection? Strictly V.21, don't need the complexity of QAM etc. i haven't

[fpc-pascal] Modems etc.

2015-07-18 Thread Mark Morgan Lloyd
Has anybody used FPC to decode (and generate) FSK modem tones on a VOIP connection? Strictly V.21, don't need the complexity of QAM etc. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues

Re: [fpc-pascal] Duplicate RTLs

2015-07-02 Thread Mark Morgan Lloyd
between the two to e.g. merge menu structures: it takes work but isn't particularly painful. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist

Re: [fpc-pascal] FPC linking syntax error

2015-06-21 Thread Mark Morgan Lloyd
an option like -k-T/some_path_here/ldscripts/elf32_sparc.x -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] loadlibrary() unsafe ?

2015-06-12 Thread Mark Morgan Lloyd
. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] loadlibrary() unsafe ?

2015-06-12 Thread Mark Morgan Lloyd
anything like this, I suggest that it would be worth finding under what circumstances appropriate symlinks etc. are set up. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues

Re: [fpc-pascal] Finally, exceptions and so on.

2015-05-14 Thread Mark Morgan Lloyd
Ewald wrote: On 05/14/2015 12:08 PM, Mark Morgan Lloyd wrote: Is there a single place in the documentation where this sort of behaviour is described and prioritised, Your first fragment is documented on http://www.freepascal.org/docs-html/ref/refse103.html At the bottom of that page: `Note

Re: [fpc-pascal] Finally, exceptions and so on.

2015-05-14 Thread Mark Morgan Lloyd
Ewald wrote: On 05/14/2015 04:17 PM, Mark Morgan Lloyd wrote: So in effect, both an exit and a raise first execute the innermost finally, then look for procedure end or exception block repeating as necessary. Yes. These are the only cases where syntax needs to be unwound in this way

Re: [fpc-pascal] Finally, exceptions and so on.

2015-05-14 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: On Thu, 14 May 2015, Mark Morgan Lloyd wrote: Starting off with this fragment begin // Start of procedure/function try ... if something then exit; ... finally ... end end; My understanding is that exit magically transfers control

Re: [fpc-pascal] Finally, exceptions and so on.

2015-05-14 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 14/05/15 13:18, Mark Morgan Lloyd wrote: Except that- as I understand it- when the reference count is decremented to oblivion, it will be destroyed by magic code in the context of the block it was created in. At which point exactly they will be destroyed

[fpc-pascal] Finally, exceptions and so on.

2015-05-14 Thread Mark Morgan Lloyd
into account interfaces etc.? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi

Re: [fpc-pascal] Do the make commands have a way of listing the options and possible values for them?

2015-04-14 Thread Mark Morgan Lloyd
about additional options modifying the overall behaviour. If anybody works on this please could they link to 24789 on Mantis which is sitting there unassigned. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues

[fpc-pascal] [No subject]

2015-03-31 Thread Mark Morgan Lloyd
___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] getaddrinfo

2015-03-29 Thread Mark Morgan Lloyd
circumstances reported the address of an IP4 client formatted as IP6. It wouldn't be easy for me to get back into that at the moment, but I reported an ordering problem (Mantis 22605) and had my concerns partly allayed. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above

Re: [fpc-pascal] getaddrinfo

2015-03-29 Thread Mark Morgan Lloyd
a possibility that there are undetected problems. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Portable coroutines

2015-03-23 Thread Mark Morgan Lloyd
Michael Schnell wrote: On 03/20/2015 11:09 PM, Mark Morgan Lloyd wrote: Efficient implementation of coroutines requires CPU-specific code in the RTL and possibly the compiler. However http://www.chiark.greenend.org.uk/~sgtatham/coroutines.html suggests a way that coroutines can be implemented

Re: [fpc-pascal] Portable coroutines

2015-03-22 Thread Mark Morgan Lloyd
Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: Efficient implementation of coroutines requires CPU-specific code in the RTL and possibly the compiler. However http://www.chiark.greenend.org.uk/~sgtatham/coroutines.html suggests a way that coroutines can

Re: [fpc-pascal] SVN Protocolo implementation

2015-03-21 Thread Mark Morgan Lloyd
like import, commit and update. I wonder whether libsvn would do what you want. Google suggests that Dmitry Boyarintsev was looking at this. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues

Re: [fpc-pascal] Thoughts on Shell Approach to TCP Sockets

2015-03-20 Thread Mark Morgan Lloyd
describing the header followed by an array encompassing the data, however the actual length of the data is unknown at compilation time which means that hardware-supported bounds checking is less than useful. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's

[fpc-pascal] Portable coroutines

2015-03-20 Thread Mark Morgan Lloyd
? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Thoughts on Shell Approach to TCP Sockets

2015-03-19 Thread Mark Morgan Lloyd
netpipes (hose and faucet) utilities. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] FPCUnit - parallel test suite execution

2015-03-19 Thread Mark Morgan Lloyd
Graeme Geldenhuys wrote: On 2015-03-19 08:10, Mark Morgan Lloyd wrote: In any event the output would need to be presented in a reproducible sequence. A good point, but thinking about it I don't think it would be that hard. The text output might be a bit more tricky, but not impossible. Blue

Re: [fpc-pascal] FPCUnit - parallel test suite execution

2015-03-19 Thread Mark Morgan Lloyd
CPU's something to do and maybe complete 2000+ tests in a shorter period. ;-) Thoughts? In any event the output would need to be presented in a reproducible sequence. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers

Re: [fpc-pascal] Thoughts on Shell Approach to TCP Sockets

2015-03-19 Thread Mark Morgan Lloyd
, which would be passed to a function as a parameter. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Google Code closing down

2015-03-14 Thread Mark Morgan Lloyd
migration, please do so. It is always sad to see open source code (no matter how old) simply lost. I was just about to start using it for something. Now I've got to start looking for an acceptable alternative- preferably one that operates by European rules rather than American ones. -- Mark Morgan

Re: [fpc-pascal] Google Code closing down

2015-03-14 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: On Sat, 14 Mar 2015, Mark Morgan Lloyd wrote: Graeme Geldenhuys wrote: If you haven't seen yet, Google announced that they will be closing down Google Code. My only concern is that some niche projects used it and that such code could be lost if not migrated

Re: [fpc-pascal] Google Code closing down

2015-03-14 Thread Mark Morgan Lloyd
that A month later, the [Sourceforge] restrictions were relaxed so that individual projects could indicate whether or not their software should be blocked. I know that FPC has users in Cuba, do they still have problems downloading from Sourceforge? -- Mark Morgan Lloyd markMLl .AT. telemetry.co

Re: [fpc-pascal] Google Code closing down

2015-03-14 Thread Mark Morgan Lloyd
Graeme Geldenhuys wrote: On 2015-03-14 10:39, Mark Morgan Lloyd wrote: looking for an acceptable alternative- preferably one that operates by European rules rather than American ones. Google Code was definitely based on American rules. I know. Anyway, have a look at GitLab - I just bought

[fpc-pascal] fpGetTimeOfDay

2015-03-09 Thread Mark Morgan Lloyd
seconds between calls. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin

Re: [fpc-pascal] fpGetTimeOfDay

2015-03-09 Thread Mark Morgan Lloyd
Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: Are there any known issues with this sort of thing fpGetTimeOfDay (@TimeVal, nil) on various platforms? FPC 2.6.4 and 2.7.1 seem to be OK on x86, but on x64 (and FWIW SPARC, haven't tested others) it appears

Re: [fpc-pascal] FPC embedded ?

2015-03-05 Thread Mark Morgan Lloyd
/might/ center on the removable SD card. BeagleBone Black has a lot going for it particularly if you can use its high-speed supplementary processors. Otherwise the MIPS Creator C120 http://store.imgtec.com/ look interesting, but I don't know whether anybody has FPC on it yet. -- Mark Morgan

Re: [fpc-pascal] [Cross-post] Re: Free Pascal and Lazarus Nightly Builds

2015-03-04 Thread Mark Morgan Lloyd
-ijjhgjhgjhg. Apart from that, a valiant attempt :-) Just my 2d worth. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal

[fpc-pascal] InterLockedIncrement wrapping etc.

2015-03-02 Thread Mark Morgan Lloyd
that I need to take into account? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi

Re: [fpc-pascal] Use sleep in thread

2015-03-02 Thread Mark Morgan Lloyd
Michael Schnell wrote: On 02/28/2015 08:20 PM, Mark Morgan Lloyd wrote: Looking at http://wiki.lazarus.freepascal.org/Multithreaded_Application_Tutorial#Initialization_and_Finalization there are dire warnings that TThread.Create() shouldn't be overridden. ??? The Docs say Normally you

Re: [fpc-pascal] Use sleep in thread

2015-03-02 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: On Sat, 28 Feb 2015 19:20:49 + Mark Morgan Lloyd markmll.fpc-pas...@telemetry.co.uk wrote: [...] Looking at http://wiki.lazarus.freepascal.org/Multithreaded_Application_Tutorial#Initialization_and_Finalization there are dire warnings that TThread.Create

Re: [fpc-pascal] the unexplained 666

2015-03-01 Thread Mark Morgan Lloyd
popularisation by DEC etc. by some years. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Use sleep in thread

2015-02-28 Thread Mark Morgan Lloyd
? Sorry about the niggles, I'm currently trying to track down a race condition. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal

[fpc-pascal] Reading build-id

2015-02-21 Thread Mark Morgan Lloyd
Does anybody have any example code for a program to read its own build-id (ELF note NT_GNU_BUILD_ID), if defined? Presumably this uses bfd.pas, which I notice is GPL rather than LGPL. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his

Re: [fpc-pascal] How do you build FPC?

2015-02-20 Thread Mark Morgan Lloyd
lost the ~ (tilde) so 404s. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi

Re: [fpc-pascal] How do you build FPC?

2015-02-20 Thread Mark Morgan Lloyd
since I think a couple of steps were in the wrong order. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] why fpc do not use a known return function value

2015-02-03 Thread Mark Morgan Lloyd
. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc

Re: [fpc-pascal] Cross-compile vs native

2015-01-28 Thread Mark Morgan Lloyd
install Lazarus, because you don't have a GUI. A headless system can still map a GUI to a desktop computer using X, VNC, SSH etc. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues

Re: [fpc-pascal] access violations on new ARM hardware

2015-01-27 Thread Mark Morgan Lloyd
Björn Schreiber wrote: Am 26.01.2015 um 21:15 schrieb Mark Morgan Lloyd: Since nobody else has suggested anything: is the new hardware susceptible to alignment errors in a way that the old hardware wasn't? The question is: how can we know? The ARM documentation says only The processor

Re: [fpc-pascal] access violations on new ARM hardware

2015-01-26 Thread Mark Morgan Lloyd
issues on SPARC that might have included alignment problems, and on that architecture I had to abandon 2.6.4 promptly and move onto trunk. I'm currently testing Lazarus trunk at about 47318 is OK with FPC 2.7.1 29398 on various CPUs running Linux, can't speak for CE. -- Mark Morgan Lloyd

Re: [fpc-pascal] linux ACL

2015-01-23 Thread Mark Morgan Lloyd
Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] TFileStream.Create and hidden files on Windows

2015-01-15 Thread Mark Morgan Lloyd
has made your comments interesting. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] MIPS32 support

2015-01-06 Thread Mark Morgan Lloyd
Lazarus. I don't know whether anybody from Imagination is lurking, but I was discussing FPC etc. with one of their directors a few months ago and he was fairly interested. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers

Re: [fpc-pascal] FormatSettings not updated in Linux

2015-01-02 Thread Mark Morgan Lloyd
could switch to an external gdb and get rid of glibc but this proves only the point). Noting that I asked about something related to this in fpc-devel the other day, I assure you that I feel your pain. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's

Re: [fpc-pascal] FormatSettings not updated in Linux

2015-01-02 Thread Mark Morgan Lloyd
-user to emulate them where not possible. -8- -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

[fpc-pascal] Benchmarks are odious, but...

2014-12-23 Thread Mark Morgan Lloyd
that he used FPC 2.2.0, is optimisation etc. likely to have improved enough that somebody could usefully suggest he rerun the test? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues

Re: [fpc-pascal] Size of a partition

2014-12-19 Thread Mark Morgan Lloyd
are subtle, sometimes not. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi

[fpc-pascal] else and otherwise in a case statement

2014-12-11 Thread Mark Morgan Lloyd
to prefer enumerating all possibilities). Is this difference expected, and what is the best workaround? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist

Re: [fpc-pascal] else and otherwise in a case statement

2014-12-11 Thread Mark Morgan Lloyd
Ewald wrote: On 12/11/2014 11:13 PM, Howard Page-Clark wrote: On 11/12/2014 21:07, Mark Morgan Lloyd wrote: I've been doing a bulk replace of 'case..else' to 'case..otherwise' to eliminate possible ambiguities that have bitten me in the past, and have noticed something interesting under 2.6.4

[fpc-pascal] mORMot

2014-12-01 Thread Mark Morgan Lloyd
Discussion elsewhere has mentioned mORMot as a development framework. It claims to work with both Delphi and FPC: is anybody actively using it in anger, so that I can pass the confirmation back to where I saw this mentioned? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions

Re: [fpc-pascal] FPC Heap Management : sub-allocation ?

2014-11-01 Thread Mark Morgan Lloyd
could be useful, but your focus should be on preventing leaks and runaway rather than constantly recovering from them. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues

Re: [fpc-pascal] TIniFile: how to save bool as string?

2014-10-04 Thread Mark Morgan Lloyd
ago for my own use, which tries to preserve the form of the variable (i.e. if it's currently True then False is written, but if it's yes then no is written). That's obviously massively problematic if multiple languages have to be supported. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT

Re: [fpc-pascal] Reproducible code: DLL calling Firebird crashes

2014-10-02 Thread Mark Morgan Lloyd
Reinier Olislagers wrote: On 30/09/2014 22:05, Mark Morgan Lloyd wrote: Marco van de Voort wrote: In our previous episode, Sven Barth said: It is indeed true that all units are initialized once the main code Reinier: did you get as far as looking in Dynlibs for an error message immediately

Re: [fpc-pascal] Reproducible code: DLL calling Firebird crashes

2014-09-30 Thread Mark Morgan Lloyd
-loaded libraries (crude example: you might want to know the compile-time name of the project of which the main program was a part). -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues

Re: [fpc-pascal] Reproducible code: DLL calling Firebird crashes

2014-09-30 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: On Tue, 30 Sep 2014, Mark Morgan Lloyd wrote: Reinier Olislagers wrote: On 29/09/2014 19:30, Reinier Olislagers wrote: Re bug report: agreed. I'll raise it. Jonas has already closed it, noting http://msdn.microsoft.com/en-us/library/windows/desktop/ms682583%28v

Re: [fpc-pascal] Reproducible code: DLL calling Firebird crashes

2014-09-30 Thread Mark Morgan Lloyd
it goes back to the OS (possibly via finalisation blocks). -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Reproducible code: DLL calling Firebird crashes

2014-09-30 Thread Mark Morgan Lloyd
that it was being invoked from DLL/so initialisation code and raise a don't try that here exception? Reinier: did you get as far as looking in Dynlibs for an error message immediately after trying to connect to the database? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above

Re: [fpc-pascal] Reproducible code: DLL calling Firebird crashes

2014-09-30 Thread Mark Morgan Lloyd
that initialisation (or finalisation?) blocks were currently being run, and anything called should assume that facilities were restricted? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues

Re: [fpc-pascal] Reproducible code: DLL calling Firebird crashes

2014-09-29 Thread Mark Morgan Lloyd
; try writeln(TheAnswer) finally FinaliseBackend end; writeln('Ending demo'); -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist

Re: [fpc-pascal] Reproducible code: DLL calling Firebird crashes

2014-09-29 Thread Mark Morgan Lloyd
Reinier Olislagers wrote: On 29/09/2014 11:19, Mark Morgan Lloyd wrote: Reinier Olislagers wrote: 2. In businesslayer.pas, $define CRASH to see the problem. The code in question is: initialization DBLayer:=TDBInterface.Create; finalization DBLayer.Free; ... so probably initialization

Re: [fpc-pascal] Reproducible code: DLL calling Firebird crashes

2014-09-29 Thread Mark Morgan Lloyd
Reinier Olislagers wrote: On 29/09/2014 17:41, Mark Morgan Lloyd wrote: Reinier Olislagers wrote: On 29/09/2014 11:19, Mark Morgan Lloyd wrote: Reinier Olislagers wrote: 2. In businesslayer.pas, $define CRASH to see the problem. The code in question is: initialization DBLayer

Re: [fpc-pascal] DLL calling Firebird 2: crashes at the end

2014-09-28 Thread Mark Morgan Lloyd
that the same points about memory managers etc. apply. I have used demand-loaded libraries to interface to e.g. custom processing for MIDI or to optionally load e.g. libpcap, and once working it's reliable. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's

Re: [fpc-pascal] DLL calling Firebird 2: crashes at the end

2014-09-28 Thread Mark Morgan Lloyd
in peace. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman

Re: [fpc-pascal] DLL calling Firebird 2: crashes at the end

2014-09-28 Thread Mark Morgan Lloyd
and my dll so they are definitely sharing the same memory manager. What the fb .so uses... well... who knows, probably libc?!?! Probably libc, but not really relevant since all the allocate/free operations are done in the same context: the lib giveth, and the lib taketh away :-) -- Mark Morgan

Re: [fpc-pascal] DLL calling Firebird: slow and crashes at the end

2014-09-27 Thread Mark Morgan Lloyd
Reinier Olislagers wrote: On 26/09/2014 21:41, Mark Morgan Lloyd wrote: Reinier Olislagers wrote: If using pchars: is the program doing all storage allocation for these or is the DLL also allocating memory? The DLL is generating those pchars. What frees them? Heh ;) Ok, I think I've got

Re: [fpc-pascal] DLL calling Firebird: slow and crashes at the end

2014-09-26 Thread Mark Morgan Lloyd
., in both main program and DLL. Otherwise play with String[255] etc. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] DLL calling Firebird: slow and crashes at the end

2014-09-26 Thread Mark Morgan Lloyd
Reinier Olislagers wrote: On 26/09/2014 17:06, Mark Morgan Lloyd wrote: For Linux, cmem before HeapTrc before cthreads before Classes etc., in both main program and DLL. Otherwise play with String[255] etc. Thanks. Currently not using cmem or heaptrc or cthreads. (The regular GUI application

Re: [fpc-pascal] DLL calling Firebird: slow and crashes at the end

2014-09-26 Thread Mark Morgan Lloyd
: 80m above sea level, which around here are called Downs :-) -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] is it possible to kill a thread from within fpc?

2014-09-25 Thread Mark Morgan Lloyd
a separate process (not thread) to handle e.g. an instance of the Flash player. Is this something you could do, or do you have to have fine-grained control of multiple subroutines in the DLL? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his

[fpc-pascal] Lists of tuples

2014-09-22 Thread Mark Morgan Lloyd
now have enough memory that a dynamic array is adequately efficient. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] Optimal number of threads for SMP

2014-09-18 Thread Mark Morgan Lloyd
operations. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman

Re: [fpc-pascal] with statement using mulltiple objects

2014-09-15 Thread Mark Morgan Lloyd
Considered Harmful? [Ref: EWD-1308] -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org

Re: [fpc-pascal] with statement using mulltiple objects

2014-09-15 Thread Mark Morgan Lloyd
-47.html -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo

Re: [fpc-pascal] with statement using mulltiple objects

2014-09-14 Thread Mark Morgan Lloyd
the dangling else problem. There's also this usage, which has plenty of pitfalls for the unwary or busy: with TSomething.Create do begin .. Free end; -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues

[fpc-pascal] Overloading functions

2014-09-10 Thread Mark Morgan Lloyd
:= operator. But is there any way to handle the special case of two functions, one of which returns a dynamic array and the other the number of elements, without having to give them different names or parameters? http://web.engr.oregonstate.edu/~budd/Books/leda/index.html -- Mark Morgan Lloyd markMLl

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