Commit Graph

15534 Commits

Author SHA1 Message Date
Viktor Szakats
36fbb5355d 2010-12-12 23:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/tests/encode.prg
    ! Fixed warning.
2010-12-12 22:13:15 +00:00
Viktor Szakats
161c0bea69 2010-12-12 22:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbexpat/hbexpat.hbc
    ! Minor correction for dynamic build.

  * INSTALL
    ! Typo in valgrind build config.
2010-12-12 21:10:00 +00:00
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
b12f96188a 2010-12-12 00:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_hbmk2_plugin.hbs
    + Showing -v output (version string) of detected QT tools in -info mode.

  * contrib/make.hbs
    ! Typo.
2010-12-12 00:00:15 +00:00
Viktor Szakats
3c06e8ef29 2010-12-11 23:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added uncrustify to tool lists.
2010-12-11 22:35:54 +00:00
Viktor Szakats
8a0e15bf88 2010-12-11 23:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/hbbtree/hb_btree.h
  * examples/hbbtree/hb_btree.c
    * Reformatted to Harbour standard using uncrustify tool.

  - examples/hbsqlit2
    - Deleted.
2010-12-11 22:32:25 +00:00
Viktor Szakats
fdb590cb97 2010-12-11 23:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/hbc.cfg
    + Enabled alignment of PP definitions.
    ! Tabs -> spaces.

  * contrib/hbmisc/spd.c
  * contrib/hbmisc/stringsx.c
    * Reformatted to Harbour standard using uncrustify tool.
2010-12-11 22:26:29 +00:00
Viktor Szakats
157338cf1f 2010-12-11 23:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hblzf/hblzf.c
    % Removed unnecessary casts readded in last commit.
      hb_parns() returns HB_SIZE, so casting it to '( HB_SIZE )'
      adds nothing.

  * contrib/hbsqlit3/hbsqlit3.c
    * Reformatted to Harbour standard using uncrustify tool.
2010-12-11 22:10:47 +00:00
Petr Chornyj
5d7a5c376b 2010-12-11 22:55 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* contrib/hblzf/hblzf.c
    ! Fixed the algorithm used in HB_LZF_COMPRESSBOUND(), HB_LZF_COMPRESS()
  + contrib/hblzf/tests/test2.prg
    + added yet another simple test for HB_LZF_[DE]COMPRESS()
2010-12-11 20:58:21 +00:00
Viktor Szakats
dabb1748d8 2010-12-11 18:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/hbc.cfg
    + More adjustment for Harbour.

  * examples/gtwvw/wvwdraw.c
  * examples/gtwvw/wvwmenu.c
  * examples/gtwvw/gtwvw.c
  * examples/gtwvw/wvwstbar.c
  * examples/gtwvw/wvwcheck.c
  * examples/gtwvw/wvwfuncs.c
  * examples/gtwvw/wvwpush.c
  * examples/gtwvw/wvwedit.c
  * examples/gtwvw/wvwtbar.c
    ! Fixed wrongly encoded char in header.
2010-12-11 17:34:26 +00:00
Viktor Szakats
2cb717f820 2010-12-11 17:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
    + Attempt to enable HB_GTI_PALETTER support for MSVC 2005/2008
      combined with Longhorn SDK. (also reverted prev change)
      Please retest in above environments, plus old MSVC and
      BCC 5.9.

  * config/hbc.cfg
    + More tweaks to make it Harbour-ready.
2010-12-11 16:55:05 +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
eb65ad9c48 2010-12-11 11:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
    + Added HB_GTI_PALETTE support to GTWIN for all non-msvc 
      compilers.
      (solution is hackish so it may need revision as future
      non-msvc, non-watcom compiler versions implement this
      feature in their own WinAPI headers.
2010-12-11 10:18:16 +00:00
Viktor Szakats
e72ec22c3d 2010-12-11 01:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Minor detail to HB_BUILD_WINUNI. Moved it's position towards
      end of option list.
    + Added some clarification to HB_BUILD_CONTRIB=no <...>
      option.

  * contrib/hbqt/hbqt_hbmk2_plugin.hbs
    + Added extra error message when .uic file is empty or
      unreadable.
2010-12-11 00:14:27 +00:00
Viktor Szakats
b32bedb92c 2010-12-11 00:30 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
  * config/rules.mk
  * contrib/hbpost.hbm
  * INSTALL
    + Renamed HB_BUILD_UNICODE to HB_BUILD_WINUNI.
      Reasons many-fold, first it makes it clear this is a Windows
      only setting, second it makes room for future UNICODE
      setting which may mean a native UNICODE Harbour HVM,
      third is to try to clear up the wide misunderstandings
      surrounding this setting (several users thought this
      will enable general UNICODE support in Harbour).
    + Extended/changed description of option HB_BUILD_WINUNI,
      explaining its purpose better, giving more precise details
      for WinCE builds and builds on Win9x/ME hosts.
    ; INCOMPATIBLE: If you use this setting, rename it on
                    your system. Note1: You don't have to set this
                    when doing WinCE builds (it's ignored).
                    Note2: Try UNICOWS, instead of overriding
                    this setting. It works.
2010-12-10 23:38:38 +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
409ffccd9c 2010-12-10 09:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hblzf/hblzf.c
    ! Fixed against trying to allocate negative size.
      (it _will_ result in compile time warning. Don't report it)
2010-12-10 09:00:09 +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
Przemyslaw Czerpak
c0becdeec8 2010-12-10 09:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
- harbour/contrib/hbwin/oleinit.c
    * removed old OLE initialization and cleanup code which was working
      only for main thread

  * harbour/contrib/hbwin/axcore.c
  * harbour/contrib/hbwin/olecore.c
  * harbour/contrib/hbwin/hbwin.hbp
  * harbour/contrib/hbwin/hbolesrv.c
  * harbour/contrib/hbwin/legacyco.c
    + added new OLE init/exit code which is thread oriented
      WARNING: now OLE is initialized when thread executes first time
               one of Harbour OLE functions not at application startup.
               C code which uses OLE without calling any Harbour PRG
               level OLE function should initialize OLE for each thread
               calling hb_oleInit() - it's very fast function so it can
               be called without noticeable overhead. Please remember
               that such initialization should be done for each thread.
      Please test it - I do not have access to MS-Windows computer now
      so I cannot make any test myself.
2010-12-10 08:08:35 +00:00
Viktor Szakats
76341f6ee2 2010-12-09 19:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/RELNOTES
  * INSTALL
    * QT updated to 4.7.1.
2010-12-09 18:37:16 +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
0ef35d5a72 2010-12-09 14:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hblzf/hblzf.c
    % Deleted unnecessary assignment (fixing potential bcc warning)
    ! Fixed missing casts in allocations, breaking C++ mode (f.e. msvc)
2010-12-09 13:44:43 +00:00
Viktor Szakats
0ab0d778c8 2010-12-09 14:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hblzf/hblzf.c
    ! Fixed for MT mode by moving static vars to TSD.
2010-12-09 13:39:03 +00:00
Viktor Szakats
00de13b809 2010-12-09 13:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- contrib/3rd/sqlite3/sqlite3ext.h
  + contrib/3rd/sqlite3/sqlite3x.h
  - contrib/3rd/sqlite3/sqlite3.dif
  * contrib/3rd/sqlite3/sqlite3.hbp
    ! Fixed original source URL to point to new version.
    ! Fixed to rename newly added header with long filename to 8.3.
      And this pretty much defeats its whole purpose, and
      I can't see a reson to host this file in SVN,
      sincet the sole purpose of this locally hosted source is
      to serve as dependency for _Harbour sources_. Other non-Harbour
      sources should not use this source, therefore hosting sqlite3ext.h
      has no point until Harbour SVN itself needs it. (and in such
      case our own code should refer to it using short filename)
    ! Updated .dif, which means deletion, since sqlite team
      applied this patch.
2010-12-09 12:39:21 +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
Viktor Szakats
a7ce32fabe 2010-12-09 06:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/harbour.spec
    ! Fixed broken UTF8 chars after prev commit.
      (it was caused by Far Manager bug in latest stable release)
2010-12-09 05:20:14 +00:00
Viktor Szakats
ea6b36066c 2010-12-09 06:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/harbour.spec
  * package/harbour-win.spec.in
  * package/harbour-wce.spec.in
  * include/hbver.h
  * config/global.mk
    + Changed version number to:
         2.1.0beta3 (from 2.1.0beta2)

  * contrib/gtwvg/gtwvg.hbc
    ! Typo.

  * contrib/gtwvg/tests/wvgactivex.prg
    * Eliminated WITH OBJECT. Now Harbour doesn't
      use this statement except in test code.
2010-12-09 05:10:11 +00:00
Viktor Szakats
05f2b13336 2010-12-08 23:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/hbpp.c
    * Bumped some more years.
    ! Fixed to $ Id $ in generated code.
2010-12-08 22:47:11 +00:00
Viktor Szakats
68ad6b9146 2010-12-08 23:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/hbpp.c
  * src/compiler/hbusage.c
  * contrib/hbnetio/utils/netiosrv.prg
  * contrib/hbide/idethemes.prg
  * utils/hbformat/hbformat.prg
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
  * utils/hbi18n/hbi18n.prg
  * utils/hbtest/hbtest.prg
  * utils/hbrun/hbrun.prg
  * INSTALL
    * Bumped copyright year to 2011.

  * contrib/hbide/ideprojmanager.prg
    ! Fixed $ id $ in generated source.
2010-12-08 22:38:19 +00:00
Viktor Szakats
00c09ce91f 2010-12-08 21:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/debug/debugger.prg
  * contrib/hbodbc/tests/odbccall.prg
  * contrib/hbblat/tests/blattest.prg
  * contrib/hbgd/gd.prg
  * contrib/hbtip/tests/tipmail.prg
  * examples/rddado/adordd.prg
  * examples/httpsrv/cgifunc.prg
    * Eliminated using WITH OBJECT.
    % Some optimizations, little fixes.

  * tests/omacro.prg
    * Formatting.
2010-12-08 20:54:55 +00:00
Przemyslaw Czerpak
0823337f39 2010-12-08 12:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/compiler/complex.c
    ! fixed condition used in some seldom places to convert expressions
      inside square brackets [] to strings, i.e.:
         FOR EACH c IN [abc]
            ? c
         NEXT
    * keep Clipper restrictions for FUNCTION and PROCEDURE keywords
      covered by -kc switch
2010-12-08 11:20:15 +00:00
Viktor Szakats
78ac191191 2010-12-06 22:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbhpdf/harupdf.ch
    + Added HPDF_PRINT_SCALING_NONE.
2010-12-06 21:54:06 +00:00
Viktor Szakats
328d1df46c 2010-12-06 19:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbhpdf/3rd/libhpdf/hpdfcons.h
  * contrib/hbhpdf/3rd/libhpdf/hpdfcata.c
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.dif
  * contrib/hbhpdf/3rd/libhpdf/hpdfdoc.c
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp
  * contrib/hbhpdf/3rd/libhpdf/hpdf.h
  * contrib/hbhpdf/3rd/libhpdf/hpdfvers.h
    * Updated to 2.2.1 (from 2.2.0)
    ; Patch by Tamas.

  * ChangeLog
    ! Fixed previous entry header.
2010-12-06 18:59:24 +00:00
Viktor Szakats
9b0570c818 2010-12-06 18:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* utils/hbrun/hbrun.prg
    + Readded -I<selfdir> option.
      (partial revert of 2010-11-23 19:05 UTC+0100)
2010-12-06 17:05:49 +00:00
Przemyslaw Czerpak
1881948236 2010-12-05 12:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/tests/cpinfo.prg
    * small modification for non latin CPs having first lower letter before
      upper
    * keep signature for generated CP files as "$Id' + "$" to avoid
      automatic replacing by SVN
2010-12-05 11:15:54 +00:00
Przemyslaw Czerpak
726dc18996 2010-12-05 10:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/codepage/cpcskamc.c
  * harbour/src/codepage/cpskkamc.c
    * replaced binary tables used to create CSKAMC and SKKAMC with
      human readable definition using HB_CDP_CSSORT_MIXED
2010-12-05 09:51:16 +00:00
Przemyslaw Czerpak
3a71036691 2010-12-05 01:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapicdp.h
  * harbour/include/hbcdpreg.h
  * harbour/src/rtl/cdpapi.c
  * harbour/tests/cpinfo.prg
    + added support to define CPs using different letter case sorting
      in human readable form. Now it's possible to use:
         // uppers before lowers: ABCDE...abcde...
         #define HB_CP_CSSORT    HB_CDP_CSSORT_UPLO
         // uppers and lowers are mixed: AaBbCcDdEe....
         #define HB_CP_CSSORT    HB_CDP_CSSORT_MIXED
         // ignore case
         #define HB_CP_CSSORT    HB_CDP_CSSORT_IGNORE
2010-12-05 00:04:47 +00:00
Przemyslaw Czerpak
9519421231 2010-12-04 19:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/dbinfo.ch
  * harbour/src/rdd/dbfntx/dbfntx1.c
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
    + added DBOI_RESETPOS action which can be used to discard cached
      logical and raw position in all index files in given WA
2010-12-04 18:33:01 +00:00
Viktor Szakats
1e8ce2e200 2010-12-04 12:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbsocket.c
    ! Fixed typo breaking MS-DOS builds.
2010-12-04 11:54:22 +00:00
Viktor Szakats
25bffb2a7d 2010-12-02 21:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbinet.c
    * Do not set SO_EXCLUSIVEADDRUSE on Windows in
      HB_INETSERVER(), HB_INETDGRAMBIND() calls.
    ; NOTE: INET API is compatibility API, it's deprecated and
            not recommended. Use SOCKET API instead, where
            you have full control of above options and it's
            also much superior API.
2010-12-02 20:42:33 +00:00
Viktor Szakats
514c3a2d00 2010-12-02 14:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/harbour.hbx
  * include/hbsocket.h
  * src/rtl/hbsocket.c
  * src/rtl/hbinet.c
  * src/rtl/hbsockhb.c
    + Added hb_socketSetExclusiveAddr() on .c level.
    + Added hb_socketSetExclusiveAddr() on .prg level.
    * hb_socketSetReuseAddr() cleaned from SO_EXCLUSIVEADDRUSE (Windows-only)
      logic.
    * Changed HB_INETSERVER(), HB_INETDGRAMBIND() to call
      hb_socketSetExclusiveAddr()(). We may delete these if they
      cause problems on some Windows platforms, though we must
      absolutely use this option (for security reasons) in every
      server component, if Windows host supports it.
    ; TODO: Call hb_socketSetExclusiveAddr() from hbnetio server,
            hbhttpd server.

  * include/hbcpage.hbx
  * src/codepage/Makefile
  + src/codepage/cpcs852c.c
  * src/codepage/cpsk852c.c
  - src/codepage/cpcskam.c
  + src/codepage/cpcskamc.c
  - src/codepage/cpskkam.c
  + src/codepage/cpskkamc.c
    ! Fixed SK852C to be fully Clipper compatible. (generated with cpinfo)
    ! Added Clipper compatible CS852C CP. (generated with cpinfo)
    * SK/CS Kamenicky CP moved to Clipper compatibility status.
      Updated to be Clipper compatible. (generated with cpinfo)
      INCOMPATIBLE. Pls update CP names if you used these.
      Thanks to Jaroslav Janik for the help.
      Please test all these.
2010-12-02 13:44:51 +00:00
Przemyslaw Czerpak
a75f57da55 2010-12-02 11:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/codepage/cpcs852.c
  * harbour/src/codepage/cpcskam.c
  * harbour/src/codepage/cpcsiso.c
  * harbour/src/codepage/cpcswin.c
    ! switched from HB_CDP_ACSORT_INTERLEAVED to HB_CDP_ACSORT_NONE in
      Czech code pages.

  * harbour/config/win/bcc.mk
    * disable explicitly some common BCC warnings in 3rd party code
      which we can safely ignore when HB_BUILD_WARN=no

  * harbour/utils/hbmk2/hbmk2.prg
    * disable explicitly some common BCC warnings which we can safely
      ignore when warning level is set to low

  * harbour/contrib/hbmisc/bbabble.c
    * removed unnecessary incrementation to pacify compile warning
2010-12-02 10:20:06 +00:00
Przemyslaw Czerpak
9c35c96545 2010-11-30 23:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/dbfntx/dbfntx1.c
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
    ! fixed hb_cdpcmp() call used in indexing RDDs so it can work with
      CPs using digraphs
2010-11-30 22:25:40 +00:00
Viktor Szakats
a623c4232f 2010-11-30 08:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbsocket.c
    ! hb_socketSetReuseAddr() changed on win platforms to use
      SO_EXCLUSIVEADDRUSE instead of SO_REUSEADDR. See http://paste.lisp.org/display/59751.
      Rough patch, maybe the logic isn't applied to the right place,
      maybe extra win version checks are required, please test it
      and patch it further if needed.

  * src/rtl/hbinet.c
    * s_inetBind() changed back to call hb_socketSetReuseAddr() also
      on win platforms.

  * contrib/hbwin/tests/testole.prg
    + Added shortcut creation example.

  * contrib/hbide/idemisc.prg
    ! Fixed HBIDE_PATHNORMALIZED() to _never_ lowercase passed
      filename. As discussed very long time ago, such behavior
      is not portable. For comparison purposes HB_FILEMATCH()
      should be used, for other purposes _no_ change should be
      done by hbide in filename casing. Ever.
      This is brute force fix only applied to low-level code.
      It will cause regressions on the higher level, which have
      to be fixed.
    ; TODO: Delete this second parameter from all calls, now
            the value is ignored.
    ; TOFIX: Review all
             HBIDE_PATHNORMALIZED() and
             HBIDE_PATHNORMALIZED( p, .T. )
             calls if they are used in comparison context and change
             caller code to use HB_FILEMATCH().
    ; TOFIX: All current code which uses LOWER()/UPPER() to
             "normalize" filename before comparison with '=='
             operator should also be changed to HB_FILEMATCH().
             (except for cases where extension is used in the
             sense of file type).
    ; TOFIX: Rest of cases where LOWER()/UPPER() is applied to
             filenames.
    ! Fixed HBIDE_PATHFILE() to never uppercase drive letter.
      It's not strictly required since all so far known systems
      supporting drive letter are case insensitive, but it's
      nevertheless not the job of hbide to reformat pathnames.

  * contrib/hbide/ideactions.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idesources.prg
    ! Fixed some code to use HB_FILEMATCH() instead of unconditional
      uppercasing/lowercasing. Please review and finish this modification, 
      there might be more hidden places and might have overlooked anything 
      in this patch.
2010-11-30 07:46:52 +00:00
Przemyslaw Czerpak
85d282c49c 2010-11-29 15:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/codepage/cpsk852.c
  * harbour/src/codepage/cpskiso.c
    ! fixed typo in CP declaration:
      HB_CDP_ACSORT_INTERLEAVED -> HB_CDP_ACSORT_NONE
2010-11-29 14:47:50 +00:00
Przemyslaw Czerpak
f65ef41176 2010-11-29 15:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/cdpapi.c
    ! fixed character sort weight calculation for digraphs
2010-11-29 14:42:51 +00:00