Viktor Szakats 54c7958b7d 2013-01-18 04:31 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbmzip/3rd/minizip/minizip.dif
  * contrib/hbmzip/3rd/minizip/zip.c
  * contrib/hbmzip/mzip.c
    % eliminated part of local minizip patch by using
      newer API flavor and passing version_made_by value
      in interface code.

  * contrib/hbmzip/mzip.c
    % use sizeof() instead of repeating HB_PATH_MAX
    + use larger than HB_PATH_MAX buffer to read out
      filenames stored in zip file entries. (useful when
      using unicode filenames which are stored in UTF-8)
    + added support for .zip unicode filename and comment
      support introduced in PKZIP 6.3.2 [dated 2007] standard:
         [http://www.pkware.com/documents/casestudies/APPNOTE.TXT]
      hb_zipFileCreate()/hb_zipStoreFile()/hb_zipStoreFileHandle()
        will now accept a new last parameter <lUnicode>,
        which when .T. will force to store the filename/comment
        in UTF8 in the .zip file.
      hb_unzipFileInfo()/hb_unzipExtractCurrentFile()
        will now honor filenames/comments stored in unicode
        mode and make any necessary conversions.
    ; Notice that not every .zip tool support this relatively
      new PKZIP format extension. Also notice that before that
      extension the only officially supported codepage was
      CP437 [See D.1 in Appendix D], which means no accented
      chars. Whatever else CP used, the behavior becomes
      application dependent and may or may not work as expected.
    ; Test/review/whatever

  * contrib/hbmzip/tests/myunzip.prg
    + standardized date format
    + switched internally to unicode to be able to handle
      unicode code to work best with unicode zips.

  * contrib/hbmzip/tests/myzip.prg
    + new '--unicode' switch to enable storing filenames
      in unicode by using PKZIP 6.3 .zip format and
      unicode mode internally.
2013-01-18 03:41:30 +00:00
Description
Harbour Core — Reference source for Five development
172 MiB
Languages
C 80.3%
xBase 17.8%
Makefile 0.6%
C++ 0.4%
Harbour 0.4%
Other 0.3%