Commit Graph

10 Commits

Author SHA1 Message Date
Petr Chornyj
7d595e33c8 2010-12-12 11:50 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* contrib/hblzf/3rd/liblzf/Changes
  * contrib/hblzf/3rd/liblzf/crc32.h
  * contrib/hblzf/3rd/liblzf/LICENSE
  * contrib/hblzf/3rd/liblzf/lzf.h
  * contrib/hblzf/3rd/liblzf/lzf_c.c
  * contrib/hblzf/3rd/liblzf/lzf_d.c
  * contrib/hblzf/3rd/liblzf/lzfP.h
  * contrib/hblzf/3rd/liblzf/README
    + Set svn:eol-style=native
  * contrib/hblzf/3rd/liblzf/lzf.hbc
  * contrib/hblzf/3rd/liblzf/lzf.hbp
  * contrib/hblzf/hblzf.c
  * contrib/hblzf/hblzf.hbc
  * contrib/hblzf/hblzf.hbp
  * contrib/hblzf/tests/hbmk.hbm
  * contrib/hblzf/tests/test.prg
  * contrib/hblzf/tests/test2.prg
    ! Fixed SVN ID (I hope) and set svn:eol-style=native
2010-12-12 09:48:08 +00:00
Viktor Szakats
6785f0b732 2010-12-11 16:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
    ! Disabled HB_GTI_PALETTE support for MSVC 2005/2008
      versions combined with certain (older) SDK versions.
      The symptom is missing NDDI_* detection support, yet
      present CONSOLE_SCREEN_BUFFER_INFOEX structure.
      (Most pbly SDK 6.x. SDK 7.0a is fine)
      Thanks to Andi for the tests.

  * config/hbc.cfg
    + Few tweaks to make it more Harbour compliant.
      F.e. for hblzf.c it now generated perfect result.

  * contrib/hblzf/hblzf.c
  * contrib/hblzf/tests/test.prg
    ! Added missing EOL at EOF.
    ! Restored my formatting fixes from previous commits.
    ! Refixed wrong formatting. (for the ~5th time)
    - Deleted synonym added in previous commit.
      I suggest to write a few words of reasoning for
      changes not having obviously apparent reason.
      It's brand new lib, so we should decide about _one_
      (the best) initial name and stick to it. Let's use
      synonyms if we later find out that we did some
      mistakes in the past, or other special occasion.
2010-12-11 15:21:47 +00:00
Petr Chornyj
ef92bdfb47 2010-12-11 14:50 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* contrib/hblzf/hblzf.c
  * contrib/hblzf/tests/test.prg
    ! Changed syntax of HB_LZF_DECOMPRESS() to
      HB_LZF_DECOMPRESS( <cData>, [<nDstBufLen>|<@cBuffer>], [<@nResult>] )
      => <cDecompressedData> or NIL on Error
      (suggested by Przemek)
    + Added HB_LZF_UNCOMPRESS() synonym for HB_LZF_DECOMPRESS()
  * contrib/hblzf/hblzf.ch
    + Added HB_LZF_DEFAULT_BUFFSIZE macro
2010-12-11 12:54:40 +00:00
Viktor Szakats
d62f8dc5a8 2010-12-10 20:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hblzf/tests/test.prg
  * contrib/hblzf/hblzf.c
    ! Turns out none of the LZF_[DE]COMPRESS() functions are
      pure wrappers. Readded HB_ prefix to both.
2010-12-10 19:19:23 +00:00
Viktor Szakats
9edef1b7dd 2010-12-10 15:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hblzf/tests/test.prg
  * contrib/hblzf/hblzf.c
  * contrib/hblzf/hblzf.hbp
  + contrib/hblzf/hblzf.ch
    * Re-renamed HB_LZF_*() pure wrapper functions to LZF_*().
    % Deleted unnecessary HB_SIZE casts.
    ! Fixed formatting to Harbour standard in new code.
    ! Added HB_ prefix to locally rolled macros.
    + Moved locally rolled macros to separate .ch file.
    ! Fixed test to use hblzf.ch instead of repeating macro definitions.
    ; TOFIX: errno.h. Replace with HB_LZF_* values?

  * tests/wvtext.prg
    ! Fixed -w3 warnings.
2010-12-10 14:16:07 +00:00
Petr Chornyj
5fa82b6bc6 2010-12-10 15:30 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* contrib/hblzf/hblzf.c
  * contrib/hblzf/tests/test.prg
    * Renamed LZF_COMPRESS() to HB_LZF_COMPRESS()
    ! Changed syntax of HB_LZF_COMPRESS() to 
      HB_LZF_COMPRESS( <cData>, [<nDstBufLen>|<@cBuffer>], [<@nResult>] )
      => <cCompressedData> or NIL on Error
      (suggested by Przemek)
    + Added HB_LZF_COMPRESSBOUND( <cData> | <nDataLen> ) ->
      <nMaxCompressLen>
      (suggested by Przemek)
2010-12-10 13:38:00 +00:00
Viktor Szakats
15c3b055c9 2010-12-10 09:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hblzf/hblzf.c
  * contrib/hblzf/tests/test.prg
    + Changed delta and buffer size settings to be extra parameters
      in compress/decompress calls instead of rolling separate setter/getters
      and storing them in TSD.
2010-12-10 08:52:59 +00:00
Viktor Szakats
7acede5f22 2010-12-09 15:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hblzf/tests/test.prg
  * contrib/hblzf/hblzf.c
    * Changed HB_LZF_OPTIMIZED_FOR() to HB_LZF_OPTIMIZED_FOR_SPEED()
      and to return logical value.
2010-12-09 14:34:30 +00:00
Viktor Szakats
d3127d3d63 2010-12-09 11:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hblzf/hblzf.c
  * contrib/hblzf/tests/test.prg
    ! Rearranged to not have code after hb_err*() call.
    % Deleted HB_IS*() checks before hb_stor*() call. (unnecessary)
    ! Fixed formatting to comply with Harbour style. Pls don't
      reformat it with local style.
    + Added TOFIX: eliminate static vars for MT compliance
    + Added TOFIX: eliminate reliance on errno.h, as it's not present on
      some systems.
    * Renamed HB_LZF_DECOMPRESS()/HB_LZF_COMPRESS() to not have HB_
      prefix. (HB_ prefix is only needed for functions which are not
      strict wrappers)
    ! Fixed HB_LZF_DELTA(), HB_LZF_BUFFERSIZE() to only set settings
      when parameter was passed. To reset to default value: pass NIL.
      This makes it possible to read these values without resetting them.
    ! Fixed LZF_DECOMPRESS() to allocate space for termination byte,
      this also fixes allocating zero bytes when empty string is passed.

  * contrib/hblzf/hblzf.hbp
    * Minor formatting.

  * INSTALL
    ! Restored my latest change. Please ALWAYS update before commit.
      (and needless to say, work in local SVN sandbox, instead of
      copying in changes from elsewhere)
2010-12-09 10:47:20 +00:00
Petr Chornyj
1089adbf03 2010-12-09 12:10 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* contrib/3rd/sqlite3/sqlite3.c
  * contrib/3rd/sqlite3/sqlite3.h
    * Update sqlite to 3.7.4.
  + contrib/3rd/sqlite3/sqlite3ext.h
    + Added sqlite3ext.h
      It's needed for some 3rd sqlite extension, f.e. ICU
  * contrib/3rd/sqlite3/sqlite3.hbp
    * Update sqlite to 3.7.4.
    + Added -cflag=-DSQLITE_ENABLE_COLUMN_METADATA
  * contrib/hbsqlit3/hbsqlit3.c
    + Added sqlite3_blob_reopen(), sqlite3_stmt_readonly()
    + sqlite3_enable_load_extension() function guarded with SQLITE_OMIT_LOAD_EXTENSION
      It's needed for some 3rd sqlite extension, 
      f.e. SQLCIPHER for security reasons

  + contrib/hblzf
  + contrib/hblzf/3rd
  + contrib/hblzf/3rd/liblzf
  + contrib/hblzf/3rd/liblzf/Changes
  + contrib/hblzf/3rd/liblzf/crc32.h
  + contrib/hblzf/3rd/liblzf/LICENSE
  + contrib/hblzf/3rd/liblzf/lzf.h
  + contrib/hblzf/3rd/liblzf/lzf.hbc
  + contrib/hblzf/3rd/liblzf/lzf.hbp
  + contrib/hblzf/3rd/liblzf/lzf_c.c
  + contrib/hblzf/3rd/liblzf/lzf_d.c
  + contrib/hblzf/3rd/liblzf/lzfP.h
  + contrib/hblzf/3rd/liblzf/README
  + contrib/hblzf/hblzf.c
  + contrib/hblzf/hblzf.hbc
  + contrib/hblzf/hblzf.hbp
  + contrib/hblzf/tests
  + contrib/hblzf/tests/hbmk.hbm
  + contrib/hblzf/tests/test.prg
  + contrib/hbplist
  * contrib/hbplist
  * INSTALL
    + added wrapper to liblzf library (LZF compression).
2010-12-09 10:17:08 +00:00