Re: [fpc-pascal] data driven fpc unit tests

2006-08-18 Thread Vincent Snijders
Dean Zobec wrote: Vincent Snijders pravi: Hi, Suppose I have a component TMyDataProcessor with the following declaration: type TMyDataProcessor = class function process(const s: string) : string; end; Now I want to test it with different strings, but instead of hard coding them I put t

Re: [fpc-pascal] data driven fpc unit tests

2006-08-18 Thread Dean Zobec
Vincent Snijders pravi: > Hi, > > Suppose I have a component TMyDataProcessor with the following declaration: > > type > TMyDataProcessor = class > function process(const s: string) : string; > end; > > Now I want to test it with different strings, but instead of hard coding > them I pu

[fpc-pascal] data driven fpc unit tests

2006-08-18 Thread Vincent Snijders
Hi, Suppose I have a component TMyDataProcessor with the following declaration: type TMyDataProcessor = class function process(const s: string) : string; end; Now I want to test it with different strings, but instead of hard coding them I put them in a inifile, so I can easily extend

Re: [fpc-pascal] Free Pascal widget set

2006-08-18 Thread Darius Blaszijk
It looks like a very nice job. I like the auto-size for translation. I Yeah the layout managers are great!! I always liked the idea looking at Glade and Qt. Just a note, but the "auto-sizing" of components as depicted in the fig2. example is perfectly possible with Anchoring already. There'

Re: [fpc-pascal] TCP Server

2006-08-18 Thread Andreas Berger
OK, I downloaded the synapse, but I don't know how to use it to make a TCP server. I need to do a server that listen on a specific port. After connected the client will send some commands to the server that will make some actions and return the results to the client. Basicly the client w

Re: [fpc-pascal] TCP Server

2006-08-18 Thread Amir Aavani
They are in Lib folder. I myself once tried the synapse but I could not figure it out. What you want to do is not a hard one, I have written some programs in this style all using Indy. >> Why indy? You may use fpc unit "sockets" for it. May be because of OOP (at least about Indy). Thanks Amir,

Re: [fpc-pascal] Free Pascal widget set

2006-08-18 Thread Graeme Geldenhuys
It looks like a very nice job. I like the auto-size for translation. I Yeah the layout managers are great!! I always liked the idea looking at Glade and Qt. wish you success in this project. :) It might become the default widgetset of lazarus one day :) That would be nice - consistent dialo

Re: [fpc-pascal] Free Pascal widget set

2006-08-18 Thread Graeme Geldenhuys
On 8/18/06, memsom <[EMAIL PROTECTED]> wrote: GDI has a wider audiance. GDI+ is not an "out of the box" option for most legacy (i.e. prior to XP) systems. Using GDI, it has the possibility to run under ReactOS and WINE too. That's correct. The Win32 demo apps run fine under WINE. It should a

Re: [fpc-pascal] Free Pascal widget set

2006-08-18 Thread Alexandre Leclerc
It looks like a very nice job. I like the auto-size for translation. I wish you success in this project. :) It might become the default widgetset of lazarus one day :) Best regards. -- Alexandre Leclerc ___ fpc-pascal maillist - fpc-pascal@lists.free

Re: [fpc-pascal] Free Pascal widget set

2006-08-18 Thread memsom
>> Why not using GDI+ instead of GDI? > > It used FPC's windows.pp unit and whatever API's are defined in it. GDI has a wider audiance. GDI+ is not an "out of the box" option for most legacy (i.e. prior to XP) systems. Using GDI, it has the possibility to run under ReactOS and WINE too.

Re: [fpc-pascal] PascalScript / FPC: parameters problems (need internals gurus I think)

2006-08-18 Thread Alexandre Leclerc
2006/8/8, Alexandre Leclerc <[EMAIL PROTECTED]>: The actual procedure that is called. It does some asm processing and then calls the MyAllMethodsHandler2 that works with parameters. Maybe this is there that there is a problem? (This is all in the uPSRuntime.pas file) For the records, issue has

Re: [fpc-pascal] TCP Server

2006-08-18 Thread Aleksey Y. Ulasevich \(STAKANOV\)
I downloaded the synapse, but I don't know how to use it to make a TCP server. I need to do a server that listen on a specific port. After connected the client will send some commands to the server that will make some actions and return the results to the client. Basicly the client will

Re: [fpc-pascal] Free Pascal widget set

2006-08-18 Thread Graeme Geldenhuys
Why not using GDI+ instead of GDI? It used FPC's windows.pp unit and whatever API's are defined in it. Regards, - Graeme - ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] TCP Server

2006-08-18 Thread Fabrício F. Kammer
OK, I downloaded the synapse, but I don't know how to use it to make a TCP server. I need to do a server that listen on a specific port. After connected the client will send some commands to the server that will make some actions and return the results to the client. Basicly the client wil

Re: [fpc-pascal] Free Pascal widget set

2006-08-18 Thread Jilani Khaldi
Graeme Geldenhuys wrote: Hi, As I mentioned before, I starting working on a Free Pascal widget set not relying on any large GUI libraries like Qt, GTK, etc... It uses Xlib (Linux) and GDI (Windows) directly. Why not using GDI+ instead of GDI? jk _

Re: [fpc-pascal] Free Pascal widget set

2006-08-18 Thread Michael Van Canneyt
On Fri, 18 Aug 2006, Graeme Geldenhuys wrote: Hi, As I mentioned before, I starting working on a Free Pascal widget set not relying on any large GUI libraries like Qt, GTK, etc... It uses Xlib (Linux) and GDI (Windows) directly. My second rewrite is based on the dormant fpGUI and fpGFX proje

[fpc-pascal] Free Pascal widget set

2006-08-18 Thread Graeme Geldenhuys
Hi, As I mentioned before, I starting working on a Free Pascal widget set not relying on any large GUI libraries like Qt, GTK, etc... It uses Xlib (Linux) and GDI (Windows) directly. My second rewrite is based on the dormant fpGUI and fpGFX projects, so you can say it will become the next versio

Re: [fpc-pascal] TCP Server

2006-08-18 Thread Adrian Veith
Use Synapse instead of Indy. After I have found Synapse, I dumped Indy. goto http://www.ararat.cz/synapse/ Lukas has done a very fine tool !! Cheers, Adrian. Fabrício F. Kammer schrieb: Hi all, I need to developer an application to act as a tcp server that be compatible with windows/linux

Re: [fpc-pascal] TCP Server

2006-08-18 Thread Marco van de Voort
> Thanks Amir, I saw this, but I don't have the packets bellow on the Indy > 10 installation :( > > * Open and compile indysystemlaz.lpk > * Open and compile indycorelaz.lpk > * Open and compile indyprotocolslaz.lpk > * Open, compile and install dclindycorelaz.lpk > * Op