Commit Graph

15506 Commits

Author SHA1 Message Date
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
Przemyslaw Czerpak
a27cc23383 2010-11-28 20:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
- harbour/contrib/rddbm/bmdbfcdx.c
  - harbour/contrib/rddbm/bmdbfnsx.c
  - harbour/contrib/rddbm/bmdbfntx.c
  + harbour/contrib/rddbm/bmdbfx.c
    * created common code for all BMDBF* RDDs

  + harbour/contrib/rddbm/bmdbfcdx.prg
  + harbour/contrib/rddbm/bmdbfnsx.prg
  + harbour/contrib/rddbm/bmdbfntx.prg
  * harbour/contrib/rddbm/rddbm.hbp
    + added support for BMDBFCDX, BMDBFNTX, BMDBFNSX using common
      BMDBF* code
2010-11-28 19:36:21 +00:00
Viktor Szakats
d7b94128e9 2010-11-28 17:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddbm/rddbm.hbp
    - Disabled ntx/nsx driver. It's not that simple.
2010-11-28 16:57:45 +00:00
Viktor Szakats
ce4b9a2fc2 2010-11-28 10:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ config/hbc.cfg
    + Added .c source formatter config file for uncrustify source code formatter, 
      tailored to mimic Harbour C formatting style.
        http://uncrustify.sourceforge.net/
      This tool looks very promising to save manual formatting time.
      (in our case it's useful for new code, existing code is mostly 
      quite well formatted in most parts)
    ; WARNING: The config is currently at experimental stage (IOW it's
               not perfect), so don't use it to format any existing 
               Harbour source, but you may try it with your local source
               which you want to submit or see how would it look in 
               Harbour-style.

  * contrib/hbtip/url.prg
    ! Fixed to store passed url in :cAddress VAR.
      Like with most Harbour OOP code, this simple change may
      introduce hard-to-detect imcompatibility,
      so check your code.

  - contrib/rddbm/rddbmcdx.hbp
  + contrib/rddbm/rddbm.hbp
  - contrib/rddbm/rddbmcdx.hbc
  + contrib/rddbm/rddbm.hbc
    ! Renamed too.

  * src/codepage/cpsk852.c
  * src/codepage/cpskiso.c
  * src/codepage/cpskwin.c
    * Trying to add digraphs. (doesn't work here, but can't find out why)
    ; TODO: Update Kamenicky. (can't even do it with hb_translate(),
            as it's messed up the first time I edit it.
    ; TODO: Apply final fixes to CS CPs.

  * contrib/sddoci/sddoci.hbp
    + Added support for implib creation for win x64 targets.

  * package/winuni/RELNOTES
    * OCILIB version update.

  * contrib/rddbm/bmdbfcdx.c
  * contrib/hbhttpd/core.prg
  * contrib/hbhttpd/widgets.prg
    * Formatting.
2010-11-28 09:44:40 +00:00
Viktor Szakats
ac04b93c7a 2010-11-27 21:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbplist
  - contrib/rddbmcdx
  + contrib/rddbm
    * Renamed to have index driver agnostic name.
2010-11-27 20:12:06 +00:00
Viktor Szakats
29d0452381 2010-11-27 21:09 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddbmcdx/rddbmcdx.hbp
  * contrib/rddbmcdx/bmdbfcdx.c
  + contrib/rddbmcdx/bmdbfnsx.c
  + contrib/rddbmcdx/bmdbfntx.c
    + Added BMDBFNTX and BMDBFNSX variants.
2010-11-27 20:09:34 +00:00
Viktor Szakats
09d04796cd 2010-11-27 20:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! HB_INSTALL_PREFIX now defaults to /opt/harbour (instead of /usr/local)
      on darwin systems. (not tested)
      /opt/local is for MacPorts, plus /opt/harbour is the location 
      hardcoded into hbmk2 for .hbc autofind, so I opted for the latter.

  * contrib/hbhttpd/core.prg
    * Formatting.
2010-11-27 19:50:20 +00:00
Viktor Szakats
c9cbffc563 2010-11-27 11:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbhttpd/core.prg
  * contrib/hbhttpd/tests/webapp.prg
  * contrib/hbhttpd/readme.txt
  * contrib/hbhttpd/widgets.prg
    ! Fixed RTE when trying to open an directory which
      is not a mount point.
    * Renamed server:aMount -> hMount
    * Formatting.

  * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp
    * HB_TR_ALWAYS -> HB_TR_DEBUG
2010-11-27 10:36:00 +00:00
Viktor Szakats
4a22ee33f7 2010-11-26 13:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
  * src/common/hbver.c
    + Added hb_iswin2k3().

  * src/rtl/hbsocket.c
    + Comment.
    ; TOFIX: Use SO_EXCLUSIVEADDRUSE on Windows.
             See: http://paste.lisp.org/display/59751

  - examples/udpds
  + contrib/hbmisc/tests/udpdstst.prg
  + contrib/hbmisc/udpds.prg
  * contrib/hbmisc/hbmisc.hbp
    + Moved UDPDS functions to hbmisc lib. Added hb_ prefix to names,
      plus formatted with hbformat.

  * contrib/hbhttpd/tests/webapp.prg
    * Formatting.

  ; Patch from Tamas:

  * config/bsd/gcc.mk
  * config/bsd/clang.mk
    * switch bsd to -fPIC, otherwise not even core builds (on 8.1/amd64)
    * while there, bring bsd/gcc.mk in line with linux/gcc.mk (now they
      are identical)
    * ditto for bsd/clang.mk

  * contrib/hbqt/hbqt_common.hbc
    * for hbqt, switch static supc++ to dynamic stdc++, otherwise dyn hbqt
      doesn't build. this is because on at least fbsd supc++ is apparently
      not pic; but switching from static supc++ to dynamic stdc++ easily
      fixes it.
2010-11-26 12:46:14 +00:00
Przemyslaw Czerpak
7c8c239f5c 2010-11-26 12:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/dbf1.c
  * harbour/src/rdd/sdf1.c
  * harbour/src/rdd/delim1.c
  * harbour/src/rdd/dbffpt/dbffpt1.c
  * harbour/src/rdd/dbfntx/dbfntx1.c
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
  * harbour/contrib/rddads/adsx.c
  * harbour/contrib/rddbmcdx/bmdbfcdx.c
  * harbour/contrib/rddsql/sqlbase.c
  * harbour/contrib/rddsql/sqlmix.c
  * harbour/contrib/sddmy/sddmy.c
  * harbour/contrib/sddfb/sddfb.c
  * harbour/contrib/sddpg/sddpg.c
  * harbour/contrib/sddoci/sddoci.c
  * harbour/contrib/sddodbc/sddodbc.c
  * harbour/contrib/sddsqlt3/sddsqlt3.c
  * harbour/include/harbour.hbx
  * harbour/contrib/rddads/rddads.hbx
    * declare *_GETFUNCTABLE() functions as static - they do not have to
      be public C functions
    * simplified if possible RDD registration code and modified
      supper RDD request method so it's not stripped by compiler
      when hb_errInternal() function is declared with NORETURN
      attribute
2010-11-26 11:56:29 +00:00
Przemyslaw Czerpak
b244822532 2010-11-25 11:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbinet.c
    * restored old behavior of listen sockets used by hb_inet*() functions
      for non Windows platforms (SO_REUSEADDR)
2010-11-25 10:51:56 +00:00
Viktor Szakats
2b1036d121 2010-11-25 10:39 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbplist
    + Enabled new rddbmcdx.

  * contrib/rddbmcdx/bmdbfcdx.c
    ! Fixed typo in a pointer type.

  * contrib/hbmagic/hbmagic.ch
    ! Fixed to use hb_bitOr().

  ; Patch from Tamas:

  * contrib/hbmagic/tests/hbmagit.prg
    + Added two more tests.

  * bin/hb3rdpat.hbs
    ! Fixed past patch/manual editing error.
2010-11-25 09:40:20 +00:00
Viktor Szakats
744655e0f1 2010-11-25 03:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbmisc/irm.c
  * contrib/hbmisc/hbmisc.hbp
    + Added IRM (Independent Record Map) API contributed
      and donated to public domain by Mindaugas.
        - IRMEXECUTE( aFilterTree ) --> pMap
              Condition array syntax:
                 { operation, tag, bag, value }
              F.e.:
                 IrmExecute( { "&", { "<=", "date",, 0d20100101 }, { "=", "place",, 12 } } )
        - IRMMAPNEXT( pMap, @ulRecNo ) --> lFound
        - IRMMAPSKIP( pMap, @ulRecNo ) --> lFound
        - IRMMAPCOUNT( pMap ) --> nRecCount
      (function names may change in the recent future)
    + Added 'NO GUARANTEES" disclaimer on top. (pls refine it if needed)
    ! Some minor tweaks to compile with current Harbour.
    ! Casts for win64.
    * Changed to use Harbour types, and minor cleanups in variable scopes.
    % Added optimized bit counting to hb_irmMapCount(). (it was a TODO)
      Mindaugas, pls take a look at it and/or test it with real code.
2010-11-25 02:22:52 +00:00
Przemyslaw Czerpak
93d45884ba 2010-11-25 02:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
+ harbour/contrib/rddbmcdx
  + harbour/contrib/rddbmcdx/rddbmcdx.hbp
  + harbour/contrib/rddbmcdx/rddbmcdx.hbc
  + harbour/contrib/rddbmcdx/bmdbfcdx.c
    + added new alternative BMDBFCDX implementation which respects RDD
      inheritance scheme and gives similar functionality and PRG functions
      as modified by Miguel Angel Marchuet <miguelangel@marchuet.net> DBFCDX
      with directly hardcoded bitmap filters.
      This code is completely new implementation and does not contain
      any code created by Miguel.
      This RDD inherits from DBFCDX so it's called BMDBFCDX anyhow
      it can inherit from any other RDDs so if users are interesting
      I can add also BMDBFNTX and BMDBFNSX.
      I haven't time of any deeper tests so please make them.
2010-11-25 01:28:18 +00:00
Viktor Szakats
33dc0d620d 2010-11-24 19:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- contrib/rddbm
  * contrib/hbplist
    - Deleted rddbm (bmdbfcdx) RDD.
      It's broken beyond repair.
      Everyone interested pls visit this project:
         http://sourceforge.net/projects/bmdbfcdx/

  * config/instsh.mk
    * Cleanup to if structure.
2010-11-24 18:47:44 +00:00
Maurilio Longo
930081e649 2010-11-24 18:52 UTC+0100 Maurilio Longo (maurilio.longo@libero.it)
! config/instsh.mk
    ! os2mkdir.exe and os2cp.exe need forward slashes as path separators.
2010-11-24 17:55:07 +00:00
Viktor Szakats
0a5450e807 2010-11-24 18:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  + contrib/hbmagic
  + contrib/hbmagic/hbmagic.hbp
  + contrib/hbmagic/hbmagic.hbc
  + contrib/hbmagic/hbmagic.ch
  + contrib/hbmagic/hbmagic.c
  + contrib/hbmagic/hbmagis.prg
  + contrib/hbmagic/tests
  + contrib/hbmagic/tests/hbmk.hbm
  + contrib/hbmagic/tests/hbmagit.prg
    + Added wrapper for libmagic library.

    ; Many thanks to Tamas Tevesz for creating it

      (and making it so that it needed no extra tweaks
      to be SVN ready)

  * contrib/hbplist
    + Added hbmagic to contrib list.
2010-11-24 17:43:54 +00:00
Viktor Szakats
e280b40fda 2010-11-24 18:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddbm/hbrddbm.h
  * contrib/rddbm/bmdbfcdx.c
    + Brute force patching. Trying to make it build by any cost. Now it does.
      - Disabled wildseek related stuff, which was reaching
        deeply into cdx internals. (seems redundant now that core has this
        feature, though maybe this knows something extra?)
      - Commented (with non-ANSI comments) everything touching cdx tags.
      - Changed to use AREAP instead of CDXAREAP.
      - Changed to determine recno using official way instead
        of going deep into internal structure.
      - Some of these are for sure wrong. Maybe all.
      - Deleted core filter data replicated in BM specific structure.
      - Indention, formatting.
2010-11-24 17:24:52 +00:00
Przemyslaw Czerpak
69bab2430e 2010-11-24 18:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/fstemp.c
    * enabled mkstemp() usage in *nix OpenWatcom 1.8 and newer builds

  * harbour/src/rtl/hbsocket.c
    * disabled getpeername() and shutdown() usage in OpenWatcom *nix
      builds only for OpenWatcom <= 1.9

  * harbour/src/rtl/diskspac.c
    * minor formatting

  * harbour/src/rtl/hbproces.c
    * enabled sysconf() hack only for OpenWatcom <= 1.9

  * harbour/src/rtl/hbcom.c
    * disabled OpenWatcom *nix builds only for OpenWatcom <= 1.9

  ; it's possible that above modifications will cause error if problems
    are not fixed in newer OpenWatcom releases but in such case we can
    simply change to OW number in #if condition.
2010-11-24 17:20:18 +00:00
Viktor Szakats
9f0e5890ad 2010-11-24 17:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/sddoci/sddoci.c
    ! Fix regression in 2010-10-13 19:33 UTC+0200.
    ; Please test.
2010-11-24 16:17:46 +00:00
Viktor Szakats
b2c71021a7 2010-11-24 17:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rdd/dbfntx/dbfntx1.c
  * src/rdd/dbfnsx/dbfnsx1.c
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/dbffpt/dbffpt1.c
    ! Casts for msvc.
2010-11-24 16:11:21 +00:00
Viktor Szakats
5bfb953927 2010-11-24 16:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbhttpd/core.prg
  * contrib/hbhttpd/widgets.prg
  * contrib/hbhttpd/tests/webapp.prg
    + Added :bTrace block to server class.
    + Changed to use bTrace block for any trace output, 
      meaning there is no explicit '?' command anymore 
      in server lib.
2010-11-24 15:56:06 +00:00
Viktor Szakats
55da2b05b6 2010-11-24 16:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed RTE in language file generation in some side case,
      reported by Mindaugas.
      (not tested, pls do)
2010-11-24 15:11:23 +00:00
Viktor Szakats
8d207a4fa1 2010-11-24 15:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed typo causing not recognized -hbl (without parameter)
      resetting option. Thanks to Mindaugas for the find.

  * contrib/hbhttpd/core.prg
    ! Changed UErrorHandler() to not issue a BREAK, to avoid
      new Harbour compiler behavior making it impossible
      to close a PROCEDURE with RETURN.

  * contrib/hbhttpd/log.prg
    * Reworked a little bit.
2010-11-24 14:43:43 +00:00
Viktor Szakats
f9fc5d07d6 2010-11-24 12:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- contrib/rddbmcdx
  + contrib/rddbm
    * Renamed.
    ; It's still a lie though. This is broken RDD now. If we 
      won't have any contributor picking this up from this 
      stage. This contrib will be moved to examples.
2010-11-24 11:12:05 +00:00
Viktor Szakats
f9abc498d2 2010-11-24 12:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- contrib/rddbmcdx/rddbmcdx.hbp
  + contrib/rddbmcdx/rddbm.hbp
  - contrib/rddbmcdx/rddbmcdx.hbc
  + contrib/rddbmcdx/rddbm.hbc
  - contrib/rddbmcdx/hbbmcdx.h
  + contrib/rddbmcdx/hbrddbm.h
  * contrib/rddbmcdx/bmdbfcdx.c
    * Renaming to make it index-type agnostic.
    * Trying to hunt down "CDX" in source code.
      Huge quanity of them remain.

  * contrib/hbhttpd/core.prg
    ! Fixed unreachable code after BREAK.
2010-11-24 11:09:01 +00:00
Viktor Szakats
b0ded0cee5 2010-11-24 11:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbplist
  * contrib/rddbmcdx/bmdbfcdx.c
  * contrib/rddbmcdx/hbbmcdx.h
    - Deleted all redundant code from this RDD.
      Made some changes towards inheritance support, but
      I cannot continue from there and in its current form
      it doesn't build, due to interdependencies and other
      stuff which I don't understand.
    * Disabled this contrib.
    ; TODO: Rename it to rddbm.
2010-11-24 10:56:46 +00:00
Viktor Szakats
a83c0a8ad3 2010-11-24 11:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rdd/dbfcdx/dbfcdx1.c
    + Added DBOI_TEMPLATE, DBOI_MULTIKEY related code from
      bmcdx. It's commented.

  * contrib/rddbmcdx/bmdbfcdx.c
    * Resynced with core.
      This also means that DBOI_TEMPLATE, DBOI_MULTIKEY
      are now commented here, too.
    - Deleted HB_BMCDXTURBO build-time "turbo" option.
    * Formatting/Indenting in patched areas.
    ; Now the patched areas can be clearly seen.
2010-11-24 10:24:00 +00:00
Viktor Szakats
fb23ec1163 2010-11-24 11:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddbmcdx/bmdbfcdx.c
    * Synced with core.
    ; Also some formerly disputed features are synced.
    ; TODO: To remove the "turbo" feature from BMCDX, because
            it blocks the way from inheritance and its also
            an unsafe optimization, which can potentially
            corrupt databases, if not used with care
            (and I bet not many users know the exact definition
            of 'care')
    ; QUESTION: What is DBOI_TEMPLATE, DBOI_MULTIKEY?
                They are suppored in BMCDX, but not in core.

  * src/rdd/dbfnsx/dbfnsx1.c
  * src/rdd/dbfcdx/dbfcdx1.c
    * Added some casts.

  * contrib/hbhttpd/tests/webapp.prg
    - Deleted unused headers.
    * Using FIELD-> alias, instead of FIELD command.
2010-11-24 10:10:27 +00:00