Re: [fpc-devel] Difference between S_L and S_IL topsize

2010-11-24 Thread Florian Klaempfl
Am 24.11.2010 00:02, schrieb Joshua Phillips: Hello. I'm trying to understand fpc's assembler's internals. In fpcsrc/compiler/i386/cpubase.inc the enumertaion topsize is defined. The elements S_B, S_W, S_L and S_Q correspond to byte, word, longword and quadword. The elements S_IB, S_IW,

Re: [fpc-devel] x11/xrender.pas works for anyone?

2010-11-24 Thread Jonas Maebe
On 23 Nov 2010, at 18:07, Felipe Monteiro de Carvalho wrote: I am converting a couple of X11 extensions headers and I see that xrender.pas already exists in Free Pascal, but it links the XRender functions to libX11.so In the systems which I tested, this is wrong and will never link. Basically

[fpc-devel] StdOut capture for FPC RTL

2010-11-24 Thread Anton Kavalenka
Dear All. Currently to implement logger we use the following approach (the code was implemented for Delphi/Kylix/FPC). Logger is intended for displaying in the GUI outputs of several threads and child processes and also for storage into internal bases. Logic is the following: Get stdout

Re: [fpc-devel] StdOut capture for FPC RTL

2010-11-24 Thread Michael Van Canneyt
On Wed, 24 Nov 2010, Anton Kavalenka wrote: Dear All. Currently to implement logger we use the following approach (the code was implemented for Delphi/Kylix/FPC). Logger is intended for displaying in the GUI outputs of several threads and child processes and also for storage into internal

Re: [fpc-devel] StdOut capture for FPC RTL

2010-11-24 Thread Thaddy
On 24-11-2010 21:32, Michael Van Canneyt wrote: On Wed, 24 Nov 2010, Anton Kavalenka wrote: Get stdout handle (duplicate it under linux), create pipe, replace the stdout (keeping the old stdout) for current process with write handle of pipe, There are following problems with FPC Under