[fpc-pascal] Compiler option '-l' (write FPC logo)

2009-05-22 Thread Graeme Geldenhuys
Hi, What does the compiler option -l "Write a FPC logo" actually do? What logo? How does the logo look like? Where do I see that logo? Does it work on all platforms? For example, I use Linux. Regards, - Graeme - ___ fpGUI - a cross-pla

Re: [fpc-pascal] Compiler option '-l' (write FPC logo)

2009-05-22 Thread Graeme Geldenhuys
copyright date probably needs to be updated I noticed the same thing earlier today. :-) Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ ___ fpc-

Re: [fpc-pascal] Class procedure assigned to object's event

2009-05-26 Thread Graeme Geldenhuys
pc or better which is the difference > between two modes for this case ? I prefer objfpc mode as it's a lot stricter than delphi mode. But if you work on shared code projects that must compile under Delphi and FPC, it is just easier (and cleaner) to use delphi mode. Otherwise you sit wit

Re: [fpc-pascal] DirectFB for FPC beta tarball

2009-06-01 Thread Graeme Geldenhuys
ng GUI + mouse support (without requiring X11) will be very nice. :-) As for LCL+fpGUI widgetset. I've already scheduled time for it later this year, I just need to get our current (company) project out the door. I'm almost there. Regards, - Graeme - _

Re: [fpc-pascal] DirectFB for FPC beta tarball

2009-06-01 Thread Graeme Geldenhuys
d000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7bf8000) GTK2 obviously pulls in the rest that you listed. Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ __

Re: [fpc-pascal] fpmake: output directories

2009-06-02 Thread Graeme Geldenhuys
|-HelpScribble |---Sample Project |---desktop-directories |---icons |---tracker |-data |---Trash |-files |-info ===== Regards, - Graeme - ___ fpGUI - a cross-platform Free P

Re: [fpc-pascal] fpmake: output directories

2009-06-02 Thread Graeme Geldenhuys
configuration files, I love the .config directory. :-) [Sorry Michael] > So .fppkg it is by default, and it remains so. Good old unix custom. No complaints here, just thought I would mention the "dot" directories I have in my $HOME. Regards, - Graeme - __

Re: [fpc-pascal] fpmake: output directories

2009-06-03 Thread Graeme Geldenhuys
r some desktop standards under Linux! :-) BTW: Michael, did you know that you *can* set your $XDG_CONFIG_HOME environment variable so that it uses something other that ~/.config/ directory. The ~/.config/ is simply the default location if the $XDG_CONFIG

Re: [fpc-pascal] fpmake: output directories

2009-06-03 Thread Graeme Geldenhuys
ou to browse those folders anyway? I know I hardly do. My issue with the "dot" directories in the $HOME directory. I have no idea how to list only the "dot" directories. What I use is this... $> ls -lsa But that lists "dot"

Re: [fpc-pascal] fpmake: output directories

2009-06-03 Thread Graeme Geldenhuys
ectories first and orders them by line (across the screen) and not in columns (downwards). lhd - only lists hidden directories, no files. Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI to

Re: [fpc-pascal] TPicture (Graphics unit)

2009-06-07 Thread Graeme Geldenhuys
n you will have to use the Lazarus LCL (Lazarus Component Library) which is a clone of the Delphi VCL. Regards, - Graeme - -- fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/

[fpc-pascal] optimised compiler options for "release" version

2009-06-08 Thread Graeme Geldenhuys
t is recommended? Stay with the more conservative options of FPC (-O2 -CX -XX) or the more processor specific optimisations. Please note, that I do not know what exactly our clients run, processor wise (AMD or Intel, singlecore or multi-core, etc...) I would hope everybody at least runs a P4

Re: [fpc-pascal] optimised compiler options for "release" version

2009-06-08 Thread Graeme Geldenhuys
d simply disable heatrc and source code line numbers in backtraces. Regards, - Graeme - ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Records as properties and Delphi compiler error

2009-06-08 Thread Graeme Geldenhuys
seeing 80 lines in a message and then only 3 of those lines are actually the reply and the other 77 line are quoted text! -- Regards, - Graeme - fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui

Re: [fpc-pascal] Strange error

2009-06-08 Thread Graeme Geldenhuys
thought that it might indicate some problem. That must be some problem in your code I think. I don't receive the "error" line when my applications quits. I use FPC 2.2.5 by the way. Regards, - Graeme - fpGUI - a cross-platfor

Re: [fpc-pascal] optimised compiler options for "release" version

2009-06-09 Thread Graeme Geldenhuys
s it primarily executable size or more speed related optimizations? If it is speed related, how can I actually test the speed differences so see by how much it increases? Does FPC have such tests available somewhere in the source code? -- Regar

Re: [fpc-pascal] optimised compiler options for "release" version

2009-06-09 Thread Graeme Geldenhuys
noticable > speedup on more recent processors. Thanks. Do you know what the 'PENTIUMM' cpu is? Is that Mobile Pentium or something? > You can try Thomas Schatzl's cpu unit to time small code fragments: Thanks, I'll take a look. -- Regards, - Graeme - ___

Re: [fpc-pascal] Compiling Lazarus and LCL using rebuilt FPC RTL

2009-06-11 Thread Graeme Geldenhuys
> Assuming that a FPC RTL rebuild has succeeded, can somebody please describe > the process of rebuilding Lazarus and the LCL using the new FPC RTL? Load your previous Lazarus IDE. Then do: "Tools > Build Lazarus" --

Re: [fpc-pascal] Compiling Lazarus and LCL using rebuilt FPC RTL

2009-06-11 Thread Graeme Geldenhuys
ck the "clean" checkbox and rebuild. I often make changes to the RTL and FCL. Many of my packages which are compiled into the Lazarus IDE depend on the FCL. I also use Linux and this process works perfectly for me. Regards, - Graeme - ___

Re: [fpc-pascal] FPC on USB

2009-06-15 Thread Graeme Geldenhuys
ve all my projects available and my development environment. -- Regards, - Graeme - ___ fpGUI - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___ fpc-pascal maill

Re: [fpc-pascal] FPC on USB

2009-06-15 Thread Graeme Geldenhuys
: http://portableapps.com/node/18088 Please note: I have never tried this myself. Regards, - Graeme - ___ fpGUI - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.

Re: [fpc-pascal] FPC on USB

2009-06-15 Thread Graeme Geldenhuys
from any location on my system. I don't need any extra applications using my setup. Regards, - Graeme - ___ fpGUI - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ _

Re: [fpc-pascal] FPC on USB

2009-06-16 Thread Graeme Geldenhuys
Thomas Nelson wrote: that FPC writes to the windows registry and was curious as to how critical that information is to the operation of FPC from the USB. I was not aware of that. What is actually written to the registry? I thought the compiler only uses the fpc.cfg file. Regards, - Graeme

Re: [fpc-pascal] error in pascal program

2009-06-16 Thread Graeme Geldenhuys
program T3ch18; {an answer for tamrine 3 of chapter 18. writer :Akbar Zamani date:1388/3/15} ^ Wow, that is a rather old computer program. :-) Regards, - Graeme - fpGUI - a cross-platform Free Pascal GUI

[fpc-pascal] Writeable typed constants - what's the point?

2009-06-17 Thread Graeme Geldenhuys
leton: TApplicationManager = nil; {$IFDEF DELPHI}{$J-}{$ENDIF} begin if not Assigned(AppSingleton) then AppSingleton := TApplicationManager.Create; Result := AppSingleton; end; Regards, - Graeme - ___ fpGUI - a cross-platform GUI to

Re: [fpc-pascal] Writeable typed constants - what's the point?

2009-06-18 Thread Graeme Geldenhuys
been some limitation in the older compilers. Thanks for confirming this. Regards, - Graeme - ___ fpGUI - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___ fpc-pascal

Re: [fpc-pascal] Writeable typed constants - what's the point?

2009-06-18 Thread Graeme Geldenhuys
ort with $J+ compiler directive. I don't know (have not tested) what FPC does with mode delphi though. But seeing that this feature is just for backward compatibility, maybe it should be disallowed by default in mode objfpc as well? Regards, - Graeme - _

Re: [fpc-pascal] Writeable typed constants - what's the point?

2009-06-18 Thread Graeme Geldenhuys
ult in both compiler modes - after all, it's just a backward compatibility feature to Turbo Pascal days. Regards, - Graeme - ___ fpGUI - a cross-platform GUI toolkit using Free Pascal http://opensoft.

Re: [fpc-pascal] Writeable typed constants - what's the point?

2009-06-18 Thread Graeme Geldenhuys
n simply fix there code. I had to do that for fpGUI Toolkit, so why can't others. Lazarus code also has to be fixed constantly due to FPC changes in behaviour. Regards, - Graeme - ___ fpGUI - a cross-platform GUI toolkit using

Re: [fpc-pascal] Writeable typed constants - what's the point?

2009-06-18 Thread Graeme Geldenhuys
I think there was a few more that affected fpGUI Toolkit project, but I think you get the idea. As long as code is being maintained, such changes are not the end of the world. :-) But my point is, they do happen! > Then I'll tell you what's the difference to writable typed > cons

Re: [fpc-pascal] Writeable typed constants - what's the point?

2009-06-18 Thread Graeme Geldenhuys
. And as Nino pointed out, even the old Delphi 5 doesn't allow writeable typed constants by default. What should be the default behaviour in mode objfpc? Well that I am not sure about. Regards, - Graeme - ___ fpGUI - a cross-platform G

Re: [fpc-pascal] Writeable typed constants - what's the point?

2009-06-19 Thread Graeme Geldenhuys
nt is simply not a very accurate description of the usage of that "writeable" variable/constant. It goes against the "easy readability design" of the Object Pascal language, and is very unclear as to the meaning of that typed constant. Regards, - Graeme - ___

Re: [fpc-pascal] Name for our license

2009-06-21 Thread Graeme Geldenhuys
ied lgpl" license as used by FPC's RTL and Lazarus. And no, those projects have nothing to do with Free Pascal Compiler or Lazarus project. Regards, - Graeme - fpGUI - a cross-platform Free Pascal GUI toolkit http://opensof

Re: [fpc-pascal] Name for our license

2009-06-21 Thread Graeme Geldenhuys
exception to version 3 of the GNU General Public License (GPL)." http://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License Regards, - Graeme - fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ ___

Re: [fpc-pascal] Name for our license

2009-06-21 Thread Graeme Geldenhuys
Marco van de Voort wrote: No it does not, I think. It just says that the same process to construct LGPL3 from GPL3 is made as was to make LGPL2 from GPL2. Ah yes, I see what you mean. I read it to quickly and misunderstood the overall meaning. My bad. :-( Regards, - Graeme

Re: [fpc-pascal] gtk+ linux-windows

2009-06-21 Thread Graeme Geldenhuys
The benefit of the fpGUI Toolkit, is that it is much "lighter" than GTK1 or GTK2 or the Lazarus LCL. It's library dependencies are much smaller as well. Regards, - Graeme - ___ fpGUI - a cross-platform GUI

Re: [fpc-pascal] gtk+ linux-windows

2009-06-23 Thread Graeme Geldenhuys
kota kota wrote: > I will try it. > The fpGui's link presents a *fpGUI Visual UI Designer*. Where can i find it? If you check out the source code from the git repository (recommended), then the UI Designer is in the 'uidesigner' directory, in the root of the project.

Re: [fpc-pascal] gtk+ linux-windows

2009-06-23 Thread Graeme Geldenhuys
kota kota wrote: Now i need some more specific information: Is there any way to show the drawing's steps(created on a Canvas) before the final image is ready? Sorry, I do not understand? What drawings? Regards, - Graeme - fpGUI - a

Re: [fpc-pascal] gtk+ linux-windows

2009-06-24 Thread Graeme Geldenhuys
:= logos(x2, intS[results[i], 1]); y2 := logos(y2, intS[results[i], 2]); Canvas.Pixels[x2, y2] := clBlack; end;{For-loop} end; begin Randomize; MainProc; end. ====== Regards, - Graeme - _

Re: [fpc-pascal] gtk+ linux-windows

2009-06-24 Thread Graeme Geldenhuys
the next paint occurs. Here is a screenshot, showing the previous paint and it's busy calculating the new triangles. http://opensoft.homeip.net/~graemeg/generate_triangles.png I also attached the new code for you. Regards, - Graeme - ___ f

[fpc-pascal] BoolToStr() with correct locale output

2009-06-26 Thread Graeme Geldenhuys
= project1.pas === program project1; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes, Sysutils; var b: Boolean; begin b := True; writeln(BoolToStr(b, True)); b := False; writeln(BoolToStr(b, True)); end. ===

Re: [fpc-pascal] BoolToStr() with correct locale output

2009-06-26 Thread Graeme Geldenhuys
thing about why the are defined as arrays and what the other elements (if more than one) is used for. Regards, - Graeme - ___ fpGUI - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/

Re: [fpc-pascal] BoolToStr() with correct locale output

2009-06-26 Thread Graeme Geldenhuys
e If B then Result:='-1' else Result:='0'; end; == Regards, - Graeme - ___ fpGUI - a cross-platform GUI toolkit using Free Pascal http:/

Re: [fpc-pascal] BoolToStr() with correct locale output

2009-06-26 Thread Graeme Geldenhuys
Michael Van Canneyt wrote: > > StrToBool should use all elements ? In FPC 2.3.x (latest trunk) in also doesn't. Looks indentical to 2.2.5 Regards, - Graeme - ___ fpGUI - a cross-platform GUI toolkit using Free

Re: [fpc-pascal] BoolToStr() with correct locale output

2009-06-26 Thread Graeme Geldenhuys
rd; begin Temp:=upcase(S); Val(temp,D,code); Result:=true; If Code=0 then Value:=(D<>0.0) else If Temp='TRUE' then Value:=true else if Temp='FALSE' then Value:=false else Result:=false; end; == Regards, -

Re: [fpc-pascal] BoolToStr() with correct locale output

2009-06-26 Thread Graeme Geldenhuys
Vincent Snijders wrote: I did not mention StrToBool first, Michael did, and you seemed to ignore that. Sorry, that one slipped by me unnoticed Regards, - Graeme - fpGUI - a cross-platform Free Pascal GUI toolkit http

Re: [fpc-pascal] BoolToStr() with correct locale output

2009-06-26 Thread Graeme Geldenhuys
other locale was active. Regards, - Graeme - fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] BoolToStr() with correct locale output

2009-06-26 Thread Graeme Geldenhuys
at in the documentation. I'll double check on Monday what the Kylix 3 help says regarding BoolToStr and StrToBool and localization and when it should actually be used. Regards, - Graeme - fpGUI - a cross-platform Free Pascal GUI to

Re: [fpc-pascal] GRAPHICS HELP : PLEASE PLEASE????

2009-06-28 Thread Graeme Geldenhuys
Zachary Marlow wrote: Everyone I need some help can anyone help me and give some simple graphics code for reference. You need to be a lot more specific... What do you want to do? Regards, - Graeme - fpGUI - a cross-platform Free

[fpc-pascal] Development for Symbian OS (S60 5th edition)

2009-06-28 Thread Graeme Geldenhuys
Hi, Does FPC support the above OS? I purchased a while back a Nokia 5800 phone and would like to try and write some fun utilities for it. It's just unfair that the iPhone users get all the cool apps. :-) Regards, - Graeme - fpGUI - a

Re: [fpc-pascal] Development for Symbian OS (S60 5th edition)

2009-06-28 Thread Graeme Geldenhuys
Windows Mobile 2003. Unfortunately my PDA doesn't have an accelerometer, but at least it has a GPS. So that could still make for some fun apps. Regards, - Graeme - fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/

[fpc-pascal] SHA1 implementation

2009-06-28 Thread Graeme Geldenhuys
Hi, Does FPC contain a cross-platform SHA1 algorithm implementation? I used Lazarus IDE's "Search in files" feature across the whole FPC 2.2.5 and saw some references to the word sha1, but nothing that looks like the actual implementation. Re

Re: [fpc-pascal] Development for Symbian OS (S60 5th edition)

2009-06-28 Thread Graeme Geldenhuys
Florian Klaempfl wrote: Making a Symbian tool chain is unfortunatly a real pain. Thanks, I'll download the Symbian Java SDK and play around with that instead. Regards, - Graeme - fpGUI - a cross-platform Free Pascal GUI toolkit

Re: [fpc-pascal] Development for Symbian OS (S60 5th edition)

2009-06-28 Thread Graeme Geldenhuys
e on the iPhone. Pretty cool stuff. :-) Regards, - Graeme - fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] SHA1 implementation

2009-06-29 Thread Graeme Geldenhuys
in the FCL? It makes no difference to me, but I thought I would ask. Regards, - Graeme - ___ fpGUI - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___ fpc-pascal

Re: [fpc-pascal] Re: SHA1 implementation

2009-06-29 Thread Graeme Geldenhuys
passes all unit tests based on various documentation. Regards, - Graeme - ___ fpGUI - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___ fpc-pascal maillist - fpc-

Re: [fpc-pascal] resize windows in fpGui

2009-06-30 Thread Graeme Geldenhuys
ImageName := ''; TabOrder := 15; end; You can set the Anchors at design time and resize the design form to see what happens. For example, setting all four anchors, the component will grow and shrink as the form is resized. Regards, - Graeme - ___

Re: [fpc-pascal] CGI upload app

2009-07-01 Thread Graeme Geldenhuys
no matter how long it takes. ;-) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailma

Re: [fpc-pascal] Re: fpc-pascal Digest, Vol 60, Issue 47

2009-07-07 Thread Graeme Geldenhuys
Richard Jasmin wrote: If anyone knows how to do a line without assembler or BGI, as I'm using ... Please stop quoting 245+ lines of text and then your actual message is only 3 lines out of the 245!! Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free P

[fpc-pascal] Strange syntax in raising exceptions

2009-07-15 Thread Graeme Geldenhuys
= nil then raise EPostTestFailure.Create(ErrorMsg) at CallerAddr else raise EPostTestFailure.Create(ErrorMsg) at ErrorAddress; end; === Regards, - Graeme - fpGUI - a cross-platform Free Pas

Re: [fpc-pascal] Strange syntax in raising exceptions

2009-07-15 Thread Graeme Geldenhuys
many years, and never knew about the 'at' keyword for them. So we learn. :) PS: I can also confirm that the 'at ' is documented in the Kylix 3 Help and the FPC Reference Guide. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal ht

[fpc-pascal] DUnit2 ported to Free Pascal

2009-07-16 Thread Graeme Geldenhuys
ou can do the following, but I suggest you ask your network admin to poke a hole in the firewall (port 9418). The 'git' protocol is a LOT faster and efficient than HTTP. Anyway, there is the HTTP alternative. $ git clone http://github.com/graemeg/dunit2.git dunit2 Regards, - Graeme

Re: [fpc-pascal] Clipboard tutorial.

2009-07-17 Thread Graeme Geldenhuys
functions inside your own application. For example, the X11 (X-Window on unix type OSes) clipboard functions totally different to the Windows clipboard. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui

Re: [fpc-pascal] Clipboard tutorial.

2009-07-17 Thread Graeme Geldenhuys
- which your application will use. You can take a look at fpGUI Toolkit (url shown below) or MSEgui to see how it is done. Both these GUI toolkits support X11 and Windows clipboards. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net

Re: [fpc-pascal] Mailingliste

2009-07-17 Thread Graeme Geldenhuys
Sabine & Jens Kluschat wrote: Can You delete my Adress in Your List? You can unsubscribe by going to the following URL: http://lists.freepascal.org/mailman/listinfo/fpc-pascal Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

Re: [fpc-pascal] FP Vector graphics library

2009-07-17 Thread Graeme Geldenhuys
s style? Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] TField.DataType and ftBlob type

2009-07-27 Thread Graeme Geldenhuys
regarding TField.DataType when DataType = ftBlob? Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Lazarus

2009-07-28 Thread Graeme Geldenhuys
list being a good place to ask for alternatives to Lazarus. Do you? PS: So how to I know if my message went through, which proposes two alternative projects for Brian to try out? Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/

Re: [fpc-pascal] Lazarus

2009-07-28 Thread Graeme Geldenhuys
sent another reply before I received the bounced email. Sorry about that. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___ fpc-pascal maillist - fpc-pascal@lists.freepasca

Re: [fpc-pascal] Is there a way to avoid class casting?

2009-07-28 Thread Graeme Geldenhuys
[i:integer]: TMyLinkeddObjectClass read GetItems write SetItems; functionAdd(const AObject: TMyLinkeddObjectClass): integer; reintroduce; published end; Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip

Re: [fpc-pascal] Is there a way to avoid class casting?

2009-07-28 Thread Graeme Geldenhuys
s are in which units. Regards, - Graeme - fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.

[fpc-pascal] linking errors under OS X

2009-07-28 Thread Graeme Geldenhuys
d also need the libxft-dev package. Where do you get these for OS X? As far as I know (which isn't much regarding OS X), there is no package manager or repositories for OS X like there is for Linux. Anybody know where I can get those *-dev packages from? Regards, - Graeme - -- fpG

[fpc-pascal] SqlDB connection speed to Firebird vs PostgreSQL

2009-08-07 Thread Graeme Geldenhuys
exact). Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] SqlDB connection speed to Firebird vs PostgreSQL

2009-08-07 Thread Graeme Geldenhuys
type for parameter "OID". 57) textrunner.SQL Database tests.TTestNextIDGenerator.TestGetNextID_1: EDatabaseError at $0813D89C : Unknown fieldtype for parameter "NEXT_GENERAL_ID". == Regards, - Graeme - -- fpGUI Toolkit - a cr

Re: [fpc-pascal] SqlDB connection speed to Firebird vs PostgreSQL

2009-08-07 Thread Graeme Geldenhuys
Graeme Geldenhuys wrote: TestProject | + Non-db tests | + Suite1 | + Suite2 | + DB tests + Suite10 + Suite11 "DB test" is a test decorator that sets up the DB connection. Suite10 and Suite11 both run by using the same connection which was setup be

Re: [fpc-pascal] SqlDB connection speed to Firebird vs PostgreSQL

2009-08-08 Thread Graeme Geldenhuys
ut I don't think I'm using in our test suite - which I used to do the speed comparison. Thanks for mentioning it, I'll take another stab at it, making sure I use the tiOPF connection pool. Regards, - Graeme - fpGUI - a cross-platfor

Re: [fpc-pascal] how to simulate abstract properties

2009-08-17 Thread Graeme Geldenhuys
= Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] how to simulate abstract properties

2009-08-17 Thread Graeme Geldenhuys
piler gives. Hints and Notes at a lesser degree. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepasca

Re: [fpc-pascal] What's the difference between fpc224 and fpc231?

2009-08-21 Thread Graeme Geldenhuys
2009/8/21 yu ping : > What's the difference > between fpc224 and fpc231? A simpler answer is that 2.2.4 is the stable branch. And fpc 2.3.1 is the unstable development branch. Regards, - Graeme - ___ fpGUI - a cross-platform Free

Re: [fpc-pascal] Status of fpc on Nokia n810

2009-08-22 Thread Graeme Geldenhuys
Luiz Americo Pereira Camara wrote: > > Is someone using fpc to develop in such devices? If it runs the Symbian S60 OS, then the answer is no. I have the Nokia 5800XM and also wanted to write software for it using FPC, but I can't. Regards, - Graeme - -- fpGUI Toolkit - a cro

[fpc-pascal] Porting Delphi ASM code to FPC

2009-08-24 Thread Graeme Geldenhuys
ddr else raise ETestFailure.Create(ErrorMsg) at ErrorAddress; end; Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://

Re: [fpc-pascal] Porting Delphi ASM code to FPC

2009-08-24 Thread Graeme Geldenhuys
Graeme Geldenhuys wrote: > > function CallerAddr: Pointer; assembler; > const > CallerIP = $4; > asm >mov eax, ebp >call IsBadPointer >test eax,eax >jne @@Error > >mov eax, [ebp].CallerIP >sub eax, 5 // 5 bytes

Re: [fpc-pascal] Porting Delphi ASM code to FPC

2009-08-24 Thread Graeme Geldenhuys
th 64bit Ubuntu Linux. Do I fall in the ELSE part or not? {$IFDEF INTERNAL_BACKTRACE} // nothing {$ELSE} function get_frame:pointer;{$ifdef SYSTEMINLINE}inline;{$endif} {$ENDIF} Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free

Re: [fpc-pascal] Porting Delphi ASM code to FPC

2009-08-24 Thread Graeme Geldenhuys
nd I don't understand how get_caller_addr(get_frame); is able to compile without errors. I did a 'find in files' for 'function get_frame' and found 8 implementations and not one match my compiler (IFDEF's). Regards, - Graeme - -- fpGUI Toolki

[fpc-pascal] 32bit & 64bit FPC 2.4 install recommendations

2009-08-25 Thread Graeme Geldenhuys
ter figure out how to add v2.5.x to the mix (if that makes things easier). Any help is much appreciated. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___ fpc-pascal maill

[fpc-pascal] *.lpi files in FPC 'compiler' directory

2009-08-25 Thread Graeme Geldenhuys
Hi, What is the use of the /compiler/*.lpi files? Is that another way of building a new compiler version using Lazarus IDE (instead of 'make' from the command line? Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip

Re: [fpc-pascal] Parsing XML from MS SQL webservice using fpc

2009-08-26 Thread Graeme Geldenhuys
Nataraj S Narayan wrote: > > Can i use "fcl-xml" package to send the query and then parse the xml output? If the return result is xml, I can't see why not. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://open

Re: [fpc-pascal] Parsing XML from MS SQL webservice using fpc

2009-08-26 Thread Graeme Geldenhuys
a look at. http://wiki.lazarus.freepascal.org/Web_Service_Toolkit http://wiki.lazarus.freepascal.org/XML_Tutorial http://wiki.lazarus.freepascal.org/Networking Hope that helps. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.

[fpc-pascal] Why is cthreads unit not included by default

2009-08-27 Thread Graeme Geldenhuys
r0m9.973s sys 0m0.000s So on my system having the cthreads unit included by default will make no difference at all. This is the point I'm trying to make. Can anybody explain why we have to explicitly enable threading support under unix-type OSes, but comes standard with Windows? Regar

Re: [fpc-pascal] Why is cthreads unit not included by default

2009-08-27 Thread Graeme Geldenhuys
e a lot of sense to have the define. But surely that c library is available on all unix-type systems? To why is that dependency a bad thing? Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___

Re: [fpc-pascal] Why is cthreads unit not included by default

2009-08-27 Thread Graeme Geldenhuys
ions. I understand all this, but isn't libc available on all unix-type OSes. If so, then I don't understand why it (threading) must be optional in FPC based applications. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

Re: [fpc-pascal] Why is cthreads unit not included by default

2009-08-27 Thread Graeme Geldenhuys
y use the C Library or threads. Would such a console application not run on an 8 year old Linux distro? Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___ fpc-

Re: [fpc-pascal] Why is cthreads unit not included by default

2009-08-27 Thread Graeme Geldenhuys
009-08-27 14:11 bench1.no-cthreads Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.or

Re: [fpc-pascal] fpGui git not working?

2009-08-27 Thread Graeme Geldenhuys
2009/8/27 Henry Vermaak : > > I see the website still reports the old url. Thanks Henry, I'm updating the website now. Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homei

Re: [fpc-pascal] fpGui git not working?

2009-08-27 Thread Graeme Geldenhuys
ne your Git repository. Simply edit the /.git/config file. Then change the git URL to the following address git://fpgui.git.sourceforge.net/gitroot/fpgui/fpgui Notice the extra "/fpgui" at the end. After this you should be able to do a 'git pull&#x

Re: [fpc-pascal] Why is cthreads unit not included by default

2009-08-27 Thread Graeme Geldenhuys
cthreads unit: 21 seconds ----- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ ___ fpc-pascal maillist - fpc-pascal@lists.f

[fpc-pascal] Unable to generate HTML reference documentation

2009-08-28 Thread Graeme Geldenhuys
require 'latex' which I do not have installed. Is there an option to ONLY generate the HTML class reference documentation? I do not what to generate the HTML versions or Programmers Guide, Language Guide etc... Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using F

[fpc-pascal] TMultiReadExclusiveWriteSynchronizer is wrongly implemented

2009-08-28 Thread Graeme Geldenhuys
TMultiReadExclusiveWriteSynchronizer implementation (don't worry, not based on Delphi implementation) that I can donate to FPC. I just need confirmation that the current implementation in FPC is incorrect though. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

Re: [fpc-pascal] Unable to generate HTML reference documentation

2009-08-28 Thread Graeme Geldenhuys
he readme file. ;-) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ README.DOCS.patch Description: application/mbox ___ fpc-pascal maillist - fpc-pascal@lists.freep

Re: [fpc-pascal] TMultiReadExclusiveWriteSynchronizer is wrongly implemented

2009-08-31 Thread Graeme Geldenhuys
Vinzent Höfler wrote: > Graeme Geldenhuys : > >> I have a corrected TMultiReadExclusiveWriteSynchronizer >> implementation (don't worry, not based on Delphi implementation) >> that I can donate to FPC. > > I hope it isn't based on the Delphi one. Last

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