Re: [fpc-pascal] Trunk seems to break again!?!?

2013-05-27 Thread Joost van der Sluis
On Mon, 2013-05-27 at 14:53 +0200, Jonas Maebe wrote: > On 27 May 2013, at 14:44, Vincent Snijders wrote: > > > Now it just fails: > > Start compiling package h2pas for target powerpc-darwin. > > Executing command "/sw/bin/pyacc h2pas/h2pas.y h2pas/h2pas.pas" > > The installer encountered the foll

Re: [fpc-pascal] Trunk seems to break again!?!?

2013-05-27 Thread Joost van der Sluis
On Mon, 2013-05-27 at 14:44 +0200, Reinier Olislagers wrote: > Hope this still can be helpful: at r24623 tried again with clean fpc > dir, same result: > 1. This happens at make install: > make "FPC=/home/pascaldev/trunk/fpcbootstrap/x86_64-linux-ppcx64" > "--directory=/home/pascaldev/trunk/fpc" >

Re: [fpc-pascal] Trunk seems to break again!?!?

2013-05-28 Thread Joost van der Sluis
On Tue, 2013-05-28 at 08:08 +0200, Reinier Olislagers wrote: > On 27-5-2013 21:24, Joost van der Sluis wrote: > > On Mon, 2013-05-27 at 14:44 +0200, Reinier Olislagers wrote: > > Can you try with r24625? > > Thanks, that seems to fix that problem for Windows. > &

RE: [fpc-pascal] Trunk seems to break again!?!?

2013-05-29 Thread Joost van der Sluis
> > It's perfectly normal that both files are not generated. Why do you > > expect those files there? > Because they were there before ;) (running make distclean with options > 2x, make all, make install). > I've worked around the fpdoc thing, haven't looked at Linux yet. I'll do > a make install t

Re: [fpc-pascal] Embedding a Video Player into a Linux/FP/GTK2 Application ?

2008-06-23 Thread Joost van der Sluis
Op maandag 23-06-2008 om 09:42 uur [tijdzone +0200], schreef Michael Van Canneyt: > > On Sun, 22 Jun 2008, Andrew Haines wrote: > > > Henry Vermaak wrote: > > > 2008/6/21 Graeme Geldenhuys <[EMAIL PROTECTED]>: > > >> 2008/6/20 Henry Vermaak <[EMAIL PROTECTED]>: > > >>> mplayer has a -wid option t

Re: [fpc-pascal] memory management with open arrays and classes

2008-06-23 Thread Joost van der Sluis
Op zaterdag 21-06-2008 om 19:23 uur [tijdzone -0700], schreef David Emerson: > I'm pretty new to both "open arrays" and OOP, and am feeling a bit > concerned about memory management and leaks in my code. I will jump > straight into examples and questions: I think you can find all this in the do

Re: [fpc-pascal] freepascal + mysql5 + osx

2008-06-23 Thread Joost van der Sluis
Op zondag 22-06-2008 om 20:41 uur [tijdzone +0200], schreef Jonas Maebe: > On 22 Jun 2008, at 20:31, Florian Klaempfl wrote: > > > Jonas Maebe schrieb: > >> Add the following to your program: > >> {$linklib mysql50} > >> The reason that this is not necessary on other platforms, is that > >> they

Re: [fpc-pascal] freepascal + mysql5 + osx

2008-06-23 Thread Joost van der Sluis
Op maandag 23-06-2008 om 11:33 uur [tijdzone +0200], schreef Jonas Maebe: > On 23 Jun 2008, at 11:28, Joost van der Sluis wrote: > > > In the case of Firebird there are two possible names of the library, > > and > > both are tried. Can I safely add the {$linklib ...} s

Re: [fpc-pascal] SysLocale.PriLangID vs Mac OS X localization

2008-06-23 Thread Joost van der Sluis
Op maandag 23-06-2008 om 18:00 uur [tijdzone +0200], schreef Michael Van Canneyt: > > So what do Mac users do with all these web-applications and "web 2.0" > with their other GUI rules ? The same as windows and linux users... > Start crying ? Indeed. :) Joost.

Re: [fpc-pascal] {$R file} support on non-Windows targets

2008-07-13 Thread Joost van der Sluis
Op woensdag 09-07-2008 om 23:23 uur [tijdzone +0200], schreef Graeme Geldenhuys: > My day is just getting better, Thanks Craig! :-) I'll try and > download the beta now. I'm a Linux junkie, but there are 3 Windows > products I can't do without. Beyond Compare 2, Total Commander and > PINS. Hopef

Re: [fpc-pascal] Compiler option to check return value ignorance

2008-08-13 Thread Joost van der Sluis
Op woensdag 13-08-2008 om 01:27 uur [tijdzone -0700], schreef leledumbo: > > Sometimes we forgot whether a function argument is passed by reference > or by > value. What if the result is actually important? For instance, > consider the > following (WARNING: True story): That's not so strange sto

Re: [fpc-pascal] Compiler option to check return value ignorance

2008-08-13 Thread Joost van der Sluis
Op woensdag 13-08-2008 om 02:52 uur [tijdzone -0700], schreef leledumbo: > > Joost van der Sluis wrote: > > > > And there's no way the compiler can detect this. > > > I don't think so. The compiler understand that a procedure doesn't return a > value

Re: [fpc-pascal] Compiling FPC 2.2.2 with 2.3.1

2008-08-20 Thread Joost van der Sluis
Op woensdag 20-08-2008 om 03:44 uur [tijdzone -0700], schreef leledumbo: > Is it possible? I usually use 2.3.1, but sometimes I need the stable version, > too. I'd like to build everything from source as I'm doing a custom build > (at least, not just 'make all'). Try it, and you'll see that it won

Re: [fpc-pascal] Widestrings manager ?

2008-08-24 Thread Joost van der Sluis
Op zondag 24-08-2008 om 03:34 uur [tijdzone -0300], schreef Steve Howe: > Hello Graeme, > > On 8/23/08, Steve Howe <[EMAIL PROTECTED]> wrote: > > > "This binary has no widestrings support compiled in. > > > Recompile the application with a widestrings-manager in the program uses > > > clause." >

Re: [fpc-pascal] How to customize a TDBMemo

2008-09-08 Thread Joost van der Sluis
Op zaterdag 06-09-2008 om 20:35 uur [tijdzone -0300], schreef Felipe Monteiro de Carvalho: > Hello, > > I am using a TDBMemo with a TSdfDataset, but this database uses > newlines to separate the records, so it's impossible to store data > with multiple lines. > > So I thougth that I could do a tr

Re: [fpc-pascal] "Invalid field size" when using UIB with fpc 2.3.1

2008-09-08 Thread Joost van der Sluis
Op maandag 08-09-2008 om 16:13 uur [tijdzone +0200], schreef Lukas Gradl: > Just had to upgrade to fpc 2.3.1 for some reason. > But using fpc 2.3.1 UIB produces an "Invalid field size" error when > trying to open a UIBDataset. It's a bug in UIB. But it's a bug that most TDataset-descendents suffe

Re: [fpc-pascal] Bootstrapping FPC for x86_64

2008-11-24 Thread Joost van der Sluis
Op maandag 24-11-2008 om 12:04 uur [tijdzone +0200], schreef Graeme Geldenhuys: > > Questions: > > 1) I see it's generating a i386 compiler and not a x86_64 compiler??? > Maybe that's because I copied my 32bit FPC 2.2.3 directory to the > 64bit server? No, that's because you used a 32-bit sta

Re: [fpc-pascal] How to build 2.2.2-crosscompiler for arm-linux ?

2008-11-30 Thread Joost van der Sluis
Op zaterdag 29-11-2008 om 19:48 uur [tijdzone +0100], schreef Koenraad Lelong: > Hello, > In the past I built numerous fpc-crosscompilers for arm-linux but now I > can't anymore. > What I did : > Downloaded and extracted fpcbuild-2.2.2.tar.gz > make CPU_TARGET=arm OS_TARGET=linux NOGDB=1 NODOCS=1 c

Re: [fpc-pascal] regex unit doesn't find matches???

2008-12-01 Thread Joost van der Sluis
Op maandag 01-12-2008 om 13:38 uur [tijdzone +0200], schreef Graeme Geldenhuys: > Hi, > > I'm using the following regular expression: 'foob.*r' > Calling MatchString() against each of the items in the stringlist, I > expected it to match 3 items. Instead it only matches the first item > and fail

Re: [fpc-pascal] GTK Pascal and Gnome applets

2008-12-07 Thread Joost van der Sluis
Op zaterdag 06-12-2008 om 01:08 uur [tijdzone -0500], schreef Andres Linares: > Is it possible to write Gnome Applets using GTK on Pascal? Do somebody > know about this? Yes, it's possible. I've worked on it a few weeks ago and converted (parts) of the necessary library-bindings. If you're interes

Re: [fpc-pascal] FPC 2.2.3

2008-12-09 Thread Joost van der Sluis
Op dinsdag 09-12-2008 om 16:32 uur [tijdzone +1030], schreef Eric March: > Hi > I am running Ubuntu kernel 2.6 64bit. > and FPC 2.2 and getting errors on MYSQL opens. > Lazarus people say I should install FPC 2.2.3 > I tried to link into the Australian mirror and download > a .deb package but get a

Re: [fpc-pascal] How Much of the FP/LCL is there in Indy 9/10 of Lazarus?

2008-12-12 Thread Joost van der Sluis
Op donderdag 11-12-2008 om 16:33 uur [tijdzone -0600], schreef Prince Riley: > Has anyone used or attempted to use Indy with FPC... and if so how did > you incorporate the Indy components. See google. Joost ___ fpc-pascal maillist - fpc-pascal@lists

Re: [fpc-pascal] FreePascal/Lazarus plug-in's for Delphi.

2008-12-19 Thread Joost van der Sluis
Op donderdag 18-12-2008 om 18:47 uur [tijdzone +0100], schreef Skybuck Flying: > - Original Message - > From: "Florian Klaempfl" > To: "FPC-Pascal users discussions" > Sent: Thursday, December 18, 2008 12:10 PM > Subject: Re: [fpc-pascal] FreePascal/Lazarus plug-in's for Delphi. > > >

Re: [fpc-pascal] Debugger support for FP (issues with libgdb.a)

2008-12-22 Thread Joost van der Sluis
Op zondag 21-12-2008 om 17:29 uur [tijdzone +], schreef Andrea: > I've tried to use the debugger in FP 2.2.2 and I got this error > "No debugger support available" I see below that you used the Fedora/RHEL fpc-rpm's? > The I read online and found that I need to get libgdb.a from a build of

Re: [fpc-pascal] TListBox bug in LCL of Lazarus?

2008-12-22 Thread Joost van der Sluis
Op maandag 22-12-2008 om 10:08 uur [tijdzone +0100], schreef Jürgen Hestermann: > > 99% of my problems with this issue would have been avoided if not the > whole string is dropped in case that a string is not conform to > UFT-8. That doesn't make any sense. If it's such an error why not > raise >

Re: [fpc-pascal] Debugger support for FP (issues with libgdb.a)

2008-12-23 Thread Joost van der Sluis
Op maandag 22-12-2008 om 23:17 uur [tijdzone +], schreef Andrea: > Joost van der Sluis wrote: > > Op zondag 21-12-2008 om 17:29 uur [tijdzone +], schreef Andrea: > > > > You tried to re-build the rpm, there's no documentation about that. > > Maybe it

Re: [fpc-pascal] Dynlibs.LoadLibrary on 64bit Debian (Ubuntu)

2008-12-27 Thread Joost van der Sluis
Op woensdag 24-12-2008 om 13:42 uur [tijdzone -0600], schreef Andrew Brunner: > I've been struggling with an issue of > Dynlibs.LoadLibrary(completepath/something.so) always returning zero > for libraries in subfolders that are traced back to samba shares. This sounds as if you have SE linux enabl

Re: [fpc-pascal] DateTimeToUnix bug?

2008-12-31 Thread Joost van der Sluis
Op dinsdag 30-12-2008 om 21:44 uur [tijdzone -0200], schreef John Coppens: > On Tue, 30 Dec 2008 09:25:29 -0700 > "Seth Grover" wrote: > > > Is this broken or am I missing something? > > I suspect the problem is in this function: > > Function SecondsBetween(const ANow, AThen: TDateTime): Int64;

Re: [fpc-pascal] Error: Assembler as not found, switching to external assembling

2008-12-31 Thread Joost van der Sluis
Op woensdag 31-12-2008 om 09:11 uur [tijdzone -0500], schreef César Espinoza: > Free Pascal Compiler version 2.2.2 [2008/08/03] for i386 > Copyright (c) 1993-2008 by Florian Klaempfl > Target OS: Darwin for i386 > Compiling program1.pas > Assembling first > Error: Assembler as not found, switching

Re: [fpc-pascal] property of an array

2009-01-04 Thread Joost van der Sluis
Op zaterdag 03-01-2009 om 19:04 uur [tijdzone -0500], schreef Jeremy Cowgar: > myObj.ColumnNames := [ 'Id', 'Name', 'Age' ]; > Error: Ordinal expression expected A list of values between square brackets are a set, not an array. You'll have to do: AnArray[0] := 'Id'; anArray[1] := 'Na

Re: [fpc-pascal] Debugger support for FP (issues with libgdb.a)

2009-01-04 Thread Joost van der Sluis
Op zondag 04-01-2009 om 15:51 uur [tijdzone +], schreef Andrea: > Joost van der Sluis wrote: > > Op maandag 22-12-2008 om 23:17 uur [tijdzone +], schreef Andrea: > >> Joost van der Sluis wrote: > >>> Op zondag 21-12-2008 om 17:29 uur [tijdzone +], schreef

Re: [fpc-pascal] TProcess.CommandLine > 255 fails

2009-01-04 Thread Joost van der Sluis
Op zondag 04-01-2009 om 12:31 uur [tijdzone +0100], schreef T.Guilleminot: > procedure Run_Command_Wait(TheCommand : string); cdecl; This 'string' is of the type shortstring, and thus will truncate your string to 255 characters. Change it in ansistring or add {$H+} to the beginning of your progra

Re: [fpc-pascal] SQL show tables

2009-01-13 Thread Joost van der Sluis
Op maandag 12-01-2009 om 13:30 uur [tijdzone -0500], schreef David B Copeland: > "Query: Cannot open a non-select statement" 'show tables' is not a valid sql-statement. It is a MySQL-hack. The TODBCConnection can not see that it is connected to a MySQL server and thus doesn't recognise this state

Re: [fpc-pascal] n-tier development with Free Pascal

2009-01-24 Thread Joost van der Sluis
Op zaterdag 24-01-2009 om 12:47 uur [tijdzone +0100], schreef Michael Van Canneyt: > > On Sat, 24 Jan 2009, Graeme Geldenhuys wrote: > > > I haven't dabbled into the DB components in FPC and Lazarus much. Does > > Free Pascal have a TClientDataset? Has anybody done any 3-tier > > development wit

Re: [fpc-pascal] Decimal Precision Issue with Firebird

2009-01-26 Thread Joost van der Sluis
Op maandag 26-01-2009 om 09:13 uur [tijdzone +0100], schreef Michael Van Canneyt: > > On Sun, 25 Jan 2009, Andrew Hall wrote: > > > We are having problems reading decimal/numeric column types with TSQLQuery. > > It appears if the precision of a decimal/numeric is more than 4 (for > > instance, >

Re: [fpc-pascal] SqlDB and MySQL connection string?

2009-01-26 Thread Joost van der Sluis
Op maandag 26-01-2009 om 10:54 uur [tijdzone +0200], schreef Graeme Geldenhuys: > Hi, > > When connecting to a Firebird database the connection string is as follows: > >":" > > Is the same format used for MySQL databases? You could, but I woudn't do it. > What about any other databases tha

[fpc-pascal] Freepascal 2.2.4rc1 released

2009-01-26 Thread Joost van der Sluis
We have placed the first release-candidate of the Free Pascal Compiler version 2.2.4 on our ftp-servers. You can help improve the upcoming 2.2.4 release by downloading and testing this release. If you want you can report what you have done here: http://wiki.freepascal.org/Testers_2.2.4 With this

Re: [fpc-pascal] absolute beginner

2009-02-01 Thread Joost van der Sluis
Op zaterdag 31-01-2009 om 21:43 uur [tijdzone +0300], schreef dmitry boyarintsev: > > Or (still better) which chances are that the code of TProfGrid would > > compile with FPC ? > chances are very high, since FPC supports delphi dialect > {$ifdef fpc}{$mode delphi}{$h+}{$endif} No, chances are ver

Re: [fpc-pascal] Creating FPC enabled websites

2009-03-03 Thread Joost van der Sluis
Op maandag 02-03-2009 om 16:20 uur [tijdzone -0500], schreef Francisco Reyes: > Marco van de Voort writes: > > > Sorry, old name, nowadays it is fcl-web. See packages/ > > Don't see it at > http://www.freepascal.org/packages > > Is there where I should look? It's part of the fcl, in Lazarus you

Re: [fpc-pascal] Creating FPC enabled websites

2009-03-03 Thread Joost van der Sluis
Op dinsdag 03-03-2009 om 12:30 uur [tijdzone -0600], schreef Prince Riley: > Primarily the reason why is -- especially for DB web applications -- > is efficiency, maintainability, and scalability. The recent major > efforts by Mozilla, Google, and others to improve the performance of > browser Jav

Re: [fpc-pascal] Creating FPC enabled websites

2009-03-04 Thread Joost van der Sluis
Op dinsdag 03-03-2009 om 16:17 uur [tijdzone -0600], schreef Prince Riley: > Reading the responses on this discussion thread, it appears the > 'religious war' you mentioned in your prior post was unavoidable. Tha wasn't my comment. But now I realise that it was me that started this... What have I

Re: [fpc-pascal] Creating FPC enabled websites

2009-03-04 Thread Joost van der Sluis
Op dinsdag 03-03-2009 om 14:50 uur [tijdzone -0600], schreef Andrew Brunner: > On Tue, Mar 3, 2009 at 2:44 PM, Joost van der Sluis wrote: > > > > If users use the application constantly, don't use a web-application. > > > > So the things explained in this docum

Re: [fpc-pascal] SQLDB/Firebird unable to open table with more than 128 fields

2009-03-21 Thread Joost van der Sluis
Op vrijdag 20-03-2009 om 22:38 uur [tijdzone +0800], schreef Funky Beast: > I've found a bug in sqldb/firebird. > Its reported here, with sample project to reproduce: > http://bugs.freepascal.org/view.php?id=13340 You are using one TSQLQuery object for all sorts of actions. Try to create a new TS

Re: [fpc-pascal] Re: SQLDB/Firebird unable to open table with more than 128 fields

2009-03-22 Thread Joost van der Sluis
Op zondag 22-03-2009 om 17:37 uur [tijdzone +0800], schreef Funky Beast: > I found the culprit. > > In TIBConnection.PrepareStatement's variable section, x was declared > as a shortint > which would cause problem when its used for allocating memmory for the > SQLVAR elements, > when there are more

Re: [fpc-pascal] Re: SQLDB/Firebird unable to open table with more than 128 fields

2009-03-22 Thread Joost van der Sluis
Op zondag 22-03-2009 om 18:40 uur [tijdzone +0800], schreef Funky Beast: > Joost van der Sluis wrote: > > Op zondag 22-03-2009 om 17:37 uur [tijdzone +0800], schreef Funky Beast: > >> I found the culprit. > >> > >> In TIBConnection.PrepareStatement's v

Re: [fpc-pascal] FPC : MacMode more info

2009-04-10 Thread Joost van der Sluis
Op donderdag 09-04-2009 om 20:33 uur [tijdzone -0400], schreef Pierre Paré: > I know Pascal well enough but have no prior knowledge on the "Mac > Dialect" Then don't use it. The compiler-modes are there to make it easier for people to switch from the dialect they are used to. So only when you a

[fpc-pascal] Free Pascal version 2.2.4 released

2009-04-12 Thread Joost van der Sluis
Hello, The Free Pascal team is pleased to announce that version 2.2.4 has been released and is available for download for all major platforms: (in alphabetical order) Dos, FreeBSD, Linux, Mac OS X, OS/2, Windows, Windows CE for different CPU types and both in 32 and 64 bit versions where appli

Re: [fpc-pascal] How to use fpcmake

2009-04-15 Thread Joost van der Sluis
Op dinsdag 14-04-2009 om 08:41 uur [tijdzone +0200], schreef Graeme Geldenhuys: > I have not read the documentation of fpmake for some time, but when I > did, it was not clear as to how to compile and use it. I'll download a > new copy of the documentation to see if things are improved - and > con

Re: [fpc-pascal] Apache Modules without LResources

2009-04-28 Thread Joost van der Sluis
Op dinsdag 28-04-2009 om 02:58 uur [tijdzone +0200], schreef Giovanni Premuda: > Hello, > I'm in the process of converting a relatively complex LMS from Delphi to > fpc. > In Delphi I was using a descendant of TCustomWebDispatcher instead of a > TWebModule in order to avoid depending on DFM resou

Re: [fpc-pascal] Apache Modules without LResources

2009-04-29 Thread Joost van der Sluis
Op dinsdag 28-04-2009 om 23:21 uur [tijdzone +0200], schreef Giovanni Premuda: > Joost van der Sluis wrote: > > Op dinsdag 28-04-2009 om 02:58 uur [tijdzone +0200], schreef Giovanni > > Premuda: > > > >> Is it possible to use fclweb without linking LResources and

Re: [fpc-pascal] -Opentium3 Error

2009-05-09 Thread Joost van der Sluis
Op zaterdag 09-05-2009 om 20:44 uur [tijdzone +0800], schreef Lou James: > Then,open the shortcut and type in my code.Then, when I try to > compile it,it may popup a error says something about "-opentium3". And > stop compiling.The only way to correct this error seems to be that I > must open the

Re: [fpc-pascal] WinCe 6.1

2009-05-12 Thread Joost van der Sluis
Op dinsdag 12-05-2009 om 11:36 uur [tijdzone +0200], schreef Henrik Genssen: > building apps for WinCe 6.1 results in a warning on install, that it is build > for an older version... > What does it mean? Can you first explain what yout first sentence means? Is it a cryptographic puzzle? Always s

RE: Re: [fpc-pascal] WinCe 6.1

2009-05-12 Thread Joost van der Sluis
Op dinsdag 12-05-2009 om 12:37 uur [tijdzone +0200], schreef Henrik Genssen: > >> building apps for WinCe 6.1 results in a warning on install, that it is > >> build for an older version... > >> What does it mean? > > >What is the exact warning? When does it happen? How do you 'install' > >your ap

Re: [fpc-pascal] Daemon question

2009-05-14 Thread Joost van der Sluis
Op woensdag 13-05-2009 om 22:28 uur [tijdzone +0200], schreef Koenraad Lelong: > Hi, > I wrote a daemon monitoring my solar powerstation. It works fine but I > want to extend it. > At the moment I log everything to file, and I put some data into rrdtool. > I would like to be able to ask the daemon

Re: [fpc-pascal] IE 200307043

2009-05-24 Thread Joost van der Sluis
Op zondag 24-05-2009 om 23:14 uur [tijdzone +0200], schreef Aleksa Todorovic: > Hi, all! > > I've just tried to compile some of my old Pascal code, and got IE > 200307043. I've tried both 2.2.4 and svn trunk versions. Simple > program to generate it: > > program test; > var > p: Pointer; > begi

Re: [fpc-pascal] Memory leaks in FPC 2.3.1 SVN 13188

2009-05-26 Thread Joost van der Sluis
Op dinsdag 26-05-2009 om 10:16 uur [tijdzone +1000], schreef Bruce Tulloch: > Confirmed fixed in r13195 as tested with the application in which this > was originally discovered, thanks Jonas. In that case, can you close the bug report? So we know that we don't have to look at this issue anymore?

Re: [fpc-pascal] FastMM4 revised.

2009-06-17 Thread Joost van der Sluis
Op woensdag 17-06-2009 om 13:46 uur [tijdzone +0200], schreef Torsten Bonde Christiansen: > Hi. > > I found in the fpc-pascal archive a short thread on someone converting > FastMM4 to FPC. > > Does anyone know if this succeeded or if the curret (4.92) version of > FastMM4 can be used with fpc?

Re: [fpc-pascal] Name for our license

2009-06-22 Thread Joost van der Sluis
Op zaterdag 20-06-2009 om 16:25 uur [tijdzone +0200], schreef Jonas Maebe: > On 20 Jun 2009, at 16:15, Felipe Monteiro de Carvalho wrote: > > > Modified LGPL just isn't good enought, because it's not unique enough. > > Modified in which way? By who? > > > > I would like to have a name for our lice

Re: [fpc-pascal] How to use FCGI?

2009-07-10 Thread Joost van der Sluis
Op woensdag 08-07-2009 om 16:09 uur [tijdzone +0200], schreef Artur Stuczyński: > Can anybody enlighten me on how to use FCGI from fcl-web package? Is it > working code at all? Someone here said it didn't work on windows, but I think that's fixed in the mean time. Linux should work, further I did

Re: [fpc-pascal] How to use FCGI?

2009-07-15 Thread Joost van der Sluis
Op maandag 13-07-2009 om 11:07 uur [tijdzone +0200], schreef Artur Stuczyński: > OK, thanks, got it working. > > Please correct me, if I am wrong, but this approach makes developing and > debugging harder, because it is httpd which spawns the application, so to > effectively kill the app and rep

Re: [fpc-pascal] map file

2009-09-24 Thread Joost van der Sluis
On Thu, 2009-09-24 at 11:14 +0300, Alexey Voytsehovich wrote: > Do not prompt way to generate map file with line numbers in source code? By > analogy with Delphi. Since not get to the addresses in the Call Stack to get > a line in the source code. When you compile with debuginfo on, (-gl) then

Re: [fpc-pascal] options for better performance & declaration of system procedures

2009-09-24 Thread Joost van der Sluis
On Thu, 2009-09-24 at 16:31 +0800, 章宏九 wrote: > Hi. > > I just tried to unfairly compare fpc-compiled binary and gcc-compiled > binary under my Gentoo box. FPC is incredible. `ps` data shows the fpc > one costs nearly no memory? But I still notice it is a little slow. It > usually costs 0.5~1.0 ti

Re: [fpc-pascal] Re: Stack checking in dynamic libraries

2009-11-09 Thread Joost van der Sluis
On Sun, 2009-11-08 at 19:54 +0100, Jonas Maebe wrote: > cobines wrote on Sun, 08 Nov 2009: > > > I have to conclude that the values in rtl/inc/systemh.inc: StackTop, > > StackBottom, StackLength are not behaving as thread-specific variables > > in the library, even though they are declared using T

Re: [fpc-pascal] Stopping daemon in linux

2009-11-09 Thread Joost van der Sluis
On Mon, 2009-11-09 at 13:02 +0200, Wimpie Nortje wrote: > > Michael Van Canneyt wrote: > > It should stop the daemons properly. This is the code that gets executed: > > > > Procedure DoShutDown(Sig : Longint; Info : PSigInfo; Context : > > PSigContext); > > cdecl; > > > > begin > > Application.

Re: [fpc-pascal] Stopping daemon in linux

2009-11-09 Thread Joost van der Sluis
On Mon, 2009-11-09 at 14:14 +0100, Michael Van Canneyt wrote: > > On Mon, 9 Nov 2009, Joost van der Sluis wrote: > > > > I don't know how I did it exactly, but I ahve this working properly in a > > production system. (Even created my own SysV init script for it. It &

Re: [fpc-pascal] Troubles with CGI and POST content

2009-11-16 Thread Joost van der Sluis
On Sun, 2009-11-15 at 12:45 +0100, Sven Barth wrote: > I run the attached CGI test application on my webspace which is a x86_64 > Linux. When I enter text which contains a certain amount of > characters/bytes into the textarea and submit that form, a part of the > content seems to be truncated (

Re: [fpc-pascal] Re: [fpc-devel] Installing "fpc-2.4.0-0.rc1.src.rpm" to OpenSuse 11.2

2009-11-17 Thread Joost van der Sluis
On Tue, 2009-11-17 at 06:48 +0700, Paul Ishenin wrote: > Juha Manninen wrote: > > I am planning to use this svn version for Lazarus experiments. > > Is it a good idea? > > > not bad. use also lazarus trunk for experiments. > > I selected the compiler and executable there but Lazarus complained a

Re: [fpc-pascal] Troubles with CGI and POST content

2009-11-23 Thread Joost van der Sluis
On Wed, 2009-11-18 at 20:50 +0100, Sven Barth wrote: > Hi again! > > Sorry, I forgot that... With all that Native NT and C++ linking stuff > happening I'm only thinking in Trunk, currently ^^ > > I'm using 2.5.1 for the platforms i386- and x86_64-linux. On Windows I'm > using 2.2.4. > > Also I t

Re: [fpc-pascal] RE: Possibly a dumb question.... (Jennifer Usher)

2009-12-28 Thread Joost van der Sluis
On Mon, 2009-12-28 at 23:08 +0200, Graeme Geldenhuys wrote: > 2009/12/28 Jeff Miller : > > with that error too. It seems you must save the project once > > before you can compile it. After the first save, you can make > > changes and recompile without saving again, but that > > first save seems to

Re: [fpc-pascal] Free Pascal 2.4.0 released

2010-01-02 Thread Joost van der Sluis
On Sat, 2010-01-02 at 13:00 +0200, Juha Manninen wrote: > On lauantai, 2. tammikuuta 2010 04:53:16 Doug Chamberlin wrote: > Things are easy if there is a distro package for FPC. I am sure the main > distros will have a package for fpc 2.4.0 in few days. Problem with that is that for distro's whi

Re: [fpc-pascal] Need help to fix a bug

2010-01-24 Thread Joost van der Sluis
On Wed, 2010-01-13 at 16:13 +0100, JoshyFun wrote: > I wish to fix this bug http://bugs.freepascal.org/view.php?id=15460 > but I had found serious problems to understand how data is structured > in the TBufIndex and descendant classes, specially the > TDoubleLinkedBufIndex. Oohh... nice... Someone

Re: [fpc-pascal] Which regex unit to use?

2010-03-01 Thread Joost van der Sluis
On Fri, 2010-02-26 at 09:56 +0200, Graeme Geldenhuys wrote: > Hi, > > There are a few regex units include with FPC and Lazarus, and dozens more > available for Delphi (and probably FPC too). > > Which one is the most well known, or best to use, or most feature complete > regarding syntax etc...?

Re: [fpc-pascal] request for help: connecting to WIN1251 (ANSI) codepaged DB (FB1.0.3) in Lazarus

2010-04-26 Thread Joost van der Sluis
On Thu, 2010-04-01 at 20:19 +0700, 62mkv wrote: > when trying to connect to FB 1.0.3 server, to database that was > created using WIN1251 (Windows Ansi Cyrillic) CHARSET, via SqlDB > TIBConnection component, all Lazarus visual components display ASCII > (32-127) characters OK, but all Cyri

[fpc-pascal] Lazarus and Freepascal meeting, june 26, The Netherlands

2010-06-08 Thread Joost van der Sluis
Hi all, On the 26th of june there is a meeting for the Lazarus and Freepascal developers in the Netherlands. The developers who have time and the possibility to come to the Netherlands will be there, to see each other in the 'real world'. And to discuss ideas and new developments around Freepascal

Re: [fpc-pascal] LNet

2010-06-11 Thread Joost van der Sluis
On Mon, 2010-06-07 at 14:15 +0200, Felipe Monteiro de Carvalho wrote: > Ok, thanks, now I seam to be able to get it working using > TLTCPComponent, but I am unsure about how to read data. > > Ok, I read that it will call OnReceive when there is data ready, but I > couldn't find anything about how

Re: [fpc-pascal] regex vs synregexpr unit

2010-06-12 Thread Joost van der Sluis
On Sun, 2010-06-06 at 10:06 +0200, Graeme Geldenhuys wrote: > On 05/06/2010, Bihar Anwar wrote: > > I've search fpc mailing list about this matter, I found they were discussed > > a long time ago (2006), and I still didn't have a conclusion about which one > > I have looked into this as well, abou

[fpc-pascal] New website www.lazarussupport.com launched

2010-06-18 Thread Joost van der Sluis
e. As you can see the layout of the site is based on the design from Bee. The complete website is running on the fpWeb framework. Please take a look and tell what you think about it. Joost van der Sluis ___ fpc-pascal maillist - fpc-p

Re: [fpc-pascal] Changes in fcl-web

2010-10-28 Thread Joost van der Sluis
On Wed, 2010-10-27 at 20:07 -0700, leledumbo wrote: > Where do these methods go? > > protected function TCustWebApplication.WaitForRequest(out ARequest : > TRequest; out AResponse : TResponse) : boolean; > protected procedure TCustWebApplication.EndRequest(ARequest : > TRequest;AResponse : TRespon

Re: [fpc-pascal] Changes in fcl-web

2010-10-28 Thread Joost van der Sluis
On Thu, 2010-10-28 at 14:16 +0200, Joost van der Sluis wrote: > On Wed, 2010-10-27 at 20:07 -0700, leledumbo wrote: > > Where do these methods go? > > > > protected function TCustWebApplication.WaitForRequest(out ARequest : > > TRequest; out AResponse : TRespons

Re: [fpc-pascal] Re: Changes in fcl-web

2010-10-29 Thread Joost van der Sluis
On Thu, 2010-10-28 at 06:59 -0700, leledumbo wrote: > > They are up-to-date available in the fppkg repository. See the fppkg > > wiki page on how to set it up. Then: > > > > fppkg install webdesign > > > > will do the trick. And if not: tell me. Maybe you're the first one who > > uses it. >

Re: [fpc-pascal] Re: Changes in fcl-web

2010-10-29 Thread Joost van der Sluis
On Fri, 2010-10-29 at 07:19 -0700, leledumbo wrote: > Thanks, I'll try as soon as I arrive at home. Anyway, the Gecko and jQuery > package can still be used from the last WebDesign package or have the > dependencies been dropped? Geckoport was commented-out, because it only worked on Windows. Now

Re: [fpc-pascal] Re: Changes in fcl-web

2010-10-30 Thread Joost van der Sluis
On Fri, 2010-10-29 at 21:21 -0700, leledumbo wrote: > > Geckoport was commented-out, because it only worked on Windows. Now it > > works on other platforms too, I'll add a fpmake package for it. > > So, in the download package you attach, what would the html previewer be > instead of Gecko? Ther

Re: [fpc-pascal] Changes in fcl-web

2010-10-31 Thread Joost van der Sluis
On Sun, 2010-10-31 at 12:37 -0300, Julio C. Taborda wrote: > > I just tried to install webdesign package and I get the following error: > Using latest version of fpc 2.5.1 from svn. > ~$ fppkg install webdesign -v > [webdesign] Dependency on package rtl , installed 2.5.1-1, available - > (OK)

[fpc-pascal] Release of fpc-2.1.4 aka 2.2.0-beta

2007-05-19 Thread Joost van der Sluis
Hello everybody, I'm happy to announce that release 2.1.4 aka 2.2.0 beta is out. We ask our users to test the changes made in the last few years. This beta will be available for about two months, whereafter 2.2.0 will be released. Helping us to test version 2.1.4 now, can avoid problems when you f

Re: [fpc-pascal] installing latest stable

2007-06-11 Thread Joost van der Sluis
On Sun, 2007-06-10 at 13:51 +, pineal wrote: > On Sunday 10 June 2007 10:15, Michael Van Canneyt wrote: > > > > > > I have spent the whole afternoon trying to install fpc. :( > > > > > > First I downloaded the .rpm files. The compiler and docs install fine but > > > the source doesn't install a

Re: [fpc-pascal] Documentation for sqldb

2007-06-20 Thread Joost van der Sluis
On Wed, 2007-06-20 at 22:32 +1000, John wrote: > Is there any documentation for the SQLDB components ? I have put a fair > bit of effort in to looking round the FPC and Lazarus documentation and > wiki areas, and while there are a few helpful hints here and there, I > have not been able to find a

Re: [fpc-pascal] Documentation for sqldb

2007-06-20 Thread Joost van der Sluis
On Wed, 2007-06-20 at 14:43 -0300, Joao Morais wrote: > Joost van der Sluis wrote: > > > Those are the basics. If you have questions, ask them here. > > I have two! > > - please send me some hints to configure a query as fast as possible -- > read only and unidirecti

Re: Re: [fpc-pascal] Documentation for sqldb

2007-06-25 Thread Joost van der Sluis
On Fri, 2007-06-22 at 10:43 +1000, John wrote: > Joost van der Sluis wrote: > > > IN principle you can set ReadOnly to false and ParseSQL to true. That > > way sqldb tries to parse your query. If it's a simple 'select * from > > table' the TSQLQuery will be

Re: [fpc-pascal] Documentation for sqldb - further adventures

2007-06-30 Thread Joost van der Sluis
On Fri, 2007-06-29 at 18:35 +1000, John & Marg Sunderland wrote: > Following earlier advice, I constructed a simple query ("select * from > organiser.durn_type"), set readonly to false and tried to modify some > data and commit it. > > (At this point I should note that I am doing this from Laza

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Joost van der Sluis
oom for typos, and yes I checked for the correct > case!) There is some master-slave system build in. But it effectively does the same as you did. Hoe you should use it exactly, I don't know. > 3) Recently Joost van der Sluis wrote: > > You could solve this problem by setting the

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Joost van der Sluis
he problem is that if the strings are too long, they overflow the > buffer - I think the record buffer in T(Buf)Dataset - and break things > before the data gets as far as the database itself. Can you make a bug-report for this? -- Met vriendelijke groeten, Joost va

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Joost van der Sluis
On Tue, 2007-07-03 at 12:57 +0200, Michael Van Canneyt wrote: > > I'd rather see that the whole is coordinated a bit. I don't think all > this > duplication is a good idea; One solid set of components makes much > more > sense: the number of developers available for it's maintenance would > double

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Joost van der Sluis
On Tue, 2007-07-03 at 14:13 +0200, Martin Schreiber wrote: > > I aggree with Michael on this. Besides, last time I looked at your > > 'TBufDataset' (which is a actually a fork, offcourse) it only > > implemented blob-fields, on top of the existing TBufDataset. > > > > The current TBufDataset also s

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Joost van der Sluis
;s a briefcase model. I thought so. TBufDataset also has that, it can't save it to file, though. But that's easy to implement. -- Met vriendelijke groeten, Joost van der Sluis CNOC Informatiesystemen en Netwerken http://www.cnoc.nl ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Master Detail relationship in SQLdb

2007-07-14 Thread Joost van der Sluis
On Fri, 2007-07-13 at 18:30 +0200, Martin Schreiber wrote: > On Friday 13 July 2007 17.08, Michael Van Canneyt wrote: > > Maybe a stupid question, but: > > > > SQLDB has this already. > > So, why don't you help fixing SQLDB instead, and use that in MSEgui ? > > This way everyone benefits. > > > > T

Re: [fpc-pascal] Master Detail relationship in SQLdb

2007-07-14 Thread Joost van der Sluis
On Sat, 2007-07-14 at 15:32 +0200, Martin Schreiber wrote: > > > So, once more, I propose to 'merge' whatever you need so we can > develop > > a decent set of components, suitable for all. > > > The most questionable component in FCL-DB is TBufDataset <-> > tmsebufdataset. > I fear the needs of FC

Re: [fpc-pascal] Master Detail relationship in SQLdb

2007-07-15 Thread Joost van der Sluis
On Sun, 2007-07-15 at 07:24 +0200, Martin Schreiber wrote: > On Sunday 15 July 2007 01.10, Joost van der Sluis wrote: > > I have a question about the widestrings. I thought that tmsebufdataset > > handles all strings as widestrings. But I can't find any reference to > >

Re: [fpc-pascal] Master Detail relationship in SQLdb

2007-07-15 Thread Joost van der Sluis
t and we can look how we can fix fcl-db so that it can do what you want. The db-unit, and in fpc the whole fcl-db package is mean to be a general interface to all sorts of applications... -- Met vriendelijke groeten, Joost van der Sluis CNOC Informatiesystemen en Netwerken

Re: [fpc-pascal] Master Detail relationship in SQLdb

2007-07-16 Thread Joost van der Sluis
On Sun, 2007-07-15 at 16:05 +0200, Martin Schreiber wrote: > On Sunday 15 July 2007 13.06, Joost van der Sluis wrote: > > On Sun, 2007-07-15 at 07:24 +0200, Martin Schreiber wrote: > > > I needed to use my own TField descendants because I can not modify > > > db.pp .

[fpc-pascal] msedb and fcl-db benchmarks

2007-07-16 Thread Joost van der Sluis
Hi all, To see what the differences in speed are between MSEdb and fcl-db I did some benchmarks. (See the attachment for the code and results) I think that the first conclusion is that when it comes to executing queries, opening connections to the database and such, the 'real sql- work' there's n

  1   2   3   >