[fpc-pascal] Re: [Semi-OT] How to get remote Git revision number (or last update date) using FPC+git executable

2011-08-04 Thread Graeme
following help for the 'git ls-remote' command: http://www.kernel.org/pub/software/scm/git/docs/git-ls-remote.html > However, having git support in LazUpdater does make downloading updates > an awful lot quicker, so... +1 Graeme.

Re: [fpc-pascal] ObjectBinaryToText - how to write only selected property?

2012-05-07 Thread Graeme Geldenhuys
e tiRTTI unit has minimal dependency on the other tiOPF units, so it will be very easy to make it a pure stand-alone unit. http://sourceforge.net/projects/tiopf/ -- Regards,   - Graeme - ___ fpGUI - a cross-platform Free Pascal G

Re: [fpc-pascal] ObjectBinaryToText - how to write only selected property?

2012-05-08 Thread Graeme Geldenhuys
Hi, > @Graeme. I tried download tiOPS source but can't extract archive on > linux. I never had problems with compressed files on linux. Which > format is this? I meant you should be able to simply check-out the tiRTTI.pas unit form the SubVersion source code repository, or browse

Re: [fpc-pascal] fpGUI Toolkit v0.8 release for FPC 2.4.4 & 2.6.0-rc

2012-05-30 Thread Graeme Geldenhuys
art looking into Android development too. Your releases have come in very handy for WinCE, and I'm sure the same would apply for the Android platform. -- Regards,   - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui

Re: [fpc-pascal] fpimage blur

2012-05-31 Thread Graeme Geldenhuys
On 31 May 2012 09:06, Mattias Gaertner wrote: > Hi, > > Is there a function to blur an entire fpimage or a rectangular > area? Not a direct function of Tfpimage, but is very easily accomplished using fpcanvas and the various Interpolation methods. -- Regards

Re: [fpc-pascal] fpimage blur

2012-05-31 Thread Graeme Geldenhuys
al idea. As I mentioned, I have done something similar before, and from what I remember, it wasn't to hard to get working. Alternatively, AggPas also has many filter/blur/interpolation functions available. There are a few AggPas demos showing

Re: [fpc-pascal] Playing sounds with standard components

2012-06-09 Thread Graeme Geldenhuys
Our company uses SDL with good results in our cross-platform projects. -- Regards,   - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net ___ fpc-pascal maillist

Re: [fpc-pascal] Re: Playing sounds with standard components

2012-06-12 Thread Graeme Geldenhuys
On 12 June 2012 09:49, wrote: > > > SDL is so easy, it's hardly necessary to create a wrapper. +1 And because SDL is a cross platform framework, there is nothing special to do in your code to get it to work on multiple platforms. -- Regar

Re: [fpc-pascal] Re: Playing sounds with standard components

2012-06-12 Thread Graeme Geldenhuys
undEngine.PlayingPause; begin {$IFDEF UseMusic} Mix_PauseMusic; {$ELSE} Mix_Pause (1); {$ENDIF} end; procedure TSoundEngine.PlayingContinue; begin {$IFDEF UseMusic} Mix_ResumeMusic; {$ELSE} Mix_Resume (1); {$ENDIF} end; -- Regards,   - Graeme - ___

Re: [fpc-pascal] Re: Playing sounds with standard components

2012-06-13 Thread Graeme Geldenhuys
ep(1000) call [just for demonstration purposes] after you called PlayingStart(), then you will hear the sound. A better idea would be to change your code as the attached unit. Keep the TSoundEngine instance in the form (or as a global variable), so then playing any sounds are instant. -- Regar

Re: [fpc-pascal] Re: Playing sounds with standard components

2012-06-13 Thread Graeme Geldenhuys
32>fpc -i Free Pascal Compiler version 2.5.1 Compiler Date : 2011/11/26 Compiler CPU Target: i386 I'm also using Lazarus 0.9.30, but the version of Lazarus shouldn't make any difference with the SDL support. -- Regards,   - Graeme - _

Re: [fpc-pascal] Re: Playing sounds with standard components

2012-06-14 Thread Graeme Geldenhuys
the same order as the demo link your referenced. Anyway, glad you got the sound playing going. :) -- Regards,   - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net _

Re: [fpc-pascal] OAuthv1/Twitter library/application ready; was: EncodeURLElement, underscore and RFC3986?

2012-06-21 Thread Graeme Geldenhuys
e server? He did say he was using a mercurial repository, not a git one. Regards, Graeme -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net _

Re: [fpc-pascal] Small and not instalable web server for a local Pascal CGI application

2012-07-12 Thread Graeme Geldenhuys
x27;t actually know what they changed. http://powtils.googlecode.com/svn/dev/tools/aservia/ I've personally had good success with the nYume project. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http

Re: RE : [fpc-pascal] Database problem on Solaris SPARC

2012-07-16 Thread Graeme Geldenhuys
and 64- bit), Solaris (Sparc and Intel), HP-UX (PA-Risc) and MacOS X. Main development is done on Windows and Linux, so new releases are usually offered first for these platforms, followed by other platforms after a few weeks." http://www.firebirdsql.org/en/downloads

Re: [fpc-pascal] Re: RE : Database problem on Solaris SPARC

2012-07-16 Thread Graeme Geldenhuys
ut I have successfully ran Firebird Server & clients under FreeBSD 9.0 on x86, and there are FreeBSD downloads on the Firebird website for 2.1.x and older. So just because the latest version doesn't contain a download for a specific OS+CPU, doesn't make it "not supported".

Re: [fpc-pascal] Dynamic messaging in Delphi

2012-07-26 Thread Graeme Geldenhuys
't) use TInterfaceObject which implements IUnknown. Change that class definition to something like the following if you are using CORBA interfaces. TMyDelegate = class(TObject, MyDelegate) ... end; And that should work correctly with CORBA style interface

Re: [fpc-pascal] Compiling on Raspberry Pi

2012-08-07 Thread Graeme Geldenhuys
it Information -> Show Codetools Values. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] How to find a graphic element in the form editor?

2012-08-07 Thread Graeme Geldenhuys
On 7 August 2012 13:20, Howard Page-Clark wrote: > Use View | Components (shortcut Ctrl Alt P), and type 'filen' in the filter > edit. Wow, and so we learn something new. :-) -- Regards, - Graeme - ___ fpGUI - a cross-platform

Re: [fpc-pascal] Re: fpdoc executable both in bin and utils\fpdoc - but not fpdoc.css

2012-08-14 Thread Graeme Geldenhuys
t i don't know of a single project or person that actually done that. The fpdoc program should at least copy in the default fpdoc.css file - because it looks a damn lot better with the default fpdoc.css than without. -- Regards, - Graeme - ___ f

Re: [fpc-pascal] Re: fpdoc executable both in bin and utils\fpdoc - but not fpdoc.css

2012-08-14 Thread Graeme Geldenhuys
reason I though it was. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepasca

Re: [fpc-pascal] Re: fpdoc executable both in bin and utils\fpdoc - but not fpdoc.css

2012-08-14 Thread Graeme Geldenhuys
Hi On 14 August 2012 09:54, Reinier Olislagers wrote: > Neither are > fp.ans > fpc.cfg > yylex.cod > program.pt > cvsup.tdf > ... but they still live in my fpc bin directory... :-) Good point. -- Regards, - Graeme - __

[fpc-pascal] linux: should we hard-code versioned or unversioned shared libraries in our apps?

2012-08-15 Thread Graeme Geldenhuys
installs). Anybody know of any Linux documentation URL that explain when unversioned shared libraries are used and when not, and how applications are supposed to handle this? -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pas

Re: [fpc-pascal] linux: should we hard-code versioned or unversioned shared libraries in our apps?

2012-08-15 Thread Graeme Geldenhuys
ch concerned about my development system (I can fix that) - I am thinking more in line of when I deploy my apps. I want them to obviously work as easily as possible. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http:/

Re: [fpc-pascal] linux: should we hard-code versioned or unversioned shared libraries in our apps?

2012-08-15 Thread Graeme Geldenhuys
_packaging_policy#Unversioned_packages Ubuntu/Debian: ?? I can't remember the URL now. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net ___ fpc-

Re: [fpc-pascal] linux: should we hard-code versioned or unversioned shared libraries in our apps?

2012-08-15 Thread Graeme Geldenhuys
pps use Firebird DB v2.x, it will most probably run on a v1.x system too, but like I said, that would be untested. We only test with v2.x Firebird servers. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GU

Re: [fpc-pascal] linux: should we hard-code versioned or unversioned shared libraries in our apps?

2012-08-15 Thread Graeme Geldenhuys
db and synapse code to look for the versioned shared libraries that I know I have tested with. eg: libfbclient.so.2 Thanks for all the help guys. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI t

Re: [fpc-pascal] Re: linux: should we hard-code versioned or unversioned shared libraries in our apps?

2012-08-15 Thread Graeme Geldenhuys
instead? 2 being the latest major version of Firebird DB, and that is also the latest version that ibconnection.pp was written for. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI to

Re: RE : RE : [fpc-pascal] Re: linux: should we hard-code versionedorunversioned shared libraries in our apps?

2012-08-15 Thread Graeme Geldenhuys
t is true, so could you explain this limitation you are talking about. For example, in tiOPF I often connect to multiple databases - migrating data from one database to another. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolk

Re: [fpc-pascal] Re: linux: should we hard-code versioned or unversioned shared libraries in our apps?

2012-08-15 Thread Graeme Geldenhuys
latest version of Firebird, and when you install the standard Firebird Client libraries, only the versioned ones are installed. I also believe that the ibconnection.pp unit is coded for Firebird 2.1 and 2.5, so assuming the default shared library (libfbclient.so.2) is really n

Re: [fpc-pascal] Re: linux: should we hard-code versioned or unversioned shared libraries in our apps?

2012-08-15 Thread Graeme Geldenhuys
I just think ibconnection.pp should rather look at the versioned shared library, just like the linker does with static linking. Thus making applications easier to deploy. Is that too much to ask? -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pasc

Re: [fpc-pascal] Re: linux: should we hard-code versioned or unversioned shared libraries in our apps?

2012-08-15 Thread Graeme Geldenhuys
ust as easily deployed as apps with static linking. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net ___ fpc-pascal maillist - fpc-

Re: [fpc-pascal] Re: linux: should we hard-code versioned or unversioned shared libraries in our apps?

2012-08-16 Thread Graeme Geldenhuys
eyt seems to have agreed with my suggestion (if I understood his email correctly) of adding '.2' to the Linux-only library name. Michael is a lot more involved in FPC database work than you. -- Regards, - Graeme - _

Re: [fpc-pascal] Re: linux: should we hard-code versioned or unversioned shared libraries in our apps?

2012-08-16 Thread Graeme Geldenhuys
obably require some software update, lots of testing, new installs being generated, more testing etc... another 6+ months latency. So again you "fear" something that is not really an issue at all. -- Regards, - Graeme - ___ fpGUI -

Re: [fpc-pascal] Re: linux: should we hard-code versioned or unversioned shared libraries in our apps?

2012-08-16 Thread Graeme Geldenhuys
fault for the default library name in > several cases. > > That's all that needs to be changed to get rid of most of the problems and > discussions. Thank you someone understands. -- Regards, - Graeme - ___ fpGUI - a cross-platfo

Re: RE : [fpc-pascal] Re: linux: shouldwehard-codeversionedorunversionedshared libraries in our apps?

2012-08-16 Thread Graeme Geldenhuys
brary name issue with other other modifications? -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net ___ fpc-pascal maillist - fpc-pascal@lists.freepasca

Re: RE : RE : RE : RE : RE : [fpc-pascal] Re: linux: shouldwehard-codeversionedorunversioned shared libraries in our apps?

2012-08-16 Thread Graeme Geldenhuys
files. libfbclient.so.2.1.5<- the actual library file libfbclient.so.2.1 <- symlink to above (this does seem optional) libfbclient.so.2 <- symblink to above (always there) -- Regards, - Graeme - __

Re: [fpc-pascal] Re: linux: shouldwehard-codeversionedorunversionedshared libraries in our apps?

2012-08-16 Thread Graeme Geldenhuys
be searched. It could point to anything, including > versions of the library not supported by the unit. @Michael I have to agree with Jonas here. The unversioned symlink is potential trouble. Other than that, your solution sounds fine. -- Regards, - Graeme - __

Re: [fpc-pascal] Malformed email messages

2012-08-16 Thread Graeme Geldenhuys
Hi, On 16 August 2012 15:49, Sven Barth wrote: > The missing spaces where a topic some time ago already on one of the fpc or > lazarus lists... I don't know what the outcome was though. AFAIK Graeme was > the one who pointed it out that time. I'm using Gmail (forced to pl

Re: [fpc-pascal] Re: linux: shouldwehard-codeversionedorunversionedshared libraries in our apps?

2012-08-16 Thread Graeme Geldenhuys
being understand. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mail

Re: [fpc-pascal] Re: linux: shouldwehard-codeversionedorunversionedshared libraries in our apps?

2012-08-16 Thread Graeme Geldenhuys
y standard Linux install, and that symlink is not included in the standard Firebird Client library package. Anyway, I got the answer to my question, and the next FPC release will be fixed. Plus I now also know how to modify my copy of FPC 2.6.1 so our products can be deployed with e

Re: Re : [fpc-pascal] Malformed email messages

2012-08-17 Thread Graeme Geldenhuys
colon should fix it completely I think. Notice: I just switched from Gmail (web interface) to Gmail (via IMAP and Thunderbird). You are correct in what you said. Thunderbird is looks as specific text "Re:" and if it doesn't find it, it prefixes it, thus this message will show

[fpc-pascal] Interbase vs Firebird header translation

2012-08-17 Thread Graeme Geldenhuys
database design tool that I use, and when generating DDL from my designs, there is a Interbase option and a Firebird option - so clearly enough has changed in the last 10 years to consider them separate products now. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using

Re: Re : [fpc-pascal] Malformed email messages

2012-08-17 Thread Graeme Geldenhuys
On 17/08/12 11:17, Ludo Brands wrote: Well spotted. Outlook indeed generates "RE :" with the additional space. This should be fixed now. Well done, it seems to work 100% now. :-) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free P

Re: [fpc-pascal] Re: Interbase vs Firebird header translation

2012-08-17 Thread Graeme Geldenhuys
the long term. Thanks for the examples, that confirms of what we expected. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ ___ fpc-pascal maillist - fpc-pascal

[fpc-pascal] FPC vs Delphi's unicode string support questions

2012-08-18 Thread Graeme Geldenhuys
ing been done or started in the RTL? Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mail

Re: [fpc-pascal] FPC vs Delphi's unicode string support questions

2012-08-18 Thread Graeme Geldenhuys
.1 and earlier), String always means AnsiString. I guess from the rest of your reply, I am jumping the gun here... Clearly 2.7.1 is not nearly ready yet for such a Delphi port. Thanks for all the info. -- Regards, - Graeme - ___ fpGUI - a cross-p

Re: [fpc-pascal] FPC vs Delphi's unicode string support questions

2012-08-18 Thread Graeme Geldenhuys
al Text IDE, and that definitely doesn't use UTF-8. ;-) Anyway, thanks for your response. I'll hold off on the tiOPF v3 port for now. There are too many undecided factors in FPC 2.7.1 at the moment. -- Regards, - Graeme - ___

Re: [fpc-pascal] FPC vs Delphi's unicode string support questions

2012-08-18 Thread Graeme Geldenhuys
quot; from many that string is UTF-8 encode under Linux, Unix, MacOSX, and UTF-16 under Windows? Thus avoiding any conversion speed penalties on all non-Windows platforms. Or is defaulting to UTF-16 just the first step of implementing Unicode support, and UTF-8 will follow f

Re: [fpc-pascal] FPC vs Delphi's unicode string support questions

2012-08-18 Thread Graeme Geldenhuys
nabled that new compiler mode... Any idea what the following warning means? - /home/graemeg/devel/tiOPF3/src/Core/tiDefines.inc(42,4) Warning: Current system codepage "0" is not available for the compiler. Switching default codepage back to "28591&q

Re: [fpc-pascal] FPC vs Delphi's unicode string support questions

2012-08-18 Thread Graeme Geldenhuys
ood table to add to the Lang Ref or some other FPC documentation. [...thinking out loudly...] Oh how I yearn for the Java string handling simplicity - compared to the mess Delphi and FPC is in. -- Regards, - Graeme - ___

Re: [fpc-pascal] FPC vs Delphi's unicode string support questions

2012-08-18 Thread Graeme Geldenhuys
for the true meaning. And for DelphiUnicode mode do something like String = DelphiString where DelphiString is a UTF-16 only string [or String = CodePageString(utf-16) or whatever you want to call it]. Anyway, just my 2¢ worth..... no need for any reply. -- Regards, - Graeme -

Re: [fpc-pascal] FPC vs Delphi's unicode string support questions

2012-08-18 Thread Graeme Geldenhuys
ER AT THIS TIME. But thanks to everybody that offered information on this... it was educational. :-) -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net ___

Re: [fpc-pascal] Unit testing aid...

2012-08-22 Thread Graeme Geldenhuys
it that I worked on at: https://github.com/graemeg/fpprofiler But I think there is a newer fpprofiler repository hosted somewhere else now... -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui

Re: [fpc-pascal] Linker speed

2012-08-24 Thread Graeme Geldenhuys
n/ld ...). Linux doesn't have an internal linker, so it that case it is always external. Only FPC under Windows has an internal linker as far as I know. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http:/

[fpc-pascal] Policy regarding HTML messages

2012-08-26 Thread Graeme Geldenhuys
To the mailing list admin, What is the policy with HTML messages in this mailing list? I find it very annoying when messages to mailing lists are in HTML - this seems to be the general consensus in most mailing lists. I was under the impression that only plain text message was allowed in this

[fpc-pascal] Re: Policy regarding HTML messages

2012-08-26 Thread Graeme Geldenhuys
On 25/08/12 23:14, Graeme Geldenhuys wrote: What is the policy with HTML messages in this mailing list? Ah, I found the following page which describes just that... http://lists.freepascal.org/mailman/listinfo/fpc-pascal "3) Do not use HTML mail, or worse RTF mail. Some mailreaders

[fpc-pascal] GDB help needed please

2012-08-29 Thread Graeme Geldenhuys
m the stacktrace above the only thing I can recognise, is the 'mdlexercise' text, which is a unit in our project. But without any line numbers it is like looking for a needle in a very large haystack. Any GDB tips somebody can share, that could help me get GDB to

Re: [fpc-pascal] GDB help needed please

2012-08-30 Thread Graeme Geldenhuys
get GDB to give me a more detailed backtrace. :) Regards, - Graeme - ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Identifier not found "result"

2012-08-30 Thread Graeme Geldenhuys
On 30/08/12 17:07, Jonas Maebe wrote: Turbo Pascal does not support the "result" alias for the function result. Yup, I can confirm that. I just tested with Turbo Pascal 5.5 :) Wow, that brought back memories. Graeme. ___ fpc-pasca

Re: [fpc-pascal] Re: Identifier not found "result"

2012-08-31 Thread Graeme Geldenhuys
On 31/08/12 09:27, Rainer Stratmann wrote: I could swear that it supports it... I thought the same, and that is why I tried it myself. :) I guess we have been with Object Pascal for too long, and forgot the difference between Pascal and Object Pascal. Graeme

Re: [fpc-pascal] Re: Editing resource of executable

2012-08-31 Thread Graeme Geldenhuys
/onguard Graeme. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Resource compiler under Linux - windres?

2012-08-31 Thread Graeme Geldenhuys
w32msvc-windres -- Regards, - Graeme - ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Editing resource of executable

2012-08-31 Thread Graeme Geldenhuys
other clients are automatically good to go. Graeme. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Resource compiler under Linux - windres?

2012-09-01 Thread Graeme Geldenhuys
On 01/09/12 09:24, Giulio Bernardi wrote: Just compiling windres from binutils sources should be enough. Thanks, I did that and it worked fine. Graeme. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org

Re: [fpc-pascal] Access to compiler's internal data structures

2012-09-01 Thread Graeme Geldenhuys
#x27;fcl-passrc' directory. The 'fpdoc' tool uses it, and I think a few others too. Graeme. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Firebird: bulk insert performance: suggestions?

2012-09-07 Thread Graeme Geldenhuys
CSV files. Transactions are always used. Graeme. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Firebird: bulk insert performance: suggestions?

2012-09-08 Thread Graeme Geldenhuys
at up more, and still no problems. Anyway, that code isn't used too much in our product - it is only used for data conversion from our old system to our new system. So normally only needed once per setup. Regards, - Graeme - ___ fpc-pasca

[fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-13 Thread Graeme Geldenhuys
a teaching language - easy to learn, read and write. Regards, - Graeme - ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-13 Thread Graeme Geldenhuys
age on a 4GB SD card, but there is about 2GB free on that SD card. So ample space for the libX11-dev and libXft-dev packages, and the 5MB needed for the FPC+fpGUI archive. Regards, - Graeme - ___ fpc-pascal maillist - fpc-pascal@lists.freepascal

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-13 Thread Graeme Geldenhuys
to do that from inside 'Debian 6 for Pi'. The normal 'xwd' or 'import' applications where not available (the latter one pulls in too much dependencies). I'll try 'scrot' now. Regards, - Graeme - ___ fpc-p

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-13 Thread Graeme Geldenhuys
On 13/09/12 22:20, Marco van de Voort wrote: Is that the old squeeze or Raspbian? I have the "wheezy" one, which I believe is Raspbian? Graeme. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.o

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-13 Thread Graeme Geldenhuys
a look of the foundation website. Mounting my SD card in my normal PC, it seem my Pi OS images is dated 2012-06-17 (based on /etc/rpi-issue file). Also many of the /etc/ files are dated 17 June 2012. Regards, - Graeme - ___ fpc-pasca

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-14 Thread Graeme Geldenhuys
most optimised OS for the Raspberry Pi, but it works much better. I'll report my problems, so hopefully in the next Raspbian release things will work better. Regards, - Graeme - ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-14 Thread Graeme Geldenhuys
sces" image from the raspbian.org website. So I'm about to test that one now, and see how it goes. http://www.raspbian.org/PiscesImages Regards, - Graeme - ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freep

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-14 Thread Graeme Geldenhuys
I have run fpGUI executables under Linux SUSE 9.0 (almost 10 year old distro) too, without any issues. fpGUI only needs the most basic X11 and Xft libraries - nothing else. This makes it work on just about any system that can run X11. Regards, - Graeme -

Re: [fpc-pascal] Function for checking correct file name

2012-09-14 Thread Graeme Geldenhuys
egards, - Graeme - ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Function for checking correct file name

2012-09-14 Thread Graeme Geldenhuys
On 14/09/12 13:48, Krzysztof wrote: I just quicky googled not allowed characters and wrote this simple function: Also in Windows (as far as I know), file names my not be longer than 255 characters. So you will have to check the length of AFilename parameter too. Regards, - Graeme

Re: [fpc-pascal] Function for checking correct file name

2012-09-14 Thread Graeme Geldenhuys
On 14/09/12 15:02, Howard Page-Clark wrote: As is so often the case, a truly cross-platform solution requires a good... Under linux such a check is easy. Everything is accepted, expect for the NUL character. :-) Regards, - Graeme - ___ fpc

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-14 Thread Graeme Geldenhuys
using the old non-Xft processed fonts in X11 - thus giving very ugly looking fonts. That was the original font support in fpGUI, but I quickly introduced Xft support to have better looking text in my applications. :) Graeme. ___ fpc-pascal mai

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-14 Thread Graeme Geldenhuys
Regards, - Graeme - ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Function for checking correct file name

2012-09-14 Thread Graeme Geldenhuys
On 14/09/12 16:50, Jonas Maebe wrote: And the "/". Ah yes, you are correct. Regards, - Graeme - ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Function for checking correct file name

2012-09-15 Thread Graeme Geldenhuys
n the Unicode character count limit could be significantly less than 255. Regards, - Graeme - ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-16 Thread Graeme Geldenhuys
media centre, so is hogged in the lounge at the moment. Should be fun to see what embedded projects the RPi can be used in... :) Definitely! One of my next RPi projects is to see if I can build a 3D printer based on the RPi board. Regards, - G

Re: [fpc-pascal] libusb header translation and OOP wrapper

2012-09-25 Thread Graeme Geldenhuys
ansiglaser/pas-libusb.git or git clone git://github.com/hansiglaser/pas-libusb.git then do... cd pas-libusb git checkout libusb-1.0 Unfortunately the master branch appears to be 2 months old. You simply forgot to switch to the 'libusb-1.0' branch.

Re: [fpc-pascal] libusb header translation and OOP wrapper

2012-09-25 Thread Graeme Geldenhuys
e very handy aliases created by many. Use Google to find them. Regards, - Graeme - ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] DOM, XMLRead, XMLWrite - cwstring requirement

2012-09-28 Thread Graeme Geldenhuys
h requires cwstring or else i get an error at runtime: "This binary has no unicodestrings support compiled in. Recompile the application with a unicodestrings-manager in the program uses clause." -- Regards, - Graeme - __

Re: [fpc-pascal] Getting fpcunit test results into a database

2012-09-28 Thread Graeme Geldenhuys
It's only 5 required methods to implement. Then simply register that test listener with the testing framework (via TestResult.AddListener() call), and it will be fed test results as they happen. Each of those 5 ITestListerner methods will then insert records into the database as needed. Regar

Re: [fpc-pascal] DOM, XMLRead, XMLWrite - cwstring requirement

2012-09-28 Thread Graeme Geldenhuys
roup. I saw a similar post (from a FPC developer) in the Delphi newsgroups. Regards, - Graeme - ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] DOM, XMLRead, XMLWrite - cwstring requirement

2012-09-28 Thread Graeme Geldenhuys
the same way. They are using the data from Unicode.org - repackaging it is irrelevant as far as I'm concerned. Regards, - Graeme - ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Getting fpcunit test results into a database

2012-09-28 Thread Graeme Geldenhuys
f the language in question. eg: Object Pascal based test frameworks use published properties, C# and Java uses class attributes etc to define test methods. Regards, - Graeme - ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freep

Re: [fpc-pascal] DOM, XMLRead, XMLWrite - cwstring requirement

2012-09-28 Thread Graeme Geldenhuys
Thanks Michael. > Well, the matter is not entirely clear. Are such things ever! > That is why we decided to ask the unicode group what their opinion is > on this matter. That's the best option. Graeme. ___ fpc-pascal maillist - f

Re: [fpc-pascal] TListBox, scroll horizontally

2012-10-04 Thread Graeme Geldenhuys
Wrong mailing list. Graeme. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] problems compiling FPC

2012-10-16 Thread Graeme Geldenhuys
On 2012-10-16 22:01, Marco van de Voort wrote: > > [bold][font size=1][color=red][style=blink] > The starting compiler is only guaranteed [snip] > [/style][/color][/font][/bold] hehehe It is rather crazy how often this same problem occurs on the mailing list. Just thinking out lou

Re: [fpc-pascal] problems compiling FPC

2012-10-16 Thread Graeme Geldenhuys
uce work, not make more work. :) Regards, - Graeme - ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] problems compiling FPC

2012-10-17 Thread Graeme Geldenhuys
e FPC source code. If that version doesn't match a known "latest stable compiler version" constant, then report an error and terminate. Regards, - Graeme - ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Seems Delphi is moving to Java-style primitive types

2012-10-17 Thread Graeme Geldenhuys
Interesting. Regards, - Graeme - ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] fpmake compiles the same unit multiple times

2012-10-17 Thread Graeme Geldenhuys
port.pas Compiling reportengine/u_report.pas Compiling reportengine/u_visu.pas Compiling reportengine/u_visu.pas [100%] Built target fpgui -------- Regards, - Graeme - ___ fpc-pasca

Re: [fpc-pascal] problems compiling FPC

2012-10-17 Thread Graeme Geldenhuys
is a clear > statement for each SVN tag which FPC version should be used for That will be a ridiculous amount of work. The existing rule of always using the latest released FPC as the starting compiler is good enough. Regards, Graeme. ___ fpc-pascal m

Re: [fpc-pascal] problems compiling FPC

2012-10-17 Thread Graeme Geldenhuys
like new platforms where a previous released version did not exist. The developers working on such features should know what they are doing anyway, so fits in with my earlier statement too. Regards, - Graeme - ___ fpc-pascal maillist - f

  1   2   3   4   5   6   7   8   9   10   >