Re: [xHarbour-developers] 2008-07-30 13:33 UTC+0100 Miguel AngelMarchuet <[EMAIL PROTECTED]>

2008-07-31 Thread Miguel Angel Marchuet
Enrico Maria Giordano escribió:
> 
> -Messaggio Originale- Da: "Miguel Angel Marchuet" 
> <[EMAIL PROTECTED]>
> A: "Luiz Rafael Culik Guimaraes" <[EMAIL PROTECTED]>
> Cc: "xharbour developer list" 
> Data invio: giovedì 31 luglio 2008 18.36
> Oggetto: Re: [xHarbour-developers] 2008-07-30 13:33 UTC+0100 Miguel 
> AngelMarchuet <[EMAIL PROTECTED]>
> 
> 
>> The exe with this library is 300kb lower aprox.
> 
> But the API seems much more complex, or am I wrong?
> 

I little ... I agree

but you can see the examples of use.

by the moment I'm very happy when i restore my zip backups
80% more quick.

Best regards,
Miguel Angel Marchuet

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] 2008-07-30 13:33 UTC+0100 Miguel AngelMarchuet <[EMAIL PROTECTED]>

2008-07-31 Thread Miguel Angel Marchuet
The exe with this library is 300kb lower aprox.
and 80% more quick decompresing.

675 kb hbzip.lib
35 kb  hbmzip.lib

You can test it, yourself.

Nobody is forced to use the new hbmzip.lib

Best regards,
Miguel Angel Marchuet

Luiz Rafael Culik Guimaraes escribió:
> Miguel
> 
> Do we realy need this?
> you are duplicating existing xharbour functionality
> 
> Regards
> Luiz
> - Original Message - 
> From: "Miguel Angel Marchuet" <[EMAIL PROTECTED]>
> To: "xharbour developer list" 
> Sent: Wednesday, July 30, 2008 8:38 AM
> Subject: [xHarbour-developers] 2008-07-30 13:33 UTC+0100 Miguel 
> AngelMarchuet <[EMAIL PROTECTED]>
> 
> 
>> + Added mzip contrib library
>>
>> Best regards,
>> Miguel Angel Marchuet
>>
>> P.D. README file:
>>
>> This folder contains compression related files including:
>>  * zip file support based on minizip library 
>> (http://www.winimage.com/zLibDll/minizip.html)
>>including:
>>* minizip version 1.01e source files
>>* wrapper functions for minizip
>>* some additionl functions to provide a higher level API for zip files
>>
>> Some small changes (to fix compile time warning and errors) are applied to 
>> original
>> source of minizip 1.01e:
>>
>>   * harbour/contrib/hbzlib/zip.c
>> * added forward definitions of allocate_new_datablock(),
>>   free_datablock(), init_linkedlist(), add_data_in_datablock(),
>>   ziplocal_TmzDateToDosDate()
>> * pacified warnings of unused args dosDate and crcForCrypting
>> * fixed 2 warnings: assigned value is not used. See, TOFIX
>>   comment for one of the fixes
>> * fixed BCC warning "function call with no prototype" by changing
>>local int zipFlushWriteBuffer(zi)
>>   zip_internal* zi;
>>{
>>   to
>>local int zipFlushWriteBuffer(zip_internal* zi)
>>{
>>   I expected this code be equivavlent! ??? :/
>>
>>   * harbour/contrib/hbzlib/unzip.c
>> * added forward definitions of strcmpcasenosensitive_internal(),
>>   unzlocal_DosDateToTmuDate(), 
>> unzlocal_CheckCurrentFileCoherencyHeader()
>> * fixed 8 warnings: assigned value is not used. See, TOFIX
>>   comment for one of the fixes
>>
>>   * harbour/contrib/hbzlib/ioapi.c
>> * pacified 7 warnings: unused args opaque
>> * fixed warning: assigned value is not used
>>
>>
>> Harbour functions to mange ZIP files:
>> =
>>
>> HB_ZipOpen( cFileName, [ iMode = HB_ZIP_CREATE ],
>> [ @cGlobalComment ] ) --> hZip
>> HB_ZipClose( hZip, [ cGlobalComment ] ) --> nError
>> HB_ZipFileCreate( hZip, cZipName, dDate, cTime,
>>   nInternalAttr, nExternalAttr,
>>   [ nMethod = HB_ZLIB_METHOD_DEFLATE ],
>>   [ nLevel = HB_ZLIB_COMPRESSION_DEFAULT ],
>>   [ cPassword ], [ cComment ] ) --> nError
>> HB_ZipFileWrite( hZip, cData [, nLen ] ) --> nError
>> HB_ZipFileClose( hZip ) --> nError
>> HB_ZipStoreFile( hZip, cFileName, [ cZipName ], ;
>>  [ cPassword ], [ cComment ] ) --> nError
>>
>>
>> HB_UnzipOpen( cFileName ) --> hUnzip
>> HB_UnzipClose( hUnzip ) --> nError
>> HB_UnzipGlobalInfo( hUnzip, @nEntries, @cGlobalComment ) --> nError
>> HB_UnzipFileFirst( hUnzip ) --> nError
>> HB_UnzipFileNext( hUnzip ) --> nError
>> HB_UnzipFilePos( hUnzip ) --> nPosition
>> HB_UnzipFileGoto( hUnzip, nPosition ) --> nError
>> HB_UnzipFileInfo( hUnzip, @cZipName, @dDate, @cTime,
>>   @nInternalAttr, @nExternalAttr,
>>   @nMethod, @nSize, @nCompressedSize,
>>   @cComment ) --> nError
>> HB_UnzipFileOpen( hUnzip, [ cPassword ] ) --> nError
>> HB_UnzipFileRead( hUnzip, @cBuf [, nLen ] ) --> nRead
>> HB_UnzipFileClose( hUnzip ) --> nError
>> HB_UnzipExtractCurrentFile( hZip, [ cFileName ], [ cPassword ] ) --> 
>> nError
>>
>>
>> HB_ZipDeleteFile( cZipFile, cFileMask ) --> nError
>>
>> -
>> This SF.Net email is sponsored by the Moblin Your Move Developer's 
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great 
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the 
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> ___
>> xHarbour-developers mailing list
>> xHarbour-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/xharbour-developers
>>
> 
> 
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> xHarbour-developers mailing list
> xHarbour-de

Re: [xHarbour-developers] 2008-07-30 13:33 UTC+0100 Miguel AngelMarchuet <[EMAIL PROTECTED]>

2008-07-31 Thread Luiz Rafael Culik Guimaraes
Miguel

Do we realy need this?
you are duplicating existing xharbour functionality

Regards
Luiz
- Original Message - 
From: "Miguel Angel Marchuet" <[EMAIL PROTECTED]>
To: "xharbour developer list" 
Sent: Wednesday, July 30, 2008 8:38 AM
Subject: [xHarbour-developers] 2008-07-30 13:33 UTC+0100 Miguel 
AngelMarchuet <[EMAIL PROTECTED]>


>+ Added mzip contrib library
>
> Best regards,
> Miguel Angel Marchuet
>
> P.D. README file:
>
> This folder contains compression related files including:
>  * zip file support based on minizip library 
> (http://www.winimage.com/zLibDll/minizip.html)
>including:
>* minizip version 1.01e source files
>* wrapper functions for minizip
>* some additionl functions to provide a higher level API for zip files
>
> Some small changes (to fix compile time warning and errors) are applied to 
> original
> source of minizip 1.01e:
>
>   * harbour/contrib/hbzlib/zip.c
> * added forward definitions of allocate_new_datablock(),
>   free_datablock(), init_linkedlist(), add_data_in_datablock(),
>   ziplocal_TmzDateToDosDate()
> * pacified warnings of unused args dosDate and crcForCrypting
> * fixed 2 warnings: assigned value is not used. See, TOFIX
>   comment for one of the fixes
> * fixed BCC warning "function call with no prototype" by changing
>local int zipFlushWriteBuffer(zi)
>   zip_internal* zi;
>{
>   to
>local int zipFlushWriteBuffer(zip_internal* zi)
>{
>   I expected this code be equivavlent! ??? :/
>
>   * harbour/contrib/hbzlib/unzip.c
> * added forward definitions of strcmpcasenosensitive_internal(),
>   unzlocal_DosDateToTmuDate(), 
> unzlocal_CheckCurrentFileCoherencyHeader()
> * fixed 8 warnings: assigned value is not used. See, TOFIX
>   comment for one of the fixes
>
>   * harbour/contrib/hbzlib/ioapi.c
> * pacified 7 warnings: unused args opaque
> * fixed warning: assigned value is not used
>
>
> Harbour functions to mange ZIP files:
> =
>
> HB_ZipOpen( cFileName, [ iMode = HB_ZIP_CREATE ],
> [ @cGlobalComment ] ) --> hZip
> HB_ZipClose( hZip, [ cGlobalComment ] ) --> nError
> HB_ZipFileCreate( hZip, cZipName, dDate, cTime,
>   nInternalAttr, nExternalAttr,
>   [ nMethod = HB_ZLIB_METHOD_DEFLATE ],
>   [ nLevel = HB_ZLIB_COMPRESSION_DEFAULT ],
>   [ cPassword ], [ cComment ] ) --> nError
> HB_ZipFileWrite( hZip, cData [, nLen ] ) --> nError
> HB_ZipFileClose( hZip ) --> nError
> HB_ZipStoreFile( hZip, cFileName, [ cZipName ], ;
>  [ cPassword ], [ cComment ] ) --> nError
>
>
> HB_UnzipOpen( cFileName ) --> hUnzip
> HB_UnzipClose( hUnzip ) --> nError
> HB_UnzipGlobalInfo( hUnzip, @nEntries, @cGlobalComment ) --> nError
> HB_UnzipFileFirst( hUnzip ) --> nError
> HB_UnzipFileNext( hUnzip ) --> nError
> HB_UnzipFilePos( hUnzip ) --> nPosition
> HB_UnzipFileGoto( hUnzip, nPosition ) --> nError
> HB_UnzipFileInfo( hUnzip, @cZipName, @dDate, @cTime,
>   @nInternalAttr, @nExternalAttr,
>   @nMethod, @nSize, @nCompressedSize,
>   @cComment ) --> nError
> HB_UnzipFileOpen( hUnzip, [ cPassword ] ) --> nError
> HB_UnzipFileRead( hUnzip, @cBuf [, nLen ] ) --> nRead
> HB_UnzipFileClose( hUnzip ) --> nError
> HB_UnzipExtractCurrentFile( hZip, [ cFileName ], [ cPassword ] ) --> 
> nError
>
>
> HB_ZipDeleteFile( cZipFile, cFileMask ) --> nError
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's 
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great 
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the 
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> xHarbour-developers mailing list
> xHarbour-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xharbour-developers
> 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers