Re: [fpc-pascal] Archive libraries

2020-08-20 Thread Darius Blaszyk via fpc-pascal
On Thu, Aug 20, 2020 at 5:58 PM Tomas Hajny via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > > bzip2 is directly supported in FPC packages as well. > I had a second look at the bzip2 unit. Unless I am missing something this unfortunately looks to be a decompression only implementation!

Re: [fpc-pascal] Archive libraries

2020-08-20 Thread Darius Blaszyk via fpc-pascal
> As a last resort, one might invoke the required archiver > executable, passing to it any necessary parameters. Far > Manager's MultiArc universal plugin works exactly that way, > and is easily configurable via invocation patterns with > macros. > I have done so for the xz format already. The

Re: [fpc-pascal] Archive libraries

2020-08-20 Thread Travis Siegel via fpc-pascal
There's also bzip2 and chm (though I don't really consider that an archive format).  I don't see anything for arj or rar though, both of which I use extensively.  Perhaps I'll see what I can do about those two.  arj should be easy enough, since unarj source is available, it should be

[fpc-pascal] Can't disable quoting in TStrings

2020-08-20 Thread Luis - SoftSAT Sistemas via fpc-pascal
Done https://bugs.freepascal.org/view.php?id=37605 Thanks Michael. -- L. Henrique 20.08.2020, 04:24, "Michael Van Canneyt" :On Wed, 19 Aug 2020, Luis - SoftSAT Sistemas via fpc-pascal wrote:  As stated in http://docwiki.embarcadero.com/Libraries/Tokyo/en/System.Classes.TStrings.QuoteChar setting

Re: [fpc-pascal] Archive libraries

2020-08-20 Thread Darius Blaszyk via fpc-pascal
I found it thanks! Any example for compressing to bzip2? The examples folder seems to contain two examples how to decompress, although the name would suggest otherwise. What about peazip, is there anyone on this mailing list that can tell how this software works? Does it have native pascal

Re: [fpc-pascal] Archive libraries

2020-08-20 Thread Anton Shepelev via fpc-pascal
Tomas Hajny: > There are 3rd party Pascal units supporting work with > other archive formats (mostly listing and decompression) > either using shared libraries, or containing direct > implementation of certain functionality (there has been > e.g. unrar.pas containing a port of the original C >

Re: [fpc-pascal] Archive libraries

2020-08-20 Thread Tomas Hajny via fpc-pascal
On 2020-08-20 17:10, Darius Blaszyk via fpc-pascal wrote: Hi, To my delight I found out that FPC actually provides quite a few archive handling libraries out of the box. Thanks to all that have contributed to that! So far I found: * tar * tar.gz * zip Are there any other formats out there

[fpc-pascal] Archive libraries

2020-08-20 Thread Darius Blaszyk via fpc-pascal
Hi all, To my delight I found out that FPC actually provides quite a few archive handling libraries out of the box. Thanks to all that have contributed to that! So far I found: * tar * tar.gz * zip Are there any other formats out there that I could use like out of the box? TIA! Darius

Re: [fpc-pascal] Can't disable quoting in TStrings

2020-08-20 Thread Michael Van Canneyt via fpc-pascal
On Wed, 19 Aug 2020, Luis - SoftSAT Sistemas via fpc-pascal wrote: As stated in http://docwiki.embarcadero.com/Libraries/Tokyo/en/System.Classes.TStrings.QuoteChar setting QuoteChar to null should disable the quote, but it won't work in FPC 3.2. Hm. Seems they introduced this in XE6.