[Lazarus] FPC, gzip and stream

2012-02-03 Thread silvioprog
Hello, How to use gzip in stream with FPC? Only deflate: (...) var S: string; VDeflate: TCompressionStream; begin VDeflate := TCompressionStream.Create(clMax, Contents); try S := 'Hello'; VDeflate.Write(Pointer(S)^, Length(S)); finally VDeflate.Free;

[Lazarus] Lazarus on SPARC/Solaris

2012-02-03 Thread Mark Morgan Lloyd
Just a brief note to say that I've checked Lazarus trunk (35112) with FPC 2.6.0 on a SPARC system running Solaris 10 and basic operation appears OK. I've not investigated the compiler in sufficient depth to determine whether recent code generation patches have been incorporated, elsewhere I'm

Re: [Lazarus] Poor man's resource code available and CheckRide update: now with editor

2012-02-03 Thread Kostas Michalopoulos
> some help on the forum, I could implement an alternative way of storing > files in an executable file (basically it just appends them with a footer). This is actually a very common method that is used by installers and other self-extracting programs frequently (especially under Linux). UPX ca

[Lazarus] Creating config files in primary config path for bootstrap installer

2012-02-03 Thread Reinier Olislagers
Hi list, Thanks to help from the FPC list, my FPCUp FPC/Lazarus SVN installer/updater seems to take a plain vanilla Windows machine and - download+install an SVN client - download the binutils (make etc) - download/update FPC from SVN and compile/install it - download/update Lazarus from SVN - com

Re: [Lazarus] Run 3 extrenal program, pipeline

2012-02-03 Thread Sven Barth
Am 02.02.2012 12:00, schrieb xml...@seznam.cz: Hi, I need run 3 external program and redirected output: first | second | third For example: df -hT | grep -v -E 'tmpfs|ecryptfs' | grep 'sda2' it gives /dev/sda2 ext4 19G 11G 7,6G 58% / I use this http://wiki.lazarus.freepasca

[Lazarus] Currently selected build mode shown in caption?

2012-02-03 Thread Stootch
Can you guys make a small change and display currently selected build mode on Lazarus' main form caption? Next to project's name perhaps? TIA. Artur 'Stootch' Stuczynski -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.laz

Re: [Lazarus] Run 3 extrenal program, pipeline

2012-02-03 Thread Lukasz Sokol
On 02/02/2012 17:26, Lukasz Sokol wrote: > On 02/02/2012 11:00, xml...@seznam.cz wrote: >> Hi, I need run 3 external program and redirected output: first | second | >> third >> >> For example: >>df -hT | grep -v -E 'tmpfs|ecryptfs' | grep 'sda2' >> it gives >>/dev/sda2 ext4 19G