Commit Graph

351 Commits

Author SHA1 Message Date
Viktor Szakats
ec13203192 2010-06-19 12:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/itemapi.c
    - hb_itemGetNL() no longer works for date types.
      INCOMPATIBLE. If you used it to retrieve date/time,
      use hb_itemGetDL() instead.
    ! Fixed typo in prev addition.

  * include/hbapi.h
  * src/vm/arrays.c
    + Added hb_arrayGetNSize(), hb_arraySetNSize().
    ! Fixed old typo in TRACE() call of hb_arrayGetNInt().

  * src/vm/extend.c
    ! Fixed typo in prev addition.

  * src/rtl/filesys.c
    ! Applied fixed from Przemek to hb_fsReadAt()/hb_fsWriteAt()
      code to be MT safe plus fix other problems.
    ; QUESTION: Shouls the same applied to hb_fsWriteLarge()/hb_fsReadLarge() 
                loops? (BTW inactive in 32-bit Harbour builds)

  * contrib/hbct/screen2.c
    ! Type cleanup.

  * contrib/hbct/pack.c
  * contrib/xhb/hbxml.c
  * contrib/xhb/hbxml.h
  * contrib/hbgt/charmixg.c
  * contrib/hbgt/charodd.c
  * contrib/hbgt/strexpan.c
  * contrib/hbgt/asciisgt.c
  * contrib/hbgt/strright.c
  * contrib/hbgt/strasint.c
  * contrib/hbgt/strdiffg.c
  * contrib/hbgt/chrtotal.c
  * contrib/hbgt/strcount.c
  * contrib/hbgt/strleft.c
  * contrib/hbgt/chrfirst.c
  * contrib/hbgt/chrcount.c
  * contrib/hbgt/strpbrk.c
  * contrib/hbgt/chareven.c
  * contrib/hbgt/bitflags.c
  * contrib/hbgt/strcspn.c
  * contrib/hbgt/atdiff.c
  * contrib/hbnf/proper.c
  * contrib/hbnf/getenvrn.c
    ! Fixed to use Harbour size types.

  * contrib/hbnf/dispc.c
    ! Started using Harbour type, but this is code is
      deadly and needs further work. I still wonder how
      to create code which mixes properly HB_FOFFSET and
      HB_SIZE.

  * contrib/xhb/cstructc.c
    * Formatting.
2010-06-19 10:26:02 +00:00
Viktor Szakats
23dd5b134d 2010-06-19 09:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/runner.c
    ! Minor to prev.

  * include/hbapi.h
  * src/vm/extend.c
    + Added hb_parnsize(), hb_retnsize(), hb_stornsize() functions.
    ; NOTE: These should be used in place of hb_parnl(), hb_retnl(),
            hb_stornl() when passing HB_SIZE types.
    ; TODO: Use them all accross Harbour if they are correct and
            after being finalized.

  * src/vm/itemapi.c
    + Added hb_itemGetNSize(), hb_itemPutNSize() functions.
    * DATETIME stuff in hb_itemGetNL() marked as HB_LEGACY_LEVEL3.
    ; QUESTION: It's marked as to be deleted in the TODO, so maybe we should
                rather delete it.

  * include/hbapiitm.h
  * src/rtl/filesys.c
    + hb_fsReadAt(), hb_fsWriteAt(): Added support for Win64 HB_SIZE.
    ; QUESTION: I assume these functions have the purpose of being
                atomic seek + read without moving the file pointer,
                which means current modification isn't safe. How
                can this be solved given Windows doesn't seem to have
                64-bit read/write API calls?
    ! Fixed old copy-paste typos in Windows OVERLAPPED initialization,
      where the lines were ended with command instead of semicolon,
      they didn't cause any harm though in their former location.
    % Reverted a minor change from prev commit to make it
      possibly a little bit faster, like it was before.

  * src/rtl/hbzlib.c
    + Added casts (at external interface calls) and other fixes to
      make it build for Win64 without warnings.

  * src/rdd/dbfntx/dbfntx1.c
  * src/rdd/dbfnsx/dbfnsx1.c
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/dbffpt/dbffpt1.c
  * contrib/rddbmcdx/bmdbfcdx.c
    * HB_ULONG -> HB_SIZE where appropriate to avoid Win64 errors
      and some warnings. I'm still not comfortable to touch this
      code, but it could certainly need a type cleanup.

  * include/hbdefs.h
    + Added HB_PFS macro which holds the printf() format string
      for HB_SIZE value.
    ; TODO: Use it all accross Harbour.

  * contrib/hbmysql/mysql.c
  * contrib/sddmy/sddmy.c
  * contrib/hbmzip/hbmzip.c
  * contrib/hbcurl/hbcurl.c
  * contrib/hbhpdf/harupdf.c
  * contrib/hbpgsql/postgres.c
  * contrib/rddads/adsfunc.c
  * contrib/rddads/ads1.c
  * contrib/hbfimage/fi_wrp.c
  * contrib/sddodbc/sddodbc.c
  * contrib/hbgd/gdwrp.c
  * contrib/hbwin/wapi_wingdi.c
  * contrib/hbwin/wapi_winbase.c
  * contrib/hbwin/wapi_winuser.c
  * contrib/hbwin/win_bmp.c
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_regc.c
  * contrib/hbssl/evpciph.c
  * contrib/hbssl/ssl.c
  * contrib/hbssl/bio.c
  * contrib/hbssl/sslctx.c
  * contrib/hbssl/evpenc.c
  * contrib/hbssl/pem.c
  * contrib/hbssl/rand.c
  * contrib/hbssl/evp.c
    + Added necessary casts at external component boundaries to
      make Win64 builds warning-free.

  * contrib/hbct/ctstrfil.c
    + HB_ISIZ -> HB_FOFFSET, hb_fsSeek() usage, other type cleanup
      to handle file offsets correctly.

  * contrib/xhb/hbnxs.h
  * contrib/xhb/hbcrypt.c
    ! Fixed warnings for Win64.

  * contrib/hbwin/win_prn3.c
  * contrib/xhb/dbf2txt.c
  * contrib/xhb/fparse.c
    * int -> HB_ISIZ for Win64.

  * contrib/xhb/freadlin.c
    * hb_fsSeek() -> hb_fsSeekLarge().

  * contrib/sddfb/sddfb.c
    * Minor type cleanup to make Win64 warning-free.

  * contrib/hbsqlit3/hbsqlit3.c
    + Added necessary casts at external interface calls.
    % Deleted one dummy operation from SQLITE3_FILE_TO_BUFF().

  * contrib/rddsql/sqlmix.c
  * contrib/rddads/adsx.c
    * HB_ULONG -> HB_SIZE.

  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvggui.c
  * contrib/gtwvg/wvgcuig.c
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgcore.c
    ! int -> HB_ISIZ/HB_SIZE
    + Added necessary casts at external component boundaries to
      make Win64 warning-free.

  * contrib/rddads/ads1.c
    * HB_ULONG -> HB_SIZE

  * contrib/hbtip/utils.c
    * int -> HB_ISIZ
    ! Fixed to use HB_FOFFSET type to save/restore file position.

  * ChangeLog
    + Added missing item to previous log entry:
      ! Fixed hb_fsCurDirBuff() for Win64.

  ; It's quite large commit, nevertheless I'd highly appreciate
    peer review, and certainly there will be places which need
    better or different solution for Win64.
2010-06-19 08:05:24 +00:00
Viktor Szakats
f145ef4c80 2010-06-18 11:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    ! Fixed one intentional typo I put in to test legacy types.

  * src/compiler/hbmain.c
  * src/compiler/genhrb.c
  * src/compiler/gencc.c
  * src/compiler/hbcmplib.c
  * include/hbcomp.h
  * include/hbcompdf.h
    * HB_ULONG -> HB_SIZE, where I could find out from warnings.
    + Added parameter names to some function declarations where they
      were missing.
    ; Przemek, please check me. I feel I will mess this up if continuing
      beyond this point, so I'd appreciate if you could take a look at
      HB_ULONG to HB_SIZE conversion from an intrinsic perspective,
      there seem to be places where it needs further tweaks to get us
      full Win64 support. [ I've also intentionally left this area
      more or less intact when doing the previous pass of conversion. ]
    ; There are places where simple 'int' is used, while it should be
      HB_SIZE (or maybe size_t? in some places).
    ; Also, Win64 conversion will need some more work f.e. in filesys.c
      where WinAPI file I/O functions can't accept a 64-bit value.
      First I will report these and if they seem complicated I'll
      revert to HB_SIZE = HB_ULONG for Win64 in the being.

  * src/compiler/hbgenerr.c
    * Formatting.

  * src/pp/ppcore.c
  * src/vm/strapi.c
  * src/vm/debug.c
  * src/vm/itemapi.c
  * src/vm/cmdarg.c
  * src/vm/set.c
  * src/debug/dbgentry.c
  * src/common/hbgete.c
  * src/common/hbstr.c
  * src/common/strwild.c
  * src/nortl/nortl.c
  * src/rtl/lennum.c
  * src/rtl/strmatch.c
  * src/rtl/gtstd/gtstd.c
  * src/rtl/hbstrfmt.c
  * src/rtl/transfrm.c
  * src/rtl/gtcgi/gtcgi.c
  * src/rtl/direct.c
  * src/rtl/filesys.c
  * src/rtl/console.c
  * src/rtl/hbgtcore.c
  * src/rtl/cdpapi.c
  * src/rtl/mlcfunc.c
  * src/rtl/itemseri.c
  * src/rtl/gtpca/gtpca.c
  * src/rtl/trace.c
  * src/rtl/samples.c
  * src/rtl/gete.c
  * src/rdd/workarea.c
  * src/rdd/hsx/hsx.c
  * src/rdd/hbsix/sxsem.c
  * src/rdd/hbsix/sxfname.c
  * contrib/hbct/tab.c
  * contrib/xhb/dbf2txt.c
  * contrib/xhb/datesxhb.c
  * contrib/xhb/dbgfxc.c
  * contrib/hbmzip/hbmzip.c
  * contrib/hbnf/fttext.c
  * contrib/hbnetio/netiocli.c
  * contrib/hbpgsql/postgres.c
  * contrib/hbclipsm/num.c
  * contrib/rddads/ads1.c
  * contrib/sddsqlt3/sddsqlt3.c
  * contrib/hbfimage/fi_wrp.c
  * contrib/sddodbc/sddodbc.c
  * contrib/sddoci/sddoci.c
  * contrib/hbwin/win_svc.c
  * contrib/hbwin/win_prn2.c
    * '( HB_SIZE ) strlen(' -> 'strlen('
2010-06-18 10:03:44 +00:00
Viktor Szakats
b50ea8e77e 2010-06-16 21:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/extend.api
  * include/hbapi.h
    + Disabled IS*() macros when HB_LEGACY_TYPES_OFF is defined
      (default when building Harbour)

  * src/pp/pplib.c
  * src/rtl/hbregex.c
  * src/rtl/dateshb.c
  * contrib/xhb/xhbfunc.c
  * contrib/rddads/rddads.h
    ! Fixed IS*() -> HB_IS*()

  * src/rtl/hbregex.c
  * contrib/hbmysql/mysql.c
  * contrib/xhb/xhbsave.c
  * contrib/hbmzip/hbmzip.c
  * contrib/hbfbird/firebird.c
  * contrib/hbnetio/netiosrv.c
  * contrib/rddads/rddads.h
  * contrib/rddads/adsmgmnt.c
  * contrib/rddads/adsfunc.c
  * contrib/hbmisc/hb_f.c
  * contrib/hbmisc/ffind.c
  * contrib/hbwin/win_com.c
  * contrib/hbwin/wapi_shellapi.c
  * contrib/hbssl/bio.c
  * contrib/hbssl/hbssl.c
  * contrib/hbssl/sslctx.c
    % Optimized to use hb_parn*def() calls instead of inline-if expression
      (where default value is constant or simple variable).

  * INSTALL
    + valgrind is available for darwin-amd64 (in 1.6 devel tree, yet).
2010-06-16 19:10:22 +00:00
Viktor Szakats
290317ac9f 2010-06-16 19:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbzlibgz.c
  * src/rtl/fstemp.c
  * src/rtl/at.c
  * src/rtl/strtran.c
  * src/rtl/hbinet.c
  * src/rtl/saverest.c
  * src/rtl/diskspac.c
  * src/rtl/philes.c
  * src/rtl/mlcfunc.c
  * src/rtl/disksphb.c
  * src/rtl/shadow.c
  * src/rtl/trace.c
  * src/rtl/ati.c
  * src/rtl/hbstrsh.c
    % Optimized to use hb_parn*def() calls instead of inline-if expression 
      (where default value is constant or simple variable).
    % Optimized out few HB_ISNUM() calls where the default value was zero.
      Also added comment to signal the intention.

  * src/rtl/inkey.c
    + Added two TOFIXes to LASTKEY() and NEXTKEY() after having discovered 
      two hidden (dirty) parameter extensions over original Clipper 
      implementation, both added here in Harbour in year 2001. [ I didn't 
      test if it's undocumented Clipper function, but there is no such 
      indication in past log enties, plus even in this case it would have 
      to be marked with HB_CLP_UNDOC. They are also not Xbase++ extensions. ]
    + Added HB_KEYNEXT(), HB_KEYLAST() functions which implement original 
      NEXTKEY()/LASTKEY() functionality plus the extension.
      Pls correct me if I'm wrong, but after reading all related log entries 
      I could not find out why the default of the optional parameter is 
      _SET_EVENTMASK in NEXTKEY(), but INKEY_ALL in LASTKEY(). It was changed 
      as part of big change, here: 2004-10-11 21:40 UTC+0100 Przemyslaw Czerpak
    ; I intend to deprecate the dirty extensions and finish adding the two 
      new Harbour specific function, which we're free to extend.

  * contrib/xhb/dumpvar.prg
    ! Fixed recent typo.

  * INSTALL
    * Updated tdm website.
2010-06-16 18:08:04 +00:00
Viktor Szakats
bdcde409a9 2010-06-15 13:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/xhbfs.c
    ! Fixed ISDIRECTORY() to work like originally intended.
      This effectively reverts breakage caused by this change:
        2009-07-06 10:06 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net>
          * source/rtl/file.c
          * Changed IsDirectory to fix IsDirectory( "\\machine\c" ) style call
            under windows platforms.
      BTW, in Harbour to achieve above effect, you can use
      native HB_DIREXISTS( "\\machine\c" ) function call.
2010-06-15 11:38:31 +00:00
Przemyslaw Czerpak
a7be129b2f 2010-06-15 12:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/xhbcomp.prg
  * harbour/contrib/xhb/xhbmsgs.c
    + added emulation for some xHarbour extensions in ==, = and !=
      operators.
         <block> == <block>
         <hash> = <hash>      // it does not work correctly in xHarbour
         <hash> != <hash>
2010-06-15 10:57:10 +00:00
Viktor Szakats
33f421079c 2010-06-15 01:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/Makefile
  + contrib/xhb/xhbhashp.c
    + Added HSETPARTITION()/HGETPARTITION() xhb compatibility functions.
      They do nothing in Harbour besides replicating original xhb RTE 
      behavior.
2010-06-14 23:21:22 +00:00
Viktor Szakats
ae5063bd4f 2010-06-15 00:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbzlib.c
    + Added QNX version number to the comment noting the hack.

  * contrib/xhb/xhbfs.c
    + Added ISDIRECTORY() implementation which exactly mimics 
      current xhb behavior. Current xhb behavior seems wrong 
      because on Windows platform it works like HB_DIREXISTS() 
      in Harbour (not allowing wildcards), while on rest of 
      platforms it accept wildcards. The original intent in 
      xhb was the latter.

  * contrib/xhb/hbcompat.ch
    - Deleted ISDIRECTORY() <-> HB_DIREXISTS() mapping.
2010-06-14 22:59:03 +00:00
Viktor Szakats
5ae08a0e0e 2010-06-12 14:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/set.c
    * Reset default value to "hb_out.log".

  + mpkg_nightly.sh
    + Added script to generate nightly sources.
    ; TODO: Upload nightlies to sf.net.
    ; TODO: Change nightly filenames to match our normal source releases.
    ; TOFIX: Current .zip nighly has wrong (*nix) EOLs. This has to be
             changed to CRLF.

  * INSTALL
    * Changed nightly script URLs to point to sf.net file area.
    ! Minor fix to bug tracker address.

  * contrib/xhb/regexrpl.prg
  * contrib/hbtip/httpcli.prg
  * contrib/hbtip/mail.prg
    ! Fixed to use EMPTY() on HB_REGEX[ALL]() return
      value instead of NIL check.
      Required after recent change in HB_REGEX*()
      return values in no-match case.

  * contrib/hbcurl/hbcurl.c
  * contrib/hbcurl/hbcurl.ch
    + Added support to download-to/upload-from file handle.

  * contrib/hbqt/qtgui/Makefile
  * contrib/hbqt/qtcore/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbqt/gtqtc/Makefile
  * contrib/hbqt/qtnetwork/Makefile
    ! Fixed to not build separate HBQT libs for static
      linkage for non-win/wce targets.

  * package/mpkg_win.nsi
  * package/winuni/mpkg_win_uni.nsi
    * Changed to use 'Harbour Project' as folder name in registry.
      (instead of 'Harbour'). Just to be consistent.

  * package/winuni/mpkg_win_uni.nsi
    + Add major.minor version number to registry folder names.
      This allows multiple major versions of Harbour to be installed
      in parallel.

  * contrib/xhb/ttable.prg
    % '&("{||" + c + "}")' -> HB_MACROBLOCK()

  * contrib/xhb/trpccli.prg
  * contrib/xhb/hblognet.prg
  * contrib/xhb/xcstr.prg
  * contrib/xhb/tedit.prg
  * contrib/xhb/xdbmodst.prg
  * contrib/xhb/trpc.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/xhbmt.prg
  * contrib/xhb/xhberr.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/txml.prg
    * '.NOT.' -> '!'
    % ValType( x ) == "Y" -> IS*()
    * Some other basic formatting and cleanup.

  * src/rtl/hbini.prg
  * examples/httpsrv/session.prg
    * Formatting.

  * tests/db_brows.prg
  * tests/server.prg
  * tests/testrdd2.prg
  * tests/setkeys.prg
  * contrib/hbtip/tests/tiptest.prg
  * contrib/hbtip/tests/loadhtml.prg
  * examples/hbsqlit2/tests/hbsqlite.prg
  * examples/gtwvw/tests/wvwtest9.prg
  * examples/gtwvw/tests/ebtest7.prg
    * '.NOT.' -> '!'
2010-06-12 12:15:59 +00:00
Viktor Szakats
81c9b0506c 2010-06-04 15:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/*
    * Deleted 'www.' from harbour-project.org website name.
      (www.harbour-project.org -> harbour-project.org)
2010-06-04 13:32:23 +00:00
Viktor Szakats
7858b4c783 2010-06-04 13:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Minor.

  * contrib/hbmysql/hbmysql.hbc
  * contrib/gtalleg/gtalleg.hbc
  * contrib/gtalleg/gtallegs.hbc
  * contrib/hbct/hbct.hbc
  * contrib/sddmy/sddmy.hbc
  * contrib/hbodbc/hbodbc.hbc
  * contrib/xhb/xhb.hbc
  * contrib/sddfb/sddfb.hbc
  * contrib/hbtpathy/hbtpathy.hbc
  * contrib/hbgt/hbgt.hbc
  * contrib/hbsqlit3/hbsqlit3.hbc
  * contrib/hbmzip/hbmzip.hbc
  * contrib/hbblat/hbblat.hbc
  * contrib/hbqt/hbqt.hbc
  * contrib/hbqt/hbqts.hbc
  * contrib/hbfbird/hbfbird.hbc
  * contrib/sddpg/sddpg.hbc
  * contrib/hbziparc/hbziparc.hbc
  * contrib/hbxbp/hbxbp.hbc
  * contrib/hbbz2/hbbz2.hbc
  * contrib/hbblink/hbblink.hbc
  * contrib/hbnf/hbnf.hbc
  * contrib/hbcurl/hbcurl.hbc
  * contrib/hbcurl/hbcurls.hbc
  * contrib/hbmemio/hbmemio.hbc
  * contrib/hbxpp/hbxpp.hbc
  * contrib/hbfship/hbfship.hbc
  * contrib/hbcups/hbcups.hbc
  * contrib/rddbmcdx/hbbmcdx.hbc
  * contrib/hbfoxpro/hbfoxpro.hbc
  * contrib/hbnetio/hbnetio.hbc
  * contrib/rddsql/rddsql.hbc
  * contrib/hbhpdf/hbhpdf.hbc
  * contrib/gtwvg/gtwvg.hbc
  * contrib/hbpgsql/hbpgsql.hbc
  * contrib/hbclipsm/hbclipsm.hbc
  * contrib/rddads/rddads.hbc
  * contrib/rddads/rddads.hbp
  * contrib/sddsqlt3/sddsqlt3.hbc
  * contrib/hbfimage/hbfimage.hbc
  * contrib/sddodbc/sddodbc.hbc
  * contrib/hbgd/hbgd.hbc
  * contrib/hbmisc/hbmisc.hbc
  * contrib/sddoci/sddoci.hbc
  * contrib/hbcomm/hbcomm.hbc
  * contrib/hbtip/hbtipssl.hbc
  * contrib/hbtip/hbtip.hbc
  * contrib/hbcairo/hbcairo.hbc
  * contrib/hbwin/hbwin.hbc
  * contrib/hbssl/hbssls.hbc
  * contrib/hbssl/hbssl.hbc
  * contrib/hbsms/hbsms.hbc
  * examples/ps32/ps32.hbc
  * examples/hbsqlit2/hbsqlit2.hbc
  * examples/gfspell/gfspell.hbc
  * examples/rddado/rddado.hbc
  * examples/hbapollo/hbapollo.hbc
  * examples/hbvpdf/hbvpdf.hbc
  * examples/hbbtree/hbbtree.hbc
  * examples/gtwvw/gtwvw.hbc
    % Replaced libs=<libname> with libs=${hb_name} to avoid repeating 
      the libs own name, if it's the same as the name of the .hbc file.
2010-06-04 11:08:35 +00:00
Viktor Szakats
78742ae944 2010-06-03 10:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour-win-spec
  * src/pp/hbpp.c
  * src/compiler/hbusage.c
  * doc/class_tp.txt
  * doc/howtobld.txt
  * doc/howtosvn.txt
  * doc/hdr_tpl.txt
  * doc/readme.txt
  * doc/whatsnew.txt
  * harbour-wce-spec
  * INSTALL
  * harbour.spec
  * utils/hbformat/hbformat.prg
  * utils/hbmk2/examples/plug_tpl.prg
  * utils/hbi18n/hbi18n.prg
  * utils/hbtest/hbtest.prg
  * utils/hbrun/hbrun.prg
  * config/global.mk
    * Deleted 'www.' from harbour-project.org website name.
      (www.harbour-project.org -> harbour-project.org)

  * contrib/xhb/xhbarr.c
    + Added TOFIX for AREMOVE() which should better be moved
      to hbxpp lib (possibly after deleting the xhb extension from
      that implementation).

  * package/winuni/RELNOTES
    + Added 'harbour-project.org'
2010-06-03 08:43:47 +00:00
Przemyslaw Czerpak
2976201710 2010-06-03 09:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/trpc.prg
  * harbour/contrib/xhb/trpccli.prg
    ! fixed xhb_StartThread() -> StartThread()

  * harbour/contrib/xhb/xhbgt.c
    ! removed unnecessary wrapper to CT3 SETLASTKEY() function

  * harbour/contrib/hbnf/ftisprn.c
    ! fixed HB_ISPRINT() -> HB_ISPRINTER()

  * harbour/contrib/hbxpp/tbrowsex.prg
    ! added missing _TBR_COORD() definition
    ; TOFIX: this code uses _MAXFREEZE() function which do not exists so
             it cannot be linked with any application
2010-06-03 07:47:37 +00:00
Przemyslaw Czerpak
324e27ef99 2010-06-02 18:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/pp/pplib.c
  * harbour/src/vm/estack.c
  * harbour/src/common/hbver.c
  * harbour/src/common/hbdate.c
  * harbour/src/rtl/gtcrs/gtcrs.c
  * harbour/src/rtl/hbgtcore.c
  * harbour/src/rdd/wafunc.c
  * harbour/src/compiler/hbmain.c
  * harbour/src/compiler/cmdcheck.c
  * harbour/src/compiler/genhrb.c
  * harbour/src/compiler/genobj32.c
  * harbour/src/compiler/hbusage.c
  * harbour/src/compiler/hbgenerr.c
  * harbour/contrib/hbct/ctnet.c
  * harbour/contrib/xhb/datesxhb.c
  * harbour/contrib/hbfbird/firebird.c
  * harbour/contrib/hbpgsql/postgres.c
  * harbour/contrib/rddads/adsfunc.c
  * harbour/contrib/rddads/ads1.c
  * harbour/contrib/hbtip/utils.c
    * formatting
2010-06-02 16:53:20 +00:00
Viktor Szakats
43b10bcf31 2010-06-01 21:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/fm.c
  * src/vm/set.c
    * SET( _SET_HBOUTLOG, NIL ) will now reset the internal output
      name to NULL, which is also the new internal default value.
    * After this change the GPF handler and FM STAT dump code
      will do the defaulting to "hb_out.log" filename, if the
      internal _SET_HBOUTLOG value is NULL. This causes a small
      incompatibility in how log file can be disabled, and at the
      same time allows to implement low-level logging logic for
      default case which is safer than current one, while allowing
      the user (developer) to set a custom log filename and expect
      regular log file append behavior.
      From now on to disable logging, use: SET( _SET_HBOUTLOG )

  * utils/hbmk2/hbmk2.prg
    ! Fixed to not do pkg detection and key header evaluation
      after -stop and certain modes.
    + Added full list of std C and POSIX headers to the header
      exclusion list in header dependency parser code.
      Also added dos.h.

  * contrib/xhb/dbgfxc.c
    * Formatting.
2010-06-01 19:46:00 +00:00
Viktor Szakats
151783447a 2010-06-01 00:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbct/hbct.hbp
  + contrib/xhb/xhb.hbp
  + contrib/hbtpathy/hbtpathy.hbp
  + contrib/hbgt/hbgt.hbp
  + contrib/hbziparc/hbziparc.hbp
  + contrib/hbxpp/hbxpp.hbp
  + contrib/rddbmcdx/hbbmcdx.hbp
  + contrib/hbfoxpro/hbfoxpro.hbp
  + contrib/hbfoxpro/hbfoxpro.hbc
  + contrib/rddsql/rddsql.hbp
  + contrib/hbclipsm/hbclipsm.hbp
    + Added new hbmk2 make files.

  * contrib/hbfoxpro/hbfoxpro.ch
    + Added copyright holder names.
2010-05-31 22:52:21 +00:00
Przemyslaw Czerpak
44a40065b7 2010-05-31 22:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/xhberr.prg
    ! fixed reporting information about workareas in error.log file
      generated by default xHarbour error block.
      Warning this code is still broken in xHarbour CVS.
2010-05-31 20:37:46 +00:00
Viktor Szakats
7e0ce822ed 2010-05-31 19:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added experimental support for filters containing string
      comparisons, f.e.: '{MY_VAR='hello'}-cflag=-DMY_FLAG'
    ; NOTE: It's not guaranteed yet that this feature will stay.

  * include/hbzlib.ch
    + Added HB_ZLIB_RES_* zlib result values.

  * contrib/xhb/Makefile
  - contrib/xhb/hbcomprs.c
  + contrib/xhb/hbcomprs.prg
  + contrib/xhb/tests/compress.prg
    + Rewritten xhb compatiblity compression functions in .prg.
      The main reason was to avoid dependence on zlib.h on C level.
      This simplifies the build layout.
    ! This fixes last zip error to work in MT programs.
    + Added test/demo program from xhb. Work by Giancarlo Niccolai.
    ; NOTE: Tested only with xhb test/demo program.

  * contrib/xhb/hbcomprs.ch
    + Changed to use HB_ZLIB_* constants. So it's now only a wrapper
      instead of replicating values.
2010-05-31 17:49:04 +00:00
Przemyslaw Czerpak
5c5d83384d 2010-05-31 11:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/xhbhasha.c
    ! fixed HSETAACOMPATIBILITY() to always return .T.

  * harbour/contrib/xhb/hbcompat.ch
    + added PP commands for HAA*() functions
2010-05-31 09:46:59 +00:00
Viktor Szakats
ab0a6f05b3 2010-05-31 10:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/hbcompat.ch
  * contrib/xhb/xhb.ch
    + Added xhb.ch translations for following functions:
      AINS(), ADEL(), NETNAME(), MEMOWRIT(), SAVESCREEN(),
      RESTSCREEN(), RTRIM(), TRIM(), ALLTRIM()
2010-05-31 08:14:05 +00:00
Viktor Szakats
0513bda029 2010-05-30 19:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/hbcompat.ch
  * contrib/xhb/xhbfs.c
    ! Deleted FILESIZE(). It's not an xhb compatibility function, 
      but one offered as part of CT lib in xhb, and HBCT in Harbour.

  * src/common/hbver.c
    + Added compiler version detection for clang 2.x (and newer)
      Patch by Tamas Tevesz.

  * INSTALL
    * Minor.

  * config/bsd/clang.mk
  * config/linux/clang.mk
    + Clearing forced C++ mode if clang 1.x is detected.
      (Patch from Tamas Tevesz. Slight fix added by me to
      set HB_CMP when falling back to C mode. I didn't make
      tests though.)
    ; NOTE: Probably HB_BUILD_MODE=c should be export-ed
            to avoid double evaluation. Pls test it.

  * config/postinst.prg
  * config/ren_sfn.prg
    + Raised warning level to 3.
2010-05-30 18:01:29 +00:00
Przemyslaw Czerpak
ac4c537724 2010-05-28 11:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/doc/xhb-diff.txt
    * updated information about hash arrays and associative arrays
    ! added missing 'not'

  * harbour/contrib/xhb/sprintf.prg
  * harbour/contrib/xhb/dbgfx.prg
    ! renamed hb_sprintf() PRG function to sprintf()
2010-05-28 09:09:44 +00:00
Przemyslaw Czerpak
ca198f67d0 2010-05-27 16:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/Makefile
  + harbour/contrib/xhb/xhbhasha.c
    + added xHarbour Hash with Associative Array compatibility functions:
         HAAGETKEYAT( <hValue>, <nPos> ) -> <value>
         HAAGETVALUEAT( <hValue>, <nPos> ) -> <value>
         HAASETVALUEAT( <hValue>, <nPos>, <value> ) -> NIL
         HAADELAT( <hValue>, <nPos> ) -> NIL
         HAAGETPOS( <hValue>, <xKey> ) -> <nPos>
         HAAGETREALPOS( <hValue>, <nPos> ) -> <nRealPos>
         HGETVAAPOS( <hValue> ) -> <aOrder>
         HSETAACOMPATIBILITY( <hValue>, <lAACompat> ) -> <lDone>
         HGETAACOMPATIBILITY( <hValue> ) -> <lAACompat>
      These functions were added only for compatibility with existing
      xHarbour code. Harbour does not emulate associative arrays by
      special index but it uses real natural order for them. It means
      that associative array indexes are equal to regular hash indexes
      so we do not need any translation between them and Harbour users
      can use regular hash array functions for associative array indexes,
      i.e. instead of using HAAGETKEYAT() they can use HB_HKEYAT().
2010-05-27 14:27:25 +00:00
Viktor Szakats
dc66765645 2010-05-27 15:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/xhbfunc.c
    + Added XHB_NETNAME(), XHB_MEMOWRIT()

  * contrib/xhb/hbcompat.ch
    ! Fixed MEMOWRIT() translation. Someone pls test it with
      real xhb.

  * contrib/xhb/hbcompat.ch
  * contrib/xhb/xhb.ch
    ! Moved xhb_*() function dependent translations to xhb.ch.
      (since the promise is that hbcompat.ch translations don't
      need xhb lib)
2010-05-27 13:22:44 +00:00
Viktor Szakats
d0dd7543b0 2010-05-27 14:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/hbcompat.ch
    * Grouped together all translations which cannot be
      replaced using wrapper technique.

  * contrib/xhb/xhbgt.c
  * contrib/xhb/xhbfunc.c
    ! Deleted two wrappers which cannot be wrappers.
      (dirty extensions)
2010-05-27 12:55:18 +00:00
Viktor Szakats
4c69eac13f 2010-05-27 14:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/Makefile
   - contrib/xhb/hbcompat.prg
   + contrib/xhb/xhbfunp.prg
     * Renamed.

   * contrib/xhb/Makefile
   * contrib/xhb/xhbmt.prg
   + contrib/xhb/xhbmtc.c
   * contrib/xhb/xhbfunp.prg
     % Some .prg wrappers changed to .c ones.
     ! This also fixed some double implementation
       after previous commit.

   * contrib/xhb/xhbarr.c
   * contrib/xhb/xhbfunp.prg
     % Converted RASCAN wrapper to .c and moved to
       existing array wrapper source file.

   * contrib/xhb/Makefile
   * contrib/xhb/xhbfunc.c
   + contrib/xhb/xhbhash.c
     % Moved hash wrappers to separate file.
       (also synced with xhbfunp.prg content)
     - Deleted special macro to disable these wrappers.

   * contrib/xhb/Makefile
   * contrib/xhb/xhbfunc.c
   + contrib/xhb/xhbinet.c
     % Moved inet function wrappers to separate file.
       (also synced with xhbfunp.prg content)
     - Deleted special macro to disable these wrappers.

   * contrib/xhb/Makefile
   * contrib/xhb/xhbfunp.prg
   + contrib/xhb/xhbgt.c
   + contrib/xhb/xhbini.c
   + contrib/xhb/xhbproc.c
   + contrib/xhb/xhbregx.c
   + contrib/xhb/xhbmtc.c
   + contrib/xhb/xhbfs.c
   + contrib/xhb/xhbdate.c
   + contrib/xhb/xhbi18n.c
     % Rewritten wrappers in .c and moved them to
       separate files.

   ; Few other double definitions fixed after previous commit.
     Hopefully now it's optimal and modular, and the best wrappers
     were kept.
   ; Basically hbcompat.ch is now not of too much use, unless
     someone specifically want to avoid linking xhb.
2010-05-27 12:48:11 +00:00
Viktor Szakats
782834a322 2010-05-27 12:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/Makefile
  + contrib/xhb/hbcompat.prg
    + Added equivalent function wrappers for all hbcompat.ch
      translations where such was possible (everywhere besides
      "dirty" extensions of original Clipper functions)
    ; NOTE: This method, as is now, has some advantages:
            - doesn't require modification of app source code.
            - doesn't require knowledge about hbcompat.ch.
            and disadvantages:
            - is slightly slower
            - will pull unnecessary code parts into the executable
            If this change gets positive feedback, the two
            disadvantages can be easily mitigated by splitting
            hbcompat.prg into multiple .prg sources and replacing
            wrappers with .c code where possible.
    ; Pls review me.

  * contrib/xhb/hbcompat.ch
    ! Minor cleanup.

  * contrib/hbcomm/hbcomm.prg
    ! Fixed return value of OUTCHR(). Thank you Przemek for reviewing.
2010-05-27 10:59:44 +00:00
Viktor Szakats
a98d098119 2010-05-21 11:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + Added HB_EXTERN macro to eventually replace 'extern' keyword.

  * include/hbstack.h
  * include/hbsocket.h
  * include/hbapicls.h
  * contrib/xhb/hbserv.h
  * contrib/gtwvg/gtwvg.h
  * contrib/hbcairo/hbcairo.h
  * examples/gtwvw/gtwvw.c
  * examples/gtwvw/hbgtwvw.h
    ! Fixed declarations to use 'extern HB_EXPORT' keyword order.
    ! Fixed declarations where 'extern' keyword was missing.

  ; TODO: To fix watcom .dll support 'extern HB_EXPORT <type> <func()>'
          will have to be changed to 'extern <type> HB_EXPORT <func()>'
          or even better to 'HB_EXTERN <type> HB_EXPORT <func()>' to
          also stay future-proof.
2010-05-21 09:47:48 +00:00
Viktor Szakats
66ebe08e09 2010-04-29 09:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/tests/xml1.prg
    ! Formatting.
    % Replaced HHasKey() with '$' operator.
2010-04-29 07:37:29 +00:00
Viktor Szakats
df8fa6e078 2010-04-29 08:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_osc.c
    + Added WIN_OSISWINXPORLATER(). Following Peter Rees in xhb.

  * contrib/xhb/Makefile
  + contrib/xhb/xwin_reg.c
  + contrib/xhb/xwin_ver.c
  * contrib/hbwin/Makefile
  - contrib/hbwin/legacycr.c
  - contrib/hbwin/legacycv.c
    ! Moved these legacy Windows functions to xhb lib from hbwin
      lib. This way we don't have to delete them after next
      release, plus they provide better compatibility as they are
      now also present in non-win builds (returning dummy values),
      just like in xhb.
    + Added OS_ISWINXP_OR_LATER() function.
2010-04-29 06:46:25 +00:00
Viktor Szakats
6f057ac0f9 2010-04-28 23:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/hbxml.c
    ! REVERTED: 2010-04-05 11:04 UTC+0200
      This means that these heavy leaks are again present
      in this xhb ported code, but at least it won't GPF.

  * contrib/xhb/tests/xml1.prg
    ! Minor to prev.
2010-04-28 21:12:17 +00:00
Viktor Szakats
d385c7d55b 2010-04-28 23:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/xhb/tests/xml1.prg
  + contrib/xhb/tests/test.xml
    + Added xml test code posted to list by "Ivan re".
      (after fix and formatting)
    ; TOFIX: This sample crashes with mingw.
2010-04-28 21:01:20 +00:00
Viktor Szakats
d0a044d890 2010-04-05 11:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/hbxml.c
    ! Applied recent heavy leak fixes from xhb project.
      (with some modifications)
    * Formatting.
    % Optimized out two local variables.

  - contrib/rddsql/sddodbc
  + contrib/sddodbc
  * contrib/sddodbc/Makefile
  * contrib/sddodbc/sddodbc.hbc
    ! Moved to contrib root. (somehow missed from previous 
      commit when other sdd* libs were moved)
2010-04-05 09:04:38 +00:00
Viktor Szakats
e97a7501d0 2010-03-14 21:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/fm.c
  * src/common/hbwince.c
  * include/hbwince.h
  * include/hbthread.h
  * contrib/hbct/ctnet.c
  * contrib/hbodbc/Makefile
  * contrib/xhb/hbserv.c
  * contrib/hbtpathy/tpwin.c
  * contrib/hbnf/getenvrn.c
  * contrib/rddsql/sddodbc/Makefile
  * contrib/hbwin/olecore.c
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_dlg.c
  * config/wce/msvcarm.mk
    + Added support for msvcarm 2008.

  * utils/hbmk2/hbmk2.prg
    ! Synced msvcarm dynlib creatino options with Harbour build.
2010-03-14 20:32:31 +00:00
Viktor Szakats
29a72856ac 2010-03-07 15:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmzip/hbmzip.c
    + HB_UNZIPFILEINFO() extended to also return CRC.

  * contrib/hbziparc/hbziparc.prg
    ! HB_GETFILESINZIP() fixed to return CRC in verbose mode.

  * contrib/hbziparc/tests/zipa.prg
    + Added more test code.

  * contrib/xhb/cgi.ch
  * contrib/xhb/xhbarr.c
    * Cleanups.
2010-03-07 14:19:03 +00:00
Viktor Szakats
c0f41ee97b 2010-03-07 15:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/cgi.ch
  * contrib/xhb/tedit.prg
  * contrib/xhb/htjlist.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/hterrsys.prg
  * contrib/xhb/hjwindow.prg
  * contrib/xhb/htmutil.prg
    * NTRIM() -> hb_ntos()
    - Deleted NTRIM() macro.
2010-03-07 14:01:07 +00:00
Viktor Szakats
57cb7dd3cc 2010-03-07 14:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/tframe.prg
    ! Using IS*() macros instead of NIL checks.
    % Using IS*() macros instead ValType() calls.
    % Several minor optimizations.
    * Changed to use standard class declaration syntax.

  * contrib/xhb/tframe.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idehome.prg
    ! Fixed to generate lowercase HTML code. This is basic requirement
      for HTML to validate with any newer than legacy HTML standard (f.e. XHTML).
      Should be fixed in other places in Harbour.

  * contrib/xhb/tframe.prg
  * contrib/xhb/cgi.ch
    * Formatting.
2010-03-07 13:56:54 +00:00
Przemyslaw Czerpak
1daa4ee6c5 2010-03-07 12:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/tframe.prg
    % small optimization
2010-03-07 11:02:01 +00:00
Viktor Szakats
b9f7254c8d 2010-03-07 11:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/hvm.c
    ! Adjustment to symEval declaration after last change.

  * contrib/hbmysql/tmysql.prg
    ! Fixed CLIPVALUE2SQL() to return NULL for NIL
      values. Should fix sf.bet bug #2964744.
    % Optimized CLIPVALUE2SQL().

  * contrib/xhb/tframe.prg
    ! Fixed HB_ENUMINDEX() to :__enumIndex().
    % Minor optimization.
    * Some formatting.

  * contrib/xhb/hblog.prg
    ! Fixed HB_ENUMINDEX() to :__enumIndex().

  * contrib/hbtip/sendmail.prg
    ! Fixed mime type spec: "text/plain;filename=" -> "text/plain; name="

  ; Latter two suggested by Lorenzo.
2010-03-07 10:48:30 +00:00
Viktor Szakats
e0392d950d 2010-02-25 20:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/gtwvg.h
    * Synced color RGB values with GTWVT.

  * contrib/hbgd/hbgd.hbc
    ! Fixed to reference hbct lib. hbgd requires it for
      some math functions.

  * contrib/hbxpp/Makefile
  * contrib/hbxpp/hbxpp.ch
  + contrib/hbxpp/xppopc.c
  + contrib/hbxpp/xppop.prg
  + contrib/hbxpp/tests/opover.prg
    + Added support for 'string[ n ]' syntax.
      Note, you have to #include "hbxpp.ch" to activate it.
      (of course you can pick the logic and copy it to app
      code, it's only two lines)
      (copied and adapted from existing xhb lib implementation)

  * contrib/xhb/xhbmsgs.c
    ! Fixed HB_LONG -> HB_ISIZ

  * contrib/hbxpp/hbxppext.ch
    * Updated.
2010-02-25 19:55:19 +00:00
Przemyslaw Czerpak
c9d2435ba8 2010-02-24 12:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * updated new contrib libraries

  * harbour/contrib/xhb/regexrpl.prg
    ! fixed hb_RegexReplace() to respect lCaseSensitive and lNewLine flags

  * harbour/src/rtl/filesys.c
    % use in OS2 builds system API functions instead of CRTL ones
      to get/set current drive
    % use in OS2 builds system API function DosQueryCurrentDisk() to
      check if disk drives are available in hb_fsIsDrv() function
    ! use in OS2 builds system API function DosQCurDir() to extract current
      directory. It fixed buffer overflow due to ignored buffer size in
      GCC OS2 builds and makes MT safe getting current directory for non
      current drive.
2010-02-24 11:22:45 +00:00
Viktor Szakats
0a0da68244 2010-02-23 09:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmzip/ioapi.c
  * contrib/hbmzip/zip.c
  * contrib/hbmzip/unzip.c
  * contrib/hbmzip/zip.h
  * contrib/hbmzip/unzip.h
  * contrib/xhb/hbcomprs.c
    % Using hbzlib.h directly instead of hbzlib.h.
    ; TODO: Delete hbzlib.h.
2010-02-23 08:25:34 +00:00
Viktor Szakats
3f1bca920e 2010-02-20 12:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbverdsp.c
  * include/hbsetup.ch
  * contrib/xhb/xhbver.prg
    - Deleted HB_COMPAT_VO, HB_COMPAT_DBASE, HB_COMPAT_CLIP as build-time 
      options. They were not used, and in the future these should be 
      implemented as addon libraries.

  * INSTALL
    * Minor terminogology adjustment.

  * examples/hbdoc2/tmplates.prg
  * examples/hbdoc2/hbdoc2.prg
    - Deleted special handling of FlagShip functions.
2010-02-20 11:01:36 +00:00
Viktor Szakats
2da1437ec6 2010-02-20 04:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbsetup.ch
  * src/common/hbverdsp.c
    - Deleted HB_COMPAT_XPP option. It's no longer used in Harbour.
      From this point all Xbase++ compatibility functions and core
      classes are implemented in 'xpp' contrib library (name
      tentative). Add it to your lib list, if you need Xbase++
      compatible functions. IOW HB_COMPAT_XPP build time option
      got converted to a app link time option.

  * src/rtl/isprint.c
    - Deleted dirty Xbase++ extension of ISPRINTER(). Now it's
      purely Clipper compatible in default build.
      INCOMPATIBLE. For Xbase++ version, use XPP_ISPRINTER()
      (or HB_ISPRINTER() which is the exact same).

  * src/rtl/tobject.prg
  * src/rtl/transfrm.c
  * src/rtl/memoedit.prg
  * include/memoedit.ch
    * Replaced "#ifdef HB_COMPAT_XPP" with "#ifndef HB_CLP_STRICT".
      Which means we've endorsed these extensions in Harbour,
      and they are always enabled except in strict compatibility
      builds.

  * src/rdd/nulsys/nulsys.c
    - Deleted HB_COMPAT_XPP guarded function.

  * contrib/xhb/xhbver.prg
    * Always return .T. for _HB_COMPAT_XPP in version info.

  * include/box.ch
  * contrib/xpp/xpp.ch
    + Added Xbase++ compatibility box.ch constants from core box.ch.
      INCOMPATIBLE if you use B_THIN or B_FAT box style.

  * utils/hbtest/hbtest.prg
  * examples/hbdoc2/tmplates.prg
  * examples/hbdoc2/hbdoc2.prg
    - Deleted parts dealing with HB_COMPAT_XPP option.
2010-02-20 03:51:10 +00:00
Przemyslaw Czerpak
28d5c5c7f4 2010-02-17 09:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/common/expropt1.c
  * harbour/contrib/xhb/freadlin.c
    ! fixed typos in HB_TRACE() debug messages
2010-02-17 08:35:17 +00:00
Viktor Szakats
83bbb7b34d 2010-02-17 03:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fstemp.c
    ! Using hb_fsTempDir() in HB_FTEMPCREATEEX() instead of
      old solution. This should fix it for some non-*nix
      platforms where *nix specific TEMPDIR envvar was used
      to determine temp directory.

  * contrib/hbwin/Makefile
  * include/Makefile
  * src/rtl/Makefile
  - contrib/hbwin/hbdyn.ch
  + include/hbdyn.ch
  - contrib/hbwin/hbdyn.c
  + src/rtl/hbdyn.c
  - contrib/hbwin/win_dllc.c
  + src/rtl/hbdynhb.c
  - contrib/hbwin/tests/testdll.c
  + tests/testdyn.c
  - contrib/hbwin/tests/testdll.prg
  + tests/testdyn.prg
  - contrib/hbwin/tests/testdll1.prg
  + tests/testdyn1.prg
  - contrib/hbwin/hbdyn.h
  * include/hbapi.h
    * Moved dynamic library call related functions to
      core (RTL).
    * Windows specific test code (currently all) guarded
      for platform.
    * Changed default calling convention to cdecl.
      Tests adaptd accordingly.
    * Terminology change: 'dll' -> 'dynamic library'
    ; HB_DYNCALL() is now part of core Harbour, and it's 
      platform independent. It's platform (ABI) dependent though,
      and currently x64 and x86/stdcall/syscall/cdecl 
      is supported and these were tested (except OS/2 syscall).

  * contrib/hbwin/hbwin.h
  * contrib/hbwin/win_misc.c
  * contrib/hbwin/legacycd.c
    * Low level hbwin_getprocaddress() function moved
      to legacy file and made static.

  * contrib/xpp/Makefile
  * contrib/xpp/dllx.c
  * contrib/xpp/xpp.hbc
    + Enabled DLL*() functions for all platforms.
    - Deleted dependence on hbwin library.

  * contrib/xpp/tests/testdll.prg
    * Windows specific parts (currently the whole test) guarded
      for platform.

  * contrib/hbct/Makefile
  - contrib/hbct/diskhb.prg
  * contrib/hbct/disk.c
  * contrib/xhb/Makefile
  + contrib/xhb/diskhb.prg
    * GETVOLINFO() moved from hbct to xhb.

  * ChangeLog
    * Marked some TODO/TOFIX items as DONE.
2010-02-17 02:09:17 +00:00
Viktor Szakats
cd83e94235 2010-02-16 11:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbthread.h
  * src/vm/fm.c
    ! Tweaks to allow msvcarm 2003 build.

  * src/vm/maindllp/dllpcode.c
  * src/vm/maindllh.c
    ! Deleted (AFAIK unnecessary) HB_EXPORT to make msvcarm 2003 happy.

  * src/common/hbgete.c
  * src/rtl/net.c
    ! Fixed missing #include hbwince.h.

  * external/sqlite3/Makefile
    - Disabled for msvcarm 2003.

  * contrib/gtalleg/Makefile
    - Disabled for msvcarm.

  * contrib/hbodbc/Makefile
  * contrib/rddsql/sddodbc/Makefile
    ! Do not force sql.h header for msvcarm 2003.

  * contrib/rddbmcdx/hbbmcdx.h
    ! Fixed HB_EXTERN placement to make msvcarm 2003 happy.

  * contrib/hbct/ctnet.c
  * contrib/xhb/hbsyslog.c
  * contrib/xhb/hbserv.c
  * contrib/hbtpathy/tpwin.c
  * contrib/hbnf/getenvrn.c
  * contrib/hbwin/wapi_winuser.c
  * contrib/hbwin/olecore.c
  * contrib/hbwin/win_dlg.c
    ! Fixed to make them compile on msvcarm 2003.

  * config/wce/msvcarm.mk
  * utils/hbmk2/hbmk2.prg
    ! Fixed warning option for msvcarm 2003.

  * utils/hbmk2/hbmk2.prg
    ! Fixed type causing RTE with msvcarm targets.

  ; NOTE: hbcurl doesn't build with msvcarm 2003, so either
          don't enable it, or experiment with HB_USER_CFLAGS=-U_WIN32_WCE
          hack. The problem lies somewhere in libcurl headers,
          not Harbour code.
2010-02-16 10:14:24 +00:00
Viktor Szakats
7d28beac44 2010-02-09 15:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/ppcore.c
  * src/vm/strapi.c
  * src/vm/debug.c
  * src/vm/itemapi.c
  * src/vm/cmdarg.c
  * src/vm/set.c
  * src/debug/dbgentry.c
  * src/common/hbfsapi.c
  * src/common/hbstr.c
  * src/common/strwild.c
  * src/nortl/nortl.c
  * src/rtl/lennum.c
  * src/rtl/strmatch.c
  * src/rtl/gtstd/gtstd.c
  * src/rtl/hbstrfmt.c
  * src/rtl/transfrm.c
  * src/rtl/gtcgi/gtcgi.c
  * src/rtl/filesys.c
  * src/rtl/console.c
  * src/rtl/hbgtcore.c
  * src/rtl/cdpapi.c
  * src/rtl/gtclip.c
  * src/rtl/mlcfunc.c
  * src/rtl/itemseri.c
  * src/rtl/gtpca/gtpca.c
  * src/rtl/samples.c
  * src/rtl/gete.c
  * src/rdd/workarea.c
  * src/rdd/hsx/hsx.c
  * src/rdd/hbsix/sxsem.c
  * src/rdd/hbsix/sxfname.c
  * contrib/xhb/dbf2txt.c
  * contrib/xhb/datesxhb.c
  * contrib/xhb/dbgfxc.c
  * contrib/hbmzip/hbmzip.c
  * contrib/hbmemio/memio.c
  * contrib/hbnetio/netiocli.c
  * contrib/gtwvg/wvgwing.c
  * contrib/hbpgsql/postgres.c
  * contrib/hbclipsm/num.c
  * contrib/rddads/ads1.c
  * contrib/hbfimage/fi_wrp.c
    + Added '( HB_SIZE )' casts to 'strlen()' calls where
      it was converted to HB_SIZE. This pacifies long standing
      win64 warnings.
      Remaining warnings are (among others) useful to spot places where
      non-HB_SIZE is used in Harbour code to store sizes.

  * contrib/hbpgsql/postgres.c
    ! Type cleanup.
2010-02-09 14:55:08 +00:00
Viktor Szakats
5cfcb4f323 2010-02-09 03:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/Makefile
  * src/common/hbwince.c
  + src/common/hbwin.c
    ! Moved Windows UNICODE helper function into new source,
      leaving WinCE API local emulation into separate source file.

  * include/hbwince.h
    + Now automatically includes windows.h. (since it depends on it)

  * include/hbdefs.h
    - Deleted HB_OS_WIN_USED autodetection. Not needed anymore.
    ! Fixed to not include hbwince.h anymore. It should be included
      directly from source files, where needed.

  * include/hbdefs.h
  * contrib/hbodbc/odbc.c
  * contrib/rddsql/sddodbc/odbcdd.c
    + Always defining HB_TCHAR_*() macros. They will be dummies
      in non-Windows or non-UNICODE builds.

  * include/clipdefs.h
    ! Legacy Clipper types moved to the bottom, because it's
      no longer true that hbapi.h defines their dependent types
      (our legacy ones).

  * contrib/hbwin/win_bmpd.c
  * contrib/hbwin/wapi_wingdi.c
  * contrib/hbwin/win_misc.c
  * contrib/hbwin/wapi_winbase.c
  * contrib/hbwin/wapi_alloc.c
  * contrib/hbwin/wapi_winuser.c
  * contrib/hbwin/hbwin.h
  * contrib/hbwin/hbwinole.h
  * contrib/hbwin/mapi.c
  * contrib/hbwin/wapi_wingdi_font.c
  * contrib/hbwin/olecore.c
  * contrib/hbwin/wce_simc.c
  * contrib/hbwin/wapi_winnls.c
  * contrib/hbwin/win_bmp.c
  * contrib/hbwin/win_com.c
  * contrib/hbwin/Makefile
  * contrib/hbwin/win_regc.c
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_prn2.c
  * contrib/hbwin/win_prn3.c
  * contrib/hbwin/wapi_commctrl.c
  * contrib/hbwin/win_osc.c
  * contrib/hbwin/wce_smsc.c
  * contrib/hbwin/wapi_err.c
  * contrib/hbwin/legacycd.c
  * contrib/hbwin/hbwapi.h
  * contrib/hbwin/wapi_shellapi.c
  * contrib/hbwin/win_dlg.c
  * contrib/hbwin/legacyco.c
  * contrib/hbwin/win_dll.c
  * contrib/hbwin/wapi_winbase_mutex.c
    + Reworked the way windows.h is included and headers
      are organized. New types allow complete control and
      flexibility. Finally.

  * src/vm/mainwin.c
  * src/vm/maindll.c
  * src/vm/maindllh.c
  * src/vm/cmdarg.c
  * src/vm/maindllp.c
  * src/vm/task.c
  * src/vm/fm.c
  * src/vm/extrap.c
  * src/vm/thread.c
  * src/vm/hvmall.c
  * src/vm/dynlibhb.c
  * src/common/hbgete.c
  * src/common/hbffind.c
  * src/common/hbver.c
  * src/common/hbtrace.c
  * src/common/hbfsapi.c
  * src/common/hbdate.c
  * src/rtl/gtwin/gtwin.c
  * src/rtl/fstemp.c
  * src/rtl/gttone.c
  * src/rtl/fserr.c
  * src/rtl/filesys.c
  * src/rtl/lang.c
  * src/rtl/diskspac.c
  * src/rtl/console.c
  * src/rtl/cputime.c
  * src/rtl/gtclip.c
  * src/rtl/oemansi.c
  * src/rtl/disksphb.c
  * src/rtl/net.c
  * src/rtl/gtgui/gtgui.c
  * src/rtl/hbproces.c
  * src/rtl/gtwvt/gtwvt.h
  * src/rtl/gtwvt/gtwvt.c
  * src/rtl/gtkbstat.c
  * contrib/hbct/ctnet.c
  * contrib/hbct/dattime3.c
  * contrib/hbct/disk.c
  * contrib/hbodbc/odbc.c
  * contrib/xhb/hboutdbg.c
  * contrib/xhb/xhberrc.c
  * contrib/xhb/filestat.c
  * contrib/xhb/hbserv.c
  * contrib/hbtpathy/tpwin.c
  * contrib/hbmzip/hbmzip.c
  * contrib/hbqt/hbqt_base.cpp
  * contrib/hbnf/getenvrn.c
  * contrib/rddsql/sddodbc/odbcdd.c
  * contrib/rddads/adsx.c
  * contrib/rddads/adsfunc.c
  * contrib/rddads/rddads.h
  * contrib/rddads/ads1.c
  * contrib/rddads/adsmgmnt.c
  * examples/hbapollo/apollo.c
    + HB_OS_WIN_USED trick replaced with direct windows.h
      inclusion, just like we do for all other OSes.
    + Also inclded hbwince.h in source files which required
      it. Please test it.

  * contrib/hbqt/gtqtc/gtqtc.cpp
    - Deleted commented code to not create false grep hits
      all the time.
2010-02-09 02:58:53 +00:00