Re: [PATCH][UPDATED] support for xz compression format

2010-02-16 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Szymon Janc wrote: > Dnia wtorek 16 luty 2010 o 22:11:50 richardvo...@gmail.com napisał(a): > > >> Since gzip format allows decompression in pipeline mode, it's a >> virtual certainty that nothing from the footer is required for >> processing. >> >> And of course this is true of the xz format as

Re: [PATCH][UPDATED] support for xz compression format

2010-02-16 Thread Szymon Janc
Dnia wtorek 16 luty 2010 o 22:11:50 richardvo...@gmail.com napisał(a): > Since gzip format allows decompression in pipeline mode, it's a > virtual certainty that nothing from the footer is required for > processing. > > And of course this is true of the xz format as well. I quote from the > docu

Re: [PATCH][UPDATED] support for xz compression format

2010-02-16 Thread richardvo...@gmail.com
On Tue, Feb 16, 2010 at 3:28 PM, Seth Goldberg wrote: > y > > Quoting richardvo...@gmail.com, who wrote the following on Tue, 16 Feb 2010: > >> On Tue, Feb 16, 2010 at 12:58 PM, Szymon Janc wrote: >>> >>> Dnia wtorek 16 luty 2010 o 14:44:45 Vladimir 'φ-coder/phcoder' Serbinenko >>> napisał(a): >>

Re: [PATCH][UPDATED] support for xz compression format

2010-02-16 Thread Seth Goldberg
y Quoting richardvo...@gmail.com, who wrote the following on Tue, 16 Feb 2010: On Tue, Feb 16, 2010 at 12:58 PM, Szymon Janc wrote: Dnia wtorek 16 luty 2010 o 14:44:45 Vladimir 'φ-coder/phcoder' Serbinenko napisał(a): + #define VLI_MAX_DIGITS 9 Are you sure it's 9? It gives only 63 and not

Re: [PATCH][UPDATED] support for xz compression format

2010-02-16 Thread richardvo...@gmail.com
On Tue, Feb 16, 2010 at 12:58 PM, Szymon Janc wrote: > Dnia wtorek 16 luty 2010 o 14:44:45 Vladimir 'φ-coder/phcoder' Serbinenko > napisał(a): > >> + #define VLI_MAX_DIGITS 9 >> Are you sure it's 9? It gives only 63 and not 64 bits > It is a limitation of xz format. > >> +   if (! test_header(file

Re: [PATCH][UPDATED] support for xz compression format

2010-02-16 Thread Szymon Janc
Dnia wtorek 16 luty 2010 o 14:44:45 Vladimir 'φ-coder/phcoder' Serbinenko napisał(a): > + #define VLI_MAX_DIGITS 9 > Are you sure it's 9? It gives only 63 and not 64 bits It is a limitation of xz format. > + if (! test_header(file) || ! test_footer(file)) > + { > Seeking to the end of file i

Re: [PATCH][UPDATED] support for xz compression format

2010-02-16 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Szymon Janc wrote: > On Tue, 16 Feb 2010 14:12:04 +0100 Vladimir 'φ-coder/phcoder' Serbinenko > wrote > > >> First of all: could you use unified diff? (-u option) >> > > Sure, will use that in future. > > >> grub2-1.98~experimental.20100120/conf/xzembed.rmk >> I don't see a need for e

Re: [PATCH][UPDATED] support for xz compression format

2010-02-16 Thread Szymon Janc
On Tue, 16 Feb 2010 14:12:04 +0100 Vladimir 'φ-coder/phcoder' Serbinenko wrote > First of all: could you use unified diff? (-u option) Sure, will use that in future. > grub2-1.98~experimental.20100120/conf/xzembed.rmk > I don't see a need for either separate .rmk or separate module > > + sta

Re: [PATCH][UPDATED] support for xz compression format

2010-02-16 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Szymon Janc wrote: > Hello, > > New version of xz compression patch. > Changes since then: > - it works now :-) > - decoder dictionary can be enlarge up to DICT_BIT_SIZE defined in xz_lzma2.h > (currently set to 30 = 128MiB) > - xz uses crc32 from libgcrypt-grub, internal crc implementation remove

[PATCH][UPDATED] support for xz compression format

2010-02-04 Thread Szymon Janc
Hello, New version of xz compression patch. Changes since then: - it works now :-) - decoder dictionary can be enlarge up to DICT_BIT_SIZE defined in xz_lzma2.h (currently set to 30 = 128MiB) - xz uses crc32 from libgcrypt-grub, internal crc implementation removed - removed linux kernel related c