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? I

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 license, what

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

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 replace

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 time

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

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

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 should be generally usable for all

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 (all

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 about

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 tested

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 mil...@psy.otago.ac.nz: 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

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 which

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 to

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

[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

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 much

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, about 2

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

2010-06-18 Thread Joost van der Sluis
. 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-pascal

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 : TResponse);

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 : TResponse) : boolean; protected procedure

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. Seems like

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 it

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? There is

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 none, installed 2.5.1-1, available - (OK)

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 anything and

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 unidirectional. I will open the query, read

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 updateable. It automatically generates update

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 Lazarus

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

2007-07-03 Thread Joost van der Sluis
don't know. 3) Recently Joost van der Sluis wrote: You could solve this problem by setting the update/delete/insert queries yourself. (and set parsesql to false) When I set ParseSQL to False, the object inspector in Lazarus says updating is only possible if ParseSQL is true - unless I

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

2007-07-03 Thread Joost van der Sluis
for this? -- 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] 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 supports

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

2007-07-03 Thread Joost van der Sluis
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 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 FCL and MSEgui

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 that in the code. It would

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 . Huh? Why can't you? You did change

[fpc-pascal] msedb and fcl-db benchmarks

2007-07-17 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

Re: [fpc-pascal] msedb and fcl-db benchmarks

2007-07-17 Thread Joost van der Sluis
On Tue, 2007-07-17 at 09:40 +0200, Martin Schreiber wrote: On Monday 16 July 2007 14.20, Joost van der Sluis wrote: 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 tried

Re: [fpc-pascal] msedb and fcl-db benchmarks

2007-07-17 Thread Joost van der Sluis
On Tue, 2007-07-17 at 10:41 +0200, Michael Van Canneyt wrote: On Mon, 16 Jul 2007, Joost van der Sluis wrote: Hi all, I tried to explain the readdata-difference. At first I thought that msedb converted all strings from string to widestring to string. But it doesn't do that. (see

Re: [fpc-pascal] msedb and fcl-db benchmarks

2007-07-17 Thread Joost van der Sluis
On Tue, 2007-07-17 at 19:58 +0200, Coco Pascal wrote: Joost van der Sluis wrote: Discussion: What tests could I do more? Is there something I overlooked? To me it seems that benchmark tests on 10 records are missing relevance more and more. Offcourse, but it has some usefull

Re: [fpc-pascal] msedb and fcl-db benchmarks

2007-07-17 Thread Joost van der Sluis
On Tue, 2007-07-17 at 21:27 +0200, Coco Pascal wrote: Joost van der Sluis wrote: On Tue, 2007-07-17 at 19:58 +0200, Coco Pascal wrote: Joost van der Sluis wrote: Discussion: What tests could I do more? Is there something I overlooked? To me it seems that benchmark tests

Re: [fpc-pascal] Freepascal 2.2.0 released

2007-09-11 Thread Joost van der Sluis
Op dinsdag 11-09-2007 om 14:47 uur [tijdzone +0200], schreef Marc Santhoff: Am Montag, den 10.09.2007, 12:56 +0200 schrieb Joost van der Sluis: Since this page isn't already up: http://wiki.freepascal.org/User_Changes_2.2.0 Can someone please give a short explanation of this item

Re: [fpc-pascal] why is there no port property in sqldb?

2007-09-16 Thread Joost van der Sluis
Op zondag 16-09-2007 om 23:29 uur [tijdzone +0700], schreef Bee: Could be that in the source it is spelled with a capital P, try Port=... Nope, still not working. :( If I look in the source, I see a ports parameter, so port=xxx is the way to go. Here's why... Ah, now I see. Please

Re: [fpc-pascal] why is there no port property in sqldb?

2007-09-17 Thread Joost van der Sluis
Op maandag 17-09-2007 om 09:31 uur [tijdzone +0700], schreef Bee: Ah, now I see. Please don't use such an old version, as I told you before. Next time, always mention your version. So we can tell you to test the latest version, before we'll try to help you. Sorry I forgot to mention the

Re: [fpc-pascal] lmysqlclient not found again while compile in fedora 7

2007-09-21 Thread Joost van der Sluis
Op donderdag 20-09-2007 om 15:24 uur [tijdzone -0700], schreef Andi Purwito: I have just update my fpc to v2.2.0 under fedora 7. But error occured while compile program that uses mysql4, quot;lmysqlclient not foundquot;. Even after make symbolic link to /usr/lib/mysql/...I have no idea why

Re: [fpc-pascal] lmysqlclient not found again while compile in fedora 7

2007-09-25 Thread Joost van der Sluis
I've found how Fedora handles this: edit /etc/ld.so.conf.d/mysqlclient14-i386.conf (-x86_64 for 64 bit) and change it to (for example) /lib/mysql4/mysql Then run ldconfig. If you want to link statically, you'll need the -dev-package. Note that this has nothing to do with fpc, but it's a fedora

Re: [fpc-pascal] The Interface to MySQL has changed on version

2007-10-09 Thread Joost van der Sluis
Op maandag 08-10-2007 om 22:16 uur [tijdzone -0700], schreef Andi Purwito: You cannot. Mysql is a pain to maintain. They break interface compatibility almost every release. So its mean that mysql is difficult to followed? Yes. (It's not for nothing that ppl still use mysql 4.0 and 4.1) Also,

Re: [fpc-pascal] Patch for testsqldb

2007-11-15 Thread Joost van der Sluis
Op woensdag 14-11-2007 om 19:15 uur [tijdzone -0800], schreef Leonardo M. Ramé: The attached file is a small patch for testsqldb.pp located at /fpc/trunk/packages/fcl-db/sqldb/ The patch adds sqlite3 database to the example. Thanks for the patch, applied in r 9261. I completely forgot that

Re: [fpc-pascal] Notice: Possible copyright infringements in FPC codebase

2007-11-20 Thread Joost van der Sluis
Op dinsdag 20-11-2007 om 01:33 uur [tijdzone +0100], schreef Skybuck Flying: Delphi Compiler is written in C/C++ ?!? (Closed source) VCL/RTL is written in Delphi ! (Open Source) No. The VCL is written in Object Pascal, yes. But it's not open source. Borland and CodeGear published the code, so

Re: [fpc-pascal] FCL-DB/SQLDB docs started

2007-11-26 Thread Joost van der Sluis
Op dinsdag 27-11-2007 om 00:59 uur [tijdzone +1100], schreef John: Florian Klaempfl wrote: John schrieb: L wrote: Leonardo and I have been working on structuring together some notes and docs for fcl-db and sqldb. I am not as experienced with sqldb yet but as I have

Re: [fpc-pascal] Maybe a new fpc book :)

2008-01-03 Thread Joost van der Sluis
Op woensdag 02-01-2008 om 12:35 uur [tijdzone -0500], schreef Anthony W. Henry: I recently responded to a question on the community board asking about an fpc book by recommending a Turbo Pascal book by Jeff Duntemann. His book started me out as a Pascal programmer in 1989 and I still find

Re: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2008-01-23 Thread Joost van der Sluis
Op woensdag 23-01-2008 om 10:35 uur [tijdzone +0200], schreef Adrian Maier: On Dec 4, 2007 10:41 AM, Adrian Maier [EMAIL PROTECTED] wrote: On Dec 3, 2007 2:07 PM, Leonardo M. Ramé [EMAIL PROTECTED] wrote: I like the idea, can you start by creating the section's skeleton? Here is a

Re: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2008-01-26 Thread Joost van der Sluis
Op vrijdag 25-01-2008 om 23:59 uur [tijdzone +], schreef Chris Kirkpatrick: As far as I can see, there are no files relevant to fc-db or SQLDb in this repository. Have you committed your skeleton XMLs yet? If so, in which subdirectory? I just did, revision 373, in the root you can find

Re: [fpc-pascal] Re: Procedures in records not supported :(

2008-02-11 Thread Joost van der Sluis
If you wanna chat, use irc. (freenode - #fpc) Using a mailinglist we force people to think about their problems before they send mails about it. Thus they have to test their code before sending it. That makes it easier to follow, and improves the changes that people will read the emails. (and

[fpc-pascal] New local-indexes support for sqldb

2008-02-12 Thread Joost van der Sluis
Hi all, fpc 2.3.1 and 2.2.1 now have local indexes support for sqldb. (TBufDataset) I would like it if you can test if it works ok for you before we release fpc 2.2.2. Usage is pretty simple. For example use ASQLQuery.AddIndex('indexname','lastname,firstname); to add an index named 'indexname'

Re: [fpc-pascal] fpc 2.2's tmysql5conn error

2008-02-12 Thread Joost van der Sluis
I suppose you meant 2.2.1? Or did 2.2.0 has this problem? Joost Op dinsdag 12-02-2008 om 12:52 uur [tijdzone +0700], schreef Bee: Hi all, This morning, when I was testing to upgrade FPC on productional server to v.2.2, I found a strange error in TmySQL5Connection of FPC 2.2's FCL-DB. Any

Re: [fpc-pascal] New local-indexes support for sqldb

2008-02-16 Thread Joost van der Sluis
Op woensdag 13-02-2008 om 14:59 uur [tijdzone -0600], schreef Jesus Reyes: --- Joost van der Sluis [EMAIL PROTECTED] escribió: Hi all, fpc 2.3.1 and 2.2.1 now have local indexes support for sqldb. (TBufDataset) I would like it if you can test if it works ok for you before we

Re: [fpc-pascal] Sysutils

2008-03-20 Thread Joost van der Sluis
Op donderdag 20-03-2008 om 09:40 uur [tijdzone -0400], schreef Frank McCormick: Every reference to the StrInt function in Sysutils results in an error. I have checked fpc.cfg in /etc and .fpc.cfg in my home directory and they contain the unit path to the system files. Sysutils is included

Re: [fpc-pascal] Basic question about TStringList

2008-03-27 Thread Joost van der Sluis
Op donderdag 27-03-2008 om 11:35 uur [tijdzone +0100], schreef [EMAIL PROTECTED]: Hi, I seek help to clarify a very basic use of TStringList. Let A and B be TStringLists. What is the difference between: A:=B; and A.Assign(B); ? That's more a basic(?) question about Pascal. When

Re: [fpc-pascal] fcl-db: oracle SP

2008-04-04 Thread Joost van der Sluis
Op vrijdag 04-04-2008 om 17:19 uur [tijdzone +0700], schreef Bee: Hi all, Using fcl-db aka sqldb, how to call oracle's stored procedure through toracleconnection? So far, google can't help me much. :( Or is there a special component to handle stored procedure as in Delphi? TIA. Wow, so

Re: [fpc-pascal] The reason why linus torvalds hate-pascal

2008-04-15 Thread Joost van der Sluis
Op dinsdag 15-04-2008 om 10:18 uur [tijdzone +0300], schreef ik: Hi, I have read in the Linux Kernel malling list some emails, and I found some points made by Linus Torvalds about Pasca; http://idkn.wordpress.com/2008/04/15/the-reason-why-linus-torvalds-hate-pascal/ Your statement in

[fpc-pascal] Trim db-fieldnames, or not?

2008-04-18 Thread Joost van der Sluis
Hi all, In several places you can specify a list of fieldnames, seperated by semicolons. For example: 'field1;field2'. Question is: should this be allowed: 'field1; field2'? Or should a Field not found: ' field2' exception occur? (Note the space) Ie: should I add a trim(fieldname) to the code,

Re: [fpc-pascal] Trim db-fieldnames, or not?

2008-04-19 Thread Joost van der Sluis
Op vrijdag 18-04-2008 om 22:06 uur [tijdzone +0200], schreef Michael Van Canneyt: On Fri, 18 Apr 2008, Joost van der Sluis wrote: Hi all, In several places you can specify a list of fieldnames, seperated by semicolons. For example: 'field1;field2'. Question is: should

Re: [fpc-pascal] Trim db-fieldnames, or not?

2008-04-19 Thread Joost van der Sluis
Op zaterdag 19-04-2008 om 16:53 uur [tijdzone +0100], schreef Inoussa OUEDRAOGO: 2008/4/18, Joost van der Sluis [EMAIL PROTECTED]: Hi all, In several places you can specify a list of fieldnames, seperated by semicolons. For example: 'field1;field2'. Question is: should

[fpc-pascal] Base db-indexes on ansicomparestring?

2008-04-19 Thread Joost van der Sluis
Another question: Should we base the indexes on AnsiCompareStr (like TStringList does) or CompareStr by default? Joost ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Trim db-fieldnames, or not?

2008-04-19 Thread Joost van der Sluis
Op zaterdag 19-04-2008 om 22:08 uur [tijdzone +0200], schreef Michael Van Canneyt: On Sat, 19 Apr 2008, Joost van der Sluis wrote: Op vrijdag 18-04-2008 om 22:06 uur [tijdzone +0200], schreef Michael Van Canneyt: IMHO, no trimming should be added, because databases can have fields

Re: [fpc-pascal] Base db-indexes on ansicomparestring?

2008-04-19 Thread Joost van der Sluis
Op zaterdag 19-04-2008 om 22:10 uur [tijdzone +0200], schreef Michael Van Canneyt: On Sat, 19 Apr 2008, Joost van der Sluis wrote: Another question: Should we base the indexes on AnsiCompareStr (like TStringList does) or CompareStr by default? ? On straight string compare

Re: [fpc-pascal] another pqconnection patch

2008-05-29 Thread Joost van der Sluis
Op woensdag 28-05-2008 om 18:33 uur [tijdzone -0300], schreef Joao Morais: the following patch fixes the storage of floating point numbers where the decimal point isn't a dot. Two questions: does postgres always request a dot as decimal point? And dos your code guarantee to use a dot as

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 that takes a window

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

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 implicitly add

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 ...} statements for both libraries

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.

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 story. I

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't

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. You need to

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 trick,

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 suffer

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

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

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

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 an

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 flor...@freepascal.org To: FPC-Pascal users discussions fpc-pascal@lists.freepascal.org Sent: Thursday, December 18, 2008 12:10 PM Subject: Re: [fpc-pascal]

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 gdb

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 an

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's easier to build then ide manually. Extract

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 enabled

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 sethdgro...@gmail.com wrote: Is this broken or am I missing something? I suspect the problem is in this function: Function SecondsBetween(const ANow, AThen:

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] :=

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 Andrea: Apparently it cannot work

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

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 with Free

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: server:database location Is the same format used for MySQL databases? You could, but I woudn't do it. What about any other

[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 very

  1   2   3   >