Re: [fpc-devel] Macro Processing

2011-05-15 Thread Joerg Schuelke
Am Sat, 14 May 2011 20:46:30 +0200 (CEST) schrieb Daniël Mantione daniel.manti...@freepascal.org: Inlining is better that doing the same with macro's, so is the use of str/val better than macro tricks. Wherever you can! If I do some low level system work, it is possibly better to do it with a

Re: [fpc-devel] Macro Processing

2011-05-15 Thread Daniël Mantione
Op Sun, 15 May 2011, schreef Joerg Schuelke: Am Sat, 14 May 2011 20:46:30 +0200 (CEST) schrieb Daniël Mantione daniel.manti...@freepascal.org: Inlining is better that doing the same with macro's, so is the use of str/val better than macro tricks. Wherever you can! If I do some low level

Re: [fpc-devel] Macro Processing

2011-05-15 Thread Joerg Schuelke
Am Sun, 15 May 2011 13:26:03 +0200 (CEST) schrieb Daniël Mantione daniel.manti...@freepascal.org: Feel free to come up with examples and convince us. They need to be examples of code that is much more awkward to write without macro's. There are no examples. For one reason. If you program

[fpc-devel] HTTP client/server components committed.

2011-05-15 Thread Michael Van Canneyt
Hi, In the light of recent fppkg and fcl-web discussions: I've committed simple HTTP server (threaded or not) and HTTP Client components to FCL-Web. They work using the fcl-net ssockets unit. (for which a fix has been committed as well). Both use blocking sockets. The server component is

Re: [fpc-devel] Macro Processing

2011-05-15 Thread Joerg Schuelke
Am Sun, 15 May 2011 00:30:38 +0200 schrieb Hans-Peter Diettrich drdiettri...@aol.com: I see this point and it is one reason for me to think very careful about: Is it possible to do it without touching the scanner? Is the rest interesting enough to make it worth a further thinking. If not,

Re: [fpc-devel] Macro Processing

2011-05-15 Thread Jonas Maebe
On 15 May 2011, at 17:53, Joerg Schuelke wrote: The example with that small enumeration is not that bad, you think. The overhead is what?, somehow 52 bytes data and maybe hundert of code. You say its low, I say the example is very small too! The same can be done with 0 bytes additional

Re: [fpc-devel] HTTP client/server components committed.

2011-05-15 Thread Žilvinas Ledas
Hi, it's greate fpc has simple http client now ;) On 2011-05-15 19:13, Michael Van Canneyt wrote: if someone knows where this file can be found (or related information) on a Windows OS, please let me know. You can look at components\turbopower_ipro\iputils.pas - it has handling for mime

Re: [fpc-devel] HTTP client/server components committed.

2011-05-15 Thread Michael Van Canneyt
On Sun, 15 May 2011, Žilvinas Ledas wrote: Hi, it's greate fpc has simple http client now ;) On 2011-05-15 19:13, Michael Van Canneyt wrote: if someone knows where this file can be found (or related information) on a Windows OS, please let me know. You can look at