Re: [fpc-devel] Benchmark for FreePascal

2005-12-12 Thread Michael Van Canneyt
On Mon, 12 Dec 2005, darekM wrote: Marco van de Voort napisa(a): On Sun, 11 Dec 2005, darekM wrote: But why it is in separated unit, nobody know about it (or to few). F.e. Lazarus has own implementation of buffering. Lazarus had to do a long time with FPC 1.0.x _and_ 2.0.x. Not all

Re: [fpc-devel] StrPos giving a access violation

2005-12-12 Thread Michael Van Canneyt
On Mon, 12 Dec 2005, Jonas Maebe wrote: On 12 dec 2005, at 12:17, Micha Nelissen wrote: strpos, I don't know about Delphi. If you typecast an ansistring to a pchar, then the compiler makes sure that if the ansistring is empty (and thus a null pointer), a valid pointer to an empty null-t

Re: [fpc-devel] Benchmark for FreePascal

2005-12-12 Thread Michael Van Canneyt
On Mon, 12 Dec 2005, Michalis Kamburelis wrote: Are we talking here about making a class that can read any TStream descendant line-by-line (i.e. by simple a'la Readln method) ? Then I believe this was already discussed on fpc-pascal, I remember that I sent there my TTextReader class impleme

Re: [fpc-devel] fpc_pchar_length error

2005-12-12 Thread Michael Van Canneyt
On Mon, 12 Dec 2005, Jonas Maebe wrote: On 11 dec 2005, at 22:22, Alexandrov Alexandru wrote: It depends on the specs of "length" :-) What do you mean with specs? How it is defined to behave in the documentation (i.e., whether the documentation says "if you call length with as argument

Re: [fpc-devel] GetAppConfigDir and GetAppConfigFile output

2005-12-13 Thread Michael Van Canneyt
On Mon, 12 Dec 2005, Felipe Monteiro de Carvalho wrote: Hello, I recently tryed to use those two functions, so I created a test app with 4 functions: WriteLn(GetAppConfigDir(True)); WriteLn(GetAppConfigDir(False)); WriteLn(GetAppConfigFile(True)); WriteLn(GetAppConfigFile(False)); The o

Re: [fpc-devel] TProcess and mpg123/321 issues

2005-12-13 Thread Michael Van Canneyt
On Tue, 13 Dec 2005, Alexander Todorov wrote: > Hi, > I have a GUI application created with Lazarus and I need to let users > play some mp3 files. > I have the following Button.OnClick > - > begin > pMusic.CommandLine := 'mpg123 /home/user/so

Re: [fpc-devel] Benchmark for FreePascal

2005-12-14 Thread Michael Van Canneyt
On Wed, 14 Dec 2005, Jonas Maebe wrote: > > On 10 dec 2005, at 22:09, darekM wrote: > > > I've see that reverse-complement benchmark > shootout.alioth.debian.org/benchmark.php?test=revcomp&lang=all> for FPC > > is very slow. I discover, that problem is with readln, that function > > consume a

Re: [fpc-devel] TList or TFPList - a Linked list ?

2005-12-14 Thread Michael Van Canneyt
On Wed, 14 Dec 2005, Micha Nelissen wrote: > Hi, > > I've been thinking about adding a linked list implementation to either TList > or TFPList. The basic problem to that is of course > 1) space overhead of linked list is quite large > 2) Index[..] will be O(N) > > For (1) I was thinking about

Re: [fpc-devel] TList or TFPList - a Linked list ?

2005-12-14 Thread Michael Van Canneyt
On Wed, 14 Dec 2005, Micha Nelissen wrote: > On Wed, 14 Dec 2005 21:44:50 +0100 (CET) > Daniël Mantione <[EMAIL PROTECTED]> wrote: > > > Op Wed, 14 Dec 2005, schreef Micha Nelissen: > > > > Sorry to disappoint, but this doesn't look a very good idea to me; it > > would kill code that for exam

Re: [fpc-devel] [RFC] fpdoc output comment from the source

2005-12-16 Thread Michael Van Canneyt
On Fri, 16 Dec 2005, L505 wrote: Did you miss something? On the FPC homepage: - Click "on-line documentation" - Click "documentation table of contents with comments" - Click "Add a comment" I think I finally figured out your little comment system for the units generated with FPDOC t

Re: [fpc-devel] [RFC] fpdoc output comment from the source

2005-12-19 Thread Michael Van Canneyt
On Sun, 18 Dec 2005, L wrote: under the documents (who wouldn't?). The author, for one :-) The commenting system puts extra load on the server which I don't want. Amazon.com has a patent on one click shopping, I believe. I think I know why. Well, with the FindPart function, back 7 months

Re: [fpc-devel] [RFC] fpdoc output comment from the source

2005-12-19 Thread Michael Van Canneyt
On Mon, 19 Dec 2005, Felipe Monteiro de Carvalho wrote: On 12/19/05, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: Amazon is a company which can add servers at will. The FPC servers are paid out of our own pockets, so things as 'load' etc. form a big restriction. By the

Re: [fpc-devel] GetPropList and order of properties returned

2005-12-20 Thread Michael Van Canneyt
On Tue, 20 Dec 2005, Graeme Geldenhuys wrote: Hi, What are the rules regarding the order of a unsorted list of published properties using the GetPropList method, when inheritance has been used. I had unit tests from a Delphi app that detected this difference. Below is the results from Delp

Re: [fpc-devel] [RFC] fpdoc output comment from the source

2005-12-22 Thread Michael Van Canneyt
On Wed, 21 Dec 2005, L wrote: We've looked at the people on the mailing list many times, but we've never seen people sticking out their neck and actually doing something along these lines. It takes long-range commitment, which is probably what scares many people off... You do have to have di

Re: [fpc-devel] Revision 2037 gives problems with lazarus

2005-12-25 Thread Michael Van Canneyt
On Sat, 24 Dec 2005, Joost van der Sluis wrote: > > >> As information: since r2037 lazarus crashes at startup. The > > >> problem wasn't > > >> fixed in 2040. > > > > > > Fixed. I've reverted 2037. > > > > And in case nightly lazarus snapshots failed because of ansi2wide/ > > wide2ansi parameter

Re: [fpc-devel] OLE and COM support

2006-01-11 Thread Michael Van Canneyt
On Tue, 10 Jan 2006, Felipe Monteiro de Carvalho wrote: > Hello, > > I am interrested in implementing support for OLE and COM. > > What is the current status of the implementation of those technologies? Simply put: None. As soon as Florian implements the necessary dispinterface support in th

Re: [fpc-devel] PR: Advocates needed

2006-01-20 Thread Michael Van Canneyt
On Fri, 20 Jan 2006, Vincent Snijders wrote: Bisma Jayadi wrote: > It's not the advocacy that is needed but rather they need code for it > to work. It says right in the article. I think we should stop the VB vs Pascal discussion now. It's useless since we all here already know which is th

Re: [fpc-devel] Web language

2006-01-27 Thread Michael Van Canneyt
On Thu, 26 Jan 2006, VisionForce wrote: I'm going to create my own server-side web language, and I was thinking about using .NET. Does anyone here have any good reasons I should use Delphi instead? Is there a place I can go to learn Delphi's string parsing functions? Does Delphi support Ser

Re: [fpc-devel] Patch for Bug #4602

2006-01-28 Thread Michael Van Canneyt
On Sat, 28 Jan 2006, Graeme Geldenhuys wrote: > Hi, > > Attached is a small patch to fix the Delphi Compatibility bug. Could > someone commit this please. Applied, thank you. Michael. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http:/

Re: [fpc-devel] Patch for Bug #4585

2006-01-28 Thread Michael Van Canneyt
On Sat, 28 Jan 2006, Graeme Geldenhuys wrote: > Hi, > > Attached is a tests project showing the Bug. I also attached a patch > file to fix the bug. Could someone commit this please. Applied. Michael. ___ fpc-devel maillist - fpc-devel@lists.free

Re: [fpc-devel] FreeBSD/kqueue

2006-01-31 Thread Michael Van Canneyt
On Tue, 31 Jan 2006, Ales Katona wrote: These files add kqueue to the FreeBSD rtl. the new "FreeBSD.pas" file will need to be put in rtl/freebsd dir. I think the kqueue.inc files should be in common BSD dir as 3 out of 4 major bsds (darwin being one) now support it. demo-kqueue1.pas is a sim

Re: [fpc-devel] Calling Web Service from Freepascal

2006-02-03 Thread Michael Van Canneyt
On Fri, 3 Feb 2006, Daniël Mantione wrote: Op Fri, 3 Feb 2006, schreef Amir Aavani: Any one call a webservice (WSDL) from Freepascal. I did it using Delphi, but now i want to do it by freepascal/Lazarus. You are as clear as saying "I live in Europe and don't like my neighbourhood". Plea

Re: [fpc-devel] lNet in packages

2006-02-03 Thread Michael Van Canneyt
On Fri, 3 Feb 2006, Ales Katona wrote: I was wondering if I could put lNet library (for those who don't know, go to http://members.chello.sk/ales ) into packages. I'm all for it. The question is: base or extra. Or even FCL. Michael. ___ fpc-devel

Re: [fpc-devel] lNet in packages

2006-02-03 Thread Michael Van Canneyt
On Fri, 3 Feb 2006, Peter Vreman wrote: > >> > I'm all for it. The question is: base or extra. Or even FCL. > >> > >> fpnet package. The FCL is only basic stuff, some extended RTL. IMHO the > >> fpimage,db and xml shall also be moved to fpimage, fpdb and fpxml > >> packages. > > > > Why prefix e

Re: [fpc-devel] lNet in packages

2006-02-04 Thread Michael Van Canneyt
On Fri, 3 Feb 2006, Felipe Monteiro de Carvalho wrote: > On 2/3/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > Packages are not necessarily class based, are often simple imports of > > libraries and so on; not the place for VCL/CLX counterparts. > > I do

Re: [fpc-devel] __stkptr

2006-02-25 Thread Michael Van Canneyt
On Fri, 24 Feb 2006, Peter Vreman wrote: > > On Friday 24 February 2006 06:55 am, Peter Vreman wrote: > >> Check with objdump if dllprt0.o exports the __stkptr. > > > > objdump -t dllprt0.o | grep stkptr > > g O .bss 0004 __stkptr > > > > so i checked further and i found that

Re: [fpc-devel] Repository access via the SVN protocol

2006-03-03 Thread Michael Van Canneyt
On Fri, 3 Mar 2006, Graeme Geldenhuys wrote: Hi, Would whoever is running the Free Pascal / Lazarus repository consider enabling the SVN protocol as well. Currently only the HTTP protocol is enabled. (example: GCC has both protocols enabled at svn://gcc.gnu.org/svn/ or via http://gcc.gnu.o

Re: [fpc-devel] procedure Types

2006-03-04 Thread Michael Van Canneyt
On Sat, 4 Mar 2006, Amir Aavani wrote: > > > I have problem with procedure Types. > Look at the following code: > > TProcedure= procedure (S: String); > TTest= class > MyF: TProcedure; > procedure F1 (S: String); > procedure F2 (S: String); > > ... > end; > > TTest.constructor ; > begin

Re: [fpc-devel] libp***.a

2006-03-04 Thread Michael Van Canneyt
On Thu, 2 Mar 2006, Rod wrote: > what are the libp***.a files for? These are units compiled with smartlinking. If you use the smartlinking feature, then the .a files are used instead of the .o files. Takes longer to link, but the resulting binaries are smaller. Michael.

Re: [fpc-devel] Type definition

2006-03-04 Thread Michael Van Canneyt
On Sat, 4 Mar 2006, Peter Vreman wrote: > > If there compelling reason why type definitions cannot be included in > > class/object definitions? > > Make it mode FPC to keep folks happy :) > > > > Quite often a type is defined in INTERFACE part, but only used within > > class/object defined in sa

Re: [fpc-devel] FExpand function

2006-03-04 Thread Michael Van Canneyt
On Sat, 4 Mar 2006, Joao Morais wrote: > > Hello, > > Should this comparison (!) be fixed? Seeing that this code is going to > be changed, what about change Pa[I] assignment from a variable to a > constant? The comparison can be fixed. In fact I think the code can be reduced to a single loop:

Re: [fpc-devel] ReallocMem with CMem

2006-03-08 Thread Michael Van Canneyt
On Wed, 8 Mar 2006, Micha Nelissen wrote: > On Wed, 8 Mar 2006 19:10:55 +0100 > Mattias Gaertner <[EMAIL PROTECTED]> wrote: > > > On Wed, 8 Mar 2006 19:01:11 +0100 > > Micha Nelissen <[EMAIL PROTECTED]> wrote: > > > > > Hmm, that was changed then and the compiler was fixed; probably due to me

Re: [fpc-devel] full implementation of a memory based dataset?

2006-03-08 Thread Michael Van Canneyt
On Wed, 8 Mar 2006, Dale Welch wrote: > does anyone know of a full implementation of a memory based dataset? > tmemdataset and sdfdataset both do not implement the > "canmodify" property. But they are both read-write. I'll see about fixing the CanModify property, though. > i would like a memor

Re: [fpc-devel] ReallocMem with CMem

2006-03-08 Thread Michael Van Canneyt
On Wed, 8 Mar 2006, Jonas Maebe wrote: > > On 8 mrt 2006, at 20:34, Michael Van Canneyt wrote: > > >>> What has 'alloc' to do with cleaning/zeroing? > >> > >> It is *the* difference between GetMem and AllocMem. > > > > Not in

Re: [fpc-devel] OS aware RTL proposal

2006-03-10 Thread Michael Van Canneyt
On Fri, 10 Mar 2006, Marco van de Voort wrote: http://www.freepascal.org/wiki/index.php/OS_aware_RTL Tell me what you think First: only Linux has the main problem. BSD never renumbers ABI calls, newer abi calls have a different prototype. This is manifestly wrong: Sure, there are new sys

Re: [fpc-devel] add external links to fpdoc generated documents

2006-03-10 Thread Michael Van Canneyt
On Fri, 10 Mar 2006, Vincent Snijders wrote: Hi, I would like to add a link to external documentation in a fpdoc generated document file. Is this possible. For example: On http://lazarus-ccr.sourceforge.net/docs/lcl/xmlpropstorage/txmlpropstorage.html I would like a "See also" link to h

Re: [fpc-devel] OS aware RTL proposal

2006-03-12 Thread Michael Van Canneyt
On Sun, 12 Mar 2006, Ales Katona wrote: > Daniël Mantione wrote: > > > I don't like to do the abstraction at the syscall level, but one level > > higher, i.e. the Tstream implementation. The reason is that the operating > > system abstraction happens at this level: > > - OS abstraction wis pres

Re: [fpc-devel] OS aware RTL proposal

2006-03-12 Thread Michael Van Canneyt
On Sun, 12 Mar 2006, Ales Katona wrote: > Michael Van Canneyt wrote: > > > How does this make it a reason ? > > > > libfprtl will always be specific to the distribution it was compiled on. > > If tuned, it should be tuned to that system. > > Just like lib

Re: [fpc-devel] procedure Types

2006-03-13 Thread Michael Van Canneyt
hread (@MyThreadProc,(MyObject)) (don't remember the exact form of the thread function.) Or better yet, use TThread. Michael Van Canneyt wrote: On Sat, 4 Mar 2006, Amir Aavani wrote: I have problem with procedure Types. Look at the following code: TProcedure= procedure (S: Stri

Re: [fpc-devel] Lazarus

2006-03-18 Thread Michael Van Canneyt
On Sat, 18 Mar 2006, Amir Aavani wrote: > Is there any example(way) to develop a plugin for lazarus,? > for example, adding a new type of application to lazarus with its own > properites and ... I'll send you some articles in private where it is explained extensively. Michael.

Re: [fpc-devel] space char inside identifier's name

2006-03-25 Thread Michael Van Canneyt
On Sat, 25 Mar 2006, Bisma Jayadi wrote: > After trying out Morfix for some hours, I found very interesting "feature" of > the implemented object Pascal language. Morfix Pascal allows space char within > the identifier's name. If space char is used, then the name MUST BE enclosed > within a doub

Re: [fpc-devel] space char inside identifier's name

2006-03-25 Thread Michael Van Canneyt
On Sat, 25 Mar 2006, Bisma Jayadi wrote: > > I cannot imagine situations where it would be required or demanded > > (maybe desirable, but I don't so). In what cases would it be required or > > demanded? > > Say I'm gonna make some kind of game maker application, where user can create > game obje

Re: [fpc-devel] TProcess input/ouput handles

2006-03-29 Thread Michael Van Canneyt
On Wed, 29 Mar 2006, Micha Nelissen wrote: Hi, How can I close the input pipe of a process ? Suppose it keeps processing until EOF, then I have to close to handle to let it finish its job. sysutils.fileclose(input.handle) Michael. ___ fpc-devel m

Re: [fpc-devel] TProcess FastCGI

2006-03-29 Thread Michael Van Canneyt
On Wed, 29 Mar 2006, Micha Nelissen wrote: Hi, Is TProcess capable of the following ("boot" requirements for FastCGI process) ? http://fastcgi.com/devkit/doc/fcgi-spec.html#S2 " 2.2 File descriptors The Web server leaves a single file descriptor, FCGI_LISTENSOCK_FILENO, open when the appli

Re: [fpc-devel] TProcess Environment

2006-03-29 Thread Michael Van Canneyt
On Wed, 29 Mar 2006, Micha Nelissen wrote: Hi, Even when I write my own environment strings in Process.Environment, still it also inherits all of the environment of the parent process. How can I prevent this ? This is a bug ? If Process.Environment is set, then it should replace the curren

Re: [fpc-devel] TProcess input/ouput handles

2006-03-30 Thread Michael Van Canneyt
On Thu, 30 Mar 2006, Micha Nelissen wrote: On Thu, 30 Mar 2006 09:23:39 +0200 (Romance Daylight Time) Michael Van Canneyt <[EMAIL PROTECTED]> wrote: On Wed, 29 Mar 2006, Micha Nelissen wrote: Hi, How can I close the input pipe of a process ? Suppose it keeps processing until EOF

Re: [fpc-devel] TProcess FastCGI

2006-03-30 Thread Michael Van Canneyt
On Thu, 30 Mar 2006, Micha Nelissen wrote: On Thu, 30 Mar 2006 09:27:02 +0200 (Romance Daylight Time) Michael Van Canneyt <[EMAIL PROTECTED]> wrote: No, it is not. It creates pipes for stdin/stdout, not a socket. Doh! How to extend TProcess so it can ? You would have to be a

Re: [fpc-devel] PInteger

2006-03-31 Thread Michael Van Canneyt
On Fri, 31 Mar 2006, Vincent Snijders wrote: Recently I was having some troubles using the PInteger type. PInteger is declared several times in the RTL: The System unit has PInteger = ^Integer (two bytes) The ObjPas unit has Integer = longint; PInteger = ^Integer; (four bytes) The Types u

Re: [fpc-devel] Warning for sqldb and fpc 2.1.1 users

2006-04-01 Thread Michael Van Canneyt
On Sat, 1 Apr 2006, Joost van der Sluis wrote: > Hi all, > > In revision 3111 TBufDataset is almost completely rewritten. I've tested > as much as I could, but it could be that you encounter problems with > sqldb which weren't there before. > > Please test if everything still works ok, and if

Re: [fpc-devel] Warning for sqldb and fpc 2.1.1 users

2006-04-02 Thread Michael Van Canneyt
Hoi, Ik heb master-detail relaties geimplementeerd voor sqldb. Het meeste zit in db.pp; Ik heb 't getest met interbase, en dat werkt correct, schijnbaar. Als je wat tests zou kunnen doen zou ik dat appreciëren ;-) 'T werkt als volgt: als een parameter niet 'bound' is, en de datasource is inges

Re: [fpc-devel] Warning for sqldb and fpc 2.1.1 users

2006-04-02 Thread Michael Van Canneyt
On Sun, 2 Apr 2006, Michael Van Canneyt wrote: Woops ! This was supposed to be a private communication to Joost. For non-dutch speakers (probably the majority on the list ;)) It says that support for Master/Detail relationships is implemented in SQLDB, and that it seems to be working fine

Re[6]: [fpc-devel] static vs dynamic arrays

2006-04-04 Thread Michael Van Canneyt
On Tue, 4 Apr 2006, ??? wrote: If you really want to speed up both cases you need to use pointers and increase the pointer value in each iteration. This saves the indexing in every iteration. Thank you, that was informative. Here are the results (one program at the end for comp

Re[7]: [fpc-devel] static vs dynamic arrays

2006-04-04 Thread Michael Van Canneyt
On Tue, 4 Apr 2006, ??? wrote: Because of the copy-on-write mechanism. The reference count must be checked each time you do a write. This is normal. It's the same in Delphi, and a good reason for avoiding dynamic arrays. You can use pointer arithmetics in FPC, it works as a dynam

Re: Re[6]: [fpc-devel] static vs dynamic arrays

2006-04-04 Thread Michael Van Canneyt
On Tue, 4 Apr 2006, Jonas Maebe wrote: On 4 apr 2006, at 15:01, Michael Van Canneyt wrote: Thank you, that was informative. Here are the results (one program at the end for completeness): ap^:=app^; inc(ap); dec(bp); 47804845 ap^:=1; inc(ap); 37033703

Re: [fpc-devel] Hitting bug 4733

2006-04-07 Thread Michael Van Canneyt
On Fri, 7 Apr 2006, Yves Glodt wrote: Hello, I am trying to compile a Firebird UDF library with fpc 2.0.0 under on the amd64 architecture (precisely: ubuntu dapper preview release), but unfortunately I hit bug 4733... That is: The code compiles fine, but fails to link, here below the complete

Re: [fpc-devel] LocateNext

2006-04-07 Thread Michael Van Canneyt
On Fri, 7 Apr 2006, Micha Nelissen wrote: > On Fri, 07 Apr 2006 21:16:23 +0200 > Joost van der Sluis <[EMAIL PROTECTED]> wrote: > > > function Locate(const keyfields: string; const keyvalues: Variant; > > options: TLocateOptions; LocateNext : boolean ) : boolean; > > > > So that it's possib

Re: [fpc-devel] MySQL components in SQLDB

2006-04-08 Thread Michael Van Canneyt
On Fri, 7 Apr 2006, Doug Nettleton wrote: > Hi All, > > I'm new here - variously playing with Lazarus and mseide&msegui. I posted the > following at public.mseide-msegui.talk: > > > bug in tmsesqlquery, certain field types don't appear in the FieldDefs > > list. > > Initailly, I had a file wi

Re: [fpc-devel] Patch to sqlite3ds unit

2006-04-09 Thread Michael Van Canneyt
On Sun, 9 Apr 2006, Luiz Americo Pereira Camara wrote: > The attached patch fix an field recognition issue in TSqlite3Dataset You forgot the attachment. Michael. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/ma

Re: [fpc-devel] 2.0.3 AV's

2006-04-09 Thread Michael Van Canneyt
On Sun, 9 Apr 2006 [EMAIL PROTECTED] wrote: > > With Output: > > . > > 13 > > 14 > > 15 > > An unhandled exception occurred at $08048573 : > > EAccessViolation : Access violation > > $08048573 FORWARDS_IA32_3, line 375 of > > /opt/fpc_svn/rtl/i386/fastmove.inc > > $0804810A main, line 9 of

Re: [fpc-devel] 2.0.3 AV's

2006-04-09 Thread Michael Van Canneyt
On Sun, 9 Apr 2006, Dipl.- Ing. Helmut Hartl wrote: > Hi, > > I am currently managing ZEOS DBO Development. > We are testing ZEOS with MySQL 5 & Postgres 8.1 and FPC 2.0.2 > which works pretty stable! We would like to release > "more stable" packages for lazarus and fpc in the next time. Sl

Re: [fpc-devel] Patch to sqlite3ds unit

2006-04-09 Thread Michael Van Canneyt
On Sun, 9 Apr 2006, Luiz Americo Pereira Camara wrote: > Michael Van Canneyt escreveu: > > On Sun, 9 Apr 2006, Luiz Americo Pereira Camara wrote: > > > > > > > The attached patch fix an field recognition issue in TSqlite3Dataset > > > > > > &g

Re: [fpc-devel] shm_open / shm_unlink

2006-04-09 Thread Michael Van Canneyt
On Sun, 9 Apr 2006, mariano podesta wrote: > hi > i found that shm_open and shm_unlink in smmaph.inc are mapped as externals > from libc, but they belong to librt. > > fpc 2.0.2 > debian linux 2.6.14-1-k7 > > i tested with this and worked ok: > > const > rt = 'rt'; > > function shm_open(__

Re: [fpc-devel] shm_open / shm_unlink

2006-04-09 Thread Michael Van Canneyt
On Mon, 10 Apr 2006, Marco van de Voort wrote: On Sun, 9 Apr 2006, mariano podesta wrote: i tested with this and worked ok: const rt = 'rt'; function shm_open(__name: pchar; __oflag: longint; __mode: mode_t): longint; cdecl; external rt name 'shm_open'; function shm_unlink(__name: pchar):

Re: [fpc-devel] bug ID #4855

2006-04-10 Thread Michael Van Canneyt
On Mon, 10 Apr 2006, Peter Vreman wrote: Buys Regarding this bug #4855 I need to get it fixed.. The issue like this... I have 2 parts to my system... The EXE ... and a DLL In the DLL I have an exported function that returns an Interface... Function dosomething( const aObjectInt :

Re: [fpc-devel] LocateNext

2006-04-10 Thread Michael Van Canneyt
On Mon, 10 Apr 2006, Joost van der Sluis wrote: Not really. Sometimes I use a locate to find a record in a dataset. I don't want to limit the records in that dataset with a filter. If you don't want to limit, then set .Filtered := false; and use FindFirst etc. wich won't work with current

Re: [fpc-devel] Which of them are right (Delphi or FPC)

2006-04-18 Thread Michael Van Canneyt
On Tue, 18 Apr 2006, Amir Aavani wrote: I developed a project in lazarus (FPC) and now when I try to run it in Delphi, it acts incorrect! I have a class TObjectCollection which is a collection of TObject: TObjectCollection= class (TObject) FMembers: array of TObject; ... ...

Re: [fpc-devel] Web Service Toolkit For FPC & Lazarus

2006-04-24 Thread Michael Van Canneyt
On Mon, 24 Apr 2006, Inoussa OUEDRAOGO wrote: Does it overlap regarding functionality? This package have a different goal; The primary goal is to expose services as normal fpc interfaces by providing a proxy implementation as Delphi does; please take a look at the doc file. It is interesti

Re: [fpc-devel] Bug 5049: Record insert at eof in TSQLQuery

2006-04-25 Thread Michael Van Canneyt
On Tue, 25 Apr 2006, Martin Schreiber wrote: More exact formulation: TSQLQuery.Last; TSQLQuery.Insert; TSQLQuery.Post; The new record is not the last record. That is correct. It should be the last-but-one. Michael. ___ fpc-devel maillist - fpc

Re: [fpc-devel] IBConnection and transactions

2006-04-30 Thread Michael Van Canneyt
On Sun, 30 Apr 2006, Joost van der Sluis wrote: > I have a problem that I do not understand. > > the following doesn't work with firebird: > > Fconnection.ExecuteDirect('create table FPDEV (id INT)'); > Fconnection.ExecuteDirect('insert into FPDEV(id) values (1)'); > > But the following does

Re: [fpc-devel] IBConnection and transactions

2006-04-30 Thread Michael Van Canneyt
On Sun, 30 Apr 2006, Joost van der Sluis wrote: > On Sun, 2006-04-30 at 20:09 +0200, Michael Van Canneyt wrote: > > On Sun, 30 Apr 2006, Joost van der Sluis wrote: > > > I have a problem that I do not understand. > > > > > > the

Re: [fpc-devel] IBConnection and transactions

2006-04-30 Thread Michael Van Canneyt
On Sun, 30 Apr 2006, [UTF-8] Bogusław Brandys wrote: > Michael Van Canneyt wrote: > > > > On Sun, 30 Apr 2006, Joost van der Sluis wrote: > > > >> On Sun, 2006-04-30 at 20:09 +0200, Michael Van Canneyt wrote: > >>> On Sun, 30 Apr 2006, Joost van der S

Re: [fpc-devel] How to add comments on FPC buglist?

2006-05-03 Thread Michael Van Canneyt
On Wed, 3 May 2006, Alexander Todorov wrote: Hello, Is it possible to add comments once a bug has been submited to the FPC bugs database? It seems to be only for admins. Password is required. It is not yet possible. We're working on this. Michael. ___

Re: [fpc-devel] How to add comments on FPC buglist?

2006-05-04 Thread Michael Van Canneyt
On Wed, 3 May 2006, Alexander Todorov wrote: > On 5/3/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > It is not yet possible. We're working on this. > > > > Michael. > Why don't you use a bugtracking system like Mantis, Bugzilla, > PhpBugTracke

Re: [fpc-devel] Unix sockets for Windows

2006-05-05 Thread Michael Van Canneyt
On Fri, 5 May 2006, Alexander Todorov wrote: > Hello, > I have an application that uses TCP sockets nut it is going to be > changed with UNIX sockets. > Can you point me to some easy and clean approach how to emulate UNIX > sockets for Windows. > The only thing I can think of is using named pipe

Re: [fpc-devel] ImageMagick headers to pascal

2006-05-08 Thread Michael Van Canneyt
On Mon, 8 May 2006, Felipe Monteiro de Carvalho wrote: > Hello, > > When I first said I was going to convert the ImageMagick headers it > was mentioned they could go to Free Pascal subversion. > > Well, now the headers at least for MagickWand are stable. What exactly is MagockWand ? > Do you g

Re: [fpc-devel] Gtk 2 X11 bindings

2006-05-09 Thread Michael Van Canneyt
On Tue, 9 May 2006, Felipe Monteiro de Carvalho wrote: Hello, There are some gtk 2 X11 bindings located at lazarus/components/opengl/gtk2x11 I think we should add this to Free Pascal. When I asked for this some months ago it was said that the bindings were beta, but software that use TTra

RE: [fpc-devel] a shared library suggestion

2006-05-10 Thread Michael Van Canneyt
On Wed, 10 May 2006, peter green wrote: yeah that technique requires far less stubs but it means that the coder has to manually call an init function. No. - This can be put in the initialization of the unit. - It can be called by components that need it. SQLDB does it like that. also how

Re: [fpc-devel] proposal: Extension for class properties

2006-05-11 Thread Michael Van Canneyt
On Wed, 10 May 2006, Alexander Todorov wrote: Hello, Let's consider the following code fragment: -- type TMyRecord = record Name : String; Value : Integer; end; TMyClass = class(TObject) private FButton : TButton; FRecord : TMyRecor

Re: [fpc-devel] IBConnection isc_attach_database() remote server connection

2006-05-11 Thread Michael Van Canneyt
On Thu, 11 May 2006, Dimitrios Chr. Ioannidis wrote: Hi all, i don't know if this is fixed already, but for Interbase/Firebird to connect to a remote server you need to add the FQDN/IP to the database name, i.e. HostName + ':' + DatabaseName for the the second and third arg on isc_attach_

Re: [fpc-devel] TList.Assign - overloaded implementation

2006-05-12 Thread Michael Van Canneyt
On Fri, 12 May 2006, Geno Roupsky wrote: 2006/5/11, Florian Klaempfl <[EMAIL PROTECTED]>: It is a plain copy of the delphi source code so it can't be used. Well this sounds strange :) Is it because of licensing problems or compatibility ones? Licensing, obviously. Michael.

Re: [fpc-devel] IBConnection isc_attach_database() remote server connection

2006-05-12 Thread Michael Van Canneyt
On Fri, 12 May 2006, Joost van der Sluis wrote: On Thu, 2006-05-11 at 21:16 +0300, Dimitrios Chr. Ioannidis wrote: Joost Hi, in TIBConnection there is a property Hostname. So, people expect to put there the Server Name or IP and the location of the DB in the DatabaseName property. But in IBC

Re: [fpc-devel] Linux loadlibrary vs Windows

2006-05-13 Thread Michael Van Canneyt
On Sat, 13 May 2006, Tony Maro wrote: > I use the Synapse TCP toolkit. I recently updated to 2.0.2 (can't get a > full working 2.0.3 in Windows yet for some reason) and found that > Synapse suddenly didn't compile in Linux. > > Now, it's likely that the Synapse toolkit has already been updated

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Michael Van Canneyt
On Sun, 14 May 2006, Martin Schreiber wrote: > On Sunday 14 May 2006 08.48, Daniël Mantione wrote: > > Op Sun, 14 May 2006, schreef Martin Schreiber: > > > Since some time FPC doesn't flush output on pipes after writeln. > > > On linux I can use a pseudo terminal, what can I do on win32 to get

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Michael Van Canneyt
On Sun, 14 May 2006, Daniël Mantione wrote: > > > Op Sun, 14 May 2006, schreef Martin Schreiber: > > > Since some time FPC doesn't flush output on pipes after writeln. > > On linux I can use a pseudo terminal, what can I do on win32 to get flushed > > output from FPC into the message window

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Michael Van Canneyt
On Sun, 14 May 2006, Daniël Mantione wrote: > > > Op Sun, 14 May 2006, schreef Michael Van Canneyt: > > > > > > > On Sun, 14 May 2006, Daniël Mantione wrote: > > > > > > > > > > > Op Sun, 14 May 2006, schreef Martin Schreib

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Michael Van Canneyt
On Sun, 14 May 2006, Mattias Gaertner wrote: > On Sun, 14 May 2006 12:03:34 +0200 (CEST) > Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > > > > On Sun, 14 May 2006, Daniël Mantione wrote: > > > > > > > >

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Michael Van Canneyt
On Sun, 14 May 2006, Peter Vreman wrote: > > > > > We could do this ourselves by assigning a unique number to each error. > > (and keeping these numbers) > > All messages already have an unique number. It is only not used in the output. So, in principle they don't change ? I seem to remembe

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Michael Van Canneyt
On Sun, 14 May 2006, Mattias Gaertner wrote: > On Sun, 14 May 2006 12:10:14 +0200 (CEST) > Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > [...] > > > > I'm all for such a message form; it should be easy to add with some -v > > > > switch..

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Michael Van Canneyt
On Sun, 14 May 2006, Florian Klaempfl wrote: > The error numbers didn't change, they are keep unique. > > I propose to do the following: > - add an option -vm (machine readable output) > Using this option the compiler outputs the messages csv like and flushes > after each message: > message typ

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Michael Van Canneyt
On Sun, 14 May 2006, Daniël Mantione wrote: > > > Op Sun, 14 May 2006, schreef Michael Van Canneyt: > > > > > > > On Sun, 14 May 2006, Florian Klaempfl wrote: > > > > > The error numbers didn't change, they are keep unique. > > >

Re: [fpc-devel] darwin - rtl include files

2006-05-16 Thread Michael Van Canneyt
On Tue, 16 May 2006, Mattias Gaertner wrote: On Tue, 16 May 2006 15:51:43 +0200 (CEST) [EMAIL PROTECTED] (Marco van de Voort) wrote: [EMAIL PROTECTED] (Marco van de Voort) wrote: ... I guess FPC_USE_LIBC is disabled for this target, ... Where is the mistake? See above. Jonas choose to

Re: [fpc-devel] darwin - rtl include files

2006-05-16 Thread Michael Van Canneyt
On Tue, 16 May 2006, Mattias Gaertner wrote: On Tue, 16 May 2006 16:11:43 +0200 (Romance Daylight Time) Michael Van Canneyt <[EMAIL PROTECTED]> wrote: On Tue, 16 May 2006, Mattias Gaertner wrote: On Tue, 16 May 2006 15:51:43 +0200 (CEST) [EMAIL PROTECTED] (Marco van de Voort)

Re: [fpc-devel] dominant short strings in compiler source

2006-05-16 Thread Michael Van Canneyt
On Tue, 16 May 2006, L505 wrote: > I'm really surprised about the amount of short strings used on the FPC > compiler source, > such as short strings being used even to pass to Exec() when the linker is > called on > windows. This is obviously why for the past few years I've had all sorts of >

Re: [fpc-devel] darwin - rtl include files

2006-05-16 Thread Michael Van Canneyt
On Tue, 16 May 2006, Micha Nelissen wrote: > On Tue, 16 May 2006 16:11:43 +0200 (Romance Daylight Time) > Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > IMHO: > > Eventually, you'll have to switch to parsing the .ppu files for some parts. > > Do .

Re: [fpc-devel] darwin - rtl include files

2006-05-17 Thread Michael Van Canneyt
On Wed, 17 May 2006, Marco van de Voort wrote: Most logical would be to store the conditionals that pkg is compiled with in package.fpc ? Well, the point is, you could get all source pathes from the currently valid ppus. If they are compiled on this system? Most people use precompiled FPC

Re: [fpc-devel] darwin - rtl include files

2006-05-17 Thread Michael Van Canneyt
On Wed, 17 May 2006, Vincent Snijders wrote: Michael Van Canneyt schreef: On Wed, 17 May 2006, Marco van de Voort wrote: Most logical would be to store the conditionals that pkg is compiled with in package.fpc ? Well, the point is, you could get all source pathes from the currently

Re: [fpc-devel] GetPropValue and enumerated types (Bug #4738 follow-up)

2006-05-17 Thread Michael Van Canneyt
On Wed, 17 May 2006, Graeme Geldenhuys wrote: This is a follow-up on Bug #4738. I did more testing and have a clearer idea of why it throws an EVariantError exception. GetPropValue doesn't handle enumerated types correctly when GetPropValue gets called with the 3rd parameter (PreferStrings)

Re: [fpc-devel] darwin - rtl include files

2006-05-17 Thread Michael Van Canneyt
On Wed, 17 May 2006, Mattias Gaertner wrote: On Wed, 17 May 2006 09:47:00 +0200 (Romance Daylight Time) Michael Van Canneyt <[EMAIL PROTECTED]> wrote: On Wed, 17 May 2006, Vincent Snijders wrote: Michael Van Canneyt schreef: On Wed, 17 May 2006, Marco van de Voort wrote:

Re: [fpc-devel] GetPropValue and enumerated types (Bug #4738 follow-up)

2006-05-17 Thread Michael Van Canneyt
On Wed, 17 May 2006, Graeme Geldenhuys wrote: Hi Michael, I do understand that variants are slow, but unfortunately I can't get rid of them. I use the tiOPF framework and in the framework we created a generic Assign method in our base class used for all objects. I thought it came from ther

Re: [fpc-devel] GetPropValue and enumerated types (Bug #4738 follow-up)

2006-05-17 Thread Michael Van Canneyt
On Wed, 17 May 2006, Graeme Geldenhuys wrote: Even so: > This Assign() method does not need to use a variant, but can still offer > the same functionality as it does now. It just means that the method > needs to determine the actual type itself... tiOPF has done a lot to get rid of using vari

<    5   6   7   8   9   10   11   12   13   14   >